/* Shared PI-E kiosk simulator + compliance components — used by
   ebr.html and quality.html only. */

.hero-badge.green{ border-color: rgba(16,185,129,.4); color: #6ee7b7; background: rgba(16,185,129,.12); }

.benefit-badge.green{ color: #059669; background: rgba(16,185,129,.1); }

.pie-section{
    background: var(--paper);
    padding: 5.5rem max(5%, calc((100% - 1280px)/2));
  }

.pie-grid{
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2.5rem;
  }

.pie-copy h3{ font-size: 1.55rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.25; }

.pie-copy p{ font-size: .9rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.2rem; }

.pie-points{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .7rem; }

.pie-point{
    display: flex; align-items: flex-start; gap: .75rem; font-size: .88rem; color: var(--ink); line-height: 1.45;
  }

.pie-point-dot{
    width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
    background: rgba(124,58,237,.1); color: var(--purple);
    display: flex; align-items: center; justify-content: center; margin-top: .05rem;
  }

.pie-point-dot svg{ width: 13px; height: 13px; }

.kiosk-ui{
    background: #1a1b23;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(124,58,237,.15);
  }

.kiosk-ui-bar{
    background: #0f1015;
    padding: .75rem 1.2rem;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }

.kiosk-ui-bar-title{ font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.7); font-family: ui-monospace, monospace; letter-spacing: .03em; }

.kiosk-ui-bar-dots{ display: flex; gap: .35rem; }

.kiosk-ui-bar-dots span{ width: 10px; height: 10px; border-radius: 50%; }

.kiosk-ui-bar-dots span:nth-child(1){ background: #ef4444; }

.kiosk-ui-bar-dots span:nth-child(2){ background: #f59e0b; }

.kiosk-ui-bar-dots span:nth-child(3){ background: #10b981; }

.kiosk-ui-body{ padding: 1.5rem; display: flex; flex-direction: column; gap: 1.1rem; }

.kiosk-step-header{
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: .9rem; border-bottom: 1px solid rgba(255,255,255,.07);
  }

.kiosk-step-eyebrow{ font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #a78bfa; margin-bottom: .2rem; }

.kiosk-step-title{ font-size: .95rem; font-weight: 800; color: #fff; }

.kiosk-step-badge{
    font-size: .65rem; font-weight: 700; padding: .25rem .6rem; border-radius: 20px;
    background: rgba(124,58,237,.2); color: #c4b5fd; border: 1px solid rgba(167,139,250,.3);
  }

.kiosk-check-list{ display: flex; flex-direction: column; gap: .55rem; }

.kiosk-check-item{
    display: flex; align-items: center; gap: .75rem;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
    border-radius: 8px; padding: .65rem .9rem;
    font-size: .8rem; color: rgba(255,255,255,.75);
    transition: all .2s;
  }

.kiosk-check-item.done{
    background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.3); color: #a7f3d0;
  }

.kiosk-check-icon{
    width: 20px; height: 20px; border-radius: 5px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
  }

.kiosk-check-item:not(.done) .kiosk-check-icon{ border: 2px solid rgba(255,255,255,.2); }

.kiosk-check-item.done .kiosk-check-icon{ background: #10b981; }

.kiosk-check-item.done .kiosk-check-icon svg{ width: 12px; height: 12px; color: #fff; }

.kiosk-param-row{
    background: rgba(124,58,237,.08); border: 1px solid rgba(124,58,237,.25);
    border-radius: 8px; padding: .8rem 1rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
  }

.kiosk-param-label{ font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.7); }

.kiosk-param-value{ font-size: 1.15rem; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }

.kiosk-param-unit{ font-size: .72rem; font-weight: 600; color: #a78bfa; text-transform: uppercase; }

.kiosk-param-status{
    font-size: .7rem; font-weight: 700; padding: .2rem .55rem; border-radius: 20px;
    background: rgba(16,185,129,.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,.3);
  }

.kiosk-param-status.warn{
    background: rgba(239,68,68,.15); color: #fca5a5; border-color: rgba(239,68,68,.3);
  }

.kiosk-nonconf-alert{
    background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.35);
    border-radius: 8px; padding: .8rem 1rem;
    display: flex; gap: .75rem; align-items: flex-start;
  }

.kiosk-nonconf-icon{ color: #f87171; flex-shrink: 0; margin-top: .1rem; }

.kiosk-nonconf-icon svg{ width: 18px; height: 18px; }

.kiosk-nonconf-text{ font-size: .78rem; color: #fca5a5; line-height: 1.45; }

.kiosk-nonconf-text strong{ display: block; font-size: .82rem; margin-bottom: .2rem; }

.kiosk-nav{ display: flex; gap: .6rem; padding-top: .4rem; }

.kiosk-btn-prev{
    flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.7); border-radius: 8px; padding: .65rem 1rem;
    font-size: .8rem; font-weight: 700; cursor: pointer; transition: all .15s;
  }

.kiosk-btn-prev:hover{ background: rgba(255,255,255,.1); }

.kiosk-btn-next{
    flex: 2; background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: #fff; border: none; border-radius: 8px; padding: .65rem 1rem;
    font-size: .8rem; font-weight: 700; cursor: pointer;
    box-shadow: 0 4px 12px rgba(124,58,237,.3); transition: all .2s;
  }

.kiosk-btn-next:hover{ transform: translateY(-1px); box-shadow: 0 6px 18px rgba(124,58,237,.45); }

.operator-flow{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2rem;
  }

.flow-steps{ display: flex; flex-direction: column; gap: 0; }

.flow-step{
    display: grid; grid-template-columns: auto 1fr; gap: 1.2rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--line);
    position: relative;
  }

.flow-step:first-child{ padding-top: 0; }

.flow-step:last-child{ border-bottom: none; }

.flow-step-num{
    width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
    background: rgba(124,58,237,.1); color: var(--purple);
    display: flex; align-items: center; justify-content: center;
    font-size: .78rem; font-weight: 800; margin-top: .05rem;
  }

.flow-step-text h4{ font-size: .95rem; font-weight: 700; margin-bottom: .25rem; }

.flow-step-text p{ font-size: .82rem; color: var(--muted); line-height: 1.55; margin: 0; }

.flow-visual-panel{
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 2rem;
    position: sticky;
    top: 2rem;
  }

.flow-visual-eyebrow{ font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--purple); margin-bottom: .6rem; }

.flow-visual-title{ font-size: 1.05rem; font-weight: 800; color: var(--ink); margin-bottom: 1.2rem; }

.flow-status-line{
    display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem;
    padding: .55rem .8rem;
    background: var(--paper); border: 1px solid var(--line); border-radius: 7px;
    font-size: .8rem; font-weight: 600; color: var(--ink);
  }

.flow-status-dot{ width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.flow-status-dot.green{ background: #10b981; box-shadow: 0 0 6px #10b981; }

.flow-status-dot.purple{ background: var(--purple); box-shadow: 0 0 6px var(--purple); }

.flow-status-dot.amber{ background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }

.flow-batch-id{
    margin-top: 1rem; padding: .8rem 1rem;
    background: rgba(124,58,237,.06); border: 1px solid rgba(124,58,237,.2); border-radius: 8px;
    font-size: .78rem; font-family: ui-monospace, monospace; color: var(--purple); font-weight: 700;
    display: flex; align-items: center; gap: .5rem;
  }

.flow-batch-id svg{ width: 14px; height: 14px; }

.features-deep{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
  }

.feat-deep{
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.8rem 1.6rem;
  }

.feat-deep-icon{
    width: 42px; height: 42px; border-radius: 11px;
    background: rgba(124,58,237,.1); color: var(--purple);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
  }

.feat-deep-icon svg{ width: 22px; height: 22px; }

.feat-deep h3{ font-size: 1rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.3; }

.feat-deep p{ font-size: .82rem; color: var(--muted); line-height: 1.6; margin: 0 0 1rem; }

.feat-deep ul{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }

.feat-deep ul li{
    font-size: .78rem; color: var(--muted);
    padding-left: 1rem; position: relative;
    line-height: 1.45;
  }

.feat-deep ul li::before{ content: '→'; position: absolute; left: 0; color: var(--purple); font-weight: 700; }

.compliance-grid{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 2rem;
  }

.compliance-card{
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem 1rem;
    text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: .6rem;
    transition: border-color .15s, box-shadow .15s;
  }

.compliance-card:hover{
    border-color: rgba(124,58,237,.4);
    box-shadow: 0 4px 16px rgba(124,58,237,.08);
  }

.compliance-icon{
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(124,58,237,.08); color: var(--purple);
    display: flex; align-items: center; justify-content: center;
  }

.compliance-norm{ font-size: .78rem; font-weight: 800; color: var(--ink); line-height: 1.2; }

.compliance-desc{ font-size: .72rem; color: var(--muted); line-height: 1.35; }

.scope-box-tag.opt{ background: rgba(16,185,129,.1); color: #059669; }

.scope-icon.green{ background: rgba(16,185,129,.12); color: #059669; border: 1px solid rgba(16,185,129,.25); }
