/* Approved option 3: three-column streak cards. */
.streaks-navigation-toggle{display:none}
main.stats-main.streaks-main{padding:22px 24px 18px;background:#f6f8fb;outline:none}
.streaks-main .page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.streaks-main .page-heading h1{font-size:24px;line-height:32px;color:#172033;letter-spacing:0;margin:0;font-weight:600}
.streaks-page{font-size:13px;color:#1d2129;font-variant-numeric:tabular-nums;min-width:0;--st-blue:#165dff;--st-red:#f53f3f;--st-line:#e1e6ee;--st-muted:#86909c}
.st-summary{font-size:12px;color:#70839b;white-space:nowrap}
.st-summary strong{color:var(--st-blue);font-weight:500;margin:0 3px}
.st-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid var(--st-line);border-radius:5px;padding:11px 12px;margin-bottom:12px}
.st-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.st-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--st-line);border-radius:5px;min-width:0;padding:12px}
.st-card.live{border-color:#b9ceff;background:#fbfdff}
.st-card-head{display:flex;align-items:center;justify-content:space-between;gap:5px}
.st-card-head h2{margin:0;font-size:14px;color:#1d2129;font-weight:500;line-height:22px}
.st-status{display:inline-flex;align-items:center;gap:5px;color:var(--st-muted);white-space:nowrap;font-size:11px;font-weight:400}
.st-status i{height:5px;width:5px;border-radius:50%;background:#c4cad3;flex:none}
.st-status.active{color:var(--st-blue)}.st-status.active i{background:var(--st-blue)}
.st-card-type{font-size:11px;color:var(--st-muted);margin-top:3px;line-height:20px}
.st-track{display:flex;align-items:center;justify-content:flex-start;gap:4px;flex-wrap:wrap;max-width:100%;min-width:0;line-height:24px;margin:12px 0;min-height:24px}
.st-value{display:inline-flex;align-items:center;justify-content:center;height:24px;min-width:24px;overflow:hidden;border-radius:3px;white-space:nowrap;line-height:24px}
body .streaks-page .st-card .st-value.result-trait-solid{min-width:24px;height:24px;padding:0 4px;font-size:12px;font-weight:500;line-height:24px}
.st-value>span{display:inline-block;flex:1;text-align:center;padding:0 4px;font-size:12px;font-weight:500}
.st-value .blue{color:#fff;background:var(--st-blue)}.st-value .red{color:#fff;background:var(--st-red)}
.st-value .neutral{color:#41556f;background:#edf1f7}
.st-missing,.st-omitted,.st-unavailable{color:var(--st-muted);font-size:12px}
.st-missing{display:inline-grid;place-items:center;min-width:24px;height:24px;border:1px dashed #cbd4e1;border-radius:3px}
.st-unavailable{display:block;margin:12px 0;min-height:24px}
.st-card-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf0f4;padding-top:9px;margin-top:auto;color:var(--st-muted);font-size:11px}
.st-count{color:var(--st-blue);font-size:19px;font-weight:500;line-height:24px}
.st-card-footer small{color:var(--st-muted);font-size:11px;font-weight:400;margin-left:4px}
.st-empty{grid-column:1/-1;margin:0;padding:36px 16px;text-align:center;color:#70839b;background:#fff;border:1px solid var(--st-line);border-radius:5px}
.st-footer{display:flex;justify-content:space-between;gap:8px;padding:12px 0 0;font-size:11px;color:var(--st-muted);flex-wrap:wrap}
.st-warning{margin:0 0 12px;padding:10px 12px;border:1px solid var(--st-line);border-radius:5px;background:#f9fbff;color:#52739d;font-size:12px}
@media(min-width:768px){
 .streaks-page{position:relative}
 .st-card{min-height:160px;padding-block:15px}
 .st-footer{position:absolute;top:100%;left:0;width:100%;padding-top:24px}
}
@media(max-width:1100px) and (min-width:768px){.st-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
  .streaks-view .sidebar{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0;padding:12px 16px}
  .streaks-view .sidebar .brand{margin:0}
  .streaks-view .streaks-navigation-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid var(--line);background:var(--surface);font-size:13px}
  .streaks-navigation-toggle svg{width:17px;height:17px}
  .streaks-view #nav{display:none}
  .streaks-view .streaks-nav-open #nav{display:grid;flex-basis:100%;margin-top:12px}
}
@media(max-width:767px){
 main.stats-main.streaks-main{padding:16px 12px}
 .streaks-main .page-heading{align-items:flex-start;gap:6px;flex-direction:column}
 .streaks-main .page-heading h1{font-size:22px}
 .st-toolbar{gap:12px}
 .st-card-grid{grid-template-columns:1fr}
 .st-card{padding:12px 14px}
 .st-card .st-track{gap:5px}
 body .streaks-page .st-card .st-value.result-trait-solid,.st-card .st-value{min-width:26px}
}
