@font-face{font-family:Noto Nastaliq Compact;src:url(./noto-nastaliq-urdu-arabic-400-normal-BVDOj1dq.woff2) format("woff2");font-weight:400;font-display:swap;ascent-override:118%;descent-override:62%;line-gap-override:0%;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F}@font-face{font-family:Noto Nastaliq Compact;src:url(./noto-nastaliq-urdu-arabic-700-normal-CV4fHIsl.woff2) format("woff2");font-weight:700;font-display:swap;ascent-override:118%;descent-override:62%;line-gap-override:0%;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F}@font-face{font-family:Paper Latin;src:local("Segoe UI");font-weight:400;size-adjust:80%;unicode-range:U+0020-007E,U+00A0-00FF}@font-face{font-family:Paper Latin;src:local("Segoe UI Bold");font-weight:700;size-adjust:80%;unicode-range:U+0020-007E,U+00A0-00FF}@font-face{font-family:Noto Nastaliq Paper;src:url(./noto-nastaliq-urdu-arabic-400-normal-BVDOj1dq.woff2) format("woff2");font-weight:400;font-display:swap;size-adjust:78%;ascent-override:118%;descent-override:62%;line-gap-override:0%;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F}@font-face{font-family:Noto Nastaliq Paper;src:url(./noto-nastaliq-urdu-arabic-700-normal-CV4fHIsl.woff2) format("woff2");font-weight:700;font-display:swap;size-adjust:78%;ascent-override:118%;descent-override:62%;line-gap-override:0%;unicode-range:U+0600-06FF,U+0750-077F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200F}:root{--color-background: #f6c667;--color-background-deep: #eeb04a;--color-foreground: #1c1508;--color-surface: #fff8e8;--color-surface-raised: #ffffff;--color-muted: #fbe6bb;--color-muted-foreground: #5c4a22;--color-border: #8a6a2a;--color-input: #ffffff;--color-ring: #0a3a8c;--color-primary: #006b00;--color-primary-hover: #005400;--color-primary-foreground: #ffffff;--color-secondary: #87ceeb;--color-secondary-hover: #6dbfe0;--color-secondary-active: #54aed3;--color-secondary-foreground: #0c1a22;--color-accent: #ffa500;--color-destructive: #b3261e;--color-destructive-soft: #fde7e4;--color-success: #0d6b2e;--color-success-soft: #e0f4e6;--color-warning: #8a4b00;--color-warning-soft: #fff0cc;--color-info: #0b5a8a;--color-paper: #ffffff;--color-ink: #000000;--color-missing: #ffe08a;--color-canvas: #6f6a60;--color-slice-1: #d32020;--color-slice-2: #f28c00;--color-slice-3: #e8c800;--color-slice-4: #8e4fc2;--color-slice-5: #1f8a3a;--color-slice-6: #1f5fc0;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--radius: 4px;--shadow-menu: 0 4px 12px rgb(0 0 0 / .25);--shadow-modal: 0 12px 32px rgb(0 0 0 / .35);--font-body: "Jameel Noori Nastaleeq", "Noto Nastaliq Compact", "Segoe UI", serif;--font-paper: "Jameel Noori Nastaleeq", "Paper Latin", "Noto Nastaliq Paper", "Segoe UI", serif;--font-latin: "Segoe UI", Tahoma, sans-serif;--text-sm: 14px;--text-md: 16px;--text-lg: 18px;--text-xl: 24px;--text-2xl: 36px;--motion-fast: .12s}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--color-background);color:var(--color-foreground);font-family:var(--font-body);font-size:var(--text-lg);font-weight:700;line-height:1.5}button,input,select,textarea{font:inherit;color:inherit}h1,h2,h3,p{margin:0}.latin{font-family:var(--font-latin);direction:ltr;unicode-bidi:isolate}.muted{color:var(--color-muted-foreground)}.small{font-size:var(--text-sm)}.grow{flex:1;min-width:0}.row{display:flex;gap:var(--space-2);align-items:center;flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:var(--space-2)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}:focus-visible{outline:2px solid var(--color-ring);outline-offset:2px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:36px;padding:var(--space-1) var(--space-3);background:var(--color-secondary);color:var(--color-secondary-foreground);border:1px solid var(--color-border);border-radius:var(--radius);cursor:pointer;transition:background var(--motion-fast) ease-out}.btn:hover{background:var(--color-secondary-hover)}.btn:active{background:var(--color-secondary-active)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn.primary{background:var(--color-primary);color:var(--color-primary-foreground);border-color:var(--color-primary-hover)}.btn.primary:hover{background:var(--color-primary-hover)}.btn.quiet{background:transparent;border-color:transparent}.btn.quiet:hover{background:var(--color-muted)}.btn.danger{background:var(--color-destructive-soft);color:var(--color-destructive);border-color:var(--color-destructive)}.btn.icon{min-width:36px;padding:var(--space-1)}.field{display:flex;flex-direction:column;gap:var(--space-1);min-width:0}.field>span{font-size:var(--text-md)}.input{width:100%;min-height:36px;padding:var(--space-1) var(--space-2);background:var(--color-input);border:1px solid var(--color-border);border-radius:var(--radius)}textarea.input{resize:vertical;line-height:1.9;unicode-bidi:plaintext}select.input{min-height:44px;padding-block:0;line-height:2}.field-error{color:var(--color-destructive);font-size:var(--text-md)}.notice{display:flex;gap:var(--space-2);align-items:flex-start;padding:var(--space-2) var(--space-3);border-radius:var(--radius);border:1px solid;font-size:var(--text-md)}.notice.error{background:var(--color-destructive-soft);color:var(--color-destructive)}.notice.success{background:var(--color-success-soft);color:var(--color-success)}.notice.warn{background:var(--color-warning-soft);color:var(--color-warning)}.notice.info{background:var(--color-surface);color:var(--color-info)}.menubar{display:flex;flex-wrap:wrap;align-items:center;background:var(--color-surface);border-bottom:1px solid var(--color-border);direction:ltr;font-family:var(--font-latin);font-size:var(--text-sm);font-weight:400}.menu{position:relative}.menu>button{min-height:32px;padding:var(--space-1) var(--space-3);background:none;border:0;cursor:pointer}.menu>button:hover,.menu>button[aria-expanded=true]{background:var(--color-secondary)}.menu-list{position:absolute;z-index:40;top:100%;left:0;min-width:200px;padding:var(--space-1);background:var(--color-surface-raised);border:1px solid var(--color-border);box-shadow:var(--shadow-menu)}.menu-list button{display:block;width:100%;min-height:28px;padding:var(--space-1) var(--space-3);text-align:left;background:none;border:0;cursor:pointer}.menu-list button:hover,.menu-list button:focus-visible{background:var(--color-secondary)}.menu-list button[aria-checked=true]:before{content:"● "}.menubar-end{margin-left:auto;display:flex;gap:var(--space-2);align-items:center;padding-inline:var(--space-2)}.dash{height:100%;display:flex;flex-direction:column}.dash-top{flex:3 1 0;min-height:300px;display:grid;grid-template-columns:3fr 2fr;gap:var(--space-3);padding:var(--space-3);direction:rtl}.dash-actions{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:minmax(36px,1fr);gap:var(--space-1);min-height:0}.dash-title{grid-column:1 / -1;display:flex;align-items:baseline;justify-content:center;gap:var(--space-4);border-bottom:1px solid var(--color-border)}.dash-title h1{font-size:var(--text-2xl);line-height:1.4}.dash-actions .btn{font-size:var(--text-md);padding-inline:var(--space-1);line-height:1.3}.dash-chart{display:flex;align-items:center;justify-content:center;gap:var(--space-4);min-height:0;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);padding:var(--space-3)}.dash-chart svg{flex:0 1 220px;max-height:100%;min-width:120px}.legend{list-style:none;margin:0;padding:0;font-size:var(--text-md)}.legend li{display:flex;align-items:center;gap:var(--space-2);line-height:2.2;white-space:nowrap}.legend i{width:12px;height:12px;border-radius:2px;flex:none}.legend b{font-variant-numeric:tabular-nums}.dash-bottom{flex:2 1 0;min-height:200px;display:flex;flex-direction:column;padding-inline:var(--space-3);gap:var(--space-2)}.searchbar{display:flex;gap:var(--space-2);align-items:center;flex-wrap:wrap}.searchbar select{width:160px}.searchbar input{flex:1;min-width:160px;max-width:360px}.selected-case{font-size:var(--text-md)}.table-wrap{flex:1 1 auto;min-height:240px;overflow:auto;background:var(--color-surface-raised);border:1px solid var(--color-border)}.table{width:100%;border-collapse:collapse;font-size:var(--text-md)}.table th{position:sticky;top:0;z-index:1;background:var(--color-muted);text-align:start;padding:var(--space-1) var(--space-2);border-bottom:1px solid var(--color-border);white-space:nowrap}.table td{padding:var(--space-1) var(--space-2);border-bottom:1px solid var(--color-muted);white-space:nowrap;max-width:24em;overflow:hidden;text-overflow:ellipsis}.table tbody tr{cursor:pointer}.table tbody tr:hover{background:var(--color-muted)}.table tbody tr[aria-selected=true]{background:var(--color-accent)}.table .num{font-variant-numeric:tabular-nums}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-2);padding:var(--space-6);text-align:center}.footer{display:flex;align-items:center;gap:var(--space-4);flex-wrap:wrap;padding:var(--space-1) var(--space-3);font-family:var(--font-latin);font-weight:400;font-size:var(--text-sm);color:var(--color-foreground);direction:ltr}.footer .pager{margin-left:auto;display:flex;align-items:center;gap:var(--space-2)}.footer .btn{min-height:28px}.screen{height:100%;display:flex;flex-direction:column;min-height:0}.screen-bar{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;padding:var(--space-1) var(--space-2);background:var(--color-surface);border-bottom:1px solid var(--color-border)}.screen-title{font-size:var(--text-lg)}.tabs{display:flex;flex-wrap:wrap;gap:2px;padding:var(--space-1) var(--space-2) 0;background:var(--color-background-deep)}.tabs button{min-height:32px;padding:2px var(--space-3);background:var(--color-muted);border:1px solid var(--color-border);border-bottom:0;border-radius:var(--radius) var(--radius) 0 0;cursor:pointer;font-size:var(--text-md)}.tabs button[aria-selected=true]{background:var(--color-surface)}.tabs button:hover{background:var(--color-secondary)}.tab-body{flex:1;min-height:0;overflow:auto;padding:var(--space-4);background:var(--color-surface)}.form-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:var(--space-3);max-width:1000px}.form-grid .wide{grid-column:1 / -1}.section+.section{margin-top:var(--space-6)}.section h2{font-size:var(--text-lg);margin-bottom:var(--space-2)}.form-screen{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 300px}.canvas{overflow:auto;background:var(--color-canvas);padding:var(--space-4)}.pages{display:flex;flex-direction:column;align-items:center;gap:var(--space-4);width:fit-content;min-width:100%}.side{display:flex;flex-direction:column;min-height:0;overflow:auto;background:var(--color-surface);border-inline-start:1px solid var(--color-border)}.side-section{padding:var(--space-3);border-bottom:1px solid var(--color-border);display:flex;flex-direction:column;gap:var(--space-2);font-size:var(--text-md)}.side-section h2{font-size:var(--text-md)}.template-list{list-style:none;margin:0;padding:0;max-height:300px;overflow:auto;border:1px solid var(--color-border);background:var(--color-input)}.template-list button{display:block;width:100%;padding:2px var(--space-2);text-align:start;background:none;border:0;border-bottom:1px solid var(--color-muted);cursor:pointer;line-height:1.7}.template-list button:hover{background:var(--color-muted)}.template-list button[aria-current=true]{background:var(--color-accent)}.check{display:flex;align-items:center;gap:var(--space-2);cursor:pointer}.form-screen.with-translator{grid-template-columns:320px minmax(0,1fr) 300px}.translator{display:flex;flex-direction:column;gap:var(--space-3);min-height:0;overflow:auto;padding:var(--space-3);background:var(--color-surface);border-inline-end:1px solid var(--color-border);font-size:var(--text-md)}.translator-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2)}.translator-head h2{display:flex;align-items:center;gap:var(--space-2);font-size:var(--text-md);margin:0}.translator-actions{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}.translator-actions .btn{display:inline-flex;align-items:center;gap:var(--space-1)}.translator textarea{resize:vertical;width:100%;overflow-wrap:anywhere}.translator-urdu{min-height:180px;line-height:2.2}.translator-english{min-height:220px;line-height:1.6;font-family:var(--font-latin);font-size:var(--text-sm)}.check input{width:16px;height:16px;flex:none}.paper{position:relative;background:var(--color-paper);color:var(--color-ink);overflow:hidden;font-family:var(--font-paper);font-size:18px;font-weight:700;direction:rtl;line-height:normal;flex:none;border:1px solid var(--color-ink)}.paper.legal{width:816px;height:1344px}.paper.a4{width:794px;height:1123px}.paper>.x-grid{height:100%}.x-grid{display:grid;min-width:0}.x-node{min-width:0;text-underline-offset:.35em}.x-label{white-space:pre-wrap;padding:5px;line-height:1.5}.x-label.nowrap,.x-text.nowrap{white-space:pre}.x-text{unicode-bidi:plaintext;white-space:pre-wrap;overflow-wrap:anywhere;outline:none;min-width:1ch;padding:2px 10px 2px 12px;line-height:1.5}.x-text.nowrap{padding:0}.paper .x-node{pointer-events:none}.paper .x-text,.paper .x-select,.paper .x-table{pointer-events:auto}@media screen{.x-text[data-empty]{min-width:min(4.5em,100%);min-height:1.5em;background:#87ceeb24;box-shadow:inset 0 -1px #0a3a8c80;cursor:text}}.x-text:hover{background:#87ceeb26}.x-text:focus{background:#87ceeb47}.x-select{position:relative;padding:0 var(--space-1);min-width:120px;min-height:1.4em}.x-select-text{white-space:pre-wrap;overflow-wrap:anywhere}.x-select select{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;font:inherit;cursor:pointer}.x-select:focus-within{outline:2px solid var(--color-ring);outline-offset:1px}.x-table{border-collapse:collapse;max-width:100%}.x-table td{padding:1px 4px;font-weight:700;line-height:1.55;overflow-wrap:anywhere}.x-table td.x-number{white-space:nowrap;overflow-wrap:normal}.x-rownum{padding-inline:15px;text-align:center}.x-table tr:focus{outline:2px solid var(--color-ring);outline-offset:-2px}.x-table.small{font-size:14px}::highlight(missing-token){background-color:var(--color-missing)}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:var(--space-4);background:#00000073}.dialog{width:min(800px,100%);max-height:100%;overflow:auto;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);box-shadow:var(--shadow-modal);padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-3)}.dialog.wide{width:min(1240px,100%)}.dialog.fit{width:min(480px,100%)}.preview-bar{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;font-size:var(--text-sm)}.preview-bar .btn{display:inline-flex;align-items:center;gap:var(--space-1)}.preview-frame{width:100%;height:min(78vh,1100px);border:1px solid var(--color-border);background:var(--color-canvas)}.dash-title .brand{display:inline-flex;align-items:center;gap:var(--space-3)}.dash-title .brand img{border-radius:8px}.dialog h2{font-size:var(--text-xl)}.dialog-actions{display:flex;gap:var(--space-2);justify-content:flex-start;flex-wrap:wrap}.fir-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:var(--space-3)}.ctx-menu{position:fixed;z-index:60;min-width:180px;max-height:70vh;overflow:auto;padding:var(--space-1);background:var(--color-surface-raised);border:1px solid var(--color-border);box-shadow:var(--shadow-menu);font-size:var(--text-md);font-weight:400}.ctx-menu button{display:block;width:100%;padding:2px var(--space-3);text-align:start;background:none;border:0;cursor:pointer;line-height:1.8;overflow-wrap:anywhere}.ctx-menu button:hover,.ctx-menu button:focus-visible{background:var(--color-secondary)}.ctx-menu hr{border:0;border-top:1px solid var(--color-muted);margin:2px 0}.speak-box{display:flex;flex-direction:column;align-items:center;gap:var(--space-2);padding:var(--space-4);text-align:center;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius)}.speak-box p{margin:0;max-width:60ch}.speak-button{min-height:64px;min-width:240px;padding-inline:var(--space-6);font-size:var(--text-lg)}.intake-steps{display:flex;gap:var(--space-2);font-size:var(--text-md);list-style:none;margin:0;padding:0;flex-wrap:wrap}.intake-steps li{padding:2px var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius)}.intake-steps li[aria-current=step]{background:var(--color-accent)}.review{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--space-4);align-items:start}.fact-row{display:grid;grid-template-columns:110px minmax(0,1fr);gap:var(--space-2);align-items:start;padding-block:var(--space-1);border-bottom:1px solid var(--color-muted)}.fact-row>label{font-size:var(--text-md);padding-top:var(--space-1)}.evidence{font-size:var(--text-sm);color:var(--color-muted-foreground);font-weight:400;line-height:1.9}.flag{display:flex;gap:var(--space-1);align-items:center;color:var(--color-warning);font-size:var(--text-sm)}.doc-card{border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface-raised);padding:var(--space-2) var(--space-3);display:flex;flex-direction:column;gap:var(--space-1)}.doc-body{white-space:pre-wrap;font-size:var(--text-md);line-height:2;max-height:220px;overflow:auto;font-weight:400}.token{background:var(--color-missing)}.diff-add{background:var(--color-success-soft);text-decoration:underline}.diff-del{background:var(--color-destructive-soft);text-decoration:line-through}.voice-pill{display:inline-flex;align-items:center;gap:var(--space-2);font-family:var(--font-latin);font-size:var(--text-sm)}.voice-pill .btn{min-height:28px}.voice-toast{direction:rtl;font-family:var(--font-body);font-size:var(--text-md);line-height:2;padding-block:2px;cursor:pointer}.recording{color:var(--color-destructive)}@media(max-width:767px){.dash{height:auto;min-height:100%}.dash-top{flex:none;min-height:0;grid-template-columns:minmax(0,1fr)}.dash-actions{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto}.dash-chart{flex-wrap:wrap}.dash-chart svg{flex:0 0 140px}.selected-case{flex-basis:100%}.table-wrap{flex:none;height:320px}.dash-actions .btn{grid-column:auto!important;grid-row:auto!important;min-height:44px}.dash-title{flex-direction:column;align-items:center;gap:0}.dash-bottom{flex:none;min-height:0}.speak-button{min-width:0;width:100%}.form-screen,.form-screen.with-translator{grid-template-columns:1fr;grid-auto-rows:auto;overflow:auto}.translator{order:3;border-inline-end:0;border-top:1px solid var(--color-border)}.canvas{max-height:70vh}.review{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.canvas.placing .paper,.canvas.placing .paper .x-text{cursor:crosshair}.free-box{position:absolute;z-index:2;min-height:1.5em}.free-box-text{unicode-bidi:plaintext;white-space:pre-wrap;overflow-wrap:anywhere;outline:none;min-height:1.5em;padding:2px var(--space-2);line-height:1.5;cursor:text}@media screen{.free-box-text{box-shadow:0 0 0 1px color-mix(in srgb,var(--color-ring) 45%,transparent);background:color-mix(in srgb,var(--color-secondary) 12%,transparent)}.free-box:hover .free-box-text{background:color-mix(in srgb,var(--color-secondary) 18%,transparent)}.free-box:focus-within .free-box-text{box-shadow:0 0 0 2px var(--color-ring);background:color-mix(in srgb,var(--color-secondary) 28%,transparent)}.free-box-text[data-empty]:before{content:attr(data-placeholder);color:var(--color-muted-foreground);font-weight:400;pointer-events:none}}.free-box-bar{position:absolute;top:-32px;right:0;display:flex;gap:var(--space-1);padding:2px;background:var(--color-surface-raised);border:1px solid var(--color-border);border-radius:var(--radius);box-shadow:var(--shadow-menu);opacity:0;pointer-events:none;transition:opacity var(--motion-fast) ease-out}.free-box.bar-below .free-box-bar{top:auto;bottom:-32px}.free-box:hover .free-box-bar,.free-box:focus-within .free-box-bar{opacity:1;pointer-events:auto}.free-box-tool{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:0;border-radius:var(--radius);background:transparent;color:var(--color-foreground);cursor:pointer}.free-box-tool:hover{background:var(--color-muted)}.free-box-tool:active{background:var(--color-secondary-active)}.free-box-grip{cursor:grab;touch-action:none}.free-box-grip:active{cursor:grabbing}.free-box-delete:hover{background:var(--color-destructive-soft);color:var(--color-destructive)}.free-box-tool:focus-visible,.free-box-size:focus-visible{outline:2px solid var(--color-ring);outline-offset:1px}.free-box-size{position:absolute;right:-12px;bottom:-12px;width:24px;height:24px;padding:0;border:0;background:transparent;cursor:ew-resize;touch-action:none;opacity:0;transition:opacity var(--motion-fast) ease-out}.free-box-size:after{content:"";position:absolute;top:6px;right:6px;bottom:6px;left:6px;border:2px solid var(--color-ring);border-radius:2px;background:var(--color-surface-raised)}.free-box:hover .free-box-size,.free-box:focus-within .free-box-size{opacity:1}@media print{body{background:var(--color-paper)}.no-print,.menubar,.screen-bar,.side,.footer,.overlay,.voice-toast{display:none!important}.screen,.form-screen,.canvas,.pages,.sheet-zoom,#root,html,body{display:block;height:auto;overflow:visible;background:var(--color-paper);padding:0;margin:0;zoom:1!important}.paper{border:0;break-after:page;margin:0}.paper.skip-print{display:none}.x-text:hover,.x-text:focus{background:none}::highlight(missing-token){background-color:transparent}}.draft-pending{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}.voice-dock{position:fixed;z-index:70;bottom:var(--space-3);left:0;right:0;display:flex;justify-content:center;pointer-events:none}.voice-pill{pointer-events:auto;display:flex;align-items:center;gap:var(--space-3);min-height:52px;line-height:2;padding:var(--space-1) var(--space-3) var(--space-1) var(--space-3);overflow:visible;border-radius:999px;background:var(--color-foreground);color:var(--color-surface);box-shadow:var(--shadow-menu);font-family:var(--font-body);font-size:var(--text-md);max-width:min(720px,92vw);transition:min-width .2s ease,background-color .2s ease;animation:voice-pop .18s ease-out}.voice-pill.rest{padding:0;background:transparent;box-shadow:none}.voice-pill.rest .voice-button{border-radius:999px;padding:var(--space-1) var(--space-4);line-height:2;font-family:var(--font-body);font-size:var(--text-md);background:var(--color-surface);box-shadow:var(--shadow-menu);overflow:visible}.voice-pill.listening{min-width:260px}.voice-pill.working{min-width:300px}.voice-pill.notice{padding:var(--space-2) var(--space-4)}.voice-pill .voice-button:not(.voice-pill.rest .voice-button){background:transparent;color:inherit;border-color:transparent;padding:var(--space-1)}.voice-pill.listening .voice-button{color:var(--color-destructive)}.voice-label{white-space:nowrap;line-height:2;padding-block:2px}.voice-dot{width:10px;height:10px;border-radius:50%;background:var(--color-destructive);animation:voice-pulse 1.2s ease-in-out infinite;flex:none}.voice-bars{display:inline-flex;align-items:center;gap:2px;height:20px;flex:none}.voice-bars i{display:block;width:3px;border-radius:2px;background:currentColor;height:calc(4px + 16px * var(--level, 0));transition:height 90ms ease-out}.voice-bars i:nth-child(2),.voice-bars i:nth-child(4){height:calc(6px + 14px * var(--level, 0))}.voice-bars i:nth-child(3){height:calc(8px + 12px * var(--level, 0))}.voice-spinner{animation:voice-spin .9s linear infinite;flex:none}@keyframes voice-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.8)}}@keyframes voice-spin{to{transform:rotate(360deg)}}@keyframes voice-pop{0%{opacity:0;transform:translateY(6px) scale(.96)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.voice-dot,.voice-spinner,.voice-pill{animation:none}}.key-picker .row{display:flex;gap:var(--space-2);align-items:center}.key-picker select{flex:1;direction:ltr;font-family:var(--font-latin)}.key-capture[aria-pressed=true]{outline:2px solid var(--color-ring)}.error-text{color:var(--color-destructive)}.update-bar{display:flex;align-items:center;justify-content:center;gap:var(--space-3);padding:var(--space-2) var(--space-4);background:var(--color-info-soft, #e8f1fb);border-bottom:1px solid var(--color-border);font-family:var(--font-body);line-height:2}.legacy-list{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:var(--space-2);min-width:0}.legacy-list legend{font-weight:600;margin-bottom:var(--space-2)}.legacy-option{display:flex;gap:var(--space-3);align-items:flex-start;padding:var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius);cursor:pointer;background:var(--color-surface)}.legacy-option:hover{border-color:var(--color-primary)}.legacy-option.chosen{border-color:var(--color-primary);box-shadow:inset 0 0 0 1px var(--color-primary);background:color-mix(in srgb,var(--color-primary) 6%,var(--color-surface))}.legacy-option:has(input:focus-visible){outline:2px solid var(--color-ring);outline-offset:2px}.legacy-option input{width:18px;height:18px;flex:none;margin-top:4px}.legacy-option-text{display:flex;flex-direction:column;gap:var(--space-1);min-width:0;line-height:1.9}.legacy-intro,.legacy-msg,.legacy-empty p{line-height:2}.legacy-path{font-size:var(--text-sm);color:var(--color-muted-foreground);overflow-wrap:anywhere;text-align:left}.legacy-empty{padding:var(--space-4);border:1px dashed var(--color-border);border-radius:var(--radius)}.legacy-offer{align-items:center;flex-wrap:wrap;line-height:2}
