/* Advertiser dashboard: shared account foundations, with a quieter workspace. */
.dashboard-page{background:#f5f8fb;background-image:radial-gradient(ellipse at 12% 0,#eaf2f9 0,transparent 55%);min-height:100vh}
.dashboard-page .portal-header{padding:0;background:#0b1b2d;border-bottom:1px solid #203247}
.portal-header-inner{width:100%;max-width:1280px;margin:auto;padding:16px 28px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.dashboard-page .portal-header img{width:184px;height:52px}
.dashboard-page .portal-header nav{gap:24px;flex-shrink:0}.dashboard-page .portal-header nav>a{white-space:nowrap;flex-shrink:0}.dashboard-page #user-button{flex:0 0 32px;width:32px;min-width:32px}
.dashboard-page .portal-header nav>a{font-weight:600;line-height:1.4;transition:color .15s}
.dashboard-page .portal-header nav>a:hover{color:#fff}
.dashboard-page .portal-header nav>a[aria-current]{color:#fff}
.dashboard-page .portal-main{padding:44px 28px 40px}
.dashboard-page .welcome-row{align-items:center;gap:28px;margin-bottom:36px}
.dashboard-page .welcome-row>div:first-child{min-width:0}
.dashboard-page .welcome-row h1{font-size:clamp(30px,3.4vw,42px);letter-spacing:-.045em;line-height:1.15;margin:0 0 12px;overflow-wrap:anywhere}
.dashboard-page .welcome-row .portal-label{font-size:10px;letter-spacing:.16em;margin-bottom:12px}
.dashboard-page .welcome-row .muted{font-size:14px;line-height:1.6;color:#677b90}
.account-chip{border:1px solid #dce6ef;background:#ffffffb3;border-radius:10px;padding:12px 16px;max-width:270px}
.account-chip-label{display:block;font-size:10px;letter-spacing:.09em;text-transform:uppercase;color:#6b7f92;margin-bottom:3px}
.dashboard-page .account-email{max-width:none;font-size:12px;color:#344e67;margin:0}
.dashboard-page .dashboard-grid{grid-template-columns:minmax(0,1fr) 282px;gap:24px;align-items:start}
.dashboard-page .stack{min-width:0}
.dashboard-page .card{padding:28px;border-color:#dee7ef;border-radius:16px;box-shadow:0 3px 5px #192b4002,0 12px 30px #192b4003}
.dashboard-page .section-heading{margin-bottom:24px;gap:16px}
.dashboard-page .section-heading h2{font-size:22px;letter-spacing:-.025em;line-height:1.3}
.panel-eyebrow{font-size:10px;letter-spacing:.12em;font-weight:700;text-transform:uppercase;color:#6a8196;margin:0 0 6px}
.count-pill{font-size:11px;color:#4b6580;border:1px solid #e1eaf2;background:#f6f9fc;border-radius:30px;padding:5px 10px;white-space:nowrap}
.dashboard-page .portal-tabs{border:1px solid #dfe8f0;border-radius:12px;padding:5px;background:#eaf0f6;gap:5px;margin:0 0 20px;overflow:visible}
.dashboard-page .portal-tabs button{flex:1 1 0;min-width:0;padding:12px 10px;gap:9px;border:1px solid transparent;border-radius:8px;color:#61778c;font-size:13px;font-weight:600;line-height:1.4;transition:background .16s,color .16s,box-shadow .16s}
.dashboard-page .portal-tabs button:hover{background:#ffffff80;color:#194e80}
.dashboard-page .portal-tabs button[aria-selected=true]{background:#fff;border-color:#dce6ef;color:#155591;box-shadow:0 2px 5px #162e4510}
.portal-tabs svg{height:18px;width:18px;flex-shrink:0;stroke-linecap:round;stroke-linejoin:round}
.dashboard-page .portal-button,.dashboard-page .portal-main button:not(.quiet):not([role=tab]){border-radius:9px;font-size:13px;line-height:1.4;min-height:42px;transition:background .16s,box-shadow .16s,transform .16s}
.dashboard-page .portal-button:hover{filter:brightness(.97)}
.dashboard-page .portal-button.light{color:#155591;background:#edf5fb;border:1px solid #dcebf6}
.dashboard-page .portal-button svg{width:17px;height:17px;flex-shrink:0}
.dashboard-page .campaign{border-top:1px solid #e4ebf2;padding:26px 0}
.dashboard-page .campaign:first-child{border:0;padding-top:0}
.dashboard-page .campaign:last-child{padding-bottom:0}
.dashboard-page .campaign-title{gap:15px;align-items:flex-start;margin-bottom:22px}
.campaign-identity{display:flex;gap:13px;min-width:0;align-items:flex-start}
.campaign-identity>div{min-width:0}
.campaign-symbol{display:grid;place-items:center;flex:0 0 auto;height:44px;width:44px;border:1px solid #dce9f4;border-radius:12px;color:#155591;background:#eff6fc}
.campaign-symbol svg{width:24px;height:24px}
.dashboard-page .campaign h3{font-size:17px;letter-spacing:-.02em;line-height:1.4;margin:0 0 3px;overflow-wrap:anywhere}
.campaign-identity p{font-size:13px;color:#496680;margin:0 0 4px}
.campaign-identity small{font-size:11px;color:#7a8c9f}
.dashboard-page .badge{font-size:10px;font-weight:600;gap:5px;padding:5px 9px;line-height:1.5}
.dashboard-page .badge.paid,.dashboard-page .badge.active{background:#edf7f2;color:#367455}
.dashboard-page .badge.pending,.dashboard-page .badge.issued{background:#fff5e6;color:#946726}
.status-dot{height:5px;width:5px;background:currentColor;border-radius:50%;flex-shrink:0}
.campaign-facts{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:18px;margin:0 0 18px;padding:18px 20px;border:1px solid #e7edf3;background:#f8fafc;border-radius:10px}
.campaign-facts.test-facts{grid-template-columns:1fr 1fr}
.campaign-facts>div+div{border-left:1px solid #e2e9f0;padding-left:20px}
.campaign-facts dt{font-size:11px;color:#6e8295;margin-bottom:5px}
.campaign-facts dd{font-size:23px;font-weight:700;line-height:1.3;letter-spacing:-.025em;color:#233f59;margin:0}
.campaign-facts dd small{font-size:11px;font-weight:400;letter-spacing:0;white-space:nowrap}
.campaign-facts.test-facts>div:last-child dd{font-size:16px;line-height:1.8;letter-spacing:0}
.campaign-locations{display:flex;align-items:start;gap:7px;font-size:12px;color:#617b92;margin:0 0 18px}
.campaign-locations svg{height:16px;width:16px;flex-shrink:0}
.campaign-term,.test-record-note{font-size:12px;color:#6d8195;margin:0 0 20px;line-height:1.6}
.campaign-actions{border-top:1px solid #edf1f6;padding-top:18px;gap:10px}
.dashboard-empty{padding:38px 20px 42px;border:1px dashed #dce6ef;background:#fafcfe;border-radius:12px;text-align:center}
.empty-symbol{display:grid;place-items:center;width:52px;height:52px;background:#edf4fa;border-radius:15px;color:#6d9cbe;margin:0 auto 17px}
.empty-symbol svg{height:27px;width:27px}
.dashboard-empty h3{font-size:17px;letter-spacing:-.02em;margin:0 0 7px;color:#304e67}
.dashboard-empty p{font-size:13px;line-height:1.7;max-width:340px;margin:0 auto;color:#76899b}
.dashboard-page #panel-invoices>p{font-size:13px;line-height:1.7;margin:-9px 0 22px}
.dashboard-page .table-wrap{margin:0 -8px}
.dashboard-page th{background:#f5f8fb;padding:13px 10px}
.dashboard-page td{padding:20px 10px}
.dashboard-page td strong{font-size:13px;line-height:1.5;color:#27445e}
.dashboard-page td small{margin-top:4px;color:#798c9e}
.dashboard-page td .actions{gap:4px}
.dashboard-page td .portal-button{padding:9px 12px;min-height:36px;font-size:11px}
.dashboard-page td .quiet{font-size:11px;padding:7px}
.profile-details{display:grid;gap:26px}
.profile-group+.profile-group{padding-top:25px;border-top:1px solid #e5ecf3}
.profile-group h3{font-size:13px;font-weight:700;color:#3c5972;margin:0 0 20px}
.dashboard-page .detail-list{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:30px;row-gap:22px;margin:0}
.detail-list>div{min-width:0}
.detail-list .detail-wide{grid-column:1/-1}
.dashboard-page .detail-list dt{font-size:10px;letter-spacing:.07em;color:#7c8fa0;margin-bottom:5px}
.dashboard-page .detail-list dd{font-size:13px;color:#304d66;line-height:1.7;margin:0;overflow-wrap:anywhere}
.dashboard-page .detail-list dd.detail-empty{color:#8a9bab}
.dashboard-page .profile-tip{font-size:11px;line-height:1.8;background:#f6f9fc;border:1px solid #e8eef5;color:#718598;padding:14px 16px;margin-top:26px;margin-bottom:0;border-radius:10px}
.dashboard-page .profile-form{gap:26px;margin-top:0}
.profile-form-group{border:0;border-top:1px solid #e5edf4;padding:22px 0 0;margin:0;display:grid;gap:18px;min-width:0}
.profile-form-group legend{padding:0 12px 0 0;font-size:13px;font-weight:700;color:#385771}
.dashboard-page .profile-form label{display:block;font-size:12px;color:#46617a;line-height:1.6}
.dashboard-page .profile-form input,.dashboard-page .profile-form select,.dashboard-page .profile-form textarea{margin-top:7px;border-color:#d7e2ec;font-size:13px;line-height:1.6;padding:11px 13px;border-radius:8px;transition:border-color .15s,box-shadow .15s}
.dashboard-page .profile-form input:hover,.dashboard-page .profile-form textarea:hover,.dashboard-page .profile-form select:hover{border-color:#b5cce0}
.dashboard-page .profile-form input:focus,.dashboard-page .profile-form textarea:focus,.dashboard-page .profile-form select:focus{border-color:#7cbfeb}
.dashboard-page .profile-form .optional{font-size:10px;font-weight:400;margin-left:3px;color:#8c9eae}
.dashboard-page .profile-form .field-help{display:block;font-size:11px;line-height:1.7;color:#8193a4;margin:5px 0 0}
.dashboard-page .profile-form-group>p.field-help{margin-top:-14px}
.dashboard-page .profile-form input[readonly]{background:#f5f8fb;color:#7c90a2}
.dashboard-page .profile-form-actions{padding-top:20px;border-top:1px solid #e5edf4;margin-top:0}
.dashboard-page .dashboard-help{background:#10263d;border:1px solid #20374e;box-shadow:0 8px 26px #10263d0a;padding:26px;color:#fff}
.help-symbol{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#223e58;color:#a4d0ef;border:1px solid #344f68;font-size:18px;margin:0 0 20px}
.dashboard-help .portal-label{color:#9bc8e8;font-size:9px;letter-spacing:.13em;margin-bottom:9px}
.dashboard-page .dashboard-help h3{font-size:20px;line-height:1.4;letter-spacing:-.025em;margin-bottom:13px;font-weight:600}
.dashboard-page .dashboard-help .muted{font-size:12px;line-height:1.8;color:#a1b4c7;margin-bottom:22px}
.dashboard-help a{color:#d7e9f6;font-size:12px;text-decoration:none;line-height:2.1}
.dashboard-help a:hover{color:#fff;text-decoration:underline}
.dashboard-help #signout{display:flex;justify-content:space-between;width:100%;padding:16px 0 0;margin-top:8px;border-top:1px solid #2c4156;color:#a9c4d9;font-size:11px;line-height:1.5;border-radius:0;font-weight:400}
.dashboard-page .onboarding-card{margin-bottom:20px;border:0;background:#10263d}
.dashboard-page .onboarding-card h2{font-size:27px;letter-spacing:-.03em}
.dashboard-page .onboarding-card p{font-size:13px;line-height:1.8}
.dashboard-page #setup-checklist h2{font-size:20px;letter-spacing:-.025em}
.dashboard-page .step-list small{font-size:11px;line-height:1.7}
.dashboard-page .step-list strong{font-size:12px}
.dashboard-page .portal-footer{border-top:1px solid #e1e9f1;padding-top:24px;margin-top:36px;font-size:10px;letter-spacing:.03em;color:#8b9baa}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:1000px){.dashboard-page .dashboard-grid{grid-template-columns:minmax(0,1fr) 250px;gap:20px}.dashboard-page .card{padding:24px}.campaign-title{flex-wrap:wrap}.dashboard-page .welcome-row h1{font-size:36px}.campaign-facts{padding:16px;gap:12px}.campaign-facts>div+div{padding-left:14px}.campaign-facts dd{font-size:21px}}
@media(max-width:780px){.dashboard-page .dashboard-grid{grid-template-columns:minmax(0,1fr)}.dashboard-page .welcome-row{align-items:flex-start}.account-chip{max-width:230px}.dashboard-page .portal-main{padding:32px 22px}.dashboard-page .dashboard-help{margin-top:4px}.dashboard-page .dashboard-help .muted{max-width:400px}.dashboard-help #signout{max-width:300px}.dashboard-page .portal-tabs{gap:4px}}
@media(max-width:580px){.portal-header-inner{padding:14px 19px;gap:15px}.dashboard-page .portal-header img{width:144px;height:43px}.dashboard-page .portal-header nav{gap:15px}.dashboard-page .portal-header nav>a{font-size:11px}.dashboard-page .portal-header nav>a[aria-current]{display:none}.dashboard-page .portal-main{padding:28px 17px 24px}.dashboard-page .welcome-row{display:block;margin-bottom:26px}.dashboard-page .welcome-row h1{font-size:32px;margin-bottom:9px}.dashboard-page .welcome-row .muted{font-size:13px;max-width:290px}.account-chip{display:none}.dashboard-page .mobile-email{display:block;font-size:11px;overflow-wrap:anywhere;margin-top:13px;color:#8394a4}.dashboard-page .card{padding:22px 19px;border-radius:13px}.dashboard-page .section-heading{margin-bottom:23px;gap:10px}.dashboard-page .section-heading h2{font-size:21px}.panel-eyebrow{font-size:9px}.count-pill{font-size:10px;padding:4px 8px}.dashboard-page .portal-tabs button{font-size:11px;padding:11px 7px;gap:5px}.portal-tabs svg{height:16px;width:16px}.dashboard-page .portal-tabs{padding:4px;gap:3px;margin-bottom:16px}.campaign-identity{gap:11px}.campaign-symbol{width:37px;height:37px;border-radius:10px}.campaign-symbol svg{width:21px;height:21px}.dashboard-page .campaign h3{font-size:15px}.campaign-identity p{font-size:12px}.dashboard-page .campaign-title{gap:13px;margin-bottom:19px}.dashboard-page .campaign-title .badge{margin-left:48px}.campaign-facts{padding:14px 12px;gap:9px;grid-template-columns:1fr 1fr 1.7fr}.campaign-facts>div+div{padding-left:11px}.campaign-facts dt{font-size:10px}.campaign-facts dd{font-size:20px}.campaign-facts dd small{display:block;font-size:10px;margin-top:2px}.campaign-facts.test-facts>div:last-child dd{font-size:14px;line-height:1.8}.campaign-actions .portal-button{width:100%;min-height:43px}.dashboard-page .detail-list{grid-template-columns:1fr;gap:20px}.detail-list .detail-wide{grid-column:auto}.profile-group+.profile-group{padding-top:22px}.dashboard-page .profile-form .profile-field-pair{grid-template-columns:1fr;gap:18px}.dashboard-page .profile-heading .portal-button{font-size:11px;padding:9px 12px;min-height:36px}.dashboard-empty{padding:30px 16px}.dashboard-empty p{font-size:12px}.dashboard-page .table-wrap{margin:0}.invoice-table,.invoice-table tbody,.invoice-table tr,.invoice-table td{display:block;width:100%}.invoice-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.invoice-table tr{border:1px solid #e2eaf2;border-radius:10px;margin-top:14px;padding:16px}.dashboard-page .invoice-table td{border:0;padding:8px 0}.invoice-table td[data-label]::before{content:attr(data-label);display:block;font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#8395a5;margin-bottom:5px}.invoice-table .invoice-actions{border-top:1px solid #e5edf4;padding-top:12px;margin-top:8px}.dashboard-page td .actions{min-width:0}.dashboard-page .dashboard-help{padding:24px}.dashboard-page .portal-footer{margin-top:28px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.dashboard-page *{transition:none!important;scroll-behavior:auto!important}}

.assigned-service-summary{padding:16px 18px;background:#ffffff0b;border:1px solid #ffffff20;border-radius:9px;margin:20px 0;display:grid;gap:7px;font-size:13px}.assigned-service-summary strong{color:#d7edff}.assigned-service-summary span{color:#b6c9d9}.assigned-service-summary p{margin:0!important;white-space:pre-wrap}

.status.overdue,.badge.overdue{background:#fce7e7;color:#9b2929}

/* Compact invoice history, with one consistent action per row. */
.invoice-rows{list-style:none;margin:0;padding:0;border-top:1px solid #e3eaf1}
.invoice-row{display:grid;grid-template-columns:minmax(0,1fr) 90px 118px max-content;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid #e3eaf1;min-height:68px}
.invoice-row-identity{display:grid;gap:4px;min-width:0}
.invoice-row-date{font-size:13px;font-weight:600;color:#29465e;font-variant-numeric:tabular-nums}
.invoice-row-description{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#667d91}
.invoice-row-amount{display:grid;gap:3px;text-align:right;font-variant-numeric:tabular-nums}
.invoice-row-amount strong{font-size:13px;font-weight:600;color:#29465e}
.invoice-row-amount small{font-size:10px;color:#6b8092}
.dashboard-page .invoice-row .badge{display:inline-flex;align-items:center;font-size:10px;line-height:1.4;padding:4px 8px;border-radius:12px;max-width:100%}
.invoice-row-status{text-align:center}
.invoice-row-action{display:flex;flex-direction:column;align-items:flex-end;gap:4px;text-align:right}
.dashboard-page .invoice-view{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;min-height:44px;padding:6px 0;font-size:12px;line-height:1.4;font-weight:600;color:#155591;text-decoration:none;white-space:nowrap;background:transparent;border:0;cursor:pointer}
.dashboard-page .invoice-view:hover{text-decoration:underline}
.invoice-pdf-pending{font-size:11px;line-height:1.4;color:#60798e}
@media(min-width:781px) and (max-width:1100px){.invoice-row{grid-template-columns:minmax(0,1fr) 80px max-content;gap:4px 12px}.invoice-row-status{grid-column:1;text-align:left;grid-row:2}.invoice-row-action{grid-column:3;grid-row:1 / 3}.invoice-row-amount{grid-column:2;grid-row:1 / 3}}
@media(max-width:580px){.invoice-row{grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:12px 0;min-height:0}.invoice-row-identity{grid-column:1;grid-row:1}.invoice-row-amount{grid-column:2;grid-row:1}.invoice-row-status{grid-column:1;grid-row:2;text-align:left}.invoice-row-action{grid-column:2;grid-row:2}.dashboard-page .invoice-view{min-height:36px}.invoice-row-description{font-size:11px}}
