/* UpDesigno — platforma. Aceleași tokenuri ca site-ul (Manualul de brand, ed. 1.0). */
@font-face { font-family: 'Montserrat'; src: url('fonts/montserrat-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; src: url('fonts/montserrat-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; src: url('fonts/playfair-display-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 400 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Playfair Display'; src: url('fonts/playfair-display-latin-wght-normal.woff2') format('woff2'); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: italic; src: url('fonts/playfair-display-latin-ext-wght-italic.woff2') format('woff2'); font-weight: 400 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Playfair Display'; font-style: italic; src: url('fonts/playfair-display-latin-wght-italic.woff2') format('woff2'); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --forest: #0E3B32; --sage: #7E9B8C; --ivory: #F8F5EE; --sand: #E6D7C5; --taupe: #B5A493; --champagne: #D6B678;
  --forest-soft: rgb(14 59 50 / .72); --line: rgb(14 59 50 / .14); --ivory-soft: rgb(248 245 238 / .78); --ivory-line: rgb(248 245 238 / .18);
  /* culori de stare, distincte de verdele brandului (manual, cap. 09) */
  --ok: #1f6b45; --ok-bg: #e3f1e7; --wait: #7a5a12; --wait-bg: #f6ecd2; --err: #9c2f1f; --err-bg: #f7e3df;
  --serif: 'Playfair Display', Georgia, serif; --sans: Montserrat, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 40px); --radius: 6px; --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: var(--ivory); color: var(--forest); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; } ul, ol { padding: 0; list-style: none; }
a { color: inherit; } img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--ivory); padding: 10px 16px; } .skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.serif-i { font-family: var(--serif); font-style: italic; }
.muted { color: var(--forest-soft); } .center { text-align: center; justify-items: center; }

/* bara de sus */
.top { background: var(--forest); color: var(--ivory); }
.top-bar { display: flex; align-items: center; gap: 12px 28px; min-height: 72px; flex-wrap: wrap; padding-block: 12px; }
.logo img { height: 34px; width: auto; }
.top-nav { display: flex; gap: 6px 22px; flex-wrap: wrap; margin-right: auto; }
.top-nav a { font-size: 14px; font-weight: 500; text-decoration: none; padding: 10px 0; opacity: .82; border-bottom: 1px solid transparent; }
.top-nav a:hover, .top-nav a[aria-current] { opacity: 1; border-color: var(--champagne); }
.top-end { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.lang-link { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-decoration: none; opacity: .7; padding: 10px 4px; } .lang-link:hover { opacity: 1; }
.link-btn { background: none; border: 0; padding: 10px 0; cursor: pointer; font-size: 14px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--champagne); text-underline-offset: 5px; color: inherit; }
.link-btn.danger, .btn.danger { color: var(--err); }

.main { flex: 1; display: grid; gap: 24px; align-content: start; padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.foot { border-top: 1px solid var(--line); padding: 22px 0; font-size: 13.5px; color: var(--forest-soft); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; } .foot .serif-i { font-size: 15px; }

/* pagini fără cont: card centrat pe verde, cu arce */
.is-out { background: var(--forest); }
.is-out .main { align-content: center; background: radial-gradient(120% 90% at 50% 120%, rgb(214 182 120 / .1), transparent 60%); max-width: none; }
.is-out .foot { border-color: var(--ivory-line); color: var(--ivory-soft); }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--forest-soft); display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--champagne); }
.h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 46px); line-height: 1.12; letter-spacing: -.01em; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.h3 { font-size: 17px; font-weight: 600; line-height: 1.35; }
.lead { font-size: clamp(16px, 1.4vw, 18px); }
.page-head { display: grid; gap: 14px; margin-bottom: 4px; }
.note { font-size: 14px; color: var(--forest-soft); border-left: 1px solid var(--champagne); padding-left: 14px; }
.hint { font-size: 13px; color: var(--forest-soft); }
.sec-num { font-family: var(--serif); font-style: italic; color: var(--forest-soft); font-size: 20px; min-width: 18px; }

