/* Panoul Autism Friends — 13.11.2026. Tokenii vin din site-ul ales de clientă (culori-1x5e), vezi DESIGN.md. */

@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/outfit-400-latin-ext.woff2) format('woff2'); 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: 'Outfit'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/outfit-400-latin.woff2) format('woff2'); 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: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/outfit-500-latin-ext.woff2) format('woff2'); 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: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/outfit-500-latin.woff2) format('woff2'); 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: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/outfit-600-latin-ext.woff2) format('woff2'); 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: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/outfit-600-latin.woff2) format('woff2'); 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 {
  --paper: #FFFFFF;
  --paper-alt: #F6F7F3;
  --paper-deep: #F0F2EC;
  --ink: #1C2621;
  --ink-2: #2F3B35;
  --ink-3: #55645C;
  --action: #2F5B26;
  --action-deep: #244A1C;
  --sage: #85AE76;
  --sage-wash: #EAF2E5;
  --sage-line: #CFE0C7;
  --yellow: #F6B212;
  --line: #E3E8DF;
  --line-strong: #CBD3C6;
  --warn-bg: #FFF5DE;
  --warn-line: #F1D9A0;
  --warn-ink: #6B4A0E;
  --danger: #A3311F;
  --danger-bg: #FBECE8;

  --r-card: 16px;
  --r-panel: 20px;
  --r-field: 12px;
  --shadow: 0 1px 2px rgba(47, 91, 38, .06), 0 12px 32px -18px rgba(47, 91, 38, .30);
  --shadow-lift: 0 2px 4px rgba(47, 91, 38, .07), 0 24px 48px -24px rgba(47, 91, 38, .40);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --rail: 248px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1rem/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--sage-line); color: var(--ink); }
