:root {
  color-scheme: light;
  --font: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --page: #f4f4f8;
  --surface: #ffffff;
  --surface-soft: #f8f7fa;
  --surface-tint: #f4f0f6;
  --text: #24212a;
  --text-soft: #625e69;
  --muted: #98939f;
  --line: #e9e6ec;
  --primary: #4f47bd;
  --primary-hover: #423c9a;
  --primary-soft: #ecebf8;
  --primary-ink: #423c9a;
  --accent: #4f47bd;
  --accent-rgb: 79, 71, 189;
  --danger: #d64646;
  --danger-dark: #b82f35;
  --danger-soft: #fff1f1;
  --success: #23866a;
  --success-soft: #eaf7f2;
  --warning: #a56b18;
  --warning-soft: #fff7e7;
  --info: #506f9a;
  --info-soft: #edf3fb;
  --shadow: 0 8px 24px rgba(45, 34, 48, .07);
  --shadow-small: 0 2px 10px rgba(45, 34, 48, .05);
  --radius: 8px;
}

html[data-review-theme="rose"] {
  --page: #f8f3f4; --surface-soft: #fffafa; --surface-tint: #fef1f3;
  --primary: #f28295; --primary-hover: #c16a7b; --primary-soft: #fef1f3;
  --primary-ink: #a84f62; --accent: #f28295; --accent-rgb: 242, 130, 149;
}

html[data-review-theme="honey"] {
  --page: #f3faf5; --surface-soft: #f8fcf9; --surface-tint: #ecfbef;
  --primary: #4fd86b; --primary-hover: #42ad5a; --primary-soft: #ecfbef;
  --primary-ink: #27843b; --accent: #4fd86b; --accent-rgb: 79, 216, 107;
}

html[data-review-theme="mist"] {
  --page: #f2f8fa; --surface-soft: #f7fbfc; --surface-tint: #e9f8fc;
  --primary: #36c0e2; --primary-hover: #2f9ab7; --primary-soft: #e9f8fc;
  --primary-ink: #247e96; --accent: #36c0e2; --accent-rgb: 54, 192, 226;
}

