@font-face { font-family: Satoshi; src: url('./brand/satoshi-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Satoshi; src: url('./brand/satoshi-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Satoshi; src: url('./brand/satoshi-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
/* Brand values from the website's theme-v9.css; portal layouts remain independent. */
:root {
    --ink: #202e27;
    --muted: #3c5142;
    --green: #17643f;
    --deep: #104c2e;
    --mint: #edf4e9;
    --soft: #f1f5ef;
    --line: #d4dfcf;
    --line-strong: #b8cbb2;
    --paper: #f7f9f4;
    --radius: 8px;
    --radius-sm: 6px;
    --shadow: 0 8px 24px -20px #243c3060;
    --focus: #9b521d;
    --alert: #6d4011;
    font-family: Satoshi, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.5; }
.wrap { width: min(1080px, calc(100% - 3rem)); margin-inline: auto; }
a { color: var(--green); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
h1, h2, h3, p, li { overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.14; margin: 0 0 .6em; }
h1 { font-size: clamp(36px, 4.1vw, 54px); letter-spacing: -.035em; }
h2 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -.028em; }
h3 { font-size: 21px; }
p { margin: 0 0 1rem; }
.card > :last-child, .steps p { margin-bottom: 0; }
.masthead { background: #fbfcf9; border-bottom: 1px solid var(--line); }
.header-row, nav { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.header-row { min-height: 72px; padding-block: .65rem; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--muted); font-weight: 600; }
.brand img { display: block; width: 91px; height: auto; }
.brand span { border-left: 1px solid var(--line); padding-left: .9rem; }
nav a, .link-button { font-size: .94rem; font-weight: 600; }
.link-button { background: none; border: none; padding: 0; text-decoration: underline; text-underline-offset: .2em; color: var(--green); cursor: pointer; }
.test-band { background: var(--mint); border-bottom: 1px solid var(--line); padding-block: .55rem; color: var(--deep); font-size: .875rem; font-weight: 600; }
.test-band span { margin-inline: .28rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.6rem; align-items: start; margin: 2.8rem 0 2.6rem; }
.hero-copy { padding: .7rem 0; }
.lede { max-width: 42rem; color: var(--muted); font-size: 1.13rem; margin-bottom: 1.55rem; }
.eyebrow { font-size: .81rem; font-weight: 700; text-transform: uppercase; letter-spacing: .087em; color: var(--deep); margin: 0 0 .65rem; }
.hero-aside { padding: 1.6rem clamp(1rem, 3vw, 1.8rem); background: var(--mint); border-radius: var(--radius); border: 1px solid var(--line); }
.intake-guide { margin-bottom: 1rem; padding-block: .6rem; }
.intake-guide > summary { font-size: clamp(1.25rem, 2vw, 1.45rem); padding-block: .85rem; }
.intake-guide[open] { padding-bottom: 1rem; }
.intake-guide .steps { font-size: 1.1rem; }
.steps { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1rem; }
.steps li { display: grid; grid-template-columns: 2.1rem 1fr; align-items: start; gap: .75rem; }
.steps li > span { background: white; border: 1px solid #c8dccd; border-radius: 50%; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; color: var(--deep); font-size: .92rem; font-weight: 700; }
.steps p { color: var(--muted); margin-top: .1rem; }
.steps p + p { margin-top: .5rem; }
.role-grid, .columns { display: grid; gap: 1rem; align-items: start; }
.role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.case-groups .point-title { overflow-wrap: anywhere; }
.columns { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: clamp(1rem, 3vw, 1.65rem); min-width: 0; box-shadow: var(--shadow); }
.role-grid .card { align-self: stretch; }
.soft { background: var(--mint); }
.intake-support { display: grid; gap: 1rem; min-width: 0; }
.intake-support h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; }
.intake-checklist { display: grid; gap: .45rem; padding: 0; margin: 0 0 .85rem; list-style: none; }
.intake-checklist li { display: grid; grid-template-columns: 1rem minmax(0, 1fr); gap: .55rem; }
.intake-checklist li::before { content: "✓"; color: var(--deep); font-weight: 700; }
.stacked { margin-top: 1rem; }
.pagehead { padding-top: 2.1rem; margin-bottom: 1.55rem; }
.pagehead h1 { margin-bottom: .23em; }
.pagehead .lede { margin-bottom: .2rem; }
.breadcrumb { display: inline-block; margin-bottom: 1.05rem; font-weight: 600; }
.button { display: inline-block; background: var(--deep); border: 1px solid var(--deep); color: white; min-height: 46px; border-radius: var(--radius-sm); padding: 13px 22px; cursor: pointer; font: inherit; font-size: 16px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.button:hover { background: var(--green); border-color: var(--green); }
.button.secondary { background: white; border-color: var(--green); color: var(--deep); }
.button.secondary:hover { background: var(--mint); }
.buttons { display: flex; flex-wrap: wrap; gap: .7rem; }
.field { margin: 0 0 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .3rem; }
.field input:not([type="checkbox"]), .field textarea, .field select { display: block; width: 100%; min-width: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: white; padding: .55rem .65rem; }
.flow-card { max-width: 36rem; }
.payment-amount { font-size: 1.7rem; font-weight: 650; }
.field input[type="file"] { font-size: .9rem; padding: .5rem; }
.field textarea { resize: vertical; }
.field input[type="checkbox"] { accent-color: var(--green); width: 1.16rem; height: 1.16rem; margin: .2rem .55rem .2rem 0; flex: none; }
.field .check { display: flex; align-items: flex-start; padding-block: .35rem; font-weight: 500; }
#building-regulations-confirmation { margin-left: 1.7rem; }
form:not(:has(#id_missing_material:checked)) #building-regulations-confirmation { display: none; }
.help { color: var(--muted); margin-bottom: .35rem; font-size: .9rem; }
.address-choices { margin-top: .55rem; }
.address-status { margin: .4rem 0 0; }
.address-status:empty { margin: 0; }
.errorlist { margin: .35rem 0 .75rem; padding-left: 1.24rem; color: #932c26; font-weight: 550; }
.notices { margin-top: 1rem; }
.notice { padding: .7rem .95rem; border: 1px solid #b7d3bf; border-radius: .55rem; background: var(--mint); color: var(--deep); }
.notice.warning, .notice.error { background: #fff2df; border-color: #efd0a1; color: var(--alert); }
.status { display: inline-block; background: var(--soft); border: 1px solid var(--line); border-radius: 1.2rem; padding: .16rem .62rem; color: var(--muted); font-size: .83rem; font-weight: 650; }
.status.done { background: var(--mint); color: var(--green); }
.status.attention { background: #fff2df; border-color: #efd0a1; color: var(--alert); }
.status + p { margin-top: .8rem; }
.points { padding: 0; margin: 1rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.points li { display: flex; align-items: flex-start; justify-content: space-between; gap: .65rem; flex-wrap: wrap; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.case-groups .points > li { display: grid; grid-template-columns: minmax(0, 1fr) fit-content(50%); }
.case-groups .points > li > .status { justify-self: end; text-align: right; overflow-wrap: anywhere; }
.points p { margin: .24rem 0 0; color: var(--muted); }
.point-title { font-weight: 650; }
.files { margin: 0 0 .9rem; padding-left: 1.25rem; list-style-type: square; }
.files li + li { margin-top: .38rem; }
summary { cursor: pointer; color: var(--deep); font-weight: 650; padding-block: .36rem; }
details > div, summary + form { margin-top: .55rem; }
.history { border-top: 1px solid var(--line); margin-top: .55rem; }
.section-break { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.case-tabs { justify-content: flex-start; gap: .2rem .45rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.case-tabs a { padding: .62rem .83rem; border-bottom: 3px solid transparent; min-height: 44px; color: var(--muted); text-decoration: none; }
.case-tabs a:hover { background: var(--soft); color: var(--deep); }
.case-tabs a[aria-current="true"] { border-bottom-color: var(--green); color: var(--deep); font-weight: 700; }
.case-panel[hidden] { display: none; }
.case-panel + .case-panel:not([hidden]) { margin-top: 1rem; }
.document-workspace { display: grid; gap: 1rem; }
.document-toolbar { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: .8rem; margin-bottom: .8rem; }
.document-toolbar h2 { margin-bottom: .4rem; }
.document-toolbar > div > :last-child { margin-bottom: 0; }
.staff-point + .staff-point { margin-top: 1rem; }
.staff-point-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .3rem .65rem; flex-wrap: wrap; }
.staff-point-heading h3 { margin: 0; }
.point-next { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .7rem; padding: .6rem .8rem; margin-block: .75rem; border-radius: .45rem; background: var(--deep); color: white; }
.point-next a { color: inherit; }
.point-exchange { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; align-items: start; }
.point-message { min-width: 0; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: .55rem; overflow-wrap: anywhere; }
.point-message h4, .intake-files h4 { margin: 0 0 .45rem; font-size: 1rem; }
.point-message > :last-child, .latest-point-answer > :last-child { margin-bottom: 0; }
.from-nybbr { background: var(--mint); border-inline-start: 3px solid var(--green); }
.from-customer { background: #f0ddd3; border-inline-start: 3px solid #935944; }
.point-disclosure { margin-top: .7rem; border: 1px solid #9ab1a3; border-radius: .5rem; background: white; }
.point-disclosure > summary { padding: .65rem .75rem; min-height: 44px; font-size: 1.05rem; line-height: 1.35; }
.point-disclosure > summary:hover, .point-disclosure[open] > summary { background: var(--mint); }
.point-disclosure[open] > summary { border-bottom: 1px solid var(--line); }
.point-disclosure > :not(summary) { margin-inline: .75rem; }
.point-disclosure > :last-child:not(summary) { margin-bottom: .75rem; }
.latest-point-answer p, .latest-point-answer .files { margin-bottom: .35rem; }
.staff-point .history summary .status { margin-inline-start: .35rem; }
.document-action[id] { scroll-margin-top: 1rem; }
.case-summary { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.1rem; margin-bottom: 1rem; align-items: start; }
.case-summary h2 { margin-bottom: .65rem; }
.case-intro { font-size: 1.09rem; }
.case-summary-update { padding: .9rem 1rem; background: var(--soft); border-radius: .65rem; }
.case-summary-update p { margin-bottom: .55rem; }
.case-summary-update > :last-child, .summary-latest > :last-child { margin-bottom: 0; }
.summary-latest { border-top: 1px solid var(--line); margin-top: .7rem; padding-top: .7rem; }
.answer-excerpt { color: var(--muted); font-size: .94rem; }
.case-received { margin-bottom: 1rem; }
.access-guide-steps { max-width: 46rem; margin: 0 0 1rem; padding: .95rem 1rem .95rem 2.4rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: white; font-size: 1.1875rem; }
.access-guide-steps li + li { margin-top: .4rem; }
.access-guide-steps li::marker { color: var(--deep); font-weight: 700; }
.access-guide-disclosure > p, .case-final-steps > p { margin-top: .55rem; }
.access-guide-confirmation, .building-access-after-documents, .case-final-steps { margin-top: 1rem; }
.access-guide-video { display: block; width: 100%; max-width: 46rem; height: auto; border: 4px solid var(--deep); border-radius: var(--radius-sm); background: var(--paper); }
.received-meta { display: block; margin: .12rem 0 0 1rem; font-size: .88rem; font-weight: 400; color: var(--muted); }
.clickup-reference summary { color: var(--ink); }
.clickup-reference[open] summary { margin-bottom: .6rem; }
.staff-point[id], .history[id], .section-break[id], #foerste-bilag { scroll-margin-top: 1rem; }
.history:target { border-top-color: var(--green); }
.review-form, .comment-preview { margin-top: .85rem; }
.copy-feedback:not(:empty) { margin-top: .5rem; }
.button[hidden] { display: none; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .65rem; border-top: 1px solid var(--line); margin-top: 3rem; padding-block: 1rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) {
    .case-groups { grid-template-columns: minmax(0, 1fr); }
    .wrap { width: calc(100% - 2rem); }
    .hero, .columns, .case-summary, .point-exchange { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .hero { margin-top: 1.45rem; }
    .desktop { display: none; }
}
@media (max-width: 520px) {
    .role-grid { grid-template-columns: minmax(0, 1fr); }
    .header-row, nav { gap: .65rem; }
    .brand img { width: 76px; }
}

