:root{--ink:#1d3533;--pine:#124c47;--gold:#ad874e;--muted:#536861;--line:#d8e0d6;--paper:#fafaf5;--white:#fffffc;--serif:"Noto Serif CJK KR","Noto Serif KR","AppleMyungjo","Batang",Georgia,serif;--sans:"Inter","Apple SD Gothic Neo","Noto Sans CJK KR","Malgun Gothic",sans-serif;font-family:var(--sans);font-size:16px;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0;line-height:1.65;word-break:keep-all;overflow-wrap:anywhere}a{color:inherit;text-decoration:none}button,input,select{font:inherit;color:inherit}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button{border:0;background:transparent}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #b8843f;outline-offset:3px}a:hover,.linkish:hover{color:#33796e}header{background:#fffffc;border-bottom:1px solid var(--line)}.bar,main,footer{max-width:1180px;margin:auto;padding-inline:36px}.bar{height:78px;display:flex;align-items:center;gap:30px}.brand{display:flex;align-items:center;gap:11px;white-space:nowrap}.brand>span{font-family:var(--serif);font-size:1.53rem;font-weight:750;letter-spacing:-.08em}.brand small{border-left:1px solid #c5cdbf;padding-left:12px;font-family:var(--serif);font-size:.8rem;letter-spacing:.16em;color:#69796d}.bar nav{display:flex;align-self:stretch;gap:30px;margin-left:auto}.bar nav a{display:flex;align-items:center;position:relative;color:#53655f;font-size:.92rem;font-weight:600}.bar nav a[aria-current]{color:var(--pine)}.bar nav a[aria-current]:after{content:"";position:absolute;bottom:0;height:3px;background:#327866;left:0;right:0}.profile-button,.soft-button,.icon-btn,.primary,.ghost,.mini-btn{display:inline-flex;gap:8px;align-items:center;justify-content:center;border-radius:7px;min-height:40px;padding:6px 13px;font-size:.91rem;font-weight:650}.profile-button,.soft-button,.mini-btn,.icon-btn{border:1px solid var(--line);background:#fffef9}.profile-button{margin-left:3px}.icon{display:inline-block;width:20px;height:20px;flex:none;vertical-align:middle}.primary{color:white;background:var(--pine);padding:10px 20px;min-height:46px}.primary:hover{background:#216458}.soft-button:hover,.icon-btn:hover,.profile-button:hover,.mini-btn:hover{background:#edf2e9}.ghost{border:1px solid #93aba0;color:#eff7ed}.skip{position:absolute;top:-100px;background:white;z-index:10;padding:8px}.skip:focus{top:0}main{min-height:72vh;padding-top:29px;padding-bottom:58px;outline:0}h1,h2,h3,h4,p{margin:0}h1,h2,h3{letter-spacing:-.045em}h1,h2,.literary{font-family:var(--serif)}h1{font-size:clamp(2.2rem,4.3vw,3.65rem);line-height:1.2}h2{font-size:1.5rem;line-height:1.35}h3{font-size:1.15rem;line-height:1.45}p{line-height:1.8}.minor,small{font-size:.83rem}.sub,.minor,.muted{color:var(--muted)}.hero{overflow:hidden;isolation:isolate;position:relative;display:flex;align-items:center;min-height:252px;padding:34px 48px;background:radial-gradient(ellipse at 78% 95%,#29574d 0%,transparent 55%),linear-gradient(110deg,#0b3435,#17453f 67%,#193f3c);border:1px solid #284c43;border-radius:15px;color:#f9f7e8}.hero:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.28;background-image:radial-gradient(1px 1px at 6% 23%,#f3dc9e 85%,transparent),radial-gradient(1px 1px at 35% 7%,#fff3bd 85%,transparent),radial-gradient(1px 1px at 67% 57%,#fff3bd 85%,transparent);background-size:193px 179px,267px 149px,131px 231px}.hero-copy{z-index:1;max-width:59%}.eyebrow{display:flex;align-items:center;gap:9px;color:#d8c998;letter-spacing:.16em;font-size:.83rem;font-family:var(--serif);margin-bottom:12px}.eyebrow:before{content:"";height:1px;width:24px;background:currentColor}.hero h1{font-weight:650;letter-spacing:-.065em}.hero p{margin-top:10px;color:#dae5d9;font-size:1rem}.hero-actions{margin-top:22px;display:flex;gap:9px;align-items:center;flex-wrap:wrap}.hero-btn{display:inline-flex;align-items:center;gap:7px;padding:7px 14px;min-height:39px;border-radius:6px;background:#eee5c9;color:#213d34;font-size:.9rem;font-weight:700}.hero-btn:hover{background:#fff3d5;color:#183e36}.wheel{position:absolute;right:2.7%;top:50%;width:min(44%,455px);height:122%;transform:translateY(-50%);z-index:0;pointer-events:none}.block{margin-top:34px}.sect-head,.pane-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}.sect-head h2,.pane-head h2{display:flex;align-items:center;gap:10px}.sect-head small{color:#758175;font-family:var(--serif);letter-spacing:.14em;font-weight:400;font-size:.81rem}.home-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:18px}.panel{border:1px solid var(--line);border-radius:12px;background:var(--white);padding:23px 25px}.panel h2{font-size:1.25rem}.pane-head{margin-bottom:19px}.chart-mini{font-size:.83rem;color:#50655c;background:#eff3ea;border:1px solid #dce6d4;border-radius:5px;padding:2px 8px}.pillars{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.pillar{text-align:center;overflow:hidden;border:1px solid var(--line);border-radius:7px;position:relative}.pillar.self{border-color:#92aa98}.pillar-label{font-size:.82rem;font-weight:700;background:#f4f5ed;padding:4px 0;color:#4d6659}.self .pillar-label{background:#e4eee1}.glyph{display:flex;align-items:center;justify-content:center;gap:6px;padding:5px 2px;line-height:1.4;min-height:50px}.glyph b{font:500 2.05rem/1.1 var(--serif)}.glyph small{font-size:.78rem}.glyph+.glyph{border-top:1px solid #ffffffb2}.e0{background:#e7f1e8;color:#2b604b}.e1{background:#f7e9e4;color:#984c40}.e2{background:#f4edda;color:#866526}.e3{background:#eceef1;color:#556276}.e4{background:#e5eef3;color:#315f7c}.pfoot{font-size:.81rem;color:#53665e;padding:5px 1px}.element-line{display:grid;grid-template-columns:54px 1fr 34px;align-items:center;gap:10px;font-size:.9rem;line-height:1.45;margin:10px 0}.element-line b{font-weight:600}.element-line em{font-style:normal;color:#59665e;text-align:right;font-size:.82rem}.track{height:7px;border-radius:9px;overflow:hidden;background:#eef0e9}.track span{display:block;height:100%;border-radius:9px}.el0{background:#729e84}.el1{background:#c87c65}.el2{background:#ba9c5a}.el3{background:#909aa3}.el4{background:#5c829e}.panel-note{font-size:.81rem;color:#58695f;margin-top:13px}.cat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.cat-card{position:relative;padding:18px 16px 17px;border:1px solid var(--line);border-radius:10px;background:var(--white);display:block;color:var(--ink)}.cat-card:hover{border-color:#91aa97;box-shadow:0 3px 12px #20432f0b;transform:translateY(-2px)}.cat-card .sig{position:absolute;right:14px;top:14px;color:#667b69;font:1.18rem var(--serif);opacity:.65}.medallion{height:38px;width:38px;display:inline-flex;justify-content:center;align-items:center;border-radius:50%;background:var(--tint);color:var(--tone);margin-bottom:12px}.jade{--tint:#e6f1e7;--tone:#3f7058}.rose{--tint:#f8e7e4;--tone:#a15f61}.amber{--tint:#f7efd8;--tone:#8e6b2c}.blue{--tint:#e4edf2;--tone:#47718b}.violet{--tint:#eee8f3;--tone:#7f648e}.cat-card h3{font-family:var(--serif);font-size:1.13rem}.cat-card p{color:var(--muted);font-size:.85rem;margin-top:4px}.linkish{font-size:.87rem;text-decoration:underline;text-underline-offset:4px;color:#4d6b5f}.crumb{font-size:.86rem;color:#587366;margin:0 0 15px}.crumb a{text-decoration:underline;text-underline-offset:3px}.page-title{padding:12px 0 23px}.page-title h1{font-size:clamp(2.1rem,4.5vw,3.1rem)}.page-title p{margin-top:9px;color:#526a5e}.detail-head{background:linear-gradient(120deg,#f1f5eb,#faf9f1);border:1px solid var(--line);border-radius:13px;padding:28px 31px}.detail-head .eyebrow{color:#557360;letter-spacing:.05em}.detail-head h1{font-size:clamp(1.9rem,4.5vw,2.9rem)}.detail-head>p{margin-top:12px;max-width:760px}.detail-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px;margin-top:24px}.side{align-self:start;border:1px solid var(--line);border-radius:11px;padding:11px;background:var(--white)}.side a{display:flex;align-items:center;gap:12px;padding:10px 13px;border-radius:6px;font-size:.94rem}.side a[aria-current]{color:var(--pine);background:#e8f0e6;font-weight:700}.side .icon{width:18px;height:18px}.stack{display:grid;gap:14px}.essay{background:var(--white);border:1px solid var(--line);border-radius:10px;padding:23px 26px}.essay h2{font-size:1.2rem;margin-bottom:9px}.basis{display:block;color:#557162;font-size:.84rem;border-top:1px solid var(--line);margin-top:13px;padding-top:10px}.question{border-left:3px solid #ae9259;background:#f2efe3;border-radius:0 9px 9px 0;padding:16px 22px}.question small{display:block;color:#775e2f;margin-bottom:3px}.result-text{white-space:pre-wrap;margin-top:14px}.year-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.year-form label{display:flex;align-items:center;gap:8px;margin:0}.year-form input{width:94px;padding:6px;min-height:40px;margin:0}.flow-row{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:17px}.cycle{padding:12px;border:1px solid var(--line);border-radius:8px;text-align:center}.cycle strong{display:block;font:1.65rem var(--serif)}.cycle.active{border-color:#68947e;background:#edf3e8}.cycle small{display:block}.flow-info{display:flex;gap:15px;align-items:center}.flow-emblem{display:inline-grid;place-items:center;align-self:start;border:1px solid #bbd0b7;border-radius:9px;min-width:78px;height:75px;font:2.1rem var(--serif);background:#e7f0e1}.note{border:1px solid #d6cba8;background:#f7f1df;padding:11px 16px;border-radius:8px;margin-top:14px;font-size:.9rem}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;font-size:.94rem;text-align:left}.data-table th,.data-table td{padding:10px 6px;border-bottom:1px solid var(--line)}.data-table th{color:#476252}.rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cal-out{margin:12px 0 0}.actions{margin-top:15px;display:flex;flex-wrap:wrap;gap:9px}.wide{width:100%}.api-form label{max-width:430px}code{font: .88em ui-monospace,monospace;color:#355347;word-break:break-all}footer{padding-top:20px;padding-bottom:27px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#657469;font-size:.84rem}footer>span{font-family:var(--serif);font-size:1.05rem;font-weight:650}footer b{font-size:.77rem;color:#7e887d;margin-left:8px}footer div{display:flex;gap:16px}
dialog{border:1px solid #bdcbbf;border-radius:14px;padding:24px;background:var(--white);width:min(475px,calc(100vw - 24px));max-height:88dvh;color:var(--ink);box-shadow:0 15px 85px #15352f3d}dialog::backdrop{background:#16342ec2}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head small{color:#8a7442;font-family:var(--serif);letter-spacing:.16em}.dialog-head h2{margin-top:3px}.icon-btn{min-width:40px;padding:6px}.form-intro{color:var(--muted);font-size:.9rem;margin:12px 0}.pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}label{display:block;color:#3c574b;font-size:.9rem;font-weight:600;margin:9px 0}input,select{display:block;width:100%;border:1px solid #bac9bc;border-radius:6px;padding:8px 10px;background:#fffef9;min-height:43px;margin-top:4px;font-size:1rem;font-weight:400}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%234b6257' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:34px}.check{display:flex;align-items:center;gap:9px;font-weight:400}.check input{width:16px;height:16px;min-height:0;margin:0;accent-color:var(--pine)}summary{cursor:pointer;color:#41664f;font-weight:600;padding:7px 0}details{border-block:1px solid var(--line);padding:4px 0;margin:10px 0}.dialog-tools{display:flex;gap:7px 12px;flex-wrap:wrap;margin-top:11px}.dialog-tools button{font-size:.8rem;text-decoration:underline;text-underline-offset:3px;padding:4px 0}.error{color:#953d30;font-size:.9rem}.error:not(:empty){margin:9px 0}.error:empty{display:none}#toast:not(:empty){position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#133b34;color:white;border-radius:8px;padding:9px 16px;z-index:20;box-shadow:0 3px 14px #192c2026;max-width:94vw;width:max-content;font-size:.93rem}[hidden]{display:none!important}
@media(max-width:900px){.bar,main,footer{padding-inline:24px}.bar{gap:15px}.bar nav{gap:17px}.brand small{display:none}.home-grid{grid-template-columns:1.25fr 1fr}.panel{padding:18px}.cat-grid{grid-template-columns:repeat(3,1fr)}.detail-layout{grid-template-columns:165px 1fr;gap:16px}.glyph{flex-direction:column;gap:0}.hero{padding-left:30px}.cat-card{padding:14px}.pfoot{font-size:.76rem}}
@media(max-width:650px){.bar,main,footer{padding-inline:16px}.bar{height:auto;min-height:62px;flex-wrap:wrap;gap:0;justify-content:space-between;padding-top:10px}.brand img{width:31px;height:31px}.brand>span{font-size:1.28rem}.bar nav{order:3;width:100%;justify-content:space-around;margin:6px 0 0;gap:0}.bar nav a{padding:9px 4px;font-size:.88rem}.profile-button{min-height:35px;padding:4px 9px;font-size:.83rem}.profile-button .icon{width:15px;height:15px}main{padding-top:16px;padding-bottom:34px}.hero{min-height:207px;padding:22px 17px}.hero-copy{max-width:68%}.hero h1{font-size:clamp(1.7rem,6.8vw,2.65rem)}.hero p{font-size:.87rem;line-height:1.6}.hero .eyebrow{font-size:.74rem;letter-spacing:.10em;margin-bottom:9px}.hero-actions{margin-top:15px}.wheel{right:-16%;width:66%;height:102%;opacity:.74}.block{margin-top:24px}.home-grid,.rows,.detail-layout{grid-template-columns:minmax(0,1fr)}.cat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cat-card:last-child{grid-column:auto}.cat-card{padding:13px}.cat-card p{font-size:.82rem}.sect-head h2{font-size:1.23rem}.sect-head small{display:none}.panel{padding:16px}.glyph{flex-direction:row;gap:5px}.glyph b{font-size:1.9rem}.element-line{margin-block:8px}.home-grid{gap:12px}.side{display:flex;overflow-x:auto;gap:3px;padding:5px}.side a{white-space:nowrap;padding:8px;font-size:.83rem;gap:4px}.side .icon{display:none}.detail-layout{gap:13px;margin-top:12px}.detail-head,.essay{padding:18px}.flow-row{grid-template-columns:repeat(2,1fr)}footer{gap:10px}.year-form{gap:5px}.year-form label{font-size:.84rem}.year-form input{width:82px}.table-wrap{font-size:.82rem}.data-table th,.data-table td{padding:7px 4px}.flow-info{gap:10px}.flow-emblem{min-width:62px;height:62px;font-size:1.7rem}}
@media(prefers-reduced-motion:no-preference){.cat-card{transition:transform .15s,border-color .15s}}
