:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #6f6f6b;
  --line: #deded8;
  --paper: #f5f5f1;
  --white: #ffffff;
  --red: #c92f2f;
  --green: #2d8a55;
  --shadow: 0 24px 70px rgba(15, 15, 15, 0.09);
  --number-font: Arial, Helvetica, "Segoe UI", sans-serif;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
}

@property --otp-progress {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

.login-body { min-height: 100vh; display: grid; place-items: center; margin: 0; padding: 28px; color: var(--ink); background: #e9e9e4; }
.login-shell { width: min(1040px, 100%); min-height: 620px; display: grid; grid-template-columns: 1.12fr .88fr; background: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.15); }
.login-brand { position: relative; overflow: hidden; padding: 72px 64px; color: #fff; background: #111; }
.login-brand::after { content: "M"; position: absolute; right: -35px; bottom: -115px; color: rgba(255,255,255,.035); font: 420px/1 Constantia, Cambria, "Times New Roman", serif; }
.login-brand .brand-mark { margin-bottom: 80px; border-color: rgba(255,255,255,.65); color: #fff; }
.login-brand h1 { max-width: 560px; margin: 14px 0 24px; font: 45px/1.12 Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.login-brand > p:not(.eyebrow) { max-width: 500px; color: #aaa; font-size: 13px; line-height: 1.8; }
.login-trust { position: absolute; left: 64px; bottom: 58px; z-index: 1; color: #aaa; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.login-trust span { width: 7px; height: 7px; display: inline-block; margin-right: 8px; border-radius: 50%; background: var(--green); }
.login-panel { align-self: center; padding: 65px 58px; }
.login-panel h2 { margin: 11px 0 9px; font: 33px/1.2 Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.login-panel > p:not(.eyebrow), .login-panel > div > p:not(.eyebrow) { margin: 0 0 35px; color: #777; font-size: 11px; line-height: 1.7; }
.login-panel form { display: grid; gap: 18px; }
.login-panel .primary-button { width: 100%; margin-top: 9px; }
.login-panel .secondary-button { width: 100%; min-height: 48px; }
.login-panel #login-otp-code { height: 62px; color: #1769aa; background: #f7fbff; font-family: var(--number-font); font-size: 28px; font-weight: 600; letter-spacing: .24em; text-align: center; }
.login-panel > small { display: block; margin-top: 24px; color: #999; font-size: 8px; line-height: 1.7; text-align: center; }
.login-panel .status { margin-bottom: 18px; }

.app-topbar { width: min(1440px, calc(100% - 34px)); min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 25px; margin: 17px auto 0; padding: 0 24px; border: 1px solid #d8d8d2; background: #fff; }
.topbar-brand { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; }
.topbar-brand strong { font: 17px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; letter-spacing: .14em; }
.topbar-brand small { padding-left: 10px; border-left: 1px solid #ddd; color: #888; font-size: 8px; letter-spacing: .12em; }
.topbar-brand:hover strong, .topbar-brand:focus-visible strong { text-decoration: underline; text-underline-offset: 5px; }
.app-topbar nav { display: flex; align-self: stretch; }
.topbar-tab { position: relative; padding: 0 20px; border: 0; color: #888; background: transparent; font-size: 10px; font-weight: 750; }
.topbar-tab.is-active { color: #111; }
.topbar-tab.is-active::after { content: ""; position: absolute; right: 18px; bottom: -1px; left: 18px; height: 3px; background: #111; }
.topbar-user { display: flex; align-items: center; gap: 13px; }
.topbar-user div { text-align: right; }
.topbar-user strong, .topbar-user small { display: block; }
.topbar-user strong { font-size: 10px; }
.topbar-user small { margin-top: 3px; color: #888; font-size: 7px; letter-spacing: .08em; }
.topbar-user button { min-height: 34px; padding: 0 13px; border: 1px solid #ccc; color: #555; background: #fff; font-size: 9px; font-weight: 700; }
.support-session-banner { width: min(1440px, calc(100% - 34px)); display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 auto; padding: 13px 20px; color: #f7f7f3; background: #181816; border: 1px solid #181816; }
.support-session-banner > div:first-child { display: grid; gap: 4px; }
.support-session-banner strong { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.support-session-banner span { color: #c9c9c3; font-size: 9px; }
.support-session-actions { display: flex; align-items: center; gap: 12px; }
.support-session-actions #support-session-countdown { min-width: 48px; color: #fff; font-family: var(--number-font); font-size: 12px; font-weight: 700; text-align: right; }
.support-session-actions button { min-height: 34px; padding: 0 13px; border: 1px solid #777; color: #111; background: #fff; font-size: 8px; font-weight: 800; text-transform: uppercase; }

.management-view { width: min(1440px, calc(100% - 34px)); min-height: calc(100vh - 120px); margin: 0 auto 28px; padding: 45px 50px 60px; border: 1px solid #d8d8d2; border-top: 0; background: #f5f5f1; }
.management-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.management-header h1 { margin: 7px 0 8px; font: 38px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.management-header > div:first-child > p:last-child { margin: 0; color: #777; font-size: 10px; }
.management-actions { display: flex; gap: 8px; }
.management-actions button { min-height: 43px; }
.management-filters { display: grid; grid-template-columns: minmax(220px, 1fr) 170px 170px auto; align-items: end; gap: 11px; margin: 32px 0 20px; padding: 18px; border: 1px solid #deded8; background: #fff; }
.management-filters label span { display: block; margin-bottom: 7px; color: #777; font-size: 8px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.management-filters input, .management-filters select, .admin-tool-form input, .admin-tool-form select { width: 100%; min-height: 42px; padding: 0 11px; border: 1px solid #cecec8; border-radius: 0; color: #222; background: #fff; font: inherit; font-size: 10px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin: 20px 0; }
.kpi-grid article { min-height: 135px; padding: 23px; border: 1px solid #deded8; background: #fff; }
.kpi-grid small, .kpi-grid strong, .kpi-grid span { display: block; }
.kpi-grid small { color: #777; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.kpi-grid strong { margin: 17px 0 10px; font: 29px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.kpi-grid span { color: #999; font-size: 8px; }
.management-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.management-card { min-width: 0; border: 1px solid #deded8; background: #fff; }
.sales-card, .stock-card, .customers-card { grid-column: 1 / -1; }
.card-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 21px 23px; border-bottom: 1px solid #e2e2dc; }
.card-heading h2 { margin: 5px 0 0; font: 21px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.card-heading > span { color: #888; font-size: 8px; }
.card-filters { display: grid; grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(145px, .55fr)); gap: 10px; padding: 14px 18px; border-bottom: 1px solid #e2e2dc; background: #fafaf7; }
.card-filters label { min-width: 0; }
.card-filters label > span { display: block; margin-bottom: 6px; color: #777; font-size: 7px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.card-filters input, .card-filters select { width: 100%; min-height: 38px; padding: 0 10px; border: 1px solid #cecec8; border-radius: 0; color: #222; background: #fff; font: inherit; font-size: 9px; }
.card-filters input:focus, .card-filters select:focus { outline: 2px solid #111; outline-offset: -2px; }
.filtered-sales-summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 20px; border-bottom: 1px solid #e2e2dc; background: #171717; color: #fff; }
.filtered-sales-summary small, .filtered-sales-summary strong { display: block; }
.filtered-sales-summary small { color: #aaa; font-size: 7px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.filtered-sales-summary strong { margin-top: 5px; font: 20px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.filtered-sales-summary > span { color: #bbb; font-size: 8px; }
.table-scroll { overflow: auto; max-height: 380px; }
.management-card table { width: 100%; border-collapse: collapse; font-size: 9px; }
.management-card th { position: sticky; top: 0; z-index: 1; padding: 11px 13px; color: #777; background: #f5f5f1; font-size: 7px; letter-spacing: .08em; text-align: left; }
.management-card td { padding: 12px 13px; border-top: 1px solid #ededE8; vertical-align: top; }
.management-card td:last-child { max-width: 280px; overflow-wrap: anywhere; }
.stock-product-cell strong, .stock-product-cell small { display: block; }
.stock-product-cell strong { font-size: 9px; }
.stock-product-cell small { margin-top: 4px; color: #888; font-size: 7px; }
.stock-expand-button { margin-top: 8px; padding: 0; border: 0; color: #444; background: transparent; font-size: 7px; font-weight: 800; letter-spacing: .07em; text-decoration: underline; text-underline-offset: 3px; }
.stock-expand-button:hover, .stock-expand-button:focus-visible { color: #000; }
.stock-variant-detail-row td { padding: 0 !important; background: #f5f5f1; }
.stock-variant-detail { padding: 26px 28px 30px; border-top: 1px solid #cfcfc8; border-bottom: 1px solid #cfcfc8; background: linear-gradient(145deg, #f7f7f3, #eeeeE8); }
.stock-variant-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 20px; padding-bottom: 17px; border-bottom: 1px solid #d4d4cd; }
.stock-variant-heading small, .stock-variant-heading strong { display: block; }
.stock-variant-heading small { color: #8a8a84; font-size: 7px; font-weight: 800; letter-spacing: .14em; }
.stock-variant-heading strong { margin-top: 6px; font: 20px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.stock-variant-heading p { margin: 6px 0 0; color: #777; font-size: 8px; }
.stock-variant-total { min-width: 115px; padding: 11px 14px; border: 1px solid #cacac3; background: #171717; color: #fff; text-align: right; }
.stock-variant-total small { color: #aaa; }
.stock-variant-total strong { margin-top: 5px; font: 19px Constantia, Cambria, "Times New Roman", serif; }
.stock-variant-table { width: 100%; border: 1px solid #d4d4cd; border-collapse: collapse; background: #fff; table-layout: auto; }
.stock-variant-table th { position: static; padding: 10px 12px; border-bottom: 1px solid #d4d4cd; color: #777; background: #e9e9e3; font-size: 7px; letter-spacing: .08em; }
.stock-variant-table th:first-child { width: 34%; }
.stock-variant-table td { padding: 10px 12px !important; border-top: 1px solid #ecece7; font-size: 8px; vertical-align: middle; }
.stock-variant-table td:nth-child(2) { min-width: 140px; color: #666; }
.stock-variant-table td:nth-child(n+3) { white-space: nowrap; }
.stock-variant-table tbody tr:hover { background: #f7f7f3; }
.stock-state { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 7px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.stock-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.stock-state[data-state="CRITICAL"]::before { background: #b98219; }
.stock-state[data-state="OUT_OF_STOCK"]::before { background: var(--red); }
.stock-row-critical { background: #fffaf0; }
.stock-row-empty { background: #fff4f2; }
.management-empty-row td { padding: 30px; color: #999; text-align: center; }
.admin-tools { padding: 28px; border: 1px solid #d2d2cb; background: #eaeae4; }
.system-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; padding: 6px 4px 20px; border-bottom: 1px solid #cecec8; }
.admin-tools h1 { margin: 6px 0 8px; font: 36px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.system-hero > div > p:last-child { max-width: 760px; margin: 0; color: #777; font-size: 10px; line-height: 1.6; }
.system-hero > span { flex: 0 0 auto; padding: 9px 11px; border: 1px solid #1b1b1b; color: #fff; background: #1b1b1b; font-size: 7px; font-weight: 800; letter-spacing: .12em; }
.system-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 16px; border: 1px solid #d4d4ce; background: #fff; }
.system-summary article { min-width: 0; padding: 17px 19px; border-right: 1px solid #e0e0da; }
.system-summary article:last-child { border-right: 0; }
.system-summary small, .system-summary strong, .system-summary span { display: block; }
.system-summary small { color: #888; font-size: 7px; font-weight: 800; letter-spacing: .1em; }
.system-summary strong { margin: 8px 0 5px; font: 23px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.system-summary span { color: #999; font-size: 7px; line-height: 1.4; }
.admin-tool-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: stretch; gap: 14px; }
.admin-tool-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; padding: 18px; border: 1px solid #d4d4ce; background: #fff; }
.system-tool-card { grid-column: span 6; align-content: start; border-top: 3px solid #171717; }
.tool-kicker { grid-column: 1 / -1; color: #888; font-size: 7px; font-weight: 800; letter-spacing: .12em; }
.admin-tool-form h3 { grid-column: 1 / -1; margin: 0 0 8px; font: 16px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.admin-tool-form > p { grid-column: 1 / -1; margin: -2px 0 8px; color: #777; font-size: 8px; line-height: 1.6; }
.admin-tool-form .role-description { grid-column: 1 / -1; margin: 0; padding: 10px 12px; border-left: 3px solid #171717; background: #f5f5f1; color: #555; }
.admin-tool-form button { min-height: 42px; }
.benimpos-admin-form { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
.benimpos-admin-form h3, .benimpos-admin-form > p { grid-column: 1 / -1; }
.customer-pool { margin-top: 18px; border: 1px solid #d4d4ce; background: #fff; }
.customer-pool-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 24px; border-bottom: 1px solid #deded8; }
.customer-pool-heading h2 { margin: 6px 0 7px; font: 25px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.customer-pool-heading > div > p:last-child { margin: 0; color: #777; font-size: 9px; line-height: 1.55; }
.customer-pool-kpis { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid #deded8; }
.customer-pool-kpis article { padding: 18px 21px; border-right: 1px solid #e2e2dc; }
.customer-pool-kpis article:last-child { border-right: 0; }
.customer-pool-kpis small, .customer-pool-kpis strong, .customer-pool-kpis span { display: block; }
.customer-pool-kpis small { color: #888; font-size: 7px; font-weight: 800; letter-spacing: .1em; }
.customer-pool-kpis strong { margin: 8px 0 5px; font: 22px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.customer-pool-kpis span { color: #999; font-size: 7px; }
.customer-pool-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); align-items: end; gap: 9px; padding: 16px 18px; border-bottom: 1px solid #deded8; background: #fafaf7; }
.customer-pool-filters .filter-search { grid-column: span 2; }
.customer-pool-filters label > span { display: block; margin-bottom: 6px; color: #777; font-size: 7px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.customer-pool-filters input, .customer-pool-filters select { width: 100%; min-height: 39px; padding: 0 10px; border: 1px solid #cecec8; background: #fff; font: inherit; font-size: 9px; }
.customer-pool-actions { display: flex; align-items: center; gap: 15px; padding: 13px 18px; border-bottom: 1px solid #deded8; background: #171717; color: #fff; }
.customer-pool-actions label { display: inline-flex; align-items: center; gap: 6px; color: #ccc; font-size: 8px; }
.customer-pool-actions input { accent-color: #fff; }
.customer-pool-actions .primary-button { min-height: 38px; margin-left: auto; background: #fff; color: #111; }
.customer-pool-actions .secondary-button { min-height: 34px; border-color: #666; background: #2d2d2d; color: #fff; }
.pool-selection { min-width: 120px; font-size: 8px; }
.pool-selection strong { font: 17px Constantia, Cambria, "Times New Roman", serif; }
.customer-pool-table { max-height: 470px; }
.customer-pool-table table { width: 100%; border-collapse: collapse; font-size: 8px; }
.customer-pool-table th { position: sticky; top: 0; z-index: 1; padding: 10px 11px; color: #777; background: #f5f5f1; font-size: 7px; letter-spacing: .07em; text-align: left; }
.customer-pool-table td { padding: 11px; border-top: 1px solid #ededE8; vertical-align: top; }
.pool-customer strong, .pool-customer small, .pool-contact span { display: block; }
.pool-customer small, .pool-contact span { margin-top: 4px; color: #888; font-size: 7px; }
.pool-sync-state { display: inline-flex; padding: 4px 6px; border: 1px solid #d0d0ca; color: #666; background: #f7f7f3; font-size: 6px; font-weight: 800; letter-spacing: .04em; }
.pool-sync-state[data-state="SYNCED"], .pool-sync-state[data-state="QUEUED"] { border-color: #9ebfac; color: #245f3b; background: #eff8f2; }
.pool-sync-state[data-state="FAILED"] { border-color: #d8a7a2; color: #9a2f28; background: #fff2f0; }
.pool-match-badge { color: #555; font-size: 7px; font-weight: 800; }
.pool-quality-warning { display: block; margin-top: 6px; color: #9a4b18; font-size: 7px; font-weight: 800; }
.customer-pool-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 12px 18px; border-top: 1px solid #deded8; background: #fafaf7; }
.customer-pool-pagination > span { color: #666; font-size: 8px; }
.customer-pool-pagination label { display: flex; align-items: center; gap: 7px; color: #777; font-size: 7px; text-transform: uppercase; }
.customer-pool-pagination select { min-height: 32px; border: 1px solid #cecec8; background: #fff; }
.secondary-button.compact { width: auto; min-height: 32px; padding: 0 11px; font-size: 8px; }
.customer-pool-notice { margin: 0; padding: 13px 18px; border-top: 1px solid #deded8; color: #777; background: #fafaf7; font-size: 7px; line-height: 1.6; }
.account-directory { margin-top: 18px; border: 1px solid #d4d4ce; background: #fff; }
.account-directory-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; padding: 24px; border-bottom: 1px solid #deded8; }
.account-directory-heading h2 { margin: 6px 0 7px; font: 25px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.account-directory-heading p:last-child { max-width: 780px; margin: 0; color: #777; font-size: 9px; line-height: 1.55; }
.directory-count { flex: 0 0 auto; padding: 9px 12px; color: #fff; background: #171717; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.active-branch-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 15px 18px; border-bottom: 1px solid #deded8; background: #f5f5f1; }
.branch-access-card { min-width: 185px; padding: 10px 12px; border: 1px solid #d2d2cc; background: #fff; }
.branch-access-card strong, .branch-access-card small { display: block; }
.branch-access-card strong { font: 12px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.branch-access-card small { margin-top: 5px; color: #777; font-size: 7px; text-transform: uppercase; }
.account-directory-filters { display: grid; grid-template-columns: minmax(250px, 1fr) repeat(3, minmax(150px, .55fr)); gap: 9px; padding: 15px 18px; border-bottom: 1px solid #deded8; }
.account-directory-filters label > span { display: block; margin-bottom: 6px; color: #777; font-size: 7px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.account-directory-filters input, .account-directory-filters select { width: 100%; min-height: 39px; padding: 0 10px; border: 1px solid #cecec8; background: #fff; font: inherit; font-size: 9px; }
.audit-heading-actions { flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.audit-live-status { display: inline-flex; align-items: center; gap: 7px; color: #666; font-size: 7px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.audit-live-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9b9b95; }
.audit-live-status[data-state="live"]::before { background: var(--green); box-shadow: 0 0 0 4px rgba(45,138,85,.1); }
.audit-live-status[data-state="loading"]::before { background: #b98219; }
.audit-live-status[data-state="error"]::before { background: var(--red); }
.audit-filters { display: grid; grid-template-columns: minmax(240px, 1.4fr) repeat(5, minmax(125px, .7fr)); align-items: end; gap: 9px; padding: 15px 18px; border-bottom: 1px solid #deded8; background: #fafaf7; }
.audit-filters label > span { display: block; margin-bottom: 6px; color: #777; font-size: 7px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.audit-filters input, .audit-filters select { width: 100%; min-height: 39px; padding: 0 10px; border: 1px solid #cecec8; background: #fff; font: inherit; font-size: 9px; }
.audit-filter-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.audit-filter-actions .secondary-button { min-width: 140px; }
.audit-status { margin: 12px 18px 0; }
.audit-table { max-height: 520px; }
.audit-table td:nth-child(1) { min-width: 130px; white-space: nowrap; }
.audit-table td:nth-child(2) { min-width: 180px; font-weight: 700; }
.audit-table td:nth-child(3), .audit-table td:nth-child(4), .audit-table td:nth-child(5) { min-width: 125px; }
.audit-table td:last-child { min-width: 280px; color: #666; line-height: 1.55; }
.audit-pagination { border-top: 1px solid #deded8; }
.account-directory-table { max-height: 390px; }
.account-directory-table table { width: 100%; border-collapse: collapse; font-size: 8px; }
.account-directory-table th { position: sticky; top: 0; z-index: 1; padding: 10px 12px; color: #777; background: #f5f5f1; font-size: 7px; letter-spacing: .07em; text-align: left; }
.account-action-group { display: flex; flex-wrap: wrap; gap: 6px; }
.account-delete-button { border-color: #d5aaa6 !important; color: #8a2f2a !important; background: #fff8f7 !important; }
.account-password-button { border-color: #b8b8b0 !important; color: #252522 !important; background: #f7f7f3 !important; }
.account-password-button:hover { border-color: #777 !important; }
.account-takeover-button { border-color: #c38882 !important; color: #772a25 !important; background: #fff3f1 !important; }
.account-support-button { border-color: #8ea0a8 !important; color: #263b45 !important; background: #f1f6f8 !important; }
.account-directory-table td { padding: 11px 12px; border-top: 1px solid #ecece7; vertical-align: middle; }
.account-user strong, .account-user small { display: block; }
.account-user small { margin-top: 4px; color: #888; font-size: 7px; }
.account-status { display: inline-flex; align-items: center; gap: 6px; font-size: 7px; font-weight: 800; text-transform: uppercase; }
.account-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.account-status[data-state="INACTIVE"]::before { background: #8b8b85; }
.account-status[data-state="INACTIVE"] { color: #777; }
.account-remove-button[data-action="activate"] { border-color: #9ebfac; color: #245f3b; background: #eff8f2; }
.account-remove-button { min-height: 30px; padding: 0 10px; border: 1px solid #d6aaa6; color: #8d2e28; background: #fff5f3; font-size: 7px; font-weight: 800; text-transform: uppercase; }
.account-remove-button:hover { border-color: #b55e56; }
.system-status { margin: 0 0 18px; }
.field-help { display: block; margin: -4px 0 4px; color: #6f6f69; font-size: 9px; line-height: 1.45; }
.authority-dialog { width: min(570px, calc(100% - 28px)); }
.authority-verification-panel { margin: 24px 30px 18px; padding: 22px; border: 1px solid #d7d7d1; background: #f5f5f1; }
.authority-verification-panel > span { color: #777; font-size: 7px; font-weight: 800; letter-spacing: .14em; }
.authority-verification-panel > strong { display: block; margin: 8px 0 6px; font: 24px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.authority-verification-panel > p { margin: 0 0 18px; color: #666; font-size: 9px; line-height: 1.6; }
.authority-factor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.authority-factor-grid .field { margin: 0; }
.authority-factor-grid .field span { display: flex; justify-content: space-between; gap: 8px; }
.authority-factor-grid .field b { color: #333; font-family: var(--number-font); font-weight: 700; font-variant-numeric: lining-nums tabular-nums; }
.authority-verification-panel input { font-family: var(--number-font); font-size: 24px; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; letter-spacing: .24em; text-align: center; }
.authority-dialog .status { margin: 0 30px 18px; }
.authority-actions { gap: 10px; }
.authority-actions .secondary-button, .authority-actions .primary-button { min-height: 48px; }

/* Sayısal veriler dekoratif serif başlık fontunu kullanmaz. */
.kpi-grid strong,
.filtered-sales-summary strong,
.stock-variant-total strong,
.system-summary strong,
.customer-pool-kpis strong,
.pool-selection strong,
.directory-count,
#sales-row-count,
#sales-filter-count,
#stock-row-count,
#management-customer-count,
#pool-page-summary,
#audit-page-summary,
.management-filters input[type="date"],
.card-filters input[type="number"],
.customer-pool-filters input[type="date"],
.audit-filters input[type="date"],
#management-sales-body td:nth-child(1),
#management-sales-body td:nth-child(3),
#management-sales-body td:nth-child(6),
#management-stock-body td:nth-child(2),
#management-stock-body td:nth-child(3),
#management-stock-body td:nth-child(5),
#management-stock-body td:nth-child(6),
#management-stock-body td:nth-child(7),
#management-customers-body td:nth-child(3),
#audit-directory-body td:nth-child(1) {
  font-family: var(--number-font);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.kpi-grid strong,
.filtered-sales-summary strong,
.stock-variant-total strong,
.system-summary strong,
.customer-pool-kpis strong,
.pool-selection strong {
  font-weight: 600;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; color: var(--ink); background: #e9e9e4; }
button, input, textarea { font: inherit; }
input[type="tel"],
input[type="number"],
input[type="date"],
input[inputmode="numeric"],
input[autocomplete="one-time-code"] {
  font-family: var(--number-font);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-style: normal;
}
button { cursor: pointer; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.eyebrow { margin: 0 0 7px; color: #777772; font-size: 10px; font-weight: 800; letter-spacing: .18em; }

.dashboard-shell { width: min(1500px, calc(100% - 40px)); height: auto; min-height: calc(100vh - 40px); margin: 20px auto; display: grid; grid-template-columns: 360px minmax(0, 1fr); overflow: hidden; border: 1px solid #d3d3ce; background: var(--white); box-shadow: var(--shadow); }
.customer-sidebar { height: 100%; min-height: 0; align-self: stretch; display: flex; flex-direction: column; overflow: hidden; padding: 28px 24px 20px; color: #fff; background: #111; }
.sidebar-header { display: flex; align-items: center; gap: 13px; padding-bottom: 28px; border-bottom: 1px solid #30302f; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #686865; font-family: Constantia, Cambria, "Times New Roman", serif; font-size: 23px; }
.brand-name { margin: 0; font-family: Constantia, Cambria, "Times New Roman", serif; font-size: 17px; letter-spacing: .08em; }
.brand-subtitle { margin: 4px 0 0; color: #8e8e89; font-size: 8px; font-weight: 800; letter-spacing: .22em; }
.list-heading { display: flex; justify-content: space-between; align-items: flex-end; padding: 30px 0 18px; }
.list-heading .eyebrow { color: #8f8f8b; }
.list-heading h1 { margin: 0; font-family: Constantia, Cambria, "Times New Roman", serif; font-size: 29px; font-weight: 400; }
.count-badge { min-width: 38px; height: 27px; display: grid; place-items: center; border: 1px solid #4b4b48; color: #c8c8c2; font-family: var(--number-font); font-size: 13px; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.consent-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 7px; }
.search-box { height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid #373735; background: #1a1a19; }
.search-box span { color: #858580; font-size: 22px; }
.search-box input { width: 100%; border: 0; outline: 0; color: #fff; background: transparent; font-size: 13px; }
.search-box input::placeholder { color: #777772; }
.registry-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 10px; }
.registry-filters label { min-width: 0; }
.registry-filters label > span { display: block; margin: 0 0 4px 2px; color: #777772; font-size: 7px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.registry-filters input, .registry-filters select { width: 100%; min-width: 0; height: 34px; padding: 0 8px; border: 1px solid #373735; border-radius: 0; color: #d8d8d2; background: #1a1a19; font-size: 9px; }
.registry-filters input { color-scheme: dark; }
.list-toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 18px 2px 10px; color: #777772; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.list-status-heading { min-width: 0; display: grid; gap: 5px; }
.list-status-heading small { color: #a5a59f; font-size: 7px; letter-spacing: .06em; white-space: nowrap; }
.text-button { padding: 0; border: 0; color: #bbb; background: transparent; font-size: 9px; text-decoration: underline; text-underline-offset: 3px; }
.customer-list { flex: 1 1 0; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; margin: 0 -8px; padding: 0 8px; scrollbar-width: thin; scrollbar-color: #4b4b47 #171716; }
.customer-card { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto 12px; align-items: center; gap: 13px; margin-bottom: 8px; padding: 15px 12px 15px 15px; border: 1px solid #30302f; color: #fff; text-align: left; background: #181817; transition: border-color .2s, background .2s, transform .2s; }
.customer-card:hover { border-color: #64645f; background: #20201f; transform: translateY(-1px); }
.customer-main { min-width: 0; display: block; }
.customer-main strong, .customer-main small, .customer-main em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.customer-main strong { font-family: Constantia, Cambria, "Times New Roman", serif; font-size: 15px; font-weight: 400; }
.customer-main small { margin-top: 5px; color: #9b9b96; font-size: 11px; }
.customer-branch-line { display: block; margin-top: 6px; overflow: hidden; color: #b2b2ac; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.customer-main em { margin-top: 7px; color: #797975; font-size: 8px; font-style: normal; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.signal-stack { display: grid; gap: 7px; }
.signal-row { display: flex; align-items: center; gap: 6px; }
.signal { width: 9px; height: 9px; display: inline-block; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.05); }
.signal-good { background: var(--green); }
.signal-waiting { background: var(--red); }
.signal-icon { width: 16px; color: #a2a29d; font-size: 12px; text-align: center; }
.signal-row:last-child .signal-icon { font-size: 9px; font-weight: 900; }
.lookup-missing { border-color: #b21f2d !important; box-shadow: 0 0 0 1px rgba(178,31,45,.08); }
.card-arrow { color: #777772; font: 20px Constantia, Cambria, "Times New Roman", serif; }
.empty-list { margin: 28px 8px; padding: 32px 20px; border: 1px dashed #3b3b39; color: #858580; text-align: center; }
.empty-list span { font: 26px Constantia, Cambria, "Times New Roman", serif; }
.empty-list strong { display: block; margin-top: 12px; color: #c7c7c1; font: 16px Constantia, Cambria, "Times New Roman", serif; }
.empty-list p { margin: 8px 0 0; font-size: 11px; line-height: 1.6; }
.sidebar-footer { display: flex; gap: 18px; padding-top: 17px; border-top: 1px solid #30302f; color: #888883; font-size: 9px; }
.sidebar-footer div { display: flex; align-items: center; gap: 7px; }

.workspace { min-width: 0; height: auto; min-height: 0; overflow: visible; padding: 38px clamp(28px, 5vw, 74px) 50px; background: linear-gradient(135deg, #fff 0%, #fbfbf8 62%, #f3f3ef 100%); }
.workspace-header { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.workspace-header h2 { margin: 0; font: 38px/1.05 Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.system-state { display: flex; align-items: center; gap: 8px; padding-top: 7px; color: #666662; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
.system-state span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #e4eee8; }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 24px 0 32px; padding: 0; list-style: none; background: var(--line); }
.progress-step { display: flex; align-items: center; gap: 11px; min-height: 61px; padding: 10px 15px; color: #969691; background: #f4f4f0; }
.progress-step > span { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid #c9c9c4; border-radius: 50%; font: 12px Constantia, Cambria, "Times New Roman", serif; }
.progress-step strong, .progress-step small { display: block; }
.progress-step strong { color: #777772; font-size: 11px; }
.progress-step small { margin-top: 3px; font-size: 9px; }
.progress-step.is-active { color: #fff; background: #111; }
.progress-step.is-active strong { color: #fff; }
.progress-step.is-active > span { border-color: #777; }
.progress-step.is-complete > span { color: #fff; border-color: var(--green); background: var(--green); }
.status { position: relative; margin: 0 0 22px; padding: 13px 16px 13px 41px; border: 1px solid #e1b9b6; color: #242422; background: #fbefed; font-size: 12px; font-weight: 650; }
.status::before { content: "!"; position: absolute; left: 15px; top: 12px; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--red); font-size: 10px; }
.status[data-tone="success"] { border-color: #bedac8; background: #edf7f0; }
.status[data-tone="success"]::before { content: "✓"; background: var(--green); }
.status[data-tone="warning"] { border-color: #dfd0aa; background: #faf5e8; }
.status[data-tone="warning"]::before { background: #ad7a18; }
.customer-form { max-width: 940px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 19px; }
.section-heading > div { display: flex; align-items: center; gap: 14px; }
.section-number { color: #aaa9a3; font: 24px Constantia, Cambria, "Times New Roman", serif; }
.section-heading h3 { margin: 0; font: 20px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.section-heading p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.secure-label, .optional-label { color: #9b9a95; font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 18px; }
.address-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.field-wide { grid-column: 1 / -1; }
.billing-type-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; padding: 0; border: 0; }
.billing-type-switch legend { margin-bottom: 9px; color: #777772; font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.billing-type-switch label { position: relative; cursor: pointer; }
.billing-type-switch input { position: absolute; opacity: 0; pointer-events: none; }
.billing-type-switch label > span { min-height: 58px; display: flex; flex-direction: column; justify-content: center; padding: 10px 15px; border: 1px solid #d2d2cc; color: #555; background: #fff; transition: border-color .2s, background .2s; }
.billing-type-switch strong, .billing-type-switch small { display: block; }
.billing-type-switch strong { font: 15px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.billing-type-switch small { margin-top: 4px; color: #888; font-size: 9px; }
.billing-type-switch input:checked + span { border-color: #111; color: #fff; background: #111; box-shadow: inset 4px 0 0 var(--green); }
.billing-type-switch input:checked + span small { color: #b8b8b3; }
.billing-type-switch input:focus-visible + span { outline: 2px solid #111; outline-offset: 2px; }
.corporate-billing-panel { margin-bottom: 18px; padding: 18px; border: 1px solid #cfcfc9; background: #f7f7f3; }
.corporate-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 15px; }
.corporate-panel-head strong, .corporate-panel-head small { display: block; }
.corporate-panel-head strong { font: 16px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.corporate-panel-head small { margin-top: 5px; color: #777; font-size: 9px; }
.corporate-panel-head > span { padding: 6px 8px; border: 1px solid #d8c28b; color: #7f621d; background: #fbf7eb; font-size: 7px; font-weight: 800; letter-spacing: .11em; white-space: nowrap; }
.corporate-panel-head > span[data-available="true"] { border-color: #b8d5c2; color: #246d42; background: #eef7f1; }
.vkn-lookup-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; }
.vkn-lookup-row .secondary-button { min-height: 48px; }
.inline-lookup-status { margin: 10px 0 15px; padding: 10px 12px; border-left: 3px solid #ad7a18; color: #64645f; background: #fff; font-size: 9px; line-height: 1.55; }
.inline-lookup-status[data-tone="success"] { border-left-color: var(--green); color: #235b38; }
.inline-lookup-status[data-tone="error"] { border-left-color: var(--red); color: #7d2a25; }
.corporate-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 7px; color: #444440; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.required { color: var(--red); font-size: 15px; line-height: 0; }
.field input, .field textarea { width: 100%; border: 1px solid #d2d2cc; border-radius: 0; outline: 0; color: #181816; background: #fff; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; transition: border-color .2s, box-shadow .2s; }
.field input { height: 48px; padding: 0 13px; }
.field textarea { min-height: 62px; padding: 13px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: #111; box-shadow: 0 0 0 2px rgba(0,0,0,.06); }
.field input:invalid:not(:placeholder-shown) { border-color: #c86868; }
.email-entry-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.email-entry-control .secondary-button { width: auto; min-width: 92px; min-height: 48px; padding: 0 16px; }
.email-entry-control input[data-placeholder="true"] { color: #555550; background: #f3f3ef; }
.field-help[data-tone="system"] { margin: 0; color: #6d4a22; font-weight: 700; letter-spacing: 0; text-transform: none; }
.section-divider { height: 1px; margin: 28px 0 24px; background: var(--line); }
.compact-heading { margin-bottom: 15px; }
.consent-card { display: grid; grid-template-columns: auto auto 1fr; gap: 11px; margin-top: 25px; padding: 18px; border: 1px solid #d5d5cf; background: #f5f5f1; cursor: pointer; }
.consent-card > input { position: absolute; opacity: 0; pointer-events: none; }
.custom-check { width: 19px; height: 19px; border: 1px solid #aaa; background: #fff; }
.consent-card > input:checked + .custom-check { display: grid; place-items: center; border-color: #111; background: #111; }
.consent-card > input:checked + .custom-check::after { content: "✓"; color: #fff; font-size: 12px; }
.consent-card strong, .consent-card small, .consent-card a { display: block; }
.consent-card strong { margin-bottom: 5px; font: 15px Constantia, Cambria, "Times New Roman", serif; }
.consent-card small { color: #666662; font-size: 10px; line-height: 1.55; }
.consent-card a { width: fit-content; margin-top: 9px; color: #222; font-size: 10px; font-weight: 700; text-underline-offset: 3px; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 20px; }
.customer-lookup { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(320px, 1.2fr); align-items: end; gap: 15px 24px; margin: 0 0 22px; padding: 17px 18px; border: 1px solid #d6d6d0; background: #f7f7f3; }
.customer-lookup strong, .customer-lookup small { display: block; }
.customer-lookup strong { font: 15px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.customer-lookup small { margin-top: 6px; color: #777; font-size: 8px; line-height: 1.55; }
.customer-lookup-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.customer-lookup-control input { min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid #c9c9c3; background: #fff; font-size: 11px; }
.customer-lookup-control .secondary-button { min-width: 150px; min-height: 44px; }
.customer-lookup > p { grid-column: 1 / -1; margin: -3px 0 0; padding: 9px 11px; border-left: 3px solid #171717; color: #555; background: #fff; font-size: 9px; line-height: 1.5; }
.customer-lookup > p[data-tone="success"] { border-left-color: var(--green); color: #245f3b; background: #eff8f2; }
.customer-lookup > p[data-tone="warning"] { border-left-color: #b98219; color: #80580d; background: #fffaf0; }
.form-actions p { display: flex; align-items: center; gap: 8px; margin: 0; color: #767671; font-size: 10px; }
.form-actions p span { width: 17px; height: 17px; display: grid; place-items: center; border: 1px solid #aaa; border-radius: 50%; font-weight: 800; }
.action-buttons { display: flex; align-items: stretch; gap: 10px; }
.no-consent-button { min-width: 205px; color: #555; }
.primary-button, .secondary-button { min-height: 54px; border-radius: 0; }
.primary-button { min-width: 270px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 0 18px 0 21px; border: 1px solid #111; color: #fff; text-align: left; background: #111; }
.primary-button:hover:not(:disabled) { background: #2b2b29; }
.primary-button:disabled, .secondary-button:disabled { opacity: .55; cursor: wait; }
.primary-button strong, .primary-button small { display: block; }
.primary-button strong { font-size: 12px; }
.primary-button small { margin-top: 3px; color: #aaa; font-size: 9px; }
.primary-button b { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #777; border-radius: 50%; }
.primary-button.simple { min-width: 210px; justify-content: center; padding: 0 24px; text-align: center; }
.secondary-button { min-width: 180px; padding: 0 20px; border: 1px solid #ccc; color: #333; background: #fff; }
.secondary-button:hover:not(:disabled) { border-color: #777; color: #111; }

.otp-panel, .complete-panel { max-width: 570px; margin: 35px auto 0; text-align: center; }
.otp-seal { --otp-progress: 1; position: relative; width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; background: conic-gradient(var(--green) calc(var(--otp-progress) * 1turn), #d8d8d2 0); box-shadow: 0 0 0 5px rgba(45,138,85,.08); transition: --otp-progress .12s linear, box-shadow .2s; }
.otp-seal::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.otp-seal strong, .otp-seal small { position: relative; z-index: 1; display: block; }
.otp-seal strong { font-family: var(--number-font); font-size: 16px; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.otp-seal small { margin-top: -10px; color: #888; font-size: 6px; letter-spacing: .14em; }
.otp-seal.is-expired { box-shadow: 0 0 0 5px rgba(201,47,47,.08); }
.otp-panel h3, .complete-panel h3 { margin: 0; font: 32px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.otp-panel > p:not(.eyebrow):not(.countdown), .complete-panel > p:not(.eyebrow) { color: #6d6d68; font-size: 12px; line-height: 1.65; }
.otp-summary { margin: 20px 0; padding: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #5d5d58; font-size: 11px; }
.otp-field { display: grid; gap: 8px; max-width: 360px; margin: 0 auto; color: #555; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-align: left; }
.otp-field input { height: 68px; border: 1px solid #a9bdd0; border-bottom: 3px solid #1769aa; outline: 0; color: #1769aa; background: #f7fbff; font-family: var(--number-font); font-size: 30px; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; letter-spacing: .26em; text-align: center; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.otp-field input:focus { border-color: #1769aa; box-shadow: 0 0 0 3px rgba(23,105,170,.1); }
.countdown { min-height: 18px; color: #777; font-size: 10px; }
.otp-actions { display: flex; justify-content: center; gap: 10px; margin-top: 17px; }
.complete-mark { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 23px; border-radius: 50%; color: #fff; background: var(--green); font: 28px Constantia, Cambria, "Times New Roman", serif; }
.complete-customer { margin: 22px 0; padding: 14px; border: 1px solid var(--line); font: 15px Constantia, Cambria, "Times New Roman", serif; }
.waiting-order { display: flex; align-items: center; gap: 13px; margin: 24px 0; padding: 18px; border: 1px solid #dec0bd; text-align: left; background: #fbf1ef; }
.waiting-order > span { width: 12px; height: 12px; flex: 0 0 auto; border-radius: 50%; background: var(--red); }
.waiting-order strong, .waiting-order small { display: block; }
.waiting-order strong { font-size: 11px; }
.waiting-order small { margin-top: 5px; color: #777; font-size: 9px; line-height: 1.5; }
.waiting-order[data-state="detected"] { border-color: #d8c28b; background: #fbf7eb; }
.waiting-order[data-state="detected"] > span { background: #b18a2d; }
.waiting-order[data-state="complete"] { border-color: #b8d5c2; background: #eef7f1; }
.waiting-order[data-state="complete"] > span { background: var(--green); }

.customer-dialog { width: min(760px, calc(100% - 28px)); max-height: calc(100vh - 40px); padding: 0; border: 0; color: var(--ink); background: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.customer-dialog::backdrop { background: rgba(0,0,0,.66); backdrop-filter: blur(3px); }
.dialog-head { display: flex; justify-content: space-between; padding: 27px 30px 22px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 0; font: 30px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.dialog-head > div > p:last-child { margin: 7px 0 0; color: #888; font-size: 10px; }
.dialog-head button { width: 36px; height: 36px; border: 1px solid #ccc; color: #333; background: #fff; font-size: 22px; }
.dialog-statuses { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 30px; border-bottom: 1px solid var(--line); background: #f6f6f2; }
.dialog-statuses span { padding: 7px 10px; border: 1px solid #ddd; font-size: 9px; font-weight: 750; text-transform: uppercase; }
.dialog-statuses span::before { content: ""; width: 7px; height: 7px; display: inline-block; margin-right: 7px; border-radius: 50%; background: var(--red); }
.dialog-statuses span[data-tone="good"]::before { background: var(--green); }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; padding: 12px 30px 30px; }
.detail-grid > div { min-width: 0; padding: 15px 0; border-bottom: 1px solid #e5e5df; }
.detail-grid > div:nth-child(odd) { padding-right: 25px; }
.detail-grid dt { color: #8b8b86; font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dialog-order-history { margin: 0 30px 24px; border: 1px solid #deded8; background: #fff; }
.dialog-order-history > div:first-child { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; border-bottom: 1px solid #deded8; }
.dialog-order-history > div:first-child strong { font: 15px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.dialog-order-history > div:first-child small { color: #888; font-size: 8px; text-transform: uppercase; }
.dialog-order-history table { width: 100%; border-collapse: collapse; font-size: 9px; }
.dialog-order-history .table-scroll { max-height: 224px; overflow-y: auto; overscroll-behavior: contain; }
.dialog-order-history th, .dialog-order-history td { padding: 10px 12px; border-bottom: 1px solid #ecece7; text-align: left; }
.dialog-order-history th { position: sticky; top: 0; z-index: 1; color: #777; background: #fafaf7; font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }
.receipt-channel-status { grid-column: 1 / -1; min-height: 16px; margin: 4px 0 0; color: #777; font-size: 9px; line-height: 1.45; }
.receipt-channel-status[data-tone="success"] { color: #237346; }
.receipt-channel-status[data-tone="error"] { color: #a82727; }
.detail-grid dd { overflow-wrap: anywhere; margin: 6px 0 0; font-size: 12px; line-height: 1.5; }
.source-receipt-form { margin: 0 30px 24px; padding: 18px; border: 1px solid #deded8; background: #f7f7f3; }
.source-receipt-form > div:first-child { margin-bottom: 12px; }
.source-receipt-form label,
.source-receipt-form small { display: block; }
.source-receipt-form label { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.source-receipt-form small { margin-top: 5px; color: #777; font-size: 9px; line-height: 1.5; }
.source-receipt-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
.source-receipt-control input,
.source-receipt-control textarea { min-width: 0; min-height: 44px; padding: 11px 13px; border: 1px solid #c9c9c3; border-radius: 0; color: var(--ink); background: #fff; font: inherit; font-size: 11px; resize: vertical; }
.source-receipt-control input:focus,
.source-receipt-control textarea:focus { outline: 2px solid #111; outline-offset: -2px; }
.order-note-control { align-items: end; }
.source-receipt-control .secondary-button { min-height: 44px; white-space: nowrap; }
.password-dialog { width: min(560px, calc(100% - 28px)); }
.password-fields { display: grid; gap: 14px; padding: 25px 30px; }
.password-fields select { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid #d2d2cc; border-radius: 0; color: #181816; background: #fff; font: inherit; font-size: 11px; }
.password-security-note { margin: 0; padding: 12px 14px; border-left: 3px solid #777; color: #555550; background: #f4f4f0; font-size: 10px; line-height: 1.55; }
.password-reset-tools { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.password-reset-tools .secondary-button { min-height: 40px; }
.password-visibility-toggle { display: flex; align-items: center; gap: 7px; color: #555550; font-size: 9px; font-weight: 700; }
.password-visibility-toggle input { width: 16px; height: 16px; accent-color: #111; }
.form-status { margin: 0 30px 18px; padding: 11px 13px; border-left: 3px solid var(--red); color: #7d2a25; background: #fbefed; font-size: 11px; font-weight: 700; line-height: 1.5; }
.form-status[data-tone="success"] { border-left-color: var(--green); color: #235b38; background: #edf7f0; }
.support-view-active .support-write-disabled { cursor: not-allowed !important; opacity: .42 !important; }
.otp-send-status { margin: 16px 0 0; }
.dialog-actions { display: flex; justify-content: flex-end; padding: 0 30px 28px; }
.dialog-actions .primary-button { min-height: 48px; }
.dialog-support-row { display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: stretch; gap: 12px; margin: 0 30px 28px; }
.dialog-integration-explanations { display: grid; gap: 8px; }
.dialog-integration-explanations:empty { display: none; }
.dialog-integration-explanation { padding: 13px 15px; border: 1px solid #ead1ce; background: #fbf1ef; }
.dialog-integration-explanation strong, .dialog-integration-explanation span { display: block; }
.dialog-integration-explanation strong { color: #8b3c36; font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dialog-integration-explanation span { margin-top: 5px; color: #555550; font-size: 9px; line-height: 1.55; }
.receipt-channel-actions { width: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 13px 14px; border: 1px solid #d8d8d2; background: #f7f7f3; }
.receipt-channel-actions > div strong, .receipt-channel-actions > div small { display: block; }
.receipt-channel-actions > div strong { font: 13px Constantia, Cambria, "Times New Roman", serif; font-weight: 400; }
.receipt-channel-actions > div small { margin-top: 4px; color: #777; font-size: 8px; line-height: 1.45; }
.receipt-channel-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.receipt-channel-actions .secondary-button, .receipt-channel-actions .primary-button { width: 100%; min-width: 0; min-height: 34px; padding: 0 10px; font-size: 9px; }

@media (max-width: 1000px) {
  .management-view { padding: 36px 28px 50px; }
  .management-filters { grid-template-columns: 1fr 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-tool-grid { grid-template-columns: 1fr; }
  .system-summary { grid-template-columns: repeat(2, 1fr); }
  .system-tool-card { grid-column: auto; }
  .card-filters { grid-template-columns: 1fr 1fr; }
  .customer-pool-kpis { grid-template-columns: repeat(2, 1fr); }
  .customer-pool-filters { grid-template-columns: 1fr 1fr; }
  .dashboard-shell { width: 100%; height: auto; min-height: 100vh; margin: 0; grid-template-columns: 300px minmax(0, 1fr); border: 0; }
  .customer-sidebar { min-height: 0; }
  .workspace { padding: 32px 30px 45px; }
  .address-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-actions { align-items: flex-end; }
}

@media (max-width: 760px) {
  .login-body { padding: 0; }
  .login-shell { min-height: 100vh; grid-template-columns: 1fr; }
  .login-brand { display: none; }
  .login-panel { padding: 48px 25px; }
  .app-topbar { width: 100%; min-height: auto; display: grid; grid-template-columns: 1fr auto; margin: 0; padding: 14px 18px 0; border: 0; border-bottom: 1px solid #ddd; }
  .support-session-banner { width: 100%; align-items: flex-start; margin: 0; padding: 13px 18px; }
  .topbar-brand small { display: none; }
  .app-topbar nav { grid-column: 1 / -1; grid-row: 2; min-height: 45px; }
  .topbar-tab { flex: 1; padding: 0 8px; }
  .topbar-user div { display: none; }
  .management-view { width: 100%; margin: 0; padding: 28px 18px 45px; border: 0; }
  .management-header { display: block; }
  .management-actions { margin-top: 18px; }
  .management-filters { grid-template-columns: 1fr; }
  .kpi-grid, .management-grid, .admin-tool-grid, .admin-tool-form { grid-template-columns: 1fr; }
  .sales-card, .stock-card, .customers-card { grid-column: auto; }
  .card-filters { grid-template-columns: 1fr; }
  .stock-variant-detail { padding: 20px 16px; }
  .stock-variant-heading { align-items: stretch; }
  .admin-tool-form h3 { grid-column: auto; }
  .system-hero { display: block; }
  .system-hero > span { display: inline-block; margin-top: 15px; }
  .system-summary { grid-template-columns: 1fr 1fr; }
  .customer-pool-heading { display: block; }
  .customer-pool-heading button { margin-top: 16px; }
  .customer-pool-kpis, .customer-pool-filters { grid-template-columns: 1fr; }
  .customer-pool-actions { align-items: stretch; flex-direction: column; }
  .customer-pool-actions .primary-button { margin-left: 0; }
  .account-directory-heading { display: block; }
  .directory-count { display: inline-block; margin-top: 15px; }
  .account-directory-filters { grid-template-columns: 1fr; }
  .audit-heading-actions { justify-content: flex-start; margin-top: 15px; }
  .audit-filters { grid-template-columns: 1fr 1fr; }
  .audit-search { grid-column: 1 / -1; }
  .customer-pool-filters .filter-search { grid-column: auto; }
  .customer-pool-pagination { align-items: stretch; flex-direction: column; }
  .audit-filters { grid-template-columns: 1fr; }
  .audit-search, .audit-filter-actions { grid-column: auto; }
  .audit-filter-actions { align-items: stretch; flex-direction: column; }
  .dashboard-shell { height: auto; min-height: 0; display: block; overflow: visible; }
  .customer-sidebar { height: auto; min-height: auto; max-height: 470px; padding: 22px 18px 16px; }
  .sidebar-header { padding-bottom: 18px; }
  .list-heading { padding: 20px 0 13px; }
  .customer-list { max-height: 190px; }
  .sidebar-footer { display: none; }
  .workspace { height: auto; overflow: visible; padding: 28px 18px 40px; }
  .workspace-header { display: block; }
  .workspace-header h2 { font-size: 31px; }
  .system-state { margin-top: 13px; }
  .progress-step { padding: 9px; }
  .progress-step small { display: none; }
  .form-grid, .address-grid { grid-template-columns: 1fr; }
  .customer-lookup { grid-template-columns: 1fr; }
  .customer-lookup > p { grid-column: auto; }
  .customer-lookup-control { grid-template-columns: 1fr; }
  .authority-factor-grid { grid-template-columns: 1fr; }
  .authority-verification-panel { margin: 22px; padding: 20px; }
  .authority-actions { display: grid; grid-template-columns: 1fr; padding: 0 22px 22px; }
  .authority-actions .secondary-button, .authority-actions .primary-button { width: 100%; min-width: 0; }
  .billing-type-switch, .corporate-fields, .vkn-lookup-row { grid-template-columns: 1fr; }
  .corporate-panel-head { display: grid; }
  .field-wide { grid-column: auto; }
  .email-entry-control { grid-template-columns: 1fr; }
  .email-entry-control .secondary-button { width: 100%; }
  .section-heading { align-items: flex-start; }
  .secure-label, .optional-label { display: none; }
  .form-actions { display: grid; }
  .action-buttons { width: 100%; display: grid; }
  .primary-button { width: 100%; min-width: 0; }
  .otp-actions { display: grid; }
  .secondary-button { width: 100%; }
  .detail-grid { grid-template-columns: 1fr; padding: 10px 22px 25px; }
  .detail-grid > div:nth-child(odd) { padding-right: 0; }
  .dialog-head { padding: 23px 22px 19px; }
  .dialog-statuses { padding: 15px 22px; }
  .source-receipt-form { margin: 0 22px 20px; }
  .source-receipt-control { grid-template-columns: 1fr; }
  .dialog-support-row { grid-template-columns: 1fr; margin: 0 22px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* BenimPOS bilgi fişi görünümüne uyumlu, bağımsız fiş sayfası. */
.receipt-body {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  margin: 0;
  padding: 38px 18px;
  color: #111;
  background: #f1f4f8;
  font-family: Arial, Helvetica, sans-serif;
}

.receipt-card {
  position: relative;
  width: min(480px, 100%);
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 18px 40px rgba(22, 31, 44, .13);
}

.receipt-card::before,
.receipt-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  width: 100%;
  height: 9px;
  background-size: 16px 16px;
  background-repeat: repeat-x;
  pointer-events: none;
}

.receipt-card::before {
  top: -8px;
  background-image: linear-gradient(135deg, transparent 50%, #fff 51%);
}

.receipt-card::after {
  bottom: -8px;
  transform: rotate(180deg);
  background-image: linear-gradient(135deg, transparent 50%, #fff 51%);
}

.receipt-header {
  padding: 42px 40px 28px;
  text-align: center;
}

.receipt-header h1 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .01em;
}

.receipt-header p {
  max-width: 365px;
  margin: 16px auto 0;
  color: #676767;
  font-size: 12px;
  line-height: 1.85;
  text-transform: uppercase;
}

.receipt-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border-top: 1px dashed #e6e6e6;
  background: #fbfbfb;
}

.receipt-meta dl { margin: 0; }
.receipt-meta dl > div { display: grid; grid-template-columns: 83px 1fr; margin: 0 0 8px; }
.receipt-meta dl > div:last-child { margin-bottom: 0; }
.receipt-meta dt,
.receipt-meta dd {
  margin: 0;
  color: #555;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  line-height: 1.3;
}

.receipt-meta > span {
  flex: 0 0 auto;
  margin-top: 0;
  padding: 9px 13px 8px;
  border-radius: 3px;
  color: #fff;
  background: #1e1e1e;
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.receipt-products { padding: 0 24px 18px; }
.receipt-products-head {
  display: flex;
  justify-content: space-between;
  padding: 21px 0 14px 66px;
  border-bottom: 1px solid #e2e2e2;
  color: #898989;
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
  letter-spacing: .05em;
}

.receipt-product {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  min-height: 96px;
  border-bottom: 1px solid #ececec;
}

.receipt-product:last-child { border-bottom: 0; }
.receipt-product-image {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 3px;
  color: #aaa;
  background: #f3f3f3;
  font-weight: 800;
}

.receipt-product-image img { width: 100%; height: 100%; object-fit: cover; }
.receipt-product-copy { min-width: 0; }
.receipt-product-copy strong,
.receipt-product-copy small,
.receipt-product-copy em { display: block; }
.receipt-product-copy strong {
  overflow: hidden;
  color: #111;
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.receipt-product-copy small,
.receipt-product-copy em {
  margin-top: 7px;
  color: #999;
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
  font-style: normal;
}

.receipt-product > b {
  color: #111;
  font-family: Consolas, "Courier New", monospace;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.receipt-empty { padding: 30px 0; color: #888; text-align: center; }
.receipt-totals {
  padding: 26px 24px 20px;
  background: #fbfbfb;
}

.receipt-totals > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.receipt-gross {
  padding: 21px 0 15px;
  border-top: 2px solid #222;
}

.receipt-gross span,
.receipt-net span { font-size: 15px; font-weight: 700; }
.receipt-gross strong,
.receipt-net strong {
  font-family: Consolas, "Courier New", monospace;
  font-size: 24px;
  font-weight: 500;
}

.receipt-discount { padding: 8px 0 18px; color: #707070; }
.receipt-discount span { font-size: 14px; }
.receipt-discount strong {
  color: #249953;
  font-family: Consolas, "Courier New", monospace;
  font-size: 16px;
  font-weight: 500;
}

.receipt-vat {
  padding: 0 0 14px;
  color: #555;
}
.receipt-vat span { font-size: 14px; }
.receipt-vat strong {
  color: #222;
  font-family: Consolas, "Courier New", monospace;
  font-size: 16px;
  font-weight: 500;
}

.receipt-net {
  padding: 20px 0 8px;
  border-top: 2px solid #222;
}

.receipt-footer {
  padding: 28px 24px 25px;
  border-top: 1px dashed #e3e3e3;
  color: #aaa;
  text-align: center;
}

.receipt-footer > p { margin: 0 0 27px; font-size: 11px; }
.receipt-footer > div {
  display: grid;
  gap: 8px;
  padding-top: 25px;
  border-top: 1px solid #eee;
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
  letter-spacing: .04em;
}

.receipt-footer > div strong { color: #929292; font-weight: 700; }
.receipt-footer > small { display: block; margin-top: 20px; font-size: 9px; }

@media (max-width: 520px) {
  .receipt-body { padding: 18px 9px; }
  .receipt-header { padding: 35px 24px 24px; }
  .receipt-meta,
  .receipt-products,
  .receipt-totals,
  .receipt-footer { padding-left: 18px; padding-right: 18px; }
  .receipt-product { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 11px; }
  .receipt-product-image { width: 46px; height: 46px; }
  .receipt-gross strong,
  .receipt-net strong { font-size: 21px; }
}
