/* QRing Card — design system (Apple-inspired, orange). Același limbaj vizual ca qring.click */
:root {
  --bg: #fbfbfd; --gray: #f5f5f7; --ink: #1d1d1f; --muted: #6e6e73; --line: #d2d2d7;
  --orange: #ff7a00; --orange-ink: #d94f00;
  --grad: linear-gradient(135deg, #ffa31a 0%, #ff7a00 45%, #f05a00 100%);
  --btn: linear-gradient(180deg, #f26b0f 0%, #d94f00 100%);
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", "Segoe UI",
          Roboto, "Noto Sans", "Noto Sans Arabic", "Noto Sans Hebrew", "Noto Sans Devanagari", "Noto Sans Thai",
          "PingFang SC", "Hiragino Sans", "Microsoft YaHei", "Malgun Gothic", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
       -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
svg { flex: none; }
button, input { font: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: 22px; }
.wrap.narrow { max-width: 720px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid rgba(255,122,0,.55); outline-offset: 2px; border-radius: 10px; }

/* ---------- Bara de navigare ---------- */
.suggest { text-align: center; padding: 11px 20px; background: var(--gray); font-size: 14px; }
.suggest a { color: var(--orange-ink); font-weight: 600; text-decoration: none; }
.nav { position: sticky; top: 0; z-index: 30; background: rgba(251,251,253,.72);
       -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
       border-bottom: 1px solid rgba(0,0,0,.07); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 34px; height: 25px; color: var(--ink); }
.word { font-size: 20px; font-weight: 700; letter-spacing: -.025em; white-space: nowrap; }
.word b { font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.word em { font-style: normal; font-weight: 500; color: var(--muted); letter-spacing: -.01em; }
.langmenu { position: relative; }
.langmenu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; font-size: 14px;
                    font-weight: 500; padding: 7px 12px; border-radius: 980px; transition: background .2s; }
.langmenu summary:hover, .langmenu[open] summary { background: rgba(0,0,0,.05); }
.langmenu summary::-webkit-details-marker { display: none; }
.langmenu summary svg { width: 17px; height: 17px; color: var(--muted); }
.langmenu ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 40; list-style: none; margin: 0; padding: 8px;
               border-radius: 18px; background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
               box-shadow: 0 24px 60px -18px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.06);
               display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 2px;
               max-height: 70vh; overflow: auto; width: max-content; max-width: calc(100vw - 32px); }
.langmenu li a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-size: 14px; }
.langmenu li a:hover { background: rgba(0,0,0,.05); }
.langmenu li a[aria-current] { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; overflow: clip; text-align: center; padding: 72px 0 56px; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -2; left: 50%; top: -60px; width: min(1100px, 150vw); aspect-ratio: 1;
                transform: translateX(-50%) rotate(-7deg); background: var(--qr-bg) center / contain no-repeat; opacity: .05;
                -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%); mask-image: radial-gradient(closest-side, #000 35%, transparent 100%); }
.hero::after { content: ""; position: absolute; z-index: -1; left: 50%; top: 46%; width: min(900px, 120vw); height: 560px;
               transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,140,0,.18), rgba(255,140,0,0)); }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 18px; font-size: 15px; font-weight: 600; color: var(--orange-ink);
           background: rgba(255,122,0,.09); padding: 7px 14px; border-radius: 980px; }
.eyebrow svg { width: 16px; height: 16px; }
.display { font-size: clamp(38px, 6.6vw, 74px); font-weight: 700; line-height: 1.05; letter-spacing: -.038em; margin: 0 auto 20px; max-width: 15em; }
.display span { display: inline-block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
:lang(ja) .display, :lang(zh-Hans) .display, :lang(ko) .display, :lang(th) .display, :lang(ar) .display,
:lang(fa) .display, :lang(he) .display, :lang(hi) .display { letter-spacing: 0; line-height: 1.22; }
.lead { font-size: clamp(18px, 2.1vw, 21px); line-height: 1.45; color: var(--muted); margin: 0 auto; max-width: 34em; }

/* ---------- Card aplicație ---------- */
.appcard { max-width: 640px; margin: 40px auto 0; text-align: start; padding: 26px 30px 30px;
           background: rgba(255,255,255,.82); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
           border-radius: 30px; box-shadow: 0 40px 90px -40px rgba(80,40,0,.35), 0 0 0 1px rgba(0,0,0,.05); }
.progress { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.progress li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #a1a1a6;
               padding-top: 10px; border-top: 3px solid var(--gray); transition: color .3s, border-color .3s; }
.progress li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gray); font-size: 12px; }
.progress li.on { color: var(--ink); border-color: var(--orange); }
.progress li.on span { background: var(--grad); color: #fff; }
.pane { animation: in .35s ease both; }
@keyframes in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pane-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pane h2, .done-h h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.iconbtn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--gray); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.iconbtn svg { width: 18px; height: 18px; }
[dir=rtl] .iconbtn svg, [dir=rtl] .arrow { transform: scaleX(-1); }

