:root {
  --ink: #1c2c45; --muted: #63758e; --bg: #f3f7fc; --line: #e1e9f3;
  --accent: #1468d4; --accent-dark: #105fc3; --pale: #eaf4ff; --navy: #102a4b;
  --radius: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.6 "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; } a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; } button { cursor: pointer; }
button, a, input, select, textarea, summary { outline-offset: 4px; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 252px; padding: 33px 20px 21px; background: var(--navy); color: #fff; display: flex; flex-direction: column; overflow-y: auto; z-index: 10; }
.brand { display: flex; align-items: center; gap: 13px; font-size: 17px; line-height: 1.25; font-weight: 400; letter-spacing: -.2px; color: #fff; }
.brand:hover { color: #fff; }.brand b { font-weight: 700; }.brand-symbol { position: relative; display: block; width: 37px; height: 42px; flex-shrink: 0; }
.brand-symbol i { position: absolute; width: 23px; height: 23px; border-radius: 6px; transform: rotate(-12deg); background: #78c9ff; top: 0; left: 1px; }
.brand-symbol i:nth-child(2) { background: #328ff0; top: 10px; left: 13px; }.brand-symbol i:nth-child(3) { width: 12px; height: 12px; background: #d4eeff; top: 25px; left: 2px; border-radius: 3px; }
.navigation { margin-top: 32px; }.navigation>summary { display: none; }.nav-group { font-size: 9px; letter-spacing: 1.6px; font-weight: 650; color: #89a4c4; margin: 23px 14px 9px; }
.nav-group:first-child { margin-top: 0; }.nav-item { display: flex; align-items: center; gap: 12px; min-height: 45px; padding: 10px 13px; border-radius: 9px; color: #b7cbe1; font-size: 12px; font-weight: 500; margin: 3px 0; transition: background .15s, color .15s; }
.nav-item:hover { background: #1a395c; color: #fff; }.nav-item.active { background: #176ed9; color: #fff; box-shadow: 0 6px 16px #06192b25; }
.nav-item .icon { width: 18px; height: 18px; }.nav-marker { width: 5px; height: 5px; background: #c6e8ff; border-radius: 50%; margin-left: auto; }
.sidebar-footer { margin-top: auto; padding-top: 26px; }.account { display: flex; align-items: center; gap: 10px; padding: 17px 9px 0; border-top: 1px solid #ffffff17; font-size: 11px; }.account small { display: block; color: #91acca; font-size: 9px; margin-top: 2px; }
.account-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #254b72; color: #bfe5ff; font-size: 12px; font-weight: 600; }
.text-button { display: inline-flex; gap: 8px; align-items: center; background: none; border: 0; padding: 10px 0; color: var(--muted); font-size: 12px; }.text-button:hover { color: var(--accent); }.text-button .icon { width: 16px; height: 16px; }.sidebar-footer .text-button { color: #8faecc; padding: 12px 9px 0; font-size: 10px; }
main { margin-left: 252px; min-height: 100vh; display: flex; flex-direction: column; }.topbar { height: 76px; background: #ffffffc9; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 42px; gap: 15px; }
.breadcrumb { display: flex; gap: 14px; font-size: 12px; color: #8190a5; }.breadcrumb b { font-weight: 500; color: #415875; }.breadcrumb-separator { color: #bdcbdc; }.environment { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; padding: 6px 10px; border: 1px solid #d4e6fc; border-radius: 6px; color: #4b7ca9; background: #f1f7ff; white-space: nowrap; }.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #458fdf; }
.content { padding: 34px 42px 45px; max-width: 1560px; width: 100%; margin: 0 auto; flex: 1; }.page-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 2px 0 30px; }
h1 { font-size: 32px; letter-spacing: -.9px; line-height: 1.23; margin: 5px 0 10px; font-weight: 650; } h2 { font-size: 17px; margin: 0 0 13px; font-weight: 650; letter-spacing: -.2px; } h3 { font-size: 18px; line-height: 1.4; font-weight: 600; } p { margin: 8px 0 16px; }.muted { color: var(--muted); }.small { font-size: 12px; }.eyebrow { color: #4783bd; font-size: 9px; letter-spacing: 1.9px; font-weight: 700; margin: 0 0 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #d7e3f2; border-radius: 9px; background: #fff; padding: 11px 17px; font-size: 12px; font-weight: 600; color: #37618b; min-height: 42px; transition: .15s ease; }.button:hover { border-color: #a9cef9; background: #f0f7ff; }.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 4px 10px #1976e818; }.button.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }.button .icon { width: 18px; height: 18px; }.full { width: 100%; }
.notice { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; background: #eaf4ff; border: 1px solid #d5e9ff; border-radius: 10px; color: #47749f; padding: 13px 17px; margin: 18px 0 25px; font-size: 11px; }.pill { display: inline-block; color: #286dac; background: #d6eaff; font-size: 9px; font-weight: 700; letter-spacing: .5px; padding: 3px 7px; border-radius: 4px; white-space: nowrap; }
.stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin: 26px 0; }.stat { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 22px; position: relative; overflow: hidden; }.stat>span { font-size: 12px; color: #687d98; }.stat strong { display: block; font-weight: 600; letter-spacing: -.8px; font-variant-numeric: tabular-nums; font-size: 33px; line-height: 1.25; margin: 15px 0 6px; }.stat small { font-size: 22px; font-weight: 400; color: #8ba1b9; }.stat p { font-size: 10px; color: #7d90a8; margin: 6px 0 0; }.stat:first-child { color: #fff; background: linear-gradient(120deg,#145dc0,#206fc5); border-color: transparent; }.stat:first-child>span,.stat:first-child small,.stat:first-child p { color: #e3f2ff; }.stat:first-child:after { content: ''; position: absolute; right: -18px; top: -26px; width: 94px; height: 94px; border: 18px solid #ffffff0d; border-radius: 50%; pointer-events: none; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 24px; overflow: hidden; box-shadow: 0 3px 12px #163d6a03; }.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 23px 25px; border-bottom: 1px solid #eaf0f8; }.panel-head h2 { margin: 0; }.panel-head>a { color: #4081be; font-size: 11px; }.padded { padding: 27px; }.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.75fr) minmax(280px,1fr); gap: 24px; align-items: stretch; }
.accent-panel { padding: 28px; background: #eaf4ff; border-color: #d8e9fc; }.accent-panel h2 { font-size: 25px; line-height: 1.25; color: #214875; margin: 12px 0; }.accent-panel p:not(.eyebrow) { color: #6386ab; font-size: 12px; max-width: 300px; }.accent-panel .button { background: #fff; border-color: #c3dcfa; }.flow-visual { display: flex; gap: 20px; margin-top: 22px; font-size: 27px; color: #398cdd; }.flow-visual span { color: #a2c6ed; }
.setup-list { margin: 21px 0 0; padding: 0; list-style: none; }.setup-list li { display: flex; gap: 12px; align-items: center; padding: 13px 0; border-top: 1px solid #cddff2; }.setup-number { width: 27px; height: 27px; border-radius: 8px; display: grid; place-items: center; background: #fff; color: #3487d4; font-size: 11px; font-weight: 700; }.setup-list strong { font-size: 12px; font-weight: 600; }.setup-list small { display: block; color: #6a89aa; font-size: 10px; }
table { width: 100%; border-collapse: collapse; text-align: left; }th { color: #758ba6; background: #f7faff; padding: 13px 24px; font-weight: 500; font-size: 10px; white-space: nowrap; }td { padding: 18px 24px; border-bottom: 1px solid #edf2f8; font-size: 12px; }tbody tr:last-child td { border-bottom: 0; }tbody tr:hover { background: #fbfdff; }.number { font-variant-numeric: tabular-nums; font-weight: 600; }.product-icon { display: inline-grid; place-items: center; width: 34px; height: 38px; margin-right: 12px; border-radius: 9px; background: #eaf4ff; color: #428cdc; font-size: 18px; vertical-align: middle; }.table-note { padding: 0 24px; margin: 15px 0; font-size: 10px; color: #60768f; }.table-scroll { overflow-x: auto; }.count { background: #edf5ff; color: #376a9d; border-radius: 5px; padding: 3px 7px; font-size: 10px; margin-left: 7px; }.row-title { font-weight: 600; }.row-sub { display: block; color: #62758e; font-size: 10px; margin-top: 5px; }.badge { display: inline-block; padding: 4px 9px; border-radius: 5px; color: #6a7e97; background: #eff3f8; font-size: 10px; }.badge.published { background: #e7f3ff; color: #287bc7; }.badge.archived { color: #7e8ca2; background: #f0f2f6; }.badge.draft { background: #fff5e5; color: #9d7938; }.danger { color: #b44b56; }.notice.danger { color: #b44b56; border-color: #f1cdd2; background: #fff3f4; }.search { max-width: 240px; margin: 0!important; font-size: 11px!important; background: #f7faff!important; }
.empty { text-align: center; color: #8095af; padding: 47px 22px; }.empty>span { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 19px; background: #f0f7ff; color: #6aa8e7; font-size: 29px; }.empty h3 { color: #375778; margin: 17px 0 8px; }.empty p { font-size: 12px; }.empty .icon { width: 28px; height: 28px; }
.editor-grid { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(270px,1fr); gap: 25px; align-items: start; }.editor-aside .panel { position: sticky; top: 20px; }.editor-aside p { font-size: 12px; }label { display: block; margin-bottom: 21px; font-size: 12px; font-weight: 600; color: #39506e; }input:not([type=checkbox]),select,textarea { display: block; width: 100%; border: 1px solid #d6e2f0; border-radius: 8px; padding: 11px 13px; background: #fbfdff; color: #263e5d; margin-top: 8px; font-size: 13px; min-width: 0; }input::placeholder,textarea::placeholder { color: #9aabc0; }textarea { resize: vertical; }input:focus,select:focus,textarea:focus { background: #fff; border-color: #4796ec; outline: 3px solid #e3f0ff; }.field-help { display: block; margin-top: 7px; font-weight: 400; font-size: 10px; color: #63768f; }.required { color: #739bc7; }.checkbox-label { display: flex; align-items: center; gap: 9px; }.checkbox-label input,input[type=checkbox] { accent-color: var(--accent); }.back-link { display: inline-block; font-size: 12px; color: #628ab2; margin-bottom: 13px; }.file-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }.inline-form { display: flex; flex-wrap: wrap; align-items: end; gap: 20px; margin-top: 25px; }.inline-form label { flex: 1; margin: 0; }.buttons-editor { padding: 17px; margin: 22px 0; border: 1px solid var(--line); border-radius: 10px; }.buttons-editor legend { color: #5882b2; font-size: 12px; }.button-edit-row { display: flex; gap: 9px; }.button-edit-row input:first-child { width: 32%; }.button-edit-row input:last-child { width: 30%; }.button-edit-row select { width: 38%; }.step-card { padding: 18px; margin: 16px 0; border: 1px solid var(--line); border-radius: 11px; }.step-card summary { display: flex; gap: 10px; align-items: center; cursor: pointer; font-size: 12px; }.step-card form { margin-top: 20px; }.step-number { background: #e9f4ff; color: #4689c9; border-radius: 6px; padding: 4px 10px; font-weight: 600; }
.phone-preview { max-width: 420px; margin: 25px auto; background: #e2eefb; border: 7px solid #fff; border-radius: 24px; padding: 16px; box-shadow: 0 8px 30px #193f6510; }.telegram-header { text-align: center; font-weight: 650; }.telegram-header small { display: block; color: #6989a9; }.telegram-message { white-space: pre-wrap; background: #fff; border-radius: 12px; padding: 16px; font-size: 13px; margin-top: 17px; }.telegram-message small { font-size: 10px; color: #8099b5; }.preview-button { border-top: 1px solid #e7eff8; color: #3e86ce; padding: 10px; text-align: center; font-size: 12px; }.activity { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12px; }.activity .muted { margin-right: 15px; }footer { display: flex; justify-content: space-between; gap: 12px; padding: 22px 42px; font-size: 10px; color: #60768f; border-top: 1px solid var(--line); }
.auth-body { display: grid; place-items: center; min-height: 100vh; background: #eef5fe; }.auth-card { max-width: 460px; width: calc(100% - 32px); padding: 38px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }.auth-card h1 { font-size: 27px; }.auth-card form { margin-top: 24px; }
.login-body { min-height: 100vh; display: grid; grid-template-columns: 1.12fr 1fr; background: #f7faff; }.login-story { position: relative; display: flex; flex-direction: column; min-height: 100vh; padding: 47px 62px 30px; background: linear-gradient(145deg,#103e75 0%,#155eb2 58%,#1565b1 100%); color: #fff; overflow: hidden; }.login-story:after { content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%; border: 70px solid #ffffff04; right: -260px; top: 20%; pointer-events: none; }.login-story .brand { font-size: 18px; }.login-intro { margin: auto 0; padding: 70px 0; position: relative; z-index: 1; max-width: 580px; }.login-intro .eyebrow { color: #a8d6ff; font-size: 10px; }.login-intro h1 { font-size: clamp(30px,3.4vw,53px); font-weight: 600; line-height: 1.2; letter-spacing: -1.7px; margin: 25px 0; }.login-intro h1 span { color: #9edcff; }.login-intro>p:not(.eyebrow) { color: #c3dffa; font-size: 14px; line-height: 1.85; max-width: 440px; }.login-story-footer { color: #d5ebff; font-size: 11px; }.journey { display: flex; gap: 12px; align-items: start; margin-top: 48px; max-width: 490px; }.journey>div { flex: 1; min-width: 0; }.journey>div>span { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #ffffff36; background: #ffffff12; border-radius: 13px; margin-bottom: 15px; color: #d6efff; }.journey>div b { display: block; font-size: 12px; font-weight: 600; }.journey small { display: block; color: #acd2f4; font-size: 10px; margin-top: 4px; }.journey>i { width: 30px; height: 1px; background: #ffffff36; margin-top: 23px; }
.login-form-area { position: relative; display: grid; place-items: center; padding: 65px 45px; }.login-form { max-width: 350px; width: 100%; }.login-lock { display: grid; place-items: center; width: 48px; height: 48px; color: #428fe4; background: #e8f2ff; border: 1px solid #dceaff; border-radius: 14px; margin-bottom: 30px; }.login-form .eyebrow { color: #566f8f; letter-spacing: 1.7px; margin-bottom: 13px; }.login-form h2 { font-size: 30px; letter-spacing: -.8px; line-height: 1.25; margin-bottom: 10px; }.login-form>.muted { font-size: 13px; }.login-form form { margin-top: 34px; }.login-form input { min-height: 47px; background: #fff; }.login-form .button { min-height: 47px; justify-content: space-between; padding: 12px 17px; margin-top: 6px; }.login-hint { display: flex; align-items: center; justify-content: center; gap: 7px; color: #607896; font-size: 10px; margin-top: 24px; }.login-hint .icon { width: 12px; height: 12px; }.login-form-footer { position: absolute; bottom: 30px; color: #a1b0c3; font-size: 10px; }
@media(min-width:1500px) { .login-story { padding-left: 90px; }.login-intro { max-width: 630px; }.login-intro h1 { font-size: 58px; } }
@media(max-width:1150px) { .sidebar { width: 220px; padding-left: 14px; padding-right: 14px; }main { margin-left: 220px; }.content { padding: 30px 26px; }.topbar { padding: 0 26px; }.stats { gap: 12px; }.stat { padding: 19px 16px; }.stat strong { font-size: 28px; }.dashboard-grid { grid-template-columns: 1.4fr 1fr; }.editor-grid { grid-template-columns: minmax(0,1.4fr) minmax(235px,1fr); gap: 18px; }.login-story { padding: 38px; }.login-intro h1 { font-size: 37px; }.journey { gap: 8px; }.journey>i { width: 10px; } }
@media(max-width:950px) { .stats { grid-template-columns: repeat(2,minmax(0,1fr)); }.dashboard-grid,.editor-grid { grid-template-columns: 1fr; }.login-body { grid-template-columns: 1fr 1fr; }.login-story { padding: 35px 28px; }.login-intro h1 { font-size: 31px; letter-spacing: -.8px; }.journey { flex-wrap: wrap; }.journey>i { display: none; }.journey small { display: none; }.journey>div b { font-size: 10px; }.login-form-area { padding: 50px 28px; }.login-form h2 { font-size: 26px; } }
@media(max-width:800px) { .sidebar { position: static; width: 100%; padding: 17px 20px; overflow: visible; }.sidebar .brand { font-size: 15px; }.brand-symbol { transform: scale(.85); transform-origin: left center; width: 34px; }.navigation { margin-top: 15px; }.navigation>summary { display: flex; align-items: center; justify-content: space-between; font-size: 11px; cursor: pointer; padding: 9px 0 0; color: #c5ddf5; }.navigation>summary .icon { width: 17px; height: 17px; }.navigation nav { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 8px; margin-top: 15px; }.navigation:not([open]) nav { display: none; }.nav-group { display: none; }.nav-item { min-height: 40px; padding: 9px 10px; font-size: 11px; }.nav-item .icon { width: 15px; height: 15px; }.sidebar-footer { display: none; }main { margin: 0; }.topbar { height: 57px; padding: 0 20px; }.breadcrumb { gap: 8px; font-size: 10px; }.environment { font-size: 9px; }.content { padding: 27px 20px 35px; }.page-head { flex-wrap: wrap; align-items: start; gap: 14px; margin-bottom: 23px; }h1 { font-size: 29px; }.stats { gap: 12px; }.stat { padding: 20px 17px; }.stat strong { font-size: 30px; }.panel-head { padding: 19px 20px; flex-wrap: wrap; }.padded { padding: 22px; }.button-edit-row { flex-direction: column; gap: 0; margin-bottom: 16px; }.button-edit-row input:first-child,.button-edit-row input:last-child,.button-edit-row select { width: 100%; }.file-row { flex-wrap: wrap; }.inline-form { display: block; }.inline-form label { margin-bottom: 18px; }footer { padding: 20px; }footer span:last-child { display: none; } }
@media(max-width:650px) { .login-body { display: block; }.login-story { min-height: auto; padding: 25px 30px 28px; }.login-story .brand { font-size: 15px; }.login-intro { padding: 29px 0 0; max-width: none; margin: 0; }.login-intro .eyebrow { font-size: 8px; margin-bottom: 13px; }.login-intro h1 { font-size: 31px; letter-spacing: -.8px; margin: 14px 0 0; }.login-intro>p:not(.eyebrow),.journey,.login-story-footer { display: none; }.login-form-area { display: block; padding: 33px 30px 55px; }.login-form { margin: auto; max-width: 420px; }.login-lock { display: none; }.login-form h2 { font-size: 26px; }.login-form form { margin-top: 24px; }.login-form-footer { position: static; display: block; text-align: center; margin-top: 34px; } }
@media(max-width:380px) { .stats { grid-template-columns: 1fr; }.topbar { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; }.page-head .button { width: 100%; } }
@media(prefers-reduced-motion:reduce) { * { scroll-behavior: auto!important; transition: none!important; } }

.mobile-logout { display: none; }
@media(max-width:800px) { .mobile-logout { display:block; border-top:1px solid #ffffff20; margin-top:12px; padding-top:5px; }.mobile-logout .text-button { color:#d3e7fb; } }
