/* Manager proiecte BIG — mobil întâi. Grafit + verdele din iconiță (acțiuni); roșu doar pentru alerte, galben pentru atenționări. */
:root {
  --bg: #161615; --surface: #232321; --surface-2: #1B1B1A; --raised: #30302D; --line: #34342F;
  --ink: #F2F1EC; --muted: #A09F98; --soft-ink: #D3D2CB;
  --accent: #7ED957; --accent-fg: #86DD60; --accent-ink: #0E1A08; --accent-soft: #1F2E19; --accent-text: #B5EE9C; --accent-line: #3D5A2E;
  --badge: #E0262C; --badge-ink: #FFFFFF;
  --doing: #8CC8FF; --doing-bg: #1A2B3B; --brand-yellow: #FFCE2E; --chip-bg: #34342F;
  --late: #FF9B93; --late-bg: #3A1D1F; --soon: #F2C94C; --soon-bg: #352B12; --low: #A3ADBF; --low-bg: #262B35;
  --ok: #5CD6C0; --ok-bg: #12302B; --danger: #FF8A80; --blocked: #FFB37A; --blocked-bg: #3B2716;
  --c-personal: #A3ADBF; --c-marketing: #FF9F6E; --c-management: #B49CFF; --c-operational: #F2C94C; --c-vanzari: #6EDC9A;
  /* 12 culori alese să difere și ca nuanță, și ca luminozitate (fără perechi de tip lila/mov sau verde/lime). */
  --pal-0: #FF7A1A; --pal-1: #A66BFF; --pal-2: #FFD21F; --pal-3: #22C55E; --pal-4: #4DB8FF; --pal-5: #FF5CA8;
  --pal-6: #E6E8EC; --pal-7: #F03E3E; --pal-8: #3557FF; --pal-9: #14B8A6; --pal-10: #B5763A; --pal-11: #6B7280;
  --scrim: rgba(5, 7, 10, .62); --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --f-ui: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F4F3EF; --surface: #FFFFFF; --surface-2: #EAE9E4; --raised: #FFFFFF; --line: #E3E1DB;
  --ink: #1E1E1C; --muted: #67665F; --soft-ink: #46453F;
  --accent: #2E7D32; --accent-fg: #2B7A2F; --accent-ink: #FFFFFF; --accent-soft: #E3F4DA; --accent-text: #1E5B21; --accent-line: #B5DDA2;
  --badge: #D9252B; --badge-ink: #FFFFFF;
  --doing: #1F5F99; --doing-bg: #E0EDF9; --chip-bg: #EAE8E2;
  --late: #B42318; --late-bg: #FDE7E5; --soon: #8A5600; --soon-bg: #FDF1D6; --low: #4B5466; --low-bg: #EDEFF3;
  --ok: #0E7364; --ok-bg: #D8F1EB; --danger: #B42318; --blocked: #B4501E; --blocked-bg: #FCEBDD;
  --c-personal: #5D6677; --c-marketing: #D2551B; --c-management: #6A4FD8; --c-operational: #A87800; --c-vanzari: #22894B;
  --pal-0: #EA580C; --pal-1: #7C3AED; --pal-2: #CA9A04; --pal-3: #16A34A; --pal-4: #0EA5E9; --pal-5: #DB2777;
  --pal-6: #1F2937; --pal-7: #DC2626; --pal-8: #1D3FD8; --pal-9: #0D9488; --pal-10: #92582A; --pal-11: #9CA3AF;
  --scrim: rgba(22, 26, 34, .38); --shadow: 0 18px 50px rgba(22, 26, 34, .18);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.45 var(--f-ui); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent-fg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.mono { font-family: var(--f-mono); }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- shell ---------- */
#app { min-height: 100%; display: flex; flex-direction: column; }
.topnav { display: none; }
.view { flex: 1; display: flex; flex-direction: column; min-height: 0; padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
.view.no-tabbar { padding-bottom: 0; }
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  background: var(--surface-2); border-top: 1px solid var(--line);
  padding: 8px 10px calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: space-between;
}
:root[data-theme="light"] .tabbar { background: var(--surface); }
button.tab-link { border: 0; background: none; font: inherit; font-size: 11.5px; padding: 0; cursor: pointer; }
.tab-link { min-width: 60px; min-height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11.5px; color: var(--muted); text-decoration: none; position: relative; }
.tab-link.on { color: var(--accent-fg); font-weight: 600; }
.tab-link .badge { position: absolute; top: 2px; right: 14px; }
.fab { width: 58px; height: 58px; border-radius: 18px; border: 0; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; margin-top: -26px; box-shadow: 0 8px 22px rgba(0,0,0,.28); }
.badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--badge); color: var(--badge-ink); font: 600 11px/18px var(--f-mono); text-align: center; }

