:root {
  color-scheme: light;
  --ink: #272727; --muted: #5d5662; --paper: #fcfbf9; --white: #fff; --line: #e0dbe2;
  --lilac: #b48cd7; --yellow: #e1dc64; --green: #60b785; --plum: #563575;
  --lavender: #f0e7f7; --warm: #f6f3ce; --pale-green: #e6f2e9;
  background: var(--paper); color: var(--ink); font: 16px/1.55 Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
a { color: var(--plum); text-underline-offset: 4px; }
img { max-width: 100%; display: block; }
button,input,textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1,h2,h3,p,dl,dd { margin: 0; }
h1,h2,h3 { letter-spacing: -.045em; line-height: 1.08; }
h1 { font-size: clamp(39px,6vw,69px); letter-spacing: -.062em; overflow-wrap: anywhere; }
h2 { font-size: 25px; margin-bottom: 10px; }
h3 { font-size: 28px; margin-top: 6px; }
p { overflow-wrap: anywhere; }
.shell { width: min(1160px,calc(100% - 70px)); margin-inline: auto; }
main { padding-bottom: 62px; min-height: 70vh; }
.header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { flex: 0 0 170px; }
.brand img { object-fit: contain; }
nav { display: flex; flex-wrap: wrap; gap: 22px; }
nav a { text-decoration: none; font-size: 14px; font-weight: 700; }
nav a:hover { text-decoration: underline; }
.restricted { color: var(--plum); border: 1px solid #dfd0e9; background: #f7f0fa; padding: 5px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.eyebrow { color: var(--plum); text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: .115em; margin-bottom: 11px; }
.lead { color: var(--muted); max-width: 690px; margin-top: 15px; font-size: clamp(17px,1.9vw,21px); line-height: 1.45; }
.hero { border-radius: 20px; background: radial-gradient(circle at 93% 105%,#e5d3f0 0,transparent 57%),linear-gradient(110deg,#f5eef9,#f0e4f7); border: 1px solid #e6d8ee; padding: 42px; margin: 32px 0 28px; }
.login-layout { display: grid; grid-template-columns: 1.3fr minmax(280px, .8fr); gap: 38px; align-items: center; min-height: 440px; }
.login-steps { list-style: none; padding: 0; display: grid; gap: 10px; margin: 21px 0 0; font-size: 14px; font-weight: 700; }
.login-steps span { display: inline-grid; place-items: center; width: 30px; height: 28px; border-radius: 6px; margin-right: 8px; background: var(--yellow); }
.login-steps li:nth-child(2) span { background: #d7b9eb; }
.login-steps li:nth-child(3) span { background: #a4d7b5; }
.panel { border: 1px solid var(--line); background: var(--white); border-radius: 13px; padding: 23px; }
.form-stack { display: grid; gap: 10px; }
.form-stack > h2 { margin: 0; }
.form-stack label,.filter label,legend { font-size: 14px; font-weight: 700; }
.form-stack input:not([type=checkbox]),textarea,.filter input { width: 100%; padding: 10px 12px; border: 1px solid #cfc5d3; border-radius: 8px; background: #fff; min-height: 43px; }
.form-stack textarea { resize: vertical; }
.form-stack p { margin-bottom: 5px; }
.form-stack fieldset { border: 0; padding: 0; margin: 2px 0; min-width: 0; }
.form-stack .primary { justify-self: start; }
.login-form { box-shadow: 0 12px 42px #46225512; }
.login-form .primary { margin-top: 8px; }
.buttons { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-top: 14px; }
.button { border: 1px solid #cfc2d8; border-radius: 8px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; padding: 10px 14px; text-decoration: none; display: inline-flex; align-items: center; min-height: 42px; }
.button:hover { background: #f5eef9; }
.button.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.button.primary:hover { background: #48364e; }
.button.small { min-height: 34px; padding: 5px 10px; font-size: 13px; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }
.skip { position: absolute; top: -90px; left: 12px; z-index: 9; background: #fff; padding: 12px; }
.skip:focus { top: 12px; }
.report-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.report-card.roadmap { border-top: 4px solid var(--yellow); }
.report-card.design { border-top: 4px solid var(--lilac); }
.progress-label { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; margin: 22px 0 3px; }
progress { appearance: none; border: 0; width: 100%; height: 10px; background: #eee6f1; border-radius: 9px; overflow: hidden; }
progress::-webkit-progress-bar { background: #eee6f1; }
progress::-webkit-progress-value { background: var(--green); }
progress::-moz-progress-bar { background: var(--green); }
.due { display: grid; font-size: 13px; margin-top: 13px; color: var(--muted); }
.due strong { color: var(--ink); font-size: 16px; }
.dashboard h2 { margin-bottom: 15px; }
.note { margin-top: 15px; }
.note p { color: var(--muted); }
.page-head { padding: 24px 0 27px; }
.back { display: inline-block; margin-bottom: 17px; font-size: 14px; font-weight: 700; }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,290px); gap: 16px; align-items: start; }
.split > div { min-width: 0; }
.split .panel + .panel { margin-top: 14px; }
.side { background: #f8f1fa; position: sticky; top: 16px; }
.side p { font-size: 14px; color: var(--muted); }
.side > .button { margin-top: 14px; }
.side-links { display: grid; margin-top: 10px; }
.side-links a { padding: 8px 0; font-size: 14px; font-weight: 700; border-bottom: 1px solid #e2d6e9; }
.filter { display: grid; gap: 7px; }
.group-title { margin: 23px 0 7px; font-size: 19px; }
.outline-row { display: grid; grid-template-columns: 105px 1fr auto; gap: 10px; align-items: start; padding: 11px 12px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 7px; margin-bottom: 5px; }
.outline-row:hover,.inbox-row:hover { background: #f9f4fb; }
.outline-row small,.inbox-row small { display: block; color: var(--muted); margin-top: 2px; }
.ref,.state { color: var(--plum); font-size: 12px; font-weight: 700; padding-top: 3px; }
.state { background: #f3edf6; border-radius: 5px; padding: 3px 7px; }
.guidance dl { display: grid; grid-template-columns: 155px 1fr; gap: 11px 14px; font-size: 15px; }
.guidance dt { font-weight: 700; }
.guidance dd { color: var(--muted); }
.attention { background: var(--warm); border-radius: 8px; margin-top: 16px; padding: 12px 14px; }
.attention p { margin-top: 2px; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px 0 3px; }
.chips label { position: relative; }
.chips input { position: absolute; left: 7px; top: 9px; accent-color: var(--plum); }
.chips span { display: block; border-radius: 7px; padding: 7px 8px 7px 29px; border: 1px solid var(--line); cursor: pointer; }
.chips input:checked + span { background: var(--lavender); border-color: #ad90c0; }
.check { display: flex; align-items: center; gap: 8px; }
.check input { accent-color: var(--plum); }
.pagination { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 17px; font-size: 14px; }
.inbox-row { display: flex; justify-content: space-between; gap: 14px; align-items: start; padding: 10px 0; color: var(--ink); border-bottom: 1px solid var(--line); text-decoration: none; }
.inbox-row:last-child { border-bottom: 0; }
.message-list { display: grid; gap: 8px; margin-bottom: 14px; }
.message-list article p { white-space: pre-wrap; margin-top: 8px; }
time { color: var(--muted); font-size: 13px; margin-left: 8px; }
.unread { display: inline-block; background: var(--warm); color: var(--ink); border-radius: 6px; padding: 2px 6px; font-size: 12px; font-weight: 700; }
[hidden] { display: none !important; }
.admin-section { margin-top: 16px; }
.muted { color: var(--muted); font-size: 14px; }
.error,.flash { border-radius: 7px; padding: 10px 13px; }
.error { background: #faebee; color: #812936; }
.flash { background: var(--pale-green); margin: 14px 0 0; }
footer { background: #f4eff5; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; padding-block: 24px; font-size: 13px; color: var(--muted); }
.funding { display: grid; grid-template-columns: 45px 1fr; gap: 10px; align-items: start; }
@media(max-width:750px) {
  .shell { width: calc(100% - 32px); }
  .hero { padding: 24px; margin-top: 19px; }
  .login-layout,.split,.report-grid,.footer-inner { grid-template-columns: 1fr; }
  .side { position: static; }
  .header-inner { min-height: 60px; flex-wrap: wrap; gap: 6px 10px; padding-block: 5px; }
  .header-inner nav { width: 100%; order: 3; gap: 14px; }
  .restricted { font-size: 11px; }
  .panel { padding: 16px; }
  .guidance dl { grid-template-columns: 1fr; gap: 4px; }
  .guidance dd + dt { margin-top: 8px; }
  .outline-row { grid-template-columns: 65px minmax(0,1fr) auto; gap: 6px; }
  .outline-row strong { overflow-wrap: anywhere; }
}
.feedback-body { white-space:pre-wrap; margin:9px 0; }
