html[data-site-theme=dark]{color-scheme:dark;--site-bg:#0b111c;--site-surface:#151d29;--site-line:#2a3748;--site-text:#edf3fc;--site-muted:#9cacc2;--site-blue:#64afff;--bs-body-bg:var(--site-bg);--bs-body-color:var(--site-text);--bs-secondary-color:var(--site-muted);--bs-border-color:var(--site-line);scroll-padding-top:90px}
html[data-site-theme=light]{color-scheme:light;--site-bg:#f3f6fa;--site-surface:#fff;--site-line:#dbe3ed;--site-text:#192b44;--site-muted:#586b83;--site-blue:#146cca;--bs-body-bg:var(--site-bg);--bs-body-color:var(--site-text);--bs-secondary-color:var(--site-muted);--bs-border-color:var(--site-line);scroll-padding-top:90px}
html[data-site-theme] body{background:var(--site-bg);color:var(--site-text)}
html[data-site-theme] .navbar-light{background:var(--site-surface)!important;border-bottom:1px solid var(--site-line)}
html[data-site-theme] .navbar-light .navbar-nav .nav-link{color:var(--site-text)!important}
html[data-site-theme] .navbar-light .navbar-nav .nav-link:hover,html[data-site-theme] .navbar-light .navbar-nav .nav-link:focus{color:var(--site-blue)!important}
html[data-site-theme] .navbar .dropdown-menu .dropdown-item{color:var(--site-text)!important}
html[data-site-theme] .navbar .dropdown-menu .dropdown-item:hover,html[data-site-theme] .navbar .dropdown-menu .dropdown-item:focus{background:var(--site-bg);color:var(--site-blue)!important}
html[data-site-theme] .navbar-toggler{border-color:var(--site-line)}
html[data-site-theme=dark] .navbar-brand img{filter:brightness(0) invert(1)}
html[data-site-theme=light] .footer-logo{filter:brightness(0)}
html[data-site-theme] footer{background:var(--site-surface)!important;color:var(--site-text)!important;border-top:1px solid var(--site-line)}
html[data-site-theme] footer .text-white-50{color:var(--site-muted)!important}
html[data-site-theme] .admin-navbar{background:var(--site-surface)!important;border-color:var(--site-blue)!important}
html[data-site-theme] .bg-white,html[data-site-theme] .bg-light,html[data-site-theme] .table-light,html[data-site-theme] .alert-light,html[data-site-theme] [style*="background: white"],html[data-site-theme] [style*="background:white"],html[data-site-theme] [style*="background-color: white"],html[data-site-theme] [style*="background-color:white"],html[data-site-theme] [style*="background:#fff"],html[data-site-theme] [style*="background: #fff"]{background-color:var(--site-surface)!important;color:var(--site-text)!important}
html[data-site-theme] .text-dark{color:var(--site-text)!important}
html[data-site-theme] .text-muted{color:var(--site-muted)!important}
html[data-site-theme] .dropdown-menu,html[data-site-theme] .modal-content,html[data-site-theme] .card,html[data-site-theme] .list-group-item{background-color:var(--site-surface);color:var(--site-text);border-color:var(--site-line)}
html[data-site-theme] input:not([type=checkbox]):not([type=radio]),html[data-site-theme] select,html[data-site-theme] textarea{background-color:var(--site-surface);color:var(--site-text);border-color:var(--site-line)}
html[data-site-theme] input::placeholder,html[data-site-theme] textarea::placeholder{color:var(--site-muted)}
html[data-site-theme] table{--bs-table-color:var(--site-text);--bs-table-bg:var(--site-bg);--bs-table-border-color:var(--site-line)}
html[data-site-theme] a:not(.btn):not(.dropdown-item){color:var(--site-blue)}
.site-tools{position:fixed;right:30px;bottom:100px;z-index:1030;display:flex;flex-direction:column;gap:8px}@media(max-width:600px){.site-tools{right:20px;bottom:84px}}/* [THEMEBTN_20261022] AI 원챗 단추(오른쪽 아래·z 10000)가 덮고 있어 그 위로 세로로 올림 */
.site-tools button{width:44px;height:44px;border:1px solid var(--site-line);border-radius:50%;background:var(--site-surface);color:var(--site-text);box-shadow:0 4px 18px #0003}
.site-toc{position:fixed;inset:auto 30px 210px auto;z-index:1031;width:min(340px,calc(100vw - 36px));max-height:calc(100vh - 300px);overflow:auto;padding:18px;border:1px solid var(--site-line);border-radius:16px;background:var(--site-surface);color:var(--site-text);box-shadow:0 12px 44px #0005}
.site-toc[hidden]{display:none}.site-toc h2{font-size:1.1rem}.site-toc nav{display:grid;gap:8px}.site-toc a{padding:8px 10px;border-radius:8px;background:color-mix(in srgb,var(--site-blue) 10%,var(--site-surface));text-decoration:none}
.site-toc-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.site-toc-head h2{margin:0}.site-toc-head button{border:1px solid var(--site-line);border-radius:8px;background:var(--site-bg);color:var(--site-text);padding:6px 10px}
html[data-site-theme=light] .site-tools button{color:#192b44}
@media print{html[data-site-theme]{color-scheme:light;--site-bg:#fff;--site-surface:#fff;--site-text:#111;--site-muted:#555}html[data-site-theme] body{background:#fff!important;color:#111!important}.site-tools,.site-toc{display:none!important}}

/* [ADMINLIGHT_20261022] 목차 창은 테마·목차 단추(아래 100~196px) 위에서 열린다 */
@media(max-width:600px){.site-toc{inset:auto 16px 194px auto}}
/* [ADMINLIGHT_20261022] 특허 플랫폼 화면의 연두·노랑 꼬리표는 어두운 바탕용 밝은 색이라 라이트에서 진하게 */
html[data-site-theme=light] :is(.tg.nw,.tg.ok){color:#157347}html[data-site-theme=light] .tg.warn{color:#9a6700}html[data-site-theme=light] .pm-test{color:#8a5a00}
