:root{font-family:"DM Sans","Segoe UI",Arial,sans-serif;color:#102142;background:#f3f7fd;font-synthesis:none;--blue:#1257c8;--navy:#0d2b68;--cyan:#0797ba;--muted:#657894;--line:#d9e5f4}*{box-sizing:border-box}[hidden]{display:none!important}body{min-height:100vh;margin:0;display:grid;place-items:center;padding:32px 20px;background:radial-gradient(ellipse at 9% 4%,#d9eaff 0,transparent 35%),radial-gradient(ellipse at 100% 100%,#d8f3f8 0,transparent 30%),#f3f7fd}.auth-card,.portal-card{width:min(100%,510px);position:relative;overflow:hidden;background:#fff;border:1px solid #dce7f5;border-radius:20px;padding:38px 40px;box-shadow:0 22px 60px #173c731a}.auth-card:before,.portal-card:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#1146ad,#176fdf,#08a1bf)}.brand{display:inline-flex;align-items:center;margin-bottom:24px}.brand img{display:block;width:180px;height:46px;object-fit:contain;object-position:left center}.eyebrow{display:block;margin:0 0 7px;color:#1764cb;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}h1{margin:0 0 10px;color:#0b2047;font:800 29px/1.2 Manrope,"Segoe UI",Arial,sans-serif;letter-spacing:-.045em}p{margin:0;color:var(--muted);font-size:14px;line-height:1.65}.auth-card form{display:grid;gap:16px;margin:25px 0 18px}.auth-card label,.company-label{display:grid;gap:7px;color:#263b5a;font-size:13px;font-weight:700}.auth-card input,.portal-card select{width:100%;min-height:45px;border:1px solid #c7d7ed;border-radius:10px;padding:11px 13px;outline:0;background:#fbfdff;color:#152b4a;font:500 14px "DM Sans","Segoe UI",Arial,sans-serif;transition:border-color .15s,box-shadow .15s}.auth-card input:focus,.portal-card select:focus{border-color:#4384e7;box-shadow:0 0 0 3px #1d64cf1a}.auth-card button,.portal-card button{min-height:45px;border:0;border-radius:10px;padding:11px 16px;background:linear-gradient(115deg,#124db8,#176cdb 65%,#078fb5);box-shadow:0 7px 16px #195ac32a;color:#fff;font:800 14px "DM Sans","Segoe UI",Arial,sans-serif;cursor:pointer;transition:filter .15s,transform .15s}.auth-card button:hover,.portal-card button:hover{filter:brightness(1.04);transform:translateY(-1px)}button:disabled{opacity:.65;cursor:wait}.auth-card small{display:block;padding-top:15px;border-top:1px solid #edf1f7;color:#71829a;font-size:12px;line-height:1.6}#message{min-height:18px;color:#b42318;font-size:13px}.portal-card{width:min(100%,900px);padding:34px 38px}.portal-card header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:20px;border-bottom:1px solid #e4ebf5}.portal-card header .eyebrow{margin:0 0 6px}.portal-card header h1{font-size:25px}.portal-card button.secondary{min-height:38px;background:#eff5ff;box-shadow:none;color:#174a9f}.company-label{max-width:420px;margin:23px 0 28px}.portal-card select{appearance:auto}.portal-card section{padding:20px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(135deg,#fff,#f8fbff)}.portal-card h2{margin:0 0 15px;color:#132b52;font:800 17px Manrope,"Segoe UI",Arial,sans-serif}.module-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.module-item{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:12px 14px;border:1px solid #dce7f5;border-radius:10px;background:#fff;color:#294465;font-size:13px;font-weight:700;text-align:left}.module-item span{color:#eaf4ff;text-decoration:underline;text-underline-offset:2px}.data-result{max-height:55vh;overflow:auto;margin:18px 0 0;padding:16px;border:1px solid var(--line);border-radius:12px;background:#f8fbff;color:#263b5a;font:12px/1.55 Consolas,monospace;white-space:pre-wrap;word-break:break-word}.notice{display:flex;gap:10px;margin:18px 0 0;padding:14px 16px;border:1px solid #f0dda8;border-radius:11px;background:#fff9e9;color:#765618;font-size:13px;line-height:1.55}.notice:before{content:"i";display:grid;place-items:center;flex:0 0 20px;height:20px;border:1px solid #d3a534;border-radius:50%;font-weight:800}@media(max-width:600px){body{padding:16px}.auth-card,.portal-card{padding:28px 22px;border-radius:16px}.brand img{width:155px;height:40px}h1{font-size:25px}.portal-card header{align-items:flex-start}.portal-card header h1{font-size:21px}.module-list{grid-template-columns:1fr}.portal-card section{padding:16px}}
.record-table-wrap{max-height:55vh;overflow:auto;margin:10px 0 20px;border:1px solid var(--line);border-radius:10px}.record-table{width:100%;border-collapse:collapse;background:#fff;font:12px/1.45 "DM Sans","Segoe UI",Arial,sans-serif}.record-table th,.record-table td{padding:9px 11px;border-bottom:1px solid #e7edf6;text-align:left;vertical-align:top;max-width:260px;overflow-wrap:anywhere}.record-table th{position:sticky;top:0;background:#f2f7ff;color:#294465;text-transform:capitalize}.records-download{display:inline-flex;align-items:center;min-height:38px;margin-bottom:12px;padding:9px 13px;border-radius:9px;background:#eaf2ff;color:#1257c8;font:800 13px "DM Sans","Segoe UI",Arial,sans-serif;text-decoration:none}.records-download:hover{background:#dceaff}.records-empty{margin:4px 0 8px;padding:14px;border:1px dashed #c8d7ea;border-radius:9px;background:#fff;color:#657894;font:500 13px/1.5 "DM Sans","Segoe UI",Arial,sans-serif}#dataResult h3{text-transform:capitalize;color:#173b70}
.portal-switch-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:16px;padding-top:13px;border-top:1px solid #edf1f7;color:#71829a;font-size:12px;line-height:1.5}.portal-switch-links a{color:#1257c8;font-weight:800;text-decoration:none}.portal-switch-links a:hover{text-decoration:underline}
.auth-help-link{margin:4px 0 18px!important;font-size:12px!important}.auth-help-link a{color:#1257c8;font-weight:800;text-decoration:none}.auth-help-link a:hover{text-decoration:underline}.auth-help-link span{padding:0 5px;color:#94a3b8}

.notice.is-progress{border-color:#bfd5f4;background:#f1f7ff;color:#194c96}.notice.is-progress:before{content:"…";border-color:#4a82cf}.notice.is-error{border-color:#f3c6c1;background:#fff4f2;color:#9b2820}.notice.is-error:before{content:"!";border-color:#d66a60}.document-list{display:grid;gap:9px;margin:8px 0 18px}.document-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid #dce7f5;border-radius:10px;background:#fff}.document-info{display:grid;gap:4px;min-width:0}.document-title{color:#18355f;font:700 13px/1.4 "DM Sans","Segoe UI",Arial,sans-serif;overflow-wrap:anywhere}.document-detail{color:#657894;font:500 12px/1.4 "DM Sans","Segoe UI",Arial,sans-serif}.document-open-button{flex:0 0 auto;min-height:38px!important;padding:8px 12px!important;font-size:12px!important}#dataResult>a:not(.records-download){color:#1257c8;font-weight:800;text-decoration:underline;text-underline-offset:2px}@media(max-width:600px){.document-row{align-items:flex-start;flex-direction:column}.document-open-button{width:100%}}
.document-actions{display:flex;flex:0 0 auto;gap:8px}.document-actions .document-open-button{min-width:78px}.spreadsheet-toolbar{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0}.spreadsheet-tab{min-height:34px!important;padding:7px 11px!important;background:#edf4ff!important;box-shadow:none!important;color:#174a9f!important;font-size:12px!important}.spreadsheet-tab.is-active{background:linear-gradient(115deg,#124db8,#078fb5)!important;color:#fff!important}.spreadsheet-preview-wrap{max-height:48vh;overflow:auto;margin:10px 0 16px;border:1px solid var(--line);border-radius:10px;background:#fff}.spreadsheet-preview{width:max-content;min-width:100%}.spreadsheet-preview th{position:static}.pdf-preview-frame{display:block;width:100%;height:min(70vh,900px);margin-top:8px;border:1px solid var(--line);border-radius:9px;background:#fff}.document-download-action{border:0;cursor:pointer}

/* Employer Viewer: function navigation with one selected section in the workspace. */
.portal-card{width:min(100%,1280px);padding:30px 32px}
.portal-header{align-items:center!important;padding-bottom:18px!important}
.portal-header h1{margin-bottom:5px!important}
.portal-header p{font-size:13px;color:#657894}
.portal-card header button.secondary{flex:0 0 auto}
.portal-topbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:18px 0 20px}
.portal-context{display:grid;gap:4px;padding-bottom:3px}
.context-label{color:#7386a1;font-size:10px;font-weight:900;letter-spacing:.12em}
.portal-context strong{color:#16335d;font-size:15px}
.portal-card .company-label{width:min(100%,360px);max-width:none;margin:0}
.portal-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:18px;align-items:start}
.portal-sidebar{min-width:0;padding:14px 10px 12px;border:1px solid #d9e5f4;border-radius:14px;background:linear-gradient(160deg,#f8fbff,#f2f7ff)}
.sidebar-heading{display:flex;align-items:center;justify-content:space-between;padding:5px 10px 12px;border-bottom:1px solid #e1eaf5}
.sidebar-heading h2{margin:4px 0 0!important;font:800 17px Manrope,"Segoe UI",Arial,sans-serif!important}
.module-count{display:grid;place-items:center;min-width:28px;height:28px;padding:0 7px;border:1px solid #cfe0f5;border-radius:9px;background:#fff;color:#1755b8;font-size:12px;font-weight:800}
.module-list{display:block;margin-top:8px}
.module-group{margin:0 0 12px}
.module-group h3{margin:0;padding:8px 10px 5px;color:#7a8ba4;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.portal-card button.module-item{display:flex;width:100%;align-items:center;justify-content:flex-start;gap:10px;min-height:42px;margin:2px 0;padding:7px 9px;border:1px solid transparent;border-radius:9px;background:transparent;box-shadow:none;color:#294465;font:700 12px/1.35 "DM Sans","Segoe UI",Arial,sans-serif;text-align:left;transform:none}
.portal-card button.module-item:hover{border-color:#d6e5f7;background:#fff;color:#124db8;filter:none}
.portal-card button.module-item.is-active{border-color:#175ac8;background:linear-gradient(110deg,#164db5,#087fb3);box-shadow:0 6px 14px #134ca51c;color:#fff}
.portal-card button.module-item.is-loading{opacity:.72}
.module-badge{display:grid;flex:0 0 28px;place-items:center;width:28px;height:28px;border:1px solid #dbe7f5;border-radius:8px;background:#fff;color:#1858bd!important;font-size:9px;font-weight:900;text-decoration:none!important;letter-spacing:-.02em}
.module-item.is-active .module-badge{border-color:#ffffff40;background:#ffffff1c;color:#fff!important}
.module-name{min-width:0;color:inherit!important;text-decoration:none!important}
.sidebar-note{margin:10px 8px 0;padding:10px 9px;border-top:1px solid #e1eaf5;color:#71829a;font-size:11px;line-height:1.5}
.sidebar-empty{margin:8px 10px;color:#657894;font-size:12px;line-height:1.5}
.portal-main{min-width:0}
.section-heading-panel{display:flex;align-items:center;justify-content:space-between;min-height:78px;padding:17px 20px;border:1px solid #d9e5f4;border-radius:14px;background:linear-gradient(120deg,#fff,#f7fbff)}
.section-heading-panel .eyebrow{margin:0 0 5px;font-size:9px}
.section-heading-panel h2{margin:0 0 4px!important;font-size:20px!important}
.section-heading-panel p{font-size:12px;line-height:1.45}
.section-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}
.summary-card{display:grid;gap:3px;min-width:0;padding:12px 14px;border:1px solid #dce7f5;border-radius:11px;background:#fff}
.summary-card span{color:#6b7f9b;font-size:11px;font-weight:700}
.summary-card strong{color:#123b7c;font:800 22px/1.2 Manrope,"Segoe UI",Arial,sans-serif}
.summary-card small{color:#8291a6;font-size:10px;line-height:1.35}
.section-placeholder{display:grid;justify-items:center;min-height:280px;margin-top:12px;padding:45px 24px;border:1px dashed #cbd9eb;border-radius:14px;background:linear-gradient(145deg,#fbfdff,#f6faff);text-align:center}
.placeholder-mark{display:grid;place-items:center;width:46px;height:46px;margin-bottom:11px;border:1px solid #d5e4f5;border-radius:14px;background:#fff;color:#1558bf;font:900 13px Manrope,"Segoe UI",Arial,sans-serif;box-shadow:0 7px 16px #1a4e9a12}
.section-placeholder h3{margin:0 0 6px;color:#173b70;font:800 17px Manrope,"Segoe UI",Arial,sans-serif}
.section-placeholder p{max-width:430px;font-size:13px}
.portal-main .notice{margin:12px 0}
.portal-card .data-result{max-height:none;overflow:visible;margin:12px 0 0;padding:16px;border-radius:14px;background:#fbfdff;color:#263b5a;font:13px/1.5 "DM Sans","Segoe UI",Arial,sans-serif;white-space:normal;word-break:normal}
.record-table-wrap{max-height:60vh}
@media(max-width:900px){.portal-layout{grid-template-columns:220px minmax(0,1fr);gap:12px}.portal-card{padding:26px 22px}}
@media(max-width:680px){.portal-layout{grid-template-columns:1fr}.portal-sidebar{padding:12px}.module-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 8px}.module-group{display:contents}.module-group h3{grid-column:1/-1}.sidebar-note{grid-column:1/-1}.section-summary{grid-template-columns:1fr}.portal-topbar{align-items:stretch;flex-direction:column;gap:12px}.portal-card .company-label{width:100%}.section-heading-panel{padding:15px}.section-placeholder{min-height:220px;padding:32px 20px}}
@media(max-width:420px){.portal-card{padding:23px 15px}.module-list{grid-template-columns:1fr}.module-group h3{padding-top:10px}.portal-header{gap:12px!important}.portal-header h1{font-size:19px!important}.portal-header button.secondary{padding:8px 10px!important}}

/* Full TaxMee account-shell layout for the signed-in Employer Viewer. */
body.portal-active{display:block;min-height:100vh;padding:0;background:#f3f7fc;color:#102142}
.app-shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh;width:100%}
.app-sidebar{position:sticky;top:0;display:flex;flex-direction:column;gap:0;width:250px;height:100vh;padding:14px 13px 12px;border-right:1px solid #dce7f4;background:#fff;z-index:30;transition:width .2s,transform .2s}
.sidebar-brand{display:flex;align-items:center;height:68px;padding:3px 9px 14px;border-bottom:1px solid #e5edf7}
.sidebar-brand img{display:block;width:174px;height:48px;object-fit:contain;object-position:left center}
.sidebar-role{display:flex;align-items:center;gap:10px;margin:14px 1px 13px;padding:10px 9px;border:1px solid #e3ebf6;border-radius:11px;background:#f8fbff}
.role-avatar,.profile-avatar{display:grid;flex:0 0 36px;place-items:center;width:36px;height:36px;border-radius:11px;background:linear-gradient(135deg,#1d4ed8,#0797ba);color:#fff;font:800 11px Manrope,"Segoe UI",Arial,sans-serif}
.sidebar-role>span:last-child,.profile-pill>span:last-child{display:grid;min-width:0;gap:2px}
.sidebar-role strong,.profile-pill strong{overflow:hidden;color:#18345b;font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}
.sidebar-role small,.profile-pill small{overflow:hidden;color:#71829a;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.sidebar-section-label{display:flex;align-items:center;justify-content:space-between;margin:5px 8px 7px;color:#7587a1;font-size:10px;font-weight:900;letter-spacing:.1em}
.sidebar-section-label span{display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:7px;background:#eff5ff;color:#1858bd;font-size:11px;letter-spacing:0}
.app-shell .module-list{display:block;min-height:0;flex:1;overflow:auto;margin:0;padding:0 0 8px;scrollbar-width:thin}
.app-shell .module-group{margin:0 0 9px}
.app-shell .module-group h3{margin:0;padding:8px 9px 4px;color:#8797ad;font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.app-shell button.module-item{display:flex;width:100%;align-items:center;justify-content:flex-start;gap:10px;min-height:39px;margin:2px 0;padding:6px 9px;border:1px solid transparent;border-radius:9px;background:transparent;box-shadow:none;color:#2a4162;font:600 12px/1.35 "DM Sans","Segoe UI",Arial,sans-serif;text-align:left;transform:none}
.app-shell button.module-item:hover{border-color:#e2ecf8;background:#f7faff;color:#1555bd;filter:none}
.app-shell button.module-item.is-active{border-color:#dbe8fa;background:#edf4ff;box-shadow:none;color:#1455bf}
.app-shell button.module-item.is-loading{opacity:.65}
.app-shell .module-badge{display:grid;flex:0 0 25px;place-items:center;width:25px;height:25px;border:0;border-radius:7px;background:#edf4ff;color:#1859c1!important;font-size:8px;font-weight:900;text-decoration:none!important;letter-spacing:-.02em}
.app-shell .module-item.is-active .module-badge{background:#fff;color:#1859c1!important}
.app-shell .module-name{min-width:0;color:inherit!important;text-decoration:none!important}
.app-shell .sidebar-security{display:flex;align-items:center;gap:9px;margin-top:auto;padding:11px 9px;border-top:1px solid #e5edf7}
.security-mark{display:grid;flex:0 0 25px;place-items:center;width:25px;height:25px;border-radius:8px;background:#e9f9f1;color:#078452;font-weight:900}
.sidebar-security>span:last-child{display:grid;gap:2px}
.sidebar-security strong{color:#244365;font-size:11px;font-weight:800}
.sidebar-security small{color:#8594a9;font-size:10px;line-height:1.35}
.app-main{min-width:0;min-height:100vh}
.app-topbar{position:sticky;top:0;z-index:20;display:flex;min-height:78px;align-items:center;justify-content:space-between;gap:20px;padding:10px 24px;border-bottom:1px solid #e0e8f3;background:#ffffffed;backdrop-filter:blur(12px)}
.topbar-leading,.topbar-actions{display:flex;min-width:0;align-items:center;gap:14px}
.sidebar-toggle{display:grid;flex:0 0 40px;align-content:center;justify-content:center;gap:4px;width:40px;height:40px;padding:0;border:1px solid #dbe6f4;border-radius:10px;background:#fff;box-shadow:none!important}
.sidebar-toggle span{display:block;width:15px;height:2px;border-radius:2px;background:#21436d}
.topbar-title{display:grid;gap:3px}
.topbar-title span{color:#7a8ba2;font-size:9px;font-weight:900;letter-spacing:.12em}
.topbar-title strong{color:#18345b;font-size:14px;font-weight:800}
.topbar-actions .company-label{display:grid;width:220px;max-width:none;gap:4px;margin:0;color:#657894;font-size:10px;font-weight:800}
.topbar-actions .company-label select{width:100%;min-height:38px;padding:8px 11px;border:1px solid #cbd9eb;border-radius:9px;outline:0;background:#fbfdff;color:#16345c;font:600 12px "DM Sans","Segoe UI",Arial,sans-serif}
.profile-pill{display:flex;min-width:0;align-items:center;gap:9px;padding:4px 11px 4px 5px;border:1px solid #e0e8f3;border-radius:999px;background:#fff}
.profile-avatar{flex-basis:32px;width:32px;height:32px;border-radius:50%;font-size:9px}
.logout-button{min-height:38px!important;padding:8px 13px!important;border:1px solid #d8e5f5!important;border-radius:9px!important;background:#f5f8fd!important;box-shadow:none!important;color:#24518d!important;font-size:12px!important}
.app-shell .sidebar-backdrop{display:none}
.portal-content{width:min(100%,1500px);margin:0 auto;padding:24px 28px 42px}
.welcome-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:142px;margin-bottom:19px;padding:24px 27px;border-radius:17px;background:linear-gradient(110deg,#174db6 0%,#1474d3 58%,#0799b8 100%);box-shadow:0 12px 24px #134e9b20;color:#fff}
.welcome-eyebrow{display:block;margin-bottom:7px;color:#cce6ff;font-size:9px;font-weight:900;letter-spacing:.13em}
.welcome-panel h1{margin:0 0 5px;color:#fff;font:800 24px/1.2 Manrope,"Segoe UI",Arial,sans-serif;letter-spacing:-.03em}
.welcome-panel p{color:#e2efff;font-size:12px}
.connection-chip{display:flex;align-items:center;gap:8px;max-width:240px;padding:10px 13px;border:1px solid #ffffff4a;border-radius:11px;background:#ffffff19;color:#fff;font-size:11px;font-weight:700;line-height:1.35}
.status-dot{flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#69e4a0;box-shadow:0 0 0 4px #69e4a029}
.section-heading-panel{min-height:83px;margin-bottom:12px;padding:17px 20px;border:1px solid #e0e8f3;border-radius:13px;background:#fff;box-shadow:0 5px 18px #173e7010}
.section-heading-panel .eyebrow{margin:0 0 5px;font-size:9px}
.section-heading-panel h2{margin:0 0 4px!important;color:#18345b;font-size:18px!important;letter-spacing:-.02em}
.section-heading-panel p{color:#71839b;font-size:12px;line-height:1.45}
.section-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 13px}
.summary-card{display:grid;gap:4px;min-width:0;padding:15px 17px;border:1px solid #e0e8f3;border-radius:13px;background:#fff;box-shadow:0 5px 18px #173e700d}
.summary-card span{color:#71839b;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.summary-card strong{color:#173e80;font:800 23px/1.2 Manrope,"Segoe UI",Arial,sans-serif}
.summary-card small{color:#8795a8;font-size:10px;line-height:1.35}
.section-placeholder{display:grid;justify-items:center;min-height:190px;margin:0;padding:30px 22px;border:1px solid #e0e8f3;border-radius:14px;background:#fff;box-shadow:0 5px 18px #173e7009;text-align:center}
.placeholder-mark{display:grid;place-items:center;width:38px;height:38px;margin-bottom:8px;border:1px solid #dce8f7;border-radius:11px;background:#f0f6ff;color:#1859bd;font:900 11px Manrope,"Segoe UI",Arial,sans-serif}
.section-placeholder h3{margin:0 0 5px;color:#193a69;font:800 15px Manrope,"Segoe UI",Arial,sans-serif}
.section-placeholder p{max-width:450px;color:#71839b;font-size:12px}
.app-shell .notice{margin:0 0 12px;padding:12px 14px;font-size:12px}
.app-shell .data-result{max-height:none;overflow:visible;margin:0;padding:17px;border:1px solid #e0e8f3;border-radius:14px;background:#fff;box-shadow:0 5px 18px #173e7009;color:#263b5a;font:13px/1.5 "DM Sans","Segoe UI",Arial,sans-serif;white-space:normal;word-break:normal}
.app-shell .record-table-wrap{max-height:60vh}
.app-shell .summary-card{margin:0}
.app-shell .document-row{box-shadow:0 3px 10px #173e7009}
.app-shell .spreadsheet-preview-wrap{max-height:55vh}
.app-shell .pdf-preview-frame{height:min(72vh,920px)}
.app-shell.is-collapsed{grid-template-columns:78px minmax(0,1fr)}
.app-shell.is-collapsed .app-sidebar{width:78px;padding-right:10px;padding-left:10px}
.app-shell.is-collapsed .sidebar-brand{justify-content:center;padding-right:0;padding-left:0}
.app-shell.is-collapsed .sidebar-brand img{width:49px;object-position:center;object-fit:cover;object-position:left}
.app-shell.is-collapsed .sidebar-role{justify-content:center;padding:8px 2px}
.app-shell.is-collapsed .sidebar-role>span:last-child,.app-shell.is-collapsed .sidebar-section-label,.app-shell.is-collapsed .module-group h3,.app-shell.is-collapsed .module-name,.app-shell.is-collapsed .sidebar-security>span:last-child{display:none}
.app-shell.is-collapsed .module-count{display:grid}
.app-shell.is-collapsed .module-group{margin-bottom:6px}
.app-shell.is-collapsed button.module-item{justify-content:center;padding:5px}
.app-shell.is-collapsed .module-badge{width:31px;height:31px;flex-basis:31px;font-size:8px}
.app-shell.is-collapsed .sidebar-security{justify-content:center;padding:10px 0}
@media(max-width:1100px){.app-topbar{padding-right:18px;padding-left:18px}.portal-content{padding:21px 20px 36px}.topbar-actions{gap:9px}.topbar-actions .company-label{width:190px}.profile-pill{max-width:190px}}
@media(max-width:900px){.app-shell,.app-shell.is-collapsed{display:block}.app-sidebar,.app-shell.is-collapsed .app-sidebar{position:fixed;inset:0 auto 0 0;width:270px;height:100dvh;padding:14px 13px 12px;box-shadow:12px 0 35px #102a4c20;transform:translateX(-105%);transition:transform .22s}.app-shell.sidebar-open .app-sidebar{transform:translateX(0)}.app-shell .sidebar-backdrop:not([hidden]){position:fixed;inset:0;display:block;width:100%;height:100%;padding:0;border:0;border-radius:0;background:#0d23445c;box-shadow:none;z-index:25}.app-shell.is-collapsed .sidebar-brand{justify-content:flex-start;padding-right:9px;padding-left:9px}.app-shell.is-collapsed .sidebar-brand img{width:174px;height:48px;object-fit:contain;object-position:left center}.app-shell.is-collapsed .sidebar-role{justify-content:flex-start;padding:10px 9px}.app-shell.is-collapsed .sidebar-role>span:last-child,.app-shell.is-collapsed .sidebar-section-label,.app-shell.is-collapsed .module-group h3,.app-shell.is-collapsed .module-name,.app-shell.is-collapsed .sidebar-security>span:last-child{display:revert}.app-shell.is-collapsed .sidebar-section-label{display:flex}.app-shell.is-collapsed button.module-item{justify-content:flex-start;padding:6px 9px}.app-shell.is-collapsed .module-badge{width:25px;height:25px;flex-basis:25px}.app-shell.is-collapsed .sidebar-security{justify-content:flex-start;padding:11px 9px}.sidebar-toggle{flex-basis:38px;width:38px;height:38px}.app-topbar{min-height:70px}.topbar-title strong{font-size:13px}}
@media(max-width:650px){.app-topbar{align-items:center;gap:8px;padding:9px 12px}.topbar-leading,.topbar-actions{gap:8px}.topbar-title span{font-size:8px}.topbar-title strong{font-size:12px}.topbar-actions .company-label{width:min(37vw,165px);font-size:9px}.topbar-actions .company-label select{min-height:36px;padding:7px 8px;font-size:11px}.profile-pill{display:none}.logout-button{min-height:36px!important;padding:7px 9px!important;font-size:11px!important}.portal-content{padding:16px 13px 28px}.welcome-panel{align-items:flex-start;flex-direction:column;min-height:0;gap:13px;margin-bottom:13px;padding:19px 18px;border-radius:14px}.welcome-panel h1{font-size:20px}.connection-chip{max-width:none;padding:8px 10px;font-size:10px}.section-heading-panel{min-height:73px;padding:14px}.section-summary{grid-template-columns:1fr;gap:8px}.summary-card{grid-template-columns:1fr auto;align-items:center;gap:2px 10px;padding:11px 13px}.summary-card strong{grid-column:2;grid-row:1/3;font-size:20px}.summary-card small{grid-column:1}.section-placeholder{min-height:165px;padding:22px 16px}.app-shell .data-result{padding:12px}.app-shell .document-row{align-items:flex-start;flex-direction:column}.app-shell .document-actions{width:100%}.app-shell .document-open-button{flex:1}}
@media(max-width:390px){.topbar-title{display:none}.topbar-actions{margin-left:auto}.topbar-actions .company-label{width:40vw}.app-topbar{min-height:64px}.portal-content{padding-right:10px;padding-left:10px}}

/* Keep the navigation compact and the welcome area visually balanced. */
.app-sidebar{padding-top:10px;padding-bottom:9px}
.sidebar-brand{height:62px;padding-bottom:10px}
.sidebar-role{margin:10px 1px 8px;padding:8px}
.sidebar-section-label{margin:3px 7px 4px}
.app-shell .module-group{margin-bottom:5px}
.app-shell .module-group h3{padding:6px 8px 3px;font-size:8px}
.app-shell button.module-item{min-height:35px;margin:1px 0;padding:5px 8px;gap:8px;font-size:11px}
.app-shell .module-badge{flex-basis:23px;width:23px;height:23px;font-size:8px}
.app-shell .sidebar-security{padding-top:8px;padding-bottom:8px}
.portal-content{padding-top:20px}
.welcome-panel{width:min(100%,980px);min-height:108px;margin:0 0 14px;padding:17px 21px;border-radius:14px}
.welcome-panel h1{font-size:20px}
.welcome-panel p{font-size:11px}
.connection-chip{max-width:205px;padding:8px 10px;font-size:10px}
@media(max-width:650px){.portal-content{padding-top:15px}.welcome-panel{width:100%;min-height:0;padding:16px}.welcome-panel h1{font-size:18px}}
.period-filter-panel{display:grid;width:min(100%,720px);gap:8px;margin:0 0 13px;padding:11px 13px;border:1px solid #dce7f5;border-radius:11px;background:#fff;box-shadow:0 5px 16px #173e7009}
.period-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.period-filter-heading>div{display:grid;gap:3px}
.period-filter-heading strong{color:#1d3d68;font-size:12px;font-weight:800}
.period-filter-heading small,.period-filter-panel>p{margin:0;color:#7889a0;font-size:10px;line-height:1.35}
.period-filter-controls{display:grid;grid-template-columns:minmax(125px,1fr) minmax(125px,1fr) auto auto;align-items:end;gap:7px}
.period-filter-controls label{display:grid;gap:4px;color:#657894;font-size:9px;font-weight:800}
.period-filter-controls input{width:100%;min-height:32px;padding:5px 8px;border:1px solid #cbd9eb;border-radius:7px;background:#fbfdff;color:#16345c;font:600 11px "DM Sans","Segoe UI",Arial,sans-serif}
.period-filter-controls button,.period-quick-button{min-height:32px;padding:6px 10px;border:1px solid #d8e5f5;border-radius:7px;background:#f4f8ff;color:#24518d;font:700 10px "DM Sans","Segoe UI",Arial,sans-serif;cursor:pointer}
.period-filter-controls .period-apply-button{border-color:#1457c5;background:linear-gradient(110deg,#174db6,#078fb5);color:#fff}
.period-filter-controls button:hover,.period-quick-button:hover{filter:brightness(.98)}
@media(max-width:650px){.period-filter-panel{padding:12px}.period-filter-heading{align-items:flex-start}.period-filter-heading small{max-width:235px}.period-quick-button{white-space:nowrap}.period-filter-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.period-filter-controls button{width:100%}}
.workspace-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(100%,980px);min-height:54px;margin:0 0 13px;padding:9px 15px;border:1px solid #dce7f5;border-radius:11px;background:#fff;box-shadow:0 4px 13px #173e7008}
.workspace-strip h1{min-width:0;margin:0;color:#18345b;font:800 16px/1.25 Manrope,"Segoe UI",Arial,sans-serif;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.workspace-strip .connection-chip{flex:0 0 auto;max-width:none;padding:6px 9px;border-color:#dbe8f8;border-radius:8px;background:#f4f8ff;color:#55708f;font-size:10px;white-space:nowrap}
.workspace-strip .status-dot{background:#18a872;box-shadow:0 0 0 3px #18a87218}
@media(max-width:650px){.workspace-strip{min-height:46px;padding:8px 10px}.workspace-strip h1{font-size:14px}.workspace-strip .connection-chip{gap:6px;padding:5px 7px;font-size:9px}}
.summary-filter-row{display:block}
.summary-filter-row.has-period-filter{display:grid;grid-template-columns:minmax(340px,.95fr) minmax(430px,1.45fr);align-items:stretch;gap:10px;margin:0 0 13px}
.summary-filter-row.has-period-filter .section-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0}
.summary-filter-row.has-period-filter .summary-card{align-content:center;gap:3px;padding:9px 10px;border-radius:10px;box-shadow:0 3px 10px #173e7008}
.summary-filter-row.has-period-filter .summary-card span{font-size:8px;letter-spacing:.04em}
.summary-filter-row.has-period-filter .summary-card strong{font-size:19px}
.summary-filter-row.has-period-filter .summary-card small{display:none}
.summary-filter-row.has-period-filter .period-filter-panel{width:100%;align-content:center;gap:7px;margin:0;padding:9px 11px;border-radius:10px;box-shadow:0 3px 10px #173e7008}
.summary-filter-row.has-period-filter .period-filter-heading strong{font-size:11px}
.summary-filter-row.has-period-filter .period-filter-heading small{font-size:9px}
.summary-filter-row.has-period-filter .period-filter-controls{grid-template-columns:minmax(105px,1fr) minmax(105px,1fr) auto auto;gap:6px}
.summary-filter-row.has-period-filter .period-filter-controls input,.summary-filter-row.has-period-filter .period-filter-controls button,.summary-filter-row.has-period-filter .period-quick-button{min-height:30px;font-size:9px}
.summary-filter-row.has-period-filter .period-filter-panel>p{font-size:9px}
@media(max-width:1050px){.summary-filter-row.has-period-filter{grid-template-columns:minmax(300px,.9fr) minmax(380px,1.3fr);gap:8px}.summary-filter-row.has-period-filter .section-summary{gap:5px}.summary-filter-row.has-period-filter .summary-card{padding:8px 7px}}
@media(max-width:900px){.summary-filter-row.has-period-filter{grid-template-columns:1fr}.summary-filter-row.has-period-filter .summary-card small{display:block}.summary-filter-row.has-period-filter .summary-card{padding:11px 12px}}
@media(max-width:650px){.summary-filter-row.has-period-filter .section-summary{grid-template-columns:1fr;gap:7px}.summary-filter-row.has-period-filter .period-filter-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-filter-row.has-period-filter .period-filter-panel{padding:12px}}
.pdf-mobile-note{margin:0 0 9px;color:#657894;font-size:12px;line-height:1.5}
.pdf-mobile-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.pdf-mobile-actions .records-download{justify-content:center;min-width:120px;min-height:40px;margin:0}
@media(max-width:650px){.pdf-preview-frame{display:none}.pdf-mobile-actions .records-download{flex:1 1 130px}}
.document-share-panel,.document-select{display:none}
@media(max-width:650px){
  .app-shell .document-share-panel{display:grid;gap:9px;margin:4px 0 10px;padding:11px;border:1px solid #dce7f5;border-radius:11px;background:#f7faff}
  .app-shell .document-share-selection{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px}
  .app-shell .document-select-all{display:flex;align-items:center;gap:8px;color:#244365;font-size:12px;font-weight:800}
  .app-shell .document-select input,.app-shell .document-select-all input{width:19px;height:19px;margin:0;accent-color:#1457c5}
  .app-shell .document-selected-count{color:#71839b;font-size:11px;font-weight:700}
  .app-shell .document-share-prepare,.app-shell .document-share-now{min-height:39px;padding:9px 12px;border:0;border-radius:8px;background:linear-gradient(110deg,#174db6,#078fb5);box-shadow:0 4px 10px #195ac320;color:#fff;font:800 12px "DM Sans","Segoe UI",Arial,sans-serif}
  .app-shell .document-share-prepare{grid-column:1/-1}
  .app-shell .document-share-prepare:disabled{opacity:.55}
  .app-shell .document-share-status{margin:0;color:#55708f;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
  .app-shell .document-share-ready{display:grid;gap:8px;padding-top:9px;border-top:1px solid #dce7f5}
  .app-shell .document-share-ready-text{margin:0;color:#345476;font-size:11px;line-height:1.5}
  .app-shell .document-share-downloads{display:grid;gap:6px}
  .app-shell .document-share-downloads .records-download{width:100%;margin:0;overflow-wrap:anywhere;font-size:11px}
  .app-shell .document-select{display:flex;grid-column:1;grid-row:1;align-items:flex-start;justify-content:center;padding-top:2px}
  .app-shell .document-row{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:8px 9px;flex-direction:initial}
  .app-shell .document-info,.app-shell .document-actions{grid-column:2;min-width:0;width:100%}
  .app-shell .document-actions{flex-wrap:wrap}
}

/* Keep the three account types visible on the Employer Viewer sign-in screen. */
body.employer-login-page:not(.portal-active){background-color:#f7fbff;background-image:linear-gradient(135deg,#eef6ffb8,#ffffffdc 54%,#ecfeffb8),linear-gradient(#7fa8d799 1px,transparent 1px),linear-gradient(90deg,#7fa8d799 1px,transparent 1px),radial-gradient(circle,#089bc0cc 0 1.8px,transparent 2.6px);background-size:auto,52px 52px,52px 52px,156px 156px;background-position:0,0 0,0 0,23px 30px}
.employer-auth-back{position:fixed;top:24px;left:30px;z-index:5;display:inline-flex;align-items:center;padding:10px 13px;border:1px solid #c9d9f2;border-radius:11px;background:#fffffff2;box-shadow:0 8px 20px #102a6b12;color:#102a6b;font-size:13px;font-weight:800;text-decoration:none}
.employer-auth-back:hover{border-color:#8eb2ed;background:#fff;color:#1257c8}
body.portal-active .employer-auth-back{display:none}
.auth-portal-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0 0 21px;padding:4px;border:1px solid #b9d7f7;border-radius:12px;background:linear-gradient(135deg,#edf6ff,#e7faff)}
.auth-card .brand{margin-bottom:14px}
.auth-portal-tabs a{display:flex;min-width:0;min-height:36px;align-items:center;justify-content:center;padding:7px 5px;border-radius:8px;color:#2465ae;font-size:11px;font-weight:800;line-height:1.2;text-align:center;text-decoration:none;transition:background .18s ease,color .18s ease,box-shadow .18s ease}
.auth-portal-tabs a:hover{background:#d9edff;color:#124b91}
.auth-portal-tabs a.is-active{background:linear-gradient(135deg,#1d4ed8,#089bc0);color:#fff;box-shadow:0 4px 10px #1d4ed833}
@media(max-width:600px){.employer-auth-back{top:14px;left:14px;padding:9px 11px;font-size:12px}.auth-portal-tabs{gap:3px;margin-bottom:18px;padding:3px}.auth-portal-tabs a{min-height:38px;padding:6px 3px;font-size:10px}.auth-card{padding:26px 20px}}
