@import url("./fonts/noto-sans-kr/index.css");
:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans CJK KR","Malgun Gothic",sans-serif;color:#20242b;background:#fff;font-synthesis:none;--blue:#2464e8;--muted:#747b87;--line:#e8eaed}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,a,summary{cursor:pointer}button{border:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #91b6ff;outline-offset:4px}a{color:inherit;text-decoration:none}button{transition:background .15s,color .15s}button:disabled{cursor:not-allowed;opacity:.42}[hidden]{display:none!important}.site-header{height:82px;max-width:1200px;margin:auto;padding:0 28px;display:flex;justify-content:space-between;align-items:center}.wordmark{font-size:23px;font-weight:800;letter-spacing:-1px;display:flex;gap:8px;align-items:center}.brand-icon{font-size:31px;color:var(--blue)}.header-right{display:flex;align-items:center;gap:26px;font-size:13px;color:#606772}.prototype{background:#f2f4f7;border-radius:30px;padding:8px 13px;font-size:11px;color:#747b87}main{max-width:1144px;margin:auto;padding:0 28px}.intro{padding:63px 0 43px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:750;color:var(--blue);margin:0 0 15px}.intro h1{font-size:clamp(36px,5vw,56px);letter-spacing:-2.5px;line-height:1.18;margin:0 0 20px;font-weight:780}.lead{font-size:17px;line-height:1.75;color:#6c7380;letter-spacing:-.5px;margin:0}.mobile-break{display:none}.tool-tabs{display:flex;border-bottom:1px solid var(--line);gap:32px;margin-bottom:34px}.tool-tabs button{background:none;color:#7a818c;padding:15px 0 18px;font-size:15px;font-weight:650;border-bottom:3px solid transparent;margin-bottom:-1px;white-space:nowrap}.tool-tabs button[aria-selected=true]{border-color:var(--blue);color:var(--blue)}.workspace{display:grid;grid-template-columns:minmax(260px,340px) minmax(300px,1fr);gap:66px;align-items:start}.step{padding:0 0 29px;margin-bottom:28px;border-bottom:1px solid var(--line)}.section-label{display:flex;align-items:center;gap:10px;margin-bottom:19px}.step-number{background:#eef3fd;color:var(--blue);border-radius:50%;width:23px;height:23px;display:grid;place-items:center;font-size:12px;font-weight:700}h2{font-size:18px;letter-spacing:-.7px;margin:0;line-height:1.5}.text-button{margin-left:auto;background:none;color:#818892;font-size:12px;padding:5px}.dropzone{border:1.5px dashed #d6dce6;background:#fafbfc;border-radius:17px;min-height:217px;text-align:center;padding:21px 18px;display:flex;align-items:center;flex-direction:column}.dropzone.drag{border-color:var(--blue);background:#edf3ff}.upload-symbol{display:grid;place-items:center;border-radius:11px;background:#eaf0fc;color:var(--blue);font-size:24px;width:39px;height:39px;margin-bottom:14px}.dropzone strong{font-size:14px;font-weight:600;letter-spacing:-.4px}.dropzone p{margin:6px 0 17px;color:#89919e;font-size:11px}.primary{background:var(--blue);color:white;font-weight:650;padding:13px 23px;border-radius:10px;font-size:13px}.primary:hover:not(:disabled){background:#1953cb}.secondary{background:#f0f2f5;color:#4d5664;border-radius:9px;padding:12px 16px;font-size:13px}.wide{width:100%;font-size:14px;display:flex;justify-content:center;align-items:center;gap:12px}.fine{font-size:11px;line-height:1.8;color:#818995;margin:12px 0 0;word-break:keep-all}.small-note{font-size:12px;color:#747c88;line-height:1.7}.last-step{border:0}.last-step h2{margin-bottom:0}.last-step .section-label{margin-bottom:12px}fieldset{border:0;padding:0;margin:0;min-width:0}label{display:block;font-size:12px;color:#69717d;font-weight:600;margin:0 0 9px}select,input[type=number]{display:block;min-width:0;width:100%;padding:13px 12px;border:1px solid #e6e9ee;border-radius:9px;background:#fff;color:#333b47;font-size:13px;line-height:1.4;margin:8px 0 20px}select{padding-right:25px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.two-fields input,.two-fields select{margin-bottom:3px}.check-label{display:flex;align-items:center;gap:7px;font-weight:500;margin:15px 0 20px}.check-label input{accent-color:var(--blue);width:16px;height:16px}.preview-panel{background:#f5f6f8;border-radius:24px;padding:25px 29px 19px;position:sticky;top:24px}.preview-top{display:flex;justify-content:space-between;color:#747c88;font-size:11px;align-items:center}.preview-top span:last-child{background:white;border:1px solid #e9ecf0;padding:6px 10px;border-radius:20px;color:#656e7b}.preview-stage{display:flex;align-items:center;justify-content:center;min-height:520px;padding:25px 15px}.paper-preview,#render-preview{width:284px;max-width:100%;aspect-ratio:2/3;background:white;box-shadow:0 12px 32px #2536541a,0 1px 3px #25365412}.paper-preview{padding:10px;gap:8px;display:grid;grid-template-columns:repeat(2,1fr)}.sample-cell{background:#e8edf2;display:grid;place-items:center;position:relative;overflow:hidden}.sample-cell:nth-child(2){background:#e5ebec}.sample-cell:nth-child(3){background:#ece9e4}.sample-cell:nth-child(4){background:#e4e8ec}.sample-cell span{font-size:24px;color:#b8c2ce;letter-spacing:1px;font-weight:300}.preview-bottom{display:flex;flex-direction:column;gap:6px;align-items:center;font-size:11px;color:#9aa0aa;padding-bottom:24px}.preview-bottom strong{font-weight:600;color:#69717e;font-size:12px;letter-spacing:.5px}.privacy-note{margin:0;padding-top:17px;border-top:1px solid #e6e8ec;color:#89909b;font-size:11px;text-align:center;line-height:1.7}.privacy-note span{font-size:18px;vertical-align:middle;margin-right:4px}.file-list{max-height:226px;overflow-y:auto;margin-top:14px}.file-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #f0f1f3}.file-row img{width:38px;height:38px;object-fit:cover;border-radius:5px;background:#eee}.file-row .file-info{flex:1;min-width:0}.file-row strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;font-weight:500}.file-row small{font-size:10px;color:#8a929f}.file-row button{background:#f2f4f7;border-radius:6px;color:#667384;width:29px;height:29px}.status{font-size:12px;line-height:1.8;color:#34609e}.status.error,.error{color:#b34848}.result-link{display:block;background:#eef4ff;color:var(--blue);font-size:12px;padding:12px 14px;margin:7px 0;border-radius:8px;font-weight:600}.result-pages{display:flex;gap:8px;flex-wrap:wrap}.result-pages a{font-size:11px;text-decoration:underline;color:#64748b;padding:7px}.guide{border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1.5fr;gap:50px;padding:58px 0 65px;margin-top:40px}.guide h2{font-size:27px;line-height:1.5;letter-spacing:-1.3px}.guide .eyebrow{font-size:9px}.guide details{border-bottom:1px solid var(--line);padding:0 0 19px;margin-bottom:20px}.guide summary{font-size:13px;font-weight:650;list-style:none;display:flex;justify-content:space-between;gap:10px;line-height:1.6}.guide summary:after{content:'＋';color:#9ca2ac}.guide details[open] summary:after{content:'−'}.guide details p{font-size:12px;line-height:1.9;color:#7a828e;margin:12px 24px 0 0;word-break:keep-all}footer{max-width:1088px;margin:auto;padding:25px 0 37px;border-top:1px solid var(--line);display:flex;gap:24px;align-items:center;color:#9aA0a8;font-size:11px}footer strong{font-size:16px;color:#8b929d}footer a{margin-left:auto}.checker-panel{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding:14px 0 30px}.muted{font-size:13px;color:#808894;line-height:1.8}.checker-inputs>.secondary{margin:5px 0 24px}.checker-inputs .two-fields{margin-bottom:16px}.checker-result{background:#f5f7fa;border-radius:24px;padding:40px}.ppi{margin:23px 0 6px;display:flex;align-items:baseline;gap:9px;color:var(--blue)}.ppi strong{font-size:76px;line-height:1;font-weight:650;letter-spacing:-4px}.ppi span{font-size:17px}.result-description{font-size:15px;font-weight:600;line-height:1.7;margin-bottom:35px}.checker-result dl{font-size:12px}.checker-result dl div{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e5e9ef;padding:16px 0}.checker-result dt{color:#7a8493}.checker-result dd{margin:0;font-weight:600;text-align:right}.error{font-size:12px;line-height:1.7}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:820px){.workspace{gap:28px;grid-template-columns:minmax(250px,.9fr) 1.1fr}.preview-panel{padding:21px 15px}.preview-stage{min-height:450px;padding:28px 8px}.guide{gap:30px}.checker-panel{gap:25px}.checker-result{padding:28px}.ppi strong{font-size:61px}footer{margin:0 28px}}@media(max-width:620px){.site-header{height:67px;padding:0 22px}.header-right{gap:15px}.header-right>a{font-size:11px}.prototype{display:none}main{padding:0 22px}.intro{padding:39px 0 30px}.intro h1{font-size:38px;letter-spacing:-1.8px}.lead{font-size:14px}.mobile-break{display:block}.tool-tabs{gap:0;justify-content:space-between;margin-bottom:28px}.tool-tabs button{font-size:12px;padding:13px 0}.workspace{grid-template-columns:1fr;gap:6px}.preview-panel{position:static;padding:20px;margin-bottom:20px}.preview-stage{min-height:450px;padding:25px 15px}.paper-preview,#render-preview{width:260px}.guide{grid-template-columns:1fr;padding-top:40px;gap:25px;margin-top:30px}.guide h2{font-size:25px}.step{margin-bottom:24px;padding-bottom:24px}.last-step{margin-bottom:0}.checker-panel{grid-template-columns:1fr;gap:25px}.checker-result{padding:30px}.ppi strong{font-size:70px}footer{margin:0 22px;gap:12px;flex-wrap:wrap}footer p{font-size:10px}footer a{font-size:10px}.dropzone{min-height:205px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.file-order{background:#f0f3f8;color:#8590a0;border-radius:7px;width:35px;height:35px;display:grid;place-items:center;font-size:11px;flex-shrink:0}