.head { padding: calc(env(safe-area-inset-top, 0px) + 18px) 16px 10px; display: flex; flex-direction: column; gap: 14px; }
.head-row { display: flex; align-items: flex-end; gap: 8px; }
.head-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.head-title .date { font-size: 13px; color: var(--muted); }
.head-title h1 { margin: 0; font-weight: 800; font-size: 26px; letter-spacing: -.02em; line-height: 1.1; }
.icon-btn { width: 44px; height: 44px; flex: none; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.icon-btn.plain { border: 0; background: none; }
.avatar { width: 30px; height: 30px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; overflow: hidden; background: var(--chip-bg); color: var(--soft-ink); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 44px; height: 44px; font-size: 13px; }
.avatar.sm { width: 24px; height: 24px; font-size: 10px; }
.avatar.xs { width: 18px; height: 18px; font-size: 8.5px; }

/* ---------- task list ---------- */
.notice { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; color: var(--ink); text-decoration: none; }
.notice .at { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.notice span.txt { flex: 1; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stat { background: var(--surface); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; border: 1px solid transparent; text-align: left; }
:root[data-theme="light"] .stat { border-color: var(--line); }
.stat b { font: 500 20px/1.2 var(--f-mono); }
.stat span { font-size: 12px; color: var(--muted); }
.stat.late { background: var(--late-bg); border-color: transparent; } .stat.late b, .stat.late span { color: var(--late); }
.stat.soon { background: var(--soon-bg); border-color: transparent; } .stat.soon b, .stat.soon span { color: var(--soon); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 13.5px; min-height: 38px; display: inline-flex; align-items: center; gap: 7px; }
:root[data-theme="light"] .chip { background: var(--surface); }
.chip[aria-pressed="true"], :root[data-theme="light"] .chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 700; }
.chip[aria-pressed="true"] .dot { box-shadow: 0 0 0 2px var(--bg); }
.chip .n { font: 500 11.5px var(--f-mono); opacity: .75; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--c, var(--muted)); }
[data-cat="personal"] { --c: var(--c-personal); } [data-cat="marketing"] { --c: var(--c-marketing); }
[data-cat="management"] { --c: var(--c-management); } [data-cat="operational"] { --c: var(--c-operational); } [data-cat="vanzari"] { --c: var(--c-vanzari); }
.toolbar { display: flex; gap: 8px; align-items: center; }
.search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; min-height: 44px; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.select { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; min-height: 44px; padding: 0 10px; color: var(--ink); }

.list { padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; text-align: left; width: 100%; }
.card:active { transform: scale(.995); }
.card .row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); min-width: 0; }
.card .title { font-size: 15.5px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.card .grow { flex: 1; }
.imp { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.imp-ridicata { color: var(--late); background: var(--late-bg); }
.imp-medie { color: var(--soon); background: var(--soon-bg); }
.imp-scazuta { color: var(--low); background: var(--low-bg); }
.d-late { color: var(--late); font-weight: 500; } .d-soon { color: var(--soon); font-weight: 500; }
.msgs { display: inline-flex; align-items: center; gap: 4px; font-family: var(--f-mono); padding: 2px 7px; border-radius: 999px; }
.msgs.mine { background: var(--accent-soft); color: var(--accent-text); font-weight: 500; }
.empty { padding: 40px 24px; text-align: center; color: var(--muted); display: flex; flex-direction: column; gap: 6px; align-items: center; }
.empty strong { color: var(--ink); font-size: 17px; }

/* desktop table (hidden on phones) */
.table-wrap { display: none; }

/* ---------- detail ---------- */
.detail { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.detail-top { padding: calc(env(safe-area-inset-top, 0px) + 10px) 8px 4px; display: flex; align-items: center; justify-content: space-between; }
.detail-top .close-link { display: none; }
@media (min-width: 960px) { .detail-top .close-link { display: inline-flex; } }
.detail-head { padding: 0 16px; display: flex; flex-direction: column; gap: 12px; }
.dtitle { margin: 0; font-size: 23px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; width: 100%; border: 1px solid transparent; background: transparent; border-radius: 8px; padding: 4px 6px; margin-inline: -6px; resize: none; overflow: hidden; color: var(--ink); }
.dtitle:focus { border-color: var(--accent-line); outline: none; background: var(--surface); }
.seg { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; background: var(--surface); border-radius: 12px; padding: 4px; gap: 4px; }
:root[data-theme="light"] .seg { background: var(--surface-2); }
.seg > * { min-height: 40px; border-radius: 9px; border: 0; background: transparent; color: var(--soft-ink); display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-size: 14px; }
.seg > [aria-selected="true"], .seg > [aria-checked="true"], .seg > [aria-pressed="true"] { background: var(--raised); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.detail-body { flex: 1; padding: 14px 16px 24px; display: flex; flex-direction: column; gap: 18px; }
.fields { background: var(--surface); border-radius: 14px; display: flex; flex-direction: column; border: 1px solid transparent; }
:root[data-theme="light"] .fields { border-color: var(--line); }
.field { display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 50px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; background: none; border-left: 0; border-right: 0; border-bottom: 0; width: 100%; text-align: left; }
.field:first-child { border-top: 0; }
.field > .k { color: var(--muted); width: 100px; flex: none; font-size: 14px; }
.field > .v { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.field input, .field select { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; min-height: 44px; color: var(--ink); }
.field input[type="date"] { font-family: var(--f-mono); }
.mini-seg { display: flex; gap: 4px; flex-wrap: wrap; }
.mini-seg button { border: 1px solid var(--line); background: transparent; border-radius: 8px; padding: 6px 9px; font-size: 12.5px; color: var(--soft-ink); min-height: 34px; }
.mini-seg button[aria-pressed="true"] { border-color: transparent; font-weight: 700; }
.mini-seg button[aria-pressed="true"].imp-ridicata { color: var(--late); background: var(--late-bg); }
.mini-seg button[aria-pressed="true"].imp-medie { color: var(--soon); background: var(--soon-bg); }
.mini-seg button[aria-pressed="true"].imp-scazuta { color: var(--low); background: var(--low-bg); }
.mini-seg button[aria-pressed="false"] { color: var(--soft-ink); }
.sec-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.sec-label .mono { letter-spacing: 0; }
.desc { width: 100%; min-height: 110px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); padding: 12px; line-height: 1.55; resize: vertical; }
.desc:focus { outline: none; border-color: var(--accent); }
.progress { height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--accent); }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.checklist li { display: flex; align-items: center; gap: 12px; min-height: 46px; }
.checklist input[type="checkbox"] { width: 21px; height: 21px; accent-color: var(--accent); flex: none; margin: 0; }
.checklist label { flex: 1; min-width: 0; overflow-wrap: anywhere; display: flex; flex-direction: column; gap: 3px; padding-block: 6px; }
.step-meta { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); text-decoration: none; }
.checklist li.done .step-meta { text-decoration: none; }
.step-box { width: 18px; height: 18px; border: 2px solid var(--muted); border-radius: 5px; flex: none; }
.checklist li.done label { color: var(--muted); text-decoration: line-through; }
.checklist .rm { width: 36px; height: 36px; border: 0; background: none; color: var(--muted); font-size: 20px; flex: none; }
.add-item { display: flex; align-items: center; gap: 10px; min-height: 46px; color: var(--muted); }
.add-item input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); min-height: 44px; }
.meta-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); }
.btn { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; min-height: 46px; padding: 0 16px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink); text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.danger { color: var(--danger); background: transparent; }
.btn.link { border: 0; background: none; color: var(--accent-fg); padding: 0 6px; min-height: 44px; }
.last-msg { margin: 0 12px calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.last-msg .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.last-msg .t span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- discussion ---------- */
.thread { flex: 1; padding: 14px 14px 8px; display: flex; flex-direction: column; gap: 14px; justify-content: flex-end; min-height: 200px; }
.daysep { font-size: 11.5px; color: var(--muted); text-align: center; }
.msg { display: flex; gap: 8px; align-items: flex-end; }
.msg .body { max-width: min(300px, 80%); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.msg .who { font-size: 12px; color: var(--muted); }
.bubble { background: var(--surface); border: 1px solid transparent; border-radius: 14px 14px 14px 4px; padding: 10px 12px; line-height: 1.45; overflow-wrap: anywhere; display: flex; flex-direction: column; gap: 8px; }
.bubble .txt { white-space: pre-wrap; }
:root[data-theme="light"] .bubble { border-color: var(--line); }
.bubble.assigned { border-color: var(--accent-line); }
.msg.me { justify-content: flex-end; }
.msg.me .body { align-items: flex-end; }
.msg.me .bubble { background: var(--accent-soft); color: var(--ink); border-radius: 14px 14px 4px 14px; border-color: var(--accent-line); }
.msg.me .bubble.assigned { box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.assign-row { display: flex; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12px; white-space: normal; flex-wrap: wrap; }
.msg.me .assign-row { border-top-color: rgba(0,0,0,.2); }
.assign-row span { flex: 1 1 140px; }
.assign-row button { border: 1px solid currentColor; background: transparent; color: inherit; border-radius: 8px; padding: 6px 10px; min-height: 34px; font-size: 12.5px; }
.resolved { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; font-size: 12px; color: var(--ok); background: var(--ok-bg); border-radius: 999px; padding: 3px 9px; }
.msg.me .resolved { align-self: flex-end; }
.mention { color: var(--accent-text); font-weight: 600; }
.msg.me .mention { color: inherit; text-decoration: underline; }
.composer { padding: 8px 12px calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 8px; background: var(--bg); position: sticky; bottom: 0; }
.assign-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px; display: flex; flex-direction: column; max-height: 260px; overflow-y: auto; }
.assign-panel .hint { font-size: 12px; color: var(--muted); padding: 6px 8px; }
.person-opt { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 8px; border-radius: 10px; cursor: pointer; }
.person-opt input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; flex: none; }
.person-opt .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person-opt .role { font-size: 12px; color: var(--muted); }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 4px; background: var(--accent-soft); color: var(--accent-text); border-radius: 999px; padding: 4px 4px 4px 10px; font-size: 12.5px; }
.pill button { border: 0; background: none; color: inherit; width: 26px; height: 26px; font-size: 16px; }
.compose-row { display: flex; align-items: flex-end; gap: 8px; }
.compose-row .at-btn { width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--accent-soft); color: var(--accent-fg); font-weight: 700; font-size: 18px; flex: none; }
.compose-row .at-btn[aria-expanded="true"] { background: var(--accent); color: var(--accent-ink); }
.compose-box { flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; display: flex; }
.compose-box textarea { flex: 1; border: 0; outline: 0; background: transparent; resize: none; min-height: 44px; max-height: 140px; padding: 11px 0; line-height: 1.4; color: var(--ink); }
.send { width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; flex: none; }
.send:disabled { opacity: .45; }

