/* TWJ Step 7: compact, factual Health & Wearables dashboard. */
.twj7-tabs{gap:4px}.twj7-tabs>button{flex:1}
.twj7-page{display:grid;gap:10px;padding-bottom:12px}
.twj7-hero{padding:6px 2px 11px}
.twj7-hero h2{font-size:25px;line-height:1.1;margin:5px 0}
.twj7-hero p{font-size:12px;color:#afc1dc;margin:6px 0 13px}
.twj7-hero>small{display:block;font-size:10px;color:#a9bad2;line-height:1.6;margin-top:8px}
.twj7-state{display:flex;align-items:center;gap:9px;font-size:12px}
.twj7-dot{display:inline-block;background:#8c7274;border:2px solid #dcb9b9;width:12px;height:12px;border-radius:50%}
.twj7-dot.yes{background:#3cbd81;border-color:#bbffdb}
.twj7-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.twj7-stats>div{min-width:0;display:grid;gap:6px;padding:11px;background:#1c2738;border:1px solid #3b4b60;border-radius:12px}
.twj7-stats small{font-size:9px;font-weight:750;letter-spacing:.08em;color:#adcbff;text-transform:uppercase}
.twj7-stats strong{font-size:clamp(17px,4vw,24px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.twj7-stats span{font-size:10px;color:#b4c3d9;line-height:1.4}
.twj7-fold{padding:10px 13px!important;margin:0!important}
.twj7-fold>summary{cursor:pointer;list-style:none;font-size:14px;font-weight:850;display:flex;align-items:center;justify-content:space-between;min-height:41px;gap:9px}
.twj7-fold>summary::-webkit-details-marker{display:none}
.twj7-fold>summary:after{content:'⌄';font-size:20px;color:#b3c9e8}
.twj7-fold[open]>summary:after{content:'⌃'}
.twj7-fold>summary small{font-size:10px;font-weight:600;color:#abc1e3;margin-left:auto}
.twj7-empty{font-size:11px;color:#afbfd6;padding:7px 2px;line-height:1.6}
.twj7-line,.twj7-history>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 1px;border-top:1px solid #34435b}
.twj7-line>div,.twj7-history>div>span{min-width:0;display:grid;gap:5px}
.twj7-line strong,.twj7-history strong{font-size:11px;color:#eef4ff}
.twj7-line small,.twj7-history small{font-size:10px;color:#aabbd3;line-height:1.4}
.twj7-line>span{font-size:10px;color:#acccff;text-align:right}
.twj7-history b{font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}
.twj7-subnote{font-size:10px;color:#a9b7d2;line-height:1.6;padding:2px 0 0}
.twj7-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:7px 0 12px}
.twj7-check{display:flex;gap:8px;align-items:center;min-height:38px;padding:7px 8px;background:#202d3d;border:1px solid #344660;border-radius:9px;font-size:11px;color:#d6e2f8;line-height:1.3}
.twj7-check input{width:18px;min-width:18px;height:18px;min-height:18px;margin:0;accent-color:#6294fc}
.twj7-primary{margin-top:9px;background:#243951}
#twj7-prefs .primary{min-height:43px;font-size:12px;margin:1px 0 0}
#twj7-prefs .msg{font-size:11px;color:#c1d5f4}
.twj7-info{padding:12px!important}
.twj7-info strong{font-size:13px}
.twj7-info p{font-size:11px;color:#b1c0d8;line-height:1.6}
.twj7-info button{min-height:42px}
.twj7-error{padding:10px;color:#ffd0d0;border:1px solid #a95a62;background:#39252c;border-radius:9px;font-size:11px}
.twj7-profile{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:54px;padding:10px 13px;margin:7px 0 10px;border:1px solid #41628d;border-radius:12px;background:#203454;color:#c4d7ff;font-size:12px;font-weight:850}
.twj7-profile>span{font-size:23px}
@media(min-width:730px){.twj7-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.twj7-check-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
