/* De klant-app van 100digitaal. Tokens uit Pulse_UI_Huisstijl_v1.md (geen
   nieuwe hexcodes, geen blauw); vorm uit mockups/klant-app-compleet-mockup.html.
   Eén stylesheet en alleen klassen: de CSP staat geen inline stijl toe. */

:root {
  --bg: #f5f5f0; --surface: #fff; --surface2: #f0efe8; --surface3: #e8e7e0;
  --text: #1a1a18; --text2: #6b6b67; --text3: #9a9a96; --border: rgba(0, 0, 0, 0.09);
  --orange: #EF8D16; --orange-soft: rgba(239, 141, 22, 0.12);
  --green: #5E8F6B; --green-soft: rgba(94, 143, 107, 0.15);
  --red: #B55A4F; --red-soft: rgba(181, 90, 79, 0.12);
  --radius: 12px; --radius-sm: 8px; --radius-xs: 4px;
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .14); --shadow-md: 0 4px 16px rgba(0, 0, 0, .08);
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text);
  -webkit-font-smoothing: antialiased; font-size: 15px; -webkit-tap-highlight-color: transparent;
}
button, input, select { font-family: inherit; font-size: inherit; }
.num, input.num { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }
.center { text-align: center; }
.small { font-size: 12.5px; color: var(--text2); line-height: 1.45; }
.strong { font-weight: 700; }
.ico { flex: none; vertical-align: -3px; }
pulse-app, app-shell, app-login { display: block; height: 100%; }

.splash { height: 100%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 24px; }
.splash b, .brand b, .logo b { color: var(--orange); }

/* ---- schil ---- */
.shell { display: flex; height: 100%; }
.col { flex: 1; display: flex; flex-direction: column; min-width: 0; position: relative; height: 100%; }
.top {
  display: flex; align-items: center; gap: 8px; padding: calc(12px + var(--safe-t)) 16px 10px;
  background: var(--surface); border-bottom: .5px solid var(--border);
}
.adm {
  display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; flex: 1; min-width: 0;
  background: none; border: none; padding: 4px 0; color: var(--text); text-align: left; cursor: pointer;
}
.adm:disabled { cursor: default; color: var(--text); }
.adm span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang {
  border: .5px solid var(--border); border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--text2);
  padding: 5px 10px; background: var(--surface); cursor: pointer;
}
.av {
  width: 30px; height: 30px; border-radius: 50%; background: var(--orange-soft); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}
.main { flex: 1; overflow: auto; padding: 16px 16px calc(150px + var(--safe-b)); }
.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: var(--surface);
  border-top: .5px solid var(--border); display: flex; padding: 6px 4px calc(8px + var(--safe-b));
}
.nav .logo { display: none; }
.tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 600;
  color: var(--text3); background: none; border: none; cursor: pointer; padding: 4px 0;
}
.tab.on { color: var(--orange); }
.tab.web { display: none; }
.tab.via { color: var(--orange); } /* Documenten zit op de telefoon onder Account */
.fab {
  position: fixed; right: 16px; bottom: calc(78px + var(--safe-b)); z-index: 11; background: var(--orange); color: #fff;
  border: none; border-radius: 999px; padding: 13px 18px; font-weight: 700; font-size: 15px; display: flex;
  align-items: center; gap: 7px; box-shadow: var(--shadow-md); cursor: pointer;
}

/* web: zijbalk i.p.v. tabbladen (plan §3) */
@media (min-width: 820px) {
  .nav {
    position: static; flex-direction: column; width: 230px; border-top: none; border-right: .5px solid var(--border);
    padding: 16px 10px; gap: 2px;
  }
  .nav .logo { display: block; font-weight: 800; font-size: 16px; padding: 4px 10px 16px; }
  .tab {
    flex: none; flex-direction: row; gap: 10px; padding: 10px; border-radius: var(--radius-sm); font-size: 14px;
    color: var(--text2); justify-content: flex-start;
  }
  .tab.on { background: var(--orange-soft); color: var(--orange); }
  .tab.web { display: flex; }
  .tab.via { color: var(--text2); }
  .main { padding: 24px 32px 40px; }
  .main > * { display: block; max-width: 820px; }
  .fab { position: absolute; bottom: 24px; right: 28px; }
}