/* ---------- team & mentions ---------- */
.page { padding: 6px 16px 24px; display: flex; flex-direction: column; gap: 22px; }
.section { display: flex; flex-direction: column; gap: 8px; }
.section h2 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.group { background: var(--surface); border: 1px solid transparent; border-radius: 14px; display: flex; flex-direction: column; overflow: hidden; }
:root[data-theme="light"] .group { border-color: var(--line); }
.item { display: flex; align-items: center; gap: 12px; padding: 0 14px; min-height: 58px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; background: none; border-left: 0; border-right: 0; border-bottom: 0; width: 100%; text-align: left; }
.item:first-child { border-top: 0; }
.item .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; padding-block: 8px; }
.item .t b { font-weight: 600; overflow-wrap: anywhere; }
.item .t small { font-size: 12.5px; color: var(--muted); }
.item .t small.ok { color: var(--ok); }
.note { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.install { display: flex; flex-direction: column; gap: 10px; background: var(--accent-soft); color: var(--accent-text); border-radius: 14px; padding: 14px; }

/* ---------- sheets ---------- */
.sheet-scrim { position: fixed; inset: 0; z-index: 40; background: var(--scrim); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 560px; max-height: 88dvh; overflow-y: auto; background: var(--surface-2); border-radius: 22px 22px 0 0; padding: 10px 18px calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
:root[data-theme="light"] .sheet { background: var(--bg); }
.sheet .grab { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: var(--line); flex: none; }
.sheet h2 { margin: 0; font-size: 19px; font-weight: 700; }
.sheet p { margin: 0; line-height: 1.5; color: var(--soft-ink); }
.sheet .info { background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-text); border-radius: 12px; padding: 12px 14px; line-height: 1.5; }
.sheet .actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px; }
.radio-row { display: flex; align-items: center; gap: 12px; padding: 0 14px; min-height: 52px; border-top: 1px solid var(--line); cursor: pointer; }
.radio-row:first-child { border-top: 0; }
.radio-row input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; }
.radio-row .nm { flex: 1; font-weight: 600; }
.radio-row .nt { font-size: 12.5px; color: var(--muted); }
.radio-row.sel { background: var(--accent-soft); }
.text-input { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; min-height: 50px; padding: 0 14px; color: var(--ink); font-size: 16px; }
.swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 44px)); gap: 12px; }
.swatch { width: 100%; aspect-ratio: 1; height: auto; border-radius: 50%; border: 0; background: var(--c); }
.swatch[aria-checked="true"] { outline: 3px solid var(--ink); outline-offset: 3px; }
.swatch { position: relative; }
.swatch.used::after { content: ''; position: absolute; inset: 34%; border-radius: 50%; background: var(--bg); opacity: .85; }
.swatch-note { margin-top: 8px; }
.sheet .actions .btn.danger { border-color: var(--line); }
.date-wrap { position: relative; display: inline-flex; align-items: center; min-height: 44px; flex: 1; }
.date-wrap .date-overlay { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.date-wrap .date-overlay::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.access { display: inline-flex; align-items: center; gap: 4px; }
.acc-chip { font: 600 11.5px var(--f-mono); letter-spacing: .03em; padding: 3px 7px; border-radius: 6px; color: var(--ink); background: color-mix(in srgb, var(--c) 26%, transparent); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); }
.mic-btn { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; border-radius: 16px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent-text); font-weight: 600; font-size: 15px; }
.mic-btn svg { width: 26px; height: 26px; }
.mic-btn.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); animation: micpulse 1.4s ease-in-out infinite; }
@keyframes micpulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 0%, transparent); } }
.err-box { color: var(--late); background: var(--late-bg); border-radius: 10px; padding: 10px 12px; line-height: 1.45; }
.text-input:focus { outline: none; border-color: var(--accent); }