.card { display: grid; gap: 20px; padding: clamp(22px, 3vw, 40px); background: #fffdf9; border: 1px solid var(--line); border-radius: var(--radius); }
.card.narrow { width: 100%; max-width: 640px; margin-inline: auto; }
.card-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px 32px; }
.stack { display: grid; gap: 24px; }
.below { font-size: 14.5px; color: var(--forest-soft); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 1px solid transparent; font-size: 14px; font-weight: 600; letter-spacing: .03em; text-decoration: none; cursor: pointer; transition: background .25s var(--ease), border-color .25s var(--ease); }
.btn-primary { background: var(--forest); color: var(--ivory); } .btn-primary:hover { background: #134a3f; }
.btn-gold { background: var(--champagne); color: var(--forest); } .btn-gold:hover { background: #e0c48e; }
.btn-ghost { background: transparent; border-color: var(--line); } .btn-ghost:hover { border-color: var(--forest); }
.btn.small { min-height: 40px; padding: 8px 14px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.text-link { font-weight: 600; font-size: 14.5px; text-decoration: underline; text-decoration-color: var(--champagne); text-underline-offset: 5px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.actions.sticky { position: sticky; bottom: 0; padding: 16px 0; background: linear-gradient(to top, var(--ivory) 70%, transparent); }

.flash, .notice { padding: 14px 18px; border-radius: var(--radius); font-size: 15px; }
.flash-ok { background: var(--ok-bg); color: var(--ok); } .flash-err { background: var(--err-bg); color: var(--err); }
.notice { background: var(--wait-bg); color: var(--wait); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; vertical-align: middle; }
.badge-ok { background: var(--ok-bg); color: var(--ok); } .badge-wait { background: var(--wait-bg); color: var(--wait); }
.badge-err { background: var(--err-bg); color: var(--err); } .badge-neutral { background: var(--sand); color: var(--forest); }

/* formulare */
.form { display: grid; gap: 18px 22px; } @media (min-width: 680px) { .form:not(.one) { grid-template-columns: 1fr 1fr; } .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 7px; align-content: start; }
.field label { font-size: 13px; font-weight: 600; } .field small { font-weight: 400; color: var(--forest-soft); }
.field input, .field select, .field textarea, .inline select, .inline input { width: 100%; min-height: 48px; padding: 11px 14px; font-size: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.field textarea { resize: vertical; min-height: 110px; } .field input[type=file] { padding: 10px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); }
.field input[readonly], .field textarea[readonly] { background: var(--ivory); color: var(--forest-soft); }
.invalid input, .invalid select, .invalid textarea { border-color: var(--err); }
.error { font-size: 13.5px; color: var(--err); font-weight: 500; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--forest); } .check.invalid span { color: var(--err); }
.switch { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; justify-self: start; }
.switch a { padding: 9px 16px; border-radius: 7px; font-size: 14px; font-weight: 600; text-decoration: none; } .switch a[aria-current] { background: var(--forest); color: var(--ivory); }
.inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .inline select, .inline input { width: auto; min-height: 40px; padding: 7px 10px; font-size: 14px; }

/* lista de pași din panou */
.checklist { display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; align-items: center; padding: clamp(18px, 2.4vw, 28px); background: #fffdf9; border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 720px) { .checklist li { grid-template-columns: auto 1fr auto; } }
.checklist .num { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--forest); font-family: var(--serif); font-style: italic; font-size: 18px; }
.checklist .done .num { background: var(--forest); color: var(--champagne); font-style: normal; font-family: var(--sans); font-size: 15px; }
.checklist li > .btn { grid-column: 1 / -1; justify-self: start; } @media (min-width: 720px) { .checklist li > .btn { grid-column: auto; } }
.checklist .note { margin-top: 8px; }

/* parcursul cererii de listare */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; counter-reset: s; }
.steps li { display: grid; gap: 8px; padding: 12px 12px 14px; border-top: 2px solid var(--line); font-size: 13px; font-weight: 500; color: var(--forest-soft); }
.steps li span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font-size: 12px; }
.steps .done { border-color: var(--forest); color: var(--forest); } .steps .done span { background: var(--forest); color: var(--champagne); border-color: var(--forest); }
.steps .now { border-color: var(--champagne); color: var(--forest); font-weight: 600; } .steps .now span { border-color: var(--forest); background: var(--champagne); }
.steps.is-rejected .now { border-color: var(--err); } .steps.is-rejected .now span { background: var(--err-bg); border-color: var(--err); color: var(--err); }
.files { display: grid; gap: 8px; } .files li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 14px; background: var(--ivory); border-radius: var(--radius); font-size: 14.5px; }
.files a { font-weight: 600; } .files small { color: var(--forest-soft); } .files .link-btn { margin-left: auto; padding: 4px 0; }

