/* Thema "Anso" — afgeleid van anso.be: antraciet, crème en beige; serif-titels (Libre Baskerville), licht schreefloos (Montserrat);
   ronde knoppen met dunne rand, grote afrondingen. Overschrijft enkel wat nodig is; de rest komt uit app.css. */
/* Lettertypes lokaal (geen Google Fonts nodig; SIL Open Font License) */
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("fonts/libre-baskerville-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("fonts/libre-baskerville-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("fonts/libre-baskerville-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  --bg: #f8f2ec;
  --surface: #fffcf8;
  --surface-2: #fbf6f0;
  --line: #ebe1d6;
  --line-strong: #d6c9bb;
  --text: #1b1a19;
  --muted: #847a70;
  --ink: #1b1a19;
  --ink-hover: #000;
  --ink-soft: #f1e7dc;
  --beige: #e9dccd;
  --cream: #f3e9df;
  --new: #b9753f;
  --new-soft: #f8eadc;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(27, 26, 25, .05), 0 8px 24px rgba(27, 26, 25, .06);
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
}
body { font-size: 14.5px; letter-spacing: .005em; }
strong, b { font-weight: 600; }

/* Titels in serif, accenten cursief */
h1, h2, h3, .project-card h2, .map-crumbs { font-family: var(--serif); font-weight: 400; letter-spacing: -.005em; }
h1 { font-size: 1.85rem; }
h2 { font-size: 1.2rem; }
.map-crumbs { font-size: 1.35rem; }
h1 em, h2 em { font-style: italic; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Topbalk: antraciet met crème woordmerk en ingetogen tekstlinks ---------- */
.topbar { background: var(--ink); height: 68px; }
.brand { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1; }
.brand { flex-direction: row; align-items: center; }
.brand-logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-blobs { width: 36px; height: 32px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--cream); letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.brand-name em { font-weight: 400; font-style: italic; color: #d9a679; font-size: .84em; letter-spacing: 0; }
.mainnav a { color: #a8a097; font-weight: 400; border-radius: 0; padding: 8px 10px; }
.mainnav a .ic { display: none; }
.mainnav a:hover { color: var(--cream); background: none; }
.mainnav a.active { color: var(--cream); background: none; box-shadow: inset 0 -1px 0 var(--cream); }
.topbar .icon-btn, .bell { color: #cfc6bc; }
.topbar-log, .topbar-rp { color: #8f877e; }
.topbar-log:hover, .topbar-rp:hover, .topbar-log.active, .topbar-rp.active { color: var(--cream); background: rgba(243, 233, 223, .08); }
.topbar-rp.on { background: var(--beige); color: var(--ink); }
.me-name { font-weight: 500; color: var(--cream); }
.me-role { color: #a8a097; }
/* Rollenspel: "werfzone"-balk, valt duidelijk op */
.rp-bar { top: 68px; background: repeating-linear-gradient(135deg, #1b1a19 0 14px, #2b2826 14px 28px); color: var(--cream);
  padding: 12px 24px; font-size: .95rem; border-bottom: 4px solid var(--new); }
.rp-bar a, .rp-bar button { color: var(--cream); }
.rp-bar form button { text-decoration: none; background: var(--new); color: #fff; border-radius: 999px; padding: 5px 16px; }
.rp-bar form button:hover { background: #a3622f; }
.topbar-rp.on { background: var(--new); color: #fff; }

/* ---------- Knoppen: pil-vorm, dunne rand ---------- */
.btn { border-radius: 999px; border-color: var(--ink); background: transparent; color: var(--ink); font-weight: 400; padding: 8px 18px; }
.btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: #000; color: #fff; }
.btn-sm { padding: 5px 13px; }
.btn.danger-text:hover { background: var(--danger); color: #fff; }
.icon-btn { border-radius: 50%; }
input, select, textarea { border-radius: 10px !important; background: var(--surface); }
input:focus, select:focus, textarea:focus { outline-color: var(--ink); }

/* ---------- Kaarten, panelen, tabellen ---------- */
.panel, .table-wrap, .project-card, .fm, .file-manager { border-radius: var(--radius); }
.project-card { background: var(--surface); }
.project-card:hover { border-color: var(--line-strong); }
.table th { font-weight: 500; letter-spacing: .08em; font-size: .72rem; color: var(--muted); background: var(--surface-2); }
.code { font-family: "Montserrat", sans-serif; background: var(--ink-soft); color: var(--ink); font-weight: 500; letter-spacing: .02em; border-radius: 20px; padding: 2px 9px; }
.file-badge { font-family: "Montserrat", sans-serif; font-weight: 600; background: #eee6dc; color: #5f564d; border-radius: 6px; }
.file-badge.k-pdf { background: var(--ink); color: var(--cream); }
.pill { background: #efe7dd; color: #6f655b; font-weight: 500; }
.chip { background: var(--ink-soft); color: var(--ink); }

/* Tabbladen: dunne onderlijn */
.tabs { gap: 10px; }
.tabs a { font-weight: 400; padding: 9px 4px; margin-right: 8px; }
.tabs a.active { color: var(--ink); border-bottom-width: 1px; font-weight: 500; }

/* Mappen links */
.fm-side { background: var(--surface-2); }
.map-link { font-weight: 500; border-radius: 12px; }
.map-link.active { background: var(--ink); color: var(--cream); }
.map-link:hover { background: var(--ink-soft); }

/* Dialogen */
.dialog { border-radius: 20px; background: var(--surface); }

/* ---------- Aanmelden: gesplitst scherm ---------- */
.auth-side { color: var(--cream); }
.auth-side::after { border-color: rgba(243, 233, 223, .15); }
.auth-side-brand .brand-name { font-size: 2rem; }
.auth-side-brand .brand-blobs { width: 46px; height: 41px; }
.auth-side-msg h2 { font-family: var(--serif); font-weight: 400; font-size: 2.5rem; }
.auth-side-msg p { font-weight: 300; }
.auth-form h1 { font-family: var(--serif); font-weight: 400; }
.pw-meter[data-score="3"] i:nth-child(-n+3) { background: var(--new); }
.pw-meter[data-score="4"] i { background: #8a9a78; } /* mild saliegroen */

/* Menu onder je naam */
.me-menu > summary:hover, .me-menu[open] > summary { background: rgba(243, 233, 223, .08); }
.me-pop { border-radius: 16px; }
.pill, .chip, .code, .badge, .sec-count { font-family: "Montserrat", "Segoe UI", sans-serif; }
h1 .pill { font-size: .72rem; vertical-align: 7px; }

/* Welkom (klant): antraciet met crème, titel in serif */
.welcome { background: var(--ink); color: var(--cream); border-radius: 22px; }
.welcome-title { font-family: var(--serif); font-weight: 400; color: var(--cream); font-size: 3.3rem; }
.welcome-greet { font-family: var(--serif); font-size: 1.25rem; }
.welcome-contact a { color: var(--cream); }
.welcome-text { font-weight: 300; }
.phase-steps li.now span { box-shadow: 0 0 0 5px rgba(185,117,63,.25); }

/* Klant: grote vormen */
.cm-title { font-family: var(--serif); font-weight: 400; }
.cm-label { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; }
.cm-pill.on, .cm-pill:hover { color: var(--cream); }
.cm-blob.on { box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--ink); }
@media (max-width: 700px) { .cm-label { font-size: 1.35rem; } .cm-title { font-size: 1.2rem; } }
@media (max-width: 860px) { .auth-side-msg h2 { font-size: 1.75rem; } .auth-side-brand .brand-name { font-size: 1.6rem; } }
@media (max-width: 860px) { .mainnav a .ic { display: inline-block; } .mainnav a.active { box-shadow: none; background: rgba(243,233,223,.1); border-radius: 8px; } .brand-name { font-size: 1.3rem; } .brand-blobs { width: 30px; height: 27px; } }

/* Het anso-logo (beeld) naast "projectplek." */
.brand-name { display: inline-flex; align-items: center; gap: 6px; }
.brand-name { display: inline-block; white-space: nowrap; }
.brand-img { height: 27px; width: auto; display: inline; vertical-align: -1px; margin-left: 5px; } /* onderkant "anso" op de basislijn van "projectplek." */
.auth-side-brand .brand-img { height: 36px; }
@media (max-width: 860px) { .brand-img { height: 22px; } .auth-side-brand .brand-img { height: 28px; } }

/* Tabbladen: beige pilbalk, gekozen tab antraciet */
:root { --tab-track: #efe5da; }
.tabs { gap: 4px; }
.tabs a { font-weight: 500; padding: 9px 18px; margin-right: 0; color: #5f564d; }
.tabs a:hover { background: rgba(27, 26, 25, .06); color: var(--ink); }
.tabs a.active { color: var(--cream); background: var(--ink); border-bottom-width: 0; font-weight: 500; }
.project-card h2 { font-style: italic; color: #fff; }
.project-card { background: var(--ink); }
.contact-av { font-family: "Montserrat", sans-serif; }
.topbar-rp { color: #e6dbcf; }
.topbar-rp:hover, .topbar-rp.active { color: #fff; }
.topbar-rp.on { background: var(--new); color: #fff; }
.topbar-disk.active, .topbar-disk.active:hover { background: var(--new); color: #fff; }
