/* Demo shell — purposely minimal; component look comes from Bz tokens. */
html, body { margin: 0; padding: 0; height: 100%; }

.demo-shell {
    display: flex;
    min-height: 100vh;
    background: var(--bz-background);
    color: var(--bz-text);
}

/* sidebar */
.demo-sidebar {
    width: 230px;
    flex: 0 0 230px;
    background: var(--bz-surface);
    border-inline-end: 1px solid var(--bz-border);
    padding: 1rem .75rem;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.demo-brand {
    display: flex; align-items: center; gap: .5rem;
    font-size: 1.3rem; font-weight: 800; color: var(--bz-primary);
    padding: .5rem .75rem 1rem;
}
.demo-sidebar nav { display: flex; flex-direction: column; gap: .25rem; }
.demo-sidebar nav a {
    display: flex; align-items: center; gap: .6rem;
    padding: .6rem .75rem; border-radius: var(--bz-radius);
    color: var(--bz-text); text-decoration: none; font-size: .95rem;
    transition: background-color .15s, color .15s;
}
.demo-sidebar nav a:hover { background: var(--bz-surface-muted); }
.demo-sidebar nav a.active { background: var(--bz-primary); color: var(--bz-on-primary); }
.demo-sidebar nav a i { width: 20px; text-align: center; }

/* main */
.demo-main { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.demo-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: .85rem 1.5rem; gap: 1rem;
    background: var(--bz-surface);
    border-bottom: 1px solid var(--bz-border);
    position: sticky; top: 0; z-index: 10;
}
.demo-header__title { font-weight: 700; }
.demo-header__tools { display: flex; align-items: center; gap: .5rem; }
.demo-theme-menu { display: flex; flex-direction: column; gap: .15rem; }
.demo-theme-menu > span { font-size: .75rem; color: var(--bz-text-muted); padding: .4rem .5rem 0; font-weight: 700; }

.demo-content { padding: 1.5rem; width: 100%; }
.demo-content h1 { margin: 0 0 .5rem; font-size: 1.6rem; }
.demo-lead { color: var(--bz-text-muted); margin-bottom: 1.5rem; line-height: 1.8; }

.demo-section {
    background: var(--bz-surface);
    border: 1px solid var(--bz-border);
    border-radius: var(--bz-radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}
.demo-section h2 { margin: 0 0 1rem; font-size: 1.1rem; }
.demo-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: .75rem; }
.demo-form-grid {
    display: grid; gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-bottom: 1rem;
}
.demo-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .8rem; color: var(--bz-text-muted);
    background: var(--bz-surface-muted); padding: .5rem .75rem;
    border-radius: var(--bz-radius-sm); direction: ltr; text-align: start;
    word-break: break-all;
}
.demo-detail-title { margin: 0 0 .5rem; font-size: .95rem; color: var(--bz-text-muted); }

.demo-grid-cards {
    display: grid; gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.demo-card {
    background: var(--bz-surface); border: 1px solid var(--bz-border);
    border-radius: var(--bz-radius-lg); padding: 1.25rem; text-align: center;
}
.demo-card i { font-size: 1.8rem; color: var(--bz-primary); margin-bottom: .5rem; }
.demo-card h3 { margin: .25rem 0 .5rem; font-size: 1rem; }
.demo-card p { color: var(--bz-text-muted); font-size: .85rem; margin-bottom: 1rem; min-height: 2.4em; }

/* responsive */
@media (max-width: 760px) {
    .demo-sidebar { position: fixed; transform: translateX(100%); transition: transform .2s; z-index: 100; }
    .demo-main { width: 100%; }
}

/* default blazor error UI */
#blazor-error-ui {
    display: none; position: fixed; bottom: 0; inset-inline: 0;
    background: var(--red-100); color: var(--red-900); padding: .8rem 1.25rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,.1); z-index: 2000;
}
#blazor-error-ui .reload { color: var(--red-900); font-weight: 700; }
#blazor-error-ui .dismiss { cursor: pointer; float: left; }

/* loading demo */
.demo-spinners { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 1rem; }
.demo-spinner-cell {
    display: flex; flex-direction: column; align-items: center; gap: .6rem;
    padding: 1rem .5rem; background: var(--bz-surface-muted);
    border-radius: var(--bz-radius); min-height: 110px; justify-content: center;
}
.demo-spinner-cell span { font-size: .72rem; color: var(--bz-text-muted); }
.demo-stack { display: flex; flex-direction: column; gap: 1rem; }

/* cards demo grid */
.demo-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }

/* charts demo */
.demo-chart-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.demo-chart-grid .demo-section { margin-bottom: 0; }

/* sidebar demo frame */
.demo-sidebar-frame {
    display: flex; height: 460px; border: 1px solid var(--bz-border);
    border-radius: var(--bz-radius-lg); overflow: hidden;
}
.demo-sidebar-content { flex: 1 1 auto; padding: 1.5rem; background: var(--bz-background); }

/* variant tags + navbar demo stack */
.demo-variant-tag { display:inline-block; font-size:11px; color:var(--bz-text-muted); margin:.15rem 0 .6rem; }
.demo-stack > .bz-navbar { border-radius: var(--bz-radius); overflow: hidden; }

/* ============ icon gallery ============ */
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .75rem; }
.icon-cell {
    display: flex; flex-direction: column; align-items: center; gap: .6rem;
    padding: 1rem .5rem; background: var(--bz-surface); border: 1px solid var(--bz-border);
    border-radius: var(--bz-radius); cursor: pointer; transition: all var(--bz-transition-fast);
}
.icon-cell:hover { border-color: var(--bz-primary); transform: translateY(-2px); box-shadow: var(--bz-shadow); }
.icon-cell i { font-size: 1.5rem; color: var(--bz-primary); }
.icon-cell code { font-size: 10.5px; color: var(--bz-text-muted); word-break: break-all; text-align: center; }

/* ============ marketing site ============ */
.mkt { min-height: 100vh; display: flex; flex-direction: column; background: var(--bz-background); }
.mkt-main { flex: 1 1 auto; }
.mkt-brand { font-weight: 800; color: var(--bz-primary); text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }

.mkt-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; max-width: 1100px; margin: 0 auto; padding: 3.5rem 1.5rem; }
.mkt-badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--bz-primary); background: color-mix(in srgb, var(--bz-primary) 12%, transparent); padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.mkt-hero h1 { font-size: 2.4rem; line-height: 1.3; margin: 0 0 1rem; }
.mkt-hero p { font-size: 1.05rem; color: var(--bz-text-muted); line-height: 1.8; margin: 0 0 1.5rem; }
.mkt-hero__cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.mkt-hero__art { background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg); padding: 1.5rem; }

.mkt-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem; }
.mkt-feature { background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg); padding: 1.5rem; }
.mkt-feature__icon { width: 48px; height: 48px; border-radius: 12px; background: color-mix(in srgb, var(--bz-primary) 12%, transparent); color: var(--bz-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 1rem; }
.mkt-feature h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.mkt-feature p { margin: 0; color: var(--bz-text-muted); line-height: 1.7; }

.mkt-cta-band { text-align: center; padding: 3rem 1.5rem; }
.mkt-cta-band h2 { font-size: 1.6rem; margin: 0 0 1.25rem; }

.mkt-page { max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.5rem; }
.mkt-prose { color: var(--bz-text-muted); line-height: 1.9; max-width: 70ch; }

.mkt-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.mkt-product { background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg); padding: 1.25rem; }
.mkt-product.is-pro { border-color: color-mix(in srgb, var(--bz-primary) 40%, var(--bz-border)); }
.mkt-product__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.mkt-product__head i { font-size: 1.5rem; color: var(--bz-primary); }
.mkt-product__tag { font-size: 11px; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; }
.tag-free { background: color-mix(in srgb, var(--bz-success) 16%, transparent); color: var(--bz-success); }
.tag-pro { background: color-mix(in srgb, var(--bz-primary) 16%, transparent); color: var(--bz-primary); }
.mkt-product h3 { margin: 0 0 .35rem; font-size: 1rem; }
.mkt-product p { margin: 0; font-size: 13px; color: var(--bz-text-muted); line-height: 1.6; }

