:root {
  color-scheme: light;
  --ink: #182922;
  --forest: #17372b;
  --forest-dark: #10291f;
  --green: #286249;
  --muted: #56665e;
  --light: #f8f8f2;
  --surface: #fff;
  --line: #dce4de;
  --wash: #eaf1eb;
  --radius: 16px;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 1rem/1.55 var(--sans); color: var(--ink); background: var(--light); }
img { max-width: 100%; display: block; }
a { color: var(--green); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
:focus-visible { outline: 3px solid #ad6c1e; outline-offset: 3px; }
h1[tabindex="-1"]:focus, main[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; z-index: 10; left: 12px; top: 12px; padding: .7rem 1rem; background: white; }
.frame { width: min(1230px, calc(100% - 112px)); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; white-space: nowrap; font-size: 1.34rem; letter-spacing: -.045em; }
.brand strong { font-weight: 750; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--forest); color: #d9edaf; display: flex; align-items: end; justify-content: center; gap: 3px; padding-bottom: 9px; flex: 0 0 auto; }
.brand-mark i { width: 4px; border-radius: 1px; background: currentColor; transform: skewY(-15deg); height: 11px; }
.brand-mark i:nth-child(2) { height: 16px; }
.brand-mark i:nth-child(3) { height: 21px; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: .68rem 1.15rem; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-weight: 650; color: var(--ink); white-space: nowrap; font-size: .93rem; }
.btn-small { min-height: 39px; padding: .45rem .76rem; font-size: .875rem; }
.btn-primary { color: #fff; background: var(--forest); }
.btn-primary:hover { background: #285742; }
.btn-outline { border-color: #bdcbc2; background: transparent; color: var(--forest); }
.btn-outline:hover, .btn-text:hover { background: var(--wash); }
.btn-text { color: var(--forest); background: transparent; }
.btn-light { background: #ecf3d8; color: #193528; }
.btn-light:hover { background: #fff; }
.full { width: 100%; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.eyebrow { font-size: .78rem; font-weight: 740; letter-spacing: .14em; }
.accent { color: #447053; }
.muted { color: var(--muted); }
.site-header { background: var(--light); border-bottom: 1px solid #e2e6dd; }
.topbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.public-nav { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 4vw, 3.25rem); }
.public-nav a { text-decoration: none; color: #364b40; font-size: .9375rem; }
.public-nav a:hover, .module-heading a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); min-height: 560px; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: 56px 66px; }
.hero h1 { font: 400 clamp(4rem, 6.6vw, 6.65rem)/.87 var(--serif); letter-spacing: -.058em; margin: 22px 0 24px; }
.hero h1 em { color: #416750; font-weight: 400; }
.hero-description { color: #485d50; max-width: 28rem; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.55; margin-bottom: 29px; }
.hero-media { min-width: 0; position: relative; }
.hero-media > img { width: 100%; height: clamp(350px, 36vw, 479px); object-fit: cover; object-position: 50% center; border-radius: 14px; background: #dbe7d7; }
.hero-caption { position: absolute; bottom: 17px; left: 17px; display: flex; gap: 12px; align-items: center; border: 1px solid #ffffff90; background: #f8faf1f5; border-radius: 11px; padding: 10px 15px 10px 10px; box-shadow: 0 8px 25px #10291f20; }
.caption-icon, .mini-icon { background: var(--wash); color: var(--green); width: 38px; height: 38px; flex: 0 0 auto; display: inline-grid; place-items: center; border-radius: 8px; }
.caption-icon { background: #dce8d5; width: 44px; height: 44px; }
.hero-caption strong, .hero-caption small { display: block; }
.hero-caption small { color: #52685b; font-size: .8125rem; }
.trust-strip { border-block: 1px solid #dde6dc; background: #edf2e9; }
.trust-items { min-height: 79px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 1rem; }
.trust-items span { display: flex; gap: 10px; align-items: center; justify-content: center; color: #344e40; font-size: 1rem; font-weight: 630; }
.trust-items svg { color: var(--green); flex: 0 0 auto; }
.section { padding-block: 72px; }
.section h2, .process h2 { font: 400 clamp(2.65rem, 5vw, 4.4rem)/.98 var(--serif); letter-spacing: -.035em; margin-top: 12px; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.services-grid article { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.services-grid svg { color: var(--green); margin-bottom: 16px; }
.services-grid h3 { font-size: 1.18rem; margin-bottom: 9px; }
.services-grid p { color: var(--muted); }
.process { display: grid; grid-template-columns: 1fr 1fr; background: var(--forest); color: #fff; border-radius: var(--radius); overflow: hidden; margin-bottom: 70px; }
.process img { width: 100%; height: 100%; max-height: 440px; object-fit: cover; }
.process > div { padding: clamp(1.8rem, 4vw, 3.5rem); }
.process .eyebrow { color: #d8e8ac; }
.process p:not(.eyebrow) { color: #e0eae1; margin: 20px 0; max-width: 28rem; }
.footer { border-top: 1px solid var(--line); }
.footer .frame { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 26px; }
.footer p, .footer .frame > span { color: var(--muted); font-size: .875rem; }

.login-page { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100dvh - 77px); background: #fff; }
.login-visual { overflow: hidden; position: relative; color: white; display: flex; align-items: end; isolation: isolate; min-height: 565px; background: var(--forest); }
.login-visual::after { position: absolute; inset: 0; content: ""; z-index: -1; background: linear-gradient(180deg, transparent 24%, #10291f13 40%, #10291fe8 79%, #10291f 100%); }
.login-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.login-visual > div { padding: 56px clamp(25px, 5vw, 74px); }
.login-visual .eyebrow { color: #d4e8ae; }
.login-tagline { font: 400 clamp(3.3rem, 6vw, 5.95rem)/.9 var(--serif); letter-spacing: -.055em; margin: 14px 0 22px; }
.login-visual span { color: #e6f0e8; }
.login-panel { width: min(100% - 68px, 440px); margin: auto; padding-block: 40px; }
.back-link { display: inline-block; text-decoration: none; color: var(--green); font-weight: 650; font-size: .875rem; margin-bottom: 15px; }
.back-link:hover { text-decoration: underline; }
.login-panel h1 { font: 400 clamp(3rem, 5.5vw, 4.3rem)/.98 var(--serif); letter-spacing: -.045em; margin-block: 6px 9px; }
.separator { display: flex; align-items: center; gap: 10px; margin: 20px 0; color: var(--muted); font-size: .875rem; }
.separator::before, .separator::after { content: ""; height: 1px; background: var(--line); flex: 1; }
form label { display: block; font-weight: 650; font-size: .9375rem; margin-bottom: 6px; }
input:not([type="checkbox"]), select, textarea { width: 100%; padding: .68rem .76rem; border: 1px solid #becbc3; color: var(--ink); background: white; border-radius: 8px; min-height: 46px; margin-bottom: 14px; }
input::placeholder, textarea::placeholder { color: #69776f; }
textarea { resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #345844 50%), linear-gradient(135deg, #345844 50%, transparent 50%); background-position: calc(100% - 17px) center, calc(100% - 12px) center; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.credentials { border-top: 1px solid var(--line); padding-top: 15px; margin-top: 20px; color: var(--muted); font-size: .875rem; }
.credentials h2 { color: var(--ink); font-size: 1rem; }
.credentials p { margin-top: 8px; line-height: 1.8; }
.credentials code { background: #edf1eb; padding: 2px 5px; border-radius: 4px; color: #244a39; overflow-wrap: anywhere; }
.form-error { color: #922a23; margin-bottom: 12px; font-weight: 650; }

.workspace { min-height: 100dvh; display: grid; grid-template-columns: 243px minmax(0, 1fr); background: #f4f6f2; }
.sidebar { background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 19px 15px; position: sticky; top: 0; height: 100dvh; min-height: 435px; }
.sidebar .brand { padding-inline: 7px; }
.sidebar-project { display: flex; align-items: center; gap: 9px; padding: 10px 8px; border: 1px solid var(--line); border-radius: 10px; margin: 30px 0 23px; }
.sidebar-project .mini-icon { width: 34px; height: 34px; }
.sidebar-project small, .sidebar-project strong, .side-user small, .side-user strong { display: block; }
.sidebar-project small { color: var(--muted); font-size: .75rem; letter-spacing: .08em; }
.sidebar-project strong { font-size: .875rem; }
.sidebar nav { display: grid; gap: 5px; }
.sidebar nav a { min-height: 44px; display: flex; align-items: center; gap: 12px; border-radius: 7px; color: #41574b; padding: 0 11px; text-decoration: none; font-size: .95rem; }
.sidebar nav a:hover, .side-button:hover { background: #f0f4ef; }
.sidebar nav a[aria-current] { background: #e6efe6; color: #1c5039; font-weight: 700; }
.sidebar-bottom { margin-top: auto; border-top: 1px solid var(--line); padding-top: 15px; }
.side-user { display: flex; align-items: center; gap: 10px; margin: 0 5px 8px; }
.side-user strong { font-size: .9rem; }
.side-user small { color: var(--muted); font-size: .8125rem; }
.avatar { color: #24563d; background: #e8efd9; width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; font-size: .875rem; font-weight: 750; }
.side-button { border: 0; background: transparent; display: flex; width: 100%; align-items: center; gap: 9px; min-height: 42px; color: var(--muted); border-radius: 7px; padding-inline: 10px; font-size: .875rem; text-align: left; }
.workspace-header { padding-inline: clamp(16px, 3vw, 38px); display: flex; align-items: center; justify-content: space-between; min-height: 68px; border-bottom: 1px solid var(--line); background: #fff; gap: 12px; }
.workspace-crumb, .workspace-tools { display: flex; align-items: center; gap: 10px; }
.workspace-crumb { font-size: .875rem; color: var(--muted); }
.workspace-crumb strong { color: var(--ink); }
.crumb-divider { color: #788c80; }
.demo-pill { border: 1px solid #d4dfc8; border-radius: 20px; background: #eef2e7; color: #40563f; padding: 2px 9px; font-size: .8125rem; font-weight: 750; }
.icon-button, .menu-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: transparent; color: var(--green); border-radius: 8px; }
.icon-button:hover, .menu-toggle:hover { background: var(--wash); }
.menu-toggle { display: none; }
.workspace-main { width: min(100%, 1310px); margin-inline: auto; padding: 28px clamp(16px, 3vw, 38px) 45px; }
.project-hero { position: relative; isolation: isolate; overflow: hidden; border-radius: 13px; color: #fff; padding: 28px; min-height: 184px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; background: var(--forest); }
.project-hero::before { content: ""; z-index: -1; position: absolute; inset: 0; background: linear-gradient(90deg, #10291f 10%, #10291fd9 50%, #10291f44), url("./assets/kigamboni-home.webp") center 53% / cover; }
.project-kicker { color: #dbe9b6; letter-spacing: .13em; font-size: .8rem; font-weight: 750; }
.project-hero h1 { font: 400 clamp(2.5rem, 5vw, 4.2rem)/1 var(--serif); letter-spacing: -.045em; margin: 8px 0 12px; }
.project-hero p { display: flex; gap: 6px; align-items: center; color: #ecf2eb; }
.status { display: inline-flex; align-items: center; justify-content: center; border-radius: 16px; padding: 3px 9px; font-size: .8125rem; font-weight: 700; white-space: nowrap; }
.status.good { color: #1d5838; background: #dff2e4; }
.status.gold { color: #684a13; background: #f5edcf; }
.status.neutral { color: #4e6156; background: #edf1ee; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-block: 16px 23px; }
.metric { display: grid; align-content: start; gap: 5px; background: white; padding: 16px; border: 1px solid var(--line); border-radius: 11px; }
.metric-label { display: flex; gap: 8px; align-items: center; color: #40584a; font-weight: 600; font-size: .875rem; }
.metric .mini-icon, .next-action .mini-icon { width: 31px; height: 31px; }
.metric strong { font-weight: 730; font-size: clamp(1.3rem, 2.6vw, 1.8rem); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.metric > span { color: var(--muted); font-size: .875rem; }
progress { appearance: none; display: block; border: 0; width: 100%; height: 6px; border-radius: 12px; background: var(--wash); margin: 6px 0 4px; overflow: hidden; }
progress::-webkit-progress-bar { background: var(--wash); }
progress::-webkit-progress-value { background: #37785a; border-radius: 12px; }
progress::-moz-progress-bar { background: #37785a; border-radius: 12px; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); align-items: start; gap: 17px; }
.module-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.module-heading h2 { font-size: 1.19rem; letter-spacing: -.025em; }
.module-heading a { font-size: .875rem; font-weight: 650; text-decoration: none; }
.panel, .update-card { border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.panel { padding: 18px; }
.update-card { overflow: hidden; }
.update-photo { width: 100%; height: clamp(155px, 17vw, 232px); object-fit: cover; }
.update-body { padding: 16px; }
.update-meta { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 8px; color: var(--muted); font-size: .875rem; }
.update-body h3 { font-size: 1.18rem; margin-bottom: 7px; overflow-wrap: anywhere; }
.update-body p { color: var(--muted); overflow-wrap: anywhere; white-space: pre-line; }
.update-body .btn { margin-top: 12px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 9px; border-bottom: 1px solid #edf0ed; min-height: 64px; }
.timeline li:last-child { border: 0; }
.timeline strong, .timeline small { display: block; font-size: .875rem; }
.timeline small { color: var(--muted); font-size: .8125rem; }
.timeline-marker { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid #c1d0c5; border-radius: 50%; color: #255d42; }
.timeline-marker.done { background: #e2f0e5; border-color: #bdd9c3; }
.timeline-marker.current { border: 5px solid #c0d8c5; background: #2e6249; }
.next-action { display: flex; align-items: center; gap: 10px; background: #f1f5ef; border-radius: 8px; padding: 10px; margin-top: 12px; }
.next-action strong { font-size: .875rem; }
.next-action p { color: var(--muted); font-size: .875rem; }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 23px; }
.page-heading h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.055em; margin-bottom: 8px; }
.page-heading p { color: var(--muted); }
.filter-bar { display: flex; gap: 6px; margin-bottom: 15px; }
.filter-bar button { border: 1px solid var(--line); background: #fff; color: var(--muted); padding: 7px 13px; min-height: 44px; border-radius: 8px; }
.filter-bar button[aria-pressed="true"] { background: #e4efe5; color: #1d5039; border-color: #b8d0bc; font-weight: 700; }
.updates-list { max-width: 740px; display: grid; gap: 16px; }
.updates-list .update-photo { height: clamp(160px, 25vw, 245px); }
.editor { max-width: 680px; }
.editor .actions { justify-content: flex-end; margin-top: 15px; }
.photo-option { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 8px; background: #f2f6f0; cursor: pointer; }
.photo-option img { width: 76px; height: 48px; border-radius: 6px; object-fit: cover; }
.photo-option input { margin-left: auto; width: 18px; height: 18px; accent-color: var(--green); }
.photo-option small { display: block; color: var(--muted); font-weight: 450; }
.notice { display: flex; align-items: center; gap: 8px; background: #e0f0e4; border: 1px solid #c0ddc7; color: #245741; border-radius: 9px; padding: 9px 13px; margin-bottom: 15px; font-size: .9375rem; }
.notice svg { flex: 0 0 auto; }
.empty p { color: var(--muted); margin-top: 8px; }
.timeline-full, .documents, .invoice { max-width: 800px; }
.document-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.document-row:first-child { padding-top: 0; }
.document-row:last-child { border: 0; padding-bottom: 0; }
.document-row h2 { font-size: 1rem; }
.document-row p { color: var(--muted); font-size: .875rem; margin-top: 4px; }
.money .metric strong { font-size: clamp(1.1rem, 2.4vw, 1.7rem); }
.invoice dl { margin: 0; }
.invoice dl > div { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding: 10px 0; }
.invoice dd { margin: 0; font-weight: 700; white-space: nowrap; }

@media (max-width: 1040px) {
  .frame { width: calc(100% - 64px); }
  .hero { min-height: 0; gap: 26px; }
  .workspace { grid-template-columns: 210px minmax(0, 1fr); }
  .overview-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .frame { width: calc(100% - 36px); }
  .topbar { min-height: 64px; }
  .public-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding: 38px 0; gap: 27px; }
  .hero h1 { font-size: clamp(3.8rem, 14vw, 5.5rem); margin: 15px 0 19px; }
  .hero-description { margin-bottom: 19px; }
  .hero-media > img { height: clamp(242px, 55vw, 420px); }
  .trust-items { min-height: 0; padding-block: 17px; grid-template-columns: 1fr; gap: 11px; }
  .trust-items span { justify-content: flex-start; font-size: .9375rem; }
  .section { padding-block: 45px; }
  .services-grid, .process { grid-template-columns: 1fr; }
  .services-grid { gap: 10px; margin-top: 22px; }
  .services-grid article { padding: 18px; }
  .services-grid svg { margin-bottom: 8px; }
  .process { margin-bottom: 40px; }
  .process img { height: 210px; }
  .footer .frame { align-items: flex-start; flex-direction: column; gap: 7px; }
  .login-page { grid-template-columns: 1fr; min-height: calc(100dvh - 65px); }
  .login-visual { display: none; }
  .login-panel { width: min(100% - 36px, 440px); padding-block: 25px 35px; margin-top: 0; }
  .workspace { display: block; }
  .sidebar { display: none; position: absolute; z-index: 2; top: 62px; left: 0; height: auto; min-height: min(500px, calc(100dvh - 62px)); width: min(260px, 82vw); box-shadow: 8px 14px 22px #12271c25; }
  .sidebar.is-open { display: flex; }
  .sidebar-bottom { margin-top: 21px; }
  .workspace-header { min-height: 62px; gap: 6px; padding-inline: 10px; }
  .workspace-tools { gap: 6px; }
  .workspace-crumb { gap: 2px; }
  .workspace-crumb > span { display: none; }
  .menu-toggle { display: grid; }
  .switch-account { padding-inline: 6px; }
  .logout { width: 30px; }
  .workspace-main { padding-block: 16px 34px; }
  .project-hero { min-height: 147px; padding: 17px; }
  .project-hero h1 { font-size: clamp(2rem, 8vw, 3.8rem); }
  .project-hero p { font-size: .875rem; }
  .metrics { gap: 8px; margin-block: 10px 16px; }
  .metric { padding: 10px; }
  .metric-label { font-size: .8125rem; }
  .metric .mini-icon { display: none; }
  .metric strong { font-size: 1.15rem; }
  .metric > span { font-size: .8125rem; }
  .module-heading { margin-bottom: 10px; }
  .overview-grid { gap: 14px; }
  .update-photo { height: clamp(160px, 40vw, 255px); }
  .money { grid-template-columns: 1fr; }
  .money .metric { grid-template-columns: 1fr 1fr; align-items: center; }
}
@media (max-width: 380px) {
  .project-hero { flex-wrap: wrap; }
  .page-heading { align-items: start; flex-direction: column; }
  .document-row { grid-template-columns: auto minmax(0, 1fr); }
  .document-row .btn { grid-column: 2; width: fit-content; }
}

/* Presentation site */
:root { --light:#f7f7f1; --forest:#173b30; --forest-dark:#122d25; --green:#265d46; --line:#dce4dc; --wash:#e9f0e8; --radius:12px; }
.frame { width:min(1312px, calc(100% - 120px)); }
.topbar { min-height:80px; }
.public-nav { gap:clamp(1.1rem, 3.1vw, 3.05rem); }
.hero { padding-block:54px 62px; min-height:590px; gap:clamp(32px, 4.5vw, 74px); grid-template-columns:minmax(0, .89fr) minmax(0, 1.11fr); }
.hero h1 { font-size:clamp(3.7rem, 6.05vw, 6.5rem); line-height:.93; margin-block:22px; letter-spacing:-.068em; }
.hero h1 em { color:#426b53; }
.eyebrow-rule { display:inline-block; vertical-align:middle; width:23px; height:1px; background:#70947b; margin-right:5px; }
.hero-description { max-width:28rem; margin-bottom:23px; }
.hero-note { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:.875rem; margin-top:22px; }
.hero-note svg { color:var(--green); }
.hero-media > img { height:clamp(360px, 42vw, 580px); object-position:54% center; border-radius:9px; }
.hero-caption { left:18px; bottom:18px; }
.trust-strip { background:#e9efe5; }
.trust-items { min-height:72px; }
.trust-items span + span { border-left:1px solid #cedbcf; }
.section { padding-block:84px; }
.section h2, .funding-section h2 { font:400 clamp(2.55rem, 5vw, 4.5rem)/.99 var(--serif); letter-spacing:-.054em; margin-top:12px; }
.split-intro { display:grid; grid-template-columns:1fr minmax(250px, .47fr); align-items:end; gap:28px; margin-bottom:30px; }
.split-intro > p { color:var(--muted); max-width:22rem; padding-bottom:3px; }
.services-grid { margin-top:0; }
.services-grid article { padding:24px; border-radius:9px; display:grid; grid-template-rows:auto auto 1fr auto; gap:12px; }
.services-grid .mini-icon { width:42px; height:42px; }
.services-grid svg { margin:0; }
.services-grid h3 { margin:0; }
.services-grid a { font-weight:680; font-size:.9375rem; margin-top:4px; text-underline-offset:4px; }
.band { background:#eef1e9; border-block:1px solid #e0e7dd; }
.stories { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:21px; }
.stories article { overflow:hidden; background:#fff; border:1px solid var(--line); border-radius:9px; }
.stories img { width:100%; height:clamp(200px, 26vw, 350px); object-fit:cover; }
.stories article > div { padding:23px; }
.stories h3 { font:400 clamp(1.65rem, 3vw, 2.45rem)/1.09 var(--serif); letter-spacing:-.04em; margin-block:6px 9px; }
.stories p:not(.eyebrow) { max-width:37rem; color:var(--muted); }
.fineprint { margin-top:12px; color:var(--muted); font-size:.875rem; }
.journey { margin:0; padding:0; list-style:none; display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:0 23px; }
.journey li { padding:20px 4px 23px 0; border-top:1px solid #cdd9cd; }
.journey-head { display:flex; align-items:center; gap:9px; margin-bottom:13px; color:var(--muted); font-size:.875rem; }
.journey h3 { font-size:1.125rem; margin-bottom:6px; }
.journey p { color:var(--muted); }
.funding-section { background:#173b30; color:#fff; }
.funding-layout { display:grid; grid-template-columns:minmax(0, .93fr) minmax(0, 1.07fr); gap:clamp(32px, 6vw, 94px); padding-block:75px; align-items:center; }
.funding-layout > div > p:not(.eyebrow) { color:#e0e9e3; margin-block:18px 23px; max-width:30rem; }
.funding-layout .eyebrow { color:#d5e8a9; }
.funding-steps { margin:0; padding:0; list-style:none; border-top:1px solid #ffffff40; }
.funding-steps li { display:flex; align-items:start; gap:13px; border-bottom:1px solid #ffffff40; padding:12px 0; }
.funding-steps .mini-icon { background:#dce6cf; color:#234e3b; }
.funding-steps p { color:#d9e6df; margin-top:3px; }
.portal-preview { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, .91fr); gap:clamp(28px, 6vw, 84px); align-items:center; }
.portal-preview > img { width:100%; height:clamp(290px, 38vw, 499px); object-fit:cover; border-radius:9px; }
.portal-preview p:not(.eyebrow) { margin-top:17px; color:var(--muted); }
.portal-preview ul { padding:0; margin:17px 0 23px; list-style:none; }
.portal-preview li { display:flex; align-items:center; gap:9px; margin-bottom:7px; }
.portal-preview li svg { color:var(--green); flex:0 0 auto; }
.faq { display:grid; grid-template-columns:minmax(0,.70fr) minmax(0,1.3fr); gap:28px; }
.faq-list { border-top:1px solid #ccd7cc; }
.faq details { border-bottom:1px solid #ccd7cc; padding:15px 0; }
.faq details p { margin-top:10px; color:var(--muted); }
summary { cursor:pointer; font-weight:680; }
.closing { display:flex; justify-content:space-between; gap:20px; align-items:end; }
.closing p:not(.eyebrow) { margin-top:12px; color:var(--muted); }
.footer .frame { align-items:center; }
.footer .brand { margin-bottom:5px; }
.footer nav { display:flex; gap:15px; flex-wrap:wrap; }
.footer nav a { font-size:.875rem; text-decoration:none; }
.login-visual img { object-position:52% center; }
.login-panel { width:min(100% - 46px, 540px); }
.credential-list li strong { display:block; color:var(--ink); font-weight:650; }
.credential-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); list-style:none; gap:8px 12px; margin:8px 0 0; padding:0; }
.consultation { display:grid; grid-template-columns:minmax(0, .86fr) minmax(0, 1.14fr); gap:42px; align-items:start; padding-block:70px; }
.consultation h1 { font:400 clamp(3.25rem, 7vw, 5.6rem)/.96 var(--serif); letter-spacing:-.055em; margin-block:13px; }
.consultation > div > p:not(.eyebrow) { color:var(--muted); margin-bottom:20px; }

/* Construction workspace */
.workspace { grid-template-columns:249px minmax(0,1fr); background:#f2f5f0; }
.sidebar { background:#142f27; color:#fff; border:0; padding:18px 15px; height:100dvh; overflow:auto; }
.sidebar .brand { padding-inline:6px; }
.sidebar .brand-mark { background:#295141; color:#dcecad; }
.workspace-switcher { border:1px solid #446156; border-radius:8px; margin:22px 0 15px; padding:8px 9px 4px; }
.workspace-switcher label { color:#b3c9be; font-weight:550; font-size:.8125rem; display:block; }
.workspace-switcher select { padding:6px 23px 6px 0; min-height:34px; margin:0; border:0; border-radius:0; background-color:transparent; color:#fff; font-size:.9rem; font-weight:670; background-image:linear-gradient(45deg,transparent 50%,#dce8dc 50%),linear-gradient(135deg,#dce8dc 50%,transparent 50%); background-position:calc(100% - 9px) center,calc(100% - 4px) center; }
.workspace-switcher option { color:var(--ink); background:white; }
.sidebar nav { gap:12px; }
.nav-section > p { font-size:.74rem; font-weight:720; letter-spacing:.10em; color:#adc2b7; margin:2px 10px 4px; }
.sidebar nav a { color:#e1ede5; min-height:38px; gap:10px; font-size:.9rem; }
.sidebar nav a:hover, .sidebar .side-button:hover { background:#26483d; }
.sidebar nav a[aria-current] { background:#dce8d3; color:#173b2b; font-weight:750; }
.sidebar-bottom { border-color:#416156; padding-top:12px; margin-top:auto; }
.sidebar .side-user { margin-top:7px; }
.sidebar .side-user small, .sidebar .side-button { color:#c4d7cc; }
.workspace-header { min-height:64px; }
.workspace-main { width:min(100%, 1400px); padding:25px clamp(17px,2.8vw,38px) 52px; }
.role-label { color:#4d6658; font-size:.875rem; font-weight:650; }
.project-hero { min-height:214px; padding:30px; align-items:flex-end; }
.project-hero::before { background:linear-gradient(90deg,#102b22 4%,#102b22df 46%,#102b222b 100%), var(--project-photo) center 51% / cover; }
.project-hero h1 { font-size:clamp(2.6rem,5vw,4.65rem); margin-bottom:7px; }
.project-hero > .status { align-self:start; }
.project-kicker { font-size:.85rem; letter-spacing:.06em; }
.project-subline { display:flex; flex-wrap:wrap; gap:8px 27px; padding:13px 0 1px; color:var(--muted); font-size:.875rem; }
.project-subline strong { color:var(--ink); margin-right:4px; }
.metrics { grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.metric { min-width:0; }
.metric strong { font-size:clamp(1.3rem,2.1vw,1.85rem); }
.metrics.escrow-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
.escrow-metrics .balance { background:#e7efe3; border-color:#c8d9c8; }
.overview-grid, .feed-layout, .detail-grid { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr); gap:18px; align-items:start; }
.detail-grid { grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr); }
.overview-rail, .stack, .feed-posts { display:grid; gap:14px; }
.overview-rail { min-width:0; }
.panel > p:not(.muted) { color:var(--muted); }
.panel > h2 { font-size:1.12rem; margin-bottom:8px; }
.module-heading h2 { font-size:1.13rem; }
.module-heading a, .role-queue a, .attention-link, .panel-link { color:var(--green); font-weight:670; font-size:.9rem; text-decoration:none; }
.module-heading a:hover, .role-queue a:hover, .attention-link:hover, .panel-link:hover { text-decoration:underline; text-underline-offset:3px; }
.role-queue { background:#eaf1e6; border-color:#d2dfd0; display:flex; align-items:start; gap:10px; }
.role-queue .mini-icon { background:#dce8d8; }
.role-queue h2 { font-size:1rem; }
.role-queue p, .attention p { color:var(--muted); font-size:.875rem; margin-top:4px; }
.role-queue a { display:inline-block; margin-top:6px; }
.attention h3 { margin-top:8px; font-size:1rem; }
.attention-link { display:flex; align-items:center; gap:6px; padding-top:9px; margin-top:10px; border-top:1px solid var(--line); }
.attention-link > svg { flex:0 0 auto; }
.attention-link > svg:last-child { margin-left:auto; }
.contact-row { display:flex; align-items:center; gap:9px; border-top:1px solid #e8ede8; padding:8px 0; }
.contact-row strong, .contact-row small { display:block; }
.contact-row strong { font-size:.9rem; }
.contact-row small { color:var(--muted); font-size:.8125rem; }
.avatar { width:38px; height:38px; }
.avatar.earth { color:#704422; background:#f0e4d5; }
.avatar.blue { color:#32536e; background:#dce9ef; }
.avatar.sage { color:#4f592b; background:#e8ecd4; }
.post-card { background:white; border:1px solid var(--line); border-radius:11px; overflow:hidden; min-width:0; }
.post-top { display:flex; align-items:center; gap:9px; padding:15px 17px 0; }
.post-top strong, .post-top small, .remark strong, .remark small { display:block; }
.post-top strong, .remark strong { font-size:.94rem; }
.post-top small, .remark small { color:var(--muted); font-size:.8125rem; }
.post-tag { margin-left:auto; background:#edf2ec; color:#415c4c; border-radius:5px; padding:3px 7px; font-weight:650; white-space:nowrap; font-size:.8125rem; }
.post-body { padding:13px 17px; }
.post-body h3 { font-size:1.15rem; margin-bottom:6px; overflow-wrap:anywhere; }
.post-body p, .remark p { color:#415149; overflow-wrap:anywhere; white-space:pre-line; }
.post-context { margin-top:8px; display:flex; gap:9px; flex-wrap:wrap; }
.post-context span { color:#4a5c52; display:inline-flex; align-items:center; gap:4px; font-size:.8125rem; }
.post-photo { width:100%; height:clamp(165px,24vw,330px); object-fit:cover; }
.post-footer { min-height:40px; display:flex; align-items:center; justify-content:space-between; gap:8px; padding:7px 17px; color:var(--muted); font-size:.875rem; }
.post-footer span { display:flex; align-items:center; gap:6px; }
.post-footer a { font-weight:650; text-decoration:none; }
.remarks { border-top:1px solid var(--line); padding:10px 17px 13px; }
.remark { display:flex; align-items:start; gap:8px; margin-bottom:11px; }
.remark .avatar { width:31px; height:31px; font-size:.75rem; }
.remark p { padding-top:4px; font-size:.9rem; }
.remark-form { display:flex; align-items:center; gap:8px; }
.remark-form input { margin:0; min-height:38px; background:#fafbf9; }
.filter-bar { flex-wrap:wrap; }
.filter-bar button { font-size:.875rem; min-height:38px; }
.page-heading { align-items:end; }
.page-heading h1 { font-weight:720; letter-spacing:-.043em; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:11px; }
.editor > p.muted { margin-bottom:10px; }
.editor textarea { display:block; }
.record { min-width:0; }
.record header { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:start; gap:9px; margin-bottom:10px; }
.record header h2 { font-size:1.08rem; margin:3px 0 0; overflow-wrap:anywhere; }
.record header small { color:var(--muted); font-size:.8125rem; }
.record p { overflow-wrap:anywhere; }
.record .actions, .record > .btn { margin-top:10px; }
.visit-person { display:flex; align-items:center; gap:7px; font-size:.875rem; color:var(--muted); margin-top:9px; }
.visit-person .avatar { width:30px; height:30px; font-size:.75rem; }
.report-note { background:#edf3ec; padding:9px 11px; margin-top:9px; border-radius:7px; }
.report-note p { margin-top:3px; white-space:pre-line; }
.inline-form summary { color:var(--green); }
.inline-form:not(.panel) { margin-top:13px; }
.inline-form form { margin-top:10px; }
.check-label { display:flex; gap:7px; align-items:center; margin-bottom:10px; }
.facts { display:grid; gap:5px; margin:12px 0 2px; }
.facts div { display:grid; grid-template-columns:minmax(120px,.8fr) minmax(0,1.2fr); gap:8px; padding-block:3px; border-top:1px solid #edf0ed; }
.facts dt { color:var(--muted); font-size:.875rem; }
.facts dd { margin:0; overflow-wrap:anywhere; }
.panel-link { display:inline-block; margin-top:10px; }
.claim-summary strong { font-size:1.3rem; font-variant-numeric:tabular-nums; }
.claim-summary p { font-size:.875rem; color:var(--muted); margin-top:2px; }
.ledger-table { overflow:auto; }
table { width:100%; border-collapse:collapse; text-align:left; }
th, td { padding:9px 6px; border-bottom:1px solid #e6ebe6; vertical-align:top; }
th { font-size:.825rem; color:var(--muted); }
td { font-size:.875rem; }
td strong, td small { display:block; }
td small { color:var(--muted); }
td:last-child, th:last-child { text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
.payment-steps ol { padding-left:20px; margin:0 0 10px; }
.payment-steps li { margin-bottom:5px; }
.payment-steps > p { font-size:.875rem; }
.document-row { display:block; }
.document-row summary { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:9px; list-style:none; }
.document-row summary::-webkit-details-marker { display:none; }
.document-row[open] summary > svg { transform:rotate(90deg); }
.document-row small { display:block; color:var(--muted); font-weight:450; }
.document-row > div { margin:9px 0 0 47px; }
.document-row > div p { margin-bottom:8px; color:var(--muted); }
.records > .btn { margin-top:15px; }
.handover-list { list-style:none; padding:0; }
.handover-list li { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:8px; padding:8px 0; border-top:1px solid var(--line); }
.handover-list .mini-icon { width:32px; height:32px; }
.handover-list + .muted { margin-top:10px; }

@media (max-width:1160px) {
  .frame { width:calc(100% - 70px); }
  .workspace { grid-template-columns:221px minmax(0,1fr); }
  .metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:1020px) {
  .wide-break { display:none; }
  .hero { gap:27px; min-height:auto; }
  .overview-grid, .feed-layout, .detail-grid { grid-template-columns:minmax(0,1fr); }
  .overview-rail { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .overview-rail .role-queue { grid-column:1 / -1; }
}
@media (max-width:760px) {
  .frame { width:calc(100% - 36px); }
  .topbar { min-height:64px; }
  .hero { grid-template-columns:1fr; padding-block:35px 25px; gap:23px; }
  .hero h1 { font-size:clamp(3.3rem,12.5vw,5rem); margin-block:14px; }
  .hero-media > img { height:clamp(238px,57vw,360px); }
  .hero-note { margin-top:14px; }
  .trust-items { min-height:0; }
  .trust-items span + span { border-left:0; }
  .section { padding-block:48px; }
  .split-intro, .stories, .funding-layout, .portal-preview, .faq, .consultation { grid-template-columns:minmax(0,1fr); gap:18px; }
  .split-intro { margin-bottom:21px; }
  .split-intro h2 br { display:none; }
  .stories img { height:225px; }
  .journey { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 14px; }
  .funding-layout { padding-block:45px; gap:26px; }
  .portal-preview > img { height:240px; }
  .closing { align-items:start; flex-direction:column; }
  .footer .frame { align-items:start; }
  .consultation { padding-block:32px 44px; }
  .workspace { display:block; }
  .sidebar { display:none; position:absolute; width:min(272px, 83vw); height:auto; min-height:0; max-height:calc(100dvh - 62px); overflow:auto; top:62px; left:0; }
  .sidebar.is-open { display:flex; }
  .sidebar-bottom { margin-top:16px; }
  .workspace-header { min-height:62px; }
  .workspace-main { padding-top:15px; }
  .role-label { display:none; }
  .project-hero { min-height:165px; padding:17px; }
  .project-hero h1 { font-size:clamp(2.15rem,8vw,4rem); }
  .project-subline { gap:4px 12px; }
  .metric { padding:11px; }
  .metric-label { font-size:.875rem; }
  .metric strong { font-size:1.3rem; }
  .metrics.escrow-metrics { grid-template-columns:minmax(0,1fr); }
  .escrow-metrics .metric { display:flex; justify-content:space-between; align-items:center; gap:8px; flex-wrap:wrap; }
  .overview-rail { grid-template-columns:minmax(0,1fr); }
  .post-photo { height:clamp(177px,50vw,255px); }
  .btn-small { min-height:41px; }
}
@media (max-width:430px) {
  .workspace-crumb { font-size:.8125rem; }
  .workspace-crumb strong { line-height:1.15; }
  .workspace-tools { flex-shrink:0; }
  .project-hero { flex-wrap:wrap; align-content:end; }
  .project-hero > .status { order:-1; }
  .post-top { flex-wrap:wrap; }
  .post-tag { margin-left:0; }
  .page-heading { align-items:start; flex-direction:column; }
  .form-row { grid-template-columns:1fr; gap:0; }
  .record header { grid-template-columns:auto minmax(0,1fr); }
  .record header .status { grid-column:2; justify-self:start; }
}
@media (max-width:385px) {
  .hero .actions { align-items:start; flex-direction:column; }
  .journey { grid-template-columns:1fr; }
  .credential-list { grid-template-columns:1fr; }
  .workspace-tools .demo-pill { font-size:.75rem; padding-inline:5px; }
  .switch-account { font-size:.8rem; }
}
.portfolio-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.portfolio-card { min-width:0; overflow:hidden; padding:0; }
.portfolio-card img { width:100%; height:152px; object-fit:cover; }
.portfolio-card > div { padding:14px; }
.portfolio-card header { display:flex; gap:8px; justify-content:space-between; align-items:center; margin-bottom:8px; }
.portfolio-card p { color:var(--muted); font-size:.875rem; }
.portfolio-card h2 { font-size:1.14rem; margin-bottom:4px; }
.portfolio-card .btn { margin-top:11px; }
.portfolio-progress { display:flex; align-items:center; gap:8px; padding-block:6px 4px; font-size:.875rem; }
@media (max-width:1060px) { .portfolio-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:550px) { .portfolio-grid { grid-template-columns:1fr; } }

/* Preconstruction and company delivery */
.property-services { grid-template-columns:repeat(4,minmax(0,1fr)); }
.company-section { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); align-items:center; gap:clamp(28px,6vw,84px); }
.company-section > img { width:100%; height:clamp(285px,38vw,500px); object-fit:cover; border-radius:9px; }
.company-section p:not(.eyebrow) { color:var(--muted); margin:17px 0; }
.company-facts { margin:0 0 18px; }
.company-facts div { border-top:1px solid var(--line); padding:8px 0; }
.company-facts dt { font-size:.875rem; color:var(--muted); }
.company-facts dd { margin:0; font-weight:650; }
.responsibility { padding-bottom:5px; }
.counterparty-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-bottom:19px; }
.counterparty-strip > div { display:flex; gap:10px; align-items:start; border:1px solid var(--line); border-radius:9px; background:#fff; padding:13px; }
.counterparty-strip > div:nth-child(2) { background:#e7f0e5; border-color:#d2dfcf; }
.counterparty-strip strong, .counterparty-strip small { display:block; }
.counterparty-strip small { color:var(--muted); font-size:.875rem; }
.readiness-number { font-size:1.65rem; }
.compliance-register { min-width:0; }
.register-row { border-top:1px solid var(--line); padding:9px 0; }
.register-row summary { list-style:none; display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:9px; align-items:center; }
.register-row summary::-webkit-details-marker { display:none; }
.register-row summary strong, .register-row summary small { display:block; }
.register-row summary small { color:var(--muted); font-weight:450; font-size:.825rem; }
.register-row > div { margin:8px 0 3px 46px; }
.register-row > div > p { color:var(--muted); margin-bottom:5px; overflow-wrap:anywhere; }
.register-row > div > .register-ref { color:var(--green); font-weight:650; }
.register-form { background:#edf3ed; padding:12px; margin-top:10px; border-radius:8px; }
.register-row .btn { margin-top:5px; }

.assistant-page { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:clamp(22px,5vw,76px); padding-block:58px; align-items:start; }
.assistant-intro h1 { font:400 clamp(3rem,6.6vw,5.8rem)/.96 var(--serif); letter-spacing:-.058em; margin:12px 0 15px; }
.assistant-intro p:not(.eyebrow) { color:var(--muted); margin-bottom:13px; max-width:26rem; }
.assistant-panel { padding:0; overflow:hidden; }
.assistant-panel header { display:flex; align-items:center; gap:10px; color:white; background:var(--forest); padding:14px 16px; }
.assistant-panel header h2 { font-size:1.1rem; }
.assistant-panel header p { color:#dbe8db; font-size:.875rem; margin-top:3px; }
.assistant-thread { min-height:135px; max-height:42vh; overflow:auto; display:grid; align-content:start; gap:10px; padding:15px; border-bottom:1px solid var(--line); background:#fcfdfa; }
.chat-turn { display:grid; gap:8px; }
.chat-user, .chat-reply { max-width:94%; padding:9px 12px; border-radius:10px; overflow-wrap:anywhere; }
.chat-user { justify-self:end; background:#e0eddc; color:#244736; }
.chat-reply { justify-self:start; background:#eff2ed; color:#344c3f; }
.assistant-options { display:flex; gap:6px; flex-wrap:wrap; padding:12px 15px 6px; }
.assistant-options .btn { white-space:normal; }
.assistant-form { display:flex; align-items:center; gap:7px; padding:8px 15px 12px; }
.assistant-form input { margin:0; min-width:0; }
.assistant-next { display:flex; gap:8px; flex-wrap:wrap; align-items:center; justify-content:space-between; border-top:1px solid var(--line); padding:11px 15px; background:#e8f0e6; }
.assistant-note { margin:0; padding:9px 15px; font-size:.875rem; color:var(--muted); }
@media (max-width:1080px) { .property-services { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:760px) { .assistant-page,.company-section { grid-template-columns:minmax(0,1fr); padding-block:34px 46px; } .counterparty-strip { grid-template-columns:minmax(0,1fr); } .company-section > img { height:230px; } }
@media (max-width:520px) { .property-services { grid-template-columns:minmax(0,1fr); } .register-row summary { grid-template-columns:auto minmax(0,1fr); } .register-row summary > .status { grid-column:2; justify-self:start; } .register-row > div { margin-left:0; } }
.workspace-crumb > span { white-space:nowrap; }
@media (max-width:900px) { .role-label { display:none; } }

.package-grid article { grid-template-rows:auto auto auto 1fr auto auto; }
.package-grid h3 { min-height:2.3em; }
.package-grid ul { margin:0; padding:0; list-style:none; }
.package-grid li { display:flex; align-items:start; gap:7px; border-top:1px solid var(--line); padding:7px 0; font-size:.9375rem; }
.package-grid li svg { flex:0 0 auto; margin-top:4px; }
.package-terms { border-top:1px solid var(--line); padding-top:10px; }
.package-terms strong,.package-terms small { display:block; }
.package-terms small { color:var(--muted); margin-top:4px; }
.package-grid article > .btn { align-self:end; justify-self:start; }
.benefit-grid,.contact-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px 20px; }
.benefit-grid article { display:flex; align-items:start; gap:12px; border-top:1px solid #ccd7cc; padding-block:17px; }
.benefit-grid h3,.contact-grid h3 { font-size:1.1rem; margin-bottom:6px; }
.benefit-grid p,.contact-grid p,.contact-grid address { color:var(--muted); }
.contact-grid article { border:1px solid var(--line); padding:18px; border-radius:9px; background:#fff; overflow-wrap:anywhere; }
.contact-grid .mini-icon { margin-bottom:9px; }
.contact-grid a { display:block; }
.contact-grid address { font-style:normal; }
.contact-grid p + p { margin-top:8px; }
.contact-grid + .actions { margin-top:18px; }
#consult-form fieldset { padding:0; border:0; margin:0 0 9px; min-width:0; }
#consult-form legend { font-size:1.12rem; font-weight:700; margin-bottom:10px; }
@media (min-width:761px) {
  .feed-workspace { position:fixed; inset:0; grid-template-rows:minmax(0,1fr); min-height:0; overflow:clip; }
  .feed-workspace .workspace-body { display:grid; grid-template-rows:auto minmax(0,1fr); min-height:0; overflow:clip; }
  .feed-workspace .workspace-main { display:flex; flex-direction:column; padding-bottom:13px; min-height:0; overflow:clip; }
  .feed-workspace .feed-layout { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(190px,.85fr); flex:1; min-height:0; align-items:stretch; }
  .feed-workspace .feed-stream { display:flex; flex-direction:column; min-height:0; min-width:0; }
  .feed-workspace .feed-posts { display:flex; flex-direction:column; min-height:0; flex:1; overflow-y:auto; overscroll-behavior-y:contain; scrollbar-gutter:stable; padding-right:6px; padding-bottom:14px; }
  .feed-workspace .feed-posts > * { flex:0 0 auto; }
  .feed-workspace .overview-rail { align-content:start; grid-template-columns:minmax(0,1fr); overflow-y:auto; }
}
@media (min-width:761px) and (max-width:1000px) {
  .feed-workspace .feed-layout { grid-template-columns:minmax(0,1fr); }
  .feed-workspace .overview-rail { display:none; }
}
@media (max-width:1020px) {
  .benefit-grid,.contact-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:675px) {
  .benefit-grid,.contact-grid { grid-template-columns:minmax(0,1fr); }
  .package-grid h3 { min-height:0; }
}
