/* Instrument modules use the existing main dashboard, never another rail. */
body[data-view=dashboard] .language-slot{padding:4px 20px}
body[data-view=dashboard] #accountNotice{font-size:12px;padding:5px 22px;max-width:none}
body[data-view=dashboard] .dashbar{padding:8px 20px;min-height:60px}
body[data-view=dashboard] .dashbar p{margin:0;font-size:12px}
body[data-view=dashboard] .dashcontext{padding:8px 20px;min-height:58px}
body[data-view=dashboard] .dashcontext #dashTitle{display:none}

@media(max-width:760px){body[data-view=dashboard] .dashbar p{display:none}body[data-view=dashboard] .dashcontext{gap:8px;padding:8px 16px}body[data-view=dashboard] .dashcontext #dashScope{display:none}body[data-view=dashboard] #accountNotice{padding:5px 16px;font-size:11px}body[data-view=dashboard] .house-heading p{font-size:13px;line-height:1.5}body[data-view=dashboard] .house-heading h1{font-size:26px}body[data-view=dashboard] .house-tabs{margin-bottom:8px}body[data-view=dashboard] .house-status{font-size:12px;margin:8px 0}body[data-view=dashboard] .house-stats{margin:10px 0}.house-stat .s{line-height:1.4}}

#dashboard .dash-content{padding:24px;background:#eef3f6;min-height:calc(100vh - 200px)}
#dashboard .dashcontext{position:relative;flex-wrap:wrap}#dashboard .dashcontext label{min-width:0;max-width:100%}#dashboard #activitySource{width:100%;max-width:100%;min-width:0}#dashboard .sidebar{align-self:stretch}#dashboard .sidebar nav button small{font-size:11px;line-height:1.45;margin-top:3px;color:inherit}#dashboard .sidebar nav button{min-height:58px}#dashboard .sidebar nav button span{font-weight:650}
.house-heading{position:relative;padding-right:190px;margin-bottom:18px}.house-heading h1{font:700 32px/1.2 Georgia,serif;margin:7px 0 10px}.house-heading p{margin:8px 0;color:#45546b}.house-eyebrow{font-size:11px;letter-spacing:.09em;font-weight:750;color:#395a73}.house-heading .house-new,.house-heading>button{position:absolute;right:0;top:16px}.house-new{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}.house-heading>button:disabled{background:#f5f7fa;color:#52657a;border-color:#b8c7d5}
.house-tabs{display:flex;gap:8px;border-bottom:1px solid #bdcddd;margin-bottom:14px;padding-bottom:10px;flex-wrap:wrap}.house-tabs button{min-height:44px;padding:9px 14px;border:1px solid #a3b8ca;border-radius:8px;background:white;color:#25435d}.house-tabs button[aria-pressed=true]{background:#173e61;color:white;border-color:#173e61}.house-status{font-size:13px;color:#344f65;min-height:24px;margin:12px 0 16px}.house-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0}.house-stat{border:1px solid #c8d6e4;border-top:4px solid #2878b9;background:#e9f2fc;border-radius:12px;padding:18px;min-width:0;display:flex;flex-direction:column;color:#19334b}.house-stat.tone-1{background:#e3f3ee;border-top-color:#16756b}.house-stat.tone-2{background:#f0e9fa;border-top-color:#7851a2}.house-stat .k{font-size:13px;font-weight:700;line-height:1.5}.house-stat .v{font-size:34px;line-height:1.3;margin:10px 0;color:#153e60}.house-stat .s{font-size:12px;color:#405369}.house-unit{font-size:12px;color:#45546b;margin:0 0 20px}.house-results{background:white;border:1px solid #d0dce8;border-radius:14px;overflow:hidden;box-shadow:0 3px 12px #18355108}.house-results>h2,.house-results>p{margin:18px 20px}.house-results h2{font:700 21px/1.4 Georgia,serif}.house-panel-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px 20px;border-bottom:1px solid #d0dce8;flex-wrap:wrap}.house-panel-head h2{margin:0}.house-tools{display:flex;gap:8px;flex-wrap:wrap}.house-tools button{min-width:44px}.house-filters{display:flex;gap:12px;flex-wrap:wrap;padding:16px 20px;background:#f6f9fc}.house-filters label{display:flex;flex:1 1 150px;flex-direction:column;gap:4px;font-size:12px;font-weight:650;min-width:0}.house-filters input,.house-filters select{min-height:44px;width:100%;min-width:0;border:1px solid #a5bacb;border-radius:7px;background:white;color:#19334b;padding:8px;font:inherit;font-size:14px}.house-table-scroll{overflow-x:auto}.house-results table{width:100%;border-collapse:collapse;font-size:13px;table-layout:fixed}.house-table-scroll table{min-width:690px}.house-results caption{padding:12px 20px;text-align:left;color:#45546b;font-size:12px}.house-results th,.house-results td{padding:14px 16px;text-align:left;vertical-align:top;border-bottom:1px solid #dde6ef;overflow-wrap:break-word}.house-results th{background:#edf3f8;color:#24445f;font-weight:700}.house-results th[scope=row]{width:33%}.house-results td small{display:block;color:#53677a;font-size:11px;margin-top:5px}.house-results td strong{display:block}.house-empty{padding:28px 20px;text-align:center;color:#45546b}.house-empty h3{color:#1a425e;font-size:20px;margin:8px 0}.house-foot{border-top:1px solid #d0dce8;padding:12px 20px;font-size:12px;color:#45546b;margin:0!important}.house-details{margin-top:18px;border:1px solid #c7d6e2;border-radius:10px;background:#f8fafc;padding:0 16px}.house-details summary{min-height:44px;padding:11px 0;color:#264c69;font-size:13px;cursor:pointer}.house-details p{font-size:13px;color:#45546b}.training-surface p,.house-results p,.house-details p{text-align:justify;hyphens:none;overflow-wrap:normal}.training-page{max-width:1280px;margin:auto;padding:24px}.training-page>nav{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:16px}.training-page>nav a{min-height:44px;display:inline-flex;align-items:center;padding:9px 14px;border:1px solid #a3b8ca;border-radius:8px;background:white;color:#25435d;text-decoration:none}.training-page #trainingStandalone{background:#eef3f6;padding:24px;border-radius:14px}#trainingProcessed[hidden]{display:none!important}
@media(max-width:760px){#dashboard .dash-content{padding:20px 16px}#dashboard .sidebar.open{max-height:65dvh;overflow-y:auto}.house-heading{padding-right:0}.house-heading h1{font-size:28px}.house-heading .house-new,.house-heading>button{position:static;margin-top:4px}.house-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.house-stat:last-child{grid-column:1/-1}.house-stat{padding:14px}.house-stat .v{font-size:30px;margin:7px 0}.house-panel-head{padding:16px}.house-filters{padding:14px 16px;gap:10px}.house-filters label{flex-basis:135px}.house-results th,.house-results td{padding:12px}.house-results>h2,.house-results>p{margin:16px}.training-page{padding:16px}.training-page #trainingStandalone{padding:0}.mini-list a{flex-direction:column;gap:5px}.house-details p{font-size:13px}}
@media(prefers-reduced-motion:reduce){.training-surface *{scroll-behavior:auto!important;transition:none!important}}
