:root{--primary: #40a9ff;--bg: #f8fafc;--text: #334155;--title: #1e293b;--muted: #64748b;--line: #e2e8f0;--card-shadow: 0 4px 20px rgba(0, 0, 0, .08)}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.6}a{color:inherit;text-decoration:none}#root{min-height:100vh}button,input,textarea,select{font:inherit}.muted{color:var(--muted)}.error{color:#dc2626;margin-top:.5rem}.container{margin:0 auto;padding:0 20px;max-width:1200px}.app-shell{min-height:100vh;background:var(--bg);display:flex;flex-direction:column}.main-content{flex:1;padding:2rem 0 6rem}.icp-footer{text-align:center;padding:12px 0 18px;font-size:12px;color:#64748b}.beian-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;column-gap:20px;row-gap:4px}.beian-links a{display:inline-flex;align-items:center;gap:6px;color:inherit;line-height:1.5;white-space:nowrap}.beian-links a:hover{color:var(--primary);text-decoration:underline}.beian-links a:focus-visible{border-radius:3px;outline:2px solid var(--primary);outline-offset:2px}.beian-police-icon{width:16px;height:16px;flex:0 0 auto;object-fit:contain}.bottom-nav .beian-police-icon{width:14px;height:14px}.header-nav{background:var(--primary);color:#fff;padding:.9rem 0;box-shadow:0 2px 10px #0000001a;position:sticky;top:0;z-index:100}.header-nav-inner{display:flex;align-items:center;justify-content:space-between}.brand-title{font-size:1.15rem;font-weight:700}.user-menu{position:relative;min-width:0}.user-chip{display:inline-flex;align-items:center;gap:.5rem;border:0;border-radius:24px;padding:.45rem .9rem;background:#ffffff29;color:#fff;cursor:pointer}.user-chip:hover,.user-chip[aria-expanded=true]{background:#ffffff3d}.user-name{min-width:0}.user-menu-caret{font-size:.85rem;line-height:1;transition:transform .18s ease}.user-menu-caret.open{transform:rotate(180deg)}.user-menu-dropdown{position:absolute;top:calc(100% + .5rem);right:0;z-index:120;display:grid;width:138px;overflow:hidden;border:1px solid #dbe4f0;border-radius:10px;background:#fff;box-shadow:0 10px 28px #0f172a2e}.user-menu-dropdown button{width:100%;border:0;padding:.65rem .85rem;background:#fff;color:#243b64;cursor:pointer;font-size:.88rem;text-align:left}.user-menu-dropdown button+button{border-top:1px solid #eef2f7}.user-menu-dropdown button:hover,.user-menu-dropdown button:focus-visible{background:#f0f7ff;outline:none}.user-menu-dropdown .user-menu-logout{color:#dc2626}.user-avatar{width:28px;height:28px;border-radius:50%;background:#ffffff4d;display:inline-flex;align-items:center;justify-content:center;font-size:.8rem}.top-nav{margin-top:1rem;display:flex;gap:.6rem;flex-wrap:wrap}.top-nav a{color:#0f172a;background:#fff;border:1px solid var(--line);border-radius:999px;padding:.42rem .9rem;font-size:.9rem}.top-nav a.active{background:var(--primary);color:#fff;border-color:transparent}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);box-shadow:0 -2px 10px #00000014;z-index:90;padding:.4rem 0 .25rem}.bottom-nav .nav-items{display:flex;justify-content:space-around}.bottom-nav .nav-items a{text-align:center;font-size:.75rem;color:var(--muted);padding:.4rem .6rem;border-radius:10px}.bottom-nav .nav-items a.active{color:var(--primary);background:#40a9ff1a}.bottom-nav .icp-mini{text-align:center;font-size:10px;color:#94a3b8;margin-top:2px}.btn{display:inline-flex;align-items:center;gap:.45rem;border-radius:8px;padding:.75rem 1.2rem;border:none;cursor:pointer;transition:all .25s ease}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 20px #40a9ff4d}.btn-outline{background:transparent;color:var(--primary);border:1px solid var(--primary)}.btn-outline:hover{background:var(--primary);color:#fff}.btn-secondary{background:#f8fafc;color:var(--muted);border:1px solid var(--line)}.btn:disabled{opacity:.6;cursor:not-allowed}.panel,.card-link{background:#fff;border-radius:16px;border:1px solid var(--line);box-shadow:var(--card-shadow)}.panel{padding:1.5rem}.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.card-link{padding:1.2rem;transition:all .25s ease}.card-link:hover{transform:translateY(-3px)}.inline-form{margin-top:1rem;display:grid;gap:.75rem}input,textarea,select{width:100%;border:1px solid #d1d5db;border-radius:8px;padding:.75rem;background:#fff}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #40a9ff1f}.row-between{display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap}.medical-record-page,.reports-page{color:#172554}.reports-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1rem}.reports-heading h1,.report-state-panel h1,.report-empty-state h1{color:#172554;font-size:1.55rem}.reports-heading p{margin-top:.25rem;color:#64748b}.reports-heading-actions{display:flex;gap:.6rem;flex-wrap:wrap}.reports-layout{display:grid;grid-template-columns:minmax(220px,270px) minmax(0,1fr);align-items:start;gap:1rem}.report-history-panel{position:sticky;top:155px;overflow:hidden;border:1px solid #e2e8f0;border-radius:12px;background:#fff;box-shadow:0 6px 22px #1e40af12}.report-history-title{display:flex;align-items:center;justify-content:space-between;padding:.9rem 1rem;border-bottom:1px solid #e2e8f0}.report-history-title h2{font-size:1rem}.report-history-title span,.report-section-heading>span{color:#64748b;font-size:.78rem}.report-history-list{display:grid;max-height:64vh;overflow-y:auto}.report-history-item{display:grid;gap:.18rem;padding:.8rem 1rem;border-bottom:1px solid #eef2f7;border-left:3px solid transparent}.report-history-item:last-child{border-bottom:0}.report-history-item:hover,.report-history-item.active{border-left-color:#1677ff;background:#f0f7ff}.report-history-item strong{color:#172554;font-size:.88rem}.report-history-item span{overflow:hidden;color:#475569;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.report-history-item time{color:#94a3b8;font-size:.72rem}.report-detail{min-width:0}.report-overview-card{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.2rem 1.4rem;border:1px solid #dbeafe;border-radius:12px;background:linear-gradient(135deg,#fff,#f3f8ff);box-shadow:0 6px 22px #1e40af12}.report-overview-main{min-width:0}.report-overview-main h2{margin-top:.4rem;overflow-wrap:anywhere;color:#172554;font-size:1.2rem}.report-overview-main p{margin-top:.2rem;color:#64748b;font-size:.82rem}.report-type-badge,.report-complete-badge{display:inline-flex;align-items:center;border-radius:999px;padding:.2rem .55rem;background:#e8f3ff;color:#0958d9!important;font-size:.75rem!important;font-weight:700}.report-complete-badge{background:#ecfdf3;color:#15803d!important}.report-risk{display:grid;flex:0 0 auto;justify-items:center;min-width:110px;border-radius:10px;padding:.65rem .85rem}.report-risk span{font-size:.72rem}.report-risk strong{font-size:1.35rem}.report-risk-low{background:#ecfdf3;color:#15803d}.report-risk-medium{background:#fff7e6;color:#b45309}.report-risk-high{background:#fff1f2;color:#dc2626}.report-analysis-subheading{margin:1rem 0 .6rem;color:#334155;font-size:.95rem}.report-analysis-list{display:grid;gap:.75rem}.report-analysis-item{border:1px solid #e2e8f0;border-radius:10px;padding:.85rem 1rem;background:#f8fafc}.report-analysis-item-head{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-bottom:.4rem}.report-analysis-item-head strong{color:#0f172a;font-size:.95rem}.report-analysis-item-result{color:#64748b;font-size:.8rem}.report-analysis-item p{margin:.25rem 0 0;color:#334155;font-size:.85rem;line-height:1.55}.report-analysis-item p b{color:#1e293b}.report-status-tag{display:inline-flex;align-items:center;border-radius:999px;padding:.1rem .55rem;font-size:.72rem;font-weight:700}.report-status-high{background:#fff1f2;color:#dc2626}.report-status-low{background:#e8f3ff;color:#0958d9}.report-status-abnormal{background:#fff7e6;color:#b45309}.report-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:.8rem}.record-section .report-section-heading h2{margin-bottom:.12rem}.report-section-heading p{color:#64748b;font-size:.78rem}.report-flow-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none}.report-flow-item{position:relative;min-width:0;padding-right:.7rem}.report-flow-item:not(:last-child):after{position:absolute;top:15px;right:0;left:34px;height:2px;background:#93c5fd;content:""}.report-flow-marker{position:relative;z-index:1;display:grid;place-items:center;width:30px;height:30px;margin-bottom:.45rem;border:3px solid #dbeafe;border-radius:50%;background:#1677ff;color:#fff;font-size:.76rem;font-weight:800}.report-flow-item strong{font-size:.8rem}.report-flow-item p{margin-top:.18rem;color:#64748b;font-size:.7rem;line-height:1.45}.report-flow-item time{color:#94a3b8;font-size:.64rem}.report-summary-box{border-left:4px solid #1677ff;border-radius:6px;padding:.8rem 1rem;background:#f0f7ff}.report-summary-box span{color:#0958d9;font-size:.76rem;font-weight:700}.report-summary-box p{margin-top:.25rem;color:#243b64}.report-analysis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin-top:.8rem}.report-analysis-grid>div{border:1px solid #e2e8f0;border-radius:8px;padding:.8rem 1rem}.report-analysis-grid h3{margin-bottom:.45rem;font-size:.9rem}.report-analysis-grid ul{padding-left:1.15rem;color:#475569;font-size:.82rem}.report-analysis-grid li+li{margin-top:.3rem}.report-disclaimer{margin-top:.8rem;color:#94a3b8;font-size:.72rem}.report-no-data{border-radius:8px;padding:1rem;background:#f8fafc;color:#64748b;text-align:center}.report-ocr-section summary{cursor:pointer;color:#172554;font-weight:700}.report-ocr-section pre{margin-top:.75rem;overflow-x:auto;white-space:pre-wrap;overflow-wrap:anywhere;color:#475569;font-family:inherit;font-size:.82rem}.report-state-panel,.report-empty-state{display:grid;justify-items:center;gap:.8rem;min-height:260px;align-content:center;text-align:center}.report-error-help{max-width:680px;color:#64748b;font-size:.85rem}.report-error-help code{border-radius:4px;padding:.12rem .35rem;background:#f1f5f9;color:#334155}.report-error-actions{display:flex;justify-content:center;gap:.6rem;flex-wrap:wrap}.report-empty-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#e8f3ff;color:#1677ff;font-size:2rem}.medical-record-heading{display:grid;grid-template-columns:minmax(160px,1fr) auto minmax(160px,1fr);align-items:end;gap:1rem;margin-bottom:1rem}.medical-record-heading-copy{grid-column:2;text-align:center}.medical-record-heading h1{color:#172554;font-size:1.55rem;line-height:1.35}.medical-record-heading p{margin-top:.3rem;color:#64748b;font-size:.92rem}.record-heading-actions{grid-column:3;display:flex;align-items:center;justify-content:flex-end;gap:.5rem;flex-wrap:wrap}.record-heading-actions .record-action-button{display:inline-flex;align-items:center;justify-content:center}.record-source-note{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem 1rem;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:#475569;font-size:.82rem}.record-page-message,.record-page-error{margin-top:.65rem;padding:.65rem .85rem;border-radius:7px}.record-page-message{background:#ecfdf5;color:#15803d}.record-section{margin-top:.75rem;padding:1rem 1.15rem;border:1px solid #e7eef8;border-radius:8px;background:#fff;box-shadow:0 6px 22px #1e40af12}.record-section h2{margin-bottom:.65rem;color:#172554;font-size:1.08rem;line-height:1.4}.record-section-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:.85rem;margin-bottom:.65rem}.record-section-title-row h2{margin-bottom:.15rem}.record-section-description{color:#64748b;font-size:.8rem}.record-medication-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}.record-action-button{min-height:34px;padding:.38rem .7rem;border:1px solid #1677ff;border-radius:6px;background:#1677ff;color:#fff;font-size:.8rem;font-weight:700;cursor:pointer}.record-action-button-secondary{background:#fff;color:#1677ff}.record-action-button:hover{background:#0958d9;color:#fff}.record-patient-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin:0}.record-patient-grid>div{min-width:0;border:1px solid #dbe4f0;border-radius:7px;padding:.7rem .85rem;background:#fbfdff}.record-patient-grid dt{color:#64748b;font-size:.78rem;font-weight:700;letter-spacing:.04em}.record-patient-grid dd{margin:.15rem 0 0;color:#172554;font-size:1.05rem;font-weight:700;overflow-wrap:anywhere}.record-patient-grid dd small{margin-left:.15rem;color:#64748b;font-size:.78rem;font-weight:600}.record-patient-grid input,.record-patient-grid select{width:100%;min-width:0;border:1px solid #cbd5e1;border-radius:5px;padding:.4rem .5rem;background:#fff;color:#243b64;font-size:.9rem;font-weight:600}.record-prov{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem .6rem;margin-bottom:.75rem;padding:.5rem .7rem;border:1px solid #e2e8f0;border-radius:6px;background:#f8fafc;color:#64748b;font-size:.78rem}.record-prov-ico{color:#1677ff;font-size:.72rem;font-weight:700;letter-spacing:.05em}.record-prov-sep{width:1px;height:12px;background:#cbd5e1}.record-chip{display:inline-flex;align-items:center;border-radius:999px;padding:.05rem .4rem;font-size:.68rem;font-weight:700;white-space:nowrap}.record-chip-src{border:1px solid #e2e8f0;background:#eef2f6;color:#64748b}.record-chip-warn{border:1px solid #f0e0c8;background:#fdf7ee;color:#a8620a}.record-question-list{display:grid;gap:1px;margin:0;border:1px solid #dbe4f0;border-radius:7px;background:#dbe4f0;overflow:hidden}.record-question-list>div{min-width:0;padding:.6rem .75rem;background:#fff}.record-question-list>div.is-check{background:#fffdf8}.record-question-list>div.is-note{background:#f8fafc}.record-question-list dt{display:flex;align-items:center;flex-wrap:wrap;gap:.3rem;color:#172554;font-size:.86rem;font-weight:600;line-height:1.5}.record-question-list>div.is-note dt{color:#64748b;font-weight:400}.record-question-number{color:#1677ff;font-variant-numeric:tabular-nums;font-weight:700}.record-question-text{min-width:0}.record-question-skip{color:#94a3b8;font-size:.72rem;font-weight:400}.record-question-legacy{display:block;margin-top:.3rem;color:#b45309;font-size:.76rem;font-weight:400;line-height:1.5}.record-question-list dd{margin:.35rem 0 0;color:#172554;font-size:.92rem;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.record-question-list>div.is-check dd{color:#a8620a}.record-question-list input,.record-question-list select{width:100%;max-width:440px;min-width:0;border:1px solid #cbd5e1;border-radius:5px;padding:.4rem .5rem;background:#fff;color:#243b64;font-size:.88rem;font-weight:400}.record-section-side{flex:0 0 auto;color:#64748b;font-size:.78rem}.record-section-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin-top:.7rem}.record-section-footer .record-note{flex:1 1 auto;min-width:0;margin-top:0}.record-note{margin-top:.7rem;padding-left:.6rem;border-left:2px solid #cbd5e1;color:#64748b;font-size:.8rem;line-height:1.7}.record-note b{color:#a8620a}.record-table-wrap{width:100%;overflow-x:auto;border:1px solid #dbe4f0;border-radius:6px}.record-table{width:100%;border-collapse:collapse;color:#243b64;font-size:.86rem;line-height:1.45;text-align:center}.record-table th,.record-table td{padding:.58rem .65rem;border-right:1px solid #dbe4f0;border-bottom:1px solid #dbe4f0;vertical-align:middle}.record-table th:last-child,.record-table td:last-child{border-right:0}.record-table tbody tr:last-child td{border-bottom:0}.record-table th{background:#f8fbff;color:#172554;font-weight:700;white-space:nowrap}.record-medication-table,.record-lab-table{min-width:760px}.record-medication-table th,.record-medication-table td{padding:.42rem}.record-medication-table input{min-width:112px;padding:.45rem .5rem;border-color:#dbe4f0;border-radius:5px;color:#243b64;font-size:.82rem;text-align:center}.record-medication-table th:nth-child(2),.record-medication-table td:nth-child(2),.record-medication-table th:nth-child(4),.record-medication-table td:nth-child(4){min-width:172px}.record-table input,.record-table select{width:100%;min-width:0;border:1px solid #cbd5e1;border-radius:5px;padding:.45rem .5rem;background:#fff;color:#243b64}.record-drug-editor{display:grid;gap:.35rem}.record-count-inputs{display:grid;gap:.4rem}.record-count-inputs label{display:grid;grid-template-columns:36px minmax(58px,1fr);align-items:center;gap:.35rem;color:#64748b;font-size:.76rem}.record-delete-button{border:0;background:transparent;color:#dc2626;font-size:.8rem;cursor:pointer}.record-delete-button:hover{text-decoration:underline}.record-medication-empty{padding:1rem!important;color:#64748b}.record-lab-table{min-width:720px}.record-lab-table th,.record-lab-table td{padding:.5rem .6rem}.record-lab-table td.record-lab-value{color:#172554;font-weight:700}.record-lab-table td.record-lab-value strong{font-size:.95rem}.record-lab-table td.is-low{color:#1677ff}.record-lab-table td.is-high{color:#dc2626}.record-lab-table td.is-ok{color:#15803d}.record-lab-table tr.is-newest td{background:#fbfdff}.record-lab-table tr.is-newest td:first-child{box-shadow:inset 3px 0 #1677ff}.record-lab-date{color:#475569;font-weight:600;white-space:nowrap}.record-newest-chip{display:block;margin-top:.1rem;color:#1677ff;font-size:.68rem;font-weight:700}.record-th-unit{display:block;margin-top:.1rem;color:#94a3b8;font-size:.68rem;font-weight:400;letter-spacing:0}.record-lab-adjust{min-width:128px;color:#64748b;font-size:.8rem;white-space:normal}.record-lab-legend{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem .9rem;color:#64748b;font-size:.78rem}.record-lab-key{display:inline-flex;align-items:center;gap:.3rem}.record-lab-dot{width:8px;height:8px;border-radius:50%}.record-lab-dot.dot-low{background:#1677ff}.record-lab-dot.dot-high{background:#dc2626}.record-lab-dot.dot-ok{background:#15803d}.record-lab-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.record-lab-th{display:inline-flex;align-items:flex-start;gap:.3rem}.record-lab-th-label{font-weight:700}.record-lab-remove{flex:0 0 auto;width:18px;height:18px;border:1px solid #e2e8f0;border-radius:50%;background:#fff;color:#dc2626;font-size:.78rem;line-height:1;cursor:pointer}.record-lab-remove:hover{border-color:#dc2626;background:#fef2f2}.record-lab-add{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-top:.6rem}.record-lab-add input{min-width:130px;border:1px solid #cbd5e1;border-radius:5px;padding:.4rem .5rem;color:#243b64;font-size:.84rem}.record-lab-manage{margin-top:.7rem;padding:.7rem .8rem;border:1px solid #dbe4f0;border-radius:7px;background:#f8fafc}.record-lab-manage-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:.5rem;margin-bottom:.55rem}.record-lab-manage-head strong{color:#172554;font-size:.86rem}.record-lab-manage-head span{color:#64748b;font-size:.76rem}.record-lab-manage-list{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem}.record-lab-manage-empty{color:#94a3b8;font-size:.78rem}.record-lab-chip-wrap{display:inline-flex;align-items:center;gap:.15rem}.record-lab-toggle{display:inline-flex;align-items:center;gap:.3rem;border:1px solid #cbd5e1;border-radius:999px;padding:.22rem .6rem;background:#fff;color:#64748b;font-size:.78rem;cursor:pointer}.record-lab-toggle.is-shown{border-color:#bfdbfe;background:#eff6ff;color:#0958d9;font-weight:700}.record-lab-toggle.is-hidden{border-style:dashed;color:#94a3b8}.record-lab-toggle small{color:#94a3b8;font-size:.68rem;font-weight:400}.record-lab-chip-remove{width:20px;height:20px;border:1px dashed #fca5a5;border-radius:50%;background:#fff;color:#dc2626;font-size:.72rem;line-height:1;cursor:pointer}.record-lab-chip-remove:hover{border-style:solid;background:#fef2f2}.record-footnote{margin:.8rem 0 0;padding:0 .4rem;color:#64748b;font-size:.78rem;line-height:1.55}@media (max-width: 768px){.reports-heading,.report-overview-card{align-items:stretch;flex-direction:column}.reports-layout{grid-template-columns:1fr}.report-history-panel{position:static}.report-history-list{max-height:220px}.report-flow-list{grid-template-columns:1fr;gap:.75rem}.report-flow-item{display:grid;grid-template-columns:36px 1fr}.report-flow-item:not(:last-child):after{top:30px;right:auto;bottom:-.8rem;left:14px;width:2px;height:auto}.report-analysis-grid{grid-template-columns:1fr}.medical-record-heading{display:flex;flex-direction:column;align-items:stretch}.medical-record-heading-copy{order:1}.record-heading-actions{order:2;width:100%;justify-content:center}.record-section{padding:.85rem}.record-section-title-row{flex-direction:column}.record-medication-actions{width:100%;justify-content:flex-start}.record-patient-grid{grid-template-columns:1fr}}@media (max-width: 900px){.header-nav{overflow:visible;padding:.65rem 0 .5rem}.header-nav-inner{min-width:0;gap:.65rem}.brand-title{flex:1 1 auto;min-width:0;overflow:hidden;font-size:1rem;text-overflow:ellipsis;white-space:nowrap}.user-menu{flex:0 1 auto;min-width:0;max-width:44%}.user-chip{max-width:100%;padding:.32rem .55rem}.user-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-avatar{flex:0 0 auto}.top-nav{margin-top:.6rem;overflow-x:auto;flex-wrap:nowrap;gap:.45rem;padding-bottom:.2rem;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}.top-nav::-webkit-scrollbar{display:none}.top-nav a{flex:0 0 auto;padding:.34rem .72rem;font-size:.84rem}.main-content>.container{padding-right:12px;padding-left:12px}.medical-record-page{width:100%;min-width:0;max-width:100%;overflow:hidden}.medical-record-heading{display:flex;align-items:stretch;flex-direction:column;gap:.8rem;margin-bottom:.8rem}.medical-record-heading-copy{order:1;padding:0 .25rem}.medical-record-heading h1{font-size:1.35rem}.medical-record-heading p{font-size:.82rem;line-height:1.55}.record-heading-actions{order:2;display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.record-heading-actions>*:last-child:nth-child(odd){grid-column:1 / -1}.record-heading-actions .record-action-button{width:100%;min-height:44px;padding:.55rem .65rem;text-align:center}.record-section{min-width:0;margin-top:.65rem;padding:.75rem;border-radius:7px}.record-section h2{font-size:1rem}.record-section-title-row{align-items:stretch;flex-direction:column;gap:.55rem}.record-section-title-row>.record-action-button{width:100%;min-height:42px}.record-patient-grid{grid-template-columns:1fr}.record-patient-grid>div{display:grid;grid-template-columns:minmax(92px,.8fr) minmax(0,1.4fr);align-items:center;gap:.65rem}.record-patient-grid dt{justify-content:flex-start;text-align:left}.record-patient-grid dd{margin:0;text-align:right}.record-patient-grid dd>*{min-width:0}.record-question-list>div{padding:.6rem .65rem}.record-question-list input,.record-question-list select{max-width:none}.medical-record-page .record-table-wrap{overflow:visible;border:0;border-radius:0}.medical-record-page .record-medication-table,.medical-record-page .record-lab-table{display:block;width:100%;min-width:0}.medical-record-page .record-medication-table thead,.medical-record-page .record-lab-table thead{display:none}.medical-record-page .record-medication-table tbody,.medical-record-page .record-lab-table tbody{display:grid;width:100%;gap:.65rem}.medical-record-page .record-medication-table tr,.medical-record-page .record-lab-table tr{display:block;overflow:hidden;width:100%;border:1px solid #dbe4f0;border-radius:7px;background:#fff}.medical-record-page .record-table td[data-label]{display:grid;grid-template-columns:minmax(94px,.75fr) minmax(0,1.35fr);align-items:center;gap:.65rem;width:100%;min-width:0;padding:.58rem .65rem;border-right:0;border-bottom:1px dashed #dbe4f0;text-align:right}.medical-record-page .record-table td[data-label]:before{align-self:center;color:#64748b;content:attr(data-label);font-size:.78rem;font-weight:700;text-align:left}.medical-record-page .record-table tr td[data-label]:last-child{border-bottom:0}.medical-record-page .record-table td[data-label]>input,.medical-record-page .record-table td[data-label]>select{width:100%;min-width:0;text-align:left}.medical-record-page .record-table .record-medication-empty{display:block;width:100%;border:0;text-align:center}.record-count-inputs{width:100%}.record-lab-table tr.is-newest{border-color:#cfdde8;border-left:3px solid #1677ff}.record-lab-table tr.is-newest td:first-child{box-shadow:none}.record-lab-table tr.is-newest td{background:transparent}.record-drug-editor{grid-template-columns:1fr}.record-section-footer{align-items:stretch;flex-direction:column;gap:.6rem}.record-section-footer>*{flex:0 0 auto}.record-section-footer .record-action-button{width:100%;min-height:42px}}@media print{.header-nav,.bottom-nav,.record-heading-actions,.record-lab-actions,.record-lab-manage,.reports-heading-actions,.report-history-panel{display:none!important}.reports-layout{display:block}.record-medication-table input,.record-lab-table input,.record-question-list input,.record-question-list select,.record-patient-grid input,.record-patient-grid select{padding:0;border:0;box-shadow:none;background:transparent}.main-content{padding:0}.container{max-width:none;padding:0}.record-section{break-inside:avoid;box-shadow:none}.record-prov,.record-question-list>div.is-check,.record-lab-table tr.is-newest td{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.chat-box{background:#fff;border-radius:12px;min-height:420px;max-height:620px;overflow:auto;border:1px solid var(--line);box-shadow:0 8px 24px #0f172a0f;padding:1rem}.msg{margin-bottom:1rem}.msg .role{font-size:.76rem;font-weight:700;color:var(--muted);margin-bottom:.28rem;display:inline-block}.msg-body{border-radius:10px;padding:.85rem .95rem;background:#f8fafc;font-size:.95rem;line-height:1.65}.msg.user .msg-body{background:#e6f7ff}.msg.assistant .msg-body{background:#fff;border:1px solid #e6edf5}.assistant-text{white-space:normal;color:#1f2937;font-family:PingFang SC,Microsoft YaHei,Noto Sans CJK SC,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:.95rem;line-height:1.74;word-break:break-word}.assistant-text :first-child{margin-top:0}.assistant-text>*{margin:0}.assistant-text>*+*{margin-top:.5rem}.assistant-text h1,.assistant-text h2,.assistant-text h3,.assistant-text h4,.assistant-text h5,.assistant-text h6{color:#102a43;font-size:1rem;font-weight:700;line-height:1.45;margin-top:.8rem}.assistant-text .assistant-heading{border-left:3px solid var(--primary);padding:.08rem 0 .08rem .55rem;background:transparent}.assistant-text .assistant-heading-conclusion{border-left-color:#10b981;color:#065f46}.assistant-text .assistant-heading-advice{border-left-color:var(--primary)}.assistant-text .assistant-heading-warning{border-left-color:#f97316;color:#9a3412}.assistant-text ul,.assistant-text ol{margin:.28rem 0 0;padding-left:1.15rem}.assistant-text li+li{margin-top:.28rem}.assistant-text li::marker{color:var(--primary);font-weight:700}.assistant-text p{margin:0}.assistant-text strong{color:#0f172a;font-weight:700}@media (max-width: 640px){.chat-box{padding:.85rem}.msg-body{padding:.78rem}.assistant-text{font-size:.94rem;line-height:1.72}.assistant-text .assistant-heading{font-size:.96rem}}.citation-link{color:var(--primary);display:inline-block;font-size:.72em;font-weight:700;line-height:1;margin:0 .12rem;text-decoration:none;vertical-align:super}.citation-link:before{content:"["}.citation-link:after{content:"]"}.citation-link:hover{text-decoration:underline}.incomplete-actions{margin-top:.75rem;display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;color:#9a3412;font-size:.86rem}.ai-generated-notice{margin-top:.8rem;padding-top:.65rem;border-top:1px solid #eef2f7;color:#94a3b8;font-size:.75rem;line-height:1.5;text-align:center}.incomplete-actions .btn{padding:.42rem .75rem;font-size:.88rem}.general-medical-source-note{margin-top:.55rem;padding:.45rem .65rem;border-left:3px solid #94a3b8;border-radius:0 6px 6px 0;background:#f8fafc;color:#64748b;font-size:.78rem;line-height:1.5}.references-block{margin-top:.6rem;border-radius:8px;padding:.65rem .75rem;background:#f8fafc;border:1px solid #dbeafe;font-family:PingFang SC,Microsoft YaHei,Noto Sans CJK SC,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.references-block h4{margin-bottom:.4rem;color:#0f172a;font-size:.9rem}.references-block ol{margin:0;padding-left:1.2rem;list-style-position:outside}.references-block li{margin:.55rem 0 .7rem;color:#334155;font-size:.88rem;line-height:1.45}.reference-title{color:#1e293b;line-height:1.5}.reference-excerpt{margin-top:.35rem}.reference-excerpt-label{display:block;margin-bottom:.25rem;color:#64748b;font-size:.75rem;font-weight:600}.reference-excerpt blockquote{margin:0;padding:.55rem .65rem;border-left:3px solid #93c5fd;border-radius:0 6px 6px 0;background:#fff;color:#475569;font-size:.82rem;line-height:1.65;overflow-wrap:anywhere;white-space:pre-wrap}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--primary);padding:1.25rem;position:relative}.auth-page:before,.auth-page:after{content:"";position:absolute;border-radius:50%;background:#ffffff1f}.auth-page:before{width:280px;height:280px;top:-80px;right:-90px}.auth-page:after{width:180px;height:180px;left:-60px;bottom:30px}.auth-card{position:relative;z-index:1;width:min(520px,94vw);background:#fff;border-radius:20px;padding:2rem;box-shadow:0 20px 60px #00000047;display:grid;gap:.9rem}.auth-container{width:min(520px,94vw);position:relative;z-index:1}.auth-logo-block{display:flex;align-items:center;justify-content:center}.auth-logo-section{margin-bottom:1.15rem}.auth-logo-img{width:min(210px,52vw);height:auto;display:block}.auth-title{font-size:1.4rem;color:var(--title);margin-bottom:.2rem;text-align:center}.auth-card>.muted{text-align:center}.list-tight{margin-top:.45rem;padding-left:1.2rem}.list-tight li+li{margin-top:.3rem}.auth-agreement{text-align:center;margin-top:1rem;font-size:.92rem;color:#eaf5ff}.auth-agreement a{color:#fff;text-decoration:underline}.legal-page{min-height:100vh;background:linear-gradient(160deg,#0f172a,#1e3a5f 45%,#0ea5e9 180%);padding:1.25rem 1rem 3rem}.legal-page-nav{max-width:720px;margin:0 auto 1rem}.legal-back-link{font-size:.95rem;color:#e2e8f0;text-decoration:underline}.legal-back-link:hover{color:#fff}.legal-article{max-width:720px;margin:0 auto;background:#fffffff5;color:#1e293b;border-radius:16px;padding:1.75rem 1.5rem 2.5rem;box-shadow:var(--card-shadow);line-height:1.75;font-size:.98rem}.legal-h1{font-size:1.35rem;font-weight:700;color:var(--title);margin-bottom:1.25rem;line-height:1.35}.legal-h2{font-size:1.05rem;font-weight:700;color:var(--title);margin:1.5rem 0 .65rem;line-height:1.4}.legal-h2:first-of-type{margin-top:.75rem}.legal-p{margin:.5rem 0;text-align:justify}.legal-article strong{font-weight:600;color:#0f172a}.legal-article ul,.legal-article ol{margin:.5rem 0 .5rem 1.35rem;padding:0}.legal-article li+li{margin-top:.35rem}.auth-switch,.auth-card input,.auth-card select{text-align:center}.profile-edit-form{display:flex;flex-direction:column;gap:.55rem}.profile-edit-form label{font-size:.85rem;margin-top:.25rem}.profile-edit-form input,.profile-edit-form select{width:100%;padding:.5rem .65rem;border:1px solid var(--line);border-radius:8px}.profile-fields{display:grid;margin-top:.25rem}.profile-field{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:1rem;padding:.65rem 0;border-bottom:1px dashed var(--line)}.profile-field:last-child{border-bottom:0}.profile-field-label{color:var(--muted);font-size:.82rem;line-height:1.65;white-space:nowrap}.profile-field-value{min-width:0;color:var(--text);line-height:1.5;overflow-wrap:anywhere;text-align:right;word-break:break-word}.profile-save-actions{display:flex;justify-content:flex-end;margin-top:1rem}.profile-save-actions .btn{min-width:120px;justify-content:center}.auth-card .btn{justify-content:center}.checkin-panel{border:1px solid #dbeafe}.checkin-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.9rem}.checkin-done{color:#16a34a;font-weight:700}.checkin-pending{color:#f59e0b;font-weight:700}.checkin-history-panel{border:1px solid #e2e8f0}.checkin-history-list{list-style:none;display:grid;gap:.7rem}.checkin-history-list li{border:1px solid #e2e8f0;border-radius:12px;padding:.75rem;display:flex;justify-content:space-between;gap:.8rem;align-items:center;flex-wrap:wrap}.daily-checkin-page{width:100%;color:#243b64}.daily-checkin-page>h1{margin-bottom:.7rem;color:#172554;font-size:clamp(1.7rem,4vw,2.2rem);line-height:1.3;text-align:center}.daily-checkin-card{padding:clamp(1.1rem,3vw,1.75rem);border:1px solid #cfe2ff;border-radius:18px;background:#fff;box-shadow:0 4px 18px #1e40af0d}.daily-checkin-status{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}.daily-checkin-status>div{display:grid;gap:.05rem}.daily-checkin-status span{color:#64748b;font-size:.95rem}.daily-checkin-status strong{color:#243b64;font-size:1.05rem}.daily-checkin-status strong.checked{color:#16a34a;font-size:1.15rem}.daily-checkin-status strong.pending{color:#d97706;font-size:1.15rem}.daily-last-checkin{justify-items:end;text-align:right}.daily-checkin-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.95rem}.daily-checkin-form-grid label{display:grid;min-width:0;gap:.35rem}.daily-checkin-form-grid label>span{color:#64748b;font-size:.9rem}.daily-checkin-form-grid input,.daily-checkin-form-grid select{width:100%;min-width:0;min-height:48px;border:1px solid #d6e1ef;border-radius:8px;padding:.65rem .8rem;background:#fff;color:#0f172a;font-size:1rem}.daily-checkin-form-grid input:focus,.daily-checkin-form-grid select:focus{border-color:#40a9ff;outline:3px solid rgba(64,169,255,.13)}.daily-form-wide{grid-column:1 / -1}.daily-checkin-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem}.daily-checkin-actions button,.daily-checkin-actions a{display:inline-flex;min-height:46px;align-items:center;justify-content:center;border-radius:8px;padding:.65rem 1.1rem;font-weight:700}.daily-checkin-actions button{border:1px solid #40a9ff;background:#40a9ff;color:#fff;cursor:pointer}.daily-checkin-actions button:hover:not(:disabled){border-color:#1677ff;background:#1677ff}.daily-checkin-actions button:disabled{cursor:wait;opacity:.65}.daily-checkin-actions a{border:1px solid #d6e1ef;background:#f8fafc;color:#64748b}.daily-checkin-feedback{margin:.85rem 0 0;font-size:.9rem}.daily-checkin-feedback.success{color:#16a34a}.daily-checkin-feedback.error{color:#dc2626}.daily-checkin-loading{min-height:220px;align-content:center;text-align:center}@media (max-width: 768px){.daily-checkin-card{padding:.9rem;border-radius:12px}.daily-checkin-status{margin-bottom:1rem}.daily-checkin-form-grid{grid-template-columns:1fr;gap:.75rem}.daily-form-wide{grid-column:auto}.daily-checkin-form-grid input,.daily-checkin-form-grid select{min-height:46px;font-size:.95rem}.daily-checkin-actions{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}.daily-checkin-actions button,.daily-checkin-actions a{width:100%;padding-right:.55rem;padding-left:.55rem}}@media (max-width: 420px){.daily-checkin-status span{font-size:.82rem}.daily-checkin-status strong,.daily-checkin-status strong.checked,.daily-checkin-status strong.pending{font-size:1rem}}.medication-checkin-page{width:100%;max-width:760px;margin:0 auto;color:var(--text)}.medication-welcome{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.medication-welcome h1{color:var(--title);font-size:clamp(1.65rem,4vw,2.15rem);line-height:1.25}.medication-welcome p{margin-top:.2rem;color:var(--muted);font-size:1rem}.medication-avatar{display:grid;width:54px;height:54px;flex:0 0 auto;place-items:center;border-radius:50%;background:#ccfbf1;color:#0f9f94}.medication-avatar svg,.medication-icon svg,.schedule-icon svg,.quick-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.medication-hero-card{padding:clamp(1.35rem,4vw,2rem);border-radius:24px;background:#bfdbfe;box-shadow:0 12px 26px #3b82f629;color:#000}.medication-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.medication-card-heading h2{display:flex;align-items:center;gap:.55rem;font-size:1.45rem;line-height:1.3}.medication-card-heading p{margin:.25rem 0 0 2.25rem;color:#000;font-size:1.05rem}.medication-icon{display:inline-flex}.medication-card-heading>strong{font-size:clamp(1.55rem,5vw,2.1rem);line-height:1.25;text-align:right;white-space:nowrap}.medication-card-heading>strong.dose-unset{padding-top:.3rem;font-size:.95rem;font-weight:600}.medication-schedule{display:flex;align-items:center;gap:.9rem;margin:1.35rem 0 1rem;padding:1rem 1.15rem;border:1px solid #93c5fd;border-radius:16px;background:#ffffff6b}.schedule-icon{display:inline-flex;flex:0 0 auto}.medication-schedule strong{font-size:1.08rem}.medication-schedule p{color:#000;font-size:.9rem;line-height:1.45}.medication-note-input{width:100%;margin-bottom:.8rem;border:1px solid #93c5fd;background:#eff6ff;color:#000}.medication-note-input::placeholder{color:#475569}.medication-note-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f629;outline:none}.medication-checkin-button{width:100%;padding:.9rem 1rem;border:1px solid #60a5fa;border-radius:14px;background:#93c5fd;color:#000;font-size:1.18rem;font-weight:700;cursor:pointer;transition:background .2s,transform .2s}.medication-checkin-button:hover:not(:disabled){background:#7db7f5;transform:translateY(-1px)}.medication-checkin-button:disabled{cursor:default;opacity:.82}.medication-plan-link{display:block;margin:.75rem auto -.35rem;border:0;background:transparent;color:#000;cursor:pointer;font-size:.9rem;text-decoration:underline;text-underline-offset:3px}.medication-plan-editor{margin-top:1rem;border:1px solid #ccfbf1}.medication-plan-editor h2,.recent-reminder-panel h2,.medication-history-panel h2{color:var(--title);font-size:1.15rem}.plain-close-button{width:34px;height:34px;border:0;border-radius:50%;background:#f1f5f9;color:var(--muted);cursor:pointer;font-size:1.35rem;line-height:1}.medication-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:.9rem;margin-top:1rem}.medication-form-grid label{display:grid;gap:.35rem;color:#475569;font-size:.9rem;font-weight:600}.medication-form-grid input{width:100%;min-width:0;background:#fff;font-weight:400}.medication-form-wide{grid-column:1 / -1}.medication-editor-actions{display:flex;gap:.7rem;margin-top:1rem}.medication-feedback{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem;padding:.75rem 1rem;border-radius:12px;font-size:.92rem}.medication-feedback.success{background:#ecfdf5;color:#047857}.medication-feedback.error{background:#fef2f2}.medication-feedback button{flex:0 0 auto;border:0;background:transparent;color:inherit;cursor:pointer;text-decoration:underline}.medication-quick-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin:1.4rem 0}.medication-quick-card{display:flex;min-height:150px;align-items:center;justify-content:center;flex-direction:column;padding:1.15rem;border:1px solid #eef2f7;border-radius:18px;background:#fff;box-shadow:0 3px 12px #0f172a0f;text-align:center;transition:box-shadow .2s,transform .2s}.medication-quick-card:hover{box-shadow:var(--card-shadow);transform:translateY(-2px)}.medication-quick-card strong{margin-top:.65rem;color:#475569;font-size:1.08rem}.medication-quick-card small{margin-top:.15rem;color:#94a3b8}.quick-icon{display:grid;width:54px;height:54px;place-items:center;border-radius:50%}.quick-icon.report{background:#dbeafe;color:#2563eb}.quick-icon.review{background:#ffedd5;color:#f97316}.recent-reminder-panel,.medication-history-panel{border:1px solid #eef2f7;box-shadow:0 2px 10px #0f172a0a}.recent-reminder-panel h2{display:flex;align-items:center;gap:.55rem;margin-bottom:.85rem}.recent-reminder-panel h2>span{display:inline-grid;width:22px;height:22px;place-items:center;border:2px solid #f97316;border-radius:50%;color:#f97316;font-size:.8rem}.reminder-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.75rem;padding:.75rem;border-radius:12px;background:#f8fafc}.reminder-row+.reminder-row{margin-top:.65rem}.reminder-row i{width:8px;height:8px;border-radius:50%;background:#3b82f6}.reminder-row i.urgent{background:#ef4444}.reminder-row i.done{background:#14b8a6}.reminder-row p{min-width:0;color:#64748b}.reminder-row a,.reminder-row button{border:0;background:transparent;color:#0f9f94;cursor:pointer;white-space:nowrap}.reminder-row button:disabled{color:#94a3b8;cursor:default}.medication-history-panel{margin-top:1.4rem}.medication-section-title{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.9rem}.medication-section-title p{color:var(--muted);font-size:.86rem}.medication-section-title>span{padding:.25rem .65rem;border-radius:999px;background:#ecfdf5;color:#0f9f94;font-size:.85rem}.medication-empty{padding:1.35rem .5rem;color:var(--muted);text-align:center}.medication-history-list{list-style:none}.medication-history-list li{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.8rem;padding:.85rem 0;border-top:1px solid #f1f5f9}.medication-history-panel .history-status{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:#bfdbfe;color:#000;font-weight:700}.history-main{min-width:0}.history-main p,.history-main small,.history-time small{display:block;color:var(--muted);font-size:.84rem}.history-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-time{text-align:right}.medication-history-panel .history-time strong{color:#000}@media (max-width: 640px){.medication-welcome{margin-bottom:1.1rem}.medication-avatar{width:48px;height:48px}.medication-hero-card{border-radius:20px}.medication-card-heading p{margin-left:0}.medication-form-grid{grid-template-columns:1fr}.medication-form-wide{grid-column:auto}.medication-quick-grid{gap:.75rem}.medication-quick-card{min-height:132px;padding:.85rem .55rem}.medication-quick-card small{display:none}.reminder-row{gap:.55rem;padding:.7rem .55rem;font-size:.88rem}.medication-history-list li{grid-template-columns:auto 1fr}.history-time{grid-column:2;text-align:left}}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}@media (max-width: 768px){.container{padding:0 14px}.main-content{padding:1rem 0 6rem}.panel{padding:1rem}}.report-entry-actions{display:flex;flex-wrap:wrap;gap:.6rem}.report-entry-button{flex:1 1 160px;min-height:46px;font-size:.95rem;font-weight:700}.report-entry-button-camera{border:1px solid #1677ff;background:#fff;color:#1677ff}.report-entry-button-camera:hover{background:#eaf3ff}.report-entry-button-cancel{flex:0 0 auto;border:1px solid #fca5a5;background:#fff;color:#b91c1c}.report-progress{margin:.6rem 0 0;color:#0958d9;font-size:.85rem;font-weight:700}.report-task-list{margin:0;padding:0;list-style:none;display:grid;gap:.4rem}.report-task{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.5rem .7rem;border:1px solid #e7eef8;border-radius:6px;background:#fbfdff;font-size:.85rem}.report-task-kind{padding:.1rem .45rem;border-radius:4px;background:#eaf3ff;color:#0958d9;font-size:.75rem;font-weight:700}.report-task-name{flex:1 1 180px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#172554;font-weight:600}.report-task-size,.report-task-status{color:#64748b}.report-task-done .report-task-status{color:#15803d;font-weight:700}.report-task-failed .report-task-status,.report-task-cancelled .report-task-status{color:#b91c1c}.report-task-analyzing .report-task-status,.report-task-preparing .report-task-status{color:#0958d9;font-weight:700}.report-result-card{display:grid;gap:.4rem}.report-result-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.5rem;padding-bottom:.5rem;border-bottom:1px solid #e7eef8;color:#172554}.report-result-meta{color:#64748b;font-size:.8rem}.report-ocr-details{margin-top:.6rem;color:#475569;font-size:.85rem}.report-ocr-details summary{cursor:pointer;color:#0958d9;font-weight:600}.report-ocr-details p{margin:.5rem 0 0;white-space:pre-wrap;line-height:1.7}
