/* 관리자(CMS) — 사이트와 같은 폰트 · 색을 사용 */
.is-admin { background: #f6f5f3; }
.ad { --bg: #f2f1ee; --card: #fff; display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; font-size: 14.5px; background: var(--bg); }
.ad-side { position: sticky; top: 0; height: 100vh; background: var(--ink); color: #fff; display: flex; flex-direction: column; padding: 22px 14px 16px; }
.ad-logo { display: flex; align-items: flex-end; gap: 10px; padding: 0 10px 22px; --logo-gray: #fff; }
.ad-logo svg { width: 104px; } .ad-logo span { font-size: 12px; opacity: .6; padding-bottom: 1px; }
.ad-side nav { display: grid; gap: 2px; }
.ad-side nav a { padding: 10px 12px; border-radius: 6px; color: #ffffffb3; transition: background .15s, color .15s; }
.ad-side nav a:hover { background: #ffffff14; color: #fff; }
.ad-side nav a.is-active { background: var(--lime); color: var(--lime-ink); font-weight: 600; }
.ad-side-foot { margin-top: auto; display: flex; justify-content: space-between; font-size: 13px; padding: 0 10px; color: #ffffff99; }
.ad-side-foot a:hover, .ad-side-foot button:hover { color: #fff; }
.ad-main { padding: 34px clamp(18px, 3vw, 44px) 80px; min-width: 0; max-width: 1280px; }
.ad-main h1 { font-weight: 600; font-size: 26px; letter-spacing: -.02em; margin-bottom: 6px; } .ad-main h1 small { font-weight: 400; font-size: 15px; color: var(--ink-3); margin-left: 6px; }
.ad-main h2 { font-weight: 600; font-size: 17px; margin: 30px 0 10px; }
.ad-sub { color: var(--ink-2); max-width: 62em; margin-bottom: 18px; }
.ad-note { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; color: var(--ink-2); font-size: 13.5px; line-height: 1.6; } .ad-note b { color: var(--ink); } .ad-note p { margin-bottom: 10px; } .ad-note code { font: 12px var(--mono); background: var(--bg); padding: 1px 5px; border-radius: 4px; }
.ad-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ad-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; display: grid; gap: 2px; transition: border-color .15s, transform .2s var(--ease); }
.ad-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.ad-card b { font: 600 38px/1.1 var(--display); letter-spacing: -.02em; } .ad-card span { font-weight: 600; } .ad-card small { color: var(--ink-3); font-size: 12.5px; }
.ad-todo { display: grid; gap: 6px; } .ad-todo li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; } .ad-todo a { text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; white-space: nowrap; }
.ad-bar { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 12px; }
.ad-bar input, .ad-bar select, .ad-form input, .ad-form textarea, .ad-drawer input, .ad-drawer textarea, .ad-bulk textarea, .ad-cat input, .ad-login input { height: 40px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; padding: 0 12px; font-size: 14.5px; }
.ad-bar input { flex: 1; min-width: 220px; }
.ad textarea { height: auto !important; padding: 10px 12px !important; line-height: 1.5; resize: vertical; width: 100%; }
.ad-table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: auto; }
.ad-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ad-table th { text-align: left; font-weight: 500; font-size: 12px; color: var(--ink-3); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ad-table td { padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ad-table tbody tr:last-child td { border-bottom: 0; } .ad-table tbody tr[data-pid] { cursor: pointer; } .ad-table tbody tr[data-pid]:hover { background: #fafaf8; }
.ad-thumb { width: 60px; } .ad-thumb img { width: 48px; height: 40px; object-fit: contain; mix-blend-mode: multiply; } .ad-thumb-photo img { object-fit: cover; mix-blend-mode: normal; border-radius: 4px; }
.ad-table .mono, .ad-drawer .mono { font: 12px var(--mono); color: var(--ink-2); white-space: nowrap; }
.ad-tag { font-style: normal; font-size: 11px; font-weight: 600; padding: 3px 7px; border-radius: 10px; background: var(--bg-2); color: var(--ink-2); } .ad-tag-on { background: #e4efc4; color: #3d5208; }
.ad-dash { color: var(--ink-3); font-style: normal; }
.ad-lang { font: 600 10px var(--font-en); font-style: normal; padding: 3px 5px; border-radius: 4px; background: var(--bg-2); color: var(--ink-3); margin-right: 3px; } .ad-lang.is-on { background: var(--ink); color: #fff; }
.ad-edit { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: var(--ink-2); } .ad-edit:hover { color: var(--ink); }
.ad-empty { text-align: center; color: var(--ink-3); padding: 36px !important; }
.ad-toggle { width: 40px; height: 24px; border-radius: 12px; background: #c9c6c0; position: relative; transition: background .2s; flex: none; vertical-align: middle; }
.ad-toggle i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.ad-toggle.is-on { background: #6f8f1e; } .ad-toggle.is-on i { transform: translateX(16px); }
.ad-pages { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.ad-pages button { height: 34px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; } .ad-pages button[disabled] { opacity: .4; }
.ad-scrim { position: fixed; inset: 0; background: rgba(30, 30, 28, .35); z-index: 10; animation: fade .2s; }
.ad-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); background: #fff; z-index: 11; display: grid; grid-template-rows: auto 1fr auto; box-shadow: -12px 0 60px rgba(0, 0, 0, .18); animation: slide .3s var(--ease); }
.ad-drawer header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 22px 16px; border-bottom: 1px solid var(--line); } .ad-drawer h2 { font-weight: 600; font-size: 20px; margin: 2px 0 0; }
.ad-x { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; } .ad-x:hover { background: var(--bg); }
.ad-drawer-body { overflow: auto; padding: 18px 22px 28px; display: grid; gap: 12px; align-content: start; }
.ad-drawer h3 { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--ink-3); margin-top: 10px; }
.ad-drawer label, .ad-form label, .ad-bulk label, .ad-login label { display: grid; gap: 5px; font-size: 12.5px; color: var(--ink-2); } .ad-drawer input, .ad-form input { width: 100%; }
.ad-drawer footer { display: flex; justify-content: space-between; gap: 8px; padding: 14px 22px; border-top: 1px solid var(--line); } .ad-drawer footer .btn { border-radius: 6px; text-transform: none; letter-spacing: 0; }
.ad-preview { display: grid; grid-template-columns: 150px 1fr; gap: 16px; background: var(--bg); border-radius: 8px; padding: 12px; } .ad-preview img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; mix-blend-mode: multiply; }
.ad-preview dl > div { display: grid; grid-template-columns: 64px 1fr; gap: 8px; font-size: 12.5px; padding: 3px 0; } .ad-preview dt { color: var(--ink-3); } .ad-preview dd { overflow-wrap: anywhere; }
.ad-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); } .ad-tabs button { padding: 9px 14px; font-weight: 500; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; } .ad-tabs button.is-active { color: var(--ink); border-color: var(--ink); } .ad-tabs i { font-style: normal; font-size: 10.5px; color: #b0492f; margin-left: 4px; }
.ad-rows { display: grid; gap: 2px; margin-top: 6px; } .ad-rows > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; background: var(--bg); border-radius: 8px; } .ad-rows span { font-weight: 500; } .ad-rows small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12px; }
.ad-cat { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.ad-cat header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; flex-wrap: wrap; } .ad-cat header b { font-size: 16px; } .ad-cat header > span { color: var(--ink-3); font-size: 13px; }
.ad-cat-names { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; } .ad-cat-names label { display: flex; align-items: center; gap: 6px; font: 600 10px var(--font-en); color: var(--ink-3); } .ad-cat-names input { width: 150px; height: 34px; font-size: 13.5px; }
.ad-cat ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); } .ad-cat li { display: flex; align-items: center; gap: 10px; background: #fff; padding: 10px 14px; font-size: 13.5px; } .ad-cat li small { margin-left: auto; color: var(--ink-3); }
.ad-bulk { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; } .ad-bulk textarea { font: 12.5px/1.6 var(--mono); }
.ad-btns { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; } .ad-btns .btn, .ad-form .btn, .ad-login .btn { border-radius: 6px; text-transform: none; letter-spacing: 0; cursor: pointer; }
.ad-danger { color: #a13a22; border-color: #a13a2255; }
.ad-form { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin-top: 18px; display: grid; gap: 12px; justify-items: start; } .ad-form h2 { margin: 0; } .ad-form label, .ad-form-2, .ad-form-3 { width: 100%; }
.ad-form-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; } .ad-form-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.ad-flash { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 8px; font-size: 14px; opacity: 0; transition: all .25s var(--ease); pointer-events: none; z-index: 20; } .ad-flash.is-on { opacity: 1; transform: translate(-50%, 0); }
.ad-login { --bg: #f2f1ee; --card: #fff; min-height: 100vh; display: grid; place-items: center; padding: 20px; background: var(--bg); }
.ad-login-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 34px; width: min(400px, 100%); display: grid; gap: 14px; } .ad-login-box .ad-logo { --logo-gray: #7a7572; padding: 0; } .ad-login-box h1 { font-weight: 600; font-size: 22px; } .ad-login-box p { color: var(--ink-2); font-size: 13.5px; } .ad-login-box > a { font-size: 13px; color: var(--ink-2); text-align: center; }
/* ── 추가: 서버 연결 관리자 ── */
.ad-boot { min-height: 50vh; display: grid; place-items: center; }
.ad-layer { display: contents; }
.ad-login-form { display: grid; gap: 12px; } .ad-login input { width: 100%; }
.ad-err { color: #a13a22; font-size: 13px; background: #fbeee9; padding: 9px 12px; border-radius: 6px; }
.ad-tiny { font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.ad-flash.is-bad { background: #a13a22; }
.ad-user { display: grid; color: #fff; font-size: 13px; line-height: 1.3; } .ad-user small { color: #ffffff80; font-size: 11px; }
.ad-side-foot { flex-wrap: wrap; gap: 10px 14px; align-items: center; } .ad-side-foot .ad-user { width: 100%; }
.ad select { height: 40px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; padding: 0 10px; font-size: 14px; max-width: 100%; }
.ad-drawer select { width: 100%; }
.ad-drawer-wide { width: min(760px, 100vw); }
.is-click { cursor: pointer; } .is-click:hover { background: #fafaf8; }
.ad-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0; }
.ad-chips button { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.ad-chips button i { font-style: normal; font-size: 11.5px; color: var(--ink-3); } .ad-chips button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; } .ad-chips button.is-active i { color: #ffffffa0; }
.ad-st { font-style: normal; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap; background: var(--bg-2); color: var(--ink-2); }
.ad-st-new { background: #fde7c7; color: #8a4b05; } .ad-st-progress { background: #dfe9fb; color: #1f4f9a; } .ad-st-done { background: #e4efc4; color: #3d5208; }
.ad-dl > div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; } .ad-dl dt { color: var(--ink-3); } .ad-dl a { text-decoration: underline; text-underline-offset: 3px; }
.ad-msg { white-space: pre-wrap; background: var(--bg); padding: 12px 14px; border-radius: 8px; font-size: 14px; line-height: 1.6; }
.ad-items { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.ad-items li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; background: #fff; padding: 8px 12px; font-size: 13.5px; }
.ad-items small { color: var(--ink-3); } .ad-when { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.ad-mini { width: 44px; height: 36px; display: grid; place-items: center; } .ad-mini img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ad-mini-photo { display: inline-grid; width: 64px; height: 44px; vertical-align: middle; } .ad-mini-photo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; border-radius: 4px; }
.ad-kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .ad-kpi > div { background: var(--bg); border-radius: 8px; padding: 12px 14px; display: grid; } .ad-kpi b { font: 600 28px/1.1 var(--display); } .ad-kpi span { font-size: 12px; color: var(--ink-2); }
.ad-kpi-big { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin: 6px 0 4px; } .ad-kpi-big > div { background: #fff; border: 1px solid var(--line); } .ad-kpi-big b { font-size: 36px; }
.ad-tabs-big { margin: 14px 0 6px; } .ad-tabs-big button { font-size: 15px; padding: 10px 16px; }
.ad-bar-label { align-self: center; font-size: 13px; color: var(--ink-3); margin-right: 4px; }
.ad-pill { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 13px; } .ad-pill.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.ad-legend { font-weight: 400; font-size: 12px; color: var(--ink-3); margin-left: 10px; } .ad-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 4px 0 10px; vertical-align: -1px; } .ad-legend .v, .ad-chart .v { background: var(--lime); } .ad-legend .d, .ad-chart .d { background: var(--ink); }
.ad-chart { display: grid; grid-template-columns: repeat(var(--n), 1fr); align-items: end; gap: 2px; height: 180px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 14px 0; }
.ad-chart span { display: flex; flex-direction: column-reverse; height: 100%; justify-content: flex-start; gap: 1px; } .ad-chart span:hover { background: var(--bg); }
.ad-chart i { display: block; min-height: 0; border-radius: 2px 2px 0 0; }
.ad-chart-axis { display: flex; justify-content: space-between; font: 11px var(--mono); color: var(--ink-3); margin-top: 6px; }
.ad-2col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start; }
.ad-bulkbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--ink); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; position: sticky; top: 8px; z-index: 5; }
.ad-bulkbar span { font-size: 13px; color: var(--ink-3); margin-left: 8px; } .ad-bulkbar .btn { height: 36px; border-radius: 6px; text-transform: none; letter-spacing: 0; }
.ad-form-2b { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ad-tax header { gap: 10px; } .ad-tax.is-off, .ad-tax-subs li.is-off { opacity: .55; }
.ad-move { display: inline-flex; flex-direction: column; } .ad-move button { width: 22px; height: 16px; font-size: 9px; color: var(--ink-3); } .ad-move button:hover:not([disabled]) { color: var(--ink); } .ad-move button[disabled] { opacity: .25; }
.ad-tax-names { padding: 0 16px 12px; display: grid; gap: 8px; }
.ad-tax-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .ad-tax-row > em { font-style: normal; width: 34px; font-size: 12px; color: var(--ink-3); }
.ad-tax-row label { display: flex; align-items: center; gap: 6px; font: 600 10px var(--font-en); color: var(--ink-3); } .ad-tax-row input { height: 34px; width: 160px; border: 1px solid var(--line-2); border-radius: 6px; padding: 0 10px; font-size: 13.5px; }
.ad-tax-subs { border-top: 1px solid var(--line); }
.ad-tax-subs li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); } .ad-tax-subs li > b { min-width: 110px; } .ad-tax-subs li > small { color: var(--ink-3); min-width: 44px; }
.ad-tax-add { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 16px; } .ad-tax-add input { height: 36px; border: 1px solid var(--line-2); border-radius: 6px; padding: 0 10px; } .ad-tax-add .btn { height: 36px; border-radius: 6px; text-transform: none; letter-spacing: 0; }
.ad-savebar { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; gap: 8px; justify-content: flex-end; background: #fff; border: 1px solid var(--ink); border-radius: 10px; padding: 10px 12px; margin-top: 16px; } .ad-savebar span { margin-right: auto; font-size: 13px; color: var(--ink-2); } .ad-savebar .btn { border-radius: 6px; text-transform: none; letter-spacing: 0; }
.ad-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 16px; } .ad-steps > div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: flex; gap: 12px; } .ad-steps b { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; font-size: 13px; } .ad-steps p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.ad-open { display: grid; gap: 8px; margin-bottom: 14px; } .ad-open > div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .ad-open em { font-style: normal; width: 64px; font-size: 13px; color: var(--ink-3); } .ad-open .btn { height: 38px; border-radius: 6px; text-transform: none; letter-spacing: 0; }
.ad-photo-pick { display: flex; gap: 14px; align-items: center; background: var(--bg); border-radius: 8px; padding: 10px; } .ad-photo-pick > img { width: 160px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: #fff; } .ad-photo-pick > div { display: grid; gap: 6px; justify-items: start; } .ad-photo-pick .btn { height: 36px; border-radius: 6px; text-transform: none; letter-spacing: 0; cursor: pointer; }
.ad-cat-row { width: 100%; display: grid; gap: 8px; padding: 12px; background: var(--bg); border-radius: 8px; }
.ad-role, .ad-perms { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px 12px; display: flex; flex-wrap: wrap; gap: 8px 18px; width: 100%; }
.ad-role legend, .ad-perms legend { font-size: 12px; color: var(--ink-3); padding: 0 6px; } .ad-role label, .ad-perms label { display: flex !important; align-items: center; gap: 6px; font-size: 14px !important; color: var(--ink) !important; } .ad-role input, .ad-perms input { width: 16px !important; height: 16px !important; accent-color: var(--ink); }
.ad-perm-cell { max-width: 320px; } .ad-perm-cell .ad-tag { display: inline-block; margin: 2px 0; } .ad-nowrap { white-space: nowrap; }
.ad-drawer .rte-area { min-height: 260px; }
.adc-index { display: grid; gap: 4px; margin-bottom: 10px; } .adc-index li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.adc-index input:not([type=checkbox]) { height: 36px; border: 1px solid var(--line-2); border-radius: 6px; padding: 0 10px; font-size: 14px; } .adc-index input[data-f="title"] { flex: 1; min-width: 200px; } .adc-index label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); } .adc-index input[data-f="page"] { width: 64px; text-align: center; }
.adc-bar { align-items: center; } .adc-bar label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); } .adc-bar input { flex: none; min-width: 0; width: 72px; text-align: center; }
.adc { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.adc-stage { background: #ddd9d2; border-radius: 10px; padding: 16px; display: grid; place-items: center; }
.adc-page { position: relative; width: min(100%, 78vh); aspect-ratio: 1; background: #fff; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .45); touch-action: none; user-select: none; cursor: crosshair; }
.adc-page img { width: 100%; height: 100%; display: block; pointer-events: none; }
.adc-boxes { position: absolute; inset: 0; }
.adc-box { position: absolute; border: 1.5px solid #2f6fde; background: rgba(47, 111, 222, .14); cursor: move; }
.adc-box b { position: absolute; left: -1.5px; top: -18px; font: 600 10.5px var(--mono); background: #2f6fde; color: #fff; padding: 2px 5px; white-space: nowrap; }
.adc-box.is-sel { border-color: var(--ink); background: rgba(163, 198, 60, .3); z-index: 2; } .adc-box.is-sel b { background: var(--ink); }
.adc-box.is-bad { border-color: #c2452d; background: rgba(194, 69, 45, .18); } .adc-box.is-bad b { background: #c2452d; }
.adc-h { position: absolute; right: -6px; bottom: -6px; width: 12px; height: 12px; background: #fff; border: 1.5px solid var(--ink); cursor: nwse-resize; display: none; } .adc-box.is-sel .adc-h { display: block; }
.adc-side { position: sticky; top: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: grid; gap: 10px; max-height: calc(100vh - 24px); overflow: auto; } .adc-side h3 { font-size: 14px; font-weight: 600; }
.adc-sel { display: grid; gap: 8px; background: var(--bg); border-radius: 8px; padding: 10px; } .adc-sel label { display: grid; gap: 4px; font-size: 12.5px; color: var(--ink-2); } .adc-sel input { height: 38px; border: 1px solid var(--line-2); border-radius: 6px; padding: 0 10px; width: 100%; } .adc-sel .btn { height: 36px; border-radius: 6px; text-transform: none; letter-spacing: 0; }
.adc-list { display: flex; flex-wrap: wrap; gap: 4px; } .adc-list li { font: 12px var(--mono); padding: 4px 8px; border-radius: 4px; background: var(--bg); cursor: pointer; } .adc-list li.is-sel { background: var(--ink); color: #fff; }
.adc-pages { display: flex; flex-wrap: wrap; gap: 4px; } .adc-pages a { font: 500 12px var(--font-en); padding: 4px 8px; border-radius: 4px; background: var(--bg); } .adc-pages a:hover { background: var(--ink); color: #fff; }
@media (max-width: 1100px) { .adc { grid-template-columns: 1fr; } .adc-side { position: static; max-height: none; } }
@media (max-width: 900px) {
  .ad-kpi, .ad-kpi-big, .ad-steps { grid-template-columns: 1fr 1fr; } .ad-2col, .ad-form-2b { grid-template-columns: 1fr; } .ad-side-foot .ad-user { width: auto; }

  .ad { grid-template-columns: 1fr; } .ad-side { position: static; height: auto; flex-direction: row; align-items: center; gap: 8px; padding: 10px 12px; overflow-x: auto; } .ad-logo { padding: 0 8px 0 4px; } .ad-logo span { display: none; } .ad-side nav { display: flex; } .ad-side nav a { white-space: nowrap; padding: 8px 10px; } .ad-side-foot { margin: 0 0 0 auto; gap: 12px; white-space: nowrap; }
  .ad-cards { grid-template-columns: 1fr 1fr; } .ad-bulk, .ad-form-2, .ad-form-3 { grid-template-columns: 1fr; } .ad-cat-names { margin-left: 0; }
}
