:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172b3d;background:#f5f7fa;font-size:14px;--blue:#184b82;--line:#e0e6ed;--muted:#687787}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}header{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100% - 1200px)/2))}.brand,.account{display:flex;align-items:center;gap:12px}.brand-mark{display:grid;place-items:center;background:#174b81;color:white;font-size:20px;font-weight:800;letter-spacing:-1px;width:44px;height:44px;border-radius:12px}.brand strong{font-size:16px;display:block}.brand small{display:block;color:var(--muted);margin-top:3px;font-size:11px}.account{font-size:12px;color:var(--muted)}main{max-width:1200px;margin:auto;padding:44px 24px 18px}.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:30px}.eyebrow{font-size:10px;color:#536d87;font-weight:700;letter-spacing:1.8px}h1{font-size:34px;letter-spacing:-1.5px;line-height:1.2;margin:10px 0}p{color:var(--muted);line-height:1.6;margin:8px 0}.privacy{color:#32765b;font-size:12px;white-space:nowrap}.workspace{display:grid;grid-template-columns:minmax(320px, .9fr) minmax(350px,1.1fr);gap:20px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:14px;padding:24px;min-width:0}.section-heading{display:flex;align-items:center;gap:10px;margin-bottom:22px}.step{font-weight:700;font-size:11px;color:#527596;background:#edf3f9;padding:6px 8px;border-radius:6px}h2{font-size:18px;margin:0;letter-spacing:-.3px}h3{font-size:14px;margin:0}button,.linkbutton{font:inherit;cursor:pointer;border-radius:8px;font-weight:600;transition:background .15s;white-space:nowrap}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #91b9ea;outline-offset:2px}.primary{background:var(--blue);color:white;border:1px solid var(--blue);padding:12px 16px}.primary:hover:not(:disabled){background:#103a66}.secondary{background:white;color:#34536e;border:1px solid #dce4ec;padding:8px 12px}.secondary:hover:not(:disabled){background:#f0f5fa}.linkbutton{display:inline-block;text-decoration:none;margin-top:10px}.textbutton{border:0;background:none;color:var(--blue);padding:4px}.tabs{background:#f0f3f7;padding:4px;border-radius:9px;display:flex;gap:4px;margin-bottom:18px}.tabs button{flex:1;border:0;background:transparent;color:var(--muted);padding:10px}.tabs .selected{background:white;color:var(--blue);box-shadow:0 1px 4px #1b385314}.dropzone{border:1.5px dashed #bacbdb;border-radius:10px;min-height:214px;background:#f9fbfd;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center;padding:20px}.dropzone.drag{background:#e9f3ff;border-color:#184b82}.upload-icon,.doc-icon{background:#e9f0f8;color:#4776a4;border-radius:12px;width:45px;height:45px;display:grid;place-items:center;font-size:29px}.dropzone span,.dropzone small{color:var(--muted);font-size:12px}.dropzone small{font-size:10px}.queue-header{display:flex;align-items:center;justify-content:space-between;margin:24px 0 10px}.count{font-size:11px;background:#edf2f6;color:#55728d;padding:3px 7px;border-radius:10px;margin-left:4px}.queue{max-height:250px;overflow:auto}.empty-small{font-size:12px;padding:9px 0}.queue-row,.drive-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #edf0f4;min-width:0}.queue-row:last-child{border-bottom:0}.file-info{flex:1;min-width:0}.filename{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600}.meta{display:block;font-size:11px;color:var(--muted);margin-top:4px}.remove{border:0;background:none;color:#6a7c8d;font-size:19px;padding:2px 8px}.settings{border-top:1px solid var(--line);padding-top:16px;margin-top:16px;display:flex;flex-direction:column;gap:8px}.settings label{font-weight:600;font-size:12px}select{background:white;border:1px solid #cfd9e3;border-radius:8px;padding:10px;color:#20384d;font:inherit}.run{width:100%;display:flex;justify-content:space-between;margin-top:16px}.progress{font-size:12px;margin:8px 0 0;min-height:16px}.results{min-height:480px}.result-toolbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:14px;gap:8px;color:var(--muted);font-size:12px}.result-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:90px 25px;gap:12px}.result-empty p{max-width:320px;font-size:13px;margin:0}.result-item{padding:18px 0;border-bottom:1px solid var(--line)}.result-item:last-child{border:0}.result-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.result-actions{display:flex;gap:6px}.result-actions button{font-size:11px;padding:6px 9px}textarea{display:block;width:100%;min-height:190px;resize:vertical;border:1px solid var(--line);border-radius:8px;padding:13px;color:#20384d;font:13px/1.6 ui-monospace,monospace;background:#fbfcfe}.error{color:#a44136;font-size:12px}.ok{color:#32765b}.drive-connect{padding:20px;background:#f7f9fc;border:1px solid var(--line);border-radius:10px}.drive-nav{display:flex;flex-wrap:wrap;gap:5px}.drive-nav button{font-size:11px;padding:7px}.breadcrumbs{margin:12px 0;font-size:12px;color:var(--muted);display:flex;gap:4px;flex-wrap:wrap}.drive-list{max-height:260px;overflow:auto;min-height:50px}.drive-row button{border:0;background:none;text-align:left;color:var(--blue);padding:3px;overflow:hidden;text-overflow:ellipsis;flex:1}.drive-row input{accent-color:var(--blue)}#drive-more{margin-top:9px}#notice{padding:12px 16px;border:1px solid #e4c7a7;background:#fff8ee;color:#845528;border-radius:8px;margin-bottom:18px}.gate{max-width:500px;margin:40px auto;text-align:center;padding:40px}footer{text-align:center;color:#8492a1;font-size:11px;padding:24px 0}footer span{margin:0 6px}@media(max-width:800px){.workspace{grid-template-columns:1fr}.intro{align-items:flex-start;flex-direction:column;gap:8px}main{padding:28px 14px}header{padding:0 14px}.account{font-size:10px;max-width:52%;overflow-wrap:anywhere}h1{font-size:29px}.panel{padding:18px}.results{min-height:340px}.result-empty{padding:55px 10px}}

