/*
 * App design system
 * -----------------------------------------------------------------------
 * Loaded AFTER custom.css on the authenticated/app pages (auth, dashboard,
 * profile edit, admin). custom.css is left intact because the public profile
 * page still depends on it.
 */

:root {
    --brand-1: #667eea;
    --brand-2: #764ba2;
    --brand-grad: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e6e9f0;
    --line-soft: #eef1f6;
    --surface: #ffffff;
    --canvas: #f7f8fc;

    --ok: #16a34a;
    --warn: #d97706;
    --danger: #dc2626;

    --r-sm: 10px;
    --r: 14px;
    --r-lg: 20px;

    --sh-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 12px rgba(15, 23, 42, .04);
    --sh: 0 2px 4px rgba(15, 23, 42, .05), 0 12px 32px rgba(15, 23, 42, .08);
    --sh-lg: 0 8px 24px rgba(15, 23, 42, .08), 0 32px 64px rgba(15, 23, 42, .12);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--canvas);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { letter-spacing: -.02em; color: var(--ink); }
a { text-decoration: none; }

:focus-visible {
    outline: 3px solid rgba(102, 126, 234, .45);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ============================ App shell nav ============================ */
.app-nav {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.app-nav .navbar-brand,
.brand-lockup { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--ink) !important; }
.brand-mark {
    width: 34px; height: 34px; border-radius: 10px; flex: none;
    background: var(--brand-grad);
    display: grid; place-items: center; color: #fff; font-size: 1.05rem;
}
.app-nav .nav-link { color: var(--ink-2) !important; font-weight: 500; border-radius: 8px; padding: .45rem .8rem !important; }
.app-nav .nav-link:hover { color: var(--brand-1) !important; background: rgba(102, 126, 234, .08); }
.app-nav .nav-link.active { color: var(--brand-2) !important; background: rgba(102, 126, 234, .1); font-weight: 600; }

/* Unread counter beside a nav item. min-width keeps a single digit round. */
.nav-count {
    display: inline-grid; place-items: center;
    min-width: 1.25rem; height: 1.25rem;
    padding: 0 .35rem;
    margin-left: .3rem;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: .68rem; font-weight: 700; line-height: 1;
    vertical-align: middle;
}

.avatar-chip {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--brand-grad); color: #fff;
    display: grid; place-items: center; font-size: .8rem; font-weight: 700; flex: none;
}
.avatar-chip img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* ============================== Buttons =============================== */
.btn { font-weight: 600; border-radius: var(--r-sm); }
.btn-lg { border-radius: 12px; }

.btn-brand, .btn-primary {
    background: var(--brand-grad) !important;
    border: none !important; color: #fff !important;
    box-shadow: 0 6px 18px rgba(102, 126, 234, .3);
    transition: transform .18s ease, box-shadow .18s ease;
}
.btn-brand:hover, .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(102, 126, 234, .42);
}
.btn-brand:active, .btn-primary:active { transform: translateY(0); }

.btn-ghost {
    background: #fff; border: 1px solid var(--line); color: var(--ink-2);
}
.btn-ghost:hover { border-color: var(--brand-1); color: var(--brand-1); background: #fff; }

.btn-outline-primary {
    border: 1px solid var(--line) !important;
    color: var(--ink-2) !important; background: #fff !important;
}
.btn-outline-primary:hover { border-color: var(--brand-1) !important; color: var(--brand-1) !important; background: #fff !important; }

/* =============================== Cards ================================ */
.card, .app-card {
    background: var(--surface);
    border: 1px solid var(--line) !important;
    border-radius: var(--r-lg) !important;
    box-shadow: var(--sh-sm) !important;
}
.card-header, .app-card-head {
    background: transparent !important;
    border-bottom: 1px solid var(--line-soft) !important;
    padding: 1.1rem 1.35rem;
    font-weight: 700;
}
.app-card-head .title { font-size: 1rem; margin: 0; display: flex; align-items: center; gap: .55rem; }
.app-card-body { padding: 1.35rem; }

.page-head { margin-bottom: 1.75rem; }
.page-head h1 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); font-weight: 800; margin: 0 0 .25rem; }
.page-head .sub { color: var(--muted); margin: 0; }