label { display: block; font-weight: 600; font-size: 14px; margin: 16px 0 8px; }
form > label:first-child { margin-top: 0; }
input[type=text], input[type=url], input[type=search] {
  width: 100%; padding: 14px 16px; font-size: 17px; color: var(--ink); background: var(--gray);
  border: 1px solid transparent; border-radius: 14px; transition: background .15s, border-color .15s, box-shadow .15s; }
input::placeholder { color: #a1a1a6; }
input:focus { outline: none; background: #fff; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,122,0,.16); }
input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }
.hint { font-size: 13px; color: var(--muted); margin: 8px 2px 0; line-height: 1.45; }
.err { background: #fff2ec; color: #b42318; padding: 11px 14px; border-radius: 12px; font-size: 14px; margin: 0 0 14px; }

.searchbar { position: relative; display: flex; gap: 8px; align-items: center; }
.searchbar input { padding-inline-start: 46px; font-size: 18px; height: 56px; }
.sb-ic { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.sb-ic svg { width: 20px; height: 20px; display: block; }
.searchbar .btn { height: 56px; padding-inline: 24px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; font-size: 16px; font-weight: 600;
       border: 0; border-radius: 980px; cursor: pointer; text-decoration: none; background: var(--btn); color: #fff; white-space: nowrap;
       box-shadow: 0 8px 20px -8px rgba(217,79,0,.55); transition: transform .15s ease, filter .15s ease, opacity .15s; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .55; cursor: default; }
.btn svg { width: 18px; height: 18px; }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.btn.ghost:hover { background: var(--gray); filter: none; }
.btn.sm { padding: 10px 14px; font-size: 14px; }
.btn.wide { width: 100%; margin-top: 22px; padding: 16px 22px; font-size: 17px; }
.btn.wide { white-space: normal; text-align: center; line-height: 1.25; }
.btn { max-width: 100%; }
@media (max-width: 520px) { .btn { white-space: normal; text-align: center; line-height: 1.25; } }
.btn.xl { padding: 19px 24px; font-size: 19px; }
.btn.loading { pointer-events: none; opacity: .75; }
.btn.loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.linkbtn { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; padding: 6px 2px; border: 0; background: none; cursor: pointer;
           color: var(--orange-ink); font-weight: 600; font-size: 15px; }
.linkbtn svg { width: 17px; height: 17px; }
.linkbtn.center { display: flex; margin: 18px auto 0; }

/* gata */
.done-h { text-align: center; margin-bottom: 20px; }
.done-h .ok { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--grad); color: #fff; margin-bottom: 12px;
              box-shadow: 0 10px 24px -10px rgba(255,110,0,.8); }
.done-h .ok svg { width: 26px; height: 26px; stroke-width: 2.6; }
.done-h p { color: var(--muted); margin: 6px 0 0; }
.share { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }
.qrbox { background: #fff; border-radius: 22px; padding: 16px; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 18px 40px -24px rgba(0,0,0,.3); text-align: center; }
.qrbox svg { width: 100%; height: auto; display: block; }
.qr-url { display: block; margin-top: 8px; font-size: 11px; color: var(--muted); word-break: break-all; }
.seg { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.seg legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; padding: 0; }
.seg label { margin: 0; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--gray);
             border: 1px solid transparent; cursor: pointer; font-weight: 400; transition: border-color .15s, background .15s; }
.seg label:has(input:checked) { background: #fff; border-color: var(--orange); }
.seg input { accent-color: var(--orange-ink); margin-top: 3px; flex: none; }
.seg span { display: grid; gap: 2px; }
.seg b { font-size: 15px; }
.seg small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.dl { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.field-copy { margin-top: 20px; }
.field-copy label { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; }
.field-copy label svg { width: 16px; height: 16px; color: var(--orange-ink); }
.copyrow { display: flex; gap: 8px; }
.copyrow input { flex: 1; min-width: 0; font-size: 14px; padding: 11px 14px; }
.secret { padding: 16px; border-radius: 18px; background: #fff8f2; box-shadow: inset 0 0 0 1px rgba(255,122,0,.25); }
.secret .copyrow input { background: #fff; }

/* beneficii */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 56px auto 0; text-align: start; }
.tile { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 12px 30px -20px rgba(0,0,0,.18); }
.tile .ic { width: 44px; height: 44px; border-radius: 13px; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 16px;
            box-shadow: 0 8px 18px -8px rgba(255,110,0,.7); }
.tile .ic svg { width: 22px; height: 22px; }
.tile h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* secțiuni */
.section { padding-block: 96px; }
.section.alt { background: var(--gray); }
.section h2 { text-align: center; font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; margin: 0 0 48px; }
:lang(ja) .section h2, :lang(zh-Hans) .section h2, :lang(ko) .section h2, :lang(ar) .section h2, :lang(fa) .section h2,
:lang(he) .section h2, :lang(hi) .section h2, :lang(th) .section h2 { letter-spacing: 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { position: relative; background: #fff; border-radius: 26px; padding: 30px 28px 32px; font-size: 17px; line-height: 1.5; color: #424245; }
.steps .n { display: block; font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -.04em; margin-bottom: 14px;
            background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps .s-ic { position: absolute; top: 30px; inset-inline-end: 28px; width: 44px; height: 44px; border-radius: 13px; background: var(--gray);
               display: grid; place-items: center; color: var(--orange-ink); }
.steps .s-ic svg { width: 22px; height: 22px; }
.steps p { margin: 0; }
.faq .wrap { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
               padding: 24px 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; transition: transform .25s ease;
  background: linear-gradient(var(--orange-ink),var(--orange-ink)) center/14px 2px no-repeat, linear-gradient(var(--orange-ink),var(--orange-ink)) center/2px 14px no-repeat; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 24px; color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 40em; }

footer.site { background: var(--gray); border-top: 1px solid rgba(0,0,0,.06); padding-block: 28px 40px; color: var(--muted); font-size: 12px; }
footer.site .row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13px; }
footer.site .row .word { font-size: 16px; color: var(--ink); }
footer.site .sister { margin: 0 0 16px; font-size: 13px; }
footer.site .sister a { color: var(--orange-ink); text-decoration: none; font-weight: 600; }
footer.site nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer.site nav a { text-decoration: none; color: #424245; }
footer.site nav a:hover { text-decoration: underline; }


.editpage { padding: 40px 0 80px; }
.editpage .eyebrow { margin-bottom: 12px; }
.editpage .title { font-size: clamp(30px, 5vw, 44px); letter-spacing: -.035em; margin: 0 0 6px; line-height: 1.1; }
.muted { color: var(--muted); margin: 0 0 26px; }
.muted a { color: var(--orange-ink); text-decoration: none; }
.card { background: #fff; border-radius: 26px; padding: 26px; margin-bottom: 18px; box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 18px 40px -30px rgba(0,0,0,.3); }
.card h2 { display: flex; align-items: center; gap: 8px; font-size: 19px; margin: 0 0 18px; letter-spacing: -.01em; }
.card h2 svg { width: 20px; height: 20px; color: var(--orange-ink); }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kpis div { background: var(--gray); border-radius: 18px; padding: 16px 18px; display: grid; gap: 2px; }
.kpis small { color: var(--muted); font-size: 13px; font-weight: 600; }
.kpis b { font-size: 40px; letter-spacing: -.03em; line-height: 1.1; }
.kpis b.o { color: var(--orange-ink); }
.kpis span { font-size: 12px; color: var(--muted); }
.bars { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; align-items: end; height: 90px; margin-top: 18px; direction: ltr; }
.bars span { display: flex; gap: 1px; align-items: end; height: 100%; }
.bars i { flex: 1; background: #d2d2d7; border-radius: 3px 3px 0 0; min-height: 2px; }
.bars i.o { background: var(--orange); }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: #d2d2d7; }
.legend i.o { background: var(--orange); }

.nf { padding: 120px 0; text-align: center; }
.nf .big { font-size: 96px; font-weight: 700; margin: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { font-size: 26px; margin: 8px 0 28px; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; z-index: 60;
         background: rgba(29,29,31,.92); color: #fff; padding: 11px 18px; border-radius: 980px; font-size: 14px; font-weight: 500;
         transition: opacity .25s, transform .25s; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.tiles.six { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.tile .t-ic { width: 44px; height: 44px; border-radius: 13px; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 16px;
              box-shadow: 0 8px 18px -8px rgba(255,110,0,.7); }
.tile .t-ic svg { width: 22px; height: 22px; }
details.faq { border-bottom: 1px solid var(--line); }
details.faq:first-of-type { border-top: 1px solid var(--line); }
details.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
               padding: 24px 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; transition: transform .25s ease;
  background: linear-gradient(var(--orange-ink),var(--orange-ink)) center/14px 2px no-repeat, linear-gradient(var(--orange-ink),var(--orange-ink)) center/2px 14px no-repeat; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { margin: -6px 0 24px; color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 40em; }
footer.site .family { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 14px; font-size: 13px; }
footer.site .family a { color: var(--orange-ink); text-decoration: none; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
footer.site .family svg { width: 14px; height: 14px; }

/* ===================== QRing Card ===================== */
.wrap.narrow { max-width: 760px; }
textarea, select { font: inherit; }
.chips { list-style: none; padding: 0; margin: 26px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 980px; background: rgba(255,255,255,.8);
            box-shadow: 0 0 0 1px rgba(0,0,0,.06); font-size: 14px; font-weight: 600; color: #424245; }
.chips svg { width: 16px; height: 16px; color: var(--orange-ink); }
.appcard.wide-card { max-width: 1040px; padding: 26px; scroll-margin-top: 72px; }
.card.wide-card { padding: 26px; }

/* --- constructor: formular + previzualizare --- */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; scroll-margin-top: 64px; }
.pv-switch { display: none; }
.cform { min-width: 0; }
.cform fieldset { border: 0; margin: 0 0 8px; padding: 0 0 18px; border-bottom: 1px solid #ececf0; }
.cform fieldset + fieldset, .cform details + fieldset, .cform fieldset + details { margin-top: 18px; }
.cform legend, .fs summary { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; padding: 0; margin-bottom: 4px; }
.cform legend svg, .fs summary svg { width: 19px; height: 19px; color: var(--orange-ink); }
.cform .sub { margin: 16px 0 8px; font-size: 14px; font-weight: 600; }
.fld { display: block; margin: 12px 0 0; font-weight: 600; font-size: 13px; color: #424245; position: relative; }
.fld > span { display: block; margin-bottom: 6px; }
.fld input, .fld textarea, .linkrow input {
  width: 100%; padding: 12px 14px; font-size: 16px; color: var(--ink); background: var(--gray); font-weight: 400;
  border: 1px solid transparent; border-radius: 13px; transition: background .15s, border-color .15s, box-shadow .15s; }
.fld textarea { resize: vertical; min-height: 84px; line-height: 1.45; }
.fld input:focus, .fld textarea:focus { outline: none; background: #fff; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,122,0,.16); }
.fld.bad input, .fld.bad textarea { border-color: #d42a1f; background: #fff; box-shadow: 0 0 0 4px rgba(212,42,31,.12); }
.fld .count { position: absolute; inset-inline-end: 12px; bottom: 9px; font-size: 11px; color: #a1a1a6; font-weight: 500; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.grid2.zip { grid-template-columns: 1fr 2fr; }
.wa-row { position: relative; }
.wa-row .link { position: absolute; inset-inline-end: 0; top: 10px; }
.link { border: 0; background: none; color: var(--orange-ink); font-weight: 600; cursor: pointer; padding: 2px 4px; font-size: 14px; }
.link.sm { font-size: 13px; }
.import { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 16px; background: #fff8f2;
          box-shadow: inset 0 0 0 1px rgba(255,122,0,.2); margin-bottom: 18px; font-size: 14px; font-weight: 600; }
.import > span { margin-inline-end: auto; }
.chip { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 8px 12px; border-radius: 980px; background: #fff; cursor: pointer;
        font-size: 13px; font-weight: 600; box-shadow: 0 0 0 1px var(--line); transition: background .15s; }
.chip:hover { background: var(--gray); }
.chip svg { width: 15px; height: 15px; color: var(--orange-ink); }
.fs { border-bottom: 1px solid #ececf0; padding-bottom: 14px; margin-top: 18px; }
.fs summary { list-style: none; cursor: pointer; }
.fs summary::-webkit-details-marker { display: none; }
.fs summary::after { content: ""; margin-inline-start: auto; width: 9px; height: 9px; border-right: 2px solid #a1a1a6; border-bottom: 2px solid #a1a1a6; transform: rotate(45deg); transition: transform .2s; }
.fs[open] summary::after { transform: rotate(-135deg); }
.fs summary small { font-size: 12px; color: var(--orange-ink); font-weight: 600; }
.imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.imgpick { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: var(--gray); min-width: 0; }
.imgpick b { font-size: 14px; }
.imgpick .row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.thumb { width: 60px; height: 60px; flex: none; display: grid; place-items: center; background: #fff; color: #c7c7cc; overflow: hidden;
         box-shadow: 0 0 0 1px rgba(0,0,0,.06); background-size: cover; background-position: center; }
.thumb.photo { border-radius: 50%; }
.thumb.logo { border-radius: 12px; background-size: contain; background-repeat: no-repeat; }
.thumb.has svg { display: none; }
.thumb svg { width: 26px; height: 26px; }
.themes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.theme-opt, .acc { margin: 0; cursor: pointer; text-align: center; font-weight: 500; }
.theme-opt input, .acc input { position: absolute; opacity: 0; pointer-events: none; }
.theme-opt small { display: block; font-size: 11px; color: var(--muted); margin-top: 5px; }
.sw { display: block; height: 52px; border-radius: 12px; position: relative; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.08); transition: box-shadow .15s, transform .15s; }
.sw i { position: absolute; left: 18%; right: 18%; bottom: 0; height: 52%; border-radius: 8px 8px 0 0; }
.sw-classic { background: #f5f5f7; } .sw-classic i { background: #fff; border-top: 5px solid var(--sw-accent, #ff7a00); }
.sw-midnight { background: #0b0b0f; } .sw-midnight i { background: #2c2c2e; }
.sw-ocean { background: linear-gradient(160deg, #0b3d91, #1e6fd9); } .sw-ocean i { background: #fff; }
.sw-forest { background: linear-gradient(160deg, #1f5f3f, #2f8f5b); } .sw-forest i { background: #fff; }
.sw-sunset { background: linear-gradient(135deg, #ffa31a, #ff7a00 45%, #e5484d); } .sw-sunset i { background: #fff; }
.sw-mono { background: #fff; } .sw-mono i { background: #111; }
.theme-opt input:checked + .sw { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--orange); }
.theme-opt input:focus-visible + .sw, .acc input:focus-visible + span { outline: 3px solid rgba(255,122,0,.55); outline-offset: 3px; }
.accents { display: flex; flex-wrap: wrap; gap: 10px; }
.acc span { display: block; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); transition: box-shadow .15s, transform .15s; }
.acc input:checked + span { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); transform: scale(1.05); }
.slugbox { display: flex; align-items: stretch; background: var(--gray); border-radius: 13px; border: 1px solid transparent; overflow: hidden; }
.slugbox:focus-within { background: #fff; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,122,0,.16); }
.slugbox em { font-style: normal; color: var(--muted); font-weight: 500; font-size: 15px; padding: 12px 0 12px 14px; white-space: nowrap; display: flex; align-items: center; }
.slugbox input { border: 0 !important; box-shadow: none !important; background: transparent !important; padding-left: 1px; min-width: 0; font-weight: 600; }
.slug-st { margin: 8px 2px 0; font-size: 13px; font-weight: 600; min-height: 18px; display: flex; gap: 6px; align-items: center; }
.slug-st.ok { color: #1a7f43; } .slug-st.bad { color: #b42318; }
.slug-st button { border: 0; background: none; color: var(--orange-ink); font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0; font-size: 13px; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: #424245; cursor: pointer; margin: 14px 0 0; line-height: 1.45; }
label.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--orange-ink); flex: none; }
label.check span { display: grid; gap: 2px; }
label.check small { color: var(--muted); font-size: 13px; }
.fld > .slugbox { display: flex; margin: 0; }
#btnSubmit { margin-top: 18px; }
.err.inline { margin: 14px 0 0; }

.preview { position: sticky; top: 76px; }
.phone { border-radius: 44px; padding: 10px; background: #1d1d1f; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.phone .screen { border-radius: 35px; overflow: hidden; height: 640px; overflow-y: auto; background: #f5f5f7; scrollbar-width: none; }
.phone .screen::-webkit-scrollbar { display: none; }
.pv-note { text-align: center; font-size: 12px; color: var(--muted); margin: 12px 8px 0; line-height: 1.4; }
#pv { min-height: 100%; }

/* --- cartea publică (folosită și în previzualizare) --- */
.theme-classic  { --vc-page: #f5f5f7; --vc-card: #fff; --vc-ink: #1d1d1f; --vc-muted: #6e6e73; --vc-row: #f5f5f7; --vc-line: rgba(0,0,0,.06); --vc-band: var(--accent); }
.theme-midnight { --vc-page: #0b0b0f; --vc-card: #1c1c1e; --vc-ink: #f5f5f7; --vc-muted: #a1a1a6; --vc-row: #2c2c2e; --vc-line: rgba(255,255,255,.08);
                  --vc-band: radial-gradient(130% 160% at 85% -10%, color-mix(in srgb, var(--accent) 80%, #111) 0%, color-mix(in srgb, var(--accent) 25%, #111) 45%, #111114 85%); }
.theme-ocean    { --vc-page: #eaf1fb; --vc-card: #fff; --vc-ink: #0f1d33; --vc-muted: #5b6b82; --vc-row: #f1f5fb; --vc-line: rgba(11,61,145,.08); --vc-band: linear-gradient(150deg, #0b3d91, #1e6fd9); }
.theme-forest   { --vc-page: #ecf4ee; --vc-card: #fff; --vc-ink: #12261a; --vc-muted: #587063; --vc-row: #f0f6f2; --vc-line: rgba(31,95,63,.08); --vc-band: linear-gradient(150deg, #1f5f3f, #2f8f5b); }
.theme-sunset   { --vc-page: #fff6ef; --vc-card: #fff; --vc-ink: #2b1607; --vc-muted: #7c6555; --vc-row: #fff4ea; --vc-line: rgba(255,122,0,.1); --vc-band: linear-gradient(135deg, #ffa31a, #ff7a00 45%, #e5484d); }
.theme-mono     { --vc-page: #fff; --vc-card: #fff; --vc-ink: #111; --vc-muted: #6e6e73; --vc-row: #f5f5f7; --vc-line: rgba(0,0,0,.08); --vc-band: #111; }
@supports not (background: color-mix(in srgb, red 50%, blue)) { .theme-midnight { --vc-band: #1c1c1e; } }
body.pub { background: var(--vc-page); }
.vc-page { min-height: 100vh; background: var(--vc-page); color: var(--vc-ink); padding: 0 0 calc(28px + env(safe-area-inset-bottom)); }
#pv.vc-page { min-height: 100%; }
.vc { max-width: 480px; margin: 0 auto; background: var(--vc-card); min-height: 100%; position: relative; }
@media (min-width: 560px) { body.pub .vc-page { padding-top: 32px; } body.pub .vc { border-radius: 32px; overflow: hidden; box-shadow: 0 30px 70px -40px rgba(0,0,0,.45), 0 0 0 1px var(--vc-line); } }
.vc-band { height: 132px; background: var(--vc-band); position: relative; display: flex; justify-content: flex-end; align-items: flex-start; padding: 16px 18px; }
.vc-logo { max-height: 46px; max-width: 46%; object-fit: contain; background: rgba(255,255,255,.94); border-radius: 12px; padding: 6px 9px; box-shadow: 0 6px 18px -8px rgba(0,0,0,.35); }
.theme-mono .vc-logo, .theme-midnight .vc-logo { background: #fff; }
.vc-head { text-align: center; padding: 0 22px; margin-top: -58px; position: relative; }
.vc-photo { width: 116px; height: 116px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 14px; border: 5px solid var(--vc-card);
            background: var(--vc-row); box-shadow: 0 10px 26px -12px rgba(0,0,0,.45); }
.vc-initials { display: grid; place-items: center; font-size: 40px; font-weight: 700; letter-spacing: -.02em; color: #fff; background: var(--accent); }
.vc-name { margin: 0; font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -.025em; overflow-wrap: anywhere; }
.vc-role { margin: 6px 0 0; color: var(--vc-muted); font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.vc-cta { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 22px 20px 0; }
.vc-cta .btn { padding: 15px 18px; font-size: 16.5px; }
.preview .vc-cta .btn { padding: 13px 14px; font-size: 15px; }
.vc-save { background: var(--accent); box-shadow: 0 10px 24px -12px var(--accent); white-space: normal; }
.vc-cta .vc-share { background: var(--vc-row); color: var(--vc-ink); box-shadow: none; }
.vc-cta .vc-share:hover { background: var(--vc-row); filter: brightness(.97); }
.vc-hint { text-align: center; font-size: 12px; color: var(--vc-muted); margin: 9px 20px 0; }
.vc-quick { list-style: none; margin: 20px 16px 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.vc-quick li { flex: 1 1 0; min-width: 62px; max-width: 86px; }
.vc-quick a { display: grid; justify-items: center; gap: 6px; text-decoration: none; font-size: 11.5px; font-weight: 600; color: var(--vc-ink); padding: 4px 0; }
.vc-quick span { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--vc-row); color: var(--accent); }
.theme-midnight .vc-quick span, .theme-midnight .vc-ic { color: color-mix(in srgb, var(--accent) 70%, #fff); }
.vc-quick svg { width: 22px; height: 22px; }
.vc-note { margin: 20px 22px 0; font-size: 15px; line-height: 1.55; color: var(--vc-ink); text-align: center; overflow-wrap: anywhere; }
.vc-list { list-style: none; margin: 20px 16px 0; padding: 4px 0; border-radius: 20px; background: var(--vc-row); }
.vc-list li + li a { border-top: 1px solid var(--vc-line); }
.vc-list a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; text-decoration: none; color: var(--vc-ink); margin: 0 4px; }
.vc-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--vc-card); color: var(--accent); flex: none; }
.vc-ic svg { width: 18px; height: 18px; }
.vc-t { display: grid; gap: 1px; min-width: 0; }
.vc-t small { font-size: 12px; color: var(--vc-muted); font-weight: 500; }
.vc-t b { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; line-height: 1.35; }
.vc-list li:last-child a { padding-bottom: 12px; }
.vc > :last-child { margin-bottom: 0; }
.vc::after { content: ""; display: block; height: 22px; }
.vc-foot { max-width: 480px; margin: 18px auto 0; padding: 0 20px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 18px; font-size: 13px; color: var(--vc-muted); }
.vc-foot a { color: var(--vc-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.vc-foot .word { font-size: 14px; }
.theme-midnight .vc-foot .word em { color: #a1a1a6; }
.vc-report svg { width: 13px; height: 13px; }
.preview .vc-foot { display: none; }

/* --- gata / acces privat --- */
.done-head { text-align: center; margin-bottom: 22px; }
.done-head h2 { margin: 0; font-size: 26px; letter-spacing: -.02em; }
.done-head p { color: var(--muted); margin: 8px auto 0; max-width: 32em; line-height: 1.5; }
.ok-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff; margin-bottom: 12px;
         box-shadow: 0 10px 24px -10px rgba(255,110,0,.8); }
.ok-ic svg { width: 28px; height: 28px; stroke-width: 2.6; }
.lbl { display: block; font-weight: 600; font-size: 13px; color: #424245; margin: 0 0 6px; }
.linkrow { display: flex; gap: 8px; }
.linkrow input { flex: 1; min-width: 0; font-size: 14px; }
.code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace !important; letter-spacing: .06em; font-weight: 600 !important; }
.private { margin-top: 24px; padding: 20px; border-radius: 20px; background: #fff8f2; box-shadow: inset 0 0 0 1px rgba(255,122,0,.28); }
.private h3 { display: flex; gap: 8px; align-items: center; margin: 0 0 14px; font-size: 17px; }
.private h3 svg { width: 19px; height: 19px; color: var(--orange-ink); }
.private .linkrow input { background: #fff; }
.private .hint { margin-bottom: 14px; }
.private .row { display: flex; gap: 8px; flex-wrap: wrap; }
.private .btn.wide { margin-top: 14px; }
.btn[aria-disabled=true] { opacity: .45; pointer-events: none; box-shadow: none; }
.share-r .hint { margin-top: 12px; }

/* --- editor --- */
.edit-main, .rec-main { padding: 40px 0 80px; }
.ed-head { margin-bottom: 8px; }
.ed-head .eyebrow, .rec-main .eyebrow { margin-bottom: 12px; }
.title { font-size: clamp(30px, 5vw, 44px); letter-spacing: -.035em; margin: 0 0 6px; line-height: 1.1; overflow-wrap: anywhere; }
.sec-block + .sec-block { margin-top: 24px; padding-top: 24px; border-top: 1px solid #ececf0; }
.sec-block h3, .danger-zone h3 { display: flex; gap: 8px; align-items: center; margin: 0 0 6px; font-size: 16px; }
.sec-block h3 svg, .danger-zone h3 svg { width: 18px; height: 18px; color: var(--orange-ink); }
.sec-block .muted { margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.sec-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.mailset { margin-top: 18px; }
.mailset .btn { margin-top: 10px; }
.danger-zone { margin-top: 22px; padding: 16px; border-radius: 16px; background: #fff5f4; box-shadow: inset 0 0 0 1px rgba(212,42,31,.18); }
.danger-zone h3 svg { color: #d42a1f; }
.btn.danger { background: #d42a1f; box-shadow: 0 8px 20px -10px rgba(212,42,31,.7); }
.err { margin: 12px 0 0; }
.okmsg { display: flex; gap: 8px; align-items: flex-start; background: #eaf8ef; color: #155c32; padding: 11px 14px; border-radius: 12px; font-size: 14px; margin: 12px 0 0; line-height: 1.45; }
.okmsg svg { width: 18px; height: 18px; }
.busy { display: grid; place-items: center; padding: 80px 0; }
.pulse { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); animation: pulse 1.1s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(.75); opacity: .5; } 50% { transform: scale(1); opacity: 1; } }
.nf .bad-ic { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--gray); color: var(--muted); }
.nf .bad-ic svg { width: 28px; height: 28px; }
.nf .muted { max-width: 30em; margin: 0 auto 26px; line-height: 1.5; }
.rec-main .card { margin-top: 26px; }
.rec-main .seg { grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--gray); padding: 4px; border-radius: 14px; margin-bottom: 8px; }
.seg button, .pv-switch button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; background: transparent; padding: 10px; border-radius: 11px;
              font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; }
.seg button svg, .pv-switch button svg { width: 16px; height: 16px; }
.seg button[aria-selected=true], .pv-switch button[aria-selected=true] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); }

/* --- coala de tipărit --- */
body.printpage { background: #e9e9ed; }
.print-bar { position: sticky; top: 0; z-index: 5; display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 12px 16px;
             background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(0,0,0,.08); }
.print-bar p { margin: 0; display: flex; gap: 8px; align-items: center; font-size: 14px; color: #424245; }
.print-bar p svg { width: 18px; height: 18px; color: var(--orange-ink); }
.sheet { width: 210mm; height: 297mm; overflow: hidden; margin: 20px auto; background: #fff; padding: 11mm 15mm; display: grid; grid-template-columns: repeat(2, 85mm);
         grid-auto-rows: 55mm; justify-content: center; gap: 0; box-shadow: 0 20px 50px -30px rgba(0,0,0,.4); }
.pcard { display: flex; gap: 3mm; padding: 4.5mm 5mm; outline: 0.2mm dashed #c7c7cc; outline-offset: -0.1mm; position: relative; overflow: hidden; color: #1d1d1f; background: #fff; }
.pcard::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 1.6mm; background: var(--accent); }
.pc-l { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: .6mm; padding-inline-start: 1.5mm; }
.pc-logo { max-height: 8mm; max-width: 28mm; object-fit: contain; align-self: flex-start; margin-bottom: 1.5mm; }
.pc-l b { font-size: 12.5pt; line-height: 1.15; letter-spacing: -.01em; overflow-wrap: anywhere; }
.pc-l small { font-size: 8pt; color: #6e6e73; line-height: 1.25; }
.pc-l ul { list-style: none; margin: 2mm 0 0; padding: 0; font-size: 7.5pt; line-height: 1.45; color: #424245; }
.pc-l li { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-r { width: 27mm; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1mm; }
.pc-qr { width: 27mm; height: 27mm; }
.pc-qr svg { width: 100%; height: 100%; display: block; }
.pc-r span { font-size: 5.5pt; color: #6e6e73; text-align: center; word-break: break-all; line-height: 1.2; }
@page { size: A4; margin: 0; }
@media print {
  body.printpage { background: #fff; }
  .print-bar, .toast { display: none !important; }
  html, body.printpage { margin: 0; padding: 0; }
  body.printpage > :not(.sheet) { display: none !important; }
  .sheet { margin: 0; box-shadow: none; break-after: avoid; page-break-after: avoid; }
  .pcard { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* --- responsive --- */
@media (max-width: 960px) {
  .builder { grid-template-columns: minmax(0, 1fr); }
  .pv-switch { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: sticky; top: 64px; z-index: 6; background: rgba(240,240,244,.92);
               -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); padding: 4px; border-radius: 14px; margin-bottom: 16px; }
  .builder[data-view=form] .preview { display: none; }
  .builder[data-view=preview] .cform { display: none; }
  .preview { position: static; max-width: 380px; margin: 0 auto; }
  .phone .screen { height: auto; max-height: none; }
  .tiles.six { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .section { padding-block: 64px; }
  .section h2 { margin-bottom: 32px; }
}
@media (max-width: 600px) {
  .hero { padding: 40px 0 40px; }
  .wrap { padding-inline: 16px; }
  .appcard.wide-card, .card.wide-card { padding: 18px 14px 20px; border-radius: 24px; }
  .appcard.wide-card { margin-top: 28px; }
  .card { padding: 20px 16px; }
  .themes { grid-template-columns: repeat(3, 1fr); }
  .imgs { grid-template-columns: 1fr; }
  .share { grid-template-columns: 1fr; }
  .qrbox { max-width: 240px; margin: 0 auto; }
  .tiles.six { grid-template-columns: 1fr; }
  .dl .btn { flex: 1 1 calc(50% - 8px); }
  .kpis b { font-size: 32px; }
  .phone { border-radius: 36px; padding: 7px; }
  .phone .screen { border-radius: 30px; }
  .sheet { transform-origin: top left; }
}
@media (max-width: 380px) {
  .grid2 { grid-template-columns: 1fr; }
  .vc-cta { grid-template-columns: 1fr; }
}