.toast { position: fixed; left: 50%; top: calc(14px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 11px 16px; border-radius: 10px; font-size: 14px; z-index: 60; box-shadow: var(--shadow); max-width: calc(100% - 32px); }

/* ---------- login ---------- */
.login { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 32px 24px; text-align: center; }
.login img { width: 84px; height: 84px; border-radius: 20px; }
.login h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.login p { margin: 0; color: var(--muted); max-width: 32ch; line-height: 1.5; }
.login .btn { min-width: 260px; }
.login .err { color: var(--late); background: var(--late-bg); padding: 10px 14px; border-radius: 10px; max-width: 360px; }
.boot { flex: 1; display: flex; align-items: center; justify-content: center; color: var(--muted); }

/* ---------- desktop ---------- */
@media (min-width: 960px) {
  .tabbar { display: none; }
  .view { padding-bottom: 0; }
  .topnav { display: flex; align-items: center; gap: 18px; padding: 0 28px; height: 64px; border-bottom: 1px solid var(--line); background: var(--surface-2); position: sticky; top: 0; z-index: 9; }
  :root[data-theme="light"] .topnav { background: var(--surface); }
  .topnav .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.01em; margin-right: 12px; color: var(--ink); text-decoration: none; }
  .topnav .brand img { width: 30px; height: 30px; border-radius: 8px; }
  .topnav a.nav { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 9px; display: inline-flex; gap: 8px; align-items: center; }
  .topnav a.nav.on { color: var(--ink); background: var(--surface); font-weight: 600; }
  .topnav .sp { flex: 1; }
  .head { padding: 26px 28px 12px; }
  .chips { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; }
  .desk { display: flex; align-items: stretch; min-height: 0; flex: 1; }
  .desk-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .desk-panel { width: 460px; flex: none; border-left: 1px solid var(--line); background: var(--bg); position: sticky; top: 64px; height: calc(100dvh - 64px); overflow-y: auto; display: flex; flex-direction: column; }
  .list { display: none; }
  .table-wrap { display: block; margin: 4px 28px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }
  table { border-collapse: collapse; width: 100%; min-width: 900px; }
  th, td { padding-left: 11px !important; padding-right: 11px !important; }
  .th-sort { border: 0; background: none; padding: 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
  .th-sort:hover, th[aria-sort="ascending"] .th-sort, th[aria-sort="descending"] .th-sort { color: var(--ink); }
  .th-sort .arr { font-size: 12px; opacity: .55; }
  th[aria-sort="ascending"] .arr, th[aria-sort="descending"] .arr { opacity: 1; color: var(--accent-fg); }
  th { text-align: left; font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 12px 14px; white-space: nowrap; }
  td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: middle; font-size: 14px; }
  tbody tr { cursor: pointer; }
  tbody tr:hover { background: var(--surface-2); }
  tbody tr.open { background: var(--raised); box-shadow: inset 3px 0 0 var(--accent); }
  td.t { font-weight: 600; }
  td.mono, td .msgs, td .imp { white-space: nowrap; }
  td .cat { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
  td .who { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
  td .snip { color: var(--muted); max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
  .page { max-width: 760px; width: 100%; margin: 0 auto; padding: 20px 28px 40px; }
  .detail-top .back-link, .mobile-only { display: none !important; }
  .detail-top { justify-content: flex-end; padding-top: 10px; }
  .sheet-scrim { align-items: center; }
  .sheet { border-radius: 18px; max-width: 480px; }
  .toast { top: auto; bottom: 28px; }
  .view.page-view .head { max-width: 760px; width: 100%; margin: 0 auto; }
}

/* ---------- status ---------- */
.st { font-size: 11px; font-weight: 700; letter-spacing: .03em; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.st-todo { color: var(--low); background: var(--low-bg); }
.st-doing { color: var(--doing); background: var(--doing-bg); }
.st-blocked { color: var(--blocked); background: var(--blocked-bg); }
.st-done { color: var(--ok); background: var(--ok-bg); }
.status-seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.status-seg button { min-height: 44px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); color: var(--soft-ink); font-weight: 600; font-size: 13.5px; padding: 0 4px; }
.status-seg button[aria-checked="true"].st-todo { background: var(--low-bg); color: var(--ink); border-color: var(--low); }
.status-seg button[aria-checked="true"].st-doing { background: var(--doing-bg); color: var(--doing); border-color: var(--doing); }
.status-seg button[aria-checked="true"].st-blocked { background: var(--blocked-bg); color: var(--blocked); border-color: var(--blocked); }
.status-seg button[aria-checked="true"].st-done { background: var(--ok-bg); color: var(--ok); border-color: var(--ok); }
.mini-seg button.st-doing[aria-pressed="true"] { color: var(--doing); background: var(--doing-bg); border-color: transparent; font-weight: 700; }
.mini-seg button.st-blocked[aria-pressed="true"] { color: var(--blocked); background: var(--blocked-bg); border-color: transparent; font-weight: 700; }
.mini-seg button.st-done[aria-pressed="true"] { color: var(--ok); background: var(--ok-bg); border-color: transparent; font-weight: 700; }
.mini-seg button.st-todo[aria-pressed="true"] { color: var(--ink); background: var(--low-bg); border-color: transparent; font-weight: 700; }
.card.is-done .title, tr.is-done td.t { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent); }
.archive-chip { margin-left: auto; }

/* ---------- etichete ---------- */
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 2px 8px 2px 7px; border-radius: 999px; color: var(--ink);
  background: color-mix(in srgb, var(--c) 18%, transparent); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); white-space: nowrap; }
.tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
td .tags { margin-top: 5px; }
.tag-chips { align-items: center; }
.chips-label { flex: none; color: var(--muted); display: inline-flex; align-items: center; padding-right: 2px; }
.chip.tag-chip[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 30%, var(--surface)); color: var(--ink); border-color: var(--c); }
.inline-add { display: flex; gap: 8px; }
.inline-add .text-input { flex: 1; min-width: 0; }

/* ---------- atașamente ---------- */
.att-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: 10px; }
.att { position: relative; min-width: 0; }
.att-open { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px; color: var(--ink); text-decoration: none; height: 100%; }
.att-open img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--surface-2); }
.att-ico { width: 100%; aspect-ratio: 4 / 3; border-radius: 8px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.att-name { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att-meta { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att-del { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--bg) 80%, transparent); color: var(--ink); font-size: 18px; line-height: 1; }
.att-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.att-actions .btn { min-height: 44px; cursor: pointer; }

/* ---------- istoric ---------- */
.act-list { display: flex; flex-direction: column; gap: 4px; }
.act { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; }
.act .t { flex: 1; min-width: 0; line-height: 1.45; overflow-wrap: anywhere; color: var(--soft-ink); }
.act .t b { color: var(--ink); }
.act .mono { font-size: 12px; padding-top: 2px; }

/* ---------- comutatoare (setări) ---------- */
.toggle-row { cursor: pointer; }
.switch { appearance: none; -webkit-appearance: none; width: 46px; height: 28px; border-radius: 999px; background: var(--line); position: relative; flex: none; cursor: pointer; transition: background .15s; margin: 0; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .15s; }
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(18px); }
.me-on .avatar { box-shadow: 0 0 0 2px var(--accent); }

