/* Shared presentation for every LeaderDesk workspace. */
html{font-size:16px!important}
html body[class]{--ld-ink:#182d3b;--ld-muted:#526574;--ld-blue:#175c64;--ld-paper:#f5f7f8;--ld-line:#dce4e8;--primary-color:#175c64;--text-primary:#182d3b;--text-secondary:#526574;background:#f5f7f8!important;background-image:none!important;color:#182d3b!important;font-family:Inter,"Segoe UI",system-ui,sans-serif!important;line-height:1.55!important}
html body[class]::before,html body[class]::after{content:none!important;background:none!important}
html body[class] :is(h1,h2,h3,h4){color:#182d3b;line-height:1.3!important;letter-spacing:-.025em!important;text-shadow:none!important;-webkit-text-fill-color:currentColor}
html body[class] :is(.page-title,.page-header,.top-bar,.header-content,.header-title) h1,html body[class] h1.page-title,html body.ld-portal h1{font-size:clamp(26px,2.5vw,34px)!important;font-weight:700!important;margin:0 0 8px!important;background:none!important}
html body[class] :is(.page-title,.page-header,.top-bar,.header-content,.header-title) p,html body[class] :is(.page-subtitle,.subtitle){font-size:16px!important;font-weight:400!important;color:#526574!important;margin:0!important;line-height:1.6!important}
html body[class] :is(.section-header,.section-title,.card-header) h2,html body[class] h2.section-title,html body.ld-portal h2{font-size:21px!important;font-weight:650!important}
html body[class] :is(.top-bar,.page-header){background:transparent!important;border:0!important;box-shadow:none!important;padding:0 0 28px!important;margin:0 0 4px!important;gap:20px;flex-wrap:wrap;min-height:0!important}
html body[class] :is(.card,.stat-card,.stats-card,.cascaded-target-card,.companies-section,.content-card,.content-section,.table-container,.filter-section,.filters-section,.ld-card,.ld-stat,.panel){background:#fff!important;background-image:none!important;color:#182d3b!important;border:1px solid #dce4e8!important;border-radius:12px!important;box-shadow:0 2px 5px #182d3b03!important;backdrop-filter:none!important}
html body[class] :is(.stat-card,.stats-card,.cascaded-target-card,.ld-stat){padding:22px!important}
html body[class] :is(.stat-value,.stat-number,.metric-value,.ld-stat strong){font-size:32px!important;line-height:1.2!important;font-weight:650!important;color:#182d3b!important;letter-spacing:-.04em!important}
html body[class] :is(.stat-label,.stat-title,.cascaded-target-title,.ld-stat>span){font-size:15px!important;font-weight:550!important;color:#526574!important}
html body[class] :is(.cascaded-target-header,.section-header){gap:12px;flex-wrap:wrap}
html body[class] .cascaded-target-header{display:flex;flex-direction:column;align-items:flex-start!important}
html body[class] :is(.cascaded-target-values,.cascaded-target-percent){font-size:15px!important;color:#526574!important}
html body[class] :is(.cascaded-target-grid,.stats-grid,.ld-stats){gap:18px!important;margin-bottom:24px!important}
html body[class] :is(.progress-small,.cascaded-progress-bar){background:#e7edef!important;height:7px!important;border-radius:6px!important;overflow:hidden}
html body[class] :is(.cascaded-progress-fill,.progress-small-fill){max-width:100%;background:#287b80!important;border-radius:6px}
html body[class] :is(.btn-primary,.btn-submit,.login-btn,.ld-button,.btn:not(.btn-secondary):not(.btn-outline):not(.btn-danger):not(.btn-delete)){background:#175c64!important;border-color:#175c64!important;color:#fff!important}
html body[class] :is(.ld-secondary,.btn-secondary,.btn-outline){background:#fff!important;color:#175c64!important;border:1px solid #a8b9c3!important}
html body[class] :is(.btn,.ld-button,button){letter-spacing:normal!important;text-transform:none!important}
html body[class] :is(.admin-badge,.status-badge,.ld-badge){font-size:13px!important;line-height:1.5!important;font-weight:600!important;padding:5px 10px!important;border-radius:6px!important}
html body[class] .admin-badge{background:#eaf1f3!important;color:#405965!important;border:1px solid #dce4e8!important}
html body[class] :is(.companies-table,table){color:#253e4b;font-size:15px!important}
html body[class] th{background:#f7f9fa!important;color:#526574!important;text-transform:none!important;letter-spacing:normal!important;font-size:14px!important;font-weight:600!important;padding:14px 16px!important;border-bottom:1px solid #dce4e8!important;border-radius:0!important}
html body[class] td{padding:16px!important;border-bottom:1px solid #edf1f3!important;font-size:15px!important;vertical-align:top}
html body[class] tbody tr{background:#fff!important}
html body[class] tbody tr:hover{background:#f7fafb!important}
html body[class] :is(.table-responsive,.ld-table-wrap,.ld-scroll-region){max-width:100%;overflow-x:auto;border-radius:8px}
html body[class] :is(.company-email,.leader-email,.text-muted,small){color:#526574;font-size:14px}
html body[class] :is(input,select,textarea){font-size:16px!important}
html body[class] :is(.companies-section,.content-section){padding:24px!important;margin-bottom:24px!important}
html body[class] .section-header{margin-bottom:20px!important;align-items:center}
html body[class] .section-header a{color:#175c64!important;font-size:15px!important;font-weight:600!important;text-underline-offset:4px}
/* One admin rail; the old page-local sidebars are removed from the templates. */
html body[class] .admin-sidebar.ld-admin-rail{position:fixed!important;inset:0 auto 0 0!important;width:252px!important;height:100dvh!important;padding:26px 16px 16px!important;background:#fff!important;background-image:none!important;color:#344f5e!important;border:0!important;border-right:1px solid #dce4e8!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;gap:0!important;z-index:1300!important;transform:none;overflow:auto!important;scrollbar-width:thin}
html body[class] .ld-admin-brand{display:flex;align-items:center;gap:11px;padding:0 8px 26px;color:#182d3b!important;font-size:21px!important;font-weight:750!important;text-decoration:none!important;line-height:1.2!important}
html body[class] .ld-brand-mark{display:grid;place-items:center;flex:0 0 36px;height:36px;background:#175c64;color:#fff;border-radius:10px;font-size:24px}
html body[class] .ld-admin-brand small{display:block;font-weight:400;font-size:12px!important;letter-spacing:.02em;margin-top:5px}
html body[class] .ld-nav-search-label{font-size:13px!important;color:#526574;margin:0 8px 7px}
html body[class] #ld-nav-search{width:100%;min-height:44px!important;padding:10px!important;font-size:14px!important;border:1px solid #dce4e8!important;background:#f9fbfc!important;margin-bottom:20px}
html body[class] .ld-admin-links{flex:1}
html body[class] .ld-admin-links a,html body[class] .ld-admin-signout{display:flex;align-items:center;min-height:46px!important;padding:11px 13px!important;margin:2px 0!important;font-size:15px!important;font-weight:500!important;line-height:1.4!important;color:#405765!important;text-decoration:none!important;border:0!important;border-radius:8px!important;background:transparent!important}
html body[class] .ld-admin-links a:hover,html body[class] .ld-nav-group summary:hover{background:#f3f6f7!important;color:#175c64!important}
html body[class] .ld-admin-links a.active{background:#e7f2f1!important;color:#14555e!important;font-weight:700!important;box-shadow:inset 3px 0 #21747b}
html body[class] .ld-nav-essential{padding-bottom:16px;border-bottom:1px solid #e8edf0;margin-bottom:12px}
html body[class] .ld-nav-group{margin:2px 0;border:0!important;padding:0!important;background:transparent!important}
html body[class] .ld-nav-group summary{cursor:pointer;list-style:none;min-height:46px;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 12px;font-size:14px;font-weight:600;color:#526574;border-radius:8px}
html body[class] .ld-nav-group summary::-webkit-details-marker{display:none}
html body[class] .ld-nav-group summary::after{content:'+';font-size:20px;font-weight:400}
html body[class] .ld-nav-group[open] summary::after{content:'−'}
html body[class] .ld-nav-group>div{padding-left:9px;margin-left:12px;border-left:1px solid #dce4e8}
html body[class] .ld-admin-signout{border-top:1px solid #e8edf0!important;border-radius:0!important;margin-top:20px!important}
html body[class] .admin-container{display:block!important;min-height:100vh;background:transparent!important}
html body[class] .admin-main{margin:0 0 0 252px!important;padding:36px clamp(22px,3vw,48px) 60px!important;width:calc(100% - 252px)!important;max-width:none!important;min-width:0!important;background:transparent!important}
html body.ld-admin-workspace.ld-portal>.ld-topbar{display:none!important}
html body.ld-admin-workspace.ld-portal>.ld-shell{margin:0 0 0 252px!important;padding:36px clamp(22px,3vw,48px) 60px!important;width:calc(100% - 252px)!important;max-width:none!important}
html body.ld-admin-workspace.ld-portal>.ld-footer{margin-left:252px}
html body[class] :is(#adminMenuToggle,.mobile-menu-toggle){display:none!important}
html body[class] .ld-admin-toggle{display:none!important}
html body[class] .ld-admin-backdrop{display:none;position:fixed;inset:0;z-index:1250;background:#142c3a66;border:0;border-radius:0;width:100%;height:100%}
html body[class] [hidden]{display:none!important}
/* Member/company navigation uses the same quiet surfaces and readable labels. */
html body[class] .ld-drawer{background:#fff!important;border-right:1px solid #dce4e8!important;box-shadow:none!important}
html body[class] .ld-brand-icon{background:#175c64!important}
html body[class] .ld-nav-list li a{color:#405765!important;font-size:15px!important;border:0!important;padding:12px!important}
html body[class] .ld-nav-list li.ld-active>a{background:#e7f2f1!important;color:#14555e!important;box-shadow:inset 3px 0 #21747b}
html body[class] .ld-section-label{font-size:13px!important;color:#526574!important;letter-spacing:0!important;text-transform:none!important;padding-top:20px!important}
html body[class] .ld-trial-badge{background:#edf5f4!important;color:#175c64!important;border:1px solid #d2e4e2!important}
html body[class] .ld-topbar{box-shadow:none!important;backdrop-filter:none!important}
html body[class] .ld-tab.on{background:#e7f2f1!important;color:#14555e!important}
html body[class] :is(.hero-title,.welcome-title){font-size:clamp(26px,3vw,38px)!important}
html body[class] :is(.ld-card,.ld-stat,.card,.stat-card):hover{transform:none!important}
@media(max-width:1000px){html body[class] .cascaded-target-grid{grid-template-columns:1fr!important}html body[class] .ld-columns{grid-template-columns:1fr!important}}
@media(max-width:768px){
html body[class] .admin-sidebar.ld-admin-rail{width:min(300px,84vw)!important;transform:translateX(-105%)!important;visibility:hidden!important;padding-top:70px!important;transition:transform .18s ease,visibility .18s!important}
html body[class] .admin-sidebar.ld-admin-rail.ld-open{transform:translateX(0)!important;visibility:visible!important}
html body[class] .ld-admin-toggle{display:block!important;position:fixed!important;left:16px!important;top:10px!important;z-index:1400!important;min-height:44px!important;padding:10px 18px!important;background:#fff!important;border:1px solid #b6c6ce!important;color:#175c64!important;font-weight:650!important}
html body.ld-admin-workspace::after{content:'LeaderDesk'!important;display:flex;justify-content:flex-end;align-items:center;position:fixed;inset:0 0 auto;height:64px;padding:0 20px;background:#fff!important;border-bottom:1px solid #dce4e8;z-index:1200;font-size:18px;font-weight:700}
html body[class] .admin-main,html body.ld-admin-workspace.ld-portal>.ld-shell{margin:0!important;padding:88px 18px 40px!important;width:100%!important}
html body.ld-admin-workspace.ld-portal>.ld-footer{margin-left:0}
html body[class] .ld-admin-backdrop.ld-visible{display:block}
html body.ld-admin-menu-open{overflow:hidden!important}
html body[class] :is(.companies-section,.content-section,.ld-card){padding:18px!important}
html body[class] .ld-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body[class] .ld-heading{align-items:flex-start;flex-wrap:wrap;gap:16px}
html body[class] :is(.ld-filter,.filter-form,.filters){flex-wrap:wrap;gap:12px}
html body[class] :is(.ld-stat strong,.stat-value){font-size:28px!important}
}
@media(prefers-reduced-motion:reduce){html body[class] *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

html body.pg-digital-advertiser-dashboard .sidebar{background:#fff!important;border-right:1px solid #dce4e8!important;box-shadow:none!important;color:#405765!important}
html body.pg-digital-advertiser-dashboard .sidebar a{font-size:15px!important;min-height:46px!important;color:#405765!important;border-radius:8px!important}
html body.pg-digital-advertiser-dashboard .sidebar a.active{background:#e7f2f1!important;color:#14555e!important}
html body.pg-digital-advertiser-dashboard :is(.brand-icon,.user-av){background:#175c64!important;color:#fff!important}
html body.pg-digital-advertiser-dashboard :is(.nav-section,.user-title,.brand-badge){color:#526574!important;font-size:13px!important}
html body.pg-digital-advertiser-dashboard .main>h1{font-size:30px!important}
.ld-promoter-start ol{margin:10px 0 18px;padding-left:24px}.ld-promoter-start li{padding:5px 0}.ld-promoter-start summary{cursor:pointer;min-height:44px;color:#175c64;font-weight:600}

.ld-promoter-editor{margin-top:18px;border-top:1px solid #dce4e8;padding-top:12px}.ld-promoter-editor summary{cursor:pointer;min-height:44px;font-weight:650;color:#175c64}.ld-promoter-editor .ld-form{padding:12px 0;max-width:560px}.ld-promoter-editor input[type=checkbox]{vertical-align:middle;margin-right:8px}
