:root {
    --bg: #eef4f3;
    --surface: #ffffff;
    --surface-soft: #f4f8f7;
    --line: #d9e5e2;
    --text: #132a2d;
    --muted: #667b7d;
    --primary: #0f766e;
    --primary-dark: #115e59;
    --success: #15803d;
    --danger: #dc2626;
    --warning: #b45309;
    --sidebar: #102b32;
    --shadow: 0 18px 45px rgba(23, 58, 60, .08);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 10% -10%, rgba(122, 211, 194, .18), transparent 28rem),
        linear-gradient(135deg, #eef6f4 0%, var(--bg) 52%, #f5f8f7 100%);
    font-family: "Avenir Next", "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 268px minmax(0, 1fr); }
.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 26px 19px 20px;
    color: #e5e7eb;
    background: linear-gradient(180deg, #12333a 0%, var(--sidebar) 68%, #0c2229 100%);
    display: flex;
    flex-direction: column;
    box-shadow: 12px 0 35px rgba(13, 43, 48, .08);
}
.brand { display: flex; gap: 12px; align-items: center; padding: 0 8px 26px; }
.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #14b8a6, #0f766e);
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(20, 184, 166, .18);
}
.brand strong, .brand small { display: block; }
.brand strong { letter-spacing: .01em; }
.brand small { margin-top: 4px; color: #8eabb0; font-size: 11px; letter-spacing: .04em; }
.nav { display: grid; gap: 7px; }
.nav a {
    min-height: 43px;
    padding: 11px 13px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #c7d8da;
    display: flex;
    align-items: center;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.nav a:hover { color: #fff; background: rgba(45, 212, 191, .08); border-color: rgba(94, 234, 212, .12); transform: translateX(2px); }
.nav a.active { color: #fff; background: rgba(45, 212, 191, .15); border-color: rgba(94, 234, 212, .18); }
.sidebar-foot {
    margin-top: auto;
    padding: 18px 8px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #94a3b8;
    font-size: 13px;
}
.sidebar-foot a { color: #8ee4d7; }
.main { width: 100%; max-width: 1680px; min-width: 0; padding: clamp(24px, 3.2vw, 46px); }
.topbar {
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(133, 166, 163, .25);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.topbar p { margin: 0 0 7px; color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.topbar h1 { margin: 0; font-size: clamp(25px, 2.3vw, 32px); letter-spacing: -.025em; }
.grid { display: grid; gap: 18px; }
.grid.metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--shadow);
}
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.card-head h2, .card-head h3 { margin: 0; }
.card-head p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.metric { position: relative; overflow: hidden; }
.metric::after {
    position: absolute;
    right: -25px;
    bottom: -32px;
    width: 105px;
    height: 105px;
    border: 18px solid rgba(15, 118, 110, .06);
    border-radius: 50%;
    content: "";
}
.metric span { color: var(--muted); font-size: 13px; font-weight: 600; }
.metric strong { position: relative; z-index: 1; display: block; margin-top: 12px; font-size: 30px; letter-spacing: -.03em; }
.stack { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .wide { grid-column: 1 / -1; }
.field-block { display: grid; gap: 7px; }
.field-block label { font-size: 13px; font-weight: 650; }
.optional-label { color: var(--muted); font-weight: 400; }
.field, .select, .textarea {
    width: 100%;
    min-height: 43px;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    color: var(--text);
    background: #fff;
    outline: none;
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.65; }
.field:focus, .select:focus, .textarea:focus {
    border-color: #4db6a9;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, .12);
}
.helper { color: var(--muted); font-size: 12px; line-height: 1.6; }
.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text);
    font-size: 13px;
    line-height: 1.6;
    cursor: pointer;
}
.check-row input { margin-top: 3px; accent-color: var(--primary); }
.actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.checks, .filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.check { display: inline-flex; gap: 7px; align-items: center; color: #475569; font-size: 13px; white-space: nowrap; }
.filter-bar .field { flex: 1 1 260px; }
.filter-bar .select { width: auto; min-width: 140px; }
.btn {
    min-height: 40px;
    padding: 9px 15px;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    font-weight: 650;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn.primary { color: #fff; background: var(--primary); }
.btn.primary:hover { background: var(--primary-dark); }
.btn:disabled { cursor: wait; opacity: .7; }
.btn.soft { color: #0f5f59; background: #e3f1ee; }
.btn.danger { color: #fff; background: var(--danger); }
.btn.small { min-height: 32px; padding: 6px 10px; font-size: 12px; }
.btn:focus-visible, .nav a:focus-visible, .link-button:focus-visible {
    outline: 3px solid rgba(45, 212, 191, .42);
    outline-offset: 2px;
}
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td {
    padding: 13px 11px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
    font-size: 13px;
}
th { color: var(--muted); background: var(--surface-soft); font-weight: 650; }
td strong { font-weight: 700; }
.mono, code { font-family: "SFMono-Regular", Consolas, monospace; }
.badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #e2e8f0; font-size: 12px; }
.badge.success { color: #166534; background: #dcfce7; }
.badge.warning { color: #92400e; background: #fef3c7; }
.badge.danger { color: #991b1b; background: #fee2e2; }
.notice, .token-notice {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid;
    border-radius: 11px;
}
.notice.success { color: #166534; border-color: #bbf7d0; background: #f0fdf4; }
.notice.error { color: #991b1b; border-color: #fecaca; background: #fef2f2; }
.token-notice { color: #713f12; border-color: #fde68a; background: #fffbeb; }
.token-notice p { margin: 5px 0 10px; font-size: 13px; }
.token-notice code {
    display: block;
    padding: 11px;
    overflow-wrap: anywhere;
    border-radius: 8px;
    color: #172033;
    background: #fff;
}
.empty { padding: 34px; color: var(--muted); text-align: center; }
.login-page, .install-page {
    min-height: 100vh;
    padding: 30px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at top left, #dbeafe, transparent 36%), var(--bg);
}
.auth-card { width: min(100%, 560px); }
.auth-card h1 { margin: 0 0 8px; }
.auth-card > p { margin: 0 0 22px; color: var(--muted); line-height: 1.7; }
.auth-link { margin-top: 18px; text-align: center; font-size: 13px; }
.auth-link a { color: var(--primary); }
.install-card { width: min(100%, 860px); }
.requirements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.requirement {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-soft);
    font-size: 13px;
}
.requirement.ok { color: var(--success); }
.requirement.fail { color: var(--danger); }
.code-box {
    margin: 0;
    padding: 14px;
    overflow-x: auto;
    border-radius: 10px;
    color: #dbeafe;
    background: #0f172a;
    font: 12px/1.7 "SFMono-Regular", Consolas, monospace;
    white-space: pre-wrap;
}
.section-gap { margin-top: 18px; }
.note-list { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.85; font-size: 13px; }
.break-all { overflow-wrap: anywhere; }
.release-main-fields { gap: 18px; }
.release-notes { min-height: 96px; }
.release-advanced-settings { padding-top: 16px; border-top: 1px solid var(--line); }
.release-advanced-settings summary {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    color: #334155;
    font-size: 13px;
    font-weight: 650;
}
.release-advanced-settings summary span { color: var(--muted); font-size: 12px; font-weight: 400; }
.release-advanced-settings .form-grid { margin-top: 16px; }
.release-force-update { margin-top: 14px; }
.release-server-limit, .release-upload-status {
    padding: 11px 13px;
    border: 1px solid #bfdbfe;
    border-radius: 9px;
    color: #1d4ed8;
    background: #eff6ff;
    font-size: 12px;
    line-height: 1.6;
}
.release-upload-status[data-state="error"] { color: #991b1b; border-color: #fecaca; background: #fef2f2; }
.release-upload-status[data-state="success"] { color: #166534; border-color: #bbf7d0; background: #f0fdf4; }
.release-upload-status progress {
    width: 160px;
    height: 7px;
    margin-left: 9px;
    vertical-align: middle;
    accent-color: var(--primary);
}
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.detail-grid > div { padding: 14px; border-radius: 10px; background: var(--surface-soft); }
.detail-grid span, .detail-grid strong { display: block; }
.detail-grid span { margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.detail-grid small { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.download-card {
    min-width: 0;
    padding: 17px;
    border: 1px solid #e5eaf2;
    border-radius: 14px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 13px;
}
.download-card strong, .download-card span { display: block; }
.download-card span { margin-top: 5px; color: var(--muted); font-size: 12px; }
.code-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.field[readonly] { color: #475569; background: #f8fafc; }
.settings-layout { align-items: start; }
.settings-guide { position: sticky; top: 32px; }
.setting-preset {
    margin-top: 10px;
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-soft);
}
.setting-preset span, .setting-preset strong { display: block; }
.setting-preset span { margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.setting-preset strong { color: #334155; font-size: 13px; }
.link-button {
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    cursor: pointer;
    font: inherit;
}
.product-name-field { max-width: 360px; }
.product-status-field { max-width: 140px; }
.mobile-only { display: none; }
.sidebar-head { display: block; }
.sidebar-panel { min-height: 0; flex: 1; display: flex; flex-direction: column; }
.nav a { gap: 10px; }
.nav a i {
    width: 24px;
    flex: 0 0 24px;
    color: #6e9a9a;
    font: 700 9px/1 "SFMono-Regular", Consolas, monospace;
    letter-spacing: .05em;
    opacity: .8;
}
.nav a.active i, .nav a:hover i { color: #8ee4d7; opacity: 1; }
.nav-toggle {
    display: none;
    min-height: 36px;
    padding: 7px 10px;
    border: 1px solid rgba(142, 228, 215, .22);
    border-radius: 9px;
    color: #c7d8da;
    background: rgba(255, 255, 255, .06);
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
}
.nav-toggle-icon { display: grid; gap: 3px; }
.nav-toggle-icon i { width: 14px; height: 1px; display: block; background: currentColor; }
.sidebar-foot small { display: block; margin-bottom: 3px; color: #759195; font-size: 10px; }
.sidebar-foot span { min-width: 0; }
.admin-feedback {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}
.admin-feedback > div { min-width: 0; display: grid; gap: 3px; }
.admin-feedback strong { font-size: 12px; }
.admin-feedback span:not(.notice-mark) { line-height: 1.6; }
.notice-mark {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: currentColor;
    background: rgba(255, 255, 255, .7);
    font-weight: 800;
}
.copy-row { display: flex; align-items: stretch; gap: 9px; }
.copy-row code { min-width: 0; flex: 1; }
.btn.is-copied { color: #166534; background: #dcfce7; }
.btn.is-submitting { cursor: wait; }
.page-toolbar {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.page-toolbar h2 { margin: 0; font-size: 20px; }
.page-toolbar p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.page-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}
.page-back::before { content: "←"; font-size: 17px; }
.license-summary {
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff, #f5fbf9);
    box-shadow: var(--shadow);
}
.license-summary-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.license-summary-head h2 { margin: 0; font-size: 22px; }
.license-summary-head p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.license-summary-grid {
    margin-top: 17px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.license-summary-item {
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid #e1ece9;
    border-radius: 11px;
    background: rgba(255, 255, 255, .72);
}
.license-summary-item span, .license-summary-item strong { display: block; }
.license-summary-item span { margin-bottom: 6px; color: var(--muted); font-size: 11px; }
.license-summary-item strong { overflow-wrap: anywhere; font-size: 13px; }
.license-detail-layout { align-items: start; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); }
.license-detail-layout .card { min-width: 0; }
.permission-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.permission-option {
    position: relative;
    min-height: 61px;
    padding: 12px 13px 12px 38px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fbfdfd;
    color: #334155;
    cursor: pointer;
}
.permission-option input { position: absolute; top: 18px; left: 14px; accent-color: var(--primary); }
.permission-option strong, .permission-option small { display: block; }
.permission-option strong { font-size: 13px; }
.permission-option small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.permission-option:has(input:checked) { border-color: #8bd5c7; background: #effaf7; box-shadow: 0 0 0 2px rgba(15, 118, 110, .08); }
.domain-bind-form { align-items: stretch; }
.domain-bind-form .field { min-width: 0; flex: 1 1 220px; }
.domain-cards { margin-top: 17px; display: grid; gap: 10px; }
.domain-card {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfdfd;
}
.domain-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.domain-card-head strong { min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
.domain-card-meta { margin: 12px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.domain-card-meta div { padding: 9px; border-radius: 8px; background: var(--surface-soft); }
.domain-card-meta span, .domain-card-meta strong { display: block; }
.domain-card-meta span { margin-bottom: 4px; color: var(--muted); font-size: 10px; }
.domain-card-meta strong { font-size: 12px; }
.domain-card .actions { justify-content: flex-end; }
.license-mobile-list.mobile-only { display: none; gap: 11px; }
.license-list-card {
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(23, 58, 60, .05);
}
.license-list-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.license-list-head h3 { min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: 15px; }
.license-list-product { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.license-list-grid { margin: 14px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.license-list-grid div { min-width: 0; padding: 10px; border-radius: 9px; background: var(--surface-soft); }
.license-list-grid span, .license-list-grid strong { display: block; }
.license-list-grid span { margin-bottom: 4px; color: var(--muted); font-size: 10px; }
.license-list-grid strong { overflow-wrap: anywhere; font-size: 12px; }
.license-list-card .btn { width: 100%; }
.docs-intro {
    padding: 23px;
    border: 1px solid #bde3da;
    border-radius: 17px;
    color: #0f514b;
    background: linear-gradient(135deg, #effbf8, #f8fcfb);
}
.docs-intro h2 { margin: 0; font-size: 20px; }
.docs-intro p { max-width: 760px; margin: 8px 0 0; color: #56716e; font-size: 13px; line-height: 1.7; }
.integration-steps { margin-top: 17px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.integration-step { padding: 13px; border: 1px solid rgba(15, 118, 110, .15); border-radius: 11px; background: rgba(255, 255, 255, .74); }
.integration-step b { color: var(--primary); font: 700 11px/1 "SFMono-Regular", Consolas, monospace; }
.integration-step strong { display: block; margin-top: 8px; font-size: 12px; }
.integration-step span { display: block; margin-top: 4px; color: #6b8380; font-size: 11px; line-height: 1.5; }
.api-card { padding: 21px; }
.api-card-head { display: flex; align-items: flex-start; gap: 12px; }
.api-method {
    min-width: 48px;
    padding: 7px 8px;
    border-radius: 8px;
    color: #fff;
    background: var(--primary);
    text-align: center;
    font: 700 10px/1 "SFMono-Regular", Consolas, monospace;
}
.api-card-head h2 { margin: 0; font-size: 17px; }
.api-card-head p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.api-section-label { display: block; margin: 18px 0 7px; color: #526a68; font-size: 11px; font-weight: 700; }
.endpoint-row { display: flex; align-items: stretch; gap: 8px; }
.endpoint-row .code-box { min-width: 0; flex: 1; }
.endpoint-row .btn { align-self: center; flex: 0 0 auto; }
.code-box code { font: inherit; }
.api-return {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}
.key-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.copy-block { min-width: 0; }
.copy-block .code-box { min-height: 48px; }
.code-box { overflow-wrap: anywhere; }

@media (max-width: 1000px) {
    .grid.metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .app-shell { grid-template-columns: 224px minmax(0, 1fr); }
    .main { padding: 28px 24px; }
    .card { padding: 21px; }
}

@media (max-width: 760px) {
    .app-shell { display: block; }
    .sidebar {
        position: sticky;
        top: 0;
        z-index: 20;
        height: auto;
        padding: 15px 14px 12px;
        box-shadow: 0 8px 24px rgba(13, 43, 48, .14);
    }
    .sidebar-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .brand { min-width: 0; padding: 0 4px; }
    .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
    .nav-toggle { display: inline-flex; }
    .sidebar-panel { display: none; margin-top: 14px; }
    .sidebar.is-open .sidebar-panel { display: flex; }
    .nav { grid-template-columns: 1fr; gap: 6px; }
    .nav a { min-height: 42px; padding: 9px 11px; font-size: 13px; }
    .sidebar-foot { margin-top: 12px; padding: 11px 4px 0; }
    .main { padding: 20px 14px 30px; }
    .grid.metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
    .grid.two, .form-grid, .requirements, .detail-grid, .download-grid {
        grid-template-columns: 1fr;
    }
    .form-grid .wide { grid-column: auto; }
    .topbar { align-items: flex-start; margin-bottom: 19px; padding-bottom: 16px; }
    .topbar h1 { font-size: 24px; }
    .filter-bar { align-items: stretch; }
    .filter-bar .select, .filter-bar .btn { width: 100%; }
    .actions { align-items: stretch; }
    .actions .btn { flex: 1 1 180px; }
    .metric { padding: 16px; }
    .metric strong { margin-top: 8px; font-size: 25px; }
    .download-card { align-items: stretch; flex-direction: column; }
    .settings-guide { position: static; }
    .desktop-only { display: none !important; }
    .mobile-only { display: block; }
    .license-mobile-list.mobile-only { display: grid; }
    .license-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .license-detail-layout { grid-template-columns: 1fr; }
    .integration-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .key-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .brand strong { font-size: 14px; }
    .brand small { font-size: 10px; }
    .nav a { font-size: 12px; }
    .main { padding-inline: 11px; }
    .card { padding: 18px 15px; border-radius: 15px; }
    .card-head { align-items: stretch; flex-direction: column; gap: 10px; }
    .card-head .btn { width: 100%; }
    .metric span { font-size: 12px; }
    .metric strong { font-size: 23px; }
    .actions .btn { width: 100%; flex-basis: 100%; }
    th, td { padding: 11px 9px; }
    .sidebar { padding-inline: 11px; }
    .brand strong { font-size: 13px; }
    .nav-toggle { padding-inline: 9px; }
    .copy-row, .endpoint-row { flex-direction: column; }
    .copy-row .btn, .endpoint-row .btn { width: 100%; }
    .license-summary { padding: 15px; }
    .license-summary-head { align-items: stretch; flex-direction: column; }
    .license-summary-head > .badge { align-self: flex-start; }
    .license-summary-grid, .license-list-grid, .domain-card-meta { grid-template-columns: 1fr; }
    .permission-options { grid-template-columns: 1fr; }
    .page-toolbar { align-items: flex-start; flex-direction: column; }
    .integration-steps { grid-template-columns: 1fr; }
    .docs-intro { padding: 17px; }
    .api-card { padding: 17px 15px; }
}
