/* Admin uses its own compact visual system; learner screens keep their theme. */
.adm-extra-option { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:14px 20px; cursor:pointer; }
.adm-extra-option + .adm-extra-option { border-top:1px solid var(--a-line); }
.adm-extra-option b,.adm-extra-option small { display:block; }
.adm-extra-option small { color:var(--a-muted); margin-top:3px; }
.adm-extra-option input { appearance:none; flex:none; width:38px; height:22px; margin:0; padding:3px; border:0; border-radius:20px; background:var(--a-line); cursor:pointer; }
.adm-extra-option input::before { content:''; display:block; width:16px; height:16px; border-radius:50%; background:#fff; box-shadow:0 1px 3px #0002; }
.adm-extra-option input:checked { background:var(--a-green); }
.adm-extra-option input:checked::before { transform:translateX(16px); }
.adm-extra-option input:focus-visible { outline:2px solid var(--a-green); outline-offset:3px; }
.adm-settings-card [data-extra-status]:empty { display:none; }
body:has(.admin-page) { background: #f7f8fa; }
body:has(.admin-page) > .topbar { display: none; }
#app:has(.admin-page) { max-width: none; margin: 0; padding: 0; }
.admin-page, .adm-dialog { --a-bg: #f7f8fa; --a-card: #fff; --a-text: #202a36; --a-muted: #6e7785; --a-line: #e7eaf0; --a-green: #287653; --a-green-bg: #eaf5ee; --a-hover: #f5f7f9; color: var(--a-text); font: 400 13px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; text-align: left; }
.admin-page { min-height: 100dvh; background: var(--a-bg); }
.admin-page *, .adm-dialog * { box-sizing: border-box; }
.admin-page h1, .admin-page h2, .admin-page h3, .adm-dialog h2 { color: var(--a-text); font-family: inherit; letter-spacing: -.025em; }
.admin-page a { text-decoration: none; color: inherit; }
.admin-page button, .admin-page input, .admin-page select, .admin-page textarea, .adm-dialog button, .adm-dialog input, .adm-dialog select, .adm-dialog textarea { font: inherit; }
.admin-page button, .adm-dialog button { cursor: pointer; }
.admin-page button:disabled, .adm-dialog button:disabled { cursor: default; opacity: .45; }
.admin-page svg, .adm-dialog svg { flex: none; vertical-align: middle; }
.adm-topbar { height: 66px; background: var(--a-card); border-bottom: 1px solid var(--a-line); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 27px; position: sticky; top: 0; z-index: 20; }
.adm-brand { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.adm-brand b { font-size: 16px; font-weight: 650; letter-spacing: -.5px; }
.adm-brand > span { font-size: 9px; font-weight: 700; letter-spacing: 1px; color: var(--a-green); border: 1px solid var(--a-line); border-radius: 5px; padding: 3px 6px; margin-left: 6px; }
.adm-top-actions { display: flex; align-items: center; gap: 15px; }
.adm-site-link { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--a-muted) !important; }
.adm-divider { width: 1px; height: 21px; background: var(--a-line); }
.adm-layout { display: grid; grid-template-columns: 218px minmax(0, 1fr); min-height: calc(100dvh - 66px); }
.adm-sidebar { position: sticky; top: 66px; height: calc(100dvh - 66px); display: flex; flex-direction: column; padding: 23px 14px 15px; background: var(--a-card); border-right: 1px solid var(--a-line); overflow-y: auto; }
.adm-workspace { display: flex; align-items: center; gap: 10px; padding: 0 9px 30px; }
.adm-workspace-icon { width: 34px; height: 36px; display: grid; place-items: center; background: var(--a-bg); border: 1px solid var(--a-line); border-radius: 8px; color: var(--a-green); }
.adm-workspace b { font-size: 12px; font-weight: 650; display: block; }
.adm-workspace small { display: block; color: var(--a-muted); font-size: 10px; margin-top: 1px; }
.adm-nav-label { color: var(--a-muted); font-weight: 600; letter-spacing: 1.4px; font-size: 9px; padding: 0 13px 10px; }
.adm-sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.adm-sidebar nav a { min-height: 41px; padding: 10px 12px; border-radius: 7px; display: flex; align-items: center; gap: 11px; color: var(--a-muted); font-size: 12px; font-weight: 500; }
.adm-sidebar nav a:hover { background: var(--a-hover); color: var(--a-text); }
.adm-sidebar nav a[aria-current] { color: var(--a-green); background: var(--a-green-bg); font-weight: 600; }
.adm-sidebar nav i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-left: auto; }
.adm-sidebar-bottom { margin-top: auto; padding-top: 32px; }
.adm-private { display: flex; align-items: center; gap: 9px; padding: 12px 8px 20px; color: var(--a-muted); }
.adm-private svg { width: 16px; }
.adm-private b { font-size: 10px; font-weight: 500; display: block; }
.adm-private span { font-size: 9px; }
.adm-account { border-top: 1px solid var(--a-line); padding: 17px 3px 0; display: flex; align-items: center; gap: 8px; min-width: 0; }
.adm-account > div { flex: 1; min-width: 0; }
.adm-account b, .adm-account small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-account b { font-size: 11px; font-weight: 600; }
.adm-account small { font-size: 9px; color: var(--a-muted); }
.adm-avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #eaf0ec; color: #51705c; font-size: 11px; font-weight: 650; flex: none; }
.adm-avatar.small { width: 29px; height: 29px; font-size: 10px; }
.adm-avatar.large { width: 52px; height: 52px; font-size: 21px; }
.adm-avatar.tone-1 { background: #eeeefa; color: #717298; }.adm-avatar.tone-2 { background: #f8eee4; color: #976e46; }.adm-avatar.tone-3 { background: #e9f1f9; color: #526f94; }
.adm-main { min-width: 0; width: 100%; max-width: 1530px; padding: 24px 32px 16px; margin: 0 auto; }
.adm-breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 10px; color: var(--a-muted); margin: 0 0 27px; }
.adm-breadcrumb svg { width: 11px; height: 11px; }.adm-breadcrumb span { color: var(--a-text); }
.adm-page-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 27px; }
.adm-page-heading h1 { font-size: 27px; line-height: 1.25; font-weight: 650; }
.adm-page-heading p { font-size: 12px; color: var(--a-muted); margin: 7px 0 0; }
.adm-btn { border: 1px solid var(--a-line); background: var(--a-card); color: var(--a-text); border-radius: 7px; min-height: 34px; padding: 7px 12px; font-size: 11px !important; font-weight: 500 !important; display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; box-shadow: 0 1px 2px #00000003; text-decoration: none; }
.adm-btn:hover:not(:disabled) { background: var(--a-hover); border-color: #c2cec8; }.adm-btn svg { width: 14px; height: 14px; }
.adm-btn.primary { color: #fff; background: var(--a-green); border-color: var(--a-green); }.adm-btn.primary:hover:not(:disabled) { background: #205f43; }
.adm-btn.danger { color: #b34040; border-color: #e9caca; background: var(--a-card); }
.adm-icon-btn { border: 0; background: transparent; color: var(--a-muted); width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; padding: 6px; border-radius: 6px; flex: none; }
.adm-icon-btn:hover { background: var(--a-hover); color: var(--a-green); }
.adm-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; margin-bottom: 23px; }
.adm-stat { display: block; background: var(--a-card); border: 1px solid var(--a-line); padding: 18px 19px 15px; border-radius: 9px; transition: border-color .15s; }
.adm-stat:hover { border-color: #b0c8ba; }.adm-stat-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--a-muted); font-size: 11px; font-weight: 500; }
.adm-stat-top svg { color: #93a39a; width: 16px; height: 16px; }.adm-stat strong { display: block; font-size: 29px; letter-spacing: -1px; line-height: 1.2; font-weight: 600; margin: 13px 0 7px; font-variant-numeric: tabular-nums; }
.adm-stat small { font-size: 10px; color: var(--a-muted); }
.adm-overview-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: 21px; align-items: start; }
.adm-card { border: 1px solid var(--a-line); border-radius: 9px; background: var(--a-card); min-width: 0; overflow: hidden; }
.adm-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; border-bottom: 1px solid var(--a-line); }.adm-card-heading > svg { color: var(--a-muted); }
.adm-card h2, .adm-shortcut h2 { font-size: 13px; font-weight: 600; letter-spacing: -.1px; }.adm-card-heading p { font-size: 10px; color: var(--a-muted); margin: 4px 0 0; }
.adm-text-link { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; color: var(--a-green) !important; font-weight: 500; }.adm-text-link svg { width: 13px; height: 13px; }.adm-text-link:hover { text-decoration: underline; }
.adm-table-wrap { overflow: auto; max-width: 100%; }.adm-table { width: 100%; border-collapse: collapse; white-space: nowrap; text-align: left; }
.adm-table th { background: var(--a-hover); color: var(--a-muted); font-size: 9px; font-weight: 500; letter-spacing: .25px; padding: 10px 20px; border-bottom: 1px solid var(--a-line); }
.adm-table td { padding: 13px 20px; border-bottom: 1px solid var(--a-line); font-size: 11px; font-variant-numeric: tabular-nums; }.adm-table tr:last-child td { border-bottom: 0; }.adm-table tr:hover td { background: var(--a-hover); }
.adm-table td:last-child { padding-left: 0; padding-right: 14px; }.adm-table time { font-size: 10px; color: var(--a-muted); }
.adm-person { display: flex; align-items: center; gap: 10px; background: transparent; border: 0; padding: 0; text-align: left; color: var(--a-text); max-width: 300px; }.adm-person > span:last-child { min-width: 0; }
.adm-person b { display: block; font-size: 11px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; max-width: 230px; }.adm-person small { display: block; font-size: 9px; color: var(--a-muted); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; max-width: 230px; }
.adm-person:hover b, .adm-title-link:hover { color: var(--a-green); }.adm-title-link { font-weight: 550; display: block; max-width: 290px; overflow: hidden; text-overflow: ellipsis; }
.adm-cell-note { display: block; color: var(--a-muted); font-size: 9px; margin-top: 3px; }.adm-muted { color: var(--a-muted); }
.adm-badge { display: inline-flex; align-items: center; padding: 3px 7px; border-radius: 5px; font-size: 9px; line-height: 1.4; font-weight: 500; color: var(--a-muted); background: var(--a-hover); white-space: nowrap; }
.adm-badge.green { color: var(--a-green); background: var(--a-green-bg); }.adm-badge.amber { color: #986520; background: #fff4df; }
.adm-test-item { display: flex; align-items: center; gap: 11px; padding: 18px 20px; border-bottom: 1px solid var(--a-line); }.adm-test-item:last-child { border-bottom: 0; }.adm-test-item:hover { background: var(--a-hover); }.adm-test-item > span:nth-child(2) { min-width: 0; flex: 1; }.adm-test-item b { display: block; font-size: 11px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.adm-test-item small { display: block; font-size: 9px; color: var(--a-muted); margin-top: 4px; }.adm-test-item > svg { width: 14px; color: var(--a-muted); }
.adm-file-icon { width: 33px; height: 37px; display: grid; place-items: center; background: var(--a-hover); border: 1px solid var(--a-line); border-radius: 6px; color: var(--a-muted); }.adm-file-icon svg { width: 16px; }
.adm-card-bottom { display: flex; align-items: center; justify-content: space-between; padding: 13px 20px; color: var(--a-green) !important; border-top: 1px solid var(--a-line); font-size: 10px; font-weight: 500; }.adm-card-bottom svg { width: 13px; height: 13px; }
.adm-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; margin-top: 23px; }.adm-shortcut { display: flex; align-items: center; gap: 14px; padding: 19px; border: 1px solid var(--a-line); background: var(--a-card); border-radius: 9px; }.adm-shortcut p { font-size: 10px; color: var(--a-muted); margin: 4px 0 0; }.adm-shortcut > svg { margin-left: auto; width: 14px; color: var(--a-muted); }.adm-shortcut-icon { background: var(--a-green-bg); color: var(--a-green); width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; }
.adm-footer { display: flex; justify-content: space-between; gap: 10px; padding-top: 25px; margin-top: 15px; font-size: 9px; color: var(--a-muted); }.adm-footer-dot { margin: 0 6px; }
.adm-list-tools { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; align-items: center; }.adm-search-form { display: flex; align-items: center; gap: 8px; flex: 1; }.adm-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--a-line); background: var(--a-card); padding: 0 10px; border-radius: 7px; width: min(400px,100%); }.adm-search svg { color: var(--a-muted); width: 15px; height: 15px; }.adm-search input { padding: 8px 0; font-size: 11px; width: 100%; border: 0; outline: none; background: transparent; color: var(--a-text); }.adm-search:focus-within { outline: 2px solid var(--a-green); outline-offset: 1px; }.adm-search input::placeholder { color: var(--a-muted); }
.adm-pagination { border-top: 1px solid var(--a-line); padding: 13px 20px; display: flex; justify-content: space-between; align-items: center; gap: 15px; font-size: 10px; color: var(--a-muted); }.adm-pagination > div { display: flex; gap: 12px; align-items: center; }.adm-pagination .adm-btn { min-height: 28px; padding: 4px 9px; font-size: 10px !important; }
.adm-chapter-number { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--a-line); border-radius: 6px; color: var(--a-muted); font-size: 10px; }
.adm-system-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 21px; align-items: start; }.adm-services { padding: 0 20px; }.adm-service { display: flex; align-items: center; gap: 11px; padding: 19px 0; border-bottom: 1px solid var(--a-line); }.adm-service > div { flex: 1; }.adm-service b { display: block; font-size: 12px; font-weight: 550; }.adm-service small { display: block; color: var(--a-muted); font-size: 10px; margin-top: 3px; }.adm-service-dot { width: 6px; height: 6px; background: #4f9e6b; border-radius: 50%; flex: none; }.adm-service-dot.missing { background: #d2a044; }.adm-card-note { font-size: 10px; color: var(--a-muted); margin: 0; padding: 15px 20px; line-height: 1.7; }.adm-access { padding: 25px 20px 10px; text-align: center; }.adm-access h3 { margin: 11px 0 2px; font-size: 14px; }.adm-access > p { color: var(--a-muted); margin: 0 0 12px; font-size: 12px; }
.adm-details { margin: 20px 0 0; text-align: left; }.adm-details > div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-top: 1px solid var(--a-line); }.adm-details dt { font-size: 11px; color: var(--a-muted); }.adm-details dd { text-align: right; font-size: 11px; margin: 0; overflow-wrap: anywhere; max-width: 65%; }.adm-details code { font-size: 10px; }
.adm-loading, .adm-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; min-height: 180px; padding: 25px; color: var(--a-muted); font-size: 12px; }.adm-empty > svg { width: 25px; height: 25px; opacity: .6; }.adm-empty b { color: var(--a-text); font-weight: 550; }.adm-empty p { margin: -5px 0 0; max-width: 310px; font-size: 11px; }.adm-loading { min-height: 300px; }.adm-spinner { width: 21px; height: 21px; border: 2px solid var(--a-line); border-top-color: var(--a-green); border-radius: 50%; animation: adm-spin .8s linear infinite; }@keyframes adm-spin { to { transform: rotate(360deg); } }
.adm-error { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 9px; padding: 25px; display: flex; align-items: start; gap: 15px; }.adm-error > svg { color: #ac7b38; }.adm-error b { font-weight: 600; }.adm-error p { color: var(--a-muted); font-size: 12px; max-width: 600px; }.adm-notice { background: #fff4df; color: #906629; padding: 11px 15px; border-radius: 7px; margin-bottom: 17px; font-size: 11px; }
.adm-gate { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 25px; background: var(--a-card); border: 1px solid var(--a-line); border-radius: 10px; text-align: center; min-height: 400px; }.adm-gate > svg { width: 38px; height: 38px; color: var(--a-green); margin-bottom: 23px; }.adm-eyebrow { font-size: 9px; letter-spacing: 1.3px; color: var(--a-muted); margin-bottom: 12px; }.adm-gate h2 { font-size: 22px; font-weight: 600; }.adm-gate p { font-size: 12px; max-width: 340px; color: var(--a-muted); margin: 12px 0 25px; }.adm-gate .adm-text-link { margin-top: 19px; }
.adm-dialog { width: 480px; max-width: calc(100vw - 30px); max-height: calc(100dvh - 40px); margin: auto; padding: 0; border: 1px solid var(--a-line); border-radius: 13px; background: var(--a-card); color: var(--a-text); box-shadow: 0 20px 90px #0003; }.adm-dialog::backdrop { background: #10241e66; backdrop-filter: blur(3px); }.adm-dialog-top { display: flex; align-items: center; justify-content: space-between; padding: 13px 20px; border-bottom: 1px solid var(--a-line); }.adm-dialog-top > span { font-size: 9px; letter-spacing: 1.3px; color: var(--a-muted); }.adm-detail-content { padding: 23px; }.adm-detail-identity { text-align: center; }.adm-detail-identity h2 { font-size: 20px; margin: 12px 0 4px; font-weight: 600; overflow-wrap: anywhere; }.adm-detail-identity p { font-size: 12px; margin: 0 0 12px; color: var(--a-muted); }.adm-detail-plan { padding: 14px; border: 1px solid var(--a-line); border-radius: 8px; margin-top: 15px; }.adm-detail-plan > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.adm-detail-plan b { font-size: 11px; font-weight: 550; }.adm-detail-plan p { font-size: 10px; color: var(--a-muted); margin: 7px 0 0; }
html[data-theme='dark'] .admin-page, html[data-theme='dark'] .adm-dialog { --a-bg: #141a1c; --a-card: #1b2326; --a-text: #e4eae7; --a-muted: #97a5a2; --a-line: #2d383b; --a-green: #8bc5a2; --a-green-bg: #263e32; --a-hover: #222d30; }
html[data-theme='dark'] .adm-btn.primary { background: #356b4b; border-color: #356b4b; }.admin-page :focus-visible, .adm-dialog :focus-visible { outline: 2px solid var(--a-green); outline-offset: 3px; }
@media (min-width: 1600px) { .adm-main { padding: 30px 44px 20px; }.adm-page-heading { margin-bottom: 32px; }.adm-stats { gap: 20px; }.adm-stat { padding: 23px; } }
@media (max-width: 1100px) { .adm-layout { grid-template-columns: 185px minmax(0,1fr); }.adm-main { padding: 23px; }.adm-overview-grid, .adm-system-grid { grid-template-columns: 1fr; }.adm-stats { gap: 10px; }.adm-stat { padding: 14px; }.adm-shortcuts { gap: 15px; }.adm-account { flex-wrap: wrap; }.adm-account .adm-icon-btn { display: none; } }
@media (max-width: 700px) { .adm-topbar { height: 58px; padding: 0 16px; }.adm-brand b { font-size: 14px; }.adm-brand > span { margin-left: 0; }.adm-site-link, .adm-divider { display: none; }.adm-top-actions { gap: 5px; }.adm-layout { display: block; }.adm-sidebar { position: static; height: auto; padding: 9px 12px; border-right: 0; border-bottom: 1px solid var(--a-line); }.adm-workspace, .adm-nav-label, .adm-sidebar-bottom { display: none; }.adm-sidebar nav { flex-direction: row; overflow-x: auto; gap: 4px; }.adm-sidebar nav a { min-height: 35px; flex: none; padding: 8px 10px; font-size: 10px; gap: 6px; }.adm-sidebar nav a svg { width: 14px; height: 14px; }.adm-sidebar nav i { display: none; }.adm-main { padding: 20px 16px; }.adm-breadcrumb { margin-bottom: 20px; }.adm-page-heading { gap: 12px; margin-bottom: 21px; }.adm-page-heading h1 { font-size: 24px; }.adm-page-heading p { font-size: 11px; max-width: 240px; }.adm-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-bottom: 16px; }.adm-stat strong { font-size: 27px; }.adm-stat small { font-size: 9px; }.adm-stat-top { font-size: 10px; }.adm-overview-grid { gap: 16px; }.adm-card-heading { padding: 16px; }.adm-card-heading .adm-text-link { font-size: 9px; }.adm-table th, .adm-table td { padding-left: 16px; padding-right: 16px; }.adm-table .adm-person b, .adm-table .adm-person small { max-width: 130px; }.adm-shortcuts { grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }.adm-list-tools { padding: 13px; flex-wrap: wrap; gap: 10px; }.adm-search-form { min-width: 100%; flex-wrap: wrap; }.adm-search { flex: 1; min-width: 180px; }.adm-pagination { flex-wrap: wrap; padding: 13px; }.adm-footer { font-size: 8px; }.adm-gate h2 { font-size: 20px; }.adm-person { gap: 8px; }.adm-avatar { width: 29px; height: 29px; }.adm-system-grid { gap: 16px; } }
@media (prefers-reduced-motion: reduce) { .adm-spinner { animation-duration: 2s; }.adm-stat { transition: none; } }
.adm-editor { width: 820px; }
.adm-editor-body { padding: 22px; }.adm-editor-body h2 { font-size: 20px; font-weight: 600; }
.adm-editor-path { display: flex; align-items: center; gap: 10px; margin: 9px 0 18px; overflow-wrap: anywhere; font-size: 11px; color: var(--a-muted); }
.adm-editor-tabs { display: flex; gap: 6px; padding: 4px; border: 1px solid var(--a-line); border-radius: 7px; background: var(--a-hover); width: fit-content; margin: 18px 0; }
.adm-editor-tabs button { background: transparent; color: var(--a-muted); border: 0; border-radius: 5px; padding: 6px 12px; font-size: 11px; }.adm-editor-tabs button.on { background: var(--a-card); color: var(--a-green); box-shadow: 0 1px 3px #0001; }
.adm-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.adm-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; }.adm-field > span { font-size: 11px; color: var(--a-muted); }
.adm-field input, .adm-field select, .adm-field textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--a-line); border-radius: 6px; background: var(--a-card); color: var(--a-text); font-size: 12px; line-height: 1.5; }
.adm-field textarea { resize: vertical; }.adm-field-section { grid-column: 1 / -1; border-top: 1px solid var(--a-line); padding-top: 15px; font-size: 12px; font-weight: 600; }
.adm-nested { grid-column: 1 / -1; border: 1px solid var(--a-line); border-radius: 7px; overflow: hidden; }.adm-nested summary { padding: 11px 14px; cursor: pointer; font-size: 12px; font-weight: 500; }.adm-nested summary > span { font-weight: 400; font-size: 10px; color: var(--a-muted); margin-left: 8px; }.adm-nested .adm-field { padding: 0 14px 14px; }
.adm-code { width: 100%; font: 11px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace !important; background: var(--a-hover); color: var(--a-text); border: 1px solid var(--a-line); border-radius: 7px; padding: 14px; resize: vertical; tab-size: 2; }
.adm-editor [hidden] { display: none !important; }
.adm-editor-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; padding: 17px 0 0; border-top: 1px solid var(--a-line); flex-wrap: wrap; }.adm-editor-actions > button:first-child { margin-right: auto; }
.adm-editor-status { font-size: 11px; color: var(--a-green); min-height: 25px; margin: 18px 0 7px; overflow-wrap: anywhere; }.adm-editor-status.is-error { color: #c66652; }.adm-editor-status .adm-btn { margin: 6px; }
.adm-editor-review { padding: 15px; border: 1px solid #b8d3be; border-radius: 7px; margin-top: 20px; background: var(--a-green-bg); }.adm-editor-review > b { font-size: 13px; }.adm-editor-review p { font-size: 11px; color: var(--a-muted); }.adm-editor-review details { margin: 8px 0; font-size: 12px; }.adm-editor-review summary { cursor: pointer; }
.adm-diff { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }.adm-diff > div { min-width: 0; }.adm-diff small { font-size: 10px; color: var(--a-muted); }.adm-diff pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 200px; overflow: auto; background: var(--a-card); padding: 10px; border-radius: 5px; font: 10px/1.6 monospace; }
.adm-detail-actions, .adm-subcollections { display: flex; flex-wrap: wrap; gap: 8px; margin: 17px 0 0; }.adm-danger-zone { margin-top: 25px; border-top: 1px solid var(--a-line); padding-top: 17px; }.adm-danger-zone summary { color: #bd695e; font-size: 11px; cursor: pointer; }.adm-danger-zone p { font-size: 11px; color: var(--a-muted); }.adm-danger-zone .adm-field { max-width: 250px; margin-bottom: 12px; }
.adm-data-toolbar { padding: 18px 20px; display: grid; grid-template-columns: 1fr 1.7fr; gap: 18px; align-items: end; }.adm-path-form { display: flex; align-items: end; gap: 9px; }.adm-path-form .adm-field { flex: 1; }.adm-path-form .adm-btn { min-height: 38px; }.adm-data-back { margin: 0 20px 17px; }.adm-settings-card { margin-top: 22px; }
@media (max-width: 700px) { .adm-field-grid, .adm-data-toolbar { grid-template-columns: 1fr; }.adm-editor-body { padding: 17px; }.adm-editor-path { flex-wrap: wrap; }.adm-diff { grid-template-columns: 1fr; }.adm-settings-card .adm-card-heading { flex-wrap: wrap; }.adm-field-grid { gap: 13px; } }
