/* Social Housing Connect: Member Portal */
:root {
	--shc-brown: #4F433A;
	--shc-brown-deep: #3B312A;
	--shc-gold: #A37A3B;
	--shc-gold-soft: #DDC289;
	--shc-blush: #E6D6CE;
	--shc-cream: #FCFAF8;
	--shc-stone: #F5F4F0;
	--shc-ink: #2F2924;
	--shc-text: #3d3631;
	--shc-muted: #75695F;
	--shc-line: #E8DFD6;
	--shc-white: #FFFFFF;
	--shc-urgent: #A6492B;
	--shc-ok: #3E7550;
	--shc-error: #A33B3B;
	--shc-radius: 12px;
	--shc-shadow: 0 1px 2px rgba(59, 49, 42, .06), 0 8px 24px rgba(59, 49, 42, .07);
	--shc-font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.shc-body { margin: 0; font-family: var(--shc-font); font-size: 15px; line-height: 1.6; color: var(--shc-text); background: var(--shc-cream); -webkit-font-smoothing: antialiased; }
.shc-body img { max-width: 100%; height: auto; display: block; }
.shc-body a { color: inherit; }
.shc-body h1, .shc-body h2, .shc-body h3 { color: var(--shc-ink); margin: 0; line-height: 1.2; }
.shc-body p { margin: 0; }
.shc-body button, .shc-body input, .shc-body select, .shc-body textarea { font: inherit; color: inherit; }
.shc-body [hidden] { display: none !important; }
.shc-ico { flex: none; }
.shc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shc-skip { position: absolute; left: -999px; top: 8px; background: var(--shc-brown); color: #fff !important; padding: 8px 14px; border-radius: 6px; z-index: 50; }
.shc-skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--shc-gold); outline-offset: 2px; }

.shc-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .shc-wrap { padding: 0 28px; } }

.shc-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--shc-gold); }
.shc-muted { color: var(--shc-muted); }
.shc-small { font-size: 13px; }
.shc-link { color: var(--shc-gold) !important; font-weight: 600; text-decoration: none; }
.shc-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.shc-linkbtn { background: none; border: 0; padding: 0; color: var(--shc-gold); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Buttons */
.shc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; border: 1px solid var(--shc-brown); border-radius: 8px; background: var(--shc-brown); color: #fff !important; font-weight: 600; font-size: 14px; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .05s; }
.shc-btn:hover { background: var(--shc-gold); border-color: var(--shc-gold); }
.shc-btn:active { transform: translateY(1px); }
.shc-btn[disabled] { opacity: .6; cursor: progress; }
.shc-btn--block { width: 100%; }
.shc-btn--ghost { background: transparent; color: var(--shc-brown) !important; border-color: var(--shc-line); }
.shc-btn--ghost:hover { background: var(--shc-stone); border-color: var(--shc-gold-soft); }
.shc-iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; border: 0; background: transparent; color: var(--shc-muted); cursor: pointer; }
.shc-iconbtn:hover { background: var(--shc-stone); color: var(--shc-ink); }

/* Forms */
.shc-form { display: grid; gap: 16px; }
.shc-field { display: grid; gap: 6px; }
.shc-field label { font-size: 13px; font-weight: 600; color: var(--shc-ink); }
.shc-field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.shc-field-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .shc-field-grid { grid-template-columns: 1fr 1fr; } }
.shc-field input, .shc-field textarea, .shc-select select, .shc-filters__search input {
	width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--shc-line); border-radius: 8px; background: var(--shc-white); font-size: 15px; transition: border-color .15s, box-shadow .15s;
}
.shc-field textarea { min-height: 110px; resize: vertical; }
.shc-field input:focus, .shc-field textarea:focus, .shc-select select:focus, .shc-filters__search input:focus { outline: none; border-color: var(--shc-gold); box-shadow: 0 0 0 3px rgba(163, 122, 59, .18); }
.shc-hint { font-size: 12px; color: var(--shc-muted); }
.shc-check { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.shc-check input { width: 18px; height: 18px; accent-color: var(--shc-brown); margin: 0; }
.shc-password { position: relative; }
.shc-password input { padding-right: 48px; }
.shc-password__toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 38px; display: grid; place-items: center; border: 0; background: transparent; color: var(--shc-muted); border-radius: 6px; cursor: pointer; }
.shc-password__toggle[aria-pressed="true"] { color: var(--shc-gold); }

