:root {
    color-scheme: light;
    --ink: #22352d;
    --muted: #64766a;
    --line: #e3e9e5;
    --paper: #f5f7f6;
    --card: #fff;
    --green: #276b55;
    --green-dark: #1d5542;
    --mint: #eaf4ee;
    --amber: #946b2e;
    --amber-bg: #fcf5e7;
    --red: #a44740;
    --red-bg: #fcf0ee;
    --sidebar-width: 250px;
    --radius: 12px;
    font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 14px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei UI","PingFang SC","Noto Sans CJK SC",sans-serif; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
button,input,select,textarea { font: inherit; }
button,a,input,select,textarea,summary { -webkit-tap-highlight-color: transparent; }
button,a,summary { touch-action: manipulation; }
button { cursor: pointer; }
a { color: var(--green); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
button { transition: background-color 140ms,color 140ms,border-color 140ms,box-shadow 140ms; }
:where(a,button,input,select,textarea,summary):focus-visible { outline: 3px solid #96c4aa; outline-offset: 3px; }
button:disabled { opacity: .48; cursor: not-allowed; }
p { margin: 0 0 14px; }
h1,h2,h3 { color: var(--ink); font-weight: 650; }
h1 { margin: 0; font-size: clamp(24px,2.1vw,30px); line-height: 1.3; letter-spacing: -.035em; }
h2 { margin: 0 0 12px; font-size: 16px; line-height: 1.5; letter-spacing: -.015em; }
h3 { margin: 0 0 10px; font-size: 14px; }
code,pre,kbd,.money { font-family: "Cascadia Code","SFMono-Regular",Consolas,monospace; }
code { font-size: .9em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.ui-icon { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 16px; color: #fff; background: var(--green); border-radius: 7px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.shell { min-height: 100dvh; display: grid; grid-template-columns: var(--sidebar-width) minmax(0,1fr); }
.admin-sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; min-width: 0; background: var(--card); border-right: 1px solid var(--line); z-index: 30; padding: 27px 16px 0; }
.sidebar-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); padding: 0 12px 27px; }
.sidebar-brand:hover { text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: var(--green); }
.brand-mark .ui-icon { width: 27px; height: 27px; stroke-width: 1.5; }
.sidebar-brand strong { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.03em; }
.sidebar-brand small { display: block; color: #929c96; font-size: 10px; letter-spacing: .12em; margin-top: 2px; }
.nav-search-wrap { position: relative; margin: 0 7px 22px; }
.nav-search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #f8faf9; }
.nav-search .ui-icon { width: 16px; height: 16px; color: #85928a; }
.nav-search input { min-width: 0; width: 100%; min-height: 0; height: 32px; padding: 0; border: 0; border-radius: 0; outline: none; box-shadow: none; background: transparent; font-size: 12px; }
.nav-search input:focus { box-shadow: none; border: 0; }
.nav-search:focus-within { border-color: #8ebba0; box-shadow: 0 0 0 3px #276b550c; }
.nav-search input::-webkit-search-cancel-button { display: none; }
.nav-search kbd { color: #98a19b; font-size: 9px; white-space: nowrap; border: 1px solid #e5eae7; padding: 0 4px; border-radius: 3px; line-height: 18px; }
.nav-search-clear { position: absolute; top: 7px; right: 8px; width: 24px; height: 24px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 4px; color: var(--muted); background: #f8faf9; }
.nav-search-clear .ui-icon { width: 14px; height: 14px; }
.nav-search-wrap:has(.nav-search-clear:not([hidden])) kbd { visibility: hidden; }
.admin-navigation { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 0 3px 14px; }
.nav-group { margin-bottom: 11px; }
.nav-group > summary { list-style: none; display: flex; align-items: center; gap: 9px; min-height: 36px; padding: 7px 10px; cursor: pointer; color: #64766a; font-size: 12px; font-weight: 600; letter-spacing: .025em; border-radius: 6px; user-select: none; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary:hover { background: #f7f9f7; color: #52665a; }
.nav-group > summary > .ui-icon:first-child { width: 15px; height: 15px; }
.nav-group-count { margin-left: auto; font-weight: 400; font-size: 10px; color: #a1aba4; }
.nav-group .nav-chevron { width: 13px; height: 13px; transition: transform 150ms; transform: rotate(-90deg); }
.nav-group[open] .nav-chevron { transform: rotate(0); }
.nav-group-items { display: grid; gap: 3px; margin-top: 4px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 11px; min-height: 40px; padding: 8px 13px; border-radius: 7px; color: #5e6f64; font-size: 13px; transition: background-color 130ms,color 130ms; }
.nav-item > .ui-icon { width: 18px; height: 18px; color: #8b9990; }
.nav-item:hover { color: var(--green); background: #f3f7f4; text-decoration: none; }
.nav-item[aria-current=page] { color: var(--green-dark); background: var(--mint); font-weight: 650; }
.nav-item[aria-current=page] > .ui-icon { color: var(--green); }
.nav-active-dot { display: none; width: 5px; height: 5px; margin-left: auto; border-radius: 50%; background: #4d9170; }
.nav-item[aria-current=page] .nav-active-dot { display: block; }
.nav-empty { padding: 12px 14px; color: var(--muted); font-size: 12px; }
.sidebar-bottom { border-top: 1px solid var(--line); padding: 15px 9px 19px; }
.sidebar-environment { display: flex; align-items: center; gap: 6px; color: #909c94; font-size: 10px; margin-bottom: 14px; }
.sidebar-environment > span { width: 5px; height: 5px; background: #74a789; border-radius: 50%; }
.sidebar-account { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.sidebar-account:hover { text-decoration: none; }
.account-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #f0f4f1; color: #66816d; font-size: 12px; font-weight: 650; }
.sidebar-account strong { display: block; font-size: 12px; font-weight: 600; }
.sidebar-account small { display: block; font-size: 10px; color: #929d96; }
.sidebar-account > .ui-icon { margin-left: auto; width: 15px; height: 15px; color: #a2ada5; }
.admin-workspace { min-width: 0; }
.workspace-bar { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 20px; height: 64px; padding: 0 clamp(20px,2.8vw,42px); background: #fffffffa; border-bottom: 1px solid var(--line); }
.workspace-bar-start,.workspace-actions,.breadcrumbs { display: flex; align-items: center; }
.workspace-bar-start { gap: 12px; min-width: 0; }
.breadcrumbs { gap: 10px; font-size: 11px; color: #8a978f; white-space: nowrap; }
.breadcrumbs a { color: #8a978f; }
.breadcrumbs .ui-icon { width: 12px; height: 12px; color: #bbc3bd; }
.breadcrumb-current { color: #4c6355; font-weight: 500; }
.workspace-actions { flex-shrink: 0; gap: 14px; }
.workspace-date { color: #97a098; font-size: 11px; letter-spacing: .035em; }
.icon-button { border: 1px solid transparent; background: transparent; width: 32px; height: 32px; display: inline-grid; place-items: center; padding: 0; border-radius: 7px; color: #7b8b80; }
.icon-button:hover { background: #f1f5f2; color: var(--green); }
.icon-button .ui-icon { width: 17px; height: 17px; }
.logout { margin: 0; }
.logout-button { display: flex; align-items: center; gap: 7px; border: 0; border-left: 1px solid var(--line); padding: 3px 0 3px 16px; background: transparent; color: #7a887e; font-size: 11px; }
.logout-button:hover { color: var(--green-dark); }
.logout-button .ui-icon { width: 16px; height: 16px; }
.mobile-menu-button,.sidebar-close,.sidebar-backdrop { display: none; }
.admin-main { width: 100%; max-width: 1550px; margin: 0 auto; padding: 32px clamp(20px,2.8vw,42px) 22px; outline: none; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.eyebrow { margin: 0 0 6px; color: #96a097; font-size: 10px; font-weight: 500; letter-spacing: .12em; }
.page-description { margin: 9px 0 0; color: var(--muted); font-size: 12px; max-width: 72ch; line-height: 1.8; }
.page-heading-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.page-content { min-width: 0; }
.workspace-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0 0; color: #a1aaa3; font-size: 10px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 23px 24px; margin-bottom: 20px; min-width: 0; }
.panel-heading { margin-bottom: 19px; }
.panel-heading h2 { margin-bottom: 5px; }
.panel-heading p,.panel-description { color: var(--muted); font-size: 12px; margin-bottom: 0; max-width: 86ch; }
.panel-kicker { color: #8c9b91; font-size: 10px; margin: 0 0 7px; letter-spacing: .08em; }
.panel > :last-child { margin-bottom: 0; }
.page-intro { color: var(--muted); font-size: 12px; padding: 0 1px; margin: -8px 0 20px; max-width: 95ch; }
.stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 20px; }
.stat { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 19px 21px 18px; }
.stat-label { color: #64766a; font-size: 12px; }
.stat-value { display: block; margin: 9px 0 7px; font-size: 29px; font-weight: 650; line-height: 1.2; letter-spacing: -.04em; }
.stat-note { color: #7a8b7e; font-size: 11px; line-height: 1.7; }
.metrics,.detail-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.metrics-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
dl.detail-grid { margin-top: 18px; font-size: 12px; }
dl.detail-grid dt { color: var(--muted); font-size: 11px; }
dl.detail-grid dd { margin: 5px 0 0; overflow-wrap: anywhere; }
.metric { min-width: 0; border: 1px solid #e8eee9; border-radius: 8px; padding: 14px 16px; font-size: 12px; color: var(--muted); }
.metric strong { display: block; margin: 6px 0 3px; color: var(--ink); font-size: 23px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.metric .muted { display: block; font-size: 10px; }
.split { display: grid; grid-template-columns: 1.12fr 1fr; align-items: start; gap: 20px; }
.split > .panel { height: 100%; }
.filter-grid,.form-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; align-items: end; }
.form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.filter-panel { padding: 20px 24px; }
.dashboard-filters { padding: 15px 21px; }
.dashboard-filters > summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; list-style: none; }
.dashboard-filters > summary::-webkit-details-marker { display: none; }
.dashboard-filter-label,.dashboard-filter-range { display: flex; align-items: center; gap: 10px; }
.dashboard-filter-label { color: #607767; font-size: 12px; }
.dashboard-filter-label strong { font-weight: 500; }
.dashboard-filter-label .ui-icon { width: 17px; height: 17px; }
.dashboard-filter-range { color: #82968a; font-size: 11px; }
.dashboard-filter-range .ui-icon { width: 14px; height: 14px; transition: transform 150ms; }
.dashboard-filters[open] .dashboard-filter-range .ui-icon { transform: rotate(180deg); }
.dashboard-filter-body { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.dashboard-filter-body .filter-panel { padding: 0; margin: 0; border: 0; border-radius: 0; }
.filter-panel h2,.filter-panel .panel-heading h2 { font-size: 13px; }
.filter-grid > .actions { min-height: 40px; align-self: end; }
label { display: grid; gap: 7px; min-width: 0; color: #607266; font-size: 12px; font-weight: 500; }
input,select,textarea { width: 100%; min-width: 0; min-height: 40px; border: 1px solid #dbe4dd; border-radius: 7px; padding: 9px 11px; background: #fff; color: var(--ink); font-size: 13px; line-height: 1.55; transition: border-color 140ms,box-shadow 140ms; }
input:hover,select:hover,textarea:hover { border-color: #b9cdbf; }
input:focus,select:focus,textarea:focus { outline: none; border-color: #8ab89b; box-shadow: 0 0 0 3px #276b550b; }
input::placeholder,textarea::placeholder { color: #b0b8b1; }
input[readonly] { background: #f6f8f6; color: #91a095; }
input[type=checkbox],input[type=radio] { width: 15px; height: 15px; min-height: 0; padding: 0; accent-color: var(--green); }
input[type=file] { padding: 7px 10px; font-size: 11px; }
input::file-selector-button { border: 0; border-radius: 4px; background: #eff4f0; color: #557060; padding: 4px 9px; margin-right: 8px; font: inherit; cursor: pointer; }
textarea { resize: vertical; }
fieldset { min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin: 0; }
legend { color: var(--muted); font-size: 11px; padding: 0 6px; }
.actions,.action-bar { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.action-bar { margin-top: 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; border: 1px solid var(--green); border-radius: 7px; padding: 8px 15px; background: var(--green); color: #fff; font: inherit; font-size: 12px; font-weight: 500; line-height: 1.55; cursor: pointer; white-space: nowrap; text-decoration: none; }
.button:hover { color: #fff; background: var(--green-dark); border-color: var(--green-dark); text-decoration: none; }
.button:active { transform: translateY(1px); }
.button.secondary { color: #6d8172; border-color: #dfe6e1; background: #fff; }
.button.secondary:hover { background: #f4f8f5; border-color: #c6d8cb; color: var(--green); }
.button.tertiary { color: var(--green); border-color: transparent; background: transparent; padding-inline: 8px; }
.button .ui-icon { width: 16px; height: 16px; }
.form-section { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-section-title { font-size: 12px; margin-bottom: 15px; }
.form-wide,.config-wide { grid-column: 1/-1; }
.form-status,.api-status { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; color: var(--green-dark); margin: 12px 0 0; }
.form-status:empty,.api-status:empty { display: none; }
.form-status:not(:empty),.api-status:not(:empty) { padding: 11px 13px; border-radius: 6px; background: #f2f7f3; border: 1px solid #e2ede5; }
.api-status[role=alert],.form-status[role=alert] { color: var(--red); background: var(--red-bg); border-color: #f1dcd7; }
.source-form { display: grid; gap: 16px; min-width: 240px; }
.channel-form { display: grid; gap: 16px; }
.revenue-form textarea { min-height: 82px; }
fieldset.form-section { margin-top: 12px; padding: 18px; border: 1px solid var(--line); }
.source-form .capabilities,.capabilities { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 18px; }
.source-form .check,.check { display: flex; align-items: center; gap: 8px; }
.table-wrap { width: 100%; overflow: auto; max-height: min(72dvh,900px); border: 1px solid var(--line); border-radius: 8px; scrollbar-width: thin; scrollbar-color: #c7d3ca transparent; overscroll-behavior: contain; }
table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 860px; background: #fff; text-align: left; font-size: 13px; }
th,td { padding: 13px 15px; border-bottom: 1px solid #edf1ed; vertical-align: top; white-space: nowrap; }
th { position: sticky; top: 0; z-index: 2; background: #f8faf8; color: #607266; font-weight: 500; font-size: 11px; letter-spacing: .01em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fafcfb; }
td { color: #4d6554; line-height: 1.8; }
td strong { font-weight: 600; color: #2d4937; }
td .muted { font-size: 10px; line-height: 1.75; }
td code { display: inline-block; max-width: 300px; overflow-wrap: anywhere; white-space: normal; color: #7f9284; font-size: 10px; }
td a:not(.button) { font-weight: 500; }
.empty-state { padding: 38px 20px; text-align: center; color: #93a197; font-size: 12px; white-space: normal; line-height: 1.8; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 17px; color: #94a198; font-size: 11px; }
.pager .button { min-height: 32px; font-size: 11px; padding: 5px 11px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border: 1px solid #e1ede4; border-radius: 5px; background: #eff6f0; color: #64876b; font-size: 10px; line-height: 1.65; font-weight: 400; }
.tag.warn { color: var(--amber); background: var(--amber-bg); border-color: #f3e8cc; }
.tag.danger { color: var(--red); background: var(--red-bg); border-color: #f1dcd7; }
.notice,.inline-note { border: 1px solid #f0e7d2; border-radius: 7px; background: #fffbf1; color: #937a45; padding: 12px 15px; font-size: 12px; line-height: 1.85; margin: 0 0 16px; }
.notice[role=alert] { color: var(--red); background: var(--red-bg); border-color: #f1dcd7; }
.inline-note { background: #f5f8f5; border-color: #e3ebe4; color: #7b8d7f; }
.muted { color: var(--muted); font-size: 12px; }
details > summary { cursor: pointer; color: #5e7c66; font-size: 12px; }
details > summary:hover { color: var(--green); }
.help-details { margin-top: 17px; border-top: 1px solid var(--line); padding-top: 14px; color: var(--muted); font-size: 12px; }
.help-details > summary { list-style-position: inside; color: #82968a; font-size: 11px; }
.help-details[open] > summary { margin-bottom: 12px; }
.help-details p { max-width: 100ch; line-height: 1.9; }
.section-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 19px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.section-tabs .button { min-height: 32px; padding: 5px 12px; font-size: 11px; }
.stack { display: grid; gap: 16px; }
.stack > :last-child { margin-bottom: 0; }
.code-block,.config-editor { display: block; max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; font: 11px/1.8 "Cascadia Code",Consolas,monospace; background: #f7faf7; border: 1px solid var(--line); border-radius: 7px; padding: 15px; color: #597262; }
.config-editor { min-height: 360px; width: 100%; tab-size: 2; resize: vertical; }
.impact-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 16px 0; }
.impact-item { padding: 12px 14px; background: #f7faf7; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); font-size: 11px; }
.impact-item strong { font-weight: 500; color: #607b69; }
.job-members { display: grid; gap: 10px; }
.job-member { padding: 12px; background: #f7faf7; border: 1px solid var(--line); border-radius: 7px; }
.garden-map-preview { display: block; width: 100%; max-width: 460px; background: #eef4ed; border-radius: 8px; margin-top: 12px; }
.quick-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.quick-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 8px; color: #53745e; background: #fff; }
.quick-link:hover { background: #f2f7f3; border-color: #bed6c6; text-decoration: none; }
.quick-link strong { display: block; font-size: 12px; font-weight: 600; }
.quick-link small { display: block; font-size: 10px; color: #9aab9f; margin-top: 3px; }
.asset-section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.asset-section-title h2 { margin: 0; }
.asset-buttons { margin-top: 18px; }
.asset-guide { margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.asset-guide summary { color: #809486; font-size: 11px; }
.asset-guide[open] summary { margin-bottom: 12px; }
.asset-guide p { max-width: 95ch; line-height: 1.9; }
.asset-file-label { grid-column: span 2; }
.asset-progress { width: 100%; height: 10px; accent-color: var(--green); margin-top: 12px; }
.asset-upload-results { padding-left: 20px; overflow-wrap: anywhere; color: var(--green); font-size: 12px; }
.asset-upload-results li { padding: 4px 0; }
.asset-library-filter { max-width: 300px; margin-bottom: 17px; }
[data-assets-body] td { white-space: normal; max-width: 380px; overflow-wrap: anywhere; }
.asset-thumbnail { width: 52px; height: 52px; display: block; object-fit: contain; margin-bottom: 7px; background: var(--paper); border-radius: 6px; }
.asset-directory-guide { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-bottom: 20px; }
.asset-directory-guide > div { border-left: 2px solid #d2e6d8; padding-left: 13px; color: var(--muted); font-size: 11px; }
.asset-directory-guide strong { display: block; color: #52765e; font-weight: 600; margin-bottom: 4px; }
.security-form { max-width: 840px; }
.security-form .form-grid { grid-template-columns: 1fr; max-width: 440px; }
.input-with-action { position: relative; }
.input-with-action input { padding-right: 60px; }
.input-with-action button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: #fff; padding: 3px 7px; color: #829587; font-size: 11px; border-radius: 4px; }
.auth-page { min-height: 100dvh; display: grid; grid-template-columns: minmax(320px,.8fr) 1.2fr; background: #f6f8f6; }
.auth-story { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: clamp(32px,5vw,80px); background: #255b45; color: #fff; }
.auth-story .sidebar-brand { padding: 0; color: #fff; }
.auth-story .sidebar-brand small { color: #a3c1ae; }
.auth-story .brand-mark { background: #ffffff12; border: 1px solid #ffffff20; }
.auth-story-content { position: relative; z-index: 1; margin: auto 0; padding: 80px 0; max-width: 380px; }
.auth-story h2 { color: #f1f7f2; font-size: clamp(25px,2.8vw,39px); line-height: 1.5; letter-spacing: -.04em; margin-bottom: 22px; }
.auth-story-content > p { color: #a8c4b1; font-size: 13px; max-width: 30ch; }
.auth-story-topics { display: grid; gap: 15px; margin-top: 45px; color: #d2e5d8; font-size: 12px; }
.auth-story-topics span { display: flex; gap: 12px; align-items: center; }
.auth-story-topics .ui-icon { width: 18px; height: 18px; color: #9bc3a8; }
.auth-watermark { position: absolute; width: 360px; height: 360px; right: -155px; bottom: 20px; color: #ffffff08; stroke-width: .6; transform: rotate(-15deg); }
.auth-story-footer { color: #8eaf9a; font-size: 10px; letter-spacing: .035em; }
.auth-content { display: grid; place-items: center; padding: 40px; }
.auth-content > div { width: min(100%,420px); }
.auth-card { width: min(100%,420px); padding: 38px; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 16px 54px #244b3410; }
.auth-kicker { font-size: 10px; color: #92a498; letter-spacing: .13em; margin-bottom: 10px; }
.auth-card h1 { font-size: 25px; }
.auth-card .auth-description { color: var(--muted); font-size: 12px; margin: 11px 0 28px; }
.auth-form { display: grid; gap: 20px; }
.auth-form label { font-size: 12px; }
.auth-form input { min-height: 44px; font-size: 13px; }
.auth-submit { width: 100%; min-height: 44px; margin-top: 6px; font-size: 13px; }
.auth-note { text-align: center; color: #a1afa5; font-size: 10px; margin-top: 24px; }
.auth-card .notice { margin-top: 17px; margin-bottom: 20px; }
.auth-mobile-brand { display: none; }
@media (min-width: 1600px) { :root { --sidebar-width: 262px; } }
@media (max-width: 1279px) {
    .filter-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .metrics,.detail-grid,.impact-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .asset-directory-guide { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 1023px) {
    .shell { display: block; }
    .admin-sidebar { position: fixed; left: 0; width: 270px; height: 100dvh; transform: translateX(-100%); transition: transform 180ms ease; box-shadow: 15px 0 50px #203b2820; }
    body[data-menu-open] { overflow: hidden; }
    body[data-menu-open] .admin-sidebar { transform: translateX(0); }
    .sidebar-backdrop { position: fixed; inset: 0; z-index: 25; display: block; border: 0; border-radius: 0; background: #172e235c; }
    .sidebar-close { display: inline-grid; position: absolute; top: 10px; right: 8px; }
    .mobile-menu-button { display: inline-grid; }
    .workspace-bar { padding-inline: 20px; }
    .admin-main { padding: 25px 20px 18px; }
    .stats { gap: 11px; }
    .stat { padding: 16px; }
    .stat-value { font-size: 25px; }
    .auth-page { grid-template-columns: .8fr 1.2fr; }
    .auth-story { padding: 32px; }
    .auth-story-content { padding-block: 55px; }
}
@media (max-width: 799px) {
    .stats,.quick-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .split { grid-template-columns: 1fr; }
    .filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .breadcrumbs { gap: 7px; }
    .breadcrumbs > span:not(.breadcrumb-current),.breadcrumbs > .ui-icon:nth-child(4),.workspace-date { display: none; }
    .workspace-actions { gap: 6px; }
    .logout-button { padding-left: 10px; }
    .panel { padding: 20px; }
    .auth-page { grid-template-columns: 1fr; }
    .auth-story { display: none; }
    .auth-content { padding: 28px 20px; }
    .auth-mobile-brand { display: flex; padding: 0 0 28px; }
    .auth-card { padding: 30px; }
}
@media (max-width: 559px) {
    .workspace-bar { height: 57px; padding-inline: 12px; gap: 8px; }
    .workspace-bar-start { gap: 7px; }
    .breadcrumbs { font-size: 10px; gap: 5px; }
    .breadcrumbs > a,.breadcrumbs > .ui-icon { display: none; }
    .workspace-actions .icon-button { width: 28px; }
    .logout-button span { display: none; }
    .admin-main { padding: 23px 14px 18px; }
    .page-heading { margin-bottom: 21px; flex-direction: column; align-items: stretch; gap: 14px; }
    .page-description { font-size: 11px; }
    .dashboard-filters > summary { align-items: flex-start; flex-direction: column; gap: 7px; }
    .panel { padding: 17px 15px; margin-bottom: 16px; border-radius: 10px; }
    .filter-grid,.form-grid { grid-template-columns: 1fr; gap: 13px; }
    .asset-file-label { grid-column: auto; }
    .metrics,.detail-grid { gap: 9px; }
    .metrics-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .metric { padding: 12px; }
    .metric strong { font-size: 20px; }
    .stats { gap: 9px; }
    .stat { padding: 14px; }
    .stat-value { font-size: 25px; }
    .stat-note { font-size: 10px; }
    .table-wrap { max-height: 65dvh; }
    th,td { padding: 11px 13px; }
    .pager { flex-direction: column; align-items: flex-start; }
    .source-form { min-width: 210px; }
    .capabilities,.source-form .capabilities { grid-template-columns: 1fr; }
    .workspace-footer { flex-direction: column; align-items: flex-start; gap: 3px; }
    .asset-section-title { align-items: flex-start; }
    .asset-section-title .button { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    *,*::before,*::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