/* ---------- echipa ---------- */
.team-tools { flex-wrap: wrap; }
.team-tools .search { flex: 1 1 100%; }
.team-tools .select { flex: 1 1 0; min-width: 0; }
.team-count { display: flex; align-items: center; justify-content: space-between; font-size: 13px; margin: -8px 2px -10px; }
.person-card { cursor: pointer; padding-block: 10px; }
.person-card:first-child { border-top: 0; }
.person-card .t small { color: var(--muted); }
.person-card .icon-btn { width: 40px; height: 40px; color: var(--soft-ink); }
.loc-pill { align-self: flex-start; margin-top: 4px; font-size: 11.5px; font-weight: 600; color: var(--soft-ink); background: var(--chip-bg); border-radius: 999px; padding: 2px 9px; }
.people-table { display: none; }
.person-head { display: flex; align-items: center; gap: 14px; }
.person-head h2 { margin: 0; }
.assist-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; margin-top: 4px; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--line); background: var(--surface-2); color: var(--ink); }
.assist-row > svg { color: var(--accent-fg); flex: none; }
.assist-row .t { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.assist-row small { color: var(--muted); }
@media (min-width: 960px) {
  .people-cards { display: none; }
  .people-table { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }
  .people-table table { min-width: 760px; }
  .people-table td a { color: var(--ink); text-decoration: none; }
  .people-table td a:hover { color: var(--accent-fg); text-decoration: underline; }
  .team-tools .search { flex: 2 1 0; }
  .view.wide .page, .view.wide .head { max-width: 1180px; }
}

/* ---------- rezumatul proiectului ---------- */
.brief-btn { margin-left: auto; min-height: 38px; padding: 0 12px; gap: 6px; font-size: 13.5px; border-radius: 999px; }
.brief-btn svg { color: var(--accent-fg); }
.detail-top .close-link { margin-left: 4px; }
.brief-bar { display: flex; align-items: center; gap: 10px; margin: 4px 16px 0; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent-text); text-align: left; font-weight: 600; }
.brief-bar > span:first-of-type { flex: 1; }
.brief-bar .mono { font-weight: 500; font-size: 12px; }
.sheet h2 svg { color: var(--accent-fg); vertical-align: -2px; }
.brief-wait { display: flex; align-items: center; gap: 12px; padding: 22px 4px; color: var(--soft-ink); }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.brief-meta { margin: -6px 0 0; font-size: 13px; }
.brief-stale { color: var(--soon); font-weight: 600; }
.brief { display: flex; flex-direction: column; gap: 8px; }
.brief-sit { margin: 0; font-size: 15.5px; line-height: 1.55; }
.brief h3 { margin: 10px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.brief-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; line-height: 1.45; }
.brief-acts { display: flex; flex-direction: column; background: var(--surface); border-radius: 12px; overflow: hidden; }
.brief-act { display: flex; align-items: flex-start; gap: 12px; padding: 11px 12px; border-top: 1px solid var(--line); cursor: pointer; }
.brief-act:first-child { border-top: 0; }
.brief-act input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.brief-act .t { display: flex; flex-direction: column; gap: 2px; }
.brief-act small { color: var(--muted); }
.brief-act.is-step { cursor: default; color: var(--soft-ink); }
.brief-ok { width: 20px; text-align: center; color: var(--ok); font-weight: 700; flex: none; }
.sheet .actions.brief-actions { grid-template-columns: auto auto minmax(0, 1fr); }

