.auth-page{background:#faf8f5}.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh}.auth-story{padding:52px 12%;background:#ede3d5;color:#614c39;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-story:after{content:'';width:420px;height:420px;border:1px solid #d9cbb7;border-radius:50%;position:absolute;right:-200px;bottom:50px;pointer-events:none}.auth-brand{font-family:AdminGmarket,sans-serif;font-size:29px;color:#654b35;display:block}.auth-brand span{display:block;letter-spacing:2px;font:10px sans-serif;margin-top:5px;color:#99846c}.auth-story h1{font-size:clamp(28px,3.2vw,45px);line-height:1.65;margin:17px 0}.auth-story p{font-size:14px;line-height:2;color:#a18d76}.auth-story small{color:#a18d76;font-size:11px}.auth-main{display:flex;align-items:center;justify-content:center;padding:50px 30px;background:#fff}.auth-card{width:100%;max-width:370px}.auth-card h2,.auth-card h1{font-size:27px;margin:9px 0 12px}.auth-card>p{font-size:12px;color:var(--muted);line-height:1.9;margin-bottom:27px}.auth-form{display:grid;gap:20px}.auth-form input{height:48px;font-size:14px}.auth-submit{width:100%;min-height:48px;font-size:14px;margin-top:7px}.auth-card .auth-help{font-size:11px;margin-top:25px}.auth-back{font-size:12px;color:#9a8c7e}.password-page{display:grid;min-height:100dvh;place-items:center;padding:30px}.password-card{max-width:450px;background:#fff;padding:32px;border:1px solid var(--line);border-radius:16px}.password-card .auth-brand{font-size:21px;margin-bottom:25px}.runtime-error{padding:35px;text-align:center;background:#fff;border:1px solid #efd8d1;border-radius:12px}.runtime-error p{font-size:13px;color:var(--muted);margin:10px 0 20px}.runtime-table{min-width:650px}.runtime-table td.wrap-cell{white-space:normal;max-width:280px;overflow-wrap:anywhere}.runtime-toolbar{display:flex;align-items:end;justify-content:space-between;gap:15px;padding:18px 22px;border-bottom:1px solid var(--line);flex-wrap:wrap}.runtime-toolbar .search-box{max-width:350px}.runtime-table .btn{padding:5px 9px;min-height:30px;font-size:11px}.runtime-form{display:grid;gap:19px}.runtime-form .form-grid{gap:17px}.runtime-form .field select[multiple]{height:150px}.field input[type=checkbox]{width:17px;min-height:17px;accent-color:var(--brown)}.check-line{display:flex;align-items:center;gap:9px;font-size:12px;color:#65717d}.action-row{display:flex;gap:8px;flex-wrap:wrap}.history-list{margin:20px 0 0;padding:15px 0 0;border-top:1px solid var(--line);list-style:none;font-size:11px;color:#8994a0;display:grid;gap:12px}.history-list strong{color:#6e7986}.status-actions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.form-hint{font-size:11px;color:#938575;line-height:1.8;padding:13px;background:#faf7f1;border-radius:8px}.runtime-code-groups{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.runtime-code-groups button[aria-pressed=true]{background:var(--sand);color:var(--brown);border-color:#ddcdbb}.permission-label{font-size:12px}.tiny-help{font-size:10px;color:#939eab}.success-note{padding:15px;background:#edf5f0;color:#59866c;border-radius:8px}.public-branch-picker{position:fixed;inset:0;background:#26333f77;z-index:150;display:grid;place-items:center;padding:24px}.public-branch-picker>div{background:#fff;border-radius:14px;width:min(440px,100%);padding:26px;max-height:80dvh;overflow:auto}.public-branch-picker button,.public-branch-picker a{display:block;margin:9px 0;padding:11px;width:100%;border:1px solid #e7dfd5;background:#faf8f4;border-radius:7px;text-align:left}.korea-map-wrap{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:start}.korea-map{width:100%;max-height:570px;background:#f6f8fa;border-radius:16px}.korea-map path{fill:#e4ddd1;stroke:#fff;stroke-width:.7}.korea-map circle{fill:#78563e;stroke:#fff;stroke-width:2}.korea-map text{fill:#60422e;font:12px 'Malgun Gothic',sans-serif}.korea-map a:focus-visible circle{stroke:#d8aa54;stroke-width:4}.branch-public-card{padding:18px;border:1px solid #e5e3dc;border-radius:10px;margin-bottom:12px}.branch-public-card p{font-size:12px;line-height:1.8;margin-top:8px;color:#8c8275}@media(max-width:760px){.auth-layout{grid-template-columns:1fr}.auth-story{padding:25px 26px;min-height:230px}.auth-story h1{font-size:25px;margin:12px 0}.auth-story>small,.auth-story p{display:none}.auth-brand{font-size:23px}.auth-story .eyebrow{display:none}.auth-main{padding:35px 25px;align-items:flex-start}.auth-card h2{font-size:24px}.runtime-toolbar{padding:17px}.korea-map-wrap{grid-template-columns:1fr}.runtime-form .form-grid{grid-template-columns:1fr}.runtime-form .span-two{grid-column:auto}.password-card{padding:24px}.auth-story:after{height:280px;width:280px;right:-70px;bottom:-90px}}
.code-workspace{display:grid;grid-template-columns:290px minmax(0,1fr);gap:22px;align-items:start}.code-sidebar{position:sticky;top:25px;overflow:hidden}.code-sidebar-heading{padding:20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.code-sidebar-heading h2{font-size:15px}.code-sidebar-heading>span{font-size:10px;color:var(--muted)}.code-sidebar nav{padding:12px 8px 18px;max-height:75dvh;overflow:auto}.code-tree-list{list-style:none;margin:0;padding:0}.code-tree-list .code-tree-list{margin-left:15px;border-left:1px solid var(--line);padding-left:4px}.code-tree-line{display:flex;align-items:center;gap:2px;margin:3px 0}.code-tree-toggle,.code-tree-spacer{width:23px;min-width:23px;height:26px;display:grid;place-items:center}.code-tree-toggle{border:0;background:transparent;color:var(--muted);cursor:pointer;border-radius:4px}.code-tree-toggle:hover{background:var(--sand)}.code-tree-node,.code-tree-root{display:flex;flex:1;align-items:flex-start;gap:7px;min-width:0;padding:9px 8px;border:0;border-radius:6px;background:transparent;text-align:left;font:inherit;font-size:11px;color:var(--text);cursor:pointer;overflow-wrap:anywhere}.code-tree-node>span:last-of-type{flex:1}.code-tree-id{font:10px ui-monospace,monospace;color:var(--muted);padding-top:2px}.code-tree-node small{font-size:9px;white-space:nowrap;color:#a39b91}.code-tree-node[aria-current=true],.code-tree-root[aria-current=true]{background:#f1e9dd;color:var(--brown);font-weight:700}.code-tree-node:hover,.code-tree-root:hover{background:#f8f4ee}.code-tree-line.is-inactive .code-tree-node{color:#a4a4a4}.code-tree-root{width:100%;margin-bottom:7px;font-size:12px;font-weight:600}.code-main{display:grid;gap:22px;min-width:0}.code-main .panel-header{padding:20px 23px;align-items:center;border-bottom:1px solid var(--line)}.code-main .panel-header h2{font-size:16px}.code-main .panel-header p{font-size:11px;margin-top:5px;color:var(--muted)}.code-level{font-size:10px;color:var(--muted);letter-spacing:.5px;display:block;margin-bottom:6px}.code-system,.code-saved{font-size:10px;color:#947657;background:#f4eee4;border-radius:4px;padding:4px 7px;white-space:nowrap}.code-saved{color:#949b9c;background:#f3f5f5}.code-form-body{padding:23px}.code-metadata{display:flex;gap:22px;flex-wrap:wrap;font-size:10px;padding-top:16px;border-top:1px solid var(--line);margin:0;color:var(--muted)}.code-metadata>div{display:grid;gap:5px}.code-metadata dt{font-weight:600}.code-metadata dd{margin:0}.code-overview{padding:25px}.code-overview h2{font-size:21px}.code-overview>p{font-size:12px;color:var(--muted);line-height:1.8;margin:10px 0}.code-counts{display:flex;gap:35px;margin-top:22px;font-size:11px;color:var(--muted)}.code-counts strong{display:block;font-size:24px;font-weight:500;color:var(--brown);margin-bottom:5px}.code-edit-table{min-width:1050px}.code-edit-table td{padding:12px 10px}.code-edit-table input,.code-edit-table select{width:100%;min-width:85px;font-size:11px;min-height:35px;border:1px solid var(--line);border-radius:5px;padding:7px;background:#fff;color:var(--text)}.code-edit-table input[name=cdNm],.code-edit-table input[name=cdEngNm]{min-width:125px}.code-edit-table input[name=refCn]{min-width:170px}.code-edit-table input[name=orderSeq]{width:70px;min-width:70px}.code-edit-table input[readonly]{background:#f8f7f4;color:#918a81}.code-batch-notes{padding:15px 22px;color:var(--muted);font-size:10px;line-height:1.8}.code-inline-error{margin:0 22px 18px}.code-leaf-note{padding:22px;font-size:12px;color:var(--muted)}.code-workspace button:focus-visible{outline:2px solid #a47b4e;outline-offset:2px}.code-main .form-actions{padding:17px 23px;border-top:1px solid var(--line)}@media(max-width:1100px){.code-workspace{grid-template-columns:235px minmax(0,1fr);gap:16px}}@media(max-width:760px){.code-workspace{grid-template-columns:1fr}.code-sidebar{position:static}.code-sidebar nav{max-height:300px}.code-form-body{padding:18px}.code-main .panel-header{padding:17px}.code-main .form-grid{grid-template-columns:1fr}.code-main .span-two{grid-column:auto}.code-metadata{gap:14px}.code-counts{gap:28px}}

/* Keep all menu entries reachable within the fixed desktop sidebar and mobile drawer. */
.sidebar{height:100dvh;min-height:0;overflow:hidden}
.sidebar>.brand{flex-shrink:0;margin-bottom:22px}
.sidebar>nav{flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#b6a28c transparent;padding-bottom:12px}
.sidebar>nav::-webkit-scrollbar{width:7px}
.sidebar>nav::-webkit-scrollbar-thumb{background:#b6a28c;border-radius:6px}
.sidebar>.sidebar-bottom{flex-shrink:0;margin-top:12px;padding-top:12px}
