/* Shared readable midnight/cyan theme. Presentation only. */
:root{color-scheme:dark;--bg:#080e20;--panel:#101d35;--line:#304d75;--muted:#b0c2dc;--text:#f2f7ff;--blue:#00ddff;--teal:#8de9d4;font-family:"Segoe UI Variable","Segoe UI",Inter,Arial,sans-serif;font-size:16px}
body{color:var(--text);background-color:var(--bg);font-size:16px;line-height:1.5}
button,input,select,textarea{font-family:inherit}
:focus-visible{outline:3px solid #fff685;outline-offset:4px}
button:disabled{cursor:not-allowed}
body.portal-workspace{background:radial-gradient(ellipse at 92% 0,#0049b724,transparent 50%),radial-gradient(ellipse at 12% 70%,#8b2bba10,transparent 48%),#080e20}
.workspace .sidebar{width:250px;padding:28px 18px 20px;background:linear-gradient(165deg,#0c1b34,#080f22);border-color:#234c7b}
.workspace .brand{gap:12px;margin-bottom:34px}
.workspace .brand>span{font-size:22px;letter-spacing:1px}
.workspace .brand small{font-size:10px;letter-spacing:1.3px;color:#adbfdb;margin-top:5px}
.workspace .brand img{width:43px;height:43px;box-shadow:0 0 20px #00ddff15}
.workspace .sidebar-section{font-size:11px;color:#9bb7da;letter-spacing:1.5px}
.workspace .nav-link{min-height:48px;font-size:14px;line-height:1.4;font-weight:550;color:#becfe7;padding:12px;border-radius:10px;gap:11px;margin-bottom:7px}
.workspace .nav-link:hover{border-color:#276ca0;background:#112e4b;color:#fff}
.workspace .nav-link.active{background:linear-gradient(115deg,#007aa6,#0053bd);border-color:#00ddff;color:#fff;box-shadow:0 5px 23px #005fff25}
.workspace .nav-glyph{font-size:22px;color:#74dfff;width:23px}
.workspace .nav-link.active .nav-glyph{color:#c3faff}
.workspace .nav-dot{background:#fff685;box-shadow:0 0 8px #fff68575}
.workspace .sidebar-bottom{border-color:#295282;padding-top:20px}
.workspace .avatar{width:38px;height:38px;font-size:16px;background:linear-gradient(135deg,#204c7b,#41346a);border-color:#5277ad}
.workspace .account strong{font-size:14px}.workspace .account small{font-size:12px;color:#afc2df}
.workspace .sign-out{color:#8edff7}.workspace .sign-out:hover{color:#ff7da8}
.workspace .main{padding:32px 28px 22px;max-width:1900px}
.workspace .eyebrow{font-size:12px;color:#8feaff;letter-spacing:1.6px;margin-bottom:8px}
.workspace h1{font-size:36px;line-height:1.2;letter-spacing:-1px;font-weight:700}
.workspace h1>span{color:#00ddff}
.workspace h1+p{font-size:16px;line-height:1.65;color:#b9cce7;margin-top:10px}
.workspace .header-end>span:last-child{font-size:12px;color:#b4c8e6;line-height:1.6}
.workspace .mode-badge{font-size:12px;font-weight:600;border-color:#35b5a1;background:#123333;color:#a7f7de;padding:7px 13px}
.workspace .filters{padding:19px;gap:13px;background:linear-gradient(140deg,#10213a,#0b162a);border-color:#24598b;box-shadow:0 12px 35px #0002;border-radius:13px}
.workspace .filters label{font-size:13px;color:#d0def0;font-weight:550;gap:9px}
.workspace .filters select,.workspace .filters input,.workspace .filter-static-country,.workspace .table-search input{font-size:14px;min-height:44px;height:44px;padding:0 11px;border-color:#385e84;border-radius:8px;background:#0a192d;color:#f0f6ff}
.workspace .filter-static-country{background:#173052;height:auto;line-height:1.5}
.workspace .filters select:focus,.workspace input:focus,.workspace select:focus,.workspace textarea:focus{border-color:#00ddff}
.portal-workspace .primary-button,.portal-workspace .secondary-button{min-height:44px;height:auto;padding:11px 17px;font-size:14px;line-height:1.4;font-weight:700;border-radius:9px;transition:background .15s,box-shadow .15s,transform .15s}
.portal-workspace .primary-button{border-color:#4eefff;color:#04182a;background:linear-gradient(110deg,#48eafa,#00c9f2);box-shadow:0 4px 18px #00ddff20}
.portal-workspace .primary-button:hover:enabled{background:linear-gradient(110deg,#8af5ff,#29d9ff);box-shadow:0 4px 22px #00ddff40;transform:translateY(-1px)}
.portal-workspace .primary-button svg{width:18px;height:18px}
.portal-workspace .secondary-button{background:#273558;color:#e0e9ff;border-color:#6b69a6}
.portal-workspace .secondary-button:hover:enabled{background:#3a4470;border-color:#ba93ff}
.workspace .settings-actions .primary-button{background:linear-gradient(110deg,#c01765,#8435d5);color:#fff;border-color:#f060a9;box-shadow:0 4px 18px #ff1d5820}
.workspace .settings-actions .primary-button:hover:enabled{background:linear-gradient(110deg,#dc2477,#a348ef)}
.workspace .period-caption{font-size:12px;line-height:1.7;color:#b0c5e0;flex-wrap:wrap;gap:10px;margin-top:14px}
.workspace #date-save-status{color:#78e5e0}
.workspace .metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.workspace .metric{padding:20px;min-height:180px;border-radius:13px;border-color:#2374b1;background:linear-gradient(130deg,#0b2a4c,#0e1930);box-shadow:0 10px 26px #0002}
.workspace .metric:nth-child(2){border-color:#bb4389;background:linear-gradient(130deg,#33182f,#16172f)}
.workspace .metric:nth-child(3){border-color:#099dc7;background:linear-gradient(130deg,#073345,#101b31)}
.workspace .metric:nth-child(4){border-color:#8651e5;background:linear-gradient(130deg,#291a49,#141b34)}
.workspace .metric:nth-child(5){border-color:#ad9b3d;background:linear-gradient(130deg,#2b2b1a,#171e2a)}
.workspace .metric:nth-child(6){border-color:#c67d50;background:linear-gradient(130deg,#33251e,#201d32)}
.workspace .metric:hover{box-shadow:0 10px 30px #003d7a35;border-color:#83e8ff}
.workspace .metric-top{font-size:13px;letter-spacing:.25px;color:#e0eaff;font-weight:600}
.workspace .metric-icon{height:32px;width:32px;flex:none;font-size:19px;border:1px solid #168fe2;color:#39dfff;background:#005da84d;border-radius:10px}
.workspace .metric:nth-child(2) .metric-icon{border-color:#ff4c95;color:#ff79af;background:#d0196a33}
.workspace .metric:nth-child(3) .metric-icon{border-color:#14cfea;color:#7defff;background:#00b2cf33}
.workspace .metric:nth-child(4) .metric-icon{border-color:#ae70ff;color:#e0b6ff;background:#7d36c844}
.workspace .metric:nth-child(5) .metric-icon{border-color:#e8d853;color:#fff685;background:#aca21e22}
.workspace .metric:nth-child(6) .metric-icon{border-color:#e69554;color:#ffc18e;background:#b56b3033}
.workspace .metric-value{font-size:clamp(25px,2.4vw,36px);font-weight:700;line-height:1.2;letter-spacing:-.7px;white-space:normal;margin:15px 0 14px;overflow-wrap:anywhere;color:#f6f9ff}
.workspace .metric-value small{display:block;font-size:12px;line-height:1.4;letter-spacing:.3px;color:#bdd6ef;margin:0 0 5px}
.workspace .metric-foot,.workspace .accent .metric-foot{font-size:12px;color:#b1c8e5;line-height:1.6}
.workspace .metric-foot b{font-size:18px;color:#50e5ff}
.workspace .panel{background:linear-gradient(145deg,#101f37,#0d182e);border-color:#2a547f;box-shadow:0 8px 28px #0002;border-radius:13px}
.workspace .panel-heading{padding:22px 22px 0;align-items:center}
.workspace .panel h2{font-size:20px;font-weight:650;line-height:1.4;color:#f3f7ff}
.workspace .panel-heading p{font-size:13px;color:#b4c7e2;line-height:1.7;margin-top:7px}
.workspace .legend{font-size:12px;color:#d3e0f2;gap:14px}.workspace .legend i{width:8px;height:8px}
.workspace .sales-dot{background:#00ddff}.workspace .refund-dot{background:#ff548d}
.workspace .chart-axis{font-size:15px;fill:#bbcee8}
.workspace .chart-grid{stroke:#2d4564;stroke-width:1}
.workspace .chart-sales{stroke:#00ddff;stroke-width:3}.workspace .chart-refunds{stroke:#ff548d;stroke-width:2.6}
.workspace .chart-dot{fill:#00ddff;stroke:#112943}.workspace .chart-dot.refund{fill:#ff548d}
.workspace .chart-tooltip{background:#173658;border-color:#3bdfff;font-size:14px;color:#fff;padding:11px 13px}
.workspace .chart-data{font-size:13px;color:#a9e6ff;margin-top:9px;line-height:1.6}
.workspace .chart-placeholder,.workspace .panel-note{font-size:13px;color:#afc4e0;line-height:1.8}
.workspace .small-tag{font-size:12px;color:#c0dcfa;background:#173552;border-color:#3f6c9a}
.workspace .source-description strong{font-size:14px;color:#eef5ff}.workspace .source-description span{font-size:12px;color:#b2c7e3}
.workspace .source-mark{width:37px;height:37px;font-size:13px;background:#143d5c;color:#8eeaff;border-color:#3384a3}
.workspace .status{font-size:12px;padding:5px 9px;color:#a7f5da;background:#123d36;border-color:#398e79}
.workspace .status.warning{color:#ffe09c;background:#3a2c1b;border-color:#9d7d39}.workspace .status.muted{color:#c6d6eb;background:#25334b;border-color:#536b8f}
.workspace table{font-size:14px;line-height:1.6}.workspace th{font-size:12px;font-weight:600;letter-spacing:.2px;color:#b7d3ee;padding:17px 18px;border-color:#355371;background:#0a172b}
.workspace td{font-size:14px;color:#e0eafa;padding:15px 18px;border-color:#223c5e}
.workspace tbody tr:hover td{background:#0e315037}
.workspace .site-name{font-size:14px;color:#f0f7ff}.workspace .source-label{font-size:12px;color:#acc3e2;line-height:1.5}
.workspace .money-muted{color:#d9e7f8}.workspace .refund-money{color:#ffa3c7}.workspace .net-money{color:#7fe9ff}
.workspace .site-open{min-height:44px;min-width:44px;border:1px solid #3be7ff;color:#031829;background:linear-gradient(120deg,#4deafa,#00c9f3);font-size:20px;font-weight:700;border-radius:10px;box-shadow:0 3px 12px #00ddff16}
.workspace .site-open:hover{background:#96f4ff}
.portal-workspace .table-footer{padding:15px 20px;border-color:#355371;font-size:13px;color:#bad0eb;gap:12px}
.portal-workspace .pager button{min-width:40px;min-height:40px;font-size:16px;border-radius:7px;background:#233c64;border-color:#577da9;color:#e7f4ff}
.workspace .text-button{font-size:13px;font-weight:600;color:#a5eaff;line-height:1.5}
.workspace .handover-stage{background:#122b42;border-color:#396a8a;border-radius:10px}.workspace .handover-stage:hover{border-color:#00ddff}
.workspace .handover-stage strong{font-size:30px;color:#bff9ff}.workspace .handover-stage span{font-size:13px;color:#c4d8ed}
.workspace .report-footer{font-size:12px;color:#9fb7d7;line-height:1.8;flex-wrap:wrap}
.workspace .notice,.workspace .error-panel,.workspace .empty-panel{font-size:14px;line-height:1.8;border-color:#5080aa}
.workspace .empty-panel p{color:#b7cde7}.workspace .empty-panel h2{font-size:25px}
.portal-workspace .records-dialog{background:#0d1b32;color:#f2f7ff;border-color:#3a729e;box-shadow:0 25px 100px #0009;border-radius:16px}
.portal-workspace .records-dialog::backdrop{background:#030818c9;backdrop-filter:blur(6px)}
.portal-workspace .dialog-heading{padding:24px 25px 12px}.portal-workspace .dialog-heading h2{font-size:28px;font-weight:650;line-height:1.4}
.portal-workspace .dialog-heading p{font-size:14px;color:#b8cde7;line-height:1.6}
.portal-workspace .records-loading,.portal-workspace .records-dialog>.notice{font-size:14px;line-height:1.7}
.portal-workspace .records-dialog th{font-size:12px;color:#c2daf2;background:#10233d}
.portal-workspace .records-dialog td{font-size:14px;color:#e3edfb;line-height:1.7}
.portal-workspace .records-tabs button{font-size:14px;padding:10px 15px;color:#d3e5ff}.portal-workspace .records-tabs button.active{background:#0056a1;border-color:#1dd9fa}
.portal-workspace .record-state,.portal-workspace .multi-label{font-size:12px}.portal-workspace .record-site{font-size:14px}
.portal-workspace .package-section{border-color:#335f89}.portal-workspace .package-section h3{font-size:18px;padding:17px 18px;background:#153555;color:#e9f7ff}
.portal-workspace .package-section td,.portal-workspace .package-section th{padding:13px 14px}
.portal-workspace .package-grand-total td{background:#1a3b5d;font-size:14px;font-weight:700;border-color:#41d7f2;color:#eaf8ff}
.portal-workspace .package-final{background:linear-gradient(115deg,#12314c,#172448);border-color:#3f91af;gap:20px;padding:23px 25px}
.portal-workspace .package-final span{font-size:13px;line-height:1.5;color:#c5d9ef;min-height:22px}.portal-workspace .package-final strong{font-size:28px;color:#f3f8ff;line-height:1.4}
.portal-workspace .package-final strong small{font-size:12px;color:#b3d9f0}.portal-workspace .package-final>div>small{font-size:12px;color:#b8d0e9;line-height:1.6}
.portal-workspace .package-final-net strong{color:#5ee8ff}.portal-workspace .package-final-net span{color:#b7f5ff}
.portal-workspace .settings-panel th{font-size:12px}.portal-workspace .settings-panel td{font-size:14px}
.portal-workspace .settings-subtext{font-size:12px;color:#b1c5df}.portal-workspace .settings-help{font-size:14px;line-height:1.8;color:#b3c7e3}
.portal-workspace .country-monogram{width:42px;height:42px;font-size:15px;color:#9cefff;border-color:#447b9c;background:#173b58}
.portal-workspace .directory-filters label,.portal-workspace .settings-fields>label{font-size:14px;font-weight:550;color:#d1e0f3}
.portal-workspace .directory-filters select,.portal-workspace .directory-filters input[type=date],.portal-workspace .settings-fields input,.portal-workspace .settings-fields select,.portal-workspace .settings-fields textarea,.portal-workspace .mobile-navigation select{font-size:15px;min-height:44px;border-color:#3d638d;border-radius:8px;background:#0c1d35;color:#f1f6ff}
.portal-workspace .settings-toolbar .table-search input{height:44px;font-size:14px}
.portal-workspace .settings-panel .text-button{font-size:13px;padding:8px 12px;border:1px solid #8675c6;background:#34275b;color:#efe7ff;border-radius:8px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:36px}
.portal-workspace .settings-panel .row-actions button:nth-of-type(2){color:#b8f8ff;background:#10435a;border-color:#1aa7be}
.portal-workspace .row-actions{gap:10px}.portal-workspace .settings-panel .text-button:hover{filter:brightness(1.25)}
.portal-workspace .settings-dialog{max-width:820px}.portal-workspace .settings-dialog .dialog-heading h2{font-size:27px}
.portal-workspace .settings-fields{gap:20px}.portal-workspace .settings-fields small{font-size:12px;color:#b1c5df}
.portal-workspace .settings-fields input:read-only{color:#b1c6e1;background:#15233a}
.portal-workspace .settings-fields>.settings-help{grid-column:1/-1;margin:0}
.portal-workspace .permission-option,.portal-workspace .access-option{font-size:14px;line-height:1.6;padding:13px;background:#122a42;border-color:#355675;border-radius:9px;color:#e2edfb}
.portal-workspace .permission-option input,.portal-workspace .access-option input{width:18px;height:18px;min-height:18px;margin-top:3px;accent-color:#00c4e9}
.portal-workspace .access-options{max-height:360px}.portal-workspace .access-option small{font-size:12px}
.portal-workspace .access-tools .secondary-button:first-of-type{color:#b8f7ff;background:#10425a;border-color:#26b1c7}
.portal-workspace .access-tools .secondary-button:last-of-type{color:#ffbdd4;background:#42243c;border-color:#b45a8b}
.portal-workspace .dialog-actions{position:sticky;bottom:0;z-index:2;background:#10213a;border-color:#355675}
.portal-workspace .site-country-editor select{font-size:13px;min-height:38px;color:#e5efff;border-color:#406c98;background:#122a44}
.portal-workspace .settings-button-small{font-size:13px}.portal-workspace .validity-tag{font-size:13px}
/* Google-only authentication uses the same palette, with a single centred card. */
body.portal-auth{background:radial-gradient(ellipse at 92% 8%,#0056b980,transparent 42%),radial-gradient(ellipse at 0% 88%,#ff1d5852,transparent 38%),radial-gradient(ellipse at 15% 65%,#7727be30,transparent 42%),#080e20;background-attachment:fixed}
.portal-auth .page{max-width:1800px;padding:26px 5% 18px}.portal-auth .page:before{display:none}
.portal-auth .brand-name{font-size:26px;letter-spacing:1.2px}.portal-auth .brand-caption{font-size:11px;color:#b7cbe6;letter-spacing:1.5px}
.portal-auth .brand-logo{width:48px;height:48px;border:1px solid #2877a1;box-shadow:0 0 20px #00ddff20}
.portal-auth .top-label{font-size:14px;color:#e1f5ff;border:1px solid #00b2e2;background:#0731596e;border-radius:12px;padding:10px 15px;letter-spacing:0}
.portal-auth .top-label svg{color:#70e7ff;width:20px;height:20px}
.portal-auth .layout{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:0;padding:32px 0 24px}
.portal-auth .intro{display:none}.portal-auth .login-wrap{max-width:580px;justify-self:center;width:100%}
.portal-auth .login-card{margin:0;padding:44px 42px 30px;text-align:center;border-radius:22px;border:1px solid transparent;background:linear-gradient(145deg,#0a2242,#0e142f) padding-box,linear-gradient(135deg,#00ddff,#1265df 40%,#9a46f7 75%,#ff4081) border-box;box-shadow:0 20px 90px #0005,0 0 32px #005bd21f}
.portal-auth .login-card:before{display:none}
.portal-auth .card-icon{margin:0 auto 25px;width:78px;height:78px;border-radius:50%;border:2px solid #2cbdef;color:#32e3ff;background:radial-gradient(circle,#0a274f,#111d41);box-shadow:0 0 25px #007eff3a,0 0 0 5px #3164cb18}
.portal-auth .card-icon svg{width:34px;height:34px;stroke-width:1.8}
.portal-auth .card-eyebrow{display:none}.portal-auth h2{font-size:44px;font-weight:700;letter-spacing:-1.3px;line-height:1.2;margin:0 0 13px}
.portal-auth .card-copy{font-size:17px;line-height:1.7;color:#c0d1ea;margin-bottom:30px}
.portal-auth .google-button{height:64px;font-size:19px;font-weight:600;letter-spacing:0;border:2px solid #7ddffb;border-radius:12px;background:#fff;color:#111d36;gap:14px;box-shadow:0 0 0 1px #7d62ed66,0 6px 25px #126ad12b}
.portal-auth .google-button svg{width:25px;height:25px;flex:none}.portal-auth .google-button:hover:enabled{background:#edfaff;border-color:#09dcfa;box-shadow:0 0 22px #00ddff38}
.portal-auth .google-note{font-size:14px;line-height:1.7;margin:17px 0 0;color:#c3d0e6}
.portal-auth .card-footer{font-size:14px;line-height:1.7;justify-content:center;margin-top:29px;padding-top:22px;border-color:#385078;color:#b7cde7;gap:10px}
.portal-auth .card-footer svg{height:19px;width:19px;color:#7cdcf7}
.portal-auth .help-text{font-size:13px;line-height:1.7;color:#b3c9e8;margin-top:16px}
.portal-auth .footer{font-size:12px;color:#b1c7e3;line-height:1.8;gap:14px}
.portal-auth .field label{font-size:14px;text-align:left;color:#d5e5f7}.portal-auth .input-shell input{font-size:16px;min-height:48px;border-color:#3c648c}
.portal-auth .submit{min-height:48px;font-size:16px;background:linear-gradient(115deg,#42e7fb,#00bde9);color:#061d32;border-color:#54dfff;font-weight:700}
.portal-auth .alert,.portal-auth .login-card .alert.info,.portal-auth .signed-in,.portal-auth .account-details,.portal-auth .recovery-link{font-size:14px;line-height:1.7}
.portal-auth .reset-steps span{width:33px;height:33px;font-size:13px}
@media(min-width:2100px){.workspace .metrics{grid-template-columns:repeat(6,minmax(0,1fr))}.workspace .metric-value{font-size:29px}}
@media(max-width:1250px){.workspace .sidebar{width:220px;padding-left:13px;padding-right:13px}.workspace .brand>span{font-size:19px}.workspace .brand small{font-size:9px}.workspace .nav-link{font-size:13px}.workspace .main{padding:28px 22px}.workspace .filters{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace .metric{padding:17px}.workspace .metric-value{font-size:29px}.workspace .metric-top{font-size:12px}}
@media(max-width:1000px){.workspace .sidebar{width:205px}.workspace .main{padding:26px 20px}.workspace .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace h1{font-size:30px}.workspace .header-end>span:last-child{max-width:150px}.workspace .separate-trends{grid-template-columns:1fr}.workspace .filters{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace .filters>.primary-button{grid-column:1/-1}.portal-workspace .package-tables{grid-template-columns:1fr}}
@media(max-width:760px){
 .workspace .sidebar{width:100%;height:auto;padding:17px 18px;gap:12px;position:relative}.workspace .brand{margin:0;gap:10px}.workspace .brand>span{font-size:20px}.workspace .brand small{font-size:9px}.workspace .brand img{width:38px;height:38px}.workspace .sidebar-section{display:none}.workspace .sidebar-bottom{border:0;padding:0;gap:8px}.workspace .account{display:none}.workspace .avatar{height:33px;width:33px;font-size:14px}.workspace .main{padding:24px 16px}.workspace h1{font-size:28px}.workspace h1+p{font-size:14px;max-width:none}.workspace .eyebrow{font-size:11px}.workspace .page-header{display:block}.workspace .header-end{display:flex;align-items:center;gap:13px;margin-top:13px;text-align:left}.workspace .header-end>span:last-child{font-size:12px;margin:0;max-width:none}.workspace .mode-badge{font-size:11px;padding:5px 10px}
 .workspace .filters{padding:15px;gap:13px}.workspace .filters label{font-size:13px}.workspace .filters select,.workspace .filters input,.workspace .filter-static-country{font-size:14px;min-height:44px}.workspace .period-caption{font-size:12px;gap:7px;margin-bottom:18px}.workspace .metrics{gap:11px}.workspace .metric{padding:14px 12px;min-height:174px}.workspace .metric-top{font-size:12px;letter-spacing:0;align-items:flex-start;line-height:1.5}.workspace .metric-icon{width:26px;height:26px;font-size:15px;border-radius:8px}.workspace .metric-value{font-size:clamp(19px,5.6vw,27px);letter-spacing:-.6px;white-space:nowrap;overflow-wrap:normal;margin:13px 0}.workspace .metric-value small{font-size:11px;margin-bottom:5px}.workspace .metric-foot{font-size:11px;line-height:1.6}.workspace .panel-heading{padding:19px 16px 0;gap:12px}.workspace .panel h2{font-size:18px}.workspace .panel-heading p{font-size:13px}.workspace .legend{font-size:11px;gap:8px}.workspace .chart-axis{font-size:16px}.workspace .chart-tooltip{font-size:13px}.workspace .table-search input{width:130px;font-size:13px}.workspace .site-table{min-width:800px}.workspace td,.workspace th{padding:13px 15px}.workspace .panel-note{font-size:13px}.portal-workspace .table-footer{font-size:12px;padding:14px 16px}.workspace .handover-body{grid-template-columns:1fr}.workspace .handover-stage{padding:15px}.workspace .handover-stage strong{font-size:27px}.workspace .handover-stage span{font-size:13px}.workspace .report-footer{font-size:11px}.workspace .handovers-panel .text-button{font-size:13px;max-width:130px}
 .portal-workspace .dialog-heading{padding:21px 17px 12px}.portal-workspace .dialog-heading h2,.portal-workspace .settings-dialog .dialog-heading h2{font-size:23px}.portal-workspace .dialog-heading p{font-size:13px}.portal-workspace .records-dialog>.notice{font-size:13px;margin-left:17px;margin-right:17px}.portal-workspace .records-dialog td{font-size:13px}.portal-workspace .package-tables{padding:4px 17px 18px;gap:17px}.portal-workspace .package-section h3{font-size:17px;padding:14px}.portal-workspace .package-section td,.portal-workspace .package-section th{padding:12px 9px;font-size:12px}.portal-workspace .package-grand-total td{font-size:12px}.portal-workspace .package-final{padding:17px;gap:12px;grid-template-columns:1fr}.portal-workspace .package-final>div{padding-bottom:13px;border-bottom:1px solid #335571}.portal-workspace .package-final>div:last-child{border:0;padding:0}.portal-workspace .package-final span{font-size:13px;min-height:0}.portal-workspace .package-final strong{font-size:25px;line-height:1.3;margin-top:7px}.portal-workspace .package-final strong small{display:inline;font-size:12px;margin-right:6px}.portal-workspace .package-final>div>small{font-size:12px;margin-top:5px}
 .portal-workspace .directory-filters{gap:12px}.portal-workspace .directory-filters select{min-width:135px}.portal-workspace .settings-toolbar .table-search input{width:180px}.portal-workspace .settings-actions{justify-content:flex-start}.portal-workspace .settings-fields{padding:12px 17px 19px;grid-template-columns:1fr;gap:17px}.portal-workspace .settings-fields>label{font-size:14px}.portal-workspace .permission-option,.portal-workspace .access-option{font-size:14px}.portal-workspace .settings-help{font-size:13px}.portal-workspace .mobile-navigation select{font-size:14px;min-height:45px}.portal-workspace .settings-panel td,.portal-workspace .settings-panel th{font-size:13px}.portal-workspace .settings-panel .text-button{font-size:13px}.portal-workspace .settings-subtext{font-size:12px}.portal-workspace .access-tools .secondary-button{font-size:13px;padding:10px 12px}
 .portal-auth .page{padding:23px 20px 20px}.portal-auth .brand-name{font-size:22px}.portal-auth .brand-caption{font-size:10px;letter-spacing:1px}.portal-auth .brand-logo{width:39px;height:39px}.portal-auth .top-label{padding:8px 10px;font-size:11px;gap:6px}.portal-auth .top-label svg{width:16px;height:16px}.portal-auth .layout{display:grid;padding:40px 0 25px}.portal-auth .login-wrap{max-width:500px}.portal-auth .login-card{padding:31px 24px 25px;border-radius:18px}.portal-auth .card-icon{height:65px;width:65px;margin-bottom:23px}.portal-auth .card-icon svg{height:29px;width:29px}.portal-auth h2{font-size:34px;letter-spacing:-.8px}.portal-auth .card-copy{font-size:16px;margin-bottom:25px}.portal-auth .google-button{height:58px;font-size:17px;gap:12px}.portal-auth .google-button svg{width:23px;height:23px}.portal-auth .google-note,.portal-auth .card-footer{font-size:13px}.portal-auth .card-footer{margin-top:24px;padding-top:20px}.portal-auth .help-text{font-size:13px}.portal-auth .footer{font-size:11px;justify-content:center;text-align:center;flex-wrap:wrap}.portal-auth .footer-right{flex-wrap:wrap;justify-content:center}
}
@media(max-width:380px){.workspace .main{padding-left:12px;padding-right:12px}.workspace .metric-value{font-size:19px}.workspace .metric-top{font-size:11px}.workspace .metric-icon{height:23px;width:23px}.portal-auth .top-label{display:none}.portal-auth .page{padding-left:16px;padding-right:16px}.portal-auth .login-card{padding-left:20px;padding-right:20px}.portal-auth h2{font-size:31px}.portal-auth .google-button{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

.portal-workspace .icon-button{color:#a7ddf4}.portal-workspace .icon-button:hover{color:#ff85b3}

.workspace .panel-heading>div:first-child{min-width:0}.portal-workspace .icon-button{min-height:44px;min-width:44px}.portal-workspace .records-dialog .source-label{font-size:12px;color:#b5cde8}.portal-workspace .records-dialog .refund-money{color:#ffa3c7}@media(max-width:1250px){.workspace .filters>.primary-button{grid-column:1/-1}}

.portal-workspace .package-dialog{max-height:calc(100svh - 28px)}
.portal-workspace .package-dialog .dialog-heading{padding:18px 24px 8px}
.portal-workspace .package-dialog>.notice{margin-bottom:12px;padding:11px 15px}
.portal-workspace .package-dialog .package-tables{padding-bottom:15px}
.portal-workspace .package-dialog .package-section h3{padding:13px 16px}
.portal-workspace .package-dialog .package-section td,.portal-workspace .package-dialog .package-section th{padding:10px 14px;line-height:1.5}
.portal-workspace .package-dialog>.table-footer{padding:10px 20px}
.portal-workspace .package-dialog .package-final{padding:17px 24px}
@media(min-width:1001px){.portal-workspace .package-dialog .package-final{position:sticky;bottom:0;z-index:2}}
@media(max-width:760px){.portal-workspace .package-dialog .package-section td,.portal-workspace .package-dialog .package-section th{padding:11px 9px}.portal-workspace .package-dialog .package-final{padding:17px}}

/* Theme size scales the entire interface, including controls and spacing. */
:root[data-theme-size="small"]{--portal-theme-zoom:.8;zoom:var(--portal-theme-zoom)}
:root[data-theme-size="normal"]{--portal-theme-zoom:.9;zoom:var(--portal-theme-zoom)}
:root[data-theme-size="large"]{--portal-theme-zoom:1;zoom:var(--portal-theme-zoom)}
.display-preferences{display:flex;flex-direction:column;gap:10px;min-width:0}
.preference-control{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#d5e5f7;font-size:14px;font-weight:600}
.preference-control select{appearance:auto;min-height:44px;padding:8px 10px;border:1px solid #447b9c;border-radius:9px;background:#122a44;color:#eaf8ff;font:inherit;cursor:pointer;min-width:106px;max-width:100%}
.preference-status{font-size:12px;line-height:1.6;color:#a9e8db;max-width:240px}.preference-status[data-error]{color:#ffabc5}.preference-retry{font:inherit;color:#9feeff;border:1px solid #447b9c;background:#122a44;border-radius:6px;padding:5px 10px;cursor:pointer}
.workspace .display-preferences{margin-top:12px;padding-top:14px;border-top:1px solid #234c7b;flex-shrink:0}
.portal-auth .display-preferences{margin-left:auto;flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px}.portal-auth .topbar{gap:18px;flex-wrap:wrap}.portal-auth .preference-status{display:none}
[dir="rtl"] .workspace .sidebar{border-right:0;border-left:1px solid #234c7b}
[dir="rtl"] .workspace th,[dir="rtl"] .workspace td{text-align:right}
[dir="rtl"] .header-end{text-align:left}
[dir="rtl"] .portal-auth .display-preferences{margin-left:0;margin-right:auto}
[dir="rtl"] .workspace .pager:not(.numbered-pager) button{transform:scaleX(-1)}
[dir="rtl"] .workspace .chart-row{direction:ltr}
[dir="rtl"] .workspace .trend-panel .panel-heading{direction:rtl}
[dir="rtl"] input[type="date"],[dir="rtl"] input[type="email"],[dir="rtl"] input[type="url"],[dir="rtl"] .metric-value,[dir="rtl"] .package-final strong{direction:ltr;unicode-bidi:isolate}
[lang="ar"],[lang="ur"]{font-family:"Segoe UI",Tahoma,Arial,sans-serif}
[lang="hi"],[lang="ta"],[lang="ml"]{font-family:"Nirmala UI","Segoe UI",Arial,sans-serif}
[lang="ar"] body,[lang="ur"] body,[lang="hi"] body,[lang="ta"] body,[lang="ml"] body{line-height:1.7}
[lang="ar"] .metric-top,[lang="ur"] .metric-top,[lang="hi"] .metric-top,[lang="ta"] .metric-top,[lang="ml"] .metric-top{letter-spacing:0;line-height:1.8}
@media(max-width:760px){.workspace .sidebar{flex-wrap:wrap}.workspace .display-preferences{order:4;width:100%;margin-top:0;padding-top:10px;flex-direction:row;flex-wrap:wrap;gap:10px 18px}.preference-control{font-size:13px}.portal-auth .display-preferences{width:100%;margin:0;justify-content:flex-end}.portal-auth .top-label{display:none}.portal-auth .topbar{gap:12px}.preference-control select{min-width:100px}.workspace .preference-status{max-width:none;width:100%}}

@media(min-width:761px){.workspace .sidebar{height:calc(100dvh / var(--portal-theme-zoom,1));overflow-y:auto}}
.portal-workspace .records-dialog{width:min(1120px,calc((100vw - 24px) / var(--portal-theme-zoom,1)));max-width:calc((100vw - 24px) / var(--portal-theme-zoom,1));max-height:calc((100svh - 28px) / var(--portal-theme-zoom,1))}

/* A fixed five-slot page window keeps the current page at the centre. */
.portal-workspace .table-footer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center}
.portal-workspace .numbered-pager{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;width:100%;gap:10px}
.numbered-pager .page-actions{display:flex;gap:7px;align-items:center}.numbered-pager .page-actions-start{justify-content:flex-end}.numbered-pager .page-actions-end{justify-content:flex-start}
.numbered-pager .page-numbers{display:grid;grid-template-columns:16px repeat(5,minmax(38px,auto)) 16px;gap:5px;align-items:center;justify-content:center;direction:ltr}
.portal-workspace .numbered-pager button{font-size:13px;padding:8px 10px;min-width:38px;min-height:40px;white-space:nowrap;transform:none}
.portal-workspace .numbered-pager .current-page{background:linear-gradient(120deg,#5aeaf9,#19c9ee);color:#05182b;border:2px solid #94f3ff;font-weight:800;box-shadow:0 0 15px #00ddff40;opacity:1}
.numbered-pager .page-placeholder{display:block;min-height:40px}.numbered-pager .page-ellipsis{font-size:16px;color:#bcd7f0;text-align:center}
.portal-workspace th .table-sort{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:40px;padding:3px 0;border:0;background:none;color:inherit;font:inherit;font-weight:700;text-align:inherit;letter-spacing:inherit;text-transform:inherit}
.table-sort .sort-icon{color:#92c6e8;flex-shrink:0;font-size:16px}.portal-workspace th[aria-sort="ascending"],.portal-workspace th[aria-sort="descending"]{color:#7eefff}.portal-workspace th[aria-sort="ascending"] .sort-icon,.portal-workspace th[aria-sort="descending"] .sort-icon{color:#fff685}
@media(max-width:1100px){.portal-workspace .numbered-pager{grid-template-columns:1fr 1fr;gap:8px}.numbered-pager .page-numbers{grid-column:1/-1;grid-row:1;justify-self:center}.numbered-pager .page-actions-start{grid-column:1;grid-row:2}.numbered-pager .page-actions-end{grid-column:2;grid-row:2}}
@media(max-width:420px){.numbered-pager .page-numbers{grid-template-columns:10px repeat(5,minmax(32px,auto)) 10px;gap:3px}.portal-workspace .numbered-pager button{min-width:32px;padding:8px;font-size:12px}.portal-workspace .table-footer{padding-left:9px;padding-right:9px}}

[dir="rtl"] .workspace .metric,[dir="rtl"] .workspace .handover-stage{text-align:right}

@media(max-width:760px){:root[data-theme-size="large"] .workspace .metrics{grid-template-columns:1fr}}

[lang="ml"] .portal-auth .google-button{height:auto;min-height:64px;padding:12px 16px;line-height:1.5}

.assignment-panel{grid-column:auto;min-width:0;border:1px solid #355879;border-radius:10px;padding:16px}.assignment-panel h3{margin:0 0 12px;font-size:17px;color:#dff6ff}.assignment-panel>.settings-help{margin:0 0 12px}.assignment-panel .access-options{border:0;padding:0;max-height:300px}
.invalid-assignment-panel{border-color:#a96577;background:#391d302e}.invalid-assignment-panel h3{color:#ffb4cd}.invalid-assignment-details{margin:0 0 12px;padding:0 12px 12px 41px;border-bottom:1px solid #694052;font-size:13px;line-height:1.7;color:#d2ddef}.invalid-assignment-reason{font-size:14px;color:#ffb4cd}.invalid-assignment-details p{margin:5px 0 0}.invalid-assignment-details b{font-weight:500;unicode-bidi:isolate}
[dir="rtl"] .invalid-assignment-details{padding-left:12px;padding-right:41px}

.assignment-panels{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.access-dialog .settings-fields{gap:12px}.access-dialog .settings-fields>.settings-help{grid-column:1/-1;margin:0}.assignment-panel .access-options{max-height:280px}
@media(max-width:760px){.assignment-panels{grid-template-columns:1fr}.assignment-panel{padding:13px}}

.portal-workspace .assignment-db-name{display:block;width:fit-content;margin:5px 0;padding:2px 7px;border:1px solid #397c9d;border-radius:5px;background:#123a53;color:#a6eeff;font:12px/1.5 Consolas,monospace;letter-spacing:0}

.assignment-groups{grid-column:1/-1;display:grid;gap:20px}.assignment-group{border:1px solid #355879;border-radius:12px;padding:16px;background:#0c1b302e}.assignment-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.assignment-group-heading h3{display:flex;gap:10px;align-items:center;margin:0;font-size:21px;color:#e5f7ff}.assignment-count{display:inline-block;border-radius:20px;padding:2px 9px;background:#16485a;color:#b7f6ff;font-size:12px;font-weight:600}.assignment-group-actions{display:flex;gap:8px;flex-wrap:wrap}.assignment-group>.settings-help{margin:10px 0 14px}.assignment-panel h4{display:flex;gap:9px;align-items:center;margin:0 0 12px;font-size:16px;color:#e6f6ff}.invalid-assignment-panel h4{color:#ffb4cd}.rest-sites-group{border-color:#426d9a}.assignment-group .access-options{max-height:230px}.assignment-pending{font-weight:600;color:#b7f6ff!important}.assignment-group input:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:760px){.assignment-group{padding:12px}.assignment-group-heading h3{font-size:19px}.assignment-group-actions .secondary-button{font-size:12px!important;padding:8px!important}}

.invalid-period-panel{border:1px solid #97546b;background:#321d312b}.invalid-period-panel h2{color:#ffb4cd}.invalid-period-panel>strong{display:block;font-size:20px;color:#e3f6ff}.invalid-period-panel p{font-size:15px;line-height:1.8;color:#c3d3e9}

.assignment-site-entry{min-width:0;border:1px solid #355675;border-radius:10px;overflow:hidden;background:#10253a}.assignment-site-entry .access-option{border:0!important;border-radius:0!important}.assignment-user-validity{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;padding:4px 13px 12px;font-size:12px;color:#bad5e9}.assignment-user-validity p{margin:0}.assignment-user-validity b{font-weight:500;unicode-bidi:isolate}.assignment-user-validity .text-button{font-size:12px;color:#76e7ff}.assignment-site-entry .invalid-assignment-details{margin-bottom:0;border-bottom:0;padding-left:13px}.assignment-group .access-options{max-height:360px}.user-access-validity-dialog{width:min(580px,calc(100vw - 30px));border:1px solid #43729a;border-radius:16px;padding:0;background:#0d2035;color:#e6f4ff}.user-access-validity-dialog::backdrop{background:#020a17c9}.user-access-validity-dialog .records-heading{padding:20px;display:flex;align-items:center;justify-content:space-between}.user-access-validity-fields{padding:0 20px 20px;display:grid;gap:14px}.user-access-validity-fields>label{display:grid;gap:8px}.user-access-validity-fields .validity-date-control{display:flex;gap:10px}.user-access-validity-fields input{min-width:0;flex:1;background:#0b1a2d;color:#e4f4ff;border:1px solid #43729a;padding:12px;border-radius:9px;font:inherit;color-scheme:dark}.user-access-validity-identity{font-size:16px;margin:0;font-weight:600}.user-access-validity-fields .settings-help{margin:0;color:#b1c6db;line-height:1.65}.user-access-validity-dialog .settings-form-actions{display:flex;justify-content:flex-end;gap:12px;padding:18px 20px;border-top:1px solid #31506c}

.portal-workspace .user-access-validity-dialog{width:min(580px,calc((100vw - 30px) / var(--portal-theme-zoom,1)))}.user-access-validity-identity,.user-access-validity-source{overflow-wrap:anywhere}.user-access-validity-fields .user-access-validity-source{color:#8edfeb}

.portal-workspace .numbered-pager .page-nav-button{display:inline-flex;align-items:center;justify-content:center;min-width:40px;width:40px;padding:8px;flex:none}.page-nav-icon{display:block;width:18px;height:18px;flex:none}[dir="rtl"] .numbered-pager .page-nav-icon{transform:scaleX(-1)}

/* Joined folder tabs share the content surface while preserving the portal palette. */
.site-modify-sections{min-width:0}
.site-modify-tabs{display:flex;align-items:stretch;gap:6px;border-bottom:1px solid #40617c}
.portal-workspace .site-modify-tabs [role="tab"]{position:relative;flex:0 1 auto;min-width:0;margin:0;padding:15px 22px;border:1px solid transparent;border-bottom:0;border-radius:12px 12px 0 0;background:transparent;color:#b1c6e1;box-shadow:none;line-height:1.4;white-space:normal}
.portal-workspace .site-modify-tabs [role="tab"]:hover{background:#10253a;color:#e6f4ff}
.portal-workspace .site-modify-tabs [aria-selected="true"]{background:#142c46;border-color:#40617c;color:#8eeaff;box-shadow:none}
.portal-workspace .site-modify-tabs [aria-selected="true"]::after{content:"";position:absolute;inset-inline:0;bottom:-1px;height:2px;background:#142c46}
.portal-workspace .site-modify-tabs [role="tab"]:focus-visible{outline:2px solid #65dff0;outline-offset:-5px}
.site-modify-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:22px;background:#142c46;border:1px solid #40617c;border-top:0;border-radius:0 0 12px 12px;min-width:0}
@media(max-width:760px){.portal-workspace .site-modify-tabs [role="tab"]{flex:1;padding:13px 10px}.site-modify-panel{padding:16px}}
.site-modify-panel>label{display:flex;flex-direction:column;gap:8px}.site-modify-panel input[readonly]{opacity:.8}.portal-workspace .form-success{border-color:#39a491!important;background:#0c3938!important;color:#b9f8e7!important}@media(max-width:760px){.site-modify-panel{grid-template-columns:1fr}}

.phone-sync-result{min-width:0}.phone-sync-summary{display:flex;gap:18px;flex-wrap:wrap;padding:12px 0;color:#b7e9f5}.phone-sync-summary b{font-size:18px;color:#8eeaff}.phone-sync-result ul{padding-inline-start:20px;max-height:190px;overflow:auto}.phone-sync-result li{margin:10px 0;overflow-wrap:anywhere}.phone-sync-result small{display:block;color:#ffc2d4;margin-top:5px}

.site-modify-panel output{display:block;padding:12px 14px;border:1px solid #40617c;border-radius:8px;background:#15233a;color:#b1e7f4;line-height:1.4;min-width:0;overflow-wrap:anywhere}

.site-group-list{display:grid;gap:14px}.site-group-row{display:flex;gap:16px;align-items:center;padding:14px;border:1px solid #355675;border-radius:10px;flex-wrap:wrap}.site-group-row strong{flex:1;overflow-wrap:anywhere}.group-site-options{display:grid;gap:10px;max-height:380px;overflow:auto}.group-site-options .access-option{margin:0}.site-group-row>span{color:#b1c6e1}
