/* The supplied URU Labs artwork owns the identity: aqua glass, cream,
   soft laboratory forms, and an approachable character. */
:root{color-scheme:light;--bg:#f3f8f7;--surface:#fff;--surface2:#e6f2f0;--line:#c9dedb;--text:#183e44;--muted:#54767b;--accent:#087f83}
body{background:radial-gradient(ellipse at 90% 0%,#cceee8 0,transparent 40%),var(--bg)}
.topbar{background:#f3f8f7f2;border-bottom-color:#c9dedb}.brand-profile{width:44px;height:44px;object-fit:contain;flex:none;filter:drop-shadow(0 3px 4px #267a7420)}.brand strong{color:#146b74}.brand strong>span{color:#5b8586}.brand{gap:10px}
.hero{gap:48px;padding-top:70px;padding-bottom:70px}.hero h1 em,.page-heading h1 em,.community-heading h1 em{color:#087f83}.hero-visual{background:#dcecea;border-color:#c1d9d5;border-radius:24px;transform:rotate(-1deg);box-shadow:0 20px 60px #2e756a16;overflow:visible}.hero-visual>.brand-hero{width:100%;height:auto;object-fit:contain;aspect-ratio:3/1;border-block-color:#bad5d1}.visual-top{color:#577d7c;padding:20px 22px}.visual-top span:first-child{color:#186d73}.visual-bottom{color:#306764;padding:18px 22px}.hero-visual>.image-caption{font-size:12px;color:#5b7d7c}.hero-meta b{background:#dceee9;color:#2d6866}.line{background:#21a29e}
.button{border-radius:999px}.primary{color:#fff;background:#118b8d;box-shadow:0 4px 12px #168b8120}.primary:hover:not(:disabled){background:#08797e}.secondary{background:#fff;border-color:#bdd9d4;color:#265d62}.danger{color:#fff;background:#a44857;border-color:#a44857}.top-link{color:#087b80}.spec-strip{background:#e2f0ec;border-color:#c4ded7}.spec-strip span:before{color:#139c96}.eyebrow,.index{color:#078581}
.feature,.panel,.post-card{border-radius:18px;border-color:#cce0dc;box-shadow:0 8px 30px #39766506}.feature.large{background:#fff}.feature.accent{background:#d8f0df;border-color:#c4e2cd;color:#28584b}.feature.accent .index,.feature.accent p{color:#487360}.feature.accent a{color:#25705a}.big-type em{color:#188d7c}.feature img{border-radius:10px}.compare-controls button{border-radius:999px;color:#54767b;background:#f2f8f6}.compare-controls button.active{background:#108b8e;border-color:#108b8e;color:#fff}.bottom-callout{border:1px solid #c9dfd3;background:#e8f3df;border-radius:20px}.bottom-callout .eyebrow{color:#4c8068}
input,textarea,select{background:#f8fbfa;color:var(--text);border-color:#c3d9d6;border-radius:9px}input::placeholder,textarea::placeholder{color:#6f898a}code{background:#e6f1ed;color:#28666a}.notice{background:#e4f3ee;border-left-color:#1d9d8d;color:#406c62}.notice.strong{color:#176f63}.requirements span{background:#fff;border-radius:7px}.workflow b{background:#dff1e8;color:#258875;border-color:#b7ddcd}.rule-grid>div{border-radius:12px}.rule-grid strong{color:#16867c}.community-rules{background:#e6f2ee;border-radius:12px;color:#50746e}.community-rules b{color:#148b7e}.scope-chip{background:#dfefed;color:#34716d}.hot-chip{background:#f6efd0;color:#806c24}.embed-area{background:#edf5f2;border-radius:10px}.up-button{background:#e6f2ed;border-color:#bbd8cb;color:#367563;border-radius:999px}.up-button.voted{background:#def1e4;color:#247548;border-color:#9ccba9}.expiry{border-color:#d0e1dc}.empty-state{background:#f9fcfa;border-color:#bcd9d2;border-radius:18px}.empty-symbol{color:#328d80}.empty-state h2{color:#315d5d}
dialog{background:#fcfefd;border-color:#c6ddd6;border-radius:22px;box-shadow:0 25px 100px #184f4f33}dialog::backdrop{background:#174c4d44;backdrop-filter:blur(8px)}.toast{background:#1b776d;color:#fff;border-radius:999px;box-shadow:0 10px 40px #245f5d25}.error,.status-error{color:#b33c49!important}.local-badge{background:#e7f3ed;color:#5c8072;border-color:#c7ded1}.footer .brand-profile{width:34px;height:34px}.footer .brand strong{font-size:18px}
@media(max-width:1050px){.hero{gap:32px}.brand-profile{width:38px;height:38px}}
@media(max-width:720px){.hero{padding-top:40px;padding-bottom:62px;gap:38px}.hero-visual{transform:none;border-radius:18px}.hero-visual>.brand-hero{height:auto;aspect-ratio:3/1}.visual-top,.visual-bottom{padding:14px 16px}.hero-visual>.image-caption{transform:none}.brand-profile{width:36px;height:36px}.brand strong{font-size:18px}.topbar{padding-top:12px}.feature{border-radius:15px}.bottom-callout{margin-left:20px;margin-right:20px}.footer .brand-profile{width:30px;height:30px}}

/* Stable image-only community previews. */
.post-grid{align-items:stretch}.post-card{display:flex;flex-direction:column}
.post-card h3{height:57px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.post-card .description{height:49px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.embed-area{position:relative;display:block;min-height:0;aspect-ratio:1/1;flex:none;width:100%;overflow:hidden}
.embed-fallback{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;text-align:center}
.embed-mount,.preview-link{position:absolute;inset:0;display:block}
.preview-link img{width:100%;height:100%;object-fit:cover;object-position:50% 50%;background:#edf5f2}
.post-card .expiry{margin-top:auto;padding-top:12px}.post-card .post-controls{margin-bottom:16px}
/* Fine layout safeguards: labels keep their words and controls keep usable widths. */
.toolbar{display:grid;grid-template-columns:minmax(320px,1fr) minmax(230px,260px) max-content max-content;gap:12px}
.toolbar .tabs{min-width:0;gap:20px;margin:0;align-items:center}
.toolbar .search{min-width:0;gap:12px;white-space:nowrap}
.search>span{flex:none;white-space:nowrap;line-height:1.4}
.toolbar .search input{flex:1;width:0;max-width:none;min-height:44px}
.toolbar select{max-width:none;min-height:44px;white-space:nowrap}
.topbar nav a,.top-link,.compare-controls button,.post-controls a,.delete-button{white-space:nowrap}
.post-controls{flex-wrap:wrap;row-gap:8px}
.copy-actions .button{flex:1 1 90px}
.dialog-head .icon-button{flex:none;min-width:36px;min-height:36px}
.check input{flex:none}
.value-row>span{min-width:0}.value-row code{min-width:0;max-width:60%}
@media(max-width:1150px){.toolbar{grid-template-columns:minmax(220px,1fr) max-content max-content}.toolbar .tabs{grid-column:1/-1}}
@media(min-width:721px) and (max-width:900px){.topbar>.top-link{display:none}}
@media(max-width:720px){.toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.toolbar .tabs{gap:18px}.toolbar .search{grid-column:1/-1;min-width:0}.toolbar .search>span{display:block}.toolbar select{width:100%;max-width:none;padding:10px 12px;font-size:14px}.tabs button{font-size:14px}.compare-controls{flex-wrap:wrap}.tool-grid .copy-actions .button{flex-basis:100px}.community-heading h1{font-size:clamp(30px,8.5vw,38px)}.community-actions .button{padding-inline:18px}.dialog-head h2{font-size:22px}}
@media(max-width:360px){.topbar{padding-inline:16px}.topbar nav{gap:8px}.topbar nav a{font-size:12px}.topbar>.top-link{font-size:10px}.topbar>.top-link span{margin-left:3px}.toolbar .tabs{gap:13px}.toolbar .tabs button{font-size:13px}.tabs span{margin-left:3px}}
/* Korean words wrap as units; long codes still have an overflow fallback. */
p,h1,h2,h3,summary,label,.community-rules span,.guide-sidebar a{word-break:keep-all;overflow-wrap:anywhere}
@media(max-width:480px){.tool-grid .copy-actions{display:grid;grid-template-columns:1fr}.tool-grid .copy-actions .button{width:100%}}
/* Shared native scroll UI for the page, dialogs and code fields. */
:root{--scroll-track:#e5efeb;--scroll-thumb:#82aaa0;--scroll-hover:#387d70;--scroll-active:#126b5d;scrollbar-gutter:stable}
html:has(body[data-page="home"]){--scroll-track:#0d2019;--scroll-thumb:#476e5d;--scroll-hover:#83b89d;--scroll-active:#b2efcc}
dialog,textarea,.guide-sidebar{--scroll-track:#edf4f0;--scroll-thumb:#9cbeb2;--scroll-hover:#4d8c78;--scroll-active:#1b7461}
*{scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) var(--scroll-track)}
@supports selector(::-webkit-scrollbar){
 *{scrollbar-width:auto;scrollbar-color:auto}
 ::-webkit-scrollbar{width:10px;height:10px}
 ::-webkit-scrollbar-track{background:var(--scroll-track)}
 ::-webkit-scrollbar-thumb{background:var(--scroll-thumb);border:3px solid var(--scroll-track);border-radius:999px;min-height:44px}
 ::-webkit-scrollbar-thumb:hover{background:var(--scroll-hover)}
 ::-webkit-scrollbar-thumb:active{background:var(--scroll-active)}
 ::-webkit-scrollbar-corner{background:var(--scroll-track)}
 dialog::-webkit-scrollbar,textarea::-webkit-scrollbar{width:8px;height:8px}
 dialog::-webkit-scrollbar-thumb,textarea::-webkit-scrollbar-thumb{border-width:2px}
}
dialog{overscroll-behavior:contain;scroll-padding-block:20px}
textarea{overscroll-behavior:contain}
::selection{background:#9edbc4;color:#153e30}
@media(forced-colors:active){*{scrollbar-color:auto;scrollbar-width:auto}}

/* Source-based purchase and dependency guidance */
.guide-checks{padding-left:22px;line-height:1.9}.guide-checks li+li{margin-top:10px}
.terms-grid,.tool-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}
.terms-grid section,.tool-resource-grid section{padding:24px;background:#f5faf7;border:1px solid #c4dbd3;border-radius:12px;min-width:0}
.terms-grid h4,.tool-resource-grid h3{margin:0 0 12px;color:#173f40}.terms-grid p,.tool-resource-grid p{margin:0;font-size:14px;line-height:1.9}.tool-resource-grid a{display:inline-block;margin-top:16px;color:#008d8e;text-underline-offset:4px}.resource-status{display:inline-block;color:#008d8e;font-size:11px;letter-spacing:.1em;margin-bottom:12px}
.guide-link-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.guide-link-actions a{padding:12px 16px;border:1px solid #9fcac1;border-radius:8px;color:#087f80;font-weight:600;font-size:14px;background:#f5faf7}.guide-link-actions a:hover{background:#dcf1e7}.guide-block h3{margin-top:28px}.guide-sidebar{max-height:calc(100svh - 130px);overflow-y:auto}
@media(max-width:720px){.terms-grid,.tool-resource-grid{grid-template-columns:1fr}.terms-grid section,.tool-resource-grid section{padding:20px}.guide-sidebar{max-height:none;overflow:visible}.guide-link-actions a{width:100%;text-align:center}}

/* Align step numbers with titles rather than the article heading margin. */
.guide-block .workflow>div{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:start;gap:18px}
.guide-block .workflow>div>section{min-width:0}
.guide-block .workflow h3{margin:0 0 8px;line-height:36px}
.guide-block .workflow b{width:36px;height:36px;display:grid;place-items:center;line-height:1;margin:0}
.guide-block .workflow p{margin:0;line-height:1.9}
.guide-block .workflow{gap:24px}
.tool-resource-grid h3{margin-top:0}.optional-tools .resource-status{color:#5d7780}
.parameter-help{margin-top:32px;padding-top:28px;border-top:1px solid #c4dbd3;scroll-margin-top:110px}
@media(max-width:720px){.guide-block .workflow>div{gap:12px;grid-template-columns:32px minmax(0,1fr)}.guide-block .workflow b{width:32px;height:32px}.guide-block .workflow h3{line-height:32px}}

.guide-sidebar a[href^="#guide-"]{position:relative;padding:7px 10px;border-radius:5px;transition:background .2s,color .2s;line-height:1.6}
.guide-sidebar a[href^="#guide-"].is-current{color:#087f80;background:#dceee5;font-weight:700;box-shadow:inset 3px 0 #0a9392}
.guide-sidebar a[href^="#guide-"]:hover{color:#087f80;background:#e5f1eb}
@media(prefers-reduced-motion:reduce){.guide-sidebar a[href^="#guide-"]{transition:none}}

.post-card .description.is-expanded{height:auto;display:block;-webkit-line-clamp:unset;overflow:visible;white-space:pre-wrap}
.description-toggle{display:flex;align-items:center;gap:8px;align-self:flex-start;border:0;background:none;color:#087f80;padding:4px 0;margin:0 0 16px;font-size:12px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.description-toggle:hover{color:#154d40}.description-toggle span{text-decoration:none;font-size:15px}
#post-description-dialog{width:min(560px,calc(100% - 32px));max-height:80svh;padding:28px;border:1px solid #bed9ce;border-radius:16px;background:#f5faf7;color:#173e40;box-shadow:0 24px 90px #09251d40}
.description-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.description-dialog-header h2{font-size:21px;line-height:1.5;overflow-wrap:anywhere}
.description-dialog-close{flex:none;width:36px;height:36px;border:1px solid #bed9ce;border-radius:50%;background:#e5f1eb;color:#173e40;font-size:25px;line-height:1;cursor:pointer}
.description-dialog-body{white-space:pre-wrap;line-height:1.9;font-size:15px;overflow-wrap:anywhere}
#post-description-dialog::backdrop{background:#09251d75;backdrop-filter:blur(4px)}
/* Compact previews; the full explanation and copy options live in details. */
.post-card{cursor:pointer}.post-card:focus-visible{outline:2px solid #0a9392;outline-offset:4px}
.post-card>.post-code,.post-card>.expiry,.post-card>.post-controls .delete-button,.post-card>.post-controls>a{display:none}
.post-card .description{height:25px;-webkit-line-clamp:1;margin-bottom:18px}
.post-card>.post-controls::after{content:'상세 보기 ↗';font-size:12px;color:#087f80;margin-left:auto}
.post-card:hover{border-color:#80b9a8}.post-detail-actions{margin-top:24px}
#post-description-dialog .post-code{margin-top:24px}#post-description-dialog .post-code textarea{width:100%;min-height:120px}

.post-detail-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.post-detail-actions>button{border:0;background:none;color:#577d7c;font-size:12px;cursor:pointer;padding:8px}.post-detail-actions>button:hover{color:#087f80}
#deletion-request-dialog{width:min(560px,calc(100% - 32px));max-height:85svh;overflow:auto}#deletion-request-dialog form{margin-top:20px}#deletion-request-dialog textarea{min-height:110px}
.dialog-status{position:sticky;bottom:0;z-index:2;margin-top:20px;padding:12px 16px;border:1px solid #9fcbb8;border-radius:8px;background:#e0f2e8;color:#154d40;font-size:13px;line-height:1.7;box-shadow:0 4px 16px #123e4010;overflow-wrap:anywhere}
/* Distinguish close, deletion and report actions. */
.post-detail-actions :is([data-delete],[data-report-original],[data-request-deletion]){color:#a33d4d;border-radius:6px;background:#fff0f1;padding:8px 10px;text-decoration:none}
.post-detail-actions :is([data-delete],[data-report-original],[data-request-deletion]):hover{color:#7f2435;background:#fbe1e5}
#deletion-request-dialog [type="submit"]{background:#a84558;color:#fff}#deletion-request-dialog [type="submit"]:hover{background:#8f3547}
#deletion-request-dialog h2,#delete-dialog h2{color:#96394b}
dialog :is(.description-dialog-close,[data-close]){color:#a33d4d;background:#fff0f1;border:1px solid #dfb4bb;border-radius:50%;transition:background .2s,color .2s}
dialog :is(.description-dialog-close,[data-close]):hover{color:#7f2435;background:#fbe1e5}
.code-content-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.code-content-heading select{max-width:150px;font-size:13px;padding:8px 12px;border:1px solid #bed9ce;border-radius:7px;background:#f5faf7;color:#173e40}.code-content-heading h2{margin:0}.value-row>span{padding-right:16px}
/* Keep code entry compact while the decoded result grows independently. */
#tool .tool-grid{align-items:start}#tool .tool-grid>.panel{min-width:0;align-self:start}
