[hidden]{display:none!important}.screen{display:none}.screen.active{display:block}button,input,select{font:inherit}button:disabled{opacity:.55;cursor:not-allowed}nav button{background:transparent;text-align:left;color:#d5deeb;padding:17px 13px}nav button.on{background:#1763ef}.ready{font-size:13px}.ready b{margin:0}.eyebrow{font-size:12px;color:#1763ef;font-weight:700;letter-spacing:2px}h1{margin-top:5px}header{gap:16px}header>div:last-child{white-space:nowrap}.model-line{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px;color:#43618b;font-size:14px}.model-line>span{border:1px solid #d9e4f3;border-radius:20px;padding:7px 13px;background:#eef4fd}.baseline{position:relative}.baseline label{display:grid;gap:8px;padding:14px;background:white;border:1px solid #dce5f1;border-radius:8px}.baseline select{padding:8px}.image-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.photo{height:220px}.photo img{cursor:zoom-in}.photo em{position:absolute}.upload-prompt{background:transparent;color:#52698d}.upload-prompt small{display:block;margin-top:12px;font-size:12px}.image-grid strong{font-size:17px}.image-grid p{font-size:12px;min-height:22px}.results{grid-template-columns:minmax(0,1.6fr) minmax(310px,1fr);align-items:start;gap:16px}.wear{padding:25px 28px}.wear-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.wear-heading h2{margin:0}.status-badge{font-size:12px;padding:7px 12px;background:#edf1f7;border-radius:20px;color:#536782}.status-badge.manual_review{background:#fff1d5;color:#835717}.status-badge.replace_or_stop{background:#ffe5e4;color:#a52d32}.status-badge.continue{background:#e0f4ee;color:#166953}.wearbody{justify-content:space-between;gap:30px;padding:22px 0 8px}.wear-number{color:#143c75;white-space:nowrap}.wear-number b{font-size:clamp(64px,6.5vw,108px);letter-spacing:-5px;line-height:1.2}.wear-number>span{font-size:34px;margin-left:9px;color:#7991b3}.wear-number small{display:block;color:#647b9b;font-size:13px;margin-top:8px}.metrics{max-width:200px;min-width:125px}.metrics p{font-size:12px;padding:8px 0}.metrics b{font-size:19px;margin-top:5px}.metric-note{font-size:12px;color:#6b7f9b;margin-bottom:0}.retrieved{padding:0}.retrieved summary{padding:20px;display:flex;justify-content:space-between;gap:12px;cursor:pointer;font-weight:700}.retrieved summary small{display:block;font-weight:400;color:#73839b;font-size:12px;margin-top:7px}.expand-hint{font-size:11px;color:#1763ef;white-space:nowrap}summary{cursor:pointer}#cases{display:grid;gap:0;max-height:430px;overflow-y:auto}.case-row{display:flex;align-items:center;gap:10px;padding:10px 16px;border-top:1px solid #ecf0f6;min-width:0}.case-image-button{padding:0;background:#edf1f7;flex-shrink:0}.case-image-button img{width:56px;height:56px;object-fit:cover;border-radius:5px;display:block;cursor:zoom-in}.case-row>div{min-width:0;flex:1}.case-row b{display:block;font-size:11px;overflow-wrap:anywhere}.case-row small{display:block;color:#6980a1;font-size:11px;margin-top:6px}.case-row>strong{font-size:17px;color:#173f7b;white-space:nowrap}.assessment-grid{grid-template-columns:1fr 1fr 1.5fr}#reasons{color:#4b6181;line-height:1.9;padding-left:22px}.assessment-grid b{font-size:17px}.assistant-answer{white-space:pre-wrap}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;background:white;margin-top:22px}th,td{padding:14px;border-bottom:1px solid #e5ebf4;text-align:left;font-size:13px}.db{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px;margin-top:24px}.db b{font-size:13px;overflow-wrap:anywhere}.db small{display:block;margin:10px 0;color:#597193}.delete-case{background:#edf2fa;color:#46648e;font-size:12px;padding:7px 10px}.form{display:grid;gap:16px;background:white;border:1px solid #dce5f1;border-radius:10px;padding:24px;max-width:560px;margin:22px 0}.form label{display:grid;gap:8px;color:#405877;font-size:14px}.form input,.form select{padding:10px;border:1px solid #ced9e7;border-radius:6px;min-width:0}.maintenance{margin-top:26px}.maintenance p{color:#667b99;font-size:14px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.muted{color:#71849e;font-size:13px}.flow{background:#eaf2fd;border-radius:10px;padding:24px;margin:24px 0;color:#315b95;line-height:1.8}#pageError{color:#9c5625}#help p{line-height:1.9}#progress{overflow-wrap:anywhere}
@media(max-width:1100px){aside{width:200px;padding:22px 14px}.ready{width:172px}.brand{font-size:18px}main{margin-left:200px;padding:20px}.photo{height:180px}.results{grid-template-columns:1fr}.wear-number b{font-size:96px}.metrics{max-width:270px}.assessment-grid{grid-template-columns:1fr 1fr}.image-grid{gap:10px}.image-grid article{padding:12px}.image-grid h2{font-size:14px}}
@media(max-width:850px){aside{position:static;width:auto}.ready{display:none}nav{display:flex;overflow:auto;gap:5px}nav button{white-space:nowrap;padding:10px}main{margin-left:0;padding:16px}.image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo{height:160px}header{flex-wrap:wrap}.wearbody{flex-direction:row}.wear-number b{font-size:84px}.image-grid p{overflow-wrap:anywhere}.model-line{flex-wrap:wrap}}
@media(max-width:560px){.image-grid{grid-template-columns:1fr}.photo{height:230px}.wear{padding:20px}.wear-number b{font-size:76px}.wearbody{gap:15px}.metrics{min-width:115px}.assessment-grid{grid-template-columns:1fr}.model-line{align-items:flex-start}.wear-heading{align-items:flex-start}.image-grid p{font-size:13px}.actions{align-items:flex-start}.assistant-form input{min-width:0}}

/* Give both previews a 4:3 frame while containing photos of any aspect ratio. */
.image-grid .photo{height:auto;aspect-ratio:4/3}
.image-grid .photo img{width:100%;height:100%;object-fit:contain;object-position:center}

/* Main metrics share one full-width card; cases appear below it. */
.results{grid-template-columns:minmax(0,1fr)}
.wearbody{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(280px,.85fr);align-items:center;gap:36px}
.similarity-number{padding-left:32px;border-left:1px solid #e4eaf3;color:#143c75;min-width:0}
.similarity-number h2{color:#52698d;font-size:17px;margin:0 0 12px}
.similarity-number>b{display:block;font-size:clamp(48px,5vw,78px);line-height:1.2;letter-spacing:-2px}
.similarity-number small{display:block;font-size:13px;color:#647b9b;margin-top:10px}
.wearbody .metrics{max-width:none;min-width:0}.metrics h2{font-size:16px;margin-bottom:10px}
@media(max-width:850px){.wearbody{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.wearbody .metrics{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:24px;border-top:1px solid #e4eaf3;padding-top:14px}.metrics h2{margin:0}.metrics p{border:0}.similarity-number{padding-left:20px}.similarity-number>b{font-size:58px}}
@media(max-width:560px){.wearbody{gap:16px}.wear-number b{font-size:60px;letter-spacing:-3px}.wear-number>span{font-size:24px;margin-left:4px}.similarity-number{padding-left:16px}.similarity-number>b{font-size:42px}.similarity-number h2{font-size:15px}.similarity-number small,.wear-number small{font-size:11px}.wearbody .metrics{gap:16px}.metrics h2{width:100%}}

.wearbody .metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;row-gap:8px;align-items:start}
.wearbody .metrics h2{grid-column:1/-1;margin:0}
.wearbody .metrics p{min-width:0;margin:0;border-bottom:0}
.wearbody .metrics b{font-size:18px}
@media(max-width:1100px){.wearbody{grid-template-columns:repeat(2,minmax(0,1fr))}.wearbody .metrics{grid-column:1/-1;border-top:1px solid #e4eaf3;padding-top:14px}}

.wear>.retrieved{margin-top:22px;border-top:1px solid #e4eaf3;padding-top:4px}
.wear>.retrieved summary{padding:18px 0}
.wear>.retrieved .case-row{padding-left:0;padding-right:0}

.wear-gauge{position:relative;width:min(100%,240px);aspect-ratio:1;container-type:inline-size;justify-self:center}
.wear-gauge svg{display:block;width:100%;height:100%;overflow:visible}
.gauge-track,.gauge-arc{fill:none;stroke-width:13}
.gauge-track{stroke:#dce4f0}.gauge-arc{stroke:url(#wearGradient);transition:stroke-dasharray .4s ease}
.gauge-copy{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:2cqw;color:#103d60}
.gauge-copy>b{font-size:22cqw;line-height:1;letter-spacing:-1cqw;font-weight:700}
.gauge-copy>span{display:flex;flex-direction:column;align-items:flex-start;gap:1cqw}
.gauge-copy em{font-style:normal;font-size:11cqw;line-height:1;color:#53798d}
.gauge-copy small{font-size:5.6cqw;font-weight:700;white-space:nowrap}
@media(prefers-reduced-motion:reduce){.gauge-arc{transition:none}}

.analysis-conclusion{margin-top:16px}.conclusion-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.conclusion-heading h2{margin:0}.conclusion-heading>span{font-size:12px;color:#78659e;background:#f4f0ff;border-radius:14px;padding:4px 10px}.analysis-conclusion>p{margin:0;padding:20px 30px;background:#f4f0ff;border:1px solid #d6c7ff;border-radius:6px;line-height:1.9;color:#34476d;overflow-wrap:anywhere}@media(max-width:560px){.analysis-conclusion>p{padding:16px}}

.knowledge-actions,.knowledge-pages{display:flex;align-items:center;gap:12px;margin-top:16px}.knowledge-actions button,.knowledge-pages button{padding:9px 13px}.knowledge-pages{justify-content:flex-end}.knowledge-select,#selectAllKnowledge{width:18px;height:18px;cursor:pointer}#knowledgeRows td{overflow-wrap:anywhere}#knowledgeRows td:nth-child(2){min-width:180px}#knowledgeStatus{min-height:20px}

/* Analysis workspace: source at left, detected tool and wear estimate stacked at right. */
.analysis-workspace{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,.82fr);grid-template-rows:minmax(250px,1fr) minmax(250px,.88fr);gap:14px;align-items:stretch}
.analysis-workspace>article{min-width:0;padding:16px 18px}
.source-panel{grid-row:1/3;display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:514px}
.detection-panel,.wear-summary{display:flex;flex-direction:column;min-height:0}
.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.panel-heading h2,.wear-heading h2{margin:0}
.panel-hint{color:#7789a2;font-size:12px}
.camera-status{display:inline-flex;align-items:center;gap:7px;border-radius:20px;padding:6px 10px;background:#f0f2f6;color:#687991;font-size:12px;white-space:nowrap}
.camera-status::before{content:"";width:7px;height:7px;border-radius:50%;background:#9aa7b8}
.camera-status.connected{background:#e4f5ed;color:#176b4b}
.camera-status.connected::before{background:#21a36a;box-shadow:0 0 0 3px #21a36a22}
.source-photo,.detection-photo{height:auto;min-height:0;flex:1;aspect-ratio:auto}
.source-photo{min-height:340px;background:#eef1f6}
.source-photo>img,.source-photo>video,.detection-photo>img{width:100%;height:100%;object-fit:contain;object-position:center}
.source-photo>video{display:block}
.source-photo>video[hidden]{display:none}
.source-photo .upload-prompt{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;width:min(100%,440px);height:100%;padding:20px;color:#5c7394}
.upload-symbol{display:grid;place-items:center;width:44px;height:44px;border:1px solid #cfdaea;border-radius:50%;font-size:26px;line-height:1;color:#446a9c}
.source-photo .upload-prompt small{margin-top:3px}
.panel-caption{min-height:18px;margin:9px 0 0;color:#71839c;font-size:12px;overflow-wrap:anywhere}
.detection-photo{min-height:150px;background:#eef1f6}
.detection-photo em{text-align:center;color:#8290a8;font-style:normal;line-height:1.7}
.detection-photo em small{font-size:12px}
.wear-summary{align-items:stretch}
.wear-summary .wear-heading{margin-bottom:4px}
.wear-summary .wear-gauge{width:min(56%,200px);max-width:100%;flex:1;min-height:125px}
.wear-placeholder{margin:4px 0 0;text-align:center;color:#7889a2;font-size:12px}
.wear-placeholder[hidden]{display:none}
.results{grid-template-columns:minmax(0,1fr);margin-top:16px}
.wear-details .wearbody{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:24px;padding:12px 0}
.wear-details .metrics{max-width:none}
@media(max-width:900px){.analysis-workspace{grid-template-columns:minmax(0,1.25fr) minmax(250px,.9fr);grid-template-rows:minmax(230px,1fr) minmax(235px,.85fr)}.source-panel{min-height:480px}.source-photo{min-height:300px}}
@media(max-width:700px){.analysis-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:auto}.source-panel{grid-row:auto;min-height:390px}.source-photo{min-height:280px}.detection-panel{min-height:260px}.detection-photo{min-height:200px}.wear-summary{min-height:280px}.wear-summary .wear-gauge{width:min(58%,220px);min-height:190px}.wear-details .wearbody{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}}
@media(max-width:480px){.analysis-workspace>article{padding:14px}.source-panel{min-height:340px}.source-photo{min-height:230px}.wear-heading{align-items:flex-start;flex-wrap:wrap}.wear-summary .wear-gauge{width:min(72%,210px)}.wear-details .wearbody{grid-template-columns:1fr}.similarity-number{padding:0;border:0}.wear-details .metrics{padding-top:8px;border-top:1px solid #e4eaf3}}

/* Preserve the compact pre-analysis layout; let result images size their own panels. */
.analysis-workspace{min-height:clamp(430px,calc(100vh - 430px),660px);grid-template-rows:minmax(190px,.9fr) minmax(210px,1fr)}
.source-panel{min-height:0}
.source-photo{min-height:0}
.analysis-workspace{gap:10px}
.analysis-workspace>article{padding:10px 14px}
.panel-heading{margin-bottom:6px}
.detection-photo{min-height:70px}
.detection-photo>img{object-fit:contain;object-position:center}
.wear-summary .wear-gauge{width:min(74%,280px);height:auto;max-height:clamp(120px,calc(100vh - 570px),240px);flex:0 1 auto;min-height:0}
@media(max-width:900px){.analysis-workspace{min-height:clamp(430px,calc(100vh - 430px),660px)}.source-panel{min-height:0}.wear-summary .wear-gauge{width:min(74%,260px)}}
@media(max-width:700px){.analysis-workspace{min-height:0;grid-template-rows:auto}.analysis-workspace>article{height:auto}.source-panel{min-height:390px}.wear-summary .wear-gauge{width:min(78vw,300px);max-height:none;min-height:220px}}
@media(max-width:480px){.source-panel{min-height:340px}.wear-summary .wear-gauge{width:min(82vw,280px)}}

/* After analysis, keep complete source and tool images at their natural aspect ratios. */
.analysis-workspace.has-result{height:auto;min-height:0;grid-template-rows:auto auto}
.analysis-workspace.has-result .source-panel{height:auto;min-height:0;grid-template-rows:auto auto auto}
.analysis-workspace.has-result .source-photo{height:auto;min-height:0;flex:none;aspect-ratio:auto;overflow:visible}
.analysis-workspace.has-result .source-photo>img{display:block;width:100%;height:auto;object-fit:contain}
.analysis-workspace.has-result .detection-photo{height:auto;min-height:0;flex:none;aspect-ratio:auto;overflow:visible}
.analysis-workspace.has-result .detection-photo>img{display:block;width:100%;height:auto;object-fit:contain}
.analysis-workspace.has-result .detection-panel,.analysis-workspace.has-result .wear-summary{height:auto;min-height:0;align-self:start}
@media(max-width:700px){.analysis-workspace.has-result{grid-template-rows:auto}.analysis-workspace.has-result .source-panel{grid-row:auto}.analysis-workspace.has-result .source-photo{min-height:0}.analysis-workspace.has-result .detection-photo{min-height:0}}

/* Enclose retrieval metrics and make their hierarchy easy to scan. */
.wear-details .metrics{border:1px solid #d8e1ef;border-radius:12px;background:#f8faff;padding:18px 20px;box-shadow:0 2px 8px #1b35520d}
.wear-details .metrics h2{font-size:25px;line-height:1.35;margin:0 0 14px}
.wear-details .metrics p{font-size:21px;line-height:1.5;margin:8px 0}
.wear-details .metrics b{font-size:clamp(30px,2.8vw,38px);line-height:1.2;margin-top:6px}
@media(max-width:560px){.wear-details .metrics{padding:15px 16px}.wear-details .metrics h2{font-size:22px}.wear-details .metrics p{font-size:18px}.wear-details .metrics b{font-size:30px}}

.stage-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px;margin:12px 0 18px}
.stage-actions>button,.record-step>button{width:100%;height:48px;min-height:48px}
.record-step{min-width:0}
.recording-panel{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:48px;min-height:48px;padding:5px 10px;border-radius:7px;background:#d92d35;color:#fff;font-size:14px;font-weight:700;box-sizing:border-box;overflow:hidden}
.recording-panel[hidden]{display:none}
.recording-status{display:flex;align-items:center;gap:6px;white-space:nowrap}
.recording-status i{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#fff;animation:record-pulse 1.2s ease-in-out infinite}
.recording-panel time{font-variant-numeric:tabular-nums;white-space:nowrap}
.stop-recording{flex:0 0 32px;width:32px;height:30px;min-height:30px;padding:0;background:#b4232c;color:#fff;line-height:1}
.stage-actions #predictWear:disabled,.stage-actions #startRecording:disabled,.stage-actions #keypointAnalyze:disabled{background:#bdc8d9;cursor:not-allowed}
.stage-actions #progress{grid-column:1/-1;min-height:20px}
@keyframes record-pulse{50%{opacity:.45}}
.analysis-workspace.has-keypoint:not(.has-result){min-height:clamp(620px,calc(100vh - 200px),860px);grid-template-rows:minmax(400px,1.2fr) minmax(200px,.8fr)}
.analysis-workspace.has-keypoint:not(.has-result) .detection-photo{min-height:0}
.analysis-workspace.has-keypoint:not(.has-result) .detection-photo>img{object-fit:contain}
@media(max-width:700px){.stage-actions{grid-template-columns:1fr;gap:10px}.stage-actions #progress{grid-column:auto}.analysis-workspace.has-keypoint:not(.has-result){grid-template-rows:auto}.analysis-workspace.has-keypoint:not(.has-result) .source-panel{min-height:390px}}

/* Make the Top-5 disclosure row read and behave like a clear expand control. */
.wear-details .retrieved summary{margin-top:8px;padding:17px 20px;border:2px solid #a9c2f4;border-radius:11px;background:linear-gradient(100deg,#f1f6ff,#fff);box-shadow:0 2px 8px #17396812;align-items:center;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}
.wear-details .retrieved summary:hover{border-color:#1763ef;background:#edf4ff;box-shadow:0 4px 14px #1763ef20}
.wear-details .retrieved summary:focus-visible{outline:3px solid #1763ef;outline-offset:3px}
.wear-details .retrieved summary::-webkit-details-marker{display:none}
.topk-title{font-size:19px;color:#13233f}
.topk-title small{font-size:14px}
.expand-hint{display:inline-flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid #1763ef;border-radius:8px;background:#1763ef;color:#fff;font-size:14px;font-weight:700;box-shadow:0 2px 5px #1763ef30}
.expand-open{display:none}
#topKDetails[open] .expand-collapsed{display:none}
#topKDetails[open] .expand-open{display:inline}
.expand-hint i{width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .15s ease}
#topKDetails[open] .expand-hint i{transform:rotate(225deg) translateY(-2px)}
@media(max-width:560px){.wear-details .retrieved summary{padding:14px 12px;gap:10px}.topk-title{font-size:17px}.topk-title small{font-size:12px}.expand-hint{padding:9px 10px;font-size:12px}}

/* Operational analytics dashboard. */
.powerbi-header{align-items:center;margin-bottom:22px}
.powerbi-header h1{margin-top:7px}
.powerbi-header p{margin-top:7px;color:#647995}
.powerbi-header>button{background:#fff;color:#2455a2;border:1px solid #c9d7ed}
.powerbi-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 18px}
.powerbi-kpis article{display:grid;gap:7px;padding:18px 20px;border-left:4px solid #0876d1}
.powerbi-kpis article:nth-child(2){border-left-color:#27a99a}
.powerbi-kpis article:nth-child(3){border-left-color:#f29a4a}
.powerbi-kpis article span{font-size:14px;color:#58709b}
.powerbi-kpis article b{font-size:30px;color:#18395f;line-height:1.15}
.powerbi-kpis article small{font-size:12px;color:#8090a6}
.powerbi-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.powerbi-chart-card{padding:0;overflow:hidden}
.powerbi-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;background:#0876d1;color:#fff}
.powerbi-chart-card:nth-child(2) .powerbi-chart-heading{background:#f29a4a}
.powerbi-chart-heading>div{display:flex;align-items:center;gap:11px;min-width:0}
.powerbi-chart-heading h2{margin:0;color:#fff;font-size:18px}
.chart-index{font-size:12px;font-weight:700;opacity:.85;white-space:nowrap}
.chart-tag{padding:5px 9px;border-radius:20px;background:#ffffff2a;color:#fff;font-size:11px;white-space:nowrap}
.powerbi-chart-card>p{min-height:40px;margin:0;padding:12px 18px 0;color:#70819a;font-size:13px;line-height:1.5}
.chart-scroll{overflow-x:auto;padding:3px 12px 12px}
.powerbi-chart svg{display:block;width:100%;min-width:490px;height:auto;overflow:visible}
.chart-gridline{stroke:#e8edf4;stroke-width:1}
.chart-axis-label,.chart-weekday-label{fill:#6c7f99;font-size:12px;font-family:inherit}
.chart-weekday-label{font-size:11px;fill:#98a5b7}
.chart-value-label{fill:#304c70;font-size:12px;font-weight:700;font-family:inherit}
.powerbi-footnote{margin:14px 2px;color:#7a8aa0;font-size:12px;line-height:1.6}
@media(max-width:1000px){.powerbi-charts{grid-template-columns:1fr}.powerbi-chart svg{min-width:0}}
@media(max-width:560px){.powerbi-kpis{grid-template-columns:1fr;gap:10px}.powerbi-kpis article{padding:14px 16px}.powerbi-kpis article b{font-size:26px}.powerbi-header{align-items:flex-start;flex-direction:column}.powerbi-chart-heading h2{font-size:16px}.powerbi-chart svg{min-width:460px}}
.reset-records{margin-top:24px;border:1px solid #f0caca;background:#fffdfd}
.reset-records h2{color:#7f2630}
.reset-records p{max-width:900px;color:#6d5960;line-height:1.7}
.reset-records .reset-preserve{color:#42654f;font-size:13px}
.danger-button{background:#b4232c}
.danger-button:hover{background:#941c24}
.danger-button:disabled{opacity:.6;cursor:wait}
.case-interval-summary{display:grid;grid-template-columns:1.1fr repeat(4,minmax(0,1fr));gap:12px;margin:20px 0;padding:15px;border:1px solid #dce5f1;border-radius:10px;background:#f7f9fd}
.case-interval-total,.case-interval-count{display:flex;align-items:center;justify-content:center;gap:8px;min-height:66px;padding:10px 12px;border:1px solid #dce5f1;border-radius:8px;background:#fff}
.case-interval-total{flex-direction:column;gap:2px;color:#52698d;font-size:13px;font-weight:700}
.case-interval-total b{font-size:28px;color:#163b70}
.case-interval-count{justify-content:space-between;color:#52698d}
.case-interval-count span{font-size:13px;font-weight:700}
.case-interval-count b{font-size:25px;color:#163b70}
.case-interval-count small{font-size:11px;color:#8290a8}
.case-interval-count.interval-0{border-top:3px solid #20a879}
.case-interval-count.interval-1{border-top:3px solid #2c83d5}
.case-interval-count.interval-2{border-top:3px solid #ec9c37}
.case-interval-count.interval-3{border-top:3px solid #d94852}
@media(max-width:800px){.case-interval-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.case-interval-total{grid-column:1/-1;flex-direction:row;justify-content:space-between;padding:10px 16px}}
