:root {
    --brand: #6d2a8e;
    --brand-dark: #562074;
    --brand-deep: #3d1458;
    --brand-soft: #f7f2fb;
    --brand-chip: #f3e8f8;
    --brand-line: #eadff3;
    --ink: #2a1838;
    --muted: #6d6278;
    --line: #eee6f4;
    --green: #178a4a;
    --green-soft: #e7f8ee;
    --gold: #e8a317;
    --gold-soft: #fff6df;
    --shadow: 0 12px 34px rgba(74, 29, 110, 0.08);
    --radius: 18px;
    --max: 1180px;
    --font: "Poppins", sans-serif;
    --script: "Great Vibes", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: #fff;
    line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.icon { width: 18px; height: 18px; display: block; }
.icon-lg { width: 26px; height: 26px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 600;
    font-size: 14px;
    border: 1.5px solid transparent;
    background: transparent;
    transition: 0.15s ease;
    line-height: 1;
}
.btn .icon { width: 16px; height: 16px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: #fff; color: var(--brand); border-color: #d9c6e8; }
.btn-outline:hover { border-color: var(--brand); background: var(--brand-soft); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 14px; font-size: 13px; }
.text-link { color: var(--brand); font-weight: 600; font-size: 14px; }
.text-link:hover { text-decoration: underline; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(109, 42, 142, 0.08);
}
.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; min-width: 210px; }
.logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--brand);
    background: var(--brand-chip);
    flex: none;
}
.logo-name { display: block; font-weight: 700; color: var(--brand); letter-spacing: -0.02em; line-height: 1.1; }
.logo-tag { display: block; font-size: 11px; color: var(--muted); line-height: 1.3; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { font-size: 14.5px; font-weight: 500; color: #4d415c; padding: 8px 0; }
.nav a.is-active { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 18px; }
.nav-toggle { display: none; border: 0; background: var(--brand-chip); color: var(--brand); width: 40px; height: 40px; border-radius: 12px; place-items: center; }

.flash {
    background: #f3e8fb;
    color: var(--brand-deep);
    text-align: center;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
}

.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fbf8fd 0%, #f4ecfb 100%); padding: 42px 0 56px; }
.hero::before, .page-hero::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -80px;
    width: 460px;
    height: 460px;
    border: 46px solid var(--brand);
    border-radius: 50%;
    border-left-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(28deg);
    opacity: 0.9;
}
.hero-grid, .page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 30px; align-items: center; }
.eyebrow { color: var(--brand); font-weight: 600; letter-spacing: 0.04em; font-size: 13px; text-transform: uppercase; }
.hero h1, .page-hero h1 { font-size: 54px; line-height: 1.08; color: var(--brand-deep); margin: 8px 0 14px; letter-spacing: -0.03em; }
.lead { font-size: 16px; color: #4c415c; max-width: 540px; }
.checks { display: flex; flex-wrap: wrap; gap: 14px 18px; margin: 18px 0 22px; padding: 0; list-style: none; }
.checks li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.check-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; }
.check-dot .icon { width: 13px; height: 13px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo, .page-hero-photo { position: relative; }
.hero-photo img, .page-hero-photo img { width: 100%; height: 420px; object-fit: cover; border-radius: 180px 160px 36px 160px; box-shadow: 0 20px 50px rgba(67, 24, 95, 0.16); }
.scribble { position: absolute; right: 6%; top: 18px; font-family: var(--script); font-size: 42px; color: var(--brand); transform: rotate(-8deg); text-shadow: 0 2px 0 #fff; }
.scribble small { display: block; font-family: var(--font); font-size: 13px; letter-spacing: 0.08em; }

.stats {
    position: relative;
    z-index: 2;
    margin-top: -34px;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stat { text-align: center; padding: 22px 12px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .icon-bubble { width: 42px; height: 42px; margin-bottom: 6px; }
.stat strong { display: block; color: var(--brand); font-size: 22px; }
.stat span { color: var(--muted); font-size: 13px; }
.icon-bubble { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-chip); color: var(--brand); margin: 0 auto 10px; }

.section { padding: 56px 0; }
.section.soft { background: linear-gradient(180deg, #fcf9fd, #f7f2fb); }
.section-head { text-align: center; margin-bottom: 28px; }
.section-head h2, .block-title { margin: 0; font-size: 32px; color: var(--brand-deep); letter-spacing: -0.03em; }
.section-head p, .block-title + p { color: var(--muted); }
.heart-rule { color: var(--brand); display: block; margin-top: 2px; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.split-head h2 { margin: 0; font-size: 30px; color: var(--brand-deep); }
.split-head p { margin: 4px 0 0; color: var(--muted); }

.search-card, .panel, .profile-card, .story-card, .quote-card, .side-card, .auth-card {
    background: #fff;
    border: 1px solid #f3eaf7;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.search-card { display: grid; grid-template-columns: 220px 1fr; gap: 18px; padding: 22px; align-items: center; }
.search-card h2 { margin: 0 0 6px; font-size: 26px; color: var(--brand-deep); }
.search-card p { margin: 0; color: var(--muted); font-size: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.form-grid .span-2 { grid-column: span 2; }
.field label, .filter-block > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea, .filter-block select, .sort-select {
    width: 100%;
    border: 1px solid #e5dced;
    background: #fff;
    border-radius: 12px;
    padding: 11px 12px;
    outline: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(109, 42, 142, 0.12); }
.field-error { color: #b42318; font-size: 12px; display: block; margin-top: 4px; }
.search-card .btn { margin-top: 12px; justify-self: end; }

.reasons, .steps, .quotes { display: grid; gap: 16px; }
.reasons { grid-template-columns: repeat(5, 1fr); }
.reason, .step, .quote-card { text-align: center; padding: 8px; }
.reason h3, .step h3 { margin: 0 0 4px; font-size: 16px; }
.reason p, .step p, .quote-card p { margin: 0; color: var(--muted); font-size: 13px; }
.steps { grid-template-columns: repeat(5, 1fr); position: relative; }
.step-no { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; margin: 0 auto 8px; }

.featured-grid, .result-grid, .story-grid { display: grid; gap: 16px; }
.featured-grid { grid-template-columns: repeat(6, 1fr); }
.result-grid { grid-template-columns: repeat(3, 1fr); }
.story-grid { grid-template-columns: repeat(2, 1fr); }
.profile-card { overflow: hidden; display: flex; flex-direction: column; }
.photo { position: relative; background: linear-gradient(160deg, #f6e9fb, #e7d0f3); aspect-ratio: 4/5; }
.photo form { margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.show-initials img { display: none; }
.photo.show-initials::after {
    content: attr(data-initials);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--brand);
}
.heart-btn, .mini-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: var(--brand);
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.heart-btn.is-on, .mini-heart.is-on { background: var(--brand); color: #fff; }
.verified-flag { position: absolute; left: 10px; bottom: 10px; background: var(--green-soft); color: var(--green); border-radius: 999px; font-size: 12px; font-weight: 600; padding: 4px 8px; display: inline-flex; align-items: center; gap: 4px; }
.card-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-body h3 { margin: 0; font-size: 16px; display: flex; align-items: center; gap: 4px; }
.tick { color: var(--brand); }
.meta, .sub, .facts { margin: 0; color: var(--muted); font-size: 12.5px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; }
.facts span { display: inline-flex; align-items: center; gap: 4px; }
.card-body .btn { margin-top: 8px; }
.result-grid.is-list { grid-template-columns: 1fr; }
.result-grid.is-list .profile-card { display: grid; grid-template-columns: 180px 1fr; }
.result-grid.is-list .photo { aspect-ratio: auto; min-height: 180px; }

.story-band { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 22px; align-items: center; }
.story-highlight { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 14px; align-items: center; }
.story-highlight img { height: 170px; width: 100%; object-fit: cover; border-radius: 16px; }
.story-highlight blockquote { margin: 0; color: #4c415c; font-size: 15px; }
.story-highlight cite { display: block; margin-top: 8px; font-style: normal; font-weight: 600; color: var(--brand); }

.quotes { grid-template-columns: repeat(3, 1fr); }
.quote-card { text-align: left; padding: 16px; }
.quote-top { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.quote-top img, .avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--brand-chip); display: grid; place-items: center; font-weight: 700; color: var(--brand); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; }

.site-footer { background: linear-gradient(180deg, #57217a, #3d1458); color: #fff; margin-top: 20px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.6fr auto; gap: 20px; padding: 34px 0 18px; align-items: center; }
.site-footer .logo-mark { background: rgba(255,255,255,.12); color: #fff; }
.site-footer .logo-name, .site-footer .logo-tag { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }
.footer-links a { color: rgba(255,255,255,.88); font-size: 14px; }
.socials { display: flex; gap: 8px; align-items: center; }
.socials a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; display: grid; place-items: center; }
.forever { font-family: var(--script); font-size: 28px; margin-left: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); padding: 12px 0 18px; display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: rgba(255,255,255,.78); }
.footer-bottom a { color: #fff; }

.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fbf8fd, #f3e8fb); padding: 34px 0; }
.page-hero h1 { font-size: 46px; }
.page-hero-photo img { height: 230px; border-radius: 120px 80px 24px 90px; }
.crumb { padding: 16px 0 0; color: var(--muted); font-size: 13px; }
.crumb a { color: var(--brand); font-weight: 600; }

.search-layout, .profile-layout, .stories-layout, .page-grid { display: grid; grid-template-columns: 280px 1fr; gap: 20px; align-items: start; padding-bottom: 40px; }
.profile-layout { grid-template-columns: 1fr 300px; }
.stories-layout { grid-template-columns: 1fr 280px; }
.filters, .side-card, .auth-card, .panel { padding: 16px; }
.filters { position: sticky; top: 92px; }
.filter-head, .toolbar, .story-filter-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.filter-block { margin-top: 14px; }
.age-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pills { display: flex; gap: 6px; }
.pill { flex: 1; text-align: center; border: 1px solid #e5dced; border-radius: 999px; padding: 8px 4px; font-size: 13px; cursor: pointer; position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill:has(input:checked) { background: var(--brand); color: #fff; border-color: var(--brand); }
.cta-card { margin-top: 16px; background: linear-gradient(180deg, #f8f1fc, #fff); text-align: center; }
.cta-card h3 { margin: 8px 0 4px; color: var(--brand-deep); }
.cta-card p { color: var(--muted); font-size: 13px; }
.filter-toggle, .view-toggle { display: inline-flex; }
.filter-toggle { display: none; }
.view-toggle a, .pager a, .pager span { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand); background: #fff; }
.view-toggle a.is-active, .pager a.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.toolbar { margin-bottom: 14px; }
.toolbar form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.header-actions form { margin: 0; }
.toolbar p { margin: 0; color: var(--muted); font-size: 14px; }
.sort-select { width: auto; padding: 8px 10px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.pager .is-disabled { opacity: 0.4; }

.profile-top { display: grid; grid-template-columns: 220px 1fr 230px; gap: 18px; padding: 16px; margin: 16px 0; }
.portrait { position: relative; }
.portrait img { width: 100%; height: 240px; object-fit: cover; border-radius: 16px; background: var(--brand-chip); }
.portrait-nav { position: absolute; inset: auto 8px 8px 8px; display: flex; justify-content: space-between; align-items: center; }
.portrait-nav button, .thumb-nav button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: #fff; color: var(--brand); }
.portrait-nav span, .thumb-nav span { background: rgba(255,255,255,.9); border-radius: 999px; padding: 2px 8px; font-size: 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.badge { border-radius: 999px; padding: 4px 8px; font-size: 12px; font-weight: 600; background: var(--brand-chip); color: var(--brand); }
.badge.green { background: var(--green-soft); color: var(--green); }
.badge.gold { background: var(--gold-soft); color: #9a6b00; }
.tagline { color: #5c4c6e; font-style: italic; }
.quick-facts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.quick-facts div { font-size: 13px; }
.quick-facts strong { display: block; }
.quick-facts span { color: var(--muted); font-size: 12px; }
.action-col { display: flex; flex-direction: column; gap: 8px; }
.link-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; font-size: 14px; }
.link-list button, .link-list a { background: none; border: 0; padding: 0; color: #4d415c; display: inline-flex; align-items: center; gap: 6px; text-align: left; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs button { border: 0; background: #fff; border-radius: 12px; padding: 10px 14px; color: #4d415c; box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: 6px; }
.tabs button.is-active { background: var(--brand); color: #fff; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.details div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.details dt { color: var(--muted); font-weight: 500; }
.details dd { margin: 0; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--brand-chip); color: var(--brand-dark); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.thumbs button { border: 2px solid transparent; padding: 0; border-radius: 12px; overflow: hidden; background: none; }
.thumbs img { height: 92px; width: 100%; object-fit: cover; }
.thumbs button.is-active { border-color: var(--brand); }
.similar { display: flex; flex-direction: column; gap: 10px; }
.similar a { display: grid; grid-template-columns: 54px 1fr auto; gap: 8px; align-items: center; }
.similar img { width: 54px; height: 54px; object-fit: cover; border-radius: 12px; background: var(--brand-chip); }
.similar strong { display: block; font-size: 14px; }
.similar span { color: var(--muted); font-size: 12px; }

.story-tabs { display: flex; gap: 8px; flex-wrap: wrap; background: #fff; border-radius: 16px; padding: 8px; box-shadow: var(--shadow); }
.story-tabs a { border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.story-tabs a.is-active { background: var(--brand); color: #fff; }
.story-filter-row { margin: 14px 0; }
.story-filter-row form { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 8px; width: 100%; }
.story-card { overflow: hidden; }
.story-photo { position: relative; display: block; }
.story-photo img { height: 190px; width: 100%; object-fit: cover; }
.story-body { padding: 14px; }
.story-body h3 { margin: 0 0 4px; font-size: 18px; }
.story-body time, .couple small { color: var(--muted); font-size: 12px; }
.couple { display: flex; align-items: center; gap: 8px; margin: 10px 0; font-size: 14px; }
.stat-list { display: flex; flex-direction: column; gap: 12px; }
.stat-list div { display: flex; gap: 10px; align-items: center; }
.stat-list strong { display: block; color: var(--brand); }
.story-article { padding: 18px; }
.story-article img.cover { width: 100%; height: 360px; object-fit: cover; border-radius: 16px; margin-bottom: 16px; }
.prose { white-space: pre-line; color: #433652; }

.auth-wrap { padding: 28px 0 50px; }
.auth-card { max-width: 920px; margin: 0 auto; padding: 22px; }
.auth-card.narrow { max-width: 480px; }
.auth-card h1 { margin-bottom: 4px; color: var(--brand-deep); font-size: 32px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.inbox-list { display: flex; flex-direction: column; gap: 12px; }
.inbox-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.owner-note { background: var(--gold-soft); border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; font-size: 14px; }
.modal { border: 0; border-radius: 18px; padding: 18px; width: min(440px, calc(100% - 24px)); box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(42, 24, 56, 0.45); }
.modal h3 { margin-bottom: 8px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.plan-price { font-size: 28px; font-weight: 700; color: var(--brand); margin: 0 0 6px; }
.plan-price small { font-size: 13px; font-weight: 500; color: var(--muted); }
.plan { padding: 20px; }
.plan.is-featured { border: 2px solid var(--brand); }
.plan ul { padding-left: 18px; color: #4c415c; }
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; align-items: center; }
.empty { text-align: center; padding: 30px 10px; color: var(--muted); }

@media (max-width: 1100px) {
    .featured-grid { grid-template-columns: repeat(3, 1fr); }
    .reasons, .steps { grid-template-columns: repeat(3, 1fr); }
    .hero h1, .page-hero h1 { font-size: 42px; }
    .form-grid, .story-filter-row form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
    .nav-toggle { display: grid; margin-left: auto; }
    .nav { display: none; position: absolute; top: 78px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 12px 20px 16px; border-bottom: 1px solid var(--line); }
    .nav.is-open { display: flex; }
    .header-actions { display: none; }
    .nav.is-open + .header-actions, .header-inner .header-actions.is-open { display: flex; }
    .hero-grid, .page-hero-grid, .search-card, .story-band, .story-highlight, .search-layout, .profile-layout, .stories-layout, .footer-grid, .stats, .quotes, .profile-top, .about-grid, .plans, .page-grid { grid-template-columns: 1fr; }
    .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
    .filters { position: static; display: none; }
    .filters.is-open { display: block; }
    .filter-toggle { display: inline-flex; margin-bottom: 10px; }
    .header-actions.mobile-show { display: flex; width: 100%; padding: 0 20px 12px; }
}
@media (max-width: 720px) {
    .featured-grid, .result-grid, .story-grid, .reasons, .steps, .details, .two-col, .result-grid.is-list .profile-card { grid-template-columns: 1fr; }
    .hero h1, .page-hero h1 { font-size: 34px; }
    .hero-photo img, .page-hero-photo img { height: 260px; }
    .footer-bottom { flex-direction: column; }
    .wrap { width: min(var(--max), calc(100% - 28px)); }
}

.admin-body { background: #f7f3fa; }
.admin-shell { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.admin-side { background: var(--brand-deep); color: #fff; padding: 22px 16px; display: flex; flex-direction: column; gap: 8px; }
.admin-brand { color: #fff; font-weight: 700; font-size: 20px; }
.admin-brand-sub { margin: 0 0 10px; color: #e6d4f2; font-size: 12px; }
.admin-side nav { display: flex; flex-direction: column; gap: 4px; }
.admin-side nav a { color: #f4e9fa; border-radius: 10px; padding: 8px 10px; font-size: 14px; }
.admin-side nav a.is-active, .admin-side nav a:hover { background: rgba(255,255,255,0.12); }
.admin-side form { margin-top: auto; }
.admin-side .btn-outline { color: #fff; border-color: rgba(255,255,255,0.35); background: transparent; }
.admin-main { padding: 22px 26px 40px; }
.admin-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 16px; }
.admin-top h1 { margin: 0; color: var(--brand-deep); font-size: 30px; }
.admin-top p { margin: 4px 0 0; color: var(--muted); }
.admin-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 16px; }
.admin-stat { background: #fff; border-radius: 16px; padding: 14px; border: 1px solid #f3eaf7; box-shadow: var(--shadow); }
.admin-stat strong { display: block; font-size: 26px; color: var(--brand); }
.admin-stat span { color: var(--muted); font-size: 13px; }
.admin-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-form { padding: 18px; }
.admin-form h2 { margin: 22px 0 10px; font-size: 18px; color: var(--brand-deep); }
.admin-form h2:first-child { margin-top: 0; }
.admin-filters { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.admin-filters input, .admin-filters select, .admin-table select { border: 1px solid #e5dced; border-radius: 12px; padding: 10px 12px; background: #fff; }
.admin-table-wrap { overflow-x: auto; background: #fff; border-radius: 16px; border: 1px solid #f3eaf7; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { font-size: 12px; color: var(--muted); font-weight: 600; }
.admin-table small { display: block; color: var(--muted); }
.admin-actions { display: flex; gap: 10px; align-items: center; }
.admin-actions form { margin: 0; }
.text-link.danger { background: none; border: 0; padding: 0; color: #b42318; }
.check, .check-row { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.check-row { flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.check input { width: auto; }
.admin-photos { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.admin-photos label { width: 110px; font-size: 12px; color: var(--muted); }
.admin-photos img { width: 110px; height: 130px; object-fit: cover; border-radius: 12px; margin-bottom: 4px; }
@media (max-width: 980px) {
    .admin-shell, .admin-stats, .admin-split { grid-template-columns: 1fr; }
    .admin-side nav { flex-direction: row; flex-wrap: wrap; }
}
