@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

:root {
  --black: #000000;
  --black-2: #121212;
  --green: #a6ee00;
  --green-2: #8fd900;
  --white: #ffffff;
  --text: #0b0b0b;
  --muted: #4f4f4f;
  --border: #e6e6e6;
  --panel: #ffffff;
  --panel-2: #f4f4f4;
  --accent: #a6ee00;
  --accent-2: #7fc800;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(1200px 800px at 80% -10%, #ffffff 0%, #f1f1f1 55%, #eaeaea 100%);
  background-color: #f1f1f1;
  font-family: "Montserrat", "Trebuchet MS", sans-serif;
  opacity: 0;
  transition: opacity 320ms ease-in-out;
}

body.is-ready {
  opacity: 1;
}

body.is-leaving {
  opacity: 0;
  pointer-events: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.035) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
  z-index: -1;
}

a { color: #141414; text-decoration: none; }
a:hover { color: var(--accent); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.brand-link {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand-logo { height: 34px; }

.brand-text {
  font-family: "Montserrat", "Arial Black", sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #111111;
}

.site-nav a {
  margin-left: 16px;
  color: #0b0b0b;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.site-nav a:hover {
  color: var(--green);
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  margin-left: 0;
}

.profile-menu {
  position: relative;
  margin-right: 12px;
}

.profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 10px;
  border-radius: 999px;
  border: 1px solid #2b2b2b;
  background: linear-gradient(180deg, #161616 0%, #0f0f0f 100%);
  color: #f8fafc;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.profile-trigger:hover {
  border-color: #4a4a4a;
  transform: translateY(-1px);
}

.profile-trigger-name {
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-trigger-name::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #a6ee00;
  box-shadow: 0 0 0 3px rgba(166, 238, 0, 0.16);
}

.profile-trigger-caret {
  font-size: 10px;
  color: #a6ee00;
}

.profile-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 380px;
  max-width: min(94vw, 380px);
  padding: 14px;
  border-radius: 16px;
  border: 1px solid #d7dde6;
  background:
    linear-gradient(180deg, rgba(166, 238, 0, 0.12) 0px, rgba(166, 238, 0, 0.0) 64px),
    #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  z-index: 40;
}

.profile-panel-head {
  padding: 4px 0 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e8edf4;
}

.profile-panel-name {
  font-size: 16px;
  font-weight: 800;
  color: #111111;
}

.profile-panel-email {
  margin-top: 3px;
  font-size: 12px;
  color: #5f6b7a;
}

.profile-panel-section + .profile-panel-section {
  margin-top: 10px;
}

.profile-panel-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #6b7280;
  margin-bottom: 6px;
}

.profile-panel-value {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}

.profile-role {
  text-transform: lowercase;
}

.profile-kinds,
.profile-departments,
.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.user-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #d5e7d8;
  border-left: 3px solid #8fcb97;
  background: #ffffff;
  font-size: 10px;
  font-weight: 700;
  color: #1f5131;
  letter-spacing: 0.1px;
  text-transform: none;
  line-height: 1.1;
  white-space: nowrap;
}

.user-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.75;
  flex: 0 0 6px;
}

.user-badge--management {
  background: #f8f8f8;
  color: #111111;
  border-color: #d5d5d5;
  border-left-color: #111827;
}

.user-badge--management::before {
  background: #374151;
}

.user-badge--ondersteunend {
  background: #f1f9f3;
  color: #1e5631;
  border-color: #cde6d2;
  border-left-color: #4f9a61;
}

.user-badge--begeleidend {
  background: #f6fcf1;
  color: #3a6a1f;
  border-color: #deefcf;
  border-left-color: #8fbc4a;
}

.user-badge--afdeling {
  background: #fbfef7;
  color: #4a5f2e;
  border-color: #e6f0d9;
  border-left-color: #a6ee00;
}

@media (max-width: 860px) {
  .profile-menu {
    margin-right: 0;
    width: 100%;
  }

  .profile-trigger {
    width: 100%;
    justify-content: space-between;
  }

  .profile-panel {
    left: 0;
    right: auto;
    width: 100%;
    max-width: 100%;
  }
}

.layout {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: 24px;
}

