* { box-sizing: border-box }
    :root { font: 16px/1.5 "Segoe UI", Arial, sans-serif; color: #16352d; background: #eff2eb; }
    body { margin: 0 }
    main, footer, .mast > div { max-width: 1120px; margin: auto; padding-inline: clamp(16px, 4vw, 48px) }
    .mast { background: #14372e; color: #f5faf3; }
    .mast > div { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 12px }
    .wordmark { font-weight: 750; letter-spacing: .015em; }
    .wordmark::before { content: ""; display: inline-block; width: 13px; height: 13px; background: #a8e8a8; border-radius: 2px 9px 2px 2px; margin-right: 8px }
    .mast small { color: #c8ddcf }
    header { margin: clamp(24px, 4vw, 52px) 0 26px }
    h1, h2, h3, p, dl, dd { margin: 0 }
    h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.05; letter-spacing: -.05em; }
    header p { color: #40574b; margin-top: 12px; max-width: 61ch; }
    .layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); align-items: start; gap: clamp(14px, 2vw, 28px) }
    article, aside { border: 1px solid #b9c6b9; border-radius: 20px; background: #fffefa; overflow: clip; }
    .inset, .cardbody { padding: clamp(17px, 2.8vw, 32px) }
    h2 { font-size: clamp(22px, 2.5vw, 31px); line-height: 1.15; letter-spacing: -.035em; }
    .conversation { list-style: none; display: grid; gap: 12px; padding: 0; margin: 20px 0 0; }
    .conversation li { width: fit-content; max-width: 91%; border-radius: 12px 12px 12px 3px; padding: 10px 14px; background: #edf1ea; }
    .conversation .client { justify-self: end; border-radius: 12px 12px 3px 12px; background: #dbebdf; }
    .replies { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 5px 8px; }
    .replies button { margin: 0; min-height: 38px; width: auto; padding: 5px 10px; font-size: .9rem; background: #fffefa; color: #194d38; border: 1px solid #6e8977; }
    .replies button[aria-pressed="true"] { background: #194d38; color: white; }
    .speaker, dt, .field { display: block; font-size: .84rem; font-weight: 650; color: #43584c; }
    .speaker { margin-bottom: 2px; }
    form { border-top: 1px solid #cbd4c9 }
    .hint { color: #45594b; font-size: .94rem; margin: 8px 0 16px }
    .fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
    .wide { grid-column: 1 / -1; }
    select, input[readonly] { display: block; width: 100%; min-height: 44px; padding: 8px; margin-top: 4px; border: 1px solid #829384; border-radius: 8px; font: inherit; color: #15372c; background: white; }
    input[readonly] { background: #f1f4ee; }
    .consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; cursor: pointer; }
    .consent input { width: 20px; height: 20px; flex: 0 0 auto; margin: 3px 0 0; accent-color: #175639; }
    details { margin: 4px 0 0 30px; font-size: .9rem; }
    summary { color: #225f48; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; width: fit-content; padding-block: 6px; }
    details p { margin-top: 5px; max-width: 55ch; }
    .error { color: #963319; margin-top: 8px; font-weight: 600; }
    button { min-height: 46px; margin-top: 18px; padding: 10px 18px; background: #194d38; color: white; border: 0; border-radius: 8px; font: inherit; font-weight: 650; cursor: pointer; }
    button:hover { background: #0c3b27; }
    :focus-visible { outline: 3px solid #ab4f14; outline-offset: 3px; }
    aside { position: sticky; top: 16px; }
    .cardhead { background: #234437; color: white; padding: 22px clamp(17px,2.8vw,32px); }
    .cardhead p { color: #d0e6d6; font-size: .94rem; margin-bottom: 4px; }
    .empty { background: #f4f6ee; }
    .cardbody dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 14px; margin-top: 18px; }
    .cardbody dd { overflow-wrap: anywhere; }
    .next { border-left: 3px solid #528162; padding: 2px 0 2px 12px; margin-top: 20px; }
    .status { font-weight: 700; color: #25573c; }
    [hidden] { display: none !important; }
    footer { padding-top: 22px; padding-bottom: 28px; color: #465a4b; font-size: .88rem; }
    @media (max-width: 760px) { .layout { grid-template-columns: 1fr; } aside { position: static; } }
    @media (max-width: 500px) { .fields { grid-template-columns: 1fr; } .cardbody dl { grid-template-columns: 1fr; gap: 2px; } .cardbody dd { margin-bottom: 9px; } button { width: 100%; } }
