/* Reusable, lightweight Agency Hub design system. One shared icon colour follows currentColor. */
:root{--a8ah-template-accent:#246b42;--a8ah-template-accent-strong:#124c2d;--a8ah-template-soft:#eaf4ec;--a8ah-template-bg:#f3f7f2;--a8ah-template-surface:#fff;--a8ah-template-ink:#15271c;--a8ah-template-muted:#69796e;--a8ah-template-border:#dce7de}
html[data-a8ah-template="forest-motion"]{--a8ah-template-accent:#278b53;--a8ah-template-accent-strong:#17643a;--a8ah-template-soft:#e4f5e9;--a8ah-template-bg:#f0f7f1;--a8ah-template-surface:#fff;--a8ah-template-ink:#12271b;--a8ah-template-muted:#687a6d;--a8ah-template-border:#d9e8dc}
html[data-a8ah-template="midnight-studio"]{--a8ah-template-accent:#5569c8;--a8ah-template-accent-strong:#36499e;--a8ah-template-soft:#edf0ff;--a8ah-template-bg:#f3f4fb;--a8ah-template-surface:#fff;--a8ah-template-ink:#1d2340;--a8ah-template-muted:#747b97;--a8ah-template-border:#dfe2f1}
html[data-a8ah-template="milk-rose"]{--a8ah-template-accent:#c45d83;--a8ah-template-accent-strong:#963d62;--a8ah-template-soft:#fbeaf1;--a8ah-template-bg:#fcf5f7;--a8ah-template-surface:#fff;--a8ah-template-ink:#392832;--a8ah-template-muted:#8a7780;--a8ah-template-border:#f0dce4}
html[data-a8ah-template="ocean-glass"]{--a8ah-template-accent:#138c9a;--a8ah-template-accent-strong:#08636e;--a8ah-template-soft:#e4f5f7;--a8ah-template-bg:#eff7f8;--a8ah-template-surface:#fff;--a8ah-template-ink:#14343b;--a8ah-template-muted:#66818a;--a8ah-template-border:#d4e8eb}
html[data-a8ah-template="violet-aura"]{--a8ah-template-accent:#8057be;--a8ah-template-accent-strong:#5b398f;--a8ah-template-soft:#f1eafd;--a8ah-template-bg:#f7f3fb;--a8ah-template-surface:#fff;--a8ah-template-ink:#2c2140;--a8ah-template-muted:#80728f;--a8ah-template-border:#e6dbf2}
html[data-a8ah-template="sunset-clay"]{--a8ah-template-accent:#bd694c;--a8ah-template-accent-strong:#8e4934;--a8ah-template-soft:#f9ece6;--a8ah-template-bg:#faf4ef;--a8ah-template-surface:#fff;--a8ah-template-ink:#392820;--a8ah-template-muted:#88776c;--a8ah-template-border:#edddd1}
html[data-a8ah-theme="dark"][data-a8ah-template="forest-motion"]{--a8ah-template-accent:#7bd59a;--a8ah-template-accent-strong:#a4e8b8;--a8ah-template-soft:#203e2d;--a8ah-template-bg:#101b15;--a8ah-template-surface:#17251c;--a8ah-template-ink:#e8f5eb;--a8ah-template-muted:#a4b9aa;--a8ah-template-border:#304738}
html[data-a8ah-theme="dark"][data-a8ah-template="midnight-studio"]{--a8ah-template-accent:#9caaf7;--a8ah-template-accent-strong:#c1c9ff;--a8ah-template-soft:#2b3155;--a8ah-template-bg:#151827;--a8ah-template-surface:#1e2338;--a8ah-template-ink:#edf0ff;--a8ah-template-muted:#aab0ce;--a8ah-template-border:#373d5c}
html[data-a8ah-theme="dark"][data-a8ah-template="milk-rose"]{--a8ah-template-accent:#f09abc;--a8ah-template-accent-strong:#ffc1d7;--a8ah-template-soft:#482d3b;--a8ah-template-bg:#211820;--a8ah-template-surface:#30232d;--a8ah-template-ink:#fff0f5;--a8ah-template-muted:#d3aebe;--a8ah-template-border:#563e4c}
html[data-a8ah-theme="dark"][data-a8ah-template="ocean-glass"]{--a8ah-template-accent:#73d6e0;--a8ah-template-accent-strong:#a4edf2;--a8ah-template-soft:#1d3f48;--a8ah-template-bg:#101c22;--a8ah-template-surface:#182b32;--a8ah-template-ink:#e7f8fa;--a8ah-template-muted:#a2c1c6;--a8ah-template-border:#31505a}
html[data-a8ah-theme="dark"][data-a8ah-template="violet-aura"]{--a8ah-template-accent:#c09af4;--a8ah-template-accent-strong:#d8c0ff;--a8ah-template-soft:#3a2a50;--a8ah-template-bg:#1b1624;--a8ah-template-surface:#292036;--a8ah-template-ink:#f4edff;--a8ah-template-muted:#c1b1d7;--a8ah-template-border:#473a58}
html[data-a8ah-theme="dark"][data-a8ah-template="sunset-clay"]{--a8ah-template-accent:#eea184;--a8ah-template-accent-strong:#ffc0a8;--a8ah-template-soft:#493027;--a8ah-template-bg:#211916;--a8ah-template-surface:#30231e;--a8ah-template-ink:#fff1e9;--a8ah-template-muted:#d1b1a0;--a8ah-template-border:#594237}

html[data-a8ah-template] body.a8ah-portal-document{background:var(--a8ah-template-bg)!important;color:var(--a8ah-template-ink)!important}
html[data-a8ah-template] .a8ah-portal-app{--a8ah-accent:var(--a8ah-template-accent)!important;--a8ah-portal-accent:var(--a8ah-template-accent)!important;--a8ah-portal-border:var(--a8ah-template-border)!important;--a8ah-line:var(--a8ah-template-border)!important;--a8ah-muted:var(--a8ah-template-muted)!important;background:var(--a8ah-template-bg)!important;color:var(--a8ah-template-ink)!important}
html[data-a8ah-template] .a8ah-portal-main,html[data-a8ah-template] .a8ah-portal-content{background:var(--a8ah-template-bg)!important;color:var(--a8ah-template-ink)}
html[data-a8ah-template] .a8ah-portal-header,html[data-a8ah-template] .a8ah-portal-section,html[data-a8ah-template] .a8ah-project-card,html[data-a8ah-template] .a8ah-staff-project,html[data-a8ah-template] .a8ah-site-card,html[data-a8ah-template] .a8ah-theme-preference-card{background:var(--a8ah-template-surface)!important;border-color:var(--a8ah-template-border)!important;color:var(--a8ah-template-ink)!important}
html[data-a8ah-template] .a8ah-portal-welcome{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(120deg,var(--a8ah-template-accent-strong),var(--a8ah-template-accent))!important;color:#fff!important;border:1px solid color-mix(in srgb,var(--a8ah-template-accent) 70%,#fff)!important}
html[data-a8ah-template] .a8ah-portal-welcome :is(h2,p,.a8ah-portal-eyebrow){color:#fff!important}
html[data-a8ah-template] .a8ah-portal-welcome .a8ah-welcome-symbol{color:rgba(255,255,255,.24)!important}
html[data-a8ah-template] .a8ah-portal-app :is(h1,h2,h3,h4,h5,strong){color:inherit}
html[data-a8ah-template] .a8ah-portal-app :is(.a8ah-portal-eyebrow,.a8ah-project-code,.a8ah-portal-muted,.a8ah-project-meta){color:var(--a8ah-template-muted)}
html[data-a8ah-template] .a8ah-portal-app :is(a,.a8ah-text-link,.a8ah-project-card a){color:var(--a8ah-template-accent-strong)}
html[data-a8ah-template] .a8ah-portal-nav-link.is-active{background:var(--a8ah-template-soft)!important;color:var(--a8ah-template-accent-strong)!important;box-shadow:inset 3px 0 var(--a8ah-template-accent)!important}
html[data-a8ah-template] .a8ah-portal-nav-link.is-active .a8ah-nav-icon,html[data-a8ah-template] .a8ah-portal-nav-link.is-active svg{color:var(--a8ah-template-accent-strong)!important;stroke:currentColor}
html[data-a8ah-template] .a8ah-portal-app :is(.a8ah-status-dot,.a8ah-notification-count,.a8ah-notification-dot,.a8ah-progress-fill){background:var(--a8ah-template-accent)!important}
html[data-a8ah-template] .a8ah-portal-app :is(.a8ah-button-primary,.a8ah-profile-trigger,.a8ah-portal-header-toggle,.a8ah-portal-collapse):not(:disabled){background:var(--a8ah-template-accent)!important;border-color:var(--a8ah-template-accent)!important;color:#fff!important}
html[data-a8ah-template] .a8ah-portal-app :is(.a8ah-button-secondary,.a8ah-profile-dropdown,.a8ah-notification-popover){border-color:var(--a8ah-template-border)!important}
html[data-a8ah-template] .a8ah-portal-app :is(button,a,input,select,textarea,summary):focus-visible{outline-color:var(--a8ah-template-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--a8ah-template-accent) 18%,transparent)!important}
html[data-a8ah-template] .a8ah-portal-app svg{color:inherit;stroke:currentColor}
html[data-a8ah-template="forest-motion"] .a8ah-portal-welcome:before{content:"";position:absolute;z-index:-1;width:42vw;height:42vw;min-width:260px;min-height:260px;right:-12%;top:-115%;border-radius:50%;background:radial-gradient(circle,rgba(214,255,222,.22),transparent 68%);animation:a8ah-forest-drift 13s ease-in-out infinite alternate}
html[data-a8ah-template="forest-motion"] .a8ah-portal-welcome:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(110deg,transparent 25%,rgba(255,255,255,.13) 48%,transparent 70%);transform:translateX(-100%);animation:a8ah-forest-sheen 9s ease-in-out infinite}
html[data-a8ah-template="forest-motion"] .a8ah-welcome-symbol{animation:a8ah-forest-float 6s ease-in-out infinite}
@keyframes a8ah-forest-drift{from{transform:translate3d(0,0,0) scale(.92)}to{transform:translate3d(-12%,18%,0) scale(1.12)}}
@keyframes a8ah-forest-sheen{0%,35%{transform:translateX(-100%)}75%,100%{transform:translateX(100%)}}
@keyframes a8ah-forest-float{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-9px) rotate(5deg)}}
@media(prefers-reduced-motion:reduce){html[data-a8ah-template="forest-motion"] .a8ah-portal-welcome:before,html[data-a8ah-template="forest-motion"] .a8ah-portal-welcome:after,html[data-a8ah-template="forest-motion"] .a8ah-welcome-symbol{animation:none!important}}

/* Compact service catalogue: two columns even on phones, with a full-size lightbox for media. */
.a8ah-service-featured-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
.a8ah-service-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--a8ah-template-border,#dce7de);border-radius:14px;background:var(--a8ah-template-surface,#fff);box-shadow:0 6px 22px rgba(20,40,28,.045)}
.a8ah-service-card--extra[hidden]{display:none!important}
.a8ah-service-media-trigger{position:relative;display:block;width:100%;padding:0;border:0;background:#e9eee9;overflow:hidden;cursor:zoom-in;aspect-ratio:16/8.5}
.a8ah-service-media-trigger img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.a8ah-service-media-trigger:hover img{transform:scale(1.035)}
.a8ah-service-media-trigger span{position:absolute;right:8px;bottom:8px;padding:5px 8px;border-radius:20px;background:rgba(12,20,15,.75);color:#fff;font-size:9px;font-weight:750}
.a8ah-service-card-body{display:grid;gap:7px;padding:12px;min-width:0;flex:1}
.a8ah-service-card-kicker{color:var(--a8ah-template-accent-strong,#17643a);font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.a8ah-service-card h4{font-size:13px;line-height:1.3;margin:0;color:var(--a8ah-template-ink,#15271c);overflow-wrap:anywhere}
.a8ah-service-card p{font-size:10px;line-height:1.5;margin:0;color:var(--a8ah-template-muted,#687a6d)}
.a8ah-service-card-price{font-size:10px;font-weight:750;color:var(--a8ah-template-ink,#15271c)}
.a8ah-service-card-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto}
.a8ah-service-card-actions :is(button,a){min-width:0;max-width:100%;min-height:32px;padding:7px 10px;border-radius:8px;font-size:10px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
.a8ah-service-request{margin-top:3px;border-top:1px solid var(--a8ah-template-border,#dce7de);padding-top:7px}
.a8ah-service-request>summary{display:inline-flex;align-items:center;justify-content:center;min-height:31px;padding:6px 10px;border:1px solid var(--a8ah-template-accent,#278b53);border-radius:8px;color:var(--a8ah-template-accent-strong,#17643a);font-size:10px;font-weight:750;cursor:pointer;list-style:none}
.a8ah-service-request>summary::-webkit-details-marker{display:none}
.a8ah-service-request[open] form{display:grid;gap:7px;margin-top:8px}
.a8ah-service-request label{display:grid;gap:4px;font-size:10px;font-weight:650}
.a8ah-service-request textarea{width:100%;min-height:68px;box-sizing:border-box;padding:8px;border:1px solid var(--a8ah-template-border,#dce7de);border-radius:8px;font:inherit;font-size:11px}
.a8ah-service-request button{justify-self:start;min-height:32px;padding:7px 12px;border:0;border-radius:8px;background:var(--a8ah-template-accent,#278b53);color:#fff;font-size:10px;font-weight:750;white-space:normal}
.a8ah-service-view-more{display:flex;justify-content:center;margin:16px 0 0}
.a8ah-service-view-more button{min-height:36px;padding:8px 16px;border:1px solid var(--a8ah-template-border,#dce7de);border-radius:99px;background:var(--a8ah-template-surface,#fff);color:var(--a8ah-template-accent-strong,#17643a);font-size:11px;font-weight:750;cursor:pointer}
.a8ah-service-gallery[hidden]{display:none!important}
.a8ah-service-gallery{position:fixed;z-index:100100;inset:0;display:grid;place-items:center;padding:18px;background:rgba(5,10,8,.88);backdrop-filter:blur(9px);box-sizing:border-box}
.a8ah-service-gallery-panel{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;width:min(1120px,100%);height:min(92vh,900px);padding:16px;border:1px solid rgba(255,255,255,.16);border-radius:18px;background:#101612;color:#fff;box-shadow:0 28px 90px rgba(0,0,0,.4)}
.a8ah-service-gallery-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.a8ah-service-gallery-head strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.a8ah-service-gallery-head button,.a8ah-service-gallery-arrow{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border:1px solid rgba(255,255,255,.24);border-radius:50%;background:rgba(255,255,255,.08);color:#fff;font-size:22px;cursor:pointer}
.a8ah-service-gallery-stage{position:relative;display:grid;place-items:center;min-height:0;overflow:hidden;border-radius:12px;background:#070a08}
.a8ah-service-gallery-stage img,.a8ah-service-gallery-stage video{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.a8ah-service-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2}
.a8ah-service-gallery-arrow.is-prev{left:10px}.a8ah-service-gallery-arrow.is-next{right:10px}
.a8ah-service-gallery-thumbs{display:flex;gap:8px;overflow:auto;padding:2px 0 3px}
.a8ah-service-gallery-thumb{width:68px;height:48px;flex:0 0 68px;padding:0;overflow:hidden;border:2px solid transparent;border-radius:7px;background:#252d28;cursor:pointer}
.a8ah-service-gallery-thumb[aria-current=true]{border-color:#fff}
.a8ah-service-gallery-thumb img{width:100%;height:100%;object-fit:cover}
.a8ah-service-gallery-empty{color:#fff;font-size:12px}
@media(max-width:640px){.a8ah-service-featured-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.a8ah-service-card{border-radius:11px}.a8ah-service-card-body{padding:9px;gap:6px}.a8ah-service-card h4{font-size:11px}.a8ah-service-card p{font-size:9px;line-height:1.4}.a8ah-service-card-price{font-size:9px}.a8ah-service-card-actions{display:grid;grid-template-columns:1fr}.a8ah-service-card-actions :is(button,a){width:100%;min-height:30px;padding:6px 8px;font-size:9px}.a8ah-service-gallery{padding:8px}.a8ah-service-gallery-panel{height:min(94dvh,900px);padding:10px;border-radius:13px;gap:8px}.a8ah-service-gallery-thumb{width:56px;height:42px;flex-basis:56px}}
/* Mobile type and buttons remain compact without truncating words. */
@media(max-width:650px){.a8ah-portal-app .a8ah-portal-content{font-size:12px}.a8ah-portal-app :is(.a8ah-button,.a8ah-profile-dropdown a,.a8ah-portal-nav-link){overflow-wrap:break-word;word-break:normal}.a8ah-portal-app .a8ah-button{min-height:34px;padding:8px 11px;font-size:10px;line-height:1.3;white-space:normal}.a8ah-portal-app :is(.a8ah-portal-section h3,.a8ah-project-card h4){font-size:13px}.a8ah-portal-app :is(.a8ah-portal-section p,.a8ah-project-card>p){font-size:10px;line-height:1.5}}

/* Template colour previews and shared semantic icon styling. */
.a8ah-workspace-template-swatches{display:flex;gap:5px;margin:8px 0 12px}
.a8ah-workspace-template-swatches i{display:block;width:20px;height:7px;border-radius:10px;background:#278b53}
.a8ah-workspace-template-swatches i:nth-child(2){background:#5569c8}.a8ah-workspace-template-swatches i:nth-child(3){background:#c45d83}.a8ah-workspace-template-swatches i:nth-child(4){background:#138c9a}.a8ah-workspace-template-swatches i:nth-child(5){background:#8057be}.a8ah-workspace-template-swatches i:nth-child(6){background:#bd694c}
.a8ah-workspace-template-controls{min-width:min(100%,280px)}.a8ah-workspace-template-controls>label:first-child{display:block;margin:0 0 6px;font-size:10px;font-weight:750}.a8ah-workspace-template-controls select{width:100%;min-height:38px;border:1px solid var(--a8ah-template-border);border-radius:9px;padding:8px 10px;background:var(--a8ah-template-surface);color:var(--a8ah-template-ink);font-size:11px}
.a8ah-service-card-heading{display:flex;align-items:flex-start;gap:8px;min-width:0}.a8ah-service-card-heading>div{min-width:0}.a8ah-service-card-icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:9px;background:var(--a8ah-template-soft);color:var(--a8ah-template-accent-strong)}.a8ah-service-card-icon svg{width:16px;height:16px;stroke:currentColor;color:inherit}
.a8ah-service-icon-field{display:grid;gap:6px;margin:0 0 14px;font-size:11px;font-weight:700}.a8ah-service-icon-field input{width:100%;max-width:420px;min-height:38px;padding:8px 10px;border:1px solid var(--a8ah-template-border,#dce7de);border-radius:9px}.a8ah-service-icon-field small{font-size:10px;font-weight:500;color:var(--a8ah-template-muted,#69796e)}
.a8ah-service-media-picker{display:grid;gap:10px;margin:14px 0;padding:14px;border:1px solid var(--a8ah-template-border,#dce7de);border-radius:13px;background:var(--a8ah-template-surface,#fff)}.a8ah-service-media-picker>div:first-child{display:grid;gap:3px}.a8ah-service-media-picker>div:first-child strong{font-size:12px}.a8ah-service-media-picker>div:first-child small{font-size:10px;color:var(--a8ah-template-muted,#69796e)}.a8ah-service-media-preview{display:flex;flex-wrap:wrap;gap:7px}.a8ah-service-media-preview>span{display:grid;gap:3px;width:74px;font-size:9px;color:var(--a8ah-template-muted,#69796e)}.a8ah-service-media-preview img{width:74px;height:54px;object-fit:cover;border-radius:7px;background:var(--a8ah-template-soft,#eaf4ec)}.a8ah-service-media-actions{display:flex;flex-wrap:wrap;gap:8px}
.a8ah-admin-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.a8ah-admin-service-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;min-width:0;padding:12px;border:1px solid var(--a8ah-template-border,#dce7de);border-radius:13px;background:var(--a8ah-template-surface,#fff)}.a8ah-admin-service-card>img{width:112px;height:100%;min-height:124px;max-height:150px;object-fit:cover;border-radius:9px}.a8ah-admin-service-card>div{min-width:0}.a8ah-admin-service-card small{font-size:9px;color:var(--a8ah-template-muted,#69796e)}.a8ah-admin-service-card h4{margin:3px 0 5px;font-size:12px;overflow-wrap:anywhere}.a8ah-admin-service-card p{margin:0 0 6px;font-size:10px;line-height:1.45;color:var(--a8ah-template-muted,#69796e)}.a8ah-admin-service-card span{font-size:9px}.a8ah-admin-service-card footer{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:9px}.a8ah-admin-service-card footer .a8ah-button{min-height:30px;padding:6px 9px;font-size:9px}.a8ah-admin-service-card footer b{font-size:9px}.a8ah-admin-service-card .is-published{color:#23814c}.a8ah-admin-service-card .is-draft{color:#8a6871}
@media(max-width:760px){.a8ah-admin-service-grid{grid-template-columns:1fr}.a8ah-admin-service-card{grid-template-columns:90px minmax(0,1fr);gap:9px;padding:9px}.a8ah-admin-service-card>img{width:90px;min-height:110px}}

/* Keep legacy status, avatar, notification and profile accents inside the selected template. */
html[data-a8ah-template] .a8ah-portal-app :is(.a8ah-service-card-icon,.a8ah-site-icon,.a8ah-status-badge,.a8ah-notification-status,.a8ah-notification-empty>span,.a8ah-notification-mark-read,.a8ah-notification-open,.a8ah-profile-dropdown>a .a8ah-portal-nav-icon,.a8ah-avatar-library-heading>span,.a8ah-credential-type,.a8ah-ticket-message>strong,.a8ah-portal-admin-notice a,.a8ah-portal-section-head a,.a8ah-staff-project-update summary,.a8ah-client-live-preview-head a,.a8ah-hosting-sync-state,.a8ah-hosting-sync-pending){color:var(--a8ah-template-accent-strong)!important}
html[data-a8ah-template] .a8ah-portal-app :is(.a8ah-notification-dot,.a8ah-notification-count,.a8ah-notification-card.is-unread .a8ah-notification-status,.a8ah-registration-progress>span.is-active b,.a8ah-registration-progress>span.is-done b,.a8ah-avatar-preset-option.is-selected){background:var(--a8ah-template-accent)!important;border-color:var(--a8ah-template-accent)!important}
html[data-a8ah-template] .a8ah-portal-app .a8p-icon--brand{--a8p-icon-accent:var(--a8ah-template-accent)!important}
html[data-a8ah-template] .a8ah-portal-app .a8p-icon-signature{stroke:var(--a8ah-template-accent)!important}
html[data-a8ah-template] .a8ah-portal-app :is(.a8ah-avatar-choice:hover,.a8ah-avatar-choice.is-selected,.a8ah-avatar-change-button,.a8ah-profile-notice.is-success,.a8ah-notification-card.is-unread,.a8ah-client-site-card .a8ah-status-badge.is-online){border-color:var(--a8ah-template-accent)!important}
html[data-a8ah-template] .a8ah-portal-app :is(.a8ah-checklist-item>span,.a8ah-registration-step-heading>span,.a8ah-checklist-item svg){color:var(--a8ah-template-accent-strong)!important}
html[data-a8ah-template] .a8ah-portal-app :is(input[type=checkbox],input[type=radio]){accent-color:var(--a8ah-template-accent)!important}
html[data-a8ah-template] .a8ah-portal-app .a8ah-ticket-message.is-own{background:var(--a8ah-template-accent)!important}
/* Never squeeze longer labels into narrow mobile buttons. */
.a8ah-portal-app .a8ah-button,.a8ah-portal-app .a8ah-portal-header-actions :is(a,button){box-sizing:border-box;max-width:100%;min-width:0;height:auto;min-height:32px;white-space:normal;overflow-wrap:break-word;word-break:normal;line-height:1.3}
.a8ah-portal-app .a8ah-portal-header-actions{flex-wrap:wrap}
.a8ah-portal-app .a8ah-service-card-icon .a8p-icon{width:16px;height:16px}
@media(max-width:650px){.a8ah-portal-app .a8ah-service-card p{font-size:10px;line-height:1.45}.a8ah-portal-app .a8ah-service-card-actions :is(button,a){font-size:9.5px;min-height:32px;padding:7px 8px}.a8ah-portal-app .a8ah-portal-header-actions{gap:7px}}

/* Non-green template sidebars use their own neutral colour family, never the legacy olive shell. */
html[data-a8ah-template="midnight-studio"] .a8ah-portal-sidebar{background:#1b2035!important;color:#eef0ff}
html[data-a8ah-template="milk-rose"] .a8ah-portal-sidebar{background:#33232d!important;color:#fff0f5}
html[data-a8ah-template="ocean-glass"] .a8ah-portal-sidebar{background:#173139!important;color:#e8fbfd}
html[data-a8ah-template="violet-aura"] .a8ah-portal-sidebar{background:#292039!important;color:#f4edff}
html[data-a8ah-template="sunset-clay"] .a8ah-portal-sidebar{background:#382820!important;color:#fff1e9}
html[data-a8ah-theme="dark"][data-a8ah-template="midnight-studio"] .a8ah-portal-sidebar{background:#111626!important}
html[data-a8ah-theme="dark"][data-a8ah-template="milk-rose"] .a8ah-portal-sidebar{background:#21161d!important}
html[data-a8ah-theme="dark"][data-a8ah-template="ocean-glass"] .a8ah-portal-sidebar{background:#101f25!important}
html[data-a8ah-theme="dark"][data-a8ah-template="violet-aura"] .a8ah-portal-sidebar{background:#1a1424!important}
html[data-a8ah-theme="dark"][data-a8ah-template="sunset-clay"] .a8ah-portal-sidebar{background:#211814!important}
.a8ah-service-media-trigger :is(img,video){display:block;width:100%;height:100%;object-fit:cover}
.a8ah-service-media-trigger video{background:#101612}
.a8ah-service-media-trigger.is-playing .a8ah-service-media-play{opacity:0;transform:translate(-50%,-50%) scale(.88)}
.a8ah-service-media-play{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:34px;height:34px;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.72);border-radius:50%;background:rgba(10,16,12,.68);color:#fff;font-size:13px;pointer-events:none}

/* Compact styling for the live 0.28.40 client-service card markup. */
html[data-a8ah-template] .a8ah-client-workspace-app .a8ah-client-service-card{background:var(--a8ah-template-surface)!important;border-color:var(--a8ah-template-border)!important;color:var(--a8ah-template-ink)!important;box-shadow:0 7px 22px rgba(12,32,20,.07)!important}
html[data-a8ah-template] .a8ah-client-workspace-app .a8ah-client-service-card-body{background:var(--a8ah-template-surface)!important;color:var(--a8ah-template-ink)!important;gap:8px!important;padding:12px!important}
html[data-a8ah-template] .a8ah-client-workspace-app .a8ah-client-service-card-body h4{color:var(--a8ah-template-ink)!important;font-size:13px!important;line-height:1.3!important}
html[data-a8ah-template] .a8ah-client-workspace-app .a8ah-client-service-card-body>p{color:var(--a8ah-template-muted)!important;font-size:10px!important;line-height:1.45!important}
html[data-a8ah-template] .a8ah-client-workspace-app .a8ah-client-service-price{background:var(--a8ah-template-soft)!important;border-color:var(--a8ah-template-border)!important;padding:8px 10px!important;gap:5px!important}
html[data-a8ah-template] .a8ah-client-workspace-app .a8ah-client-service-price :is(span,small){color:var(--a8ah-template-muted)!important;font-size:9px!important}
html[data-a8ah-template] .a8ah-client-workspace-app .a8ah-client-service-price strong{color:var(--a8ah-template-accent-strong)!important;font-size:13px!important}
.a8ah-client-workspace-app .a8ah-client-service-carousel{display:flex!important;align-items:stretch;gap:10px!important;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding:3px 2px 12px;scrollbar-width:thin}
.a8ah-client-workspace-app .a8ah-client-service-carousel>.a8ah-client-service-card{flex:0 0 min(235px,calc((100% - 10px)/2))!important;width:auto!important;max-width:235px!important;scroll-snap-align:start}
.a8ah-client-workspace-app .a8ah-client-service-media{display:block!important;overflow:hidden!important;background:var(--a8ah-template-soft)!important}
.a8ah-client-workspace-app .a8ah-service-media-trigger{position:relative;display:block;width:100%;height:132px;max-height:132px;overflow:hidden;padding:0;border:0;border-radius:0;background:var(--a8ah-template-soft);cursor:zoom-in}
.a8ah-client-workspace-app .a8ah-service-media-trigger :is(img,video){display:block;width:100%;height:100%!important;object-fit:cover;background:var(--a8ah-template-soft)}
.a8ah-client-workspace-app .a8ah-service-media-count{position:absolute;right:7px;bottom:7px;padding:4px 7px;border-radius:20px;background:rgba(10,20,14,.76);color:#fff;font-size:9px;line-height:1.2}
.a8ah-client-workspace-app .a8ah-service-media-play{z-index:1}
.a8ah-client-workspace-app .a8ah-client-service-media-empty{display:grid;place-items:center;min-height:90px;color:var(--a8ah-template-accent-strong)}
.a8ah-client-workspace-app .a8ah-client-service-media-empty .a8p-icon{width:30px;height:30px;color:inherit;stroke:currentColor}
.a8ah-client-workspace-app .a8ah-service-request-details{margin-top:2px;border-top:1px solid var(--a8ah-template-border);padding-top:7px}
.a8ah-client-workspace-app .a8ah-service-request-details>summary{display:inline-flex;align-items:center;justify-content:center;min-height:30px;max-width:100%;padding:6px 9px;border:1px solid var(--a8ah-template-accent);border-radius:8px;background:var(--a8ah-template-soft);color:var(--a8ah-template-accent-strong);font-size:9px;font-weight:750;line-height:1.25;list-style:none;cursor:pointer;white-space:normal;overflow-wrap:break-word}
.a8ah-client-workspace-app .a8ah-service-request-details>summary::-webkit-details-marker{display:none}
.a8ah-client-workspace-app .a8ah-service-request-details[open]>summary{margin-bottom:8px}
.a8ah-client-workspace-app .a8ah-service-request-details .a8ah-client-service-request-form{display:grid;gap:9px;padding-top:0}
.a8ah-client-workspace-app .a8ah-service-request-details .a8ah-client-service-options{gap:7px;padding:9px;border-color:var(--a8ah-template-border);background:var(--a8ah-template-bg)}
.a8ah-client-workspace-app .a8ah-service-request-details .a8ah-client-service-total{padding:9px 10px;border-color:var(--a8ah-template-border);background:var(--a8ah-template-soft)}
.a8ah-client-workspace-app .a8ah-service-request-details .a8ah-client-service-total>span,.a8ah-client-workspace-app .a8ah-service-request-details .a8ah-client-service-total>small{color:var(--a8ah-template-muted)}
.a8ah-client-workspace-app .a8ah-service-request-details .a8ah-client-service-total>strong{color:var(--a8ah-template-accent-strong);font-size:15px}
.a8ah-client-workspace-app .a8ah-service-request-details .a8ah-client-service-request-form>.a8ah-button{min-height:34px;width:100%;padding:8px 10px;font-size:10px}
.a8ah-client-workspace-app .a8ah-service-directory-actions .a8ah-button{min-height:34px;padding:7px 10px;font-size:10px}
@media(max-width:782px){
 .a8ah-client-workspace-app .a8ah-client-service-carousel{gap:8px!important;padding-bottom:9px}
 .a8ah-client-workspace-app .a8ah-client-service-carousel>.a8ah-client-service-card{flex-basis:calc((100% - 8px)/2)!important;max-width:none!important}
 .a8ah-client-workspace-app .a8ah-client-service-card-body{gap:6px!important;padding:9px!important}
 .a8ah-client-workspace-app .a8ah-client-service-card-body h4{font-size:11px!important;line-height:1.3!important}
 .a8ah-client-workspace-app .a8ah-client-service-card-body>p{font-size:9px!important;line-height:1.4!important}
 .a8ah-client-workspace-app .a8ah-client-service-price{padding:6px 7px!important;gap:3px!important}
 .a8ah-client-workspace-app .a8ah-client-service-price strong{font-size:10px!important}
 .a8ah-client-workspace-app .a8ah-service-media-trigger{height:90px;max-height:90px}
 .a8ah-client-workspace-app .a8ah-service-media-count{right:4px;bottom:4px;padding:3px 5px;font-size:8px}
 .a8ah-client-workspace-app .a8ah-service-request-details>summary{width:100%;min-height:28px;padding:5px 6px;font-size:8.5px}
 .a8ah-client-workspace-app .a8ah-service-directory-actions{align-items:center;gap:7px;font-size:9px}
 .a8ah-client-workspace-app .a8ah-service-directory-actions .a8ah-button{width:auto;flex:0 0 auto;min-height:30px;padding:6px 8px;font-size:9px}
}
@media(prefers-reduced-motion:reduce){.a8ah-client-workspace-app .a8ah-client-service-card{transition:none!important}}



/* Button fills use darker, accessible action colours even when the dark-mode accent is intentionally bright for icons. */
html[data-a8ah-template="forest-motion"]{--a8ah-template-action:#17643a}
html[data-a8ah-template="midnight-studio"]{--a8ah-template-action:#36499e}
html[data-a8ah-template="milk-rose"]{--a8ah-template-action:#963d62}
html[data-a8ah-template="ocean-glass"]{--a8ah-template-action:#08636e}
html[data-a8ah-template="violet-aura"]{--a8ah-template-action:#5b398f}
html[data-a8ah-template="sunset-clay"]{--a8ah-template-action:#8e4934}
html[data-a8ah-theme="dark"][data-a8ah-template="forest-motion"]{--a8ah-template-action:#226b43}
html[data-a8ah-theme="dark"][data-a8ah-template="midnight-studio"]{--a8ah-template-action:#43539f}
html[data-a8ah-theme="dark"][data-a8ah-template="milk-rose"]{--a8ah-template-action:#8c3d60}
html[data-a8ah-theme="dark"][data-a8ah-template="ocean-glass"]{--a8ah-template-action:#155f68}
html[data-a8ah-theme="dark"][data-a8ah-template="violet-aura"]{--a8ah-template-action:#65428f}
html[data-a8ah-theme="dark"][data-a8ah-template="sunset-clay"]{--a8ah-template-action:#8a4936}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-brand .a8ah-brand-mark{background:var(--a8ah-template-action)!important;color:#fff!important}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content .a8ah-portal-welcome{background:linear-gradient(115deg,var(--a8ah-template-action),var(--a8ah-template-accent-strong))!important}
html[data-a8ah-theme="dark"][data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content .a8ah-portal-welcome{background:linear-gradient(115deg,var(--a8ah-template-action),color-mix(in srgb,var(--a8ah-template-action) 78%,#000))!important}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(button,a.a8ah-button,input[type=submit],input[type=button]).a8ah-button-primary,
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(.a8ah-profile-form-actions,.a8ah-settings-card-actions) :is(button,input[type=submit]),
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content .a8ah-workspace-settings :is(.a8ah-provider-link-grid,.a8ah-totp-settings,.a8ah-passkey-settings,.a8ah-face-user-settings) button[type=submit]{
 background:var(--a8ah-template-action)!important;border-color:var(--a8ah-template-action)!important;
 box-shadow:0 5px 14px color-mix(in srgb,var(--a8ah-template-action) 18%,transparent)!important;
}

/* 0.28.42 shared client-workspace design system: align the client shell with the Agency Hub admin green reference. */
html[data-a8ah-template="forest-motion"]{
  --a8ah-template-sidebar:#171d18;--a8ah-template-sidebar-card:#202920;--a8ah-template-sidebar-border:#354435;
  --a8ah-template-sidebar-text:#c5cec4;--a8ah-template-sidebar-hover:#252f25;--a8ah-template-sidebar-active:#2b3d25;
  --a8ah-template-sidebar-active-text:#e3f4ce;--a8ah-template-sidebar-active-mark:#a9d86a;
}
html[data-a8ah-template="midnight-studio"]{
  --a8ah-template-sidebar:#181b2d;--a8ah-template-sidebar-card:#222741;--a8ah-template-sidebar-border:#3b4262;
  --a8ah-template-sidebar-text:#c8cce0;--a8ah-template-sidebar-hover:#272d48;--a8ah-template-sidebar-active:#343f68;
  --a8ah-template-sidebar-active-text:#eef0ff;--a8ah-template-sidebar-active-mark:#aab7ff;
}
html[data-a8ah-template="milk-rose"]{
  --a8ah-template-sidebar:#2e2028;--a8ah-template-sidebar-card:#3a2933;--a8ah-template-sidebar-border:#59404e;
  --a8ah-template-sidebar-text:#eadbe2;--a8ah-template-sidebar-hover:#49323f;--a8ah-template-sidebar-active:#59394a;
  --a8ah-template-sidebar-active-text:#fff0f5;--a8ah-template-sidebar-active-mark:#f0a7c1;
}
html[data-a8ah-template="ocean-glass"]{
  --a8ah-template-sidebar:#14282d;--a8ah-template-sidebar-card:#1d363d;--a8ah-template-sidebar-border:#36545b;
  --a8ah-template-sidebar-text:#c8dfe2;--a8ah-template-sidebar-hover:#234149;--a8ah-template-sidebar-active:#27515a;
  --a8ah-template-sidebar-active-text:#e7fbfd;--a8ah-template-sidebar-active-mark:#7bd8e1;
}
html[data-a8ah-template="violet-aura"]{
  --a8ah-template-sidebar:#241d30;--a8ah-template-sidebar-card:#30263f;--a8ah-template-sidebar-border:#4a3c5c;
  --a8ah-template-sidebar-text:#ded3ec;--a8ah-template-sidebar-hover:#3a2d4b;--a8ah-template-sidebar-active:#49345e;
  --a8ah-template-sidebar-active-text:#f5edff;--a8ah-template-sidebar-active-mark:#c4a0f2;
}
html[data-a8ah-template="sunset-clay"]{
  --a8ah-template-sidebar:#30231d;--a8ah-template-sidebar-card:#3d2d25;--a8ah-template-sidebar-border:#594337;
  --a8ah-template-sidebar-text:#ead9ce;--a8ah-template-sidebar-hover:#49352b;--a8ah-template-sidebar-active:#5a3d2f;
  --a8ah-template-sidebar-active-text:#fff1e8;--a8ah-template-sidebar-active-mark:#efa98e;
}
html[data-a8ah-theme="dark"][data-a8ah-template]{
  --a8ah-template-bg:#101712;--a8ah-template-surface:#19221b;--a8ah-template-ink:#edf4ed;--a8ah-template-muted:#a9b6aa;--a8ah-template-border:#334337;
  --a8ah-template-sidebar:#090f0b;--a8ah-template-sidebar-card:#151e17;--a8ah-template-sidebar-border:#2b3a2e;
  --a8ah-template-sidebar-text:#c4d0c5;--a8ah-template-sidebar-hover:#1b2920;--a8ah-template-sidebar-active:#263b2b;
  --a8ah-template-sidebar-active-text:#e6f7d8;--a8ah-template-sidebar-active-mark:#a8df72;
}
html[data-a8ah-theme="dark"][data-a8ah-template="midnight-studio"]{
  --a8ah-template-bg:#141827;--a8ah-template-surface:#1e2437;--a8ah-template-ink:#edf0ff;--a8ah-template-muted:#aab3d0;--a8ah-template-border:#39415f;
  --a8ah-template-sidebar:#0d1020;--a8ah-template-sidebar-card:#1a2036;--a8ah-template-sidebar-border:#303956;--a8ah-template-sidebar-active:#303b64;--a8ah-template-sidebar-active-text:#f0f2ff;--a8ah-template-sidebar-active-mark:#acb9ff;
}
html[data-a8ah-theme="dark"][data-a8ah-template="milk-rose"]{
  --a8ah-template-bg:#1e171d;--a8ah-template-surface:#2b2029;--a8ah-template-ink:#fff0f5;--a8ah-template-muted:#d1b2c0;--a8ah-template-border:#523c49;
  --a8ah-template-sidebar:#160f14;--a8ah-template-sidebar-card:#291c25;--a8ah-template-sidebar-border:#493241;--a8ah-template-sidebar-active:#4b2f40;--a8ah-template-sidebar-active-text:#fff2f7;--a8ah-template-sidebar-active-mark:#f2a8c4;
}
html[data-a8ah-theme="dark"][data-a8ah-template="ocean-glass"]{
  --a8ah-template-bg:#101a1e;--a8ah-template-surface:#19282d;--a8ah-template-ink:#eaf8fa;--a8ah-template-muted:#a8c3c8;--a8ah-template-border:#35525a;
  --a8ah-template-sidebar:#0a1317;--a8ah-template-sidebar-card:#17272d;--a8ah-template-sidebar-border:#2e4850;--a8ah-template-sidebar-active:#224650;--a8ah-template-sidebar-active-text:#e8fbfd;--a8ah-template-sidebar-active-mark:#79d9e2;
}
html[data-a8ah-theme="dark"][data-a8ah-template="violet-aura"]{
  --a8ah-template-bg:#191520;--a8ah-template-surface:#272132;--a8ah-template-ink:#f5efff;--a8ah-template-muted:#c2b4d5;--a8ah-template-border:#4a3c5c;
  --a8ah-template-sidebar:#100d18;--a8ah-template-sidebar-card:#241b31;--a8ah-template-sidebar-border:#3e3150;--a8ah-template-sidebar-active:#443257;--a8ah-template-sidebar-active-text:#f6efff;--a8ah-template-sidebar-active-mark:#c5a1f3;
}
html[data-a8ah-theme="dark"][data-a8ah-template="sunset-clay"]{
  --a8ah-template-bg:#1e1713;--a8ah-template-surface:#2a201b;--a8ah-template-ink:#fff1e9;--a8ah-template-muted:#d0b3a3;--a8ah-template-border:#574237;
  --a8ah-template-sidebar:#150f0c;--a8ah-template-sidebar-card:#2b1f19;--a8ah-template-sidebar-border:#4a372e;--a8ah-template-sidebar-active:#4c3327;--a8ah-template-sidebar-active-text:#fff0e7;--a8ah-template-sidebar-active-mark:#efaa8e;
}
html[data-a8ah-template] body .a8ah-client-workspace-app{
  --a8ah-accent:var(--a8ah-template-accent)!important;
  --a8ah-portal-accent:var(--a8ah-template-accent)!important;
  --a8ah-text:var(--a8ah-template-ink)!important;
  --a8ah-surface:var(--a8ah-template-surface)!important;
  --a8ah-subtle:var(--a8ah-template-soft)!important;
  --a8ah-line:var(--a8ah-template-border)!important;
  --a8ah-portal-border:var(--a8ah-template-border)!important;
  background:var(--a8ah-template-bg)!important;color:var(--a8ah-template-ink)!important;
}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-main,
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content{background:var(--a8ah-template-bg)!important;color:var(--a8ah-template-ink)!important}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-sidebar{
  background:var(--a8ah-template-sidebar)!important;color:#f5f7f3!important;border-color:var(--a8ah-template-sidebar-border)!important;
  box-shadow:10px 0 32px rgba(0,0,0,.08)!important;
}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-brand .a8ah-brand-mark{
  background:var(--a8ah-template-accent)!important;color:#fff!important;border-color:transparent!important;
}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-brand-text :is(strong,small){color:#f2f5ef!important}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-account{
  background:var(--a8ah-template-sidebar-card)!important;border-color:var(--a8ah-template-sidebar-border)!important;color:#f3f6f1!important;
}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-account :is(strong,small){color:inherit!important}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-account small{opacity:.68}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-nav-link{
  background:transparent!important;border-color:transparent!important;color:var(--a8ah-template-sidebar-text)!important;
  box-shadow:none!important;transform:none!important;
}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-nav-link:hover,
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-nav-link:focus-visible{
  background:var(--a8ah-template-sidebar-hover)!important;border-color:var(--a8ah-template-sidebar-border)!important;color:#fff!important;
}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-nav-link.is-active{
  background:var(--a8ah-template-sidebar-active)!important;border-color:var(--a8ah-template-sidebar-border)!important;
  color:var(--a8ah-template-sidebar-active-text)!important;
  box-shadow:inset 3px 0 var(--a8ah-template-sidebar-active-mark)!important;
}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-nav-icon{
  display:grid!important;place-items:center!important;width:30px!important;height:30px!important;flex:0 0 30px!important;
  border-radius:9px!important;background:transparent!important;color:inherit!important;box-shadow:none!important;
}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-nav-link.is-active .a8ah-portal-nav-icon{
  background:color-mix(in srgb,var(--a8ah-template-sidebar-active-mark) 17%,transparent)!important;color:var(--a8ah-template-sidebar-active-text)!important;
}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-nav-icon svg{width:18px!important;height:18px!important;color:currentColor!important;stroke:currentColor!important}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-sidebar-foot{color:var(--a8ah-template-sidebar-text)!important;opacity:.78}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-header{
  background:var(--a8ah-template-surface)!important;border-color:var(--a8ah-template-border)!important;color:var(--a8ah-template-ink)!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-header :is(h1,.a8ah-portal-eyebrow){color:var(--a8ah-template-ink)!important}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-header .a8ah-portal-eyebrow{opacity:.64}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-header-actions :is(.a8ah-profile-trigger,.a8ah-portal-header-toggle,.a8ah-notification-bell>summary){
  background:var(--a8ah-template-surface)!important;border:1px solid var(--a8ah-template-border)!important;color:var(--a8ah-template-ink)!important;
}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(.a8ah-portal-section,.a8ah-portal-stat-grid article,.a8ah-site-card,.a8ah-project-card,.a8ah-staff-project,.a8ah-account-details>div,.a8ah-form-panel,.a8ah-settings-card,.a8ah-theme-preference-card,.a8ah-client-service-card,.a8ah-client-site-preview,.a8ah-website-offer-card){
  background:var(--a8ah-template-surface)!important;border-color:var(--a8ah-template-border)!important;color:var(--a8ah-template-ink)!important;
  box-shadow:0 8px 24px color-mix(in srgb,var(--a8ah-template-ink) 5%,transparent)!important;
}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(h1,h2,h3,h4,h5,strong,.a8ah-portal-section-head h3,.a8ah-portal-stat-grid strong,.a8ah-account-details strong){color:var(--a8ah-template-ink)!important}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(p,small,.a8ah-muted,.a8ah-project-meta,.a8ah-account-details small){color:var(--a8ah-template-muted)!important}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(a:not(.a8ah-button),.a8ah-text-link){color:var(--a8ah-template-accent-strong)!important}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(button,a.a8ah-button,input[type=submit],input[type=button]){
  box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  min-height:40px!important;max-width:100%!important;padding:9px 14px!important;border:1px solid var(--a8ah-template-border)!important;
  border-radius:10px!important;background:var(--a8ah-template-surface)!important;color:var(--a8ah-template-ink)!important;
  -webkit-text-fill-color:var(--a8ah-template-ink)!important;font-family:inherit!important;font-size:12px!important;font-weight:750!important;
  line-height:1.25!important;text-decoration:none!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;
  box-shadow:none!important;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease!important;
}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(button,a.a8ah-button,input[type=submit],input[type=button]).a8ah-button-primary,
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(.a8ah-profile-form-actions,.a8ah-settings-card-actions) :is(button,input[type=submit]),
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content .a8ah-workspace-settings :is(.a8ah-provider-link-grid,.a8ah-totp-settings,.a8ah-passkey-settings,.a8ah-face-user-settings) button[type=submit]{
  background:var(--a8ah-template-accent-strong)!important;border-color:var(--a8ah-template-accent-strong)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  box-shadow:0 5px 14px color-mix(in srgb,var(--a8ah-template-accent-strong) 18%,transparent)!important;
}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(button,a.a8ah-button,input[type=submit],input[type=button]).a8ah-button-secondary,
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(button,a.a8ah-button).a8ah-button-quiet{
  background:var(--a8ah-template-soft)!important;border-color:var(--a8ah-template-border)!important;color:var(--a8ah-template-accent-strong)!important;-webkit-text-fill-color:var(--a8ah-template-accent-strong)!important;
}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(button,a.a8ah-button,input[type=submit],input[type=button]):not(:disabled):hover{
  border-color:var(--a8ah-template-accent)!important;transform:translateY(-1px)!important;
}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(button,a.a8ah-button,input[type=submit],input[type=button]):focus-visible{
  outline:3px solid color-mix(in srgb,var(--a8ah-template-accent) 28%,transparent)!important;outline-offset:2px!important;
}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(button,a.a8ah-button,input[type=submit],input[type=button]):disabled{opacity:.55!important;cursor:not-allowed!important;transform:none!important}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(.a8ah-button-danger,.a8ah-button-delete,[class*="danger"] button,[class*="danger"].a8ah-button){background:#a4313b!important;border-color:#a4313b!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea){
  max-width:100%;background:var(--a8ah-template-surface)!important;color:var(--a8ah-template-ink)!important;border-color:var(--a8ah-template-border)!important;
}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(input,select,textarea)::placeholder{color:var(--a8ah-template-muted)!important;opacity:.78}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content input[type=checkbox],
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content input[type=radio]{accent-color:var(--a8ah-template-accent)!important}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content svg{color:currentColor;stroke:currentColor}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(.a8ah-status-badge,.a8ah-pill){border-color:var(--a8ah-template-border)!important;background:var(--a8ah-template-soft)!important;color:var(--a8ah-template-accent-strong)!important}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content .a8ah-portal-welcome{background:linear-gradient(115deg,var(--a8ah-template-accent-strong),var(--a8ah-template-accent))!important;color:#fff!important;border-color:var(--a8ah-template-accent)!important}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content .a8ah-portal-welcome :is(h2,p,.a8ah-portal-eyebrow){color:#fff!important}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content .a8ah-portal-welcome .a8ah-welcome-symbol{color:rgba(255,255,255,.23)!important}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-profile-dropdown,
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-notification-popover{
  background:var(--a8ah-template-surface)!important;border:1px solid var(--a8ah-template-border)!important;color:var(--a8ah-template-ink)!important;
  box-shadow:0 18px 45px rgba(0,0,0,.18)!important;
}
html[data-a8ah-theme="dark"][data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(.a8ah-portal-section,.a8ah-portal-stat-grid article,.a8ah-site-card,.a8ah-project-card,.a8ah-staff-project,.a8ah-account-details>div,.a8ah-form-panel,.a8ah-settings-card,.a8ah-theme-preference-card,.a8ah-client-service-card,.a8ah-client-site-preview,.a8ah-website-offer-card){
  background:var(--a8ah-template-surface)!important;border-color:var(--a8ah-template-border)!important;color:var(--a8ah-template-ink)!important;box-shadow:none!important;
}
html[data-a8ah-theme="dark"][data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(h1,h2,h3,h4,h5,strong){color:var(--a8ah-template-ink)!important}
html[data-a8ah-theme="dark"][data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(p,small,.a8ah-muted,.a8ah-project-meta,.a8ah-account-details small){color:var(--a8ah-template-muted)!important}
html[data-a8ah-theme="dark"][data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea){background:var(--a8ah-template-surface)!important;color:var(--a8ah-template-ink)!important;border-color:var(--a8ah-template-border)!important;color-scheme:dark}
html[data-a8ah-theme="dark"][data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(button,a.a8ah-button,input[type=submit],input[type=button]).a8ah-button-secondary,
html[data-a8ah-theme="dark"][data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(button,a.a8ah-button).a8ah-button-quiet{background:var(--a8ah-template-soft)!important;color:var(--a8ah-template-ink)!important;-webkit-text-fill-color:var(--a8ah-template-ink)!important;border-color:var(--a8ah-template-border)!important}
html[data-a8ah-theme="dark"] .a8ah-template-forced-choice{background:#202a22!important;border-color:#3a4d3e!important;color:#edf6eb!important}
.a8ah-template-forced-choice{display:grid;gap:4px;padding:12px;border:1px solid var(--a8ah-template-border,#dce7de);border-radius:10px;background:var(--a8ah-template-soft,#eaf4ec);color:var(--a8ah-template-ink,#15271c)}
.a8ah-template-forced-choice>span{font-size:10px;font-weight:750;color:var(--a8ah-template-muted,#69796e)}
.a8ah-template-forced-choice>strong{font-size:13px}
.a8ah-template-forced-choice>small{font-size:10px;line-height:1.45;color:var(--a8ah-template-muted,#69796e)}
@media(max-width:782px){
 html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content :is(button,a.a8ah-button,input[type=submit],input[type=button]){min-height:40px!important;padding:9px 11px!important;font-size:11px!important}
 html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content .a8ah-profile-form-actions{gap:8px!important}
 html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-content .a8ah-profile-form-actions :is(button,a.a8ah-button,input[type=submit]){width:100%!important}
}
@media(prefers-reduced-motion:reduce){html[data-a8ah-template] body .a8ah-client-workspace-app *{scroll-behavior:auto!important;transition:none!important}}


/* 0.28.44 template consistency pass: eliminate legacy lime/green leaks on non-green themes. */
html[data-a8ah-template] body .a8ah-portal-app,
html[data-a8ah-template] body .a8ah-client-workspace-app,
html[data-a8ah-template] body .a8ah-manager-workspace-app{
  --a8ah-accent:var(--a8ah-template-accent)!important;
  --a8ah-accent-strong:var(--a8ah-template-accent-strong)!important;
  --a8ah-line:var(--a8ah-template-border)!important;
  accent-color:var(--a8ah-template-accent)!important;
}
html[data-a8ah-template] body .a8ah-portal-app :is(input[type=checkbox],input[type=radio],progress){accent-color:var(--a8ah-template-accent)!important}
html[data-a8ah-template] body .a8ah-theme-switch input:checked+.a8ah-theme-switch-track{background:var(--a8ah-template-accent)!important}
html[data-a8ah-template] body .a8ah-theme-switch input:focus-visible+.a8ah-theme-switch-track{outline-color:var(--a8ah-template-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--a8ah-template-accent) 18%,transparent)!important}
html[data-a8ah-template] body .a8ah-portal-app :is(button,a,input,select,textarea,summary):focus-visible{outline-color:var(--a8ah-template-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--a8ah-template-accent) 20%,transparent)!important}
html[data-a8ah-template] body .a8ah-portal-app .a8ah-notification-bell>summary{border-color:var(--a8ah-template-border)!important;color:var(--a8ah-template-ink)!important;box-shadow:none}
html[data-a8ah-template] body .a8ah-portal-app .a8ah-notification-bell>summary:focus-visible{border-color:var(--a8ah-template-accent)!important;outline:2px solid var(--a8ah-template-accent)!important;outline-offset:2px!important}
html[data-a8ah-template] body .a8ah-portal-welcome .a8ah-portal-eyebrow{color:rgba(255,255,255,.82)!important;-webkit-text-fill-color:rgba(255,255,255,.82)!important}
html[data-a8ah-template] body .a8ah-portal-welcome :is(p,h2){color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-a8ah-template] body .a8ah-portal-footer{border-top-color:var(--a8ah-template-border)!important;color:var(--a8ah-template-muted)!important}
html[data-a8ah-template] body .a8ah-portal-footer-links a{color:var(--a8ah-template-muted)!important}
html[data-a8ah-template] body .a8ah-workspace-mobile-dock{background:var(--a8ah-template-sidebar)!important;border-color:var(--a8ah-template-sidebar-border)!important;color:var(--a8ah-template-sidebar-text)!important}
html[data-a8ah-template] body .a8ah-workspace-mobile-dock>a,
html[data-a8ah-template] body .a8ah-workspace-mobile-dock>button{background:transparent!important;color:var(--a8ah-template-sidebar-text)!important;border-color:transparent!important}
html[data-a8ah-template] body .a8ah-workspace-mobile-dock>a:is(:hover,:focus-visible),
html[data-a8ah-template] body .a8ah-workspace-mobile-dock>button:is(:hover,:focus-visible),
html[data-a8ah-template] body .a8ah-workspace-mobile-dock>[aria-current=page]{background:var(--a8ah-template-sidebar-active)!important;color:var(--a8ah-template-sidebar-active-text)!important}
html[data-a8ah-template] body .a8ah-workspace-mobile-dock svg{color:currentColor!important;stroke:currentColor!important}
html[data-a8ah-template] body .a8ah-workspace-mobile-dock :is(span,svg){color:inherit!important}
html[data-a8ah-template] body .a8ah-portal-app .a8ah-portal-header-actions :is(button,summary){border-color:var(--a8ah-template-border)!important}
html[data-a8ah-template] body .a8ah-portal-app .a8ah-portal-header-actions :is(button,summary):focus-visible{border-color:var(--a8ah-template-accent)!important}

/* Larger, visible service media; the full-screen gallery remains available on click. */
.a8ah-client-workspace-app .a8ah-client-service-carousel .a8ah-service-media-trigger{height:auto!important;max-height:none!important;min-height:126px!important;aspect-ratio:1.42/1!important}
.a8ah-client-workspace-app .a8ah-service-directory-grid .a8ah-service-media-trigger{height:auto!important;max-height:none!important;min-height:190px!important;aspect-ratio:1.7/1!important}
.a8ah-client-workspace-app .a8ah-service-media-trigger :is(img,video){width:100%!important;height:100%!important;object-fit:cover!important}
.a8ah-client-workspace-app .a8ah-client-service-media{width:100%;overflow:hidden;border-radius:inherit}

/* Compact, persistent mobile search/filter row in the full-screen service catalogue. */
.a8ah-service-directory-sheet>.a8ah-service-directory-filters{position:sticky;top:64px;z-index:8;display:grid;grid-template-columns:minmax(0,1fr) minmax(112px,34%);gap:7px;padding:8px 0;margin:0 0 12px;background:var(--a8ah-template-surface,#fff);border-bottom:1px solid var(--a8ah-template-border,#dce7de)}
.a8ah-service-directory-sheet>.a8ah-service-directory-filters :is(input,select){min-width:0;min-height:37px;height:37px;padding:6px 9px;border:1px solid var(--a8ah-template-border,#dce7de);border-radius:9px;background:var(--a8ah-template-bg,#f3f7f2);color:var(--a8ah-template-ink,#15271c);font-size:11px;line-height:1.2}
.a8ah-service-directory-sheet>header{position:sticky;top:-16px;z-index:9;padding:4px 0 8px;background:var(--a8ah-template-surface,#fff)}
@media(max-width:782px){
 .a8ah-client-workspace-app .a8ah-client-service-carousel .a8ah-service-media-trigger{min-height:130px!important;aspect-ratio:1.32/1!important}
 .a8ah-client-workspace-app .a8ah-service-directory-grid .a8ah-service-media-trigger{min-height:174px!important;aspect-ratio:1.45/1!important}
 .a8ah-service-directory-dialog,.a8ah-website-offer-directory{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 20px)!important;border-radius:15px!important}
 .a8ah-service-directory-sheet,.a8ah-website-offer-directory-sheet{padding:12px!important}
 .a8ah-service-directory-sheet>header{gap:8px!important;margin-bottom:2px!important}
 .a8ah-service-directory-sheet>header h3{font-size:17px!important}
 .a8ah-service-directory-sheet>header p{font-size:10px!important;line-height:1.35!important}
 .a8ah-service-directory-sheet>.a8ah-service-directory-filters{top:59px;grid-template-columns:minmax(0,1fr) minmax(104px,34%);gap:6px;padding:6px 0 8px;margin-bottom:9px}
 .a8ah-service-directory-sheet>.a8ah-service-directory-filters :is(input,select){min-height:35px;height:35px;padding:5px 7px;font-size:10px;border-radius:8px}
 .a8ah-client-workspace-app .a8ah-client-service-card-body{padding:9px!important}
}
@media(prefers-reduced-motion:reduce){.a8ah-client-workspace-app .a8ah-service-media-trigger img{transition:none!important}}


/* 0.28.44 comprehensive token sweep: keep every workspace control inside its selected theme. */
html[data-a8ah-template] body .a8ah-portal-app .a8ah-theme-preference-card .a8ah-theme-switch input:checked + .a8ah-theme-switch-track,
html[data-a8ah-template] body .a8ah-portal-app .a8ah-theme-switch input:checked + .a8ah-theme-switch-track{
  background-color:var(--a8ah-template-accent)!important;background-image:none!important;
}
html[data-a8ah-template] body .a8ah-portal-app .a8ah-theme-preference-card .a8ah-theme-switch input:focus-visible + .a8ah-theme-switch-track,
html[data-a8ah-template] body .a8ah-portal-app .a8ah-theme-switch input:focus-visible + .a8ah-theme-switch-track{
  outline:2px solid var(--a8ah-template-accent)!important;outline-offset:3px!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--a8ah-template-accent) 20%,transparent)!important;
}
html[data-a8ah-template] body .a8ah-portal-app .a8ah-notification-bell>summary,
html[data-a8ah-template] body .a8ah-portal-app .a8ah-notification-bell>summary:hover,
html[data-a8ah-template] body .a8ah-portal-app .a8ah-notification-bell>summary:focus-visible{
  background:var(--a8ah-template-surface)!important;border-color:var(--a8ah-template-border)!important;
  color:var(--a8ah-template-ink)!important;box-shadow:none!important;
}
html[data-a8ah-template] body .a8ah-portal-app .a8ah-notification-bell>summary:focus-visible{
  outline:2px solid var(--a8ah-template-accent)!important;outline-offset:2px!important;
}
html[data-a8ah-template] body .a8ah-portal-app .a8ah-notification-bell-icon,
html[data-a8ah-template] body .a8ah-portal-app .a8ah-notification-bell-icon svg{
  color:var(--a8ah-template-ink)!important;stroke:currentColor!important;
}
html[data-a8ah-template] body .a8ah-client-workspace-app .a8ah-portal-welcome .a8ah-portal-eyebrow,
html[data-a8ah-template] body .a8ah-manager-workspace-app .a8ah-portal-welcome .a8ah-portal-eyebrow{
  color:rgba(255,255,255,.84)!important;-webkit-text-fill-color:rgba(255,255,255,.84)!important;
}
html[data-a8ah-template] body .a8ah-portal-footer,
html[data-a8ah-template] body .a8ah-portal-footer .a8ah-footer-copy{
  border-top-color:var(--a8ah-template-border)!important;color:var(--a8ah-template-muted)!important;
}
html[data-a8ah-template] body .a8ah-portal-footer-links a,
html[data-a8ah-template] body .a8ah-portal-footer .a8ah-workspace-language-tools{color:var(--a8ah-template-muted)!important}
html[data-a8ah-template] body .a8ah-workspace-mobile-dock{
  background:var(--a8ah-template-sidebar)!important;border:1px solid var(--a8ah-template-sidebar-border)!important;
  color:var(--a8ah-template-sidebar-text)!important;
}
html[data-a8ah-template] body .a8ah-workspace-mobile-dock>a,
html[data-a8ah-template] body .a8ah-workspace-mobile-dock>button,
html[data-a8ah-template] body .a8ah-workspace-mobile-dock>a :is(span,svg,i),
html[data-a8ah-template] body .a8ah-workspace-mobile-dock>button :is(span,svg,i){
  background:transparent!important;color:var(--a8ah-template-sidebar-text)!important;
  -webkit-text-fill-color:var(--a8ah-template-sidebar-text)!important;
}
html[data-a8ah-template] body .a8ah-workspace-mobile-dock>a[aria-current=page],
html[data-a8ah-template] body .a8ah-workspace-mobile-dock>button[aria-current=page],
html[data-a8ah-template] body .a8ah-workspace-mobile-dock>.is-active{
  background:var(--a8ah-template-sidebar-active)!important;color:var(--a8ah-template-sidebar-active-text)!important;
}
html[data-a8ah-template] body .a8ah-workspace-mobile-dock svg{stroke:currentColor!important;fill:none!important}
html[data-a8ah-template] body .a8ah-portal-app .a8ah-portal-content :is(input,select,textarea,button,a):focus-visible{
  outline-color:var(--a8ah-template-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--a8ah-template-accent) 18%,transparent)!important;
}
html[data-a8ah-theme=dark][data-a8ah-template] body .a8ah-portal-app .a8ah-theme-preference-card{
  background:var(--a8ah-template-surface)!important;border-color:var(--a8ah-template-border)!important;color:var(--a8ah-template-ink)!important;
}
html[data-a8ah-theme=dark][data-a8ah-template] body .a8ah-portal-app .a8ah-theme-preference-copy :is(h4,p,small){color:var(--a8ah-template-ink)!important}
html[data-a8ah-theme=dark][data-a8ah-template] body .a8ah-portal-app .a8ah-theme-preference-copy :is(p,small){color:var(--a8ah-template-muted)!important}
/* Bigger mobile service media without forcing users to open a gallery to see it. */
@media(max-width:782px){
  .a8ah-client-workspace-app .a8ah-client-service-carousel .a8ah-service-media-trigger{min-height:150px!important;aspect-ratio:1.12/1!important}
  .a8ah-client-workspace-app .a8ah-service-directory-grid .a8ah-service-media-trigger{min-height:195px!important;aspect-ratio:1.3/1!important}
}


/* 0.28.72 — compact one-row mobile filters and independent masonry catalogue. */
.a8ah-service-directory-filters,.a8ah-website-offer-directory-filters{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:6px!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;scrollbar-width:thin;white-space:nowrap;padding:7px 1px 9px!important;}
.a8ah-service-directory-filters input,.a8ah-service-directory-filters select,.a8ah-website-offer-directory-filters input,.a8ah-website-offer-directory-filters select{flex:0 0 auto!important;width:auto!important;min-width:112px!important;max-width:160px;min-height:36px!important;height:36px!important;padding:6px 9px!important;border-radius:9px!important;font-size:11px!important;}
.a8ah-service-directory-filters input[type=search],.a8ah-website-offer-directory-filters input[type=search]{flex:1 0 190px!important;min-width:160px!important;}
.a8ah-service-directory-sheet>.a8ah-service-directory-filters,.a8ah-website-offer-directory-sheet>.a8ah-website-offer-directory-filters{position:sticky;top:64px;z-index:12;background:var(--a8ah-template-surface,#f8fcf5);border-bottom:1px solid var(--a8ah-template-border,#dce7de);}
.a8ah-service-directory-grid,.a8ah-website-offer-directory-grid{display:block!important;column-count:3;column-gap:14px;}
.a8ah-service-directory-grid>.a8ah-client-service-card,.a8ah-website-offer-directory-grid>.a8ah-website-offer-card{display:inline-block!important;vertical-align:top;width:100%!important;max-width:none!important;break-inside:avoid;page-break-inside:avoid;margin:0 0 14px!important;}
.a8ah-client-service-card[hidden],.a8ah-website-offer-card[hidden]{display:none!important;}
.a8ah-service-card-actions{display:flex;gap:7px;align-items:center;margin:12px 0 9px;}
.a8ah-service-card-actions .a8ah-button{flex:1 1 0;min-width:0;justify-content:center;min-height:36px;padding:7px 9px;font-size:11px;white-space:normal;}
.a8ah-website-offer-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 9px;}
.a8ah-website-offer-price del,.a8ah-client-service-price del{color:#89948a;font-size:11px;}
.a8ah-website-offer-price strong,.a8ah-client-service-price strong{font-weight:800;}
.a8ah-service-promo-label{color:#247b3d;font-weight:700;}
.a8ah-service-detail-dialog{width:min(640px,calc(100vw - 28px));max-width:none;max-height:min(88dvh,820px);padding:0;border:1px solid var(--a8ah-template-border,#dce7de);border-radius:20px;background:var(--a8ah-template-surface,#fff);color:var(--a8ah-template-ink,#15271c);box-shadow:0 25px 80px rgba(0,0,0,.28);overflow:auto;}
.a8ah-service-detail-dialog::backdrop{background:rgba(2,15,7,.62);backdrop-filter:blur(7px);}
.a8ah-service-detail-sheet{padding:clamp(16px,3vw,26px);}
.a8ah-service-detail-sheet>header{display:flex;justify-content:space-between;align-items:center;gap:12px;}
.a8ah-service-detail-sheet>header button{width:36px;height:36px;border:1px solid var(--a8ah-template-border,#dce7de);border-radius:50%;background:transparent;color:inherit;font-size:22px;}
.a8ah-service-detail-media{margin:10px 0 14px;border-radius:14px;overflow:hidden;background:var(--a8ah-template-bg,#f1f6f0);}
.a8ah-service-detail-media img{display:block;width:100%;max-height:260px;object-fit:cover;}
.a8ah-service-detail-category{display:inline-block;margin-top:14px;color:var(--a8ah-template-muted,#718073);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;}
.a8ah-service-detail-sheet h3{margin:5px 0 8px;font-size:clamp(20px,4vw,27px);line-height:1.2;}
.a8ah-service-detail-sheet p{color:var(--a8ah-template-muted,#647267);line-height:1.6;font-size:13px;}
.a8ah-service-detail-pricing{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px 12px;margin:15px 0;padding:13px;border-radius:12px;background:var(--a8ah-template-bg,#f2f7f1);}
.a8ah-service-detail-pricing strong{font-size:20px;font-weight:800;}
.a8ah-service-detail-pricing del,.a8ah-service-detail-pricing small{color:var(--a8ah-template-muted,#718073);font-size:11px;}
.a8ah-service-detail-lists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.a8ah-service-detail-lists section{min-width:0;padding:12px;border:1px solid var(--a8ah-template-border,#e1e9df);border-radius:12px;}
.a8ah-service-detail-lists h4{margin:0 0 7px;font-size:12px;}
.a8ah-service-detail-lists ul{margin:0;padding-left:17px;color:var(--a8ah-template-muted,#647267);font-size:11px;line-height:1.6;}
.a8ah-service-detail-sheet>footer{display:flex;gap:9px;justify-content:flex-end;margin-top:18px;}
.a8ah-service-detail-sheet>footer .a8ah-button{min-height:40px;}
.a8ah-service-detail-dialog[open]{animation:a8ah-detail-in .2s cubic-bezier(.2,.8,.2,1) both;}
.a8ah-service-directory-dialog[open],.a8ah-website-offer-directory[open]{animation:a8ah-directory-in .2s cubic-bezier(.2,.8,.2,1) both;}
@keyframes a8ah-detail-in{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes a8ah-directory-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.a8ah-service-directory-sheet>.a8ah-service-directory-filters,.a8ah-website-offer-directory-sheet>.a8ah-website-offer-directory-filters{top:61px}.a8ah-service-directory-grid,.a8ah-website-offer-directory-grid{column-count:2;column-gap:9px}.a8ah-service-directory-grid>.a8ah-client-service-card,.a8ah-website-offer-directory-grid>.a8ah-website-offer-card{margin-bottom:9px!important}.a8ah-service-directory-filters,.a8ah-website-offer-directory-filters{gap:5px!important}.a8ah-service-directory-filters input,.a8ah-service-directory-filters select,.a8ah-website-offer-directory-filters input,.a8ah-website-offer-directory-filters select{min-width:102px!important;max-width:124px;min-height:33px!important;height:33px!important;padding:5px 7px!important;font-size:10px!important}.a8ah-service-directory-filters input[type=search],.a8ah-website-offer-directory-filters input[type=search]{flex-basis:148px!important;min-width:130px!important}.a8ah-service-card-actions{gap:5px}.a8ah-service-card-actions .a8ah-button{font-size:10px;min-height:33px;padding:6px 5px}.a8ah-service-detail-dialog{position:fixed;inset:auto 0 0!important;top:auto!important;bottom:0!important;width:100vw!important;max-width:100vw!important;max-height:88dvh!important;margin:0!important;border-radius:20px 20px 0 0!important;border-bottom:0!important}.a8ah-service-detail-sheet{padding:15px 14px calc(16px + env(safe-area-inset-bottom));}.a8ah-service-detail-lists{grid-template-columns:1fr 1fr;gap:8px}.a8ah-service-detail-lists section{padding:9px}.a8ah-service-detail-sheet>footer{position:sticky;bottom:0;padding-top:10px;background:var(--a8ah-template-surface,#fff)}}
@media(max-width:360px){.a8ah-service-directory-grid,.a8ah-website-offer-directory-grid{column-count:1}.a8ah-service-detail-lists{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.a8ah-service-detail-dialog[open],.a8ah-service-directory-dialog[open],.a8ah-website-offer-directory[open]{animation:none!important;scroll-behavior:auto!important}}


/* Quick, reduced-motion-aware entrance for the website request sheet. */
.a8ah-website-builder-modal:not([hidden]){animation:a8ah-website-overlay-in .16s ease-out both}
.a8ah-website-builder-modal:not([hidden]) .a8ah-website-builder-sheet{animation:a8ah-website-sheet-in .2s cubic-bezier(.2,.8,.2,1) both}
@keyframes a8ah-website-overlay-in{from{opacity:0}to{opacity:1}}
@keyframes a8ah-website-sheet-in{from{opacity:.88;transform:translateY(10px) scale(.992)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:782px){.a8ah-website-builder-modal:not([hidden]) .a8ah-website-builder-sheet{animation:a8ah-website-mobile-sheet-in .2s cubic-bezier(.2,.8,.2,1) both}@keyframes a8ah-website-mobile-sheet-in{from{opacity:.9;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}}
@media(prefers-reduced-motion:reduce){.a8ah-website-builder-modal:not([hidden]),.a8ah-website-builder-modal:not([hidden]) .a8ah-website-builder-sheet{animation:none!important}}


/* Administrator workspace now participates in the same selected template and dark palette as the client workspace. */
html[data-a8ah-template] body.a8ah-admin-document,
html[data-a8ah-template] body:has(>.a8ah-admin-app){background:var(--a8ah-template-bg)!important;color:var(--a8ah-template-ink)!important}
html[data-a8ah-template] .a8ah-admin-app{--a8ah-accent:var(--a8ah-template-accent)!important;--a8ah-ink:var(--a8ah-template-ink)!important;--a8ah-muted:var(--a8ah-template-muted)!important;--a8ah-line:var(--a8ah-template-border)!important;--a8ah-bg:var(--a8ah-template-bg)!important;background:var(--a8ah-template-bg)!important;color:var(--a8ah-template-ink)!important}
html[data-a8ah-template] .a8ah-admin-main,html[data-a8ah-template] .a8ah-admin-content{background:var(--a8ah-template-bg)!important;color:var(--a8ah-template-ink)!important}
html[data-a8ah-template] .a8ah-admin-topbar,html[data-a8ah-template] .a8ah-admin-footer{background:var(--a8ah-template-surface)!important;color:var(--a8ah-template-ink)!important;border-color:var(--a8ah-template-border)!important}
html[data-a8ah-template] .a8ah-admin-topbar :is(h1,.a8ah-eyebrow),html[data-a8ah-template] .a8ah-admin-app :is(.a8ah-page-intro h2,.a8ah-page-intro h3,.a8ah-panel h2,.a8ah-panel h3,.a8ah-panel h4,.a8ah-stat-card>strong,.a8ah-provider-card strong,.a8ah-table td,.a8ah-table td strong){color:var(--a8ah-template-ink)!important}
html[data-a8ah-template] .a8ah-admin-app :is(p,small,.a8ah-muted,.a8ah-page-intro p,.a8ah-panel-head p,.a8ah-eyebrow,.a8ah-table td small){color:var(--a8ah-template-muted)!important}
html[data-a8ah-template] .a8ah-admin-app :is(.a8ah-panel,.a8ah-stat-card,.a8ah-provider-card,.a8ah-admin-analytics-card,.a8ah-feature-status-grid>div,.a8ah-form-panel,.a8ah-analytics-card,.a8ah-empty,.a8ah-note,.a8ah-appearance-settings,.a8ah-cloud-provider-card){background:var(--a8ah-template-surface)!important;color:var(--a8ah-template-ink)!important;border-color:var(--a8ah-template-border)!important;box-shadow:0 6px 22px color-mix(in srgb,var(--a8ah-template-ink) 5%,transparent)!important}
html[data-a8ah-template] .a8ah-admin-sidebar{background:var(--a8ah-template-sidebar,#171d18)!important;color:var(--a8ah-template-sidebar-text,#dce7dc)!important;border-color:var(--a8ah-template-sidebar-border,#354435)!important}
html[data-a8ah-template] .a8ah-admin-sidebar .a8ah-nav-link{color:var(--a8ah-template-sidebar-text,#c5cec4)!important}
html[data-a8ah-template] .a8ah-admin-sidebar .a8ah-nav-link:hover{background:var(--a8ah-template-sidebar-hover,#252f25)!important;color:#fff!important}
html[data-a8ah-template] .a8ah-admin-sidebar .a8ah-nav-link.is-active{background:var(--a8ah-template-sidebar-active,#2b3d25)!important;color:var(--a8ah-template-sidebar-active-text,#e3f4ce)!important;box-shadow:inset 3px 0 var(--a8ah-template-sidebar-active-mark,var(--a8ah-template-accent))!important}
html[data-a8ah-template] .a8ah-admin-sidebar .a8ah-brand-mark{background:var(--a8ah-template-accent)!important;color:#fff!important}
html[data-a8ah-template] .a8ah-admin-app :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea){background:var(--a8ah-template-surface)!important;color:var(--a8ah-template-ink)!important;border-color:var(--a8ah-template-border)!important}
html[data-a8ah-template] .a8ah-admin-app :is(input,select,textarea,button,a):focus-visible{outline-color:var(--a8ah-template-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--a8ah-template-accent) 18%,transparent)!important}
html[data-a8ah-template] .a8ah-admin-app :is(.a8ah-button-primary,.a8ah-button.a8ah-button-primary){background:var(--a8ah-template-accent-strong)!important;border-color:var(--a8ah-template-accent-strong)!important;color:#fff!important}
html[data-a8ah-template] .a8ah-admin-app .a8ah-nav-link.is-active .a8ah-nav-icon,html[data-a8ah-template] .a8ah-admin-app .a8ah-nav-link.is-active svg{color:var(--a8ah-template-sidebar-active-text,#fff)!important;stroke:currentColor}
html[data-a8ah-theme="dark"][data-a8ah-template] .a8ah-admin-app :is(.a8ah-admin-topbar,.a8ah-admin-footer,.a8ah-panel,.a8ah-stat-card,.a8ah-provider-card,.a8ah-admin-analytics-card,.a8ah-form-panel,.a8ah-analytics-card,.a8ah-empty,.a8ah-note,.a8ah-appearance-settings,.a8ah-cloud-provider-card){box-shadow:none!important}
html[data-a8ah-theme="dark"][data-a8ah-template] .a8ah-admin-app .a8ah-table{color:var(--a8ah-template-ink)!important}
html[data-a8ah-theme="dark"][data-a8ah-template] .a8ah-admin-app .a8ah-table :is(th,td){background:transparent!important;color:var(--a8ah-template-ink)!important;border-color:var(--a8ah-template-border)!important}
html[data-a8ah-theme="dark"][data-a8ah-template] .a8ah-admin-app .a8ah-table th{color:var(--a8ah-template-muted)!important}

/* Cloud Storage onboarding and provider cards. */
.a8ah-cloud-storage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.a8ah-cloud-provider-card{min-width:0;padding:20px!important}
.a8ah-cloud-provider-card>header{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:start;gap:13px}
.a8ah-cloud-provider-card>header>div:nth-child(2){min-width:0}
.a8ah-cloud-provider-card>header h3{margin:3px 0 5px;font-size:19px}
.a8ah-cloud-provider-card>header p{margin:0;font-size:11px;line-height:1.6}
.a8ah-cloud-provider-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:#f2f4f8;color:#4285f4;font-size:25px;font-weight:800}
.a8ah-cloud-provider-icon.is-google{background:#eef4ff;color:#4285f4}
.a8ah-cloud-provider-icon.is-cloudflare{background:#fff1e7;color:#e77b2a}
.a8ah-cloud-setup{margin:17px 0;padding:13px 14px;border:1px solid var(--a8ah-template-border,#dce7de);border-radius:12px;background:var(--a8ah-template-bg,#f7faf7);color:var(--a8ah-template-ink,#18271e)}
.a8ah-cloud-setup summary{font-size:11px;font-weight:750;cursor:pointer}
.a8ah-cloud-setup ol{display:grid;gap:8px;padding-left:19px;margin:12px 0;font-size:11px;line-height:1.55}
.a8ah-cloud-setup a{color:var(--a8ah-template-accent-strong,#17643a);font-weight:700}
.a8ah-cloud-setup code,.a8ah-cloud-provider-card code{overflow-wrap:anywhere}
.a8ah-cloud-credentials-form{display:grid;gap:12px;margin-top:14px}
.a8ah-cloud-credentials-form label{display:grid;gap:6px;font-size:10px;font-weight:750}
.a8ah-cloud-credentials-form input{width:100%;max-width:100%;min-height:39px;padding:8px 10px;border:1px solid var(--a8ah-template-border,#dce7de);border-radius:9px;box-sizing:border-box}
.a8ah-cloud-credentials-form .a8ah-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.a8ah-cloud-connect-form{margin-top:12px}
.a8ah-cloud-account-list{display:grid;gap:9px;margin-top:14px}
.a8ah-cloud-account-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--a8ah-template-border,#dce7de);border-radius:11px;background:var(--a8ah-template-bg,#f8faf8)}
.a8ah-cloud-account-list article>div:first-child{display:grid;gap:4px;min-width:0}
.a8ah-cloud-account-list article strong{font-size:11px;overflow-wrap:anywhere}
.a8ah-cloud-account-list article small{font-size:9px;overflow-wrap:anywhere}
.a8ah-cloud-account-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.a8ah-cloud-connected-details{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:13px;font-size:10px}
.a8ah-cloud-storage-next{margin-top:16px;padding:19px!important}
.a8ah-cloud-flow{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:14px}
.a8ah-cloud-flow span{padding:9px 12px;border:1px solid var(--a8ah-template-border,#dce7de);border-radius:9px;background:var(--a8ah-template-bg,#f8faf8);font-size:10px;font-weight:700}
.a8ah-cloud-flow b{color:var(--a8ah-template-accent-strong,#17643a)}

/* Searchable, icon-led Plugins & Themes Directory. */
.a8ah-library-search{display:flex;align-items:center;gap:9px;max-width:760px;margin:14px 0;padding:8px 10px;border:1px solid var(--a8ah-template-border,#dce7de);border-radius:13px;background:var(--a8ah-template-surface,#fff)}
.a8ah-library-search>span{font-size:22px;color:var(--a8ah-template-muted,#748078)}
.a8ah-library-search input{flex:1;min-width:0;min-height:38px;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:var(--a8ah-template-ink,#18271e)!important;font-size:12px}
.a8ah-library-package-icon{display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;overflow:hidden;border:1px solid var(--a8ah-template-border,#dce7de);border-radius:15px;background:var(--a8ah-template-soft,#eaf4ec);color:var(--a8ah-template-accent-strong,#17643a)}
.a8ah-library-package-icon svg{width:27px;height:27px;stroke:currentColor}
.a8ah-library-package-image{display:block;width:100%;height:100%;object-fit:contain;padding:5px;box-sizing:border-box;background:#fff}
.a8ah-library-package-main{flex:1;min-width:0}
.a8ah-library-package-card{display:flex;align-items:flex-start;gap:14px;padding:15px!important;border-radius:14px!important}
.a8ah-library-package-card .a8ah-library-package-main>strong{display:block;font-size:13px}
.a8ah-library-package-card .a8ah-library-package-main>small{display:block;margin-top:4px;overflow-wrap:anywhere}
.a8ah-library-package-card .a8ah-status-badge{align-self:flex-start;flex:0 0 auto}
@media(max-width:880px){.a8ah-cloud-storage-grid{grid-template-columns:1fr}}
@media(max-width:650px){.a8ah-cloud-provider-card{padding:14px!important}.a8ah-cloud-provider-card>header{grid-template-columns:44px minmax(0,1fr);gap:10px}.a8ah-cloud-provider-icon{width:42px;height:42px;border-radius:12px}.a8ah-cloud-provider-card>header>.a8ah-status-badge{grid-column:2;justify-self:start}.a8ah-cloud-credentials-form .a8ah-form-grid{grid-template-columns:1fr}.a8ah-cloud-account-list article{align-items:flex-start;flex-direction:column}.a8ah-cloud-account-actions{width:100%}.a8ah-cloud-account-actions form{flex:1}.a8ah-cloud-account-actions .a8ah-button{width:100%}.a8ah-cloud-flow{align-items:stretch;flex-direction:column}.a8ah-cloud-flow b{text-align:center;line-height:1}.a8ah-library-search{flex-wrap:wrap}.a8ah-library-search input{flex:1 1 calc(100% - 40px)}.a8ah-library-search .a8ah-button{flex:1}.a8ah-library-package-icon{flex-basis:44px;width:44px;height:44px;border-radius:12px}.a8ah-library-package-icon svg{width:22px;height:22px}.a8ah-library-package-card{gap:9px;padding:11px!important}.a8ah-library-package-card .a8ah-status-badge{white-space:normal}}
