:root{--ink:#202437;--muted:#5b6274;--line:#dfe2ea;--paper:#fff;--bg:#f6f7fb;--blue:#3b5cde;--blue-dark:#2e46b8;--green:#19ab63;--red:#c2313a;--amber:#ba7517;--purple:#572fb4;--gradient:linear-gradient(135deg,var(--blue),var(--purple))}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}.wrap{max-width:1500px;margin:auto;padding:16px 20px}.header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;border-bottom:3px solid transparent;border-image:var(--gradient) 1;padding-bottom:8px}.title{font-size:26px;font-weight:850;letter-spacing:-.01em}.sub,.muted{color:var(--muted);font-size:12px}.nav,.actions,.filters{display:flex;gap:8px;flex-wrap:wrap;align-items:end}.nav{margin:14px 0}.btn{border:1px solid #c9cdd6;background:#fff;border-radius:9px;padding:9px 13px;font-weight:700;cursor:pointer;color:#202437;text-decoration:none;transition:background-color .12s,border-color .12s,transform .08s,box-shadow .12s}.btn:hover{background:#eef0f5;border-color:#aeb4c6}.btn:active{transform:translateY(1px)}.btn:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.btn.primary{background:var(--blue);color:#fff;border-color:var(--blue)}.btn.primary:hover{background:var(--blue-dark);border-color:var(--blue-dark)}.btn.danger{color:var(--red);border-color:#d9a6a6}.btn.danger:hover{background:#fbeeee}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:11px;margin:10px 0;box-shadow:0 8px 24px rgba(0,0,0,.035)}.field{display:flex;flex-direction:column;gap:5px;min-width:145px}.field label{font-size:11px;text-transform:uppercase;font-weight:800;color:var(--muted)}input,select,textarea{border:1px solid #c9cdd6;border-radius:8px;padding:9px;background:#fff;font:inherit;transition:border-color .12s,box-shadow .12s}textarea{min-height:70px}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(24,95,165,.15)}.tableWrap{overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fff;max-height:68vh}table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px;white-space:nowrap}th,td{padding:9px 10px;border-bottom:1px solid #e4e7ee;text-align:left;vertical-align:top}th{position:sticky;top:0;background:#eef0f5;color:#5b6274;text-transform:uppercase;font-size:10px;letter-spacing:.3px;z-index:3}tbody tr:hover td{background:#f7f8fc}.sticky1{position:sticky;left:0;background:#fff;z-index:2}.sticky2{position:sticky;left:150px;background:#fff;z-index:2}.pill{display:inline-block;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:800;background:#eee}.status-ready,.status-exceptional,.status-exceeds{background:#e3f7ec;color:#0f7a49}.status-failed,.status-missing-attendance,.status-intervention{background:#fce8e8;color:#8b1f1f}.status-pending,.status-partial,.status-stale,.status-watch{background:#fff2cc;color:#7a4a05}.status-no-data,.status-not-rated{background:#eef0f5;color:#5b6274}.status-meets{background:#e8ecfc;color:#2e46b8}
.status-active{background:#e3f7ec;color:#0f7a49}
.status-resigned,.status-terminated,.status-inactive{background:#eef0f5;color:#5b6274}
.status-suspended{background:#fce8e8;color:#8b1f1f}
/* Dashboard landing page - the first thing signed-in users see, so the hero gets real visual
   weight (gradient, glow) while everything below it reuses the app's existing card/panel/pill
   language rather than inventing a second design system. */
.dashboardHero{background:var(--gradient);border-radius:18px;padding:22px 24px;color:#fff;box-shadow:0 16px 36px rgba(59,92,222,.25);position:relative;overflow:hidden}
.dashboardHero::after{content:'';position:absolute;top:-60px;right:-40px;width:200px;height:200px;border-radius:50%;background:rgba(255,255,255,.08);pointer-events:none}
.dashboardHero::before{content:'';position:absolute;bottom:-70px;right:80px;width:140px;height:140px;border-radius:50%;background:rgba(255,255,255,.06);pointer-events:none}
.dashboardGreeting{font-size:25px;font-weight:850;letter-spacing:-.01em;position:relative}
.dashboardDate{font-size:13px;opacity:.85;margin-top:3px;position:relative}
.dashboardStatusChip{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.32);border-radius:999px;padding:6px 14px;font-size:12px;font-weight:800;margin-top:13px;position:relative}
.dashboardStatusChip .dot{width:8px;height:8px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 3px rgba(74,222,128,.25)}
.dashboardStatusChip.offline .dot{background:rgba(255,255,255,.55);box-shadow:none}
.dashboardGrid{display:grid;grid-template-columns:1.3fr 1fr;gap:12px;margin-top:12px}
@media(max-width:900px){.dashboardGrid{grid-template-columns:1fr}}
.dashboardPanel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:13px;box-shadow:0 8px 24px rgba(0,0,0,.035)}
.dashboardPanelTitle{font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.4px;color:var(--muted);margin-bottom:9px}
.attentionRow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border-radius:10px;cursor:pointer;transition:background .12s}
.attentionRow:hover{background:var(--bg)}
.attentionEmpty{color:var(--muted);font-size:13px;text-align:center;padding:20px 0}
.dashboardQuickLinks{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
/* Header account menu - collapses Signed-in-as/View As/Status Wall/Spotlight Wall/Refresh/
   Change Password/Log Out (all previously always-visible, spread across several wrapped rows)
   behind one click, matching how Slack/Linear/Zendesk-style tools keep the header to a single
   compact row and tuck account-ish actions into one menu instead of a wall of buttons. */
.headerMenu{position:relative}
.headerMenuPanel{position:absolute;top:calc(100% + 6px);right:0;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 32px rgba(32,36,55,.15);padding:8px;min-width:230px;z-index:50;display:flex;flex-direction:column;gap:2px}
.headerMenuWhoami{padding:6px 8px 8px;border-bottom:1px solid var(--line);margin-bottom:4px;font-size:12px}
.headerMenuPanel .field{padding:4px 8px 8px}
.headerMenuItem{display:flex;align-items:center;gap:8px;padding:8px;border-radius:8px;border:none;background:none;text-align:left;font-weight:600;font-size:13px;color:var(--ink);text-decoration:none;cursor:pointer;width:100%}
.headerMenuItem:hover{background:var(--bg)}
.headerMenuDanger{color:var(--red)}
.headerMenuDanger:hover{background:#fce8e8}
/* Team Attendance grid - a frozen employee column needs a visible edge once the grid scrolls
   under it, otherwise day cells appear to slide underneath with no boundary. */
#teamAttendanceView .sticky1{box-shadow:2px 0 4px rgba(32,36,55,.05)}
/* The day-code <select> had no width constraint, so it stretched to fit its widest option text
   ("Work From Home") - that alone was inflating every column and row. A day cell can also hold
   several controls at once (code select + minutes input, or + a location select, or + a reason
   input + attach button) - those were flowing inline and overlapping once the cell narrowed.
   display:flex on the <td> itself broke the table's row layout, so instead each control is
   forced to its own block-level line (normal document flow, safe inside a table cell) rather
   than changing what kind of box the cell itself is. */
#teamAttendanceView td,#teamAttendanceView th{padding:6px 7px}
#teamAttendanceView td[class^="att-"],#teamAttendanceView td[class*=" att-"]{text-align:center;font-weight:700;font-size:11px;letter-spacing:.2px;min-width:100px}
#teamAttendanceView td>select,#teamAttendanceView td>input,#teamAttendanceView td>button.att-attach-btn{display:block;width:100%;box-sizing:border-box;margin:0 0 3px}
#teamAttendanceView td>select{padding:5px 4px;font-size:11px;text-align:center;text-align-last:center}
#teamAttendanceView .att-minutes-late,#teamAttendanceView .att-location,#teamAttendanceView .att-reason{font-size:10px;padding:3px 5px}
#teamAttendanceView td>:last-child{margin-bottom:0}.message{padding:11px 13px;border-radius:10px;margin:12px 0;background:#edf4fb;color:#174b78}.message.error{background:#fce8e8;color:#8b1f1f}.message.ok{background:#e3f7ec;color:#0f7a49}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin:10px 0}.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;transition:transform .12s,box-shadow .12s}.card:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(0,0,0,.06)}.card .label{text-transform:uppercase;color:#5b6274;font-size:10px;font-weight:800}.card .value{font-size:28px;font-weight:850;margin:6px 0}.modal{position:fixed;inset:0;background:rgba(0,0,0,.42);display:grid;place-items:center;z-index:20}.modal[hidden]{display:none}.dialog{background:#fff;border-radius:16px;padding:20px;width:min(900px,94vw);max-height:90vh;overflow:auto}.formGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.att-ONSITE{background:#fdf3d9}.att-LATE{background:#fde3cc}.att-WFH{background:#dcf3e6}.att-RD{background:#eef0f5}.att-PTO{background:#ede9fe}.att-SL,.att-EL{background:#fbe4e4}.att-NCNS,.att-A,.att-SUSPENDED{background:#f6c9c9}.legend{display:flex;gap:10px;flex-wrap:wrap}.legendGroup{border:1px solid var(--line);border-radius:10px;padding:9px 11px;background:#fff}.legendGroup b{display:block;font-size:11px;text-transform:uppercase;color:#5b6274;margin-bottom:5px}.legendItem{display:inline-block;margin:2px 8px 2px 0;font-size:12px}.details{white-space:normal;min-width:420px;line-height:1.5}.sectionTitle{font-size:18px;font-weight:850;margin:18px 0 8px}.rank{font-size:16px;font-weight:850;color:var(--purple)}@media(max-width:760px){.wrap{padding:14px}.header{display:block}.formGrid{grid-template-columns:1fr}.filters .field{width:100%}.sticky1,.sticky2{position:static}}@media print{@page{size:landscape;margin:.3in}body{background:#fff}.noPrint,.nav,.actions,.filters,.message{display:none!important}.wrap{max-width:none;padding:0}.panel,.card,.tableWrap{box-shadow:none;border-radius:0;overflow:visible;max-height:none}table{white-space:normal;font-size:7px}th,td{font-size:7px;padding:3px}thead{display:table-header-group}tr{break-inside:avoid}.sticky1,.sticky2{position:static}}.metricDetailRow{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);font-size:14px}.metricDetailRow:last-child{border-bottom:none}.metricDetailRow span{color:var(--muted)}.scheduleBlockCard{background:#fff;border:1px solid var(--line);border-radius:12px;padding:4px 12px;min-width:220px}.scheduleBlockCard .metricDetailRow{font-size:13px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;padding-left:8px;margin-left:-8px;border-left:4px solid transparent;border-radius:4px}
.scheduleBlockCard .schedCat-Queue{border-left-color:#7fa8e0;background:#f4f8fd}
.scheduleBlockCard .schedCat-Break{border-left-color:#e8a33d;background:#fdf3d9}
.scheduleBlockCard .schedCat-Development{border-left-color:#19ab63;background:#e3f7ec}
.scheduleBlockCard .schedCat-Meeting{border-left-color:#7a5fd6;background:#efe9fc}
.scheduleBlockCard .schedCat-Quality{border-left-color:#1fa8a0;background:#e2f5f3}
.scheduleBlockCard .schedCat-Project{border-left-color:#2e6fd6;background:#e7f0fd}
.scheduleBlockCard .schedCat-Administrative{border-left-color:#8b93a8;background:#f2f3f6}
.scheduleBlockCard .schedCat-System{border-left-color:#c2313a;background:#fbe4e4}
.scheduleBlockCard .schedCat-Leave{border-left-color:#9b7fe0;background:#ede9fe}
.scheduleBlockCard .schedCat-Other{border-left-color:#9aa1b3;background:#f2f3f6}
/* Same category palette, applied to the editable activity <select> in the Team Schedule block
   editor (pto-public.html's teamScheduleCatClass()) - a tinted background + matching border
   instead of a left accent, since this is a form control, not a display row. */
.schedCatSelect{border-radius:6px;font-weight:600}
.schedCatSelect.schedCat-Queue{background:#f4f8fd;border-color:#7fa8e0}
.schedCatSelect.schedCat-Break{background:#fdf3d9;border-color:#e8a33d}
.schedCatSelect.schedCat-Development{background:#e3f7ec;border-color:#19ab63}
.schedCatSelect.schedCat-Meeting{background:#efe9fc;border-color:#7a5fd6}
.schedCatSelect.schedCat-Quality{background:#e2f5f3;border-color:#1fa8a0}
.schedCatSelect.schedCat-Project{background:#e7f0fd;border-color:#2e6fd6}
.schedCatSelect.schedCat-Administrative{background:#f2f3f6;border-color:#8b93a8}
.schedCatSelect.schedCat-System{background:#fbe4e4;border-color:#c2313a}
.schedCatSelect.schedCat-Leave{background:#ede9fe;border-color:#9b7fe0}
.schedCatSelect.schedCat-Other{background:#f2f3f6;border-color:#9aa1b3}.att-attach-btn{border:none;background:none;cursor:pointer;font-size:13px;padding:0 0 0 4px;vertical-align:middle;opacity:.75}.att-attach-btn:hover{opacity:1}.att-attach-hint{font-size:13px;padding:0 0 0 4px;vertical-align:middle;opacity:.35;cursor:not-allowed}.att-minutes-late{width:52px;margin-left:4px;padding:4px 6px;font-size:11px;vertical-align:middle}.att-reason{width:110px;margin-left:4px;padding:4px 6px;font-size:11px;vertical-align:middle}.att-location{width:74px;margin-left:4px;padding:4px 6px;font-size:11px;vertical-align:middle}.coachCard{border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:14px;background:#fff}.coachCardHeader{background:#2e46b8;color:#fff;font-weight:800;font-size:12px;padding:8px 12px;text-transform:uppercase;letter-spacing:.3px;display:flex;justify-content:space-between;align-items:center}.coachCardBody{padding:12px 14px}.coachField{margin-bottom:8px}.coachField:last-child{margin-bottom:0}.coachFieldLabel{font-size:10px;text-transform:uppercase;font-weight:800;color:var(--muted);margin-bottom:2px}.coachGrid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.coachBadge{display:inline-block;padding:3px 10px;border-radius:4px;color:#fff;font-weight:800;font-size:11px}.coachBadge-exceptional,.coachBadge-exceeds{background:#19ab63}.coachBadge-meets{background:#2e46b8}.coachBadge-watch{background:#ba7517}.coachBadge-intervention{background:#c2313a}.coachBadge-notrated{background:#5b6274}.coachMetricsTable{width:100%;border-collapse:collapse;font-size:12px;margin:8px 0}.coachMetricsTable th{text-align:left;font-size:10px;text-transform:uppercase;color:var(--muted);padding:4px 6px;border-bottom:1px solid var(--line)}.coachMetricsTable td{padding:4px 6px;border-bottom:1px solid #eef0f5}
.scheduleTable th,.scheduleTable td{padding:5px}.scheduleTable select{padding:4px;min-width:72px;font-size:11px}.scheduleFixed{position:sticky;background:#fff;z-index:2}.assignment-Call{background:#dbeafe}.assignment-Chat{background:#dcfce7}.assignment-Email{background:#fef3c7}.assignment-Senior-TSR{background:#ede9fe}.assignment-Lead-Import{background:#cffafe}.assignment-Break{background:#fee2e2}.assignment-Lunch{background:#fed7aa}.assignment-Training{background:#e0e7ff}.assignment-Meeting{background:#fce7f3}.assignment-Admin{background:#e5e7eb}.assignment-Offline{background:#d1d5db}.coverageWarn{background:#fce8e8!important;color:#8b1f1f;font-weight:800}.coverageOk{background:#e3f7ec!important}.weekdayChecks{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.weekdayChecks label{font-size:12px}.compact{font-size:11px;padding:4px 6px}
.scheduleTable th:nth-child(1),.scheduleTable td:nth-child(1){position:sticky;left:0;z-index:4;background:#fff}.scheduleTable th:nth-child(2),.scheduleTable td:nth-child(2){position:sticky;left:42px;z-index:4;background:#fff}.scheduleTable th:nth-child(3),.scheduleTable td:nth-child(3){position:sticky;left:190px;z-index:4;background:#fff}.scheduleTable thead th:nth-child(-n+3){background:#eef0f5;z-index:6}
.quickPlot{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.activity-cell{min-width:112px;padding:5px!important;cursor:cell;transition:outline-color .12s,background-color .12s}.activity-cell select{width:100%;font-size:11px;margin-top:3px}.activity-short{display:block;font-weight:800;text-align:center;line-height:1.2}.activity-short small{background:#fff;border:1px solid currentColor;border-radius:9px;padding:0 4px}.selected-cell{outline:3px solid #155eef!important;outline-offset:-3px;box-shadow:inset 0 0 0 1px #fff}.legendItem{display:inline-flex;align-items:center;gap:5px;border:1px solid #ccd5e0;border-radius:8px;padding:5px 8px;margin:3px;font-size:12px}.activity-queue{background:#dbeafe!important}.activity-break{background:#ffedd5!important}.activity-development{background:#dcfce7!important}.activity-meeting{background:#ede9fe!important}.activity-quality{background:#fce7f3!important}.activity-administrative{background:#e5e7eb!important}.activity-project{background:#cffafe!important}.activity-system{background:#fef3c7!important}.activity-leave,.activity-other,.activity-blank{background:#f3f4f6!important}@media(max-width:760px){.quickPlot .btn{min-height:36px}.activity-cell{min-width:100px}}
.portalLayout{display:flex;align-items:flex-start;gap:20px;margin-top:12px}.sidebar{flex:0 0 220px;width:220px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;position:sticky;top:16px;max-height:calc(100vh - 32px);overflow-y:auto}.mainContent{flex:1;min-width:0}.tabGroup{border:none;padding:0;margin:0}.tabGroup:not(:first-child){margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.tabGroupLabel{display:flex;align-items:center;justify-content:space-between;gap:6px;cursor:pointer;list-style:none;font-size:11px;text-transform:uppercase;font-weight:800;color:var(--muted);letter-spacing:.3px;padding:4px;border-radius:6px;user-select:none}.tabGroupLabel::-webkit-details-marker{display:none}.tabGroupLabel::after{content:'';flex:0 0 auto;width:6px;height:6px;border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);transform:rotate(45deg);transition:transform .15s}.tabGroup:not([open]) .tabGroupLabel::after{transform:rotate(-45deg)}.tabGroupLabel:hover{background:var(--bg)}.tabGroupButtons{display:flex;flex-direction:column;gap:2px;margin-top:6px;padding-left:10px}
/* Header right column - tighten so the connection chip / signed-in-as row / action buttons
   pack more compactly instead of spreading the header across several tall wrapped rows. */
.headerRight .actions{gap:6px}
.headerRight .btn{padding:7px 11px;font-size:13px}
.headerRight .field label{margin-bottom:1px}
/* Sidebar redesign - subtle elevation instead of a flat border, and per-group color carried
   into the hover/open states (not just the icons) so the four groups read as distinct colored
   sections rather than one flat gray list. Colors reuse the existing --blue/--purple/--amber/
   --green tokens at low opacity, matching the icon-color system already in place. */
.sidebar{border-color:#e8eaf1;box-shadow:0 10px 28px rgba(32,36,55,.06),0 1px 0 rgba(32,36,55,.03);padding:14px}
.tabGroup:not(:first-child){border-top-color:#eef0f5}
.tabGroupLabel{transition:background-color .12s,color .12s}
.tabGroup[open] .tabGroupLabel{color:var(--ink)}
.tabGroup-work[open] .tabGroupLabel{background:rgba(59,92,222,.08)}
.tabGroup-team[open] .tabGroupLabel{background:rgba(87,47,180,.08)}
.tabGroup-tools[open] .tabGroupLabel{background:rgba(186,117,23,.08)}
.tabGroup-company[open] .tabGroupLabel{background:rgba(25,171,99,.08)}
.tabGroup-work .tabGroupLabel:hover{background:rgba(59,92,222,.08)}
.tabGroup-team .tabGroupLabel:hover{background:rgba(87,47,180,.08)}
.tabGroup-tools .tabGroupLabel:hover{background:rgba(186,117,23,.08)}
.tabGroup-company .tabGroupLabel:hover{background:rgba(25,171,99,.08)}
.tabGroupButtons .btn{transition:background-color .12s}
.tabGroup-work .tabGroupButtons .btn:hover{background:rgba(59,92,222,.07)}
.tabGroup-team .tabGroupButtons .btn:hover{background:rgba(87,47,180,.07)}
.tabGroup-tools .tabGroupButtons .btn:hover{background:rgba(186,117,23,.07)}
.tabGroup-company .tabGroupButtons .btn:hover{background:rgba(25,171,99,.07)}
.tabGroupButtons .btn.primary{box-shadow:0 3px 10px rgba(59,92,222,.28)}
/* KPI Score stat tiles - color now carries actual meaning (performanceStatus) instead of being
   purely decorative, reusing the same green/blue/amber/red already used for coaching badges so
   "Exceeds" reads the same way everywhere in the app. */
.card.kpi-exceeds{border-left:4px solid var(--green);background:linear-gradient(145deg,#fff 0%,#f3fbf6 100%)}
.card.kpi-meets{border-left:4px solid var(--blue);background:linear-gradient(145deg,#fff 0%,#f5f7ff 100%)}
.card.kpi-watch{border-left:4px solid var(--amber);background:linear-gradient(145deg,#fff 0%,#fffaf0 100%)}
.card.kpi-intervention{border-left:4px solid var(--red);background:linear-gradient(145deg,#fff 0%,#fdf4f4 100%)}
.card.kpi-exceeds .value{color:var(--green)}
.card.kpi-meets .value{color:var(--blue)}
.card.kpi-watch .value{color:#8a5a00}
.card.kpi-intervention .value{color:var(--red)}.tabGroupButtons .btn{border:none;background:none;text-align:left;border-radius:8px;padding:8px 10px;font-weight:600;font-size:13px;display:flex;align-items:center;gap:6px;width:100%}.tabGroupButtons .btn:hover{background:var(--bg)}.tabGroupButtons .btn.primary{background:var(--blue);color:#fff;font-weight:700}.tabGroupButtons .btn.primary:hover{background:var(--blue-dark)}.navIcon,.groupIcon{flex:0 0 auto;opacity:.8}.tabGroup-work .navIcon,.tabGroup-work .groupIcon{color:var(--blue)}.tabGroup-team .navIcon,.tabGroup-team .groupIcon{color:var(--purple)}.tabGroup-tools .navIcon,.tabGroup-tools .groupIcon{color:var(--amber)}.tabGroup-company .navIcon,.tabGroup-company .groupIcon{color:var(--green)}.tabGroupButtons .btn.primary .navIcon{opacity:1;color:#fff}@media(max-width:900px){.portalLayout{display:block}.sidebar{width:auto;position:static;max-height:none;margin-bottom:16px}.tabGroupButtons{flex-direction:row;flex-wrap:wrap}.tabGroupButtons .btn{width:auto;border:1px solid #c9cdd6}}@media print{.portalLayout{display:block}}.devSimPanel{background:#f2effa;border:1px dashed #b9aee0}.devSimHead{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.devSimHead .filters{margin:0;align-items:end}@media(max-width:760px){.devSimHead{display:block}.devSimHead .filters{margin-top:10px}}.att-PARTIAL_PTO{background:#f3e8ff}.status-approved{background:#e3f7ec;color:#0f7a49}.status-partially-approved{background:#ede9fe;color:#4338ca}.status-declined,.status-cancelled,.status-withdrawn{background:#fce8e8;color:#8b1f1f}.status-draft,.status-submitted{background:#edf4fb;color:#174b78}.status-threshold-not-configured{background:#eef0f5;color:#5b6274}pre{white-space:pre-wrap;word-break:break-word;max-width:560px;margin:0}.lobLogo{display:block;height:24px;width:auto;margin-bottom:4px}.appCredit{text-align:center;color:var(--muted);font-size:11px;opacity:.65;padding:18px 0 8px}@media print{.appCredit{display:none!important}}

/* Shared presentation polish for internal dashboards and the public portal. */
.tableWrap{border-color:#d9deea;border-radius:14px;box-shadow:0 7px 22px rgba(32,36,55,.04);scrollbar-color:#bcc4d5 transparent;scrollbar-width:thin}
.tableWrap::-webkit-scrollbar{width:10px;height:10px}.tableWrap::-webkit-scrollbar-track{background:transparent}.tableWrap::-webkit-scrollbar-thumb{background:#c4cad7;border:3px solid #fff;border-radius:999px}.tableWrap::-webkit-scrollbar-thumb:hover{background:#9fa8ba}
table{line-height:1.38;font-variant-numeric:tabular-nums}
th,td{padding:7px 9px;vertical-align:middle;border-bottom-color:#e7eaf0}
th{background:linear-gradient(180deg,#f5f6fa 0%,#eceff5 100%);color:#596277;font-weight:850;letter-spacing:.48px;border-bottom-color:#d7dce7;box-shadow:0 1px 0 rgba(255,255,255,.8)}
tbody tr{transition:background-color .12s}tbody tr:nth-child(even) td{background:#fcfcfe}tbody tr:last-child td{border-bottom:0}tbody tr:hover td{background:#f3f6fc}tbody td:first-child{font-weight:650}
.pill{padding:4px 9px;font-size:10px;font-weight:850;letter-spacing:.12px}
.card{background:linear-gradient(145deg,#fff 0%,#fbfcff 100%);border-color:#dce1ec;border-radius:13px;padding:11px;box-shadow:0 5px 16px rgba(32,36,55,.035);transition:transform .12s,box-shadow .12s,border-color .12s}
.card:hover{border-color:#cbd3e3;box-shadow:0 11px 25px rgba(32,36,55,.07)}
.card .label{color:#596277;font-weight:850;letter-spacing:.42px}.card .value{letter-spacing:-.025em}
.sectionTitle{letter-spacing:-.015em;margin:14px 0 7px}
.pill[class*="pending-team-lead"],.pill[class*="pre-approved"],.pill[class*="final-approval-queued"],.pill[class*="applying-final-approval"]{background:#fff2cc;color:#7a4a05}
@media(max-width:760px){th,td{padding:9px 10px}}
@media print{.tableWrap{box-shadow:none;border-radius:0}th,td{padding:3px}}

/* Whole-section save/action confirmations - float above the page as a popup instead of sitting
   inline in the page flow, where a confirmation was easy to miss whenever the user had scrolled
   down a long list/grid or had just closed a modal over their action. #message is the one global
   banner every page has (shared/ui-utils.js setMessage()); the *Message-suffixed IDs are the
   equivalent per-tab banners for actions with their own dedicated result area (e.g. Team
   Attendance's "N update(s) saved"). Per-FIELD validation divs (named ...Error, e.g.
   #teamRosterError, #loginError, #coachingFormError) are deliberately excluded - those need to
   stay inline right next to the field they're pointing at, not float away from it. */
#message,#teamAttendanceMessage,#mbrReportMessage,#teamCoachingMessage,#teamDisciplinaryMessage,#teamAlignmentMessage,#alignmentReviewMessage{position:fixed;top:18px;right:18px;left:auto;max-width:420px;z-index:9999;box-shadow:0 14px 32px rgba(32,36,55,.18);animation:toastIn .22s ease-out}
@keyframes toastIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}

/* Sortable table headers - initSortableTables() (pto-public.html) wires click/keydown per <th>. */
.sortableTh{cursor:pointer;user-select:none;position:relative;padding-right:18px}
.sortableTh:hover{background:var(--bg)}
.sortableTh:focus-visible{outline:2px solid var(--brand,#185fa5);outline-offset:-2px}
.sortableTh::after{content:'\21C5';position:absolute;right:5px;top:50%;transform:translateY(-50%);opacity:.32;font-size:11px}
.sortableTh.sortAsc::after{content:'\25B2';opacity:.9}
.sortableTh.sortDesc::after{content:'\25BC';opacity:.9}

/* Tab-switch fade: applied to the newly-shown view container in setTab() (pto-public.html). */
.tabViewActive{animation:tabFadeIn .16s ease-out}
@keyframes tabFadeIn{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}
@media(max-width:760px){#message,#teamAttendanceMessage,#mbrReportMessage,#teamCoachingMessage,#teamDisciplinaryMessage,#teamAlignmentMessage,#alignmentReviewMessage{left:14px;right:14px;max-width:none}}

/* Rich-text composer (shared/rich-text.js) - toolbar + contenteditable body for SOP/announcement content pasted from Word/PDF. */
.richTextToolbar{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:6px}
.richTextBody{border:1px solid #c9cdd6;border-radius:8px;padding:10px 12px;min-height:160px;max-height:420px;overflow:auto;background:#fff;line-height:1.5}
.richTextBody:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(24,95,165,.15)}
.richTextBody:empty:before{content:attr(data-placeholder);color:var(--muted)}
.richTextBody p{margin:0 0 10px}.richTextBody p:last-child{margin-bottom:0}
.richTextBody ul,.richTextBody ol{margin:0 0 10px;padding-left:22px}
.richTextBody h1,.richTextBody h2,.richTextBody h3,.richTextBody h4{margin:12px 0 8px}
.richContent p{margin:0 0 10px}.richContent p:last-child{margin-bottom:0}
.richContent ul,.richContent ol{margin:0 0 10px;padding-left:22px}
.richContent h1,.richContent h2,.richContent h3,.richContent h4{margin:12px 0 8px}
.att-OUTSIDE{background:#f1f3f7;color:#697184;text-align:center}.att-OUTSIDE .pill{white-space:nowrap}

/* Header button hierarchy - utility/account actions get a lower-weight "ghost" treatment so
   Time In/Out stay the visually dominant actions in a crowded header row. */
.btn.ghost{background:none;border-color:transparent;color:var(--muted);font-weight:600}
.btn.ghost:hover{background:var(--bg);border-color:var(--line);color:var(--ink)}

/* Header title/subtitle - a touch more presence for the title, scoped to the header only so it
   doesn't affect .sub/.muted used everywhere else in the app. */
.header .title{font-size:28px}
.header .sub{font-size:13px;margin-top:2px}

/* Shared empty-state treatment (icon + muted message) - replaces plain "No data" strings
   scattered across sections with one consistent, intentional-looking pattern. */
.emptyState{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:28px 16px;color:var(--muted);font-size:13px;text-align:center}
.emptyStateIcon{font-size:24px;opacity:.5;line-height:1}
td.emptyState{padding:22px 16px}

/* Team Schedule override editor (Team Management > Team Schedule) - scoped compaction so the
   filter row, form fields, and blocks table read as a dense, professional form instead of an
   oversized one, without touching these same elements' default sizing anywhere else in the app. */
#teamScheduleView .field label{font-size:10px}
#teamScheduleView input,#teamScheduleView select{font-size:13px;padding:7px 9px}
#teamScheduleView .tableWrap th,#teamScheduleView .tableWrap td{padding:6px 8px;font-size:12px}
#teamScheduleView .filters .btn,#teamScheduleView .actions .btn{padding:7px 11px;font-size:13px}
.guideOptionBtn{display:block;width:100%;text-align:left;font:inherit;color:inherit;font-weight:700;font-size:14px;cursor:pointer}
.guideBreadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin-bottom:12px;font-size:12px}
.guideCrumbBtn{border:none;background:none;padding:2px 4px;font:inherit;font-size:12px;font-weight:700;color:var(--blue);cursor:pointer;border-radius:5px}
.guideCrumbBtn:hover{background:#eef0f5;text-decoration:underline}
.guideCrumbBtn[aria-current="step"]{color:var(--muted);cursor:default;text-decoration:none}
.guideCrumbBtn[aria-current="step"]:hover{background:none}
.guideCrumbSep{color:var(--muted)}
