:root {
  --navy-950: #06172e;
  --navy-900: #081b35;
  --navy-800: #102a4b;
  --navy-700: #1b3e63;
  --ink: #12233a;
  --muted: #65758a;
  --soft: #eef2f7;
  --line: #dce3ec;
  --surface: #ffffff;
  --canvas: #f4f6f9;
  --orange: #ee7425;
  --orange-dark: #d85e14;
  --orange-soft: #fff1e7;
  --green: #168563;
  --green-soft: #e8f7f1;
  --red: #c74048;
  --red-soft: #fff0f1;
  --amber: #b76d13;
  --amber-soft: #fff7e5;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 31, 53, .04), 0 8px 22px rgba(14, 31, 53, .035);
  --shadow: 0 16px 42px rgba(14, 31, 53, .09);
  --sidebar: 252px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--canvas); }
body { min-height: 100vh; margin: 0; background: var(--canvas); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid rgba(238, 116, 37, .28); outline-offset: 2px; }
svg { width: 20px; height: 20px; flex: 0 0 auto; }
h1, h2, h3, p { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.muted { color: var(--muted); }

.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 30; width: var(--sidebar); padding: 24px 18px 18px;
  display: flex; flex-direction: column; color: #d7e3f1; background: var(--navy-950); border-right: 1px solid rgba(255,255,255,.05);
}
.brand { display: flex; align-items: center; gap: 12px; min-height: 46px; }
.brand-mark { display: inline-grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; background: var(--orange); color: white; font-size: 14px; font-weight: 900; letter-spacing: -.03em; box-shadow: 0 7px 20px rgba(238,116,37,.22); }
.brand strong { display: block; color: #fff; font-size: 15px; letter-spacing: -.01em; }
.brand small { display: block; margin-top: 2px; color: #7f96b0; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.primary-nav { display: flex; flex-direction: column; gap: 3px; margin-top: 31px; }
.nav-label { padding: 0 11px 9px; color: #6f88a5; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.nav-label-more { margin-top: 21px; }
.nav-item { display: flex; align-items: center; gap: 12px; min-height: 43px; padding: 0 12px; border: 0; border-radius: 11px; color: #aebed0; background: transparent; font-size: 13.5px; font-weight: 600; text-align: left; transition: color .15s ease, background .15s ease, transform .15s ease; }
.nav-item svg { width: 19px; height: 19px; }
.nav-item:hover { color: white; background: rgba(255,255,255,.055); }
.nav-item.is-active { color: white; background: rgba(238,116,37,.16); box-shadow: inset 3px 0 var(--orange); }
.sidebar-footer { margin-top: auto; display: flex; align-items: center; gap: 9px; padding: 16px 4px 0; border-top: 1px solid rgba(255,255,255,.08); }
.avatar { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%; background: #234568; color: #fff; font-weight: 800; }
.avatar.small { width: 32px; height: 32px; font-size: 12px; }
.user-summary { min-width: 0; flex: 1; }
.user-summary strong, .user-summary small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-summary strong { color: white; font-size: 12.5px; }
.user-summary small { margin-top: 2px; color: #7f96b0; font-size: 11px; }
.logout-form { margin: 0; }
.icon-button { display: inline-grid; place-items: center; width: 35px; height: 35px; padding: 0; border: 0; border-radius: 9px; background: transparent; color: inherit; font-size: 22px; }
.icon-button:hover { background: rgba(255,255,255,.08); }

.main-shell { min-height: 100vh; margin-left: var(--sidebar); padding: 42px clamp(28px, 4vw, 64px) 70px; }
.main-shell > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
.mobile-header, .mobile-nav, .more-panel { display: none; }
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.page-header h1 { margin: 5px 0 8px; font-size: clamp(31px, 3.1vw, 45px); line-height: 1.05; letter-spacing: -.04em; }
.page-header p { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.eyebrow { display: block; color: var(--orange-dark); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .16em; }
.header-actions { flex: 0 0 auto; }
.flash { margin-bottom: 22px; padding: 14px 17px; border-radius: 12px; border: 1px solid var(--line); background: white; box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 650; }
.flash-succes { border-color: #bde7d7; background: var(--green-soft); color: #11654e; }
.flash-aandacht { border-color: #f1d9a7; background: var(--amber-soft); color: #815018; }

.button { min-height: 42px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); font-size: 13px; font-weight: 750; line-height: 1; box-shadow: 0 1px 2px rgba(9,27,52,.04); transition: background .15s ease, border .15s ease, transform .15s ease, box-shadow .15s ease; }
.button:hover { border-color: #bdc8d7; background: #f9fafc; transform: translateY(-1px); }
.button svg { width: 17px; height: 17px; }
.button-primary { color: white; border-color: var(--orange); background: var(--orange); box-shadow: 0 7px 17px rgba(238,116,37,.2); }
.button-primary:hover { color: white; border-color: var(--orange-dark); background: var(--orange-dark); }
.button-secondary { background: white; }
.button-wide { width: 100%; }
.button-small { min-height: 34px; padding: 0 11px; font-size: 11.5px; }
.text-button { padding: 0; border: 0; background: none; font-size: 12px; font-weight: 700; }
.danger-text { color: var(--red); }

.new-project-card { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 0 16px; padding: 25px; overflow: hidden; border: 1px solid #d7e0eb; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.new-project-card::after { content: ""; position: absolute; top: 0; right: 0; width: 6px; height: 100%; background: var(--orange); }
.new-project-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 14px; background: var(--orange-soft); color: var(--orange); }
.new-project-copy h2 { margin: 2px 0 5px; font-size: 20px; letter-spacing: -.025em; }
.new-project-copy p { margin: 0; color: var(--muted); font-size: 13px; }
.new-project-form { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 12px; margin-top: 18px; }
.new-project-form textarea { min-height: 75px; flex: 1; resize: vertical; padding: 15px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fbfcfd; font-size: 14px; line-height: 1.45; }
.new-project-form textarea::placeholder { color: #95a2b3; }
.new-project-form .button { min-height: 48px; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; margin-top: 35px; }
.section-heading { min-height: 42px; display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 16px; }
.section-heading h2 { margin: 4px 0 0; font-size: 21px; letter-spacing: -.025em; }
.section-heading > a { display: inline-flex; align-items: center; gap: 5px; color: var(--orange-dark); font-size: 12px; font-weight: 750; }
.section-heading > a svg { width: 15px; }
.section-heading.compact { align-items: center; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.project-card { position: relative; min-height: 232px; padding: 21px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); transition: transform .16s ease, border .16s ease, box-shadow .16s ease; }
.project-card:hover { transform: translateY(-2px); border-color: #c8d3e0; box-shadow: var(--shadow); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.product-chip, .demo-chip { display: inline-flex; align-items: center; width: fit-content; min-height: 24px; padding: 0 9px; border-radius: 999px; background: #edf3f9; color: var(--navy-700); font-size: 10px; font-weight: 800; letter-spacing: .02em; }
.demo-chip { margin-left: 5px; color: var(--amber); background: var(--amber-soft); }
.project-card h3 { margin: 18px 0 7px; font-size: 18px; letter-spacing: -.025em; }
.project-card > p { min-height: 19px; margin-bottom: 17px; color: var(--muted); font-size: 12.5px; }
.progress-row { display: flex; justify-content: space-between; margin-top: auto; margin-bottom: 7px; color: var(--muted); font-size: 10.5px; }
.progress-row strong { color: var(--ink); }
.progress { height: 6px; overflow: hidden; border-radius: 999px; background: #e8edf3; }
.progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--orange); }
.progress-5 span { width: 5%; } .progress-10 span { width: 10%; } .progress-15 span { width: 15%; } .progress-20 span { width: 20%; }
.progress-25 span { width: 25%; } .progress-30 span { width: 30%; } .progress-35 span { width: 35%; } .progress-40 span { width: 40%; }
.progress-45 span { width: 45%; } .progress-50 span { width: 50%; } .progress-55 span { width: 55%; } .progress-60 span { width: 60%; }
.progress-65 span { width: 65%; } .progress-70 span { width: 70%; } .progress-75 span { width: 75%; } .progress-80 span { width: 80%; }
.progress-85 span { width: 85%; } .progress-90 span { width: 90%; } .progress-95 span { width: 95%; } .progress-100 span { width: 100%; }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; color: var(--muted); font-size: 10.5px; }
.card-meta span:last-child { display: inline-flex; align-items: center; color: var(--orange-dark); font-weight: 750; }
.card-meta svg { width: 14px; }
.badge { display: inline-flex; align-items: center; gap: 6px; width: fit-content; min-height: 25px; padding: 0 9px; border-radius: 999px; color: #43546a; background: #edf1f5; font-size: 9.5px; font-weight: 800; white-space: nowrap; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-positive { color: var(--green); background: var(--green-soft); }
.badge-danger { color: var(--red); background: var(--red-soft); }
.badge-warning { color: var(--amber); background: var(--amber-soft); }

.dashboard-side { display: flex; flex-direction: column; gap: 16px; }
.side-card, .roadmap-preview, .content-card, .toolbar-card, .process-card, .timeline-card, .detail-main-card, .approval-list, .approval-detail, .settings-card { padding: 21px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.side-card .section-heading { margin-bottom: 12px; }
.count-bubble { display: inline-grid; place-items: center; min-width: 27px; height: 27px; padding: 0 7px; border-radius: 999px; color: #455972; background: #edf2f7; font-size: 11px; font-weight: 800; }
.attention-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 13px 0; border-top: 1px solid var(--soft); }
.attention-item:first-of-type { border-top: 0; }
.attention-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.attention-item strong, .attention-item small, .problem-item strong, .problem-item small { display: block; }
.attention-item strong { font-size: 12px; }
.attention-item small { margin-top: 3px; color: var(--muted); font-size: 10.5px; }
.attention-item > svg { width: 15px; color: #95a2b3; }
.calm-state { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 13px; border-radius: 12px; background: var(--soft); }
.calm-state > svg, .severity-icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: white; color: var(--navy-700); }
.calm-state.positive { color: var(--green); background: var(--green-soft); }
.calm-state strong, .calm-state small { display: block; }
.calm-state strong { font-size: 12px; }
.calm-state small { margin-top: 3px; color: var(--muted); font-size: 10.5px; line-height: 1.35; }
.problem-item { display: block; margin-top: 8px; padding: 12px; border-radius: 10px; background: var(--red-soft); color: var(--red); }
.problem-item strong { font-size: 12px; }
.problem-item small { margin-top: 3px; color: #99525a; font-size: 10.5px; }
.roadmap-preview { margin-top: 24px; }
.preview-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 22px; }
.preview-list a { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; min-height: 62px; border-top: 1px solid var(--soft); }
.preview-list a:nth-child(-n+2) { border-top: 0; }
.preview-number { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; color: var(--navy-700); background: #edf3f8; font-size: 11px; font-weight: 850; }
.preview-list strong, .preview-list small { display: block; }
.preview-list strong { font-size: 12.5px; }
.preview-list small { margin-top: 3px; color: var(--muted); font-size: 10.5px; }
.preview-list svg { width: 15px; color: #95a2b3; }

.toolbar-card { min-height: 68px; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.tabs { display: flex; align-items: center; gap: 4px; }
.tab { min-height: 38px; padding: 0 15px; display: inline-flex; align-items: center; border-radius: 9px; color: var(--muted); font-size: 12px; font-weight: 750; }
.tab:hover { background: var(--soft); }
.tab.is-active { color: var(--navy-800); background: #e9f0f7; }
.search-form { position: relative; display: flex; align-items: center; }
.search-form svg { position: absolute; left: 12px; width: 17px; color: #8795a8; }
.search-form input { width: 245px; min-height: 40px; padding: 0 12px 0 38px; border: 1px solid var(--line); border-radius: 10px; background: #fafbfd; font-size: 12px; }
.project-list { display: flex; flex-direction: column; gap: 10px; }
.project-row { min-height: 132px; padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr) 175px 120px 24px; align-items: center; gap: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
.project-row:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.project-row-main h2 { margin: 10px 0 5px; font-size: 17px; }
.project-row-main p { max-width: 620px; margin: 0; overflow: hidden; color: var(--muted); font-size: 11.5px; white-space: nowrap; text-overflow: ellipsis; }
.project-row-state { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.project-row-state > span:last-child { color: var(--muted); font-size: 10.5px; }
.project-row-progress strong { display: block; margin-bottom: 8px; font-size: 14px; }
.row-arrow { color: #95a2b3; }

.back-link { display: inline-block; margin-bottom: 19px; color: var(--muted); font-size: 12px; font-weight: 700; }
.project-hero { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 27px; border-bottom: 1px solid var(--line); }
.project-hero h1 { margin: 12px 0 8px; font-size: clamp(30px, 3vw, 42px); letter-spacing: -.04em; }
.project-hero p { max-width: 740px; margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }
.hero-state { display: flex; align-items: center; gap: 18px; }
.hero-state > div { min-width: 66px; padding-left: 18px; border-left: 1px solid var(--line); }
.hero-state strong, .hero-state span { display: block; }
.hero-state strong { font-size: 24px; letter-spacing: -.04em; }
.hero-state span { margin-top: 2px; color: var(--muted); font-size: 10px; }
.current-step-card { margin-top: 24px; padding: 23px; border: 1px solid #b9cfe4; border-radius: var(--radius); background: #edf5fc; }
.current-step-card > div { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.step-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--navy-800); color: white; }
.current-step-card h2 { margin: 0 0 3px; font-size: 17px; }
.current-step-card p { margin: 0; color: var(--muted); font-size: 11px; }
.process-card { margin-top: 18px; overflow: hidden; }
.process-track { display: flex; align-items: flex-start; overflow-x: auto; padding: 8px 2px 4px; }
.process-step { position: relative; min-width: 112px; flex: 1; text-align: center; color: #8d99a9; }
.process-step::after { content: ""; position: absolute; top: 14px; left: calc(50% + 17px); right: calc(-50% + 17px); height: 2px; background: #dce3ec; }
.process-step:last-child::after { display: none; }
.process-step > span { position: relative; z-index: 1; display: grid; place-items: center; width: 29px; height: 29px; margin: 0 auto 8px; border: 2px solid #d5dde7; border-radius: 50%; background: white; font-size: 10px; font-weight: 850; }
.process-step small { display: block; font-size: 9.5px; font-weight: 700; }
.process-step.is-done { color: var(--green); }
.process-step.is-done > span { border-color: var(--green); background: var(--green); color: white; }
.process-step.is-done::after { background: var(--green); }
.process-step.is-current { color: var(--orange-dark); }
.process-step.is-current > span { border-color: var(--orange); box-shadow: 0 0 0 5px var(--orange-soft); }
.detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 18px; margin-top: 18px; }
.task-list { display: flex; flex-direction: column; }
.task-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--soft); }
.task-item:first-child { border-top: 0; }
.task-check { display: grid; place-items: center; width: 24px; height: 24px; border: 2px solid #cbd5e1; border-radius: 7px; color: white; font-size: 11px; font-weight: 900; }
.task-check.is-done { border-color: var(--green); background: var(--green); }
.task-item strong, .task-item small { display: block; }
.task-item strong { font-size: 12.5px; }
.task-item small { margin-top: 3px; color: var(--muted); font-size: 10.5px; }
.inline-create { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.inline-create summary { color: var(--orange-dark); font-size: 12px; font-weight: 800; cursor: pointer; }
.inline-form { display: grid; grid-template-columns: 1fr 150px auto; align-items: end; gap: 10px; margin-top: 14px; }
label { display: flex; flex-direction: column; gap: 7px; color: #34465c; font-size: 11px; font-weight: 750; }
input, textarea, select { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); font-size: 13px; }
textarea { line-height: 1.5; resize: vertical; }
.detail-side { display: flex; flex-direction: column; gap: 18px; }
.action-needed { padding: 14px; border-radius: 12px; background: var(--orange-soft); }
.action-needed strong { font-size: 12px; }
.action-needed p { margin: 5px 0 13px; color: #805131; font-size: 10.5px; line-height: 1.45; }
.mini-team > div { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--soft); }
.mini-team > div:first-child { border-top: 0; }
.mini-team strong, .mini-team small { display: block; }
.mini-team strong { font-size: 11.5px; }.mini-team small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.timeline-card { margin-top: 18px; }
.timeline { position: relative; }
.timeline-item { display: grid; grid-template-columns: auto 1fr; gap: 13px; padding: 0 0 18px; }
.timeline-item > span { width: 10px; height: 10px; margin-top: 4px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.timeline-item strong { font-size: 12px; }
.timeline-item p { margin: 3px 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.timeline-item small { color: #8b98a9; font-size: 9.5px; }

.roadmap-board { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; align-items: start; }
.roadmap-lane { min-height: 480px; padding: 17px; border: 1px solid var(--line); border-radius: var(--radius); background: #edf1f5; }
.roadmap-lane > header { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 2px 3px 13px; }
.roadmap-lane > header > div { display: flex; align-items: center; gap: 9px; }
.roadmap-lane h2 { margin: 0; font-size: 16px; }
.roadmap-lane header p { grid-column: 1 / -1; margin: 6px 0 0 21px; color: var(--muted); font-size: 10.5px; }
.lane-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }.lane-hierna .lane-dot { background: #4d78a8; }.lane-later .lane-dot { background: #8b99a9; }
.roadmap-items { display: flex; flex-direction: column; gap: 10px; }
.roadmap-item { padding: 17px; border: 1px solid #dce3eb; border-radius: 13px; background: white; box-shadow: var(--shadow-sm); }
.roadmap-item h3 { margin: 13px 0 12px; font-size: 14px; line-height: 1.35; }
.roadmap-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 9.5px; }
.lane-form { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--soft); }
.lane-form select { min-height: 34px; padding: 5px 8px; font-size: 11px; }
.lane-empty { padding: 24px 10px; color: #8996a6; text-align: center; font-size: 11px; }

.approval-layout { display: grid; grid-template-columns: 390px minmax(0,1fr); gap: 18px; align-items: start; }
.approval-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 14px 10px; border-top: 1px solid var(--soft); border-radius: 9px; }
.approval-row.is-active { background: #f2f6fa; }
.approval-row strong, .approval-row small { display: block; }.approval-row strong { font-size: 12px; }.approval-row small { margin-top: 3px; color: var(--muted); font-size: 10.5px; }
.approval-detail { min-height: 530px; padding: 29px; }
.approval-detail h2 { margin: 13px 0 9px; font-size: 26px; letter-spacing: -.035em; }.approval-detail > h3 { margin: 25px 0 8px; font-size: 15px; }.approval-detail > p { color: var(--muted); font-size: 12px; line-height: 1.6; }
.detail-list { margin: 25px 0; }.detail-list > div { display: grid; grid-template-columns: 160px 1fr; gap: 18px; padding: 14px 0; border-top: 1px solid var(--soft); }.detail-list dt { font-size: 11px; font-weight: 800; }.detail-list dd { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.approval-actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 18px; border-top: 1px solid var(--line); }

.notification-list { padding: 0 21px; }
.notification-item { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; padding: 20px 0; border-top: 1px solid var(--soft); }.notification-item:first-child { border-top: 0; }.notification-item.is-read { opacity: .68; }.notification-item > div > div { display: flex; align-items: center; gap: 9px; }.notification-item small { color: #8b98a9; font-size: 9.5px; }.notification-item h2 { margin: 8px 0 5px; font-size: 14px; }.notification-item p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.severity-icon { display: grid; place-items: center; }.severity-icon svg { width: 18px; }.severity-succes { color: var(--green); background: var(--green-soft); }.severity-aandacht { color: var(--amber); background: var(--amber-soft); }.severity-kritiek { color: var(--red); background: var(--red-soft); }.severity-info { color: var(--navy-700); background: #edf3f8; }

.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }.team-card { min-height: 190px; padding: 22px; display: flex; gap: 15px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }.team-avatar { display: grid; place-items: center; width: 45px; height: 45px; flex: 0 0 auto; border-radius: 14px; background: var(--navy-800); color: white; font-size: 16px; font-weight: 850; }.team-card h2 { margin: 5px 0 8px; font-size: 16px; }.team-card p { min-height: 46px; margin-bottom: 15px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 18px; }.metric-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }.metric-card > span, .metric-card > strong, .metric-card > small { display: block; }.metric-card > span { color: var(--muted); font-size: 11px; font-weight: 700; }.metric-card > strong { margin: 12px 0 7px; font-size: clamp(20px,2vw,29px); letter-spacing: -.04em; }.metric-card > small { color: #8794a5; font-size: 9.5px; }

.knowledge-toolbar { padding: 10px; }.scroll-tabs { min-width: 0; overflow-x: auto; }.knowledge-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }.knowledge-card { min-height: 235px; padding: 21px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }.knowledge-category { color: var(--orange-dark); font-size: 9.5px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }.knowledge-card h2 { margin: 16px 0 9px; font-size: 16px; }.knowledge-card > p { color: var(--muted); font-size: 11px; line-height: 1.55; }.knowledge-card footer { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--soft); }.knowledge-card footer > span { color: #8b98a9; font-size: 9.5px; }
.knowledge-actions { display: flex; align-items: center; gap: 12px; }.knowledge-actions form { margin: 0; }
.app-dialog { width: min(570px, calc(100% - 30px)); padding: 0; border: 0; border-radius: var(--radius-lg); background: white; color: var(--ink); box-shadow: 0 25px 80px rgba(4,20,39,.3); }.app-dialog::backdrop { background: rgba(4,20,39,.64); }.app-dialog form { padding: 25px; }.dialog-head { display: flex; justify-content: space-between; align-items: start; margin-bottom: 18px; }.dialog-head h2 { margin: 4px 0 0; font-size: 23px; }.stack-form { display: flex; flex-direction: column; gap: 15px; }

.settings-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }.settings-card { min-height: 220px; }.settings-card > header { display: flex; gap: 13px; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--soft); }.settings-icon { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 auto; border-radius: 11px; background: #edf3f8; color: var(--navy-700); }.settings-icon svg { width: 18px; }.settings-card h2 { margin: 1px 0 4px; font-size: 16px; }.settings-card header p { margin: 0; color: var(--muted); font-size: 10.5px; }.settings-card > label, .settings-card > .field-grid, .settings-card > .choice-row, .settings-card > .rule-row, .settings-card > .security-list { margin-top: 18px; }
.choice-row { min-height: 56px; flex-direction: row; align-items: center; gap: 11px; padding: 11px; border: 1px solid var(--line); border-radius: 11px; }.choice-row input { width: 17px; min-height: 17px; }.choice-row span { flex: 1; }.choice-row strong,.choice-row small { display: block; }.choice-row small { margin-top: 3px; color: var(--muted); font-size: 9.5px; }.choice-row em { padding: 4px 7px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 9px; font-style: normal; }.choice-row.is-disabled { opacity: .58; }.rule-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.rule-row strong,.rule-row small { display: block; }.rule-row strong { font-size: 12px; }.rule-row small { margin-top: 3px; color: var(--muted); font-size: 9.5px; }.locked-rule { padding: 8px 10px; border-radius: 9px; background: var(--green-soft); color: var(--green); font-size: 9.5px; font-weight: 800; }.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.security-list { padding: 0; list-style: none; }.security-list li { display: flex; align-items: center; gap: 9px; padding: 6px 0; color: #43546a; font-size: 11px; }.security-list svg { width: 18px; color: var(--green); }.settings-save { grid-column: 1/-1; display: flex; justify-content: flex-end; padding-top: 6px; }

.technical-metrics .status-word { font-size: 21px; }.positive-word { color: var(--green); }.audit-table { overflow-x: auto; }.audit-row { min-width: 660px; display: grid; grid-template-columns: 120px 1fr 1fr 120px; gap: 12px; padding: 11px 5px; border-top: 1px solid var(--soft); font-size: 10.5px; }.audit-head { border-top: 0; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 8.5px; }

.empty-state { grid-column: 1/-1; min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 25px; border: 1px dashed #cad4df; border-radius: var(--radius); background: rgba(255,255,255,.55); text-align: center; }.empty-state h3 { margin-bottom: 5px; font-size: 14px; }.empty-state p { margin: 0; color: var(--muted); font-size: 11px; }

.login-page { min-height: 100vh; display: grid; grid-template-columns: minmax(380px, .9fr) minmax(440px, 1.1fr); background: white; }
.login-branding { position: relative; padding: clamp(38px,6vw,80px); display: flex; flex-direction: column; color: white; background: var(--navy-950); overflow: hidden; }
.login-branding::before { content: ""; position: absolute; width: 440px; height: 440px; right: -210px; top: 25%; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.015); }
.brand-login { position: relative; z-index: 1; }
.login-copy { position: relative; z-index: 1; max-width: 520px; margin: auto 0; }.login-copy .eyebrow { color: #f5a16a; }.login-copy h1 { margin: 15px 0 21px; font-size: clamp(37px,4.2vw,62px); line-height: 1.05; letter-spacing: -.052em; }.login-copy p { max-width: 450px; color: #9fb2c7; font-size: 15px; line-height: 1.65; }
.login-security { position: relative; z-index: 1; margin: 0; color: #768fa8; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.login-card-wrap { display: grid; place-items: center; padding: 40px; background: #f6f8fb; }.login-card { width: min(420px,100%); padding: 38px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow); }.login-card h2 { margin: 7px 0 7px; font-size: 31px; letter-spacing: -.04em; }.login-card > p { margin-bottom: 25px; color: var(--muted); font-size: 12px; }.login-card .fine-print { margin: 19px 0 0; text-align: center; font-size: 9.5px; }.login-mobile-logo { display: none; }.form-error { margin-bottom: 16px; padding: 11px; border-radius: 9px; background: var(--red-soft); color: var(--red); font-size: 11px; line-height: 1.45; }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: var(--canvas); text-align: center; }.error-page > div { max-width: 480px; }.error-page .brand-mark { margin-bottom: 23px; }.error-page h1 { margin: 9px 0; font-size: 35px; }.error-page p { margin-bottom: 23px; color: var(--muted); }

@media (max-width: 1120px) {
  :root { --sidebar: 224px; }
  .sidebar { padding-left: 14px; padding-right: 14px; }
  .main-shell { padding-left: 28px; padding-right: 28px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-side { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .detail-grid { grid-template-columns: 1fr; }.detail-side { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .team-grid,.knowledge-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .roadmap-board { overflow-x: auto; grid-template-columns: repeat(3,minmax(300px,1fr)); padding-bottom: 8px; }
  .approval-layout { grid-template-columns: 330px 1fr; }
  .project-row { grid-template-columns: minmax(0,1fr) 155px 100px 20px; gap: 14px; }
}

@media (max-width: 800px) {
  body { padding-bottom: 76px; }
  .sidebar { display: none; }
  .mobile-header { position: sticky; top: 0; z-index: 25; height: 65px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.07); color: white; background: var(--navy-950); }
  .mobile-brand { display: flex; align-items: center; gap: 9px; }.mobile-brand .brand-mark { width: 34px; height: 34px; flex-basis: 34px; border-radius: 10px; font-size: 11px; }.mobile-brand strong { font-size: 13px; }
  .notification-link { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: #c7d4e2; background: rgba(255,255,255,.06); }.notification-link span { position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; display: grid; place-items: center; border-radius: 999px; color: white; background: var(--orange); font-size: 8px; font-weight: 900; }
  .main-shell { min-height: calc(100vh - 65px); margin-left: 0; padding: 24px 16px 38px; }
  .mobile-nav { position: fixed; z-index: 35; inset: auto 0 0; height: calc(64px + env(safe-area-inset-bottom)); padding: 5px 8px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid #d8e0e9; background: rgba(255,255,255,.97); box-shadow: 0 -7px 24px rgba(12,31,53,.08); }
  .mobile-nav .nav-item { min-height: 53px; padding: 4px 2px; flex-direction: column; justify-content: center; gap: 3px; border-radius: 10px; color: #738196; font-size: 9px; text-align: center; }.mobile-nav .nav-item.is-active { color: var(--orange-dark); background: var(--orange-soft); box-shadow: none; }.mobile-nav .nav-item svg { width: 20px; height: 20px; }
  .more-panel { position: fixed; z-index: 50; inset: auto 0 0; max-height: 75vh; padding: 18px 18px calc(24px + env(safe-area-inset-bottom)); display: block; border-radius: 22px 22px 0 0; background: white; box-shadow: 0 -20px 60px rgba(4,20,39,.28); }.more-panel[hidden] { display: none; }.more-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }.more-panel-head strong { font-size: 18px; }.more-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }.more-grid .nav-item { min-height: 50px; color: var(--ink); background: #f3f6f9; }.more-grid .nav-item.is-active { box-shadow: none; color: var(--orange-dark); background: var(--orange-soft); }
  .page-header { align-items: flex-start; margin-bottom: 22px; }.page-header h1 { font-size: 32px; }.page-header p { font-size: 12px; }.header-actions .button { font-size: 0; padding: 0 12px; }.header-actions .button svg { margin: 0; }
  .new-project-card { padding: 19px; grid-template-columns: auto 1fr; }.new-project-copy h2 { font-size: 17px; }.new-project-copy p { font-size: 11px; line-height: 1.4; }.new-project-form { flex-direction: column; align-items: stretch; }.new-project-form textarea { min-height: 105px; }.new-project-form .button { width: 100%; }
  .dashboard-grid { margin-top: 28px; }.project-grid { grid-template-columns: 1fr; }.project-card { min-height: 216px; }.dashboard-side { grid-template-columns: 1fr; }.preview-list { grid-template-columns: 1fr; }.preview-list a:nth-child(2) { border-top: 1px solid var(--soft); }
  .toolbar-card { align-items: stretch; flex-direction: column; }.tabs { overflow-x: auto; }.tab { padding: 0 12px; white-space: nowrap; }.search-form input { width: 100%; }.project-row { min-height: 154px; padding: 17px; grid-template-columns: 1fr auto; gap: 12px; }.project-row-main { grid-column: 1/-1; }.project-row-state { align-self: start; }.project-row-progress { min-width: 90px; }.row-arrow { display: none; }
  .project-hero { flex-direction: column; gap: 17px; }.project-hero h1 { font-size: 31px; }.hero-state { justify-content: space-between; }.current-step-card { padding: 19px; }.process-card { margin-left: -16px; margin-right: -16px; border-radius: 0; border-left: 0; border-right: 0; }.process-track { padding-left: 17px; padding-right: 17px; }.process-step { min-width: 103px; }.detail-side { grid-template-columns: 1fr; }.inline-form { grid-template-columns: 1fr; }
  .roadmap-board { margin-left: -16px; margin-right: -16px; padding: 0 16px 8px; grid-template-columns: repeat(3, minmax(290px, 84vw)); scroll-snap-type: x proximity; }.roadmap-lane { min-height: 430px; scroll-snap-align: start; }
  .approval-layout { grid-template-columns: 1fr; }.approval-list { padding: 17px; }.approval-detail { min-height: 0; padding: 21px; }.detail-list > div { grid-template-columns: 1fr; gap: 5px; }.approval-actions { flex-direction: column-reverse; }.approval-actions form,.approval-actions button { width: 100%; }
  .notification-list { padding: 0 16px; }.notification-item { grid-template-columns: auto 1fr; }.notification-item > form { grid-column: 2; }.team-grid,.knowledge-grid,.metric-grid,.settings-layout { grid-template-columns: 1fr; }.team-card { min-height: 165px; }.settings-save { position: sticky; bottom: 72px; padding: 10px; margin: 0 -10px -10px; background: rgba(244,246,249,.92); }.settings-save .button { width: 100%; }
  .knowledge-toolbar .button { width: 100%; }.knowledge-card { min-height: 215px; }.field-grid { grid-template-columns: 1fr; }.rule-row { align-items: flex-start; flex-direction: column; }.locked-rule { width: 100%; text-align: center; }
  .login-page { display: block; min-height: 100vh; padding: 28px 18px; background: var(--canvas); }.login-branding { display: none; }.login-card-wrap { min-height: calc(100vh - 56px); padding: 0; background: transparent; }.login-card { padding: 26px 22px; }.login-mobile-logo { display: flex; align-items: center; gap: 9px; margin-bottom: 34px; }.login-mobile-logo .brand-mark { width: 36px; height: 36px; flex-basis: 36px; border-radius: 10px; font-size: 11px; }.login-card h2 { font-size: 28px; }
}

@media (max-width: 420px) {
  .page-header { gap: 10px; }.page-header h1 { font-size: 29px; }.new-project-icon { width: 39px; height: 39px; }.new-project-card { gap: 0 12px; }.project-card { padding: 18px; }.roadmap-preview,.side-card,.content-card,.detail-main-card,.timeline-card,.settings-card { padding: 18px; }.hero-state > div { padding-left: 12px; }.metric-card { padding: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

.password-hint,.settings-copy { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.55; }
.settings-secondary { margin-top: 15px; }.settings-secondary .password-card { grid-column: 1/-1; min-height: 0; }.compact-form { max-width: 620px; margin-top: 18px; }.compact-form .button { align-self: flex-start; }
.owner-list { padding: 0; overflow: hidden; }.shared-scope-note { display: flex; align-items: flex-start; gap: 12px; padding: 18px 21px; border-bottom: 1px solid var(--line); background: var(--green-soft); color: var(--green); }.shared-scope-note svg { width: 21px; flex: 0 0 auto; }.shared-scope-note strong,.shared-scope-note small { display: block; }.shared-scope-note small { margin-top: 4px; color: #3b6556; font-size: 10.5px; line-height: 1.55; }
.owner-row { min-height: 92px; padding: 18px 21px; display: grid; grid-template-columns: auto minmax(190px,1fr) auto auto minmax(145px,auto); gap: 16px; align-items: center; border-bottom: 1px solid var(--soft); }.owner-row:last-child { border-bottom: 0; }.owner-identity strong,.owner-identity small { display: block; }.owner-identity small { margin-top: 4px; color: var(--muted); font-size: 11px; }.owner-role { padding: 6px 9px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-dark); font-size: 10px; font-weight: 800; }.owner-status { display: flex; align-items: center; gap: 6px; color: var(--green); font-size: 10.5px; font-weight: 750; }.owner-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }.owner-login { color: var(--muted); font-size: 9px; line-height: 1.5; text-align: right; }.owner-login strong { color: var(--ink); font-size: 10.5px; }

@media (max-width: 800px) {
  .compact-form .button { width: 100%; }.owner-row { grid-template-columns: auto 1fr auto; gap: 11px; }.owner-role { grid-column: 2; justify-self: start; }.owner-status { grid-column: 3; grid-row: 1; }.owner-login { grid-column: 2/-1; text-align: left; }.shared-scope-note { padding: 17px; }
}
