:root {
  --ink: #0a1117;
  --ink-2: #121c24;
  --ink-3: #18242c;
  --paper: #f4f7f7;
  --panel: #ffffff;
  --line: #e3eaeb;
  --muted: #75838a;
  --muted-2: #9ca8ad;
  --teal: #20c7b3;
  --teal-soft: #dff8f3;
  --blue: #4b8af1;
  --amber: #f4ae49;
  --coral: #ee7068;
  --purple: #8870dc;
  --shadow: 0 12px 36px rgba(20, 41, 47, .06);
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { background: var(--paper); font-size: 13px; }
button, input { font: inherit; }
button { border: 0; cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 254px; flex: 0 0 254px; background: var(--ink); color: #fff; display: flex; flex-direction: column; min-height: 100vh; transition: width .26s ease, flex-basis .26s ease; overflow: hidden; }
.brand-block { height: 78px; display: flex; align-items: center; gap: 11px; padding: 0 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand-copy { min-width: 126px; display: flex; flex-direction: column; gap: 3px; }
.brand-copy strong { font-family: 'Space Grotesk', sans-serif; font-size: 16px; letter-spacing: -.45px; }
.brand-copy strong span { color: var(--teal); }
.brand-copy small { color: #78888e; font-size: 8px; font-weight: 700; letter-spacing: 1.7px; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 8px); gap: 2px; transform: rotate(45deg); width: 20px; }
.brand-mark span { display: block; width: 8px; height: 8px; background: var(--teal); border-radius: 2px; }
.brand-mark span:nth-child(2), .brand-mark span:nth-child(3) { background: #f7b547; }
.icon-button, .more-button { color: #a4b1b5; background: transparent; }
.sidebar-toggle { margin-left: auto; font-size: 22px; line-height: 1; }
.profile-card { display: flex; align-items: center; gap: 10px; margin: 20px 16px 16px; padding: 10px 10px 10px 6px; border-radius: 10px; background: rgba(255,255,255,.05); }
.avatar, .mini-avatar { display: grid; place-items: center; border-radius: 50%; font-size: 11px; font-weight: 700; color: #09201e; background: linear-gradient(145deg, #d0faf3, #52cdbd); }
.avatar { width: 36px; height: 36px; }
.profile-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.profile-copy strong { font-size: 12px; }
.profile-copy span { color: #8c9ba0; font-size: 10px; }
.online-dot, .live-pill i, .secure-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #51d08a; margin-right: 4px; }
.more-button { margin-left: auto; font-size: 16px; letter-spacing: 2px; }
.search-box { display: flex; align-items: center; gap: 7px; height: 37px; margin: 0 15px 22px; padding: 0 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 7px; background: rgba(255,255,255,.06); color: #7e8b91; }
.search-box input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: #f5f8f8; font-size: 11px; }
.search-box input::placeholder { color: #6e7a7f; }
.search-icon { font-size: 20px; transform: rotate(-18deg); }
kbd { color: #728187; font-size: 9px; white-space: nowrap; }
.side-scroll { overflow: auto; padding: 0 10px; scrollbar-width: none; }
.side-scroll::-webkit-scrollbar { display: none; }
.nav-group { margin-bottom: 20px; }
.group-label { display: flex; justify-content: space-between; padding: 0 10px 8px; color: #718187; font-weight: 700; letter-spacing: 1.3px; font-size: 9px; }
.group-label span { color: #4c5d63; font-size: 8px; }
.side-link { width: 100%; min-height: 38px; display: flex; align-items: center; gap: 9px; padding: 6px 10px; color: #a8b3b6; border-radius: 7px; background: transparent; text-align: left; transition: background .18s, color .18s; }
.side-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.side-link.active { color: #e9fffb; background: rgba(32,199,179,.15); box-shadow: inset 2px 0 0 var(--teal); }
.nav-icon { width: 16px; text-align: center; color: #84949a; font-size: 14px; }
.side-link.active .nav-icon { color: var(--teal); }
.nav-text { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; font-size: 12px; font-weight: 600; }
.nav-text em { color: #65747a; font-size: 9px; font-style: normal; font-weight: 400; }
.side-link b { color: #6e7d82; font-size: 17px; font-weight: 400; }
.count { width: 18px; height: 18px; display: grid; place-items: center; color: #aab8bb; border-radius: 50%; background: #27343a; font-size: 9px; }
.count.orange { color: #21190e; background: var(--amber); }
.sidebar-footer { margin-top: auto; display: flex; justify-content: space-around; padding: 15px 9px; border-top: 1px solid rgba(255,255,255,.08); color: #819095; }
.sidebar-footer button { position: relative; color: inherit; background: transparent; font-size: 16px; }
.footer-badge { position: absolute; right: -7px; top: -8px; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; color: #fff; background: var(--coral); font-size: 8px; }
.footer-badge.muted { background: var(--teal); color: #09201e; }
.sidebar.is-collapsed { width: 76px; flex-basis: 76px; }
.sidebar.is-collapsed .brand-copy, .sidebar.is-collapsed .profile-copy, .sidebar.is-collapsed .more-button, .sidebar.is-collapsed .search-box input, .sidebar.is-collapsed .search-box kbd, .sidebar.is-collapsed .nav-text, .sidebar.is-collapsed .side-link b, .sidebar.is-collapsed .group-label, .sidebar.is-collapsed .profile-card { display: none; }
.sidebar.is-collapsed .brand-block { justify-content: center; padding: 0; }
.sidebar.is-collapsed .sidebar-toggle { margin: 0; transform: rotate(180deg); }
.sidebar.is-collapsed .search-box { margin: 18px auto; width: 39px; justify-content: center; padding: 0; }
.sidebar.is-collapsed .side-link { justify-content: center; padding: 7px 0; }
.sidebar.is-collapsed .nav-icon { font-size: 16px; }
.main-panel { flex: 1; min-width: 0; background: var(--paper); }
.topbar { height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 30px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.82); }
.breadcrumbs { display: flex; align-items: center; gap: 9px; color: #9aa5a9; letter-spacing: 1.2px; font-size: 9px; font-weight: 700; }
.breadcrumbs i { color: #c0c8ca; font-style: normal; }
.breadcrumbs strong { color: #24343a; }
.live-pill { display: flex; align-items: center; padding: 4px 7px; border-radius: 4px; color: #329878; background: #e3f8ef; font-size: 8px; letter-spacing: .8px; }
.topbar-actions { display: flex; align-items: center; gap: 17px; }
.exchange { display: flex; align-items: baseline; gap: 7px; padding-right: 18px; border-right: 1px solid var(--line); font-size: 10px; color: #8c989d; }
.exchange strong { color: #33434a; }
.exchange small { color: #209b88; font-weight: 700; }
.top-icon { position: relative; color: #68777d; background: transparent; font-size: 17px; }
.top-dot { position: absolute; right: -2px; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); border: 1px solid #fff; }
.user-menu { display: flex; align-items: center; gap: 8px; color: #36464c; background: transparent; font-size: 11px; font-weight: 600; }
.user-menu b { color: #8d989c; font-size: 16px; font-weight: 400; }
.mini-avatar { width: 27px; height: 27px; font-size: 8px; }
.module-bar { height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 30px; border-bottom: 1px solid var(--line); background: #fff; }
.module-tabs { display: flex; align-items: center; gap: 2px; min-width: 0; overflow: auto; scrollbar-width: none; }
.module-tabs::-webkit-scrollbar { display: none; }
.module-tab { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 12px 12px 10px; color: #8a979b; white-space: nowrap; background: transparent; font-size: 10px; font-weight: 700; }
.module-tab small { color: #b2bcbf; font-size: 8px; font-weight: 400; }
.module-tab.active { color: #0a7167; }
.module-tab.active::after { position: absolute; content: ''; right: 10px; bottom: 0; left: 10px; height: 3px; border-radius: 3px 3px 0 0; background: var(--teal); }
.service-button { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 8px 10px; border: 1px solid #dbe5e5; border-radius: 7px; color: #33505a; background: #fbfdfd; text-align: left; }
.service-button span:not(.service-avatar) { display: flex; flex-direction: column; gap: 2px; }
.service-button strong { font-size: 10px; }
.service-button small { color: #94a0a4; font-size: 8px; }
.service-button i { color: var(--teal); font-style: normal; }
.service-avatar { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: #0f7369; background: var(--teal-soft); font-size: 14px; }
.content-wrap { max-width: 1530px; margin: 0 auto; padding: 34px 30px 12px; }
.hero-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.eyebrow, .panel-kicker { margin: 0 0 10px; color: #94a0a4; font-size: 9px; letter-spacing: 1.5px; font-weight: 700; }
.eyebrow-line { display: inline-block; width: 22px; height: 1px; margin-right: 7px; vertical-align: middle; background: var(--teal); }
h1 { margin: 0; color: #14252c; font-family: 'Space Grotesk', sans-serif; font-size: clamp(26px, 3vw, 42px); line-height: .98; letter-spacing: -1.7px; }
h1 em { color: #9aa6a9; font-size: .78em; font-style: normal; font-weight: 500; letter-spacing: -1.3px; }
.hero-note { margin: 13px 0 0; color: #7b8a90; font-size: 11px; }
.hero-tools { display: flex; align-items: center; gap: 11px; }
.range-switcher { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.range { padding: 7px 10px; border-radius: 5px; color: #9aa5a9; background: transparent; font-size: 10px; }
.range.active { color: #176d66; background: var(--teal-soft); font-weight: 700; }
.primary-button { display: flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 6px; color: #fff; background: var(--ink-2); box-shadow: 0 7px 13px rgba(6, 18, 23, .14); font-size: 11px; font-weight: 700; }
.primary-button span { color: var(--teal); font-size: 16px; line-height: 10px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.metric-card { position: relative; min-height: 176px; overflow: hidden; padding: 18px 18px 15px; border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 10px; background: var(--panel); box-shadow: var(--shadow); }
.metric-card.accent-blue { border-top-color: var(--blue); }
.metric-card.accent-amber { border-top-color: var(--amber); }
.metric-card.accent-coral { border-top-color: var(--coral); }
.metric-top { display: flex; align-items: center; justify-content: space-between; color: #9ba7aa; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.metric-top i { color: var(--teal); font-size: 13px; font-style: normal; }
.metric-number { margin-top: 16px; color: #15262d; font-family: 'Space Grotesk', sans-serif; font-size: 34px; font-weight: 600; letter-spacing: -2px; }
.unit { margin-left: 1px; font-size: 18px; letter-spacing: -.7px; }
.metric-label { display: flex; flex-direction: column; gap: 3px; margin-top: 3px; color: #42535a; font-size: 11px; font-weight: 700; }
.metric-label span { color: #a0abad; font-size: 9px; font-weight: 400; }
.trend { padding: 4px 6px; border-radius: 4px; font-size: 9px; letter-spacing: 0; }
.trend.positive { color: #1c9d88; background: #e5faf4; }
.trend.negative { color: #d95c57; background: #ffefed; }
.trend.neutral { color: #bd7c2b; background: #fff4e2; }
.spark { display: flex; align-items: end; gap: 4px; position: absolute; right: 17px; bottom: 18px; width: 74px; height: 38px; opacity: .9; }
.spark span { flex: 1; border-radius: 3px 3px 1px 1px; background: #c8f1eb; }
.spark span:nth-child(6), .spark span:nth-child(7) { background: var(--teal); }
.progress-ring { position: absolute; right: 17px; bottom: 20px; width: 50px; height: 50px; }
.progress-ring svg { width: 50px; height: 50px; transform: rotate(-90deg); }
.ring-bg, .ring-value { fill: none; stroke-width: 3.4; }
.ring-bg { stroke: #e7eff0; }
.ring-value { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 96 100; }
.progress-ring b { position: absolute; inset: 0; display: grid; place-items: center; color: #5479b9; font-size: 9px; }
.mini-bar { position: absolute; right: 17px; bottom: 34px; width: 76px; height: 6px; border-radius: 8px; background: #fff2db; }
.mini-bar span { display: block; height: 100%; border-radius: inherit; background: var(--amber); }
.mini-meta { position: absolute; right: 17px; bottom: 18px; display: flex; flex-direction: column; align-items: end; gap: 2px; color: #a2abad; font-size: 8px; }
.mini-meta strong { color: #be7b2a; }
.action-avatars { position: absolute; right: 17px; bottom: 18px; display: flex; align-items: center; }
.action-avatars span { display: grid; place-items: center; width: 25px; height: 25px; margin-left: -5px; border: 2px solid #fff; border-radius: 50%; color: #9e514d; background: #ffd7d1; font-size: 8px; font-weight: 700; }
.action-avatars span:nth-child(2) { color: #526da7; background: #dbe7ff; }
.action-avatars span:nth-child(3) { color: #9066b2; background: #eee2ff; }
.action-avatars .more-avatar { color: #6d7c81; background: #eef2f2; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(330px, .95fr); gap: 18px; margin-bottom: 18px; }
.lower-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, .82fr); gap: 18px; }
.panel { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); box-shadow: var(--shadow); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.panel-kicker { margin-bottom: 5px; font-size: 8px; letter-spacing: 1.5px; }
h2 { margin: 0; color: #203139; font-family: 'Space Grotesk', sans-serif; font-size: 17px; letter-spacing: -.5px; }
.panel-menu { color: #9eaaad; background: transparent; font-size: 16px; letter-spacing: 2px; }
.chart-summary { display: flex; align-items: end; justify-content: space-between; margin-top: 21px; }
.chart-summary > div:first-child { display: flex; align-items: baseline; gap: 7px; }
.chart-summary strong { color: #1c333b; font-family: 'Space Grotesk', sans-serif; font-size: 29px; letter-spacing: -1.5px; }
.chart-summary span { color: #9ba8ab; font-size: 10px; }
.summary-delta { color: #1fa18d; font-size: 10px; font-weight: 700; }
.summary-delta i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: var(--teal); }
.summary-delta small { margin-left: 3px; color: #a2adaf; font-weight: 400; }
.chart-wrap { position: relative; height: 216px; margin-top: 16px; padding-left: 31px; }
.y-labels { position: absolute; top: 1px; bottom: 19px; left: 0; display: flex; flex-direction: column; justify-content: space-between; color: #a8b3b6; font-size: 9px; }
.chart { display: block; width: 100%; height: 190px; overflow: visible; }
.grid-lines line { stroke: #e9efef; stroke-dasharray: 3 4; stroke-width: 1; }
.area-path { fill: url(#chartFill); }
.line-path { fill: none; stroke: var(--teal); stroke-width: 2.3; vector-effect: non-scaling-stroke; }
.chart-point { fill: #fff; stroke: var(--teal); stroke-width: 3; }
.chart-point-inner { fill: var(--teal); }
.x-labels { display: flex; justify-content: space-between; padding-top: 7px; color: #a0acae; font-size: 9px; }
.chart-legend { display: flex; align-items: center; gap: 17px; margin-top: 7px; padding-top: 13px; border-top: 1px solid #eef2f2; color: #829095; font-size: 9px; }
.chart-legend span { display: flex; align-items: center; gap: 5px; }
.legend-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.legend-dot.purple { background: var(--purple); }
.chart-updated { margin-left: auto; color: #b2bbbd; }
.health-score { display: flex; align-items: center; gap: 13px; margin: 21px 0 13px; padding: 11px; border-radius: 8px; background: #f5fbfa; }
.health-orb { display: flex; align-items: baseline; gap: 1px; color: #157d72; }
.health-orb span { font-family: 'Space Grotesk', sans-serif; font-size: 26px; letter-spacing: -1px; }
.health-orb small { color: #9aafac; font-size: 9px; }
.health-score strong { color: #2b464b; font-size: 11px; }
.health-score p { margin: 3px 0 0; color: #93a2a4; font-size: 9px; }
.status-list { display: flex; flex-direction: column; }
.status-row { display: grid; grid-template-columns: 24px 1fr auto 13px; align-items: center; gap: 8px; min-height: 50px; padding: 5px 0; border-bottom: 1px solid #eef2f2; color: #9ba7aa; background: transparent; text-align: left; }
.status-row:last-child { border-bottom: 0; }
.status-mark { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 6px; font-size: 10px; font-weight: 700; }
.status-mark.green { color: #1c9f8c; background: #e4f8f3; }
.status-mark.amber { color: #bd7b2a; background: #fff2dc; }
.status-row span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
.status-row strong { color: #3e5057; font-size: 10px; }
.status-row small { color: #a3adaf; font-size: 8px; }
.status-row b { color: #457f78; font-size: 9px; }
.status-row > i { color: #bcc5c7; font-size: 16px; font-style: normal; }
.text-button, .view-all { margin-top: 10px; padding: 0; color: #168b7b; background: transparent; font-size: 10px; font-weight: 700; }
.text-button span, .view-all span { margin-left: 5px; }
.activity-panel { padding-bottom: 11px; }
.view-all { margin: 2px 0 0; }
.activity-head, .activity-row { display: grid; grid-template-columns: minmax(250px, 1fr) 76px 46px 26px; align-items: center; gap: 14px; }
.activity-head { padding: 22px 0 7px 40px; color: #a4afb2; font-size: 8px; letter-spacing: 1.1px; }
.activity-head span:first-child { grid-column: 1; }
.activity-row { width: 100%; padding: 10px 0; border-top: 1px solid #eff2f2; color: #819095; background: transparent; text-align: left; }
.activity-row:hover { background: #fbfdfd; }
.activity-row > span:nth-child(2) { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.activity-row strong { overflow: hidden; color: #46565c; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.activity-row strong b { color: #1c8f80; font-weight: 700; }
.activity-row small { overflow: hidden; color: #a2adaf; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.activity-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 7px; font-size: 15px; }
.teal-bg { color: #149e8c; background: #e1f8f3; }
.amber-bg { color: #b97627; background: #fff1da; }
.blue-bg { color: #4c80dc; background: #e9f0ff; }
.purple-bg { color: #7b60c8; background: #eee9ff; }
.module-tag { justify-self: start; padding: 4px 5px; border-radius: 4px; font-size: 8px; font-weight: 700; letter-spacing: .5px; }
.module-tag.pur { color: #aa6d25; background: #fff3df; }
.module-tag.mes { color: #6d58b8; background: #eeeaff; }
.module-tag.crm { color: #3972cb; background: #eaf1ff; }
.module-tag.ilm { color: #168777; background: #e5f9f5; }
.activity-row time { color: #9da9ab; font-size: 9px; }
.owner { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: #64757a; background: #eef3f3; font-size: 8px; font-weight: 700; }
.empty-search { display: none; padding: 25px 0; color: #a0acae; text-align: center; font-size: 11px; }
.alert-count { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 3px; border-radius: 50%; color: #d85d57; background: #ffebea; font-family: 'DM Sans', sans-serif; font-size: 9px; vertical-align: 2px; }
.alert-list { margin-top: 13px; }
.alert-row { display: grid; grid-template-columns: 10px 1fr auto; gap: 9px; align-items: start; width: 100%; padding: 13px 0; border-bottom: 1px solid #eef2f2; background: transparent; text-align: left; }
.alert-indicator { width: 6px; height: 6px; margin-top: 4px; border-radius: 50%; }
.alert-indicator.high { background: var(--coral); box-shadow: 0 0 0 4px #ffeded; }
.alert-indicator.medium { background: var(--amber); box-shadow: 0 0 0 4px #fff4e4; }
.alert-indicator.low { background: var(--blue); box-shadow: 0 0 0 4px #ecf2ff; }
.alert-row span:nth-child(2) { display: flex; flex-direction: column; gap: 4px; }
.alert-row strong { color: #45565c; font-size: 10px; }
.alert-row small { color: #a2adaf; font-size: 8px; }
.alert-row time { color: #a7b1b3; font-size: 9px; }
.alert-footer { display: flex; align-items: center; gap: 7px; margin-top: 13px; padding: 7px 9px; border-radius: 5px; color: #278d7f; background: #ebfaf7; font-size: 9px; font-weight: 700; }
.alert-footer span { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; color: #fff; background: var(--teal); font-size: 9px; }
.alert-footer small { margin-left: 2px; color: #8ca7a4; font-size: 8px; font-weight: 400; }
.main-footer { display: flex; justify-content: space-between; padding: 20px 30px 14px; color: #a0abad; font-size: 9px; }
.main-footer > span:last-child { color: #93a2a5; }
.toast { position: fixed; right: 25px; bottom: 22px; z-index: 10; max-width: 300px; padding: 12px 15px; border: 1px solid #bdece4; border-radius: 7px; color: #156d64; background: #eafff9; box-shadow: 0 12px 28px rgba(25, 112, 99, .15); font-size: 11px; font-weight: 700; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateY(0); }
.modal-backdrop { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: rgba(8, 18, 23, .52); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.modal-backdrop.is-open { opacity: 1; pointer-events: auto; }
.modal-card { position: relative; width: min(430px, 100%); padding: 26px; border: 1px solid #dce8e7; border-radius: 12px; background: #fff; box-shadow: 0 24px 80px rgba(4, 19, 25, .22); }
.modal-close { position: absolute; top: 13px; right: 15px; color: #95a2a5; background: transparent; font-size: 24px; line-height: 1; }
.modal-card h2 { margin-top: 3px; font-size: 21px; }
.modal-copy { margin: 8px 0 20px; color: #8b999d; font-size: 11px; }
.modal-label { display: block; margin-bottom: 7px; color: #607177; font-size: 10px; font-weight: 700; }
.modal-input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #dbe5e5; border-radius: 6px; color: #273b42; background: #fbfdfd; outline: 0; font-size: 12px; }
.modal-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px #def8f3; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }
.modal-actions .primary-button { box-shadow: none; }
.secondary-button { padding: 10px 13px; border: 1px solid #dce6e6; border-radius: 6px; color: #718187; background: #fff; font-size: 11px; font-weight: 700; }
@media (max-width: 1180px) {
  .sidebar { width: 218px; flex-basis: 218px; }
  .module-tab { padding-inline: 8px; }
  .module-tab small { display: none; }
  .content-wrap { padding-inline: 22px; }
  .topbar, .module-bar { padding-inline: 22px; }
  .exchange { display: none; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .sidebar { position: fixed; z-index: 5; width: 76px; flex-basis: 76px; }
  .sidebar .brand-copy, .sidebar .profile-copy, .sidebar .more-button, .sidebar .search-box input, .sidebar .search-box kbd, .sidebar .nav-text, .sidebar .side-link b, .sidebar .group-label, .sidebar .profile-card { display: none; }
  .sidebar .brand-block { justify-content: center; padding: 0; }
  .sidebar .sidebar-toggle { margin: 0; transform: rotate(180deg); }
  .sidebar .search-box { margin: 18px auto; width: 39px; justify-content: center; padding: 0; }
  .sidebar .side-link { justify-content: center; padding: 7px 0; }
  .main-panel { margin-left: 76px; }
  .topbar { padding-inline: 16px; }
  .module-bar { padding-inline: 16px; }
  .service-button { display: none; }
  .content-wrap { padding: 25px 16px 10px; }
  .hero-row { align-items: start; flex-direction: column; margin-bottom: 22px; }
  .hero-tools { width: 100%; justify-content: space-between; }
  .dashboard-grid, .lower-grid { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .topbar { height: 53px; }
  .breadcrumbs { font-size: 8px; }
  .user-menu span:not(.mini-avatar), .user-menu b { display: none; }
  .module-bar { height: 55px; }
  .metric-grid { grid-template-columns: 1fr; gap: 10px; }
  .metric-card { min-height: 150px; }
  h1 { font-size: 29px; }
  .hero-note { line-height: 1.5; }
  .panel { padding: 16px; }
  .activity-head { padding-left: 36px; grid-template-columns: 1fr 60px 35px; }
  .activity-head span:nth-child(4) { display: none; }
  .activity-row { grid-template-columns: 27px minmax(0,1fr) 60px 35px; gap: 8px; }
  .activity-row time { grid-column: 4; grid-row: 1; }
  .activity-row .owner { display: none; }
  .activity-row .module-tag { grid-column: 3; grid-row: 1; }
  .chart-legend { gap: 9px; }
  .chart-updated { display: none !important; }
  .main-footer { padding-inline: 16px; flex-direction: column; gap: 7px; }
}