.sidebar .card {
  margin-bottom: 16px;
  border-top: 0;
  border-left: 3px solid rgba(166, 238, 0, 0.65);
  background: linear-gradient(180deg, #ffffff 0%, #f6f6f6 100%);
}

.sidebar .card h3 {
  font-size: 15px;
  margin-bottom: 10px;
}

.card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border);
  border-top: 3px solid rgba(166, 238, 0, 0.7);
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  min-width: 0;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

h1, h2, h3 {
  font-family: "Montserrat", "Arial Black", sans-serif;
  margin: 0 0 12px 0;
  letter-spacing: 0.6px;
}

h1::after, h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  background: var(--accent);
  border-radius: 4px;
  margin-top: 6px;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul, ol {
  line-height: 1.5;
}

.list li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.list li:last-child { border-bottom: 0; }

.list li.pinned-item {
  padding: 10px 12px;
  margin-bottom: 10px;
  border: 1px solid rgba(166, 238, 0, 0.45);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fce9 100%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.pinned-page-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.page-pin {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2b2b2b;
  opacity: 0.9;
}

.page-pin-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.page-pin-label {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #3f3f3f;
  background: #eef8c5;
  border: 1px solid rgba(166, 238, 0, 0.55);
}

.pinned-meta {
  display: inline-block;
  margin-top: 4px;
}

.pinned-note {
  margin-top: 4px;
  font-size: 11px;
  color: #4a4a4a;
  letter-spacing: 0.15px;
}

.subpage-list {
  list-style: none;
  margin: 10px 0 0 0;
  padding: 8px;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  background: #fbfbfb;
}

.subpage-list li {
  padding: 0;
  border-bottom: 0;
}

.subpage-list li + li {
  margin-top: 6px;
}

.subpage-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 8px;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.subpage-list a::before {
  content: "↳";
  color: #8a8a8a;
  font-size: 12px;
}

.subpage-list a:hover {
  background: #f3f9de;
  color: #111111;
}

.count {
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  color: #0b0b0b;
  margin-left: 6px;
}

.form label { display: block; margin: 12px 0 6px; }
.form input, .form textarea, .form select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
}

.search input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  color: #0b0b0b;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.search input[type="text"]::placeholder {
  color: #8a8a8a;
  font-weight: 500;
}

.search input[type="text"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(166,238,0,0.22);
}

.form.inline { display: flex; gap: 12px; align-items: center; }
.form.inline input { width: auto; flex: 1; }

.search {
  position: relative;
}

.sidebar-search-card {
  padding: 14px;
}

