/* Autovalia — deep charcoal/slate grounds + signal amber accent.
   Fleur's glass rule: layered translucent glass over an ambient
   scene, reveal-on-scroll, prefers-reduced-motion honoured.
   Structure cloned from Renovalora; palette is Autovalia's own. */

:root {
  --ink-950: #090c10;
  --ink-900: #0e1218;
  --ink-800: #151b24;
  --ink-700: #1d2632;
  --amber: #f5a524;
  --amber-bright: #ffc44d;
  --amber-deep: #b97a10;
  --paper-text: #eef1f5;
  --text-dim: rgba(238, 241, 245, 0.72);
  --text-faint: rgba(238, 241, 245, 0.5);
  --glass: rgba(238, 241, 245, 0.05);
  --glass-strong: rgba(238, 241, 245, 0.09);
  --glass-border: rgba(245, 165, 36, 0.30);
  --danger: #ef8a75;
  --ok: #8fce7a;
  --radius: 18px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }

body {
  font-family: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--paper-text);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(245, 165, 36, 0.12), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(70, 90, 115, 0.35), transparent 60%),
    linear-gradient(165deg, var(--ink-800) 0%, var(--ink-900) 45%, var(--ink-950) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.5;
}

.ambient { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; animation: drift 26s ease-in-out infinite alternate; }
.glow-a { width: 420px; height: 420px; top: -120px; right: -80px; background: rgba(245, 165, 36, 0.18); }
.glow-b { width: 520px; height: 520px; bottom: -200px; left: -140px; background: rgba(52, 72, 96, 0.55); animation-delay: -12s; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(-40px,30px) scale(1.08); } }

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 18px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(238,241,245,0.08);
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 10px; z-index: 20;
  margin: 10px auto 0; max-width: 1120px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper-text); }
.brand-mark { height: 34px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; letter-spacing: 0.04em; }
.brand-byline { font-size: 0.66rem; color: var(--amber); letter-spacing: 0.08em; text-transform: uppercase; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.user-chip { font-size: 0.85rem; color: var(--text-dim); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  font: inherit; font-size: 0.92rem; cursor: pointer;
  border-radius: 999px; padding: 9px 18px; border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-amber {
  background: linear-gradient(160deg, var(--amber-bright), var(--amber));
  color: #241a02; font-weight: 600;
  box-shadow: 0 6px 18px rgba(245, 165, 36, 0.32);
}
.btn-amber:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text-dim); border-color: rgba(238,241,245,0.25); }
.btn-ghost:hover { color: var(--paper-text); border-color: rgba(238,241,245,0.5); }
.btn-big { font-size: 1.02rem; padding: 13px 28px; }
.btn-small { font-size: 0.8rem; padding: 5px 12px; }
.btn-danger { background: transparent; color: var(--danger); border-color: rgba(239,138,117,0.4); }
.btn:disabled { opacity: 0.4; cursor: default; transform: none; }

/* ---------- layout ---------- */
main { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 26px 16px 10px; }
.hero { padding: 40px 28px 34px; text-align: center; }
.hero-logo { width: min(430px, 86%); height: auto; display: block; margin: 0 auto; }
.hero-tagline { font-family: Georgia, "Times New Roman", serif; color: var(--amber); letter-spacing: 0.14em; font-size: 1.02rem; margin: 14px 0 6px; }
.hero-lede { max-width: 580px; margin: 8px auto 22px; color: var(--text-dim); }
.signin-note { color: var(--amber-bright); margin: 14px auto 0; max-width: 480px; }

.auth-or { display: flex; align-items: center; gap: 12px; max-width: 480px; margin: 22px auto 0; color: var(--text-faint); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: rgba(238,241,245,0.18); }
.auth-panel { max-width: 480px; margin: 6px auto 0; text-align: left; }
.auth-form { margin-top: 10px; }
.auth-reset-link { margin: 4px 0 0; }
.auth-reset-link a { color: var(--amber-bright); font-weight: 600; }

.card-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.card { padding: 22px; }
.card h3 { margin: 0 0 8px; font-family: Georgia, serif; font-weight: 600; }
.card p { margin: 0; color: var(--text-dim); font-size: 0.94rem; }