/* pachete */
.toggle { justify-self: start; display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #fffdf9; }
.toggle label { padding: 9px 18px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; border-radius: 7px; font-size: 14px; font-weight: 600; cursor: pointer; }
.toggle em { font-style: normal; font-size: 12px; padding: 2px 7px; border-radius: 5px; background: var(--sand); color: var(--forest); }
#bill-m:checked ~ .toggle .t-m, #bill-y:checked ~ .toggle .t-y { background: var(--forest); color: var(--ivory); }
.bill:focus-visible ~ .toggle { outline: 2px solid var(--champagne); outline-offset: 3px; }
#bill-m:checked ~ .plans .y, #bill-y:checked ~ .plans .m { display: none; }
.plans { display: grid; gap: 16px; } @media (min-width: 880px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 2.6vw, 34px); background: #fffdf9; border: 1px solid var(--line); border-radius: var(--radius); }
.plan.featured { background: var(--forest); color: var(--ivory); border-color: var(--forest); } .plan.wanted { box-shadow: 0 0 0 2px var(--champagne); }
.plan-name { font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.plan-line { font-size: 21px; line-height: 1.25; } .featured .plan-line { color: var(--champagne); }
.plan-price { padding: 16px 0; border-block: 1px solid var(--line); } .featured .plan-price { border-color: var(--ivory-line); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price strong { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4vw, 50px); line-height: 1; } .price strong.custom { font-size: 28px; line-height: 1.3; padding: 6px 0; }
.price span { font-size: 13.5px; color: var(--forest-soft); } .featured .price span { color: var(--ivory-soft); }
.plan-features { display: grid; gap: 8px; font-size: 14.5px; } .plan-features li { padding-left: 18px; position: relative; }
.plan-features li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--champagne); }
.plan form, .plan-current { margin-top: auto; } .plan .btn { width: 100%; }
.plan-current { font-size: 14px; font-weight: 600; padding: 12px 0; border-top: 1px solid var(--champagne); }
.fineprint { display: grid; gap: 4px; font-size: 13.5px; color: var(--forest-soft); }

/* administrare */
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters a { padding: 7px 14px; min-height: 36px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 500; text-decoration: none; background: #fffdf9; } .filters a:hover { border-color: var(--forest); } .filters a[aria-current] { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.stats a { display: grid; gap: 4px; padding: 20px 22px; background: #fffdf9; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; } .stats a:hover { border-color: var(--champagne); }
.stats strong { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.1; } .stats span { font-size: 13.5px; color: var(--forest-soft); }
.table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
th { text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--forest-soft); padding: 0 14px 10px 0; border-bottom: 1px solid var(--forest); white-space: nowrap; }
td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; } td small { color: var(--forest-soft); }
.kv { display: grid; gap: 16px 32px; } @media (min-width: 680px) { .kv { grid-template-columns: 1fr 1fr; } }
.kv dt { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--forest-soft); margin-bottom: 3px; } .kv dd { overflow-wrap: anywhere; }
.timeline { display: grid; gap: 14px; } .timeline li { padding-left: 16px; border-left: 1px solid var(--champagne); display: grid; gap: 4px; } .timeline small { color: var(--forest-soft); font-weight: 400; }

