/* Linkasa · componentele mockup-ului. Totul pe tokenurile din tokens.css; nicio culoare nouă.
   Structura: 1 bază · 2 tipografie · 3 butoane · 4 chip-uri și iconițe · 5 carduri, liste, tabele
   6 formulare · 7 aplicația proprietarului · 8 aplicația chiriașului · 9 site-ul public
   10 notificări, modale, stări · 11 note pentru dezvoltator, comutator demo · 12 utilitare */
@import url('tokens.css');

/* ---------- 1. bază ---------- */
*, *::before, *::after { box-sizing: border-box; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--blue-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue-text); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--blue-soft); }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.app, .phone { line-height: 1.5; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }

/* ---------- 2. tipografie ---------- */
.eyebrow { font: 600 11px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.display { font: 800 clamp(40px, 5vw, 64px)/1.06 var(--font-display); letter-spacing: -.02em; color: var(--text-main); }
.h-page { font: 800 28px/1.15 var(--font-display); letter-spacing: -.02em; color: var(--text-main); }
.h-section { font: 800 22px/1.2 var(--font-display); letter-spacing: -.01em; color: var(--text-main); }
.h-card { font: 700 17px/1.3 var(--font-display); color: var(--text-main); }
.lead { font-size: 19px; line-height: 1.6; color: var(--text-body); }
.muted { color: var(--text-muted); }
.small { font-size: 13px; line-height: 1.5; }
.strong { font-weight: 600; color: var(--text-main); }
.amount-xl { font: 700 40px/1 var(--font-sans); font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: var(--text-main); }
.amount-lg { font: 700 28px/1.1 var(--font-sans); font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: var(--text-main); }
.amount-md { font: 700 20px/1.2 var(--font-sans); font-variant-numeric: tabular-nums; color: var(--text-main); }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); font-size: 14px; }
p { margin: 0; }
p + p { margin-top: 12px; }
.prose p + p { margin-top: 16px; }
.prose h2, .prose h3 { margin-top: 32px; margin-bottom: 12px; }
.prose ul { margin: 12px 0; padding-left: 22px; }
.prose li + li { margin-top: 6px; }

/* ---------- 3. butoane ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--radius-pill); font: 600 14px/1 var(--font-sans); white-space: nowrap; text-decoration: none; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); cursor: pointer; border: 1px solid transparent; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #FFFFFF; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-secondary { background: var(--surface); color: var(--text-main); border-color: var(--line); }
.btn-secondary:hover { background: var(--surface-hi); }
.btn-ghost { background: transparent; color: var(--text-main); border-color: var(--line-soft); }
.btn-ghost:hover { background: var(--surface); }
.btn-link { background: transparent; color: var(--blue-text); padding: 0 8px; min-height: 44px; }
.btn-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn-white { background: #FFFFFF; color: var(--blue); }
.btn-white:hover { background: #E5F2FD; }
.btn-outline-white { background: transparent; color: #FFFFFF; border-color: rgb(255 255 255 / .55); }
.btn-outline-white:hover { background: rgb(255 255 255 / .12); }
.btn[disabled], .btn.is-disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 15px; }
.btn-block { width: 100%; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--text-main); background: transparent; position: relative; }
.icon-btn:hover { background: var(--surface); text-decoration: none; }
.icon-btn .badge-dot { position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--late); border: 2px solid var(--background); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- 4. chip-uri de stare și iconițe de categorie ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--radius-pill); font: 600 12px/1 var(--font-sans); white-space: nowrap; background: var(--surface-hi); color: var(--text-body); }
.chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.chip-ok { background: var(--green-soft); color: var(--green-text); }
.chip-ok::before { background: var(--green); }
.chip-wait { background: var(--blue-soft); color: var(--blue-text); }
.chip-late { background: var(--late-soft); color: var(--late); }
.chip-urgent { background: var(--urgent-soft); color: var(--urgent); }
.chip-ai { background: var(--ai-soft); color: var(--ai); }
.chip-neutral { background: var(--surface-hi); color: var(--text-muted); }
.chip-plain::before { display: none; }
.chip-lg { height: 32px; padding: 0 14px; font-size: 13px; }
.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--radius-pill); font: 600 11px/1 var(--font-sans); background: var(--blue-soft); color: var(--blue-text); font-variant-numeric: tabular-nums; }
.badge-urgent { background: var(--urgent-soft); color: var(--urgent); }
.badge-late { background: var(--late-soft); color: var(--late); }
.badge-ai { background: var(--ai-soft); color: var(--ai); }

.cat { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; flex: none; background: var(--surface-hi); color: var(--text-body); }
.cat .icon { width: 20px; height: 20px; }
.cat-sm { width: 32px; height: 32px; } .cat-sm .icon { width: 16px; height: 16px; }
.cat-lg { width: 56px; height: 56px; } .cat-lg .icon { width: 26px; height: 26px; }
.cat-contracte { background: var(--cat-contracte-soft); color: var(--cat-contracte); }
.cat-chirii { background: var(--cat-chirii-soft); color: var(--cat-chirii); }
.cat-comunicare { background: var(--cat-comunicare-soft); color: var(--cat-comunicare); }
.cat-probleme { background: var(--cat-probleme-soft); color: var(--cat-probleme); }
.cat-notificari { background: var(--cat-notificari-soft); color: var(--cat-notificari); }
.cat-istoric { background: var(--cat-istoric-soft); color: var(--cat-istoric); }
.cat-ai { background: var(--ai-soft); color: var(--ai); }
.cat-ok { background: var(--green-soft); color: var(--green-text); }
.cat-blue { background: var(--blue-soft); color: var(--blue-text); }
@media (prefers-color-scheme: dark) {
  .cat-contracte { background: rgb(30 123 232 / .16); }
  .cat-chirii { background: rgb(23 168 120 / .16); }
  .cat-comunicare { background: rgb(122 77 232 / .16); }
  .cat-probleme { background: rgb(240 112 46 / .16); }
  .cat-notificari { background: rgb(230 64 90 / .16); }
  .cat-istoric { background: rgb(26 166 176 / .16); }
}
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-text); font: 700 14px/1 var(--font-sans); flex: none; letter-spacing: .02em; }
.avatar-sm { width: 32px; height: 32px; font-size: 12px; }
.avatar-lg { width: 56px; height: 56px; font-size: 18px; }
.avatar-green { background: var(--green-soft); color: var(--green-text); }
.avatar-violet { background: var(--ai-soft); color: var(--ai); }

/* ---------- 5. carduri, liste, tabele, chei-valori ---------- */
.card { background: var(--surface); border-radius: var(--radius-md); padding: 24px; }
.card-sm { padding: 16px; }
.card-float { background: var(--background); border: 1px solid var(--line); box-shadow: var(--shadow); }
.card-outline { background: var(--background); border: 1px solid var(--line); }
.card-hi { background: var(--surface-hi); }
.card-blue { background: var(--blue); color: #FFFFFF; }
.card-blue .amount-xl, .card-blue .amount-lg, .card-blue .h-card, .card-blue b, .card-blue .eyebrow { color: #FFFFFF; }
.card-blue .eyebrow { opacity: .8; }
.card-blue .muted { color: rgb(255 255 255 / .78); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.card-head .h-card { margin: 0; }
.card-foot { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cards { display: grid; gap: 16px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; } .card { padding: 16px; } }

.stat { display: grid; gap: 6px; }
.stat .eyebrow { margin-bottom: 4px; }
.stat-foot { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--text-muted); }
.progress { height: 8px; border-radius: var(--radius-pill); background: var(--surface-hi); overflow: hidden; }
.card-blue .progress { background: rgb(255 255 255 / .25); }
.progress > i { display: block; height: 100%; background: var(--green); border-radius: var(--radius-pill); }
.progress-late > i { background: var(--late); }

.list { display: grid; }
.list-card { background: var(--surface); border-radius: var(--radius-md); overflow: hidden; }
.list-card > .row { padding: 14px 20px; }
.row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: inherit; text-align: left; width: 100%; }
.row:last-child { border-bottom: 0; }
.row-plain { grid-template-columns: 1fr auto; }
.row-text { display: grid; gap: 2px; min-width: 0; }
.row-text b { font-weight: 600; color: var(--text-main); font-size: 15px; }
.row-text span { font-size: 13px; color: var(--text-muted); }
.row .row-end { display: grid; justify-items: end; gap: 4px; text-align: right; }
.row .row-end .amount-md { font-size: 16px; }
a.row:hover, button.row:hover { background: var(--surface-hi); text-decoration: none; }
a.row, button.row { transition: background var(--dur) var(--ease); }
.list-card a.row { margin: 0; }
.chev { color: var(--text-muted); }

.kv { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kv:last-child { border-bottom: 0; }
.kv > span { color: var(--text-muted); font-size: 14px; }
.kv > b { font-weight: 600; color: var(--text-main); text-align: right; font-variant-numeric: tabular-nums; }
.kv-total > b { font-size: 20px; font-weight: 700; }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font: 600 11px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); padding: 0 12px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--line); color: var(--text-body); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table td b { color: var(--text-main); font-weight: 600; }
.table .num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table tbody tr:hover td { background: var(--surface-hi); }
.table-wrap { overflow-x: auto; }
.table a.cell { color: inherit; display: block; }