.mkt-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; align-items: start; }
.mkt-plan { position: relative; background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg); padding: 1.75rem; }
.mkt-plan.is-featured { border: 2px solid var(--bz-primary); box-shadow: var(--bz-shadow-lg); }
.mkt-plan__ribbon { position: absolute; top: -12px; inset-inline-end: 1.25rem; background: var(--bz-primary); color: var(--bz-on-primary); font-size: 11px; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; }
.mkt-plan h3 { margin: 0 0 .75rem; }
.mkt-plan__price { margin-bottom: 1.25rem; }
.mkt-plan__price .amount { font-size: 1.9rem; font-weight: 800; }
.mkt-plan__price .period { color: var(--bz-text-muted); font-size: 13px; margin-inline-start: .35rem; }
.mkt-plan__features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.mkt-plan__features li { display: flex; align-items: center; gap: .5rem; font-size: 13.5px; }
.mkt-plan__features i { color: var(--bz-success); }

.mkt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.mkt-stat { background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg); padding: 1.25rem; text-align: center; }
.mkt-stat .num { display: block; font-size: 1.8rem; font-weight: 800; color: var(--bz-primary); }
.mkt-stat .lbl { font-size: 12.5px; color: var(--bz-text-muted); }

.mkt-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.mkt-contact__list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-direction: column; gap: .75rem; }
.mkt-contact__list i { color: var(--bz-primary); width: 20px; }
.mkt-contact__form { background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg); padding: 1.5rem; }
.mkt-textarea { width: 100%; border: 1px solid var(--bz-border); border-radius: var(--bz-radius); padding: .6rem .8rem; font-family: inherit; font-size: 14px; background: var(--bz-surface); color: var(--bz-text); resize: vertical; }
.mkt-textarea:focus { outline: none; border-color: var(--bz-primary); box-shadow: 0 0 0 3px var(--bz-focus-ring); }

@media (max-width: 820px) {
    .mkt-hero, .mkt-contact { grid-template-columns: 1fr; }
}

/* demo dashboard */
.demo-stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.demo-dash-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.25rem; }
@media (max-width: 820px) { .demo-dash-row { grid-template-columns: 1fr; } }

/* sub-headings + code blocks in demos */
.demo-sub { font-size: .9rem; color: var(--bz-text-muted); margin: 1.25rem 0 .5rem; font-weight: 600; }
.demo-code { background: var(--bz-surface-muted); border: 1px solid var(--bz-border); border-radius: var(--bz-radius); padding: .75rem 1rem; font-size: 12.5px; white-space: pre-wrap; word-break: break-word; max-height: 200px; overflow: auto; }

/* ============ CodeBlock ============ */
.cb { border: 1px solid var(--bz-border); border-radius: var(--bz-radius); overflow: hidden; margin: .75rem 0 1.25rem; background: var(--bz-surface); }
.cb__bar { display: flex; align-items: center; justify-content: space-between; padding: .4rem .75rem; background: var(--bz-surface-muted); border-bottom: 1px solid var(--bz-border); }
.cb__title { font-size: 12px; color: var(--bz-text-muted); font-family: ui-monospace, monospace; }
.cb__copy { display: inline-flex; align-items: center; gap: .35rem; border: none; background: transparent; cursor: pointer; color: var(--bz-text-muted); font-family: inherit; font-size: 12px; padding: .25rem .5rem; border-radius: var(--bz-radius-sm); transition: all var(--bz-transition-fast); }
.cb__copy:hover { background: var(--bz-surface); color: var(--bz-primary); }
.cb__copy.is-done { color: var(--bz-success); }
.cb__pre { margin: 0; padding: 1rem; overflow-x: auto; direction: ltr; text-align: left; }
.cb__pre code { font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.7; color: var(--bz-text); white-space: pre; }

/* ============ docs page ============ */
.docs h2 { margin-top: 2.25rem; scroll-margin-top: 80px; }
.docs code { background: var(--bz-surface-muted); padding: .1rem .35rem; border-radius: 4px; font-family: ui-monospace, monospace; font-size: .9em; }
.docs-toc { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0; padding: 1rem; background: var(--bz-surface-muted); border-radius: var(--bz-radius); }
.docs-toc a { font-size: 13px; color: var(--bz-primary); text-decoration: none; padding: .25rem .6rem; border-radius: 999px; background: var(--bz-surface); }
.docs-toc a:hover { background: color-mix(in srgb, var(--bz-primary) 12%, transparent); }
.docs-next { margin-top: 2rem; }

/* dashboard extra layout */
.demo-dash-row3 { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.25rem; margin-top: 1.25rem; }
@media (max-width: 980px) { .demo-dash-row3 { grid-template-columns: 1fr; } }
.demo-goals { display: flex; flex-direction: column; gap: 1rem; }
.demo-goal { display: flex; flex-direction: column; gap: .4rem; }
.demo-goal > span { font-size: 13px; color: var(--bz-text-muted); }
.demo-quick { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.demo-badge { font-size: 11px; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; }
.demo-badge--ok { background: color-mix(in srgb, var(--bz-success) 16%, transparent); color: var(--bz-success); }
.demo-badge--wait { background: color-mix(in srgb, var(--bz-warning) 18%, transparent); color: var(--bz-warning); }

/* ExampleBlock (preview + code) */
.ex { margin-bottom: 1.75rem; }
.ex__title { font-size: .95rem; font-weight: 700; color: var(--bz-text); margin-bottom: .6rem; }
.ex__preview { padding: 1.25rem; border: 1px solid var(--bz-border); border-radius: var(--bz-radius); background: var(--bz-surface); }
.ex .cb { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
.ex__preview { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* ============================================================
   Marketing site — polished
   ============================================================ */
.mkt-main { overflow-x: hidden; }

/* HERO */
.hero { position: relative; padding: 4.5rem 1.5rem 5rem; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg span {
    position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35;
    animation: floaty 14s ease-in-out infinite;
}
.hero__bg span:nth-child(1) { width: 420px; height: 420px; background: var(--bz-primary); top: -120px; inset-inline-end: -80px; }
.hero__bg span:nth-child(2) { width: 340px; height: 340px; background: var(--bz-info); bottom: -120px; inset-inline-start: -60px; animation-delay: -4s; }
.hero__bg span:nth-child(3) { width: 260px; height: 260px; background: var(--bz-success); top: 40%; inset-inline-start: 45%; opacity: .2; animation-delay: -8s; }
@keyframes floaty { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-26px) scale(1.06); } }

.hero__inner { position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: .4rem; font-size: 12.5px; font-weight: 700; color: var(--bz-primary); background: color-mix(in srgb, var(--bz-primary) 12%, transparent); padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1.2rem; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.35; margin: 0 0 1.1rem; font-weight: 800; }
.hero h1 .grad { background: linear-gradient(90deg, var(--bz-primary), color-mix(in srgb, var(--bz-primary) 40%, var(--bz-info))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 1.08rem; color: var(--bz-text-muted); line-height: 1.9; margin: 0 0 1.6rem; max-width: 52ch; }
.hero__cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.4rem; color: var(--bz-text-muted); font-size: 13px; }
.hero__meta i { color: var(--bz-success); margin-inline-end: .3rem; }

.hero__art { position: relative; height: 360px; }
.hero__card { position: absolute; background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg); box-shadow: var(--bz-shadow-lg); padding: 1rem; animation: floaty 9s ease-in-out infinite; }
.hero__card--1 { inset-inline-end: 0; top: 10px; width: 300px; }
.hero__card--2 { inset-inline-start: 0; top: 120px; width: 230px; animation-delay: -3s; }
.hero__card--3 { inset-inline-end: 40px; bottom: 0; display: grid; place-items: center; width: 90px; height: 90px; animation-delay: -6s; }

/* LOGOS */
.logos { text-align: center; padding: 1.5rem; color: var(--bz-text-muted); }
.logos > span { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; margin-top: 1rem; font-size: 2rem; color: var(--bz-text-muted); opacity: .6; }

/* SECTIONS */
.sec { max-width: 1140px; margin: 0 auto; padding: 3.5rem 1.5rem; }
.sec--alt { max-width: none; background: var(--bz-surface-muted); }
.sec--alt > * { max-width: 1140px; margin-inline: auto; }
.sec__head { text-align: center; margin-bottom: 2.25rem; }
.sec__head h2 { font-size: 1.7rem; margin: 0 0 .5rem; }
.sec__head p { color: var(--bz-text-muted); margin: 0; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.feature { background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg); padding: 1.6rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--bz-shadow-lg); border-color: color-mix(in srgb, var(--bz-primary) 40%, var(--bz-border)); }
.feature__icon { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 1rem; color: var(--fc, var(--bz-primary)); background: color-mix(in srgb, var(--fc, var(--bz-primary)) 14%, transparent); }
.feature h3 { margin: 0 0 .5rem; font-size: 1.12rem; }
.feature p { margin: 0; color: var(--bz-text-muted); line-height: 1.8; }

