.ma-root{--ma-ink:#1e293b;--ma-muted:#475569;--ma-border:#e2e8f0;--ma-blue:#1d4ed8;color:var(--ma-ink)}
.ma-panel{padding:24px}.ma-panel h2{margin:0 0 12px;font-size:20px}.ma-notice,.ma-error{padding:16px 20px;border-radius:12px;margin:0 0 20px;line-height:1.6;background:#eff6ff;color:#1e40af}.ma-error{background:#fef2f2;color:#991b1b}.ma-design-grid{display:grid;grid-template-columns:minmax(280px,1fr) minmax(300px,1fr);gap:24px;align-items:start}.ma-form{display:grid;gap:16px;max-width:620px}.ma-form label,.ma-toolbar label{display:grid;gap:8px;font-weight:600}.ma-form input:not([type=checkbox]),.ma-toolbar input,.ma-toolbar select{box-sizing:border-box;width:100%;min-height:44px;border:1px solid #cbd5e1;border-radius:8px;padding:10px 12px;font:inherit}.ma-form input[readonly]{background:#f1f5f9;color:#475569}.ma-form input[type=color]{width:100%;height:48px;padding:4px}.ma-form small{font-size:13px;color:var(--ma-muted);font-weight:400}.ma-form fieldset{border:1px solid var(--ma-border);border-radius:10px;padding:12px}.ma-form .ma-check{display:flex;align-items:center;gap:12px;min-height:44px}.ma-check input{width:20px;height:20px}.ma-toolbar{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap;margin-bottom:16px}.ma-toolbar form{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.ma-roles,.ma-actions{display:flex;gap:8px;flex-wrap:wrap}.ma-role{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:8px;font-size:14px;line-height:1.5;font-weight:600;white-space:normal}.ma-role svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.ma-delivery{color:#166534;background:#dcfce7}.ma-technician{color:#1e40af;background:#dbeafe}.ma-shop{color:#7e22ce;background:#f3e8ff}.ma-id{display:block;max-width:230px;overflow-wrap:anywhere;margin-top:6px;color:var(--ma-muted)}.ma-pagination{display:flex;align-items:center;gap:12px;justify-content:flex-end;flex-wrap:wrap;margin-top:20px}.ma-empty{padding:32px 16px;text-align:center;line-height:1.8;color:var(--ma-muted)}.ma-preview-area{display:flex;justify-content:center}.ma-phone{width:320px;max-width:100%;border:7px solid #1e293b;border-radius:28px;background:#f8fafc;overflow:hidden;box-shadow:0 12px 30px #0f172a12}.ma-phone-header{padding:28px 20px;background:var(--ma-primary);color:white}.ma-phone-header h3{margin:16px 0 8px;font-size:23px;overflow-wrap:anywhere}.ma-phone-header p{font-size:14px;line-height:1.6}.ma-phone-modules{display:grid;gap:12px;padding:20px}.ma-preview-module{border:1px solid var(--ma-border);border-radius:var(--ma-radius);padding:16px;background:white}.ma-preview-module small{display:block;margin-top:10px;color:var(--ma-muted)}.ma-preview-note{text-align:center;font-size:13px;line-height:2;color:var(--ma-muted);padding:8px 16px}.ma-root .btn{min-height:44px}.ma-root :focus-visible{outline:3px solid var(--ma-blue);outline-offset:3px}.ma-root .muted{color:var(--ma-muted)}
.ma-root,.ma-root .panel,.ma-panel,.ma-form,.ma-form label,.ma-design-grid>*{min-width:0}.ma-root input,.ma-root select{min-width:0;max-width:100%}.ma-phone{box-sizing:border-box}.ma-root .btn{white-space:normal;overflow-wrap:anywhere}
.ma-preview-area>#management-preview{width:320px;max-width:100%;min-width:0}.ma-preview-area .ma-phone{width:100%}
.shell:has(.primary-nav button.active[title="四海管理端"]) .sub-title{justify-content:flex-start}.shell:has(.primary-nav button.active[title="四海管理端"]) .sub-toggle{flex:0 0 32px;min-width:32px;padding:0}.shell:has(.primary-nav button.active[title="四海管理端"]) .sub-title>span{flex:1;min-width:0;white-space:nowrap}
@media(max-width:900px){.ma-design-grid{grid-template-columns:minmax(0,1fr)}.ma-panel{padding:16px}.ma-toolbar,.ma-toolbar form{align-items:stretch;flex-direction:column}.ma-pagination{justify-content:center}}
@media(max-width:700px){.shell:has(.ma-root){grid-template-rows:auto minmax(0,1fr)}.shell:has(.ma-root) .topbar{flex-wrap:wrap;gap:10px;padding:12px}.shell:has(.ma-root) .account{flex-wrap:wrap;gap:8px;max-width:100%}.shell:has(.ma-root) .brand .muted{display:none}.shell:has(.ma-root) .platform-tabs{max-width:100%;overflow-x:auto}.shell:has(.ma-root) .page-head{flex-wrap:wrap}.shell:has(.ma-root) .content{min-width:0;padding:14px}}
