[hidden]{display:none!important}
.screen-time-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.screen-time-metric{min-height:96px;position:relative}
.screen-time-wide{grid-column:1/-1}
.screen-time-metric:before{content:"";position:absolute;left:0;top:16px;bottom:16px;width:3px;border-radius:0 4px 4px 0;background:#2ca88e}
.screen-time-metric h3{margin-bottom:10px!important}
.screen-time-metric strong{display:block;color:#263f4b;font-size:clamp(24px,4vw,31px);font-weight:600;font-variant-numeric:tabular-nums}
.screen-time-empty{padding:24px 16px;color:#82919b;font-size:11px;line-height:1.7;text-align:center}
.screen-time-footnote{margin:12px 2px;color:#82919b;font-size:9px;line-height:1.65}
.screen-time-grid{display:grid}
.screen-time-grid.daily{grid-template-columns:repeat(5,minmax(0,1fr))}
.screen-time-grid.hourly{grid-template-columns:repeat(6,minmax(0,1fr))}
.screen-time-cell{display:flex;min-width:0;min-height:41px;align-items:center;justify-content:space-between;gap:6px;padding:0 10px;border-right:1px solid #e9eff0;border-bottom:1px solid #e9eff0;font-size:10px;font-variant-numeric:tabular-nums}
.screen-time-cell:nth-child(5n){border-right:0}
.screen-time-grid.hourly .screen-time-cell:nth-child(5n){border-right:1px solid #e9eff0}
.screen-time-grid.hourly .screen-time-cell:nth-child(6n){border-right:0}
.screen-time-cell .screen-time-label{color:#7d9097;white-space:nowrap}
.screen-time-cell .screen-time-value{color:#29434d;font-weight:700;white-space:nowrap}
.screen-time-cell.current .screen-time-label,.screen-time-cell.current .screen-time-value{color:#27836f}
.screen-time-cell.missing .screen-time-value{color:#a7b2b5;font-weight:450}
.screen-time-date{display:flex;align-items:center;gap:7px;color:#82919b;font-size:10px;white-space:nowrap}
.screen-time-date input{max-width:145px;padding:6px 8px;border:1px solid #dfe8e9;border-radius:8px;background:#fff;color:#344b58;font:inherit;font-size:10px}
.screen-time-grid-foot{padding:9px 13px;color:#82919b;font-size:9px}
.screen-time-month-list{padding:2px 15px 8px}
.screen-time-month-row{display:grid;grid-template-columns:72px minmax(0,1fr) 80px;align-items:center;gap:12px;min-height:38px;border-bottom:1px solid #edf1f2;font-size:10px;font-variant-numeric:tabular-nums}
.screen-time-month-row:last-child{border-bottom:0}
.screen-time-month-label{color:#7b8d94}
.screen-time-month-track{height:6px;overflow:hidden;border-radius:99px;background:#edf3f1}
.screen-time-month-fill{height:100%;width:var(--screen-time-width);border-radius:99px;background:linear-gradient(90deg,#a7d5c9,#39a78e)}
.screen-time-month-row.current .screen-time-month-fill{background:linear-gradient(90deg,#58bda0,#258c79)}
.screen-time-month-value{text-align:right;color:#29434d;font-weight:700;white-space:nowrap}
.screen-time-month-row.current .screen-time-month-label,.screen-time-month-row.current .screen-time-month-value{color:#27836f}
.traffic-view-switch{display:flex;gap:5px;width:max-content;margin:0 0 17px;padding:4px;border:1px solid #dfe8e9;border-radius:11px;background:#eaf0f0}
.traffic-view-switch button{min-width:112px;padding:8px 15px;border:0;border-radius:8px;background:transparent;color:#687d85;font:inherit;font-size:12px;font-weight:650;cursor:pointer}
.traffic-view-switch button[aria-pressed="true"]{background:#fff;color:#1e5260;box-shadow:0 2px 7px #183b4817}
.traffic-view-switch button:focus-visible{outline:2px solid #378f7e;outline-offset:2px}
.mobile-dashboard{--mobile-green:#2ca88e;--mobile-blue:#8299c9}
.mobile-dashboard-head{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-bottom:12px}
.mobile-dashboard-head h2{margin:0 0 3px;font-size:14px;font-weight:750}
.mobile-dashboard-head p{margin:0;color:#82919b;font-size:10px}
.mobile-updated{color:#82919b;font-size:10px;white-space:nowrap}
.mobile-dashboard-note{margin:0 0 15px;padding:9px 12px;border:1px solid #e1e9e9;border-radius:9px;background:#f8fbfb;color:#71858c;font-size:10px;line-height:1.55}
.mobile-section-title{display:flex;align-items:center;gap:10px;margin:21px 2px 11px;color:#82939d;font-size:10px;font-weight:750;letter-spacing:.12em}
.mobile-section-title:after{content:"";height:1px;flex:1;background:#dfe8e9}
.mobile-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.mobile-ranking-table{width:100%;border-collapse:collapse;font-size:11px}
.mobile-ranking-table th,.mobile-ranking-table td{padding:9px 12px;border-bottom:1px solid #eff3f4;text-align:left}
.mobile-ranking-table th{color:#82919b;font-size:9px;font-weight:600}
.mobile-ranking-table td:nth-child(2){text-align:left;color:#536d77;font-weight:500}
.mobile-ranking-table td:last-child{text-align:right;color:#344b58;font-weight:700;font-variant-numeric:tabular-nums}
.mobile-ranking-section+.mobile-ranking-section{border-top:1px solid #edf1f2}
.mobile-ranking-heading{display:flex;align-items:center;justify-content:space-between;padding:10px 16px 2px}
.mobile-ranking-heading h3{margin:0;color:#526a74;font-size:11px;font-weight:700}
.mobile-ranking-heading span{color:#82919b;font-size:9px}
.mobile-summary-cumulative{grid-column:1/-1}
.mobile-summary-grid>.mobile-summary-card:nth-child(1){order:1}
.mobile-summary-grid>.mobile-summary-card:nth-child(2){order:2}
.mobile-summary-grid>.mobile-summary-card:nth-child(5){order:3}
.mobile-summary-grid>.mobile-summary-card:nth-child(3){order:4}
.mobile-summary-grid>.mobile-summary-card:nth-child(4){order:5}
.mobile-summary-grid>.mobile-summary-card:nth-child(6){order:6}
.mobile-summary-grid>.mobile-summary-card:nth-child(6){grid-column:1/-1}
.mobile-summary-card,.mobile-panel{overflow:hidden;border:1px solid #e3ebed;border-radius:14px;background:#fff;box-shadow:0 4px 14px #173a4b06}
.mobile-summary-card{padding:15px 16px}.mobile-summary-card h3{margin:0 0 13px;color:#526a74;font-size:12px;font-weight:700}
.mobile-period-columns,.mobile-period-row{display:grid;align-items:center;gap:7px}
.mobile-period-columns,.mobile-period-row{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
.mobile-period-columns.cumulative,.mobile-period-row.cumulative{grid-template-columns:minmax(0,1.25fr) repeat(3,minmax(0,1fr))}
.mobile-period-columns{padding:0 0 5px;border-bottom:1px solid #edf1f2;color:#91a0a7;font-size:9px;text-align:right}
.mobile-period-columns span:first-child{text-align:left}
.mobile-period-row{min-height:35px;padding:5px 0;border-bottom:1px solid #f0f3f4;font-variant-numeric:tabular-nums}
.mobile-period-row:last-child{border-bottom:0}
.mobile-period-row h4{display:flex;align-items:center;gap:7px;min-width:0;margin:0;color:#344b58;font-size:10px;font-weight:700;white-space:nowrap}
.mobile-period-row h4 i{width:7px;height:7px;flex:none;border-radius:50%;background:var(--mobile-green)}
.mobile-period-row.mobile-wifi h4 i{background:var(--mobile-blue)}
.mobile-period-row strong{min-width:0;text-align:right;color:#287c6b;font-size:clamp(13px,2.3vw,17px);font-weight:700;white-space:nowrap}
.mobile-period-row.mobile-wifi strong{color:#596f9e}
.mobile-network{padding:11px 0 0;border-top:1px solid #edf1f2}.mobile-network:first-of-type{padding-top:0;border-top:0}
.mobile-network h4{display:flex;align-items:center;gap:7px;margin:0 0 9px;color:#344b58;font-size:11px;font-weight:700}
.mobile-network h4 i{width:7px;height:7px;border-radius:50%;background:var(--mobile-green)}.mobile-wifi h4 i{background:var(--mobile-blue)}
.mobile-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.mobile-values div{min-width:0}.mobile-values span{display:block;color:#82919b;font-size:9px}.mobile-values strong{display:block;margin-top:4px;color:#263f4b;font-size:clamp(13px,2.3vw,17px);font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}.mobile-cellular .mobile-values strong{color:#287c6b}.mobile-wifi .mobile-values strong{color:#596f9e}
.mobile-panel{margin-top:14px}.mobile-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px 11px;border-bottom:1px solid #edf1f2}.mobile-panel-head h2{margin:0;font-size:13px;font-weight:750}.mobile-panel-head span{color:#82919b;font-size:10px}.mobile-data-empty{padding:26px 16px;color:#82919b;font-size:11px;line-height:1.7;text-align:center}
.mobile-table-scroll{overflow:auto}.mobile-history-table{width:100%;min-width:690px;border-collapse:collapse;font-size:11px}.mobile-history-table th,.mobile-history-table td{padding:9px 10px;border-bottom:1px solid #eff3f4;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.mobile-history-table th{color:#82919b;font-size:9px;font-weight:600}.mobile-history-table th:first-child,.mobile-history-table td:first-child{text-align:left}.mobile-history-table thead tr:first-child th:not(:first-child){text-align:center;border-bottom:0;padding-bottom:3px}.mobile-history-table thead tr:nth-child(2) th{padding-top:3px}.mobile-history-table .cellular-col{color:#287c6b}.mobile-history-table .wifi-col{color:#596f9e}.mobile-history-empty{text-align:center!important;padding:23px 10px!important;color:#82919b!important}
.mobile-chart-legend{display:flex;gap:15px;padding:9px 15px 0;color:#758792;font-size:10px}.mobile-chart-legend span{display:flex;align-items:center;gap:6px}.mobile-chart-legend i{width:8px;height:8px;border-radius:3px;background:#2ca88e}.mobile-chart-legend .wifi-key{background:#8299c9}
.mobile-daily-scroll{overflow-x:auto;overscroll-behavior-x:contain}.mobile-daily-chart{display:grid;grid-template-columns:repeat(15,minmax(35px,1fr));gap:4px;min-width:570px;height:169px;padding:10px 13px 0;border-bottom:1px solid #e9eff0;background:repeating-linear-gradient(to bottom,transparent 0,transparent 36px,#edf2f3 37px)}
.mobile-day{display:flex;min-width:0;flex-direction:column;align-items:center;padding:0;border:0;background:transparent;color:inherit;cursor:pointer}.mobile-day-total{height:17px;color:#71858c;font-size:8px;font-variant-numeric:tabular-nums;white-space:nowrap}.mobile-day-bars{display:flex;align-items:flex-end;justify-content:center;gap:3px;width:100%;height:105px}.mobile-day-bar{width:10px;min-height:2px;border-radius:3px 3px 1px 1px;background:linear-gradient(180deg,#72cdb6,#319f92)}.mobile-day-bar.wifi{background:linear-gradient(180deg,#a9b8dc,#7188b8)}.mobile-day.selected .mobile-day-bar.mobile{background:linear-gradient(180deg,#55bba1,#238d7c)}.mobile-day.selected .mobile-day-bar.wifi{background:linear-gradient(180deg,#8199c9,#536c9f)}.mobile-day-label{height:19px;padding-top:5px;color:#70858d;font-size:8px;white-space:nowrap}.mobile-day:focus-visible{outline:2px solid #348e7e;outline-offset:1px;border-radius:4px}
.mobile-daily-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:11px 13px 0}.mobile-day-detail-date{grid-column:1/-1;color:#637b84;font-size:10px}.mobile-daily-breakdown .mobile-network{padding:10px;border:1px solid #edf1f2;border-radius:9px}.mobile-daily-breakdown .mobile-values{gap:3px}.mobile-daily-breakdown .mobile-values span{font-size:8px}.mobile-daily-breakdown .mobile-values strong{font-size:12px}
@media(max-width:650px){.traffic-view-switch{width:100%;margin-bottom:12px}.traffic-view-switch button{flex:1;min-width:0;padding:8px 9px;font-size:11px}.mobile-dashboard-head h2{font-size:13px}.mobile-dashboard-head p,.mobile-updated{font-size:9px}.mobile-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mobile-summary-card{padding:13px}.mobile-summary-card h3{margin-bottom:10px}.mobile-period-columns,.mobile-period-row{gap:5px}.mobile-period-columns{font-size:8px}.mobile-period-row h4{font-size:9px}.mobile-period-row strong{font-size:clamp(13px,4vw,16px)}.mobile-period-columns.cumulative,.mobile-period-row.cumulative{grid-template-columns:minmax(0,1.15fr) repeat(3,minmax(0,1fr))}.mobile-period-row.cumulative strong{font-size:clamp(10px,3.2vw,13px)}.mobile-network{padding-top:9px}.mobile-values strong{font-size:clamp(14px,4vw,17px)}.mobile-panel{margin-top:12px}.mobile-panel-head{padding:12px}.mobile-panel-head h2{font-size:12px}.mobile-panel-head span{font-size:9px}.mobile-data-empty{padding:22px 12px;font-size:10px}.mobile-history-table th,.mobile-history-table td{padding:8px 7px}.mobile-chart-legend{padding:8px 12px 0;font-size:9px}.mobile-daily-chart{height:153px;min-width:540px;padding:8px 9px 0}.mobile-day-bars{height:94px}.mobile-daily-breakdown{gap:6px;margin:9px}.mobile-daily-breakdown .mobile-network{padding:8px 7px}.mobile-daily-breakdown .mobile-values strong{font-size:10px}.screen-time-summary{gap:8px}.screen-time-metric{min-height:88px;padding:13px}.screen-time-metric strong{font-size:clamp(18px,5vw,25px)}.screen-time-empty{padding:20px 12px;font-size:10px}.screen-time-grid.daily{grid-template-columns:repeat(3,minmax(0,1fr))}.screen-time-grid.hourly{grid-template-columns:repeat(3,minmax(0,1fr))}.screen-time-grid.daily .screen-time-cell:nth-child(5n){border-right:1px solid #e9eff0}.screen-time-grid.daily .screen-time-cell:nth-child(3n){border-right:0}.screen-time-grid.hourly .screen-time-cell:nth-child(6n){border-right:1px solid #e9eff0}.screen-time-grid.hourly .screen-time-cell:nth-child(3n){border-right:0}.screen-time-cell{min-height:38px;padding:0 8px;font-size:9px}.screen-time-date{font-size:9px}.screen-time-date input{max-width:130px;font-size:9px}.screen-time-month-list{padding:2px 11px 7px}.screen-time-month-row{grid-template-columns:58px minmax(0,1fr) 68px;gap:8px;min-height:36px;font-size:9px}}

/* Compact mobile history rows that never require horizontal scrolling. */
.mobile-month-list{padding:2px 12px 7px}
.mobile-month-row{padding:10px 1px;border-bottom:1px solid #edf1f2}
.mobile-month-row:last-child{border-bottom:0}
.mobile-month-label{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0 0 8px;color:#435c66;font-size:11px;font-weight:700}
.mobile-month-label small{color:#82919b;font-size:9px;font-weight:500}
.mobile-month-network{padding:8px 0 2px;border-top:1px solid #f0f3f4}
.mobile-month-network:first-of-type{padding-top:0;border-top:0}
.mobile-month-network h4{display:flex;align-items:center;gap:6px;min-width:0;margin:0;color:#415963;font-size:10px;font-weight:700}
.mobile-month-network h4 i{width:7px;height:7px;flex:none;border-radius:50%;background:var(--mobile-green)}
.mobile-month-network.mobile-wifi h4 i{background:var(--mobile-blue)}
.mobile-month-total{margin-left:auto;color:#344b58;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.mobile-month-network.mobile-cellular .mobile-month-total{color:#287c6b}
.mobile-month-network.mobile-wifi .mobile-month-total{color:#596f9e}
.mobile-month-subvalues{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:4px 0 0 13px;color:#82919b;font-size:9px;font-variant-numeric:tabular-nums}
.mobile-month-subvalues b{color:#607780;font-weight:600}
.mobile-daily-head,.mobile-day-row{display:grid;grid-template-columns:75px minmax(0,1fr) minmax(0,1fr);align-items:center;gap:5px}
.mobile-daily-head{padding:7px 13px 6px;color:#82919b;font-size:9px}
.mobile-daily-head span:not(:first-child){text-align:right}
.mobile-daily-list{padding:0 8px 7px}
.mobile-day-row{width:100%;min-height:39px;padding:5px;border:0;border-top:1px solid #eff3f4;background:#fff;color:inherit;text-align:left;cursor:pointer}
.mobile-day-row.selected{border-radius:8px;background:#f6faf9}
.mobile-day-row:focus-visible{outline:2px solid #348e7e;outline-offset:-1px;border-radius:7px}
.mobile-day-date{color:#6f838b;font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}
.mobile-day-date small{margin-left:3px;color:#9aa8ad;font-size:8px}
.mobile-day-amount{text-align:right;font-size:10px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
.mobile-day-amount.cellular-col{color:#287c6b}
.mobile-day-amount.wifi-col{color:#596f9e}
.mobile-daily-breakdown{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:5px 12px 12px;padding:10px;border:1px solid #e6efec;border-radius:10px;background:#f9fcfb}
.mobile-day-detail-date{grid-column:1/-1;color:#617983;font-size:9px;font-weight:650}
.mobile-daily-breakdown .mobile-network{min-width:0;padding:8px 7px;border:1px solid #e9efee;border-radius:8px;background:#fff}
.mobile-daily-breakdown .mobile-network h4{gap:5px;margin-bottom:7px;font-size:9px}
.mobile-daily-breakdown .mobile-values{gap:2px}
.mobile-daily-breakdown .mobile-values span{font-size:8px}
.mobile-daily-breakdown .mobile-values strong{font-size:9px}
@media(max-width:360px){
  .mobile-month-list{padding-right:9px;padding-left:9px}
  .mobile-daily-head,.mobile-day-row{grid-template-columns:68px minmax(0,1fr) minmax(0,1fr);gap:3px}
  .mobile-day-amount{font-size:9px}
  .mobile-daily-breakdown{margin-right:8px;margin-left:8px;padding:8px}
  .mobile-daily-breakdown .mobile-network{padding:7px 5px}
  .mobile-daily-breakdown .mobile-values strong{font-size:8px}
}

.battery-summary .screen-time-metric{min-height:112px}
.battery-current-time{display:block;margin-top:7px;color:#82919b;font-size:10px;font-weight:450}
.battery-date{display:flex;align-items:center;gap:7px;color:#82919b;font-size:10px;white-space:nowrap}
.battery-date input{max-width:145px;padding:6px 8px;border:1px solid #dfe8e9;border-radius:8px;background:#fff;color:#344b58;font:inherit;font-size:10px}
.battery-chart-wrap{max-width:100%;overflow:hidden;padding:6px 13px 0}
.battery-chart{display:block;width:100%;min-width:0;height:305px;overflow:hidden}
.battery-chart-grid{stroke:#ebf0f1;stroke-width:1}
.battery-chart-vgrid{stroke:#f0f3f4;stroke-width:1}
.battery-chart-axis{fill:#87969b;font:10px system-ui,sans-serif}
.battery-chart-segment{fill:none;stroke:#319f92;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.battery-chart-segment.charging{stroke:#5578bd;stroke-width:3}
.battery-chart-segment.unknown{stroke:#9aa8ad}
.battery-chart-charge-shade{fill:#e5edf9;opacity:.82}
.battery-chart-normal-state{fill:#d5eee8}
.battery-chart-charge-state{fill:#5578bd}
.battery-chart-latest-line{stroke:#77a99f;stroke-width:1.2;stroke-dasharray:3 4}
.battery-chart-latest-dot{fill:#fff;stroke:#238a7d;stroke-width:2.8}
.battery-chart-legend{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:5px 3px 12px;color:#7c8b91;font-size:10px}
.battery-chart-legend span{display:flex;align-items:center;gap:6px}
.battery-chart-legend i.line-key{display:inline-block;width:17px;height:0;border:0;border-top:3px solid #319f92;border-radius:3px}
.battery-chart-legend i.line-key.charging-key{border-color:#5578bd}
.battery-chart-legend i.missing-key{display:inline-block;width:13px;height:9px;border:1px solid #e0e8e8;border-radius:2px;background:repeating-linear-gradient(135deg,#e0e8e8 0 3px,#f5f8f8 3px 6px)}
.battery-hours{grid-template-columns:repeat(6,minmax(0,1fr))}
.battery-hour-cell{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:min-content min-content;gap:2px 4px;min-height:44px;padding:6px 9px}
.battery-hour-cell .screen-time-label{grid-column:1;grid-row:1}
.battery-hour-cell .screen-time-value{grid-column:2;grid-row:1 / span 2;align-self:center}
.battery-hour-charge{grid-column:1;grid-row:2;color:#7188b8;font-size:8px;line-height:1.1}
.battery-footnote{margin:12px 2px;color:#82919b;font-size:9px;line-height:1.65}
@media(max-width:650px){
  .traffic-view-switch button{padding-right:5px;padding-left:5px;font-size:10px}
  .battery-summary .screen-time-metric{min-height:93px}
  .battery-current-time{font-size:9px}
  .battery-date{gap:4px;font-size:9px}
  .battery-date input{max-width:130px;font-size:9px}
  .battery-chart-wrap{padding-right:8px;padding-left:8px}
  .battery-chart-legend{padding:3px 4px 10px;font-size:9px}
  .battery-hours{grid-template-columns:repeat(4,minmax(0,1fr))}
  .battery-hours .screen-time-cell:nth-child(6n){border-right:1px solid #e9eff0}
  .battery-hours .screen-time-cell:nth-child(4n){border-right:0}
  .battery-hour-cell{min-height:41px;padding:6px 7px}
  .battery-footnote{font-size:9px}
}
@media(max-width:360px){.traffic-view-switch button{padding-right:3px;padding-left:3px;font-size:9px}.battery-hour-cell{padding-right:5px;padding-left:5px}}
/* Battery view follows the approved compact screen-time dashboard layout. */
#battery-view .battery-chart-panel-head{align-items:flex-start;padding:13px 15px 11px}
#battery-view .battery-chart-heading{min-width:0}
#battery-view .battery-chart-heading h2{margin:0}
#battery-view .battery-chart-current{display:flex;align-items:baseline;gap:8px;margin-top:5px;white-space:nowrap}
#battery-view .battery-chart-current strong{color:#263c49;font-size:20px;font-variant-numeric:tabular-nums}
#battery-view .battery-chart-current span{color:#87969b;font-size:9px}
#battery-view .battery-chart-panel-head .screen-time-date{flex:none;margin-top:2px}
#battery-view .battery-chart-wrap{max-width:100%;overflow:hidden;padding:7px 13px 0}
#battery-view .battery-chart{width:100%;min-width:0;height:305px;overflow:hidden}
#battery-view .battery-chart-legend{flex-wrap:wrap;justify-content:flex-start;gap:7px 16px;padding:5px 3px 11px}
#battery-view .battery-hour-cell{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:min-content min-content;gap:2px 4px;min-height:46px;padding:6px 9px}
#battery-view .battery-hour-cell .screen-time-label{grid-column:1;grid-row:1}
#battery-view .battery-hour-cell .screen-time-value{grid-column:2;grid-row:1/span 2;align-self:center}
#battery-view .battery-hour-detail{grid-column:1;grid-row:2;color:#8a9aa1;font-size:8px;font-weight:450;line-height:1.1}
#battery-view .battery-hour-detail.charging{color:#7188b8}
#battery-view .battery-footnote{margin:12px 2px;color:#82919b;font-size:9px;line-height:1.65}
@media(max-width:650px){
  #battery-view .battery-chart-panel-head{padding:12px}
  #battery-view .battery-chart-current{gap:6px;margin-top:4px}
  #battery-view .battery-chart-current strong{font-size:18px}
  #battery-view .battery-chart-current span{font-size:8px}
  #battery-view .battery-chart-wrap{overflow-x:auto;overflow-y:hidden;padding-right:8px;padding-left:8px}
  #battery-view .battery-chart{width:740px;min-width:740px;max-width:none;height:275px}
  #battery-view .battery-chart-legend{gap:6px 12px;font-size:9px}
  #battery-view .battery-hour-cell{min-height:43px;padding:6px 7px}
  #battery-view .battery-hour-detail{font-size:7px}
}
@media(max-width:360px){#battery-view .battery-hour-cell{padding-right:4px;padding-left:4px}}

.phone-view-nav{display:flex;gap:7px;margin:12px 0 14px;padding:5px;border:1px solid #dfe9e7;border-radius:12px;background:#eaf1ef}.phone-view-nav button{flex:1;min-height:38px;padding:7px 11px;border:0;border-radius:9px;background:transparent;color:#6f858a;font:inherit;font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}.phone-view-nav button[aria-pressed="true"]{background:#fff;color:#285e59;box-shadow:0 2px 8px #173e3512}.phone-view-nav button:focus-visible{outline:2px solid #2ca88e;outline-offset:2px}#screen-time-view[hidden],#battery-view[hidden],#mobile-view[hidden]{display:none!important}#screen-time-view,#battery-view{padding-bottom:16px}
@media(max-width:620px){.phone-view-nav{gap:3px;padding:4px}.phone-view-nav button{min-height:36px;padding:6px 4px;font-size:10px}.screen-time-summary{gap:8px}}
