/* Orbita Social — bazowy system designu */
:root {
  color-scheme: dark;
  --bg: #070A14;
  --bg-2: #0A0F1E;
  --panel: #0F1527;
  --panel-2: #131B31;
  --panel-3: #17203A;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.13);
  --text: #EEF1F8;
  --text-soft: #C7CEE0;
  --muted: #8A96B2;
  --muted-2: #65708A;
  --violet: #7C5CFF;
  --violet-2: #9C8CFF;
  --cyan: #22D3EE;
  --pink: #F472B6;
  --green: #34D399;
  --amber: #FBBF24;
  --red: #F87171;
  --blue: #60A5FA;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 9px;
  --sidebar: 252px;
  --topbar: 68px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.65);
  --shadow-soft: 0 10px 30px -18px rgba(0, 0, 0, 0.5);
  --font: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Cascadia Code", "Consolas", monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background:
    radial-gradient(1100px 600px at 82% -12%, rgba(124, 92, 255, 0.17), transparent 62%),
    radial-gradient(900px 520px at -5% 105%, rgba(34, 211, 238, 0.08), transparent 60%),
    var(--bg);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
::selection { background: rgba(124, 92, 255, 0.4); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -0.02em; font-weight: 650; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 9px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.22); background-clip: content-box; }