/* TESTIMONIALS (Swiper) */
.testi { padding-bottom: 3rem !important; }
.testi__card { background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg); padding: 1.5rem; height: 100%; box-shadow: var(--bz-shadow); }
.testi__stars { color: var(--amber-500); letter-spacing: 2px; margin-bottom: .6rem; }
.testi__card p { line-height: 1.9; color: var(--bz-text); margin: 0 0 1.2rem; }
.testi__who { display: flex; align-items: center; gap: .7rem; }
.testi__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--bz-primary); color: var(--bz-on-primary); display: grid; place-items: center; font-weight: 800; }
.testi__who span { display: block; font-size: 12px; color: var(--bz-text-muted); }
.testi .swiper-pagination-bullet-active { background: var(--bz-primary); }

/* CTA BAND */
.cta-band { padding: 1.5rem; }
.cta-band__inner { max-width: 900px; margin: 0 auto; text-align: center; padding: 3rem 2rem; border-radius: var(--bz-radius-lg); color: var(--white); background: linear-gradient(135deg, var(--bz-primary), color-mix(in srgb, var(--bz-primary) 45%, var(--bz-info))); box-shadow: var(--bz-shadow-lg); }
.cta-band__inner h2 { font-size: 1.8rem; margin: 0 0 .5rem; }
.cta-band__inner p { opacity: .9; margin: 0 0 1.5rem; }

@media (max-width: 880px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__art { height: 300px; margin-top: 1rem; }
}

/* ============ special capabilities (clickable -> demo) ============ */
.sec__lead { max-width: 70ch; margin: .5rem auto 0; line-height: 2; color: var(--bz-text-muted); }
.caps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem; }
.cap { text-align: start; cursor: pointer; font-family: inherit; background: var(--bz-surface);
       border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg); padding: 1.5rem;
       transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden; }
.cap::after { content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 120px; height: 120px;
              background: var(--cc); opacity: .08; border-radius: 50%; transition: transform .3s; }
.cap:hover { transform: translateY(-5px); box-shadow: var(--bz-shadow-lg); border-color: color-mix(in srgb, var(--cc) 45%, var(--bz-border)); }
.cap:hover::after { transform: scale(1.6); }
.cap__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem;
             color: var(--cc); background: color-mix(in srgb, var(--cc) 14%, transparent); margin-bottom: 1rem; }
.cap h3 { margin: 0 0 .5rem; font-size: 1.12rem; }
.cap p { margin: 0 0 1rem; color: var(--bz-text-muted); line-height: 1.9; }
.cap__go { color: var(--cc); font-weight: 700; font-size: 13px; }
.cap__go i { transition: transform .2s; }
.cap:hover .cap__go i { transform: translateX(-4px); }

/* ============ clients ============ */
.clients { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.client { display: flex; align-items: center; gap: .6rem; justify-content: center; padding: 1.1rem; background: var(--bz-surface);
          border: 1px solid var(--bz-border); border-radius: var(--bz-radius); font-weight: 700; color: var(--bz-text-muted);
          transition: color .2s, border-color .2s, transform .2s; }
.client i { font-size: 1.3rem; color: var(--bz-primary); }
.client:hover { color: var(--bz-text); transform: translateY(-3px); border-color: color-mix(in srgb, var(--bz-primary) 35%, var(--bz-border)); }

/* ============ team ============ */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.team__card { text-align: center; background: var(--bz-surface); border: 1px solid var(--bz-border);
              border-radius: var(--bz-radius-lg); padding: 1.75rem 1.25rem; transition: transform .2s, box-shadow .2s; }
.team__card:hover { transform: translateY(-5px); box-shadow: var(--bz-shadow-lg); }
.team__avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto .9rem; display: grid; place-items: center;
                font-size: 2rem; font-weight: 800; color: var(--white); background: var(--ac, var(--bz-primary));
                box-shadow: 0 8px 20px -6px var(--ac, var(--bz-primary)); }
.team__card h3 { margin: 0; font-size: 1.05rem; }
.team__card > span { color: var(--bz-text-muted); font-size: 13px; }
.team__social { display: flex; gap: .6rem; justify-content: center; margin-top: .9rem; }
.team__social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--bz-text-muted);
                  background: var(--bz-surface-muted); transition: background .2s, color .2s; }
.team__social a:hover { background: var(--bz-primary); color: var(--bz-on-primary); }

/* ============ donate ============ */
.donate { display: grid; grid-template-columns: 140px 1fr; gap: 1.5rem; align-items: center; background: var(--bz-surface);
          border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg); padding: 2rem; box-shadow: var(--bz-shadow); }
.donate__art { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; font-size: 3rem; color: var(--white);
               background: linear-gradient(135deg, var(--bz-danger), var(--rose-400)); box-shadow: 0 10px 26px -8px var(--bz-danger); }
.donate__body h2 { margin: 0 0 .4rem; }
.donate__body > p { color: var(--bz-text-muted); margin: 0 0 1rem; line-height: 1.9; }
.donate__amounts { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .9rem; }
.donate__chip { cursor: pointer; font-family: inherit; font-weight: 700; font-size: 13px; padding: .45rem .9rem; border-radius: 999px;
                border: 1px solid var(--bz-border); background: var(--bz-surface); color: var(--bz-text); transition: all .15s; }
.donate__chip:hover { border-color: var(--bz-danger); color: var(--bz-danger); }
.donate__chip.is-active { background: var(--bz-danger); border-color: var(--bz-danger); color: var(--white); }
.donate__row { display: flex; gap: .75rem; align-items: flex-start; flex-wrap: wrap; }
.donate__row > :first-child { flex: 1 1 220px; }
@media (max-width: 720px) { .donate { grid-template-columns: 1fr; text-align: center; } .donate__art { margin: 0 auto; } }

