:root {
    color-scheme: light;
    --ink: #202124;
    --muted: #767a82;
    --line: #e7e6e3;
    --surface: #fff;
    --canvas: #f5f4f1;
    --soft: #f1f0ed;
    --brand: #303da8;
    --brand-soft: #e9ebfa;
    --green: #197a56;
    --green-soft: #e6f4ec;
    --red: #a33c32;
    --red-soft: #fbecea;
    --shadow: 0 16px 50px rgb(30 31 37 / 8%);
}

* { box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.auth-body { min-height: 100vh; background: #f8f7f4; }
.auth-layout { display: grid; grid-template-columns: minmax(300px, 0.88fr) minmax(440px, 1.12fr); min-height: 100vh; }
.auth-aside { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 42px clamp(28px, 5vw, 76px); color: #fff; background: #252b48; }
.auth-aside::before, .auth-aside::after { position: absolute; content: ""; border: 1px solid rgb(255 255 255 / 10%); border-radius: 50%; pointer-events: none; }
.auth-aside::before { width: 540px; height: 540px; right: -280px; top: 18%; }
.auth-aside::after { width: 390px; height: 390px; right: -205px; top: 28%; }
.brand { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 12px; width: fit-content; }
.brand-symbol { display: grid; place-items: center; width: 38px; height: 38px; overflow: hidden; border-radius: 11px; background: #252b48; box-shadow: 0 4px 14px rgb(0 0 0 / 12%); }
.brand-symbol img { width: 44px; height: 44px; object-fit: contain; }
.brand-name { font-size: 15px; letter-spacing: -.035em; }
.brand-name strong { font-weight: 700; }
.auth-aside .brand-symbol { background: #303653; box-shadow: none; }
.auth-aside-copy { position: relative; z-index: 1; max-width: 480px; margin: auto 0; padding: 72px 0; }
.eyebrow { margin: 0 0 12px; color: #777b84; font-size: 10px; font-weight: 750; letter-spacing: .13em; }
.auth-aside .eyebrow { color: #b7bddc; }
.auth-aside h1 { margin: 0; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.03; letter-spacing: -.055em; }
.auth-aside-copy > p:last-child { max-width: 390px; margin: 22px 0 0; color: #c4c8da; font-size: 15px; line-height: 1.7; }
.aside-foot { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; color: #c4c8da; font-size: 12px; }
.aside-dot, .connection-indicator i, .status-pill i { width: 7px; height: 7px; border-radius: 50%; background: #58c59a; box-shadow: 0 0 0 4px rgb(88 197 154 / 12%); }
.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 44px 32px 24px; }
.auth-card { width: min(100%, 430px); margin: auto; padding: 46px 42px 42px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.auth-card h2 { margin: 0; font-size: 30px; letter-spacing: -.045em; }
.muted { color: var(--muted); font-size: 14px; line-height: 1.65; }
.auth-card > .muted { margin: 10px 0 28px; }
.google-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid #d9d9d7; border-radius: 10px; color: #282a2f; background: #fff; font-size: 14px; font-weight: 650; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.google-button:hover { border-color: #aeb3c2; box-shadow: 0 5px 16px rgb(20 25 44 / 8%); transform: translateY(-1px); }
.google-button svg { width: 19px; height: 19px; }
.button-arrow { margin-left: auto; color: #7a7d85; font-size: 20px; }
.google-button-disabled { justify-content: flex-start; cursor: not-allowed; color: #8d9098; background: #f4f4f2; }
.google-g { display: grid; width: 19px; height: 19px; place-items: center; color: #8c8f97; font-weight: 800; }
.notice { padding: 12px 14px; border-radius: 9px; font-size: 12px; line-height: 1.5; }
.notice-error { margin: 22px 0 14px; border: 1px solid #efc5c0; color: var(--red); background: var(--red-soft); }
.notice-success { margin: 17px 0 0; border: 1px solid #cfe9d9; color: var(--green); background: var(--green-soft); }
.notice-neutral { margin: 22px 0 14px; color: #646975; background: #f1f1ef; }
.privacy-note { margin: 20px 0 0; color: #898c92; font-size: 11px; line-height: 1.65; text-align: center; }
.auth-footer { color: #989aa0; font-size: 11px; }
.auth-footer span { padding: 0 5px; }
.onboarding-wrap { width: min(100% - 36px, 720px); margin: 0 auto; padding: 34px 0 24px; }
.brand-dark { color: var(--ink); }
.onboarding-card { margin-top: 42px; padding: clamp(24px, 5vw, 46px); border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.step-label { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: #777b84; font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.step-label span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; color: var(--brand); background: var(--brand-soft); letter-spacing: 0; }
.onboarding-card h1, .workspace-page h1 { margin: 0; font-size: clamp(27px, 4vw, 36px); letter-spacing: -.05em; }
.onboarding-card > .muted { margin: 9px 0 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; color: #363941; font-size: 12px; font-weight: 650; }
.field-full { grid-column: 1 / -1; }
.field em { margin-left: 5px; color: #92949a; font-size: 11px; font-style: normal; font-weight: 450; }
.field input, .field select { width: 100%; min-height: 47px; padding: 0 13px; border: 1px solid #e2e1de; border-radius: 9px; outline: none; color: var(--ink); background: #fbfbfa; font-size: 13px; font-weight: 450; transition: border-color .18s ease, box-shadow .18s ease; }
.field input:focus, .field select:focus { border-color: #8189d1; box-shadow: 0 0 0 3px rgb(48 61 168 / 10%); }
.field-error { color: var(--red); font-size: 11px; font-weight: 500; }
.primary-button { display: flex; align-items: center; justify-content: space-between; min-height: 50px; margin-top: 6px; padding: 0 17px; border: 0; border-radius: 9px; color: #fff; background: #252b48; font-size: 13px; font-weight: 650; cursor: pointer; }
.primary-button:hover { background: #323b65; }
.onboarding-foot { margin: 17px 0 0; color: #858891; font-size: 11px; text-align: center; }
.portal-body { min-height: 100vh; background: #f5f5f3; }
.topbar { display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 32px; border-bottom: 1px solid var(--line); background: #fff; }
.text-button { padding: 8px 10px; border: 0; color: #666a73; background: transparent; font-size: 12px; cursor: pointer; }
.text-button:hover { color: var(--brand); }
.workspace-page { width: min(100% - 40px, 760px); margin: 64px auto; }
.workspace-page h1 { margin-bottom: 8px; }
.workspace-page > .muted { margin: 0 0 26px; }
.workspace-list { display: grid; gap: 11px; }
.workspace-card { display: flex; align-items: center; gap: 13px; min-height: 78px; padding: 14px 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .18s ease, transform .18s ease; }
.workspace-card:hover { border-color: #afb5df; transform: translateY(-1px); }
.workspace-icon, .tenant-avatar, .header-avatar { display: grid; flex: 0 0 auto; place-items: center; border-radius: 10px; color: var(--brand); background: var(--brand-soft); font-weight: 700; }
.workspace-icon { width: 42px; height: 42px; font-size: 16px; }
.workspace-copy { display: grid; gap: 4px; }
.workspace-copy strong { font-size: 13px; }
.workspace-copy small { color: #868991; font-size: 11px; }
.portal-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.portal-sidebar { display: flex; flex-direction: column; min-height: 100vh; padding: 24px 17px 18px; border-right: 1px solid #e8e8e6; background: #fff; }
.portal-sidebar .brand { padding: 0 8px; }
.tenant-switcher { display: flex; align-items: center; gap: 10px; margin: 36px 0 28px; padding: 11px 10px; border: 1px solid var(--line); border-radius: 10px; }
.tenant-avatar { width: 36px; height: 36px; font-size: 13px; }
.tenant-switcher > span:last-child { display: grid; gap: 4px; min-width: 0; }
.tenant-switcher strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.tenant-switcher small { color: #878a91; font-size: 10px; }
.side-nav { display: grid; gap: 5px; }
.nav-section { margin: 0 8px 5px; color: #7b7f88; font-size: 9px; font-weight: 750; letter-spacing: .12em; }
.nav-section-muted { margin-top: 20px; }
.nav-item { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 10px; border-radius: 8px; color: #5f626b; font-size: 12px; }
.nav-item-active { color: var(--brand); background: var(--brand-soft); font-weight: 650; }
.nav-item-disabled { color: #a4a6ab; }
.nav-icon { width: 17px; color: currentColor; font-size: 17px; line-height: 1; text-align: center; }
.sidebar-bottom { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding: 15px 8px 0; border-top: 1px solid #eeedeb; }
.connection-indicator { display: flex; align-items: center; gap: 8px; color: #6b7078; font-size: 10px; }
.connection-indicator i { width: 6px; height: 6px; }
.sidebar-bottom .text-button { width: fit-content; padding-left: 0; }
.portal-main { width: min(100%, 1440px); margin: 0 auto; padding: 32px clamp(22px, 4vw, 54px) 54px; }
.portal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 27px; }
.breadcrumb { color: #848790; font-size: 11px; }
.breadcrumb span { padding: 0 7px; color: #b7b9bf; }
.portal-header h1 { margin: 9px 0 0; font-size: 24px; letter-spacing: -.045em; }
.header-avatar { width: 37px; height: 37px; border: 1px solid #e4e5f3; border-radius: 50%; font-size: 12px; }
.catalog-main { max-width: 1540px; }
.catalog-main .portal-header { margin-bottom: 22px; }
.catalog-intro { position: relative; display: flex; align-items: center; gap: 17px; min-height: 118px; margin-bottom: 19px; padding: 22px 25px; overflow: hidden; border: 1px solid #e3e3ed; border-radius: 14px; background: linear-gradient(110deg, #fff 0%, #fff 58%, #f4f4fa 100%); box-shadow: 0 2px 10px rgb(30 31 37 / 2%); }
.catalog-intro::after { position: absolute; top: -64px; right: 8%; width: 182px; height: 182px; border: 1px solid rgb(83 89 149 / 9%); border-radius: 50%; content: ""; pointer-events: none; }
.catalog-intro-icon { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; border: 1px solid #e2e3f0; border-radius: 12px; color: #535995; background: #f0f0f8; font-size: 21px; }
.catalog-intro-copy { position: relative; z-index: 1; display: grid; min-width: 0; gap: 5px; }
.catalog-intro-copy .eyebrow { margin: 0; color: #72768f; font-size: 9px; }
.catalog-intro-copy h2 { margin: 0; font-size: 17px; letter-spacing: -.025em; }
.catalog-intro-copy > p:last-child { margin: 0; color: #747781; font-size: 11px; line-height: 1.55; }
.catalog-readonly-pill { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 7px 10px; border: 1px solid #e8e7e2; border-radius: 999px; color: #777b84; background: rgb(255 255 255 / 78%); font-size: 9px; font-weight: 650; white-space: nowrap; }
.catalog-readonly-pill i { width: 6px; height: 6px; border-radius: 50%; background: #c39b54; }
.catalog-error { margin: 0 0 16px; }
.catalog-panel { overflow: hidden; border: 1px solid #e7e6e3; border-radius: 14px; background: #fff; box-shadow: 0 3px 14px rgb(30 31 37 / 3%); }
.catalog-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; padding: 21px 23px 17px; }
.catalog-panel-heading .eyebrow { margin: 0 0 6px; font-size: 9px; }
.catalog-panel-heading h2 { margin: 0; font-size: 16px; letter-spacing: -.025em; }
.catalog-result-count { padding: 6px 9px; border: 1px solid #e9e8e5; border-radius: 999px; color: #686b74; background: #fafaf9; font-size: 10px; font-weight: 600; white-space: nowrap; }
.catalog-filter-form { display: grid; grid-template-columns: minmax(220px, 1.7fr) minmax(160px, .9fr) minmax(150px, .75fr) auto; align-items: center; gap: 9px; margin: 0 22px 17px; padding: 12px; border: 1px solid #eeedeb; border-radius: 11px; background: #fafaf9; }
.catalog-search-field, .catalog-select-field { display: flex; align-items: center; min-width: 0; min-height: 39px; border: 1px solid #e6e5e2; border-radius: 8px; background: #fff; }
.catalog-search-field { gap: 8px; padding: 0 10px; color: #888b93; }
.catalog-search-field > span { font-size: 19px; line-height: 1; }
.catalog-search-field input { width: 100%; min-width: 0; height: 37px; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; }
.catalog-search-field input::placeholder { color: #9a9ca3; }
.catalog-select-field select { width: 100%; min-width: 0; height: 37px; padding: 0 29px 0 10px; border: 0; outline: 0; color: #4d5058; background: transparent; font-size: 10px; cursor: pointer; }
.catalog-search-field:focus-within, .catalog-select-field:focus-within { border-color: #9ca1d4; box-shadow: 0 0 0 3px rgb(83 89 149 / 9%); }
.catalog-filter-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.catalog-filter-button { min-height: 38px; padding: 0 13px; border: 1px solid #303653; border-radius: 8px; color: #fff; background: #303653; font-size: 10px; font-weight: 650; cursor: pointer; transition: background .16s ease, transform .16s ease; }
.catalog-filter-button:hover { background: #41496e; transform: translateY(-1px); }
.catalog-filter-button:focus-visible, .catalog-clear-link:focus-visible, .catalog-empty-state a:focus-visible, .catalog-page-button:focus-visible { outline: 3px solid rgb(83 89 149 / 24%); outline-offset: 2px; }
.catalog-clear-link { color: #666a75; font-size: 10px; font-weight: 600; white-space: nowrap; }
.catalog-clear-link:hover { color: var(--brand); }
.catalog-table-scroll { width: 100%; overflow-x: auto; border-top: 1px solid #efeeeb; scrollbar-color: #d1d1d4 transparent; scrollbar-width: thin; }
.catalog-table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; }
.catalog-table th { padding: 12px 16px; color: #858891; background: #fbfbfa; font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.catalog-table th:first-child, .catalog-table td:first-child { padding-left: 23px; }
.catalog-table th:last-child, .catalog-table td:last-child { padding-right: 23px; }
.catalog-table td { height: 67px; padding: 10px 16px; border-top: 1px solid #f0efed; color: #4e5159; font-size: 11px; vertical-align: middle; }
.catalog-table tbody tr { transition: background .14s ease; }
.catalog-table tbody tr:hover { background: #fbfbfd; }
.catalog-product-cell { display: flex; align-items: center; gap: 11px; min-width: 235px; }
.catalog-product-mark { display: grid; flex: 0 0 36px; width: 36px; height: 36px; place-items: center; overflow: hidden; border: 1px solid #e5e5ee; border-radius: 9px; color: #535995; background: #f0f0f8; font-size: 14px; font-weight: 700; text-transform: uppercase; }
.catalog-product-copy { display: grid; min-width: 0; gap: 4px; }
.catalog-product-copy > strong { max-width: 330px; overflow: hidden; color: #30323a; font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.catalog-product-identifiers { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; color: #858891; font-size: 9px; }
.catalog-product-identifiers > span:first-child { max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catalog-no-code { color: #999ba2; font-style: italic; }
.catalog-code-count { padding: 3px 6px; border-radius: 5px; color: #62668e; background: #f0f0f8; font-size: 8px; font-weight: 600; white-space: nowrap; }
.catalog-category-name { color: #666a73; }
.catalog-price { color: #30323a !important; font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.catalog-type-pill, .catalog-state-pill { display: inline-flex; align-items: center; min-height: 23px; padding: 4px 8px; border-radius: 6px; color: #676a73; background: #f1f1ef; font-size: 9px; font-weight: 600; white-space: nowrap; }
.catalog-type-combo { color: #6c5995; background: #f0edf8; }
.catalog-state-pill { gap: 6px; }
.catalog-state-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.catalog-state-active { color: #287652; background: #e9f5ee; }
.catalog-state-inactive { color: #777b84; background: #f1f1ef; }
.catalog-empty-state { display: grid; justify-items: center; padding: 64px 22px 70px; text-align: center; }
.catalog-empty-icon { display: grid; width: 47px; height: 47px; place-items: center; margin-bottom: 13px; border: 1px solid #e4e4ef; border-radius: 13px; color: #535995; background: #f0f0f8; font-size: 22px; }
.catalog-empty-state h3 { margin: 0; color: #30323a; font-size: 14px; letter-spacing: -.015em; }
.catalog-empty-state p { max-width: 430px; margin: 8px 0 0; color: #858891; font-size: 10px; line-height: 1.6; }
.catalog-empty-state a { margin-top: 14px; color: var(--brand); font-size: 10px; font-weight: 650; }
.catalog-pagination { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 22px; border-top: 1px solid #efeeeb; color: #858891; font-size: 9px; }
.catalog-pagination > div { display: flex; align-items: center; gap: 10px; }
.catalog-page-button { display: inline-flex; min-height: 30px; align-items: center; padding: 0 9px; border: 1px solid #e5e4e1; border-radius: 7px; color: #535995; font-size: 9px; font-weight: 600; white-space: nowrap; }
.catalog-page-button:hover { border-color: #d4d5e5; background: #f7f7fb; }
.catalog-page-disabled { color: #b1b2b7; background: #fafaf9; }
.catalog-page-indicator { color: #777b84; font-size: 9px; white-space: nowrap; }
.catalog-management-toolbar { display: grid; grid-template-columns: minmax(180px, 1fr) auto; gap: 12px 18px; align-items: center; margin: 0 0 16px; padding: 15px 18px; border: 1px solid #e7e6e3; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgb(30 31 37 / 2%); }
.catalog-management-copy { display: grid; gap: 4px; }
.catalog-management-copy strong { font-size: 12px; }
.catalog-management-copy span { color: #858891; font-size: 10px; }
.catalog-management-actions { display: flex; justify-content: flex-end; gap: 8px; }
.catalog-management-actions .small-button { display: inline-flex; align-items: center; justify-content: center; min-height: 37px; font-size: 10px; }
.catalog-import-form { grid-column: 1 / -1; display: flex; align-items: end; gap: 10px; padding-top: 12px; border-top: 1px solid #efeeeb; }
.catalog-import-form .field { flex: 1; min-width: 0; }
.catalog-import-form input[type="file"] { width: 100%; min-height: 38px; padding: 8px; border: 1px solid #e6e5e2; border-radius: 8px; color: #696d76; background: #fbfbfa; font-size: 10px; }
.catalog-row-action { display: inline-flex; align-items: center; gap: 7px; color: var(--brand); font-size: 10px; font-weight: 650; white-space: nowrap; }
.catalog-row-action:hover { text-decoration: underline; }
.catalog-product-mark img { width: 100%; height: 100%; object-fit: cover; }
.catalog-editor { display: grid; gap: 14px; }
.catalog-editor-section { padding: 22px 24px; border: 1px solid #e7e6e3; border-radius: 13px; background: #fff; box-shadow: 0 2px 10px rgb(30 31 37 / 2%); }
.catalog-editor-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 19px; padding-bottom: 15px; border-bottom: 1px solid #efeeeb; }
.catalog-editor-heading > span { display: grid; flex: 0 0 32px; width: 32px; height: 32px; place-items: center; border-radius: 9px; color: #535995; background: #f0f0f8; font-size: 10px; font-weight: 750; }
.catalog-editor-heading h2 { margin: 0; font-size: 14px; letter-spacing: -.02em; }
.catalog-editor-heading p { margin: 5px 0 0; color: #858891; font-size: 10px; }
.catalog-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.catalog-editor .field { gap: 7px; font-size: 10px; }
.catalog-editor .field input, .catalog-editor .field select, .catalog-editor .field textarea { width: 100%; min-width: 0; min-height: 40px; padding: 9px 11px; border: 1px solid #e6e5e2; border-radius: 8px; outline: 0; color: #363941; background: #fbfbfa; font-size: 11px; font-weight: 450; }
.catalog-editor .field select[multiple] { min-height: 115px; padding: 6px; }
.catalog-editor .field textarea { min-height: 76px; resize: vertical; line-height: 1.5; }
.catalog-editor .field input:focus, .catalog-editor .field select:focus, .catalog-editor .field textarea:focus { border-color: #9ca1d4; box-shadow: 0 0 0 3px rgb(83 89 149 / 9%); }
.catalog-editor .field input[type="file"] { padding: 8px; }
.catalog-image-current { display: flex; align-items: center; gap: 14px; color: #666a73; font-size: 10px; }
.catalog-image-current img { width: 76px; height: 76px; border: 1px solid #e6e5e2; border-radius: 10px; object-fit: cover; }
.catalog-image-current label, .catalog-import-confirm label { display: flex; align-items: center; gap: 8px; }
.catalog-component-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px 34px; gap: 8px; margin-bottom: 8px; }
.catalog-component-row select, .catalog-component-row input { min-width: 0; min-height: 38px; padding: 0 9px; border: 1px solid #e6e5e2; border-radius: 8px; color: #363941; background: #fbfbfa; font-size: 10px; }
.catalog-remove-component { border: 1px solid #edcfcb; border-radius: 8px; color: var(--red); background: var(--red-soft); font-size: 17px; cursor: pointer; }
.catalog-add-component { margin-top: 4px; padding: 7px 0; border: 0; color: var(--brand); background: transparent; font-size: 10px; font-weight: 650; cursor: pointer; }
.catalog-editor-actions { display: flex; justify-content: flex-end; align-items: center; gap: 9px; padding: 3px 0 18px; }
.catalog-editor-actions .small-button, .catalog-danger-button, .catalog-primary-button { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid #dedee2; border-radius: 8px; color: #41434b; background: #fff; font-size: 10px; font-weight: 650; cursor: pointer; }
.catalog-primary-button { border-color: #303653; color: #fff; background: #303653; }
.catalog-primary-button:hover { background: #41496e; }
.catalog-danger-button { border-color: #edcfcb; color: var(--red); background: #fff; }
.catalog-danger-button:hover { background: var(--red-soft); }

/* Dashboard and operational reports */
.dashboard-kpis, .report-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.dashboard-kpi, .report-kpis article { display: grid; min-height: 120px; align-content: space-between; gap: 10px; padding: 18px 19px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: 0 3px 14px rgb(30 31 37 / 3%); }
.dashboard-kpi > span, .report-kpis article > span { color: #777b84; font-size: 9px; font-weight: 750; letter-spacing: .1em; }
.dashboard-kpi strong, .report-kpis article strong { font-size: clamp(19px, 2vw, 25px); letter-spacing: -.045em; }
.dashboard-kpi small, .report-kpis article small { color: #858891; font-size: 10px; }
.dashboard-activity-card { margin: 0 0 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 3px 14px rgb(30 31 37 / 3%); }
.dashboard-activity-card .activity-heading { margin-bottom: 18px; }
.dashboard-activity-card .activity-heading h2 { margin: 0; font-size: 17px; letter-spacing: -.035em; }
.dashboard-activity-card .dashboard-action { min-height: 36px; padding: 0 12px; font-size: 10px; }
.dashboard-mosaic-chart, .report-mosaic-chart { display: grid; grid-template-columns: repeat(30, minmax(7px, 1fr)); gap: 4px; min-height: 112px; align-items: end; overflow-x: auto; padding: 14px 3px 0; }
.dashboard-mosaic-day, .report-mosaic-day { display: grid; grid-template-rows: repeat(8, 7px); gap: 3px; min-width: 7px; align-content: end; }
.mosaic-cell { display: block; width: 100%; min-width: 6px; min-height: 6px; border-radius: 2px; background: #f0f0ef; transition: background .16s ease, transform .16s ease; }
.mosaic-cell-active.mosaic-tone-0 { background: #252b48; }
.mosaic-cell-active.mosaic-tone-1 { background: #5864b2; }
.mosaic-cell-active.mosaic-tone-2 { background: #8b91c7; }
.dashboard-mosaic-day:nth-child(3n) .mosaic-cell-active { filter: saturate(.72); }
.dashboard-chart-legend { display: flex; align-items: center; gap: 13px; margin-top: 13px; color: #858891; font-size: 9px; }
.dashboard-chart-legend span:first-child { margin-right: auto; }
.dashboard-chart-legend i { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 2px; vertical-align: -1px; }
.legend-low { background: #a6a9c7; }
.legend-high { background: #252b48; }
.dashboard-report-grid, .report-visual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.report-panel { min-width: 0; padding: 21px 22px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: 0 3px 14px rgb(30 31 37 / 3%); }
.report-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.report-panel-heading h2 { margin: 0; font-size: 15px; letter-spacing: -.03em; }
.report-panel-heading .eyebrow { margin-bottom: 7px; }
.report-panel-heading > div > small { display: block; margin-top: 6px; color: #858891; font-size: 10px; }
.report-compact-row { display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 46px; border-bottom: 1px solid #f0efed; }
.report-compact-row:last-child { border-bottom: 0; }
.report-compact-row > div { display: grid; gap: 4px; min-width: 0; }
.report-compact-row strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.report-compact-row small { color: #858891; font-size: 9px; }
.report-compact-row > b { font-size: 10px; white-space: nowrap; }
.report-dot { width: 8px; height: 8px; border-radius: 50%; background: #303653; }
.payment-tone-1 { background: #6977c6; }
.payment-tone-2 { background: #bc8c5d; }
.payment-tone-3 { background: #4e9b7d; }
.rank-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; padding: 11px 0; border-bottom: 1px solid #f0efed; }
.rank-row:last-child { border-bottom: 0; }
.rank-copy { display: grid; gap: 4px; min-width: 0; }
.rank-copy strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.rank-copy small { color: #858891; font-size: 9px; }
.rank-row > strong { font-size: 10px; white-space: nowrap; }
.rank-track, .report-bar-track { grid-column: 1 / -1; height: 5px; overflow: hidden; border-radius: 8px; background: #efefed; }
.rank-track span, .report-bar-track i { display: block; height: 100%; border-radius: inherit; background: #303653; }
.orders-mini-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; margin-top: 17px; padding-top: 13px; border-top: 1px solid #efeeeb; color: #858891; font-size: 10px; }
.orders-mini-summary strong { color: var(--ink); }
.reports-main { padding-bottom: 44px; }
.reports-intro { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin: 0 0 16px; padding: 25px 27px; border: 1px solid #e7e6e3; border-radius: 14px; background: linear-gradient(120deg, #fff 0%, #f8f8fb 68%, #f0f1f8 100%); }
.reports-intro h2 { margin: 0; font-size: 20px; letter-spacing: -.04em; }
.reports-intro p:last-child { max-width: 670px; margin: 8px 0 0; color: #777b84; font-size: 11px; line-height: 1.6; }
.report-toolbar { display: flex; align-items: end; gap: 9px; }
.period-filter { display: grid; gap: 5px; min-width: 142px; color: #767a82; font-size: 9px; }
.period-filter select { min-height: 36px; padding: 0 10px; border: 1px solid #e2e1de; border-radius: 8px; color: var(--ink); background: #fff; font-size: 10px; }
.report-toolbar .small-button { min-height: 36px; white-space: nowrap; }
.report-kpis { margin-bottom: 14px; }
.report-kpis article { min-height: 112px; }
.report-chart-panel { margin-bottom: 14px; padding: 22px 24px 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 3px 14px rgb(30 31 37 / 3%); }
.chart-comparison { display: grid; gap: 5px; padding: 9px 12px; border: 1px solid #eeedeb; border-radius: 9px; background: #fafaf9; }
.chart-comparison span { color: #858891; font-size: 9px; }
.chart-comparison strong { font-size: 12px; }
.report-mosaic-chart { grid-template-columns: repeat(30, minmax(12px, 1fr)); min-height: 185px; gap: 4px; padding: 15px 2px 0; }
.report-mosaic-day { grid-template-rows: repeat(8, 13px) 15px; gap: 4px; }
.report-mosaic-day small { color: #858891; font-size: 8px; text-align: center; white-space: nowrap; }
.report-bar-row { display: grid; gap: 6px; padding: 10px 0; border-bottom: 1px solid #f0efed; }
.report-bar-row:last-child { border-bottom: 0; }
.report-bar-label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 10px; }
.report-bar-label strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-bar-label span { display: flex; gap: 9px; color: #858891; font-size: 9px; white-space: nowrap; }
.report-bar-label b { color: var(--ink); font-size: 10px; }
.report-bar-row > small { color: #858891; font-size: 9px; }
.report-bar-track { height: 6px; }
.report-bar-track-alt i { background: #8088bf; }
.report-bar-track-payment i { background: #4d987a; }
.seller-avatar { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; color: #535995; background: #eff0f8; font-size: 10px; font-weight: 700; }
.report-empty { margin: 0; padding: 16px 0; color: #858891; font-size: 10px; line-height: 1.55; }
.report-table-panel { margin-bottom: 14px; padding: 21px 22px; }
.report-period-actions { display: flex; align-items: center; gap: 12px; color: #858891; font-size: 9px; white-space: nowrap; }
.report-period-actions a { color: var(--brand); font-weight: 650; }
.report-table-scroll { overflow-x: auto; }
.report-table { width: 100%; border-collapse: collapse; font-size: 10px; text-align: left; }
.report-table th { padding: 10px 9px; border-bottom: 1px solid #e8e7e4; color: #777b84; font-size: 8px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.report-table td { padding: 12px 9px; border-bottom: 1px solid #f0efed; color: #53565d; vertical-align: top; white-space: nowrap; }
.report-table tbody tr:last-child td { border-bottom: 0; }
.report-table td strong { color: var(--ink); font-size: 10px; }
.report-table .align-right { text-align: right; }
.table-subline { display: block; margin-top: 4px; color: #858891; font-size: 8px; }
.report-details { position: relative; }
.report-details summary { color: var(--brand); cursor: pointer; font-weight: 650; }
.report-details-content { position: absolute; z-index: 3; top: 20px; left: 0; display: grid; gap: 7px; min-width: 220px; max-width: 330px; padding: 12px; border: 1px solid #e3e2df; border-radius: 9px; background: #fff; box-shadow: 0 10px 30px rgb(30 31 37 / 14%); white-space: normal; }
.report-details-content > span { display: flex; justify-content: space-between; gap: 12px; color: #53565d; font-size: 9px; }
.report-details-content > span > b { white-space: nowrap; }
.report-details-content small { display: block; margin-top: 3px; color: #858891; font-size: 8px; }
.orders-status-pills { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.orders-status-pills span, .order-state { display: inline-flex; align-items: center; padding: 5px 8px; border-radius: 7px; color: #5b5e67; background: #f2f2f0; font-size: 8px; font-weight: 650; white-space: nowrap; }
.order-state-abierto { color: #94671c; background: #fbf2dc; }
.order-state-cobrado { color: #197a56; background: #e6f4ec; }
.order-state-cancelado { color: #a33c32; background: #fbecea; }
@media (max-width: 1100px) { .dashboard-kpis, .report-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .dashboard-report-grid, .report-visual-grid { grid-template-columns: 1fr; } .reports-intro { align-items: stretch; flex-direction: column; } .report-toolbar { align-items: stretch; flex-direction: column; } .report-toolbar > *, .period-filter select { width: 100%; } .dashboard-kpis, .report-kpis { gap: 8px; } .dashboard-kpi, .report-kpis article { min-height: 104px; padding: 14px; } .dashboard-mosaic-chart { grid-template-columns: repeat(30, 9px); overflow-x: auto; } .report-mosaic-chart { grid-template-columns: repeat(30, 18px); } .report-period-actions { align-items: flex-end; flex-direction: column; } .orders-status-pills { justify-content: flex-start; } }
.catalog-import-review { margin-top: 15px; }
.catalog-import-confirm { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 22px; color: #5d6068; font-size: 10px; }
.catalog-import-confirm > div { display: flex; align-items: center; gap: 8px; }
.catalog-import-confirm input[type="checkbox"], .catalog-image-current input[type="checkbox"] { accent-color: var(--brand); }
@media (max-width: 760px) {
    .catalog-management-toolbar { grid-template-columns: 1fr; }
    .catalog-management-actions { justify-content: flex-start; }
    .catalog-import-form { grid-column: auto; align-items: stretch; flex-direction: column; }
    .catalog-editor-section { padding: 17px 15px; }
    .catalog-editor-grid { grid-template-columns: 1fr; }
    .catalog-editor-grid .field-full { grid-column: auto; }
    .catalog-editor-actions { flex-wrap: wrap; justify-content: stretch; }
    .catalog-editor-actions > * { flex: 1; }
    .catalog-editor-actions .catalog-danger-button, .catalog-editor-actions .catalog-primary-button, .catalog-editor-actions .small-button { width: 100%; }
    .catalog-component-row { grid-template-columns: minmax(0, 1fr) 90px 32px; }
    .catalog-import-confirm { align-items: stretch; flex-direction: column; }
    .catalog-import-confirm > div { justify-content: flex-end; }
}
.welcome-panel, .setup-panel, .profile-summary { border: 1px solid #e8e7e4; border-radius: 13px; background: #fff; box-shadow: 0 2px 10px rgb(30 31 37 / 2%); }
.welcome-panel { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 124px; padding: 24px 28px; }
.welcome-panel .eyebrow { margin-bottom: 9px; }
.welcome-panel h2 { margin: 0; font-size: 21px; letter-spacing: -.04em; }
.welcome-panel p:last-child { margin: 7px 0 0; color: #777b84; font-size: 12px; }
.inline-separator { padding: 0 5px; color: #b3b4b8; }
.status-pill, .section-status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 100px; color: var(--green); background: var(--green-soft); font-size: 10px; font-weight: 650; white-space: nowrap; }
.status-pill i { width: 6px; height: 6px; box-shadow: none; }
.setup-panel { position: relative; display: flex; gap: 18px; min-height: 215px; margin-top: 18px; padding: 27px; overflow: hidden; }
.setup-icon { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border-radius: 11px; color: var(--brand); background: var(--brand-soft); font-size: 20px; }
.setup-copy { position: relative; z-index: 1; max-width: 660px; }
.setup-copy .eyebrow { margin: 2px 0 9px; }
.setup-copy h2 { max-width: 560px; margin: 0; font-size: 18px; line-height: 1.35; letter-spacing: -.035em; }
.setup-copy > p:not(.eyebrow) { max-width: 610px; margin: 9px 0 15px; color: #737781; font-size: 12px; line-height: 1.65; }
.feature-status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid #e7e6e3; border-radius: 7px; color: #6e727b; background: #fafaf9; font-size: 10px; }
.feature-status .status-dot { width: 6px; height: 6px; border-radius: 50%; background: #a0a3aa; }
.setup-art { position: absolute; right: 28px; bottom: 25px; display: grid; grid-template-columns: repeat(3, 16px); gap: 4px; transform: rotate(-12deg); opacity: .75; }
.setup-art span { width: 16px; height: 16px; border-radius: 3px; background: #eeeff7; }
.setup-art span:nth-child(2), .setup-art span:nth-child(6) { background: #dfe2f4; }
.setup-art span:nth-child(4), .setup-art span:nth-child(8) { background: #e8dfeb; }
.setup-art span:nth-child(5) { background: #dcefe5; }
.setup-art span:nth-child(9) { background: #f3e9dc; }
.profile-summary { margin-top: 18px; padding: 24px 27px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid #efeeeb; }
.section-heading .eyebrow { margin-bottom: 7px; }
.section-heading h2 { margin: 0; font-size: 15px; letter-spacing: -.025em; }
.section-status { padding: 6px 9px; font-size: 9px; }
.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px 24px; margin: 0; padding-top: 19px; }
.profile-grid div { min-width: 0; }
.profile-grid dt { margin-bottom: 6px; color: #888b92; font-size: 10px; }
.profile-grid dd { overflow-wrap: anywhere; margin: 0; color: #34363d; font-size: 12px; font-weight: 550; }
.logo-editor { display: flex; align-items: center; gap: 17px; margin-top: 22px; padding-top: 19px; border-top: 1px solid #efeeeb; }
.logo-preview { display: grid; flex: 0 0 auto; place-items: center; width: 72px; height: 72px; overflow: hidden; border: 1px solid #e8e7e4; border-radius: 11px; color: #858891; background: #fafaf9; font-size: 11px; text-align: center; }
.logo-preview small { color: #a0a2a8; font-size: 8px; }
.logo-preview img { width: 100%; height: 100%; object-fit: contain; }
.logo-form { display: flex; align-items: end; gap: 12px; flex: 1; min-width: 0; }
.logo-form .field { flex: 1; min-width: 0; }
.logo-form input[type="file"] { padding: 10px; background: #fff; }
.small-button { min-height: 42px; padding: 0 14px; border: 1px solid #dcdde1; border-radius: 8px; color: #34363d; background: #fff; font-size: 11px; font-weight: 650; cursor: pointer; }
.small-button:hover { border-color: #aeb3df; color: var(--brand); }
.business-profile-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 23px; padding-top: 20px; border-top: 1px solid #efeeeb; }
.business-profile-form .field input, .business-profile-form .field select { min-height: 43px; background: #fbfbfa; }
.profile-save-button { grid-column: 1 / -1; justify-self: end; }
.switcher-chevron { margin-left: auto; color: #888b92; font-size: 17px; }
.dashboard-main { max-width: 1500px; }
.dashboard-welcome { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 142px; padding: 25px 29px; border: 1px solid #e9e7e4; border-radius: 14px; background: #fff; box-shadow: 0 2px 10px rgb(30 31 37 / 2%); }
.welcome-copy .eyebrow { margin-bottom: 9px; }
.welcome-copy h2 { margin: 0; font-size: clamp(20px, 2vw, 25px); letter-spacing: -.045em; }
.welcome-copy > p:last-child { margin: 8px 0 0; color: #777b84; font-size: 12px; }
.dashboard-action { display: inline-flex; align-items: center; gap: 22px; min-height: 41px; padding: 0 14px; border: 1px solid #e1e1e4; border-radius: 8px; color: #363941; background: #fff; font-size: 11px; font-weight: 650; white-space: nowrap; transition: border-color .18s ease, color .18s ease, transform .18s ease; }
.dashboard-action:hover { transform: translateY(-1px); border-color: #b7bbdf; color: var(--brand); }
.dashboard-action span { color: #898c94; font-size: 16px; }
.dashboard-actions { display: flex; align-items: center; gap: 9px; }
.dashboard-secondary-action { display: inline-flex; align-items: center; gap: 9px; min-height: 41px; padding: 0 12px; border-radius: 8px; color: #696d76; font-size: 10px; font-weight: 600; white-space: nowrap; }
.dashboard-secondary-action:hover { color: var(--brand); background: #f4f4fa; }
.dashboard-secondary-action span { font-size: 15px; }
.status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.status-card { display: flex; align-items: center; gap: 12px; min-height: 100px; padding: 17px; border: 1px solid #e9e7e4; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgb(30 31 37 / 2%); }
.status-card-icon, .settings-intro-icon { display: grid; flex: 0 0 auto; place-items: center; width: 39px; height: 39px; border-radius: 10px; font-size: 17px; }
.status-icon-violet { color: #565ba1; background: #efeff9; }
.status-icon-sand { color: #a0783f; background: #f8f1e6; }
.status-icon-green { color: #367d63; background: #e9f4ee; }
.status-card > div { display: grid; min-width: 0; gap: 4px; }
.status-card p { overflow: hidden; margin: 0; color: #777b84; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.status-card strong { overflow: hidden; color: #292b31; font-size: 13px; font-weight: 680; text-overflow: ellipsis; white-space: nowrap; }
.status-card small { overflow: hidden; color: #999ba1; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.status-check, .status-neutral { display: grid; flex: 0 0 auto; place-items: center; width: 22px; height: 22px; margin-left: auto; border-radius: 50%; font-size: 11px; font-weight: 750; }
.status-check { color: #247852; background: #e9f5ee; }
.status-neutral { color: #8e9097; background: #f1f1ef; }
.activity-card, .dashboard-profile-card, .settings-card { border: 1px solid #e9e7e4; border-radius: 13px; background: #fff; box-shadow: 0 2px 10px rgb(30 31 37 / 2%); }
.activity-card { margin-top: 16px; padding: 22px 24px 18px; }
.activity-heading, .dashboard-profile-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.activity-heading .eyebrow, .dashboard-profile-heading .eyebrow { margin-bottom: 6px; }
.activity-heading h2, .dashboard-profile-heading h2 { margin: 0; font-size: 15px; letter-spacing: -.025em; }
.coming-soon-pill { padding: 7px 9px; border: 1px solid #e9e8e5; border-radius: 7px; color: #777b84; background: #f8f8f6; font-size: 9px; white-space: nowrap; }
.activity-empty { position: relative; display: grid; min-height: 280px; margin-top: 15px; overflow: hidden; place-items: center; border-top: 1px solid #f0efed; }
.mosaic-illustration { position: absolute; right: 5%; bottom: 0; left: 5%; display: grid; grid-template-columns: repeat(12, minmax(8px, 1fr)); grid-template-rows: repeat(6, 18px); align-items: end; justify-items: center; gap: 4px; opacity: .68; mask-image: linear-gradient(to top, #000 5%, transparent 100%); }
.mosaic-illustration span { width: 100%; max-width: 17px; height: 11px; border-radius: 2px; background: #292b31; }
.mosaic-illustration span:nth-child(3n) { height: 16px; background: #73788f; }
.mosaic-illustration span:nth-child(4n) { height: 7px; background: #e4d9ea; }
.mosaic-illustration span:nth-child(5n) { height: 13px; background: #c8dace; }
.mosaic-illustration span:nth-child(7n) { height: 5px; background: #efdfc8; }
.mosaic-illustration span:nth-child(11n) { height: 17px; background: #555b72; }
.activity-empty-copy { position: relative; z-index: 1; width: min(100% - 32px, 420px); padding: 20px 22px; border: 1px solid rgb(232 231 228 / 90%); border-radius: 12px; background: rgb(255 255 255 / 91%); text-align: center; backdrop-filter: blur(5px); }
.empty-chart-icon { display: grid; width: 34px; height: 34px; margin: 0 auto 10px; place-items: center; border-radius: 9px; color: #535995; background: #efeff8; font-size: 17px; }
.activity-empty-copy h3 { margin: 0; font-size: 13px; letter-spacing: -.02em; }
.activity-empty-copy p { max-width: 340px; margin: 7px auto 11px; color: #777b84; font-size: 10px; line-height: 1.6; }
.activity-note { color: #9a9ca2; font-size: 9px; }
.dashboard-profile-card { margin-top: 16px; padding: 21px 24px; }
.dashboard-profile-heading { padding-bottom: 16px; border-bottom: 1px solid #efeeeb; }
.dashboard-profile-heading a { color: var(--brand); font-size: 10px; font-weight: 650; }
.dashboard-profile-heading a span { padding-left: 5px; }
.dashboard-profile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding-top: 17px; }
.dashboard-profile-grid div { min-width: 0; }
.dashboard-profile-grid dt { margin-bottom: 5px; color: #888b92; font-size: 9px; }
.dashboard-profile-grid dd { overflow-wrap: anywhere; margin: 0; color: #34363d; font-size: 11px; font-weight: 550; }
.header-back-link { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid #e5e5e3; border-radius: 50%; color: #4e5158; background: #fff; font-size: 17px; }
.settings-main { max-width: 1200px; }
.settings-notice { margin: 0 0 16px; }
.settings-intro { display: flex; align-items: center; gap: 15px; margin-bottom: 17px; padding: 20px 23px; border: 1px solid #e9e7e4; border-radius: 12px; background: #fff; }
.settings-intro-icon { width: 43px; height: 43px; color: #535995; background: #efeff8; font-size: 20px; }
.settings-intro .eyebrow { margin-bottom: 5px; }
.settings-intro h2 { margin: 0; font-size: 17px; letter-spacing: -.035em; }
.settings-intro p:last-child { margin: 6px 0 0; color: #777b84; font-size: 10px; line-height: 1.5; }
.settings-card { margin-bottom: 15px; padding: 22px 24px; }
.settings-profile-form { margin-top: 19px; padding-top: 0; border-top: 0; }
.settings-profile-form .field input, .settings-profile-form .field select { min-height: 44px; background: #fbfbfa; }
.settings-profile-form .profile-save-button { min-width: 145px; color: #fff; border-color: #292b31; background: #292b31; }
.settings-profile-form .profile-save-button:hover { color: #fff; border-color: #454856; background: #454856; }
.logo-settings-card { padding-bottom: 20px; }
.settings-card-copy { margin: 13px 0 0; color: #777b84; font-size: 11px; line-height: 1.6; }
.settings-logo-editor { margin-top: 17px; padding-top: 17px; }
.settings-boundary-note { margin: 5px 0 0; color: #8b8e95; font-size: 10px; text-align: center; }
.workspace-create-button { display: inline-flex; align-items: center; gap: 11px; color: #363941; font-weight: 650; }
.workspace-create-button span { color: var(--brand); font-size: 17px; }
.platform-page { min-height: 100vh; }
.platform-header { display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 clamp(18px, 4vw, 54px); border-bottom: 1px solid #e8e7e4; background: #fff; }
.platform-header .brand-symbol { background: #292f50; }
.platform-main { width: min(100% - 44px, 1160px); margin: 0 auto; padding: 38px 0 64px; }
.platform-title-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.platform-title-row .eyebrow { margin-bottom: 8px; }
.platform-title-row h1 { margin: 0; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.05em; }
.platform-title-row .muted { margin: 8px 0 0; }
.operator-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #d9eadf; border-radius: 100px; color: #26724f; background: #f0f8f3; font-size: 10px; font-weight: 650; white-space: nowrap; }
.operator-badge i, .platform-enabled i, .platform-disabled i { width: 6px; height: 6px; border-radius: 50%; background: #43a476; }
.platform-feature-banner { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; padding: 16px 18px; border: 1px solid #e9e7e4; border-radius: 11px; background: #fff; }
.platform-feature-icon { display: grid; flex: 0 0 auto; width: 37px; height: 37px; place-items: center; border-radius: 9px; color: #535995; background: #efeff8; font-size: 17px; }
.platform-feature-banner > div { flex: 1; min-width: 0; }
.platform-feature-banner strong { font-size: 12px; }
.platform-feature-banner p { margin: 4px 0 0; color: #777b84; font-size: 10px; line-height: 1.5; }
.feature-ready-badge, .feature-locked-badge { padding: 6px 8px; border-radius: 6px; font-size: 9px; font-weight: 650; white-space: nowrap; }
.feature-ready-badge { color: #287652; background: #e9f5ee; }
.feature-locked-badge { color: #8c6d3f; background: #f8f1e6; }
.platform-list-card { overflow: hidden; border: 1px solid #e9e7e4; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgb(30 31 37 / 2%); }
.platform-list-heading { display: flex; align-items: center; justify-content: space-between; padding: 19px 21px; border-bottom: 1px solid #efeeeb; }
.platform-list-heading h2 { margin: 0; font-size: 14px; }
.platform-list-heading p { margin: 5px 0 0; color: #888b92; font-size: 10px; }
.platform-list-caption { color: #888b92; font-size: 9px; }
.platform-workspace-row { display: grid; grid-template-columns: 42px minmax(160px, .8fr) minmax(350px, 1.2fr); align-items: center; gap: 15px; padding: 17px 21px; border-bottom: 1px solid #f0efed; }
.platform-workspace-row:last-child { border-bottom: 0; }
.platform-workspace-info { display: grid; min-width: 0; gap: 4px; }
.platform-workspace-info strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.platform-workspace-info span { overflow: hidden; color: #777b84; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.platform-workspace-info small { color: #a0a2a8; font-size: 9px; }
.platform-feature-control { display: grid; gap: 11px; min-width: 0; }
.platform-enabled, .platform-disabled { display: inline-flex; align-items: center; gap: 7px; width: fit-content; padding: 5px 8px; border-radius: 6px; font-size: 9px; font-weight: 600; }
.platform-enabled { color: #287652; background: #e9f5ee; }
.platform-disabled { color: #767982; background: #f1f1ef; }
.platform-disabled i { background: #a0a3aa; }
.platform-toggle-form { display: grid; grid-template-columns: minmax(100px, .75fr) minmax(160px, 1.3fr) auto; align-items: end; gap: 9px; }
.platform-toggle-form .field { gap: 5px; font-size: 9px; }
.platform-toggle-form .field input, .platform-toggle-form .field select { min-height: 36px; padding: 0 9px; font-size: 10px; }
.platform-save-button { min-height: 36px; padding: 0 12px; }
.platform-revoke-form { grid-template-columns: minmax(180px, 1fr) auto; }
.feature-lock-note { color: #8c6d3f; font-size: 9px; }
.platform-empty { display: grid; justify-items: center; gap: 8px; padding: 55px 20px; text-align: center; }
.platform-empty > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 11px; color: #535995; background: #efeff8; font-size: 22px; }
.platform-empty strong { font-size: 12px; }
.platform-empty p { max-width: 300px; margin: 0; color: #858891; font-size: 10px; line-height: 1.6; }
.pagination-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 21px; border-top: 1px solid #efeeeb; }
.pagination-row a, .pagination-row span { color: #535995; font-size: 10px; font-weight: 600; }
.pagination-row span[aria-disabled="true"] { color: #b0b2b7; }
.terminal-secret-panel { display: flex; gap: 14px; margin-bottom: 16px; padding: 19px 21px; border: 1px solid #e6d8bd; border-radius: 12px; background: #fffaf0; }
.terminal-secret-icon { display: grid; flex: 0 0 auto; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: #8c642d; background: #f4e7cf; font-size: 15px; font-weight: 800; }
.terminal-secret-copy { display: grid; gap: 7px; min-width: 0; }
.terminal-secret-copy .eyebrow { margin: 0; color: #8b714d; }
.terminal-secret-copy h2 { margin: 0; font-size: 14px; }
.terminal-secret-copy p { max-width: 690px; margin: 0; color: #6f6556; font-size: 10px; line-height: 1.55; }
.terminal-secret-copy code { display: block; overflow-wrap: anywhere; margin: 3px 0; padding: 12px; border: 1px solid #e8dec9; border-radius: 8px; color: #262831; background: #fff; font-size: 13px; font-weight: 700; letter-spacing: .035em; user-select: all; }
.terminal-secret-copy small { color: #8b714d; font-size: 9px; }
.terminal-issue-card, .terminal-list-card { margin-bottom: 15px; }
.terminal-issue-form { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(220px, 1.2fr) auto; align-items: end; gap: 12px; margin-top: 17px; }
.terminal-issue-form .field { gap: 6px; }
.terminal-issue-form .field input { min-height: 42px; }
.terminal-issue-button { min-height: 42px; color: #fff; border-color: #292b31; background: #292b31; }
.terminal-issue-button:hover { color: #fff; border-color: #454856; background: #454856; }
.terminal-list { margin-top: 15px; border-top: 1px solid #efeeeb; }
.terminal-row { display: grid; grid-template-columns: 36px minmax(150px, 1fr) auto minmax(240px, .9fr); align-items: center; gap: 12px; padding: 14px 2px; border-bottom: 1px solid #f0efed; }
.terminal-row:last-child { border-bottom: 0; }
.terminal-row-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; color: #535995; background: #efeff8; font-size: 15px; }
.terminal-row-copy { display: grid; min-width: 0; gap: 4px; }
.terminal-row-copy strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.terminal-row-copy span, .terminal-row-copy small { color: #858891; font-size: 9px; }
.terminal-state-active, .terminal-state-revoked { padding: 5px 8px; border-radius: 6px; font-size: 9px; font-weight: 650; white-space: nowrap; }
.terminal-state-active { color: #287652; background: #e9f5ee; }
.terminal-state-revoked { color: #777b84; background: #f1f1ef; }
.terminal-revoke-form { display: grid; grid-template-columns: minmax(130px, 1fr) auto; align-items: end; gap: 8px; }
.terminal-revoke-form .field { gap: 4px; font-size: 9px; }
.terminal-revoke-form .field input { min-height: 34px; padding: 0 9px; font-size: 10px; }
.terminal-revoke-button { min-height: 34px; padding: 0 11px; border: 1px solid #eed8d5; border-radius: 7px; color: #a33c32; background: #fff8f7; font-size: 9px; font-weight: 650; cursor: pointer; }
.terminal-revoke-button:hover { border-color: #dfa9a3; background: #fbecea; }
@media (max-width: 1100px) {
    .catalog-filter-form { grid-template-columns: minmax(190px, 1.4fr) minmax(150px, 1fr); }
    .catalog-filter-actions { justify-content: flex-start; }
}
@media (max-width: 820px) {
    .auth-layout { grid-template-columns: 1fr; }
    .auth-aside { min-height: 200px; padding: 24px; }
    .auth-aside-copy { padding: 38px 0 6px; }
    .auth-aside h1 { font-size: 38px; }
    .auth-aside-copy > p:last-child, .aside-foot { display: none; }
    .auth-main { min-height: 420px; padding: 26px 18px; }
    .auth-card { padding: 32px 25px; }
    .portal-shell { grid-template-columns: 1fr; }
    .portal-sidebar { min-height: auto; padding: 15px 19px; border-right: 0; border-bottom: 1px solid #e8e8e6; }
    .portal-sidebar .brand { display: none; }
    .tenant-switcher { margin: 0; }
    .side-nav, .sidebar-bottom { display: none; }
    .portal-main { padding: 24px 18px 34px; }
    .setup-panel { padding: 21px; }
    .setup-art { right: 16px; bottom: 15px; opacity: .32; }
    .dashboard-welcome { align-items: flex-start; flex-direction: column; padding: 21px; }
    .dashboard-actions { width: 100%; flex-wrap: wrap; }
    .status-grid { grid-template-columns: 1fr; gap: 9px; }
    .status-card { min-height: 82px; }
    .dashboard-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .activity-card { padding: 19px 17px 15px; }
    .activity-empty { min-height: 260px; }
    .settings-main { padding-top: 22px; }
    .settings-card { padding: 19px; }
    .platform-main { width: min(100% - 32px, 1160px); padding-top: 25px; }
    .platform-workspace-row { grid-template-columns: 40px minmax(0, 1fr); align-items: start; }
    .platform-workspace-row .workspace-icon { grid-row: span 2; }
    .platform-feature-control { grid-column: 2; }
    .platform-toggle-form { grid-template-columns: 1fr; }
    .platform-revoke-form { grid-template-columns: 1fr; }
    .platform-toggle-form .platform-save-button { width: 100%; }
    .terminal-issue-form { grid-template-columns: 1fr; }
    .terminal-issue-form .terminal-issue-button { width: 100%; }
    .terminal-row { grid-template-columns: 36px minmax(0, 1fr) auto; align-items: start; }
    .terminal-row-icon { grid-row: span 2; }
    .terminal-row-copy { grid-column: 2; }
    .terminal-row > .terminal-state-active, .terminal-row > .terminal-state-revoked { grid-column: 3; grid-row: 1; }
    .terminal-revoke-form { grid-column: 2 / -1; grid-template-columns: 1fr; }
    .terminal-revoke-button { width: 100%; }
    .catalog-main { padding-top: 21px; }
    .catalog-intro { align-items: flex-start; flex-wrap: wrap; gap: 12px; padding: 18px; }
    .catalog-intro-icon { flex-basis: 40px; width: 40px; height: 40px; }
    .catalog-intro-copy { flex: 1 1 calc(100% - 55px); }
    .catalog-readonly-pill { margin-left: 52px; }
    .catalog-filter-form { margin-right: 15px; margin-left: 15px; }
    .catalog-table { min-width: 710px; }
    .catalog-table th:first-child, .catalog-table td:first-child { padding-left: 16px; }
    .catalog-table th:last-child, .catalog-table td:last-child { padding-right: 16px; }
}
@media (max-width: 560px) {
    .form-grid { grid-template-columns: 1fr; }
    .field-full { grid-column: auto; }
    .onboarding-wrap { width: min(100% - 24px, 720px); padding-top: 22px; }
    .onboarding-card { margin-top: 24px; }
    .welcome-panel { align-items: flex-start; flex-direction: column; padding: 20px; }
    .setup-panel { display: block; }
    .setup-icon { margin-bottom: 17px; }
    .profile-summary { padding: 19px; }
    .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 13px; }
    .logo-editor, .logo-form { align-items: stretch; flex-direction: column; }
    .logo-form { width: 100%; }
    .business-profile-form { grid-template-columns: 1fr; }
    .business-profile-form .field-full, .profile-save-button { grid-column: auto; }
    .profile-save-button { justify-self: stretch; }
    .setup-art { display: none; }
    .topbar { height: 60px; padding: 0 18px; }
    .dashboard-action { width: 100%; justify-content: space-between; }
    .dashboard-secondary-action { padding-left: 2px; }
    .dashboard-profile-card { padding: 19px; }
    .dashboard-profile-grid { gap: 16px 12px; }
    .activity-empty { min-height: 280px; }
    .mosaic-illustration { right: 0; left: 0; grid-template-rows: repeat(6, 14px); gap: 3px; }
    .activity-empty-copy { width: calc(100% - 12px); padding: 18px 14px; }
    .activity-heading { align-items: flex-start; }
    .coming-soon-pill { margin-top: 3px; }
    .settings-intro { align-items: flex-start; padding: 17px; }
    .settings-intro-icon { width: 38px; height: 38px; }
    .settings-card { padding: 17px; }
    .settings-card .section-heading { align-items: flex-start; }
    .platform-title-row { align-items: flex-start; flex-direction: column; }
    .platform-feature-banner { align-items: flex-start; }
    .feature-ready-badge, .feature-locked-badge { margin-left: auto; }
    .platform-list-heading { padding: 17px; }
    .platform-workspace-row { padding: 15px 17px; }
    .platform-list-caption { display: none; }
    .terminal-secret-panel { padding: 16px; }
    .terminal-row { padding: 13px 0; }
    .catalog-main { padding: 19px 12px 28px; }
    .catalog-main .portal-header { margin-bottom: 17px; }
    .catalog-main .portal-header h1 { font-size: 21px; }
    .catalog-intro { min-height: auto; margin-bottom: 13px; padding: 15px; }
    .catalog-intro-copy h2 { font-size: 15px; }
    .catalog-intro-copy > p:last-child { font-size: 10px; }
    .catalog-panel-heading { align-items: flex-start; padding: 17px 15px 13px; }
    .catalog-panel-heading h2 { font-size: 15px; }
    .catalog-result-count { padding: 5px 7px; font-size: 9px; }
    .catalog-filter-form { grid-template-columns: 1fr; gap: 8px; margin: 0 12px 13px; padding: 9px; }
    .catalog-filter-actions { justify-content: space-between; }
    .catalog-filter-button { flex: 1; }
    .catalog-table { min-width: 680px; }
    .catalog-pagination { align-items: flex-start; flex-direction: column; gap: 10px; padding: 12px 14px; }
    .catalog-pagination > div { width: 100%; justify-content: space-between; gap: 5px; }
    .catalog-page-button { padding: 0 7px; }
    .catalog-empty-state { padding: 46px 17px 51px; }
}

/* Shared catalog definitions */
.definitions-tabs { display: flex; gap: 8px; margin: 0 0 17px; padding: 6px; overflow-x: auto; border: 1px solid #e7e6e3; border-radius: 11px; background: #fff; }
.definitions-tabs a { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 9px 12px; border-radius: 8px; color: #60636d; font-size: 11px; font-weight: 600; }
.definitions-tabs a:hover { color: var(--brand); background: var(--brand-soft); }
.definitions-tabs a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.definitions-tabs span { display: inline-grid; min-width: 20px; height: 20px; place-items: center; border-radius: 999px; color: #777a84; background: #f1f1f5; font-size: 9px; }
.definitions-section { margin-bottom: 19px; scroll-margin-top: 18px; }
.definitions-create { display: grid; grid-template-columns: minmax(175px, .7fr) minmax(0, 2fr); align-items: start; gap: 20px; margin: 0 22px 14px; padding: 16px; border: 1px solid #edecf0; border-radius: 11px; background: #fafafd; }
.definitions-create > div { display: grid; gap: 5px; padding-top: 5px; }
.definitions-create > div strong { font-size: 12px; }
.definitions-create > div span, .definition-options-heading span { color: #858791; font-size: 10px; line-height: 1.5; }
.definition-inline-form { display: grid; grid-template-columns: minmax(130px, 1.3fr) minmax(90px, .65fr) auto auto; align-items: end; gap: 9px; }
.definition-inline-form .field { gap: 5px; font-size: 10px; }
.definition-inline-form .field input, .definition-inline-form .field select { min-height: 38px; padding: 0 9px; font-size: 11px; }
.definition-check { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; color: #666975; font-size: 10px; white-space: nowrap; }
.definition-check input, .definition-delete-form input[type="checkbox"], .definition-delete-check input, .definition-option-flags input[type="checkbox"] { accent-color: var(--brand); }
.definition-inline-form .catalog-primary-button, .definition-inline-form .small-button { min-height: 38px; white-space: nowrap; }
.definitions-list { display: grid; gap: 9px; padding: 0 22px 20px; }
.definition-row { display: grid; gap: 10px; padding: 13px; border: 1px solid #eeedf1; border-radius: 10px; background: #fff; }
.definition-row .definition-inline-form { grid-template-columns: minmax(150px, 1.2fr) minmax(90px, .5fr) auto auto; }
.definition-delete-form { display: flex; align-items: center; justify-content: flex-end; gap: 11px; padding-top: 8px; border-top: 1px solid #f0eff2; }
.definition-delete-form label, .definition-delete-check { color: #777984; font-size: 10px; }
.definition-delete-form .catalog-danger-button { min-height: 32px; padding: 0 11px; }
.definitions-empty { margin: 0 22px 20px; padding: 24px; border: 1px dashed #dddde6; border-radius: 10px; color: #858791; text-align: center; font-size: 11px; }
.definitions-note { margin: -5px 22px 15px; color: #777984; font-size: 10px; line-height: 1.6; }
.definition-card { margin: 0 22px 10px; overflow: hidden; border: 1px solid #eae9ef; border-radius: 11px; background: #fff; }
.definition-card > summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 15px; cursor: pointer; list-style: none; }
.definition-card > summary::-webkit-details-marker { display: none; }
.definition-card > summary::before { content: "⌄"; color: #767985; font-size: 15px; }
.definition-card[open] > summary::before { transform: rotate(180deg); }
.definition-card > summary > span { color: var(--ink); font-size: 12px; font-weight: 650; }
.definition-card > summary small { color: #777984; font-size: 10px; }
.definition-card > summary em { margin-left: auto; color: #80828c; font-size: 9px; font-style: normal; }
.definition-share-warning { margin: 0; padding: 10px 15px; border-top: 1px solid #f0dfbe; color: #77561e; background: #fff8e9; font-size: 10px; line-height: 1.55; }
.definition-create-card { margin-bottom: 12px; background: #fafafd; }
.definition-group-form { display: grid; gap: 14px; padding: 16px; border-top: 1px solid #efeff3; }
.definition-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 10px; }
.definition-grid .field { gap: 5px; font-size: 10px; }
.definition-grid .field input, .definition-grid .field select { min-height: 39px; padding: 0 10px; font-size: 11px; }
.definition-options-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 5px; }
.definition-options-heading > div { display: grid; gap: 4px; }
.definition-options-heading strong { font-size: 11px; }
.definition-option-list { display: grid; gap: 9px; }
.definition-option-row { display: grid; gap: 10px; padding: 12px; border: 1px solid #e9e8ef; border-radius: 9px; background: #fbfbfd; }
.definition-option-top { display: flex; align-items: center; justify-content: space-between; }
.definition-option-top strong { color: #646777; font-size: 10px; }
.definition-remove-option { color: #a5454c; font-size: 10px; }
.definition-option-fields { display: grid; grid-template-columns: 1.1fr .7fr 1fr .8fr .7fr .55fr; gap: 8px; }
.definition-option-fields .field { gap: 5px; font-size: 9px; }
.definition-option-fields .field input, .definition-option-fields .field select, .definition-option-fields .field textarea { width: 100%; min-height: 36px; padding: 7px 9px; border: 1px solid #e2e1e7; border-radius: 8px; outline: none; color: var(--ink); background: #fff; font: inherit; font-size: 10px; }
.definition-option-fields .field textarea { resize: vertical; }
.definition-option-fields .field-full { grid-column: 1 / -1; }
.definition-option-flags { display: flex; flex-wrap: wrap; gap: 13px; color: #696c76; font-size: 9px; }
.definition-option-flags label { display: inline-flex; align-items: center; gap: 5px; }
.definition-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 3px; }
.definition-form-actions .catalog-primary-button { margin-right: auto; }
.definition-form-actions .catalog-danger-button { min-height: 38px; padding: 0 12px; }
.definition-group-delete { display: flex; align-items: center; gap: 10px; }
.definition-discount-form { grid-template-columns: minmax(125px, 1.2fr) minmax(100px, .8fr) minmax(80px, .65fr) minmax(100px, .8fr) auto auto; }
.definition-discount-row .definition-inline-form { grid-template-columns: minmax(130px, 1.2fr) minmax(105px, .8fr) minmax(80px, .6fr) minmax(100px, .8fr) auto auto; }
@media (max-width: 980px) {
    .definitions-create { grid-template-columns: 1fr; gap: 12px; }
    .definition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .definition-option-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .definition-discount-form, .definition-discount-row .definition-inline-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .definitions-tabs { margin-bottom: 13px; }
    .definitions-create { margin: 0 12px 12px; padding: 12px; }
    .definition-inline-form, .definition-row .definition-inline-form, .definition-discount-form, .definition-discount-row .definition-inline-form { grid-template-columns: 1fr 1fr; }
    .definition-inline-form .field:first-of-type { grid-column: 1 / -1; }
    .definitions-list { padding: 0 12px 15px; }
    .definition-card { margin-right: 12px; margin-left: 12px; }
    .definition-card > summary { align-items: flex-start; flex-wrap: wrap; gap: 5px 8px; }
    .definition-card > summary em { width: 100%; margin-left: 24px; }
    .definition-group-form { padding: 12px; }
    .definition-grid { grid-template-columns: 1fr 1fr; }
    .definition-option-fields { grid-template-columns: 1fr 1fr; }
    .definition-option-fields .field-full { grid-column: 1 / -1; }
    .definition-form-actions { align-items: stretch; flex-direction: column; }
    .definition-form-actions .catalog-primary-button { margin-right: 0; }
    .definition-form-actions .definition-delete-check { line-height: 1.5; }
    .definition-group-delete { align-items: stretch; flex-direction: column; }
    .definition-delete-form { justify-content: space-between; }
    .definitions-note { margin-right: 14px; margin-left: 14px; }
    .definitions-empty { margin-right: 12px; margin-left: 12px; }
}
/* Inventario y kardex compartidos con KGM-POS */
.dashboard-inventory-panel,.inventory-report-panel{margin-top:20px}
.inventory-summary-strip{display:flex;flex-wrap:wrap;gap:10px 24px;padding:14px 0;border-bottom:1px solid var(--line,#e8e8ef);color:var(--muted,#707486);font-size:13px}
.inventory-summary-strip strong{color:var(--ink,#202333);font-variant-numeric:tabular-nums}
.inventory-summary-strip .inventory-in strong{color:#14815d}
.inventory-summary-strip .inventory-out strong{color:#c05a42}
.inventory-balance-row{display:grid;grid-template-columns:minmax(0,1fr) 130px 190px;gap:16px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line,#e8e8ef)}
.inventory-balance-row:last-child{border-bottom:0}
.inventory-balance-row>div{min-width:0}
.inventory-balance-row strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink,#202333);font-size:13px}
.inventory-balance-row small{display:block;margin-top:3px;color:var(--muted,#707486);font-size:11px}
.inventory-balance-row>span{color:var(--ink,#202333);font-size:13px;font-variant-numeric:tabular-nums;text-align:right}
.inventory-balance-row>small{text-align:right}
.inventory-flow-legend{display:flex;gap:18px;align-items:center;margin:16px 0 8px;color:var(--muted,#707486);font-size:12px}
.inventory-flow-legend span{display:inline-flex;gap:7px;align-items:center}
.inventory-flow-legend i{width:9px;height:9px;border-radius:3px}
.inventory-flow-entry{background:#28a879}
.inventory-flow-exit{background:#e28d4c}
.inventory-flow-chart{display:grid;gap:7px;max-height:250px;overflow:auto;padding:6px 0 14px}
.inventory-flow-row{display:grid;grid-template-columns:42px minmax(80px,1fr) minmax(80px,1fr) 30px;gap:10px;align-items:center}
.inventory-flow-row>small{color:var(--muted,#707486);font-size:10px;font-variant-numeric:tabular-nums}
.inventory-flow-row>small:last-child{text-align:right}
.inventory-flow-track{height:8px;overflow:hidden;border-radius:999px;background:var(--surface-muted,#f0f0f5)}
.inventory-flow-track i{display:block;height:100%;min-width:0;border-radius:inherit}
.inventory-table-scroll{margin-top:12px}
@media(max-width:760px){.inventory-balance-row{grid-template-columns:minmax(0,1fr) 100px;gap:8px}.inventory-balance-row>small{grid-column:1/-1;text-align:left}.inventory-flow-row{grid-template-columns:38px minmax(50px,1fr) minmax(50px,1fr) 24px;gap:6px}}
