/* V2.20.0 – The Accra Handyman portal design system ("tahx").
 * One shell for MyAccraHandyman and Homefix Flex: navy sidebar on desktop, bottom navigation on phones.
 * Breakpoint: 900px (the same one the menu script uses). Loaded after account.css, so it refines rather than replaces.
 * Everything is scoped under .tahd-acct so it cannot leak into the theme or the public site. */
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:200 800;font-display:swap;src:url(fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2")}
.tahd-acct{--tahx-head:"Plus Jakarta Sans",Inter,"Segoe UI",system-ui,-apple-system,Arial,sans-serif;--tahx-nav-w:268px;--tahx-gap:clamp(14px,2vw,24px);--tahx-bottom-h:64px;font-family:Inter,"Segoe UI",system-ui,-apple-system,Arial,sans-serif;-webkit-font-smoothing:antialiased}
.tah-app.tah-acct{max-width:1440px;width:100%;padding:clamp(10px,2vw,24px)}
.tahd-acct h1,.tahd-acct h2,.tahd-acct h3,.tahd-acct h4{font-family:var(--tahx-head);letter-spacing:-.01em}
.tahd-acct :is(.tahd-v,.tahf-money,.tahf-amt,.tahf-tile b,.tahf-kpi b,.tahd-tile .tahd-v){font-variant-numeric:tabular-nums}
.tahd-acct .tahd-v,.tahd-acct .tahf-amt,.tahd-acct .tahf-money{white-space:nowrap}

/* ---------- cards: one calm, consistent surface ---------- */
.tahd-acct .tahd-card{border-radius:16px;border:1px solid #e4e9f0;box-shadow:0 1px 2px rgba(7,26,59,.04),0 6px 18px -10px rgba(7,26,59,.16);padding:clamp(16px,2.2vw,26px)}
.tahd-acct .tahd-card h3{font-size:1.15rem;margin:0 0 10px}
.tahd-acct .tahd-card--accent{border-left:4px solid var(--tahd-yellow)}
.tahd-acct .tahd-card--err{border-left:4px solid var(--tahd-danger)}
.tahd-acct .tahd-tile{border-radius:14px;border-color:#e4e9f0;padding:16px 18px;transition:border-color .15s,box-shadow .15s}
.tahd-acct a.tahd-tile:hover{border-color:var(--tahd-blue);box-shadow:0 6px 18px -10px rgba(11,61,145,.4)}
.tahd-acct .tahd-btn{border-radius:12px;min-height:46px}
.tahd-acct .tahd-btn--primary{box-shadow:0 2px 0 rgba(7,26,59,.12)}

/* ---------- welcome band ---------- */
.tahd-acct .tahd-band{background:linear-gradient(120deg,#071a3b 0%,#0b3d91 70%,#1d57b8 100%);border-radius:20px;padding:clamp(18px,3vw,34px);margin-bottom:0}
.tahd-acct .tahd-band h1{font-size:clamp(1.45rem,1rem + 1.6vw,2.2rem);font-weight:800}
.tahd-acct .tahd-eyebrow{letter-spacing:.12em}

/* ---------- shell ---------- */
.tahd-acct .tahd-shell{grid-template-columns:var(--tahx-nav-w) minmax(0,1fr);gap:var(--tahx-gap)}
.tahd-acct .tahd-main{min-width:0}
.tahx-bottom{display:none}

/* ---------- desktop sidebar (navy, grouped) ---------- */
@media(min-width:900px){
 .tahd-acct .tahd-nav{background:linear-gradient(180deg,#071a3b,#0c2756);border:0;border-radius:20px;padding:14px 12px;position:sticky;top:16px;max-height:calc(100vh - 32px);overflow-y:auto;box-shadow:0 14px 34px -18px rgba(7,26,59,.7);scrollbar-width:thin}
 .tahd-acct .tahd-drawer__head{display:none}
}
.tahd-acct .tahd-nav{color:#e8eefb}
.tahd-acct .tahd-nav__list{gap:2px}
.tahd-acct .tahd-nav a,.tahd-acct .tahd-nav summary{display:flex;align-items:center;gap:12px;min-height:46px;padding:10px 12px;border-radius:12px;color:#dbe5f7;text-decoration:none;font:600 .95rem var(--tahx-head);cursor:pointer;list-style:none;background:transparent}
.tahd-acct .tahd-nav summary::-webkit-details-marker{display:none}
.tahd-acct .tahd-nav a:hover,.tahd-acct .tahd-nav summary:hover{background:rgba(255,255,255,.08);color:#fff}
.tahd-acct .tahd-nav a .tahd-ico,.tahd-acct .tahd-nav summary .tahd-ico,.tahd-acct .tahd-nav a[aria-current=page] .tahd-ico{color:#ffc400;opacity:.95}
.tahd-acct .tahd-nav .tahx-nav__one a[aria-current=page]{background:rgba(255,255,255,.13);color:#fff;box-shadow:inset 3px 0 0 #ffc400}
.tahd-acct .tahd-nav .tahx-nav__grp.is-current>details>summary{background:rgba(255,255,255,.07);color:#fff}
.tahd-acct .tahd-nav details>ul{list-style:none;margin:2px 0 6px 22px;padding:0 0 0 14px;border-left:1px solid rgba(255,255,255,.16);display:grid;gap:1px}
.tahd-acct .tahd-nav details>ul a{min-height:40px;padding:8px 12px;font:500 .92rem Inter,system-ui,sans-serif;color:#c8d6ef}
.tahd-acct .tahd-nav details>ul a[aria-current=page]{background:rgba(255,255,255,.13);color:#fff;font-weight:700;box-shadow:inset 3px 0 0 #ffc400}
.tahd-acct .tahd-nav .tahd-nav__label{flex:1;min-width:0}
.tahd-acct .tahd-nav .tahd-count{background:#ffc400;color:#071a3b}
.tahx-caret{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-right:4px;flex:none;transition:transform .15s;opacity:.7}
.tahd-acct .tahd-nav details[open]>summary .tahx-caret{transform:rotate(225deg)}
.tahd-acct .tahd-nav__foot{border-top:1px solid rgba(255,255,255,.14);margin-top:10px;padding-top:8px}
.tahd-acct .tahd-logout{color:#ffb4ac}
.tahd-acct .tahd-logout:hover,.tahd-acct .tahd-logout:focus-visible{background:rgba(255,255,255,.08)}
.tahd-acct .tahd-nav a:focus-visible,.tahd-acct .tahd-nav summary:focus-visible{outline:3px solid #ffc933;outline-offset:-3px;box-shadow:none}

/* ---------- segmented section switcher: never scrolls sideways ---------- */
.tahx-seg{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:4px;background:#eaeff7;border-radius:14px;padding:4px;margin:0 0 var(--tahx-gap)}
.tahx-seg--2{--n:2}.tahx-seg--3{--n:3}.tahx-seg--4{--n:4}.tahx-seg--5{--n:5}
.tahx-seg a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:44px;padding:6px 8px;border-radius:11px;color:#243b63;font:600 .92rem var(--tahx-head);text-decoration:none;line-height:1.2}
.tahx-seg a:hover{background:rgba(255,255,255,.7)}
.tahx-seg a[aria-current=page]{background:#fff;color:#0b3d91;box-shadow:0 1px 3px rgba(7,26,59,.18);font-weight:800}
.tahx-seg a:focus-visible{outline:3px solid var(--tahd-focus);outline-offset:-3px}

/* ---------- phones and small tablets ---------- */
@media(max-width:899px){
 .tahd-acct{padding-bottom:calc(var(--tahx-bottom-h) + 16px + env(safe-area-inset-bottom,0px))}
 .tah-app.tah-acct{padding:8px 10px}
 .tahd-acct .tahd-shell{grid-template-columns:minmax(0,1fr)}
 .tahd-acct .tahd-nav{background:linear-gradient(180deg,#071a3b,#0c2756)}
 .tahd-acct .tahd-drawer__head{background:rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.12)}
 .tahx-bottom{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));position:fixed;left:0;right:0;bottom:0;z-index:50;height:calc(var(--tahx-bottom-h) + env(safe-area-inset-bottom,0px));padding:0 4px env(safe-area-inset-bottom,0px);background:#fff;border-top:1px solid #dfe6f0;box-shadow:0 -6px 24px -12px rgba(7,26,59,.35)}
 .tahx-bottom a,.tahx-bottom button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:var(--tahx-bottom-h);padding:6px 2px;color:#475569;text-decoration:none;font:600 .7rem/1.1 var(--tahx-head);background:transparent;border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
 .tahx-bottom .tahd-ico{width:24px;height:24px}
 .tahx-bottom a[aria-current=page]{color:#0b3d91}
 .tahx-bottom a[aria-current=page]::before{content:"";position:absolute;top:0;left:22%;right:22%;height:3px;border-radius:0 0 3px 3px;background:#ffc400}
 .tahx-bottom a[aria-current=page] .tahd-ico{color:#0b3d91}
 .tahx-bottom :is(a,button):focus-visible{outline:3px solid var(--tahd-focus);outline-offset:-4px}
 .tahx-bottom .tahd-dot{top:8px;right:calc(50% - 20px)}
 html.tahd-menu-open .tahx-bottom{visibility:hidden}
 .tahx-seg a{font-size:.85rem;padding:6px 4px}
 .tahx-seg--4,.tahx-seg--5{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tahx-seg--4 a,.tahx-seg--5 a{min-height:42px}
}
@media(max-width:899px) and (min-width:560px){.tahx-seg--4,.tahx-seg--5{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.tahx-caret{transition:none}}

/* ---------- states ---------- */
.tahd-acct .tahd-card--state{text-align:center;padding:32px 20px}
.tahd-acct .tahd-card--state h3{margin-bottom:6px}
.tahd-acct .tahd-empty{border-radius:16px;background:#f6f8fc}

/* hardened against theme button styles (Astra/Elementor and block themes restyle every <button>) */
.tahd-acct .tahx-bottom .tahx-bottom__more{-webkit-appearance:none;appearance:none;background:transparent!important;color:#475569!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;font:600 .7rem/1.1 var(--tahx-head)!important;text-transform:none!important;letter-spacing:0!important}
.tahd-acct .tahx-bottom .tahx-bottom__more[aria-expanded=true]{color:#0b3d91!important}
.tahd-acct .tahd-nav summary{-webkit-appearance:none;appearance:none}
.tahd-acct .tahd-nav a:not([aria-current=page]){color:#dbe5f7}
.tahd-acct details.tahf-props__d>summary,.tahd-acct .tahd-card details>summary{background:transparent}
@media(min-width:900px){.tahx-seg--phone{display:none}}

/* ======================= V2.20.0 refinement: calm neutral surface, quieter banners ======================= */
.tah-app.tah-acct{background:#f3f5f9;box-shadow:0 0 0 100vmax #f3f5f9;clip-path:inset(0 -100vmax);border-radius:0}
.tahd-acct{--tahx-surface:#f3f5f9}
.tahd-acct .tahd-card{border-color:#e3e8f0}
body:has(.tah-app.tah-acct){background:#f3f5f9}
/* the welcome band: one quiet solid navy strip, dashboard only (never repeated on inner pages) */
.tahd-acct .tahd-band{background:#0a2250;border-radius:16px;padding:clamp(14px,2vw,22px) clamp(16px,2.4vw,28px);gap:12px;margin-bottom:0}
.tahd-acct .tahd-band::after{display:none}
.tahd-acct .tahd-band h1{font-size:clamp(1.3rem,1.05rem + 1vw,1.8rem);font-weight:800;margin:0}
.tahd-acct .tahd-band__sub{margin:2px 0 0!important;font-size:.92rem;opacity:.85}
.tahd-acct:not([data-view=overview]) .tahd-band{display:none}
/* the Homefix Flex property header: a light card, so it never competes with the welcome band */
.tahf-head{background:#fff;color:#0b1f44;border:1px solid #e3e8f0;border-left:4px solid #ffc400;border-bottom:1px solid #e3e8f0;border-radius:16px;box-shadow:0 1px 2px rgba(7,26,59,.04),0 6px 18px -12px rgba(7,26,59,.16)}
.tahf-head::after{display:none}
.tahf-head h2{color:#0b1f44}
.tahf-head p{color:#475569;opacity:1}
.tahf-head .tahd-eyebrow{color:#0b3d91}
.tahf-head__ph{background:#e8eef9}
@media(max-width:899px){
 .tahd-acct .tahd-band{padding:12px 14px;border-radius:14px}
 .tahd-acct .tahd-band h1{font-size:1.25rem}
 .tahd-acct .tahd-band .tahd-eyebrow{display:none}
 .tahd-acct .tahd-band .tahd-btn{min-height:44px;padding:8px 14px}
 .tahd-acct .tahd-card{padding:14px}
 .tahd-acct{--tahx-gap:10px}
 .tahf-head{padding:10px 12px;gap:6px 12px;grid-template-columns:52px minmax(0,1fr) auto;align-items:center}
 .tahf-head .tahd-eyebrow{display:none}
 .tahf-head .tahf-head__ph{width:52px;height:44px;border-radius:10px}
 .tahf-unit .tahf-unit__ph{padding:6px 10px;min-height:0}
 .tahf-unit__ph svg{width:72px;height:32px}
 .tahf-head__ph svg{width:100%;height:100%}
 .tahf-head h2{font-size:1.05rem}
 .tahf-head p{font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .tahf-head .tahf-props{margin:0}
 .tahf-head .tahf-props__d>summary{min-height:44px;padding:4px 10px}
}
@media(max-width:360px){
 .tah-app.tah-acct{padding:6px 8px}
 .tahx-bottom a,.tahx-bottom button{font-size:.75rem}
 .tahx-seg a{font-size:.8rem}
}
/* theme-neutral layout: classic themes (two-column pages, floated content, sidebars) must not squeeze the portal; scoped to the portal page only */
body.tah-portal-page :is(.entry-content,.post-content,.page-content,.entry,.hentry){float:none!important;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:0;padding-right:0}
body.tah-portal-page :is(#primary,.content-area,#main,.site-main){float:none!important;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
body.tah-portal-page :is(#secondary,.widget-area,aside.sidebar,.sidebar,#sidebar){display:none!important}
body.tah-portal-page .wrap{max-width:1480px;padding-left:16px;padding-right:16px}

/* V2.21.2: logout stays visible while the long menu scrolls independently */
.tahd-acct .tahd-nav__foot{position:sticky;bottom:-14px;background:#0a2250;margin-bottom:-14px;padding-bottom:12px;z-index:2}
.tahd-acct .tahd-nav details>ul a{min-height:38px}
.tahd-refcode input{text-transform:uppercase;letter-spacing:.08em;font-weight:700}

/* V2.21.3 property extras (non-member enquiry form) */
.tahd-extra form label{display:block;margin:.7rem 0 .25rem;font-weight:600;color:#0b1f44}
.tahd-extra form input[type=text],.tahd-extra form input[type=date],.tahd-extra form input[type=number],.tahd-extra form select,.tahd-extra form textarea{width:100%;max-width:100%;box-sizing:border-box;padding:.65rem .75rem;border:1px solid #c9d1de;border-radius:8px;font:inherit;background:#fff}
.tahd-extra form input:focus,.tahd-extra form select:focus,.tahd-extra form textarea:focus{outline:2px solid #c9a227;outline-offset:1px}
.tahd-extra .tahf-checks{border:0;margin:.25rem 0;padding:0}
.tahd-extra .tahf-checks__list{display:grid;gap:.4rem}
.tahd-extra form label.tahf-check{display:flex;gap:.5rem;align-items:flex-start;font-weight:400;margin:0}
.tahd-extra .tahf-fine{font-size:.85rem;color:#5a6577}
.tahd-extra summary{cursor:pointer;font-weight:600;color:#0b1f44;margin:.6rem 0}
.tahd-extra form button{margin-top:1rem}
.tahd-refcard__code{margin:.2rem 0 .8rem}.tahd-refcard__code strong{font-size:1.6rem;letter-spacing:.1em;color:#0b1f44}

/* V2.22 optional section photography (same markup as Homefix Flex photos) */
.tahd-main .tahf-photo{margin:0 0 16px;border-radius:14px;overflow:hidden;position:relative;background:#0b1f44}
.tahd-main .tahf-photo__img{display:block;width:100%;height:150px;object-fit:cover}
.tahd-main .tahf-photo--card{margin:-4px -4px 12px}.tahd-main .tahf-photo--card .tahf-photo__img{height:130px}
.tahd-main .tahf-photo figcaption{font-size:.72rem;color:#5a6577;padding:4px 8px;background:#fff}
@media (min-width:900px){.tahd-main .tahf-photo__img{height:190px}}
.tahd-extra__ben{margin:.3rem 0 .6rem;padding-left:1.1rem}.tahd-extra__ben li{margin:.15rem 0}.tahd-extra__group{margin:0 0 .1rem;font-size:.8rem;text-transform:uppercase;letter-spacing:.06em}

/* ---- V2.23 portal artwork: composed section headers, Flex heroes, Property Extras cards, Property Passport overview.
   No stretched concept photos: a slot shows a licensed/shipped responsive photo when there is one, else a composed brand panel with a line icon. ---- */
.tahd-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,34%);grid-template-areas:"txt art" "extra art";align-items:stretch;margin:0 0 16px;border-radius:16px;overflow:hidden;background:#fff;border:1px solid #e3e8f0;box-shadow:0 1px 2px rgba(7,26,59,.06);min-height:112px}
.tahd-hero--plain{grid-template-columns:minmax(0,1fr);grid-template-areas:"txt" "extra"}
.tahd-hero--photo{grid-template-columns:minmax(0,1fr) minmax(0,44%);min-height:170px}
.tahd-hero__txt{grid-area:txt;align-self:center;padding:18px 10px 18px 22px;min-width:0}
.tahd-hero__txt h2{margin:0 0 4px;color:#0b1f44;line-height:1.2;overflow-wrap:anywhere}
.tahd-hero__txt p{margin:0;max-width:46ch;color:#475569}
.tahd-hero__extra{grid-area:extra;align-self:start;padding:0 10px 16px 22px}
.tahd-hero__art{grid-area:art;position:relative;min-height:112px;overflow:hidden}
.tahd-hero--photo .tahd-hero__art{min-height:170px}
.tahd-hero__art picture,.tahd-hero__art img{position:absolute;inset:0;width:100%;height:100%;display:block}
.tahd-hero__art img{object-fit:cover;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 30%);mask-image:linear-gradient(90deg,transparent 0,#000 30%)}
.tahd-art__panel{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 78% 18%,rgba(124,76,196,.55),transparent 52%),radial-gradient(circle at 12% 95%,rgba(47,98,196,.55),transparent 55%),linear-gradient(135deg,#0a2250 0%,#12307a 55%,#2a1f6e 100%)}
.tahd-art__panel:before{content:"";position:absolute;inset:0;background:repeating-radial-gradient(circle at 50% 50%,rgba(255,255,255,.07) 0 1px,transparent 1px 22px);-webkit-mask-image:radial-gradient(circle at 50% 50%,#000,transparent 72%);mask-image:radial-gradient(circle at 50% 50%,#000,transparent 72%)}
.tahd-art__medal{position:relative;display:inline-flex;align-items:center;justify-content:center;width:72px;height:72px;border-radius:50%;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.3);color:#fff;box-shadow:0 0 0 8px rgba(255,255,255,.05)}
.tahd-art__medal .tahd-art__ico{width:34px;height:34px}
.tahd-hero--dark{background:linear-gradient(120deg,#071a3b 0%,#0b2a63 62%,#241f6b 100%);border-color:#0b2a63;color:#fff}
.tahd-hero--dark .tahd-hero__txt h2,.tahd-hero--dark .tahf-areatitle{color:#fff}
.tahd-hero--dark .tahd-hero__txt p{color:rgba(255,255,255,.88)}
.tahd-chips{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0;padding:0}
.tahd-hero__extra .tahd-chips{margin:0}
.tahd-chips li{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);color:#fff;border-radius:999px;padding:3px 11px;font-size:.78rem;line-height:1.5}
.tahf-hero--art{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,30%);align-items:stretch;padding:0;overflow:hidden;min-height:104px;background:linear-gradient(120deg,#071a3b 0%,#0b2a63 62%,#241f6b 100%)}
.tahf-hero--art .tahf-hero__txt{align-self:center;padding:18px 10px 18px 22px}
.tahf-hero--art .tahd-hero__art{min-height:104px}
/* dashboard greeting band */
.tahd-acct .tahd-band{position:relative;overflow:hidden;justify-content:flex-start;align-items:center;gap:12px 24px}
.tahd-band__art{position:absolute;top:0;right:0;bottom:0;width:min(280px,32%);pointer-events:none;overflow:hidden}
.tahd-band__art .tahd-art__panel{background:radial-gradient(circle at 70% 30%,rgba(124,76,196,.45),transparent 60%)}
.tahd-band__art .tahd-art__medal{width:96px;height:96px;background:rgba(255,255,255,.07)}
.tahd-band__art .tahd-art__ico{width:46px;height:46px;opacity:.9}
.tahd-band__art img{display:block;width:100%;height:100%;object-fit:cover;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 40%);mask-image:linear-gradient(90deg,transparent 0,#000 40%)}
/* Property Extras cards */
.tahx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:18px;margin:0 0 16px}
.tahx-card{padding:0!important;overflow:hidden;display:flex;flex-direction:column;border-radius:16px}
.tahx-media{position:relative;aspect-ratio:16/9;background:#0a2250;overflow:hidden}
.tahx-media picture,.tahx-media img,.tahx-media .tahf-photo,.tahx-media .tahf-photo__img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;margin:0;border-radius:0}
.tahx-media .tahd-art__medal{width:92px;height:92px}.tahx-media .tahd-art__ico{width:44px;height:44px}
.tahx-body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.tahx-group{margin:0;font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;color:#5a6577}
.tahx-title{margin:0;font-size:1.25rem;line-height:1.25;color:#0b1f44}
.tahx-desc{margin:0;color:#334155}
.tahx-ben{margin:2px 0 0;padding-left:1.1em;color:#334155}.tahx-ben li{margin:2px 0}
.tahx-price{margin:0;font-size:.84rem;color:#475569}
.tahx-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:8px}
.tahx-btn{flex:1 1 150px;min-height:48px;justify-content:center;text-align:center}
.tahx-panel{margin-top:6px;padding:14px 14px 16px;background:#f6f8fc;border:1px solid #e3e8f0;border-radius:12px}
.tahx-panel[hidden]{display:none}
.tahx-panel h4{margin:10px 0 4px;font-size:.9rem;color:#0b1f44}.tahx-panel h4:first-child{margin-top:0}
.tahx-list{margin:0;padding-left:1.1em;color:#334155;font-size:.9rem}.tahx-list li{margin:3px 0}
.tahx-panel label{display:block;margin:10px 0;font-weight:600}
.tahx-panel input[type=text],.tahx-panel input[type=number],.tahx-panel select,.tahx-panel textarea{display:block;width:100%;box-sizing:border-box;margin-top:4px;font-weight:400}
@media (max-width:560px){.tahx-media{aspect-ratio:2/1}.tahx-body{padding:16px}.tahx-btn{flex:1 1 100%}}
/* Property Passport overview */
.tahp-head{display:grid;grid-template-columns:minmax(0,200px) minmax(0,1fr);gap:16px 20px;align-items:center;margin-bottom:6px}
.tahp-photo{position:relative;aspect-ratio:4/3;border-radius:14px;overflow:hidden;background:linear-gradient(135deg,#0a2250,#2a1f6e);display:flex;align-items:center;justify-content:center;color:#fff}
.tahp-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.tahp-photo .tahp-ico{width:44px;height:44px;stroke-width:1.5}
.tahp-id h3{margin:2px 0 4px;color:#0b1f44;font-size:1.35rem;overflow-wrap:anywhere}.tahp-id p{margin:2px 0;color:#475569}.tahp-ref b{color:#0b1f44;letter-spacing:.04em}
.tahp-h{margin:18px 0 8px;font-size:.95rem;color:#0b1f44}
.tahp-stats{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:10px}
.tahp-stat{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"i v" "i k";column-gap:10px;align-items:center;padding:10px 12px;border:1px solid #e3e8f0;border-radius:12px;background:#fff}
.tahp-stat .tahp-ico{grid-area:i;color:#0b3d91}.tahp-stat__v{grid-area:v;font-weight:800;font-size:1.25rem;color:#0b1f44;line-height:1.1}.tahp-stat__k{grid-area:k;font-size:.74rem;color:#5a6577;line-height:1.25}
.tahp-stat.is-empty{background:#f8fafc}.tahp-stat.is-empty .tahp-stat__v{color:#94a3b8}.tahp-stat.is-empty .tahp-ico{color:#94a3b8}
.tahp-links{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px 20px}.tahp-links li{display:flex;align-items:center;gap:8px}.tahp-links .tahp-ico{color:#0b3d91}
.tahp-edit{margin-top:14px}
@media (max-width:560px){.tahp-head{grid-template-columns:96px minmax(0,1fr);gap:12px}.tahp-id h3{font-size:1.1rem}.tahp-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){
 .tahd-hero,.tahf-hero--art{grid-template-columns:minmax(0,1fr) 34%;grid-template-areas:"txt art" "extra extra";min-height:96px}
 .tahd-hero--plain{grid-template-columns:minmax(0,1fr);grid-template-areas:"txt" "extra"}
 .tahd-hero--photo{grid-template-columns:minmax(0,1fr) 40%;min-height:120px}
 .tahd-hero__txt,.tahf-hero--art .tahf-hero__txt{padding:14px 6px 14px 14px}
 .tahd-hero__extra{padding:0 14px 14px}
 .tahd-hero__txt h2{font-size:1.15rem}.tahd-hero__txt p{font-size:.84rem}
 .tahd-hero__art,.tahf-hero--art .tahd-hero__art{min-height:92px}
 .tahd-art__medal{width:56px;height:56px}.tahd-art__medal .tahd-art__ico{width:26px;height:26px}
 .tahd-chips{margin-top:8px;gap:4px}.tahd-chips li{font-size:.7rem;padding:2px 8px}
 .tahd-band__art{width:36%;bottom:auto;height:96px}.tahd-acct .tahd-band>div:first-child{max-width:62%}
}
.tahp-edit summary{cursor:pointer;font-weight:700;color:#0b3d91;padding:10px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc}
.tahp-edit form label{display:block;font-weight:600;margin:10px 0}
.tahp-edit form input[type=number],.tahp-edit form input[type=text],.tahp-edit form select{display:block;width:100%;box-sizing:border-box;min-height:44px;margin-top:4px;padding:8px 10px;border:1px solid #94a3b8;border-radius:10px;background:#fff;font-weight:400;font:inherit}
.tahp-edit form input:focus,.tahp-edit form select:focus{outline:2px solid #0b3d91;outline-offset:1px}
/* V2.24 Popular services: even cards, readable names, a visible action */
.tahd-svc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
@media(min-width:760px){.tahd-svc-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.tahd-svc{display:flex;flex-direction:column;height:100%;border-radius:14px;overflow:hidden}
.tahd-svc__media{display:block;padding:0!important;aspect-ratio:3/2;max-height:168px;overflow:hidden;background:#eaf2ff}
.tahd-svc .tahd-svc__media img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:50% 25%}
.tahd-svc__body{display:flex!important;flex-direction:column;gap:4px;padding:12px 14px 14px!important;flex:1}
.tahd-svc .tahd-svc__name{padding:0!important;font:700 1rem/1.25 var(--tahd-font,inherit);color:#0b1f44}
.tahd-svc .tahd-svc__price{padding:0!important;font:600 .8125rem/1.3 var(--tahd-font,inherit);color:#475569}
.tahd-svc .tahd-svc__cta{padding:8px 0 0!important;margin-top:auto;display:inline-flex!important;align-items:center;gap:6px;font:700 .875rem/1.2 var(--tahd-font,inherit);color:#0b3d91}
.tahd-svc .tahd-svc__cta svg{width:16px;height:16px}
.tahd-svc:hover .tahd-svc__cta{text-decoration:underline}

/* V2.24: native-size concept image inset on the brand panel (never stretched) */
.tahd-art__panel--native{display:flex;align-items:center;justify-content:center;padding:10px}
.tahd-art__native{display:block;height:auto;width:auto;max-width:100%;border-radius:12px;box-shadow:0 6px 18px rgba(8,16,48,.35)}
.tahd-art__panel--native{background-size:cover;background-position:center;overflow:hidden}
.tahd-art__panel--native::before{content:"";position:absolute;inset:-20px;background:inherit;filter:blur(16px) brightness(.8);transform:scale(1.1)}
.tahd-art__panel--native .tahd-art__native{position:relative}
.tahd-art .tahd-art__panel--native .tahd-art__native,.tahx-media .tahd-art__panel--native .tahd-art__native,.tahd-hero .tahd-art__panel--native .tahd-art__native,.tahd-band__art .tahd-art__panel--native .tahd-art__native{position:relative;inset:auto;width:auto;height:auto;max-height:calc(100% - 20px);object-fit:contain;clip-path:inset(3px 4px 3px 3px round 10px)}

/* V2.24: dashboard avatar + property identity card */
.tahd-band{position:relative}
.tahd-band__av{display:inline-flex;text-decoration:none;flex:none}
.tahd-band__av .tahd-avatar{border:3px solid #fff;background:var(--tahd-yellow,#ffc400);color:#0b1f44}
.tahp-idcard{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:14px 18px;align-items:center;border-left:4px solid var(--tahd-yellow,#ffc400)}
.tahp-idcard__ph{width:96px;height:96px;border-radius:14px;overflow:hidden;background:#eef2f9;display:flex;align-items:center;justify-content:center;color:#0a2250}
.tahp-idcard__ph img{width:100%;height:100%;object-fit:cover;display:block}
.tahp-idcard__ph svg{width:44px;height:44px}
.tahp-idcard__txt h3{margin:2px 0 4px;font-size:1.15rem}
.tahp-idcard__meta,.tahp-idcard__next{margin:0;color:#4b5a73;font-size:.92rem}
.tahp-idcard__act{display:flex;flex-direction:column;gap:8px;align-items:flex-end}
@media (max-width:640px){.tahp-idcard{grid-template-columns:72px minmax(0,1fr)}.tahp-idcard__ph{width:72px;height:72px}.tahp-idcard__act{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between}}
.tahd-band__av .tahd-avatar--lg{width:64px;height:64px;font-size:1.3rem}
.tahp-idcard .tahf-chip{font-style:normal;font-weight:700;font-size:.78rem;padding:4px 12px;border-radius:999px;background:#eef2f9;color:#0a2250;white-space:nowrap}
.tahp-idcard .tahf-chip.is-ok{background:#e3f6ea;color:#0d6a35}
.tahp-idcard .tahf-chip.is-warn{background:#fff3d6;color:#7a5200}
.tahp-idcard .tahf-chip.is-err{background:#fde6e6;color:#9b1c1c}

/* V2.24: My jobs filters */
.tahj-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.tahj-chip{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:6px 14px;border-radius:999px;background:#fff;border:1px solid #d5dcea;color:#0b1f44;text-decoration:none;font-weight:600;font-size:.9rem}
.tahj-chip b{background:#eef2f9;border-radius:999px;padding:1px 8px;font-size:.8rem}
.tahj-chip.is-on{background:#0b2a63;color:#fff;border-color:#0b2a63}.tahj-chip.is-on b{background:rgba(255,255,255,.2);color:#fff}
.tahj-filter{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 14px}
.tahj-filter input[type=search]{flex:1 1 220px;min-height:44px;padding:8px 12px;border:1px solid #c5cee0;border-radius:10px}
.tahj-filter select{min-height:44px;border:1px solid #c5cee0;border-radius:10px;padding:6px 10px;max-width:100%}
.tahj-pager{display:flex;justify-content:space-between;align-items:center;margin-top:12px;gap:8px}
.tahj-pager a{font-weight:600}

/* V2.24: contextual Property extras strip (one per screen, max three small cards) */
.tahx-promo{border-left:4px solid var(--tahd-yellow,#ffc400)}
.tahx-promo__head h3{margin:0 0 4px}.tahx-promo__head p{margin:0 0 12px;color:#4b5a73;font-size:.92rem}
.tahx-promo__list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.tahx-promo__card{display:flex;gap:10px;align-items:center;padding:10px;border:1px solid #dfe5ef;border-radius:12px;text-decoration:none;color:#0b1f44;background:#fff;min-height:56px}
.tahx-promo__card:hover,.tahx-promo__card:focus-visible{border-color:#0b3d91;background:#f5f8ff}
.tahx-promo__ph{flex:none;width:96px;height:43px;border-radius:8px;overflow:hidden;background:#0a2250;color:#fff;display:flex;align-items:center;justify-content:center}
.tahx-promo__ph img{width:96px;height:43px;display:block;object-fit:cover}
.tahx-promo__t{display:flex;flex-direction:column;min-width:0}.tahx-promo__t b{font-size:.95rem}.tahx-promo__t small{color:#4b5a73;font-size:.8rem;line-height:1.3}
.tahx-promo__more{margin:10px 0 0;font-size:.9rem}
.tah-art__how{margin:12px 0 16px;padding-left:20px;display:grid;gap:8px;font-size:15px;line-height:1.5}
/* V2.24 FINAL: photographic headers = one continuous header with the photo emerging from the right.
   The art is an overlay layer (not a grid column). A left-to-right mask makes the photo transparent at its left edge, so the header's OWN
   background (navy on dark headers, white on light ones, gradient on the dashboard band) shows through: there is no boundary to see.
   Works for Media Library / admin-replaced images, shipped photos, native concept images and the composed panel alike. */
.tahd-hero,.tahf-hero--art,.tahd-acct .tahd-band{--fade-w:min(42%,400px);position:relative;overflow:hidden}
.tahd-hero:not(.tahd-hero--plain),.tahf-hero--art{display:block}
.tahd-hero__art,.tahd-band__art{position:absolute!important;top:0;right:0;bottom:0;left:auto;width:var(--fade-w);height:auto;min-height:0!important;pointer-events:none;overflow:hidden;background:none;
 -webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.35) 16%,rgba(0,0,0,.8) 38%,#000 62%);mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.35) 16%,rgba(0,0,0,.8) 38%,#000 62%)}
.tahd-hero__art picture,.tahd-hero__art img,.tahd-band__art picture,.tahd-band__art img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:60% 40%;-webkit-mask-image:none;mask-image:none;border-radius:0;box-shadow:none}
.tahd-hero__art .tahd-art__panel--native,.tahd-band__art .tahd-art__panel--native{position:absolute;inset:0;display:block;padding:0;background:none!important;-webkit-mask-image:none;mask-image:none}
.tahd-hero__art .tahd-art__panel--native::before,.tahd-band__art .tahd-art__panel--native::before{display:none}
.tahd-hero__art .tahd-art__native,.tahd-band__art .tahd-art__native,.tahd-hero .tahd-art__panel--native .tahd-art__native,.tahd-band__art .tahd-art__panel--native .tahd-art__native{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:60% 40%;clip-path:none!important;border-radius:0!important;box-shadow:none!important}
/* keep every word clear of the photo: text never runs under the strongest part of the image */
.tahd-hero:not(.tahd-hero--plain) .tahd-hero__txt,.tahf-hero--art .tahf-hero__txt{padding-right:calc(var(--fade-w) * .72);max-width:none}
.tahd-hero:not(.tahd-hero--plain) .tahd-hero__extra{padding-right:calc(var(--fade-w) * .72)}
.tahd-acct .tahd-band>div:first-child{position:relative;z-index:1}
/* dark headers: a whisper of royal-blue/purple at the transition keeps the photo warm without muddying it */
.tahd-hero--dark .tahd-hero__art::after,.tahf-hero--art .tahd-hero__art::after,.tahd-band__art::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,42,99,.55) 0,rgba(36,31,107,.12) 45%,transparent 70%)}
/* tablet */
@media (max-width:900px){.tahd-hero,.tahf-hero--art,.tahd-acct .tahd-band{--fade-w:min(44%,340px)}}
/* phone: smaller, higher-contrast fade, text keeps most of the width, nothing can overflow */
@media (max-width:560px){
 .tahd-hero,.tahf-hero--art,.tahd-acct .tahd-band{--fade-w:46%}
 .tahd-hero__art,.tahd-band__art{width:var(--fade-w);height:auto!important;opacity:.92;-webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.25) 22%,rgba(0,0,0,.85) 55%,#000 80%);mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.25) 22%,rgba(0,0,0,.85) 55%,#000 80%)}
 .tahd-hero:not(.tahd-hero--plain) .tahd-hero__txt,.tahf-hero--art .tahf-hero__txt{padding-right:calc(var(--fade-w) * .55)}
 .tahd-hero:not(.tahd-hero--plain) .tahd-hero__extra{padding-right:14px}
 .tahd-hero__art img,.tahd-band__art img,.tahd-art__native{object-position:70% 30%}
 .tahd-acct .tahd-band>div:first-child{max-width:100%}
 /* phone: the photo is a short strip in the top-right corner, so greetings, descriptions, chips and buttons below it are never covered */
 .tahd-hero__art,.tahd-band__art{bottom:auto!important;height:92px!important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.25) 22%,rgba(0,0,0,.85) 55%,#000 80%),linear-gradient(180deg,#000 0,#000 62%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.25) 22%,rgba(0,0,0,.85) 55%,#000 80%),linear-gradient(180deg,#000 0,#000 62%,transparent 100%);
  -webkit-mask-composite:source-in;mask-composite:intersect}
 .tahd-hero:not(.tahd-hero--plain) .tahd-hero__txt,.tahf-hero--art .tahf-hero__txt{padding-right:calc(var(--fade-w) * .85)}
 .tahd-hero:not(.tahd-hero--plain) .tahd-hero__txt p,.tahf-hero--art .tahf-hero__txt p{max-width:100%}
}
/* V2.24 FINAL: card photography – full-bleed, never inset or boxed. The shipped concept photos are ~295x133 px (2.2:1), so card media uses that
   proportion and cards are ~280 px wide: the picture is shown at about its true size (no enlargement presented as high resolution).
   Licensed hi-res photos (Media Library or assets/img/photo) use the same frame with object-fit:cover and a focal point. */
.tahx-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr))}
.tahx-media{aspect-ratio:2.2/1}
.tahx-media .tahd-art__panel--native{position:absolute;inset:0;display:block;padding:0;background:none!important}
.tahx-media .tahd-art__panel--native::before{display:none}
.tahx-media .tahd-art__native,.tahx-media .tahd-art .tahd-art__native{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:var(--focal,50% 40%);clip-path:none!important;border-radius:0!important;box-shadow:none!important}
.tahx-media::after{content:"";position:absolute;inset:auto 0 0 0;height:38%;background:linear-gradient(180deg,transparent,rgba(10,34,80,.28));pointer-events:none}
@media (max-width:560px){.tahx-media{aspect-ratio:2.2/1}}
/* V2.24: hero inside the narrow sign-in / information cards (artisan page) – compact type, shorter art, margins to match the card */
.tahd-auth .tahd-hero{margin:14px 0 16px;--fade-w:46%}
.tahd-auth .tahd-hero__txt h2{font-size:1.2rem!important;font-weight:700}
.tahd-auth .tahd-hero__txt p{font-size:.88rem!important;line-height:1.4}
.tahd-auth .tahd-hero:not(.tahd-hero--plain) .tahd-hero__txt{padding:16px calc(var(--fade-w) * .62) 16px 18px;min-height:112px}
/* V2.24: Property Extras / Optional Extras as commercial products – prominent photographic promo cards, trust strip, standalone page polish */
.tahx-xs{padding:clamp(16px,2.4vw,24px)}
.tahx-xs__head h3{margin:0 0 4px;font-size:1.2rem;color:#0b1f44}
.tahx-xs__head p{margin:0 0 16px;color:#475569;max-width:70ch}
.tahx-xs__grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr))}
.tahx-xs__grid--1{grid-template-columns:minmax(0,420px)}
.tahx-xc{display:flex;flex-direction:column;border:1px solid #dfe5ef;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 1px 2px rgba(7,26,59,.05)}
.tahx-xc .tahx-media{flex:none}
.tahx-xc__body{display:flex;flex-direction:column;gap:6px;padding:14px 16px 16px;flex:1}
.tahx-xc__body h4{margin:0;font-size:1.04rem;line-height:1.3;color:#0b1f44;font-weight:800}
.tahx-xc__name{margin:0!important;font-size:.72rem!important;letter-spacing:.07em;text-transform:uppercase;color:#1d57b8!important;font-weight:700}
.tahx-xc__body p{margin:0;color:#475569;font-size:.92rem;line-height:1.45}
.tahx-xc__price{font-size:.8rem!important;color:#64748b!important}
.tahx-xc__cta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:auto;padding-top:10px}
.tahx-xc__cta .tahd-btn{min-height:44px}
.tahx-xc__more{font-weight:600;color:#0b3d91;text-decoration:underline;min-height:44px;display:inline-flex;align-items:center}
.tahx-xc--wide{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr)}
.tahx-xc--wide .tahx-media{height:100%;aspect-ratio:auto;min-height:150px}
@media (max-width:640px){
 .tahx-xs__grid,.tahx-xs__grid--1{grid-template-columns:minmax(0,1fr)}
 .tahx-xc__cta .tahd-btn{flex:1 1 100%;justify-content:center}
 .tahx-xc--wide{grid-template-columns:minmax(0,1fr)}
 .tahx-xc--wide .tahx-media{aspect-ratio:2.2/1;height:auto;min-height:0}
}
.tahx-xs--invite{background:linear-gradient(120deg,#f4f7ff,#fff)}
.tahx-trust ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px 22px;list-style:none;margin:0;padding:0}
.tahx-trust li b{display:block;color:#0b1f44;font-size:.95rem}
.tahx-trust li span{display:block;color:#475569;font-size:.88rem;line-height:1.4;margin-top:2px}
.tahx-trust li{border-left:3px solid #ffc10c;padding-left:12px}
.tahx-name{margin:0 0 2px;font-size:.72rem;letter-spacing:.07em;text-transform:uppercase;color:#1d57b8;font-weight:700}
.tahx-title--lead{font-size:1.1rem;line-height:1.3}
.tahx-cta{margin:12px 0 0}
.tahx-cta .tahd-btn{min-height:44px}
.tahx-grid--one{grid-template-columns:minmax(0,420px)}
.tahx-cross{background:#f8fafc}
.tahx-card .tahx-btn{min-height:44px}
@media (max-width:640px){.tahx-grid--one{grid-template-columns:minmax(0,1fr)}.tahx-actions{display:grid;gap:8px}.tahx-actions .tahx-btn{width:100%}}
/* bottom bar with the Extras entry: six short items must still fit a 360 px phone */
.tahx-bottom a,.tahx-bottom button{min-width:0;padding-left:2px;padding-right:2px}
.tahx-bottom a span,.tahx-bottom button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
@media (max-width:400px){.tahx-bottom a,.tahx-bottom button{font-size:.68rem}.tahx-bottom a span,.tahx-bottom button span{letter-spacing:-.01em}}
/* V2.24.1 Popular services: compact, balanced cards – bold service name, price, a clear Book now action */
.tahd-svc-grid{gap:12px}
.tahd-svc{border:1px solid #dbe3f2;box-shadow:0 1px 2px rgba(11,31,68,.05);transition:box-shadow .15s,border-color .15s}
.tahd-svc__media{aspect-ratio:16/9;max-height:118px}
.tahd-svc__media--icon{display:flex!important;align-items:center;justify-content:center;background:linear-gradient(135deg,#0b1f4d,#1d3f9e);color:#fff}
.tahd-svc__media--icon svg{width:34px;height:34px}
.tahd-svc__body{gap:3px;padding:10px 12px 12px!important}
.tahd-svc .tahd-svc__name{font:800 1.02rem/1.25 var(--tahd-font,inherit);color:#0b1f44}
.tahd-svc .tahd-svc__cta{margin-top:8px;padding:0 12px!important;min-height:42px;justify-content:center;border-radius:10px;background:#f5c400;color:#0b1f44;font-weight:800;text-decoration:none!important;align-self:stretch}
.tahd-svc:hover,.tahd-svc:focus-visible{border-color:#0b3d91;box-shadow:0 4px 14px rgba(11,31,68,.12)}
.tahd-svc:hover .tahd-svc__cta{background:#ffd633}
@media(max-width:420px){.tahd-svc__media{max-height:96px}.tahd-svc .tahd-svc__name{font-size:.95rem}}
/* V2.24.1: portal pages carry only The Accra Handyman branding – no default theme header ("My Blog / My WordPress Blog"), page title or theme navigation. Other public pages are not affected (the body class is added on portal pages only). */
body.tah-portal-page :is(#masthead,.site-header,header.site-header,#site-header,body>header,.wp-site-blocks>header,.wp-block-template-part:has(>header),.wp-block-template-part:has(.wp-block-site-title),.ast-above-header-wrap,#ast-desktop-header,#ast-mobile-header,.main-header-bar-wrap,.entry-header,.page-header,.wp-block-post-title,.entry-title:not(.tahd-h):not(.tah-h)){display:none!important}
body.tah-portal-page{margin-top:0!important;padding-top:0!important}
body.tah-portal-page .wp-site-blocks{padding-top:0!important}
.tahd-topbar__title{display:inline-flex;align-items:center;gap:8px;font:800 1rem var(--tahd-font,inherit);color:#0b1f44}
.tahd-topbar__logo{width:32px;height:32px;border-radius:8px;object-fit:contain}
/* V2.24.1 Active jobs: compact summary rows (service, reference, status, date, one clear action); no dead space */
.tahd-card--jobs{padding-top:14px;padding-bottom:14px}
.tahd-card--jobs h3{margin:0 0 8px}
.tahd-card--jobs>.tahd-muted{margin:0}
.tahd-card--jobs .tahd-list{margin:0 0 10px;gap:0}
.tahd-list>li.tahd-job-row{grid-template-columns:40px minmax(0,1fr);gap:2px 12px;padding:10px 0;border-top:1px solid #e6ebf5;align-items:center}
.tahd-card--jobs .tahd-list>li.tahd-job-row:first-child{border-top:0;padding-top:2px}
.tahd-card--jobs .tahd-job-row__ico{width:40px;height:40px;grid-row:1/2}
.tahd-card--jobs .tahd-job-row__title{font-size:.98rem}
.tahd-card--jobs .tahd-job-row__ref{display:inline;margin-right:8px}
.tahd-card--jobs .tahd-job-row__meta{margin-top:2px}
.tahd-card--jobs .tahd-job-row .tahd-actions{grid-column:2;margin-top:4px}
.tahd-card--jobs .tahd-job-row .tahd-actions .tahd-btn{min-height:42px;padding:0 14px;font-size:.88rem}
@media(min-width:640px){.tahd-card--jobs .tahd-list>li.tahd-job-row{grid-template-columns:40px minmax(0,1fr) auto}.tahd-card--jobs .tahd-job-row .tahd-actions{grid-column:3;grid-row:1;margin:0}}
.tahd-viewall{display:inline-flex!important;align-items:center;gap:8px;min-height:42px;width:100%;justify-content:center;font-weight:800;border-width:2px}
@media(min-width:640px){.tahd-viewall{width:auto}}
/* V2.24.1 compact featured Extras strip (dashboard) and slim Flex invitation */
.tahx-cx{padding:14px 16px}
.tahx-cx__head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px}
.tahx-cx__head h3{margin:0;font-size:1.05rem}
.tahx-cx__all{font-weight:800;font-size:.88rem;color:#0b3d91;text-decoration:none;white-space:nowrap;border:2px solid #0b3d91;border-radius:999px;padding:6px 12px}
.tahx-cx__all:hover,.tahx-cx__all:focus-visible{background:#0b3d91;color:#fff}
.tahx-cx__list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.tahx-cx__item{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:12px;align-items:center;text-decoration:none;color:inherit;border:1px solid #dbe3f2;border-radius:12px;padding:8px;background:#fff}
.tahx-cx__item:hover,.tahx-cx__item:focus-visible{border-color:#0b3d91;box-shadow:0 3px 10px rgba(11,31,68,.1)}
.tahx-cx__img{display:block;width:76px;height:56px;border-radius:8px;overflow:hidden;background:#0b1f4d}
.tahx-cx__img .tahx-media{width:100%;height:100%;aspect-ratio:auto;margin:0;border-radius:0}
.tahx-cx__img img,.tahx-cx__img picture{width:100%;height:100%;object-fit:cover;display:block}
.tahx-cx__img .tahx-media::after{display:none}
.tahx-cx__txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.tahx-cx__txt strong{font-size:.95rem;line-height:1.3;color:#0b1f44}
.tahx-cx__txt small{font-size:.78rem;color:#5b6678}
.tahx-cx__go{background:#f5c400;color:#0b1f44;font-weight:800;font-size:.85rem;border-radius:10px;padding:9px 12px;white-space:nowrap}
@media(max-width:560px){.tahx-cx__item{grid-template-columns:56px minmax(0,1fr) auto;gap:10px}.tahx-cx__img{width:56px;height:48px}.tahx-cx__txt strong{font-size:.88rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tahx-cx__txt small{display:none}.tahx-cx__go{padding:0 12px;min-height:40px;display:inline-flex;align-items:center;font-size:.8rem}}
.tahx-xs--slim .tahx-media{display:none}
.tahx-xs--slim .tahx-xc--wide{display:block}
.tahx-xs--slim{padding:14px 16px}
/* V2.24.1 Diaspora Care+ product page */
.tahdc-hero{background:linear-gradient(115deg,#0b1f4d,#1d3f9e);color:#fff;border:0}
.tahdc-hero h3{color:#fff;margin:0 0 6px}.tahdc-hero p{margin:0;color:#e6ecff}
.tahdc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin:0 0 16px}
.tahdc-tile{background:#fff;border:1px solid #dbe3f2;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:6px}
.tahdc-tile h4{margin:0;font-size:1rem;color:#0b1f44}.tahdc-tile p{margin:0;font-size:.9rem;color:#475569;line-height:1.5}
.tahdc-tile__ico{width:40px;height:40px;border-radius:10px;background:#eaf2ff;color:#0b3d91;display:flex;align-items:center;justify-content:center}
.tahdc-tile__ico svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tahdc-tile--visit{border-style:dashed;background:#f8faff}.tahdc-tile--visit.is-on{border-style:solid;background:#fff}
.tahdc-badge{align-self:flex-start;margin-top:auto;font-size:.78rem;font-weight:800;border-radius:999px;padding:4px 10px;background:#fff3c4;color:#7a5a00}
.tahdc-badge--on{background:#d9f3e4;color:#0a6b3a}
.tahdc-verify{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:10px}
.tahdc-verify li{display:grid;gap:2px;padding:10px 12px;border-left:4px solid #1d3f9e;background:#f6f8ff;border-radius:8px}.tahdc-verify li:first-child{border-left-color:#0a6b3a}.tahdc-verify b{color:#0b1f44}.tahdc-verify span{color:#475569;font-size:.9rem}
.tahdc-steps{margin:8px 0 0;padding-left:20px;display:grid;gap:8px}
/* V2.24.1 Artisan application: The Accra Handyman identity (navy, royal blue, purple accent, yellow actions), responsive spacing, progress and upload guidance */
.tah-art--branded{background:linear-gradient(180deg,#eef3fc 0,#f7f9fe 320px);padding:14px 12px 28px;min-height:60vh}
.tah-art--branded .tahd-auth__wrap{max-width:640px;margin:0 auto}
.tah-art--branded .tahd-auth__card{background:#fff;border:1px solid #dbe3f2;border-radius:18px;box-shadow:0 8px 26px rgba(11,31,68,.08);overflow:hidden}
.tah-art--branded .tahd-auth__body{padding:18px 18px 22px}
.tah-art--branded .tahd-auth__brand{display:flex;align-items:center;gap:12px;margin:0 0 12px}
.tah-art--branded .tahd-auth__logo{width:48px;height:48px;border-radius:12px;object-fit:contain}
.tah-art--branded .tahd-auth__sub{font:700 .78rem var(--tahd-font,inherit);letter-spacing:.12em;text-transform:uppercase;color:#4b3aa8}
.tah-art--branded .tahd-hero{margin:0 0 14px}
.tah-art--branded .tahd-auth__h{font-size:1.45rem;line-height:1.25;color:#0b1f4d;margin:6px 0 8px}
.tah-art--branded .tahd-auth__h2{font-size:1.1rem;color:#0b1f4d;margin:18px 0 8px;padding-top:14px;border-top:1px solid #e6ebf5}
.tah-art--branded .tahd-auth__p{color:#334155}
.tah-art--branded .tah-art__how{background:#f6f8ff;border:1px solid #dbe3f2;border-radius:12px;padding:14px 16px 14px 34px;margin:12px 0;display:grid;gap:8px}
.tah-art--branded .tah-field{margin:0 0 14px}
.tah-art--branded .tah-field label{font-weight:700;color:#0b1f4d;margin:0 0 4px;display:block}
.tah-art--branded input[type=text],.tah-art--branded input[type=email],.tah-art--branded input[type=tel],.tah-art--branded input[type=password],.tah-art--branded input[type=number],.tah-art--branded textarea,.tah-art--branded select{width:100%;box-sizing:border-box;min-height:48px;border:1.5px solid #b9c6e0;border-radius:10px;padding:10px 12px;font-size:1rem;background:#fff}
.tah-art--branded input:focus,.tah-art--branded textarea:focus,.tah-art--branded select:focus{outline:3px solid rgba(29,63,158,.35);border-color:#1d3f9e}
.tah-art--branded .tahd-btn--primary{background:#f5c400;color:#0b1f44;border:0;font-weight:800;min-height:50px;border-radius:12px}
.tah-art--branded .tahd-btn--primary:hover,.tah-art--branded .tahd-btn--primary:focus-visible{background:#ffd633}
.tah-art--branded .tahd-btn--secondary{border:2px solid #0b3d91;color:#0b3d91;background:#fff;font-weight:800;min-height:46px;border-radius:12px}
.tah-art--branded .tah-art__step{border:1px solid #dbe3f2;border-radius:14px;margin:0 0 10px;background:#fff;overflow:hidden}
.tah-art--branded .tah-art__step>summary{padding:14px 16px;font-weight:800;color:#0b1f4d;cursor:pointer;display:flex;align-items:center;gap:10px;background:#f6f8ff}
.tah-art--branded .tah-art__step>*:not(summary){margin-left:16px;margin-right:16px}
.tah-art--branded .tah-art__step[open]>summary{border-bottom:1px solid #dbe3f2}
.tah-art--branded .tah-art__badge{font-size:.72rem;border-radius:999px;padding:3px 9px;font-weight:800}
.tah-art--branded .tah-art__badge--ok{background:#d9f3e4;color:#0a6b3a}
.tah-art--branded .tah-art__badge--todo{background:#fff3c4;color:#7a5a00}
.tah-art__progress{background:#f6f8ff;border:1px solid #dbe3f2;border-radius:14px;padding:14px 16px;margin:0 0 14px}
.tah-art__progress p{margin:0 0 8px;display:flex;flex-direction:column;gap:2px}
.tah-art__bar{height:10px;border-radius:999px;background:#dfe6f6;overflow:hidden}
.tah-art__bar span{display:block;height:100%;background:linear-gradient(90deg,#1d3f9e,#5b3fc4);border-radius:999px}
.tah-art__steps{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:.82rem;color:#475569}
.tah-art__steps li{display:inline-flex;align-items:center;gap:6px}
.tah-art__steps li>span{width:18px;height:18px;border-radius:50%;border:2px solid #b9c6e0;display:inline-flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:800;color:#fff}
.tah-art__steps li.is-done{color:#0a6b3a;font-weight:700}.tah-art__steps li.is-done>span{background:#0a6b3a;border-color:#0a6b3a}
.tah-art__tips{border-left:4px solid #f5c400;background:#fffbea;border-radius:8px;padding:10px 14px;margin:10px 0;font-size:.9rem;color:#334155}
.tah-art__tips ul{margin:6px 0 0;padding-left:18px}
@media(max-width:480px){.tah-art--branded{padding:10px 8px 24px}.tah-art--branded .tahd-auth__body{padding:14px 14px 18px}.tah-art--branded .tahd-auth__h{font-size:1.3rem}}

/* V2.24.2 Project Check product page (same navy/blue treatment as Diaspora Care+) */
.tahpc-hero{position:relative;overflow:hidden;border-radius:18px;margin:0 0 14px;color:#fff;background:#0b1f4d var(--tahpc-img) center right/cover no-repeat;min-height:340px;display:flex;align-items:stretch}
.tahpc-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(8,22,60,.97) 0%,rgba(11,31,77,.92) 42%,rgba(29,63,158,.55) 72%,rgba(29,63,158,.25) 100%)}
.tahpc-hero__body{position:relative;padding:28px 26px 22px;max-width:640px;display:flex;flex-direction:column;gap:8px}
.tahpc-eyebrow{margin:0;font-size:.78rem;font-weight:800;letter-spacing:.12em;color:#ffc10c}
.tahpc-hero h1{margin:0;color:#fff;font-size:clamp(1.7rem,4.6vw,2.6rem);line-height:1.12;font-weight:800}
.tahpc-lead{margin:2px 0 0;font-size:1.12rem;font-weight:700;color:#fff}
.tahpc-sub{margin:0;color:#dbe6ff;line-height:1.55;max-width:34em}
.tahpc-cta{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 4px}
.tahpc-cta .tahd-btn{min-height:46px}
.tahpc-btn-ghost{background:rgba(255,255,255,.08);color:#fff!important;border:1px solid rgba(255,255,255,.7)}
.tahpc-chips{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px 22px}
.tahpc-chips li{display:flex;align-items:center;gap:8px;font-size:.84rem;color:#e6ecff;max-width:12em;line-height:1.3}
.tahpc-chips span{width:34px;height:34px;flex:0 0 auto;border:1px solid rgba(255,255,255,.55);border-radius:50%;display:flex;align-items:center;justify-content:center}
.tahpc-chips svg,.tahpc-trust svg,.tahpc-ico svg,.tahpc-in svg,.tahpc-ex svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tahpc-trust{list-style:none;margin:0 0 14px;padding:12px 14px;background:#f3f6fc;border:1px solid #dbe3f2;border-radius:14px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.tahpc-trust li{display:flex;align-items:center;gap:8px;font-size:.85rem;color:#0b1f44;line-height:1.3}
.tahpc-trust span{color:#1d3f9e;flex:0 0 auto;display:flex}
.tahpc-sec{margin:0 0 14px}
.tahpc-h{margin:0 0 12px;font-size:1.25rem;color:#0b1f44;position:relative;padding-bottom:8px}
.tahpc-h::after{content:"";position:absolute;left:0;bottom:0;width:44px;height:3px;border-radius:3px;background:#ffc10c}
.tahpc-h4{margin:14px 0 6px;color:#0b1f44}
.tahpc-opts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tahpc-opt{display:flex;flex-direction:column;gap:10px;background:#f6f9ff;border:1px solid #dbe3f2;border-radius:14px;padding:16px}
.tahpc-opt__top{display:flex;gap:12px;align-items:flex-start}
.tahpc-opt h4{margin:0 0 2px;font-size:1.05rem;color:#0b1f44}.tahpc-opt p{margin:0;color:#475569;font-size:.9rem;line-height:1.45}
.tahpc-ico{width:42px;height:42px;flex:0 0 auto;border-radius:10px;background:#e4edff;color:#0b3d91;display:flex;align-items:center;justify-content:center}
.tahpc-ico--lg{width:54px;height:54px;border-radius:50%}.tahpc-ico--lg svg{width:28px;height:28px}
.tahpc-opt ul{list-style:none;margin:0;padding:0;display:grid;gap:7px;flex:1}
.tahpc-opt li{position:relative;padding-left:24px;font-size:.92rem;color:#1f2937;line-height:1.4}
.tahpc-opt li::before{content:"";position:absolute;left:0;top:.2em;width:16px;height:16px;border-radius:50%;background:#1d3f9e url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px no-repeat}
.tahpc-opt .tahd-btn{width:100%;min-height:44px;justify-content:center;text-align:center}
.tahpc-fine{margin:12px 0 0;font-size:.85rem}
.tahpc-two{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:14px;margin:0 0 14px}.tahpc-two>.tahd-card{margin:0}
.tahpc-two--ie{grid-template-columns:repeat(2,minmax(0,1fr))}
.tahpc-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.tahpc-steps li{display:flex;flex-direction:column;gap:6px}.tahpc-steps b{color:#0b1f44}.tahpc-steps p{margin:2px 0 0;font-size:.88rem;color:#475569;line-height:1.45}
.tahpc-n{width:34px;height:34px;border-radius:50%;background:#1d3f9e;color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center}
.tahpc-pro{background:#eef4ff;text-align:left;display:flex;flex-direction:column;gap:8px;align-items:flex-start}.tahpc-pro h3{margin:0;color:#0b1f44}.tahpc-pro p{margin:0;color:#475569;font-size:.92rem;line-height:1.5}
.tahpc-in,.tahpc-ex{}
.tahpc-in ul,.tahpc-ex ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.tahpc-in li,.tahpc-ex li{display:flex;gap:10px;align-items:flex-start;font-size:.94rem;line-height:1.4}
.tahpc-in li span{color:#0a6b3a;flex:0 0 auto;display:flex}.tahpc-ex li span{color:#b32d2e;flex:0 0 auto;display:flex}
.tahpc-ex{background:#fff7f6;border-color:#f3d4d0}
.tahpc-quote form{display:grid;gap:12px;max-width:760px}.tahpc-quote label{display:grid;gap:4px;font-weight:600;font-size:.92rem;color:#0b1f44}
.tahpc-quote input:not([type=checkbox]):not([type=hidden]):not([type=file]),.tahpc-quote select,.tahpc-quote textarea{width:100%;min-height:44px;box-sizing:border-box;font-size:16px}
.tahpc-quote button.tahd-btn{min-height:48px}
.tahpc-faqs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}
.tahpc-faqs details{border:1px solid #dbe3f2;border-radius:10px;padding:0;background:#fff}
.tahpc-faqs summary{cursor:pointer;padding:12px 14px;font-weight:700;color:#0b1f44;min-height:44px;box-sizing:border-box;display:flex;align-items:center}
.tahpc-faqs details p{margin:0;padding:0 14px 14px;color:#475569;line-height:1.5;font-size:.92rem}
.tahpc-band{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;background:linear-gradient(115deg,#0b1f4d,#1d3f9e);color:#fff;border-radius:16px;padding:20px 22px;margin:0 0 14px}
.tahpc-band h3{margin:0 0 2px;color:#fff}.tahpc-band p{margin:0;color:#dbe6ff}
@media (max-width:900px){.tahpc-trust{grid-template-columns:repeat(2,minmax(0,1fr))}.tahpc-opts{grid-template-columns:1fr}.tahpc-two,.tahpc-two--ie{grid-template-columns:1fr}.tahpc-steps{grid-template-columns:1fr 1fr}.tahpc-faqs{grid-template-columns:1fr}}
@media (max-width:560px){.tahpc-hero{min-height:0}.tahpc-hero__body{padding:22px 18px 18px}.tahpc-hero::before{background:linear-gradient(180deg,rgba(8,22,60,.94),rgba(11,31,77,.9) 60%,rgba(29,63,158,.7))}.tahpc-cta .tahd-btn{flex:1 1 100%;justify-content:center;text-align:center}.tahpc-steps{grid-template-columns:1fr}.tahpc-chips li{max-width:none;flex:1 1 100%}.tahpc-trust{grid-template-columns:1fr}.tahpc-band .tahd-btn{width:100%;justify-content:center}}
.tahpc-two>.tahpc-sec .tahpc-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
@media (max-width:560px){.tahpc-two>.tahpc-sec .tahpc-steps{grid-template-columns:1fr}}

/* V2.24.2 Diaspora Care+ pricing and enrolment */
.tahdc-price{display:grid;gap:12px;grid-template-columns:1fr;margin:10px 0}
.tahdc-price__opt{position:relative;border:1px solid #d0d7de;border-radius:12px;padding:16px;background:#fff}
.tahdc-price__opt--best{border-color:#0b3b66;box-shadow:0 0 0 2px #e6eef6}
.tahdc-price__opt h4{margin:0 0 6px}
.tahdc-price__amt{margin:0 0 6px;font-size:1.7rem;font-weight:700;color:#0b3b66}
.tahdc-price__amt span{font-size:.95rem;font-weight:500;color:#475467}
.tahdc-price__opt .tahdc-badge{position:absolute;top:12px;right:12px}
.tahdc-form label{display:block;margin:10px 0}
.tahdc-form input[type=text],.tahdc-form select,.tahdc-form textarea{width:100%;max-width:560px}
.tahdc-more{margin-top:14px}
.tahdc-cols{display:grid;gap:16px;grid-template-columns:1fr}
@media (min-width:700px){.tahdc-price,.tahdc-cols{grid-template-columns:1fr 1fr}}
.tahpc-from__main{margin:0 0 4px;font-size:1.05rem}.tahpc-from__main b{font-size:1.9rem;color:#0b3b66}

/* V2.24.2 r2: the payment-option select sits on its own line, full width, like the other fields */
.tahdc-form select,#dc-enrol select{display:block;width:100%;min-height:44px;margin-top:4px}