/* ============ payment + result pages ============ */
.pay, .result { min-height: 70vh; display: grid; place-items: center; padding: 2.5rem 1.5rem; }
.pay__card { width: 100%; max-width: 460px; background: var(--bz-surface); border: 1px solid var(--bz-border);
             border-radius: var(--bz-radius-lg); box-shadow: var(--bz-shadow-lg); padding: 2rem; }
.pay__head { text-align: center; margin-bottom: 1.5rem; }
.pay__logo { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto .8rem; display: grid; place-items: center; font-size: 1.6rem;
             color: var(--white); background: linear-gradient(135deg, var(--bz-danger), var(--rose-400)); }
.pay__head h1 { font-size: 1.4rem; margin: 0 0 .3rem; }
.pay__head p { color: var(--bz-text-muted); margin: 0; }
.pay__rows { border: 1px solid var(--bz-border); border-radius: var(--bz-radius); padding: .5rem 1rem; margin-bottom: 1.25rem; }
.pay__row { display: flex; justify-content: space-between; padding: .6rem 0; color: var(--bz-text-muted); }
.pay__row strong { color: var(--bz-text); }
.pay__row--total { border-top: 1px dashed var(--bz-border); margin-top: .2rem; }
.pay__row--total strong { color: var(--bz-primary); font-size: 1.1rem; }
.pay__gateways > span { font-size: 13px; color: var(--bz-text-muted); }
.pay__gw-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: .6rem 0 1.25rem; }
.pay__gw { cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; padding: .5rem .85rem; border-radius: var(--bz-radius);
           border: 1px solid var(--bz-border); background: var(--bz-surface); color: var(--bz-text); display: inline-flex; gap: .4rem; align-items: center; }
.pay__gw.is-active { border-color: var(--bz-primary); color: var(--bz-primary); background: color-mix(in srgb, var(--bz-primary) 8%, transparent); }
.pay__actions { display: flex; flex-direction: column; gap: .5rem; }
.pay__secure { text-align: center; font-size: 12px; color: var(--bz-text-muted); margin: 1rem 0 0; }
.pay__redirect { text-align: center; padding: 2rem 0; }
.pay__redirect h2 { font-size: 1.2rem; margin: 1.2rem 0 .3rem; }
.pay__redirect p { color: var(--bz-text-muted); margin: 0; }

.result__card { width: 100%; max-width: 440px; text-align: center; background: var(--bz-surface); border: 1px solid var(--bz-border);
                border-radius: var(--bz-radius-lg); box-shadow: var(--bz-shadow-lg); padding: 2.5rem 2rem; }
.result__icon { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 1.25rem; display: grid; place-items: center; font-size: 2.4rem; color: var(--white); animation: pop .4s ease; }
.result__icon--ok { background: linear-gradient(135deg, var(--bz-success), var(--green-400)); box-shadow: 0 12px 30px -8px var(--bz-success); }
.result__icon--fail { background: linear-gradient(135deg, var(--bz-danger), var(--rose-400)); box-shadow: 0 12px 30px -8px var(--bz-danger); }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
.result__card h1 { font-size: 1.5rem; margin: 0 0 .5rem; }
.result__card > p { color: var(--bz-text-muted); line-height: 1.9; margin: 0 0 1.5rem; }
.result__box { text-align: start; border: 1px solid var(--bz-border); border-radius: var(--bz-radius); padding: .4rem 1rem; margin-bottom: 1.5rem; }
.result__row { display: flex; justify-content: space-between; padding: .55rem 0; color: var(--bz-text-muted); }
.result__row strong { color: var(--bz-text); }
.result__row strong.ok { color: var(--bz-success); }
.result__row strong.fail { color: var(--bz-danger); }
.result__actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }

/* ============ shared page hero (inner pages) ============ */
.page-hero { position: relative; padding: 3.5rem 1.5rem; text-align: center; overflow: hidden; }
.page-hero--sm { padding: 2.5rem 1.5rem; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(60% 120% at 50% -10%, color-mix(in srgb, var(--bz-primary) 18%, transparent), transparent 70%); }
.page-hero__inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: .4rem 0 .8rem; font-weight: 800; }
.page-hero p { color: var(--bz-text-muted); line-height: 1.9; margin: 0; }

/* ============ products ============ */
.prod-cat { margin-bottom: 2.5rem; }
.prod-cat__head { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.prod-cat__head i { font-size: 1.3rem; }
.prod-cat__head h2 { margin: 0; font-size: 1.25rem; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .85rem; }
.prod { display: flex; align-items: center; gap: .85rem; text-align: start; cursor: pointer; font-family: inherit;
        background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius); padding: 1rem;
        transition: transform .18s, box-shadow .18s, border-color .18s; }
.prod:hover { transform: translateY(-3px); box-shadow: var(--bz-shadow); border-color: color-mix(in srgb, var(--pc) 45%, var(--bz-border)); }
.prod__icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; display: grid; place-items: center;
              color: var(--pc); background: color-mix(in srgb, var(--pc) 14%, transparent); font-size: 1.1rem; }
.prod__body { flex: 1 1 auto; display: flex; flex-direction: column; }
.prod__body strong { font-size: 14px; }
.prod__body span { font-size: 12px; color: var(--bz-text-muted); }
.prod__go { color: var(--bz-text-muted); transition: transform .2s, color .2s; }
.prod:hover .prod__go { color: var(--pc); transform: translateX(-4px); }

/* ============ pricing plans ============ */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan { position: relative; background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg);
        padding: 2rem 1.6rem; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--bz-shadow-lg); }
.plan--popular { border-color: var(--bz-primary); box-shadow: 0 16px 40px -16px color-mix(in srgb, var(--bz-primary) 60%, transparent); }
.plan__badge { position: absolute; top: -12px; inset-inline-start: 50%; transform: translateX(50%);
               background: var(--bz-primary); color: var(--bz-on-primary); font-size: 12px; font-weight: 700; padding: .25rem .9rem; border-radius: 999px; }
.plan h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.plan__price { margin-bottom: .4rem; }
.plan__amt { font-size: 2rem; font-weight: 800; color: var(--bz-text); }
.plan__per { color: var(--bz-text-muted); font-size: 13px; }
.plan__desc { color: var(--bz-text-muted); font-size: 13.5px; margin: 0 0 1.25rem; }
.plan__features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1 1 auto; }
.plan__features li { display: flex; align-items: center; gap: .5rem; font-size: 13.5px; }
.plan__features i { color: var(--bz-success); }

/* ============ about ============ */
.about-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.about-stat { text-align: center; padding: 1.5rem; background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg); }
.about-stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--bz-primary); }
.about-stat span { color: var(--bz-text-muted); font-size: 13px; }
.about-mission { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; max-width: 1140px; margin: 0 auto; }
.about-values { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-direction: column; gap: .6rem; }
.about-values li { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.about-values i { color: var(--bz-primary); width: 22px; text-align: center; }
.about-card-art { background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg); padding: 1.5rem; box-shadow: var(--bz-shadow); }
@media (max-width: 820px) { .about-mission { grid-template-columns: 1fr; } }

