/* Echo interface pass, informed by unslop by Damir Sokolovsky.
   https://github.com/heydamir/unslop (CC BY 4.0). See docs/miniapp-design.md. */
:root {
  --bg: #141719;
  --panel: #1c2023;
  --card: var(--panel);
  --panel2: #272d31;
  --line: #ffffff14;
  --text: #edf0f2;
  --muted: #a4adb4;
  --accent: #8bd5e5;
  --violet: var(--accent);
  --danger: #f3a8af;
  --radius: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  font-variant-numeric: tabular-nums;
}
.vpn-feed{padding:22px 0;border-bottom:1px solid var(--line)}.vpn-feed:last-child{border-bottom:0}.vpn-feed p{font-size:13px;margin:8px 0}.feed-meta{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12px;color:var(--muted)}.feed-badge{padding:3px 9px;border-radius:6px;background:var(--panel2);font-size:11px}.feed-badge.is-live{color:var(--accent)}.vpn-feed .actions{margin-top:14px}.vpn-feed .actions .btn{font-size:12px;padding:9px 12px;min-height:40px}.feed-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.feed-fields small{font-size:11px;line-height:1.5;color:var(--muted)}.feed-source{min-width:0;border:1px solid var(--line);border-radius:12px;margin:16px 0;padding:14px}.feed-source legend{padding:0 6px;font-weight:600;font-size:13px;overflow-wrap:anywhere}.feed-source .field{margin:0 0 10px}.feed-source select{max-width:100%;font-size:13px}.feed-profile-list{max-height:260px;overflow:auto;overscroll-behavior:contain}.feed-profile-list .checkline{align-items:flex-start;font-size:13px}.feed-profile-list span{overflow-wrap:anywhere;min-width:0}.feed-profile-list input{flex-shrink:0}.feed-device{display:grid;gap:7px;padding:16px 0;border-bottom:1px solid var(--line)}.feed-device small{color:var(--muted);overflow-wrap:anywhere}.feed-device .btn{justify-self:start}.feed-duration{margin-bottom:18px}.feed-duration .btn{font-size:12px;padding:7px 10px}.feed-error:empty{display:none}#feed-url{font-size:12px}#vpn-feed-form input[type=datetime-local]{min-width:0;max-width:100%}@media(max-width:550px){.feed-fields{grid-template-columns:1fr;gap:0}.vpn-feeds .vpn-source-heading{align-items:flex-start}.vpn-feed .actions{gap:8px}}
.fullscreen-toggle{display:flex;align-items:center;gap:6px;background:var(--panel2);border:1px solid var(--line);border-radius:9px;padding:7px 10px;font-size:12px;white-space:nowrap}.fullscreen-toggle>span:first-child{font-size:20px;line-height:1}.is-fullscreen{padding-top:calc(var(--tg-safe-area-inset-top,0px) + var(--tg-content-safe-area-inset-top,0px));padding-left:var(--tg-safe-area-inset-left,0px);padding-right:var(--tg-safe-area-inset-right,0px)}
@media(max-width:600px){.fullscreen-label{display:none}.fullscreen-toggle{padding:6px 8px}}
@media(min-width:1001px){.is-fullscreen .game-layout{grid-template-columns:minmax(0,clamp(280px,calc(100dvh - 420px),680px)) minmax(260px,360px);justify-content:center}.is-fullscreen .board-panel{max-width:clamp(280px,calc(100dvh - 420px),680px);width:100%}.is-fullscreen .game-details{max-height:calc(100dvh - 200px);overflow:auto}.is-fullscreen .top{margin-bottom:14px}.is-fullscreen .heading{margin-bottom:14px}.is-fullscreen .main{max-width:1600px;padding-bottom:24px}}
body { background: var(--bg); font-size: 15px; line-height: 1.5; }
.vpn-disclosure{border:1px solid var(--line);border-radius:12px;margin:12px 0;padding:0;min-width:0}.vpn-disclosure.card{padding:0}.vpn-disclosure>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;padding:20px}.vpn-disclosure>summary::-webkit-details-marker{display:none}.vpn-disclosure>summary b{display:block;font-size:16px;overflow-wrap:anywhere}.vpn-disclosure>summary small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.vpn-disclosure[open]>summary{border-bottom:1px solid var(--line)}.vpn-disclosure-body{padding:18px 20px}.vpn-chevron{font-size:22px;color:var(--muted);transition:transform .15s}.vpn-disclosure[open]>summary>.vpn-chevron{transform:rotate(180deg)}.vpn-disclosure.vpn-source,.vpn-disclosure.vpn-feed{padding:0}.vpn-disclosure .vpn-disclosure>summary{padding:15px}.vpn-disclosure .vpn-disclosure>summary b{font-size:14px}.vpn-usage-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.vpn-usage-grid>div{padding:14px;background:var(--panel2);border-radius:10px;min-width:0}.vpn-usage-grid small,.vpn-usage-grid strong{display:block;overflow-wrap:anywhere}.vpn-usage-grid small{color:var(--muted);font-size:12px}.vpn-usage-grid strong{font-size:19px;margin-top:6px}.vpn-usage-details{margin:20px 0;border-top:1px solid var(--line);padding-top:16px}.vpn-usage-details>summary{cursor:pointer;font-weight:600}.vpn-usage-table{max-height:320px;overflow:auto;margin-top:12px}.vpn-usage-table table{width:100%;border-collapse:collapse;font-size:12px}.vpn-usage-table td,.vpn-usage-table th{text-align:left;padding:10px 7px;border-bottom:1px solid var(--line)}.vpn-usage-table th{color:var(--muted)}.vpn-access-row{display:grid;gap:5px;padding:12px 0;border-bottom:1px solid var(--line)}.vpn-access-row small{color:var(--muted)}@media(max-width:550px){.vpn-disclosure>summary{padding:16px}.vpn-disclosure-body{padding:14px}.vpn-usage-grid{gap:8px}.vpn-usage-grid>div{padding:10px}.vpn-usage-grid strong{font-size:17px}.vpn-usage-table td,.vpn-usage-table th{padding:8px 5px}}
button, input, select, textarea { font: inherit; }
button { transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out; }
h1, h2, h3, b, strong { font-weight: 600; letter-spacing: 0; }
h1, .heading h1 { font-size: 28px; line-height: 1.25; font-weight: 500; }
h2 { font-size: 22px; }
h3 { font-size: 16px; }
small, .footnote { font-size: 12px; line-height: 1.5; }
.footnote { margin-top: 16px; }
.shell { grid-template-columns: 240px minmax(0, 1fr); }
.sidebar { padding: 32px 20px 24px; gap: 32px; background: #181c1f; }
.brand, .brand.compact { font-size: 22px; font-weight: 600; letter-spacing: 0; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.brand small, .sidebar .brand small { font-size: 12px; text-transform: none; letter-spacing: 0; }
.brand.compact img { width: 32px; height: 32px; border-radius: 8px; }
.nav { gap: 4px; }
.nav button { padding: 12px; gap: 12px; min-height: 44px; border-radius: 8px; }
.nav button.active { color: var(--accent); background: var(--panel2); }
.nav button:hover { background: var(--panel2); }
.main { max-width: 1440px; padding: 24px 40px 64px; }
.top { min-height: 40px; margin-bottom: 32px; letter-spacing: 0; }
.top-actions { gap: 8px; }
.profile-pill, .admin-entry { min-height: 40px; border-radius: 8px; background: transparent; color: var(--muted); }
.profile-pill .avatar { color: var(--text); background: var(--panel2); font-weight: 500; }
.admin-entry.selected { background: var(--panel2); color: var(--accent); }
.heading { margin-bottom: 24px; gap: 16px; align-items: flex-start; }
.heading p { margin-top: 8px; font-size: 14px; max-width: 64ch; }
.heading .actions { margin-top: 0; }
.heading .btn { flex-shrink: 0; }
.section { margin: 32px 0 16px; gap: 16px; }
.section h2, .section-line h2 { font-size: 18px; font-weight: 500; }
.grid, .stack { gap: 16px; }
.card { padding: 24px; border-color: var(--line); }
.btn { min-height: 44px; padding: 12px 16px; border-radius: 8px; box-shadow: none; font-weight: 600; color: #14272d; }
.btn.secondary { background: var(--panel2); border-color: var(--line); color: var(--text); }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: none; }
.btn.small { min-height: 40px; font-size: 13px; }
.btn.danger { background: #f3a8af14; color: var(--danger); }
.btn svg, .quick svg, .command-title svg, .tip-symbol svg { width: 20px; height: 20px; flex-shrink: 0; }
.tag, .tag.purple { padding: 4px 8px; border-radius: 4px; background: transparent; color: var(--muted); border-color: var(--line); font-size: 12px; letter-spacing: 0; }
.tag.green { color: #a3d8b5; background: #a3d8b50a; }
.eyebrow { text-transform: none; letter-spacing: 0; font-size: 12px; }
.dashboard-hero, .today-card, .hero, .premium-card, .official-premium, .onboarding { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: none; }
.dashboard-hero { padding: 24px; margin-bottom: 24px; border-left: 3px solid var(--accent); }
.dashboard-hero h2 { font-size: 24px; font-weight: 500; margin: 12px 0 8px; letter-spacing: 0; }
.dashboard-hero p { line-height: 1.5; max-width: 64ch; }
.dashboard-hero .btn { margin-top: 20px; }
.dashboard-hero small { margin-top: 12px; }
.overview-metrics { gap: 0; border-block: 1px solid var(--line); }
.overview-metrics button { background: transparent; border: 0; border-radius: 0; padding: 20px 24px; gap: 4px; }
.overview-metrics button:first-child { padding-left: 0; }
.overview-metrics button + button { border-left: 1px solid var(--line); }
.overview-metrics button:hover { background: var(--panel); }
.overview-metrics strong { font-size: 32px; font-weight: 500; }
.overview-metrics small { font-size: 13px; }
.overview-metrics .stat-icon { display: none; }
.quick-grid { gap: 12px; }
.quick.lavender, .quick.peach, .quick.mint { background: var(--panel) !important; color: var(--muted); }
.quick { padding: 20px; border: 1px solid var(--line); border-radius: 12px; gap: 8px; transition: background-color 150ms ease-out; }
.quick:hover, .feature:hover { transform: none; background: var(--panel2) !important; border-color: var(--line); }
.quick > span { margin: 0 0 4px; font-size: 20px; color: var(--accent); }
.quick b { font-size: 15px; }
.quick small { font-size: 13px; opacity: 1; }
.tip-card { background: var(--panel); padding: 20px; border-radius: 12px; gap: 16px; }
.tip-card > div { min-width: 0; }
.tip-card p { margin: 4px 0 0; font-size: 14px; }
.tip-symbol { display: flex; color: var(--accent); }
.tip-card > span:last-child { display: flex; }
.tip-card > span:last-child svg { width: 20px; height: 20px; }
.tabs { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 4px; gap: 4px; margin: 20px 0; }
.tabs button { min-height: 40px; padding: 8px 16px; border-radius: 6px; color: var(--muted); }
.tabs .active { background: var(--panel2); color: var(--accent); }
.command-search-wrap .search { margin: 0; }
.command-tabs { max-width: 100%; }
.command-shortcuts { margin: 16px 0; gap: 8px; }
.command-grid { gap: 16px; }
.command-grid .command { padding: 20px; gap: 12px; }
.command-title { gap: 12px; }
.command-title > span { display: flex; color: var(--muted); }
.command-title h3 { font-size: 16px; }
.command code { display: block; padding: 12px; background: #141719; border: 1px solid var(--line); border-radius: 8px; color: var(--accent); font-size: 13px; }
.command details { color: var(--muted); font-size: 14px; }
.command summary { cursor: pointer; min-height: 32px; padding: 4px 0; }
.command p { margin: 8px 0; font-size: 14px; }
.command-grid .command button { text-align: left; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.command button svg { width: 16px; height: 16px; }
.dialogs-list { background: var(--panel); border-color: var(--line); border-radius: 12px; }
.dialog-row { min-height: 80px; padding: 16px; gap: 16px; }
.dialog-row + .dialog-row { border-color: var(--line); }
.dialog-row:hover, .dialog-row:active { background: var(--panel2); }
.dialog-avatar { width: 48px; height: 48px; font-size: 18px; letter-spacing: 0; }
.avatar-color-0 { background: #586474; }
.avatar-color-1 { background: #906854; }
.avatar-color-2 { background: #427482; }
.avatar-color-3 { background: #4d7764; }
.avatar-color-4 { background: #806f4e; }
.avatar-color-5 { background: #596f92; }
.dialog-line { margin-bottom: 4px; }
.dialog-line b { font-size: 15px; font-weight: 600; }
.dialog-preview { font-size: 14px; color: var(--muted); }
.dialog-line time, .timeline-top time { font-size: 12px; color: var(--muted); }
.dialog-heading { margin-bottom: 16px; }
.dialog-heading h1 { font-size: 20px; font-weight: 600; }
.dialog-back, .dialog-rename { width: 40px; height: 44px; color: var(--muted); }
.timeline-day { margin: 24px 0 12px; padding: 0; }
.timeline-item { background: var(--panel); padding: 20px; gap: 16px; border-radius: 12px; border-color: var(--line); margin-bottom: 12px; }
.timeline-item:hover { border-color: #ffffff30; }
.timeline-top b { font-size: 15px; }
.event-kind { color: var(--accent); font-size: 12px; }
.event-kind.deleted { color: var(--danger); }
.event-before { color: var(--muted); border-left: 2px solid #705256; padding-left: 12px; text-decoration: none; }
.event-after { color: #b9dfcb; border-left: 2px solid #608773; padding-left: 12px; }
.event-version-label { font-weight: 500; font-size: 12px; margin-right: 8px; }
.timeline-detail { font-size: 12px; margin-top: 8px; }
.conversation-shell { border: 1px solid var(--line); border-radius: 16px; background: var(--bg); box-shadow: none; }
.conversation-toolbar, .conversation-footer { background: var(--panel); border-color: var(--line); color: var(--muted); padding: 12px 16px; }
.conversation-toolbar i { color: var(--accent); }
.conversation-scroll { background: #171b1e; padding: 16px 24px 24px; scrollbar-color: #4e5b63 transparent; }
.conversation-day { margin: 16px 0 24px; }
.conversation-day span { background: var(--panel2); color: var(--muted); font-size: 12px; font-weight: 400; padding: 4px 12px; }
.conversation-bubble { background: #272e33; border-color: #ffffff0a; box-shadow: none; padding: 12px 16px 8px; border-radius: 16px 16px 16px 4px; }
.outgoing .conversation-bubble { background: #263e44; border-color: #ffffff0a; border-radius: 16px 16px 4px 16px; }
.unknown .conversation-bubble { background: var(--panel2); border-radius: 12px; }
.conversation-bubble.was-deleted { border-color: #b17b82; }
.conversation-sender, .outgoing .conversation-sender { color: #b5d3dc; font-weight: 500; font-size: 12px; margin-bottom: 4px; }
.conversation-content { color: var(--text); }
.conversation-text { font-size: 15px; }
.conversation-meta, .conversation-media small, .conversation-footer { font-size: 12px; color: #b3bdc3; }
.conversation-unavailable { font-style: normal; color: var(--muted); }
.conversation-deleted { color: var(--danger); font-weight: 500; }
.conversation-versions { color: var(--accent); padding: 4px 0; }
.conversation-media-icon { background: #ffffff0b; color: var(--accent); }
.conversation-footer button { width: 40px; height: 40px; background: var(--panel2); border-color: var(--line); color: var(--text); }
.profile-avatar { background: #31454c; color: #d1e7ec; width: 64px; height: 64px; }
.profile-card { gap: 16px; margin-bottom: 24px; }
.profile-card h2 { overflow-wrap: anywhere; }
.profile-card p { margin: 4px 0 12px; }
.more-links { padding: 4px 24px; }
.more-links > button { min-height: 56px; padding: 16px 0; font-size: 15px; }
.promo-panel h2 { margin-top: 12px; font-size: 22px; }
.setting-link { padding: 20px; border-radius: 12px; gap: 16px; }
.row { gap: 16px; padding: 20px 0; }
.row p, .setting-link small { font-size: 13px; }
.stat-icon.lavender, .stat-icon.mint, .stat-icon.peach { background: var(--panel2) !important; color: var(--muted); border-radius: 8px; }
.stat-icon svg { width: 20px; height: 20px; }
.feature .icon svg { width: 20px; height: 20px; }
.metric-grid .stat-icon { display: none; }
.metric-grid .card { padding: 24px; }
.metric-grid .number { margin: 0 0 8px; }
.field { font-size: 14px; margin: 16px 0; }
input, textarea, select, .field select, .archive-search select { background: #141719; border: 1px solid #ffffff24; border-radius: 8px; padding: 12px; min-height: 44px; }
input::placeholder, textarea::placeholder { color: #9ba7af; opacity: 1; }
.switch { width: 48px; height: 32px; }
.switch:after { top: 6px; left: 6px; transition: transform 150ms ease-out; }
.switch[aria-checked=true]:after { left: 6px; transform: translateX(16px); background: #20333a; }
.empty { padding: 40px 24px; border-radius: 12px; border-style: solid; }
.empty .symbol { font-size: 28px; }
.empty .symbol svg { width: 32px; height: 32px; }
.paywall > span > svg { width: 24px; height: 24px; }
.empty p { font-size: 14px; }
.price, .number, .insight-grid strong { font-weight: 500; letter-spacing: 0; color: var(--text); }
.price { font-size: 36px; }
.premium-star { color: var(--muted); text-shadow: none; }
.plan { border-color: var(--line); }
.access-strip, .paywall { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.admin-tabs { gap: 8px; }
.admin-tabs button { min-height: 44px; border-radius: 8px; padding: 8px 16px; background: var(--panel); }
.admin-tabs button.active { background: var(--panel2); color: var(--accent); border-color: var(--accent); }
.admin-table th { color: var(--muted); font-weight: 500; background: #ffffff04; }
.admin-table td { font-size: 13px; }
.admin-table tbody tr:hover { background: #ffffff04; }
.pre { background: #141719; border-radius: 8px; font-size: 14px; }
dialog { padding: 24px; border-radius: 16px; border-color: #ffffff24; }
dialog::backdrop { background: #000a; backdrop-filter: none; }
.dialog-close { width: 40px; height: 40px; border-radius: 8px; }
.actions { gap: 8px; margin-top: 20px; }
.status:before { box-shadow: none; }
.echo-orbit img, .wave { animation: none; transform: none; box-shadow: none; }
.float-chip, .orbit-ring, .hero-art:before, .hero-art:after { display: none; }
.preview { background: var(--bg); }
.bubble { background: #263e44; }
.match-label, .details summary { color: var(--accent); }
.version-card { border-color: var(--accent); }
.step-dots .current { background: var(--accent); }
.onboarding-tiles span { background: var(--panel2); }
.example-chat { background: var(--panel2); }
.example-result { background: #263e44; border-color: var(--line); }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
#toast { background: #e2edf0; color: #14272d; font-size: 14px; border-radius: 8px; transition: opacity 150ms ease-out, transform 150ms ease-out; }
@media (max-width: 1050px) and (min-width: 701px) {
  .shell { grid-template-columns: 200px minmax(0, 1fr); }
  .main { padding: 24px; }
  .sidebar { padding: 24px 16px; }
}
@media (max-width: 700px) {
  .shell { display: block; }
  .main { padding: 16px 16px calc(104px + env(safe-area-inset-bottom)); }
  .sidebar { padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); gap: 0; background: #181c1f; backdrop-filter: none; }
  .nav button { flex: 1; min-width: 0; min-height: 56px; padding: 8px 4px; gap: 4px; border-radius: 8px; font-size: 11px; }
  .nav svg { width: 20px; height: 20px; }
  .top { margin-bottom: 24px; min-height: 40px; }
  .brand.compact { font-size: 20px; }
  .profile-pill, .admin-entry { padding: 8px; }
  .top-actions { gap: 4px; }
  .heading { gap: 12px; margin-bottom: 20px; }
  .heading h1 { font-size: 26px; }
  .heading p { font-size: 14px; }
  .heading .btn { padding: 12px; font-size: 13px; }
  .section { margin: 24px 0 12px; }
  .section-line h2 { font-size: 16px; }
  .section-line { gap: 8px; }
  .card { padding: 20px; }
  .dashboard-hero { padding: 20px; margin-bottom: 24px; }
  .dashboard-hero h2 { font-size: 23px; }
  .dashboard-hero .btn { width: 100%; }
  .overview-metrics button { padding: 16px 12px; }
  .overview-metrics strong { font-size: 28px; }
  .overview-metrics small { font-size: 12px; }
  .quick-grid { grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .quick { display: grid; grid-template-columns: 24px minmax(0,1fr); column-gap: 12px; row-gap: 0; padding: 16px; border: 0; border-radius: 0; }
  .quick + .quick { border-top: 1px solid var(--line); }
  .quick > span { grid-row: 1 / 3; align-self: center; margin: 0; display: flex; }
  .quick small { grid-column: 2; }
  .command-grid { grid-template-columns: 1fr; }
  .command-tabs { justify-content: flex-start; }
  .command-tabs button { padding: 8px 12px; }
  .command-grid .command { padding: 16px; }
  .dialog-row { padding: 12px; gap: 12px; min-height: 76px; }
  .dialog-line { gap: 8px; }
  .dialog-line b { font-size: 15px; }
  .dialog-preview { font-size: 14px; }
  .dialog-heading { gap: 8px; }
  .dialog-heading h1 { font-size: 18px; }
  .dialog-heading .dialog-avatar { width: 40px; height: 40px; }
  .dialog-back, .dialog-rename { width: 36px; }
  .timeline-item { padding: 16px 12px; gap: 12px; }
  .timeline-item .dialog-avatar { width: 36px; height: 36px; flex-basis: 36px; }
  .timeline-top b { font-size: 14px; }
  .conversation-shell { border-radius: 12px; }
  .conversation-toolbar { padding: 12px; gap: 8px; }
  .conversation-toolbar > span { font-size: 12px; }
  .conversation-toolbar .btn { min-height: 40px; padding: 8px; font-size: 12px; }
  .conversation-scroll { padding: 12px 8px 20px; height: clamp(280px, calc(100dvh - 300px), 680px); }
  .conversation-bubble { max-width: 90%; padding: 12px 12px 8px; }
  .conversation-text { font-size: 15px; }
  .conversation-footer { padding: 12px; gap: 12px; }
  .more-links { padding: 4px 20px; }
  .profile-card { gap: 12px; }
  .profile-card h2 { font-size: 20px; }
  .promo-panel form { display: block; }
  .promo-panel form button { width: 100%; margin-top: 12px; }
  .archive-filters { grid-template-columns: 1fr; }
  input, textarea, select, .field select { font-size: 16px; }
  dialog { padding: 20px; max-height: 85dvh; }
  .paywall { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.main,.shell>*,#content { min-width:0; }
.admin-tabs-shell { display:grid;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;gap:8px;margin-bottom:24px;max-width:100%; }
.admin-tabs-shell .admin-tabs { min-width:0;width:100%;margin:0;padding:3px 0 8px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:var(--muted) transparent;overscroll-behavior-x:contain; }
.admin-tabs button { flex:0 0 auto; }
.admin-scroll { padding:0;min-height:40px;font-size:25px;background:var(--panel);border:1px solid var(--line);border-radius:8px; }
.vpn-summary { margin-bottom:16px; }.vpn-summary+.card { margin-bottom:16px; }
.vpn-exit { display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center; }.vpn-exit span { color:var(--muted); }
.vpn-node { display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:12px;align-items:start;padding:18px 4px;border-bottom:1px solid var(--line); }
.vpn-node:last-child { border-bottom:0; }.vpn-node.is-active { border-left:3px solid var(--accent);padding-left:12px; }
.vpn-flag { font-size:24px; }.vpn-node-info b,.vpn-node-info small { display:block; }.vpn-node-info p { margin:5px 0;overflow-wrap:anywhere;font-size:12px; }.vpn-node-info b { overflow-wrap:anywhere; }.vpn-node-info small { font-size:11px;color:var(--muted);margin-top:5px; }
.vpn-node-actions { display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end; }.vpn-node-actions .btn { padding:8px 10px;font-size:11px;min-height:36px; }
.vpn-json { font-family:ui-monospace,Consolas,monospace;min-height:240px;white-space:pre;overflow:auto;tab-size:2; }
@media(max-width:700px){.vpn-node{grid-template-columns:28px minmax(0,1fr)}.vpn-node-actions{grid-column:2;justify-content:flex-start}.admin-tabs-shell{gap:5px;grid-template-columns:30px minmax(0,1fr) 30px}.vpn-node-actions .btn{min-height:40px}}
.vpn-source{padding:20px 0;border-bottom:1px solid var(--line);min-width:0}.vpn-source:last-child{border-bottom:0}.vpn-source-heading{display:flex;gap:12px;justify-content:space-between;align-items:baseline}.vpn-source-heading b{overflow-wrap:anywhere}.vpn-source-heading span{font-size:11px;white-space:nowrap}.vpn-source p{font-size:13px;overflow-wrap:anywhere;margin:8px 0}.vpn-source .actions{margin-top:12px}.vpn-source .actions .btn{font-size:12px;padding:9px 12px;min-height:40px}#vpn-source-form details{margin-bottom:16px}#vpn-source-form details textarea{width:100%;max-width:100%;margin-top:12px}#vpn-share-url{font-size:12px}