.search-combined {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.search-main-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.search-main-row .btn {
  margin-top: 0;
  height: 44px;
  padding: 0 14px;
}

.search-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.search-filter-row select {
  width: 100%;
  max-width: 100%;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: #111111;
  padding: 7px 10px;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #666 50%), linear-gradient(135deg, #666 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 3px), calc(100% - 11px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 30px;
}

.search-suggest {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  z-index: 20;
}

.search-suggest a {
  display: block;
  padding: 10px 12px;
  color: #0b0b0b;
  border-bottom: 1px solid var(--border);
}

.search-suggest a:last-child {
  border-bottom: 0;
}

.search-suggest a:hover {
  background: #f4f4f4;
}

.search-snippet {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.search-results a {
  display: block;
}

.search-results li {
  cursor: pointer;
}

mark {
  background: #e7f7a5;
  padding: 0;
  margin: 0;
  border-radius: 2px;
}
.btn {
  background: var(--accent);
  color: #0b0b0b;
  border: 0;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  margin-top: 8px;
}

.btn.primary { background: var(--accent); }

.btn.ms {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: auto;
  background: #0b0b0b;
  color: #ffffff;
  margin-top: 12px;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  position: relative;
  border: 1px solid #1c1c1c;
  box-shadow: none;
  text-align: left;
}

.divider {
  text-align: center;
  color: var(--muted);
  margin: 12px 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn.ms::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: linear-gradient(90deg, #f25022 0 50%, #7fba00 50% 100%),
              linear-gradient(90deg, #00a4ef 0 50%, #ffb900 50% 100%);
  background-size: 100% 50%;
  background-position: 0 0, 0 100%;
  background-repeat: no-repeat;
  border-radius: 3px;
}

.btn.ms::after {
  content: "";
}

.btn.ms:hover {
  border-color: #2a2a2a;
  box-shadow: none;
}

.btn.ms .ms-text {
  font-size: 14px;
  font-weight: 700;
}

.btn.ms .ms-sub {
  display: none;
}
.link {
  background: none;
  border: 0;
  color: #0b0b0b;
  cursor: pointer;
  padding: 0;
}

.link:hover { color: var(--green); }

.alert {
  background: #fff8e5;
  border: 1px solid #f2d27a;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th, .table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
}

.actions { display: flex; gap: 10px; align-items: center; }
.inline { display: inline; }
.category-edit-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 120px auto;
  gap: 8px;
  align-items: center;
}

.category-edit-row input {
  margin: 0;
}

.category-delete-row {
  margin-left: 8px;
}

.muted { color: var(--muted); font-size: 12px; }

.pill {
  display: inline-block;
  background: #edf7c2;
  border: 1px solid rgba(166, 238, 0, 0.6);
  padding: 4px 10px;
  border-radius: 999px;
  margin-right: 10px;
  font-size: 12px;
}

.tag-list { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }

.tag {
  background: #f1f8cc;
  border: 1px solid rgba(166, 238, 0, 0.5);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.small-link {
  font-size: 12px;
  font-weight: 700;
  color: #222222;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid #d9d9d9;
  background: #ffffff;
  font-size: 12px;
  font-weight: 600;
  color: #161616;
}

.tag-chip:hover {
  border-color: var(--accent);
  background: #f7fbec;
}

.tag-chip-count {
  display: inline-block;
  min-width: 18px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #eef8c5;
  color: #1f1f1f;
  font-size: 11px;
  text-align: center;
}

.tags-filter input {
  width: 220px;
  max-width: 100%;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: #111111;
}

.tag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.tag-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.tag-card:hover {
  border-color: var(--accent);
  background: #f8fce8;
}

.tag-card-name {
  font-size: 14px;
  font-weight: 700;
  color: #111111;
}

.tag-card-count {
  font-size: 12px;
  color: var(--muted);
}

.site-footer {
  display: block;
  border-top: 1px solid var(--border);
  padding: 18px 0;
  margin-top: 40px;
  color: var(--muted);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.footer-brand {
  font-weight: 700;
}

.footer-meta {
  font-size: 12px;
  color: var(--muted);
}

.heart {
  color: #e11d48;
}

.admin-nav {
  display: flex;
  gap: 14px;
  margin: 12px 0 24px;
}

.sort-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.sort-label {
  font-size: 12px;
  color: var(--muted);
}

.sort-form select {
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: #0b0b0b;
  font-size: 12px;
  max-width: 100%;
}

.recent-list li {
  padding: 6px 0;
}

.recent-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  min-width: 0;
}

.recent-link:hover {
  background: #f2f8da;
}

.recent-title {
  font-size: 13px;
  font-weight: 600;
  color: #121212;
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
}

.recent-date {
  flex-shrink: 0;
  font-size: 11px;
  color: #5d5d5d;
  background: #f0f0f0;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  padding: 3px 8px;
}

.editor {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  background: #f4f4f4;
  border-bottom: 1px solid var(--border);
}

.editor-toolbar button {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.editor-area {
  min-height: 260px;
  padding: 12px;
  outline: none;
}

.editor-hidden {
  display: none;
}

.welcome-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f3f7e9 100%);
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  margin-bottom: 20px;
}

.welcome-hero .eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin: 0 0 8px 0;
}

.welcome-hero .lead {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0 20px;
}

.welcome-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.welcome-section {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .welcome-grid { grid-template-columns: 1fr; }
}

.kb-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f3f3f3 100%);
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  margin-bottom: 18px;
}

.kb-hero .eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin: 0 0 8px 0;
}