/* ---------- asistentul, la vedere ---------- */
.assist-hero { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 16px; border-radius: 16px; border: 1.5px solid var(--accent); background: var(--accent-soft); color: var(--ink); }
.assist-hero .assist-mic { width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; flex: none; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent); }
.assist-hero .assist-mic svg { width: 26px; height: 26px; }
.assist-hero .t { display: flex; flex-direction: column; gap: 4px; }
.assist-hero b { font-size: 16.5px; }
.assist-hero small { color: var(--soft-ink); line-height: 1.4; }
.or-sep { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12.5px; }
.or-sep::before, .or-sep::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.icon-btn.assist-head { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* =========================================================================
   BIG intern: Acasă, Cereri, Calendar, Furnizori
   ========================================================================= */
.grow { flex: 1; }
.small { font-size: 12px; }
.late { color: var(--late); }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.flip svg { transform: scaleX(-1); }
.select.full { width: 100%; min-height: 50px; font-size: 16px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.two > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.two .text-input { min-width: 0; }
.section h2 .h-link { float: right; text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; color: var(--accent-fg); text-decoration: none; }
.chip.on { background: color-mix(in srgb, var(--c, var(--accent)) 26%, var(--surface)); border-color: var(--c, var(--accent)); color: var(--ink); font-weight: 700; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.anon-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; }
.anon-row input { width: 20px; height: 20px; accent-color: var(--accent); margin: 1px 0 0; flex: none; }
.anon-row span { display: flex; flex-direction: column; gap: 3px; }
.anon-row small { color: var(--muted); line-height: 1.4; }
.anon-row:has(input:checked) { border-color: var(--accent-line); background: var(--accent-soft); }

/* ---------- Acasă ---------- */
.home-search { min-height: 50px; border-radius: 14px; font-size: 16px; }
.home-cols { display: flex; flex-direction: column; gap: 22px; }
.home-cols > * { min-width: 0; }
.wait-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; min-height: 58px; }
.wait-item:first-child { border-top: 0; }
.wait-item .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.wait-item .t b { font-weight: 600; overflow-wrap: anywhere; }
.wait-item .t small { color: var(--muted); font-size: 12.5px; }
.wait-item .req-type { flex: none; width: 104px; }
.wait-ic { width: 34px; height: 34px; border-radius: 10px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--c, var(--accent)) 18%, transparent); color: var(--c, var(--accent-fg)); }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.qt { background: var(--surface); border: 1px solid transparent; border-radius: 14px; padding: 12px 6px 10px; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; font-size: 12.5px; font-weight: 600; line-height: 1.2; color: var(--ink); text-decoration: none; min-height: 88px; }
.qt:hover { border-color: var(--line); }
.qt-ic { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-fg); }
.qt.add, .app.add, .hcat.add, .hcat-link.add { border: 1px dashed var(--line); background: transparent; color: var(--accent-fg); }
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.app { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid transparent; color: var(--ink); text-decoration: none; text-align: left; min-height: 56px; }
.app:hover { border-color: var(--line); }
.app .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app .t b { font-size: 14px; font-weight: 600; }
.app .t small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app > svg { color: var(--muted); flex: none; }
.app-ic { width: 34px; height: 34px; border-radius: 10px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--chip-bg); color: var(--soft-ink); }
.hcats { display: flex; flex-direction: column; gap: 8px; }
.hcat { background: var(--surface); border-radius: 14px; overflow: hidden; }
.hcat.add { min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; }
.hcat.hidden-cat { opacity: .7; border: 1px dashed var(--line); }
.hcat-h { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; min-height: 54px; }
.hcat-h b { font-size: 14.5px; }
.hcat-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--chip-bg); display: flex; align-items: center; justify-content: center; color: var(--soft-ink); flex: none; }
.hcat-list { border-top: 1px solid var(--line); padding: 4px 0; display: flex; flex-direction: column; }
.hcat-link { display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 60px; min-height: 42px; font-size: 14px; color: var(--ink); text-decoration: none; background: none; border: 0; text-align: left; }
.hcat-link::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; margin-left: -16px; }
.hcat-link:hover { color: var(--accent-fg); }
.hcat-link.add { margin: 4px 14px 6px 44px; padding-left: 14px; border-radius: 10px; color: var(--accent-fg); font-weight: 600; }
.hcat-link.add::before { display: none; }
.home-edit-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.home-edit-bar label.btn { cursor: pointer; }
.icon-pick { display: grid; grid-template-columns: repeat(auto-fill, 44px); gap: 6px; }
.icon-pick .icon-btn.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-fg); }
.row-btns { display: flex; gap: 6px; align-items: center; }
.row-btns .btn { flex: 1; }
.plus-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.plus-opt { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.plus-opt svg { width: 22px; height: 22px; color: var(--accent-fg); }
.plus-opt.on { border-color: var(--accent); background: var(--accent-soft); cursor: default; }

/* ---------- Cereri ---------- */
.req-new-btn { align-self: flex-start; }
.req-list { display: flex; flex-direction: column; gap: 10px; }
.req-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 7px; color: var(--ink); text-decoration: none; }
.req-card:hover { border-color: var(--muted); }
.req-card.act { border-color: var(--accent-line); box-shadow: inset 3px 0 0 var(--accent); }
.req-card .row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; min-width: 0; }
.req-card .title { font-size: 15px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.req-card .msgs { display: inline-flex; align-items: center; gap: 4px; font-family: var(--f-mono); }
.req-type { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--soft-ink); white-space: nowrap; }
.req-type .dot { background: var(--c); }
.rst { font-size: 11px; font-weight: 700; letter-spacing: .03em; padding: 3px 8px; border-radius: 6px; white-space: nowrap; background: var(--chip-bg); color: var(--soft-ink); }
.rst-approved, .rst-delivered, .rst-resolved { background: var(--ok-bg); color: var(--ok); }
.rst-submitted { background: var(--soon-bg); color: var(--soon); }
.rst-in_progress { background: var(--doing-bg); color: var(--doing); }
.rst-rejected { background: var(--late-bg); color: var(--late); }
.req-wait { font-size: 11.5px; font-weight: 700; color: var(--accent-fg); }
.type-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.type-tile { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; text-align: left; color: var(--ink); }
.type-tile:hover { border-color: var(--c); }
.type-tile.wide { grid-column: 1 / -1; }
.type-tile .ic { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--c) 20%, transparent); color: var(--c); }
.type-tile b { font-size: 15px; }
.type-tile small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.sheet p.calc, .calc { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); font-size: 14px; }
.calc b { font-size: 16px; }
.eq-rows { display: flex; flex-direction: column; gap: 8px; }
.eq-row { display: flex; gap: 8px; align-items: center; }
.eq-row .select { flex: 1; min-width: 0; min-height: 48px; }
.eq-row .select.sz { flex: 0 0 96px; }
.eq-row .qty { flex: 0 0 64px; min-height: 48px; padding: 0 8px; text-align: center; }
.det-head { display: flex; flex-direction: column; gap: 8px; }
.det-head .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.det-head h1 { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 800; overflow-wrap: anywhere; }
.req-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.req-actions .btn { flex: 1 1 auto; }
.req-actions .btn.danger { flex: 0 1 auto; }
.kv { background: var(--surface); border-radius: 14px; }
.kv > div { display: flex; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; }
.kv > div:first-child { border-top: 0; }
.kv > div > span:first-child { width: 112px; flex: none; color: var(--muted); }
.kv > div > span:last-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.timeline { display: flex; flex-direction: column; background: var(--surface); border-radius: 14px; padding: 6px 0; }
.tl { display: flex; gap: 12px; padding: 8px 14px; font-size: 13.5px; }
.tl .d { width: 10px; height: 10px; border-radius: 50%; background: var(--line); margin-top: 5px; flex: none; }
.tl .d.on { background: var(--accent); }
.tl .t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tl b { font-weight: 600; }
.tl small { color: var(--muted); }
.tl-note { color: var(--soft-ink); font-style: italic; overflow-wrap: anywhere; }
.req-msgs { display: flex; flex-direction: column; gap: 10px; }
.req-msg { display: flex; gap: 10px; align-items: flex-start; }
.req-msg .t { background: var(--surface); border-radius: 12px; padding: 8px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; max-width: 100%; }
.req-msg.me .t { background: var(--accent-soft); }
.req-msg small { color: var(--muted); font-size: 12px; }
.table-box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }
.plain-table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 14px; }
.plain-table th { text-align: left; font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 10px 12px; white-space: nowrap; }
.plain-table td { padding: 9px 12px; border-top: 1px solid var(--line); }
.plain-table tr[data-href] { cursor: pointer; }
.toolbar.wrap { flex-wrap: wrap; }
.toolbar label.btn { cursor: pointer; }

