/* A shared action language for advertiser, venue, account and admin surfaces. */
:root{--action-outline:#9bb2ca;--action-ink:#0b3c78;--action-hover:#f0f5fb}
a.primary,button.primary,a.secondary,button.secondary,a.action-link,button.action-link,a.text-button,button.text-button,.page a.text-button,.page button.text-button{
 display:inline-flex;align-items:center;justify-content:center;gap:9px;box-sizing:border-box;
 min-height:44px;max-width:100%;padding:10px 16px;border:1px solid var(--action-outline);border-radius:8px;
 background:#fff;color:var(--action-ink);font:inherit;font-size:14px;font-weight:600;line-height:1.4;
 text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;
 transition:background-color .15s ease,border-color .15s ease,color .15s ease;
}
a.primary,button.primary{min-height:48px;background:#0b3c78;border-color:#0b3c78;color:#fff;padding:12px 20px}
a.primary:hover,button.primary:hover:not(:disabled){background:#14528e;border-color:#14528e}
a.secondary:hover,button.secondary:hover:not(:disabled),a.action-link:hover,button.action-link:hover:not(:disabled),a.text-button:hover,button.text-button:hover:not(:disabled){background:var(--action-hover);border-color:#5a82aa;color:#0b3c78}
a.primary:active,button.primary:active:not(:disabled){background:#082f60}
a.secondary:active,button.secondary:active:not(:disabled),a.action-link:active,button.text-button:active:not(:disabled){background:#e5eef8}
:is(a,button):is(.primary,.secondary,.action-link,.text-button):focus-visible{outline:3px solid #168ed0;outline-offset:3px}
button:is(.primary,.secondary,.action-link,.text-button):disabled{opacity:.5;cursor:not-allowed}
button.workspace-danger,a.workspace-danger{border-color:#d3aaaa;color:#9c3434;background:#fff}
button.workspace-danger:hover:not(:disabled),a.workspace-danger:hover{background:#fff5f4;border-color:#b67a7a;color:#842b2b}
.section-top a.action-link{font-size:13px}
.form-actions,.workspace-header-actions{gap:12px;flex-wrap:wrap}
.section-heading{gap:16px}
.section-heading>h2{min-width:0}
.section-heading>button{flex-shrink:0}
.account-venue .section-heading>a{font-size:14px}
.settings-aside .text-button,.finance-aside>.text-button,.setup-checklist>.text-button{padding:10px 16px}
.map-tools{gap:10px;flex-wrap:wrap}
.map-tools .text-button,.house-item .text-button,.campaign-row .text-button{font-size:13px;min-height:40px;padding:9px 13px}
.operations-card .operations-manage,.operations-manage[href]{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--action-outline);border-radius:8px;background:#fff;color:var(--action-ink);font-size:13px;font-weight:600;line-height:1.4;min-height:42px;padding:10px 14px;text-decoration:none;white-space:nowrap}
.operations-card>summary:hover .operations-manage,.operations-manage[href]:hover{background:var(--action-hover);border-color:#5a82aa}
.operations-card[open] .operations-manage{border-color:#6685a6;background:#f6f9fd}
.venue-screen-actions{display:flex;justify-content:flex-end;margin:18px 0 22px}
.action-add{gap:9px}
.venue-setup-reminder{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border:1px solid #b9cde1;border-left:4px solid #0b3c78;border-radius:10px;background:#fff;margin:18px 0}
.venue-setup-reminder>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.venue-setup-reminder strong{font-size:16px;line-height:1.4;font-weight:600;color:#123c68}
.venue-setup-reminder>div>span{font-size:14px;line-height:1.5;color:#52708e}
.venue-setup-reminder>a{flex-shrink:0}
.page-heading>.workspace-refresh{flex-shrink:0;margin-left:auto;align-self:flex-start}
.workspace-refresh>svg,.action-add>svg{flex-shrink:0}
.heading-count{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;min-width:30px;min-height:28px;padding:2px 8px;margin-left:10px;border:1px solid #cbd9e7;border-radius:7px;background:#f6f9fd;color:#46617b;font-size:14px;line-height:1.5;font-weight:600;letter-spacing:0}
.heading-count:empty{display:none}
#campaigns-heading{display:flex;align-items:center;gap:0}
#campaign-balances:empty,#venue-load-status:empty,#saved-campaign-drafts [data-draft-status]:empty{display:none}
.workspace-list-notice,#venue-load-status{font-size:14px;line-height:1.6;margin:14px 0}
#saved-campaign-drafts .draft-intro{font-size:15px;line-height:1.6;margin:12px 0 18px;color:#52708e}
#saved-campaign-drafts>[data-drafts]{font-size:15px;line-height:1.6}
#saved-campaign-drafts .section-heading{margin-bottom:18px}
.campaigns>.connected-check{font-size:14px;margin:18px 0}
.page .campaign-record-filters>button{min-height:48px}
@media(max-width:650px){
 .venue-setup-reminder{align-items:flex-start;flex-wrap:wrap;padding:16px}
 .venue-screen-actions{justify-content:flex-start}
 .page-heading>.workspace-refresh{margin-left:0;align-self:flex-start}
 .operations-card .operations-manage{min-height:44px}
 .section-heading{flex-wrap:wrap}
 .campaign-record-filters>button{min-height:48px}
}
@media(prefers-reduced-motion:reduce){a.primary,button.primary,a.secondary,button.secondary,a.action-link,button.action-link,a.text-button,button.text-button{transition:none}}

/* Compact workspace context; the screens remain the main content. */
#venue>.page-heading{align-items:center;gap:16px;margin-bottom:20px}
#venue>.page-heading h1{font-size:30px;line-height:1.2}
#venue>.page-heading>.workspace-refresh{align-self:center;margin-left:auto}
#venue-records>.venue-partner:first-child{margin-top:0;padding-top:0}
#venue .venue-partner-head{align-items:center;gap:16px;margin-bottom:14px}
#venue .venue-partner-head h2{font-size:22px;margin-bottom:5px}
#venue .venue-partner-head .field-hint{margin:0;font-size:13px;line-height:1.5}
#venue .venue-setup-reminder{padding:12px 16px;margin:14px 0}
#venue .venue-setup-reminder>div{flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:5px 12px}
#venue .venue-screen-actions{margin:14px 0 18px}
#account-back.secondary{padding:10px 16px;margin:0 0 24px;min-height:44px;color:var(--action-ink)}
.account-address{min-width:0;border:0;border-top:1px solid #d8e3ef;padding:20px 0 0;margin:24px 0}
.account-address legend{float:left;width:100%;padding:0;margin-bottom:20px;font-size:17px;font-weight:600}
.account-address>label{display:grid;gap:8px;clear:both}
.account-address .address-grid{margin-top:20px}

/* A readable notification inbox, with actions and history in predictable places. */
.saved-notification-dialog{padding:24px;width:min(680px,calc(100vw - 32px));max-height:85vh;border:1px solid #bacbdc;border-radius:16px;background:#fff;color:#123c68;box-shadow:0 18px 60px #123c6826}
.notification-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}
.notification-header>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-height:44px}
.notification-header h2{font-size:24px;line-height:1.25;margin:0}
.notification-header>button{flex-shrink:0}
.notification-count{padding:5px 9px;border-radius:6px;background:#eef4fa;color:#345b7e;font-size:13px;line-height:1.4;font-weight:600}
.notification-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid #d8e3ef}
.saved-notification-dialog [data-notification-status]{font-size:14px;line-height:1.5;margin:16px 0}
.saved-notification-dialog [data-notification-status]:empty{display:none}
.notification-list{display:grid;gap:12px;margin-top:18px}
.saved-notification-dialog .saved-notification{padding:18px;border:1px solid #d8e3ef;border-radius:10px;background:#fff}
.saved-notification-dialog .saved-notification[data-read=false]{border:1px solid #b9cde1;border-left:3px solid #0b3c78;padding-left:16px;background:#f8fbfe}
.notification-message{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.notification-message p{font-size:16px;line-height:1.5;margin:0;font-weight:500;overflow-wrap:anywhere}
.notification-unread{flex-shrink:0;color:#0b3c78;background:#e5eff8;border-radius:5px;padding:4px 7px;font-size:12px;font-weight:600;line-height:1.5}
.saved-notification time{display:block;color:#536c85;font-size:13px;line-height:1.5;margin-top:7px}
.saved-notification .saved-notification-actions{margin-top:14px;gap:8px}
.saved-notification-dialog .secondary{min-height:40px;font-size:13px;padding:9px 13px}
.notification-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding-top:18px;margin-top:18px;border-top:1px solid #d8e3ef}
.notification-pagination{display:flex;align-items:center;gap:12px;font-size:14px}
.notification-clear{margin-left:auto}
.notification-confirm{width:100%;padding:16px;border:1px solid #d8e3ef;border-radius:8px}
.notification-confirm p{margin:0 0 12px;font-size:15px;font-weight:600}
.notification-empty{padding:28px 16px;text-align:center}
.notification-empty strong{font-size:18px;font-weight:600}
.notification-empty p{font-size:14px;color:#536c85;line-height:1.5;margin:8px 0 0}
.workspace-device-controls>.workspace-header-actions{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:12px}
.saved-screen-settings .ops-form>[role=status]:empty,[data-screen-operations-status]:empty,.map-service-status:empty,#quote-catalog-status:empty{display:none}
.quote-availability{justify-content:flex-end}
.quote-availability #quote-catalog-status:not(:empty){margin-right:auto}
@media(max-width:600px){
 #venue>.page-heading{flex-direction:row;align-items:center}
 #venue .venue-partner-head{flex-direction:row;align-items:flex-start}
 #venue .venue-partner-head .badge{flex-shrink:0}
 #venue .venue-setup-reminder>div{flex-direction:column;gap:4px}
 .saved-notification-dialog{padding:18px}
 .notification-header>div{gap:8px}
 .notification-header h2{font-size:22px}
 .notification-message{flex-wrap:wrap;gap:8px}
 .saved-notification-dialog .secondary{min-height:44px}
 .notification-footer{align-items:flex-start}
}

/* Readable small venue metadata; keyboard access to wide reports. */
.venue-type{color:#526e87}
.campaign-record-table:focus-visible{outline:3px solid #0075c9;outline-offset:3px}