.kb-hero .lead {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.kb-section {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.kb-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  margin-bottom: 14px;
}

.kb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.kb-tabs {
  margin: 14px 0;
}

.kb-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.kb-tab {
  border: 1px solid #dcdcdc;
  background: #ffffff;
  color: #121212;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

.kb-tab:hover {
  border-color: var(--accent);
}

.kb-tab.is-active {
  background: #eff8cf;
  border-color: #bddf48;
}

.kb-tabpanel {
  display: none;
}

.kb-tabpanel.is-active {
  display: block;
}

/* Make the "Jouw plek in het geheel" cards feel more designed */
.kb-section h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.kb-section .kb-grid {
  gap: 16px;
}

.kb-section .kb-card {
  border: 1px solid #e2e2e2;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  padding: 18px;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

.kb-section .kb-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.kb-section .kb-card ul {
  margin: 0 0 10px 18px;
}

.kb-section .kb-card p strong {
  color: #0c0c0c;
}

.kb-section .kb-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: transparent;
  pointer-events: none;
}

/* tighter two-column layout for the 'Jouw plek in het geheel' section */
.kb-section .kb-grid.two-col {
  grid-template-columns: 1fr 1fr;
}

.kb-grid .kb-card {
  margin-bottom: 0;
}

.page-content {
  line-height: 1.6;
  letter-spacing: 0;
  word-spacing: normal;
}

.page-content p,
.page-content li {
  letter-spacing: 0;
  word-spacing: normal;
}

.page-content p {
  margin: 0 0 10px 0;
}

.page-content ul,
.page-content ol {
  margin: 0 0 12px 18px;
  padding: 0;
}

.page-content li + li {
  margin-top: 4px;
}

.page-content h1,
.page-content h2,
.page-content h3 {
  letter-spacing: 0.2px;
  line-height: 1.25;
}

.planner-section {
  border-top: 3px solid rgba(166, 238, 0, 0.65);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdf4 100%);
}

.planner-intro {
  border: 1px solid #dce7c1;
  background: linear-gradient(180deg, #fbfde9 0%, #f6f9e8 100%);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.planner-intro p {
  margin: 0;
  line-height: 1.55;
}

.planner-hero-shot,
.planner-shot {
  margin: 0 0 14px 0;
}

.planner-hero-shot img,
.planner-shot img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #dbe8bc;
  border-radius: 12px;
  background: #ffffff;
}

.planner-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.planner-step {
  border: 1px solid #e4e8ee;
  background: #ffffff;
  border-radius: 12px;
  padding: 14px;
  position: relative;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  min-height: 160px;
}

.planner-step-no {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11px;
  font-weight: 800;
  color: #5d6b7a;
  background: #f1f5f9;
  border: 1px solid #dde5ef;
  border-radius: 999px;
  padding: 2px 7px;
}

.planner-step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.planner-step ul {
  margin: 0 0 0 16px;
  padding: 0;
}

.planner-step p {
  margin: 0;
  line-height: 1.5;
}

.planner-section .kb-tablist {
  margin-top: 14px;
}

.planner-section .kb-tab {
  background: #f8faef;
  border-color: #d9e6ab;
}

.planner-section .kb-tab.is-active {
  background: #e8f5c1;
  border-color: #b4d84a;
}

.planner-tip {
  margin-top: 12px;
  border: 1px solid #dce8be;
  border-radius: 10px;
  background: #fbfdf6;
  padding: 10px 12px;
}

.planner-tip summary {
  cursor: pointer;
  font-weight: 700;
}

.planner-tip p {
  margin-top: 8px;
}

.planner-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.planner-quick-card {
  border: 1px solid #dce8be;
  border-radius: 12px;
  padding: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbee 100%);
}

.planner-quick-card h3 {
  margin-bottom: 6px;
}

.sp-hero {
  background: linear-gradient(135deg, #0078d4 0%, #106ebe 100%);
  color: #ffffff;
}

.sp-hero .eyebrow,
.sp-hero h1,
.sp-hero p {
  color: #ffffff;
}

.sp-tutorial {
  border-top: 3px solid #0078d4;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.sp-tutorial .planner-intro {
  border-color: #c5d9ef;
  background: linear-gradient(180deg, #eef5fc 0%, #f7fbff 100%);
}

.sp-tutorial .kb-tab {
  background: #f3f8fe;
  border-color: #cfe0f1;
}

.sp-tutorial .kb-tab.is-active {
  background: #e1eefb;
  border-color: #8db7e0;
}

.sp-tutorial .planner-step {
  border-color: #d4e1ef;
}

.sp-tutorial .planner-step-no {
  background: #e4f0fb;
  border-color: #bcd4ea;
  color: #1f4e79;
}

.sp-shot img {
  border-color: #c5d8eb;
  box-shadow: 0 8px 18px rgba(16, 110, 190, 0.08);
}

.planner-plan-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
  align-items: stretch;
}

.planner-plan-card {
  margin: 0;
  border: 0;
  border-radius: 14px;
  background: #ffffff;
  overflow: visible;
  box-shadow: 0 8px 18px rgba(16, 110, 190, 0.08);
}

.planner-upload-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
  align-items: start;
}