/* ============ contact ============ */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.contact__info { background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg); padding: 1.75rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contact__item { display: flex; align-items: center; gap: .85rem; }
.contact__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--cc); background: color-mix(in srgb, var(--cc) 14%, transparent); font-size: 1.1rem; }
.contact__item strong { display: block; font-size: 14px; }
.contact__item span { font-size: 13px; color: var(--bz-text-muted); }
.contact__social { display: flex; gap: .6rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--bz-border); }
.contact__social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--bz-text-muted); background: var(--bz-surface-muted); transition: all .2s; }
.contact__social a:hover { background: var(--bz-primary); color: var(--bz-on-primary); transform: translateY(-3px); }
.contact__form { background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg); padding: 1.75rem; box-shadow: var(--bz-shadow); }
.contact__form h2 { margin: 0 0 1.25rem; font-size: 1.2rem; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mkt-textarea { width: 100%; font-family: inherit; font-size: 14px; padding: .65rem .9rem; border-radius: var(--bz-radius); border: 1px solid var(--bz-border); background: var(--bz-surface); color: var(--bz-text); resize: vertical; }
.mkt-textarea:focus { outline: none; border-color: var(--bz-primary); box-shadow: 0 0 0 3px var(--bz-focus-ring, rgba(47,111,237,.25)); }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } .contact__grid { grid-template-columns: 1fr; } }

/* ============================================================
   Rich site footer
   ============================================================ */
.site-footer { background: var(--slate-900); color: var(--slate-300); margin-top: 3rem; }
.site-footer__top { max-width: 1140px; margin: 0 auto; padding: 3rem 1.5rem 2rem;
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; gap: 2rem; }
.site-footer__logo { font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: .8rem; }
.site-footer__logo i { color: var(--bz-primary); }
.site-footer__brand p { color: var(--slate-400); line-height: 1.9; font-size: 13.5px; margin: 0 0 1rem; max-width: 36ch; }
.site-footer__social { display: flex; gap: .5rem; }
.site-footer__social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255,255,255,.06); color: var(--slate-300); transition: all .2s; }
.site-footer__social a:hover { background: var(--bz-primary); color: var(--white); transform: translateY(-3px); }
.site-footer__col h4, .site-footer__news h4 { color: var(--white); font-size: 14px; margin: 0 0 1rem; }
.site-footer__col a { display: block; color: var(--slate-400); text-decoration: none; font-size: 13.5px; padding: .35rem 0; transition: color .15s; }
.site-footer__col a:hover { color: var(--white); }
.site-footer__news p { color: var(--slate-400); font-size: 13px; margin: 0 0 .75rem; }
.site-footer__news-row { display: flex; gap: .5rem; align-items: flex-start; }
.site-footer__news-row > :first-child { flex: 1 1 auto; }
.site-footer__thanks { color: var(--green-500); font-weight: 600; font-size: 13.5px; padding: .5rem 0; }
.site-footer__contact { display: flex; flex-direction: column; gap: .4rem; margin-top: 1rem; font-size: 12.5px; color: var(--slate-400); }
.site-footer__contact i { width: 18px; color: var(--bz-primary); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.site-footer__bottom { max-width: 1140px; margin: 0 auto; padding: 1.1rem 1.5rem; display: flex; justify-content: space-between;
    flex-wrap: wrap; gap: .5rem; font-size: 12.5px; color: var(--slate-400); }
.site-footer__made i { color: var(--red-500); }
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__top { grid-template-columns: 1fr; } }

/* ============================================================
   Admin panel
   ============================================================ */
.admin { display: flex; min-height: 100vh; }
.admin__brand { font-weight: 800; font-size: 1.05rem; color: var(--white); }
.admin__brand i { color: var(--bz-primary); }
.admin__user { color: inherit; font-size: 13px; }
.admin__main { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; background: var(--bz-background); }
.admin__top { display: flex; align-items: center; gap: .75rem; padding: .75rem 1.25rem; background: var(--bz-surface);
    border-bottom: 1px solid var(--bz-border); position: sticky; top: 0; z-index: 5; }
.admin__title { font-weight: 700; }
.admin__spacer { flex: 1 1 auto; }
.admin__content { padding: 1.75rem; max-width: 1100px; width: 100%; margin: 0 auto; }
.admin-actions { display: flex; gap: .6rem; margin-top: 1.5rem; }
.admin-check { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; font-size: 14px; }
.admin-check input { width: 18px; height: 18px; accent-color: var(--bz-primary); }
.admin-edit { border: 2px solid color-mix(in srgb, var(--bz-primary) 30%, var(--bz-border)); }

/* admin login + loading */
.admin-loading { min-height: 100vh; display: grid; place-items: center; }
.login { min-height: 70vh; display: grid; place-items: center; padding: 2.5rem 1.5rem; }
.login__card { width: 100%; max-width: 400px; background: var(--bz-surface); border: 1px solid var(--bz-border);
    border-radius: var(--bz-radius-lg); box-shadow: var(--bz-shadow-lg); padding: 2.25rem; text-align: center; }
.login__logo { width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 1rem; display: grid; place-items: center;
    font-size: 1.5rem; color: var(--white); background: linear-gradient(135deg, var(--bz-primary), color-mix(in srgb, var(--bz-primary) 45%, var(--bz-info))); }
.login__card h1 { font-size: 1.3rem; margin: 0 0 .3rem; }
.login__card > p { color: var(--bz-text-muted); margin: 0 0 1.25rem; }
.login__form { display: flex; flex-direction: column; gap: .9rem; text-align: start; }
.login__hint { margin: 1.1rem 0 0; font-size: 12px; color: var(--bz-text-muted); }
.login__hint code { background: var(--bz-surface-muted); padding: .1rem .4rem; border-radius: 4px; }

.demo-ctx-target { padding: 2rem; text-align: center; border: 2px dashed var(--bz-border); border-radius: var(--bz-radius); color: var(--bz-text-muted); user-select: none; }
.demo-slide { height: 200px; border-radius: var(--bz-radius); display: grid; place-items: center; color: var(--white); font-size: 1.4rem; font-weight: 700; }

.iz { display: inline-block; margin-top: .4rem; font-size: 12.5px; font-weight: 700; }
.iz.ok { color: var(--bz-success); }
.iz.bad { color: var(--bz-danger); }

.tb { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.tb .demo-section { margin: 0; }
@media (max-width: 900px) { .tb { grid-template-columns: 1fr; } }

.i18n-card { background: var(--bz-surface-muted); border-radius: var(--bz-radius); padding: 1rem 1.25rem; }
.i18n-card h3 { margin: 0 0 .4rem; }
.i18n-table { width: 100%; margin-top: 1.25rem; border-collapse: collapse; }
.i18n-table th, .i18n-table td { text-align: start; padding: .5rem .75rem; border-bottom: 1px solid var(--bz-border); font-size: 13.5px; }
.i18n-table th { color: var(--bz-text-muted); }
.pg-preview { padding: 2rem; border: 1px dashed var(--bz-border); border-radius: var(--bz-radius); display: grid; place-items: center; }

/* media manager */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.media-item { position: relative; border: 1px solid var(--bz-border); border-radius: var(--bz-radius); overflow: hidden; background: var(--bz-surface); }
.media-item__thumb { aspect-ratio: 4/3; display: grid; place-items: center; background: var(--bz-surface-muted); }
.media-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-item__thumb i { font-size: 2rem; color: var(--bz-text-muted); }
.media-item__meta { padding: .5rem .7rem; display: flex; flex-direction: column; gap: .2rem; }
.media-item__name { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-item__size { font-size: 11px; color: var(--bz-text-muted); }
.media-item__del { position: absolute; top: 6px; inset-inline-start: 6px; width: 30px; height: 30px; border: none; border-radius: 50%; background: rgba(0,0,0,.55); color: var(--white); cursor: pointer; opacity: 0; transition: opacity .15s; }
.media-item:hover .media-item__del { opacity: 1; }

/* blog list + post */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-card { display: flex; flex-direction: column; background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--bz-shadow-lg); }
.blog-card__cover { height: 180px; background-size: cover; background-position: center; background-color: var(--bz-surface-muted); }
.blog-card__body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.blog-card__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .6rem; }
.blog-card__tags span { font-size: 11px; background: color-mix(in srgb, var(--bz-primary) 12%, transparent); color: var(--bz-primary); padding: .1rem .5rem; border-radius: 999px; }
.blog-card h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.blog-card p { margin: 0 0 1rem; color: var(--bz-text-muted); font-size: 13.5px; line-height: 1.9; flex: 1 1 auto; }
.blog-card__meta { font-size: 12px; color: var(--bz-text-muted); }
.post__cover { height: 320px; background-size: cover; background-position: center; }
.post__wrap { max-width: 760px; margin: 0 auto; padding: 2rem 1.5rem; }
.post__back { color: var(--bz-text-muted); text-decoration: none; font-size: 13px; }
.post__back:hover { color: var(--bz-primary); }
.post__wrap h1 { margin: .75rem 0 .5rem; font-size: 1.9rem; }
.post__meta { color: var(--bz-text-muted); font-size: 13px; }
.post__tags { display: flex; gap: .4rem; margin: .75rem 0 1.5rem; }
.post__tags span { font-size: 12px; background: var(--bz-surface-muted); color: var(--bz-text-muted); padding: .15rem .6rem; border-radius: 999px; }
.post__body { line-height: 2.1; color: var(--bz-text); }
.post__body p { margin: 0 0 1rem; }