/* =============================== Stats ================================ */
.stat {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 1.25rem;
    display: flex; align-items: center; gap: 1rem; height: 100%;
    box-shadow: var(--sh-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.stat .ico {
    width: 48px; height: 48px; border-radius: 13px; flex: none;
    display: grid; place-items: center; color: #fff; font-size: 1.25rem;
}
.stat .val { font-size: 1.6rem; font-weight: 800; line-height: 1.1; margin: 0; }
.stat .lbl { color: var(--muted); font-size: .85rem; margin: 0; }

.ico-brand   { background: var(--brand-grad); }
.ico-green   { background: linear-gradient(135deg, #11998e, #38ef7d); }
.ico-pink    { background: linear-gradient(135deg, #f093fb, #f5576c); }
.ico-blue    { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.ico-amber   { background: linear-gradient(135deg, #fa709a, #fee140); }
.ico-slate   { background: linear-gradient(135deg, #334155, #0f172a); }

/* =============================== Forms ================================ */
.form-label { font-weight: 600; font-size: .875rem; color: var(--ink-2); margin-bottom: .4rem; }
.form-text, .form-hint { color: var(--muted); font-size: .8rem; }

.form-control, .form-select {
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: .62rem .85rem;
    font-size: .95rem;
    background: #fff;
    color: var(--ink);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.form-control:focus, .form-select:focus {
    border-color: var(--brand-1);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, .14);
    background: #fff;
}
.form-control::placeholder { color: #9aa4b6; }
.form-control:disabled, .form-control[readonly] { background: var(--canvas); color: var(--muted); }

.input-group-text {
    background: var(--canvas);
    border: 1px solid var(--line);
    border-right: none;
    color: var(--muted);
    border-radius: var(--r-sm) 0 0 var(--r-sm);
}
.input-group .form-control { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-group:focus-within .input-group-text { border-color: var(--brand-1); color: var(--brand-1); }

.form-check-input { border-color: #cbd5e1; }
.form-check-input:checked { background-color: var(--brand-1); border-color: var(--brand-1); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(102, 126, 234, .14); border-color: var(--brand-1); }
.form-switch .form-check-input { width: 2.6rem; height: 1.35rem; }

/* Section header inside a form */
.form-section-title {
    display: flex; align-items: center; gap: .6rem;
    font-size: 1rem; font-weight: 700; margin: 0 0 1.15rem;
}
.form-section-title .dot {
    width: 32px; height: 32px; border-radius: 9px; flex: none;
    background: rgba(102, 126, 234, .12); color: var(--brand-2);
    display: grid; place-items: center; font-size: .9rem;
}

/* ============================== Alerts ================================ */
.alert { border: 1px solid transparent; border-radius: var(--r); font-size: .92rem; padding: .85rem 1.05rem; }
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-danger  { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }

/* ============================== Badges ================================ */
.pill-badge {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .28rem .7rem; border-radius: 999px;
    font-size: .75rem; font-weight: 600;
}
.pill-ok     { background: #ecfdf5; color: #047857; }
.pill-muted  { background: #f1f5f9; color: #475569; }
.pill-danger { background: #fef2f2; color: #b91c1c; }
.pill-brand  { background: rgba(102, 126, 234, .12); color: var(--brand-2); }

/* =============================== Tables =============================== */
.table-modern { margin: 0; }
.table-modern thead th {
    background: var(--canvas);
    color: var(--muted);
    font-size: .74rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em;
    border-bottom: 1px solid var(--line);
    padding: .8rem 1.1rem; white-space: nowrap;
}
.table-modern tbody td { padding: .9rem 1.1rem; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table-modern tbody tr:last-child td { border-bottom: 0; }
.table-modern tbody tr:hover { background: #fafbfe; }

/* ========================= Auth (split screen) ======================== */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1fr; background: var(--canvas); }
@media (min-width: 992px) { .auth-shell { grid-template-columns: 1.05fr 1fr; } }

.auth-aside {
    position: relative; overflow: hidden;
    background: var(--brand-grad);
    color: #fff; padding: 3rem;
    display: none; flex-direction: column; justify-content: space-between;
}
@media (min-width: 992px) { .auth-aside { display: flex; } }
.auth-aside::before,
.auth-aside::after {
    content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .09);
}
.auth-aside::before { width: 460px; height: 460px; top: -160px; right: -140px; }
.auth-aside::after  { width: 320px; height: 320px; bottom: -120px; left: -100px; }
.auth-aside > * { position: relative; z-index: 2; }
.auth-aside h2 { color: #fff; font-size: 2rem; font-weight: 800; line-height: 1.2; }
.auth-aside .lead-sm { color: rgba(255, 255, 255, .85); line-height: 1.7; }
.auth-feature { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1rem; }
.auth-feature i { font-size: 1.05rem; opacity: .95; margin-top: .15rem; }
.auth-feature span { color: rgba(255, 255, 255, .9); font-size: .93rem; }

.auth-main { display: flex; align-items: center; justify-content: center; padding: 2rem 1.25rem; }
.auth-card { width: 100%; max-width: 430px; }
.auth-card.wide { max-width: 560px; }
.auth-badge {
    width: 56px; height: 56px; border-radius: 16px;
    display: grid; place-items: center; color: #fff; font-size: 1.5rem;
    background: var(--brand-grad); margin-bottom: 1.1rem;
}
.auth-badge.amber { background: linear-gradient(135deg, #f59e0b, #f97316); }
.auth-title { font-size: 1.65rem; font-weight: 800; margin-bottom: .3rem; }
.auth-sub { color: var(--muted); margin-bottom: 1.75rem; }
.auth-divider { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: .82rem; margin: 1.5rem 0; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; background: var(--line); flex: 1; }

/* ============================ Admin shell ============================= */
.admin-shell { display: flex; min-height: 100vh; background: var(--canvas); }

.admin-side {
    width: 264px; flex: none;
    background: linear-gradient(180deg, #131a2b 0%, #0d1220 100%);
    color: rgba(255, 255, 255, .7);
    padding: 1.5rem 1rem;
    display: flex; flex-direction: column;
    position: fixed; inset: 0 auto 0 0; z-index: 1045;
    transform: translateX(-100%);
    transition: transform .28s ease;
    overflow-y: auto;
}
.admin-side.open { transform: translateX(0); }
@media (min-width: 992px) {
    .admin-side { position: sticky; top: 0; height: 100vh; transform: none; }
}
.admin-side .brand-lockup { color: #fff !important; margin-bottom: .15rem; }
.admin-side .brand-sub { font-size: .72rem; color: rgba(255, 255, 255, .45); letter-spacing: .08em; text-transform: uppercase; }
.admin-side .side-link {
    display: flex; align-items: center; gap: .7rem;
    padding: .68rem .85rem; border-radius: var(--r-sm);
    color: rgba(255, 255, 255, .72); font-weight: 500; font-size: .93rem;
    transition: background .18s ease, color .18s ease;
}
.admin-side .side-link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.admin-side .side-link.active { background: var(--brand-grad); color: #fff; box-shadow: 0 6px 16px rgba(102, 126, 234, .32); }
.admin-side .side-link i { font-size: 1.05rem; width: 1.2rem; }
.admin-side .side-sep { height: 1px; background: rgba(255, 255, 255, .1); margin: 1rem .5rem; }
.admin-side .side-link.danger { color: #fca5a5; }
.admin-side .side-link.danger:hover { background: rgba(220, 38, 38, .16); color: #fecaca; }

.admin-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar {
    position: sticky; top: 0; z-index: 1020;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
    padding: .85rem 1.25rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.admin-body { padding: 1.5rem 1.25rem 3rem; }
@media (min-width: 992px) { .admin-body { padding: 2rem 2rem 3rem; } }

.admin-scrim {
    position: fixed; inset: 0; background: rgba(15, 23, 42, .5);
    z-index: 1040; opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
.admin-scrim.show { opacity: 1; pointer-events: auto; }
@media (min-width: 992px) { .admin-scrim { display: none; } }

/* ============================== Footer ================================ */
.app-footer {
    background: var(--ink); color: rgba(255, 255, 255, .6);
    padding: 1.5rem 0; font-size: .88rem; text-align: center;
}
.app-footer a { color: rgba(255, 255, 255, .8); }
.app-footer a:hover { color: #fff; }

/* ============================== Utility =============================== */
.hover-lift { transition: transform .2s ease, box-shadow .2s ease; }
.hover-lift:hover { transform: translateY(-3px); box-shadow: var(--sh); }

.soft-tile {
    display: block; padding: 1.1rem; border-radius: var(--r);
    background: var(--canvas); border: 1px solid var(--line-soft);
    color: var(--ink); height: 100%;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.soft-tile:hover { background: #fff; border-color: rgba(102, 126, 234, .4); transform: translateY(-2px); color: var(--ink); }
.soft-tile i { font-size: 1.3rem; color: var(--brand-1); }

.avatar-lg {
    width: 104px; height: 104px; border-radius: 50%;
    object-fit: cover; border: 4px solid #fff; box-shadow: var(--sh);
}
.avatar-fallback {
    width: 104px; height: 104px; border-radius: 50%;
    background: var(--brand-grad); color: #fff;
    display: grid; place-items: center; font-size: 2.4rem; font-weight: 700;
    border: 4px solid #fff; box-shadow: var(--sh); margin-inline: auto;
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}

/* ========================= Link manager (editor) ====================== */
.link-row {
    display: flex; align-items: center; gap: .75rem;
    padding: .7rem .85rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    transition: border-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.link-row:hover { border-color: rgba(102, 126, 234, .4); box-shadow: var(--sh-sm); }
.link-row.dragging { opacity: .45; }
.link-row.drop-target { border-color: var(--brand-1); border-style: dashed; }
.drag-handle { color: #cbd5e1; cursor: grab; font-size: 1.1rem; flex: none; }
.drag-handle:active { cursor: grabbing; }
.link-ico {
    width: 34px; height: 34px; border-radius: 10px; flex: none;
    background: var(--brand-grad); color: #fff;
    display: grid; place-items: center; font-size: .9rem;
}
.link-meta { flex: 1 1 auto; min-width: 0; }
.link-title { font-weight: 600; font-size: .92rem; }

/* ============================== Theme picker ========================== */
.theme-grid {
    display: grid; gap: .6rem;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
}
.theme-swatch {
    display: flex; flex-direction: column; align-items: center; gap: .35rem;
    padding: .7rem .5rem;
    border: 2px solid var(--line);
    border-radius: var(--r);
    cursor: pointer; text-align: center;
    transition: border-color .18s ease, transform .18s ease;
}
.theme-swatch:hover { transform: translateY(-2px); border-color: rgba(102, 126, 234, .5); }
.theme-swatch.selected { border-color: var(--brand-1); background: rgba(102, 126, 234, .05); }
.theme-swatch input { position: absolute; opacity: 0; pointer-events: none; }
.theme-swatch .chip-preview {
    width: 100%; height: 40px; border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06);
}
.theme-swatch .theme-name { font-size: .8rem; font-weight: 600; color: var(--ink-2); }

/* ============================== Pagination ============================= */
.app-pager {
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 1rem;
    margin-top: 1.5rem;
}
.app-pager-status { margin: 0; font-size: .85rem; color: var(--muted); }
.app-pager-status strong { color: var(--ink-2); }

.app-pager-list {
    display: flex; flex-wrap: wrap; align-items: center; gap: .3rem;
    list-style: none; margin: 0; padding: 0;
}
.app-pager-list a,
.app-pager-list span {
    display: inline-flex; align-items: center; justify-content: center; gap: .3rem;
    min-width: 38px; height: 38px; padding: 0 .7rem;
    border: 1px solid var(--line); border-radius: var(--r-sm);
    background: #fff; color: var(--ink-2);
    font-size: .88rem; font-weight: 600;
    transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}
.app-pager-list a:hover {
    border-color: var(--brand-1); color: var(--brand-2);
    background: rgba(102, 126, 234, .06);
    transform: translateY(-1px);
}
.app-pager-list .is-current {
    background: var(--brand-grad); border-color: transparent; color: #fff;
    box-shadow: 0 6px 16px rgba(102, 126, 234, .3);
}
.app-pager-list .is-disabled { opacity: .4; cursor: not-allowed; background: var(--canvas); }
.app-pager-gap {
    border: none !important; background: none !important;
    color: var(--muted) !important; min-width: 22px !important; padding: 0 !important;
}

/* Keep the control usable on a phone: numbers collapse, arrows stay. */
@media (max-width: 575.98px) {
    .app-pager { justify-content: center; }
    .app-pager-word { display: none; }
    .app-pager-list a, .app-pager-list span { min-width: 34px; height: 34px; padding: 0 .5rem; }
}

/* ========================== Admin page toolbar ======================== */
.admin-toolbar {
    display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
    margin-bottom: 1.25rem;
}
.admin-toolbar .search-field { position: relative; flex: 1 1 240px; min-width: 0; }
.admin-toolbar .search-field > i {
    position: absolute; left: .85rem; top: 50%; transform: translateY(-50%);
    color: var(--muted); font-size: .9rem; pointer-events: none;
}
.admin-toolbar .search-field input { padding-left: 2.4rem; }

.filter-chip {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .45rem .85rem; border-radius: 999px;
    border: 1px solid var(--line); background: #fff;
    font-size: .83rem; font-weight: 600; color: var(--muted);
    white-space: nowrap;
}
.filter-chip:hover { border-color: var(--brand-1); color: var(--brand-2); }
.filter-chip.on { background: var(--brand-grad); border-color: transparent; color: #fff; }
.filter-chip .n { opacity: .75; font-weight: 500; }

/* Bulk action bar appears only once something is ticked. */
.bulk-bar {
    display: none; align-items: center; flex-wrap: wrap; gap: .6rem;
    padding: .75rem 1rem; margin-bottom: 1rem;
    background: rgba(102, 126, 234, .08);
    border: 1px solid rgba(102, 126, 234, .3);
    border-radius: var(--r);
}
.bulk-bar.show { display: flex; }
.bulk-bar .count { font-size: .88rem; font-weight: 700; color: var(--brand-2); }

/* Tables shed columns rather than forcing a horizontal scrollbar. */
.table-modern td .stack-sub { display: none; }
@media (max-width: 767.98px) {
    .table-modern td .stack-sub { display: block; font-size: .78rem; color: var(--muted); }
}

/* Sidebar scrollbar: keep the rail out of the way but still reachable. */
.admin-side { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.admin-side::-webkit-scrollbar { width: 6px; }
.admin-side::-webkit-scrollbar-track { background: transparent; }
.admin-side::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .16); border-radius: 3px;
}
.admin-side::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .3); }
.admin-side .side-link { position: relative; }

/* Same treatment for any table that genuinely has to scroll. */
.table-responsive { scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent; }
.table-responsive::-webkit-scrollbar { height: 8px; }
.table-responsive::-webkit-scrollbar-track { background: transparent; }
.table-responsive::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.table-responsive::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* =========================== Rich text editor ========================= */
.rte {
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.rte:focus-within { border-color: var(--brand-1); box-shadow: 0 0 0 4px rgba(102, 126, 234, .14); }

.rte-toolbar {
    display: flex; flex-wrap: wrap; align-items: center; gap: .15rem;
    padding: .4rem .5rem;
    border-bottom: 1px solid var(--line-soft);
    background: var(--canvas);
    border-radius: var(--r-sm) var(--r-sm) 0 0;
}
.rte-toolbar button {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    border: none; border-radius: 7px;
    background: transparent; color: var(--ink-2);
    font-size: .92rem; cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.rte-toolbar button:hover { background: rgba(102, 126, 234, .12); color: var(--brand-2); }
.rte-toolbar button.on { background: var(--brand-grad); color: #fff; }
.rte-sep { width: 1px; height: 18px; background: var(--line); margin: 0 .3rem; }

.rte-area {
    min-height: 160px; max-height: 420px; overflow-y: auto;
    padding: .8rem .95rem;
    font-size: .95rem; line-height: 1.7; color: var(--ink);
    outline: none;
    overflow-wrap: anywhere;
}
/* Placeholder for an empty contenteditable. */
.rte-area:empty::before {
    content: attr(data-placeholder);
    color: #9aa4b6;
    pointer-events: none;
}
.rte-area p { margin: 0 0 .7rem; }
.rte-area p:last-child { margin-bottom: 0; }
.rte-area ul, .rte-area ol { margin: 0 0 .7rem; padding-left: 1.4rem; }
.rte-area li { margin-bottom: .25rem; }
.rte-area a { color: var(--brand-2); text-decoration: underline; }
.rte-area:focus { outline: none; }
