.guide-categories{border-bottom:1px solid #dce5ef;padding:0 0 12px;margin:0 0 12px}.guide-categories a{font-weight:700;font-size:15px}.guide-categories [aria-current=page]{background:#e6eef9;color:#1556aa}.source-caption{font-size:14px;color:#526279;margin-bottom:12px}.source-image{display:block}.editor-bar{position:fixed;bottom:0;left:0;right:0;z-index:20;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:12px 18px;background:#fff;border-top:1px solid #cbd9e9;font-size:14px}.editor-bar[hidden]{display:none}.has-editor{padding-bottom:110px}.editor-status{max-width:540px}.editor-bar button,.edit-control,.photo-dialog button{font:inherit;font-size:14px;border:1px solid #c8d9ee;color:#1556aa;background:#eef5fc;padding:8px 12px;border-radius:5px;cursor:pointer}.editor-bar [data-action=save],.photo-dialog [type=submit]{background:#1556aa;color:white;border-color:#1556aa}.editor-bar button:disabled{opacity:.5;cursor:wait}.guide-editing [contenteditable=true]{outline:1px dashed #9bbce4;outline-offset:3px;min-height:1.5em}.guide-editing [contenteditable=true]:focus{outline:2px solid #1556aa}.edit-control{display:block;margin:8px 0 14px;font-size:14px}.replaceable{cursor:pointer;outline:2px dashed #88aeda;outline-offset:2px}.photo-dialog{border:0;border-radius:10px;padding:24px;width:440px;max-width:calc(100% - 32px);color:#202f43}.photo-dialog::backdrop{background:#152b4966}.photo-dialog h2{font-size:23px;margin:0 0 20px}.photo-dialog label{display:block;font-size:16px;margin:16px 0}.photo-dialog input{display:block;margin-top:8px;width:100%;font:inherit;padding:10px;border:1px solid #cbd9e9;border-radius:5px}.photo-dialog p{font-size:14px;margin:14px 0}.photo-dialog form>div{display:flex;gap:8px;justify-content:flex-end}.added-photo{margin:18px 0}.added-photo img{display:block;width:100%;height:auto;border-radius:6px}.added-photo figcaption{font-size:15px;color:#526279;margin-top:8px}.guide-editing main{overflow:visible}@media(max-width:850px){.editor-bar{justify-content:flex-start;gap:8px;padding:10px 18px}.editor-status{width:100%}.has-editor{padding-bottom:155px}.photo-dialog{padding:20px}}@media print{.editor-bar,.edit-control{display:none!important}}
.guide-editing.has-editor{padding-bottom:175px}.format-toolbar{order:-1;width:100%;display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.format-toolbar[hidden]{display:none}.format-toolbar>strong{color:#20324a}.format-toolbar label{display:flex;align-items:center;gap:5px;color:#526279}.format-toolbar select{font:inherit;font-size:14px;color:#20324a;background:#fff;border:1px solid #c8d9ee;border-radius:5px;padding:7px 28px 7px 8px}.fmt-color-blue{color:#1556aa!important}.fmt-color-red{color:#c62828!important}.fmt-color-gray{color:#526279!important}.fmt-small{font-size:.875em!important}.fmt-large{font-size:1.2em!important}.fmt-underline{text-decoration:underline!important}.fmt-highlight-yellow{background:#fff2b2!important}.fmt-highlight-blue{background:#e6f0fb!important}.fmt-align-left{text-align:left!important}.fmt-align-center{text-align:center!important}.fmt-align-right{text-align:right!important}@media(max-width:850px){.guide-editing.has-editor{padding-bottom:205px}.format-toolbar{justify-content:flex-start;overflow-x:auto;padding-bottom:3px}.format-toolbar>strong{position:sticky;left:0;background:#fff;padding-right:4px}}@media print{.format-toolbar{display:none!important}}

/* 확장 편집기: 색상, 삭제, 새 페이지, 계층형 목차 */
.format-toolbar{row-gap:7px}.editor-bar .danger,.edit-control.danger{color:#b42318;background:#fff4f2;border-color:#efb4ad}.guide-image-deleted{display:none!important}
.fmt-color-navy{color:#17355c!important}.fmt-color-green{color:#22835b!important}.fmt-color-orange{color:#c46a16!important}.fmt-color-purple{color:#7653a6!important}.fmt-xsmall{font-size:.78em!important}.fmt-small{font-size:.9em!important}.fmt-large{font-size:1.18em!important}.fmt-xlarge{font-size:1.42em!important}.fmt-highlight-green{background:#e3f4ea!important}.fmt-highlight-pink{background:#fbe7ee!important}
.tbl-bg-blue{background:#e6f0fb!important;color:#17355c!important}.tbl-bg-green{background:#e3f4ea!important;color:#214b39!important}.tbl-bg-yellow{background:#fff2b2!important;color:#4b3c12!important}.tbl-bg-purple{background:#eee8f7!important;color:#493568!important}.tbl-bg-gray{background:#edf1f5!important;color:#344154!important}
.guide-categories .nav-group{padding:8px 0;border-bottom:1px solid #e1e8f0}.guide-categories .nav-group:first-child{padding-top:0}.nav-group-title{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;padding:8px;border:0;background:transparent;color:#17355c;font:inherit;font-size:15px;font-weight:800;text-align:left;cursor:pointer;border-radius:4px}.nav-group-title:hover,.nav-group-title:focus-visible{background:#eef5fc;color:#1556aa}.nav-group-title.is-current{background:#eef5fc;color:#1556aa}.nav-chevron{font-size:18px;line-height:1;transition:transform .18s ease}.nav-group-title[aria-expanded=true] .nav-chevron{transform:rotate(180deg)}.nav-subitems{display:grid;gap:2px;margin-top:3px}.nav-subitems[hidden]{display:none}.nav-subitems a{display:block;padding:7px 10px 7px 18px;font-size:14px;font-weight:500;color:#526279;border-radius:4px}.nav-subitems a:before{content:'–';margin-right:7px;color:#91a4ba}.nav-subitems a[aria-current=page],.nav-subitems a[aria-current=location]{background:#e6eef9;color:#1556aa;font-weight:800}
.page-dialog textarea{display:block;width:100%;margin-top:8px;padding:10px;border:1px solid #cbd9e9;border-radius:5px;font:inherit;resize:vertical}.custom-guide{padding-top:22px}.custom-page-head{padding:32px 0 20px;border-bottom:1px solid #dce5ef}.custom-page-head h1{font-size:34px;line-height:1.3;margin:6px 0}.custom-blocks{padding:24px 0 60px}.custom-text{font-size:17px;line-height:1.8;margin:0 0 22px;white-space:pre-wrap}.custom-photo{margin:24px 0}.custom-photo img{display:block;width:100%;height:auto;border-radius:6px}.custom-photo figcaption{margin-top:8px;color:#526279;font-size:15px}.empty-page,.deleted-page{padding:50px 20px;text-align:center}
@media(max-width:850px){.mobile-contents{z-index:40!important;height:calc(100dvh - 64px);max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain;padding-bottom:calc(36px + env(safe-area-inset-bottom))!important}.mobile-contents .contents-title{position:sticky;top:-20px;z-index:2;background:#fff;padding:18px 0 12px;margin-bottom:4px;align-items:flex-start}.mobile-contents .contents-title strong{font-size:18px}.mobile-contents .contents-title span{font-size:13px;text-align:right;max-width:130px}.nav-group-title{font-size:16px;padding:11px 8px}.nav-subitems a{font-size:15px;padding:10px 10px 10px 18px}.custom-page-head{padding-top:20px}.custom-page-head h1{font-size:29px}.custom-blocks{padding-top:20px}.editor-bar{max-height:58vh;overflow-y:auto}.guide-editing.has-editor{padding-bottom:235px}}
