:root{--bg:#f6f7f9;--panel:#fff;--ink:#172033;--muted:#667085;--line:#d9dee8;--soft:#eef2f7;--accent:#0f766e;--accent-2:#2563eb;--danger:#b42318;--warning:#a15c07;--ok:#087443;--shadow:0 12px 34px #14213d14}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}.brand{color:var(--ink);align-items:center;gap:12px;text-decoration:none;display:flex}.brand.compact{padding:0}.brand-mark{background:var(--ink);color:#fff;border-radius:8px;place-items:center;width:40px;height:40px;font-weight:800;display:grid}.eyebrow,.muted{color:var(--muted);font-size:13px;display:block}.app-header{border-bottom:1px solid var(--line);z-index:20;background:#fff;justify-content:space-between;align-items:center;gap:16px;height:64px;padding:0 24px;display:flex;position:sticky;top:0}.main{width:100%;min-width:0;max-width:1500px;margin:0 auto;padding:28px}.topbar,.panel,.login-card{background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:8px}.topbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;padding:18px 20px;display:flex}h1,h2,h3{letter-spacing:0;margin:0}h1{font-size:24px}h2{font-size:18px}h3{font-size:15px}.grid{gap:16px;display:grid}.parser-grid{grid-template-columns:minmax(380px,1fr) minmax(380px,1fr);align-items:stretch}.parser-workspace{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:8px;padding:16px 18px 18px}.parser-head{grid-template-columns:minmax(260px,.8fr) minmax(660px,1.2fr);align-items:end;gap:14px;margin-bottom:8px;display:grid}.admin-parser-head h1,.user-parser-head h1{font-size:21px}.parser-head p{color:var(--muted);margin:6px 0 0}.top-selectors{grid-template-columns:minmax(150px,.72fr) minmax(150px,.72fr) minmax(220px,1.1fr) auto;align-items:end;gap:8px;display:grid}.user-parser-head{grid-template-columns:minmax(300px,1fr) minmax(460px,.72fr)}.user-parser-head .top-selectors{grid-template-columns:minmax(260px,1fr) auto}.party-selector select{min-width:220px}.top-selectors .field{gap:4px}.top-selectors select,.accepted-button{height:40px;padding:7px 10px;font-size:14px}.accepted-button{white-space:nowrap;background:#eef2f7;align-self:end;height:46px;font-weight:700}.control-band{border:1px solid var(--line);background:#f8fafc;border-radius:8px;flex-wrap:wrap;align-items:end;gap:8px;margin-bottom:12px;padding:9px 10px;display:flex}.control-group{gap:4px;display:grid}.control-group input{min-width:170px;height:48px;font-weight:800}.control-band>.button{gap:5px;height:40px;min-height:40px;padding:7px 10px;font-size:13px}.date-picker{position:relative}.date-control{align-items:center;gap:5px;display:flex}.date-step{color:#9a4d00;background:#fff8dc;border-color:#ffe08a;border-radius:8px;width:32px;height:40px}.date-button{color:#172033;cursor:pointer;background:#fff;border:1px solid #dbe3ee;border-radius:14px;justify-content:space-between;align-items:center;gap:10px;min-width:240px;height:40px;padding:0 10px;font-size:14px;display:flex}.date-slot-markers{gap:5px;display:flex}.date-slot-marker{color:#64748b;background:#f8fafc;border:1px solid #cbd5e1;border-radius:999px;place-items:center;width:19px;height:19px;font-size:10px;font-weight:800;display:inline-grid}.date-slot-marker.data{color:#c2410c;background:#ffedd5;border-color:#fb923c}.date-slot-marker.complete{color:#fff;background:#16a34a;border-color:#22c55e}.date-slot-marker.image{color:#854d0e;background:#fef08a;border-color:#facc15}.date-calendar{z-index:20;background:#fff;border:1px solid #dbe3ee;border-radius:14px;width:330px;max-width:calc(100vw - 28px);padding:12px;position:absolute;top:calc(100% + 10px);left:0;box-shadow:0 18px 45px #0f172a29}.calendar-head,.calendar-weekdays,.calendar-grid{grid-template-columns:repeat(7,1fr);gap:5px;display:grid}.calendar-head{text-align:center;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:16px;display:flex}.calendar-nav{color:#172033;cursor:pointer;background:#edf2f8;border:0;border-radius:10px;place-items:center;width:34px;height:34px;display:grid}.calendar-weekdays{color:#64748b;text-align:center;margin-bottom:6px;font-size:11px;font-weight:900}.calendar-day{color:#172033;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;justify-content:space-between;align-items:center;min-height:46px;padding:5px 3px 4px;font-size:13px;display:flex}.calendar-day:hover,.calendar-day.selected{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1f}.calendar-day.outside{color:#aeb4bd;opacity:.65}.calendar-dots{gap:3px;display:flex}.calendar-dots i{background:#e5e7eb;border-radius:50%;width:9px;height:9px}.calendar-dots i.data{background:#f97316}.calendar-dots i.complete{background:#16a34a}.calendar-dots i.image{background:#eab308}.slot-tabs{border:1px solid var(--line);background:#fff;border-radius:999px;gap:4px;height:40px;padding:3px;display:flex}.slot-tabs button{min-width:54px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:999px;font-size:13px;font-weight:800}.slot-tabs button.active{color:#fff;background:#2563eb}.count-dot{color:#fff;background:#2563eb;border-radius:999px;place-items:center;width:24px;height:24px;display:inline-grid}.count-dot.neutral{color:var(--ink);background:#dbe4ef}.button.warning{color:#5d4100;background:#facc15;border-color:#facc15;font-weight:800}.button.sheet-resync{color:#fff;background:#f97316;border-color:#f97316}.icon-button.warm{color:#9a4d00;background:#fff4c9;border-color:#ffe599}.icon-button.danger-soft{color:#b42318;background:#ffe2e2;border-color:#ffd0d0}.parser-board{grid-template-columns:minmax(600px,1.55fr) minmax(320px,.78fr) minmax(320px,.78fr);align-items:start;gap:16px;display:grid}.text-parser-board{grid-template-columns:minmax(420px,1fr) minmax(420px,1fr)}.text-parser-board .page-textarea,.text-parser-board .output-box{height:520px;min-height:520px;max-height:none;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:14px;line-height:1.55}.text-parser-board{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.legacy-text-heading,.text-parser-board .output-column>.column-toolbar{justify-content:space-between;align-items:center;gap:8px;min-height:38px;margin-bottom:8px;display:flex}.legacy-text-heading h2,.text-parser-board .output-column h2{font-size:14px}.legacy-view-tools{align-items:center;gap:8px;display:flex}.legacy-view-tools select{width:auto;min-height:34px;padding:6px 10px;font-size:14px}.legacy-view-tools .pill{white-space:nowrap;min-height:30px;padding:6px 10px;font-size:12px;font-weight:800}.legacy-view-tools .pill.ok{color:#166534;background:#dcfce7}.text-parser-board .output-box.page-output{background:#fcfdff;border-radius:12px;height:520px;min-height:520px;max-height:520px}.text-parser-board .output-line{min-height:25px}.text-parser-board .page-marker{display:none}.text-parser-board .bottom-actions{gap:8px;margin-top:8px}.text-parser-board .bottom-actions .button{background:#e8eef5;border:0;min-height:38px;padding:9px 12px;font-size:14px;font-weight:700}.text-parser-board .bottom-actions .button.primary{color:#fff;background:#12803b}.text-parser-board .bottom-actions .button.primary svg{display:none}.text-parser-board .bottom-actions .icon-button{border:0;width:46px;height:38px}.legacy-search-tools{align-items:center;gap:6px;min-width:0;display:flex}.legacy-search-tools .search-input{width:130px;min-width:0;height:34px;padding:6px 8px;font-size:13px}.legacy-search-tools .icon-button{flex-shrink:0;width:32px;height:34px}.text-parser-board .output-column>.column-toolbar{flex-wrap:wrap}@media (max-width:900px){.text-parser-board{grid-template-columns:minmax(0,1fr)}.legacy-text-heading,.legacy-view-tools{flex-wrap:wrap}}.text-parser-board .page-textarea{resize:none;border-radius:12px;padding:12px}.text-parser-board .output-box{white-space:pre-wrap;word-break:break-word;background:#fff;padding:12px;overflow:auto}.text-parser-board .ok-line{color:#222;padding:1px 0}.text-parser-board .bad-line,.text-parser-board .dup-line{border-radius:6px;width:100%;margin:2px 0;padding:2px 6px;display:block}.text-parser-board .bad-line{color:#b42318;background:#fff1f0}.text-parser-board .dup-line{color:#9a3412;background:#ffedd5}.winner-checker-mode{grid-template-columns:minmax(600px,1.55fr) minmax(420px,1fr)}.image-column,.text-column,.output-column{flex-direction:column;min-width:0;display:flex}.column-toolbar{justify-content:space-between;align-items:center;gap:8px;min-height:52px;margin-bottom:8px;display:flex}.column-toolbar h2{white-space:nowrap;font-size:15px;line-height:1.15}.image-column .column-toolbar{gap:6px}.image-column .column-toolbar .actions{flex-wrap:nowrap;gap:6px}.image-column .button{white-space:nowrap;padding-left:10px;padding-right:10px}.compact-toolbar{flex-wrap:nowrap;justify-content:flex-start}.compact-toolbar h2{flex:none;width:118px}.page-counter{color:var(--accent);letter-spacing:0;font-size:11px;font-weight:800}.search-input{max-width:150px;height:40px}.image-drop{text-align:center;min-height:560px;color:var(--ink);cursor:pointer;background:#f8fbff;border:1px dashed #b8cae2;border-radius:8px;place-items:center;padding:18px;display:grid;position:relative;overflow:auto}.image-drop span{gap:16px;display:grid}.image-drop small{color:var(--muted);font-size:16px}.image-drop img{object-fit:contain;max-width:100%;max-height:540px}.image-drop img.zoomed{object-fit:initial;cursor:grab;touch-action:none;place-self:start;max-width:none;height:auto;max-height:none}.image-drop.dragging img.zoomed{cursor:grabbing;-webkit-user-select:none;user-select:none}.image-zoom-overlay{z-index:2;color:#fff;background:#0f172ac7;border-radius:8px;align-items:center;gap:5px;width:max-content;margin:0 0 -42px auto;padding:4px;font-size:12px;font-weight:800;display:flex;position:sticky;top:0;left:100%}.image-zoom-overlay .icon-button{color:#172033;background:#fff;border:0;width:28px;height:28px;min-height:28px}.page-textarea{resize:none;height:560px;min-height:560px;font-size:15px}.page-textarea.unparsed-line{background:#fff7f7;box-shadow:0 0 0 1px #ef444414;border-color:#ef4444!important;border-left-style:solid!important;border-left-width:6px!important}.data-selector.has-data{color:#c2410c;background:#fff7ed;border-color:#fb923c;font-weight:800}.data-selector.complete{color:#15803d;background:#f0fdf4;border-color:#86efac;font-weight:800}.data-selector.image-only{color:#854d0e;background:#fef08a;border-color:#facc15;font-weight:800}.error-navigation{justify-content:flex-end;align-items:center;gap:8px;margin-top:8px;display:flex}.error-navigation-label{color:#dc2626;margin-right:4px;font-size:12px;font-weight:800}.page-output{height:560px;min-height:560px;max-height:560px}.bottom-actions{margin-top:10px}.actions.page-editor-actions{flex-wrap:nowrap;gap:5px;padding-bottom:4px;display:flex;overflow-x:auto}.actions.page-editor-actions .button{white-space:nowrap;background:#e8eef5;border:0;flex:none;min-height:34px;padding:6px 7px;font-size:12px;font-weight:700}.actions.page-editor-actions .button.primary{color:#fff;background:#12803b}.actions.page-editor-actions .button.primary svg{display:none}.actions.page-editor-actions .icon-button{border:0;flex:0 0 30px;width:30px;height:34px}.parser-message{z-index:20;border:1px solid var(--line);border-radius:8px;max-width:min(560px,100vw - 44px);margin:0;font-weight:800;position:fixed;top:22px;right:22px;box-shadow:0 12px 28px #0f172a29}.parser-message.success{color:#166534;background:#f0fdf4;border-color:#86efac}.parser-message.error{color:#991b1b;background:#fef2f2;border-color:#fca5a5}.parser-message.info{color:#1e3a8a;background:#eff6ff;border-color:#93c5fd}.image-uploader-mode{max-width:760px;margin:0 auto}.image-uploader-mode .parser-head{grid-template-columns:1fr}.image-uploader-mode .parser-head h1{font-size:24px}.image-uploader-mode .top-selectors{grid-template-columns:minmax(0,1fr)}.image-uploader-mode .party-selector select{width:100%;min-width:0}.image-uploader-mode .control-band{grid-template-columns:minmax(0,1fr) minmax(0,1fr);display:grid}.image-uploader-mode .control-group input,.image-uploader-mode .slot-tabs{width:100%;min-width:0}.image-uploader-mode .parser-board{display:block}.image-uploader-mode .image-column .column-toolbar{min-height:44px}.image-uploader-mode .image-column .column-toolbar h2{font-size:16px}.image-uploader-mode .image-drop{min-height:min(62vh,560px)}.image-uploader-mode .image-drop img{max-height:min(60vh,540px)}.delete-page-button{color:#b42318}.parser-panel{flex-direction:column;min-height:760px;display:flex}.project-navigation{background:linear-gradient(90deg,#fff 0%,#f8fbff 100%);border:1px solid #d7e0ed;border-radius:8px;justify-content:space-between;align-items:center;gap:18px;min-height:58px;margin:0 0 14px;padding:8px 12px 8px 16px;display:flex;box-shadow:0 5px 14px #14213d0f}.project-switcher{align-items:center;gap:8px;min-width:0;display:flex}.project-switcher-label{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:800}.workspace-tabs{align-items:center;gap:6px;display:flex}.workspace-tab{color:#526078;white-space:nowrap;background:#fff;border:1px solid #d8e1ed;border-radius:6px;align-items:center;min-height:40px;padding:7px 13px;font-size:16px;font-weight:800;text-decoration:none;display:inline-flex}.workspace-tab:hover{color:#1e293b;background:#f8fafc;border-color:#aab9ce}.workspace-tab.active{color:#fff;box-shadow:0 4px 10px #1e293b29}.workspace-tab.return-entry.active{background:#0f8a80;border-color:#0f766e}.workspace-tab.page-parser.active{background:#2563eb;border-color:#2563eb}.workspace-tab.public-html-updated.active{background:#ea580c;border-color:#c2410c}.project-switcher select{color:#172238;background:#eaf1f8;border-color:#0000;width:210px;min-width:0;height:40px;padding:6px 30px 6px 12px;font-size:16px;font-weight:800}.project-switcher strong{font-size:16px}.project-actions{align-items:center;gap:8px;min-width:0;display:flex}.project-action{color:#0f766e;white-space:nowrap;background:#e6fffb;border:1px solid #b9eee6;border-radius:6px;align-items:center;gap:6px;min-height:40px;padding:8px 14px;font-size:15px;font-weight:800;text-decoration:none;display:inline-flex}.project-action:hover{color:#0f766e;background:#d5faf3;border-color:#5eead4}.project-action.active{color:#fff;background:#0f8a80;border-color:#0f766e;box-shadow:0 4px 10px #0f766e2e}.project-menu{color:#526078;background:#fff;border:1px solid #d6ddea;border-radius:6px;align-items:center;gap:7px;min-height:40px;padding:0 10px 0 12px;display:flex}.project-menu>span{color:#64748b;text-transform:uppercase;font-size:12px;font-weight:800}.project-menu select{color:#1e293b;background-color:#0000;border:0;width:154px;height:34px;padding:4px 25px 4px 2px;font-size:15px;font-weight:800}.index-page-wrap .topbar{display:none}.project-overview p{color:var(--muted);margin:0;line-height:1.55}.feature-list{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.project-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:16px}.section-title{align-items:center;gap:8px;margin-bottom:12px;display:flex}.file-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.file-list li{border:1px solid var(--line);overflow-wrap:anywhere;background:#fbfcfe;border-radius:8px;padding:8px 10px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px}.panel{padding:16px}.field-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px;display:grid}.field-row.two{grid-template-columns:repeat(2,minmax(0,1fr))}.field{gap:6px;display:grid}label{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:700}input,select,textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:#fff;border-radius:8px;outline:none;padding:10px 11px}textarea{resize:vertical;min-height:360px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.45}input:focus,select:focus,textarea:focus{border-color:var(--accent-2);box-shadow:0 0 0 3px #2563eb1f}.actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.button{border:1px solid var(--line);color:var(--ink);cursor:pointer;background:#fff;border-radius:8px;align-items:center;gap:8px;min-height:40px;padding:10px 13px;text-decoration:none;display:inline-flex}.button.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.button.blue{background:var(--accent-2);color:#fff;border-color:var(--accent-2)}.button:disabled,.disabled-label{opacity:.5;cursor:not-allowed}.icon-button{border:1px solid var(--line);width:40px;height:40px;color:var(--ink);cursor:pointer;background:#fff;border-radius:8px;place-items:center;display:inline-grid}.tool-strip{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;padding:10px;display:flex}.page-reference-grid{grid-template-columns:minmax(190px,.8fr) minmax(180px,1fr);align-items:stretch;gap:12px;margin-bottom:12px;display:grid}.upload-box{text-align:center;border:1px dashed var(--line);min-height:116px;color:var(--muted);cursor:pointer;text-transform:none;background:#fbfcfe;border-radius:8px;place-items:center;gap:8px;padding:12px;font-size:13px;font-weight:600;display:grid}.upload-box input{display:none}.page-preview{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;place-items:center;min-height:116px;display:grid;overflow:hidden}.page-preview img{object-fit:contain;width:100%;height:160px;display:block}.output-box{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;flex:1;min-height:520px;max-height:560px;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.55;overflow:auto}.output-box.page-output{flex:none;height:560px;min-height:560px;max-height:560px}.modal-backdrop{z-index:50;background:#0f172a5c;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.series-modal{border:1px solid var(--line);background:#fff;border-radius:8px;width:min(720px,100%);padding:18px;box-shadow:0 26px 70px #0f172a38}.modal-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.modal-head p{color:var(--muted);margin:4px 0 0}.series-editor{min-height:220px;margin-bottom:12px}.bottom-actions .button{white-space:nowrap}.output-line{white-space:pre-wrap;border-radius:4px;padding:2px 6px}.error-count{color:#dc2626;margin-left:8px;font-size:12px;font-weight:700}.page-marker{float:right;color:#64748b;letter-spacing:0;margin-left:8px;font-size:10px;font-weight:800}.ok-line{color:var(--ok)}.bad-line{color:var(--danger);background:#fff1f0}.dup-line{color:var(--warning);background:#fff7e8}.focused-line{outline:2px solid var(--accent-2);background:#eef6ff}.search-hit{box-shadow:inset 3px 0 #2563eb}.winner-line{color:#7c2d12;background:#fff1c2;border-left:4px solid #f97316}.winner-badge{color:#fff;background:#dc2626;border-radius:999px;margin-left:8px;padding:2px 7px;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:12px;display:inline-flex}.winner-summary{color:#7c2d12;background:#fff8e1;border:1px solid #f59e0b;border-radius:8px;align-items:center;gap:10px;margin:10px 0;padding:10px 14px;font-weight:700;display:flex}.winner-summary strong{color:#b91c1c;font-size:18px}.stock-status{border-radius:8px;margin:8px 0 12px;padding:8px 12px;font-size:13px;font-weight:700}.stock-status.ok{color:#166534;background:#dcfce7;border:1px solid #86efac}.stock-status.error{color:#991b1b;background:#fee2e2;border:1px solid #fca5a5}.stock-status.warning{color:#92400e;background:#fef3c7;border:1px solid #fcd34d}.series-qty-small,.range-qty-small,.dup-count-small,.error-tag{color:var(--muted);margin-left:8px;font-size:12px}.table{border-collapse:collapse;border:1px solid var(--line);background:#fff;border-radius:8px;width:100%;overflow:hidden}.table th,.table td{border-bottom:1px solid var(--line);text-align:left;padding:11px;font-size:14px}.table th{color:var(--muted);text-transform:uppercase;background:#f8fafc;font-size:12px}.pill{border:1px solid var(--line);color:var(--muted);border-radius:999px;align-items:center;gap:6px;padding:5px 8px;font-size:12px;display:inline-flex}.pill.ok{color:var(--ok);background:#edfdf4;border-color:#9cd7ba;font-weight:800}.pill.saving{color:#dc2626;background:#fef2f2;border-color:#fca5a5;font-weight:800}.manager-page{gap:14px;display:grid}.manager-hero{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:8px;justify-content:space-between;align-items:flex-start;gap:16px;padding:18px;display:flex}.manager-hero p{color:var(--muted);margin:6px 0 0}.stat-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.stat-box{border:1px solid var(--line);background:#fff;border-radius:8px;padding:14px 16px}.stat-box span{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:800;display:block}.stat-box strong{margin-top:6px;font-size:26px;display:block}.manager-grid{grid-template-columns:minmax(360px,.78fr) minmax(520px,1.22fr);align-items:start;gap:16px;display:grid}.manager-form{gap:12px;display:grid}.manager-list{min-width:0}.manager-list-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.search-field{border:1px solid var(--line);text-transform:none;background:#fff;border-radius:8px;align-items:center;gap:8px;width:min(360px,100%);height:42px;padding:0 10px;display:flex}.search-field input{height:38px;box-shadow:none;border:0;padding:0}.search-field input:focus{box-shadow:none}.record-list{gap:8px;max-height:620px;display:grid;overflow:auto}.record-row{text-align:left;border:1px solid var(--line);width:100%;color:var(--ink);cursor:pointer;background:#fbfcfe;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.record-row.selected{border-color:var(--accent-2);background:#f8fbff;box-shadow:0 0 0 3px #2563eb1f}.record-row strong,.record-row small{display:block}.record-row small{color:var(--muted);margin-top:4px}.record-meta{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.record-meta em{color:var(--muted);text-transform:uppercase;font-size:12px;font-style:normal;font-weight:800}.login-wrap{place-items:center;min-height:calc(100vh - 56px);display:grid}.login-card{width:min(420px,100%);padding:24px}.notice{border:1px solid var(--line);color:var(--muted);background:#fbfcfe;border-radius:8px;padding:10px 12px}.field-hint{color:var(--muted);margin-top:6px;display:block}.assignment-list{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;gap:6px;max-height:260px;padding:8px;display:grid;overflow-y:auto}.assignment-option{cursor:pointer;border-radius:6px;align-items:center;gap:9px;padding:7px;display:flex}.assignment-option input{flex:none;width:17px;height:17px}.assignment-option span{gap:2px;display:grid}.assignment-option small,.field label small{color:var(--muted);font-size:11px}.allotment-panel{max-width:900px}.delete-user-button{color:#b42318}@media (max-width:900px){.app-header{flex-direction:column;align-items:flex-start;height:auto;padding:12px 14px}.main{padding:14px}.parser-grid,.project-grid,.field-row,.field-row.two,.page-reference-grid,.parser-head,.top-selectors,.parser-board,.text-parser-board,.manager-grid,.stat-row{grid-template-columns:1fr}.topbar,.manager-hero,.manager-list-head,.record-row{flex-direction:column;align-items:flex-start}.compact-toolbar,.image-column .column-toolbar .actions{flex-wrap:wrap}.date-control{width:100%}.date-control .date-picker{flex:1}.date-button{min-width:0}.image-drop,.page-textarea,.page-output,.output-box.page-output{height:420px;min-height:420px}.image-uploader-mode{padding:14px}.image-uploader-mode .control-band{grid-template-columns:1fr}.image-uploader-mode .image-drop{min-height:58vh}}@media (max-width:640px){.app-header{flex-direction:row;align-items:center;min-height:56px;padding:8px 12px}.app-header .actions{gap:6px}.app-header .pill{display:none}.main{padding:10px}.project-navigation{scrollbar-width:none;gap:8px;padding:7px 8px;overflow-x:auto}.project-switcher{flex:auto}.project-switcher-label{display:none}.workspace-tabs{scrollbar-width:none;max-width:65vw;overflow-x:auto}.workspace-tab{min-height:36px;padding:6px 10px;font-size:14px}.project-switcher select{width:164px}.project-actions{flex:none;gap:6px}.project-action{justify-content:center;min-height:36px;padding:7px 10px}.project-menu{min-height:36px;padding:0 7px 0 9px}.project-menu>span{display:none}.project-menu select{width:104px;height:30px;font-size:14px}.parser-workspace{padding:12px}.parser-head{gap:10px;margin-bottom:10px}.parser-head h1,.admin-parser-head h1,.user-parser-head h1{font-size:20px}.top-selectors{gap:7px}.top-selectors select,.accepted-button{height:42px;font-size:14px}.party-selector select{min-width:0}.control-band{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:8px;padding:8px;display:grid}.control-band .control-group{min-width:0}.control-band>.button,.control-band>.icon-button{justify-content:center;width:100%}.date-control,.date-control .date-picker,.date-button,.slot-tabs{width:100%;min-width:0}.date-step{flex:0 0 32px}.date-button{gap:5px;padding:0 8px}.date-button strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.date-slot-marker{width:18px;height:18px;font-size:10px}.slot-tabs button{flex:1;min-width:0}.date-calendar{z-index:40;width:auto;max-width:none;position:fixed;top:64px;left:10px;right:10px}.calendar-day{min-height:42px}.calendar-dots i{width:7px;height:7px}.column-toolbar,.compact-toolbar,.legacy-text-heading{flex-wrap:wrap;align-items:center;min-height:auto}.compact-toolbar h2{flex:100%;width:auto}.image-column .column-toolbar .actions,.actions.page-editor-actions{flex-wrap:nowrap;width:100%;padding-bottom:4px;overflow-x:auto}.image-drop,.page-textarea,.page-output,.output-box.page-output,.text-parser-board .page-textarea,.text-parser-board .output-box{height:min(56vh,500px);min-height:360px;max-height:none}.page-textarea,.output-box{font-size:14px}.bottom-actions{flex-wrap:wrap;display:flex}.bottom-actions .button{flex:auto;justify-content:center}.bottom-actions .icon-button{flex:0 0 44px}.winner-summary{flex-wrap:wrap;gap:6px 10px;font-size:13px}.parser-message{max-width:none;top:10px;left:10px;right:10px}}
