:root {
  color-scheme: light;
  --red:#af1c27; --red-hover:#8d1520; --red-soft:#fff1f2;
  --ink:#211c1a; --muted:#68635f; --bg:#faf6ec; --surface:#fff;
  --line:#dedbd5; --subtle:#f6f5f2; --amber:#775012; --amber-bg:#fff5dd;
  --green:#23644c; --green-bg:#edf7f1; --radius:6px;
  font-family:"Segoe UI","Noto Sans Tamil","Tamil Sangam MN",Latha,Arial,sans-serif;
  font-size:14px; line-height:1.5; color:var(--ink); background:var(--bg);
  font-synthesis:none; text-rendering:optimizeLegibility;
}
*{box-sizing:border-box} body{margin:0} button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}button{border:0}a{color:var(--red);text-underline-offset:3px}input,select,textarea{accent-color:var(--red);caret-color:var(--red)}
::selection{background:#f3cbd0;color:var(--ink)}:focus-visible{outline:3px solid #a53946;outline-offset:3px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--red);outline-offset:1px}button{transition:background-color .16s ease,color .16s ease,box-shadow .16s ease}input:disabled,select:disabled{opacity:1;background:#f6f5f2;color:#615b56}
*{scrollbar-width:thin;scrollbar-color:#bab3ab transparent}svg.icon{width:18px;height:18px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
h1,h2,h3,p{margin-top:0}h1{font-size:26px;line-height:1.25;letter-spacing:-.025em;margin-bottom:0;font-weight:650}h2{font-size:16px;line-height:1.45;margin-bottom:12px;font-weight:650}h3{font-size:14px}p{margin-bottom:12px}small{font-size:12px}.muted,.table-muted,.form-help{color:var(--muted)}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.number{text-align:right;font-variant-numeric:tabular-nums}
.app-header{height:74px;background:#fffdf8;border-bottom:1px solid var(--line);padding:0 28px;display:flex;gap:24px;align-items:center;position:relative;z-index:10}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;border:0;background:transparent;padding:0;font-size:20px;font-weight:700;white-space:nowrap;letter-spacing:-.03em}.brand .icon{width:25px;height:30px;color:var(--red);stroke-width:1.5}.header-context{border-left:1px solid #c9c3ba;padding-left:24px;display:flex;flex-direction:column;gap:1px;min-width:0}.header-context strong{font-size:14px;font-weight:600}.header-context small{font-size:11px;color:var(--muted)}.header-spacer{flex:1}.top-nav{display:flex;gap:5px;align-items:center}.top-nav button{padding:8px 12px;background:transparent;border-radius:var(--radius);color:var(--muted);white-space:nowrap}.top-nav button.active,.top-nav button:hover{background:var(--red-soft);color:var(--red)}
.language-switch{display:flex;gap:3px;align-items:center;white-space:nowrap}.language-switch button{background:transparent;font-size:13px;padding:7px 8px;color:var(--muted);border-bottom:2px solid transparent}.language-switch button.active{color:var(--red);border-bottom-color:var(--red);font-weight:650}.language-switch span{color:#c9c3ba}.account-menu{position:relative;border-left:1px solid var(--line);padding-left:18px}.account-menu>summary{list-style:none;display:flex;gap:9px;align-items:center;cursor:pointer;padding:8px 0}.account-menu>summary::-webkit-details-marker{display:none}.account-menu>summary>.icon:first-child{width:22px;height:22px}.account-menu .chevron{width:13px;height:13px}.account-popover{position:absolute;right:0;top:calc(100% + 7px);width:240px;background:white;padding:8px;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 25px #211c1a1a;z-index:30}.account-popover p{font-size:12px;color:var(--muted);padding:7px 8px;margin-bottom:5px}.account-popover button{display:flex;align-items:center;gap:9px;width:100%;text-align:left;padding:10px;border-radius:5px;background:white}.account-popover button:hover{background:var(--subtle)}.account-popover hr{border:0;border-top:1px solid var(--line);margin:6px}
.page{max-width:none;margin:0;padding:32px clamp(24px,2vw,32px) 44px}.page-heading{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin:7px 0 26px}.page-title{font-size:30px}.page-subtitle{font-size:14px;color:var(--muted);line-height:1.7;max-width:72ch;margin:9px 0 0}.context-label{color:var(--muted);font-size:12px;margin-top:10px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:40px;padding:9px 17px;border-radius:var(--radius);border:1px solid transparent;font-weight:550;text-decoration:none;background:transparent;white-space:normal;text-align:center;line-height:1.4}.btn-primary{background:var(--red);color:white;border-color:var(--red)}.btn-primary:hover:not(:disabled){background:var(--red-hover);border-color:var(--red-hover)}.btn-secondary{background:white;border-color:#c9c5bf;color:var(--ink)}.btn-secondary:hover:not(:disabled){background:var(--subtle);border-color:#aaa29a}.btn-small{min-height:34px;padding:7px 12px;font-size:12px}.btn-text,.btn.btn-text{display:inline-flex;align-items:center;gap:6px;background:transparent;padding:5px 0;color:var(--red);border:0;font-weight:500;font-size:12px;text-decoration:none}.btn-text:hover:not(:disabled){text-decoration:underline;text-underline-offset:3px}.icon-btn{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:5px;background:transparent;border:1px solid transparent;padding:4px}.icon-btn:hover:not(:disabled){background:#eeeae3}.icon-btn .icon{width:17px;height:17px}.back-link{background:transparent;color:var(--red);font-size:12px;padding:0;display:inline-flex;align-items:center;gap:7px;margin-bottom:8px}.back-link:hover{text-decoration:underline;text-underline-offset:3px}
.workspace{max-width:none;padding:20px 28px 0}.workspace-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:18px}.title-row{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.workspace-heading h1{font-size:26px}.workspace-heading-right{display:flex;align-items:center;gap:22px;padding-bottom:2px}.record-reference{color:var(--muted);font-size:12px;white-space:nowrap}.record-reference>span{margin-left:5px}.type-control select{padding:7px 27px 7px 10px;font-size:12px;max-width:170px;background:transparent;border:1px solid #c9c5bf;border-radius:var(--radius);min-height:35px}.workspace-columns{display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);gap:18px;height:calc(100dvh - 258px);min-height:450px;max-height:1100px}.source-pane{display:flex;flex-direction:column;min-width:0;overflow:hidden}.source-toolbar{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:11px 14px;border-bottom:1px solid var(--line);min-height:56px;background:#fff;flex-shrink:0}.source-toolbar>strong{display:flex;gap:8px;align-items:center;font-size:13px;white-space:nowrap}.source-toolbar>strong .icon{color:#6b625a;width:16px}.source-tools{display:flex;gap:3px;align-items:center}.source-page-label{font-size:11px;color:var(--muted);white-space:nowrap;margin-right:3px}.tool-divider{height:20px;width:1px;background:var(--line);margin:0 5px}.zoom-value{font-size:11px;min-width:30px;text-align:center;font-variant-numeric:tabular-nums}.source-scroll{flex:1;min-height:0;background:#eaeae7;padding:22px;overflow:auto;overscroll-behavior:contain}.paper-scale{width:100%;min-width:0}.paper{zoom:var(--paper-zoom)}.paper{background:#fff;min-height:590px;padding:24px 20px 22px;border:1px solid #dedbd5;color:#25201d;box-shadow:0 2px 5px #24211e08;font-size:12px;line-height:1.75}.paper-rule{height:6px;background:var(--red);margin-bottom:28px}.paper h2{font-size:20px;text-align:center;color:var(--red);margin:0 0 8px;line-height:1.8;font-weight:700;letter-spacing:0}.paper-caption{text-align:center;font-size:9px;color:#6b635e;margin-bottom:24px}.paper-context{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 24px;padding:0}.paper-context>div{min-width:0}.paper-context .full{grid-column:1/-1}.paper-context dt{font-size:9px;color:#6b635e}.paper-context dd{margin:1px 0 0;font-size:11px;overflow-wrap:anywhere}.paper-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px}.paper-table th,.paper-table td{border:1px solid #bfb7a7;padding:14px 7px;text-align:left;vertical-align:middle;overflow-wrap:anywhere}.paper-table th{background:#241e1b;color:white;font-weight:600;font-size:10px;line-height:1.9}.paper-table th:first-child{width:30px}.paper-table th:nth-child(2){width:25%}.paper-table th:nth-child(3){width:24%}.paper-table tr:nth-child(odd){background:#f7f2df}.paper-foot{display:flex;justify-content:space-between;gap:10px;margin-top:32px;color:#756f69;font-size:9px}.source-caption{padding:9px 13px;display:flex;gap:7px;align-items:flex-start;border-top:1px solid var(--line);background:#fafaf8;font-size:10px;color:var(--muted);line-height:1.6}.source-caption .icon{width:13px;height:13px;margin-top:2px}
.entry-pane{overflow:hidden;min-width:0;display:flex}.entry-scroll{padding:16px 18px 22px;overflow:auto;flex:1;min-width:0;overscroll-behavior:contain}.context-details{border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:16px}.context-details>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center}.context-details>summary::-webkit-details-marker,.supporting-details>summary::-webkit-details-marker{display:none}.context-details summary strong{display:block;font-size:15px;font-weight:650;line-height:1.7}.context-details summary small{display:block;margin-top:1px;color:var(--muted);font-size:11px;line-height:1.8}.context-dot{margin:0 6px}.edit-context{display:flex;align-items:center;gap:4px;font-size:11px;white-space:nowrap;color:var(--red)}.edit-context .icon{height:14px;width:14px}.context-details[open] .edit-context .icon,.supporting-details[open]>summary>.icon{transform:rotate(180deg)}.context-fields{padding-top:17px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.field{display:flex;flex-direction:column;gap:6px;font-size:12px;line-height:1.65;min-width:0}.field small{color:var(--muted);font-size:11px;font-weight:400}.field-full{grid-column:1/-1}.field input,.field select,.field textarea,.inline-create input,.branch-add,.table-number-input{min-width:0;width:100%;background:white;border:1px solid #ccc7c0;border-radius:5px;padding:8px 10px;min-height:39px;line-height:1.55}.field input:hover:not(:disabled),.field select:hover:not(:disabled){border-color:#a89d93}.field textarea{resize:vertical}.field input[aria-invalid=true]{border-color:var(--red);background:var(--red-soft)}.hierarchy-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:13px}.inline-field{display:flex;gap:5px;align-items:center}.inline-field select{flex:1;min-width:0}.inline-field .icon-btn{width:30px;min-width:30px;border-color:#d3cdc5;height:38px}.inline-create{display:flex;align-items:center;gap:8px;padding:10px;background:var(--subtle);margin-bottom:13px;border-radius:5px}.inline-create input{flex:1}.inline-create .btn{font-size:11px;padding:8px}.direct-value{padding:9px 0;font-size:12px;color:var(--muted)}.direct-note{display:flex;gap:7px;color:var(--muted);font-size:11px;line-height:1.8;margin:0 0 14px}.direct-note .icon{width:14px;height:14px;min-width:14px;margin-top:2px}.check-label{display:flex;align-items:center;flex-direction:row;gap:8px}.check-label input{width:16px;min-height:auto}
.branch-tabs{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin:0 0 22px}.branch-tab{padding:7px 10px;display:flex;gap:8px;align-items:center;justify-content:center;min-height:36px;min-width:80px;border:1px solid var(--line);background:var(--subtle);border-radius:5px;font-size:12px;line-height:1.8}.branch-tab.active{background:var(--red);color:white;border-color:var(--red)}.branch-tab:not(.active):hover{border-color:#b2a59a;background:#eeebe5}.branch-tab span{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:18px;font-size:10px;border-radius:3px;background:#e4ded6}.branch-tab.active span{background:#ffffff26}.branch-add{font-size:11px;flex:1;max-width:190px;min-width:140px;padding:7px 9px;min-height:37px;border-style:dashed;background:transparent}.street-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.street-section-heading h2{font-size:14px;margin:0}.street-section-heading .btn-text{font-size:11px}.search-field{display:flex;align-items:center;gap:8px;border:1px solid #ccc7c0;background:white;border-radius:5px;min-height:39px;padding:0 10px}.search-field>.icon{color:#756e66;width:16px;height:16px}.search-field input{min-width:0;flex:1;border:0;padding:8px 0;background:transparent;outline:none;line-height:1.6;width:100%}.search-field:focus-within{outline:2px solid var(--red);outline-offset:1px}.search-field input:focus-visible{outline:none}.street-search{margin-bottom:12px}.street-table-wrap{border:1px solid var(--line);border-radius:5px;overflow:auto;min-width:0}.street-table{width:100%;border-collapse:collapse;table-layout:fixed}.street-table thead{background:#28221f;color:white}.street-table th{font-size:11px;font-weight:500;padding:10px 9px;text-align:left;line-height:1.7}.street-table th:first-child{width:34px}.street-table th:nth-child(3){width:70px}.street-table th:nth-child(4){width:88px;text-align:right}.street-table td{padding:11px 9px;border-bottom:1px solid #e5e0d8;vertical-align:middle;font-size:12px;line-height:1.7}.street-table tbody tr:last-child td{border-bottom:0}.street-table tbody tr.selected{background:#faf3e1}.street-table tbody tr:not(.assigned-row):hover{background:#f8f6f1}.street-table tbody tr.selected:hover{background:#f5ebd2}.street-table td.number{font-variant-numeric:tabular-nums}.street-table input[type=checkbox]{width:16px;height:16px;display:block;margin:0;cursor:pointer}.street-table .select-cell{padding-left:11px;padding-right:4px;text-align:center}.street-table thead .select-cell .icon{width:14px}.street-name{display:block;font-size:13px;overflow-wrap:anywhere;cursor:pointer;line-height:1.85}.street-table td small{display:block;font-size:10px;line-height:1.6;margin-top:3px;color:var(--muted);overflow-wrap:anywhere}.booth-number{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.street-table .unavailable{color:#726a60;font-size:11px;overflow-wrap:anywhere}.assigned-row{background:#f2f1ee;color:#736b63}.missing-link{margin-top:10px;font-size:11px}.missing-editor{margin-top:10px;padding:13px;background:var(--subtle);border:1px solid var(--line);border-radius:5px}.missing-editor .muted{font-size:11px;margin:7px 0}.count-notice{display:flex;gap:9px;align-items:flex-start;padding:12px;margin-top:17px;border:1px solid #edce86;border-radius:5px;background:var(--amber-bg);font-size:11px;color:#654713}.count-notice>.icon{width:17px;height:17px;margin-top:1px}.count-notice strong{font-size:12px;font-weight:600}.count-notice p{font-size:11px;line-height:1.8;margin:2px 0 0}.count-notice.positive{color:var(--green);background:var(--green-bg);border-color:#c6dfcf}.supporting-details{border-top:1px solid var(--line);margin-top:21px;padding-top:14px}.supporting-details>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;color:var(--muted);font-size:12px;list-style:none}.supporting-details>summary>.icon{width:15px;height:15px}.supporting-details .form-grid{padding-top:17px}.declared-heading{font-weight:600}.readonly-note,.review-note{display:flex;gap:9px;align-items:flex-start;padding:11px 12px;margin:0 0 15px;border:1px solid #c8dce5;background:#f1f7f9;border-radius:5px;font-size:12px;color:#365c6d;line-height:1.7}.readonly-note{align-items:center;flex-wrap:wrap}.review-note p{margin:4px 0 0}.review-note>.icon{margin-top:1px}.review-panel{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.review-panel-heading{display:flex;justify-content:space-between;gap:14px;align-items:baseline}.review-panel-heading h2{font-size:14px;margin:0 0 12px}.review-panel-heading small{font-size:10px;color:var(--muted)}.review-panel>.row{margin-top:12px;justify-content:flex-end}.review-panel .btn{font-size:12px}.summary-editor{margin-top:20px}.summary-editor .muted{font-size:12px;line-height:1.8}.table-number-input{min-width:60px;max-width:120px;padding:5px 8px;min-height:34px;font-size:12px}.workspace-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;min-height:76px;padding:14px 0 18px;background:var(--bg)}.selection-total{display:flex;gap:13px;align-items:center;flex-wrap:wrap;font-size:12px;line-height:1.7}.selection-total strong{font-size:16px;font-variant-numeric:tabular-nums;font-weight:650}.footer-divider{width:1px;height:22px;background:#cfc9bf}.total-unknown{font-size:10px;color:var(--amber)}.footer-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end}.save-indicator{display:flex;gap:6px;align-items:center;color:var(--green);font-size:11px;margin-right:10px;max-width:200px;line-height:1.5}.save-indicator .icon{width:14px;height:14px;min-width:14px}.save-indicator[data-failed=true]{color:var(--red)}.footer-actions .btn{min-height:41px}.mobile-pane-tabs{display:none}
.status,.flag{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;line-height:1.55;border-radius:4px;font-size:11px;white-space:normal}.status{border:1px solid transparent}.status-draft{background:#fff0cf;color:#7d540d;border-color:#f3dfb4}.status-submitted{background:#eef1fa;color:#4b5b88;border-color:#d6ddec}.status-correction{background:#fff0ea;color:#a04026;border-color:#ebd2c7}.status-reviewed{background:var(--green-bg);color:var(--green);border-color:#cfe3d7}.status-dot{width:5px;height:5px;background:currentColor;border-radius:50%;flex-shrink:0}.flag{padding:2px 0;color:var(--muted);font-size:11px}.flag .icon{width:13px;height:13px;min-width:13px}.flag-low,.flag-high{color:#805715}.flag-unknown{color:#7a4554}.flag-within{color:var(--green)}.flag-compact{font-size:10px}.queue-counters{display:flex;gap:32px;flex-wrap:wrap;margin-bottom:26px;padding-bottom:20px;border-bottom:1px solid var(--line)}.queue-count{display:flex;align-items:baseline;gap:7px}.queue-count strong{font-size:20px;font-weight:600;font-variant-numeric:tabular-nums}.stat-label{font-size:12px;color:var(--muted)}.queue-count.has-attention strong{color:var(--red)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px}.tabs{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.tab{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--muted);font-size:12px;line-height:1.6}.tab.active{background:#f2eae5;border-color:#e3d4cc;color:#7d2530;font-weight:550}.tab:hover:not(.active){background:var(--subtle);color:var(--ink)}.tab-count{font-size:10px;padding:0 4px;color:var(--muted)}.queue-toolbar{align-items:flex-start}.queue-toolbar>.search-field{max-width:260px;min-width:190px;font-size:12px}.table-wrap{width:100%;overflow:auto}.data-table{width:100%;border-collapse:collapse;text-align:left}.data-table th{font-size:11px;font-weight:550;color:var(--muted);background:#f8f7f4;padding:12px 15px;border-bottom:1px solid var(--line);line-height:1.7;white-space:normal}.data-table td{padding:17px 15px;border-bottom:1px solid #eeeae3;vertical-align:middle;font-size:12px;line-height:1.7}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fdfbf7}.data-table td:first-child{min-width:175px}.table-action{text-align:right}.record-name{font-weight:600;font-size:13px;background:transparent;text-align:left;padding:0;color:var(--ink);line-height:1.8}.record-name:hover{color:var(--red);text-decoration:underline;text-underline-offset:3px}.record-meta{font-size:10px;color:var(--muted);margin-top:4px;line-height:1.7}.source-range{display:inline-flex;align-items:center;gap:5px;font-size:12px;white-space:nowrap}.source-range>.icon{width:14px;height:14px;color:var(--muted)}.table-footer{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid var(--line);padding:13px 16px;color:var(--muted);font-size:10px}.policy-note{font-size:11px;line-height:1.8;color:var(--muted);margin-top:20px;max-width:100ch}.empty-state{padding:46px 24px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;color:var(--muted)}.empty-state h2{margin-bottom:0;color:var(--ink)}.empty-state p{margin:0;max-width:55ch;font-size:12px}.empty-state>.icon{width:24px;height:24px;color:#9a8d7e}.empty-state.small{padding:25px 15px;gap:8px;font-size:11px}.page-tabs{margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid var(--line)}.page-tabs .tab{font-size:13px;padding:8px 13px}.filter-row{display:flex;gap:8px;flex-wrap:wrap;padding:15px;border-bottom:1px solid var(--line)}.filter-chip{padding:7px 12px;font-size:11px;color:var(--muted);background:var(--subtle);border:1px solid var(--line);border-radius:5px}.filter-chip.active{border-color:#c7989d;background:var(--red-soft);color:var(--red)}.section-heading{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:20px}.section-heading h2{font-size:17px;margin-bottom:0}.section-heading .page-subtitle{font-size:12px;margin-top:7px}.difference-match{display:inline-flex;align-items:center;gap:6px;color:var(--green)}.difference-mismatch{display:inline-flex;align-items:center;gap:6px;color:var(--amber)}.difference-match>.icon,.difference-mismatch>.icon{width:14px;height:14px}.notice{display:flex;gap:9px;align-items:flex-start;background:#f7f5ef;border:1px solid var(--line);padding:12px 14px;border-radius:5px;font-size:12px;line-height:1.75;color:var(--muted);margin:18px 0}.notice p{margin:0}.notice strong{color:var(--ink);font-size:12px}.notice>.icon{width:16px;height:16px;margin-top:2px}.notice-soft{background:#fbfaf6}.register-summary>.notice{margin:18px}.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:30px;max-width:1150px}.settings-card{padding:0 22px 22px}.settings-card>.section-heading{padding:22px 0}.settings-card .data-table th,.settings-card .data-table td{padding-left:10px;padding-right:10px}.settings-card .form-grid{max-width:750px}.settings-actions{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:22px}.form-help{font-size:11px;line-height:1.8}.settings-aside{padding-top:20px;line-height:1.9;font-size:12px;color:var(--muted)}.settings-label{font-weight:600;color:var(--ink);font-size:11px;margin-bottom:12px}.demo-label{padding:4px 8px;background:var(--subtle);border:1px solid var(--line);font-size:10px;border-radius:4px;white-space:nowrap}.input-with-suffix{display:flex;align-items:center;gap:8px}.input-with-suffix input{max-width:180px}.input-with-suffix>span{font-size:11px;color:var(--muted)}.person-cell{display:flex;gap:10px;align-items:center}.user-avatar{display:inline-flex;align-items:center;justify-content:center;min-width:29px;height:29px;border-radius:50%;background:#eee9e1;font-size:12px}.inline-add-user{display:flex;gap:12px;align-items:flex-end;margin:22px 0}.inline-add-user .field{max-width:340px;flex:1}.source-packet{padding:15px 0;border-bottom:1px solid var(--line)}.packet-heading{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:12px}.packet-heading>.icon{width:16px;height:16px;color:var(--muted)}.packet-heading>.table-muted{margin-left:auto;font-size:11px}.packet-record{display:flex;gap:16px;align-items:center;padding:11px 0 0 25px;font-size:12px}.packet-record>span:nth-child(2){flex:1}.login-shell{max-width:1110px;padding:80px 36px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center;min-height:calc(100vh - 74px)}.login-intro h1{font-size:40px;line-height:1.3;letter-spacing:-.04em;font-weight:650;margin-bottom:25px}.login-intro>p{font-size:14px;line-height:1.9;color:var(--muted)}.login-flow{display:flex;align-items:center;gap:14px;font-size:12px;margin:30px 0;color:#6e302f}.login-flow>.icon{width:14px;height:14px}.login-intro .login-footnote{font-size:11px;margin-top:40px}.login-card{background:white;border:1px solid var(--line);border-radius:8px;padding:28px}.login-card h2{font-size:23px;margin-bottom:9px}.role-choices{display:flex;flex-direction:column;gap:12px;margin:25px 0}.role-choice{display:flex;gap:13px;align-items:center;text-align:left;background:white;border:1px solid var(--line);border-radius:6px;padding:18px 14px;line-height:1.7}.role-choice:hover{border-color:#c29298;background:#fff8f8}.role-choice strong{display:block;font-size:13px;font-weight:600}.role-choice small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.role-choice>.icon:last-child{margin-left:auto;min-width:16px}.role-icon{display:flex;align-items:center;justify-content:center;width:32px;height:35px;color:var(--red)}.login-card .notice{font-size:11px;margin:0}.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);padding:13px 20px;border-radius:7px;background:#2b2420;color:white;max-width:min(90vw,600px);font-size:13px;box-shadow:0 5px 24px #211c1a20;z-index:60;text-align:center;line-height:1.7}.toast.error{background:#8e1c29}.toast.show{animation:toast-in .18s ease-out}@keyframes toast-in{from{translate:0 8px}to{translate:0 0}}
html[lang=ta]{line-height:1.7}html[lang=ta] h1{font-size:23px;line-height:1.6;letter-spacing:0}html[lang=ta] .brand{font-size:18px;letter-spacing:0}html[lang=ta] .header-context{max-width:190px}html[lang=ta] .header-context small{font-size:10px}html[lang=ta] .field{font-size:11px}html[lang=ta] .btn{font-size:12px}html[lang=ta] .top-nav button{font-size:11px;padding:7px 8px}html[lang=ta] .account-menu>summary{font-size:11px}html[lang=ta] .workspace-heading-right{gap:10px}html[lang=ta] .record-reference{max-width:215px;white-space:normal}html[lang=ta] .source-toolbar{flex-wrap:wrap;gap:6px}html[lang=ta] .street-table th:nth-child(3){width:85px}html[lang=ta] .street-table th:nth-child(4){width:95px}html[lang=ta] .street-table th{font-size:10px}html[lang=ta] .save-indicator{max-width:190px}html[lang=ta] .page-title{font-size:27px}html[lang=ta] .login-intro h1{font-size:34px}
@media(min-width:1450px){.workspace{padding:24px 38px 0}.workspace-columns{gap:22px;height:calc(100dvh - 270px)}.entry-scroll{padding:22px 24px}.source-scroll{padding:27px}.paper{padding:30px 26px;min-height:670px}.paper h2{font-size:23px}.paper-table td{padding:20px 10px;font-size:13px}.paper-table th{font-size:12px;padding:14px 10px}.paper-context dd{font-size:13px}.street-table td{padding-top:13px;padding-bottom:13px}.street-name{font-size:14px}.paper-caption{font-size:10px}.branch-tabs{margin-bottom:26px}.source-caption{font-size:11px}}
@media(max-width:1200px){.app-header{gap:17px;padding:0 22px}.header-context{padding-left:17px}.header-context strong{font-size:12px}.header-context small{font-size:10px}.workspace{padding:18px 22px 0}.workspace-heading-right{gap:12px}.record-reference{font-size:11px}.workspace-columns{gap:14px;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr)}.source-toolbar{padding:10px}.source-toolbar>strong{font-size:12px}.source-toolbar>strong .icon{display:none}.source-tools{gap:1px}.source-page-label{font-size:10px}.source-tools .icon-btn{width:25px;height:28px}.zoom-control{display:inline-flex}.source-scroll{padding:15px}.paper{padding:20px 13px}.paper h2{font-size:17px}.paper-table th,.paper-table td{padding:13px 5px;font-size:10px}.entry-scroll{padding:14px}.source-caption{font-size:9px}.save-indicator{max-width:150px;font-size:10px;margin-right:2px}.footer-actions .btn{font-size:12px;padding:9px 12px}.selection-total{font-size:11px;gap:9px}.selection-total strong{font-size:15px}.top-nav{gap:0}.top-nav button{padding:7px 8px;font-size:12px}.toolbar{flex-wrap:wrap}.queue-toolbar>.search-field{max-width:none;width:100%;}.settings-layout{grid-template-columns:minmax(0,1fr) 200px;gap:24px}.data-table th,.data-table td{padding-left:12px;padding-right:12px}.login-shell{gap:45px}}
@media(max-width:980px){.header-context{display:none}.brand{font-size:18px}.app-header{gap:17px}.workspace-heading h1{font-size:23px}.record-reference>span{display:block;margin-left:0}.workspace-heading-right{align-items:flex-end;gap:9px}.record-reference{font-size:10px}.type-control select{max-width:145px;font-size:11px}.source-toolbar{flex-wrap:wrap;justify-content:space-between;padding:8px 10px}.source-toolbar>strong{font-size:11px}.source-tools{gap:0}.source-page-label{font-size:9px}.tool-divider{margin:0 3px}.zoom-value{font-size:10px}.source-scroll{padding:12px}.paper{padding:15px 10px}.paper h2{font-size:15px}.paper-context{gap:8px}.paper-context dt{font-size:8px}.paper-context dd{font-size:10px}.paper-table{font-size:9px}.paper-table th,.paper-table td{font-size:9px;padding:12px 4px}.paper-table th:first-child{width:25px}.paper-caption{font-size:8px}.selection-total{max-width:310px}.save-indicator{max-width:120px}.settings-layout{grid-template-columns:1fr}.settings-aside{padding-top:0;display:flex;gap:20px;align-items:baseline;flex-wrap:wrap}.settings-aside p{max-width:60ch}.settings-aside .settings-label{width:100%;margin-bottom:0}.title-row{gap:9px}.branch-tabs{gap:5px}.branch-tab{font-size:11px;padding:6px 8px}.branch-add{font-size:10px}.hierarchy-row{gap:9px}.field{font-size:11px}.street-table th:nth-child(3){width:62px}.street-table th:nth-child(4){width:76px}.street-table td{padding-left:7px;padding-right:7px}.street-name{font-size:12px}html[lang=ta] .workspace-heading h1{font-size:20px}html[lang=ta] .record-reference{max-width:170px}html[lang=ta] .source-toolbar>strong{font-size:10px}html[lang=ta] .selection-total{max-width:290px}html[lang=ta] .save-indicator{display:none}}
@media(max-width:800px){.app-header{height:65px;padding:0 17px;gap:14px}.brand{font-size:17px}.brand .icon{width:22px;height:25px}.account-menu{padding-left:11px}.account-menu>summary>span{display:none}.language-switch button{padding:7px 6px;font-size:12px}.top-nav button{font-size:11px;padding:7px 6px}.header-spacer{min-width:0}.workspace{padding:17px 16px 0}.workspace-heading{margin-bottom:14px;gap:10px;align-items:flex-start}.workspace-heading h1{font-size:21px}.record-reference{display:none}.workspace-heading-right{padding-top:25px}.type-control select{max-width:140px;font-size:10px;padding:6px 21px 6px 8px;min-height:33px}.title-row .status{font-size:10px;padding:2px 6px}.mobile-pane-tabs{display:flex;gap:0;border:1px solid #d4cbbf;border-radius:5px;background:#f2eee5;padding:3px;margin-bottom:12px}.mobile-pane-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;background:transparent;flex:1;padding:8px;border-radius:3px;font-size:12px;color:var(--muted)}.mobile-pane-tabs button.active{background:white;color:var(--red);box-shadow:0 1px 3px #25201a14}.mobile-pane-tabs .icon{width:15px;height:15px}.workspace-columns{display:block;height:calc(100dvh - 295px);min-height:430px;max-height:none}.workspace-columns[data-pane=entry]>.source-pane,.workspace-columns[data-pane=source]>.entry-pane{display:none}.source-pane,.entry-pane{height:100%}.entry-scroll{padding:17px}.source-toolbar{flex-wrap:nowrap;padding:10px 13px}.source-tools .icon-btn{width:28px}.source-toolbar>strong{font-size:12px}.zoom-control{display:inline-flex}.source-scroll{padding:18px}.paper{padding:24px 20px;min-height:540px}.paper h2{font-size:20px}.paper-caption{font-size:10px}.paper-table th,.paper-table td{font-size:11px;padding:14px 8px}.paper-context dt{font-size:10px}.paper-context dd{font-size:12px}.source-caption{font-size:10px}.workspace-footer{min-height:86px;align-items:flex-end;gap:12px;padding:13px 0 16px}.selection-total{font-size:11px;max-width:45%;gap:5px;line-height:1.7}.selection-total strong{font-size:14px}.footer-divider{height:15px;margin:0 4px}.footer-actions{gap:7px;align-items:stretch}.save-indicator{display:none}.footer-actions .btn{font-size:11px;min-height:39px;padding:8px 11px}.footer-actions .btn .icon{width:14px}.page{padding:25px 17px}.page-title{font-size:26px}.page-heading{margin-bottom:22px;flex-direction:column;gap:8px}.context-label{margin-top:0}.queue-counters{gap:12px 24px}.queue-count strong{font-size:18px}.stat-label{font-size:11px}.data-table{min-width:710px}.toolbar{padding:12px}.tabs{gap:4px}.tab{font-size:11px;padding:7px 8px}.table-footer{font-size:10px;padding:12px}.settings-card{padding:0 16px 18px}.settings-card .section-heading{padding-top:18px}.settings-actions{gap:15px}.settings-actions .btn{font-size:12px}.settings-aside{display:block}.form-grid{gap:12px}.login-shell{min-height:calc(100vh - 65px);padding:35px 22px;gap:28px;grid-template-columns:1fr;max-width:550px}.login-intro h1{font-size:32px;margin-bottom:15px}.login-intro>p{font-size:13px}.login-flow{margin:18px 0 0}.login-intro .login-footnote{display:none}.login-card{padding:24px}.policy-note{font-size:10px}.summary-editor .data-table{min-width:480px}.source-page-label{font-size:11px}.source-toolbar>strong .icon{display:block}html[lang=ta] .top-nav button{font-size:10px;padding:7px 5px}html[lang=ta] .brand{font-size:16px}html[lang=ta] .workspace-heading h1{font-size:20px}html[lang=ta] .type-control select{max-width:150px}html[lang=ta] .selection-total{max-width:42%}html[lang=ta] .footer-actions .btn{font-size:10px}html[lang=ta] .source-toolbar>strong{font-size:12px}html[lang=ta] .page-title{font-size:24px}}
@media(max-width:480px){.app-header{gap:9px;padding:0 13px}.brand{font-size:16px;gap:6px}.brand .icon{width:20px}.top-nav{display:none}.language-switch button{font-size:11px;padding:7px 4px}.account-menu{padding-left:8px}.account-menu>summary>.icon:first-child{width:20px}.app-header .header-spacer{flex:1}.workspace{padding:14px 12px 0}.workspace-heading-right{padding-top:25px}.workspace-heading h1{font-size:20px;max-width:210px}.type-control select{max-width:120px;font-size:10px}.back-link{font-size:11px}.workspace-heading{gap:8px}.title-row{gap:7px}.workspace-columns{height:calc(100dvh - 286px);min-height:430px}.entry-scroll{padding:13px}.context-details summary strong{font-size:14px}.context-details summary small{font-size:10px}.edit-context{font-size:10px}.hierarchy-row{gap:9px}.field input,.field select{padding:8px;font-size:12px}.branch-tab{font-size:11px}.branch-add{max-width:none}.street-table th{font-size:10px;padding:9px 6px}.street-table th:nth-child(3){width:56px}.street-table th:nth-child(4){width:69px}.street-table th:first-child{width:28px}.street-table td{padding:11px 6px;font-size:11px}.street-table .select-cell{padding-left:7px;padding-right:3px}.street-name{font-size:12px}.street-table td small{font-size:9px}.street-table input[type=checkbox]{width:15px;height:15px}.count-notice{padding:10px;font-size:10px;gap:7px}.count-notice strong{font-size:11px}.count-notice p{font-size:10px}.street-section-heading h2{font-size:13px}.street-section-heading .btn-text{font-size:10px}.missing-link{font-size:10px}.workspace-footer{min-height:81px;flex-wrap:wrap;align-items:center;gap:8px}.selection-total{max-width:none;width:100%;font-size:11px;gap:9px;justify-content:space-between}.selection-total .footer-divider{display:none}.footer-actions{width:100%;justify-content:flex-end}.footer-actions .btn{font-size:12px;min-height:38px;flex:1}.source-scroll{padding:11px}.paper{padding:20px 12px;min-height:540px}.paper h2{font-size:17px}.paper-table th,.paper-table td{font-size:10px;padding:13px 6px}.source-toolbar>strong{font-size:11px}.source-tools .icon-btn{width:25px}.source-page-label{font-size:10px}.source-tools .tool-divider{margin:0 2px}.zoom-value{font-size:10px}.page{padding:23px 13px}.page-title{font-size:24px}.page-subtitle{font-size:12px}.queue-counters{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px}.queue-count strong{font-size:18px}.queue-toolbar .tabs{gap:3px}.tab{font-size:10px;padding:6px 7px}.tab-count{padding:0;font-size:9px}.settings-layout{gap:15px}.settings-card .section-heading{flex-direction:column;gap:10px}.settings-actions{flex-direction:column;align-items:stretch;gap:13px}.settings-card .form-grid{grid-template-columns:1fr}.form-grid{gap:12px}.field-full{grid-column:1/-1}.packet-record{padding-left:0;gap:10px;flex-wrap:wrap}.packet-record>span:nth-child(2){flex-basis:65%}.login-shell{padding:28px 17px}.login-intro h1{font-size:30px}.login-card{padding:22px 17px}.inline-add-user{align-items:stretch;flex-direction:column}.review-panel-heading{flex-direction:column;gap:0}.review-panel-heading small{margin-bottom:10px}.review-panel .btn{font-size:11px}.review-panel>.row{gap:8px}.type-control{max-width:125px}html[lang=ta] .brand{font-size:14px}html[lang=ta] .workspace-heading h1{font-size:18px;max-width:200px}html[lang=ta] .type-control select{max-width:120px;font-size:10px}html[lang=ta] .selection-total{max-width:none}html[lang=ta] .footer-actions .btn{font-size:11px}html[lang=ta] .source-toolbar>strong{font-size:10px}html[lang=ta] .source-toolbar>strong .icon{display:none}html[lang=ta] .street-table th:nth-child(3){width:68px}html[lang=ta] .street-table th:nth-child(4){width:82px}html[lang=ta] .street-table th{font-size:9px}html[lang=ta] .street-name{font-size:11px}html[lang=ta] .login-intro h1{font-size:29px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.assignment-editor{margin:22px 0;border-top:1px solid var(--line);padding-top:18px}.assignment-editor h3{margin:0 0 10px;font-size:13px}.assignment-select{width:100%;min-width:140px;max-width:220px;border:1px solid #ccc7c0;border-radius:5px;background:white;padding:7px 9px;font-size:12px}

/* Keep the entry task readable and its result available beside the actions. */
.field input,.field select,.field textarea,.search-field input{font-size:14px}
.street-table-wrap{max-height:302px;scroll-padding-top:40px}
.street-table thead{position:sticky;top:0;z-index:1}
.street-name{font-size:14px}
.source-toolbar{flex-wrap:wrap}
.footer-count{display:block}
.footer-flag{display:flex;gap:4px;align-items:center;font-size:10px;line-height:1.6;margin-top:1px}
.footer-flag .icon{width:12px;height:12px;min-width:12px}
.reset-confirm{padding:9px 5px}
.reset-confirm p{margin:0 0 10px;font-size:12px;color:var(--ink);line-height:1.7}
.reset-confirm .row{gap:6px}
.reset-confirm .row button{justify-content:center;border:1px solid var(--line);padding:7px;font-size:11px}
.reset-confirm button:last-child{color:var(--red)}
@media(min-width:1450px){.street-name{font-size:15px}}
@media(max-width:800px){.workspace{display:flex;flex-direction:column;height:calc(100dvh - 65px)}.workspace-heading,.mobile-pane-tabs,.workspace-footer{flex-shrink:0}.workspace-columns{flex:1;min-height:240px;height:auto}.street-table-wrap{max-height:285px}.field input,.field select,.field textarea,.search-field input{font-size:13px}.street-name{font-size:13px}.footer-flag{font-size:9px}.workspace-footer{padding-bottom:12px}}
@media(max-width:480px){.workspace-columns{min-height:210px}.workspace-footer{min-height:104px}.street-name,html[lang=ta] .street-name{font-size:12px}.selection-total{align-items:flex-start}.footer-count{text-align:right}.footer-flag{justify-content:flex-end}.street-table-wrap{max-height:270px}}

/* Finish review: source contrast, document legibility and persistent guidance. */
.source-toolbar{background:#28221f;color:#fff}
.source-toolbar>strong .icon,.source-page-label{color:#f1e9dc}
.source-toolbar .tool-divider{background:#6f655e}
.source-toolbar .icon-btn:hover:not(:disabled){background:#51453e;color:#fff}
.paper{min-width:480px}
.footer-warning{display:block;color:var(--amber);font-size:12px;line-height:1.6;margin-top:2px}
@media(max-width:1200px){.paper h2{font-size:20px}.paper-table th,.paper-table td{font-size:12px;padding:14px 8px}.paper-context dt{font-size:11px}.paper-context dd{font-size:13px}.paper-caption,.paper-foot{font-size:11px}.paper-table th:first-child{width:30px}.source-caption{font-size:10px}.footer-warning{font-size:11px}}
@media(max-width:800px){.source-toolbar{flex-wrap:wrap}.selection-total{gap:4px 8px}.footer-warning{font-size:11px}.workspace-footer{min-height:122px}.source-toolbar>strong{font-size:12px}.source-page-label{font-size:11px}}
@media(max-width:480px){.selection-total{align-items:flex-start}.footer-count{max-width:83%}.footer-warning{font-size:11px}.workspace-footer{min-height:122px}.paper h2{font-size:20px}}

/* Home: readable saved-form identities and exact form navigation. */
.work-page .queue-toolbar{flex-wrap:wrap;gap:18px;align-items:flex-start}
.work-page .work-search{display:flex;flex-direction:column;gap:5px;flex:1;min-width:250px;max-width:360px;font-size:12px;line-height:1.7;color:#526574}
.work-page .work-search>.search-field{width:100%;box-sizing:border-box;max-width:none}
.work-page .work-search input{font-size:13px;min-width:0}
.work-page .table-footer,.work-page .empty-state p{font-size:12px;line-height:1.8;color:#526574}
@media(max-width:800px){.work-page .work-search{max-width:none;flex-basis:100%}.work-page .queue-counters{gap:14px 24px}}

/* File operation controls are shared with the Profile dialog. */
.work-file-tools{margin-top:18px;border:1px solid var(--line);border-radius:6px;background:#fff}
.work-file-tools>summary{padding:12px 16px;cursor:pointer;font-size:14px;font-weight:600;color:var(--ink)}
.work-file-tools-body{display:grid;grid-template-columns:minmax(220px,1fr) minmax(300px,2fr);gap:20px;padding:4px 16px 16px;align-items:start}
.work-file-import p{font-size:13px;line-height:1.7;color:#526574;margin:8px 0 0;max-width:400px}
.work-file-export{display:grid;gap:7px;min-width:0}.work-file-export>label{font-size:13px;font-weight:600;color:#414550}
.work-file-export select{width:100%;min-height:42px;border:1px solid #92959a;border-radius:5px;background:#fff;color:var(--ink);padding:8px 28px 8px 10px;font:inherit;font-size:14px}
.work-file-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:3px}.work-file-tools .btn{font-size:13px;min-height:40px;line-height:1.6}
.work-file-tools :focus-visible{outline:2px solid var(--red);outline-offset:2px}
@media(max-width:700px){.work-file-tools-body{grid-template-columns:1fr;gap:16px}}
/* Recovery stays reachable even when saving and navigation are blocked. */
.draft-storage-notice{position:fixed;z-index:120;top:64px;left:16px;right:16px;max-width:1100px;margin:0 auto;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff9ed;border:1px solid #d8a85a;border-radius:7px;box-shadow:0 3px 12px #18202a16;color:#4b361c;font-size:14px;line-height:1.5}
.draft-storage-notice[hidden]{display:none}
.draft-storage-notice strong{font-weight:600}
.draft-storage-notice p{margin:5px 0 0}
.draft-storage-actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}
@media(max-width:760px){.draft-storage-notice{top:58px;left:8px;right:8px;align-items:stretch;flex-direction:column;gap:10px}}
@media print{.draft-storage-notice{display:none}}

/* The operator's saved forms stay readable as a real, sortable table. */
.operator-home{min-width:0}
.operator-home .operator-home-heading{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.operator-home-heading .page-title{margin:0}
.operator-home-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;width:480px;max-width:100%;min-width:0}
.operator-home-actions>.btn{flex:none;white-space:nowrap}
.operator-home-search{display:block;min-width:0;max-width:320px;flex:1 1 320px}
.operator-home-search .search-field{width:100%;max-width:none}
.operator-home-search input{font-size:14px;min-width:0}
.operator-home-table-wrap{overflow-x:auto;border-radius:6px}
.operator-home .operator-home-table{width:100%;min-width:var(--operator-home-table-min,970px);border-collapse:collapse;table-layout:fixed;text-align:left}
.operator-home-table th{padding:6px 12px;background:#f7f7f6;border-bottom:1px solid var(--line);font-size:13px;line-height:1.5;font-weight:600;color:#45464d;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.operator-home-table th[aria-sort]{background:#f9f0f2;color:var(--red)}
.operator-home-sort{display:flex;align-items:center;justify-content:flex-start;gap:5px;text-align:left;background:transparent;color:inherit;font:inherit;width:100%;min-height:36px;padding:4px 0;white-space:nowrap}
.operator-home-sort-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.operator-home-sort:hover{color:var(--red)}
.operator-home-sort:focus-visible{outline:2px solid var(--red);outline-offset:3px;border-radius:2px}
.operator-home-sort-indicator{flex:none;width:12px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;color:#65656b}
.operator-home-table th[aria-sort] .operator-home-sort-indicator{color:var(--red)}
.operator-home-table .operator-home-row>td{padding:9px 12px;border-bottom:1px solid var(--line);vertical-align:middle;font-size:14px;line-height:1.45;white-space:nowrap}
.operator-home-table .operator-home-row:last-child>td{border-bottom:0}
.operator-home-table .operator-home-row:hover{background:#fcfcfb}
.operator-home-table .operator-home-identity{min-width:0}
.operator-home-cell-value{display:block;max-width:100%;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.operator-home-name{font-weight:600}
.operator-home-reference{font-variant-numeric:tabular-nums}
.operator-home-table .operator-home-status{font-size:13px;color:#565961}
.operator-home-correction{color:#8b3028}
.operator-home-table .operator-home-updated{font-size:13px;line-height:1.45;font-variant-numeric:tabular-nums;color:#565961}
.operator-home-table .operator-home-action{white-space:nowrap;text-align:left}
.operator-home-open{display:inline-flex;align-items:center;min-height:24px;padding:2px 0;font-size:13px;line-height:1.5;white-space:nowrap;color:var(--red);text-decoration:underline;text-underline-offset:3px}
.operator-home-open:hover{color:var(--red-hover)}
.operator-home-open:focus-visible{outline:2px solid var(--red);outline-offset:3px;border-radius:2px}
.operator-home-empty{padding:36px 20px;text-align:center}
.operator-home-empty h3{font-size:16px;line-height:1.7;margin:0;font-weight:600}
.operator-home-empty p{font-size:14px;line-height:1.7;color:#565961;margin:7px 0 0}
@media(max-width:600px){
  .operator-home .operator-home-heading{align-items:stretch;flex-direction:column;gap:16px}
  .operator-home .operator-home-heading .btn{min-height:42px;font-size:13px;white-space:nowrap;padding-inline:12px}
  .operator-home-actions{justify-content:flex-end;gap:12px;width:100%;flex-wrap:wrap}
  .operator-home-search{max-width:none;flex:1 1 220px}
}
@media(any-pointer:coarse){.operator-home-open{min-height:44px}}

/* Admin Entries reuse the compact table, with a status filter and no intake action. */
.admin-entry-filters{width:550px}
.admin-status-filter{display:block;flex:0 0 200px;min-width:0}
.admin-status-filter select{display:block;width:100%;min-height:40px;padding:8px 10px;background:#fff;border:1px solid #ccc7c0;border-radius:5px;font-size:14px;line-height:1.5}
.admin-entries .operator-home-owner{font-size:13px}
.admin-settings .admin-settings-layout{display:block;max-width:none}
.admin-settings .admin-settings-card{min-width:0}
.admin-settings .settings-cell-value{display:block;min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-settings .data-table th,.admin-settings .data-table td{padding:9px 10px;font-size:13px;line-height:1.5;white-space:nowrap}
.admin-settings .data-table th{font-weight:600;overflow:hidden;text-overflow:ellipsis}
.admin-settings .data-table td:first-child{min-width:0}
.admin-settings .admin-people-table{table-layout:fixed;min-width:560px}
.admin-settings .admin-assignment-table{table-layout:fixed;min-width:var(--assignment-table-min,965px)}
.admin-settings .assignment-editor h2{font-size:16px;margin-bottom:14px}
.admin-settings .assignment-select{min-height:38px;font-size:13px;max-width:none;min-width:0}
.admin-settings .admin-settings-note{font-size:14px;line-height:1.6;color:#565961;margin:18px 0 0;max-width:80ch}
.admin-settings .settings-actions{justify-content:flex-start}
.admin-settings .packet-record{min-width:0}
.admin-settings .packet-record>.settings-cell-value{min-width:0}
.admin-settings .packet-record>.btn{flex:none;font-size:13px}
@media(max-width:600px){
  .admin-entry-filters{width:100%}
  .admin-status-filter{flex:1 1 180px}
  .admin-entry-filters .operator-home-search{flex:1 1 220px}
  .admin-settings .packet-record>.settings-cell-value{flex-basis:100%}
}

/* Use the emblem extracted from the supplied PDF without distorting it. */
.app-header .brand .brand-logo{display:block;width:40px;height:36px;object-fit:contain;flex-shrink:0}
.app-header .brand .brand-full,.app-header .brand .brand-short{font-size:16px;line-height:1.4;letter-spacing:0}
@media(max-width:600px){.app-header .brand .brand-logo{width:34px;height:31px}.app-header .brand .brand-full,.app-header .brand .brand-short{font-size:13px}}

/* Low-frequency file actions belong in one opaque, keyboard-accessible dialog. */
.profile-file-overlay{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:20px;background:#18181b66;overflow:auto}
.profile-file-tools-dialog{width:min(100%,640px);max-height:calc(100dvh - 40px);overflow:auto;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);padding:22px;box-shadow:0 12px 40px #18181b28}
.profile-file-tools-dialog>header,.profile-file-tools-dialog .profile-file-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.profile-file-tools-dialog h2{font-size:20px;line-height:1.5;margin:0}
.profile-file-tools-dialog .work-file-tools-body{grid-template-columns:minmax(0,1fr);gap:24px;padding:0}
.profile-file-tools-dialog .work-file-import p{max-width:none;margin-bottom:0}
.profile-file-tools-dialog .work-file-export{padding-top:20px;border-top:1px solid var(--line)}
.profile-file-tools-dialog .btn{font-size:14px;line-height:1.6;min-height:40px}
.profile-file-tools-dialog :focus-visible{outline:2px solid var(--red);outline-offset:3px}
@media(max-width:550px){.profile-file-overlay{padding:12px}.profile-file-tools-dialog{padding:16px;max-height:calc(100dvh - 24px)}.profile-file-tools-dialog h2{font-size:18px}.profile-file-tools-dialog .work-file-actions{flex-direction:column;align-items:stretch}}
@media print{.profile-file-overlay{display:none!important}}
