/* =====================================================================
   Casa Anke - panou colaboratori
   Paleta mov + portocaliu, layout simplu si aerisit.
   Scara: text 15px, spatieri multiplu de 4px, colturi de 3px.
   ===================================================================== */
:root {
    --purple: #7b2a7f;
    --purple-dark: #5a1d5e;
    --purple-mid: #8f2f78;
    --purple-soft: #f7f0f8;
    --purple-line: #e6d8e8;
    --orange: #f26a1f;
    --orange-dark: #d9560f;
    --amber: #f6a344;
    --amber-soft: #fff6eb;
    --text: #444;
    --heading: #5c5860;
    --muted: #8a8590;
    --line: #dcdcdc;
    --line-soft: #ececec;
    --bg: #fff;
    --bg-alt: #f3f3f3;
    --green: #3c8a3f;
    --green-soft: #e8f3e3;
    --red: #e23c2e;
    --red-soft: #fdeceb;
    --blue: #3a6fb0;
    --radius: 3px;
    --shadow: 0 1px 2px rgba(0, 0, 0, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font: 400 15px/1.55 Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    display: flex; flex-direction: column; min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--purple); }
a:hover { color: var(--orange); }
img { max-width: 100%; }
h1, h2, h3 { font-weight: 400; color: var(--heading); margin: 0 0 .6em; line-height: 1.2; }
h1 { font-family: "Roboto Slab", Georgia, serif; font-size: 34px; margin-bottom: 20px; }
h2 { font-size: 22px; }
h3 { font-size: 17px; }
p { margin: 0 0 12px; }
.ic { width: 1em; height: 1em; vertical-align: -.12em; flex: none; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: 20px 0; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 460px; }
.page { padding-top: 24px; padding-bottom: 56px; flex: 1; }