/* Notices */
.shc-notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 8px; font-size: 14px; line-height: 1.5; border: 1px solid; }
.shc-notice .shc-ico { margin-top: 2px; }
.shc-notice--ok { background: #EEF5F0; border-color: #CFE3D6; color: #24492F; }
.shc-notice--error { background: #FBEFEC; border-color: #F0D2CB; color: #7A2A1C; }
.shc-notice--admin { background: var(--shc-white); border-color: var(--shc-gold-soft); color: var(--shc-brown); margin-top: 18px; }
.shc-notice--admin a { color: var(--shc-gold); font-weight: 600; }

/* ---------- Sign-in landing ---------- */
body.shc-body--auth { background-color: var(--shc-brown); background-image: radial-gradient(1200px 600px at 10% -10%, rgba(221, 194, 137, .18), transparent 60%), radial-gradient(900px 500px at 110% 110%, rgba(163, 122, 59, .22), transparent 60%); min-height: 100vh; }
.shc-auth { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.shc-auth__shell { width: 100%; max-width: 1000px; display: grid; grid-template-columns: 1fr; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .28); background: var(--shc-white); }
.shc-auth__shell--single { max-width: 520px; }
@media (min-width: 860px) { .shc-auth__shell:not(.shc-auth__shell--single) { grid-template-columns: 1.05fr 1fr; } }
.shc-auth__brand { position: relative; padding: 32px 24px; background: linear-gradient(160deg, var(--shc-cream) 0%, var(--shc-stone) 55%, var(--shc-blush) 140%); display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 860px) { .shc-auth__brand { padding: 52px 48px; } }
.shc-auth__brand::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--shc-gold), var(--shc-gold-soft)); }
@media (min-width: 860px) { .shc-auth__brand::after { inset: 0 0 0 auto; width: 4px; height: auto; background: linear-gradient(180deg, var(--shc-gold), var(--shc-gold-soft)); } }
.shc-auth__logo { display: block; align-self: center; margin-bottom: 18px; }
.shc-auth__logo .shc-logo { margin: 0 auto; }
.shc-logo--large { width: 240px; }
@media (min-width: 860px) { .shc-logo--large { width: 290px; } }
.shc-auth__title { font-size: 34px; font-weight: 300; letter-spacing: .04em; text-transform: uppercase; color: var(--shc-brown); }
@media (min-width: 860px) { .shc-auth__title { font-size: 42px; } }
.shc-auth__lede { font-size: 15px; color: var(--shc-text); max-width: 40ch; }
.shc-auth__points { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.shc-auth__points li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--shc-brown); }
.shc-auth__points .shc-ico { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--shc-white); color: var(--shc-gold); box-shadow: 0 1px 3px rgba(79, 67, 58, .12); }
.shc-auth__panel { padding: 32px 24px 28px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
@media (min-width: 860px) { .shc-auth__panel { padding: 52px 48px; } }
.shc-auth__panel--center { text-align: center; align-items: center; }
.shc-logo--mid { width: 200px; margin: 0 auto 8px; }
.shc-auth__heading { font-size: 24px; font-weight: 600; color: var(--shc-brown); }
.shc-auth__join { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--shc-line); font-size: 14px; }
.shc-back { text-align: center; font-size: 13px; color: var(--shc-muted) !important; text-decoration: none; }
.shc-back:hover { color: var(--shc-brown) !important; }
.shc-contact-line { font-size: 14px; }

/* ---------- App chrome ---------- */
.shc-top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1px solid var(--shc-line); }
.shc-top__inner { display: flex; align-items: center; gap: 12px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.shc-top__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.shc-top__brand .shc-logo { height: 46px; width: auto; }
@media (min-width: 720px) { .shc-top__brand .shc-logo { height: 54px; } }
.shc-top__tag { display: none; padding-left: 12px; border-left: 1px solid var(--shc-line); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--shc-brown); }
@media (min-width: 560px) { .shc-top__tag { display: inline; } }
.shc-tabs { order: 3; width: 100%; display: flex; gap: 4px; padding: 4px; background: var(--shc-stone); border-radius: 10px; }
@media (min-width: 1120px) { .shc-tabs { order: 0; width: auto; } }
.shc-tab { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 12px; white-space: nowrap; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--shc-muted) !important; }
.shc-tab:hover { color: var(--shc-brown) !important; }
.shc-tab.is-active { background: var(--shc-white); color: var(--shc-brown) !important; box-shadow: 0 1px 3px rgba(59, 49, 42, .12); }
.shc-top__user { display: flex; align-items: center; gap: 10px; }
.shc-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--shc-brown); color: var(--shc-gold-soft); font-weight: 600; font-size: 14px; }
.shc-top__name { display: none; font-size: 14px; font-weight: 600; color: var(--shc-ink); }
@media (min-width: 640px) { .shc-top__name { display: inline; } }
.shc-top__out { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--shc-muted) !important; text-decoration: none; }
.shc-top__out:hover { background: var(--shc-stone); color: var(--shc-brown) !important; }
.shc-top__out span { display: none; }
@media (min-width: 480px) { .shc-top__out span { display: inline; } }

