/* V30: New standalone keyboard rhythm dashboard, integrated with V29 theme */
.bd30-main{padding-top:36px}.bd30-intro{display:flex;justify-content:space-between;gap:20px;align-items:start}.bd30-intro h1{font-size:clamp(27px,3.5vw,43px)}.bd30-label{white-space:nowrap;border:1px solid #53747e;border-radius:99px;padding:9px 14px;background:#143a3e;color:#9ff3d7;font-weight:750;font-size:12px}.bd30-shell{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(270px,.8fr);gap:18px;align-items:start}.bd30-app{min-width:0}.bd30-setup{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:11px;align-items:end}.bd30-setup label{margin:0;font-size:12px}.bd30-setup select{margin-top:8px;min-width:0}.bd30-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:18px 0}.bd30-stats>div{background:#0f172b;border:1px solid #334365;border-radius:12px;padding:13px 7px;text-align:center}.bd30-stats strong{font-size:clamp(19px,2vw,27px);font-variant-numeric:tabular-nums;display:block;color:#e7f6ff}.bd30-stats span{display:block;font-size:10px;color:#b6c8e8;margin-top:6px}.bd30-passage-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.bd30-passage-head h2{font-size:18px;margin:10px 0}.bd30-passage-head span{font-size:12px;color:#a8c5d9}.bd30-passage{background:#0b1224;border:1px solid #3a4a6b;border-radius:14px;padding:17px;min-height:160px;max-height:250px;overflow-y:auto;line-height:1.8;font-size:clamp(19px,2.3vw,24px);word-break:break-word;white-space:pre-wrap;margin:8px 0 18px}.bd30-passage span.ok{color:#59e2b6}.bd30-passage span.no{color:#ff8394;background:#5b2639}.bd30-passage span.now{background:#25395c;border-bottom:3px solid #ffde86}.bd30-passage span.wait{color:#94a3bf}.bd30-app textarea{margin-top:8px;font-size:19px;line-height:1.55}.bd30-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;flex-wrap:wrap}.bd30-actions span{font-size:13px;color:#b8ccdf}.bd30-chartbox{margin-top:20px;border-top:1px solid #3b4a66;padding-top:14px}.bd30-chartbox canvas{width:100%;height:135px;display:block;background:#0b1427;border-radius:12px;border:1px solid #31435d}.bd30-side{display:grid;gap:16px;min-width:0}.bd30-weak{display:grid;gap:8px}.bd30-wrow{display:flex;align-items:center;gap:8px}.bd30-wrow span{min-width:52px;font-size:13px}.bd30-wrow i{height:10px;border-radius:9px;background:linear-gradient(90deg,#48c8b6,#9d95ff);display:block}.bd30-wrow strong{font-size:12px;font-variant-numeric:tabular-nums}.bd30-history{display:grid;gap:8px;margin:12px 0}.bd30-history>div{border-bottom:1px solid #33415d;padding-bottom:8px;font-size:13px;display:flex;justify-content:space-between;gap:5px}.bd30-report-buttons{display:flex;gap:10px;flex-wrap:wrap}.bd30-report-buttons button{flex:1}.bd30-guide{margin-top:17px;border:1px solid #496084;border-radius:12px;padding:10px 12px;background:#10192b}.bd30-guide summary{cursor:pointer;color:#dceeff;font-weight:750}.bd30-guide .bd3d{margin:12px 0 0}.bd30-footnote{margin-top:22px;font-size:13px;color:#afbdd5}.bd30-side .btn{display:inline-block;margin:8px 0}.bd30-report-buttons{margin-top:14px}
body[data-bd-theme='light'] .bd30-passage,body[data-bd-theme='light'] .bd30-chartbox canvas{background:#edf3ff;color:#233450}body[data-bd-theme='light'] .bd30-passage span.wait{color:#5b6377}body[data-bd-theme='light'] .bd30-stats>div{background:#eaf1ff}body[data-bd-theme='light'] .bd30-stats strong{color:#153353}body[data-bd-theme='light'] .bd30-guide{background:#eef4ff}body[data-bd-theme='light'] .bd30-guide summary{color:#233450}
@media(max-width:940px){.bd30-shell{grid-template-columns:1fr}.bd30-side{grid-template-columns:1fr 1fr}.bd30-side .panel:last-child{grid-column:1/-1}}@media(max-width:660px){.bd30-setup{grid-template-columns:1fr 1fr}.bd30-setup button{grid-column:1/-1}.bd30-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.bd30-stats>div:last-child{grid-column:1/-1}.bd30-side{grid-template-columns:1fr}.bd30-intro{display:block}.bd30-label{display:inline-block;margin:0 0 12px}.bd30-passage{min-height:130px;font-size:20px;padding:12px}.bd30-side .panel:last-child{grid-column:auto}.bd30-app{padding:15px}}
@media(prefers-reduced-motion:reduce){.bd30-stats,.bd30-passage{scroll-behavior:auto}}
