*{box-sizing:border-box}html{color-scheme:light}body{margin:0;background:#f6f6f6;color:#242424;font:14px/1.5 system-ui,-apple-system,"Microsoft YaHei",sans-serif}button,input{font:inherit}button{min-height:40px;border:1px solid #dedede;border-radius:8px;background:#ffffff;padding:9px 15px;color:#333333;cursor:pointer;transition:background .15s}button:hover{background:#efefef}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus-visible{outline:2px solid #444444;outline-offset:3px}.primary,nav .active{background:#262626;color:#ffffff;border-color:#262626}.primary:hover,nav .active:hover{background:#444444}input{display:block;width:100%;min-width:0;min-height:44px;border:1px solid #dedede;border-radius:8px;padding:11px 13px;margin-top:8px;background:#ffffff;color:#222222}input::placeholder{color:#999999}body>header{height:72px;padding:0 max(24px,calc((100vw - 1240px)/2));display:flex;align-items:center;justify-content:space-between;background:#ffffff;border-bottom:1px solid #e6e6e6}header>div{display:flex;align-items:center;gap:20px}header b{font-size:22px;letter-spacing:3px}header span{color:#888888;font-size:13px;border-left:1px solid #dddddd;padding-left:20px}main{max-width:1288px;margin:36px auto;padding:0 24px 40px}h1,h2,p{margin-top:0}h1{font-size:26px;font-weight:600;letter-spacing:-.5px;margin-bottom:8px}h2{font-size:20px;font-weight:600}p{color:#777777;line-height:1.7}.heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.heading p{margin:0;font-size:13px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:28px 0}.stats article{background:white;border:1px solid #e6e6e6;border-radius:12px;padding:18px 22px}.stats small{display:block;color:#777777;font-size:12px}.stats strong{display:block;font-size:30px;line-height:1.2;margin-top:10px;font-weight:500;font-variant-numeric:tabular-nums}nav{display:flex;gap:4px;align-items:center;border-bottom:1px solid #dedede;padding-bottom:14px;margin:24px 0 18px}nav button{background:transparent;border-color:transparent}nav #refresh{margin-left:auto;border-color:#dddddd;background:#ffffff}.card{background:#ffffff;border:1px solid #e6e6e6;border-radius:12px;padding:22px}.login{max-width:410px;margin:10vh auto;padding:32px}.login h1{font-size:23px}.login p{font-size:13px}.login button{width:100%;margin-top:12px}label{display:block;margin:18px 0;font-size:13px;color:#555555}.search{display:flex;gap:10px;margin-bottom:18px}.search input{max-width:420px;margin:0}.table{width:100%;min-width:0}table{width:100%;border-collapse:collapse;text-align:left;table-layout:fixed}th{font-size:12px;font-weight:500;color:#888888;padding:12px 10px;background:#f8f8f8;border-bottom:1px solid #eaeaea}td{padding:18px 10px;border-bottom:1px solid #efefef;overflow-wrap:anywhere;font-size:13px;vertical-align:top}td small{display:block;color:#999999;font-size:11px;margin-top:5px}th:last-child{width:32%}.row-actions{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.row-actions button{font-size:12px;min-height:34px;padding:7px 10px}.row-actions button:last-child{background:#f2f2f2}.pager{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-top:22px}.pager span{color:#888888;font-size:12px}.pager button{border:0;background:none;min-width:40px}dialog{border:1px solid #e4e4e4;border-radius:14px;padding:28px;max-width:480px;width:calc(100% - 32px);max-height:calc(100dvh - 40px);overflow:auto;color:#222222}dialog::backdrop{background:#00000055;backdrop-filter:blur(3px)}dialog p{font-size:13px}.actions{display:flex;justify-content:flex-end;gap:10px}.actions button{min-width:80px}dl{display:grid;grid-template-columns:100px minmax(0,1fr);gap:14px;font-size:13px}dt{color:#888888}dd{margin:0;overflow-wrap:anywhere}#message{background:#eaeaea;border-radius:8px;padding:12px 16px;color:#555555;font-size:13px}#message:empty{display:none}[hidden]{display:none!important}tbody:empty::after{content:'暂无记录';display:block;padding:30px;color:#999999;white-space:nowrap}
@media(max-width:900px){th:last-child{width:34%}main{padding:0 18px 30px}.card{padding:16px}.row-actions button{padding:6px 8px}}
@media(max-width:680px){body>header{height:60px;padding:0 18px}header b{font-size:20px}header span{padding-left:14px}header>div{gap:14px}header button{min-height:36px;padding:7px 10px;font-size:12px}main{margin:24px auto;padding:0 14px 24px}h1{font-size:22px}.heading{gap:10px}.heading>button{flex-shrink:0}.stats{gap:8px;margin:20px 0}.stats article{padding:14px 12px;border-radius:10px}.stats strong{font-size:26px}.stats small{font-size:11px}nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:20px 0 14px;padding-bottom:12px}nav button{padding:9px 4px;font-size:12px;white-space:normal}nav #refresh{grid-column:3;justify-self:end;min-height:30px;padding:4px 12px}.card{padding:14px}.search input{flex:1;width:0}.search button{flex-shrink:0}.table table,.table tbody{display:block;width:100%}.table thead{display:none}.table tr{display:block;padding:16px 0;border-bottom:1px solid #e9e9e9}.table tr:first-child{padding-top:4px}.table td{display:grid;grid-template-columns:76px minmax(0,1fr);gap:8px;border:0;padding:5px 0;min-width:0}.table td::before{content:attr(data-label);font-size:12px;color:#999999}.table td small{grid-column:2;margin:0}.table td.row-actions{display:flex;padding-top:14px;gap:8px}.table td.row-actions::before{display:none}.row-actions button{flex:1 1 calc(33.333% - 8px);min-height:38px;font-size:12px;padding:8px 6px}.pager{justify-content:space-between;gap:8px;margin-top:18px}.pager span{text-align:center}.login{margin:7vh auto;padding:26px 22px}.login h1{font-size:22px}dialog{padding:22px}.heading p{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Focused account management */
#usersPanel{margin-top:24px}.heading h1{font-size:24px}.table th:last-child{width:80px}.table th:first-child{width:20%}.table th:nth-child(2){width:11%}.table th:nth-child(3){width:13%}.table th:nth-child(4){width:23%}.row-actions button:last-child{background:white}.permission-toggle{min-height:34px;padding:6px 12px;font-size:12px;border-radius:6px;background:#f5f5f5;color:#777777}.permission-toggle[aria-pressed=true]{color:#222222;background:#e9e9e9;border-color:#c8c8c8}.manage-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:24px 0}.manage-actions button:last-child{color:#666666}.empty{text-align:center;padding:36px!important;color:#999999}#details>button{width:100%}#searchForm{align-items:center}.row-actions{border-bottom:0}
@media(max-width:680px){#usersPanel{margin-top:20px}.heading h1{font-size:22px}.search{gap:6px}.search button{padding:9px 11px}.table td.row-actions{justify-content:flex-end;padding-top:12px}.row-actions button{flex:0 0 auto;min-width:80px}.table td.empty{display:block}.empty::before{display:none}.table td:has(.permission-toggle){align-items:center}.permission-toggle{justify-self:start}.table td small{grid-column:2}.heading p{font-size:12px}}
@media(min-width:681px){.table td.row-actions{display:table-cell;border-bottom:1px solid #efefef}}
.admin-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.catalog-link{display:inline-flex;align-items:center;min-height:40px;border:1px solid #dedede;border-radius:8px;padding:8px 14px;background:#ffffff;color:#333333;text-decoration:none;font-size:13px}

/* MINA admin layout 1.8.63: shared navigation and responsive management surfaces. */
body{background:#f6f6f6;color:#313131;font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif}body>header{height:auto;min-height:78px;padding:18px 28px;gap:20px;flex-wrap:wrap;border-color:#e4e4e4}body>header nav{display:flex;flex-wrap:wrap;gap:8px;border:0;padding:0;margin:0}body>header a.button,body>header .catalog-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:#5c5c5c;border:1px solid #e2e2e2;border-radius:9px;padding:10px 15px;background:#ffffff;min-height:40px;font-size:13px}body>header a.active,body>header a[aria-current=page]{background:#363636;color:white;border-color:#363636}main{max-width:1480px;margin:30px auto;padding:0 28px 32px}.card{border-radius:15px;border-color:#e5e5e5;box-shadow:0 3px 14px #40404003}h1{color:#343434;letter-spacing:-.6px}.primary{background:#363636;border-color:#363636}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid #6c6c6c;outline-offset:3px}.heading{margin-bottom:22px}.heading p{color:#7e7e7e}.stats article{border-radius:15px;border-color:#e5e5e5}.stats strong{color:#404040}.table th{background:#f6f6f6;color:#757575}.table tr:hover{background:#fbfbfb}#message{background:#eeeeee;color:#5f5f5f}.catalog-layout{grid-template-columns:220px minmax(0,1fr);gap:18px}.catalog-layout aside{top:22px}.category-button[aria-current=true]{background:#363636;border-color:#363636}.category-order button,.tool-order button{background:#f7f7f7}.override-panel{margin-top:18px}.override-controls select{min-height:44px;width:100%;padding:9px;border:1px solid #e1e1e1;border-radius:8px;background:white;font:inherit}.override-controls input{margin-top:8px}.disable-control input,.override-checks input{min-height:18px;accent-color:#545454}.admin-actions{gap:8px}
@media(min-width:1200px){body>header{position:fixed;inset:0 auto 0 0;width:210px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:34px 20px;border-right:1px solid #e4e4e4;border-bottom:0;background:#fcfcfc}body>header>div{flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:28px}body>header span{border:0;padding:0;letter-spacing:1px}body>header nav{flex-direction:column;align-items:stretch}body>header a.button{justify-content:flex-start}main{margin:36px 24px 24px 236px;padding:0;max-width:none}}
@media(max-width:800px){body>header{padding:15px 18px;gap:12px}body>header>div{gap:14px}body>header nav{width:100%}body>header nav a{flex:1;padding:8px!important;font-size:12px!important}main{padding:0 16px 24px;margin-top:22px}.heading{gap:12px}.catalog-layout{display:flex;flex-direction:column}.catalog-layout>aside,.category-editor{width:100%}.catalog-layout aside{position:static}.tool-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.card{padding:16px}.stats{gap:9px}.stats strong{font-size:24px}}
