* { box-sizing: border-box; }
:root { font: 100%/1.55 system-ui, sans-serif; color: #182536; background: #f3f6f9; --ink: #142d29; --green: #15654f; --mint: #b5f4d1; --line: #dae4e3; }
body { margin: 0; min-width: 280px; }
a { color: inherit; }
h1,h2,h3,p { margin: 0; }
h1 { font-size: clamp(2.2rem,5vw,4rem); line-height: 1.06; letter-spacing: -.055em; }
h2 { font-size: 1.35rem; letter-spacing: -.025em; margin-bottom: 1rem; }
h3 { font-size: 1.05rem; }
.brand { display: flex; gap: .75rem; align-items: center; font-weight: 750; text-decoration: none; line-height: 1.25; width: fit-content; }
.brand-mark { display: grid; place-items: center; background: var(--mint); color: var(--ink); border-radius: 11px; width: 42px; height: 42px; font-size: 1.45rem; }
.brand small { display: block; font-weight: 450; color: #b6d3c9; font-size: .8rem; }
.login { display: grid; grid-template-columns: 1.12fr 1fr; min-height: 100vh; }
.login-intro { background: radial-gradient(ellipse at 90% 110%,#358469,transparent 65%),var(--ink); color: #fff; display: grid; align-content: space-between; gap: 5rem; padding: clamp(1.6rem,6vw,6rem); }
.login-intro p { margin-top: 1.25rem; color: var(--mint); max-width: 32ch; }
.login-form { display: grid; place-items: center; padding: clamp(1.5rem,5vw,5rem); background: #fff; }
.login-form > div { width: min(100%, 25rem); }
.login-form h2 { font-size: 2rem; }
.login-form button { width: 100%; }
.shell { display: grid; grid-template-columns: 235px minmax(0,1fr); min-height: 100vh; }
aside { display: flex; flex-direction: column; gap: 2.2rem; background: var(--ink); color: #fff; padding: 1.5rem 1.1rem; }
nav { display: grid; gap: .35rem; }
nav a { text-decoration: none; padding: .58rem .8rem; border-radius: .55rem; color: #e0eee9; font-size: .9rem; }
nav a:hover, nav a:focus-visible { background: #2a4d44; }
.profile { display: grid; gap: .2rem; margin-top: auto; padding: .85rem .55rem 0; border-top: 1px solid #45665d; overflow-wrap: anywhere; }
.profile span { color: #b6d3c9; font-size: .88rem; }
.profile button { background: transparent; border: 1px solid #8caea1; color: #fff; margin-top: .5rem; }
.dashboard { width: min(100%, 1220px); padding: clamp(1rem,3.5vw,3rem); margin: 0 auto; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #17644f; border-radius: 1.15rem; padding: clamp(1.5rem,4.5vw,3.5rem); color: #fff; }
.hero p { color: var(--mint); font-weight: 700; margin-bottom: .55rem; }
.hero h1 + div { margin-top: .8rem; overflow-wrap: anywhere; }
.hero-art { position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 92% 120%,transparent 15%,#ffffff1d 15.3%,transparent 16%,transparent 22%,#ffffff25 22.3%,transparent 23%,transparent 30%,#ffffff1d 30.3%,transparent 31%), linear-gradient(115deg,transparent 55%,#21735c); }
.stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .85rem; margin: 1rem 0; }
.stat,.panel { background: #fff; border: 1px solid var(--line); border-radius: .95rem; }
.stat { display: flex; flex-direction: column; padding: .85rem 1.1rem; }
.stat b { color: var(--green); font-size: 1.65rem; line-height: 1.25; }
.stat span,.row span,.work-header span,.extensions span { color: #485d66; font-size: .9rem; }
.panel { padding: clamp(1rem,2.7vw,1.7rem); margin-bottom: 1rem; scroll-margin-top: 1rem; }
.panel:target { border-color: #268c6a; }
.split { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); align-items: start; gap: 1.2rem; }
.row { display: grid; overflow-wrap: anywhere; padding: .55rem 0; border-bottom: 1px solid #ebf0ef; }
.empty { padding: .85rem; color: #475d60; background: #f1f6f4; border-radius: .55rem; }
.work { padding: .8rem 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.work:last-child { border-bottom: 0; }
.work p { margin: .6rem 0; white-space: pre-wrap; }
.work details { margin-top: .6rem; }
.child + .child { margin-top: 1rem; }
.badge { display: inline-block; background: #e1f3e9; color: #12543f; padding: .15rem .65rem; border-radius: 999px; font-size: .875rem; font-weight: 650; }
.extensions { display: grid; gap: .65rem; grid-template-columns: repeat(auto-fit,minmax(125px,1fr)); }
.extensions div { display: grid; border: 1px solid var(--line); border-radius: .65rem; padding: .8rem; }
details { border: 1px solid var(--line); border-radius: .65rem; padding: .65rem .85rem; }
summary { font-weight: 650; cursor: pointer; color: var(--green); }
details form { margin-top: .8rem; }
form { display: grid; gap: .75rem; }
label { display: grid; gap: .25rem; font-size: .9rem; font-weight: 650; min-width: 0; }
input,select,textarea,button { font: inherit; }
input,select,textarea { width: 100%; min-width: 0; border: 1px solid #a6bab4; border-radius: .45rem; background: #fff; padding: .55rem .65rem; color: var(--ink); font-size: 1rem; }
select { appearance: none; padding-right: 1.7rem; background-image: linear-gradient(45deg,transparent 50%,#15654f 50%),linear-gradient(135deg,#15654f 50%,transparent 50%); background-position: right 13px center,right 8px center; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { min-height: 6rem; resize: vertical; }
button { justify-self: start; border: 1px solid transparent; background: var(--green); color: #fff; padding: .5rem .9rem; border-radius: .5rem; cursor: pointer; font-weight: 650; font-size: .9rem; }
button:hover { background: #094c3a; }
:focus-visible { outline: 2px solid #1a8064; outline-offset: 3px; }
aside :focus-visible { outline-color: var(--mint); }
.notice { background: #e5f5eb; color: #185741; padding: .6rem .85rem; border-radius: .5rem; margin: .75rem 0; }
.notice.error { background: #ffeded; color: #8c2525; }
@media (max-width: 800px) { .shell { grid-template-columns: 1fr; } aside { gap: .85rem; } nav { display: flex; flex-wrap: wrap; } .profile { grid-template-columns: 1fr auto; align-items: center; } .profile span { grid-column: 1; } .profile form { grid-column: 2; grid-row: 1 / span 2; } }
@media (max-width: 600px) { .login,.split { grid-template-columns: 1fr; } .login { min-height: initial; } .login-intro { gap: 2rem; } .login-form { padding-bottom: 2.5rem; } .stats { gap: .4rem; } .stat { padding: .55rem; } .stat span { font-size: .875rem; } }
.public-site { --surface: #f6f8f3; background: var(--surface); min-height: 100vh; }
.public-nav,.public-site main { width: min(100% - 2.5rem,1120px); margin-inline: auto; }
.public-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 76px; }
.public-nav .brand small { color: #46665c; }
.public-nav nav,.preview-bar nav { display: flex; align-items: center; flex-wrap: wrap; }
.public-nav nav a { color: var(--ink); }
.public-nav nav a:hover { background: #e4eee7; }
.cta,.secondary { display: inline-block; border-radius: .55rem; padding: .7rem 1rem; font-weight: 700; text-decoration: none; font-size: .93rem; }
.public-nav nav a.cta,.cta { background: var(--mint); color: #10392d; }
.cta:hover,.public-nav nav a.cta:hover { background: #97e5bc; }
.welcome { background: radial-gradient(ellipse at 95% 115%,#2d755d,transparent 70%),var(--ink); color: #fff; border-radius: 1.35rem; display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: clamp(1.25rem,5vw,4rem); align-items: center; padding: clamp(1.35rem,5vw,4rem); }
.welcome-copy > p { color: #d6ebe1; max-width: 40ch; margin: 1rem 0 1.35rem; }
.secondary { color: #ebfff3; }
.secondary:hover { text-decoration: underline; }
.welcome-preview { background: #f1fbf5; color: var(--ink); border-radius: 1rem; padding: clamp(1rem,3vw,1.7rem); }
.welcome-preview h2 { margin-bottom: .45rem; }
.welcome-preview .row { border-color: #ceded5; }
.welcome-preview .row:last-child { border-bottom: 0; }
.portal-choices { padding: 1.65rem 0 2.5rem; }
.portals { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .9rem; }
.portals article { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: .85rem; padding: 1.15rem; }
.portals p { color: #425d55; margin: .45rem 0 .85rem; flex: 1; }
.portals a,.auth-note a { color: var(--green); font-weight: 700; }
.portals article div { display: flex; flex-wrap: wrap; gap: .8rem; }
.auth-note { margin: .9rem 0; color: #415e55; }
.login-intro .cta { margin-top: 1.1rem; }
.preview-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .65rem; padding: .75rem 1rem; margin-bottom: 1rem; border: 1px solid #c4d9cf; border-radius: .8rem; background: #e6f4ec; color: #184b3c; }
.preview-bar p { font-size: .875rem; }
.preview-bar nav a { color: #184b3c; }
.preview-bar nav a:hover,.preview-bar nav a:focus-visible,.preview-bar nav a[aria-current="page"] { background: #c2e3d2; color: #133c30; }
.demo-fields { border: 0; padding: 0; margin: .75rem 0 0; min-width: 0; display: grid; gap: .75rem; }
.demo-fields :disabled { cursor: default; opacity: .65; }
.request { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .65rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.request .row { border: 0; padding: 0; }
.request-actions { display: flex; gap: .5rem; }
.request-actions > :last-child button { background: #fff; color: #843536; border-color: #cfa5a5; }
.request-actions .demo-fields { margin: 0; }
@media(max-width: 740px) { .welcome,.portals { grid-template-columns: 1fr; } .public-nav { min-height: 68px; } }
@media(max-width: 370px) { .public-nav { align-items: flex-start; padding-block: .75rem; } .public-nav nav { justify-content: flex-end; } }


