/* 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:.66rem}
 .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}
