/* DELOR client cabinet · Bootstrap 5.3.3 · Brand tokens from delor.ru */
:root {
  --delor-blue: #001774;
  --delor-yellow: #ffeb13;
  --delor-red: #e82a21;
  --ink: #1b253e;
  --muted: #8490a5;
  --line: #e9edf3;
  --canvas: #f6f8fb;
  --green: #249b70;
  --sidebar-width: 246px;
  --bs-primary: #001774;
  --bs-primary-rgb: 0, 23, 116;
  --bs-body-color: var(--ink);
  --bs-body-font-family: 'Segoe UI', Arial, sans-serif;
  --bs-body-font-size: .875rem;
}
* { box-sizing: border-box; }
html { overflow-x: clip; }
body { margin: 0; background: var(--canvas); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid #4b6ade; outline-offset: 4px; }
h1,h2,h3,p { margin: 0; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 21px; height: 21px; flex-shrink: 0; display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 15px; height: 15px; }
.skip-link { position: fixed; z-index: 2000; top: -60px; left: 16px; padding: 12px 20px; background: var(--delor-blue); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 1040; width: var(--sidebar-width); background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 31px 17px 17px; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; margin: 0 9px 28px; color: var(--delor-blue); font-size: 29px; font-weight: 800; letter-spacing: 1.5px; line-height: 1; }
.brand:hover { color: var(--delor-blue); }
.brand-mark { width: 46px; height: 37px; flex-shrink: 0; }
.brand-caption { display: block; margin-top: 8px; font-size: var(--type-small); font-weight: 600; letter-spacing: 1.9px; color: #939caf; }
.organization { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 11px; border: 1px solid var(--line); border-radius: 10px; background: white; text-align: left; color: var(--ink); }
.organization > .icon { margin-left: auto; color: #8893a5; }
.organization > span:nth-child(2) { min-width: 0; }
.organization strong { display: block; max-width: 124px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: var(--type-small); font-weight: 650; }
.organization small { display: block; margin-top: 3px; font-size: var(--type-small); color: var(--muted); }
.organization-icon { display: grid; place-items: center; flex-shrink: 0; width: 33px; height: 33px; border-radius: 8px; background: #f2f4f9; color: #74809a; }
.organization-icon .icon { width: 18px; height: 18px; }
.nav-caption { font-size: var(--type-small); letter-spacing: 1.3px; font-weight: 600; color: #9ca6b7; margin: 28px 12px 12px; }
.nav-caption.second { margin-top: 26px; }
.main-nav { display: flex; flex-direction: column; gap: 5px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 11px 12px; border-radius: 8px; color: #6f7b91; font-size: var(--type-small); font-weight: 500; transition: color .16s, background .16s; }
.nav-item .icon { width: 19px; height: 19px; }
.nav-item:hover { color: var(--delor-blue); background: #f6f7fc; }
.nav-item.active { background: #eef1fc; color: var(--delor-blue); font-weight: 650; }
.nav-item.active:before { content: ''; position: absolute; width: 3px; height: 18px; border-radius: 3px; background: var(--delor-blue); left: -17px; }
.nav-count { margin-left: auto; font-size: var(--type-small); color: #97a1b2; }
.nav-new { margin-left: auto; padding: 1px 6px; border-radius: 5px; color: var(--delor-blue); background: #eff1fc; font-size: var(--type-small); }
.support-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; margin-left: auto; }
.sidebar-bottom { margin-top: auto; padding-top: 30px; }
.help-card { position: relative; border-radius: 11px; background: #f6f8fc; padding: 17px 14px; }
.help-card-icon { display: block; color: var(--delor-blue); margin-bottom: 10px; }
.help-card strong { display: block; font-size: var(--type-small); font-weight: 650; }
.help-card p { margin-top: 5px; color: #8b95a8; font-size: var(--type-small); line-height: 1.8; }
.help-card a { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: var(--type-small); color: var(--delor-blue); font-weight: 650; }
.help-card a .icon { width: 14px; }
.website-link { display: flex; justify-content: space-between; color: #8b95a8; margin: 20px 10px 13px; font-size: var(--type-small); }
.sidebar-footnote { display: flex; justify-content: space-between; margin: 0 10px; font-size: var(--type-small); color: #adb5c3; }
.workspace { margin-left: var(--sidebar-width); min-width: 0; }
.topbar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 79px; padding: 0 34px; background: white; border-bottom: 1px solid var(--line); }
.breadcrumb-line { display: flex; align-items: center; gap: 13px; font-size: var(--type-small); white-space: nowrap; }
.breadcrumb-line > span { color: #939caf; }
.breadcrumb-line .icon { color: #b6bfcc; width: 11px; }
.breadcrumb-line strong { font-weight: 500; }
.topbar-actions { display: flex; align-items: center; gap: 21px; }
.search-trigger { display: flex; gap: 9px; align-items: center; border: 0; color: #9aa3b4; background: none; font-size: var(--type-small); }
kbd { color: #9ca6b8; background: #f7f8fa; border: 1px solid #e8ebf1; font-size: var(--type-small); font-family: inherit; padding: 2px 5px; margin-left: 16px; border-radius: 4px; }
.topbar-divider { width: 1px; height: 26px; background: var(--line); }
.icon-button { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; border-radius: 8px; background: transparent; border: 0; color: #8190a8; }
.icon-button:hover { background: #f0f3fa; color: var(--delor-blue); }
.notification-dot { position: absolute; top: 5px; right: 7px; width: 6px; height: 6px; background: var(--delor-red); border: 1.5px solid white; border-radius: 50%; }
.user-menu { display: flex; align-items: center; gap: 10px; text-align: left; background: none; border: 0; color: var(--ink); }
.avatar { display: grid; place-items: center; background: #edf0fb; color: var(--delor-blue); font-weight: 650; font-size: var(--type-small); border-radius: 50%; width: 37px; height: 37px; }
.user-details strong { display: block; font-size: var(--type-small); font-weight: 650; }
.user-details small { display: block; margin-top: 2px; color: #96a1b2; font-size: var(--type-small); }
.user-menu > .icon { margin-left: 9px; color: #99a4b5; width: 14px; }
.mobile-menu { display: none; }
main { max-width: 1600px; margin: 0 auto; padding: 30px 34px 0; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.eyebrow { color: #929caf; font-size: var(--type-small); font-weight: 650; letter-spacing: 1.8px; margin-bottom: 9px; }
h1 { font-size: 28px; font-weight: 700; letter-spacing: -.9px; line-height: 1.25; }
.page-heading p { font-size: var(--type-small); color: #929bae; margin-top: 8px; }
.page-heading-actions { display: flex; align-items: center; gap: 14px; }
.demo-label { font-size: var(--type-small); color: #a1aabb; border: 1px solid #e3e7ef; border-radius: 5px; padding: 4px 7px; white-space: nowrap; }
.period-select { width: 155px; border: 1px solid #e6eaf1; background-color: #fff; color: #5e6b83; padding: 9px 28px 9px 12px; font-size: var(--type-small); border-radius: 7px; }
.hero-row { margin-bottom: 20px; }
.welcome-panel { position: relative; display: flex; min-height: 257px; height: 100%; overflow: hidden; border-radius: 14px; padding: 28px 29px; background: var(--delor-blue); color: #fff; }
.welcome-copy { position: relative; z-index: 2; flex-shrink: 0; }
.hero-kicker { display: flex; align-items: center; gap: 6px; color: #b4c2ec; font-size: var(--type-small); letter-spacing: 1.8px; font-weight: 600; margin-bottom: 15px; }
.live-dot { display: inline-block; width: 5px; height: 5px; background: #78dfb6; border-radius: 50%; flex-shrink: 0; }
.welcome-panel h2 { font-size: 31px; font-weight: 650; letter-spacing: -.65px; line-height: 1.13; }
.welcome-panel h2 > span { color: var(--delor-yellow); }
.welcome-panel p { color: #a2b3e2; margin-top: 11px; font-size: var(--type-small); line-height: 1.8; }
.welcome-panel .btn { margin-top: 19px; }
.hero-grid { position: absolute; right: -110px; top: -30px; width: 440px; height: 440px; border-radius: 50%; border: 1px solid #ffffff08; box-shadow: 0 0 0 38px #ffffff03, 0 0 0 39px #ffffff05, 0 0 0 82px #ffffff02, 0 0 0 83px #ffffff04; pointer-events: none; }
.station-art { position: absolute; right: -8px; top: 7px; width: 46%; height: 100%; z-index: 1; }
.station-art img { width: 100%; height: calc(100% - 30px); object-fit: contain; }
.art-status { display: inline-flex; align-items: center; gap: 7px; position: absolute; bottom: 23px; left: 50%; transform: translateX(-50%); padding: 6px 10px; white-space: nowrap; border-radius: 30px; color: #bfd0fa; background: #153384; border: 1px solid #35498e; font-size: var(--type-small); }
.attention-panel { border: 1px solid #f0e5bc; height: 100%; background: #fffcf0; border-radius: 14px; padding: 22px 22px 20px; }
.attention-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.attention-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #fff1c0; color: #b89031; }
.attention-icon .icon { width: 19px; height: 19px; }
.attention-panel h3 { font-size: 19px; line-height: 1.27; font-weight: 650; letter-spacing: -.4px; }
.attention-panel h3 br::after { content: ' '; }
.attention-panel > p { color: #9e987f; font-size: var(--type-small); margin-top: 7px; }
.renewal-date { display: flex; align-items: baseline; justify-content: space-between; margin: 15px 0 16px; gap: 8px; }
.renewal-date strong { font-weight: 650; font-size: var(--type-small); }
.renewal-date span { font-size: var(--type-small); color: #a79358; }
.attention-panel .btn { justify-content: space-between; min-height: 35px; font-size: var(--type-small); padding: 8px 10px; background: #fffdf7; border-color: #dfd7be; color: #514b37; }
.attention-panel .btn:hover { background: #fff2bd; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: var(--type-small); border-radius: 7px; padding: 10px 16px; font-weight: 600; transition: background .16s, transform .16s; }
.btn:active { transform: translateY(1px); }
.btn-primary { --bs-btn-bg: var(--delor-blue); --bs-btn-border-color: var(--delor-blue); --bs-btn-hover-bg: #102f93; --bs-btn-hover-border-color: #102f93; --bs-btn-active-bg: #0b226e; --bs-btn-active-border-color: #0b226e; }
.btn-outline-primary { --bs-btn-color: var(--delor-blue); --bs-btn-border-color: #d6ddef; --bs-btn-hover-bg: var(--delor-blue); --bs-btn-hover-border-color: var(--delor-blue); --bs-btn-active-bg: var(--delor-blue); --bs-btn-active-border-color: var(--delor-blue); }
.btn-yellow { color: #202842; background: var(--delor-yellow); border-color: var(--delor-yellow); font-size: var(--type-small); }
.btn-yellow:hover,.btn-yellow:focus-visible { background: #fff149; border-color: #fff149; color: #111e43; }
.btn-light { background: #f3f5fa; border-color: #f3f5fa; color: #6e7b90; }
.soft-badge { display: inline-flex; align-items: center; gap: 4px; font-size: var(--type-small); font-weight: 500; padding: 4px 7px; border-radius: 5px; white-space: nowrap; line-height: 1.2; }
.soft-badge.green { color: #24936e; background: #eaf7f1; }
.soft-badge.blue { color: #4864ae; background: #edf1fc; }
.soft-badge.amber { color: #a7842d; background: #fcf2d5; }
.soft-badge.gray { color: #98a1b2; background: #f3f5f8; }
.soft-badge.red { color: #c54d4b; background: #fff0f0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; margin-bottom: 20px; }
.stat-card { display: block; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 19px 18px 16px; color: var(--ink); transition: border-color .16s, box-shadow .16s; }
a.stat-card:hover { color: var(--ink); border-color: #cbd5ed; box-shadow: 0 5px 18px #16295805; }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: #8390a4; font-size: var(--type-small); }
.stat-top .icon { color: #9da9bd; width: 18px; height: 18px; }
.stat-value { display: flex; align-items: baseline; gap: 7px; font-size: 29px; font-weight: 650; letter-spacing: -.8px; margin: 10px 0 10px; line-height: 1.2; white-space: nowrap; }
.stat-value > span { color: #9ea7b7; font-size: var(--type-small); font-weight: 400; letter-spacing: 0; }
.stat-bottom { display: flex; align-items: center; gap: 5px; font-size: var(--type-small); color: #96a1b1; }
.stat-bottom > .icon:last-child { margin-left: auto; color: #a7b0bf; }
.status-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.status-dot.green { background: var(--green); }
.growth { display: inline-flex; align-items: center; gap: 3px; color: var(--green); font-size: var(--type-small); }
.stat-bottom .growth { font-size: var(--type-small); }
.text-amber { color: #b39749; }
.panel { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 21px 22px; }
.panel-heading h2,.finance-summary h2,.settings-panel h2,.company-contact h2 { font-size: var(--type-body); font-weight: 650; letter-spacing: -.25px; }
.panel-heading p { margin-top: 5px; color: #9ba5b5; font-size: var(--type-small); }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: #7e89a0; font-size: var(--type-small); white-space: nowrap; }
.text-link:hover { color: var(--delor-blue); }
.product-row { display: flex; gap: 13px; align-items: center; padding: 16px 22px; border-top: 1px solid #f0f2f7; }
.product-icon { width: 39px; height: 39px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: #f0f3fd; color: #3d59a7; }
.product-icon.violet { background: #f4f0fc; color: #997cc1; }
.product-icon.amber { background: #fff8e7; color: #c9a449; }
.product-icon.teal { background: #edf7f5; color: #61a894; }
.product-info { flex: 1; min-width: 0; }
.product-info strong { display: block; font-size: var(--type-small); font-weight: 650; }
.product-info small { display: block; color: #9fa9b9; font-size: var(--type-small); margin-top: 4px; }
.product-status { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.product-status small { font-size: var(--type-small); color: #9da7b7; }
.product-open { margin-left: 2px; background: none; border: 0; color: #a2acbd; width: 20px; height: 32px; display: grid; place-items: center; }
.product-open .icon { width: 12px; height: 12px; }
.connect-product { display: flex; width: 100%; align-items: center; gap: 6px; border: 0; border-top: 1px dashed #e4e8f0; background: #fbfcfe; padding: 17px 22px; color: #48629f; font-size: var(--type-small); text-align: left; }
.connect-product > span { display: flex; align-items: center; gap: 9px; margin-left: auto; font-size: var(--type-small); color: #9ba7bd; }
.connect-product:hover { background: #f1f4fd; }
.content-row { margin-bottom: 20px; }
.activity-panel .panel-heading { padding-bottom: 24px; }
.activity-timeline { padding: 0 22px; }
.activity-item { position: relative; display: flex; gap: 11px; padding-bottom: 20px; }
.activity-item:not(:last-child):before { content: ''; position: absolute; height: calc(100% - 30px); width: 1px; background: #edf0f6; left: 15px; top: 34px; }
.activity-icon { position: relative; width: 31px; height: 31px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; }
.activity-icon.blue { background: #eef2fc; color: #7e95c8; }
.activity-icon.green { background: #edf8f2; color: #6bba96; }
.activity-icon.violet { background: #f4f0fb; color: #a48bd0; }
.activity-icon .icon { width: 15px; height: 15px; }
.activity-item strong { display: block; font-size: var(--type-small); font-weight: 650; margin: 2px 0 4px; }
.activity-item p { font-size: var(--type-small); line-height: 1.65; color: #909caf; }
.activity-item a { display: block; font-size: var(--type-small); color: #5a73ae; margin-top: 5px; }
.activity-item small { display: block; font-size: var(--type-small); color: #b0b8c6; margin-top: 7px; }
.activity-all { display: flex; justify-content: space-between; padding: 15px 22px; font-size: var(--type-small); color: #8594b0; border-top: 1px solid #f0f2f7; }
.table { margin-bottom: 0; --bs-table-color: var(--ink); --bs-table-border-color: #f0f2f6; font-size: var(--type-small); vertical-align: middle; }
.table th { font-weight: 500; color: #99a3b4; padding: 11px 22px; background: #fafbfd; font-size: var(--type-small); white-space: nowrap; }
.table td { padding: 15px 22px; color: #8490a5; white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table td strong { color: #46536d; font-weight: 500; font-size: var(--type-small); }
.table-subtitle { display: block; color: #a0aaba; font-size: var(--type-small); margin-top: 4px; }
.document-name { display: flex; align-items: center; gap: 10px; }
.file-icon { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 26px; height: 30px; border-radius: 5px; background: #fff1f0; color: #d3807b; font-size: var(--type-small); font-weight: 700; }
.file-icon .icon { width: 13px; height: 13px; margin-bottom: 1px; }
.download-button { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #e9edf4; border-radius: 6px; background: #fff; color: #8c9ab1; }
.download-button:hover { color: var(--delor-blue); background: #f3f5fc; }
.download-button .icon { width: 14px; height: 14px; }
.workspace-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 22px 0 24px; color: #a6afbe; font-size: var(--type-small); }
.workspace-footer > span:first-child { display: flex; align-items: center; gap: 6px; }
.workspace-footer .status-dot { width: 4px; height: 4px; }
.page-view:not([hidden]) { animation: enter-view .18s ease-out; }
@keyframes enter-view { from { opacity: .4; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.section-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.filter-tabs { display: flex; gap: 5px; padding: 4px; border: 1px solid var(--line); background: #fff; border-radius: 9px; }
.filter-tabs button { background: none; border: 0; border-radius: 6px; color: #8b96aa; padding: 8px 13px; font-size: var(--type-small); }
.filter-tabs button.active { background: #edf1fc; color: var(--delor-blue); }
.filter-tabs span { margin-left: 8px; opacity: .65; font-size: var(--type-small); }
.toolbar-note { color: #8591a8; font-size: var(--type-small); display: flex; align-items: center; gap: 6px; }
.station-card { padding: 22px; }
.station-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 19px; }
.station-card h2 { font-size: 16px; font-weight: 650; }
.station-address { display: flex; gap: 5px; font-size: var(--type-small); color: #96a0b2; margin-top: 10px; min-height: 38px; }
.station-card-bottom { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: #8e9bae; font-size: var(--type-small); }
.station-card-bottom button { border: 0; background: none; color: var(--delor-blue); font-size: var(--type-small); }
.subscription-card { padding: 25px; display: flex; flex-direction: column; }
.subscription-card .product-icon { width: 45px; height: 45px; }
.subscription-card h2 { font-size: 18px; font-weight: 650; margin: 18px 0 8px; }
.subscription-card > p { color: #93a0b3; font-size: var(--type-small); line-height: 1.7; min-height: 40px; margin-bottom: 20px; }
.subscription-price { font-size: 27px; font-weight: 650; letter-spacing: -.5px; }
.subscription-price > span { color: #98a3b6; font-size: var(--type-small); font-weight: 400; letter-spacing: 0; }
.subscription-date { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 17px; margin-top: 17px; font-size: var(--type-small); color: #7f8ca4; }
.auto-renew { display: flex; align-items: center; justify-content: space-between; font-size: var(--type-small); color: #8b97ab; margin: 18px 0; }
.auto-renew .form-check { margin: 0; min-height: 0; }
.form-check-input { cursor: pointer; border-color: #d9dfeb; }
.form-check-input:checked { background-color: var(--delor-blue); border-color: var(--delor-blue); }
.form-control,.form-select { font-size: var(--type-small); border-color: #e1e6f0; padding-top: 11px; padding-bottom: 11px; border-radius: 7px; }
.form-control:focus,.form-select:focus,.form-check-input:focus { border-color: #7591d6; box-shadow: 0 0 0 .2rem #193b9320; }
.form-label { font-size: var(--type-small); color: #7c899f; margin-bottom: 8px; }
.form-panel { padding-bottom: 25px; }
.form-panel form { padding: 0 22px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.company-contact { padding: 28px 23px; }
.company-contact h2 { margin-top: 15px; }
.company-contact > p { font-size: var(--type-small); color: #8f9bae; margin-top: 6px; }
.contact-avatar { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; color: #324e9e; background: #eef2fd; font-size: 20px; font-weight: 600; }
.contact-detail { margin-top: 20px; }
.contact-detail small { display: block; font-size: var(--type-small); color: #9ca6b8; margin-bottom: 4px; }
.contact-detail strong { font-size: var(--type-small); font-weight: 500; }
.company-contact .btn { margin-top: 24px; }
.info-note { display: flex; align-items: flex-start; gap: 10px; color: #92a0b7; padding: 18px 8px; font-size: var(--type-small); line-height: 1.7; }
.info-note .icon { width: 18px; height: 18px; margin-top: 3px; }
.input-search { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid #e5e9f1; border-radius: 7px; color: #9aa5b8; }
.input-search input { border: 0; outline: 0; min-width: 0; width: 100%; font-size: var(--type-small); background: transparent; color: var(--ink); }
.input-search:focus-within { border-color: #7f94c6; box-shadow: 0 0 0 3px #00177410; }
.input-search input::placeholder { color: #a0aabb; }
.input-search.large { padding: 12px; }
.input-search.large input { font-size: var(--type-body); }
.document-filters { display: flex; gap: 12px; padding: 22px; }
.document-filters .input-search { flex: 1; }
.document-filters .form-select { width: 190px; }
.table-footer { padding: 18px 22px; color: #a0aaba; font-size: var(--type-small); border-top: 1px solid var(--line); }
.empty-state { padding: 45px 20px !important; text-align: center; color: #939fb2 !important; }
.loyalty-banner { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 35px; border-radius: 15px; background: var(--delor-blue); color: #fff; margin-bottom: 20px; overflow: hidden; }
.loyalty-banner .eyebrow { color: #9cafdf; }
.loyalty-banner h2 { font-size: 30px; letter-spacing: -.7px; line-height: 1.25; font-weight: 650; }
.loyalty-banner p { color: #a5b5e0; font-size: var(--type-small); margin: 15px 0 22px; }
.bonus-card { min-width: 270px; width: 300px; background: linear-gradient(130deg,#4969c9,#1c3b98); border: 1px solid #7890d9; border-radius: 15px; padding: 22px; box-shadow: 0 16px 30px #000c4220; transform: rotate(-8deg); }
.bonus-card > span { display: flex; justify-content: space-between; font-size: 20px; font-weight: 700; letter-spacing: 1.5px; }
.bonus-card > span > span { font-size: var(--type-small); color: #acbeed; padding-top: 7px; }
.card-chip { width: 34px; height: 28px; display: block; margin: 23px 0 14px; }
.bonus-card strong { font-size: var(--type-body); letter-spacing: 1px; font-weight: 500; }
.bonus-card small { display: block; color: #c4d1f7; font-size: var(--type-small); letter-spacing: 1.5px; margin-top: 14px; }
.loyalty-stats .stat-value { font-size: 27px; }
.balance-panel { height: 100%; padding: 30px; border-radius: 14px; background: var(--delor-blue); color: white; }
.balance-panel .eyebrow { color: #afc0ea; }
.balance-panel h2 { font-size: 46px; font-weight: 650; margin: 18px 0 8px; }
.balance-panel h2 > span { font-size: 27px; color: #92aae0; }
.balance-panel p { color: #c2d0f0; font-size: var(--type-small); }
.balance-panel .btn { margin-top: 36px; }
.finance-summary { padding: 26px; }
.finance-summary > p { color: #9aa5b6; font-size: var(--type-small); margin: 7px 0 22px; }
.expense-line { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: var(--type-small); color: #8693a9; }
.expense-line strong { color: #52617c; font-weight: 500; }
.expense-line.total { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--ink); }
.expense-line.total strong { color: var(--delor-blue); font-size: 19px; font-weight: 650; }
.support-contact { background: #eef2fd; border: 1px solid #dfe6f7; padding: 28px; border-radius: 13px; }
.support-contact-icon { color: var(--delor-blue); margin-bottom: 20px; }
.support-contact-icon .icon { width: 35px; height: 35px; }
.support-contact h2 { font-size: 22px; font-weight: 650; letter-spacing: -.5px; }
.support-contact p { color: #8999b6; font-size: var(--type-small); line-height: 1.8; margin: 12px 0 22px; }
.support-contact > a { display: block; font-size: var(--type-body); color: var(--delor-blue); margin-bottom: 10px; }
.support-contact > span { display: flex; align-items: center; gap: 7px; margin-top: 27px; font-size: var(--type-small); color: #719a94; }
.support-contact .live-dot { background: #43b38b; }
.ticket-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; width: 100%; padding: 22px; background: white; border: 0; border-top: 1px solid var(--line); text-align: left; }
.ticket-row:hover { background: #fafbff; }
.ticket-row strong { font-size: var(--type-small); font-weight: 600; color: var(--ink); }
.ticket-row small { display: block; font-size: var(--type-small); color: #a0aabc; margin-top: 5px; }
.ticket-row > .icon { color: #9fa9bc; }
.settings-panel { padding: 26px; max-width: 800px; }
.settings-panel > p { color: #95a1b6; font-size: var(--type-small); margin: 7px 0 22px; }
.setting-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 19px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.setting-row strong { display: block; font-size: var(--type-small); font-weight: 600; }
.setting-row small { display: block; font-size: var(--type-small); margin-top: 5px; color: #9aa5b6; }
.setting-row .form-check { margin: 0; }
.notification-menu { width: 330px; padding: 18px; margin-top: 14px !important; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 40px #15316714; }
.dropdown-heading { display: flex; justify-content: space-between; font-weight: 650; font-size: var(--type-body); margin-bottom: 8px; }
.notification-entry { padding: 14px 0; border-bottom: 1px solid var(--line); }
.notification-entry strong { display: block; font-size: var(--type-small); font-weight: 600; }
.notification-entry small { display: block; color: #909db2; font-size: var(--type-small); margin-top: 5px; line-height: 1.6; }
.notification-menu .btn { margin-top: 15px; font-size: var(--type-small); }
.modal-content { border: 0; border-radius: 15px; box-shadow: 0 20px 70px #00177420; }
.modal-header { padding: 21px 24px; border-bottom-color: var(--line); }
.modal-title { font-weight: 650; letter-spacing: -.3px; }
.modal-body { padding: 24px; color: #74839c; font-size: var(--type-small); line-height: 1.8; }
.modal-footer { padding: 17px 24px; border-top-color: var(--line); }
.modal-footer:empty { display: none; }
.modal-body .form-label { display: block; }
.modal-body .form-control { margin-bottom: 13px; }
.modal-summary { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); }
.modal-summary strong { color: var(--ink); font-weight: 600; }
.modal-note { background: #f3f5fb; border-radius: 8px; padding: 12px; font-size: var(--type-small); color: #8d9bb3; margin-top: 18px; }
.search-results { display: flex; flex-direction: column; gap: 4px; margin-top: 15px; }
.search-result { display: flex; align-items: center; gap: 12px; padding: 11px; border: 0; border-radius: 7px; background: transparent; color: #6a7a98; text-align: left; }
.search-result:hover { background: #f1f4fd; color: var(--delor-blue); }
.search-result .icon:last-child { margin-left: auto; }
.toast { border: 1px solid #dce7e0; border-radius: 9px; box-shadow: 0 8px 30px #06225710; background: #fff; }
.toast-body { display: flex; align-items: center; gap: 10px; padding: 15px; font-size: var(--type-small); color: #60728c; }
.toast-symbol { display: grid; place-items: center; flex-shrink: 0; width: 25px; height: 25px; border-radius: 50%; color: #26956b; background: #e7f6ef; }
.catalog-item { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.catalog-item div:nth-child(2) { flex: 1; }
.catalog-item strong { display: block; color: var(--ink); font-size: var(--type-small); }
.catalog-item small { font-size: var(--type-small); color: #94a1b7; }
.catalog-item .btn { font-size: var(--type-small); padding: 7px 10px; }
.ticket-message { padding: 15px; border: 1px solid #e6ebf6; background: #f6f8ff; border-radius: 9px; margin-top: 18px; }
.ticket-message strong { display: block; color: #425e9e; margin-bottom: 8px; }
.sidebar-backdrop { display: none; }
[hidden] { display: none !important; }
@media (min-width: 1600px) {
  :root { --sidebar-width: 266px; }
  main { padding-top: 40px; }
  .welcome-panel { min-height: 288px; padding: 33px; }
  .welcome-panel h2 { font-size: 38px; }
  .welcome-panel p { font-size: var(--type-small); }
  .hero-kicker { font-size: var(--type-small); }
  .stat-card { padding: 23px; }
  .stat-top { font-size: var(--type-small); }
  .product-row { padding-top: 19px; padding-bottom: 19px; }
  .product-info strong { font-size: var(--type-body); }
  .product-info small { font-size: var(--type-small); }
  .product-status small { font-size: var(--type-small); }
  .activity-item strong { font-size: var(--type-small); }
  .activity-item p { font-size: var(--type-small); }
  .activity-item a { font-size: var(--type-small); }
  .activity-item { padding-bottom: 24px; }
}
@media (max-width: 1199px) {
  :root { --sidebar-width: 225px; }
  .sidebar { padding-left: 12px; padding-right: 12px; }
  .nav-item { font-size: var(--type-small); gap: 9px; }
  main { padding: 26px 25px 0; }
  .topbar { padding: 0 25px; }
  .search-trigger span,.search-trigger kbd,.demo-label { display: none; }
  .welcome-panel { min-height: 280px; }
  .station-art { right: 8px; }
  .attention-panel { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; padding: 18px 22px; }
  .attention-top { margin: 0; gap: 8px; }
  .attention-panel h3 { font-size: 16px; }
  .attention-panel h3 br { display: none; }
  .attention-panel > p { margin: 0; }
  .renewal-date { margin: 0; gap: 10px; }
  .attention-panel .btn { max-width: 190px; margin-left: auto; }
  .stat-card { padding: 16px 12px; }
  .stat-bottom { flex-wrap: wrap; font-size: var(--type-small); }
  .stat-value { font-size: 27px; gap: 5px; }
  .stat-value > span { font-size: var(--type-small); }
  .activity-timeline { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
  .activity-item:not(:last-child):before { display: none; }
  .activity-all { justify-content: flex-start; gap: 10px; }
  .document-filters { flex-wrap: wrap; }
  .loyalty-banner { padding: 27px; }
  .loyalty-banner h2 { font-size: 25px; }
  .bonus-card { min-width: 230px; padding: 17px; }
}
@media (max-width: 991px) {
  .sidebar { transform: translateX(-100%); transition: transform .2s ease-out; width: 246px; }
  .sidebar.is-open { transform: translateX(0); }
  .sidebar-backdrop.is-open { display: block; position: fixed; inset: 0; z-index: 1039; background: #04103966; }
  body.menu-open { overflow: hidden; }
  .workspace { margin-left: 0; }
  .topbar { height: 70px; }
  .mobile-menu { display: inline-flex; }
  .breadcrumb-line { margin-right: auto; }
  .topbar-actions { gap: 15px; }
  .welcome-panel { min-height: 270px; }
  .sidebar-bottom { padding-top: 28px; }
  .hero-row { margin-bottom: 18px; }
  .attention-panel { gap: 12px; }
  .attention-panel h3 { font-size: var(--type-body); }
  .attention-top .soft-badge { display: none; }
  .renewal-date { margin-left: auto; }
  .attention-panel > p { display: none; }
  .attention-panel .btn { max-width: 175px; margin-left: 0; }
  .company-contact { height: auto; }
}
@media (max-width: 767px) {
  main { padding: 23px 20px 0; }
  .topbar { padding: 0 17px; gap: 10px; }
  .topbar-actions { gap: 9px; }
  .topbar-divider,.user-details,.user-menu > .icon { display: none; }
  .user-menu { padding: 0; }
  .breadcrumb-line { font-size: var(--type-small); gap: 7px; }
  .page-heading { align-items: flex-start; margin-bottom: 20px; }
  .eyebrow { font-size: var(--type-small); letter-spacing: 1.3px; }
  h1 { font-size: 25px; }
  .page-heading p { font-size: var(--type-small); max-width: 220px; }
  .period-select { width: 134px; font-size: var(--type-small); margin-top: 16px; }
  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-bottom: 18px; }
  .stat-card { padding: 18px; }
  .stat-top { font-size: var(--type-small); }
  .stat-value { font-size: 29px; }
  .stat-value > span { font-size: var(--type-small); }
  .stat-bottom { font-size: var(--type-small); }
  .welcome-panel { padding: 25px; min-height: 260px; }
  .station-art { width: 45%; right: -5px; top: 16px; }
  .welcome-panel h2 { font-size: 29px; }
  .activity-timeline { grid-template-columns: 1fr; gap: 0; }
  .activity-item:not(:last-child):before { display: block; }
  .activity-item strong { font-size: var(--type-small); }
  .activity-item p { font-size: var(--type-small); }
  .activity-item a { font-size: var(--type-small); }
  .activity-item small { font-size: var(--type-small); }
  .connect-product > span { font-size: 0; }
  .table th,.table td { padding-left: 17px; padding-right: 17px; }
  .workspace-footer { font-size: var(--type-small); }
  .workspace-footer > span:last-child { display: none; }
  .section-toolbar { flex-wrap: wrap; }
  .section-toolbar .btn { font-size: var(--type-small); }
  .document-filters .input-search { flex-basis: 100%; }
  .document-filters .form-select { flex: 1; }
  .loyalty-banner { flex-direction: column; align-items: flex-start; padding: 30px; }
  .bonus-card { align-self: center; margin: 15px 0; }
  .loyalty-stats .stat-value { font-size: 26px; }
  #view-loyalty .panel-heading { flex-wrap: wrap; }
  .form-panel .panel-heading { align-items: flex-start; }
}
@media (max-width: 479px) {
  main { padding: 20px 14px 0; }
  .topbar { padding: 0 10px; }
  .breadcrumb-line > span,.breadcrumb-line > .icon { display: none; }
  .page-heading { flex-wrap: wrap; gap: 9px; }
  .page-heading-actions { width: 100%; justify-content: space-between; }
  .demo-label { display: block; }
  .period-select { margin-top: 0; }
  .page-heading p { max-width: none; }
  .welcome-panel { min-height: 294px; padding: 23px; }
  .welcome-panel h2 { font-size: 29px; }
  .welcome-panel p { font-size: var(--type-small); max-width: 230px; }
  .station-art { width: 54%; height: 62%; right: -26px; top: auto; bottom: 4px; opacity: .9; }
  .station-art img { height: 100%; }
  .art-status { display: none; }
  .welcome-panel .btn { margin-top: 20px; padding: 10px 12px; font-size: var(--type-small); }
  .attention-panel { display: grid; grid-template-columns: 32px 1fr; gap: 9px 12px; }
  .attention-panel h3 { font-size: var(--type-body); }
  .renewal-date { grid-column: 2; margin-left: 0; justify-content: flex-start; }
  .attention-panel .btn { grid-column: 1 / -1; max-width: none; margin-top: 3px; }
  .stat-card { padding: 15px 12px; }
  .stat-top { font-size: var(--type-small); }
  .stat-value { font-size: 27px; }
  .stat-value > span { font-size: var(--type-small); }
  .stat-bottom { font-size: var(--type-small); }
  .stat-bottom .growth { font-size: var(--type-small); }
  .panel-heading { padding: 19px 17px; }
  .panel-heading h2 { font-size: var(--type-body); }
  .product-row { padding: 15px 17px; gap: 9px; }
  .product-icon { width: 32px; height: 32px; border-radius: 8px; }
  .product-icon .icon { width: 18px; height: 18px; }
  .product-info strong { font-size: var(--type-small); }
  .product-info small { font-size: var(--type-small); }
  .product-status .soft-badge { font-size: var(--type-small); padding: 4px; }
  .product-status small { font-size: var(--type-small); }
  .product-open { display: none; }
  .connect-product { padding: 17px; }
  .notification-menu { width: min(330px,calc(100vw - 24px)); }
  .document-filters { padding: 17px; gap: 9px; }
  .document-filters .btn { padding: 10px; font-size: var(--type-small); }
  .document-filters .form-select { font-size: var(--type-small); min-width: 120px; width: auto; }
  .ticket-row { flex-wrap: wrap; padding: 18px; }
  .ticket-row > .icon { display: none; }
  .ticket-row > span:first-child { width: 100%; }
  .settings-panel { padding: 23px 19px; }
  .loyalty-banner { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
