:root{color:#18201b;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f6f7f3;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,a{font:inherit}button{color:#fff;cursor:pointer;background:#246b4b;border:0;border-radius:8px;min-height:44px;padding:0 18px;font-weight:700}button:hover:not(:disabled){background:#1d5b3f}button:disabled{color:#667169;cursor:not-allowed;background:#dce2dd}.danger-button{background:#b6462d}.danger-button:hover:not(:disabled){background:#983923}.app-shell{width:100%;margin:0;padding:24px}.app-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.eyebrow{color:#b6462d;letter-spacing:0;text-transform:uppercase;margin:0 0 4px;font-size:.78rem;font-weight:800}h1,h2,p{margin-top:0}h1{letter-spacing:0;margin-bottom:10px;font-size:clamp(2rem,4vw,4.4rem);line-height:.98}.app-subtitle{color:#526157;max-width:620px;margin-bottom:0;font-size:1rem;font-weight:700}h2{letter-spacing:0;margin-bottom:4px;font-size:1.15rem}.panel-heading p{color:#667169;margin-bottom:0;font-size:.9rem;font-weight:700}.status-pill{color:#274030;text-align:center;background:#fff;border:1px solid #cad4cc;border-radius:999px;min-width:144px;padding:8px 14px;font-size:.92rem;font-weight:800}.status-pill[data-status=recording]{color:#8d2d1d;background:#fff1ec;border-color:#f2b8a8}.banner{border-radius:8px;margin-bottom:16px;padding:14px 16px;font-weight:700}.banner-error{color:#7c2518;background:#ffe5dd}.banner-info{color:#20406d;background:#e7f0ff}.workspace{grid-template-columns:minmax(360px,548px) minmax(0,1fr);align-items:start;gap:22px;display:grid}.controls-panel,.preview-panel{background:#fff;border:1px solid #d9dfda;border-radius:8px}.controls-panel{flex-direction:column;gap:22px;padding:22px;display:flex}.panel-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.panel-heading span{color:#b6462d;font-variant-numeric:tabular-nums;text-align:right;min-width:68px;font-size:1.4rem;font-weight:800}.source-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.mode-group{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.mode-group.two-options{grid-template-columns:repeat(2,minmax(0,1fr))}.mode-option{color:#26342b;text-align:center;background:#fbfcfa;border:1px solid #dce4de;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:10px;font-weight:800;display:flex}.mode-option svg,.source-option svg{color:#246b4b;flex:none}.mode-option.selected{background:#eaf4ee;border-color:#246b4b}.mode-option input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.source-option{color:#26342b;background:#fbfcfa;border:1px solid #dce4de;border-radius:8px;align-items:center;gap:10px;min-height:48px;padding:10px 12px;font-weight:800;display:flex}.source-option.compact{min-height:42px}.source-option.unavailable{color:#78837b;background:#f1f4f1}.source-option.unavailable svg{color:#96a29a}.source-option input[type=checkbox]{accent-color:#246b4b;width:18px;height:18px}.overlay-controls,.audio-controls{background:#fbfcfa;border:1px solid #e2e8e3;border-radius:8px;gap:12px;padding:12px;display:grid}.audio-controls h2{margin-bottom:4px}.audio-heading{align-items:flex-start;gap:10px;display:flex}.audio-heading>svg{color:#246b4b;flex:none;margin-top:2px}.audio-controls p{color:#667169;margin-bottom:0;font-size:.9rem;font-weight:700}.command-console{background:linear-gradient(#ffffff0a,#0000),#101612;border:1px solid #26342d;border-radius:8px;gap:12px;padding:12px;display:grid}.setup-button,.transport-button,.files-actions button,.file-actions button,.file-actions a{justify-content:center;align-items:center;gap:8px;display:inline-flex}.setup-button{background:#246b4b}.transport-controls{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.transport-button{color:#edf5ef;background:#1a231d;border:1px solid #334139;min-height:50px;padding:0 10px;font-size:.92rem}.transport-button:hover:not(:disabled){background:#263329}.record-button{color:#fff;background:#8f3027;border-color:#cf5b49}.record-button:hover:not(:disabled){background:#a63b30}.stop-button{color:#ffded6;background:#3a2421;border-color:#8a4134}.stop-button:hover:not(:disabled){background:#552c27}.command-console button:disabled{color:#77827b;background:#222b25;border-color:#303a34}.control-row{gap:10px;display:grid}.segmented-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.segmented-row label,.range-control{color:#667169;letter-spacing:0;text-transform:uppercase;gap:6px;font-size:.78rem;font-weight:800;display:grid}select,input[type=range]{width:100%}select{color:#18201b;min-height:40px;font:inherit;text-transform:none;background:#fff;border:1px solid #d7dfd9;border-radius:8px;padding:0 10px;font-weight:700}.signal-grid{grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:10px;margin:0;display:grid}.signal-grid div,.result-strip{background:#fbfcfa;border:1px solid #e2e8e3;border-radius:8px;padding:12px}.signal-grid dt,.result-strip span{color:#667169;letter-spacing:0;text-transform:uppercase;font-size:.78rem;font-weight:800}.signal-grid dd,.result-strip strong{overflow-wrap:anywhere;color:#18201b;margin:2px 0 0;font-weight:800;display:block}.result-strip{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;display:grid}.result-strip a,.file-actions a{color:#fff;background:#246b4b;border-radius:8px;padding:10px 14px;font-weight:800;text-decoration:none}.file-actions a:hover{background:#1d5b3f}.files-panel{gap:12px;display:grid}.files-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.files-heading h2{margin-bottom:4px}.files-heading p{color:#667169;margin-bottom:0;font-size:.9rem;font-weight:700}.files-actions,.file-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.files-actions button,.file-actions button,.file-actions a{min-height:38px;padding:0 12px;font-size:.9rem}.file-list{gap:10px;display:grid}.file-row{background:#fbfcfa;border:1px solid #e2e8e3;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.file-row span,.file-row small{color:#667169;letter-spacing:0;text-transform:uppercase;font-size:.78rem;font-weight:800;display:block}.file-row strong{overflow-wrap:anywhere;margin:2px 0;display:block}.preview-panel{aspect-ratio:16/9;background-color:#e8ede9;background-image:linear-gradient(90deg,#18201b14 1px,#0000 1px),linear-gradient(#18201b14 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:28px 28px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;justify-self:start;width:100%;max-width:min(100%,177.778svh - 337.778px);min-height:220px;position:relative;overflow:hidden}.preview-panel video{object-fit:contain;background:#0f1411;width:100%;height:100%;display:block}.preview-panel .webcam-preview{z-index:2;aspect-ratio:16/9;object-fit:cover;border:3px solid #fff;border-radius:8px;width:24%;height:auto;position:absolute;box-shadow:0 12px 32px #18201b40}.webcam-preview.circle{aspect-ratio:1;border-radius:999px}.webcam-preview.top-left{top:24px;left:24px}.webcam-preview.top-right{top:24px;right:24px}.webcam-preview.bottom-left{bottom:24px;left:24px}.webcam-preview.bottom-right{bottom:24px;right:24px}.preview-empty{color:#536057;place-items:center;font-size:1rem;font-weight:800;display:grid;position:absolute;inset:0}@media (width<=860px){.app-shell{padding:16px}.app-header{flex-direction:column;align-items:flex-start}.workspace{grid-template-columns:1fr}.preview-panel{max-width:100%;min-height:220px}.result-strip{grid-template-columns:1fr}.signal-grid{grid-template-columns:repeat(2,1fr)}.source-grid,.segmented-row,.mode-group,.mode-group.two-options{grid-template-columns:1fr}.transport-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.files-heading,.file-row{grid-template-columns:1fr}.files-heading{display:grid}.files-actions,.file-actions{justify-content:stretch}.files-actions button,.file-actions button,.file-actions a{text-align:center;flex:1}.preview-panel .webcam-preview{border-width:2px}.webcam-preview.top-left{top:12px;left:12px}.webcam-preview.top-right{top:12px;right:12px}.webcam-preview.bottom-left{bottom:12px;left:12px}.webcam-preview.bottom-right{bottom:12px;right:12px}}