/* simulated gateway */
.sim-gw { max-width: 420px; }
.sim-gw__bank { text-align: center; font-weight: 800; color: var(--bz-primary); font-size: 1.1rem; margin-bottom: 1.25rem; }
.sim-gw__bank i { margin-inline-end: .4rem; }
.sim-gw__card-box { margin: 1rem 0; }
.sim-gw__hint { text-align: center; font-size: 12px; color: var(--bz-text-muted); margin: .5rem 0 1rem; }

/* admin layout full-height fix (sidebar must stretch to viewport) */
html, body { height: 100%; }
.admin { min-height: 100vh; align-items: stretch; }
.admin > .bz-sidebar { height: auto; align-self: stretch; }
.admin__main { min-height: 100vh; }

/* dynamic logo */
.mkt-brand__logo { height: 34px; max-width: 160px; object-fit: contain; display: block; }
.logo-edit { display: flex; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; }
.logo-edit__preview { width: 200px; height: 90px; border: 1px dashed var(--bz-border); border-radius: var(--bz-radius); display: grid; place-items: center; background: var(--bz-surface-muted); overflow: hidden; }
.logo-edit__preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-edit__placeholder { color: var(--bz-text-muted); font-size: 13px; }
.logo-edit__actions { flex: 1 1 260px; display: flex; flex-direction: column; gap: .6rem; }

/* feature locked hint */
.feature-locked { display: inline-flex; align-items: center; gap: .35rem; font-size: 12.5px; color: var(--bz-warning); background: color-mix(in srgb, var(--bz-warning) 14%, transparent); padding: .25rem .6rem; border-radius: 999px; }

/* grid events demo log */
.demo-eventlog { margin-top: .75rem; padding: .75rem 1rem; background: var(--bz-surface-muted); border: 1px solid var(--bz-border); border-radius: var(--bz-radius, 10px); }
.demo-eventlog ul { margin: .4rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .25rem; }
.demo-eventlog li { font-size: 12.5px; color: var(--bz-text-muted); }

/* ============================================================
   Customer account, cart & dashboard
   ============================================================ */

/* ---- auth (login / verify) ---- */
.auth { min-height: 70vh; display: grid; place-items: center; padding: 3rem 1rem; }
.auth__card { width: 100%; max-width: 420px; background: var(--bz-surface); border: 1px solid var(--bz-border);
    border-radius: var(--bz-radius-lg, 16px); box-shadow: var(--bz-shadow-lg, 0 16px 40px rgba(0,0,0,.12)); padding: 2rem; }
.auth__head { text-align: center; margin-bottom: 1.5rem; }
.auth__logo { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 18px; display: grid; place-items: center;
    background: color-mix(in srgb, var(--bz-primary) 14%, transparent); color: var(--bz-primary); font-size: 1.6rem; }
.auth__head h1 { font-size: 1.4rem; margin: 0 0 .4rem; color: var(--bz-text); }
.auth__head p { color: var(--bz-text-muted); font-size: .92rem; margin: 0; }
.auth__body { display: flex; flex-direction: column; gap: 1rem; }
.auth__otp { display: flex; justify-content: center; }
.auth__hint { text-align: center; font-size: .8rem; color: var(--bz-text-muted); margin: 0; }
.auth__hint a, .auth__link-btn { color: var(--bz-primary); cursor: pointer; background: none; border: none; font: inherit; }
.auth__resend { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--bz-text-muted); }

/* ---- cart ---- */
.cart { max-width: 980px; margin: 0 auto; }
.cart__grid { display: grid; grid-template-columns: 1fr 340px; gap: 1.5rem; align-items: start; }
.cart__items { display: flex; flex-direction: column; gap: 1rem; }
.cart__item { display: flex; align-items: center; gap: 1rem; background: var(--bz-surface); border: 1px solid var(--bz-border);
    border-radius: var(--bz-radius-lg, 14px); padding: 1rem 1.25rem; }
.cart__item-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: color-mix(in srgb, var(--bz-primary) 12%, transparent); color: var(--bz-primary); font-size: 1.2rem; }
.cart__item-info { flex: 1; display: flex; flex-direction: column; gap: .2rem; }
.cart__item-info strong { color: var(--bz-text); }
.cart__item-info span { font-size: .82rem; color: var(--bz-text-muted); }
.cart__item-price { font-weight: 700; color: var(--bz-text); }
.cart__remove { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--bz-border); background: var(--bz-surface);
    color: var(--bz-text-muted); cursor: pointer; transition: all var(--bz-transition-fast); }
.cart__remove:hover { color: var(--bz-danger); border-color: var(--bz-danger); }
.cart__summary { background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg, 14px);
    padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; position: sticky; top: 90px; }
.cart__summary h3 { margin: 0 0 .25rem; font-size: 1.05rem; color: var(--bz-text); }
.cart__row { display: flex; justify-content: space-between; font-size: .9rem; color: var(--bz-text-muted); }
.cart__row strong { color: var(--bz-text); }
.cart__row--total { border-top: 1px dashed var(--bz-border); padding-top: .75rem; margin-top: .25rem; font-size: 1.05rem; }
.cart__row--total strong { color: var(--bz-primary); }
.cart__secure { font-size: .78rem; color: var(--bz-text-muted); text-align: center; margin: .25rem 0 0; }

/* ---- dashboard layout ---- */
.dash { display: flex; min-height: 100vh; background: var(--bz-background); direction: rtl; }
.dash__side { width: 264px; flex-shrink: 0; background: var(--bz-surface); border-inline-start: 1px solid var(--bz-border);
    display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.dash__brand { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--bz-border); }
.dash__logo { font-weight: 800; font-size: 1.15rem; color: var(--bz-primary); text-decoration: none; display: flex; align-items: center; gap: .5rem; }
.dash__close { display: none; background: none; border: none; color: var(--bz-text-muted); font-size: 1.1rem; cursor: pointer; }
.dash__profile { display: flex; align-items: center; gap: .75rem; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--bz-border); }
.dash__avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; display: grid; place-items: center;
    background: color-mix(in srgb, var(--bz-primary) 16%, transparent); color: var(--bz-primary); font-weight: 700; }