/* administrare: meniu lateral mereu la vedere, fir de navigare, lista „de rezolvat” */
.is-admin .top .wrap { max-width: none; }
.shell { flex: 1; display: grid; grid-template-columns: 256px minmax(0, 1fr); align-items: start; }
.shell .main { width: 100%; max-width: 1200px; padding-inline: clamp(16px, 3.2vw, 48px); padding-block: clamp(24px, 3vw, 44px) clamp(48px, 6vw, 80px); }
.side { position: sticky; top: 0; max-height: 100vh; min-height: calc(100vh - 72px); overflow-y: auto; padding: 22px 14px 28px; background: #fffdf9; border-right: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.side ul { display: grid; gap: 2px; }
.side-group { margin: 18px 0 6px; padding-inline: 12px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--forest-soft); }
.side a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 9px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 500; text-decoration: none; border-left: 3px solid transparent; }
.side a:hover { background: var(--ivory); }
.side a[aria-current] { background: var(--forest); color: var(--ivory); font-weight: 600; border-left-color: var(--champagne); }
.side b { min-width: 24px; padding: 2px 7px; border-radius: 999px; background: var(--champagne); color: var(--forest); font-size: 12px; font-weight: 700; text-align: center; }
.side-foot { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); } .side-foot a { color: var(--forest-soft); }
.side-toggle { display: none; }
.side-check:focus-visible + .side-toggle { outline: 2px solid var(--champagne); outline-offset: -3px; }
@media (max-width: 959px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side-toggle { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px var(--gutter); background: #fffdf9; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 600; cursor: pointer; position: sticky; top: 0; z-index: 5; }
  .side-toggle small { margin-left: auto; font-weight: 500; color: var(--forest-soft); }
  .burger { width: 18px; height: 12px; border-block: 2px solid var(--forest); position: relative; } .burger::after { content: ''; position: absolute; inset: 3px 0 auto; height: 2px; background: var(--forest); }
  .side { display: none; position: static; max-height: none; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .side-check:checked ~ .side { display: grid; }
}
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13.5px; color: var(--forest-soft); }
.crumbs a { text-decoration: underline; text-decoration-color: var(--champagne); text-underline-offset: 4px; } .crumbs a:hover { color: var(--forest); }
.crumbs > * + *::before { content: '›'; margin-right: 10px; color: var(--taupe); display: inline-block; text-decoration: none; }
.crumbs [aria-current] { color: var(--forest); font-weight: 600; }
.head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.is-admin .h1 { font-size: clamp(28px, 3vw, 38px); }
.stack-s { display: grid; gap: 14px; }
.todo { display: grid; gap: 8px; }
.todo a { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; min-height: 60px; padding: 10px 18px 10px 10px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; background: var(--ivory); }
.todo a:hover { border-color: var(--champagne); }
.todo strong { height: 40px; display: grid; place-items: center; border-radius: 8px; background: var(--champagne); font-family: var(--serif); font-weight: 400; font-size: 22px; }
.todo span { font-size: 15.5px; font-weight: 500; } .todo em { font-style: normal; font-size: 14px; font-weight: 600; white-space: nowrap; }
tbody tr:hover { background: rgb(14 59 50 / .03); }

/* spațiul de lucru (subdomeniu + ERP) */
.ws-card { justify-items: start; }
.ws-host { font-family: var(--serif); font-size: clamp(24px, 3.4vw, 38px); line-height: 1.15; overflow-wrap: anywhere; }
.ws-input { display: flex; align-items: stretch; max-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ws-input:focus-within { border-color: var(--forest); } .invalid .ws-input { border-color: var(--err); }
.field .ws-input input, .inline .ws-input input { flex: 1; min-width: 0; border: 0; border-radius: 0; background: none; } .ws-input input:focus { outline: none; }
.ws-input > span { display: flex; align-items: center; padding: 0 14px; background: var(--ivory); border-left: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--forest-soft); white-space: nowrap; }
.ws-input.small { display: inline-flex; } .ws-input.small input { width: 150px; } .ws-input.small > span { font-size: 13px; padding: 0 10px; }
.ws-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ws-steps li { display: grid; gap: 8px; padding: 12px 12px 4px 0; border-top: 2px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--forest-soft); }
.ws-steps span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font-size: 12px; }
.ws-steps .done { border-color: var(--forest); color: var(--forest); } .ws-steps .done span { background: var(--forest); color: var(--champagne); border-color: var(--forest); }
.ws-steps .now { border-color: var(--champagne); color: var(--forest); font-weight: 600; } .ws-steps .now span { background: var(--champagne); border-color: var(--forest); }

