/* SemAI look, ported from the SemAI_prototype artifact. Loaded after Bootstrap 5. */
:root{
  --bs-primary:#4338CA;--bs-primary-rgb:67,56,202;--bs-success:#047857;--bs-success-rgb:4,120,87;
  --bs-warning:#B45309;--bs-warning-rgb:180,83,9;--bs-danger:#B91C1C;--bs-danger-rgb:185,28,28;
  --bs-body-bg:#F4F6FB;--bs-body-color:#111827;--bs-secondary-color:#4B5563;
  --bs-body-font-family:"Atkinson Hyperlegible",system-ui,sans-serif;--bs-body-font-size:1.0625rem;
  --bs-link-color-rgb:67,56,202;--bs-link-hover-color-rgb:55,48,163;--navy:#1E1B4B;--line:#E5E7EB;color-scheme:light}
html{scroll-padding-top:88px;scroll-behavior:smooth}body{overflow-x:clip}
.btn-primary{--bs-btn-bg:#4338CA;--bs-btn-border-color:#4338CA;--bs-btn-hover-bg:#3730A3;--bs-btn-hover-border-color:#3730A3;--bs-btn-active-bg:#312E81;--bs-btn-disabled-bg:#3730A3;--bs-btn-disabled-border-color:#3730A3}
.btn-outline-primary{--bs-btn-color:#4338CA;--bs-btn-border-color:#4338CA;--bs-btn-hover-bg:#4338CA;--bs-btn-hover-border-color:#4338CA;--bs-btn-active-bg:#3730A3}
.btn,.form-select,.form-control{min-height:3.25rem}.btn{border-radius:.75rem;font-weight:700}
:focus-visible{outline:3px solid #F59E0B!important;outline-offset:2px}
.card{--bs-card-bg:#fff;border:1px solid var(--line);border-radius:1.25rem;box-shadow:0 1px 2px rgba(17,24,39,.04)}
.logo{width:42px;height:42px;border-radius:12px;background:#4338CA;display:inline-flex;align-items:center;justify-content:center}
.pill{display:inline-flex;align-items:center;gap:.45rem;padding:.35rem .8rem;border-radius:99px;background:#EEF2FF;color:#3730A3;font-weight:700;font-size:.875rem}
.dot{width:8px;height:8px;border-radius:50%;background:#047857;display:inline-block}
/* hero */
.hero h1{font-size:clamp(2.5rem,5vw,3.75rem);line-height:1.03;letter-spacing:-.025em;font-weight:700;text-wrap:balance}
.stage{position:relative;border-radius:1.75rem;overflow:hidden;aspect-ratio:5/4;background:radial-gradient(120% 90% at 70% 20%,#2E2A78 0%,#1E1B4B 55%,#15133A 100%)}
.stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.chip-dark{position:absolute;display:inline-flex;align-items:center;gap:.5rem;padding:.4rem .8rem;border-radius:99px;background:rgba(255,255,255,.1);color:#EEF2FF;font-size:.875rem;font-weight:700;backdrop-filter:blur(6px)}
.legend{position:absolute;left:1rem;bottom:1rem;display:flex;flex-wrap:wrap;gap:.5rem}
.sw{width:10px;height:10px;border-radius:50%;background:#F59E0B}.sw.l{width:16px;height:3px;border-radius:2px;background:#A5B4FC}
/* how it works */
.how-band{background:#fff;border-block:1px solid var(--line)}
.how-step{display:flex;gap:1rem;padding:1.25rem 0;border-top:1px solid var(--line);transition:color .3s}
.how-step .num{flex:none;width:2.25rem;height:2.25rem;border-radius:50%;border:2px solid #C7D2FE;color:#4338CA;display:flex;align-items:center;justify-content:center;font-weight:700;transition:all .3s}
.how-step.on .num{background:#4338CA;border-color:#4338CA;color:#fff}
.how-step p{color:#4B5563}
.how-res{position:absolute;left:1rem;right:1rem;bottom:1rem;background:#fff;border-radius:1rem;padding:1rem 1.25rem;box-shadow:0 12px 32px rgba(15,13,50,.35)}
/* workspace */
.step-badge{width:2rem;height:2rem;flex:none}
.seg{display:flex;gap:.25rem;padding:.25rem;border-radius:.9rem;background:#EEF2FF}
.seg .btn{flex:1;border:0;min-height:2.9rem;font-size:.95rem;color:#3730A3;background:transparent}
.seg .btn.active{background:#4338CA;color:#fff}.seg .btn:disabled{opacity:1;color:#4B5563}
.soon{font-size:.7rem;font-weight:700;background:#fff;color:#4B5563;border-radius:99px;padding:.05rem .45rem;margin-left:.25rem}
.dropzone{display:block;cursor:pointer;border:2px dashed #94A3B8;background:#F8FAFC;border-radius:1rem;transition:border-color .2s,background .2s}
.dropzone.drag,.dropzone:hover{border-color:#4338CA;background:#EEF2FF}
.tag{display:inline-block;font-size:.8rem;padding:.2rem .6rem;border-radius:99px;background:#fff;border:1px solid var(--line);color:#4B5563}
.file-row{display:flex;align-items:center;gap:.9rem;padding:.75rem;border:1px solid var(--line);border-radius:1rem;background:#fff}
.sign-word{font-size:clamp(3rem,7vw,4.75rem);font-weight:700;line-height:1;letter-spacing:.01em;overflow-wrap:anywhere}
.conf{display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .75rem;border-radius:99px;font-weight:700;font-size:.95rem}
.conf.high{background:#ECFDF5;color:#047857}.conf.med{background:#FFFBEB;color:#B45309}.conf.low{background:#FEF2F2;color:#B91C1C}
.bar{height:.75rem;border-radius:99px;background:#E5E7EB;overflow:hidden}.bar>i{display:block;height:100%;border-radius:99px;background:#4338CA}
.stat{background:#F4F6FB;border-radius:.9rem;padding:.65rem .8rem}
.steps li{display:flex;align-items:center;gap:.75rem;padding:.45rem 0;color:#4B5563}
.steps .ic{width:1.75rem;height:1.75rem;border-radius:50%;border:2px solid #CBD5E1;display:flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:700;flex:none}
.steps li.done{color:#111827}.steps li.done .ic{background:#047857;border-color:#047857;color:#fff}
.steps li.active{color:#111827;font-weight:700}.steps li.active .ic{background:#4338CA;border-color:#4338CA;color:#fff}
.strip{position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);margin-inline:-1.5rem;padding:1rem 1.5rem;background:#F4F6FB}
.track{display:flex;gap:.6rem;width:max-content;will-change:transform}
.frame{width:96px;height:120px;border-radius:.75rem;background:var(--navy);flex:none;outline:3px solid transparent;outline-offset:2px;transition:outline-color .25s}
.frame.cur{outline-color:#4338CA}
.progress{height:.875rem;border-radius:99px;background:#E5E7EB}.progress-bar{background:#4338CA;transition:width .3s}
.tbl{--bs-table-bg:transparent}.tbl th{font-size:.85rem;color:#4B5563;font-weight:700}
.lvl{display:inline-flex;align-items:center;gap:.4rem}.lvl i{width:9px;height:9px;border-radius:50%;display:inline-block}
.lvl.high i{background:#047857}.lvl.med i{background:#B45309}.lvl.low i{background:#B91C1C}
@media(max-width:600px){.tbl thead{display:none}.tbl tr{display:grid;padding-block:.6rem;border-bottom:1px solid var(--line)}.tbl td{display:flow-root;border:0!important;padding:.2rem 0!important;padding-inline-start:7.5em!important}.tbl td::before{content:attr(data-l);float:inline-start;width:7em;margin-inline-start:-7.5em;color:#4B5563;font-size:.85rem}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.header-btn{min-height:2.5rem;display:inline-flex;align-items:center}
.not-sure-message { display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1.2rem; margin-top: 0.25rem; border: 2px solid #e8c66a; border-radius: 16px; background: #fff4d6; color: #684b00; font-size: 1.25rem; font-weight: 750; line-height: 1.4; } .not-sure-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: #f3d37a; color: #684b00; font-size: 1.2rem; font-weight: 800; }
