:root{--font-sans:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;font-family:var(--font-sans);color:#262338;font-synthesis:weight;--purple:#5635b8;--soft:#f0ecfa;--muted:#70697e;--line:#e6e1ef;--page-width:1440px;--content-scale:1;background:#f8f7fb;font-size:100%;line-height:1.5}*{box-sizing:border-box}body{margin:0}#root{flex-direction:column;min-height:100dvh;display:flex}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit;border:1px solid var(--line);background:#fff;border-radius:10px;min-height:44px;padding:.6rem .9rem;transition:background .15s,border-color .15s}@media (hover:hover){button:hover:not(:disabled){background:var(--soft);border-color:#b7a7dc}button.primary:hover:not(:disabled){background:#442894}}button:disabled{cursor:default;opacity:.45}button.primary{background:var(--purple);color:#fff;border-color:var(--purple);font-weight:650}a{color:var(--purple)}:focus-visible{outline-offset:3px;outline:3px solid #a391da}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.04em;margin-bottom:.8rem;font-size:2rem;line-height:1.2}h2{letter-spacing:-.02em;font-size:1.2rem}h3{font-size:1rem}p{color:var(--muted)}.eyebrow{letter-spacing:.05em;color:var(--purple);margin-bottom:.6rem;font-size:.72rem;font-weight:650;display:block}.portal-header{min-height:60px;padding:.5rem max(24px, calc((100% - var(--page-width) * var(--content-scale)) / 2 + 24px * var(--content-scale)));border-bottom:1px solid var(--line);background:#fff;align-items:center;gap:1.75rem;display:flex}.brand{flex-shrink:0}.brand img{width:auto;max-width:100%;height:40px;display:block}.portal-header nav{gap:.35rem;margin-left:auto;display:flex}.portal-header nav button{color:var(--muted);white-space:nowrap;background:0 0;border:0}.portal-header nav button[aria-current=page]{background:var(--soft);color:var(--purple);font-weight:650}.account{align-items:center;gap:.7rem;display:flex}.account select{border:1px solid var(--line);background:#fff;border-radius:8px;max-width:105px;min-height:40px;padding:.4rem}.text-button{color:var(--muted);background:0 0;border:0;padding:.25rem .4rem;font-size:.8rem}.portal-main{zoom:var(--content-scale);width:100%;max-width:var(--page-width);flex:1;margin-inline:auto;padding:2.6rem 24px 3rem}.page-heading{justify-content:space-between;align-items:center;gap:2rem;margin-bottom:1.6rem;display:flex}.page-heading p{max-width:660px;margin-bottom:0;font-size:.9rem}.page-actions{flex-shrink:0;gap:.5rem;font-size:.85rem;display:flex}.tool-card{background:linear-gradient(110deg,#f0eafa,#fbf9f4);border:1px solid #e1d6ef;border-radius:18px;justify-content:space-between;align-items:center;gap:2rem;margin-bottom:2.5rem;padding:2.2rem;display:flex}.tool-card h2{margin-bottom:.6rem;font-size:1.65rem}.tool-card p{margin-bottom:1rem}.tool-version{color:var(--muted);font-size:.75rem}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.calculator-main{padding-top:.9rem;padding-bottom:1rem}.calculator-main .page-heading{margin-bottom:.7rem}.calculator-main .page-heading>div{flex-wrap:wrap;align-items:baseline;gap:.15rem .9rem;min-width:0;display:flex}.calculator-main h1{margin-bottom:0;font-size:1.4rem}.calculator-main .page-heading p{font-size:.78rem}.calculator-main .page-actions button{min-height:36px;padding:.35rem .8rem}.calculator-dashboard{--control-height:44px;gap:.7rem;min-width:0;display:grid}@media (pointer:fine){.calculator-dashboard{--control-height:clamp(28px, calc(6.4vh - 6px), 54px)}}.calculator-inputs,.calculator-output{align-content:start;gap:.7rem;min-width:0;display:grid}.calculator-section{border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0;overflow:hidden}.calculator-section h2{align-items:center;gap:.4rem;margin:0;padding:.45rem .9rem;font-size:.88rem;display:flex}.step{background:var(--soft);color:var(--purple);border-radius:5px;padding:.15rem .35rem;font-size:.7rem}.section-note{color:var(--muted);margin-left:auto;font-size:.7rem;font-weight:400}.calculator-table-scroll{overscroll-behavior-x:contain;max-width:100%;overflow-x:auto}.calculator-table-scroll:focus-visible{outline-offset:-3px}.calculator-table{border-collapse:separate;border-spacing:0;table-layout:fixed;font-variant-numeric:tabular-nums;text-align:center;word-break:keep-all;width:100%;font-size:.85rem}.calculator-table th,.calculator-table td{border-top:1px solid var(--line);vertical-align:middle;padding:.25rem .4rem}.calculator-table thead th{color:var(--muted);background:#faf9fc;font-size:.7rem;font-weight:600;line-height:1.3}.calculator-table tr>th:first-child{z-index:1;border-right:1px solid var(--line);background:#fff;width:3rem;position:sticky;left:0}.calculator-table thead tr>th:first-child{background:#faf9fc}.calculator-table tbody th strong{color:var(--purple);font-size:.9rem;line-height:1.2}.basic-table{min-width:52rem}.nomogram-table{min-width:60rem}.nomogram-table th:nth-last-child(-n+2){width:22%}.number-control{min-width:0}.number-input{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;min-width:0;display:flex;overflow:hidden}.number-input:focus-within{border-color:var(--purple)}.number-input button{width:32px;min-width:32px;min-height:var(--control-height);color:var(--purple);background:#faf8fe;border:0;border-radius:0;padding:0;font-size:1.05rem}.number-input input{text-align:center;font-variant-numeric:tabular-nums;border:0;outline:none;width:100%;min-width:0;padding:.25rem .1rem;font-size:.9rem}.basic-table{--step-button:32px}.basic-table .number-control{container-type:inline-size}.basic-table .number-input button{width:var(--step-button);min-width:var(--step-button)}.basic-table .number-input input{font-size:1.05rem;font-size:clamp(.85rem, calc((100cqi - 2 * var(--step-button) - 6px) / 3.25), 1.4rem);letter-spacing:-.03em;color:#1f1a2e;padding-block:0;font-weight:750;line-height:1.15}.adjustment-control{align-items:center;gap:.25rem;display:flex}.adjustment-control .number-input{flex:1}.reset{width:26px;min-width:26px;min-height:var(--control-height);padding:0;font-size:1rem;line-height:1}.nomogram-choice{width:100%;min-height:calc(var(--control-height) + 4px);flex-direction:column;justify-content:center;align-items:center;gap:0;padding:.15rem .2rem;line-height:1.1;display:flex;container-type:inline-size}.nomogram-choice[aria-pressed=true]{border-color:var(--purple);background:var(--soft);color:var(--purple)}.nomogram-choice strong{letter-spacing:-.01em;font-size:clamp(.95rem,31cqi,1.45rem);font-weight:750}.nomogram-choice small{color:var(--muted);font-size:.68rem}.number-input.invalid{background:#fff6f2;border-color:#a3422e}.number-input.invalid input{color:#a3422e;background:0 0}.cap-diameter-inputs{color:var(--muted);align-items:center;gap:.5rem;padding:.25rem 0;font-size:.72rem;display:flex}.cap-diameter-inputs label{align-items:center;gap:.25rem;display:flex}.cap-diameter-inputs strong{color:var(--purple)}.cap-diameter-inputs input{width:3.6rem;min-height:min(var(--control-height), 30px);border:1px solid var(--line);color:#262338;font-variant-numeric:tabular-nums;text-align:center;background:#fff;border-radius:6px;padding:.1rem .3rem;font-size:.85rem;font-weight:650}.cap-diameter-inputs input[aria-invalid=true]{color:#a3422e;background:#fff6f2;border-color:#a3422e}.thickness-table{min-width:56rem}.thickness-table tr>th:first-child{width:8rem}.table-note{color:var(--muted);margin-top:.1rem;font-size:.68rem;font-weight:400;line-height:1.3;display:block}.zone-selection{justify-content:center;align-items:flex-start;gap:.3rem;display:flex}.zone-label{grid-template-rows:auto .8rem;justify-items:center;gap:.1rem;min-width:0;display:grid}.zone-title{color:var(--purple);overflow-wrap:anywhere;font-size:.75rem;font-weight:650;line-height:1.2}.zone-estimate-label,.zone-unavailable{color:#793f18;font-size:.65rem;line-height:1.3}.zone-estimate-label{white-space:nowrap;background:#fff4e4;border-radius:4px;padding:.08rem .25rem;font-size:.68rem;line-height:1}.zone-unavailable{overflow-wrap:anywhere;margin:auto}.zone-values{flex:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:.3rem;display:grid}.thickness-table thead .zone-values{padding-inline:.5rem;font-size:.7rem}.zone-choice{width:100%;min-height:var(--control-height);font-variant-numeric:tabular-nums;background:0 0;align-content:center;gap:.15rem;padding:.2rem .5rem;display:grid}.zone-choice[aria-pressed=true]{background:var(--soft);color:var(--purple);border-color:var(--purple);font-weight:650}.zone-choice i{border:1px solid #bbb2ca;border-radius:50%;flex:0 0 10px;width:10px;height:10px;margin-top:.125rem}.zone-choice[aria-pressed=true] i{background:var(--purple);border-color:var(--purple)}.estimate-choice{background:#fffdf9;border:1px dashed #e0c9a6;border-radius:10px}.estimate-choice.selected{color:#793f18;background:#fff4e4;border-style:solid;border-color:#b9793a;font-weight:650}.estimate-choice .zone-selection{align-items:center;gap:.25rem}.with-estimates .zone-label{grid-template-rows:auto}.with-estimates thead .zone-values{white-space:nowrap}.with-estimates .zone-choice{padding-inline:.3rem}.with-estimates .zone-values{gap:.2rem}.estimate-choice:not(.selected) .zone-values{color:#b5aec2}.estimate-zone{min-height:0;color:var(--purple);border-radius:6px;padding:.1rem .4rem;font-size:.75rem;font-weight:650;line-height:1.2}.estimate-zone[aria-pressed=true]{color:#fff;background:#793f18;border-color:#793f18}.calculator-section-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;padding-right:.5rem;display:flex}.calculator-section-heading h2{flex:1}.copy-actions{flex-wrap:wrap;gap:.35rem;padding:.3rem 0;font-size:.78rem;display:flex}.copy-actions button{min-height:34px;padding:.3rem .7rem}.final-section{border-color:#d9cdf0}.final-table{min-width:62rem}.final-table th:last-child{width:11rem}.final-table tbody th,.final-table tbody td{height:calc(var(--control-height) + 10px)}.result-value{font-size:1.05rem;font-weight:650;transition:background .2s}.result-value.changed{background:#fff0b9}.final-table .device-plan-required{color:#854c16;overflow-wrap:anywhere;background:#fff4e4;font-size:.72rem;line-height:1.35}.final-table .estimated-thickness{color:#793f18;background:#fff4e4;line-height:1.25}.estimated-thickness small{margin-top:.12rem;font-size:.68rem;font-weight:550;display:block}.copy-actions .estimate-copy{color:#793f18;background:#fffbf5;border-color:#ecd3b1}.status{color:var(--muted);border:1px solid var(--line);border-radius:20px;padding:.2rem .6rem;font-size:.7rem;line-height:1.35;display:inline-block}.status.valid{color:#216d4b;background:#e9f5ef;border-color:#c8e5d7}.status.invalid{color:#a3422e;background:#fff1eb;border-color:#f0cfc3}.status.estimated{color:#793f18;background:#fff4e4;border-color:#ecd3b1}.input-errors{color:#a3422e;margin:.25rem 0 0;font-size:.7rem;line-height:1.35}.emr-preview{border-top:1px solid var(--line);flex-direction:column;gap:.35rem;padding:.6rem .9rem .8rem;display:flex}.emr-heading{justify-content:space-between;align-items:baseline;gap:.8rem;min-width:0;display:flex}.emr-heading label{color:var(--muted);flex-shrink:0;font-size:.72rem;font-weight:600}.emr-heading .feedback{text-align:right;min-height:0;margin:0;font-size:.75rem}.emr-preview textarea{resize:vertical;border:1px solid var(--line);color:#433651;background:#faf9fc;border-radius:9px;width:100%;min-height:5.5rem;padding:.6rem .7rem;font:.8rem/1.75 ui-monospace,SFMono-Regular,Consolas,monospace;display:block}.mobile-summary{display:none}.feedback{color:var(--purple);min-height:1.25rem;margin:.65rem 0 0;font-size:.8rem}.calculator-notes{border:1px solid var(--line);color:var(--muted);background:#faf9fc;border-radius:12px;padding:.65rem .9rem;font-size:.72rem;line-height:1.45}.calculator-notes h2{color:#4d4660;margin:0 0 .3rem;font-size:.75rem}.calculator-notes ul{gap:.15rem;margin:0;padding-left:1rem;display:grid}.estimate-rules{border-top:1px solid var(--line);gap:.12rem;margin-top:.4rem;padding-top:.4rem;font-size:.94em;display:grid}@media (width>=1200px){.calculator-dashboard{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.calculator-output{flex-direction:column;display:flex}.final-section{flex-direction:column;flex:1;display:flex}.emr-preview{flex:1}.emr-preview textarea{resize:none;flex:1}.basic-table,.nomogram-table,.thickness-table,.final-table{min-width:0}.calculator-table th,.calculator-table td{padding-inline:.3rem}.thickness-table tr>th:first-child{width:5.6rem}.thickness-table.with-estimates tr>th:first-child{width:3.9rem}.table-note span{display:block}.table-note span:nth-child(2){display:none}.final-table th:last-child{width:7.5rem}.number-input button{width:26px;min-width:26px}.basic-table{--step-button:22px}}@media (width>=1200px) and (height<=700px){.portal-header{min-height:52px;padding-block:.35rem}.brand img{height:34px}.calculator-main{padding-top:.6rem;padding-bottom:.6rem}.calculator-main .page-heading{margin-bottom:.5rem}.calculator-main h1{font-size:1.25rem}.calculator-main .page-actions button{min-height:32px;padding-block:.25rem}.calculator-section h2{padding-block:.35rem}.portal-footer{padding-block:.5rem}.emr-preview textarea{line-height:1.6}}@media (width>=1200px) and (height>=860px){.calculator-main{padding-top:1.4rem}.calculator-main .page-heading{margin-bottom:1rem}.calculator-main h1{font-size:1.6rem}.calculator-main .page-heading p{font-size:.85rem}.calculator-dashboard,.calculator-inputs,.calculator-output{gap:1rem}.calculator-section h2{padding:.7rem 1.1rem;font-size:.98rem}.calculator-table{font-size:.95rem}.calculator-table th,.calculator-table td{padding:.4rem .45rem}.calculator-table thead th{font-size:.76rem}.calculator-table tbody th strong{font-size:1rem}.number-input input{font-size:1.02rem}.number-input button{width:30px;min-width:30px}.nomogram-choice{gap:.15rem}.nomogram-choice small{font-size:.66rem}.thickness-table tr>th:first-child{width:6.2rem}.thickness-table thead .zone-values{font-size:.7rem}.result-value{font-size:1.25rem}.emr-preview textarea{font-size:.86rem}.calculator-notes{font-size:.76rem}.with-estimates tbody .zone-values{font-size:.9rem}}@media (width>=2400px) and (height>=1200px){:root{--content-scale:1.35}}.portal-footer{width:100%;max-width:calc(var(--page-width) * var(--content-scale));padding:.75rem calc(24px * var(--content-scale));border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:1rem;margin-inline:auto;font-size:.75rem;display:flex}.portal-footer a{color:var(--muted);text-decoration:none}.access-state{text-align:center;max-width:700px;margin:4rem auto}.access-state h1{font-size:1.4rem}.local-banner{color:#695216;text-align:center;background:#fff0c6;padding:.35rem .7rem;font-size:.75rem}.skip-link{z-index:10;background:#fff;padding:12px;position:fixed;top:-80px;left:10px}.skip-link:focus{top:10px}@media (width>=1400px){.portal-main:not(.calculator-main){padding-top:3rem}}@media (width<=1000px){.portal-header{flex-wrap:wrap;gap:1rem;padding:1rem 20px}.portal-header nav{order:3;width:100%;margin-left:0}.account{margin-left:auto}.page-heading{flex-wrap:wrap;align-items:flex-start;gap:1rem}.number-input button{width:32px;min-width:32px}}@media (width<=700px){.portal-main{padding:1.6rem 16px 2rem}.portal-header{gap:.7rem;padding:.8rem 16px}.brand img{height:32px}.account{gap:.3rem}.account select{max-width:86px;font-size:.75rem}.account>.text-button{font-size:.7rem}.portal-header nav{gap:.25rem}.portal-header nav button{white-space:normal;padding:.5rem .6rem;font-size:.82rem}h1{font-size:1.65rem}.page-heading{margin-bottom:1.2rem}.page-heading .eyebrow{font-size:.65rem}.page-actions{flex-wrap:wrap;font-size:.75rem}.tool-card{flex-direction:column;align-items:flex-start;gap:1rem;padding:1.4rem}.tool-card h2{font-size:1.45rem}.number-input input{font-size:.9rem}.number-input button{min-width:32px;min-height:44px}.portal-footer{flex-wrap:wrap;padding:.9rem 16px}}@media (width<=1199px){.basic-table,.nomogram-table,.thickness-table,.final-table{min-width:0}}@media (width<=760px){.calculator-table-scroll{overflow:visible}.calculator-table,.calculator-table tbody{width:100%;display:block}.calculator-table thead{display:none}.calculator-table tbody tr{border-top:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:.55rem .6rem;padding:.65rem .8rem .8rem;display:grid}.calculator-table tbody th,.calculator-table tbody td{text-align:left;border:0;min-width:0;height:auto;padding:0;display:block}.calculator-table tbody tr>th:first-child{border:0;grid-column:1/-1;align-self:center;width:auto;position:static}.calculator-table tbody [data-label]:before{content:attr(data-label);color:var(--muted);margin-bottom:.2rem;font-size:.7rem;font-weight:600;line-height:1.25;display:block}.basic-table tbody tr{grid-template-columns:repeat(6,minmax(0,1fr))}.basic-table tbody td{grid-column:span 2}.basic-table tbody td:nth-child(-n+3){grid-column:span 3}.basic-table tbody td:nth-child(n+4){--step-button:24px}.nomogram-table tbody tr{grid-template-columns:repeat(4,minmax(0,1fr))}.nomogram-table tbody td:nth-last-child(-n+2){grid-column:span 2}.nomogram-table tbody td[data-label]:before{text-align:center}.thickness-table tbody td{grid-column:1/-1}.thickness-table .table-note{margin-left:.5rem;display:inline}.zone-choice{align-items:center;gap:.5rem;padding-block:.3rem;display:flex}.zone-choice .zone-selection{flex-shrink:0;justify-content:flex-start;min-width:4.6rem}.cap-diameter-inputs{width:100%;padding:0 .8rem .6rem}.cap-diameter-inputs input{min-height:36px}.estimate-zone{min-height:34px;padding-inline:.6rem;font-size:.8rem}.zone-choice .zone-values>span:before{text-align:center;margin-bottom:.05rem;font-size:.6rem;font-weight:500}.copy-actions{width:100%;padding:0 .3rem .65rem .8rem}.calculator-main .page-actions{width:100%}.copy-actions button,.calculator-main .page-actions button{white-space:nowrap;flex:1;min-height:44px;padding-inline:.6rem}.final-table tbody tr{grid-template-columns:repeat(4,minmax(0,1fr))}.final-table tbody tr>th:first-child{grid-area:1/1/auto/3}.final-table tbody .result-status{text-align:right;grid-area:1/3/auto/-1;align-self:center}.final-table .result-value{overflow-wrap:anywhere;font-size:clamp(.85rem,6.7vw - 6px,1.15rem)}.final-table .device-plan-required{grid-column:span 2}.emr-preview textarea{field-sizing:content;min-height:12.5rem;font-size:.75rem}.calculator-dashboard{padding-bottom:4.6rem}.mobile-summary{left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:5;text-align:left;border-color:#d9cdf0;border-radius:14px;align-items:center;gap:.6rem;min-height:56px;padding:.5rem .8rem;display:flex;position:fixed;box-shadow:0 6px 20px #26233829}.mobile-summary-eyes{font-variant-numeric:tabular-nums;flex:1;gap:.15rem;min-width:0;font-size:.78rem;line-height:1.3;display:grid}.mobile-summary-eyes>span{white-space:nowrap;align-items:baseline;gap:.45rem;min-width:0;display:flex;overflow:hidden}.mobile-summary-eyes strong{color:var(--purple);flex:0 0 1.6rem}.mobile-summary-eyes b{font-weight:750}.mobile-summary-eyes span span{color:var(--muted);text-overflow:ellipsis;overflow:hidden}.mobile-summary-eyes .pending span{color:#a3422e}.mobile-summary-arrow{color:var(--purple);font-size:1.1rem}.calculator-table-scroll{container:calc-card/inline-size}}@container calc-card (width<=19.5rem){.basic-table tbody td,.basic-table tbody td:nth-child(-n+3){grid-column:span 3}.nomogram-table tbody tr,.final-table tbody tr{grid-template-columns:repeat(2,minmax(0,1fr))}.final-table tbody tr>th:first-child{grid-column:1}.final-table tbody .result-status{grid-column:2}.zone-choice{flex-wrap:wrap}.zone-choice .zone-selection{flex-basis:100%}}@container calc-card (width<=15rem){.basic-table tbody td,.basic-table tbody td:nth-child(-n+3){grid-column:1/-1}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}.page-actions{min-width:0;max-width:100%}.login-state{max-width:30rem;margin-inline:auto}.login-form{text-align:left;gap:.65rem;margin-top:1.8rem;display:grid}.login-form>label{font-weight:600}.login-form>input{width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:.6rem;margin-bottom:.6rem;padding:.85rem}.login-form .remember-choice{cursor:pointer;align-items:center;gap:.6rem;min-height:44px;font-size:.9rem;display:flex}.remember-choice input{accent-color:#17335c;width:1.1rem;height:1.1rem}.login-form small{color:#617086;margin-bottom:.8rem;font-size:.8rem;line-height:1.7}.login-error{color:#b42318;min-height:1.5rem;margin:0;font-size:.9rem}
