/* Manrope (SIL Open Font License, static/fonts/Manrope-OFL.txt) — served by Yeia itself: no request to Google or any font service */
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations"), url("/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"), url("/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
  /* Yeia identity: navy #1E3A5F, pink #EB4899, cream #FAF5EF, ink #1F2B3B */
  --navy: #1E3A5F; --pink: #EB4899; --pink-2: #FDE8F2; --cream: #FAF5EF; --label: #6B6250;
  --bg: #F7F5F2; --panel: #ffffff; --ink: #1F2B3B; --ink-2: #3F4859; --muted: #6B7280; --line: #EAE5E1; --soft: #F3F0EC; --hover: #EEF2F7;
  --accent: #1E3A5F; --accent-2: #E8EEF5; --accent-ink: #ffffff;
  --ok: #17803d; --ok-bg: #e4f4ea; --warn: #8f5a00; --warn-bg: #fff3d6; --err: #b42318; --err-bg: #fdecea;
  --weekend: #f2f3f6; --holiday: #fbf0e8;
  --p0: #2a78d6; --p1: #1baf7a; --p2: #6250d6; --p3: #eb6834; --p4: #e87ba4; --p5: #008300;
  --a-other: #9aa3b2; --a-hol: #e2a92b; --a-sick: #e5675c; --a-train: #4bb0d6; --a-abs: #b9a28c; --a-nw: #d5d9e0; --a-par: #f29fc5; --a-mis: #7a6fd0;
  --s-plan: #2a78d6; --s-rec: #eb6834; --s-ref: #6b7385;
  --radius: 10px; --shadow: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.07);
  --side: 236px;
  --c-a: #1E3A5F; --c-b: #8A6FD0; --c-c1: #2E9C8A; --c-c2: #D9932B; --c-c3: #5B8FD9; --c-d: #B9B2A8;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #10151d; --panel: #18202b; --ink: #eef1f5; --ink-2: #c6ccd6; --muted: #98a0ad; --line: #2b3441; --soft: #202a36; --hover: #223047;
    --accent: #9DB7DA; --accent-2: #22324a; --accent-ink: #0d1726; --pink: #F26BAE; --pink-2: #3a1a2c; --cream: #FAF5EF; --label: #b9ae97; --ok: #5cc28d; --ok-bg: #16301f; --warn: #f0b64a; --warn-bg: #362a12;
    --err: #ff7b6e; --err-bg: #3a1c1a; --weekend: #1d2028; --holiday: #2e241d; --a-nw: #3a404c;
    --p0: #3987e5; --p1: #199e70; --p2: #9085e9; --p3: #d95926; --p4: #d55181; --s-plan: #3987e5; --s-rec: #d95926; --s-ref: #959cab;
    --c-a: #9DB7DA; --c-d: #6F7A88; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { font: 14px/1.5 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--ink); }
h1 { font-size: 22px; margin: 0; letter-spacing: -.01em; } h2 { font-size: 16px; margin: 0 0 10px; } h3 { font-size: 14px; margin: 14px 0 8px; }
a { color: var(--accent); }
code { background: var(--soft); padding: 1px 5px; border-radius: 4px; font-size: 12px; }