/* ---------- app shell ---------- */
.dash-head h2 { font-family: Georgia, serif; font-weight: 600; margin: 6px 0 2px; }
.dash-biz { color: var(--amber); margin: 0 0 6px; min-height: 1.2em; }
.plan-line { color: var(--text-faint); font-size: 0.88rem; margin: 0 0 10px; }
.billing-box { margin: 0 0 6px; }
.billing-box .plan-line { margin: 0 0 6px; }
.billing-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.plan-line strong { color: var(--amber-bright); }
.tab-bar { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 18px; }
.tab-btn {
  font: inherit; font-size: 0.9rem; cursor: pointer; border-radius: 999px;
  padding: 8px 16px; background: transparent; color: var(--text-dim);
  border: 1px solid rgba(238,241,245,0.22);
}
.tab-btn:hover { color: var(--paper-text); }
.tab-btn.active { background: linear-gradient(160deg, var(--amber-bright), var(--amber)); color: #241a02; font-weight: 600; border-color: transparent; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.panel { padding: 22px; min-width: 0; }
.panel h3 { margin: 0 0 6px; font-family: Georgia, serif; font-weight: 600; }
.panel-sub { color: var(--text-faint); font-size: 0.88rem; margin: 0 0 12px; }
.panel-wide { grid-column: 1 / -1; }
.legal-inline { color: var(--amber-bright) !important; font-size: 0.85rem !important; }
.section-stack { display: flex; flex-direction: column; gap: 16px; }

/* ---------- forms & lists ---------- */
.form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.form h4 { margin: 6px 0 0; font-size: 0.95rem; color: var(--amber); }
.form label { display: flex; flex-direction: column; gap: 4px; font-size: 0.85rem; color: var(--text-dim); }
.form .opt { color: var(--text-faint); font-size: 0.78rem; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 0.95rem; color: var(--paper-text);
  background: rgba(9, 12, 16, 0.55); border: 1px solid rgba(238,241,245,0.18);
  border-radius: 10px; padding: 9px 12px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid rgba(245,165,36,0.65); outline-offset: 1px; border-color: transparent; }
.form-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.check-row { flex-direction: row !important; align-items: center; gap: 8px !important; }
.check-row input { width: auto !important; }
.save-state { font-size: 0.85rem; color: var(--amber-bright); min-height: 1.2em; }
.save-state.error { color: var(--danger); }

.item-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.item-list li {
  background: var(--glass-strong); border: 1px solid rgba(238,241,245,0.10);
  border-radius: 12px; padding: 10px 12px;
  display: flex; justify-content: space-between; gap: 10px; align-items: flex-start;
}
.item-main { min-width: 0; }
.item-title { font-weight: 600; overflow-wrap: anywhere; }
.item-sub { color: var(--text-faint); font-size: 0.83rem; overflow-wrap: anywhere; }
.item-actions { display: flex; gap: 6px; flex-shrink: 1; min-width: 0; flex-wrap: wrap; justify-content: flex-end; }
.empty-note { color: var(--text-faint); font-size: 0.9rem; }
.item-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---------- badges / stats / tables ---------- */
.status-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; border-radius: 999px; padding: 3px 10px; white-space: nowrap;
  border: 1px solid rgba(238,241,245,0.35); color: var(--text-dim);
}
.status-badge.st-ready, .status-badge.st-paid, .status-badge.st-done, .status-badge.st-approved { border-color: var(--ok); color: var(--ok); }
.status-badge.st-sold, .status-badge.st-sent { border-color: var(--amber); color: var(--amber-bright); }
.status-badge.st-overdue, .status-badge.st-declined { border-color: var(--danger); color: var(--danger); }
.status-badge.st-partially_paid, .status-badge.st-in_progress { border-color: #e0a458; color: #eec27f; }
.status-badge.sample-badge { border-color: var(--amber); color: var(--amber-bright); background: rgba(245,165,36,0.12); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 6px 0 14px; }
.stat-card { background: rgba(9,12,16,0.30); border: 1px solid rgba(238,241,245,0.10); border-radius: 12px; padding: 12px 14px; }
.stat-value { font-size: 1.25rem; font-weight: 700; color: var(--amber-bright); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dim); margin-top: 2px; }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.data-table th { text-align: left; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); border-bottom: 1.5px solid rgba(245,165,36,0.4); padding: 6px 8px; }
.data-table td { padding: 7px 8px; border-bottom: 1px solid rgba(238,241,245,0.09); vertical-align: top; }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.winner-row { background: rgba(245,165,36,0.10); }
.winner-tag { color: var(--amber-bright); font-weight: 700; font-size: 0.8rem; }

