/* Authoritative shell geometry from the approved 1900px SVGs. */
:root{--sidebar:242px;--topbar:108px;--ink:#1d1d1f;--muted:#6e727b;--line:#e4e6eb;--paper:#f5f5f7;--navy:#1d1d1f;--focus:#007aff;color-scheme:light;font-family:"Microsoft YaHei",Arial,sans-serif;color:#1d1d1f;background:#f5f5f7}
*{box-sizing:border-box}html,body{margin:0;width:100%;min-height:100%;background:#f5f5f7;color:#1d1d1f}button,input,select,textarea,a{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}[hidden]{display:none!important}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid #007aff;outline-offset:3px}
body .shell{display:grid;grid-template-columns:242px minmax(0,1fr);min-height:100vh}body .sidebar{position:fixed;inset:0 auto 0 0;width:242px;display:flex;flex-direction:column;background:#eceef2;color:#1d1d1f;border:0;box-shadow:none;padding:0;z-index:30;overflow-y:auto}body .brand{display:flex;align-items:center;gap:12px;height:88px;padding:24px 23px;border:0}body .brand-mark{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:12px;background:#1d1d1f;color:white;font-size:18px;font-weight:700;box-shadow:none}body .brand-copy strong,body .brand-copy span{display:block}body .brand-copy strong{font-size:18px;font-weight:400;white-space:nowrap;letter-spacing:0}body .brand-copy span{margin-top:5px;color:#6e727b;font-size:11px;white-space:nowrap}body .pilot{display:none}body .nav-tree{display:block;padding:0 12px}body .domain{margin:0 0 4px}body .domain>summary{display:flex;align-items:center;min-height:35px;height:35px;padding:0 11px;font-size:11px;font-weight:400;color:#6e727b;background:transparent;list-style:none;cursor:pointer}body .domain>summary::-webkit-details-marker{display:none}body .domain-count{margin-left:auto;font-size:11px;font-weight:400;color:#6e727b}body .domain-count:after{content:' ›'}body .domain[open] .domain-count{visibility:hidden}body .domain-menu{display:grid;gap:2px;padding:0 0 10px;margin-top:-13px}body .module-btn{position:relative;display:flex;align-items:center;gap:12px;min-height:29px;height:29px;padding:0 12px;border:0;border-radius:7px;background:transparent;color:#1d1d1f;font-size:14px;font-weight:400;text-align:left;box-shadow:none}body .module-btn:before{content:'';display:inline-block;width:17px;height:17px;border:1.6px solid #6e727b;border-radius:4px;background:linear-gradient(transparent 4px,#6e727b 4px,#6e727b 5px,transparent 5px),linear-gradient(90deg,transparent 5px,#6e727b 5px,#6e727b 6px,transparent 6px)}body .module-btn[aria-current=page]{background:#007aff;color:#fff;font-weight:600;box-shadow:none}body .module-btn[aria-current=page]:before{border-color:white;background:linear-gradient(transparent 4px,#fff 4px,#fff 5px,transparent 5px),linear-gradient(90deg,transparent 5px,#fff 5px,#fff 6px,transparent 6px)}body .sidebar-foot{margin: auto 18px 0;padding:16px 5px 22px;border-top:1px solid #e4e6eb;color:#6e727b;font-size:13px}body .sidebar-foot strong{display:block;font-size:15px;font-weight:400;color:#1d1d1f;margin-bottom:5px}body .stage{grid-column:2;min-width:0}body .topbar{position:relative;display:flex;align-items:flex-start;gap:13px;height:108px;min-height:108px;padding:26px 28px 20px 48px;border-bottom:1px solid #e4e6eb;background:#f5f5f7;box-shadow:none;backdrop-filter:none}body .title-block strong{display:block;font-size:30px;font-weight:400;letter-spacing:0;line-height:36px;color:#1d1d1f}body .title-block span{display:block;margin-top:7px;font-size:14px;color:#6e727b}body .top-actions{display:flex;gap:16px;margin-left:auto;align-items:center}body .top-actions .nav-search-wrap{position:relative;width:242px;margin:1px 0 0}body .nav-search{height:42px;min-height:42px;width:100%;padding:0 14px 0 46px;background:#e9ebef;border:0;border-radius:10px;font-size:16px;color:#1d1d1f}body .nav-search::placeholder{color:#6e727b}body .search-mark{position:absolute;left:16px;top:13px;width:14px;height:14px;border:1.5px solid #6e727b;border-radius:50%}body .search-mark:after{content:'';position:absolute;width:7px;height:1.5px;background:#6e727b;right:-6px;bottom:-3px;transform:rotate(45deg)}body .status{display:flex;align-items:center;gap:5px;width:116px;height:42px;min-height:42px;padding:0 14px;border-radius:10px;background:#e7f4ec;color:#248c46;font-size:14px;font-weight:400;white-space:nowrap}body .status-dot{width:6px;height:6px;border-radius:50%;background:currentColor}body .legacy-link{display:flex;align-items:center;justify-content:center;width:104px;height:42px;min-height:42px;padding:0;border:1px solid #e4e6eb;border-radius:9px;background:white;color:#1d1d1f;font-size:16px;font-weight:400;text-decoration:none}body .menu-toggle{display:none}body .workspace{position:relative;padding:0;min-width:0}body .frame-shell{display:block;position:relative;height:auto;min-height:calc(100vh - 108px);border:0;border-radius:0;box-shadow:none;background:#f5f5f7;overflow:visible}body .frame-meta{display:none}body .legacy-frame{display:block;width:100%;height:calc(100vh - 108px);min-height:calc(100vh - 108px);border:0;background:#f5f5f7}body .skip{position:fixed;top:-80px}body .skip:focus{top:0;z-index:100}body .nav-empty{display:none}body .nav-empty[data-visible=true]{display:block;padding:15px}body .settings-hub{display:block;padding:35px 48px 95px;background:#f5f5f7;height:auto;overflow:visible}body .settings-tabs{display:flex;flex-direction:row;gap:10px;padding:0;margin:0 0 26px;background:transparent;border:0;overflow:auto}body .settings-tab{flex:none;min-width:0;min-height:42px;height:42px;padding:0 14px;border:1px solid #e4e6eb;border-radius:9px;background:white;color:#1d1d1f;font-size:16px;font-weight:400}body .settings-tab[aria-selected=true]{border:1px solid #e4e6eb;background:white;color:#1d1d1f}body .settings-content{padding:0;margin:0;max-width:none;overflow:visible;background:transparent}body .settings-content.replica-categories .settings-head{display:none}body .hub-status[data-kind=ok]{display:none}body .hub-status{max-width:none;margin:0 0 20px}body .replica-categories .hub-grid{display:block;max-width:none;margin:0}body .category-intro label{display:block;font-size:16px;color:#6e727b}body .category-intro select{display:block;width:300px;height:46px;margin-top:12px;padding:0 14px;border:1px solid #e4e6eb;border-radius:9px;background:white;font-size:17px;color:#1d1d1f}body .category-intro p{margin:30px 0 25px;font-size:16px;color:#6e727b;line-height:24px}body .category-table{padding:20px 24px 34px;border:1px solid #e4e6eb;border-radius:16px;background:#fff}body .category-row{display:grid;grid-template-columns:minmax(0,1fr) 50px 70px 82px;column-gap:24px;align-items:center;min-height:72px;border-bottom:1px solid #e4e6eb}body .category-row>:first-child{margin-right:40px}body .category-row:last-child{border-bottom:0}body .category-columns{min-height:25px;height:25px;margin-bottom:0;border:0;font-size:16px;color:#6e727b}body .category-row input:not([type=checkbox]){height:44px;width:100%;padding:0 14px;border:1px solid #e4e6eb;border-radius:8px;background:white;color:#1d1d1f;font-size:17px}body .category-row input:disabled{color:#6e727b;background:#f8f9fb}body .category-row small{font-size:12px;color:#6e727b}body .category-switch{appearance:none;position:relative;width:50px;height:29px;padding:0;margin:0;border:0;border-radius:15px;background:#c7c7cc;cursor:pointer}body .category-switch:checked{background:#34c759}body .category-switch:after{content:'';position:absolute;left:3px;top:3px;width:23px;height:23px;border-radius:50%;background:white;transition:left .12s}body .category-switch:checked:after{left:24px}body .category-switch:disabled{opacity:.5;cursor:default}body .hub-action{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border:1px solid #e4e6eb;border-radius:9px;background:white;color:#1d1d1f;font-size:16px;font-weight:400;box-shadow:none}body .hub-action.primary{background:#007aff;color:white;border-color:#007aff}body .category-add h3{margin:30px 0 15px;font-size:22px;line-height:27px}body .category-add label{display:block;font-size:16px;color:#6e727b}body .category-add input,body .category-add select{display:block;width:calc(50% - 12px);height:46px;margin:12px 0 32px;padding:0 14px;border:1px solid #e4e6eb;border-radius:9px;background:white;font-size:17px}body .category-add button{margin:0}
@media(max-width:900px){body .shell{grid-template-columns:190px minmax(0,1fr)}body .sidebar{width:190px}body .brand{padding:20px 12px}body .brand-copy strong{font-size:14px}body .brand-copy span{font-size:9px}body .topbar{padding-left:24px}body .top-actions .nav-search-wrap{width:180px}body .status{display:none}body .settings-hub{padding:26px 24px}body .category-row{grid-template-columns:minmax(0,1fr) 50px 60px 66px;gap:12px}body .category-row>:first-child{margin-right:0}}
@media(max-width:650px){body .shell{display:block}body .sidebar{transform:translateX(-100%);width:242px}body.drawer-open .sidebar{transform:none}body .menu-toggle{display:block;width:32px;height:34px;background:white;border:1px solid #e4e6eb;border-radius:7px}body .topbar{padding:20px 16px;height:100px;min-height:100px}body .title-block strong{font-size:22px}body .top-actions .nav-search-wrap{width:130px}body .legacy-link{display:none}body .category-add input{width:100%}body .category-row{grid-template-columns:minmax(0,1fr) 40px 48px 56px;gap:8px}body .category-switch{transform:scale(.8);transform-origin:left center}}

body .category-intro label{line-height:22px}body .category-row{grid-template-columns:minmax(0,1fr) 70px 70px 82px}body .category-row>:first-child{margin-right:38px}

/* First screenshot correction: exact navigation marker, no inherited disclosure pill. */
body .domain>summary::after,body .domain>summary::before{display:none!important;content:none!important}body .domain>summary:hover,body .domain[open]>summary{background:transparent!important;color:#6e727b}
body .module-btn[data-module="dashboard"]:before{width:20px;height:20px;border:0;border-radius:0;background:currentColor!important;clip-path:polygon(0 0,9% 0,9% 84%,100% 84%,100% 93%,0 93%,0 0,15% 57%,37% 31%,57% 49%,84% 8%,91% 13%,59% 65%,38% 47%,21% 65%)}

body .module-btn[data-module="dashboard"]:before{width:24px;height:24px;margin-left:-4px;margin-right:-1px;clip-path:none;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M4%2020V4M4%2020h17M8%2015l4-6%204%203%205-8%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E") center/24px 24px no-repeat!important}

/* Keep the target 70px sort column and native number controls; reserve room for three digits. */
html body .settings-hub .category-row input[type=number]{padding-left:4px;padding-right:4px}

/* Category creation keeps the parent selector alongside the name without replacing controls. */
html body .replica-categories .category-add{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
html body .replica-categories .category-add>h3{grid-column:1/-1}
html body .replica-categories .category-add>label>input,html body .replica-categories .category-add>label>select{width:100%}
html body .replica-categories .category-add>button{grid-column:1/-1;justify-self:start}
@media(max-width:650px){html body .replica-categories .category-add{grid-template-columns:1fr}}

html body .settings-home-content .settings-home-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
html body .settings-home-content .settings-home-card{position:relative;display:block;box-sizing:border-box;min-height:126px;text-align:left;padding:15px 55px 22px 25px;margin:0;border:1px solid #e4e6eb;border-radius:16px;background:#fff;color:#1d1d1f;cursor:pointer}
html body .settings-home-content .settings-home-card strong{display:block;font-size:24px;line-height:30px;font-weight:600;margin:0 0 12px}
html body .settings-home-content .settings-home-card span{display:block;font-size:16px;line-height:24px;color:#6e727b}
html body .settings-home-content .settings-home-card i{position:absolute;right:32px;top:54px;width:8px;height:8px;border-top:2px solid #6e727b;border-right:2px solid #6e727b;transform:rotate(45deg)}
html body .settings-home-content .settings-home-card:disabled{opacity:.5;cursor:not-allowed}
html body .settings-home-return{margin-top:28px;min-height:24px;border:0;background:transparent;color:#007aff;font-size:16px;cursor:pointer}
@media(max-width:700px){html body .settings-home-content .settings-home-cards{grid-template-columns:1fr}}

html body .settings-home-content .settings-home-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding-top:18px}

html body .settings-state-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 24px;max-width:1282px;box-sizing:border-box;margin:24px auto 0;padding:32px;border:1px solid #e4e6eb;border-radius:16px;background:#fff}
html body .settings-state-guide span{display:block;font-size:16px;color:#6e727b;margin-bottom:18px}
html body .settings-state-guide p{font-size:18px;line-height:28px;margin:0}
html body .settings-home-return+.settings-home-return{margin-left:24px}

html body .settings-hub.settings-guide-open .settings-tabs{display:none!important}
html body .settings-hub.settings-guide-open .settings-home-return{display:flex;align-items:center;gap:16px;height:24px;min-height:24px;padding:0 0 0 6px;margin:0;border:0;background:transparent;color:#007aff;font-size:16px}
html body .settings-hub.settings-guide-open .settings-home-return:before{content:'';display:block;width:10px;height:10px;border-left:1.6px solid #007aff;border-bottom:1.6px solid #007aff;transform:rotate(45deg)}
html body .settings-guide-divider{max-width:1282px;margin:30px auto 0;border-top:1px solid #e4e6eb}

/* User revision: primary navigation must remain legible above internal controls. */
html body .sidebar{overflow:hidden;height:100dvh}
html body .sidebar .brand,html body .sidebar .sidebar-foot{flex-shrink:0}
html body .sidebar .nav-tree{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;align-content:start;padding:12px 10px;scroll-padding-block:12px}
html body .sidebar .domain{margin:0 0 4px}
html body .sidebar .domain>summary{height:48px;min-height:48px;padding:0 12px;gap:10px;border-radius:10px;font-size:17px;line-height:24px;font-weight:600;color:#303036;background:transparent}
html body .sidebar .domain>summary:hover,html body .sidebar .domain[open]>summary{background:#e2e5eb!important;color:#303036}
html body .sidebar .domain>summary::after{content:''!important;display:block!important;order:4;flex-shrink:0;width:7px;height:7px;margin:0 3px 0 0;border:0;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg)}
html body .sidebar .domain[open]>summary::after{transform:rotate(45deg)}
html body .sidebar .domain>summary:focus-visible{outline:2px solid #007aff;outline-offset:-2px}
html body .sidebar .domain-count{visibility:visible;margin-left:auto;font-size:13px;line-height:20px;font-weight:400;color:#626670}
html body .sidebar .domain-count:after{content:none}
html body .sidebar .domain-menu{gap:4px;margin:0;padding:4px 0 8px 8px}
html body .sidebar .module-btn{height:44px;min-height:44px;padding:0 10px;gap:10px;border-radius:9px;font-size:16px;line-height:24px;font-weight:400;color:#414149;white-space:nowrap}
html body .sidebar .module-btn:before{flex-shrink:0}
html body .sidebar .module-btn:hover:not([aria-current=page]){background:#e2e5eb}
html body .sidebar .module-btn[aria-current=page]{background:#007aff;color:#fff;font-weight:600}
html body .sidebar .module-btn[data-module=dashboard]:not([aria-current=page]):before{filter:brightness(.35)}
html body .sidebar .sidebar-foot{margin:0 18px;padding:16px 5px 18px}
@media(min-width:651px) and (max-width:900px){html body .sidebar .domain-menu{padding-left:0}html body .sidebar .module-btn{gap:8px;padding-inline:8px}html body .sidebar .domain>summary{padding-inline:8px}}