/* ---------- pagina de tipărit (cererea de concediu) ---------- */
.print-bar { display: flex; justify-content: space-between; gap: 10px; padding: 14px 16px; max-width: 820px; margin: 0 auto; width: 100%; }
.print-page { background: #FFFFFF; color: #111111; max-width: 794px; width: calc(100% - 32px); margin: 0 auto 40px; padding: 64px 72px; border-radius: 6px; font: 15px/1.7 Georgia, "Times New Roman", serif; box-shadow: var(--shadow); }
.print-page h1 { text-align: center; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; margin: 28px 0 32px; }
.print-page p { margin: 0 0 14px; }
.pp-firm { font: 700 13px var(--f-ui); letter-spacing: .14em; color: #555555; }
.pp-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 56px; }
.pp-sign p { margin: 0 0 6px; font-size: 14px; }
.pp-line { border-bottom: 1px solid #333333; height: 46px; }
.pp-foot { margin-top: 64px !important; font: 11px var(--f-ui); color: #888888; }
@media (max-width: 600px) { .print-page { padding: 32px 22px; } .pp-sign { grid-template-columns: 1fr; } }
@media print {
  @page { size: A4; margin: 18mm; }
  body { background: #FFFFFF !important; }
  .no-print, .toast, #overlay { display: none !important; }
  .print-page { box-shadow: none; padding: 0; width: 100%; max-width: none; margin: 0; }
}

/* ---------- Calendar ---------- */
.cal-bar { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.cal-nav { display: flex; align-items: center; gap: 6px; min-width: 0; }
.cal-title { font-size: 17px; min-width: 128px; text-align: center; }
.legend { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
.legend::-webkit-scrollbar { display: none; }
.lgd { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; min-height: 36px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 13px; color: var(--muted); }
.lgd .dot { background: var(--c); opacity: .4; }
.lgd.on { color: var(--ink); border-color: color-mix(in srgb, var(--c) 60%, var(--line)); background: color-mix(in srgb, var(--c) 12%, transparent); font-weight: 600; }
.lgd.on .dot { opacity: 1; }
.agenda { display: flex; flex-direction: column; gap: 4px; }
.ag-day { display: flex; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.ag-day:first-child { border-top: 0; }
.ag-date { width: 44px; flex: none; display: flex; flex-direction: column; align-items: center; padding-top: 6px; }
.ag-date b { font: 600 20px/1 var(--f-mono); }
.ag-date small { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 3px; }
.ag-day.today .ag-date b { color: var(--accent-ink); background: var(--accent); border-radius: 10px; padding: 5px 7px; }
.ag-list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ag-list > .muted { padding-top: 10px; }
.ag-item { display: flex; gap: 10px; align-items: stretch; background: var(--surface); border: 0; border-radius: 12px; padding: 10px 12px; text-align: left; color: var(--ink); text-decoration: none; width: 100%; }
.ag-item .bar { width: 4px; border-radius: 4px; background: var(--c); flex: none; }
.ag-item .t { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ag-item .t b { font-weight: 600; font-size: 14.5px; overflow-wrap: anywhere; display: flex; gap: 6px; align-items: center; }
.ag-item .t b svg { color: var(--accent-fg); flex: none; }
.ag-item .t small { color: var(--muted); font-size: 12.5px; }
.cal-grid { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cal-wd { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.cal-wd span { padding: 9px 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.cal-cells { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-cell { border-top: 1px solid var(--line); border-left: 1px solid var(--line); padding: 4px 4px 6px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal-cell:nth-child(-n+7) { border-top: 0; }
.cal-cell:nth-child(7n+1) { border-left: 0; }
.cal-cell.off { background: color-mix(in srgb, var(--bg) 45%, var(--surface)); }
.cal-cell.out > * { opacity: .45; }
.cal-day { align-self: flex-start; border: 0; background: none; font: 500 12.5px var(--f-mono); color: var(--soft-ink); padding: 3px 7px; border-radius: 7px; min-width: 28px; }
.cal-day:hover { background: var(--chip-bg); }
.cal-cell.today .cal-day { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.ev { display: flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; padding: 3px 6px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--ink); border: 0; border-left: 3px solid var(--c); text-align: left; text-decoration: none; min-width: 0; width: 100%; }
.ev svg { width: 13px; height: 13px; flex: none; }
.ev .mono { font-weight: 500; opacity: .8; }
.ev.cont { border-left-color: transparent; border-radius: 0 6px 6px 0; }
.ev-holiday { background: transparent; color: var(--muted); border-left-style: dotted; font-weight: 500; }
.ev-deadline { background: transparent; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); border-left-width: 3px; }
.ev.more { background: none; border: 0; color: var(--accent-fg); }
.meet-btn { width: 100%; }

/* ---------- Furnizori, administrare ---------- */
.sup-group { gap: 8px; }
.sup-notes { color: var(--soft-ink) !important; margin-top: 2px; }
.team-count .grow { flex: 1; }
.team-count label.btn { cursor: pointer; }
.role-row { align-items: center; }
.role-row .pills { margin-top: 4px; }
.person-chip { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; background: var(--chip-bg); border-radius: 999px; padding: 0 2px 0 11px; min-height: 30px; }
.person-chip .icon-btn { width: 28px; height: 28px; font-size: 16px; color: var(--muted); }

@media (min-width: 960px) {
  .home-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 22px 28px; }
  .quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .legend { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; }
  .req-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
  .req-detail { max-width: 760px; }
  .print-bar { padding-top: 24px; }
}
.req-none { padding: 4px 2px; }
.req-closed { align-self: flex-start; }
.req-types { margin-top: 6px; }
@media (min-width: 960px) {
  .req-types .type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .req-types .type-tile.wide { grid-column: auto; }
}
.assist-ex { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.assist-ex span { width: 100%; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.assist-ex button { border: 1px solid var(--line); background: var(--surface); color: var(--soft-ink); border-radius: 999px; padding: 6px 11px; font-size: 13px; text-align: left; }
.assist-ex button:hover { border-color: var(--accent); color: var(--ink); }
.sheet .info svg { color: var(--accent-fg); vertical-align: -3px; margin-right: 2px; }

/* ---------- turul aplicației ---------- */
#tour { position: fixed; inset: 0; z-index: 60; }
.tour-layer { position: absolute; inset: 0; }
.tour-dim { position: absolute; inset: 0; background: rgba(5, 7, 10, .72); }
.tour-hole { position: absolute; border-radius: 14px; box-shadow: 0 0 0 200vmax rgba(5, 7, 10, .72); outline: 2px solid var(--accent); outline-offset: 2px; transition: top .2s, left .2s, width .2s, height .2s; pointer-events: none; }
.tour-card { position: absolute; left: 12px; right: 12px; max-height: calc(100dvh - 24px); overflow-y: auto; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
:root[data-theme="light"] .tour-card { background: var(--surface); }
.tour-card.center { top: 50%; transform: translateY(-50%); }
.tour-card h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.tour-top { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); min-height: 28px; }
.tour-bar { flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.tour-bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.tour-top .icon-btn { width: 32px; height: 32px; font-size: 20px; }
.tour-body { font-size: 15px; line-height: 1.5; color: var(--soft-ink); }
.tour-body p { margin: 0 0 8px; }
.tour-body ul { margin: 0 0 8px; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.tour-body b { color: var(--ink); }
.tour-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 10px; margin-top: 4px; }
@media (min-width: 960px) {
  .tour-card { width: 420px; left: auto; right: auto; }
  .tour-card.center { left: 50%; transform: translate(-50%, -50%); width: 520px; }
}
@media (min-width: 960px) {
  .topnav .brand, .topnav .btn, .topnav a.nav { white-space: nowrap; flex: none; }
}
@media (min-width: 960px) and (max-width: 1180px) {
  .topnav { gap: 8px; padding: 0 16px; }
  .topnav .brand { margin-right: 4px; }
  .topnav a.nav { padding: 8px 9px; }
  .topnav [data-act="toggle-theme"] { display: none; }
}

/* ---------- file (tab-uri) mai vizibile ---------- */
.seg { border: 1px solid var(--line); }
.seg > * { font-weight: 600; color: var(--muted); }
.seg > [aria-selected="true"], .seg > [aria-checked="true"], .seg > [aria-pressed="true"] {
  background: var(--accent); color: var(--accent-ink); font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,.18);
}
.seg > [aria-selected="true"] .badge { background: var(--accent-ink); color: var(--accent); }
.seg > [aria-selected="true"] .muted { color: inherit; opacity: .75; }
.seg > :not([aria-selected="true"]):not([aria-checked="true"]):not([aria-pressed="true"]):hover { color: var(--ink); background: var(--chip-bg); }

/* ---------- Documente: elemente fără link ---------- */
.hcat-link.soon { color: var(--muted); cursor: default; }
.hcat-link.soon::before { background: var(--line); }
.hcat-link.soon small { white-space: nowrap; flex: none; font-size: 11px; font-weight: 600; letter-spacing: .03em; color: var(--muted); background: var(--chip-bg); border-radius: 999px; padding: 1px 8px; margin-left: 6px; }

/* ---------- Locațiile BIG STORE ---------- */
.loc-card { background: var(--surface); border-radius: 14px; overflow: hidden; }
.ro-map { display: block; width: 100%; height: auto; padding: 14px 14px 4px; }
.ro-map .ro { fill: var(--accent-soft); stroke: var(--accent-line); stroke-width: 2.5; stroke-linejoin: round; }
.ro-map .pin { cursor: pointer; }
.ro-map .pin circle { fill: var(--accent); stroke: var(--surface); stroke-width: 3; }
.ro-map .pin .halo { fill: var(--accent); opacity: .22; stroke: none; }
.ro-map .pin-partener circle, .ro-map .pin-depozit circle { fill: var(--pal-4); }
.ro-map .pin-partener .halo, .ro-map .pin-depozit .halo { fill: var(--pal-4); }
.ro-map .pin-key rect { fill: var(--pal-0); stroke: var(--surface); stroke-width: 3; }
.ro-map .pin-key .hd { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.ro-map .pin-key circle.hd { fill: #fff; stroke: none; }
.ro-map .pin text { font: 700 19px var(--f-ui); fill: var(--ink); paint-order: stroke; stroke: var(--surface); stroke-width: 5px; stroke-linejoin: round; }
.ro-map .pin.on circle:not(.halo), .ro-map .pin.on rect { stroke: var(--ink); }
.ro-map .pin:focus { outline: none; }
.loc-legend { display: flex; flex-wrap: wrap; gap: 14px; padding: 0 16px 10px; font-size: 12.5px; color: var(--muted); }
.loc-legend span { display: inline-flex; align-items: center; gap: 6px; }
.loc-legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.loc-legend i.lg-partner { background: var(--pal-4); }
.loc-legend i.lg-key { background: var(--pal-0); border-radius: 3px; transform: rotate(45deg); }
.loc-list { border-top: 1px solid var(--line); display: flex; flex-direction: column; padding: 4px 0; }
.loc-row { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 14px; min-height: 52px; }
.loc-row.on { background: var(--accent-soft); }
.loc-row .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.loc-row .t b { font-size: 14.5px; font-weight: 600; }
.loc-row .t small { font-size: 12.5px; color: var(--muted); }
.loc-row .icon-btn { width: 40px; height: 40px; color: var(--soft-ink); }
.loc-ic { width: 32px; height: 32px; border-radius: 10px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-fg); }
.loc-ic.loc-partener, .loc-ic.loc-depozit { background: color-mix(in srgb, var(--pal-4) 18%, transparent); color: var(--pal-4); }
.loc-ic.loc-key { background: color-mix(in srgb, var(--pal-0) 18%, transparent); color: var(--pal-0); }
.loc-list .hcat-link.add { margin: 4px 14px 8px; }

/* ---------- Cont cu file, poza cu număr ---------- */
.me-card { display: flex; align-items: center; gap: 12px; }
.me-card .t { display: flex; flex-direction: column; min-width: 0; }
.me-card .t b { font-size: 16px; }
.me-card .t small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.me-link { position: relative; display: inline-flex; flex: none; }
.me-link .badge { position: absolute; top: -4px; right: -6px; box-shadow: 0 0 0 2px var(--bg); }
.req-chips { margin-bottom: 4px; }
.chip .badge { margin-left: 2px; }
.eq-admin { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------- Social media ---------- */
.social { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 8px; }
.soc { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; background: var(--surface); border: 1px solid transparent; color: var(--ink); text-decoration: none; min-height: 54px; }
.soc:hover { border-color: var(--sc); }
.soc .t { display: flex; flex-direction: column; min-width: 0; }
.soc .t b { font-size: 14px; }
.soc .t small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soc-dot { width: 32px; height: 32px; flex: none; border-radius: 10px; background: var(--sc); color: #fff; font-weight: 800; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
:root:not([data-theme="light"]) .soc[style*="#111111"] .soc-dot { background: #F2F1EC; color: #111; }

/* ---------- Harta: logo, magazin partener, detalii la apăsare ---------- */
.ro-map .pin-magazin .logo-bg { fill: #fff; stroke: var(--accent); stroke-width: 2.5; }
.ro-map .pin-magazin .halo { fill: var(--accent); opacity: .2; stroke: none; }
.ro-map .pin-magazin image { pointer-events: none; }
.ro-map .pin-partener .shop-bg, .ro-map .pin-depozit .shop-bg { fill: var(--pal-4); stroke: var(--surface); stroke-width: 3; }
.ro-map .pin .shop path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ro-map .pin.on .logo-bg, .ro-map .pin.on .shop-bg { stroke: var(--ink); stroke-width: 3.5; }
.loc-hint { margin: 0; padding: 10px 16px 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.loc-detail { border-top: 1px solid var(--line); padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; background: color-mix(in srgb, var(--accent-soft) 45%, var(--surface)); }
.loc-d-head { display: flex; align-items: center; gap: 10px; }
.loc-d-head .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.loc-d-head .t b { font-size: 15.5px; }
.loc-d-head .t small { color: var(--muted); font-size: 12.5px; }
.loc-person { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--soft-ink); }
.loc-person svg { flex: none; margin-top: 2px; color: var(--pal-0); }
.loc-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.loc-cta .btn.primary { flex: 1 1 220px; }
.loc-cta .btn svg { width: 18px; height: 18px; }

/* ---------- Organigrama în Echipă ---------- */
.org-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--ink); text-decoration: none; }
.org-card .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.org-card .t b { font-size: 15px; }
.org-card .t small { color: var(--soft-ink); font-size: 12.5px; }
.org-card > svg { color: var(--accent-fg); flex: none; }
.org-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--accent); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* ---------- mărimi pentru echipament ---------- */
.sizes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sizes-box { padding: 12px 14px; gap: 12px; }
.sz-field { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.sz-field .select { width: 100%; font-size: 15px; color: var(--ink); font-weight: 400; }
.sizes-actions { display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.sizes-actions .note { flex: 1 1 200px; }
@media (min-width: 960px) { .sizes-box .sizes-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
