:root{--agency-red:#9b2120;--agency-offwhite:#efeee9;--agency-ink:#292728}
:root[data-jsd-theme] body.jsdWorkspace .sidebar{background:radial-gradient(ellipse at 0 0,#bc302b55,transparent 65%),linear-gradient(165deg,#9b2120,#701817 76%,#541211)!important;border-right-color:#b84c47!important}
:root[data-jsd-theme] body.jsdWorkspace .sidebar #wsMainNav button.active,:root[data-jsd-theme] body.jsdWorkspace .sidebar #wsMainNav button.active *{background:var(--agency-offwhite)!important;color:#681715!important;-webkit-text-fill-color:#681715!important;border-color:var(--agency-offwhite)!important;box-shadow:inset 4px 0 #fff!important}
:root[data-jsd-theme] body.jsdWorkspace .sidebar #wsMainNav button:not(.active){color:var(--agency-offwhite)!important;-webkit-text-fill-color:var(--agency-offwhite)!important}
.jsdCleanIcon{display:inline-block!important;flex:none;vertical-align:-.15em;max-width:22px!important;max-height:22px!important;pointer-events:none}
:root[data-jsd-theme] body.jsdWorkspace #jsdHeaderClock{color:var(--agency-offwhite)!important}:root[data-jsd-theme=light] body.jsdWorkspace #jsdHeaderClock{color:var(--agency-red)!important}
.jsdMobileClientAreas>summary{display:none}.jsdMobileClientAreas:not([open])>.wsContextNav{display:flex}
.jsdDashOpenPerson{display:none!important}
@media(max-width:800px){
 html,body{max-width:100%;overflow-x:clip}body.jsdWorkspace .main{width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding:12px 12px calc(110px + env(safe-area-inset-bottom))!important}
 :root[data-jsd-theme] #dashboard .jsdStudioMetrics{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 :root[data-jsd-theme] #dashboard .jsdStudioMetric{min-width:0!important;max-width:100%!important;padding:18px 14px!important;box-sizing:border-box!important;overflow:hidden!important}
 :root[data-jsd-theme] #dashboard .jsdStudioMetric:has(#jsdStudioRevenue){grid-column:1/-1!important}
 :root[data-jsd-theme] #dashboard .jsdStudioMetric>strong{font-size:clamp(26px,8vw,36px)!important;line-height:1.2!important;overflow-wrap:anywhere!important}
 :root[data-jsd-theme] #dashboard .jsdMetricRow{display:flex!important;gap:10px!important;align-items:center!important;min-width:0!important;max-width:100%!important}
 :root[data-jsd-theme] #dashboard #jsdStudioRevenue{flex:1!important;min-width:0!important;max-width:100%!important;font-size:clamp(23px,7vw,32px)!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere!important;letter-spacing:-.04em!important}
 #dashboard .jsdRevenueEye{flex:none!important;min-width:44px!important;min-height:44px!important}
 :root[data-jsd-theme] #dashboard :is(.dashboardIntroGrid,.dashboardSplit,.jsdCommandCenter){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important;min-width:0!important;max-width:100%!important}
 #dashboard :is(.card,.taskBox,.jsdAgendaStudioCard,.quickLinks,.jsdWeekAgenda){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
 #dashboard :is(.jsdSectionHeading,.cardTitle,.jsdAgendaStudioTop){flex-wrap:wrap!important;gap:10px!important;align-items:center!important}
 #dashboard .jsdSectionHeading strong{font-size:16px!important;line-height:1.5!important}
 #dashboard :is(.jsdWeekPlanner,.jsdMiniCalendar){max-width:100%!important;overflow-x:auto!important;box-sizing:border-box!important}
 #dashboard .jsdDashOpenPerson{display:block!important;width:100%!important;margin-top:12px!important;min-height:44px!important}
 #dashboard .taskBox :is(button,.btn){min-height:44px!important}
 :root[data-jsd-theme] .financeSummary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .financeSummary .card{min-width:0!important;box-sizing:border-box!important;padding:16px 12px!important}.financeSummary strong{font-size:clamp(18px,5vw,25px)!important;overflow-wrap:anywhere!important;white-space:normal!important}
 .topbar{align-items:flex-start!important;flex-wrap:wrap!important;gap:12px!important}.topbar .actions{width:100%!important;justify-content:flex-start!important;display:flex!important;flex-wrap:wrap!important}.topbar .actions>*{max-width:100%!important;box-sizing:border-box!important}
 .jsdMobileClientAreas>summary{display:flex!important;align-items:center;justify-content:space-between;min-height:48px;padding:12px;border:1px solid var(--ws-line);border-radius:10px;font-weight:600;cursor:pointer;background:var(--ws-card);color:var(--ws-text)}.jsdMobileClientAreas>summary:after{content:'⌄';font-size:22px}.jsdMobileClientAreas[open]>summary:after{content:'⌃'}.jsdMobileClientAreas:not([open])>.wsContextNav{display:none!important}.jsdMobileClientAreas[open]>.wsContextNav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important;padding:12px 0 0!important;gap:8px!important}.jsdMobileClientAreas .wsContextNav button{white-space:normal!important;min-width:0!important;font-size:14px!important;line-height:1.5!important}
 .wsContext{padding:12px!important}.wsContextHead h2{font-size:18px!important}.wsTabs button{font-size:14px!important;padding:10px 12px!important}
 :root[data-jsd-theme] .mobileNav{background:linear-gradient(150deg,#9b2120,#701817)!important;border-top:1px solid #b84c47!important;box-sizing:border-box!important;padding-bottom:calc(8px + env(safe-area-inset-bottom))!important}.mobileNav button{color:#efeee9!important;min-height:54px!important;max-width:16.666%!important;font-size:11px!important}.mobileNav button.active{background:#efeee9!important;color:#681715!important;border-radius:10px!important}
 .jsdCalToolbar{flex-direction:column!important;align-items:stretch!important;gap:12px!important}.jsdCalModes{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;box-sizing:border-box!important}.jsdCalModes button{white-space:normal!important;min-width:0!important;min-height:46px!important;padding:10px!important;font-size:13px!important}.jsdWeekInlineNav{display:none!important}.jsdCalNav{display:flex!important;justify-content:space-between!important;width:100%!important}.jsdCalToolbar>details{width:100%!important;box-sizing:border-box!important}
 :is(input,select,textarea){min-width:0;max-width:100%;box-sizing:border-box;font-size:16px!important}input:not([type=checkbox]):not([type=radio]):not([type=range]),select{min-height:46px!important}
 :is(.modalBox,.jsdEditorialDrawer){max-height:calc(100dvh - 24px)!important;overflow:auto!important;box-sizing:border-box!important;overscroll-behavior:contain}.modalBox .field{min-width:0!important}.modalBox .formGrid{grid-template-columns:minmax(0,1fr)!important}
}

/* Gold is reserved for these deliberate, low emphasis details. */
body.jsdWorkspace .brand.jsdBrandDetail{border-bottom-color:#b69a6552!important}:root[data-jsd-theme=light] .jsdSectionHeading.jsdBrandDetail>span{color:#81683c!important}:root[data-jsd-theme=dark] .jsdSectionHeading.jsdBrandDetail>span{color:#c6b38d!important}
:root[data-jsd-theme] #dashboard .jsdMetricRow{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;gap:8px!important;align-items:center!important;min-width:0!important;max-width:100%!important}:root[data-jsd-theme] #dashboard #jsdStudioRevenue{min-width:0!important;max-width:100%!important;font-size:clamp(19px,1.7vw,28px)!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere!important;letter-spacing:-.04em!important}
@media(max-width:800px){#dashboard.active{display:flex!important;flex-direction:column!important}#dashboard.active>*{order:4}#dashboard.active>.topbar{order:0}#dashboard.active>.jsdStudioMetrics{order:1}#dashboard.active>#dashboardQuickLinks{order:2}#dashboard.active>#jsdDashboardAlerts{order:3}#dashboard.active>.jsdCommandCenter{order:5}:root[data-jsd-theme] #dashboard #jsdStudioRevenue{font-size:clamp(23px,7vw,32px)!important}}

:root[data-jsd-theme] body.jsdWorkspace #jsdNotificationBell>span{background:#9b2120!important;color:#efeee9!important;min-width:22px!important;min-height:22px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:50%!important}

:root [class*="approval-studio"][class*="batch"] button{background:#9b2120!important;color:#efeee9!important}

/* One surface per publication: inner controls never become nested cards. */
:root[data-jsd-theme] body.jsdWorkspace #calendar .jsdDayBoardColumn{border:0!important;background:var(--ws-soft)!important;padding:16px!important}
:root[data-jsd-theme=light] body.jsdWorkspace #calendar .jsdDayBoardColumn{background:#efeee9!important}
:root[data-jsd-theme] body.jsdWorkspace #calendar .jsdDayBoardCard{border:1px solid var(--ws-line)!important;border-top:0!important;border-left:4px solid var(--company-color,var(--jsd-client-color,#9b2120))!important;border-radius:12px!important;background:var(--ws-card)!important;padding:16px!important;box-shadow:0 2px 6px #00000008!important}
:root[data-jsd-theme] body.jsdWorkspace #calendar .jsdDayBoardCard .jsdEditorialRow{display:grid!important;grid-template-columns:28px minmax(0,1fr) 24px!important;border:0!important;border-radius:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;gap:8px 12px!important}
:root[data-jsd-theme] body.jsdWorkspace #calendar .jsdDayBoardCard .jsdEditorialRowMain{grid-column:2!important;grid-row:2 / span 2!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;min-width:0!important;width:100%!important}
:root[data-jsd-theme] body.jsdWorkspace #calendar .jsdDayBoardCard .jsdEditorialRowMain:focus-visible{outline:2px solid #9b2120!important;outline-offset:4px!important}
:root[data-jsd-theme] body.jsdWorkspace #calendar .jsdDayBoardCard .jsdEditorialRowMain>*{border:0!important;background:transparent!important;box-shadow:none!important}
:root[data-jsd-theme] body.jsdWorkspace #calendar .jsdDayBoardCard .jsdEditorialClient{font-size:16px!important;font-weight:700!important;line-height:1.5!important;color:var(--ws-text)!important}
:root[data-jsd-theme] body.jsdWorkspace #calendar .jsdDayBoardCard .jsdEditorialTitle{font-size:15px!important;line-height:1.6!important;color:var(--ws-text)!important}
:root[data-jsd-theme] body.jsdWorkspace #calendar .jsdDayBoardCard time{color:var(--ws-muted)!important;font-size:14px!important}
:root[data-jsd-theme] body.jsdWorkspace #finance .financeEvent{opacity:1!important;border:0!important;border-left:4px solid!important;border-radius:8px!important;padding:9px 7px!important}
:root[data-jsd-theme=light] body.jsdWorkspace #finance .financeEvent.in{background:#d4f3e1!important;border-left-color:#07864b!important;color:#064d2c!important}
:root[data-jsd-theme=light] body.jsdWorkspace #finance .financeEvent.out{background:#fce0df!important;border-left-color:#c52626!important;color:#801717!important}
:root[data-jsd-theme=dark] body.jsdWorkspace #finance .financeEvent.in{background:#103d2b!important;border-left-color:#26cc7c!important;color:#ddffed!important}
:root[data-jsd-theme=dark] body.jsdWorkspace #finance .financeEvent.out{background:#501d22!important;border-left-color:#ff6269!important;color:#ffe8e8!important}
:root[data-jsd-theme] body.jsdWorkspace #finance .financeEvent strong{color:inherit!important;font-size:12px!important;line-height:1.4!important;font-weight:700!important}
:root[data-jsd-theme] body.jsdWorkspace #finance .financeEvent small,:root[data-jsd-theme] body.jsdWorkspace #finance .financeEvent label{color:inherit!important;font-size:11px!important;line-height:1.5!important;opacity:1!important}
:root[data-jsd-theme] body.jsdWorkspace #finance .financeEvent small{font-weight:700!important}
:root[data-jsd-theme] body.jsdWorkspace #finance .financeEvent.in input{accent-color:#07864b!important}
:root[data-jsd-theme] body.jsdWorkspace #finance .financeEvent.out input{accent-color:#c52626!important}
:root[data-jsd-theme] body.jsdWorkspace #finance .financeEvent.jsdFinanceSettled{opacity:1!important}
:root[data-jsd-theme] body.jsdWorkspace #finance .jsdFinanceToday .jsdDayNumber{background:#9b2120!important;color:#fff!important;font-weight:800!important}
@media(max-width:600px){:root[data-jsd-theme] body.jsdWorkspace #finance .financeMonthGrid{min-width:700px!important}:root[data-jsd-theme] body.jsdWorkspace #finance .financeCalendarView{overflow-x:auto!important}:root[data-jsd-theme] body.jsdWorkspace #calendar .jsdDayBoardColumn{padding:12px!important}}
.jsdAppearance{padding:20px;margin:16px 0;border:1px solid var(--ws-line);border-radius:12px;background:var(--ws-card);color:var(--ws-text)}
.jsdAppearance h3{font-size:18px;margin:0 0 14px}
.jsdAppearance>div{display:flex;gap:10px}
:root[data-jsd-theme] .jsdAppearance button{flex:1;min-height:48px;padding:12px 20px;border:1px solid var(--ws-line)!important;border-radius:10px;background:var(--ws-card)!important;color:var(--ws-text)!important;font:600 16px Montserrat,sans-serif;cursor:pointer}
:root[data-jsd-theme] .jsdAppearance button[aria-pressed=true]{background:#9b2120!important;color:#fff!important;border-color:#9b2120!important}

/* Keep the mobile navigation readable against the agency red in both themes. */
:root[data-jsd-theme] body.jsdWorkspace .mobileNav button,
:root[data-jsd-theme] body.jsdWorkspace .mobileNav button *{
 color:#efeee9!important;-webkit-text-fill-color:#efeee9!important;opacity:1!important;font-weight:600!important;text-shadow:none!important
}
:root[data-jsd-theme] body.jsdWorkspace .mobileNav button.active,
:root[data-jsd-theme] body.jsdWorkspace .mobileNav button[aria-current=page]{
 background:#efeee9!important;color:#701817!important;-webkit-text-fill-color:#701817!important;border-radius:10px!important
}
:root[data-jsd-theme] body.jsdWorkspace .mobileNav button.active *,
:root[data-jsd-theme] body.jsdWorkspace .mobileNav button[aria-current=page] *{
 color:#701817!important;-webkit-text-fill-color:#701817!important
}
:root[data-jsd-theme] body.jsdWorkspace .mobileNav button:focus-visible{outline:2px solid #fff!important;outline-offset:-3px!important}

/* Today's finance cell remains identifiable even when it has no entries. */
:root[data-jsd-theme] body.jsdWorkspace #finance .financeCell.jsdFinanceToday{
 position:relative!important;box-shadow:inset 0 0 0 2px #9b2120!important;opacity:1!important;border-radius:12px!important
}
:root[data-jsd-theme=light] body.jsdWorkspace #finance .financeCell.jsdFinanceToday{background:#fff0ee!important}
:root[data-jsd-theme=dark] body.jsdWorkspace #finance .financeCell.jsdFinanceToday{background:#351c20!important;box-shadow:inset 0 0 0 2px #ee8178!important}
:root[data-jsd-theme] body.jsdWorkspace #finance .jsdFinanceToday .financeDate{
 display:flex!important;align-items:center!important;gap:6px!important;width:100%!important;background:transparent!important;border:0!important;padding:5px 3px 10px!important;box-shadow:none!important
}
:root[data-jsd-theme] body.jsdWorkspace #finance .jsdFinanceToday .jsdDayNumber{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:30px!important;height:30px!important;border-radius:8px!important;background:#9b2120!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:15px!important
}
:root[data-jsd-theme] body.jsdWorkspace #finance .jsdFinanceToday .financeDate:after{content:'HOJE';font:800 11px Montserrat,sans-serif;letter-spacing:.04em;color:#9b2120!important}
:root[data-jsd-theme=dark] body.jsdWorkspace #finance .jsdFinanceToday .financeDate:after{color:#ffb5ac!important}

/* Finance summary: semantic color, readable values and restrained gradients. */
:root[data-jsd-theme] body.jsdWorkspace #finance .financeSummary .jsdFinMetric{border:0!important;border-left:4px solid var(--fin-accent)!important;box-shadow:0 2px 8px #0000000a!important;overflow:hidden!important}
:root[data-jsd-theme] body.jsdWorkspace #finance .financeSummary .jsdFinMetric:before{display:none!important}
:root[data-jsd-theme] body.jsdWorkspace #finance .financeSummary .jsdFinMetric small,:root[data-jsd-theme] body.jsdWorkspace #finance .financeSummary .jsdFinMetric strong{color:var(--fin-ink)!important;-webkit-text-fill-color:var(--fin-ink)!important;opacity:1!important;font-family:Montserrat,sans-serif!important}
:root[data-jsd-theme] body.jsdWorkspace #finance .financeSummary .jsdFinMetric small{font-weight:650!important;font-size:12px!important;letter-spacing:.02em!important}
:root[data-jsd-theme] body.jsdWorkspace #finance .financeSummary .jsdFinMetric strong{white-space:normal!important;overflow-wrap:anywhere!important}
:root[data-jsd-theme] body.jsdWorkspace #finance .financeSummary .jsdFinMetric .jsdFinMetricIcon{background:var(--fin-tint)!important;color:var(--fin-ink)!important;border:0!important}
:root[data-jsd-theme=light] body.jsdWorkspace #finance .financeSummary .jsdFinMetric.jsdFinIncome{--fin-tint:#d4f3e1;--fin-accent:#07864b;--fin-ink:#064d2c;background:linear-gradient(115deg,#d4f3e1 0%,#fff 95%)!important}
:root[data-jsd-theme=dark] body.jsdWorkspace #finance .financeSummary .jsdFinMetric.jsdFinIncome{--fin-tint:#103d2b;--fin-accent:#07864b;--fin-ink:#ddffed;background:linear-gradient(115deg,#103d2b 0%,#15171b 95%)!important}
:root[data-jsd-theme=light] body.jsdWorkspace #finance .financeSummary .jsdFinMetric.jsdFinExpense{--fin-tint:#fce0df;--fin-accent:#c52626;--fin-ink:#801717;background:linear-gradient(115deg,#fce0df 0%,#fff 95%)!important}
:root[data-jsd-theme=dark] body.jsdWorkspace #finance .financeSummary .jsdFinMetric.jsdFinExpense{--fin-tint:#501d22;--fin-accent:#c52626;--fin-ink:#ffe8e8;background:linear-gradient(115deg,#501d22 0%,#15171b 95%)!important}
:root[data-jsd-theme=light] body.jsdWorkspace #finance .financeSummary .jsdFinMetric.jsdFinPending{--fin-tint:#ffe2b6;--fin-accent:#b95708;--fin-ink:#713300;background:linear-gradient(115deg,#ffe2b6 0%,#fff 95%)!important}
:root[data-jsd-theme=dark] body.jsdWorkspace #finance .financeSummary .jsdFinMetric.jsdFinPending{--fin-tint:#493018;--fin-accent:#b95708;--fin-ink:#ffe6c2;background:linear-gradient(115deg,#493018 0%,#15171b 95%)!important}
:root[data-jsd-theme=light] body.jsdWorkspace #finance .financeSummary .jsdFinMetric.jsdFinBalance{--fin-tint:#f2e8d1;--fin-accent:#b39558;--fin-ink:#574222;background:linear-gradient(115deg,#f2e8d1 0%,#fff 95%)!important}
:root[data-jsd-theme=dark] body.jsdWorkspace #finance .financeSummary .jsdFinMetric.jsdFinBalance{--fin-tint:#363024;--fin-accent:#b39558;--fin-ink:#f4e8cd;background:linear-gradient(115deg,#363024 0%,#15171b 95%)!important}
:root[data-jsd-theme=light] body.jsdWorkspace #finance .jsdFinMetric.jsdBalanceNegative strong{color:#a51d25!important;-webkit-text-fill-color:#a51d25!important}
:root[data-jsd-theme=dark] body.jsdWorkspace #finance .jsdFinMetric.jsdBalanceNegative strong{color:#ff9299!important;-webkit-text-fill-color:#ff9299!important}

/* Keep feed preview and its editing controls discoverable above the grid. */
:root[data-jsd-theme] body.jsdWorkspace #approvals .approvalViewTabs{display:flex!important;flex-wrap:wrap!important;gap:10px!important}
:root[data-jsd-theme] body.jsdWorkspace #approvals .approvalViewTabs button{min-height:44px!important;font-weight:650!important}
:root[data-jsd-theme] body.jsdWorkspace #approvals .approvalViewTabs button.active,
:root[data-jsd-theme] body.jsdWorkspace #approvals .jsdOrganizeFeedShortcut{background:#9b2120!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#9b2120!important}
:root[data-jsd-theme] body.jsdWorkspace #approvals .approvalFeedActions{padding:12px!important;margin:0!important;gap:8px!important}
:root[data-jsd-theme] body.jsdWorkspace #approvals .approvalFeedActions button{min-height:44px!important;font-size:13px!important;font-weight:600!important}
