:root {
  --ps-red: #d93b32;
  --ps-red-dark: #b92924;
  --ps-red-soft: #fff0ee;
  --ps-ink: #1f2328;
  --ps-muted: #777b81;
  --ps-line: #eceae7;
  --ps-bg: #f7f6f3;
  --ps-card: #fff;
  --ps-green: #1c9b66;
  --ps-gold: #d79b23;
  --ps-blue: #3b76d8;
  --ps-radius: 16px;
  --ps-shadow: 0 8px 30px rgba(31, 35, 40, .07);
}

#ps-app, #ps-menu-app, .ps-login-required { color: var(--ps-ink); font-family: Inter, 'Segoe UI', Arial, sans-serif; font-size: 15px; line-height: 1.45; }
#ps-app [hidden], #ps-menu-app [hidden] { display: none !important; }
#ps-app *, #ps-menu-app *, .ps-login-required * { box-sizing: border-box; }
#ps-app button, #ps-app input, #ps-app select, #ps-app textarea { font: inherit; }
.ps-admin-shell { margin-left: -20px; }
.ps-admin-shell #ps-app { height: calc(100vh - 32px); }

.ps-shell { background: var(--ps-bg); display: flex; height: 100%; min-height: 720px; overflow: hidden; position: relative; }
.ps-sidebar { background: #211f1e; color: #fff; display: flex; flex: 0 0 248px; flex-direction: column; padding: 25px 16px 18px; position: relative; z-index: 50; }
.ps-brand { align-items: center; display: flex; gap: 11px; margin: 0 7px 30px; min-width: 0; }
.ps-brand-mark { align-items: center; background: var(--ps-red); border-radius: 11px; display: flex; flex: 0 0 39px; font-family: Manrope, sans-serif; font-size: 22px; font-weight: 800; height: 39px; justify-content: center; transform: rotate(-3deg); }
.ps-brand > div:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.ps-brand strong { font-family: Manrope, sans-serif; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-brand span { color: #928e8a; font-size: 11px; }
.ps-sidebar-close { display: none !important; margin-left: auto; }
.ps-nav { display: flex; flex: 1; flex-direction: column; gap: 3px; overflow-y: auto; scrollbar-width: thin; }
.ps-nav-label { color: #77736f; font-size: 9px; font-weight: 700; letter-spacing: 1.4px; margin: 16px 12px 7px; }
.ps-nav-label:first-child { margin-top: 0; }
.ps-nav-item { align-items: center; background: transparent; border: 0; border-radius: 10px; color: #a9a5a1; cursor: pointer; display: flex; font-size: 13px; font-weight: 500; gap: 11px; min-height: 42px; padding: 0 12px; text-align: left; transition: .18s ease; width: 100%; }
.ps-nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.ps-nav-item.is-active { background: var(--ps-red); color: #fff; box-shadow: 0 6px 16px rgba(217,59,50,.22); }
.ps-nav-item svg { flex: 0 0 auto; }
.ps-nav-item span { flex: 1; }
.ps-nav-item small { color: #77736f; font-size: 8px; letter-spacing: .5px; text-transform: uppercase; }
.ps-nav-item.is-active small { color: rgba(255,255,255,.7); }
.ps-store-status { align-items: center; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.06); border-radius: 11px; display: flex; gap: 10px; margin-top: 15px; padding: 12px; }
.ps-status-dot { background: #49c78c; border: 3px solid rgba(73,199,140,.17); border-radius: 50%; box-sizing: content-box; height: 7px; width: 7px; }
.ps-store-status div { display: flex; flex-direction: column; }
.ps-store-status strong { font-size: 11px; }
.ps-store-status span:last-child { color: #888581; font-size: 9px; }
.ps-workspace { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.ps-topbar { align-items: center; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--ps-line); display: flex; flex: 0 0 67px; justify-content: space-between; padding: 0 28px; }
.ps-topbar-title { align-items: center; display: flex; gap: 12px; }
.ps-topbar-title > div { display: flex; flex-direction: column; }
.ps-topbar-title span { color: var(--ps-muted); font-size: 10px; }
.ps-topbar-title strong { font-family: Manrope, sans-serif; font-size: 15px; }
.ps-topbar-actions { align-items: center; display: flex; gap: 12px; }
.ps-live { align-items: center; background: #eef9f4; border-radius: 20px; color: var(--ps-green); display: flex; font-size: 10px; font-weight: 700; gap: 6px; padding: 6px 10px; }
.ps-live span:first-child { background: currentColor; border-radius: 50%; height: 6px; width: 6px; }
.ps-live.is-syncing span:first-child { animation: ps-pulse .8s infinite alternate; }
.ps-icon-button { align-items: center; background: transparent; border: 0; border-radius: 9px; color: inherit; cursor: pointer; display: inline-flex; height: 36px; justify-content: center; padding: 0; position: relative; width: 36px; }
.ps-icon-button:hover { background: rgba(0,0,0,.05); }
.ps-icon-button i { align-items: center; background: var(--ps-red); border: 2px solid #fff; border-radius: 20px; color: #fff; display: flex; font-size: 8px; font-style: normal; height: 17px; justify-content: center; position: absolute; right: 0; top: -1px; min-width: 17px; }
.ps-user { align-items: center; border-left: 1px solid var(--ps-line); display: flex; gap: 8px; margin-left: 3px; padding-left: 14px; }
.ps-user img { border-radius: 50%; height: 32px; object-fit: cover; width: 32px; }
.ps-user div { display: flex; flex-direction: column; }
.ps-user strong { font-size: 11px; }
.ps-user span { color: var(--ps-muted); font-size: 9px; }
.ps-mobile-menu { display: none; }
.ps-main { flex: 1; overflow: auto; padding: 30px; }
.ps-page-head { align-items: flex-end; display: flex; justify-content: space-between; margin: 0 auto 24px; max-width: 1420px; }
.ps-page-head.is-compact { align-items: center; }
.ps-page-head p { color: var(--ps-red); font-size: 11px; font-weight: 700; letter-spacing: .3px; margin: 0 0 4px; }
.ps-page-head h1 { font-family: Manrope, sans-serif; font-size: clamp(22px, 2.2vw, 31px); letter-spacing: -.7px; margin: 0; }
.ps-button { align-items: center; border: 0; border-radius: 10px; cursor: pointer; display: inline-flex; font-size: 12px; font-weight: 700; gap: 8px; justify-content: center; min-height: 42px; padding: 0 17px; transition: .18s ease; }
.ps-button:disabled { cursor: wait; opacity: .65; }
.ps-button.ps-primary { background: var(--ps-red); box-shadow: 0 7px 18px rgba(217,59,50,.2); color: #fff; }
.ps-button.ps-primary:hover:not(:disabled) { background: var(--ps-red-dark); transform: translateY(-1px); }
.ps-button.ps-secondary { background: #fff; border: 1px solid var(--ps-line); color: var(--ps-ink); }
.ps-button.ps-secondary:hover { border-color: #d6d2ce; }
.ps-text-button { align-items: center; background: transparent; border: 0; color: var(--ps-red); cursor: pointer; display: flex; font-size: 11px; font-weight: 700; gap: 5px; }
.ps-metrics { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); margin: 0 auto 18px; max-width: 1420px; }
.ps-metric { align-items: center; background: var(--ps-card); border: 1px solid var(--ps-line); border-radius: var(--ps-radius); display: flex; gap: 14px; min-height: 118px; padding: 20px; }
.ps-metric-icon { align-items: center; background: #f5f3f0; border-radius: 12px; color: #66625f; display: flex; flex: 0 0 43px; height: 43px; justify-content: center; }
.ps-metric.alert .ps-metric-icon { background: var(--ps-red-soft); color: var(--ps-red); }
.ps-metric > div:last-child { display: flex; flex-direction: column; }
.ps-metric span { color: var(--ps-muted); font-size: 10px; }
.ps-metric strong { font-family: Manrope, sans-serif; font-size: 23px; letter-spacing: -.5px; line-height: 1.25; }
.ps-metric small { color: #aaa5a0; font-size: 9px; }
.ps-dashboard-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.8fr) minmax(280px, .75fr); margin: 0 auto; max-width: 1420px; }
.ps-panel { background: var(--ps-card); border: 1px solid var(--ps-line); border-radius: var(--ps-radius); }
.ps-panel-head { align-items: flex-start; border-bottom: 1px solid var(--ps-line); display: flex; justify-content: space-between; padding: 19px 20px 16px; }
.ps-panel-head h2, .ps-form-section h2, .ps-order-summary h2 { font-family: Manrope, sans-serif; font-size: 14px; margin: 0; }
.ps-panel-head p, .ps-section-title p { color: var(--ps-muted); font-size: 10px; margin: 2px 0 0; }
.ps-order-list { padding: 3px 13px 12px; }
.ps-compact-order { align-items: center; background: transparent; border: 0; border-bottom: 1px solid #f1efec; color: var(--ps-ink); cursor: pointer; display: grid; gap: 12px; grid-template-columns: 48px minmax(120px, 1fr) 100px 50px 75px 18px; padding: 13px 6px; text-align: left; width: 100%; }
.ps-compact-order:last-child { border-bottom: 0; }
.ps-compact-order:hover { background: #fbfaf8; }
.ps-order-number { color: var(--ps-red); font-family: Manrope, sans-serif; font-size: 12px; font-weight: 800; }
.ps-compact-order > span:nth-child(2) { display: flex; flex-direction: column; }
.ps-compact-order > span:nth-child(2) strong, .ps-compact-order > strong { font-size: 11px; }
.ps-compact-order small { color: var(--ps-muted); font-size: 9px; }
.ps-order-time { color: var(--ps-muted); font-size: 9px; }
.ps-status { border-radius: 20px; display: inline-block; font-size: 8px; font-weight: 700; padding: 5px 8px; text-align: center; }
.ps-status.is-new { background: var(--ps-red-soft); color: var(--ps-red); }
.ps-status.is-confirmed { background: #fff6e5; color: #b3770b; }
.ps-status.is-production { background: #fff0df; color: #ca6e16; }
.ps-status.is-ready { background: #eaf8f2; color: var(--ps-green); }
.ps-status.is-delivery { background: #edf3ff; color: var(--ps-blue); }
.ps-status.is-finished { background: #eef0f2; color: #626970; }
.ps-status.is-cancelled { background: #f3f0f0; color: #8e8585; }
.ps-quick-panel { align-self: start; overflow: hidden; }
.ps-quick-panel > button { align-items: center; background: #fff; border: 0; border-bottom: 1px solid var(--ps-line); color: var(--ps-ink); cursor: pointer; display: grid; gap: 11px; grid-template-columns: 38px 1fr 18px; padding: 14px 18px; text-align: left; width: 100%; }
.ps-quick-panel > button:last-child { border-bottom: 0; }
.ps-quick-panel > button:hover { background: #fbfaf8; }
.ps-quick-panel button div { display: flex; flex-direction: column; }
.ps-quick-panel button strong { font-size: 11px; }
.ps-quick-panel button small { color: var(--ps-muted); font-size: 9px; }
.ps-quick-icon { align-items: center; border-radius: 9px; display: flex; height: 36px; justify-content: center; width: 36px; }
.ps-quick-icon.is-red { background: var(--ps-red-soft); color: var(--ps-red); }
.ps-quick-icon.is-gold { background: #fff5de; color: var(--ps-gold); }
.ps-quick-icon.is-green { background: #eaf8f2; color: var(--ps-green); }
.ps-empty { align-items: center; color: var(--ps-muted); display: flex; flex-direction: column; min-height: 260px; justify-content: center; padding: 30px; text-align: center; }
.ps-empty > div { align-items: center; background: #f4f2ef; border-radius: 50%; color: #aaa5a0; display: flex; height: 55px; justify-content: center; margin-bottom: 12px; width: 55px; }
.ps-empty strong { color: var(--ps-ink); font-size: 13px; }
.ps-empty p { font-size: 10px; margin: 4px 0; }
.ps-kanban { display: grid; gap: 12px; grid-template-columns: repeat(5, minmax(220px, 1fr)); margin: 0 auto; max-width: 1600px; min-width: 1160px; }
.ps-kanban-column { background: #eeece9; border-radius: 13px; min-height: 590px; padding: 9px; }
.ps-kanban-column > header { align-items: center; display: flex; gap: 7px; min-height: 38px; padding: 0 5px; }
.ps-kanban-column > header > span { background: #888; border-radius: 50%; height: 7px; width: 7px; }
.ps-kanban-column.is-new > header > span { background: var(--ps-red); }
.ps-kanban-column.is-confirmed > header > span { background: var(--ps-gold); }
.ps-kanban-column.is-production > header > span { background: #e07b1d; }
.ps-kanban-column.is-ready > header > span { background: var(--ps-green); }
.ps-kanban-column.is-delivery > header > span { background: var(--ps-blue); }
.ps-kanban-column > header strong { font-size: 10px; }
.ps-kanban-column > header small { align-items: center; background: #dedbd7; border-radius: 15px; color: #6d6965; display: flex; font-size: 8px; height: 18px; justify-content: center; margin-left: auto; min-width: 18px; }
.ps-kanban-cards { display: flex; flex-direction: column; gap: 7px; }
.ps-order-card { background: #fff; border: 1px solid #e5e2df; border-radius: 10px; box-shadow: 0 2px 4px rgba(31,35,40,.025); color: var(--ps-ink); cursor: pointer; padding: 13px; text-align: left; width: 100%; }
.ps-order-card:hover { border-color: #d2cdc8; box-shadow: 0 6px 16px rgba(31,35,40,.06); transform: translateY(-1px); }
.ps-order-card-head { align-items: center; display: flex; justify-content: space-between; }
.ps-order-card-head strong { color: var(--ps-red); font-family: Manrope, sans-serif; font-size: 11px; }
.ps-order-card-head span { color: var(--ps-muted); font-size: 8px; }
.ps-order-card h3 { font-size: 11px; margin: 10px 0 0; }
.ps-order-card p { color: var(--ps-muted); font-size: 9px; margin: 1px 0 10px; }
.ps-order-card-items { background: #faf9f7; border-radius: 7px; display: flex; flex-direction: column; gap: 7px; padding: 8px; }
.ps-order-card-items span { display: flex; flex-direction: column; font-size: 9px; min-width: 0; }
.ps-order-card-items b { color: #424a59; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-order-card-items small { color: var(--ps-muted); display: -webkit-box; font-size: 8px; line-height: 1.4; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ps-order-card footer { align-items: center; display: flex; justify-content: space-between; padding-top: 10px; }
.ps-order-card footer strong { font-size: 11px; }
.ps-column-empty { align-items: center; border: 1px dashed #d6d2ce; border-radius: 9px; color: #aaa5a0; display: flex; font-size: 9px; justify-content: center; min-height: 72px; }
.ps-order-form { align-items: start; display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) 285px; margin: 0 auto; max-width: 1240px; }
.ps-form-content { display: flex; flex-direction: column; gap: 14px; }
.ps-form-section { padding: 20px; }
.ps-section-title { align-items: center; display: flex; gap: 10px; margin-bottom: 18px; }
.ps-section-title > span { align-items: center; background: var(--ps-red-soft); border-radius: 8px; color: var(--ps-red); display: flex; flex: 0 0 31px; font-size: 11px; font-weight: 800; height: 31px; justify-content: center; }
.ps-fields { display: grid; gap: 12px; }
.ps-fields.two { grid-template-columns: 1fr 1fr; }
.ps-form-section label { display: flex; flex-direction: column; gap: 5px; }
.ps-form-section label > span, .ps-item-row label > span { color: #605d59; font-size: 9px; font-weight: 600; }
.ps-form-section input, .ps-form-section select, .ps-form-section textarea { background: #fff; border: 1px solid #ddd9d5; border-radius: 8px; box-shadow: none; color: var(--ps-ink); min-height: 39px; outline: none; padding: 8px 10px; width: 100%; }
.ps-form-section input:focus, .ps-form-section select:focus, .ps-form-section textarea:focus { border-color: var(--ps-red); box-shadow: 0 0 0 3px rgba(217,59,50,.08); }
.ps-service-options { display: grid; gap: 9px; grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
.ps-service-card { cursor: pointer; }
.ps-service-card input { height: 0 !important; opacity: 0; position: absolute; width: 0 !important; }
.ps-service-card > span { align-items: center; border: 1px solid #ddd9d5; border-radius: 9px; color: #77736f !important; display: flex; flex-direction: row !important; gap: 8px; min-height: 45px; padding: 0 12px; }
.ps-service-card input:checked + span { background: var(--ps-red-soft); border-color: var(--ps-red); color: var(--ps-red) !important; }
.ps-service-card strong { color: var(--ps-ink); font-size: 10px; }
.ps-item-editor { display: flex; flex-direction: column; gap: 9px; }
.ps-item-row { align-items: end; display: grid; gap: 9px; grid-template-columns: minmax(160px, 1fr) 75px 120px 35px; }
.ps-item-row label { display: flex; flex-direction: column; gap: 5px; }
.ps-item-row input { margin: 0; }
.ps-remove-row { align-items: center; background: #f7f5f3; border: 0; border-radius: 8px; color: #98938e; cursor: pointer; display: flex; height: 39px; justify-content: center; width: 35px; }
.ps-remove-row:hover { background: var(--ps-red-soft); color: var(--ps-red); }
.ps-add-row { align-items: center; background: transparent; border: 0; color: var(--ps-red); cursor: pointer; display: flex; font-size: 10px; font-weight: 700; gap: 5px; margin-top: 13px; padding: 0; }
.ps-order-summary { padding: 20px; position: sticky; top: 0; }
.ps-order-summary h2 { border-bottom: 1px solid var(--ps-line); padding-bottom: 14px; }
.ps-summary-items { display: flex; flex-direction: column; gap: 9px; min-height: 120px; padding: 15px 0; }
.ps-summary-items div { display: flex; gap: 10px; justify-content: space-between; }
.ps-summary-items span, .ps-summary-items strong { font-size: 10px; }
.ps-summary-items span { color: #5f5b57; }
.ps-summary-items p { color: var(--ps-muted); font-size: 10px; }
.ps-summary-items article { align-items: flex-start; border-bottom: 1px solid var(--ps-line); display: flex; gap: 12px; justify-content: space-between; padding: 2px 0 10px; }
.ps-summary-items article > span { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.ps-summary-items article strong { color: var(--ps-ink); font-size: 11px; }
.ps-summary-items article small { color: var(--ps-muted); font-size: 9px; line-height: 1.45; }
.ps-summary-items article > b { color: var(--ps-ink); font-size: 11px; white-space: nowrap; }
.ps-selected-product-card { background: #f7f6f7; border: 1px solid #ebe7ea; border-radius: 10px; display: flex; flex-direction: column; gap: 5px; padding: 14px 42px 12px 14px; position: relative; }
.ps-selected-product-card > button { background: transparent; border: 0; color: #9b969c; cursor: pointer; padding: 6px; position: absolute; right: 8px; top: 8px; }
.ps-selected-product-card > strong { color: #3d4555; font-size: 14px; line-height: 1.3; text-transform: uppercase; }
.ps-selected-product-card > p { color: #697182; font-size: 12px; line-height: 1.45; margin: 0; }
.ps-selected-product-card > footer { align-items: center; display: flex; justify-content: space-between; margin-top: 3px; }
.ps-selected-product-card > footer span { color: #4f5664; font-size: 12px; }
.ps-selected-product-card > footer b { color: #3d4555; font-size: 13px; }
.ps-summary-total { align-items: center; border-top: 1px solid var(--ps-line); display: flex; justify-content: space-between; padding: 14px 0; }
.ps-summary-total span { font-size: 10px; }
.ps-summary-total strong { font-family: Manrope, sans-serif; font-size: 18px; }
.ps-submit-order { width: 100%; }
.ps-order-summary > small { color: var(--ps-muted); display: block; font-size: 8px; margin-top: 9px; text-align: center; }
.ps-button-spinner { animation: ps-spin .7s linear infinite; border: 2px solid rgba(255,255,255,.35); border-radius: 50%; border-top-color: #fff; height: 14px; width: 14px; }
.ps-coming-soon, .ps-fatal { align-items: center; display: flex; flex-direction: column; justify-content: center; margin: auto; max-width: 500px; min-height: calc(100vh - 180px); padding: 40px; text-align: center; }
.ps-coming-soon > div, .ps-fatal > div { align-items: center; background: var(--ps-red-soft); border-radius: 18px; color: var(--ps-red); display: flex; height: 68px; justify-content: center; margin-bottom: 17px; width: 68px; }
.ps-coming-soon > span { color: var(--ps-red); font-size: 9px; font-weight: 800; letter-spacing: 1.3px; }
.ps-coming-soon h1, .ps-fatal h2 { font-family: Manrope, sans-serif; font-size: 26px; margin: 5px 0; }
.ps-coming-soon p, .ps-fatal p { color: var(--ps-muted); font-size: 11px; line-height: 1.7; margin: 0 0 20px; }
.ps-drawer-backdrop { background: rgba(19,18,17,.38); inset: 0; position: absolute; z-index: 80; }
.ps-drawer { animation: ps-slide-in .22s ease-out; background: #fff; bottom: 0; box-shadow: -18px 0 40px rgba(31,35,40,.15); display: flex; flex-direction: column; max-width: 430px; position: absolute; right: 0; top: 0; width: 92%; z-index: 90; }
.ps-drawer > header { align-items: center; border-bottom: 1px solid var(--ps-line); display: flex; justify-content: space-between; padding: 19px 21px; }
.ps-drawer > header div { display: flex; flex-direction: column; }
.ps-drawer > header span { color: var(--ps-muted); font-size: 9px; }
.ps-drawer > header h2 { font-family: Manrope, sans-serif; font-size: 19px; margin: 0; }
.ps-drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.ps-customer-card { align-items: center; background: #faf9f7; border-radius: 11px; display: grid; gap: 10px; grid-template-columns: 38px 1fr auto; padding: 12px; }
.ps-avatar { align-items: center; background: #262321; border-radius: 50%; color: #fff; display: flex; font-family: Manrope, sans-serif; font-size: 14px; height: 38px; justify-content: center; width: 38px; }
.ps-customer-card > div:nth-child(2) { display: flex; flex-direction: column; }
.ps-customer-card strong { font-size: 11px; }
.ps-customer-card span:not(.ps-status) { color: var(--ps-muted); font-size: 9px; }
.ps-drawer-meta { border-bottom: 1px solid var(--ps-line); display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); padding: 18px 0; }
.ps-drawer-meta div { display: flex; flex-direction: column; }
.ps-drawer-meta span { color: var(--ps-muted); font-size: 8px; }
.ps-drawer-meta strong { font-size: 10px; }
.ps-drawer-section { border-bottom: 1px solid var(--ps-line); padding: 18px 0; }
.ps-drawer-section h3 { font-family: Manrope, sans-serif; font-size: 11px; margin: 0 0 10px; }
.ps-drawer-item { align-items: flex-start; display: grid; gap: 9px; grid-template-columns: 22px 1fr auto; padding: 7px 0; }
.ps-drawer-item > b { color: var(--ps-red); font-size: 10px; }
.ps-drawer-item > span { display: flex; flex-direction: column; }
.ps-drawer-item strong { font-size: 10px; }
.ps-drawer-item small { color: var(--ps-muted); font-size: 8px; }
.ps-note { background: #fff8e9; border-radius: 8px; color: #795a20; font-size: 10px; margin: 0; padding: 10px; }
.ps-drawer-total { align-items: center; display: flex; justify-content: space-between; padding: 18px 0; }
.ps-drawer-total span { font-size: 11px; font-weight: 700; }
.ps-drawer-total strong { font-family: Manrope, sans-serif; font-size: 21px; }
.ps-drawer > footer { border-top: 1px solid var(--ps-line); display: flex; gap: 9px; justify-content: flex-end; padding: 15px 20px; }
.ps-drawer > footer .ps-primary { flex: 1; }
.ps-toast { align-items: center; animation: ps-toast-in .25s ease-out; background: #252321; border-radius: 11px; bottom: 22px; box-shadow: 0 12px 30px rgba(0,0,0,.2); color: #fff; display: flex; gap: 9px; left: 50%; max-width: 480px; padding: 12px 13px; position: absolute; transform: translateX(-50%); width: max-content; z-index: 120; }
.ps-toast > svg { color: #64d6a3; }
.ps-toast.is-error > svg { color: #ff837c; }
.ps-toast span { font-size: 10px; }
.ps-toast button { background: transparent; border: 0; color: #aaa5a0; cursor: pointer; display: flex; margin-left: 6px; padding: 3px; }
.ps-boot { align-items: center; background: var(--ps-bg); display: flex; flex-direction: column; gap: 12px; height: 100%; justify-content: center; min-height: 400px; }
.ps-boot > span { animation: ps-spin .8s linear infinite; border: 3px solid #e2dfdb; border-radius: 50%; border-top-color: var(--ps-red); height: 35px; width: 35px; }
.ps-boot p { color: var(--ps-muted); font-size: 11px; }
.ps-backdrop { display: none; }

.ps-public-menu { background: var(--ps-bg); border-radius: 18px; margin: 0 auto; max-width: 1200px; overflow: hidden; padding-bottom: 30px; }
.ps-public-menu > header { background: #211f1e; color: #fff; min-height: 240px; padding: 55px clamp(25px, 6vw, 70px); }
.ps-public-menu header h1 { font-family: Manrope, sans-serif; font-size: clamp(30px, 5vw, 48px); letter-spacing: -1.5px; margin: 8px 0; }
.ps-public-menu header p { color: #b5b0ac; margin: 0; }
.ps-open-pill { background: rgba(73,199,140,.15); border-radius: 20px; color: #6de0aa; display: inline-block; font-size: 11px; font-weight: 700; padding: 6px 10px; }
.ps-open-pill.is-closed { background: rgba(255,255,255,.1); color: #ccc; }
.ps-public-menu section { padding: 28px clamp(20px, 5vw, 55px) 0; }
.ps-public-menu section h2 { font-family: Manrope, sans-serif; font-size: 22px; margin: 0 0 14px; }
.ps-product-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.ps-product-card { background: #fff; border: 1px solid var(--ps-line); border-radius: 14px; display: grid; grid-template-columns: 125px 1fr; min-height: 145px; overflow: hidden; }
.ps-product-card img, .ps-product-image { height: 100%; object-fit: cover; width: 125px; }
.ps-product-image { align-items: center; background: #eee9e3; display: flex; font-size: 40px; justify-content: center; }
.ps-product-card > div { display: flex; flex-direction: column; padding: 17px; }
.ps-product-card h3 { font-size: 15px; margin: 0 0 4px; }
.ps-product-card p { color: var(--ps-muted); flex: 1; font-size: 11px; margin: 0 0 12px; }
.ps-product-card footer { align-items: center; display: flex; justify-content: space-between; }
.ps-product-card footer strong { color: var(--ps-red); font-family: Manrope, sans-serif; }
.ps-product-card button { background: var(--ps-red); border: 0; border-radius: 8px; color: #fff; font-size: 10px; font-weight: 700; padding: 8px 12px; }
.ps-product-card button:disabled { opacity: .45; }
.ps-menu-empty { align-items: center; display: flex; flex-direction: column; min-height: 300px; justify-content: center; padding: 40px; text-align: center; }
.ps-menu-empty > span { font-size: 45px; }
.ps-menu-empty h2 { font-family: Manrope, sans-serif; margin: 10px 0 2px; }
.ps-menu-empty p { color: var(--ps-muted); margin: 0; }
.ps-login-required { background: #fff; border: 1px solid var(--ps-line); border-radius: 14px; margin: 30px auto; max-width: 440px; padding: 25px; }
.ps-login-required > strong { font-family: Manrope, sans-serif; font-size: 19px; }
.ps-login-required p { color: var(--ps-muted); }

@keyframes ps-spin { to { transform: rotate(360deg); } }
@keyframes ps-pulse { to { opacity: .25; } }
@keyframes ps-slide-in { from { transform: translateX(100%); } }
@keyframes ps-toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }

@media (max-width: 1100px) {
  .ps-sidebar { flex-basis: 218px; }
  .ps-metrics { grid-template-columns: repeat(2, 1fr); }
  .ps-dashboard-grid { grid-template-columns: 1fr; }
  .ps-quick-panel { width: 100%; }
  .ps-order-form { grid-template-columns: 1fr; }
  .ps-order-summary { position: static; }
  .ps-product-grid { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
  .ps-admin-shell { margin-left: -10px; }
  .ps-admin-shell #ps-app { height: calc(100vh - 46px); }
  .ps-sidebar { bottom: 0; box-shadow: 18px 0 40px rgba(0,0,0,.2); left: 0; position: absolute; top: 0; transform: translateX(-105%); transition: transform .2s ease; width: 260px; }
  .ps-shell.is-menu-open .ps-sidebar { transform: none; }
  .ps-shell.is-menu-open .ps-backdrop { background: rgba(0,0,0,.35); display: block; inset: 0; position: absolute; z-index: 40; }
  .ps-sidebar-close, .ps-mobile-menu { display: inline-flex !important; }
  .ps-topbar { min-height: 62px; padding: 0 15px; }
  .ps-topbar-title > div > span, .ps-live, .ps-user div { display: none; }
  .ps-user { padding-left: 10px; }
  .ps-main { padding: 20px 15px; }
  .ps-page-head { align-items: flex-start; gap: 14px; }
  .ps-page-head h1 { font-size: 22px; }
  .ps-metrics { gap: 9px; }
  .ps-metric { min-height: 98px; padding: 13px; }
  .ps-metric strong { font-size: 18px; }
  .ps-compact-order { grid-template-columns: 42px 1fr auto; }
  .ps-compact-order .ps-status, .ps-compact-order .ps-order-time, .ps-compact-order > strong { display: none; }
  .ps-kanban { min-width: 1080px; }
  .ps-fields.two { grid-template-columns: 1fr; }
  .ps-item-row { grid-template-columns: 1fr 65px 110px 35px; }
  .ps-toast { bottom: 12px; max-width: calc(100% - 24px); white-space: normal; width: auto; }
}

/* Configurador de pizzas */
.ps-catalog-tabs { margin: 0 0 18px; padding: 4px; display: inline-flex; gap: 3px; border: 1px solid var(--ps-line); border-radius: 11px; background: #fff; }
.ps-catalog-tabs button { min-height: 36px; padding: 7px 11px; display: flex; align-items: center; gap: 7px; border: 0; border-radius: 8px; color: #77717b; background: transparent; cursor: pointer; font-size: 10px; font-weight: 800; }
.ps-catalog-tabs button.is-active { color: #fff; background: var(--ps-red); box-shadow: 0 5px 12px rgba(212,85,63,.18); }
.ps-pizza-config-head { margin-bottom: 15px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ps-pizza-config-head h2 { margin: 0; font: 800 21px/1.3 Manrope,'Segoe UI',sans-serif; }
.ps-pizza-config-head p { margin: 4px 0 0; color: var(--ps-muted); font-size: 11px; }
.ps-pizza-setup-block { margin-bottom: 15px; overflow: hidden; border: 1px solid #e5e1e6; border-radius: 15px; background: #fff; }
.ps-pizza-setup-block > header, .ps-option-block > header { padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--ps-line); background: #fcfbfc; }
.ps-pizza-setup-block > header > div, .ps-option-block > header > div { display: flex; align-items: center; gap: 11px; }
.ps-pizza-setup-block > header > div > span, .ps-option-block > header > div > span { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; }
.ps-pizza-setup-block .is-coral { color: var(--ps-red); background: var(--ps-red-soft); }
.ps-pizza-setup-block .is-purple, .ps-option-block .is-purple { color: #775bc2; background: #f0ebff; }
.ps-option-block .is-gold { color: #a8731e; background: #fff2d9; }
.ps-option-block .is-blue { color: #3e76a3; background: #eaf4fb; }
.ps-option-block .is-green { color: #2a8068; background: #e7f7f1; }
.ps-pizza-setup-block h3, .ps-option-block h3 { margin: 0; font: 800 13px/1.3 Manrope,'Segoe UI',sans-serif; }
.ps-pizza-setup-block header p, .ps-option-block header p { margin: 3px 0 0; color: var(--ps-muted); font-size: 9px; }
.ps-pizza-setup-block header > button, .ps-option-block header > button { padding: 7px 9px; display: flex; align-items: center; gap: 5px; border: 1px solid #ded8e0; border-radius: 8px; color: var(--ps-red); background: #fff; cursor: pointer; font-size: 9px; font-weight: 800; }
.ps-size-grid { padding: 14px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.ps-size-card { min-width: 0; padding: 13px; display: grid; grid-template-columns: 50px minmax(0,1fr) 29px; align-items: center; gap: 11px; border: 1px solid #e8e3e7; border-radius: 12px; background: #fff; box-shadow: 0 4px 13px rgba(47,37,47,.035); }
.ps-size-card.is-inactive, .ps-flavor-card.is-inactive, .ps-option-block article.is-inactive { opacity: .55; }
.ps-pizza-size-icon { width: 48px; height: 48px; display: grid; place-items: center; position: relative; border: 3px solid #e7a292; border-radius: 50%; background: #fff1ed; }
.ps-pizza-size-icon::before, .ps-pizza-size-icon::after { position: absolute; background: #e7a292; content: ''; }
.ps-pizza-size-icon::before { width: 2px; height: 44px; transform: rotate(45deg); }
.ps-pizza-size-icon::after { width: 44px; height: 2px; transform: rotate(45deg); }
.ps-pizza-size-icon i { width: 22px; height: 22px; display: grid; place-items: center; z-index: 1; border-radius: 50%; color: #fff; background: var(--ps-red); font-size: 8px; font-style: normal; font-weight: 900; }
.ps-size-card > div:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.ps-size-card > div:nth-child(2) > span { color: var(--ps-red); font-size: 7px; font-weight: 900; text-transform: uppercase; }
.ps-size-card h4 { margin: 3px 0 1px; overflow: hidden; font: 800 13px Manrope,'Segoe UI',sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.ps-size-card p { margin: 0; color: var(--ps-muted); font-size: 9px; }
.ps-size-card strong { margin-top: 5px; color: #524b54; font-size: 10px; }
.ps-size-card > button, .ps-flavor-card > button, .ps-option-block article > button { width: 29px; height: 29px; display: grid; place-items: center; border: 0; border-radius: 8px; color: #736c75; background: #f2f0f2; cursor: pointer; }
.ps-flavor-grid { padding: 14px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.ps-flavor-card { min-width: 0; padding: 10px; display: grid; grid-template-columns: 47px minmax(0,1fr) 29px; align-items: center; gap: 10px; border: 1px solid #e8e3e7; border-radius: 11px; background: #fff; }
.ps-flavor-card > div { width: 47px; height: 47px; overflow: hidden; display: grid; place-items: center; border-radius: 10px; background: #fff0eb; font-size: 22px; }
.ps-flavor-card img { width: 100%; height: 100%; object-fit: cover; }
.ps-flavor-card section { min-width: 0; }
.ps-flavor-card h4 { margin: 0; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.ps-flavor-card p { margin: 2px 0; overflow: hidden; color: var(--ps-muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.ps-flavor-card strong { color: var(--ps-red); font-size: 9px; }
.ps-option-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.ps-option-block { overflow: hidden; border: 1px solid #e5e1e6; border-radius: 14px; background: #fff; }
.ps-option-block > header { padding: 13px; }
.ps-option-block > header > div > span { width: 33px; height: 33px; }
.ps-option-block > div { padding: 6px 11px 11px; }
.ps-option-block article { min-height: 48px; padding: 8px 3px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid #efecf0; }
.ps-option-block article:last-child { border-bottom: 0; }
.ps-option-block article > span { min-width: 0; display: flex; flex-direction: column; }
.ps-option-block article strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.ps-option-block article small { margin-top: 2px; color: var(--ps-muted); font-size: 8px; }
.ps-option-block article > button { width: 26px; height: 26px; flex: 0 0 auto; }
.ps-option-empty { padding: 17px 5px; color: #aaa3ab; text-align: center; font-size: 9px; }
.ps-pizza-empty { min-height: 105px; padding: 18px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 12px; }
.ps-pizza-empty > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; color: var(--ps-red); background: var(--ps-red-soft); }
.ps-pizza-empty > div { display: flex; flex-direction: column; }
.ps-pizza-empty strong { font-size: 11px; }
.ps-pizza-empty p { margin: 2px 0 0; color: var(--ps-muted); font-size: 9px; }
.ps-pizza-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }

/* Montagem no PDV */
.ps-build-pizza { width: 100%; min-height: 66px; margin: 0 0 14px; padding: 11px 13px; display: grid; grid-template-columns: 42px minmax(0,1fr) 18px; align-items: center; gap: 11px; border: 1px solid #e2b9b0; border-radius: 12px; color: var(--ps-ink); background: linear-gradient(135deg,#fff8f6,#fff1ed); cursor: pointer; text-align: left; }
.ps-build-pizza > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: var(--ps-red); box-shadow: 0 5px 12px rgba(212,85,63,.2); }
.ps-build-pizza > div { display: flex; flex-direction: column; }
.ps-build-pizza strong { font-size: 12px; }
.ps-build-pizza small { margin-top: 2px; color: #8a7470; font-size: 9px; }
.ps-pizza-builder-modal { width: min(920px,100%); display: flex; flex-direction: column; overflow: hidden; }
.ps-pizza-builder-body { padding: 20px 24px; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; overflow-anchor: none; display: flex; flex-direction: column; gap: 21px; }
.ps-pizza-builder-body > section { padding-bottom: 20px; border-bottom: 1px solid var(--ps-line); }
.ps-pizza-builder-body > section:last-child { padding-bottom: 0; border-bottom: 0; }
.ps-builder-step { margin-bottom: 11px; display: flex; align-items: center; gap: 10px; }
.ps-builder-step > span { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; color: #fff; background: var(--ps-red); font-size: 10px; font-weight: 900; }
.ps-builder-step > div { flex: 1; }
.ps-builder-step h3 { margin: 0; font: 800 13px Manrope,'Segoe UI',sans-serif; }
.ps-builder-step p { margin: 2px 0 0; color: var(--ps-muted); font-size: 9px; }
.ps-builder-step > b { padding: 5px 8px; border-radius: 999px; color: var(--ps-red); background: var(--ps-red-soft); font-size: 9px; }
.ps-builder-choices { display: grid; gap: 8px; }
.ps-builder-sizes { grid-template-columns: repeat(4,minmax(0,1fr)); }
.ps-builder-flavors { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ps-builder-choices label, .ps-builder-option-list label { cursor: pointer; }
.ps-builder-choices input, .ps-builder-option-list input { position: absolute; opacity: 0; }
.ps-builder-choices label > span { min-height: 76px; padding: 10px; display: flex; position: relative; flex-direction: column; border: 1px solid #e2dde2; border-radius: 10px; background: #fff; transition: .16s ease; }
.ps-builder-choices input:checked + span { border-color: var(--ps-red); background: #fff7f5; box-shadow: 0 0 0 2px #ffe8e2; }
.ps-builder-choices label.is-disabled { opacity: .42; cursor: not-allowed; }
.ps-builder-sizes span > i { width: 24px; height: 24px; display: grid; place-items: center; position: absolute; right: 8px; top: 8px; border-radius: 50%; color: var(--ps-red); background: var(--ps-red-soft); font-size: 8px; font-style: normal; font-weight: 900; }
.ps-builder-choices strong { padding-right: 23px; font-size: 10px; }
.ps-builder-choices small { margin: 3px 0 6px; overflow: hidden; color: var(--ps-muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.ps-builder-choices b { margin-top: auto; color: var(--ps-red-dark); font-size: 9px; }
.ps-builder-flavors label > span { min-height: 82px; padding-left: 43px; }
.ps-builder-flavors span > i { width: 27px; height: 27px; display: grid; place-items: center; position: absolute; left: 9px; top: 10px; border-radius: 8px; color: #fff; background: #f2dcd6; font-size: 15px; font-style: normal; }
.ps-builder-flavors input:checked + span > i { background: var(--ps-red); }
.ps-builder-option-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.ps-builder-option-list label > span { min-height: 48px; padding: 8px 10px; display: grid; grid-template-columns: 22px minmax(0,1fr); align-items: center; column-gap: 8px; border: 1px solid #e2dde2; border-radius: 9px; background: #fff; }
.ps-builder-option-list label > span > i { width: 21px; height: 21px; display: grid; place-items: center; grid-row: span 2; border: 1px solid #d9d3da; border-radius: 6px; color: transparent; font-style: normal; }
.ps-builder-option-list input:checked + span { border-color: #e3a99c; background: #fff8f6; }
.ps-builder-option-list input:checked + span > i { color: #fff; border-color: var(--ps-red); background: var(--ps-red); }
.ps-builder-option-list strong { font-size: 9px; }
.ps-builder-option-list small { color: var(--ps-muted); font-size: 8px; }
.ps-builder-footer { padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--ps-line); background: #fcfbfc; }
.ps-builder-footer > div { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 2px 10px; }
.ps-builder-footer span { color: var(--ps-muted); font-size: 9px; }
.ps-builder-footer strong { color: var(--ps-red-dark); font: 800 22px Manrope,'Segoe UI',sans-serif; }
.ps-builder-footer small { grid-column: 1/-1; color: #a39ca4; font-size: 8px; }

@media (max-width: 1100px) {
  .ps-size-grid, .ps-flavor-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ps-option-columns { grid-template-columns: 1fr; }
  .ps-builder-sizes { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 650px) {
  .ps-pizza-config-head { align-items: flex-start; flex-direction: column; }
  .ps-size-grid, .ps-flavor-grid { grid-template-columns: 1fr; }
  .ps-pizza-form { grid-template-columns: 1fr; }
  .ps-pizza-form .ps-field-wide { grid-column: 1; }
  .ps-builder-flavors, .ps-builder-option-list { grid-template-columns: 1fr; }
  .ps-builder-footer { align-items: stretch; flex-direction: column; }
  .ps-builder-footer .ps-button { width: 100%; }
}

/* Cardápio e carrinho do cliente 0.4 */
.ps-storefront { min-height: 700px; overflow: hidden; position: relative; border: 1px solid var(--ps-line); border-radius: 22px; color: var(--ps-ink); background: #f8f6f4; box-shadow: 0 18px 48px rgba(55,39,34,.09); }
.ps-storefront button, .ps-storefront input, .ps-storefront select, .ps-storefront textarea { font: inherit; }
.ps-storefront svg { flex: 0 0 auto; }
.ps-storefront-top { min-height: 72px; padding: 11px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #eee8e4; background: #fff; }
.ps-storefront-brand { display: flex; align-items: center; gap: 10px; }
.ps-storefront-brand > span { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; border-radius: 11px 11px 11px 4px; background: linear-gradient(145deg,#ed735c,#bd3829); box-shadow: 0 7px 16px rgba(212,85,63,.25); font: 800 19px Manrope,'Segoe UI',sans-serif; }
.ps-storefront-brand > span { overflow: hidden; }
.ps-storefront-brand > div { display: flex; flex-direction: column; }
.ps-storefront-brand strong { font: 800 15px Manrope,'Segoe UI',sans-serif; }
.ps-storefront-brand small { color: #9c9590; font-size: 9px; }
.ps-storefront-top > div:last-child { display: flex; align-items: center; gap: 12px; }
.ps-storefront-status { padding: 7px 10px; display: flex; align-items: center; gap: 6px; border-radius: 999px; color: #27775d; background: #eaf8f2; font-size: 9px; font-weight: 800; }
.ps-storefront-status i { width: 7px; height: 7px; border-radius: 50%; background: #41bd89; box-shadow: 0 0 0 4px rgba(65,189,137,.11); }
.ps-storefront-status.is-closed { color: #7c7472; background: #f0eeee; }
.ps-storefront-status.is-closed i { background: #aaa3a1; }
.ps-cart-button { min-height: 41px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border: 1px solid #e5dedb; border-radius: 10px; color: #5f5755; background: #fff; cursor: pointer; font-size: 10px; font-weight: 800; }
.ps-cart-button:hover { color: var(--ps-red); border-color: #e3b8ae; }
.ps-cart-button b { min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 999px; color: #fff; background: var(--ps-red); font-size: 8px; }
.ps-storefront-hero { min-height: 330px; padding: 54px clamp(28px,6vw,72px); display: flex; align-items: center; justify-content: space-between; gap: 45px; position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 78% 20%,rgba(255,255,255,.15),transparent 25%),linear-gradient(120deg,#d85a43,#a62f29 72%,#792426); }
.ps-storefront-hero.has-image { background-position: center; background-size: cover; }
.ps-storefront-hero::after { width: 310px; height: 310px; position: absolute; right: -70px; bottom: -210px; border: 48px solid rgba(255,255,255,.06); border-radius: 50%; content: ''; }
.ps-storefront-hero > div:first-child { position: relative; z-index: 2; }
.ps-storefront-hero > div:first-child > span { color: #ffd6cc; font-size: 9px; font-weight: 900; letter-spacing: 1.8px; }
.ps-storefront-hero h1 { margin: 8px 0; color: #fff; font: 800 clamp(31px,4vw,48px)/1.08 Manrope,'Segoe UI',sans-serif; letter-spacing: -1.6px; }
.ps-storefront-hero p { max-width: 460px; margin: 0 0 20px; color: rgba(255,255,255,.78); font-size: 13px; }
.ps-storefront-hero button { padding: 10px 14px; display: flex; align-items: center; gap: 8px; border: 0; border-radius: 9px; color: var(--ps-red-dark); background: #fff; box-shadow: 0 10px 24px rgba(69,18,15,.22); cursor: pointer; font-size: 10px; font-weight: 900; }
.ps-hero-pizza { width: 210px; height: 210px; display: grid; place-items: center; flex: 0 0 auto; position: relative; z-index: 1; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(255,255,255,.08); box-shadow: 0 25px 60px rgba(58,17,14,.2); font-size: 112px; transform: rotate(-7deg); }
.ps-hero-pizza::before { width: 150px; height: 150px; position: absolute; border: 1px dashed rgba(255,255,255,.2); border-radius: 50%; content: ''; }
.ps-hero-pizza i { width: 17px; height: 17px; position: absolute; right: 4px; top: 29px; border-radius: 50%; background: #72d8aa; box-shadow: 0 0 0 7px rgba(114,216,170,.13); }
.ps-hero-pizza b { padding: 7px 10px; position: absolute; right: -28px; bottom: 12px; border-radius: 8px; color: #684138; background: #fff; box-shadow: 0 8px 20px rgba(39,13,11,.18); font-size: 8px; line-height: 1.35; transform: rotate(7deg); }
.ps-storefront-info { min-height: 42px; padding: 8px clamp(20px,5vw,55px); display: flex; align-items: center; gap: 20px; border-bottom: 1px solid #e8e2df; color: #766f6c; background: #fff; font-size: 9px; }
.ps-storefront-info span { display: flex; align-items: center; gap: 6px; }
.ps-storefront-info svg { color: var(--ps-red); }
.ps-storefront-info strong { margin-left: auto; color: var(--ps-red); font-size: 8px; }
.ps-storefront-content { padding: 25px clamp(20px,5vw,55px) 44px; }
.ps-menu-toolbar { margin-bottom: 18px; display: flex; align-items: center; gap: 13px; }
.ps-menu-toolbar > label { min-height: 42px; padding: 0 12px; display: flex; align-items: center; gap: 8px; flex: 1; border: 1px solid #e5dfdc; border-radius: 10px; color: #99918e; background: #fff; }
.ps-menu-toolbar input { width: 100%; padding: 9px 0; border: 0; outline: 0; color: var(--ps-ink); background: transparent; font-size: 11px; }
.ps-menu-categories { padding: 4px; display: flex; gap: 3px; overflow-x: auto; border: 1px solid #e5dfdc; border-radius: 10px; background: #fff; }
.ps-menu-categories button { min-height: 32px; padding: 6px 10px; flex: 0 0 auto; border: 0; border-radius: 7px; color: #786f6d; background: transparent; cursor: pointer; font-size: 9px; font-weight: 800; }
.ps-menu-categories button.is-active { color: #fff; background: var(--ps-red); }
.ps-pizza-feature { min-height: 108px; margin-bottom: 24px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; overflow: hidden; position: relative; border: 1px solid #e1b9af; border-radius: 15px; background: linear-gradient(135deg,#fff8f5,#ffebe5); }
.ps-pizza-feature::after { position: absolute; right: 170px; color: rgba(212,85,63,.055); font-size: 110px; content: '🍕'; transform: rotate(-18deg); }
.ps-pizza-feature > div { display: flex; align-items: center; gap: 13px; position: relative; z-index: 1; }
.ps-pizza-feature > div > span { width: 49px; height: 49px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px; color: #fff; background: var(--ps-red); box-shadow: 0 7px 16px rgba(212,85,63,.2); }
.ps-pizza-feature small, .ps-menu-products > header span { color: var(--ps-red); font-size: 8px; font-weight: 900; letter-spacing: 1px; }
.ps-pizza-feature h2 { margin: 2px 0; font: 800 17px Manrope,'Segoe UI',sans-serif; }
.ps-pizza-feature p { margin: 0; color: #86716d; font-size: 10px; }
.ps-pizza-feature > button { padding: 10px 13px; display: flex; align-items: center; gap: 7px; z-index: 1; border: 0; border-radius: 9px; color: #fff; background: var(--ps-red); cursor: pointer; font-size: 10px; font-weight: 900; }
.ps-menu-products > header { margin-bottom: 13px; display: flex; align-items: flex-end; justify-content: space-between; }
.ps-menu-products h2 { margin: 3px 0 0; font: 800 21px Manrope,'Segoe UI',sans-serif; }
.ps-menu-products > header > small { color: #918987; font-size: 9px; }
.ps-menu-products > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.ps-menu-product { min-width: 0; min-height: 150px; display: grid; grid-template-columns: 125px minmax(0,1fr); overflow: hidden; border: 1px solid #e5dfdc; border-radius: 14px; background: #fff; box-shadow: 0 5px 17px rgba(57,42,38,.035); transition: .18s ease; }
.ps-menu-product:hover { border-color: #e0afa4; box-shadow: 0 10px 25px rgba(75,45,39,.08); transform: translateY(-1px); }
.ps-menu-product[hidden] { display: none; }
.ps-menu-product-image { min-height: 150px; overflow: hidden; display: grid; place-items: center; position: relative; background: linear-gradient(145deg,#fff0e9,#f3ddd3); font-size: 44px; }
.ps-menu-product-image img { width: 100%; height: 100%; object-fit: cover; }
.ps-menu-product-image i { padding: 4px 7px; position: absolute; left: 8px; top: 8px; border-radius: 6px; color: #fff; background: var(--ps-red); font-size: 7px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.ps-menu-product-body { padding: 14px; display: flex; min-width: 0; flex-direction: column; }
.ps-menu-product-body > small { color: var(--ps-red); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.ps-menu-product h3 { margin: 5px 0 4px; font: 800 13px/1.35 Manrope,'Segoe UI',sans-serif; }
.ps-menu-product p { margin: 0; display: -webkit-box; overflow: hidden; color: var(--ps-muted); font-size: 9px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ps-menu-product footer { margin-top: auto; padding-top: 10px; display: flex; align-items: flex-end; justify-content: space-between; }
.ps-menu-product footer > div { display: flex; flex-direction: column; }
.ps-menu-product s { color: #aaa29f; font-size: 8px; }
.ps-menu-product footer strong { color: var(--ps-red-dark); font: 800 15px Manrope,'Segoe UI',sans-serif; }
.ps-menu-product footer button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 9px; color: #fff; background: var(--ps-red); cursor: pointer; box-shadow: 0 5px 12px rgba(212,85,63,.18); }
.ps-menu-no-results { grid-column: 1/-1; padding: 40px; color: var(--ps-muted); text-align: center; }

.ps-cart-overlay { position: fixed; z-index: 999990; inset: 0; background: rgba(34,27,28,.46); backdrop-filter: blur(3px); }
.ps-cart-drawer { width: min(420px,92vw); display: flex; flex-direction: column; position: fixed; z-index: 999991; inset: 0 0 0 auto; background: #fff; box-shadow: -20px 0 55px rgba(32,23,24,.2); animation: ps-slide-in .22s ease; }
.ps-cart-drawer > header { min-height: 76px; padding: 16px 19px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ps-line); }
.ps-cart-drawer > header > div { display: flex; align-items: center; gap: 10px; }
.ps-cart-drawer > header > div > span { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 10px; color: var(--ps-red); background: var(--ps-red-soft); }
.ps-cart-drawer h2 { margin: 0; font: 800 16px Manrope,'Segoe UI',sans-serif; }
.ps-cart-drawer header p { margin: 2px 0 0; color: var(--ps-muted); font-size: 9px; }
.ps-cart-drawer header button, .ps-cart-remove { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 9px; color: #777074; background: #f3f1f2; cursor: pointer; }
.ps-cart-items { padding: 14px 17px; display: flex; flex: 1; overflow-y: auto; flex-direction: column; gap: 9px; }
.ps-cart-item { padding: 11px; display: grid; grid-template-columns: 44px minmax(0,1fr) 28px; align-items: start; gap: 9px; border: 1px solid #e9e4e5; border-radius: 11px; }
.ps-cart-item-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: #fff0ea; font-size: 23px; }
.ps-cart-item h3 { margin: 0; overflow-wrap: anywhere; font-size: 10px; line-height: 1.35; }
.ps-cart-item p { margin: 2px 0; color: var(--ps-muted); font-size: 8px; line-height: 1.35; }
.ps-cart-item strong { color: var(--ps-red); font-size: 10px; }
.ps-cart-remove { width: 27px; height: 27px; }
.ps-cart-quantity { margin-top: 7px; display: flex; align-items: center; gap: 7px; }
.ps-cart-quantity button { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid #e0dadd; border-radius: 6px; color: var(--ps-ink); background: #fff; cursor: pointer; }
.ps-cart-quantity span { min-width: 14px; text-align: center; font-size: 9px; font-weight: 800; }
.ps-cart-drawer > footer { padding: 15px 18px 18px; border-top: 1px solid var(--ps-line); background: #fcfbfb; }
.ps-cart-drawer > footer > div { margin-bottom: 6px; display: flex; justify-content: space-between; color: var(--ps-muted); font-size: 9px; }
.ps-cart-drawer > footer > div strong { color: var(--ps-ink); }
.ps-cart-drawer > footer .ps-cart-total { margin: 12px 0; padding-top: 11px; border-top: 1px solid var(--ps-line); color: var(--ps-ink); font-size: 11px; font-weight: 800; }
.ps-cart-total strong { color: var(--ps-red-dark)!important; font: 800 19px Manrope,'Segoe UI',sans-serif; }
.ps-cart-drawer > footer > button { width: 100%; min-height: 43px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 9px; color: #fff; background: var(--ps-red); cursor: pointer; font-size: 10px; font-weight: 900; }
.ps-cart-drawer > footer > small { display: block; margin-top: 7px; color: #9d9698; text-align: center; font-size: 8px; }
.ps-cart-empty { min-height: 330px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.ps-cart-empty > span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; color: var(--ps-red); background: var(--ps-red-soft); }
.ps-cart-empty h3 { margin: 12px 0 3px; font-size: 13px; }
.ps-cart-empty p { margin: 0 0 13px; color: var(--ps-muted); font-size: 9px; }
.ps-cart-empty button { border: 0; color: var(--ps-red); background: transparent; cursor: pointer; font-size: 10px; font-weight: 800; }

.ps-builder-step-count { width: max-content; margin: -40px 0 11px auto; padding: 5px 8px; border-radius: 999px; color: var(--ps-red); background: var(--ps-red-soft); font-size: 9px; font-weight: 900; }
.ps-checkout-modal { width: min(820px,100%); }
.ps-checkout-body { padding: 21px 24px; display: grid; grid-template-columns: minmax(0,1fr) 210px; gap: 20px; }
.ps-checkout-service { grid-column: 1/-1; display: grid; grid-template-columns: repeat(auto-fit,minmax(155px,1fr)); gap: 9px; }
.ps-checkout-service input { position: absolute; opacity: 0; }
.ps-checkout-service label > span { min-height: 60px; padding: 10px 13px; display: grid; grid-template-columns: 30px minmax(0,1fr); align-items: center; column-gap: 9px; border: 1px solid #e0dadd; border-radius: 10px; cursor: pointer; }
.ps-checkout-service svg { grid-row: span 2; color: var(--ps-red); }
.ps-checkout-service strong { font-size: 10px; }
.ps-checkout-service small { color: var(--ps-muted); font-size: 8px; }
.ps-checkout-service input:checked + span { border-color: var(--ps-red); background: #fff7f5; box-shadow: 0 0 0 2px #ffebe6; }
.ps-checkout-closed { margin: 15px 24px 0; padding: 10px 12px; display: flex; flex-direction: column; border: 1px solid #edcec7; border-radius: 9px; color: var(--ps-red); background: #fff5f3; }
.ps-checkout-closed strong { font-size: 9px; }
.ps-checkout-closed span { margin-top: 2px; color: #9a6e66; font-size: 8px; }
.ps-public-privacy { padding: 9px 10px; display: flex!important; align-items: flex-start; flex-direction: row!important; border: 1px solid #e9e3e5; border-radius: 8px; background: #faf9f9; }
.ps-public-privacy input { width: auto!important; margin-top: 2px; }
.ps-public-privacy span { font-weight: 600!important; line-height: 1.45; }
.ps-checkout-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.ps-checkout-grid > label, .ps-address-fields label { display: flex; flex-direction: column; gap: 5px; }
.ps-checkout-grid label > span { color: #716a6e; font-size: 9px; font-weight: 800; }
.ps-checkout-grid input, .ps-checkout-grid select, .ps-checkout-grid textarea { width: 100%; padding: 10px 11px; border: 1px solid #ded8dc; border-radius: 8px; color: var(--ps-ink); background: #fff; outline: 0; font-size: 10px; }
.ps-checkout-grid input:focus, .ps-checkout-grid select:focus, .ps-checkout-grid textarea:focus { border-color: #dc9486; box-shadow: 0 0 0 3px #fff0ed; }
.ps-checkout-grid .ps-wide { grid-column: 1/-1; }
.ps-address-fields { padding: 12px; display: grid; grid-template-columns: 1fr 100px; gap: 9px; border: 1px solid #eee9ea; border-radius: 10px; background: #faf9f9; }
.ps-address-fields.is-hidden { display: none; }
.ps-checkout-summary { align-self: start; padding: 14px; border: 1px solid #e8e2e4; border-radius: 11px; background: #faf9f9; }
.ps-checkout-summary > span { color: var(--ps-red); font-size: 8px; font-weight: 900; letter-spacing: 1px; }
.ps-checkout-summary > strong { display: block; margin: 4px 0 13px; font-size: 12px; }
.ps-checkout-summary > div { padding: 7px 0; display: flex; justify-content: space-between; border-top: 1px solid #eae5e6; color: var(--ps-muted); font-size: 9px; }
.ps-checkout-summary > div:last-child { margin-top: 5px; color: var(--ps-ink); font-weight: 800; }
.ps-checkout-summary > div:last-child b { color: var(--ps-red); font-size: 13px; }
.ps-checkout-modal form > footer { padding: 14px 24px; display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--ps-line); }
.ps-order-success { min-height: 620px; padding: 55px 25px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.ps-order-success > span { width: 72px; height: 72px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 50%; color: #fff; background: var(--ps-green); box-shadow: 0 12px 30px rgba(47,150,118,.23); }
.ps-order-success > small { color: var(--ps-green); font-size: 9px; font-weight: 900; letter-spacing: 1.5px; }
.ps-order-success h1 { margin: 6px 0; font: 800 29px Manrope,'Segoe UI',sans-serif; }
.ps-order-success p { max-width: 440px; margin: 0; color: var(--ps-muted); font-size: 11px; }
.ps-order-success > div { min-width: 220px; margin: 20px 0; padding: 13px; display: flex; justify-content: space-between; border: 1px solid var(--ps-line); border-radius: 10px; background: #fff; }
.ps-order-success > div span { color: var(--ps-muted); font-size: 10px; }
.ps-order-success > div strong { color: var(--ps-red); }
.ps-order-success > button { padding: 10px 14px; border: 1px solid #ded8dc; border-radius: 9px; color: var(--ps-ink); background: #fff; cursor: pointer; font-size: 10px; font-weight: 800; }

@media (max-width: 760px) {
  .ps-storefront { border-radius: 16px; }
  .ps-storefront-top { padding: 10px 15px; }
  .ps-storefront-status, .ps-cart-button > span { display: none; }
  .ps-storefront-hero { min-height: 315px; padding: 38px 24px; }
  .ps-storefront-hero h1 { font-size: 34px; }
  .ps-hero-pizza { width: 130px; height: 130px; font-size: 70px; opacity: .55; position: absolute; right: -25px; bottom: -20px; }
  .ps-hero-pizza b, .ps-hero-pizza i { display: none; }
  .ps-menu-toolbar { align-items: stretch; flex-direction: column; }
  .ps-menu-categories { width: 100%; }
  .ps-pizza-feature { align-items: flex-start; flex-direction: column; }
  .ps-pizza-feature > button { width: 100%; justify-content: center; }
  .ps-menu-products > div { grid-template-columns: 1fr; }
  .ps-checkout-body { grid-template-columns: 1fr; }
  .ps-checkout-summary { grid-row: 3; }
}

@media (max-width: 440px) {
  .ps-storefront-top { min-height: 64px; }
  .ps-storefront-brand strong { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ps-storefront-content { padding: 18px 14px 30px; }
  .ps-pizza-feature > div > span { display: none; }
  .ps-menu-product { grid-template-columns: 100px minmax(0,1fr); }
  .ps-menu-product-image { min-height: 145px; }
  .ps-checkout-service, .ps-checkout-grid, .ps-address-fields { grid-template-columns: 1fr; }
  .ps-address-fields label, .ps-address-fields .ps-wide { grid-column: 1; }
}

@media (max-width: 520px) {
  .ps-metrics { grid-template-columns: 1fr; }
  .ps-page-head { align-items: stretch; flex-direction: column; }
  .ps-page-head .ps-button { align-self: flex-start; }
  .ps-service-options { grid-template-columns: 1fr; }
  .ps-item-row { border-bottom: 1px solid var(--ps-line); grid-template-columns: 1fr 1fr 35px; padding-bottom: 12px; }
  .ps-item-name { grid-column: 1 / -1; }
  .ps-drawer-meta { grid-template-columns: 1fr 1fr; }
  .ps-product-card { grid-template-columns: 95px 1fr; }
  .ps-product-card img, .ps-product-image { width: 95px; }
}

/* Interface 0.2 — linguagem visual alinhada ao projeto Organização */
:root {
  --ps-red: #d4553f;
  --ps-red-dark: #b83e2e;
  --ps-red-soft: #fff0ec;
  --ps-ink: #2b2733;
  --ps-muted: #7e7886;
  --ps-line: #ebe7ee;
  --ps-bg: #f7f6f8;
  --ps-card: #fff;
  --ps-green: #2f9676;
  --ps-gold: #d99532;
  --ps-blue: #4f7fc9;
  --ps-radius: 15px;
  --ps-shadow: 0 18px 48px rgba(55, 39, 34, .09);
}

#ps-app { --ps-hero-color: #d4553f; }
.ps-admin-shell { margin-left: -20px; padding: 18px 20px 20px; background: #f0eef2; }
.ps-admin-shell #ps-app { height: calc(100vh - 68px); }
.ps-shell { height: 100%; min-height: 760px; display: block; overflow: hidden; border: 1px solid var(--ps-line); border-radius: 22px; background: var(--ps-bg); box-shadow: var(--ps-shadow); }
.ps-workspace { height: 100%; display: flex; overflow-y: auto; overflow-x: hidden; flex-direction: column; }
.ps-topbar { min-height: 74px; padding: 11px 28px; display: flex; flex: 0 0 auto; border-bottom: 1px solid var(--ps-line); background: #fff; }
.ps-topbar-brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.ps-topbar-brand .ps-brand-mark + div { display: flex; flex-direction: column; }
.ps-topbar-brand .ps-brand-mark + div strong { font: 800 18px/1 Manrope, 'Segoe UI', sans-serif; letter-spacing: -.7px; }
.ps-topbar-brand .ps-brand-mark + div strong span { color: var(--ps-red); margin-left: 2px; }
.ps-topbar-brand .ps-brand-mark + div small { margin-top: 4px; color: #9a949d; font-size: 9px; }
.ps-brand-mark { width: 38px; height: 38px; flex-basis: 38px; border-radius: 11px 11px 11px 4px; background: linear-gradient(145deg, #ed735c, #bd3829); box-shadow: 0 7px 16px rgba(212, 85, 63, .25); transform: none; }
.ps-brand-mark img,.ps-storefront-brand > span img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.ps-establishment-context { max-width: 220px; padding-left: 20px; margin-left: 10px; display: flex; flex-direction: column; border-left: 1px solid var(--ps-line); line-height: 1.2; }
.ps-establishment-context small { color: #aaa4ad; font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.ps-establishment-context strong { margin-top: 4px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.ps-topbar-actions { gap: 15px; }
.ps-icon-button { width: 38px; height: 38px; border: 1px solid var(--ps-line); border-radius: 10px; color: #716b75; background: #fff; }
.ps-icon-button:hover { color: var(--ps-red); border-color: #e6c5bd; background: #fff8f6; }
.ps-user { margin-left: 1px; padding-left: 19px; }
.ps-user img { width: 38px; height: 38px; }
.ps-user strong { font-size: 12px; }
.ps-user span { margin-top: 2px; font-size: 10px; }
.ps-live { padding: 7px 11px; font-size: 10px; }

.ps-hero { min-height: 166px; padding: 31px 38px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex: 0 0 auto; position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 78% 5%, rgba(255,255,255,.2), transparent 28%), linear-gradient(122deg, #d85a43, #a82f2a 72%, #7f2828); }
.ps-hero::before { width: 220px; height: 220px; position: absolute; right: -50px; bottom: -142px; border: 34px solid rgba(255,255,255,.08); border-radius: 50%; content: ''; }
.ps-hero::after { width: 125px; height: 125px; position: absolute; right: 210px; top: -84px; border: 24px solid rgba(255,255,255,.06); border-radius: 50%; content: ''; }
.ps-hero > * { position: relative; z-index: 1; }
.ps-eyebrow { color: inherit; opacity: .78; font-size: 9px; font-weight: 800; letter-spacing: 1.6px; }
.ps-hero h1 { margin: 6px 0 4px; color: #fff; font: 800 30px/1.18 Manrope, 'Segoe UI', sans-serif; letter-spacing: -.8px; }
.ps-hero p { margin: 0; color: rgba(255,255,255,.79); font-size: 13px; }
.ps-hero-actions { display: flex; align-items: center; gap: 11px; }
.ps-open-status { padding: 8px 11px; display: flex; align-items: center; gap: 7px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #fff; background: rgba(255,255,255,.1); backdrop-filter: blur(5px); font-size: 10px; font-weight: 700; }
.ps-open-status i { width: 7px; height: 7px; border-radius: 50%; background: #6ee0a9; box-shadow: 0 0 0 4px rgba(110,224,169,.13); }
.ps-open-status.is-closed i { background: #d9b6ad; box-shadow: 0 0 0 4px rgba(217,182,173,.13); }
.ps-button.ps-light { color: var(--ps-red-dark); background: #fff; box-shadow: 0 10px 24px rgba(72, 20, 15, .22); }
.ps-button.ps-light:hover { transform: translateY(-1px); }

.ps-app-body { padding: 22px 30px 38px; }
.ps-horizontal-nav { margin: 0 0 22px; padding: 5px; display: flex; gap: 4px; overflow-x: auto; border: 1px solid var(--ps-line); border-radius: 13px; background: #fff; scrollbar-width: thin; }
.ps-horizontal-nav::-webkit-scrollbar { height: 4px; }
.ps-horizontal-nav::-webkit-scrollbar-track { background: transparent; }
.ps-horizontal-nav::-webkit-scrollbar-thumb { border-radius: 99px; background: #d8d2d8; }
.ps-horizontal-nav .ps-nav-item { width: auto; min-height: 40px; padding: 8px 13px; flex: 0 0 auto; gap: 7px; border: 0; border-radius: 9px; color: #77717b; background: transparent; font-size: 11px; font-weight: 800; }
.ps-horizontal-nav .ps-nav-item:hover { color: var(--ps-red); background: #fff5f2; }
.ps-horizontal-nav .ps-nav-item.is-active { color: #fff; background: var(--ps-red); box-shadow: 0 7px 16px rgba(212, 85, 63, .22); }
.ps-horizontal-nav .ps-nav-item small { margin-left: 3px; color: #aaa3aa; font-size: 7px; }
.ps-horizontal-nav .ps-nav-item.is-active small { color: rgba(255,255,255,.7); }
.ps-main { padding: 0; overflow: visible; }
.ps-page-head { margin-bottom: 20px; }
.ps-page-head p { color: var(--ps-red); font-size: 10px; letter-spacing: .6px; text-transform: uppercase; }
.ps-page-head h1 { font-size: 24px; letter-spacing: -.5px; }
.ps-button { min-height: 40px; padding: 9px 15px; border-radius: 9px; font-size: 11px; font-weight: 800; }
.ps-button.ps-primary { box-shadow: 0 7px 16px rgba(212,85,63,.18); }
.ps-metrics { gap: 12px; margin-bottom: 20px; }
.ps-metric { min-height: 92px; padding: 16px; gap: 13px; border-radius: 13px; box-shadow: none; }
.ps-metric-icon { width: 42px; height: 42px; flex-basis: 42px; border-radius: 11px; color: #cc5a43; background: #fff0ec; }
.ps-metric:nth-child(2) .ps-metric-icon { color: #b47a13; background: #fff2d8; }
.ps-metric:nth-child(3) .ps-metric-icon { color: #397cb0; background: #e9f4fc; }
.ps-metric:nth-child(4) .ps-metric-icon { color: #28836c; background: #e2f7f0; }
.ps-metric span { font-size: 11px; }
.ps-metric strong { margin: 2px 0; font-size: 22px; }
.ps-metric small { font-size: 9px; }
.ps-panel { border-radius: 14px; box-shadow: 0 5px 18px rgba(45,37,50,.035); }
.ps-panel-head { padding: 19px 20px 17px; }
.ps-panel-head h2, .ps-form-section h2, .ps-order-summary h2 { font-size: 15px; }
.ps-panel-head p, .ps-section-title p { font-size: 11px; }
.ps-compact-order { min-height: 63px; padding: 13px 8px; }
.ps-compact-order > span:nth-child(2) strong, .ps-compact-order > strong { font-size: 12px; }
.ps-compact-order small, .ps-order-time { font-size: 10px; }
.ps-status { padding: 5px 9px; font-size: 9px; }
.ps-quick-panel button strong { font-size: 12px; }
.ps-quick-panel button small { font-size: 10px; }

.ps-kanban { grid-auto-columns: minmax(270px, 1fr); grid-template-columns: repeat(5, minmax(250px, 1fr)); gap: 12px; min-width: 1320px; }
.ps-kanban-column { min-height: 500px; padding: 10px; border: 1px solid #e5e1e6; border-radius: 15px; background: #f4f2f4; }
.ps-kanban-column.is-new { background: #fff5f3; }
.ps-kanban-column.is-confirmed { background: #fbf7ef; }
.ps-kanban-column.is-production { background: #f7f3ed; }
.ps-kanban-column.is-ready { background: #f0f8f6; }
.ps-kanban-column.is-delivery { background: #f1f5fb; }
.ps-kanban-column > header { min-height: 41px; padding: 3px 4px 11px; border-bottom: 1px solid rgba(85,72,75,.1); }
.ps-kanban-column > header > span { width: 9px; height: 9px; box-shadow: 0 0 0 4px rgba(212,85,63,.1); }
.ps-kanban-column > header strong { font-size: 11px; }
.ps-kanban-column > header small { width: auto; min-width: 24px; height: 24px; border-radius: 8px; background: #fff; }
.ps-kanban-cards { padding-top: 10px; gap: 9px; }
.ps-order-card { padding: 14px; border-radius: 12px; box-shadow: 0 5px 16px rgba(47,37,47,.045); }
.ps-order-card h3 { margin-top: 11px; font-size: 13px; }
.ps-order-card p, .ps-order-card-items span { font-size: 10px; }

/* Cardápio */
.ps-catalog-head { margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.ps-catalog-head h2 { margin: 0; font: 800 21px/1.25 Manrope, 'Segoe UI', sans-serif; letter-spacing: -.4px; }
.ps-catalog-head p { margin: 4px 0 0; color: var(--ps-muted); font-size: 11px; }
.ps-catalog-head > div:last-child { display: flex; gap: 8px; }
.ps-catalog-metrics { margin-bottom: 17px; }
.ps-catalog-toolbar { margin-bottom: 12px; display: grid; grid-template-columns: minmax(240px, 1fr) 210px; gap: 10px; }
.ps-search-field { min-height: 42px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--ps-line); border-radius: 10px; color: #99929c; background: #fff; }
.ps-search-field input { width: 100%; padding: 9px 0; border: 0; outline: 0; color: var(--ps-ink); background: transparent; font-size: 12px; }
.ps-catalog-toolbar select { min-height: 42px; padding: 9px 12px; border: 1px solid var(--ps-line); border-radius: 10px; color: var(--ps-ink); background: #fff; font-size: 11px; font-weight: 700; }
.ps-category-strip { margin-bottom: 14px; padding: 4px; display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--ps-line); }
.ps-category-strip button { min-height: 36px; padding: 7px 10px; display: flex; align-items: center; gap: 7px; flex: 0 0 auto; border: 0; border-bottom: 2px solid transparent; color: #77717c; background: transparent; cursor: pointer; font-size: 10px; font-weight: 800; }
.ps-category-strip button i { width: 7px; height: 7px; border-radius: 50%; background: var(--category-color); }
.ps-category-strip button small { min-width: 18px; height: 18px; display: grid; place-items: center; border-radius: 6px; color: #817a84; background: #eeecef; font-size: 8px; }
.ps-category-strip button.is-active { color: var(--ps-red); border-bottom-color: var(--ps-red); }
.ps-catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.ps-catalog-card { min-width: 0; overflow: hidden; display: grid; grid-template-columns: 112px minmax(0,1fr); grid-template-rows: 1fr auto; border: 1px solid #e5e1e6; border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(48,38,50,.04); transition: .18s ease; }
.ps-catalog-card:hover { border-color: #dfb2a9; box-shadow: 0 10px 25px rgba(71,42,38,.09); transform: translateY(-1px); }
.ps-catalog-card[hidden] { display: none !important; }
.ps-catalog-card.is-paused { opacity: .67; }
.ps-catalog-image { min-height: 160px; position: relative; overflow: hidden; background: linear-gradient(145deg, #fff1eb, #f5ded5); }
.ps-catalog-image img { width: 100%; height: 100%; object-fit: cover; }
.ps-catalog-image > span { height: 100%; display: grid; place-items: center; font-size: 38px; }
.ps-catalog-image > i { padding: 5px 7px; position: absolute; left: 8px; bottom: 8px; border-radius: 7px; color: #6f433a; background: rgba(255,255,255,.86); backdrop-filter: blur(4px); font-size: 8px; font-style: normal; font-weight: 800; }
.ps-catalog-card-body { padding: 14px; display: flex; min-width: 0; flex-direction: column; }
.ps-catalog-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ps-catalog-card-top > span { color: var(--ps-red); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.ps-catalog-card-top button { width: 29px; height: 29px; display: grid; place-items: center; border: 0; border-radius: 8px; color: #766e78; background: #f3f1f4; cursor: pointer; }
.ps-catalog-card-top button:hover { color: var(--ps-red); background: var(--ps-red-soft); }
.ps-catalog-card h3 { margin: 9px 0 5px; overflow-wrap: anywhere; font: 800 14px/1.35 Manrope, 'Segoe UI', sans-serif; }
.ps-catalog-card-body > p { margin: 0; display: -webkit-box; overflow: hidden; color: var(--ps-muted); font-size: 10px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ps-product-price { margin-top: auto; padding-top: 11px; display: flex; align-items: baseline; gap: 7px; }
.ps-product-price small { color: #a39da5; font-size: 9px; text-decoration: line-through; }
.ps-product-price strong { color: var(--ps-red-dark); font: 800 16px/1 Manrope, 'Segoe UI', sans-serif; }
.ps-catalog-card > footer { grid-column: 1/-1; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--ps-line); background: #fcfbfc; }
.ps-catalog-card > footer > span { display: flex; align-items: center; gap: 6px; color: #6f6872; font-size: 9px; font-weight: 700; }
.ps-availability-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ps-green); }
.is-paused .ps-availability-dot { background: #aaa4aa; }
.ps-switch input { position: absolute; opacity: 0; }
.ps-switch > i { width: 34px; height: 19px; display: block; position: relative; border-radius: 999px; background: #d8d4d9; cursor: pointer; transition: .18s ease; }
.ps-switch > i::after { width: 15px; height: 15px; position: absolute; top: 2px; left: 2px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.15); content: ''; transition: .18s ease; }
.ps-switch input:checked + i { background: var(--ps-green); }
.ps-switch input:checked + i::after { transform: translateX(15px); }
.ps-first-category { min-height: 310px; padding: 35px; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 1px dashed #dcd5dc; border-radius: 15px; background: rgba(255,255,255,.6); text-align: center; }
.ps-first-category > div { width: 60px; height: 60px; margin-bottom: 13px; display: grid; place-items: center; border-radius: 17px; color: var(--ps-red); background: var(--ps-red-soft); }
.ps-first-category > span { color: var(--ps-red); font-size: 8px; font-weight: 900; letter-spacing: 1.5px; }
.ps-first-category h2 { margin: 5px 0; font: 800 20px Manrope, 'Segoe UI', sans-serif; }
.ps-first-category p { margin: 0 0 17px; color: var(--ps-muted); font-size: 11px; }

/* Modais e formulários do catálogo */
.ps-overlay { padding: 25px; display: grid; place-items: center; position: fixed; z-index: 999999; inset: 0; overflow-y: auto; background: rgba(35,28,37,.56); backdrop-filter: blur(4px); animation: ps-fade .18s ease; }
.ps-modal { width: min(780px, 100%); max-height: calc(100vh - 50px); overflow-y: auto; border-radius: 18px; background: #fff; box-shadow: 0 30px 90px rgba(30,21,31,.3); animation: ps-rise .22s ease; }
.ps-modal-small { width: min(440px, 100%); }
.ps-modal > header { padding: 23px 25px 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--ps-line); }
.ps-modal > header .ps-eyebrow { color: var(--ps-red); opacity: 1; }
.ps-modal > header h2 { margin: 5px 0 2px; font: 800 22px/1.25 Manrope, 'Segoe UI', sans-serif; letter-spacing: -.5px; }
.ps-modal > header p { margin: 0; color: var(--ps-muted); font-size: 11px; }
.ps-modal-body { padding: 22px 25px; }
.ps-product-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.ps-field { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.ps-field-wide { grid-column: 1/-1; }
.ps-field > span { color: #746e77; font-size: 10px; font-weight: 800; }
.ps-field input, .ps-field select, .ps-field textarea { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #ded9e0; border-radius: 9px; color: var(--ps-ink); background: #fff; outline: none; font-size: 12px; }
.ps-field input:focus, .ps-field select:focus, .ps-field textarea:focus { border-color: #dc9486; box-shadow: 0 0 0 3px #fff0ed; }
.ps-field small { color: #9b949d; font-size: 9px; }
.ps-color-field { min-height: 48px; padding: 6px 9px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--ps-line); border-radius: 9px; }
.ps-color-field input { width: 42px; height: 33px; padding: 2px; }
.ps-check-field { padding: 9px 10px; display: flex; align-items: center; gap: 9px; align-self: end; border: 1px solid var(--ps-line); border-radius: 9px; cursor: pointer; }
.ps-check-field input { position: absolute; opacity: 0; }
.ps-check-field > i { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid #d8d2d9; border-radius: 7px; color: transparent; font-style: normal; }
.ps-check-field input:checked + i { color: #fff; border-color: var(--ps-green); background: var(--ps-green); }
.ps-check-field > span { display: flex; flex-direction: column; }
.ps-check-field strong { font-size: 10px; }
.ps-check-field small { color: var(--ps-muted); font-size: 8px; }
.ps-modal form > footer { padding: 14px 25px; display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--ps-line); background: #fcfbfc; }
.ps-new-order-overlay { padding: 18px; }
.ps-new-order-modal { display: flex; flex-direction: column; max-height: calc(100vh - 36px); overflow: hidden; width: min(1320px,100%); }
.ps-new-order-modal > header { flex: 0 0 auto; }
.ps-new-order-modal-body { flex: 1; overflow-y: auto; padding: 20px; }
.ps-new-order-modal .ps-order-form { max-width: none; }
.ps-new-order-modal .ps-form-section,.ps-new-order-modal .ps-order-summary { box-shadow: none; }
.ps-order-overlay { padding: 22px; }
.ps-order-detail-modal { display: flex; flex-direction: column; max-height: min(92vh, 920px); overflow: hidden; width: min(1040px, 100%); }
.ps-order-modal-header { align-items: center !important; background: #fff; flex: 0 0 auto; }
.ps-order-modal-title h2 { font-size: 25px !important; }
.ps-order-modal-title p { font-size: 12px !important; }
.ps-order-modal-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.ps-order-modal-actions .ps-button { min-height: 42px; }
.ps-order-modal-actions .ps-print-after-accept { background: #fff5e5; border-radius: 8px; color: #946416; font-size: 11px; font-weight: 700; padding: 9px 11px; }
.ps-order-detail-body { flex: 1; overflow-y: auto; padding-top: 18px; }
.ps-order-detail-body > .ps-customer-card { margin-bottom: 17px; }
.ps-order-detail-grid { align-items: start; display: grid; gap: 20px; grid-template-columns: minmax(0,1fr) 275px; }
.ps-order-detail-main { display: flex; flex-direction: column; gap: 15px; min-width: 0; }
.ps-order-facts { background: #f8f7f8; border: 1px solid var(--ps-line); border-radius: 12px; display: grid; gap: 8px; grid-template-columns: repeat(4,1fr); padding: 14px; }
.ps-order-facts div { display: flex; flex-direction: column; gap: 3px; }
.ps-order-facts span { color: var(--ps-muted); font-size: 10px; text-transform: uppercase; }
.ps-order-facts strong { color: var(--ps-ink); font-size: 13px; }
.ps-order-detail-section { border: 1px solid var(--ps-line); border-radius: 12px; padding: 15px; }
.ps-order-detail-section > h3,.ps-order-financial > h3 { color: var(--ps-ink); font: 800 15px/1.3 Manrope,'Segoe UI',sans-serif; margin: 0 0 11px; }
.ps-order-detail-section > p { color: #565d69; font-size: 13px; line-height: 1.55; margin: 0; }
.ps-order-detail-section > small { color: var(--ps-muted); display: block; font-size: 11px; margin-top: 4px; }
.ps-order-detail-section .ps-map-button { display: inline-flex; margin-top: 10px; }
.ps-order-product-list { display: flex; flex-direction: column; gap: 10px; }
.ps-order-product-card { background: #f7f6f7; border: 1px solid #e9e6e8; border-radius: 10px; padding: 13px; }
.ps-order-product-card > header { align-items: flex-start; display: grid; gap: 9px; grid-template-columns: 24px minmax(0,1fr) auto; }
.ps-order-product-card > header span { align-items: center; background: var(--ps-red); border-radius: 7px; color: #fff; display: flex; font-size: 11px; font-weight: 800; height: 24px; justify-content: center; }
.ps-order-product-card > header strong { color: #394252; font-size: 14px; text-transform: uppercase; }
.ps-order-product-card > header b { color: #394252; font-size: 13px; white-space: nowrap; }
.ps-order-product-card > p { color: #687183; font-size: 12px; line-height: 1.5; margin: 7px 0 7px 33px; }
.ps-order-product-card > footer { align-items: center; border-top: 1px dashed #d9d5d8; display: flex; gap: 12px; margin-top: 9px; padding-top: 9px; }
.ps-order-product-card > footer span,.ps-order-product-card > footer small { color: #636b78; font-size: 11px; }
.ps-order-product-card > footer small { flex: 1; }
.ps-order-product-card > footer b { color: #333b49; font-size: 13px; }
.ps-order-item-note { background: #171717; border-radius: 6px; color: #fff; display: flex; flex-direction: column; gap: 3px; margin: 8px 0 5px 33px; padding: 8px 10px; }
.ps-order-item-note strong { font-size: 9px; letter-spacing: .08em; }
.ps-order-item-note span { font-size: 12px; font-weight: 700; }
.ps-order-general-note { background: #171717; border-radius: 7px; color: #fff !important; font-weight: 700; padding: 11px 12px; }
.ps-order-financial { background: #fcfbfc; border: 1px solid var(--ps-line); border-radius: 12px; padding: 16px; position: sticky; top: 0; }
.ps-order-financial dl { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.ps-order-financial dl > div { align-items: center; display: flex; gap: 12px; justify-content: space-between; }
.ps-order-financial dt { color: #6d6870; font-size: 12px; }
.ps-order-financial dd { color: #31343b; font-size: 12px; font-weight: 700; margin: 0; }
.ps-order-financial .is-total { border-top: 1px solid var(--ps-line); margin-top: 3px; padding-top: 12px; }
.ps-order-financial .is-total dt,.ps-order-financial .is-total dd { color: var(--ps-ink); font-size: 17px; font-weight: 800; }
.ps-order-financial .is-change { background: #e8f8f1; border-radius: 7px; color: #08764d; padding: 9px; }
.ps-order-financial .is-change dt,.ps-order-financial .is-change dd { color: #08764d; font-weight: 800; }
.ps-order-club-summary { background: #fff1ed; border-radius: 9px; display: flex; flex-direction: column; gap: 3px; margin-top: 15px; padding: 11px; }
.ps-order-club-summary strong { color: var(--ps-red); font-size: 12px; }
.ps-order-club-summary span { color: #6a5b58; font-size: 10px; }
.ps-assign-error { background: #fff0f0; border: 1px solid #f1b8b8; border-radius: 8px; color: #a21c1c; font-size: 11px; font-weight: 700; margin-top: 10px; padding: 10px; }
.ps-without-driver-choice { background: #f8f7f8; border: 1px solid var(--ps-line); border-radius: 10px; display: flex; flex-direction: column; gap: 5px; margin-top: 14px; padding: 13px; }
.ps-without-driver-choice strong { color: var(--ps-ink); font-size: 13px; }
.ps-without-driver-choice p { color: var(--ps-muted); font-size: 11px; line-height: 1.45; margin: 0 0 5px; }
.ps-without-driver-choice .ps-button { align-self: flex-start; }

@media (max-width: 820px) {
  .ps-new-order-overlay { padding: 7px; }
  .ps-new-order-modal { max-height: calc(100vh - 14px); }
  .ps-new-order-modal-body { padding: 13px; }
  .ps-order-overlay { padding: 8px; }
  .ps-order-detail-modal { max-height: calc(100vh - 16px); }
  .ps-order-modal-header { align-items: stretch !important; flex-direction: column; }
  .ps-order-modal-actions { justify-content: flex-start; }
  .ps-order-modal-actions .ps-icon-button { margin-left: auto; position: absolute; right: 15px; top: 15px; }
  .ps-order-detail-grid { grid-template-columns: 1fr; }
  .ps-order-financial { position: static; }
  .ps-order-facts { grid-template-columns: repeat(2,1fr); }
}

/* Produtos rápidos no PDV */
.ps-pdv-products { margin: -2px 0 16px; padding: 13px; border: 1px solid #e7e2e6; border-radius: 12px; background: #faf8f8; }
.ps-pdv-products > span { display: block; margin-bottom: 8px; color: #9a929a; font-size: 8px; font-weight: 900; letter-spacing: 1px; }
.ps-pdv-products > div { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
.ps-pdv-products button { min-width: 0; padding: 9px; display: grid; grid-template-columns: 28px minmax(0,1fr) 15px; align-items: center; gap: 7px; border: 1px solid #e7e2e6; border-radius: 9px; color: var(--ps-ink); background: #fff; cursor: pointer; text-align: left; }
.ps-pdv-products button:hover { color: var(--ps-red); border-color: #e4b6ac; box-shadow: 0 5px 12px rgba(80,46,40,.06); }
.ps-pdv-products button > i { font-size: 18px; font-style: normal; }
.ps-pdv-products button > span { min-width: 0; display: flex; flex-direction: column; }
.ps-pdv-products button strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.ps-pdv-products button small { color: var(--ps-red); font-size: 8px; font-weight: 800; }

@keyframes ps-fade { from { opacity: 0; } }
@keyframes ps-rise { from { opacity: 0; transform: translateY(12px) scale(.985); } }

@media (max-width: 1150px) {
  .ps-catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ps-pdv-products > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 782px) {
  .ps-admin-shell { margin-left: -10px; padding: 10px; }
  .ps-admin-shell #ps-app { height: calc(100vh - 66px); }
  .ps-shell { border-radius: 16px; }
  .ps-topbar { padding: 10px 15px; }
  .ps-establishment-context, .ps-live, .ps-user > div { display: none; }
  .ps-hero { min-height: 170px; padding: 25px 20px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 15px; }
  .ps-hero h1 { font-size: 25px; }
  .ps-hero-actions { flex-wrap: wrap; }
  .ps-app-body { padding: 16px 15px 28px; }
  .ps-horizontal-nav { margin-right: -15px; margin-left: -15px; border-right: 0; border-left: 0; border-radius: 0; }
  .ps-main { padding: 0; }
  .ps-catalog-grid { grid-template-columns: 1fr; }
  .ps-catalog-head { align-items: flex-start; flex-direction: column; }
  .ps-catalog-toolbar { grid-template-columns: 1fr; }
  .ps-product-form-grid { grid-template-columns: 1fr; }
  .ps-field-wide { grid-column: 1; }
}

@media (max-width: 520px) {
  .ps-topbar-actions .ps-icon-button { display: none; }
  .ps-user { border-left: 0; padding-left: 0; }
  .ps-catalog-head > div:last-child { width: 100%; }
  .ps-catalog-head .ps-button { flex: 1; }
  .ps-catalog-card { grid-template-columns: 92px minmax(0,1fr); }
  .ps-catalog-image { min-height: 155px; }
  .ps-overlay { padding: 10px; }
  .ps-modal { max-height: calc(100vh - 20px); }
  .ps-modal > header, .ps-modal-body, .ps-modal form > footer { padding-right: 17px; padding-left: 17px; }
  .ps-pdv-products > div { grid-template-columns: 1fr; }
}

/* Navegação lateral 0.3 */
.ps-workspace { overflow: hidden; }
.ps-app-frame { min-height: 0; display: grid; grid-template-columns: 225px minmax(0,1fr); flex: 1; }
.ps-content-column { min-width: 0; overflow-y: auto; background: var(--ps-bg); }
.ps-content-column .ps-hero { min-height: 157px; }
.ps-content-column .ps-app-body { padding: 24px 28px 38px; }
.ps-side-navigation { min-height: 0; padding: 20px 13px 16px; display: flex; flex-direction: column; border-right: 1px solid var(--ps-line); background: #fff; }
.ps-side-head { min-height: 25px; padding: 0 10px 9px; display: flex; align-items: center; justify-content: space-between; color: #aaa4ad; font-size: 8px; font-weight: 900; letter-spacing: 1.2px; }
.ps-side-navigation nav { display: flex; flex: 1; min-height: 0; flex-direction: column; gap: 4px; overflow-y: auto; }
.ps-side-navigation .ps-nav-item { width: 100%; min-height: 43px; padding: 0 11px; display: flex; align-items: center; gap: 10px; flex: 0 0 auto; border: 0; border-radius: 10px; color: #766f79; background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; text-align: left; transition: .18s ease; }
.ps-side-navigation .ps-nav-item svg { width: 17px; height: 17px; }
.ps-side-navigation .ps-nav-item span { flex: 1; }
.ps-side-navigation .ps-nav-item small { color: #aaa3aa; font-size: 6px; letter-spacing: .35px; text-transform: uppercase; }
.ps-side-navigation .ps-nav-item:hover { color: var(--ps-red); background: #fff5f2; }
.ps-side-navigation .ps-nav-item.is-active { color: #fff; background: var(--ps-red); box-shadow: 0 7px 16px rgba(212,85,63,.2); }
.ps-side-navigation .ps-nav-item.is-active small { color: rgba(255,255,255,.7); }
.ps-side-label { margin: 17px 10px 6px; color: #aaa4ad; font-size: 8px; font-weight: 900; letter-spacing: 1.2px; }
.ps-side-store { margin-top: 14px; padding: 12px; display: flex; align-items: center; gap: 9px; border: 1px solid #e9e5e8; border-radius: 11px; background: #faf9fa; }
.ps-side-store > div { display: flex; flex-direction: column; }
.ps-side-store strong { font-size: 10px; }
.ps-side-store small { margin-top: 2px; color: #969098; font-size: 8px; }
.ps-side-store.is-closed .ps-status-dot { background: #aaa3a1; border-color: rgba(170,163,161,.14); }
.ps-side-navigation .ps-sidebar-close { display: none !important; }
.ps-mobile-menu { display: none; }
.ps-backdrop { display: none; }

@media (max-width: 900px) {
  .ps-app-frame { grid-template-columns: 190px minmax(0,1fr); }
  .ps-side-navigation { padding-right: 9px; padding-left: 9px; }
  .ps-side-navigation .ps-nav-item { padding: 0 9px; font-size: 10px; }
  .ps-side-navigation .ps-nav-item small { display: none; }
}

@media (max-width: 782px) {
  .ps-app-frame { display: block; position: relative; }
  .ps-mobile-menu { display: inline-flex !important; }
  .ps-side-navigation { width: 255px; position: absolute; z-index: 70; inset: 0 auto 0 0; box-shadow: 18px 0 45px rgba(35,27,37,.18); transform: translateX(-105%); transition: transform .2s ease; }
  .ps-shell.is-menu-open .ps-side-navigation { transform: none; }
  .ps-shell.is-menu-open .ps-backdrop { display: block; position: absolute; z-index: 65; inset: 74px 0 0; background: rgba(31,25,32,.38); backdrop-filter: blur(2px); }
  .ps-side-navigation .ps-sidebar-close { display: inline-flex !important; width: 30px; height: 30px; }
  .ps-content-column { height: 100%; }
  .ps-content-column .ps-app-body { padding: 18px 15px 30px; }
  .ps-content-column .ps-hero { min-height: 170px; }
}

/* Acompanhamento do pedido e área do cliente 0.5 */
.ps-public-tracker,.ps-order-success > .ps-public-tracker { width: min(720px,100%); min-width: 0; margin: 26px auto 2px; padding: 0; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); border: 0; background: transparent; }
.ps-public-tracker > div { min-width: 0; position: relative; display: flex; align-items: center; flex-direction: column; gap: 7px; color: #aaa3aa; font-size: 8px; font-weight: 800; text-align: center; }
.ps-public-tracker > div::before { height: 2px; position: absolute; z-index: 0; top: 13px; right: 50%; left: -50%; content: ''; background: #e4dfe3; }
.ps-public-tracker > div:first-child::before { display: none; }
.ps-public-tracker i { width: 28px; height: 28px; position: relative; z-index: 1; display: grid; place-items: center; border: 2px solid #e4dfe3; border-radius: 50%; color: #aaa3aa; background: #fff; font-style: normal; }
.ps-public-tracker .is-done { color: var(--ps-red); }
.ps-public-tracker .is-done::before { background: var(--ps-red); }
.ps-public-tracker .is-done i { color: #fff; border-color: var(--ps-red); background: var(--ps-red); }
.ps-public-tracker .is-current i { box-shadow: 0 0 0 5px rgba(212,85,63,.12); }
.ps-success-actions { margin-top: 24px; display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; }
.ps-success-actions button { min-height: 38px; padding: 0 13px; border: 1px solid #ded8dc; border-radius: 9px; color: var(--ps-ink); background: #fff; cursor: pointer; font: 800 9px/1 Manrope, sans-serif; }
.ps-success-actions button:first-child { color: #fff; border-color: var(--ps-red); background: var(--ps-red); }

.ps-customer-area { min-height: 100vh; color: var(--ps-ink); background: #f5f3f4; font: 500 13px/1.45 Manrope, 'Segoe UI', sans-serif; }
.ps-customer-area * { box-sizing: border-box; }
.ps-customer-area > header { min-height: 72px; padding: 12px max(22px,calc((100vw - 1120px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid #ece8eb; background: rgba(255,255,255,.96); box-shadow: 0 5px 18px rgba(47,36,46,.035); }
.ps-customer-brand { display: flex; align-items: center; gap: 11px; }
.ps-customer-brand > span { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(145deg,#e36b56,var(--ps-red)); box-shadow: 0 8px 18px rgba(212,85,63,.22); font-size: 17px; font-weight: 900; }
.ps-customer-brand > div { display: flex; flex-direction: column; }
.ps-customer-brand strong { font-size: 11px; font-weight: 900; }
.ps-customer-brand small { margin-top: 1px; color: var(--ps-muted); font-size: 8px; font-weight: 700; letter-spacing: .45px; text-transform: uppercase; }
.ps-customer-area > header > button { min-height: 37px; padding: 0 13px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #e5e0e4; border-radius: 9px; color: #6e6770; background: #fff; cursor: pointer; font: 800 9px/1 Manrope, sans-serif; }
.ps-customer-area > header > button:hover { color: var(--ps-red); border-color: #e5b5ac; }
.ps-customer-area > header > button.is-syncing svg { animation: ps-spin .8s linear infinite; }
.ps-customer-hero { min-height: 225px; padding: 40px max(22px,calc((100vw - 1120px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 35px; color: #fff; background: linear-gradient(116deg,#a52d2a 0%,#cf4f3d 52%,#e36e56 100%); overflow: hidden; position: relative; }
.ps-customer-hero::after { width: 350px; height: 350px; position: absolute; right: -90px; bottom: -230px; content: ''; border: 55px solid rgba(255,255,255,.06); border-radius: 50%; }
.ps-customer-hero > div,.ps-customer-hero > aside { position: relative; z-index: 1; }
.ps-customer-hero > div > span,.ps-active-orders > header span,.ps-order-history > header span { font-size: 8px; font-weight: 900; letter-spacing: 1.55px; }
.ps-customer-hero h1 { margin: 8px 0 6px; color: #fff; font: 900 clamp(27px,4vw,42px)/1.08 Manrope, sans-serif; letter-spacing: -1.4px; }
.ps-customer-hero p { max-width: 540px; margin: 0; color: rgba(255,255,255,.76); font-size: 12px; }
.ps-customer-hero aside { min-width: 170px; padding: 20px 22px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 15px; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.ps-customer-hero aside strong { font-size: 32px; line-height: 1; }
.ps-customer-hero aside span { max-width: 80px; color: rgba(255,255,255,.76); font-size: 9px; font-weight: 700; }
.ps-customer-area > main { width: min(1120px,calc(100% - 44px)); margin: 0 auto; padding: 30px 0 60px; }
.ps-customer-error { margin-bottom: 16px; padding: 11px 14px; border: 1px solid #efc7c0; border-radius: 10px; color: #a63c31; background: #fff3f1; font-size: 10px; font-weight: 800; }
.ps-saved-profile { margin-bottom: 26px; padding: 18px; border: 1px solid #e9e4e7; border-radius: 14px; background: #fff; box-shadow: 0 7px 20px rgba(48,37,47,.035); }
.ps-saved-profile > header { margin-bottom: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ps-saved-profile > header span { color: var(--ps-red); font-size: 8px; font-weight: 900; letter-spacing: 1.3px; }
.ps-saved-profile > header h2 { margin: 3px 0 0; font: 900 16px/1.2 Manrope,sans-serif; }
.ps-saved-profile > header small { color: #999299; font-size: 8px; }
.ps-saved-profile > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.ps-saved-profile article { padding: 10px 11px; display: flex; align-items: center; gap: 9px; border-radius: 10px; background: #faf8f9; }
.ps-saved-profile article > span { width: 31px; height: 31px; display: grid; flex: 0 0 31px; place-items: center; border-radius: 9px; color: var(--ps-red); background: #fff0ed; font-size: 11px; font-weight: 900; }
.ps-saved-profile article > div { display: flex; min-width: 0; flex-direction: column; }
.ps-saved-profile article strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.ps-saved-profile article small { margin-top: 2px; overflow: hidden; color: #918a92; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.ps-active-orders > header,.ps-order-history > header { margin-bottom: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.ps-active-orders > header span,.ps-order-history > header span { color: var(--ps-red); }
.ps-active-orders > header h2,.ps-order-history > header h2 { margin: 3px 0 0; font: 900 20px/1.2 Manrope, sans-serif; letter-spacing: -.4px; }
.ps-active-orders > header small,.ps-order-history > header small { color: #989198; font-size: 8px; font-weight: 800; }
.ps-active-order { margin-bottom: 30px; padding: 24px 25px 21px; border: 1px solid #e9e4e7; border-radius: 15px; background: #fff; box-shadow: 0 9px 26px rgba(48,37,47,.05); }
.ps-active-order > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.ps-active-order > header > div span { color: #9b949b; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.ps-active-order h3 { margin: 2px 0 0; font: 900 22px/1 Manrope, sans-serif; }
.ps-active-order > p { margin: 16px 0 22px; color: #746d75; font-size: 11px; }
.ps-customer-status { min-height: 27px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; border-radius: 20px; color: #b56d1f; background: #fff3dd; font-size: 8px; font-weight: 900; white-space: nowrap; }
.ps-customer-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(181,109,31,.1); }
.ps-customer-status.is-production,.ps-customer-status.is-confirmed { color: #b44a3e; background: #fff0ed; }
.ps-customer-status.is-ready { color: #337f50; background: #eaf7ef; }
.ps-customer-status.is-delivery { color: #36709e; background: #ebf4fb; }
.ps-customer-status.is-finished { color: #337f50; background: #eaf7ef; }
.ps-customer-status.is-cancelled { color: #8b858b; background: #efedef; }
.ps-customer-tracker { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); }
.ps-customer-tracker > div { min-width: 0; position: relative; display: flex; align-items: center; flex-direction: column; gap: 7px; color: #aaa4aa; font-size: 8px; font-weight: 800; text-align: center; }
.ps-customer-tracker > div::before { height: 2px; position: absolute; z-index: 0; top: 13px; right: 50%; left: -50%; content: ''; background: #e9e5e8; }
.ps-customer-tracker > div:first-child::before { display: none; }
.ps-customer-tracker i { width: 28px; height: 28px; position: relative; z-index: 1; display: grid; place-items: center; border: 2px solid #e5e0e4; border-radius: 50%; color: #aaa4aa; background: #fff; font-size: 8px; font-style: normal; }
.ps-customer-tracker .is-done { color: var(--ps-red); }
.ps-customer-tracker .is-done::before { background: var(--ps-red); }
.ps-customer-tracker .is-done i { color: #fff; border-color: var(--ps-red); background: var(--ps-red); }
.ps-customer-tracker .is-current i { box-shadow: 0 0 0 5px rgba(212,85,63,.11); }
.ps-active-order > footer { margin-top: 22px; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #efebee; }
.ps-active-order > footer > div { display: flex; flex-direction: column; gap: 2px; }
.ps-active-order > footer span { color: #9b949b; font-size: 8px; }
.ps-active-order > footer strong { font-size: 12px; }
.ps-active-order > footer button { padding: 8px 10px; display: inline-flex; align-items: center; gap: 5px; border: 0; color: var(--ps-red); background: transparent; cursor: pointer; font: 900 9px/1 Manrope, sans-serif; }
.ps-order-history { margin-top: 28px; }
.ps-history-order { width: 100%; min-height: 74px; padding: 13px 17px; display: grid; grid-template-columns: 37px minmax(0,1fr) auto 20px; align-items: center; gap: 13px; border: 1px solid #e9e5e8; border-bottom: 0; color: var(--ps-ink); background: #fff; cursor: pointer; text-align: left; }
.ps-history-order:nth-child(2) { border-radius: 13px 13px 0 0; }
.ps-history-order:last-child { border-bottom: 1px solid #e9e5e8; border-radius: 0 0 13px 13px; }
.ps-history-order:hover { position: relative; z-index: 1; border-color: #dfb2aa; background: #fffaf9; }
.ps-history-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #398458; background: #eaf7ef; }
.ps-history-icon.is-cancelled { color: #8b858b; background: #efedef; }
.ps-history-order > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.ps-history-order small { color: #9d969d; font-size: 7px; font-weight: 700; text-transform: uppercase; }
.ps-history-order strong { font-size: 10px; font-style: normal; }
.ps-history-order em { margin-top: 2px; color: #8b858c; font-size: 8px; font-style: normal; }
.ps-history-order > strong { font-size: 11px; }
.ps-history-order > svg { color: #aaa4aa; }
.ps-history-empty,.ps-customer-empty { padding: 35px 22px; border: 1px dashed #dcd6da; border-radius: 13px; color: #938d94; background: rgba(255,255,255,.55); text-align: center; font-size: 10px; }
.ps-customer-empty { min-height: 330px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.ps-customer-empty > span { width: 58px; height: 58px; margin-bottom: 16px; display: grid; place-items: center; border-radius: 17px; color: var(--ps-red); background: #fff0ed; }
.ps-customer-empty small { color: var(--ps-red); font-size: 8px; font-weight: 900; letter-spacing: 1.2px; }
.ps-customer-empty h2 { margin: 7px 0 6px; color: var(--ps-ink); font: 900 22px/1.2 Manrope, sans-serif; }
.ps-customer-empty p { max-width: 480px; margin: 0; }
.ps-customer-overlay { position: fixed; z-index: 999997; inset: 0; background: rgba(37,29,38,.46); backdrop-filter: blur(3px); animation: ps-fade .18s ease; }
.ps-customer-detail { width: min(440px,100%); height: 100%; position: fixed; z-index: 999998; top: 0; right: 0; overflow-y: auto; color: var(--ps-ink); background: #fff; box-shadow: -20px 0 55px rgba(37,29,38,.16); animation: ps-slide-left .22s ease; }
.ps-customer-detail > header { min-height: 78px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ece8eb; }
.ps-customer-detail > header span { color: #9a939b; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.ps-customer-detail > header h2 { margin: 2px 0 0; font: 900 22px/1 Manrope, sans-serif; }
.ps-customer-detail > header button { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid #e5e0e4; border-radius: 9px; color: #756e76; background: #fff; cursor: pointer; }
.ps-customer-detail > div { padding: 22px; }
.ps-detail-status { padding: 16px; border-radius: 12px; background: #faf8f9; }
.ps-detail-status p { margin: 9px 0 0; color: #756f76; font-size: 10px; }
.ps-customer-detail section + section { margin-top: 24px; }
.ps-customer-detail section h3 { margin: 0 0 11px; font-size: 9px; letter-spacing: .7px; text-transform: uppercase; }
.ps-customer-detail section article { padding: 11px 0; display: grid; grid-template-columns: 22px minmax(0,1fr) auto; gap: 9px; border-bottom: 1px solid #efebee; }
.ps-customer-detail section article > b { color: var(--ps-red); font-size: 10px; }
.ps-customer-detail section article > span { display: flex; flex-direction: column; }
.ps-customer-detail section article strong { font-size: 10px; }
.ps-customer-detail section article small { margin-top: 3px; color: #969097; font-size: 8px; }
.ps-customer-detail dl { margin: 22px 0 0; padding: 15px 16px; border-radius: 11px; background: #faf8f9; }
.ps-customer-detail dl div { padding: 5px 0; display: flex; justify-content: space-between; }
.ps-customer-detail dt,.ps-customer-detail dd { margin: 0; font-size: 9px; }
.ps-customer-detail dl div:last-child { margin-top: 7px; padding-top: 11px; border-top: 1px solid #e3dee2; }
.ps-customer-detail dl div:last-child dt,.ps-customer-detail dl div:last-child dd { font-size: 12px; font-weight: 900; }
@keyframes ps-spin { to { transform: rotate(360deg); } }
@keyframes ps-slide-left { from { opacity: 0; transform: translateX(35px); } }

@media (max-width: 680px) {
  .ps-customer-area > header { min-height: 64px; padding: 10px 15px; }
  .ps-customer-area > header > button span { display: none; }
  .ps-customer-area > header > button { width: 37px; padding: 0; justify-content: center; }
  .ps-customer-hero { min-height: 225px; padding: 28px 18px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 18px; }
  .ps-customer-hero aside { min-width: 0; padding: 11px 14px; }
  .ps-customer-hero aside strong { font-size: 23px; }
  .ps-customer-hero aside span { max-width: none; }
  .ps-customer-area > main { width: calc(100% - 28px); padding-top: 21px; }
  .ps-active-order { padding: 18px 15px; }
  .ps-active-order > header { align-items: flex-start; flex-direction: column; }
  .ps-customer-tracker,.ps-public-tracker { grid-template-columns: 1fr; gap: 0; }
  .ps-customer-tracker > div,.ps-public-tracker > div { min-height: 35px; align-items: center; flex-direction: row; gap: 9px; text-align: left; }
  .ps-customer-tracker > div::before,.ps-public-tracker > div::before { width: 2px; height: auto; inset: -50% auto 50% 13px; }
  .ps-customer-tracker i,.ps-public-tracker i { flex: 0 0 28px; }
  .ps-active-order > footer { align-items: flex-start; }
  .ps-history-order { padding: 12px 11px; grid-template-columns: 34px minmax(0,1fr) 15px; }
  .ps-history-order > strong { grid-column: 2; }
  .ps-history-order > svg { grid-column: 3; grid-row: 1/3; }
  .ps-customer-detail { width: 100%; }
  .ps-saved-profile > header { align-items: flex-start; flex-direction: column; }
  .ps-saved-profile > div { grid-template-columns: 1fr; }
}

/* Gestão de clientes 0.6 */
.ps-customer-page-head { margin-bottom: 19px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.ps-customer-page-head > div > span { color: var(--ps-red); font-size: 8px; font-weight: 900; letter-spacing: 1.3px; }
.ps-customer-page-head h2 { margin: 4px 0 3px; font: 900 23px/1.15 Manrope,'Segoe UI',sans-serif; letter-spacing: -.6px; }
.ps-customer-page-head p { margin: 0; color: var(--ps-muted); font-size: 10px; }
.ps-customer-metrics { margin-bottom: 18px; }
.ps-customer-toolbar { margin-bottom: 12px; padding: 11px 13px; display: grid; grid-template-columns: minmax(260px,520px) auto; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid #e8e3e7; border-radius: 12px; background: #fff; }
.ps-customer-toolbar > span { color: #969096; font-size: 8px; font-weight: 800; }
.ps-customer-table { overflow: hidden; border: 1px solid #e8e3e7; border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(45,35,45,.035); }
.ps-customer-table > header,.ps-customer-table > button { min-height: 67px; padding: 0 16px; display: grid; grid-template-columns: minmax(250px,1.8fr) minmax(100px,.8fr) 70px 105px 105px 18px; align-items: center; gap: 11px; }
.ps-customer-table > header { min-height: 38px; color: #9b949b; border-bottom: 1px solid #ece8eb; background: #faf9fa; font-size: 7px; font-weight: 900; letter-spacing: .7px; text-transform: uppercase; }
.ps-customer-table > button { width: 100%; border: 0; border-bottom: 1px solid #efebee; color: var(--ps-ink); background: #fff; cursor: pointer; text-align: left; }
.ps-customer-table > button:last-child { border-bottom: 0; }
.ps-customer-table > button:hover { background: #fff9f7; }
.ps-customer-table > button.is-blocked { background: #fcfbfc; opacity: .76; }
.ps-customer-table > button > span:nth-child(2) { color: #858087; font-size: 8px; }
.ps-customer-table > button > strong { font-size: 9px; }
.ps-customer-table > button > svg { color: #aaa4aa; }
.ps-customer-ident { display: flex; min-width: 0; align-items: center; gap: 10px; }
.ps-customer-ident > i { width: 36px; height: 36px; display: grid; flex: 0 0 36px; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(145deg,#e57360,var(--ps-red)); font-size: 12px; font-style: normal; font-weight: 900; }
.ps-customer-ident > span { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.ps-customer-ident strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.ps-customer-ident small { margin-top: 2px; overflow: hidden; color: #8e888f; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.ps-customer-ident em { padding: 3px 5px; border-radius: 5px; color: #87621f; background: #fff2d8; font-size: 6px; font-style: normal; font-weight: 900; }
.ps-customer-ident em.is-blocked { color: #8e4a44; background: #f9e7e4; }
.ps-customer-admin-drawer { width: min(500px,100%); }
.ps-customer-profile { padding: 15px; display: flex; align-items: center; gap: 11px; border-radius: 12px; background: #faf8f9; }
.ps-customer-profile-avatar { width: 46px; height: 46px; display: grid; flex: 0 0 46px; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(145deg,#e57360,var(--ps-red)); font-size: 17px; font-weight: 900; }
.ps-customer-profile > div:nth-child(2) { min-width: 0; display: flex; flex: 1; flex-direction: column; }
.ps-customer-profile strong { font-size: 11px; }
.ps-customer-profile span,.ps-customer-profile small { color: #8e888f; font-size: 8px; }
.ps-profile-state { padding: 5px 8px; border-radius: 15px; color: #327c4f !important; background: #eaf7ef; font-size: 7px !important; font-weight: 900; }
.ps-profile-state.is-blocked { color: #9c433a !important; background: #f9e7e4; }
.ps-customer-stats { margin: 14px 0 20px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.ps-customer-stats > div { padding: 11px; display: flex; flex-direction: column; border: 1px solid #ebe6e9; border-radius: 10px; }
.ps-customer-stats span { color: #989198; font-size: 7px; }
.ps-customer-stats strong { margin-top: 3px; font-size: 10px; }
.ps-customer-data { margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.ps-customer-data > div { padding: 9px 10px; border-radius: 8px; background: #faf8f9; }
.ps-customer-data dt { color: #99929a; font-size: 7px; }
.ps-customer-data dd { margin: 2px 0 0; font-size: 9px; font-weight: 800; }
.ps-address-card { padding: 11px 0; display: grid; grid-template-columns: 27px minmax(0,1fr); gap: 9px; border-bottom: 1px solid #efebee; }
.ps-address-card > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; color: var(--ps-red); background: #fff0ed; font-size: 8px; font-weight: 900; }
.ps-address-card strong { font-size: 9px; }
.ps-address-card p { margin: 2px 0 0; color: #777178; font-size: 8px; }
.ps-address-card small { color: #9a949a; font-size: 7px; }
.ps-customer-order-link { width: 100%; padding: 10px 0; display: grid; grid-template-columns: minmax(0,1fr) auto 15px; align-items: center; gap: 9px; border: 0; border-bottom: 1px solid #efebee; color: var(--ps-ink); background: transparent; cursor: pointer; text-align: left; }
.ps-customer-order-link > span { display: flex; flex-direction: column; }
.ps-customer-order-link strong { font-size: 9px; }
.ps-customer-order-link small { margin-top: 2px; color: #969097; font-size: 7px; }
.ps-customer-order-link svg { color: #aaa4aa; }
.ps-customer-modal { width: min(830px,100%); }
.ps-customer-modal .ps-modal-body { display: grid; gap: 21px; }
.ps-customer-address-editor { padding: 15px; border: 1px solid #e9e4e7; border-radius: 12px; background: #faf9fa; }
.ps-customer-address-editor > header { margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ps-customer-address-editor > header h3 { margin: 0; font-size: 10px; }
.ps-customer-address-editor > header p { margin: 2px 0 0; color: #999299; font-size: 8px; }
.ps-customer-address-editor > header button { padding: 7px 9px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #ded8dc; border-radius: 8px; color: var(--ps-red); background: #fff; cursor: pointer; font: 800 8px/1 Manrope,sans-serif; }
.ps-customer-address-row { padding: 13px; border: 1px solid #e7e2e6; border-radius: 10px; background: #fff; }
.ps-customer-address-row + .ps-customer-address-row { margin-top: 10px; }
.ps-customer-address-row > header { margin-bottom: 9px; display: flex; align-items: center; justify-content: space-between; }
.ps-customer-address-row > header strong { font-size: 8px; }
.ps-customer-address-row > header button { width: 25px; height: 25px; display: grid; place-items: center; border: 0; border-radius: 7px; color: #9d5550; background: #fff0ed; cursor: pointer; }
.ps-fields.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ps-pdv-address { margin-top: 14px; padding: 13px; border: 1px solid #e7e2e6; border-radius: 11px; background: #faf9fa; }
.ps-pdv-address > header { margin-bottom: 9px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ps-pdv-address > header > span { min-width: 0; display: flex; flex-direction: column; }
.ps-pdv-address > header b { color: #777078; font-size: 8px; letter-spacing: 1px; }
.ps-pdv-address > header small { margin-top: 3px; overflow: hidden; color: #6f696f; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.ps-pdv-address > header button { width: 34px; height: 34px; display: grid; flex: 0 0 34px; place-items: center; border: 1px solid #ded8dc; border-radius: 9px; color: #6e676d; background: #fff; cursor: pointer; transition: .18s ease; }
.ps-pdv-address:not(.is-collapsed) > header button svg { transform: rotate(90deg); }
.ps-pdv-address.is-collapsed { padding: 10px 13px; background: #f3faf5; border-color: #c8e5d2; }
.ps-pdv-address.is-collapsed > header { margin: 0; }
.ps-phone-lookup { margin-top: 10px; padding: 10px 12px; display: flex; align-items: center; gap: 9px; border: 1px dashed #dcd6da; border-radius: 10px; color: #817b82; background: #faf9fa; }
.ps-phone-lookup > span { width: 28px; height: 28px; display: grid; flex: 0 0 28px; place-items: center; border-radius: 8px; color: #888189; background: #efedef; }
.ps-phone-lookup > div { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.ps-phone-lookup strong { font-size: 9px; }
.ps-phone-lookup small { margin-top: 2px; color: #969097; font-size: 7px; }
.ps-phone-lookup em { padding: 4px 7px; border-radius: 13px; color: #337f50; background: #e2f3e9; font-size: 6px; font-style: normal; font-weight: 900; white-space: nowrap; }
.ps-phone-lookup.is-loading > span { border: 2px solid #e4dfe3; border-top-color: var(--ps-red); border-radius: 50%; background: transparent; animation: ps-spin .75s linear infinite; }
.ps-phone-lookup.is-loading > span svg { display: none; }
.ps-phone-lookup.is-found { color: #2f7750; border-style: solid; border-color: #bfe2cd; background: #f1faf5; }
.ps-phone-lookup.is-found > span { color: #fff; background: #3b8d5e; }
.ps-phone-lookup.is-new { color: #8c651d; border-style: solid; border-color: #eed7a8; background: #fff9ec; }
.ps-phone-lookup.is-new > span { color: #9e701d; background: #fff0cc; }
.ps-phone-lookup.is-error { color: #9b433b; border-style: solid; border-color: #efc9c4; background: #fff3f1; }
.ps-phone-lookup.is-error > span { color: #9b433b; background: #f8dfdc; }
.ps-order-step-locked { min-height: 92px; display: grid; grid-template-columns: 38px minmax(0,1fr) 30px; align-items: center; gap: 12px; color: #898188; border-style: dashed; background: #faf9fa; }
.ps-order-step-locked > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: #aaa4a9; font-size: 13px; font-weight: 900; }
.ps-order-step-locked h2 { margin: 0; }
.ps-order-step-locked p { margin: 4px 0 0; font-size: 11px; line-height: 1.45; }
.ps-print-after-accept { margin-right: auto; color: #8b8389; font-size: 11px; font-weight: 800; }
.ps-pdv-category-modal { width: min(720px,100%); }
.ps-pdv-category-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.ps-pdv-category-choices > button { min-height: 94px; padding: 14px; display: grid; grid-template-columns: 46px minmax(0,1fr) 20px; align-items: center; gap: 12px; border: 1px solid #e1dade; border-radius: 13px; color: #332e32; background: #fff; cursor: pointer; text-align: left; }
.ps-pdv-category-choices > button:hover { color: var(--ps-red); border-color: #e8a99f; background: #fff8f6; transform: translateY(-1px); }
.ps-pdv-category-choices > button > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--ps-red-soft); font-size: 23px; }
.ps-pdv-category-choices > button > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ps-pdv-category-choices strong { font-size: 16px; }
.ps-pdv-category-choices small { overflow: hidden; color: #827b81; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.ps-pdv-category-choices b { color: var(--ps-red); font-size: 11px; }
@media (max-width:640px){.ps-pdv-category-choices{grid-template-columns:1fr;}}

@media (max-width: 1050px) {
  .ps-customer-table > header,.ps-customer-table > button { grid-template-columns: minmax(220px,1.7fr) 95px 55px 90px 18px; }
  .ps-customer-table > header span:nth-child(4),.ps-customer-table > button > strong:nth-child(4) { display: none; }
}
@media (max-width: 782px) {
  .ps-customer-page-head { align-items: flex-start; flex-direction: column; }
  .ps-customer-toolbar { grid-template-columns: 1fr; }
  .ps-customer-table { border: 0; background: transparent; box-shadow: none; }
  .ps-customer-table > header { display: none; }
  .ps-customer-table > button { margin-bottom: 8px; padding: 13px; grid-template-columns: minmax(0,1fr) auto 15px; border: 1px solid #e7e2e6 !important; border-radius: 11px; }
  .ps-customer-table > button > span:nth-child(2),.ps-customer-table > button > strong:nth-child(3),.ps-customer-table > button > strong:nth-child(4) { display: none; }
  .ps-customer-table > button > strong:nth-child(5) { grid-column: 2; grid-row: 1; }
  .ps-customer-table > button > svg { grid-column: 3; grid-row: 1; }
  .ps-fields.three { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .ps-customer-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ps-customer-data,.ps-customer-stats { grid-template-columns: 1fr; }
  .ps-customer-profile { align-items: flex-start; flex-wrap: wrap; }
}

/* Entregas e entregadores 0.7 */
.ps-delivery-tabs { margin-bottom: 20px; }
.ps-delivery-head { margin-bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.ps-delivery-head > div > span,.ps-delivery-history > header span { color: var(--ps-red); font-size: 8px; font-weight: 900; letter-spacing: 1.35px; }
.ps-delivery-head h2 { margin: 4px 0 3px; font: 900 23px/1.15 Manrope,'Segoe UI',sans-serif; letter-spacing: -.6px; }
.ps-delivery-head p { margin: 0; color: var(--ps-muted); font-size: 10px; }
.ps-delivery-metrics { margin-bottom: 18px; }
.ps-delivery-board { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; align-items: start; }
.ps-delivery-column { min-width: 0; overflow: hidden; border: 1px solid #e8e3e7; border-radius: 13px; background: #f8f6f7; }
.ps-delivery-column > header { min-height: 58px; padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid #e8e3e7; background: #fff; }
.ps-delivery-column > header > div { display: flex; align-items: center; gap: 8px; }
.ps-delivery-column > header i { width: 9px; height: 9px; border-radius: 50%; background: #d9a038; box-shadow: 0 0 0 4px rgba(217,160,56,.11); }
.ps-delivery-column.is-assigned > header i { background: #5d86ad; box-shadow: 0 0 0 4px rgba(93,134,173,.11); }
.ps-delivery-column.is-in_route > header i { background: #38865a; box-shadow: 0 0 0 4px rgba(56,134,90,.11); }
.ps-delivery-column > header span { display: flex; flex-direction: column; }
.ps-delivery-column > header strong { font-size: 9px; }
.ps-delivery-column > header small { margin-top: 2px; color: #9a949a; font-size: 7px; }
.ps-delivery-column > header b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; color: #7f787f; background: #f2eff1; font-size: 8px; }
.ps-delivery-column > div { max-height: 650px; padding: 9px; overflow-y: auto; }
.ps-delivery-card { margin-bottom: 8px; padding: 13px; border: 1px solid #e7e2e6; border-radius: 11px; background: #fff; box-shadow: 0 5px 14px rgba(44,34,44,.035); }
.ps-delivery-card:last-child { margin-bottom: 0; }
.ps-delivery-card > header { display: flex; align-items: flex-start; justify-content: space-between; }
.ps-delivery-card > header > div { display: flex; flex-direction: column; }
.ps-delivery-card > header span { color: #999299; font-size: 7px; text-transform: uppercase; }
.ps-delivery-card > header strong { font: 900 17px/1.1 Manrope,sans-serif; }
.ps-delivery-card > header small { color: #999299; font-size: 7px; }
.ps-delivery-card h3 { margin: 11px 0 2px; font-size: 10px; }
.ps-delivery-card > p { min-height: 24px; margin: 0; color: #7e777f; font-size: 8px; }
.ps-delivery-contact { margin: 9px 0; display: flex; justify-content: space-between; gap: 7px; }
.ps-delivery-contact a { color: var(--ps-red); font-size: 7px; font-weight: 800; text-decoration: none; }
.ps-delivery-contact a:last-child { display: inline-flex; align-items: center; gap: 3px; }
.ps-delivery-driver { margin: 10px 0; padding: 8px; display: flex; align-items: center; gap: 8px; border-radius: 9px; background: #f3f7fa; }
.ps-delivery-driver > span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: #5d86ad; font-size: 9px; font-weight: 900; }
.ps-delivery-driver > div { display: flex; flex-direction: column; }
.ps-delivery-driver small { color: #8b99a5; font-size: 6px; font-weight: 900; letter-spacing: .7px; }
.ps-delivery-driver strong { font-size: 8px; }
.ps-delivery-card dl { margin: 11px 0 0; padding: 9px 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid #efebee; }
.ps-delivery-card dl div { display: flex; flex-direction: column; }
.ps-delivery-card dt { color: #999299; font-size: 7px; }
.ps-delivery-card dd { margin: 2px 0 0; font-size: 9px; font-weight: 900; }
.ps-delivery-card footer { padding-top: 10px; display: flex; gap: 6px; border-top: 1px solid #efebee; }
.ps-delivery-card footer .ps-button { min-width: 0; min-height: 35px; padding: 0 9px; flex: 1; font-size: 7px; }
.ps-delivery-empty { min-height: 145px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; color: #aaa4aa; }
.ps-delivery-empty span { font-size: 8px; }
.ps-delivery-history { margin-top: 20px; }
.ps-delivery-history > header { margin-bottom: 9px; display: flex; align-items: flex-end; justify-content: space-between; }
.ps-delivery-history h3 { margin: 3px 0 0; font-size: 14px; }
.ps-delivery-history > header small { color: #999299; font-size: 7px; }
.ps-delivery-history > div { overflow: hidden; border: 1px solid #e8e3e7; border-radius: 12px; background: #fff; }
.ps-delivery-history article { min-height: 54px; padding: 9px 13px; display: grid; grid-template-columns: 31px minmax(0,1fr) auto 85px; align-items: center; gap: 9px; border-bottom: 1px solid #efebee; }
.ps-delivery-history article:last-child { border-bottom: 0; }
.ps-delivery-done { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: #398458; background: #eaf7ef; }
.ps-delivery-history article > span:nth-child(2) { display: flex; flex-direction: column; }
.ps-delivery-history article strong { font-size: 9px; }
.ps-delivery-history article small { color: #969097; font-size: 7px; }
.ps-driver-summary { margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.ps-driver-summary > span { padding: 7px 10px; display: flex; align-items: center; gap: 5px; border: 1px solid #e8e3e7; border-radius: 20px; color: #817a82; background: #fff; font-size: 7px; }
.ps-driver-summary i { width: 7px; height: 7px; border-radius: 50%; background: #aaa; }
.ps-driver-summary i.is-available { background: #3b8d5e; }
.ps-driver-summary i.is-busy { background: #d39c35; }
.ps-driver-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.ps-driver-card { padding: 15px; border: 1px solid #e8e3e7; border-radius: 12px; background: #fff; box-shadow: 0 6px 17px rgba(44,34,44,.035); }
.ps-driver-card.is-inactive { opacity: .62; }
.ps-driver-card > header { display: flex; align-items: center; gap: 9px; }
.ps-driver-card > header > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(145deg,#5d94ba,#466f91); font-size: 12px; font-weight: 900; }
.ps-driver-card > header > div { min-width: 0; display: flex; flex: 1; flex-direction: column; }
.ps-driver-card > header strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.ps-driver-card > header small { color: #969097; font-size: 8px; }
.ps-driver-card > header > i { padding: 4px 6px; border-radius: 12px; color: #337f50; background: #eaf7ef; font-size: 6px; font-style: normal; font-weight: 900; }
.ps-driver-card > header > i.is-busy { color: #9b681e; background: #fff2d8; }
.ps-driver-card > header > i.is-offline { color: #817b82; background: #efedef; }
.ps-driver-card > div { margin: 14px 0; padding: 10px; display: flex; flex-direction: column; gap: 3px; border-radius: 9px; background: #faf8f9; }
.ps-driver-card > div span { display: flex; align-items: center; gap: 5px; color: #8d878e; font-size: 7px; }
.ps-driver-card > div strong { font-size: 9px; }
.ps-driver-card footer { padding-top: 10px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #efebee; }
.ps-driver-card footer > span { color: #888189; font-size: 7px; }
.ps-driver-card footer button { display: inline-flex; align-items: center; gap: 4px; border: 0; color: var(--ps-red); background: transparent; cursor: pointer; font: 800 7px/1 Manrope,sans-serif; }
.ps-assign-warning { margin-top: 10px; padding: 11px; border: 1px solid #efd8ab; border-radius: 9px; color: #8d651d; background: #fff8e9; font-size: 8px; }
.ps-map-button { margin-top: 8px; padding: 8px 9px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #e2b7af; border-radius: 8px; color: var(--ps-red); background: #fff8f6; font-size: 8px; font-weight: 800; text-decoration: none; }
.ps-order-delivery-status { padding: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-radius: 9px; background: #faf8f9; }
.ps-order-delivery-status span { padding: 4px 7px; border-radius: 12px; color: #9a671d; background: #fff2d8; font-size: 7px; font-weight: 900; }
.ps-order-delivery-status span.is-in_route,.ps-order-delivery-status span.is-delivered { color: #337f50; background: #eaf7ef; }
.ps-order-delivery-status strong { font-size: 8px; }

@media (max-width: 1100px) {
  .ps-delivery-board { grid-template-columns: 1fr; }
  .ps-delivery-column > div { max-height: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .ps-driver-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .ps-delivery-head { align-items: flex-start; flex-direction: column; }
  .ps-delivery-column > div,.ps-driver-grid { grid-template-columns: 1fr; }
  .ps-delivery-history article { grid-template-columns: 31px minmax(0,1fr) auto; }
  .ps-delivery-history article > small { grid-column: 2; }
}

/* Caixa */
.ps-cash-head { margin-bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.ps-cash-head > div > span,.ps-cash-history > header span,.ps-cash-closed > span { color: var(--ps-red); font-size: 8px; font-weight: 900; letter-spacing: 1.35px; }
.ps-cash-head h2 { margin: 4px 0 3px; font: 900 23px/1.15 Manrope,'Segoe UI',sans-serif; letter-spacing: -.6px; }
.ps-cash-head p { margin: 0; color: var(--ps-muted); font-size: 10px; }
.ps-cash-metrics { margin-bottom: 14px; }
.ps-cash-actions { margin-bottom: 18px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.ps-cash-actions > button { min-width: 0; min-height: 72px; padding: 12px; display: grid; grid-template-columns: 35px minmax(0,1fr) 15px; align-items: center; gap: 9px; border: 1px solid #e7e2e6; border-radius: 11px; color: var(--ps-ink); background: #fff; cursor: pointer; text-align: left; }
.ps-cash-actions > button:hover { border-color: #d9d0d5; box-shadow: 0 7px 18px rgba(43,34,43,.05); transform: translateY(-1px); }
.ps-cash-actions > button > span:first-child { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; }
.ps-cash-actions > button > span.is-positive { color: #347d53; background: #eaf7ef; }
.ps-cash-actions > button > span.is-negative { color: #a55449; background: #faece9; }
.ps-cash-actions > button > div { min-width: 0; display: flex; flex-direction: column; }
.ps-cash-actions strong { font-size: 9px; }
.ps-cash-actions small { margin-top: 2px; overflow: hidden; color: #999299; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.ps-cash-actions > button > svg { color: #aaa4aa; }
.ps-cash-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; align-items: start; }
.ps-cash-grid .ps-panel { min-width: 0; }
.ps-cash-payments > .ps-panel-head > strong { font-size: 13px; }
.ps-cash-payments > div:last-child article { min-height: 56px; padding: 8px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid #efebee; }
.ps-cash-payments > div:last-child article:last-child { border-bottom: 0; }
.ps-cash-payments article > span { display: flex; align-items: center; gap: 9px; }
.ps-cash-payments article i { width: 31px; height: 31px; display: grid; flex: 0 0 31px; place-items: center; border-radius: 9px; color: #6d666d; background: #f2eff1; font-size: 9px; font-style: normal; font-weight: 900; }
.ps-cash-payments article i.is-cash { color: #347d53; background: #eaf7ef; }
.ps-cash-payments article i.is-pix { color: #377984; background: #e8f5f6; }
.ps-cash-payments article > span > span { display: flex; flex-direction: column; }
.ps-cash-payments article strong,.ps-cash-payments article b { font-size: 9px; }
.ps-cash-payments article small { margin-top: 2px; color: #989198; font-size: 7px; }
.ps-cash-movements > .ps-panel-head > small { color: #999299; font-size: 7px; }
.ps-cash-movements > div:last-child article { min-height: 54px; padding: 8px 0; display: grid; grid-template-columns: 30px minmax(0,1fr) auto; align-items: center; gap: 9px; border-bottom: 1px solid #efebee; }
.ps-cash-movements > div:last-child article:last-child { border-bottom: 0; }
.ps-cash-movement-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; }
.ps-cash-movement-icon.is-positive { color: #347d53; background: #eaf7ef; }
.ps-cash-movement-icon.is-negative { color: #a55449; background: #faece9; }
.ps-cash-movements article > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.ps-cash-movements article strong { font-size: 8px; }
.ps-cash-movements article small { margin-top: 2px; overflow: hidden; color: #999299; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.ps-cash-movements article b { font-size: 8px; }
.ps-cash-movements .is-positive,.ps-cash-history .is-positive { color: #347d53; }
.ps-cash-movements .is-negative,.ps-cash-history .is-negative { color: #a55449; }
.ps-cash-history { margin-top: 20px; }
.ps-cash-history > header { margin-bottom: 9px; display: flex; align-items: flex-end; justify-content: space-between; }
.ps-cash-history h3 { margin: 3px 0 0; font-size: 14px; }
.ps-cash-history > header small { color: #999299; font-size: 7px; }
.ps-cash-history > div { overflow: hidden; border: 1px solid #e8e3e7; border-radius: 12px; background: #fff; }
.ps-cash-history > div > header,.ps-cash-history article { min-height: 54px; padding: 9px 13px; display: grid; grid-template-columns: minmax(145px,1.3fr) minmax(110px,1fr) repeat(3,minmax(80px,.7fr)); align-items: center; gap: 9px; }
.ps-cash-history > div > header { min-height: 34px; color: #9b949b; background: #faf9fa; font-size: 7px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; }
.ps-cash-history article { border-top: 1px solid #efebee; }
.ps-cash-history article > span:first-child { display: flex; flex-direction: column; }
.ps-cash-history article strong,.ps-cash-history article > span,.ps-cash-history article b { font-size: 8px; }
.ps-cash-history article small { margin-top: 2px; color: #999299; font-size: 7px; }
.ps-cash-history .is-balanced { color: #347d53; }
.ps-cash-closed { min-height: 310px; padding: 44px 22px; display: flex; align-items: center; flex-direction: column; justify-content: center; border: 1px solid #e8e3e7; border-radius: 15px; background: linear-gradient(145deg,#fff,#faf8f9); text-align: center; }
.ps-cash-closed-icon { width: 62px; height: 62px; margin-bottom: 16px; display: grid; place-items: center; border-radius: 18px; color: var(--ps-red); background: #fff0ed; }
.ps-cash-closed h2 { margin: 7px 0 7px; font: 900 23px/1.15 Manrope,sans-serif; }
.ps-cash-closed p { max-width: 530px; margin: 0 0 20px; color: var(--ps-muted); font-size: 10px; line-height: 1.6; }
.ps-cash-modal .ps-modal-body { display: grid; gap: 13px; }
.ps-cash-close-modal { width: min(760px,100%); }
.ps-cash-count-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.ps-cash-count-grid .ps-field small { margin-top: 4px; color: #938c93; font-size: 7px; }
.ps-cash-difference { margin: 5px 0; padding: 13px 15px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 12px; border: 1px solid #ead9d6; border-radius: 11px; background: #fff8f6; }
.ps-cash-difference span { font-size: 9px; font-weight: 900; }
.ps-cash-difference strong { color: #a55449; font-size: 16px; }
.ps-cash-difference small { grid-column: 1/-1; color: #999299; font-size: 7px; }
.ps-cash-difference.is-balanced { border-color: #d6e9dd; background: #f2faf5; }
.ps-cash-difference.is-balanced strong,.ps-cash-difference.is-positive strong { color: #347d53; }
.ps-cash-difference.is-negative strong { color: #a55449; }

@media (max-width: 1000px) {
  .ps-cash-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ps-cash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .ps-cash-head { align-items: flex-start; flex-direction: column; }
  .ps-cash-head .ps-button { width: 100%; }
  .ps-cash-actions { grid-template-columns: 1fr; }
  .ps-cash-history > div { overflow-x: auto; }
  .ps-cash-history > div > header,.ps-cash-history article { min-width: 650px; }
  .ps-cash-count-grid { grid-template-columns: 1fr; }
}

/* Cupons, fidelidade e relatórios */
.ps-coupon-list { overflow: hidden; border: 1px solid #e8e3e7; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(44,34,44,.035); }
.ps-coupon-list > header,.ps-coupon-list > article { min-height: 64px; padding: 10px 15px; display: grid; grid-template-columns: minmax(145px,1.25fr) minmax(110px,.9fr) minmax(150px,1.2fr) minmax(115px,.85fr) 75px 30px; align-items: center; gap: 12px; }
.ps-coupon-list > header { min-height: 37px; color: #958e95; background: #faf9fa; font-size: 7px; font-weight: 900; letter-spacing: .65px; text-transform: uppercase; }
.ps-coupon-list > article { border-top: 1px solid #efebee; }
.ps-coupon-list article > span { min-width: 0; display: flex; flex-direction: column; }
.ps-coupon-list article > span:first-child strong { color: var(--ps-red); letter-spacing: .8px; }
.ps-coupon-list article strong { font-size: 9px; }
.ps-coupon-list article small { margin-top: 3px; overflow: hidden; color: #999299; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.ps-coupon-list article > b { padding: 5px 7px; border-radius: 15px; color: #7f787f; background: #efedef; font-size: 7px; text-align: center; }
.ps-coupon-list article > b.is-active { color: #347d53; background: #eaf7ef; }
.ps-coupon-list article > b.is-scheduled { color: #39758c; background: #e8f3f7; }
.ps-coupon-list article > b.is-expired,.ps-coupon-list article > b.is-exhausted { color: #a55449; background: #faece9; }
.ps-coupon-list article > button { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; color: #827b82; background: #f5f2f4; cursor: pointer; }
.ps-coupon-list article > button:hover { color: var(--ps-red); background: #fff0ed; }
.ps-coupon-modal { width: min(790px,100%); }
.ps-coupon-modal .ps-check-field { min-height: 72px; }
.ps-customer-modal input[name="points"][readonly] { color: #8a838a; background: #f5f2f4; cursor: not-allowed; }

.ps-loyalty-head { margin-bottom: 18px; padding: 21px 23px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #eadcd7; border-radius: 15px; background: linear-gradient(125deg,#fff8f5,#fff); }
.ps-loyalty-head > div > span { color: var(--ps-red); font-size: 8px; font-weight: 900; letter-spacing: 1.35px; }
.ps-loyalty-head h2 { margin: 4px 0; font: 900 22px/1.15 Manrope,sans-serif; }
.ps-loyalty-head p { margin: 0; color: #8e878e; font-size: 9px; }
.ps-loyalty-head p strong { color: var(--ps-ink); }
.ps-loyalty-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 12px; }
.ps-loyalty-ranking article,.ps-loyalty-feed article { min-height: 55px; padding: 8px 0; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid #efebee; }
.ps-loyalty-ranking article:last-child,.ps-loyalty-feed article:last-child { border-bottom: 0; }
.ps-loyalty-ranking article > i { width: 27px; height: 27px; display: grid; flex: 0 0 27px; place-items: center; border-radius: 9px; color: #9b6a24; background: #fff3d9; font-size: 8px; font-style: normal; font-weight: 900; }
.ps-loyalty-ranking article > span,.ps-loyalty-feed article > span:last-child { min-width: 0; display: flex; flex: 1; flex-direction: column; }
.ps-loyalty-ranking article strong,.ps-loyalty-feed article strong { font-size: 9px; }
.ps-loyalty-ranking article small,.ps-loyalty-feed article small { margin-top: 2px; overflow: hidden; color: #999299; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.ps-loyalty-ranking article > b { color: #8f631e; font-size: 9px; }
.ps-loyalty-ranking article > button { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 8px; color: var(--ps-red); background: #fff0ed; cursor: pointer; }
.ps-loyalty-feed article > span:first-child { min-width: 44px; padding: 6px 7px; border-radius: 8px; font-size: 8px; font-weight: 900; text-align: center; }
.ps-loyalty-feed .is-positive { color: #347d53; background: #eaf7ef; }
.ps-loyalty-feed .is-negative { color: #a55449; background: #faece9; }

.ps-report-filter { margin-bottom: 18px; padding: 17px; display: grid; grid-template-columns: minmax(205px,.75fr) minmax(420px,1.7fr) auto; align-items: end; gap: 15px; border: 1px solid #e8e3e7; border-radius: 14px; background: linear-gradient(135deg,#fff 62%,#fff8f6); }
.ps-report-filter-title > span { color: var(--ps-red); font-size: 7px; font-weight: 900; letter-spacing: 1.2px; }
.ps-report-filter h2 { margin: 3px 0; font: 900 18px/1.15 Manrope,sans-serif; }
.ps-report-filter-title p { margin: 0; color: #958e95; font-size: 7px; line-height: 1.5; }
.ps-report-filter-fields { display: grid; grid-template-columns: repeat(3,minmax(100px,1fr)); gap: 8px; }
.ps-report-filter label { display: flex; flex-direction: column; gap: 5px; color: #8c858c; font-size: 7px; font-weight: 800; }
.ps-report-filter input,.ps-report-filter select { width: 100%; min-height: 36px; padding: 0 9px; border: 1px solid #ddd7db; border-radius: 8px; color: var(--ps-ink); background: #fff; font: 700 8px Manrope,sans-serif; }
.ps-report-actions { display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; }
.ps-report-actions .ps-primary { grid-column: 1/-1; }
.ps-report-actions a { min-width: 74px; text-decoration: none; }
.ps-report-metrics { grid-template-columns: repeat(6,minmax(0,1fr)); }
.ps-report-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.ps-report-grid .ps-panel { min-width: 0; }
.ps-report-wide { grid-column: 1/-1; }
.ps-sales-chart { height: 205px; padding: 14px 2px 0; display: flex; align-items: flex-end; gap: 5px; overflow-x: auto; }
.ps-sales-chart > div { min-width: 18px; height: 100%; display: flex; align-items: center; flex: 1; flex-direction: column; justify-content: flex-end; gap: 6px; }
.ps-sales-chart span { width: min(17px,80%); min-height: 5px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg,var(--ps-red),#d66b58); }
.ps-sales-chart small { color: #9a939a; font-size: 6px; transform: rotate(-40deg); white-space: nowrap; }
.ps-report-payments article,.ps-report-products article,.ps-report-coupons article { min-height: 49px; padding: 7px 0; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid #efebee; }
.ps-report-payments article:last-child,.ps-report-products article:last-child,.ps-report-coupons article:last-child { border-bottom: 0; }
.ps-report-payments article > span,.ps-report-products article > span { min-width: 0; display: flex; flex: 1; flex-direction: column; }
.ps-report-payments strong,.ps-report-products strong,.ps-report-coupons strong { font-size: 8px; }
.ps-report-payments small,.ps-report-products small { margin-top: 2px; color: #999299; font-size: 7px; }
.ps-report-payments b,.ps-report-products b,.ps-report-coupons b { font-size: 8px; }
.ps-report-products i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; color: #8a6385; background: #f4edf3; font-size: 7px; font-style: normal; font-weight: 900; }
.ps-report-coupons article > span { margin-left: auto; color: #938c93; font-size: 7px; }
.ps-report-hours article { min-height: 43px; display: grid; grid-template-columns: 39px minmax(60px,1fr) 55px 66px; align-items: center; gap: 8px; border-bottom: 1px solid #efebee; }
.ps-report-hours article:last-child { border-bottom: 0; }
.ps-report-hours article > strong,.ps-report-hours article > b { font-size: 8px; }
.ps-report-hours article > small { color: #908990; font-size: 7px; }
.ps-report-hours article > span { height: 6px; overflow: hidden; border-radius: 9px; background: #f1edef; }
.ps-report-hours article > span i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg,#e78978,var(--ps-red)); }
.ps-report-table-scroll { overflow-x: auto; }
.ps-report-table-scroll > header,.ps-report-table-scroll > article { min-width: 620px; min-height: 43px; padding: 0 9px; display: grid; grid-template-columns: minmax(175px,1.5fr) repeat(3,minmax(85px,1fr)); align-items: center; gap: 10px; }
.ps-report-table-scroll > header { min-height: 31px; color: #9a939a; background: #faf8f9; font-size: 7px; font-weight: 900; letter-spacing: .45px; text-transform: uppercase; }
.ps-report-table-scroll > article { border-top: 1px solid #efebee; color: #766f76; font-size: 8px; }
.ps-report-table-scroll .is-name { color: var(--ps-ink); font-weight: 850; }
.ps-report-club > .ps-panel-head > strong { display: flex; flex-direction: column; color: #347d53; font-size: 15px; text-align: right; }
.ps-report-club > .ps-panel-head > strong small { color: #8e988f; font-size: 6px; letter-spacing: .9px; }

/* Financeiro */
.ps-finance-head { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.ps-finance-head form { align-items: flex-end; display: flex; flex-wrap: wrap; gap: 9px; }
.ps-finance-head label { display: flex; flex-direction: column; gap: 4px; }
.ps-finance-head label span { color: var(--ps-muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.ps-finance-head input { background: #fff; border: 1px solid var(--ps-line); border-radius: 8px; min-height: 38px; padding: 7px 10px; }
.ps-finance-tabs { margin-bottom: 17px; }
.ps-finance-overview-grid { display: grid; gap: 16px; grid-template-columns: minmax(0,1.4fr) minmax(280px,.8fr); margin-bottom: 16px; }
.ps-finance-composition > .ps-panel-head > strong { color: var(--ps-red); font: 800 18px Manrope,sans-serif; }
.ps-finance-composition > div:last-child > article { align-items: center; border-bottom: 1px solid var(--ps-line); display: grid; gap: 11px; grid-template-columns: 34px 1fr auto; padding: 14px 18px; }
.ps-finance-composition > div:last-child > article:last-child { border-bottom: 0; }
.ps-finance-composition article > span { align-items: center; background: #f5f2f1; border-radius: 9px; color: var(--ps-red); display: flex; height: 34px; justify-content: center; width: 34px; }
.ps-finance-composition article > span.is-club { background: #fff5d9; color: #a77412; }
.ps-finance-composition article > span.is-other { background: #e9f6ee; color: #33805a; }
.ps-finance-composition article div { display: flex; flex-direction: column; gap: 2px; }
.ps-finance-composition article strong { font-size: 11px; }
.ps-finance-composition article small { color: var(--ps-muted); font-size: 9px; }
.ps-finance-composition article b { font: 800 13px Manrope,sans-serif; }
.ps-finance-indicators > div:last-child { padding: 5px 18px 10px; }
.ps-finance-indicators article { align-items: center; border-bottom: 1px solid var(--ps-line); display: flex; justify-content: space-between; padding: 12px 0; }
.ps-finance-indicators article:last-child { border-bottom: 0; }
.ps-finance-indicators article span { color: var(--ps-muted); font-size: 10px; }
.ps-finance-indicators article strong { font-size: 11px; }
.ps-finance-table { overflow-x: auto; }
.ps-finance-table > header,.ps-finance-table > article { align-items: center; display: grid; gap: 10px; grid-template-columns: minmax(210px,1.6fr) .65fr .8fr .65fr .7fr auto; min-width: 860px; padding: 11px 18px; }
.ps-finance-table > header { background: #faf8f7; color: var(--ps-muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.ps-finance-table > article { border-top: 1px solid var(--ps-line); font-size: 10px; }
.ps-finance-table > article > span:first-child { align-items: center; display: flex; gap: 9px; }
.ps-finance-table > article > span:first-child > i { align-items: center; background: #eaf6ee; border-radius: 8px; color: #33805a; display: flex; height: 31px; justify-content: center; min-width: 31px; }
.ps-finance-table > article > span:first-child > i.is-expense { background: #fff0ed; color: var(--ps-red); }
.ps-finance-table > article > span:first-child > span { display: flex; flex-direction: column; gap: 2px; }
.ps-finance-table small { color: var(--ps-muted); font-size: 8px; }
.ps-finance-table em { border-radius: 20px; font-size: 8px; font-style: normal; font-weight: 800; padding: 5px 8px; }
.ps-finance-table em.is-paid { background: #e8f5ed; color: #28734c; }
.ps-finance-table em.is-pending { background: #fff5dc; color: #986c12; }
.ps-finance-table em.is-overdue { background: #ffebe7; color: #b63830; }
.ps-finance-table em.is-cancelled { background: #efedee; color: #777177; }
.ps-finance-table .is-positive { color: #28734c; }
.ps-finance-table .is-negative,.ps-finance-indicators .is-negative { color: var(--ps-red); }
.ps-finance-table > article > span:last-child { align-items: center; display: flex; gap: 5px; justify-content: flex-end; }
.ps-finance-table .ps-button { min-height: 28px; padding: 5px 9px; }
.ps-finance-mini-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ps-credit-grid { display: grid; gap: 13px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.ps-credit-grid > article { padding: 17px; }
.ps-credit-grid header { align-items: center; display: flex; gap: 10px; }
.ps-credit-grid header > span { align-items: center; background: var(--ps-red); border-radius: 50%; color: #fff; display: flex; font-weight: 800; height: 35px; justify-content: center; width: 35px; }
.ps-credit-grid header div { display: flex; flex-direction: column; }
.ps-credit-grid header strong { font-size: 11px; }
.ps-credit-grid header small,.ps-credit-grid footer { color: var(--ps-muted); font-size: 8px; }
.ps-credit-grid > article > div { display: flex; justify-content: space-between; margin: 17px 0 9px; }
.ps-credit-grid > article > div span { display: flex; flex-direction: column; font-size: 8px; gap: 3px; }
.ps-credit-grid > article > div b { color: var(--ps-ink); font-size: 11px; }
.ps-credit-grid > article > i { background: #eeeae9; border-radius: 8px; display: block; height: 6px; overflow: hidden; }
.ps-credit-grid > article > i span { background: linear-gradient(90deg,#e9a950,var(--ps-red)); display: block; height: 100%; }
.ps-credit-grid footer { display: flex; justify-content: space-between; margin-top: 10px; }
.ps-credit-grid footer em { color: #9a6a17; font-style: normal; }
.ps-finance-modal .ps-modal-body { gap: 13px; }

/* Backup e segurança */
.ps-security-head { align-items: flex-end; display: flex; justify-content: space-between; margin-bottom: 17px; }
.ps-security-head > div > span { color: var(--ps-red); font-size: 8px; font-weight: 800; letter-spacing: 1.1px; }
.ps-security-head h2 { font: 800 22px/1.2 Manrope,sans-serif; margin: 4px 0; }
.ps-security-head p { color: var(--ps-muted); font-size: 10px; margin: 0; }
.ps-security-grid { display: grid; gap: 16px; grid-template-columns: minmax(0,1.45fr) minmax(280px,.75fr); margin-bottom: 16px; }
.ps-security-checks > .ps-panel-head > strong { color: #337b54; font-size: 10px; }
.ps-security-checks > div:last-child article { align-items: center; border-bottom: 1px solid var(--ps-line); display: grid; gap: 10px; grid-template-columns: 31px 1fr auto; padding: 12px 18px; }
.ps-security-checks > div:last-child article:last-child { border-bottom: 0; }
.ps-security-checks article > span { align-items: center; background: #e8f5ed; border-radius: 50%; color: #28734c; display: flex; height: 29px; justify-content: center; width: 29px; }
.ps-security-checks article.is-warning > span { background: #fff0df; color: #a56b16; }
.ps-security-checks article div { display: flex; flex-direction: column; gap: 2px; }
.ps-security-checks article strong { font-size: 10px; }
.ps-security-checks article p { color: var(--ps-muted); font-size: 8px; margin: 0; }
.ps-security-checks article em { background: #e8f5ed; border-radius: 20px; color: #28734c; font-size: 7px; font-style: normal; font-weight: 800; padding: 5px 8px; }
.ps-security-checks article.is-warning em { background: #fff0df; color: #a56b16; }
.ps-backup-settings form { display: flex; flex-direction: column; gap: 14px; padding: 17px; }
.ps-backup-settings form > div { background: #f8f6f5; border-radius: 9px; display: flex; flex-direction: column; gap: 3px; padding: 11px; }
.ps-backup-settings form > div span { color: var(--ps-muted); font-size: 8px; text-transform: uppercase; }
.ps-backup-settings form > div strong { font-size: 10px; }
.ps-backup-history { margin-bottom: 15px; }
.ps-backup-history > .ps-panel-head > small { color: var(--ps-muted); font-size: 8px; }
.ps-backup-history > div:last-child { overflow-x: auto; }
.ps-backup-history > div:last-child > header,.ps-backup-history > div:last-child > article { align-items: center; display: grid; gap: 10px; grid-template-columns: .7fr minmax(270px,1.4fr) .5fr .65fr auto; min-width: 850px; padding: 11px 18px; }
.ps-backup-history > div:last-child > header { background: #faf8f7; color: var(--ps-muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.ps-backup-history > div:last-child > article { border-top: 1px solid var(--ps-line); font-size: 9px; }
.ps-backup-history article > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.ps-backup-history article > span:first-child small { color: var(--ps-muted); }
.ps-backup-history code,.ps-backup-restore-modal code { background: #f5f2f1; border-radius: 7px; color: #6f686d; font-size: 8px; overflow: hidden; padding: 7px 9px; text-overflow: ellipsis; white-space: nowrap; }
.ps-backup-encrypted { align-items: center; color: #28734c; display: flex; font-size: 8px; gap: 5px; }
.ps-backup-history article > span:last-child { display: flex; gap: 5px; justify-content: flex-end; }
.ps-backup-history .ps-icon-button { height: 29px; width: 29px; }
.ps-backup-history .ps-icon-button.is-danger { color: var(--ps-red); }
.ps-security-notes { align-items: flex-start; background: #fff9e8; border: 1px solid #f1dfaa; border-radius: 12px; color: #8b681c; display: flex; gap: 10px; padding: 14px 16px; }
.ps-security-notes div { display: flex; flex-direction: column; gap: 3px; }
.ps-security-notes strong { font-size: 9px; }
.ps-security-notes p { font-size: 8px; margin: 0; }
.ps-security-alert { align-items: flex-start; background: #fff0ed; border: 1px solid #f2c6bf; border-radius: 10px; color: #a53932; display: flex; gap: 10px; margin-bottom: 15px; padding: 12px 14px; }
.ps-security-alert strong { font-size: 10px; }
.ps-security-alert p { font-size: 8px; margin: 2px 0 0; }
.ps-backup-restore-modal .ps-modal-body { display: flex; flex-direction: column; gap: 14px; }
.ps-restore-warning { align-items: flex-start; background: #fff0df; border-radius: 10px; color: #956316; display: flex; gap: 9px; padding: 12px; }
.ps-restore-warning strong { font-size: 9px; }
.ps-restore-warning p { font-size: 8px; margin: 2px 0 0; }

/* Treinamento e homologação */
.ps-training-intro { align-items: flex-end; background: linear-gradient(135deg,#fff 0%,#fff8f5 100%); border: 1px solid var(--ps-line); border-radius: 14px; display: flex; justify-content: space-between; margin-bottom: 13px; padding: 20px; }
.ps-training-intro > div:first-child > span { color: var(--ps-red); font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.ps-training-intro h2 { font: 800 22px/1.2 Manrope,sans-serif; margin: 5px 0 3px; }
.ps-training-intro p { color: var(--ps-muted); font-size: 10px; margin: 0; }
.ps-training-progress { align-items: center; display: flex; gap: 11px; min-width: 230px; }
.ps-training-progress > span { background: #eee9e7; border-radius: 10px; display: block; height: 8px; overflow: hidden; width: 150px; }
.ps-training-progress > span b { background: linear-gradient(90deg,var(--ps-red),#ef9c62); display: block; height: 100%; transition: width .3s ease; }
.ps-training-progress > div { display: flex; flex-direction: column; }
.ps-training-progress strong { font: 800 18px Manrope,sans-serif; }
.ps-training-progress small { color: var(--ps-muted); font-size: 8px; }
.ps-training-tabs { margin-bottom: 16px; }
.ps-training-lessons { display: grid; gap: 14px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.ps-training-lessons > article { overflow: hidden; padding: 18px; position: relative; transition: border-color .2s,box-shadow .2s; }
.ps-training-lessons > article.is-completed { border-color: #bddfc9; box-shadow: 0 6px 20px rgba(45,118,76,.06); }
.ps-training-lessons article > header { align-items: flex-start; display: grid; gap: 11px; grid-template-columns: 36px 1fr 30px; }
.ps-training-lessons article > header > span { align-items: center; background: var(--ps-red); border-radius: 10px; color: #fff; display: flex; font: 800 13px Manrope,sans-serif; height: 36px; justify-content: center; }
.ps-training-lessons article.is-completed > header > span { background: #39805a; }
.ps-training-lessons header div > small { color: var(--ps-red); font-size: 7px; font-weight: 800; letter-spacing: .6px; }
.ps-training-lessons h3 { font: 800 13px Manrope,sans-serif; margin: 3px 0; }
.ps-training-lessons header p { color: var(--ps-muted); font-size: 9px; line-height: 1.45; margin: 0; }
.ps-training-check { align-items: center; background: #fff; border: 1px solid #ddd7d4; border-radius: 50%; color: transparent; display: flex; height: 27px; justify-content: center; padding: 0; width: 27px; }
.ps-training-check.is-completed { background: #39805a; border-color: #39805a; color: #fff; }
.ps-training-lessons ol { border-top: 1px solid var(--ps-line); color: #625d60; display: flex; flex-direction: column; font-size: 8px; gap: 7px; margin: 14px 0 0; padding: 13px 0 0 20px; }
.ps-training-lessons footer { align-items: center; display: flex; justify-content: space-between; margin-top: 15px; }
.ps-training-finished { align-items: center; background: #eaf6ee; border: 1px solid #baddc6; border-radius: 13px; color: #2e7650; display: flex; gap: 11px; margin-top: 15px; padding: 15px 18px; }
.ps-training-finished strong { font-size: 11px; }
.ps-training-finished p { font-size: 9px; margin: 2px 0 0; }
.ps-validation-summary { align-items: center; background: #fff8e9; border: 1px solid #ecd9a6; border-radius: 13px; color: #8e6818; display: grid; gap: 11px; grid-template-columns: 38px 1fr auto; margin-bottom: 14px; padding: 15px 18px; }
.ps-validation-summary.is-ready { background: #eaf6ee; border-color: #bddfc9; color: #2e7650; }
.ps-validation-summary > span { align-items: center; background: rgba(255,255,255,.7); border-radius: 50%; display: flex; height: 38px; justify-content: center; }
.ps-validation-summary strong { font-size: 11px; }
.ps-validation-summary p { font-size: 9px; margin: 2px 0 0; }
.ps-validation-summary > b { font: 800 20px Manrope,sans-serif; }
.ps-validation-list > div:last-child label { align-items: flex-start; border-top: 1px solid var(--ps-line); cursor: pointer; display: grid; gap: 11px; grid-template-columns: 24px 1fr; padding: 13px 18px; }
.ps-validation-list label input { display: none; }
.ps-validation-list label > i { align-items: center; background: #fff; border: 1px solid #d8d2cf; border-radius: 6px; color: transparent; display: flex; height: 22px; justify-content: center; margin-top: 2px; width: 22px; }
.ps-validation-list label.is-completed > i { background: #39805a; border-color: #39805a; color: #fff; }
.ps-validation-list label > span { display: flex; flex-direction: column; gap: 2px; }
.ps-validation-list label small { color: var(--ps-red); font-size: 7px; font-weight: 800; text-transform: uppercase; }
.ps-validation-list label strong { font-size: 10px; }
.ps-validation-list label p { color: var(--ps-muted); font-size: 8px; margin: 0; }
.ps-validation-list label.is-completed strong { color: #367c56; text-decoration: line-through; text-decoration-color: #a7c8b4; }
.ps-validation-guidance { align-items: flex-start; background: #f7f4f2; border-radius: 11px; display: flex; gap: 10px; margin-top: 14px; padding: 13px 16px; }
.ps-validation-guidance > div:first-child { color: #a56b16; }
.ps-validation-guidance strong { font-size: 9px; }
.ps-validation-guidance p { color: var(--ps-muted); font-size: 8px; margin: 2px 0 0; }

@media (max-width: 900px) {
  .ps-finance-overview-grid,.ps-credit-grid,.ps-security-grid { grid-template-columns: 1fr; }
  .ps-training-lessons { grid-template-columns: 1fr; }
  .ps-finance-mini-metrics { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .ps-security-head { align-items: stretch; flex-direction: column; gap: 12px; }
  .ps-training-intro { align-items: stretch; flex-direction: column; gap: 16px; }
  .ps-training-progress { min-width: 0; }
  .ps-training-progress > span { flex: 1; width: auto; }
  .ps-finance-head form,.ps-finance-head form label { width: 100%; }
  .ps-finance-head form .ps-button { flex: 1; }
  .ps-finance-tabs { overflow-x: auto; }
  .ps-finance-tabs button { flex: 0 0 auto; }
}

/* Catalog workflow: category -> product -> configuration */
#ps-app .ps-catalog-main-tabs { margin-bottom: 16px; padding: 6px; gap: 5px; border: 1px solid #e5dfe3; border-radius: 14px; background: #fff; }
#ps-app .ps-catalog-main-tabs button { min-height: 44px; padding: 9px 18px; border-radius: 10px; font-size: 14px; }
#ps-app .ps-catalog-main-tabs button.is-active { color: #fff; background: var(--ps-red); box-shadow: 0 7px 18px rgba(214,58,49,.2); }
#ps-app .ps-catalog-commandbar { margin-bottom: 16px; padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid #e5dfe3; border-radius: 14px; background: #fff; }
#ps-app .ps-catalog-commandbar > div h2 { margin: 0 0 3px; font-size: 19px; }
#ps-app .ps-catalog-commandbar > div p { margin: 0; color: #8b8288; font-size: 13px; }
#ps-app .ps-catalog-commandbar > div { display: flex; align-items: center; gap: 9px; }
#ps-app .ps-catalog-commandbar .ps-search-field { width: min(440px,100%); }
#ps-app .ps-catalog-manager { min-height: 570px; display: grid; grid-template-columns: 290px minmax(0,1fr); overflow: hidden; border: 1px solid #ded8dd; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(50,35,45,.04); }
#ps-app .ps-catalog-categories { border-right: 1px solid #e5dfe3; background: #fbfafb; }
#ps-app .ps-catalog-categories > header { min-height: 62px; padding: 0 15px 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e5dfe3; text-transform: uppercase; }
#ps-app .ps-catalog-categories > header strong { font-size: 13px; letter-spacing: .6px; }
#ps-app .ps-catalog-categories > header button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #ded8dd; border-radius: 9px; background: #fff; cursor: pointer; }
#ps-app .ps-catalog-categories > div > div { min-height: 62px; display: grid; grid-template-columns: minmax(0,1fr) 42px; border-bottom: 1px solid #ebe6e9; }
#ps-app .ps-catalog-categories > div > div.is-active { border-left: 4px solid var(--ps-red); background: #fff; }
#ps-app .ps-catalog-categories > div > div.is-disabled [data-category-filter] { opacity: .52; }
#ps-app .ps-catalog-categories [data-category-filter] { padding: 12px 8px 12px 18px; display: grid; grid-template-columns: 9px minmax(0,1fr) auto; align-items: center; gap: 10px; border: 0; background: transparent; cursor: pointer; text-align: left; }
#ps-app .ps-catalog-categories [data-category-filter] i { width: 9px; height: 9px; border-radius: 50%; background: var(--category-color); }
#ps-app .ps-catalog-categories [data-category-filter] span { overflow: hidden; color: #27212b; font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
#ps-app .ps-catalog-categories [data-category-filter] small { min-width: 26px; padding: 3px 7px; border-radius: 99px; color: #817880; background: #eee9ec; font-size: 11px; text-align: center; }
#ps-app .ps-catalog-categories [data-edit-category] { margin: auto; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 8px; color: #7f767d; background: transparent; cursor: pointer; }
#ps-app .ps-catalog-categories [data-edit-category]:hover { color: var(--ps-red); background: var(--ps-red-soft); }
#ps-app .ps-catalog-products { min-width: 0; }
#ps-app .ps-catalog-products > header { min-height: 78px; padding: 14px 19px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #e6e0e4; }
#ps-app .ps-catalog-products > header h2 { margin: 0 0 3px; font-size: 19px; }
#ps-app .ps-catalog-products > header p { margin: 0; color: #8c8389; font-size: 12px; }
#ps-app .ps-catalog-products > div { display: grid; }
#ps-app .ps-catalog-product-row { min-height: 106px; padding: 14px 17px; display: grid; grid-template-columns: 76px minmax(0,1fr) 120px 74px 82px; align-items: center; gap: 14px; border-bottom: 1px solid #ece7ea; }
#ps-app .ps-catalog-product-row.is-paused { opacity: .65; }
#ps-app .ps-catalog-product-thumb { width: 72px; height: 72px; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: #f4eeeb; font-size: 30px; }
#ps-app .ps-catalog-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
#ps-app .ps-catalog-product-row > div:nth-child(2) { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
#ps-app .ps-catalog-product-row > div:nth-child(2) strong { font-size: 15px; }
#ps-app .ps-catalog-product-row > div:nth-child(2) small,#ps-app .ps-catalog-product-row > div:nth-child(2) span { overflow: hidden; color: #8a8188; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
#ps-app .ps-catalog-product-row > p { margin: 0; display: flex; flex-direction: column; align-items: flex-end; }
#ps-app .ps-catalog-product-row > p s { color: #999097; font-size: 11px; }
#ps-app .ps-catalog-product-row > p strong { font-size: 15px; }
#ps-app .ps-catalog-product-row > em { padding: 5px 7px; border: 1px solid #38a866; border-radius: 99px; color: #20894c; font-size: 10px; font-style: normal; font-weight: 900; text-align: center; }
#ps-app .ps-catalog-product-row > em.is-hidden { border-color: #d44b42; color: #c8362f; }
#ps-app .ps-catalog-product-row > button { min-height: 36px; display: flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid #ded7dc; border-radius: 9px; background: #fff; cursor: pointer; font-size: 12px; font-weight: 800; }
#ps-app .ps-first-category { min-height: 430px; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 1px dashed #d9d1d6; border-radius: 16px; background: #fff; text-align: center; }
#ps-app .ps-first-category > div { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; color: var(--ps-red); background: var(--ps-red-soft); }
#ps-app .ps-first-category > span { margin-top: 15px; color: var(--ps-red); font-size: 11px; font-weight: 900; letter-spacing: 1px; }
#ps-app .ps-first-category h2 { margin: 5px 0; }
#ps-app .ps-first-category p { margin: 0 0 17px; color: #8b8288; }

#ps-app .ps-complement-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
#ps-app .ps-complement-grid > article { padding: 17px; border: 1px solid #e1dbe0; border-radius: 14px; background: #fff; }
#ps-app .ps-complement-grid article > header { display: flex; justify-content: space-between; gap: 12px; }
#ps-app .ps-complement-grid article > header div { display: flex; flex-direction: column; gap: 4px; }
#ps-app .ps-complement-grid article > header strong { font-size: 15px; }
#ps-app .ps-complement-grid article > header small,#ps-app .ps-complement-grid article > p { color: #8a8188; font-size: 12px; }
#ps-app .ps-complement-grid article > header button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #ddd6db; border-radius: 9px; background: #fff; cursor: pointer; }
#ps-app .ps-complement-grid article > div:last-child { display: grid; gap: 6px; }
#ps-app .ps-complement-grid article > div:last-child button { min-height: 40px; padding: 8px 10px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #eee9ec; border-radius: 8px; background: #fcfbfc; cursor: pointer; text-align: left; }
#ps-app .ps-complement-grid article > div:last-child button span { font-size: 12px; font-weight: 800; }
#ps-app .ps-complement-grid article > div:last-child button small { color: #877e85; font-size: 11px; }
#ps-app .ps-catalog-options-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
#ps-app .ps-catalog-options-grid article { min-height: 102px; padding: 15px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 9px; border: 1px solid #e0dade; border-radius: 13px; background: #fff; }
#ps-app .ps-catalog-options-grid article > div { display: flex; flex-direction: column; gap: 7px; }
#ps-app .ps-catalog-options-grid article strong { font-size: 14px; }
#ps-app .ps-catalog-options-grid article small { color: #877e85; font-size: 12px; }
#ps-app .ps-catalog-options-grid article em { color: #239a55; font-size: 10px; font-style: normal; font-weight: 900; }
#ps-app .ps-catalog-options-grid article > button { grid-column: 2; border: 0; color: #736b71; background: transparent; cursor: pointer; }

#ps-app .ps-product-modal { width: min(900px,96vw); max-height: min(900px,94vh); }
#ps-app .ps-product-modal > header { border-bottom: 1px solid #e5dfe3; }
#ps-app .ps-product-modal form { min-height: 0; display: flex; flex-direction: column; }
#ps-app .ps-product-modal-tabs { padding: 0 22px; display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid #e5dfe3; }
#ps-app .ps-product-modal-tabs button { min-height: 54px; position: relative; border: 0; color: #817880; background: transparent; cursor: pointer; font-size: 14px; font-weight: 800; }
#ps-app .ps-product-modal-tabs button.is-active { color: var(--ps-red); }
#ps-app .ps-product-modal-tabs button.is-active::after { height: 3px; position: absolute; right: 12px; bottom: -1px; left: 12px; content: ''; border-radius: 3px 3px 0 0; background: var(--ps-red); }
#ps-app .ps-product-modal-tabs small { margin-left: 6px; padding: 2px 6px; border-radius: 99px; background: #f1ecef; font-size: 10px; }
#ps-app .ps-product-modal-body { min-height: 430px; overflow-y: auto; }
#ps-app .ps-product-modal-pane:not(.is-active) { display: none; }
#ps-app .ps-product-advanced { margin-top: 16px; overflow: hidden; border: 1px solid #dfd8dd; border-radius: 12px; }
#ps-app .ps-product-advanced summary { padding: 14px 16px; display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; font-weight: 900; }
#ps-app .ps-product-advanced[open] summary { border-bottom: 1px solid #e6e0e4; background: #faf8f9; }
#ps-app .ps-product-advanced > div { padding: 16px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
#ps-app .ps-product-pane-intro { margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#ps-app .ps-product-pane-intro > div { display: flex; align-items: center; gap: 12px; }
#ps-app .ps-product-pane-intro > div > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: var(--ps-red); font-weight: 900; }
#ps-app .ps-product-pane-intro h3,#ps-app .ps-product-pane-intro p { margin: 0; }
#ps-app .ps-product-pane-intro h3 { font-size: 17px; }
#ps-app .ps-product-pane-intro p { margin-top: 3px; color: #887f85; font-size: 12px; }
#ps-app .ps-product-complement-list { display: grid; gap: 10px; }
#ps-app .ps-product-complement-list > label { min-height: 70px; padding: 12px 14px; display: grid; grid-template-columns: 25px minmax(0,1fr) auto; align-items: center; gap: 10px; border: 1px solid #e1dbe0; border-radius: 11px; cursor: pointer; }
#ps-app .ps-product-complement-list input,#ps-app .ps-product-availability article input { position: absolute; opacity: 0; pointer-events: none; }
#ps-app .ps-product-complement-list label > i,#ps-app .ps-product-availability article label > i { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #cec6cc; border-radius: 6px; color: transparent; }
#ps-app .ps-product-complement-list input:checked + i,#ps-app .ps-product-availability article input:checked + i { border-color: var(--ps-red); color: #fff; background: var(--ps-red); }
#ps-app .ps-product-complement-list label > span { display: flex; flex-direction: column; gap: 3px; }
#ps-app .ps-product-complement-list label > span strong { font-size: 14px; }
#ps-app .ps-product-complement-list label > span small { color: #8c8389; font-size: 12px; }
#ps-app .ps-product-complement-list label > em { color: #797077; font-size: 11px; font-style: normal; }
#ps-app .ps-product-availability { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
#ps-app .ps-product-availability article { padding: 17px; border: 1px solid #dfd9dd; border-radius: 12px; }
#ps-app .ps-product-availability h4 { margin: 0; font-size: 15px; }
#ps-app .ps-product-availability article > p { margin: 4px 0 15px; color: #8a8188; font-size: 12px; }
#ps-app .ps-product-availability article > div { display: flex; flex-wrap: wrap; gap: 8px; }
#ps-app .ps-product-availability article label { padding: 8px 11px; display: flex; align-items: center; gap: 7px; border: 1px solid #ded7dc; border-radius: 99px; cursor: pointer; font-size: 12px; font-weight: 800; }
#ps-app .ps-product-master-availability { min-height: 76px; padding: 14px 17px; grid-column: 1/-1; display: flex; align-items: center; gap: 12px; border: 1px solid #dfd9dd; border-radius: 12px; background: #faf9fa; cursor: pointer; }
#ps-app .ps-product-master-availability input { position: absolute; opacity: 0; }
#ps-app .ps-product-master-availability > i { width: 45px; height: 25px; position: relative; border-radius: 99px; background: #aaa4a8; }
#ps-app .ps-product-master-availability > i::after { width: 19px; height: 19px; position: absolute; left: 3px; top: 3px; content: ''; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.2); transition: .2s; }
#ps-app .ps-product-master-availability input:checked + i { background: #279b70; }
#ps-app .ps-product-master-availability input:checked + i::after { transform: translateX(20px); }
#ps-app .ps-product-master-availability > span { display: flex; flex-direction: column; gap: 3px; }
#ps-app .ps-product-master-availability small { color: #887f85; font-size: 12px; }
#ps-app .ps-builder-master-config { margin-bottom: 14px; padding: 14px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 11px; border: 1px solid #ded8dc; border-radius: 12px; background: #faf8f9; }
#ps-app .ps-builder-master-config .ps-check-field { min-height: 62px; }
#ps-app .ps-product-builder-groups { display: grid; gap: 14px; }
#ps-app .ps-product-builder-group { overflow: hidden; border: 1px solid #ddd6db; border-radius: 13px; background: #fff; }
#ps-app .ps-product-builder-group > header { min-height: 58px; padding: 10px 13px; display: grid; grid-template-columns: minmax(0,1fr) auto 34px; align-items: center; gap: 10px; border-bottom: 1px solid #e8e2e6; background: #faf8f9; }
#ps-app .ps-product-builder-group > header > div { display: flex; align-items: center; gap: 10px; }
#ps-app .ps-product-builder-group > header span { color: var(--ps-red); font-size: 9px; font-weight: 900; letter-spacing: .7px; white-space: nowrap; }
#ps-app .ps-product-builder-group > header input { width: 100%; min-height: 36px; padding: 0 9px; border: 1px solid #dcd5da; border-radius: 8px; font-size: 13px; font-weight: 900; }
#ps-app .ps-product-builder-group > header > button { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 8px; color: #a04943; background: #fff0ee; cursor: pointer; }
#ps-app .ps-builder-group-rules { padding: 13px; display: grid; grid-template-columns: 1.2fr 90px 90px 1.1fr 1.2fr; gap: 9px; border-bottom: 1px solid #ece7ea; }
#ps-app .ps-builder-group-options > header,#ps-app .ps-builder-group-options > div { display: grid; grid-template-columns: 46px minmax(170px,1fr) 150px 115px; align-items: center; gap: 10px; }
#ps-app .ps-builder-group-options > header { min-height: 35px; padding: 0 13px; color: #827980; background: #f2eff1; font-size: 9px; font-weight: 900; text-transform: uppercase; }
#ps-app .ps-builder-group-options > div { min-height: 57px; padding: 8px 13px; border-top: 1px solid #eee9ec; }
#ps-app .ps-builder-group-options > div > label:first-child { display: grid; place-items: center; }
#ps-app .ps-builder-group-options > div > label:first-child input { position: absolute; opacity: 0; }
#ps-app .ps-builder-group-options > div > label:first-child i { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #cfc7cc; border-radius: 6px; color: transparent; }
#ps-app .ps-builder-group-options > div > label:first-child input:checked + i { border-color: var(--ps-red); color: #fff; background: var(--ps-red); }
#ps-app .ps-builder-group-options > div > span { min-width: 0; display: flex; flex-direction: column; }
#ps-app .ps-builder-group-options > div > span strong,#ps-app .ps-builder-group-options > div > span small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ps-app .ps-builder-group-options > div > span strong { font-size: 12px; }
#ps-app .ps-builder-group-options > div > span small { color: #938a90; font-size: 10px; }
#ps-app .ps-builder-group-options input[type=number] { width: 100%; min-height: 36px; padding: 0 8px; border: 1px solid #dcd5da; border-radius: 8px; }
#ps-app .ps-builder-group-options .ps-price-input { display: flex; align-items: center; overflow: hidden; border: 1px solid #dcd5da; border-radius: 8px; }
#ps-app .ps-builder-group-options .ps-price-input b { padding-left: 8px; color: #7d747a; font-size: 11px; }
#ps-app .ps-builder-group-options .ps-price-input input { border: 0; }
#ps-app .ps-builder-options-empty { padding: 20px; color: #8c8389; font-size: 12px; text-align: center; }
#ps-app .ps-add-builder-group { margin-top: 13px; width: 100%; justify-content: center; }
.ps-builder-search { min-height: 46px; margin: 12px 0 0; padding: 0 13px; display: flex; align-items: center; gap: 9px; border: 1px solid #ded8dc; border-radius: 10px; color: #817980; background: #f8f6f7; }
.ps-builder-search:focus-within { border-color: color-mix(in srgb,var(--ps-red) 58%,#ddd); box-shadow: 0 0 0 3px color-mix(in srgb,var(--ps-red) 10%,transparent); background: #fff; }
.ps-builder-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: #332d32; background: transparent; font: 700 14px/1.2 Manrope,sans-serif; }
.ps-builder-flavors { grid-template-columns: 1fr; }
.ps-builder-quantity-options { margin-top: 10px; display: flex; flex-direction: column; gap: 0; overflow: hidden; border: 1px solid #e2dce0; border-radius: 12px; background: #fff; }
.ps-builder-quantity-options > article { min-height: 76px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 0; border-bottom: 1px solid #e8e3e6; border-radius: 0; background: #fff; }
.ps-builder-quantity-options > article:last-child { border-bottom: 0; }
.ps-builder-quantity-options > article.is-selected { border-color: color-mix(in srgb,var(--ps-red) 48%,#ddd); background: var(--ps-red-soft); }
.ps-builder-quantity-options article > span { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ps-builder-quantity-options article > span strong { font-size: 15px; }
.ps-builder-quantity-options article > span small { max-width: 620px; color: #746c72; font-size: 12px; line-height: 1.45; }
.ps-builder-quantity-options article > span em { color: var(--ps-red); font-size: 12px; font-style: normal; font-weight: 900; }
.ps-builder-quantity-options article > div { display: grid; grid-template-columns: 34px 30px 34px; align-items: center; text-align: center; }
.ps-builder-quantity-options article > div button { width: 32px; height: 32px; border: 1px solid #d8d1d6; border-radius: 8px; background: #fff; cursor: pointer; font-size: 17px; font-weight: 900; }
.ps-builder-quantity-options article > div button:disabled { opacity: .35; cursor: default; }
.ps-builder-quantity-options article > div b { font-size: 13px; }
.ps-builder-no-results { margin: 0; padding: 24px; color: #827a80; font-size: 13px; text-align: center; }
.ps-builder-step h3 sup { margin-left: 4px; color: var(--ps-red); font-size: 13px; }
.ps-builder-step em { display: block; margin-top: 5px; color: #c62f28; font-size: 12px; font-style: normal; font-weight: 900; }
.ps-configured-builder > section.is-builder-invalid,.ps-pizza-builder-body > section.is-builder-invalid { margin: 0 -10px; padding: 16px 10px; border: 2px solid #e43b33; border-radius: 14px; background: #fff5f3; animation: ps-required-pulse .45s ease both; }
.ps-configured-builder > section.is-builder-invalid .ps-builder-search,.ps-configured-builder > section.is-builder-invalid .ps-builder-quantity-options,.ps-pizza-builder-body > section.is-builder-invalid .ps-builder-search { border-color: #e43b33; }
.ps-builder-required-message { margin: 8px 0 0; color: #c62f28; font-size: 12px; font-weight: 900; }
@keyframes ps-required-pulse { from { transform: translateY(-3px); box-shadow: 0 0 0 7px rgba(228,59,51,.12); } to { transform: none; box-shadow: none; } }
#ps-app .ps-product-modal footer,#ps-app .ps-category-form + footer { display: flex; justify-content: space-between; }
#ps-app .ps-product-modal footer > div,#ps-app .ps-category-form + footer > div { display: flex; gap: 9px; }

/* Printing workflow: sector -> computer/printer -> route -> automatic rules */
#ps-app .ps-step-label,#ps-app .ps-print-sector-directory .ps-step-label { display: block; margin-bottom: 4px; color: var(--ps-red); font-size: 10px; font-weight: 900; letter-spacing: .9px; }
#ps-app .ps-print-sector-directory { margin-bottom: 16px; }
#ps-app .ps-print-sector-directory .ps-panel-head { align-items: flex-end; }
#ps-app .ps-print-sector-directory .ps-panel-head form { display: flex; align-items: center; gap: 8px; }
#ps-app .ps-print-sector-directory .ps-panel-head input,#ps-app .ps-print-sector-directory .ps-panel-head select { min-height: 42px; padding: 0 11px; border: 1px solid #dcd5da; border-radius: 9px; background: #fff; }
#ps-app .ps-print-sector-list { overflow-x: auto; }
#ps-app .ps-print-sector-list > header,#ps-app .ps-print-sector-list > form { min-width: 900px; display: grid; grid-template-columns: minmax(190px,1.2fr) 155px minmax(210px,1.3fr) 110px 150px; align-items: center; gap: 12px; }
#ps-app .ps-print-sector-list > header { min-height: 39px; padding: 0 17px; color: #766e74; background: #f1eef0; font-size: 10px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; }
#ps-app .ps-print-sector-list > form { min-height: 68px; padding: 10px 17px; border-top: 1px solid #e9e4e7; }
#ps-app .ps-print-sector-list input:not([type=checkbox]),#ps-app .ps-print-sector-list select { width: 100%; min-height: 40px; padding: 0 10px; border: 1px solid #ded7dc; border-radius: 8px; background: #fff; font-size: 13px; font-weight: 700; }
#ps-app .ps-print-sector-list form > span { display: flex; min-width: 0; flex-direction: column; }
#ps-app .ps-print-sector-list form > span strong,#ps-app .ps-print-sector-list form > span small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ps-app .ps-print-sector-list form > span strong { font-size: 12px; }
#ps-app .ps-print-sector-list form > span small { color: #958c92; font-size: 10px; }
#ps-app .ps-print-sector-status { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; }
#ps-app .ps-print-sector-status > input:first-child { position: absolute; opacity: 0; }
#ps-app .ps-print-sector-status > i { width: 34px; height: 19px; position: relative; border-radius: 99px; background: #aaa4a8; }
#ps-app .ps-print-sector-status > i::after { width: 15px; height: 15px; position: absolute; left: 2px; top: 2px; content: ''; border-radius: 50%; background: #fff; transition: .2s; }
#ps-app .ps-print-sector-status > input:checked + i { background: #279b70; }
#ps-app .ps-print-sector-status > input:checked + i::after { transform: translateX(15px); }
#ps-app .ps-print-sector-list form > div { display: flex; align-items: center; gap: 7px; }
#ps-app .ps-print-flow-note { margin: -3px 0 14px; padding: 12px 15px; display: flex; align-items: center; gap: 7px; border: 1px solid #eaded6; border-radius: 11px; color: #6f625c; background: #fff8f3; font-size: 12px; }
#ps-app .ps-print-flow-note > span { color: var(--ps-red); }
#ps-app .ps-print-route-title { padding: 15px 17px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid #e6e0e4; }
#ps-app .ps-print-route-title > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; color: #a46d22; background: #fff0d2; }
#ps-app .ps-print-route-title > div { min-width: 0; flex: 1; }
#ps-app .ps-print-route-title small { color: #958c92; font-size: 10px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; }
#ps-app .ps-print-route-title h3 { margin: 2px 0 0; font-size: 17px; }
#ps-app .ps-print-route-title em { padding: 5px 8px; border-radius: 99px; color: #9b6421; background: #fff1d9; font-size: 10px; font-style: normal; font-weight: 900; }
#ps-app .ps-print-route-title em:first-letter { text-transform: uppercase; }

@media (max-width: 980px) {
  #ps-app .ps-catalog-manager { grid-template-columns: 230px minmax(0,1fr); }
  #ps-app .ps-catalog-product-row { grid-template-columns: 65px minmax(0,1fr) 100px 70px; }
  #ps-app .ps-catalog-product-row > button { grid-column: 2/-1; }
  #ps-app .ps-catalog-options-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #ps-app .ps-print-sector-directory .ps-panel-head { align-items: stretch; flex-direction: column; }
}

@media (max-width: 720px) {
  #ps-app .ps-catalog-commandbar { align-items: stretch; flex-direction: column; }
  #ps-app .ps-catalog-manager { grid-template-columns: 1fr; }
  #ps-app .ps-catalog-categories { border-right: 0; border-bottom: 1px solid #e5dfe3; }
  #ps-app .ps-catalog-categories > div { max-height: 245px; overflow-y: auto; }
  #ps-app .ps-catalog-product-row { grid-template-columns: 58px minmax(0,1fr) auto; padding: 12px; }
  #ps-app .ps-catalog-product-thumb { width: 56px; height: 56px; }
  #ps-app .ps-catalog-product-row > p { grid-column: 2; align-items: flex-start; }
  #ps-app .ps-catalog-product-row > em { grid-column: 3; grid-row: 1; }
  #ps-app .ps-catalog-product-row > button { grid-column: 2/4; }
  #ps-app .ps-complement-grid,#ps-app .ps-catalog-options-grid,#ps-app .ps-product-availability { grid-template-columns: 1fr; }
  #ps-app .ps-product-modal-tabs { padding: 0 8px; }
  #ps-app .ps-product-modal-tabs button { font-size: 12px; }
  #ps-app .ps-product-advanced > div { grid-template-columns: 1fr; }
  #ps-app .ps-product-master-availability { grid-column: 1; }
  #ps-app .ps-builder-master-config,#ps-app .ps-builder-group-rules { grid-template-columns: 1fr; }
  #ps-app .ps-builder-group-options { overflow-x: auto; }
  #ps-app .ps-builder-group-options > header,#ps-app .ps-builder-group-options > div { min-width: 650px; }
  #ps-app .ps-print-sector-directory .ps-panel-head form { align-items: stretch; flex-direction: column; }
  #ps-app .ps-print-flow-note { align-items: flex-start; flex-wrap: wrap; }
}

/* Painel de impressão — controles amplos e legíveis */
#ps-app .ps-print-intro { padding: 20px 22px; border-radius: 17px; }
#ps-app .ps-print-intro h2,#ps-app .ps-print-section-head h2 { font-size: 22px; }
#ps-app .ps-print-intro p,#ps-app .ps-print-section-head p { font-size: 14px; }
#ps-app .ps-print-agent-content { padding: 20px 22px 24px; grid-template-columns: minmax(280px,.65fr) minmax(420px,1.35fr); }
#ps-app .ps-print-agent-content > form { padding: 18px; }
#ps-app .ps-print-agent-list { gap: 12px; }
#ps-app .ps-print-agent-list > article { padding: 0; display: block; overflow: hidden; border-radius: 13px; }
#ps-app .ps-print-agent-list > article > header { min-height: 68px; padding: 12px 14px; display: grid; grid-template-columns: 40px 1fr auto auto; align-items: center; gap: 10px; background: #fff; }
#ps-app .ps-print-agent-list > article > header > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: #80777d; background: #f2eff1; }
#ps-app .ps-print-agent-list > article.is-online > header > span { color: #218154; background: #e7f7ee; }
#ps-app .ps-print-agent-list > article > header > div:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
#ps-app .ps-print-agent-list > article > header strong { font-size: 14px; }
#ps-app .ps-print-agent-list > article > header small { margin-top: 2px; overflow: hidden; color: #8e878c; text-overflow: ellipsis; white-space: nowrap; }
#ps-app .ps-print-agent-list > article > header em { margin-top: 3px; color: #a55449; font-size: 11px; font-style: normal; }
#ps-app .ps-print-agent-list > article > header > i { padding: 5px 9px; border-radius: 20px; color: #776f75; background: #efedef; font-size: 10px; font-style: normal; font-weight: 900; }
#ps-app .ps-print-agent-list > article.is-online > header > i { color: #27754d; background: #e5f5eb; }
#ps-app .ps-print-agent-actions { display: flex; gap: 6px; }
#ps-app .ps-print-agent-actions button,#ps-app .ps-print-sector-actions button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #e3dce0; border-radius: 9px; color: #746c72; background: #fff; cursor: pointer; }
#ps-app .ps-print-agent-actions button:last-child,#ps-app .ps-print-sector-actions button { color: #b44538; }
#ps-app .ps-detected-printers { padding: 10px 12px 12px; display: grid; gap: 8px; border-top: 1px solid #eee9ec; background: #faf9fa; }
#ps-app .ps-detected-printers > div { min-height: 54px; padding: 8px 10px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; border: 1px solid #e8e2e5; border-radius: 10px; background: #fff; }
#ps-app .ps-detected-printers > div > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #287c51; background: #e8f7ee; }
#ps-app .ps-detected-printers p { margin: 0; display: flex; flex-direction: column; }
#ps-app .ps-detected-printers strong { font-size: 13px; }
#ps-app .ps-detected-printers button { min-height: 34px; padding: 0 13px; border: 1px solid #e1aaa1; border-radius: 8px; color: var(--ps-red); background: #fff; cursor: pointer; font-weight: 900; }
#ps-app .ps-detected-printers button:disabled { opacity: .45; cursor: not-allowed; }
#ps-app .ps-print-section-head { margin: 30px 0 15px; }
#ps-app .ps-print-section-head > div > span { font-size: 11px; }
#ps-app .ps-print-section-head input,#ps-app .ps-print-section-head select { min-height: 44px; padding: 0 13px; font-size: 13px; }
#ps-app .ps-print-sector-grid { grid-template-columns: 1fr; gap: 15px; }
#ps-app .ps-print-sector-card { border-radius: 15px; }
#ps-app .ps-print-sector-card > form:first-child { padding: 16px 18px 14px; }
#ps-app .ps-print-sector-card > form:first-child header { grid-template-columns: 44px minmax(0,1fr) auto; }
#ps-app .ps-print-sector-card > form:first-child header > span { width: 44px; height: 44px; }
#ps-app .ps-print-sector-card > form:first-child header > .ps-print-sector-meta { display: grid; grid-template-columns: minmax(190px,1fr) 150px; gap: 9px; }
#ps-app .ps-print-sector-card > form:first-child input[name="name"],#ps-app .ps-print-sector-card > form:first-child select { min-height: 40px; padding: 0 11px; font-size: 13px; }
#ps-app .ps-print-sector-actions { display: flex; align-items: center; gap: 10px; }
#ps-app .ps-print-auto { margin: 12px 0 7px; font-size: 13px; }
#ps-app .ps-print-sector-card .ps-text-button { padding: 4px 0; font-size: 12px; }
#ps-app .ps-print-sector-card > form:last-child { padding: 18px; }
#ps-app .ps-print-route-fields { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
#ps-app .ps-print-route-fields .ps-field span { font-size: 12px; }
#ps-app .ps-print-route-fields .ps-field input,#ps-app .ps-print-route-fields .ps-field select { min-height: 42px; padding: 0 11px; font-size: 13px; }
#ps-app .ps-print-layout-help { margin-top: 13px; padding: 13px 15px; }
#ps-app .ps-print-layout-help strong { font-size: 14px; }
#ps-app .ps-print-layout-help span { font-size: 12px; }
#ps-app .ps-print-options { margin: 13px 0; padding: 11px; gap: 8px; }
#ps-app .ps-print-options label { padding: 7px 9px; font-size: 12px; }
#ps-app .ps-print-route-actions .ps-button { min-width: 155px; }
#ps-app .ps-print-route-actions > div { display: flex; flex-wrap: wrap; gap: 8px; }
#ps-app .ps-print-route-actions .ps-danger-ghost { min-width: auto; color: #aa4438; border: 1px solid #e8c7c2; background: #fff; }
#ps-app .ps-print-history { margin-top: 26px; }
#ps-app .ps-print-settings-panel { margin-top: 26px; overflow: hidden; }
#ps-app .ps-print-settings-panel > form { padding: 20px 22px 22px; }
#ps-app .ps-print-rules { overflow: hidden; border: 1px solid #dddfe4; border-radius: 12px; }
#ps-app .ps-print-rules > header,#ps-app .ps-print-rule-row { min-height: 58px; padding: 9px 15px; display: grid; grid-template-columns: minmax(150px,1fr) minmax(210px,1.2fr) minmax(210px,1.2fr); align-items: center; gap: 14px; }
#ps-app .ps-print-rules > header { min-height: 42px; color: #41454e; background: #e9ebef; font-size: 12px; font-weight: 900; }
#ps-app .ps-print-rule-row { border-top: 1px solid #e7e8eb; }
#ps-app .ps-print-rule-row > strong { font-size: 14px; }
#ps-app .ps-print-rule-row label { display: grid; grid-template-columns: 1fr 150px; align-items: center; gap: 9px; }
#ps-app .ps-print-rule-row label span { color: #777179; font-size: 12px; }
#ps-app .ps-print-rule-row select { min-height: 39px; padding: 0 10px; border: 1px solid #d9d8dc; border-radius: 8px; background: #fff; font-size: 12px; }
#ps-app .ps-print-general { margin-top: 22px; display: grid; gap: 10px; }
#ps-app .ps-print-general h3 { margin: 0 0 4px; font: 900 18px Manrope,sans-serif; }
#ps-app .ps-print-setting-toggle { min-height: 74px; padding: 13px 16px; display: grid; grid-template-columns: 1fr auto 44px; align-items: center; gap: 15px; border: 1px solid #e1e2e6; border-radius: 11px; background: #fbfcfd; cursor: pointer; }
#ps-app .ps-print-setting-toggle > span:first-child { display: flex; flex-direction: column; }
#ps-app .ps-print-setting-toggle strong { font-size: 14px; }
#ps-app .ps-print-setting-toggle small { margin-top: 3px; color: #858089; }
#ps-app .ps-print-setting-toggle > span:nth-child(2) { color: #7c747a; font-size: 12px; }
#ps-app .ps-print-setting-toggle input { width: 1px; height: 1px; position: absolute; opacity: 0; }
#ps-app .ps-print-setting-toggle i { width: 42px; height: 23px; position: relative; border-radius: 20px; background: #aeb0b5; transition: .2s; }
#ps-app .ps-print-setting-toggle i::after { content: ''; width: 19px; height: 19px; position: absolute; left: 2px; top: 2px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: .2s; }
#ps-app .ps-print-setting-toggle input:checked + i { background: var(--ps-red); }
#ps-app .ps-print-setting-toggle input:checked + i::after { transform: translateX(19px); }
#ps-app .ps-print-settings-panel form > footer { padding-top: 18px; display: flex; justify-content: flex-end; }
#ps-app .ps-print-job-table > header,#ps-app .ps-print-job-table > article { min-height: 58px; grid-template-columns: 100px minmax(150px,1fr) minmax(150px,1fr) 95px 100px 120px; }
#ps-app .ps-print-job-table > header { font-size: 10px; }
#ps-app .ps-print-job-table > article { font-size: 12px; }
#ps-app .ps-print-job-table strong { font-size: 13px; }
#ps-app .ps-print-job-table em { padding: 6px 9px; font-size: 10px; }

@media (max-width: 1050px) {
  #ps-app .ps-print-agent-content { grid-template-columns: 1fr; }
  #ps-app .ps-print-route-fields { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
  #ps-app .ps-print-agent-list > article > header { grid-template-columns: 38px 1fr auto; }
  #ps-app .ps-print-agent-list > article > header > i { display: none; }
  #ps-app .ps-print-sector-card > form:first-child header { grid-template-columns: 40px 1fr; }
  #ps-app .ps-print-sector-actions { grid-column: 1 / -1; justify-content: flex-end; }
  #ps-app .ps-print-sector-card > form:first-child header > .ps-print-sector-meta,#ps-app .ps-print-route-fields { grid-template-columns: 1fr; }
  #ps-app .ps-print-route-actions { align-items: stretch; flex-direction: column; }
  #ps-app .ps-print-route-actions .ps-button { width: 100%; }
  #ps-app .ps-print-rules > header { display: none; }
  #ps-app .ps-print-rule-row { padding: 14px; grid-template-columns: 1fr; }
  #ps-app .ps-print-rule-row label { grid-template-columns: 1fr; }
  #ps-app .ps-print-setting-toggle { grid-template-columns: 1fr 42px; }
  #ps-app .ps-print-setting-toggle > span:nth-child(2) { display: none; }
}

/* 0.20 — cardápio público fiel ao fluxo do briefing */
#ps-menu-app .ps-reference-menu { max-width: 1220px; margin: 0 auto; border-radius: 8px; color: #302d2b; background: #fff; box-shadow: 0 8px 30px rgba(35,29,26,.1); }
.ps-reference-cover { min-height: 225px; position: relative; color: #fff; background: linear-gradient(135deg,var(--ps-red-dark),#312321); background-position: center; background-size: cover; }
.ps-reference-cover::before { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(20,16,15,.8),rgba(20,16,15,.08) 70%); content: ''; }
.ps-reference-cover > header { min-height: 225px; padding: 24px 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; position: relative; z-index: 1; }
.ps-reference-identity { display: flex; align-items: center; gap: 15px; }
.ps-reference-identity > span { width: 68px; height: 68px; display: grid; place-items: center; overflow: hidden; flex: 0 0 68px; border: 3px solid rgba(255,255,255,.75); border-radius: 12px; color: var(--ps-red-dark); background: #fff; font: 900 28px Manrope,sans-serif; }
.ps-reference-identity img { width: 100%; height: 100%; object-fit: cover; }
.ps-reference-identity h1 { margin: 0 0 3px; color: #fff; font: 900 23px/1.15 Manrope,'Segoe UI',sans-serif; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.ps-reference-identity p { margin: 0; color: rgba(255,255,255,.86); font-size: 13px; }
.ps-reference-identity small { margin-top: 7px; display: flex; align-items: center; gap: 7px; color: #fff; font-size: 12px; font-weight: 800; }
.ps-reference-identity small i { width: 8px; height: 8px; border-radius: 50%; background: #45c38a; box-shadow: 0 0 0 4px rgba(69,195,138,.2); }
.ps-reference-identity small.is-closed i { background: #b8b2af; box-shadow: 0 0 0 4px rgba(184,178,175,.2); }
.ps-reference-actions { align-self: flex-start; display: flex; align-items: center; gap: 8px; }
.ps-reference-actions button { min-height: 39px; padding: 0 12px; display: flex; align-items: center; gap: 7px; border: 1px solid rgba(255,255,255,.36); border-radius: 8px; color: #fff; background: rgba(25,20,18,.5); cursor: pointer; font-size: 12px; font-weight: 800; backdrop-filter: blur(8px); }
.ps-reference-actions button:hover { background: rgba(25,20,18,.72); }
.ps-reference-actions button b { min-width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: var(--ps-red-dark); background: #fff; font-size: 10px; }

#ps-menu-app .ps-reference-menu .ps-menu-service-bar { min-height: 70px; margin: 0; padding: 11px 30px; grid-template-columns: minmax(0,1fr) minmax(350px,.75fr); align-items: center; border: 0; border-bottom: 1px solid #e9e5e2; border-radius: 0; box-shadow: none; }
#ps-menu-app .ps-reference-menu .ps-menu-service-bar > div { display: flex; align-items: center; gap: 15px; }
#ps-menu-app .ps-reference-menu .ps-menu-service-bar > div > small { margin: 0; color: #625d59; font-size: 10px; white-space: nowrap; }
#ps-menu-app .ps-reference-menu .ps-menu-service-bar > div > div { flex-wrap: nowrap; }
#ps-menu-app .ps-reference-menu .ps-menu-service-bar button { min-height: 43px; padding: 6px 11px; flex: 0 1 auto; border-radius: 8px; background: #fff; }
#ps-menu-app .ps-reference-menu .ps-menu-service-bar button svg { width: 17px; }
#ps-menu-app .ps-reference-menu .ps-menu-service-bar button strong { font-size: 12px; }
#ps-menu-app .ps-reference-menu .ps-menu-service-bar button small { font-size: 10px; }
#ps-menu-app .ps-reference-menu .ps-menu-service-bar aside { padding-left: 17px; }
#ps-menu-app .ps-reference-menu .ps-menu-service-bar aside > span { width: 35px; height: 35px; flex-basis: 35px; border-radius: 8px; }
#ps-menu-app .ps-reference-menu .ps-menu-service-bar aside > div { width: 100%; }
#ps-menu-app .ps-reference-menu .ps-menu-service-bar aside > div > small { display: none; }
#ps-menu-app .ps-reference-menu .ps-menu-service-bar aside p { display: none; }
#ps-menu-app .ps-reference-menu .ps-menu-neighborhood { min-height: 39px; }

#ps-menu-app .ps-reference-menu .ps-menu-promotions { margin: 0; padding: 20px 30px 8px; grid-auto-columns: minmax(270px,1fr); grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-flow: initial; background: #fff; scrollbar-width: none; }
#ps-menu-app .ps-reference-menu .ps-menu-promotions article { min-height: 155px; padding: 19px 21px; border-radius: 8px; }
#ps-menu-app .ps-reference-menu .ps-menu-promotions small { font-size: 9px; }
#ps-menu-app .ps-reference-menu .ps-menu-promotions h2 { margin: 4px 0; font-size: 19px; }
#ps-menu-app .ps-reference-menu .ps-menu-promotions p { margin: 0 0 8px; font-size: 12px; line-height: 1.4; }
#ps-menu-app .ps-reference-menu .ps-menu-promotions button { padding: 3px 0; font-size: 11px; }

.ps-reference-content { padding: 17px 30px 48px; background: #fff; }
#ps-menu-app .ps-reference-menu .ps-menu-toolbar { margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(250px,360px); align-items: center; gap: 18px; position: sticky; top: 0; border: 0; border-bottom: 1px solid #e9e5e2; border-radius: 0; background: rgba(255,255,255,.96); box-shadow: none; }
#ps-menu-app .ps-reference-menu .ps-menu-categories { padding: 7px 0; gap: 2px; border: 0; border-radius: 0; }
#ps-menu-app .ps-reference-menu .ps-menu-categories button { min-height: 38px; padding: 7px 11px; border-radius: 5px; color: #5f5a57; font-size: 11px; }
#ps-menu-app .ps-reference-menu .ps-menu-categories button.is-active { color: var(--ps-red-dark); background: var(--ps-red-soft); }
#ps-menu-app .ps-reference-menu .ps-menu-toolbar > label { min-height: 40px; padding: 0 12px; border-radius: 7px; }
#ps-menu-app .ps-reference-menu .ps-menu-toolbar input { font-size: 12px; }
#ps-menu-app .ps-reference-menu .ps-menu-products { margin: 0 0 35px; scroll-margin-top: 70px; }
#ps-menu-app .ps-reference-menu .ps-menu-products > header { min-height: 68px; margin: 0 0 12px; padding: 14px 17px; align-items: center; border-radius: 7px; color: #fff; background: linear-gradient(100deg,var(--ps-red-dark),var(--ps-red)); }
#ps-menu-app .ps-reference-menu .ps-menu-products:nth-of-type(even) > header { background: linear-gradient(100deg,#4d5550,#788176); }
#ps-menu-app .ps-reference-menu .ps-menu-products > header h2 { margin: 0; color: #fff; font-size: 20px; }
#ps-menu-app .ps-reference-menu .ps-menu-products > header p { margin: 2px 0 0; color: rgba(255,255,255,.8); font-size: 11px; }
#ps-menu-app .ps-reference-menu .ps-menu-products > header button { padding: 7px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 5px; color: #fff; background: rgba(255,255,255,.1); cursor: pointer; font-size: 10px; }
#ps-menu-app .ps-reference-menu .ps-menu-products > div { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
#ps-menu-app .ps-reference-menu .ps-menu-product { min-height: 150px; grid-template-columns: minmax(0,1fr) 110px; border-radius: 7px; box-shadow: none; }
#ps-menu-app .ps-reference-menu .ps-menu-product:hover { border-color: color-mix(in srgb,var(--ps-red) 40%,#ddd); box-shadow: 0 7px 18px rgba(42,34,30,.08); transform: translateY(-1px); }
#ps-menu-app .ps-reference-menu .ps-menu-product-image { min-height: 150px; grid-column: 2; grid-row: 1; font-size: 42px; }
#ps-menu-app .ps-reference-menu .ps-menu-product-body { padding: 13px; grid-column: 1; grid-row: 1; }
#ps-menu-app .ps-reference-menu .ps-menu-product-body > small { font-size: 9px; }
#ps-menu-app .ps-reference-menu .ps-menu-product h3 { margin: 4px 0; font-size: 13px; }
#ps-menu-app .ps-reference-menu .ps-menu-product p { font-size: 10px; line-height: 1.4; -webkit-line-clamp: 3; }
#ps-menu-app .ps-reference-menu .ps-menu-product footer { padding-top: 8px; }
#ps-menu-app .ps-reference-menu .ps-menu-product footer > div > span { font-size: 9px; }
#ps-menu-app .ps-reference-menu .ps-menu-product s { font-size: 9px; }
#ps-menu-app .ps-reference-menu .ps-menu-product footer strong { font-size: 14px; }
#ps-menu-app .ps-reference-menu .ps-menu-product footer button { width: 30px; height: 30px; border-radius: 6px; }

.ps-customer-menu-overlay { position: fixed; z-index: 999994; inset: 0; background: rgba(25,21,20,.48); backdrop-filter: blur(2px); }
.ps-customer-menu { width: min(390px,94vw); display: flex; flex-direction: column; position: fixed; z-index: 999995; inset: 0 0 0 auto; overflow-y: auto; background: #fff; box-shadow: -18px 0 45px rgba(30,24,22,.22); animation: ps-slide-in .2s ease; }
.ps-customer-menu > header { min-height: 125px; padding: 25px 24px 18px; display: flex; align-items: center; gap: 13px; position: relative; color: #fff; background: linear-gradient(135deg,var(--ps-red-dark),var(--ps-red)); }
.ps-customer-menu > header > button { width: 32px; height: 32px; display: grid; place-items: center; position: absolute; right: 13px; top: 13px; border: 0; border-radius: 7px; color: #fff; background: rgba(255,255,255,.15); cursor: pointer; }
.ps-customer-menu > header > span { width: 51px; height: 51px; display: grid; flex: 0 0 51px; place-items: center; border: 2px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(255,255,255,.16); font: 900 20px Manrope,sans-serif; }
.ps-customer-menu > header > div { display: flex; flex-direction: column; }
.ps-customer-menu > header small { color: rgba(255,255,255,.7); font-size: 9px; font-weight: 900; letter-spacing: 1px; }
.ps-customer-menu > header strong { font-size: 17px; }
.ps-customer-menu > header p { margin: 2px 0 0; color: rgba(255,255,255,.8); font-size: 11px; }
.ps-customer-login-cta { min-height: 47px; margin: 16px 18px 5px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 8px; color: #fff; background: var(--ps-red); cursor: pointer; font-size: 12px; font-weight: 900; }
.ps-customer-menu nav { padding: 10px 13px; }
.ps-customer-menu nav button { width: 100%; min-height: 48px; padding: 8px 10px; display: grid; grid-template-columns: 28px minmax(0,1fr) 18px; align-items: center; gap: 8px; border: 0; border-radius: 7px; color: #4e4946; background: transparent; cursor: pointer; text-align: left; }
.ps-customer-menu nav button:hover { color: var(--ps-red-dark); background: var(--ps-red-soft); }
.ps-customer-menu nav button i { font-size: 17px; font-style: normal; text-align: center; }
.ps-customer-menu nav button span { font-size: 13px; font-weight: 800; }
.ps-customer-menu nav button svg { color: #aaa39f; }
.ps-customer-menu nav hr { margin: 8px 10px; border: 0; border-top: 1px solid #eee9e6; }
.ps-customer-logout { min-height: 44px; margin: auto 18px 18px; border: 1px solid #e6dfdb; border-radius: 7px; color: #8a5149; background: #fff; cursor: pointer; font-weight: 800; }

.ps-auth-modal { width: min(430px,100%); padding: 34px 38px 30px; position: relative; border-radius: 12px; background: #fff; box-shadow: 0 24px 70px rgba(30,23,21,.25); text-align: center; }
.ps-auth-modal > button { width: 34px; height: 34px; display: grid; place-items: center; position: absolute; right: 14px; top: 14px; border: 0; border-radius: 7px; background: #f2efed; cursor: pointer; }
.ps-auth-logo { width: 62px; height: 62px; display: grid; place-items: center; overflow: hidden; margin: 0 auto 14px; border-radius: 13px; color: #fff; background: var(--ps-red); font: 900 25px Manrope,sans-serif; }
.ps-auth-logo img { width: 100%; height: 100%; object-fit: cover; }
.ps-auth-modal > small { color: var(--ps-red); font-size: 10px; font-weight: 900; letter-spacing: 1px; }
.ps-auth-modal h2 { margin: 5px 0 7px; font: 900 24px Manrope,sans-serif; }
.ps-auth-modal > p { margin: 0 0 18px; color: #77706c; font-size: 12px; }
.ps-auth-modal form label { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.ps-auth-modal form label span { color: #625c58; font-size: 11px; font-weight: 800; }
.ps-auth-modal form input { min-height: 48px; padding: 0 13px; border: 1px solid #ddd6d2; border-radius: 8px; outline: 0; font-size: 15px; text-align: center; }
.ps-auth-modal form input:focus { border-color: var(--ps-red); box-shadow: 0 0 0 3px var(--ps-red-soft); }
.ps-auth-modal form button { width: 100%; min-height: 47px; margin-top: 10px; border: 0; border-radius: 8px; color: #fff; background: var(--ps-red); cursor: pointer; font-size: 12px; font-weight: 900; }
.ps-auth-modal form button[type="button"] { min-height: 34px; margin-top: 5px; color: #77706c; background: transparent; }
.ps-auth-preview { margin: 0 0 12px; padding: 9px; border: 1px solid #ecd8ac; border-radius: 7px; color: #855e20; background: #fff8e8; font-size: 12px; }
.ps-auth-divider { margin-top: 16px; color: #9a938f; font-size: 10px; }

.ps-public-account { min-height: 650px; padding: 25px 30px 55px; background: #f7f5f3; }
.ps-public-account > header { max-width: 1040px; margin: 0 auto 22px; display: grid; grid-template-columns: 170px 1fr 120px; align-items: center; }
.ps-public-account > header > button { min-height: 38px; border: 1px solid #ded8d4; border-radius: 7px; color: #655f5b; background: #fff; cursor: pointer; font-size: 11px; font-weight: 800; }
.ps-public-account > header > div { text-align: center; }
.ps-public-account > header small { color: var(--ps-red); font-size: 9px; font-weight: 900; letter-spacing: 1px; }
.ps-public-account > header h1 { margin: 2px 0; font: 900 26px Manrope,sans-serif; }
.ps-public-account > section,.ps-public-account > form { max-width: 920px; margin: 0 auto; }
.ps-account-card { padding: 25px; border: 1px solid #e5dfdb; border-radius: 11px; background: #fff; box-shadow: 0 8px 24px rgba(43,34,30,.04); }
.ps-account-card > span,.ps-public-club-plans > header span,.ps-club-dashboard > header span { color: var(--ps-red); font-size: 10px; font-weight: 900; letter-spacing: 1px; }
.ps-account-card > h2 { margin: 4px 0 18px; font: 900 22px Manrope,sans-serif; }
.ps-account-empty { padding: 40px 15px; color: #8d8581; text-align: center; }
.ps-account-login-required { padding: 60px 25px; border: 1px solid #e4ded9; border-radius: 11px; background: #fff; text-align: center; }
.ps-account-login-required > span { font-size: 42px; }
.ps-account-login-required h2 { margin: 10px 0 4px; }
.ps-account-login-required p { max-width: 480px; margin: 0 auto 17px; color: #7f7773; }
.ps-account-login-required button,.ps-account-card > button,.ps-club-dashboard > button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 7px; color: #fff; background: var(--ps-red); cursor: pointer; font-weight: 900; }
.ps-account-list-row,.ps-account-order,.ps-account-payment,.ps-account-address { min-height: 72px; padding: 12px 3px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid #eee9e6; }
.ps-account-list-row > div,.ps-account-address > div { min-width: 0; display: flex; flex: 1; flex-direction: column; }
.ps-account-list-row small,.ps-account-address small { color: #918984; font-size: 10px; }
.ps-account-list-row > b { color: var(--ps-red); }
.ps-account-order > div,.ps-account-payment > div { min-width: 0; flex: 1; }
.ps-account-order small,.ps-account-payment small { color: #958e89; font-size: 10px; }
.ps-account-order strong,.ps-account-payment strong { display: block; font-size: 13px; }
.ps-account-order p,.ps-account-payment p { margin: 2px 0; color: #827a76; font-size: 10px; }
.ps-account-order > span,.ps-account-payment > b { padding: 6px 9px; border-radius: 999px; color: #806d3e; background: #fff3d8; font-size: 9px; font-weight: 900; }
.ps-account-order > span.is-finished,.ps-account-payment > b.is-paid { color: #347651; background: #e9f7ee; }
.ps-account-order > span.is-cancelled,.ps-account-payment > b.is-failed { color: #a34f45; background: #faece9; }
.ps-account-payment > a { padding: 8px 10px; border-radius: 6px; color: #fff; background: var(--ps-red); font-size: 10px; font-weight: 900; text-decoration: none; }
.ps-account-address > i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 9px; color: var(--ps-red); background: var(--ps-red-soft); font-style: normal; }
.ps-account-address p { margin: 2px 0; font-size: 11px; }

.ps-public-club-plans > header { margin-bottom: 22px; text-align: center; }
.ps-public-club-plans > header h2 { margin: 5px 0; font: 900 29px Manrope,sans-serif; }
.ps-public-club-plans > header p { margin: 0; color: #7f7773; }
.ps-public-club-plans > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; align-items: stretch; }
.ps-public-club-plans article { padding: 24px 20px; display: flex; flex-direction: column; position: relative; border: 1px solid #e3dcd8; border-radius: 11px; background: #fff; }
.ps-public-club-plans article.is-featured { border: 2px solid var(--ps-red); box-shadow: 0 12px 35px color-mix(in srgb,var(--ps-red) 16%,transparent); }
.ps-public-club-plans article > em { padding: 5px 10px; position: absolute; left: 50%; top: -13px; border-radius: 999px; color: #fff; background: var(--ps-red); font-size: 8px; font-style: normal; font-weight: 900; transform: translateX(-50%); white-space: nowrap; }
.ps-public-club-plans article > small { color: #9a928e; font-size: 9px; font-weight: 900; }
.ps-public-club-plans h3 { margin: 4px 0; font: 900 20px Manrope,sans-serif; }
.ps-public-club-plans article > p { min-height: 45px; color: #817976; font-size: 11px; }
.ps-public-club-plans article > strong { color: var(--ps-red-dark); font: 900 25px Manrope,sans-serif; }
.ps-public-club-plans article > strong small { color: #8e8783; font-size: 10px; }
.ps-public-club-plans ul { margin: 17px 0; padding: 14px 0; flex: 1; border-top: 1px solid #eee9e6; list-style: none; }
.ps-public-club-plans li { margin: 7px 0; color: #615b57; font-size: 11px; }
.ps-public-club-plans article > button { min-height: 43px; border: 0; border-radius: 7px; color: #fff; background: var(--ps-red); cursor: pointer; font-weight: 900; }
.ps-club-dashboard { padding: 26px; border: 1px solid #e2dcd7; border-radius: 12px; background: #fff; }
.ps-club-dashboard > header { display: flex; align-items: center; justify-content: space-between; }
.ps-club-dashboard > header h2 { margin: 4px 0; font: 900 26px Manrope,sans-serif; }
.ps-club-dashboard > header p { margin: 0; color: #347651; font-size: 11px; font-weight: 900; }
.ps-club-dashboard > header p.is-past_due,.ps-club-dashboard > header p.is-suspended { color: #b05245; }
.ps-club-dashboard > header aside { text-align: right; }
.ps-club-dashboard > header aside small { display: block; color: #918984; font-size: 9px; font-weight: 900; }
.ps-club-dashboard > header aside strong { color: var(--ps-red-dark); font: 900 33px Manrope,sans-serif; }
.ps-club-dashboard > header aside b { color: #8e8783; font-size: 14px; }
.ps-club-progress { margin: 22px 0; padding: 16px; border-radius: 9px; background: #faf7f5; }
.ps-club-progress > div { height: 9px; overflow: hidden; border-radius: 999px; background: #e6dfdb; }
.ps-club-progress i { height: 100%; display: block; border-radius: inherit; background: var(--ps-red); }
.ps-club-progress p { margin: 9px 0 0; color: #756e69; font-size: 11px; }
.ps-club-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.ps-club-summary article { padding: 13px; display: flex; flex-direction: column; border: 1px solid #ebe5e1; border-radius: 8px; }
.ps-club-summary small { color: #918984; font-size: 9px; }
.ps-club-summary strong { margin-top: 3px; font-size: 13px; }
.ps-club-dashboard > section { margin: 22px 0; }
.ps-club-dashboard > section h3 { font-size: 15px; }
.ps-club-use { min-height: 53px; padding: 8px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #eee9e6; }
.ps-club-use > i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #347651; background: #e9f7ee; font-style: normal; font-weight: 900; }
.ps-club-use.is-available > i { color: var(--ps-red); background: var(--ps-red-soft); }
.ps-club-use > span { display: flex; flex-direction: column; }
.ps-club-use strong { font-size: 11px; }
.ps-club-use small { color: #918984; font-size: 9px; }
.ps-points-page > strong { display: block; margin: 4px 0; color: var(--ps-red-dark); font: 900 30px Manrope,sans-serif; }
.ps-points-page > div article { min-height: 55px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid #eee9e6; }
.ps-points-page article > b { min-width: 46px; color: #347651; font-size: 14px; text-align: center; }
.ps-points-page article > b.is-negative { color: #ae5045; }
.ps-points-page article > span { display: flex; flex-direction: column; }
.ps-points-page article small { color: #918984; font-size: 9px; }
.ps-public-profile-form > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.ps-public-profile-form h3 { margin: 23px 0 10px; }
.ps-public-profile-form label { display: flex; flex-direction: column; gap: 5px; }
.ps-public-profile-form label.is-wide { grid-column: 1/-1; }
.ps-public-profile-form label span { color: #69625e; font-size: 10px; font-weight: 800; }
.ps-public-profile-form input { min-height: 42px; padding: 0 11px; border: 1px solid #ddd6d2; border-radius: 7px; outline: 0; }
.ps-public-profile-form input:focus { border-color: var(--ps-red); box-shadow: 0 0 0 3px var(--ps-red-soft); }
.ps-public-profile-form > button { margin-top: 17px; }
.ps-policy-page h3 { margin: 20px 0 4px; }
.ps-policy-page p { color: #716a66; white-space: pre-line; }

.ps-cart-benefits { padding: 13px 17px; border-top: 1px solid #eee9e6; background: #faf8f7; }
.ps-cart-benefits h3 { margin: 0 0 7px; font-size: 12px; }
.ps-cart-benefits > button,.ps-cart-club-benefit { width: 100%; min-height: 42px; padding: 8px 10px; display: flex; align-items: center; border: 1px solid #e5dfdb; border-radius: 7px; color: #5e5854; background: #fff; cursor: pointer; font-size: 11px; text-align: left; }
.ps-cart-benefits > button + button { margin-top: 6px; }
.ps-cart-club-benefit { margin-bottom: 6px; justify-content: space-between; border-color: #eadbb9; background: #fffaf0; }
.ps-cart-club-benefit > span { display: grid; grid-template-columns: 24px 1fr; }
.ps-cart-club-benefit b { font-size: 11px; }
.ps-cart-club-benefit small { grid-column: 2; color: #8c7b5a; font-size: 9px; }
.ps-cart-club-benefit select { max-width: 125px; padding: 7px; border: 1px solid #dfd1b4; border-radius: 6px; font-size: 10px; }
.ps-builder-text { display: block; }
.ps-builder-text input,.ps-builder-text textarea { width: 100%; padding: 11px 12px; border: 1px solid #ddd6da; border-radius: 8px; outline: 0; resize: vertical; }
.ps-builder-text input:focus,.ps-builder-text textarea:focus { border-color: var(--ps-red); box-shadow: 0 0 0 3px var(--ps-red-soft); }

@media (max-width: 980px) {
  #ps-menu-app .ps-reference-menu .ps-menu-products > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #ps-menu-app .ps-reference-menu .ps-menu-promotions { display: grid; grid-auto-columns: minmax(270px,72%); grid-template-columns: none; grid-auto-flow: column; overflow-x: auto; }
  .ps-public-club-plans > div { grid-template-columns: 1fr; max-width: 560px; margin: auto; }
}

@media (max-width: 720px) {
  #ps-menu-app .ps-reference-menu { border-radius: 0; }
  .ps-reference-cover,.ps-reference-cover > header { min-height: 190px; }
  .ps-reference-cover > header { padding: 18px 16px; align-items: flex-end; }
  .ps-reference-identity > span { width: 53px; height: 53px; flex-basis: 53px; }
  .ps-reference-identity h1 { font-size: 17px; }
  .ps-reference-identity p { max-width: 210px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .ps-reference-actions { position: absolute; right: 12px; top: 12px; }
  .ps-reference-actions button:first-child { max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #ps-menu-app .ps-reference-menu .ps-menu-service-bar { padding: 11px 14px; display: block; }
  #ps-menu-app .ps-reference-menu .ps-menu-service-bar > div { align-items: flex-start; flex-direction: column; gap: 5px; }
  #ps-menu-app .ps-reference-menu .ps-menu-service-bar > div > div { width: 100%; overflow-x: auto; }
  #ps-menu-app .ps-reference-menu .ps-menu-service-bar aside { margin-top: 9px; padding: 9px 0 0; border-top: 1px solid #ece6e2; border-left: 0; }
  #ps-menu-app .ps-reference-menu .ps-menu-promotions { padding: 13px 14px 5px; grid-auto-columns: 86%; }
  .ps-reference-content { padding: 13px 14px 38px; }
  #ps-menu-app .ps-reference-menu .ps-menu-toolbar { grid-template-columns: 1fr; gap: 5px; }
  #ps-menu-app .ps-reference-menu .ps-menu-toolbar > label { grid-row: 1; }
  #ps-menu-app .ps-reference-menu .ps-menu-products > div { grid-template-columns: 1fr; }
  #ps-menu-app .ps-reference-menu .ps-menu-product { min-height: 142px; grid-template-columns: minmax(0,1fr) 105px; }
  #ps-menu-app .ps-reference-menu .ps-menu-product-image { min-height: 142px; }
  .ps-public-account { padding: 18px 14px 40px; }
  .ps-public-account > header { grid-template-columns: 80px 1fr 70px; }
  .ps-public-account > header > button { font-size: 9px; }
  .ps-public-account > header h1 { font-size: 19px; }
  .ps-account-card,.ps-club-dashboard { padding: 18px; }
  .ps-club-dashboard > header { align-items: flex-start; flex-direction: column; }
  .ps-club-dashboard > header aside { margin-top: 14px; text-align: left; }
  .ps-club-summary { grid-template-columns: 1fr; }
  .ps-public-profile-form > div { grid-template-columns: 1fr; }
  .ps-public-profile-form label.is-wide { grid-column: 1; }
  .ps-auth-modal { padding: 30px 20px 24px; }
}
.ps-report-club > div:last-child { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.ps-report-club article { min-height: 82px; padding: 12px; display: flex; flex-direction: column; border: 1px solid #e7eee9; border-radius: 11px; background: #f8fcf9; }
.ps-report-club article > span { color: #728078; font-size: 7px; font-weight: 800; }
.ps-report-club article > strong { margin: 7px 0 3px; color: #347d53; font: 900 18px/1 Manrope,sans-serif; }
.ps-report-club article > small { color: #929a95; font-size: 6px; }
.ps-report-club article.is-alert { border-color: #eedad4; background: #fff8f6; }
.ps-report-club article.is-alert > strong { color: var(--ps-red); }

/* Configurações gerais */
.ps-settings-tabs { margin-bottom: 13px; }
.ps-settings-status { margin-bottom: 13px; padding: 14px 16px; display: flex; align-items: center; gap: 11px; border: 1px solid #d9eadf; border-radius: 13px; color: #347d53; background: linear-gradient(120deg,#f3faf5,#fff); }
.ps-settings-status > span { width: 38px; height: 38px; display: grid; flex: 0 0 38px; place-items: center; border-radius: 11px; background: #dff2e6; }
.ps-settings-status > div { min-width: 0; display: flex; flex: 1; flex-direction: column; }
.ps-settings-status small { font-size: 6px; font-weight: 900; letter-spacing: 1px; }
.ps-settings-status strong { margin: 2px 0; color: var(--ps-ink); font-size: 10px; }
.ps-settings-status p { margin: 0; color: #779082; font-size: 7px; }
.ps-settings-status.is-closed { color: var(--ps-red); border-color: #eed7d2; background: linear-gradient(120deg,#fff5f3,#fff); }
.ps-settings-status.is-closed > span { background: #fae4df; }
.ps-settings-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.ps-settings-card { min-width: 0; }
.ps-settings-card:only-of-type,.ps-settings-form > .ps-settings-card:nth-last-child(2):first-child { grid-column: 1/-1; }
.ps-settings-fields { padding: 17px 18px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.ps-settings-fields .ps-field-wide { grid-column: 1/-1; }
.ps-settings-media { padding: 11px; display: grid; grid-template-columns: 74px minmax(0,1fr); align-items: center; gap: 13px; border: 1px dashed #ded7db; border-radius: 11px; background: #fbfafb; }
.ps-settings-media-preview { width: 70px; height: 70px; display: grid; place-items: center; overflow: hidden; border-radius: 15px; color: #fff; background: linear-gradient(145deg,var(--ps-red),var(--ps-red-dark)); font: 900 27px Manrope,sans-serif; }
.ps-settings-media-preview img { width: 100%; height: 100%; object-fit: cover; }
.ps-settings-media .ps-field > div,.ps-media-input { display: flex; gap: 7px; }
.ps-settings-media input,.ps-media-input input { min-width: 0; flex: 1; }
.ps-color-field > div { display: grid; grid-template-columns: 45px minmax(0,1fr); gap: 7px; }
.ps-color-field input[type="color"] { padding: 3px; }
.ps-settings-checks { margin: 0; padding: 11px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; border: 1px solid #e4dee2; border-radius: 10px; }
.ps-settings-checks legend { padding: 0 4px; color: #817a81; font-size: 7px; font-weight: 900; }
.ps-settings-checks label { min-height: 37px; padding: 7px 9px; display: flex; align-items: center; gap: 7px; border-radius: 8px; background: #f7f5f6; cursor: pointer; font-size: 8px; font-weight: 800; }
.ps-settings-checks input { position: absolute; opacity: 0; }
.ps-settings-checks i { width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid #d7d0d5; border-radius: 6px; color: transparent; background: #fff; }
.ps-settings-checks input:checked + i { color: #fff; border-color: var(--ps-red); background: var(--ps-red); }
.ps-hours-list,.ps-special-list,.ps-zone-list { padding: 10px 15px 15px; }
.ps-hours-row { min-height: 49px; display: grid; grid-template-columns: 34px minmax(75px,1fr) 115px 22px 115px; align-items: center; gap: 8px; border-bottom: 1px solid #efebee; }
.ps-hours-row:last-child { border-bottom: 0; }
.ps-hours-row > strong { font-size: 8px; }
.ps-hours-row > span { color: #aaa3aa; font-size: 7px; text-align: center; }
.ps-hours-row > label:not(.ps-switch),.ps-special-list article > label,.ps-zone-list label { display: flex; flex-direction: column; gap: 3px; color: #969096; font-size: 6px; font-weight: 800; }
.ps-hours-row input[type="time"],.ps-special-list input,.ps-zone-list input { min-height: 31px; padding: 0 7px; border: 1px solid #dfd9dd; border-radius: 7px; background: #fff; font-size: 8px; }
.ps-special-list article { min-height: 58px; display: grid; grid-template-columns: 105px minmax(130px,1fr) 75px 90px 90px 28px; align-items: center; gap: 7px; border-bottom: 1px solid #efebee; }
.ps-special-list article > button,.ps-zone-list article button { width: 27px; height: 27px; display: grid; place-items: center; border: 0; border-radius: 7px; color: var(--ps-red); background: #fff0ed; cursor: pointer; }
.ps-special-closed { align-items: center; flex-direction: row!important; color: var(--ps-ink)!important; }
.ps-zone-list article { margin-bottom: 9px; padding: 11px; border: 1px solid #e8e2e6; border-radius: 11px; background: #fbfafb; }
.ps-zone-list article > header { margin-bottom: 9px; display: grid; grid-template-columns: 34px minmax(0,1fr) 28px; align-items: center; gap: 8px; }
.ps-zone-list article > header > label:nth-child(2) { flex-direction: row; align-items: center; }
.ps-zone-list article > header > label:nth-child(2) span { min-width: 75px; }
.ps-zone-list article > header input { width: 100%; }
.ps-zone-list article > div { display: grid; grid-template-columns: minmax(190px,1fr) 110px 110px; gap: 8px; }
.ps-message-grid,.ps-legal-fields { padding: 17px 18px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.ps-message-grid textarea,.ps-legal-fields textarea { resize: vertical; }
.ps-legal-fields .ps-field-wide { grid-column: 1/-1; }
.ps-settings-save { grid-column: 1/-1; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #e5e0e3; border-radius: 12px; background: #fff; }
.ps-settings-save > span { display: flex; align-items: center; gap: 6px; color: #918a91; font-size: 7px; }
@media (max-width: 1000px) {
  .ps-settings-form { grid-template-columns: 1fr; }
  .ps-settings-card:only-of-type,.ps-settings-form > .ps-settings-card:nth-last-child(2):first-child { grid-column: auto; }
  .ps-hours-list,.ps-special-list,.ps-zone-list { overflow-x: auto; }
  .ps-special-list article { min-width: 650px; }
  .ps-hours-row { min-width: 440px; }
}
@media (max-width: 680px) {
  .ps-settings-status { align-items: stretch; flex-wrap: wrap; }
  .ps-settings-status > button { width: 100%; }
  .ps-settings-fields,.ps-message-grid,.ps-legal-fields { grid-template-columns: 1fr; }
  .ps-settings-fields .ps-field-wide,.ps-legal-fields .ps-field-wide { grid-column: auto; }
  .ps-settings-media { grid-template-columns: 1fr; }
  .ps-settings-media .ps-field > div,.ps-media-input { align-items: stretch; flex-direction: column; }
  .ps-settings-checks { grid-template-columns: 1fr; }
  .ps-zone-list article { min-width: 570px; }
  .ps-settings-save { align-items: stretch; flex-direction: column; }
}

.ps-public-coupon { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 8px; }
.ps-public-coupon label { min-width: 0; }
.ps-public-coupon button { min-height: 42px; padding: 0 17px; border: 1px solid #e2b2a9; border-radius: 9px; color: var(--ps-red); background: #fff7f5; cursor: pointer; font: 800 9px Manrope,sans-serif; }
.ps-public-coupon button:disabled { opacity: .6; cursor: wait; }
.ps-public-coupon > small { grid-column: 1/-1; display: flex; align-items: center; gap: 5px; color: #347d53; font-size: 8px; font-weight: 800; }
.ps-checkout-summary .is-discount { color: #347d53; }
.ps-points-earned { color: #8f631e; background: #fff8e8 !important; }

@media (max-width: 1000px) {
  .ps-coupon-list { overflow-x: auto; }
  .ps-coupon-list > header,.ps-coupon-list > article { min-width: 820px; }
  .ps-loyalty-grid,.ps-report-grid { grid-template-columns: 1fr; }
  .ps-report-filter { grid-template-columns: 1fr; }
  .ps-report-filter-fields { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ps-report-actions { display: flex; }
  .ps-report-actions .ps-primary { flex: 1; }
  .ps-report-wide { grid-column: auto; }
  .ps-report-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ps-report-club > div:last-child { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .ps-loyalty-head { align-items: stretch; flex-direction: column; }
  .ps-loyalty-head .ps-button,.ps-report-filter .ps-button { width: 100%; }
  .ps-report-filter-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ps-report-actions { display: grid; }
  .ps-report-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ps-report-club > div:last-child { grid-template-columns: 1fr 1fr; }
  .ps-public-coupon { grid-template-columns: 1fr; }
  .ps-public-coupon > small { grid-column: 1; }
}

/* Clube da Pizzaria */
.ps-club-tabs { margin-bottom: 15px; }
.ps-club-gateway { margin: 14px 0 19px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; border: 1px solid #eadfca; border-radius: 12px; color: #835e24; background: #fff9ec; }
.ps-club-gateway > span { width: 34px; height: 34px; display: grid; flex: 0 0 34px; place-items: center; border-radius: 10px; background: #fff0cf; }
.ps-club-gateway > div { min-width: 0; display: flex; flex: 1; flex-direction: column; }
.ps-club-gateway strong { font-size: 9px; }
.ps-club-gateway small { margin-top: 2px; color: #947b55; font-size: 7px; }
.ps-club-gateway > button { padding: 6px 9px; display: flex; align-items: center; gap: 4px; border: 0; border-radius: 8px; color: inherit; background: #fff0cf; cursor: pointer; font: 800 7px Manrope,sans-serif; }
.ps-club-gateway.is-connected { color: #347d53; border-color: #d6e9dd; background: #f2faf5; }
.ps-club-gateway.is-connected > button { background: #dff2e6; }
.ps-club-section-head { margin-bottom: 11px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ps-club-section-head > div > span { color: var(--ps-red); font-size: 7px; font-weight: 900; letter-spacing: 1.15px; }
.ps-club-section-head h2 { margin: 3px 0; font: 900 17px/1.15 Manrope,sans-serif; }
.ps-club-section-head p { margin: 0; color: #969096; font-size: 8px; }
.ps-club-table,.ps-club-payments { overflow: hidden; border: 1px solid #e8e3e7; border-radius: 13px; background: #fff; }
.ps-club-table > header,.ps-club-table > article { min-height: 62px; padding: 9px 13px; display: grid; grid-template-columns: minmax(135px,1.2fr) minmax(115px,1fr) 90px minmax(125px,1fr) 78px 96px; align-items: center; gap: 9px; }
.ps-club-table > header,.ps-club-payments > header { min-height: 35px; color: #989198; background: #faf9fa; font-size: 7px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; }
.ps-club-table > article,.ps-club-payments > article { border-top: 1px solid #efebee; }
.ps-club-table article > span:not(.ps-club-row-actions) { min-width: 0; display: flex; flex-direction: column; }
.ps-club-table article strong { font-size: 8px; }
.ps-club-table article small { margin-top: 2px; overflow: hidden; color: #999299; font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }
.ps-club-table article > b,.ps-club-payments article > em { padding: 5px 7px; border-radius: 14px; color: #817a81; background: #efedef; font-size: 6px; font-style: normal; text-align: center; }
.ps-club-table .is-active,.ps-club-table .is-trialing,.ps-club-payments .is-paid { color: #347d53; background: #eaf7ef; }
.ps-club-table .is-past_due,.ps-club-table .is-suspended,.ps-club-payments .is-failed { color: #a55449; background: #faece9; }
.ps-club-row-actions { display: flex; justify-content: flex-end; gap: 4px; }
.ps-club-row-actions button,.ps-club-row-actions a { width: 27px; height: 27px; display: grid; place-items: center; border: 0; border-radius: 8px; color: #817a81; background: #f3f0f2; cursor: pointer; }
.ps-club-row-actions button:hover,.ps-club-row-actions a:hover { color: var(--ps-red); background: #fff0ed; }
.ps-club-plan-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.ps-club-plan-grid > article { padding: 17px; border: 1px solid #e8e3e7; border-radius: 14px; background: linear-gradient(145deg,#fff,#fcfafb); box-shadow: 0 8px 22px rgba(44,34,44,.035); }
.ps-club-plan-grid > article.is-inactive { opacity: .6; }
.ps-club-plan-grid article > header { display: flex; align-items: center; justify-content: space-between; }
.ps-club-plan-grid article > header > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #9b6a24; background: #fff3d9; }
.ps-club-plan-grid article > header b { color: #8f888f; font-size: 7px; }
.ps-club-plan-grid h3 { margin: 15px 0 5px; font-size: 14px; }
.ps-club-plan-grid p { min-height: 34px; margin: 0; color: #918a91; font-size: 8px; line-height: 1.45; }
.ps-club-plan-grid article > strong { margin: 12px 0; display: block; color: var(--ps-red); font-size: 19px; }
.ps-club-plan-grid article > strong small { color: #999299; font-size: 7px; }
.ps-club-plan-grid ul { margin: 0; padding: 11px 0; display: grid; gap: 7px; border-top: 1px solid #efebee; border-bottom: 1px solid #efebee; list-style: none; }
.ps-club-plan-grid li { display: flex; align-items: center; gap: 5px; color: #777077; font-size: 7px; }
.ps-club-plan-grid li svg { color: #347d53; }
.ps-club-plan-grid footer { padding-top: 11px; display: flex; align-items: center; justify-content: space-between; }
.ps-club-plan-grid footer > span { padding: 4px 7px; border-radius: 12px; color: #817a81; background: #efedef; font-size: 6px; font-weight: 900; }
.ps-club-plan-grid footer > span.is-active { color: #347d53; background: #eaf7ef; }
.ps-club-plan-grid footer button { display: flex; align-items: center; gap: 4px; border: 0; color: var(--ps-red); background: transparent; cursor: pointer; font: 800 7px Manrope,sans-serif; }
.ps-club-payments > header,.ps-club-payments > article { min-height: 54px; padding: 8px 13px; display: grid; grid-template-columns: minmax(130px,1.2fr) minmax(110px,1fr) 80px 100px 70px 115px; align-items: center; gap: 9px; }
.ps-club-payments article > span:first-child { display: flex; flex-direction: column; }
.ps-club-payments article strong,.ps-club-payments article b { font-size: 8px; }
.ps-club-payments article small,.ps-club-payments article > span { color: #999299; font-size: 7px; }
.ps-club-payment-actions { display: flex; gap: 4px; }
.ps-club-payment-actions button { min-height: 27px; padding: 0 7px; display: flex; align-items: center; gap: 4px; border: 0; border-radius: 7px; color: #347d53; background: #eaf7ef; cursor: pointer; font: 800 6px Manrope,sans-serif; }
.ps-club-payment-actions button:last-child { color: #a55449; background: #faece9; }
.ps-club-payment-actions a { min-height: 27px; padding: 0 7px; display: flex; align-items: center; gap: 4px; border-radius: 7px; color: #8a6326; background: #fff3d9; font: 800 6px Manrope,sans-serif; text-decoration: none; }
.ps-club-usages { overflow: hidden; border: 1px solid #e8e3e7; border-radius: 13px; background: #fff; }
.ps-club-usages > header,.ps-club-usages > article { min-height: 52px; padding: 8px 13px; display: grid; grid-template-columns: minmax(130px,1.2fr) minmax(110px,1fr) 70px 65px 90px 70px; align-items: center; gap: 9px; }
.ps-club-usages > header { min-height: 35px; color: #989198; background: #faf9fa; font-size: 7px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; }
.ps-club-usages > article { border-top: 1px solid #efebee; }
.ps-club-usages article strong,.ps-club-usages article b,.ps-club-usages article span { font-size: 8px; }
.ps-club-usages article > em { padding: 5px 7px; border-radius: 14px; color: #347d53; background: #eaf7ef; font-size: 6px; font-style: normal; text-align: center; }
.ps-club-usages article > em.is-reversed { color: #817a81; background: #efedef; }
.ps-club-plan-modal { width: min(880px,100%); }
.ps-club-options { margin: 0; padding: 11px; display: flex; flex-wrap: wrap; gap: 7px; border: 1px solid #ddd7db; border-radius: 10px; }
.ps-club-options legend { padding: 0 5px; color: #777077; font-size: 8px; font-weight: 900; }
.ps-club-options label { padding: 6px 8px; display: flex; align-items: center; gap: 5px; border-radius: 7px; background: #f6f3f5; font-size: 7px; }
.ps-gateway-settings > form { display: grid; gap: 13px; }
.ps-gateway-general { padding: 13px; display: grid; grid-template-columns: minmax(190px,.55fr) minmax(220px,1fr); align-items: end; gap: 12px; border: 1px solid #e8e3e7; border-radius: 12px; background: #fff; }
.ps-gateway-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.ps-gateway-card { padding: 14px; display: flex; flex-direction: column; gap: 10px; border: 1px solid #e8e3e7; border-radius: 13px; background: #fff; box-shadow: 0 8px 22px rgba(44,34,44,.035); }
.ps-gateway-card.is-configured { border-color: #cfe5d7; }
.ps-gateway-card > header { display: flex; align-items: center; gap: 8px; }
.ps-gateway-card > header > span { width: 34px; height: 34px; display: grid; flex: 0 0 34px; place-items: center; border-radius: 10px; color: #8c682c; background: #fff3d9; }
.ps-gateway-card.is-configured > header > span { color: #347d53; background: #eaf7ef; }
.ps-gateway-card > header > div { min-width: 0; display: flex; flex: 1; flex-direction: column; }
.ps-gateway-card > header strong { font-size: 9px; }
.ps-gateway-card > header small { margin-top: 2px; color: #999299; font-size: 6px; }
.ps-gateway-card > header b { padding: 4px 6px; border-radius: 11px; color: #8b848b; background: #f1eef0; font-size: 5px; white-space: nowrap; }
.ps-gateway-card.is-configured > header b { color: #347d53; background: #eaf7ef; }
.ps-gateway-card > .ps-button { margin-top: auto; }
.ps-webhook-field > div { display: grid; grid-template-columns: minmax(0,1fr) auto; }
.ps-webhook-field input { border-radius: 8px 0 0 8px; color: #8e888e; background: #f7f5f6; font-size: 6px; }
.ps-webhook-field button { padding: 0 8px; display: flex; align-items: center; gap: 4px; border: 1px solid #ddd7db; border-left: 0; border-radius: 0 8px 8px 0; color: #777077; background: #fff; cursor: pointer; font: 800 6px Manrope,sans-serif; }
.ps-gateway-security { padding: 11px 13px; display: flex; align-items: center; gap: 8px; border-radius: 10px; color: #347d53; background: #f0f8f3; }
.ps-gateway-security span { display: flex; flex-direction: column; }
.ps-gateway-security strong { font-size: 8px; }
.ps-gateway-security small { margin-top: 2px; color: #688c75; font-size: 6px; }
.ps-gateway-settings form > footer { display: flex; justify-content: flex-end; }
.ps-pdv-club { margin-top: 10px; padding: 10px 12px; display: flex; align-items: center; gap: 9px; border: 1px solid #eadfca; border-radius: 10px; background: #fff9ec; }
.ps-pdv-club > span { color: #9b6a24; }
.ps-pdv-club > div { display: flex; flex: 1; flex-direction: column; }
.ps-pdv-club strong { font-size: 8px; }
.ps-pdv-club small { color: #947b55; font-size: 7px; }
.ps-pdv-club label { display: flex; align-items: center; gap: 6px; color: #835e24; font-size: 7px; font-weight: 900; }
.ps-pdv-club input { width: 56px; min-height: 31px; padding: 0 7px; border: 1px solid #decda9; border-radius: 7px; }
.ps-public-club { padding: 12px; display: grid; grid-template-columns: 35px minmax(0,1fr) minmax(145px,.6fr); align-items: center; gap: 9px; border: 1px solid #eadfca; border-radius: 11px; background: #fff9ec; }
.ps-public-club > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #9b6a24; background: #fff0cf; }
.ps-public-club > div { min-width: 0; display: flex; flex-direction: column; }
.ps-public-club > div small { color: #9b6a24; font-size: 7px; font-weight: 900; letter-spacing: .8px; }
.ps-public-club > div strong { margin: 2px 0; font-size: 10px; }
.ps-public-club p { margin: 0; color: #8d7652; font-size: 7px; }
.ps-club-used { color: #8f631e; background: #fff8e8 !important; }

/* 0.21 — cardápio em tela inteira e vitrine comercial do Clube */
html:has(#ps-menu-app),
body.ps-menu-full-bleed-page { overflow-x: clip; }
body.ps-menu-full-bleed-page .ps-menu-full-bleed-parent {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}
#ps-menu-app {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
}
#ps-menu-app .ps-reference-menu {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
#ps-menu-app .ps-reference-cover > header,
#ps-menu-app .ps-reference-menu .ps-menu-service-bar,
#ps-menu-app .ps-reference-menu .ps-menu-promotions,
#ps-menu-app .ps-reference-content {
  padding-right: clamp(24px,5vw,96px);
  padding-left: clamp(24px,5vw,96px);
}
.ps-reference-club-button {
  border-color: rgba(255,218,137,.58) !important;
  color: #fff3d4 !important;
  background: rgba(139,91,17,.3) !important;
}
#ps-menu-app .ps-reference-menu .ps-menu-categories .ps-menu-club-tab {
  color: #8b5c16;
  background: #fff5dc;
  font-weight: 900;
}
.ps-club-sales {
  margin: 22px clamp(24px,5vw,96px) 8px;
  padding: clamp(28px,4vw,54px);
  display: grid;
  grid-template-columns: minmax(300px,.8fr) minmax(560px,1.35fr);
  align-items: center;
  gap: clamp(28px,4vw,66px);
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 8% 10%,rgba(255,197,100,.22),transparent 24%),
    linear-gradient(135deg,#261817 0%,var(--ps-red-dark) 58%,#7e241f 100%);
  box-shadow: 0 20px 50px rgba(52,28,25,.15);
}
.ps-club-sales::after {
  width: 310px;
  height: 310px;
  position: absolute;
  right: -120px;
  bottom: -180px;
  border: 55px solid rgba(255,255,255,.04);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}
.ps-club-sales-copy { position: relative; z-index: 1; }
.ps-club-sales-copy > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffd992;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
}
.ps-club-sales-copy h2 {
  max-width: 590px;
  margin: 10px 0 12px;
  color: #fff;
  font: 900 clamp(28px,3vw,46px)/1.04 Manrope,'Segoe UI',sans-serif;
  letter-spacing: -1.4px;
}
.ps-club-sales-copy > p {
  max-width: 610px;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 15px;
  line-height: 1.65;
}
.ps-club-sales-benefits {
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 9px;
}
.ps-club-sales-benefits article {
  min-width: 0;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.07);
}
.ps-club-sales-benefits i {
  width: 31px;
  height: 31px;
  display: grid;
  flex: 0 0 31px;
  place-items: center;
  border-radius: 50%;
  color: #4d2916;
  background: #ffd992;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}
.ps-club-sales-benefits span { min-width: 0; display: flex; flex-direction: column; }
.ps-club-sales-benefits b { color: #fff; font-size: 11px; }
.ps-club-sales-benefits small { margin-top: 2px; overflow: hidden; color: rgba(255,255,255,.62); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.ps-club-sales-copy > button {
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  color: #4b281b;
  background: #ffd992;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}
.ps-club-sales-plans {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  align-items: stretch;
  gap: 11px;
  position: relative;
  z-index: 1;
}
.ps-club-sales-plans > article {
  min-width: 0;
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  color: #403630;
  background: #fff;
  box-shadow: 0 15px 36px rgba(20,12,11,.14);
}
.ps-club-sales-plans > article.is-featured { border: 3px solid #ffd17a; transform: translateY(-8px); }
.ps-club-sales-plans article > em {
  padding: 5px 9px;
  position: absolute;
  top: -13px;
  left: 50%;
  border-radius: 999px;
  color: #4b281b;
  background: #ffd17a;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  transform: translateX(-50%);
  white-space: nowrap;
}
.ps-club-sales-plans article > small { color: var(--ps-red); font-size: 9px; font-weight: 900; letter-spacing: .45px; }
.ps-club-sales-plans h3 { margin: 6px 0 10px; font: 900 19px Manrope,sans-serif; }
.ps-club-sales-plans article > strong { color: var(--ps-red-dark); font: 900 22px Manrope,sans-serif; }
.ps-club-sales-plans article > strong b { color: #8e847f; font-size: 9px; }
.ps-club-sales-plans ul { margin: 16px 0; padding: 14px 0 8px; flex: 1; border-top: 1px solid #eee7e3; list-style: none; }
.ps-club-sales-plans li { margin: 7px 0; color: #6e6560; font-size: 10px; line-height: 1.35; }
.ps-club-sales-plans article > button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--ps-red);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
}
.ps-club-sales-plans .is-placeholder { grid-column: 1/-1; justify-content: center; text-align: center; }
.ps-club-sales-plans .is-placeholder p { color: #796e68; font-size: 12px; }
.ps-club-sales.is-member { grid-template-columns: minmax(0,1fr) minmax(230px,.42fr); }
.ps-club-sales.is-member .ps-club-sales-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); }
.ps-club-member-card {
  min-height: 230px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  background: rgba(255,255,255,.09);
  text-align: center;
  backdrop-filter: blur(8px);
}
.ps-club-member-card small { color: #ffd992; font-size: 10px; font-weight: 900; letter-spacing: 1px; }
.ps-club-member-card strong { margin: 8px 0; color: #fff; font: 900 52px Manrope,sans-serif; }
.ps-club-member-card strong b { font-size: 14px; }
.ps-club-member-card p { margin: 0; color: rgba(255,255,255,.72); }

@media (max-width: 1180px) {
  .ps-club-sales { grid-template-columns: 1fr; }
  .ps-club-sales-copy { text-align: center; }
  .ps-club-sales-copy h2,.ps-club-sales-copy > p { margin-right: auto; margin-left: auto; }
  .ps-club-sales-benefits { max-width: 760px; margin-right: auto; margin-left: auto; }
}

@media (max-width: 720px) {
  #ps-menu-app .ps-reference-cover > header,
  #ps-menu-app .ps-reference-menu .ps-menu-service-bar,
  #ps-menu-app .ps-reference-menu .ps-menu-promotions,
  #ps-menu-app .ps-reference-content { padding-right: 14px; padding-left: 14px; }
  .ps-reference-club-button { display: none !important; }
  .ps-club-sales { margin: 14px 14px 5px; padding: 25px 18px; gap: 28px; border-radius: 15px; }
  .ps-club-sales-copy h2 { font-size: 28px; letter-spacing: -.7px; }
  .ps-club-sales-copy > p { font-size: 14px; line-height: 1.55; }
  .ps-club-sales-benefits { grid-template-columns: 1fr; }
  .ps-club-sales-benefits article { text-align: left; }
  .ps-club-sales-benefits b { font-size: 12px; }
  .ps-club-sales-benefits small { font-size: 10px; }
  .ps-club-sales-copy > button { width: 100%; }
  .ps-club-sales-plans { grid-template-columns: 1fr; }
  .ps-club-sales-plans > article.is-featured { margin-top: 8px; transform: none; }
  .ps-club-sales-plans h3 { font-size: 21px; }
  .ps-club-sales-plans li { font-size: 12px; }
  .ps-club-sales.is-member { grid-template-columns: 1fr; }
  .ps-club-sales.is-member .ps-club-sales-benefits { grid-template-columns: 1fr; }
  .ps-club-member-card { min-height: 180px; }
}

/* Impressão por setor */
.ps-print-intro { margin-bottom: 16px; padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid #e5dce2; border-radius: 14px; background: linear-gradient(135deg,#fff 0%,#fff8f5 100%); }
.ps-print-intro > div { display: flex; align-items: center; gap: 11px; }
.ps-print-intro > div > span { width: 42px; height: 42px; display: grid; flex: 0 0 42px; place-items: center; border-radius: 12px; color: var(--ps-red); background: var(--ps-red-soft); }
.ps-print-intro h2,.ps-print-section-head h2 { margin: 0; font: 900 17px/1.15 Manrope,sans-serif; }
.ps-print-intro p,.ps-print-section-head p { margin: 3px 0 0; color: #918a91; font-size: 8px; }
.ps-print-agents { margin-bottom: 20px; overflow: hidden; }
.ps-print-agent-content { padding: 15px 18px 18px; display: grid; grid-template-columns: minmax(230px,.7fr) minmax(300px,1.3fr); gap: 18px; }
.ps-print-agent-content > form { padding: 13px; display: flex; align-items: flex-end; gap: 8px; border: 1px dashed #ddd4da; border-radius: 11px; background: #fcfafb; }
.ps-print-agent-content > form .ps-field { flex: 1; }
.ps-print-agent-list { display: grid; gap: 7px; }
.ps-print-agent-list > article { min-height: 54px; padding: 9px 10px; display: grid; grid-template-columns: 31px 1fr auto 29px; align-items: center; gap: 8px; border: 1px solid #e9e4e7; border-radius: 10px; background: #fff; }
.ps-print-agent-list > article > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: #887e86; background: #f3f0f2; }
.ps-print-agent-list article > div { min-width: 0; display: flex; flex-direction: column; }
.ps-print-agent-list strong { font-size: 8px; }
.ps-print-agent-list small { margin-top: 2px; overflow: hidden; color: #999198; font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }
.ps-print-agent-list em { margin-top: 3px; color: #a55449; font-size: 6px; font-style: normal; }
.ps-print-agent-list article > i { padding: 4px 7px; border-radius: 12px; color: #8c858b; background: #efedef; font-size: 6px; font-style: normal; font-weight: 900; }
.ps-print-agent-list article.is-online > i { color: #347d53; background: #e7f6ec; }
.ps-print-agent-list article.is-online > span { color: #347d53; background: #eaf7ef; }
.ps-print-agent-list article > button { width: 29px; height: 29px; display: grid; place-items: center; border: 0; border-radius: 8px; color: #817981; background: #f4f1f3; cursor: pointer; }
.ps-print-section-head { margin: 23px 0 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; }
.ps-print-section-head > div > span { color: var(--ps-red); font-size: 7px; font-weight: 900; letter-spacing: 1.1px; }
.ps-print-section-head > form { display: flex; gap: 6px; }
.ps-print-section-head input,.ps-print-section-head select { min-height: 35px; padding: 0 9px; border: 1px solid #ddd6da; border-radius: 8px; color: var(--ps-ink); background: #fff; font-size: 8px; }
.ps-print-sector-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.ps-print-sector-card { overflow: hidden; border: 1px solid #e6e0e4; border-radius: 14px; background: #fff; box-shadow: 0 7px 20px rgba(42,34,42,.035); }
.ps-print-sector-card.is-inactive { opacity: .64; }
.ps-print-sector-card > form:first-child { padding: 13px 14px 11px; border-bottom: 1px solid #eee9ec; background: #fcfbfb; }
.ps-print-sector-card > form:first-child header { display: grid; grid-template-columns: 37px 1fr auto; align-items: center; gap: 9px; }
.ps-print-sector-card > form:first-child header > span { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 10px; color: #885f24; background: #fff2d8; }
.ps-print-sector-card > form:first-child header > span.is-expedition { color: #3d668c; background: #eaf3fb; }
.ps-print-sector-card > form:first-child header > span.is-cashier { color: #347d53; background: #eaf7ef; }
.ps-print-sector-card > form:first-child header > div { display: grid; grid-template-columns: 1fr 105px; gap: 6px; }
.ps-print-sector-card > form:first-child input[name="name"],.ps-print-sector-card > form:first-child select { min-width: 0; min-height: 31px; padding: 0 8px; border: 1px solid #ddd6da; border-radius: 7px; background: #fff; font: 800 8px Manrope,sans-serif; }
.ps-print-auto { margin: 8px 0 5px; display: flex; align-items: center; gap: 5px; color: #777078; font-size: 7px; }
.ps-print-sector-card .ps-text-button { padding: 3px 0; font-size: 7px; }
.ps-print-sector-card > form:last-child { padding: 13px 14px 15px; }
.ps-print-route-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.ps-print-route-fields .ps-field span { font-size: 7px; }
.ps-print-route-fields .ps-field input,.ps-print-route-fields .ps-field select { min-height: 33px; padding: 0 8px; font-size: 7px; }
.ps-print-layout-help { display: grid; gap: 3px; padding: 10px 12px; border: 1px solid #eadfd9; border-radius: 10px; background: #fff9f6; color: #594f4a; }
.ps-print-layout-help strong { font-size: 9px; color: #2d2724; }
.ps-print-layout-help span { font-size: 8px; line-height: 1.45; }
.ps-print-options { margin: 11px 0; padding: 9px; display: flex; flex-wrap: wrap; gap: 6px; border-radius: 9px; background: #f7f5f6; }
.ps-print-options label { padding: 5px 7px; display: flex; align-items: center; gap: 4px; border: 1px solid #e6e0e4; border-radius: 7px; background: #fff; color: #777077; font-size: 6px; font-weight: 800; }
.ps-print-route-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ps-print-route-actions .ps-button { min-width: 132px; justify-content: center; }
.ps-print-route-actions [data-print-test-sector] { color: #4d4549; border-color: #d9d1d6; background: #fff; }
.ps-print-route-actions [data-print-test-sector]:not(:disabled):hover { color: var(--ps-red); border-color: #e0b7af; background: var(--ps-red-soft); }
.ps-print-route-actions [data-print-test-sector]:disabled { opacity: .48; cursor: not-allowed; }
.ps-print-history { margin-top: 20px; overflow: hidden; }
.ps-print-history .ps-panel-head > small { color: #999198; font-size: 7px; }
.ps-print-job-table { overflow-x: auto; }
.ps-print-job-table > header,.ps-print-job-table > article { min-width: 690px; min-height: 49px; padding: 8px 14px; display: grid; grid-template-columns: 80px minmax(130px,1fr) minmax(120px,1fr) 90px 80px 100px; align-items: center; gap: 8px; }
.ps-print-job-table > header { min-height: 34px; color: #999198; background: #faf9fa; font-size: 6px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; }
.ps-print-job-table > article { border-top: 1px solid #efebee; font-size: 7px; }
.ps-print-job-table article > span { min-width: 0; display: flex; flex-direction: column; }
.ps-print-job-table strong { font-size: 8px; }
.ps-print-job-table small { margin-top: 2px; overflow: hidden; color: #9a9298; font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }
.ps-print-job-table em { padding: 5px 7px; border-radius: 12px; color: #817a81; background: #efedef; font-size: 6px; font-style: normal; font-weight: 900; text-align: center; }
.ps-print-job-table em.is-printed { color: #347d53; background: #eaf7ef; }
.ps-print-job-table em.is-failed { color: #a55449; background: #faece9; }
.ps-print-job-table em.is-pending,.ps-print-job-table em.is-claimed { color: #8f631e; background: #fff3d9; }
.ps-print-token-modal code { padding: 12px; display: block; overflow-wrap: anywhere; border: 1px solid #e1d9de; border-radius: 9px; color: #7c3f36; background: #fff7f4; font: 700 8px/1.5 Consolas,monospace; user-select: all; }
.ps-print-token-modal ol { margin: 15px 0; padding-left: 20px; color: #706970; font-size: 8px; line-height: 1.7; }

/* Funcionários, permissões e auditoria */
.ps-staff-tabs { margin-bottom: 16px; }
.ps-staff-head { margin: 20px 0 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.ps-staff-head > div > span { color: var(--ps-red); font-size: 7px; font-weight: 900; letter-spacing: 1.1px; }
.ps-staff-head h2 { margin: 3px 0; font: 900 18px/1.15 Manrope,sans-serif; }
.ps-staff-head p { margin: 0; color: #948d93; font-size: 8px; }
.ps-staff-head > small { color: #999198; font-size: 7px; }
.ps-staff-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.ps-staff-card { overflow: hidden; border: 1px solid #e5dfe3; border-radius: 14px; background: #fff; box-shadow: 0 7px 20px rgba(42,34,42,.035); }
.ps-staff-card.is-inactive { opacity: .62; }
.ps-staff-card > header { padding: 14px; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 9px; border-bottom: 1px solid #eee9ec; background: #fcfbfb; }
.ps-staff-card > header > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #8a4d43; background: #fff0ed; font: 900 13px Manrope,sans-serif; }
.ps-staff-card > header > div { min-width: 0; display: flex; flex-direction: column; }
.ps-staff-card > header strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.ps-staff-card > header small { margin-top: 2px; color: #9a9298; font-size: 6px; }
.ps-staff-card > header i { padding: 5px 7px; border-radius: 12px; color: #347d53; background: #eaf7ef; font-size: 6px; font-style: normal; font-weight: 900; }
.ps-staff-card > header i.is-inactive { color: #a55449; background: #faece9; }
.ps-staff-role { margin: 13px 14px; padding: 10px; display: flex; align-items: center; gap: 8px; border-radius: 10px; background: #f7f4f6; }
.ps-staff-role > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: #735978; background: #eee7f0; }
.ps-staff-role > div { min-width: 0; display: flex; flex-direction: column; }
.ps-staff-role strong { font-size: 8px; }
.ps-staff-role small { margin-top: 2px; overflow: hidden; color: #938b92; font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }
.ps-staff-card dl { margin: 0 14px 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ps-staff-card dl div { display: flex; flex-direction: column; }
.ps-staff-card dt { color: #9b949a; font-size: 6px; }
.ps-staff-card dd { margin: 3px 0 0; font-size: 7px; font-weight: 800; }
.ps-staff-card > footer { min-height: 43px; padding: 9px 14px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #eee9ec; }
.ps-staff-card > footer span { color: #999198; font-size: 6px; }
.ps-staff-card > footer button { display: flex; align-items: center; gap: 5px; border: 0; color: var(--ps-red); background: transparent; cursor: pointer; font: 800 7px Manrope,sans-serif; }
.ps-role-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.ps-role-grid > article { padding: 16px; border: 1px solid #e5dfe3; border-radius: 14px; background: #fff; }
.ps-role-grid header { display: flex; align-items: center; gap: 9px; }
.ps-role-grid header span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; color: #725579; background: #f0e9f2; }
.ps-role-grid h3 { margin: 0; font: 900 11px Manrope,sans-serif; }
.ps-role-grid p { min-height: 35px; margin: 11px 0; color: #8f878e; font-size: 7px; line-height: 1.5; }
.ps-role-grid article > div { padding-top: 10px; display: flex; flex-wrap: wrap; gap: 5px; border-top: 1px solid #eee9ec; }
.ps-role-grid article > div span { padding: 5px 6px; display: flex; align-items: center; gap: 3px; border-radius: 7px; color: #3f7655; background: #eaf7ef; font-size: 6px; font-weight: 800; }
.ps-staff-audit { overflow-x: auto; border: 1px solid #e5dfe3; border-radius: 14px; background: #fff; }
.ps-staff-audit > header,.ps-staff-audit > article { min-width: 820px; min-height: 50px; padding: 8px 14px; display: grid; grid-template-columns: minmax(125px,1.1fr) minmax(150px,1.3fr) 100px 115px 85px 82px; align-items: center; gap: 9px; }
.ps-staff-audit > header { min-height: 35px; color: #999198; background: #faf9fa; font-size: 6px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; }
.ps-staff-audit > article { border-top: 1px solid #eee9ec; color: #777077; font-size: 7px; }
.ps-staff-audit article > span { min-width: 0; display: flex; flex-direction: column; }
.ps-staff-audit strong { overflow: hidden; color: var(--ps-ink); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.ps-staff-audit small { margin-top: 2px; color: #9b949a; font-size: 6px; }
.ps-staff-audit details { position: relative; }
.ps-staff-audit summary { color: var(--ps-red); cursor: pointer; font-size: 7px; font-weight: 800; }
.ps-staff-audit details[open] pre { width: min(420px,70vw); max-height: 280px; margin: 8px 0 0; padding: 10px; overflow: auto; position: absolute; z-index: 30; right: 0; border: 1px solid #ded6db; border-radius: 9px; color: #4d474c; background: #fff; box-shadow: 0 12px 30px rgba(35,28,34,.16); font: 6px/1.45 Consolas,monospace; white-space: pre-wrap; }
.ps-staff-modal { width: min(760px,100%); }
.ps-staff-credential dl { margin: 0 0 15px; display: grid; gap: 8px; }
.ps-staff-credential dl div { padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #e2dbe0; border-radius: 9px; background: #faf8f9; }
.ps-staff-credential dt { color: #8f878e; font-size: 7px; }
.ps-staff-credential dd { margin: 0; font: 800 9px Consolas,monospace; user-select: all; }
.ps-staff-credential .ps-modal-body > p { margin: 12px 0 0; color: #968f95; font-size: 7px; line-height: 1.5; }
.ps-driver-only-board { grid-template-columns: repeat(2,minmax(0,1fr)); }

@media (max-width: 1050px) {
  .ps-print-sector-grid { grid-template-columns: 1fr; }
  .ps-staff-grid,.ps-role-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .ps-print-intro,.ps-print-section-head { align-items: stretch; flex-direction: column; }
  .ps-print-agent-content { grid-template-columns: 1fr; }
  .ps-print-agent-content > form,.ps-print-section-head > form { align-items: stretch; flex-direction: column; }
  .ps-print-route-fields { grid-template-columns: 1fr 1fr; }
  .ps-staff-head { align-items: stretch; flex-direction: column; }
  .ps-staff-grid,.ps-role-grid,.ps-driver-only-board { grid-template-columns: 1fr; }
}
.ps-customer-club { margin-bottom: 18px; padding: 19px; border: 1px solid #eadfca; border-radius: 16px; background: linear-gradient(135deg,#fff8e9,#fff); }
.ps-customer-club > header { display: flex; align-items: center; gap: 9px; }
.ps-customer-club > header span { color: #9b6a24; font-size: 8px; font-weight: 900; letter-spacing: 1px; }
.ps-customer-club > header strong { margin-right: auto; font-size: 13px; }
.ps-customer-club > header small { padding: 5px 8px; border-radius: 14px; color: #347d53; background: #eaf7ef; font-size: 7px; font-weight: 900; }
.ps-customer-club > div { margin: 15px 0 9px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.ps-customer-club article { padding: 11px; display: flex; flex-direction: column; border-radius: 10px; background: rgba(255,255,255,.8); }
.ps-customer-club article strong { font-size: 13px; }
.ps-customer-club article span { margin-top: 3px; color: #8e805f; font-size: 7px; }
.ps-customer-club > p { margin: 0; color: #887858; font-size: 8px; }
.ps-customer-club details { margin-top: 9px; padding-top: 9px; border-top: 1px solid #eadfca; }
.ps-customer-club summary { color: #7f6b42; cursor: pointer; font-size: 8px; font-weight: 900; }
.ps-customer-club details > span { padding: 7px 0; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #eee2ca; }
.ps-customer-club details b { font-size: 8px; }
.ps-customer-club details small { color: #978663; font-size: 7px; }

@media (max-width: 1050px) {
  .ps-club-plan-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ps-club-table,.ps-club-payments { overflow-x: auto; }
  .ps-club-table > header,.ps-club-table > article { min-width: 780px; }
  .ps-club-payments > header,.ps-club-payments > article { min-width: 720px; }
  .ps-club-usages { overflow-x: auto; }
  .ps-club-usages > header,.ps-club-usages > article { min-width: 680px; }
  .ps-gateway-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .ps-club-section-head { align-items: stretch; flex-direction: column; }
  .ps-club-section-head .ps-button { width: 100%; }
  .ps-club-plan-grid { grid-template-columns: 1fr; }
  .ps-club-gateway { align-items: flex-start; }
  .ps-club-gateway > button { flex: 0 0 auto; }
  .ps-gateway-general { grid-template-columns: 1fr; }
  .ps-public-club { grid-template-columns: 35px minmax(0,1fr); }
  .ps-public-club label { grid-column: 1/-1; }
  .ps-customer-club > header { align-items: flex-start; flex-direction: column; }
  .ps-customer-club > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media print {
  .ps-topbar,.ps-side-navigation,.ps-hero,.ps-training-intro,.ps-training-tabs,.ps-validation-guidance,.ps-validation-list .ps-panel-head button,.ps-toast { display: none !important; }
  .ps-shell,.ps-workspace,.ps-app-frame,.ps-content-column,.ps-app-body,.ps-main { background: #fff !important; display: block !important; height: auto !important; max-height: none !important; overflow: visible !important; width: 100% !important; }
  .ps-validation-summary,.ps-validation-list { box-shadow: none !important; break-inside: avoid; }
  .ps-validation-list > div:last-child label { break-inside: avoid; padding: 10px 5px; }
}

/* 0.19 — tipografia legível e experiência pública aprimorada */
#ps-app { font-size: 16px; line-height: 1.55; }
#ps-app p { font-size: 13px; line-height: 1.55; }
#ps-app small { font-size: 12px; line-height: 1.45; }
#ps-app button,#ps-app input,#ps-app select,#ps-app textarea { font-size: 13px; }
#ps-app .ps-eyebrow,#ps-app [class$="-head"] > div > span,#ps-app [class$="-intro"] > div > span { font-size: 11px; letter-spacing: 1.1px; }
#ps-app .ps-field > span,#ps-app .ps-field > small { font-size: 12px; }
#ps-app .ps-panel-head h2 { font-size: 20px; }
#ps-app .ps-panel-head p { font-size: 13px; }
#ps-app .ps-button { min-height: 42px; padding: 9px 15px; font-size: 13px; }

#ps-menu-app { font-size: 17px; line-height: 1.6; }
#ps-menu-app .ps-storefront { border-radius: 26px; background: #f7f5f2; }
#ps-menu-app .ps-storefront-top { min-height: 86px; padding: 14px clamp(18px,5vw,58px); }
#ps-menu-app .ps-storefront-brand { gap: 13px; }
#ps-menu-app .ps-storefront-brand > span { width: 48px; height: 48px; border-radius: 15px 15px 15px 5px; font-size: 23px; }
#ps-menu-app .ps-storefront-brand > span img { width: 100%; height: 100%; object-fit: cover; }
#ps-menu-app .ps-storefront-brand strong { font-size: 18px; }
#ps-menu-app .ps-storefront-brand small { font-size: 13px; }
#ps-menu-app .ps-storefront-status { padding: 9px 13px; font-size: 13px; }
#ps-menu-app .ps-cart-button { min-height: 48px; padding: 0 16px; border-radius: 13px; font-size: 14px; }
#ps-menu-app .ps-cart-button b { min-width: 25px; height: 25px; font-size: 12px; }
#ps-menu-app .ps-storefront-hero { min-height: 410px; padding: 64px clamp(28px,7vw,88px); }
#ps-menu-app .ps-storefront-hero > div:first-child > span { font-size: 12px; }
#ps-menu-app .ps-storefront-hero h1 { max-width: 720px; font-size: clamp(38px,5.6vw,64px); line-height: 1.04; }
#ps-menu-app .ps-storefront-hero p { max-width: 620px; font-size: 17px; line-height: 1.55; }
#ps-menu-app .ps-storefront-hero button { min-height: 48px; padding: 11px 18px; font-size: 14px; }
#ps-menu-app .ps-storefront-info { min-height: 56px; padding: 10px clamp(20px,5vw,58px); gap: 28px; font-size: 13px; }
#ps-menu-app .ps-storefront-info strong { font-size: 12px; }

.ps-menu-service-bar { margin: 24px clamp(20px,5vw,58px) 0; padding: 20px; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr); gap: 22px; border: 1px solid #e5dfda; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(48,37,32,.055); }
.ps-menu-service-bar > div > small,.ps-menu-service-bar aside small { display: block; margin-bottom: 9px; color: #887f79; font-size: 11px; font-weight: 900; letter-spacing: 1.15px; }
.ps-menu-service-bar > div > div { display: flex; flex-wrap: wrap; gap: 9px; }
.ps-menu-service-bar button { min-height: 64px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; flex: 1 1 145px; border: 1px solid #e4ded9; border-radius: 13px; color: #625a56; background: #fbfaf9; cursor: pointer; text-align: left; }
.ps-menu-service-bar button > span { display: flex; min-width: 0; flex-direction: column; }
.ps-menu-service-bar button strong { font-size: 14px; }
.ps-menu-service-bar button small { color: #8c847f; font-size: 12px; }
.ps-menu-service-bar button.is-active { color: var(--ps-red-dark); border-color: color-mix(in srgb,var(--ps-red) 55%,#fff); background: color-mix(in srgb,var(--ps-red) 7%,#fff); box-shadow: 0 0 0 3px color-mix(in srgb,var(--ps-red) 10%,transparent); }
.ps-menu-service-bar aside { padding-left: 21px; display: flex; align-items: center; gap: 13px; border-left: 1px solid #ece6e2; }
.ps-menu-service-bar aside > span { width: 46px; height: 46px; display: grid; flex: 0 0 46px; place-items: center; border-radius: 13px; color: var(--ps-red); background: var(--ps-red-soft); }
.ps-menu-service-bar aside small { margin: 0; }
.ps-menu-service-bar aside strong { display: block; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.ps-menu-service-bar aside p { margin: 3px 0 0; color: #8a827e; font-size: 12px; }
.ps-menu-neighborhood { min-height: 42px; display: flex; overflow: hidden; border: 1px solid #ded7d2; border-radius: 10px; background: #fff; }
.ps-menu-neighborhood input { min-width: 0; padding: 0 11px; flex: 1; border: 0; outline: 0; font-size: 13px; }
.ps-menu-neighborhood b { padding: 0 10px; display: flex; align-items: center; color: var(--ps-red-dark); background: var(--ps-red-soft); font-size: 11px; white-space: nowrap; }

.ps-menu-promotions { margin: 18px clamp(20px,5vw,58px) 0; padding-bottom: 4px; display: grid; grid-auto-columns: minmax(310px,44%); grid-auto-flow: column; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.ps-menu-promotions article { min-height: 205px; padding: 28px; display: flex; align-items: flex-end; overflow: hidden; position: relative; border-radius: 18px; color: #fff; background: linear-gradient(135deg,var(--ps-red),var(--ps-red-dark)); scroll-snap-align: start; }
.ps-menu-promotions article:nth-child(3n+2) { background: linear-gradient(135deg,#30313d,#16171d); }
.ps-menu-promotions article:nth-child(3n) { background: linear-gradient(135deg,#be772e,#8b491f); }
.ps-menu-promotions article.has-image { background-position: center; background-size: cover; }
.ps-menu-promotions article > div { position: relative; z-index: 1; }
.ps-menu-promotions small { color: rgba(255,255,255,.76); font-size: 11px; font-weight: 900; letter-spacing: 1.2px; }
.ps-menu-promotions h2 { max-width: 420px; margin: 6px 0 4px; color: #fff; font: 900 25px/1.15 Manrope,'Segoe UI',sans-serif; }
.ps-menu-promotions p { max-width: 420px; margin: 0 0 13px; color: rgba(255,255,255,.82); font-size: 14px; }
.ps-menu-promotions button { padding: 8px 0; display: flex; align-items: center; gap: 7px; border: 0; color: #fff; background: transparent; cursor: pointer; font-size: 13px; font-weight: 900; }

#ps-menu-app .ps-storefront-content { padding: 30px clamp(20px,5vw,58px) 58px; }
#ps-menu-app .ps-menu-toolbar { margin: 0 0 26px; padding: 10px; position: sticky; z-index: 20; top: 0; border: 1px solid #e7e1dc; border-radius: 16px; background: rgba(247,245,242,.94); box-shadow: 0 8px 24px rgba(45,35,31,.07); backdrop-filter: blur(12px); }
#ps-menu-app .ps-menu-toolbar > label { min-height: 52px; padding: 0 16px; border-radius: 12px; }
#ps-menu-app .ps-menu-toolbar input { font-size: 15px; }
#ps-menu-app .ps-menu-categories { padding: 5px; gap: 5px; border-radius: 12px; }
#ps-menu-app .ps-menu-categories button { min-height: 42px; padding: 8px 15px; border-radius: 9px; font-size: 13px; }
#ps-menu-app .ps-pizza-feature { min-height: 138px; padding: 23px 26px; border-radius: 19px; }
#ps-menu-app .ps-pizza-feature small,#ps-menu-app .ps-menu-products > header span { font-size: 11px; }
#ps-menu-app .ps-pizza-feature h2 { font-size: 23px; }
#ps-menu-app .ps-pizza-feature p { font-size: 14px; }
#ps-menu-app .ps-pizza-feature > button { min-height: 46px; padding: 10px 17px; font-size: 14px; }
#ps-menu-app .ps-menu-products > header { margin-bottom: 18px; }
#ps-menu-app .ps-menu-products h2 { font-size: 29px; }
#ps-menu-app .ps-menu-products > header > small { font-size: 13px; }
#ps-menu-app .ps-menu-products > div { gap: 18px; }
#ps-menu-app .ps-menu-product { min-height: 205px; grid-template-columns: 175px minmax(0,1fr); border-radius: 18px; cursor: pointer; box-shadow: 0 8px 25px rgba(51,39,34,.045); }
#ps-menu-app .ps-menu-product:focus-visible { outline: 3px solid color-mix(in srgb,var(--ps-red) 35%,transparent); outline-offset: 3px; }
#ps-menu-app .ps-menu-product-image { min-height: 205px; font-size: 58px; }
#ps-menu-app .ps-menu-product-image i { padding: 6px 9px; left: 11px; top: 11px; border-radius: 8px; font-size: 10px; }
#ps-menu-app .ps-menu-product-body { padding: 20px; }
#ps-menu-app .ps-menu-product-body > small { font-size: 11px; letter-spacing: .6px; }
#ps-menu-app .ps-menu-product h3 { margin: 7px 0 7px; font-size: 18px; }
#ps-menu-app .ps-menu-product p { font-size: 14px; line-height: 1.55; -webkit-line-clamp: 3; }
#ps-menu-app .ps-menu-product footer { padding-top: 14px; }
#ps-menu-app .ps-menu-product footer > div > span { color: #8f8782; font-size: 11px; }
#ps-menu-app .ps-menu-product s { font-size: 12px; }
#ps-menu-app .ps-menu-product footer strong { font-size: 20px; }
#ps-menu-app .ps-menu-product footer button { width: 44px; height: 44px; border-radius: 12px; }

.ps-public-product-modal { width: min(920px,100%); padding: 0; display: grid; grid-template-columns: minmax(300px,.95fr) minmax(340px,1.05fr); overflow: hidden; position: relative; }
.ps-public-product-modal > .ps-icon-button { position: absolute; z-index: 2; right: 16px; top: 16px; box-shadow: 0 5px 16px rgba(40,30,28,.14); }
.ps-public-product-visual { min-height: 510px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg,#fff0e9,#eed9cf); font-size: 110px; }
.ps-public-product-visual img { width: 100%; height: 100%; object-fit: cover; }
.ps-public-product-detail { padding: 48px 38px 34px; display: flex; flex-direction: column; }
.ps-public-product-detail > small { color: var(--ps-red); font-size: 12px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase; }
.ps-public-product-detail h2 { margin: 8px 0; font: 900 31px/1.12 Manrope,'Segoe UI',sans-serif; }
.ps-public-product-detail > p { margin: 0; color: #756d69; font-size: 15px; line-height: 1.65; }
.ps-public-product-price { margin: 22px 0; display: flex; align-items: baseline; gap: 10px; }
.ps-public-product-price s { color: #9d9692; font-size: 14px; }
.ps-public-product-price strong { color: var(--ps-red-dark); font: 900 27px Manrope,'Segoe UI',sans-serif; }
.ps-public-product-detail label { margin-top: auto; display: flex; flex-direction: column; gap: 7px; }
.ps-public-product-detail label span { color: #645d59; font-size: 13px; font-weight: 800; }
.ps-public-product-detail textarea { padding: 12px; border: 1px solid #ddd5d1; border-radius: 11px; outline: 0; resize: vertical; }
.ps-public-product-detail textarea:focus { border-color: var(--ps-red); box-shadow: 0 0 0 3px var(--ps-red-soft); }
.ps-public-product-detail > button { min-height: 52px; margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 12px; color: #fff; background: var(--ps-red); cursor: pointer; font-size: 14px; font-weight: 900; }

#ps-menu-app .ps-cart-drawer { width: min(480px,94vw); }
#ps-menu-app .ps-cart-drawer h2 { font-size: 21px; }
#ps-menu-app .ps-cart-drawer header p,#ps-menu-app .ps-cart-item p,#ps-menu-app .ps-cart-drawer > footer > small { font-size: 12px; }
#ps-menu-app .ps-cart-item h3,#ps-menu-app .ps-cart-item strong { font-size: 14px; }
#ps-menu-app .ps-cart-quantity span,#ps-menu-app .ps-cart-drawer > footer > div { font-size: 13px; }
#ps-menu-app .ps-cart-drawer > footer .ps-cart-total { font-size: 15px; }
#ps-menu-app .ps-cart-drawer > footer > button { min-height: 50px; font-size: 14px; }
#ps-menu-app .ps-checkout-grid label > span,#ps-menu-app .ps-checkout-service small,#ps-menu-app .ps-checkout-summary > div { font-size: 12px; }
#ps-menu-app .ps-checkout-grid input,#ps-menu-app .ps-checkout-grid select,#ps-menu-app .ps-checkout-grid textarea { font-size: 14px; }
#ps-menu-app .ps-checkout-service strong { font-size: 14px; }

.ps-settings-banner-list { padding: 0 18px 18px; display: grid; gap: 13px; }
.ps-settings-banner-list > article { overflow: hidden; border: 1px solid #e5dfe3; border-radius: 14px; background: #fcfbfb; }
.ps-settings-banner-list article > header { padding: 12px 15px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ebe5e8; background: #f7f4f6; }
.ps-settings-banner-list article > header strong { font-size: 14px; }
.ps-settings-banner-list article > header label { display: flex; align-items: center; gap: 7px; color: #766f74; font-size: 12px; font-weight: 800; }
.ps-settings-banner-list .ps-settings-fields { padding: 15px; }

@media (max-width: 900px) {
  .ps-menu-service-bar { grid-template-columns: 1fr; }
  .ps-menu-service-bar aside { padding: 16px 0 0; border-top: 1px solid #ece6e2; border-left: 0; }
  .ps-menu-promotions { grid-auto-columns: minmax(300px,76%); }
  #ps-menu-app .ps-menu-toolbar { align-items: stretch; flex-direction: column; }
  #ps-menu-app .ps-menu-products > div { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  #ps-menu-app .ps-storefront { border: 0; border-radius: 0; }
  #ps-menu-app .ps-storefront-top { min-height: 74px; padding: 10px 14px; }
  #ps-menu-app .ps-storefront-brand > span { width: 43px; height: 43px; }
  #ps-menu-app .ps-storefront-brand strong { max-width: 155px; font-size: 15px; }
  #ps-menu-app .ps-storefront-brand small { font-size: 11px; }
  #ps-menu-app .ps-storefront-hero { min-height: 360px; padding: 42px 22px; }
  #ps-menu-app .ps-storefront-hero h1 { font-size: 38px; }
  #ps-menu-app .ps-storefront-hero p { padding-right: 22px; font-size: 15px; }
  #ps-menu-app .ps-storefront-info { padding: 11px 15px; gap: 13px; overflow-x: auto; white-space: nowrap; }
  .ps-menu-service-bar { margin: 16px 14px 0; padding: 15px; }
  .ps-menu-service-bar button { flex-basis: 125px; }
  .ps-menu-service-bar aside strong { white-space: normal; }
  .ps-menu-promotions { margin: 14px 14px 0; grid-auto-columns: 88%; }
  .ps-menu-promotions article { min-height: 190px; padding: 22px; }
  #ps-menu-app .ps-storefront-content { padding: 22px 14px 40px; }
  #ps-menu-app .ps-menu-toolbar { top: 0; border-radius: 13px; }
  #ps-menu-app .ps-menu-product { min-height: 175px; grid-template-columns: 128px minmax(0,1fr); }
  #ps-menu-app .ps-menu-product-image { min-height: 175px; }
  #ps-menu-app .ps-menu-product-body { padding: 15px; }
  #ps-menu-app .ps-menu-product h3 { font-size: 16px; }
  #ps-menu-app .ps-menu-product p { font-size: 13px; -webkit-line-clamp: 2; }
  #ps-menu-app .ps-menu-product footer strong { font-size: 17px; }
  .ps-public-product-modal { grid-template-columns: 1fr; }
  .ps-public-product-visual { min-height: 240px; max-height: 34vh; }
  .ps-public-product-detail { padding: 26px 20px 20px; }
  .ps-public-product-detail h2 { padding-right: 35px; font-size: 25px; }
}

/* Aplicativo móvel do entregador */
#ps-driver-app { min-height: 100vh; background: #f4f4f6; color: #201d25; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.ps-driver-app { width: min(680px, 100%); min-height: 100vh; margin: 0 auto; padding: 18px 18px 42px; }
.ps-driver-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ps-driver-header > div { display: flex; align-items: center; gap: 11px; min-width: 0; }
.ps-driver-header img { width: 48px; height: 48px; border-radius: 15px; object-fit: cover; background: #ddd; }
.ps-driver-header span { display: grid; min-width: 0; }
.ps-driver-header small, .ps-driver-claim > span, .ps-driver-current > div > span { color: var(--ps-red); font-size: 11px; font-weight: 900; letter-spacing: .11em; }
.ps-driver-header strong { overflow: hidden; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.ps-driver-header button { padding: 10px 13px; border: 1px solid #ddd9df; border-radius: 12px; background: #fff; color: #302b34; font-weight: 800; }
.ps-driver-notice { margin: 0 0 16px; padding: 13px 15px; border-radius: 13px; font-weight: 750; }
.ps-driver-notice.is-success { background: #dcf7e9; color: #116b47; }
.ps-driver-notice.is-error { background: #fee7e5; color: #a82922; }
.ps-driver-claim { padding: 24px; border-radius: 22px; background: linear-gradient(145deg, #fff, #fff7f5); box-shadow: 0 16px 45px rgba(34, 27, 37, .09); }
.ps-driver-claim h1 { margin: 7px 0 4px; font-size: clamp(25px, 7vw, 34px); line-height: 1.08; }
.ps-driver-claim p { margin: 0 0 19px; color: #77717b; font-size: 15px; }
.ps-driver-claim form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.ps-driver-claim label { display: flex; align-items: center; min-width: 0; border: 2px solid #e2dce2; border-radius: 15px; background: #fff; }
.ps-driver-claim label:focus-within { border-color: var(--ps-red); box-shadow: 0 0 0 4px rgba(217, 59, 50, .1); }
.ps-driver-claim label b { padding-left: 15px; color: var(--ps-red); font-size: 24px; }
.ps-driver-claim input { width: 100%; min-width: 0; padding: 15px 12px; border: 0; outline: 0; background: transparent; color: #25202a; font-size: 22px; font-weight: 900; }
.ps-driver-claim form > button, .ps-driver-delivery-card footer button, .ps-driver-map { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 18px; border: 0; border-radius: 15px; background: var(--ps-red); color: #fff; font-size: 15px; font-weight: 900; text-decoration: none; }
.ps-driver-current { margin-top: 25px; }
.ps-driver-current > div:first-child { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ps-driver-current > div:first-child strong { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 10px; background: #29242d; color: #fff; }
.ps-driver-delivery-card { overflow: hidden; margin-bottom: 15px; border: 1px solid #e3dfe5; border-radius: 20px; background: #fff; box-shadow: 0 10px 32px rgba(35, 28, 38, .07); }
.ps-driver-delivery-card > header { display: flex; align-items: center; justify-content: space-between; padding: 17px 18px; background: #2a252d; color: #fff; }
.ps-driver-delivery-card > header div { display: flex; align-items: baseline; gap: 8px; }
.ps-driver-delivery-card > header small { color: #bdb6c1; font-weight: 800; letter-spacing: .08em; }
.ps-driver-delivery-card > header strong { font-size: 25px; }
.ps-driver-delivery-card > header span { padding: 7px 9px; border-radius: 9px; background: rgba(255,255,255,.12); font-size: 12px; font-weight: 800; }
.ps-driver-delivery-card > section { display: grid; gap: 5px; padding: 18px; }
.ps-driver-delivery-card h2 { margin: 0; font-size: 21px; }
.ps-driver-delivery-card section a { width: fit-content; color: var(--ps-red); font-weight: 850; }
.ps-driver-delivery-card section p { margin: 8px 0 0; color: #47414b; font-size: 16px; font-weight: 700; line-height: 1.45; }
.ps-driver-delivery-card section small { color: #77717b; font-size: 13px; }
.ps-driver-payment { display: flex; align-items: center; justify-content: space-between; margin: 0 18px; padding: 14px 0; border-top: 1px dashed #d8d2da; }
.ps-driver-payment span { color: #706a74; font-size: 13px; font-weight: 700; }
.ps-driver-payment strong { font-size: 21px; }
.ps-driver-delivery-card footer { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 0 18px 18px; }
.ps-driver-map { border: 1px solid #dcd6dd; background: #fff; color: #302b34; }
.ps-driver-empty { padding: 30px 20px; border: 2px dashed #dcd6de; border-radius: 18px; color: #706a74; text-align: center; }
.ps-driver-empty b { display: block; margin-bottom: 4px; color: #312c35; font-size: 17px; }
.ps-driver-empty p { margin: 0; }
@media (max-width: 520px) {
  .ps-driver-app { padding: 14px 12px 32px; }
  .ps-driver-claim { padding: 20px 16px; }
  .ps-driver-claim form { grid-template-columns: 1fr; }
  .ps-driver-delivery-card footer { grid-template-columns: 1fr; }
}

/* Sessão ativa: a atualização automática não interfere nos formulários. */
.ps-order-driver { display: flex; align-items: center; gap: 5px; margin-top: 6px; color: #625c65; font-size: 11px; font-weight: 800; }
.ps-overlay.ps-builder-refresh,.ps-overlay.ps-builder-refresh .ps-modal { animation:none!important; }
.ps-platform-footer { min-height:70px; padding:20px; display:flex; align-items:center; justify-content:center; gap:7px; border-top:1px solid #e9e3e2; color:#928a8e; background:#fff; font-size:12px; }
.ps-platform-footer strong { color:#302a31; font-size:14px; letter-spacing:-.02em; }

/* Indicadores do aplicativo do entregador */
.ps-system-logout { min-height: 38px; padding: 0 12px; display:inline-flex; align-items:center; gap:7px; border:1px solid #e4dfe3; border-radius:10px; color:#5f5861; background:#fff; font-size:12px; font-weight:850; text-decoration:none; }
.ps-system-logout:hover { border-color:#e7b7b2; color:var(--ps-red); background:#fff8f7; }
.ps-driver-header-actions { display:flex; align-items:center; gap:7px; }
.ps-driver-header-actions a { padding:10px 13px; border:1px solid #ead1cf; border-radius:12px; color:var(--ps-red); background:#fff; font-size:13px; font-weight:850; text-decoration:none; }
.ps-driver-platform { margin-top:26px; padding-top:19px; border-top:1px solid #ddd7dd; color:#89828b; font-size:11px; text-align:center; }
.ps-driver-platform strong { color:#4a434c; }
.ps-driver-current > div:first-child > div { display:flex; align-items:center; gap:9px; }
.ps-driver-current > div:first-child > div > strong { display:grid; width:30px; height:30px; place-items:center; border-radius:10px; background:#29242d; color:#fff; }
.ps-driver-current [data-driver-history] { min-height:36px; padding:0 12px; border:1px solid #ddd7de; border-radius:10px; color:#4d4650; background:#fff; cursor:pointer; font-size:12px; font-weight:850; }
.ps-driver-history-modal { width:min(560px,100%); max-height:min(720px,calc(100vh - 32px)); overflow:hidden; }
.ps-driver-history-modal > header { padding:21px 22px; display:flex; align-items:flex-start; justify-content:space-between; gap:14px; border-bottom:1px solid #ebe6eb; }
.ps-driver-history-modal > header span { color:var(--ps-red); font-size:10px; font-weight:950; letter-spacing:.12em; }
.ps-driver-history-modal > header h2 { margin:5px 0 3px; font-size:25px; }
.ps-driver-history-modal > header p { margin:0; color:#77717a; font-size:13px; }
.ps-driver-history-modal > header button { width:40px; height:40px; flex:0 0 auto; border:1px solid #e2dde2; border-radius:12px; color:#625b64; background:#fff; cursor:pointer; font-size:25px; line-height:1; }
.ps-driver-history-list { max-height:calc(100vh - 190px); padding:14px; overflow-y:auto; }
.ps-driver-history-list > article { padding:14px; display:grid; grid-template-columns:auto auto minmax(0,1fr); align-items:center; gap:10px; border-bottom:1px solid #eee9ee; }
.ps-driver-history-list > article > span { color:#8b848d; font-size:11px; font-weight:800; }
.ps-driver-history-list > article > strong { color:var(--ps-red); font-size:20px; }
.ps-driver-history-list > article > div { min-width:0; display:grid; justify-items:end; }
.ps-driver-history-list > article b { overflow:hidden; max-width:100%; color:#3c3740; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
.ps-driver-history-list > article small { color:#878089; font-size:11px; }

/* Login próprio do sistema e do entregador */
.ps-auth-page { width: 100vw; min-height: 100vh; margin-left: calc(50% - 50vw); display: grid; grid-template-columns: minmax(320px,1.05fr) minmax(360px,.95fr); overflow: hidden; background: #f7f4f5; color: #211d23; font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.ps-auth-brand { position: relative; min-height: 100vh; padding: clamp(45px,8vw,110px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; color: #fff; background: radial-gradient(circle at 18% 18%,rgba(238,74,65,.75),transparent 32%),linear-gradient(145deg,#3d1113 0%,#27171b 55%,#171419 100%); }
.ps-auth-brand::after { content:""; position:absolute; right:-160px; bottom:-210px; width:520px; height:520px; border:80px solid rgba(255,255,255,.045); border-radius:50%; }
.ps-auth-logo { position: relative; z-index:1; width:68px; height:68px; margin-bottom:34px; display:grid; place-items:center; border-radius:21px; background:#fff; color:var(--ps-red); box-shadow:0 18px 50px rgba(0,0,0,.26); font-size:32px; font-weight:950; }
.ps-auth-platform { position:relative; z-index:1; margin:-18px 0 25px; color:#fff; font-size:23px; letter-spacing:-.03em; }
.ps-auth-brand > span,.ps-auth-card > div > small { position:relative; z-index:1; color:#ff7d73; font-size:12px; font-weight:950; letter-spacing:.14em; }
.ps-auth-brand h1 { position:relative; z-index:1; max-width:680px; margin:14px 0 18px; color:#fff; font-size:clamp(42px,5vw,74px); line-height:.98; letter-spacing:-.045em; }
.ps-auth-brand p { position:relative; z-index:1; max-width:570px; margin:0; color:#d8ced3; font-size:clamp(17px,1.6vw,22px); line-height:1.55; }
.ps-auth-card { width:min(500px,calc(100% - 48px)); margin:auto; padding:clamp(28px,5vw,52px); border:1px solid #e6dfe3; border-radius:28px; background:#fff; box-shadow:0 26px 80px rgba(48,31,42,.12); }
.ps-auth-card h2 { margin:8px 0 6px; font-size:clamp(28px,4vw,40px); letter-spacing:-.035em; }
.ps-auth-card > div > p { margin:0 0 26px; color:#7d747e; font-size:15px; }
.ps-auth-card form > p { margin:0 0 17px; }
.ps-auth-card form label { display:block; color:#4a424b; font-size:13px; font-weight:850; }
.ps-auth-card input[type="text"],.ps-auth-card input[type="password"] { box-sizing:border-box; width:100%; margin-top:7px; padding:15px 16px; border:1.5px solid #ded7dc; border-radius:13px; outline:0; background:#fcfbfc; color:#211d23; font-size:16px; }
.ps-auth-card input[type="text"]:focus,.ps-auth-card input[type="password"]:focus { border-color:var(--ps-red); box-shadow:0 0 0 4px rgba(217,59,50,.1); background:#fff; }
.ps-auth-card .login-remember label { display:flex; align-items:center; gap:8px; color:#6f6871; font-weight:700; }
.ps-auth-card .login-remember input { width:18px; height:18px; accent-color:var(--ps-red); }
.ps-auth-card .login-submit { margin-top:22px; }
.ps-auth-card .button-primary { width:100%; min-height:54px; border:0; border-radius:14px; background:linear-gradient(135deg,var(--ps-red),#b82020); color:#fff; cursor:pointer; font-size:16px; font-weight:900; box-shadow:0 12px 28px rgba(199,43,38,.24); }
.ps-auth-forgot { display:block; margin-top:18px; color:var(--ps-red); font-size:13px; font-weight:850; text-align:center; text-decoration:none; }
.ps-auth-powered { display:block; margin-top:28px; color:#9a929b; font-size:11px; text-align:center; }
.ps-auth-powered strong { color:#4c454e; }
html:has(#ps-app),html:has(#ps-driver-app),html:has(.ps-auth-page) { margin-top:0!important; padding-top:0!important; }
body:has(#ps-app) #wpadminbar,body:has(#ps-driver-app) #wpadminbar,body:has(.ps-auth-page) #wpadminbar,body.toplevel_page_pizzaria-system #wpadminbar { display:none!important; }
html.wp-toolbar:has(body.toplevel_page_pizzaria-system) { padding-top:0!important; }

@media (max-width: 760px) {
  .ps-system-logout span { display:none; }
  .ps-auth-page { grid-template-columns:1fr; align-content:start; }
  .ps-auth-brand { min-height:auto; padding:44px 24px 90px; }
  .ps-auth-brand h1 { font-size:42px; }
  .ps-auth-brand p { font-size:16px; }
  .ps-auth-logo { width:58px; height:58px; margin-bottom:25px; }
  .ps-auth-card { position:relative; z-index:2; width:calc(100% - 28px); margin:-52px auto 28px; padding:28px 22px; border-radius:22px; }
}
