:root{--blue:#5094ff;--ink:#333;--muted:#888;--pale:#dfeeff;--line:#d9e7f7;--accent:#5094ff;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:#f3f5f8;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;line-height:1.6}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #286dde;outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}button{color:inherit}a{color:inherit}img{display:block;max-width:100%}
.desktop-caption{max-width:480px;margin:24px auto 14px;display:flex;align-items:center;gap:10px;font-size:17px;font-weight:600;color:var(--ink)}.desktop-caption small{display:block;font-size:12px;font-weight:400;color:var(--muted)}.brand-mark{width:38px;height:38px;background:var(--blue);color:white;display:grid;place-items:center;border-radius:8px;font-family:"Songti SC",SimSun,serif;font-size:23px}.version-tag{margin-left:auto;font-size:11px;font-weight:400;padding:4px 10px;border:1px solid #c6d9ed;border-radius:20px}.app-shell{max-width:480px;margin:0 auto;background:var(--pale);min-height:720px;border:1px solid var(--line);border-radius:10px;overflow:clip}.app-header{height:52px;padding:0 20px;display:flex;align-items:center;justify-content:center;position:relative;border-bottom:1px solid #cddff4;font-size:17px;font-weight:600;background:var(--pale)}.header-label{position:absolute;right:18px;font-size:10px;color:#8dabc7;font-weight:400;border:1px solid #cedff0;border-radius:5px;padding:2px 5px}.icon-button{background:transparent;width:36px;height:36px;line-height:1;font-size:28px;border-radius:8px}.app-header .icon-button{position:absolute;left:10px}.capture-intro{padding:24px 20px 18px;background:var(--pale)}.eyebrow{color:#69a0d2;font-size:10px;letter-spacing:3px;margin-bottom:13px}.capture-intro h1{font-size:22px;font-weight:600;line-height:1.4}.capture-intro>p:not(.eyebrow){font-size:13px;color:#777;margin-top:8px;line-height:1.7}.intro-decoration{position:absolute;right:-4px;bottom:-28px;font-size:130px;line-height:1.3;font-family:"Songti SC",SimSun,serif;color:#70aee415;transform:rotate(-12deg)}.capture-content{padding:0 16px 16px;background:var(--pale)}.guide-card{background:white;border-radius:8px;padding:16px;margin-top:0}.guide-card h2{font-size:15px;color:var(--blue);margin-bottom:8px}.guide-card ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}.guide-card li{display:flex;align-items:flex-start;gap:8px;font-size:12px;color:#777;line-height:1.7}.guide-card li::before{content:'·';color:var(--blue);flex:none;font-weight:700}.photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.photo-card{background:white;padding:12px;border-radius:8px;min-width:0}.photo-card h2{font-size:15px;margin-bottom:10px;white-space:nowrap}.tag{font-size:10px;font-weight:400;border-radius:4px;padding:2px 5px;margin-left:4px}.tag.blue{color:var(--blue);background:#edf5ff}.tag.muted{color:#93a0ad;background:#f1f4f7}.photo-slot{width:100%;height:185px;border:1px dashed #b9d2f5;border-radius:6px;background:#f5f9ff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0;position:relative;overflow:hidden}.photo-slot img{width:100%;height:100%;object-fit:cover}.photo-slot.has-photo::after{content:'点击预览';position:absolute;bottom:0;left:0;right:0;padding:6px;background:#24466565;color:#fff;font-size:11px}.tongue-guide{width:48px;height:60px;border-radius:28% 28% 48% 48%;background:#efb3bd;border:2px solid white;position:relative}.tongue-guide i{position:absolute;width:1px;height:40px;background:#d58d9f;left:50%;top:5px}.tongue-guide.reverse{transform:rotate(180deg)}.tongue-guide.reverse i{width:16px;background:transparent;border-left:2px solid #a688b3;border-right:2px solid #a688b3;left:calc(50% - 8px);height:30px;top:12px}.plus{font-size:29px;color:#6fa7eb;margin-top:9px;line-height:1.3}.photo-hint{font-size:11px;color:#8aa1b8;margin-top:4px}.photo-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.photo-actions button{flex:1;background:#edf5ff;color:var(--blue);font-size:11px;padding:8px 3px;border-radius:4px;white-space:nowrap}.photo-actions button[data-action=remove]{color:#888;background:#f3f4f6}.file-note{font-size:11px;color:#888;line-height:1.8;margin:10px 0 16px}.error-message{padding:10px 12px;margin-bottom:14px;border-radius:8px;background:#fff0f1;color:#b45d67;font-size:12px}.demo-notice{background:transparent;color:#777;padding:0;font-size:12px;line-height:1.8}.demo-notice strong{font-size:12px;color:#555;font-weight:600}.demo-notice p{margin-top:3px}.agreement{display:flex;align-items:flex-start;gap:8px;margin:14px 0;color:#666;font-size:12px;line-height:1.8;cursor:pointer}.agreement input{width:17px;height:17px;accent-color:var(--blue);flex:none;margin:2px 0}.primary-button{display:flex;justify-content:center;align-items:center;gap:12px;background:var(--blue);border-radius:6px;color:white;min-height:46px;width:100%;font-size:15px;font-weight:500;padding:11px 16px}.primary-button:disabled{background:#afcaf0;color:white}.status-text{text-align:center;font-size:11px;color:#888;margin-top:8px;min-height:16px}.footer-note{font-size:11px;color:#888;text-align:center;line-height:1.8;padding:18px 8px}.desktop-footer{text-align:center;font-size:11px;color:#888;margin:16px 0 24px}.report-demo{padding:8px 12px;text-align:center;font-size:11px;color:#777;background:#fff5e4}.summary{padding:16px 20px;background:var(--pale)}.summary-tip{background:#fff7e9;color:#a5906f;border-radius:30px;font-size:11px;padding:4px 12px}.summary-tip span{color:#ffc440;font-size:16px;margin-right:10px}.summary-main{display:flex;justify-content:space-between;align-items:center;padding:20px 0 10px}.profile{display:flex;align-items:center;gap:12px}.profile-icon{height:47px;width:47px;display:grid;place-items:center;border-radius:50%;background:white;color:var(--blue);font-family:"Songti SC",SimSun,serif;font-size:24px}.profile strong{font-size:15px}.profile small{display:block;font-size:10px;color:#8ba2b8;margin-top:4px}.score{padding-left:22px;border-left:2px solid #b6d4f7}.score>div{line-height:1.05}.score span{font-size:63px;letter-spacing:-3px;font-weight:400;color:#333;font-family:Arial,sans-serif}.score b{font-size:15px;margin-left:9px}.score small{font-size:12px;color:#629be0}.summary>p{text-align:right;font-size:10px;color:#93a9be}.report-nav{position:sticky;top:0;z-index:5;display:flex;background:var(--pale);border-bottom:1px solid #cddff4;padding:0 8px}.report-nav a{flex:1;text-align:center;padding:14px 0;text-decoration:none;color:#999;font-size:15px;font-weight:600;position:relative;white-space:nowrap}.report-nav a.active{color:var(--blue)}.report-nav a.active::after{content:'';position:absolute;left:30%;right:30%;bottom:0;height:3px;border-radius:3px;background:#4b98f1}.report-content{padding:0 12px}.report-section{scroll-margin-top:57px;padding-bottom:4px}.section-title{background:var(--blue);border-radius:8px 8px 0 0;color:white;font-size:23px;font-weight:600;letter-spacing:1px;text-align:center;padding:12px 0;margin:0}.white-card{padding:16px 0;background:#fff;border-radius:8px;margin-bottom:12px;overflow:hidden}.section-title+.white-card{border-radius:0 0 8px 8px}.section-ribbon{display:inline-block;background:var(--blue);padding:5px 22px 5px 16px;border-radius:0 4px 4px 0;color:white;font-size:15px;font-weight:600}.body-copy{font-size:14px;line-height:1.8;color:#555}.conclusion-layout{display:flex;align-items:center;gap:14px;padding:18px 16px}.conclusion-text{flex:1;min-width:0}.conclusion-highlight{background:#edf5ff;color:var(--blue);padding:8px 10px;font-size:15px;line-height:1.7;margin-bottom:10px;border-radius:4px}.tongue-map{flex:none;width:112px;margin:0;align-self:center}.tongue-map span{position:absolute}.tongue-map .tip{bottom:8px;left:28px}.tongue-map .center{top:42px;left:28px}.tongue-map .root{top:7px;left:35px}.tongue-map .left{top:25px;left:6px;writing-mode:vertical-rl}.tongue-map .right{top:25px;right:6px;writing-mode:vertical-rl}.card-divider{margin:0 16px 16px;border-top:1px dashed #dce5ef}.constitution{display:flex;gap:16px;padding:18px 16px 4px}.constitution-symbol{width:65px;height:81px;flex:none;background:#edf5ff;border-radius:6px;display:grid;place-items:center;font-family:"Songti SC",SimSun,serif;font-size:35px;color:var(--blue)}.blue-title{font-size:16px;font-weight:500;color:var(--blue);margin-bottom:8px}.report-photos{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px}.report-photo{margin:0;min-width:0}.report-photo button{width:100%;padding:0;border-radius:9px;overflow:hidden;background:#eef5fc}.report-photo img{width:100%;height:180px;object-fit:cover}.report-photo figcaption{text-align:center;font-size:13px;color:#8494a4;margin-top:7px}.empty-photo{height:180px;background:#f1f6fc;border-radius:9px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#9aacbf;font-size:12px}.empty-photo small{font-size:10px;margin-top:8px}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.metric-card{display:flex;flex-direction:column;background:white;border-radius:8px;padding:16px 13px}.metric-card h3{font-size:18px;font-weight:500;margin-bottom:5px}.metric-card h3 span{font-size:14px;color:#7aabd5}.metric-state{align-self:flex-start;padding:1px 6px;font-size:11px;border-radius:3px;margin-bottom:9px}.metric-state.rose{color:#777;background:#f3f4f6}.metric-state.green{color:#777;background:#f3f4f6}.metric-description{font-size:12px;color:#777;line-height:1.8;flex:1}.metric-options{display:flex;gap:4px;flex-wrap:wrap;margin-top:12px}.metric-options span{padding:3px 6px;background:#f0f6fc;color:#8cafcc;font-size:10px;border-radius:3px}.metric-options .selected{background:var(--blue);color:white}.detail-link{align-self:flex-start;background:transparent;color:#6da5dc;font-size:11px;padding:9px 0 0}.level-block{padding:18px 17px 3px}.level-heading{display:flex;justify-content:space-between;font-size:14px;font-weight:600}.level-heading span{font-size:11px;font-weight:400;color:#78a7cf}.level-track{height:5px;border-radius:4px;position:relative;background:#bbd6ff;margin-top:28px}.level-marker{position:absolute;top:-24px;transform:translateX(-50%);font-size:11px;color:#74a0bc;text-align:center}.level-marker::after{content:'';display:block;width:9px;height:9px;background:#5594c8;border:2px solid white;border-radius:50%;margin:3px auto 0}.level-ticks,.level-legend{display:flex;justify-content:space-between;font-size:9px;color:#94a8b8;margin-top:6px}.level-legend{margin-top:2px;margin-bottom:9px}.explanation-box{background:#f5f9ff;border:0;border-radius:4px;color:#777;font-size:12px;padding:12px;margin:16px}.meridian-block{padding:6px 16px 18px;border-bottom:1px solid #eff3f7}.body-diagram{display:flex;align-items:center;justify-content:center;gap:18px;background:#fbfcfe;border-radius:8px;margin-top:14px;padding:18px}.body-diagram svg{width:115px;height:230px;flex:none}.diagram-caption{font-size:14px;color:#b38d64}.diagram-caption small{display:block;color:#a3adb8;font-size:11px;margin-top:8px}.manifestation-list{list-style:none;padding:0 16px;margin:0}.manifestation-list li{display:flex;align-items:center;gap:11px;border-bottom:1px solid #edf3f8;padding:14px 0;font-size:14px}.manifestation-list li::before{content:'';width:6px;height:6px;flex:none;border-radius:50%;background:#70aff1}.padded{padding:16px}.health-note{padding:14px;border-left:3px solid #94bdf1;background:#f0f7ff;font-size:13px;color:#7895af;margin-top:16px;line-height:1.85}.advice-list{padding:16px 12px 0}.advice-card{position:relative;display:flex;gap:12px;background:#f5f9ff;padding:14px 12px;border-radius:6px;margin-bottom:8px}.advice-icon{width:54px;height:65px;flex:none;display:grid;place-items:center;font-family:"Songti SC",SimSun,serif;font-size:28px;border-radius:7px}.advice-icon.warm{background:#e6f0ff;color:var(--blue)}.advice-icon.blue{background:#e6f0ff;color:var(--blue)}.advice-icon.green{background:#e6f0ff;color:var(--blue)}.advice-copy{flex:1;min-width:0}.advice-copy h3{font-size:14px;padding-right:43px}.advice-copy p{font-size:12px;color:#777;line-height:1.8;margin-top:5px}.example-label{display:inline-block;color:#888;background:#edf2f8;font-size:10px;padding:1px 6px;margin-top:8px}.advice-detail{position:absolute;right:10px;top:14px;color:#7aabd6;background:transparent;font-size:11px;padding:0}.hours-heading{font-size:15px;margin:17px 0}.hours-wheel{width:100%;aspect-ratio:1;position:relative;margin:20px auto 8px;border:1px solid #b9d2f5;border-radius:50%;background:#edf5ff}.hours-wheel::before{content:'';position:absolute;inset:23%;border:1px solid #b5ccef;border-radius:50%}.hours-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:24%;height:24%;display:flex;flex-direction:column;align-items:center;justify-content:center;border:5px solid #d5e6fc;border-radius:50%;background:var(--accent);color:white;font-size:16px;line-height:1.4}.hour-cell{position:absolute;width:17%;height:19%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.hour-time{font-size:9px;color:#83a8d1}.hour-organ{font-size:15px;color:#5a8dcb;line-height:1.5}.hour-name{font-size:10px;color:#91a9c4}.report-end{padding:14px 22px 12px}.report-end .primary-button{font-size:14px}dialog{border:1px solid var(--line);padding:20px;border-radius:8px;width:calc(100% - 32px);max-width:420px;color:var(--ink)}dialog::backdrop{background:#20385377}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.dialog-header h2{font-size:17px}.dialog-header .icon-button{flex:none;color:#91a4b7}.dialog-copy{font-size:14px;line-height:1.9;color:#7b8b9b;white-space:pre-line;margin-bottom:20px}.dialog-photo{width:100%;max-height:65vh;object-fit:contain;border-radius:8px;margin-bottom:16px}dialog .primary-button{font-size:14px;min-height:42px}
@media(max-width:540px){:root{background:var(--pale)}.desktop-caption,.desktop-footer{display:none}.app-shell{max-width:100%;margin:0;border-radius:0;box-shadow:none;min-height:100dvh}.capture-content{padding-bottom:calc(16px + env(safe-area-inset-bottom))}.report-end{padding-bottom:calc(12px + env(safe-area-inset-bottom))}}
@media(max-width:360px){.capture-content{padding-left:14px;padding-right:14px}.photo-grid{gap:9px}.photo-card{padding:10px}.photo-slot{height:160px}.capture-intro h1{font-size:23px}.report-nav a{font-size:12px}.conclusion-layout{gap:9px}.tongue-map{width:96px}.metric-card{padding:14px 10px}.metric-card h3{font-size:16px}.metric-card h3 span{font-size:12px}.report-photo img,.empty-photo{height:150px}.hour-time{font-size:8px}.hour-organ{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

.analysis-progress{margin-top:18px}.analysis-progress-track{height:6px;overflow:hidden;border-radius:3px;background:#e4edf8}.analysis-progress-track span{display:block;width:38%;height:100%;border-radius:3px;background:var(--blue);animation:analysis-progress-slide 1.6s ease-in-out infinite}.analysis-progress p{margin-top:10px;text-align:center;font-size:14px;line-height:1.7;color:#666}.analysis-progress:not([hidden])+#capture-status{display:none}@keyframes analysis-progress-slide{from{transform:translateX(-105%)}to{transform:translateX(270%)}}@media(prefers-reduced-motion:reduce){.analysis-progress-track span{animation:none;margin-inline:auto}}

.secondary-button{width:100%;padding:10px;background:white;color:var(--blue);font-size:13px;border:1px solid #b9d2f5;border-radius:6px;margin-top:10px}.secondary-button:disabled{color:#a3b5c5}.report-demo.real-report{background:var(--pale);color:#777}.metric-state.blue{background:#edf5ff;color:#6d9cc6}.metric-state.neutral{background:#f2f4f7;color:#97a2ae}.unknown-measurement{color:#a5b9cd;font-size:27px;padding:8px 0}.unknown-measurement span{font-size:11px;margin-left:10px}.photo-actions button:disabled,.photo-slot:disabled{opacity:.6;cursor:wait}.score small{font-size:10px}
.camera-description{font-size:13px;line-height:1.8;color:#666;margin-bottom:12px}.camera-status{font-size:12px;color:#666;line-height:1.8;margin-bottom:12px}.camera-status:empty{display:none}.camera-preview{background:#edf5ff;border:1px solid var(--line);border-radius:6px;overflow:hidden;margin-bottom:10px}.camera-preview video,.camera-preview img{display:block;width:100%;max-height:50dvh;object-fit:contain}.camera-guide{font-size:12px;color:#777;line-height:1.8;margin-bottom:14px}.camera-review{display:flex;align-items:center;gap:10px}.camera-review button{flex:1;margin:0;min-height:46px}#camera-dialog{max-height:calc(100dvh - 32px);overflow-y:auto}

.tongue-map svg{display:block;width:100%;height:auto;overflow:visible}.tongue-map figcaption{text-align:center;color:#999;font-size:10px;line-height:1.5;margin-top:1px}.tongue-labels{font-family:"PingFang SC","Microsoft YaHei",sans-serif;font-size:9px;font-weight:500}.tongue-motion{transform-box:fill-box;transform-origin:50% 75%;animation:tongue-breathe 4.5s ease-in-out infinite}@keyframes tongue-breathe{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-2px) scale(1.018)}}@media(prefers-reduced-motion:reduce){.tongue-motion{animation:none;transform:none}}
.questionnaire{background:white;border-radius:8px;margin-bottom:16px;padding:14px}.questionnaire summary{color:var(--blue);font-size:15px;font-weight:600;cursor:pointer}.questionnaire summary span{display:block;color:#777;font-size:11px;font-weight:400;margin-top:4px}.questionnaire-note{font-size:12px;color:#777;line-height:1.8;margin-top:10px}.questionnaire-note a,a.questionnaire-note{color:#367bd4}.questionnaire-branch{border:0;padding:12px 0;margin:10px 0 0}.questionnaire-branch legend{font-size:13px}.questionnaire-branch label{display:inline-flex;gap:5px;align-items:center;margin-right:18px;font-size:13px}.questionnaire input{accent-color:var(--blue)}.questionnaire-item{border:0;border-bottom:1px solid var(--line);padding:10px 0 14px;margin:16px 0 0;min-width:0}.questionnaire-item legend{font-size:13px;line-height:1.7;padding:0}.questionnaire-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.questionnaire-options label{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding:8px 0;background:#f5f9ff;border-radius:4px;font-size:12px;cursor:pointer}.questionnaire-options label:has(input:checked){background:#e4efff;color:#286dde}.questionnaire-options input{margin:0;width:16px;height:16px}.constitution-scores{border-collapse:collapse;width:100%;font-size:13px;text-align:left}.constitution-scores caption{text-align:left;color:var(--blue);font-weight:600;margin-bottom:8px}.constitution-scores td,.constitution-scores th{padding:8px;border-bottom:1px solid var(--line)}.constitution-scores thead{background:#f5f9ff}.constitution-scores tbody th{font-weight:400}

.photo-grid,.report-photos{grid-template-columns:1fr}.photo-slot{height:240px}.report-photo{max-width:100%;margin-left:0;margin-right:0}

.literature-sources,.literature-quote{margin-top:14px;font-size:12px;color:#666}.literature-sources summary,.literature-quote summary{color:var(--blue);cursor:pointer}.literature-sources ol{padding-left:20px}.literature-sources li{margin:10px 0;overflow-wrap:anywhere}.literature-sources a{color:#367bd4;text-decoration:none}.literature-sources small{display:block;color:#888;margin-top:4px}.literature-quote blockquote{margin:10px 0;padding:10px;border-left:2px solid var(--line);background:#f5f9ff;overflow-wrap:anywhere}

/* Report analysis follows the compact blue-and-white mini-program layout. */
.analysis-heading{font-size:14px;font-weight:500;color:#6a819a;padding:18px 4px 9px;letter-spacing:0}
.analysis-card{padding:22px 0 8px;border-radius:6px;margin-bottom:0;overflow:hidden}
.analysis-card .section-ribbon{min-width:112px;padding:7px 22px;text-align:center;font-size:17px;line-height:1.5;border-radius:0 5px 5px 0}
.analysis-subsection{margin:22px 18px 0;padding-top:22px;border-top:1px dashed #9cc3ff}
.analysis-subsection>.section-ribbon{margin-left:-18px}
.analysis-card>.analysis-subsection:first-child{margin-top:0;padding-top:0;border-top:0}
.analysis-metrics{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:18px 22px 0}
.analysis-metrics>div{display:flex;align-items:baseline;gap:10px;padding:12px 0;border-bottom:1px solid #edf2f8;min-width:0}
.analysis-metrics dt{font-size:14px;color:#888;flex:none}
.analysis-metrics dd{font-size:16px;color:#333;margin:0;overflow-wrap:anywhere}
.analysis-copy{padding:20px 22px 18px;font-size:16px;line-height:1.9;color:#333;overflow-wrap:anywhere}
.analysis-subsection .analysis-copy{padding:20px 4px 12px}
.analysis-result{font-size:18px;font-weight:500;line-height:1.7;color:var(--blue)}
.analysis-note{font-size:14px;color:#777;margin-top:10px}
.analysis-intro{color:var(--blue);font-size:16px;line-height:1.9;padding:22px 22px 10px}
.analysis-list{list-style:decimal;margin:8px 22px 18px;padding-left:24px;color:#333;font-size:16px;line-height:1.9;overflow-wrap:anywhere}
.analysis-list li{padding:4px 0 4px 2px}
.analysis-subsection .analysis-intro{padding-left:4px;padding-right:4px}
.analysis-subsection .analysis-list{margin-left:4px;margin-right:4px}
.analysis-advice strong{font-size:16px;font-weight:600}
.analysis-advice p{font-size:15px;margin:4px 0 10px;color:#555;line-height:1.9}
.analysis-photo{margin:6px 22px 14px;padding-top:12px;border-top:1px solid #edf2f8;color:var(--blue);font-size:13px}
.analysis-photo summary{cursor:pointer;padding:4px 0}
.analysis-photo .report-photos{padding:14px 0 0}
.analysis-photo .report-photo img{height:auto;max-height:320px;object-fit:contain;background:#f5f9ff}
@media(max-width:360px){.analysis-copy,.analysis-intro{padding-left:18px;padding-right:18px}.analysis-list{margin-left:18px;margin-right:18px;font-size:15px}.analysis-metrics{margin-left:18px;margin-right:18px;column-gap:8px}.analysis-metrics dt{font-size:12px}.analysis-metrics dd{font-size:14px}.analysis-result{font-size:17px}}

/* Four observed attributes, direct photo preview and separate report cards. */
.analysis-section{padding-top:14px;padding-bottom:0}
.analysis-section .analysis-heading{background:var(--blue);color:white;text-align:center;font-size:23px;font-weight:600;line-height:1.5;padding:12px 8px;border-radius:10px 10px 0 0;margin:0;letter-spacing:1px}
.analysis-section .analysis-card{border-radius:10px;margin-bottom:14px;padding-top:24px;padding-bottom:10px}
.analysis-section .analysis-heading+.analysis-card{border-radius:0 0 10px 10px}
.analysis-section .section-ribbon{border-radius:0;clip-path:polygon(0 0,100% 0,95% 100%,0 100%);min-width:140px;padding:6px 25px 6px 20px;line-height:1.65;font-size:18px}
.analysis-section .analysis-copy{padding:22px 20px 16px;font-size:17px;line-height:1.8}
.analysis-section .analysis-result{font-size:20px;line-height:1.7}
.report-conclusion-text{background:#edf5ff;color:var(--blue);border-radius:4px;padding:12px 14px;font-size:18px;line-height:1.8}
.analysis-section .analysis-note{font-size:14px;line-height:1.8;margin-top:12px}
.analysis-section .analysis-intro{font-size:17px;line-height:1.85;padding:24px 20px 12px}
.analysis-section .analysis-list{font-size:17px;line-height:1.9;margin:6px 20px 22px;padding-left:24px}
.analysis-section .analysis-list li{padding-top:4px;padding-bottom:4px}
.analysis-section .analysis-subsection{margin:24px 20px 0;padding-top:24px;border-color:#81b1ff}
.analysis-section .analysis-subsection>.section-ribbon{margin-left:-20px}
.analysis-section .analysis-subsection .analysis-intro{padding-left:0;padding-right:0}
.analysis-section .analysis-subsection .analysis-list{margin-left:0;margin-right:0}
.analysis-section .analysis-subsection:first-child{margin-top:0;padding-top:0}
.analysis-section .analysis-advice strong{font-size:17px}
.analysis-section .analysis-advice p{font-size:16px;color:#555}
.report-photo-card .report-photos{padding:22px 20px 8px}
.report-photo-card .report-photo img{height:220px;object-fit:contain;background:#f5f9ff}
.report-photo-card .report-photo button{border-radius:10px;border:1px solid #e2edfa}
.report-photo-card .report-photo figcaption{color:#555;font-size:15px;margin-top:9px}
.report-photo-hint{color:#888;font-size:12px;text-align:center;padding:0 16px 10px}
.report-metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 14px}
.report-metric-card{background:white;border-radius:10px;padding:18px 14px;min-width:0;display:flex;flex-direction:column}
.report-metric-heading{display:flex;align-items:center;justify-content:space-between;gap:6px}
.report-metric-heading h3{font-size:22px;font-weight:500;line-height:1.5}
.report-metric-status{font-size:11px;color:#4a88df;background:#edf5ff;padding:2px 5px;border-radius:3px;white-space:nowrap}
.report-metric-status.needs-review{color:#666;background:#f1f3f6}
.report-metric-value{color:var(--blue);font-size:17px;line-height:1.7;margin:8px 0 16px;overflow-wrap:anywhere}
.report-metric-options{display:flex;flex-wrap:wrap;align-content:flex-start;gap:6px;margin-top:auto}
.report-metric-options span{border:1px solid #c4daff;border-radius:3px;color:#6199ef;background:white;font-size:12px;padding:3px 7px;line-height:1.5}
.report-metric-options .selected{background:var(--blue);border-color:var(--blue);color:white}
@media(max-width:360px){.analysis-section .analysis-heading{font-size:21px}.analysis-section .analysis-copy,.analysis-section .analysis-intro{padding-left:16px;padding-right:16px}.analysis-section .analysis-result{font-size:18px}.analysis-section .analysis-list{font-size:16px;margin-left:16px;margin-right:16px}.report-metric-grid{gap:10px}.report-metric-card{padding:15px 10px}.report-metric-heading h3{font-size:20px}.report-metric-status{font-size:10px;padding:2px 4px}.report-metric-value{font-size:16px}.report-metric-options span{padding:3px 5px;font-size:11px}}

.education-note{color:#666;font-size:14px;line-height:1.85;margin-bottom:20px}
.meridian-education h4,.observation-plan h4,.hours-education h4{font-size:17px;font-weight:600;line-height:1.7}
.meridian-pairs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.meridian-pairs>div{display:flex;justify-content:center;align-items:center;gap:12px;padding:10px 4px;background:#edf5ff;color:#4c8ee8;border-radius:5px;font-size:16px}
.meridian-pairs b{font-size:16px;font-weight:400;color:#8db6f0}
.meridian-relation{margin:24px 0 20px;text-align:center}
.meridian-relation svg{display:block;width:100%;max-width:280px;margin:0 auto}
.meridian-relation figcaption,.traditional-clock figcaption{font-size:12px;color:#888;margin-top:10px;text-align:center}
.meridian-reading{padding:14px 0;border-top:1px dashed #b1cefa}
.meridian-reading summary{color:var(--blue);font-size:17px;font-weight:500;cursor:pointer}
.meridian-reading p{font-size:15px;line-height:1.9;color:#555;margin-top:12px}
.plan-steps{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.observation-plan .plan-steps li{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:10px;row-gap:10px;padding:16px;border:1px solid #dce8f5;border-radius:8px;background:#fff}
.observation-plan .plan-steps li>div{display:contents}
.observation-plan .plan-time{color:var(--blue);font-size:13px;font-weight:600;line-height:24px;padding:0 9px;background:#edf5ff;border-radius:4px;white-space:nowrap}
.observation-plan .plan-steps h4{margin:0;font-size:16px;line-height:1.5}
.observation-plan .plan-steps p{grid-column:1/-1;font-size:15px;line-height:1.8;color:#555;margin:0;overflow-wrap:anywhere}
.observation-plan .education-note{margin:0 0 16px}
.observation-plan .secondary-button{margin-top:18px}
.plan-footnote{font-size:12px;color:#888;line-height:1.8;margin-top:10px}
.current-hour{background:#edf5ff;border:1px solid #c2d9ff;border-radius:6px;padding:14px;color:#4b88df}
.current-hour>span{font-size:12px;color:#7494c0}
.current-hour h4{margin-top:4px}
.current-hour p{font-size:14px;color:#666;line-height:1.8;margin-top:8px}
.traditional-clock{margin:24px 0 4px}
.traditional-clock svg{display:block;width:100%;height:auto;overflow:visible}
.hour-sector path{fill:#edf5ff;stroke:#79aaff;stroke-width:1.2}
.hour-sector text{text-anchor:middle;dominant-baseline:middle;fill:#4b8dec;font-family:"Microsoft YaHei","PingFang SC",sans-serif}
.hour-sector .clock-time{font-size:11px;fill:#6c92c7}
.hour-sector .clock-organ{font-size:18px;font-weight:500}
.hour-sector .clock-name{font-size:13px}
.hour-sector.current path{fill:var(--blue)}
.hour-sector.current .clock-organ,.hour-sector.current .clock-name{fill:white}
.traditional-clock circle{fill:white;stroke:#79aaff;stroke-width:1.5}
.clock-center{text-anchor:middle;fill:var(--blue);font-size:22px;font-weight:600}
@media(max-width:360px){.plan-steps li{grid-template-columns:60px minmax(0,1fr);gap:10px}.meridian-pairs{gap:8px}.meridian-pairs>div{font-size:14px;gap:8px}}

/* Illustrated report cards and readable, uncropped meridian figures. */
.pending-panel{padding:18px;background:#f5f8fc;border:1px dashed #c4d5eb;border-radius:4px;margin:14px 0}
.pending-panel h4,.module-subtitle,.meridian-slot h4,.assessment-slot h4{font-size:18px;line-height:1.7;color:var(--blue);font-weight:500}
.pending-panel p{font-size:16px;line-height:1.85;color:#657487;margin-top:8px}
.pending-label{display:inline-block;font-size:12px;color:#66788e;background:#e9eff6;padding:2px 8px;border-radius:3px;margin-bottom:8px}
.module-subtitle{margin-top:24px}.meridian-slot{margin-top:24px;padding-top:20px;border-top:1px dashed #b1cefa}
.pending-figure{min-height:270px;display:flex;flex-direction:column;justify-content:center;text-align:center;align-items:center}
.reference-photo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pending-photo{height:220px;background:#f5f8fc;border:1px dashed #c4d5eb;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#657487;border-radius:10px}
.pending-photo small{font-size:12px;margin-top:10px}.assessment-slot+.assessment-slot{margin-top:26px}
.pending-scale{display:flex;gap:3px;height:12px;margin-top:16px}.pending-scale span{flex:1;background:#e2eaf4}
.product-slots{padding:8px 20px 18px}.product-slot{display:grid;grid-template-columns:80px minmax(0,1fr);gap:16px;padding:24px 0;border-bottom:1px solid #e4edf8}
.product-slot:last-child{border-bottom:0}.product-image-placeholder{height:90px;display:grid;place-content:center;text-align:center;background:#f5f8fc;border:1px dashed #c4d5eb;color:#8190a3;font-size:14px;line-height:1.8}
.product-slot-copy{min-width:0}.product-slot-copy h4{font-size:18px;color:var(--blue);line-height:1.7}.product-slot-copy p{font-size:15px;color:#657487;line-height:1.8;margin:8px 0}
.pending-purchase{display:block;font-size:13px;background:#edf1f6;color:#748398;border:1px solid #d5deea;padding:7px 12px;border-radius:4px;cursor:not-allowed}.product-slot-copy .product-quantity{font-size:13px}
.syndrome-checkpoints{margin-top:18px;border-top:1px solid #e4edf8;padding-top:16px}
@media(max-width:360px){.pending-photo,.report-photo-card .reference-photo-pair .report-photo img{height:180px}.product-slot{grid-template-columns:65px minmax(0,1fr);gap:12px}.product-slots{padding-left:16px;padding-right:16px}}
.profile-icon{overflow:hidden;flex:none}.profile-icon img{width:100%;height:100%;object-fit:cover}
.summary-main{gap:12px}.profile{min-width:0}.profile small{line-height:1.6}.score{flex:none;padding-left:16px}.score span{font-size:54px}.score small{display:block;max-width:110px;line-height:1.6;margin-top:5px}.summary>p{margin-top:5px}
.conclusion-observations{font-size:15px;line-height:1.9;color:#555;margin-top:14px}
#prevention p{font-size:17px;line-height:1.9}
#prevention .analysis-note{color:#444}
.tendency-profile{display:block;padding:4px 0 20px}
.tendency-portrait{display:none}
.tendency-profile+.tendency-profile{padding-top:20px;border-top:1px dashed #b1cefa}
.tendency-portrait img,.tendency-portrait svg{display:block;width:100%;height:auto;max-height:150px;object-fit:contain}
.tendency-profile-copy{min-width:0;overflow-wrap:anywhere}.tendency-profile-copy h3{font-size:20px;font-weight:500;color:var(--blue);line-height:1.7;margin-bottom:8px}
.tendency-profile-copy>p{font-size:15px;line-height:1.85;color:#555}
.tendency-profile-copy .tendency-keywords,.tendency-keywords{font-size:14px;line-height:1.8;color:var(--blue);margin-top:10px}
.tendency-profile-copy .tendency-feature-label{font-size:12px;line-height:1.8;color:#888;margin-top:10px}
.profile-reading-note{font-size:12px;line-height:1.8;color:#888;padding-top:12px;border-top:1px solid #edf2f8}
.tendency-overview{display:grid;grid-template-columns:64px minmax(0,1fr);gap:16px;align-items:center;padding:4px 0 12px;overflow-wrap:anywhere}
.observation-seal{height:80px;display:grid;place-items:center;background:#edf5ff;border-radius:6px;color:var(--blue);font-family:SimSun,serif;font-size:36px}
.atlas-intro{font-size:18px;color:var(--blue);font-weight:500}.atlas-note{font-size:12px;color:#888;line-height:1.8;margin-top:8px}
.meridian-atlas-entry{padding-top:22px;margin-top:22px;border-top:1px dashed #b1cefa}.meridian-atlas-entry h4{font-size:18px;font-weight:500;color:var(--blue)}
.atlas-description{font-size:14px;line-height:1.85;color:#555;margin-top:8px}
.meridian-atlas-entry figure{margin:18px 0 12px}.meridian-atlas-entry figure button{display:block;width:100%;background:white;padding:0}
.meridian-atlas-entry figure img{width:100%;height:auto;max-width:380px;margin:0 auto;object-fit:contain}
.meridian-atlas-entry figcaption{text-align:center;font-size:11px;color:#888;line-height:1.8;margin-top:12px}
.meridian-atlas-entry .meridian-reading{padding-bottom:0}.acupoint-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.acupoint-list span{background:#edf5ff;color:#518bdd;font-size:13px;padding:4px 9px;border-radius:3px}
@media(max-width:390px){.summary{padding:14px 16px}.profile{gap:8px}.profile strong{font-size:14px}.score span{font-size:46px}.score{padding-left:12px}.profile small{font-size:10px}.tendency-profile{grid-template-columns:78px minmax(0,1fr);gap:12px}.tendency-profile-copy h3{font-size:18px}.tendency-profile-copy>p{font-size:14px}.report-nav a{font-size:13px}.tendency-overview{grid-template-columns:52px minmax(0,1fr);gap:12px}}

.report-meridian-frame{display:block;width:100%;height:1100px;border:1px solid #e0eaf2;border-radius:6px;margin:24px 0;background:#f2f7fc}.atlas-browse-link{display:block;color:var(--blue);font-size:16px;line-height:1.8;padding:12px 0}

.wellness-check fieldset{min-width:0;border:0;border-top:1px solid #e4edf8;margin:20px 0 0;padding:16px 0}
.wellness-check legend{font-size:16px;line-height:1.8;color:#444;padding-right:8px}
.wellness-options{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.wellness-options label{display:flex;align-items:center;gap:8px;padding:10px 14px;background:#edf5ff;border:1px solid #c2d9ff;border-radius:5px;font-size:15px;cursor:pointer}
.wellness-options label:has(input:checked){border-color:var(--blue);color:var(--blue)}
.wellness-options input{accent-color:var(--blue)}
#wellness-result{border-top:1px dashed #b1cefa;padding-top:16px;overflow-wrap:anywhere}
#wellness-result .analysis-list{margin-left:20px;margin-right:0}
.wellness-resources details{padding:16px 0;border-bottom:1px solid #e4edf8}
.wellness-resources summary{color:var(--blue);font-size:16px;line-height:1.8;cursor:pointer}
.wellness-resources details p{margin-top:12px}
.wellness-resource-card{display:grid;grid-template-columns:72px minmax(0,1fr);gap:16px;margin:0 20px;padding:24px 0;border-bottom:1px solid #e4edf8}
.wellness-resource-icon{height:82px;display:grid;place-items:center;background:#edf5ff;border:1px solid #c2d9ff;border-radius:5px;color:var(--blue);font-size:30px;font-family:SimSun,serif}
.wellness-resource-card h4{color:var(--blue);font-size:18px;font-weight:500;line-height:1.7;margin-bottom:8px}
.wellness-resource-card p{color:#657487;font-size:15px;line-height:1.85;margin-top:8px;overflow-wrap:anywhere}
.wellness-resource-card .analysis-note{font-size:13px}
@media(max-width:360px){.wellness-resource-card{grid-template-columns:56px minmax(0,1fr);gap:12px;margin-left:16px;margin-right:16px}.wellness-resource-icon{height:68px}}

/* Meridian figures flow with the report instead of an independent scrolling view. */
.meridian-reader-details>summary{cursor:pointer;color:var(--blue);padding:12px 0}
.inline-meridian-figures{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:22px 0 16px;background:#f6f9fd;padding:12px 6px;border-radius:4px}
.inline-meridian-figure{margin:0 auto;min-width:0;width:100%;max-width:360px}.inline-meridian-figure svg{display:block;width:100%;height:auto}.inline-meridian-figure figcaption{text-align:center;color:#70849d;font-size:12px;line-height:1.7;margin-top:8px}
.inline-meridian-route{fill:none;stroke:var(--blue);stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round}.inline-meridian-point{fill:white;stroke:var(--blue);stroke-width:1.5}.inline-point-leader{fill:none;stroke:#81a9de;stroke-width:1}.inline-point-label{font-size:12px;fill:#397ac7;stroke:white;stroke-width:3;paint-order:stroke;font-family:"Microsoft YaHei",sans-serif}
.inline-acupoints{border-top:1px solid #dce7f5;padding:14px 0}.inline-acupoints summary{color:var(--blue);font-size:16px;cursor:pointer}.inline-acupoints ul{list-style:none;padding:0;margin:14px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.inline-acupoints li{padding:10px;background:#f5f8fc;min-width:0;overflow-wrap:anywhere}.inline-acupoints strong{font-size:15px;font-weight:500}.inline-acupoints small{font-size:12px;color:#70849d}.inline-acupoints p{font-size:13px;line-height:1.8;color:#657487;margin-top:6px}.inline-meridian-pairs p{background:#edf5ff;color:var(--blue);padding:12px;margin-top:14px;font-size:16px}
@media(max-width:360px){.inline-meridian-figures{gap:6px;padding:10px 0}.inline-meridian-figure figcaption{font-size:11px}.inline-acupoints ul{gap:8px}}

.inline-acupoints h5{color:var(--blue);font-size:16px;font-weight:500;line-height:1.8;margin:0}.inline-meridian-figure+.inline-meridian-figure{padding-top:18px;border-top:1px solid #e0eaf2}

.care-projects{padding:8px 20px 18px}
.care-project-card{display:grid;grid-template-columns:40px minmax(0,1fr);gap:16px;padding:22px 0;border-bottom:1px solid #e4edf8}
.care-project-card:last-child{border-bottom:0}
.care-project-number{color:var(--blue);font-size:24px;line-height:1.4}
.care-project-category{color:#657487;font-size:13px}
.care-project-card h4{color:var(--blue);font-size:18px;line-height:1.7;margin:4px 0 8px}
.care-project-card p{font-size:15px;color:#657487;line-height:1.85;overflow-wrap:anywhere}
.medicine-image-link{display:block;align-self:start;background:white}
.medicine-product-image{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.syndrome-presets{background:white;margin:0 0 18px;border:1px solid #dce7f4;border-radius:8px;overflow:hidden}.syndrome-presets>summary{padding:18px 22px;color:#24496e;font-weight:600;cursor:pointer;line-height:1.7}.syndrome-presets>summary>span{display:block;padding-left:17px;font-size:12px;color:#667e96;font-weight:400}.preset-intro{padding:0 22px;color:#536a83;font-size:13px;line-height:1.8}.preset-list{padding:0 16px}.preset-entry{margin:14px 0;padding:16px;border:1px solid #e3edf8;border-radius:6px;line-height:1.8;font-size:13px;color:#536a83;overflow-wrap:anywhere}.preset-entry.preset-matched{border-left:3px solid #367edc;background:#f6faff}.preset-heading h4{margin:0;color:#24496e;font-size:15px}.preset-heading>span{display:inline-block;padding:2px 8px;margin-top:6px;border-radius:4px;background:#edf5ff;font-size:12px;color:#397ac7}.preset-source{font-size:12px;color:#667e96}.preset-source-link{display:inline-block;margin:0 22px 20px;color:#2365b9;font-size:13px}.atlas-library{margin:16px 0 22px;padding:18px;background:#f2f7ff;border:1px solid #dce7f4;border-radius:6px}.atlas-library h4{margin:0 0 8px;color:#24496e;font-size:15px}.atlas-library p{font-size:13px;line-height:1.8}.atlas-library-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;background:#367edc;color:white;border-radius:5px;text-decoration:none;font-size:14px;line-height:1.5}.atlas-library>span{display:block;margin-top:10px;font-size:12px;color:#667e96}.atlas-library-link:focus-visible,.syndrome-presets>summary:focus-visible{outline:3px solid #81a9de;outline-offset:3px}
.symptom-questions{margin:20px 0}.symptom-questions fieldset{border:0;border-bottom:1px solid #e3edf8;padding:0 0 18px;margin:0 0 18px;min-width:0}.symptom-questions legend{padding:0;margin-bottom:12px;color:#24496e;font-size:15px;line-height:1.7}.symptom-questions legend>span{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-right:8px;border-radius:50%;background:#edf5ff;color:#367edc;font-size:12px}.symptom-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.symptom-options label{position:relative;cursor:pointer;min-width:0}.symptom-options input{position:absolute;opacity:0;width:1px;height:1px}.symptom-options label>span{display:block;padding:11px 4px;border:1px solid #dce7f4;border-radius:6px;text-align:center;font-size:14px;color:#536a83;background:#fff}.symptom-options input:checked+span{background:#edf5ff;border-color:#367edc;color:#2365b9;font-weight:600}.symptom-options input:focus-visible+span{outline:3px solid #81a9de;outline-offset:3px}.symptom-evidence{margin:14px 0;color:#536a83;font-size:13px;line-height:1.8}.symptom-evidence summary{cursor:pointer;color:#367edc}.symptom-evidence a{color:#2365b9}.symptom-review .secondary-button{margin-top:10px}.symptom-review #symptom-progress{color:#2365b9}
.wellness-resource-card:has(.medicine-product-image){grid-template-columns:100px minmax(0,1fr);margin:0;padding:24px 0}
@media(max-width:360px){.care-projects{padding-left:16px;padding-right:16px}.care-project-card{grid-template-columns:30px minmax(0,1fr);gap:12px}.wellness-resource-card:has(.medicine-product-image){grid-template-columns:80px minmax(0,1fr);gap:12px}}

/* Preserve conditional advice as separate, readable scenarios. */
.care-project-card p,.analysis-advice p,.analysis-copy p,.plan-steps p,.advice-copy p{white-space:pre-line}

.reference-meridian-route{fill:none;stroke:#4c8ee8;stroke-width:1.6;opacity:.75}
.reference-meridian-legend{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0;font-size:13px;color:#657487}.reference-meridian-legend span{padding:4px 7px;background:#edf5ff;border-radius:3px}
.plan-steps h5{font-size:15px;line-height:1.7;margin:14px 0 4px;color:#4c8ee8}

.reference-meridian-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.reference-meridian-tabs button{border:1px solid #dce7f5;background:white;color:#657487;padding:8px 10px;font:inherit;font-size:14px;border-radius:4px;cursor:pointer}.reference-meridian-tabs button[aria-pressed="true"]{background:#edf5ff;border-color:var(--blue);color:var(--blue)}.reference-meridian-tabs button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.reference-meridian-point{fill:white;stroke:#4c8ee8;stroke-width:1.5}

.monthly-plan progress{width:100%;accent-color:var(--blue)}.monthly-days{list-style:none;padding:0;margin:20px 0;max-height:520px;overflow:auto}.monthly-days li{padding:14px 8px;border-bottom:1px solid #e0eaf2}.monthly-days label{display:flex;gap:10px;align-items:center;font-size:16px;cursor:pointer}.monthly-days input{width:20px;height:20px;accent-color:var(--blue)}.monthly-days p,.monthly-reminder{white-space:pre-line;font-size:15px;line-height:1.9}.monthly-today,.monthly-reminder{background:#edf5ff}.monthly-reminder{padding:12px}.monthly-message{color:var(--blue)}

.illustrated-advice{padding:16px 24px}.illustrated-advice-card,.assessment-illustrated{display:grid;grid-template-columns:92px minmax(0,1fr);gap:18px;align-items:start;padding:20px 0;border-bottom:1px solid #dce7f5}.illustrated-advice-card:last-child,.assessment-illustrated:last-child{border-bottom:0}.advice-illustration{margin:0;max-width:110px;background:#f3f8ff;border-radius:6px;padding:5px}.advice-illustration svg{display:block;width:100%;height:auto}.advice-illustration figcaption{font-size:11px;color:#70849d;text-align:center;line-height:1.6}.illustrated-advice-card h4{font-size:18px;color:#243b53;margin:0 0 10px}.illustrated-advice-card p{font-size:16px;line-height:1.9;margin:10px 0;overflow-wrap:anywhere}.assessment-illustrated .analysis-result{font-size:19px}.assessment-illustrated h4{margin-top:0}.assessment-illustrated p{line-height:1.9}.plan-steps p{line-height:1.9}
@media(max-width:420px){.illustrated-advice{padding:12px 16px}.illustrated-advice-card,.assessment-illustrated{grid-template-columns:70px minmax(0,1fr);gap:12px}.illustrated-advice-card h4{font-size:17px}.advice-illustration figcaption{font-size:10px}}

.feature-illustration{margin:10px auto;width:90px}.feature-illustration svg{display:block;width:100%}.feature-illustration figcaption{font-size:10px;color:#70849d;text-align:center;line-height:1.6}.report-metric-options{display:none}

.body-side-label{font-size:10px;fill:#63716c;font-family:"Microsoft YaHei",sans-serif}.report-meridian-map .inline-meridian-figures{background:#faf7ef}.report-meridian-map .inline-meridian-figure{max-width:440px}

/* Ordinary meal examples and independent nutrition reading. */
.activity-card .advice-illustration{align-self:start;max-width:none}
.wellness-photo-figure{align-self:start}.meal-illustration .wellness-photo{display:block;width:100%;aspect-ratio:1;height:auto;border-radius:7px;overflow:hidden}.wellness-photo-figure figcaption{font-size:11px;line-height:1.6;color:#70849d;text-align:center;margin-top:6px;overflow-wrap:anywhere}.nutrition-photo-card .nutrition-card-heading{align-items:flex-start;gap:8px}.nutrition-photo-card .nutrition-card-heading>span{width:28px;height:28px;font-size:16px;border-radius:4px}.nutrition-photo-card .nutrition-card-heading h4{line-height:1.6}
.photo-score-method{padding:10px 20px 16px;color:#526e8e;font-size:13px;line-height:1.8}.photo-score-method summary{cursor:pointer}.photo-score-method p{margin-top:8px}
.feature-index{margin:16px 0 20px;min-width:0}.index-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;font-size:15px;color:#355776}.index-heading span{font-size:12px;color:#70849d}.index-scale{padding:0 16px;margin:38px 0 12px}.index-track{height:6px;position:relative;background:#bfd8f7;border-radius:3px}.index-track i{position:absolute;width:8px;height:8px;top:-1px;border:2px solid #5893d8;background:white;border-radius:50%;transform:translateX(-50%)}.index-marker{position:absolute;top:-32px;transform:translateX(-50%);border-radius:12px;padding:2px 7px;white-space:nowrap;background:#e2efff;color:#347cce;font-size:15px}.index-marker small{font-size:10px;margin-left:2px}.index-ticks{display:flex;justify-content:space-between;font-size:11px;color:#70849d;margin:10px -4px 0}.index-legend{display:flex;justify-content:space-between;font-size:11px;color:#70849d;margin-top:5px}.feature-index .analysis-note{font-size:12px;line-height:1.7}
.meal-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:18px;padding:22px 0;border-bottom:1px solid #e3edf8}.meal-card:last-child,.nutrition-card:last-child{border-bottom:0}.meal-illustration{margin:0}.meal-illustration svg{display:block;width:100%;height:auto}.meal-illustration figcaption{font-size:12px;color:#7d8fa4;text-align:center;line-height:1.6;margin-top:6px}.meal-card-copy h4,.nutrition-card h4,.wellness-plan h4{margin:0 0 12px;color:#24496e;font-size:17px}.meal-card-copy p,.nutrition-card p{font-size:16px;line-height:1.9;margin:10px 0}.meal-card-copy strong,.nutrition-card strong{font-weight:600;color:#3d5875}.nutrition-card{padding:22px 0;border-bottom:1px solid #e3edf8}.nutrition-card-heading{display:flex;align-items:center;gap:12px;margin-bottom:14px}.nutrition-card-heading>span{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:7px;background:#edf5ff;color:#4886d5;font-size:22px;flex-shrink:0}.nutrition-card-heading h4{margin:0}.wellness-plan .analysis-list{margin:16px 0 0}.meal-card-copy .analysis-note,.nutrition-card .analysis-note{font-size:14px;color:#6c7f94}
@media(max-width:420px){.meal-card{grid-template-columns:78px minmax(0,1fr);gap:12px}.meal-card-copy h4,.nutrition-card h4{font-size:16px}.meal-card-copy p,.nutrition-card p{font-size:15px}.meal-card-copy .analysis-note,.nutrition-card .analysis-note{font-size:13px}}

/* Report meridians: anatomy, surface routes and organ relationships stay separate. */
.meridian-figure-title{font:600 23px "Microsoft YaHei",sans-serif;fill:#684e34}
.meridian-figure-subtitle{font:11px "Microsoft YaHei",sans-serif;fill:#786b59}
.meridian-organ>path:first-child{fill:#c98779;fill-opacity:.52;stroke:#a46e60;stroke-width:1}
.meridian-organ-paired>path:first-child{fill:#d8b18a;fill-opacity:.55;stroke:#a58a68}
.meridian-organ text{font:12px "Microsoft YaHei",sans-serif;fill:#704e43;stroke:#faf7ef;stroke-width:3;paint-order:stroke}
.meridian-organ .organ-relation-leader{fill:none;stroke:#8a7565;stroke-width:1;stroke-dasharray:3 3}
.organ-region-note{font:9px "Microsoft YaHei",sans-serif;fill:#7e776b}
.candidate-meridian-figure{margin-top:22px;padding-top:16px;border-top:1px solid #d9dfd8}
.analysis-copy .candidate-map-status{display:inline-block;padding:5px 9px;background:#eee7d8;color:#725b37;font-size:13px}
.report-meridian-map .inline-meridian-route{stroke-width:3.2}
.report-meridian-map .inline-meridian-point{fill:#faf7ef;stroke-width:1.8}

.meridian-organ-context>path:first-of-type{fill:#b4afa2;fill-opacity:.27;stroke:#9d998f;stroke-width:.7}
.meridian-organ-primary>path:first-of-type{fill:#c97c6e;fill-opacity:.72;stroke:#9e5b50;stroke-width:1.2}
.meridian-organ-paired>path:first-of-type{fill:#d4ae7c;fill-opacity:.65;stroke:#a3855e;stroke-width:1}
.meridian-organ text{font-size:11px}

.meridian-overview .inline-meridian-route{stroke-width:1.8}
.meridian-overview .inline-meridian-point{r:1.7;stroke-width:1}
.meridian-overview .reference-meridian-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;font-size:12px}

/* Feature cards pair a short reading with a categorical color/shape illustration. */
.report-metric-card .report-feature-body{display:grid;grid-template-columns:minmax(0,1fr) 72px;gap:12px;align-items:start;margin-top:6px}
.report-feature-copy{min-width:0;grid-column:1;grid-row:1}
.report-feature-copy .feature-reading{margin:0 0 12px;font-size:15px;line-height:1.8;color:#66788b;text-align:left;overflow-wrap:anywhere}
.report-feature-copy .feature-reading:last-child{margin-bottom:0}
.report-feature-body .feature-illustration{width:72px;margin:0;grid-column:2;grid-row:1}
.report-feature-body .feature-illustration figcaption{margin-top:8px;font-size:11px;line-height:1.5;color:#8191a3}
.feature-color-column{padding-top:4px}
.feature-color-row{display:grid;grid-template-columns:30px 24px 14px;align-items:center;height:35px}
.feature-color-label{font-size:11px;line-height:1.2;color:#7a8999;text-align:right;padding-right:5px}
.feature-color-block{display:block;height:35px;border-left:1px solid #e2dce0;border-right:1px solid #e2dce0}
.feature-color-row:first-child .feature-color-block{border-radius:10px 10px 0 0;border-top:1px solid #e2dce0}
.feature-color-row:last-child .feature-color-block{border-radius:0 0 10px 10px;border-bottom:1px solid #e2dce0}
.feature-color-arrow{color:var(--blue);font-size:15px;line-height:1;text-align:center}
.feature-color-row.is-current .feature-color-label{color:var(--blue);font-weight:600}
.feature-miniatures{display:grid;gap:10px}
.feature-miniature svg{display:block;width:72px;height:69px}
.feature-miniature>span{display:block;color:#568ede;font-size:12px;text-align:center;line-height:1.5}
@media(max-width:420px){
  .report-metric-grid{gap:10px}
  .report-metric-card{padding:16px 12px}
  .report-metric-heading h3{font-size:21px}
  .report-metric-status{font-size:10px;padding:3px 5px}
  .report-metric-value{font-size:18px;line-height:1.5}
  .report-metric-card .report-feature-body{display:flow-root}
  .report-feature-copy .feature-reading{font-size:14px;line-height:1.75}
  .report-feature-body .feature-illustration{width:58px;float:right;margin:0 0 6px 7px}
  .feature-color-row{grid-template-columns:25px 20px 13px;height:32px}
  .feature-color-block{height:32px}
  .feature-color-label{font-size:10px;padding-right:3px}
  .feature-miniature svg{width:58px;height:56px}
}
@media(max-width:360px){
  .report-feature-body .feature-illustration{float:none;margin:0 auto 12px}
  .feature-miniatures{grid-template-columns:58px;justify-content:center}
}

/* One two-column grid for four appearance traits and the two feature indices. */
.index-marker::after{content:"";position:absolute;left:50%;top:100%;transform:translateX(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #347cce}
.report-six-grid .index-metric-card{display:flex;border:0;margin:0;padding:18px 14px}
.report-six-grid .index-metric-card .feature-index{margin:16px 0 18px}
.report-six-grid .index-heading{display:block;font-size:14px}
.report-six-grid .index-heading span{display:block;margin-top:5px;font-size:11px}
.report-six-grid .index-scale{padding:0 14px;margin:38px 0 10px}
.report-six-grid .index-track i:nth-of-type(2),.report-six-grid .index-track i:nth-of-type(3),.report-six-grid .index-track i:nth-of-type(4),.report-six-grid .index-track i:nth-of-type(5){display:none}
.report-six-grid .index-ticks span:not(:first-child):not(:last-child){visibility:hidden}
.report-six-grid .index-legend{font-size:10px}
.report-six-grid .feature-index .analysis-note{font-size:12px;line-height:1.6;margin:10px 0 0;color:#8191a3}
.index-card-reading{display:flow-root}
.report-six-grid .index-card-reading .advice-illustration{float:right;width:48px;padding:3px;margin:0 0 6px 8px;background:none}
.report-six-grid .index-card-reading .advice-illustration figcaption{display:none}
.report-six-grid .index-card-reading .analysis-result{font-size:16px;line-height:1.6;margin:0 0 10px;color:var(--blue)}
.report-six-grid .index-card-reading p{font-size:15px;line-height:1.8;color:#66788b;margin:0 0 12px;overflow-wrap:anywhere}
.report-six-grid .index-capture-hint{font-size:12px;line-height:1.7;color:#8191a3;margin:12px 0 0;padding-top:10px;border-top:1px solid #e4edf7}
.six-grid-note{font-size:12px;line-height:1.7;margin:0 8px 18px;color:#7a8ba0}
#file-error{white-space:pre-line;overflow-wrap:anywhere}
@media(max-width:420px){
  .report-six-grid .index-metric-card{padding:16px 12px}
  .report-six-grid .index-metric-card .report-metric-heading{gap:4px;flex-wrap:wrap}
  .report-six-grid .index-card-reading p{font-size:14px;line-height:1.75}
  .report-six-grid .index-card-reading .analysis-result{font-size:15px}
  .report-six-grid .index-legend{font-size:9px}
}

/* Advice without a suitable, unique photo uses the full text width. */
.illustrated-advice-card.advice-text-only{grid-template-columns:minmax(0,1fr)}

/* Compact six-card readings keep every cell aligned; full text opens separately. */
.report-six-grid{grid-auto-rows:1fr}
.report-six-grid .report-feature-body{display:flex;flex:1;flex-direction:column;justify-content:space-evenly;gap:12px}
.report-six-grid .report-feature-body .feature-illustration{float:none;width:100%;margin:0;min-height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.report-six-grid .feature-miniatures{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.report-six-grid .feature-miniature svg{width:52px;height:50px}
.report-six-grid .feature-color-column{display:flex;justify-content:center;padding-top:0}
.report-six-grid .feature-color-row{display:flex;flex-direction:column;width:28px;height:70px;position:relative;gap:5px}
.report-six-grid .feature-color-label{font-size:10px;padding:0;text-align:center}
.report-six-grid .feature-color-block{width:28px;height:24px;border:0;border-radius:0}
.report-six-grid .feature-color-row:first-child .feature-color-block{border:0;border-radius:8px 0 0 8px}
.report-six-grid .feature-color-row:last-child .feature-color-block{border:0;border-radius:0 8px 8px 0}
.report-six-grid .feature-color-arrow{transform:rotate(90deg);font-size:13px;line-height:1}
.report-six-grid .feature-illustration figcaption{margin-top:2px}
.report-six-grid .feature-reading{font-size:14px;line-height:1.75}
.report-six-grid .index-card-reading p{font-size:14px;line-height:1.75}
.report-six-grid .index-card-reading{display:grid;grid-template-columns:28px minmax(0,1fr);gap:6px;align-items:center}
.report-six-grid .index-card-reading .advice-illustration{float:none;width:28px;margin:0;padding:0}
.report-six-grid .index-card-reading .analysis-result{margin:0;font-size:14px}
.report-six-grid .index-card-reading p:not(.analysis-result){grid-column:1/-1;margin:0}
.report-six-grid .index-metric-card .feature-index{margin:12px 0}
.report-six-grid .index-scale{margin-top:30px;margin-bottom:8px}
.report-six-grid .feature-index>.analysis-note{display:none}
.feature-detail-button{display:block;margin-top:auto;padding:14px 0 0;border:0;background:none;color:#4385d5;font-size:13px;text-align:left;cursor:pointer}
.feature-detail-button:focus-visible{outline:2px solid #4385d5;outline-offset:3px}

/* Advice is one continuous surface, with content directly below each heading. */
.analysis-section.advice-unified{background:#fff;border-radius:10px;overflow:hidden}
.analysis-section.advice-unified .analysis-heading{margin-bottom:0}
.analysis-section.advice-unified>.analysis-card{margin:0;border-radius:0;padding-top:22px;padding-bottom:10px}
.analysis-section.advice-unified>.analysis-card+.analysis-card{border-top:1px solid #e5edf6}
.analysis-section.advice-unified .analysis-subsection{border-top:0;margin-top:0;padding-top:0}
.analysis-section.advice-unified .care-overview{padding-bottom:18px}
.care-overview h4{margin:0 0 10px;color:#29465e;font-size:18px}
.care-overview p{margin:0}

/* Readable report introduction with a separate icon and text column. */
.summary .summary-tip{display:flex;align-items:flex-start;gap:10px;border-radius:14px;padding:12px 14px;font-size:13px;line-height:1.8}
.summary-tip>span{flex:none;margin:0;font-size:20px;line-height:1.5}
.summary-tip-copy{min-width:0}
.summary-tip-copy strong{display:block;font-size:14px;font-weight:600;color:#997950}
.summary-tip-copy p{margin:4px 0 0;color:#947e61;font-size:13px;line-height:1.8;overflow-wrap:anywhere}

/* Use the meal-card layout consistently for advice photographs. */
.advice-unified{--advice-photo-width:112px;--advice-photo-gap:18px}
.advice-unified .illustrated-advice{padding:0 20px}
.advice-unified .analysis-subsection>.illustrated-advice{padding:0}
.advice-unified .illustrated-advice-card:not(.advice-text-only),.advice-unified .meal-card{grid-template-columns:var(--advice-photo-width) minmax(0,1fr);gap:var(--advice-photo-gap);align-items:start;padding:22px 0}
.advice-unified .illustrated-advice-card>div,.advice-unified .meal-card-copy{min-width:0}
.advice-unified .illustrated-advice-card>.advice-illustration,.advice-unified .meal-card>.advice-illustration,.advice-unified .meal-card>.meal-illustration{width:100%;max-width:none;margin:0;padding:0;background:none;border-radius:0}
.advice-unified .wellness-photo-figure .wellness-photo{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:7px;overflow:hidden}
.advice-unified .wellness-photo-figure figcaption{font-size:12px;line-height:1.6;color:#7d8fa4;margin-top:6px;text-align:center}
.advice-unified .illustrated-advice-card h4{margin:0 0 12px;font-size:17px;line-height:1.6;color:#24496e}
.advice-unified .illustrated-advice-card p{font-size:16px;line-height:1.9;margin:10px 0}
.advice-unified .nutrition-card-heading{display:block;margin-bottom:12px}
.advice-unified .nutrition-card-heading>span{display:none}
@media(max-width:420px){.advice-unified{--advice-photo-width:78px;--advice-photo-gap:12px}.advice-unified .illustrated-advice-card h4{font-size:16px}.advice-unified .illustrated-advice-card p{font-size:15px}}
@media(max-width:360px){.advice-unified .illustrated-advice{padding-left:16px;padding-right:16px}}


/* Reference mini-program report: compact header, visual summary and aligned cards. */
#report-view{--report-space:16px;--report-text:#374b60}
#report-view .report-demo{padding:6px 12px;font-size:11px;line-height:1.6}
#report-view .summary{padding:12px 16px 10px}
#report-view .summary-tip{align-items:center;gap:8px;padding:7px 10px;border-radius:6px}
#report-view .summary-tip>span{font-size:18px}
#report-view .summary-tip-copy strong{font-size:12px;line-height:1.5}
#report-view .summary-tip-copy p{font-size:11px;line-height:1.5;margin:2px 0 0}
#report-view .summary-main{gap:12px;padding:15px 0 10px}
#report-view .profile{gap:9px;min-width:0}
#report-view .profile-icon{width:42px;height:42px;flex:none;overflow:hidden;border:2px solid white}
#report-view .profile-icon img{width:100%;height:100%;object-fit:cover}
#report-view .profile strong{font-size:14px}
#report-view .profile small{font-size:11px;margin-top:3px}
#report-view .score{padding-left:14px;border-left:1px solid #b6d4f7;flex:none}
#report-view .score span{font-size:50px;letter-spacing:-2px;font-variant-numeric:tabular-nums}
#report-view .score b{font-size:13px;margin-left:5px}
#report-view .score small{font-size:10px}
.summary-meta{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-top:1px solid #cbdff5;padding-top:8px;color:#708ba8}
#report-view .summary-meta>p{font-size:11px;text-align:left;flex:1}
#report-view .summary-meta .photo-score-method{margin:0;padding:0;font-size:11px;max-width:48%}
.summary-meta .photo-score-method[open]{max-width:55%}
.summary-meta .photo-score-method p{font-size:11px;line-height:1.7;margin-top:6px}
#report-view .report-nav a{font-size:14px;padding:12px 0}
#report-view .report-content{padding:0 10px}
#report-view .analysis-section{padding-top:10px}
#report-view .analysis-heading{font-size:20px;padding:9px 8px;border-radius:5px 5px 0 0}
#report-view .analysis-card{padding-top:16px;padding-bottom:4px;margin-bottom:10px;border-radius:5px}
#report-view .analysis-heading+.analysis-card{border-radius:0 0 5px 5px}
#report-view .section-ribbon{font-size:15px;min-width:108px;padding:4px 20px 4px 14px}
#report-view .analysis-copy{padding:16px;font-size:15px;line-height:1.8;color:var(--report-text)}
#report-view .analysis-note{font-size:13px;line-height:1.75}
#report-view #prevention .analysis-note{font-size:15px;line-height:1.8}
#report-view .conclusion-summary{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:12px;align-items:start}
.conclusion-summary-copy{min-width:0}
#report-view .report-conclusion-text{font-size:17px;line-height:1.65;padding:9px 10px;border-radius:3px}
.conclusion-summary-copy>p{margin:10px 0 0;font-size:14px;line-height:1.8}
.conclusion-summary-visual .feature-illustration{width:82px;margin:0;padding:8px 4px;background:#fff8f3;border-radius:5px}
.conclusion-summary-visual .feature-miniature svg{width:64px;height:64px}
.conclusion-summary-visual .feature-miniature span{font-size:11px}
.conclusion-summary-visual figcaption{font-size:10px;line-height:1.5;margin-top:5px;color:#8997a6}
#report-view .report-photo-card .report-photos{padding:16px 0 6px;gap:10px}
#report-view .reference-photo-pair{align-items:start}
#report-view .reference-photo-pair .report-photo img{width:100%;height:auto;max-height:none;background:transparent}
#report-view .reference-photo-pair .pending-photo{height:160px}
#report-view .report-photo-card .report-photo button{display:block;padding:0;border:0;border-radius:0;background:transparent}
#report-view .report-photo-card .report-photo figcaption{font-size:13px;margin-top:6px}
#report-view .report-photo-hint{font-size:11px;padding-bottom:8px}
#report-view .report-six-grid{gap:8px;margin-bottom:10px;grid-auto-rows:auto}
#report-view .report-six-grid .report-metric-card{border-radius:5px;padding:13px 11px}
#report-view .report-metric-heading{align-items:center;gap:4px}
#report-view .report-metric-heading h3{font-size:17px;line-height:1.5}
#report-view .report-metric-status{font-size:10px;padding:2px 4px}
#report-view .report-metric-value{font-size:15px;line-height:1.6;margin:7px 0 10px;min-height:24px}
#report-view .report-six-grid .report-feature-body{display:flow-root;flex:0 0 auto;min-height:0}
#report-view .report-feature-copy{grid-column:1;grid-row:1}
#report-view .report-six-grid .feature-reading{font-size:13px;line-height:1.75;margin:0 0 7px}
#report-view .report-six-grid .report-feature-body .feature-illustration{display:block;float:right;width:58px;min-height:0;margin:0 0 8px 10px}
#report-view .report-six-grid .feature-color-column{display:block}
#report-view .report-six-grid .feature-color-row{display:grid;grid-template-columns:26px 18px 12px;width:58px;height:25px;gap:0}
#report-view .report-six-grid .feature-color-label{font-size:9px;padding-right:3px;text-align:right;line-height:1.2}
#report-view .report-six-grid .feature-color-block{width:18px;height:25px;border-radius:0}
#report-view .report-six-grid .feature-color-row:first-child .feature-color-block{border-radius:5px 5px 0 0}
#report-view .report-six-grid .feature-color-row:last-child .feature-color-block{border-radius:0 0 5px 5px}
#report-view .report-six-grid .feature-color-arrow{transform:none;font-size:12px}
#report-view .report-six-grid .feature-miniatures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 2px}
#report-view .report-six-grid .feature-miniatures:has(>.feature-miniature:only-child){grid-template-columns:1fr}
#report-view .report-six-grid .feature-miniature svg{width:28px;height:32px;max-width:100%}
#report-view .report-six-grid .feature-miniature:only-child svg{width:48px;height:52px}
#report-view .report-six-grid .feature-miniature span{font-size:9px;line-height:1.5}
#report-view .report-six-grid .feature-illustration figcaption{font-size:9px;margin-top:5px;line-height:1.5}
#report-view .report-six-grid .index-metric-card{gap:0}
#report-view .report-six-grid .feature-index{margin:9px 0}
#report-view .report-six-grid .index-heading{display:flex;align-items:baseline;justify-content:space-between;font-size:12px;gap:3px}
#report-view .report-six-grid .index-heading span{font-size:10px;margin:0}
#report-view .report-six-grid .index-scale{margin-top:30px;padding:0 12px}
#report-view .report-six-grid .index-marker{font-size:13px}
#report-view .report-six-grid .index-ticks,#report-view .report-six-grid .index-legend{font-size:10px}
#report-view .report-six-grid .index-card-reading .analysis-result{font-size:13px;line-height:1.6}
#report-view .report-six-grid .index-card-reading p:not(.analysis-result){font-size:13px;line-height:1.75;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
#report-view .feature-detail-button{font-size:11px;min-height:36px;padding-top:10px;border-top:1px solid #edf3fa;margin-top:auto}
#report-view .advice-unified{border-radius:5px;--advice-photo-width:86px;--advice-photo-gap:13px}
#report-view .advice-unified>.analysis-card{margin:0;border-radius:0;padding-top:16px;padding-bottom:4px}
#report-view .advice-unified .illustrated-advice{padding:0 16px}
#report-view .advice-unified .analysis-subsection>.illustrated-advice{padding:0}
#report-view .advice-unified .illustrated-advice-card,#report-view .advice-unified .meal-card{padding:16px 0;gap:13px}
#report-view .advice-unified .illustrated-advice-card h4,#report-view .advice-unified .meal-card h4{font-size:16px;line-height:1.6;margin:0 0 8px;color:#2a557d}
#report-view .advice-unified .illustrated-advice-card p,#report-view .advice-unified .meal-card p{font-size:14px;line-height:1.8;margin:7px 0}
#report-view .advice-unified .wellness-photo{border-radius:4px}
#report-view .advice-unified .wellness-photo-figure figcaption{font-size:10px;line-height:1.5;margin-top:5px}
#report-view .advice-unified .meal-card-copy strong{color:#547591;font-weight:500}
#report-view .advice-unified .care-overview h4{font-size:16px;margin-bottom:8px}
#report-view .advice-unified .care-overview p{font-size:14px;line-height:1.8}
#report-view .advice-unified .analysis-subsection{margin:12px 16px 0;padding-top:12px}
#report-view .advice-unified .analysis-subsection>.section-ribbon{margin-left:-16px}
#report-view .advice-unified .care-overview{padding-bottom:10px}
@media(max-width:390px){
  #report-view .summary{padding-left:12px;padding-right:12px}
  #report-view .profile strong{font-size:13px}
  #report-view .profile small{font-size:10px}
  #report-view .score span{font-size:44px}
  #report-view .score small{font-size:10px}
  #report-view .conclusion-summary{grid-template-columns:minmax(0,1fr) 68px;gap:9px}
  .conclusion-summary-visual .feature-illustration{width:68px}
  .conclusion-summary-visual .feature-miniature svg{width:54px;height:58px}
  #report-view .report-six-grid .report-metric-card{padding:11px 9px}
  #report-view .report-six-grid .report-feature-body{grid-template-columns:minmax(0,1fr) 51px;gap:5px}
  #report-view .report-six-grid .report-feature-body .feature-illustration{width:51px}
  #report-view .report-six-grid .feature-color-row{grid-template-columns:23px 17px 11px;width:51px}
  #report-view .report-six-grid .feature-color-block{width:17px}
  #report-view .advice-unified{--advice-photo-width:72px;--advice-photo-gap:11px}
  #report-view .advice-unified .illustrated-advice-card,#report-view .advice-unified .meal-card{gap:11px}
}

@media(max-width:360px){
  #report-view .report-six-grid .report-feature-body{display:flex;flex-direction:column;gap:8px;align-items:stretch}
  #report-view .report-six-grid .report-feature-body .feature-illustration{width:100%;min-height:76px;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0}
  #report-view .report-six-grid .feature-color-column{display:flex;justify-content:center}
  #report-view .report-six-grid .feature-color-row{display:flex;flex-direction:column;width:21px;height:54px;gap:3px}
  #report-view .report-six-grid .feature-color-label{font-size:9px;padding:0;min-height:12px;text-align:center}
  #report-view .report-six-grid .feature-color-block{width:21px;height:18px;border-radius:0}
  #report-view .report-six-grid .feature-color-row:first-child .feature-color-block{border-radius:4px 0 0 4px}
  #report-view .report-six-grid .feature-color-row:last-child .feature-color-block{border-radius:0 4px 4px 0}
  #report-view .report-six-grid .feature-color-arrow{transform:rotate(90deg)}
  #report-view .report-six-grid .feature-miniatures{display:flex;flex-wrap:wrap;justify-content:center;gap:3px}
  #report-view .report-six-grid .feature-miniature svg{width:32px;height:36px}
  #report-view .report-six-grid .feature-reading{font-size:13px;line-height:1.7}
}

/* Keep the complete selected photo visible for checking the capture area. */
#capture-view .photo-slot img{object-fit:contain;background:#f3f7fd}
#capture-view .capture-side-guide{margin:8px 0 12px;line-height:1.7;color:#52657c;font-size:14px}
#capture-view .photo-actions{display:flex;flex-wrap:wrap;gap:8px}

/* Twelve-hour dial: traditional almanac palette, scoped to this module. */
#report-view .hours-education{--hour-paper:#fbf7ee;--hour-ink:#463d32;--hour-muted:#82715e;--hour-line:#d6c7ac;--hour-red:#a34232;background:#fff;border:1px solid #dce8f5;padding:0;border-radius:12px;color:var(--ink)}
.hours-education .hours-heading-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 22px 17px;border-bottom:1px solid #dce8f5}
.hours-education .hours-eyebrow{display:block;font-size:11px;letter-spacing:2px;color:#7494b3;margin-bottom:6px}
#report-view .hours-education .hours-heading-row h3{font:600 24px/1.4 "Songti SC",SimSun,serif;color:var(--blue);letter-spacing:2px;margin:0}
.hours-education .hours-seal{border:1px solid var(--blue);outline:1px solid #4b98f140;outline-offset:3px;border-radius:3px;color:var(--blue);font:16px/1.2 SimSun,serif;writing-mode:vertical-rl;padding:5px 4px;letter-spacing:3px}
#report-view .hours-education>.analysis-copy{padding:18px 20px}
#report-view .hours-education .current-hour{background:#edf5ff;border:1px solid #c2d9ff;border-radius:8px;padding:14px 16px;color:var(--ink)}
.hours-education .hour-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#7494b3}
.hours-education .hour-card-top button{background:transparent;color:var(--blue);font-size:12px;padding:3px;text-decoration:underline;text-underline-offset:3px}
.hours-education .hour-live-label{font-size:11px;color:var(--blue);border:1px solid #4b98f155;border-radius:3px;padding:1px 6px}
.hours-education .hour-card-title{display:flex;align-items:baseline;gap:12px;margin-top:5px}
#report-view .hours-education .hour-card-title h4{font:600 29px/1.4 "Songti SC",SimSun,serif;margin:0;color:var(--blue)}
.hours-education .hour-card-title>span{font-size:16px;color:var(--ink);font-variant-numeric:tabular-nums}
#report-view .hours-education .hour-meridian{font-size:14px;color:#7494b3;margin:2px 0 0;line-height:1.6}
.hours-education .traditional-clock{margin:18px -3px 18px}
.hours-education .traditional-clock svg{overflow:visible}
.hours-education .traditional-clock .clock-rim{fill:#f4ecdc;stroke:var(--hour-line);stroke-width:1}
.hours-education .clock-ticks{stroke:#a99470;stroke-width:.8}
.hours-education .hour-sector{cursor:pointer;outline:none}
.hours-education .hour-sector path{fill:#f9f3e8;stroke:#d8c8aa;stroke-width:.8}
.hours-education .hour-sector:nth-of-type(even) path{fill:#eee3cf}
.hours-education .hour-sector text{fill:#62513d;font-family:"Songti SC",SimSun,serif;pointer-events:none}
.hours-education .hour-sector .clock-time{fill:#62513d;font-family:Arial,"Microsoft YaHei",sans-serif;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:.2px}
.hours-education .hour-sector .clock-organ{font-size:19px;font-weight:600}
.hours-education .hour-sector .clock-name{font-size:12px;fill:#8c785a}
.hours-education .hour-sector.current path{fill:var(--hour-red);stroke:#8b382b}
.hours-education .hour-sector.current .clock-name,.hours-education .hour-sector.current .clock-organ{fill:#fff7e9}
.hours-education .hour-sector.current .clock-time{fill:#a73b0e;font-weight:700}
.hours-education .hour-sector.selected:not(.current) path{fill:#ddc79e;stroke:#7e6340;stroke-width:1.5}
.hours-education .hour-sector:focus-visible path{stroke:#3d3326;stroke-width:2.5}
.hours-education .hour-sector:hover:not(.current) path{fill:#e5d4b4}
.hours-education .traditional-clock .clock-now-dot{fill:#f7dfb0;stroke:none;pointer-events:none}
.hours-education .traditional-clock .clock-inner{fill:#fbf7ee;stroke:#bca783;stroke-width:1}
.hours-education .traditional-clock .clock-inner-line{fill:none;stroke:#d8c8aa;stroke-width:.7}
.hours-education .clock-center{fill:var(--hour-ink);font:600 23px "Songti SC",SimSun,serif;letter-spacing:3px}
.hours-education .clock-center-note{text-anchor:middle;fill:#948369;font:8px "Microsoft YaHei",sans-serif;letter-spacing:2px}
#report-view .hours-education .traditional-clock figcaption{display:flex;align-items:center;justify-content:center;gap:5px;color:#888;font-size:11px;line-height:1.8;margin-top:10px;text-align:center}
.hours-education .hour-legend-dot{display:inline-block;width:6px;height:6px;flex:none;border-radius:50%;background:var(--hour-red)}
.hours-education .hour-care{border-top:1px solid #dce8f5;padding-top:16px}
#report-view .hours-education .hour-care h4{font:600 18px/1.6 "Songti SC",SimSun,serif;color:var(--ink);margin:0 0 12px}
.hours-education .hour-care dl{margin:0;display:grid;gap:12px}
.hours-education .hour-care dl>div{display:grid;grid-template-columns:35px minmax(0,1fr);gap:10px;align-items:start}
.hours-education .hour-care dt{color:var(--blue);font-size:12px;font-weight:600;border-top:1px solid #9fbde3;padding-top:5px;line-height:1.6}
.hours-education .hour-care dd{margin:0;color:#657487;font-size:14px;line-height:1.85}
#report-view .hours-education .hour-culture-note{font-size:11px;line-height:1.8;color:#7494b3;border-top:1px dashed #dce8f5;padding-top:12px;margin:17px 0 0}
@media(max-width:360px){#report-view .hours-education>.analysis-copy{padding:15px 12px}.hours-education .hours-heading-row{padding:18px 15px}.hours-education .hour-care dd{font-size:13px}.hours-education .hour-care dl>div{gap:8px;grid-template-columns:30px minmax(0,1fr)}}

/* Shared reading hierarchy and alignment; diagram labels retain their own scale. */
.app-shell{--ui-title:20px;--ui-module:17px;--ui-card:16px;--ui-body:15px;--ui-note:13px;--ui-caption:12px;--ui-inset:16px;--ui-leading:1.8}
#capture-view .capture-intro{padding-left:var(--ui-inset);padding-right:var(--ui-inset)}
#capture-view .capture-intro h1{font-size:var(--ui-title);line-height:1.5}
#capture-view .capture-intro>p{font-size:var(--ui-body);line-height:var(--ui-leading)}
#capture-view .guide-card,#capture-view .photo-card{padding:var(--ui-inset)}
#capture-view .guide-card h2,#capture-view .photo-card h2{font-size:var(--ui-module);font-weight:600;line-height:1.5;margin-bottom:8px}
#capture-view .guide-card li,#capture-view .capture-side-guide{font-size:var(--ui-body);line-height:var(--ui-leading)}
#capture-view .photo-actions button{font-size:14px;min-height:44px;padding:8px 6px}
#capture-view .photo-hint,#capture-view .tag{font-size:var(--ui-caption)}
#capture-view .file-note:not(.capture-side-guide),#capture-view .demo-notice,#capture-view .demo-notice strong,#capture-view .agreement,#capture-view .status-text,#capture-view .error-message{font-size:var(--ui-note);line-height:var(--ui-leading)}
#capture-view .file-note{margin:10px 0 16px}
#capture-view .photo-use-details{margin-top:6px;font-size:inherit;line-height:inherit}
#capture-view .photo-use-details summary{width:fit-content;color:var(--blue);cursor:pointer}
#capture-view .photo-use-details summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
#capture-view .photo-use-details p{margin:8px 0 0}
#capture-view .capture-side-guide{margin:8px 0 12px}
#report-view .analysis-heading,#report-view .section-title{font-size:var(--ui-title);font-weight:600;line-height:1.5}
#report-view .section-ribbon{font-size:var(--ui-module);font-weight:600;line-height:1.5;padding:5px 20px 5px var(--ui-inset)}
#report-view .analysis-copy,#report-view .analysis-intro{padding:var(--ui-inset);font-size:var(--ui-body);line-height:var(--ui-leading);overflow-wrap:anywhere}
#report-view .analysis-copy>p,#report-view .analysis-intro p,#report-view .body-copy,#report-view .analysis-list,#report-view .plan-steps p{font-size:var(--ui-body);line-height:var(--ui-leading)}
#report-view .analysis-copy>p+p{margin-top:10px}
#report-view .analysis-list{margin:8px var(--ui-inset) 16px;padding-left:22px}
#report-view .analysis-subsection .analysis-list{margin-left:0;margin-right:0}
#report-view .analysis-subsection .analysis-copy{padding-left:0;padding-right:0}
#report-view .analysis-copy h4,#report-view .module-subtitle,#report-view .care-overview h4,#report-view .plan-steps h4{font-size:var(--ui-card);font-weight:600;line-height:1.6;margin-bottom:8px}
#report-view .analysis-copy .analysis-result{font-size:var(--ui-card);line-height:var(--ui-leading)}
#report-view .analysis-copy .analysis-note,#report-view #prevention .analysis-note,#report-view .education-note,#report-view .analysis-copy .education-note{font-size:var(--ui-note);line-height:1.75}
#report-view .report-conclusion-text{font-size:var(--ui-module);line-height:1.65}
#report-view .conclusion-summary-copy>p{font-size:var(--ui-body);line-height:var(--ui-leading);margin-top:10px}
#report-view .conclusion-summary-copy>.analysis-note{font-size:var(--ui-note)}
#report-view .report-metric-heading{align-items:flex-start;flex-wrap:wrap;row-gap:4px}
#report-view .report-metric-heading h3{font-size:var(--ui-card);font-weight:600;line-height:1.5}
#report-view .report-metric-status{font-size:var(--ui-caption);line-height:1.5}
#report-view .report-metric-value{font-size:var(--ui-body);line-height:1.6}
#report-view .report-six-grid .feature-reading,#report-view .report-six-grid .index-card-reading .analysis-result,#report-view .report-six-grid .index-card-reading p:not(.analysis-result){font-size:14px;line-height:1.75}
#report-view .feature-detail-button{font-size:var(--ui-caption);min-height:44px;padding:10px 0;line-height:1.6}
#report-view .advice-unified .illustrated-advice-card,#report-view .advice-unified .meal-card{align-items:start}
#report-view .advice-unified .illustrated-advice-card h4,#report-view .advice-unified .meal-card h4,#report-view .advice-unified .nutrition-card h4{font-size:var(--ui-card);font-weight:600;line-height:1.6;margin:0 0 8px}
#report-view .advice-unified .illustrated-advice-card p,#report-view .advice-unified .meal-card p,#report-view .advice-unified .nutrition-card p,#report-view .advice-unified .care-overview p{font-size:var(--ui-body);line-height:var(--ui-leading);margin:8px 0;overflow-wrap:anywhere}
#report-view .advice-unified .illustrated-advice-card .analysis-note,#report-view .advice-unified .meal-card .analysis-note,#report-view .advice-unified .nutrition-card .analysis-note{font-size:var(--ui-note);line-height:1.75}
#report-view .advice-unified .wellness-photo-figure figcaption{font-size:var(--ui-caption);line-height:1.6}
#report-view .advice-unified .analysis-subsection{margin-left:var(--ui-inset);margin-right:var(--ui-inset)}
#report-view .advice-unified .analysis-subsection>.section-ribbon{font-size:var(--ui-card);margin-left:calc(-1 * var(--ui-inset))}
#report-view .advice-unified .care-overview{padding-bottom:12px}
#report-view .summary-meta{display:flow-root}
#report-view .summary-meta>p{float:left;max-width:calc(100% - 10em);margin:0 12px 0 0;font-size:var(--ui-caption);line-height:1.75}
#report-view .summary-meta .photo-score-method{font-size:var(--ui-caption);line-height:1.75;max-width:100%}
#report-view .summary-meta .photo-score-method[open]{max-width:100%}
#report-view .summary-meta .photo-score-method summary{width:fit-content;margin-left:auto;white-space:nowrap}
#report-view .summary-meta .photo-score-method p{clear:both;padding-top:6px;font-size:var(--ui-note);line-height:1.75}
#report-view .profile small,#report-view .score small,#report-view .report-photo-hint,#report-view .six-grid-note{font-size:var(--ui-caption);line-height:1.6}
#report-view .profile small{overflow-wrap:anywhere}
#report-view .score small{display:block;max-width:120px}
#report-view .hours-education .hours-heading-row{padding:var(--ui-inset);gap:12px}
#report-view .hours-education .hours-heading-row h3{font-family:inherit;font-size:var(--ui-module);line-height:1.5;letter-spacing:0}
#report-view .hours-education>.analysis-copy{padding:var(--ui-inset)}
#report-view .hours-education .hours-eyebrow,#report-view .hours-education .hour-card-top,#report-view .hours-education .hour-card-top button,#report-view .hours-education .hour-live-label{font-size:var(--ui-caption);line-height:1.6}
#report-view .hours-education .hours-eyebrow{letter-spacing:1px}
#report-view .hours-education .hour-card-title h4{font-family:inherit;font-size:24px;line-height:1.5;margin:0}
#report-view .hours-education .hour-card-title>span{font-size:var(--ui-body)}
#report-view .hours-education .hour-meridian{font-size:var(--ui-body);line-height:var(--ui-leading)}
#report-view .hours-education .hour-care h4{font-family:inherit;font-size:var(--ui-card);line-height:1.6}
#report-view .hours-education .hour-care dd{font-size:var(--ui-body);line-height:var(--ui-leading)}
#report-view .hours-education .hour-care dt{font-size:var(--ui-note);line-height:1.6}
#report-view .hours-education .hour-care dl>div{grid-template-columns:30px minmax(0,1fr);gap:10px}
#report-view .hours-education .hour-culture-note,#report-view .hours-education .traditional-clock figcaption{font-size:var(--ui-caption);line-height:1.75}
#detail-dialog,#camera-dialog{max-height:calc(100dvh - 32px);overflow-y:auto}
.dialog-header{align-items:flex-start;gap:12px}
.dialog-header h2{font-size:17px;line-height:1.6;overflow-wrap:anywhere}
.dialog-header .icon-button{width:36px;height:36px}
.dialog-copy,.camera-description{font-size:15px;line-height:1.8;overflow-wrap:anywhere}
.camera-status,.camera-guide{font-size:13px;line-height:1.75}
@media(max-width:360px){#report-view .summary-main{gap:8px}#report-view .score{padding-left:9px}#report-view .score small{max-width:100px}#report-view .summary-meta>p{flex-basis:140px}}

/* Related symptoms are grouped for reading, without changing matched evidence. */
#report-view .manifestation-groups{margin:8px 0 22px;padding:0;display:grid;gap:0}
#report-view .manifestation-group{padding:14px 0;border-bottom:1px solid #e6eef8;min-width:0}
#report-view .manifestation-group:last-child{border-bottom:0}
#report-view .manifestation-group dt{font-size:17px;font-weight:600;line-height:1.5;color:#355776;margin:0 0 6px}
#report-view .manifestation-group dd{font-size:16px;line-height:1.85;color:#333;margin:0;overflow-wrap:anywhere}

/* Keep nested reading titles below module headings. */
#report-view .analysis-copy h3:not(.report-conclusion-text),
#report-view .care-section-title{font-size:var(--ui-card);font-weight:600;line-height:1.6;color:#355776}
#report-view .care-section-title{margin:0;padding:12px var(--ui-inset) 0}
#report-view .care-overview{padding-bottom:8px}
/* Flow follows the selected route; the solid route remains visible underneath. */
.report-meridians .inline-meridian-flow{fill:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:5 22;opacity:.65;pointer-events:none;animation:meridian-flow 3s linear infinite}
@keyframes meridian-flow{from{stroke-dashoffset:54}to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){.report-meridians .inline-meridian-flow{animation:none;display:none}}

/* Product details stay aligned with the existing meal and nutrition cards. */
.recommended-product{display:grid;grid-template-columns:100px minmax(0,1fr);gap:16px;padding:20px var(--ui-inset);align-items:start}
.recommended-product-image{aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:#f4f8fd;border:1px dashed #bfd1e7;border-radius:6px;color:#7c91aa;font-size:var(--ui-body)}
.recommended-product-image small{font-size:var(--ui-caption)}
.recommended-product-copy{min-width:0}
.recommended-product-copy h4{margin:0 0 8px;color:#355776;font-size:var(--ui-card);font-weight:600;line-height:1.6}
.recommended-product-copy p{margin:0;color:#657487;font-size:var(--ui-body);line-height:var(--ui-leading);overflow-wrap:anywhere}
.recommended-product-contact{display:block;max-width:100%;margin-top:14px;padding:9px 12px;border:1px solid #d5e1ee;border-radius:5px;background:#edf3fa;color:#70849d;font-size:var(--ui-note);line-height:1.6;text-align:left;white-space:normal;cursor:not-allowed}
@media(max-width:360px){.recommended-product{grid-template-columns:80px minmax(0,1fr);gap:12px}}

/* Meal recommendations show a short overview; recipes expand on request. */
#report-view .advice-unified .meal-examples .meal-card{--meal-photo-size:88px;display:grid;grid-template-columns:var(--meal-photo-size) minmax(0,1fr);column-gap:12px;row-gap:0;align-items:start;margin:12px 0;padding:12px;border:1px solid #f0e8dd;border-radius:12px;background:#fffbf5}
#report-view .meal-examples .meal-card>.meal-illustration{width:var(--meal-photo-size);margin:0}
#report-view .meal-examples .wellness-photo{border-radius:9px}
#report-view .meal-examples .meal-card-heading{display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;gap:4px}
#report-view .advice-unified .meal-examples .meal-card-heading h4{flex:1 1 140px;min-width:0;margin:0;color:#344a52;font-size:var(--ui-card);line-height:1.5}
#report-view .meal-examples .meal-category{flex:none;padding:2px 6px;border-radius:4px;background:#eaf3ff;color:#4f88cf;font-size:12px;line-height:1.5;white-space:nowrap}
#report-view .advice-unified .meal-examples .meal-summary{margin:6px 0 0;color:#586468;font-size:var(--ui-body);line-height:1.7}
#report-view .meal-examples .meal-details{grid-column:1/-1;min-width:0;margin-top:6px}
#report-view .meal-examples .meal-details summary{margin-left:calc(var(--meal-photo-size) + 12px);width:fit-content;padding:3px 0;color:#527caa;font-size:var(--ui-caption);line-height:1.6;cursor:pointer;list-style:none}
#report-view .meal-examples .meal-details summary::-webkit-details-marker{display:none}
#report-view .meal-examples .meal-details summary:focus-visible{outline:2px solid #4f88cf;outline-offset:3px;border-radius:2px}
#report-view .meal-examples .meal-details[open] summary span{display:inline-block;transform:rotate(90deg)}
#report-view .meal-examples .meal-details-copy{margin-top:10px;padding-top:8px;border-top:1px solid #ebe3d8}
#report-view .advice-unified .meal-examples .meal-details-copy p{margin:6px 0;font-size:var(--ui-note);line-height:1.75;color:#586468}
#report-view .advice-unified .meal-examples .meal-safety-note{margin:12px 0 0;font-size:var(--ui-caption);line-height:1.7;color:#76818a}
@media(max-width:380px){#report-view .advice-unified .meal-examples .meal-card{--meal-photo-size:70px;padding:10px;column-gap:10px}#report-view .meal-examples .meal-details summary{margin-left:calc(var(--meal-photo-size) + 10px)}#report-view .advice-unified .meal-examples .meal-card-heading h4{flex-basis:100%;font-size:15px}#report-view .meal-examples .meal-category{font-size:11px}}

/* Other care cards follow the same compact overview and expandable details. */
#report-view .advice-unified .compact-advice-card{--meal-photo-size:88px;display:grid;grid-template-columns:var(--meal-photo-size) minmax(0,1fr);column-gap:12px;row-gap:0;align-items:start;margin:12px 0;padding:12px;border:1px solid #f0e8dd;border-radius:12px;background:#fffbf5}
#report-view .compact-advice-card>:is(.meal-illustration,.advice-illustration){width:var(--meal-photo-size);margin:0}
#report-view .compact-advice-card .wellness-photo{border-radius:9px}
#report-view .compact-advice-card .meal-card-heading{display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;gap:4px}
#report-view .advice-unified .compact-advice-card .meal-card-heading h4{flex:1 1 100%;min-width:0;margin:0;color:#344a52;font-size:var(--ui-card);line-height:1.5}
#report-view .advice-unified .daily-diet-card .meal-card-heading h4{flex:1 1 140px}
#report-view .compact-advice-card .meal-category{flex:none;padding:2px 6px;border-radius:4px;background:#eaf3ff;color:#4f88cf;font-size:12px;line-height:1.5;white-space:nowrap}
#report-view .advice-unified .compact-advice-card .meal-summary{margin:6px 0 0;color:#586468;font-size:var(--ui-body);line-height:1.7}
#report-view .compact-advice-card .meal-details{grid-column:1/-1;min-width:0;margin-top:6px}
#report-view .compact-advice-card .meal-details summary{margin-left:calc(var(--meal-photo-size) + 12px);width:fit-content;padding:3px 0;color:#527caa;font-size:var(--ui-caption);line-height:1.6;cursor:pointer;list-style:none}
#report-view .compact-advice-card .meal-details summary::-webkit-details-marker{display:none}
#report-view .compact-advice-card .meal-details summary:focus-visible{outline:2px solid #4f88cf;outline-offset:3px;border-radius:2px}
#report-view .compact-advice-card .meal-details[open] summary span{display:inline-block;transform:rotate(90deg)}
#report-view .compact-advice-card .meal-details-copy{margin-top:10px;padding-top:8px;border-top:1px solid #ebe3d8}
#report-view .advice-unified .compact-advice-card .meal-details-copy p{margin:6px 0;font-size:var(--ui-note);line-height:1.75;color:#586468}
#report-view .advice-unified .compact-advice-card .meal-safety-note{margin:12px 0 0;font-size:var(--ui-caption);line-height:1.7;color:#76818a}
@media(max-width:380px){#report-view .advice-unified .compact-advice-card{--meal-photo-size:70px;padding:10px;column-gap:10px}#report-view .compact-advice-card .meal-details summary{margin-left:calc(var(--meal-photo-size) + 10px)}#report-view .advice-unified .compact-advice-card .meal-card-heading h4{flex-basis:100%;font-size:15px}#report-view .compact-advice-card .meal-category{font-size:11px}}

#report-view .advice-unified .compact-advice-card.advice-text-only{grid-template-columns:minmax(0,1fr)}
#report-view .compact-advice-card.advice-text-only .meal-details summary{margin-left:0}
#report-view .compact-advice-card>.meal-card-copy{min-width:0}
#report-view .compact-advice-card>figure figcaption{display:none}
#report-view .activity-recommendation>.meal-safety-note{font-size:var(--ui-caption);color:#76818a;line-height:1.7;margin:10px 0 0}

/* Compact observations match the plain heading and inline result layout. */
#report-view .observation-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;margin-bottom:8px}
#report-view .analysis-copy .observation-heading h4{margin:0;font-size:var(--ui-card);font-weight:600;line-height:1.6}
#report-view .observation-status{color:#5795ef;font-size:var(--ui-body);line-height:1.6;overflow-wrap:anywhere}
#report-view .coating-pattern-card .analysis-copy>p,#report-view .sublingual-card .analysis-copy>p{margin:0;font-size:var(--ui-body);line-height:1.75}
#report-view .sublingual-card .secondary-button{margin-top:12px}

/* Keep the tongue explanation and care direction together, as in the mini app. */
#report-view .meridian-explanation{padding:12px 14px;border:1px solid #c4d9f5;border-radius:7px;background:#f2f7ff}
#report-view .meridian-explanation>p{margin:0;font-size:var(--ui-body);line-height:1.75;overflow-wrap:anywhere}
#report-view .meridian-explanation>.meridian-care-direction{margin-top:6px;color:#5795ef;font-weight:600}
#report-view .meridian-mode-label{display:block;margin-top:6px;color:#788697;font-size:var(--ui-caption);line-height:1.6}
#report-view .analysis-copy>.meridian-follow-label{display:table;margin:22px 0 10px;padding:2px 6px;color:#5795ef;background:#f0f6ff;font-size:var(--ui-note);line-height:1.6}
#report-view .report-meridians .meridian-slot{margin-top:0;padding-top:0;border-top:0}
#report-view .report-meridians .meridian-channel-name{margin:0 0 12px;color:#333;font-size:var(--ui-card);font-weight:600;line-height:1.6}

/* Symptoms use a single numbered list without group headings or separator lines. */
#report-view #manifestations .analysis-subsection{border-top:0;margin-top:18px;padding-top:0}
#report-view #manifestations .manifestation-list{list-style:decimal outside;margin:0 0 22px;padding-left:1.65em;color:#333;font-size:var(--ui-body);line-height:1.85;overflow-wrap:anywhere}
#report-view #manifestations .manifestation-list>li{display:list-item;margin:3px 0;padding:0;border:0;font-size:inherit;line-height:inherit}

#report-view #manifestations .manifestation-list>li::before{display:none;content:none}

/* Align week badges with headings; shared heading margins must not shift the row. */
#report-view .observation-plan .plan-steps h4{margin:0;align-self:center}
#report-view .observation-plan .plan-time{display:inline-flex;align-items:center;justify-content:center;align-self:center}

/* Keep both supplementary observations on one continuous white surface. */
#report-view .report-observation-details{background:#fff;border:0;border-radius:5px;margin-bottom:10px;overflow:hidden}
#report-view .report-observation-details>.analysis-card{margin:0;padding:0;border:0;border-radius:0;box-shadow:none}
#report-view .report-observation-details .analysis-copy{padding:16px}

/* Charcoal, white and orange theme. Observation swatches and index scales retain their meaning. */
:root{--blue:#b83f0b;--accent:#f26322;--ink:#19232d;--muted:#66717c;--pale:#f4f5f6;--line:#e1e5e9;--report-text:#37424d;background:#f4f5f6;color:var(--ink)}
.app-shell{background:var(--pale);border-color:var(--line)}
.app-header{background:#fff1e9;color:#a73b0e;border-color:var(--line)}
.brand-mark,.primary-button{background:var(--accent)}
.primary-button{color:#19232d;font-weight:600}
.primary-button:hover:not(:disabled){background:#e85618}
.primary-button:disabled{background:#e4e7ea;color:#737d87}
button:focus-visible,a:focus-visible,input:focus-visible{outline-color:#b83f0b}
.version-tag,.header-label{border-color:#dfe3e7;color:var(--muted)}
.capture-intro,.capture-content,.summary{background:var(--pale)}
.eyebrow,.plus{color:var(--accent)}
.capture-intro h1,.guide-card h2,.photo-card h2,.profile strong{color:var(--ink)}
.capture-intro>p:not(.eyebrow),.guide-card li,.photo-hint,.file-note,.footer-note,.desktop-footer,.profile small,.summary>p{color:var(--muted)}
.photo-slot{background:#fafafa;border-color:#c9cfd5}
.photo-actions button,.tag.blue,.secondary-button{background:#fff1e9;color:#a73b0e}
.photo-actions button[data-action=remove]{background:#f0f2f4;color:#66717c}
.summary-tip{background:#fff1e9;color:#85431f}
.score,.summary-meta{border-color:var(--line)}
.score small,.summary-meta{color:var(--muted)}
.report-nav{background:#fff;border-color:var(--line)}
.report-nav a{color:#65717c}
.report-nav a.active{color:#b83f0b}
.report-nav a.active::after{background:var(--accent)}
.analysis-section .analysis-heading{background:#fff1e9;color:#a73b0e}
.section-ribbon{background:var(--accent);color:#19232d}
.white-card,.report-metric-card{background:#fff}
.analysis-subsection,.analysis-section .analysis-subsection,.card-divider{border-color:var(--line)}
.conclusion-highlight,.constitution-symbol,.report-conclusion-text{background:#fff1e9;color:#a73b0e}
.blue-title,.analysis-result{color:var(--ink)}
.analysis-intro{color:#4e5964}
.report-metric-heading h3,.observation-heading h4{color:var(--ink)}
.report-metric-status{background:#f1f3f5;color:#596571}
.report-metric-value{color:#a73b0e}
.report-metric-options span,.metric-options span{background:#fff;border-color:#dfe3e7;color:#66717c}
.report-metric-options .selected,.metric-options .selected{background:#19232d;border-color:#19232d;color:#fff}
.feature-detail-button,.detail-link{color:#a73b0e;border-color:var(--line)}
.explanation-box,.health-note,.pending-photo,.empty-photo,.camera-preview{background:#f4f5f6;border-color:var(--line);color:var(--muted)}
.health-note{border-left-color:var(--accent)}
.meridian-pairs>div{background:#f4f5f6;color:var(--ink)}
.meridian-pairs b{color:#b83f0b}
#report-view{--report-text:#37424d}
#report-view .score,#report-view .summary-meta{border-color:var(--line)}
#report-view .analysis-heading{background:#fff1e9;color:#a73b0e}
#report-view .section-ribbon{background:var(--accent);color:#19232d}
#report-view .observation-status,#report-view .meridian-explanation>.meridian-care-direction{color:#a73b0e}
#report-view .meridian-explanation{background:#fafafa;border-color:var(--line)}
#report-view .analysis-copy>.meridian-follow-label{background:#fff1e9;color:#a73b0e}
#report-view .care-section-title,#report-view .manifestation-group dt,.recommended-product-copy h4{color:var(--ink)}
.recommended-product-image{background:#f5f6f7;border-color:#c9cfd5;color:var(--muted)}
.recommended-product-copy p{color:#4e5964}
.recommended-product-contact{background:#f1f3f5;border-color:var(--line);color:#66717c}
#report-view .advice-unified .compact-advice-card,#report-view .advice-unified .meal-examples .meal-card{background:#f7f3ee;border-color:#e7ddd1}
#report-view .advice-unified .compact-advice-card .meal-card-heading h4,#report-view .advice-unified .meal-examples .meal-card-heading h4,#report-view .advice-unified .illustrated-advice-card h4,#report-view .advice-unified .meal-card h4{color:var(--ink)}
#report-view .compact-advice-card .meal-category,#report-view .meal-examples .meal-category{background:#fff1e9;color:#a73b0e}
#report-view .compact-advice-card .meal-details summary,#report-view .meal-examples .meal-details summary{color:#a73b0e}
#report-view .compact-advice-card .meal-details summary:focus-visible,#report-view .meal-examples .meal-details summary:focus-visible{outline-color:#b83f0b}
#report-view .compact-advice-card .meal-details-copy,#report-view .meal-examples .meal-details-copy{border-color:var(--line)}
#report-view .advice-unified .meal-card-copy strong{color:#4e5964}
.hours-education .hour-card,.hours-education .hour-care,.hours-education .hour-care dt{border-color:var(--line)}
.hours-education .hour-card-top,.hours-education .hour-meridian,#report-view .hours-education .hour-culture-note{color:var(--muted);border-color:var(--line)}
#report-view .hours-education .hour-meridian{color:var(--muted)}
.hours-education .hour-live-label{color:#a73b0e;border-color:#edc4b1}
.photo-score-method,.feature-miniature span,.index-heading span,.index-ticks,.index-legend{color:var(--muted)}
#report-view .report-six-grid .report-feature-body .texture-illustration{width:90px}
#report-view .report-six-grid .texture-illustration .feature-miniatures{display:grid;grid-template-columns:1fr;gap:5px}
#report-view .report-six-grid .texture-illustration .feature-miniature{display:flex;align-items:center;justify-content:center;gap:5px}
#report-view .report-six-grid .texture-illustration .feature-miniature svg{width:32px;height:36px;flex:none}
#report-view .report-six-grid .texture-illustration .feature-miniature span{font-size:10px;white-space:nowrap}
#report-view .report-six-grid .texture-illustration figcaption{white-space:nowrap;text-align:center;margin-top:6px}
@media(min-width:1100px){
  #report-view .report-six-grid .report-feature-body .texture-illustration{width:max-content;max-width:116px}
  #report-view .report-six-grid .texture-illustration .feature-miniatures{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}
  #report-view .report-six-grid .texture-illustration .feature-miniature{flex-direction:column;gap:2px}
}
@media(max-width:360px){
  #report-view .report-six-grid .report-feature-body .texture-illustration{width:100%}
  #report-view .report-six-grid .texture-illustration .feature-miniatures{display:flex;flex-wrap:wrap;gap:8px}
  #report-view .report-six-grid .texture-illustration .feature-miniature{flex-direction:column;gap:2px}
}
#report-view .analysis-copy .analysis-result,.index-heading,#report-view .care-overview h4,.nutrition-card strong{color:var(--ink)}
#report-view .hours-education .hours-eyebrow{color:var(--muted)}
#report-view .hours-education .current-hour{background:#f5f6f7;border-color:var(--line)}
.recommended-product-image.product-photo{width:100%;height:auto;object-fit:contain;background:#f7f3ee;border:1px solid #e7ddd1;border-radius:8px;padding:5px}
.recommended-product+.recommended-product{border-top:1px solid var(--line)}
.recommended-product-copy .meal-category{display:inline-block;margin:0 0 8px;padding:2px 6px;background:#fff1e9;color:#a73b0e;border-radius:4px;font-size:var(--ui-caption)}
.recommended-product-copy .product-precautions{margin-top:8px;font-size:var(--ui-note);color:var(--muted)}
.recommended-product-contact.product-contact-link{cursor:pointer;display:inline-block;text-decoration:none;background:#fff1e9;border-color:#edc4b1;color:#a73b0e}
.recommended-product-contact.product-contact-link:hover{background:#ffe4d4}
/* Warm orange index controls match the report theme. */
#report-view .feature-index .index-track{background:#f3ccb7}
#report-view .feature-index .index-track i{border-color:#c45a28}
#report-view .feature-index .index-marker{background:#fff1e9;color:#a73b0e}
#report-view .feature-index .index-marker::after{border-top-color:#c45a28}
#report-view .report-six-grid .shape-combined .feature-miniatures{display:block}
#report-view .report-six-grid .shape-combined .feature-miniature svg{width:64px;height:auto;max-width:100%;margin:0 auto}
#report-view .report-six-grid .shape-combined .feature-miniature span{max-width:100%;margin-top:4px;overflow-wrap:anywhere;line-height:1.6}
#report-view .advice-unified .meal-card>.meal-safety-note,#report-view .advice-unified .compact-advice-card>.meal-safety-note{grid-column:1/-1;min-width:0;margin:10px 0 0;font-size:var(--ui-caption);line-height:1.7;color:var(--muted);overflow-wrap:anywhere}
#report-view .advice-unified .analysis-subsection:has(+.meal-examples) .compact-advice-card:last-child{margin-bottom:0}
#report-view .advice-unified .meal-examples{display:flow-root;margin-top:0;padding-top:0}
#report-view .advice-unified .meal-examples>.meal-card:last-child{margin-bottom:0}
#report-view .advice-unified .meal-examples+.activity-recommendation{display:flow-root;padding-top:0}
/* Illustrated constitution cards follow the reference mini-program layout. */
.constitution-characters{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
#report-view .report-tendency-card .tendency-profile{display:grid;grid-template-columns:112px minmax(0,1fr);column-gap:20px;row-gap:12px;align-items:center;padding:4px 0 16px}
#report-view .report-tendency-card .tendency-profile+.tendency-profile{border-top:1px solid var(--line);padding-top:20px}
#report-view .report-tendency-card .tendency-portrait{display:block;min-width:0;align-self:center}
#report-view .report-tendency-card .tendency-portrait svg{display:block;width:100%;height:auto;max-height:170px}
#report-view .report-tendency-card .tendency-profile-copy h3{display:inline-block;margin:0 0 10px;padding:3px 13px;border-radius:5px;background:#fff0e5;color:#a73b0e;font-size:20px;font-weight:600;line-height:1.6}
#report-view .report-tendency-card .tendency-profile-copy>p{margin:0;color:var(--report-text);font-size:16px;line-height:1.85}
#report-view .report-tendency-card .tendency-keywords{grid-column:1/-1;margin:0;color:#66717c;font-size:14px;line-height:1.8;overflow-wrap:anywhere}
@media(max-width:420px){#report-view .report-tendency-card .tendency-profile{grid-template-columns:86px minmax(0,1fr);column-gap:12px;row-gap:10px}#report-view .report-tendency-card .tendency-profile-copy h3{font-size:18px;margin-bottom:8px;padding:2px 10px}#report-view .report-tendency-card .tendency-profile-copy>p{font-size:14px;line-height:1.8}#report-view .report-tendency-card .tendency-keywords{font-size:13px}}

/* Keep care introductions, card descriptions and expanded prose at one reading size. */
#report-view #advice :is(.care-overview>p,.nutrition-reading>.analysis-copy>.analysis-note,.nutrition-reading .literature-sources p,.compact-advice-card .meal-summary,.meal-examples .meal-summary,.compact-advice-card .meal-details-copy p,.compact-advice-card .meal-details-copy li,.meal-examples .meal-details-copy p,.meal-examples .meal-details-copy li){font-family:inherit;font-size:var(--ui-body);font-weight:400;line-height:var(--ui-leading);color:var(--report-text)}

/* Reduce stacked whitespace between care introductions and their card groups. */
#report-view #advice>.analysis-card:not(.hours-education):not(.product-recommendations){padding-top:12px;padding-bottom:4px}
#report-view #advice .care-overview{padding-bottom:6px}
#report-view #advice .care-overview>p{margin-bottom:0}
#report-view #advice .care-overview+.analysis-subsection{margin-top:0;padding-top:0}
#report-view #advice .care-section-title{padding-top:6px}
#report-view #advice .nutrition-reading>.analysis-copy{padding-top:12px}
#report-view #advice .nutrition-reading>.analysis-copy>.analysis-note{margin-top:0;margin-bottom:8px}
