/* Release 132 (Claude): het merk MC Compact (keuze C), het opstartscherm en het laden van de jaarcijfers bij Geld, volgens
   Figma (16 okt 2026). Dit bestand komt na alle andere stylesheets; het neemt de oude merkregels over zonder ze te wijzigen.
   Kleuren: dezelfde waarden als de --ds-tokens in dagstart.css (die gelden alleen binnen #app en #blad). */

/* ---------- Merkteken: het appicoon (lichte tegel, ook in donker) in de appkop, de navigatie en bij inloggen ---------- */
.mc-merkteken { display:block; flex:none; width:30px; height:30px; }
#app .z-nav-merk > .mc-merkteken { width:36px; height:36px; }
.login-icoon { width:64px; height:64px; background:none; border-radius:16px; }
.login-icoon img { display:block; width:64px; height:64px; }

/* ---------- Opstarten: 'Een rustige start' (logo linksboven, logo met draaiende boog, geen voortgang) ---------- */
#opstart { --mc-bg:#f5f7fa; --mc-ink:#172b4d; --mc-muted:#65748b; --mc-line:#e2e8f0; --mc-blue:#315de7; --mc-pale:#edf2ff;
  --mc-schaduw:rgba(23, 43, 77, .12); }
:root[data-theme="dark"] #opstart { --mc-bg:#0b1422; --mc-ink:#edf3ff; --mc-muted:#adbbd1; --mc-line:#2a3d58; --mc-blue:#9cb8ff;
  --mc-pale:#253956; --mc-schaduw:rgba(0, 0, 0, .3); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #opstart { --mc-bg:#0b1422; --mc-ink:#edf3ff; --mc-muted:#adbbd1; --mc-line:#2a3d58;
    --mc-blue:#9cb8ff; --mc-pale:#253956; --mc-schaduw:rgba(0, 0, 0, .3); }
}
#opstart.opstart { display:flex; flex-direction:column; align-items:stretch; place-content:normal;
  gap:0; padding:0; min-height:100dvh; background:var(--mc-bg); color:var(--mc-ink); text-align:left;
  font:14px/1.5 MCInter, Inter, system-ui, sans-serif; overflow-x:hidden; }
#opstart p { margin:0; max-width:none; }
/* Ook de pagina zelf in de opstartkleur (zonder sterren): anders toont de vaste schuifbalkruimte (scrollbar-gutter in
   navigatie.css) op de pc een streep in een andere kleur naast het opstartscherm */