/* ---- inhoud ---- */
h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--text3); margin: 20px 2px 8px; font-weight: 700; }
.hello { font-size: 21px; font-weight: 700; margin: 4px 2px 2px; }
.hello2 { color: var(--text2); font-size: 14px; margin: 0 2px 14px; line-height: 1.45; }
.h { font-size: 17px; margin: 0 0 4px; }
.card { background: var(--surface); border-radius: var(--radius); border-top: 2px solid var(--orange); padding: 14px; margin-bottom: 10px; }
.card.plain { border-top: none; border: .5px solid var(--border); }
.card.left { text-align: left; }
.row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: .5px solid var(--border); }
.row:last-child { border-bottom: none; }
.rowbtn { width: 100%; background: none; border: none; border-bottom: .5px solid var(--border); text-align: left; cursor: pointer; color: var(--text); }
.ic {
  width: 34px; height: 34px; border-radius: 10px; background: var(--surface2); display: flex; align-items: center;
  justify-content: center; color: var(--text2); flex: none;
}
.ic.o { background: var(--orange-soft); color: var(--orange); }
.ic.g { background: var(--green-soft); color: var(--green); }
.ic.r { background: var(--red-soft); color: var(--red); }
.ic.big { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 12px; }
.rt { flex: 1; min-width: 0; }
.rt b { display: block; font-size: 14px; font-weight: 600; }
.rt small { display: block; color: var(--text2); font-size: 12.5px; margin-top: 2px; line-height: 1.4; }
.spread { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.btn {
  border: .5px solid var(--border); background: var(--surface); border-radius: var(--radius-sm); padding: 9px 13px;
  font-size: 13.5px; font-weight: 600; color: var(--text); cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.btn.p { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn.g { background: none; border: none; color: var(--text2); }
.btn.full { width: 100%; padding: 13px; font-size: 15px; margin-top: 8px; }
.btn.big { padding: 14px; font-size: 15px; }
.btn:disabled { opacity: .55; cursor: default; }
.back { padding-left: 0; }
.st { font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.st.wacht { background: var(--red-soft); color: var(--red); }
.st.bezig { background: var(--orange-soft); color: var(--orange); }
.st.klaar { background: var(--green-soft); color: var(--green); }
.st.plan { background: var(--surface2); color: var(--text2); }
.tag { display: inline-block; font-size: 10.5px; font-weight: 700; color: var(--text2); background: var(--surface2); border-radius: var(--radius-xs); padding: 2px 6px; margin-left: 6px; }
.ch5 { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; margin-top: 10px; }
.ch5 button {
  border: .5px solid var(--border); background: var(--surface); border-radius: var(--radius-sm); padding: 8px 2px;
  font-size: 11.5px; font-weight: 600; color: var(--text); display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer;
}
.ch5 button.new { border-color: var(--orange); color: var(--orange); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0; }
.field { display: block; margin-bottom: 10px; }
.field span { display: block; font-size: 12px; font-weight: 600; color: var(--text2); margin-bottom: 4px; }
.field input, .field select, input.otp {
  width: 100%; border: .5px solid var(--border); border-radius: var(--radius-sm); padding: 11px; font-size: 16px; background: var(--surface); color: var(--text);
}
input.otp { text-align: center; letter-spacing: 10px; font-size: 24px; font-weight: 700; margin: 10px 0; font-variant-numeric: tabular-nums; }
.match { border: 1px dashed var(--orange); border-radius: var(--radius); padding: 12px; background: var(--orange-soft); margin-bottom: 10px; }
.seg { display: flex; background: var(--surface2); border-radius: var(--radius-sm); padding: 3px; margin-bottom: 12px; }
.seg button { flex: 1; border: none; background: none; padding: 8px; border-radius: 6px; font-weight: 600; font-size: 13px; color: var(--text2); cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--text); }
.lock { text-align: center; padding: 28px 8px; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 6px; }
.thumb { position: relative; margin: 0; width: 72px; height: 96px; border-radius: var(--radius-xs); overflow: hidden; border: .5px solid var(--border); background: var(--surface); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .pdf { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; font-size: 11px; font-weight: 700; color: var(--text2); gap: 4px; }
.thumb .x { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: none; background: rgba(26, 26, 24, .6); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.skeleton { height: 160px; border-radius: var(--radius); background: var(--surface2); }
.notice { border-radius: var(--radius-sm); padding: 10px 12px; font-size: 13px; }
.notice.err { background: var(--red-soft); color: var(--red); }

/* ---- inzicht ---- */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0; }
@media (min-width: 820px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.kpi { background: var(--surface); border-radius: var(--radius); border-top: 2px solid var(--orange); padding: 12px 14px; }
.kpi .l { font-size: 12px; color: var(--text2); font-weight: 600; }
.kpi .v { font-size: 21px; font-weight: 700; margin-top: 4px; }
.kpi .s { font-size: 11.5px; color: var(--text3); margin-top: 3px; }
.kpi .s.warn { color: var(--red); }

/* ---- factuurmaker ---- */
.iline { display: grid; grid-template-columns: 1fr 52px 84px 92px 24px; gap: 6px; align-items: center; padding: 6px 0; border-bottom: .5px solid var(--border); }
.iline.head { border-bottom: none; padding-bottom: 0; }
.iline input, .iline select { width: 100%; border: .5px solid var(--border); border-radius: var(--radius-xs); padding: 8px 6px; font-size: 14px; background: var(--surface); color: var(--text); min-width: 0; }
.iline .x { width: 22px; height: 22px; border-radius: 50%; border: none; background: var(--surface2); color: var(--text2); display: flex; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 480px) { .iline { grid-template-columns: 1fr 44px 72px 24px; } .iline [data-f=vat_code] { grid-column: 1 / 4; } .iline.head span:nth-child(4) { display: none; } }
.tot { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; }
.tot.b { font-weight: 700; font-size: 16px; border-top: .5px solid var(--border); margin-top: 6px; padding-top: 8px; }

/* ---- berichten ---- */
.chat { display: flex; flex-direction: column; gap: 8px; padding-bottom: 70px; }
.bub { max-width: 82%; padding: 9px 12px; border-radius: 14px; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.bub.me { align-self: flex-end; background: var(--orange-soft); border-bottom-right-radius: 4px; }
.bub.them { align-self: flex-start; background: var(--surface); border: .5px solid var(--border); border-bottom-left-radius: 4px; }
.bub small { display: block; font-size: 11px; color: var(--text3); margin-top: 4px; }
.bub .who { font-size: 11.5px; font-weight: 700; color: var(--text2); margin-bottom: 2px; }
.sys { align-self: center; font-size: 11.5px; color: var(--text3); background: var(--surface2); border-radius: 999px; padding: 4px 10px; display: flex; gap: 5px; align-items: center; }
.comp {
  position: fixed; left: 0; right: 0; bottom: calc(62px + var(--safe-b)); z-index: 9; background: var(--surface);
  border-top: .5px solid var(--border); display: flex; gap: 8px; padding: 8px 12px; align-items: flex-end;
}
.comp textarea { flex: 1; border: .5px solid var(--border); border-radius: 18px; padding: 9px 14px; font-size: 15px; background: var(--bg); resize: none; max-height: 140px; color: var(--text); }
@media (min-width: 820px) { .comp { position: sticky; bottom: 0; left: auto; right: auto; } }

/* ---- inloggen ---- */
.login { min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 28px 20px; max-width: 440px; margin: 0 auto; text-align: center; }
.brand { font-weight: 800; font-size: 24px; margin-bottom: 4px; }
.brandsub { color: var(--text2); font-size: 14px; margin: 0 0 24px; }

/* ---- onderblad en melding ---- */
.sheet { position: fixed; inset: 0; background: rgba(26, 26, 24, .35); display: flex; align-items: flex-end; z-index: 50; }
.sheetin {
  background: var(--surface); border-radius: 16px 16px 0 0; border-top: 3px solid var(--orange); width: 100%;
  padding: 16px 16px calc(24px + var(--safe-b)); max-height: 85%; overflow: auto; box-shadow: var(--shadow-lg);
}
.sheetin h3 { margin: 0 0 4px; font-size: 17px; }
@media (min-width: 820px) {
  .sheet { align-items: center; justify-content: center; }
  .sheetin { width: 420px; border-radius: var(--radius); }
}
.toast {
  position: fixed; left: 50%; bottom: calc(140px + var(--safe-b)); transform: translateX(-50%); background: var(--green); color: #fff;
  font-size: 13px; font-weight: 600; padding: 10px 16px; border-radius: 999px; z-index: 60; max-width: calc(100% - 32px);
  text-align: center; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.toast.err { background: var(--red); }
.toast.show { opacity: 1; }

/* ---- aandachtspunten: de flow van aanleveren.html (1-op-1, besluit 12-10-2026) ----
   Zelfde maten en vormen als Pulse/Dashboard/repo/aanleveren.html, met het
   voorvoegsel ak- zodat niets botst met de rest van de app. */
view-intake { display: block; }
.ak { display: flex; flex-direction: column; margin: -16px -16px -88px; min-height: calc(100dvh - 114px - var(--safe-b) - var(--safe-t)); background: var(--bg); touch-action: manipulation; }
.ak-i { display: inline-block; vertical-align: -.15em; flex-shrink: 0; }
.ak-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); display: inline-block; }
.ak-intro { flex: 1; display: flex; flex-direction: column; padding: 14px 16px 18px; }
.ak-introtop { background: var(--surface); border: .5px solid var(--border); border-radius: 12px; padding: 11px 13px; margin-bottom: 13px; display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.ak-introcard { background: var(--surface); border: .5px solid var(--border); border-top: 2px solid var(--orange); border-radius: 12px; padding: 18px 16px; }
.ak-introh { font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -.2px; margin-bottom: 8px; }
.ak-introt { font-size: 13.5px; line-height: 1.6; color: var(--text2); }
.ak-introl { margin-top: 16px; border-top: .5px solid var(--border); padding-top: 14px; display: flex; flex-direction: column; gap: 11px; }
.ak-introrij { display: flex; gap: 11px; align-items: flex-start; }
.ak-introic { width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; background: var(--orange-soft); color: var(--orange); display: flex; align-items: center; justify-content: center; }
.ak-introkt { font-size: 13px; font-weight: 600; line-height: 1.3; }
.ak-introkd { font-size: 12px; line-height: 1.45; color: var(--text2); margin-top: 2px; }
.ak-introrust { margin-top: 15px; display: flex; gap: 8px; align-items: flex-start; background: var(--surface2); border-radius: 8px; padding: 11px 12px; }
.ak-introrust .ak-i { color: var(--text3); margin-top: 1px; }
.ak-introrust span { font-size: 12px; line-height: 1.5; color: var(--text2); }
.ak-introvul { flex: 1; min-height: 16px; }
.ak-introfijn { text-align: center; font-size: 11px; color: var(--text3); margin-top: 11px; line-height: 1.5; }
.ak-introfijn a { color: var(--orange); font-weight: 600; text-decoration: none; }
.ak-hd { position: sticky; top: -16px; background: var(--surface); border-bottom: .5px solid var(--border); padding: 9px 16px 10px; z-index: 5; }
.ak-toprow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.ak-brand { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text2); font-weight: 500; }
.ak-ovwbtn { display: flex; align-items: center; gap: 5px; border: .5px solid var(--border); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; color: var(--text2); cursor: pointer; }
.ak-progbar { height: 6px; border-radius: 999px; background: var(--surface3); overflow: hidden; }
.ak-progfill { height: 100%; background: var(--orange); width: 0; transition: width .3s; }
.ak-progrow { display: flex; justify-content: space-between; align-items: center; margin-top: 5px; }
.ak-progtxt { font-size: 11px; color: var(--text2); font-variant-numeric: tabular-nums; letter-spacing: .2px; }
.ak-body { flex: 1; padding: 14px 18px 8px; }
.ak-khead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ak-knaam { font-size: 19px; font-weight: 600; line-height: 1.25; min-width: 0; word-break: break-word; }
.ak-kamt { font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ak-ksub { font-size: 12px; color: var(--text3); margin-top: 3px; }
.ak-ksub b { color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; font-size: 10.5px; }
.ak-det { background: var(--surface); border: .5px solid var(--border); border-radius: 12px; margin-top: 13px; overflow: hidden; }
.ak-det:empty { display: none; }
.ak-dr { display: flex; justify-content: space-between; gap: 14px; padding: 11px 14px; font-size: 13px; border-top: .5px solid rgba(0, 0, 0, .06); }
.ak-dr:first-child { border-top: none; }
.ak-dr.ak-vraag { display: block; line-height: 1.5; white-space: pre-wrap; }
.ak-dk { color: var(--text3); }
.ak-dv { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; word-break: break-word; }
.ak-fold { display: flex; align-items: center; gap: 6px; width: 100%; background: none; border: none; font-size: 12px; font-weight: 600; color: var(--text2); padding: 12px 2px 0; cursor: pointer; text-align: left; }
.ak-fchev { display: inline-flex; transition: transform .15s; color: var(--text3); }
.ak-fchev.open { transform: rotate(180deg); }
.ak-why { margin-top: 6px; padding: 0 2px; font-size: 12px; line-height: 1.5; color: var(--text2); }
/* sticky rekent vanaf de padding-box van .main (padding-bottom 150px +
   safe-area); de tabbalk is 62px + safe-area hoog: 62 - 150 = -88. */
.ak-actzone { position: sticky; bottom: -88px; padding: 10px 14px 12px; background: var(--surface); border-top: .5px solid var(--border); z-index: 4; }
.ak-ibanrow { margin-bottom: 8px; }
.ak-ibanrow input, .ak-ibanrow textarea { font-family: inherit; width: 100%; border: .5px solid var(--border); border-radius: 8px; padding: 12px; font-size: 16px; letter-spacing: .5px; background: var(--surface); color: var(--text); resize: vertical; }
.ak-ibanrow input:focus, .ak-ibanrow textarea:focus { outline: none; border-color: var(--orange); }
.ak-ibanfout { font-size: 12px; color: var(--red); margin-top: 6px; }
.ak-hint { display: flex; gap: 8px; align-items: flex-start; background: var(--surface2); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; font-size: 12px; line-height: 1.5; color: var(--text2); }
.ak-hint .ak-i { color: var(--text3); margin-top: 1px; }
.ak-hint b { color: var(--text); }
.ak-acts { display: grid; gap: 6px; }
.ak-acts.ak-n1 { grid-template-columns: 1fr; }
.ak-acts.ak-n2 { grid-template-columns: repeat(2, 1fr); }
.ak-acts.ak-n3 { grid-template-columns: repeat(3, 1fr); }
.ak-acts.ak-n4 { grid-template-columns: repeat(4, 1fr); }
.ak-acts.ak-n5 { grid-template-columns: repeat(5, 1fr); }
.ak-b { border: .5px solid var(--border); background: var(--surface); border-radius: 8px; padding: 8px 2px; font-size: 11.5px; font-weight: 600; color: var(--text); display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; text-align: center; }
.ak-b .ak-i { color: var(--text2); }
.ak-b.sel { border-color: var(--orange); background: var(--orange-soft); color: var(--orange); border-width: 1.5px; }
.ak-b.sel .ak-i { color: var(--orange); }
.ak-cbar { margin-top: 10px; }
.ak-crow { display: flex; align-items: center; gap: 8px; }
.ak-arrow { width: 44px; height: 44px; flex-shrink: 0; border: .5px solid var(--border); background: var(--surface); border-radius: 10px; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ak-arrow[disabled] { opacity: .3; cursor: default; }
.ak-cbtn { flex: 1; background: var(--orange); color: #fff; border: none; border-radius: 8px; padding: 13px 8px; font-size: 13.5px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px; }
.ak-intro .ak-cbtn { flex: 0 0 auto; }
.ak-cbtn[disabled] { background: var(--surface3); color: var(--text3); cursor: default; }
.ak-cbtn.big { flex-direction: column; gap: 2px; padding: 8px; }
.ak-cbtnrow { display: flex; align-items: center; gap: 7px; }
.ak-cbtnsub { font-size: 10.5px; font-weight: 500; opacity: .85; }
.ak-att { display: flex; align-items: center; gap: 10px; background: var(--surface); border: .5px solid var(--border); border-radius: 10px; padding: 7px 10px; margin-bottom: 8px; cursor: pointer; }
.ak-attthumb { width: 34px; height: 44px; flex-shrink: 0; background: var(--surface); border: 1px solid rgba(0, 0, 0, .14); border-radius: 4px; padding: 6px 5px; display: flex; flex-direction: column; gap: 3px; }
.ak-attline { height: 2px; background: #d3d1c7; border-radius: 1px; }
.ak-attline.short { width: 55%; }
.ak-attline.oranje { background: var(--orange); width: 70%; margin-top: auto; }
.ak-attimg { width: 34px; height: 44px; flex-shrink: 0; border-radius: 4px; object-fit: cover; border: 1px solid rgba(0, 0, 0, .14); display: block; }
.ak-attgroot { width: 100%; max-height: 480px; object-fit: contain; border-radius: 12px; border: .5px solid var(--border); background: var(--surface2); }
.ak-attmid { flex: 1; min-width: 0; }
.ak-attname { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ak-attsub { font-size: 11px; color: var(--text3); margin-top: 1px; }
.ak-attx { border: none; background: var(--surface2); border-radius: 999px; width: 26px; height: 26px; flex-shrink: 0; color: var(--text2); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ak-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 36px 30px; }
.ak-cic { width: 76px; height: 76px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.ak-ch { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.ak-ct { font-size: 13px; color: var(--text2); line-height: 1.6; max-width: 280px; }
.ak-ovl { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 60; display: flex; align-items: flex-end; }
.ak-sheet { background: var(--surface); border-radius: 16px 16px 0 0; padding: 16px 16px calc(22px + var(--safe-b)); width: 100%; max-width: 520px; margin: 0 auto; }
.ak-shh { font-size: 15px; font-weight: 600; margin: 2px 0 3px; }
.ak-shd { font-size: 12px; color: var(--text2); margin-bottom: 14px; line-height: 1.45; }
.ak-shd b { color: var(--text); }
.ak-addr { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--surface2); border-radius: 10px; padding: 12px 13px; margin-bottom: 10px; }
.ak-addrv { font-size: 13px; font-weight: 600; word-break: break-all; }
.ak-addrl { font-size: 10px; color: var(--text3); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 2px; }
.ak-copy { border: .5px solid var(--border); background: var(--surface); border-radius: 8px; padding: 8px 11px; font-size: 11.5px; font-weight: 600; color: var(--text2); cursor: pointer; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.ak-mailbtn { width: 100%; background: var(--surface); border: .5px solid var(--orange); color: var(--orange); border-radius: 8px; padding: 12px; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 9px; text-decoration: none; }
.ak-confirm { width: 100%; background: var(--orange); color: #fff; border: none; border-radius: 8px; padding: 13px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.ak-cancel { width: 100%; margin-top: 10px; background: var(--surface2); border: none; border-radius: 8px; padding: 12px; font-size: 13px; font-weight: 600; color: var(--text2); cursor: pointer; }
.ak-cancel.ak-narrow { max-width: 280px; margin-top: 20px; }
.ak-ovw { position: fixed; inset: 0; background: var(--bg); z-index: 61; display: flex; flex-direction: column; max-width: 520px; margin: 0 auto; }
.ak-ovwhd { background: var(--surface); border-bottom: .5px solid var(--border); padding: calc(14px + var(--safe-t)) 16px 14px; display: flex; align-items: center; justify-content: space-between; }
.ak-ovwt { font-size: 15px; font-weight: 600; }
.ak-ovwt span { display: block; font-size: 11.5px; color: var(--text2); font-weight: 400; margin-top: 2px; font-variant-numeric: tabular-nums; }
.ak-ovwx { border: none; background: var(--surface2); border-radius: 999px; width: 32px; height: 32px; color: var(--text2); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ak-ovwlist { flex: 1; overflow-y: auto; padding: 8px 12px calc(16px + var(--safe-b)); }
.ak-ovwsec { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--text3); margin: 16px 4px 6px; display: flex; align-items: center; gap: 5px; }
.ak-ovwgrp { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12px; font-weight: 600; color: var(--text2); margin: 12px 4px 4px; padding-bottom: 3px; border-bottom: 1px solid var(--border); }
.ak-ovwgrp span { font-weight: 500; color: var(--text3); font-variant-numeric: tabular-nums; }
.ak-ovwrow { display: flex; align-items: center; gap: 11px; background: var(--surface); border: .5px solid var(--border); border-radius: 10px; padding: 11px 12px; margin-bottom: 7px; cursor: pointer; }
.ak-ovwrow.ak-static { cursor: default; }
.ak-oic { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ak-oic.st-open { background: var(--surface2); color: var(--text3); }
.ak-oic.st-ok { background: var(--green-soft); color: var(--green); }
.ak-oic.st-neu { background: var(--surface3); color: var(--text2); }
.ak-ovwmid { flex: 1; min-width: 0; }
.ak-ovwrel { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ak-ovwsub { font-size: 11.5px; color: var(--text3); font-variant-numeric: tabular-nums; margin-top: 1px; }
.ak-ovwright { text-align: right; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.ak-ovwamt { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ak-ovwst { font-size: 10.5px; font-weight: 600; color: var(--text3); }
.ak-ovwst.ok { color: var(--green); }
.ak-ovwst.neu { color: var(--text2); }
@media (min-width: 820px) {
  .ak { margin: -24px 0 -40px; max-width: 520px; min-height: calc(100dvh - 110px); border-left: .5px solid var(--border); border-right: .5px solid var(--border); }
  .ak-hd { top: -24px; }
  .ak-actzone { bottom: 0; }
  .ak-ovl { align-items: center; }
  .ak-sheet { max-width: 420px; border-radius: 16px; }
}
