:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#111418;color:#edf2f4;font-synthesis:none;letter-spacing:0;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#111418}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a.primary-button,a.secondary-button{min-height:42px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{min-height:100vh}.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 28px;background:#111418f0;border-bottom:1px solid #29313a;backdrop-filter:blur(14px)}.brand,.topnav{display:flex;align-items:center;gap:10px}.brand{font-weight:800}.brand-mark{display:inline-grid;width:34px;height:34px;place-items:center;border-radius:8px;background:#29b6a8;color:#071113;font-weight:900}.topnav a{padding:8px 12px;border-radius:8px;color:#cbd7df}.topnav a:hover{background:#202831;color:#fff}.language-switcher{display:inline-flex;align-items:center;gap:8px;min-width:150px;padding:5px 8px;border:1px solid #37414d;border-radius:8px;background:#141a21;color:#dbe5ea}.language-switcher svg{width:17px;height:17px;color:#7dded3;flex:0 0 auto}.language-switcher select{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#edf2f4;font-weight:800}.page{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:28px 0 56px}.home-page{padding-top:24px}.hero{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:32px;align-items:center;min-height:520px}.hero-copy h1,.page-title h1{margin:0;font-size:3rem;line-height:1.04;letter-spacing:0}.page-title h1{font-size:2.15rem}.eyebrow{margin:0 0 10px;color:#7dded3;font-size:.85rem;font-weight:800;letter-spacing:0;text-transform:uppercase}.subtitle{max-width:660px;margin:18px 0 0;color:#b5c4cc;font-size:1.1rem;line-height:1.65}.hero-actions,.inline-controls,.playback-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.hero-actions{margin-top:28px}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:8px;padding:10px 14px;font-weight:800;transition:transform .12s ease,background .12s ease,border-color .12s ease}.primary-button{background:#29b6a8;color:#081315}.primary-button:hover{background:#4fcfc1}.secondary-button{background:#202831;color:#edf2f4;border:1px solid #37414d}.secondary-button:hover{background:#2a333f}.primary-button svg,.secondary-button svg,.panel-heading svg,.privacy-note svg{width:18px;height:18px;flex:0 0 auto}.large{min-height:52px;padding:14px 18px;font-size:1rem}.full-width{width:100%}.hero-visual{display:grid;place-items:center}.sample-frame{display:grid;grid-template-columns:repeat(12,1fr);width:330px;aspect-ratio:1;padding:16px;background:#f8fbff;border-radius:8px;box-shadow:0 22px 80px #00000059}.sample-cell{display:block;margin:1px;border-radius:2px}.sample-cell.c0{background:#07111f}.sample-cell.c1{background:#d63648}.sample-cell.c2{background:#26ad70}.sample-cell.c3{background:#3268dc}.sample-cell.c4{background:#18bcc6}.sample-cell.c5{background:#e6ae2a}.pill-row{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.pill-row span{padding:8px 10px;border:1px solid #37414d;border-radius:999px;background:#171d23;color:#dbe5ea;font-size:.9rem}.notice,.panel{border:1px solid #2c3540;border-radius:8px;background:#171d23}.privacy-note{display:flex;gap:12px;align-items:flex-start;margin:18px 0;padding:14px;color:#dce7ec}.privacy-note p{margin:0;line-height:1.55}.privacy-note svg{color:#7dded3}.panel{padding:18px;min-width:0}.panel-heading,.page-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.page-title,.panel-heading{margin-bottom:14px}.panel-heading h2,.controls-panel h3{margin:0;font-size:1rem;line-height:1.3}.panel-heading span,.muted,.frame-caption{color:#a8b7c0}.workspace-grid{display:grid;grid-template-columns:minmax(290px,420px) minmax(0,1fr);gap:18px;align-items:start}.workspace-grid>.panel:nth-child(n+3){grid-column:span 1}.two-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:680px}th,td{padding:12px;border-bottom:1px solid #2c3540;text-align:left;vertical-align:top}th{color:#7dded3;font-size:.85rem;text-transform:uppercase}.tip-list{margin:0;padding-left:20px;color:#d6e0e5;line-height:1.7}.file-picker{display:flex;align-items:center;justify-content:center;min-height:76px;padding:12px;border:1px dashed #536272;border-radius:8px;background:#111820;color:#edf2f4;cursor:pointer}.file-picker input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mode-grid.compact{grid-template-columns:1fr}.mode-card{display:grid;gap:6px;padding:10px;border:1px solid #2f3945;border-radius:8px;background:#111820;color:#aebdc6;cursor:pointer}.mode-card input{position:absolute;opacity:0}.mode-card.selected{border-color:#29b6a8;background:#102624;color:#f3fbfb}.mode-card-title{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:#edf2f4;font-weight:800}.mode-card-title b{padding:2px 6px;border-radius:999px;background:#d98b35;color:#120904;font-size:.68rem;text-transform:uppercase}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.field{display:grid;gap:6px;min-width:0}.field span,.toggle-row{color:#b7c6ce;font-size:.9rem;font-weight:700}.field input,.field select{width:100%;min-height:42px;border:1px solid #37414d;border-radius:8px;padding:9px 10px;background:#10171e;color:#edf2f4}.toggle-row{display:flex;align-items:center;gap:10px}.toggle-row span{display:inline-flex;align-items:center;gap:8px}.encryption-box,.advanced-box{margin-top:14px;padding:12px;border:1px solid #2f3945;border-radius:8px;background:#111820}.advanced-box summary{cursor:pointer;font-weight:800}.frame-panel{min-height:620px}.frame-stage{display:grid;justify-items:center;gap:10px;min-height:360px;padding:14px;border-radius:8px;background:#0d1116}.qr-canvas{display:block;max-width:100%;height:auto;border-radius:8px}.empty-frame{display:grid;width:min(100%,420px);aspect-ratio:1;place-items:center;border:1px dashed #43505e;border-radius:8px;color:#aebdc6}.playback-controls{margin-top:14px}.progress-track{width:100%;height:12px;margin:14px 0;overflow:hidden;border-radius:999px;background:#0f151c}.progress-track span{display:block;height:100%;min-width:0;border-radius:inherit;background:#29b6a8}.status-text{color:#8fe4a8}.warning-text{color:#f2bd6b}.error-text{color:#ff8f9b}.stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-grid div{display:grid;gap:4px;min-width:0;padding:10px;border-radius:8px;background:#111820}.stat-grid span{color:#9cacb5;font-size:.82rem}.stat-grid strong{overflow-wrap:anywhere}.camera-panel{min-height:520px}.video-shell{position:relative;overflow:hidden;margin-top:12px;border:1px solid #2f3945;border-radius:8px;aspect-ratio:16 / 10;background:#080b0f}.video-shell video,.video-placeholder{position:absolute;inset:0;width:100%;height:100%}.video-shell video{object-fit:cover}.video-placeholder{display:grid;place-items:center;color:#95a6b1}.video-placeholder svg{width:32px;height:32px}.debug-canvas{width:100%;max-height:260px;margin-top:10px;border:1px solid #2f3945;border-radius:8px}.hidden{display:none}.file-summary{display:grid;gap:6px;padding:12px;border-radius:8px;background:#111820}.file-summary span{color:#aebdc6}@media(max-width:900px){.topbar{padding:12px 16px}.page{width:min(100% - 20px,760px);padding-top:18px}.hero,.workspace-grid,.two-column{grid-template-columns:1fr}.hero{min-height:auto;padding-top:18px}.hero-copy h1,.page-title h1{font-size:2rem}.sample-frame{width:min(100%,310px)}.settings-grid,.stat-grid,.mode-grid{grid-template-columns:1fr}.page-title{align-items:flex-start;flex-direction:column}}@media(max-width:520px){.topnav{display:none}.language-switcher{min-width:132px}.hero-actions,.inline-controls,.playback-controls{align-items:stretch;flex-direction:column}.primary-button,.secondary-button{width:100%}}