html[data-review-theme="emerald"] {
  --page: #f0f7f5; --surface-soft: #f6faf8; --surface-tint: #e7f4f0;
  --primary: #239a74; --primary-hover: #207c61; --primary-soft: #e7f4f0;
  --primary-ink: #17664f; --accent: #239a74; --accent-rgb: 35, 154, 116;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: var(--page); color: var(--text); font-family: var(--font); font-size: 14px; line-height: 1.5; }
button, input, select { color: inherit; font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid rgba(var(--accent-rgb), .24); outline-offset: 2px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
h1, h2, h3, p { margin: 0; }
small { color: var(--muted); font-size: 12px; }

.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; width: 224px; flex-direction: column; border-right: 1px solid var(--line); background: rgba(255,255,255,.96); padding: 22px 16px 16px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; padding: 2px 6px 25px; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; border-radius: var(--radius); background: var(--primary); color: #fff; box-shadow: 0 6px 14px rgba(var(--accent-rgb), .22); }
.brand-mark svg { width: 23px; height: 23px; }
.brand > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.brand strong { font-size: 15px; letter-spacing: .02em; }
.brand small { margin-top: 1px; }
.side-nav { display: grid; gap: 5px; }
.nav-link { position: relative; display: flex; min-height: 46px; align-items: center; gap: 12px; border: 0; border-radius: var(--radius); background: transparent; color: var(--text-soft); padding: 0 13px; text-align: left; transition: .18s ease; }
.nav-link:hover { background: var(--surface-soft); color: var(--primary); }
.nav-link.is-active { background: var(--primary-soft); color: var(--primary-ink); font-weight: 700; }
.nav-link.is-active::before { position: absolute; left: 0; width: 3px; height: 22px; border-radius: 0 3px 3px 0; background: var(--primary); content: ""; }
.nav-link svg { width: 19px; height: 19px; }
.nav-link b { display: grid; min-width: 20px; height: 20px; place-items: center; margin-left: auto; border-radius: 999px; background: var(--danger); color: #fff; font-size: 11px; }
.sidebar-foot { display: grid; gap: 12px; margin-top: auto; }
.theme-select { display: grid; gap: 6px; color: var(--muted); font-size: 11px; }
.theme-select select { width: 100%; height: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-soft); padding: 0 9px; font-size: 12px; }
.user-chip { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; border-top: 1px solid var(--line); padding: 14px 4px 0; }
.user-chip > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; }
.user-chip div { display: flex; flex-direction: column; }
.user-chip button { border: 0; background: transparent; color: var(--muted); letter-spacing: 2px; }

.app-main { width: calc(100% - 224px); max-width: 1660px; margin-left: 224px; padding: 28px 32px 64px; }
.topbar { display: flex; min-height: 74px; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.crumb { margin-bottom: 6px; color: var(--muted); font-size: 11px; }
.topbar h1 { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.2; letter-spacing: -.03em; }
.topbar > div:first-child > p:last-child { margin-top: 7px; color: var(--text-soft); }
.topbar-actions, .toolbar-actions { display: flex; align-items: center; gap: 10px; }
.topbar-actions { padding-top: 5px; }
.review-badge { display: inline-flex; height: 36px; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); padding: 0 13px; color: var(--text-soft); font-size: 12px; font-weight: 650; box-shadow: var(--shadow-small); }
.review-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }
.icon-text-button, .primary-button, .secondary-button { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 7px; border-radius: var(--radius); padding: 0 14px; font-size: 13px; font-weight: 650; transition: .16s ease; }
.icon-text-button { border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-small); }
.primary-button { border: 1px solid var(--primary); background: var(--primary); color: #fff; }
.primary-button:hover { border-color: var(--primary-hover); background: var(--primary-hover); transform: translateY(-1px); }
.secondary-button { border: 1px solid var(--line); background: var(--surface); color: var(--text-soft); }
.secondary-button:hover, .icon-text-button:hover { border-color: rgba(var(--accent-rgb), .32); background: var(--surface-soft); color: var(--primary); }
.primary-button svg, .secondary-button svg, .icon-text-button svg { width: 17px; height: 17px; }
.full { width: 100%; }

.preview-note { display: flex; align-items: center; gap: 12px; border: 1px solid rgba(var(--accent-rgb), .18); border-radius: var(--radius); background: var(--primary-soft); padding: 10px 13px; margin-bottom: 18px; color: var(--primary-ink); font-size: 12px; }
.preview-note strong { border-radius: 4px; background: var(--primary); color: #fff; padding: 2px 7px; font-size: 11px; }
.preview-note button { margin-left: auto; border: 0; background: transparent; color: var(--primary); font-size: 20px; line-height: 1; }

.review-page { display: none; animation: page-in .2s ease; }
.review-page.is-active { display: block; }
@keyframes page-in { from { opacity: .5; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-heading.compact { align-items: center; margin-bottom: 13px; }
.section-heading h2 { font-size: 18px; line-height: 1.28; letter-spacing: -.02em; }
.section-heading p { color: var(--muted); font-size: 12px; }
.eyebrow { display: block; margin-bottom: 3px; color: var(--primary); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.text-button { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; color: var(--primary); padding: 5px 0; font-size: 12px; font-weight: 700; }
.text-button svg { width: 15px; height: 15px; transition: transform .16s; }
.text-button:hover svg { transform: translateX(2px); }
.card-section, .table-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-small); }
.card-section { padding: 20px; }

.priority-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(340px, 3fr); gap: 18px; align-items: stretch; }
.metric-area { min-width: 0; }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.metric-card { position: relative; min-height: 146px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 19px 20px; box-shadow: var(--shadow-small); }
.metric-card::after { position: absolute; right: -28px; bottom: -42px; width: 100px; height: 100px; border-radius: 50%; background: var(--primary-soft); content: ""; opacity: .6; }
.metric-icon { position: absolute; top: 17px; right: 17px; display: grid; width: 34px; height: 34px; place-items: center; border-radius: var(--radius); background: var(--primary-soft); color: var(--primary); }
.metric-icon svg { width: 18px; height: 18px; }
.metric-card p, .finance-metrics p, .customer-metrics p { color: var(--text-soft); font-size: 12px; }
.metric-card > strong { display: block; margin: 14px 0 8px; font-size: clamp(22px, 2vw, 28px); line-height: 1; letter-spacing: -.025em; }
.metric-card.is-danger { border-color: #f2d7d7; background: linear-gradient(135deg, #fff 55%, var(--danger-soft)); }
.metric-card.is-danger .metric-icon { background: var(--danger-soft); color: var(--danger); }
.metric-card.is-danger > strong { color: var(--danger-dark); }
.trend-up { color: var(--success) !important; }
.trend-down { color: var(--danger) !important; }
.danger-text { color: var(--danger-dark) !important; }

.today-panel { display: flex; min-height: 321px; flex-direction: column; border-radius: var(--radius); background: linear-gradient(150deg, var(--primary-hover), var(--primary)); color: #fff; padding: 20px; box-shadow: 0 12px 28px rgba(var(--accent-rgb), .2); }
.section-heading.inverse .eyebrow, .section-heading.inverse p { color: rgba(255,255,255,.65); }
.section-heading.inverse h2 { font-size: 21px; }
.count-badge { border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.1); padding: 4px 9px; font-size: 11px; }
.priority-list { display: grid; gap: 2px; }
.priority-item { display: grid; grid-template-columns: 7px 1fr 17px; align-items: center; gap: 10px; border: 0; border-bottom: 1px solid rgba(255,255,255,.1); background: transparent; color: #fff; padding: 10px 0; text-align: left; }
.priority-item:hover { padding-left: 4px; }
.priority-item > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.priority-item strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.priority-item small { margin-top: 2px; color: rgba(255,255,255,.59); font-size: 10px; }
.priority-item svg { width: 15px; height: 15px; color: rgba(255,255,255,.55); }
.priority-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); }
.priority-item.is-overdue strong, .priority-item.is-overdue small { color: #ffd7d7; }
.priority-item.is-overdue .priority-dot { background: #ff9696; box-shadow: 0 0 0 4px rgba(255,112,112,.13); }
.panel-footer-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 36px; margin-top: auto; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.09); color: #fff; font-size: 11px; font-weight: 700; }
.panel-footer-button:hover { background: rgba(255,255,255,.16); }
.panel-footer-button svg { width: 14px; height: 14px; }

.quick-section { margin-top: 22px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.quick-action { display: grid; grid-template-columns: 42px 1fr 18px; min-height: 82px; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 14px; text-align: left; box-shadow: var(--shadow-small); transition: .18s ease; }
.quick-action:hover { border-color: rgba(var(--accent-rgb), .3); box-shadow: var(--shadow); transform: translateY(-2px); }
.quick-action > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: var(--radius); background: var(--primary-soft); color: var(--primary); }
.quick-action div { display: flex; min-width: 0; flex-direction: column; }
.quick-action strong { font-size: 13px; }
.quick-action small { margin-top: 2px; font-size: 10px; }
.quick-arrow { width: 16px; height: 16px; color: var(--muted); }

.chart-section { margin-top: 22px; }
#toggle-charts svg { transition: transform .18s; }
#toggle-charts[aria-expanded="false"] svg { transform: rotate(-90deg); }
.chart-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 14px; overflow: hidden; max-height: 360px; opacity: 1; transition: max-height .25s ease, opacity .2s ease; }
.chart-grid.is-collapsed { max-height: 0; opacity: 0; }
.chart-card { min-height: 228px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-soft); padding: 16px; }
.chart-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.chart-title > div { display: flex; flex-direction: column; }
.chart-title strong { font-size: 13px; }
.chart-title small { margin-top: 2px; }
.line-chart { position: relative; height: 155px; margin: 17px 2px 0 29px; }
.line-chart > svg { width: 100%; height: 132px; overflow: visible; }
.grid-line { fill: none; stroke: var(--line); stroke-width: 1; }
.area-path { fill: url(#area); stroke: none; }
.line-path { fill: none; stroke: var(--accent); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.dots circle { fill: var(--surface); stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart-y { position: absolute; right: calc(100% + 8px); inset-block: -2px 23px; display: flex; flex-direction: column; justify-content: space-between; color: var(--muted); font-size: 9px; }
.chart-x { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; }
.donut-wrap { display: flex; min-height: 170px; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 42px); }
.donut { display: grid; width: 130px; aspect-ratio: 1; flex: 0 0 auto; place-items: center; border-radius: 50%; background: conic-gradient(var(--primary) 0 59%, #83a3c9 59% 86%, #d2a85e 86% 95%, #cf7777 95% 100%); }
.donut::before { grid-area: 1/1; width: 86px; aspect-ratio: 1; border-radius: 50%; background: var(--surface-soft); content: ""; }
.donut div { z-index: 1; grid-area: 1/1; display: flex; flex-direction: column; align-items: center; }
.donut strong { font-size: 23px; }
.donut span { color: var(--muted); font-size: 9px; }
.legend { display: grid; gap: 10px; }
.legend > span { display: grid; grid-template-columns: 8px auto; column-gap: 7px; align-items: center; }
.legend i { width: 7px; height: 7px; border-radius: 50%; }
.legend b { font-size: 11px; }
.legend em { grid-column: 2; color: var(--muted); font-size: 9px; font-style: normal; }
.legend-a { background: var(--primary); }.legend-b { background: #83a3c9; }.legend-c { background: #d2a85e; }.legend-d { background: #cf7777; }

.device-summary { margin-top: 22px; }
.status-strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.status-strip button { display: flex; align-items: center; justify-content: center; gap: 11px; border: 0; border-right: 1px solid var(--line); background: transparent; padding: 8px; }
.status-strip button:last-child { border-right: 0; }
.status-strip button:hover strong { color: var(--primary); }
.status-strip span { display: flex; flex-direction: column; text-align: left; }
.status-strip strong { font-size: 18px; line-height: 1.15; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; }
.status-dot.available { background: var(--success); }.status-dot.rented { background: #6b85b2; }.status-dot.inspect { background: #d1a048; }.status-dot.repair { background: #c86c6c; }

.page-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.search-control { display: flex; width: min(420px, 55vw); height: 42px; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 0 12px; }
.search-control:focus-within { border-color: rgba(var(--accent-rgb), .55); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .1); }
.search-control svg { width: 17px; color: var(--muted); }
.search-control input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; font-size: 12px; }
.search-control.small { width: 220px; height: 38px; }
.capsule-filters { display: flex; align-items: center; gap: 9px; overflow-x: auto; scrollbar-width: none; margin-bottom: 18px; padding-block: 2px; }
.capsule-filters::-webkit-scrollbar { display: none; }
.capsule-filters button { flex: 0 0 auto; min-height: 42px; border: 1px solid transparent; border-radius: 999px; background: #e9e8eb; padding: 0 17px; color: var(--text-soft); font-size: 14px; }
.capsule-filters button b { margin-left: 5px; font-size: 13px; }
.capsule-filters button:hover { background: var(--primary-soft); }
.capsule-filters button.is-active { background: var(--primary); color: #fff; font-weight: 700; }
.capsule-filters.mini { margin: 0; }
.capsule-filters.mini button { min-height: 38px; padding-inline: 15px; font-size: 13px; }
.inventory-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(360px, 2fr); gap: 14px; align-items: start; }
.table-card { overflow: hidden; }
.table-heading { min-height: 70px; align-items: center; margin: 0; padding: 14px 17px; }
.table-heading h2 { font-size: 17px; }
.table-heading p { margin-top: 3px; }
.desktop-table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th { height: 46px; background: var(--surface-soft); color: var(--muted); padding: 0 14px; font-size: 12px; font-weight: 650; text-align: left; }
td { height: 76px; border-top: 1px solid var(--line); padding: 0 14px; color: var(--text-soft); font-size: 13px; }
tbody tr { transition: background .15s ease; }
tbody tr:hover, tbody tr.is-selected { background: var(--surface-tint); }
.device-cell, .customer-cell { display: flex; align-items: center; gap: 10px; }
.device-cell > span, .customer-cell > span { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border-radius: var(--radius); background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 800; }
.customer-cell > span { border-radius: 50%; }
.device-cell div, .customer-cell div { display: flex; flex-direction: column; }
.device-cell strong, .customer-cell strong { color: var(--text); font-size: 13px; }
.device-cell small, .customer-cell small { margin-top: 3px; font-size: 11px; }
.status-tag, .pill, .income, .expense { display: inline-flex; width: fit-content; align-items: center; justify-content: center; border-radius: 999px; padding: 5px 9px; font-size: 11px; font-style: normal; font-weight: 700; line-height: 1; }
.status-tag.available, .status-tag.normal { background: var(--success-soft); color: var(--success); }
.status-tag.rented { background: var(--info-soft); color: var(--info); }
.status-tag.inspect, .status-tag.pending, .pill.warning { background: var(--warning-soft); color: var(--warning); }
.status-tag.repair, .status-tag.overdue, .pill.danger { background: var(--danger-soft); color: var(--danger); }
.pill.neutral { background: var(--primary-soft); color: var(--primary); }
.detail-panel { position: sticky; top: 18px; width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 18px; box-shadow: var(--shadow-small); }
.detail-panel-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.detail-panel-actions button { min-height: 42px; }
.detail-head, .detail-head > div { display: flex; align-items: center; gap: 11px; }
.detail-head { justify-content: space-between; margin-bottom: 13px; }
.detail-head span:last-child { display: flex; min-width: 0; flex-direction: column; }
.detail-head strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.detail-head button { border: 0; background: transparent; color: var(--muted); font-size: 21px; }
.device-large { display: grid; width: 45px; height: 50px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(var(--accent-rgb), .18); border-radius: var(--radius); background: var(--primary-soft); color: var(--primary); font-weight: 800; }
.detail-panel dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0; }
.detail-panel dl div { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); padding-bottom: 9px; }
.detail-panel dt { color: var(--muted); font-size: 11px; }
.detail-panel dd { margin: 4px 0 0; font-size: 14px; font-weight: 700; }
.detail-note { border-radius: var(--radius); background: var(--surface-soft); padding: 11px; margin-bottom: 15px; }
.detail-note strong { font-size: 13px; }
.detail-note p { margin-top: 5px; color: var(--text-soft); font-size: 12px; line-height: 1.6; }
.mobile-device-list, .mobile-customer-list, .mobile-ledger { display: none; }

.availability-hero { border-radius: var(--radius); background: linear-gradient(135deg, var(--primary-hover), var(--primary)); color: #fff; padding: 34px; text-align: center; }
.availability-hero .eyebrow { color: rgba(255,255,255,.65); }
.availability-hero h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.03em; }
.availability-hero p { margin-top: 8px; color: rgba(255,255,255,.68); font-size: 12px; }
.hero-search { display: flex; width: min(660px, 100%); height: 52px; align-items: center; gap: 10px; margin: 24px auto 0; border-radius: var(--radius); background: #fff; padding: 5px 5px 5px 14px; }
.hero-search > svg { color: var(--muted); }
.hero-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); }
.hero-search .primary-button { align-self: stretch; padding-inline: 20px; }
.availability-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0; }
.availability-summary article { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 16px; }
.availability-summary article > span { color: var(--primary); font-size: 24px; font-weight: 800; }
.availability-summary article div { display: flex; flex-direction: column; }
.rent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rent-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.rent-card-head { display: flex; align-items: flex-start; justify-content: space-between; }
.rent-card h3 { margin-top: 14px; font-size: 14px; }
.rent-card p { margin-top: 3px; color: var(--muted); font-size: 10px; }
.rent-price { margin: 18px 0 12px; }
.rent-price strong { font-size: 21px; }.rent-price small { margin-left: 4px; }

.todo-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.todo-summary article { display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 16px; }
.todo-summary article > span { display: grid; width: 39px; height: 39px; place-items: center; border-radius: var(--radius); background: var(--primary-soft); color: var(--primary); }
.todo-summary article.urgent { border-color: #f2d7d7; background: var(--danger-soft); }
.todo-summary article.urgent > span { background: #ffe2e2; color: var(--danger); }
.todo-summary article div { display: flex; flex-direction: column; }
.todo-summary strong { font-size: 22px; line-height: 1; }
.todo-section .capsule-filters { padding-bottom: 2px; }
.todo-list-review { display: grid; gap: 8px; }
.todo-row { display: grid; grid-template-columns: 20px minmax(280px, 1fr) 100px 110px auto; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 13px; }
.todo-row.is-overdue { border-color: #f0caca; background: linear-gradient(90deg, var(--danger-soft), #fff 45%); }
.todo-check { width: 17px; height: 17px; border: 1.5px solid #cbc6ce; border-radius: 50%; background: #fff; }
.todo-main h3 { margin-top: 5px; font-size: 12px; }
.todo-main p { margin-top: 2px; color: var(--muted); font-size: 10px; }
.todo-customer, .todo-date { display: flex; flex-direction: column; }
.todo-customer strong, .todo-date strong { margin-top: 2px; font-size: 10px; }
.todo-row.is-overdue .todo-main h3, .todo-row.is-overdue .todo-date strong { color: var(--danger-dark); }

.customer-metrics, .finance-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.customer-metrics article, .finance-metrics article { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 17px; }
.customer-metrics strong, .finance-metrics strong { display: block; margin: 10px 0 6px; font-size: clamp(18px, 2vw, 24px); line-height: 1; }
.customer-metrics .danger-text { font-size: clamp(21px, 2.2vw, 27px); }
.debt-row { box-shadow: inset 3px 0 0 var(--danger); }

.finance-filter { position: sticky; top: 0; z-index: 8; margin-bottom: 14px; box-shadow: 0 8px 20px rgba(45,34,48,.08); }
.filter-row { display: flex; align-items: flex-end; gap: 12px; }
.filter-row .capsule-filters { flex: 1; }
.filter-row label { display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: 9px; }
.filter-row input, .filter-row select { height: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-soft); padding: 0 10px; font-size: 10px; }
.finance-metrics article.is-danger { border-color: #f2d7d7; background: var(--danger-soft); }
.finance-metrics article.is-danger strong { color: var(--danger-dark); font-size: clamp(21px, 2.2vw, 27px); }
.result-label { border-radius: 999px; background: var(--surface-soft); padding: 5px 9px; color: var(--muted); font-size: 10px; }
.income { background: var(--success-soft); color: var(--success); }
.expense { background: var(--danger-soft); color: var(--danger); }
.amount-in { color: var(--success); }

/* Business-first home preview */
.recovery-workbench { margin-bottom: 16px; border-color: color-mix(in srgb, var(--primary) 22%, var(--line)); background: linear-gradient(135deg, var(--primary-soft), #fff 54%); }
.recovery-workbench .section-heading { align-items: flex-start; }
.recovery-workbench .section-heading p,
.home-todos .section-heading p,
.inventory-overview .section-heading p,
.finance-global-overview .section-heading p,
.finance-analysis .section-heading p { margin-top: 4px; color: var(--muted); font-size: 12px; }
.recovery-today { display: inline-flex; align-items: center; gap: 6px; border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--line)); border-radius: 999px; background: rgba(255,255,255,.7); padding: 7px 11px; color: var(--primary-ink); font-size: 12px; }
.recovery-today b { font-size: 16px; }
.recovery-action-grid { display: grid; grid-template-columns: 2fr repeat(4, minmax(0, 1fr)); gap: 10px; }
.recovery-action-grid button { min-width: 0; border-radius: var(--radius); text-align: left; }
.recovery-primary { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) 24px; align-items: center; gap: 12px; min-height: 112px; overflow: hidden; border: 1px solid var(--primary); background: #fff; padding: 18px; color: var(--text); box-shadow: 0 9px 24px rgba(var(--accent-rgb), .11); }
.recovery-primary::after { position: absolute; right: -38px; bottom: -54px; width: 140px; height: 140px; border-radius: 50%; background: var(--primary-soft); content: ""; }
.recovery-primary-icon { position: relative; z-index: 1; display: grid; width: 48px; height: 48px; place-items: center; border-radius: var(--radius); background: var(--primary); color: #fff; }
.recovery-primary-icon svg { width: 24px; height: 24px; }
.recovery-primary > span:nth-child(2) { position: relative; z-index: 1; display: flex; min-width: 0; flex-direction: column; }
.recovery-primary small { color: var(--muted); font-size: 12px; }
.recovery-primary strong { margin: 3px 0 5px; color: var(--primary-ink); font-size: 22px; }
.recovery-primary em { color: var(--text-soft); font-size: 13px; font-style: normal; line-height: 1.45; }
.recovery-go { position: relative; z-index: 1; width: 20px; color: var(--primary); }
.recovery-shortcut { position: relative; display: flex; min-height: 122px; flex-direction: column; justify-content: center; gap: 10px; border: 1px solid var(--line); background: #fff; padding: 15px; transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.recovery-shortcut:hover { border-color: color-mix(in srgb, var(--primary) 34%, var(--line)); box-shadow: var(--shadow-small); transform: translateY(-1px); }
.recovery-shortcut > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: var(--radius); background: var(--primary-soft); color: var(--primary); }
.recovery-shortcut > span svg { width: 17px; height: 17px; }
.recovery-shortcut strong, .recovery-shortcut small { display: block; }
.recovery-shortcut strong { margin-bottom: 3px; font-size: 14px; }
.recovery-shortcut small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.recovery-shortcut > b { position: absolute; top: 12px; right: 12px; display: grid; min-width: 23px; height: 23px; place-items: center; border-radius: 999px; background: var(--primary-soft); color: var(--primary-ink); font-size: 10px; }
.recovery-flow { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; color: var(--muted); font-size: 12px; }
.recovery-flow span { display: inline-flex; align-items: center; gap: 5px; }
.recovery-flow i { border-radius: 999px; background: var(--surface-soft); padding: 2px 6px; font-size: 10px; font-style: normal; }
.recovery-flow b { color: color-mix(in srgb, var(--primary) 55%, var(--muted)); font-weight: 600; }

.home-todos { margin-bottom: 16px; }
.home-todo-summary { display: flex; align-items: center; gap: 10px; }
.home-todo-summary > span { display: inline-flex; min-height: 38px; align-items: center; border-radius: 999px; background: var(--surface-soft); padding: 0 14px; color: var(--muted); font-size: 14px; font-weight: 700; }
.home-todo-summary .text-button { min-height: 38px; padding-inline: 4px; font-size: 14px; }
.home-todo-summary > span.is-danger { background: var(--danger-soft); color: var(--danger-dark); }
.home-todo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.home-todo-card { display: flex; min-height: 178px; flex-direction: column; border: 1px solid var(--line); border-top: 3px solid var(--primary); border-radius: var(--radius); background: #fff; padding: 16px; }
.home-todo-card.is-overdue { border-color: color-mix(in srgb, var(--danger) 25%, var(--line)); border-top-color: var(--danger); background: color-mix(in srgb, var(--danger-soft) 45%, #fff); }
.home-todo-card header, .home-todo-card footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.home-todo-card time { color: var(--muted); font-size: 12px; }
.home-todo-card h3 { margin: 15px 0 6px; color: var(--text); font-size: 16px; }
.home-todo-card p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.home-todo-card footer { margin-top: auto; padding-top: 11px; border-top: 1px solid var(--line); }
.home-todo-card footer > span { color: var(--muted); font-size: 12px; }
.home-todo-card footer button { min-height: 36px; border: 1px solid color-mix(in srgb, var(--primary) 25%, var(--line)); border-radius: 6px; background: var(--primary-soft); padding: 0 12px; color: var(--primary-ink); font-size: 12px; font-weight: 750; }
.home-todo-card.is-overdue footer button { border-color: color-mix(in srgb, var(--danger) 25%, var(--line)); background: var(--danger-soft); color: var(--danger-dark); }
.home-other-actions { margin-top: 2px; }
.home-other-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.home-other-grid > button { display: grid; grid-template-columns: 37px minmax(0, 1fr) 16px; align-items: center; gap: 10px; min-height: 68px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 11px 13px; text-align: left; }
.home-other-grid > button > span { display: grid; width: 37px; height: 37px; place-items: center; border-radius: var(--radius); background: var(--surface-soft); color: var(--primary); }
.home-other-grid > button > span svg { width: 17px; height: 17px; }
.home-other-grid strong, .home-other-grid small { display: block; }
.home-other-grid strong { margin-bottom: 3px; font-size: 14px; }.home-other-grid small { color: var(--muted); font-size: 12px; }.home-other-grid > button > svg { width: 14px; color: var(--muted); }

/* Inventory receives the former dashboard status overview. */
.inventory-overview { margin-bottom: 14px; }
.inventory-fund { display: flex; align-items: baseline; gap: 9px; border-left: 1px solid var(--line); padding-left: 16px; }
.inventory-fund span { color: var(--muted); font-size: 12px; }.inventory-fund strong { color: var(--text); font-size: 20px; }
.inventory-state-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.inventory-state-grid button { display: grid; grid-template-columns: 9px minmax(0, 1fr); align-items: center; gap: 8px; min-height: 78px; border: 0; border-right: 1px solid var(--line); background: #fff; padding: 12px; text-align: left; }
.inventory-state-grid button:last-child { border-right: 0; }
.inventory-state-grid button.is-active { background: var(--primary-soft); box-shadow: inset 0 -3px 0 var(--primary); }
.inventory-state-grid i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.inventory-state-grid i.available { background: var(--success); }.inventory-state-grid i.transit { background: var(--warning); }.inventory-state-grid i.rented { background: #4f83c2; }.inventory-state-grid i.reserved { background: #a17ac4; }.inventory-state-grid i.returning { background: #d16c74; }.inventory-state-grid i.inspect { background: #8a8d98; }
.inventory-state-grid span { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.inventory-state-grid strong { grid-column: 2; color: var(--text); font-size: 20px; }

/* Finance receives all statistics and charts from the former dashboard. */
.finance-global-overview { margin-bottom: 15px; }
.global-note { border-radius: 999px; background: var(--surface-soft); padding: 6px 9px; color: var(--muted); font-size: 9px; }
.finance-core-grid { margin-top: 0; }
.finance-analysis { margin-bottom: 15px; }
.finance-chart-grid { max-height: none; }
.finance-chart-grid .chart-card { min-height: 242px; }
.business-volume-card { overflow: hidden; }
.trend-legend { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; }
.trend-legend span { display: inline-flex; align-items: center; gap: 4px; }
.trend-legend i { width: 7px; height: 7px; border-radius: 2px; }.trend-legend i.rent, .business-bars i.rent { background: #638bd3; }.trend-legend i.recover, .business-bars i.recover { background: var(--primary); }.trend-legend i.sale, .business-bars i.sale { background: #d98a65; }
.business-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 170px; margin-top: 19px; padding: 8px 8px 0; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0, transparent 39px, var(--line) 40px); }
.business-bars > div { display: flex; min-width: 0; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.business-bars > div > span { display: flex; align-items: flex-end; justify-content: center; gap: 2px; width: 100%; height: 135px; }
.business-bars i { display: block; width: min(10px, 27%); min-height: 3px; border-radius: 3px 3px 0 0; }
.business-bars small { color: var(--muted); font-size: 10px; white-space: nowrap; }
.filtered-finance-heading { display: flex; align-items: baseline; gap: 9px; margin: 2px 0 9px; }.filtered-finance-heading strong { font-size: 12px; }.filtered-finance-heading small { color: var(--muted); font-size: 9px; }

/* Availability review: quick search from the review draft + deep device workspace from the real data page. */
.availability-hero-compact { padding-block: 27px; }
.availability-review-filters { margin: 0 0 14px; }
.availability-review-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(360px, 2fr); align-items: start; gap: 14px; }
.availability-review-results { min-width: 0; }
.availability-review-brand + .availability-review-brand { margin-top: 22px; }
.availability-review-brand > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.availability-review-brand > header h3 { display: inline-flex; align-items: center; gap: 7px; font-size: 16px; }
.availability-review-brand > header i { display: block; width: 3px; height: 16px; border-radius: 2px; background: var(--primary); }
.availability-review-brand > header i.huawei { background: #d55665; }
.availability-review-brand > header span { color: var(--muted); font-size: 12px; }
.availability-review-table { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.availability-review-table-head,
.availability-review-row { display: grid; grid-template-columns: minmax(170px, 1.35fr) minmax(110px, .9fr) minmax(100px, .78fr) minmax(96px, .72fr) minmax(100px, .72fr); align-items: center; gap: 10px; }
.availability-review-table-head { min-height: 44px; background: var(--surface-soft); padding: 0 14px; color: var(--muted); font-size: 12px; }
.availability-review-row { width: 100%; min-height: 80px; border: 0; border-top: 1px solid var(--line); background: #fff; padding: 12px 14px; text-align: left; }
.availability-review-row:hover { background: var(--surface-soft); }
.availability-review-row.is-selected { background: var(--primary-soft); box-shadow: inset 3px 0 0 var(--primary); }
.availability-review-row > span { min-width: 0; color: var(--text-soft); font-size: 13px; line-height: 1.45; }
.availability-review-row > span > strong { display: block; overflow: hidden; color: var(--text); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.availability-review-row small { color: var(--muted); font-size: 12px; }
.availability-review-row b { display: block; color: var(--primary-ink); font-size: 13px; }
.availability-detail-panel { position: sticky; top: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 17px; box-shadow: var(--shadow-small); }
.availability-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.availability-detail-head h2 { max-width: 220px; margin-top: 4px; font-size: 20px; line-height: 1.25; }
.availability-detail-head p { margin-top: 6px; color: var(--muted); font-size: 12px; }
.availability-detail-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 13px; }
.availability-detail-specs > div { min-height: 72px; border-radius: var(--radius); background: var(--surface-soft); padding: 12px; }
.availability-detail-specs small, .availability-detail-specs strong { display: block; }.availability-detail-specs small { color: var(--muted); font-size: 11px; }.availability-detail-specs strong { margin-top: 6px; font-size: 14px; line-height: 1.35; }
.availability-earning-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 12px; }
.availability-earning-strip > div { border-radius: var(--radius); background: var(--surface-soft); padding: 9px 7px; }
.availability-earning-strip span, .availability-earning-strip strong { display: block; }.availability-earning-strip span { color: var(--muted); font-size: 11px; }.availability-earning-strip strong { margin-top: 5px; font-size: 13px; }
.availability-detail-note { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); padding: 11px; }
.availability-detail-note strong { font-size: 13px; }.availability-detail-note p { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.availability-detail-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin-top: 12px; }
.availability-detail-actions button { min-height: 42px; padding-inline: 9px; font-size: 12px; }

/* Todo review: compact cards keep one task readable at a glance. */
.todo-review-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.todo-review-filters { display: flex; min-width: 0; align-items: center; gap: 7px; overflow-x: auto; padding: 2px 1px 4px; scrollbar-width: none; }
.todo-review-filters::-webkit-scrollbar { display: none; }
.todo-review-filters button { display: inline-flex; min-height: 42px; flex: 0 0 auto; align-items: center; gap: 8px; border: 1px solid color-mix(in srgb, var(--filter) 12%, var(--line)); border-radius: 999px; background: color-mix(in srgb, var(--filter) 7%, #f3f3f5); padding: 0 17px; color: color-mix(in srgb, var(--filter) 30%, var(--muted)); font-size: 14px; transition: .16s ease; }
.todo-review-filters button b { display: grid; min-width: 24px; height: 24px; place-items: center; border-radius: 999px; background: color-mix(in srgb, var(--filter) 10%, #e5e5e9); color: color-mix(in srgb, var(--filter) 40%, var(--muted)); font-size: 13px; }
.todo-review-filters button:hover { border-color: color-mix(in srgb, var(--filter) 38%, var(--line)); color: var(--filter); }
.todo-review-filters button.is-active { border-color: var(--filter); background: var(--filter); color: #fff; font-weight: 750; box-shadow: 0 5px 13px color-mix(in srgb, var(--filter) 20%, transparent); }
.todo-review-filters button.is-active b { background: rgba(255,255,255,.2); color: #fff; }
.todo-review-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.todo-review-card { --todo: var(--primary); --todo-soft: var(--primary-soft); position: relative; display: flex; min-height: 218px; overflow: hidden; flex-direction: column; border: 1px solid color-mix(in srgb, var(--todo) 20%, var(--line)); border-radius: var(--radius); background: #fff; padding: 19px; box-shadow: var(--shadow-small); }
.todo-review-card::before { position: absolute; inset: 0 0 auto; height: 3px; background: var(--todo); content: ""; }
.todo-review-card[hidden] { display: none; }
.todo-review-card.is-overdue::before { height: 4px; background: linear-gradient(90deg, #e84f60, #ff9ba6); }
.todo-review-card.is-overdue { border-color: color-mix(in srgb, #e84f60 26%, var(--line)); background: linear-gradient(145deg, rgba(255,244,245,.72), #fff 42%); }
.todo-review-card header, .todo-review-card header > div, .todo-review-card footer { display: flex; align-items: center; }
.todo-review-card header, .todo-review-card footer { justify-content: space-between; gap: 10px; }
.todo-review-card header > div { min-width: 0; gap: 7px; }
.todo-review-card header span, .todo-review-card header small { border-radius: 999px; padding: 5px 9px; font-size: 12px; font-weight: 750; }
.todo-review-card header span { background: var(--todo-soft); color: var(--todo); }
.todo-review-card header small { background: var(--surface-soft); color: var(--muted); }
.todo-review-card.is-overdue header small { background: var(--danger-soft); color: var(--danger-dark); }
.todo-review-card time { flex: 0 0 auto; color: var(--muted); font-size: 12px; font-weight: 650; }
.todo-review-main { padding: 20px 1px 17px; }
.todo-review-main h3 { font-size: 17px; line-height: 1.4; }
.todo-review-main p { margin-top: 7px; color: var(--text-soft); font-size: 13px; line-height: 1.6; }
.todo-review-card footer { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; }
.todo-review-card footer > span { color: var(--muted); font-size: 12px; }
.todo-review-card.is-overdue footer > span { color: var(--danger-dark); font-weight: 700; }
.todo-review-card footer button { min-height: 38px; border: 1px solid color-mix(in srgb, var(--todo) 24%, var(--line)); border-radius: 6px; background: var(--todo-soft); padding: 0 13px; color: color-mix(in srgb, var(--todo) 82%, #24212a); font-size: 12px; font-weight: 750; }
.todo-review-card footer button:hover { border-color: var(--todo); transform: translateY(-1px); }

/* Customer review: customer directory remains primary, account handling lives inside the selected customer. */
.customer-review-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.customer-review-toolbar h2 { font-size: 20px; }.customer-review-toolbar p { margin-top: 5px; color: var(--muted); font-size: 12px; }
.customer-review-layout { display: grid; grid-template-columns: minmax(410px, 38%) minmax(0, 1fr); align-items: stretch; gap: 14px; }
.customer-review-directory, .customer-review-detail { min-width: 0; height: 100%; }
.customer-review-directory { padding: 17px; }
.customer-review-list { display: grid; gap: 8px; }
.customer-review-item { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 10px 12px; width: 100%; min-height: 128px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 15px 16px; text-align: left; }
.customer-review-item.has-debt { box-shadow: inset 3px 0 0 color-mix(in srgb, var(--danger) 75%, var(--line)); }
.customer-review-item.is-selected { border-color: var(--primary); background: var(--primary-soft); box-shadow: inset 3px 0 0 var(--primary); }
.customer-review-item .customer-avatar { width: 48px; height: 48px; font-size: 16px; }
.customer-review-name { min-width: 0; }
.customer-review-name strong, .customer-review-name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.customer-review-name strong { font-size: 16px; }.customer-review-name small { margin-top: 4px; color: var(--text-soft); font-size: 12px; }
.customer-review-facts { grid-column: 1 / -1; display: flex; align-items: center; gap: 7px; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.5; white-space: nowrap; }
.customer-review-facts b, .customer-review-facts i { flex: 0 0 auto; border-radius: 999px; padding: 3px 8px; font-size: 11px; font-style: normal; font-weight: 650; }
.customer-review-facts b { background: var(--primary-soft); color: var(--primary-ink); }
.customer-review-facts i { background: var(--surface-soft); color: var(--text-soft); }
.customer-review-balance { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }.customer-review-balance small, .customer-review-balance strong, .customer-review-balance i { display: block; }.customer-review-balance small { color: var(--muted); font-size: 11px; }.customer-review-balance strong { margin: 4px 0 6px; color: var(--danger-dark); font-size: 16px; }.customer-state { display: inline-flex !important; min-height: 25px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; padding: 0 9px; font-size: 11px; font-style: normal; font-weight: 750; line-height: 1; }.customer-state.is-overdue { border-color: #ffc8cd; background: #fff0f1; color: #cf3544; }.customer-state.is-collecting { border-color: #ffd9a4; background: #fff7e8; color: #b66b0d; }.customer-state.is-normal { border-color: #bfe8d7; background: #ebf8f2; color: #187a5c; }.customer-state.is-payable { border-color: #cbdcff; background: #eef4ff; color: #3569bd; }
.customer-review-detail { padding: 20px; }
.customer-review-profile { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.customer-review-profile > div:first-child { display: flex; align-items: center; gap: 13px; }.customer-avatar.large { width: 54px; height: 54px; font-size: 17px; }.customer-review-profile h2 { margin-top: 2px; font-size: 21px; }.customer-review-profile p { margin-top: 4px; color: var(--muted); font-size: 13px; }
.customer-review-balances { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 13px; }
.customer-review-balances button { min-height: 104px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-soft); padding: 15px; text-align: left; }
.customer-review-balances span, .customer-review-balances strong, .customer-review-balances small { display: block; }.customer-review-balances span { color: var(--muted); font-size: 12px; }.customer-review-balances strong { margin: 6px 0 5px; font-size: 21px; }.customer-review-balances small { color: var(--muted); font-size: 11px; }
.customer-detail-tabs { display: flex; gap: 4px; margin-top: 14px; border-bottom: 1px solid var(--line); }
.customer-detail-tabs button { min-height: 44px; border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 0 14px; color: var(--muted); font-size: 13px; }
.customer-detail-tabs button.is-active { border-bottom-color: var(--primary); color: var(--primary-ink); font-weight: 750; }.customer-detail-tabs b { margin-left: 3px; font-size: 12px; }
.customer-detail-pane { display: none; padding-top: 6px; }.customer-detail-pane.is-active { display: block; }
.customer-account-row { display: grid; grid-template-columns: minmax(0, 1fr) 100px auto; align-items: center; gap: 12px; min-height: 84px; border-bottom: 1px solid var(--line); padding: 11px 4px; }
.customer-account-row > div strong, .customer-account-row > div small { display: block; }.customer-account-row > div strong { margin: 5px 0 2px; font-size: 14px; }.customer-account-row > div small { color: var(--muted); font-size: 12px; }.customer-account-row > span { text-align: right; }.customer-account-row > span small, .customer-account-row > span strong { display: block; }.customer-account-row > span small { color: var(--muted); font-size: 11px; }.customer-account-row > span strong { margin-top: 4px; color: var(--danger-dark); font-size: 15px; }.customer-account-row > button { min-height: 38px; border: 1px solid color-mix(in srgb, var(--primary) 24%, var(--line)); border-radius: 6px; background: var(--primary-soft); padding: 0 12px; color: var(--primary-ink); font-size: 12px; }.customer-account-row.is-settled { opacity: .68; }.customer-account-row.is-settled > span strong { color: var(--text); }
.customer-device-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto; align-items: center; gap: 11px; min-height: 92px; border-bottom: 1px solid var(--line); padding: 12px 4px; }.customer-device-row > div strong, .customer-device-row > div small { display: block; }.customer-device-row > div strong { font-size: 14px; }.customer-device-row > div small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.status-tag.returning { background: #fff1f2; color: #b94755; }
.customer-history-row { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 13px; border-bottom: 1px solid var(--line); padding: 16px 4px; }.customer-history-row time { color: var(--muted); font-size: 12px; }.customer-history-row strong { font-size: 14px; }.customer-history-row p { margin-top: 5px; color: var(--muted); font-size: 12px; }

.market-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.market-head h2 { font-size: 21px; }
.market-head p { margin-top: 5px; color: var(--text-soft); font-size: 11px; }
.market-filters { margin-bottom: 24px; }
.market-group + .market-group { margin-top: 26px; }
.brand-heading { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 9px; margin-bottom: 12px; }
.brand-heading > div { display: flex; align-items: center; gap: 9px; }
.brand-heading h3 { font-size: 16px; }
.brand-heading span { border-radius: 999px; background: var(--surface-tint); padding: 3px 8px; color: var(--primary); font-size: 9px; }
.market-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.market-card { min-height: 218px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 16px; box-shadow: var(--shadow-small); }
.market-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.market-card-head > div { display: flex; flex-direction: column; }
.market-card-head strong { font-size: 13px; }
.market-card-head small { margin-top: 3px; }
.refresh-one { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--muted); }
.refresh-one:hover { border-color: rgba(var(--accent-rgb), .35); background: var(--primary-soft); color: var(--primary); }
.refresh-one svg { width: 17px; height: 17px; }
.price-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 28px 0 23px; }
.price-line div { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.price-label { font-size: 9px; }
.price-label.low { color: var(--success); }.price-label.average { color: var(--primary); }.price-label.high { color: var(--danger); }
.price-line strong { font-size: clamp(15px, 1.45vw, 20px); letter-spacing: -.02em; }
.market-card footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 11px; font-size: 9px; }
.market-card footer span { font-size: 9px; }
.market-card.is-empty { border: 1px dashed #c9c6cc; background: #f2f2f3; box-shadow: none; }
.empty-market { display: flex; min-height: 142px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-market > svg { width: 24px; height: 24px; margin-bottom: 7px; color: #aaa6ae; }
.empty-market > strong { color: var(--text-soft); font-size: 11px; }
.empty-market p { margin: 4px 0 10px; color: var(--muted); font-size: 9px; }
.empty-market .secondary-button { min-height: 30px; font-size: 10px; }

.review-dialog { width: min(560px, calc(100vw - 28px)); border: 0; border-radius: var(--radius); background: var(--surface); color: var(--text); padding: 22px; box-shadow: 0 24px 70px rgba(24,19,25,.24); }
.review-dialog::backdrop { background: rgba(29,24,31,.46); backdrop-filter: blur(3px); }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; }
.dialog-head button { border: 0; background: transparent; color: var(--muted); font-size: 24px; }
.dialog-intro { margin: 12px 0 18px; color: var(--text-soft); font-size: 11px; }
.dialog-metrics { display: grid; gap: 9px; margin-bottom: 16px; }
.dialog-metrics article { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-soft); padding: 13px; }
.dialog-metrics p { color: var(--muted); font-size: 10px; }
.dialog-metrics strong { display: block; margin: 6px 0 2px; font-size: 18px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: var(--radius); background: #262129; color: #fff; padding: 11px 15px; box-shadow: 0 14px 34px rgba(20,16,21,.2); opacity: 0; pointer-events: none; transform: translateY(12px); transition: .2s ease; }
.toast.is-visible { opacity: 1; transform: none; }
.toast span { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: var(--success); font-size: 11px; }
.toast p { font-size: 11px; }

@media (max-width: 1180px) {
  .app-main { padding-inline: 24px; }
  .recovery-action-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .recovery-primary { grid-column: 1 / -1; min-height: 98px; }
  .recovery-shortcut { min-height: 94px; }
  .inventory-state-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .inventory-state-grid button { border-bottom: 1px solid var(--line); }
  .inventory-state-grid button:nth-child(4n) { border-right: 0; }
  .inventory-state-grid button:nth-last-child(-n+3) { border-bottom: 0; }
  .availability-review-layout { grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr); }
  .availability-review-table-head,
  .availability-review-row { grid-template-columns: minmax(145px, 1.25fr) minmax(95px, .85fr) minmax(88px, .75fr) minmax(88px, .7fr); }
  .availability-review-table-head span:nth-child(5), .availability-review-row > span:nth-child(5) { display: none; }
  .todo-review-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .customer-review-layout { grid-template-columns: minmax(360px, 38%) minmax(0, 1fr); }
  .priority-layout { grid-template-columns: minmax(0, 1fr) 330px; }
  .quick-action { grid-template-columns: 37px 1fr; }
  .quick-action > span { width: 37px; height: 37px; }
  .quick-arrow { display: none; }
  .inventory-layout { grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr); }
  .todo-row { grid-template-columns: 20px minmax(240px, 1fr) 90px auto; }
  .todo-date { display: none; }
}

@media (max-width: 960px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .sidebar { inset: auto 0 0; width: 100%; height: calc(66px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); border-right: 0; padding: 5px 8px env(safe-area-inset-bottom); }
  .brand, .sidebar-foot { display: none; }
  .side-nav { display: grid; grid-template-columns: repeat(7, 1fr); height: 100%; gap: 1px; }
  .nav-link { min-width: 0; min-height: 54px; flex-direction: column; justify-content: center; gap: 2px; padding: 4px 2px; font-size: 9px; }
  .nav-link.is-active::before { inset: 0 auto auto 50%; width: 22px; height: 3px; transform: translateX(-50%); border-radius: 0 0 3px 3px; }
  .nav-link svg { width: 18px; height: 18px; }
  .nav-link b { position: absolute; top: 2px; left: 52%; min-width: 15px; height: 15px; font-size: 8px; }
  .app-main { width: 100%; margin-left: 0; padding: 22px 22px 32px; }
  .home-todo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finance-chart-grid { grid-template-columns: 1fr; }
  .availability-review-layout, .customer-review-layout { grid-template-columns: 1fr; }
  .customer-review-directory, .customer-review-detail { height: auto; }
  .availability-detail-panel { position: static; }
  .customer-review-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .priority-layout { grid-template-columns: 1fr; }
  .today-panel { min-height: 0; order: -1; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .chart-grid { grid-template-columns: 1fr; max-height: 620px; }
  .chart-grid.is-collapsed { max-height: 0; }
  .inventory-layout { grid-template-columns: 1fr; }
  .detail-panel { position: static; width: 100%; }
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .customer-metrics, .finance-metrics { grid-template-columns: repeat(2, 1fr); }
  .finance-filter { position: static; }
  .filter-row { flex-wrap: wrap; }
  .filter-row .capsule-filters { width: 100%; flex-basis: 100%; }
  .todo-row { grid-template-columns: 18px minmax(220px, 1fr) 80px auto; gap: 10px; }
}

@media (max-width: 680px) {
  .app-main { padding: 17px 14px 24px; }
  .topbar { min-height: 62px; align-items: center; margin-bottom: 13px; }
  .topbar h1 { font-size: 22px; }
  .topbar > div:first-child > p:last-child { display: none; }
  .crumb { margin-bottom: 3px; font-size: 9px; }
  .review-badge { height: 30px; padding-inline: 9px; font-size: 9px; }
  .topbar .icon-text-button { width: 34px; min-height: 34px; padding: 0; }
  .topbar .icon-text-button span { display: none; }
  .preview-note { align-items: flex-start; margin-bottom: 14px; padding: 8px 9px; font-size: 10px; }
  .preview-note strong { flex: 0 0 auto; }
  .section-heading { align-items: center; margin-bottom: 12px; }
  .section-heading h2 { font-size: 16px; }
  .recovery-workbench { padding: 14px 12px; }
  .recovery-workbench .section-heading { align-items: flex-start; }
  .recovery-today { padding: 5px 7px; white-space: nowrap; }
  .recovery-action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .recovery-primary { grid-column: 1 / -1; grid-template-columns: 42px minmax(0, 1fr) 18px; min-height: 96px; padding: 13px; }
  .recovery-primary-icon { width: 42px; height: 42px; }
  .recovery-primary strong { font-size: 18px; }
  .recovery-shortcut { min-height: 108px; padding: 12px; }
  .recovery-flow { justify-content: flex-start; overflow-x: auto; padding-bottom: 3px; white-space: nowrap; }
  .home-todo-summary > span { display: none; }
  .home-todo-grid { grid-template-columns: 1fr; gap: 8px; }
  .home-todo-card { min-height: 176px; }
  .home-other-grid { grid-template-columns: 1fr; gap: 8px; }
  .inventory-overview .section-heading { align-items: flex-start; }
  .inventory-fund { display: block; padding-left: 10px; }.inventory-fund span, .inventory-fund strong { display: block; }.inventory-fund strong { margin-top: 3px; font-size: 15px; white-space: nowrap; }
  .inventory-state-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inventory-state-grid button, .inventory-state-grid button:nth-child(4n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .inventory-state-grid button:nth-child(2n) { border-right: 0; }
  .inventory-state-grid button:last-child { border-bottom: 0; }
  .finance-global-overview .section-heading { align-items: flex-start; }.global-note { display: none; }
  .finance-analysis { padding: 14px; }
  .finance-chart-grid .chart-card { min-height: 222px; }
  .business-bars { gap: 3px; padding-inline: 2px; }
  .business-bars > div > span { gap: 1px; }
  .trend-legend { gap: 5px; }
  .availability-hero-compact { padding: 23px 13px; }
  .availability-review-results { padding: 13px 10px; }
  .availability-review-table { border: 0; }
  .availability-review-table-head { display: none; }
  .availability-review-row { grid-template-columns: minmax(0, 1fr) auto; gap: 7px 11px; min-height: 112px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: var(--radius); padding: 13px; }
  .availability-review-row > span:nth-child(1) { grid-column: 1; }.availability-review-row > span:nth-child(2) { grid-column: 1; }.availability-review-row > span:nth-child(3) { grid-column: 2; grid-row: 1; text-align: right; }.availability-review-row > span:nth-child(4) { grid-column: 2; grid-row: 2; text-align: right; }.availability-review-row > span:nth-child(5) { display: none; }
  .availability-detail-panel { padding: 14px; }
  .availability-detail-head h2 { max-width: 190px; font-size: 15px; }
  .availability-detail-actions button { min-height: 38px; }
  .todo-review-toolbar { align-items: stretch; flex-direction: column; gap: 9px; }
  .todo-review-toolbar .search-control { width: 100%; }
  .todo-review-filters { width: 100%; }
  .todo-review-card-grid { grid-template-columns: 1fr; gap: 9px; }
  .todo-review-card { min-height: 208px; padding: 16px; }
  .todo-review-main { padding-block: 18px 15px; }
  .todo-review-main h3 { font-size: 16px; }
  .customer-review-toolbar { align-items: stretch; flex-direction: column; }
  .customer-review-toolbar .toolbar-actions { width: 100%; }.customer-review-toolbar .search-control { flex: 1; width: auto; }
  .customer-review-directory, .customer-review-detail { padding: 13px 10px; }
  .customer-review-list { grid-template-columns: 1fr; }
  .customer-review-item { min-height: 122px; padding: 14px; }
  .customer-review-facts { flex-wrap: wrap; overflow: visible; white-space: normal; }
  .customer-review-profile { align-items: flex-start; flex-direction: column; }
  .customer-review-profile .toolbar-actions { width: 100%; }.customer-review-profile .toolbar-actions button { flex: 1; }
  .customer-review-balances { grid-template-columns: 1fr; gap: 6px; }
  .customer-review-balances button { min-height: 84px; }
  .customer-account-row { grid-template-columns: minmax(0, 1fr) auto; }.customer-account-row > button { grid-column: 1 / -1; width: 100%; min-height: 34px; }.customer-account-row > span { align-self: start; }
  .customer-device-row { grid-template-columns: 39px minmax(0, 1fr) auto; }.customer-device-row > button { grid-column: 2 / -1; justify-self: stretch; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .metric-card { min-height: 122px; padding: 14px 12px; }
  .metric-card::after { display: none; }
  .metric-icon { top: 11px; right: 10px; width: 28px; height: 28px; }
  .metric-card p { max-width: calc(100% - 30px); font-size: 10px; }
  .metric-card > strong { margin: 16px 0 7px; font-size: clamp(17px, 5vw, 21px); }
  .metric-card small { font-size: 9px; }
  .today-panel { padding: 16px; }
  .section-heading.inverse h2 { font-size: 18px; }
  .priority-item { padding: 11px 0; }
  .quick-section, .chart-section, .device-summary { margin-top: 18px; }
  .quick-grid { gap: 8px; }
  .quick-action { min-height: 70px; grid-template-columns: 34px 1fr; gap: 9px; padding: 10px; }
  .quick-action > span { width: 34px; height: 34px; }
  .quick-action > span svg { width: 17px; height: 17px; }
  .quick-action strong { font-size: 11px; }.quick-action small { font-size: 9px; }
  .card-section { padding: 14px; }
  .chart-card { min-height: 210px; padding: 13px; }
  .donut-wrap { gap: 24px; }.donut { width: 115px; }.donut::before { width: 76px; }
  .status-strip { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
  .status-strip button:nth-child(2) { border-right: 0; }.status-strip button:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .page-toolbar { align-items: stretch; flex-direction: column; }
  .search-control { width: 100%; }
  .page-toolbar .toolbar-actions { justify-content: flex-end; }
  .desktop-table { display: none; }
  .mobile-device-list, .mobile-customer-list, .mobile-ledger { display: grid; }
  .mobile-device-list { gap: 1px; border-top: 1px solid var(--line); }
  .mobile-device { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; border: 0; border-bottom: 1px solid var(--line); background: #fff; padding: 12px; text-align: left; }
  .mobile-device.is-selected { background: var(--surface-tint); }
  .device-thumb { display: grid; width: 38px; height: 43px; place-items: center; border-radius: var(--radius); background: var(--primary-soft); color: var(--primary); font-size: 10px; font-weight: 800; }
  .mobile-device > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
  .mobile-device strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-device small { font-size: 9px; }.mobile-device em { margin-top: 3px; color: var(--text); font-size: 10px; font-style: normal; font-weight: 700; }
  .detail-panel { display: none; }
  .availability-hero { padding: 25px 15px; }
  .availability-hero h2 { font-size: 23px; }
  .hero-search { height: 47px; padding-left: 10px; }
  .hero-search .primary-button { padding-inline: 13px; }
  .availability-summary { grid-template-columns: 1fr; gap: 8px; }
  .availability-summary article { padding: 12px; }
  .rent-grid { grid-template-columns: 1fr; }
  .todo-summary { gap: 8px; }
  .todo-summary article { gap: 8px; padding: 11px 8px; }
  .todo-summary article > span { width: 31px; height: 31px; }.todo-summary article > span svg { width: 16px; }.todo-summary strong { font-size: 18px; }.todo-summary small { font-size: 9px; }
  .todo-row { grid-template-columns: 17px 1fr auto; align-items: start; padding: 12px 9px; }
  .todo-row .todo-customer { display: none; }
  .todo-row > button { grid-column: 2 / -1; justify-self: stretch; min-height: 34px; }
  .customer-metrics, .finance-metrics { gap: 8px; }
  .customer-metrics article, .finance-metrics article { padding: 13px 11px; }
  .customer-metrics strong, .finance-metrics strong, .customer-metrics .danger-text, .finance-metrics article.is-danger strong { font-size: 18px; }
  .table-heading .toolbar-actions { align-items: stretch; flex-direction: column; }
  .table-heading .search-control.small { display: none; }
  .mobile-customer-list { gap: 8px; border-top: 1px solid var(--line); padding: 10px; }
  .mobile-customer-list article { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
  .mobile-customer-list article > div:nth-of-type(2) { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 9px; }
  .mobile-customer-list button { grid-column: 1 / -1; }
  .filter-row label { flex: 1; min-width: 130px; }.filter-row input { width: 100%; }
  .mobile-ledger { border-top: 1px solid var(--line); }
  .mobile-ledger article { border-bottom: 1px solid var(--line); padding: 13px; }
  .mobile-ledger article div { display: flex; align-items: center; justify-content: space-between; }
  .mobile-ledger article p { margin: 8px 0 3px; font-size: 11px; }
  .market-head { align-items: flex-start; flex-direction: column; }
  .market-head .toolbar-actions { width: 100%; }.market-head .toolbar-actions > button { flex: 1; }
  .market-grid { grid-template-columns: 1fr; }
  .market-card { min-height: 200px; }
  .price-line strong { font-size: 17px; }
  .brand-heading small { font-size: 9px; }
  .toast { right: 14px; bottom: calc(78px + env(safe-area-inset-bottom)); left: 14px; justify-content: center; }
}

@media (max-width: 410px) {
  .app-main { padding-inline: 11px; }
  .side-nav { overflow-x: auto; }
  .nav-link { min-width: 48px; }
  .metric-card { padding-inline: 10px; }
  .metric-card > strong { font-size: 17px; }
  .topbar-actions { gap: 5px; }
  .review-badge { max-width: 104px; }
  .quick-action { grid-template-columns: 30px 1fr; }.quick-action > span { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