/* Hero */
.shc-hero { background: var(--shc-brown); background-image: radial-gradient(900px 400px at 85% -20%, rgba(221, 194, 137, .22), transparent 60%); color: #F3EDE6; padding: 40px 0 64px; }
.shc-hero--slim { padding: 34px 0 40px; }
.shc-hero .shc-eyebrow { color: var(--shc-gold-soft); }
.shc-hero__title { margin-top: 8px !important; font-size: 30px; font-weight: 300; letter-spacing: .03em; color: #fff !important; }
@media (min-width: 720px) { .shc-hero__title { font-size: 40px; } }
.shc-hero__lede { margin-top: 12px !important; max-width: 62ch; color: #E9E0D6; }
.shc-stats { margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 820px) { .shc-stats { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.shc-stat { padding: 14px 16px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(221, 194, 137, .25); }
.shc-stat dt { font-size: 12px; font-weight: 500; color: #D9CDBF; }
.shc-stat dd { margin: 2px 0 0; font-size: 28px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.shc-stat__date { font-size: 18px !important; padding-top: 8px; }

/* Filters */
.shc-filters { position: relative; margin-top: -34px; padding: 16px; background: var(--shc-white); border: 1px solid var(--shc-line); border-radius: var(--shc-radius); box-shadow: var(--shc-shadow); display: grid; gap: 14px; }
@media (min-width: 720px) { .shc-filters { padding: 20px; } }
.shc-filters__search { position: relative; }
.shc-filters__search .shc-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--shc-muted); }
.shc-filters__search input { padding-left: 42px; background: var(--shc-cream); }
.shc-filters__selects { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .shc-filters__selects { grid-template-columns: repeat(3, 1fr); } }
.shc-select { display: grid; gap: 4px; }
.shc-select span { font-size: 12px; font-weight: 600; color: var(--shc-muted); letter-spacing: .02em; }
.shc-select select { appearance: none; -webkit-appearance: none; padding-right: 38px; background: var(--shc-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2375695F' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; cursor: pointer; }
.shc-filters__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.shc-count { font-size: 13px; font-weight: 600; color: var(--shc-muted); }

/* Cards */
.shc-main { min-height: 50vh; padding-bottom: 56px; }
.shc-list { margin-top: 22px; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .shc-list { grid-template-columns: 1fr 1fr; } }
.shc-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--shc-white); border: 1px solid var(--shc-line); border-radius: var(--shc-radius); box-shadow: 0 1px 2px rgba(59, 49, 42, .04); transition: box-shadow .2s, border-color .2s; }
@media (min-width: 720px) { .shc-card { padding: 24px; } }
.shc-card:hover { border-color: var(--shc-gold-soft); box-shadow: var(--shc-shadow); }
.shc-card.is-urgent { border-color: #E7C3B5; }
.shc-card.is-urgent::before { content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--shc-urgent); }
.shc-card.is-filled { background: var(--shc-stone); }
.shc-card.is-filled .shc-card__title { color: var(--shc-muted); }
.shc-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; }
.shc-ref { font-weight: 600; letter-spacing: .08em; color: var(--shc-gold); }
.shc-card__date { margin-left: auto; color: var(--shc-muted); }
.shc-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.shc-pill .shc-ico { width: 13px; height: 13px; }
.shc-pill--new { background: #F6EDD9; color: #7A5A22; }
.shc-pill--urgent { background: #F8E4DC; color: var(--shc-urgent); }
.shc-pill--filled { background: var(--shc-line); color: var(--shc-muted); padding-left: 9px; }
.shc-card__title { font-size: 19px; font-weight: 600; letter-spacing: .005em; }
.shc-card__loc { display: flex; gap: 6px; align-items: flex-start; font-size: 14px; font-weight: 500; color: var(--shc-brown); }
.shc-card__loc .shc-ico { margin-top: 2px; color: var(--shc-gold); }
.shc-facts { margin: 2px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.shc-fact { padding: 10px 12px; border-radius: 8px; background: var(--shc-stone); }
.shc-fact dt { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--shc-muted); }
.shc-fact dt .shc-ico { width: 14px; height: 14px; color: var(--shc-gold); }
.shc-fact dd { margin: 3px 0 0; font-size: 14px; font-weight: 600; color: var(--shc-ink); line-height: 1.4; }
.shc-card__summary { font-size: 14px; color: var(--shc-text); }
.shc-details { border-top: 1px solid var(--shc-line); padding-top: 10px; }
.shc-details summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--shc-brown); list-style: none; display: flex; align-items: center; gap: 8px; min-height: 32px; }
.shc-details summary::-webkit-details-marker { display: none; }
.shc-details summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--shc-gold); border-bottom: 2px solid var(--shc-gold); transform: rotate(-45deg); transition: transform .15s; margin-right: 2px; }
.shc-details[open] summary::before { transform: rotate(45deg); }
.shc-prose { margin-top: 8px; font-size: 14px; }
.shc-prose p, .shc-prose ul, .shc-prose ol { margin: 0 0 10px; }
.shc-prose ul, .shc-prose ol { padding-left: 20px; }
.shc-prose li { margin-bottom: 4px; }
.shc-prose h2, .shc-prose h3, .shc-prose h4 { font-size: 15px; font-weight: 600; margin: 14px 0 6px; }
.shc-card__actions { margin-top: auto; padding-top: 4px; }
@media (max-width: 519px) { .shc-card__actions .shc-btn { width: 100%; } }

.shc-empty { margin-top: 22px; padding: 48px 20px; text-align: center; background: var(--shc-white); border: 1px dashed var(--shc-gold-soft); border-radius: var(--shc-radius); display: grid; justify-items: center; gap: 6px; }
.shc-empty > .shc-ico { width: 32px; height: 32px; color: var(--shc-gold); margin-bottom: 6px; }
.shc-empty__title { font-weight: 600; color: var(--shc-ink); font-size: 16px; }

/* Account */
.shc-account { margin-top: -20px; display: grid; gap: 16px; }
.shc-account__grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .shc-account__grid { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.shc-panel { padding: 22px; background: var(--shc-white); border: 1px solid var(--shc-line); border-radius: var(--shc-radius); box-shadow: var(--shc-shadow); display: grid; gap: 16px; }
@media (min-width: 720px) { .shc-panel { padding: 28px; } }
.shc-panel__title { font-size: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--shc-brown) !important; }
.shc-kv { margin: 0; display: grid; }
.shc-kv > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 11px 0; border-bottom: 1px solid var(--shc-line); }
@media (min-width: 520px) { .shc-kv > div { grid-template-columns: 150px 1fr; gap: 12px; } }
.shc-kv > div:last-child { border-bottom: 0; }
.shc-kv dt { font-size: 13px; color: var(--shc-muted); }
.shc-kv dd { margin: 0; font-weight: 600; color: var(--shc-ink); overflow-wrap: anywhere; }
.shc-status { display: inline-flex; align-items: center; gap: 8px; color: var(--shc-ok); }
.shc-status__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(62, 117, 80, .15); }