.status,.error{overflow-wrap:anywhere}
.info-page{max-width:820px;padding:24px 28px 42px;min-height:60vh}.info-page h1{font-size:23px;line-height:1.5;margin:0 0 20px}.info-page h2{font-size:18px;margin:26px 0 12px}.info-page p,.info-page li{font-size:14px;line-height:1.9}.info-page a{color:var(--blue);text-decoration:underline}.info-footer,.info-links{display:flex;gap:16px;flex-wrap:wrap;font-size:12px}.info-links a{margin:0}footer{flex-wrap:wrap}.info-footer a{margin:0}
.home-panel{padding:24px 0 36px;min-height:65vh}.home-panel h1{font-size:22px;line-height:1.4;margin:0 0 6px;letter-spacing:-.5px}#tool-search{display:block;width:min(100%,580px);padding:12px 14px;border:1px solid #dce2eb;border-radius:8px;background:#fff;font:inherit;font-size:14px;margin:18px 0 12px;min-height:44px}.home-filters{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.home-filters button{padding:9px 14px;background:#f2f4f7;color:#5a6574;border-radius:7px;min-height:40px;font-size:13px}.home-filters button[aria-pressed=true]{background:#eaf1ff;color:var(--blue)}.home-category{margin:24px 0}.home-category h2{font-size:16px;margin-bottom:12px}.home-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-tool-card{display:flex;align-items:flex-start;gap:13px;padding:18px;border:1px solid var(--line);border-radius:10px;background:#fff;min-width:0}.home-tool-card:hover{background:#f8faff;border-color:#c8d8f7}.home-tool-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#edf3ff;color:var(--blue);font-size:22px;flex-shrink:0}.home-tool-card strong{display:block;font-size:15px;font-weight:650;margin:3px 0 7px}.home-tool-card>span:last-child>span{display:block;font-size:13px;color:#6e7886;line-height:1.6;overflow-wrap:anywhere}.guide-toolbar{display:flex;align-items:center;gap:20px;margin:16px 0 24px;font-size:13px}.guide-toolbar a{color:var(--blue)}#guide-reader{max-width:860px;margin:0 auto;padding-bottom:32px}#guide-reader h1{font-size:24px;line-height:1.5;letter-spacing:-.5px;margin:16px 0}#guide-reader h2{font-size:19px;margin:20px 0 12px}#guide-reader p,#guide-reader li,#guide-reader figcaption{font-size:14px;line-height:1.9}#guide-reader .hero{padding:0}#guide-reader .lead{font-size:14px}#guide-reader .section{margin:26px 0;border-top:1px solid var(--line);padding-top:8px}#guide-reader img{max-width:100%;height:auto;display:block}#guide-reader .comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}#guide-reader figure{margin:12px 0}#guide-reader figcaption{color:#697484}#guide-reader .sample-stage{background:#f4f6f8;padding:12px}#guide-reader .sample-stage img{max-height:440px;width:auto;margin:auto}#guide-reader .note,#guide-reader .summary,#guide-reader .formula{padding:12px 18px;border-radius:8px;background:#f3f6fa;font-size:14px;line-height:1.8}#guide-reader .download-row a,#guide-reader .next-links a{color:var(--blue);text-decoration:underline}#guide-reader .next-links{display:flex;gap:18px;flex-wrap:wrap}#guide-reader .next-links span{display:block;color:#748091;font-size:12px}
@media(max-width:620px){.home-panel{padding-top:14px}.home-panel h1{font-size:20px}.home-tool-grid{grid-template-columns:minmax(0,1fr)}.home-tool-card{padding:14px}.home-category{margin:20px 0}#guide-reader h1{font-size:21px}#guide-reader .comparison{grid-template-columns:minmax(0,1fr)}}
.delivery-actions{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.delivery-actions button{min-height:40px}.delivery-label{font-size:11px;margin:5px 0 0}.delivery-label input[type=text]{display:block;width:100%;min-width:0;border:1px solid var(--line);padding:6px;border-radius:5px;margin-top:4px;font:inherit;color:#333b47}.file-row .delivery-select{width:18px;height:18px;flex-shrink:0;accent-color:var(--blue)}#delivery-controls{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}#delivery-controls h3{font-size:15px;margin:0}.delivery-actions .secondary{padding:9px 12px}

.quantity-label{margin:0;color:#626c7a;font-size:12px;flex-shrink:0;text-align:center}.quantity-label input[type=number]{width:58px;padding:8px 5px;margin:4px 0 0;font-size:14px;text-align:center}.file-row{gap:8px}.file-row .file-info{flex:1 1 100px}

.skip-link{position:absolute;top:8px;left:16px;background:#173d83;color:#fff;padding:12px 18px;border-radius:8px;z-index:20;transform:translateY(-180%)}.skip-link:focus{transform:translateY(0)}.guide-links{display:flex;flex-direction:column;gap:12px;margin:0 0 30px;padding:0 0 24px;border-bottom:1px solid var(--line)}.guide-links a{font-size:14px;color:#225dce;line-height:1.8;text-decoration:underline;text-underline-offset:4px;word-break:keep-all}label,.status,.small-note{font-size:14px}.fine,.privacy-note{font-size:12px}.file-row button{min-width:32px;min-height:32px}input[aria-invalid=true]{border-color:#b34848}

.import-errors{color:#923d3d;background:#fff5f4;border-radius:10px;padding:13px;font-size:13px;line-height:1.8;overflow-wrap:anywhere}.import-errors summary{font-weight:650}.import-errors ul{padding-left:19px;margin-bottom:0}.import-errors li+li{margin-top:8px}

/* Keep the existing light tool UI; reduce space before and between controls. */
.site-header{height:54px;max-width:1144px}
.wordmark{font-size:18px;letter-spacing:-.5px}
.brand-icon{font-size:24px}
.header-right{gap:16px}
.tool-heading{padding:12px 0 14px}
.tool-heading h1{font-size:22px;line-height:1.4;letter-spacing:-.6px;margin:0 0 3px;font-weight:700}
.tool-heading p{font-size:13px;line-height:1.6;color:var(--muted);margin:0}
.tool-tabs{gap:28px;margin-bottom:20px}
.tool-tabs button{padding:12px 0;font-size:14px}
.workspace{gap:36px}
.step{padding-bottom:16px;margin-bottom:16px}
.section-label,.last-step .section-label{margin-bottom:12px}
.section-label h2{font-size:16px;letter-spacing:-.4px}
.text-button{font-size:13px;min-height:32px}
.dropzone{min-height:88px;border-radius:10px;padding:12px;flex-direction:row;justify-content:center;gap:14px;text-align:left}
.dropzone .primary{flex-shrink:0;min-height:44px;padding:11px 16px;border-radius:8px;font-size:14px}
.upload-hint strong{font-size:12px;font-weight:500;letter-spacing:0;color:#68717f}
.upload-hint p{font-size:11px;margin:4px 0 0}
.fine{line-height:1.65;margin-top:8px}
.file-list{margin-top:8px}
.file-list:empty,.small-note:empty,.status:empty{display:none}
.small-note{font-size:13px;line-height:1.6;margin:8px 0 12px}
label{font-size:13px;margin-bottom:8px}
select,input[type=number]{padding:9px 11px;min-height:40px;margin:6px 0 12px;border-radius:7px;font-size:13px}
.two-fields{gap:12px}
.two-fields label{margin-bottom:0}
.two-fields input,.two-fields select{margin-bottom:0}
.check-label{margin:12px 0}
.last-step{margin-bottom:0;padding-bottom:0}
.last-step .wide{min-height:44px;border-radius:8px}
.status{margin:9px 0;font-size:13px}
.preview-panel{top:16px;border-radius:14px;padding:18px 22px 14px}
.preview-stage{min-height:386px;padding:18px 12px}
.paper-preview,#render-preview{width:230px}
.preview-bottom{padding-bottom:14px}
.privacy-note{padding-top:12px}
.guide{grid-template-columns:220px 1fr;gap:28px;padding:28px 0;margin-top:28px}
.guide h2{font-size:18px;letter-spacing:-.5px}
.guide-links{gap:8px;margin-bottom:18px;padding-bottom:18px}
.guide-links a{font-size:13px;line-height:1.6}
.guide details{padding-bottom:14px;margin-bottom:14px}
.guide details p{margin-right:0}
footer{padding:18px 0;gap:16px}
footer strong{font-size:14px}
footer p{margin:0}
.checker-panel{gap:36px;padding-top:0}
.checker-inputs h2{font-size:17px}
.checker-inputs>.secondary{margin:0 0 16px}
.checker-result{padding:24px;border-radius:14px}
.checker-result .eyebrow{font-size:12px;letter-spacing:0;color:var(--muted);margin-bottom:12px}
.ppi{margin:12px 0 6px}
.ppi strong{font-size:56px;letter-spacing:-2px}
.result-description{margin-bottom:20px}
@media(max-width:820px){.workspace{gap:24px}.preview-panel{padding:16px}.preview-stage{padding:18px 8px}.checker-panel{gap:24px}}
@media(max-width:620px){
 .site-header{height:50px;padding:0 16px}
 main{padding:0 16px}
 .tool-heading{padding:8px 0 10px}
 .tool-heading h1{font-size:20px}
 .tool-heading p{font-size:12px}
 .tool-tabs{gap:0;margin-bottom:16px}
 .tool-tabs button{font-size:12px;min-height:44px;padding:10px 0}
 .workspace{gap:20px}
 .step{padding-bottom:14px;margin-bottom:14px}
 .section-label,.last-step .section-label{margin-bottom:10px}
 .dropzone{min-height:82px;gap:12px}
 select,input[type=number]{min-height:44px}
 .last-step{margin-bottom:0;padding-bottom:0}
 .preview-panel{padding:16px;margin-bottom:0}
 .preview-stage{min-height:328px;padding:14px 10px}
 .paper-preview,#render-preview{width:200px}
 .guide{grid-template-columns:1fr;gap:16px;padding:24px 0;margin-top:24px}
 .guide h2{font-size:18px}
 .checker-result{padding:22px}
 .ppi strong{font-size:56px}
 footer{margin:0 16px;padding:16px 0;gap:10px}
}

.header-right{position:relative}
.tool-directory{font-size:13px;color:#606772}
.tool-directory>summary{list-style:none;min-height:40px;display:flex;align-items:center;padding:5px 8px;border-radius:6px}
.tool-directory>summary::-webkit-details-marker{display:none}
.tool-directory[open]>summary{background:#eef3fd;color:var(--blue)}
.directory-list{position:absolute;right:0;top:44px;z-index:30;width:min(340px,calc(100vw - 32px));padding:6px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 22px #25365416}
.directory-list button{display:block;width:100%;text-align:left;background:#fff;padding:12px;border-radius:6px;color:#333b47}
.directory-list button:hover,.directory-list button[aria-current=true]{background:#f1f5fd}
.directory-list strong{display:block;font-size:14px;font-weight:600}
.directory-list span{display:block;font-size:12px;line-height:1.5;color:#747b87;margin-top:4px}
.dropzone>.secondary{min-height:44px;padding:11px 16px;font-size:14px;flex-shrink:0}
.file-row button{width:36px;min-width:36px;height:40px;min-height:40px;font-size:18px;flex-shrink:0}
.file-row [data-action=remove]{font-size:20px}
.file-row [data-action=remove]:hover{background:#fff0ee;color:#923d3d}
.file-row .file-info{flex-basis:70px}
.workspace-jumps{display:none}
.workspace>.settings,.workspace>.preview-panel{min-width:0}
.editor-workspace{display:grid;grid-template-columns:340px minmax(0,1fr);gap:36px;align-items:start}
.editor-workspace>.settings{min-width:0}
.editor-preview{min-width:0;position:sticky;top:16px}
.editor-image-wrap{position:relative;width:max-content;max-width:100%;margin:0 auto;touch-action:none;cursor:crosshair;background:repeating-conic-gradient(#edf0f4 0% 25%,#fff 0% 50%) 50%/16px 16px}
.editor-image-wrap img{display:block;max-width:100%;width:100%;height:auto;user-select:none}
.editor-crop-box{position:absolute;border:2px solid #2464e8;box-shadow:0 0 0 999px #1d293344;pointer-events:none}
.editor-image-wrap{overflow:hidden}
.editor-result-wrap{min-height:120px;padding:12px;display:grid;place-items:center;background:repeating-conic-gradient(#edf0f4 0% 25%,#fff 0% 50%) 50%/16px 16px;border-radius:8px;overflow:hidden}
.editor-result-wrap img{display:block;max-width:100%;max-height:230px;width:auto;height:auto}
.editor-crop-details{font-size:13px;margin:12px 0 16px;color:#586373}
.editor-crop-details summary{padding:8px 0;cursor:pointer}
.editor-crop-details .two-fields{margin-top:8px}
.editor-workspace input[type=range]{width:100%;min-height:36px;accent-color:var(--blue)}
#editor-source-summary,#editor-output-summary{overflow-wrap:anywhere}
#editor-settings,#editor-output,#editor-preview{scroll-margin-top:52px}
#submission-settings,#submission-output,#submission-preview{scroll-margin-top:52px}.submission-assessment{font-size:13px;line-height:1.8;padding-left:18px;margin:10px 0}#submission-source-summary,#submission-result-summary,#submission-limit-summary{overflow-wrap:anywhere}#submission-preview .preview-top{margin:10px 0 12px}#submission-preview .editor-result-wrap{margin-bottom:18px}
@media(max-width:820px){.editor-workspace{grid-template-columns:minmax(250px,.9fr) minmax(0,1.1fr);gap:24px}}
@media(max-width:620px){.tool-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.tool-tabs button{text-align:left}.editor-workspace{grid-template-columns:minmax(0,1fr);gap:20px}.editor-preview{position:static}.editor-result-wrap img{max-height:200px}.editor-workspace .two-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
.resolution-note{padding:10px 12px;margin:0 0 12px;background:#fff8e8;border:1px solid #eddfbd;border-radius:8px;color:#685022;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.resolution-note summary{font-weight:600;cursor:pointer;min-height:24px}
.resolution-note ul{margin:8px 0;padding-left:18px}
.resolution-note p{margin:8px 0 0}
#layout-step,#output-step,#print-preview{scroll-margin-top:52px}
@media(max-width:620px){
 .header-right{gap:8px}
 .tool-directory{font-size:12px}
 .workspace-jumps{display:flex;gap:18px;padding:0 0 12px;margin:-4px 0 12px;position:sticky;top:0;z-index:10;background:#fff;border-bottom:1px solid var(--line)}
 .workspace-jumps a{font-size:12px;color:#225dce;padding:8px 4px;min-height:36px;display:flex;align-items:center}
}

/* Home readability: selectors leave active tool workspaces unchanged. */
body:has(#home-panel:not([hidden])) .site-header{height:64px;max-width:1128px;padding:0 24px}
body:has(#home-panel:not([hidden])) .header-right{color:#4e5968;font-size:14px;gap:22px}
body:has(#home-panel:not([hidden])) .wordmark{color:#191f28;font-size:20px}
main:has(>#home-panel:not([hidden])){max-width:1128px;padding:0 24px}
.home-panel{max-width:1080px;margin:0 auto;padding:28px 0 24px;min-height:0;color:#191f28}
.home-panel h1{font-size:32px;font-weight:750;line-height:1.3;letter-spacing:-.8px;margin:0}
.home-panel .home-intro{margin:4px 0 0;color:#4e5968;font-size:16px;line-height:1.55;word-break:keep-all}
.home-search{position:relative;margin:20px 0 12px}
.home-search-icon{position:absolute;left:18px;top:17px;color:#4e5968;pointer-events:none}
.home-panel #tool-search{width:100%;min-height:56px;margin:0;padding:15px 56px 15px 52px;border:1px solid #8996a8;border-radius:12px;color:#191f28;background:#fff;font-size:16px;line-height:24px;box-shadow:0 1px 2px #191f2804}
.home-panel #tool-search::placeholder{color:#6b7684;opacity:1}
.home-panel #tool-search::-webkit-search-cancel-button{display:none}
#home-search-clear{position:absolute;right:6px;top:6px;width:44px;height:44px;display:grid;place-items:center;color:#4e5968;background:transparent;border-radius:8px}
#home-search-clear:hover{background:#f2f4f7}
.home-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}
.home-panel .home-filters{margin:0;gap:8px;flex-wrap:nowrap}
.home-panel .home-filters button{min-height:44px;padding:10px 17px;border-radius:10px;background:#f2f4f7;color:#4e5968;font-size:14px;font-weight:600;white-space:nowrap}
.home-panel .home-filters button[aria-pressed=true]{background:#eaf1ff;color:#225dcc}
.home-panel #home-filter-summary{margin:0;color:#6b7684;font-size:13px;line-height:1.5;text-align:right;overflow-wrap:anywhere}
.home-panel .home-tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.home-panel .home-tool-card{display:flex;align-items:center;gap:14px;padding:22px;min-height:156px;border:1px solid #e1e6ed;border-radius:16px;background:#fff;box-shadow:0 2px 6px #191f2805;transition:border-color .15s,background .15s,box-shadow .15s;position:relative}
.home-panel .home-tool-card:hover{border-color:#b5c8e7;background:#f8faff;box-shadow:0 3px 10px #191f2808}
.home-panel .home-tool-card:focus-visible{outline:3px solid #2464e8;outline-offset:3px;background:#f8faff}
.home-panel .home-tool-icon{width:44px;height:44px;border-radius:12px;flex:0 0 44px;background:#eef3fc;color:#225dcc;display:grid;place-items:center}
.home-tool-icon svg{display:block;width:25px;height:25px}
.home-tool-content{display:block;flex:1;min-width:0}
.home-tool-category{display:block;color:#6b7684;font-size:12px;line-height:1.5;margin-bottom:5px}
.home-tool-card:hover .home-tool-category,.home-tool-card:focus-visible .home-tool-category{color:#5c6878}
.home-panel .home-tool-card strong{display:block;color:#191f28;font-size:18px;font-weight:700;line-height:1.4;letter-spacing:-.45px;margin:0 0 7px;word-break:keep-all;overflow-wrap:anywhere}
.home-tool-description{display:block;color:#4e5968;font-size:14px;line-height:1.55;word-break:keep-all;overflow-wrap:anywhere}
.home-tool-arrow{display:block;flex:0 0 16px;color:#6b7684}
.home-tool-arrow svg{display:block;width:16px;height:20px}
.home-empty{padding:38px 24px;border-radius:16px;background:#f5f7fa;text-align:center;color:#191f28}
.home-empty strong{font-size:18px;line-height:1.5;display:block;margin-bottom:8px}
.home-empty p{font-size:14px;color:#4e5968;line-height:1.6;margin:0}
.home-file-note{margin:24px 0 0;color:#4e5968;font-size:13px;line-height:1.7}
body:has(#home-panel:not([hidden]))>footer{max-width:1080px;width:calc(100% - 48px);margin:0 auto;padding:20px 0;font-size:13px;color:#6b7684;gap:16px}\nbody:has(#home-panel:not([hidden]))>footer p,body:has(#home-panel:not([hidden]))>footer .info-links{font-size:12px;color:#6b7684}\nbody:has(#home-panel:not([hidden]))>footer strong{font-size:13px;color:#4e5968}
@media(max-width:960px) and (min-width:621px){.home-panel .home-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){
 body:has(#home-panel:not([hidden])) .site-header{padding:0 24px;height:64px}
 body:has(#home-panel:not([hidden])) .header-right{font-size:12px;gap:12px}
 .home-panel{padding-top:20px;padding-bottom:28px}
 .home-panel h1{font-size:28px;letter-spacing:-.6px}
 .home-panel .home-intro{font-size:15px;margin-top:7px}
 .home-panel .home-tool-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 .home-toolbar{flex-wrap:wrap;gap:10px;margin-bottom:16px}
 .home-panel .home-filters button{padding:10px 14px}
 .home-panel #home-filter-summary{text-align:left;font-size:12px}
 .home-panel .home-tool-card{min-height:122px;padding:20px;gap:13px}
 .home-panel .home-tool-card strong{font-size:18px;margin-bottom:6px}
 .home-tool-category{font-size:11px;margin-bottom:4px}
 .home-panel .home-tool-icon{width:40px;height:40px;flex-basis:40px;border-radius:10px}
 .home-tool-icon svg{width:24px;height:24px}
 .home-tool-arrow{flex-basis:14px}
 .home-tool-arrow svg{width:14px}
 .home-file-note{margin-top:20px}
}
@media(max-width:360px){.home-panel .home-tool-card{padding:18px;gap:10px}.home-panel .home-filters{gap:6px}.home-panel .home-filters button{padding:10px 12px}.home-panel #tool-search{font-size:15px}}
@media(prefers-reduced-motion:reduce){.home-panel .home-tool-card{transition:none}}

/* Readability correction: task hierarchy, working input area and local Korean type. */
:root{font-family:"Noto Sans KR Variable","Noto Sans KR",system-ui,-apple-system,"Malgun Gothic",sans-serif;color:#202a35;background:#f3f5f8;--muted:#536171;--line:#dde3ea;--blue:#2464e8}
body{background:#f3f5f8;font-size:15px;line-height:1.55}
.site-header,body:has(#home-panel:not([hidden])) .site-header{height:64px;max-width:none;width:100%;padding:0 max(24px,calc((100vw - 1160px)/2));background:#fff;border-bottom:1px solid #e1e6ed}
.wordmark,body:has(#home-panel:not([hidden])) .wordmark{font-size:20px;font-weight:750;letter-spacing:-.5px;color:#202a35}
.header-right,body:has(#home-panel:not([hidden])) .header-right{font-size:14px;color:#4e5968}
main,main:has(>#home-panel:not([hidden])){max-width:1208px;padding:0 24px}
.home-panel{padding:26px 0 28px;max-width:1160px}
.home-panel h1{font-size:28px;font-weight:700;line-height:1.4;letter-spacing:-.6px}
.home-panel .home-intro{font-size:15px;margin-top:5px}
.home-panel #tool-search{border-color:#8a97a7;border-radius:10px;font-size:16px}
.home-toolbar{margin-bottom:24px}
.home-panel .home-filters button{background:#e9edf3;border-radius:8px}
.home-panel .home-filters button[aria-pressed=true]{background:#e4edff;color:#174cb1}
.home-groups{display:grid;grid-template-columns:2fr 1fr;gap:24px}
.home-tool-section h2{font-size:19px;font-weight:650;color:#273342;line-height:1.5;letter-spacing:-.3px;margin:0 0 12px}
.home-panel .home-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.home-tool-section[data-category=image] .home-tool-grid{grid-template-columns:minmax(0,1fr)}
.home-panel .home-tool-card{padding:20px;min-height:120px;border-radius:12px;gap:14px;background:#fff;box-shadow:none;border-color:#e0e5ec;align-items:center}
.home-panel .home-tool-card:hover{background:#fff;border-color:#9fb7dd;box-shadow:0 2px 7px #26374f08}
.home-panel .home-tool-card:focus-visible{background:#fff}
.home-panel .home-tool-card strong{font-size:17px;font-weight:700;line-height:1.5;letter-spacing:-.25px;margin-bottom:6px}
.home-panel .home-tool-description{font-size:14px;line-height:1.55;color:#536171}
.home-tool-arrow{color:#657386}
.home-file-note{color:#536171;font-size:13px}
.home-empty{background:#fff;border:1px solid #e0e5ec}
.tool-heading{padding:24px 0 18px}
.tool-heading h1{font-size:26px;font-weight:700;line-height:1.4;letter-spacing:-.5px;margin:0 0 5px;color:#202a35}
.tool-heading p{font-size:14px;line-height:1.6;color:#536171;margin:0}
.tool-tabs{display:flex;gap:26px;padding:0 2px;margin:0 0 24px;overflow-x:auto;white-space:nowrap;overscroll-behavior-x:contain;scrollbar-width:thin;border-bottom:1px solid #ccd5e0}
.tool-tabs button{font-size:14px;font-weight:600;min-height:48px;padding:12px 4px;flex:0 0 auto;color:#566477}
.tool-tabs button[aria-selected=true]{color:#174cb1;border-bottom-color:#2464e8}
.workspace,.editor-workspace,.checker-panel{display:grid;grid-template-columns:488px minmax(0,1fr);gap:24px;align-items:start;padding-top:0}
.settings,.checker-inputs,.editor-preview,.preview-panel,.checker-result{background:#fff;border:1px solid #e0e5ec;border-radius:14px;padding:24px;min-width:0}
.step{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #e0e5ec}
.last-step{margin:0;padding:0;border:0}
.section-label{margin-bottom:14px}
.section-label h2,.checker-inputs h2,.editor-preview h2{font-size:18px;font-weight:650;line-height:1.5;letter-spacing:-.25px}
label{font-size:14px;color:#344255;font-weight:600;margin-bottom:8px;line-height:1.55}
select,input[type=number]{font-size:15.5px;color:#202a35;min-height:48px;padding:11px 12px;margin:7px 0 14px;border:1px solid #a4afbd;border-radius:8px;line-height:24px;background:#fff}
.two-fields input,.two-fields select{margin-bottom:0}
.check-label{font-size:14px;color:#344255;gap:9px;margin:14px 0}
.check-label input{width:18px;height:18px}
.primary,.secondary,.result-link{font-size:15px;min-height:46px;line-height:1.5;border-radius:9px}
.primary{padding:12px 20px}
.secondary{padding:11px 16px;color:#344255;background:#edf1f6}
.dropzone{padding:18px;min-height:120px;gap:8px;background:#f8f9fb;border:1px dashed #97a6ba;border-radius:10px}
.dropzone .primary,.dropzone .secondary{min-height:46px}
.dropzone strong,.upload-hint strong{font-size:14px;color:#536171}
.dropzone p,.upload-hint p{font-size:13px;color:#536171}
.fine,.privacy-note,.small-note,.status,.muted,.text-button{color:#536171}
.fine,.privacy-note{font-size:13px;line-height:1.7;margin-top:9px}
.small-note,.status,.muted{font-size:14px;line-height:1.65}
.text-button{font-size:13px;min-height:36px;padding:6px}
.status.error,.error{color:#a33932}
.file-row{padding:12px 0;gap:8px}
.file-row .file-info strong{font-size:14px;color:#273342;font-weight:600}
.file-row small,.file-row .file-order{color:#536171;font-size:12px}
.file-row button{min-width:36px;min-height:40px;font-size:19px}
.quantity-label{color:#536171;font-size:12px}
.quantity-label input[type=number]{font-size:15.5px;min-height:44px}
.delivery-label{color:#536171;font-size:12px}
.delivery-label input[type=text]{font-size:14px;min-height:44px;border-color:#a4afbd;padding:8px;border-radius:7px}
.preview-panel{position:sticky;top:16px;padding:24px}
.preview-top{font-size:14px;font-weight:600;color:#344255;margin-bottom:8px}
.preview-top span:last-child{font-size:12px;background:#f3f5f8;color:#536171;border-color:#e0e5ec}
.preview-stage{min-height:0;padding:16px 12px;background:#f3f5f8;border-radius:10px}
.paper-preview{width:176px}
#render-preview{width:min(100%,280px);max-height:480px;object-fit:contain}
.preview-bottom{padding:14px 0 12px;gap:8px;line-height:1.6;color:#536171;font-size:13px}
.preview-bottom strong{font-size:14px;color:#273342}
.privacy-note{padding-top:12px;border-top:1px solid #e0e5ec}
.editor-preview{position:sticky;top:16px;min-width:0}
.editor-preview .muted{font-size:14px}
.editor-image-wrap{width:max-content;max-width:100%;margin:16px auto}
.editor-image-wrap img{max-height:300px;object-fit:contain}
.editor-result-wrap{min-height:120px;max-height:330px;background:#f3f5f8;padding:16px;border-radius:10px}
.editor-result-wrap img{max-height:290px}
.editor-crop-details{font-size:14px;color:#536171}
.submission-assessment{font-size:14px;color:#344255;line-height:1.8}
.checker-inputs>p{color:#536171;font-size:14px;line-height:1.65}
.checker-result{padding:28px;color:#273342}
.checker-result .eyebrow{font-size:13px;letter-spacing:0;color:#536171}
.checker-result .result-description{font-size:15px;color:#344255;line-height:1.65}
.checker-result dl{font-size:14px;line-height:1.7}
.checker-result dt{color:#536171}
.guide{background:#fff;border:1px solid #e0e5ec;border-radius:14px;padding:24px;grid-template-columns:220px minmax(0,1fr);gap:28px;margin-top:28px}
.guide summary,.guide p,.guide details p,.guide a,.guide-links a{font-size:14px;line-height:1.7;color:#536171}
.guide-links a{color:#174cb1}
#guide-reader{max-width:900px;background:#fff;border:1px solid #e0e5ec;border-radius:14px;margin:24px auto;padding:24px}
#guide-reader p,#guide-reader li,#guide-reader figcaption{color:#536171;font-size:15px;line-height:1.85}
footer,body:has(#home-panel:not([hidden]))>footer{max-width:1160px;width:calc(100% - 48px);margin:24px auto 0;padding:20px 0;color:#536171;font-size:13px;gap:16px;border-top:1px solid #d4dce6}
footer p,footer a,body:has(#home-panel:not([hidden]))>footer p,body:has(#home-panel:not([hidden]))>footer .info-links{font-size:12px;color:#536171}
@media(max-width:960px){
 .home-groups{grid-template-columns:minmax(0,1fr);gap:28px}
 .home-tool-section[data-category=image] .home-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .workspace,.editor-workspace,.checker-panel{grid-template-columns:minmax(0,1fr);gap:20px}
 .preview-panel,.editor-preview{position:static}
 .preview-stage{min-height:0}
 .settings,.checker-inputs,.editor-preview,.preview-panel,.checker-result{padding:22px}
}
@media(max-width:620px){
 .site-header,body:has(#home-panel:not([hidden])) .site-header{padding:0 20px;height:60px}
 main,main:has(>#home-panel:not([hidden])){padding:0 16px}
 .header-right,body:has(#home-panel:not([hidden])) .header-right{font-size:12px;gap:10px}
 .home-panel{padding:20px 0 22px}
 .home-panel h1{font-size:26px}
 .home-toolbar{margin-bottom:22px;gap:10px}
 .home-tool-section h2{font-size:18px;margin-bottom:10px}
 .home-panel .home-tool-grid,.home-tool-section[data-category=image] .home-tool-grid{grid-template-columns:minmax(0,1fr);gap:10px}
 .home-panel .home-tool-card{min-height:106px;padding:18px;gap:12px}
 .home-panel .home-tool-card strong{font-size:17px}
 .home-groups{gap:24px}
 .tool-heading{padding:16px 0 12px}
 .tool-heading h1{font-size:24px}
 .tool-heading p{font-size:13.5px}
 .tool-tabs{display:flex;gap:18px;margin-bottom:18px;padding:0 2px}
 .tool-tabs button{font-size:13px;min-height:46px;padding:10px 3px}
 .settings,.checker-inputs,.editor-preview,.preview-panel,.checker-result{padding:18px;border-radius:12px}
 .step{margin-bottom:14px;padding-bottom:14px}
 .last-step{margin:0;padding:0}
 .section-label{margin-bottom:12px}
 .section-label h2{font-size:17px}
 .dropzone{padding:14px;min-height:100px}
 .workspace-jumps{position:static;background:transparent;margin:0 0 12px;padding:0;gap:18px;border-bottom:0}
 .workspace-jumps a{color:#174cb1;font-size:13px;min-height:36px;padding:6px 0}
 .paper-preview{width:160px}
 #render-preview{max-height:390px}
 .editor-image-wrap img{max-height:280px}
 .guide{grid-template-columns:minmax(0,1fr);padding:18px;gap:20px}
 #guide-reader{padding:18px;margin:16px 0}
 footer,body:has(#home-panel:not([hidden]))>footer{width:calc(100% - 32px);margin-top:20px}
}

/* Text input stays first; cleanup and saved settings are optional. */
.home-groups{grid-template-columns:2fr 1fr 1fr}
.text-workspace{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:22px;margin-bottom:24px}
.text-entry,.text-options,.text-cleanup{background:#fff;border:1px solid #e0e5ec;border-radius:14px;padding:24px;min-width:0}
.text-workspace h2{font-size:18px;margin:0 0 16px}
.text-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 16px}
.text-counts dt{color:#536171;font-size:13px}.text-counts dd{font-size:27px;font-weight:650;color:#273342;margin:4px 0 0;overflow-wrap:anywhere}
.text-workspace textarea{display:block;width:100%;resize:vertical;border:1px solid #c7d1df;border-radius:8px;background:#fff;padding:14px;color:#273342;font:inherit;font-size:15px;line-height:1.75;min-height:160px}
.text-workspace textarea:focus{outline:2px solid #3269c9;outline-offset:2px}
.text-workspace label{font-size:14px}.text-workspace .fine{font-size:13px;line-height:1.7;color:#536171}
.text-workspace input[type=text]{display:block;width:100%;min-width:0;min-height:48px;margin-top:8px;padding:12px;border:1px solid #9eafc9;border-radius:8px;background:#fff;color:#273342;font:inherit;font-size:15.5px}
.text-workspace input[type=text]:focus{outline:2px solid #3269c9;outline-offset:2px}
.text-policy{margin-top:18px}.text-policy summary{font-size:14px;cursor:pointer}.text-policy p{font-size:13px;color:#536171;line-height:1.75}
.text-cleanup{grid-column:1/-1;padding:0}.text-cleanup>summary{padding:20px 24px;cursor:pointer;font-size:15px;font-weight:600}
.text-cleanup-body{padding:0 24px 24px}.text-step{display:grid;grid-template-columns:minmax(0,1fr) 42px 42px;align-items:center;gap:8px;border-bottom:1px solid #e8ecf1;padding:10px 0}
.text-step .check-label{margin:0;min-height:42px}.text-step button{padding:8px;min-height:42px}.text-replacement{margin:18px 0 0}
.text-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}.text-comparison textarea{margin-top:8px;background:#f8fafc}
.text-actions{display:flex;flex-wrap:wrap;gap:10px}.text-actions button{min-height:44px}
.text-recipes{border-top:1px solid #dce3ed;margin-top:24px;padding-top:22px}.text-recipes .two-fields{margin:16px 0}
.home-panel .home-filters{flex-wrap:wrap;min-width:0;max-width:100%}
.home-toolbar{min-width:0;flex-wrap:wrap}
@media(max-width:960px){.home-groups{grid-template-columns:minmax(0,1fr)}.text-workspace{grid-template-columns:minmax(0,1fr)}.text-counts dd{font-size:25px}}
@media(max-width:620px){.text-entry,.text-options{padding:18px}.text-workspace{gap:16px}.text-cleanup>summary{padding:18px}.text-cleanup-body{padding:0 18px 18px}.text-counts{gap:8px}.text-counts dt{font-size:11.5px}.text-counts dd{font-size:23px}.text-comparison{grid-template-columns:minmax(0,1fr)}.text-replacement,.text-recipes .two-fields{grid-template-columns:minmax(0,1fr)}.text-step .check-label{font-size:13px}.text-actions{gap:8px}.text-actions button{font-size:13px}}

@media(min-width:961px){.home-groups{grid-template-columns:2fr 1fr 1fr}.home-tool-section[data-category=text] .home-tool-grid{grid-template-columns:minmax(0,1fr)}}
.calendar-workspace{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:24px}
.calendar-card{background:#fff;border:1px solid #e0e5ec;border-radius:14px;padding:24px;min-width:0}
.calendar-card h2{font-size:18px;margin:0 0 20px}
.calendar-card label{display:block;font-size:14px;color:#273342;margin:14px 0 8px}
.calendar-card input[type=date]{display:block;width:100%;min-width:0;min-height:48px;margin-top:8px;padding:12px;border:1px solid #9eafc9;border-radius:8px;background:#fff;color:#273342;font:inherit;font-size:15.5px}
.calendar-card input[type=date]:focus,.calendar-card textarea:focus{outline:2px solid #3269c9;outline-offset:2px}
.calendar-card .check-label{display:flex;align-items:center;margin:0;gap:8px}
.calendar-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px}
.calendar-counts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}
.calendar-counts dt{color:#536171;font-size:13px}.calendar-counts dd{font-size:28px;font-weight:650;margin:6px 0 0;overflow-wrap:anywhere}
.calendar-value{font-size:28px;font-weight:650;color:#273342;overflow-wrap:anywhere}
.calendar-card textarea{display:block;width:100%;resize:vertical;min-height:132px;background:#f8fafc;border:1px solid #c7d1df;border-radius:8px;padding:14px;color:#273342;font:inherit;font-size:14px;line-height:1.75;margin:8px 0 14px}
.calendar-card button{min-height:44px}.calendar-card .fine,.calendar-note{color:#536171;font-size:13px;line-height:1.75}
.calendar-note{grid-column:1/-1;margin:0}.calendar-card .error{font-size:13px;line-height:1.65}
@media(min-width:961px){.home-groups{grid-template-columns:2fr 1fr 1fr 1fr}.home-tool-section[data-category=life] .home-tool-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:960px){.calendar-workspace{grid-template-columns:minmax(0,1fr)}.home-tool-section[data-category=life] .home-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.calendar-card{padding:18px;border-radius:12px}.calendar-workspace{gap:16px}.calendar-counts dd,.calendar-value{font-size:25px}.calendar-card .two-fields{grid-template-columns:minmax(0,1fr)}.home-tool-section[data-category=life] .home-tool-grid{grid-template-columns:minmax(0,1fr)}}

/* Purpose sections share one reading order and one row style. */
.home-panel{padding:28px 0 20px}
.home-heading{display:flex;align-items:center;justify-content:space-between;gap:32px;margin:0 0 30px}
.home-panel h1{font-size:26px;line-height:1.4;margin:0;letter-spacing:-.7px}
.home-panel .home-search{width:min(100%,520px);margin:0;min-height:50px}
.home-panel .home-search input{height:50px;padding:12px 46px;font-size:14.5px}
.home-layout{display:grid;grid-template-columns:168px minmax(0,1fr);gap:44px}
.home-panel .home-filters{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:4px;padding:0;margin:0;align-self:start;position:sticky;top:20px}
.home-panel .home-filters button{display:block;min-height:44px;width:100%;text-align:left;padding:11px 14px;border-radius:8px;background:transparent;color:#536171;font-size:14px;font-weight:500}
.home-panel .home-filters button:hover{background:#e9edf3}
.home-panel .home-filters button[aria-pressed=true]{background:#e5edfc;color:#174cb1;font-weight:650}
.home-results{min-width:0}
.home-category-mobile{display:none}
.home-list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;min-width:0}
.home-list-heading>div{display:flex;align-items:baseline;gap:12px;min-width:0;flex-wrap:wrap}
.home-panel .home-list-heading h2{font-size:20px;line-height:1.4;letter-spacing:-.4px;margin:0}
.home-panel #home-filter-summary{font-size:13px;line-height:1.6;color:#536171;margin:0;overflow-wrap:anywhere}
.home-panel .home-reset{background:transparent;color:#174cb1;font-size:13px;min-height:44px;padding:10px 0;white-space:nowrap}
.home-panel .home-reset:hover{text-decoration:underline}
.home-panel .home-groups{display:block}
.home-tool-section+.home-tool-section{margin-top:28px}
.home-panel .home-tool-section h3{font-size:15px;line-height:1.5;font-weight:650;color:#536171;margin:0 0 8px}
.home-panel .home-tool-section .home-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;list-style:none;padding:0;margin:0}
.home-panel .home-tool-grid li{min-width:0}
.home-panel .home-tool-card{display:flex;align-items:center;justify-content:space-between;min-height:84px;padding:14px 10px;gap:16px;border:0;border-bottom:1px solid #dce3ec;border-radius:0;background:transparent;box-shadow:none;transform:none}
.home-panel .home-tool-card:hover{background:#fff;border-color:#cbd5e3;box-shadow:none;transform:none}
.home-panel .home-tool-content{display:flex;flex-direction:column;min-width:0;gap:5px}
.home-panel .home-tool-card strong{font-size:16px;line-height:1.5;font-weight:650;color:#273342;letter-spacing:-.25px}
.home-panel .home-tool-description{font-size:13px;line-height:1.65;color:#536171;margin:0;overflow-wrap:anywhere}
.home-panel .home-tool-arrow{color:#6a7a91;flex:0 0 16px}
.home-panel .home-tool-arrow svg{display:block;width:16px;height:16px}
.home-panel .home-empty{padding:32px 10px;border:0;border-top:1px solid #dce3ec;border-radius:0;background:transparent;text-align:left}
.home-panel .home-empty strong{font-size:16px;font-weight:600}
.home-panel .home-empty p{font-size:14px;color:#536171;line-height:1.7;margin:10px 0 8px}
@media(max-width:760px){
 .home-heading{display:block;margin-bottom:20px}
 .home-panel h1{font-size:24px;margin-bottom:14px}
 .home-panel .home-search{width:100%}
 .home-layout{display:block}
 .home-panel .home-filters{display:none}
 .home-category-mobile{display:flex;align-items:center;gap:14px;margin:0 0 22px;font-size:13px;color:#536171}
 .home-category-mobile>span{flex:0 0 auto}
 .home-category-mobile select{width:100%;min-width:0;min-height:44px;height:44px;margin:0;padding:8px 12px;background:#fff;border:1px solid #c7d1df;border-radius:8px;font-size:14px;color:#273342}
 .home-list-heading{margin-bottom:18px}
 .home-panel .home-list-heading h2{font-size:18px}
 .home-panel .home-tool-section .home-tool-grid{grid-template-columns:minmax(0,1fr)}
 .home-tool-section+.home-tool-section{margin-top:24px}
 .home-panel .home-tool-card{min-height:80px;padding:13px 4px}
 .home-panel .home-tool-card strong{font-size:16px}
 .home-panel .home-tool-description{font-size:13px}
 .home-panel .home-empty{padding:24px 4px}
}

/* QR keeps content controls and the actual output together. */
.qr-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;margin-bottom:24px;align-items:start}
.qr-card{background:#fff;border:1px solid #e0e5ec;border-radius:14px;padding:24px;min-width:0}
.qr-card h2{font-size:18px;margin:0 0 20px}.qr-card .section-label{justify-content:space-between;margin-bottom:20px}.qr-card .section-label h2{margin:0}
.qr-card label{display:block;font-size:14px;color:#273342;margin:14px 0 8px}.qr-card select,.qr-card input[type=text],.qr-card input[type=password]{display:block;width:100%;min-width:0;min-height:46px;margin-top:8px;padding:11px 12px;border:1px solid #9eafc9;border-radius:8px;background:#fff;color:#273342;font:inherit;font-size:14.5px}
.qr-card textarea{display:block;width:100%;resize:vertical;min-height:138px;background:#fff;border:1px solid #9eafc9;border-radius:8px;padding:12px;color:#273342;font:inherit;font-size:14.5px;line-height:1.75}
.qr-card textarea:focus-visible{outline:3px solid #91b6ff;outline-offset:4px}.qr-card .check-label{display:flex;align-items:center;gap:8px}.qr-card button{min-height:44px}.qr-card .fine{color:#536171;font-size:13px;line-height:1.75}.qr-card .error{font-size:13px;line-height:1.65}
.qr-preview-stage{min-height:300px;background:#f8fafc;border:1px solid #e0e5ec;border-radius:8px;padding:16px;display:flex;align-items:center;justify-content:center;text-align:center}
#qr-preview{display:block;width:min(100%,320px);height:auto;aspect-ratio:1;background:#fff;image-rendering:pixelated}
.qr-downloads{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.qr-downloads a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 20px;font-size:14px}
@media(max-width:760px){.qr-workspace{grid-template-columns:minmax(0,1fr);gap:16px}.qr-card{padding:18px;border-radius:12px}.qr-preview-stage{min-height:240px;padding:12px}}

/* PDF page controls use the existing type, surface and button styles. */
.pdfp-workspace{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:22px;align-items:start;margin-bottom:24px}
.pdfp-card{min-width:0;background:#fff;border:1px solid #e0e5ec;border-radius:14px;padding:22px}.pdfp-card h2{font-size:18px}.pdfp-card .section-label{justify-content:space-between;margin-bottom:16px}.pdfp-card button,.pdfp-card a{min-height:44px}.pdfp-card .fine{font-size:12px;line-height:1.75;color:#536171}.pdfp-card .error{font-size:13px;overflow-wrap:anywhere}.pdfp-card .small-note{font-size:13px;overflow-wrap:anywhere}
.pdfp-card label{font-size:13px;color:#273342;margin:18px 0 8px}.pdfp-range-row{display:flex;gap:8px}.pdfp-range-row input{flex:1;min-width:0;width:100%;padding:11px;border:1px solid #9eafc9;border-radius:8px;color:#273342;font-size:14px}.pdfp-range-row button{flex-shrink:0;padding:10px}.pdfp-file-list{padding-left:18px;margin:16px 0;font-size:13px;line-height:1.8;color:#536171;overflow-wrap:anywhere}.pdfp-batch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0 24px}.pdfp-batch button{padding:10px 7px;font-size:12px}.pdfp-output{padding-top:18px;border-top:1px solid #e0e5ec;scroll-margin-top:20px}.pdfp-output .primary{margin-top:12px}.pdfp-output .secondary{margin-top:8px}.pdfp-output a{display:flex;align-items:center;justify-content:center;margin-top:12px}.pdfp-compatibility{font-size:12px;color:#536171;line-height:1.75;margin-top:18px}.pdfp-compatibility summary{padding:10px 0;min-height:44px}.pdfp-compatibility p{margin:8px 0}
.pdfp-list-hint{margin:0 0 16px!important}.pdfp-empty{margin:0;min-height:260px;display:grid;place-items:center;text-align:center;background:#f8fafc;border:1px solid #e0e5ec;border-radius:8px;padding:20px;color:#536171;font-size:13px}.pdfp-pages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}.pdfp-page{min-width:0;border:1px solid #dce3ec;border-radius:10px;padding:12px}.pdfp-page-select{display:flex!important;align-items:center;gap:6px;margin:0 0 10px!important;min-height:28px}.pdfp-page-select input{width:18px;height:18px;accent-color:var(--blue)}.pdfp-thumb{height:180px;display:flex;align-items:center;justify-content:center;background:#f5f7fa;border-radius:5px;overflow:hidden;font-size:12px;color:#536171}.pdfp-thumb img{max-width:100%;max-height:100%;object-fit:contain;width:auto;height:auto}.pdfp-page-name{display:block;font-size:12px;line-height:1.7;margin-top:10px;overflow-wrap:anywhere;color:#273342}.pdfp-page-note{font-size:11px;line-height:1.7;color:#536171;margin:4px 0 10px}.pdfp-page-actions{display:flex;flex-wrap:wrap;gap:5px}.pdfp-page-actions button{padding:8px 9px;font-size:11px;flex:1}.pdfp-page-actions button:last-child{flex-basis:100%}
@media(max-width:760px){.pdfp-workspace{grid-template-columns:minmax(0,1fr);gap:16px}.pdfp-card{padding:18px;border-radius:12px}.pdfp-pages{gap:10px}.pdfp-page{padding:10px}.pdfp-thumb{height:160px}.pdfp-page-actions button{padding:8px 5px}.pdfp-range-row{gap:6px}}
@media(max-width:350px){.pdfp-pages{grid-template-columns:minmax(0,1fr)}.pdfp-thumb{height:200px}.pdfp-page-actions button:last-child{flex-basis:auto}.pdfp-page-actions button{font-size:12px;padding:9px 7px}}

.brand-mark{width:22px;height:22px;display:block;flex:none}