.dash__avatar img { width: 100%; height: 100%; object-fit: cover; }
.dash__who { display: flex; flex-direction: column; gap: .15rem; overflow: hidden; }
.dash__who strong { color: var(--bz-text); font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash__who span { color: var(--bz-text-muted); font-size: .8rem; direction: ltr; text-align: right; }
.dash__nav { flex: 1; padding: .75rem; display: flex; flex-direction: column; gap: .25rem; overflow-y: auto; }
.dash__link { display: flex; align-items: center; gap: .7rem; padding: .7rem .85rem; border-radius: 11px; color: var(--bz-text);
    text-decoration: none; font-size: .92rem; transition: all var(--bz-transition-fast); }
.dash__link i { width: 20px; text-align: center; color: var(--bz-text-muted); }
.dash__link:hover { background: var(--bz-surface-muted); }
.dash__link.active { background: var(--bz-primary); color: var(--bz-on-primary, #fff); }
.dash__link.active i { color: var(--bz-on-primary, #fff); }
.dash__link--danger:hover { background: color-mix(in srgb, var(--bz-danger) 12%, transparent); color: var(--bz-danger); }
.dash__link--danger:hover i { color: var(--bz-danger); }
.dash__side-foot { padding: .75rem; border-top: 1px solid var(--bz-border); display: flex; flex-direction: column; gap: .25rem; }
.dash__main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.dash__topbar { display: flex; align-items: center; gap: 1rem; padding: .85rem 1.5rem; background: var(--bz-surface);
    border-bottom: 1px solid var(--bz-border); position: sticky; top: 0; z-index: 20; }
.dash__topbar-title { font-weight: 700; color: var(--bz-text); }
.dash__topbar-actions { margin-inline-start: auto; display: flex; gap: .5rem; }
.dash__icon-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--bz-border); background: var(--bz-surface);
    color: var(--bz-text-muted); cursor: pointer; display: grid; place-items: center; text-decoration: none; transition: all var(--bz-transition-fast); }
.dash__icon-btn:hover { color: var(--bz-primary); border-color: var(--bz-primary); }
.dash__burger { display: none; background: none; border: none; font-size: 1.2rem; color: var(--bz-text); cursor: pointer; }
.dash__content { padding: 1.75rem; flex: 1; }
.dash__overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 25; }
.dash__guard { min-height: 100vh; width: 100%; display: grid; place-items: center; gap: 1rem; color: var(--bz-text-muted); }

/* ---- dashboard pages ---- */
.dpage { max-width: 1100px; }
.dpage__head { margin-bottom: 1.5rem; }
.dpage__head--row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.dpage__head h1 { font-size: 1.5rem; margin: 0 0 .3rem; color: var(--bz-text); }
.dpage__head p { color: var(--bz-text-muted); margin: 0; font-size: .92rem; }
.dstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.dstat { display: flex; align-items: center; gap: .9rem; background: var(--bz-surface); border: 1px solid var(--bz-border);
    border-radius: var(--bz-radius-lg, 14px); padding: 1.1rem 1.25rem; }
.dstat__icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 1.15rem; }
.dstat--primary .dstat__icon { background: color-mix(in srgb, var(--bz-primary) 15%, transparent); color: var(--bz-primary); }
.dstat--success .dstat__icon { background: color-mix(in srgb, var(--bz-success) 15%, transparent); color: var(--bz-success); }
.dstat--info .dstat__icon { background: color-mix(in srgb, var(--bz-info) 15%, transparent); color: var(--bz-info); }
.dstat--warning .dstat__icon { background: color-mix(in srgb, var(--bz-warning) 18%, transparent); color: var(--bz-warning); }
.dstat__info { display: flex; flex-direction: column; }
.dstat__info span { font-size: .8rem; color: var(--bz-text-muted); }
.dstat__info strong { font-size: 1.3rem; color: var(--bz-text); }
.dstat__info small { font-size: .7rem; color: var(--bz-text-muted); font-weight: 400; }
.dgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.dcard { background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg, 14px); padding: 1.25rem; }
.dcard__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.dcard__head h3 { font-size: 1rem; margin: 0; color: var(--bz-text); display: flex; align-items: center; gap: .5rem; }
.dcard__head h3 i { color: var(--bz-primary); }
.dcard__head a { font-size: .82rem; color: var(--bz-primary); text-decoration: none; }
.dempty { color: var(--bz-text-muted); font-size: .9rem; text-align: center; padding: 1.5rem 0; }
.dlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.dlist li { display: flex; align-items: center; gap: .6rem; font-size: .88rem; color: var(--bz-text); }
.dlist li span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dlist li b { font-weight: 700; }
.dlist li em { font-style: normal; font-size: .78rem; color: var(--bz-text-muted); }
.dquick { display: flex; gap: .75rem; flex-wrap: wrap; }

/* badges */
.dbadge { padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.dbadge--open, .dbadge--pending { background: color-mix(in srgb, var(--bz-warning) 18%, transparent); color: var(--bz-warning); }
.dbadge--answered, .dbadge--approved, .dbadge--paid { background: color-mix(in srgb, var(--bz-success) 16%, transparent); color: var(--bz-success); }
.dbadge--closed, .dbadge--rejected, .dbadge--failed { background: color-mix(in srgb, var(--bz-danger) 14%, transparent); color: var(--bz-danger); }

/* profile */
.dprofile { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; align-items: start; }
.dprofile__avatar-col { display: flex; flex-direction: column; align-items: center; gap: .85rem; background: var(--bz-surface);
    border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg, 14px); padding: 1.5rem; }
.dprofile__avatar { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
    background: color-mix(in srgb, var(--bz-primary) 14%, transparent); color: var(--bz-primary); font-size: 2.4rem; }
.dprofile__avatar img { width: 100%; height: 100%; object-fit: cover; }
.dprofile__avatar-btn { cursor: pointer; font-size: .85rem; color: var(--bz-primary); display: inline-flex; align-items: center; gap: .4rem;
    border: 1px solid var(--bz-border); padding: .5rem .9rem; border-radius: 10px; transition: all var(--bz-transition-fast); }
.dprofile__avatar-btn:hover { border-color: var(--bz-primary); background: color-mix(in srgb, var(--bz-primary) 8%, transparent); }
.dprofile__uploading { font-size: .8rem; color: var(--bz-text-muted); }
.dprofile__form { background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg, 14px); padding: 1.5rem; }
.dform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.dform-full { grid-column: 1 / -1; }
.dprofile__actions { margin-top: 1.25rem; display: flex; justify-content: flex-end; }

/* comments list (dashboard) */
.dcomments { display: flex; flex-direction: column; gap: 1rem; }
.dcomment { background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg, 14px); padding: 1.1rem 1.25rem; }
.dcomment__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.dcomment__post { color: var(--bz-primary); text-decoration: none; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }
.dcomment__body { margin: 0 0 .5rem; color: var(--bz-text); line-height: 1.7; }
.dcomment__meta { font-size: .78rem; color: var(--bz-text-muted); }

/* tickets */
.dtickets { display: flex; flex-direction: column; gap: .75rem; }
.dticket { display: flex; align-items: center; gap: 1rem; width: 100%; text-align: right; background: var(--bz-surface);
    border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg, 14px); padding: 1rem 1.25rem; cursor: pointer; transition: all var(--bz-transition-fast); }
.dticket:hover { border-color: var(--bz-primary); box-shadow: var(--bz-shadow, 0 4px 14px rgba(0,0,0,.06)); }
.dticket__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.05rem;
    background: color-mix(in srgb, var(--bz-primary) 12%, transparent); color: var(--bz-primary); }
