:root {
    color-scheme: dark;
    --bg: #080b12;
    --surface: rgba(18, 23, 35, .72);
    --surface-solid: #121723;
    --surface-2: #191f2e;
    --text: #f7f8fb;
    --muted: #aeb5c5;
    --subtle: #778096;
    --line: rgba(255, 255, 255, .09);
    --brand: #8b7cff;
    --brand-2: #5ce1e6;
    --accent: #d9b768;
    --success: #54d6a1;
    --danger: #ff758f;
    --warning: #f3bd63;
    --shadow-1: 0 12px 34px rgba(0, 0, 0, .24);
    --shadow-2: 0 24px 64px rgba(0, 0, 0, .38);
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --gutter: 16px;
    --nav-height: 76px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; min-height: 100dvh; overflow-x: hidden; background: radial-gradient(circle at 86% -8%, rgba(117, 92, 255, .16), transparent 30%), var(--bg); color: var(--text); font-family: Tahoma, Arial, system-ui, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, input, textarea, select { font: inherit; }
button { color: inherit; cursor: pointer; touch-action: manipulation; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; inset: 8px auto auto 8px; transform: translateY(-140%); z-index: 9999; padding: 10px 14px; color: #080b12; background: #fff; border-radius: 12px; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hidden { display: none !important; }

.ambient { position: fixed; pointer-events: none; border-radius: 50%; filter: blur(2px); opacity: .28; z-index: 0; }
.ambient-one { width: 280px; height: 280px; top: 18%; right: -210px; background: radial-gradient(circle, rgba(92, 225, 230, .24), transparent 70%); }
.ambient-two { width: 320px; height: 320px; bottom: 8%; left: -250px; background: radial-gradient(circle, rgba(139, 124, 255, .22), transparent 70%); }
.app-shell { position: relative; z-index: 1; width: min(100%, 680px); min-height: 100dvh; margin-inline: auto; padding: calc(82px + env(safe-area-inset-top)) var(--gutter) calc(var(--nav-height) + env(safe-area-inset-bottom) + 32px); }
#main-content { min-width: 0; }
/* Programmatic page focus must not draw the browser's default frame around main. */
#main-content:focus { outline: none; }
.topbar { position: fixed; top: 0; right: 50%; z-index: 60; transform: translateX(50%); width: min(100%, 680px); display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: calc(72px + env(safe-area-inset-top)); padding: max(10px, env(safe-area-inset-top)) var(--gutter) 10px; background: linear-gradient(180deg, rgba(8, 11, 18, .985) 78%, rgba(8, 11, 18, .88)); border-bottom: 1px solid rgba(255,255,255,.045); box-shadow: 0 8px 28px rgba(0,0,0,.12); backdrop-filter: blur(18px); }
.brand-mark, .avatar-button { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; border: 1px solid var(--line); }
.brand-mark { overflow: hidden; background: #07100d; box-shadow: 0 10px 28px rgba(0,0,0,.28), 0 0 0 1px rgba(37,217,149,.08); }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: cover; }
.avatar-button { justify-self: end; border: 1px solid rgba(217, 183, 104, .28); background: rgba(217, 183, 104, .11); color: #f4d995; font-weight: 800; transition: transform .18s var(--ease), background .18s ease; }
.avatar-button:active { transform: scale(.94); }
.topbar-title { min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.topbar-title strong { font-size: 15px; letter-spacing: .2px; }
.topbar-title span { color: var(--subtle); font-size: 11px; }
.topbar-actions { display: flex; align-items: center; gap: 7px; }
.notification-button { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 15px; color: #c8c2ff; background: rgba(139,124,255,.09); }
.notification-button svg { width: 20px; height: 20px; }
.notification-button:active { transform: scale(.94); }
.notification-badge { position: absolute; top: -5px; left: -5px; min-width: 20px; height: 20px; display: grid; place-items: center; padding-inline: 5px; border: 2px solid var(--bg); border-radius: 999px; color: #0b0e15; background: var(--danger); font-size: 8px; font-weight: 900; line-height: 1; white-space: nowrap; }

.page { display: none; padding-top: 8px; }
.page.active { display: block; animation: page-in .38s var(--ease) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.glass-panel, .glass-form { position: relative; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(28, 34, 49, .83), rgba(13, 17, 27, .7)); box-shadow: inset 0 1px rgba(255,255,255,.05), var(--shadow-1); backdrop-filter: blur(18px); }
.hero { min-height: 350px; padding: 25px 21px 22px; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 8% 18%, rgba(92,225,230,.12), transparent 29%), linear-gradient(135deg, rgba(139,124,255,.14), transparent 58%); z-index: -1; }
.hero::after { content: ""; position: absolute; inset: auto -12% -54% 30%; height: 82%; border-radius: 50%; background: rgba(139,124,255,.06); filter: blur(1px); z-index: -1; }
.hero-copy { position: relative; z-index: 2; width: min(78%, 410px); }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; background: rgba(139,124,255,.12); border: 1px solid rgba(139,124,255,.22); color: #c9c4ff; font-size: 11px; font-weight: 700; }
.eyebrow svg { width: 14px; height: 14px; }
.hero h1, .page-intro h1 { margin: 17px 0 10px; font-size: clamp(27px, 7.7vw, 39px); line-height: 1.5; letter-spacing: -.8px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: #c9bdff; text-shadow: 0 0 34px rgba(139,124,255,.46); }
.hero p, .page-intro p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.primary-cta, .light-cta { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 16px; font-weight: 800; transition: transform .16s var(--ease), filter .16s ease; }
.primary-cta { margin-top: 20px; padding: 0 17px; color: #0d1018; background: linear-gradient(135deg, #efe9ff, #bfb3ff); box-shadow: 0 10px 25px rgba(139,124,255,.24); }
.primary-cta svg, .light-cta svg { width: 18px; height: 18px; transform: rotate(180deg); }
.primary-cta:active, .light-cta:active { transform: scale(.96); filter: brightness(.92); }
.hero-visual { position: absolute; left: 12px; bottom: 22px; width: 112px; height: 132px; display: grid; place-items: center; pointer-events: none; }
.hero-glow { position: absolute; width: 96px; height: 96px; border-radius: 34px; background: radial-gradient(circle, rgba(92,225,230,.19), rgba(139,124,255,.08) 48%, transparent 72%); filter: blur(7px); animation: glow-breathe 3.6s ease-in-out infinite; }
.hero-shield { position: relative; width: 65px; height: 76px; display: grid; place-items: center; border-radius: 23px; color: #e7e3ff; background: linear-gradient(155deg, rgba(190,180,255,.24), rgba(92,225,230,.08)); border: 1px solid rgba(203,196,255,.28); box-shadow: inset 0 1px rgba(255,255,255,.18), 0 18px 45px rgba(91,76,190,.24); animation: shield-float 4s var(--ease) infinite; will-change: transform; }
.hero-shield svg { width: 33px; height: 33px; }
.hero-visual i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 12px var(--brand-2); animation: particle-drift 3.2s ease-in-out infinite; will-change: transform, opacity; }
.hero-visual i:nth-of-type(1) { top: 10px; right: 15px; }.hero-visual i:nth-of-type(2) { left: 8px; top: 57px; background: var(--accent); animation-delay: -.9s; }.hero-visual i:nth-of-type(3) { right: 6px; bottom: 15px; background: var(--brand); animation-delay: -1.7s; }
@keyframes shield-float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
@keyframes glow-breathe { 0%,100% { transform: scale(.92); opacity: .65; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes particle-drift { 0%,100% { transform: translateY(0) scale(.8); opacity: .45; } 50% { transform: translateY(-10px) scale(1.2); opacity: 1; } }

.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.mini-stat { min-width: 0; min-height: 86px; display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(18,23,35,.67); box-shadow: var(--shadow-1); }
.mini-stat > svg { flex: 0 0 auto; width: 38px; height: 38px; padding: 9px; color: var(--brand-2); border-radius: 13px; background: rgba(92,225,230,.09); }
.mini-stat div { min-width: 0; display: flex; flex-direction: column; }
.mini-stat strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.mini-stat span { color: var(--subtle); font-size: 11px; white-space: nowrap; }
.section-heading { margin: 30px 2px 14px; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.section-heading div { display: flex; flex-direction: column; }
.section-heading span, .page-intro > span { color: var(--brand-2); font-size: 11px; font-weight: 800; letter-spacing: .2px; }
.section-heading h2 { margin: 2px 0 0; font-size: 20px; }
.section-heading button { min-height: 44px; padding-inline: 10px; border: 0; background: transparent; color: #bdb5ff; font-size: 12px; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product-card { min-width: 0; min-height: 214px; display: flex; flex-direction: column; padding: 15px; border-radius: var(--radius-md); text-align: right; border: 1px solid var(--line); background: linear-gradient(155deg, rgba(25,31,46,.91), rgba(13,17,27,.9)); box-shadow: var(--shadow-1); transition: transform .18s var(--ease), border-color .18s ease, box-shadow .18s ease; animation: card-in .4s var(--ease) both; animation-delay: min(calc(var(--index) * 35ms), 280ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.product-card:active { transform: scale(.975); border-color: rgba(139,124,255,.42); }
.product-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #d4ceff; background: linear-gradient(145deg, rgba(139,124,255,.22), rgba(92,225,230,.08)); border: 1px solid rgba(139,124,255,.2); }
.product-icon svg { width: 21px; height: 21px; }
.product-card h3 { margin: 14px 0 5px; min-height: 47px; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.product-card p { margin: 0; min-height: 39px; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--subtle); font-size: 11px; line-height: 1.75; }
.product-bottom { margin-top: auto; padding-top: 13px; display: flex; align-items: end; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,.06); }
.product-price { min-width: 0; display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.product-price strong { color: #fff; font-size: 15px; white-space: nowrap; }
.product-price span { color: var(--subtle); font-size: 10px; }
.card-arrow { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; color: #d9d3ff; background: rgba(139,124,255,.13); }
.card-arrow svg { width: 17px; height: 17px; transform: rotate(180deg); }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quick-card { min-width: 0; min-height: 132px; padding: 15px; display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; align-items: center; gap: 4px 11px; text-align: right; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(18,23,35,.72); box-shadow: var(--shadow-1); transition: transform .16s var(--ease), border-color .16s ease; }
.quick-card:active { transform: scale(.97); border-color: rgba(92,225,230,.32); }
.quick-card > span { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: var(--brand-2); background: rgba(92,225,230,.08); }
.quick-card > span svg { width: 21px; height: 21px; }
.quick-card strong { align-self: end; font-size: 14px; }.quick-card small { align-self: start; color: var(--subtle); font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.page-intro { padding: 13px 3px 18px; }
.page-intro h1 { margin-block: 5px 3px; font-size: 29px; }
.page-intro-action { display: flex; align-items: end; justify-content: space-between; gap: 14px; }
.page-intro-action > div { min-width: 0; }
.primary-cta.compact { flex: 0 0 auto; min-height: 46px; margin: 0 0 4px; padding-inline: 13px; font-size: 11px; }
.primary-cta.compact svg { transform: none; }
.search-row { display: grid; grid-template-columns: 1fr 52px; gap: 10px; margin-bottom: 14px; }
.search-box { min-width: 0; min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 15px; border-radius: 17px; border: 1px solid var(--line); background: rgba(18,23,35,.72); }
.search-box svg { width: 20px; height: 20px; color: var(--subtle); }
.search-box input { width: 100%; min-width: 0; height: 48px; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 14px; }
.search-box input::placeholder { color: #6f778a; }
.filter-button { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 17px; border: 1px solid rgba(139,124,255,.25); background: rgba(139,124,255,.12); color: #c7c0ff; }
.filter-button:active { transform: scale(.94); }
.chip-row { display: flex; gap: 8px; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 8px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; min-height: 44px; padding: 0 15px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); background: rgba(18,23,35,.62); font-size: 12px; white-space: nowrap; transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s var(--ease); }
.chip:active { transform: scale(.96); }.chip.active { color: #0d1018; background: #ded8ff; border-color: #ded8ff; font-weight: 800; }
.subchips { padding-top: 0; }.subchips .chip { min-height: 44px; border-radius: 12px; color: var(--subtle); }.subchips .chip.active { color: #e8e5ff; background: rgba(139,124,255,.17); border-color: rgba(139,124,255,.3); }
.results-meta { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--subtle); font-size: 10px; }
.empty-state { margin: 34px 0; padding: 28px 18px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius-md); }.empty-state svg { width: 38px; height: 38px; color: var(--subtle); }.empty-state h3 { margin: 12px 0 2px; }.empty-state p { margin: 0; color: var(--subtle); font-size: 12px; }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(18,23,35,.72); }
.segmented button { min-height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--subtle); font-size: 11px; }.segmented button.active { color: var(--text); background: rgba(139,124,255,.17); box-shadow: inset 0 0 0 1px rgba(139,124,255,.18); font-weight: 800; }
.stack-list { display: grid; gap: 10px; }
.notification-card, .ticket-card { width: 100%; min-width: 0; min-height: 92px; display: grid; text-align: right; border: 1px solid var(--line); border-radius: var(--radius-md); color: inherit; background: rgba(18,23,35,.72); box-shadow: var(--shadow-1); }
.notification-card { position: relative; grid-template-columns: 44px minmax(0,1fr) 8px; align-items: center; gap: 11px; padding: 13px; }
.notification-card.unread { border-color: rgba(139,124,255,.32); background: linear-gradient(145deg,rgba(139,124,255,.12),rgba(18,23,35,.82)); }
.notification-card > i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 10px rgba(92,225,230,.7); }
.notification-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: #cfc9ff; background: rgba(139,124,255,.11); }
.notification-icon svg { width: 20px; height: 20px; }
.notification-copy { min-width: 0; display: grid; gap: 2px; }
.notification-copy small { color: var(--subtle); font-size: 9px; }
.notification-copy strong { font-size: 12px; overflow-wrap: anywhere; }
.notification-copy > span { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--muted); font-size: 10px; line-height: 1.75; }
.ticket-card { padding: 15px; }
.ticket-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ticket-head > span:first-child { min-width: 0; display: grid; gap: 2px; }
.ticket-head strong { font-size: 13px; overflow-wrap: anywhere; }.ticket-head small { color: var(--subtle); font-size: 9px; }
.ticket-preview { margin-top: 10px; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--muted); font-size: 10px; line-height: 1.8; }
.ticket-meta { min-height: 30px; margin-top: 9px; display: flex; align-items: center; justify-content: flex-end; gap: 5px; border-top: 1px solid rgba(255,255,255,.055); color: #aaa1ff; font-size: 9px; }
.ticket-meta svg { width: 14px; height: 14px; transform: rotate(180deg); }
.ticket-thread { display: grid; gap: 10px; max-height: 48dvh; overflow-y: auto; padding: 4px 1px 10px; }
.ticket-message { width: min(88%,460px); padding: 11px 13px; border: 1px solid var(--line); border-radius: 17px; background: rgba(7,10,17,.4); }
.ticket-message.user { margin-right: auto; border-bottom-left-radius: 5px; background: rgba(139,124,255,.11); }
.ticket-message.admin { margin-left: auto; border-color: rgba(92,225,230,.2); border-bottom-right-radius: 5px; background: rgba(92,225,230,.065); }
.ticket-message > span { color: var(--brand-2); font-size: 9px; font-weight: 800; }.ticket-message p { margin: 4px 0; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 11px; line-height: 1.9; }.ticket-message small { color: var(--subtle); font-size: 8px; }
.ticket-reply { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); }
.form-status { min-height: 22px; margin: 0; color: var(--muted); font-size: 10px; text-align: center; }.form-status.success { color: var(--success); }.form-status.error { color: #ffc6d1; }
.order-card, .activity-card { min-width: 0; padding: 15px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(18,23,35,.72); box-shadow: var(--shadow-1); animation: card-in .35s var(--ease) both; }
.order-card.expanded { border-color: rgba(139,124,255,.25); background: linear-gradient(150deg, rgba(26,31,47,.88), rgba(15,19,29,.82)); }
.order-toggle { width: 100%; padding: 0; border: 0; color: inherit; background: transparent; text-align: right; }
.order-head, .activity-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.order-head > span:first-child, .activity-card > div { min-width: 0; display: flex; flex-direction: column; }
.order-head strong, .activity-card strong { font-size: 13px; overflow-wrap: anywhere; }.order-head small, .activity-card small { color: var(--subtle); font-size: 10px; }
.status-pill { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; font-size: 9px; font-weight: 800; border: 1px solid currentColor; }.status-pending { color: var(--warning); background: rgba(243,189,99,.08); }.status-approved { color: #a8a0ff; background: rgba(139,124,255,.09); }.status-delivered { color: var(--success); background: rgba(84,214,161,.08); }.status-rejected { color: var(--danger); background: rgba(255,117,143,.08); }
.order-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.06); }.order-foot code { direction: ltr; color: var(--subtle); font-size: 10px; }.order-foot strong { font-size: 12px; font-variant-numeric: tabular-nums; }
.order-view-label { min-height: 34px; margin-top: 8px; display: flex; align-items: center; justify-content: flex-end; gap: 5px; color: #aaa1ff; font-size: 10px; }.order-view-label svg { width: 15px; height: 15px; transform: rotate(90deg); transition: transform .25s var(--ease); }.order-card.expanded .order-view-label svg { transform: rotate(-90deg); }
.order-details { margin-top: 4px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.06); animation: details-in .28s var(--ease) both; }.order-details[hidden] { display: none; }@keyframes details-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.order-meta { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-bottom: 10px; }.order-meta > span { min-width: 0; padding: 10px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: rgba(7,10,17,.25); }.order-meta small { color: var(--subtle); font-size: 8px; }.order-meta strong { font-size: 9px; font-weight: 700; overflow-wrap: anywhere; }
.inline-delivery { padding: 13px; border: 1px solid rgba(84,214,161,.2); border-radius: 15px; background: rgba(84,214,161,.06); }.inline-delivery > span { display: block; color: var(--success); font-size: 10px; }.inline-delivery code { display: block; max-height: 112px; margin-top: 6px; overflow: auto; color: #e9ecf4; font-size: 11px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; }.inline-delivery.compact { margin-top: 10px; }.delivery-note { margin: 10px 0 0; color: var(--muted); font-size: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.service-insights { margin-top: 10px; }.service-loading { min-height: 72px; display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--subtle); font-size: 10px; }.service-unavailable { padding: 13px; border: 1px dashed var(--line); border-radius: 14px; color: var(--subtle); font-size: 10px; text-align: center; }.service-unavailable button { min-height: 44px; margin: 9px auto 0; display: block; padding: 0 14px; border: 1px solid rgba(139,124,255,.22); border-radius: 12px; color: #d9d3ff; background: rgba(139,124,255,.1); font-size: 10px; }
.usage-card { display: grid; grid-template-columns: 110px minmax(0,1fr); align-items: center; gap: 13px; padding: 14px; border: 1px solid rgba(139,124,255,.2); border-radius: 17px; background: rgba(139,124,255,.055); }
.usage-ring { --usage: 0; width: 104px; height: 104px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--brand-2) calc(var(--usage) * 1%), rgba(255,255,255,.08) 0); position: relative; transform: rotate(-90deg); }.usage-ring::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #151a27; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }.usage-ring > div { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; transform: rotate(90deg); }.usage-ring strong { font-size: 19px; font-variant-numeric: tabular-nums; }.usage-ring span { color: var(--subtle); font-size: 8px; }
.usage-details { min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }.usage-details > span { min-width: 0; display: flex; flex-direction: column; }.usage-details small { color: var(--subtle); font-size: 8px; }.usage-details strong { font-size: 10px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }.usage-details em { grid-column: 1/-1; color: #b9b2ff; font-size: 9px; font-style: normal; }
.service-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 10px; }.service-actions button { min-height: 46px; border: 1px solid rgba(139,124,255,.25); border-radius: 13px; color: #d9d3ff; background: rgba(139,124,255,.1); font-size: 10px; font-weight: 800; }.service-actions button:last-child { border-color: rgba(92,225,230,.22); color: #c8f8fa; background: rgba(92,225,230,.07); }

.wallet-card { position: relative; min-height: 240px; padding: 23px; overflow: hidden; border-radius: var(--radius-lg); color: #12101b; background: linear-gradient(135deg, #d8d0ff 0%, #a99cff 54%, #80e1e4 120%); box-shadow: 0 28px 65px rgba(109,93,214,.26); }
.wallet-card::before, .wallet-card::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }.wallet-card::before { width: 210px; height: 210px; left: -90px; top: -120px; }.wallet-card::after { width: 155px; height: 155px; left: -64px; top: -91px; }
.wallet-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; }.wallet-top svg { width: 31px; height: 31px; padding: 6px; border-radius: 10px; background: rgba(18,16,27,.1); }
.wallet-card > strong { position: relative; z-index: 2; display: block; margin-top: 19px; font-size: clamp(31px, 9vw, 44px); line-height: 1.2; font-variant-numeric: tabular-nums; }.wallet-card > small { position: relative; z-index: 2; font-size: 11px; font-weight: 700; }
.light-cta { position: absolute; z-index: 2; right: 22px; bottom: 21px; padding: 0 16px; color: #fff; background: rgba(11,13,20,.86); }
.glass-form { padding: 17px; border-radius: var(--radius-md); }.glass-form > label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 800; }.glass-form > small { display: block; margin-top: 8px; color: var(--subtle); font-size: 10px; }
.inline-field { display: grid; grid-template-columns: 1fr 82px; gap: 8px; }.inline-field input, .form-field input, .form-field textarea { min-width: 0; min-height: 48px; width: 100%; padding: 0 13px; color: var(--text); border: 1px solid var(--line); border-radius: 14px; background: rgba(7,10,17,.55); outline: 0; }.inline-field button { border: 0; border-radius: 14px; color: #0d1018; background: #d7d0ff; font-size: 12px; font-weight: 800; }
.activity-card > span { flex: 0 0 auto; color: var(--success); font-size: 12px; font-variant-numeric: tabular-nums; }

.profile-card { padding: 27px 18px; text-align: center; border-radius: var(--radius-lg); }.profile-avatar { width: 78px; height: 78px; margin: 0 auto 15px; display: grid; place-items: center; border-radius: 27px; color: #1a1629; background: linear-gradient(135deg, #eeeaff, #aaa0ff); font-size: 30px; font-weight: 900; box-shadow: 0 13px 35px rgba(139,124,255,.22); }.profile-card h1 { margin: 0; color: var(--subtle); font-size: 11px; font-weight: 500; }.profile-card strong { display: block; margin-top: 3px; font-size: 20px; }.profile-card span { display: block; margin-top: 2px; direction: ltr; color: var(--subtle); font-size: 11px; }
.menu-list { display: grid; gap: 9px; margin-top: 16px; }.menu-list > button { min-height: 72px; display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; gap: 12px; padding: 12px; text-align: right; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(18,23,35,.72); transition: transform .16s var(--ease), border-color .16s ease; }.menu-list > button:active { transform: scale(.98); border-color: rgba(139,124,255,.35); }.menu-list > button > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: #c9c3ff; background: rgba(139,124,255,.1); }.menu-list > button > span svg { width: 21px; height: 21px; }.menu-list > button > div { min-width: 0; display: flex; flex-direction: column; }.menu-list strong { font-size: 13px; }.menu-list small { color: var(--subtle); font-size: 10px; }.menu-list > button > svg { width: 18px; height: 18px; transform: rotate(180deg); color: var(--subtle); }
.version-note { margin: 24px 0; text-align: center; color: #555e72; font-size: 10px; }.version-note span { direction: ltr; }

.web-account-panel { margin-top: 17px; }
.web-account-panel .section-heading { margin-top: 0; align-items: center; }
.web-account-panel .section-heading > small { color: var(--subtle); font-size: 11px; font-variant-numeric: tabular-nums; }
.linked-accounts { display: grid; gap: 9px; margin-bottom: 10px; }
.linked-account { min-height: 68px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 17px; color: var(--text); background: rgba(18,23,35,.72); text-align: right; }
.linked-account.active { border-color: rgba(92,225,230,.32); background: rgba(92,225,230,.065); box-shadow: inset 0 0 0 1px rgba(92,225,230,.07); }
.account-switch { min-width: 0; min-height: 58px; display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center; gap: 10px; padding: 5px; border: 0; border-radius: 13px; color: inherit; background: transparent; text-align: right; }
.account-switch:disabled { cursor: default; opacity: 1; }
.account-switch.is-loading { opacity: .55; }
.linked-account-avatar { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: #171322; background: linear-gradient(135deg,#e9e4ff,#998bff); font-size: 16px; font-weight: 900; }
.linked-account-copy { min-width: 0; display: grid; gap: 1px; }
.linked-account-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.linked-account-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--subtle); direction: ltr; text-align: right; font-size: 10px; }
.linked-account-state { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 13px; color: var(--subtle); background: rgba(255,255,255,.045); }
.linked-account-state svg { width: 19px; height: 19px; }
.linked-account.active .linked-account-state { color: var(--brand-2); background: rgba(92,225,230,.1); }
.account-remove { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; color: #ff9aae; background: rgba(255,117,143,.075); }
.account-remove svg { width: 18px; height: 18px; }
.account-action { width: 100%; min-height: 64px; margin-top: 9px; display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 17px; color: var(--text); background: rgba(18,23,35,.66); text-align: right; }
.account-action > svg { width: 20px; height: 20px; margin: auto; color: #c9c3ff; }
.account-action > span { min-width: 0; display: grid; }
.account-action strong { font-size: 12px; }.account-action small { color: var(--subtle); font-size: 10px; }
.account-action.danger { color: #ffd4dc; border-color: rgba(255,117,143,.18); background: rgba(255,117,143,.045); }
.account-action:disabled { opacity: .45; cursor: not-allowed; }

.install-screen { position: fixed; inset: 0; z-index: 1150; overflow-y: auto; padding: max(20px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom)); background: radial-gradient(circle at 82% -4%, rgba(37,217,149,.18), transparent 34%), radial-gradient(circle at 8% 92%, rgba(139,124,255,.12), transparent 32%), #080b12; }
.install-screen:not([hidden]) { display: grid; grid-template-columns: minmax(0,480px); align-items: start; justify-content: center; }
.install-card { width: 100%; margin-block: auto; padding: 27px 20px 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 30px; background: linear-gradient(155deg, rgba(22,30,28,.96), rgba(12,16,22,.97)); box-shadow: inset 0 1px rgba(255,255,255,.055), 0 28px 80px rgba(0,0,0,.42); }
.install-intro { text-align: center; }
.install-kicker { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 5px 11px; border: 1px solid rgba(37,217,149,.2); border-radius: 999px; color: #98efca; background: rgba(37,217,149,.075); font-size: 10px; font-weight: 800; animation: install-drop .5s var(--ease) both; }
.install-kicker svg { width: 15px; height: 15px; }
@keyframes install-drop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.install-logo { width: 92px; height: 92px; margin: 19px auto 14px; overflow: hidden; border-radius: 27px; box-shadow: 0 18px 44px rgba(0,0,0,.34), 0 0 32px rgba(37,217,149,.09); }
.install-logo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.install-intro h1 { margin: 0 auto 8px; max-width: 390px; font-size: clamp(23px, 6.8vw, 31px); line-height: 1.55; text-wrap: balance; }
.install-intro > p { margin: 0 auto; max-width: 400px; color: var(--muted); font-size: 12px; line-height: 1.95; }
.telegram-browser-notice { margin-top: 18px; padding: 14px; border: 1px solid rgba(243,189,99,.28); border-radius: 19px; color: #ffe6b1; background: rgba(243,189,99,.08); text-align: right; }
.telegram-browser-notice strong { display: block; font-size: 12px; }
.telegram-browser-notice p { margin: 5px 0 11px; color: var(--muted); font-size: 10px; line-height: 1.85; }
.telegram-browser-notice p b, .telegram-browser-notice small b { color: #ffe6b1; }
.browser-open-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.browser-open-actions a { min-height: 45px; display: flex; align-items: center; justify-content: center; padding: 0 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; color: #11131a; background: #ffe0a0; font-size: 10px; font-weight: 900; text-align: center; text-decoration: none; }
.browser-open-actions a[hidden] { display: none; }
.telegram-browser-notice small { display: block; margin-top: 10px; color: #bfae8a; font-size: 9px; line-height: 1.8; }
.install-guide { margin-top: 21px; padding: 15px; border: 1px solid rgba(255,255,255,.075); border-radius: 21px; background: rgba(5,10,12,.38); }
.install-guide h2 { margin: 0 2px 11px; color: #d8f8e9; font-size: 13px; }
.install-guide ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: install-step; }
.install-guide li { position: relative; counter-increment: install-step; min-height: 59px; display: grid; grid-template-columns: 42px minmax(0,1fr); align-items: center; gap: 11px; padding: 8px; border-radius: 15px; background: rgba(255,255,255,.035); }
.install-guide li:not(:last-child)::after { content: '↓'; position: absolute; right: 21px; bottom: -14px; z-index: 2; color: #25d995; font-size: 16px; font-weight: 900; line-height: 1; }
.install-guide li > span { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(37,217,149,.13); border-radius: 13px; color: #8ee9c1; background: rgba(37,217,149,.07); }
.install-guide li > span::after { content: counter(install-step); position: absolute; top: -5px; right: -5px; width: 17px; height: 17px; display: grid; place-items: center; border: 2px solid #111a18; border-radius: 50%; color: #07100d; background: #25d995; font-size: 8px; font-weight: 900; font-variant-numeric: tabular-nums; }
.install-guide li svg { width: 19px; height: 19px; }
.install-guide li div { min-width: 0; display: grid; gap: 1px; }
.install-guide li strong { font-size: 11px; }
.install-guide li small { color: var(--subtle); font-size: 10px; line-height: 1.7; }
.install-primary { width: 100%; min-height: 54px; margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 17px; color: #06110d; background: linear-gradient(135deg,#a8f2d2,#25d995); box-shadow: 0 12px 30px rgba(37,217,149,.18); font-size: 13px; font-weight: 900; transition: transform .16s var(--ease), filter .16s ease, opacity .16s ease; }
.install-primary svg { width: 20px; height: 20px; }
.install-primary:active { transform: scale(.97); filter: brightness(.92); }
.install-primary:disabled { cursor: wait; opacity: .62; }
.install-bot-link { min-height: 52px; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 1px solid rgba(92,225,230,.24); border-radius: 16px; color: #c8f8fa; background: rgba(92,225,230,.07); font-size: 11px; font-weight: 800; text-decoration: none; }
.install-bot-link svg:first-child { width: 19px; height: 19px; }
.install-bot-link svg:last-child { width: 16px; height: 16px; transform: rotate(180deg); }
.install-fallback { min-height: 44px; margin: 10px 1px 0; display: flex; align-items: flex-start; gap: 8px; padding: 10px; border-radius: 13px; color: var(--muted); background: rgba(255,255,255,.035); font-size: 10px; line-height: 1.8; }
.install-fallback svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px; }
.install-fallback b { color: #c8f5df; font-weight: 800; }
.install-ready { min-height: 68px; margin-top: 14px; display: grid; grid-template-columns: 43px minmax(0,1fr); align-items: center; gap: 11px; padding: 11px 12px; border: 1px solid rgba(37,217,149,.24); border-radius: 17px; color: #bff5dd; background: rgba(37,217,149,.075); text-align: right; }
.install-ready > svg { width: 43px; height: 43px; padding: 11px; border-radius: 14px; color: #07100d; background: #25d995; stroke-width: 2.4; }
.install-ready div { display: grid; gap: 2px; }.install-ready strong { font-size: 12px; }.install-ready span { color: #8fb9a7; font-size: 10px; }
.install-note { min-height: 44px; margin-top: 11px; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--subtle); font-size: 10px; text-align: center; }
.install-note svg { flex: 0 0 auto; width: 15px; height: 15px; color: #6dbb99; }

.auth-screen { position: fixed; inset: 0; z-index: 1100; overflow-y: auto; padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom)); background: radial-gradient(circle at 82% 2%, rgba(117,92,255,.2), transparent 34%), #080b12; }
.auth-screen:not([hidden]) { display: grid; place-items: center; }
.auth-card { width: min(100%, 480px); padding: 28px 22px; border-radius: 28px; text-align: center; }
.auth-mark { width: 72px; height: 72px; margin: 0 auto 17px; overflow: hidden; border-radius: 23px; box-shadow: 0 18px 42px rgba(0,0,0,.3), 0 0 28px rgba(37,217,149,.08); }
.auth-mark img { width: 100%; height: 100%; display: block; object-fit: cover; }
.auth-card h1 { margin: 14px 0 8px; font-size: clamp(24px,7vw,32px); line-height: 1.55; text-wrap: balance; }
.auth-card > p { margin: 0 auto 21px; max-width: 390px; color: var(--muted); font-size: 13px; line-height: 1.95; }
.auth-primary { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 0 16px; border: 0; border-radius: 17px; color: #11131c; background: linear-gradient(135deg,#e8e3ff,#a99eff); font-size: 13px; font-weight: 900; text-decoration: none; }
.auth-primary svg { width: 20px; height: 20px; }
.auth-token-form { text-align: right; }
.auth-token-input { direction: ltr; text-align: center; letter-spacing: .08em; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px !important; }
.auth-notice { min-height: 62px; display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid rgba(92,225,230,.2); border-radius: 16px; color: var(--muted); background: rgba(92,225,230,.055); font-size: 10px; line-height: 1.8; text-align: right; }
.auth-notice svg { width: 22px; height: 22px; margin: auto; color: var(--brand-2); }
.auth-primary:active, .account-action:active, .account-switch:active:not(:disabled), .account-remove:active { filter: brightness(.9); }
.auth-link-step { display: grid; gap: 11px; }
.auth-wait { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #cbc4ff; font-size: 11px; }
.auth-wait i { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 13px var(--brand-2); animation: auth-pulse 1.3s ease-in-out infinite; }
@keyframes auth-pulse { 50% { opacity: .35; transform: scale(.72); } }
.manual-command { width: 100%; min-height: 70px; display: grid; gap: 5px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 16px; color: var(--muted); background: rgba(7,10,17,.46); }
.manual-command span { font-size: 10px; }.manual-command code { direction: ltr; overflow-wrap: anywhere; color: #dcd7ff; font-size: 10px; user-select: all; }
.text-button { min-height: 44px; border: 0; color: #aaa1ff; background: transparent; font-size: 11px; }
.auth-privacy { display: block; margin-top: 18px; color: var(--subtle); font-size: 10px; line-height: 1.8; }

.bottom-nav { position: fixed; z-index: 50; right: 50%; bottom: max(10px, env(safe-area-inset-bottom)); transform: translateX(50%); width: min(calc(100% - 24px), 650px); height: var(--nav-height); display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); align-items: center; padding: 7px 6px; border: 1px solid rgba(255,255,255,.11); border-radius: 24px; background: rgba(15,19,29,.91); box-shadow: var(--shadow-2), inset 0 1px rgba(255,255,255,.06); backdrop-filter: blur(22px); }
.bottom-nav button { position: relative; min-width: 0; min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; border-radius: 17px; color: #70798d; background: transparent; transition: color .2s ease, background .2s ease, transform .16s var(--ease); }.bottom-nav button:active { transform: scale(.93); }.bottom-nav button.active { color: #ded9ff; background: rgba(139,124,255,.13); }.bottom-nav button.active::before { content: ""; position: absolute; top: 4px; width: 18px; height: 2px; border-radius: 2px; background: #b8adff; box-shadow: 0 0 11px #9586ff; }.bottom-nav svg { width: 21px; height: 21px; }.bottom-nav span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 9px; white-space: nowrap; }

.loading-screen { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #080b12; transition: opacity .35s ease, visibility .35s ease; }.loading-screen.done { opacity: 0; visibility: hidden; }.loader-mark { position: relative; width: 76px; height: 76px; display: grid; place-items: center; margin-bottom: 16px; }.loader-mark span { width: 54px; height: 54px; overflow: hidden; display: grid; place-items: center; border-radius: 18px; color: #f8fbfa; background: #07100d; font-size: 24px; font-weight: 900; box-shadow: 0 10px 28px rgba(0,0,0,.28); }.loader-mark span img { width: 100%; height: 100%; display: block; object-fit: cover; }.loader-mark i { position: absolute; inset: 0; border: 1px solid rgba(37,217,149,.42); border-top-color: transparent; border-radius: 50%; animation: spin 1.1s linear infinite; }.loading-screen strong { font-size: 18px; }.loading-screen small { margin-top: 4px; color: var(--subtle); font-size: 11px; }@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; z-index: 1200; right: 50%; bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 22px); transform: translate(50%, 18px); width: min(calc(100% - 32px), 480px); padding: 13px 15px; border: 1px solid var(--line); border-radius: 15px; color: var(--text); background: rgba(26,31,45,.96); box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; font-size: 12px; text-align: center; transition: opacity .2s ease, transform .25s var(--ease), visibility .2s; }.toast.show { opacity: 1; visibility: visible; transform: translate(50%,0); }.toast.error { border-color: rgba(255,117,143,.3); color: #ffd4dc; }
.sheet-backdrop { position: fixed; inset: 0; z-index: 99; background: rgba(1,3,7,.68); backdrop-filter: blur(8px); opacity: 0; transition: opacity .22s ease; }.sheet-backdrop.open { opacity: 1; }
.bottom-sheet { position: fixed; z-index: 100; right: 50%; bottom: 0; transform: translate(50%, 105%); width: min(100%, 680px); max-height: min(88dvh, 820px); overflow-y: auto; padding: 15px var(--gutter) calc(24px + env(safe-area-inset-bottom)); border: 1px solid rgba(255,255,255,.11); border-bottom: 0; border-radius: 28px 28px 0 0; background: #121722; box-shadow: 0 -28px 70px rgba(0,0,0,.45); transition: transform .33s var(--ease); }.bottom-sheet.open { transform: translate(50%,0); }.sheet-handle { width: 38px; height: 4px; margin: 0 auto 18px; border-radius: 4px; background: #3f4759; }.sheet-close { position: absolute; left: 15px; top: 17px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 14px; background: rgba(255,255,255,.06); color: var(--muted); }.sheet-close svg { width: 20px; height: 20px; }.sheet-title { margin: 0 0 4px; padding-left: 50px; font-size: 22px; line-height: 1.5; text-wrap: balance; }.sheet-subtitle { margin: 0 0 18px; color: var(--muted); font-size: 12px; }.detail-price { margin: 16px 0; padding: 14px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 16px; background: rgba(7,10,17,.4); }.detail-price span { color: var(--subtle); font-size: 11px; }.detail-price strong { font-size: 19px; font-variant-numeric: tabular-nums; }
.form-stack { display: grid; gap: 13px; }.form-field { display: grid; gap: 6px; }.form-field label { font-size: 11px; font-weight: 800; }.form-field small { color: var(--subtle); font-size: 9px; }.form-field textarea { min-height: 90px; padding-block: 11px; resize: vertical; }.checkout-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; margin-top: 17px; }.checkout-actions.one { grid-template-columns: 1fr; }.checkout-button { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 16px; font-size: 12px; font-weight: 800; }.checkout-button.wallet { border: 0; color: #13101c; background: linear-gradient(135deg,#e5e0ff,#afa4ff); }.checkout-button.card { border: 1px solid rgba(92,225,230,.24); color: #bff8fa; background: rgba(92,225,230,.08); }.checkout-button:disabled { opacity: .45; cursor: not-allowed; }.checkout-button:active:not(:disabled) { transform: scale(.97); }.button-spinner { width: 17px; height: 17px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.payment-box { margin: 12px 0; padding: 14px; border: 1px solid rgba(217,183,104,.22); border-radius: 16px; background: rgba(217,183,104,.06); }.payment-box span { color: #dbc99d; font-size: 10px; }.payment-box strong { display: block; margin-top: 4px; direction: ltr; text-align: right; font-size: 17px; letter-spacing: 1px; font-variant-numeric: tabular-nums; }.copy-button { min-height: 44px; margin-top: 9px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid rgba(217,183,104,.2); border-radius: 12px; color: #ecd9a8; background: rgba(217,183,104,.08); font-size: 10px; }.copy-button svg { width: 16px; height: 16px; }.file-drop { position: relative; min-height: 105px; display: grid; place-items: center; text-align: center; padding: 15px; border: 1px dashed rgba(139,124,255,.36); border-radius: 17px; background: rgba(139,124,255,.05); }.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }.file-drop svg { color: #c5bdff; }.file-drop strong { display: block; font-size: 11px; }.file-drop small { color: var(--subtle); font-size: 9px; }.sheet-richtext { color: var(--muted); white-space: pre-wrap; font-size: 13px; line-height: 2; }.sort-list { display: grid; gap: 8px; }.sort-list button { min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border: 1px solid var(--line); border-radius: 15px; background: rgba(7,10,17,.42); font-size: 12px; }.sort-list button.active { border-color: rgba(139,124,255,.35); color: #d6d0ff; background: rgba(139,124,255,.1); }.sort-list button svg { width: 18px; height: 18px; opacity: 0; }.sort-list button.active svg { opacity: 1; }
.upload-status { display: grid; gap: 7px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(7,10,17,.36); color: var(--subtle); font-size: 9px; }.upload-track { height: 5px; overflow: hidden; border-radius: 8px; background: rgba(255,255,255,.08); }.upload-track i { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: right center; border-radius: inherit; background: linear-gradient(90deg,var(--brand),var(--brand-2)); transition: transform .18s ease; }.upload-status.success { color: var(--success); border-color: rgba(84,214,161,.24); }.upload-status.error { color: #ffc6d1; border-color: rgba(255,117,143,.28); }.upload-status.error .upload-track i { background: var(--danger); }
.upload-status.processing { color: #c9c2ff; border-color: rgba(139,124,255,.3); }.upload-status.processing .upload-track i { transform: scaleX(1) !important; background: linear-gradient(90deg,var(--brand),var(--brand-2),var(--brand)); background-size: 200% 100%; animation: upload-processing 1.2s linear infinite; }@keyframes upload-processing { to { background-position: -200% 0; } }
.service-plan-list { display: grid; gap: 9px; margin: 14px 0; }.service-plan { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; text-align: right; border: 1px solid var(--line); border-radius: 16px; color: var(--text); background: rgba(7,10,17,.42); }.service-plan.active { border-color: rgba(139,124,255,.55); background: rgba(139,124,255,.11); box-shadow: inset 0 0 0 1px rgba(139,124,255,.12); }.service-plan span { min-width: 0; display: grid; gap: 3px; }.service-plan strong { font-size: 12px; }.service-plan small { color: var(--subtle); font-size: 9px; }.service-plan b { flex: 0 0 auto; color: #d8d2ff; font-size: 11px; font-variant-numeric: tabular-nums; }.operation-summary { min-height: 66px; margin: 14px 0 0; padding: 13px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid rgba(92,225,230,.2); border-radius: 16px; background: rgba(92,225,230,.055); }.operation-summary > div { display: grid; gap: 4px; }.operation-summary span { color: var(--subtle); font-size: 10px; }.operation-summary strong { font-size: 12px; }.operation-summary > b { color: #bff8fa; font-size: 17px; white-space: nowrap; }.operation-summary .operation-error { color: #ffc6d1; }
.rich-links { user-select: text; }.content-link { display: flex; align-items: center; gap: 7px; margin: 7px 0; padding: 9px; border: 1px solid rgba(92,225,230,.18); border-radius: 12px; background: rgba(92,225,230,.05); direction: ltr; }.content-link a, .content-link code { min-width: 0; flex: 1; color: #aaf3f5; font-size: 10px; overflow-wrap: anywhere; }.content-link button { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 11px; color: #bff8fa; background: rgba(92,225,230,.09); }.content-link svg { width: 17px; height: 17px; }.content-copy { margin-top: 15px; }

@media (max-width: 350px) { .hero-copy { width: 100%; }.hero-visual { opacity: .3; left: -22px; }.usage-card { grid-template-columns: 90px minmax(0,1fr); }.usage-ring { width: 86px; height: 86px; } }
@media (max-width: 390px) { .topbar-title span { display: none; }.page-intro-action { align-items: stretch; flex-direction: column; }.primary-cta.compact { align-self: flex-start; } }
@media (min-width: 540px) { :root { --gutter: 22px; }.product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }.hero-copy { width: 70%; }.hero-visual { left: 46px; width: 150px; height: 160px; }.hero-shield { width: 78px; height: 91px; }.quick-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }.quick-card { min-height: 138px; grid-template-columns: 1fr; grid-template-rows: 48px auto auto; text-align: center; }.quick-card > span { grid-row: auto; margin-inline: auto; }.quick-card strong, .quick-card small { align-self: auto; }.bottom-sheet { padding-inline: 24px; } }
@media (orientation: landscape) and (max-height: 540px) { .hero { min-height: 250px; }.hero h1 { font-size: 25px; }.bottom-sheet { max-height: 96dvh; } }
@media (orientation: landscape) and (max-height: 540px) { .install-card { margin-block: 4px; }.install-logo { width: 68px; height: 68px; margin-block: 10px; border-radius: 21px; }.install-intro h1 { font-size: 22px; }.install-guide ol { grid-template-columns: repeat(3,minmax(0,1fr)); }.install-guide li { min-height: 96px; grid-template-columns: 34px minmax(0,1fr); align-content: center; }.install-guide li > span { width: 34px; height: 34px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }
