:root {
  --ops-rail-width: clamp(202px, 15vw, 246px);
  --ops-pad: clamp(23px, 2.9vw, 58px);
  --ops-ink: #142820;
  --ops-muted: #53685f;
  --ops-border: #d5ded9;
  --ops-canvas: #f4f7f5;
  --ops-green: #0a6548;
  --ops-rail: #0c2820;
}
body.ops-admin {
  margin: 0; color: var(--ops-ink); background: var(--ops-canvas);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px; line-height: 1.5; color-scheme: light;
  --body-bg: white; --body-fg: #20362c; --body-quiet-color: #4d6258;
  --body-medium-color: #3a5047; --body-loud-color: #152c21; --hairline-color: #e0e7e2;
  --border-color: #cad6cf; --darkened-bg: #f3f7f4; --selected-bg: #e6f2eb;
  --primary: #276b50; --secondary: #154c37; --accent: #92e7b8;
  --link-fg: #126844; --link-hover-color: #07432d; --link-selected-fg: #0d5a3e;
  --default-button-bg: #145c40; --default-button-hover-bg: #093d29;
  --button-bg: #1a6850; --button-hover-bg: #124a37; --button-fg: white;
}
.ops-admin *:focus-visible {outline: 3px solid #38a67f; outline-offset: 2px;}
.ops-icon {width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; display: block;}
.ops-admin:not(.login):not(.popup) #container {padding-inline-start: var(--ops-rail-width); box-sizing: border-box; background:var(--ops-canvas); min-width:0; width:100%; min-height:100vh;}
.ops-admin .main {width:100%; min-width:0;}
.ops-admin #content-start {width:100%; min-width:0; max-width:none; box-sizing:border-box;}
.ops-admin:not(.login):not(.popup) #content {box-sizing:border-box; margin:0 auto; width:100%; max-width:1840px; padding:clamp(23px,2.45vw,44px) var(--ops-pad) 52px; float:none; min-width:0;}
.ops-admin #content > h1 {font-size:clamp(25px,2.1vw,35px); line-height:1.3; color:var(--ops-ink); font-weight:720; letter-spacing:-.035em; margin:0 0 21px;}
.ops-admin #content > h2 {font-weight:500; color:var(--ops-muted); margin:0 0 18px; overflow-wrap:anywhere;}
.ops-admin #footer {padding:0;}
.ops-admin:not(.login) .breadcrumbs {background:transparent; color:var(--ops-muted); padding:15px var(--ops-pad) 0; line-height:1.5; font-size:.83rem; max-width:1840px; box-sizing:border-box; margin:auto; overflow-wrap:anywhere;}
.ops-admin:not(.login) .breadcrumbs a {color:var(--ops-green);}
.ops-rail {
  position:fixed; z-index:32; inset:0 auto 0 0; display:flex; flex-direction:column;
  width:var(--ops-rail-width); height:100vh; height:100dvh; box-sizing:border-box;
  padding:26px 14px 15px; background:var(--ops-rail); color:#eef7f0;
}
.ops-rail .ops-brand {display:flex; align-items:center; gap:11px; padding:0 12px 26px; color:white; font-size:22px; letter-spacing:-.05em; font-weight:740; text-decoration:none;}
.ops-brand img {width:35px; height:35px; flex:none;}
.ops-nav {overflow-y:auto; scrollbar-width:thin; scrollbar-color:#355747 transparent; padding:0 2px 8px;}
.ops-rail .ops-overview-link, .ops-rail .ops-nav-list a {display:flex; align-items:center; gap:13px; min-height:40px; box-sizing:border-box; padding:8px 13px; border-radius:7px; color:#d6e6dc; text-decoration:none; font-size:.93rem; line-height:1.35; font-weight:530;}
.ops-rail .ops-overview-link {margin-bottom:16px;}
.ops-rail .ops-nav-list a:hover,.ops-rail .ops-overview-link:hover {background:#1d3c30; color:white;}
.ops-rail a[aria-current="page"],.ops-rail a[aria-current="page"]:hover {color:#0c3325; background:#96ecc0; font-weight:720;}
.ops-rail a:focus-visible,.ops-rail summary:focus-visible,.ops-rail button:focus-visible {outline-color:#c4ffdd; outline-offset:-2px;}
.ops-rail .ops-nav-section h2,.ops-rail .ops-fold summary {background:none; margin:0; color:#9bb7a7; font-size:.77rem; letter-spacing:.055em; font-weight:640;}
.ops-rail .ops-nav-section {border-top:1px solid #294439; padding:15px 0 10px;}
.ops-rail .ops-nav-section h2 {padding:0 13px 7px;}
.ops-rail .ops-nav-list {list-style:none; padding:0; margin:0;}
.ops-rail .ops-nav-list li {list-style:none; margin:2px 0; padding:0;}
.ops-rail .ops-fold {border-top:1px solid #294439; margin:0; padding:3px 0;}
.ops-rail .ops-fold summary {list-style:none; display:flex; padding:10px 13px; justify-content:space-between; align-items:center; cursor:pointer;}
.ops-rail .ops-fold summary:hover {color:#e3f6e9;}
.ops-rail .ops-fold[open] summary svg {transform:rotate(180deg);}
.ops-rail .ops-fold .ops-nav-list {padding-bottom:8px;}
.ops-fold summary::-webkit-details-marker,.ops-account summary::-webkit-details-marker {display:none;}
.ops-topbar {box-sizing:border-box; width:100%; height:62px; padding:0 var(--ops-pad); display:flex; justify-content:space-between; align-items:center; gap:12px; background:white; border-bottom:1px solid var(--ops-border); position:relative; z-index:12;}
.ops-top-left,.ops-top-actions,.ops-account summary,.ops-public-link {display:flex; align-items:center;}
.ops-top-left {min-width:0; gap:12px; font-size:.9rem; white-space:nowrap;}
.ops-top-left a.ops-workspace {color:var(--ops-muted);}
.ops-current {font-weight:620; overflow:hidden; text-overflow:ellipsis;}
.ops-path-sep {color:#a9b9ae;}
.ops-top-actions {gap:18px; flex:none;}
.ops-top-actions a.ops-public-link {gap:7px; font-size:.86rem; font-weight:570; color:#304a3c;}
.ops-public-link svg {width:16px;height:16px;}
.ops-account {position:relative; padding-left:17px; border-left:1px solid var(--ops-border);}
.ops-account summary {list-style:none; gap:8px; cursor:pointer; font-size:.9rem; color:var(--ops-ink); min-height:38px; border-radius:5px;}
.ops-account .ops-user-name {max-width:110px; overflow:hidden; text-overflow:ellipsis;}
.ops-account summary .ops-icon {width:15px;height:15px;}
.ops-avatar {height:30px;width:30px;display:grid;place-items:center;color:#fff;background:#26734f;font-size:15px;font-weight:650;border-radius:50%;}
.ops-account-menu {position:absolute; right:0;top:calc(100% + 8px);border-radius:8px;background:white;border:1px solid var(--ops-border);padding:5px;width:142px;box-shadow:0 8px 30px #0c28201a;}
.ops-topbar .ops-account-menu a,.ops-topbar .ops-account-menu button {display:block;width:100%;box-sizing:border-box;text-align:start;font:inherit;color:var(--ops-ink);font-size:14px;background:transparent;border:0;padding:9px;border-radius:4px;cursor:pointer;}
.ops-topbar .ops-account-menu a:hover,.ops-topbar .ops-account-menu button:hover {background:#edf6ef;}
#ops-menu,.ops-rail-close,#ops-backdrop {display:none;}
@media(min-width:1950px) {.ops-topbar {padding-inline:max(var(--ops-pad),calc((100% - 1840px)/2 + var(--ops-pad)));}}
@media(max-width:900px) {
 .ops-admin:not(.login):not(.popup) #container {padding-inline-start:0;}
 .ops-rail {width:min(276px,85vw); transform:translateX(-102%); visibility:hidden;}
 .ops-nav-visible .ops-rail {transform:none; visibility:visible;}
 body.ops-nav-visible {overflow:hidden;}
 #ops-backdrop:not([hidden]) {display:block;position:fixed;inset:0;z-index:30;background:rgb(7 25 17 / .45);}
 #ops-menu,.ops-rail-close {display:grid;place-items:center;width:38px;height:38px;background:transparent;border:1px solid var(--ops-border);border-radius:8px;color:var(--ops-ink);cursor:pointer;padding:0;}
 .ops-rail-close {position:absolute;top:24px;right:12px;border-color:transparent;color:white;}
 .ops-rail .ops-brand {padding-right:43px;}
 .ops-topbar {height:58px;padding:0 18px;}
}
@media(max-width:580px) {
 :root {--ops-pad:16px;}
 .ops-admin:not(.login):not(.popup) #content {padding-top:22px;}
 .ops-top-left,.ops-top-actions {gap:8px;}
 .ops-topbar {padding:0 13px;}
 .ops-topbar .ops-account {padding-left:8px;}
 .ops-account .ops-user-name {display:none;}
 .ops-topbar a.ops-public-link {font-size:.8rem;}
}
@media(max-width:360px){.ops-top-left .ops-workspace,.ops-top-left .ops-path-sep {display:none;}}
@media print {.ops-admin:not(.login):not(.popup) #container{padding:0;}.ops-rail,.ops-topbar,#ops-backdrop{display:none!important;}}
.ops-app-index .module {background:white; border:1px solid var(--ops-border); border-radius:10px; overflow:hidden;}
.ops-app-index .module caption {background:#174a37; padding:12px 16px; text-align:start;}
.ops-app-index .module table {width:100%;}
.ops-app-index .module tbody th,.ops-app-index .module tbody td {padding:12px 16px;}
.ops-app-index .module tbody th {text-align:start;}
.ops-topbar {flex-shrink:0;}
@media(min-width:760px){
  .ops-admin:not(.popup) #content:has(#changelist) {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px 14px;align-items:center;}
  .ops-admin:not(.popup) #content:has(#changelist) > h1 {grid-column:1;grid-row:1;margin:0;}
  .ops-admin:not(.popup) #content:has(#changelist) #content-main {display:contents;}
  .ops-admin:not(.popup) #content:has(#changelist) .object-tools {grid-column:2;grid-row:1;justify-self:end;margin:0;}
  .ops-admin:not(.popup) #content:has(#changelist) #changelist,.ops-admin:not(.popup) #content:has(#changelist) .errornote {grid-column:1 / -1;}
}
