:root {
  --ink: #071d32;
  --muted: #617080;
  --green: #061f35;
  --green-2: #0b3654;
  --mint: #eef3f6;
  --cream: #f6f1e8;
  --paper: #fffdf8;
  --line: #ddd5c8;
  --amber: #c9962d;
  --gold: #d6a93f;
  --gold-2: #f0cf72;
  --red: #a33a32;
  --shadow: 0 18px 50px rgba(6, 31, 53, .12);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.beta-banner { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 18px; background: linear-gradient(90deg, #071d32, #0b3654); color: white; border-bottom: 1px solid rgba(214,169,63,.5); font-size: 12px; line-height: 1.45; text-align: center; }
.beta-banner strong { color: var(--gold-2); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.login-form .beta-banner { border: 1px solid rgba(214,169,63,.45); border-radius: 10px; margin-bottom: 20px; justify-content: flex-start; text-align: left; }
.site-shell { min-height: 100vh; background: linear-gradient(180deg, #fffdf8 0%, var(--cream) 68%); }
.site-header { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 42px; background: rgba(255,253,248,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.site-nav { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 13px; font-weight: 750; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .link-button:hover { color: var(--amber); }
.link-button { border: 0; background: transparent; color: var(--muted); font-weight: 750; padding: 0; }
.site-hero { max-width: 1260px; margin: 0 auto; padding: 78px 42px 50px; display: grid; grid-template-columns: minmax(0, 1.15fr) 420px; gap: 42px; align-items: center; }
.site-hero h1 { font-family: Georgia, serif; font-size: clamp(46px, 6vw, 82px); font-weight: 400; letter-spacing: -.06em; line-height: .98; margin: 12px 0 22px; color: var(--ink); }
.site-hero p { font-size: 18px; line-height: 1.65; max-width: 760px; color: #41564d; }
.site-support { color: var(--muted); font-size: 15px !important; }
.site-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.hero-panel { background: var(--green); color: white; border-radius: 18px; padding: 28px; min-height: 360px; display: grid; align-content: end; gap: 12px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero-panel::before { content: ""; position: absolute; width: 280px; height: 280px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; top: -90px; right: -80px; box-shadow: 0 0 0 60px rgba(255,255,255,.035); }
.hero-stat { position: relative; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 16px; background: rgba(255,255,255,.04); }
.hero-stat span { display: block; color: #bfd4c8; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.hero-stat strong { display: block; margin-top: 6px; font-size: 25px; letter-spacing: -.04em; }
.flyer-hero { max-width: none; margin: 0; padding: 78px 42px 64px; grid-template-columns: minmax(0, 1fr) minmax(400px, .95fr); background: radial-gradient(circle at 14% 20%, rgba(16, 79, 119, .86), transparent 38%), linear-gradient(135deg, #041727 0%, var(--green) 52%, #03111d 100%); color: white; position: relative; overflow: hidden; }
.flyer-hero::before { content: ""; position: absolute; width: 760px; height: 760px; border: 24px solid rgba(214,169,63,.96); border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; right: 32%; top: -280px; transform: rotate(16deg); opacity: .92; pointer-events: none; }
.flyer-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .9; }
.flyer-copy { max-width: 720px; margin-left: max(0px, calc((100vw - 1260px) / 2)); position: relative; z-index: 1; }
.flyer-copy .eyebrow { color: var(--gold-2); }
.flyer-hero h1 { color: white; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: clamp(46px, 6.2vw, 86px); font-weight: 900; letter-spacing: -.055em; text-transform: uppercase; }
.flyer-hero h1 span { color: var(--gold); }
.flyer-hero p { color: #edf4f8; max-width: 660px; }
.flyer-hero .btn.secondary { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); color: white; }
.flyer-panel { min-height: 450px; margin-right: max(0px, calc((100vw - 1260px) / 2)); background: linear-gradient(160deg, rgba(255,255,255,.13), rgba(255,255,255,.04)), linear-gradient(145deg, #0b3654, #061f35); border: 1px solid rgba(214,169,63,.36); border-radius: 28px 8px 28px 8px; align-content: stretch; padding: 0; }
.flyer-panel::before { width: 460px; height: 460px; border-color: rgba(214,169,63,.2); box-shadow: 0 0 0 72px rgba(214,169,63,.055); }
.building-visual { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(180deg, rgba(91,143,184,.34), rgba(6,31,53,.1) 42%, rgba(3,17,29,.72)), radial-gradient(circle at 68% 34%, rgba(240,207,114,.34), transparent 30%); }
.building-visual span { position: absolute; bottom: 0; width: 19%; background: linear-gradient(180deg, #9fb5c9, #102c45 34%, #071d32); border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 0 0 10px rgba(255,255,255,.045); }
.building-visual span::before { content: ""; position: absolute; inset: 18px 14px; background: repeating-linear-gradient(90deg, rgba(240,207,114,.86) 0 9px, transparent 9px 25px), repeating-linear-gradient(180deg, transparent 0 24px, rgba(255,255,255,.26) 24px 28px); opacity: .64; }
.building-visual span:nth-child(1) { left: 12%; height: 54%; }
.building-visual span:nth-child(2) { left: 30%; height: 76%; }
.building-visual span:nth-child(3) { left: 52%; height: 88%; }
.building-visual span:nth-child(4) { left: 72%; height: 66%; }
.compliance-callout { position: absolute; right: 24px; bottom: 24px; max-width: 330px; padding: 22px; background: rgba(6,31,53,.88); border: 1px solid rgba(214,169,63,.74); border-radius: 26px 8px 26px 8px; box-shadow: 0 20px 45px rgba(0,0,0,.22); }
.compliance-callout strong, .compliance-callout span { display: block; position: relative; z-index: 1; }
.compliance-callout strong { text-transform: uppercase; letter-spacing: -.02em; line-height: 1.25; font-size: 18px; }
.compliance-callout span { color: #dbe8f0; line-height: 1.55; font-size: 13px; margin-top: 12px; }
.golden-thread-strip { max-width: 1260px; margin: 0 auto; padding: 34px 42px 24px; display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center; }
.golden-thread-strip h2 { margin-bottom: 12px; color: var(--green); font-size: 28px; line-height: 1; text-transform: uppercase; letter-spacing: -.03em; }
.golden-thread-strip p { margin-bottom: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }
.principle-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.principle-grid span { min-height: 88px; display: grid; place-items: center; text-align: center; border: 1px solid rgba(201,150,45,.48); border-radius: 16px; color: var(--green); background: linear-gradient(180deg, white, #fff8e9); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .035em; box-shadow: 0 10px 26px rgba(6,31,53,.06); }
.route-grid, .how-grid { max-width: 1260px; margin: 0 auto; padding: 24px 42px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.route-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.route-card h2, .trust-section h2, .site-cta h2 { font-family: Georgia, serif; font-size: 34px; font-weight: 400; letter-spacing: -.045em; margin-bottom: 8px; }
.route-card p, .trust-section p, .site-cta p { color: var(--muted); line-height: 1.65; }
.route-card ul { margin: 0 0 8px; padding-left: 18px; color: #405149; line-height: 1.8; font-size: 14px; }
.route-card .btn { margin-top: auto; }
.trust-section, .site-cta { max-width: 1176px; margin: 22px auto; padding: 34px; border-radius: 16px; background: var(--green); color: white; box-shadow: var(--shadow); }
.trust-section p, .site-cta p { color: #c9ddd2; max-width: 860px; }
.trust-section .eyebrow { color: var(--gold-2); }
.feature-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.feature-strip span { border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 8px 11px; color: #e4eee8; font-size: 12px; font-weight: 750; }
.how-grid ol { margin: 0; padding-left: 18px; color: #405149; line-height: 1.9; }
.site-cta { background: var(--paper); color: var(--ink); }
.site-cta p { color: var(--muted); }
.site-footer { max-width: 1260px; margin: 0 auto; padding: 26px 42px 42px; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 12px; }
.site-footer strong { color: var(--green); margin-right: auto; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--paper); }
.login-visual { padding: 56px; color: white; background: radial-gradient(circle at 16% 16%, rgba(16,79,119,.82), transparent 36%), linear-gradient(145deg, #031523, var(--green-2)); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.login-visual::after { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; right: -170px; bottom: -190px; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.02); }
.brand { display: flex; align-items: center; gap: 14px; font-weight: 750; letter-spacing: -.02em; }
.brand-logo-only { gap: 0; line-height: 0; }
.brand-logo { width: 86px; height: 86px; object-fit: contain; border-radius: 12px; box-shadow: 0 8px 28px rgba(6, 31, 53, .14); }
.brand-logo.site-logo { width: 118px; height: 118px; }
.brand-logo.login-logo { width: 132px; height: 132px; }
.brand-logo.sidebar-logo { width: 156px; height: 156px; }
.brand-logo.mobile-logo { width: 58px; height: 58px; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; background: #cae2d4; color: var(--green); display: grid; place-items: center; font-weight: 900; }
.login-copy { max-width: 570px; position: relative; z-index: 1; }
.login-copy h1 { font-family: Georgia, serif; font-size: clamp(44px, 6vw, 76px); font-weight: 400; line-height: .99; letter-spacing: -.055em; margin: 0 0 24px; }
.login-copy p { font-size: 18px; line-height: 1.65; color: #d7e6de; max-width: 500px; }
.principles { display: flex; gap: 28px; color: #bad0c4; font-size: 13px; }
.login-panel { display: grid; place-items: center; padding: 40px; }
.login-form { width: min(420px, 100%); }
.account-choices { display: grid; gap: 10px; margin: 22px 0; }
.account-choice { width: 100%; border: 1px solid #cddad3; border-radius: 10px; background: white; padding: 14px; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; text-align: left; color: var(--ink); }
.account-choice:hover { border-color: var(--green-2); background: #f5faf7; transform: translateY(-1px); }
.account-choice.contractor { border-color: #e4d7c7; }
.account-choice.contractor:hover { border-color: var(--amber); background: #fffaf2; }
.account-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: white; display: grid; place-items: center; font-weight: 850; }
.account-choice.contractor .account-icon { background: var(--amber); }
.account-choice strong, .account-choice small, .account-choice em { display: block; }
.account-choice strong { font-size: 13px; }
.account-choice small { color: var(--green-2); font-size: 10px; font-weight: 800; margin: 2px 0 4px; text-transform: uppercase; letter-spacing: .05em; }
.account-choice em { color: var(--muted); font-size: 10px; font-style: normal; line-height: 1.35; }
.account-choice b { color: var(--muted); font-size: 11px; }
.advanced-demo { margin: 6px 0 18px; border: 1px dashed #d8d0c3; border-radius: 10px; padding: 12px; background: #fffbf2; }
.advanced-demo summary { color: var(--green-2); font-size: 12px; font-weight: 800; cursor: pointer; }
.advanced-demo .account-choices { margin: 12px 0 0; }
.signup-actions { display: grid; gap: 8px; margin-top: 10px; }
.login-divider { display: flex; align-items: center; gap: 10px; color: #8a9690; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.login-divider::before, .login-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.eyebrow { color: var(--green-2); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 800; }
h1, h2, h3, p { margin-top: 0; }
.login-form h2 { font-size: 31px; letter-spacing: -.04em; margin: 12px 0 8px; }
.subtle { color: var(--muted); line-height: 1.55; }
label { display: block; color: #405149; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
input, select, textarea { width: 100%; border: 1px solid #d2dad5; border-radius: 8px; background: white; padding: 11px 12px; color: var(--ink); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(201,150,45,.18); }
.field { margin: 20px 0; }
.demo-note { background: var(--mint); padding: 14px; border-radius: 8px; color: var(--green); font-size: 13px; line-height: 1.5; margin: 20px 0; }
.btn { border: 0; border-radius: 7px; padding: 11px 16px; background: var(--green); color: white; font-weight: 750; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn:hover { background: var(--green-2); }
.btn.block { width: 100%; }
.btn.secondary { background: white; border: 1px solid var(--line); color: var(--ink); }
.btn.danger { background: #fff3f1; color: var(--red); border: 1px solid #ebcac6; }
.btn.small { padding: 7px 10px; font-size: 12px; }
.error { background: #fff1ef; color: var(--red); padding: 10px 12px; border-radius: 7px; font-size: 13px; margin-bottom: 12px; }
.app { min-height: 100vh; display: grid; grid-template-columns: 236px 1fr; }
.sidebar { background: var(--green); color: white; padding: 24px 18px; display: flex; flex-direction: column; position: sticky; height: 100vh; top: 0; }
.sidebar .brand { margin: 0 auto 26px; justify-content: center; }
.sidebar .brand-logo { width: 156px; height: 156px; }
.nav-label { color: #91ad9e; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 800; margin: 18px 10px 8px; }
.nav-item { border: 0; width: 100%; color: #d9e5de; background: transparent; border-radius: 7px; padding: 10px 12px; text-align: left; font-weight: 650; margin: 2px 0; display: flex; gap: 10px; align-items: center; }
.nav-item:hover, .nav-item.active { color: white; background: rgba(255,255,255,.1); }
.nav-icon { width: 18px; opacity: .8; text-align: center; }
.profile { margin-top: auto; border-top: 1px solid rgba(255,255,255,.13); padding: 18px 6px 0; }
.avatar { width: 34px; height: 34px; background: #d1e3d8; color: var(--green); display: grid; place-items: center; border-radius: 50%; font-weight: 850; }
.profile-row { display: flex; gap: 10px; align-items: center; }
.profile-name { font-size: 13px; font-weight: 750; }
.profile-role { font-size: 11px; color: #9eb6a9; margin-top: 2px; }
.logout { background: none; border: 0; color: #bcd0c5; padding: 12px 0 0; font-size: 12px; }
.top-actions { display: flex; align-items: center; gap: 9px; }
.top-logout { color: var(--muted); padding: 0; }
.main { min-width: 0; }
.topbar { height: 66px; background: rgba(255,253,248,.92); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 32px; position: sticky; top: 0; z-index: 4; backdrop-filter: blur(12px); }
.top-title { font-size: 13px; color: var(--muted); font-weight: 650; }
.top-title strong { color: var(--ink); }
.content { padding: 34px 36px 60px; max-width: 1540px; margin: 0 auto; }
.page-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; margin-bottom: 28px; }
.page-head h1 { font-family: Georgia, serif; font-size: 38px; font-weight: 400; letter-spacing: -.045em; margin-bottom: 7px; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 26px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 19px; box-shadow: 0 3px 18px rgba(20,40,31,.025); }
.stat .value { font-size: 30px; letter-spacing: -.05em; font-weight: 760; margin: 8px 0 5px; }
.stat .label { color: var(--muted); font-size: 12px; font-weight: 700; }
.stat .hint { font-size: 11px; color: #8a9690; }
.grid-2 { display: grid; grid-template-columns: 1.3fr .9fr; gap: 18px; margin-bottom: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 3px 18px rgba(20,40,31,.025); overflow: hidden; }
.card-head { padding: 18px 19px 15px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.card-head h2 { font-size: 14px; margin: 0; letter-spacing: -.01em; }
.card-subtitle { font-size: 10px; color: var(--muted); margin: 4px 0 0; }
.card-body { padding: 6px 19px; }
.list-row { padding: 14px 0; border-bottom: 1px solid #e8ebe8; display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.list-row:last-child { border-bottom: 0; }
.list-main { min-width: 0; }
.row-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; flex: 0 0 auto; }
.icon-btn { width: 31px; height: 31px; border-radius: 7px; border: 1px solid rgba(7,29,50,.16); display: inline-grid; place-items: center; background: white; color: var(--ink); font-size: 15px; line-height: 1; }
.icon-btn:hover { background: var(--mint); border-color: var(--green-2); }
.icon-btn.trash { color: var(--ink); }
.list-title { font-size: 13px; font-weight: 750; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-meta { color: var(--muted); font-size: 11px; }
.badge { font-size: 10px; font-weight: 800; padding: 4px 7px; background: var(--mint); color: var(--green-2); border-radius: 999px; white-space: nowrap; }
.badge.red { color: var(--red); background: #fff0ed; }
.badge.amber { color: var(--amber); background: #fff5e5; }
.badge.grey { color: #66756f; background: #edf0ee; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; min-width: 700px; }
th { text-align: left; text-transform: uppercase; letter-spacing: .09em; font-size: 9px; color: #849089; padding: 11px 15px; border-bottom: 1px solid var(--line); }
td { padding: 15px; border-bottom: 1px solid #e8ebe8; font-size: 12px; vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
.link { color: var(--green-2); font-weight: 750; text-decoration: none; cursor: pointer; }
.building-name { font-size: 13px; font-weight: 780; margin-bottom: 3px; }
.search { max-width: 300px; }
.building-hero { background: var(--green); color: white; border-radius: 12px; padding: 26px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; margin-bottom: 20px; }
.building-hero h1 { font-family: Georgia, serif; font-size: 37px; font-weight: 400; letter-spacing: -.045em; margin: 8px 0 8px; }
.building-hero p { color: #bcd0c5; margin-bottom: 0; }
.building-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.fact { border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 12px; }
.fact-label { text-transform: uppercase; letter-spacing: .09em; color: #9fb8aa; font-size: 9px; font-weight: 800; }
.fact-value { font-weight: 750; margin-top: 5px; font-size: 13px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 24px 0 16px; overflow-x: auto; }
.tab { border: 0; background: none; padding: 10px 13px; color: var(--muted); font-size: 12px; font-weight: 750; border-bottom: 2px solid transparent; white-space: nowrap; }
.tab.active { color: var(--green); border-color: var(--green); }
.empty { padding: 30px 16px; text-align: center; color: var(--muted); font-size: 13px; }
.modal-shade { position: fixed; inset: 0; background: rgba(9,29,21,.55); z-index: 20; display: grid; place-items: center; padding: 20px; }
.modal { background: var(--paper); border-radius: 12px; width: min(560px, 100%); max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow); }
.modal.access-modal { width: min(760px, 100%); }
.modal-head { padding: 20px 22px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 15px; }
.modal-head h2 { font-size: 18px; margin: 0; }
.modal-body { padding: 20px 22px; }
.modal-foot { padding: 15px 22px 20px; display: flex; justify-content: flex-end; gap: 8px; }
.close { background: none; border: 0; color: var(--muted); font-size: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .field { margin: 0; }
.form-grid .wide { grid-column: 1 / -1; }
.toast { position: fixed; right: 22px; bottom: 22px; background: var(--green); color: white; padding: 12px 16px; border-radius: 8px; z-index: 30; box-shadow: var(--shadow); font-size: 13px; }
.mobile-brand { display: none; }
.directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pricing-card .card-body { padding: 18px; }
.pricing-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.pricing-split div, .pricing-pill, .pricing-notice { border: 1px solid var(--line); border-radius: 8px; background: #fbfcf8; padding: 12px; }
.pricing-split span, .pricing-split small, .pricing-pill span, .pricing-notice span { display: block; color: var(--muted); font-size: 10px; line-height: 1.45; }
.pricing-split strong, .pricing-pill strong, .pricing-notice strong { display: block; color: var(--green); font-size: 17px; letter-spacing: -.02em; margin-bottom: 4px; }
.pricing-pill { margin-top: auto; }
.pricing-notice { margin-bottom: 16px; background: var(--mint); border-color: #bfd7c9; }
.profile-save { justify-content: flex-end; margin: -4px 0 18px; }
.profile-summary-grid { margin-bottom: 12px; }
.case-card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 14px; min-height: 295px; box-shadow: 0 3px 18px rgba(20,40,31,.025); position: relative; }
.case-trash { position: absolute; top: 14px; right: 14px; }
.case-card h2 { font-family: Georgia, serif; font-size: 25px; font-weight: 400; letter-spacing: -.035em; margin: 9px 0 7px; }
.case-card p { color: var(--muted); line-height: 1.5; font-size: 12px; }
.case-progress { height: 8px; border-radius: 999px; background: #e5e9e6; overflow: hidden; }
.case-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--gold)); border-radius: inherit; }
.case-progress.large { width: 170px; margin: 12px 0 6px auto; }
.case-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; font-weight: 750; }
.case-card-actions { margin-top: auto; display: grid; gap: 8px; }
.case-hero { background: var(--green); color: white; border-radius: 12px; padding: 26px; display: flex; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.case-hero h1 { font-family: Georgia, serif; font-size: 38px; font-weight: 400; letter-spacing: -.045em; margin: 8px 0; }
.case-hero p { color: #bcd0c5; margin-bottom: 0; }
.case-hero > div:last-child { text-align: right; min-width: 220px; }
.case-hero .badge { background: rgba(255,255,255,.14); color: white; }
.case-layout { display: grid; gap: 18px; margin-bottom: 18px; }
.case-form-card .card-body { padding: 20px; }
.dwelling-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; padding: 20px; }
.dwelling-grid .field { margin: 0; }
.dwelling-grid .field:last-child { grid-column: span 2; }
.evidence-card { margin-bottom: 26px; }
.directory-card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 3px 18px rgba(20,40,31,.025); }
.directory-card h2 { font-family: Georgia, serif; font-size: 25px; font-weight: 400; letter-spacing: -.035em; margin: 9px 0 7px; }
.mini-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.mini-facts span { background: var(--mint); color: var(--green-2); border-radius: 999px; padding: 5px 8px; font-size: 10px; font-weight: 750; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.check { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: white; padding: 9px; border-radius: 7px; margin: 0; font-weight: 600; }
.check input { width: auto; }
.release-summary { background: var(--mint); color: var(--green); border-radius: 8px; padding: 12px; display: flex; gap: 8px; align-items: baseline; margin: 14px 0; font-size: 12px; }
.release-summary span { color: var(--green-2); }
.release-list { border: 1px solid var(--line); border-radius: 8px; max-height: 310px; overflow-y: auto; background: white; }
.release-item { display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: center; padding: 12px; border-bottom: 1px solid var(--line); margin: 0; cursor: pointer; }
.release-item:last-child { border-bottom: 0; }
.release-item:hover { background: #f6f8f6; }
.release-item.suggested { background: #f2f8f4; }
.release-item input { width: auto; }
.release-item strong, .release-item small { display: block; }
.release-item strong { font-size: 12px; margin-bottom: 3px; }
.release-item small { color: var(--muted); font-size: 10px; font-weight: 500; }
.release-item b { color: var(--green-2); background: var(--mint); border-radius: 999px; padding: 4px 7px; font-size: 9px; text-transform: uppercase; letter-spacing: .05em; }
.release-library { border-color: #b9d2c4; }
.release-page-list { padding: 0; }
.release-page-list .release-item { padding: 15px 18px; }
.release-help { padding: 12px 18px; background: var(--mint); color: var(--green-2); font-size: 10px; line-height: 1.45; }
.release-confirm { background: var(--mint); border-radius: 8px; padding: 13px; margin: 14px 0; }
.release-confirm strong, .release-confirm span { display: block; }
.release-confirm strong { color: var(--green); font-size: 12px; margin-bottom: 7px; }
.release-confirm span { color: var(--green-2); font-size: 11px; padding: 4px 0; border-top: 1px solid rgba(29,89,66,.12); }
.support-banner { position: sticky; top: 66px; z-index: 6; margin-bottom: 18px; padding: 14px 16px; border: 1px solid rgba(201,150,45,.75); border-radius: 10px; background: linear-gradient(135deg, #fff8e6, #f4df9a); color: var(--green); display: flex; justify-content: space-between; align-items: center; gap: 16px; box-shadow: var(--shadow); }
.support-banner strong, .support-banner span { display: block; }
.support-banner strong { text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.support-banner span { font-size: 12px; margin-top: 3px; line-height: 1.45; }
.work-hero { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.work-hero h1 { font-family: Georgia, serif; font-size: 34px; font-weight: 400; letter-spacing: -.04em; margin: 8px 0; }
.work-hero > div:last-child { text-align: right; min-width: 180px; }
.workflow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin: 18px 0; }
.workflow-step { background: #e8ebe8; color: var(--muted); padding: 10px; min-height: 74px; border-radius: 7px; display: flex; gap: 8px; align-items: flex-start; }
.workflow-step span { width: 20px; height: 20px; border-radius: 50%; background: white; display: grid; place-items: center; flex: 0 0 auto; font-size: 10px; font-weight: 850; }
.workflow-step strong { font-size: 10px; line-height: 1.2; display: block; }
.workflow-step small { font-size: 9px; margin-top: 4px; display: block; }
.workflow-step.done { background: var(--mint); color: var(--green-2); }
.workflow-step.current { background: var(--green); color: white; }
.workflow-step.current span { color: var(--green); }
.detail-row { padding: 13px 0; border-bottom: 1px solid #e8ebe8; display: grid; grid-template-columns: 140px 1fr; gap: 15px; }
.detail-row:last-child { border-bottom: 0; }
.detail-row span { color: var(--muted); font-size: 11px; }
.detail-row strong { font-size: 12px; line-height: 1.55; font-weight: 650; }
@media (max-width: 960px) {
  .site-header { align-items: flex-start; padding: 16px 20px; }
  .site-nav { justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
  .site-hero { grid-template-columns: 1fr; padding: 46px 20px 28px; }
  .flyer-hero { padding: 54px 20px 42px; }
  .flyer-hero::before { right: -360px; top: -340px; opacity: .42; }
  .flyer-copy { margin-left: 0; }
  .flyer-panel { margin-right: 0; min-height: 340px; }
  .golden-thread-strip { grid-template-columns: 1fr; padding: 28px 20px 14px; }
  .principle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-panel { min-height: 250px; }
  .route-grid, .how-grid { grid-template-columns: 1fr; padding: 16px 20px; }
  .trust-section, .site-cta { margin: 18px 20px; }
  .site-footer { padding: 24px 20px 34px; }
  .login-shell { grid-template-columns: 1fr; }
  .login-visual { min-height: 42vh; padding: 34px; }
  .principles { display: none; }
  .login-panel { padding: 35px 20px; }
  .app { grid-template-columns: 1fr; }
  .sidebar { height: auto; position: fixed; inset: auto 0 0 0; z-index: 10; padding: 7px 10px; flex-direction: row; justify-content: space-around; }
  .sidebar .brand, .nav-label, .profile { display: none; }
  .nav-item { width: auto; flex-direction: column; gap: 2px; font-size: 9px; padding: 7px 12px; }
  .nav-icon { font-size: 15px; }
  .topbar { padding: 0 18px; height: 58px; }
  .mobile-brand { display: flex; }
  .top-title { display: none; }
  .top-logout { display: block; }
  .content { padding: 24px 16px 90px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .building-hero { grid-template-columns: 1fr; }
  .directory-grid, .case-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .dwelling-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case-hero { flex-direction: column; }
  .case-hero > div:last-child { text-align: left; }
  .case-progress.large { margin-left: 0; }
  .workflow { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 961px) { .top-logout { display: none; } }
@media (max-width: 600px) {
  .site-header { position: static; flex-direction: column; }
  .brand-logo.site-logo { width: 96px; height: 96px; }
  .site-nav a { display: none; }
  .site-hero h1 { font-size: 42px; }
  .site-hero p { font-size: 16px; }
  .flyer-hero { padding-top: 42px; }
  .flyer-panel { min-height: 280px; }
  .compliance-callout { left: 18px; right: 18px; bottom: 18px; max-width: none; padding: 18px; }
  .principle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principle-grid span { min-height: 72px; }
  .route-card, .trust-section, .site-cta { padding: 22px; }
  .route-card h2, .trust-section h2, .site-cta h2 { font-size: 29px; }
  .page-head { align-items: flex-start; flex-direction: column; }
  .page-head h1 { font-size: 32px; }
  .stats { gap: 9px; }
  .stat { padding: 15px; }
  .stat .value { font-size: 25px; }
  .building-facts { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .directory-grid, .case-grid, .pricing-grid, .check-grid { grid-template-columns: 1fr; }
  .pricing-split { grid-template-columns: 1fr; }
  .dwelling-grid { grid-template-columns: 1fr 1fr; }
  .dwelling-grid .field:last-child { grid-column: 1 / -1; }
  .work-hero { flex-direction: column; }
  .work-hero > div:last-child { text-align: left; }
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .detail-row { grid-template-columns: 1fr; gap: 5px; }
}
