@font-face{font-family:"Paperlogy";src:url("/shared/fonts/paperlogy/Paperlogy-4Regular.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Paperlogy";src:url("/shared/fonts/paperlogy/Paperlogy-5Medium.woff2") format("woff2");font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:"Paperlogy";src:url("/shared/fonts/paperlogy/Paperlogy-7Bold.woff2") format("woff2");font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:"Paperlogy";src:url("/shared/fonts/paperlogy/Paperlogy-8ExtraBold.woff2") format("woff2");font-style:normal;font-weight:800;font-display:swap}
:root{--onsemo-ink:#202b3a;--onsemo-muted:#727782;--onsemo-paper:#fbf9f5;--onsemo-surface:#fffefa;--onsemo-line:#e9e3da;--onsemo-accent:#b47a4f;--onsemo-shadow:0 10px 30px rgba(50,43,34,.075)}
html{scroll-behavior:smooth}
body{font-family:"Paperlogy","Noto Sans KR",system-ui,sans-serif}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--onsemo-accent);outline-offset:3px}
.site-header{background:rgba(251,249,245,.96);border-bottom-color:var(--onsemo-line)}
.site-header img{object-fit:contain}
.service-menu{position:relative;z-index:21;flex:0 0 auto;color:var(--onsemo-muted);font-family:"Paperlogy","Noto Sans KR",sans-serif}
.service-menu>summary{min-height:40px;display:inline-flex;align-items:center;gap:8px;padding:0 13px;border:1px solid var(--onsemo-line);border-radius:999px;background:var(--onsemo-surface);color:var(--onsemo-ink);cursor:pointer;font-size:13px;font-weight:700;list-style:none}
.service-menu>summary::-webkit-details-marker{display:none}
.service-menu>summary::after{content:"⌄";color:var(--onsemo-accent);font-size:16px;line-height:1;transition:transform .18s ease}
.service-menu[open]>summary::after{transform:rotate(180deg)}
.service-menu-panel{position:absolute;top:calc(100% + 9px);right:0;z-index:31;width:min(270px,calc(100vw - 28px));max-height:min(70vh,480px);overflow:auto;padding:8px;border:1px solid var(--onsemo-line);border-radius:16px;background:var(--onsemo-surface);box-shadow:var(--onsemo-shadow)}
.service-menu-panel a{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 11px;border-radius:10px;color:#394754;font-size:13px;text-decoration:none;transition:color .16s ease,background .16s ease}
.service-menu-panel a:hover,.service-menu-panel a:focus-visible{background:#f4ece2;color:var(--onsemo-ink)}
.service-menu-panel a[aria-current="page"]{background:#f0e4d5;color:var(--onsemo-ink);font-weight:800}
.service-menu-panel small{color:var(--onsemo-muted);font-size:10px;font-weight:500}
.service-menu summary:focus-visible,.service-menu-panel a:focus-visible{outline:3px solid var(--onsemo-accent);outline-offset:3px}
.tool-language-switch,.language-nav{font-family:"Paperlogy","Noto Sans KR",system-ui,sans-serif}
.tool-language-switch a,.language-nav a{min-height:38px}
.tool-service-footer{display:flex;flex-wrap:wrap;gap:8px 16px;padding:12px 0;margin-bottom:13px;border-top:1px solid var(--onsemo-line);border-bottom:1px solid var(--onsemo-line);font:13px/1.5 "Paperlogy","Noto Sans KR",system-ui,sans-serif}
.tool-service-footer a{color:#505b68;text-decoration:none;transition:color .16s ease}
.tool-service-footer a:hover,.tool-service-footer a[aria-current="page"]{color:var(--onsemo-accent)}
.tool-service-footer a[aria-current="page"]{font-weight:800}
.tool-font-license{display:inline-flex;min-height:32px;align-items:center;margin-left:12px;color:var(--onsemo-muted);font:12px/1.5 "Paperlogy","Noto Sans KR",system-ui,sans-serif;text-underline-offset:3px}
.tool-font-license::before{content:"·";margin-right:8px;color:var(--onsemo-muted)}
.tool-font-license:hover{color:var(--onsemo-ink)}
.directory-card,.trust-fact,.search,.panel,.privacy,.dropzone,.upload-area,.result-area{border-color:var(--onsemo-line);border-radius:16px}
.directory-card,.panel,.privacy,.dropzone,.upload-area,.result-area{background-color:var(--onsemo-surface)}
.directory-card{box-shadow:0 4px 20px rgba(50,43,34,.035);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.directory-card:hover{border-color:#ceb899;box-shadow:0 10px 26px rgba(50,43,34,.09);transform:translateY(-2px)}
button,.btn,.filter-button,.clear-button,.reset-button{transition:color .16s ease,background-color .16s ease,border-color .16s ease,transform .16s ease}
@media(max-width:720px){.header-inner,.header-nav{flex-wrap:wrap}.service-menu>summary{min-height:40px;padding:0 10px;font-size:12px}.tool-service-footer{gap:10px 14px}}
@media(max-width:390px){.service-menu>summary{min-height:38px;padding:0 8px;font-size:11px}.tool-service-footer{font-size:12px;gap:9px 12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.service-menu>summary::after,.directory-card,button,.btn,.filter-button,.clear-button,.reset-button,.tool-service-footer a{transition:none}.directory-card:hover{transform:none}}

/* Grouped, Blog-style service navigation with compact rows. */
.tool-service-quick{min-height:44px!important;display:flex!important;align-items:center;justify-content:space-between;margin-bottom:12px;padding:10px 13px!important;border:1px solid #d2dfd7;border-radius:10px;background:#edf5f0;color:#284b3b!important;font-size:14px!important;font-weight:800!important}
.tool-service-quick:hover,.tool-service-quick:focus-visible{background:#e1efe6!important;border-color:#7f9d8d}
.tool-service-group{display:grid;gap:2px}
.tool-service-group+.tool-service-group{padding-top:11px;margin-top:11px;border-top:1px solid var(--onsemo-line)}
.tool-service-label{display:block;padding:2px 11px 5px;color:var(--onsemo-muted);font-size:11px;font-weight:800;letter-spacing:.04em}
.service-menu-panel .tool-service-group a{min-height:42px}
@media(max-width:720px){
  /* Prevent service navigation and locale links from creating a second header row. */
  body>header .header-inner,body>header .head,body>header .head-row{display:flex;align-items:center;flex-wrap:nowrap;gap:8px;min-height:64px}
  body>header .header-nav{display:flex;flex:0 0 auto;flex-wrap:nowrap;gap:0;margin:0;order:3}
  body>header .header-nav>a{display:none!important}
  body>header .logo,body>header .brand{min-width:0;flex:0 1 auto;margin-right:auto;order:0}
  body>header .logo img,body>header .brand img,body>header .head>a:first-child img,body>header .head-row>a:first-child img{height:32px;max-width:116px;width:auto}
  body>header .language-nav,body>header .tool-language-switch{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;order:2;gap:5px;margin:0;padding:0 4px;border:0;border-radius:0;background:transparent;white-space:nowrap}
  body>header .language-nav a,body>header .tool-language-switch a{min-height:40px;display:inline-flex;align-items:center;font-size:12px;font-weight:650}
  body>header .service-menu{order:3;z-index:35;flex:0 0 42px}
  body>header .service-menu>summary{width:42px;height:42px;min-height:42px;display:grid;place-items:center;padding:0;border:0;border-radius:12px;background:transparent;font-size:0;overflow:hidden;color:var(--onsemo-ink)}
  body>header .service-menu>summary::before{content:"";display:block;width:22px;height:20px;background:linear-gradient(currentColor,currentColor) center 3px/20px 2px no-repeat,linear-gradient(currentColor,currentColor) center 9px/20px 2px no-repeat,linear-gradient(currentColor,currentColor) center 15px/20px 2px no-repeat}
  body>header .service-menu[open]>summary::before{background:linear-gradient(45deg,transparent 46%,currentColor 47% 53%,transparent 54%) center/20px 20px no-repeat,linear-gradient(-45deg,transparent 46%,currentColor 47% 53%,transparent 54%) center/20px 20px no-repeat}
  body>header .service-menu>summary::after{display:none}
  body>header .service-menu>summary:hover,body>header .service-menu>summary:focus-visible{background:#edf2fa}
  body>header .service-menu-panel{width:min(320px,calc(100vw - 28px));max-height:min(72dvh,560px);overflow-y:auto;overscroll-behavior:contain;padding:16px;border-radius:18px;background:#fff;box-shadow:0 14px 35px rgba(14,23,38,.13)}
  /* A narrow back affordance remains on tool detail pages; the logo still opens Tools. */
  body>header .header-inner>a.back,body>header .head>a.back,body>header .head-row>a.back{width:30px;min-width:30px;max-width:30px;display:flex;align-items:center;justify-content:center;flex:0 0 30px;overflow:hidden;font-size:0;line-height:1}
  body>header .header-inner>a.back::before,body>header .head>a.back::before,body>header .head-row>a.back::before{content:"←";font-size:20px}
}
@media(max-width:390px){
  body>header .header-inner,body>header .head,body>header .head-row{gap:6px}
  body>header .logo img,body>header .brand img,body>header .head>a:first-child img,body>header .head-row>a:first-child img{max-width:105px;height:30px}
  body>header .language-nav,body>header .tool-language-switch{gap:4px;padding:0}
  body>header .language-nav a,body>header .tool-language-switch a{font-size:11px}
  body>header .service-menu-panel{width:min(310px,calc(100vw - 24px));padding:14px;border-radius:16px}
}


/* Text wordmark is part of initial Tools HTML, before the shared navigation JS. */
.site-header .logo{font-family:"Paperlogy",system-ui,sans-serif;font-size:26px;line-height:1.1;font-weight:850;letter-spacing:-.07em;color:#19273a;text-decoration:none;white-space:nowrap}
@media(max-width:720px){.site-header .logo{font-size:23px}}
