:root{--navy-900:#0c1222;--navy-800:#111a2e;--navy-700:#1a2540;--navy-600:#243356;--navy-100:#dfe3eb;--teal-500:#0d9488;--teal-400:#14b8a6;--teal-100:#ccfbf1;--teal-50:#f0fdfa;--red-600:#dc2626;--red-100:#fee2e2;--red-50:#fef2f2;--amber-600:#d97706;--amber-100:#fef3c7;--amber-50:#fffbeb;--green-600:#059669;--green-100:#d1fae5;--green-50:#ecfdf5;--gray-50:#f8fafc;--gray-100:#f1f5f9;--gray-200:#e2e8f0;--gray-300:#cbd5e1;--gray-400:#94a3b8;--gray-500:#64748b;--gray-600:#475569;--gray-700:#334155;--gray-800:#1e293b;--white:#ffffff;--font-display:"Source Serif 4",Georgia,serif;--font-body:"IBM Plex Sans",-apple-system,sans-serif;--font-mono:"IBM Plex Mono","SF Mono",monospace;--content-max:1280px;--section-gap:2rem}*,:after,:before{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-body);font-size:14px;color:var(--gray-800);background:var(--gray-50);min-height:100vh;-webkit-font-smoothing:antialiased}.site-header{background:var(--navy-900);border-bottom:3px solid var(--teal-500);position:-webkit-sticky;position:sticky;top:0;z-index:100}.header-inner{max-width:var(--content-max);margin:0 auto;padding:0 2rem;height:64px;justify-content:space-between}.brand,.header-inner{display:flex;align-items:center}.brand{gap:14px}.brand-mark{font-family:var(--font-mono);font-weight:600;font-size:13px;letter-spacing:.1em;color:var(--teal-400);border:1.5px solid var(--teal-500);border-radius:4px;padding:4px 8px;line-height:1}.brand-text h1{font-family:var(--font-display);font-size:18px;font-weight:600;color:var(--white);letter-spacing:-.01em;line-height:1.2}.brand-text .subtitle{font-size:11px;font-weight:500;color:var(--gray-400);text-transform:uppercase;letter-spacing:.08em}.header-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--gray-400);font-family:var(--font-mono)}.meta-dot{width:7px;height:7px;border-radius:50%;background:var(--gray-500);transition:background .3s}.meta-dot.active{background:var(--teal-400);animation:pulse 2s infinite}.meta-dot.error{background:var(--red-600)}.meta-dot.success{background:var(--green-600)}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.main-content{max-width:var(--content-max);margin:0 auto;padding:2rem;display:flex;flex-direction:column;gap:var(--section-gap)}.section-label{font-family:var(--font-mono);font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.12em;color:var(--gray-400);margin-bottom:.75rem}.landing{justify-content:center;min-height:50vh;padding:2rem}.landing,.landing-inner{display:flex;align-items:center}.landing-inner{flex-direction:column;text-align:center;max-width:480px;gap:.5rem}.landing-title{font-family:var(--font-display);font-size:22px;font-weight:600;color:var(--gray-800)}.landing-subtitle{font-size:14px;color:var(--gray-500);margin-bottom:1.5rem}.upload-zone{display:flex;flex-direction:column;align-items:center;gap:.5rem;width:100%;border:2px dashed var(--gray-300);border-radius:16px;padding:2.5rem 2rem;text-align:center;cursor:pointer;transition:all .2s ease;background:var(--white)}.upload-zone.drag-over,.upload-zone:hover{border-color:var(--teal-500);background:var(--teal-50)}.upload-zone.drag-over{border-style:solid;box-shadow:0 0 0 4px rgba(13,148,136,.1)}.upload-icon{color:var(--gray-400);transition:color .2s}.upload-zone:hover .upload-icon{color:var(--teal-500)}.upload-primary{font-family:var(--font-display);font-size:15px;font-weight:600;color:var(--gray-600)}.upload-secondary{font-size:12px;color:var(--gray-400)}.upload-progress{display:flex;align-items:center;gap:12px;padding:1rem;font-size:13px;color:var(--gray-600)}.spinner{width:20px;height:20px;border:2.5px solid var(--gray-200);border-top-color:var(--teal-500);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.summary-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));grid-gap:10px;gap:10px}.summary-card{background:var(--white);border:1px solid var(--gray-200);border-radius:8px;padding:14px 16px;transition:all .2s;animation:cardIn .35s ease backwards}.summary-card.summary-card-action{cursor:pointer;text-align:left;border-radius:16px}.summary-card.summary-card-action:hover{transform:translateY(-1px);border-color:rgba(13,148,136,.45);box-shadow:0 12px 24px rgba(15,23,42,.08)}.summary-card:hover{border-color:var(--gray-300);box-shadow:0 2px 8px rgba(0,0,0,.04)}.summary-card .card-value{font-family:var(--font-display);font-size:28px;font-weight:700;color:var(--gray-800);line-height:1.1}.summary-card .card-label{font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.06em;margin-top:4px}.summary-card.card-error{border-left:3px solid var(--red-600);background:var(--red-50)}.summary-card.card-error .card-value{color:var(--red-600)}.summary-card.card-warning{border-left:3px solid var(--amber-600);background:var(--amber-50)}.summary-card.card-warning .card-value{color:var(--amber-600)}.summary-card.card-success{border-left:3px solid var(--green-600);background:var(--green-50)}.summary-card.card-success .card-value{color:var(--green-600)}.summary-card.card-time{border-left:3px solid var(--teal-500)}.summary-card.card-time .card-value{color:var(--teal-500);font-size:22px}@keyframes cardIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.pipeline{display:flex;gap:2px;background:var(--gray-200);border-radius:10px;overflow:hidden}.pipeline-step{flex:1 1;display:flex;align-items:center;gap:10px;padding:14px 18px;background:var(--white);border:none;cursor:pointer;font-family:var(--font-body);font-size:13px;color:var(--gray-500);transition:all .2s;position:relative}.pipeline-step:first-child{border-radius:10px 0 0 10px}.pipeline-step:last-child{border-radius:0 10px 10px 0}.pipeline-step:last-child .step-arrow{display:none}.pipeline-step:disabled{cursor:not-allowed;opacity:.5}.pipeline-step:not(:disabled):hover{background:var(--gray-50);color:var(--gray-700)}.pipeline-step.active{background:var(--navy-800);color:var(--white)}.pipeline-step.active .step-num{color:var(--teal-400)}.pipeline-step.completed{background:var(--teal-50);color:var(--teal-500)}.step-num{font-family:var(--font-mono);font-size:11px;font-weight:600;color:var(--gray-400);flex-shrink:0}.step-label{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.step-arrow{margin-left:auto;font-size:16px;opacity:.3;flex-shrink:0}.panel-header{margin-bottom:1.5rem;animation:fadeIn .3s ease}.panel-header h2{font-size:24px;font-weight:700}.panel-title-light{font-weight:400;color:var(--gray-500)}.panel-desc{font-size:13px;color:var(--gray-500);margin-top:4px}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.alert-rail{margin-bottom:1rem}.alert-rail-header{margin-bottom:.5rem}.alert-rail-counts{display:flex;gap:.5rem}.alert-badge{display:inline-flex;align-items:center;gap:.35rem;font-size:11px;font-weight:700;letter-spacing:.02em}.alert-badge-dot{width:7px;height:7px;border-radius:50%}.alert-badge-error{color:var(--red-600)}.alert-badge-error .alert-badge-dot{background:var(--red-600);box-shadow:0 0 6px rgba(220,38,38,.4);animation:alertDotPulse 2s ease-in-out infinite}@keyframes alertDotPulse{0%,to{opacity:.15}50%{opacity:1}}.alert-badge-warning{color:var(--amber-600)}.alert-badge-warning .alert-badge-dot{background:var(--amber-600);box-shadow:0 0 6px rgba(217,119,6,.4)}.alert-card-track{display:flex;gap:.6rem;overflow-x:auto;padding-bottom:.4rem;scrollbar-width:thin}.alert-card-track::-webkit-scrollbar{height:5px}.alert-card-track::-webkit-scrollbar-track{background:transparent}.alert-card-track::-webkit-scrollbar-thumb{background:var(--gray-300);border-radius:4px}.alert-card{display:flex;flex-shrink:0;width:240px;border-radius:10px;overflow:hidden;background:var(--white);border:1px solid var(--gray-200);box-shadow:0 2px 8px rgba(15,23,42,.04);animation:alertSlideIn .3s ease both;transition:box-shadow .2s,transform .2s}.alert-card-clickable{cursor:pointer}.alert-card:hover{box-shadow:0 4px 16px rgba(15,23,42,.08);transform:translateY(-1px)}@keyframes alertSlideIn{0%{opacity:0;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}.alert-card-stripe{width:4px;flex-shrink:0}.alert-card-error{background:rgba(254,242,242,.7)}.alert-card-error .alert-card-stripe{background:linear-gradient(180deg,#f87171,var(--red-600))}.alert-card-warning{background:rgba(255,251,235,.7)}.alert-card-warning .alert-card-stripe{background:linear-gradient(180deg,#fbbf24,var(--amber-600))}.alert-card-body{padding:.6rem .7rem;display:flex;flex-direction:column;gap:.3rem;min-width:0}.alert-card-top{display:flex;align-items:center;gap:.4rem}.alert-card-severity{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.alert-card-error .alert-card-severity{color:var(--red-600)}.alert-card-warning .alert-card-severity{color:var(--amber-600)}.alert-card-ref{font-family:var(--font-mono);font-size:10px;font-weight:600;color:var(--gray-500);background:var(--gray-100);padding:.1rem .35rem;border-radius:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.alert-card-message{font-size:12px;line-height:1.4;color:var(--gray-700);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}.alert-card-expanded{width:420px;max-width:calc(100vw - 2rem)}.alert-card-expanded .alert-card-message{display:block;-webkit-line-clamp:unset;overflow:visible;white-space:pre-wrap}.alert-card-expand{margin-left:auto;width:18px;height:18px;padding:0;font-size:14px;line-height:1;font-weight:700;border:1px solid var(--gray-200);border-radius:4px;background:var(--white);color:var(--gray-500);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.alert-card-expand:hover{color:var(--gray-700);border-color:var(--gray-300)}.alert-card-entity{font-size:10px;color:var(--gray-400);font-weight:500}.tables-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:1rem;gap:1rem}.table-card{background:var(--white);border:1px solid var(--gray-200);border-radius:8px;overflow:hidden;animation:cardIn .35s ease backwards}.table-card-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--gray-100)}.table-card-header h3{font-family:var(--font-body);font-size:13px;font-weight:600;color:var(--gray-700);text-transform:uppercase;letter-spacing:.04em}.table-count{font-family:var(--font-mono);font-size:12px;color:var(--teal-500);font-weight:500}.table-wrap{max-height:400px;overflow-y:auto}table{width:100%;border-collapse:collapse;font-size:13px}thead th{position:-webkit-sticky;position:sticky;top:0;z-index:1;background:var(--gray-50);padding:8px 16px;text-align:left;font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--gray-500);box-shadow:inset 0 -1px 0 var(--gray-200);white-space:nowrap}tbody td{padding:8px 16px;border-bottom:1px solid var(--gray-100);color:var(--gray-700)}tbody tr:hover{background:var(--gray-50)}tbody tr:last-child td{border-bottom:none}tbody tr.is-selected{background:var(--teal-50)}td.cell-code{font-family:var(--font-mono);font-size:12px;font-weight:500;color:var(--navy-800)}td.cell-code-muted{color:var(--gray-400)}tbody tr.clickable{cursor:pointer}tbody tr.clickable:hover{background:var(--teal-50)}tbody tr.clickable.selected{background:var(--teal-50);box-shadow:inset 3px 0 0 var(--teal-500)}.table-action-cell,.table-action-head{text-align:right;width:1%;white-space:nowrap}.table-inline-action{border:1px solid rgba(13,148,136,.24);background:var(--teal-50);color:var(--teal-500);border-radius:999px;padding:.3rem .6rem;font-size:11px;font-weight:700;cursor:pointer}.table-inline-action:hover{border-color:rgba(13,148,136,.45)}.foundation-inline-cell{padding:0;position:relative}.foundation-inline-cell input,.foundation-inline-value{display:block;width:100%;min-height:100%;padding:8px 16px}.foundation-inline-value{color:var(--gray-700);border-radius:8px;transition:background .18s ease,box-shadow .18s ease;cursor:text}.foundation-inline-cell:hover .foundation-inline-value{background:rgba(13,148,136,.06)}.foundation-inline-cell.is-editing{background:rgba(13,148,136,.05)}.foundation-inline-cell.is-editing input{border:none;outline:none;background:transparent;color:var(--navy-800);font:inherit;padding:8px 16px}.wage-detail-empty{display:flex;align-items:center;justify-content:center;min-height:120px;color:var(--gray-400);font-size:13px}.class-editor{padding:1rem;margin-bottom:.9rem}.class-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:.85rem;gap:.85rem}.foundation-field{display:flex;flex-direction:column;gap:.35rem}.foundation-field span{font-size:11px;font-weight:700;color:var(--gray-500);text-transform:uppercase;letter-spacing:.08em}.foundation-field input{border:1px solid var(--gray-200);border-radius:12px;padding:.7rem .85rem;font:inherit;background:var(--white)}.foundation-field-wide{grid-column:1/-1}.class-editor-checks{display:flex;gap:1.2rem;margin-top:.5rem;margin-bottom:.75rem}.emp-edit-popover{position:fixed;z-index:50;min-width:320px;max-width:400px;background:var(--white);border:1px solid var(--gray-200);border-radius:12px;padding:1.25rem;box-shadow:0 12px 32px rgba(15,23,42,.12)}.emp-edit-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.emp-edit-title{font-size:12px;font-weight:700;color:var(--gray-700)}.emp-edit-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:.4rem;gap:.4rem;min-width:0}.emp-edit-grid label{min-width:0}.emp-edit-field-wide{grid-column:1/-1}.emp-edit-actions{display:flex;gap:.5rem;margin-top:.5rem;align-items:stretch}.emp-edit-actions .emp-edit-save{flex:1 1;margin-top:0}.emp-edit-delete{padding:.4rem .7rem;font-size:12px;font-weight:600;border:1px solid var(--red-600);border-radius:8px;background:var(--white);color:var(--red-600);cursor:pointer}.emp-edit-delete:hover{background:var(--red-50)}tr.row-dupe{background:rgba(254,242,242,.6)}.field-error{border-color:var(--red-600)!important;color:var(--red-600)!important;background:var(--red-50)!important}.emp-edit-grid input,.emp-edit-grid select{width:100%;min-width:0;box-sizing:border-box;font-size:12px;padding:.3rem .4rem;border:1px solid var(--gray-200);border-radius:6px;background:var(--white);color:var(--gray-700)}.foundation-field-check{display:flex;flex-direction:row;align-items:center;gap:.4rem;font-size:13px;color:var(--gray-700);cursor:pointer}.foundation-field-check input[type=checkbox]{width:16px;height:16px;accent-color:var(--teal-500)}.no-grid-badge{color:var(--amber-600);background:var(--amber-100);font-weight:500}.no-grid-badge,.nursing-badge{font-family:var(--font-mono);font-size:10px;padding:2px 6px;border-radius:3px}.nursing-badge{font-weight:600;margin-left:8px;vertical-align:middle;display:inline-block}.nursing-badge.rn{background:#dbeafe;color:#1d4ed8}.nursing-badge.clinical{background:#e0e7ff;color:#4338ca}.union-badge{font-family:var(--font-mono);font-size:10px;font-weight:500;padding:2px 6px;border-radius:3px;margin-left:6px;vertical-align:middle;display:inline-block}.union-badge.non-union{background:var(--amber-100);color:var(--amber-600)}.dept-link-badge{display:inline-block;font-weight:500;background:var(--teal-50);color:var(--teal-500);border:1px solid var(--teal-100);padding:2px 8px;border-radius:4px;margin:2px 4px 2px 0}.dept-link-badge,.wage-date-info{font-family:var(--font-mono);font-size:11px}.wage-date-info{color:var(--gray-500);margin-left:8px}.classes-layout{grid-template-columns:1.2fr .8fr}.empty-state{padding:2rem;text-align:center;color:var(--gray-400);font-size:13px}.validation-summary{padding:1.5rem;border-radius:8px;margin-bottom:1.5rem;font-size:15px;font-weight:500;animation:cardIn .3s ease}.validation-summary.vs-good{background:var(--green-50);border:1px solid var(--green-100);color:var(--green-600)}.validation-summary.vs-issues{background:var(--amber-50);border:1px solid var(--amber-100);color:var(--amber-600)}.validation-group{margin-bottom:1.5rem;animation:cardIn .35s ease backwards}.validation-hint-row{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin:.9rem 0 1.25rem}.validation-hint-copy{color:var(--gray-500);font-size:13px}.issue-action,.secondary-action{border:1px solid var(--gray-200);background:var(--white);color:var(--gray-700);border-radius:999px;padding:.45rem .75rem;font-size:12px;font-weight:600;cursor:pointer}.issue-action:hover,.secondary-action:hover{border-color:rgba(13,148,136,.5);color:var(--teal-500)}.issue-action-muted{background:var(--gray-50)}.issue-action-edit{border-style:dashed}.issue-focused{box-shadow:0 0 0 2px rgba(13,148,136,.18)}.issue-focused-live{animation:focusPulse 1.2s ease}@keyframes focusPulse{0%{box-shadow:0 0 0 0 rgba(13,148,136,.35)}to{box-shadow:0 0 0 14px rgba(13,148,136,0)}}.vgroup-title{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;padding-bottom:8px;margin-bottom:8px;border-bottom:2px solid;display:flex;align-items:center;gap:8px}.vgroup-error{color:var(--red-600);border-color:var(--red-600)}.vgroup-warning{color:var(--amber-600);border-color:var(--amber-600)}.vgroup-count{font-size:11px;background:rgba(0,0,0,.06);padding:2px 8px;border-radius:10px}.vgroup-items{display:flex;flex-direction:column;gap:4px}.schedule-grid-wrap{overflow:auto;max-height:640px;background:linear-gradient(180deg,#f8fafc,#fff)}.schedule-legend{display:flex;flex-wrap:wrap;gap:.5rem;padding:0 16px 10px}.schedule-legend-item{display:inline-flex;align-items:center;gap:.4rem;font-size:12px;color:var(--gray-600);padding:.35rem .6rem;border-radius:999px;background:var(--gray-50);border:1px solid var(--gray-200)}.schedule-legend-dot{width:8px;height:8px;border-radius:999px}.legend-shift{background:var(--teal-500)}.legend-code{background:var(--amber-600)}.legend-punch{background:var(--navy-600)}.sched-header-month{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.7)}.sched-header-number{font-size:22px;font-weight:800;line-height:1}.sched-avatar{width:28px;height:28px;border-radius:999px;background:linear-gradient(180deg,rgba(13,148,136,.18),rgba(13,148,136,.08));color:var(--teal-500);display:grid;place-items:center;font-weight:800;font-size:12px}.schedule-grid{display:grid;min-width:max-content;grid-gap:0;gap:0}.sched-header{display:contents}.sched-header-cell{display:flex;flex-direction:column;gap:.25rem;align-items:center;justify-content:center;min-height:76px;position:-webkit-sticky;position:sticky;top:0;z-index:10;background:var(--navy-800);color:var(--white);padding:8px 10px;font-size:11px;font-weight:600;text-align:center;white-space:nowrap;border-right:1px solid var(--navy-700)}.sched-header-cell.sched-emp-header{text-align:left;min-width:160px;position:-webkit-sticky;position:sticky;left:0;z-index:11}.sched-header-day{font-family:var(--font-mono);font-size:10px;display:block;opacity:.6;margin-top:2px}.sched-row{display:contents}.sched-emp-cell{display:grid;grid-template-columns:28px 1fr;grid-gap:.65rem;gap:.65rem;align-items:center;position:-webkit-sticky;position:sticky;left:0;z-index:5;background:var(--gray-50);padding:8px 12px;border-bottom:1px solid var(--gray-200);border-right:2px solid var(--gray-200);min-width:160px}.sched-emp-name{font-weight:600;font-size:12px;color:var(--navy-800)}.sched-emp-meta{font-family:var(--font-mono);font-size:10px;color:var(--gray-500);margin-top:2px}.sched-cell{padding:.5rem;border-bottom:1px solid var(--gray-200);border-right:1px solid var(--gray-200);min-width:138px;font-size:11px;vertical-align:top;background:var(--white);min-height:88px}.sched-cell:hover{background:#f8fafc}.sched-cell.sched-empty{background:linear-gradient(180deg,#fcfdff,#f8fafc)}.sched-day-stack{display:flex;flex-direction:column;gap:.45rem}.sched-event{border-radius:12px;border:1px solid var(--gray-200);padding:.55rem .6rem;background:var(--white);box-shadow:0 4px 10px rgba(15,23,42,.04)}.sched-event-shift{border-left:4px solid var(--teal-500);cursor:pointer;transition:box-shadow .2s,border-color .2s}.sched-event-shift:hover{box-shadow:0 4px 14px rgba(13,148,136,.12)}.sched-event-error{border-color:#fca5a5;border-left-color:var(--red-600);background:var(--red-50);animation:sched-error-glow 2s ease-in-out infinite}@keyframes sched-error-glow{0%,to{box-shadow:0 0 6px rgba(220,38,38,.15)}50%{box-shadow:0 0 14px rgba(220,38,38,.3)}}.sched-event-editing{border-color:var(--teal-400);box-shadow:0 0 0 2px rgba(13,148,136,.2)}.sched-missing{color:var(--red-600);font-weight:600;font-size:10px}.sched-edit-popover{position:fixed;z-index:50;min-width:240px;background:var(--white);border:1px solid var(--gray-200);border-radius:12px;padding:.75rem;box-shadow:0 12px 32px rgba(15,23,42,.12)}.sched-edit-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.sched-edit-title{font-size:12px;font-weight:700;color:var(--gray-700)}.sched-edit-grid{display:flex;flex-direction:column;gap:.4rem}.sched-edit-field{display:flex;flex-direction:column;gap:.15rem}.sched-edit-field span{font-size:10px;font-weight:600;color:var(--gray-500);text-transform:uppercase;letter-spacing:.05em}.sched-edit-field select{font-size:12px;padding:.3rem .4rem;border:1px solid var(--gray-200);border-radius:6px;background:var(--white);color:var(--gray-700)}.sched-edit-field-error span{color:var(--red-600)}.sched-edit-field-error input,.sched-edit-field-error select{border-color:var(--red-600);background:var(--red-50)}.sched-edit-save{margin-top:.5rem;width:100%;padding:.4rem;font-size:12px;font-weight:600;border:none;border-radius:8px;background:var(--teal-500);color:var(--white);cursor:pointer}.sched-edit-save:hover{background:#0d9488}.sched-event-punch{border-left:4px solid var(--navy-600);cursor:pointer;transition:box-shadow .2s}.sched-event-punch:hover{box-shadow:0 4px 14px rgba(30,41,59,.12)}.sched-edit-field input[type=time]{font-size:12px;padding:.3rem .4rem;border:1px solid var(--gray-200);border-radius:6px;background:var(--white);color:var(--gray-700)}.sched-event-meta,.sched-event-top{display:flex;flex-wrap:wrap;gap:.4rem}.sched-event-meta{margin-top:.35rem;color:var(--gray-600)}.sched-event-meta span{display:inline-flex;gap:.25rem}.sched-event-meta strong{color:var(--gray-500);font-weight:600}.sched-event-title{font-size:11px;font-weight:700;color:var(--gray-800)}.sched-chip{display:inline-flex;align-items:center;border-radius:999px;padding:.2rem .45rem;font-family:var(--font-mono);font-size:10px;font-weight:700}.sched-chip-att{background:var(--amber-100);color:var(--amber-600)}.sched-chip-punch{background:var(--navy-100);color:var(--navy-700)}.sched-att{padding:2px 6px;background:var(--teal-100);color:var(--teal-500);font-weight:600;border-radius:3px;display:inline-block}.sched-att,.sched-punch{margin-top:3px;font-family:var(--font-mono);font-size:10px}.sched-punch{color:var(--gray-500)}.sched-header-cell.sched-weekend{background:var(--navy-900)}.sched-cell.sched-weekend,.sched-cell.sched-weekend.sched-empty{background:#f8fafc}.cell-error{background:var(--red-50);color:var(--red-600);cursor:pointer;position:relative}.cell-error:hover{background:var(--red-100)}.fix-btn{font-family:var(--font-mono);font-size:9px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;background:var(--red-600);color:var(--white);padding:1px 5px;border-radius:3px;margin-left:6px;vertical-align:middle}.fix-dropdown{background:var(--white);border:1px solid var(--gray-200);border-radius:12px;box-shadow:0 12px 32px rgba(15,23,42,.12);min-width:280px;max-width:360px;padding:.9rem;animation:cardIn .15s ease}.fix-dropdown-header{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--gray-700);margin-bottom:.4rem}.popover-close{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;background:var(--gray-100);color:var(--gray-500);border-radius:6px;font-size:16px;line-height:1;cursor:pointer;flex-shrink:0}.popover-close:hover{background:var(--gray-200);color:var(--gray-700)}.fix-dropdown-list{overflow-y:auto;padding:4px}.fix-option{display:block;width:100%;padding:8px 12px;border:none;background:none;font-family:var(--font-mono);font-size:12px;border-radius:4px;transition:background .1s}.fix-option:hover{background:var(--teal-50);color:var(--teal-500)}.hidden{display:none!important}@media (max-width:768px){.header-inner{padding:0 1rem}.main-content{padding:1rem}.pipeline{flex-direction:column}.classes-layout,.tables-row{grid-template-columns:1fr}.summary-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}}.login-backdrop{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:var(--navy-900);background-image:radial-gradient(ellipse at 30% 20%,rgba(13,148,136,.08) 0,transparent 60%),radial-gradient(ellipse at 70% 80%,rgba(13,148,136,.05) 0,transparent 50%)}.login-card{width:100%;max-width:400px;margin:0 1rem;background:var(--white);border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.3);overflow:hidden;animation:cardIn .4s ease}.login-header{text-align:center;padding:2.5rem 2rem 1.5rem;background:var(--gray-50);border-bottom:1px solid var(--gray-200)}.login-header .brand-mark{display:inline-block;margin-bottom:1rem;font-size:16px;padding:6px 12px}.login-title{font-family:var(--font-display);font-size:22px;font-weight:700;color:var(--navy-800);margin-bottom:4px}.login-subtitle{font-size:13px;color:var(--gray-500)}.login-form{padding:1.5rem 2rem 2rem}.site-header{border-bottom:1px solid rgba(255,255,255,.08)}.header-inner{height:auto;min-height:78px;gap:1.5rem}.header-meta{flex-wrap:wrap;justify-content:flex-end;gap:.75rem 1rem}.header-meta-group{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}.header-chip{display:inline-flex;align-items:center;border-radius:999px;padding:.35rem .7rem;font-size:11px;font-weight:600;background:rgba(255,255,255,.08);color:var(--gray-200)}.header-chip-error{background:rgba(220,38,38,.18);color:#fecaca}.header-chip-warning{background:rgba(217,119,6,.18);color:#fde68a}.header-chip-ready{background:rgba(5,150,105,.18);color:#bbf7d0}.header-chip-muted{background:rgba(255,255,255,.08);color:var(--gray-300)}.header-chip-facility{background:rgba(99,102,241,.22);color:#c7d2fe;cursor:pointer;border:1px solid transparent;transition:border-color .15s}.header-chip-facility:hover{border-color:rgba(99,102,241,.5)}.header-facility-edit{display:inline-flex;align-items:center}.header-facility-input{font-size:11px;font-weight:600;padding:3px 8px;border-radius:4px;border:1px solid rgba(99,102,241,.5);background:rgba(0,0,0,.3);color:#c7d2fe;outline:none;width:100px}.header-chip-logout{background:rgba(255,255,255,.06);color:var(--gray-400);cursor:pointer;border:1px solid transparent;transition:color .15s,border-color .15s}.header-chip-logout:hover{color:#fca5a5;border-color:rgba(220,38,38,.3)}.app-shell{max-width:var(--content-max);margin:0 auto;padding:1.5rem 2rem 2rem;display:grid;grid-template-columns:1fr;grid-gap:1.5rem;gap:1.5rem}.shell-top{grid-column:1/-1;flex-direction:column}.shell-top,.shell-top-row{display:flex;gap:1rem;align-items:stretch}.shell-top-row .workflow-stepper{flex:1 1;min-width:0}.shell-top-row .workflow-actions{flex:0 0 auto}.workflow-support-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:1rem;gap:1rem;width:100%}.workflow-support-grid.no-review-items{grid-template-columns:minmax(0,1fr)}.shell-workflow-column{min-width:0;width:100%}.shell-rail,.shell-workflow-column{display:flex;flex-direction:column;gap:1rem}.shell-rail{position:-webkit-sticky;position:sticky;top:88px;align-self:start}.login-label{display:flex;flex-direction:column;gap:4px}.login-label-text{font-size:12px;font-weight:600;color:var(--gray-600);text-transform:uppercase;letter-spacing:.04em}.login-input{font-family:var(--font-body);font-size:14px;padding:10px 14px;border:1px solid var(--gray-300);border-radius:6px;color:var(--gray-800);background:var(--white);transition:border-color .2s,box-shadow .2s}.login-input:focus{outline:none;border-color:var(--teal-500);box-shadow:0 0 0 3px rgba(13,148,136,.1)}.login-input:disabled{background:var(--gray-100);cursor:not-allowed}.login-input::placeholder{color:var(--gray-400)}.login-button{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:.5rem;padding:12px;font-family:var(--font-body);font-size:14px;font-weight:600;color:var(--white);background:var(--teal-500);border:none;border-radius:6px;cursor:pointer;transition:background .2s}.login-button:hover:not(:disabled){background:var(--teal-400)}.login-button:disabled{opacity:.7;cursor:not-allowed}.login-spinner{width:16px;height:16px;border-width:2px;border-top-color:var(--white)}.login-error{padding:10px 14px;background:var(--red-50);border:1px solid var(--red-100);border-radius:6px;color:var(--red-600);font-size:13px;text-align:center}.login-hint{font-size:11px;color:var(--gray-400);margin-top:4px}.shell-main{min-width:0;display:flex;flex-direction:column;gap:1rem}.confirm-card,.rail-card,.stage-panel,.submission-card,.summary-card,.table-card,.validation-summary,.workflow-stepper{background:rgba(255,255,255,.88);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(148,163,184,.18);box-shadow:0 16px 40px rgba(15,23,42,.06)}.rail-card,.workflow-stepper{border-radius:18px;padding:1rem}.section-kicker{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--gray-500);font-weight:700;margin-bottom:.6rem}.workflow-stepper-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:.5rem;gap:.5rem}.workflow-step{min-width:0;display:grid;grid-template-columns:30px minmax(0,1fr);grid-gap:.7rem;gap:.7rem;text-align:left;border:1px solid var(--gray-200);background:linear-gradient(180deg,#fff,#f8fafc);border-radius:14px;padding:.85rem .8rem;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.workflow-step:hover{transform:translateY(-1px);border-color:rgba(13,148,136,.45);box-shadow:0 10px 25px rgba(15,23,42,.08)}.workflow-step.is-active{border-color:rgba(13,148,136,.65);box-shadow:inset 0 0 0 1px rgba(13,148,136,.15)}.workflow-step.is-complete .workflow-step-index,.workflow-step.is-complete .workflow-step-state{color:var(--green-600)}.workflow-step.is-blocked{border-color:rgba(220,38,38,.22);background:linear-gradient(180deg,#fff,#fff7f7)}.workflow-step-index{font-family:var(--font-mono);font-size:11px;font-weight:700;color:var(--teal-500);line-height:1;padding-top:.15rem}.workflow-step-title-row{display:flex;flex-direction:column;gap:.15rem;align-items:flex-start;min-width:0}.workflow-step-title{font-weight:700;color:var(--gray-800);min-width:0;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.18}.workflow-step-state{display:inline-flex;align-items:center;border-radius:999px;border:1px solid rgba(148,163,184,.22);background:rgba(255,255,255,.82);padding:.18rem .45rem;font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:var(--gray-500);white-space:nowrap;flex-shrink:0}.workflow-step-detail{margin-top:.35rem;font-size:11px;color:var(--gray-500);line-height:1.35;white-space:normal;overflow:visible}.rail-status{font-size:15px;font-weight:600;color:var(--navy-800);line-height:1.45}.audit-values,.confirm-list,.parse-grid,.rail-list,.rail-meta,.review-toolbar-meta,.section-metrics{display:flex;flex-wrap:wrap;gap:.65rem}.confirm-note,.dependency-note,.metric-chip,.parse-card,.rail-meta span,.review-pill,.submission-note{border-radius:12px;background:var(--gray-50);border:1px solid var(--gray-200);color:var(--gray-700)}.metric-chip,.rail-meta span,.review-pill{padding:.45rem .7rem;font-size:12px;font-weight:600}.rail-list{flex-direction:column;gap:.6rem;color:var(--gray-600);font-size:13px;line-height:1.5}.summary-section{display:flex;flex-direction:column;gap:.8rem}.summary-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.summary-card{border-radius:16px;min-height:94px;-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit;width:100%;text-align:left}.summary-card .card-value{font-size:30px}.summary-card .card-label{color:var(--gray-500)}.stage-panel,.workspace-shell{border-radius:20px}.workspace-shell{display:flex;flex-direction:column;gap:1rem}.stage-panel{padding:1.35rem}.panel-header h2{font-family:var(--font-display);font-size:2rem;line-height:1.1;color:var(--navy-800)}.panel-desc{margin-top:.6rem;color:var(--gray-600);font-size:14px;line-height:1.6}.confirm-card,.parse-card{flex:1 1 220px;padding:1rem}.confirm-card h3,.parse-card strong{display:block;color:var(--gray-800);margin-bottom:.35rem}.confirm-note,.parse-card span,.submission-note{font-size:13px;color:var(--gray-600);line-height:1.5}.section-nav{display:flex;flex-wrap:wrap;gap:.5rem}.section-tab{border:1px solid var(--gray-200);background:rgba(255,255,255,.82);color:var(--gray-600);border-radius:999px;padding:.55rem .9rem;font-weight:600;font-size:12px;cursor:pointer}.section-tab.is-active{background:var(--navy-800);color:var(--white);border-color:var(--navy-800)}.parse-grid{margin-top:1rem}.parse-card{padding:1rem 1.1rem}.parse-label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--gray-500);margin-bottom:.35rem}.dependency-note{margin-top:1rem;padding:.9rem 1rem;color:var(--gray-700)}.review-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:1rem}.search-field{display:flex;flex-direction:column;gap:.45rem;flex:1 1 320px}.search-field span{font-size:12px;font-weight:700;color:var(--gray-600);text-transform:uppercase;letter-spacing:.08em}.search-field input{border:1px solid var(--gray-200);border-radius:12px;padding:.8rem .95rem;font:inherit;background:#fff}.table-subtitle{margin-top:.25rem;font-size:12px;color:var(--gray-500);max-width:54ch}.search-field-label-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.review-pill-compact{padding:.15rem .5rem;font-size:11px;border-radius:8px;background:#f0fdf4;border-color:#bbf7d0;color:#166534}.review-pill-warning{background:#fff7ed;border-color:#fed7aa}.employee-card .fix-dropdown{width:min(360px,44vw);background:var(--white);border:1px solid var(--gray-200);border-radius:16px;box-shadow:0 20px 50px rgba(15,23,42,.18);padding:.9rem}.fix-dropdown-header{font-weight:700;color:var(--gray-800)}.fix-dropdown-note{margin-top:.3rem;font-size:12px;color:var(--gray-500)}.fix-dropdown-list{display:flex;flex-direction:column;gap:.4rem;margin-top:.75rem;max-height:240px;overflow:auto}.fix-option{border:1px solid var(--gray-200);background:var(--gray-50);padding:.7rem .8rem;border-radius:10px;text-align:left;cursor:pointer;color:var(--gray-700)}.fix-option.is-selected,.fix-option:hover{border-color:rgba(13,148,136,.4);background:var(--teal-50)}.bulk-toggle{display:flex;gap:.55rem;align-items:flex-start;margin-top:.75rem;font-size:12px;color:var(--gray-600)}.fix-commit,.primary-button{margin-top:.8rem;border:none;background:var(--navy-800);color:var(--white);border-radius:12px;padding:.8rem 1rem;font-weight:700;cursor:pointer}.fix-commit:disabled,.primary-button:disabled{opacity:.55;cursor:not-allowed}.inline-fix-btn{margin-left:.45rem;border:none;background:rgba(13,148,136,.12);color:var(--teal-500);border-radius:999px;padding:.18rem .45rem;font-size:11px;font-weight:700;cursor:pointer}.review-toolbar-meta{justify-content:flex-end}.validation-summary{border-radius:18px;padding:1rem 1.1rem;display:flex;flex-direction:column;gap:.25rem}.validation-summary strong{color:var(--gray-800);font-size:15px}.vs-good{background:linear-gradient(180deg,#f0fdf4,#ecfdf5);border-color:#bbf7d0}.vs-issues{background:linear-gradient(180deg,#fff7ed,#fffbeb);border-color:#fed7aa}.group-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.75rem}.vgroup-title{font-family:var(--font-body);font-size:14px;font-weight:700;color:var(--gray-800)}.vgroup-count{font-family:var(--font-mono);font-size:12px;font-weight:700;color:var(--gray-500)}.entity-rank-list{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:.8rem}.entity-rank-pill{padding:.35rem .6rem;border-radius:999px;background:var(--gray-50);border:1px solid var(--gray-200);color:var(--gray-600);font-size:12px;font-weight:600}.issue-row{display:flex;flex-wrap:wrap;gap:.5rem;align-items:flex-start;padding:.8rem .9rem;border-radius:12px;border:1px solid var(--gray-200);background:#fff}.issue-error{background:#fffafa;border-color:#fecaca}.issue-warning{background:#fffdf7;border-color:#fde68a}.issue-action-edit{background:rgba(13,148,136,.08)}.issue-severity{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;padding:.22rem .45rem;border-radius:999px;background:var(--gray-100);color:var(--gray-600)}.empty-state,.empty-state-good{padding:1rem;border-radius:14px;border:1px dashed var(--gray-300);color:var(--gray-600);background:rgba(255,255,255,.75)}.confirm-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));grid-gap:1rem;gap:1rem;margin:1rem 0}.confirm-card{border-radius:18px}.confirm-list{flex-direction:column}.confirm-list li{list-style:none;padding-left:0}.confirm-check,.confirm-list li{font-size:13px;color:var(--gray-700)}.confirm-check{display:flex;gap:.7rem;align-items:flex-start;margin-top:.8rem}.confirm-note{margin-top:.8rem;padding:.8rem}.confirm-status{margin-top:.85rem;font-weight:700;color:var(--navy-800)}.confirm-submit-button{margin-top:.95rem}.confirm-submit-button:disabled{background:var(--gray-300);border-color:var(--gray-300);color:var(--gray-600)}.confirm-submit-note{margin-top:.45rem;font-size:12px;color:var(--gray-500)}.audit-list{display:flex;flex-direction:column;gap:.65rem}.audit-row{border:1px solid var(--gray-200);background:#fff;border-radius:14px;padding:.85rem}.audit-main{color:var(--gray-800);font-size:13px}.audit-values{margin-top:.4rem}.audit-values span{font-family:var(--font-mono);font-size:12px;color:var(--gray-600)}.audit-meta{margin-top:.35rem;font-size:12px;color:var(--gray-500)}.submission-card{border-radius:18px;padding:1.2rem}.submission-ready{background:linear-gradient(180deg,#f0fdf4,#ecfdf5);border-color:#bbf7d0}.submission-blocked{background:linear-gradient(180deg,#fff7ed,#fff);border-color:#fed7aa}.submission-status{font-weight:700;color:var(--gray-800);font-size:16px}.submission-copy{margin-top:.5rem;color:var(--gray-600);line-height:1.6}.submission-actions{margin-top:1rem;display:flex;flex-direction:column;gap:.65rem}.v-entity,.v-field{font-family:var(--font-mono);font-size:11px;font-weight:700;padding:.18rem .45rem;border-radius:999px;background:var(--gray-100);color:var(--gray-700)}.v-message{color:var(--gray-700);flex:1 1 280px}@media (max-width:1100px){.app-shell{grid-template-columns:1fr}.shell-rail{position:static}}@media (max-width:720px){.app-shell,.header-inner{padding-left:1rem;padding-right:1rem}.workflow-step{grid-template-columns:32px minmax(0,1fr)}}.submission-steps{display:flex;flex-direction:column;gap:2px;margin-top:.75rem}.submission-step{display:flex;align-items:flex-start;gap:.75rem;padding:.65rem .85rem;border-radius:10px;transition:background .15s}.submission-step--running{background:rgba(13,148,136,.06)}.submission-step--success{background:rgba(5,150,105,.04)}.submission-step--error{background:rgba(220,38,38,.05)}.submission-step--skipped{opacity:.4}.submission-step-indicator{flex-shrink:0;width:22px;height:22px;display:flex;align-items:center;justify-content:center;margin-top:1px}.step-dot{display:block;width:10px;height:10px;border-radius:50%}.step-dot--pending{background:var(--gray-300)}.step-dot--running{background:var(--teal-500);box-shadow:0 0 0 3px rgba(13,148,136,.2);animation:pulse-dot 1.2s ease-in-out infinite}.step-dot--success{background:var(--green-600)}.step-dot--error{background:var(--red-600)}.step-dot--skipped{background:var(--gray-300);opacity:.5}@keyframes pulse-dot{0%,to{box-shadow:0 0 0 3px rgba(13,148,136,.2)}50%{box-shadow:0 0 0 6px rgba(13,148,136,.08)}}.submission-step-body{flex:1 1;min-width:0}.submission-step-header{display:flex;align-items:baseline;gap:.5rem;flex-wrap:wrap}.submission-step-label{font-weight:600;font-size:13.5px;color:var(--gray-800)}.submission-step-detail{font-family:var(--font-mono);font-size:11.5px;color:var(--gray-500)}.submission-step-count{font-size:12px;color:var(--gray-500)}.submission-step-badge{margin-left:auto;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.03em;padding:.15rem .45rem;border-radius:6px}.submission-step-badge--pending{color:var(--gray-500);background:var(--gray-100)}.submission-step-badge--running{color:var(--teal-500);background:rgba(13,148,136,.1)}.submission-step-badge--success{color:var(--green-600);background:var(--green-100)}.submission-step-badge--error{color:var(--red-600);background:var(--red-100)}.submission-step-badge--skipped{color:var(--gray-400);background:var(--gray-100)}.submission-step-error{margin-top:.3rem;font-size:12.5px;color:var(--red-600);line-height:1.4}.submission-step-warn{color:var(--amber-600)}.submission-done-banner{margin-top:1rem;padding:.75rem 1rem;border-radius:10px;background:linear-gradient(180deg,#f0fdf4,#ecfdf5);border:1px solid #bbf7d0;color:var(--green-600);font-weight:600;font-size:14px;text-align:center}.site-header{background:linear-gradient(180deg,rgba(12,18,34,.98),rgba(17,26,46,.98)),linear-gradient(90deg,rgba(13,148,136,.16),transparent 40%);border-bottom:1px solid rgba(148,163,184,.18)}.header-inner{min-height:0;padding-top:1rem;padding-bottom:1rem;display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);align-items:flex-start}.header-title-block{display:flex;flex-direction:column;gap:.8rem}.header-context-grid{display:grid;grid-template-columns:auto auto auto 1fr auto;grid-gap:.75rem;gap:.75rem;align-items:flex-start}.header-actions,.header-context-card{position:relative;min-height:0;border-radius:16px;border:1px solid rgba(148,163,184,.18);background:rgba(255,255,255,.05);padding:.85rem 1.5rem}.header-actions{display:flex;align-items:center;justify-content:flex-end;min-height:0;border:none;background:transparent;padding:0}.header-context-label{display:block;margin-bottom:.45rem;font-size:10px;line-height:1.2;letter-spacing:.12em;text-transform:uppercase;color:var(--gray-400);font-family:var(--font-mono)}.header-context-value{display:block;color:var(--white);font-size:14px;font-weight:600;line-height:1.35;overflow-wrap:anywhere;word-break:break-word}.header-context-meta{display:block;margin-top:.35rem;color:var(--gray-400);font-size:12px;line-height:1.4;overflow-wrap:anywhere}.header-context-card.has-file{min-width:220px;padding-right:5rem;border-color:rgba(13,148,136,.35);background:rgba(13,148,136,.08)}.header-workbook-status{position:absolute;top:.65rem;right:.75rem;display:inline-flex;align-items:center;gap:.35rem;color:var(--teal-100);font-size:11px;font-weight:600}.header-action-button{border:1px solid rgba(148,163,184,.18);background:transparent;color:var(--gray-200);border-radius:999px;padding:.5rem .8rem;font-size:12px;font-weight:600;cursor:pointer}.header-action-button:hover{border-color:rgba(248,113,113,.4);color:#fecaca}.app-shell{padding-top:1.25rem}.app-shell.has-workbook{grid-template-columns:1fr}.workflow-actions{display:flex;flex-direction:column;gap:.8rem;padding:.95rem 1rem;border-radius:18px;background:rgba(255,255,255,.92);border:1px solid rgba(148,163,184,.18);box-shadow:0 16px 40px rgba(15,23,42,.06)}.workflow-actions-group{min-width:0}.workflow-actions-row{display:flex;flex-direction:column;gap:.55rem}.workflow-action{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--gray-200);background:var(--white);color:var(--gray-700);border-radius:999px;padding:.52rem .82rem;font-size:12px;font-weight:600;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,color .18s ease}.workflow-action:hover:not(:disabled){border-color:rgba(13,148,136,.4);box-shadow:0 8px 22px rgba(15,23,42,.08);color:var(--teal-500)}.workflow-action:disabled{opacity:.45;cursor:not-allowed}.workflow-action.is-primary{background:var(--navy-800);color:var(--white);border-color:var(--navy-800)}.workflow-action.is-primary:hover:not(:disabled){color:var(--white);box-shadow:0 10px 24px rgba(15,23,42,.12)}.review-queue-card{padding:1rem 1.05rem;border-radius:18px;background:rgba(255,255,255,.92);border:1px solid rgba(148,163,184,.18);box-shadow:0 16px 40px rgba(15,23,42,.06);display:flex;flex-direction:column;gap:.7rem;width:100%}.review-queue-card.is-ready{border-color:rgba(5,150,105,.2)}.review-queue-card.is-issues{border-color:rgba(217,119,6,.2)}.review-queue-head{display:flex;flex-wrap:wrap;gap:.45rem;align-items:baseline;color:var(--gray-800)}.review-queue-metrics{display:flex;flex-wrap:wrap;gap:.5rem}.review-queue-pill{display:inline-flex;align-items:center;gap:.4rem;border-radius:999px;border:1px solid var(--gray-200);background:var(--white);color:var(--gray-700);padding:.42rem .65rem;font-size:12px;font-weight:600;font-family:inherit;line-height:1}button.review-queue-pill{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}button.review-queue-pill:hover{filter:brightness(.97);box-shadow:0 4px 10px rgba(15,23,42,.08)}button.review-queue-pill:active{transform:translateY(1px)}button.review-queue-pill:focus-visible{outline:2px solid var(--blue-500,#3b82f6);outline-offset:2px}.review-queue-pill strong{font-family:var(--font-mono);font-size:11px}.review-queue-pill.tone-error{border-color:rgba(220,38,38,.16);background:var(--red-50);color:var(--red-600)}.review-queue-pill.tone-warning{border-color:rgba(217,119,6,.18);background:var(--amber-50);color:var(--amber-600)}.review-queue-pill.tone-success{border-color:rgba(5,150,105,.18);background:var(--green-50);color:var(--green-600)}.review-queue-copy{color:var(--gray-600);font-size:12px;line-height:1.45}.review-queue-action{width:100%}@media (max-width:1180px){.header-inner{grid-template-columns:1fr}.shell-top{flex-direction:column;align-items:flex-start}.header-context-grid,.workflow-stepper-list{grid-template-columns:repeat(2,minmax(0,1fr))}.shell-top-row{flex-direction:column}.app-shell.has-workbook{grid-template-columns:1fr}}@media (max-width:768px){.header-context-grid,.workflow-stepper-list{grid-template-columns:1fr}}.chat-toggle{position:fixed;bottom:1.5rem;right:1.5rem;z-index:9999;width:52px;height:52px;border-radius:50%;border:none;background:var(--navy-800);color:var(--white);cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(12,18,34,.3);transition:background .15s,transform .15s}.chat-toggle:hover{background:var(--navy-700);transform:scale(1.05)}.chat-panel{position:fixed;bottom:5.5rem;right:1.5rem;z-index:9998;width:520px;max-width:calc(100vw - 2rem);height:600px;max-height:calc(100vh - 8rem);border-radius:12px;background:var(--white);border:1px solid var(--gray-200);box-shadow:0 12px 40px rgba(12,18,34,.18);display:flex;flex-direction:column;overflow:hidden;animation:chat-slide-up .2s ease-out}@keyframes chat-slide-up{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.chat-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;background:var(--navy-900);color:var(--white);flex-shrink:0}.chat-header-title{display:flex;align-items:center;gap:.5rem;font-family:var(--font-body);font-weight:600;font-size:.875rem}.chat-model-badge{font-weight:500;background:var(--teal-500);color:var(--white);padding:2px 6px;border-radius:4px;letter-spacing:.02em}.chat-experimental-badge,.chat-model-badge{font-size:.625rem;font-family:var(--font-mono)}.chat-experimental-badge{font-weight:700;background:#fde68a;color:#78350f;border:1px solid #f59e0b;padding:1px 6px;border-radius:4px;letter-spacing:.06em;text-transform:uppercase;cursor:help}.chat-header-actions{display:flex;align-items:center;gap:.125rem}.chat-key-clear{background:none;border:none;color:var(--gray-400);cursor:pointer;padding:4px;border-radius:4px;display:flex;align-items:center;transition:color .15s}.chat-key-clear:hover:not(:disabled){color:var(--white)}.chat-key-clear:disabled{opacity:.35;cursor:not-allowed}.chat-body{flex:1 1;display:flex;flex-direction:column;overflow:hidden}.chat-key-form{justify-content:center;padding:2rem 1.5rem;gap:1.25rem;height:100%}.chat-key-form,.chat-key-prompt{display:flex;flex-direction:column;align-items:center}.chat-key-prompt{text-align:center;gap:.5rem}.chat-key-prompt h3{font-family:var(--font-display);font-size:1.125rem;font-weight:600;color:var(--navy-900);margin:0}.chat-key-prompt p{font-size:.8125rem;color:var(--gray-500);line-height:1.5;max-width:280px}.chat-key-input-row{display:flex;gap:.5rem;width:100%}.chat-key-input{flex:1 1;font-family:var(--font-mono);font-size:.8125rem;padding:.625rem .75rem;border:1px solid var(--gray-300);border-radius:8px;background:var(--gray-50);color:var(--gray-800);outline:none;transition:border-color .15s}.chat-key-input:focus{border-color:var(--teal-500);box-shadow:0 0 0 3px rgba(13,148,136,.1)}.chat-key-submit{font-family:var(--font-body);font-size:.8125rem;font-weight:600;padding:.625rem 1rem;border:none;border-radius:8px;background:var(--teal-500);color:var(--white);cursor:pointer;transition:background .15s;white-space:nowrap}.chat-key-submit:hover:not(:disabled){background:var(--teal-400)}.chat-key-submit:disabled{opacity:.5;cursor:not-allowed}.chat-key-hint{font-size:.75rem;color:var(--gray-400)}.chat-key-hint a{color:var(--teal-500);text-decoration:none}.chat-key-hint a:hover{text-decoration:underline}.chat-key-hint code{font-family:var(--font-mono);font-size:.7rem;background:var(--gray-100);color:var(--gray-700);padding:1px 5px;border-radius:4px}.chat-auth-toggle{display:flex;width:100%;background:var(--gray-100);border-radius:8px;padding:3px;gap:2px}.chat-auth-tab{flex:1 1;font-family:var(--font-body);font-size:.75rem;font-weight:600;padding:.4rem .5rem;border:none;border-radius:6px;background:transparent;color:var(--gray-500);cursor:pointer;transition:background .15s,color .15s}.chat-auth-tab.active{background:var(--white);color:var(--navy-900);box-shadow:0 1px 3px rgba(12,18,34,.08)}.chat-auth-tab:hover:not(.active){color:var(--navy-800)}.chat-messages{flex:1 1;min-width:0;overflow-y:auto;overflow-x:hidden;padding:1rem;display:flex;flex-direction:column;gap:.75rem}.chat-welcome{background:var(--teal-50);border:1px solid var(--teal-100);border-radius:10px;padding:.875rem 1rem;font-size:.8125rem;color:var(--gray-700);line-height:1.55}.chat-msg{display:flex;max-width:85%}.chat-msg-user{align-self:flex-end}.chat-msg-assistant{align-self:flex-start}.chat-msg-content{min-width:0;max-width:100%;padding:.625rem .875rem;border-radius:10px;font-size:.8125rem;line-height:1.55;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere}.chat-msg{min-width:0}.chat-msg-user .chat-msg-content{background:var(--navy-800);color:var(--white);border-bottom-right-radius:3px}.chat-msg-assistant .chat-msg-content{background:var(--gray-100);color:var(--gray-800);border-bottom-left-radius:3px}.chat-error{background:var(--red-50);border:1px solid var(--red-100);color:var(--red-600);font-size:.75rem;padding:.5rem .75rem;border-radius:8px}.chat-md{font-size:.8125rem;line-height:1.55;color:var(--gray-800);min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word}.chat-md>:first-child{margin-top:0}.chat-md>:last-child{margin-bottom:0}.chat-md p{margin:0 0 .5rem}.chat-md h1,.chat-md h2,.chat-md h3,.chat-md h4,.chat-md h5,.chat-md h6{font-family:var(--font-display);font-weight:600;color:var(--navy-900);line-height:1.3;margin:.75rem 0 .375rem}.chat-md h1{font-size:1rem}.chat-md h2{font-size:.9375rem}.chat-md h3{font-size:.875rem}.chat-md h4,.chat-md h5,.chat-md h6{font-size:.8125rem}.chat-md ol,.chat-md ul{margin:0 0 .5rem;padding-left:1.25rem}.chat-md li{margin:.125rem 0}.chat-md li>p{margin:0}.chat-md a{color:var(--teal-500);text-decoration:underline;text-underline-offset:2px}.chat-md a:hover{color:var(--teal-400)}.chat-md strong{color:var(--navy-900);font-weight:600}.chat-md em{font-style:italic}.chat-md blockquote{margin:.5rem 0;padding:.25rem .625rem;border-left:3px solid var(--gray-200);color:var(--gray-600)}.chat-md code{font-size:.75rem;background:var(--gray-100);color:var(--navy-900);padding:1px 5px;border-radius:4px}.chat-md code,.chat-md pre{font-family:var(--font-mono);word-break:break-word}.chat-md pre{margin:.5rem 0;padding:.625rem .75rem;background:var(--navy-900);color:#e6edf3;border-radius:6px;white-space:pre-wrap;overflow-wrap:anywhere;overflow-x:hidden;font-size:.7rem;line-height:1.5;max-height:280px;max-width:100%}.chat-md pre code{background:transparent;color:inherit;padding:0;border-radius:0;font-size:inherit;word-break:normal}.chat-md hr{border:none;border-top:1px solid var(--gray-200);margin:.625rem 0}.chat-md table{display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:.5rem 0;font-size:.75rem}.chat-md td,.chat-md th{border:1px solid var(--gray-200);padding:.25rem .5rem;text-align:left;vertical-align:top}.chat-md th{background:var(--gray-50);font-weight:600;color:var(--navy-900)}.chat-md img{max-width:100%;border-radius:6px}.chat-msg-assistant .chat-msg-content{white-space:normal}.chat-turn-divider{position:relative;display:flex;align-items:center;justify-content:center;margin:.875rem 0 .25rem;pointer-events:none}.chat-turn-divider:after,.chat-turn-divider:before{content:"";flex:1 1;height:1px;background:linear-gradient(to right,transparent,var(--gray-200),transparent)}.chat-turn-divider:after{background:linear-gradient(to left,transparent,var(--gray-200),transparent)}.chat-tools-group{margin:0 0 .5rem;border:1px solid var(--gray-200);border-radius:8px;background:var(--gray-50);overflow:hidden}.chat-tools-group-open{background:var(--white)}.chat-tools-group-head{display:flex;align-items:center;gap:.4rem;width:100%;min-width:0;padding:.5rem .625rem;background:none;border:none;font-family:var(--font-body);font-size:.75rem;color:var(--gray-700);cursor:pointer;text-align:left;flex-wrap:nowrap;white-space:nowrap;overflow:hidden}.chat-tools-group-head>*{flex-shrink:0}.chat-tools-group-head .chat-tools-group-summary{flex-shrink:1;min-width:0}.chat-tools-group-head:hover{background:var(--gray-100)}.chat-tools-group-title{font-weight:600;color:var(--navy-800);letter-spacing:.01em}.chat-tools-group-count{font-family:var(--font-mono);font-size:.625rem;font-weight:600;background:var(--gray-200);color:var(--gray-700);padding:1px 6px;border-radius:999px;letter-spacing:.04em}.chat-tools-group-open .chat-tools-group-count{background:var(--teal-100,rgba(13,148,136,.12));color:var(--teal-500)}.chat-tools-group-summary{flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-mono);font-size:.6875rem;color:var(--gray-500);text-align:right}.chat-tools-group-body{padding:.375rem .5rem .5rem;border-top:1px solid var(--gray-200);background:var(--white);display:flex;flex-direction:column;gap:.375rem}.chat-tools-group-body .chat-tool{margin:0;background:var(--gray-50)}.chat-tool{margin:0 0 .5rem;background:var(--white);border:1px solid var(--gray-200);border-radius:8px;padding:.5rem .625rem;font-size:.75rem}.chat-tool-error{border-color:var(--red-100);background:var(--red-50)}.chat-tool-head{display:flex;align-items:center;gap:.375rem;width:100%;min-width:0;font-family:var(--font-mono);font-weight:600;font-size:.6875rem;color:var(--navy-800);background:none;border:none;padding:0;margin:0;cursor:pointer;text-align:left;white-space:nowrap;overflow:hidden}.chat-tool-head:hover .chat-tool-name{color:var(--navy-900)}.chat-tool-expanded .chat-tool-head{margin-bottom:.375rem}.chat-tool-caret{display:inline-block;color:var(--gray-400);font-size:.875rem;line-height:1;transition:transform .15s;transform:rotate(0deg)}.chat-tool-caret.open{transform:rotate(90deg)}.chat-tool-name{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--navy-800)}.chat-tool-spin{color:var(--gray-400);font-size:.875rem}.chat-tool-badge{font-size:.625rem;font-weight:700;padding:1px 5px;border-radius:4px;background:var(--red-100);color:var(--red-600);letter-spacing:.04em;text-transform:uppercase}.chat-tool-input,.chat-tool-result{margin:.25rem 0 0;font-family:var(--font-mono);font-size:.6875rem;color:var(--gray-700);background:var(--gray-50);border-radius:5px;padding:.375rem .5rem;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;max-height:180px;max-width:100%;overflow-y:auto;overflow-x:hidden;line-height:1.4}.chat-tool-result{background:var(--gray-100);color:var(--gray-800)}.chat-tool-error .chat-tool-result{background:rgba(220,38,38,.06);color:var(--red-600)}.chat-input-area{display:flex;align-items:flex-end;gap:.5rem;padding:.75rem 1rem;border-top:1px solid var(--gray-200);background:var(--white);flex-shrink:0}.chat-input{flex:1 1;font-family:var(--font-body);font-size:.8125rem;padding:.5rem .75rem;border:1px solid var(--gray-200);border-radius:8px;background:var(--gray-50);color:var(--gray-800);outline:none;resize:none;max-height:120px;line-height:1.4;transition:border-color .15s}.chat-input:focus{border-color:var(--teal-500)}.chat-input::placeholder{color:var(--gray-400)}.chat-send{width:36px;height:36px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border:none;border-radius:8px;background:var(--teal-500);color:var(--white);cursor:pointer;transition:background .15s}.chat-send:hover:not(:disabled){background:var(--teal-400)}.chat-send:disabled{background:var(--gray-300);cursor:not-allowed}.chat-send.chat-stop{background:var(--navy-800);position:relative}.chat-send.chat-stop:before{content:"";position:absolute;inset:-3px;border-radius:10px;border:2px solid var(--teal-500);opacity:.55;animation:chat-stop-pulse 1.6s ease-in-out infinite;pointer-events:none}.chat-send.chat-stop:hover{background:var(--navy-900)}@keyframes chat-stop-pulse{0%{opacity:.55;transform:scale(1)}50%{opacity:.15;transform:scale(1.08)}to{opacity:.55;transform:scale(1)}}