:root {
  --ink: #202322;
  --muted: #707774;
  --line: #dfe4e1;
  --paper: #ffffff;
  --canvas: #f4f6f5;
  --green: #126955;
  --green-soft: #e3f0ec;
  --gold: #a97b2d;
  --red: #b64b47;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif; letter-spacing: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.login-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #e9edeb; }
.login-panel { width: min(400px, 100%); padding: 38px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 50px rgba(25, 38, 33, .08); }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 6px; font: 600 22px/1 Georgia, serif; }
.brand-mark.small { width: 32px; height: 32px; font-size: 16px; }
.login-panel h1 { margin: 24px 0 4px; font-size: 24px; }
.login-panel p { margin: 0 0 28px; color: var(--muted); }
label { display: grid; gap: 7px; margin: 16px 0; color: #4f5653; font-weight: 600; }
input, select, textarea { width: 100%; min-height: 40px; padding: 8px 11px; color: var(--ink); background: white; border: 1px solid #cfd6d2; border-radius: 5px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23, 107, 91, .1); }
button { min-height: 38px; padding: 8px 13px; border: 1px solid #cfd6d2; border-radius: 5px; color: var(--ink); background: white; }
button:hover { border-color: #9ba7a2; }
.primary { color: white; border-color: var(--green); background: var(--green); }
.primary:hover { background: #11594c; border-color: #11594c; }
.wide { width: 100%; margin-top: 10px; }
.form-error { min-height: 22px; margin-top: 12px; color: var(--red); text-align: center; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; z-index: 8; height: 100vh; display: flex; flex-direction: column; padding: 20px 14px 14px; color: #f7faf8; background: #202825; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 18px; font: 600 17px/1 Georgia, serif; }
.brand > span:last-child { display: grid; gap: 5px; }
.brand small { color: #81908a; font: 500 10px/1.1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
nav { display: grid; gap: 7px; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.nav-group { display: grid; gap: 1px; }
.nav-group-title { padding: 0 12px 5px; color: #71807a; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.nav-item, .logout { width: 100%; display: flex; align-items: center; gap: 11px; border: 0; color: #b7c1bd; background: transparent; text-align: left; }
.nav-item { min-height: 34px; padding: 6px 10px; }
.nav-item b { overflow: hidden; flex: 1; text-overflow: ellipsis; white-space: nowrap; font-weight: 560; }
.nav-item i { display: none; min-width: 20px; height: 19px; padding: 1px 5px; border-radius: 10px; color: #fff; background: #a5483d; font-size: 10px; font-style: normal; text-align: center; }
.nav-item i:not(:empty) { display: inline-grid; place-items: center; }
.nav-item span { width: 20px; color: #8fa19a; text-align: center; font-size: 17px; }
.nav-item:hover, .nav-item.active { color: white; background: #343d39; }
.nav-item.active { box-shadow: inset 3px 0 var(--green); }
.sidebar-footer { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.system-state { display: flex; align-items: center; gap: 8px; padding: 8px 15px; color: #8f9c97; font-size: 10px; }
.logout { padding-left: 15px; }
main { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 7; height: 76px; display: flex; align-items: center; gap: 16px; padding: 0 30px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); }
.topbar h2 { margin: 2px 0 0; font-size: 20px; }
.eyebrow { color: var(--muted); font-size: 12px; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.preview-link { min-height: 34px; display: inline-flex; align-items: center; padding: 6px 10px; color: var(--green); border: 1px solid #cbd9d4; border-radius: 5px; background: #fff; font-size: 12px; font-weight: 650; text-decoration: none; }
.sync-chip { display: inline-flex; align-items: center; gap: 7px; color: #61706a; font-size: 11px; }
.admin-chip { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 5px 10px 5px 6px; border: 1px solid var(--line); border-radius: 5px; background: white; }
.admin-avatar { width: 26px; height: 26px; display: grid; place-items: center; color: #fff; border-radius: 4px; background: #384540; font-size: 11px; }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: #33a06f; }
.menu-button { display: none; width: 40px; padding: 0; font-size: 20px; }
.content { width: 100%; max-width: 1680px; margin: 0 auto; padding: 24px 30px 44px; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 14px; margin-bottom: 22px; }
.metric { padding: 18px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); }
.metric-label { color: var(--muted); }
.metric-value { margin-top: 8px; font-size: 29px; font-weight: 650; }
.metric-note { margin-top: 3px; color: var(--green); font-size: 12px; }
.panel { margin-bottom: 20px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); overflow: hidden; }
.panel-head { min-height: 62px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.panel-head h3 { margin: 0; font-size: 16px; }
.panel-head .actions { margin-left: auto; display: flex; gap: 8px; }
.search { width: min(260px, 100%); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 16px; border-bottom: 1px solid #edf0ee; text-align: left; vertical-align: middle; white-space: nowrap; }
th { color: var(--muted); background: #fafbfa; font-size: 12px; font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfcfb; }
.muted { color: var(--muted); }
.setting-notice { margin-top: 16px; padding: 14px 16px; border: 1px solid #d9e8e1; border-radius: 8px; background: #f4faf7; color: #31574d; }
.setting-notice strong, .setting-notice span { display: block; }
.setting-notice strong { font-size: 14px; }
.setting-notice span { margin-top: 6px; font-size: 13px; line-height: 1.6; }
.strong { font-weight: 650; }
.tag { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 8px; border-radius: 4px; color: #48504d; background: #eef1ef; font-size: 12px; }
.tag.green { color: #145b4e; background: var(--green-soft); }
.tag.gold { color: #76551c; background: #f7eedc; }
.tag.red { color: #913b38; background: #f8e8e7; }
.inline-edit { display: flex; align-items: center; gap: 6px; }
.inline-edit input { width: 78px; min-height: 34px; }
.inline-edit input.order-tracking { width: 120px; }
.inline-edit input.order-express { width: 88px; }
.inline-edit .size-options-input { width: 260px; }
.inline-edit select { width: 96px; min-height: 34px; }
.order-total-edit { display: flex; align-items: center; gap: 4px; min-width: 112px; }
.order-total-edit span { color: var(--muted); font-weight: 600; }
.order-total-edit input { width: 92px; min-height: 34px; text-align: right; }
.order-total-edit.readonly input { color: var(--muted); background: #f6f7f6; }
.rate-input { width: 72px; min-height: 34px; }
.small-button { min-height: 32px; padding: 5px 9px; }
.shipping-proof-inline-upload { min-height: 32px; padding: 5px 9px; color: #176b5b; border-color: #b9d8ce; background: #f3faf7; font-size: 13px; white-space: nowrap; }
.small-button.danger { border-color: #e5b8b5; color: #923e3a; background: #fff7f6; }
.empty { padding: 52px 20px; color: var(--muted); text-align: center; }
.work-identity,.user-identity { display: flex; min-width: 180px; align-items: center; gap: 10px; }
.work-thumb,.user-identity > span,.user-identity > img { width: 38px; height: 38px; flex: 0 0 38px; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: #f3f3f0; }
.work-thumb { display: grid; place-items: center; color: var(--muted); }.work-thumb img,.user-identity > img { width: 100%; height: 100%; object-fit: cover; }.user-identity > span { display: grid; place-items: center; border-radius: 50%; color: #59625e; }
.inspiration-admin-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding: 18px; background: #f6f8f6; }.inspiration-admin-card { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }.inspiration-admin-head,.inspiration-admin-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.inspiration-admin-head > div { display: grid; gap: 3px; }.inspiration-admin-head strong { font-size: 16px; }.inspiration-admin-head span:not(.tag) { color: var(--muted); font-size: 12px; }.inspiration-admin-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 14px; }.inspiration-admin-grid label { display: grid; gap: 6px; color: #4f5653; font-weight: 600; }.inspiration-admin-card textarea { width: 100%; resize: vertical; }.inspiration-admin-footer { margin-top: 14px; }.inspiration-admin-footer .primary { flex: 0 0 auto; }
.split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.activity-list { margin: 0; padding: 0; list-style: none; }
.activity-list li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 18px; border-bottom: 1px solid #edf0ee; }
.activity-list li:last-child { border: 0; }
.settings-form { max-width: 720px; padding: 4px 18px 22px; }
.settings-form textarea { min-height: 90px; resize: vertical; }
.diy-form { max-width: 820px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
fieldset { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 5px; }
legend { padding: 0 6px; color: var(--muted); font-size: 12px; }
.check-grid { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.check-item { display: flex; align-items: center; gap: 7px; }
.check-item input { width: 16px; min-height: 16px; }
.diy-form-note { font-size: 12px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 18px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toggle-row input { width: 18px; min-height: 18px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 20; max-width: 320px; padding: 11px 15px; color: white; background: #262c29; border-radius: 5px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.materials-overview { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; padding: 4px 2px; }
.materials-overview h3 { margin: 3px 0 4px; font-size: 28px; letter-spacing: 0; }
.materials-overview p { margin: 0; color: var(--muted); }
.inventory-stats { display: flex; gap: 10px; }
.inventory-stats > div { min-width: 100px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.inventory-stats strong, .inventory-stats span { display: block; }
.inventory-stats strong { font-size: 21px; }
.inventory-stats span { margin-top: 2px; color: var(--muted); font-size: 12px; }
.inventory-stats .danger strong { color: var(--red); }
.catalog-panel { margin-bottom: 18px; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; padding: 0 18px 18px; }
.catalog-card { padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: #fbfcfb; }
.catalog-filter { display: flex; align-items: baseline; justify-content: space-between; width: 100%; padding: 0 0 9px; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; cursor: pointer; text-align: left; }
.catalog-filter strong { font-size: 17px; }
.catalog-filter span { color: var(--muted); font-size: 12px; }
.catalog-filter.active { color: var(--green); }
.catalog-groups { display: flex; flex-wrap: wrap; gap: 5px; min-height: 30px; padding: 9px 0; }
.catalog-groups span { padding: 3px 6px; border: 1px solid #dce4df; border-radius: 4px; color: #59645e; background: #fff; font-size: 11px; }
.catalog-groups small { color: var(--muted); }
.catalog-edit-row { display: flex; gap: 6px; align-items: center; margin-top: 3px; }
.catalog-edit-row input { min-width: 0; flex: 1; min-height: 31px; padding: 4px 7px; }
.catalog-group-editor { display: grid; gap: 5px; margin-top: 6px; }
.catalog-group-editor input { min-height: 29px; padding: 4px 7px; }
.catalog-workspace { display: grid; grid-template-columns: 210px minmax(0, 1fr); margin-bottom: 18px; overflow: hidden; }
.catalog-sidebar { padding: 15px; border-right: 1px solid var(--line); background: #f8faf8; }
.catalog-sidebar-head, .group-manager-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.catalog-sidebar nav { display: grid; gap: 4px; margin-top: 12px; }
.catalog-sort-row { display: grid; grid-template-columns: minmax(0, 1fr) 28px 28px; gap: 5px; align-items: center; }
.catalog-nav-item { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 40px; padding: 8px 10px; border: 0; border-radius: 5px; color: #59625e; background: transparent; cursor: pointer; text-align: left; }
.catalog-nav-item strong { color: #89928d; font-size: 12px; }
.catalog-nav-item.active { color: #fff; background: var(--green); }
.catalog-nav-item.active strong { color: rgba(255,255,255,.8); }
.catalog-detail { min-width: 0; padding: 18px; }
.catalog-detail-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.catalog-detail-head > div:first-child { display: grid; gap: 4px; min-width: 200px; }
.catalog-name-input { min-height: 38px; padding: 5px 8px; border-color: transparent; background: #f7f9f7; font-size: 19px; font-weight: 700; }
.catalog-name-input:focus { border-color: var(--green); background: #fff; }
.group-manager { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.group-edit-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin-top: 10px; }
.group-edit-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 28px 28px 28px; align-items: center; gap: 7px; padding: 7px; border: 1px solid #e2e7e4; border-radius: 5px; background: #fafbfa; }
.group-edit-row input { min-width: 0; min-height: 31px; padding: 4px 6px; }
.group-edit-row span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.product-browser { padding: 2px 0 20px; }
.product-browser-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.product-browser-head h3 { margin: 0 0 8px; font-size: 21px; }
.group-filter-list { display: flex; flex-wrap: wrap; gap: 6px; }
.group-filter { min-height: 30px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 4px; color: #66706b; background: #fff; cursor: pointer; font-size: 12px; }
.group-filter.active { color: #fff; border-color: var(--green); background: var(--green); }
.material-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.material-card { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.material-card-image { position: relative; display: grid; height: 112px; place-items: center; overflow: hidden; background: #edf1ee; }
.material-card-image img { display: block; width: 88px; height: 88px; max-width: calc(100% - 24px); max-height: calc(100% - 24px); object-fit: contain; object-position: center; }
.material-card-image img.broken { opacity: .1; }
.material-card-image .tag { position: absolute; top: 9px; right: 9px; }
.material-card-body { padding: 12px; }
.material-card-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.material-card-title > div { display: grid; min-width: 0; }
.material-card-title span { color: var(--muted); font-size: 10px; }
.material-card-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.material-card-meta, .material-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; color: var(--muted); font-size: 12px; }
.material-card-footer { padding-top: 9px; border-top: 1px solid #edf0ee; }
.material-card-footer strong { color: var(--ink); font-size: 14px; }
.material-card-cost { margin-top: 6px; color: var(--muted); font-size: 11px; }
.diy-overview { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.workspace-tabs { display: inline-flex; gap: 4px; margin-bottom: 16px; padding: 4px; border: 1px solid var(--line); border-radius: 6px; background: #e9eeeb; }
.workspace-tab { min-width: 112px; border: 0; color: #626b67; background: transparent; font-weight: 650; }
.workspace-tab:hover { border-color: transparent; color: var(--ink); }
.workspace-tab.active { color: #fff; background: var(--green); }
.diy-overview h3 { margin: 3px 0 5px; font-size: 23px; }
.diy-overview p { margin: 0; color: var(--muted); }
.diy-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; padding: 16px; }
.diy-product-card { display: grid; grid-template-columns: 118px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.diy-product-cover { position: relative; min-height: 176px; overflow: hidden; display: grid; place-items: center; color: var(--muted); background: #f0f3f1; }
.diy-product-cover img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }
.diy-product-cover img.broken { opacity: .1; }
.diy-product-status { position: absolute; top: 8px; left: 8px; }
.diy-product-body { min-width: 0; padding: 14px; }
.diy-product-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; }
.diy-product-title > div { display: grid; min-width: 0; gap: 3px; }
.diy-product-title span { color: var(--muted); font-size: 10px; }
.diy-product-title strong { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 15px; line-height: 1.45; }
.diy-product-body > p { overflow: hidden; display: -webkit-box; min-height: 34px; margin: 10px 0; color: var(--muted); -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 11px; line-height: 1.5; }
.diy-product-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0; }
.diy-product-facts div { min-width: 0; }
.diy-product-facts dt { color: var(--muted); font-size: 9px; }
.diy-product-facts dd { overflow: hidden; margin: 3px 0 0; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 650; }
.diy-product-channels { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 11px; padding-top: 9px; border-top: 1px solid #edf0ee; }
.diy-product-channels .channel { padding: 3px 6px; border-radius: 4px; color: #166351; background: #e7f3ef; font-size: 9px; }
.diy-product-channels .channel.off { color: #7a5d22; background: #f7efdd; }
.diy-product-channels a { margin-left: auto; color: var(--green); font-size: 10px; font-weight: 650; }
.material-empty { grid-column: 1 / -1; border: 1px dashed var(--line); border-radius: 7px; background: #fff; }
.material-editor-panel { max-width: 980px; margin: 0 auto; }
.material-editor { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px; padding: 0 20px 24px; }
.material-editor-preview { position: sticky; top: 92px; display: grid; gap: 12px; }
.material-editor-preview img { width: 100%; aspect-ratio: 1; object-fit: contain; border: 1px solid var(--line); border-radius: 7px; background: #f4f6f4; image-rendering: auto; }
.material-editor-preview img.broken { opacity: .15; }
.material-fields { min-width: 0; }
.color-field { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 7px; }
.color-field input[type="color"] { width: 42px; min-height: 40px; padding: 3px; }
.spec-editor { margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: #fafbfa; }
.spec-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.spec-editor-head > div { display: grid; gap: 2px; }
.spec-editor-head span { color: var(--muted); font-size: 11px; }
.spec-labels { display: grid; grid-template-columns: minmax(66px, 1fr) minmax(66px, 1fr) minmax(66px, 1fr) minmax(66px, 1fr) 52px 28px; gap: 5px; margin: 12px 0 5px; color: var(--muted); font-size: 10px; }
.editor-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.offline-item-row { display: grid; grid-template-columns: minmax(220px, 2fr) minmax(100px, .7fr) minmax(90px, .6fr) 32px; gap: 8px; align-items: center; margin-bottom: 8px; }
.offline-item-row select, .offline-item-row input { min-width: 0; }
@media (max-width: 720px) { .offline-item-row { grid-template-columns: 1fr 1fr; } .offline-item-row select { grid-column: 1 / -1; } }
@media (max-width: 900px) { .catalog-workspace { grid-template-columns: 1fr; } .catalog-sidebar { border-right: 0; border-bottom: 1px solid var(--line); } .catalog-sidebar nav { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); } .material-editor { grid-template-columns: 1fr; } .material-editor-preview { position: static; max-width: 260px; } }
.inventory-table { min-width: 980px; table-layout: fixed; }
.inventory-table th:nth-child(1) { width: 25%; }
.inventory-table th:nth-child(2) { width: 16%; }
.inventory-table th:nth-child(3) { width: 28%; }
.inventory-table th:nth-child(4) { width: 11%; }
.inventory-table th:nth-child(5) { width: 10%; }
.inventory-table th:nth-child(6) { width: 10%; }
.material-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.material-thumb { position: relative; width: 54px; height: 54px; flex: 0 0 54px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #f1f3f1; }
.material-thumb img { width: 100%; height: 100%; object-fit: cover; }
.material-thumb img.broken { opacity: .15; }
.icon-upload { position: absolute; right: 3px; bottom: 3px; display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid rgba(255,255,255,.9); border-radius: 5px; color: white; background: rgba(32,35,34,.78); cursor: pointer; font-size: 15px; line-height: 1; }
.icon-upload input { display: none; }
.material-code { margin-bottom: 3px; color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .08em; }
.material-name { min-width: 0; min-height: 32px; padding: 4px 7px; border-color: transparent; background: transparent; font-weight: 650; }
.material-name:focus { border-color: var(--green); background: #fff; }
.inventory-table td { padding: 11px 13px; white-space: normal; }
.inventory-table td > input:not(.material-name), .inventory-table td > select { min-height: 34px; margin-bottom: 6px; }
.inventory-table td > input:last-child, .inventory-table td > select:last-child { margin-bottom: 0; }
.inventory-table td:nth-child(2) select { width: 100%; }
.spec-list { display: grid; gap: 6px; }
.spec-row { display: grid; grid-template-columns: minmax(66px, 1fr) minmax(66px, 1fr) minmax(66px, 1fr) minmax(66px, 1fr) 52px 28px; gap: 5px; align-items: center; }
.material-status-toggle { cursor: pointer; border: 0; font: inherit; }
.spec-row input { width: 100%; min-width: 0; min-height: 32px; padding: 5px 6px; }
.spec-default { display: flex; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: 11px; }
.spec-default input { width: auto; min-height: 0; margin: 0; padding: 0; }
.icon-button { display: grid; width: 28px; height: 28px; place-items: center; padding: 0; border: 1px solid #d7ded9; border-radius: 5px; color: #68736d; background: #fff; cursor: pointer; font-size: 18px; line-height: 1; }
.icon-button:hover { color: var(--red); border-color: #e6bcbc; background: #fff7f7; }
.taxonomy-grid { display: grid; gap: 10px; }
.taxonomy-choice { padding: 10px 12px; border: 1px solid #e4e8e5; border-radius: 5px; background: #fafbfa; }
.taxonomy-choice > .check-item { font-weight: 650; }
.group-choice { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 9px 0 0 24px; padding-top: 8px; border-top: 1px solid #edf0ee; }
.spec-hint { color: var(--muted); font-size: 11px; }
.media-input { display: flex; gap: 8px; align-items: center; }
.field-label { display: grid; gap: 7px; margin: 16px 0; color: #4f5653; font-weight: 600; }
.media-input input { min-width: 0; flex: 1; }
.media-input .file-button { min-height: 40px; padding: 8px 10px; white-space: nowrap; }
.database-actions, .upload-area { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 22px 18px; }
.file-button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 13px; border: 1px solid #cfd6d2; border-radius: 5px; background: white; cursor: pointer; font-weight: 600; }
.file-button.primary { color: white; border-color: var(--green); background: var(--green); }
.file-button input { display: none; }
.warning-note { display: grid; gap: 2px; width: 100%; padding: 12px 14px; color: #76551c; background: #fff8e8; border: 1px solid #f1dfb8; border-radius: 5px; }
.status-list { margin: 0; padding: 10px 18px 18px; }
.status-list div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid #edf0ee; }
.status-list div:last-child { border-bottom: 0; }
.status-list dt { color: var(--muted); }
.status-list dd { margin: 0; text-align: right; }
.upload-result { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: #fafbfa; }
.upload-result img { width: 72px; height: 72px; object-fit: cover; border-radius: 5px; border: 1px solid var(--line); }
.upload-result > div { min-width: 0; flex: 1; }
.copy-row { display: flex; gap: 8px; margin-top: 5px; }
.copy-row input { min-width: 0; }
.security-split { align-items: start; }
.current-permissions { padding: 18px; }
.permission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
.permission-item { display: grid; grid-template-columns: minmax(120px, 1fr) auto auto; align-items: center; gap: 12px; min-height: 46px; padding: 8px 10px; border: 1px solid #e4e8e5; border-radius: 5px; background: #fafbfa; }
.permission-item strong { font-size: 13px; }
.permission-item .check-item { margin: 0; font-weight: 500; }
.account-list { display: grid; gap: 12px; padding: 16px; }
.account-card { padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.account-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.account-head strong { font-size: 16px; }
.account-login { display: grid; grid-template-columns: minmax(180px, 1fr) auto minmax(220px, 1fr); align-items: center; gap: 10px; margin-bottom: 10px; padding: 11px 12px; border: 1px solid #dfe5e1; border-radius: 5px; background: #f7faf8; }
.account-login > div { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.account-login span { color: var(--muted); font-size: 12px; }
.account-login code { overflow: hidden; color: #15211c; font-size: 14px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.account-login .password-state { padding-left: 12px; border-left: 1px solid #dfe5e1; }
.account-login .password-state strong { color: #68736d; font-size: 13px; }
.account-record { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
.account-record div { padding: 10px; border: 1px solid #e7eae8; border-radius: 5px; background: #fafbfa; }
.account-record dt { color: var(--muted); font-size: 12px; }
.account-record dd { margin: 5px 0 0; overflow: hidden; font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.account-actions { display: grid; grid-template-columns: auto minmax(180px, 320px) auto; align-items: end; gap: 8px; margin-top: 14px; }
.form-submit-row { display: flex; align-items: center; gap: 14px; }
.form-error { color: #a43b36; font-size: 13px; }
.credential-mask { position: fixed; z-index: 1000; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(13, 19, 16, .58); }
.credential-dialog { width: min(520px, 100%); padding: 24px; border-radius: 8px; background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.25); }
.credential-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.credential-head h3 { margin: 4px 0 0; font-size: 22px; }
.credential-dialog > label { display: block; margin-top: 16px; font-weight: 700; }
.credential-value { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; margin-top: 7px; }
.credential-value code { display: flex; min-height: 44px; align-items: center; padding: 0 12px; overflow-x: auto; border: 1px solid #dce2de; border-radius: 5px; background: #f7f9f8; color: #111a16; font-size: 15px; white-space: nowrap; }
.credential-done { width: 100%; margin-top: 22px; }
@media (max-width: 980px) { .metrics { grid-template-columns: repeat(2, 1fr); } .split { grid-template-columns: 1fr; } }
@media (max-width: 980px) { .inspiration-admin-list { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .account-login { grid-template-columns: minmax(0, 1fr) auto; }
  .account-login .password-state { grid-column: 1 / -1; padding: 10px 0 0; border-top: 1px solid #dfe5e1; border-left: 0; }
  .account-record { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 10; width: 224px; transform: translateX(-100%); transition: transform .2s ease; }
  .sidebar.open { transform: translateX(0); box-shadow: 12px 0 32px rgba(0,0,0,.18); }
  .menu-button { display: block; }
  .topbar { height: 72px; padding: 0 16px; }
  .content { padding: 18px 14px 32px; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric { padding: 14px; }
  .metric-value { font-size: 24px; }
  .panel-head { align-items: flex-start; flex-direction: column; }
  .panel-head .actions { width: 100%; margin-left: 0; }
  .search { flex: 1; }
  .login-panel { padding: 28px 22px; }
  .permission-grid { grid-template-columns: 1fr; }
  .permission-item { grid-template-columns: minmax(100px, 1fr) auto auto; }
  .account-actions { grid-template-columns: 1fr; }
  .diy-overview { align-items: flex-start; flex-direction: column; }
  .diy-overview .inventory-stats { width: 100%; }
  .diy-product-grid { grid-template-columns: 1fr; padding: 12px; }
  .diy-product-card { grid-template-columns: 96px minmax(0, 1fr); }
}

/* Operations shell and control center */
.dashboard-welcome,.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 18px; }
.dashboard-welcome h3,.page-intro h3 { margin: 3px 0 4px; font-size: 24px; }
.dashboard-welcome p,.page-intro p { margin: 0; color: var(--muted); }
.dashboard-date { flex: 0 0 auto; color: #68736e; font-size: 12px; }
.dashboard-metrics .metric { position: relative; overflow: hidden; padding: 16px 18px; }
.dashboard-metrics .metric::before { position: absolute; top: 0; left: 0; width: 3px; height: 100%; content: ""; background: #9eb9b0; }
.todo-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-bottom: 20px; }
.todo-card { min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 3px 14px; padding: 14px 15px; border-color: var(--line); background: #fff; text-align: left; }
.todo-card > span { color: #59635f; font-weight: 650; }.todo-card > strong { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 24px; }.todo-card small { color: var(--muted); }.todo-card > b { grid-column: 1 / -1; margin-top: 8px; color: var(--green); font-size: 10px; }
.todo-card.urgent { border-left: 3px solid #a84b43; }.todo-card.warning { border-left: 3px solid #b18335; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(280px,.7fr); gap: 18px; }
.order-pipeline { display: grid; grid-template-columns: repeat(7,minmax(72px,1fr)); gap: 0; padding: 16px 18px 19px; border-bottom: 1px solid var(--line); }
.order-pipeline > div { min-width: 0; padding: 0 10px; border-right: 1px solid #edf0ee; }.order-pipeline > div:first-child { padding-left: 0; }.order-pipeline > div:last-child { padding-right: 0; border-right: 0; }
.order-pipeline span,.order-pipeline strong { display: block; }.order-pipeline span { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }.order-pipeline strong { margin: 3px 0 7px; font-size: 18px; }
.order-pipeline i { display: block; height: 3px; overflow: hidden; border-radius: 2px; background: #edf1ef; }.order-pipeline i b { display: block; height: 100%; background: #539482; }
.stock-list { display: grid; }.stock-list > button { min-height: 57px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 10px 16px; border: 0; border-bottom: 1px solid #edf0ee; border-radius: 0; background: #fff; text-align: left; }.stock-list > button:last-child { border-bottom: 0; }.stock-list > button:hover { background: #fafcfb; }.stock-list > button span { display: grid; min-width: 0; }.stock-list > button strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.stock-list > button small { color: var(--muted); }.stock-list > button > b { min-width: 30px; color: var(--red); text-align: right; font-size: 18px; }
.healthy-state { display: grid; place-items: center; gap: 3px; min-height: 180px; padding: 20px; color: var(--green); text-align: center; }.healthy-state span { color: var(--muted); font-size: 11px; }
.empty.compact { padding: 26px 16px; }
.control-map-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.control-map-grid > button { min-width: 0; display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: 92px; padding: 14px 16px; border: 0; border-right: 1px solid #edf0ee; border-bottom: 1px solid #edf0ee; border-radius: 0; background: #fff; text-align: left; }.control-map-grid > button:nth-child(3n) { border-right: 0; }.control-map-grid > button:hover { background: #f9fbfa; }
.control-icon { width: 34px; height: 34px; display: grid; place-items: center; color: var(--green); border-radius: 5px; background: var(--green-soft); font-weight: 750; }.control-map-grid > button > span:nth-child(2) { display: grid; min-width: 0; gap: 2px; }.control-map-grid strong,.control-map-grid small,.control-map-grid em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.control-map-grid small { color: var(--muted); }.control-map-grid em { color: #53615b; font-size: 10px; font-style: normal; }.control-map-grid .tag { justify-self: end; }
.publish-state { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 5px; background: #fff; }.publish-state div { display: grid; }.publish-state small { color: var(--muted); }
.status-filters { display: flex; flex-wrap: wrap; gap: 5px; }.status-filter { min-height: 30px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-color: transparent; color: #65706b; background: transparent; font-size: 11px; }.status-filter i { min-width: 18px; padding: 0 5px; border-radius: 9px; background: #e9eeeb; font-size: 9px; font-style: normal; text-align: center; }.status-filter.active { color: #fff; background: var(--green); }.status-filter.active i { background: rgba(255,255,255,.18); }
.order-toolbar { min-height: 66px; }.order-toolbar .actions { min-width: 220px; }
.order-subline { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 400; }
.after-sales-pending { color: var(--red); }
.after-sales-handled { color: var(--muted); }
.order-address { display: grid; gap: 2px; width: 210px; white-space: normal; }
.order-address strong { font-size: 12px; }
.order-address small { color: var(--muted); font-size: 11px; }
.order-address span { overflow: hidden; display: -webkit-box; color: #59625e; font-size: 11px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.profit-cell { display: grid; gap: 2px; min-width: 116px; }
.profit-cell strong { color: var(--green); }
.profit-cell.loss strong,.loss-text { color: var(--red); }
.profit-cell small { color: var(--muted); font-size: 10px; font-weight: 400; }
.order-detail-mask { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 24px; background: rgba(26,36,32,.42); }
.order-detail { width: min(880px, 100%); max-height: min(760px, 92vh); overflow: auto; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 24px 70px rgba(20,30,26,.22); }
.order-detail > header,.detail-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }.order-detail > header { padding-bottom: 17px; border-bottom: 1px solid var(--line); }.order-detail > header h3 { margin: 4px 0 5px; }.order-detail > header p,.detail-note { margin: 0; color: var(--muted); font-size: 12px; }
.order-detail-grid { display: grid; grid-template-columns: minmax(280px,1.15fr) minmax(220px,.85fr); gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.bracelet-preview { position: relative; min-height: 320px; overflow: hidden; border: 1px solid #e4e8e4; border-radius: 8px; background: linear-gradient(180deg, #fafaf7 0%, #f5f2eb 100%); box-shadow: inset 0 0 0 1px rgba(120,100,70,.08); }
.bracelet-preview.real-preview { display: grid; place-items: center; background: linear-gradient(180deg, #fbfbf9 0%, #f3f0e9 100%); }
.bracelet-strap { position: absolute; inset: 24px; border: 12px solid #d5cec0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(120,100,70,.14); opacity: .95; }
.bracelet-ring { position: absolute; inset: 56px; border: 1px dashed rgba(123,132,127,.16); border-radius: 50%; }
.bracelet-center { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; gap: 4px; min-width: 108px; padding: 12px 16px; border: 1px solid rgba(123,132,127,.12); border-radius: 999px; background: rgba(255,255,255,.72); color: #828a84; transform: translate(-50%, -50%); text-align: center; pointer-events: none; }
.real-preview-stack { position: absolute; inset: 16px; display: grid; grid-template-columns: 1.35fr .65fr; grid-template-rows: 1fr 1fr; gap: 10px; }
.real-preview-item { margin: 0; overflow: hidden; border: 1px solid #e2e6e2; border-radius: 7px; background: #fff; box-shadow: 0 8px 18px rgba(38,44,40,.08); }
.real-preview-item-1 { grid-row: 1 / span 2; }
.real-preview-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.real-preview-label { background: rgba(255,255,255,.86); backdrop-filter: blur(6px); }
.bracelet-center span { font-family: Georgia, serif; font-size: 26px; font-weight: 700; letter-spacing: .04em; }
.bracelet-center small { font-size: 11px; font-weight: 650; }
.bracelet-bead { position: absolute; z-index: 1; overflow: hidden; transform: translate(-50%,-50%); border: 2px solid rgba(255,255,255,.78); border-radius: 50%; background: radial-gradient(circle at 30% 25%,#fff,var(--bead-color) 60%,#777); box-shadow: 0 3px 8px rgba(48,55,51,.2); }
.bracelet-bead img,.material-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.detail-note { margin-top: 8px; text-align: center; }.order-meta { display: grid; align-content: start; gap: 0; }.order-meta > div { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid #edf0ee; }.order-meta span { color: var(--muted); font-size: 11px; }.order-meta strong { font-size: 14px; }.detail-section { padding-top: 18px; }.detail-section h4 { margin: 0; }.detail-section-head { align-items: center; margin-bottom: 10px; }.detail-items { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }.detail-items > div { display: grid; grid-template-columns: 38px minmax(140px,1fr) minmax(110px,.8fr) 60px 90px; align-items: center; gap: 9px; min-height: 58px; padding: 8px 12px; border-bottom: 1px solid #edf0ee; font-size: 12px; }.detail-items > div:last-child { border-bottom: 0; }.finance-detail-items > div { grid-template-columns: 38px minmax(140px,1fr) minmax(110px,.8fr) 52px 86px 132px; }.finance-detail-items small { color: var(--muted); font-size: 11px; text-align: right; }.material-thumb { width: 34px; height: 34px; overflow: hidden; border: 1px solid rgba(0,0,0,.08); border-radius: 50%; box-shadow: 0 2px 6px rgba(32,38,35,.12); }.material-thumb-fallback { background: radial-gradient(circle at 30% 25%,#fff,var(--bead-color,#c9ccca) 60%,#777); }.detail-items > div > span:not(.material-thumb) { color: var(--muted); }.detail-items strong:last-child { text-align: right; }
.order-shipping-detail { display: grid; grid-template-columns: minmax(180px,.7fr) minmax(280px,1.3fr); border: 1px solid var(--line); border-radius: 6px; background: #fafbfa; }
.order-shipping-detail > div { display: grid; align-content: start; gap: 5px; min-width: 0; padding: 14px 16px; }
.order-shipping-detail > div + div { border-left: 1px solid var(--line); }
.order-shipping-detail span { color: var(--muted); font-size: 11px; }
.order-shipping-detail strong { white-space: normal; line-height: 1.55; }
.order-shipping-detail p { margin: 0; color: #59625e; font-size: 12px; line-height: 1.5; }
@media (max-width: 720px) { .order-detail-mask { padding: 10px; }.order-detail { padding: 16px; }.order-detail-grid { grid-template-columns: 1fr; }.order-shipping-detail { grid-template-columns: 1fr; }.order-shipping-detail > div + div { border-top: 1px solid var(--line); border-left: 0; }.bracelet-preview { min-height: 260px; }.bracelet-strap { inset: 18px; border-width: 10px; }.bracelet-ring { inset: 42px; }.bracelet-center { min-width: 92px; padding: 10px 12px; }.bracelet-center span { font-size: 22px; }.real-preview-stack { inset: 12px; gap: 8px; }.detail-items > div { grid-template-columns: 34px minmax(100px,1fr) 68px 42px 62px; gap: 5px; padding: 7px; font-size: 11px; }.finance-detail-items > div { grid-template-columns: 34px minmax(92px,1fr) 58px 34px 58px 98px; }.finance-detail-items small { font-size: 10px; }.material-thumb { width: 30px; height: 30px; } }
.settings-layout { display: grid; grid-template-columns: 210px minmax(0,850px); align-items: start; gap: 20px; }.settings-nav { position: sticky; top: 98px; display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }.settings-nav > strong { padding: 6px 9px 9px; }.settings-nav a { min-height: 36px; display: flex; align-items: center; padding: 7px 9px; color: #5b6661; border-radius: 4px; text-decoration: none; }.settings-nav a:hover { color: var(--green); background: #eef5f2; }.settings-help { margin-top: 10px; padding: 11px 9px 2px; color: var(--muted); border-top: 1px solid var(--line); font-size: 10px; }.settings-sections { min-width: 0; }.settings-section { scroll-margin-top: 96px; }.settings-fields { padding: 2px 20px 20px; }.settings-fields label small { color: var(--muted); font-weight: 400; }.surface-label { margin-left: auto; padding: 4px 7px; color: #55645e; border-radius: 4px; background: #eef2f0; font-size: 10px; }.setting-switch { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; padding: 15px; border: 1px solid var(--line); border-radius: 5px; background: #fafbfa; }.setting-switch > div { display: grid; gap: 3px; }.setting-switch span { color: var(--muted); font-size: 11px; }.switch { display: block; flex: 0 0 auto; margin: 0; }.switch input { position: absolute; opacity: 0; pointer-events: none; }.switch i { position: relative; display: block; width: 42px; height: 24px; border-radius: 12px; background: #b8c1bd; transition: .2s; }.switch i::after { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; content: ""; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }.switch input:checked + i { background: var(--green); }.switch input:checked + i::after { transform: translateX(18px); }.sticky-save { position: sticky; bottom: 14px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 15px; border: 1px solid #bfcac5; border-radius: 6px; background: rgba(255,255,255,.96); box-shadow: 0 9px 26px rgba(27,45,38,.1); backdrop-filter: blur(10px); }.sticky-save > div { display: grid; }.sticky-save span { color: var(--muted); font-size: 10px; }
@media (max-width: 1220px) { .dashboard-grid { grid-template-columns: 1fr; }.control-map-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.control-map-grid > button:nth-child(3n) { border-right: 1px solid #edf0ee; }.control-map-grid > button:nth-child(2n) { border-right: 0; }.todo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.sync-chip { display: none; } }
@media (max-width: 900px) { .preview-link { display: none; }.order-pipeline { grid-template-columns: repeat(4,1fr); row-gap: 14px; }.order-pipeline > div:nth-child(4) { border-right: 0; }.settings-layout { grid-template-columns: 1fr; }.settings-nav { position: static; grid-template-columns: repeat(3,1fr); }.settings-nav > strong,.settings-help { grid-column: 1 / -1; }.page-intro { align-items: flex-start; flex-direction: column; }.order-toolbar { align-items: stretch; }.order-toolbar .actions { width: 100%; }.order-toolbar .search { max-width: none; } }
@media (max-width: 720px) { .topbar-actions .admin-chip { padding-right: 6px; }.topbar-actions .admin-chip #adminName { display: none; }.content { padding: 18px 14px 34px; }.dashboard-welcome { align-items: flex-start; flex-direction: column; gap: 6px; }.dashboard-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }.todo-grid,.control-map-grid { grid-template-columns: 1fr; }.control-map-grid > button { border-right: 0 !important; }.order-pipeline { grid-template-columns: repeat(2,1fr); }.order-pipeline > div:nth-child(even) { border-right: 0; }.settings-nav { grid-template-columns: 1fr; }.settings-nav > strong,.settings-help { grid-column: auto; }.sticky-save > div { display: none; } }