.planner-upload-shot {
  margin: 0;
}

.planner-upload-shot-menu {
  max-width: 560px;
  width: 100%;
  justify-self: center;
}

.planner-upload-photos-link .planner-upload-shot-menu {
  max-width: 760px;
}

.planner-upload-photos-link .planner-upload-shot-link-dialog {
  max-width: 920px;
  width: 100%;
  justify-self: center;
}

.planner-upload-photos-link .planner-upload-shot-link-result {
  max-width: 760px;
  width: 100%;
  justify-self: center;
}

.planner-plan-annotated {
  position: relative;
  background: #f6faff;
  padding: 8px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.planner-plan-annotated img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}

.plan-photo-1 .planner-plan-annotated img {
  clip-path: inset(0 0 0 10px);
}

.plan-photo-2 .planner-plan-annotated img {
  clip-path: inset(0 10px 0 0);
}

.planner-plan-caption {
  padding: 10px 12px;
  font-size: 13px;
  color: #355575;
  background: #f7fbff;
  border-top: 1px solid #d7e4f2;
}

.planner-annotated {
  position: relative;
  width: 100%;
  margin: 0 0 14px;
  overflow: visible;
}

.planner-annotated img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #c5d8eb;
  border-radius: 12px;
  background: #ffffff;
}

.planner-pin {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #0078d4;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 90, 158, 0.3);
  cursor: help;
  z-index: 2;
}

.planner-pin::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  background: rgba(18, 34, 51, 0.95);
  color: #ffffff;
  border-radius: 6px;
  padding: 7px 9px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
  white-space: normal;
  width: max-content;
  min-width: 180px;
  max-width: 420px;
  overflow-wrap: break-word;
  word-break: normal;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  text-align: left;
  z-index: 100;
}

.planner-pin:hover {
  z-index: 101;
}

.planner-pin:hover::after {
  opacity: 1;
}

.planner-blur {
  position: absolute;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: 1;
}

.planner-annotated-access .access-blur-1 { left: 2.8%; top: 38.5%; width: 12%; height: 26%; }
.planner-annotated-access .access-blur-2 { left: 92.8%; top: 0.1%; width: 7%; height: 4.4%; }

.planner-annotated-access .access-pin-1 { left: 0.7%; top: 25.5%; }
.planner-annotated-access .access-pin-2 { left: 5.4%; top: 13.1%; }

.plan1-pin-1 { left: 49%; top: 17%; }
.plan1-pin-2 { left: 5.5%; top: 35.5%; }
.plan2-pin-3 { left: 8.5%; top: 28.5%; }
.plan2-pin-4 { left: 8.5%; top: 54%; }
.plan2-pin-5 { left: 80%; top: 74%; }

.planner-annotated-task .task-pin-1 { left: 8.2%; top: 5.2%; }
.planner-annotated-task .task-pin-2 { left: 8.2%; top: 15.8%; }
.planner-annotated-task .task-pin-3 { left: 7.3%; top: 28.2%; }
.planner-annotated-task .task-pin-4 { left: 39%; top: 28%; }
.planner-annotated-task .task-pin-5 { left: 69.7%; top: 28%; }
.planner-annotated-task .task-pin-9 { left: 7.3%; top: 36%; }
.planner-annotated-task .task-pin-10 { left: 39%; top: 36%; }
.planner-annotated-task .task-pin-11 { left: 69.7%; top: 36%; }
.planner-annotated-task .task-pin-6 { left: 7.1%; top: 45.3%; }
.planner-annotated-task .task-pin-7 { left: 7.2%; top: 73%; }
.planner-annotated-task .task-pin-8 { left: 7.2%; top: 87.6%; }
.planner-annotated-task .task-pin-12 { left: 7.2%; top: 97%; }
.planner-annotated-group .group-pin-1 { left: 14.3%; top: 28.2%; }
.planner-annotated-group-files .group-pin-2 { left: 11.8%; top: 25.8%; }
.planner-annotated-link-dialog .link-dialog-pin-1 { left: 20.5%; top: 35.8%; }
.planner-annotated-link-dialog .link-dialog-pin-4 { left: 20.5%; top: 43.8%; }
.planner-annotated-link-dialog .link-dialog-pin-2 { left: 63.5%; top: 54.5%; }
.planner-annotated-link-result .link-result-pin-1 { left: 24.5%; top: 32.5%; }