/* ---------- Header ---------- */
.topbar {
    background: linear-gradient(90deg, var(--purple-dark) 0%, var(--purple) 50%, var(--purple-mid) 100%);
    color: #fff;
    position: sticky; top: 0; z-index: 50;
}
.topbar-inner { display: flex; align-items: center; gap: 14px; height: 54px; }
.brand { display: inline-flex; flex: none; }
.brand img { height: 36px; width: auto; display: block; }
.tagline { font-size: 18px; font-weight: 500; margin-left: 4px; }
.who { display: flex; align-items: center; gap: 10px; text-align: left; max-width: 240px; }
.who-avatar { position: relative; display: flex; flex: none; }
.who-avatar .badge { position: absolute; top: -4px; right: -6px; border: 2px solid var(--purple-mid); }
.who-text { min-width: 0; line-height: 1.25; }
.who-text strong { display: block; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.who-text small { display: block; color: rgba(255, 255, 255, .65); font-size: 13px; }
.who.active .who-text strong, .who:hover .who-text strong { color: var(--amber); }
.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255, 255, 255, .8); flex: none; }
.avatar-initials { display: inline-grid; place-items: center; background: #ead9ec; color: var(--purple); font-weight: 500; font-size: 15px; }

.mainnav { display: flex; align-items: center; gap: 2px; flex: 1; height: 100%; }
.mainnav > a, .dropdown-btn {
    color: #fff; text-decoration: none; padding: 6px 9px; border-radius: var(--radius);
    background: none; border: 0; font: inherit; cursor: pointer; white-space: nowrap;
}
.mainnav > a:hover, .dropdown-btn:hover { color: var(--amber); }
.mainnav > a.active, .dropdown-btn.active { color: var(--amber); }
.account { margin-left: auto; position: relative; }
.caret { font-size: 10px; opacity: .8; margin-left: 2px; }
.dropdown-menu {
    display: none; position: absolute; right: 0; top: calc(100% + 4px); background: #fff; min-width: 220px;
    border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 4px 16px rgba(0, 0, 0, .12); padding: 4px 0; z-index: 60;
}
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a, .dropdown-menu button {
    display: flex; gap: 10px; align-items: center; width: 100%; padding: 7px 14px; color: var(--text);
    text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; text-align: left;
}
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--purple-soft); color: var(--purple); }
.dropdown-menu hr { margin: 4px 0; }
.dropdown-menu .ic { color: var(--muted); }
.badge { display: inline-block; background: var(--orange); color: #fff; border-radius: 8px; font-size: 11px; padding: 0 5px; line-height: 16px; font-weight: 500; vertical-align: 1px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 4px; cursor: pointer; }
.nav-toggle .ic { width: 26px; height: 26px; }
.guestnav { margin-left: auto; display: flex; gap: 20px; }
.guestnav a { color: #fff; text-decoration: none; }
.guestnav a:hover { color: var(--amber); }

/* ---------- Banda pagini de autentificare ---------- */
.strip { position: relative; background: var(--amber); color: #fff; text-align: center; padding: 8px 48px; font-size: 14px; }
.strip[hidden] { display: none; }
.strip-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 22px; line-height: 1; padding: 2px 6px; cursor: pointer; opacity: .85; }
.strip-close:hover { opacity: 1; }

/* ---------- Butoane ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 7px 14px; border-radius: var(--radius); border: 1px solid transparent; font: inherit;
    text-decoration: none; cursor: pointer; line-height: 1.35; white-space: nowrap;
    transition: background .15s, border-color .15s, color .15s;
    background: #fff; color: var(--text);
}
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-dark); color: #fff; }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-dark); color: #fff; }
.btn-outline { background: #fff; border-color: #c9c9c9; color: #333; }
.btn-outline:hover { border-color: var(--purple); color: var(--purple); }
.btn-outline .ic { color: var(--orange); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; color: #fff; }
.btn-whatsapp .ic { width: 16px; height: 16px; }
.btn-danger { background: #fff; border-color: #ecc0bb; color: var(--red); }
.btn-danger:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn-link { background: none; border: 0; color: var(--purple); padding: 0; text-decoration: underline; font: inherit; cursor: pointer; }
.btn-sm { padding: 4px 10px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px; border-radius: var(--radius); font-size: 13px; background: var(--purple-soft); color: var(--purple); vertical-align: 1px; }
.pill-premium { background: var(--amber-soft); color: var(--orange-dark); }
.pill-green { background: var(--green-soft); color: var(--green); }
.pill-orange { background: var(--amber); color: #fff; font-size: 12px; }
.pill-uncertain { background: #fdf3c4; color: #7a6200; }
.pill-grey { background: #eee; color: #777; }

/* ---------- Alerte ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 20px; border: 1px solid; }
.alert-success { background: var(--green-soft); border-color: #cfe5c6; color: #2f6a32; }
.alert-error { background: var(--red-soft); border-color: #f2c6c1; color: #a3291c; }
.alert-info, .alert-html { background: var(--purple-soft); border-color: var(--purple-line); color: var(--purple-dark); }
.alert-warning { background: var(--amber-soft); border-color: #f5d6ad; color: #85490a; }
.alert ul { margin: 0; padding-left: 18px; }
.note { color: var(--green); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hint { color: #9a9a9a; font-size: 13px; line-height: 1.6; }

/* ---------- Carduri dashboard ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; margin-bottom: 28px; }
.card {
    border: 1px solid var(--line); border-radius: 2px; padding: 16px 18px 18px; background: #fff;
    box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card-title { text-transform: uppercase; font-size: 13px; letter-spacing: .02em; color: var(--muted); margin-bottom: 6px; align-self: flex-start; }
a.card-title { color: var(--purple); }
a.card-title:hover { color: var(--orange); }
.card-body { color: var(--muted); flex: 1; }
.card-body b, .card-body strong { color: #333; font-weight: 400; }
.card .btn { margin-top: 14px; white-space: normal; }
.card-split { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.trend { color: var(--green); white-space: nowrap; }
.trend.down { color: var(--red); }
.card-profile { display: flex; gap: 16px; align-items: center; color: #333; line-height: 1.5; }
.card-profile .avatar { width: 56px; height: 56px; border: 0; font-size: 20px; }
.card-links a { display: block; }
.card-wide { grid-column: span 2; }
.checklist { columns: 2; column-gap: 20px; font-size: 14px; }
.checklist div { break-inside: avoid; margin-bottom: 3px; }
.checklist .ok { color: var(--green); }
.checklist .todo { color: #ccc; }

/* ---------- Statistici pe sectiuni ---------- */
.stats { display: flex; gap: 20px; flex-wrap: wrap; margin: 4px 0 10px; }
.stat-box { border: 1px solid var(--line); border-radius: 2px; padding: 14px 18px; text-align: center; box-shadow: var(--shadow); min-width: 180px; }
.stat-box.wide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; min-width: 440px; }
.stat-label { text-transform: uppercase; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.stat-value { font-size: 24px; color: #555; line-height: 1.25; }
.stat-value small { font-size: 15px; color: var(--muted); }
.stat-sub { color: #555; margin-top: 2px; }

/* ---------- Tab-uri ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 24px 0; flex-wrap: wrap; }
.tabs a { padding: 9px 16px; text-decoration: none; color: var(--blue); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a.active { color: #333; border-bottom-color: var(--orange); }
.tabs a:hover { color: var(--orange); }

/* ---------- Formulare ---------- */
.form { max-width: 760px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.field { margin-bottom: 16px; }
.field > label, .label { display: block; margin-bottom: 5px; color: #444; }
.req { color: var(--red); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=url], input[type=tel], select, textarea {
    width: 100%; height: 36px; padding: 6px 10px; border: 1px solid #c9c9c9; border-radius: var(--radius);
    font: inherit; color: var(--text); background: #fff;
}
textarea { height: auto; min-height: 130px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 2px rgba(123, 42, 127, .12); }
input[type=file] { font: inherit; font-size: 14px; }
.input-locked, input:disabled { background: #f3f3f3; color: #777; cursor: not-allowed; }
.input-group { display: flex; }
.input-group .addon { background: #eee; border: 1px solid #c9c9c9; border-right: 0; padding: 0 12px; border-radius: var(--radius) 0 0 var(--radius); display: flex; align-items: center; color: #555; }
.input-group input { border-radius: 0 var(--radius) var(--radius) 0; }
.check { display: inline-flex; gap: 7px; align-items: center; cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 0; accent-color: var(--purple); }
.error-text { color: var(--red); font-size: 13px; margin-top: 3px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.panel { border: 1px solid var(--line); border-radius: 2px; padding: 18px 20px; margin-bottom: 20px; background: #fff; }
.panel-soft { background: #fafafa; }
.panel h3 { margin-bottom: 12px; }
fieldset { border: 1px solid var(--line); border-radius: 2px; padding: 12px 18px 0; margin: 0 0 18px; }
legend { padding: 0 6px; color: var(--purple); }
ul.ticks { padding-left: 20px; margin: 0 0 16px; }
ul.ticks li { margin: 2px 0; }

/* ---------- Calendar ---------- */
.cal-status { color: #555; margin: 0 0 4px; }
.cal-status strong { color: #333; font-weight: 500; }
.inline-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0 20px; align-items: end; }
.inline-form .field { margin-bottom: 0; }
.inline-form .btn { height: 36px; }
.req-list { border: 1px solid #efe6f0; border-radius: 2px; background: #fcfafd; margin-bottom: 8px; }
.req-row { display: flex; align-items: center; gap: 16px; padding: 10px 14px; }
.req-row + .req-row { border-top: 1px solid #efe6f0; }
.req-who { width: 280px; flex: none; line-height: 1.35; }
.req-who strong { display: block; font-weight: 500; color: #333; }
.req-who span { display: block; font-size: 12px; color: #999; }
.req-row .copy-box { flex: 1; min-width: 0; }
.req-row .copy-box input { color: #777; background: #fff; }
.testi-list { display: grid; gap: 16px; }
.testi { border: 1px solid #ebdeed; border-radius: 2px; background: #f9f4fa; box-shadow: 0 2px 8px rgba(90, 29, 94, .05); padding: 16px 18px; }
.testi-good { background: #f3f9f1; border-color: #dcebd6; box-shadow: 0 2px 8px rgba(60, 138, 63, .06); }
.testi-bad { background: #fdf4f3; border-color: #f2dcd9; box-shadow: 0 2px 8px rgba(226, 60, 46, .06); }
.testi-head { display: flex; align-items: center; gap: 12px; }
.testi-avatar { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--purple); font-weight: 500; flex: none; }
.testi-who { flex: 1; min-width: 0; line-height: 1.35; }
.testi-who strong { display: block; font-weight: 500; color: #333; }
.testi-who span { font-size: 13px; color: #999; }
.testi-who span b { font-weight: 500; color: #555; }
.testi-meta { display: flex; align-items: center; gap: 10px; flex: none; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 30px; line-height: 1; color: #ddd; cursor: pointer; transition: color .1s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--amber); }
.star-input input:focus-visible + label { outline: 2px solid var(--purple); outline-offset: 2px; }
.stars-off { color: #e2e2e2; }
.testi-text { margin: 12px 0 0; color: #444; white-space: pre-line; }
.testi-foot { margin-top: 8px; }
.score-panel { display: grid; grid-template-columns: 1fr 1.4fr 1.6fr; border: 1px solid var(--line); border-radius: 2px; box-shadow: var(--shadow); background: #fff; margin-bottom: 8px; }
.score-panel > div { padding: 14px 18px; }
.score-panel > div + div { border-left: 1px solid var(--line-soft); }
.score-label { display: block; text-transform: uppercase; font-size: 11px; letter-spacing: .04em; color: var(--muted); margin-bottom: 4px; }
.score-value { font-size: 28px; line-height: 1.1; color: var(--purple); font-weight: 500; margin-bottom: 10px; }
.score-value small { font-size: 13px; color: var(--muted); font-weight: 400; }
.score-main { display: flex; flex-direction: column; justify-content: center; }
.score-main .bar { width: 100%; }
.score-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-content: center; align-items: center; text-align: center; }
.score-stats strong { display: block; font-size: 20px; line-height: 1.2; font-weight: 500; color: #333; }
.score-stats strong.ok { color: var(--green); }
.score-stats strong.off { color: #bbb; }
.score-stats small { display: block; font-size: 12px; color: #999; margin-top: 2px; }
.premium-panel { grid-template-columns: 1fr 1.4fr 1.4fr; }
.premium-name { font-size: 17px; font-weight: 500; color: #333; margin-bottom: 2px; }
.premium-panel .score-value { margin-bottom: 0; }
.premium-includes, .premium-status { display: flex; flex-direction: column; justify-content: center; }
.rules { margin: 0; padding-left: 16px; font-size: 13px; color: #666; line-height: 1.5; }
.rules li { margin: 2px 0; }
.rules b { font-weight: 500; color: #333; }
.rules .rule-info { list-style: none; margin-left: -16px; display: flex; gap: 6px; align-items: flex-start; color: #333; }
.rules .rule-info .ic { width: 14px; height: 14px; margin-top: 2px; flex: none; color: var(--orange); }
.rules .rule-info b { color: #333; }
.steps.steps-col { flex-direction: column; gap: 7px; }
.steps.steps-col li { align-items: flex-start; }
.steps.steps-col li::before { margin-top: 1px; }
.steps b { font-weight: 500; color: #333; }
.info-tip { display: flex; align-items: center; gap: 14px; background: var(--amber-soft); border: 1px solid #f5d6ad; border-left: 3px solid var(--orange); border-radius: var(--radius); padding: 12px 18px; margin-bottom: 16px; color: #333; font-size: 14px; }
.info-tip-icon { color: var(--orange); display: flex; flex: none; }
.info-tip-icon .ic { width: 22px; height: 22px; }
.info-tip-body { flex: 1; min-width: 0; }
.info-tip-body strong { display: block; color: #333; font-weight: 500; margin-bottom: 4px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; counter-reset: step; color: #555; font-size: 14px; }
.steps li { counter-increment: step; display: flex; align-items: center; gap: 7px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--purple); color: #fff; font-size: 11px; font-weight: 500; flex: none; }
.steps em { font-style: normal; color: #333; font-weight: 500; }
.legend { display: flex; gap: 16px; align-items: center; flex: none; font-size: 14px; color: #555; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.legend i { width: 16px; height: 16px; border: 1px solid #c9c9c9; background: #fff; display: inline-block; border-radius: 2px; }
.legend i.busy { background: var(--red); border-color: var(--red); }
.legend i.uncertain { background: #fdf3c4; border-color: #f0dc8a; }
.year-title { text-align: center; font-size: 26px; color: #555; margin: 32px 0 16px; }
.months { display: grid; grid-template-columns: repeat(3, minmax(0, 280px)); gap: 28px; justify-content: center; }
.month table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.month th, .month td { border: 1px solid #ddd; text-align: center; height: 30px; padding: 0; }
.month th { font-weight: 400; color: #666; }
.month caption { border: 1px solid #ddd; border-bottom: 0; padding: 6px; color: #555; }
.month td.day { cursor: pointer; color: var(--blue); user-select: none; transition: background .1s; }
.month td.day:hover { background: var(--purple-soft); }
.month td.day.busy { background: var(--red); color: #fff; }
.month td.day.uncertain { background: #f5c518; color: #4a3b00; }
.month td.day.today { font-weight: 700; box-shadow: inset 0 0 0 2px var(--orange); }
.month td.day.busy.today, .month td.day.uncertain.today { box-shadow: inset 0 0 0 2px #fff; }
.month td.past { background: #f1f1f1; color: #444; cursor: default; }
.month td.past.busy { background: #f2b3ad; color: #fff; }
.month td.past.uncertain { background: #f8e6a0; color: #8a7400; }
.month td.empty { background: #f7f7f7; }
.month td.saving { opacity: .5; }
/* luna necompletata: toate zilele nemarcate sunt incerte (galben deschis) */
.month.open td.day:not(.busy):not(.uncertain) { background: #fdf3c4; color: #7a6200; }
.month.open td.past:not(.busy):not(.uncertain) { background: #faf1d0; color: #a89a5c; }
.month caption { line-height: 1.3; }
.month-state { display: block; font-size: 11px; color: #a08400; min-height: 14px; }
.month-state .btn-link { font-size: 11px; color: var(--purple); }
.month-state .ms-open, .month-state .ms-conf { display: none; }
.month.open .ms-open { display: inline; }
.month.confirmed .ms-conf { display: inline; color: var(--green); }
.info-tip-note { margin: 6px 0 0; font-size: 13px; color: #333; }
.info-tip-note em { font-style: normal; font-weight: 500; color: #7a6200; }
.save-status { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #333; color: #fff; padding: 6px 16px; border-radius: var(--radius); font-size: 14px; opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 90; }
.save-status.show { opacity: .92; }

/* ---------- Portofoliu ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; }
.photo-card { border: 1px solid var(--line); border-radius: 2px; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.photo-card .ph-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 4px 10px; border-bottom: 1px solid var(--line); position: relative; min-height: 34px; }
.ph-delete { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 2px 0; font: inherit; font-size: 13px; color: #666; cursor: pointer; }
.ph-delete .ic { color: var(--red); width: 15px; height: 15px; }
.ph-delete:hover { color: var(--red); }
.photo-card .ph-head .ph-menu { position: absolute; left: 4px; top: 3px; }
.photo-card select { border: 0; height: 26px; padding: 0 4px; width: auto; max-width: 150px; field-sizing: content; font-size: 14px; background: transparent; box-shadow: none; }
.photo-card .ph-date { font-size: 13px; color: #888; }
.photo-card .ph-badge { position: absolute; right: 6px; top: 6px; }
.tab-count { display: inline-block; min-width: 20px; padding: 0 8px; margin-left: 4px; border-radius: 10px; background: #eee; color: #777; font-size: 12px; line-height: 18px; text-align: center; }
.tabs a.active .tab-count { background: var(--amber-soft); color: var(--orange-dark); }
.photo-card .ph-img { aspect-ratio: 1; background: #eee center/cover no-repeat; display: block; }
.photo-card .ph-foot { text-align: center; padding: 8px; color: #666; font-size: 13px; display: flex; justify-content: center; gap: 8px; align-items: center; }
.photo-card.featured { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.ph-menu > button { background: none; border: 0; cursor: pointer; padding: 4px; color: #666; }
.sortable-ghost { opacity: .35; }
.sorting .photo-card, .sorting .pkg-card { cursor: grab; }
.sorting .photo-card:hover { outline: 1px dashed var(--purple); }
.dropzone { border: 1px dashed #c9b3cc; border-radius: var(--radius); padding: 18px; text-align: center; background: var(--purple-soft); color: var(--purple-dark); cursor: pointer; transition: background .15s; }
.full-notice { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; padding: 14px 16px; background: var(--amber-soft); border: 1px solid #f5d6ad; border-left: 3px solid var(--orange); border-radius: var(--radius); color: #333; font-size: 14px; }
.full-notice .ic { color: var(--orange); width: 18px; height: 18px; margin-top: 1px; }
.full-notice strong { font-weight: 500; color: #222; }
.tip-notice { margin-top: 0; }
.tip-notice a { display: block; margin-top: 6px; color: var(--orange-dark); }
.tip-notice a:hover { color: var(--purple); }
.video-add { margin-top: 8px; border: 1px dashed #c9b3cc; border-radius: var(--radius); padding: 14px 16px; background: var(--purple-soft); }
.video-add label { color: var(--purple-dark); }
.dropzone.drag { background: #eedff0; }
.dropzone input { display: none; }
.dropzone select { width: auto; height: 28px; padding: 0 6px; font-size: 14px; }
.progress { height: 4px; background: #e4e4e4; overflow: hidden; margin-top: 10px; display: none; }
.progress div { height: 100%; width: 0; background: var(--orange); transition: width .2s; }
.video-thumb { aspect-ratio: 16/9; background: #222 center/cover no-repeat; display: grid; place-items: center; color: #fff; }
.video-thumb .ic { width: 40px; height: 40px; opacity: .9; }
.embed { aspect-ratio: 16/9; width: 100%; border: 0; }

/* ---------- Liste ---------- */
.list { border-top: 1px solid var(--line-soft); }
.list-item { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); align-items: flex-start; }
.list-item .grow { flex: 1; min-width: 0; }
.list-item h3 { margin: 0 0 2px; color: #333; font-size: 16px; }
.list-item .meta { color: var(--muted); font-size: 13px; display: flex; gap: 14px; flex-wrap: wrap; }
.list-item.unread h3 { font-weight: 500; }
.list-item.unread { background: linear-gradient(90deg, var(--amber-soft), transparent 50%); }
.thumbs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.thumbs a, .thumbs span { position: relative; }
.thumbs img { width: 72px; height: 72px; object-fit: cover; display: block; }
.stars { color: var(--amber); letter-spacing: 1px; font-size: 14px; }
.date-box { width: 56px; text-align: center; border: 1px solid var(--line); padding: 4px 0; flex: none; }
.date-box b { display: block; font-size: 20px; color: var(--purple); line-height: 1.2; font-weight: 400; }
.date-box small { color: var(--muted); text-transform: uppercase; font-size: 11px; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.empty-state { color: #555; padding: 4px 0 24px; }
details.inline > summary { cursor: pointer; color: var(--purple); list-style: none; }
details.inline > summary::-webkit-details-marker { display: none; }
details.inline[open] > summary { margin-bottom: 10px; }
.icon-box { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); color: var(--purple); flex: none; }

/* ---------- Pachete ---------- */
.pkgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); gap: 20px 24px; margin-top: 20px; }
.pkg-card { display: flex; gap: 18px; padding: 14px; background: #fff; border: 1px solid var(--line-soft); border-radius: 2px; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); transition: box-shadow .15s; }
.pkg-card:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, .1); }
.pkg-cover { position: relative; display: block; width: 130px; aspect-ratio: 1; flex: none; border-radius: 0; overflow: hidden; background: #f1f1f1; text-decoration: none; }
.team-card { align-items: flex-start; }
.team-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; border: 0; font-size: 26px; }
.team-avatar.sm { width: 44px; height: 44px; font-size: 18px; }
.team-empty { margin: 14px 0 0; }
.team-msg { margin: 8px 0 0; font-size: 14px; color: #555; font-style: italic; }
.team-box { padding: 4px 0 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line-soft); }
.team-box:last-of-type { border-bottom: 0; }
.team-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.team-members { display: flex; align-items: center; gap: 12px; }
.team-info { margin-left: 8px; line-height: 1.4; }
.team-info strong { display: block; font-weight: 500; color: #333; font-size: 16px; }
.team-info span { display: block; font-size: 13px; color: #999; margin-top: 2px; }
.team-plus { color: var(--orange); font-weight: 500; font-size: 18px; }
.team-role { margin: 18px 0 0; padding: 10px 14px; background: var(--amber-soft); border-left: 3px solid var(--orange); font-size: 14px; color: #333; }
.team-role .ic { color: var(--orange); }
.team-role b { font-weight: 500; }
.pkg-cover-wide { width: 220px; aspect-ratio: 16/9; align-self: center; }
.pkg-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pkg-cover .cover-empty { font-size: 12px; }
.pkg-cover:hover .cover-empty { color: var(--purple); }
.pkg-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pkg-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pkg-name { font-size: 17px; font-weight: 500; color: #333; text-decoration: none; line-height: 1.3; padding-top: 2px; }
.pkg-name:hover { color: var(--purple); }
.pkg-tools { display: flex; gap: 2px; flex: none; }
.pkg-tools form { display: contents; }
.pkg-tool { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 6px; background: none; color: #aaa; cursor: pointer; text-decoration: none; }
.pkg-tool:hover { background: #f3f3f3; color: var(--purple); }
.pkg-tool.danger:hover { color: var(--red); background: var(--red-soft); }
.pkg-tool.move { cursor: grab; }
.pkg-card .price { color: var(--purple); font-size: 18px; font-weight: 500; margin: 4px 0 6px; }
.loc-stars { color: var(--amber); font-size: 20px; letter-spacing: 1px; margin: 2px 0 4px; }
.pkg-desc .ic { width: 13px; height: 13px; vertical-align: -1px; }
.pkg-team { font-weight: 500; color: #555; }
.pkg-desc { margin: 0; font-size: 13px; color: #999; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rte { border: 1px solid #c9c9c9; border-radius: var(--radius); background: #fff; }
.rte:focus-within { border-color: var(--purple); box-shadow: 0 0 0 2px rgba(123, 42, 127, .12); }
.rte-toolbar { display: flex; align-items: center; gap: 10px; padding: 4px 6px; border-bottom: 1px solid var(--line-soft); background: #fafafa; }
.rte-btn { width: 30px; height: 28px; border: 1px solid transparent; border-radius: var(--radius); background: none; font: inherit; font-size: 15px; cursor: pointer; color: #333; }
.rte-btn:hover { background: #eee; }
.rte-btn.active { background: var(--purple-soft); border-color: var(--purple-line); color: var(--purple); }
.rte-area { min-height: 200px; padding: 10px 12px; line-height: 1.6; outline: none; overflow-wrap: anywhere; }
.rte-area:empty::before { content: attr(data-placeholder); color: #aaa; }
.rte-area strong, .rte-area b { font-weight: 700; }
.cover-field { display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; background: #fafafa; }
.cover-preview { position: relative; width: 150px; aspect-ratio: 1; border-radius: 0; flex: none; background: #eee; border: 1px solid var(--line); overflow: hidden; }
.cover-preview img { display: none; width: 100%; height: 100%; object-fit: cover; }
.cover-preview.has-img img { display: block; }
.cover-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #aaa; font-size: 13px; }
.cover-empty .ic { width: 28px; height: 28px; }
.cover-preview.has-img .cover-empty { display: none; }
.cover-info p { margin: 0 0 6px; }
.cover-info .actions { margin-top: 8px; }
.attach-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

/* ---------- Clasamente ---------- */
.red-info { margin: 18px 0 8px; padding: 12px 16px; background: var(--amber-soft); border: 1px solid #f5d6ad; border-left: 3px solid var(--orange); border-radius: var(--radius); color: #333; font-size: 14px; }
.red-info-title { display: flex; align-items: center; gap: 6px; font-weight: 500; margin-bottom: 6px; color: #222; }
.red-info-title .ic { width: 16px; height: 16px; color: var(--orange); }
.red-info ul { margin: 0; padding-left: 22px; line-height: 1.55; }
.red-info li { margin: 2px 0; }
.red-info li::marker { color: var(--orange); }
.red-info b { font-weight: 500; }
.rank-cell { white-space: nowrap; }
.medal { width: 18px; height: 18px; vertical-align: -3px; margin-left: 6px; }
.medal-gold { color: #d4a017; }
.medal-silver { color: #9aa3ad; }
.medal-bronze { color: #b8733a; }
.rank-hero { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 20px 0 12px; }
.rank-hero .stat-box { min-width: 0; }
.bar { height: 6px; background: #eee; overflow: hidden; }
.bar div { height: 100%; background: var(--purple); }
table.table { width: 100%; border-collapse: collapse; }
table.table th, table.table td { padding: 8px 10px; border-bottom: 1px solid var(--line-soft); text-align: left; }
table.table th { color: var(--muted); font-weight: 400; font-size: 13px; text-transform: uppercase; }
table.table tr.me td { background: var(--amber-soft); }
.chart { width: 100%; height: 140px; }

/* ---------- Premium ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 24px 0; max-width: 960px; }
.plan { border: 1px solid var(--line); border-radius: 2px; padding: 20px; text-align: center; box-shadow: var(--shadow); }
.plan.best { border-color: var(--orange); }
.plan .price-big { font-size: 28px; color: var(--purple); margin: 6px 0; }

/* ---------- Pagini de autentificare ---------- */
.guest-main { flex: 1; padding: 40px 0 56px; background: var(--bg-alt); }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 2px; padding: 28px; }
.auth-card h1 { font-size: 28px; margin-bottom: 8px; }
.cat-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cat-pick label { border: 1px solid #c9c9c9; border-radius: var(--radius); padding: 8px 4px; text-align: center; cursor: pointer; }
.cat-pick input { display: none; }
.base-box { border: 1px solid var(--line); border-radius: 2px; padding: 12px 16px; margin-bottom: 18px; background: #fff; }
.base-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.base-title { color: var(--purple); font-weight: 500; }
.base-box.editing .base-edit { background: var(--purple-soft); border-color: var(--purple-line); color: var(--purple); }
.base-cat { display: flex; gap: 10px; align-items: baseline; font-size: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); margin-bottom: 8px; }
.base-label, .base-view dt { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.base-label { width: 70px; flex: none; }
.base-value { color: #333; }
.base-view { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 20px; margin: 0; }
.base-view dt { margin: 0; }
.base-view dd { margin: 0; color: #333; font-size: 14px; overflow-wrap: anywhere; }
.base-missing { color: var(--red); font-style: italic; }
.base-edit-fields { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.base-edit-fields .field { margin-bottom: 10px; }
.base-box.editing .base-view { display: none; }
.base-box.editing .base-edit-fields { display: grid; }
.cat-locked label { cursor: not-allowed; color: #bbb; background: #fafafa; }
.cat-pick label:has(input:checked) { border-color: var(--purple); background: var(--purple-soft); color: var(--purple); }

/* ---------- Diverse ---------- */
.section-title { display: flex; align-items: center; gap: 12px; margin: 36px 0 14px; }
.section-title h2 { margin: 0; }
.crown { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); color: var(--amber); vertical-align: 4px; font-size: 15px; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; }
.info-grid .panel { margin: 0; }
.info-grid .panel h3 { color: #444; }
.info-grid .panel p { color: #666; }
.footer { border-top: 1px solid var(--line-soft); color: var(--muted); padding: 18px 0; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.copy-box { display: flex; gap: 6px; }
.copy-box input { font-size: 13px; height: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .cards, .grid4, .rank-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .months { grid-template-columns: repeat(2, minmax(0, 280px)); }
    .nav-toggle { display: block; }
    .mainnav { display: none; position: absolute; top: 100%; left: 0; right: 0; height: auto; background: var(--purple-dark); flex-direction: column; align-items: stretch; padding: 8px 16px 14px; }
    .mainnav.open { display: flex; }
    .mainnav > a, .dropdown-btn { padding: 8px 0; text-align: left; }
    .account { margin-left: 0; }
    .dropdown-menu { position: static; box-shadow: none; margin-top: 4px; }
    .topbar-inner { position: relative; }
    .info-grid, .plans { grid-template-columns: 1fr; }
    .score-panel { grid-template-columns: 1fr 1fr; }
    .score-rules { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--line-soft); }
}
@media (max-width: 700px) {
    h1 { font-size: 26px; }
    .cards, .grid4, .rank-hero, .months, .form-row, .form-row.three, .attach-row { grid-template-columns: 1fr; }
    .cards { gap: 16px; }
    .card-wide { grid-column: auto; }
    .checklist { columns: 1; }
    .stat-box, .stat-box.wide { min-width: 0; width: 100%; }
    .stat-box.wide { gap: 8px; padding: 14px 8px; }
    .cat-pick { grid-template-columns: 1fr 1fr; }
    .tagline, .guestnav a:first-child { display: none; }
    .list-item { flex-wrap: wrap; }
    .base-view, .base-edit-fields { grid-template-columns: 1fr; }
    .req-row { flex-wrap: wrap; }
    .req-who { width: 100%; }
    .testi-head { flex-wrap: wrap; }
    .inline-form { grid-template-columns: 1fr; gap: 12px; }
    .score-panel { grid-template-columns: 1fr; }
    .score-panel > div + div { border-left: 0; border-top: 1px solid var(--line-soft); }
    .pkgs { grid-template-columns: 1fr; }
    .pkg-cover { width: 96px; }
    .pkg-cover-wide { width: 160px; }
    .cover-field { flex-direction: column; }
    .cover-preview { width: 100%; }
    .info-tip { flex-wrap: wrap; }
    .info-tip .legend { width: 100%; }
}

/* ---------- Anti-bot ---------- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.human-check {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    width: 300px; max-width: 100%; height: 65px; padding: 0 12px 0 14px; margin-bottom: 16px;
    background: #fafafa; border: 1px solid #e0e0e0; border-radius: 4px; box-shadow: 0 0 4px rgba(0, 0, 0, .04);
}
.hc-main { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #333; white-space: nowrap; }
.hc-main label { cursor: default; }
.hc-icon { width: 22px; height: 22px; color: var(--purple); flex: none; }
.hc-main input { width: 46px; height: 30px; padding: 0 6px; text-align: center; font-size: 15px; }
.hc-brand { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.hc-brand strong { font-size: 10px; letter-spacing: .06em; color: var(--purple); font-weight: 700; }
.hc-brand small { font-size: 10px; color: #999; }

/* ---------- Head Admin ---------- */
.admin-filters { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto auto; gap: 10px; align-items: center; margin-bottom: 16px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table td { vertical-align: middle; }
.admin-table a { text-decoration: none; }
.impersonate-bar { background: var(--orange); color: #fff; font-size: 14px; }
.impersonate-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.impersonate-bar button { background: #fff; color: var(--orange-dark); border: 0; border-radius: var(--radius); padding: 4px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.admin-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }
.admin-side .panel h3 { margin-bottom: 8px; }
.admin-kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.admin-kv dt { color: var(--muted); }
.admin-kv dd { margin: 0; color: #333; overflow-wrap: anywhere; }
@media (max-width: 1100px) { .admin-filters, .admin-grid { grid-template-columns: 1fr; } }

/* ---------- Partea publica (clienti) ---------- */
.public .mainnav { flex: 1; }
.pub-partner { margin-left: auto; font-size: 14px; opacity: .9; }
.pub-hero { position: relative; overflow: hidden; background: var(--purple-dark); color: #fff; min-height: calc(100vh - 54px); min-height: calc(100svh - 54px); display: flex; align-items: center; padding: 48px 0; }
.pub-hero-slides, .pub-hero-slide { position: absolute; inset: 0; }
.pub-hero-slides::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.pub-hero-slide { background-size: cover; background-repeat: no-repeat; opacity: 0; transition: opacity 1.2s ease; }
.pub-hero-slide.is-active { opacity: 1; }
.pub-hero > .container { position: relative; z-index: 1; }
.pub-hero-inner { text-align: center; }
.pub-hero h1 { color: #fff; font-family: inherit; font-weight: 300; font-size: 36px; margin: 0 0 40px; }
.pub-hero p { color: #fff; font-size: 22px; font-weight: 300; margin: 0 0 18px; }
.pub-hero h1, .pub-hero p { text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.pub-hero-quote { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
.pub-hero-search { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.pub-hero-search input { width: 100%; height: 52px; font-size: 18px; padding: 0 16px; border: 0; border-radius: var(--radius); }
.pub-hero-search .btn, .pub-hero-search .btn:hover { background: #fff; color: var(--orange); }
.pub-hero-search .btn:hover { background: #fff3ea; color: var(--orange-dark); }
.pub-hero-search .btn { height: 54px; padding: 0 56px; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.pub-search { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr 1fr auto; gap: 12px; align-items: end; background: #fff; padding: 16px; border-radius: var(--radius); box-shadow: 0 6px 24px rgba(40, 10, 50, .18); margin-bottom: 20px; }
.pub-search .field { margin: 0; }
.pub-search label { color: #555; font-size: 13px; }
.pub-search .btn { height: 36px; padding: 0 28px; }
.page .pub-search { box-shadow: var(--shadow); border: 1px solid var(--line); }
.pub-cat { align-items: center; text-align: center; text-decoration: none; color: #333; gap: 6px; min-height: 0; padding: 24px 16px; }
.pub-cat:hover { border-color: var(--purple-line); box-shadow: 0 4px 14px rgba(90, 29, 94, .1); color: var(--purple); }
.pub-cat-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--purple-soft); color: var(--purple); }
.pub-cat-icon .ic { width: 24px; height: 24px; }
.pub-cat strong { font-size: 18px; font-weight: 500; }
.pub-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pub-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-soft); border-radius: 2px; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.pub-card:hover { box-shadow: 0 8px 22px rgba(40, 10, 50, .14); transform: translateY(-2px); color: inherit; }
.pub-card-img { position: relative; display: block; aspect-ratio: 4/3; background: #f1f1f1 center/cover no-repeat; }
.pub-card-img .cover-empty .ic { width: 34px; height: 34px; }
.pub-badge { position: absolute; top: 10px; left: 10px; display: inline-flex; gap: 4px; align-items: center; font-size: 12px; padding: 2px 8px; border-radius: var(--radius); background: #fff; color: #333; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.pub-badge.premium { color: var(--orange-dark); }
.pub-badge.ok { left: auto; right: 10px; color: var(--green); }
.pub-badge.warn { left: auto; right: 10px; color: #7a6200; background: #fdf3c4; }
.pub-card-body { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; }
.pub-card-head { display: flex; gap: 10px; align-items: center; }
.pub-card-head strong { display: block; font-weight: 500; color: #333; line-height: 1.3; }
.pub-card-head small { display: block; color: var(--muted); font-size: 13px; }
.pub-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; font-size: 16px; border: 0; }
.pub-card-meta { font-size: 13px; }
.pub-card-meta b { font-weight: 500; }
.pub-card-price { font-size: 14px; color: #555; }
.pub-card-price b { color: var(--purple); font-weight: 500; font-size: 16px; }
.pub-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 14px; }
.pub-sort { display: flex; gap: 8px; align-items: center; }
.pub-sort select { width: auto; }
/* profil public */
.pub-profile-head { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; margin-bottom: 18px; }
.pub-ph-main { display: flex; gap: 20px; align-items: center; }
.pub-ph-main h1 { margin: 0 0 4px; }
.pub-avatar-lg { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; font-size: 42px; border: 0; box-shadow: 0 2px 10px rgba(0, 0, 0, .1); }
.pub-ph-sub { margin: 2px 0; color: #555; }
.pub-ph-sub .ic { width: 14px; height: 14px; vertical-align: -2px; }
.pub-avail { border: 1px solid var(--line); border-radius: 2px; padding: 16px; background: #fff; box-shadow: var(--shadow); }
.pub-avail-form { display: flex; gap: 8px; margin-top: 6px; }
.avail-msg { margin: 10px 0 0; padding: 8px 10px; font-size: 14px; border-radius: var(--radius); }
.avail-msg.ok { background: var(--green-soft); color: var(--green); }
.avail-msg.busy { background: var(--red-soft); color: var(--red); }
.avail-msg.warn { background: var(--amber-soft); color: #333; border-left: 3px solid var(--orange); }
.pub-anchors { position: sticky; top: 54px; z-index: 20; display: flex; gap: 4px; flex-wrap: wrap; background: #fff; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.pub-anchors a { padding: 10px 14px; text-decoration: none; color: var(--blue); }
.pub-anchors a:hover { color: var(--orange); }
.pub-section { padding: 24px 0 8px; scroll-margin-top: 110px; }
.pub-section .tabs { margin: 12px 0 18px; }
.pub-bio { max-width: 860px; color: #444; line-height: 1.7; }
.pub-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pub-gal-item { display: block; aspect-ratio: 1; background: #eee center/cover no-repeat; border-radius: 2px; transition: opacity .15s; }
.pub-gal-item:hover { opacity: .88; }
.pub-gal-video { grid-column: span 2; }
.pub-gal-video iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; background: #000; }
.pub-gal-video span { display: block; font-size: 13px; color: #555; margin-top: 4px; }
.pub-packages { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 20px; }
.pub-package { display: flex; gap: 18px; padding: 16px; background: #fff; border: 1px solid var(--line-soft); border-radius: 2px; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.pub-package-img { width: 120px; height: 120px; flex: none; overflow: hidden; display: block; }
.pub-package img { width: 120px; height: 120px; object-fit: cover; flex: none; display: block; }
.pub-package h3 { margin: 0 0 2px; color: #333; font-weight: 500; }
.pub-package .price { color: var(--purple); font-size: 20px; font-weight: 500; margin-bottom: 4px; }
.pub-pkg-content { font-size: 14px; color: #555; line-height: 1.6; margin: 6px 0 12px; }
.pub-pkg-content strong { color: #333; font-weight: 500; }
.lightbox { position: fixed; inset: 0; background: rgba(20, 5, 25, .9); display: grid; place-items: center; z-index: 200; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; box-shadow: 0 8px 40px rgba(0, 0, 0, .5); }
.lb-close { position: absolute; top: 16px; right: 22px; background: none; border: 0; color: #fff; font-size: 38px; cursor: pointer; line-height: 1; }
@media (max-width: 1100px) {
    .pub-grid, .pub-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pub-search { grid-template-columns: 1fr 1fr; }
    .pub-profile-head { grid-template-columns: 1fr; }
    .pub-partner { margin-left: 0; }
}
@media (max-width: 700px) {
    .pub-hero { padding: 28px 0; }
    .pub-hero h1 { font-size: 26px; margin-bottom: 28px; }
    .pub-hero p { font-size: 18px; }
    .pub-grid, .pub-search, .pub-packages { grid-template-columns: 1fr; }
    .pub-ph-main { flex-direction: column; align-items: flex-start; }
    .pub-package { flex-direction: column; }
    .pub-package-img, .pub-package img { width: 100%; height: auto; aspect-ratio: 1; }
}

/* profil public: echipele colaboratorului */
.pub-teams { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.pub-teams-label { color: #555; }
.pub-team-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border: 1px solid #ddd; border-radius: 3px; color: #333; text-decoration: none; background: #fff; }
.pub-team-chip:hover { border-color: var(--purple); }
.pub-team-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; font-size: 13px; }

/* meniul public cu submeniuri */
.pubnav { gap: 0; }
.pn-item { position: relative; height: 100%; display: flex; align-items: center; }
.pn-top { color: #fff; text-decoration: none; padding: 6px 9px; white-space: nowrap; }
.pn-item:hover > .pn-top, .pn-item.active > .pn-top { color: var(--amber); }
.pn-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 4px 16px rgba(0, 0, 0, .12); padding: 4px 0; z-index: 60; }
.pn-sub { position: relative; }
.pn-menu a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 14px; color: var(--text); text-decoration: none; white-space: nowrap; }
.pn-menu a:hover { background: var(--purple-soft); color: var(--purple); }
.pn-arrow { color: var(--muted); }
.pn-fly { top: -5px; left: 100%; }
@media (min-width: 1101px) {
    .pn-item:hover > .pn-menu, .pn-item:focus-within > .pn-menu, .pn-sub:hover > .pn-fly, .pn-sub:focus-within > .pn-fly { display: block; }
}
@media (max-width: 1100px) {
    .pn-item { height: auto; flex-direction: column; align-items: stretch; }
    .pn-top { padding: 8px 0; }
    .pn-menu, .pn-fly { position: static; box-shadow: none; border: 0; background: none; padding: 0 0 0 14px; min-width: 0; }
    .pn-item.open > .pn-menu, .pn-sub.open > .pn-fly { display: block; }
    .pn-menu a { color: rgba(255, 255, 255, .85); padding: 6px 0; }
    .pn-menu a:hover { background: none; color: var(--amber); }
    .pn-arrow { color: inherit; }
}
.pub-pf-item { margin: 0; }
.pub-pf-item figcaption { font-size: 13px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pub-contact-intro { max-width: 820px; margin-bottom: 24px; }
.pub-contact-intro .lead { font-size: 18px; color: var(--text); }
.pub-contact-intro p { color: #555; }
.pub-contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.pub-contact-side { display: grid; gap: 16px; }
.pub-contact-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px 16px; text-align: center; color: var(--text); text-decoration: none; }
.pub-contact-item .pub-cat-icon svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .pub-contact-layout { grid-template-columns: 1fr; } }

/* meniul de cont din header (client / colaborator) */
.pn-account { margin-left: auto; }
.pn-account .pn-top .ic { width: 15px; height: 15px; vertical-align: -2px; }
.pn-account > .pn-menu { left: auto; right: 0; min-width: 300px; padding: 6px 0 10px; }
.pn-group { display: flex; align-items: center; gap: 8px; padding: 12px 18px 4px; font-size: 13px; color: #666; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.pn-group .ic { width: 16px; height: 16px; color: #666; }
.pn-account .pn-menu a { padding: 7px 18px; font-size: 15px; }
.pn-note { margin: 4px 18px 2px; max-width: 290px; font-size: 13px; line-height: 1.4; color: var(--red, #c62828); white-space: normal; }
.public .auth-card { max-width: 460px; }
.table-wrap { overflow-x: auto; }
@media (max-width: 1100px) {
    .pn-account { margin-left: 0; }
    .pn-group { color: rgba(255, 255, 255, .6); padding: 8px 0 2px; }
    .pn-group .ic { color: inherit; }
    .pn-account .pn-menu a { padding: 6px 0; }
    .pn-note { margin: 2px 0; color: #ffb4a8; }
}

/* buton plutitor telefon / WhatsApp (partea publica) */
.help-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 10px; }
.help-bubble { background: #fff; color: var(--text); padding: 9px 14px; border-radius: var(--radius); box-shadow: 0 4px 16px rgba(0, 0, 0, .18); font-size: 14px; white-space: nowrap; }
.help-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); transition: transform .15s; }
.help-btn:hover { transform: scale(1.07); color: #fff; }
.help-btn .ic { width: 24px; height: 24px; }
.help-wa .ic { width: 28px; height: 28px; }
.help-phone { background: #fff; color: var(--orange); }
.help-phone:hover { color: var(--orange-dark); }
.help-wa { background: #25d366; }
@media (max-width: 700px) {
    .help-float { right: 12px; bottom: 12px; gap: 8px; }
    .help-bubble { display: none; }
    .help-btn { width: 48px; height: 48px; }
}

/* locatii partenere */
.venue-banner { display: grid; grid-template-columns: 220px 1fr auto; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 28px; }
.venue-logo img { width: 100%; height: auto; max-height: 70px; display: block; }
.venue-text p { margin: 0 0 4px; }
.public .footer { padding-bottom: 84px; }
@media (max-width: 800px) {
    .venue-banner { grid-template-columns: 1fr; }
}

/* contact: date Casa Anke si retele sociale */
.pub-contact-info { display: grid; gap: 18px; padding: 20px; }
.ci-row { display: flex; gap: 14px; align-items: flex-start; }
.ci-row .pub-cat-icon { flex: none; width: 40px; height: 40px; }
.ci-row .pub-cat-icon svg { width: 18px; height: 18px; }
.ci-row strong { display: block; margin-bottom: 2px; }
.ci-row a { display: block; color: var(--text); text-decoration: none; }
.ci-row a:hover { color: var(--purple); }
.ci-wa { margin-top: 4px; font-size: 13px; color: #1a9e4b !important; }
.ci-wa .ic { width: 14px; height: 14px; vertical-align: -2px; }
.pub-social { padding: 20px; }
.pub-social p { color: #555; font-size: 14px; margin: 6px 0 14px; }
.pub-social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.soc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius); color: #fff; text-decoration: none; font-weight: 500; }
.soc-btn:hover { color: #fff; opacity: .9; }
.soc-btn .ic { width: 18px; height: 18px; }
.soc-ig { background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888); }
.soc-fb { background: #1877f2; }

/* locatii evenimente: toate locatiile, carduri pe toata latimea, cu galerie */
.loc-head { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.loc-head h1 { margin-bottom: 6px; }
.loc-list { display: grid; gap: 32px; }
.loc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.loc-gallery { display: grid; gap: 6px; height: 440px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.loc-gallery-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.loc-gallery-2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.loc-gallery-3 { grid-template-columns: 2fr 1fr; }
.loc-gallery-4 { grid-template-columns: 2fr 1fr 1fr; }
.loc-gallery-4 .loc-tile:nth-child(4) { grid-column: 2 / span 2; }
.loc-tile { position: relative; display: block; overflow: hidden; background: #222; color: #fff; text-decoration: none; }
.loc-tile:first-child { grid-row: 1 / -1; }
.loc-gallery-3 .loc-tile:first-child { grid-row: 1 / span 2; }
.loc-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.loc-tile:hover img { transform: scale(1.04); }
.loc-tile-empty { display: grid; place-items: center; background: #eee; color: #bbb; }
.loc-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .25); }
.loc-play .ic { width: 54px; height: 54px; background: rgba(255, 255, 255, .92); color: #222; border-radius: 50%; padding: 13px 11px 13px 15px; }
.loc-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .5); font-size: 20px; font-weight: 500; }
.loc-badge { position: absolute; top: 14px; left: 14px; background: var(--amber); color: #3a2a00; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; padding: 4px 12px; border-radius: 12px; }
.loc-body { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding: 18px 24px; }
.loc-info { flex: 1 1 260px; }
.loc-logo { flex: none; display: block; padding-right: 24px; border-right: 1px solid var(--line); }
.loc-logo img { height: 52px; width: auto; display: block; }
.loc-body h2 { font-size: 24px; margin: 0 0 2px; }
.loc-body h2 a { color: var(--text); text-decoration: none; }
.loc-body h2 a:hover { color: var(--purple); }
.loc-info .muted { margin: 0; }
.loc-info .ic { width: 14px; height: 14px; vertical-align: -2px; }
.loc-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; color: #666; font-size: 15px; }
.loc-stats b { color: var(--text); font-weight: 500; }
.loc-rate { color: #e0a100; }
.loc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.loc-actions .ic { width: 15px; height: 15px; vertical-align: -2px; }
@media (max-width: 800px) {
    .loc-gallery, .loc-gallery-3, .loc-gallery-4 { height: 300px; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
    .loc-gallery .loc-tile:nth-child(n+4) { display: none; }
    .loc-gallery-4 .loc-tile:nth-child(4) { grid-column: auto; }
    .loc-gallery-2 { grid-template-rows: 1fr; }
    .loc-body { padding: 14px 16px; }
    .loc-logo { padding-right: 0; border-right: 0; flex-basis: 100%; }
    .loc-logo img { height: 40px; }
}
/* Head Admin in contul unui colaborator: steluta de "obligatoriu" nu mai apare */
.admin-mode .req { display: none; }
.admin-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
/* coperte YouTube cu benzi negre: marim imaginea ca benzile sa iasa din cadru */
img.yt-cover { transform: scale(1.34); }
.pub-card-img.yt-cover { background-size: auto 134% !important; }

/* =====================================================================
   Paginile publice (catalog, profil, portofolii, locatii, contact, cont client):
   acelasi ton ca paginile copiate de pe casaanke.ro - header alb, gri inchis / negru,
   subsol bej, titluri Cormorant Garamond, text Muli. Panoul colaboratorilor ramane mov.
   ===================================================================== */
body.public {
    --purple: #2b2b2b;
    --purple-dark: #000;
    --purple-mid: #2b2b2b;
    --purple-soft: #f6f1eb;
    --purple-line: #e6ddd2;
    --orange: #1a1a1a;
    --orange-dark: #000;
    --amber: #000;
    --amber-soft: #f6f1eb;
    --text: #4d504a;
    --heading: #2b2b2b;
    --muted: #84847c;
    font-family: Mulish, Muli, "Helvetica Neue", Arial, sans-serif;
}
body.public h1, body.public h2, body.public .pub-card-head strong { font-family: "Cormorant Garamond", Georgia, serif; }
body.public h1 { font-weight: 400; font-size: 44px; letter-spacing: .04em; }
body.public h2 { font-weight: 500; font-size: 28px; letter-spacing: .02em; }
body.public .pub-card-head strong { font-size: 21px; font-weight: 600; }
/* Header: acelasi ca pe paginile copiate (logo stanga, meniu centrat, "Contul meu" dreapta, aliniat la grila 1300 / 1100 / 950px) */
body.public .site-header { background: #fff; color: var(--text); border-bottom: 1px solid #e8e8e8; }
body.public .container:not(.narrow) { max-width: none; width: 1300px; padding-left: 0; padding-right: 0; }
@media (max-width: 1399px) { body.public .container:not(.narrow) { width: 1100px; } }
@media (max-width: 1200px) { body.public .container:not(.narrow) { width: 950px; } }
@media (max-width: 1100px) { body.public .container:not(.narrow) { width: auto; padding-left: 16px; padding-right: 16px; } }
@media (min-width: 1101px) { body.public .site-header .pubnav { position: absolute; left: 50%; transform: translateX(-50%); flex: none; width: auto; } body.public .site-header .ca-acct { margin-left: auto; } body.public .site-header .topbar-inner { position: relative; } }
body.public .site-header .topbar-inner { height: 90px; gap: 0; }
body.public .site-header .brand img { height: 33px; }
body.public .site-header .pubnav { flex: 1; justify-content: center; }
body.public .pn-top { color: #4d504a; font: 500 11px/23px Mulish, Muli, sans-serif; letter-spacing: .1em; text-transform: uppercase; padding: 0 20px; }
body.public .pn-item:hover > .pn-top { color: #000; }
body.public .pn-item.active > .pn-top { color: #000; text-decoration: underline; text-underline-offset: 6px; }
body.public .pn-menu { border-color: #eee; border-radius: 0; box-shadow: 0 6px 24px rgba(0, 0, 0, .14); padding: 10px 0; }
body.public .pn-menu a { font-size: 14px; padding: 8px 20px; }
body.public .pn-menu a:hover { background: #f6f1eb; color: #000; }
/* Contul meu */
.ca-acct { position: relative; display: flex; align-items: center; height: 100%; }
.ca-acct-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 0; background: none; border: 0; cursor: pointer; color: #2b2b2b; font: 500 15px/1 Mulish, Muli, sans-serif; letter-spacing: .02em; white-space: nowrap; }
.ca-acct-btn:hover { color: #000; }
.ca-acct-btn .ic { width: 17px; height: 17px; }
.ca-c { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 3px; transition: transform .2s; }
.ca-acct.open .ca-c { transform: translateY(1px) rotate(225deg); }
.ca-acct-menu { display: none; position: absolute; top: 100%; right: 0; width: 395px; background: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); padding: 6px 0 12px; z-index: 70; }
.ca-acct.open .ca-acct-menu { display: block; }
@media (hover: hover) and (min-width: 1101px) { .ca-acct:hover .ca-acct-menu { display: block; } .ca-acct:hover .ca-c { transform: translateY(1px) rotate(225deg); } }
.ca-acct-group { display: flex; align-items: center; gap: 9px; padding: 14px 26px 6px; font-size: 13px; color: #666; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.ca-acct-group .ic { width: 17px; height: 17px; color: #666; flex: none; }
.ca-acct-menu a { display: block; padding: 8px 26px; color: #2b2b2b; font-size: 16px; font-weight: 700; text-decoration: none; }
.ca-acct-menu a:hover { background: #f6f1eb; color: #000; }
.ca-acct-note { margin: 2px 0 4px; padding: 0 26px; font-size: 13.5px; line-height: 1.45; color: #c62828; }
.ca-acct-sep { height: 1px; background: #e3e3e3; margin: 12px 0 4px; }
/* Mobil: "MENU" cu doua linii, ca pe site */
body.public .site-header .nav-toggle { margin-left: 16px; align-items: center; gap: 14px; color: #4d504a; font: 500 11px/1 Mulish, Muli, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.nav-toggle-lines { position: relative; display: inline-block; width: 52px; height: 7px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
@media (max-width: 1100px) {
    body.public .site-header .topbar-inner { height: 70px; }
    body.public .site-header .nav-toggle { display: inline-flex; }
    body.public .site-header .ca-acct { margin-left: auto; }
    body.public .site-header .ca-t { display: none; }
    body.public .site-header .ca-acct-btn .ic { width: 20px; height: 20px; }
    .ca-acct-menu { position: fixed; top: 70px; left: 10px; right: 10px; width: auto; max-width: 400px; margin-left: auto; }
    .ca-acct-group { white-space: normal; }
    body.public .mainnav { background: #fff; border-top: 1px solid #eee; box-shadow: 0 8px 20px rgba(0, 0, 0, .08); }
    body.public .pn-top { padding: 10px 0; font-size: 12px; }
    body.public .pn-menu a { color: #4d504a; }
    body.public .pn-menu a:hover { color: #000; background: none; }
}
body.public .btn { border-radius: 0; letter-spacing: .04em; }
body.public .btn-accent, body.public .btn-primary { background: #000; color: #fff; }
body.public .btn-accent:hover, body.public .btn-primary:hover { background: #333; color: #fff; }
body.public .btn-outline:hover { border-color: #000; color: #000; }
body.public .btn-outline .ic { color: #2b2b2b; }
body.public .pub-search { border-radius: 0; box-shadow: 0 4px 20px rgba(0, 0, 0, .08); }
body.public input, body.public select, body.public textarea { border-radius: 0; }
body.public .pub-card { border-radius: 0; }
body.public .pub-card:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, .12); }
body.public .pub-card-price b { color: #000; font-weight: 600; }
body.public .pub-cat-icon { background: #f6f1eb; color: #2b2b2b; }
body.public .pub-cat:hover { border-color: #e6ddd2; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); color: #000; }
body.public .loc-badge { background: #fff; color: #2b2b2b; }
body.public .footer { background: #f6f1eb; border-top: 0; color: #84847c; padding: 28px 0; }
body.public .help-phone { color: #111; }
body.public .help-phone:hover { color: #000; }
@media (max-width: 700px) { body.public h1 { font-size: 32px; } }
