@import url('./glass.css');

:root {
  color-scheme: light;
  --bg: #f4f6f4;
  --ink: #222d25;
  --muted: #65786b;
  --line: #e7ebe8;
  --green: #435c4b;
  --accent: #435c4b;
  --glass: #fff;
  --glass-shadow: none;
  --radius: 8px;
  font-family: 'Inter','Segoe UI',-apple-system,BlinkMacSystemFont,sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
}
body::before,body::after { display: none; }
h1 { font-size: 27px; line-height: 1.3; font-weight: 650; letter-spacing: -.6px; }
h2 { font-size: 16px; font-weight: 650; letter-spacing: -.15px; }
h3 { font-size: 15px; font-weight: 600; letter-spacing: 0; }
::selection { color: #222d25; background: #e7ebe8; }
::-webkit-scrollbar-track { background: #f4f6f4; }
::-webkit-scrollbar-thumb { background: #b4c0b7; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible { outline-color: #65786b; outline-width: 2px; }
.skip-link { color: white; background: #435c4b; border-radius: 5px; }
.sidebar {
  inset: 0 auto 0 0; width: 232px; border: 0; border-right: 1px solid #2d4134;
  border-radius: 0; padding: 28px 15px 19px; background: #222d25;
  box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
}
.brand { padding: 0 12px; gap: 11px; }
.brand-mark { width: 32px; height: 32px; filter: none; }
.brand-word { font-size: 22px; letter-spacing: 2px; text-transform: uppercase; font-weight: 650; color: #f4f6f4; }
.brand-sub { color: #89998e; font-size: 8px; letter-spacing: 1.15px; margin-top: 7px; font-weight: 500; }
.workspace { padding: 34px 12px 13px; font-size: 9px; color: #65786b; letter-spacing: 1.25px; font-weight: 500; }
.nav { gap: 4px; }
.nav-item { min-height: 42px; padding: 11px 12px; color: #b4c0b7; font-weight: 500; font-size: 12px; border-radius: 5px; border: 0; gap: 11px; }
.nav-item .icon { color: #89998e; width: 18px; height: 18px; stroke-width: 1.6; }
.nav-item:hover { background: #222d25; color: #f4f6f4; }
.nav-item.active { color: #fff; background: #2d4134; border: 0; box-shadow: inset 3px 0 #89998e; }
.nav-item.active .icon { color: #d5ddd7; }
.nav-count { background: #ffffff0b; color: #b4c0b7; border-radius: 3px; min-width: 19px; font-size: 10px; padding: 1px 5px; }
.nav-count.green { color: #d5ddd7; background: #65786b3d; }
.nav-divider { background: #2d4134; margin: 17px 12px; }
.sidebar-bottom { margin-top: auto; padding-top: 24px; }
.help-card { display: none!important; }
.sidebar-system { padding: 14px 10px 17px; display: flex; align-items: center; gap: 9px; font-size: 10px; line-height: 1.8; color: #89998e; }
.sidebar-system .icon { color: #89998e; width: 17px; height: 17px; }
.sidebar-system strong { display: block; color: #b4c0b7; font-size: 10px; font-weight: 500; }
.user-button { border-color: #2d4134; padding: 17px 9px 0; }
.avatar { border-radius: 5px; background: #f4f6f4; border: 1px solid #d5ddd7; color: #435c4b; box-shadow: none; font-size: 11px; }
.avatar.green { background: #e7ebe8; color: #435c4b; border-color: #e7ebe8; }
.avatar.purple { background: #f4f6f4; color: #435c4b; border-color: #e7ebe8; }
.sidebar .avatar { color: #d5ddd7; background: #2d4134; border: 1px solid #2d4134; border-radius: 5px; }
.user-name { font-weight: 600; font-size: 12px; color: #e7ebe8; }
.user-role { color: #89998e; font-size: 10px; margin-top: 5px; }
.user-button>.icon { color: #89998e; }
.main { margin-left: 232px; }
.topbar { height: 67px; padding: 0 32px; border-bottom: 1px solid #e7ebe8; background: #ffffffdc; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); gap: 24px; }
.breadcrumbs { color: #65786b; font-size: 11px; gap: 11px; flex-shrink: 0; }
.breadcrumbs .home-icon { color: #65786b; }
.breadcrumbs .slash { color: #b4c0b7; }
.breadcrumbs .current { color: #2d4134; font-weight: 500; }
.command-trigger { height: 33px; width: 245px; min-width: 170px; margin-left: auto; display: flex; align-items: center; gap: 9px; padding: 0 10px; background: #fafbfa; border: 1px solid #e7ebe8; border-radius: 5px; color: #65786b; text-align: left; font-size: 11px; }
.command-trigger:hover { border-color: #b4c0b7; background: #f4f6f4; }
.command-trigger .icon { width: 14px; height: 14px; color: #65786b; }
.command-trigger kbd { margin-left: auto; background: #fff; border: 1px solid #d5ddd7; padding: 1px 4px; font-size: 9px; font-family: inherit; color: #89998e; border-radius: 3px; }
.topbar-actions { gap: 15px; }
.demo-label { font-size: 10px; color: #65786b; border: 0; border-radius: 0; padding: 0; background: none; white-space: nowrap; }
.demo-label .dot { width: 5px; height: 5px; background: #65786b; box-shadow: none; }
.topbar-demo-button:hover { color: #435c4b; }
.icon-button { color: #65786b; border-radius: 5px; }
.icon-button:hover { color: #435c4b; background: #f4f6f4; }
.topbar-vline { background: #d5ddd7; }
.notification-dot { background: #435c4b; box-shadow: 0 0 0 2px white; }
.topbar-avatar { border-radius: 5px; }
.content { max-width: 1500px; padding: 29px 32px 24px; }
.page-heading { gap: 20px; margin-bottom: 24px; align-items: flex-end; }
.page-kicker { font-size: 9px; letter-spacing: 1.2px; font-weight: 500; color: #65786b; margin-bottom: 9px; }
.page-heading h1 { font-size: 27px; letter-spacing: -.6px; font-weight: 650; color: #222d25; }
.page-heading p { color: #65786b; font-size: 12px; margin-top: 9px; line-height: 1.7; }
.page-actions { gap: 8px; }
.button { min-height: 37px; padding: 9px 14px; font-size: 11px; border-radius: 5px; font-weight: 500; gap: 8px; box-shadow: none!important; }
.button.primary,.button.light { background: #435c4b; color: #fff; border: 1px solid #435c4b; }
.button.primary:hover,.button.light:hover { background: #2d4134; border-color: #2d4134; }
.button.secondary { color: #435c4b; border: 1px solid #d5ddd7; background: #fff; }
.button.secondary:hover { background: #fafbfa; border-color: #b4c0b7; }
.button.soft { color: #435c4b; border-color: #e7ebe8; background: #f4f6f4; }
.button.soft:hover { background: #e7ebe8; }
.button.danger { color: #a1454e; background: #fbf1f2; border-color: #f0d8db; }
.button.ghost { color: #65786b; }
.button.large { border-radius: 5px; min-height: 43px; font-size: 12px; }
.text-button { color: #435c4b; font-size: 11px; font-weight: 500; }
.text-button:hover { color: #2d4134; }
.period-select { height: 37px; width: 126px; border-radius: 5px; border-color: #d5ddd7; background: #fff; color: #435c4b; font-size: 11px; padding-top: 9px; padding-bottom: 9px; }
.period-control>.icon { top: 12px; color: #65786b; }
select option { color: #2d4134; background: #fff; }
.kpis { margin-top: 0; gap: 14px; }
.stat-card,.panel,.account-card,.ad-card,.form-panel,.info-card,.faq,.wallet-card { background: #fff; border: 1px solid #e7ebe8; border-radius: 8px; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.stat-card { padding: 18px 19px 16px; transition: border-color .15s; }
.stat-card:hover { transform: none; border-color: #b4c0b7; }
.stat-card:last-child { background: #fff; border-top: 2px solid #65786b; padding-top: 17px; }
.stat-label { font-size: 12px; font-weight: 400; color: #65786b; }
.stat-icon { background: none; border: 0; width: 24px; height: 24px; border-radius: 0; color: #89998e; }
.stat-icon .icon { width: 16px; height: 16px; }
.stat-value { font-size: 29px; font-weight: 650; color: #222d25; letter-spacing: -.7px; margin-top: 12px; }
.stat-bottom { color: #65786b; font-size: 10px; margin-top: 8px; min-height: 14px; gap: 5px; }
.trend { font-size: 10px; color: #65786b; gap: 4px; }
.trend .icon { width: 11px; height: 11px; }
.stat-link { color: #89998e; right: 13px; bottom: 16px; }
.workflow-panel { margin-top: 20px; padding: 19px 23px 21px; background: #fafbfa; border: 1px solid #d5ddd7; border-radius: 8px; }
.workflow-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 19px; }
.workflow-header h2 { font-size: 12px; color: #435c4b; font-weight: 600; letter-spacing: .05px; }
.workflow-header .text-button { font-size: 10px; }
.workflow-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 25px; }
.flow-node { position: relative; text-align: left; padding: 0; min-width: 0; }
.flow-node:not(:last-child)::after { content: ''; position: absolute; width: 26px; height: 1px; background: #d5ddd7; top: 13px; right: -14px; }
.flow-node:hover .flow-label { color: #435c4b; }
.flow-node-top { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.flow-step { color: #89998e; font-size: 10px; font-family: 'Consolas',monospace; }
.flow-node-top .icon { width: 15px; height: 15px; color: #65786b; }
.flow-label { font-size: 11px; font-weight: 500; color: #435c4b; }
.flow-value { font-size: 20px; font-weight: 600; color: #2d4134; letter-spacing: -.3px; display: inline-block; margin-right: 7px; font-variant-numeric: tabular-nums; }
.flow-subtitle { color: #65786b; font-size: 10px; line-height: 1.8; display: block; margin-top: 3px; }
.dashboard-middle { margin-top: 20px; gap: 19px; grid-template-columns: minmax(0,1.85fr) minmax(280px,1fr); }
.panel-header { padding: 20px 22px 15px; gap: 15px; }
.panel-header h2 { font-size: 15px; color: #2d4134; font-weight: 600; }
.panel-header p { color: #65786b; font-size: 11px; margin-top: 6px; }
.chart-card { padding-bottom: 15px; }
.chart-key { color: #65786b; font-size: 9px; gap: 12px; }
.chart-key i { background: #435c4b; box-shadow: none; border-radius: 1px; }
.chart-key .pale i { background: #b4c0b7; }
.chart-wrap { height: 183px; margin: 1px 22px 0 14px; }
.income-chart text { fill: #65786b; font-family: 'Segoe UI',sans-serif; font-size: 10px; }
.income-chart line { stroke: #e7ebe8; }
.income-chart line[stroke-width] { stroke: #b4c0b7; }
.income-chart path[stroke] { stroke: #435c4b; stroke-width: 2.2; filter: none; }
#chart-fill stop:first-child { stop-color: #65786b; stop-opacity: .13; }
#chart-fill stop:last-child { stop-color: #89998e; stop-opacity: 0; }
.chart-point circle { fill: #435c4b; stroke: #e7ebe8; stroke-width: 3; }
.chart-tooltip { color: #fff; background: #2d4134; border-color: #2d4134; border-radius: 5px; box-shadow: 0 4px 15px #2d413418; }
.chart-footer { color: #65786b; margin: 9px 22px 0; padding-top: 12px; border-color: #f4f6f4; font-size: 10px; }
.chart-footer strong { color: #65786b; font-size: 10px; }
.account-list { padding: 0 20px 3px; }
.account-row { border-color: #f4f6f4; padding: 16px 0; gap: 10px; }
.account-row .avito-symbol { border-radius: 6px; width: 33px; height: 33px; }
.avito-symbol { background: #fafbfa; border: 1px solid #e7ebe8; border-radius: 6px; box-shadow: none; }
.avito-symbol i { box-shadow: none; }
.avito-symbol i:first-child { background: #89998e; }
.avito-symbol i:nth-child(2) { background: #8fb572; }
.avito-symbol i:nth-child(3) { background: #cf8ea1; }
.avito-symbol i:nth-child(4) { background: #9f8cc7; }
.account-name { font-size: 12px; color: #435c4b; font-weight: 500; }
.account-meta { color: #89998e; font-size: 10px; }
.status { border-radius: 4px; padding: 4px 7px; font-size: 10px; font-weight: 400; color: #65786b; background: #f4f6f4; border: 1px solid #e7ebe8; }
.status::before { box-shadow: none; width: 3px; height: 3px; }
.status.active,.status.completed,.status.paid { color: #568371; background: #f1f7f4; border-color: #dcece4; }
.status.review,.status.work,.status.pending { color: #92753c; background: #fcf8ef; border-color: #efe5ce; }
.status.new,.status.published { color: #435c4b; background: #f4f6f4; border-color: #e7ebe8; }
.status.draft,.status.paused,.status.canceled { color: #65786b; background: #fafbfa; border-color: #e7ebe8; }
.account-row .status { font-size: 9px; padding: 4px 6px; }
.accounts-footer { border: 1px solid #e7ebe8; border-radius: 5px; color: #65786b; background: #fafbfa; font-size: 11px; min-height: 33px; margin: 1px 20px 17px; width: calc(100% - 40px); }
.accounts-footer:hover { color: #435c4b; border-color: #b4c0b7; background: #fafbfa; }
.table-count { color: #65786b; border: 1px solid #e7ebe8; background: #fafbfa; border-radius: 3px; font-size: 10px; height: 19px; min-width: 20px; vertical-align: 1px; }
.dashboard-bottom { margin-top: 20px; }
.table-panel .panel-header { padding: 20px 22px 18px; }
.table-subtitle { font-size: 10px; color: #89998e; }
.data-table { font-size: 12px; color: #65786b; }
.data-table th { border-color: #e7ebe8; background: #fafbfa; color: #65786b; font-size: 10px; padding: 12px 18px; }
.data-table td { border-color: #f4f6f4; padding: 15px 18px; }
.data-table tbody tr:hover { background: #fafbfa; }
.order-title,.data-table .order-title { color: #435c4b; font-size: 12px; font-weight: 500; margin-bottom: 4px; white-space: normal; line-height: 1.65; }
.order-detail-button:hover { color: #435c4b; }
.order-id,.data-table .order-id { color: #89998e; font-size: 10px; }
.data-table .money { font-size: 13px; color: #435c4b; font-weight: 600; }
.data-table .money.expected { color: #65786b; font-weight: 400; }
.manager-cell { color: #65786b; font-size: 11px; }
.mini-avatar { background: #f4f6f4; border: 1px solid #e7ebe8; color: #89998e; border-radius: 4px; font-size: 8px; }
.table-go { color: #89998e; border-radius: 4px; }
.table-go:hover { color: #435c4b; background: #f4f6f4; }
.footer { color: #89998e; font-size: 9px; padding-top: 21px; }
.footer button:hover { color: #435c4b; }
.footer-dot { background: #89998e; box-shadow: none; }
.section-note { color: #65786b; font-size: 12px; }
.section-intro { background: #fafbfa; border-color: #e7ebe8; border-radius: 7px; padding: 18px 22px; }
.section-intro .intro-icon { color: #65786b; background: #f4f6f4; border-color: #e7ebe8; border-radius: 6px; }
.section-intro h3 { color: #435c4b; font-size: 13px; }
.section-intro p { color: #65786b; font-size: 12px; }
.cards-grid,.ad-grid { gap: 19px; }
.account-card { padding: 24px; }
.account-card .avito-symbol { border-radius: 7px; }
.account-card h3 { font-size: 15px; color: #435c4b; font-weight: 500; }
.account-card p { color: #89998e; font-size: 12px; }
.account-card-info { border-color: #e7ebe8; }
.account-card-info strong { color: #435c4b; font-size: 24px; font-weight: 600; }
.account-card-info span { color: #89998e; font-size: 11px; }
.account-card .button { font-size: 11px; }
.add-account-card { min-height: 290px; border-radius: 8px; background: #fafbfa; border-color: #d5ddd7; color: #65786b; gap: 15px; }
.add-account-card:hover { background: #fafbfa; }
.add-account-card .add-icon { background: #f4f6f4; border-color: #e7ebe8; border-radius: 6px; }
.add-account-card strong { color: #65786b; font-size: 13px; font-weight: 500; }
.add-account-card p { color: #89998e; font-size: 11px; }
.service-chip { color: #65786b; background: #fff; border-color: #e7ebe8; border-radius: 4px; font-size: 11px; }
.service-chip.active { color: #435c4b; background: #fafbfa; border-color: #e7ebe8; }
.service-chip span { color: #89998e; background: #f4f6f4; border-radius: 3px; }
.tabs { background: #f4f6f4; border-color: #e7ebe8; border-radius: 5px; padding: 4px; gap: 2px; }
.tab { color: #65786b; font-size: 11px; border-radius: 3px; padding: 8px 12px; }
.tab.active { color: #435c4b; background: #fff; border-color: #e7ebe8; box-shadow: 0 1px 2px #2d413408; }
.tab-count { color: #89998e; background: #f4f6f4; border-radius: 2px; font-size: 9px; }
.search-field input { background: #fff; color: #435c4b; border-color: #d5ddd7; border-radius: 5px; font-size: 12px; }
.search-field input::placeholder { color: #89998e; }
.search-field .icon { color: #89998e; }
.ad-image { height: 128px; background: #f4f6f4; border-bottom: 1px solid #e7ebe8; color: #89998e; }
.ad-image.rats { background: #f4f6f4; color: #89998e; }
.ad-art { opacity: .25; right: 12px; width: 146px; height: 146px; }
.ad-service-label,.rats .ad-service-label { color: #89998e; font-size: 8px; letter-spacing: .9px; top: 18px; }
.ad-service-title,.rats .ad-service-title { color: #65786b; font-size: 21px; font-weight: 500; letter-spacing: -.4px; top: 39px; }
.ad-image .status { background: #ffffffcf; border-color: #e7ebe8; backdrop-filter: none; bottom: 12px; }
.ad-body h3 { color: #435c4b; font-size: 14px; font-weight: 500; }
.ad-body p { color: #89998e; font-size: 11px; }
.ad-stats { color: #89998e; border-color: #e7ebe8; font-size: 11px; }
.ad-actions .icon-button { border-color: #e7ebe8; border-radius: 4px; }
.empty-icon { color: #65786b; border-color: #e7ebe8; background: #fafbfa; border-radius: 7px; }
.empty h3 { color: #65786b; }
.empty p { color: #89998e; }
.pagination { color: #89998e; border-color: #e7ebe8; font-size: 11px; }
.pagination-buttons button { color: #89998e; border-radius: 4px; }
.pagination-buttons button.current { color: #435c4b; background: #f4f6f4; border-color: #e7ebe8; }
.pagination-buttons button:hover { background: #f4f6f4; }
.wallet-grid { gap: 19px; }
.wallet-card { padding: 25px; }
.wallet-card.balance { background: #2d4134; border-color: #2d4134; border-radius: 8px; }
.wallet-card.balance::after { display: none; }
.wallet-card p { color: #89998e; font-size: 12px; }
.wallet-card strong { color: #435c4b; font-size: 33px; font-weight: 600; letter-spacing: -.8px; }
.wallet-card>span { color: #89998e; font-size: 11px; }
.wallet-card.balance p { color: #d5ddd7; }
.wallet-card.balance strong { color: #fff; }
.wallet-card.balance>span { color: #b4c0b7; }
.wallet-card.balance .button { color: #435c4b; background: #fff; border-color: #fff; }
.wallet-card.balance .button:hover { background: #f4f6f4; }
.wallet-icon { color: #89998e; border-color: #e7ebe8; background: #fafbfa; border-radius: 6px; }
.notice { border-radius: 6px; background: #fafbfa; border-color: #e7ebe8; color: #89998e; font-size: 11px; }
.info-card,.faq,.form-panel { padding: 25px; }
.step-num { color: #65786b; background: #f4f6f4; border-color: #e7ebe8; border-radius: 5px; }
.info-card h3 { color: #65786b; }
.info-card p,.faq details p { color: #89998e; font-size: 12px; }
.faq details { border-color: #e7ebe8; }
.faq summary { color: #65786b; font-size: 13px; }
.faq summary::after { color: #89998e; }
.field label { color: #65786b; font-size: 12px; font-weight: 500; }
.field input,.field select,.field textarea { color: #435c4b; background: #fff; border-color: #d5ddd7; border-radius: 5px; box-shadow: none; font-size: 13px; }
.field input:focus,.field select:focus,.field textarea:focus { border-color: #89998e; }
.field input::placeholder,.field textarea::placeholder { color: #89998e; }
.field .hint { color: #89998e; font-size: 11px; }
.form-check { color: #89998e; font-size: 11px; }
.form-check input { accent-color: #435c4b; }
.toggle-row { color: #89998e; border-color: #e7ebe8; font-size: 13px; }
.toggle-row span { color: #89998e; }
.switch .slider { background: #e7ebe8; border-color: #d5ddd7; }
.switch .slider::before { background: #fff; box-shadow: 0 1px 2px #2d41341a; }
.switch input:checked+.slider { background: #65786b; border-color: #65786b; }
.switch input:checked+.slider::before { background: #fff; }
.subtle-divider { background: #e7ebe8; }
.manager-banner { border-radius: 6px; color: #89998e; background: #f4f6f4; border-color: #e7ebe8; }
.manager-banner strong { color: #65786b; }
.manager-banner .button { color: #65786b; background: #e7ebe8; border-color: #e7ebe8; }
.manager-stats .stat-label { font-size: 12px; }
.manager-orders .button { border-radius: 4px; font-size: 10px; }
.timeline-item::before { background: #d5ddd7; }
.timeline-dot { color: #89998e; background: #fafbfa; border-color: #e7ebe8; }
.timeline-item strong { color: #89998e; font-size: 12px; }
.timeline-item p { color: #b4c0b7; font-size: 11px; }
.detail-summary { color: #65786b; background: #fafbfa; border-color: #e7ebe8; border-radius: 6px; }
.detail-label { color: #b4c0b7; font-size: 11px; }
.detail-summary strong { color: #89998e; }
.detail-summary .large-amount { color: #65786b; }
.onboarding-prompt { background: #fafbfa; border-color: #e7ebe8; border-radius: 6px; }
.onboarding-prompt p { color: #89998e; }
.onboarding-label,.trend-label { color: #b4c0b7; }
.page-badge { color: #89998e; background: #f4f6f4; border-color: #e7ebe8; border-radius: 3px; }
.chart-kpi { color: #89998e; }
.line-balance { color: #b4c0b7; }
.modal-overlay { background: #222d2540; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.modal { background: #fff; border: 1px solid #e7ebe8; border-radius: 9px; box-shadow: 0 24px 80px #2d413429; backdrop-filter: none; -webkit-backdrop-filter: none; }
.modal-icon { color: #89998e; border-color: #e7ebe8; background: #fafbfa; border-radius: 6px; box-shadow: none; }
.modal h2 { color: #65786b; font-size: 23px; font-weight: 600; letter-spacing: -.4px; }
.modal-description { color: #89998e; font-size: 12px; }
.modal-close { color: #89998e; }
.modal .notice { color: #b4c0b7; }
.form-error { color: #ae6571; }
.success-ring { color: #89998e; background: #f4f6f4; border-color: #e7ebe8; }
.modal.success p { color: #b4c0b7; }
.inline-link { color: #89998e; }
.notification-item { border-color: #e7ebe8; }
.notification-icon { color: #b4c0b7; background: #fafbfa; border-color: #e7ebe8; border-radius: 5px; }
.notification-item strong { color: #89998e; }
.notification-item p { color: #b4c0b7; }
.notification-item small { color: #b4c0b7; }
.profile-menu { left: 16px; bottom: 86px; width: 214px; border-radius: 6px; border-color: #d5ddd7; background: #fff; box-shadow: 0 8px 30px #2d413422; backdrop-filter: none; }
.profile-menu button { color: #65786b; border-radius: 3px; font-size: 11px; }
.profile-menu button:hover { background: #fafbfa; }
.profile-menu hr { border-color: #e7ebe8; }
.toast { color: #435c4b; background: #fff; border-color: #d5ddd7; border-radius: 6px; box-shadow: 0 5px 25px #2d41341c; backdrop-filter: none; left: calc(50% + 116px); font-size: 12px; }
.toast .icon { color: #65786b; }
.support-option { color: #89998e; background: #fafbfa; border-color: #e7ebe8; border-radius: 6px; }
.support-option:hover { background: #fafbfa; }
.support-option .icon { color: #b4c0b7; }
.support-option strong { color: #89998e; }
.support-option span { color: #b4c0b7; }
.support-status { color: #d5ddd7; }
.privacy-text { color: #b4c0b7; }
.privacy-text h3 { color: #89998e; }
.command-dialog .modal-icon { display: none; }
.command-dialog h2 { font-size: 20px; }
.command-dialog .modal-description { margin-bottom: 18px; }
.command-input-wrap { position: relative; margin-bottom: 9px; }
.command-input-wrap>.icon { position: absolute; width: 17px; height: 17px; left: 13px; top: 14px; color: #89998e; }
#command-search { height: 46px; width: 100%; color: #435c4b; border: 1px solid #d5ddd7; border-radius: 5px; background: #fafbfa; padding: 12px 14px 12px 39px; font-size: 13px; }
#command-search::placeholder { color: #89998e; }
.command-results { max-height: 365px; overflow: auto; }
.command-group { font-size: 9px; letter-spacing: 1px; color: #89998e; margin: 17px 0 8px; font-weight: 500; }
.command-result { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; padding: 12px 10px; border: 1px solid transparent; border-radius: 4px; color: #65786b; }
.command-result>.icon { width: 17px; height: 17px; color: #89998e; }
.command-result:hover,.command-result.command-active { background: #fafbfa; border-color: #e7ebe8; }
.command-result strong { display: block; font-size: 12px; font-weight: 500; color: #65786b; }
.command-result small { display: block; font-size: 10px; margin-top: 4px; color: #b4c0b7; }
.command-result>span:last-child { margin-left: auto; color: #b4c0b7; }
.command-footer { border-top: 1px solid #e7ebe8; margin-top: 16px; padding-top: 12px; font-size: 10px; color: #b4c0b7; display: flex; justify-content: space-between; gap: 15px; }
.command-empty { color: #89998e; font-size: 12px; line-height: 1.9; padding: 28px 0; }
.page-fade { animation: none; }
.panel,.stat-card,.account-card,.ad-card { animation: none; }

@media(min-width:1550px) {
  .sidebar { inset: 0 auto 0 0; width: 244px; padding: 31px 17px 21px; }
  .main { margin-left: 244px; }
  .content { padding: 34px 40px 28px; }
  .topbar { height: 72px; padding: 0 40px; }
  .nav-item { font-size: 13px; }
  .page-heading h1 { font-size: 30px; }
  .stat-card { padding: 21px 23px 19px; }
  .stat-card:last-child { padding-top: 20px; }
  .stat-value { font-size: 34px; }
  .stat-label { font-size: 13px; }
  .stat-bottom,.trend { font-size: 11px; }
  .workflow-panel { padding: 22px 26px; }
  .workflow-header h2 { font-size: 14px; }
  .flow-label { font-size: 12px; }
  .flow-value { font-size: 23px; }
  .flow-subtitle { font-size: 11px; }
  .dashboard-middle { grid-template-columns: 1.85fr 1fr; }
  .panel-header h2 { font-size: 17px; }
  .panel-header p { font-size: 12px; }
  .chart-wrap { height: 218px; }
  .account-row { padding: 19px 0; }
  .account-name { font-size: 13px; }
  .account-meta { font-size: 11px; }
  .account-row .status { font-size: 10px; }
  .data-table { font-size: 13px; }
  .data-table th { font-size: 11px; }
  .data-table .order-title { font-size: 13px; }
  .manager-cell { font-size: 12px; }
  .data-table .money { font-size: 14px; }
  .footer { font-size: 10px; }
  .toast { left: calc(50% + 122px); }
}
@media(max-width:1190px) {
  .sidebar { width: 214px; inset: 0 auto 0 0; padding: 26px 12px 18px; }
  .main { margin-left: 214px; }
  .content { padding: 26px; }
  .topbar { padding: 0 26px; gap: 17px; }
  .brand-word { font-size: 21px; }
  .nav-item { font-size: 11px; }
  .command-trigger { width: 206px; font-size: 10px; }
  .command-trigger kbd { font-size: 8px; }
  .topbar-actions { gap: 11px; }
  .topbar .breadcrumb-root,.topbar .first-slash { display: none; }
  .page-heading h1 { font-size: 25px; }
  .page-heading p { font-size: 11px; }
  .page-actions .export-button { display: none; }
  .kpis { gap: 12px; }
  .stat-card { padding: 17px 15px; }
  .stat-card:last-child { padding-top: 16px; }
  .stat-label { font-size: 11px; }
  .stat-value { font-size: 26px; }
  .stat-bottom,.trend { font-size: 9px; }
  .workflow-panel { padding: 18px 20px; }
  .workflow-grid { gap: 21px; }
  .flow-label { font-size: 10px; }
  .flow-value { font-size: 18px; }
  .flow-subtitle { font-size: 9px; }
  .dashboard-middle { grid-template-columns: minmax(0,1.7fr) minmax(260px,1fr); gap: 16px; }
  .panel-header { padding: 19px 18px 14px; }
  .panel-header h2 { font-size: 14px; }
  .panel-header p { font-size: 10px; }
  .account-name { font-size: 11px; }
  .account-meta { font-size: 9px; }
  .account-row .status { font-size: 8px; }
  .account-list { padding-left: 16px; padding-right: 16px; }
  .chart-key { font-size: 8px; gap: 9px; }
  .data-table { font-size: 11px; }
  .data-table .order-title { font-size: 11px; }
  .data-table .order-id { font-size: 9px; }
  .data-table th,.data-table td { padding-left: 16px; padding-right: 16px; }
  .manager-cell { font-size: 10px; }
  .footer { font-size: 8px; }
  .wallet-card:last-child { display: block; }
  .wallet-card:last-child .wallet-icon { margin-bottom: 17px; }
  .wallet-card:last-child strong { margin-top: 17px; }
  .wallet-card:last-child>span { margin-top: 10px; }
  .toast { left: calc(50% + 107px); }
}
@media(max-width:1000px) {
  .sidebar { width: 200px; padding-left: 10px; padding-right: 10px; }
  .main { margin-left: 200px; }
  .brand { gap: 9px; padding-left: 9px; }
  .brand-mark { width: 29px; height: 29px; }
  .brand-word { font-size: 20px; }
  .brand-sub { font-size: 7px; letter-spacing: .8px; }
  .nav-item { font-size: 11px; padding-left: 9px; padding-right: 9px; gap: 9px; }
  .workspace { font-size: 8px; letter-spacing: .9px; padding-left: 9px; }
  .command-trigger { width: 190px; min-width: 0; }
  .command-trigger kbd { display: none; }
  .demo-label { font-size: 9px; }
  .content { padding: 24px 22px; }
  .topbar { height: 64px; padding: 0 22px; }
  .page-heading { flex-wrap: wrap; align-items: flex-start; gap: 15px; }
  .page-heading h1 { font-size: 25px; }
  .page-heading p { font-size: 12px; }
  .page-actions { margin-top: 0; }
  .kpis { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
  .stat-card { padding: 20px; }
  .stat-card:last-child { padding-top: 19px; }
  .stat-label { font-size: 12px; }
  .stat-value { font-size: 29px; }
  .stat-bottom,.trend { font-size: 10px; }
  .workflow-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 24px; }
  .flow-node:nth-child(2)::after { display: none; }
  .flow-label { font-size: 12px; }
  .flow-value { font-size: 21px; }
  .flow-subtitle { font-size: 10px; }
  .dashboard-middle { grid-template-columns: 1fr; gap: 18px; }
  .panel-header h2 { font-size: 15px; }
  .panel-header p { font-size: 11px; }
  .chart-wrap { height: 196px; }
  .dashboard-accounts .account-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; padding: 0 18px 14px; }
  .dashboard-accounts .account-row { flex-wrap: wrap; border: 1px solid #e7ebe8; border-radius: 5px; padding: 13px 11px; gap: 10px; }
  .dashboard-accounts .account-row .status { margin-left: 0; font-size: 8px; }
  .dashboard-accounts .account-row .account-name { color: #435c4b; font-size: 11px; }
  .dashboard-accounts .account-row .account-meta { font-size: 9px; }
  .data-table { min-width: 780px; }
  .toast { left: calc(50% + 100px); }
}
@media(max-width:760px) {
  .sidebar { inset: 0 auto 0 0; width: 240px; border-radius: 0; padding: 28px 15px 20px; background: #222d25; backdrop-filter: none; transform: translateX(-110%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar.open+.mobile-backdrop { background: #222d2555; backdrop-filter: blur(2px); }
  .sidebar .brand-word { font-size: 22px; }
  .sidebar .brand-mark { width: 32px; height: 32px; }
  .sidebar .brand-sub { font-size: 8px; letter-spacing: 1px; }
  .sidebar .workspace { font-size: 9px; letter-spacing: 1.2px; }
  .sidebar .nav-item { font-size: 12px; }
  .main { margin-left: 0; }
  .topbar { height: 63px; padding: 0 22px; gap: 13px; }
  .breadcrumbs { flex: 0; }
  .topbar .home-icon { display: none; }
  .command-trigger { margin-left: auto; width: 200px; min-width: 0; }
  .topbar-actions { gap: 11px; }
  .content { padding: 25px 22px; }
  .page-heading h1 { font-size: 27px; }
  .page-heading p { font-size: 12px; }
  .stat-label { font-size: 12px; }
  .stat-value { font-size: 30px; }
  .panel-header h2 { font-size: 15px; }
  .account-row .avito-symbol { border-radius: 5px; }
  .card,.panel,.stat-card { border-radius: 7px; }
  .wallet-card.balance { border-radius: 7px; }
  .wallet-card:last-child { display: block; }
  .toast { left: 50%; }
  .profile-menu { left: 15px; bottom: 85px; }
}
@media(max-width:530px) {
  .topbar { height: 59px; padding: 0 17px; gap: 10px; }
  .breadcrumbs { flex: 1; font-size: 10px; }
  .command-trigger { margin-left: 0; width: 29px; min-width: 29px; height: 30px; padding: 7px; border: 0; background: none; }
  .command-trigger span,.command-trigger kbd { display: none; }
  .command-trigger .icon { width: 16px; height: 16px; }
  .topbar-actions { gap: 6px; }
  .demo-label { padding: 0; border: 0; font-size: 8px; background: none; }
  .topbar-avatar { width: 28px; height: 28px; border-radius: 4px; font-size: 9px; }
  .content { padding: 23px 17px; }
  .page-heading { gap: 16px; margin-bottom: 22px; }
  .page-heading>div:first-child { width: 100%; }
  .page-kicker { font-size: 8px; letter-spacing: .85px; margin-bottom: 8px; }
  .page-heading h1 { font-size: 26px; letter-spacing: -.5px; }
  .page-heading p { max-width: none; color: #89998e; font-size: 11px; margin-top: 8px; }
  .page-actions { width: 100%; max-width: none; margin-top: 0; gap: 8px; }
  .page-actions .button { font-size: 10px; min-height: 35px; padding: 8px 11px; white-space: nowrap; border-radius: 4px; }
  .period-select { height: 35px; width: 114px; border-radius: 4px; font-size: 10px; padding-top: 8px; padding-bottom: 8px; }
  .period-control>.icon { top: 12px; }
  .kpis { margin-top: 0; gap: 11px; }
  .stat-card { padding: 16px 15px 15px; border-radius: 6px; }
  .stat-card:last-child { padding-top: 15px; }
  .stat-label { font-size: 11px; }
  .stat-value { font-size: 27px; letter-spacing: -.6px; margin-top: 12px; }
  .stat-bottom,.trend { font-size: 8px; }
  .stat-icon { width: 21px; height: 21px; background: none; }
  .stat-icon .icon { width: 13px; height: 13px; }
  .stat-link { right: 10px; bottom: 14px; }
  .workflow-panel { margin-top: 17px; padding: 18px 17px; border-radius: 6px; }
  .workflow-header { margin-bottom: 18px; gap: 11px; }
  .workflow-header h2 { font-size: 12px; }
  .workflow-header .text-button { font-size: 9px; }
  .workflow-grid { gap: 21px 20px; }
  .flow-node::after { display: none; }
  .flow-node-top { gap: 6px; margin-bottom: 7px; }
  .flow-node-top .icon { width: 14px; height: 14px; }
  .flow-step { font-size: 9px; }
  .flow-label { font-size: 10px; }
  .flow-value { font-size: 19px; margin-right: 5px; }
  .flow-subtitle { font-size: 9px; margin-top: 2px; line-height: 1.8; }
  .dashboard-middle { margin-top: 17px; gap: 17px; }
  .panel { border-radius: 6px; }
  .panel-header { padding: 19px 17px 14px; }
  .panel-header h2 { font-size: 14px; }
  .panel-header p { font-size: 10px; }
  .chart-key { font-size: 8px; gap: 8px; }
  .chart-wrap { height: 143px; margin: 0 17px 0 10px; }
  .chart-footer { font-size: 9px; margin: 8px 17px 0; }
  .chart-footer strong { font-size: 9px; }
  .dashboard-accounts .account-list { display: block; padding: 0 17px 3px; }
  .dashboard-accounts .account-row { flex-wrap: nowrap; padding: 15px 0; gap: 10px; border: 0; border-bottom: 1px solid #f4f6f4; border-radius: 0; }
  .dashboard-accounts .account-row:last-child { border-bottom: 0; }
  .dashboard-accounts .account-row .status { margin-left: auto; font-size: 9px; padding: 4px 6px; }
  .dashboard-accounts .account-row .account-name { color: #65786b; font-size: 12px; white-space: nowrap; }
  .dashboard-accounts .account-row .account-meta { font-size: 10px; }
  .accounts-footer { font-size: 11px; margin: 1px 17px 17px; width: calc(100% - 34px); min-height: 34px; border-radius: 4px; }
  .dashboard-bottom { margin-top: 17px; }
  .table-panel .panel-header { padding: 19px 17px; }
  .text-button { font-size: 11px; }
  .order-table,.manager-orders .order-table { min-width: 0; }
  .order-table tbody tr { padding: 19px 17px; border-color: #e7ebe8; gap: 13px 15px; }
  .order-table .order-title,.data-table .order-title { color: #65786b; font-size: 12px; }
  .order-table .order-id,.data-table .order-id { color: #89998e; font-size: 10px; }
  .order-table tbody td:nth-child(2) { color: #89998e; font-size: 10px; }
  .order-table .status { font-size: 10px; }
  .order-table tbody td:nth-child(4) { font-size: 16px; }
  .order-table tbody td:nth-child(4)::before { color: #89998e; font-size: 9px; }
  .order-table tbody td:nth-child(5),.order-table .manager-cell { color: #89998e; font-size: 10px; }
  .order-table tbody td:last-child { right: 14px; top: 19px; }
  .manager-orders .order-table tbody td:last-child .button { font-size: 12px; }
  .footer { font-size: 8px; gap: 12px; padding-top: 22px; }
  .section-intro { border-radius: 5px; padding: 16px; }
  .section-intro h3 { font-size: 12px; }
  .section-intro p { font-size: 11px; }
  .cards-grid,.ad-grid { gap: 17px; }
  .account-card { padding: 23px; }
  .account-card h3 { font-size: 16px; }
  .account-card-info strong { font-size: 26px; }
  .account-card-info span { font-size: 11px; }
  .account-card .button { font-size: 12px; }
  .add-account-card { min-height: 190px; border-radius: 6px; }
  .service-chip { font-size: 10px; }
  .tab { font-size: 10px; padding: 8px 10px; }
  .tab-count { font-size: 8px; }
  .search-field input { font-size: 12px; border-radius: 4px; }
  .ad-image { height: 140px; }
  .ad-service-title,.rats .ad-service-title { font-size: 24px; top: 40px; }
  .ad-service-label { font-size: 8px; }
  .ad-body { padding: 23px; }
  .ad-body h3 { font-size: 15px; }
  .ad-body p { font-size: 12px; }
  .ad-stats { font-size: 12px; }
  .ad-actions .button { font-size: 12px; }
  .ad-actions .icon-button { border-radius: 4px; }
  .wallet-card { border-radius: 6px; padding: 21px; }
  .wallet-card.balance { border-radius: 6px; }
  .wallet-card strong { font-size: 27px; }
  .wallet-card p { font-size: 11px; }
  .wallet-card>span { font-size: 10px; }
  .wallet-card.balance strong { font-size: 34px; }
  .notice { font-size: 11px; border-radius: 5px; }
  .pagination { font-size: 10px; padding: 16px 17px; }
  .pagination-buttons button { font-size: 10px; }
  .section-note { font-size: 11px; }
  .info-card { padding: 23px 20px; }
  .info-card h3 { font-size: 14px; }
  .info-card p { font-size: 12px; }
  .faq { padding: 23px 20px; }
  .faq summary { font-size: 13px; }
  .faq details p { font-size: 12px; }
  .form-panel { padding: 23px; }
  .form-panel h2 { font-size: 18px; }
  .manager-stats .stat-card { padding: 15px 12px; border-radius: 5px; }
  .manager-stats .stat-label { font-size: 9px; }
  .manager-stats .stat-value { font-size: 25px; }
  .manager-stats .stat-bottom { font-size: 8px; }
  .manager-banner { border-radius: 5px; font-size: 11px; }
  .modal { border-radius: 7px; padding: 27px 23px; }
  .modal h2 { font-size: 23px; }
  .modal-description { font-size: 12px; }
  .field label { font-size: 12px; }
  .field input,.field select,.field textarea { font-size: 14px; border-radius: 4px; }
  .form-check { font-size: 11px; }
  .form-actions .button { font-size: 11px; }
  .detail-summary { border-radius: 5px; }
  .detail-label { font-size: 10px; }
  .timeline-item strong { font-size: 12px; }
  .timeline-item p { font-size: 11px; }
  .toast { font-size: 11px; border-radius: 5px; }
  .command-dialog h2 { font-size: 21px; }
  #command-search { font-size: 14px; }
  .command-result strong { font-size: 13px; }
  .command-result small { font-size: 11px; }
}
@media(max-width:370px) {
  .page-heading h1 { font-size: 24px; }
  .page-heading p { font-size: 11px; }
  .stat-card { padding: 15px 13px; }
  .stat-card:last-child { padding-top: 14px; }
  .stat-label { font-size: 10px; }
  .stat-value { font-size: 24px; }
  .stat-bottom,.trend { font-size: 7px; }
  .stat-icon { width: 18px; height: 18px; }
  .flow-label { font-size: 9px; }
  .flow-subtitle { font-size: 8px; }
  .panel-header h2 { font-size: 13px; }
  .panel-header p { font-size: 9px; }
  .chart-key { font-size: 7px; }
  .chart-footer,.chart-footer strong { font-size: 8px; }
  .dashboard-accounts .account-row .account-name { font-size: 11px; }
  .dashboard-accounts .account-row .status { font-size: 8px; }
  .dashboard-accounts .account-row .account-meta { font-size: 9px; }
  .data-table .order-title { font-size: 12px; }
  .footer { font-size: 7px; }
  .wallet-card p { font-size: 12px; }
  .wallet-card>span { font-size: 11px; }
  .manager-stats .stat-label { font-size: 8px; }
  .manager-stats .stat-bottom { font-size: 7px; }
}
@supports not (backdrop-filter:blur(1px)) { .sidebar { background: #222d25; } .panel,.stat-card,.account-card,.ad-card,.info-card,.faq,.form-panel,.wallet-card { background: #fff; } .wallet-card.balance { background: #2d4134; } .modal { background: #fff; } }

/* Operational text stays clear at every density. */
.page-heading p,.panel-header p,.account-meta,.account-card p,.account-card-info span,.ad-body p,.ad-stats,.notice,.section-note,.section-intro p,.info-card p,.faq details p,.field .hint,.form-check,.toggle-row span,.timeline-item p,.detail-label,.modal-description,.modal .notice,.modal.success p,.notification-item p,.notification-item small,.support-option span,.support-status,.privacy-text,.command-group,.command-result small,.command-result>span:last-child,.command-footer,.command-empty { color: #65786b; }
.stat-label,.stat-bottom,.trend,.flow-subtitle,.chart-footer,.chart-footer strong,.data-table,.data-table th,.data-table .order-id,.manager-cell,.table-subtitle,.wallet-card:not(.balance) p,.wallet-card:not(.balance)>span,.pagination,.onboarding-prompt p { color: #65786b; }
.account-name,.dashboard-accounts .account-row .account-name,.account-card h3,.ad-body h3,.empty h3,.info-card h3,.faq summary,.field label,.toggle-row,.timeline-item strong,.detail-summary strong,.modal h2,.notification-item strong,.support-option strong,.privacy-text h3,.command-result strong { color: #435c4b; }
.data-table .order-title,.order-table .order-title { color: #435c4b; }
.data-table .money,.wallet-card:not(.balance) strong,.account-card-info strong,.detail-summary .large-amount { color: #435c4b; }
.data-table .money.expected,.order-table tbody td:nth-child(2),.order-table tbody td:nth-child(5),.order-table .manager-cell,.order-table tbody td:nth-child(4)::before { color: #65786b; }
.dashboard-accounts .account-row .account-meta { color: #65786b; }
.field input,.field select,.field textarea,#command-search { color: #2d4134; }
.field input::placeholder,.field textarea::placeholder,#command-search::placeholder { color: #65786b; }
.status.active,.status.completed,.status.paid { color: #4c7963; }
.command-result>.icon,.command-input-wrap>.icon,.modal-icon { color: #65786b; }
.command-result:hover,.command-result.command-active { color: #435c4b; background: #f4f6f4; border-color: #e7ebe8; }
@media(max-height:800px) and (min-width:761px) {
  .sidebar { padding-top: 24px; }
  .sidebar-system { display: none; }
  .sidebar .workspace { padding-top: 25px; }
  .sidebar .nav-item { min-height: 40px; padding-top: 10px; padding-bottom: 10px; }
  .sidebar .nav-divider { margin-top: 13px; margin-bottom: 13px; }
  .sidebar-bottom { padding-top: 15px; }
}

/* Corporate light edition: neutral surfaces, clear data and a single accent. */
:root { color-scheme: light; --bg:#f4f6f4; --ink:#222d25; --muted:#65786b; --line:#d5ddd7; --green:#435c4b; --accent:#435c4b; --glass:#fff; --radius:5px; background:var(--bg); color:var(--ink); }
body { background:#f4f6f4; background-image:none; }
body::before,body::after { display:none; }
.sidebar { background:#222d25; border-right-color:#2d4134; backdrop-filter:none; -webkit-backdrop-filter:none; }
.topbar { background:#fff; border-bottom-color:#d5ddd7; backdrop-filter:none; -webkit-backdrop-filter:none; }
.nav-item.active { background:#2d4134; box-shadow:inset 2px 0 #89998e; }
.nav-item:hover { background:#2d4134; }
.nav-divider { background:#2d4134; }
.user-button { border-top-color:#2d4134; }
.brand-mark rect { fill:#2d4134; stroke:#435c4b; }
.brand-mark path:first-of-type { fill:#f4f6f4; }
.brand-mark path:last-of-type { fill:#b4c0b7; }
.page-heading h1 { color:#222d25; font-weight:650; letter-spacing:-.4px; }
.page-kicker { color:#65786b; letter-spacing:1px; }
.stat-card,.panel,.account-card,.ad-card,.form-panel,.info-card,.faq,.wallet-card { background:#fff; border-color:#d5ddd7; border-radius:5px; box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
.stat-card:last-child { background:#fff; border-top-color:#435c4b; }
.stat-card:hover { transform:none; border-color:#b4c0b7; }
.stat-value,.flow-value { color:#2d4134; font-weight:600; }
.stat-label { color:#65786b; }
.stat-icon { color:#89998e; }
.panel-header h2,.workflow-header h2 { color:#2d4134; font-weight:600; }
.workflow-panel { background:#fafbfa; border-color:#d5ddd7; border-radius:5px; box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
.flow-label { color:#435c4b; }
.flow-node-top .icon { color:#65786b; }
.flow-node:not(:last-child)::after { background:#d5ddd7; }
.button,.button.large,.period-select,.search-field input,.field input,.field select,.field textarea,#command-search { border-radius:4px; box-shadow:none; }
.button.primary,.button.light { background:#435c4b; color:#fff; border-color:#435c4b; }
.button.primary:hover,.button.light:hover { background:#2d4134; border-color:#2d4134; }
.button.secondary { background:#fff; border-color:#d5ddd7; color:#435c4b; }
.button.secondary:hover { background:#fafbfa; border-color:#b4c0b7; }
.button.soft { background:#f4f6f4; color:#435c4b; border-color:#e7ebe8; }
.text-button { color:#435c4b; }
.text-button:hover { color:#2d4134; }
.command-trigger { background:#fafbfa; border-color:#d5ddd7; border-radius:4px; }
.command-trigger:hover { background:#f4f6f4; border-color:#b4c0b7; }
.tabs { background:#f4f6f4; border-color:#e7ebe8; border-radius:4px; }
.tab.active { color:#435c4b; background:#fff; border-color:#d5ddd7; box-shadow:none; }
.table-count,.status,.mini-avatar,.avatar { border-radius:3px; }
.data-table th { background:#fafbfa; color:#65786b; border-color:#e7ebe8; }
.data-table td { border-color:#e7ebe8; }
.data-table tbody tr:hover { background:#fafbfa; }
.data-table .order-title,.order-table .order-title,.account-name,.dashboard-accounts .account-row .account-name,.account-card h3,.ad-body h3,.empty h3,.info-card h3,.faq summary,.field label,.toggle-row,.timeline-item strong,.detail-summary strong,.modal h2,.notification-item strong,.support-option strong,.privacy-text h3,.command-result strong { color:#2d4134; }
.data-table .money,.wallet-card:not(.balance) strong,.account-card-info strong,.detail-summary .large-amount { color:#2d4134; }
.page-heading p,.panel-header p,.account-meta,.dashboard-accounts .account-row .account-meta,.account-card p,.account-card-info span,.ad-body p,.ad-stats,.notice,.section-note,.section-intro p,.info-card p,.faq details p,.field .hint,.form-check,.toggle-row span,.timeline-item p,.detail-label,.modal-description,.modal .notice,.modal.success p,.notification-item p,.notification-item small,.support-option span,.support-status,.privacy-text,.command-group,.command-result small,.command-result>span:last-child,.command-footer,.command-empty,.stat-bottom,.trend,.flow-subtitle,.chart-footer,.chart-footer strong,.data-table,.data-table .order-id,.manager-cell,.table-subtitle,.wallet-card:not(.balance) p,.wallet-card:not(.balance)>span,.pagination { color:#65786b; }
.account-row { border-bottom-color:#e7ebe8; }
.accounts-footer { border-radius:4px; background:#fafbfa; border-color:#d5ddd7; color:#65786b; }
.income-chart path[stroke] { stroke:#435c4b; filter:none; }
.income-chart text { fill:#65786b; }
.chart-key i { background:#435c4b; }
.chart-key .pale i { background:#b4c0b7; }
#chart-fill stop:first-child { stop-color:#65786b; stop-opacity:.1; }
#chart-fill stop:last-child { stop-color:#65786b; stop-opacity:0; }
.wallet-card.balance { background:#fafbfa; border:1px solid #d5ddd7; border-top:2px solid #435c4b; border-radius:5px; }
.wallet-card.balance p { color:#435c4b; }
.wallet-card.balance strong { color:#2d4134; }
.wallet-card.balance>span { color:#65786b; }
.wallet-card.balance .button { color:#fff; background:#435c4b; border-color:#435c4b; }
.wallet-card.balance .button:hover { color:#fff; background:#2d4134; border-color:#2d4134; }
.section-intro,.notice,.detail-summary,.manager-banner,.support-option,.onboarding-prompt { border-radius:5px; }
.modal { background:#fff; border-color:#d5ddd7; border-radius:6px; backdrop-filter:none; -webkit-backdrop-filter:none; box-shadow:0 16px 55px #2d413424; }
.modal-overlay { background:#222d2545; backdrop-filter:blur(2px); -webkit-backdrop-filter:blur(2px); }
.modal-icon,.step-num,.wallet-icon { border-radius:4px; }
.profile-menu { border-radius:5px; background:#fff; backdrop-filter:none; -webkit-backdrop-filter:none; }
.ad-image,.ad-image.rats { height:128px; background:#f4f6f4; color:#65786b; border-bottom-color:#e7ebe8; }
.ad-art { display:none; }
.ad-service-label,.rats .ad-service-label { color:#65786b; font-size:8px; letter-spacing:1px; }
.ad-service-title,.rats .ad-service-title { color:#435c4b; font-size:21px; font-weight:500; line-height:1.2; letter-spacing:-.2px; top:37px; }
.ad-image .status { background:#fff; border-color:#e7ebe8; font-size:8px; padding:3px 6px; bottom:10px; }
@media(max-width:760px) { .sidebar { background:#222d25; backdrop-filter:none; -webkit-backdrop-filter:none; } }
@media(max-width:530px) { .command-trigger { background:none; border:0; } .panel,.stat-card,.wallet-card.balance,.workflow-panel { border-radius:5px; } .ad-service-title,.rats .ad-service-title { font-size:22px; } }
@supports not (backdrop-filter:blur(1px)) { .sidebar { background:#222d25; } .panel,.stat-card,.account-card,.ad-card,.info-card,.faq,.form-panel,.wallet-card { background:#fff; } .wallet-card.balance { background:#fafbfa; } .modal { background:#fff; } }

/* Soft, measured motion for the light business workspace. */
:root { --bg:#fafbfa; --line:#e7ebe8; --radius:14px; --ease-soft:cubic-bezier(.22,.7,.25,1); background:var(--bg); }
body { background:#fafbfa; }
.sidebar { background:#2d4134; border-right-color:#2d4134; }
.nav-item { border-radius:9px; transition:background .2s ease,color .2s ease,box-shadow .2s ease; }
.nav-item.active { background:#2d4134; box-shadow:inset 2px 0 #b4c0b7; }
.nav-item:hover { background:#2d4134; }
.nav-item .icon { transition:color .2s ease,transform .2s var(--ease-soft); }
.topbar { border-bottom-color:#e7ebe8; }
.command-trigger { border-radius:9px; background:#fafbfa; border-color:#e7ebe8; transition:background .2s,border-color .2s,box-shadow .2s; }
.command-trigger:hover { background:#f4f6f4; border-color:#d5ddd7; box-shadow:0 2px 8px #2d413406; }
.command-trigger kbd { border-radius:4px; }
.page-heading h1 { font-weight:600; letter-spacing:-.55px; }
.page-heading p { color:#65786b; }
.kpis { gap:17px; }
.stat-card,.panel,.account-card,.ad-card,.form-panel,.info-card,.faq,.wallet-card { border-radius:14px; border-color:#e7ebe8; box-shadow:0 3px 18px #2d413406; }
.stat-card { padding:21px 20px 18px; transition:border-color .2s ease,box-shadow .25s ease,transform .25s var(--ease-soft); }
.stat-card:last-child { padding-top:20px; border-top-color:#65786b; }
.stat-value { font-weight:600; letter-spacing:-.8px; }
.stat-icon { width:28px; height:28px; border-radius:9px; border:1px solid #e7ebe8; background:#fafbfa; color:#89998e; }
.stat-icon .icon { width:14px; height:14px; }
.panel-header { padding-top:22px; }
.workflow-panel { border-radius:14px; background:#fafbfa; border-color:#e7ebe8; padding:22px 23px; box-shadow:0 2px 14px #2d413403; }
.workflow-header { margin-bottom:18px; }
.flow-node { border-radius:9px; transition:background .2s ease,transform .2s var(--ease-soft); }
.flow-label { min-width:0; }
.flow-node-top .icon { transition:color .2s ease; }
.button,.button.large { border-radius:9px; transition:background .2s ease,border-color .2s ease,transform .18s var(--ease-soft),box-shadow .2s ease; }
.button.primary,.button.light { background:#435c4b; border-color:#435c4b; box-shadow:0 3px 10px #435c4b1b!important; }
.button.primary:hover,.button.light:hover { background:#435c4b; border-color:#435c4b; box-shadow:0 5px 14px #435c4b26!important; }
.button.secondary { border-color:#e7ebe8; box-shadow:0 1px 3px #2d413404!important; }
.button.secondary:hover { background:#fafbfa; border-color:#d5ddd7; }
.button.soft { background:#f4f6f4; border-color:#e7ebe8; }
.button:active { transform:translateY(1px) scale(.985); }
.text-button .icon,.table-go .icon { transition:transform .2s var(--ease-soft); }
.period-select,.search-field input,.field input,.field select,.field textarea,#command-search { border-radius:9px; border-color:#e7ebe8; transition:border-color .2s ease,box-shadow .2s ease,background .2s ease; }
.field input,.field select,.field textarea { background:#fafbfa; }
.field input:focus,.field select:focus,.field textarea:focus,.search-field input:focus,#command-search:focus { border-color:#b4c0b7; background:#fff; box-shadow:0 0 0 3px #89998e12; }
.period-select:hover { border-color:#b4c0b7; }
.icon-button { border-radius:9px; transition:background .2s,color .2s,transform .18s; }
.icon-button:active { transform:scale(.94); }
.avatar { border-radius:9px; }
.mini-avatar { border-radius:6px; }
.table-count,.status,.service-chip { border-radius:6px; }
.tabs { border-radius:10px; border-color:#e7ebe8; padding:5px; background:#f4f6f4; }
.tab { border-radius:7px; transition:background .2s ease,color .2s ease,box-shadow .2s ease; }
.tab.active { box-shadow:0 2px 5px #2d413409; }
.tab-count { border-radius:4px; }
.account-row { border-bottom-color:#f4f6f4; }
.avito-symbol { border-radius:9px; background:#fafbfa; border-color:#e7ebe8; }
.account-row .avito-symbol { border-radius:9px; }
.accounts-footer { border-radius:8px; background:#fafbfa; border-color:#e7ebe8; transition:background .2s,border-color .2s,color .2s; }
.accounts-footer:hover { background:#fafbfa; border-color:#d5ddd7; }
.data-table th { background:#fafbfa; border-color:#e7ebe8; }
.data-table td { border-color:#f4f6f4; }
.data-table tbody tr { transition:background-color .2s ease; }
.data-table tbody tr:hover { background:#fafbfa; }
.table-go { border-radius:7px; transition:background .2s,color .2s; }
.section-intro,.notice,.detail-summary,.manager-banner,.support-option,.onboarding-prompt { border-radius:11px; border-color:#e7ebe8; }
.account-card,.ad-card,.info-card,.add-account-card { transition:border-color .2s,box-shadow .25s,transform .25s var(--ease-soft); }
.add-account-card { border-radius:14px; background:#fafbfa; border-color:#d5ddd7; }
.add-account-card .add-icon,.modal-icon,.wallet-icon,.step-num { border-radius:10px; }
.ad-image,.ad-image.rats { background:#f4f6f4; border-bottom-color:#e7ebe8; }
.ad-actions .icon-button { border-radius:8px; }
.wallet-card.balance { border-radius:14px; background:#fafbfa; border-color:#e7ebe8; border-top-color:#65786b; }
.wallet-card.balance .button { background:#435c4b; border-color:#435c4b; }
.wallet-card.balance .button:hover { background:#435c4b; }
.profile-menu { border-radius:12px; border-color:#e7ebe8; box-shadow:0 8px 30px #2d413412; }
.profile-menu button { border-radius:7px; transition:background .18s,color .18s; }
.command-result { border-radius:8px; transition:background .18s,border-color .18s; }
.modal { border-radius:18px; border-color:#e7ebe8; box-shadow:0 22px 80px #2d413424; animation:soft-dialog-in .26s var(--ease-soft) both; }
.modal-overlay { background:#2d41343d; backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); animation:soft-overlay-in .2s ease both; }
.modal-overlay.is-closing { animation:soft-overlay-out .16s ease both; pointer-events:none; }
.modal-overlay.is-closing .modal { animation:soft-dialog-out .16s ease both; }
.toast { border-radius:11px; border-color:#e7ebe8; box-shadow:0 7px 26px #2d413414; }
.page-fade { animation:soft-page-in .34s var(--ease-soft) backwards; }
.page-fade .kpis>.stat-card { animation:soft-panel-in .44s var(--ease-soft) backwards; }
.page-fade .kpis>.stat-card:nth-child(2) { animation-delay:45ms; }
.page-fade .kpis>.stat-card:nth-child(3) { animation-delay:90ms; }
.page-fade .kpis>.stat-card:nth-child(4) { animation-delay:135ms; }
.page-fade .workflow-panel { animation:soft-panel-in .45s var(--ease-soft) 100ms backwards; }
.page-fade .dashboard-middle>.panel { animation:soft-panel-in .45s var(--ease-soft) 160ms backwards; }
.page-fade .dashboard-middle>.panel:nth-child(2) { animation-delay:210ms; }
.page-fade .dashboard-bottom { animation:soft-panel-in .45s var(--ease-soft) 220ms backwards; }
.page-fade .cards-grid>*,.page-fade .ad-grid>*,.page-fade .info-grid>*,.page-fade .settings-grid>* { animation:soft-panel-in .42s var(--ease-soft) backwards; }
.page-fade .cards-grid>*:nth-child(2),.page-fade .ad-grid>*:nth-child(2),.page-fade .info-grid>*:nth-child(2),.page-fade .settings-grid>*:nth-child(2) { animation-delay:55ms; }
.page-fade .cards-grid>*:nth-child(3),.page-fade .ad-grid>*:nth-child(3),.page-fade .info-grid>*:nth-child(3) { animation-delay:110ms; }
.income-chart path[fill^="url"] { animation:soft-chart-area .7s ease 150ms both; }
@media(hover:hover) and (pointer:fine) {
  .stat-card:hover { border-color:#d5ddd7; box-shadow:0 6px 22px #2d41340c; transform:translateY(-2px); }
  .account-card:hover,.ad-card:hover,.info-card:hover { border-color:#d5ddd7; box-shadow:0 5px 21px #2d41340b; }
  .add-account-card:hover { transform:translateY(-2px); box-shadow:0 6px 20px #2d413409; }
  .text-button:hover .icon,.table-go:hover .icon { transform:translateX(2px); }
  .nav-item:hover .icon { transform:translateX(1px); }
  .flow-node:hover { background:#f4f6f46b; }
}
@keyframes soft-page-in { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
@keyframes soft-panel-in { from { opacity:0; transform:translateY(9px); } to { opacity:1; transform:translateY(0); } }
@keyframes soft-dialog-in { from { opacity:0; transform:translateY(10px) scale(.985); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes soft-dialog-out { from { opacity:1; transform:translateY(0) scale(1); } to { opacity:0; transform:translateY(6px) scale(.99); } }
@keyframes soft-overlay-in { from { opacity:0; } to { opacity:1; } }
@keyframes soft-overlay-out { from { opacity:1; } to { opacity:0; } }
@keyframes soft-chart-area { from { opacity:0; } to { opacity:1; } }
@media(max-width:1000px) { .kpis { gap:15px; } .stat-card { padding:20px; } .stat-card:last-child { padding-top:19px; } }
@media(max-width:530px) {
  .kpis { gap:12px; }
  .stat-card { padding:18px 16px 16px; border-radius:12px; }
  .stat-card:last-child { padding-top:17px; }
  .stat-icon { width:23px; height:23px; border-radius:7px; }
  .stat-icon .icon { width:12px; height:12px; }
  .panel,.account-card,.ad-card,.form-panel,.info-card,.faq,.wallet-card.balance { border-radius:13px; }
  .workflow-panel { border-radius:13px; padding:20px 17px; }
  .command-trigger { background:none; }
  .modal { border-radius:16px; }
  .button,.period-select,.search-field input,.field input,.field select,.field textarea { border-radius:8px; }
  .notice,.detail-summary,.manager-banner,.section-intro { border-radius:10px; }
}
@media(max-width:370px) { .stat-card { padding:16px 13px; } .stat-card:last-child { padding-top:15px; } .stat-icon { width:20px; height:20px; } }
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
  .page-fade,.page-fade .kpis>.stat-card,.page-fade .workflow-panel,.page-fade .dashboard-middle>.panel,.page-fade .dashboard-bottom { opacity:1; transform:none; }
}