.planner-annotated-board .board-pin-1 { left: 19%; top: 2.4%; }
.planner-annotated-board .board-pin-2 { left: 1.3%; top: 10.7%; }
.planner-annotated-board .board-pin-3 { left: 2.2%; top: 13.8%; }
.planner-annotated-board .board-pin-4 { left: 2.2%; top: 20.3%; }
.planner-annotated-board .board-pin-5 { left: 32.9%; top: 10.8%; }
.planner-annotated-board .board-pin-6 { left: 87.9%; top: 6.7%; }
.planner-annotated-board .board-pin-7 { left: 94.1%; top: 6.7%; }
.planner-annotated-board .board-pin-8 { left: 96.8%; top: 1.9%; }
.planner-annotated-board .board-pin-9 { left: 14.1%; top: 2.4%; }

.planner-annotated-raster .raster-pin-1 { left: 18.9%; top: 2.4%; }
.planner-annotated-raster .raster-pin-2 { left: 14.2%; top: 2.4%; }
.planner-annotated-raster .raster-pin-3 { left: 21.0%; top: 11.0%; }
.planner-annotated-raster .raster-pin-4 { left: 3.0%; top: 18.6%; }
.planner-annotated-raster .raster-pin-5 { left: 3.0%; top: 23.3%; }
.planner-annotated-raster .raster-pin-6 { left: 94.5%; top: 5.2%; }

.planner-view-toggle input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.planner-view-nav {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 12px;
}

.planner-view-btn {
  border: 1px solid #cfe0f1;
  background: #f3f8fe;
  color: #245a8d;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

#planner-view-board:checked ~ .planner-view-nav label[for="planner-view-board"],
#planner-view-raster:checked ~ .planner-view-nav label[for="planner-view-raster"] {
  background: #e1eefb;
  border-color: #8db7e0;
  color: #1f4e79;
}

.planner-view-panel {
  display: none;
}

#planner-view-board:checked ~ .planner-view-panels .planner-view-panel-board,
#planner-view-raster:checked ~ .planner-view-panels .planner-view-panel-raster {
  display: block;
  animation: plannerViewIn 240ms ease;
}

.planner-pin-switch {
  cursor: pointer;
}

.planner-pin-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + 2px);
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid #0078d4;
}

.planner-pin-link {
  text-decoration: none;
  color: #ffffff;
}

.planner-jump-link {
  color: #245a8d;
  font-weight: 700;
  text-decoration: underline;
}

@keyframes plannerViewIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.planner-pin.pin-1 { top: 0.8%; left: 1.2%; }
.planner-pin.pin-2 { top: 0.8%; left: 5.3%; }
.planner-pin.pin-3 { top: 5.3%; left: 19.8%; }
.planner-pin.pin-4 { top: 20.2%; left: 12.5%; }
.planner-pin.pin-5 { top: 9.2%; left: 1.1%; }
.planner-pin.pin-6 { top: 22.5%; left: 1.8%; }
.planner-pin.pin-7 { bottom: 1.8%; left: 1.8%; }
.planner-pin.pin-8 { top: 1.2%; right: 1.6%; }

.planner-legend-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.planner-legend-item {
  border: 1px solid #d4e1ef;
  border-radius: 10px;
  padding: 10px 12px;
  background: #f6faff;
  color: #2f4f6f;
  font-size: 14px;
}

.planner-hover-hint {
  margin: 0 0 14px;
  padding: 8px 10px;
  border: 1px solid #d8e4f1;
  border-radius: 8px;
  background: #f6faff;
  color: #355575;
  font-size: 13px;
}

@media (max-width: 900px) {
  .planner-flow {
    grid-template-columns: 1fr;
  }
  .planner-quick-grid {
    grid-template-columns: 1fr;
  }
  .planner-annotated {
    width: 100%;
    margin: 0 0 14px;
  }
  .planner-legend-grid {
    grid-template-columns: 1fr;
  }
  .planner-plan-photos {
    grid-template-columns: 1fr;
  }
  .planner-upload-photos {
    grid-template-columns: 1fr;
  }
  .planner-pin {
    width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 10px;
  }
  .planner-pin::after {
    display: none;
  }
  .planner-blur {
    display: none;
  }
}

