body[data-owner-view="true"] { background:#f7f8fa; }
.app-shell[data-view="boss"] { color:#202823; --line:#e3e8e5; --muted:#738079; background:#f7f8fa; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif; }
.owner-dashboard { min-width:0; font-size:14px; letter-spacing:0; }
.owner-dashboard button, .owner-dashboard a { -webkit-tap-highlight-color:transparent; }
.owner-dashboard button { cursor:pointer; border-radius:6px; font:inherit; color:inherit; border:0; background:transparent; letter-spacing:0; }
.owner-dashboard button:disabled { opacity:.55; cursor:default; }
.owner-dashboard svg { width:18px; height:18px; flex-shrink:0; vertical-align:middle; }
.owner-dashboard h1, .owner-dashboard h2, .owner-dashboard h3, .owner-dashboard p { margin:0; }
.owner-dashboard strong, .owner-dashboard b { font-weight:650; }
.owner-dashboard small { color:#68766d; font-size:12px; }
.od-header { display:grid; grid-template-columns:38px minmax(0,1fr) 36px; align-items:center; gap:10px; }
.od-header .logo { width:38px; height:38px; min-width:38px; border-radius:6px; font-size:15px; }
.od-header h1 { font-size:15px !important; line-height:1.45; overflow-wrap:anywhere; }
.od-eyebrow { color:#64726a; font-size:11px; }
.owner-dashboard .od-icon { display:inline-flex; align-items:center; justify-content:center; width:36px; height:40px; border:1px solid #e1e7e2; background:#fff; border-radius:6px; color:#5b6a60; flex-shrink:0; }
.od-updated { display:flex; justify-content:space-between; color:#68766d; font-size:11px; padding:12px 0 10px; }
.od-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); position:sticky; top:0; z-index:5; padding:3px 0 0; background:#f7f8fa; border-bottom:1px solid #dce3de; }
.od-tabs button { min-height:44px; font-size:13px; border-radius:0; border-bottom:2px solid transparent; padding:10px 2px; }
.od-tabs button[aria-selected="true"] { color:#11765b; font-weight:700; border-bottom-color:#11765b; }
.od-content { padding-top:16px; }
.od-metrics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.od-metrics button { display:grid; grid-template-columns:minmax(0,1fr); gap:5px; text-align:left; background:#fff; padding:13px 15px; border:1px solid #e3e8e5; border-radius:8px; min-height:104px; }
.od-metrics button > span { font-size:12px; color:#66756c; }
.od-metrics strong { font-size:29px; line-height:1.1; font-variant-numeric:tabular-nums; }
.od-metrics button:first-child strong { color:#11765b; }
.od-balance { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:11px 0; font-size:12px; }
.od-balance b { margin-left:5px; font-variant-numeric:tabular-nums; }
.od-balance button { min-height:32px; display:flex; align-items:center; gap:5px; }
.od-section { border-top:1px solid #e0e6e1; padding:17px 0; }
.od-section-head { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:12px; }
.od-section-head h2 { font-size:15px !important; font-weight:650; }
.owner-dashboard .od-text-button { display:inline-flex; align-items:center; gap:4px; color:#19785c; padding:3px 0; min-height:28px; font-size:11px; }
.od-text-button svg { width:14px; height:14px; }
.od-platforms { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.od-platforms > div { display:flex; gap:5px; align-items:center; background:#fff; border-left:2px solid #e4e9e6; padding:10px 8px; font-size:12px; }
.od-platforms strong { margin-left:auto; font-size:20px; font-variant-numeric:tabular-nums; }
.od-dot { width:6px; height:6px; background:#258366; border-radius:50%; }
.od-dot.amber { background:#d58b42; }
.owner-dashboard .od-note { color:#68766d; font-size:12px; line-height:1.65; margin-top:10px; }
.od-legend { display:flex; align-items:center; gap:5px; font-size:10px; color:#78847b; }
.od-legend b { width:6px; height:6px; background:#258366; }
.od-legend b.amber { background:#dea05c; margin-left:7px; }
.od-chart { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:6px; padding-top:4px; }
.od-chart-day { min-width:0; text-align:center; }
.od-chart-day > small { font-size:11px; }
.od-bars { height:106px; border-bottom:1px solid #dce4df; display:flex; align-items:flex-end; justify-content:center; gap:3px; margin-bottom:6px; }
.od-bars > span { width:9px; max-width:35%; background:#258366; position:relative; border-radius:2px 2px 0 0; }
.od-bars > span.amber { background:#dea05c; }
.od-bars small { position:absolute; bottom:100%; left:50%; transform:translateX(-50%); font-size:9px; margin-bottom:3px; color:#5b6a61; }
.od-person { display:flex; align-items:center; gap:10px; border-bottom:1px solid #e5eae6; padding:11px 0; }
.od-person > div { flex:1; min-width:0; }
.od-person strong { font-size:13px; overflow-wrap:anywhere; }
.od-person > div small { display:block; margin-top:3px; }
.od-person > b { font-size:14px; white-space:nowrap; }
.od-avatar { display:flex; align-items:center; justify-content:center; width:32px; height:32px; flex-shrink:0; border-radius:6px; background:#e3eee8; color:#28765b; font-size:13px; }
.od-definition { color:#68766d; font-size:12px; margin-top:14px; }
.od-definition summary { cursor:pointer; padding:7px 0; }
.od-definition p { line-height:1.8; padding:5px 0; }
.od-segments { display:flex; gap:3px; padding:3px; background:#eaf0eb; border-radius:6px; }
.od-segments button { flex:1; min-width:0; min-height:35px; padding:6px 4px; font-size:12px; border-radius:4px; }
.od-segments button[aria-pressed="true"] { background:#fff; color:#176f54; box-shadow:0 1px 3px #20372b12; font-weight:650; }
.od-usage-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:23px 0; gap:12px; }
.od-usage-summary > div { display:grid; gap:7px; }
.od-usage-summary strong { font-size:25px; font-variant-numeric:tabular-nums; }
.od-usage-summary em { font-style:normal; font-size:10px; margin-left:3px; color:#819086; font-weight:400; }
.od-dimensions, .od-record-tabs { margin-bottom:12px; }
.od-record-tabs { margin-top:16px; }
.od-ranking { border-bottom:1px solid #e2e7e3; padding:2px 0; }
.od-ranking summary { display:flex; gap:10px; align-items:center; min-height:82px; cursor:pointer; }
.od-ranking summary::-webkit-details-marker { display:none; }
.od-rank { font-size:11px; color:#a0aaa3; width:18px; flex-shrink:0; }
.od-ranking-main { flex:1; min-width:0; }
.od-ranking-main > strong { display:block; font-size:13px; overflow-wrap:anywhere; }
.od-ranking-main > small { display:block; margin:4px 0 7px; font-size:12px; }
.od-ranking-number { display:grid; text-align:right; gap:4px; }
.od-ranking-number b { font-size:17px; }
.od-ranking-number small svg { width:12px; height:12px; }
.od-track { height:3px; width:100%; background:#e7ece8; }
.od-track > span { display:block; height:100%; background:#68a68c; }
.od-breakdown { display:flex; flex-wrap:wrap; gap:12px; padding:8px 0; font-size:11px; color:#64816e; }
.od-detail-list { padding:0; margin:0; max-height:260px; overflow:auto; }
.od-detail-list li { display:flex; gap:12px; justify-content:space-between; list-style:none; padding:10px 0; border-top:1px solid #e5eae6; }
.od-detail-list li > div { min-width:0; }
.od-detail-list strong { display:block; font-size:12px; font-weight:500; overflow-wrap:anywhere; }
.od-detail-list small { display:block; margin-top:4px; font-size:12px; }
.od-detail-list b { white-space:nowrap; font-size:11px; }
.od-record-caption { display:flex; justify-content:space-between; font-size:11px; color:#869188; padding:8px 0; }
.od-record { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:15px 0; border-bottom:1px solid #e1e7e2; }
.od-record > div { min-width:0; flex:1; }
.od-record strong { display:block; font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
.od-record small { display:block; font-size:12px; margin-top:4px; }
.od-record > b { font-size:16px; text-align:right; white-space:nowrap; }
.od-record > b small { display:inline; }
.od-positive { color:#16805e; }
.od-label { padding:3px 6px; background:#eaf0eb; border-radius:3px; white-space:nowrap; font-size:10px; color:#78897c; }
.owner-dashboard .od-more { display:block; width:100%; padding:12px; border:1px solid #dfe6e0; margin:15px 0; font-size:12px; }
.od-quick-actions { display:flex; gap:12px; margin:22px 0 0; }
.od-quick-actions button { display:flex; justify-content:center; align-items:center; gap:8px; padding:12px; background:#fff; border:1px solid #e1e7e2; flex:1; font-size:12px; }
.od-setting-row { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:8px 0 19px; }
.od-setting-row strong { display:block; font-size:13px; }
.od-setting-row small { display:block; margin-top:5px; }
.owner-dashboard .od-switch { flex:0 0 42px; width:42px; height:26px; border-radius:16px; background:#cbd4ce; padding:3px; }
.od-switch span { display:block; width:20px; height:20px; border-radius:50%; background:#fff; box-shadow:0 1px 3px #0002; }
.od-switch[aria-checked="true"] { background:#208363; }
.od-switch[aria-checked="true"] span { transform:translateX(16px); }
.od-scope { display:grid; gap:10px; padding-top:16px; border-top:1px solid #e2e8e3; }
.od-scope label, .od-staff-form label { display:grid; gap:7px; font-size:12px; }
.owner-dashboard select, .owner-dashboard input { width:100%; padding:11px; border:1px solid #dbe2dc; border-radius:5px; background:#fff; color:#26342a; box-sizing:border-box; font-family:inherit; font-size:16px; }
.owner-dashboard .od-save { background:#197a5c; color:#fff; padding:12px; font-size:13px; min-height:43px; }
.od-staff-form { display:grid; gap:13px; padding:12px 0 18px; border-bottom:1px solid #e1e8e2; }
.od-account-info { margin:0; font-size:12px; }
.od-account-info > div { display:flex; justify-content:space-between; gap:15px; padding:9px 0; }
.od-account-info dt { color:#849088; }
.od-account-info dd { margin:0; overflow-wrap:anywhere; text-align:right; }
.owner-dashboard .od-logout { display:flex; justify-content:center; align-items:center; gap:8px; width:100%; min-height:44px; border:1px solid #e0d6d2; color:#a7604d; margin-top:17px; }
.owner-dashboard .od-empty { color:#8b968d; font-size:12px; text-align:center; padding:28px 12px; }
.od-error { padding:12px; background:#f7eae4; color:#a0503b; font-size:12px; margin-bottom:16px; }
.od-error button { display:block; margin-top:8px; text-decoration:underline; }
.app-shell[data-view="boss"] .bottom-nav { background:#fcfdfcf5; border-top:1px solid #dce3de; backdrop-filter:blur(16px); box-shadow:none; }
.app-shell[data-view="boss"] .bottom-nav button { color:#7e8a80; font-size:12px; }
.app-shell[data-view="boss"] .bottom-nav button.active { background:#e7f0e9; color:#1b7759; box-shadow:none; }
.app-shell[data-view="boss"] .boss-lock { text-align:left; }
.app-shell[data-view="boss"] .boss-lock h2 { font-size:21px; }
.app-shell[data-view="boss"] .boss-lock .field { color:#607065; }
.app-shell[data-view="boss"] .boss-lock input { background:#fff; color:#24342a; border-color:#dce4de; }
.app-shell[data-view="boss"] .boss-lock .primary { background:#197a5c; color:#fff; }
.app-shell[data-view="boss"] .hero { color:#27382c; }
.app-shell[data-view="boss"] .hero .pill { background:#e9efea; color:#5e7566; border-color:#dce4de; }
@media(max-width:350px) {
  .od-metrics button { padding:12px; }
  .od-header { grid-template-columns:32px minmax(0,1fr) 32px; gap:8px; }
  .od-header .logo { width:32px; height:32px; min-width:32px; }
  .od-header h1 { font-size:13px !important; }
  .od-chart { gap:4px; }
  .od-tabs button { font-size:12px; }
}
