/* Classicred Demo · interface responsiva, sem fontes ou assets externos. */
:root {
  color-scheme: light;
  --forest: #183e35;
  --forest-deep: #102f28;
  --lime: #dbf49b;
  --lime-soft: #f0f8df;
  --ink: #172d27;
  --muted: #718079;
  --canvas: #f5f6f2;
  --white: #ffffff;
  --line: #e3e8e2;
  --lilac: #eae4f7;
  --red: #a53f35;
  --red-soft: #fff1ee;
  --radius: 20px;
  --shadow: 0 8px 28px rgba(23, 45, 39, .045);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
[hidden], .application[hidden] { display: none !important; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, input, select, textarea, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled, input:disabled { cursor: not-allowed; }
button:disabled { opacity: .48; }
a { color: inherit; text-decoration: none; }
img, video, svg { max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
small { font-size: 12px; }
fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
legend { padding: 0; }
input, textarea, select { min-width: 0; color: var(--ink); }
input::placeholder, textarea::placeholder { color: #98a19b; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #829f4b; outline-offset: 4px; }
.icon { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 200; padding: 12px 20px; background: var(--forest); color: white; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.eyebrow { color: #72816f; font-size: 10px; font-weight: 750; letter-spacing: 1.7px; line-height: 1.4; }
.muted, .text-muted { color: var(--muted); }
.text-right { text-align: right; }
.text-center { text-align: center; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 27px; font-weight: 780; letter-spacing: -1.3px; white-space: nowrap; line-height: 1; }
.brand-mark { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; background: var(--forest); color: var(--lime); font-size: 32px; font-weight: 850; line-height: .8; letter-spacing: -1px; padding-bottom: 5px; }
.brand-thin { font-weight: 450; }
.brand-dot { color: #82a84b; }
.brand-light { color: #fff; }
.brand-light .brand-mark { background: var(--lime); color: var(--forest); }
.brand-light .brand-dot { color: var(--lime); }
.pill { min-height: 26px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 5px 10px; border-radius: 7px; font-size: 10px; font-weight: 750; letter-spacing: .5px; line-height: 1.3; white-space: nowrap; }
.pill-light { color: #e9f4e9; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font-size: 9px; letter-spacing: 1.15px; padding: 8px 11px; }
.pill-light .status-dot { background: var(--lime); }
.demo-pill { background: #edf2df; color: #536438; }
.pill-success, .pill-green { color: #376948; background: #eef7e8; }
.pill-muted { background: var(--canvas); color: var(--muted); }
.pill-lilac { background: var(--lilac); color: #6f5e86; }
.status-dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: #84a745; flex: 0 0 6px; }
.button { min-height: 46px; padding: 12px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 11px; font-size: 12px; font-weight: 680; line-height: 1.35; text-align: center; transition: background .18s, transform .18s, border-color .18s; }
.button:not(:disabled):active { transform: translateY(1px); }
.button .icon { width: 18px; height: 18px; flex-basis: 18px; }
.button-primary { background: var(--forest); color: #fff; }
.button-primary:hover:not(:disabled) { background: #245849; }
.button-secondary { background: var(--lime); color: var(--forest); }
.button-secondary:hover:not(:disabled) { background: #cee98a; }
.button-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.button-ghost:hover:not(:disabled) { background: #f7f9f3; border-color: #cdd8c9; }
.button-danger { color: var(--red); background: var(--red-soft); border-color: #f0d4cf; }
.button-danger:hover:not(:disabled) { background: #ffe4df; }
.button-small { min-height: 38px; padding: 9px 13px; font-size: 11px; border-radius: 9px; }
.button-block, .full-width { width: 100%; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 0; border: 0; background: transparent; color: var(--ink); font-size: 11px; font-weight: 650; }
.text-button:hover { color: #547739; }
.text-button .icon { width: 16px; height: 16px; flex-basis: 16px; }
.icon-button { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 9px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--muted); }
.icon-button:hover:not(:disabled) { color: var(--forest); background: #f1f5ec; }
.is-loading { position: relative; pointer-events: none; }
.button.is-loading::after { content: ''; display: block; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.field-label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 650; color: #354b40; }
.input-shell { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid #dfe5dc; border-radius: 10px; background: #fff; color: #8c998e; transition: border-color .18s, box-shadow .18s; }
.input-shell:focus-within { border-color: #829f60; box-shadow: 0 0 0 3px rgba(171, 197, 132, .17); }
.input-shell input { width: 100%; height: 46px; padding: 0; background: transparent; border: 0; outline: 0; font-weight: 500; }
.input-shell input:focus-visible { outline: 0; }
.input-shell .icon { width: 17px; height: 17px; flex-basis: 17px; }
.input-shell .icon-button { margin-right: -8px; }
.input-shell > span { font-size: 13px; white-space: nowrap; color: var(--muted); }
.field-help { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.inline-error { padding: 12px 14px; border-radius: 9px; background: var(--red-soft); color: var(--red); font-size: 12px; line-height: 1.6; border: 1px solid #f0d4cf; }
.inline-success { padding: 12px 14px; border-radius: 9px; color: #366748; background: #eff7e8; font-size: 12px; }
.round-icon { width: 39px; height: 39px; flex: 0 0 39px; border-radius: 12px; background: var(--lime); display: inline-flex; align-items: center; justify-content: center; color: var(--forest); }
.round-icon.lilac { background: var(--lilac); color: #665484; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: #e7eddb; color: #587040; font-size: 12px; font-weight: 750; }

/* Acesso */
.login-screen { display: grid; grid-template-columns: 47% 53%; min-height: 100svh; background: #fff; }
.login-story { display: flex; flex-direction: column; position: relative; overflow: hidden; padding: 42px 56px 28px; background: var(--forest); color: #fff; }
.login-story::before { content: ''; position: absolute; width: 700px; height: 700px; right: -520px; top: 20%; border: 1px solid rgba(219, 244, 155, .09); border-radius: 50%; box-shadow: 0 0 0 45px rgba(219, 244, 155, .024), 0 0 0 105px rgba(219, 244, 155, .02); pointer-events: none; }
.login-story > * { position: relative; z-index: 1; }
.story-content { width: 100%; max-width: 500px; margin: auto 0; padding: 44px 0 46px; }
.story-content h1 { margin-top: 25px; font-size: clamp(40px, 4.05vw, 60px); line-height: 1.11; letter-spacing: -2.8px; font-weight: 590; }
.story-content h1 span { color: var(--lime); }
.story-content > p { max-width: 375px; color: #bdcfc4; font-size: 13px; line-height: 1.8; margin-top: 23px; }
.card-scene { position: relative; max-width: 420px; height: 287px; margin-top: 29px; }
.demo-bank-card { position: absolute; width: 340px; max-width: 88%; left: 22px; top: 50px; padding: 26px; border-radius: 20px; color: var(--forest); background: var(--lime); box-shadow: 0 16px 32px rgba(0, 0, 0, .13); transform: rotate(-6deg); overflow: hidden; }
.demo-bank-card::after { content: ''; width: 230px; height: 230px; border: 1px solid rgba(67, 107, 42, .14); border-radius: 50%; position: absolute; right: -140px; bottom: -140px; box-shadow: 0 0 0 28px rgba(94, 127, 57, .035), 0 0 0 55px rgba(94, 127, 57, .03); }
.bank-card-top, .bank-card-bottom { display: flex; align-items: center; justify-content: space-between; }
.bank-card-top { font-size: 23px; font-weight: 740; letter-spacing: -1px; margin-bottom: 23px; }
.demo-bank-card > small { font-size: 7px; font-weight: 730; letter-spacing: 1.1px; opacity: .8; }
.demo-card-value { margin: 5px 0 18px; font-size: 40px; font-weight: 590; letter-spacing: -1.4px; line-height: 1.1; }
.demo-card-value span { font-size: 24px; opacity: .8; }
.bank-card-bottom { font-size: 8px; font-weight: 650; letter-spacing: 1.2px; }
.floating-note { position: absolute; z-index: 2; display: flex; gap: 10px; align-items: center; padding: 13px 16px 13px 12px; border-radius: 13px; background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }
.floating-note strong { display: block; font-size: 10px; font-weight: 700; }
.floating-note small { display: block; font-size: 8px; color: #7f8e84; margin-top: 3px; }
.floating-note .round-icon { width: 31px; height: 31px; flex-basis: 31px; border-radius: 9px; }
.floating-note .icon { width: 17px; height: 17px; flex-basis: 17px; }
.note-top { top: 9px; right: -4px; transform: rotate(3deg); }
.note-bottom { bottom: -5px; left: 0; transform: rotate(2deg); }
.story-footer { display: flex; justify-content: space-between; gap: 12px; color: #a5bcb0; font-size: 9px; }
.login-form-panel { padding: 35px 48px 24px; display: flex; flex-direction: column; }
.login-topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.login-form-wrap { width: 100%; max-width: 438px; padding: 48px 0 46px; margin: auto; }
.mobile-brand { display: none; }
.login-form-wrap h2 { margin-top: 13px; font-size: 34px; line-height: 1.2; letter-spacing: -1.2px; font-weight: 670; }
.intro-text { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.role-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 31px; margin-bottom: 25px; }
.role-picker legend { margin-bottom: 12px; }
.role-option { position: relative; cursor: pointer; padding: 16px 12px 13px; border: 1px solid #e0e7de; border-radius: 12px; min-height: 108px; transition: background .18s, border-color .18s; }
.role-option:hover { border-color: #bdcdb6; background: #fafcf7; }
.role-option:has(input:checked) { background: #f1f7e4; border-color: #8ca65f; box-shadow: inset 0 0 0 .5px #8ca65f; }
.role-option:has(input:focus-visible) { outline: 3px solid #829f4b; outline-offset: 3px; }
.role-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.role-icon { display: flex; color: #7d9080; margin-bottom: 12px; }
.role-icon .icon { width: 22px; height: 22px; }
.role-option strong { display: block; font-size: 12px; font-weight: 650; }
.role-option small { display: block; font-size: 9px; color: #8a978d; margin-top: 4px; }
.role-option input:checked ~ .role-icon, .role-option input:checked ~ strong { color: var(--forest); }
.role-tick { display: none; position: absolute; top: 12px; right: 10px; width: 15px; height: 15px; border-radius: 50%; background: var(--forest); color: var(--lime); align-items: center; justify-content: center; }
.role-tick .icon { width: 9px; height: 9px; flex-basis: 9px; stroke-width: 2.7; }
.role-option input:checked ~ .role-tick { display: flex; }
#login-form > .input-shell { margin-bottom: 18px; }
.demo-credentials { display: flex; gap: 9px; align-items: flex-start; margin: 2px 0 21px; padding: 12px; border: 1px solid #edf0e9; border-radius: 9px; background: #f7f9f3; color: #7a897b; font-size: 10px; line-height: 1.65; }
.demo-credentials .icon { flex-basis: 15px; width: 15px; height: 15px; margin-top: 1px; color: #728a58; }
.demo-credentials strong { color: #4e6645; }
.login-submit { width: 100%; justify-content: space-between; padding: 15px 18px; min-height: 49px; }
#login-error { margin-bottom: 16px; }
.login-assurance { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; color: #93a08e; font-size: 9px; }
.login-assurance .icon { width: 13px; height: 13px; flex-basis: 13px; }
.login-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: #99a396; font-size: 9px; }
.login-bottom > span { font-size: 8px; letter-spacing: .85px; }

/* Estrutura dos painéis */
.application { min-height: 100svh; }
.sidebar { width: 256px; padding: 31px 22px 19px; background: #fff; border-right: 1px solid var(--line); position: fixed; z-index: 35; top: 0; bottom: 0; left: 0; display: flex; flex-direction: column; overflow-y: auto; }
.sidebar-top { display: flex; align-items: center; gap: 9px; margin: 0 0 46px; }
.sidebar-top .brand { font-size: 23px; gap: 7px; }
.sidebar-top .brand-mark { width: 29px; height: 29px; border-radius: 9px; font-size: 28px; }
.sidebar-demo { font-size: 7px; letter-spacing: .8px; border-radius: 4px; padding: 3px 5px; background: #f0f3e9; color: #8b987b; font-weight: 700; }
.workspace-label { margin: 0 12px 14px; font-size: 8px; font-weight: 700; letter-spacing: 1.6px; color: #9ba594; }
.main-nav { display: flex; flex-direction: column; gap: 7px; }
.nav-link { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 13px; text-align: left; border: 0; border-radius: 10px; background: transparent; color: #7d8a7d; font-size: 12px; font-weight: 520; min-height: 47px; }
.nav-link .icon { width: 18px; height: 18px; flex-basis: 18px; }
.nav-link:hover { background: #f6f8f1; color: var(--forest); }
.nav-link.is-active { background: var(--lime); color: var(--forest); font-weight: 670; }
.nav-link > .nav-count { margin-left: auto; background: #fff; padding: 1px 6px; border-radius: 6px; font-size: 9px; }
.sidebar-support { margin-top: auto; padding: 25px 14px 18px; }
.support-illustration { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; background: var(--lilac); color: #807193; margin: 14px 0 13px; transform: rotate(-7deg); }
.support-illustration .icon { width: 22px; height: 22px; }
.sidebar-support > strong { display: block; font-size: 11px; font-weight: 680; }
.sidebar-support > p { font-size: 10px; color: #8f9a88; line-height: 1.7; margin: 6px 0 13px; }
.sidebar-support .button { width: 100%; font-size: 9px; min-height: 37px; padding: 9px 8px; gap: 7px; border-color: #e8ebdf; }
.sidebar-support .button .icon { width: 13px; height: 13px; flex-basis: 13px; }
.sidebar-bottom { padding-top: 18px; border-top: 1px solid #edf0e9; }
.reset-link { font-size: 10px; min-height: 40px; padding: 10px 8px; margin-bottom: 10px; color: #839073; }
.profile-summary { display: flex; gap: 10px; align-items: center; }
.profile-summary > div { min-width: 0; flex: 1; }
.profile-summary strong { display: block; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-summary small { display: block; font-size: 9px; color: #95a18f; margin-top: 3px; }
.profile-summary .avatar { width: 34px; height: 34px; flex-basis: 34px; font-size: 10px; }
.profile-summary .icon-button { min-width: 28px; width: 28px; padding: 4px; }
.profile-summary .icon { width: 16px; height: 16px; flex-basis: 16px; }
.app-main { min-height: 100svh; margin-left: 256px; display: flex; flex-direction: column; }
.topbar { height: 76px; padding: 0 35px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: #fff; border-bottom: 1px solid var(--line); }
.topbar-location { display: flex; align-items: center; gap: 13px; font-size: 11px; }
.breadcrumb-root { color: #96a090; }
.breadcrumb-slash { color: #c1c9bb; }
.topbar-location strong { font-weight: 570; }
.topbar-actions { display: flex; align-items: center; gap: 19px; }
.sync-status { display: flex; align-items: center; gap: 6px; padding: 9px 0; background: none; border: 0; color: #8b987f; font-size: 9px; }
.sync-status .icon { width: 12px; height: 12px; flex-basis: 12px; margin-left: 3px; }
.sync-status.is-loading .icon { animation: spin 1s linear infinite; }
.sync-status.is-offline, .sync-status.is-error { color: #af7352; }
.sync-status.is-offline .status-dot, .sync-status.is-error .status-dot { background: #d4a170; }
.mobile-menu, .nav-backdrop { display: none; }
.dashboard { width: 100%; max-width: 1560px; padding: 35px 35px 20px; margin: 0 auto; flex: 1; outline: 0; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.page-heading h1 { font-size: 29px; line-height: 1.2; letter-spacing: -1.05px; font-weight: 650; margin-top: 7px; }
.page-heading p:not(.eyebrow) { margin-top: 9px; font-size: 12px; color: #8a9682; line-height: 1.65; }
.heading-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.heading-actions .button { min-height: 41px; font-size: 11px; padding: 11px 14px; }
.app-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 35px 25px; font-size: 9px; color: #a0a995; }
.kpi-grid, .metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 25px; }
.kpi-card, .metric-card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: #fff; position: relative; }
.kpi-icon { display: inline-flex; align-items: center; justify-content: center; width: 33px; height: 33px; border: 1px solid #edf0e7; border-radius: 10px; color: #7a8c67; background: #fafbf7; position: absolute; right: 21px; top: 21px; }
.kpi-icon .icon { width: 17px; height: 17px; flex-basis: 17px; }
.kpi-card:nth-child(2) .kpi-icon { color: #9584a6; background: #f8f5fc; border-color: #f0ebf5; }
.kpi-card:nth-child(3) .kpi-icon { color: #9b8a58; background: #fcfaf1; border-color: #f3eede; }
.kpi-label { display: block; padding-right: 32px; font-size: 11px; color: #89947f; }
.kpi-value { display: block; margin-top: 11px; font-size: 25px; letter-spacing: -1px; font-weight: 620; line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kpi-note { display: block; margin-top: 10px; font-size: 9px; color: #a0aa94; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 23px; align-items: start; }
.main-column, .side-column { display: flex; flex-direction: column; gap: 23px; min-width: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.card-heading { padding: 22px 24px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-heading h2, .card-heading h3, .section-title { font-size: 14px; font-weight: 650; letter-spacing: -.25px; }
.card-heading p { font-size: 10px; color: #93a088; margin-top: 4px; line-height: 1.6; }
.card-heading > .icon { color: #99a28e; }
.card-heading > span, .card-heading > small { font-size: 10px; color: var(--muted); }
.card-body { padding: 0 24px 24px; }
.card-footer { border-top: 1px solid #edf0e8; padding: 16px 24px; font-size: 11px; color: var(--muted); }
.card-footer .button { width: 100%; }
.card + .card, .dashboard > .card + .card { margin-top: 24px; }
.main-column > .card + .card, .side-column > .card + .card { margin-top: 0; }
.section-title { margin-bottom: 15px; }

/* Empresa e configuração */
.employee-row { display: flex; align-items: center; gap: 13px; padding: 17px; background: #f8faf5; border: 1px solid #edf1e6; border-radius: 12px; margin-bottom: 23px; }
.employee-row > div { min-width: 0; flex: 1; }
.employee-row strong { font-size: 12px; font-weight: 650; }
.employee-row small, .employee-row p { display: block; font-size: 10px; margin-top: 3px; color: #94a086; }
.employee-row > .pill { margin-left: auto; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 19px; }
.form-grid + .form-grid { margin-top: 20px; }
.form-grid > * { min-width: 0; }
.form-grid .input-shell { min-height: 46px; }
.form-grid .input-shell input { height: 44px; font-size: 13px; }
.range-labels { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 10px; color: #a0a98f; }
input[type='range'] { width: 100%; margin: 21px 0 8px; accent-color: #709449; cursor: pointer; }
.benefit-preview { padding: 19px; margin: 21px 0; background: #f0f7e4; border: 1px solid #e2eecb; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.benefit-preview span, .benefit-preview small { display: block; color: #8b9d70; font-size: 10px; }
.benefit-preview strong { font-size: 25px; letter-spacing: -.8px; font-weight: 600; color: #37562a; font-variant-numeric: tabular-nums; }
.benefit-preview p { font-size: 10px; color: #8b9d70; margin-top: 5px; }
.benefit-preview > .icon { width: 30px; height: 30px; flex-basis: 30px; color: #9bb272; }
#company-form > .button, #company-form .form-submit, #configure-form > .button { width: 100%; }
#company-form .inline-error, #configure-form .inline-error { margin-bottom: 16px; }
.form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 22px; }
.info-callout, .tip-box, .notice { display: flex; align-items: flex-start; gap: 10px; padding: 15px; border-radius: 11px; background: #f8faf5; color: #899879; font-size: 11px; line-height: 1.7; }
.info-callout .icon, .tip-box .icon, .notice .icon { width: 16px; height: 16px; flex-basis: 16px; margin-top: 1px; }
.info-callout strong, .tip-box strong { color: #667a53; }
.usage-progress { margin: 19px 0 13px; height: 7px; border-radius: 10px; background: #e8eedc; overflow: hidden; }
.usage-bar { display: block; height: 100%; background: #89a966; border-radius: inherit; min-width: 0; transition: width .35s; }
.usage-labels { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; color: #8fa178; }
.detail-list { display: grid; gap: 15px; }
.detail-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 11px; color: var(--muted); }
.detail-row strong { color: var(--ink); font-weight: 650; }

/* Carteira do cliente e parceria */
.wallet-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(290px, 1fr); gap: 24px; margin-bottom: 25px; align-items: stretch; }
.wallet-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--forest); padding: 29px; color: white; min-height: 324px; display: flex; flex-direction: column; }
.wallet-card::after { content: ''; position: absolute; width: 330px; height: 330px; border: 1px solid rgba(219, 244, 155, .1); border-radius: 50%; top: -90px; right: -210px; box-shadow: 0 0 0 34px rgba(219, 244, 155, .025), 0 0 0 80px rgba(219, 244, 155, .02); pointer-events: none; }
.wallet-card > * { position: relative; z-index: 1; }
.wallet-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 31px; }
.wallet-top h2, .wallet-top strong { font-size: 15px; font-weight: 630; letter-spacing: -.35px; }
.wallet-top .icon { color: var(--lime); }
.wallet-top .pill { background: rgba(219, 244, 155, .1); color: #c3dfa6; border: 1px solid rgba(219, 244, 155, .13); font-size: 8px; }
.wallet-label { color: #a6bfaf; font-size: 11px; }
.wallet-amount { font-size: 47px; font-weight: 560; letter-spacing: -2px; line-height: 1.12; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; margin-top: 6px; }
.wallet-card > p { font-size: 10px; color: #a1bea9; }
.wallet-meta { margin-top: auto; padding-top: 25px; display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; }
.wallet-meta > div { min-width: 0; }
.wallet-meta small, .wallet-meta span { display: block; font-size: 9px; color: #92ae99; }
.wallet-meta strong { display: block; font-size: 11px; font-weight: 570; color: #dfecdc; margin-top: 4px; }
.wallet-card .usage-progress { background: rgba(219, 244, 155, .1); margin-top: 22px; height: 5px; }
.wallet-card .usage-bar { background: var(--lime); }
.wallet-card .usage-labels { color: #98b499; font-size: 9px; }
.wallet-card .button-secondary { min-height: 38px; padding: 9px 12px; font-size: 10px; }
.qr-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 24px; text-align: center; min-width: 0; }
.qr-card h2, .qr-card h3 { font-size: 14px; font-weight: 650; }
.qr-card > p { font-size: 10px; color: #93a085; margin: 6px 0 12px; }
.qr-card .card-heading { padding: 0; margin-bottom: 12px; text-align: left; }
.qr-stage { display: flex; justify-content: center; align-items: center; max-width: 240px; margin: 7px auto 10px; background: #fff; }
.qr-stage svg { display: block; max-width: 100%; }
.qr-actions { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.qr-actions .button { min-height: 35px; padding: 9px 11px; font-size: 9px; }
.qr-actions .icon { width: 14px; height: 14px; flex-basis: 14px; }
.qr-code-text { margin-top: 13px; font-size: 9px; color: #a1ac98; line-height: 1.6; overflow-wrap: anywhere; word-break: break-all; }
.qr-code-text code { font-family: inherit; font-size: inherit; }
.partner-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 23px; min-width: 0; }
.partner-card > .card-heading { padding: 0; margin-bottom: 21px; }
.partner-card h2 { font-size: 14px; font-weight: 650; }
.partner-card > p { color: #8b997e; font-size: 11px; line-height: 1.7; margin-top: 14px; }
.partner-heading { display: flex; gap: 14px; align-items: center; }
.partner-heading h3 { font-size: 14px; font-weight: 650; }
.partner-heading p { color: #8a997c; font-size: 10px; margin-top: 4px; }
.partner-logo { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; flex: 0 0 52px; background: #f4f3df; border-radius: 14px; color: #8c9461; font-size: 14px; font-weight: 700; }
.partner-logo .icon { width: 27px; height: 27px; }
.partner-meta { display: grid; gap: 12px; margin-top: 19px; font-size: 10px; color: #8b9a7e; }
.partner-meta > div, .partner-meta > p { display: flex; align-items: center; gap: 8px; }
.partner-meta .icon { width: 15px; height: 15px; flex-basis: 15px; color: #a4b094; }
.partner-card .button { margin-top: 21px; width: 100%; }
.partner-products { display: flex; gap: 10px; margin-top: 20px; }

/* Extratos e histórico */
.transaction-list { display: flex; flex-direction: column; }
.transaction-row { display: flex; align-items: center; gap: 13px; padding: 16px 0; border-bottom: 1px solid #f0f2ea; }
.transaction-row:first-child { padding-top: 5px; }
.transaction-row:last-child { border-bottom: 0; padding-bottom: 0; }
.transaction-icon { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; background: #f2f5ec; color: #98a681; display: flex; align-items: center; justify-content: center; }
.transaction-icon .icon { width: 18px; height: 18px; flex-basis: 18px; }
.transaction-info { min-width: 0; flex: 1; }
.transaction-info strong { font-size: 11px; font-weight: 620; display: block; }
.transaction-info small, .transaction-info p { display: block; color: #9eaa92; font-size: 9px; margin-top: 4px; line-height: 1.7; }
.transaction-amount { text-align: right; flex-shrink: 0; }
.transaction-amount strong { display: block; font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; }
.transaction-amount small { display: block; font-size: 9px; color: #9aab8d; margin-top: 4px; }
.transaction-row .icon-button { color: #9eaa91; min-width: 30px; padding: 5px; }
.transaction-row .icon-button .icon { width: 15px; height: 15px; flex-basis: 15px; }
.empty-state { text-align: center; padding: 36px 20px 37px; color: #9ba88e; }
.empty-state > .icon, .empty-state-icon { width: 40px; height: 40px; color: #c0cdb0; display: block; margin: 0 auto 15px; }
.empty-state strong, .empty-state h3 { display: block; font-size: 12px; font-weight: 600; color: #7e906f; }
.empty-state p { font-size: 10px; max-width: 330px; margin: 7px auto 0; line-height: 1.8; }
.empty-state .button { margin-top: 18px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 11px; }
th { text-align: left; font-weight: 580; color: #95a187; background: #f9faf7; }
th, td { padding: 13px 12px; border-bottom: 1px solid #edf0e8; }
td { color: #657853; }
tr:last-child td { border-bottom: 0; }

/* Venda e leitura de QR Code */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); align-items: start; gap: 23px; }
.checkout-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.checkout-main > .card + .card { margin-top: 0; }
.checkout-summary { position: sticky; top: 22px; min-width: 0; }
.checkout-steps { display: flex; align-items: center; gap: 9px; margin-bottom: 25px; padding: 17px 20px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.checkout-step { display: flex; align-items: center; gap: 8px; flex: 1; color: #a5af9c; font-size: 10px; min-width: 0; }
.checkout-step > span:first-child, .step-number { width: 26px; height: 26px; flex: 0 0 26px; border: 1px solid #e6ebdd; border-radius: 50%; display: inline-flex; justify-content: center; align-items: center; font-size: 10px; font-weight: 650; background: #fff; }
.checkout-step.is-active { color: #587144; font-weight: 650; }
.checkout-step.is-active > span:first-child, .checkout-step.is-active .step-number { background: var(--lime); color: var(--forest); border-color: var(--lime); }
.checkout-step.is-complete { color: #758d5e; }
.step-connector { height: 1px; width: 27px; flex: 0 0 27px; background: #e5eadc; }
.scanner-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.scanner-placeholder { padding: 28px 22px 26px; background: #f8faf5; border: 1px dashed #dce5cf; border-radius: 14px; text-align: center; }
.scanner-symbol { display: flex; align-items: center; justify-content: center; width: 59px; height: 59px; margin: 0 auto 14px; background: #eaf1db; color: #829960; border-radius: 17px; }
.scanner-symbol .icon { width: 29px; height: 29px; }
.scanner-placeholder h3, .scanner-placeholder strong { display: block; font-size: 12px; font-weight: 650; }
.scanner-placeholder p { font-size: 10px; color: #95a386; max-width: 280px; line-height: 1.75; margin: 8px auto 0; }
.scanner-actions { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.scanner-actions .button { font-size: 10px; min-height: 41px; padding: 11px 13px; }
.camera-area { position: relative; overflow: hidden; background: var(--forest-deep); border-radius: 14px; min-height: 245px; text-align: center; }
.camera-area video { display: block; width: 100%; max-height: 380px; object-fit: cover; aspect-ratio: 4 / 3; }
.camera-area .camera-frame { position: absolute; top: 15%; right: 24%; bottom: 20%; left: 24%; border: 2px solid var(--lime); border-radius: 18px; box-shadow: 0 0 0 100px rgba(0, 0, 0, .15); pointer-events: none; }
.camera-area .button { position: relative; z-index: 2; margin: 10px 0 14px; }
.camera-hint { color: #c5d6ba; font-size: 10px; margin: 10px; }
.manual-entry { margin-top: 17px; padding-top: 17px; border-top: 1px solid #eef2e7; }
.manual-entry summary { cursor: pointer; font-size: 11px; color: #899c75; font-weight: 620; }
.manual-entry .input-shell { margin-top: 12px; }
.manual-entry input { font-size: 10px; }
.manual-entry .button { margin-top: 10px; width: 100%; min-height: 38px; font-size: 10px; }
.manual-entry p { font-size: 10px; color: #9da98d; margin-top: 8px; }
.scanner-card .inline-error { margin-top: 14px; }
.identified-client, .customer-card { padding: 17px; border-radius: 12px; background: #f1f7e5; border: 1px solid #e3edcd; display: flex; gap: 11px; align-items: center; }
.identified-client > div, .customer-card > div { min-width: 0; flex: 1; }
.identified-client strong, .customer-card strong { font-size: 12px; font-weight: 650; display: block; }
.identified-client small, .customer-card small { display: block; font-size: 9px; margin-top: 3px; color: #91a176; }
.identified-client > .icon, .customer-card > .icon { color: #8aaa5f; }
.customer-card .customer-balance, .identified-client .customer-balance { text-align: right; }
.customer-balance strong { font-size: 17px; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.identified-client + p { font-size: 10px; margin-top: 10px; color: #9aa98b; }
.products-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid #e6ebdf; border-radius: 14px; background: #fff; }
.product-art { height: 130px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #f5f1df; color: #95905d; }
.product-art::before, .product-art::after { content: ''; width: 76px; height: 76px; position: absolute; border-radius: 50%; border: 1px solid rgba(149, 144, 93, .08); }
.product-art::before { left: -26px; top: -32px; }
.product-art::after { right: -22px; bottom: -33px; width: 104px; height: 104px; }
.product-art > .icon { width: 55px; height: 55px; stroke-width: 1.3; transform: rotate(-7deg); }
.product-card:nth-child(2) .product-art, .product-art.lilac { background: #eee9f5; color: #9b8bb1; }
.product-card:nth-child(2) .product-art > .icon { transform: rotate(7deg); }
.product-art > .pill { position: absolute; top: 12px; left: 12px; font-size: 7px; background: rgba(255, 255, 255, .6); color: #9d9a7a; padding: 4px 6px; min-height: 20px; }
.product-info { padding: 16px; }
.product-info h3, .product-info strong { font-size: 12px; font-weight: 650; }
.product-info p { margin-top: 6px; font-size: 9px; color: #99a58d; line-height: 1.75; min-height: 32px; }
.product-price { display: block; margin-top: 14px; font-size: 17px; font-weight: 650; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: 15px; }
.product-info .button { width: 100%; margin-top: 14px; min-height: 36px; font-size: 10px; padding: 10px; }
.quantity-control { display: inline-flex; align-items: center; border: 1px solid #e4e9dc; background: #fff; border-radius: 9px; overflow: hidden; min-height: 34px; margin-top: 14px; }
.quantity-control button { display: flex; align-items: center; justify-content: center; width: 34px; min-height: 34px; padding: 7px; border: 0; background: #fff; color: #7f9368; }
.quantity-control button:hover:not(:disabled) { background: #f3f7ea; }
.quantity-control button .icon { width: 14px; height: 14px; flex-basis: 14px; }
.quantity-control span, .quantity-control output { min-width: 30px; text-align: center; font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums; }
.quantity-control input { width: 35px; border: 0; text-align: center; outline: 0; font-size: 11px; font-weight: 650; }
.cart-empty { text-align: center; padding: 23px 6px; font-size: 11px; color: #9eaa8f; line-height: 1.8; }
.cart-empty .icon { display: block; margin: 0 auto 13px; width: 31px; height: 31px; color: #c3ceb3; }
.cart-line { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; padding: 14px 0; border-bottom: 1px solid #edf1e5; font-size: 11px; }
.cart-line > div { min-width: 0; }
.cart-line strong { font-size: 11px; font-weight: 600; }
.cart-line small { display: block; font-size: 9px; color: #a0ab8f; margin-top: 4px; }
.cart-line > span { white-space: nowrap; font-weight: 600; }
.cart-totals { margin-top: 17px; display: grid; gap: 12px; }
.cart-totals > div { display: flex; justify-content: space-between; gap: 13px; font-size: 10px; color: #97a386; }
.cart-totals strong { font-weight: 580; color: #6f845c; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid #e9eedd; margin-top: 18px; padding-top: 20px; font-size: 12px; font-weight: 650; }
.cart-total > strong { font-size: 27px; letter-spacing: -1px; font-weight: 650; font-variant-numeric: tabular-nums; }
.balance-note { margin-top: 17px; padding: 12px; background: #f4f8eb; border: 1px solid #e7efd8; border-radius: 10px; font-size: 10px; color: #8da273; line-height: 1.7; }
.balance-note strong { color: #657e4c; }
.balance-note.is-error { color: var(--red); background: var(--red-soft); border-color: #f1d6cf; }
.checkout-summary .card-body > .button { width: 100%; margin-top: 18px; }
.checkout-summary .card-body > small { display: block; margin-top: 11px; text-align: center; color: #a4ae96; font-size: 9px; }
.checkout-summary .inline-error { margin-top: 15px; }
.checkout-assurance { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 15px 3px 0; color: #a0af8e; font-size: 9px; }
.checkout-assurance .icon { width: 13px; height: 13px; flex-basis: 13px; }

/* Janelas de confirmação, comprovante e mensagens */
body.modal-open { overflow: hidden; }
.app-dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100svh - 48px); padding: 0; margin: auto; border: 1px solid rgba(255, 255, 255, .5); border-radius: 22px; background: white; color: var(--ink); box-shadow: 0 30px 100px rgba(11, 37, 26, .21); overflow-y: auto; }
.app-dialog::backdrop { background: rgba(12, 31, 24, .42); backdrop-filter: blur(5px); }
.dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 25px 27px 19px; border-bottom: 1px solid #edf0e7; }
.dialog-header h2 { font-size: 21px; font-weight: 650; letter-spacing: -.7px; line-height: 1.25; margin-top: 4px; }
.dialog-header p { margin-top: 7px; color: #91a080; font-size: 11px; }
.dialog-header .icon-button { margin: -6px -6px 0 0; }
.dialog-body { padding: 25px 27px; }
.dialog-body > p { font-size: 12px; line-height: 1.85; color: #82916f; }
.dialog-body > p + p { margin-top: 13px; }
.dialog-body > .inline-error { margin-top: 17px; }
.dialog-body > .field-label { margin-top: 20px; }
.dialog-body .qr-stage { max-width: 350px; margin: 0 auto 18px; }
.dialog-body .qr-code-text { text-align: center; margin: 15px 0; }
.dialog-footer { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; padding: 18px 27px 24px; border-top: 1px solid #edf0e7; }
.dialog-footer .button { min-height: 44px; }
.dialog-note { margin-top: 16px; font-size: 10px; color: #9ca98b; line-height: 1.75; }
.guide-steps { display: grid; gap: 20px; }
.guide-step { display: flex; align-items: flex-start; gap: 13px; }
.guide-step > span:first-child { display: flex; align-items: center; justify-content: center; width: 29px; height: 29px; flex: 0 0 29px; border-radius: 10px; background: var(--lime-soft); color: #708f4b; font-size: 12px; font-weight: 650; }
.guide-step strong, .guide-step h3 { font-size: 12px; font-weight: 650; }
.guide-step p { margin-top: 5px; color: #94a084; font-size: 11px; line-height: 1.8; }
.receipt { font-size: 12px; }
.receipt-success { text-align: center; padding: 3px 0 22px; }
.receipt-success > .icon, .receipt-success > .round-icon { display: flex; width: 49px; height: 49px; padding: 12px; background: var(--lime); color: #557938; border-radius: 50%; margin: 0 auto 15px; }
.receipt-success h3 { font-size: 21px; font-weight: 650; letter-spacing: -.6px; }
.receipt-success p { margin-top: 7px; font-size: 11px; color: #96a582; line-height: 1.7; }
.receipt-lines { margin-top: 18px; border-top: 1px dashed #e0e7d4; border-bottom: 1px dashed #e0e7d4; padding: 12px 0; }
.receipt-lines > div { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; padding: 9px 0; }
.receipt-lines small { display: block; font-size: 10px; color: #9ba888; margin-top: 3px; }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 0; font-size: 13px; font-weight: 600; }
.receipt-total strong { font-size: 28px; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.receipt-meta { display: grid; gap: 11px; font-size: 10px; color: #93a17e; }
.receipt-meta > div { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.receipt-meta strong { font-weight: 580; color: #758a5f; text-align: right; }
.receipt .balance-note { font-size: 12px; }
.receipt .demo-pill { margin-top: 15px; }
.toast-region { position: fixed; z-index: 200; bottom: 25px; right: 25px; display: flex; flex-direction: column; gap: 10px; width: min(400px, calc(100vw - 32px)); pointer-events: none; }
.toast { display: flex; align-items: flex-start; gap: 10px; padding: 15px 17px; background: var(--forest); color: #f1f8e8; font-size: 12px; line-height: 1.7; border: 1px solid rgba(219, 244, 155, .15); border-radius: 13px; box-shadow: 0 8px 30px rgba(20, 48, 29, .14); pointer-events: auto; animation: toast-in .2s ease-out; }
.toast .icon { width: 19px; height: 19px; flex-basis: 19px; margin-top: 2px; color: var(--lime); }
.toast-error, .toast.is-error { background: #733b33; border-color: #ae7566; }
.toast-error .icon, .toast.is-error .icon { color: #ffd5cb; }
.toast > div, .toast > span { flex: 1; }
.toast .icon-button { color: inherit; min-height: 25px; min-width: 25px; padding: 2px; }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.noscript-message { position: fixed; bottom: 0; left: 0; right: 0; padding: 18px; z-index: 300; color: var(--red); background: #fff0e9; font-weight: 600; text-align: center; }

/* Componentes específicos dos templates dos três perfis. */
.button-full { width: 100%; }
.pill > .icon { width: 11px; height: 11px; flex-basis: 11px; }
.nav-link.active { background: var(--lime); color: var(--forest); font-weight: 670; }
.nav-active-dot { width: 5px; height: 5px; background: var(--forest); border-radius: 50%; margin-left: auto; }
.card-heading .section-title { margin-bottom: 0; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.card-footer .button { width: auto; flex-shrink: 0; }
.small-note { display: flex; align-items: center; gap: 7px; font-size: 9px; line-height: 1.7; color: #9aaa8b; }
.small-note .icon { width: 13px; height: 13px; flex-basis: 13px; }
.avatar-large { width: 42px; height: 42px; flex-basis: 42px; }
.employee-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin: 22px 0 25px; }
.employee-metrics small { display: block; font-size: 9px; color: #97a48a; }
.employee-metrics strong { display: block; font-size: 16px; font-weight: 620; letter-spacing: -.5px; margin-top: 6px; }
.usage-heading { display: flex; justify-content: space-between; align-items: center; gap: 13px; font-size: 10px; color: #9ba88d; }
.usage-heading strong { font-size: 10px; font-weight: 580; color: #80966a; }
.usage-heading + .usage-progress { margin-top: 10px; margin-bottom: 4px; }
.connection-card { padding: 26px 23px; border: 1px solid #e1e6ce; border-radius: var(--radius); background: #edf2df; }
.connection-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: #dfeac5; color: #789359; margin-bottom: 22px; }
.connection-icon .icon { width: 23px; height: 23px; }
.connection-card .eyebrow { font-size: 8px; color: #819866; }
.connection-card h2 { font-size: 25px; font-weight: 570; line-height: 1.22; letter-spacing: -1px; margin-top: 10px; }
.connection-card > p:not(.eyebrow) { font-size: 10px; line-height: 1.8; color: #92a27a; margin-top: 12px; }
.connection-card > small { display: block; font-size: 8px; color: #93a579; margin-top: 18px; line-height: 1.7; }
.panel-links { display: grid; gap: 10px; margin-top: 24px; }
.panel-link { display: flex; align-items: center; gap: 10px; padding: 12px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .8); border-radius: 11px; transition: background .18s; }
.panel-link:hover { background: #fff; }
.panel-link > span:nth-child(2) { flex: 1; }
.panel-link .round-icon { width: 33px; height: 33px; flex-basis: 33px; border-radius: 9px; background: #e7efda; color: #93a874; }
.panel-link .round-icon .icon { width: 17px; height: 17px; }
.panel-link strong { display: block; font-size: 10px; font-weight: 650; }
.panel-link small { display: block; font-size: 8px; color: #9aac87; margin-top: 3px; }
.panel-link > .icon { width: 15px; height: 15px; flex-basis: 15px; color: #a2b18d; }
.quiet-note { display: flex; align-items: flex-start; gap: 9px; color: #98a88a; font-size: 10px; line-height: 1.85; padding: 0 4px; }
.quiet-note .icon { width: 15px; height: 15px; flex-basis: 15px; margin-top: 3px; color: #a1b08f; }
.range-field { margin-top: 23px; }
.range-field input[type='range'] { margin-top: 1px; }
.range-labels strong { font-weight: 600; color: #8ca46e; }
.benefit-rule, .reset-notice { display: flex; align-items: flex-start; gap: 10px; padding: 16px; border-radius: 11px; background: #f5f8ee; margin: 23px 0; font-size: 10px; line-height: 1.8; color: #94a57d; }
.benefit-rule .icon, .reset-notice .icon { width: 17px; height: 17px; flex-basis: 17px; margin-top: 1px; }
.benefit-rule strong { color: #769358; }
.benefit-form .form-actions { justify-content: flex-start; align-items: center; gap: 18px; margin-top: 25px; }
.benefit-form .form-actions .small-note { max-width: 170px; font-size: 9px; }
section.benefit-preview { display: block; margin: 0; padding: 26px; background: var(--forest); color: white; border-color: var(--forest); border-radius: var(--radius); }
.benefit-preview .preview-icon { display: flex; align-items: center; justify-content: center; width: 39px; height: 39px; background: rgba(219, 244, 155, .1); color: var(--lime); border-radius: 12px; margin-bottom: 28px; }
.benefit-preview .preview-icon .icon { width: 21px; height: 21px; }
.benefit-preview .eyebrow { color: #a6c094; font-size: 8px; }
.benefit-preview h2 { font-size: 12px; font-weight: 450; margin-top: 12px; color: #adbf9d; }
.benefit-preview .preview-amount { display: block; color: var(--lime); font-size: 37px; font-weight: 530; line-height: 1.2; margin-top: 9px; letter-spacing: -1.6px; overflow-wrap: anywhere; }
.preview-divider { height: 1px; background: rgba(219, 244, 155, .12); margin: 27px 0 22px; }
.preview-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; }
.preview-row span { font-size: 10px; color: #a1b28f; }
.preview-row strong { font-size: 14px; font-weight: 500; color: #d7e3c9; letter-spacing: -.3px; }
.preview-row.preview-available strong { color: var(--lime); }
.benefit-preview .preview-footnote { font-size: 9px; color: #8a9e7b; line-height: 1.8; margin-top: 24px; }
.wallet-main { display: flex; flex-direction: column; min-width: 0; gap: 19px; }
.wallet-main .wallet-card { flex: 1; min-height: 348px; }
.wallet-brand { font-size: 23px; font-weight: 700; letter-spacing: -.9px; }
.wallet-brand > span { color: var(--lime); }
.wallet-balance > p { font-size: 11px; color: #acbf9f; }
.wallet-amount { display: block; }
.wallet-balance > span { display: block; margin-top: 8px; font-size: 10px; color: #8ea37e; }
.wallet-bottom { margin-top: 22px; padding-top: 17px; border-top: 1px solid rgba(219, 244, 155, .12); display: flex; justify-content: space-between; gap: 15px; color: #abc393; font-size: 9px; }
.partner-banner { display: flex; align-items: center; gap: 14px; padding: 19px 22px; }
.partner-banner .partner-meta { margin-top: 0; flex: 1; gap: 4px; }
.partner-banner .partner-meta h2 { font-size: 13px; }
.partner-banner .partner-meta p { font-size: 9px; color: #8f9f7c; }
.partner-banner .eyebrow { font-size: 7px; letter-spacing: 1px; }
.partner-banner .button { width: auto; margin-top: 0; font-size: 9px; min-height: 37px; }
.partner-banner .partner-logo { width: 43px; height: 43px; flex-basis: 43px; border-radius: 12px; }
.partner-banner .partner-logo .icon { width: 23px; height: 23px; }
.qr-heading-icon { display: inline-flex; align-items: center; justify-content: center; width: 31px; height: 31px; margin-bottom: 9px; color: #b5c59a; background: #f4f7ed; border-radius: 10px; }
.qr-heading-icon .icon { width: 17px; height: 17px; }
.qr-heading p { margin-top: 7px; font-size: 10px; line-height: 1.75; color: #92a281; }
.qr-card .qr-stage { max-width: 195px; margin-top: 16px; margin-bottom: 12px; }
.qr-text-area { margin-top: 20px; padding-top: 17px; border-top: 1px solid #edf1e5; }
.qr-text-area > span { display: block; font-size: 8px; color: #acb69b; }
.qr-text-area .qr-code-text { display: block; margin-top: 8px; font-size: 8px; line-height: 1.8; }
.qr-text-area .text-button { font-size: 9px; color: #91a278; padding: 8px 0 0; }
.qr-text-area .text-button .icon { width: 12px; height: 12px; flex-basis: 12px; }
.qr-footer { display: flex; justify-content: center; align-items: flex-start; gap: 5px; font-size: 8px; line-height: 1.75; color: #abb797; margin: 15px -4px 0; }
.qr-footer .icon { width: 11px; height: 11px; flex-basis: 11px; margin-top: 2px; }
.wallet-details { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 24px; padding: 18px 23px; background: #eef2e5; border: 1px solid #e5ead8; border-radius: 13px; }
.wallet-allocation { display: flex; align-items: center; gap: 11px; }
.allocation-icon { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #e2eace; color: #91a875; }
.allocation-icon .icon { width: 18px; height: 18px; }
.wallet-allocation strong { font-size: 10px; font-weight: 570; color: #829767; }
.wallet-allocation p { font-size: 9px; color: #9eae8b; margin-top: 3px; }
.allocation-progress { min-width: 180px; width: 29%; }
.allocation-progress .usage-heading { font-size: 8px; }
.allocation-progress .usage-heading strong { font-size: 8px; }
.allocation-progress .usage-progress { height: 5px; background: #dfe8cf; }
.partner-hero { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--forest); color: #fff; border-radius: var(--radius); padding: 34px; gap: 40px; margin-bottom: 30px; }
.partner-hero-identity { position: relative; }
.partner-logo-large { width: 58px; height: 58px; border-radius: 15px; background: rgba(219, 244, 155, .11); color: var(--lime); margin-bottom: 17px; }
.partner-hero .pill { position: absolute; right: 0; top: 9px; font-size: 7px; }
.partner-hero h2 { font-size: 31px; letter-spacing: -1px; font-weight: 600; }
.partner-hero-identity > p { margin-top: 9px; color: #b2c49e; font-size: 11px; line-height: 1.75; max-width: 320px; }
.partner-category { display: inline-block; margin-top: 16px; font-size: 9px; color: #96ad7f; }
.partner-hero-info { display: grid; gap: 23px; align-content: center; border-left: 1px solid rgba(219, 244, 155, .12); padding-left: 33px; }
.partner-hero-info > div { display: flex; align-items: flex-start; gap: 12px; }
.partner-hero-info .icon { color: #a2b988; width: 18px; height: 18px; flex-basis: 18px; }
.partner-hero-info span { display: block; color: #829c6b; font-size: 9px; }
.partner-hero-info strong { display: block; font-size: 10px; font-weight: 500; color: #bccdaa; line-height: 1.75; margin-top: 4px; }
.section-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.section-intro h2 { font-size: 18px; font-weight: 620; letter-spacing: -.5px; margin-top: 5px; }
.section-intro .pill { color: #9eac8c; background: #edf1e6; font-size: 8px; }
.partner-products.products-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; gap: 23px; }
.product-showcase .product-art { height: 195px; }
.product-showcase .product-info { padding: 23px; }
.product-showcase .product-info h3 { font-size: 17px; }
.product-showcase .product-info p { min-height: 0; font-size: 11px; }
.product-tag { display: block; color: #a7b097; font-size: 7px; letter-spacing: 1px; font-weight: 650; margin-bottom: 6px; }
.product-price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 20px; }
.product-price-row .product-price { font-size: 22px; margin-top: 0; }
.product-price-row > span { font-size: 9px; color: #a6b095; }
.product-art-icon { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; width: 67px; height: 67px; border-radius: 20px; border: 1px solid rgba(160, 151, 79, .18); background: rgba(255, 255, 255, .37); transform: rotate(-9deg); box-shadow: 0 9px 0 -4px rgba(169, 158, 102, .065); }
.product-art-icon .icon { width: 35px; height: 35px; stroke-width: 1.5; }
.product-art-cleaning, .product-card:nth-child(2) .product-art { background: #eee9f5; color: #9482b0; }
.product-art-cleaning .product-art-icon { transform: rotate(9deg); border-color: rgba(151, 129, 178, .18); }
.product-art-orbit { position: absolute; width: 135px; height: 135px; border: 1px dashed rgba(150, 141, 92, .17); border-radius: 50%; transform: rotate(27deg); }
.product-art-shape { position: absolute; width: 10px; height: 10px; border-radius: 3px; background: rgba(173, 159, 99, .18); }
.shape-one { left: 26%; top: 24%; transform: rotate(-20deg); }
.shape-two { right: 23%; bottom: 22%; width: 7px; height: 7px; transform: rotate(22deg); }
.product-art-cleaning .product-art-shape { background: rgba(163, 141, 190, .19); }
.product-art-dot { width: 5px; height: 5px; border-radius: 50%; background: #cec4a1; position: absolute; top: 20%; right: 30%; }
.product-art-cleaning .product-art-dot { background: #cebfdf; }
.product-showcase .product-art-icon { width: 83px; height: 83px; border-radius: 24px; }
.product-showcase .product-art-icon .icon { width: 46px; height: 46px; }
.product-showcase .product-art-orbit { width: 162px; height: 162px; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.product-bottom .product-price { margin-top: 0; font-size: 15px; white-space: nowrap; }
.product-bottom .quantity-control { margin-top: 0; }
.product-disabled .product-art { opacity: .67; }
.product-card.selected { border-color: #a3b97c; box-shadow: 0 0 0 1px #cadbb1; }
.partner-callout { display: flex; align-items: center; gap: 13px; padding: 22px; background: #edf3df; border: 1px solid #e0eacc; border-radius: 14px; margin-top: 24px; }
.partner-callout > .icon { color: #a1b880; }
.partner-callout p { font-size: 12px; color: #8c9f73; line-height: 1.8; flex: 1; }
.partner-callout strong { color: #5d7c40; }
.partner-callout .button { font-size: 10px; }
.history-stats { display: flex; align-items: center; gap: 45px; padding: 22px 24px; margin-bottom: 25px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.history-stats > div { display: flex; align-items: center; gap: 14px; flex: 1; }
.history-stat-icon { width: 37px; height: 37px; flex: 0 0 37px; display: flex; align-items: center; justify-content: center; border-radius: 11px; color: #97ad7c; background: #f0f6e7; }
.history-stat-icon .icon { width: 18px; height: 18px; }
.history-stats small { display: block; font-size: 10px; color: #99a88a; }
.history-stats strong { display: block; font-size: 21px; font-weight: 620; letter-spacing: -.6px; margin-top: 3px; }
.history-search { padding: 0 24px 20px; }
.history-search .input-shell { background: #fbfcf8; }
.history-search input { font-size: 11px; }
.transaction-list { padding: 0 24px 21px; }
.card-body .transaction-list { padding: 0; }
button.transaction-row { width: 100%; border: 0; border-bottom: 1px solid #edf1e4; background: #fff; text-align: left; font-family: inherit; }
button.transaction-row:hover { background: #fafcf6; }
button.transaction-row:last-child { border-bottom: 0; }
.transaction-arrow { width: 14px; height: 14px; flex-basis: 14px; color: #bac5a9; }
.transaction-amount small .icon { width: 9px; height: 9px; flex-basis: 9px; }
.empty-icon { display: flex; justify-content: center; align-items: center; width: 47px; height: 47px; background: #f4f7ee; color: #bdcaaa; border-radius: 14px; margin: 0 auto 16px; }
.empty-icon .icon { width: 24px; height: 24px; }
.checkout-step.active { color: #587144; font-weight: 650; }
.checkout-step.active > .step-number { background: var(--lime); border-color: var(--lime); color: var(--forest); }
.checkout-step.is-complete > .step-number { background: #edf4e1; border-color: #dfeac9; color: #84a260; }
.checkout-steps:has(.is-active) .checkout-step.active:not(.is-active):not(.is-complete) { color: #a5af9c; font-weight: 400; }
.checkout-steps:has(.is-active) .checkout-step.active:not(.is-active):not(.is-complete) > .step-number { background: #fff; border-color: #e6ebdd; color: inherit; }
.section-number { color: #b6c1a6; font-size: 11px; font-variant-numeric: tabular-nums; }
.scanner-symbol { position: relative; background: transparent; }
.scanner-symbol > .icon { width: 33px; height: 33px; }
.scanner-corner { position: absolute; width: 13px; height: 13px; border: solid #c9d6b5; }
.corner-tl { top: 0; left: 0; border-width: 2px 0 0 2px; border-top-left-radius: 5px; }
.corner-tr { top: 0; right: 0; border-width: 2px 2px 0 0; border-top-right-radius: 5px; }
.corner-bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; border-bottom-left-radius: 5px; }
.corner-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; border-bottom-right-radius: 5px; }
.scanner-actions label { cursor: pointer; }
.camera-area p { color: #bfd2a7; font-size: 10px; margin: 0 12px 16px; }
.camera-overlay { position: absolute; top: 15%; left: 25%; right: 25%; height: 45%; border: 2px solid var(--lime); border-radius: 15px; pointer-events: none; }
.manual-entry { padding-top: 0; border-top: 0; }
.divider-label { display: flex; align-items: center; gap: 12px; margin: 17px 0; color: #b1bca1; font-size: 8px; }
.divider-label::before, .divider-label::after { content: ''; height: 1px; background: #edf1e5; flex: 1; }
.manual-entry .field-label { font-size: 10px; font-weight: 550; color: #8d9e79; }
.manual-input-row { display: flex; align-items: center; gap: 9px; }
.manual-input-row input, .plain-input { width: 100%; height: 45px; padding: 0 12px; border: 1px solid #e0e7d7; border-radius: 9px; font-size: 11px; background: #fff; }
.manual-input-row .button { width: auto; margin: 0; min-height: 45px; flex-shrink: 0; font-size: 9px; padding: 11px; }
.manual-input-row .button .icon { width: 13px; height: 13px; flex-basis: 13px; }
#identified-client { padding: 0; border: 0; background: transparent; }
.customer-label { display: flex; align-items: center; gap: 4px; font-size: 7px; font-weight: 650; letter-spacing: .3px; color: #95ac76; margin-bottom: 5px; }
.customer-label .icon { width: 10px; height: 10px; flex-basis: 10px; }
.customer-card > .icon-button { min-width: 27px; min-height: 30px; padding: 4px; }
.customer-card > .icon-button .icon { width: 14px; height: 14px; flex-basis: 14px; }
.cart-line { gap: 10px; align-items: center; }
.cart-line > div { flex: 1; }
.cart-line > strong { font-size: 11px; flex-shrink: 0; }
.cart-line-icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px; background: #f4f6eb; color: #a2af8b; }
.cart-line-icon .icon { width: 14px; height: 14px; }
.cart-empty > strong { display: block; font-size: 11px; font-weight: 580; color: #92a57c; margin-bottom: 5px; }
.cart-empty p { font-size: 10px; line-height: 1.85; }
.cart-totals .cart-total { font-size: 12px; color: var(--ink); }
.cart-totals .cart-total strong { color: var(--ink); }
.cart-totals .balance-note { align-items: center; justify-content: flex-start; gap: 9px; margin-top: 3px; }
.cart-totals .balance-note .icon { width: 18px; height: 18px; flex-basis: 18px; }
.balance-note > div > span { display: block; font-size: 9px; }
.balance-note > div > strong { display: block; font-size: 17px; letter-spacing: -.4px; margin-top: 2px; }
.balance-note.balance-insufficient { background: var(--red-soft); border-color: #f1d6cf; color: #b17864; }
.balance-insufficient > div > strong { color: var(--red); }
.cart-footnote { display: flex; align-items: flex-start; justify-content: center; gap: 5px; margin-top: 12px; font-size: 8px; color: #a3b092; line-height: 1.8; text-align: center; }
.cart-footnote .icon { width: 11px; height: 11px; flex-basis: 11px; margin-top: 2px; }
.cart-demo-note { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 14px 20px; background: #fafbf7; border-top: 1px solid #edf1e5; color: #a2ae90; font-size: 8px; }
.cart-demo-note .icon { width: 11px; height: 11px; flex-basis: 11px; }
.receipt-brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 27px; }
.receipt-brand .brand { font-size: 25px; gap: 0; }
.receipt-success > span { display: flex; justify-content: center; align-items: center; width: 45px; height: 45px; margin: 0 auto 15px; border-radius: 50%; background: var(--lime); color: #668640; }
.receipt-success > span .icon { width: 22px; height: 22px; }
.receipt-balance { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px; background: #f2f7e8; border: 1px solid #e8efd9; color: #8ba273; border-radius: 10px; font-size: 10px; }
.receipt-balance strong { font-size: 16px; letter-spacing: -.4px; color: #6a884e; }
.receipt-disclaimer { font-size: 9px; text-align: center; color: #a8b297; margin-top: 21px; }
.confirm-customer { display: flex; align-items: center; gap: 11px; padding: 15px; border: 1px solid #e5ebdc; border-radius: 12px; background: #fafbf7; margin-top: 21px; }
.confirm-customer strong { display: block; font-size: 12px; font-weight: 620; }
.confirm-customer small { display: block; color: #9aaa8b; font-size: 10px; margin-top: 4px; }
.dialog-body .quiet-note { margin-top: 21px; }
.dialog-body .guide-steps { margin-top: 24px; }
.guide-step > span.guide-step-icon { position: relative; width: 39px; height: 39px; flex-basis: 39px; border-radius: 12px; color: #90a977; }
.guide-step-icon .icon { width: 18px; height: 18px; }
.guide-step-icon small { position: absolute; bottom: -4px; right: -4px; width: 17px; height: 17px; border: 2px solid white; display: flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 700; border-radius: 50%; background: var(--forest); color: var(--lime); }
.guide-access { background: #f5f8ee; padding: 19px; border-radius: 12px; margin-top: 25px; }
.guide-access > strong { font-size: 12px; font-weight: 620; }
.guide-access p { font-size: 10px; color: #98a787; margin-top: 5px; }
.guide-access > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.guide-access .button { min-height: 37px; font-size: 9px; padding: 9px 11px; }
.guide-access .button .icon { width: 13px; height: 13px; flex-basis: 13px; }
.expanded-qr { display: flex; justify-content: center; align-items: center; margin: 22px auto 15px; padding: 0 20px; }
.qr-owner { text-align: center; padding: 0 24px; }
.qr-owner strong { display: block; font-size: 17px; font-weight: 620; }
.qr-owner span { display: block; font-size: 11px; color: #8fa27a; margin-top: 5px; }
#dialog-content > .muted { font-size: 12px; color: #91a27d; line-height: 1.8; padding: 21px 27px 0; text-align: center; }
#dialog-content > .qr-code-text { display: block; padding: 0 27px; text-align: center; font-size: 10px; margin-top: 20px; }
.dialog-actions { display: flex; align-items: center; justify-content: center; gap: 11px; flex-wrap: wrap; padding: 24px 27px 28px; }
.clipboard-input { position: fixed; top: 0; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.page-heading p:not(.eyebrow) { font-size: 13px; color: #7c8c73; }
.card-heading p { font-size: 11px; color: #849279; }
.kpi-label { font-size: 12px; color: #819075; }
.kpi-note { font-size: 10px; color: #8a997c; }
.role-option small { font-size: 10px; color: #87947f; }
.demo-credentials { font-size: 11px; }
.field-help { color: #809273; }
.scanner-placeholder p { font-size: 11px; color: #839675; }
.qr-heading p { font-size: 11px; color: #829471; }
.transaction-info strong { font-size: 12px; }
.transaction-info small, .transaction-info p { font-size: 10px; color: #8e9f7d; }
.transaction-amount small { color: #8ca174; }
.empty-state p { font-size: 11px; color: #8b9d78; }
.checkout-step { font-size: 11px; }
.manual-entry .field-label { font-size: 11px; }
.product-info p { color: #8a9a78; }
.product-tag { color: #92a27e; font-size: 8px; }
.dialog-body > p { color: #748667; }
.guide-step p { color: #839777; }
.cart-footnote, .qr-footer { color: #91a17c; }
.small-note { color: #8a9e74; }

/* Telas menores */
@media (min-width: 1600px) {
  .login-story { padding-left: 85px; padding-right: 70px; }
  .story-content { max-width: 520px; }
  .card-scene { margin-top: 40px; }
  .login-form-wrap { max-width: 470px; }
  .dashboard { padding-top: 43px; }
}
@media (max-width: 1200px) {
  .login-story { padding: 34px 38px 25px; }
  .story-content h1 { font-size: 43px; letter-spacing: -2px; }
  .login-form-panel { padding: 28px 34px 23px; }
  .sidebar { width: 226px; padding-left: 18px; padding-right: 18px; }
  .sidebar-top { gap: 7px; }
  .sidebar-top .brand { font-size: 21px; }
  .sidebar-top .brand-mark { width: 27px; height: 27px; }
  .sidebar-demo { font-size: 6px; padding: 3px 4px; }
  .app-main { margin-left: 226px; }
  .dashboard { padding: 28px 24px 18px; }
  .topbar { padding: 0 24px; }
  .app-footer { padding-left: 24px; padding-right: 24px; }
  .content-grid, .checkout-layout { grid-template-columns: minmax(0, 1.35fr) minmax(260px, 1fr); gap: 18px; }
  .wallet-grid { grid-template-columns: minmax(0, 1.25fr) minmax(250px, 1fr); gap: 18px; }
  .wallet-card { padding: 24px; }
  .wallet-amount { font-size: 39px; }
  .kpi-grid { gap: 13px; }
  .kpi-card { padding: 18px; }
  .kpi-icon { right: 17px; top: 17px; width: 29px; height: 29px; }
  .kpi-value { font-size: 22px; }
  .card-heading { padding-left: 20px; padding-right: 20px; }
  .card-body { padding-left: 20px; padding-right: 20px; }
  .checkout-step { font-size: 9px; gap: 6px; }
  .checkout-steps { padding: 14px; gap: 7px; }
  .step-connector { width: 14px; flex-basis: 14px; }
  .product-art { height: 110px; }
  .product-info { padding: 13px; }
}
@media (max-width: 1050px) and (min-width: 901px) {
  .content-grid, .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .side-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .side-column > :only-child { grid-column: 1 / -1; }
  .heading-actions .button { font-size: 10px; padding: 10px; }
}
@media (max-width: 900px) {
  .login-screen { grid-template-columns: 1fr; }
  .login-story { display: none; }
  .login-form-panel { min-height: 100svh; padding: 26px 28px 23px; }
  .login-form-wrap { padding-top: 30px; padding-bottom: 30px; }
  .mobile-brand { display: inline-flex; margin-bottom: 31px; font-size: 25px; }
  .login-topline { width: 100%; max-width: 600px; align-self: center; }
  .login-form-wrap h2 { font-size: 33px; }
  .login-bottom { max-width: 600px; width: 100%; margin: 0 auto; }
  .sidebar { width: 256px; transform: translateX(-100%); transition: transform .2s ease; box-shadow: none; }
  .sidebar.is-open { transform: translateX(0); box-shadow: 8px 0 40px rgba(9, 35, 23, .15); }
  .sidebar-top .brand { font-size: 24px; }
  .sidebar-top .brand-mark { width: 31px; height: 31px; }
  .sidebar-demo { font-size: 7px; }
  .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 34; background: rgba(13, 32, 24, .38); border: 0; padding: 0; width: 100%; height: 100%; }
  .mobile-menu { display: inline-flex; margin-left: -8px; }
  .app-main { margin-left: 0; }
  .topbar { height: 70px; }
  .dashboard { padding-top: 26px; }
  .page-heading h1 { font-size: 27px; }
  .content-grid { gap: 18px; }
  .checkout-layout { grid-template-columns: minmax(0, 1.3fr) minmax(250px, 1fr); }
  .wallet-grid { grid-template-columns: minmax(0, 1.25fr) minmax(250px, 1fr); }
}
@media (max-width: 740px) {
  .content-grid, .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .heading-actions { gap: 7px; }
  .side-column { display: flex; }
  .page-heading { align-items: flex-start; }
  .heading-actions .button { min-height: 39px; padding: 10px 11px; font-size: 10px; }
  .wallet-card { min-height: 315px; }
  .wallet-meta { gap: 9px; }
  .wallet-meta strong { font-size: 10px; }
}
@media (max-width: 640px) {
  html { min-width: 320px; }
  .login-form-panel { padding: 20px 22px 23px; }
  .login-topline .demo-pill { font-size: 8px; }
  .login-topline .text-button { font-size: 9px; }
  .login-form-wrap { max-width: 438px; padding: 34px 0; }
  .mobile-brand { margin-bottom: 27px; }
  .login-form-wrap h2 { font-size: 31px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.45px; }
  .intro-text { font-size: 12px; }
  .role-picker { gap: 8px; margin-top: 27px; margin-bottom: 23px; }
  .role-option { min-height: 106px; padding: 15px 10px 12px; }
  .role-option strong { font-size: 11px; }
  .role-option small { font-size: 8px; line-height: 1.65; }
  .role-tick { right: 8px; top: 10px; width: 13px; height: 13px; }
  .field-label { font-size: 12px; }
  .input-shell { min-height: 50px; }
  .input-shell input { height: 48px; font-size: 16px; }
  .login-assurance { font-size: 8px; }
  .login-bottom { font-size: 8px; }
  .login-bottom > span { font-size: 7px; }
  .topbar { height: 64px; padding: 0 18px; }
  .topbar-location { gap: 8px; font-size: 10px; }
  .breadcrumb-root, .breadcrumb-slash { display: none; }
  .topbar-actions { gap: 11px; }
  .topbar-actions .demo-pill { font-size: 8px; min-height: 22px; padding: 4px 7px; }
  .sync-status { font-size: 8px; gap: 5px; }
  .sync-status .icon { display: none; }
  .dashboard { padding: 25px 18px 15px; }
  .page-heading { display: block; margin-bottom: 22px; }
  .page-heading h1 { font-size: 26px; letter-spacing: -.9px; }
  .page-heading p:not(.eyebrow) { font-size: 11px; max-width: 360px; }
  .heading-actions { margin-top: 16px; }
  .heading-actions .button { min-height: 44px; font-size: 11px; }
  .button { min-height: 46px; }
  .button-small { min-height: 44px; }
  .icon-button { min-width: 44px; min-height: 44px; }
  .kpi-grid, .metric-grid { grid-template-columns: 1fr; gap: 11px; margin-bottom: 20px; }
  .kpi-card, .metric-card { padding: 16px 19px; border-radius: 14px; }
  .kpi-label { font-size: 10px; }
  .kpi-value { font-size: 24px; margin-top: 7px; }
  .kpi-note { margin-top: 7px; font-size: 9px; }
  .kpi-icon { top: 18px; right: 19px; width: 35px; height: 35px; }
  .content-grid, .checkout-layout, .wallet-grid { gap: 19px; }
  .main-column, .side-column, .checkout-main { gap: 19px; }
  .card, .partner-card, .qr-card, .wallet-card, .scanner-card { border-radius: 17px; }
  .card-heading { padding: 21px 19px 18px; }
  .card-heading h2, .card-heading h3 { font-size: 14px; }
  .card-body { padding: 0 19px 21px; }
  .card-footer { padding: 15px 19px; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .form-grid .input-shell input { font-size: 16px; height: 48px; }
  .benefit-preview { margin-top: 19px; padding: 16px; }
  .benefit-preview strong { font-size: 25px; }
  .employee-row { padding: 14px; gap: 10px; }
  .employee-row .pill { font-size: 8px; padding: 5px 7px; }
  .employee-row .avatar { width: 35px; height: 35px; flex-basis: 35px; }
  .wallet-grid { grid-template-columns: 1fr; margin-bottom: 20px; }
  .wallet-card { min-height: 290px; padding: 26px; }
  .wallet-top { margin-bottom: 27px; }
  .wallet-amount { font-size: 43px; }
  .wallet-meta { padding-top: 25px; }
  .wallet-meta small, .wallet-meta span { font-size: 9px; }
  .wallet-meta strong { font-size: 11px; }
  .qr-card { padding: 23px; }
  .qr-stage { max-width: 240px; margin-top: 17px; margin-bottom: 19px; }
  .qr-actions .button { min-height: 44px; font-size: 10px; padding: 11px 12px; }
  .qr-code-text { font-size: 10px; }
  .partner-card { padding: 21px 19px; }
  .partner-meta { font-size: 11px; }
  .transaction-row { gap: 10px; padding: 15px 0; flex-wrap: wrap; }
  .transaction-info strong { font-size: 11px; }
  .transaction-amount strong { font-size: 12px; }
  .transaction-icon { width: 34px; height: 34px; flex-basis: 34px; border-radius: 10px; }
  .transaction-row .icon-button { min-width: 36px; width: 36px; padding: 8px; }
  .checkout-steps { padding: 15px 13px; gap: 7px; margin-bottom: 20px; }
  .checkout-step { font-size: 9px; gap: 6px; }
  .checkout-step > span:first-child { width: 24px; height: 24px; flex-basis: 24px; }
  .step-connector { display: none; }
  .scanner-placeholder { padding: 24px 15px; }
  .scanner-actions { gap: 9px; }
  .scanner-actions .button { min-height: 44px; padding: 11px 12px; }
  .manual-entry input { font-size: 13px; }
  .manual-entry .button { min-height: 44px; font-size: 11px; }
  .identified-client, .customer-card { padding: 15px; gap: 10px; flex-wrap: wrap; }
  .identified-client .customer-balance, .customer-card .customer-balance { min-width: 100%; text-align: left; padding: 12px 0 0 0; margin-top: 3px; border-top: 1px solid #dfeaca; }
  .products-grid { gap: 12px; }
  .product-art { height: 115px; }
  .product-info { padding: 14px 12px; }
  .product-info h3 { font-size: 11px; }
  .product-info p { font-size: 9px; }
  .product-price { font-size: 17px; margin-top: 13px; }
  .product-info .button { min-height: 44px; font-size: 10px; }
  .product-footer { display: block; }
  .quantity-control { min-height: 44px; margin-top: 12px; }
  .quantity-control button { min-height: 44px; width: 38px; }
  .quantity-control span, .quantity-control output { min-width: 28px; }
  .cart-line { font-size: 12px; }
  .cart-line strong { font-size: 12px; }
  .cart-line small { font-size: 10px; }
  .cart-total > strong { font-size: 29px; }
  .balance-note { font-size: 11px; }
  .app-footer { display: block; font-size: 8px; padding: 20px 18px; line-height: 1.7; }
  .app-footer > span { display: block; }
  .app-footer > span + span { margin-top: 4px; }
  .app-dialog { width: calc(100vw - 24px); max-height: calc(100svh - 32px); border-radius: 18px; }
  .dialog-header { padding: 21px 20px 18px; }
  .dialog-header h2 { font-size: 20px; }
  .dialog-body { padding: 21px 20px; }
  .dialog-footer { padding: 17px 20px 22px; }
  .dialog-footer .button { flex: 1; min-width: 100px; font-size: 11px; }
  .toast-region { bottom: 16px; right: 16px; width: calc(100vw - 32px); }
  .toast { font-size: 11px; padding: 13px 15px; }
}
@media (max-width: 365px) {
  .login-form-panel { padding-left: 17px; padding-right: 17px; }
  .role-option { padding-left: 8px; padding-right: 8px; }
  .role-option strong { font-size: 10px; }
  .role-option small { font-size: 7px; }
  .dashboard { padding-left: 14px; padding-right: 14px; }
  .topbar { padding-left: 14px; padding-right: 14px; }
  .sync-status { font-size: 7px; }
  .wallet-amount { font-size: 37px; }
  .products-grid { grid-template-columns: 1fr; }
  .product-art { height: 135px; }
  .product-info h3 { font-size: 13px; }
  .product-info p { min-height: 0; font-size: 10px; }
  .product-footer { display: flex; }
  .quantity-control { margin-top: 0; }
  .receipt-total strong { font-size: 25px; }
}
@media (max-width: 900px) {
  .product-bottom { gap: 12px; }
  .card-footer .button { width: auto; }
  .wallet-details { gap: 20px; }
  .history-stats { gap: 20px; }
  .history-stats strong { font-size: 19px; }
  .history-stat-icon { width: 32px; height: 32px; flex-basis: 32px; }
}
@media (max-width: 640px) {
  .role-option small { font-size: 9px; }
  .demo-credentials { font-size: 10px; }
  .wallet-main { gap: 17px; }
  .wallet-main .wallet-card { min-height: 320px; }
  .partner-banner { padding: 17px; gap: 10px; flex-wrap: wrap; }
  .partner-banner .partner-meta { min-width: 130px; }
  .partner-banner .button { min-height: 44px; }
  .wallet-details { display: block; padding: 19px; }
  .wallet-allocation strong { font-size: 11px; }
  .wallet-allocation p { font-size: 10px; }
  .allocation-progress { width: 100%; min-width: 0; margin-top: 19px; }
  .allocation-progress .usage-heading, .allocation-progress .usage-heading strong { font-size: 10px; }
  .employee-metrics { gap: 10px; }
  .employee-metrics strong { font-size: 15px; }
  .employee-metrics small { font-size: 9px; line-height: 1.6; }
  .card-footer { flex-wrap: wrap; }
  .card-footer .small-note { font-size: 10px; }
  .card-footer .button { min-height: 44px; }
  .connection-card { padding: 23px; }
  .connection-card > p:not(.eyebrow) { font-size: 11px; }
  .panel-link { padding: 13px; min-height: 66px; }
  .panel-link strong { font-size: 11px; }
  .panel-link small, .connection-card > small { font-size: 9px; }
  .quiet-note { font-size: 11px; }
  .benefit-form .form-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .benefit-form .form-actions .small-note { max-width: none; font-size: 10px; }
  section.benefit-preview { padding: 24px; }
  .preview-row strong { font-size: 16px; }
  .preview-row span { font-size: 11px; }
  .benefit-preview .preview-footnote { font-size: 10px; }
  .partner-hero { grid-template-columns: 1fr; padding: 26px; gap: 26px; margin-bottom: 25px; }
  .partner-hero h2 { font-size: 29px; }
  .partner-hero-info { padding: 23px 0 0; border-left: 0; border-top: 1px solid rgba(219, 244, 155, .12); gap: 21px; }
  .partner-hero-info strong { font-size: 11px; }
  .partner-hero .pill { font-size: 7px; }
  .partner-products.products-grid { gap: 13px; }
  .product-showcase .product-art { height: 145px; }
  .product-showcase .product-art-icon { width: 61px; height: 61px; border-radius: 18px; }
  .product-showcase .product-art-icon .icon { width: 34px; height: 34px; }
  .product-showcase .product-art-orbit { width: 118px; height: 118px; }
  .product-showcase .product-info { padding: 16px 13px; }
  .product-showcase .product-info h3 { font-size: 14px; }
  .product-showcase .product-info p { font-size: 10px; }
  .product-price-row { display: block; margin-top: 15px; }
  .product-price-row .product-price { font-size: 20px; }
  .product-price-row > span { display: block; margin-top: 3px; }
  .partner-callout { padding: 19px; flex-wrap: wrap; gap: 10px; }
  .partner-callout p { font-size: 11px; }
  .partner-callout .button { width: 100%; margin-top: 7px; }
  .history-stats { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 21px; }
  .history-stats > div { gap: 14px; }
  .history-stats strong { font-size: 23px; }
  .history-stats small { font-size: 11px; }
  .history-search { padding-left: 19px; padding-right: 19px; }
  .history-search input { font-size: 12px; }
  .transaction-list { padding: 0 19px 21px; }
  .transaction-row { gap: 9px; }
  .transaction-arrow { display: none; }
  .transaction-reference { display: none; }
  .transaction-info small, .transaction-info p { font-size: 9px; }
  .checkout-step { font-size: 9px; }
  .manual-input-row { align-items: stretch; flex-direction: column; }
  .manual-input-row input { font-size: 13px; min-height: 48px; }
  .manual-input-row .button { width: 100%; min-height: 44px; font-size: 11px; }
  .customer-card { position: relative; padding: 16px; }
  .customer-card > .icon-button { position: absolute; right: 7px; top: 10px; width: 38px; min-height: 44px; }
  .customer-card .customer-info { padding-right: 24px; }
  .customer-label { font-size: 8px; }
  .customer-card .customer-balance { padding-top: 12px; padding-left: 0; }
  .customer-balance strong { font-size: 20px; }
  .product-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .product-bottom .product-price { font-size: 17px; }
  .product-bottom .quantity-control { margin-top: 0; }
  .cart-footnote, .cart-demo-note { font-size: 10px; }
  .cart-totals .balance-note { padding: 15px; }
  .balance-note > div > strong { font-size: 19px; }
  .balance-note > div > span { font-size: 10px; }
  .receipt-brand { gap: 10px; }
  .receipt-brand .brand { font-size: 23px; }
  .receipt-brand .pill { font-size: 8px; }
  .receipt-meta { font-size: 11px; }
  .receipt-balance { display: block; font-size: 11px; }
  .receipt-balance strong { display: block; font-size: 21px; margin-top: 6px; }
  .receipt-disclaimer { font-size: 9px; line-height: 1.8; }
  .guide-access .button { min-height: 44px; font-size: 10px; }
  .guide-access > div { display: grid; }
  .expanded-qr { padding: 0 20px; }
  .dialog-actions { padding: 21px 20px 26px; gap: 10px; }
  .dialog-actions .button { flex: 1; font-size: 11px; }
  .plain-input { font-size: 16px; height: 48px; }
}
@media (max-width: 365px) {
  .partner-products.products-grid { grid-template-columns: 1fr; }
  .partner-banner .button { width: 100%; }
  .employee-metrics { grid-template-columns: 1fr; gap: 14px; }
  .employee-metrics > div { display: flex; align-items: center; justify-content: space-between; gap: 13px; }
  .employee-metrics strong { margin: 0; }
  .product-bottom { flex-direction: row; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  @page { size: A4; margin: 16mm; }
  body.is-printing { background: #fff; color: #111; }
  body.is-printing > :not(.app-dialog) { display: none !important; }
  body.is-printing .app-dialog { display: block !important; position: static; width: 100%; max-width: none; max-height: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
  body.is-printing .app-dialog::backdrop { display: none; }
  body.is-printing .dialog-header .icon-button, body.is-printing .dialog-footer, body.is-printing .receipt-actions { display: none !important; }
  body.is-printing .dialog-header, body.is-printing .dialog-body { padding-left: 0; padding-right: 0; }
  body.is-printing .receipt { break-inside: avoid; }
  body.is-printing .receipt p, body.is-printing .receipt small, body.is-printing .receipt-meta, body.is-printing .receipt-meta strong { color: #444; }
  body.is-printing .receipt-success > .icon { border: 1px solid #ddd; }
  body.is-printing .balance-note { color: #333; border-color: #ddd; background: #fff; }
}
