/* Inherits the inventory-matched admin visual system. */
.admin-mode #learning-filter{display:flex;align-items:end;gap:16px;flex-wrap:wrap}
.admin-mode #learning-filter>label{min-width:180px}
.admin-mode #learning-filter fieldset{margin:0;padding:0;border:0;min-width:0}
.admin-mode #learning-filter legend{font-size:13px;color:var(--muted);padding:0;margin-bottom:7px}
.admin-mode .learning-ranges{display:flex;flex-wrap:wrap;gap:6px}
.admin-mode .learning-ranges button{box-shadow:none;font-size:13px;padding:9px 12px}
.admin-mode .learning-ranges button[aria-pressed=true]{background:var(--soft);border-color:var(--teal);color:#066858}
.admin-mode #learning-custom:not([hidden]){display:flex;gap:12px;flex-wrap:wrap}
.admin-mode #learning-custom label{width:165px}
.admin-mode #learning-status{margin:14px 0 0;color:var(--muted);font-size:13px;min-height:22px}
.admin-mode .learning-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:24px 0 28px;border-bottom:1px solid var(--line);padding-bottom:24px;gap:20px}
.admin-mode .learning-metrics section+section{border-left:1px solid var(--line);padding-left:20px}
.admin-mode .learning-metrics p{margin:0 0 6px;color:var(--muted);font-size:13px}
.admin-mode .learning-metrics strong{display:block;font-size:30px;line-height:1.4}
.admin-mode .learning-metrics small{font-size:12px;font-weight:500;color:var(--muted);margin-left:7px}
.admin-mode .learning-metrics span{display:block;font-size:12px;color:var(--muted);margin-top:6px}
.admin-mode .learning-empty{background:var(--soft);padding:14px 18px;border-radius:8px;color:#066858}
.admin-mode .learning-chart{display:block;width:100%;height:auto;min-height:150px;margin-top:12px}
.admin-mode .learning-chart text{font-size:12px;fill:var(--muted)}
.admin-mode .learning-grid{stroke:var(--line);stroke-width:1}
.admin-mode .learning-line{fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.admin-mode .learning-chart .started{stroke:var(--teal)}
.admin-mode .learning-chart .submitted{stroke:#b13587;stroke-dasharray:5 4}
.admin-mode .learning-chart circle.started{fill:var(--teal)}
.admin-mode .learning-chart circle.submitted{fill:#b13587;stroke-dasharray:none}
.admin-mode .learning-legend{display:flex;gap:24px;flex-wrap:wrap;font-size:13px;color:var(--muted)}
.admin-mode .learning-legend span:before{content:'';display:inline-block;width:22px;border-top:3px solid var(--teal);vertical-align:middle;margin-right:7px}
.admin-mode .learning-legend .learning-submit:before{border-color:#b13587;border-top-style:dashed}
.admin-mode .learning-trend-data{font-size:13px;margin-top:8px}
.admin-mode .learning-trend-data .table-wrap{max-height:320px;overflow:auto}
.admin-mode .learning-detail>summary{font-size:16px;font-weight:750;cursor:pointer}
.admin-mode .learning-detail>summary>span{font-size:13px;font-weight:400;color:var(--muted);margin-left:16px}
.admin-mode .learning-detail[open]>summary{margin-bottom:22px}
.admin-mode .learning-definitions{font-size:13px;color:var(--muted);margin:12px 0}
.admin-mode .learning-definitions ul{max-width:85ch;padding-left:20px;line-height:1.9}
.admin-mode #learning-papers td:first-child strong{font-size:14px;font-weight:650;display:block}
.admin-mode #learning-papers td:first-child small{color:var(--muted);font-size:12px;display:block;margin-top:3px}
.admin-mode #learning-papers th:not(:first-child),.admin-mode #learning-papers td:not(:first-child){text-align:right;white-space:nowrap}
.admin-mode .learning-conversion{display:flex;gap:24px;flex-wrap:wrap}
.admin-mode .learning-conversion>div{min-width:110px;display:grid;gap:8px}
.admin-mode .learning-conversion span{font-size:13px;color:var(--muted)}
.admin-mode .learning-conversion strong{font-size:22px}
.admin-mode .learning-option-counts{white-space:normal;min-width:150px;font-size:12px;color:var(--muted)}
@media(max-width:1000px){.admin-mode .learning-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-mode .learning-metrics section:nth-child(3){border-left:0;padding-left:0}}
@media(max-width:600px){.admin-mode #learning-filter>label{width:100%}.admin-mode .learning-detail>summary>span{display:block;margin:6px 0 0}.admin-mode .learning-metrics strong{font-size:26px}.admin-mode .learning-metrics{gap:18px 12px}.admin-mode .learning-metrics section+section{padding-left:12px}.admin-mode .learning-metrics section:nth-child(3){padding-left:0}.admin-mode #learning-results .section-title{align-items:start;flex-direction:column;gap:6px}.admin-mode .learning-chart{min-height:0}}

.admin-mode .learning-paper-cards{display:none}
@media(max-width:600px){
 .admin-mode .learning-paper-table{display:none}
 .admin-mode .learning-paper-cards{display:block}
 .admin-mode .learning-paper-cards article{border-bottom:1px solid var(--line);padding:18px 0}
 .admin-mode .learning-paper-cards article:last-child{border-bottom:0}
 .admin-mode .learning-paper-cards h3{font-size:14px;margin:0}
 .admin-mode .learning-paper-cards p{font-size:12px;color:var(--muted);margin:5px 0 16px}
 .admin-mode .learning-paper-cards dl{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0}
 .admin-mode .learning-paper-cards dl>div{display:flex;justify-content:space-between;gap:10px}
 .admin-mode .learning-paper-cards dt{font-size:12px;color:var(--muted)}
 .admin-mode .learning-paper-cards dd{font-size:14px;font-weight:700;margin:0}
}

/* Product and dates join the page title instead of occupying a separate panel. */
.admin-mode .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.admin-mode .learning-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:8px}
.admin-mode .learning-heading h1{margin:0;flex:none}
.admin-mode #learning-filter{gap:8px;align-items:center;margin:0 0 0 auto}
.admin-mode #learning-filter>label{min-width:0;width:160px;margin:0}
.admin-mode #learning-filter>label>select{margin:0}
.admin-mode .learning-ranges{gap:4px}
.admin-mode .learning-ranges button{padding:8px 10px;min-height:36px}
.admin-mode #learning-filter input,.admin-mode #learning-filter select,.admin-mode #learning-apply{min-height:36px}
.admin-mode #learning-status{margin:0 0 16px;text-align:right;min-height:18px;font-size:12px}
.admin-mode .learning-metrics{margin-top:18px}
@media(max-width:1100px){.admin-mode #learning-filter{flex:1 1 100%;margin-left:0}.admin-mode #learning-status{text-align:left}}
@media(max-width:600px){.admin-mode #learning-filter>label{width:100%}.admin-mode .learning-heading{gap:12px}.admin-mode .learning-ranges{gap:4px}.admin-mode #learning-filter>fieldset{flex:1 1 100%}.admin-mode #learning-custom label{width:140px}}
/* App-wide users are deliberately independent of practice/product filters. */
.cumulative-users{border-top:3px solid var(--teal);margin:20px 0 32px;padding:24px}
.users-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}
.users-heading h2{margin:0 0 8px}.users-heading .data-note{margin:0}
#users-filter{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
#users-filter label{display:flex;flex-direction:column;gap:6px;font-size:13px}
#users-filter label[hidden]{display:none}
#users-filter input,#users-filter select{min-height:40px;max-width:100%}
#users-result{min-height:110px;padding:18px 0 4px}
.users-total{font-size:44px;line-height:1.15;color:var(--teal);font-variant-numeric:tabular-nums}
.users-total small{font-size:15px;margin-left:10px;font-weight:400;color:var(--muted)}
#users-result p{font-size:13px;color:var(--muted);margin:10px 0}
#users-result button{margin-left:12px}
@media(max-width:800px){.users-heading{flex-direction:column}.cumulative-users{padding:18px}#users-filter{width:100%}.users-total{font-size:38px}}
/* Compact, interactive trend chart; all geometry stays in actual CSS pixels. */
.admin-mode .trend-v2{margin-top:18px}
.admin-mode .trend-plot{position:relative;width:100%;min-width:0}
.admin-mode .trend-svg{display:block;width:100%;height:auto;overflow:visible;touch-action:pan-y;border-radius:4px}
.admin-mode .trend-svg:focus-visible{outline:2px solid var(--teal);outline-offset:4px}
.admin-mode .trend-svg text{font:12px system-ui,sans-serif;fill:#85909d}
.admin-mode .trend-grid{stroke:#e6ebee;stroke-dasharray:3 5;stroke-width:1}
.admin-mode .trend-stroke{fill:none;stroke-width:2;stroke-linecap:round}
.admin-mode .trend-stroke.started{stroke:#008578}.admin-mode .trend-stroke.submitted{stroke:#ec3c9c}
.admin-mode .trend-dot{stroke:white;stroke-width:2}.admin-mode .trend-dot.started{fill:#008578}.admin-mode .trend-dot.submitted{fill:#ec3c9c}
.admin-mode .trend-guide{stroke:#a6b2b9;stroke-width:1;stroke-dasharray:3 4}
.admin-mode .trend-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:18px}
.admin-mode .trend-controls button{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:6px 10px;border:0;box-shadow:none;background:transparent;color:#657183;font-size:13px;font-weight:400}
.admin-mode .trend-controls button:hover{background:#f3f7f7}.admin-mode .trend-controls button[aria-pressed=false]{opacity:.45;text-decoration:line-through}
.admin-mode .trend-controls i,.admin-mode .trend-tooltip i{display:inline-block;width:9px;height:9px;border-radius:50%;flex-shrink:0}
.admin-mode .trend-controls i.started,.admin-mode .trend-tooltip i.started{background:#008578}
.admin-mode .trend-controls i.submitted,.admin-mode .trend-tooltip i.submitted{background:#ec3c9c}
.admin-mode .trend-tooltip{position:absolute;pointer-events:none;min-width:185px;max-width:100%;padding:14px 16px;border:1px solid #e5eaea;border-radius:8px;background:rgba(255,255,255,.97);box-shadow:0 6px 24px #193d3314;font-size:12px;z-index:2;box-sizing:border-box}
.admin-mode .trend-tooltip[hidden]{display:none}.admin-mode .trend-tooltip strong{display:block;font-size:12px;font-weight:600;margin-bottom:12px;color:#4c5867}
.admin-mode .trend-tooltip span{display:flex;align-items:center;gap:8px;margin-top:8px;color:#697687}.admin-mode .trend-tooltip b{margin-left:auto;padding-left:18px;color:#253645;font-weight:600;font-variant-numeric:tabular-nums}
.admin-mode .trend-period-note{margin:5px 0 14px;text-align:center;font-size:12px;color:#87929d;min-height:18px}
.admin-mode .trend-v2+.learning-trend-data{border-top:1px solid #edf0f1;padding-top:16px;color:#6a7684;font-weight:400}
@media(max-width:600px){.admin-mode .trend-controls{gap:0}.admin-mode .trend-controls button{font-size:12px;padding:6px 8px}.admin-mode .trend-tooltip{padding:10px 12px;min-width:170px}}
