:root {
  --ink: #17231d;
  --muted: #6d7871;
  --line: #e7ebe8;
  --panel: #ffffff;
  --canvas: #f5f7f5;
  --green: #0b6b47;
  --green-dark: #07563a;
  --green-soft: #eaf4ef;
  --lime: #dff36b;
  --orange: #ef8d32;
  --orange-soft: #fff3e6;
  --red: #c9453c;
  --shadow: 0 18px 55px rgba(23, 35, 29, .11);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--canvas); font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif; }
button, input, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 244px 1fr; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; width: 244px; display: flex; flex-direction: column; padding: 24px 16px 18px; background: #fff; border-right: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 22px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: #fff; background: var(--green); border-radius: 12px 12px 12px 4px; font-size: 19px; font-weight: 800; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 17px; letter-spacing: .02em; }
.brand small { margin-top: 3px; color: #8a938e; font-size: 11px; }
.store-switch { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; padding: 10px; text-align: left; background: #f7f9f7; border: 1px solid var(--line); border-radius: 12px; }
.store-logo { display: grid; place-items: center; height: 34px; color: #fff; background: #bd7b51; border-radius: 9px; font-family: serif; }
.store-switch strong, .store-switch small { display: block; white-space: nowrap; }
.store-switch strong { max-width: 140px; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.store-switch small { margin-top: 4px; color: var(--green); font-size: 10px; }
.store-switch b { color: #87908b; font-size: 13px; }
.nav { flex: 1; padding-top: 14px; overflow-y: auto; }
.nav-label { margin: 14px 11px 7px; color: #9aa29d; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.nav-item { position: relative; width: 100%; height: 42px; display: flex; align-items: center; gap: 11px; padding: 0 12px; margin: 2px 0; color: #58645d; background: transparent; border: 0; border-radius: 10px; font-size: 13px; font-weight: 600; }
.nav-item > span { width: 18px; font-size: 17px; text-align: center; }
.nav-item em { margin-left: auto; min-width: 19px; height: 19px; padding: 0 6px; display: grid; place-items: center; color: #6d7871; background: #edf0ee; border-radius: 10px; font-size: 10px; font-style: normal; }
.nav-item em.warning { color: #a94d17; background: #fff0df; }
.nav-item.active { color: var(--green); background: var(--green-soft); }
.nav-item.active::before { content: ""; position: absolute; left: 0; width: 3px; height: 20px; background: var(--green); border-radius: 0 3px 3px 0; }
.sidebar-help { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 11px; margin: 9px 0 12px; background: #f3f7f4; border-radius: 12px; }
.help-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 28px; height: 28px; color: var(--green); background: #fff; border-radius: 50%; font-weight: 800; }
.sidebar-help strong, .sidebar-help small { display: block; }
.sidebar-help strong { font-size: 11px; }
.sidebar-help small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.sidebar-help button { grid-column: 2; justify-self: start; padding: 0; color: var(--green); background: none; border: 0; font-size: 10px; font-weight: 700; }
.profile { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; padding: 13px 8px 0; border-top: 1px solid var(--line); }
.profile > span { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: #263f33; border-radius: 50%; font-size: 12px; }
.profile strong, .profile small { display: block; }
.profile strong { font-size: 11px; }.profile small { margin-top: 3px; color: #8e9792; font-size: 9px; }.profile b { color: #9aa29e; letter-spacing: 1px; }
.main { grid-column: 2; min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 15; height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 34px; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.search { width: min(520px, 52vw); height: 39px; display: flex; align-items: center; gap: 9px; padding: 0 12px; background: #f5f7f5; border: 1px solid transparent; border-radius: 10px; }
.search:focus-within { border-color: #9dc6b3; background: #fff; }.search span { color: #7d8882; font-size: 20px; }.search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; font-size: 12px; }.search kbd { padding: 3px 6px; color: #89918c; background: #fff; border: 1px solid var(--line); border-radius: 5px; font-size: 9px; }
.top-actions { display: flex; align-items: center; gap: 10px; }.sync-status { color: #6e7973; font-size: 10px; }.sync-status i, .drawer-head small i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; background: #31a66b; border-radius: 50%; }.icon-btn { position: relative; width: 38px; height: 38px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }.icon-btn b { position: absolute; right: -3px; top: -4px; min-width: 16px; height: 16px; display: grid; place-items: center; color: #fff; background: var(--red); border: 2px solid #fff; border-radius: 9px; font-size: 8px; }.ai-top-btn { height: 38px; padding: 0 15px; color: #fff; background: var(--green); border: 0; border-radius: 10px; font-size: 11px; font-weight: 700; }.mobile-menu { display: none; background: none; border: 0; font-size: 20px; }
.content { width: min(1240px, 100%); margin: 0 auto; padding: 28px 34px 54px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }.page-heading h1 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.03em; }.page-heading p { margin: 0; color: var(--muted); font-size: 12px; }.date-chip { padding: 8px 11px; color: #5f6b64; background: #fff; border: 1px solid var(--line); border-radius: 9px; font-size: 10px; }
.ai-hero { position: relative; overflow: hidden; min-height: 252px; display: grid; grid-template-columns: 1.45fr .9fr; gap: 28px; padding: 31px 34px; color: #fff; background: linear-gradient(125deg, #075a3d 0%, #0a6c48 58%, #11593f 100%); border-radius: 18px; box-shadow: 0 20px 45px rgba(8, 83, 56, .18); }
.ai-hero::before, .ai-hero::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }.ai-hero::before { width: 260px; height: 260px; right: -78px; top: -110px; }.ai-hero::after { width: 180px; height: 180px; right: 70px; bottom: -120px; }
.hero-copy, .ai-summary { position: relative; z-index: 1; }.hero-kicker { margin: 0 0 10px; color: #cfe5d9; font-size: 11px; font-weight: 700; }.hero-copy h2 { margin: 0; font-size: 24px; font-weight: 650; letter-spacing: -.03em; }.hero-copy > p { margin: 10px 0 20px; color: #d9e8e0; font-size: 12px; }.ai-command { height: 53px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; padding: 0 8px 0 15px; background: #fff; border-radius: 13px; box-shadow: 0 10px 30px rgba(0,0,0,.15); }.ai-command > span { color: var(--green); font-size: 19px; }.ai-command input { min-width: 0; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 12px; }.voice-btn { width: 33px; height: 33px; color: #4e5b54; background: #f0f4f1; border: 0; border-radius: 9px; }.ai-command .run-command { width: 34px; height: 34px; color: #fff; background: var(--green); border: 0; border-radius: 9px; font-size: 17px; }.quick-prompts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }.quick-prompts button { padding: 7px 10px; color: #e7f3ed; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 16px; font-size: 9px; }.quick-prompts button:hover { background: rgba(255,255,255,.18); }
.ai-summary { align-self: center; padding: 18px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; backdrop-filter: blur(8px); }.summary-title { display: flex; align-items: center; justify-content: space-between; padding-bottom: 13px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 11px; }.summary-title span { color: var(--lime); font-size: 9px; }.summary-list { display: grid; gap: 12px; padding-top: 13px; }.summary-item { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 9px; }.summary-item > span { display: grid; place-items: center; width: 26px; height: 26px; background: rgba(255,255,255,.12); border-radius: 7px; font-size: 11px; }.summary-item strong, .summary-item small { display: block; }.summary-item strong { font-size: 10px; }.summary-item small { margin-top: 3px; color: #c9ddd3; font-size: 8px; }.summary-item b { color: var(--lime); font-size: 10px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin: 27px 0 12px; }.section-title h3 { margin: 0; font-size: 14px; }.section-title p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }.text-btn { color: var(--green); background: none; border: 0; font-size: 10px; font-weight: 700; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }.metric-card { padding: 17px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }.metric-top { display: flex; align-items: center; justify-content: space-between; color: #717c75; font-size: 10px; }.metric-icon { display: grid; place-items: center; width: 28px; height: 28px; color: var(--green); background: var(--green-soft); border-radius: 8px; font-size: 12px; }.metric-value { margin: 14px 0 8px; font-size: 23px; font-weight: 720; letter-spacing: -.03em; }.metric-foot { display: flex; align-items: center; gap: 5px; color: #8b948f; font-size: 9px; }.up { color: #17875a; }.down { color: #cc543f; }
.home-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; }.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; }.task-list { padding: 5px 18px; }.task-row { display: grid; grid-template-columns: 34px 1fr auto auto; align-items: center; gap: 11px; padding: 14px 0; border-bottom: 1px solid #eef1ef; }.task-row:last-child { border: 0; }.task-icon { display: grid; place-items: center; width: 34px; height: 34px; color: var(--green); background: var(--green-soft); border-radius: 9px; }.task-icon.orange { color: #b35d19; background: var(--orange-soft); }.task-row strong, .task-row small { display: block; }.task-row strong { font-size: 11px; }.task-row small { margin-top: 5px; color: #8a938e; font-size: 9px; }.task-count { color: #9a5a25; font-size: 9px; }.task-row button { padding: 7px 10px; color: var(--green); background: #fff; border: 1px solid #bcd6c8; border-radius: 7px; font-size: 9px; font-weight: 700; }
.insight-card { height: 100%; padding: 20px; color: #fff; background: #1b2e25; border-radius: 14px; }.insight-head { display: flex; align-items: center; justify-content: space-between; color: #d8e1dc; font-size: 11px; }.insight-head span { color: var(--lime); font-size: 9px; }.insight-card h4 { margin: 22px 0 8px; font-size: 17px; line-height: 1.45; }.insight-card > p { margin: 0; color: #aebdb5; font-size: 10px; line-height: 1.7; }.mini-chart { height: 66px; display: flex; align-items: end; gap: 6px; margin: 19px 0 12px; }.mini-chart i { flex: 1; height: var(--h); background: #37634e; border-radius: 4px 4px 1px 1px; }.mini-chart i.hot { background: var(--lime); }.chart-labels { display: flex; justify-content: space-between; color: #84968c; font-size: 8px; }.insight-card button { width: 100%; margin-top: 18px; padding: 9px; color: #183428; background: var(--lime); border: 0; border-radius: 8px; font-size: 9px; font-weight: 800; }
.table-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; }.table-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px; border-bottom: 1px solid var(--line); }.filter-group { display: flex; gap: 6px; }.filter-btn { padding: 7px 11px; color: #67736c; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 9px; }.filter-btn.active { color: var(--green); background: var(--green-soft); border-color: #c9ddd2; }.primary-action { padding: 9px 13px; color: #fff; background: var(--green); border: 0; border-radius: 8px; font-size: 10px; font-weight: 700; }.data-table { width: 100%; border-collapse: collapse; }.data-table th { padding: 11px 15px; color: #8b948f; background: #fafbfa; text-align: left; font-size: 9px; font-weight: 600; }.data-table td { padding: 13px 15px; border-top: 1px solid #eff1f0; font-size: 10px; }.data-table strong, .data-table small { display: block; }.data-table small { margin-top: 4px; color: #8b948f; }.product-cell { display: flex; align-items: center; gap: 10px; }.product-thumb { width: 38px; height: 38px; object-fit: cover; border-radius: 8px; }.status { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; color: #247650; background: #edf7f1; border-radius: 10px; font-size: 8px; }.status.warn { color: #a45a1d; background: #fff2e4; }.status.danger { color: #ae4037; background: #fdecea; }.row-action { color: var(--green); background: none; border: 0; font-size: 9px; font-weight: 700; }
.empty-view { min-height: 420px; display: grid; place-items: center; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; }.empty-view span { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 15px; color: var(--green); background: var(--green-soft); border-radius: 18px; font-size: 27px; }.empty-view h3 { margin: 0 0 8px; }.empty-view p { margin: 0 0 18px; color: var(--muted); font-size: 11px; }.empty-view button { padding: 9px 15px; color: #fff; background: var(--green); border: 0; border-radius: 9px; font-size: 10px; }
.store-form { display: grid; gap: 16px; }.store-form label { display: grid; gap: 7px; color: #526058; font-size: 11px; font-weight: 700; }.store-form input { height: 42px; padding: 0 12px; color: var(--ink); background: #fbfcfb; border: 1px solid var(--line); border-radius: 9px; outline: 0; font-size: 12px; }.store-form input:focus { background: #fff; border-color: #8dc2aa; }.form-note { margin: -3px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.knowledge-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.knowledge-metrics article { padding: 17px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.knowledge-metrics span, .knowledge-metrics small, .knowledge-metrics strong { display: block; }.knowledge-metrics span { color: var(--muted); font-size: 10px; }.knowledge-metrics strong { margin: 9px 0 5px; font-size: 23px; }.knowledge-metrics small { color: #8d9691; font-size: 9px; }
.knowledge-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; }.knowledge-editor, .knowledge-tester { padding: 20px; }
.knowledge-card-head { min-height: 43px; display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 15px; }.knowledge-card-head h3 { margin: 0; font-size: 14px; }.knowledge-card-head p { margin: 5px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.knowledge-editor textarea, .knowledge-ask textarea { width: 100%; padding: 11px 12px; color: var(--ink); background: #fbfcfb; border: 1px solid var(--line); border-radius: 9px; outline: 0; font: inherit; font-size: 11px; resize: vertical; }.knowledge-editor textarea:focus, .knowledge-ask textarea:focus { background: #fff; border-color: #8dc2aa; }
.knowledge-form-row { display: grid; grid-template-columns: .7fr 1.3fr; gap: 12px; }.knowledge-ask { display: grid; gap: 10px; }
.knowledge-answer { min-height: 100px; display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 14px; color: #405047; background: #f3f8f5; border: 1px solid #dce9e1; border-radius: 11px; }.knowledge-answer > span { flex: 0 0 auto; display: grid; place-items: center; width: 27px; height: 27px; color: #fff; background: var(--green); border-radius: 8px; }.knowledge-answer p { margin: 0; font-size: 10px; line-height: 1.7; }.knowledge-answer b { display: block; margin-bottom: 5px; color: var(--green); font-size: 9px; }.knowledge-answer small { display: block; margin-top: 7px; color: var(--muted); font-size: 8px; }
.knowledge-table td:first-child { width: 46%; max-width: 560px; }.knowledge-table td:first-child small { line-height: 1.6; white-space: normal; }.learn-progress { width: 130px; height: 6px; margin-bottom: 6px; overflow: hidden; background: #e8eeea; border-radius: 5px; }.learn-progress i { display: block; height: 100%; background: var(--green); border-radius: inherit; }
.ai-drawer { position: fixed; z-index: 50; top: 0; right: 0; width: min(420px, 100vw); height: 100vh; display: flex; flex-direction: column; background: #f7f9f7; box-shadow: -20px 0 60px rgba(19, 34, 26, .14); transform: translateX(105%); transition: transform .28s ease; }.ai-drawer.open { transform: translateX(0); }.drawer-mask { position: fixed; z-index: 45; inset: 0; background: rgba(15, 25, 20, .22); opacity: 0; pointer-events: none; transition: opacity .25s; }.drawer-mask.open { opacity: 1; pointer-events: auto; }.drawer-head { height: 70px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; padding: 0 20px; background: #fff; border-bottom: 1px solid var(--line); }.ai-avatar { display: grid; place-items: center; width: 38px; height: 38px; color: #fff; background: var(--green); border-radius: 11px; }.drawer-head strong, .drawer-head small { display: block; }.drawer-head strong { font-size: 13px; }.drawer-head small { margin-top: 4px; color: #7a847e; font-size: 9px; }.drawer-head button { width: 30px; height: 30px; color: #6f7973; background: #f2f4f2; border: 0; border-radius: 8px; font-size: 19px; }.chat { flex: 1; overflow-y: auto; padding: 22px 20px; }.message { display: flex; gap: 8px; margin-bottom: 16px; }.message.user-message { justify-content: flex-end; }.mini-avatar { flex: 0 0 auto; display: grid; place-items: center; width: 25px; height: 25px; color: #fff; background: var(--green); border-radius: 7px; font-size: 10px; }.bubble { max-width: 85%; padding: 11px 13px; color: #3f4b44; background: #fff; border: 1px solid var(--line); border-radius: 4px 13px 13px 13px; font-size: 11px; line-height: 1.65; }.user-message .bubble { color: #fff; background: var(--green); border: 0; border-radius: 13px 4px 13px 13px; }.chat-card { margin: -5px 0 18px 33px; padding: 13px; background: #fff; border: 1px solid var(--line); border-radius: 11px; }.chat-card strong { display: block; margin-bottom: 10px; font-size: 10px; }.chat-card p { display: flex; justify-content: space-between; margin: 7px 0; color: #657169; font-size: 9px; }.chat-card button { width: 100%; margin-top: 8px; padding: 8px; color: #fff; background: var(--green); border: 0; border-radius: 7px; font-size: 9px; font-weight: 700; }.chat-suggestions { display: flex; gap: 7px; padding: 0 18px 10px; overflow-x: auto; }.chat-suggestions button { flex: 0 0 auto; padding: 7px 9px; color: var(--green); background: #fff; border: 1px solid #cfe0d7; border-radius: 13px; font-size: 8px; }.chat-compose { padding: 12px 16px 16px; background: #fff; border-top: 1px solid var(--line); }.compose-input { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 7px; padding: 8px; background: #f5f7f5; border: 1px solid var(--line); border-radius: 11px; }.compose-input button { width: 27px; height: 27px; color: #68736d; background: #fff; border: 1px solid var(--line); border-radius: 7px; }.compose-input textarea { min-height: 27px; max-height: 100px; padding: 6px 2px; resize: none; background: transparent; border: 0; outline: 0; font-size: 10px; }.compose-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; }.compose-foot span { color: #929a95; font-size: 8px; }.send-btn { width: 28px; height: 28px; color: #fff; background: var(--green); border: 0; border-radius: 8px; }
.modal-mask { position: fixed; z-index: 70; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(17, 29, 23, .35); opacity: 0; pointer-events: none; transition: opacity .2s; }.modal-mask.open { opacity: 1; pointer-events: auto; }.confirm-modal { position: relative; width: min(480px, 100%); padding: 28px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); transform: translateY(8px); transition: transform .2s; }.modal-mask.open .confirm-modal { transform: translateY(0); }.modal-close { position: absolute; right: 16px; top: 14px; width: 30px; height: 30px; color: #6f7973; background: #f3f5f3; border: 0; border-radius: 8px; font-size: 18px; }.modal-icon { display: grid; place-items: center; width: 42px; height: 42px; color: var(--green); background: var(--green-soft); border-radius: 12px; font-weight: 800; }.eyebrow { margin: 17px 0 7px; color: var(--green); font-size: 9px; font-weight: 800; letter-spacing: .12em; }.confirm-modal h2 { margin: 0; font-size: 20px; }.modal-desc { margin: 8px 0 16px; color: var(--muted); font-size: 10px; }.change-list { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }.change-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 13px; border-bottom: 1px solid var(--line); font-size: 10px; }.change-row:last-child { border: 0; }.change-row span { color: var(--muted); }.change-row b { color: var(--ink); }.safe-tip { margin: 13px 0; padding: 10px; color: #527061; background: #f3f8f5; border-radius: 8px; font-size: 9px; }.modal-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 9px; margin-top: 16px; }.modal-actions button { padding: 11px; border-radius: 9px; font-size: 10px; font-weight: 700; }.modal-actions .secondary { background: #fff; border: 1px solid var(--line); }.modal-actions .primary { color: #fff; background: var(--green); border: 1px solid var(--green); }
.product-editor { position: relative; width: min(720px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 28px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); transform: translateY(8px); transition: transform .2s; }.modal-mask.open .product-editor { transform: translateY(0); }.product-editor h2 { margin: 0; font-size: 20px; }.editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.editor-grid label { display: grid; gap: 6px; color: #526058; font-size: 10px; font-weight: 700; }.editor-grid label.wide { grid-column: 1 / -1; }.editor-grid input, .editor-grid select, .editor-grid textarea { width: 100%; padding: 10px 11px; color: var(--ink); background: #fbfcfb; border: 1px solid var(--line); border-radius: 9px; outline: 0; font: inherit; font-weight: 400; resize: vertical; }.editor-grid input:focus, .editor-grid select:focus, .editor-grid textarea:focus { background: #fff; border-color: #8dc2aa; }.table-search { display: flex; gap: 6px; }.table-search input { width: 210px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; outline: 0; font-size: 9px; }.table-search input:focus { border-color: #8dc2aa; }.table-search button { padding: 7px 11px; color: #fff; background: var(--green); border: 0; border-radius: 8px; font-size: 9px; }.row-actions { display: flex; align-items: center; gap: 10px; white-space: nowrap; }.row-action.danger-action { color: #bc493f; }.table-empty { padding: 26px; color: var(--muted); text-align: center; }.table-empty strong, .table-empty small { display: block; }.table-empty small { margin-top: 7px; }.pos-source { display: inline-flex; padding: 4px 7px; color: #315d48; background: #edf7f1; border-radius: 10px; font-size: 8px; font-weight: 700; }
.toast { position: fixed; z-index: 90; left: 50%; bottom: 28px; padding: 11px 16px; color: #fff; background: #183127; border-radius: 9px; box-shadow: var(--shadow); font-size: 10px; opacity: 0; transform: translate(-50%, 10px); pointer-events: none; transition: .25s; }.toast.error { background: #9f3f37; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1040px) { .metrics, .knowledge-metrics { grid-template-columns: repeat(2, 1fr); }.ai-hero { grid-template-columns: 1fr; }.ai-summary { display: none; }.home-grid, .knowledge-grid { grid-template-columns: 1fr; }.insight-card { min-height: 280px; } }
@media (max-width: 760px) { .app-shell { display: block; }.sidebar { transform: translateX(-105%); transition: transform .25s; }.sidebar.mobile-open { transform: translateX(0); box-shadow: 20px 0 60px rgba(20,30,25,.18); }.main { margin: 0; }.mobile-menu { display: block; }.topbar { height: 60px; padding: 0 15px; }.search { width: 100%; }.search kbd, .sync-status, .icon-btn { display: none; }.ai-top-btn { white-space: nowrap; }.content { padding: 22px 15px 40px; }.page-heading { align-items: start; }.date-chip { display: none; }.ai-hero { padding: 24px 18px; }.hero-copy h2 { font-size: 20px; }.ai-command { grid-template-columns: auto 1fr auto; }.ai-command .voice-btn { display: none; }.metrics { grid-template-columns: 1fr 1fr; }.task-row { grid-template-columns: 32px 1fr auto; }.task-count { display: none; }.table-card { overflow-x: auto; }.data-table { min-width: 760px; }.editor-grid { grid-template-columns: 1fr; }.editor-grid label.wide { grid-column: auto; }.product-editor { padding: 23px 18px; }.table-toolbar { align-items: stretch; flex-direction: column; }.table-search input { flex: 1; width: auto; } }
@media (max-width: 430px) { .metrics, .knowledge-metrics, .knowledge-form-row { grid-template-columns: 1fr; }.page-heading h1 { font-size: 21px; }.top-actions { gap: 4px; }.ai-top-btn { padding: 0 10px; }.quick-prompts button:nth-child(3) { display: none; }.confirm-modal { padding: 23px 18px; } }