.dticket__icon--closed { background: color-mix(in srgb, var(--bz-danger) 12%, transparent); color: var(--bz-danger); }
.dticket__icon--answered { background: color-mix(in srgb, var(--bz-success) 12%, transparent); color: var(--bz-success); }
.dticket__info { flex: 1; display: flex; flex-direction: column; gap: .2rem; }
.dticket__info strong { color: var(--bz-text); }
.dticket__info span { font-size: .8rem; color: var(--bz-text-muted); }
.dticket__side { display: flex; align-items: center; gap: .75rem; color: var(--bz-text-muted); }
.dback { font-size: .82rem; color: var(--bz-primary); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .5rem; }

/* ticket chat */
.dchat { background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg, 14px); overflow: hidden; }
.dchat__thread { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; max-height: 480px; overflow-y: auto; }
.dmsg { display: flex; gap: .65rem; max-width: 80%; }
.dmsg--me { align-self: flex-start; }
.dmsg--support { align-self: flex-end; flex-direction: row-reverse; }
.dmsg__avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-size: .85rem;
    background: var(--bz-surface-muted); color: var(--bz-text-muted); }
.dmsg--support .dmsg__avatar { background: color-mix(in srgb, var(--bz-primary) 16%, transparent); color: var(--bz-primary); }
.dmsg__bubble { background: var(--bz-surface-muted); border-radius: 14px; padding: .7rem .95rem; }
.dmsg--support .dmsg__bubble { background: color-mix(in srgb, var(--bz-primary) 10%, transparent); }
.dmsg__who { font-size: .78rem; font-weight: 700; color: var(--bz-text-muted); margin-bottom: .25rem; }
.dmsg__bubble p { margin: 0; color: var(--bz-text); line-height: 1.7; }
.dmsg__time { font-size: .72rem; color: var(--bz-text-muted); display: block; margin-top: .35rem; }
.dchat__compose { display: flex; gap: .75rem; align-items: flex-end; padding: 1rem 1.25rem; border-top: 1px solid var(--bz-border); }
.dchat__compose > :first-child { flex: 1; }

/* blog post comments */
.post__comments { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--bz-border); }
.post__comments h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.2rem; color: var(--bz-text); margin: 0 0 1.25rem; }
.post__comments h3 i { color: var(--bz-primary); }
.post__no-comments { color: var(--bz-text-muted); font-size: .92rem; }
.post__comment-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.75rem; }
.post__comment { display: flex; gap: .85rem; }
.post__comment-avatar { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-weight: 700;
    background: color-mix(in srgb, var(--bz-primary) 14%, transparent); color: var(--bz-primary); }
.post__comment-body { flex: 1; background: var(--bz-surface-muted); border-radius: 12px; padding: .8rem 1rem; }
.post__comment-body strong { color: var(--bz-text); margin-inline-end: .5rem; }
.post__comment-time { font-size: .76rem; color: var(--bz-text-muted); }
.post__comment-body p { margin: .4rem 0 0; color: var(--bz-text); line-height: 1.7; }
.post__comment-form { display: flex; flex-direction: column; gap: .85rem; max-width: 640px; }

/* responsive dashboard */
@media (max-width: 980px) {
    .cart__grid { grid-template-columns: 1fr; }
    .dstats { grid-template-columns: 1fr 1fr; }
    .dgrid { grid-template-columns: 1fr; }
    .dprofile { grid-template-columns: 1fr; }
    .dform-grid { grid-template-columns: 1fr; }
    .dash__side { position: fixed; inset-inline-end: 0; top: 0; z-index: 30; transform: translateX(100%); transition: transform .25s; }
    .dash__side.is-open { transform: translateX(0); }
    .dash__close { display: block; }
    .dash__burger { display: block; }
    .dash__overlay { display: block; }
}
@media (max-width: 560px) {
    .dstats { grid-template-columns: 1fr; }
    .dash__content { padding: 1rem; }
}

/* ============================================================
   Admin: comments & tickets moderation
   ============================================================ */
.admin-filter { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.admin-filter__btn { padding: .45rem 1rem; border: 1px solid var(--bz-border); background: var(--bz-surface);
    color: var(--bz-text); border-radius: 999px; cursor: pointer; font: inherit; font-size: .85rem; transition: all var(--bz-transition-fast); }
.admin-filter__btn:hover { border-color: var(--bz-primary); color: var(--bz-primary); }
.admin-filter__btn.is-active { background: var(--bz-primary); color: var(--bz-on-primary, #fff); border-color: var(--bz-primary); }

.admin-comments { display: flex; flex-direction: column; gap: 1rem; }
.admin-comment { display: flex; gap: 1rem; justify-content: space-between; align-items: flex-start;
    background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg, 14px); padding: 1.1rem 1.25rem; }
.admin-comment__main { flex: 1; min-width: 0; }
.admin-comment__head { display: flex; align-items: center; gap: .65rem; margin-bottom: .5rem; flex-wrap: wrap; }
.admin-comment__head strong { color: var(--bz-text); }
.admin-comment__phone { font-size: .8rem; color: var(--bz-text-muted); direction: ltr; }
.admin-comment__body { margin: 0 0 .6rem; color: var(--bz-text); line-height: 1.7; }
.admin-comment__meta { display: flex; gap: 1rem; align-items: center; font-size: .8rem; color: var(--bz-text-muted); flex-wrap: wrap; }
.admin-comment__meta a { color: var(--bz-primary); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.admin-comment__actions { display: flex; flex-direction: column; gap: .5rem; flex-shrink: 0; }

.admin-tickets { display: grid; grid-template-columns: 320px 1fr; gap: 1.25rem; align-items: start; }
.admin-tickets__list { display: flex; flex-direction: column; gap: .6rem; max-height: 600px; overflow-y: auto; }
.admin-tk { width: 100%;font-family:inherit; text-align: right; background: var(--bz-surface); border: 1px solid var(--bz-border);
    border-radius: 12px; padding: .85rem 1rem; cursor: pointer; transition: all var(--bz-transition-fast); }
.admin-tk:hover { border-color: var(--bz-primary); }
.admin-tk.is-active { border-color: var(--bz-primary); box-shadow: inset 3px 0 0 var(--bz-primary); background: color-mix(in srgb, var(--bz-primary) 5%, transparent); }
.admin-tk__top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .4rem; }
.admin-tk__top strong { color: var(--bz-text); font-size: .9rem; }
.admin-tk__sub { display: flex; justify-content: space-between; font-size: .76rem; color: var(--bz-text-muted); }
.admin-tk__sub span { display: inline-flex; align-items: center; gap: .3rem; }
.admin-tickets__detail { background: var(--bz-surface); border: 1px solid var(--bz-border); border-radius: var(--bz-radius-lg, 14px); min-height: 400px; }
.admin-tk-empty { height: 400px; display: grid; place-content: center; justify-items: center; gap: .75rem; color: var(--bz-text-muted); }
.admin-tk-empty i { font-size: 2.5rem; opacity: .5; }
.admin-tk-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--bz-border); }
.admin-tk-head h3 { margin: 0 0 .25rem; font-size: 1.05rem; color: var(--bz-text); }
.admin-tk-head span { font-size: .8rem; color: var(--bz-text-muted); }

@media (max-width: 860px) {
    .admin-tickets { grid-template-columns: 1fr; }
    .admin-comment { flex-direction: column; }
    .admin-comment__actions { flex-direction: row; }
}

.dprofile__actions { display: flex; align-items: center; gap: 1rem; }
.dprofile__saved { color: var(--bz-success); font-size: .88rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }

h1:focus-within {
    outline:unset;
}