/* Telefonul desenat: aceeași componentă pe prima pagină (hero) și pe pagina Încearcă (ghidul de instalare).
   Rama, ecranul, notificarea de apel, banda și cardul Vizor, plăcuțele și butoanele din exemple.
   Mărimea vine din --pw (lățimea telefonului), stabilită de pagină. Tot ce e în telefon e în em, deci se scalează împreună.
   Culorile vin din variabilele paginii (--ink, --text, --fill, --orange…); cele de mai jos lipsesc din unele pagini. */
:root { --red: #c0262d; --red-tint: #fce8e8; --amber: #a65b00; --amber-tint: #fdf1dc; --wa: #25d366; }

/* Rama: metal periat, cu lumină pe colțuri; sub ea, bordura neagră a ecranului. */
.phone {
	position: relative;
	width: var(--pw);
	aspect-ratio: 9 / 19.2;
	font-size: calc(var(--pw) / 22.5);
	border-radius: 3.3em;
	background: linear-gradient(140deg, #a29e97 0%, #4a4743 8%, #1c1b19 26%, #0d0c0b 58%, #2c2a28 84%, #7c7872 100%);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, .06),
		0 .2em .4em rgba(0, 0, 0, .5),
		0 1.4em 2.4em -.8em rgba(0, 0, 0, .75),
		0 3.4em 5em -2em rgba(0, 0, 0, .9);
}
.phone::before, .phone::after { content: ""; position: absolute; right: -.13em; width: .17em; border-radius: 0 .12em .12em 0; background: linear-gradient(90deg, #1f1e1c, #7d7973 55%, #3a3835); }
.phone::before { top: 8.6em; height: 3.2em; }
.phone::after { top: 13.3em; height: 5.6em; }
.screen {
	position: absolute; inset: .5em; overflow: hidden;
	border-radius: 2.82em;
	box-shadow: 0 0 0 .34em #050505, 0 0 0 .37em rgba(255, 255, 255, .07);
	background:
		linear-gradient(125deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 22%),
		radial-gradient(120% 70% at 12% 0%, #6a513c 0%, rgba(106, 81, 60, 0) 60%),
		radial-gradient(90% 60% at 105% 38%, #4a2f22 0%, rgba(74, 47, 34, 0) 62%),
		linear-gradient(180deg, #211e1b 0%, #0c0b0a 100%);
	font-family: var(--body);
	font-variant-numeric: tabular-nums;
	color: var(--text);
	line-height: 1.35;
}
.cam { position: absolute; top: .8em; left: 50%; width: .86em; height: .86em; margin-left: -.43em; border-radius: 50%; background: radial-gradient(circle at 38% 36%, #2c323a 0%, #0b0d10 42%, #000 72%); box-shadow: 0 0 0 .1em #0c0c0c, 0 0 0 .13em rgba(255, 255, 255, .05); z-index: 3; }
.sbar { position: absolute; top: 0; left: 0; right: 0; height: 2.45em; display: flex; align-items: center; justify-content: space-between; padding: .2em 1.55em 0; color: #fff; font-size: .82em; font-weight: 700; z-index: 2; }
.sbar svg { height: 1em; width: auto; }
.sbar span:last-child { display: flex; gap: .35em; align-items: center; }
.dock { position: absolute; left: 1.6em; right: 1.6em; bottom: 2.4em; display: flex; justify-content: space-between; }
.dock i { display: grid; place-items: center; width: 3.3em; height: 3.3em; border-radius: 50%; background: rgba(255, 255, 255, .13); }
.dock svg { width: 1.45em; height: 1.45em; stroke: rgba(255, 255, 255, .8); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Bara de jos a telefonului: butoanele Android (înapoi, acasă, aplicații recente), nu bara de iPhone (proprietarul, 29.11.2026). */
.gbar { position: absolute; bottom: .55em; left: 50%; width: 9.6em; height: 1.28em; margin-left: -4.8em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 16' fill='none' stroke='white' stroke-width='2' stroke-linejoin='round' opacity='.75'%3E%3Cpath d='M17 2.5 7.5 8l9.5 5.5z'/%3E%3Ccircle cx='60' cy='8' r='5.5'/%3E%3Crect x='97.5' y='2.5' width='11' height='11' rx='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Notificarea de apel a telefonului */
.nt { position: absolute; top: 2.65em; left: .55em; right: .55em; z-index: 4; padding: .95em; border-radius: 1.55em; background: #edeae6; box-shadow: 0 .6em 1.6em rgba(2, 10, 12, .3); }
.nt-r { display: grid; grid-template-columns: 2.5em 1fr; gap: .7em; align-items: center; }
.nt-a { display: grid; place-items: center; width: 2.5em; height: 2.5em; border-radius: 50%; background: #d8d3cd; }
.nt-a svg { width: 1.3em; height: 1.3em; fill: #5a554f; }
.nt-n { font-size: .8em; color: #55504a; }
.nt-t { font-size: 1em; font-weight: 600; color: #1c1a18; }
.nt-b { display: grid; grid-template-columns: 1fr 1fr; gap: .55em; margin-top: .8em; }
.nt-b > * { display: flex; align-items: center; justify-content: center; gap: .45em; height: 2.75em; border-radius: 999px; color: #fff; font-size: .92em; font-weight: 650; }
.nt-b svg { width: 1.1em; height: 1.1em; fill: #fff; }
.nt-b > :first-child { background: #d93025; }
.nt-b > :first-child svg { transform: rotate(135deg); }
.nt-b > :last-child { background: #137a35; }

/* Vizor: banda și cardul (ca în aplicație) */
.vz { position: absolute; top: 11.05em; left: .45em; right: .45em; z-index: 5; height: 9.95em; overflow: hidden; border-radius: 1.5em; background: #fff; box-shadow: 0 1.1em 2.6em rgba(2, 10, 12, .42), 0 .2em .5em rgba(2, 10, 12, .18); }
.ava { display: grid; place-items: center; width: 2.9em; height: 2.9em; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 1em; letter-spacing: .01em; flex: none; }
.ava span { font-size: .95em; }
.strip { padding: 1em 1em .9em; }
.strip .hd { display: grid; grid-template-columns: 2.9em minmax(0, 1fr) 2.2em; column-gap: .75em; align-items: start; }
.nm { display: block; font-size: 1.18em; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.st { display: block; margin-top: .12em; font-size: .86em; font-weight: 700; color: var(--info); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chips { display: flex; gap: .35em; margin-top: .5em; flex-wrap: nowrap; }
.chip { display: inline-flex; align-items: center; gap: .35em; padding: .28em .62em; border-radius: 999px; font-size: .72em; font-weight: 700; line-height: 1.3; white-space: nowrap; background: var(--fill); color: var(--text-2); }
.chip svg { width: 1.05em; height: 1.05em; }
.chip--flag { background: var(--red-tint); color: var(--red); padding-left: .5em; }
.chip--flag svg { fill: var(--red); }
.chip--back { background: var(--amber-tint); color: var(--amber); }
.chev { display: grid; place-items: center; width: 2.2em; height: 2.2em; margin-top: .3em; border-radius: 50%; background: var(--fill); }
.chev svg, .ico svg { width: 1.05em; height: 1.05em; fill: none; stroke: var(--text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.facts { display: flex; align-items: center; gap: .55em; margin-top: .8em; padding-top: .75em; border-top: 1px solid var(--line); font-size: .8em; font-weight: 600; color: var(--muted); white-space: nowrap; }
.facts > .num { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.live { flex: none; }
.live { display: inline-flex; align-items: center; gap: .4em; padding: .3em .7em .3em .6em; border-radius: 999px; background: var(--orange-tint); color: var(--orange-ink); font-weight: 800; font-size: .95em; }
.live svg { width: 1.1em; height: 1.1em; fill: var(--orange); transform-origin: 50% 60%; }
.dot { color: var(--on-ink-3); }

.vz .strip { position: absolute; inset: 0 0 auto 0; }
.card { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 1em 1.05em .95em; }
.card > * { flex-shrink: 0; }
.card .hd { display: grid; grid-template-columns: 2.9em minmax(0, 1fr) auto; column-gap: .75em; align-items: start; }
.sub { display: block; margin-top: .15em; font-size: .78em; font-weight: 600; color: var(--muted); line-height: 1.35; }
.ico { display: flex; gap: .2em; margin-top: .35em; }
.ico .b { display: grid; place-items: center; width: 2em; height: 2em; }
.tagrow { display: flex; align-items: center; gap: .4em; margin-top: .85em; min-width: 0; }
/* Cu multe etichete, rândul nu iese din card: eticheta lungă se scurtează, avertismentul și butonul rămân întregi. */
.tagrow .chip { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tagset .chip { display: block; }
.tagrow .chip--flag, .tagrow .chip--more, .tagrow .add { flex: none; }
.tagrow .add { display: inline-flex; align-items: center; gap: .3em; margin-left: .05em; padding: .35em .55em; border-radius: 999px; font-size: .78em; font-weight: 700; color: var(--ink); }
.tagrow .add svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.big { margin-top: .55em; font-size: 1.72em; font-weight: 800; letter-spacing: -.035em; line-height: 1.12; color: var(--text); }
.ord { margin-top: .25em; font-size: .82em; font-weight: 600; color: var(--text-2); }
.prods { margin-top: .2em; font-size: .82em; font-weight: 750; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prods span { color: var(--muted); font-weight: 600; }
.prog { display: grid; grid-template-columns: repeat(3, 1fr); gap: .25em .3em; margin-top: .85em; }
.prog i { height: .28em; border-radius: 1em; background: var(--line-2); }
.prog i.on { background: var(--info); }
.prog span { font-size: .7em; font-weight: 600; color: var(--muted); margin-top: .3em; }
.prog span.on { color: var(--info); font-weight: 750; text-align: center; }
.prog span:last-of-type { text-align: right; }
.rows { margin-top: .55em; }
.rw { display: flex; justify-content: space-between; align-items: center; gap: .8em; padding: .62em 0; border-top: 1px solid var(--line); font-size: .8em; }
.rw > span:first-child { color: var(--muted); font-weight: 600; }
.lk { display: inline-flex; align-items: center; gap: .3em; color: var(--info); font-weight: 750; white-space: nowrap; }
.lk svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rw strong { font-weight: 800; color: var(--text); }
.card .chip { font-size: .76em; }
/* Zonă de atingere mai mare pentru butoanele mici din exemple, fără să se schimbe desenul. */
.lk, .tagrow .add, .ico .b { position: relative; }
.lk::after, .tagrow .add::after { content: ""; position: absolute; inset: -.6em -.35em; }
.ico .b::after { content: ""; position: absolute; inset: -.25em; border-radius: 50%; }
/* Pe telefon, ca în aplicație: „Scrie pe WhatsApp” și „Notiță” pe același rând. */
.acts { margin-top: auto; display: grid; grid-template-columns: 1.6fr 1fr; gap: .45em; }
.acts .b { display: flex; align-items: center; justify-content: safe center; gap: .45em; min-width: 0; height: 2.8em; padding-inline: .7em; overflow: hidden; border-radius: 999px; background: var(--fill); font-size: .8em; font-weight: 750; color: var(--text); white-space: nowrap; }
/* „Scrie pe WhatsApp”: butonul e în culoarea brandului (cărbune, text alb); verdele WhatsApp e doar cercul mic din jurul pictogramei. */
.acts .wa { background: var(--ink); color: #fff; }
.acts .wa svg { box-sizing: content-box; width: .9em; height: .9em; padding: .25em; border-radius: 50%; background: var(--wa); color: #0b1f12; }
.acts svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
/* Cardul de pe telefon e doar de citit: emailul, adresa și AWB-ul se copiază la atingere. */
.hl { margin: .3em 0 0 3.65em; }
.hl .b { display: flex; align-items: center; gap: .45em; width: 100%; padding: .2em 0; font-size: .74em; font-weight: 600; color: var(--text-2); text-align: left; border-radius: .4em; }
.hl .b:hover { color: var(--text); }
.hl-i { flex: none; width: 1.1em; height: 1.1em; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cp-t { display: grid; flex: 1; min-width: 0; }
.cp-t > * { grid-area: 1 / 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-ok { visibility: hidden; font-weight: 800; color: #1b6b37; }
.cp.done .cp-v { visibility: hidden; }
.cp.done .cp-ok { visibility: visible; }
.cp svg.cp-k { display: none; stroke: #1b6b37; }
.cp.done svg.cp-c { display: none; }
.cp.done svg.cp-k { display: block; }
.cp svg.cp-c, .cp svg.cp-k { flex: none; width: 1em; height: 1em; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cp svg.cp-c { stroke: var(--muted); }
.rw .cp { gap: .4em; }
.rw .cp .cp-t { text-align: right; }

/* Stările demonstrației. Fără JS sau cu mișcare redusă se vede cadrul final: cardul deschis. */
.tap { position: absolute; z-index: 6; top: 15.4em; left: 58%; width: 3.4em; height: 3.4em; margin: -1.7em; border-radius: 50%; background: rgba(8, 20, 22, .2); opacity: 0; pointer-events: none; }
.phone .strip { opacity: 0; visibility: hidden; }
.phone[data-s="open"] .vz { height: min(var(--oh, 28.6em), 28.6em); }
.phone[data-s="idle"] .nt { opacity: 0; visibility: hidden; }
.phone:is([data-s="idle"], [data-s="call"]) .vz { opacity: 0; visibility: hidden; }
.phone:is([data-s="idle"], [data-s="call"], [data-s="strip"], [data-s="tap"]) .strip { opacity: 1; visibility: visible; }
.phone:is([data-s="idle"], [data-s="call"], [data-s="strip"], [data-s="tap"]) .card { opacity: 0; visibility: hidden; }
.phone:is([data-s="idle"], [data-s="call"], [data-s="strip"], [data-s="tap"]) .card > * { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
	.phone.run .nt { transition: opacity .3s ease, visibility 0s linear .3s; }
	.phone.run:not([data-s="idle"]):not([data-call="off"]) .nt { transition: opacity .3s ease, visibility 0s; }
	.phone.run .vz { transition: opacity .35s ease, height .75s var(--ease), visibility 0s; }
	.phone.run[data-s="closed"] .vz { transition: opacity .25s ease, visibility 0s linear .25s; }
	.phone.run .strip { transition: opacity .18s ease, visibility 0s linear .18s; }
	.phone.run:is([data-s="strip"], [data-s="tap"]) .strip { transition: opacity .2s ease; }
	.phone.run .card { transition: opacity .2s ease .12s, visibility 0s; }
	.phone.run .card > * { transition: opacity .45s ease; transition-delay: calc(.18s + var(--i, 0) * 55ms); }
	.phone.run[data-call="ring"]:is([data-s="strip"], [data-s="tap"]) .live svg { animation: buzz 1.5s ease-in-out .4s 3; }
	.phone.run[data-s="tap"] .tap { animation: tap .55s ease-out forwards; }
}
@keyframes buzz {
	0%, 62%, 100% { transform: rotate(0); }
	68% { transform: rotate(-16deg); }
	74% { transform: rotate(14deg); }
	80% { transform: rotate(-11deg); }
	86% { transform: rotate(8deg); }
	92% { transform: rotate(0); }
}
@keyframes tap { 0% { opacity: 0; transform: scale(.4); } 35% { opacity: 1; } 100% { opacity: 0; transform: scale(1.5); } }

/* Exemplele se pot apăsa: fiecare buton arată ce face în aplicație. */
:where(button.b) { appearance: none; -webkit-appearance: none; margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.b { transition: background-color .15s ease, color .15s ease, filter .15s ease, transform .15s var(--ease); }
.b:active { transform: scale(.97); }
.nt-b .b:hover { filter: brightness(1.12); }
.ico .b { border-radius: 50%; }
.ico .b:hover, .pn-back:hover { background: var(--line); }
.tagrow .add:hover { background: var(--fill); }
.lk:hover { color: var(--orange-ink); }
.acts .b:hover { background: var(--line-2); }
.acts .wa:hover { background: var(--ink-lift); }
.hit { position: absolute; inset: 0; z-index: 2; width: 100%; border-radius: inherit; }
.hit:focus-visible { outline-offset: -3px; }
.strip:has(.hit:hover) .chev { background: var(--line-2); }
.tagset { display: contents; }

/* Apelul din telefon: răspuns sau respins. */
.phone[data-call="off"] .nt { opacity: 0; visibility: hidden; }
.phone[data-call="off"] .vz { top: 2.9em; }
.phone[data-call="talk"] .nt-b { grid-template-columns: 1fr; }
.phone[data-call="talk"] [data-act="answer"] { display: none; }
.phone[data-s="closed"] .vz { opacity: 0; visibility: hidden; }
/* Cât e deschis cardul Vizor, bara de jos a ecranului de acasă (dock) nu se vede: altfel iconițele ies de sub card (28.11.2026). */
.phone[data-s="open"] .dock { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
	.phone.run .dock { transition: opacity .3s ease .25s, visibility 0s; }
	.phone.run[data-s="open"] .dock { transition: opacity .2s ease, visibility 0s linear .2s; }
}

/* Fereastra închisă */
.gone { display: none; flex-direction: column; align-items: flex-start; gap: .75em; padding: 1em 1.05em; border-radius: 1.5em; background: #fff; }
.gone p { font-size: .82em; font-weight: 650; color: var(--text-2); }
.gone .b { padding: .62em 1.1em; border-radius: 999px; background: var(--ink); color: #fff; font-size: .8em; font-weight: 750; }
.gone .b:hover { background: var(--ink-lift); }
.phone[data-s="closed"] .gone { display: flex; position: absolute; z-index: 5; top: 11.05em; left: .45em; right: .45em; box-shadow: 0 1.1em 2.6em rgba(2, 10, 12, .42); }
.phone[data-s="closed"][data-call="off"] .gone { top: 2.9em; }

/* Ce se deschide la fiecare buton */
.pn { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; padding: .9em 1em 1em; border-radius: inherit; background: #fff; overflow: hidden; }
.pn[hidden] { display: none; }
.pn-h { display: flex; align-items: center; gap: .55em; flex: none; }
.pn-back { display: grid; place-items: center; flex: none; width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--fill); }
.pn-back svg { width: 1.1em; height: 1.1em; fill: none; stroke: var(--text); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pn-t { font-size: 1.02em; font-weight: 800; letter-spacing: -.015em; }
.pn-c { flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; touch-action: pan-y; margin-top: .8em; overscroll-behavior: contain; scrollbar-width: thin; }
.pn-f { flex: none; margin-top: .75em; padding: .6em .75em; border-radius: .8em; background: var(--soft); font-size: .76em; font-weight: 600; line-height: 1.4; color: var(--text-2); }
.pn-f b { font-weight: 800; color: var(--text); }
.pn-l { display: block; margin-top: 1em; font-size: .74em; font-weight: 750; color: var(--muted); }
.pn-l:first-child { margin-top: 0; }
.pn-l span { font-weight: 600; }
.pn-chips { display: flex; flex-wrap: wrap; gap: .35em; margin-top: .45em; }
.pn-chips .b { padding: .45em .75em; border-radius: 999px; background: var(--fill); font-size: .74em; font-weight: 700; color: var(--text-2); }
.pn-chips .b:hover { background: var(--line-2); }
.pn-chips .b[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pn-ta { display: block; width: 100%; margin-top: .45em; padding: .6em .75em; border: 1px solid var(--line-2); border-radius: .75em; background: #fff; font: inherit; font-size: .8em; font-weight: 600; line-height: 1.4; color: var(--text); resize: none; }
.pn-ta::placeholder { color: var(--muted); opacity: 1; }
.pn-ta:focus { outline: 2px solid var(--info); outline-offset: -1px; }
.pn-ck { display: flex; align-items: center; gap: .55em; margin-top: .75em; font-size: .78em; font-weight: 700; cursor: pointer; }
.pn-ck input { flex: none; width: 1.25em; height: 1.25em; margin: 0; accent-color: var(--ink); }
.pn-auto { margin-top: .8em; font-size: .74em; font-weight: 650; color: var(--muted); }
.pn-auto.on { color: #1b6b37; font-weight: 800; }
.pn-auto.on::before { content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .3em; vertical-align: -.15em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b6b37' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.pn-go { display: flex; align-items: center; justify-content: center; width: 100%; height: 2.8em; margin-top: .9em; border-radius: 999px; background: var(--ink); color: #fff; font-size: .8em; font-weight: 750; text-align: center; }
.pn-go:hover { background: var(--ink-lift); }
.pn-s { margin-top: .25em; font-size: .78em; font-weight: 600; color: var(--muted); }
.pn-list { margin-top: .75em; }
.pn-list li { display: flex; justify-content: space-between; gap: .8em; padding: .55em 0; border-top: 1px solid var(--line); font-size: .8em; font-weight: 600; color: var(--text-2); }
.pn-list b { font-weight: 800; color: var(--text); white-space: nowrap; }
.pn-list .tot { border-top-color: var(--line-2); font-weight: 800; color: var(--text); }
.wa-box { display: flex; flex-direction: column; min-height: 100%; border-radius: .9em; overflow: hidden; background: #ece6dd; }
.wa-top { display: flex; align-items: center; gap: .55em; padding: .6em .7em; background: #fff; border-bottom: 1px solid var(--line); }
.wa-top .ava { width: 2.2em; height: 2.2em; font-size: .85em; }
.wa-top b { display: block; font-size: .84em; font-weight: 800; line-height: 1.2; }
.wa-top small { display: block; font-size: .7em; font-weight: 600; color: var(--muted); }
.wa-day { align-self: center; margin: .9em 0 auto; padding: .25em .7em; border-radius: .5em; background: rgba(255, 255, 255, .75); font-size: .66em; font-weight: 700; color: var(--muted); }
.wa-in { display: flex; align-items: center; gap: .45em; padding: 2.5em .5em .55em; }
.wa-txt { flex: 1; min-width: 0; padding: .65em .85em; border-radius: 1.2em; background: #fff; font-size: .8em; font-weight: 600; color: var(--text); }
.wa-txt i { display: inline-block; width: 1.5px; height: 1.15em; margin-left: 1px; vertical-align: -.22em; background: var(--text); }
.wa-send { display: grid; place-items: center; flex: none; width: 2.3em; height: 2.3em; border-radius: 50%; background: var(--wa); }
.wa-send svg { width: 1em; height: 1em; fill: var(--ink-deep); }
.toast { position: absolute; left: .8em; right: .8em; bottom: .8em; z-index: 6; display: flex; align-items: center; gap: .55em; padding: .75em .9em; border-radius: .9em; background: var(--ink); color: #fff; font-size: .78em; font-weight: 700; line-height: 1.35; opacity: 0; transform: translateY(.6em); pointer-events: none; transition: opacity .25s ease, transform .35s var(--ease); }
.toast.on { opacity: 1; transform: none; }
.toast svg { flex: none; width: 1.15em; height: 1.15em; fill: none; stroke: var(--orange); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
	.pn.in { animation: pnin .4s var(--ease); }
	.wa-txt i { animation: caret 1.05s steps(1) infinite; }
}
@keyframes pnin { from { opacity: 0; } }
@keyframes caret { 50% { opacity: 0; } }

/* Zone de atingere: pe telefon, tot ce se apasă are cel puțin 44 px. */
.pn-back, .nt-b .b { position: relative; }
.lk::after, .tagrow .add::after { inset: auto -.35em; top: 50%; height: max(100%, 44px); transform: translateY(-50%); }
/* Zonele invizibile stau deasupra rândurilor vecine (unele sunt poziționate pentru adnotări). */
.lk::after, .tagrow .add::after, .ico .b::after, .pn-back::after, .nt-b .b::after { z-index: 1; }
/* Butoanele „strânge” și „închide” stau lipite: fiecare își lărgește zona spre partea lui, ca să nu se suprapună. */
.ico .b::after { inset: min(-.25em, calc(1em - 22px)) -.1em; border-radius: 0; }
.ico .b:first-child::after { left: min(-.25em, calc(2em - 42px)); }
.ico .b:last-child::after { right: min(-.25em, calc(2em - 42px)); }
.pn-back::after { content: ""; position: absolute; inset: min(-.2em, calc(1.1em - 22px)); border-radius: 50%; }
.nt-b .b::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: max(100%, 44px); transform: translateY(-50%); }
@media (max-width: 759px) {
	.acts .b, .acts .wa { height: auto; min-height: 44px; }
	.pn-go, .gone .b { min-height: 44px; }
	.pn-chips .b { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
	.pn-ck { min-height: 44px; margin-top: .4em; }
	/* În telefonul desenat, cardul deschis crește puțin ca să încapă rândurile și butoanele mai înalte. */
	.vz .rw:has(> .lk) { min-height: 46px; padding-block: 0; }
	.phone[data-s="open"] .vz { height: min(var(--oh, 34.6em), 34.6em); }
	/* Emailul și adresa: rânduri de cel puțin 44 px, ca în aplicație (acolo 40 dp). */
	.hl { margin-top: 0; }
	.hl .b { position: relative; min-height: 32px; padding-block: 0; }
	.hl .b::after { content: ""; position: absolute; left: 0; right: 0; height: 44px; z-index: 1; }
	.hl .b:first-child::after { bottom: 0; }
	.hl .b:last-child::after { top: 0; }
	.pn-chips { gap: .45em; }
}

/* ---------- Cardul din telefon, varianta C „Petrol” (decizia din 23.11.2026) ----------
   Fără cercul cu inițiale. Cărbunele e doar text; tot ce se apasă e petrol. Antetul stă pe rama crem, comanda pe foaia albă.
   „Sună acum” galben deschis. Pe telefon cardul e doar de citit: fără „Deschide comanda”. */
.vz { --act: #1f6270; --act-hover: #1a5361; --act-tint: #e3eff2; --act-tint-2: #d0e4e9; --act-ink: #174f5b; background: var(--soft); }
.vz .nm { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
.strip .hd { grid-template-columns: minmax(0, 1fr) 2.2em; }
.strip .nm { font-size: 1.3em; }
.chev { background: var(--act-tint); }
.chev svg { stroke: var(--act); }
.strip:has(.hit:hover) .chev { background: var(--act-tint-2); }
.vz .chip { background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.vz .chip--flag, .vz .chip--back { box-shadow: none; }
.vz .chip--flag { background: var(--red-tint); }
/* Stelele clientului (docs/NIVEL-LOCAL.md), ca în cardul din WordPress și în aplicație: 5 stele (pline în culoarea
   plăcuței, goale doar conturul, la 50%), cuvântul și motivul. Verde la 4-5 stele, roșu la 1-2, gri la 3 și la clientul nou.
   Steaua e aceeași ca în modul (Order_Trust::STAR). Cititorul de ecran aude textul din .sr („4 stele din 5.”), nu desenul. */
.stars { display: inline-flex; flex: none; gap: .06em; }
.stars i { display: block; flex: none; width: 1em; height: 1em; background: currentColor; opacity: .5; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 5.9 6.5.9-4.7 4.6 1.1 6.5L12 17.4l-5.8 3.1 1.1-6.5-4.7-4.6 6.5-.9z' fill='none' stroke='%23000' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 5.9 6.5.9-4.7 4.6 1.1 6.5L12 17.4l-5.8 3.1 1.1-6.5-4.7-4.6 6.5-.9z' fill='none' stroke='%23000' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.stars i.on { opacity: 1; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 5.9 6.5.9-4.7 4.6 1.1 6.5L12 17.4l-5.8 3.1 1.1-6.5-4.7-4.6 6.5-.9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6l2.9 5.9 6.5.9-4.7 4.6 1.1 6.5L12 17.4l-5.8 3.1 1.1-6.5-4.7-4.6 6.5-.9z'/%3E%3C/svg%3E"); }
/* Pe bandă: stelele mici și cuvântul („★★★★☆ Client bun”), înaintea etichetelor. Motivul e în card. */
.vz .chip--stars { gap: .4em; padding-left: .55em; background: var(--fill); box-shadow: none; color: #34312d; font-weight: 800; flex: none; }
.chip--stars .stars i { width: .8em; height: .8em; }
.vz .chip--stars-success { background: #e3f3e9; color: #1c6e3f; }
.vz .chip--stars-danger { background: var(--red-tint); color: var(--red); }
.st-stars { display: flex; margin-top: .45em; }
.phone:not([data-s="open"]) .vz { height: var(--sh, 11.75em); }
.strip .chips .chip { min-width: 0; }
.facts { border-top-color: var(--line-2); }
.card { padding: .95em .35em .35em; }
.card .hd { display: flex; align-items: flex-start; justify-content: space-between; gap: .5em; padding: 0 .3em 0 .75em; }
.card .hd .nm { font-size: 1.32em; line-height: 1.15; padding-top: .1em; }
.ico { margin-top: 0; }
.ico .b:first-child { background: var(--act-tint); }
.ico .b:first-child svg { stroke: var(--act); }
.ico .b:first-child:hover { background: var(--act-tint-2); }
.callln { display: flex; align-items: center; flex-wrap: wrap; gap: .25em .5em; margin-top: .1em; padding-left: .893em; font-size: .84em; font-weight: 750; color: var(--text); }
.callln .live { font-size: .88em; }
.card .sub { margin-top: .2em; padding-left: 1.0135em; font-size: .74em; }
/* „Ultimul apel: …”, imediat sub „client din …”. Dacă nu încape, se rupe pe al doilea rând. */
.card .sub + .sub { margin-top: 0; }
.card .hl { margin: .35em 0 0; padding-left: .75em; padding-right: .5em; }
.card .tagrow { margin-top: .5em; padding-left: .75em; }
.tagrow .add { border: 1.5px dashed #6f9ea8; color: var(--act-ink); padding: .25em .55em; }
.tagrow .add:hover { background: var(--act-tint); }
.sheet { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; margin-top: .75em; padding: .8em .85em .75em; border-radius: 1.25em; background: #fff; box-shadow: 0 0 0 1px rgba(24, 23, 21, .06), 0 1px 3px rgba(24, 23, 21, .05); }
.card > .sheet { flex-shrink: 1; }
/* Foaia se derulează, ca în aplicație; jos se estompează, ca să se vadă că mai e ceva. */
.sheet-sc { flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; touch-action: pan-y; overscroll-behavior: contain; scrollbar-width: none; padding-bottom: .8em; -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 1.6em), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 1.6em), transparent); }
.sheet-sc::-webkit-scrollbar { display: none; }
/* În card: plăcuța pe toată lățimea, prima în foaia albă. Rândul 1: stelele și cuvântul; rândul 2: motivul, mereu la vedere. */
.vz-sig { display: grid; gap: .35em; }
.vz-stars { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: .55em; row-gap: .2em; padding: .55em .75em .62em; border-radius: .95em; background: var(--fill); color: #34312d; }
.vz-stars .stars i { width: .95em; height: .95em; }
.vz-stars .w { min-width: 0; font-family: var(--display); font-size: .98em; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.vz-stars .why { grid-column: 1 / -1; min-width: 0; font-size: .74em; font-weight: 600; line-height: 1.35; color: var(--text); }
.vz-stars--success { background: #e3f3e9; color: #1c6e3f; }
.vz-stars--danger { background: var(--red-tint); color: var(--red); }
.card .big { margin-top: .45em; font-family: var(--display); font-size: 1.62em; font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
.card .prods { display: flex; align-items: center; gap: .5em; margin-top: .5em; padding: .55em .7em; border-radius: .95em; background: var(--soft); font-size: .78em; font-weight: 750; white-space: nowrap; }
.card .prods svg { flex: none; width: 1.2em; height: 1.2em; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.prods-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* Rândul cu produse se deschide la apăsare, ca în card: toate produsele, transportul și totalul. */
.prods-w { margin-top: .5em; border-radius: .95em; background: var(--soft); }
.card .prods-w .prods { width: 100%; margin-top: 0; background: none; text-align: left; cursor: pointer; }
.card .prods-w .prods:hover { background: var(--fill); }
.prods-cv { margin-left: auto; flex: none; width: 1.15em !important; height: 1.15em !important; stroke: var(--muted); transition: transform .3s var(--ease); }
.prods[aria-expanded="true"] .prods-cv { transform: rotate(180deg); }
.prods-l { padding: 0 .9em .6em; font-size: .76em; }
.prods-l[hidden] { display: none; }
.prods-l li { display: flex; justify-content: space-between; gap: .8em; padding: .4em 0; border-top: 1px solid var(--line); font-weight: 650; color: var(--text-2); }
.prods-l li:first-child { border-top: 0; }
.prods-l b { font-weight: 800; color: var(--text); white-space: nowrap; }
.prods-l .sh { color: var(--muted); }
.prods-l .tot { border-top-color: var(--line-2); font-weight: 800; color: var(--text); }
.prods .more { flex: none; padding: .1em .55em; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-size: .88em; font-weight: 800; color: var(--text-2); }
.card .prog i.on { background: var(--muted); }
.card .prog span.on { color: var(--text); }
/* Ca în card: fiecare stare la stânga, sub bara ei. */
.card .prog span, .card .prog span.on, .card .prog span:last-of-type { text-align: left; }
.vz .lk { color: var(--act-ink); }
.vz .lk:hover { color: var(--act); }
.refuse { margin-top: .75em; }
.refuse-b { display: inline-flex; align-items: center; gap: .45em; padding: .55em 1.05em .55em .85em; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #d0777c; color: var(--red); font-size: .78em; font-weight: 800; }
.refuse-b:hover { background: var(--red-tint); box-shadow: inset 0 0 0 1.5px var(--red); }
.refuse-b svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sheet .acts { margin-top: .55em; }
.acts .b { background: var(--act-tint); color: var(--act-ink); }
.acts .b:hover { background: var(--act-tint-2); }
.acts .wa { background: var(--act); color: #fff; }
.acts .wa:hover { background: var(--act-hover); }
.wa-i { display: grid; place-items: center; flex: none; width: 1.75em; height: 1.75em; margin-left: -.3em; border-radius: 50%; background: var(--wa); }
.acts .wa .wa-i svg { width: 1.05em; height: 1.05em; padding: 0; border-radius: 0; background: none; fill: #fff; stroke: none; }
.phone[data-s="open"] .vz { height: min(var(--oh, 35.4em), 35.4em); }
@media (min-width: 760px) { .phone[data-s="open"] .vz { height: min(var(--oh, 33.8em), 33.8em); } }
/* Panourile din exemplu, tot fără fundal cărbune. */
.pn-go { background: var(--act, #1f6270); }
.pn-go:hover { background: #1a5361; }
.pn-go--red { background: var(--red); }
.pn-go--red:hover { background: #a11f25; }
.pn-q { font-size: .84em; font-weight: 800; color: var(--text); }
.pn-chips .b[aria-pressed="true"] { background: #e3eff2; color: #174f5b; box-shadow: inset 0 0 0 1.5px #1f6270; }
.pn-ck input { accent-color: #1f6270; }
.gone .b { background: #1f6270; }
.gone .b:hover { background: #1a5361; }
.pn-back { background: #e3eff2; }
.pn-back svg { stroke: #1f6270; }

/* Ecranele aplicației Vizor (ghidul de instalare): acoperă fundalul telefonului, sub bara de sus.
   Pe ecran alb, bara de sus și bara de jos devin închise la culoare, ca pe un Android adevărat. */
.app { position: absolute; inset: 0; z-index: 1; background: #fff; color: var(--text); }
.app--dark { background: #121110; color: #fff; }
.gbar { z-index: 2; }
.screen:has(> .app.on:not(.app--dark)) .sbar { color: var(--text); }
.screen:has(> .app.on:not(.app--dark)) .sbar [fill="#fff"] { fill: currentColor; }
.screen:has(> .app.on:not(.app--dark)) .sbar [stroke="#fff"] { stroke: currentColor; }
.screen:has(> .app.on:not(.app--dark)) .gbar { background: rgba(23, 22, 20, .45); }


/* În foaia albă, sub comandă: „Ultimele notițe”, „Apeluri” și „Comenzi mai vechi”, ca în aplicație (se ajunge la ele
   derulând foaia). Folosit de telefonul din primul ecran (F-pro/index.html), unde notița scrisă apare aici. */
.vn { margin-top: 1.1em; }
.vn-h { font-family: var(--display); font-size: .92em; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.vn-l li { padding: .5em 0; border-top: 1px solid var(--line); }
.vn-l li:first-child { border-top: 0; padding-top: .35em; }
.vn-m { display: flex; flex-wrap: wrap; align-items: center; gap: .2em .45em; font-size: .7em; font-weight: 650; color: var(--muted); }
.vn-t { margin-top: .15em; font-size: .78em; font-weight: 600; line-height: 1.4; color: var(--text); overflow-wrap: anywhere; }
.vn-b { padding: .1em .55em; border-radius: 999px; background: var(--amber-tint); color: var(--amber); font-weight: 800; }
.vo li { display: flex; justify-content: space-between; align-items: flex-start; gap: .8em; padding: .5em 0; border-top: 1px solid var(--line); font-size: .76em; }
.vo li:first-child { border-top: 0; padding-top: .35em; }
.vo li > span { display: grid; min-width: 0; }
.vo li > span b { font-weight: 800; color: var(--text); }
.vo li > span span { font-weight: 600; color: var(--muted); }
.vo li > span span:last-child { color: var(--text-2); }
.vo li > b { flex: none; font-weight: 800; color: var(--text); }