@media (max-width: 900px) {
  .kb-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .site-header { flex-direction: column; gap: 12px; align-items: flex-start; }
  .category-edit-row {
    grid-template-columns: 1fr;
  }
  .search-main-row {
    grid-template-columns: 1fr;
  }
  .search-filter-row {
    grid-template-columns: 1fr;
  }
  .recent-link {
    flex-direction: column;
    align-items: flex-start;
  }
  .recent-date {
    margin-top: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body {
    transition: none;
  }
}

.site-header-inner {
  width: min(1280px, calc(100vw - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: #69707a;
  font-weight: 700;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 999px;
}

.site-nav a.is-current {
  background: #111111;
  color: #ffffff;
}

.btn.subtle {
  background: #ffffff;
  border: 1px solid #d7dde6;
  color: #111827;
}

.btn.subtle:hover {
  border-color: #b9c4d3;
}

.admin-shell {
  background:
    radial-gradient(1200px 650px at 100% -10%, rgba(166, 238, 0, 0.24) 0%, rgba(166, 238, 0, 0) 45%),
    linear-gradient(180deg, #eff3ea 0%, #f7f7f5 38%, #ecefea 100%);
}

.admin-shell .container {
  max-width: 1280px;
  padding-top: 28px;
}

.admin-shell .card {
  border-top-color: rgba(17, 24, 39, 0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,249,247,0.98));
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.07);
}

.admin-shell-bar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin: 0 0 18px;
  padding: 18px 22px;
  border: 1px solid #d9e1d4;
  border-radius: 18px;
  background:
    radial-gradient(380px 180px at 100% 0%, rgba(166, 238, 0, 0.28), rgba(166, 238, 0, 0)),
    linear-gradient(135deg, #ffffff 0%, #f4f8ee 100%);
}

.admin-shell-eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 11px;
  font-weight: 800;
  color: #55606b;
}

.admin-shell-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.05;
}

.admin-shell-title::after {
  display: none;
}

.admin-shell-lead {
  margin: 10px 0 0;
  max-width: 52ch;
  color: #56616d;
  line-height: 1.55;
}

.admin-shell-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.admin-nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #d8dee6;
  background: rgba(255,255,255,0.74);
  color: #1f2937;
  font-size: 13px;
  font-weight: 700;
}

.admin-nav a.is-active,
.admin-nav a:hover {
  border-color: #111827;
  background: #111827;
  color: #ffffff;
}

.admin-section-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 20px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-grid.compact {
  grid-template-columns: repeat(4, minmax(160px, 1fr));
}

.metric-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #dbe3d6;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,249,240,0.96));
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
}

.metric-card.compact {
  padding: 14px 16px;
  gap: 6px;
}

.metric-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #5b6772;
}

.metric-value {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1;
  color: #111827;
}

.metric-link {
  font-size: 13px;
  font-weight: 700;
  color: #234c2b;
}

.quick-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quick-action-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 120px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #dde4dc;
  background: linear-gradient(180deg, #ffffff 0%, #f5f7f3 100%);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
}

.quick-action-card strong {
  font-size: 15px;
}

.quick-action-card span {
  color: #5c6670;
  line-height: 1.5;
}

.admin-filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr) auto;
  gap: 10px;
  margin: 14px 0 18px;
}

.admin-filter-bar input,
.admin-filter-bar select {
  margin: 0;
}

.admin-inline-create {
  margin-bottom: 16px;
}

.table-wrap {
  overflow-x: auto;
}

.admin-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #5b6772;
}

.admin-listing-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.admin-listing-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
}

.admin-inline-links,
.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: 1px solid #d9dee5;
  background: #f7f8fa;
  color: #364152;
}

.status-badge.is-strong {
  background: #edf7c8;
  border-color: #d7e88a;
  color: #34451a;
}

.status-badge.is-soft {
  background: #f2f4f7;
  border-color: #d8dde5;
  color: #55606d;
}

.status-badge.is-success {
  background: #eaf8ee;
  border-color: #bee3c8;
  color: #245a36;
}

