@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;700&display=swap');
:root{--navy:#0d1424;--blue:#5168eb;--ink:#233149;--muted:#7d8a9f;--line:#e3e8f1;--font:Inter,'Noto Sans KR',sans-serif}*{box-sizing:border-box}body{margin:0;font-family:var(--font);color:var(--ink);background:#f4f6fb;font-size:16px;line-height:1.7;word-break:keep-all}h1,h2,h3,p{margin:0}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #9faeff;outline-offset:3px}input,textarea,select{width:100%;background:white;border:1px solid #d7dfed;border-radius:5px;color:#30425f;padding:11px 13px;font-size:15px;line-height:1.7;margin-top:8px}textarea{resize:vertical}label{display:block;color:#556681;font-size:14px;font-weight:500;margin-bottom:20px}input::placeholder,textarea::placeholder{color:#a8b2c3}button{border:0}small{font-size:12px}[hidden]{display:none!important}.admin-brand{display:flex;gap:11px;align-items:center;color:white;line-height:1}.admin-brand img{object-fit:contain;filter:brightness(0) invert(1);background:transparent}.admin-brand>span{font-size:17px;letter-spacing:2px;font-weight:700}.admin-brand small{display:block;font-size:9px;letter-spacing:3px;font-weight:400;margin-top:8px}.admin-eyebrow{font-size:11px;letter-spacing:.13em;color:#8293b4;font-weight:500}.admin-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 20px;min-height:45px;font-size:14px;border-radius:5px;font-weight:500;white-space:nowrap}.admin-button.primary{background:var(--blue);color:white}.admin-button.primary:hover{background:#4058d8}.admin-button.secondary{background:#edf1f8;color:#687997}.login-layout{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.login-brand{background:var(--navy);color:#fff;padding:55px 65px;display:flex;flex-direction:column;justify-content:space-between;gap:50px}.login-brand h1{font-size:clamp(2rem,3.1vw,3.25rem);font-weight:600;line-height:1.5;letter-spacing:-.045em;margin-top:22px}.login-brand h1+p{color:#8797b5;font-size:16px;line-height:1.9;margin-top:25px}.login-brand-bottom{font-size:11px;letter-spacing:.2em;color:#687b9e}.login-panel{display:grid;place-items:center;padding:45px}.login-panel form{width:min(100%,370px)}.login-overline{font-size:13px;color:#7f90b6}.login-panel h2{font-size:32px;letter-spacing:-.04em;margin-top:12px}.login-panel h2+p{color:#8c98ac;font-size:15px;margin-top:10px;margin-bottom:36px}.login-panel .admin-button{width:100%;margin-top:10px}.return-site{font-size:13px;display:block;text-align:center;color:#8a97ae;margin-top:29px}.return-site:hover{color:var(--blue)}#login-error{color:#b34d5a;font-size:14px;margin-top:15px}.admin-sidebar{width:234px;background:var(--navy);color:white;position:fixed;inset:0 auto 0 0;padding:35px 22px;display:flex;flex-direction:column;z-index:10}.admin-sidebar .admin-brand{margin-left:3px}.admin-sidebar>.admin-eyebrow{margin:49px 14px 18px;font-size:10px}.admin-sidebar nav{display:flex;flex-direction:column;gap:7px}.admin-sidebar nav button{padding:13px 16px;text-align:left;color:#9eabc4;background:transparent;border-radius:5px;font-size:15px;display:flex;gap:13px;align-items:center}.admin-sidebar nav button>span{width:20px;font-size:20px;line-height:1}.admin-sidebar nav button[aria-current=page]{background:#263353;color:#cbd6ff}.admin-sidebar nav button:hover{background:#1c2841;color:white}.admin-sidebar-bottom{margin-top:auto;display:flex;flex-direction:column;color:#93a1ba;padding:22px 14px 0;font-size:13px}.admin-sidebar-bottom small{font-size:9px;letter-spacing:.14em;margin-top:5px;color:#5f7195}.admin-workspace{margin-left:234px}.admin-topbar{height:73px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;font-size:14px;color:#7688a2}.admin-topbar>div{display:flex;align-items:center;gap:24px}.admin-topbar button{background:none;color:#94a1b7;font-size:13px}.admin-topbar a{font-size:13px;color:#607ca9}.admin-main{max-width:1300px;margin:0 auto;padding:45px 42px 90px}.admin-page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.admin-page-heading h1{font-size:30px;font-weight:600;letter-spacing:-.05em;margin-top:9px}.admin-page-heading h1+p{font-size:14px;color:#91a0b6;margin-top:12px}.admin-page-heading .admin-eyebrow{color:#718bc4}.admin-status{font-size:12px;color:#7489af;min-height:24px;margin-top:26px;margin-bottom:16px}.admin-status.error{color:#b95160}.list-summary{display:flex;justify-content:space-between;margin:16px 0;font-size:12px;color:#8d9cb3;gap:16px}.admin-list{border:1px solid var(--line);background:white;border-radius:8px;overflow:hidden}.admin-row{display:flex;align-items:center;gap:22px;padding:24px;border-bottom:1px solid var(--line)}.admin-row:last-child{border-bottom:0}.row-thumb{width:100px;height:74px;border-radius:5px;background:#eef2f9;display:grid;place-items:center;flex-shrink:0;overflow:hidden;color:#8097c5;font-size:24px;letter-spacing:-.04em}.row-thumb img{width:100%;height:100%;object-fit:cover}.logo-thumb{background:#f7f9fd}.logo-thumb img{object-fit:contain;padding:10px}.row-copy{flex:1;min-width:0}.row-copy h2{font-size:17px;font-weight:600;letter-spacing:-.03em}.row-copy p{font-size:13px;color:#94a2b8;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:460px}.row-badges{display:flex;gap:7px;margin-top:10px}.row-badges span{font-size:10px;border-radius:3px;padding:2px 6px;background:#f0f3f9;color:#8798b3}.row-badges .published{background:#edf1ff;color:#6d85c6}.row-actions{display:flex;gap:7px;align-items:center}.row-actions button{font-size:12px;background:#f2f5fa;color:#7185a7;padding:7px 11px;border-radius:4px}.row-actions button:disabled{opacity:.25;cursor:default}.row-actions .danger-text{background:none;color:#b48086}.admin-empty{text-align:center;padding:60px 25px;background:#fff;border:1px dashed #d4dfef;border-radius:8px}.admin-empty h2{font-size:20px;font-weight:500}.admin-empty p{font-size:14px;color:#98a6bb;margin-top:11px}.admin-empty .admin-button{margin-top:25px}dialog{border:0;padding:0;width:min(730px,calc(100% - 32px));max-height:90dvh;border-radius:10px;box-shadow:0 25px 100px #0004;color:var(--ink)}dialog::backdrop{background:#0a15275c;backdrop-filter:blur(4px)}.editor-header{display:flex;justify-content:space-between;align-items:center;padding:23px 29px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:2}.editor-header h2{font-size:20px;font-weight:600;letter-spacing:-.04em}.editor-header button{background:none;font-size:27px;line-height:1;color:#9aa8be;width:30px;height:30px}.editor-fields{padding:28px 29px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.field-hint{color:#99a6ba;font-size:12px;font-weight:400;margin-top:-11px;margin-bottom:18px}.image-field{background:#f5f7fc;border:1px dashed #cdd8ea;border-radius:7px;padding:20px;margin-bottom:24px}.image-field input[type=file]{font-size:12px;background:#fff;padding:10px}.image-field .field-hint{margin-top:-9px;margin-bottom:12px;line-height:1.9}.image-preview{height:130px;display:grid;place-items:center;border:1px solid #e4e9f3;background:white;border-radius:4px;overflow:hidden}.image-preview img{max-width:100%;max-height:130px;object-fit:contain}.image-preview>span{font-size:13px;color:#a3afc3}.upload-status{font-size:12px;color:#6984b4;margin-bottom:10px}.text-button{background:none;color:#7d8eab;font-size:12px;padding:8px 0 0}.check-row{display:flex;flex-wrap:wrap;gap:10px 24px}.check-label{display:flex;gap:9px;align-items:center;font-size:13px;margin:13px 0}.check-label input{width:16px;height:16px;margin:0;accent-color:var(--blue)}.feature-editor{margin-top:28px}.feature-editor h3{font-size:16px;margin-bottom:15px;font-weight:500}.feature-input{background:#f8f9fd;padding:20px;border:1px solid #e8edf5;border-radius:5px;margin-bottom:18px}.feature-input label:last-child{margin-bottom:0}.editor-footer{position:sticky;bottom:0;background:white;border-top:1px solid var(--line);padding:19px 29px;z-index:2}.editor-footer>div{display:flex;justify-content:flex-end;gap:10px}.editor-footer>p{font-size:13px;color:#a05e6a;margin-bottom:8px;line-height:1.7}.editor-footer>p:empty{display:none}.admin-card{padding:29px;background:white;border:1px solid var(--line);border-radius:8px;margin-bottom:25px}.admin-card h2{font-size:19px;font-weight:600;letter-spacing:-.03em}.admin-card>p{font-size:13px;color:#97a5bb;margin-top:7px;margin-bottom:27px}.admin-card>h2:not(:has(+p)){margin-bottom:24px}.admin-card>label:last-child{margin-bottom:0}.company-save{display:flex;align-items:center;justify-content:space-between;gap:20px}.company-save p{font-size:13px;color:#8b9ab2}
@media(max-width:1050px){.admin-sidebar{width:205px;padding:30px 16px}.admin-brand>span{font-size:15px}.admin-brand small{font-size:8px}.admin-workspace{margin-left:205px}.admin-main{padding:35px 25px 70px}.admin-topbar{padding:0 25px}.admin-row{gap:16px;padding:21px}.row-actions{flex-wrap:wrap;max-width:132px}.row-thumb{width:76px;height:65px}.row-copy p{max-width:250px}}
@media(max-width:700px){.login-layout{grid-template-columns:1fr}.login-brand{padding:28px 27px;gap:32px;min-height:265px}.login-brand h1{font-size:27px;margin-top:12px}.login-brand h1+p,.login-brand-bottom{display:none}.login-brand .admin-eyebrow{font-size:10px}.login-panel{padding:40px 27px 55px}.login-panel h2{font-size:27px}.login-panel h2+p{margin-bottom:26px}.admin-sidebar{position:static;width:100%;padding:20px 18px 13px}.admin-sidebar .admin-brand{margin-bottom:23px}.admin-sidebar>.admin-eyebrow,.admin-sidebar-bottom{display:none}.admin-sidebar nav{flex-direction:row;gap:4px;justify-content:space-between}.admin-sidebar nav button{font-size:12px;padding:10px 12px;white-space:nowrap;gap:0}.admin-sidebar nav button>span{display:none}.admin-workspace{margin-left:0}.admin-topbar{height:57px;padding:0 21px;font-size:12px}.admin-topbar>div{gap:16px}.admin-main{padding:30px 20px 60px}.admin-page-heading{align-items:flex-start;gap:14px}.admin-page-heading h1{font-size:25px}.admin-page-heading h1+p{font-size:13px;line-height:1.9}.admin-page-heading>.admin-button{font-size:12px;padding:9px 13px;min-height:40px;margin-top:7px}.admin-status{font-size:12px;margin-top:19px}.admin-row{flex-wrap:wrap;padding:19px;gap:14px}.row-thumb{width:65px;height:61px;font-size:18px}.row-copy h2{font-size:16px}.row-copy p{max-width:200px;font-size:12px}.row-actions{margin-left:auto;max-width:none;width:100%;justify-content:flex-end;border-top:1px solid #f0f3f8;padding-top:13px}.row-actions button{padding:7px 13px;font-size:12px}.list-summary{font-size:11px}.list-summary>span:last-child{max-width:180px;text-align:right}.form-grid{grid-template-columns:1fr;gap:0}.editor-header{padding:20px}.editor-fields{padding:23px 20px}.editor-footer{padding:16px 20px}.admin-card{padding:22px 20px}.admin-card h2{font-size:18px}.admin-card input,.admin-card textarea,.editor-fields input,.editor-fields textarea,.editor-fields select{font-size:16px}.company-save{flex-direction:column;align-items:stretch}.company-save p{font-size:12px}.feature-input{padding:16px}.image-field{padding:16px}.check-row{gap:2px}.check-label{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

#confirm-dialog{width:min(440px,calc(100% - 32px));padding:28px}#confirm-dialog h2{font-size:20px;margin-bottom:15px}#confirm-dialog p{font-size:15px;color:#73839e;line-height:1.9;margin-bottom:25px}#confirm-dialog form>div{display:flex;justify-content:flex-end;gap:10px}

.gallery-editor{margin:30px 0;padding-top:25px;border-top:1px solid #e4e9f1}.gallery-editor h3{font-size:18px;margin-bottom:12px}.gallery-editor-item{margin-top:20px;padding-bottom:15px;border-bottom:1px solid #edf0f5}.gallery-editor-item .image-field{margin-bottom:10px}