/* portalul furnizorului */
.subnav { display: flex; flex-wrap: wrap; gap: 2px 4px; border-bottom: 1px solid var(--line); }
.subnav a { padding: 12px 14px; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--forest-soft); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subnav a:hover { color: var(--forest); } .subnav a[aria-current] { color: var(--forest); border-color: var(--champagne); }
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.flow li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 14px 16px; background: #fffdf9; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.flow span { grid-row: span 2; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--sand); font-size: 13px; font-weight: 600; }
.flow small { color: var(--forest-soft); }
.states { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.state-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14.5px; }
.notice-err { background: var(--err-bg); color: var(--err); }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; } fieldset.field legend { padding: 0; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.bf-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px 18px; padding: 6px 0; }
.bf-group { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; } .bf-group + .bf-group { margin-top: -1px; }
.bf-group summary { padding: 12px 14px; min-height: 44px; font-size: 14.5px; font-weight: 600; cursor: pointer; } .bf-group .bf-checks { padding: 4px 14px 16px; }
.bf-group .bf-checks label:first-child { grid-column: 1 / -1; font-weight: 600; }
.bf-cards { display: grid; gap: 10px; } @media (min-width: 680px) { .bf-cards { grid-template-columns: 1fr 1fr; } }
.bf-cards label { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.bf-cards label:has(input:checked) { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.bf-cards input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; flex: none; accent-color: var(--forest); }
.bf-cards span { display: grid; gap: 3px; } .bf-cards strong { font-size: 15px; } .bf-cards small { font-size: 13.5px; }
.invalid .bf-cards label { border-color: var(--err); }
.bf-file { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; background: var(--ivory); border-radius: var(--radius); font-size: 14px; }
.bf-thumb { width: 64px; height: 44px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.is-changed > label, .is-changed > legend, label.is-changed > span { box-shadow: -10px 0 0 -7px var(--champagne); }
.count { text-align: right; font-variant-numeric: tabular-nums; } .count.over { color: var(--wait); font-weight: 600; }
/* comparația din aprobare */
.diff td { width: 31%; overflow-wrap: anywhere; } .diff td:first-child { width: 17%; } .diff td.decide { width: 21%; white-space: nowrap; }
.diff .old { color: var(--forest-soft); } .diff .new { background: rgb(214 182 120 / .14); padding-left: 12px; }
.decide label { display: flex; align-items: center; gap: 8px; min-height: 32px; font-size: 14px; font-weight: 500; cursor: pointer; } .decide input { width: 18px; height: 18px; accent-color: var(--forest); }
.review details summary, td details summary { cursor: pointer; } td details .kv { margin-top: 12px; padding: 14px; background: var(--ivory); border-radius: var(--radius); }
.field input[type=checkbox], .field input[type=radio] { width: 20px; height: 20px; min-height: 0; padding: 0; flex: none; }
.bf-checks .check { align-items: center; font-size: 14px; }

/* portal: colecții și produse */
.bf-grp { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); } .form > .bf-grp:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.bf-gal { list-style: none; margin: 8px 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.bf-gal li { display: grid; gap: 6px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.bf-gal img { width: 100%; height: 110px; object-fit: contain; background: var(--ivory); border-radius: 4px; display: block; }
.bf-gal .check { align-items: center; font-size: 13.5px; min-height: 28px; }
.bf-add { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.bf-thumbs { display: inline-flex; flex-wrap: wrap; gap: 6px; vertical-align: middle; } td .bf-thumbs { margin-right: 6px; }

/* liste: căutare și pagini */
.listbar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 0 0 14px; font-size: 14px; }
.listbar input[type=search] { flex: 1 1 220px; max-width: 360px; min-height: 40px; padding: 7px 12px; font-size: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.pager { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: center; margin-top: 18px; font-size: 14px; }
.pager .is-off { opacity: .4; pointer-events: none; }
.autosave-note { font-size: 13.5px; } .autosave-note.is-err { color: var(--err); }

/* materiale: valorile unui grup nu au un rând-titlu, iar lista lungă se derulează în grup */
.bf-group .bf-values label:first-child { grid-column: auto; font-weight: 400; }
.bf-group .bf-values { max-height: 320px; overflow-y: auto; }
.bf-filter { width: 100%; max-width: 420px; margin: 4px 0 12px; }
.bf-picked { font-size: 14px; margin: 0 0 10px; padding: 10px 14px; border-left: 1px solid var(--champagne); }
.bf-multi [hidden] { display: none !important; }

/* ---------- „Branduri”: lista mărcilor, fișa, colecția, produsul */
.h4 { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--forest-soft); }
.nr { margin-left: 6px; font-size: 12px; font-weight: 500; color: var(--forest-soft); }
.prose { display: grid; gap: 14px; max-width: 70ch; overflow-wrap: anywhere; }
.dir-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .dir-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 40px; } .dir-filters summary { display: none; } }
.dir-filters > details > * + * { margin-top: 18px; }
.dir-filters section, .dir-search { display: grid; gap: 10px; }
.dir-search__row { display: flex; gap: 8px; } .dir-search__row input { flex: 1; min-width: 0; min-height: 40px; padding: 7px 12px; font-size: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.dir-flist { display: grid; gap: 2px; font-size: 14.5px; } .dir-flist ul { margin: 2px 0 6px 14px; display: grid; gap: 2px; border-left: 1px solid var(--line); padding-left: 10px; }
.dir-flist a { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; min-height: 32px; text-decoration: none; }
.dir-flist a:hover { text-decoration: underline; text-decoration-color: var(--champagne); text-underline-offset: 4px; } .dir-flist a[aria-current] { font-weight: 700; }
.dir-bar { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; margin-bottom: 14px; font-size: 14.5px; color: var(--forest-soft); }
.dir-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.dir-brand, .dir-col, .dir-prod { display: grid; align-content: start; background: #fffdf9; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; overflow: hidden; transition: border-color .2s; }
.dir-brand:hover, .dir-col:hover, .dir-prod:hover { border-color: var(--champagne); }
.dir-brand__logo { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 22px; background: #fff; border-bottom: 1px solid var(--line); }
.dir-brand__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dir-initial { font-family: var(--serif); font-style: italic; font-size: 52px; color: var(--taupe); }
.dir-brand__name, .dir-col__info, .dir-prod__info { display: grid; gap: 4px; padding: 14px 16px 16px; font-size: 15px; overflow-wrap: anywhere; }
.dir-brand__name small, .dir-col__info small, .dir-prod__info small { font-size: 12.5px; color: var(--forest-soft); }
.dir-banner { margin-bottom: 4px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 1; background: var(--sand); } .dir-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dir-crumbs { font-size: 13px; color: var(--forest-soft); overflow-wrap: anywhere; } .dir-crumbs a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; } .dir-crumbs span { margin: 0 4px; opacity: .6; }
.dir-info, .dir-colhead, .dir-product { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .dir-info { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; } .dir-colhead, .dir-product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }
.dir-sheet figure { display: grid; place-items: center; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); } .dir-sheet figure img { max-width: 100%; max-height: 140px; object-fit: contain; }
.dir-sheet dl, .dir-facts { display: grid; gap: 0; font-size: 14.5px; }
.dir-sheet dl div, .dir-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dir-sheet dt, .dir-facts dt { color: var(--forest-soft); flex: none; } .dir-sheet dd, .dir-facts dd { text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.dir-text { display: grid; gap: 22px; align-content: start; min-width: 0; } .dir-text section { display: grid; gap: 10px; }
.dir-text .eyebrow a { text-decoration: none; } .dir-text .eyebrow a:hover { text-decoration: underline; }
.dir-makes { display: grid; gap: 14px; } .dir-branch { display: grid; gap: 8px; } .dir-branch h3 a { text-decoration: underline; text-decoration-color: var(--champagne); text-underline-offset: 4px; }
.dir-pills { display: flex; flex-wrap: wrap; gap: 8px; } .dir-pills a, .dir-pills li > span { display: inline-flex; align-items: center; min-height: 34px; padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; text-decoration: none; background: #fffdf9; }
.dir-pills a:hover { border-color: var(--champagne); } .dir-pills li > span { color: var(--forest-soft); }
.dir-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.dir-col__img { display: block; aspect-ratio: 4 / 3; background: var(--sand); } .dir-col__img img, .dir-prod__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dir-prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
@media (max-width: 480px) { .dir-prods, .dir-brands { grid-template-columns: 1fr 1fr; gap: 10px; } }
.dir-prod__img { display: block; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--line); }
.dir-noimg { display: grid; place-items: center; width: 100%; height: 100%; font-size: 12px; color: var(--forest-soft); background: var(--ivory); }
.dir-cover img, .dir-photo img { width: 100%; display: block; border-radius: var(--radius); } .dir-photo { display: block; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; } .dir-photo img { height: 100%; object-fit: contain; }
.dir-photos { display: grid; gap: 10px; min-width: 0; } .dir-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 8px; }
.dir-thumbs a { display: block; aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; } .dir-thumbs a[aria-current] { border-color: var(--forest); } .dir-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dir-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; } .dir-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: var(--radius); }
.dir-section { gap: 12px; }