a { color: var(--action); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--action-deep); }
:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; border-radius: 6px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .6rem 1.25rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: .9375rem; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center;
  transition: transform 160ms var(--ease-out), background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primar { background: var(--action); color: #fff; box-shadow: 0 6px 18px -10px rgba(47, 91, 38, .7); }
.btn--secundar { background: var(--paper); border-color: var(--line-strong); color: var(--ink); }
.btn--liniste { background: transparent; color: var(--action); padding-inline: .75rem; }
.btn--pericol { background: var(--danger); color: #fff; }
.btn--mic { min-height: 36px; padding: .4rem .9rem; font-size: .875rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--primar:hover:not(:disabled) { background: var(--action-deep); color: #fff; }
  .btn--secundar:hover:not(:disabled) { border-color: var(--action); color: var(--action-deep); }
  .btn--liniste:hover:not(:disabled) { background: var(--sage-wash); color: var(--action-deep); }
  .btn--pericol:hover:not(:disabled) { background: #8A2818; color: #fff; }
}
.btn[aria-busy="true"] { cursor: progress; }
.btn[aria-busy="true"] .btn-text { opacity: .55; }

/* ---------- câmpuri ---------- */
.camp { display: grid; gap: .375rem; }
.camp > label, .eticheta { font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.ajutor { font-size: .8125rem; color: var(--ink-3); }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: .65rem .9rem; border-radius: var(--r-field);
  border: 1px solid var(--line-strong); background: var(--paper); font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: #6E7C74; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--action); box-shadow: 0 0 0 3px rgba(133, 174, 118, .35); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.select { appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232F3B35' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.grila-2 { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .grila-2 { grid-template-columns: 1fr; } }
.eroare-camp { color: var(--danger); font-size: .875rem; }

/* ---------- structura aplicației ---------- */
.app { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; align-content: start; }
.bara {
  position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto;
  background: var(--paper-alt); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 1.5rem 1rem 1rem;
}
.bara-sigla { display: block; padding: .25rem .5rem 1.5rem; }
.bara-sigla img { width: 100%; max-width: 196px; height: auto; display: block; }
.nav { display: grid; gap: 2px; }
.nav a {
  display: flex; align-items: center; gap: .75rem; padding: .65rem .75rem; border-radius: 12px;
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .9375rem;
  transition: background-color 160ms ease, color 160ms ease;
}
.nav a svg { width: 20px; height: 20px; flex: none; color: var(--ink-3); transition: color 160ms ease; }
.nav a[aria-current="page"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(47, 91, 38, .08), 0 0 0 1px var(--line); }
.nav a[aria-current="page"] svg { color: var(--action); }
@media (hover: hover) and (pointer: fine) { .nav a:hover:not([aria-current="page"]) { background: var(--paper-deep); color: var(--ink); } }
.bara-jos { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); display: grid; gap: .25rem; }
.cine { padding: .5rem .75rem; }
.cine strong { display: block; font-weight: 500; font-size: .9375rem; overflow-wrap: anywhere; }
.cine span { font-size: .8125rem; color: var(--ink-3); }

.sus { display: none; }
.continut { padding: 2.5rem clamp(1.25rem, 4vw, 3.5rem) 4rem; min-width: 0; }
.continut-interior { max-width: 1040px; margin: 0 auto; }

.antet-pagina { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.antet-pagina h1 { font-size: 1.75rem; line-height: 1.2; }
.antet-pagina p { color: var(--ink-3); margin-top: .35rem; max-width: 62ch; }
.inapoi { display: inline-flex; align-items: center; gap: .35rem; font-size: .875rem; font-weight: 500; text-decoration: none; margin-bottom: .75rem; }
.inapoi svg { width: 16px; height: 16px; }

/* telefon */
@media (max-width: 899px) {
  .app { grid-template-columns: 1fr; }
  .bara {
    position: fixed; inset: 0 auto 0 0; width: min(320px, 86vw); z-index: 40; height: 100dvh;
    transform: translateX(-102%); transition: transform 280ms var(--ease-drawer);
    box-shadow: var(--shadow-lift);
  }
  .bara[data-deschis="true"] { transform: translateX(0); }
  .voal { position: fixed; inset: 0; background: rgba(28, 38, 33, .32); z-index: 35; opacity: 0; pointer-events: none; transition: opacity 220ms ease; }
  .voal[data-deschis="true"] { opacity: 1; pointer-events: auto; }
  .sus {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    position: sticky; top: 0; z-index: 30; padding: .65rem 1rem; background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(8px);
  }
  .sus img { height: 38px; width: auto; display: block; }
  .continut { padding: 1.5rem 1rem 3.5rem; }
  .antet-pagina h1 { font-size: 1.5rem; }
}
@media (min-width: 900px) { .voal { display: none; } }

/* ---------- suprafețe ---------- */
.panou { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow); }
.panou-cap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.panou-cap h2 { font-size: 1.125rem; }
.panou-corp { padding: 1.4rem; }
.stiva { display: grid; gap: 1.25rem; }
.stiva-mica { display: grid; gap: .75rem; }

.banner {
  display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: var(--r-card);
  background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); font-size: .9375rem; line-height: 1.5;
}
.banner svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.banner strong { font-weight: 600; }
.banner--info { background: var(--sage-wash); border-color: var(--sage-line); color: #23421C; }

/* rânduri (liste de articole, abonați, echipă) */
.lista { list-style: none; margin: 0; padding: 0; }
.rand {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 1.25rem; align-items: center;
  padding: 1rem 1.4rem; border-top: 1px solid var(--line);
}
.lista > .rand:first-child { border-top: 0; }
.rand-titlu { font-weight: 500; font-size: 1.0625rem; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
a.rand-titlu:hover { color: var(--action-deep); text-decoration: underline; }
.rand-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; align-items: center; margin-top: .3rem; font-size: .875rem; color: var(--ink-3); }
.rand-actiuni { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) {
  .rand { grid-template-columns: 1fr; padding: 1rem; }
  .rand-actiuni { justify-content: flex-start; }
}

.pastila { display: inline-flex; align-items: center; gap: .4rem; padding: .15rem .6rem; border-radius: 999px; font-size: .8125rem; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.pastila::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.pastila--publicat, .pastila--activ, .pastila--trimis { background: var(--sage-wash); color: #23421C; }
.pastila--ciorna, .pastila--dezabonat, .pastila--invitatie_expirata { background: var(--paper-deep); color: var(--ink-2); }
.pastila--simulat, .pastila--invitat { background: var(--warn-bg); color: var(--warn-ink); }
.eticheta-tip { font-size: .8125rem; font-weight: 500; color: var(--action); }

.gol { padding: 2.5rem 1.5rem; text-align: center; display: grid; justify-items: center; gap: .6rem; }
.gol svg { width: 56px; height: 56px; color: var(--sage); }
.gol h3 { font-size: 1.125rem; }
.gol p { color: var(--ink-3); max-width: 46ch; }

.schelet { height: 64px; margin: .75rem 1.4rem; border-radius: 12px; background: linear-gradient(90deg, var(--paper-alt), var(--paper-deep), var(--paper-alt)); background-size: 200% 100%; animation: schelet 1.2s ease-in-out infinite; }
@keyframes schelet { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.filtre { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper-alt); border: 1px solid var(--line); flex-wrap: wrap; }
.filtre button { border: 0; background: transparent; padding: .4rem .9rem; border-radius: 999px; font-size: .875rem; font-weight: 500; color: var(--ink-2); cursor: pointer; min-height: 36px; transition: background-color 160ms ease, color 160ms ease; }
.filtre button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(47, 91, 38, .12); }

/* ---------- editorul ---------- */
.editor-grila { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.5rem; align-items: start; }
@media (max-width: 1100px) { .editor-grila { grid-template-columns: 1fr; } }
.editor-lateral { position: sticky; top: 1.5rem; }
@media (max-width: 1100px) { .editor-lateral { position: static; } }

.input-titlu { font-size: 1.375rem; font-weight: 600; min-height: 56px; letter-spacing: -0.01em; }
.slug { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; font-size: .875rem; color: var(--ink-3); }
.slug code { font-family: inherit; color: var(--ink-2); overflow-wrap: anywhere; }

.rich { border: 1px solid var(--line-strong); border-radius: var(--r-field); background: var(--paper); transition: border-color 160ms ease, box-shadow 160ms ease; }
.rich:focus-within { border-color: var(--action); box-shadow: 0 0 0 3px rgba(133, 174, 118, .35); }
.unelte { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px; border-bottom: 1px solid var(--line); background: var(--paper-alt); border-radius: var(--r-field) var(--r-field) 0 0; position: sticky; top: 0; z-index: 2; }
@media (max-width: 899px) { .unelte { top: 59px; } }
.unelte button {
  display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-width: 40px; height: 40px; padding: 0 .55rem;
  border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); cursor: pointer; font-size: .875rem; font-weight: 500;
  transition: background-color 140ms ease, color 140ms ease, transform 140ms var(--ease-out);
}
.unelte button svg { width: 18px; height: 18px; }
.unelte button:active { transform: scale(.94); }
.unelte button[aria-pressed="true"] { background: var(--sage-wash); color: var(--action-deep); }
@media (hover: hover) and (pointer: fine) { .unelte button:hover { background: var(--paper); color: var(--ink); } }
.unelte .sep { width: 1px; background: var(--line); margin: 6px 4px; }
.rich-zona { min-height: 320px; padding: 1.1rem 1.25rem 1.5rem; outline: none; font-size: 1.0625rem; line-height: 1.7; overflow-wrap: anywhere; }
.rich-zona:empty::before { content: attr(data-placeholder); color: #6E7C74; pointer-events: none; }

/* text de articol (editor, previzualizare) */
.proza h2 { font-size: 1.375rem; margin: 1.6em 0 .5em; line-height: 1.3; }
.proza h3 { font-size: 1.125rem; margin: 1.4em 0 .4em; line-height: 1.35; }
.proza p { margin: 0 0 .9em; }
.proza ul, .proza ol { margin: 0 0 .9em; padding-left: 1.4em; }
.proza li { margin: .25em 0; }
.proza > :first-child { margin-top: 0; }
.proza strong { font-weight: 600; }

.previzualizare { background: var(--paper-alt); border-radius: var(--r-panel); border: 1px solid var(--line); padding: clamp(1.25rem, 4vw, 2.75rem); }
.previzualizare-foaie { background: var(--paper); border-radius: var(--r-card); max-width: 720px; margin: 0 auto; padding: clamp(1.25rem, 4vw, 3rem); box-shadow: var(--shadow); }
.previzualizare-foaie .meta { font-size: .875rem; color: var(--ink-3); margin-bottom: .5rem; }
.previzualizare-foaie h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.2; margin-bottom: .75rem; }
.previzualizare-foaie .rezumat { font-size: 1.125rem; color: var(--ink-2); margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.previzualizare-foaie .proza { font-size: 1.0625rem; line-height: 1.7; max-width: 68ch; }
.eticheta-previz { display: flex; align-items: center; gap: .5rem; justify-content: center; font-size: .8125rem; color: var(--ink-3); margin-bottom: 1rem; }
.eticheta-previz::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }

.bara-actiuni { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }

/* ---------- newsletter ---------- */
.luna-alege { display: inline-flex; align-items: center; gap: .25rem; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: var(--paper); }
.luna-alege span { min-width: 9.5rem; text-align: center; font-weight: 500; text-transform: capitalize; }
.luna-alege button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink-2); }
.luna-alege button:hover { background: var(--paper-alt); }
.luna-alege svg { width: 18px; height: 18px; }
.nl-grila { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 1100px) { .nl-grila { grid-template-columns: 1fr; } }
.note { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.nota { display: grid; grid-template-columns: 1fr auto; gap: .5rem; align-items: start; padding: .7rem .8rem; border-radius: 12px; background: var(--paper-alt); border: 1px solid var(--line); }
.nota p { font-size: .9375rem; overflow-wrap: anywhere; }
.nota small { display: block; color: var(--ink-3); font-size: .8125rem; margin-top: .2rem; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-3); cursor: pointer; display: grid; place-items: center; transition: background-color 140ms ease, color 140ms ease, transform 140ms var(--ease-out); }
.icon-btn:hover { background: var(--danger-bg); color: var(--danger); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 18px; height: 18px; }
.mini-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; font-size: .9375rem; }
.mini-lista li { display: flex; gap: .5rem; align-items: baseline; }
.mini-lista li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); flex: none; transform: translateY(-2px); }
.avertisment { color: var(--warn-ink); }
.ramai { display: flex; gap: .5rem; align-items: flex-end; flex-wrap: wrap; }
.ramai .camp { flex: 1 1 220px; }
.cadru-email { width: 100%; height: 720px; border: 0; border-radius: var(--r-card); background: var(--paper-alt); display: block; }
.nl-stare { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; font-size: .875rem; color: var(--ink-3); }

