/* Recorded statistics only, with a separate home-personalization panel. */
#statistics-design,#statistics-design * {box-sizing:border-box}
#statistics-design {font:14px/1.4 Arial,Helvetica,sans-serif;color:var(--ui-text,#123b2c)}
#statistics-design :is(h1,h2,p) {margin:0;padding:0;color:inherit;letter-spacing:normal}
#statistics-design :is(button,input,select,summary) {font-family:Arial,Helvetica,sans-serif}
#statistics-design .ui-icon {display:block;flex-shrink:0;width:24px;height:24px;stroke-width:1.5}
#statistics-design .st-heading {display:flex;align-items:center;gap:9px;margin:13px 0 20px;min-height:33px}
#statistics-design .st-heading h1 {font:700 29px/1.12 Georgia,serif;letter-spacing:-1px}
#statistics-design .st-heading>:is(a,button) {display:grid;place-items:center;width:28px;min-width:28px;min-height:36px;padding:0;border:0;background:none;color:var(--ui-text,#345631);text-decoration:none}
#statistics-design .st-heading .ui-icon {width:20px;height:20px}
#statistics-design .period-switch {display:grid;grid-template-columns:1fr 1fr;gap:0;padding:2px;margin:0;border:1px solid var(--ui-line,#c7cbbd);border-radius:8px;background:linear-gradient(var(--ui-surface,#f5f4ed),var(--ui-surface,#eeeee5))}
#statistics-design .period-switch button {min-height:37px;padding:8px 7px;border:0;border-radius:6px;background:none;color:var(--ui-text,#2a482f);font:14px/1.2 Arial,Helvetica,sans-serif}
#statistics-design .period-switch button[aria-pressed=true] {background:linear-gradient(var(--ui-primary-start,#106746),var(--ui-primary-end,#064b33));color:white;font-weight:700}
#statistics-design .st-calendar {text-align:center;text-transform:capitalize;margin:14px 0 16px;font:700 14px/1.3 Arial,Helvetica,sans-serif;color:var(--ui-text,#506e43)}
#statistics-design .st-metrics {display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:19px}
#statistics-design .st-metric {display:flex;align-items:center;gap:12px;min-width:0;min-height:83px;padding:14px 12px;border:1px solid var(--ui-line,#d1d5c5);border-radius:10px;background:linear-gradient(115deg,var(--ui-surface,#fefcf7),var(--ui-surface,#f7f4ed))}
#statistics-design .st-metric .ui-icon {width:27px;height:27px;color:var(--ui-text,#527545)}
#statistics-design .st-metric strong {display:block;font:700 27px/1 Georgia,serif;letter-spacing:-.7px;white-space:nowrap}
#statistics-design .st-metric span {display:block;font:12px/1.25 Arial,Helvetica,sans-serif;color:var(--ui-text,#546d49);margin-top:5px}
#statistics-design h2 {font:700 22px/1.15 Georgia,serif;letter-spacing:-.6px}
#statistics-design .st-regularity {padding:15px 14px;margin-bottom:20px;border:1px solid var(--ui-line,#d1d5c5);border-radius:10px;background:linear-gradient(115deg,var(--ui-surface,#f3f5e9),var(--ui-soft,#e9efdb))}
#statistics-design .st-regularity h2 {font-size:21px;margin-bottom:13px}
#statistics-design .st-regularity>div {display:grid;grid-template-columns:1fr 1fr;gap:12px}
#statistics-design .st-regularity span {font:11px/1.3 Arial,Helvetica,sans-serif;color:var(--ui-muted,#617b4f)}
#statistics-design .st-regularity span+span {border-left:1px solid var(--ui-line,#d0dabe);padding-left:16px}
#statistics-design .st-regularity strong {font:700 24px/1 Georgia,serif;margin-right:5px;color:var(--ui-text,#284b30)}
#statistics-design .st-genres {margin-bottom:19px}
#statistics-design .st-genres>p {font:11px/1.4 Arial,Helvetica,sans-serif;color:var(--ui-muted,#7d8c6c);margin-top:6px}
#statistics-design .st-genre {display:grid;grid-template-columns:minmax(70px,.9fr) 1.3fr 40px;align-items:center;gap:11px;margin-top:13px;font:12px/1.3 Arial,Helvetica,sans-serif;color:var(--ui-text,#355632)}
#statistics-design .st-genre>strong {font-weight:400;text-align:right;white-space:nowrap}
#statistics-design progress {display:block;appearance:none;width:100%;height:8px;min-width:0;margin:0;border:0;border-radius:8px;overflow:hidden;background:var(--ui-soft,#dce2cf)}
#statistics-design progress::-webkit-progress-bar {background:var(--ui-soft,#dce2cf);border-radius:8px}
#statistics-design progress::-webkit-progress-value {background:linear-gradient(90deg,var(--ui-soft,#7a9565),var(--ui-primary-end,#3c6d43));border-radius:8px}
#statistics-design progress::-moz-progress-bar {background:var(--ui-primary-start,#527b47);border-radius:8px}
#statistics-design .st-empty {padding:15px;border:1px solid var(--ui-line,#d5dcc8);border-radius:8px;background:var(--ui-surface,#f1f3e7);margin-top:12px!important}
#statistics-design .st-customize {display:flex;align-items:center;gap:10px;min-height:45px;width:100%;padding:10px 12px;margin:0 0 15px;border:1px solid var(--ui-line,#c6cfb7);border-radius:8px;background:var(--ui-surface,#f8f8ee);color:var(--ui-text,#3f6037);font:13px/1.3 Arial,Helvetica,sans-serif}
#statistics-design .st-customize span {flex:1;text-align:left}
#statistics-design .st-customize .ui-icon {width:21px;height:21px}
#statistics-design .st-customize .ui-icon:last-child {width:14px;height:14px}
#statistics-design .st-details {padding:0 12px;margin:11px 0 0;border:1px solid var(--ui-line,#d1d5c5);border-radius:9px;background:var(--ui-surface,#f8f8ee)}
#statistics-design .st-details>summary {min-height:42px;padding:12px 0;font:12px/1.3 Arial,Helvetica,sans-serif;color:var(--ui-text,#48643b);cursor:pointer}
#statistics-design .st-details>p {font:12px/1.5 Arial,Helvetica,sans-serif;color:var(--ui-muted,#6c805b);margin:5px 0 13px}
#statistics-design .st-completion {display:flex;flex-direction:column;gap:5px;padding:12px 0;border-top:1px solid var(--ui-line,#dfe5d2)}
#statistics-design .st-completion strong {font:700 17px/1.2 Georgia,serif}
#statistics-design .st-completion span {font:11px/1.3 Arial,Helvetica,sans-serif;color:var(--ui-muted,#738764)}
#statistics-design .st-library-summary {display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:6px 0 12px}
#statistics-design .st-library-summary .metric {min-height:90px;padding:11px;border:1px solid var(--ui-line,#d5dcc8);border-radius:8px;background:var(--ui-surface,#f1f3e7);box-shadow:none}
#statistics-design .st-library-summary .metric span {font:11px/1.3 Arial,Helvetica,sans-serif;color:var(--ui-muted,#6b8058)}
#statistics-design .st-library-summary .metric strong {font:700 23px/1.2 Georgia,serif;color:var(--ui-text,#305330);margin-top:8px}
#statistics-design .st-intro {font:14px/1.5 Arial,Helvetica,sans-serif;color:var(--ui-muted,#5e7352);margin:-7px 0 19px}
#statistics-design #home-stats-form {display:grid;gap:17px;padding:0;margin:0}
#statistics-design #home-stats-form>label {display:grid;gap:7px;font:13px Arial,Helvetica,sans-serif;color:var(--ui-muted,#5c7550)}
#statistics-design select {width:100%;min-height:43px;padding:10px 12px;border:1px solid var(--ui-line,#cbd2bf);border-radius:8px;background-color:var(--ui-surface,#fcfaf5);color:var(--ui-text,#2c4b30);font:14px Arial,Helvetica,sans-serif}
#statistics-design fieldset {display:grid;gap:0;padding:14px;border:1px solid var(--ui-line,#d1d5c5);border-radius:10px;background:var(--ui-surface,#f6f7eb)}
#statistics-design legend {padding:0 6px;font:700 20px/1.2 Georgia,serif;color:var(--ui-text,#2e502f)}
#statistics-design fieldset p {font:12px/1.5 Arial,Helvetica,sans-serif;color:var(--ui-muted,#7a8d67);margin-bottom:9px}
#statistics-design .st-checkbox {display:flex;align-items:center;gap:11px;min-height:48px;padding:12px 0;border-bottom:1px solid var(--ui-line,#dde4cf);font:13px/1.3 Arial,Helvetica,sans-serif;color:var(--ui-text,#415f36)}
#statistics-design .st-checkbox:last-child {border:0}
#statistics-design .st-checkbox input {width:18px;height:18px;min-height:18px;margin:0;accent-color:var(--ui-primary,#07573c)}
#statistics-design .st-checkbox:has(input:disabled) {color:var(--ui-muted,#929e82)}
#statistics-design .st-primary {display:block;width:100%;min-height:44px;padding:12px;border:0;border-radius:8px;background:linear-gradient(var(--ui-primary-start,#106746),var(--ui-primary-end,#064b33));color:white;font:700 13px/1.3 Arial,Helvetica,sans-serif}
@media(max-width:360px){#statistics-design .st-heading h1{font-size:26px}#statistics-design .st-metric{gap:9px;padding:12px 10px}#statistics-design .st-metric .ui-icon{width:23px;height:23px}#statistics-design .st-metric strong{font-size:25px}#statistics-design .st-metric span{font-size:11px}}