.dir-fgroup > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); min-height: 40px; }
.dir-fgroup > summary::-webkit-details-marker, .dir-flist summary::-webkit-details-marker { display: none; }
.dir-fgroup > summary::after, .dir-flist summary::after { content: '+'; font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--forest-soft); margin-left: auto; padding-left: 8px; }
.dir-fgroup[open] > summary::after, .dir-flist details[open] > summary::after { content: '–'; }
.dir-fgroup > .dir-flist { margin-top: 8px; max-height: 420px; overflow-y: auto; padding-right: 6px; }
.dir-flist summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 4px; padding: 6px 0; min-height: 32px; } .dir-flist summary:hover { text-decoration: underline; text-decoration-color: var(--champagne); text-underline-offset: 4px; }
.dir-flist details[open] > summary { font-weight: 600; }
.dir-sort { margin-left: auto; } .dir-sort a { text-decoration: none; } .dir-sort a[aria-current] { font-weight: 700; color: var(--forest); text-decoration: underline; text-decoration-color: var(--champagne); text-underline-offset: 4px; }
.dir-bar { align-items: center; }
.dir-flist details > ul { margin-top: 0; } .dir-filters { min-width: 0; } .dir-fgroup > summary { margin-bottom: 0; }
.dir-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
@media (max-width: 480px) { .dir-docs { grid-template-columns: 1fr 1fr; gap: 10px; } }
.dir-doc__img { display: block; aspect-ratio: 3 / 4; background: var(--ivory); border-bottom: 1px solid var(--line); } .dir-doc__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dir-slider { display: grid; gap: 10px; min-width: 0; }
.dir-slider__frame { position: relative; aspect-ratio: 16 / 10; background: var(--sand); border-radius: var(--radius); overflow: hidden; }
.dir-slider__frame a, .dir-slider__frame img { display: block; width: 100%; height: 100%; } .dir-slider__frame img { object-fit: cover; }
.dir-slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(248 245 238 / .9); color: var(--forest); font-size: 18px; cursor: pointer; }
.dir-slider__arrow:hover { background: var(--champagne); } .dir-slider__arrow.is-prev { left: 10px; } .dir-slider__arrow.is-next { right: 10px; }
.dir-slider__count { position: absolute; right: 12px; bottom: 10px; padding: 3px 10px; border-radius: 999px; background: rgb(14 59 50 / .78); color: var(--ivory); font-size: 12px; font-weight: 600; }
.dir-slider .dir-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; } .dir-slider .dir-thumbs a { flex: 0 0 84px; aspect-ratio: 16 / 10; }
