:root{--teal-50: #f0fdfa;--teal-100: #ccfbf1;--teal-200: #99f6e4;--teal-300: #5eead4;--teal-500: #14b8a6;--teal-600: #0d9488;--teal-700: #0f766e;--teal-800: #115e59;--slate-50: #f8fafc;--slate-100: #f1f5f9;--slate-200: #e2e8f0;--slate-300: #cbd5e1;--slate-400: #94a3b8;--slate-500: #64748b;--slate-600: #475569;--slate-700: #334155;--slate-800: #1e293b;--slate-900: #0f172a;--amber-50: #fffbeb;--amber-100: #fef3c7;--amber-200: #fde68a;--amber-500: #f59e0b;--amber-700: #b45309;--green-50: #ecfdf5;--green-100: #d1fae5;--green-200: #a7f3d0;--green-500: #10b981;--green-700: #047857;--red-50: #fef2f2;--red-100: #fee2e2;--red-200: #fecaca;--red-500: #ef4444;--red-600: #dc2626;--red-700: #b91c1c;--blue-50: #eff6ff;--blue-200: #bfdbfe;--blue-700: #1d4ed8;--bg: #e4efec;--bg-2: #dbe9e5;--surface: #f2faf8;--surface-sunken: #e7f1ee;--border: rgba(120, 160, 150, .2);--text: var(--slate-900);--text-muted: var(--slate-600);--primary: var(--teal-700);--primary-hover: var(--teal-800);--ring: rgba(15, 118, 110, .3);--radius: 20px;--radius-sm: 14px;--radius-lg: 30px;--clay-dark: rgba(110, 150, 142, .42);--clay-dark-soft: rgba(150, 182, 174, .34);--clay-light: rgba(255, 255, 255, .92);--shadow-sm: 0 5px 12px -4px var(--clay-dark), inset -2px -2px 6px var(--clay-dark-soft), inset 2px 3px 7px var(--clay-light);--shadow: 0 16px 28px -12px var(--clay-dark), inset -6px -6px 14px var(--clay-dark-soft), inset 5px 7px 16px var(--clay-light);--shadow-lg: 0 30px 55px -18px var(--clay-dark), inset -8px -8px 18px var(--clay-dark-soft), inset 7px 10px 22px var(--clay-light);--clay-inset: inset 5px 5px 11px var(--clay-dark-soft), inset -4px -4px 10px var(--clay-light);--clay-primary: 0 14px 24px -10px rgba(13, 118, 110, .55), inset -4px -4px 10px rgba(6, 78, 72, .45), inset 4px 5px 12px rgba(94, 234, 212, .55);--sidebar-w: 250px;--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;font-family:var(--font);color:var(--text);background:radial-gradient(1100px 600px at 12% -8%,#eef7f4,transparent),radial-gradient(1000px 700px at 108% 12%,#e0ece9,transparent),var(--bg);background-attachment:fixed;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-size:15px;line-height:1.5}h1,h2,h3,h4{margin:0;font-weight:650;letter-spacing:-.01em;color:var(--slate-900)}h1{font-size:1.5rem}h2{font-size:1.2rem}h3{font-size:1rem}p{margin:0}a{color:var(--primary);text-decoration:none}button{font-family:inherit}.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:1.05rem;color:var(--slate-900)}.brand .mark{width:34px;height:34px;border-radius:11px;object-fit:cover;box-shadow:var(--shadow-sm);flex:none;display:block}.brand .name{display:flex;flex-direction:column;line-height:1.05;letter-spacing:-.02em}.brand .name b{color:var(--teal-700);font-size:1.02rem}.brand .name small{font-size:.64rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);margin-top:2px}.shell{display:grid;grid-template-columns:var(--sidebar-w) 1fr;min-height:100%}.sidebar{position:sticky;top:0;align-self:start;height:100vh;display:flex;flex-direction:column;gap:4px;background:var(--surface);border-right:1px solid var(--border);padding:18px 14px}.sidebar .brand{padding:6px 8px 16px}.nav{display:flex;flex-direction:column;gap:2px;flex:1}.nav-section{font-size:.68rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--slate-400);padding:14px 10px 6px}.nav-item{display:flex;align-items:center;gap:11px;padding:9px 11px;border-radius:var(--radius-sm);color:var(--slate-600);font-weight:550;font-size:.9rem;cursor:pointer;border:none;background:transparent;text-align:left;width:100%;transition:background .12s,color .12s}.nav-item:hover{background:var(--slate-100);color:var(--slate-900)}.nav-item.active{background:var(--teal-50);color:var(--teal-800);font-weight:650}.nav-item.active svg{color:var(--teal-700)}.nav-item svg{color:var(--slate-400);flex:none}.sidebar-foot{border-top:1px solid var(--border);padding-top:12px;margin-top:8px}.content{display:flex;flex-direction:column;min-width:0}.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;height:62px;padding:0 28px;background:#ffffffd9;-webkit-backdrop-filter:saturate(180%) blur(8px);backdrop-filter:saturate(180%) blur(8px);border-bottom:1px solid var(--border)}.topbar .page-title{font-size:1.05rem;font-weight:650}.hamburger{display:none}.userchip{display:flex;align-items:center;gap:12px}.userchip .who{display:flex;align-items:center;gap:9px;font-size:.85rem;color:var(--text-muted)}.userchip .who .role{font-size:.72rem;color:var(--slate-400)}.avatar{width:32px;height:32px;border-radius:50%;background:var(--teal-100);color:var(--teal-800);display:grid;place-items:center;font-size:.8rem;font-weight:700;flex:none}.page{padding:26px 28px 72px;max-width:1080px;width:100%;margin:0 auto;flex:1}.page-head{margin-bottom:22px}.page-head .eyebrow{font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--teal-700);margin-bottom:5px}.page-head h1{font-size:1.55rem}.page-head p{color:var(--text-muted);font-size:.92rem;margin-top:5px;max-width:62ch}.btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid transparent;cursor:pointer;font-weight:600;font-size:.9rem;padding:9px 16px;border-radius:var(--radius-sm);display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background .15s,border-color .15s,box-shadow .15s,color .15s,transform .05s;white-space:nowrap}.btn:active{transform:translateY(1px)}.btn:focus-visible{outline:none;box-shadow:0 0 0 3px var(--ring)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn svg{flex:none}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover:not(:disabled){background:var(--primary-hover)}.btn-secondary{background:var(--surface);color:var(--slate-700);border-color:var(--border);box-shadow:var(--shadow-sm)}.btn-secondary:hover:not(:disabled){background:var(--slate-50);border-color:var(--slate-300)}.btn-ghost{background:transparent;color:var(--slate-600)}.btn-ghost:hover:not(:disabled){background:var(--slate-100)}.btn-danger{background:var(--red-600);color:#fff}.btn-danger:hover:not(:disabled){background:var(--red-700)}.btn-block{width:100%}.btn-lg{padding:12px 20px;font-size:.95rem}.btn-sm{padding:6px 11px;font-size:.82rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:22px}.card+.card{margin-top:18px}.card-pad-sm{padding:16px}.card-head{margin-bottom:16px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.card-head .eyebrow{font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--teal-700);margin-bottom:4px}.card-head p{color:var(--text-muted);font-size:.88rem;margin-top:4px}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px}.stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow-sm)}.stat .stat-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;margin-bottom:12px}.stat .stat-icon.teal{background:var(--teal-50);color:var(--teal-700)}.stat .stat-icon.amber{background:var(--amber-50);color:var(--amber-700)}.stat .stat-icon.red{background:var(--red-50);color:var(--red-600)}.stat .stat-icon.slate{background:var(--slate-100);color:var(--slate-600)}.stat .value{font-size:1.8rem;font-weight:700;letter-spacing:-.02em;line-height:1}.stat .label{color:var(--text-muted);font-size:.85rem;margin-top:6px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}@media (max-width: 900px){.grid-2,.grid-3{grid-template-columns:1fr}}.field{display:grid;gap:6px;margin-bottom:14px}.field label{font-size:.82rem;font-weight:600;color:var(--slate-700)}.input,textarea.input,select.input{width:100%;font:inherit;font-size:.92rem;color:var(--text);padding:10px 12px;border:1px solid var(--slate-300);border-radius:var(--radius-sm);background:#fff;transition:border-color .15s,box-shadow .15s}.input::placeholder{color:var(--slate-400)}.input:focus,textarea.input:focus,select.input:focus{outline:none;border-color:var(--teal-600);box-shadow:0 0 0 3px var(--ring)}.input-sm{padding:7px 10px;font-size:.85rem}.search{position:relative}.search svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:var(--slate-400);pointer-events:none}.search .input{padding-left:34px}.input-affix{position:relative}.input-affix .input{padding-right:42px}.input-affix .affix-btn{position:absolute;right:6px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:30px;height:30px;padding:0;border:none;background:transparent;color:var(--slate-400);cursor:pointer;border-radius:var(--radius-sm);transition:color .15s,background .15s}.input-affix .affix-btn:hover{color:var(--slate-700);background:var(--slate-100)}.input-affix .affix-btn:focus-visible{outline:none;color:var(--teal-600);box-shadow:0 0 0 3px var(--ring)}.badge{display:inline-flex;align-items:center;gap:5px;font-size:.72rem;font-weight:700;padding:3px 9px;border-radius:999px;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.badge-amber{background:var(--amber-50);color:var(--amber-700);border:1px solid var(--amber-200)}.badge-green{background:var(--green-50);color:var(--green-700);border:1px solid var(--green-200)}.badge-red{background:var(--red-50);color:var(--red-700);border:1px solid var(--red-200)}.badge-slate{background:var(--slate-100);color:var(--slate-600);border:1px solid var(--slate-200)}.badge-teal{background:var(--teal-50);color:var(--teal-800);border:1px solid var(--teal-200)}.badge-blue{background:var(--blue-50);color:var(--blue-700);border:1px solid var(--blue-200)}.alert{display:flex;gap:10px;padding:12px 14px;border-radius:var(--radius-sm);font-size:.88rem;align-items:flex-start}.alert svg{flex:none;margin-top:1px}.alert-info{background:var(--amber-50);color:var(--amber-700);border:1px solid var(--amber-200)}.alert-danger{background:var(--red-50);color:var(--red-700);border:1px solid var(--red-200)}.alert-success{background:var(--green-50);color:var(--green-700);border:1px solid var(--green-200)}.alert-neutral{background:var(--slate-50);color:var(--slate-600);border:1px solid var(--border)}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85em}.nowrap{white-space:nowrap}.table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}table.tbl{width:100%;border-collapse:collapse;font-size:.88rem}table.tbl th{text-align:left;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--slate-500);padding:11px 14px;border-bottom:1px solid var(--border);background:var(--slate-50);position:sticky;top:0}table.tbl td{padding:12px 14px;border-bottom:1px solid var(--slate-100);vertical-align:middle}table.tbl tr:last-child td{border-bottom:none}table.tbl tbody tr:hover{background:var(--slate-50)}.stepper{display:flex;align-items:center;gap:6px;margin-bottom:24px;flex-wrap:wrap}.step{display:flex;align-items:center;gap:8px;font-size:.82rem;color:var(--slate-400);font-weight:600}.step .dot{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:.75rem;background:var(--slate-100);color:var(--slate-500);border:1px solid var(--border)}.step.active{color:var(--teal-700)}.step.active .dot{background:var(--teal-700);color:#fff;border-color:var(--teal-700)}.step.done .dot{background:var(--teal-50);color:var(--teal-700);border-color:var(--teal-200)}.step-sep{width:22px;height:1px;background:var(--border)}.dropzone{border:2px dashed var(--slate-300);border-radius:var(--radius);padding:34px 20px;text-align:center;background:var(--slate-50);transition:border-color .15s,background .15s;cursor:pointer}.dropzone:hover{border-color:var(--teal-500);background:var(--teal-50)}.dropzone.drag{border-color:var(--teal-600);background:var(--teal-50)}.dropzone .dz-icon{width:46px;height:46px;border-radius:12px;background:var(--teal-50);color:var(--teal-700);display:grid;place-items:center;margin:0 auto 12px}.dropzone h3{margin-bottom:4px}.dropzone .hint{color:var(--text-muted);font-size:.83rem}.file-list{display:grid;gap:10px;margin-top:14px}.file-row{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff}.file-thumb{width:42px;height:42px;border-radius:6px;object-fit:cover;background:var(--slate-100);flex:none;display:grid;place-items:center;color:var(--slate-500)}.file-meta{min-width:0;flex:1}.file-meta .fn{font-weight:600;font-size:.88rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-meta .fs{font-size:.78rem;color:var(--text-muted)}.segmented{display:inline-flex;background:var(--slate-100);border-radius:var(--radius-sm);padding:3px;gap:3px}.segmented button{border:none;background:transparent;padding:8px 16px;border-radius:6px;font-weight:600;font-size:.85rem;color:var(--slate-600);cursor:pointer;display:inline-flex;align-items:center;gap:7px}.segmented button.active{background:#fff;color:var(--teal-800);box-shadow:var(--shadow-sm)}.med-line{border:1px solid var(--border);border-radius:var(--radius);padding:16px}.med-line+.med-line{margin-top:14px}.med-line .ml-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:12px}.med-line .ml-num{width:24px;height:24px;border-radius:6px;background:var(--slate-100);color:var(--slate-600);display:grid;place-items:center;font-size:.8rem;font-weight:700}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media (max-width: 640px){.field-grid{grid-template-columns:1fr}}.conf{display:inline-flex;align-items:center;gap:5px;font-size:.72rem;font-weight:600}.conf .bar{width:46px;height:5px;border-radius:3px;background:var(--slate-200);overflow:hidden}.conf .bar>span{display:block;height:100%;border-radius:3px}.candidate{border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px 14px;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s;display:flex;gap:12px;align-items:flex-start}.candidate:hover{border-color:var(--slate-300);background:var(--slate-50)}.candidate.selected{border-color:var(--teal-600);box-shadow:0 0 0 3px var(--ring);background:var(--teal-50)}.candidate input[type=radio]{margin-top:3px;accent-color:var(--teal-700)}.candidate .title{font-weight:650;color:var(--slate-900)}.candidate .sub{font-size:.82rem;color:var(--text-muted);margin-top:2px}.review-grid{display:grid;grid-template-columns:minmax(240px,340px) 1fr;gap:20px;align-items:start}@media (max-width: 820px){.review-grid{grid-template-columns:1fr}}.preview-frame{border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden;background:var(--slate-100);position:sticky;top:78px}.preview-frame img{display:block;width:100%}.preview-frame .pdf-fallback{padding:40px 16px;text-align:center;color:var(--slate-500)}.source-tag{font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--slate-500);margin-bottom:8px}.camera-stage{position:relative;background:#000;border-radius:var(--radius);overflow:hidden}.camera-stage video{display:block;width:100%}.camera-guide{position:absolute;top:14px;right:14px;bottom:14px;left:14px;border:2px dashed rgba(255,255,255,.65);border-radius:var(--radius-sm);pointer-events:none;transition:border-color .15s,box-shadow .15s}.camera-guide.locked{border-color:var(--green-500);border-style:solid;box-shadow:0 0 0 2px #10b98159 inset}.camera-hud{position:absolute;left:12px;right:12px;bottom:12px;color:#fff;background:#0000008c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);padding:8px 12px;border-radius:var(--radius-sm);font-size:.85rem}.progress{height:5px;background:#ffffff40;border-radius:3px;margin-top:6px;overflow:hidden}.progress>span{display:block;height:100%;background:var(--teal-500);border-radius:3px;transition:width .1s linear}.camera-controls{display:flex;gap:12px;align-items:center;margin-top:12px;flex-wrap:wrap}.switch{display:inline-flex;align-items:center;gap:6px;font-size:.85rem;color:var(--slate-600)}.switch input{accent-color:var(--teal-700)}.metrics{font-size:.75rem;color:var(--slate-400);margin-left:auto;font-variant-numeric:tabular-nums}.auth{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:radial-gradient(1200px 500px at 50% -10%,var(--teal-50),transparent),var(--bg)}.auth-hero{position:relative;overflow:hidden;display:flex;align-items:center;padding:56px 48px;color:#eafaf6;background:linear-gradient(155deg,var(--teal-600) 0%,var(--teal-800) 58%,#0a4a44 100%)}.auth-hero:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:radial-gradient(760px 420px at 12% -12%,rgba(94,234,212,.28),transparent 60%),radial-gradient(720px 520px at 110% 118%,rgba(13,148,136,.45),transparent 55%)}.auth-hero-inner{position:relative;max-width:480px;margin:0 auto;width:100%}.auth-logo{display:flex;align-items:center;gap:15px;margin-bottom:40px}.auth-logo img{width:58px;height:58px;border-radius:17px;box-shadow:0 12px 26px -8px #0006}.auth-logo b{display:block;font-size:1.55rem;line-height:1;color:#fff;letter-spacing:-.02em}.auth-logo small{display:block;margin-top:5px;text-transform:uppercase;letter-spacing:.16em;font-size:.66rem;color:#ffffffb8}.auth-tagline{font-size:1.95rem;line-height:1.16;font-weight:700;color:#fff;letter-spacing:-.02em;margin:0 0 16px}.auth-lede{font-size:1rem;line-height:1.55;color:#eafaf6db;margin:0 0 34px;max-width:45ch}.auth-features{list-style:none;margin:0 0 34px;padding:0;display:flex;flex-direction:column;gap:18px}.auth-features li{display:flex;gap:14px;align-items:flex-start}.af-ic{width:40px;height:40px;border-radius:13px;flex:none;display:grid;place-items:center;background:#ffffff24;color:#eafaf6;box-shadow:inset 1px 2px 4px #ffffff38,inset -1px -2px 5px #0000002e}.auth-features b{display:block;color:#fff;font-size:.96rem;margin-bottom:2px}.auth-features small{color:#eafaf6c2;font-size:.83rem;line-height:1.4}.auth-foot{font-size:.78rem;color:#eafaf69e;letter-spacing:.01em;margin:0}.auth-panel{display:grid;place-items:center;padding:24px}.auth-card{width:100%;max-width:400px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);padding:34px}.auth-card .brand{display:none;justify-content:flex-start;margin-bottom:22px}.auth-card h1{font-size:1.4rem}.auth-card .subtitle{color:var(--text-muted);font-size:.9rem;margin:4px 0 24px}.auth-demo{margin-top:18px;padding-top:16px;border-top:1px solid var(--border);font-size:.8rem;color:var(--text-muted)}@media (max-width: 900px){.auth{grid-template-columns:1fr}.auth-hero{display:none}.auth-card .brand{display:flex}}.center-loading{min-height:100%;display:grid;place-items:center;color:var(--text-muted)}.spinner{width:22px;height:22px;border:2px solid var(--slate-200);border-top-color:var(--teal-700);border-radius:50%;animation:spin .7s linear infinite}.spinner.lg{width:34px;height:34px;border-width:3px}@keyframes spin{to{transform:rotate(360deg)}}.skeleton{background:linear-gradient(90deg,var(--slate-100) 25%,var(--slate-200) 37%,var(--slate-100) 63%);background-size:400% 100%;animation:shimmer 1.4s ease infinite;border-radius:6px}@keyframes shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.empty{text-align:center;padding:48px 20px;color:var(--text-muted)}.empty .em-icon{width:52px;height:52px;border-radius:14px;background:var(--slate-100);color:var(--slate-400);display:grid;place-items:center;margin:0 auto 14px}.empty h3{color:var(--slate-700);margin-bottom:4px}.stack{display:grid;gap:14px}.stack-sm{display:grid;gap:8px}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.row-between{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.spacer{flex:1}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.quick-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}.quick-action{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);cursor:pointer;text-align:left;transition:border-color .15s,box-shadow .15s,transform .05s;box-shadow:var(--shadow-sm)}.quick-action:hover{border-color:var(--teal-300);box-shadow:var(--shadow)}.quick-action:active{transform:translateY(1px)}.quick-action .qa-icon{width:40px;height:40px;border-radius:10px;background:var(--teal-50);color:var(--teal-700);display:grid;place-items:center;flex:none}.quick-action .qa-title{font-weight:650}.quick-action .qa-sub{font-size:.8rem;color:var(--text-muted);margin-top:1px}.activity{display:flex;gap:12px;padding:11px 0;border-bottom:1px solid var(--slate-100);align-items:flex-start}.activity:last-child{border-bottom:none}.activity .act-dot{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;flex:none}.activity .act-main{flex:1;min-width:0}.activity .act-title{font-weight:600;font-size:.88rem}.activity .act-sub{font-size:.78rem;color:var(--text-muted);margin-top:1px}.activity time{font-size:.75rem;color:var(--slate-400);white-space:nowrap}.page-head.compact{margin-bottom:14px}.page-head.compact h1{display:flex;align-items:center;gap:8px;font-size:1.35rem}.tiny{font-size:.75rem}.muted{color:var(--text-muted)}.linkbtn{background:none;border:none;padding:0;color:var(--teal-700);font:inherit;font-size:.8rem;font-weight:600;cursor:pointer}.linkbtn:hover{color:var(--teal-800);text-decoration:underline}.review-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:12px;border-bottom:1px solid var(--border);margin-bottom:12px}.review-summary{display:flex;gap:8px;flex-wrap:wrap}.pillcount{display:inline-flex;align-items:center;gap:5px;font-size:.78rem;font-weight:650;padding:4px 10px;border-radius:999px;border:1px solid var(--border)}.pillcount.ok{background:var(--green-50);color:var(--green-700);border-color:var(--green-200)}.pillcount.warn{background:var(--amber-50);color:var(--amber-700);border-color:var(--amber-200)}.pillcount.bad{background:var(--red-50);color:var(--red-700);border-color:var(--red-200)}.review-hint{font-size:.82rem;color:var(--text-muted);margin:0 0 14px;line-height:1.5}.doc-strip{margin-bottom:14px;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden;background:var(--slate-50);max-height:220px}.doc-strip img{display:block;max-height:220px;margin:0 auto}.rx-lines{display:grid;gap:10px}.rx-line{border:1px solid var(--border);border-left:3px solid var(--slate-300);border-radius:var(--radius-sm);padding:12px 14px;background:var(--surface)}.rx-line.is-ok{border-left-color:var(--green-500);background:linear-gradient(90deg,rgba(16,185,129,.04),transparent 40%)}.rx-line.is-warn{border-left-color:var(--amber-500);background:linear-gradient(90deg,rgba(245,158,11,.05),transparent 40%)}.rx-line.is-picked{border-left-color:var(--teal-500);background:linear-gradient(90deg,rgba(20,184,166,.05),transparent 40%)}.rx-top{display:flex;align-items:flex-start;gap:10px}.rx-id{flex:none;width:22px;height:22px;border-radius:6px;background:var(--slate-100);color:var(--slate-600);font-size:.76rem;font-weight:700;display:grid;place-items:center;margin-top:1px}.rx-name{flex:1;min-width:0}.rx-brand{font-weight:680;font-size:.98rem;line-height:1.2}.rx-chips{display:flex;gap:5px;flex-wrap:wrap;margin-top:5px}.chip{font-size:.72rem;color:var(--slate-600);background:var(--slate-100);border-radius:5px;padding:2px 7px;white-space:nowrap}.rx-status{flex:none}.stock-pill{display:inline-flex;align-items:center;gap:5px;font-size:.78rem;font-weight:700;padding:4px 10px;border-radius:999px}.stock-pill.in{background:var(--green-100);color:var(--green-700)}.stock-pill.out{background:var(--red-100);color:var(--red-700)}.rx-ready{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:.88rem;color:var(--slate-700)}.ready-dot{width:8px;height:8px;border-radius:50%;background:var(--green-500);flex:none}.rx-alts{margin-top:10px}.rx-alts-label{font-size:.78rem;font-weight:600;color:var(--amber-700);margin-bottom:7px}.alt-list{display:flex;gap:8px;flex-wrap:wrap}.alt-chip{display:inline-flex;flex-direction:column;align-items:flex-start;gap:1px;text-align:left;border:1px solid var(--border);background:var(--surface);border-radius:var(--radius-sm);padding:7px 12px;cursor:pointer;transition:border-color .12s,background .12s}.alt-chip:hover{border-color:var(--teal-300)}.alt-chip.sel{border-color:var(--teal-600);background:var(--teal-50);box-shadow:0 0 0 1px var(--teal-600) inset}.alt-chip .alt-name{font-weight:640;font-size:.85rem;color:var(--text)}.alt-chip .alt-qty{font-size:.72rem;color:var(--green-700)}.rx-none{display:flex;align-items:center;gap:7px;margin-top:10px;font-size:.82rem;color:var(--red-700)}.rx-foot{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:11px;padding-top:9px;border-top:1px dashed var(--slate-200)}.qtyctl{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;color:var(--text-muted);font-weight:600}.input-xs{width:62px;padding:3px 7px;font-size:.82rem}.rx-insight{margin-top:11px;padding:11px 12px;background:var(--slate-50);border:1px solid var(--border);border-radius:var(--radius-sm)}.rx-insight-chips{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:7px}.rx-insight-summary{font-size:.84rem;color:var(--slate-700);margin:0 0 6px;line-height:1.5}.rx-insight-cautions{margin:0 0 8px;padding-left:18px;font-size:.8rem;color:var(--slate-600)}.rx-insight-cautions li{margin:2px 0}.rx-insight-note{font-size:.72rem;color:var(--amber-700);font-style:italic}.rx-edit{margin-top:11px;padding-top:11px;border-top:1px dashed var(--slate-200)}.rx-table-wrap{border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}.rx-table{width:100%;border-collapse:collapse;font-size:.86rem}.rx-table thead th{text-align:left;font-size:.7rem;text-transform:uppercase;letter-spacing:.03em;color:var(--text-muted);font-weight:700;padding:9px 12px;background:var(--slate-50);border-bottom:1px solid var(--border)}.rx-table td{padding:10px 12px;vertical-align:top;border-bottom:1px solid var(--border)}.rx-table tbody tr:last-child td{border-bottom:none}.rx-table th.c-num,.rx-table td.c-num{width:34px;text-align:center;color:var(--slate-500);font-weight:700}.rx-table th.c-status,.rx-table td.c-status{width:108px}.rx-table th.c-qty,.rx-table td.c-qty{width:76px}.rx-table th.c-act,.rx-table td.c-act{width:96px;white-space:nowrap;text-align:right}.rx-row.is-ok>td:first-child{box-shadow:inset 3px 0 0 var(--green-500)}.rx-row.is-warn>td:first-child{box-shadow:inset 3px 0 0 var(--amber-500)}.rx-row.is-picked>td:first-child{box-shadow:inset 3px 0 0 var(--teal-500)}.rx-row:hover{background:var(--slate-50)}.med-brand{font-weight:680;font-size:.92rem;line-height:1.2}.med-sub{display:flex;gap:5px;flex-wrap:wrap;margin-top:5px}.chip.sm{font-size:.7rem;padding:1px 6px}.med-corrected{margin-top:6px;font-size:.72rem;color:var(--amber-700);background:var(--amber-50);border:1px solid var(--amber-200);border-radius:5px;padding:2px 7px;display:inline-block}.c-act .linkbtn{margin-left:12px}.disp-ready{display:flex;align-items:center;gap:7px;color:var(--slate-700)}.disp-none{display:inline-flex;align-items:center;gap:6px;color:var(--red-700);font-size:.8rem}.rx-exp>td{background:var(--slate-50);padding-top:0}.rx-exp .rx-insight{margin-top:10px}.rx-exp .rx-edit{margin-top:10px;border-top:none;padding-top:0}.unreadable{display:grid;justify-items:center;text-align:center;gap:10px;padding:22px 16px}.unreadable h3{margin:2px 0 0}.unreadable>p{max-width:560px;margin:0;color:var(--text-muted);line-height:1.55}.unreadable .tips{text-align:left;max-width:520px;margin:4px auto 8px;padding-left:18px;color:var(--slate-600);font-size:.85rem}.unreadable .tips li{margin:4px 0}.stat-icon.amber{background:var(--amber-50);color:var(--amber-700)}.card,.stat,.quick-action,.auth-card,.table-wrap,.rx-table-wrap,.doc-strip,.preview-frame,.camera-stage,.file-row{border:none;background:var(--surface);box-shadow:var(--shadow)}.card{padding:24px}.auth-card{box-shadow:var(--shadow-lg)}.quick-action:hover,.stat:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}.quick-action,.stat{transition:box-shadow .18s,transform .12s}.sidebar{border-right:none;background:var(--surface);box-shadow:10px 0 30px -18px var(--clay-dark);margin:12px 0 12px 12px;height:calc(100vh - 24px);border-radius:var(--radius-lg)}.shell{gap:0}.topbar{border-bottom:none;background:#f2faf8bf;box-shadow:0 10px 24px -18px var(--clay-dark)}.nav-item{border-radius:var(--radius-sm);transition:background .14s,color .14s,box-shadow .14s}.nav-item:hover{background:var(--surface);box-shadow:var(--shadow-sm);color:var(--slate-900)}.nav-item.active{background:var(--teal-50);box-shadow:var(--shadow-sm);color:var(--teal-800)}.sidebar-foot{border-top:1px solid var(--border)}.btn{border-radius:var(--radius-sm);border:none}.btn-primary{background:linear-gradient(145deg,var(--teal-500),var(--teal-700));box-shadow:var(--clay-primary)}.btn-primary:hover:not(:disabled){background:linear-gradient(145deg,var(--teal-600),var(--teal-800))}.btn-primary:active:not(:disabled){box-shadow:inset 4px 4px 10px #064e488c,inset -3px -3px 8px #5eead466;transform:translateY(1px)}.btn-secondary{background:var(--surface);border:none;box-shadow:var(--shadow-sm)}.btn-secondary:hover:not(:disabled){background:var(--surface);box-shadow:var(--shadow)}.btn-secondary:active:not(:disabled){box-shadow:var(--clay-inset)}.btn-ghost:hover:not(:disabled){background:var(--surface);box-shadow:var(--shadow-sm)}.btn-danger{background:linear-gradient(145deg,var(--red-500),var(--red-700));box-shadow:0 12px 22px -10px #dc26268c,inset -3px -3px 8px #991b1b66,inset 3px 4px 10px #fecaca80}.input,textarea.input,select.input{border:none;background:var(--surface-sunken);box-shadow:var(--clay-inset);border-radius:var(--radius-sm)}.input:focus,textarea.input:focus,select.input:focus{border:none;background:var(--surface);box-shadow:var(--clay-inset),0 0 0 3px var(--ring)}.segmented{background:var(--surface-sunken);box-shadow:var(--clay-inset);border-radius:var(--radius-sm);padding:4px}.segmented button{border-radius:var(--radius-sm)}.segmented button.active{background:var(--surface);box-shadow:var(--shadow-sm)}.dropzone{border:2px dashed rgba(120,160,150,.4);background:var(--surface-sunken);box-shadow:var(--clay-inset);border-radius:var(--radius)}.dropzone:hover,.dropzone.drag{border-color:var(--teal-500);background:var(--teal-50)}.stat .stat-icon,.quick-action .qa-icon,.dropzone .dz-icon,.activity .act-dot,.avatar,.brand .mark,.rx-id,.med-line .ml-num,.empty .em-icon,.stat-icon{box-shadow:var(--shadow-sm)}.stat .stat-icon,.quick-action .qa-icon{border-radius:14px}.avatar{box-shadow:var(--shadow-sm)}.badge,.pillcount,.stock-pill{box-shadow:var(--shadow-sm);border:none}.chip{background:var(--surface-sunken);box-shadow:inset 2px 2px 5px var(--clay-dark-soft),inset -2px -2px 5px var(--clay-light);border-radius:8px}.alt-chip,.candidate{border:none;background:var(--surface);box-shadow:var(--shadow-sm);border-radius:var(--radius-sm)}.alt-chip:hover,.candidate:hover{box-shadow:var(--shadow)}.alt-chip.sel,.candidate.selected{background:var(--teal-50);box-shadow:var(--clay-inset),0 0 0 2px var(--teal-500)}.rx-table thead th,table.tbl th{background:var(--surface-sunken)}.rx-table td,table.tbl td{border-bottom:1px solid var(--border)}.rx-row:hover,table.tbl tbody tr:hover{background:var(--surface-sunken)}.rx-exp>td{background:var(--surface-sunken)}.rx-insight,.doc-strip{background:var(--surface-sunken);border:none;box-shadow:var(--clay-inset)}.step .dot{box-shadow:var(--shadow-sm);border:none}.step.active .dot{box-shadow:0 6px 12px -4px #0d766e80,inset 2px 2px 5px #5eead480,inset -2px -2px 5px #064e4859}.alert{border:none;box-shadow:var(--shadow-sm);border-radius:var(--radius-sm)}.spinner{border-color:var(--surface-sunken);border-top-color:var(--teal-600)}.nav-section{color:var(--slate-500)}.nav-item{color:var(--slate-700)}.userchip .who{color:var(--slate-600)}.userchip .who .role{color:var(--slate-500)}table.tbl th{color:var(--slate-600)}.metrics{color:var(--slate-500)}.activity time,.step{color:var(--slate-500)}.stat .label,.qa-sub,.act-sub,.card-head p,.page-head p,.subtitle{color:var(--slate-600)}.tiny.muted,.muted.tiny{color:var(--slate-500)}.scrim{display:none}@media (max-width: 860px){.shell{grid-template-columns:1fr}.sidebar{position:fixed;z-index:60;left:0;top:0;width:260px;height:100vh;margin:0;border-radius:0;transform:translate(-100%);transition:transform .2s ease;box-shadow:var(--shadow-lg)}.sidebar.open{transform:translate(0)}.hamburger{display:inline-flex}.scrim.show{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a66;z-index:50}.page{padding:20px 16px 56px}.topbar{padding:0 16px}}
