:root{
  --green:#03c75a;
  --green-dark:#02a94f;
  --green-soft:#eafbf1;
  --ink:#172033;
  --muted:#667085;
  --bg:#f4f7f5;
  --card:#ffffff;
  --line:#e3e9e5;
  --shadow:0 10px 28px rgba(31,52,44,.07);
  --danger:#e60012;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"NanumSquare","Malgun Gothic",Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:14px;line-height:1.45}
button,input{font:inherit}
a{color:inherit}
.app{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
.topbar{height:66px;background:#fff;border-bottom:1px solid #edf1ee;display:flex;align-items:center;justify-content:space-between;padding:0 22px;position:sticky;top:0;z-index:20}
.logo{font-size:24px;font-weight:900;letter-spacing:-1.5px}
.title-base{color:#111}
.title-change{color:var(--danger)}
.title-service{color:var(--green)}
.top-actions{display:flex;align-items:center;gap:10px}
.home-btn{border:1px solid #cfe6d8;background:#fff;color:#0b6f39;border-radius:10px;padding:9px 13px;font-weight:800;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.home-btn:hover{border-color:var(--green);background:var(--green-soft);transform:translateY(-1px);box-shadow:0 5px 12px rgba(3,199,90,.08)}
.workspace{display:grid;grid-template-columns:302px minmax(720px,1fr) 302px;gap:20px;max-width:1880px;width:100%;margin:0 auto;padding:16px 20px 18px;flex:1;align-items:stretch}
.content-frame{min-width:0;display:flex}
.main-scroll{min-width:0;display:flex;flex:1;width:100%}
.main{max-width:1120px;width:100%;margin:0 auto;display:flex;flex-direction:column;min-height:100%}
.hero{margin-bottom:14px}
.hero h1,.section-title-row h2{font-size:24px;line-height:1.2;margin:0;letter-spacing:-.7px}
.section-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px}
.section-note{margin:0;color:var(--muted);font-size:12px;line-height:1.4}
.card,.card-lite{background:var(--card);border:1px solid #e6ebe7;border-radius:17px;box-shadow:var(--shadow)}
.card{padding:19px;margin-bottom:16px}
.card-lite{padding:16px 18px;margin-bottom:18px}
.option-layout{display:grid;grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr);gap:18px;align-items:center;max-width:800px;margin:0 auto}
.option-card{position:relative;top:0;border:1.5px solid #d7e4da;background:#fff;border-radius:18px;padding:16px 20px;min-height:136px;text-align:left;box-shadow:0 5px 12px rgba(23,32,51,.045);cursor:pointer;transition:top .24s cubic-bezier(.22,1,.36,1),border-color .2s ease,box-shadow .22s ease,background-color .2s ease}
.option-card:not(.is-active):hover{border-color:#97d8b2;top:-2px;box-shadow:0 7px 14px rgba(23,32,51,.06)}
.option-card.is-active{border-color:var(--green);background:#fff;top:-6px;box-shadow:0 8px 14px rgba(3,199,90,.13),0 2px 5px rgba(3,199,90,.08),0 0 0 1px rgba(3,199,90,.08)}


.option-line{display:flex;align-items:center;gap:14px;min-height:36px}
.option-label{min-width:68px;font-size:21px;font-weight:900;letter-spacing:-.55px}
.option-text{font-size:14px;font-weight:800;letter-spacing:-.28px}
.option-divider{height:1px;background:#e7ece9;margin:10px 0}
.base-label,.base-text{color:#111}
.change-label,.change-text{color:var(--danger)}
.option-switch-wrap{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.switch-btn{width:54px;height:54px;border-radius:50%;border:1px solid #b7ebca;background:linear-gradient(180deg,#f5fff9 0%,#edfbf3 100%);color:var(--green-dark);font-size:23px;font-weight:900;cursor:pointer;box-shadow:0 6px 14px rgba(3,199,90,.09);transition:transform .38s cubic-bezier(.22,1,.36,1),border-color .2s ease,box-shadow .25s ease,background-color .2s ease}
.switch-btn:hover{transform:rotate(24deg) scale(1.03);border-color:var(--green);box-shadow:0 9px 16px rgba(3,199,90,.13)}
.switch-text{font-size:12px;font-weight:800;color:#2f8b55}
.option-help{text-align:center;margin:12px 0 0;color:#475467;font-size:12.5px;font-weight:700}
.file-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.dropzone{border:2px dashed #8dddaf;border-radius:15px;background:#f8fffb;padding:25px 20px;text-align:center;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease;cursor:pointer;display:block;outline:none}
.dropzone:hover,.dropzone:focus,.dropzone.drag{border-color:var(--green);background:var(--green-soft);box-shadow:0 7px 16px rgba(3,199,90,.06)}
.dropzone.processing{pointer-events:none;opacity:.72}
.drop-icon{width:46px;height:46px;border-radius:13px;background:var(--green);color:#fff;margin:0 auto 10px;display:grid;place-items:center;font-size:25px;font-weight:300}
.drop-main{font-weight:900;font-size:15px;letter-spacing:-.15px}
.drop-sub{color:var(--muted);margin-top:6px;font-size:12px;line-height:1.6}
.file-card{display:none;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin-top:12px;background:#fff;gap:10px}
.file-left{display:flex;align-items:center;gap:12px;min-width:0}
.excel-icon{width:39px;height:39px;border-radius:10px;background:var(--green-soft);color:var(--green-dark);display:grid;place-items:center;font-weight:900;flex:none}
.file-name{font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:650px}
.file-meta{font-size:12px;color:var(--muted);margin-top:2px}
.mini-btn{border:1px solid var(--line);background:#fff;border-radius:9px;padding:8px 11px;font-weight:800;color:#475467;cursor:pointer}
.mini-btn:hover{border-color:var(--green);color:var(--green-dark)}
.mini-btn:disabled{opacity:.45;cursor:not-allowed;background:#f2f4f3}
.upload-error{display:none;color:#b42318;background:#fff2f1;border:1px solid #f5b7b3;border-radius:10px;padding:10px 12px;margin-top:10px;line-height:1.55;font-weight:700}
.warn{color:#9a5b00;background:#fff9e8;border:1px solid #f3d68a;border-radius:10px;padding:10px 12px;margin-top:10px;display:none}
.status{display:none;margin-top:12px;border:1px solid #a8dfbd;background:#f3fff8;border-radius:12px;padding:13px}
.status-head{display:flex;justify-content:space-between;font-weight:800;margin-bottom:8px}
.progress{height:9px;border-radius:99px;background:#dff2e7;overflow:hidden}
.bar{height:100%;width:0;background:var(--green);transition:.2s}
.log{margin-top:8px;font-size:12px;color:#475467;max-height:80px;overflow:auto;white-space:pre-line}
.stage-actions{display:flex;justify-content:center;margin:14px 0 0}
.stage-guide{text-align:center}
.stage-guide-sub{font-size:12px;color:var(--muted);line-height:1.75}
.stage-guide-sub+.stage-guide-sub{margin-top:2px}



.side-frame{background:#fff;border:1px solid #edf1ee;border-radius:22px;display:flex;align-items:flex-start;justify-content:center;padding:22px 0;min-height:620px;position:sticky;top:72px;align-self:start}
.ad-panel,.ad-slot-shell{width:300px;max-width:100%}
.ad-slot{width:100%;min-width:0}
.ad-slot .adsbygoogle{display:block;width:100%}
.bottom-ad-region{display:none;width:100%;margin:0 auto}
.bottom-ad-shell{width:100%;max-width:970px;margin:0 auto}
.ad-slot-bottom{width:100%}
.frame-footer{margin-top:0;border-top:1px solid #e9efeb;background:#fff;padding:10px 14px;font-size:12px;color:var(--muted);line-height:1.5;text-align:center;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.frame-footer a{color:var(--muted);text-decoration:none}
.frame-footer a:hover{color:var(--green-dark);text-decoration:underline}
.footer-nav{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center}
.footer-sep{color:#c0c8c3}
.toast{position:fixed;right:24px;bottom:24px;background:#153d28;color:#fff;padding:12px 15px;border-radius:10px;box-shadow:0 12px 28px rgba(0,0,0,.22);opacity:0;transform:translateY(12px);pointer-events:none;transition:.25s;z-index:99}
.toast.show{opacity:1;transform:translateY(0)}
@media(min-width:1600px){.side-left,.side-right{display:flex}}
@media(min-width:1280px) and (max-width:1599px){.workspace{grid-template-columns:minmax(760px,1fr) 302px;max-width:1560px}.side-left{display:none}.side-right{display:flex}}
@media(max-width:1279px){.workspace{grid-template-columns:1fr;max-width:1180px;padding:14px}.side-frame{display:none}.bottom-ad-region{display:block}.topbar{padding:0 14px}}
@media(max-width:860px){.option-layout{grid-template-columns:1fr;gap:14px}.option-switch-wrap{order:3}.section-title-row{align-items:flex-start;flex-direction:column}}
@media(max-width:640px){.workspace{padding:10px}.card,.card-lite{padding:14px}.frame-footer{padding:12px 10px;gap:6px}.frame-footer>.footer-sep{display:none}.footer-mail{width:100%}.topbar{height:auto;min-height:68px;padding:12px 14px;gap:10px;align-items:flex-start}.logo{font-size:22px}.top-actions{flex-wrap:wrap;justify-content:flex-end}.option-card{padding:16px 16px;min-height:132px}.option-label{min-width:60px;font-size:20px}.option-text{font-size:14px}}
@media(max-width:1279px){.bottom-ad-region:has(.adsbygoogle){margin-top:2vh}.bottom-ad-region:has(.adsbygoogle)+.frame-footer{margin-top:2vh}}


.option-card:active{top:-1px}
.option-card.is-active:active{top:-5px}
.switch-btn:active{transform:rotate(90deg) scale(.96)}
@media(prefers-reduced-motion:reduce){.option-card,.switch-btn,.home-btn{transition:none!important}}

/* integrated tool tabs + color swap */
.tool-tabs-shell{height:56px;background:#fff;border-bottom:1px solid #edf1ee;display:flex;align-items:flex-end;position:relative;z-index:15}
.tool-tabs-inner{max-width:1880px;width:100%;margin:0 auto;padding:0 22px;display:flex;gap:8px;align-items:flex-end}
.tool-tab{appearance:none;-webkit-appearance:none;font-family:inherit;cursor:pointer;position:relative;top:0;min-width:178px;height:48px;padding:0 18px;border:1px solid #dfe7e2;border-bottom-color:#e7ece9;border-radius:12px 12px 0 0;background:#fff;color:#5c6677;text-decoration:none;font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 5px rgba(23,32,51,.025);transition:top .22s cubic-bezier(.22,1,.36,1),border-color .18s ease,box-shadow .2s ease,color .18s ease,background-color .18s ease}
.tool-tab:hover{top:-2px;border-color:#b6ddc4;color:#167a42;box-shadow:0 7px 15px rgba(23,32,51,.06)}


[hidden]{display:none!important}
.tool-tab.is-active{top:-5px;border-color:#8ddca9;border-top:2px solid var(--green);border-bottom-color:#fff;color:var(--green-dark);background:#fff;box-shadow:0 9px 18px rgba(3,199,90,.09),0 3px 9px rgba(23,32,51,.05)}
.tool-tab:focus-visible{outline:3px solid rgba(3,199,90,.18);outline-offset:2px}
.tool-panel{display:flex;flex-direction:column;min-height:calc(100vh - 190px)}


.shared-bottom{margin-top:auto;width:100%}
.panel-secondary{margin-top:auto;padding:18px 0 4px;text-align:center}



.color-example-card{background:#fff;border:1px solid #e6ebe7;border-radius:17px;box-shadow:var(--shadow);padding:16px 18px;margin-bottom:16px}
.color-example-grid{display:grid;grid-template-columns:minmax(0,1fr) 82px minmax(0,1fr);gap:18px;align-items:center}
.color-example-title{font-size:21px;font-weight:900;letter-spacing:-.55px;margin-bottom:10px;color:#111}
.color-example-title.after{color:var(--danger)}
.color-table{border:1px solid #dfe5e1;border-radius:10px;overflow:hidden;background:#fff}
.color-row{display:grid;grid-template-columns:56px 1fr;min-height:48px;border-bottom:1px solid #e7ece9}
.color-row:last-child{border-bottom:0}
.color-num{display:grid;place-items:center;border-right:1px solid #e7ece9;font-size:14px;font-weight:800;color:#111}
.color-cell{display:flex;align-items:center;justify-content:center;padding:8px 12px;font-weight:800;font-size:14px;letter-spacing:-.28px;color:#111;text-align:center}
.text-red{color:#f00000!important}
.color-arrow{text-align:center;color:#7b8494;font-size:43px;font-weight:300}
.color-info{background:#fff;border:1px solid #e4ebe6;border-radius:15px;padding:13px 18px;display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:16px;color:#111;font-size:14px;line-height:1.55}
.color-check{width:38px;height:38px;border:1px solid #9fe1b8;border-radius:50%;display:grid;place-items:center;color:var(--green);font-size:21px;font-weight:900;flex:none}
.color-status{display:none;margin-top:12px;border:1px solid #a8dfbd;background:#f3fff8;border-radius:12px;padding:13px}
.color-status-head{display:flex;justify-content:space-between;font-weight:800;margin-bottom:8px}
.color-progress{height:9px;border-radius:99px;background:#dff2e7;overflow:hidden}
.color-bar{height:100%;width:0;background:var(--green);transition:.2s}
.color-log{margin-top:8px;font-size:12px;color:#475467;max-height:80px;overflow:auto;white-space:pre-line}
.color-file-card{display:none;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin-top:12px;background:#fff;gap:10px}
@media(max-width:1279px){.tool-tabs-inner{padding:0 14px}.tool-panel{min-height:auto}}
@media(max-width:760px){.tool-tabs-shell{height:52px}.tool-tabs-inner{padding:0 10px;gap:6px}.tool-tab{appearance:none;-webkit-appearance:none;font-family:inherit;cursor:pointer;min-width:0;flex:1;height:44px;padding:0 8px;font-size:12.5px}.color-example-grid{grid-template-columns:1fr;gap:12px}.color-arrow{transform:rotate(90deg);font-size:34px}.color-example-card{padding:14px}.color-info{font-size:13px}}
@media(prefers-reduced-motion:reduce){.tool-tab{appearance:none;-webkit-appearance:none;font-family:inherit;cursor:pointer;transition:none!important}}
.info-modal[hidden]{display:none!important}.info-modal{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:18px;background:rgba(17,24,39,.42)}.info-modal-card{width:min(720px,100%);max-height:min(78vh,760px);overflow:auto;background:#fff;border:1px solid #e3e9e5;border-radius:18px;box-shadow:0 24px 60px rgba(17,24,39,.22)}.info-modal-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;background:#fff;border-bottom:1px solid #edf1ee}.info-modal-title{margin:0;font-size:21px}.info-modal-close{width:38px;height:38px;border:1px solid #dfe7e2;border-radius:10px;background:#fff;color:#475467;font-size:22px;cursor:pointer}.info-modal-body{padding:20px;color:#344054;line-height:1.75}.info-modal-body h3{margin:20px 0 7px;font-size:16px;color:#172033}.info-modal-body h3:first-child{margin-top:0}.info-modal-body ul{padding-left:22px}.info-faq-item{padding:13px 0;border-bottom:1px solid #edf1ee}.info-faq-q{font-weight:900;color:#172033;margin-bottom:5px}.footer-action{border:0;background:transparent;padding:0;color:var(--muted);font:inherit;cursor:pointer}.footer-action:hover{color:var(--green-dark);text-decoration:underline}
a.tool-tab,span.tool-tab{text-decoration:none}span.tool-tab{cursor:default}a.home-btn{text-decoration:none;display:inline-flex;align-items:center}.tab-beta{margin-left:7px;background:var(--danger);color:#fff;border-radius:5px;font-size:9.5px;font-weight:900;padding:2px 5px;letter-spacing:.4px}.logo-wrap{display:flex;align-items:baseline;gap:14px;min-width:0}.logo-sub{font-size:13px;font-weight:800;color:#7b8a82;letter-spacing:-.45px;white-space:nowrap;padding-left:14px;border-left:1px solid #e4eae6;line-height:1}@media(max-width:820px){.logo-sub{display:none}}.dc-fail{position:fixed;right:24px;bottom:24px;z-index:130;max-width:390px;background:#153d28;color:#fff;padding:13px 15px;border-radius:11px;box-shadow:0 14px 32px rgba(0,0,0,.26);font-size:13px;line-height:1.6}.dc-fail-t{display:block;font-weight:900;color:#a8f0c8}.dc-fail-m{display:block;margin-top:2px;color:#e4f3ea}.dc-fail-row{display:flex;gap:8px;margin-top:11px;align-items:center}.dc-fbtn{border:1px solid rgba(255,255,255,.34);background:rgba(255,255,255,.09);color:#fff;font-weight:900;font-size:12px;border-radius:8px;padding:6px 11px;cursor:pointer;display:inline-flex;align-items:center;gap:5px}.dc-fbtn.on{background:#fff;color:#153d28;border-color:#fff}.dc-fbtn svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.dc-fclose{margin-left:auto;color:#9fc4ae;font-size:12px;font-weight:800;cursor:pointer;background:none;border:0;padding:6px 2px}.dc-fclose:hover{color:#fff}.dc-rm{position:fixed;inset:0;z-index:140;background:rgba(23,32,51,.42);display:flex;align-items:center;justify-content:center;padding:20px;overflow:auto}.dc-rm[hidden]{display:none}.dc-rm-card{background:#fff;border-radius:16px;padding:22px 22px 18px;max-width:430px;width:100%;box-shadow:0 24px 60px rgba(23,32,51,.28)}.dc-rm-title{margin:0 0 8px;font-size:16px;font-weight:900;letter-spacing:-.5px;text-align:center}.dc-rm-msg{margin:0 0 16px;font-size:13px;font-weight:700;color:#41506b;line-height:1.7;text-align:center}.dc-fld{display:block;margin:0 0 12px}.dc-fld>span{display:block;font-size:11.5px;font-weight:900;color:#5d6a62;margin:0 0 5px;letter-spacing:-.2px}.dc-fld>span em{font-style:normal;color:#9aa5ab;font-weight:800}.dc-fld textarea,.dc-fld input{width:100%;border:1px solid #dde3e0;border-radius:9px;padding:9px 11px;font:inherit;font-size:13px;color:#2f3a44;background:#fcfdfc}.dc-fld textarea{min-height:76px;resize:vertical;line-height:1.6}.dc-fld textarea:focus,.dc-fld input:focus{outline:0;border-color:var(--green);box-shadow:0 0 0 3px rgba(3,199,90,.12)}.dc-auto{border:1px solid #e2e8e4;border-radius:9px;background:#f8faf9;margin:0 0 12px;overflow:hidden}.dc-auto-hd{display:flex;align-items:center;gap:7px;padding:9px 11px;font-size:11.5px;font-weight:900;color:#5d6a62;cursor:pointer;width:100%;border:0;background:none;text-align:left;font-family:inherit}.dc-chev{margin-left:auto;color:#9aa5ab;font-size:11px}.dc-dot{width:6px;height:6px;border-radius:50%;background:var(--green);flex:none}.dc-auto-b{border-top:1px solid #e8eeea;padding:10px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;line-height:1.85;color:#5b6870;background:#fff;word-break:break-all}.dc-auto-b i{font-style:normal;color:#9aa5ab}.dc-priv{font-size:11px;color:#8b959c;font-weight:700;margin:0 0 12px;line-height:1.65;text-align:center}.dc-err{font-size:12px;font-weight:800;color:#b03a2e;background:#fdf6f5;border:1px solid #f0d3ce;border-radius:8px;padding:8px 10px;margin:0 0 12px;line-height:1.6}.dc-rm-row{display:flex;gap:9px;align-items:stretch;justify-content:center}.dc-send{border:0;background:var(--green);color:#fff;font-weight:900;font-size:14px;border-radius:11px;padding:11px 20px;cursor:pointer;box-shadow:0 8px 16px rgba(3,199,90,.22);min-width:140px}.dc-send:hover:not(:disabled){background:var(--green-dark)}.dc-send:disabled{background:#b9d6c5;box-shadow:none;cursor:not-allowed}.dc-ghost{border:1px solid #dae0dd;background:#fff;color:#5d6a62;font-weight:900;font-size:14px;border-radius:11px;padding:11px 18px;cursor:pointer;flex:0 0 auto}.dc-ghost:hover{border-color:#b6c0ba;color:#1f2830;background:#f6f8f7}.dc-ok{width:46px;height:46px;border-radius:50%;background:var(--green-soft);display:flex;align-items:center;justify-content:center;margin:2px auto 12px}.dc-ok svg{width:24px;height:24px;stroke:var(--green);fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}.foot-report{display:inline-flex;align-items:center;gap:4px}@media(max-width:560px){.dc-fail{left:14px;right:14px;bottom:14px;max-width:none}}.dc-copy{width:100%;min-height:150px;border:1px solid #dde3e0;border-radius:9px;padding:10px 11px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px;line-height:1.75;color:#3d4a52;background:#fafbfa;resize:vertical;margin:0 0 10px}a.footer-action{text-decoration:none}.step-tip{display:flex;align-items:center;gap:18px;margin:0 0 14px;padding:9px 12px;border-radius:9px;background:var(--green-soft);border-left:3px solid var(--green)}.step-tip-txt{margin:0;color:#0b6f39;font-size:12.5px;font-weight:700;line-height:1.75;letter-spacing:-.2px;white-space:nowrap}.step-tip-txt b{font-weight:900}.step-tip-img{flex:1;min-width:0;display:flex;justify-content:flex-end}.step-tip-img svg{width:100%;max-width:560px;height:auto}.step-tip-ways{display:none;margin:0;gap:6px;flex-wrap:wrap;align-items:center}.step-tip-ways span{display:inline-flex;align-items:center;gap:3px;border:1px solid #9ee0bb;background:#fff;border-radius:20px;padding:3px 10px;font-size:11.5px;font-weight:900;color:#0b6f39;letter-spacing:-.2px}.step-tip-ways i{font-style:normal;color:var(--green)}@media(max-width:820px){.step-tip{flex-direction:column;align-items:flex-start;gap:9px}.step-tip-txt{white-space:normal}.step-tip-img{display:none}.step-tip-ways{display:flex}}.tool-head{background:var(--card);border:1px solid #e6ebe7;border-radius:17px;box-shadow:var(--shadow);padding:15px 18px 16px;margin:0 0 16px}.th-line{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;min-width:0}.th-title{margin:0;font-size:19px;font-weight:900;letter-spacing:-.65px;line-height:1.25;color:#111}.th-badge{font-size:12px;font-weight:800;color:var(--muted);letter-spacing:-.2px;white-space:nowrap}.th-sub{margin:6px 0 0;color:#4b5660;font-size:12px;font-weight:700;line-height:1.7;max-width:900px}.th-sub strong{color:#0b6f39;font-weight:900}.tool-head .step-tip{margin:12px 0 0}@media(max-width:640px){.tool-head{padding:14px}.th-title{font-size:17px}.th-badge{font-size:11.5px}}
.drop-safe{display:inline-flex;align-items:center;gap:7px;margin:13px auto 0;padding:7px 15px;border:0;background:#153d28;border-radius:20px;font-size:12.5px;font-weight:900;color:#fff;letter-spacing:-.2px;line-height:1.5;box-shadow:0 4px 10px rgba(21,61,40,.22)}
.drop-safe svg{width:13px;height:13px;flex:none;fill:none;stroke:#8ff0bb;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}






@media(max-width:820px){.th-sub{display:none}.step-tip-ways{display:none}.tool-head{padding:13px 15px 14px}.tool-head .step-tip{margin:10px 0 0}.step-tip{padding:8px 11px}.head-sub{display:none}.board-head .head-tip{margin:10px 0 0}}
@media(max-width:640px){.drop-safe{font-size:12px;padding:7px 13px;white-space:normal;text-align:left}}
.section-title-row h2,
.color-example-title{font-size:17px}
@media(max-width:820px){
.tool-tabs-shell{height:46px}.tool-tab{height:40px;font-size:12px}
.card,.card-lite{padding:13px}
.section-title-row{margin-bottom:9px;gap:2px}.section-note{font-size:11.5px}
.option-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}
.option-card{min-height:0;padding:11px 12px;border-radius:13px}
.option-line{min-height:0;gap:7px}
.option-label{min-width:40px;font-size:15px}
.option-text{font-size:11.5px;letter-spacing:-.4px;line-height:1.35}
.option-divider{margin:7px 0}
.option-switch-wrap{grid-column:1/-1;order:3;flex-direction:row;gap:9px;margin-top:2px}
.switch-btn{width:38px;height:38px;font-size:17px}
.option-help{margin-top:9px;font-size:11.5px}
.color-example-card{padding:12px}
.color-example-grid{gap:8px}
.color-row{min-height:34px}
.color-num,.color-cell{font-size:12px}
.color-cell{padding:6px 8px}
.color-arrow{font-size:26px}
.color-info{padding:10px 13px;font-size:12px;margin-bottom:12px}
.color-check{width:30px;height:30px;font-size:17px}
.drop-icon{width:38px;height:38px;font-size:21px;margin-bottom:8px}
.dropzone{padding:18px 14px}
.drop-main{font-size:14px}.drop-sub{font-size:11.5px;margin-top:5px}
}
.tab-sm,.safe-sm{display:none}
.option-text{word-break:keep-all}
@media(max-width:820px){.tab-lg{display:none}.tab-sm{display:inline}.tool-tab{min-width:0;flex:1;padding:0 6px;font-size:12.5px;white-space:nowrap}.tab-beta{margin-left:5px;font-size:9px;padding:2px 4px}}
@media(max-width:640px){.safe-lg{display:none}.safe-sm{display:inline}.drop-safe{white-space:nowrap}}
.nw{white-space:nowrap}
/* ===== 시트 선택 (v4.63) ===== */
.sheet-pick[hidden]{display:none!important}
.sp-head{display:flex;align-items:center;gap:12px;padding:0 0 13px;border-bottom:1px solid var(--line)}
.sp-icon{width:39px;height:39px;border-radius:10px;background:var(--green-soft);color:var(--green-dark);display:grid;place-items:center;font-weight:900;flex:none}
.sp-hmain{min-width:0;flex:1}
.sp-name{font-weight:800;font-size:14.5px;letter-spacing:-.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-meta{font-size:12px;color:var(--muted);margin-top:2px}
.sp-bar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:11px 0 0}
.sp-chip{border:1px solid #dae0dd;background:#fff;color:#4b5660;font-family:inherit;font-size:11.5px;font-weight:800;letter-spacing:-.2px;border-radius:7px;padding:5px 10px;cursor:pointer;transition:border-color .16s,color .16s,background-color .16s}
.sp-chip:hover{border-color:#b6c0ba;color:#1f2830;background:#f6f8f7}


.sp-chip[hidden]{display:none}
.sp-count{margin-left:auto;font-size:12px;font-weight:800;color:#0b6f39;letter-spacing:-.2px;font-variant-numeric:tabular-nums}















.sp-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:14px;margin-top:10px}
.sp-mode{font-size:12.5px;font-weight:700;color:#475467;line-height:1.55}
.sp-mode b{color:#111;font-weight:900}
.sp-mode b.r{color:var(--danger)}
.sp-go{border:0;background:var(--green);color:#fff;font-family:inherit;font-weight:900;font-size:14px;border-radius:11px;padding:11px 22px;cursor:pointer;box-shadow:0 8px 16px rgba(3,199,90,.22);transition:background-color .16s,transform .16s}
.sp-go:hover:not(:disabled){background:var(--green-dark);transform:translateY(-1px)}
.sp-go:disabled{background:#b9d6c5;box-shadow:none;cursor:not-allowed;transform:none}
#spErr{margin-top:12px}

@media(max-width:820px){
.sp-head{gap:10px;padding-bottom:11px}
.sp-bar{gap:5px;padding-top:9px}
.sp-chip{font-size:11px;padding:5px 8px}
.sp-count{width:100%;margin-left:0;order:9;padding-top:3px}



.sp-foot{padding-top:12px;margin-top:8px}
.sp-mode{width:100%;text-align:center}
.sp-go{width:100%;padding:12px}
}
/* ===== 시트 선택 : 목록 + 미리보기 (v4.63) ===== */
.sp-split{display:grid;grid-template-columns:238px minmax(0,1fr);gap:14px;padding-top:12px;align-items:start}
.sp-list2{border:1px solid #e6ebe7;border-radius:10px;background:#fff;max-height:373px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c9d3cd transparent}
.sp-list2::-webkit-scrollbar{width:9px}
.sp-list2::-webkit-scrollbar-track{background:transparent}
.sp-list2::-webkit-scrollbar-thumb{background:#d3dcd6;border:2px solid #fff;border-radius:9px}
.sp-list2::-webkit-scrollbar-thumb:hover{background:#b6c2ba}
.sp-ln{display:grid;grid-template-columns:16px minmax(0,1fr) auto;gap:9px;align-items:center;width:100%;text-align:left;font-family:inherit;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #f0f3f1;padding:8px 11px;transition:background-color .13s}
.sp-ln:last-child{border-bottom:0}
.sp-ln:hover{background:#f7faf8}
.sp-ln.act{background:#f2f9f5;box-shadow:2px 0 0 var(--green) inset}
.sp-ln:focus-visible{outline:2px solid rgba(3,199,90,.35);outline-offset:-2px}
.sp-ln .k{width:15px;height:15px;border-radius:4px;border:1.5px solid #c9d3cd;background:#fff;display:grid;place-items:center;color:#fff;font-size:9.5px;font-weight:900;line-height:1}
.sp-ln.on .k{background:var(--green);border-color:var(--green)}
.sp-ln .nm{font-size:12.8px;font-weight:800;letter-spacing:-.35px;color:#2f3a44;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.sp-ln.on .nm{color:#111}
.sp-ln .rw{font-size:11px;color:#a3ada7;font-variant-numeric:tabular-nums}
.sp-ln.bad{background:#fdf6f5}
.sp-ln.bad .nm{color:#b03a2e}
.sp-pv{min-width:0}
.pvh{display:flex;align-items:baseline;gap:9px;margin:0 0 7px;flex-wrap:wrap}
.pvh b{font-size:13px;font-weight:900;color:#0b6f39;letter-spacing:-.3px}
.pvh span{font-size:11.5px;font-weight:800;color:#8b968f;font-variant-numeric:tabular-nums}
.xg{position:relative;border:1px solid #d7ded9;border-radius:6px;overflow-x:scroll;overflow-y:auto;background:#fff;height:330px;overscroll-behavior:contain}
.xg::-webkit-scrollbar{width:11px;height:11px;background:#f4f6f5}
.xg::-webkit-scrollbar-track{background:#f4f6f5;border-top:1px solid #e6ebe7}
.xg::-webkit-scrollbar-thumb{background:#b9c4bd;border:2px solid #f4f6f5;border-radius:9px}
.xg::-webkit-scrollbar-thumb:hover{background:#95a49b}
.xg::-webkit-scrollbar-corner{background:#f4f6f5}
.xw{transform-origin:0 0}
.xg table{border-collapse:collapse;table-layout:fixed;font-size:11.5px;font-family:"Malgun Gothic","맑은 고딕",Arial,sans-serif}
.xg col.cw{width:32px}
.xg th,.xg td{border:1px solid #e2e8e4;padding:1px 3px;text-align:left;vertical-align:middle;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#1f2a24;line-height:1.25}
.xg td.ac{text-align:center}
.xg td.ar{text-align:right}
.xg td.bd{font-weight:800}
.xg td.wr{white-space:normal;text-overflow:clip}
.xg thead th{position:sticky;top:0;z-index:2;background:#eef1ef;color:#6b7670;font-weight:700;font-size:10px;text-align:center;height:19px;border-color:#cdd6d0}
.xg thead th.hd{color:#c3ccc7}
.xg th.cn{position:sticky;left:0;z-index:1;background:#eef1ef;color:#6b7670;font-weight:700;font-size:9.5px;text-align:center;width:32px;padding:1px 2px;text-overflow:clip;border-color:#cdd6d0}
.xg thead th:first-child{z-index:3}
.pvk{margin-left:auto;font-size:10.5px;font-weight:800;color:#c3ccc7;letter-spacing:-.2px;white-space:nowrap}
.sp-pv{display:flex;flex-direction:column}
.pv-empty{margin:0;padding:26px 12px;text-align:center;font-size:12px;font-weight:700;color:#a3ada7;border:1px dashed #dfe6e2;border-radius:8px;background:#fbfcfb}
.sp-hid{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;margin-top:12px;padding:9px 12px;background:#f7f8f7;border-radius:9px;font-size:11.5px;line-height:1.6}
.sp-hid b{font-weight:900;color:#6b7670;white-space:nowrap}
.sp-hid span{color:#9aa5a0;min-width:0}
.sp-btns{display:flex;gap:9px;align-items:center}
.sp-all{border:1px solid #cfe6d8;background:#fff;color:#0b6f39;font-family:inherit;font-weight:900;font-size:13.5px;border-radius:11px;padding:11px 18px;cursor:pointer;transition:border-color .16s,background-color .16s,transform .16s}
.sp-all:hover:not(:disabled){border-color:var(--green);background:var(--green-soft);transform:translateY(-1px)}
.sp-all:disabled{opacity:.5;cursor:not-allowed;transform:none}
@media(max-width:1100px){.sp-split{grid-template-columns:250px minmax(0,1fr);gap:14px}}
@media(max-width:820px){
.sp-split{grid-template-columns:1fr;gap:12px;padding-top:10px}
.sp-list2{max-height:284px}
.xg{height:250px}
.sp-btns{width:100%}
.sp-all,.sp-go{flex:1;padding:12px 10px}
}

/* 변환 완료 화면 */
.dc-done[hidden]{display:none!important}
.dc-done{display:flex;align-items:center;gap:13px;margin-top:12px;padding:13px 15px;border:1px solid #a8dfbd;background:#f3fff8;border-radius:12px;flex-wrap:wrap}
.dn-ic{width:34px;height:34px;border-radius:50%;background:var(--green);display:grid;place-items:center;flex:none}
.dn-ic svg{width:17px;height:17px;stroke:#fff;fill:none;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
.dn-tx{min-width:0;flex:1}
.dn-tx b{display:block;font-size:13.5px;font-weight:900;color:#0b6f39;letter-spacing:-.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dn-tx span{display:block;font-size:12px;color:#4b7a5e;font-weight:700;margin-top:2px}
.dn-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--green);background:#fff;color:var(--green-dark);font-family:inherit;font-size:13px;font-weight:900;letter-spacing:-.2px;border-radius:10px;padding:9px 16px;cursor:pointer;flex:none;transition:background-color .16s,transform .16s,box-shadow .16s}
.dn-btn:hover{background:var(--green-soft);transform:translateY(-1px);box-shadow:0 5px 12px rgba(3,199,90,.13)}
.dn-btn svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:820px){
.dc-done{gap:10px;padding:12px}
.dn-tx{flex:1 1 100%;order:2}
.dn-btn{order:3;width:100%;justify-content:center}
}

/* ── 도구 설명 블록 (v474 : 기본 접힘) ── */
.tool-more{margin:14px 0 0;background:var(--card);border:1px solid #e6ebe7;border-radius:17px;box-shadow:var(--shadow);overflow:hidden}
.tm-fold{display:block}
.tm-sum{display:flex;align-items:center;gap:10px;padding:13px 18px;cursor:pointer;list-style:none;user-select:none;transition:background-color .14s}
.tm-sum::-webkit-details-marker{display:none}
.tm-sum:hover{background:#fafcfb}
.tm-sum:focus-visible{outline:2px solid var(--green);outline-offset:-3px}
.tm-chev{width:22px;height:22px;flex:none;border-radius:50%;background:var(--green-soft);color:var(--green-dark);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;line-height:1;transition:background-color .14s}
.tm-chev:before{content:"＋"}
.tm-fold[open] .tm-chev:before{content:"−"}
.tm-sum b{font-size:13.5px;font-weight:900;letter-spacing:-.35px;color:var(--ink);flex:none}
.tm-sum-s{font-size:11.5px;color:var(--muted);font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tm-sum-h{margin-left:auto;flex:none;width:26px;height:26px;border-radius:50%;background:var(--green-soft);display:flex;align-items:center;justify-content:center;transition:transform .2s ease,background-color .14s}
.tm-sum-h svg{width:14px;height:14px;fill:none;stroke:var(--green-dark);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;display:block}
.tm-fold[open] .tm-sum-h{transform:rotate(180deg)}
.tm-sum:hover .tm-sum-h{background:#dcf6e6}
.tm-body{border-top:1px solid #eef2ef;padding:16px 18px 15px}
.tm-h{font-size:14.5px;font-weight:900;letter-spacing:-.4px;margin:0 0 9px;color:var(--ink)}
.tm-list+.tm-h{margin-top:18px}
.tm-list{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:6px 20px}
.tm-list li{position:relative;padding-left:15px;font-size:12.5px;line-height:1.7;color:#475467;font-weight:700}
.tm-list li:before{content:"";position:absolute;left:3px;top:9px;width:5px;height:5px;border-radius:50%;background:var(--green)}
.tm-list b{color:var(--ink);font-weight:900}
.tm-qa{margin:0}
.tm-qa dt{font-size:12.5px;font-weight:900;color:var(--ink);margin:0 0 3px;padding-left:15px;position:relative}
.tm-qa dt:before{content:"Q";position:absolute;left:0;top:0;color:var(--green-dark);font-weight:900;font-size:11px}
.tm-qa dd{margin:0 0 11px;padding-left:15px;font-size:12.5px;line-height:1.75;color:#475467;font-weight:700}
.tm-qa dd:last-child{margin-bottom:0}
.tm-next{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid #f0f3f1;padding:11px 18px 12px}
.tm-next-t{font-size:10.5px;font-weight:900;color:#8a95a3;letter-spacing:.02em;flex:none}
.tm-next-a{font-size:12px;font-weight:900;color:#0b6f39;text-decoration:none;border:1px solid #cfe6d8;border-radius:20px;padding:5px 12px;background:#f7fdfa;transition:border-color .14s,background-color .14s,transform .14s}
.tm-next-a:hover{border-color:var(--green);background:var(--green-soft);transform:translateY(-1px)}
.tm-sep{color:#c8d2cc;font-size:11px;flex:none}
@media(max-width:820px){
.tool-more{border-radius:14px;margin-top:12px}
.tm-sum{padding:12px 14px;gap:8px}
.tm-sum-s{display:none}
.tm-sum-h{width:24px;height:24px}
.tm-body{padding:14px 14px 13px}
.tm-list{grid-template-columns:1fr;gap:6px}
.tm-next{padding:10px 14px 11px;gap:7px}
.tm-next-a{font-size:11.5px;padding:5px 10px}
}

/* ── 탭 바 확장 대비 : 개수가 늘어도 안 깨지게 (v473) ── */
.tool-tabs-inner{overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth}
.tool-tabs-inner::-webkit-scrollbar{display:none}
.tool-tab{flex:0 0 auto}
@media(max-width:820px){.tool-tab{flex:1 0 auto;min-width:0}}

/* ── v4.78 : 활성 탭 윗변 잘림 수정 ──
   v4.73 에서 넣은 .tool-tabs-inner{overflow-x:auto;overflow-y:hidden} 이 클리핑 상자를 만드는데,
   inner 의 높이가 탭 높이에 딱 맞아서 top:-5px 로 떠오른 활성 탭의 윗변
   (border-top 2px 초록선 + 둥근 모서리)이 통째로 잘려 나갔다.
   inner 를 탭 바 높이만큼 늘려 잘림 범위를 넓힌다. 탭의 위치·크기는 변하지 않는다
   (셸이 align-items:flex-end 라 탭은 그대로 바닥에 붙는다). 해상도별 값 지정이 필요 없다. */
.tool-tabs-inner{align-self:stretch}

/* ── v479 : 도구 설명 본문 확장 (앞부분 펼침 + 더 보기) ── */
.tm-head{display:flex;align-items:baseline;gap:10px;padding:14px 20px 0;flex-wrap:wrap}
.tm-head .ttl{font-size:14.5px;font-weight:900;letter-spacing:-.4px;color:var(--ink)}
.tm-head .sub{font-size:12px;font-weight:700;color:var(--muted)}
.tm-body2{padding:16px 20px 18px}
.tm-sec{margin:0 0 20px}
.tm-sec:last-child{margin-bottom:0}
.tm-h2{font-size:15px;font-weight:900;letter-spacing:-.4px;margin:0 0 8px;color:var(--ink);display:flex;align-items:center;gap:7px}
.tm-h2 i{width:5px;height:15px;border-radius:3px;background:var(--green);font-style:normal;flex:none}
.tm-p{margin:0 0 9px;font-size:13px;line-height:1.85;color:#475467;font-weight:700}
.tm-p:last-child{margin-bottom:0}
.tm-p b{color:var(--ink);font-weight:900}
.tm-p .g{color:#0b6f39;font-weight:900}
.cmp{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}
.cmpc{border:1px solid #e3e9e5;border-radius:11px;padding:10px 13px;background:#fbfcfb}
.cmpc.on{border-color:#c6efd9;background:#f4fdf8}
.cmpc .k{font-size:11px;font-weight:800;color:#8a948e}
.cmpc .v{font-size:16px;font-weight:900;letter-spacing:-.4px;margin-top:2px;color:#98a5ad}
.cmpc.on .v{color:#0b6f39}
.cmpc .s{font-size:11.5px;font-weight:700;color:#8a948e;margin-top:3px;line-height:1.6}
.cmpc.on .s{color:#2f7d54}
.lst{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:6px}
.lst li{position:relative;padding-left:16px;font-size:12.5px;line-height:1.75;color:#475467;font-weight:700}
.lst li:before{content:"";position:absolute;left:3px;top:9px;width:5px;height:5px;border-radius:50%;background:#9fd9b8}
.lst b{color:var(--ink);font-weight:900}
.atbl{width:100%;border-collapse:collapse;font-size:12.5px;margin-top:9px}
.atbl th{font-size:11px;font-weight:800;color:#8a948e;text-align:left;padding:0 10px 6px;border-bottom:1px solid #e3e9e5}
.atbl td{padding:7px 10px;border-bottom:1px solid #eef2ef;font-weight:700;color:#475467}
.atbl td.nm{font-weight:900;color:var(--ink)}
.atbl tr:last-child td{border-bottom:0}
.call{margin:10px 0 0;padding:11px 14px;border-radius:10px;background:#f6fdf9;border-left:3px solid var(--green);font-size:12.5px;line-height:1.8;color:#2f7d54;font-weight:700}
.call b{color:#0b6f39;font-weight:900}
.call.warn{background:#fff8f0;border-left-color:#e8a33d;color:#8a6320}
.call.warn b{color:#7a5410}
.tm-fold-wrap{padding:0 20px 16px}
.tm-fold2{display:block}
.tm-more-btn{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 16px;border:1.4px solid #cfe6d8;border-radius:11px;background:#f7fdfa;color:#0b6f39;font-size:13px;font-weight:900;cursor:pointer;list-style:none;text-align:center}
.tm-more-btn::-webkit-details-marker{display:none}
.tm-more-btn:hover{background:var(--green-soft);border-color:var(--green)}
.tm-more-btn:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.tm-more-btn .ar{width:18px;height:18px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-size:11px;line-height:1;flex:none}
.tm-fold2[open] .tm-more-btn{display:none}
@media(max-width:720px){
 .tm-body2{padding:14px 15px 16px}
 .tm-head{padding:13px 15px 0}
 .tm-fold-wrap{padding:0 15px 14px}
 .cmp{grid-template-columns:1fr}
 .tm-more-btn{font-size:12.5px;padding:10px 12px}
 .atbl{font-size:12px}
 .atbl td,.atbl th{padding-left:6px;padding-right:6px}
}

/* 좁은 화면에서 탭 네 개가 한 화면에 들어가도록 여백만 줄인다 (v480) */
@media(max-width:430px){.tool-tabs-inner{padding:0 8px;gap:4px}.tool-tab{padding:0 4px}}

/* 광고가 들어와 있을 때만 상자를 그린다 (v481) */
.side-frame:not(:has(.adsbygoogle)){min-height:0;padding:0;border:0;background:transparent}
