:root{
  --navy-950:#08142f;--navy-900:#101f46;--navy-800:#172554;--navy-700:#243c78;
  --orange:#ef4123;--orange-dark:#d63418;--orange-soft:#fff0ec;
  --ink:#101828;--muted:#667085;--muted-2:#98a2b3;--surface:#fff;--surface-soft:#f7f9fc;
  --line:#dfe5ef;--line-strong:#c7d0df;--success:#15803d;--success-soft:#ecfdf3;
  --warning:#9a6700;--warning-soft:#fff8e1;--danger:#c62828;--danger-soft:#fff1f1;
  --info:#2457a7;--info-soft:#eef4ff;--shadow-sm:0 1px 2px rgba(16,24,40,.04),0 2px 5px rgba(16,24,40,.05);
  --shadow-md:0 18px 45px rgba(15,23,42,.10);--radius-sm:10px;--radius-md:16px;--radius-lg:22px;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;color:var(--ink);background:linear-gradient(180deg,#eef2f7 0,#f5f7fa 48%,#eef2f7 100%);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{border:0}
a{color:inherit}
svg{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.skip-link{position:fixed;left:1rem;top:-5rem;z-index:10000;padding:.75rem 1rem;border-radius:10px;color:#fff;background:var(--navy-900);text-decoration:none;font-weight:800;transition:top .2s ease}.skip-link:focus{top:1rem}

.app-header{position:sticky;top:0;z-index:100;border-bottom:1px solid rgba(206,214,226,.9);background:rgba(255,255,255,.95);backdrop-filter:blur(18px)}
.header-inner{width:min(1580px,calc(100% - 36px));height:68px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.brand{display:inline-flex;align-items:center;gap:.75rem;min-width:0;text-decoration:none}.brand-mark{width:40px;height:40px;display:grid;place-items:center;flex:0 0 auto;border-radius:12px;color:#fff;background:linear-gradient(145deg,var(--navy-700),var(--navy-950));box-shadow:0 7px 18px rgba(23,37,84,.22)}.brand-mark svg{width:21px}.brand>span:last-child{display:flex;flex-direction:column;min-width:0}.brand strong{overflow:hidden;color:var(--navy-950);font-size:.95rem;letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap}.brand small{margin-top:.1rem;color:var(--muted);font-size:.7rem;white-space:nowrap}
.header-actions{display:flex;align-items:center;gap:.5rem}.privacy-pill,.header-link{display:inline-flex;align-items:center;gap:.42rem;border-radius:999px;font-size:.72rem;font-weight:760;white-space:nowrap}.privacy-pill{padding:.5rem .7rem;color:var(--success);background:var(--success-soft);border:1px solid #c8f0d6}.privacy-pill svg,.header-link svg{width:15px}.header-link{padding:.55rem .72rem;color:var(--navy-800);text-decoration:none;transition:background .2s ease,color .2s ease}.header-link:hover{color:var(--orange);background:var(--orange-soft)}

.app-main{width:min(1580px,calc(100% - 36px));margin:0 auto;padding:26px 0 28px;flex:1}.intro-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(620px,.95fr);gap:2rem;align-items:end;margin-bottom:18px}.intro-copy{max-width:730px}.eyebrow{display:inline-flex;align-items:center;gap:.45rem;margin-bottom:.55rem;color:var(--orange);font-size:.7rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.eyebrow:before{content:"";width:24px;height:2px;border-radius:99px;background:var(--orange)}.intro-copy h1{margin:0;color:var(--navy-950);font-size:clamp(1.8rem,2.5vw,2.85rem);line-height:1.07;letter-spacing:-.045em}.intro-copy p{max-width:690px;margin:.7rem 0 0;color:var(--muted);font-size:.92rem;line-height:1.62}
.workflow-steps{counter-reset:step;display:grid;grid-template-columns:repeat(4,1fr);margin:0;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.8);box-shadow:var(--shadow-sm);list-style:none}.workflow-step{position:relative;min-width:0;padding:.85rem .72rem .8rem 2.55rem;border-right:1px solid var(--line);transition:background .2s ease}.workflow-step:last-child{border-right:0}.workflow-step>span{position:absolute;left:.72rem;top:.82rem;width:24px;height:24px;display:grid;place-items:center;border-radius:8px;color:var(--muted);background:#eef2f7;font-size:.68rem;font-weight:850}.workflow-step strong,.workflow-step small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workflow-step strong{color:var(--navy-950);font-size:.75rem}.workflow-step small{margin-top:.15rem;color:var(--muted);font-size:.62rem}.workflow-step.is-active{background:#fff}.workflow-step.is-active>span{color:#fff;background:var(--orange);box-shadow:0 4px 12px rgba(239,65,35,.25)}.workflow-step.is-complete>span{color:#fff;background:var(--success)}

.workspace-grid{display:grid;grid-template-columns:minmax(340px,410px) minmax(0,1fr);gap:18px;align-items:start}.upload-column{position:sticky;top:86px;display:flex;flex-direction:column;gap:12px}.panel-card,.review-card{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow-sm)}.panel-card{padding:17px;border-radius:var(--radius-md)}.upload-card{border-top:3px solid var(--orange)}.panel-heading{margin-bottom:14px}.panel-heading>div,.review-title{display:flex;align-items:center;gap:.58rem}.panel-heading h2,.review-title h2{margin:0;color:var(--navy-950);font-size:.94rem;letter-spacing:-.015em}.panel-heading p,.review-title p{margin:.35rem 0 0;color:var(--muted);font-size:.7rem;line-height:1.5}.section-index{display:inline-grid;place-items:center;min-width:29px;height:24px;padding:0 .4rem;border-radius:7px;color:var(--orange);background:var(--orange-soft);font-size:.63rem;font-weight:850;letter-spacing:.05em}
.dropzone-area{width:100%;min-height:118px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.8rem;padding:1rem;border:1.5px dashed #99a8be;border-radius:14px;color:var(--ink);background:#fbfcfe;text-align:left;cursor:pointer;transition:border-color .2s ease,background .2s ease,transform .2s ease}.dropzone-area:hover,.dropzone-area.dragover{border-color:var(--orange);background:var(--orange-soft);transform:translateY(-1px)}.dropzone-area:focus-visible{outline:3px solid rgba(29,52,112,.2);outline-offset:2px}.dropzone-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:var(--orange);background:var(--orange-soft)}.dropzone-icon svg{width:21px}.dropzone-copy{display:flex;flex-direction:column;min-width:0}.dropzone-copy strong{color:var(--navy-950);font-size:.77rem}.dropzone-copy small{margin-top:.18rem;color:var(--muted);font-size:.63rem;line-height:1.45}.browse-chip{padding:.48rem .65rem;border:1px solid var(--line-strong);border-radius:9px;color:var(--navy-800);background:#fff;font-size:.65rem;font-weight:800;white-space:nowrap}.format-chips{display:flex;gap:.35rem;margin:10px 0 12px}.format-chips span{padding:.24rem .48rem;border:1px solid #d9e0ea;border-radius:999px;color:#475467;background:#f8fafc;font-size:.58rem;font-weight:800}
.queue-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.queue-heading>div{display:flex;gap:.5rem;align-items:baseline}.queue-heading strong{color:var(--navy-950);font-size:.7rem}.queue-heading span{color:var(--muted);font-size:.61rem}.text-button{padding:.3rem .4rem;border-radius:7px;color:var(--danger);background:transparent;font-size:.61rem;font-weight:800;cursor:pointer}.text-button:hover:not(:disabled){background:var(--danger-soft)}.text-button:disabled{color:var(--muted-2);cursor:not-allowed}
.file-queue{max-height:238px;overflow:auto;border:1px solid var(--line);border-radius:11px;background:var(--surface-soft)}.queue-empty{padding:1rem;color:var(--muted-2);font-size:.65rem;text-align:center}.file-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.65rem;align-items:center;padding:.65rem .7rem;border-bottom:1px solid var(--line);background:#fff}.file-item:last-child{border-bottom:0}.file-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;color:var(--navy-700);background:var(--info-soft)}.file-icon svg{width:17px}.file-main{min-width:0}.file-name{display:block;overflow:hidden;color:#344054;font-size:.67rem;font-weight:760;text-overflow:ellipsis;white-space:nowrap}.file-meta{display:flex;gap:.4rem;margin-top:.18rem;color:var(--muted);font-size:.57rem}.file-actions{display:flex;align-items:center;gap:.35rem}.status-chip{display:inline-flex;align-items:center;gap:.28rem;padding:.22rem .42rem;border-radius:999px;font-size:.55rem;font-weight:850;white-space:nowrap}.status-chip:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.status-ready{color:var(--info);background:var(--info-soft)}.status-processing{color:var(--warning);background:var(--warning-soft)}.status-completed{color:var(--success);background:var(--success-soft)}.status-duplicate,.status-failed,.status-unsupported{color:var(--danger);background:var(--danger-soft)}.status-warning{color:var(--warning);background:var(--warning-soft)}.remove-file{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;color:var(--danger);background:transparent;cursor:pointer}.remove-file:hover{background:var(--danger-soft)}.remove-file svg{width:15px}
.button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;padding:.58rem .82rem;border-radius:10px;font-size:.67rem;font-weight:820;text-decoration:none;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease,color .18s ease}.button svg{width:16px}.button:focus-visible,.icon-button:focus-visible,.text-button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid rgba(36,60,120,.18);outline-offset:2px}.button:disabled{opacity:.48;cursor:not-allowed;transform:none!important;box-shadow:none!important}.button--wide{width:100%;margin-top:10px}.button--primary{color:#fff;background:linear-gradient(135deg,var(--orange),var(--orange-dark));box-shadow:0 8px 20px rgba(239,65,35,.2)}.button--primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 11px 24px rgba(239,65,35,.26)}.button--secondary{border:1px solid var(--line-strong);color:var(--navy-800);background:#fff}.button--secondary:hover:not(:disabled){border-color:#9faec3;background:#f8fafc}.button--danger-ghost{border:1px solid #f0c9c9;color:var(--danger);background:#fff}.button--danger-ghost:hover:not(:disabled){background:var(--danger-soft)}
.progress-shell{margin-top:11px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fbfcfe}.progress-copy{display:flex;justify-content:space-between;margin-bottom:6px;color:var(--muted);font-size:.6rem}.progress-copy strong{color:var(--navy-800)}.progress-track{height:6px;overflow:hidden;border-radius:99px;background:#e9edf3}.progress-track span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--orange),#ff7a61);transition:width .22s ease}
.template-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.75rem;align-items:center}.template-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;color:var(--success);background:var(--success-soft)}.template-icon svg{width:19px}.template-card>div:nth-child(2) strong{color:var(--navy-950);font-size:.7rem}.template-card p{margin:.18rem 0 0;color:var(--muted);font-size:.61rem;line-height:1.4}.template-card .button{grid-column:1/-1;width:100%}.privacy-note{display:flex;gap:.72rem;padding:13px 15px;border:1px solid #d5dce8;border-radius:14px;color:#344054;background:#f8fafc}.privacy-note svg{width:21px;flex:0 0 auto;color:var(--success)}.privacy-note strong{font-size:.69rem}.privacy-note p{margin:.2rem 0 0;color:var(--muted);font-size:.61rem;line-height:1.5}

.review-column{min-width:0}.review-card{height:calc(100vh - 113px);min-height:650px;display:flex;flex-direction:column;overflow:hidden;border-radius:var(--radius-lg);box-shadow:var(--shadow-md)}.review-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:16px 17px 13px;border-bottom:1px solid var(--line)}.review-title>div{min-width:0}.review-actions{display:flex;align-items:center;gap:.45rem}.icon-button{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;color:var(--danger);background:#fff;cursor:pointer}.icon-button:hover:not(:disabled){background:var(--danger-soft)}.icon-button:disabled{opacity:.45;cursor:not-allowed}.icon-button svg{width:17px}
.summary-strip{display:flex;align-items:center;gap:0;padding:10px 16px;border-bottom:1px solid var(--line);background:#fbfcfe}.summary-item{min-width:82px;padding:.1rem .75rem;border-right:1px solid var(--line)}.summary-item:first-child{padding-left:0}.summary-item span,.summary-item strong{display:block}.summary-item span{color:var(--muted);font-size:.56rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.summary-item strong{margin-top:.12rem;color:var(--navy-950);font-size:.88rem}.summary-item--ready strong{color:var(--success)}.summary-item--review strong{color:var(--warning)}.summary-item--invalid strong{color:var(--danger)}.workspace-status{display:flex;align-items:center;gap:.4rem;margin-left:auto;color:var(--muted);font-size:.62rem;font-weight:750}.status-dot{width:8px;height:8px;border-radius:50%;background:var(--muted-2)}.workspace-status.is-ready{color:var(--success)}.workspace-status.is-ready .status-dot{background:var(--success)}.workspace-status.is-warning{color:var(--warning)}.workspace-status.is-warning .status-dot{background:var(--warning)}.workspace-status.is-invalid{color:var(--danger)}.workspace-status.is-invalid .status-dot{background:var(--danger)}
.table-tools{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:.55rem;padding:11px 16px;border-bottom:1px solid var(--line)}.search-field{height:38px;display:flex;align-items:center;gap:.45rem;padding:0 .7rem;border:1px solid var(--line-strong);border-radius:10px;background:#fff}.search-field:focus-within{border-color:var(--navy-700);box-shadow:0 0 0 3px rgba(29,52,112,.1)}.search-field svg{width:16px;color:var(--muted)}.search-field input{width:100%;border:0;outline:0;color:var(--ink);background:transparent;font-size:.66rem}.filter-field{height:38px;display:flex;align-items:center;gap:.45rem;padding:0 .65rem;border:1px solid var(--line-strong);border-radius:10px;background:#fff}.filter-field span{color:var(--muted);font-size:.58rem;font-weight:750}.filter-field select{border:0;outline:0;color:var(--navy-800);background:#fff;font-size:.63rem;font-weight:750}
.record-region{position:relative;min-height:260px;flex:1;overflow:auto;background:linear-gradient(180deg,#fff,#fbfcfe)}.records-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;text-align:center}.empty-icon{width:48px;height:48px;display:grid;place-items:center;border:1px solid var(--line);border-radius:14px;color:var(--muted);background:#f8fafc}.empty-icon svg{width:23px}.records-empty strong{margin-top:.8rem;color:var(--navy-950);font-size:.8rem}.records-empty p{max-width:350px;margin:.35rem 0 0;color:var(--muted);font-size:.66rem;line-height:1.5}
#recordsTable{width:max(1320px,100%);border-collapse:separate;border-spacing:0;font-size:.62rem}#recordsTable thead{position:sticky;top:0;z-index:4}#recordsTable th{padding:.62rem .55rem;border-bottom:1px solid var(--line);color:#475467;background:#f3f6fa;text-align:left;font-size:.56rem;font-weight:850;letter-spacing:.035em;text-transform:uppercase;white-space:nowrap}#recordsTable td{padding:.45rem .42rem;border-bottom:1px solid #e9edf3;background:#fff;vertical-align:top}#recordsTable tr:hover td{background:#fcfdff}#recordsTable th:nth-child(1),#recordsTable td:nth-child(1){width:36px;text-align:center}#recordsTable th:nth-child(2),#recordsTable td:nth-child(2){width:42px}#recordsTable th:nth-child(3),#recordsTable td:nth-child(3){width:92px}#recordsTable th:nth-child(4),#recordsTable td:nth-child(4){width:120px}#recordsTable th:nth-child(5),#recordsTable td:nth-child(5){width:145px}#recordsTable th:nth-child(6),#recordsTable td:nth-child(6){width:160px}#recordsTable th:nth-child(7),#recordsTable td:nth-child(7){width:150px}#recordsTable th:nth-child(8),#recordsTable td:nth-child(8){width:120px}#recordsTable th:nth-child(9),#recordsTable td:nth-child(9){width:240px}#recordsTable th:nth-child(10),#recordsTable td:nth-child(10){width:155px}#recordsTable th:nth-child(11),#recordsTable td:nth-child(11){width:78px}#recordsTable th:nth-child(12),#recordsTable td:nth-child(12){width:64px}.record-number{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:7px;color:var(--navy-800);background:#edf2fa;font-weight:850}.record-source{display:block;max-width:110px;overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.record-source small{display:block;margin-top:.18rem;color:var(--muted-2)}.record-status{display:flex;flex-direction:column;gap:.25rem}.record-status .status-chip{width:max-content}.issue-count{color:var(--muted);font-size:.53rem}.cell-input,.cell-textarea{width:100%;border:1px solid var(--line-strong);border-radius:8px;color:var(--ink);background:#fff;font-size:.62rem;outline:0;transition:border-color .18s ease,box-shadow .18s ease}.cell-input{height:34px;padding:0 .55rem}.cell-textarea{min-height:52px;padding:.5rem .55rem;resize:vertical;line-height:1.35}.cell-input:hover,.cell-textarea:hover{border-color:#aeb9ca}.cell-input:focus,.cell-textarea:focus{border-color:var(--navy-700);box-shadow:0 0 0 2px rgba(29,52,112,.1)}.cell-input[aria-invalid="true"],.cell-textarea[aria-invalid="true"]{border-color:#d45a5a;background:#fffafa}.field-message{display:block;margin-top:.22rem;color:var(--danger);font-size:.5rem;line-height:1.3}.postcode-output{display:inline-flex;align-items:center;min-height:34px;padding:0 .48rem;border-radius:8px;color:var(--navy-800);background:#eef4ff;font-weight:800}.row-delete{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;color:var(--danger);background:transparent;cursor:pointer}.row-delete:hover{background:var(--danger-soft)}.row-delete svg{width:15px}.select-cell input,input[type="checkbox"]{accent-color:var(--orange)}
.export-preview{border-top:1px solid var(--line);background:#fbfcfe}.export-preview summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:10px 16px;color:var(--navy-800);font-size:.64rem;font-weight:820;cursor:pointer;list-style:none}.export-preview summary::-webkit-details-marker{display:none}.export-preview summary:after{content:"+";margin-left:auto;color:var(--orange);font-size:.9rem}.export-preview[open] summary:after{content:"−"}.export-preview summary small{color:var(--muted);font-size:.56rem;font-weight:600}.preview-table-wrap{max-height:180px;overflow:auto;border-top:1px solid var(--line)}#previewTable{width:max(850px,100%);border-collapse:collapse;font-size:.57rem}#previewTable th,#previewTable td{padding:.48rem .55rem;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}#previewTable th{position:sticky;top:0;color:#475467;background:#f3f6fa;text-transform:uppercase}#previewTable td{color:#344054;background:#fff}
.export-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:13px 16px;border-top:1px solid var(--line);background:#fff}.export-copy{display:flex;flex-direction:column;min-width:0}.export-copy strong{overflow:hidden;color:var(--navy-950);font-size:.7rem;text-overflow:ellipsis;white-space:nowrap}.export-copy span{margin-top:.18rem;color:var(--muted);font-size:.58rem}.export-bar .button{min-width:220px}

.export-dialog{width:min(540px,calc(100% - 24px));padding:0;border:0;border-radius:20px;color:var(--ink);background:#fff;box-shadow:0 30px 90px rgba(8,20,47,.3)}.export-dialog::backdrop{background:rgba(8,20,47,.58);backdrop-filter:blur(4px)}.export-dialog form{padding:22px}.dialog-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;color:var(--orange);background:var(--orange-soft)}.dialog-icon svg{width:23px}.dialog-heading{margin-top:12px}.dialog-heading>span{color:var(--orange);font-size:.61rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.dialog-heading h2{margin:.25rem 0 0;color:var(--navy-950);font-size:1.1rem}.dialog-heading p{margin:.35rem 0 0;color:var(--muted);font-size:.68rem}.export-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:17px 0}.export-summary>div{padding:10px;border:1px solid var(--line);border-radius:10px;background:#f8fafc}.export-summary dt{color:var(--muted);font-size:.55rem;text-transform:uppercase}.export-summary dd{margin:.22rem 0 0;overflow:hidden;color:var(--navy-950);font-size:.66rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.dialog-actions{display:flex;justify-content:flex-end;gap:.55rem;padding-top:14px;border-top:1px solid var(--line)}
.toast-region{position:fixed;right:18px;bottom:54px;z-index:2000;width:min(380px,calc(100% - 36px));display:flex;flex-direction:column;gap:8px;pointer-events:none}.toast{display:flex;align-items:flex-start;gap:.7rem;padding:.85rem .9rem;border:1px solid #d5dce8;border-radius:13px;color:#344054;background:#fff;box-shadow:0 18px 45px rgba(15,23,42,.18);font-size:.7rem;line-height:1.45;animation:toastIn .25s ease both}.toast:before{content:"";width:9px;height:9px;flex:0 0 auto;margin-top:.22rem;border-radius:50%;background:var(--navy-700)}.toast.is-error:before{background:var(--danger)}.toast.is-success:before{background:var(--success)}.toast.is-warning:before{background:var(--warning)}.toast.is-leaving{animation:toastOut .2s ease both}

.dashboard-footer{width:100%;height:38px;margin-top:auto;padding:0 22px;display:flex;align-items:center;justify-content:space-between;gap:1rem;overflow:hidden;border-top:2px solid var(--orange);background:#0f172a;font-size:.72rem}.footer-brand{flex:0 0 auto;display:inline-flex;align-items:center;gap:.4rem;color:#f8fafc;text-decoration:none;font-weight:750;white-space:nowrap}.footer-brand svg{width:15px;color:var(--orange)}.footer-desc{flex:1;margin:0;overflow:hidden;color:#94a3b8;text-align:center;text-overflow:ellipsis;white-space:nowrap}.footer-creator-badge{flex:0 0 auto;display:inline-flex;align-items:center;gap:.35rem;padding:.22rem .62rem;border:1px solid rgba(239,65,35,.25);border-radius:999px;color:#e2e8f0;background:rgba(239,65,35,.08);text-decoration:none;white-space:nowrap;transition:color .25s ease,background .25s ease,border-color .25s ease,transform .25s ease}.footer-creator-badge svg{width:13px;color:var(--orange);transition:transform .35s ease}.footer-creator-badge strong{color:var(--orange)}.footer-brand:hover{color:#fff}.footer-creator-badge:hover{transform:translateY(-1px);color:#fff;border-color:rgba(239,65,35,.7);background:rgba(239,65,35,.22)}.footer-creator-badge:hover svg{transform:rotate(12deg) scale(1.13)}.footer-creator-badge:hover strong{color:#ff8a72}.noscript-message{position:fixed;inset:auto 1rem 1rem;z-index:3000;padding:.8rem;border-radius:10px;color:#fff;background:var(--danger);text-align:center}
@keyframes toastIn{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}@keyframes toastOut{to{opacity:0;transform:translateY(6px) scale(.98)}}

@media(max-width:1180px){.intro-shell{grid-template-columns:1fr;gap:1rem;align-items:start}.workflow-steps{max-width:800px}.workspace-grid{grid-template-columns:350px minmax(0,1fr)}.export-copy{display:none}}
@media(max-width:940px){.app-main{width:min(100% - 24px,840px);padding-top:20px}.header-inner{width:calc(100% - 24px)}.privacy-pill{display:none}.workspace-grid{grid-template-columns:1fr}.upload-column{position:static}.review-card{height:auto;min-height:620px}.record-region{height:540px;flex:none}.footer-desc{display:none}}
@media(max-width:700px){.app-header{position:relative}.header-inner{height:62px}.brand small{display:none}.header-link{font-size:0;padding:.55rem}.header-link svg{width:19px}.app-main{width:calc(100% - 20px);padding:17px 0 22px}.intro-copy h1{font-size:1.72rem}.intro-copy p{font-size:.82rem}.workflow-steps{grid-template-columns:repeat(4,minmax(0,1fr));max-width:none}.workflow-step{padding:.72rem .35rem .68rem 2.05rem}.workflow-step>span{left:.38rem;top:.68rem;width:23px;height:23px}.workflow-step small{display:none}.workflow-step strong{font-size:.62rem}.panel-card{padding:15px}.dropzone-area{grid-template-columns:auto 1fr;min-height:104px}.browse-chip{display:none}.review-toolbar{align-items:flex-start}.review-actions .button{width:38px;padding:0;font-size:0}.review-actions .button svg{width:18px}.summary-strip{display:grid;grid-template-columns:repeat(4,1fr);padding-inline:14px}.summary-item{min-width:0;padding:.35rem .5rem;text-align:center}.summary-item:first-child{padding-left:.5rem}.workspace-status{grid-column:1/-1;margin:.55rem 0 0;justify-content:center}.table-tools{grid-template-columns:1fr auto;padding-inline:12px}.filter-field{grid-column:1/2}.table-tools .button{grid-column:2/3;grid-row:1/3;height:100%}.record-region{height:auto;min-height:300px;padding:10px;background:#f4f7fb}.records-empty{position:relative;min-height:280px}.record-region #recordsTable{width:100%;display:block}.record-region #recordsTable thead{display:none}.record-region #recordsTable tbody{display:grid;gap:10px}.record-region #recordsTable tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px;border:1px solid var(--line);border-left:3px solid var(--orange);border-radius:14px;background:#fff;box-shadow:var(--shadow-sm)}.record-region #recordsTable td{display:flex;flex-direction:column;gap:.22rem;width:auto!important;padding:0;border:0;background:transparent!important}.record-region #recordsTable td:before{content:attr(data-label);color:var(--muted);font-size:.52rem;font-weight:850;letter-spacing:.03em;text-transform:uppercase}.record-region #recordsTable td:nth-child(1),.record-region #recordsTable td:nth-child(2),.record-region #recordsTable td:nth-child(3),.record-region #recordsTable td:nth-child(4),.record-region #recordsTable td:nth-child(9),.record-region #recordsTable td:nth-child(12){grid-column:1/-1}.record-region #recordsTable td:nth-child(1){align-items:flex-start}.record-region #recordsTable td:nth-child(2),.record-region #recordsTable td:nth-child(3),.record-region #recordsTable td:nth-child(4),.record-region #recordsTable td:nth-child(12){flex-direction:row;align-items:center;justify-content:space-between}.record-source{max-width:75%}.cell-input{height:40px}.cell-textarea{min-height:70px}.row-delete{border:1px solid #f0c9c9}.export-preview summary small{display:none}.export-bar{position:sticky;bottom:0;z-index:8;padding:11px 12px}.export-bar .button{width:100%;min-width:0}.export-dialog form{padding:18px}.export-summary{grid-template-columns:1fr}.dashboard-footer{height:36px;padding:0 10px;font-size:.65rem}.footer-creator-badge{padding-inline:.45rem}.toast-region{right:10px;bottom:46px;width:calc(100% - 20px)}}
@media(max-width:430px){.brand strong{max-width:190px}.footer-brand svg{display:none}.footer-creator-badge{max-width:68%;overflow:hidden;text-overflow:ellipsis}.record-region #recordsTable tr{grid-template-columns:1fr}.record-region #recordsTable td{grid-column:1/-1!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