body:has(> #opstart:not([hidden])) { background:#f5f7fa; }
:root[data-theme="dark"] body:has(> #opstart:not([hidden])) { background:#0b1422; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body:has(> #opstart:not([hidden])) { background:#0b1422; } }
.mc-opstart-kop { display:flex; align-items:center; gap:12px; min-height:calc(80px + env(safe-area-inset-top, 0px));
  padding:env(safe-area-inset-top, 0px) 24px 0;
  font:600 15px/1.4 MCInter, Inter, system-ui, sans-serif; color:var(--mc-ink); }
.mc-opstart-kop img { display:block; flex:none; width:32px; height:32px; }
.mc-opstart-midden { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:24px;
  padding:24px; text-align:center; }
.mc-laadbeeld { position:relative; flex:none; width:144px; height:144px; border-radius:50%; background:var(--mc-pale); }
.mc-laadring { position:absolute; left:14px; top:14px; width:116px; height:116px; overflow:visible; }
.mc-ring-spoor { fill:none; stroke:var(--mc-line); stroke-width:2.5; }
.mc-ring-boog { fill:none; stroke:var(--mc-blue); stroke-width:2.5; stroke-linecap:round; stroke-dasharray:150 210; }
.mc-laadmerk { position:absolute; left:36px; top:36px; display:block; width:72px; height:72px;
  filter:drop-shadow(0 4px 10px var(--mc-schaduw)); }
.mc-opstart-tekst { display:flex; flex-direction:column; align-items:center; gap:8px; width:min(320px, 100%); }
.mc-opstart-merknaam { font-size:12px; line-height:16px; letter-spacing:.04em; color:var(--mc-muted); }
.mc-opstart-titel { font:700 26px/34px MCManrope, Manrope, system-ui, sans-serif; letter-spacing:-.3px; color:var(--mc-ink); }
.mc-opstart-sub { font-size:14px; line-height:20px; color:var(--mc-muted); }
.mc-opstart-melding { overflow-wrap:anywhere; }
#opstart .mc-opstart-knop { margin-top:12px; min-height:44px; min-width:160px; padding:10px 22px; border:0; border-radius:12px;
  background:#315de7; color:#fff; font:600 14px/1.45 MCInter, Inter, system-ui, sans-serif; cursor:pointer; box-shadow:none; }
#opstart .mc-opstart-knop:hover { filter:brightness(1.06); }
#opstart .mc-opstart-knop:focus-visible { outline:3px solid var(--mc-blue); outline-offset:3px; }
.mc-opstart-voet { display:flex; align-items:center; justify-content:center; min-height:calc(80px + env(safe-area-inset-bottom, 0px));
  padding:0 24px env(safe-area-inset-bottom, 0px); font-size:12px; line-height:16px; letter-spacing:.06em; word-spacing:.25em;
  color:var(--mc-muted); text-align:center; }

/* Draaiende boog (opstart en jaarcijfers); stil bij 'minder beweging' */
@keyframes mc-draai { to { transform:rotate(360deg); } }
@keyframes mc-puls { 50% { opacity:.55; } }
.mc-draait, .gd-laden-boog { animation:mc-draai 1.2s linear infinite; transform-origin:50% 50%; }

/* ---------- Geld: de jaarcijfers laden ('02 / Jaarcijfers laden'). Je blijft in Geld; jaarkeuze en navigatie blijven. ---------- */
.gd-laden { --mc-line:var(--ds-line); --mc-blue:var(--ds-blue); gap:20px; }
.gd-laden .wk-head { margin:0; flex-wrap:nowrap; align-items:center; gap:12px; }
.gd-laden .wk-head > div:first-child { min-width:0; }
.gd-laden .wk-head h1 { font:700 26px/34px MCManrope, sans-serif; letter-spacing:-.4px; }
.gd-laden .wk-head p { margin:4px 0 0; font-size:12px; line-height:16px; }
.gd-laden .wk-head > .wk-actions { order:0; width:auto; flex:none; }
.gd-laden .wk-head > .wk-actions > * { flex:none; }
.gd-laden-status { display:flex; align-items:center; gap:12px; padding:16px; border-radius:12px; background:var(--ds-pale); }
.gd-laden-status b { display:block; font:600 15px/1.4 MCInter, sans-serif; color:var(--ds-ink); }
.ov-page .gd-laden-status small { margin-top:4px; font-size:12px; line-height:16px; }
.gd-laden-boog { display:block; flex:none; width:22px; height:22px; overflow:visible; }
.gd-laden-vlakken { display:flex; flex-direction:column; gap:20px; }
.gd-laden-cijfers { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px; }
.gd-laden-kaart { display:flex; flex-direction:column; gap:16px; padding:20px; border:1px solid var(--ds-line); border-radius:16px;
  background:var(--ds-card); }
.gd-laden-label { font-size:14px; line-height:20px; color:var(--ds-muted); }
.ov-page .gd-laden-kaart h2 { font:600 18px/1.45 MCInter, sans-serif; }
.gd-laden-onder { display:grid; grid-template-columns:minmax(0, 42fr) minmax(0, 58fr); gap:20px; align-items:start; }
.gd-laden-belasting > div { display:flex; flex-direction:column; gap:10px; }
.gd-laden-rij { display:flex; align-items:center; gap:16px; }
.gd-laden-rij > div { flex:1; display:flex; flex-direction:column; gap:8px; }
.gd-sk { display:block; flex:none; height:12px; border-radius:999px; background:var(--ds-line); animation:mc-puls 1.6s ease-in-out infinite; }
.gd-sk-bedrag { width:min(136px, 100%); height:28px; }
.gd-sk-onder { width:min(94px, 100%); height:8px; }
.gd-sk-regel { width:calc(100% - 40px); }
.gd-sk-rond { width:32px; height:32px; }
.gd-sk-lang { width:calc(100% - 18px); height:10px; }
.gd-sk-kort { width:min(90px, 100%); height:8px; }
.gd-sk-bedragje { width:56px; height:14px; }
.ov-page .gd-laden-voet { margin:0; font-size:12px; line-height:16px; color:var(--ds-muted); }
@media (max-width:899px) {
  .gd-laden-cijfers { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .gd-laden-resultaat { grid-column:1 / -1; flex-direction:row; align-items:center; justify-content:space-between;
    border-color:transparent; }
  .gd-laden-resultaat .gd-sk-bedrag { width:112px; }
  .gd-laden-resultaat .gd-sk-onder { display:none; }
  .gd-laden-onder { grid-template-columns:minmax(0, 1fr); }
  .gd-laden-bewegingen { display:none; }
}

@media (prefers-reduced-motion: reduce) {
  .mc-draait, .gd-laden-boog, .gd-sk { animation:none; }
}