/* ---------- results wall ---------- */
.lock-card { border: 1px solid var(--glass-border); background: rgba(245,165,36,0.07); border-radius: 12px; padding: 14px 16px; max-width: 560px; margin: 16px auto; text-align: left; }
.lock-title { font-weight: 700; color: var(--amber-bright); margin-bottom: 6px; }
.lock-text { color: var(--text-dim); font-size: 0.92rem; margin: 0; }
.lock-note { color: var(--amber-bright); }
.lock-note-block {
  border-left: 3px solid var(--amber); background: rgba(245,165,36,0.07);
  border-radius: 0 10px 10px 0; padding: 10px 12px; margin: 12px 0;
  color: var(--text-dim); font-size: 0.9rem;
}

/* ---------- sample ---------- */
.sample-card {
  background: var(--glass-strong); border: 1px dashed var(--amber);
  border-radius: 12px; padding: 10px 12px; margin-bottom: 8px;
  display: flex; justify-content: space-between; gap: 10px; align-items: flex-start;
}
.sample-banner {
  border: 1.5px dashed var(--amber-deep); border-radius: 10px; padding: 10px 12px;
  margin-bottom: 16px; color: #6d4d05; background: rgba(245,165,36,0.10);
  font-size: 0.9rem; font-weight: 600;
}
.doc .status-badge.sample-badge { border-color: var(--amber-deep); color: var(--amber-deep); background: rgba(245,165,36,0.14); }
.doc.doc-sample { position: relative; }
.doc-watermark {
  position: absolute; inset: 0; overflow: hidden; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: space-around;
  pointer-events: none; user-select: none;
}
.doc-watermark span {
  font-family: Georgia, serif; font-weight: 700; font-size: 4.6rem;
  letter-spacing: 0.22em; white-space: nowrap;
  color: rgba(185, 122, 16, 0.13);
  transform: rotate(-26deg);
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.sample-cta { margin-top: 22px; border-top: 1px solid #dfe3e8; padding-top: 14px; text-align: left; }
.sample-cta p { color: #5a6470; font-size: 0.9rem; margin: 0 0 10px; }

/* ---------- catalog ---------- */
.catalog-tools { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 4px 0 12px; }
.catalog-list { display: flex; flex-direction: column; gap: 8px; }
.cat-block { border: 1px solid rgba(238,241,245,0.10); border-radius: 12px; background: rgba(9,12,16,0.28); overflow: hidden; }
.cat-head { font: inherit; width: 100%; cursor: pointer; text-align: left; display: flex; align-items: baseline; gap: 10px; background: transparent; border: 0; color: var(--paper-text); padding: 11px 14px; }
.cat-head-main { font-weight: 600; font-family: Georgia, serif; font-size: 1rem; }
.cat-head-meta { color: var(--text-faint); font-size: 0.8rem; flex: 1; }
.cat-chev { color: var(--amber); }
.cat-items { padding: 0 10px 10px; }
.cat-actions { display: flex; gap: 6px; padding: 0 10px 10px; }
.item-inactive { opacity: 0.55; }

/* ---------- share panels / sub-panels ---------- */
.share-panel { margin-top: 14px; border: 1px solid rgba(245,165,36,0.30); border-radius: 12px; background: rgba(9,12,16,0.30); padding: 14px; }
.share-panel h4 { margin: 0 0 4px; font-family: Georgia, serif; font-weight: 600; color: var(--amber-bright); }
.share-link-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
.share-link-row input {
  flex: 1 1 260px; min-width: 0; font: inherit; font-size: 0.85rem; color: var(--paper-text);
  background: rgba(9,12,16,0.55); border: 1px solid rgba(238,241,245,0.18);
  border-radius: 10px; padding: 8px 10px;
}
.share-link-meta { font-size: 0.8rem; color: var(--text-faint); }
.share-link-meta .revoked { color: var(--danger); }
.builder-h { margin: 20px 0 8px; font-family: Georgia, serif; font-weight: 600; font-size: 1rem; color: var(--amber-bright); }
.totals-rail { margin: 16px 0 4px auto; max-width: 430px; border-top: 1px solid rgba(245,165,36,0.25); padding-top: 10px; }
.totals-row { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; color: var(--text-dim); font-size: 0.94rem; }
.totals-grand { color: var(--paper-text); font-weight: 700; font-size: 1.06rem; border-top: 1px solid rgba(245,165,36,0.35); border-bottom: 1px solid rgba(245,165,36,0.35); padding: 6px 0; margin: 6px 0; }

/* ---------- media ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin: 10px 0; }
.photo-cell { background: rgba(9,12,16,0.3); border: 1px solid rgba(238,241,245,0.10); border-radius: 12px; padding: 8px; }
.photo-cell img { width: 100%; height: 96px; object-fit: cover; border-radius: 8px; display: block; }
.photo-cell .item-sub { margin: 6px 0; }
.logo-block { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(245,165,36,0.18); }
.logo-block h4 { margin: 0 0 4px; font-family: Georgia, serif; font-weight: 600; color: var(--amber-bright); }
.logo-preview-row { margin: 4px 0 10px; }
.logo-preview { max-height: 64px; max-width: 220px; width: auto; height: auto; background: #f4f6f8; padding: 8px; border-radius: 8px; }

/* ---------- auction mode ---------- */
.auction-wrap { max-width: 560px; margin: 0 auto; }
.auction-wrap .form label { font-size: 1rem; color: var(--paper-text); }
.auction-wrap .form input { font-size: 1.5rem; padding: 16px; border-radius: 14px; }
.auction-result {
  margin-top: 18px; text-align: center; border: 1.5px solid var(--amber);
  border-radius: 16px; padding: 22px 14px; background: rgba(245,165,36,0.08);
}
.auction-result .ar-label { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.auction-result .ar-value { font-size: 3rem; font-weight: 800; color: var(--amber-bright); font-variant-numeric: tabular-nums; line-height: 1.15; }
.auction-btn { width: 100%; font-size: 1.25rem; padding: 18px; border-radius: 16px; }

/* ---------- documents (paper face) ---------- */
.doc {
  background: #fbfcfd; color: #1c232c; border-radius: 14px;
  padding: 34px 36px; margin: 18px auto; max-width: 860px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  border-top: 6px solid var(--amber);
}
.doc-head { border-bottom: 2px solid #1d2632; padding-bottom: 14px; }
.doc-logo { display: block; max-height: 56px; max-width: 240px; width: auto; height: auto; margin-bottom: 10px; }
.doc-biz { font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; font-weight: 700; color: #141a21; }
.doc-tagline { color: var(--amber-deep); letter-spacing: 0.06em; font-size: 0.9rem; margin-top: 2px; }
.doc-contact { color: #4c5865; font-size: 0.88rem; margin-top: 2px; }
.doc-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin: 18px 0 6px; }
.doc-title { font-family: Georgia, serif; font-size: 1.35rem; margin: 0; color: #141a21; }
.doc-sub { color: #5a6470; font-size: 0.88rem; margin-top: 3px; }
.doc .status-badge { border-color: #1d2632; color: #1d2632; }
.doc .status-badge.st-paid { border-color: #3d7a2e; color: #3d7a2e; }
.doc .status-badge.st-partially_paid { border-color: var(--amber-deep); color: var(--amber-deep); }
.doc .status-badge.st-overdue { border-color: #b0503c; color: #b0503c; }
.doc-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 0.94rem; }
.doc-table th { text-align: left; font-size: 0.75rem; letter-spacing: 0.07em; text-transform: uppercase; color: #5a6470; border-bottom: 1.5px solid #1d2632; padding: 6px 8px; }
.doc-table td { padding: 8px; border-bottom: 1px solid #dfe3e8; vertical-align: top; }
.doc-table .num, .doc-trow .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.doc-table .winner-row { background: rgba(245,165,36,0.14); }
.doc-line-name { font-weight: 600; }
.doc-line-note { color: #5a6470; font-size: 0.83rem; margin-top: 2px; }
.doc-totals { margin: 16px 0 0 auto; max-width: 380px; }
.doc-trow { display: flex; justify-content: space-between; gap: 18px; padding: 3px 0; color: #39434e; }
.doc-grand { font-weight: 700; font-size: 1.12rem; color: #141a21; border-top: 1.5px solid #1d2632; border-bottom: 1.5px solid #1d2632; padding: 7px 0; margin: 7px 0; }
.doc-notes { margin-top: 24px; border-top: 1px solid #dfe3e8; padding-top: 14px; }
.doc-notes h2 { font-family: Georgia, serif; font-size: 1rem; color: #141a21; margin: 0 0 6px; }
.doc-notes p { white-space: pre-wrap; color: #39434e; margin: 0; font-size: 0.92rem; }
.doc-foot { margin-top: 26px; color: #76828e; font-size: 0.78rem; border-top: 1px solid #dfe3e8; padding-top: 10px; }
.doc-toolbar { display: flex; gap: 10px; align-items: center; max-width: 860px; margin: 18px auto 0; flex-wrap: wrap; }
.doc-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 12px; }
.doc-photos figure { margin: 0; }
.doc-photos img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; display: block; }
.doc-photos figcaption { color: #5a6470; font-size: 0.82rem; margin-top: 4px; }
.doc-internal-note { color: var(--amber-deep); font-size: 0.8rem; }
.respond-card { max-width: 860px; margin: 16px auto; }

/* Print: only the document, on white. */
@media print {
  body { background: #fff !important; }
  .ambient, .nav, .footer, .doc-toolbar, #dashboard, #landing, .respond-card, #pubState { display: none !important; }
  main { padding: 0; max-width: none; margin: 0; }
  .doc { box-shadow: none; border: none; border-top: 6px solid #f5a524; border-radius: 0; margin: 0; max-width: none; padding: 12px 4px; }
  .doc-watermark { position: fixed; inset: 0; }
}

/* ---------- footer / legal ---------- */
.footer { position: relative; z-index: 1; max-width: 1120px; margin: 26px auto 0; padding: 20px 16px 34px; color: var(--text-faint); font-size: 0.83rem; border-top: 1px solid rgba(245,165,36,0.18); }
.footer-brand { color: var(--text-dim); font-size: 0.9rem; }
.footer a { color: var(--amber); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.legal-card { padding: 30px 28px; max-width: 760px; margin: 0 auto; }
.legal-card h1 { font-family: Georgia, serif; font-weight: 600; margin: 0 0 10px; }
.legal-card h2 { font-family: Georgia, serif; font-weight: 600; font-size: 1.08rem; color: var(--amber-bright); margin: 22px 0 6px; }
.legal-card p { color: var(--text-dim); margin: 0 0 10px; }
.legal-card a { color: var(--amber); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .card-row { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .nav { border-radius: var(--radius); }
  .user-chip { display: none; }
  .totals-rail { margin-left: 0; }
  .doc { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .glow { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---------- Phase 2: notifications / portals / editors ---------- */
.notif-wrap { position: relative; display: inline-flex; }
.notif-badge { display: inline-block; min-width: 18px; text-align: center; font-size: 0.7rem; font-weight: 700; color: #241a02; background: var(--amber); border-radius: 999px; padding: 1px 5px; margin-left: 4px; }
.notif-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(380px, 88vw); max-height: 70vh; overflow-y: auto; padding: 14px; z-index: 40; text-align: left; }
.notif-panel .item-list li.notif-unread { border-color: var(--glass-border); background: rgba(245,165,36,0.08); }
.est-editor { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.est-line-row input, .est-line-row select { flex: 1 1 110px; min-width: 0; font: inherit; font-size: 0.88rem; color: var(--paper-text); background: rgba(9,12,16,0.55); border: 1px solid rgba(238,241,245,0.18); border-radius: 10px; padding: 7px 9px; }
.est-line-row .el-desc { flex: 2 1 180px; }
#invitePanel { max-width: 760px; margin: 0 auto; }