/* ---------- link de invitație ---------- */
.link-cutie { display: grid; gap: .6rem; padding: 1rem; border-radius: var(--r-card); background: var(--sage-wash); border: 1px solid var(--sage-line); }
.link-cutie code { font-family: inherit; font-size: .875rem; background: var(--paper); border: 1px solid var(--sage-line); padding: .6rem .75rem; border-radius: 10px; overflow-wrap: anywhere; word-break: break-all; color: var(--ink-2); }

/* ---------- tabel abonați ---------- */
.tabel-cutie { overflow-x: auto; }
table.tabel { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.tabel th { text-align: left; font-weight: 500; font-size: .8125rem; color: var(--ink-3); padding: .75rem 1.4rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tabel td { padding: .8rem 1.4rem; border-top: 1px solid var(--line); vertical-align: middle; }
.tabel tr:first-child td { border-top: 0; }
.tabel td.email { overflow-wrap: anywhere; font-weight: 500; }
@media (max-width: 720px) {
  .tabel thead { display: none; }
  .tabel tr { display: grid; grid-template-columns: 1fr auto; gap: .25rem .75rem; padding: .9rem 1rem; border-top: 1px solid var(--line); }
  .tabel tr:first-child { border-top: 0; }
  .tabel td { padding: 0; border: 0; }
  .tabel td.email { grid-column: 1 / -1; }
  .tabel td.meta-mobil { color: var(--ink-3); font-size: .875rem; }
}

/* ---------- dialog ---------- */
dialog.dialog {
  border: 0; padding: 0; border-radius: var(--r-panel); max-width: min(480px, calc(100vw - 2rem)); width: 100%;
  box-shadow: var(--shadow-lift), 0 0 0 1px var(--line); color: var(--ink);
  opacity: 1; transform: none; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), overlay 200ms allow-discrete, display 200ms allow-discrete;
}
@starting-style { dialog.dialog[open] { opacity: 0; transform: scale(.96) translateY(6px); } }
dialog.dialog::backdrop { background: rgba(28, 38, 33, .38); }
.dialog-corp { padding: 1.6rem 1.6rem 1.25rem; display: grid; gap: .8rem; }
.dialog-corp h2 { font-size: 1.25rem; }
.dialog-corp p { color: var(--ink-2); }
.dialog-actiuni { display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap; padding: 0 1.6rem 1.5rem; }
.bifa { display: flex; gap: .65rem; align-items: flex-start; font-size: .9375rem; color: var(--ink-2); cursor: pointer; }
.bifa input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--action); flex: none; }

