:root {
    color-scheme: light;
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --sidebar: #101c2c;
    --sidebar-soft: #1a2a3e;
    --text: #172033;
    --muted: #697586;
    --line: #e6ebf2;
    --primary: #2588e8;
    --primary-dark: #1573cf;
    --primary-soft: #eaf5ff;
    --success: #19a974;
    --warning: #e99a2d;
    --danger: #e2525c;
    --violet: #7c65df;
    --shadow: 0 12px 30px rgb(25 42 70 / 7%);
    --radius: 18px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { background: var(--bg); }

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.ui-icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.app-shell {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    z-index: 10;
    inset: 0 auto 0 0;
    width: 248px;
    display: flex;
    flex-direction: column;
    padding: 28px 16px 20px;
    background:
        radial-gradient(circle at 20% 0%, rgb(46 139 228 / 19%), transparent 28%),
        linear-gradient(180deg, #122238, #0d1928);
    color: #d7e2ef;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin: 0 10px 38px;
    color: white;
    font-size: 21px;
    font-weight: 750;
    letter-spacing: -.4px;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(145deg, #35a8f5, #187bdc);
    box-shadow: 0 8px 20px rgb(24 125 221 / 28%);
}

.brand-mark svg { width: 20px; height: 20px; fill: white; }

.primary-nav { display: grid; gap: 6px; }

.nav-item {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 13px;
    gap: 13px;
    border-radius: 12px;
    color: #9fb0c5;
    font-size: 14px;
    font-weight: 580;
    transition: color .16s ease, background .16s ease, transform .16s ease;
}

.nav-item:hover { background: rgb(255 255 255 / 6%); color: white; }
.nav-item:active { transform: translateY(1px); }
.nav-item.is-active { color: white; background: #2388e5; box-shadow: 0 8px 22px rgb(16 100 181 / 22%); }
.nav-item-accent:not(.is-active) { color: #b6dbff; background: rgb(38 139 230 / 12%); }
.nav-item svg { width: 21px; height: 21px; fill: currentColor; flex: 0 0 auto; }

.sidebar-footer { margin-top: auto; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 8%); }
.workspace-switcher { display: flex; align-items: center; gap: 10px; padding: 8px; }
.workspace-avatar, .user-avatar, .account-avatar {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 11px;
    background: linear-gradient(145deg, #e9f4ff, #c9e5ff);
    color: #1679d2;
    font-size: 14px;
    font-weight: 750;
}
.workspace-avatar { color: white; background: linear-gradient(145deg, #314a68, #223850); }
.workspace-copy, .user-copy { min-width: 0; display: grid; gap: 2px; }
.workspace-copy strong, .user-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.workspace-copy small, .user-copy small { color: #8498af; font-size: 11px; }
.connection-dot { width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: #21c58b; box-shadow: 0 0 0 4px rgb(33 197 139 / 12%); }

.main-area { grid-column: 2; min-width: 0; }

.topbar {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 36px;
    border-bottom: 1px solid var(--line);
    background: rgb(255 255 255 / 82%);
    backdrop-filter: blur(14px);
}

.topbar h1 { margin: 1px 0 0; font-size: 23px; letter-spacing: -.4px; }
.eyebrow { margin-bottom: 2px; color: var(--muted); font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .7px; }
.topbar-actions { display: flex; align-items: center; gap: 13px; }
.environment-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; color: #836019; background: #fff6dc; font-size: 11px; font-weight: 650; }
.environment-badge i { width: 6px; height: 6px; border-radius: 50%; background: #eca82e; }
.user-chip { display: flex; align-items: center; gap: 9px; padding-left: 14px; border-left: 1px solid var(--line); }
.user-avatar { width: 38px; height: 38px; border-radius: 50%; }
.user-copy strong { color: #303a4a; }
.user-copy small { color: var(--muted); }

.icon-button {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface);
    color: var(--muted);
    cursor: pointer;
}
.icon-button:hover:not(:disabled) { color: var(--primary); border-color: #bee0ff; background: var(--primary-soft); }
.icon-button:disabled { opacity: .55; cursor: default; }
.icon-button svg { width: 18px; height: 18px; }

.page-content { max-width: 1440px; margin: 0 auto; padding: 34px 36px 48px; }
.messages { display: grid; gap: 8px; max-width: 1440px; margin: 18px auto -12px; padding: 0 36px; }
.message { padding: 12px 15px; border: 1px solid #d6eaff; border-radius: 11px; color: #3574a9; background: #edf7ff; font-size: 12px; }
.message.error { color: #a63d47; border-color: #f5d1d5; background: #fdefef; }
.message.success { color: #147b58; border-color: #ccebdd; background: #eaf8f2; }

.welcome-row, .page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}
.welcome-row h2, .page-heading h2 { margin-bottom: 7px; font-size: 25px; letter-spacing: -.55px; }
.welcome-row p, .page-heading p { margin: 0; color: var(--muted); line-height: 1.55; }
.page-heading { margin-bottom: 22px; }
.page-heading h2 { font-size: 21px; }
.heading-actions { display: flex; align-items: center; gap: 9px; }

.button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 17px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-weight: 650;
    font-size: 13px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.button .ui-icon { width: 16px; height: 16px; flex: 0 0 auto; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:focus-visible, .icon-button:focus-visible { outline: 2px solid #80bdf2; outline-offset: 2px; }
.button:disabled { opacity: .5; cursor: not-allowed; }
.button-primary { color: white; background: linear-gradient(135deg, #2d97ed, #1d7fdb); box-shadow: 0 9px 20px rgb(35 135 225 / 20%); }
.button-primary:hover:not(:disabled) { box-shadow: 0 11px 25px rgb(35 135 225 / 28%); }
.button-secondary { color: #297fc9; background: #eef7ff; border-color: #d9edff; }
.button-ghost { color: var(--muted); background: transparent; border-color: var(--line); }
.button-large { min-height: 50px; padding: 0 24px; font-size: 14px; border-radius: 13px; }
.button-block { width: 100%; }
.button-compact { min-height: 34px; padding: 0 12px; font-size: 11px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat-card {
    position: relative;
    min-height: 148px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 6px 20px rgb(30 47 76 / 4%);
}
.stat-card::after { content: ""; position: absolute; right: -28px; top: -28px; width: 100px; height: 100px; border-radius: 50%; background: currentColor; opacity: .05; }
.stat-card > div { margin-top: 18px; display: grid; gap: 2px; }
.stat-card strong { font-size: 27px; letter-spacing: -.7px; }
.stat-card > div span { color: #394456; font-weight: 650; font-size: 13px; }
.stat-card small { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; }
.stat-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: currentColor; }
.stat-icon svg { width: 20px; height: 20px; fill: white; }
.stat-blue { color: #2c8ee3; }.stat-blue .stat-icon { background: #2c8ee3; }
.stat-violet { color: var(--violet); }.stat-violet .stat-icon { background: var(--violet); }
.stat-green { color: var(--success); }.stat-green .stat-icon { background: var(--success); }
.stat-orange { color: var(--warning); }.stat-orange .stat-icon { background: var(--warning); }
.stat-card > div, .stat-card small { color: initial; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(290px, .75fr); gap: 20px; margin-bottom: 20px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 6px 24px rgb(30 47 76 / 4%); }
.panel-header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.panel-header h2 { margin-bottom: 4px; font-size: 16px; }
.panel-header p { margin: 0; color: var(--muted); font-size: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--primary); font-size: 12px; font-weight: 650; white-space: nowrap; }
.text-link .ui-icon { width: 14px; height: 14px; }

.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 13px 18px; color: #8993a3; background: #fafbfd; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .55px; }
td { padding: 16px 18px; border-top: 1px solid #edf0f4; color: #3a4555; font-size: 12px; vertical-align: middle; }
tbody tr:hover { background: #fbfdff; }
td strong { display: block; color: #273243; font-size: 13px; }
td small { display: block; margin-top: 4px; color: #8993a3; font-size: 10px; }

.status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-success { color: #14895f; background: #e8f8f1; }
.status-warning { color: #a66b14; background: #fff4df; }
.status-danger { color: #bf3f49; background: #fdecee; }
.status-info { color: #277ec8; background: #eaf5ff; }
.status-neutral { color: #687382; background: #eef1f4; }
.status-dot { width: 9px; height: 9px; margin-left: auto; border-radius: 50%; }
.status-dot-success { background: var(--success); box-shadow: 0 0 0 4px rgb(25 169 116 / 10%); }
.status-dot-warning { background: var(--warning); }.status-dot-danger { background: var(--danger); }.status-dot-neutral { background: #9ca5b2; }

.progress { width: 76px; height: 5px; display: inline-block; overflow: hidden; border-radius: 99px; background: #e8edf3; vertical-align: middle; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #288ee6, #45b2f1); }
.progress + small { display: inline-block; margin: 0 0 0 5px; }
.text-danger { color: var(--danger); }

.account-list { padding: 8px 18px 14px; }
.account-mini-row { display: flex; align-items: center; gap: 11px; padding: 12px 3px; border-bottom: 1px solid #edf0f4; }
.account-mini-row:last-child { border: 0; }
.account-mini-row > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.account-mini-row strong { font-size: 12px; }.account-mini-row small { color: var(--muted); font-size: 10px; }

.empty-state { display: grid; justify-items: center; text-align: center; }
.compact-empty { padding: 32px 20px 36px; }
.side-empty { padding: 34px 20px; }
.large-empty { min-height: 370px; align-content: center; padding: 50px 24px; }
.inline-empty { min-height: 340px; }
.empty-illustration { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 18px; color: var(--primary); background: var(--primary-soft); font-size: 24px; }
.empty-illustration .ui-icon { width: 27px; height: 27px; }
.empty-state h3 { margin-bottom: 7px; font-size: 15px; }.empty-state p { max-width: 390px; margin-bottom: 18px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.empty-state-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.proxy-check-spinner { width: 48px; height: 48px; margin-bottom: 16px; }

.quick-start { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 14px; padding: 19px 22px; border: 1px solid #dceeff; border-radius: var(--radius); background: linear-gradient(135deg, #f5faff, #fbfdff); }
.quick-start > div { display: flex; align-items: center; gap: 11px; min-width: 0; }
.quick-start > div > span { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--primary); background: white; border: 1px solid #d7ebfe; font-size: 10px; font-weight: 750; }
.quick-start p { display: grid; gap: 3px; margin: 0; color: var(--muted); font-size: 10px; }
.quick-start strong { color: #354154; font-size: 11px; }.quick-start > i { color: #afc7dc; font-style: normal; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.search-field { width: min(300px, 100%); display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: #fafbfd; color: #8792a1; }
.search-field > .ui-icon { width: 16px; height: 16px; flex: 0 0 auto; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 12px; }
.filter-pills { display: flex; gap: 5px; padding: 4px; border-radius: 10px; background: #f3f5f8; }
.filter-pills button { padding: 6px 10px; border: 0; border-radius: 7px; background: transparent; color: #7a8493; font-size: 10px; }
.filter-pills button.is-active { color: var(--primary); background: white; box-shadow: 0 2px 7px rgb(20 35 60 / 7%); }

.notice { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; padding: 14px 17px; border-radius: 13px; }
.notice > span { width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; font-weight: 750; }
.notice > span .ui-icon { width: 14px; height: 14px; }
.notice p { display: grid; gap: 2px; margin: 0; font-size: 11px; line-height: 1.5; }.notice p strong { font-size: 12px; }
.notice-info { color: #3b72a1; background: #eaf5ff; border: 1px solid #d5ebff; }.notice-info > span { color: white; background: #3c95df; }
.notice-danger { color: #9f424b; background: #fdefef; border: 1px solid #f5d1d5; }.notice-danger > span { color: white; background: var(--danger); }
.notice-warning { color: #7b5b20; background: #fff8e7; border: 1px solid #f2dfad; }.notice-warning > span { color: white; background: var(--warning); }
.text-warning { color: #9a6a13; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.account-card, .script-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 6px 24px rgb(30 47 76 / 4%); }
.account-card-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.account-card-head > div { min-width: 0; }.account-card-head h3 { margin: 0 0 3px; font-size: 15px; }.account-card-head p { margin: 0; color: var(--muted); font-size: 10px; }
.account-card-head .status { margin-left: auto; }
.proxy-management-panel { overflow: hidden; }
.proxy-table-actions { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.proxy-table-actions form { margin: 0; }
.account-avatar-large { width: 45px; height: 45px; border-radius: 14px; font-size: 17px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin: 19px 0; }
.detail-grid div { min-width: 0; }.detail-grid dt { margin-bottom: 4px; color: #8a94a3; font-size: 9px; text-transform: uppercase; letter-spacing: .4px; }.detail-grid dd { overflow: hidden; margin: 0; color: #3e4959; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.card-actions { display: flex; gap: 8px; }.card-actions .button { flex: 1; }

.folder-list { padding: 8px 20px; }
.folder-group + .folder-group { border-top: 1px solid var(--line); }
.folder-account { display: flex; align-items: center; gap: 11px; padding: 18px 4px 10px; }.folder-account > div { display: grid; gap: 3px; }.folder-account strong { font-size: 13px; }.folder-account small { color: var(--muted); font-size: 10px; }
.folder-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 13px; margin: 5px 0 10px 46px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; }
.folder-icon, .script-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--violet); background: #f0edff; }
.folder-icon .ui-icon, .script-icon .ui-icon, .script-choice-icon .ui-icon { width: 19px; height: 19px; }
.folder-row > div { display: grid; gap: 4px; }.folder-row strong { font-size: 12px; }.folder-row small { color: var(--muted); font-size: 10px; }
.count-badge, .role-badge, .draft-label { padding: 6px 9px; border-radius: 8px; color: #627083; background: #f0f3f6; font-size: 10px; font-weight: 650; }

.script-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.script-card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 17px; }
.script-card h3 { margin-bottom: 10px; font-size: 15px; }.script-preview { height: 54px; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.6; }
.script-meta { display: flex; justify-content: space-between; gap: 10px; margin: 18px 0; padding-top: 14px; border-top: 1px solid var(--line); color: #8b95a4; font-size: 9px; }
.person-cell { display: flex; align-items: center; gap: 10px; }.person-cell > span:last-child { display: grid; gap: 1px; }

.create-heading { margin-bottom: 16px; }.step-kicker { margin-bottom: 5px !important; color: var(--primary) !important; font-size: 10px !important; font-weight: 750; text-transform: uppercase; letter-spacing: .5px; }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 20px; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: white; list-style: none; }
.stepper li { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px 18px; color: #9099a7; }
.stepper li:not(:last-child)::after { content: ""; position: absolute; right: 0; height: 28px; border-right: 1px solid var(--line); }
.stepper li > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #eff2f5; font-size: 10px; font-weight: 750; }
.stepper li > div { display: grid; gap: 2px; }.stepper strong { font-size: 11px; }.stepper small { font-size: 9px; }
.stepper .is-active { color: var(--primary); }.stepper .is-active > span { color: white; background: var(--primary); box-shadow: 0 5px 12px rgb(37 136 232 / 23%); }
.composer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: start; gap: 20px; }
.composer-panel { min-height: 480px; }.selection-list { display: grid; gap: 10px; padding: 20px 22px; }
.selection-card { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; }
.selection-card:hover { border-color: #bcdfff; background: #fbfdff; }.selection-card input { position: absolute; opacity: 0; pointer-events: none; }
.fake-checkbox { width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid #cbd3dd; border-radius: 6px; color: transparent; font-size: 11px; }
.selection-card input:checked + .fake-checkbox { color: white; border-color: var(--primary); background: var(--primary); }
.selection-card > span:nth-last-child(2) { min-width: 0; display: grid; gap: 4px; }.selection-card strong { font-size: 12px; }.selection-card small { color: var(--muted); font-size: 10px; }.selection-card .status { margin-left: auto; }
.composer-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: auto; padding: 18px 22px; border-top: 1px solid var(--line); }
.info-card { padding: 22px; border: 1px solid #dcecff; border-radius: var(--radius); background: linear-gradient(155deg, #f2f8ff, #fbfdff); }
.info-icon { width: 30px; height: 30px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 50%; color: white; background: var(--primary); font-weight: 750; }
.info-icon .ui-icon { width: 17px; height: 17px; }
.info-card h3 { margin-bottom: 9px; font-size: 14px; }.info-card p { display: grid; gap: 4px; margin-bottom: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }.info-card p strong { color: #3c4a5c; }.info-card hr { margin: 18px 0; border: 0; border-top: 1px solid #dcecff; }

.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 20px; }
.proxy-replacement-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: start; gap: 20px; }
.form-panel { overflow: hidden; }
.stacked-form { padding: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field-group { display: grid; align-content: start; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field-group label, .auth-form label { color: #3a4657; font-size: 11px; font-weight: 700; }
.form-control {
    width: 100%;
    height: 44px;
    padding: 0 13px;
    border: 1px solid #dce2e9;
    border-radius: 11px;
    outline: 0;
    color: #263244;
    background: #fff;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.form-control:focus { border-color: #7cbaef; box-shadow: 0 0 0 4px rgb(37 136 232 / 9%); }
.form-control::placeholder { color: #a7afbb; }
select.form-control { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, #8290a1 50%), linear-gradient(135deg, #8290a1 50%, transparent 50%); background-position: calc(100% - 17px) 19px, calc(100% - 12px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }
.field-error { color: var(--danger); font-size: 10px; line-height: 1.4; }
.field-group small { color: var(--muted); font-size: 10px; }
.form-actions { display: flex; justify-content: flex-end; gap: 9px; margin: 24px -24px -24px; padding: 18px 24px; border-top: 1px solid var(--line); background: #fbfcfd; }
.form-actions-between { align-items: center; justify-content: space-between; }.form-actions-between > div { display: flex; gap: 9px; }
.form-alert { margin: 0 0 17px; padding: 11px 13px; border-radius: 10px; font-size: 11px; line-height: 1.45; }
.form-alert ul { margin: 0; padding-left: 18px; }.form-alert-danger { color: #a93b45; border: 1px solid #f6d1d5; background: #fdefef; }
.shared-proxy-warning { display: flex; align-items: flex-start; gap: 11px; margin-top: 20px; padding: 13px 15px; border: 1px solid #f1d8aa; border-radius: 12px; color: #8a601d; background: #fff8e9; }
.shared-proxy-warning > span { width: 23px; height: 23px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: #e7a53a; font-size: 11px; font-weight: 800; }
.shared-proxy-warning p { margin: 0; font-size: 11px; line-height: 1.5; }.shared-proxy-warning p strong { display: block; color: #765016; font-size: 12px; }
.stepper-three { grid-template-columns: repeat(3, 1fr); }
.stepper .is-complete { color: var(--success); }.stepper .is-complete > span { color: white; background: var(--success); }
.auth-card { min-height: 480px; display: grid; place-items: center; padding: 42px 24px; }
.auth-state { width: min(470px, 100%); display: grid; justify-items: center; text-align: center; }
.auth-state h2 { margin: 17px 0 8px; font-size: 20px; }.auth-state > p { margin-bottom: 21px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.auth-spinner { width: 56px; height: 56px; border: 5px solid #ddecfa; border-top-color: var(--primary); border-radius: 50%; animation: auth-spin .9s linear infinite; }
@keyframes auth-spin { to { transform: rotate(360deg); } }
.auth-state-icon, .success-check { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; color: var(--primary); background: var(--primary-soft); font-size: 22px; font-weight: 800; }
.success-check { color: white; background: var(--success); box-shadow: 0 10px 25px rgb(25 169 116 / 22%); }
.auth-form { width: min(330px, 100%); display: grid; gap: 9px; text-align: left; }.auth-form .button { margin-top: 7px; }
.auth-state-form .form-alert { width: min(420px, 100%); }
.error-code { margin: -10px 0 20px; color: #939caa; font-family: ui-monospace, monospace; font-size: 9px; }

.back-link { display: inline-block; margin-bottom: 8px; color: var(--primary); font-size: 10px; font-weight: 700; }
.account-detail-heading h2 { margin-bottom: 4px; }
.operation-banner { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding: 14px 17px; border: 1px solid #d4eaff; border-radius: 13px; color: #3974a4; background: #edf7ff; }
.operation-banner p { display: grid; gap: 3px; margin: 0; font-size: 11px; line-height: 1.45; }.operation-banner strong { color: #245d8c; font-size: 12px; }
.operation-spinner { width: 28px; height: 28px; border-width: 3px; flex: 0 0 auto; }
.account-summary-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(250px, .75fr); gap: 18px; margin-bottom: 20px; }
.account-identity-card { padding: 21px; }.detail-grid-roomy { margin-bottom: 4px; }
.shared-inline-warning { margin-top: 17px; padding: 10px 12px; border: 1px solid #f0d7a8; border-radius: 10px; color: #8a601d; background: #fff8e9; font-size: 10px; line-height: 1.45; }
.metric-stack { display: grid; gap: 10px; }
.metric-card { display: flex; align-items: center; gap: 13px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 6px 24px rgb(30 47 76 / 4%); }
.metric-card > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: var(--primary); background: var(--primary-soft); font-size: 16px; }.metric-card > div { display: grid; gap: 1px; }.metric-card strong { font-size: 20px; }.metric-card small { color: var(--muted); font-size: 10px; }
.metric-card > span .ui-icon { width: 19px; height: 19px; }
.account-content-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 18px; }
.simple-list, .operation-list { padding: 8px 18px 14px; }
.simple-list-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 11px 3px; border-bottom: 1px solid var(--line); }.simple-list-row:last-child { border: 0; }.simple-list-row > div { display: grid; gap: 3px; }.simple-list-row strong { font-size: 12px; }.simple-list-row small { color: var(--muted); font-size: 9px; }.simple-list-row > span:last-child { color: var(--primary); }
.operation-row { display: flex; align-items: center; gap: 11px; padding: 12px 3px; border-bottom: 1px solid var(--line); }.operation-row:last-child { border: 0; }.operation-symbol { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: var(--primary); background: var(--primary-soft); }.operation-row > div { min-width: 0; display: grid; gap: 3px; }.operation-row strong { font-size: 11px; }.operation-row small { color: var(--muted); font-size: 9px; }.operation-row .status { margin-left: auto; }
.count-badge-large { align-self: center; padding: 9px 13px; font-size: 11px; }

.script-editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; align-items: start; gap: 20px; }
.script-preview-column { display: grid; gap: 16px; position: sticky; top: 18px; }
.editor-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.editor-label-row > span { color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.editor-label-row > span.is-over-limit { color: var(--danger); font-weight: 750; }
.format-toolbar { display: flex; align-items: center; gap: 5px; padding: 7px; border: 1px solid #dce2e9; border-bottom: 0; border-radius: 11px 11px 0 0; background: #f8fafc; }
.format-toolbar button { width: 32px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 7px; color: #536174; background: transparent; cursor: pointer; font-size: 12px; }
.format-toolbar button:hover { color: var(--primary); background: var(--primary-soft); }
textarea.form-control.script-textarea { height: 280px; min-height: 180px; padding: 13px 14px; resize: vertical; border-radius: 0 0 11px 11px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.65; }
.media-dropzone { min-height: 92px; display: flex; align-items: center; justify-content: center; gap: 13px; padding: 17px; border: 1px dashed #a9cfee; border-radius: 13px; color: #3f78a8; background: #f6fbff; cursor: pointer; text-align: left; }
.media-dropzone:hover { border-color: var(--primary); background: #eef8ff; }
.media-input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.media-drop-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; color: white; background: var(--primary); font-size: 21px; }
.media-drop-icon .ui-icon { width: 21px; height: 21px; }
.media-dropzone > span:last-child { display: grid; gap: 4px; }.media-dropzone strong { font-size: 12px; }.media-dropzone small { color: #7894ab; font-size: 9px; }
.selected-media-list { display: grid; gap: 6px; }
.selected-media-list:empty { display: none; }
.selected-media-list > span { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; color: #465365; background: #fbfcfd; font-size: 10px; }
.selected-media-list i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; color: var(--violet); background: #f0edff; font-style: normal; }.selected-media-list small { color: var(--muted); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.form-checkbox { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--primary); }.checkbox-row > span { display: grid; gap: 3px; }.checkbox-row strong { font-size: 10px; }.checkbox-row small { color: var(--muted); font-size: 9px; }
.telegram-preview-card { overflow: hidden; border: 1px solid #cfe3f4; border-radius: var(--radius); background: white; box-shadow: 0 10px 30px rgb(42 91 130 / 8%); }
.telegram-preview-head { display: flex; align-items: center; gap: 11px; padding: 15px 17px; border-bottom: 1px solid #e3edf5; }.telegram-preview-head .brand-mark { width: 32px; height: 32px; border-radius: 10px; }.telegram-preview-head .brand-mark svg { width: 18px; }.telegram-preview-head > div { display: grid; gap: 2px; }.telegram-preview-head strong { font-size: 11px; }.telegram-preview-head small { color: var(--muted); font-size: 9px; }
.telegram-chat-preview, .telegram-stage { padding: 24px 18px; background: linear-gradient(rgb(227 240 249 / 83%), rgb(216 234 246 / 88%)), radial-gradient(#9fbfd5 1px, transparent 1px); background-size: auto, 18px 18px; }
.telegram-media-placeholder { height: 130px; display: grid; place-items: center; align-content: center; gap: 7px; margin: 0 0 -8px auto; border-radius: 14px 14px 3px 3px; color: #4285b6; background: linear-gradient(145deg, #d7edfc, #c1e0f5); }.telegram-media-placeholder span { font-size: 30px; }.telegram-media-placeholder small { font-size: 9px; }
.telegram-bubble, .telegram-message-preview { position: relative; width: min(100%, 285px); margin-left: auto; padding: 11px 12px 18px; border-radius: 14px 4px 14px 14px; background: #e7ffd8; box-shadow: 0 3px 10px rgb(64 104 132 / 12%); }
.telegram-bubble p { min-height: 18px; margin: 0; color: #263c31; font-size: 11px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }.telegram-bubble time, .telegram-message-preview > time { position: absolute; right: 8px; bottom: 4px; color: #6c9d76; font-size: 8px; }
.script-rules-card { border-color: var(--line); background: white; }
.script-detail-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); align-items: start; gap: 18px; margin-bottom: 18px; }
.script-preview-panel { overflow: hidden; }.telegram-stage { min-height: 510px; display: grid; place-items: center; padding: 38px; }
.telegram-message-preview { width: min(540px, 100%); padding: 5px 5px 22px; border-radius: 16px 5px 16px 16px; }
.script-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; overflow: hidden; border-radius: 12px 3px 8px 8px; }.script-media-grid.media-count-1 { grid-template-columns: 1fr; }
.script-media-grid figure { position: relative; min-height: 135px; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; background: #d8e2e9; }.script-media-grid img, .script-media-grid video { width: 100%; height: 100%; display: block; object-fit: cover; }.video-badge { position: absolute; left: 7px; bottom: 7px; padding: 4px 7px; border-radius: 6px; color: white; background: rgb(18 30 43 / 68%); font-size: 8px; }
.tg-message-text { padding: 10px 8px 3px; color: #263c31; font-size: 12px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }.tg-message-text a { color: #167bc5; text-decoration: underline; }.tg-message-text code { padding: 1px 3px; border-radius: 4px; background: rgb(51 87 66 / 10%); font-family: ui-monospace, monospace; }.tg-message-text pre { margin: 4px 0; padding: 8px; overflow-x: auto; border-radius: 7px; background: rgb(51 87 66 / 10%); white-space: pre-wrap; }.tg-spoiler { color: #34473c; background: #34473c; border-radius: 3px; }.tg-spoiler:hover { color: inherit; background: rgb(52 71 60 / 12%); }
.script-version-metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }.script-version-metrics span { display: grid; gap: 3px; padding: 14px 10px; color: var(--muted); font-size: 8px; text-align: center; }.script-version-metrics span + span { border-left: 1px solid var(--line); }.script-version-metrics strong { color: #324052; font-size: 12px; }
.version-history-panel { overflow: hidden; }.version-list { padding: 8px 15px 14px; }.version-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 5px; border-bottom: 1px solid var(--line); }.version-row:last-child { border: 0; }.version-row > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #6f7c8d; background: #f0f3f6; font-size: 10px; font-weight: 750; }.version-row > div { display: grid; gap: 3px; }.version-row strong { font-size: 10px; }.version-row small { color: var(--muted); font-size: 8px; }.version-row > i { color: #9aabc0; font-style: normal; }.version-row.is-active > span { color: white; background: var(--primary); }.version-row.is-active > i { color: var(--primary); }
.media-files-panel { overflow: hidden; }.media-file-list { padding: 8px 18px 14px; }.media-file-list > a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 3px; border-bottom: 1px solid var(--line); }.media-file-list > a:last-child { border: 0; }.media-file-list > a > div { display: grid; gap: 3px; }.media-file-list strong { font-size: 11px; }.media-file-list small { color: var(--muted); font-size: 8px; }.media-file-list > a > span:last-child { color: var(--primary); font-size: 9px; font-weight: 650; }
.text-muted { color: var(--muted); }

/* Campaign builder, immutable preview, and live execution */
.campaign-builder { display: grid; gap: 18px; }
.recurrence-settings { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(280px, 1.2fr); gap: 18px; }
.recurrence-toggle-card { display: flex; align-items: center; gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfd; cursor: pointer; }
.recurrence-toggle-card > span { display: grid; gap: 4px; }.recurrence-toggle-card strong { font-size: 11px; }.recurrence-toggle-card small { color: var(--muted); font-size: 9px; line-height: 1.5; }
.recurrence-interval-field { display: grid; align-content: center; gap: 7px; opacity: .48; transition: opacity .2s ease; }.campaign-step.is-enabled .recurrence-interval-field { opacity: 1; }
.recurrence-interval-field > span:first-child { color: #586679; font-size: 9px; font-weight: 700; }.recurrence-interval-field > small { color: var(--muted); font-size: 8px; line-height: 1.5; }
.interval-input-row { display: flex; align-items: center; gap: 9px; }.interval-input-row .form-control { max-width: 150px; }.interval-input-row b { color: #647287; font-size: 10px; }
.operational-settings-layout { display: grid; gap: 18px; }.operational-risk-notice { margin-bottom: 18px; }.settings-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 20px; }.settings-field-grid label { display: grid; gap: 7px; }.settings-field-grid label > span:first-child { color: #4d5b6d; font-size: 9px; font-weight: 700; }.settings-field-grid label > small { color: var(--muted); font-size: 8px; line-height: 1.5; }.settings-field-wide { grid-column: 1 / -1; }.settings-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); }
.campaign-step { overflow: hidden; }
.campaign-step .panel-header > div { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 11px; }
.campaign-step .panel-header h2, .campaign-step .panel-header p { grid-column: 2; }
.step-number { grid-row: 1 / span 2; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; color: white; background: var(--primary); font-size: 12px; font-weight: 750; }
.campaign-step-body { padding: 22px; }
.campaign-step-body > .form-control { max-width: 660px; }
.selection-summary { padding: 7px 10px; border-radius: 9px; color: var(--primary); background: var(--primary-soft); font-size: 10px; font-weight: 700; }
.account-picker-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.account-picker-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfe; transition: border-color .15s ease, box-shadow .15s ease; }
.account-picker-card.is-selected { border-color: #a9d5fb; box-shadow: 0 8px 22px rgb(32 134 224 / 8%); }
.account-picker-head { min-height: 72px; display: flex; align-items: center; gap: 11px; padding: 13px 15px; border-bottom: 1px solid var(--line); background: white; cursor: pointer; }
.account-picker-head > span:nth-of-type(2) { min-width: 0; display: grid; gap: 3px; }
.account-picker-head strong { font-size: 12px; }.account-picker-head small { color: var(--muted); font-size: 9px; }
.account-picker-head .status { margin-left: auto; }
.folder-picker-list { display: grid; padding: 8px 13px 12px; }
.folder-picker-row { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 3px; border-bottom: 1px solid var(--line); cursor: pointer; }
.folder-picker-row:last-child { border-bottom: 0; }.folder-picker-row > span:last-child { min-width: 0; display: grid; gap: 3px; }.folder-picker-row strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.folder-picker-row small { color: var(--muted); font-size: 8px; }
.folder-picker-row input:disabled ~ span { opacity: .5; }.folder-picker-row input:disabled { cursor: not-allowed; }
.forum-picker-list { margin: 0 13px 13px; padding: 11px 12px; border: 1px solid #d9eafa; border-radius: 11px; background: #f5faff; }
.forum-picker-heading { display: grid; gap: 3px; margin-bottom: 9px; }.forum-picker-heading strong { color: #36536d; font-size: 10px; }.forum-picker-heading small { color: #7891a6; font-size: 8px; }
.forum-picker-chat + .forum-picker-chat { margin-top: 10px; padding-top: 10px; border-top: 1px solid #dceaf5; }.forum-picker-chat > div:first-child { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; }.forum-picker-chat > div:first-child strong { font-size: 9px; }
.topic-symbol { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 7px; color: var(--primary); background: white; font-size: 10px; font-weight: 800; }.topic-choice-list { display: flex; flex-wrap: wrap; gap: 6px; }.topic-choice { display: flex; align-items: center; gap: 5px; padding: 6px 8px; border: 1px solid #d9e4ed; border-radius: 8px; color: #526275; background: white; cursor: pointer; font-size: 8px; }.topic-choice:has(input:checked) { color: #226ea8; border-color: #a9d5f7; background: #edf7ff; }.topic-choice input { width: 13px; height: 13px; }.topic-choice input:disabled + span { opacity: .5; }
.table-topic-list { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }.table-topic-list i { padding: 3px 5px; border-radius: 5px; color: #3979a9; background: #edf7ff; font-size: 7px; font-style: normal; }
.picker-empty { margin: 7px 2px 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.campaign-field-error { display: block; padding: 0 22px 14px; }
.script-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.script-choice-card { min-height: 84px; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; }
.script-choice-card:has(input:checked) { border-color: #9ed0fa; background: #f4faff; box-shadow: 0 7px 19px rgb(35 133 220 / 8%); }
.script-choice-card input { width: 16px; height: 16px; accent-color: var(--primary); }.script-choice-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--violet); background: #f0edff; }.script-choice-card > span:nth-of-type(2) { min-width: 0; display: grid; gap: 4px; }.script-choice-card strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.script-choice-card small { color: var(--muted); font-size: 8px; }.script-choice-card > i { color: var(--primary); opacity: 0; font-style: normal; font-weight: 800; }.script-choice-card:has(input:checked) > i { opacity: 1; }
.campaign-submit-bar { position: sticky; z-index: 5; bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 19px; border: 1px solid #cfe5f8; border-radius: 15px; background: rgb(255 255 255 / 95%); box-shadow: 0 14px 36px rgb(25 66 105 / 13%); backdrop-filter: blur(12px); }.campaign-submit-bar > div { display: grid; gap: 4px; }.campaign-submit-bar strong { font-size: 11px; }.campaign-submit-bar small { color: var(--muted); font-size: 9px; }
.campaign-readiness { margin-bottom: 18px; }

.preview-impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.impact-card { min-height: 94px; display: flex; align-items: center; gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 5px 18px rgb(30 47 76 / 4%); }.impact-card > span { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; color: var(--primary); background: var(--primary-soft); }.impact-card > div { display: grid; gap: 2px; }.impact-card strong { font-size: 22px; }.impact-card small { color: var(--muted); font-size: 9px; }.impact-primary { color: white; border-color: transparent; background: linear-gradient(145deg, #2b92e8, #247ed0); }.impact-primary > span { color: white; background: rgb(255 255 255 / 17%); }.impact-primary small { color: #dcefff; }
.impact-card > span .ui-icon { width: 20px; height: 20px; }
.campaign-preview-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .65fr); align-items: start; gap: 18px; }.campaign-preview-main { display: grid; gap: 18px; }.campaign-message-preview { position: sticky; top: 18px; }.campaign-message-preview .telegram-stage { min-height: 480px; padding: 25px; }
.campaign-route-list { padding: 7px 19px 14px; }.campaign-route-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 11px; padding: 12px 3px; border-bottom: 1px solid var(--line); }.campaign-route-row:last-child { border-bottom: 0; }.campaign-route-row > div { display: grid; gap: 3px; }.campaign-route-row strong { font-size: 11px; }.campaign-route-row small { color: var(--muted); font-size: 8px; }.campaign-route-row b { font-size: 17px; }
.preview-start-form { display: grid; gap: 15px; padding: 20px; }.launch-check { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; }.launch-check > span { display: grid; gap: 3px; }.launch-check strong { font-size: 10px; }.launch-check small { color: var(--muted); font-size: 9px; }

.campaign-progress-panel { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); gap: 25px; padding: 22px; margin-bottom: 18px; }.campaign-progress-copy > div:first-child { display: flex; align-items: baseline; gap: 7px; }.campaign-progress-copy strong { font-size: 30px; }.campaign-progress-copy span, .campaign-progress-copy small { color: var(--muted); font-size: 10px; }.progress.progress-large { width: 100%; height: 9px; display: block; margin: 11px 0 7px; }.campaign-counter-grid { display: grid; grid-template-columns: repeat(6, 1fr); }.campaign-counter-grid > div { display: grid; justify-items: center; gap: 4px; padding: 10px; border-left: 1px solid var(--line); text-align: center; }.campaign-counter-grid strong { font-size: 20px; }.campaign-counter-grid span { color: var(--muted); font-size: 8px; }.counter-success strong { color: var(--success); }.counter-danger strong { color: var(--danger); }.counter-warning strong { color: var(--warning); }
.campaign-detail-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr); gap: 18px; margin-bottom: 18px; }.campaign-lane-list { padding: 7px 19px 14px; }.campaign-lane { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 3px; border-bottom: 1px solid var(--line); }.campaign-lane:last-child { border-bottom: 0; }.campaign-lane-main { min-width: 0; display: grid; gap: 7px; }.campaign-lane-main > div:first-child { display: flex; align-items: center; gap: 8px; }.campaign-lane-main strong { font-size: 11px; }.campaign-lane-main .progress { width: 100%; }.campaign-lane-main small { overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.campaign-lane > b { font-size: 13px; }.lane-action { color: var(--primary); font-size: 9px; font-weight: 700; }
.campaign-snapshot-list { display: grid; gap: 0; margin: 0; padding: 10px 20px 17px; }.campaign-snapshot-list > div { padding: 11px 2px; border-bottom: 1px solid var(--line); }.campaign-snapshot-list > div:last-child { border-bottom: 0; }.campaign-snapshot-list dt { margin-bottom: 4px; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .4px; }.campaign-snapshot-list dd { margin: 0; color: #364355; font-size: 10px; line-height: 1.45; }.delivery-log-panel { overflow: hidden; }.button-danger { color: var(--danger); border-color: #f1d4d7; }.campaign-live-status { min-height: 30px; }
.schedule-controls { display: grid; gap: 10px; padding: 0 20px 18px; }.schedule-controls p { margin: 0; font-size: 9px; line-height: 1.5; }.schedule-controls .button { width: 100%; }
.clickable-row { cursor: pointer; }.clickable-row:hover { background: #f8fbfe; }.table-primary-link { display: grid; }.table-primary-link:hover { color: var(--primary); }
.replacement-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); align-items: start; gap: 18px; }.replacement-form { display: grid; gap: 16px; padding: 19px; }.replacement-account-list { display: grid; gap: 9px; }.replacement-account-list .script-choice-card { grid-template-columns: auto auto minmax(0, 1fr) auto; }.replacement-impact-panel { overflow: hidden; }.replacement-metrics { display: grid; grid-template-columns: repeat(3, 1fr); }.replacement-metrics > div { display: grid; gap: 4px; padding: 22px 12px; border-bottom: 1px solid var(--line); text-align: center; }.replacement-metrics > div + div { border-left: 1px solid var(--line); }.replacement-metrics strong { font-size: 23px; }.replacement-metrics span { color: var(--muted); font-size: 8px; line-height: 1.4; }.replacement-metrics .replacement-metric-primary strong { color: var(--primary); }.replacement-confirm { display: grid; gap: 13px; padding: 18px; }.replacement-notice { margin: 18px; }

.analytics-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; padding: 16px 18px; }
.compact-filter { min-width: 135px; display: grid; gap: 6px; color: #677487; font-size: 9px; font-weight: 700; }
.compact-filter-wide { min-width: 220px; flex: 1; }
.compact-filter input, .compact-filter select { width: 100%; height: 37px; padding: 0 10px; border: 1px solid #dce2e9; border-radius: 9px; outline: none; color: #344154; background: white; font: inherit; font-size: 10px; font-weight: 500; }
.compact-filter input:focus, .compact-filter select:focus { border-color: #7cbaef; box-shadow: 0 0 0 3px rgb(37 136 232 / 8%); }
.filter-actions { display: flex; gap: 7px; }
.delivery-filter-bar { border-bottom: 1px solid var(--line); background: #fbfcfd; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.pagination > div { display: flex; gap: 7px; }

.audit-panel { margin-top: 18px; overflow: hidden; }
.audit-list { padding: 8px 20px 14px; }
.audit-row { display: grid; grid-template-columns: 76px 12px minmax(0, 1fr); gap: 12px; padding: 16px 0; }
.audit-time { display: grid; align-content: start; justify-items: end; gap: 3px; color: var(--muted); font-size: 9px; }.audit-time strong { color: #4a586a; font-size: 10px; }
.audit-marker { position: relative; width: 9px; height: 9px; margin-top: 4px; border: 2px solid white; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 2px #a9d5f7; }.audit-marker::after { content: ""; position: absolute; top: 10px; left: 2px; height: 100px; border-left: 1px solid #d9e4ed; }.audit-row:last-child .audit-marker::after { display: none; }
.audit-body { min-width: 0; padding: 0 0 15px; border-bottom: 1px solid var(--line); }.audit-row:last-child .audit-body { border-bottom: 0; }.audit-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }.audit-title strong { color: #2e3d50; font-size: 12px; }.audit-object-reference { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 7px; }.audit-object-reference > span { padding: 3px 7px; border-radius: 7px; color: #667589; background: #eef3f7; font-size: 8px; font-weight: 750; text-transform: uppercase; letter-spacing: .35px; }.audit-object-reference > a, .audit-object-reference > strong { overflow-wrap: anywhere; font-size: 10px; }.audit-object-reference > a span { margin-left: 2px; }.audit-changes { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, max-content)); gap: 7px; margin: 10px 0 0; }.audit-changes > div { min-width: 0; padding: 8px 10px; border: 1px solid #e4eaf0; border-radius: 10px; background: #f9fbfd; }.audit-changes dt { margin-bottom: 4px; color: #8490a0; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }.audit-changes dd { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: 0; color: #566477; font-size: 10px; overflow-wrap: anywhere; }.audit-changes dd strong { color: #2f4157; }.audit-change-arrow { color: var(--primary); font-weight: 800; }.audit-body > .audit-actor { margin: 8px 0 0; color: var(--muted); font-size: 9px; }

.account-log-panel { margin-top: 18px; overflow: hidden; }
.log-export-form { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; padding: 17px 20px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.export-list { padding: 7px 20px 14px; }.export-row { display: flex; align-items: center; gap: 13px; padding: 12px 2px; border-bottom: 1px solid var(--line); }.export-row:last-child { border: 0; }.export-row > div { min-width: 0; display: grid; gap: 3px; }.export-row strong { font-size: 10px; }.export-row small { color: var(--muted); font-size: 8px; }.export-row > :last-child { margin-left: auto; }

.mobile-nav, .mobile-more-menu, .mobile-more-backdrop { display: none; }
.member-create-panel { margin-bottom: 20px; scroll-margin-top: 18px; }
.member-management-panel { overflow: hidden; }
.member-list-header p { max-width: 780px; line-height: 1.55; }
.member-list-header p strong { color: #465365; }
.member-table { min-width: 980px; }
.member-role-form { display: flex; align-items: center; gap: 7px; }
.member-role-select { width: 118px; height: 34px; padding-top: 0; padding-bottom: 0; font-size: 11px; }
.member-access-form { margin: 0; }
.member-self-note { color: var(--muted); font-size: 10px; white-space: nowrap; }
.member-table tr[id], .proxy-management-panel tr[id] { scroll-margin-top: 92px; }
.member-table tr[id]:target, .proxy-management-panel tr[id]:target { background: #f0f8ff; box-shadow: inset 3px 0 var(--primary); }

/* Public development entry */
.entry-page { display: grid; place-items: center; min-height: 100vh; padding: 28px; background: radial-gradient(circle at 80% 10%, #dcedff, transparent 36%), linear-gradient(145deg, #f7faff, #eef4fb); }
.entry-card { width: min(980px, 100%); min-height: 570px; display: grid; grid-template-columns: 1.02fr .98fr; overflow: hidden; border: 1px solid rgb(255 255 255 / 70%); border-radius: 28px; background: white; box-shadow: 0 30px 80px rgb(38 68 110 / 14%); }
.entry-visual { position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #0e2036, #163a62); }
.entry-visual::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / 18%) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, black, transparent); }
.entry-logo { position: relative; z-index: 2; width: 112px; height: 112px; display: grid; place-items: center; border-radius: 34px; background: linear-gradient(145deg, #42adf7, #1b7ddd); box-shadow: 0 25px 55px rgb(1 17 35 / 34%); transform: rotate(-5deg); }
.entry-logo svg { width: 61px; fill: white; }
.entry-orbit { position: absolute; border: 1px solid rgb(114 192 255 / 23%); border-radius: 50%; }.orbit-one { width: 290px; height: 290px; }.orbit-two { width: 430px; height: 430px; }
.floating-card { position: absolute; z-index: 3; padding: 9px 13px; border: 1px solid rgb(255 255 255 / 12%); border-radius: 10px; color: #d9eeff; background: rgb(18 54 86 / 77%); backdrop-filter: blur(8px); box-shadow: 0 12px 30px rgb(0 0 0 / 15%); font-size: 10px; font-weight: 650; }
.card-one { top: 20%; left: 10%; }.card-two { right: 8%; bottom: 22%; }.card-three { left: 10%; bottom: 11%; }
.entry-copy { display: flex; flex-direction: column; justify-content: center; padding: 58px; }
.brand-dark { margin: 0 0 42px; color: var(--text); }.entry-kicker { margin-bottom: 14px; color: var(--primary); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: 1px; }
.entry-copy h1 { margin-bottom: 19px; font-size: clamp(32px, 4vw, 47px); line-height: 1.08; letter-spacing: -1.8px; }.entry-copy > p:not(.entry-kicker):not(.entry-note) { margin-bottom: 30px; color: var(--muted); line-height: 1.7; }
.entry-copy .button { align-self: flex-start; }.entry-note { display: flex; align-items: center; gap: 7px; margin: 17px 0 0; color: #8a94a3; font-size: 10px; }.entry-note i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.simple-state-card { max-width: 440px; padding: 50px; border-radius: 24px; background: white; box-shadow: var(--shadow); text-align: center; }.simple-state-card h1 { margin-bottom: 9px; }.simple-state-card p { margin: 0; color: var(--muted); line-height: 1.6; }.state-icon { width: 55px; height: 55px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 18px; font-size: 25px; font-weight: 750; }.state-icon-danger { color: var(--danger); background: #fdecee; }

@media (max-width: 1150px) {
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid, .script-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-start { grid-template-columns: 1fr 1fr; }.quick-start > i { display: none; }
}

@media (max-width: 860px) {
    .app-shell { display: block; }
    .sidebar { display: none; }
    .main-area { min-height: 100vh; }
    .topbar { position: sticky; z-index: 8; top: 0; height: 72px; padding: 0 20px; }.topbar .eyebrow, .environment-badge, .user-copy, .topbar form { display: none; }.topbar h1 { font-size: 20px; }.user-chip { padding: 0; border: 0; }
    .page-content { padding: 24px 18px 100px; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .mobile-nav { position: fixed; z-index: 20; inset: auto 0 0; height: calc(72px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); padding: 7px 8px env(safe-area-inset-bottom); border-top: 1px solid rgb(214 222 232 / 90%); background: rgb(255 255 255 / 96%); box-shadow: 0 -8px 30px rgb(28 48 78 / 8%); backdrop-filter: blur(15px); }
    .mobile-nav-item { min-width: 0; height: 57px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0; border: 0; border-radius: 12px; outline: 0; color: #8792a1; background: transparent; cursor: pointer; }
    .mobile-nav-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; transition: color .16s ease, background .16s ease, transform .16s ease; }.mobile-nav-icon .ui-icon { width: 20px; height: 20px; }.mobile-nav-label { max-width: 100%; overflow: hidden; font-size: 9px; font-weight: 600; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
    .mobile-nav-item.is-active { color: var(--primary); }.mobile-nav-item.is-active .mobile-nav-icon { background: var(--primary-soft); }.mobile-nav-item:active .mobile-nav-icon { transform: scale(.94); }.mobile-nav-item:focus-visible .mobile-nav-icon { outline: 2px solid #80bdf2; outline-offset: 2px; }
    .mobile-nav .mobile-create .mobile-nav-icon { width: 42px; height: 42px; margin-top: -20px; border-radius: 14px; color: white; background: linear-gradient(145deg, #36a0ef, #197bd8); box-shadow: 0 8px 20px rgb(37 136 232 / 30%); }.mobile-nav .mobile-create .mobile-nav-icon .ui-icon { width: 22px; height: 22px; }.mobile-nav .mobile-create .mobile-nav-label { margin-top: 1px; }.mobile-nav .mobile-create.is-active .mobile-nav-icon { color: white; background: linear-gradient(145deg, #36a0ef, #197bd8); }
    .mobile-more-backdrop { position: fixed; z-index: 24; inset: 0; display: block; background: rgb(10 24 42 / 35%); backdrop-filter: blur(2px); }
    .mobile-more-menu { position: fixed; z-index: 25; inset: auto 0 0; max-height: calc(100vh - 56px); display: block; overflow: auto; padding-bottom: env(safe-area-inset-bottom); border: 1px solid var(--line); border-width: 1px 0 0; border-radius: 24px 24px 0 0; background: white; box-shadow: 0 -18px 60px rgb(18 39 68 / 22%); }
    .mobile-more-head { min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 12px; border-bottom: 1px solid #eef1f5; }.mobile-more-head > div { display: grid; gap: 3px; }.mobile-more-head strong { font-size: 17px; }.mobile-more-head small { color: var(--muted); font-size: 10px; }.mobile-more-head button { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 12px; outline: 0; color: #687588; background: #f1f4f7; cursor: pointer; }.mobile-more-head button .ui-icon { width: 18px; height: 18px; }.mobile-more-head button:focus-visible { outline: 2px solid #80bdf2; outline-offset: 2px; }
    .mobile-more-links { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 10px 12px 14px; }.mobile-more-links > a { min-width: 0; min-height: 58px; display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; transition: background .16s ease; }.mobile-more-links > a:active { background: #f3f7fb; }.mobile-more-links .mobile-more-icon { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; color: #427fb6; background: #edf6fe; }.mobile-more-icon .ui-icon { width: 20px; height: 20px; }.mobile-more-links > a > div { min-width: 0; display: grid; gap: 3px; }.mobile-more-links strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }.mobile-more-links small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.mobile-more-links .mobile-more-arrow { width: 25px; height: 25px; display: grid; place-items: center; margin-left: auto; flex: 0 0 auto; color: #a0aaba; }.mobile-more-arrow .ui-icon { width: 16px; height: 16px; }.mobile-more-links > a.is-active { color: #176fbe; background: #f0f8ff; }.mobile-more-links > a.is-active .mobile-more-icon { color: white; background: var(--primary); }
    body.mobile-menu-open { overflow: hidden; }
    .composer-layout, .form-layout, .proxy-replacement-layout, .script-editor-layout, .script-detail-layout { grid-template-columns: 1fr; }.script-preview-column { position: static; }.stepper li { padding: 11px; }.stepper li > div { display: none; }
    .account-summary-grid, .account-content-grid, .campaign-preview-layout, .campaign-detail-grid, .replacement-layout, .recurrence-settings { grid-template-columns: 1fr; }
    .campaign-message-preview { position: static; }.preview-impact-grid { grid-template-columns: repeat(2, 1fr); }.script-choice-grid { grid-template-columns: repeat(2, 1fr); }.campaign-progress-panel { grid-template-columns: 1fr; }
    .entry-card { grid-template-columns: 1fr; min-height: 0; }.entry-visual { min-height: 250px; }.entry-copy { padding: 40px; }.entry-copy .brand { margin-bottom: 28px; }
}

@media (max-width: 620px) {
    .welcome-row, .page-heading { align-items: flex-start; }.page-heading { flex-wrap: wrap; }.welcome-row > div, .page-heading > div:first-child { min-width: 0; }.welcome-row .button, .page-heading > .button { flex: 0 0 auto; }
    .welcome-row h2 { font-size: 21px; }.welcome-row p, .page-heading p { font-size: 12px; }
    .welcome-row .button { width: 44px; padding: 0; }.welcome-row .button > span { display: none; }.welcome-row .button .ui-icon { width: 19px; height: 19px; }
    .page-heading .button .ui-icon { width: 16px; height: 16px; }.member-create-panel .panel-header { align-items: flex-start; }
    .stat-grid { gap: 10px; }.stat-card { min-height: 136px; padding: 15px; }.stat-card strong { font-size: 23px; }.stat-card > div span { font-size: 11px; }
    .panel-header { padding: 17px; }
    .quick-start { grid-template-columns: 1fr; }
    .toolbar { align-items: stretch; flex-direction: column; }.search-field { max-width: none; }.filter-pills { overflow-x: auto; }
    .card-grid, .script-grid { grid-template-columns: 1fr; }
    .page-heading > .heading-actions { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); flex: 1 0 100%; }.heading-actions { flex-wrap: wrap; justify-content: flex-end; }.heading-actions .button { min-height: 38px; padding: 0 11px; font-size: 11px; }
    .form-grid { grid-template-columns: 1fr; }.field-wide { grid-column: auto; }.stacked-form { padding: 18px; }.form-actions { margin: 22px -18px -18px; padding: 15px 18px; }.form-actions-between { align-items: stretch; flex-direction: column; }.form-actions-between > div { justify-content: flex-end; }
    .auth-card { min-height: 430px; padding: 34px 20px; }
    .messages { margin-top: 12px; padding: 0 18px; }.account-detail-heading { align-items: stretch; flex-direction: column; }.account-detail-heading .heading-actions { justify-content: flex-start; }.metric-stack { grid-template-columns: repeat(3, 1fr); }.metric-card { display: grid; justify-items: center; padding: 13px 8px; text-align: center; }.metric-card small { font-size: 8px; }
    .folder-row { margin-left: 0; grid-template-columns: auto minmax(0, 1fr) auto; }.folder-row .icon-button { display: none; }.count-badge { font-size: 9px; }
    .detail-grid { grid-template-columns: 1fr 1fr; }
    .account-picker-grid, .script-choice-grid, .settings-field-grid { grid-template-columns: 1fr; }.settings-field-wide { grid-column: auto; }.settings-actions { align-items: stretch; flex-direction: column; }.campaign-submit-bar { position: static; align-items: stretch; flex-direction: column; }.campaign-submit-bar .button { width: 100%; }.campaign-counter-grid { grid-template-columns: repeat(3, 1fr); }.campaign-counter-grid > div:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }.campaign-counter-grid > div:nth-child(n+5) { border-top: 1px solid var(--line); }
    .telegram-stage { min-height: 390px; padding: 22px 14px; }.script-version-metrics { grid-template-columns: repeat(2, 1fr); }.script-version-metrics span:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }.script-version-metrics span:nth-child(4) { border-top: 1px solid var(--line); }.format-toolbar { overflow-x: auto; }
    .entry-page { padding: 0; }.entry-card { min-height: 100vh; border-radius: 0; }.entry-visual { min-height: 210px; }.entry-logo { width: 80px; height: 80px; border-radius: 24px; }.entry-logo svg { width: 44px; }.orbit-one { width: 210px; height: 210px; }.orbit-two { width: 330px; height: 330px; }.entry-copy { padding: 34px 26px 44px; }.entry-copy h1 { font-size: 34px; }.floating-card { font-size: 8px; }.card-one { top: 14%; }.card-three { display: none; }
    .member-management-panel { overflow: visible; border: 0; background: transparent; box-shadow: none; }.member-list-header { margin-bottom: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: white; }.member-table { min-width: 0; }.member-table thead { display: none; }.member-table, .member-table tbody, .member-table tr, .member-table td { display: block; width: 100%; }.member-table tr { margin-bottom: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 5px 18px rgb(30 47 76 / 4%); }.member-table td { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 0; border: 0; border-bottom: 1px solid #edf0f4; text-align: right; }.member-table td::before { content: attr(data-label); flex: 0 0 auto; color: #8993a3; font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .4px; }.member-table td:last-child { padding-bottom: 0; border-bottom: 0; }.member-table .member-person-cell { justify-content: flex-start; padding-top: 0; text-align: left; }.member-table .member-person-cell::before { display: none; }.member-role-form { flex-wrap: wrap; justify-content: flex-end; }.member-access-form .button { width: 100%; }.member-table td:last-child .member-access-form { width: 100%; }.member-self-note { white-space: normal; }
    .analytics-toolbar, .log-export-form { align-items: stretch; flex-direction: column; }.compact-filter, .compact-filter-wide { width: 100%; min-width: 0; }.filter-actions { justify-content: flex-end; }.pagination { align-items: stretch; flex-direction: column; }.audit-list { padding: 6px 14px 12px; }.audit-row { grid-template-columns: 48px 8px minmax(0, 1fr); gap: 7px; }.audit-time { justify-items: start; }.audit-changes { grid-template-columns: 1fr; }.export-row { align-items: flex-start; }.export-row .button { min-height: 34px; padding: 0 10px; }
}

@media (min-width: 540px) and (max-width: 860px) {
    .mobile-more-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
}