.status-badge.is-muted {
  background: #f5f5f5;
  border-color: #dfdfdf;
  color: #707070;
}

.danger-link {
  color: #9f1239;
}

.danger-link:hover {
  color: #be123c;
}

.editor-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 12px 14px;
  margin: 12px 0 18px;
  border-radius: 14px;
  border: 1px solid #dfe4e9;
  background: #f8fafb;
}

.editor-meta-strip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #364152;
}

.admin-recent-list li {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-recent-list .recent-date {
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .admin-two-col,
  .metric-grid,
  .metric-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-filter-bar {
    grid-template-columns: 1fr 1fr;
  }

  .quick-action-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-header-inner,
  .admin-shell-bar {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-two-col,
  .metric-grid,
  .metric-grid.compact,
  .editor-meta-strip,
  .admin-filter-bar {
    grid-template-columns: 1fr;
  }
}

/* Refinement pass: calmer contrast and cleaner admin finish */
:root {
  --text: #18212b;
  --muted: #5e6975;
  --border: #d9e1e7;
  --panel: #ffffff;
  --panel-2: #f7f9fb;
  --accent: #9cdb17;
  --accent-2: #7db40f;
}

body {
  background:
    radial-gradient(1000px 620px at 85% -10%, rgba(156, 219, 23, 0.10) 0%, rgba(156, 219, 23, 0) 48%),
    linear-gradient(180deg, #f5f7f8 0%, #eef2f4 100%);
  color: var(--text);
}

body::before {
  background-image: radial-gradient(rgba(24, 33, 43, 0.03) 1px, transparent 1px);
}

a {
  color: #22313f;
}

a:hover {
  color: #6b9b0d;
}

.site-header {
  background: rgba(249, 251, 252, 0.9);
  border-bottom: 1px solid rgba(24, 33, 43, 0.08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.brand-text {
  color: #17202a;
}

.brand-subtitle {
  color: #73808d;
}

.site-nav a {
  color: #334252;
}

.site-nav a.is-current {
  background: linear-gradient(180deg, #253341 0%, #18212b 100%);
  color: #f8fbfd;
  box-shadow: 0 10px 20px rgba(24, 33, 43, 0.18);
}

.profile-trigger {
  border-color: #314050;
  background: linear-gradient(180deg, #2b3948 0%, #1b2530 100%);
}

.profile-trigger-name::before,
.profile-trigger-caret {
  color: #b2e432;
  background: #b2e432;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,249,251,0.98));
  border: 1px solid rgba(24, 33, 43, 0.08);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.sidebar .card {
  border-left-color: rgba(156, 219, 23, 0.72);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
}

h1,
h2,
h3 {
  color: #17202a;
}

.recent-link:hover,
.subpage-list a:hover,
.tag-card:hover,
.tag-chip:hover {
  background: #f2f8e3;
}

.admin-shell {
  background:
    radial-gradient(1200px 650px at 100% -10%, rgba(156, 219, 23, 0.12) 0%, rgba(156, 219, 23, 0) 44%),
    linear-gradient(180deg, #f3f6f8 0%, #edf1f4 100%);
}

.admin-shell .card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,248,250,0.98));
  border-color: rgba(24, 33, 43, 0.09);
}

.admin-shell-bar {
  border-color: #d8e0e6;
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(156, 219, 23, 0.18), rgba(156, 219, 23, 0)),
    linear-gradient(135deg, #ffffff 0%, #f5f8fa 100%);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
}

.admin-shell-title,
.metric-value,
.admin-listing-title {
  color: #18212b;
}

.admin-nav a {
  background: rgba(255,255,255,0.84);
  color: #324150;
}

.admin-nav a.is-active,
.admin-nav a:hover {
  background: linear-gradient(180deg, #253341 0%, #18212b 100%);
  border-color: #18212b;
}

.metric-card,
.quick-action-card {
  border-color: #dbe3e8;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fb 100%);
}

.metric-link {
  color: #365c19;
}

.status-badge.is-strong {
  background: #eef7d6;
  border-color: #d6e8a0;
  color: #405222;
}

.status-badge.is-soft {
  background: #f3f6f8;
  border-color: #d9e1e7;
  color: #556372;
}

.editor-meta-strip {
  background: linear-gradient(180deg, #f9fbfc 0%, #f3f6f8 100%);
  border-color: #dde4ea;
}
