/* VERM COTECH — Stijlrichting B, 19 november 2026. Alleen visuele UI. */
:root {
  color: #1C2632;
  background: #F7F5F2;
  --blue: #AD4B13; /* compatibiliteit met bestaande CSS-klassen */
  --deep: #27333E;
  --muted: #69747C;
  --line: #DDDAD5;
  --purple: #7450A3;
  --purple-bg: #F2E9F8;
  --green: #258359;
  --green-bg: #E5F5EB;
  --theme-graphite: #27333E;
  --theme-orange: #AD4B13;
  --theme-orange-dark: #923C0D;
  --theme-paper: #F7F5F2;
}
body { background: var(--theme-paper); }
.topbar {
  background: var(--theme-graphite);
  box-shadow: 0 3px 13px #141d2640;
  min-height: 119px;
  padding: 10px 23px;
}
.brand { gap: 15px; }
.brand-logo-plate {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 105px;
  height: 109px;
  border-radius: 9px;
  background: #FFFFFF;
  padding: 6px;
  box-shadow: 0 2px 7px #0c141e3b;
}
.brand-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-copy { min-width: 0; }
.brand strong { color: #FFFFFF; font-size: 19px; }
.brand small { color: #E0E5E8; font-size: 12px; opacity: 1; }
.top-actions select { color: #27333E; background: #FFFFFF; border-color: #B9C0C3; min-height: 44px; }
.top-actions .btn-light { background: var(--theme-orange); border-color: var(--theme-orange); color: #FFFFFF; }
.top-actions .btn-light:hover { background: var(--theme-orange-dark); border-color: var(--theme-orange-dark); }
.tabs { background: #FFF; box-shadow: 0 1px 2px #10192116; }
.tab { color: #43505C; min-height: 54px; }
.tab.active { color: var(--theme-orange-dark); border-color: var(--theme-orange); background: #FDF4ED; }
.tab.active span { color: #FFF; background: var(--theme-orange); }
.tab span { color: #5D6872; background: #F0EFED; }
.tab:hover:not(.active) { background: #F6F3EF; }
main { background: var(--theme-paper); }
.footer { color: #737A80; border-color: #E2DFDB; }
.page-head h1, .section-title, .component-section-title, .modal h2, .empty h1 { color: #27333E; }
.page-head p, .tree-header-meta, .hint { color: #64717A; }
.panel { border-color: #E1DFDB; box-shadow: 0 3px 10px #1724300c; }
.btn { min-height: 44px; color: #7A380F; border-color: #C9BAB0; background: #FFF; }
.btn-primary { color: #FFF; background: var(--theme-orange); border-color: var(--theme-orange); box-shadow: 0 3px 9px #A44B1822; }
.btn-primary:hover:not(:disabled) { filter: none; background: var(--theme-orange-dark); border-color: var(--theme-orange-dark); }
.btn-light { color: #7A380F; border-color: #C9BAB0; }
.btn-ghost { color: #714021; background: #F4E9E0; border-color: #E8D6C7; }
.btn-danger { color: #9B3540; border-color: #E3B8BE; }
.btn-small { min-height: 40px; }
.field > span, .field-title { color: #4E5458; }
.field input, .field select, .field textarea, .control { color: #26323D; border-color: #CFCBC6; outline-color: #AD4B13; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #AD4B13; }
.field-spec { background: #FEFDFC; border-color: #E4E0DC; }
.radio-card { border-color: #DAD0C8; }
.radio-card:has(input:checked) { border-color: var(--theme-orange); background: #FCF1E8; }
.inline-note { background: #F2EBE4; color: #63544A; }
.pill { background: #F1EFEB; color: #5F6569; }
.summary-list strong { color: #303C45; }
.summary-list span { color: #68747B; }
.crumb { color: #934714; }
.crumb:last-child { color: #46505A; }
.level-item { border-color: #DAD4CC; color: #4F5559; }
.level-item.selected { background: #FCF1E8; border-color: #AD4B13; box-shadow: 0 0 0 1px #AD4B13; }
.component-section-title { border-color: #E9E3DD; }
.photo-upload { background: #FFFEFC; border-color: #D3CDC5; }
.photo-upload strong { color: #4D565D; }
.photo-tile { background: #F9F7F4; border-color: #DCD7D1; }
.library-card { border-color: #DFDBD5; }
.library-card strong { color: #354048; }
.tree-scroll { border-color: #DDD9D4; background: #FFFEFD; }
.origin-banner { color: #313A42; }
.tree-list ul > li::before, .tree-list ul > li::after { border-top-color: #A5A5A2; }
.tree-list ul > li::after, .tree-list ul > li:last-child::before, .tree-list li > ul::before { border-left-color: #A5A5A2; border-right-color: #A5A5A2; }
.node-card { background: var(--purple-bg); border-color: #7450A3; color: #4C2868; }
.node-card.green { background: var(--green-bg); border-color: #258359; color: #155B3F; }
.node-card.green strong { color: #155B3F; }
.node-card span { color: inherit; opacity: .87; }
.node-card.selected { outline-color: #AD4B13; }
.node-card:hover { box-shadow: 0 5px 13px #29231F27; }
.zoom-value { color: #424A50; }
.tree-selected p { color: #6D757C; }
.empty-icon { background: #F5E9DF; color: #9B4917; }
.modal-backdrop { background: #18242db8; }
.toast { background: #27333E; }
.accordion { color: #5F412E; background: #F4EDE7; }
details summary, .link-button { color: #924312; }
:focus-visible { outline-color: #AD4B13; outline-offset: 2px; }
/* Landscape tablet: keep the brand readable without taking too much vertical space. */
@media (max-height: 820px) and (min-width: 761px) {
  .topbar { min-height: 94px; }
  .brand-logo-plate { width: 79px; height: 82px; padding: 5px; }
}
@media (max-width: 760px) {
  .topbar { min-height: 0; padding: 11px 14px; }
  .brand-logo-plate { width: 75px; height: 81px; padding: 5px; }
  .brand strong { font-size: 17px; }
  .brand small { font-size: 11px; white-space: normal; }
  .brand { white-space: normal; }
  .top-actions select { min-width: 155px; }
}