/* ---------- notificări ---------- */
.toasturi { position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%); z-index: 60; display: grid; gap: .5rem; width: min(440px, calc(100vw - 2rem)); pointer-events: none; }
@media (min-width: 900px) { .toasturi { left: auto; right: 1.5rem; transform: none; width: 400px; } }
.toast {
  pointer-events: auto; display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; border-radius: 14px;
  background: var(--ink); color: #F3F6F1; font-size: .9375rem; box-shadow: 0 18px 40px -18px rgba(28, 38, 33, .6);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}
@starting-style { .toast { opacity: 0; transform: translateY(12px); } }
.toast[data-iese="true"] { opacity: 0; transform: translateY(8px); transition-duration: 160ms; }
.toast svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--sage); }
.toast--eroare svg { color: #F2A28F; }

/* ---------- ecranele de intrare și parolă ---------- */
.intrare { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.intrare-lumina {
  position: relative; overflow: hidden; background:
    radial-gradient(90% 70% at 18% 88%, rgba(133, 174, 118, .30), transparent 62%),
    radial-gradient(70% 60% at 85% 12%, rgba(246, 178, 18, .10), transparent 60%),
    var(--paper-alt);
  border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; padding: clamp(2rem, 5vw, 4rem);
}
.intrare-lumina img { width: min(340px, 80%); height: auto; position: relative; }
.intrare-lumina .papadie { position: absolute; right: -30px; bottom: -10px; width: min(520px, 75%); height: auto; color: var(--action); opacity: .9; }
.intrare-lumina blockquote { position: relative; margin: 0; max-width: 30ch; font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.35; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.intrare-lumina blockquote span { display: block; margin-top: .75rem; font-size: .9375rem; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.intrare-forma { display: grid; place-items: center; padding: clamp(1.5rem, 5vw, 4rem); }
.intrare-forma form, .intrare-forma .card-mesaj { width: 100%; max-width: 400px; display: grid; gap: 1.1rem; }
.intrare-forma h1 { font-size: 1.75rem; line-height: 1.2; }
.intrare-forma .sub { color: var(--ink-3); margin-top: -.5rem; }
.intrare-forma .btn { width: 100%; min-height: 48px; }
.mesaj-eroare { padding: .75rem .9rem; border-radius: 12px; background: var(--danger-bg); color: var(--danger); font-size: .9375rem; }
.parola-camp { position: relative; }
.parola-camp .input { padding-right: 5.5rem; }
.parola-camp button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--action); font-weight: 500; font-size: .875rem; padding: .5rem .7rem; border-radius: 8px; cursor: pointer; }
.parola-camp button:hover { background: var(--sage-wash); }
@media (max-width: 899px) {
  .intrare { grid-template-columns: 1fr; }
  .intrare-lumina { min-height: 0; padding: 1.5rem 1.25rem 1.25rem; border-right: 0; border-bottom: 1px solid var(--line); gap: 1rem; }
  .intrare-lumina img { width: min(240px, 70%); }
  .intrare-lumina blockquote, .intrare-lumina .papadie { display: none; }
  .intrare-forma { place-items: start center; padding-top: 2rem; }
}

.papadie .samanta { transform-box: fill-box; transform-origin: 0% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .papadie .samanta--zbor { animation: zbor 9s var(--ease-out) infinite; }
  .papadie .samanta--zbor:nth-of-type(2) { animation-delay: 3s; }
  .papadie .samanta--zbor:nth-of-type(3) { animation-delay: 6s; }
}
@keyframes zbor {
  0%, 12% { opacity: 0; transform: translate(0, 0) rotate(0deg); }
  20% { opacity: .9; }
  80% { opacity: .5; }
  100% { opacity: 0; transform: translate(-140px, -120px) rotate(-18deg); }
}

@media (prefers-reduced-motion: reduce) {
  .bara, .voal, .toast, dialog.dialog, .btn, .nav a { transition-property: opacity, background-color, color, border-color; }
  .btn:active:not(:disabled) { transform: none; }
  .schelet { animation: none; }
}