.timeline { display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 24px 1fr; gap: 12px; position: relative; padding-bottom: 20px; }
.tl::before { content: ''; position: absolute; left: 11px; top: 24px; bottom: 0; border-left: 2px solid var(--line); }
.tl:last-child::before { display: none; }
.tl:last-child { padding-bottom: 0; }
.tl-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-hi); border: 2px solid var(--background); display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.tl-dot .icon { width: 12px; height: 12px; }
.tl-dot.ok { background: var(--green); color: #FFFFFF; }
.tl-dot.now { background: var(--blue); color: #FFFFFF; }
.tl-dot.late { background: var(--late); color: #FFFFFF; }
.tl-dot.urgent { background: var(--urgent); color: #FFFFFF; }
.tl-dot.ai { background: var(--ai); color: #FFFFFF; }
.tl b { font-weight: 600; color: var(--text-main); display: block; }
.tl span { font-size: 13px; color: var(--text-muted); }

.steps { counter-reset: step; display: grid; gap: 24px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.step-num { font: 800 32px/1 var(--font-display); color: var(--blue-text); min-width: 40px; font-variant-numeric: tabular-nums; }

/* ---------- 6. formulare ---------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field > label, .field-label { font: 500 14px/1.3 var(--font-sans); color: var(--text-main); }
.field-hint { font-size: 13px; color: var(--text-muted); }
.field-error { font-size: 13px; color: var(--late); display: flex; align-items: center; gap: 6px; }
.field-error .icon { width: 14px; height: 14px; }
.input, .select, .textarea { width: 100%; min-height: 44px; padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-soft); background: var(--background); color: var(--text-main); font: 400 15px/1.4 var(--font-sans); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.input::placeholder, .textarea::placeholder { color: var(--text-muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-text); box-shadow: 0 0 0 3px var(--blue-soft); }
.input.is-error, .select.is-error, .textarea.is-error { border-color: var(--late); }
.input.is-error:focus { box-shadow: 0 0 0 3px var(--late-soft); }
.input[disabled], .select[disabled] { background: var(--surface); color: var(--text-muted); cursor: not-allowed; }
.textarea { min-height: 112px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2369758A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.input-group { display: grid; grid-template-columns: 1fr auto; align-items: center; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: var(--background); padding-right: 14px; }
.input-group .input { border: 0; box-shadow: none; }
.input-group > span { color: var(--text-muted); font-size: 14px; }
.input-amount { font: 700 24px/1 var(--font-sans); font-variant-numeric: tabular-nums; min-height: 56px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-body); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.switch:last-child { border-bottom: 0; }
.switch .switch-text { display: grid; gap: 2px; }
.switch .switch-text b { font-weight: 600; color: var(--text-main); }
.switch .switch-text span { font-size: 13px; color: var(--text-muted); }
.switch input { appearance: none; width: 44px; height: 26px; border-radius: var(--radius-pill); background: var(--line-soft); position: relative; cursor: pointer; flex: none; transition: background var(--dur) var(--ease); margin: 0; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; transition: transform var(--dur) var(--ease); }
.switch input:checked { background: var(--green); }
.switch input:checked::after { transform: translateX(18px); }
.choice-cards { display: grid; gap: 12px; }
.choice-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .choice-cards-2, .choice-cards-3 { grid-template-columns: 1fr; } }
.choice { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--background); cursor: pointer; text-align: left; color: inherit; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.choice:hover { background: var(--surface); text-decoration: none; }
.choice.is-selected, .choice:has(input:checked) { border-color: var(--blue-text); background: var(--blue-soft); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .choice-text { display: grid; gap: 2px; }
.choice .choice-text b { font-weight: 600; color: var(--text-main); }
.choice .choice-text span { font-size: 13px; color: var(--text-muted); }
.choice-stack { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 24px 16px; gap: 10px; }
.upload { display: grid; justify-items: center; gap: 8px; padding: 32px 16px; border: 1.5px dashed var(--line-soft); border-radius: var(--radius-md); background: var(--surface); text-align: center; color: var(--text-muted); font-size: 14px; }
.upload b { color: var(--text-main); font-weight: 600; }
.upload .cat { margin-bottom: 4px; }
.segmented { display: inline-flex; padding: 4px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--line); gap: 2px; }
.segmented > * { min-height: 36px; padding: 0 16px; border-radius: var(--radius-pill); font: 600 13px/1 var(--font-sans); color: var(--text-body); display: inline-flex; align-items: center; gap: 6px; }
.segmented > .is-active, .segmented > [aria-selected="true"] { background: var(--background); color: var(--text-main); box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) { .segmented > .is-active, .segmented > [aria-selected="true"] { background: var(--surface-hi); } }
.segmented a:hover { text-decoration: none; }
.stack > .segmented, .form > .segmented { justify-self: start; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.tabs > * { padding: 12px 16px; font: 600 14px/1 var(--font-sans); color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.tabs > .is-active, .tabs > [aria-selected="true"] { color: var(--text-main); border-bottom-color: var(--blue); }
.tabs a:hover { text-decoration: none; color: var(--text-main); }
[data-panel] { display: block; }
[data-panel][hidden] { display: none; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--background); color: var(--text-body); font: 500 13px/1 var(--font-sans); cursor: pointer; }
.pill.is-active, .pill[aria-pressed="true"] { background: var(--text-main); color: var(--background); border-color: var(--text-main); }
.pill:hover { text-decoration: none; background: var(--surface); }
.pill.is-active:hover { background: var(--text-main); }
.sign-pad { height: 160px; border: 1.5px dashed var(--line-soft); border-radius: var(--radius-md); background: var(--background); display: grid; place-items: center; color: var(--text-muted); font-size: 14px; position: relative; }
.sign-pad svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sign-pad:has(svg) { color: transparent; }
.otp { display: flex; gap: 8px; }
.otp input { width: 48px; height: 56px; text-align: center; font: 700 22px/1 var(--font-sans); border-radius: var(--radius-sm); border: 1px solid var(--line-soft); background: var(--background); color: var(--text-main); }

/* ---------- 7. aplicația proprietarului (desktop întâi) ---------- */
.app { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); grid-template-rows: auto 1fr; background: var(--background); }
.sidebar { grid-row: 1 / span 2; background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; padding: 20px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: inline-flex; align-items: center; padding: 6px 8px 18px; }
.brand img { height: 26px; width: auto; }
.nav { display: grid; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: var(--radius-sm); color: var(--text-body); font: 500 14px/1 var(--font-sans); transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.nav a:hover { background: var(--surface-hi); text-decoration: none; color: var(--text-main); }
.nav a.is-active { background: var(--blue-soft); color: var(--blue-text); font-weight: 600; }
.nav a .badge { margin-left: auto; }
.nav-label { font: 600 11px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); padding: 16px 12px 8px; }
.sidebar-foot { margin-top: auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 8px 4px; border-top: 1px solid var(--line); }
.sidebar-foot .logout-btn { width: 40px; height: 40px; color: var(--text-muted); margin-right: -6px; }
.sidebar-foot .logout-btn:hover { color: var(--text-main); background: var(--surface-hi); }
.sidebar-foot b { display: block; font-weight: 600; color: var(--text-main); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-foot span { display: block; font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 40px; border-bottom: 1px solid var(--line); background: var(--background); position: sticky; top: 0; z-index: 20; min-height: 72px; }
.topbar-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.topbar-left .brand { display: none; padding: 0; }
.topbar .h-page { font-size: 22px; }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.crumbs a { color: var(--text-muted); }
.crumbs .icon { width: 14px; height: 14px; }
.main { padding: 32px 40px 120px; min-width: 0; }
.main-narrow, .main-wide { max-width: none; }   /* conținutul aplicației ocupă toată lățimea */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page-head .h-page { margin: 0; }
.page-head p { margin-top: 4px; color: var(--text-muted); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 32px 0 16px; }
.section-head:first-child { margin-top: 0; }
.section-head .h-section { margin: 0; }
.cols-2 { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.cols-2-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) { .cols-2, .cols-2-even { grid-template-columns: 1fr; } }
.tabbar { display: none; }
@media (max-width: 960px) {
  .app { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .sidebar { display: none; }
  .topbar { padding: 12px 16px; min-height: 64px; }
  .topbar-left .brand { display: inline-flex; }
  .topbar-left .brand img { height: 22px; }
  .topbar .h-page { font-size: 18px; }
  .main { padding: 20px 16px 110px; }
  .app .tabbar { display: grid; }
  .page-head { margin-bottom: 16px; }
}

/* ---------- 8. aplicația chiriașului (telefon întâi) ---------- */
.phone { background: var(--surface); min-height: 100vh; }
.phone .screen { max-width: 480px; margin: 0 auto; min-height: 100vh; background: var(--background); position: relative; padding-bottom: 96px; display: flex; flex-direction: column; }
@media (min-width: 600px) { .phone .screen { border-left: 1px solid var(--line); border-right: 1px solid var(--line); } }
.phone-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px 8px; position: sticky; top: 0; background: var(--background); z-index: 20; min-height: 60px; }
.phone-top .h-page { font-size: 24px; }
.phone-top-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.phone-top .icon-btn { margin-left: -10px; }
.phone-main { padding: 8px 16px 24px; display: grid; gap: 16px; align-content: start; flex: 1; }
.phone-main > .h-section { margin-top: 8px; }
.greeting { padding: 8px 0 0; }
.greeting .h-page { font-size: 26px; }
.greeting span { color: var(--text-muted); font-size: 14px; }
.statusbar { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px 0; font: 600 13px/1 var(--font-sans); color: var(--text-main); }
.statusbar .icon { width: 14px; height: 14px; }
.tabbar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; grid-template-columns: repeat(5, 1fr); background: var(--background); border-top: 1px solid var(--line); padding: 8px 4px calc(10px + env(safe-area-inset-bottom)); z-index: 30; }
.phone .tabbar { display: grid; }
.app .tabbar { max-width: none; transform: none; left: 0; }
.tabbar a { display: grid; justify-items: center; gap: 4px; padding: 6px 2px; min-height: 48px; font: 500 11px/1 var(--font-sans); color: var(--text-muted); border-radius: var(--radius-sm); position: relative; }
.tabbar a:hover { text-decoration: none; }
.tabbar a.is-active { color: var(--blue-text); font-weight: 600; }
.tabbar a .icon { width: 22px; height: 22px; }
.tabbar a .badge { position: absolute; top: 2px; right: calc(50% - 22px); height: 16px; min-width: 16px; font-size: 10px; padding: 0 4px; }
.hero-pay { padding: 24px; border-radius: var(--radius-lg); display: grid; gap: 6px; }
.hero-pay .amount-xl { font-size: 44px; margin: 6px 0 2px; }
.hero-pay .btn-row { margin-top: 16px; }
.hero-ok { background: var(--green-soft); }
.hero-ok .eyebrow { color: var(--green-text); }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.quick a { display: grid; justify-items: center; gap: 8px; padding: 12px 4px; border-radius: var(--radius-md); background: var(--surface); color: var(--text-main); font: 500 12px/1.2 var(--font-sans); text-align: center; }
.quick a:hover { background: var(--surface-hi); text-decoration: none; }
.sheet { background: var(--background); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 16px 16px 24px; border-top: 1px solid var(--line); }
.sheet-handle { width: 40px; height: 4px; border-radius: 2px; background: var(--line-soft); margin: 0 auto 16px; }
.chat { display: grid; gap: 12px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: var(--radius-md); background: var(--surface); color: var(--text-main); font-size: 15px; line-height: 1.45; position: relative; }
.msg time { display: block; font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.msg-me { margin-left: auto; background: var(--blue); color: #FFFFFF; border-bottom-right-radius: 4px; }
.msg-me time { color: rgb(255 255 255 / .75); }
.msg-them { margin-right: auto; border-bottom-left-radius: 4px; }
.msg-sys { max-width: 100%; margin: 0 auto; background: transparent; color: var(--text-muted); font-size: 12px; text-align: center; padding: 0; }
.msg-ref { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; padding: 8px 10px; border-radius: var(--radius-sm); background: rgb(255 255 255 / .18); margin-bottom: 8px; font-size: 13px; }
.msg-them .msg-ref { background: var(--background); }
.composer { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--background); position: sticky; bottom: 80px; }
.composer .input { min-height: 44px; border-radius: var(--radius-pill); }
.day-sep { text-align: center; font-size: 12px; color: var(--text-muted); margin: 8px 0; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photo { aspect-ratio: 1; border-radius: var(--radius-sm); background: var(--surface-hi); display: grid; place-items: center; color: var(--text-muted); font-size: 11px; text-align: center; padding: 6px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.photo .icon { width: 22px; height: 22px; margin-bottom: 4px; }
.photo-wide { aspect-ratio: 4 / 3; }
.photo-img { background-size: cover; background-position: center; }
.photo-add { border-style: dashed; background: var(--background); color: var(--blue-text); }
.doc-thumb { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--background); }
.doc-thumb b { display: block; font-weight: 600; color: var(--text-main); font-size: 14px; }
.doc-thumb span { font-size: 12px; color: var(--text-muted); }
.fake-doc { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--background); padding: 14px; display: grid; gap: 8px; position: relative; min-height: 96px; }
.fake-doc i { display: block; height: 6px; border-radius: 3px; background: var(--surface-hi); }
.fake-doc i.accent { background: var(--urgent); opacity: .55; width: 34%; height: 8px; }
.fake-doc i.w80 { width: 80%; } .fake-doc i.w64 { width: 64%; } .fake-doc i.w72 { width: 72%; }
.fake-doc .corner { position: absolute; right: 12px; bottom: 10px; font-size: 11px; color: var(--text-muted); }
.ref-box { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface); }
.ref-box span { font-size: 12px; color: var(--text-muted); display: block; }
.ref-box b { font: 500 16px/1.3 var(--font-mono); color: var(--text-main); letter-spacing: .02em; }
.bigcheck { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #FFFFFF; display: grid; place-items: center; margin: 24px auto 8px; }
.bigcheck .icon { width: 36px; height: 36px; stroke-width: 2.5; }
.center { text-align: center; }
.center .btn-row { justify-content: center; }

/* ---------- 9. site-ul public ---------- */
.site { background: var(--background); }
.container { width: 100%; margin: 0 auto; padding-inline: clamp(16px, 4vw, 64px); }   /* toată lățimea, cu margini laterale */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--background); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.site-header .brand { padding: 0; }
.site-header .brand img { height: 28px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 10px 14px; border-radius: var(--radius-pill); color: var(--text-body); font: 500 14px/1 var(--font-sans); min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:hover { background: var(--surface); text-decoration: none; color: var(--text-main); }
.site-nav a.is-active { color: var(--text-main); font-weight: 600; }
.site-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; }
@media (max-width: 900px) { .site-nav, .site-actions .btn-link { display: none; } .menu-btn { display: inline-flex; } }
.hero { padding: 72px 0 56px; }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero { padding: 40px 0 32px; } .hero .container { grid-template-columns: 1fr; gap: 40px; } }
.hero-text { display: grid; gap: 24px; }
.hero-text .lead { max-width: 520px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 8px; }
.hero-stats div { display: grid; gap: 4px; }
.hero-stats b { font: 800 32px/1 var(--font-display); color: var(--text-main); }
.hero-stats span { font-size: 13px; color: var(--text-muted); }
.device { width: 100%; max-width: 390px; margin: 0 auto; border-radius: 44px; background: var(--background); border: 1px solid var(--line-soft); box-shadow: var(--shadow); padding: 12px; }
.device .device-screen { border-radius: 34px; background: var(--background); overflow: hidden; border: 1px solid var(--line); }
.device .phone-main { padding: 8px 16px 20px; }
.device .tabbar { display: grid; position: static; transform: none; max-width: none; padding-bottom: 12px; }
.section { padding: 64px 0; }
.section-alt { background: var(--surface); }
@media (max-width: 640px) { .section { padding: 48px 0; } }
.section-intro { max-width: 640px; display: grid; gap: 16px; margin-bottom: 40px; }
.section-intro .h-section { font-size: clamp(28px, 3.4vw, 40px); }
.zones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .zones { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .zones { grid-template-columns: 1fr; } }
.zone { display: grid; gap: 12px; padding: 24px; border-radius: var(--radius-md); background: var(--background); border: 1px solid var(--line); }
.section-alt .zone { border-color: transparent; }
.zone p { font-size: 15px; }
.howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 900px) { .howto { grid-template-columns: 1fr; gap: 24px; } }
.howto .step-num { font-size: 56px; }
.persona { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.persona.persona-flip > :first-child { order: 2; }
@media (max-width: 900px) { .persona { grid-template-columns: 1fr; gap: 32px; } .persona.persona-flip > :first-child { order: 0; } }
.persona-text { display: grid; gap: 16px; }
.persona-text ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.persona-text li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.persona-text li .icon { color: var(--green-text); width: 18px; height: 18px; margin-top: 3px; }
.quote { font: 400 20px/1.5 var(--font-display); color: var(--text-main); font-style: italic; padding-left: 20px; border-left: 3px solid var(--blue); }
.quote cite { display: block; font: 500 13px/1 var(--font-sans); color: var(--text-muted); margin-top: 10px; font-style: normal; }
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.price { display: grid; gap: 16px; padding: 28px; border-radius: var(--radius-lg); background: var(--background); border: 1px solid var(--line); align-content: start; }
.price.is-featured { border-color: var(--blue); border-width: 2px; }
.price .amount-lg { font-size: 36px; }
.price .amount-lg small { font: 500 14px/1 var(--font-sans); color: var(--text-muted); letter-spacing: 0; }
.price ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.price li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.price li .icon { width: 18px; height: 18px; color: var(--green-text); margin-top: 2px; }
.price .btn { margin-top: auto; }
.faq { display: grid; gap: 8px; max-width: 760px; }
.faq details { border-radius: var(--radius-md); background: var(--surface); padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; font: 600 16px/1.3 var(--font-sans); color: var(--text-main); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 20px; height: 20px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2369758A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; font-size: 15px; }
.cta { padding: 72px 0; }
.cta .card { padding: 48px; display: grid; gap: 20px; justify-items: center; text-align: center; }
.cta .h-section { font-size: clamp(28px, 3.4vw, 40px); }
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: 14px; color: var(--text-muted); }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .site-footer .container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .container { grid-template-columns: 1fr; } }
.site-footer .brand { padding: 0 0 12px; }
.site-footer .brand img { height: 24px; }
.site-footer b { display: block; font-weight: 600; color: var(--text-main); margin-bottom: 12px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--text-body); }
.site-footer .legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.only-light { display: block; } .only-dark { display: none; }
@media (prefers-color-scheme: dark) { .only-light { display: none; } .only-dark { display: block; } }
.auth { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background: var(--surface); }
.auth-card { width: min(440px, 100%); display: grid; gap: 24px; padding: 40px 32px; background: var(--background); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.auth-card .brand { justify-content: center; padding: 0; }
.auth-card .brand img { height: 30px; }
.auth-card .h-section { text-align: center; }
.auth-card .or { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 13px; }
.auth-card .or::before, .auth-card .or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.auth-foot { text-align: center; font-size: 13px; color: var(--text-muted); }

/* ---------- 10. notificări, modale, stări ---------- */
.notif { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; padding: 14px 16px; border-radius: var(--radius-md); background: var(--background); border: 1px solid var(--line); }
.notif.is-unread { background: var(--blue-soft); border-color: transparent; }
.notif b { display: block; font-weight: 600; color: var(--text-main); font-size: 15px; }
.notif p { font-size: 14px; color: var(--text-body); margin-top: 2px; }
.notif time { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.toast { position: fixed; left: 50%; bottom: 100px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--radius-pill); background: var(--text-main); color: var(--background); font: 500 14px/1 var(--font-sans); box-shadow: var(--shadow); z-index: 60; opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(-6px); }
.toast .icon { color: var(--green); }
.banner { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; border-radius: var(--radius-md); background: var(--blue-soft); color: var(--text-main); font-size: 14px; }
.banner b { font-weight: 600; }
.banner-urgent { background: var(--urgent-soft); }
.banner-late { background: var(--late-soft); }
.banner-ai { background: var(--ai-soft); }
.banner-ok { background: var(--green-soft); }
.banner-neutral { background: var(--surface); }
.lock { background: var(--night); color: #FFFFFF; border-radius: 44px; padding: 20px 14px 28px; width: min(390px, 100%); margin: 0 auto; min-height: 720px; display: grid; align-content: start; gap: 20px; border: 1px solid rgb(255 255 255 / .12); }
.lock .lock-time { text-align: center; padding-top: 40px; }
.lock .lock-time b { display: block; font: 300 80px/1 var(--font-sans); letter-spacing: -.03em; }
.lock .lock-time span { font: 500 17px/1.4 var(--font-sans); opacity: .85; }
.lock .notif { background: rgb(255 255 255 / .14); border: 0; color: #FFFFFF; backdrop-filter: blur(10px); }
.lock .notif b, .lock .notif p, .lock .notif time { color: #FFFFFF; }
.lock .notif p { opacity: .85; }
.lock .notif time { opacity: .6; }
.lock .app-ico { width: 40px; height: 40px; border-radius: 10px; }
.email { width: min(600px, 100%); margin: 0 auto; background: #FFFFFF; color: #3E4A63; border-radius: var(--radius-md); border: 1px solid rgb(3 33 71 / .1); overflow: hidden; }
.email-head { padding: 24px 32px 0; }
.email-body { padding: 24px 32px 32px; display: grid; gap: 16px; }
.email-body h2 { color: #032147; font: 800 24px/1.2 var(--font-display); }
.email-body .amount-xl { color: #032147; font-size: 44px; }
.email-body .muted { color: #69758A; }
.email-body .btn-primary { background: #0157EB; color: #FFFFFF; justify-self: start; }
.email-foot { padding: 20px 32px; border-top: 1px solid rgb(3 33 71 / .1); font-size: 12px; color: #69758A; }
.email .doc-meta { font-size: 13px; color: #69758A; display: grid; gap: 4px; padding: 16px 32px; background: #F5F7FB; border-bottom: 1px solid rgb(3 33 71 / .1); }
.email .doc-meta b { color: #032147; font-weight: 600; }
.paper { width: min(720px, 100%); margin: 0 auto; background: #FFFFFF; color: #3E4A63; border-radius: 4px; border: 1px solid rgb(3 33 71 / .12); box-shadow: var(--shadow); padding: 56px 64px; display: grid; gap: 28px; }
.paper h2, .paper h3, .paper b, .paper .amount-xl, .paper .amount-lg { color: #032147; }
.paper .kv { border-color: rgb(3 33 71 / .1); }
.paper .kv > span { color: #69758A; }
.paper .muted { color: #69758A; }
.paper .paper-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.paper .paper-foot { font-size: 12px; color: #69758A; border-top: 1px solid rgb(3 33 71 / .1); padding-top: 16px; }
.paper .stamp { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-pill); background: #E4FAF4; color: #0B7A57; font: 600 13px/1 var(--font-sans); }
@media (max-width: 640px) { .paper { padding: 32px 20px; } .email-head, .email-body, .email-foot { padding-left: 20px; padding-right: 20px; } }
dialog.modal { border: 0; padding: 0; background: transparent; max-width: min(560px, calc(100% - 32px)); width: 100%; }
dialog.modal::backdrop { background: rgb(2 28 65 / .55); }
dialog.modal .modal-card { background: var(--background); color: var(--text-body); border-radius: var(--radius-lg); padding: 32px; display: grid; gap: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
dialog.modal .modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
dialog.modal .modal-head .h-section { margin: 0; }
dialog.modal .modal-foot { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.modal-static { max-width: 560px; }
.modal-static .modal-card { background: var(--background); border-radius: var(--radius-lg); padding: 32px; display: grid; gap: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.modal-static .modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal-static .modal-foot { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.empty { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 48px 24px; border-radius: var(--radius-md); background: var(--surface); }
.empty .h-card { margin-top: 8px; }
.empty p { max-width: 380px; font-size: 15px; color: var(--text-muted); }
.empty .btn { margin-top: 8px; }
.skeleton { background: var(--surface-hi); border-radius: var(--radius-sm); position: relative; overflow: hidden; min-height: 14px; }
.skeleton::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgb(255 255 255 / .5), transparent); animation: shimmer 1.4s infinite; }
@media (prefers-color-scheme: dark) { .skeleton::after { background: linear-gradient(90deg, transparent, rgb(255 255 255 / .08), transparent); } }
@keyframes shimmer { to { transform: translateX(100%); } }
.skeleton-text { height: 14px; width: 60%; }
.skeleton-title { height: 22px; width: 40%; }
.skeleton-amount { height: 36px; width: 50%; }
.skeleton-circle { width: 40px; height: 40px; border-radius: 50%; }
.skeleton-row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spinner { width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--surface-hi); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .skeleton::after, .spinner { animation: none; } }

/* ---------- 11. note pentru dezvoltator și comutatorul demo ---------- */
.notes-btn { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: var(--radius-pill); background: var(--text-main); color: var(--background); font: 600 12px/1 var(--font-sans); box-shadow: var(--shadow); opacity: .75; }
.notes-btn:hover { opacity: 1; }
.notes-btn .icon { width: 14px; height: 14px; }
.phone .notes-btn { bottom: 96px; }
@media (max-width: 960px) { .app .notes-btn { bottom: 96px; } }
@media (max-width: 640px) {
  /* pe telefon, coloana din dreapta nu strivește textul: cel mult 44 % din rând; ce e lung trece pe rândul al doilea */
  .row { grid-template-columns: auto minmax(0, 1fr) fit-content(44%); }
  .row .row-end { max-width: 100%; min-width: 0; }
  .row .row-end > * { max-width: 100%; }
  .row .row-end .chip { white-space: normal; height: auto; min-height: 26px; padding: 4px 10px; line-height: 1.2; text-align: left; }
  .row .row-end .small { white-space: normal; }
  .row .row-end:has(.cluster), .row .row-end:has(.btn), .row .row-end:has(> :nth-child(3)), .row .row-end:has(.small) { grid-column: 2 / -1; max-width: none; justify-items: start; text-align: left; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
  .row .row-end .cluster { justify-content: flex-start !important; }
  .row .row-end:has(.btn) { display: grid; justify-items: stretch; }
  .row .row-end:has(.btn) .btn { width: 100%; }
}
.notes-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 100%); background: var(--background); border-left: 1px solid var(--line); box-shadow: var(--shadow); z-index: 80; transform: translateX(100%); transition: transform var(--dur) var(--ease); overflow-y: auto; padding: 24px; display: grid; gap: 16px; align-content: start; font-size: 14px; }
.notes-panel.is-open { transform: none; }
.notes-panel .notes-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.notes-panel .notes-head b { font: 700 16px/1.2 var(--font-display); color: var(--text-main); }
.notes-panel h4 { font: 600 11px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin: 8px 0 -6px; }
.notes-panel ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.notes-panel p { margin: 0; }
.notes-panel code { font-family: var(--font-mono); font-size: 12px; background: var(--surface); padding: 1px 6px; border-radius: 4px; }
.notes-panel .notes-actions { display: grid; gap: 8px; }
.demo-switch { display: inline-flex; align-items: center; gap: 6px; padding: 3px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--line); }
.demo-switch .demo-label { font: 600 10px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); padding: 0 6px 0 10px; }
.demo-switch a { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: var(--radius-pill); font: 500 12px/1 var(--font-sans); color: var(--text-muted); white-space: nowrap; }
.demo-switch a:hover { text-decoration: none; color: var(--text-main); }
.demo-switch a.is-active { background: var(--background); color: var(--text-main); font-weight: 600; box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) { .demo-switch a.is-active { background: var(--surface-hi); } }
.demo-switch a .avatar { width: 20px; height: 20px; font-size: 9px; }
@media (max-width: 640px) { .demo-switch .demo-label { display: none; } .demo-switch a span:not(.avatar) { display: none; } .demo-switch a { padding: 0 6px; } }
.demo-switch a span { color: inherit; }

/* ---------- 12. utilitare ---------- */
.stack { display: grid; gap: 16px; }
.stack-sm { gap: 8px; } .stack-lg { gap: 24px; } .stack-xl { gap: 40px; }
.cluster { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.mt-0 { margin-top: 0 !important; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.text-right { text-align: right; }
.w-full { width: 100%; }
.hide-mobile { } .hide-desktop { display: none !important; }
@media (max-width: 960px) { .hide-mobile { display: none !important; } .hide-desktop { display: initial !important; } }
.sticky-bottom { position: sticky; bottom: 88px; padding: 12px 0 0; background: linear-gradient(to top, var(--background) 70%, transparent); }
.phone .sticky-bottom { margin: 0 -16px -24px; padding: 12px 16px 16px; }
.dot-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.dot-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.dot-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--line-soft); margin-top: 9px; flex: none; }
/* calendarul: grilă cu linii de 1 px (fundalul grilei = linia), celule pe fundalul paginii */
.calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.calendar .cal-dow { background: var(--surface-hi); text-align: left; font: 600 11px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); padding: 12px; }
.calendar .cal-dow:nth-child(n+6):nth-child(-n+7) { color: var(--text-muted); opacity: .8; }
.calendar .cal-day { min-height: 120px; background: var(--background); padding: 10px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; min-width: 0; transition: background var(--dur) var(--ease); }
.calendar .cal-day:hover { background: var(--surface); }
.calendar .cal-day:nth-child(7n+6), .calendar .cal-day:nth-child(7n) { background: var(--surface); }
.calendar .cal-day:nth-child(7n+6):hover, .calendar .cal-day:nth-child(7n):hover { background: var(--surface-hi); }
.calendar .cal-day > b { align-self: flex-start; display: inline-grid; place-items: center; min-width: 28px; height: 28px; margin: -4px 0 2px -4px; border-radius: 50%; font-weight: 600; color: var(--text-main); font-size: 13px; font-variant-numeric: tabular-nums; }
.calendar .cal-day.is-other { background: var(--surface); }
.calendar .cal-day.is-other > b { color: var(--text-muted); font-weight: 500; }
.calendar .cal-day.is-other .cal-ev { opacity: .55; }
.calendar .cal-day.is-today { background: var(--blue-soft); box-shadow: inset 0 0 0 2px var(--blue); }
.calendar .cal-day.is-today > b { background: var(--blue); color: #FFFFFF; }
.cal-ev { display: block; padding: 4px 8px 4px 7px; border-radius: 6px; border-left: 3px solid var(--blue); font: 500 11.5px/1.3 var(--font-sans); color: var(--text-main); background: var(--blue-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-ev.ok { background: var(--green-soft); border-left-color: var(--green); color: var(--green-text); }
.cal-ev.late { background: var(--late-soft); border-left-color: var(--late); color: var(--late); }
.cal-ev.urgent { background: var(--urgent-soft); border-left-color: var(--urgent); color: var(--urgent); }
.cal-ev.ai { background: var(--ai-soft); border-left-color: var(--ai); color: var(--ai); }
.cal-ev.neutral { background: var(--surface-hi); border-left-color: var(--line-soft); color: var(--text-body); }
@media (max-width: 960px) { .calendar .cal-day { min-height: 56px; padding: 6px; flex-direction: row; flex-wrap: wrap; align-content: flex-start; } .calendar .cal-day > b { width: 100%; } .cal-ev { font-size: 0; height: 6px; width: 6px; border-radius: 50%; padding: 0; border: 0; display: inline-block; margin-right: 3px; } .cal-ev:not(.ok):not(.late):not(.urgent):not(.ai):not(.neutral) { background: var(--blue); } .cal-ev.ok { background: var(--green); } .cal-ev.late { background: var(--late); } .cal-ev.urgent { background: var(--urgent); } .cal-ev.ai { background: var(--ai); } .cal-ev.neutral { background: var(--text-muted); } }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.compare .photo { aspect-ratio: 4 / 3; }
.compare-label { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 4px; }
.map { aspect-ratio: 16 / 9; border-radius: var(--radius-md); background: var(--surface-hi); position: relative; overflow: hidden; border: 1px solid var(--line); }
.map::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; }
.map .pin { position: absolute; width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg) translate(-50%, -50%); background: var(--blue); border: 3px solid var(--background); }
.map .pin.home { background: var(--green); }
.print-only { display: none; }
@media print { .notes-btn, .notes-panel, .demo-switch, .tabbar, .sidebar, .topbar, .phone-top { display: none !important; } .print-only { display: block; } }

/* ---------- 13. componente adăugate la construcția ecranelor (mutate din paginile lor) ---------- */
  /* de mutat în app.css: în ecranul de telefon, comutatorul demo arată doar avatarele, ca titlul să încapă */
  .phone .demo-switch .demo-label, .phone .demo-switch a span:not(.avatar) { display: none; }
  .phone .demo-switch a { padding: 0 6px; }
  .phone-top .h-page { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* de mutat în app.css */
  .pills-scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px; scrollbar-width: none; }
  .pills-scroll::-webkit-scrollbar { display: none; }
  .rating { display: inline-flex; align-items: center; gap: 3px; font: 600 13px/1 var(--font-sans); color: var(--text-main); font-variant-numeric: tabular-nums; }
  .rating .icon { width: 14px; height: 14px; color: var(--text-muted); }
  .field { align-content: start; } /* de mutat în app.css */
  /* de mutat în app.css: pe telefon, butonul din .doc-thumb trece pe rândul al doilea, ca să nu depășească ecranul */
  .stack > * { min-width: 0; }
  @media (max-width: 640px) { .doc-thumb { grid-template-columns: auto 1fr; } .doc-thumb > .btn { grid-column: 1 / -1; justify-self: start; } }
  /* de mutat în app.css: pe telefon, linkul din banner trece sub text */
  @media (max-width: 640px) { .banner { grid-template-columns: auto 1fr; } .banner > .btn { grid-column: 2; justify-self: start; } }
  /* de mutat în app.css: legenda calendarului */
  .cal-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--text-muted); align-items: center; }
  .cal-legend .cal-ev { display: inline-block; }
  .cal-legend .cal-ev, .calendar .cal-dow ~ .cal-day .cal-ev { max-width: 100%; }
  /* de mutat în app.css: indicatorul de pași al ghidului de pornire */
  .stepper { display: grid; gap: 8px; }
  .stepper-bar { display: flex; gap: 6px; }
  .stepper-bar i { display: block; height: 4px; flex: 1; border-radius: 2px; background: var(--line); }
  .stepper-bar i.is-done { background: var(--blue); }
  .stepper-text { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--text-muted); }
  .auth-wrap { width: min(640px, 100%); display: grid; gap: 16px; justify-items: center; }
  .auth-wrap .auth-card { width: 100%; }
  /* de mutat în app.css: câmpul nu se întinde pe înălțimea vecinului din .form-row */
  .field { align-content: start; }
  /* de mutat în app.css: previzualizarea contractului, mai mică decât foaia A4 */
  .paper-preview { padding: 40px 44px; gap: 18px; font-size: 13px; line-height: 1.55; position: sticky; top: 96px; }
  .paper-preview h2 { font: 800 18px/1.3 var(--font-display); text-align: center; }
  .paper-preview h3 { font: 700 13px/1.3 var(--font-sans); margin-top: 6px; }
  .paper-preview p { margin: 0; }
  .paper-preview .paper-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 12px; font-size: 12px; }
  .paper-preview .paper-sign span { display: block; border-top: 1px solid rgb(3 33 71 / .25); padding-top: 8px; margin-top: 36px; }
  .paper-preview .fade { position: relative; max-height: 72px; overflow: hidden; }
  .paper-preview .fade::after { content: ''; position: absolute; inset: auto 0 0; height: 48px; background: linear-gradient(to bottom, transparent, #FFFFFF); }
  @media (max-width: 1100px) { .paper-preview { position: static; } }
  /* de mutat în app.css: previzualizarea documentului de semnat */
  .paper-preview { padding: 40px 44px; gap: 18px; font-size: 13px; line-height: 1.55; }
  .paper-preview h3 { font: 700 13px/1.3 var(--font-sans); }
  .paper-preview .paper-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: 12px; }
  .paper-preview .paper-sign span { display: block; border-top: 1px solid rgb(3 33 71 / .25); padding-top: 8px; margin-top: 8px; }
  .paper-preview .paper-sign svg { height: 44px; width: auto; color: #032147; }
  .paper-preview .paper-sign .pending { height: 44px; display: grid; align-items: end; color: #69758A; font-style: italic; }
  /* de mutat în app.css: cine a semnat, cu bifă sau așteptare */
  .signers { display: grid; gap: 12px; }
  .signer { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
  .signer b { display: block; font-weight: 600; color: var(--text-main); }
  .signer span { font-size: 13px; color: var(--text-muted); }
  /* de mutat în app.css: câmp cu încrederea AI în colț */
  .field-ai { position: relative; }
  .field-ai > label { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  /* de mutat în app.css: capul detaliului unei închirieri (chiriaș + contact) */
  .person { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
  .person b { display: block; font-weight: 600; color: var(--text-main); font-size: 16px; }
  .person .cluster { gap: 6px 14px; font-size: 13px; }
  .person .cluster a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-body); }
  .person .cluster .icon { width: 14px; height: 14px; color: var(--text-muted); }
  /* de mutat în app.css: pe telefon, subsolul cardurilor-statistică se împachetează și coloanele nu depășesc ecranul */
  .stat-foot { flex-wrap: wrap; }
  .cols-2 > *, .stack > * { min-width: 0; }
  /* de mutat în app.css: sugestiile de autocomplete sub câmpul de adresă */
  .suggest { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--background); box-shadow: var(--shadow); overflow: hidden; margin-top: -2px; }
  .suggest .row { padding: 10px 14px; grid-template-columns: auto 1fr; }
  .suggest .row.is-active { background: var(--blue-soft); }
  .suggest .row-text b { font-size: 14px; }
  /* de mutat în app.css: cardul unei locuințe din listă */
  .prop { display: grid; gap: 14px; color: inherit; }
  .prop:hover { text-decoration: none; background: var(--surface-hi); }
  .prop-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
  .prop-head .h-card { margin: 0; }
  .prop-head .small { display: block; margin-top: 2px; }
  .prop .kv { padding: 8px 0; }
  .prop .kv > span { font-size: 13px; }
  .prop .kv > b { font-size: 14px; }
  /* de mutat în app.css: două coloane pentru mesaje (lista 1fr, conversația 1.6fr) și rândul selectat */
  .cols-msgs { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  @media (max-width: 1100px) { .cols-msgs { grid-template-columns: 1fr; } }
  .row.is-selected { background: var(--surface-hi); }
  .thread { display: grid; grid-template-rows: auto 1fr auto; min-height: 560px; padding: 0; overflow: hidden; }
  .thread .thread-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
  .thread .chat { padding: 24px; align-content: end; }
  .thread .composer { position: static; }
  /* de mutat în app.css: comutator compact, în capătul unui rând */
  .switch-inline { padding: 0; border: 0; gap: 10px; cursor: pointer; }
  @media (max-width: 640px) { .row .row-end { justify-items: start; text-align: left; } }
  /* de mutat în app.css: o cameră din procesul-verbal: nume, stare, poze */
  .room { display: grid; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .room:last-child { border-bottom: 0; }
  .room-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .room-head b { font-weight: 600; color: var(--text-main); }
  .room p { font-size: 14px; color: var(--text-body); }
  .room .photos { grid-template-columns: repeat(4, 1fr); }
  @media (max-width: 640px) { .room .photos { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 14. chiriașul pe desktop: bară laterală, conținut pe două coloane ---------- */
.phone .sidebar { display: none; }
@media (min-width: 960px) {
  .phone { display: grid; grid-template-columns: 248px minmax(0, 1fr); background: var(--background); }
  .phone .sidebar { display: flex; grid-row: 1; }
  .phone .screen { max-width: none; width: 100%; margin: 0; border: 0; padding-bottom: 48px; min-width: 0; }
  .phone .tabbar { display: none; }
  .phone .phone-top { padding: 16px 40px; min-height: 72px; border-bottom: 1px solid var(--line); }
  .phone .phone-top .h-page { font-size: 22px; white-space: normal; overflow: visible; }
  .phone .phone-top .icon-btn[aria-label="Înapoi"] { margin-left: -10px; }
  .phone .phone-top-left > picture { display: none; }
  .phone .phone-top { justify-content: flex-start; }
  .phone .phone-top > :last-child { margin-left: auto; }
  .phone .phone-main { padding: 32px 40px 24px; display: block; columns: 2; column-gap: 24px; }
  .phone .phone-main > * { break-inside: avoid; margin: 0 0 24px; }
  .phone .phone-main > .greeting { column-span: all; margin-bottom: 24px; }
  .phone .phone-main > .greeting .h-page { font-size: 28px; }
  .phone .phone-main > .hero-pay .amount-xl { font-size: 48px; }
  .phone[data-desktop="single"] .phone-main { columns: 1; max-width: 760px; }
  .phone[data-desktop="wide"] .phone-main { columns: 1; max-width: none; }
  .phone .sticky-bottom { position: static; margin: 0; padding: 0; background: none; }
  .phone .composer { bottom: 0; }
  .phone .notes-btn { bottom: 16px; }
  .phone[data-desktop="wide"] .notes-btn { bottom: 96px; }
  .phone .demo-switch .demo-label, .phone .demo-switch a span:not(.avatar) { display: inline; }
  .phone .demo-switch a { padding: 0 12px; }
  .phone .quick { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 15. previzualizarea pe telefon (butonul cu telefon din antet) ---------- */
.preview-btn { display: none; }
@media (min-width: 960px) { .preview-btn { display: inline-flex; } }
.preview-overlay { position: fixed; inset: 0; z-index: 90; background: rgb(2 28 65 / .72); backdrop-filter: blur(6px); display: grid; grid-template-rows: auto 1fr; justify-items: center; align-content: start; gap: 16px; padding: 20px 24px 28px; }
.preview-bar { display: flex; align-items: center; gap: 12px; color: #FFFFFF; font: 500 14px/1 var(--font-sans); }
.preview-bar b { font-weight: 600; }
.preview-bar .btn { color: #FFFFFF; border-color: rgb(255 255 255 / .4); }
.preview-bar .btn:hover { background: rgb(255 255 255 / .12); }
.preview-device { width: 390px; height: min(844px, calc(100vh - 110px)); border-radius: 48px; padding: 12px; background: var(--night); border: 1px solid rgb(255 255 255 / .25); box-shadow: 0 30px 80px rgb(0 0 0 / .45); position: relative; }
.preview-device iframe { width: 100%; height: 100%; border: 0; border-radius: 38px; background: #FFFFFF; display: block; }
body.has-preview { overflow: hidden; }

/* ---------- 16. landing: panoul de deschidere, benzile, cardurile mari ---------- */
.site .container { max-width: 1240px; padding-inline: clamp(24px, 6vw, 96px); }
.site-header .container { min-height: 80px; }
.lp-hero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 80px); }
.lp-hero .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .lp-hero .container { grid-template-columns: 1fr; } }
.lp-hero .display { font-size: clamp(44px, 5.6vw, 76px); }
.lp-hero .lead { font-size: clamp(18px, 1.5vw, 21px); max-width: 540px; }
.lp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-pill); background: var(--green-soft); color: var(--green-text); font: 600 13px/1 var(--font-sans); }
.lp-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.lp-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--text-muted); }
.lp-trust span { display: inline-flex; align-items: center; gap: 8px; }
.lp-trust .icon { width: 16px; height: 16px; color: var(--green-text); }
.lp-visual { position: relative; border-radius: 32px; background: var(--surface); padding: 120px clamp(24px, 4vw, 48px); display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.lp-visual::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(var(--line-soft) 1px, transparent 1px); background-size: 22px 22px; opacity: .55; z-index: -1; }
.lp-visual .device { max-width: 340px; margin: 0; box-shadow: 0 30px 60px rgb(3 33 71 / .14); }
@media (prefers-color-scheme: dark) { .lp-visual .device { box-shadow: 0 30px 60px rgb(0 0 0 / .45); } }
.lp-float { position: absolute; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px 16px; border-radius: var(--radius-md); background: var(--background); border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 260px; }
.lp-float b { display: block; font-weight: 600; color: var(--text-main); font-size: 14px; }
.lp-float span { font-size: 12px; color: var(--text-muted); }
.lp-float-1 { left: 24px; top: 24px; }
.lp-float-2 { right: 24px; bottom: 24px; }
@media (max-width: 1100px) { .lp-float { display: none; } .lp-visual { padding: clamp(24px, 4vw, 48px); } }
.lp-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--background); }
.lp-band .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 32px; padding-bottom: 32px; }
@media (max-width: 900px) { .lp-band .container { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lp-stat b { display: block; font: 800 36px/1 var(--font-display); color: var(--text-main); letter-spacing: -.02em; }
.lp-stat span { display: block; margin-top: 6px; font-size: 14px; color: var(--text-muted); }
.lp-section { padding: clamp(64px, 8vw, 112px) 0; }
.lp-section .section-intro { margin-bottom: clamp(32px, 4vw, 56px); }
.lp-section .section-intro .h-section { font-size: clamp(30px, 3.6vw, 44px); }
.lp-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
@media (max-width: 900px) { .lp-two { grid-template-columns: 1fr; } }
.lp-screen { border-radius: var(--radius-lg); background: var(--surface); padding: 24px; display: grid; gap: 16px; }
.lp-screen-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-screen-head .eyebrow { color: var(--text-muted); }
.lp-screen .card, .lp-screen .list-card { background: var(--background); }
.lp-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(32px, 4vw, 56px) 0; }
.lp-feature + .lp-feature { border-top: 1px solid var(--line); }
.lp-feature.flip > :first-child { order: 2; }
@media (max-width: 900px) { .lp-feature { grid-template-columns: 1fr; gap: 24px; } .lp-feature.flip > :first-child { order: 0; } }
.lp-feature .h-section { font-size: clamp(26px, 2.8vw, 36px); }
.lp-feature ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.lp-feature li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.lp-feature li .icon { width: 18px; height: 18px; color: var(--green-text); margin-top: 3px; flex: none; }
.lp-feature .lp-screen { box-shadow: var(--shadow); }
.lp-legal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .lp-legal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lp-legal { grid-template-columns: 1fr; } }
.lp-legal .zone { background: var(--background); }
.lp-cta .card { background: var(--text-main); color: var(--background); border-radius: 32px; padding: clamp(40px, 6vw, 80px); }
.lp-cta .card .h-section, .lp-cta .card .lead { color: var(--background); }
.lp-cta .card .h-section em { color: var(--blue-hi); }
.lp-cta .card .lead { opacity: .8; }
.lp-cta .card .btn-link { color: var(--blue-hi); }
@media (prefers-color-scheme: dark) { .lp-cta .card { background: var(--surface-hi); color: var(--text-main); } .lp-cta .card .h-section, .lp-cta .card .lead { color: var(--text-main); } }
