:root {
  --bg: #f4f1ea;
  --bg-2: #ebe6dc;
  --ink: #1c1915;
  --muted: #6d675e;
  --line: rgba(28, 25, 21, .12);
  --card: #fffcf7;
  --brand: #12352c;
  --brand-2: #0e6b52;
  --gold: #9a7040;
  --danger: #a33b3b;
  --ok: #1f7a4d;
  --shadow: 0 24px 60px rgba(28, 25, 21, .08);
  --radius: 22px;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #101411;
  --bg-2: #181d19;
  --ink: #f6f1e8;
  --muted: #b7b0a4;
  --line: rgba(246, 241, 232, .12);
  --card: #1b211d;
  --brand: #e7d7bc;
  --brand-2: #7dceB4;
  --gold: #e2b15a;
  --danger: #ff8f8f;
  --ok: #8fd7ae;
  --shadow: 0 24px 60px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Outfit, "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(154, 112, 64, .16), transparent 55%),
    radial-gradient(800px 380px at -10% 0%, rgba(14, 107, 82, .14), transparent 50%),
    var(--bg);
  color: var(--ink);
}
main { flex: 1 0 auto; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.page { padding-bottom: 56px; }
.site-header { position: sticky; top: 0; z-index: 30; }
.utility {
  background: linear-gradient(90deg, #0c1916 0%, #14342b 48%, #1b241c 100%);
  color: #f4efe6;
  border-bottom: 1px solid rgba(226, 177, 90, .28);
}
.utility-row, .mast-row, .section-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.utility-row { min-height: 48px; }
.utility-brand { margin: 0; color: #e8c98a; letter-spacing: .18em; text-transform: uppercase; font-size: .68rem; font-weight: 600; }
.mast { background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.mast-row { min-height: 82px; }
.brand { display: flex; gap: 12px; align-items: center; color: inherit; }
.mark {
  width: 44px; height: 44px; border-radius: 16px; color: #f8f3ea; font-weight: 650;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #12352c, #1d6b52 55%, #c4a36a);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.brand strong { display: block; font-family: Fraunces, Georgia, serif; font-size: 1.35rem; letter-spacing: -.03em; font-weight: 560; }
.brand small { color: var(--muted); letter-spacing: .16em; text-transform: uppercase; font-size: .66rem; }
.tools, .tags, .hero-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.seg { display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(244,239,230,.16); }
.seg form { display: inline-flex; margin: 0; }
.seg button {
  border: 0; background: transparent; color: #d9d0c2; border-radius: 999px;
  padding: 6px 11px; font: inherit; font-size: .78rem; letter-spacing: .04em; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.seg button.is-on { background: #f6f1e6; color: #14211c; }
.top-link, .top-cta, .top-user { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 7px 14px; font-size: .86rem; text-decoration: none; }
.top-link { color: #f6f1e6; }
.top-link:hover { color: #e8c98a; }
.top-user { color: #f6f1e6; background: rgba(255,255,255,.08); border: 1px solid rgba(244,239,230,.2); padding: 4px 12px 4px 4px; }
.top-user:hover { color: #fff; }
.top-user img, .top-avatar {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
  display: grid; place-items: center; background: #e8c98a; color: #14211c; font-weight: 700; font-size: .78rem;
}
.top-user strong { font-weight: 600; max-width: 18ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-user em {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #e2b15a; color: #14211c;
  font-style: normal; font-size: .72rem; font-weight: 700; display: grid; place-items: center;
}
.top-cta { background: linear-gradient(180deg, #f0d7a4, #c4a36a); color: #1c140c; font-weight: 600; }
.top-cta:hover { color: #1c140c; filter: brightness(1.05); }
.mega { position: relative; flex: 1; min-width: 0; display: flex; justify-content: center; }
.mega-links { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; justify-content: center; }
.mega-links > a { color: var(--ink); padding: 8px 12px; border-radius: 999px; font-weight: 550; }
.mega-links > a:hover { background: color-mix(in srgb, var(--gold) 18%, transparent); color: inherit; }
.mega-panel {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: min(760px, calc(100vw - 48px)); padding-top: 14px; z-index: 40;
}
.mega.is-open .mega-panel { display: block; }
.mega-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow); padding: 16px;
}
.mega-label { display: block; color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; margin: 6px 10px 8px; font-weight: 600; }
.mega-grid a { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 16px; color: inherit; }
.mega-grid a:hover { background: color-mix(in srgb, var(--gold) 12%, var(--card)); color: inherit; }
.mega-grid i { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 12px; background: #12352c; color: #f7f3ea; }
.mega-grid strong { display: block; font-weight: 600; }
.mega-grid small { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.nav a, .btn, button.btn, .chip-btn {
  border: 1px solid transparent; background: transparent; color: var(--ink);
  border-radius: 999px; padding: 8px 14px; font: inherit; cursor: pointer; text-decoration: none;
}
.nav a:hover, .btn:hover, .chip-btn:hover { background: color-mix(in srgb, var(--card) 70%, var(--bg)); }
.btn.btn-solid:hover, button.btn-solid:hover, a.btn-solid:hover,
.chip-btn-solid:hover {
  background: color-mix(in srgb, var(--brand) 88%, #000);
  color: #f7f3ea;
}
html[data-theme="dark"] .btn.btn-solid:hover,
html[data-theme="dark"] button.btn-solid:hover,
html[data-theme="dark"] a.btn-solid:hover,
html[data-theme="dark"] .chip-btn-solid:hover {
  background: #f3e9d6;
  color: #14201b;
}
.utility .chip-btn { color: #f4efe6; border-color: rgba(244, 239, 230, .18); }
.chip-btn-solid, .btn-solid, button.btn-solid { background: var(--brand); color: #f7f3ea; border-color: transparent; }
html[data-theme="dark"] .btn-solid, html[data-theme="dark"] .chip-btn-solid { background: var(--brand); color: #14201b; }
.btn-line { border-color: var(--line); background: var(--card); }
.btn-danger { background: var(--danger); color: white; }
.menu-toggle { display: none; }
.finder { display: flex; flex: 0 1 360px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.finder i { color: var(--muted); padding-left: 16px; }
.finder input { border: 0; background: transparent; padding: 12px 12px 12px 10px; width: auto; flex: 1; min-width: 0; color: inherit; font: inherit; }
.finder button { border: 0; background: var(--brand); color: #f7f3ea; padding: 0 16px; height: 44px; font: inherit; cursor: pointer; }
.hero { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; padding: 42px 0 10px; align-items: center; }
.hero h1, h1, h2, .card h2, .card h3 { font-family: Fraunces, Georgia, serif; font-weight: 560; letter-spacing: -.03em; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: .96; margin: 0 0 14px; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 42ch; }
.kicker { color: #86602f; letter-spacing: .16em; text-transform: uppercase; font-size: .72rem; margin: 0 0 8px; font-weight: 600; }
.card, .panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card { padding: 20px; }
.hero-card {
  min-height: 280px; border-radius: 28px; padding: 28px;
  display: grid; align-content: center; justify-items: center; gap: 18px;
  color: #f7f3ea; overflow: hidden;
  background:
    radial-gradient(140px 90px at 18% 18%, rgba(232, 201, 138, .38), transparent 70%),
    radial-gradient(180px 120px at 82% 78%, rgba(125, 206, 180, .28), transparent 72%),
    linear-gradient(160deg, #10281f, #1a4a3a 52%, #2a241c);
  box-shadow: var(--shadow);
}
.hero-icons { display: grid; grid-template-columns: repeat(3, 74px); gap: 12px; justify-content: center; }
.hero-icons i {
  width: 74px; height: 74px; display: grid; place-items: center; border-radius: 22px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 1.35rem;
}
.hero-icons i:first-child { grid-column: 2; color: #e8c98a; }
.hero-card p { margin: 0; letter-spacing: .16em; text-transform: uppercase; font-size: .74rem; color: #e8c98a; }
.section-head { margin: 28px 0 12px; }
.section-head h2, .section-head h1 { margin: 0; }
.tag-rail, .news-strip, .poll { margin-top: 8px; }
.tags { gap: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; padding: 7px 12px;
  background: color-mix(in srgb, var(--brand) 8%, var(--card));
  border: 1px solid var(--line); color: var(--ink); font-size: .92rem;
}
.tag span, .dot { color: var(--muted); font-size: .78rem; }
.tag.is-on, .tag:hover { background: var(--brand); color: #f7f3ea; border-color: transparent; }
.tags-inline { margin: 8px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.item { overflow: hidden; display: flex; flex-direction: column; gap: 6px; transition: transform .2s ease; }
.item:hover { transform: translateY(-3px); }
.item a { color: inherit; }
.item .thumb, .avatar { aspect-ratio: 4/3; background: linear-gradient(160deg, var(--bg-2), color-mix(in srgb, var(--gold) 25%, var(--bg))); border-radius: 16px; object-fit: cover; width: 100%; }
.avatar { width: 72px; height: 72px; aspect-ratio: auto; border-radius: 50%; }
.meta { color: var(--muted); font-size: .92rem; }
.badge, .dot { display: inline-flex; align-items: center; border-radius: 999px; padding: 2px 8px; background: color-mix(in srgb, var(--gold) 22%, var(--card)); color: var(--ink); font-size: .78rem; }
.choice { display: flex; gap: 8px; align-items: center; margin: 8px 0; }
.brand-logo { height: 46px; width: auto; max-width: 220px; object-fit: contain; }
.auth-panel { width: min(440px, 100%); margin: 56px auto; }
.auth-panel h1 { margin-top: 0; }
.page-auth { background: var(--bg); }
form .row { display: grid; gap: 6px; margin-bottom: 12px; }
label { font-size: .86rem; color: var(--muted); }
input[type="checkbox"], input[type="radio"] { width: auto; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  border-radius: 14px; padding: 12px 14px; font: inherit;
}
textarea { min-height: 140px; resize: vertical; }
.help-error { color: var(--danger); font-size: .85rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.article-hero { display: grid; grid-template-columns: minmax(180px, 320px) 1fr; gap: 18px; }
.pager { display: flex; gap: 8px; align-items: center; margin-top: 16px; }
.stack a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: inherit; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.site-footer { margin-top: auto; background: #10211c; color: #d9d0c2; padding: 42px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.footer-grid strong { color: #f7f3ea; font-family: Fraunces, Georgia, serif; font-size: 1.3rem; }
.footer-grid span { display: block; color: #e2b15a; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; margin-bottom: 10px; }
.footer-grid a, .footer-grid p { display: block; color: #d9d0c2; margin: 0 0 8px; }
.footer-rule { width: min(1180px, calc(100% - 32px)); height: 1px; margin: 32px auto 18px; border: 0; background: rgba(244,239,230,.45); }
.footer-bar { margin: 0 auto 4px; padding: 0 0 8px; color: #d9d0c2; font-size: .92rem; text-align: center; }
.footer-bar a { color: #f4efe6; }
.footer-bar a:hover { color: #e8c98a; }
.hp { position: absolute; left: -9999px; }
.toasts { position: fixed; top: 92px; right: 18px; z-index: 80; display: grid; gap: 10px; width: min(380px, calc(100% - 24px)); }
.toast {
  display: grid; grid-template-columns: 8px 1fr auto; gap: 12px; align-items: center;
  padding: 14px; background: var(--card); color: var(--ink);
  border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line);
  animation: toast-in .28s ease;
}
.toast p { margin: 0; }
.toast-mark { width: 8px; align-self: stretch; border-radius: 99px; background: var(--ok); }
.toast-error .toast-mark { background: var(--danger); }
.toast-close { border: 0; background: transparent; color: var(--muted); font-size: 1.2rem; cursor: pointer; }
.toast.is-out { opacity: 0; transform: translateY(-6px); transition: .25s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-nav { background: #101612; color: #f4efe4; padding: 22px 14px; }
.admin-nav a { color: #f4efe4; display: block; padding: 9px 12px; border-radius: 12px; text-decoration: none; }
.admin-nav a:hover { background: #243028; color: #fff; }
.admin-main { padding: 28px; }
.admin-login { min-height: 100vh; background: radial-gradient(700px 300px at 50% 0%, rgba(226,177,90,.2), transparent 50%), #101411; }
.admin-login-main { min-height: 100vh; display: grid; place-items: center; }
.tag-admin { display: grid; grid-template-columns: 1fr auto auto auto; gap: 10px; align-items: center; }
.nav-admin { display: grid; grid-template-columns: 1.1fr 1.2fr .9fr 1.3fr .9fr 80px auto auto auto; gap: 8px; align-items: center; }
.nav-admin input[type="hidden"] { display: none; }
.nav-admin .choice { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.stat strong { display: block; font-size: 1.8rem; font-family: Fraunces, Georgia, serif; }
.preview-frame { width: 100%; min-height: 640px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.finder-card { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; margin-bottom: 16px; }
body.udash { display: block; background: #f4f1ea; }
.udash-shell { min-height: 100vh; display: grid; grid-template-columns: 268px minmax(0, 1fr); }
.udash-col { display: flex; flex-direction: column; min-width: 0; min-height: 100vh; }
.udash-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 32px 8px; }
.udash-head p { margin: 0; letter-spacing: .16em; text-transform: uppercase; font-size: .66rem; color: #6e5c3c; font-weight: 650; }
.udash-head strong { display: block; font-size: 1.05rem; margin-top: 2px; }
.udash-head > div > span { display: inline-block; margin-top: 6px; border-radius: 999px; background: #f3ecdf; color: #5c5144; font-size: .75rem; padding: 3px 8px; }
.udash-tools { display: flex; align-items: center; gap: 8px; }
.udash-tools .seg { background: #fff; border-color: rgba(28, 25, 21, .08); }
.udash-tools .seg button { color: #5c5144; }
.udash-tools .seg button.is-on { background: #1c1915; color: #f6f1e6; }
.udash-back, .udash-user { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 7px 12px; background: #fff; border: 1px solid rgba(28, 25, 21, .08); color: #1c1915; text-decoration: none; font-weight: 600; }
.udash-user img, .udash-user span { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: #1c1915; color: #f6f1e6; font-size: .75rem; }
.udash-body { flex: 1; padding: 8px 32px 28px; }
.udash-foot { display: flex; justify-content: space-between; gap: 12px; padding: 8px 32px 20px; color: #665c50; font-size: .82rem; }
.udash-foot a { color: inherit; }
.udash-logo { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; margin: 4px 6px 16px; font-weight: 650; }
.udash-logo img { height: 44px; width: auto; max-width: 100%; object-fit: contain; }
.udash-logo .mark { width: 44px; height: 44px; border-radius: 14px; }
.udash-out { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 6px 8px; color: #a33b3b; text-decoration: none; font-size: 1rem; }
.acct-side { position: sticky; top: 0; align-self: start; height: 100vh; overflow: auto; background: #fbfaf6; border-right: 1px solid rgba(28, 25, 21, .06); box-shadow: none; padding: 12px 10px 8px; display: flex; flex-direction: column; }
.acct-who { display: grid; grid-template-columns: 36px 1fr; column-gap: 10px; align-items: center; text-decoration: none; color: inherit; margin-bottom: 16px; padding: 8px 10px; border-radius: 16px; background: color-mix(in srgb, var(--card) 70%, var(--bg)); }
.acct-who img, .acct-who span { width: 36px; height: 36px; border-radius: 12px; object-fit: cover; grid-row: span 2; display: grid; place-items: center; background: #1c1915; color: #f6f1e6; font-weight: 650; font-size: .85rem; }
.acct-who strong { font-size: .92rem; }
.acct-who small { color: var(--muted); font-size: .75rem; }
.acct-side nav { display: grid; gap: 0; }
.acct-side nav > span { margin: 8px 8px 1px; color: #665c50; letter-spacing: .12em; text-transform: uppercase; font-size: .68rem; font-weight: 650; }
.acct-side nav a { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 8px; color: #3d3832; text-decoration: none; font-size: 1rem; line-height: 1.3; }
.acct-side nav a i { width: 16px; color: #b7a48a; text-align: center; }
.acct-side nav a.is-on, .acct-side nav a:hover { background: #f3ecdf; color: #1c1915; }
.acct-side nav a.is-on i, .acct-side nav a:hover i { color: #9a7040; }
.acct-side nav a.is-quiet { color: #a33b3b; margin-top: 2px; }
.dash-welcome, .dash-panel, .dash-kpis a { background: #fffdf9; border: 1px solid rgba(28, 25, 21, .06); border-radius: 22px; box-shadow: 0 10px 30px rgba(40, 32, 20, .04); }
.dash-welcome { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; align-items: center; padding: 26px 28px 22px; }
.dash-create { background: #fbf7f1; border: 1px solid rgba(196, 163, 106, .45); border-radius: 18px; padding: 16px; }
.dash-create strong { display: block; font-family: Fraunces, Georgia, serif; font-size: 1.35rem; font-weight: 560; }
.dash-create > p { margin: 6px 0 12px; color: var(--muted); }
.dash-create div { display: grid; gap: 8px; }
.dash-create .dash-btn { justify-content: center; gap: 8px; }
.dash-kicker { margin: 0 0 8px; letter-spacing: .16em; text-transform: uppercase; font-size: .68rem; color: #6e5c3c; font-weight: 650; }
.dash-welcome h1 { margin: 0; font-family: Fraunces, Georgia, serif; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 560; letter-spacing: -.03em; }
.dash-welcome > p { margin: 8px 0 0; max-width: 52ch; color: var(--muted); }
.dash-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dash-pills span { border-radius: 999px; padding: 5px 10px; background: #1c1915; color: #f6f1e6; font-size: .78rem; font-weight: 650; }
.dash-pills .is-live { background: #1f7a4d; }
.dash-pills .is-soft { background: #f3ecdf; color: #5c5144; }
.dash-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.dash-kpis a { display: grid; grid-template-columns: 1fr auto; gap: 8px 10px; padding: 16px; text-decoration: none; color: inherit; }
.dash-kpis span { letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; color: #665c50; font-weight: 650; }
.dash-kpis i { color: #c4a36a; }
.dash-kpis strong { grid-column: 1 / -1; font-family: Fraunces, Georgia, serif; font-size: 1.7rem; font-weight: 560; }
.dash-panel { margin-top: 14px; padding: 18px 20px 16px; }
.dash-panel header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.dash-panel h2 { margin: 0; font-size: 1.05rem; }
.dash-panel header span, .dash-panel header a { color: var(--muted); font-size: .85rem; text-decoration: none; }
.dash-bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; }
.dash-bars div { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(#e7d7b4, #c4a36a); min-height: 6px; }
.dash-axis { display: flex; justify-content: space-between; margin-top: 8px; color: #665c50; font-size: .75rem; }
.dash-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
.dash-offers { display: grid; gap: 8px; }
.dash-offers a { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; text-decoration: none; color: inherit; padding: 6px 0; }
.dash-offers img, .dash-offers a > span { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: #f3ecdf; display: grid; place-items: center; color: #b7a48a; }
.dash-offers small { color: var(--muted); }
.dash-blank { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 18px 8px 8px; }
.dash-blank > span { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: #f6f1e6; color: #c4a36a; margin-bottom: 4px; }
.dash-blank p { margin: 0 0 8px; color: var(--muted); }
.dash-blank div { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.dash-btn { display: inline-flex; align-items: center; border-radius: 999px; padding: 8px 14px; background: #c4a36a; color: #1c140c; text-decoration: none; font-weight: 650; }
.dash-btn.is-line { background: #fff; border: 1px solid #e6dfd2; }
.acct-hero, .acct-sheet, .acct-stat, .acct-row, .acct-empty, .acct-tiles a { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.acct-hero { display: flex; gap: 16px; align-items: center; padding: 18px; margin-bottom: 14px; }
.acct-hero img, .acct-hero > span { width: 72px; height: 72px; border-radius: 22px; object-fit: cover; display: grid; place-items: center; background: #12352c; color: #f7f3ea; font-size: 1.6rem; font-weight: 650; flex: 0 0 72px; }
.acct-hero h1, .acct-head h1 { margin: 0 0 6px; }
.acct-hero p, .acct-head p { margin: 0; color: var(--muted); }
.acct-flag { margin-left: auto; border-radius: 999px; padding: 8px 12px; background: var(--bg-2); }
.acct-flag.is-on { background: #12352c; color: #f6f1e6; }
.acct-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.acct-stat { display: grid; gap: 4px; padding: 16px; text-decoration: none; color: inherit; }
.acct-stat i, .acct-tiles i, .acct-empty i { color: var(--gold); }
.acct-stat span, .acct-tiles small, .acct-row p, .acct-row small { color: var(--muted); }
.acct-stat strong { font-family: Fraunces, Georgia, serif; font-size: 1.7rem; font-weight: 560; }
.acct-block { margin-top: 22px; }
.acct-block h2 { margin: 0 0 10px; font-size: 1.15rem; }
.acct-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.acct-tiles a { display: grid; gap: 4px; padding: 16px; text-decoration: none; color: inherit; }
.acct-tiles a:hover { border-color: var(--gold); }
.prof-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.prof-jump a { text-decoration: none; color: #3d3832; background: #fffdf9; border: 1px solid rgba(28, 25, 21, .08); border-radius: 999px; padding: 7px 12px; font-weight: 650; }
.prof-jump a:hover, .prof-block:target { border-color: #c4a36a; }
.prof-block { scroll-margin-top: 18px; }
.prof-block h2 { margin: 0 0 6px; font-size: 1.25rem; }
.offer-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-bottom: 18px; }
.offer-pick a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px 20px; background: #fffdf9; border: 1px solid rgba(28, 25, 21, .06); border-radius: 22px; text-decoration: none; color: inherit; box-shadow: 0 10px 30px rgba(40, 32, 20, .04); }
.offer-pick strong { display: block; font-family: Fraunces, Georgia, serif; font-size: 1.35rem; font-weight: 560; }
.offer-pick p { margin: 4px 0 0; color: var(--muted); }
.offer-mark { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: #1c1915; color: #f6f1e6; font-size: 1.15rem; }
.offer-pick .is-price .offer-mark { background: #c4a36a; color: #1c1915; }
.offer-pick .fa-arrow-right { color: #b7a48a; }
.wizard-steps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; }
.wizard-steps button { border: 0; background: #f3ecdf; color: #5c5144; border-radius: 999px; padding: 8px 12px; font: inherit; font-weight: 650; cursor: pointer; }
.wizard-steps button.is-on { background: #1c1915; color: #f6f1e6; }
.wizard-steps button.is-done { background: #efe2c8; color: #1c1915; }
.wizard-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.photo-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.photo-slot { position: relative; min-height: 190px; border: 1px dashed #d9cbb6; border-radius: 18px; background: #fbf7f1; display: grid; place-items: center; text-align: center; cursor: pointer; overflow: hidden; padding: 12px; }
.photo-slot.is-over, .photo-slot:hover { border-color: #c4a36a; background: #fffdf9; }
.photo-slot img { width: 100%; height: 168px; object-fit: cover; border-radius: 12px; }
.photo-slot:not(.has-image) img, .photo-slot.has-image [data-photo-empty] { display: none; }
.photo-slot [data-photo-empty] { display: grid; gap: 4px; justify-items: center; color: #665c50; }
.photo-slot [data-photo-empty] i { font-size: 1.3rem; color: #c4a36a; }
.photo-slot [data-photo-empty] strong { color: #1c1915; }
.photo-slot input[type="file"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.photo-slot [data-photo-clear] { position: absolute; top: 10px; right: 10px; }
.prof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.prof-grid .prof-block:last-child { grid-column: 1 / -1; }
.acct-sheet { padding: 18px; margin-bottom: 14px; }
.acct-head { margin-bottom: 8px; }
.acct-list { display: grid; gap: 10px; }
.acct-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; text-decoration: none; color: inherit; }
.acct-row img, .acct-ph { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; display: grid; place-items: center; background: var(--bg-2); color: var(--muted); }
.acct-row a, .acct-row strong { font-weight: 650; color: inherit; }
.acct-row p, .acct-row small { display: block; margin: 2px 0 0; }
.acct-row.is-new { box-shadow: inset 3px 0 0 var(--gold); }
.acct-row-actions, .acct-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.acct-row-actions form, .acct-row form { margin: 0; }
.acct-empty { padding: 36px 18px; text-align: center; display: grid; justify-items: center; gap: 6px; }
.acct-empty i { font-size: 1.4rem; }
.acct-balance { font-family: Fraunces, Georgia, serif; font-size: 2rem; margin: 0 0 8px; }
.acct-files { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.acct-files label { display: grid; gap: 6px; }
.acct-photo { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; }
.acct-photo img, .acct-photo > span { width: 120px; height: 120px; border-radius: 28px; object-fit: cover; display: grid; place-items: center; background: #12352c; color: #f6f1e6; font-size: 2.4rem; }
.acct-copy { line-height: 1.6; }
.acct-danger { border-color: color-mix(in srgb, var(--danger) 45%, var(--line)); }
.dropzone { border: 1px dashed var(--line); border-radius: 16px; padding: 18px; background: var(--bg); display: grid; gap: 6px; justify-items: center; cursor: pointer; text-align: center; }
button.btn.btn-danger, a.btn.btn-danger { background: var(--danger); color: #fff; border-color: transparent; }
button.btn.btn-line, a.btn.btn-line { background: var(--bg); color: var(--ink); border-color: color-mix(in srgb, var(--ink) 18%, transparent); }
html[data-theme="dark"] body.udash, html[data-theme="dark"] .acct-side { background: #141816; }
html[data-theme="dark"] .udash-back, html[data-theme="dark"] .udash-user, html[data-theme="dark"] .udash-tools .seg { background: #1c2420; border-color: rgba(246, 241, 232, .12); color: #f6f1e6; }
html[data-theme="dark"] .udash-tools .seg button { color: #d9d0c2; }
html[data-theme="dark"] .acct-side nav a { color: var(--ink); }
html[data-theme="dark"] .acct-side nav a.is-on, html[data-theme="dark"] .acct-side nav a:hover { background: #2a241c; color: #f6f1e6; }
html[data-theme="dark"] .acct-side nav a.is-on i, html[data-theme="dark"] .acct-side nav a:hover i { color: #e2b15a; }
html[data-theme="dark"] .dash-welcome, html[data-theme="dark"] .dash-panel, html[data-theme="dark"] .dash-kpis a, html[data-theme="dark"] .dash-create, html[data-theme="dark"] .offer-pick a, html[data-theme="dark"] .prof-jump a, html[data-theme="dark"] .photo-slot { background: var(--card); border-color: var(--line); color: var(--ink); }
html[data-theme="dark"] .dash-create { border-color: rgba(226, 177, 90, .4); }
html[data-theme="dark"] .photo-slot.is-over, html[data-theme="dark"] .photo-slot:hover, html[data-theme="dark"] .offer-pick a:hover { background: #222822; border-color: #e2b15a; }
html[data-theme="dark"] .offer-mark { background: #2a241c; color: #f6f1e6; }
html[data-theme="dark"] .offer-pick .is-price .offer-mark { background: #c4a36a; color: #1c1915; }
html[data-theme="dark"] .wizard-steps button { background: #2a241c; color: #f6f1e6; }
html[data-theme="dark"] .wizard-steps button.is-on { background: #e2b15a; color: #1c1915; }
html[data-theme="dark"] .wizard-steps button.is-done { background: #3a3328; color: #f6f1e6; }
html[data-theme="dark"] .photo-slot [data-photo-empty], html[data-theme="dark"] .photo-slot [data-photo-empty] strong { color: #d9d0c2; }
html[data-theme="dark"] .udash-head > div > span, html[data-theme="dark"] .dash-offers img, html[data-theme="dark"] .dash-offers a > span, html[data-theme="dark"] .dash-blank > span { background: #2a241c; color: #e2b15a; }
html[data-theme="dark"] .dash-pills .is-soft, html[data-theme="dark"] .dash-btn.is-line { background: #2a241c; color: #f6f1e6; border-color: #3a332a; }
html[data-theme="dark"] .acct-flag.is-on, html[data-theme="dark"] .acct-who span, html[data-theme="dark"] .acct-hero > span, html[data-theme="dark"] .acct-photo > span { background: #e8c98a; color: #14211c; }
@media (max-width: 860px) {
  .hero, .article-hero, .split, .admin-shell, .footer-grid, .finder-card, .tag-admin, .nav-admin, .account, .acct-stats, .acct-tiles, .acct-files, .acct-photo, .dash-kpis, .dash-split, .dash-welcome, .udash-shell, .prof-grid, .photo-slots { grid-template-columns: 1fr; }
  .acct-side { position: static; height: auto; }
  .udash-head, .udash-tools { flex-wrap: wrap; }
  .acct-row { grid-template-columns: 72px minmax(0, 1fr); }
  .acct-row-actions, .acct-row > button, .acct-row form { grid-column: 1 / -1; }
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: inline-flex; }
  .utility-row { align-items: center; min-height: 0; padding: 8px 0; }
  .tools { width: 100%; justify-content: flex-end; }
  .mast-row { flex-wrap: wrap; }
  .mega-links { display: none; }
  .mega { position: static; flex: 1 0 100%; order: 5; }
  .menu-toggle { margin-left: auto; }
  .mega-panel { position: static; transform: none; width: 100%; padding: 0 0 12px; }
  .mega.is-open .mega-panel { display: block; }
  .mega-grid { width: 100%; }
  .finder { display: none; }
  .utility-brand { display: none; }
  .seg button { padding: 6px 8px; }
  .tools { justify-content: flex-end; }
  .mast-row { min-height: 68px; }
  .admin-nav { position: sticky; top: 0; }
  table { display: block; overflow-x: auto; }
  .toasts { top: 12px; left: 12px; right: 12px; width: auto; }
}
