/* Visual tokens adapted from the reviewed offline prototype; no prototype state or business JS. */
:root,html[data-theme="dark"],html[data-theme="light"]{--primary:#386e49;--secondary:#244833;--accent:#d6ebc6;--header-bg:#fff;--header-color:#486551;--header-link-color:#386e49;--body-bg:#f5f7f4;--body-fg:#23332d;--body-quiet-color:#65776b;--body-loud-color:#182d22;--link-fg:#386e49;--link-hover-color:#204e30;--breadcrumbs-bg:#f5f7f4;--breadcrumbs-fg:#65776b;--breadcrumbs-link-fg:#386e49;--darkened-bg:#edf3ec;--hairline-color:#e0e8e1;--border-color:#d8e3da;--selected-bg:#eaf3e7;--selected-row:#edf6e9;--button-bg:#386e49;--button-hover-bg:#2b5d3c;--default-button-bg:#386e49;--default-button-hover-bg:#2b5d3c;--close-button-bg:#65776b;--object-tools-bg:#386e49;--object-tools-hover-bg:#2b5d3c}
*{box-sizing:border-box}body{font-family:Inter,"Microsoft YaHei UI",system-ui,sans-serif;font-size:14px;background:var(--body-bg);color:var(--body-fg)}a:link,a:visited{color:var(--link-fg)}#container{min-width:0;width:100%}.mzb-authenticated #header,.mzb-authenticated #main,.mzb-authenticated #container>nav,.mzb-authenticated #footer{margin-left:226px}#header{background:#fff;color:#486551;padding:20px 38px;border-bottom:1px solid #e0e8e1;min-height:70px;gap:16px;flex-wrap:wrap}#header a,#header #user-tools button{color:#386e49!important}#header #user-tools{margin:0;font-size:11px;letter-spacing:0}#header .mzb-brand{font-size:14px}#header .mzb-brand small{display:none}.mzb-sidebar{position:fixed;inset:0 auto 0 0;width:226px;background:#132a22;color:#dce9e2;padding:26px 16px 18px;display:flex;flex-direction:column;overflow-y:auto;z-index:20}.mzb-brand{display:flex;align-items:center;gap:11px;text-decoration:none}.mzb-sidebar .mzb-brand{padding:0 9px 26px}.mzb-brand b{display:block;letter-spacing:1px;font-size:18px}.mzb-brand small{display:block;font-size:11px;font-weight:400;margin-top:4px}.mzb-sidebar .mzb-brand,.mzb-sidebar .mzb-brand:visited{color:#fff!important}.mzb-sidebar small{color:#9ab5a6}.mzb-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#a7dd75;color:#143724;position:relative;font-size:22px;font-weight:800}.mzb-mark span{position:absolute;right:5px;bottom:0;font-size:20px}.mzb-workspace{border:1px solid #3b5147;border-radius:10px;padding:12px 10px;margin-bottom:22px}.mzb-workspace b,.mzb-side-bottom b{font-size:12px}.mzb-workspace small,.mzb-side-bottom small{display:block;font-size:10px;line-height:1.7;margin-top:4px}.mzb-caption{font-size:10px;letter-spacing:1px;color:#91ac9c;margin:0 10px 9px}.mzb-navigation a{display:flex;align-items:center;gap:11px;color:#c3d5ca!important;padding:11px;border-radius:8px;font-size:13px;margin:2px 0}.mzb-navigation a span{width:18px;text-align:center}.mzb-navigation a:hover,.mzb-navigation a.active{background:#345341;color:#fff!important}.mzb-navigation a.active{font-weight:700}.mzb-side-bottom{margin-top:auto;padding:24px 8px 2px}.breadcrumbs{background:var(--body-bg);padding:18px 38px;color:#65776b}div.breadcrumbs a{color:#386e49!important}#content{padding:25px 38px 32px;max-width:1510px;min-width:0}#content h1{color:#182d22;font-size:25px;font-weight:650;margin-bottom:22px}.mzb-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.mzb-hero h1{margin:7px 0 10px!important}.mzb-hero p{color:#65776b;line-height:1.7;margin:0}.eyebrow{font-size:10px!important;letter-spacing:1.8px;color:#65776b!important;font-weight:700}.mzb-tag{color:#486b3c;background:#edf5e8;border:1px solid #d6e6ca;border-radius:20px;padding:8px 13px;font-size:11px;white-space:nowrap}.mzb-counters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:0 0 22px}.mzb-counters article,.mzb-card{background:#fff;border:1px solid #e0e8e1;border-radius:12px;box-shadow:0 3px 14px #1c3e2b06;padding:22px}.mzb-counters small{display:block;color:#65776b;font-size:12px}.mzb-counters strong{display:block;font-size:28px;color:#253a2e;margin:13px 0 6px}.mzb-counters article>span{font-size:10px;color:#65776b}.mzb-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px;margin-bottom:22px}.mzb-card{min-width:0}.mzb-card h2{font-size:17px;color:#24392b;background:none!important;padding:0!important;margin:0 0 14px}.mzb-card p,.mzb-note p{color:#65776b;line-height:1.75}.mzb-section-title{display:flex;justify-content:space-between;align-items:baseline;gap:15px}.mzb-section-title>a{font-size:12px;white-space:nowrap}.mzb-table-scroll{overflow-x:auto;max-width:100%}.mzb-card table{width:100%}.mzb-card th,.mzb-card td{padding:13px 10px;border-bottom:1px solid #e0e8e1;font-size:12px;vertical-align:top}.mzb-card th{color:#65776b;background:#f9fbf8}.pill{background:#edf5e8;color:#386e49;border-radius:20px;padding:5px 10px;font-size:11px;white-space:nowrap}.pill.muted{background:#f0f2ee;color:#65776b}.mzb-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mzb-links a{display:flex;align-items:center;padding:13px;border:1px solid #e0e8e1;border-radius:8px;line-height:1.6;font-size:12px}.mzb-links a:hover{background:#f5faf2}.mzb-note{padding:16px 18px;border:1px solid #dce9d4;background:#f0f6ec;border-radius:10px;color:#46643d;font-size:12px;margin:0 0 20px;line-height:1.7}.mzb-links+.mzb-note{margin-top:20px}.mzb-note p{margin:6px 0}.mzb-section-links{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.mzb-section-links a{padding:6px 12px;background:#fff;border:1px solid #dce9d4;border-radius:7px;font-size:12px}.mzb-content-guide{margin-bottom:22px}.mzb-form{max-width:840px}.mzb-form p:has(input),.mzb-form p:has(select),.mzb-form p:has(textarea){display:flex;flex-direction:column;gap:9px}.mzb-form label{font-weight:600}.mzb-form input:not([type=checkbox]),.mzb-form select,.mzb-form textarea{font:inherit;padding:11px;border:1px solid #cad8cd;border-radius:7px;width:100%;max-width:100%}.mzb-primary,button.mzb-primary{background:#386e49;color:#fff;border:1px solid #386e49;border-radius:8px;padding:11px 20px;cursor:pointer;font-weight:600}.mzb-back{margin-left:18px}.mzb-form-actions{margin-top:22px}.errorlist{color:#a52434;line-height:1.7}.errornote{background:#fff0f0;border-radius:8px}#changelist{min-width:0;background:#fff;border-radius:12px;border:1px solid #e0e8e1;overflow:hidden}#changelist .results{overflow:auto;max-width:100%}#changelist table{min-width:600px}#changelist-filter{border-left:1px solid #e0e8e1}#changelist-filter h2{background:#edf3ec;color:#38523e}#changelist-search input{max-width:100%}.module{background:#fff;border-radius:10px}.module h2,.module caption,.inline-group h2{background:#edf3ec;color:#38523e;border-radius:8px 8px 0 0;padding:12px}.submit-row{border-radius:10px;border:1px solid #dce5de;padding:14px}.aligned .form-row input:not([type=checkbox]),.aligned .form-row textarea,.aligned .form-row select{max-width:100%;border-radius:6px;padding:8px}.aligned .form-row textarea{width:min(700px,100%)}.form-row{padding:15px 12px}.mzb-comparison{margin:20px 0}.mzb-comparison summary{cursor:pointer;font-weight:600}.mzb-comparison table{margin-top:18px}.mzb-changed{background:#f0f6e9}.mzb-table-scroll pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-width:500px;min-width:120px;font-family:inherit;font-size:12px;margin:0}.mzb-table-scroll td{overflow-wrap:anywhere}#footer{font-size:11px;color:#65776b;padding:15px 38px;border-top:1px solid #e0e8e1}.login #header{justify-content:center}.login #content{padding:26px}.login .submit-row{padding:10px 0;border:0}.login #container{border-radius:14px;border:1px solid #dce5de;box-shadow:0 8px 30px #1c3e2b0d}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #8fc375;outline-offset:2px}
@media(max-width:1100px){#content{padding:24px}.mzb-counters{grid-template-columns:repeat(2,minmax(0,1fr))}.mzb-grid{grid-template-columns:minmax(0,1fr)}#header{padding:20px 24px}.breadcrumbs{padding:16px 24px}}
@media(max-width:767px){.mzb-sidebar{position:static;width:auto;height:auto;padding:15px}.mzb-sidebar .mzb-brand{padding:0 0 14px}.mzb-sidebar .mzb-workspace,.mzb-sidebar .mzb-caption,.mzb-side-bottom{display:none}.mzb-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.mzb-navigation a{font-size:12px;padding:8px;margin:0}.mzb-authenticated #header,.mzb-authenticated #main,.mzb-authenticated #container>nav,.mzb-authenticated #footer{margin-left:0}#header{display:block;padding:0;background:#132a22;border:0}.mzb-authenticated #header>#branding{display:none}#user-tools{padding:12px 16px!important;text-align:left;background:#fff;width:100%}#header #user-tools{color:#486551}#content{padding:16px;width:100%}#content h1{font-size:23px}.breadcrumbs{padding:14px 16px}.mzb-hero{align-items:flex-start;flex-direction:column;gap:12px}.mzb-counters{gap:10px}.mzb-counters article{padding:16px}.mzb-counters strong{font-size:26px}.mzb-card{padding:17px}.mzb-section-title{flex-wrap:wrap}.mzb-links{grid-template-columns:1fr}.mzb-form-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.mzb-back{margin-left:0}#changelist{width:100%}#changelist .actions{display:flex;flex-wrap:wrap;gap:8px}#changelist .actions select{max-width:100%}#changelist-search{width:100%}#changelist-search>div{display:flex;gap:6px;flex-wrap:wrap}#changelist-search input{min-width:0}.mzb-table-scroll pre{max-width:240px;min-width:130px}.login #header{background:#fff;padding:16px}.login #header>#branding{display:block}#footer{padding:15px 16px}.aligned .form-row{overflow-wrap:anywhere}.aligned .form-row .readonly{overflow-wrap:anywhere}}

/* Header wraps the custom navigation: let it grow on small screens. */
#header .mzb-sidebar .mzb-brand{color:#fff!important}#header .mzb-navigation a{color:#c3d5ca!important}#header .mzb-navigation a.active,#header .mzb-navigation a:hover{color:#fff!important}
@media(max-width:767px){.mzb-authenticated #header{height:auto;min-height:0;padding:0!important;display:flex;flex-direction:column;align-items:stretch}.mzb-authenticated #header .mzb-sidebar{order:0;width:100%;flex-shrink:0}.mzb-authenticated #header #user-tools{order:1;width:100%;margin:0!important}.mzb-authenticated #header .mzb-sidebar .mzb-brand{display:flex}.mzb-authenticated #header .mzb-navigation{width:100%}}
@media(max-width:767px){.mzb-authenticated #header{display:block!important;height:auto!important;min-height:0;flex-shrink:0;flex-wrap:nowrap}.mzb-authenticated #header .mzb-sidebar{position:static!important;width:100%;height:auto!important;margin:0;inset:auto}.mzb-authenticated #header #user-tools{position:static!important;float:none!important;width:100%;margin:0!important}.mzb-authenticated #header #branding{display:none!important}}

.mzb-live-preview{margin:20px 0}.mzb-live-preview dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mzb-live-preview dl>div{border:1px solid var(--hairline-color);padding:13px;border-radius:8px;min-width:0}.mzb-live-preview dt{font-size:12px;font-weight:600;color:#46643d}.mzb-live-preview dd{margin:9px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7}.mzb-preserved-inputs{display:grid;gap:16px;margin:22px 0}.mzb-preserved-inputs textarea{display:block;width:100%;max-width:100%;font:inherit;padding:12px;margin-top:8px;box-sizing:border-box}@media(max-width:767px){.mzb-live-preview dl{grid-template-columns:1fr}}

#id_revision{width:20ch;max-width:100%}
