:root{color-scheme:light;--bg: #eef1f3;--surface: #ffffff;--surface-soft: #f7f8f8;--text: #172126;--muted: #66747c;--line: #cfd7dc;--active: #d24a2f;--active-soft: rgba(210, 74, 47, .12);--focus: #1f6f8b;font-family:Microsoft YaHei,PingFang SC,Noto Sans CJK SC,system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--bg);color:var(--text)}button{font:inherit}button:focus-visible{outline:3px solid rgba(31,111,139,.32);outline-offset:2px}code{font-family:Consolas,SFMono-Regular,monospace;font-size:12px}.app-shell{min-height:100vh;padding:20px 22px 32px}.main-nav{display:flex;gap:8px;margin-bottom:18px;padding:8px;border:1px solid var(--line);border-radius:6px;background:var(--surface);overflow-x:auto}.main-nav button{min-height:38px;flex:0 0 auto;border:1px solid transparent;border-radius:5px;padding:0 14px;color:var(--muted);background:transparent;cursor:pointer}.main-nav button:hover{background:var(--surface-soft);color:var(--text)}.main-nav .active{border-color:#d24a2f47;background:var(--active-soft);color:var(--active);font-weight:700}.app-header{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:12px}.app-header h1{margin:0 0 6px;font-size:28px;line-height:1.18;letter-spacing:0}.app-header p{margin:0;color:var(--muted);font-size:16px}.current-alloy,.science-boundary,.stage-timeline,.panel{border:1px solid var(--line);background:var(--surface)}.current-alloy{flex:0 0 auto;padding:10px 14px;font-weight:700}.cooling-header-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}.demo-button{min-height:40px;border:1px solid rgba(210,74,47,.34);border-radius:5px;padding:0 16px;background:var(--active);color:#fff;font-weight:800;cursor:pointer}.demo-button:hover:not(:disabled){background:#b8422b}.demo-button:disabled{cursor:not-allowed;opacity:.68}.science-boundary{margin:0 0 12px;padding:12px 14px;color:#263238;border-left:5px solid var(--active);line-height:1.55}.stage-path-section{margin-bottom:10px}.stage-path-heading{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin:0 0 8px}.stage-path-heading h2{margin:0;font-size:16px;line-height:1.25}.stage-play-button{width:38px;height:38px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;margin-left:2px;margin-right:0;border:1px solid rgba(210,74,47,.28);border-radius:50%;padding:0;background:#fff;color:var(--active);font-size:16px;font-weight:800;line-height:1;cursor:pointer}.stage-play-button:hover,.stage-play-button.is-playing{background:var(--active-soft)}.stage-timeline{position:relative;display:grid;grid-template-columns:repeat(var(--stage-count, 8),minmax(0,1fr));gap:6px;padding:8px;overflow:hidden;border-radius:6px}.alloy-switcher{display:grid;gap:4px;margin:0 0 8px}.alloy-switcher-row{display:flex;flex-wrap:wrap;gap:4px}.alloy-switcher-row:nth-child(3){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.alloy-switcher button{min-height:28px;border:1px solid var(--line);border-radius:5px;padding:0 7px;background:#fff;color:#263238;font-size:12px;cursor:pointer}.alloy-switcher-row:nth-child(3) button{min-width:0;padding:1px 5px;font-size:12px;line-height:1.18;white-space:normal}.alloy-switcher button:hover{border-color:#1f6f8b61}.alloy-switcher button.active{border-color:#d24a2f5c;background:var(--active-soft);color:var(--active);font-weight:800}.stage-timeline button{position:relative;min-height:50px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:7px;padding:8px;border:1px solid #e0e6e9;border-radius:5px;color:var(--muted);background:#fff;text-align:left;cursor:pointer}.stage-timeline button:hover{background:#f1f4f5}.stage-timeline .active{border-color:#d24a2f57;background:var(--active-soft);color:var(--active);font-weight:700}.stage-number{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#e2e8eb;color:#263238;font-weight:700}.stage-timeline .active .stage-number{background:var(--active);color:#fff}.workspace-grid{display:grid;grid-template-columns:minmax(0,45fr) minmax(280px,30fr) minmax(270px,25fr);gap:14px;align-items:stretch}.right-column{display:grid;grid-template-rows:auto 1fr;gap:14px;min-width:0}.panel{min-width:0;padding:14px;border-radius:6px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.panel-heading h2{margin:0;font-size:17px;line-height:1.25}.panel-heading span{color:var(--active);font-size:13px;font-weight:700;text-align:right}.asset-placeholder{position:relative;min-height:360px;display:grid;place-items:center;padding:28px;border:1px dashed #aebbc2;background:repeating-linear-gradient(-45deg,#f8fafb,#f8fafb 12px,#eef3f5 12px 24px);text-align:center}.asset-placeholder strong,.round-window-placeholder strong{display:block;margin-bottom:8px;font-size:16px}.asset-placeholder p,.round-window-placeholder p{margin:0 0 10px;color:var(--muted);line-height:1.5}.curve-placeholder{min-height:238px}.asset-marker{position:absolute;transform:translate(-50%,-50%);width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border:3px solid #ffffff;border-radius:50%;background:var(--active);box-shadow:0 0 0 2px #d24a2f47}.asset-marker span{position:absolute;top:24px;left:50%;transform:translate(-50%);white-space:nowrap;color:var(--active);font-size:12px;font-weight:700}.round-window-placeholder{width:min(100%,360px);aspect-ratio:1;display:grid;place-items:center;margin:0 auto;padding:34px;border:1px dashed #aebbc2;border-radius:50%;background:#f8fafb;text-align:center}.status-panel{display:flex;flex-direction:column}.status-list{display:grid;gap:8px;margin:0}.status-list div{padding-bottom:8px;border-bottom:1px solid #e4e8ea}.status-list dt{color:var(--muted);font-size:13px;margin-bottom:4px}.status-list dd{margin:0;line-height:1.45}.status-summary{margin:0 0 10px;padding:9px;border-left:4px solid var(--focus);background:var(--surface-soft);line-height:1.45}.status-summary strong{color:#263238}.formula-subscript{font-size:.68em;vertical-align:sub;line-height:0}.cooling-side-panel .status-panel{padding-top:13px;padding-bottom:13px}.status-toggle{min-height:32px;justify-self:start;border:1px solid var(--line);border-radius:5px;padding:0 11px;background:#fff;color:var(--focus);font-weight:700;cursor:pointer}.status-toggle:hover{border-color:#1f6f8b61}.plain-explanation{margin:14px 0 0;padding:12px;line-height:1.55;background:var(--surface-soft);border-left:4px solid var(--focus)}.plain-explanation.secondary{border-left-color:var(--active)}.cooling-workspace{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:14px;align-items:start;margin-bottom:10px}.cooling-side-panel{display:grid;gap:10px;align-content:stretch}.cooling-phase-panel .interactive-phase-svg{border-color:#d9e1e5}.cooling-phase-panel .interactive-phase-svg .is-muted{opacity:.65}.cooling-phase-panel .phase-region.is-highlighted{stroke-width:3}.cooling-overlay-layer{pointer-events:none}.cooling-composition-line{stroke:#d24a2f61;stroke-width:1.2;stroke-dasharray:6 6}.cooling-composition-label,.cooling-current-point text{fill:var(--active);font-size:14px;font-weight:800;paint-order:stroke;stroke:#fffffff2;stroke-width:4px}.cooling-active-interval text{fill:var(--active);font-size:14px;font-weight:800;paint-order:stroke;stroke:#fffffff2;stroke-width:4px}.cooling-active-segment{stroke:var(--active);stroke-width:4;stroke-linecap:round;filter:drop-shadow(0 3px 5px rgba(210,74,47,.18))}.cooling-path-line{fill:none;stroke:#d24a2fc7;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 3px 5px rgba(210,74,47,.18))}.cooling-current-point circle{fill:var(--active);stroke:#fff;stroke-width:4}.cooling-controls{display:flex;justify-content:center;gap:10px;margin:0 0 12px}.cooling-controls button{min-height:38px;border:1px solid var(--line);border-radius:5px;padding:0 16px;color:#263238;background:var(--surface);cursor:pointer}.cooling-controls button:hover:not(:disabled){border-color:#d24a2f61;color:var(--active)}.cooling-controls button:disabled{cursor:not-allowed;opacity:.45}.microstructure-panel{display:grid;align-content:start;padding-bottom:10px}.microstructure-svg{width:min(100%,210px);height:auto;justify-self:center;display:block}.microstructure-image-window{width:94%;max-width:320px;justify-self:center;display:flex;align-items:center;justify-content:center;overflow:visible;border:0;border-radius:0;background:transparent}.microstructure-image-window img{width:100%;height:auto;display:block;object-fit:contain;border-radius:0}.microstructure-image-window picture{display:block;width:100%}.optimized-image-shell{width:100%;display:grid;place-items:center}.optimized-image-shell picture{grid-area:1 / 1}.optimized-image-placeholder{grid-area:1 / 1;min-height:120px;width:100%;display:grid;place-items:center;color:#6c7a80;font-size:14px}.microstructure-placeholder{width:100%;min-height:180px;display:grid;place-items:center;align-content:center;gap:6px;border:1px dashed #c8d2d7;border-radius:6px;background:#f8fafb;color:var(--muted);text-align:center}.microstructure-placeholder strong{color:#263238;font-size:16px}.microstructure-placeholder span{font-size:13px}.micro-window-frame{fill:#f8fafb;stroke:#263238;stroke-width:3}.micro-base{fill:#d5d0c6}.microstructure-liquid .micro-base,.microstructure-liquidDelta .micro-base,.microstructure-peritectic .micro-base{fill:#d7c3a0}.liquid-wash{fill:#fff6da57}.liquid-wash.soft{fill:#b8844e29}.delta-nucleus,.delta-core{fill:#dbe9ef;stroke:#8aa5b2;stroke-width:2}.gamma-rim{fill:#b9cdb9;stroke:#6b8a6d;stroke-width:2}.gamma-grain-fill,.grain{fill:#b9cdb9;stroke:#6b8a6d;stroke-width:1.5}.residual-liquid{fill:#d7c3a0;stroke:#b4824d;stroke-width:2}.delta-island{fill:#dbe9ef;stroke:#8aa5b2;stroke-width:2}.grain-boundary{fill:none;stroke:#5c725f;stroke-width:3}.proeutectoid-alpha{fill:none;stroke:#edf3ef;stroke-width:9;stroke-linecap:round}.proeutectoid-alpha.thin{stroke-width:6}.pearlite-area{fill:url(#pearlite-lines);stroke:#66575a;stroke-width:2}.pearlite-area.strong{stroke-width:2.4}.pearlite-line{stroke:#41383b;stroke-width:2}.pearlite-line.light{stroke:#f1eee8;stroke-width:2.2}.ferrite-area{fill:#edf3ef;stroke:#b7c8bd;stroke-width:2}.microstructure-caption{margin:6px 0 0;color:#253238;font-size:13px;line-height:1.55;text-align:center}.micro-phase-liquid{fill:#f6a8a1}.micro-phase-delta{fill:#f4d77a;stroke:#263238;stroke-width:1.7}.micro-phase-gamma{fill:#2f6f7a;stroke:#8a9199;stroke-width:1.7}.micro-phase-alpha{fill:#bfeff2;stroke:#8a9199;stroke-width:1.7}.micro-liquid-flow{fill:#ffffff2e;animation:microFlow var(--micro-duration, 1s) ease-in-out both}.micro-liquid-flow.soft{fill:#d45a3c21;animation-delay:80ms}.micro-delta-nuclei .micro-phase-delta{transform-box:fill-box;transform-origin:center;animation:microGrow var(--micro-duration, 1s) cubic-bezier(.2,.75,.25,1) both}.micro-delta-nuclei .micro-phase-delta:nth-child(2){animation-delay:.11s}.micro-delta-nuclei .micro-phase-delta:nth-child(3){animation-delay:.21s}.micro-peritectic .rim{transform-box:fill-box;transform-origin:center;animation:microShell var(--micro-duration, 1.2s) ease-out both}.micro-peritectic .core{animation:microFadeIn calc(var(--micro-duration, 1.2s) * .55) ease-out both}.micro-peritectic.reduced .core{opacity:.72}.micro-phase-gamma.expanding{opacity:.82;animation:microFadeIn var(--micro-duration, 1.1s) ease-out both}.micro-grain-network .grain{animation:microFadeIn calc(var(--micro-duration, .9s) * .8) ease-out both}.micro-grain-boundary{fill:none;stroke:#8a9199;stroke-width:3;stroke-linecap:round;stroke-dasharray:360;animation:microDrawBoundary var(--micro-duration, .9s) ease-out both}.boundary-film{fill:none;stroke:#bfeff2;stroke-width:10;stroke-linecap:round;stroke-dasharray:240;animation:microDrawBoundary var(--micro-duration, 1.1s) ease-out both}.boundary-film.thin{stroke-width:6}.micro-alpha-boundaries.final .boundary-film{animation-duration:.5s}.micro-pearlite{stroke:#263238;stroke-width:1.6;transform-box:fill-box;transform-origin:center;animation:microPearliteIn var(--micro-duration, 1.4s) ease-out both}.micro-pearlite-regions .micro-pearlite:nth-child(2){animation-delay:.12s}.micro-pearlite-regions.final .micro-pearlite{animation-duration:.65s}.micro-pearlite-base{fill:#dceff0}.micro-pearlite-line{stroke:#3f3f3f;stroke-width:2}.micro-pearlite-line.light{stroke:#3f3f3f5c;stroke-width:1.7}.ferrite-field{animation:microFadeIn .7s ease-out both}.micro-legend{display:flex;flex-wrap:wrap;gap:5px 8px;justify-content:center;margin-top:8px;color:#253238;font-size:11px;line-height:1.3}.micro-legend span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.micro-legend i{width:10px;height:10px;display:inline-block;border:1px solid #8a9199;border-radius:2px}.legend-liquid{background:#f6a8a1}.legend-delta{background:#f4d77a}.legend-gamma{background:#2f6f7a}.legend-alpha{background:#bfeff2}.legend-pearlite{background:repeating-linear-gradient(135deg,#dceff0 0 4px,#3f3f3f 4px 5px)}@keyframes microFlow{0%{transform:translate(-8px);opacity:.35}to{transform:translate(5px);opacity:1}}@keyframes microGrow{0%{transform:scale(.18);opacity:0}to{transform:scale(1);opacity:1}}@keyframes microShell{0%{transform:scale(.45);opacity:0}to{transform:scale(1);opacity:1}}@keyframes microFadeIn{0%{opacity:0}to{opacity:1}}@keyframes microDrawBoundary{0%{stroke-dashoffset:240;opacity:.1}to{stroke-dashoffset:0;opacity:1}}@keyframes microPearliteIn{0%{transform:scale(.62);opacity:0}to{transform:scale(1);opacity:1}}.cooling-curve-svg{width:100%;min-height:210px;display:block;border:1px solid #e1e7ea;border-radius:6px;background:#fbfcfc}.curve-axis{stroke:#263238;stroke-width:1.8}.curve-axis-text{fill:#263238;font-size:4.3px;font-weight:700}.curve-segment-base,.curve-segment{stroke:#314f62;stroke-width:1.7;stroke-linecap:round}.curve-segment-base{opacity:.2}.curve-segment-two{stroke-width:1.5}.curve-segment-three{stroke-width:1.9}.curve-segment.completed{stroke:#314f62}.curve-segment.active{stroke:var(--active);stroke-width:2.8}.curve-point{fill:#f6f8f9;stroke:#9baab2;stroke-width:1.1}.curve-point.active{fill:var(--active);stroke:#fff;stroke-width:2}.curve-node-label{fill:#263238;font-size:4.2px;font-weight:800;paint-order:stroke;stroke:#fff;stroke-width:1.6px}.curve-reaction-note{fill:var(--active);font-size:4px;font-weight:800;paint-order:stroke;stroke:#fff;stroke-width:1.8px}.curve-process-label{fill:#263238;font-size:4px;font-weight:800;paint-order:stroke;stroke:#fff;stroke-width:1.6px}.cooling-workspace+.status-panel{margin-top:0}.real-microstructure-panel{margin-bottom:10px}.real-microstructure-frame{display:grid;place-items:center;min-height:220px;border:1px solid #e1e7ea;border-radius:6px;background:#fbfcfc;overflow:hidden}.real-microstructure-frame img{display:block;width:100%;max-height:420px;object-fit:contain}.real-microstructure-frame picture{display:contents}.real-microstructure-placeholder{min-height:180px;display:grid;place-items:center;border:1px dashed #c8d2d7;border-radius:6px;background:#f8fafb;color:var(--muted)}.real-microstructure-placeholder strong{color:#263238}.home-grid,.knowledge-grid,.guide-grid,.review-grid{display:grid;gap:14px}.home-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-study-note{margin:16px 0 0;color:var(--muted);font-size:15px;text-align:center}.entry-card,.knowledge-card{border:1px solid var(--line);border-radius:6px;background:var(--surface)}.entry-card{min-height:168px;padding:18px;text-align:left;cursor:pointer}.entry-card:hover{border-color:#d24a2f6b;background:#fffefe}.entry-card span{display:block;margin-bottom:12px;color:var(--active);font-size:20px;font-weight:700}.entry-card p,.knowledge-card p{margin:0;color:var(--muted);line-height:1.55}.knowledge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-grid,.review-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.microstructure-overview-section{margin-top:14px}.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.section-title-row h2{margin:0 0 4px;font-size:19px;line-height:1.25}.section-title-row p{margin:0;color:var(--muted);line-height:1.45}.overview-toggle{min-height:34px;flex:0 0 auto;border:1px solid var(--line);border-radius:5px;padding:0 12px;background:#fff;color:var(--focus);font-weight:700;cursor:pointer}.overview-toggle:hover{border-color:#1f6f8b61;background:var(--surface-soft)}.knowledge-card{padding:16px}.knowledge-card h2{margin:0 0 10px;font-size:18px;line-height:1.3}.wide-card{grid-column:1 / -1}.overview-card{display:grid;gap:12px}.overview-figure{margin:0}.overview-figure img{display:block;width:100%;max-width:100%;height:auto;border:1px solid var(--line);border-radius:6px;background:var(--surface-soft)}.overview-figure figcaption{margin-top:7px;color:var(--muted);font-size:13px;text-align:center}.emphasis-note{padding:12px;border-left:4px solid var(--active);background:var(--surface-soft);color:#263238}.study-table{width:100%;border-collapse:collapse;border:1px solid #e1e7ea}.study-table th,.study-table td{padding:12px;border-bottom:1px solid #e1e7ea;text-align:left;vertical-align:top;line-height:1.5}.study-table tr:last-child th,.study-table tr:last-child td{border-bottom:0}.study-table th{width:220px;background:var(--surface-soft);color:#263238}.alloy-table th{width:240px}.line-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}.line-summary div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #e1e7ea;background:var(--surface-soft)}.line-summary span{color:var(--active);font-weight:700}.term-list{display:grid;gap:10px}.term-row{display:grid;grid-template-columns:90px 1fr;gap:10px;align-items:start}.term-row strong{padding-top:7px}.term-row div{display:flex;flex-wrap:wrap;gap:8px}.term-row span{min-height:32px;display:inline-flex;align-items:center;padding:0 10px;border:1px solid #e1e7ea;border-radius:5px;background:var(--surface-soft)}.reaction-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}.reaction-card{min-height:112px;display:grid;align-content:center;gap:10px;padding:14px;border:1px solid rgba(210,74,47,.28);border-left:5px solid var(--active);background:#fffefe}.reaction-card strong{color:#263238}.reaction-card span{color:var(--active);font-size:20px;font-weight:700}.mini-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.mini-card{min-height:132px;padding:12px;border:1px solid #e1e7ea;background:var(--surface-soft)}.mini-card strong{display:block;margin-bottom:6px;color:var(--active);font-size:20px}.mini-card span{display:block;margin-bottom:6px;font-weight:700}.mini-card p{font-size:13px}.fact-list{display:grid;gap:10px}.fact-list section{padding-bottom:10px;border-bottom:1px solid #e4e8ea}.fact-list section:last-child{padding-bottom:0;border-bottom:0}.fact-list strong{display:block;margin-bottom:4px;color:#263238}.tag-grid{display:flex;flex-wrap:wrap;gap:9px}.tag-grid span{display:inline-flex;min-height:34px;align-items:center;padding:0 11px;border:1px solid #e1e7ea;border-radius:5px;background:var(--surface-soft);color:#263238}.guide-card{position:relative;padding-top:54px}.symbol-badge{position:absolute;top:14px;right:14px;min-width:54px;min-height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;border-radius:5px;background:var(--active-soft);color:var(--active);font-weight:700}.compact-list{display:grid;gap:10px;margin:0}.compact-list div{padding-bottom:10px;border-bottom:1px solid #e4e8ea}.compact-list div:last-child{padding-bottom:0;border-bottom:0}.compact-list dt{margin-bottom:4px;color:var(--muted);font-size:13px}.compact-list dd{margin:0;line-height:1.5}.review-card{border-left:5px solid var(--active)}.review-note-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px}.review-note-card{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start}.review-note-card span{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--active-soft);color:var(--active);font-weight:900}.review-image-card{grid-column:1 / -1}.review-image-card h2{margin:0 0 10px;font-size:18px;line-height:1.3}.review-image-card img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain;border:1px solid #e1e7ea;border-radius:6px;background:#fbfcfc}.review-image-card picture{display:block;width:100%}.review-chart-card,.organization-rule-card{margin-top:14px}.carbon-trend-svg{display:block;width:100%;height:auto;margin-top:10px;border:1px solid #e1e7ea;border-radius:6px;background:#fbfcfc}.trend-bg{fill:#fbfcfc}.trend-axis line,.trend-panel line{stroke:#263238;stroke-width:1.7}.trend-axis text,.trend-panel text,.trend-class-row text,.trend-subclass-row text{fill:#263238;font-size:13px;font-weight:800}.trend-axis-title{font-size:16px}.trend-guide{stroke:#26323824!important;stroke-dasharray:4 5}.trend-class-row rect{fill:#1f6f8b1f;stroke:#1f6f8b57}.trend-subclass-row rect{fill:#d24a2f1a;stroke:#d24a2f42}.trend-line{fill:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.pearlite{stroke:#d24a2f}.ferrite,.alpha-phase{stroke:#1f8f9b}.cementite-secondary,.cementite-primary,.fe3c-phase{stroke:#8b5a2b}.ledeburite{stroke:#6b4bb6}.cementite-third{stroke:#9baab2}.organization-rule-card{text-align:center}.organization-rule-card p{margin:0;color:#263238;font-size:20px;font-weight:900;line-height:1.7}.organization-rule-line{display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:9px;white-space:nowrap}.organization-rule-line sub{font-size:.62em;line-height:0}.interactive-basics-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;grid-template-areas:"chart panel" "detail panel";gap:14px;align-items:start}.interactive-chart-card,.topic-panel,.topic-detail{border:1px solid var(--line);border-radius:6px;background:var(--surface)}.interactive-chart-card{grid-area:chart;padding:14px}.chart-caption{margin:9px 0 0;color:var(--muted);font-size:13px;line-height:1.45}.interactive-phase-wrapper{display:grid;gap:10px}.interactive-phase-svg{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:6px;background:#fbfcfc}.chart-mode-toggle{display:inline-flex;gap:4px;padding:3px;border:1px solid var(--line);border-radius:6px;background:var(--surface-soft)}.chart-mode-toggle button{min-height:30px;border:0;border-radius:4px;padding:0 12px;background:transparent;color:var(--muted);cursor:pointer}.chart-mode-toggle button.active{background:var(--active);color:#fff;font-weight:800}.organization-zone-base{fill:#f6f8f9}.organization-zone-liquid{fill:#f6a8a157}.organization-zone-gamma{fill:#2f6f7a26}.organization-zone-cementite{fill:#dcc6a457}.organization-zone-room{fill:#bfeff247}.organization-boundaries path,.organization-boundaries line{fill:none;stroke:#496d86;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.organization-label{fill:#263238;font-size:18px;font-weight:800;paint-order:stroke;stroke:#fffffff0;stroke-width:4px}.organization-low{fill:#8b4a24}.organization-accent{fill:#1f6f8b}.organization-region-label{fill:#8b4a24;font-size:17px;stroke-width:4px}.organization-guide-lines line{stroke:#8b4a246b;stroke-width:1.6;stroke-dasharray:7 6;pointer-events:none}.phase-svg-background{fill:#fbfcfc}.phase-tick-line{stroke:#263238;stroke-width:1}.phase-axis-line{stroke:#263238;stroke-width:2}.phase-axis-label,.phase-axis-title{fill:#263238;font-size:14px}.phase-temp-critical{fill:#c63f2c;font-size:16px;font-weight:900}.phase-temp-accent{fill:#177384;font-size:15px;font-weight:850}.phase-temp-selected{fill:#c63f2c;font-size:17px;font-weight:900}.phase-temp-muted{fill:#26323838;font-weight:500}.phase-axis-title{font-weight:700}.phase-region{stroke:transparent;stroke-width:0;opacity:.72}.phase-region-single{fill:#dbe7e9}.phase-region-two{fill:#eee8db}.phase-line{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:3}.phase-line-liquidus,.phase-line-solidus{stroke:#506f54}.phase-line-reaction{stroke:#c45c45;stroke-width:3.8}.phase-line-solid{stroke:#496d86}#line-fe3c{stroke-width:2.1}#line-fe3c.is-highlighted{stroke-width:6}.phase-boundary-line{fill:none;stroke:#496d86;stroke-width:3.1;stroke-linecap:round;stroke-linejoin:round}.phase-boundary-line.is-muted{opacity:.22}.phase-boundary-line.is-highlighted{opacity:1;stroke-width:5.5;filter:drop-shadow(0 3px 4px rgba(38,50,56,.2))}.phase-point circle{fill:#5c526d;stroke:#fff;stroke-width:2}.phase-point text,.phase-region-label,.phase-line-label{fill:#263238;font-size:19px;font-weight:700;paint-order:stroke;stroke:#ffffffe6;stroke-width:3px}.phase-line-label{fill:#4c4854;font-size:17px}#region-l-delta-label{font-size:19px}.phase-three-phase-label{fill:#b6422e;font-size:26px;font-weight:800;paint-order:stroke;stroke:#fffffff0;stroke-width:5.2px}.phase-reaction-formula{fill:var(--active);font-size:25px;font-weight:800;paint-order:stroke;stroke:#ffffffeb;stroke-width:5px}.interactive-phase-svg .is-muted{opacity:.22}.interactive-phase-svg .is-highlighted{opacity:1}.phase-region.is-highlighted{stroke:#1f6f8b;stroke-width:4;filter:drop-shadow(0 3px 5px rgba(31,111,139,.14))}.phase-line.is-highlighted{stroke-width:6;filter:drop-shadow(0 3px 4px rgba(38,50,56,.2))}.phase-point.is-highlighted circle{fill:#6b4bb6;stroke:#fff;stroke-width:4;r:7.2}.phase-point.is-highlighted text,.phase-region-label.is-highlighted,.phase-line-label.is-highlighted{fill:var(--active)}.phase-point-value{fill:#5b4c62;font-size:13px;font-weight:800;paint-order:stroke;stroke:#fffffff0;stroke-width:3.2px}.phase-point-temperature-value{fill:#c63f2c}.alloy-range-highlight rect{fill:#b27f233d;stroke:#9b6b17e0;stroke-width:2.5}.alloy-range-highlight text{fill:#7b520f;font-size:13px;font-weight:700}.topic-panel{grid-area:panel;max-height:calc(100vh - 128px);overflow:auto;padding:14px}.topic-panel h2{margin:0 0 12px;font-size:18px}.topic-group{padding:12px 0;border-top:1px solid #e4e8ea}.topic-group h3{margin:0 0 8px;color:var(--muted);font-size:13px;font-weight:700}.topic-group div{display:flex;flex-wrap:wrap;gap:7px}.topic-group button{min-height:34px;border:1px solid var(--line);border-radius:5px;padding:0 10px;background:var(--surface-soft);color:#263238;cursor:pointer}.topic-group button:hover{border-color:#1f6f8b61;background:#fff}.topic-group button.active{border-color:#d24a2f5c;background:var(--active-soft);color:var(--active);font-weight:700}.topic-detail{grid-area:detail;padding:16px;border-left:5px solid var(--focus)}.topic-detail-相线{border-left-color:#2f6b2f}.topic-detail-反应线{border-left-color:var(--active)}.topic-detail-关键点{border-left-color:#6b4bb6}.topic-detail-分类{border-left-color:#a06e14}.topic-detail h2{margin:5px 0 12px;font-size:22px}.detail-type{display:inline-flex;min-height:26px;align-items:center;padding:0 9px;border-radius:5px;background:var(--surface-soft);color:var(--muted);font-size:13px;font-weight:700}.detail-list{display:grid;gap:10px;margin:0}.detail-list div{padding-bottom:10px;border-bottom:1px solid #e4e8ea}.detail-list div:last-child{padding-bottom:0;border-bottom:0}.detail-list dt{margin-bottom:4px;color:var(--muted);font-size:13px}.detail-list dd{margin:0;line-height:1.55}@media(max-width:1180px){.stage-timeline{display:flex;overflow-x:auto}.stage-timeline button{flex:0 0 190px}.workspace-grid,.cooling-workspace{grid-template-columns:1fr}.right-column{grid-template-columns:1fr 1fr;grid-template-rows:auto}.home-grid,.guide-grid,.review-grid,.mini-grid,.reaction-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.interactive-basics-layout{grid-template-columns:1fr;grid-template-areas:"chart" "panel" "detail"}.topic-panel{max-height:none}}@media(max-width:760px){.app-shell{padding:14px 12px 24px}.app-header{display:block}.app-header h1{font-size:23px}.app-header p{font-size:15px}.current-alloy{margin-top:12px}.main-nav{margin-bottom:14px}.main-nav button{padding:0 12px}.stage-timeline button{flex-basis:170px;min-height:74px}.right-column{grid-template-columns:1fr}.panel{padding:12px}.asset-placeholder{min-height:280px}.curve-placeholder{min-height:220px}.home-grid,.knowledge-grid,.guide-grid,.review-grid,.mini-grid,.reaction-grid,.line-summary{grid-template-columns:1fr}.entry-card{min-height:132px}.study-table th{width:132px}.term-row{grid-template-columns:1fr}.term-row strong{padding-top:0}}@media(max-width:768px){html,body{overflow-x:hidden}.app-shell{padding:12px 10px 20px}.phase-basics-header p,.cooling-process-header p,.chart-caption,.topic-detail-default{display:none}.interactive-basics-layout{gap:8px}.interactive-chart-card{padding:7px;overflow-x:visible;scroll-margin-top:8px}.interactive-chart-card .panel-heading{margin-bottom:6px}.interactive-phase-svg{width:100%;max-width:100%}.interactive-phase-svg .phase-axis-label,.interactive-phase-svg .phase-axis-title{font-size:20px;font-weight:800}.interactive-phase-svg .phase-point text{font-size:22px;font-weight:900;stroke-width:4.4px}.interactive-phase-svg .phase-region-label{font-size:26px;font-weight:900;stroke-width:4.2px}.interactive-phase-svg .phase-line-label{font-size:23px;font-weight:900;stroke-width:4.4px}.interactive-phase-svg .phase-reaction-formula{font-size:29px;stroke-width:5.6px}.interactive-phase-svg .phase-three-phase-label{font-size:31px;stroke-width:6px}.interactive-phase-svg .phase-temp-critical{font-size:23px;font-weight:900}.interactive-phase-svg .phase-temp-accent{font-size:22px;font-weight:900}.interactive-phase-svg .phase-temp-selected{font-size:24px;font-weight:900}.interactive-phase-svg .phase-point-value{font-size:17px;stroke-width:4px}#region-l-delta-label{font-size:25px}.interactive-phase-svg .phase-line{stroke-width:4.8}.interactive-phase-svg .phase-line-reaction{stroke-width:5.8}.interactive-phase-svg .phase-point circle{r:6.6;stroke-width:2.8}.interactive-phase-svg .phase-line.is-highlighted{stroke-width:7.2}.interactive-phase-svg #line-fe3c{stroke-width:2.4}.interactive-phase-svg #line-fe3c.is-highlighted{stroke-width:7.2}.interactive-phase-svg .phase-region.is-highlighted{stroke-width:6}.interactive-phase-svg .phase-point.is-highlighted circle{r:8.4;stroke-width:4.8}.topic-panel,.topic-detail,.interactive-chart-card,.panel{padding:8px}.topic-panel h2{margin-bottom:6px;font-size:16px}.topic-group{padding:7px 0}.topic-group h3{margin-bottom:5px;font-size:12px}.topic-group div{gap:5px}.topic-group button{min-height:30px;padding:0 8px;font-size:13px}.microstructure-overview-section{margin-top:8px}.microstructure-overview-section .section-title-row{margin-bottom:7px}.microstructure-overview-section .section-title-row p{display:none}.stage-path-section{margin-bottom:6px}.alloy-switcher{gap:4px;margin-bottom:6px}.alloy-switcher-row{gap:3px}.alloy-switcher button{min-height:28px;padding:0 7px;font-size:12px}.alloy-switcher-row:nth-child(3){gap:3px}.alloy-switcher-row:nth-child(3) button{min-height:30px;padding:1px 2px;font-size:11px;line-height:1.08;letter-spacing:0}.stage-path-heading{margin-bottom:5px}.stage-path-heading h2{font-size:15px}.stage-play-button{width:34px;height:34px;margin-left:1px;margin-right:0;font-size:15px}.stage-timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:5px;overflow:visible}.stage-timeline button{min-height:40px;grid-template-columns:20px 1fr;gap:4px;padding:5px;flex-basis:auto;font-size:12px}.stage-number{width:20px;height:20px;font-size:11px}.cooling-workspace{grid-template-columns:1fr;gap:7px;margin-bottom:7px}.cooling-side-panel{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px}.cooling-phase-panel{padding:7px;overflow-x:visible}.cooling-phase-panel .interactive-phase-svg{width:100%;max-width:100%}.cooling-composition-label,.cooling-current-point text,.cooling-active-interval text{font-size:19px;stroke-width:4.6px}.cooling-current-point circle{r:11}.cooling-active-segment{stroke-width:5.8}.microstructure-panel{padding:7px}.microstructure-image-window{width:96%;max-width:155px}.microstructure-caption{margin-top:4px;font-size:12px;line-height:1.4}.cooling-curve-panel{padding:7px}.cooling-curve-svg{min-height:146px}.cooling-workspace+.status-panel{padding:9px}.status-summary{margin-bottom:7px;padding:8px;line-height:1.4}.real-microstructure-panel{margin-bottom:7px}.real-microstructure-frame,.real-microstructure-placeholder{min-height:150px}.real-microstructure-frame img{max-height:260px}.chart-mode-toggle button{min-height:28px;padding:0 9px;font-size:13px}.organization-label{font-size:24px;stroke-width:5px}.review-note-grid{grid-template-columns:1fr;gap:8px;margin-bottom:10px}.review-note-card{padding:10px}.review-image-card h2{font-size:16px}.review-image-card img{max-height:none}.carbon-trend-svg{min-height:360px}.trend-axis text,.trend-panel text,.trend-class-row text,.trend-subclass-row text{font-size:15px}.organization-rule-card p{font-size:18px;line-height:1.8}.organization-rule-line{flex-wrap:wrap;gap:5px 7px;white-space:normal}}