.icon { width: 19px; height: 19px; flex: 0 0 auto; vertical-align: -3px; }
.icon.sm { width: 15px; height: 15px; }
.icon.lg { width: 24px; height: 24px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.tiny { font-size: 11.5px; }
.strong { font-weight: 650; }
.mono { font-family: var(--mono); font-size: 12.5px; }
.gradient-text { background: linear-gradient(100deg, #fff 5%, #C9C0FF 45%, #7DE9F7 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 6px; } .mt-2 { margin-top: 12px; } .mt-3 { margin-top: 18px; } .mt-4 { margin-top: 26px; }
.mb-1 { margin-bottom: 6px; } .mb-2 { margin-bottom: 12px; } .mb-3 { margin-bottom: 18px; } .mb-4 { margin-bottom: 26px; }
.flex { display: flex; align-items: center; gap: 10px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.flex-wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.hidden { display: none !important; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.w-full { width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -0.03em; }
.brand-mark {
  --size: 36px;
  width: var(--size); height: var(--size); border-radius: calc(var(--size) * .29);
  display: inline-grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #8B6CFF 0%, #6C4DFF 45%, #22D3EE 110%);
  box-shadow: 0 8px 24px -8px rgba(124, 92, 255, .65), inset 0 1px 0 rgba(255,255,255,.25);
  flex: 0 0 auto;
}
.brand-mark .icon { width: 62%; height: 62%; }
.brand-name { font-size: 18px; }
.brand-name span { color: var(--violet-2); }
.brand-tag { display: block; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 1px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 16px; border-radius: 11px; border: 1px solid transparent;
  background: rgba(255,255,255,.055); color: var(--text); font-weight: 600; font-size: 13.5px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease, opacity .15s;
  white-space: nowrap;
}
.btn:hover { background: rgba(255,255,255,.09); }
.btn:active { transform: translateY(1px) scale(.995); }
.btn:disabled { opacity: .52; cursor: not-allowed; transform: none !important; }
.btn .icon { width: 17px; height: 17px; }
.btn-primary {
  background: linear-gradient(135deg, #8A6BFF, #6C4DFF); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(124,92,255,.8), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-primary:hover { background: linear-gradient(135deg, #9B80FF, #785BFF); box-shadow: 0 14px 30px -12px rgba(124,92,255,.95); }
.btn-cyan { background: linear-gradient(135deg, #22D3EE, #0EA5B7); color: #04151A; box-shadow: 0 10px 24px -12px rgba(34,211,238,.7); }
.btn-ghost { background: transparent; border-color: var(--line); }
.btn-ghost:hover { background: rgba(255,255,255,.05); border-color: var(--line-strong); }
.btn-soft { background: rgba(124,92,255,.13); color: #C9BEFF; border-color: rgba(124,92,255,.2); }
.btn-soft:hover { background: rgba(124,92,255,.2); }
.btn-danger { background: rgba(248,113,113,.12); color: #FCA5A5; border-color: rgba(248,113,113,.25); }
.btn-danger:hover { background: rgba(248,113,113,.2); }
.btn-success { background: rgba(52,211,153,.13); color: #6EE7B7; border-color: rgba(52,211,153,.22); }
.btn-sm { min-height: 33px; padding: 0 11px; font-size: 12.5px; border-radius: 9px; }
.btn-sm .icon { width: 15px; height: 15px; }
.btn-lg { min-height: 48px; padding: 0 24px; border-radius: 13px; font-size: 15px; }
.btn-block { width: 100%; }
.icon-btn {
  width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 10px;
  border: 1px solid transparent; background: transparent; color: var(--muted); transition: .15s;
}
.icon-btn:hover { background: rgba(255,255,255,.065); color: var(--text); }
.icon-btn.sm { width: 30px; height: 30px; border-radius: 8px; }
.icon-btn.danger:hover { color: #FCA5A5; background: rgba(248,113,113,.12); }
.btn-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.badge {
  display: inline-flex; align-items: center; gap: 5px; min-height: 23px; padding: 2px 9px;
  border-radius: 99px; font-size: 11.5px; font-weight: 600; letter-spacing: .01em;
  border: 1px solid transparent; white-space: nowrap;
}
.badge-green { background: rgba(52,211,153,.11); color: #6EE7B7; border-color: rgba(52,211,153,.18); }
.badge-violet { background: rgba(124,92,255,.14); color: #C4B5FD; border-color: rgba(124,92,255,.2); }
.badge-amber { background: rgba(251,191,36,.1); color: #FCD34D; border-color: rgba(251,191,36,.16); }
.badge-red { background: rgba(248,113,113,.1); color: #FCA5A5; border-color: rgba(248,113,113,.18); }
.badge-muted { background: rgba(255,255,255,.055); color: var(--muted); border-color: var(--line); }
.badge-cyan { background: rgba(34,211,238,.1); color: #67E8F9; border-color: rgba(34,211,238,.18); }
.badge-pink { background: rgba(244,114,182,.11); color: #F9A8D4; border-color: rgba(244,114,182,.18); }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 5px;
  border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.03);
  font-size: 11.5px; color: var(--text-soft); white-space: nowrap;
}
.platform-icon {
  --ps: 34px;
  width: var(--ps); height: var(--ps); border-radius: calc(var(--ps) * .29);
  display: inline-grid; place-items: center; flex: 0 0 auto;
  background: var(--pb); color: var(--pc); border: 1px solid color-mix(in srgb, var(--pc) 22%, transparent);
  overflow: hidden;
}
.platform-icon svg { width: 58%; height: 58%; }
.platform-icon .p-glyph { font-weight: 750; font-size: calc(var(--ps) * .43); letter-spacing: -0.06em; font-family: var(--font); line-height: 1; }
.platform-pill .platform-icon { --ps: 20px; border-radius: 6px; }

.avatar {
  --avs: 38px;
  width: var(--avs); height: var(--avs); border-radius: 35%; display: inline-grid; place-items: center;
  font-size: calc(var(--avs) * .33); font-weight: 700; color: #fff; flex: 0 0 auto;
  background: linear-gradient(135deg, color-mix(in srgb, var(--av) 85%, #fff), color-mix(in srgb, var(--av) 62%, #050711));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
  letter-spacing: -0.02em;
}
.avatar.round { border-radius: 50%; }
.avatar-stack { display: flex; align-items: center; }
.avatar-stack .avatar { margin-left: -8px; border: 2px solid var(--panel); }
.avatar-stack .avatar:first-child { margin-left: 0; }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.018), transparent 55%), var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.card-pad { padding: 22px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 22px 0; }
.card-head h2, .card-head h3 { font-size: 16px; font-weight: 650; }
.card-head p { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.card-body { padding: 20px 22px; }
.divider { height: 1px; background: var(--line); margin: 16px 0; border: 0; }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; }
.field > label, .field-label { font-size: 12.5px; font-weight: 600; color: var(--text-soft); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.field .hint { font-size: 11.5px; color: var(--muted-2); }
.field .error { font-size: 12px; color: #FCA5A5; }
.input, .select, .textarea {
  width: 100%; min-height: 42px; padding: 10px 12px; color: var(--text); background: rgba(255,255,255,.035);
  border: 1px solid var(--line-strong); border-radius: 10px; outline: none; transition: .15s;
}
.input::placeholder, .textarea::placeholder { color: #56617A; }
.input:focus, .select:focus, .textarea:focus { border-color: rgba(124,92,255,.6); box-shadow: 0 0 0 3px rgba(124,92,255,.12); background: rgba(255,255,255,.05); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%238A96B2' stroke-width='2'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.select option { background: #11172A; color: var(--text); }
.textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.input-group { position: relative; display: flex; align-items: center; }
.input-group .icon { position: absolute; left: 12px; color: var(--muted-2); width: 17px; height: 17px; pointer-events: none; }
.input-group .input { padding-left: 38px; }
.input-group .suffix { position: absolute; right: 10px; color: var(--muted); font-size: 12px; }
.input-row { display: flex; gap: 10px; align-items: center; }
.input-row .input { flex: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 15px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; align-items: flex-start; gap: 9px; font-size: 12.8px; color: var(--text-soft); line-height: 1.45; cursor: pointer; }
.check input { margin: 2px 0 0; width: 16px; height: 16px; accent-color: var(--violet); flex: 0 0 auto; }
.radio-card { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: .15s; background: rgba(255,255,255,.02); }
.radio-card:hover { border-color: var(--line-strong); }
.radio-card:has(input:checked) { border-color: rgba(124,92,255,.55); background: rgba(124,92,255,.07); }
.radio-card input { accent-color: var(--violet); margin-top: 2px; }
.switch { display: inline-flex; position: relative; width: 40px; height: 23px; flex: 0 0 auto; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: rgba(255,255,255,.12); transition: .2s; }
.switch span::after { content: ''; position: absolute; width: 17px; height: 17px; border-radius: 50%; background: #fff; left: 3px; top: 3px; transition: .2s; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.switch input:checked + span { background: var(--violet); }
.switch input:checked + span::after { transform: translateX(17px); }
.switch input:focus-visible + span { outline: 2px solid var(--violet-2); outline-offset: 2px; }

.tabs { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab { padding: 10px 13px; color: var(--muted); font-size: 13px; font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: .15s; background: none; border-top: 0; border-left: 0; border-right: 0; }
.tab:hover { color: var(--text-soft); }
.tab.active { color: var(--text); border-bottom-color: var(--violet); }
.segmented { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: rgba(255,255,255,.045); border: 1px solid var(--line); }
.segmented button { border: 0; background: transparent; color: var(--muted); padding: 5px 10px; border-radius: 7px; font-size: 12px; font-weight: 600; }
.segmented button.active { background: rgba(255,255,255,.1); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.2); }

.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted-2); font-weight: 650; padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 13px 14px; border-bottom: 1px solid rgba(255,255,255,.045); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr { transition: background .12s; }
table.data tbody tr:hover { background: rgba(255,255,255,.024); }
table.data td.actions { white-space: nowrap; text-align: right; }

.alert { display: flex; gap: 11px; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: 12.8px; line-height: 1.5; color: var(--text-soft); }
.alert .icon { width: 19px; height: 19px; margin-top: 1px; }
.alert strong { color: var(--text); }
.alert-info { border-color: rgba(96,165,250,.2); background: rgba(96,165,250,.065); }
.alert-info .icon { color: var(--blue); }
.alert-warning { border-color: rgba(251,191,36,.2); background: rgba(251,191,36,.06); }
.alert-warning .icon { color: var(--amber); }
.alert-danger { border-color: rgba(248,113,113,.22); background: rgba(248,113,113,.06); }
.alert-danger .icon { color: var(--red); }
.alert-success { border-color: rgba(52,211,153,.2); background: rgba(52,211,153,.06); }
.alert-success .icon { color: var(--green); }

.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 22px; color: var(--muted); }
.empty-state .empty-ico { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; background: rgba(124,92,255,.1); color: var(--violet-2); margin-bottom: 14px; border: 1px solid rgba(124,92,255,.14); }
.empty-state .empty-ico .icon { width: 24px; height: 24px; }
.empty-state h3 { color: var(--text); font-size: 15px; margin-bottom: 5px; }
.empty-state p { font-size: 12.8px; max-width: 380px; }
.empty-state .btn { margin-top: 16px; }

.skeleton { border-radius: 7px; background: linear-gradient(90deg, rgba(255,255,255,.045), rgba(255,255,255,.08), rgba(255,255,255,.045)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(2,4,10,.72); backdrop-filter: blur(8px); z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .18s ease;
}
.modal-backdrop.modal-in { opacity: 1; }
.modal {
  width: min(560px, 100%); max-height: min(88vh, 900px); display: flex; flex-direction: column;
  border-radius: 20px; border: 1px solid rgba(255,255,255,.12); overflow: hidden;
  background: linear-gradient(180deg, #141B30, #0E1425);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.07);
  transform: translateY(10px) scale(.985); transition: transform .2s cubic-bezier(.2,.9,.3,1);
}
.modal-in .modal { transform: none; }
.modal-sm { width: min(430px, 100%); }
.modal-lg { width: min(760px, 100%); }
.modal-xl { width: min(1000px, 100%); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px 15px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 18px; font-weight: 650; }
.modal-head p { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.modal-body { padding: 20px 24px; overflow-y: auto; }
.modal-foot { padding: 15px 24px 20px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }
.confirm-text { color: var(--text-soft); font-size: 13.5px; line-height: 1.6; }

#toast-root { position: fixed; right: 22px; bottom: 22px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; max-width: min(400px, calc(100vw - 32px)); }
.toast {
  position: relative; display: flex; gap: 11px; align-items: flex-start; overflow: hidden;
  padding: 13px 38px 15px 14px; border-radius: 13px; border: 1px solid var(--line-strong);
  background: rgba(16,22,40,.97); box-shadow: 0 20px 45px -18px rgba(0,0,0,.8);
  animation: toastIn .25s ease; font-size: 12.8px; color: var(--text-soft);
}
.toast-out { animation: toastOut .2s ease forwards; }
.toast-ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: 0 0 auto; }
.toast-ico .icon { width: 16px; height: 16px; }
.toast-success .toast-ico { background: rgba(52,211,153,.13); color: var(--green); }
.toast-error .toast-ico { background: rgba(248,113,113,.13); color: var(--red); }
.toast-warning .toast-ico { background: rgba(251,191,36,.12); color: var(--amber); }
.toast-info .toast-ico { background: rgba(124,92,255,.13); color: var(--violet-2); }
.toast-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.toast-body strong { color: var(--text); font-size: 13px; }
.toast-x { position: absolute; right: 8px; top: 8px; background: none; border: 0; color: var(--muted-2); padding: 3px; }
.toast-x:hover { color: var(--text); }
.toast-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--violet), var(--cyan)); animation: toastProg 4.2s linear forwards; opacity: .55; }
.toast-error .toast-progress { animation-duration: 6.5s; background: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(4px); } }
@keyframes toastProg { to { width: 0; } }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; z-index: 500;
  background: #121A2D; border: 1px solid var(--line-strong); border-radius: 12px; padding: 6px;
  box-shadow: var(--shadow); animation: menuIn .14s ease;
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-4px); } }
.dropdown-item { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; color: var(--text-soft); font-size: 12.8px; width: 100%; background: none; border: 0; text-align: left; }
.dropdown-item:hover { background: rgba(255,255,255,.06); color: var(--text); }
.dropdown-item.danger { color: #FCA5A5; }
.dropdown-sep { height: 1px; background: var(--line); margin: 5px 0; }

.chart-wrap { position: relative; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart-axis { fill: #68738C; font-size: 10.5px; font-family: var(--font); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.legend-item i { width: 8px; height: 8px; border-radius: 50%; }
.sparkline { width: 100%; height: 30px; }
.donut-wrap { position: relative; display: inline-grid; place-items: center; }
.donut-center { position: absolute; text-align: center; }
.donut-center strong { display: block; font-size: 20px; letter-spacing: -0.03em; }
.donut-center span { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.divider-vert { width: 1px; align-self: stretch; background: var(--line); }
.kbd { display: inline-block; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.05); font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.dot-green { background: var(--green); box-shadow: 0 0 0 3px rgba(52,211,153,.12); }
.dot-amber { background: var(--amber); box-shadow: 0 0 0 3px rgba(251,191,36,.12); }
.dot-red { background: var(--red); box-shadow: 0 0 0 3px rgba(248,113,113,.12); }
.dot-muted { background: var(--muted-2); }
.dot-violet { background: var(--violet); box-shadow: 0 0 0 3px rgba(124,92,255,.12); }

.usage-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
.usage-bar > span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--violet), var(--cyan)); }
.usage-bar.warn > span { background: linear-gradient(90deg, var(--amber), var(--red)); }

.tip { border-bottom: 1px dotted var(--muted-2); cursor: help; }
.code { font-family: var(--mono); font-size: 12px; background: rgba(0,0,0,.25); padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line); color: #C7CEE0; word-break: break-all; }
.pre { white-space: pre-wrap; word-break: break-word; font-family: var(--mono); font-size: 11.5px; background: rgba(0,0,0,.28); border: 1px solid var(--line); border-radius: 10px; padding: 12px; max-height: 260px; overflow: auto; color: var(--text-soft); }
.hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }

.noscript { padding: 30px; text-align: center; }

@media (max-width: 760px) {
  .form-grid { grid-template-columns: 1fr; }
  .modal-backdrop { padding: 10px; align-items: flex-end; }
  .modal { max-height: 94vh; border-radius: 18px 18px 0 0; }
  #toast-root { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .modal-head, .modal-body, .modal-foot { padding-left: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
