/* Socialnex Workspace — Linear-inspired visual system. CSS only; no workflow/data changes. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;550;600;650;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');
:root{color-scheme:dark!important;--bg:#101114;--panel:#1c1d22;--ink:#f7f8fa;--muted:#aeb2bd;--line:#303139;--orange:#7178f5;--blue:#8188ff;--green:#52b99a;--sn-surface:#1c1d22;--sn-surface-2:#222329;--sn-border:#303139;--sn-primary:#f7f8fa;--sn-secondary:#b0b4bf;--sn-muted:#858a96;--sn-accent:#8188ff}
html,body{background:#101114!important;color:#f7f8fa!important;font-family:Inter,system-ui,sans-serif!important;font-size:13px}h1,h2,h3,h4,h5,h6,.big,.stat strong{font-family:'Plus Jakarta Sans',Inter,sans-serif!important;color:#f7f8fa!important;letter-spacing:-.035em}h1{font-size:25px!important}h2{font-size:17px!important}p,li,td,th,label,span,small{line-height:1.5}p,.muted,.sub,.foot,.eyebrow,small,.hint{color:#aeb2bd}strong,b{color:#f2f3f6}a{color:#aab0ff}a:hover{color:#d2d5ff}
/* Navigation: no boxes on unselected items */
aside,.sidebar{background:#16171b!important;border-right:1px solid #27282e!important;color:#b0b4bf!important}aside nav{gap:2px!important}aside nav button,.sidebar .nav button,.nav button{background:transparent!important;border:0!important;box-shadow:none!important;color:#aeb2bd!important;border-radius:6px!important;font-size:12.5px!important;font-weight:500!important;min-height:35px}aside nav button:hover,.sidebar .nav button:hover,.nav button:hover{background:#222329!important;color:#fff!important}aside nav button.active,.sidebar .nav button.active,.nav button.active{background:#292b39!important;color:#fff!important}aside nav button.active::before{background:#858bff!important;width:2px!important;top:8px!important;bottom:8px!important}aside nav button svg{color:#989da9!important;stroke-width:1.7!important}aside nav button.active svg{color:#b5b9ff!important}.menugroup,.workspace-label{color:#7f8491!important;letter-spacing:1.15px!important}.sidebar-foot{border-color:#292b32!important}.sidebar-foot strong{color:#e9eaf0!important}.workspace-avatar,.top-avatar{background:#292c38!important;color:#e3e5f5!important}
main,.main,.billing-main{background:#101114!important;color:#f7f8fa!important}.top,header{border-color:#292a31!important}.top .eyebrow,#breadcrumb{color:#c0c2cc!important}
/* Surface primitives and dashboard cards */
.card,.panel,.workspacecard,.portal-panel,.billing-main .card,.auth,.modal-content,.dialog-content,.sheet,.popover,.dropdown-menu,.menu-panel,.stat,.tile,.summary-card,.metric-card{background:#1c1d22!important;color:#f1f2f5!important;border:1px solid #303139!important;box-shadow:none!important;border-radius:11px!important}.card:has(.card){background:#1c1d22!important}.stats .card,.stats .stat{min-width:0}.big,.stat strong,[class*="metric-value"]{color:#fff!important}.bar,.progress-track{background:#333540!important}.bar i,.progress-fill{background:#8188ff!important}.badge,.tag,.chip{background:#2b2d37;color:#d8daf2;border:1px solid #393b49}.sectionhead,.card-header{color:#f6f7fa!important}
/* Forms, tables, popups */
input,select,textarea,.portal-panel input,.portal-panel select,.portal-panel textarea,.billing-main input,.billing-main select,.billing-main textarea{background:#17181d!important;color:#f7f8fa!important;border:1px solid #393b45!important;border-radius:7px!important;box-shadow:none!important}input::placeholder,textarea::placeholder{color:#898e9a!important}input:focus,select:focus,textarea:focus{outline:2px solid #8188ff66!important;outline-offset:0!important;border-color:#8188ff!important}input[type="checkbox"],input[type="radio"]{accent-color:#8188ff!important}button,.btn,.portal-panel button,.billing-main .btn{background:#272930;color:#ebecf2;border:1px solid #3a3c46;border-radius:7px;box-shadow:none}button:hover,.btn:hover,.portal-panel button:hover{background:#32343d;color:#fff}button.primary,.primary,.btn.primary,.billing-main .btn.primary,.portal-panel button[type="submit"]{background:#7178f5!important;color:#fff!important;border-color:#7178f5!important;box-shadow:none!important}button.primary:hover,.btn.primary:hover{background:#626aeb!important}button:focus-visible,a:focus-visible{outline:2px solid #a7acff!important;outline-offset:2px!important}table{color:#e9eaf0!important}th{background:#222329!important;color:#d7d9e1!important;font-weight:600!important}td{color:#d2d5df!important}td,th,tr{border-color:#303139!important}tbody tr:hover{background:#25262e!important}hr{border-color:#303139!important}dialog,[role="dialog"],.sn-whatsapp-dialog,#sn-logout-dialog{background:#1c1d22!important;color:#f7f8fa!important;border:1px solid #393b45!important;border-radius:13px!important;box-shadow:0 22px 70px #0009!important}dialog::backdrop{background:#05060ab8!important}dialog p,dialog label,#sn-logout-dialog p,.sn-wa-hint{color:#b0b4bf!important}.sn-wa-summary{background:#242630!important;color:#e7e9f1!important}.sn-whatsapp-dialog input{background:#15161b!important;color:#fff!important}.sn-logout-actions button{background:#282a32!important;color:#fff!important;border-color:#3b3d48!important}#portal-sync{background:#202c29!important;color:#b9e9d3!important;border-color:#375648!important}#portal-sync.error{background:#362124!important;color:#ffc2c8!important;border-color:#63353b!important}
/* Billing inside iframe and sign-in */
.billing-frame,.portal-login{background:#101114!important;color:#f7f8fa!important}.portal-login .auth{background:#1c1d22!important;border-color:#303139!important;box-shadow:0 20px 65px #0008!important}.portal-login .auth h1,.portal-login .auth label{color:#f7f8fa!important}.portal-login .auth .sub,.billing-main .sub{color:#b0b4bf!important}.portal-login .auth input{background:#15161b!important;border-color:#393b45!important;color:#fff!important}.portal-frame-wrap,.portal-frame-wrap iframe{background:#101114!important}
/* Original inline legacy styles often specify white surfaces; catch common semantic containers */
body:not(.billing-frame) [style*="background:#fff"],body:not(.billing-frame) [style*="background: #fff"],body:not(.billing-frame) [style*="background:white"],body:not(.billing-frame) [style*="background: white"],body:not(.billing-frame) [style*="background:#ffffff"]{background:#1c1d22!important;color:#f7f8fa!important}[style*="color:#263246"],[style*="color:#172638"],[style*="color:#263044"]{color:#f7f8fa!important}
@media(max-width:760px){h1{font-size:21px!important}.card,.panel,.portal-panel{padding:14px!important}aside{background:#16171b!important}.top{gap:8px!important}table{font-size:12px}}

/* Final page coverage: workspace content, client onboarding, tasks, attendance, creative, finance editor */
:where(body:not(.billing-frame)) :is(.card,.panel,.portal-panel,.stat,.stats>div,.modal-content,.dialog-content,.popup-content,.section,.table-wrap,.sn-wa-summary){background-color:#1c1d22!important;color:#f7f8fa!important;border-color:#303139!important;box-shadow:none!important}
:where(body:not(.billing-frame)) :is(.card,.panel,.portal-panel,.stat,.modal-content,.dialog-content,.popup-content) :is(h1,h2,h3,h4,strong){color:#f7f8fa!important}
:where(body:not(.billing-frame)) :is(.card,.panel,.portal-panel,.stat,.modal-content,.dialog-content,.popup-content) :is(p,small,.muted,.sub){color:#b0b4bf!important}
:where(body:not(.billing-frame)) :is(input,textarea,select){background:#17181d!important;color:#f7f8fa!important;border:1px solid #383a43!important}
:where(body:not(.billing-frame)) :is(input,textarea)::placeholder{color:#858a96!important;opacity:1}
:where(body:not(.billing-frame)) :is(table,tbody,tr,td){background-color:transparent;color:#e5e7ed;border-color:#303139}
:where(body:not(.billing-frame)) th{background:#24262d!important;color:#c5c8d1!important;border-color:#303139!important}
:where(body:not(.billing-frame)) :is(dialog,[role="dialog"],.sn-whatsapp-dialog){background:#1c1d22!important;color:#f7f8fa!important;border:1px solid #353741!important;box-shadow:0 24px 80px #0009!important}
:where(body:not(.billing-frame)) .sn-wa-hint{color:#aeb2bd!important}
:where(body:not(.billing-frame)) :is(.sn-wa-summary,.notice){background:#252731!important;color:#d9dcf2!important;border-color:#363948!important}
:where(body:not(.billing-frame)) :is(nav button,.nav button){background:transparent!important;border:0!important;box-shadow:none!important}
:where(body:not(.billing-frame)) :is(nav button.active,.nav button.active){background:#292b39!important;color:#f7f8fa!important}
:where(body:not(.billing-frame)) :is(button,a,input,select,textarea):focus-visible{outline:2px solid #8188ff!important;outline-offset:2px}
/* Billing editor remains dark, but the invoice document is intentionally a white A4 sheet. */
.billing-frame .invoice-paper,.billing-frame .invoice-paper *{color:#1a2b3d;}
.billing-frame .invoice-paper{background:#fff!important;color:#1a2b3d!important;border:1px solid #dfe4ec!important;box-shadow:0 10px 32px #0003!important;color-scheme:light!important}
.billing-frame .invoice-paper :is(h1,h2,h3,h4,strong,b){color:#1a2b3d!important}
.billing-frame .invoice-paper :is(p,span,small,div,td,li){color:inherit}
.billing-frame .invoice-paper :is(table,tbody,tr,td){background:transparent;color:#1a2b3d;border-color:#e3e8f0}
.billing-frame .invoice-paper th{background:#468bd6!important;color:#fff!important;border-color:#468bd6!important}
.billing-frame .invoice-paper .service-table tbody tr:nth-child(odd){background:#e2edf9!important}
.billing-frame .invoice-paper :is(.bill-panel,.payment-panel){background:#e2edf9!important;color:#1a2b3d!important}
.billing-frame .invoice-paper .invoice-foot{background:#fafcff!important;color:#6a7b8c!important}
.billing-frame .invoice-paper .invoice-head h1,.billing-frame .invoice-paper .bill-panel small,.billing-frame .invoice-paper .payment-panel h3{color:#428bd0!important}
.billing-frame .invoice-paper :is(input,textarea,select){background:#fff!important;color:#1a2b3d!important;border-color:#dbe3ec!important;color-scheme:light!important}
.billing-frame .invoice-paper [style*="background:#fff"],.billing-frame .invoice-paper [style*="background:white"]{background:#fff!important;color:#1a2b3d!important}
@media print{html,body,body.billing-frame{background:#fff!important;color:#1a2b3d!important;color-scheme:light!important}.billing-frame .invoice-paper{box-shadow:none!important;border:0!important;background:#fff!important}.billing-frame .invoice-paper *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}}

/* Dashboard contrast repair — 2026-10-25. Dashboard only; invoice paper untouched. */
body:has(#dashboard) main .top{background:#15161b!important;color:#f1f2f6!important;border-bottom:1px solid #2a2c34!important}
body:has(#dashboard) main .top .eyebrow,body:has(#dashboard) main .top #breadcrumb{color:#b9bdca!important}
body:has(#dashboard) main .top .search-trigger{background:#22242c!important;color:#d9dce7!important;border-color:#363944!important}
body:has(#dashboard) main header h1{color:#f7f8fa!important}
body:has(#dashboard) main header .muted{color:#aeb3c1!important}
body:has(#dashboard) main #attendancepill{background:#22242c!important;color:#dce0eb!important;border:1px solid #393c48!important}
#dashboard .dash-panel,#dashboard .dash-summary,#dashboard .card,#dashboard .panel,#dashboard #overallpanel>div{background:#1c1d22!important;color:#eef0f5!important;border-color:#30323b!important;box-shadow:none!important}
#dashboard .dash-panelhead h2,#dashboard .dash-panelhead h3,#dashboard .dash-panel h2,#dashboard .dash-panel h3,#dashboard .dash-panel strong,#dashboard .dash-metric>strong,#dashboard .dash-workrow strong,#dashboard .dash-shoot strong,#dashboard .dash-alert strong,#dashboard .dash-task button,#dashboard .dash-project button{color:#f5f6fa!important}
#dashboard .dash-panelhead p,#dashboard .dash-panel small,#dashboard .dash-panel .muted,#dashboard .dash-metric>span,#dashboard .dash-metric>small,#dashboard .dash-category,#dashboard .dash-category strong,#dashboard .dash-ringrow b,#dashboard .dash-ringrow small,#dashboard .dash-progresslabel,#dashboard .dash-published,#dashboard .dash-kicker,#dashboard .dash-link,#dashboard .dash-date{color:#b1b6c4!important}
#dashboard .dash-summary{padding:20px 0!important}
#dashboard .dash-metric{border-color:#333640!important}
#dashboard .dash-panelhead,#dashboard .dash-alert,#dashboard .dash-delivery,#dashboard .dash-workrow,#dashboard .dash-task,#dashboard .dash-shoot{border-color:#333640!important}
#dashboard .dash-deliveryhead,#dashboard .dash-clientmark,#dashboard .dash-alert>.symbol{background:#262832!important;color:#b6bbff!important}
#dashboard .dash-progressbar,#dashboard .bar{background:#343744!important}
#dashboard .dash-progressbar i,#dashboard .bar i{background:#8188ff!important}
#dashboard .dash-ring{background:conic-gradient(#8188ff var(--ratio),#343744 0)!important}
#dashboard .dash-ring:before{background:#1c1d22!important}
#dashboard .dash-ring strong{color:#f5f6fa!important}
#dashboard .dash-alert button,#dashboard .dash-link{background:transparent!important;color:#b6bbff!important;border-color:#42465b!important}
#dashboard .dash-category i{background:#8188ff!important}
#dashboard .dash-focus,#dashboard .dash-workrow,#dashboard .dash-task,#dashboard .dash-shoot{color:#e1e4ed!important}
#dashboard .dash-panel :is(p,span,small){opacity:1!important}
@media(max-width:720px){#dashboard .dash-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}#dashboard .dash-metric{padding:12px 15px!important}#dashboard .dash-columns{grid-template-columns:1fr!important}}

/* Dashboard comprehensive surface + contrast correction. Scoped to dashboard only. */
#dashboard, #dashboard #overallpanel {background:#101114!important;color:#f7f8fa!important}
#dashboard .sn-analytics,#dashboard .dash-detail,#dashboard .dash-summary,#dashboard .dash-panel,#dashboard .dashboardtiles,#dashboard .activitycard,#dashboard .dashboardgrid,#dashboard .dashboardgrid .card,#dashboard .overviewtile,#dashboard .dash-metric,#dashboard .sn-chart-grid {background:#1c1d22!important;color:#f7f8fa!important;border-color:#30323b!important;box-shadow:none!important}
#dashboard .sn-analytics{padding:22px 24px!important;border:1px solid #30323b!important;border-radius:12px!important}
#dashboard .sn-analytics h2,#dashboard .sn-chart-grid h3,#dashboard .dash-detail h2,#dashboard .activitycard h2,#dashboard .dashboardgrid h2,#dashboard .dash-panelhead h2{color:#f7f8fa!important;opacity:1!important}
#dashboard .sn-analytics p,#dashboard .sn-analytics-head>span,#dashboard .sn-chart-row>span,#dashboard .sn-chart-row>b,#dashboard .dash-detail>summary,#dashboard .overviewtile>span,#dashboard .activityrow small,#dashboard .activityrow time,#dashboard .moduleintro,#dashboard .dashboardrow{color:#b7bdc9!important;opacity:1!important}
#dashboard .sn-chart-row>b,#dashboard .overviewtile>strong,#dashboard .dashboardrow strong,#dashboard .activityrow strong,#dashboard .dash-metric>strong{color:#fff!important;opacity:1!important}
#dashboard .sn-chart-track,#dashboard .dash-progressbar{background:#353843!important}
#dashboard .sn-chart-track i{background:linear-gradient(90deg,#747df6,#a2a8ff)!important}
#dashboard .dashboardtiles,#dashboard .dash-summary{padding:17px 0!important;border:1px solid #30323b!important}
#dashboard .dashboardtiles .overviewtile,#dashboard .dash-metric{border-color:#30323b!important}
#dashboard .dashboardgrid .card{border:1px solid #30323b!important;min-height:0!important}
#dashboard .dashboardrow,#dashboard .activityrow{border-color:#333641!important}
#dashboard .activitycard .dashboardtiles{background:#22242b!important}
#dashboard .activitybadge{background:#303544!important;color:#cdd8ff!important;border:1px solid #454d60!important}
#dashboard .activitybadge.added{background:#213b31!important;color:#9ee3bd!important;border-color:#325b47!important}
#dashboard .activitybadge.updated{background:#2a3348!important;color:#afc8ff!important;border-color:#3b4c6b!important}
#dashboard .dash-task>span{background:#292f41!important;color:#c3d1ff!important;border:1px solid #3d4661!important;border-radius:5px!important;padding:4px 7px!important}
#dashboard .dash-detail{padding:20px!important;border:1px solid #30323b!important;border-radius:12px!important}
#dashboard .dash-detail>summary{font-weight:600!important}
#dashboard .dash-ring:before{background:#1c1d22!important}
#dashboard .dash-ring strong{color:#f7f8fa!important}
#dashboard button:not(.primary):not(.dash-link),#dashboard .dash-alert button{background:#f5f6f8!important;color:#20232b!important;border:1px solid #e5e7eb!important}
#dashboard .dash-link{background:transparent!important;color:#b6bbff!important}
/* Light translucent top bar with dark text, while the page itself stays dark. */
body:has(#dashboard) main .top{background:rgba(245,247,251,.93)!important;color:#202532!important;border-bottom:1px solid #cbd0da!important}
body:has(#dashboard) main .top .eyebrow,body:has(#dashboard) main .top #breadcrumb{color:#374151!important}
body:has(#dashboard) main .top .search-trigger{background:#fff!important;color:#283245!important;border:1px solid #d4d9e3!important}
body:has(#dashboard) main .top .search-trigger kbd{background:#eef0f5!important;color:#283245!important}
body:has(#dashboard) main .top .top-avatar{background:#e3e7f0!important;color:#202532!important}
@media(max-width:700px){#dashboard .sn-analytics{padding:16px!important}#dashboard .dashboardtiles{grid-template-columns:repeat(2,minmax(0,1fr))!important}#dashboard .sn-chart-row{grid-template-columns:90px minmax(0,1fr) 25px!important}}

/* Targeted dashboard project/task titles and sticky form header/footer — 2026-10-25 */
main .dash-project button,main .dash-task button,main .dash-project .recordtitle,main .dash-task .taskname,main .project-highlight,main .dash-project strong,main .dash-task strong{background:transparent!important;background-color:transparent!important;color:#f7f8fa!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;text-align:left!important;font-weight:600!important;text-decoration:none!important}
main .dash-project button:hover,main .dash-task button:hover{color:#c2c6ff!important;text-decoration:underline!important;text-underline-offset:3px!important}
main .dash-project small,main .dash-task small{color:#b0b4bf!important}
/* All task/edit forms retain dark header/footer even when older sticky styles specify white */
#modal,#agencydialog,#sessionmodal,#projectdetails,#searchdialog{background:#1c1d22!important;color:#f7f8fa!important;color-scheme:dark!important}
#agencyform>.sectionhead,#form>.sectionhead,#sessionform>.sectionhead,#projectdetails>.sectionhead,#searchdialog>.sectionhead,#agencydialog.clientregistration #agencyform>.sectionhead{background:#1c1d22!important;color:#f7f8fa!important;border-bottom:1px solid #343640!important}
#agencyform>.row:last-child,#form>.row:last-child,#sessionform>.row:last-child{background:#1c1d22!important;color:#f7f8fa!important;border-top:1px solid #343640!important}
#modal .sectionhead h2,#agencydialog .sectionhead h2,#sessionmodal .sectionhead h2,#projectdetails .sectionhead h2,#searchdialog .sectionhead h2{color:#fff!important}
#modal .sectionhead button,#agencydialog .sectionhead button,#sessionmodal .sectionhead button{color:#f0f1f5!important}
#form>.row:last-child button:not(.primary),#agencyform>.row:last-child button:not(.primary),#sessionform>.row:last-child button:not(.primary){background:#2a2c34!important;color:#f0f1f5!important;border-color:#444650!important}
#form>.row:last-child button.primary,#agencyform>.row:last-child button.primary,#sessionform>.row:last-child button.primary{background:#7178f5!important;color:#fff!important}
/* Avoid inherited light-theme chips on dark dashboard task names */
main .dash-task button :is(span,strong),main .dash-project button :is(span,strong){background:transparent!important;color:inherit!important;box-shadow:none!important}

/* Approved muted status palette and softened header — dashboard only. */
#dashboard .sn-chart-track{background:#343740!important;border-radius:999px!important;overflow:hidden!important}
#dashboard .sn-chart-track i{display:block!important;border-radius:999px!important;background:#809ce0!important;box-shadow:none!important}
/* Task: completed, in progress, in review, not started, overdue */
#dashboard .sn-chart-grid>div:first-child .sn-chart-row:nth-of-type(1) .sn-chart-track i{background:#62b69a!important}
#dashboard .sn-chart-grid>div:first-child .sn-chart-row:nth-of-type(2) .sn-chart-track i{background:#809ce0!important}
#dashboard .sn-chart-grid>div:first-child .sn-chart-row:nth-of-type(3) .sn-chart-track i{background:#b39ade!important}
#dashboard .sn-chart-grid>div:first-child .sn-chart-row:nth-of-type(4) .sn-chart-track i{background:#b2a0a0!important}
#dashboard .sn-chart-grid>div:first-child .sn-chart-row:nth-of-type(5) .sn-chart-track i{background:#d28b87!important}
/* Delivery: clients, projects, content, shoots, pending approvals */
#dashboard .sn-chart-grid>div:nth-child(2) .sn-chart-row:nth-of-type(1) .sn-chart-track i{background:#8ca6c9!important}
#dashboard .sn-chart-grid>div:nth-child(2) .sn-chart-row:nth-of-type(2) .sn-chart-track i{background:#a39bcf!important}
#dashboard .sn-chart-grid>div:nth-child(2) .sn-chart-row:nth-of-type(3) .sn-chart-track i{background:#78b7b1!important}
#dashboard .sn-chart-grid>div:nth-child(2) .sn-chart-row:nth-of-type(4) .sn-chart-track i{background:#c6a77b!important}
#dashboard .sn-chart-grid>div:nth-child(2) .sn-chart-row:nth-of-type(5) .sn-chart-track i{background:#d0a0a0!important}
#dashboard .sn-chart-row>span{color:#c5c7ce!important}
#dashboard .sn-chart-row>b{color:#f7f8fa!important}
/* Header: translucent soft slate rather than a stark white strip. */
body:has(#dashboard) main .top{background:rgba(207,214,225,.78)!important;color:#222a36!important;border-bottom:1px solid rgba(172,183,200,.52)!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
body:has(#dashboard) main .top .eyebrow,body:has(#dashboard) main .top #breadcrumb{color:#263246!important}
body:has(#dashboard) main .top .search-trigger{background:rgba(255,255,255,.7)!important;color:#263246!important;border:1px solid rgba(125,141,162,.36)!important}
body:has(#dashboard) main .top .search-trigger kbd{background:#edf0f5!important;color:#293343!important}
body:has(#dashboard) main .top .top-avatar{background:#d7dce6!important;color:#222b3b!important}

/* 2026-10-25 — Approved header and clean dashboard record labels. */
body:has(#dashboard) main .top,
body:has(#dashboard) .top {
  background:#191b21!important;
  color:#f7f8fa!important;
  border-bottom:1px solid #30323b!important;
  backdrop-filter:none!important;
}
body:has(#dashboard) main .top :is(.eyebrow,#breadcrumb),
body:has(#dashboard) .top :is(.eyebrow,#breadcrumb){color:#e0e3eb!important}
body:has(#dashboard) main .top .search-trigger,
body:has(#dashboard) .top .search-trigger{background:#242730!important;color:#f3f4f8!important;border:1px solid #3b3e49!important}
body:has(#dashboard) main .top .search-trigger :is(span,svg),
body:has(#dashboard) .top .search-trigger :is(span,svg){color:#e2e5ee!important}
body:has(#dashboard) main .top .search-trigger kbd,
body:has(#dashboard) .top .search-trigger kbd{background:#343741!important;color:#f5f6f9!important;border-color:#494c57!important}
body:has(#dashboard) main .top .top-avatar,
body:has(#dashboard) .top .top-avatar{background:#30333e!important;color:#fff!important}
/* Keep actual clickable record titles functional, remove white button/chip treatment. */
#dashboard .dash-project button:not(.primary),
#dashboard .dash-task button:not(.primary),
#dashboard .dash-project button.recordtitle,
#dashboard .dash-task button.recordtitle,
#dashboard .dash-project .recordtitle,
#dashboard .dash-task .recordtitle{
  appearance:none!important;background:transparent!important;background-color:transparent!important;
  color:#f7f8fa!important;border:0!important;outline-offset:3px!important;
  box-shadow:none!important;border-radius:0!important;padding:0!important;
  min-height:0!important;text-align:left!important;display:inline!important;
  font-weight:600!important;line-height:1.5!important;
}
#dashboard .dash-project button :is(span,strong,mark),
#dashboard .dash-task button :is(span,strong,mark),
#dashboard .dash-project .recordtitle :is(span,strong,mark),
#dashboard .dash-task .recordtitle :is(span,strong,mark){background:transparent!important;background-color:transparent!important;color:inherit!important;border:0!important;box-shadow:none!important;padding:0!important}
#dashboard .dash-project button:hover,#dashboard .dash-task button:hover{color:#c8ccff!important;text-decoration:underline!important;text-underline-offset:3px!important}
#dashboard .dash-project button:focus-visible,#dashboard .dash-task button:focus-visible{outline:2px solid #a2a8ff!important;border-radius:2px!important}

/* Workspace-wide dashboard-approved Linear palette — 2026-10-25.
   Scoped to app surfaces; invoice-paper remains a light document. */
:root{--sn-page:#101114;--sn-card:#1c1d22;--sn-header:#191b21;--sn-text:#f7f8fa;--sn-copy:#e3e5ec;--sn-sub:#b0b4bf;--sn-border:#303139}
body:not(.portal-login) main .top{background:#191b21!important;color:#f7f8fa!important;border-bottom:1px solid #303139!important;backdrop-filter:none!important}
body:not(.portal-login) main .top :is(.eyebrow,#breadcrumb){color:#e0e3eb!important}
body:not(.portal-login) main .top .search-trigger{background:#242730!important;color:#f3f4f8!important;border:1px solid #3b3e49!important}
body:not(.portal-login) main .top .search-trigger :is(span,svg){color:#e2e5ee!important}
body:not(.portal-login) main .top .search-trigger kbd{background:#343741!important;color:#f5f6f9!important;border-color:#494c57!important}
body:not(.portal-login) main .top .top-avatar{background:#30333e!important;color:#fff!important}
main>.view:not(#dashboard):not(.hidden){background:#101114!important;color:#f7f8fa!important}
main>.view:not(#dashboard) :is(.card,.panel,.agencyoverview,.agencycard,.projectcard,.taskcard,.sn-card,.section-card,.stat,.metric,.summary,.summary-card,.table-wrap,.hoursgrid>div){background-color:#1c1d22!important;color:#f7f8fa!important;border-color:#303139!important;box-shadow:none!important}
main>.view:not(#dashboard) :is(h1,h2,h3,h4,.section-title,.sectionhead strong,.big){color:#f7f8fa!important}
main>.view:not(#dashboard) :is(.muted,.sub,.foot,small,.hint,.description){color:#b0b4bf!important}
main>.view:not(#dashboard) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#17181d!important;color:#f7f8fa!important;border-color:#393b45!important}
main>.view:not(#dashboard) :is(input,textarea)::placeholder{color:#9297a3!important}
main>.view:not(#dashboard) :is(th,.table-head){background:#252730!important;color:#d8dbe3!important;border-color:#383a44!important}
main>.view:not(#dashboard) :is(td,.table-cell){color:#e3e5ec!important;border-color:#303139!important}
main>.view:not(#dashboard) :is(.bar,.progress-track){background:#343740!important}
main>.view:not(#dashboard) :is(.bar i,.progress-fill){background:#809ce0!important}
/* Consistent plain record titles; preserve click and keyboard interaction. */
main>.view:not(#dashboard) :is(.recordtitle,.tasktitle,.projecttitle) :is(button,span,strong),
main>.view:not(#dashboard) :is(button.recordtitle,button.tasktitle,button.projecttitle){background:transparent!important;color:#f7f8fa!important;border:0!important;box-shadow:none!important}
/* Shared modal headings and footers should never revert to white. */
body:not(.billing-frame) :is(dialog,[role=dialog],.modal,.modal-content,.sn-whatsapp-dialog) :is(.modal-header,.modal-footer,.dialog-header,.dialog-footer,.form-header,.form-footer){background:#1c1d22!important;color:#f7f8fa!important;border-color:#393b45!important}
body:not(.billing-frame) :is(dialog,[role=dialog],.modal,.modal-content,.sn-whatsapp-dialog) :is(h1,h2,h3,h4){color:#f7f8fa!important}
/* Finance UI is dark; the invoice document itself remains white for print and PDF. */
.billing-frame :is(.main,.card,.sidebar,.mobile-nav,.table-wrap){color:#f7f8fa}
.billing-frame .invoice-paper{background:#fff!important;color:#1a2b3d!important;color-scheme:light!important}
.billing-frame .invoice-paper :is(p,span,small,td,.invoice-foot,.muted){color:#34465c!important}
.billing-frame .invoice-paper :is(h1,h2,h3,h4,strong,b){color:#1a2b3d!important}
.billing-frame .invoice-paper th{background:#468bd6!important;color:#fff!important}
.billing-frame .invoice-paper tbody tr:nth-child(odd){background:#e2edf9!important}
.billing-frame .invoice-paper :is(input,textarea,select){background:#fff!important;color:#1a2b3d!important;color-scheme:light!important}
@media print{.billing-frame,.billing-frame .main{background:#fff!important}.billing-frame .invoice-paper{background:#fff!important;color:#1a2b3d!important;border:0!important;box-shadow:none!important}}


/* Search modal and Active Tasks complete contrast correction */
#searchdialog{background:#1c1d22!important;color:#f7f8fa!important;border:1px solid #373943!important;box-shadow:0 24px 70px #0009!important;color-scheme:dark!important}
#searchdialog .sectionhead{background:#1c1d22!important;border-bottom:1px solid #363943!important;color:#f7f8fa!important}
#searchdialog #searchtitle{color:#fff!important}
#searchdialog #workspacequery{background:#15161b!important;color:#f7f8fa!important;border:1px solid #3b3e49!important}
#searchdialog #workspacequery::placeholder{color:#a1a6b2!important}
#searchdialog #workspaceresults,#searchdialog #workspaceresults :is(div,article,section,li,button,a){background-color:#202228!important;color:#e8eaf0!important;border-color:#353741!important}
#searchdialog #workspaceresults :is(button,a){width:100%;text-align:left}
#searchdialog #workspaceresults :is(button,a):hover,#searchdialog #workspaceresults :is(button,a):focus-visible{background:#2c3040!important;color:#fff!important}
#searchdialog #workspaceresults :is(strong,b,h3,h4,span){color:#f7f8fa!important;background:transparent!important}
#searchdialog #workspaceresults :is(small,.muted,p){color:#b0b4bf!important;background:transparent!important}
#searchdialog .foot{color:#a8adb8!important}
/* Active Tasks: override original light component styles without changing functionality */
#today :is(#agencyoverview,.dashboardtiles,.projectsummary,#weeklymetrics,.overviewtile,.worktoolbar,.filterbar,.workspacecard,.today-timepanel,.today-focusnote,.modulehint,.moduleflow span,.note,.reviewcheck,.taskboard,.taskcolumn,.taskcolumn .task){background:#1c1d22!important;color:#e7e9ef!important;border-color:#343640!important}
#today :is(#agencyoverview,.dashboardtiles,.projectsummary){background:#1c1d22!important}
#today :is(.overviewtile>span,.muted,.foot,.recordnote,.listmeta,.task-project-client,.task-assignee,.tasktable td .muted,.tasktable td:nth-child(2)>.muted,.taskcolumn .task small,.today-timepanel #hourcards>.card>small){color:#b0b4bf!important}
#today :is(.overviewtile>strong,.big,.taskname,.tasktable .taskname,.taskcolumn .task .title,.today-timepanel #hourcards>.card>.big,.today-focusnote h3){color:#f7f8fa!important;background:transparent!important}
#today :is(.tasktable,.tasktable tbody,.tasktable tr,.tasktable td,.recordtable,.recordtable td){background:#1c1d22!important;color:#e1e4eb!important;border-color:#353741!important}
#today :is(.tasktable th,.recordtable th,.tasksectiontitle,.task-date-heading,.task-date-heading.due-today,.task-date-heading.overdue,.completed-task-groups>summary){background:#282b33!important;color:#d9dce6!important;border-color:#3a3d48!important}
#today .tasktable tr:hover td{background:#252832!important}
#today :is(.tasktable select,.filterbar select,.filterbar input,.taskcolumn select){background:#17191f!important;color:#f7f8fa!important;border:1px solid #3b3e49!important}
#today :is(.worktoolbar,.filterbar){background:#1c1d22!important;border-color:#353741!important}
#today .viewtabs button{color:#b0b4bf!important;background:transparent!important}
#today .viewtabs button.selected{color:#f7f8fa!important}
#today .viewtabs button.selected::after{background:#8f95e9!important}
#today .today-timepanel #hourcards>.card{background:#1c1d22!important;border-color:#343640!important}
#today .today-timepanel #hourcards>.card>p{color:#85b8a4!important}
#today .today-focusnote p,#today .today-focusnote small{color:#c1b3a3!important}
#today .task-due-badge,#today .stagepill{background:#303449!important;color:#c2c9fa!important}
#today :is(.tasktable .taskname,.taskname,.project-highlight){background:transparent!important;color:#f7f8fa!important;box-shadow:none!important;border:0!important}
#today .active-rowactions button[data-edit],#today button[data-edit]:not(.taskname){background:#e8edf5!important;color:#1e3047!important;border-color:#d4dce9!important}
#today .active-rowactions button[data-delete],#today button[data-delete]{background:#39272b!important;color:#f2aaa8!important;border-color:#624047!important}
#today .tasktable td button:not([data-edit]):not([data-delete]):not(.taskname){color:#e7e9ef}
#today :is(.dateactions button,.taskdetailsbutton){background:#252831!important;color:#e1e5ee!important;border-color:#41444f!important}
#today :is(.tasktable td,.tasktable th){font-family:Inter,system-ui,sans-serif!important}
#today :is(h1,h2,h3,.sectionhead h2){font-family:'Plus Jakarta Sans',Inter,system-ui,sans-serif!important}


/* 2026-10-25: Active Tasks targeted refinements */
/* Compact task row actions; preserve their handlers and accessibility. */
#today .active-rowactions{min-width:90px!important;width:100px!important;white-space:nowrap!important;vertical-align:middle!important}
#today .active-rowactions button{display:block!important;width:94px!important;max-width:94px!important;min-width:0!important;min-height:29px!important;height:29px!important;padding:4px 10px!important;margin:3px 0!important;border-radius:6px!important;font-family:Inter,system-ui,sans-serif!important;font-size:12px!important;font-weight:600!important;line-height:19px!important;letter-spacing:0!important}
#today .active-rowactions button[data-edit]{background:#e7ebf3!important;color:#172132!important;border:1px solid #cfd5e0!important}
#today .active-rowactions button[data-delete]{background:#322428!important;color:#f4b0ae!important;border:1px solid #654149!important}
/* Daily Notes & Publishing disclosure should not expose white legacy surfaces. */
#today details.daily-support-tools,#today .daily-support-tools[open],#today .daily-support-tools>.grid{background:#1c1d22!important;color:#f7f8fa!important;border-color:#343640!important}
#today .daily-support-tools>summary{background:#252730!important;color:#f7f8fa!important;font-size:13px!important;font-weight:600!important;padding:13px 16px!important;border-radius:8px!important;cursor:pointer}
#today .daily-support-tools[open]>summary{border-bottom:1px solid #383a44!important;border-radius:8px 8px 0 0!important}
#today .daily-support-tools .card{background:#1c1d22!important;color:#f7f8fa!important;border-color:#343640!important}
#today .daily-support-tools :is(h2,h3,strong){color:#f7f8fa!important}
#today .daily-support-tools :is(.muted,small,.foot){color:#b0b4bf!important}
/* Close icons: dark surface, high-contrast X glyph, no washed-out white icon. */
dialog .close-danger,dialog #agencyclose,#modal .close-danger,#agencydialog .close-danger{background:#292b34!important;border:1px solid #484b58!important;color:#f7f8fa!important;opacity:1!important;display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:0!important;line-height:1!important;cursor:pointer!important}
dialog .close-danger svg,dialog #agencyclose svg,#modal .close-danger svg{display:block!important;width:18px!important;height:18px!important;stroke:#f7f8fa!important;stroke-width:2.3!important;fill:none!important;opacity:1!important}
dialog .close-danger:hover,dialog #agencyclose:hover{background:#3a3e4a!important;border-color:#74798a!important;color:#fff!important}
dialog .close-danger:focus-visible,dialog #agencyclose:focus-visible{outline:2px solid #9da5fa!important;outline-offset:2px!important}
@media(max-width:720px){#today .active-rowactions{width:auto!important;min-width:0!important}#today .active-rowactions button{display:inline-block!important;width:auto!important;max-width:none!important;min-width:72px!important;margin:2px 4px 2px 0!important}}


/* Content screen: match approved Linear dashboard, without altering data or event handlers. */
#content :is(.modulehint,.modulefilters,.moduleflow,.recordtable,.recordtable tbody,.recordtable tr,.recordtable td,.projectgroup,.projectgroup h3){background:#1c1d22!important;color:#e6e8ee!important;border-color:#343640!important}
#content .modulehint{background:#23262e!important;color:#b9bfcc!important;border:1px solid #343944!important}
#content .modulefilters{background:#202228!important;border:1px solid #353842!important}
#content .moduleflow span{background:#282b34!important;color:#c2c6d2!important;border:1px solid #3a3e4a!important}
#content .moduleflow span:nth-child(6){background:#302a3b!important;color:#c6b3df!important;border-color:#494052!important}
#content .moduleflow span:last-child{background:#25362f!important;color:#a1d1b9!important;border-color:#355145!important}
#content :is(.recordtable th,.projecttable th,.projectgroup h3){background:#252831!important;color:#e2e5ed!important;border-color:#383b46!important}
#content :is(.recordtable td,.projecttable td){background:#1c1d22!important;color:#d8dce5!important;border-color:#343640!important}
#content :is(.recordtable td small,.recordnote,.moduleintro,.modulehint){color:#b0b4bf!important}
#content :is(.recordtable td button.recordtitle,.recordtable td .recordtitle,.project-highlight){background:transparent!important;color:#f7f8fa!important;border:0!important;box-shadow:none!important;padding:0!important;font-size:13px!important;font-weight:600!important;text-align:left!important}
#content .recordtable td button.recordtitle:hover{color:#c2c5ff!important;text-decoration:underline!important}
#content .stagepill,#content .tag{background:#292d3a!important;color:#c4caec!important;border:1px solid #393f50!important}
#content .recordtable .rowactions button{font-size:12px!important;font-weight:600!important;padding:6px 11px!important;min-height:29px!important;border-radius:6px!important}
#content .recordtable .rowactions button:not([data-agencydelete]){background:#e6ebf4!important;color:#1b2a3e!important;border:1px solid #cbd4e2!important}
#content .recordtable .rowactions button[data-agencydelete]{background:#35262a!important;color:#f1aaaa!important;border:1px solid #654249!important}
#content :is(input,select,textarea){background:#17191f!important;color:#f7f8fa!important;border-color:#3a3d48!important}
#content :is(h2,h3,.modtoolbar h2){color:#f7f8fa!important;font-family:'Plus Jakarta Sans',Inter,system-ui,sans-serif!important}
/* All app modal forms: section bars, sticky header/footer, hints and text use dark contrast. */
body:not(.billing-frame) :is(dialog,#modal,#agencydialog,#sessionmodal,#projectdetails,#confirmmodal,#messagemodal){background:#1c1d22!important;color:#f7f8fa!important;border:1px solid #383b46!important;color-scheme:dark!important}
body:not(.billing-frame) :is(dialog,#modal,#agencydialog,#sessionmodal,#projectdetails) :is(.formgroup,.agreement-section){background:#292c35!important;color:#f7f8fa!important;border:1px solid #3b3e49!important;border-radius:7px!important;padding:9px 12px!important;font-size:12px!important;font-weight:700!important;letter-spacing:.035em!important}
body:not(.billing-frame) :is(dialog,#modal,#agencydialog,#sessionmodal,#projectdetails) :is(.formgroup,.agreement-section) :is(strong,span,b){color:#f7f8fa!important}
body:not(.billing-frame) :is(#agencyform,#form,#sessionform)>.sectionhead,body:not(.billing-frame) :is(#agencyform,#form,#sessionform)>.row:last-child{background:#1c1d22!important;color:#f7f8fa!important;border-color:#363944!important}
body:not(.billing-frame) :is(dialog,#modal,#agencydialog,#sessionmodal,#projectdetails) :is(label,.formhint,.fieldnote,.modalhint,.eyebrow){color:#b8bdc9!important}
body:not(.billing-frame) :is(dialog,#modal,#agencydialog,#sessionmodal,#projectdetails) :is(input,select,textarea){background:#15171c!important;color:#f7f8fa!important;border:1px solid #3a3e49!important}
body:not(.billing-frame) :is(dialog,#modal,#agencydialog,#sessionmodal,#projectdetails) :is(input,textarea)::placeholder{color:#9299a7!important}
body:not(.billing-frame) :is(dialog,#modal,#agencydialog,#sessionmodal,#projectdetails) :is(.termsview,.agreement-total,.paymentbalance){background:#252832!important;color:#e0e4ed!important;border-color:#3c4050!important}
body:not(.billing-frame) :is(dialog,#modal,#agencydialog,#sessionmodal,#projectdetails) :is(h2,h3,h4){color:#f7f8fa!important;font-family:'Plus Jakarta Sans',Inter,system-ui,sans-serif!important}
body:not(.billing-frame) :is(dialog,#modal,#agencydialog,#sessionmodal,#projectdetails) :is(.close-danger,#agencyclose){background:#292c35!important;color:#fff!important;border:1px solid #505461!important}
body:not(.billing-frame) :is(dialog,#modal,#agencydialog,#sessionmodal,#projectdetails) :is(.close-danger,#agencyclose) svg{stroke:#fff!important;opacity:1!important}
/* Keep printable invoices and PDF preview on their approved white paper. */
.billing-frame .invoice-paper,.invoice-paper{color-scheme:light!important}

/* Content editor section titles — override legacy light editor-section rules. */
body:not(.billing-frame) #agencydialog #agencyfields > .editor-section,
body:not(.billing-frame) #agencydialog .editor-section,
body:not(.billing-frame) dialog .editor-section {
  background:#292c35!important;
  color:#f7f8fa!important;
  border:1px solid #3c404b!important;
  box-shadow:none!important;
  font-family:Inter,system-ui,sans-serif!important;
  font-size:12px!important;
  font-weight:700!important;
  letter-spacing:.045em!important;
  padding:8px 11px!important;
  border-radius:6px!important;
}

/* Founder’s Desk: consistent dark filter toolbar, scoped to this view. */
#founder .modulefilters {
  background:#24262d!important;
  color:#f7f8fa!important;
  border:1px solid #353842!important;
  border-radius:8px!important;
  box-shadow:none!important;
}
#founder .modulefilters input,
#founder .modulefilters select {
  background:#17191f!important;
  color:#f7f8fa!important;
  border:1px solid #3a3d47!important;
  border-radius:6px!important;
  box-shadow:none!important;
}
#founder .modulefilters input::placeholder {color:#a0a6b3!important;opacity:1!important}
#founder .modulefilters :is(input,select):focus-visible {outline:2px solid #8589f5!important;outline-offset:1px!important}
#founder .recordtable th {background:#252831!important;color:#f0f1f5!important;border-color:#393c46!important}
#founder .recordtable td {background:#1c1d22!important;color:#dfe2ea!important;border-color:#353842!important}
#founder .recordtable td button.recordtitle {background:transparent!important;color:#f7f8fa!important;border:0!important;box-shadow:none!important;padding:0!important}
#founder .recordtable td small,#founder .recordnote {color:#b0b4bf!important}
#founder .agencyempty {color:#b0b4bf!important}

/* Projects registry — consistent Linear dark styling (October 2026). */
#allprojects .projectsummary,
#allprojects .projectsummary .overviewtile,
#allprojects #totalprojectpanel .agencyoverview,
#allprojects #totalprojectpanel .overviewtile {
  background:#1c1d22!important;color:#f7f8fa!important;
  border-color:#353842!important;box-shadow:none!important;
}
#allprojects .projectsummary :is(span,small,p),
#allprojects #totalprojectpanel .overviewtile :is(span,small,p){color:#b0b4bf!important}
#allprojects .projectsummary :is(strong,b),
#allprojects #totalprojectpanel .overviewtile :is(strong,b){color:#f7f8fa!important}
#allprojects .modulefilters,
#allprojects #totalprojectpanel .modulefilters {
  background:#24262d!important;color:#f7f8fa!important;
  border:1px solid #353842!important;border-radius:8px!important;box-shadow:none!important;
}
#allprojects .modulefilters :is(input,select),
#allprojects #totalprojectpanel .modulefilters :is(input,select){
  background:#17191f!important;color:#f7f8fa!important;
  border:1px solid #3a3d47!important;border-radius:6px!important;
}
#allprojects .modulefilters input::placeholder{color:#a0a6b3!important;opacity:1!important}
#allprojects .projecttable th{background:#252831!important;color:#f0f1f5!important;border-color:#393c46!important}
#allprojects .projecttable td{background:#1c1d22!important;color:#e4e6ec!important;border-color:#353842!important}
#allprojects .projecttable .project-highlight{background:transparent!important;border:0!important;box-shadow:none!important;color:#f7f8fa!important;padding:0!important;text-align:left!important}
#allprojects .projecttable td:last-child{white-space:normal!important}
#allprojects .projecttable td:last-child>button,
#allprojects .projecttable td:last-child>button:first-child{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:auto!important;min-width:58px!important;max-width:90px!important;
  min-height:28px!important;padding:5px 10px!important;margin:0 4px 4px 0!important;
  font-size:12px!important;font-weight:600!important;line-height:1.2!important;
  border-radius:6px!important;box-shadow:none!important;
}
#allprojects .projecttable td:last-child>button:not(.deleteproject):not(.delete){background:#e6ebf4!important;color:#1b2a3e!important;border:1px solid #cbd4e2!important}
#allprojects .projecttable td:last-child>button.deleteproject,
#allprojects .projecttable td:last-child>button.delete{background:#35262a!important;color:#f1aaaa!important;border:1px solid #654249!important}

/* Creative Studio — approved Linear-inspired palette; presentation only. */
#shoots .modulefilters{background:#24262d!important;color:#f7f8fa!important;border:1px solid #353842!important;border-radius:8px!important;box-shadow:none!important}
#shoots .modulefilters :is(input,select){background:#17191f!important;color:#f7f8fa!important;border:1px solid #3a3d47!important;border-radius:6px!important}
#shoots .modulefilters input::placeholder{color:#a0a6b3!important;opacity:1!important}
#shoots .modulefilters :is(input,select):focus-visible{outline:2px solid #8589f5!important;outline-offset:1px!important}
#shoots .recordtable thead th,#shoots .recordtable tbody tr>th{background:#252831!important;color:#f0f1f5!important;border-color:#393c46!important}
#shoots .recordtable tbody td{background:#1c1d22!important;color:#e4e6ec!important;border-color:#353842!important}
#shoots .recordtable .recordtitle{background:transparent!important;border:0!important;box-shadow:none!important;color:#f7f8fa!important;padding:0!important;text-align:left!important;font-weight:650!important;font-size:13px!important}
#shoots .recordtable .recordtitle:hover{color:#c2c5ff!important;text-decoration:underline!important}
#shoots .recordtable td small,#shoots .recordnote{color:#b0b4bf!important}
#shoots .recordtable .rowactions{white-space:nowrap!important}
#shoots .recordtable .rowactions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;max-width:none!important;min-height:29px!important;padding:5px 11px!important;margin:2px 4px 2px 0!important;font-size:12px!important;font-weight:600!important;line-height:1.3!important;border-radius:6px!important;box-shadow:none!important}
#shoots .recordtable .rowactions button[data-agencyedit]{background:#e6ebf4!important;color:#1b2a3e!important;border:1px solid #cbd4e2!important}
#shoots .recordtable .rowactions button[data-agencydelete]{background:#35262a!important;color:#f1aaaa!important;border:1px solid #654249!important}
#shoots .recordtable .tag{background:#292d3a!important;color:#c4caec!important;border:1px solid #393f50!important}
#shoots .modtoolbar h2{color:#f7f8fa!important;font-family:'Plus Jakarta Sans',Inter,system-ui,sans-serif!important}
/* WhatsApp confirmation action remains green and functionally unchanged. */

/* Client Profile + Client Agreement: approved dark filter/header and compact actions. */
#projects .modulefilters,#agreements .modulefilters{
 background:#24262d!important;color:#f7f8fa!important;border:1px solid #353842!important;border-radius:8px!important;box-shadow:none!important;
}
#projects .modulefilters :is(input,select),#agreements .modulefilters :is(input,select){background:#17191f!important;color:#f7f8fa!important;border:1px solid #3a3d47!important;border-radius:6px!important;box-shadow:none!important}
#projects .modulefilters input::placeholder,#agreements .modulefilters input::placeholder{color:#a0a6b3!important;opacity:1!important}
#projects .modulefilters :is(input,select):focus-visible,#agreements .modulefilters :is(input,select):focus-visible{outline:2px solid #8589f5!important;outline-offset:1px!important}
#projects .recordtable thead th,#agreements .recordtable thead th{background:#252831!important;color:#f0f1f5!important;border-color:#393c46!important}
#projects .recordtable tbody td,#agreements .recordtable tbody td{background:#1c1d22!important;color:#e4e6ec!important;border-color:#353842!important}
#projects .recordtable .recordtitle,#agreements .recordtable .recordtitle{background:transparent!important;border:0!important;box-shadow:none!important;color:#f7f8fa!important;padding:0!important;text-align:left!important;font-weight:650!important;font-size:13px!important}
#projects .recordtable .recordtitle:hover,#agreements .recordtable .recordtitle:hover{color:#c2c5ff!important;text-decoration:underline!important}
#projects .recordtable td small,#agreements .recordtable td small,#projects .recordnote,#agreements .recordnote{color:#b0b4bf!important}
#projects .recordtable .rowactions,#agreements .recordtable .rowactions{white-space:nowrap!important}
#projects .recordtable .rowactions button,#agreements .recordtable .rowactions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;max-width:none!important;min-height:29px!important;padding:5px 11px!important;margin:2px 4px 2px 0!important;font-size:12px!important;font-weight:600!important;line-height:1.3!important;border-radius:6px!important;box-shadow:none!important}
#projects .recordtable .rowactions button[data-agencyedit],#agreements .recordtable .rowactions button[data-agencyedit]{background:#e6ebf4!important;color:#1b2a3e!important;border:1px solid #cbd4e2!important}
#projects .recordtable .rowactions button[data-agencydelete],#agreements .recordtable .rowactions button[data-agencydelete]{background:#35262a!important;color:#f1aaaa!important;border:1px solid #654249!important}
#projects .modtoolbar h2,#agreements .modtoolbar h2{color:#f7f8fa!important;font-family:'Plus Jakarta Sans',Inter,system-ui,sans-serif!important}