/* Footer */
.shc-foot { background: var(--shc-stone); border-top: 1px solid var(--shc-line); padding: 28px 0 22px; }
.shc-foot__inner { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.shc-foot__title { font-weight: 600; color: var(--shc-brown); }
.shc-foot__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.shc-foot__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14px; font-weight: 600; color: var(--shc-brown); text-decoration: none; }
.shc-foot__links a .shc-ico { color: var(--shc-gold); }
.shc-foot__links a:hover { color: var(--shc-gold); }
.shc-foot__legal { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--shc-line); font-size: 12px; color: var(--shc-muted); }

/* Dialog */
.shc-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 16px; background: var(--shc-white); color: var(--shc-text); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.shc-dialog::backdrop { background: rgba(43, 35, 29, .55); }
.shc-dialog .shc-form, .shc-dialog__done { padding: 22px; }
@media (min-width: 520px) { .shc-dialog .shc-form, .shc-dialog__done { padding: 28px; } }
.shc-dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.shc-dialog__title { font-size: 20px; font-weight: 600; color: var(--shc-brown) !important; margin-top: 2px !important; }
.shc-dialog__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
@media (max-width: 519px) { .shc-dialog__actions .shc-btn { flex: 1 1 100%; } }
.shc-dialog__done { text-align: center; display: grid; justify-items: center; gap: 10px; }
.shc-done-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #EEF5F0; color: var(--shc-ok); }
.shc-done-ico .shc-ico { width: 28px; height: 28px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Keep the sign-in form near the top on phones */
@media (max-width: 859px) {
	.shc-auth__points { display: none; }
	.shc-auth__brand { padding-bottom: 26px; }
	.shc-auth__title { font-size: 30px; }
}

/* ---------- Tabs: short labels on phones ---------- */
.shc-tab__short { display: none; }
@media (max-width: 599px) {
	.shc-tab { flex-direction: column; gap: 2px; min-height: 52px; padding: 6px 4px; font-size: 12px; }
	.shc-tab__long { display: none; }
	.shc-tab__short { display: inline; }
}

/* ---------- Shared bits for the new sections ---------- */
.shc-btn--gold { background: var(--shc-gold); border-color: var(--shc-gold); }
.shc-btn--gold:hover { background: var(--shc-brown-deep); border-color: var(--shc-brown-deep); }
.shc-hero .shc-btn--gold:hover { background: #fff; border-color: #fff; color: var(--shc-brown) !important; }
.shc-hero__row { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: flex-end; justify-content: space-between; }
.shc-hero__row > div { min-width: 0; flex: 1 1 420px; }
.shc-crumb { color: var(--shc-gold-soft); text-decoration: none; }
.shc-crumb:hover { text-decoration: underline; }
.shc-linkbtn--muted { color: var(--shc-muted); font-weight: 600; font-size: 14px; }
.shc-linkbtn--muted:hover { color: var(--shc-urgent); }
.shc-req { color: var(--shc-urgent); }
.shc-fs { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.shc-legend { padding: 0; font-size: 13px; font-weight: 600; color: var(--shc-ink); margin-bottom: 4px; }
.shc-field-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 560px) { .shc-field-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .shc-field-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.shc-field select.shc-native, select.shc-native { width: 100%; min-height: 46px; padding: 11px 38px 11px 14px; border: 1px solid var(--shc-line); border-radius: 8px; font-size: 15px; appearance: none; -webkit-appearance: none; background: var(--shc-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2375695F' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center; cursor: pointer; }
select.shc-native:focus { outline: none; border-color: var(--shc-gold); box-shadow: 0 0 0 3px rgba(163, 122, 59, .18); }

/* ---------- My properties ---------- */
.shc-props { margin-top: -20px; display: grid; gap: 16px; }
.shc-empty--props { margin-top: 0; }
.shc-empty--props .shc-btn { margin-top: 10px; }
.shc-proplist { display: grid; gap: 16px; }
.shc-prop { display: grid; grid-template-columns: 1fr; background: var(--shc-white); border: 1px solid var(--shc-line); border-radius: var(--shc-radius); overflow: hidden; box-shadow: var(--shc-shadow); }
@media (min-width: 820px) { .shc-prop { grid-template-columns: 300px minmax(0, 1fr); } }
.shc-prop.is-withdrawn { opacity: .8; }
.shc-prop__media { position: relative; background: var(--shc-stone); min-height: 180px; }
.shc-prop__media img { width: 100%; height: 100%; max-height: 320px; object-fit: cover; }
@media (min-width: 820px) { .shc-prop__media img { position: absolute; inset: 0; max-height: none; } }
.shc-prop__count { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(43, 35, 29, .78); color: #fff; font-size: 12px; font-weight: 600; }
.shc-prop__noimg { height: 100%; min-height: 180px; display: grid; place-content: center; justify-items: center; gap: 6px; color: var(--shc-muted); font-size: 13px; }
.shc-prop__noimg .shc-ico { width: 34px; height: 34px; color: var(--shc-gold-soft); }
.shc-prop__body { padding: 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
@media (min-width: 720px) { .shc-prop__body { padding: 24px; } }
.shc-pill--status { background: var(--shc-stone); color: var(--shc-brown); padding-left: 9px; }
.shc-pill--reviewing { background: #F6EDD9; color: #7A5A22; }
.shc-pill--presented { background: #E9EEF4; color: #33506E; }
.shc-pill--interest { background: #F8E4DC; color: var(--shc-urgent); }
.shc-pill--let { background: #E3F0E7; color: var(--shc-ok); }
.shc-pill--withdrawn { background: var(--shc-line); color: var(--shc-muted); }
.shc-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; counter-reset: step; }
.shc-steps li { position: relative; padding-top: 12px; font-size: 11px; font-weight: 600; line-height: 1.3; color: var(--shc-muted); }
.shc-steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; border-radius: 3px; background: var(--shc-line); }
.shc-steps li.is-done::before { background: var(--shc-gold-soft); }
.shc-steps li.is-current::before { background: var(--shc-gold); }
.shc-steps li.is-current { color: var(--shc-brown); }
@media (max-width: 519px) { .shc-steps li span { display: none; } .shc-steps li.is-current span { display: inline; position: absolute; left: 0; white-space: nowrap; } .shc-steps { padding-bottom: 14px; } }
.shc-msg { padding: 12px 14px; border-radius: 8px; background: #FBF6EC; border: 1px solid #EFDFBF; font-size: 14px; }
.shc-msg__from { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #7A5A22; margin-bottom: 4px !important; }
.shc-msg__from .shc-ico { width: 15px; height: 15px; }
.shc-minifacts { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.shc-minifacts div { display: grid; }
.shc-minifacts dt { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--shc-muted); }
.shc-minifacts dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--shc-ink); }
.shc-docs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; }
.shc-docs .shc-ico { color: var(--shc-gold); }
.shc-prop__actions { margin-top: auto; padding-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.shc-prop__actions form { margin: 0; }

/* Property form */
.shc-propform { margin-top: -20px; gap: 26px; }
.shc-propform .shc-fs + .shc-fs { padding-top: 22px; border-top: 1px solid var(--shc-line); }
.shc-propform__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding-top: 6px; }
@media (max-width: 519px) { .shc-propform__actions .shc-btn { flex: 1 1 100%; } }
.shc-drop { position: relative; display: grid; justify-items: center; gap: 4px; padding: 26px 16px; text-align: center; border: 1.5px dashed var(--shc-gold-soft); border-radius: 10px; background: var(--shc-cream); cursor: pointer; transition: background .15s, border-color .15s; }
.shc-drop:hover, .shc-drop.is-over { background: #FBF6EC; border-color: var(--shc-gold); }
.shc-drop .shc-ico { width: 28px; height: 28px; color: var(--shc-gold); }
.shc-drop__title { font-weight: 600; color: var(--shc-brown); }
.shc-drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.shc-drop:focus-within { outline: 2px solid var(--shc-gold); outline-offset: 2px; }
.shc-files, .shc-picked { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.shc-file { display: grid; gap: 6px; padding: 8px; border: 1px solid var(--shc-line); border-radius: 8px; background: var(--shc-white); min-width: 0; }
.shc-file img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 5px; max-width: 100%; }
.shc-file__doc { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 5px; background: var(--shc-stone); color: var(--shc-gold); }
.shc-file__doc .shc-ico { width: 28px; height: 28px; }
.shc-file__name { font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shc-picked li { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 8px; background: var(--shc-stone); font-size: 13px; font-weight: 600; min-width: 0; }
.shc-picked li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shc-picked li .shc-ico { color: var(--shc-gold); }
.shc-picked li.is-bad { background: #FBEFEC; color: #7A2A1C; }

/* ---------- Book a call ---------- */
.shc-consult { margin-top: -20px; display: grid; gap: 16px; }
.shc-offers { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .shc-offers { grid-template-columns: repeat(3, 1fr); } }
.shc-offer { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: var(--shc-radius); background: var(--shc-white); border: 1px solid var(--shc-line); box-shadow: var(--shc-shadow); text-decoration: none; color: var(--shc-text) !important; transition: border-color .15s, transform .15s; }
.shc-offer:hover { border-color: var(--shc-gold-soft); transform: translateY(-2px); }
.shc-offer__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #FBF6EC; color: var(--shc-gold); margin-bottom: 4px; }
.shc-offer__title { font-weight: 600; font-size: 16px; color: var(--shc-ink); }
.shc-offer__text { font-size: 14px; color: var(--shc-muted); }
.shc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.shc-chip { position: relative; cursor: pointer; }
.shc-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.shc-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--shc-line); background: var(--shc-white); font-size: 14px; font-weight: 500; }
.shc-chip input:checked + span { background: var(--shc-brown); border-color: var(--shc-brown); color: #fff; }
.shc-chip input:focus-visible + span { outline: 2px solid var(--shc-gold); outline-offset: 2px; }
.shc-contactcard { align-content: start; }
#shc-callform { scroll-margin-top: 140px; }
.shc-offer__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--shc-gold); }
.shc-offer__cta .shc-ico { width: 15px; height: 15px; transition: transform .15s; }
.shc-offer:hover .shc-offer__cta .shc-ico { transform: translateX(3px); }

/* ---------- Provider: available properties ---------- */
.shc-listing { padding-top: 0; overflow: hidden; }
.shc-listing > :first-child:not(.shc-gallery) { margin-top: 20px; }
@media (min-width: 720px) { .shc-listing > :first-child:not(.shc-gallery) { margin-top: 24px; } }
.shc-gallery { position: relative; margin: 0 -20px 4px; background: var(--shc-stone); }
@media (min-width: 720px) { .shc-gallery { margin: 0 -24px 4px; } }
.shc-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shc-gallery__track::-webkit-scrollbar { display: none; }
.shc-gallery__track img { flex: 0 0 100%; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; scroll-snap-align: start; max-width: 100%; }
.shc-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--shc-brown); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.shc-gallery__nav--prev { left: 10px; }
.shc-gallery__nav--next { right: 10px; }
.shc-gallery__nav:hover { background: #fff; color: var(--shc-gold); }
.shc-suits { font-size: 14px; color: var(--shc-text); }
.shc-suits strong { color: var(--shc-brown); }
.shc-ticks { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.shc-ticks li { display: flex; gap: 8px; align-items: flex-start; }
.shc-ticks .shc-ico { width: 16px; height: 16px; margin-top: 3px; color: var(--shc-ok); }
.shc-card__actions--row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 519px) { .shc-card__actions--row .shc-btn { flex: 1 1 100%; } }

/* Provider requirements list */
.shc-reqlist { list-style: none; margin: 0; padding: 0; display: grid; }
.shc-reqlist li { display: grid; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--shc-line); }
.shc-reqlist li:first-child { padding-top: 0; }
.shc-reqlist__title { font-weight: 600; color: var(--shc-ink); }
.shc-reqlist__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.shc-gallery--empty { aspect-ratio: 16 / 9; max-height: 260px; width: auto; display: grid; }
.shc-gallery__placeholder { display: grid; place-content: center; justify-items: center; gap: 8px; height: 100%; color: var(--shc-muted); font-size: 14px; font-weight: 600; text-decoration: none; background: repeating-linear-gradient(135deg, var(--shc-stone) 0 14px, #F0EDE6 14px 28px); }
a.shc-gallery__placeholder { color: var(--shc-brown); }
a.shc-gallery__placeholder:hover { color: var(--shc-gold); }
.shc-gallery__placeholder .shc-ico { width: 34px; height: 34px; color: var(--shc-gold); }

/* ---- Insights & Guides ---- */
.shc-ins-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.shc-ins-chip { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--shc-line); background: var(--shc-white); font-size: 14px; font-weight: 500; color: var(--shc-text) !important; text-decoration: none; }
.shc-ins-chip:hover { border-color: var(--shc-gold-soft); }
.shc-ins-chip.is-on { background: var(--shc-brown); border-color: var(--shc-brown); color: #fff !important; }
.shc-ins-grid { margin: 22px 0 8px; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .shc-ins-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .shc-ins-grid { grid-template-columns: repeat(3, 1fr); } }
.shc-ins-card { display: flex; flex-direction: column; overflow: hidden; background: var(--shc-white); border: 1px solid var(--shc-line); border-radius: var(--shc-radius); transition: box-shadow .2s, border-color .2s; }
.shc-ins-card:hover { box-shadow: var(--shc-shadow); border-color: var(--shc-gold-soft); }
.shc-ins-card.is-pinned { border-top: 3px solid var(--shc-gold); }
.shc-ins-card__img { display: block; aspect-ratio: 16 / 9; background: var(--shc-stone); }
.shc-ins-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shc-ins-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px; flex: 1; }
.shc-ins-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.shc-ins-card__title { margin: 0; font-size: 18px; line-height: 1.35; font-weight: 600; }
.shc-ins-card__title a { color: var(--shc-ink) !important; text-decoration: none; }
.shc-ins-card__title a:hover { color: var(--shc-gold) !important; }
.shc-ins-card__title a::after { content: ""; position: absolute; inset: 0; }
.shc-ins-card { position: relative; }
.shc-ins-card__summary { margin: 0; font-size: 14px; color: var(--shc-text); line-height: 1.6; }
.shc-ins-card__foot { margin: auto 0 0; padding-top: 6px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: 13px; color: var(--shc-muted); }
.shc-ins-card__dl { display: inline-flex; align-items: center; gap: 4px; color: var(--shc-gold); font-weight: 600; }
.shc-ins-card__dl .shc-ico { width: 15px; height: 15px; }
.shc-pill--cat { background: var(--shc-stone); color: var(--shc-brown); }
.shc-pill--pinned { background: var(--shc-brown); color: #fff; }
.shc-article { max-width: 760px; margin: 28px auto 0; padding: 28px 20px; background: var(--shc-white); border: 1px solid var(--shc-line); border-radius: var(--shc-radius); }
@media (min-width: 720px) { .shc-article { padding: 40px 48px; margin-top: 36px; } }
.shc-article__back { display: inline-block; margin-bottom: 18px; }
.shc-article__title { margin: 12px 0 6px; font-size: 28px; line-height: 1.25; font-weight: 600; color: var(--shc-ink); }
@media (min-width: 720px) { .shc-article__title { font-size: 34px; } }
.shc-article__meta { margin: 0 0 20px; font-size: 14px; color: var(--shc-muted); }
.shc-article__img { width: 100%; height: auto; border-radius: 10px; margin: 0 0 22px; display: block; }
.shc-article__body { font-size: 16px; line-height: 1.75; color: var(--shc-text); }
.shc-article__body p, .shc-article__body ul, .shc-article__body ol { margin: 0 0 16px; }
.shc-article__body ul, .shc-article__body ol { padding-left: 22px; }
.shc-article__body li { margin-bottom: 6px; }
.shc-article__body h2, .shc-article__body h3, .shc-article__body h4 { margin: 28px 0 10px; font-size: 20px; line-height: 1.35; font-weight: 600; color: var(--shc-brown); }
.shc-article__body a { color: var(--shc-gold); }
.shc-article__body img { max-width: 100%; height: auto; border-radius: 8px; }
.shc-article__cta { margin-top: 30px; padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--shc-cream); border: 1px solid var(--shc-line); border-left: 4px solid var(--shc-gold); border-radius: 10px; }
.shc-article__cta p { margin: 0; }
.shc-article__more { max-width: 760px; margin: 22px auto 0; }
.shc-article__more ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.shc-article__more a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--shc-white); border: 1px solid var(--shc-line); border-radius: 10px; color: var(--shc-ink) !important; text-decoration: none; font-weight: 500; }
.shc-article__more a:hover { border-color: var(--shc-gold-soft); }
/* Five tabs: keep the header on one line on laptop screens */
@media (min-width: 1120px) {
	.shc-top__tag { display: none; }
	.shc-tabs .shc-tab { padding: 8px 10px; gap: 6px; font-size: 13.5px; }
	.shc-top__name { display: none; }
}

/* ---- C2 filter and badges ---- */
@media (min-width: 620px) { .shc-filters__selects--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .shc-filters__selects--4 { grid-template-columns: repeat(4, 1fr); } }
.shc-pill--c2 { background: var(--shc-brown); color: #fff; letter-spacing: .08em; }
.shc-pill--c2-maybe { background: transparent; color: var(--shc-brown); box-shadow: inset 0 0 0 1px var(--shc-brown); }

/* ---- v1.8: matches, certificates, provider requests ---- */
.shc-steps--6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 519px) { .shc-steps li.is-current:nth-last-child(-n+2) span { left: auto; right: 0; } }

.shc-matches, .shc-certs { padding: 12px 14px; border-radius: 8px; background: var(--shc-stone); border: 1px solid var(--shc-line); font-size: 14px; }
.shc-matches__title, .shc-certs__title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 8px; font-weight: 700; color: var(--shc-brown); }
.shc-matches__title .shc-ico, .shc-certs__title .shc-ico { color: var(--shc-gold); }
.shc-matches ul { margin: 0 0 8px; padding: 0; list-style: none; display: grid; gap: 6px; }
.shc-matches li { line-height: 1.4; }
.shc-matches .shc-ref { margin-right: 4px; }
.shc-matches .shc-pill { margin-left: 4px; vertical-align: middle; }
.shc-matches p:last-child, .shc-certs p:last-child { margin-bottom: 0; }

.shc-pill--cert-ok { background: #E3F0E7; color: var(--shc-ok); }
.shc-certs__list { margin: 0 0 8px; padding: 0; list-style: none; display: grid; gap: 6px; }
.shc-cert { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding-left: 12px; border-left: 3px solid var(--shc-ok); }
.shc-cert__name { font-weight: 600; color: var(--shc-ink); }
.shc-cert__state { color: var(--shc-muted); font-size: 13px; }
.shc-cert.is-soon { border-left-color: var(--shc-gold); }
.shc-cert.is-soon .shc-cert__state { color: #8A6428; font-weight: 600; }
.shc-cert.is-expired { border-left-color: var(--shc-urgent); }
.shc-cert.is-expired .shc-cert__state { color: var(--shc-urgent); font-weight: 600; }

.shc-certform__intro { margin: -4px 0 14px; }
.shc-certform { display: grid; gap: 0; border: 1px solid var(--shc-line); border-radius: 10px; overflow: hidden; }
.shc-certrow { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 14px; background: var(--shc-white); }
.shc-certrow + .shc-certrow { border-top: 1px solid var(--shc-line); }
.shc-certrow:nth-child(even) { background: var(--shc-cream); }
.shc-certrow__label { display: flex; flex-direction: column; gap: 2px; }
.shc-certrow .shc-field { margin: 0; }
.shc-certrow input[type="file"] { max-width: 100%; font-size: 13px; }
.shc-certrow__file > .shc-small { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
.shc-certrow__na { align-self: center; }
@media (min-width: 860px) {
	.shc-certrow { grid-template-columns: minmax(0, 1.2fr) 170px minmax(0, 1.3fr) 120px; align-items: start; }
	.shc-certrow__na { align-self: end; padding-bottom: 12px; }
}

.shc-guide-confirm { margin: 4px 0 0; padding: 14px 16px; border-radius: 10px; background: #FBF6EC; border: 1px solid #EFDFBF; font-size: 14px; line-height: 1.5; }
.shc-guide-confirm .shc-check { display: flex; gap: 10px; align-items: flex-start; }
.shc-guide-confirm input { margin-top: 3px; flex: none; }
