.steps.steps-full-summary{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.steps-full-summary .step{min-height:44px}
.joseon-full-summary{font-size:15px;line-height:1.6;color:#263548}
.jf-head h2{font-size:24px;margin:0 0 8px}.jf-head p{margin:0 0 8px}.jf-eyebrow{color:#805044;font-weight:800;font-size:12px;letter-spacing:.04em}.jf-scope,.jf-lead{color:#59677a;font-size:13px}
.jf-nav{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 26px}.jf-nav button{min-height:44px;max-width:100%;padding:9px 13px;border:1px solid #cdd6e1;border-radius:10px;background:#f6f8fb;color:#294667;font-family:inherit;font-weight:700;font-size:13px;line-height:1.4;cursor:pointer}
.jf-section{margin:0 0 28px}.jf-section>h3{font-size:20px;line-height:1.4;margin:0 0 6px;scroll-margin-top:20px}.jf-lead{margin:0 0 12px}.jf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.jf-card{min-width:0;padding:16px;border:1px solid #e0e5eb;border-radius:14px;background:#fff}.jf-card h4{margin:0 0 12px;font-size:16px;color:#254361}.jf-card ul{list-style:none;margin:0;padding:0}.jf-card li{padding:8px 0;border-top:1px solid #eef1f5}.jf-card li:first-child{border-top:0;padding-top:0}.jf-card strong{display:block;color:#263548;font-size:14px}.jf-card li span{display:block;font-size:14px;color:#536175;overflow-wrap:anywhere}.jf-note{margin:12px 0 0;padding:10px;border-radius:9px;background:#fff4e7;color:#75522b;font-size:13px}
.jf-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.jf-photos figure{margin:0;min-width:0;padding:12px;border:1px solid #e0e5eb;border-radius:12px;background:#fafbfd;text-align:center}.jf-photos img{display:block;width:112px;height:84px;max-width:100%;object-fit:contain;margin:0 auto 10px}.jf-photos strong,.jf-photos span{display:block;font-size:13px;line-height:1.5}.jf-photos span{color:#647185;font-size:12px}.jf-footer{padding-top:12px;border-top:1px solid #e0e5eb;color:#657285;font-size:12px}
.joseon-full-summary :focus-visible{outline:3px solid #3976b8;outline-offset:3px}.jf-section>h3:focus-visible{border-radius:5px}
@media(max-width:649px){.jf-grid{grid-template-columns:1fr}.jf-head h2{font-size:22px}.jf-card{padding:14px}.jf-section{margin-bottom:24px}.jf-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.steps-full-summary .step{font-size:12px;min-height:76px;white-space:normal;overflow-wrap:anywhere;padding:8px 3px}.jf-nav{gap:7px}.jf-nav button{flex:1 1 calc(50% - 7px);font-size:12px}}
@media(max-width:360px){.steps-full-summary .step{font-size:11px}.jf-card strong,.jf-card li span{font-size:14px}}
@media(prefers-reduced-motion:reduce){.joseon-full-summary *{scroll-behavior:auto}}

/* Ruler names are headings; each keyword and its full explanation stay one row. */
.jf-grid{gap:18px;align-items:start}.jf-card{padding:18px}.jf-card h4{font-size:18px;line-height:1.4;margin-bottom:16px}.jf-card li{padding:12px 0}.jf-card li strong{margin-bottom:5px;line-height:1.5;overflow-wrap:anywhere}.jf-card li span{line-height:1.65}.jf-card--ruler{border-top:3px solid #6983a4}.jf-card--ruler h4{color:#233c5a;font-size:20px}.jf-flow{margin:0 0 18px;padding:11px 13px;background:#f1f5fa;border-radius:10px;color:#344b66;font-size:14px;line-height:1.6}.jf-flow b{margin-right:6px}.jf-section{margin-bottom:40px}.jf-section>h3{font-size:24px}.jf-transition{margin:-6px 0 14px;padding:8px 10px;background:#fff2df;border-radius:8px;color:#79502a;font-size:13px;font-weight:700;line-height:1.5}.jf-period-photos{margin-top:22px}.jf-period-photos>h4{font-size:17px;margin:0 0 12px}
@media(max-width:649px){.jf-card{padding:16px}.jf-grid{gap:16px}.jf-section{margin-bottom:32px}.jf-section>h3{font-size:22px}.jf-card li{padding:12px 0}.jf-card--ruler h4{font-size:19px}.jf-flow{padding:10px 12px}}
