/* FOODOS V6_28 / 84.70.0
   Requested terminal, settlement, full-bleed, product feedback, dark-mode and menu UX update. */

/* ---------- Full-bleed application pages (main header/footer stay untouched) ---------- */
body main#app-container,
body.pc-settings-active main#app-container,
body.pc-terminal-active main#app-container,
body.pc-reports-active main#app-container,
body:has(.pc-persons-page) main#app-container,
body:has(.pc-recipes-page) main#app-container{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0 0 78px!important;
  overflow-x:hidden!important;
  box-sizing:border-box!important;
}
body main#app-container>*{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
body main#app-container>.pc-subpage-shell,
body main#app-container>.pc-settings-page,
body main#app-container>.tcA-shell,
body main#app-container>.repPro-page,
body main#app-container>.pc-persons-page,
body main#app-container>.pc-recipes-page,
body main#app-container>.inv-page,
body main#app-container>.page{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
@media(max-width:899px){
  body main#app-container{padding-left:0!important;padding-right:0!important}
  body main#app-container>*{max-width:none!important}
}

/* ---------- Terminal header, accordion cards and custom protocol picker ---------- */
.tcA-top-actions,.tcA-add{display:none!important}
.tcA-shell>.pc-module-topbar{display:flex!important;align-items:center!important}
.tcA-shell>.pc-module-topbar>.pc-module-icon-btn{margin-inline-start:auto!important;flex:0 0 auto!important}
.tcA-page{width:100%!important;margin:0!important;border-radius:0 0 18px 18px!important}
.tcA-add-text{min-height:38px!important;padding:0 14px!important;border-radius:12px!important}
.tcA-grid{gap:9px!important}
.glass.tcA-card{
  padding:0!important;
  overflow:hidden!important;
  border:1px solid color-mix(in srgb,var(--primary,#0ea5e9) 36%,var(--border-glass,#e2e8f0))!important;
  border-radius:16px!important;
  background:var(--bg-card,#fff)!important;
  box-shadow:0 8px 22px rgba(15,23,42,.06)!important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
}
.glass.tcA-card.is-expanded{
  border-color:color-mix(in srgb,var(--primary,#0ea5e9) 68%,transparent)!important;
  box-shadow:0 14px 32px rgba(15,23,42,.09)!important;
}
.glass.tcA-card .tcA-head.tcA-accordion-head{
  min-height:70px!important;
  padding:12px 14px!important;
  border-bottom:0!important;
  cursor:pointer!important;
  outline:0!important;
  user-select:none!important;
  transition:background .16s ease!important;
}
.glass.tcA-card .tcA-head.tcA-accordion-head:hover{background:color-mix(in srgb,var(--primary,#0ea5e9) 4%,transparent)!important}
.glass.tcA-card .tcA-head.tcA-accordion-head:focus-visible{box-shadow:inset 0 0 0 3px color-mix(in srgb,var(--primary,#0ea5e9) 18%,transparent)!important}
.glass.tcA-card.is-expanded .tcA-head.tcA-accordion-head{border-bottom:1px solid color-mix(in srgb,var(--primary,#0ea5e9) 20%,var(--border-glass,#e2e8f0))!important}
.tcA-card-summary{min-width:0;flex:1}
.tcA-title{gap:7px!important;flex-wrap:wrap!important}
.tcA-name{font-size:.95rem!important}
.tcA-protocol{margin-top:3px!important;font-size:.71rem!important}
.tcA-card-icons{gap:6px!important;flex:0 0 auto!important}
.tcA-icon-btn{width:34px!important;height:34px!important;border-radius:11px!important}
.tcA-accordion-body{padding:0 14px 14px!important;animation:pcTerminalAccordionIn .18s ease both}
.tcA-accordion-body[hidden]{display:none!important}
@keyframes pcTerminalAccordionIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.tcA-terminal-meta{margin-top:9px!important;padding:8px 10px!important}
.tcA-status{margin-top:9px!important}
.tcA-subinfo{margin-top:6px!important;font-size:.72rem!important}
.tcA-foot{margin-top:10px!important}

.tcA-protocol-select{position:relative;width:100%}
.tcA-protocol-trigger{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  width:100%!important;
  min-height:48px!important;
  padding:0 13px!important;
  border:1px solid var(--border-glass,#cbd5e1)!important;
  border-radius:13px!important;
  background:var(--surface,#fff)!important;
  color:var(--text-main,#0f172a)!important;
  font:inherit!important;
  font-weight:850!important;
  text-align:right!important;
  box-shadow:none!important;
}
.tcA-protocol-trigger[aria-expanded="true"]{border-color:var(--primary,#0ea5e9)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--primary,#0ea5e9) 12%,transparent)!important}
.tcA-protocol-trigger svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .16s ease}
.tcA-protocol-trigger[aria-expanded="true"] svg{transform:rotate(180deg)}
.tcA-protocol-options{
  position:absolute;
  z-index:25;
  inset:calc(100% + 7px) 0 auto 0;
  display:grid;
  gap:5px;
  padding:7px;
  border:1px solid var(--border-glass,#dbe4ef);
  border-radius:15px;
  background:var(--surface,#fff);
  box-shadow:0 22px 50px rgba(15,23,42,.17);
}
.tcA-protocol-options[hidden]{display:none!important}
.tcA-protocol-options button{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:43px;
  padding:0 11px;
  border:1px solid transparent;
  border-radius:11px;
  background:transparent;
  color:var(--text-main,#0f172a);
  font-weight:800;
  text-align:right;
}
.tcA-protocol-options button:hover{background:color-mix(in srgb,var(--primary,#0ea5e9) 7%,transparent)}
.tcA-protocol-options button.is-selected{border-color:color-mix(in srgb,var(--primary,#0ea5e9) 28%,transparent);background:color-mix(in srgb,var(--primary,#0ea5e9) 10%,transparent);color:var(--primary,#0284c7)}
.tcA-protocol-options button i{width:9px;height:9px;border:2px solid #94a3b8;border-radius:50%}
.tcA-protocol-options button.is-selected i{border-color:var(--primary,#0ea5e9);box-shadow:inset 0 0 0 2px var(--surface,#fff);background:var(--primary,#0ea5e9)}

/* ---------- Settlement customer card and compact wallet status ---------- */
.settle-modal-panel{padding:18px!important}
.pc-settle-customer-card{
  display:grid;
  gap:3px;
  margin:0 0 10px;
  padding:9px 11px;
  border:1px solid var(--border-glass,#e2e8f0);
  border-radius:14px;
  background:var(--surface-soft,#f8fafc);
}
.pc-settle-customer-card #settle-cust-name{margin:0!important;font-size:.95rem!important;color:var(--text-main,#0f172a)!important}
.pc-settle-customer-card #settle-cust-details{margin:0!important;font-size:.69rem!important}
.pc-settle-customer-card .pc-settle-wallet-status-host{display:flex!important;justify-content:center!important;width:100%!important;margin:4px 0 0!important}
.pc-settle-customer-card .pc-settle-wallet-status-host:empty{display:none!important}
.pc-settle-customer-card #pc-settle-wallet-panel{width:auto!important;max-width:100%!important;margin:0!important}
.pc-settle-customer-card .pc-wallet-balance-badge{
  width:auto!important;
  min-height:27px!important;
  padding:3px 5px 3px 8px!important;
  border-radius:9px!important;
  gap:5px!important;
  font-size:.66rem!important;
  line-height:1.2!important;
}
.pc-settle-customer-card .pc-wallet-sync-btn{width:24px!important;height:24px!important;min-width:24px!important;border-radius:7px!important}
.pc-settle-customer-card .pc-wallet-sync-btn svg{width:13px!important;height:13px!important}
.pc-settle-customer-card .pc-cc-settle-customer{margin:6px 0 0!important;padding:8px 9px!important;border-radius:12px!important;box-shadow:none!important}

/* ---------- Settlement-native staged payments ---------- */
.pc-settle-payment-workspace{
  display:grid;
  gap:8px;
  margin:8px 0;
  padding:9px;
  border:1px solid color-mix(in srgb,var(--primary,#0ea5e9) 20%,var(--border-glass,#e2e8f0));
  border-radius:14px;
  background:color-mix(in srgb,var(--primary,#0ea5e9) 3%,var(--surface,#fff));
}
.pc-settle-payment-workspace.is-active{border-color:color-mix(in srgb,var(--primary,#0ea5e9) 42%,transparent);box-shadow:0 8px 22px color-mix(in srgb,var(--primary,#0ea5e9) 8%,transparent)}
.pc-settle-payment-entry{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px 9px}
.pc-settle-payment-entry>label{font-size:.75rem;font-weight:950;color:var(--text-main,#0f172a);white-space:nowrap}
.pc-settle-payment-entry>small{grid-column:1/-1;color:var(--text-muted,#64748b);font-size:.62rem;line-height:1.5}
.pc-settle-payment-input-wrap{display:flex;align-items:center;gap:6px;min-height:42px;padding:0 10px;border:1px solid var(--border-glass,#cbd5e1);border-radius:11px;background:var(--surface,#fff)}
.pc-settle-payment-input-wrap:focus-within{border-color:var(--primary,#0ea5e9);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary,#0ea5e9) 10%,transparent)}
.pc-settle-payment-input-wrap input{min-width:0!important;min-height:40px!important;padding:0!important;border:0!important;background:transparent!important;color:var(--text-main,#0f172a)!important;font:inherit!important;font-size:.92rem!important;font-weight:950!important;text-align:right!important;box-shadow:none!important}
.pc-settle-payment-input-wrap span{color:var(--text-muted,#64748b);font-size:.65rem;font-weight:800;white-space:nowrap}
.pc-settle-payment-progress{display:grid;gap:7px;padding-top:7px;border-top:1px dashed var(--border-glass,#cbd5e1)}
.pc-settle-payment-progress[hidden]{display:none!important}
.pc-settle-payment-balance{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.72rem;color:var(--text-muted,#64748b)}
.pc-settle-payment-balance strong{color:var(--primary,#0284c7);font-size:.78rem}
.pc-settle-payment-parts{display:grid;gap:5px}
.pc-settle-payment-part{display:grid;grid-template-columns:8px minmax(0,1fr) auto auto;align-items:center;gap:7px;min-height:42px;padding:6px 8px;border:1px solid var(--border-glass,#e2e8f0);border-radius:11px;background:var(--surface,#fff)}
.pc-settle-payment-part-dot{width:7px;height:7px;border-radius:50%;background:#64748b}
.pc-settle-payment-part.is-cash .pc-settle-payment-part-dot{background:#16a34a}.pc-settle-payment-part.is-transfer .pc-settle-payment-part-dot{background:#8b5cf6}.pc-settle-payment-part.is-pos .pc-settle-payment-part-dot{background:var(--primary,#0ea5e9)}
.pc-settle-payment-part-copy{display:grid;gap:1px;min-width:0}.pc-settle-payment-part-copy strong{font-size:.7rem}.pc-settle-payment-part-copy small{color:var(--text-muted,#64748b);font-size:.59rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-settle-payment-part>b{font-size:.7rem;white-space:nowrap}.pc-settle-payment-part>em{color:#15803d;font-size:.56rem;font-style:normal;font-weight:900;white-space:nowrap}
.pc-settle-payment-part>button{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#fee2e2;color:#b91c1c;font-size:1rem}
.pc-settle-payment-finalize-retry{min-height:38px;border:1px solid color-mix(in srgb,var(--primary,#0ea5e9) 32%,transparent);border-radius:11px;background:color-mix(in srgb,var(--primary,#0ea5e9) 11%,var(--surface,#fff));color:var(--primary,#0284c7);font:inherit;font-size:.7rem;font-weight:950;cursor:pointer}
.pc-settle-payment-finalize-retry[hidden]{display:none!important}
.pc-settle-session-locked #settle-items-list,.pc-settle-session-locked #pc-settle-adjustments-row{pointer-events:none;opacity:.66}
.pc-settle-session-locked #pc-settle-adjustments-row input{cursor:not-allowed!important}
.pc-settle-payment-workspace.is-finalizing{opacity:.72;pointer-events:none}

/* Compact discount and wallet controls. */
.pc-settle-adjustments-row{gap:7px!important;margin:7px 0 9px!important}
.pc-settle-adjustment-card,
#pc-settle-wallet-host .pc-settle-wallet-control.pc-settle-adjustment-card{
  min-height:92px!important;
  padding:8px 9px!important;
  gap:7px!important;
  border-radius:14px!important;
  box-shadow:0 5px 16px rgba(15,23,42,.045)!important;
}
.pc-adjustment-toggle,#pc-settle-wallet-host .pc-wallet-use-label{min-height:31px!important;gap:7px!important}
.pc-adjustment-copy strong{font-size:.76rem!important}.pc-adjustment-copy small{font-size:.58rem!important;line-height:1.35!important}
.pc-adjustment-native-check.pc-adjustment-visible-check,#pc-wallet-use-check.pc-adjustment-native-check{width:18px!important;height:18px!important;min-width:18px!important;flex-basis:18px!important;border-radius:6px!important}
.pc-adjustment-amount-field,#pc-settle-wallet-host .pc-wallet-amount-wrap{min-height:36px!important;padding:0 8px!important;border-radius:10px!important}
.pc-adjustment-amount-field input{min-height:34px!important;font-size:.8rem!important}.pc-adjustment-amount-field>span{font-size:.6rem!important}
#pc-settle-wallet-host[hidden]+.pc-settle-discount-card,#pc-settle-wallet-host:empty+.pc-settle-discount-card{grid-column:1/-1}

/* Terminal chooser contains terminals only; staged amounts stay on final settlement. */
.pc-terminal-picker-card{width:min(430px,100%)!important;padding:20px!important}
.pc-terminal-picker-list{gap:7px!important;margin:10px 0 12px!important}
.pc-terminal-provider{min-height:56px!important;padding:9px 11px!important;transition:transform .15s ease,border-color .15s ease,background .15s ease!important}
.pc-terminal-provider:hover{border-color:color-mix(in srgb,var(--primary,#0ea5e9) 45%,transparent)!important;background:color-mix(in srgb,var(--primary,#0ea5e9) 7%,var(--surface-soft,#f8fafc))!important}
.pc-terminal-provider:active{transform:scale(.985)!important}
.pc-terminal-provider>span{display:grid;gap:3px;min-width:0;text-align:right}.pc-terminal-provider strong{font-size:.81rem}.pc-terminal-provider small{padding:0!important;background:transparent!important;color:var(--text-muted,#64748b)!important;font-size:.63rem!important;white-space:normal}.pc-terminal-provider em{padding:3px 7px;border-radius:999px;background:color-mix(in srgb,var(--primary,#0ea5e9) 12%,transparent);color:var(--primary,#0284c7);font-size:.59rem;font-style:normal;font-weight:950}
.pc-terminal-without-amount{
  min-height:46px!important;
  background:#fbbf24!important;
  color:#422006!important;
  border:1px solid #f59e0b!important;
  box-shadow:0 9px 22px rgba(245,158,11,.20)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
}
.pc-terminal-without-amount small{font-size:.61rem;opacity:.72}.pc-terminal-without-amount:disabled{opacity:.48!important;box-shadow:none!important}

/* ---------- Sales product click feedback ---------- */
body[data-foodos-route="pos"] .product-card{isolation:isolate;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important}
body[data-foodos-route="pos"] .product-card::after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 50% 50%,color-mix(in srgb,var(--primary,#0ea5e9) 18%,transparent),transparent 68%);opacity:0;pointer-events:none}
body[data-foodos-route="pos"] .product-card.pc-product-card-tapped{animation:pcProductTap .28s ease both!important;border-color:color-mix(in srgb,var(--primary,#0ea5e9) 58%,transparent)!important;box-shadow:0 9px 24px color-mix(in srgb,var(--primary,#0ea5e9) 15%,transparent)!important}
body[data-foodos-route="pos"] .product-card.pc-product-card-tapped::after{animation:pcProductGlow .28s ease both}
@keyframes pcProductTap{0%{transform:scale(1)}45%{transform:scale(.975)}100%{transform:scale(1)}}
@keyframes pcProductGlow{0%{opacity:0}45%{opacity:1}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){body[data-foodos-route="pos"] .product-card.pc-product-card-tapped,body[data-foodos-route="pos"] .product-card.pc-product-card-tapped::after{animation:none!important}}

/* ---------- Premium commercial hamburger menu ---------- */
.side-menu-overlay{background:rgba(15,23,42,.48)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important}
.side-menu-panel{
  width:min(330px,88vw)!important;
  padding:14px!important;
  gap:6px!important;
  border-inline-start:1px solid rgba(148,163,184,.26)!important;
  background:linear-gradient(180deg,#fff 0%,#f8fafc 100%)!important;
  box-shadow:-22px 0 60px rgba(15,23,42,.18)!important;
}
.pc-side-menu-head{position:sticky;top:-14px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-14px -14px 8px;padding:16px 14px 13px;border-bottom:1px solid #e2e8f0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px)}
.pc-side-menu-brand{display:flex;align-items:center;gap:10px;min-width:0}.pc-side-menu-brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:linear-gradient(135deg,var(--primary,#0ea5e9),#38bdf8);color:#fff;box-shadow:0 10px 22px color-mix(in srgb,var(--primary,#0ea5e9) 25%,transparent)}.pc-side-menu-brand-mark svg{width:22px;height:22px;fill:currentColor}.pc-side-menu-brand-copy{display:grid;gap:2px;min-width:0}.pc-side-menu-brand-copy strong{font-size:.91rem;color:#0f172a}.pc-side-menu-brand-copy small{font-size:.64rem;color:#64748b;direction:ltr;text-align:right}
.pc-side-menu-close{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;border:1px solid #e2e8f0!important;border-radius:12px!important;background:#f8fafc!important;color:#475569!important;font-size:1.4rem!important;line-height:1!important}
.pc-side-menu-section-label{margin:7px 8px 3px;color:#94a3b8;font-size:.62rem;font-weight:950;letter-spacing:.02em}.pc-side-menu-section-label-system{margin-top:12px;padding-top:10px;border-top:1px dashed #dbe4ef}
.side-menu-panel .menu-item:not(.menu-item-logout){
  position:relative!important;
  min-height:52px!important;
  padding:7px 9px!important;
  gap:10px!important;
  border:1px solid transparent!important;
  border-radius:14px!important;
  background:transparent!important;
  color:#334155!important;
  font-size:.8rem!important;
  font-weight:850!important;
  text-align:right!important;
  box-shadow:none!important;
}
.side-menu-panel .menu-item:not(.menu-item-logout) .icon{width:36px!important;height:36px!important;padding:8px!important;border-radius:11px!important;background:#eef6fc!important;color:#0284c7!important;fill:currentColor!important;flex:0 0 36px!important}
.side-menu-panel .menu-item:not(.menu-item-logout):hover{background:#fff!important;border-color:#dbeafe!important;box-shadow:0 8px 20px rgba(15,23,42,.06)!important;transform:translateX(-2px)!important}
.side-menu-panel .menu-item.is-current:not(.menu-item-logout){background:linear-gradient(135deg,rgba(14,165,233,.12),rgba(56,189,248,.05))!important;border-color:rgba(14,165,233,.24)!important;color:#0369a1!important;box-shadow:0 8px 20px rgba(14,165,233,.08)!important}
.side-menu-panel .menu-item.is-current:not(.menu-item-logout)::after{content:"";position:absolute;inset:9px auto 9px 0;width:3px;border-radius:999px;background:var(--primary,#0ea5e9)}
.side-menu-panel .menu-item-coming-soon{opacity:.50!important}.side-menu-panel .menu-item-coming-soon .icon{filter:grayscale(.6)}
.side-menu-panel .menu-item-logout{margin-top:8px!important;min-height:50px!important;border-radius:14px!important;font-weight:900!important}
.menu-powered-by{margin-top:auto!important;padding:12px 8px 5px!important;border-top:1px solid #e2e8f0!important}

/* ---------- Dark-mode completion for changed and previously light-only controls ---------- */
html.pc-dark-mode .pc-settle-customer-card,
body.pc-dark-mode .pc-settle-customer-card,
html.pc-dark-mode .pc-settle-payment-workspace,
body.pc-dark-mode .pc-settle-payment-workspace,
html.pc-dark-mode .pc-settle-payment-part,
body.pc-dark-mode .pc-settle-payment-part,
html.pc-dark-mode .pc-settle-payment-input-wrap,
body.pc-dark-mode .pc-settle-payment-input-wrap,
html.pc-dark-mode .tcA-protocol-trigger,
body.pc-dark-mode .tcA-protocol-trigger,
html.pc-dark-mode .tcA-protocol-options,
body.pc-dark-mode .tcA-protocol-options{
  background:#111827!important;
  border-color:#334155!important;
  color:#e5e7eb!important;
  box-shadow:none!important;
}
html.pc-dark-mode .tcA-protocol-options button,body.pc-dark-mode .tcA-protocol-options button{color:#e5e7eb!important}
html.pc-dark-mode .tcA-protocol-options button:hover,body.pc-dark-mode .tcA-protocol-options button:hover{background:#1e293b!important}
html.pc-dark-mode .tcA-protocol-options button.is-selected,body.pc-dark-mode .tcA-protocol-options button.is-selected{background:rgba(56,189,248,.12)!important;border-color:rgba(56,189,248,.28)!important;color:#7dd3fc!important}
html.pc-dark-mode .tcA-protocol-options button.is-selected i,body.pc-dark-mode .tcA-protocol-options button.is-selected i{box-shadow:inset 0 0 0 2px #111827!important}
html.pc-dark-mode .glass.tcA-card,body.pc-dark-mode .glass.tcA-card{background:#0f172a!important;border-color:#334155!important;box-shadow:0 12px 30px rgba(0,0,0,.22)!important}
html.pc-dark-mode .glass.tcA-card .tcA-head.tcA-accordion-head:hover,body.pc-dark-mode .glass.tcA-card .tcA-head.tcA-accordion-head:hover{background:#111827!important}
html.pc-dark-mode .pc-settle-payment-entry>label,body.pc-dark-mode .pc-settle-payment-entry>label,html.pc-dark-mode .pc-settle-payment-part-copy strong,body.pc-dark-mode .pc-settle-payment-part-copy strong{color:#f8fafc!important}
html.pc-dark-mode .pc-settle-payment-entry>small,body.pc-dark-mode .pc-settle-payment-entry>small,html.pc-dark-mode .pc-settle-payment-part-copy small,body.pc-dark-mode .pc-settle-payment-part-copy small{color:#94a3b8!important}
html.pc-dark-mode .pc-settle-payment-finalize-retry,body.pc-dark-mode .pc-settle-payment-finalize-retry{background:#162238!important;border-color:#334155!important;color:#7dd3fc!important}
html.pc-dark-mode .pc-settle-payment-part>button,body.pc-dark-mode .pc-settle-payment-part>button{background:rgba(239,68,68,.16)!important;color:#fca5a5!important}
html.pc-dark-mode .side-menu-panel,body.pc-dark-mode .side-menu-panel{background:linear-gradient(180deg,#0f172a,#0b1220)!important;border-color:#1e293b!important;box-shadow:-22px 0 60px rgba(0,0,0,.48)!important}
html.pc-dark-mode .pc-side-menu-head,body.pc-dark-mode .pc-side-menu-head{background:rgba(15,23,42,.97)!important;border-color:#1e293b!important}
html.pc-dark-mode .pc-side-menu-brand-copy strong,body.pc-dark-mode .pc-side-menu-brand-copy strong{color:#f8fafc!important}.pc-dark-mode .pc-side-menu-brand-copy small{color:#94a3b8!important}
html.pc-dark-mode .pc-side-menu-close,body.pc-dark-mode .pc-side-menu-close{background:#111827!important;border-color:#334155!important;color:#cbd5e1!important}
html.pc-dark-mode .pc-side-menu-section-label-system,body.pc-dark-mode .pc-side-menu-section-label-system,html.pc-dark-mode .menu-powered-by,body.pc-dark-mode .menu-powered-by{border-color:#1e293b!important}
html.pc-dark-mode .side-menu-panel .menu-item:not(.menu-item-logout),body.pc-dark-mode .side-menu-panel .menu-item:not(.menu-item-logout){background:transparent!important;border-color:transparent!important;color:#cbd5e1!important}
html.pc-dark-mode .side-menu-panel .menu-item:not(.menu-item-logout) .icon,body.pc-dark-mode .side-menu-panel .menu-item:not(.menu-item-logout) .icon{background:#162238!important;color:#38bdf8!important}
html.pc-dark-mode .side-menu-panel .menu-item:not(.menu-item-logout):hover,body.pc-dark-mode .side-menu-panel .menu-item:not(.menu-item-logout):hover{background:#111827!important;border-color:#334155!important;box-shadow:0 10px 24px rgba(0,0,0,.22)!important}
html.pc-dark-mode .side-menu-panel .menu-item.is-current:not(.menu-item-logout),body.pc-dark-mode .side-menu-panel .menu-item.is-current:not(.menu-item-logout){background:rgba(14,165,233,.13)!important;border-color:rgba(56,189,248,.25)!important;color:#7dd3fc!important}
html.pc-dark-mode .side-menu-panel .menu-item-logout,body.pc-dark-mode .side-menu-panel .menu-item-logout{background:rgba(239,68,68,.12)!important;border-color:rgba(248,113,113,.32)!important;color:#fca5a5!important;box-shadow:none!important}

/* Existing surfaces that still carried literal light colors. */
html.pc-dark-mode .price-summary-box,body.pc-dark-mode .price-summary-box,
html.pc-dark-mode .modern-stepper,body.pc-dark-mode .modern-stepper,
html.pc-dark-mode .settle-list-container,body.pc-dark-mode .settle-list-container,
html.pc-dark-mode .settle-row,body.pc-dark-mode .settle-row,
html.pc-dark-mode .pos-status-content,body.pc-dark-mode .pos-status-content{
  background:#111827!important;
  border-color:#334155!important;
  color:#e5e7eb!important;
}
html.pc-dark-mode .settle-row.checked,body.pc-dark-mode .settle-row.checked{background:rgba(14,165,233,.12)!important;border-color:rgba(56,189,248,.35)!important}
html.pc-dark-mode .stepper-val-modern,body.pc-dark-mode .stepper-val-modern,
html.pc-dark-mode .settle-name,body.pc-dark-mode .settle-name,
html.pc-dark-mode .price-label,body.pc-dark-mode .price-label{color:#f8fafc!important}
html.pc-dark-mode .settle-meta,body.pc-dark-mode .settle-meta{color:#94a3b8!important}

@media(max-width:460px){
  .settle-modal-panel{padding:14px!important}
  .pc-settle-payment-entry{grid-template-columns:1fr}.pc-settle-payment-entry>label{white-space:normal}.pc-settle-payment-entry>small{grid-column:1}
  .pc-settle-adjustments-row{gap:5px!important}.pc-settle-adjustment-card,#pc-settle-wallet-host .pc-settle-wallet-control.pc-settle-adjustment-card{padding:7px!important}
  .side-menu-panel{width:min(320px,92vw)!important}
}