/* ---------- shell */
.shell { display: flex; min-height: 100vh; }
.side { width: var(--side); flex: none; background: var(--panel); border-right: 1px solid var(--line); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; height: 100dvh; }
.brand { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; font-weight: 700; font-size: 16px; }
.logo { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.brand small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); }
.ctx { margin: 0 12px 10px; padding: 8px 10px; border-radius: 8px; background: var(--soft); font-size: 12px; color: var(--ink-2); }
.ctx b { color: var(--ink); }
.nav { flex: 1; overflow: auto; padding: 4px 10px; }
.nav .grp { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 12px 8px 4px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.nav a svg { width: 18px; height: 18px; flex: none; opacity: .8; }
.nav a:hover { background: var(--soft); color: var(--ink); }
.nav a.on { background: var(--accent-2); color: var(--accent); box-shadow: inset 3px 0 0 var(--pink); }
.nav .count { margin-left: auto; background: var(--err); color: #fff; border-radius: 9px; padding: 0 7px; font-size: 11px; line-height: 18px; }
.me { border-top: 1px solid var(--line); padding: 12px 16px; font-size: 13px; }
.me .role { display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 10px; background: var(--accent-2); color: var(--accent); font-weight: 600; margin-top: 2px; }
.content { flex: 1; min-width: 0; }
.page { max-width: 1320px; margin: 0 auto; padding: 24px 28px 60px; }
.phead { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.phead .sub { color: var(--muted); margin-top: 4px; }
.phead .act { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.mobilebar { display: none; }
@media (max-width: 900px) {
  .shell { display: block; } .side { display: none; position: fixed; z-index: 40; height: 100vh; height: 100dvh; box-shadow: 0 0 40px rgba(0,0,0,.3); padding-bottom: env(safe-area-inset-bottom); }
  .scrim { position: fixed; inset: 0; background: rgba(10, 15, 25, .35); z-index: 35; }
  .mobilebar .brandimg { height: 22px; }
  .side.open { display: flex; }
  .mobilebar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
  .page { padding: 16px; }
}

/* ---------- building blocks */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin-bottom: 16px; }
.panel.flat { box-shadow: none; }
.panel > h2:first-child { margin-top: 0; }
.row { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.grow { flex: 1; min-width: 0; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; }
.muted { color: var(--muted); } .small { font-size: 12px; } .right { text-align: right; } td.right { white-space: nowrap; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
button, .btn { font: inherit; font-weight: 500; border: 1px solid var(--line); background: var(--panel); color: var(--ink); padding: 7px 13px; border-radius: 8px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; line-height: 1.3; }
button:hover, .btn:hover { border-color: var(--accent); }
button.primary, .btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
button.ghost { border-color: transparent; background: none; color: var(--accent); }
button.danger { color: var(--err); }
button.sm, .btn.sm { padding: 3px 9px; font-size: 12px; }
button:disabled { opacity: .5; cursor: not-allowed; }
button.link { border: 0; background: none; color: var(--accent); padding: 0; }
input, select, textarea { font: inherit; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); min-width: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-2); border-color: var(--accent); }
input[type=number] { width: 100px; }
label.f { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--ink-2); font-weight: 500; }
label.f .hint { font-weight: 400; color: var(--muted); }
label.chk { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; margin-right: 10px; }
.formgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; align-items: end; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 7px 9px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { font-size: 12px; color: var(--muted); font-weight: 600; background: var(--soft); }
tr.total td { font-weight: 700; border-top: 2px solid var(--ink-2); }
tbody tr:hover td { background: var(--hover); }
.scroll { overflow-x: auto; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 1px 9px; border-radius: 10px; font-size: 12px; font-weight: 600; background: var(--soft); color: var(--muted); white-space: nowrap; }
.badge.approved, .badge.ok, .badge.submitted-eu { background: var(--ok-bg); color: var(--ok); }
.badge.submitted, .badge.signed_person, .badge.validated, .badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.rejected, .badge.err { background: var(--err-bg); color: var(--err); }
.badge.blue { background: var(--accent-2); color: var(--accent); }
.msg { padding: 10px 14px; border-radius: 8px; margin: 10px 0; }
.msg.err { background: var(--err-bg); color: var(--err); } .msg.warn { background: var(--warn-bg); color: var(--warn); } .msg.ok { background: var(--ok-bg); color: var(--ok); } .msg.info { background: var(--accent-2); color: var(--ink); }
.msg ul { margin: 4px 0 0; padding-left: 18px; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 16px; flex-wrap: wrap; }
.tabs a { padding: 9px 14px; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; font-weight: 500; }
.tabs a.on { color: var(--ink); border-color: var(--accent); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); text-decoration: none; color: inherit; display: block; }
a.tile:hover { border-color: var(--accent); }
.tile .k { font-size: 12px; color: var(--muted); font-weight: 500; } .tile .v { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 2px; }
.tile .s { font-size: 12px; color: var(--ink-2); }
.tile.alert .v { color: var(--err); } .tile.good .v { color: var(--ok); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 10px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; background: var(--panel); }
.card .k { font-size: 12px; color: var(--muted); } .card .v { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.chip { display: inline-block; padding: 1px 7px; border-radius: 5px; background: var(--err-bg); color: var(--err); font-size: 12px; margin: 1px; }
.chip.w { background: var(--warn-bg); color: var(--warn); } .chip.g { background: var(--ok-bg); color: var(--ok); } .chip.n { background: var(--soft); color: var(--ink-2); }
.bar { height: 8px; background: var(--soft); border-radius: 4px; overflow: hidden; min-width: 80px; }
.bar > i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.bar.over > i { background: var(--err); }
.help { font-size: 12px; color: var(--muted); }
.empty { text-align: center; padding: 30px; color: var(--muted); }

/* ---------- project cards & timeline */
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.pcard { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; box-shadow: var(--shadow); text-decoration: none; color: inherit; display: block; }
a.pcard:hover { border-color: var(--accent); }
.pcard .acr { font-size: 18px; font-weight: 800; letter-spacing: .01em; }
.pcard .ttl { color: var(--muted); font-size: 13px; margin: 2px 0 10px; }
.pcard .meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.timeline { position: relative; height: 34px; background: var(--soft); border-radius: 8px; overflow: hidden; display: flex; }
.timeline .rp { border-right: 2px solid var(--panel); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--ink-2); }
.timeline .rp.past { background: #dfe7f8; } .timeline .rp.current { background: var(--accent-2); color: var(--accent); }
@media (prefers-color-scheme: dark) { .timeline .rp.past { background: #263048; } }
.timeline .now { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--err); }

/* ---------- landing / wizard */
.hero { background: linear-gradient(135deg, var(--accent) 0%, #4b7be0 100%); color: #fff; border-radius: 16px; padding: 34px 36px; margin-bottom: 18px; }
.hero h1 { font-size: 28px; color: #fff; } .hero p { opacity: .92; max-width: 720px; font-size: 15px; }
.hero .btn { background: #fff; color: var(--accent); border-color: #fff; font-weight: 600; }
.who3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.who3 .panel { margin: 0; }
.who3 .ic { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-2); color: var(--accent); display: grid; place-items: center; margin-bottom: 8px; }
.stepper { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.step { flex: 1; min-width: 120px; padding: 10px 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); font-size: 13px; color: var(--muted); cursor: pointer; }
.step b { display: block; color: var(--ink-2); font-size: 12px; }
.step.on { border-color: var(--accent); background: var(--accent-2); color: var(--accent); } .step.on b { color: var(--accent); }
.step.done b::after { content: " ✓"; color: var(--ok); }
.wfoot { display: flex; justify-content: space-between; margin-top: 16px; }
.prow { border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 12px; background: var(--panel); }
.prow .ph { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }

/* ---------- time grid */
.palette { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; align-items: center; }
.brush { display: flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 16px; border: 2px solid transparent; background: var(--soft); cursor: pointer; font-size: 13px; user-select: none; }
.brush.on { border-color: var(--ink); background: var(--panel); }
.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; flex: none; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; user-select: none; }
.cal .dh { font-size: 12px; color: var(--muted); text-align: center; padding: 2px; font-weight: 600; }
.day { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); min-height: 78px; display: flex; flex-direction: column; overflow: hidden; }
.day.weekend { background: var(--weekend); } .day.holiday { background: var(--holiday); } .day.nocontract { opacity: .45; }
.day.blank { border: 0; background: transparent; }
.day.today { border-color: var(--accent); }
.day .dn { font-size: 12px; padding: 3px 7px; display: flex; justify-content: space-between; gap: 4px; cursor: pointer; }
.day .dn .hn { color: var(--warn); font-size: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.day .note { color: var(--accent); }
.slot { flex: 1; margin: 1px 4px; border-radius: 5px; min-height: 22px; font-size: 11px; padding: 2px 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: crosshair; border: 1px dashed var(--line); color: var(--muted); }
.slot.filled { border: 0; color: #fff; text-shadow: 0 0 2px rgba(0,0,0,.35); }
.slot:last-child { margin-bottom: 4px; }
.locked .slot { cursor: default; }
.aside { width: 330px; }
@media (max-width: 1000px) { .aside { width: 100%; } .day { min-height: 60px; } .slot { font-size: 10px; } }
.legend td { padding: 4px 6px; border: 0; }
.progress { height: 8px; border-radius: 4px; background: var(--soft); overflow: hidden; margin: 6px 0; }
.progress i { display: block; height: 100%; background: var(--ok); }
.planbox { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: var(--accent-2); border-radius: 10px; padding: 10px 14px; margin-bottom: 10px; }

/* ---------- planning grid */
.pgrid td, .pgrid th { padding: 4px 5px; text-align: center; }
.pgrid td:first-child, .pgrid th:first-child { text-align: left; }
.pgrid input { width: 56px; padding: 4px 5px; text-align: right; font-variant-numeric: tabular-nums; }
.pgrid input.changed { border-color: var(--accent); background: var(--accent-2); }
.pgrid .act { font-size: 11px; display: block; margin-top: 1px; }
.pgrid .act.ok { color: var(--ok); } .pgrid .act.dev { color: var(--warn); } .pgrid .act.na { color: var(--muted); }
.pgrid tr.person td { background: var(--soft); font-weight: 600; }
.pgrid tr.tot td { font-size: 12px; color: var(--ink-2); }
.pgrid .over { color: var(--err); font-weight: 700; }

/* ---------- chart */
.chart { position: relative; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .tip { position: absolute; pointer-events: none; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.12); min-width: 170px; }
.chart .tip .r { display: flex; justify-content: space-between; gap: 12px; }
.lgd { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--ink-2); margin-bottom: 6px; }
.lgd span { display: inline-flex; align-items: center; gap: 6px; }
.lgd i { width: 18px; height: 0; border-top: 2px solid; display: inline-block; }

/* ---------- modal, toast, login */
.modal { position: fixed; inset: 0; background: rgba(10, 15, 25, .45); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 16px; }
.modal-box { background: var(--panel); border-radius: 14px; padding: 22px; width: 560px; max-width: 100%; max-height: 92vh; overflow: auto; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.modal-box.wide { width: 1020px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.toast { position: fixed; bottom: 20px; right: 20px; background: var(--ink); color: var(--bg); padding: 11px 16px; border-radius: 10px; z-index: 60; max-width: 440px; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login .art { background: var(--navy); color: var(--cream); padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.login .art h1 { color: #fff; font-size: 34px; } .login .art p { font-size: 16px; opacity: .9; max-width: 460px; }
.login .art ul { padding-left: 18px; opacity: .92; line-height: 1.9; }
.login .form { display: flex; align-items: center; justify-content: center; padding: 30px; }
.login .box { width: 380px; max-width: 100%; }
.login input { width: 100%; margin-bottom: 10px; padding: 10px 12px; }
.demo-users { display: grid; gap: 6px; margin-top: 8px; }
.demo-users button { justify-content: space-between; width: 100%; font-size: 13px; }
.demo-users button span { color: var(--muted); font-size: 12px; }
@media (max-width: 900px) { .login { grid-template-columns: 1fr; } .login .art { display: none; } }
.decl { border: 1px solid var(--ink); width: 100%; }
.decl td, .decl th { border: 1px solid var(--ink); background: none; color: var(--ink); }
.sigok { color: var(--ok); font-size: 12px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: 13px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }

.login .art .lead { font-size: 22px; line-height: 1.35; margin: 6px 0 14px; opacity: 1; }
.login .art { position: relative; }
.brandfoot { position: absolute; left: 56px; bottom: 34px; display: flex; align-items: center; gap: 12px; font-size: 13px; opacity: .95; }
.brandfoot .logochip { display: inline-flex; filter: drop-shadow(0 2px 6px rgba(0,0,0,.18)); }
.brandfoot .wordmark { font-weight: 800; letter-spacing: .12em; font-size: 18px; background: rgba(255,255,255,.14); padding: 4px 10px; border-radius: 6px; }
.logo-img { object-fit: contain; vertical-align: middle; }
.pcard .logo-img { max-width: 90px; }
.login { align-items: start; }
.login .art { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.pgrid td:first-child, .pgrid th:first-child { min-width: 170px; }
.navpick { display: flex; align-items: center; gap: 6px; margin: 2px 8px 6px; }
.navpick select { flex: 1; padding: 5px 8px; font-weight: 600; }
.appicon { width: 76px; height: 56px; border-radius: 14px; background: #fff; display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.appicon img { max-width: 62px; max-height: 44px; }
.brandimg { height: 30px; width: auto; }

/* ---------- phones & tablets */
.daylist { display: flex; flex-direction: column; gap: 6px; user-select: none; }
.daylist .drow { min-height: 0; flex-direction: row; align-items: center; padding: 6px 8px; gap: 8px; }
.daylist .drow .dn { width: 84px; flex: none; flex-direction: column; align-items: flex-start; padding: 0; cursor: default; gap: 0; }
.daylist .drow .dn .hn { white-space: normal; }
.daylist .dslots { flex: 1; display: flex; gap: 6px; align-items: center; min-width: 0; }
.daylist .slot { margin: 0; min-height: 40px; display: flex; align-items: center; justify-content: center; font-size: 12px; border-radius: 8px; cursor: pointer; }
.daylist .weekend .slot:not(.filled), .daylist .holiday .slot:not(.filled) { min-height: 26px; }
.daylist .wholeday { flex: none; padding: 6px 8px; }
@media (max-width: 700px) {
  .palette { flex-wrap: nowrap; overflow-x: auto; position: sticky; top: 52px; z-index: 6; background: var(--bg); padding: 8px 0; margin: 0 -16px 10px; padding-left: 16px; padding-right: 16px; }
  .brush { flex: none; }
  .row > .grow { flex-basis: 100%; }
  .panel { overflow-x: auto; }
  .phead .act { margin-left: 0; width: 100%; }
  h1 { font-size: 20px; }
  .modal { padding: 8px; align-items: flex-end; }
  .modal-box { border-radius: 14px 14px 0 0; max-height: 94vh; }
}
.daylist .slot { white-space: normal; text-align: center; line-height: 1.15; padding: 3px 4px; overflow: hidden; word-break: break-word; }
.scrim[hidden] { display: none; }
@media (max-width: 380px) { .mobilebar .mname { display: none; } }

/* hours timesheet (one line per project / mission / absence, one column per day) */
.hrow { flex-direction: column; }
.hrow > .aside { width: auto; max-width: 560px; }
.hpanel { padding: 8px; }
.hgrid { border-collapse: collapse; font-size: 12px; }
.hgrid th, .hgrid td { border: 1px solid var(--line); padding: 0; text-align: center; min-width: 30px; }
.hgrid th { font-weight: 600; font-size: 11px; padding: 2px; cursor: pointer; color: var(--muted); }
.hgrid .l { text-align: left; white-space: nowrap; padding: 3px 8px; position: sticky; left: 0; background: var(--panel, #fff); z-index: 1; min-width: 150px; }
.hgrid .off { background: var(--a-nw); }
.hgrid input { width: 30px; border: 0; padding: 4px 1px; text-align: center; background: transparent; font-variant-numeric: tabular-nums; font-size: 12px; border-radius: 0; }
.hgrid input:focus { outline: 2px solid var(--accent); background: var(--accent-2); }
.hgrid td.t { font-weight: 600; padding: 3px 6px; }
.hgrid tr.tot td { font-weight: 600; padding: 3px 2px; }
.hgrid td.over { background: #f9d4d0; color: #9b1c12; }
.hgrid td.short { color: #b06d00; }
.hday { width: 100%; }
.hday td { padding: 6px 4px; }
.hday input { width: 70px; font-size: 16px; text-align: right; }
.hday tr.tot td { font-weight: 600; }
.choice { display: block; margin: 6px 0 2px; line-height: 1.4; }
.hnav { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; } .hnav b { flex: 1; text-align: center; }

/* template choice (Declarations) */
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button { flex: 1 1 240px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 10px 14px; border-radius: 10px; }
.seg button span { font-size: 12px; color: var(--muted); font-weight: 400; }
.seg button.on { border-color: var(--accent); background: var(--accent-2); box-shadow: 0 0 0 1px var(--accent) inset; }
.pfbar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; margin-bottom: 12px; border-radius: 8px; background: var(--accent-2); font-size: 13px; }

/* recording mode switch (My time) */
.modesw { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--panel, #fff); }
.modesw button { border: 0; background: transparent; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.modesw button.on { background: var(--accent); color: #fff; }
.hday td:last-child { white-space: nowrap; text-align: right; }

/* Yeia identity */
.yeia-word { display: block; height: 64px; width: auto; align-self: flex-start; margin-bottom: 14px; }
.yeia-tag { letter-spacing: .28em; text-transform: uppercase; font-size: 12px; font-weight: 700; color: var(--pink); margin-bottom: 18px; }
.login .art .lead { color: #fff; }
.login .art ul li::marker { color: var(--pink); }
.login .mobilebrand { display: none; }
@media (max-width: 900px) { .login .mobilebrand { display: block; margin-bottom: 18px; } .login .mobilebrand img { height: 40px; } .login .mobilebrand div { letter-spacing: .24em; font-size: 11px; font-weight: 700; color: var(--label); margin-top: 6px; } }
.brand { gap: 0; flex-direction: column; align-items: flex-start; }
.brand .bw { height: 26px; width: auto; }
.brand small { display: block; letter-spacing: .24em; text-transform: uppercase; font-size: 10px; font-weight: 700; color: var(--label); margin-top: 6px; }
.brand .bw.dark { display: none; }
@media (prefers-color-scheme: dark) { .brand .bw.light { display: none; } .brand .bw.dark { display: block; } }
.mobilebar .brandimg { height: 26px; border-radius: 6px; }

/* password rule checklist */
.pwcheck { list-style: none; padding: 0; margin: 6px 0 8px; font-size: 12px; color: var(--muted); }
.pwcheck li::before { content: "○ "; }
.pwcheck li.ok { color: var(--ok); } .pwcheck li.ok::before { content: "✓ "; }

.fullm { border-left: 3px solid var(--accent); }

/* ---------- Prototype layout: name box on top, one filter bar, underline tabs, key figures, bar charts */
.who { margin: 0 12px 10px; padding: 8px 10px; border-radius: 10px; background: var(--soft); font-size: 12px; color: var(--ink-2); }
.who b { display: block; font-size: 13px; color: var(--ink); }
.side .foot { border-top: 1px solid var(--line); padding: 10px 16px; font-size: 12px; color: var(--muted); line-height: 1.8; }
.side .foot a { color: var(--muted); }
.nav .count { background: var(--pink); }
.ahead { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 14px; }
.ahead h1 { margin: 0; }
.ahead p { margin: 2px 0 0; color: var(--muted); max-width: 70ch; }
.ahead .act { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ctxbar { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: flex-end; padding: 10px 12px; margin-bottom: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.ctxbar label { display: flex; flex-direction: column; gap: 2px; font-size: 11px; font-weight: 700; color: var(--label); letter-spacing: .06em; text-transform: uppercase; }
.ctxbar select { min-width: 150px; font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--ink); }
.ctxbar .note { margin-left: auto; font-size: 12px; color: var(--muted); align-self: center; }
.utabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.utabs a { padding: 8px 12px; font-weight: 700; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.utabs a.on { color: var(--accent); border-bottom-color: var(--pink); }
.ahead .seg { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); }
.ahead .seg a { border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; }
.ahead .seg a.on { background: var(--accent); color: var(--accent-ink); }
.phead.inws { margin-bottom: 12px; }
.claimsin label.f:has(> select#fproj, > select#frp, > select#eup, > select#eur, > select#cproj, > select#crp, > select#rproj, > select#rrp, > select#dp) { display: none; }
.lock { color: var(--muted); font-size: 12px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: var(--panel); }
.kpi .k { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--label); font-weight: 700; }
.kpi .v { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.kpi .s { font-size: 12px; color: var(--muted); }
.hchart svg { width: 100%; height: auto; display: block; margin-top: 8px; }
.hchart text { fill: var(--muted); font-size: 11px; }
.panel > .legend, .grid2 .legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.chip.ok { background: var(--ok-bg); color: var(--ok); } .chip.warn { background: var(--warn-bg); color: var(--warn); }
.chip.eu { background: var(--accent-2); color: var(--accent); } .chip.mis { background: var(--pink-2); color: var(--pink); }
.todo { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.todo .it { display: grid; grid-template-columns: 6px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.todo .it > i { width: 6px; align-self: stretch; border-radius: 4px; background: var(--warn); }
.todo .it > i.err { background: var(--err); } .todo .it > i.ok { background: var(--ok); }
.todo .it small { color: var(--muted); display: block; }
.utabs .count { background: var(--pink-2); color: var(--pink); border-radius: 999px; padding: 0 6px; font-size: 11px; margin-left: 4px; }
.why { border-left: 3px solid var(--pink); background: var(--pink-2); border-radius: 8px; padding: 8px 12px; font-size: 13px; margin-top: 16px; }
.why b { color: var(--pink); }
h1, h2, h3, .kpi .v { letter-spacing: -.01em; }
h1 { font-weight: 800; }
.privacy { max-width: 75ch; } .privacy h3 { margin: 16px 0 4px; } .privacy ul { padding-left: 20px; } .privacy p, .privacy li { line-height: 1.55; }
.login .box .privacy { max-height: 70vh; overflow: auto; padding-right: 6px; }

/* ---------- Creation studio: a dedicated space for starting a project or a mission */
.studio { --st-r: 16px; margin: -4px 0 0; }
.st-top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 18px 22px; border-radius: var(--st-r);
  background: linear-gradient(120deg, var(--navy) 0%, #2b4c78 62%, #6b3a72 100%); color: #fff; margin-bottom: 18px; position: relative; overflow: hidden; }
.st-top::after { content: ""; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(235,72,153,.45), transparent 70%); }
.st-top h1 { margin: 0; color: #fff; font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.st-kicker { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #FBC4E0; }
.st-title { flex: 1 1 260px; min-width: 0; position: relative; z-index: 1; }
.st-leave { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 999px; padding: 6px 14px; text-decoration: none; font-weight: 600; position: relative; z-index: 1; }
.st-leave:hover { background: rgba(255,255,255,.2); }
.st-progress { min-width: 180px; position: relative; z-index: 1; font-size: 12px; color: #e8ecf4; }
.st-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.2); margin-top: 6px; overflow: hidden; }
.st-bar i { display: block; height: 100%; background: var(--pink); border-radius: 6px; transition: width .35s ease; }
.st-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.st-rail { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 12px; }
.st-rail button { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--muted); }
.st-rail button:hover { background: var(--panel); border-color: var(--line); }
.st-rail button.on { background: var(--panel); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow); }
.st-rail b { display: block; font-size: 14px; color: inherit; } .st-rail small { font-size: 12px; color: var(--muted); font-weight: 400; }
.st-n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12px; background: var(--soft); color: var(--muted); }
.st-rail .on .st-n { background: var(--pink); color: #fff; } .st-rail .done .st-n { background: var(--ok-bg); color: var(--ok); }
.st-form .panel { border-radius: var(--st-r); }
.st-form .wfoot { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }
.st-go { background: var(--pink) !important; border-color: var(--pink) !important; color: #fff !important; padding: 9px 18px; font-weight: 700; }
.st-preview { position: sticky; top: 12px; }
.pv-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--st-r); padding: 16px; box-shadow: 0 8px 28px rgba(30,58,95,.10); display: flex; flex-direction: column; gap: 10px; }
.pv-head { display: flex; gap: 12px; align-items: center; }
.pv-badge { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; background: linear-gradient(135deg, var(--navy), #6b3a72); overflow: hidden; }
.pv-badge img { width: 100%; height: 100%; object-fit: contain; background: #fff; } .pv-badge.mis { background: linear-gradient(135deg, #7a6fd0, var(--pink)); }
.pv-acr { font-size: 20px; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; } .pv-sub { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.pv-meta { display: flex; flex-wrap: wrap; gap: 6px; } .pv-meta span { font-size: 12px; background: var(--soft); border-radius: 999px; padding: 2px 9px; color: var(--ink-2); }
.pv-tl { display: flex; gap: 3px; } .pv-tl div { background: var(--accent-2); border-radius: 6px; padding: 4px 6px; min-width: 0; }
.pv-tl div:nth-child(even) { background: var(--pink-2); } .pv-tl b { display: block; font-size: 11px; } .pv-tl small { font-size: 10px; color: var(--muted); white-space: nowrap; }
.pv-sec { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--label); display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 8px; }
.pv-list { display: flex; flex-direction: column; gap: 4px; } .pv-list div { display: flex; gap: 6px; align-items: center; font-size: 13px; }
.pv-list em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 12px; }
.pv-wps { display: flex; flex-wrap: wrap; gap: 4px; } .pv-wps span { font-size: 12px; font-weight: 700; border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; }
.pv-tot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; border-top: 1px solid var(--line); padding-top: 10px; }
.pv-tot small { display: block; font-size: 11px; color: var(--muted); } .pv-tot b { font-size: 16px; font-weight: 800; }
.pv-note { font-size: 12px; color: var(--muted); margin: 8px 2px 0; }
.st-choose { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.st-choice { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--st-r); background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.st-choice:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(30,58,95,.14); border-color: var(--pink); }
.st-choice b { font-size: 18px; } .st-choice small { color: var(--muted); font-size: 13px; line-height: 1.5; } .st-choice em { font-style: normal; font-size: 12px; color: var(--pink); font-weight: 700; }
.st-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--navy), #6b3a72); }
.st-ico.mis { background: linear-gradient(135deg, #7a6fd0, var(--pink)); }
.studio.done { position: relative; overflow: hidden; }
.st-done { text-align: center; padding: 26px 8px 8px; position: relative; z-index: 1; }
.st-done h1 { font-size: 30px; margin: 4px 0 18px; }
.st-check { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; font-weight: 800; color: #fff; background: var(--ok); animation: st-pop .5s cubic-bezier(.2,1.6,.4,1); }
.st-done-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 22px; text-align: left; max-width: 980px; margin: 0 auto; }
.st-next { list-style: none; padding: 0; margin: 10px 0 0; counter-reset: st; display: flex; flex-direction: column; gap: 10px; }
.st-next li { counter-increment: st; position: relative; padding: 10px 12px 10px 46px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.st-next li::before { content: counter(st); position: absolute; left: 12px; top: 10px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--pink-2); color: var(--pink); font-weight: 800; font-size: 12px; }
.st-next li div { font-size: 13px; color: var(--muted); }
.st-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.st-confetti { position: absolute; inset: 0; pointer-events: none; }
.st-confetti i { position: absolute; top: -12px; width: 8px; height: 12px; border-radius: 2px; opacity: 0; animation: st-fall 2.4s ease-in forwards; }
@keyframes st-fall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(520px) rotate(540deg); } }
@keyframes st-pop { 0% { transform: scale(.3); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@media (max-width: 1100px) { .st-grid { grid-template-columns: minmax(0, 1fr); } .st-rail { position: static; flex-direction: row; overflow-x: auto; } .st-rail small { display: none; } .st-preview { position: static; } }
@media (max-width: 760px) { .st-done-grid { grid-template-columns: minmax(0, 1fr); } .st-top h1 { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .st-confetti { display: none; } .st-check { animation: none; } .st-choice, .st-bar i { transition: none; } }
.st-done .st-kicker { color: var(--pink); margin-top: 6px; }
.homechecks { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 18px; } .homechecks .ahead h1 { font-size: 20px; }
.homechecks.tabbed { margin-top: 0; border-top: 0; padding-top: 0; } .homechecks.tabbed .ahead h1 { display: none; }
.rolesw { display: flex; flex-direction: column; gap: 2px; margin: 6px 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--label); }
.rolesw select { font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: 0; padding: 4px 6px; }

/* ---------- Yeia website identity (yeia.eu): ink, fuchsia, mist; pill buttons; hand-written logo ---------- */
:root {
  --navy: #1F2A3A; --ink: #1F2A3A; --ink-2: #3A4558; --muted: #5A6270; --label: #8A6F86;
  --pink: #EC4899; --pink-deep: #C9166F; --pink-2: #FCE3F0; --cream: #FAF6EF;
  --bg: #F7F4F8; --line: #E7E2EA; --soft: #F1ECF3; --hover: #FBEFF5;
  --accent: #1F2A3A; --accent-2: #FCE3F0; --accent-ink: #ffffff;
  --radius: 14px; --shadow: 0 1px 2px rgba(31,42,58,.04), 0 8px 24px -14px rgba(31,42,58,.18);
  --logo-ink: #1F2A3A; --c-a: #1F2A3A;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121821; --panel: #1A2230; --ink: #EEF1F5; --ink-2: #C6CCD6; --muted: #98A0AD; --line: #2B3441; --soft: #222B39; --hover: #2A2232;
    --accent: #F49AC6; --accent-2: #3A1A2C; --accent-ink: #1A0D14; --pink: #F472B6; --pink-deep: #F472B6; --pink-2: #3A1A2C; --label: #C9A9BE;
    --logo-ink: #FAF6EF; --c-a: #9DB7DA; }
}
a { color: var(--pink-deep); }
button, .btn { border-radius: 999px; padding: 7px 15px; font-weight: 600; transition: border-color .15s, background .15s, transform .15s; }
button.primary, .btn.primary { background: var(--pink-deep); border-color: var(--pink-deep); color: #fff; box-shadow: 0 8px 20px -10px rgba(201,22,111,.6); }
button.primary:hover, .btn.primary:hover { background: #9E0F57; border-color: #9E0F57; transform: translateY(-1px); }
button:hover, .btn:hover { border-color: var(--pink-deep); }
button.ghost, button.link { color: var(--pink-deep); }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--pink-2); border-color: var(--pink-deep); }
input, select, textarea { border-radius: 10px; }
.panel { border-radius: 16px; }
.nav a { border-radius: 999px; font-weight: 600; }
.nav a.on { background: var(--pink-2); color: var(--pink-deep); box-shadow: none; }
.nav a.on svg { opacity: 1; }
.nav .grp { color: var(--label); font-weight: 800; letter-spacing: .14em; }
.who { border-radius: 14px; }
.tabs a.on { border-color: var(--pink-deep); }
.bar > i { background: var(--pink-deep); }
.hero { background: radial-gradient(120% 140% at 90% -20%, #C9166F 0%, rgba(201,22,111,0) 55%), linear-gradient(135deg, #1F2A3A 0%, #3B1830 100%); border-radius: 22px; }
.hero .btn { color: var(--pink-deep); }
.toast { border-radius: 14px; }
.modal-box { border-radius: 22px; }

/* logo */
.ylogo { display: block; height: 30px; width: auto; overflow: visible; }
.ylogo .yi { fill: none; stroke: var(--logo-ink); stroke-width: 27; stroke-linecap: round; }
.ylogo .yf { fill: var(--logo-ink); }
.ylogo .ck { fill: none; stroke: #EC4899; stroke-width: 27; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 97 200; }
.ylogo .eb { fill: #EC4899; transform-box: fill-box; transform-origin: 0 50%; }
.ylogo.write .ck { animation: ypen .9s .25s cubic-bezier(.55,0,.35,1) both; }
.ylogo.write .eb { animation: ybar .42s 1.03s cubic-bezier(.6,0,.3,1) both; }
.ylogo:hover .ck { animation: ypen2 .9s cubic-bezier(.55,0,.35,1) both; }
.ylogo:hover .eb { animation: ybar2 .42s .78s cubic-bezier(.6,0,.3,1) both; }
@keyframes ypen { 0% { stroke-dashoffset: 97; opacity: 0 } 1% { opacity: 1 } 30% { stroke-dashoffset: 66 } 40% { stroke-dashoffset: 66 } 100% { stroke-dashoffset: 0 } }
@keyframes ypen2 { 0% { stroke-dashoffset: 97 } 30% { stroke-dashoffset: 66 } 40% { stroke-dashoffset: 66 } 100% { stroke-dashoffset: 0 } }
@keyframes ybar { from { transform: scaleX(0) } to { transform: scaleX(1) } }
@keyframes ybar2 { from { transform: scaleX(0) } to { transform: scaleX(1) } }
@media (prefers-reduced-motion: reduce) { .ylogo .ck, .ylogo .eb { animation: none !important; } }
.brand { padding: 22px 20px 14px; flex-direction: column; align-items: flex-start; gap: 4px; }
.brand .ylogo.bw { height: 30px; display: block; }
.brand small { letter-spacing: .22em; text-transform: uppercase; font-size: 10px; font-weight: 800; color: var(--pink-deep); }
.mobilebar .ylogo.brandimg { height: 22px; }
.login .mobilebrand .ylogo { height: 40px; }

/* sign-in page: the website hero */
.login { background: var(--panel); }
.login .art { background: radial-gradient(120% 95% at 88% -5%, #F7A3CB 0%, #FBCFE2 32%, #FFF0F6 62%, #FFFFFF 100%); color: var(--ink); isolation: isolate; }
.login .art::before { content: ""; position: absolute; width: 230px; height: 230px; right: -90px; top: -90px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.95) 0, rgba(255,255,255,.35) 18%, rgba(255,255,255,0) 40%), radial-gradient(circle at 50% 50%, #F472B6 0, #EC4899 38%, #C9166F 70%, #8E0F50 100%);
  box-shadow: inset -18px -26px 60px rgba(120,10,70,.45), 0 40px 80px -30px rgba(201,22,111,.6); animation: yfloat 9s ease-in-out infinite alternate; }
.login .art::after { content: ""; position: absolute; width: 64px; height: 64px; right: 9%; bottom: 14%; border-radius: 50%; z-index: -1; opacity: .8;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.9) 0, rgba(255,255,255,0) 40%), radial-gradient(circle, #F472B6, #C9166F 75%); animation: yfloat 11s ease-in-out infinite alternate-reverse; }
@keyframes yfloat { to { transform: translate(-24px, 22px) scale(1.06); } }
.login .art .yeia-word { height: 58px; --logo-ink: #1F2A3A; }
.login .art .yeia-tag { color: var(--pink-deep); }
.login .art h1, .login .art .lead { color: #1F2A3A; }
.login .art .lead b { color: #C9166F; }
.login .art p, .login .art ul { color: #3A4558; opacity: 1; }
.login .art li::marker { color: #C9166F; }
.brandfoot { color: #1F2A3A; }
.brandfoot .wordmark { background: rgba(31,42,58,.08); }
.login .box h2 { font-size: 26px !important; font-weight: 800; letter-spacing: -.02em; }
.login input { border-radius: 12px; padding: 12px 14px; }
.login button.primary { padding: 12px !important; font-size: 15px; }

/* ---------- sign-in page = website hero (dark ledger page, small tick, "Audit compliant" stamp, E tabs) ---------- */
.login .art { background: radial-gradient(60% 60% at 70% 75%, #2C3C58 0%, rgba(44,60,88,0) 70%), linear-gradient(165deg, #121A28 0%, #1A2434 45%, #1F2A3A 100%); color: #fff; }
.login .art::before { width: auto; height: auto; inset: 0; right: 0; top: 0; border-radius: 0; box-shadow: none; animation: none;
  background: repeating-linear-gradient(180deg, transparent 0 43px, rgba(255,255,255,.045) 43px 44px); }
.login .art::after { width: 2px; height: auto; left: 28px; right: auto; top: 0; bottom: 0; border-radius: 0; opacity: 1; animation: none;
  background: linear-gradient(180deg, rgba(236,72,153,0), rgba(236,72,153,.55) 20%, rgba(236,72,153,.55) 80%, rgba(236,72,153,0)); }
.login .art .yeia-word { --logo-ink: #FAF6EF; }
.login .art .yeia-tag { color: #F472B6; }
.login .art h1, .login .art .lead { color: #fff; }
.login .art .lead b { color: #F472B6; }
.login .art p, .login .art ul { color: #AEB8C8; }
.login .art li::marker { color: #F472B6; }
.brandfoot { color: #E8ECF2; }
.brandfoot { gap: 14px; font-weight: 600; color: #AEB8C8; }
.brandfoot .wordmark { background: none; padding: 0; color: #fff; letter-spacing: .08em; }
.lcard { position: relative; width: 300px; margin: 26px 0 70px 34px; background: #fff; color: #1F2A3A; border-radius: 16px; padding: 14px 14px 12px; box-shadow: 0 30px 70px -26px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06); }
.lc-h { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin-bottom: 10px; }
.lc-h span { font-size: 11px; font-weight: 800; background: #F1ECF3; border-radius: 999px; padding: 3px 9px; color: #5A6270; }
.lc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.lc-grid i { height: 18px; border-radius: 5px; background: #F1ECF3; animation: lcfill .3s var(--d) both; }
.lc-grid i.ca { --c: #C9166F; } .lc-grid i.cb { --c: #EC4899; } .lc-grid i.cc { --c: #7C8DB0; }
@keyframes lcfill { from { background: #F1ECF3; transform: scaleX(.3); } to { background: var(--c); transform: none; } }
.lc-f { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 9px; border-top: 1.5px dashed #E7E2EA; font-size: 11.5px; font-weight: 700; color: #5A6270; }
.lc-sign { background: #1F8A5B; color: #fff; border-radius: 999px; padding: 4px 10px; font-weight: 800; animation: lcin .4s 2.1s both; }
.lc-stamp { position: absolute; right: 12px; top: 34px; border: 3px solid #C9166F; color: #C9166F; background: #fff; font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border-radius: 7px;
  transform: rotate(-8deg); animation: lcstamp .45s 2.3s cubic-bezier(.3,1.6,.5,1) both, lcglow 1.6s 2.6s ease-out; }
@keyframes lcstamp { from { opacity: 0; transform: rotate(-8deg) scale(1.6); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }
@keyframes lcglow { from { box-shadow: 0 0 0 0 rgba(236,72,153,.7); } to { box-shadow: 0 0 0 20px rgba(236,72,153,0); } }
@keyframes lcin { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.lc-ck { position: absolute; left: -30px; top: -34px; width: 78px; height: auto; overflow: visible; filter: drop-shadow(0 6px 14px rgba(236,72,153,.5)); }
.lc-ck path { stroke-dasharray: 240; stroke-dashoffset: 240; animation: lcpen 1s 2.3s cubic-bezier(.55,0,.35,1) forwards; }
@keyframes lcpen { 0% { stroke-dashoffset: 240 } 30% { stroke-dashoffset: 178 } 40% { stroke-dashoffset: 178 } 100% { stroke-dashoffset: 0 } }
.lc-tabs { position: absolute; left: -44px; top: 46%; display: grid; gap: 9px; justify-items: end; z-index: -1; }
.lc-tabs i { display: block; height: 18px; border-radius: 7px; background: #4A5B7A; animation: lctab .7s 2.3s cubic-bezier(.2,.9,.3,1) both; }
.lc-tabs i:nth-child(1) { width: 70px; } .lc-tabs i:nth-child(2) { width: 56px; background: linear-gradient(90deg, #C9166F, #EC4899); animation-delay: 2.42s; } .lc-tabs i:nth-child(3) { width: 70px; animation-delay: 2.54s; }
@keyframes lctab { from { transform: translateX(50px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-height: 820px) { .lcard { display: none; } }
@media (prefers-reduced-motion: reduce) { .lcard *, .lcard { animation: none !important; } .lc-ck path { stroke-dashoffset: 0; } .lc-grid i { background: var(--c); } }