.reconnect{font-size:11px;text-decoration:none;align-self:center}
.settings small{color:var(--muted);line-height:1.4}.feedback-wrap{overflow:auto;margin-top:14px;max-height:650px}.feedback-table{border-collapse:collapse;min-width:1900px;font-size:11px}.feedback-table th,.feedback-table td{border:1px solid var(--line);padding:5px;vertical-align:top}.feedback-table th{background:#edf4fa;position:sticky;top:0;z-index:1;min-width:96px;max-width:180px}.feedback-table th:nth-child(n+8):nth-child(-n+14){min-width:145px}.feedback-table th:nth-child(n+15){min-width:260px}.feedback-table input,.feedback-table textarea{width:100%;min-width:80px;border:1px solid #d7e0e8;border-radius:4px;padding:6px;font:11px/1.35 inherit;background:white}.feedback-table textarea{min-height:70px;resize:vertical}.feedback-note{font-size:11px;color:#845528;background:#fff8ee;padding:9px;border-radius:6px}

/* Refined document-workspace layout */
:root{--blue:#123f70;--blue-2:#1e5b95;--surface:#fff;--soft:#eef4f9;--line:#dbe4ec;--muted:#607386}body{background:linear-gradient(180deg,#f7f9fc 0,#f1f5f8 100%);min-height:100vh}header{height:86px;box-shadow:0 1px 0 #dfe7ee;background:#fff}.brand{gap:15px}.brand-logo{display:block;width:108px;height:52px;object-fit:contain;background:#050505;border-radius:7px;padding:3px}.brand strong{font-size:15px;color:#15334f}.brand small{font-size:11px}.account{background:#f2f7f4;border:1px solid #d8e9df;border-radius:999px;padding:7px 11px;color:#35694f}.status-dot{width:7px;height:7px;border-radius:50%;background:#35a66a;box-shadow:0 0 0 3px #dff3e7}main{padding-top:38px}.intro{align-items:center;margin-bottom:26px}.intro>div:first-child{max-width:720px}.intro h1{font-size:36px;color:#102d48;margin-bottom:8px}.intro p{font-size:14px;max-width:690px}.privacy{display:flex;flex-direction:column;gap:2px;white-space:normal;color:#2c684c;background:#f1f8f4;border:1px solid #d8eadf;border-radius:12px;padding:12px 15px;min-width:220px}.privacy strong{font-size:12px}.privacy span{color:#637c6e;font-size:10px}.workspace{grid-template-columns:minmax(360px,.82fr) minmax(460px,1.18fr);gap:24px}.panel{border-color:#d9e3eb;border-radius:16px;box-shadow:0 8px 30px rgba(30,60,88,.06);padding:26px}.section-heading{align-items:flex-start;margin-bottom:20px}.section-copy{font-size:11px;margin:4px 0 0}.step{background:#e8f2fb;color:#17578f;border-radius:8px;padding:6px 9px}.mode-settings{border:1px solid #d7e4ef;background:#f7fafc;border-radius:12px;padding:16px;margin:0 0 18px;gap:9px}.mode-settings select{background:#fff;border-color:#bfcfdd;padding:11px 12px}.mode-callout{display:flex;align-items:flex-start;gap:8px;background:#eaf4fd;color:#355d7f;border-radius:8px;padding:9px 10px;margin-bottom:3px}.mode-callout small{color:#355d7f}.info-icon{display:grid;place-items:center;flex:0 0 17px;height:17px;border-radius:50%;background:#2a6ca5;color:#fff;font-size:10px;font-weight:700}.dropzone{min-height:190px;border:2px dashed #b8cede;background:#fbfdff;border-radius:12px}.dropzone:hover,.dropzone.drag{background:#eff7ff;border-color:#397bb4}.upload-icon{background:#e4f0fa;color:#1e639d}.queue-header{margin-top:20px}.queue{max-height:190px}.run{padding:13px 16px;border-radius:10px;box-shadow:0 5px 14px rgba(24,75,130,.16)}.results{min-height:590px}.export-button{color:#174f82;border-color:#bcd0e0}.result-empty{padding:105px 25px}.result-empty .doc-icon{font-size:20px}.feedback-note{border:1px solid #eed7b8}.feedback-wrap{border:1px solid var(--line);border-radius:9px}.enrollment-table{min-width:1120px}.enrollment-table th:nth-child(n){min-width:110px;max-width:none}.enrollment-table th:nth-child(2),.enrollment-table th:nth-child(4),.enrollment-table th:nth-child(6){min-width:190px}#notice{border-radius:10px;font-size:12px;box-shadow:0 4px 14px rgba(120,77,25,.05)}footer{padding:30px 0}
@media(max-width:800px){header{height:74px}.brand-logo{width:82px;height:40px}.brand>div{display:none}.account{font-size:10px}.intro h1{font-size:29px}.privacy{width:100%}.workspace{grid-template-columns:1fr}.panel{padding:18px}.results{min-height:380px}.result-empty{padding:55px 10px}}
