/* Phone-only screen ownership. Keep the original KOVRA surfaces and typography. */
@media (max-width:620px) {
  html.kovra-business-phone body.kovra-business-page [hidden] { display:none!important; }
  html.kovra-business-phone body.kovra-business-page { height:100dvh; min-height:0; padding:0!important; overflow:hidden; }
  html.kovra-business-phone .business-shell { height:100dvh; min-height:0; display:flex; flex-direction:column; overflow:hidden; padding-bottom:96px!important; }
  html.kovra-business-phone #businessAuthorized { flex:1; min-height:0; display:flex; flex-direction:column; }
  html.kovra-business-phone #businessWorkspace { flex:1; min-height:0; display:flex!important; flex-direction:column; overflow:hidden; }
  html.kovra-business-phone :is(#businessLocked,#businessSetup):not([hidden]) { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; }
  html.kovra-business-phone .business-view:not([hidden]) { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; }
  html.kovra-business-phone .business-view .business-list,
  html.kovra-business-phone .business-pedidos-list { max-height:none!important; overflow:visible!important; }
  html.kovra-business-phone-loading #businessAuthorized { visibility:hidden!important; }
  html.kovra-business-phone-loading .kovra-business-nav { display:none!important; }
  html.kovra-business-phone #businessWorkspace[hidden] { display:none!important; }
  #businessPhoneLoading { margin:32px 12px; color:var(--theme-text-muted,#a1ada5); text-align:center; }
  .business-screen-title-bar {
    min-width:0; margin:8px 0 16px; display:flex; align-items:center; justify-content:space-between; gap:10px;
  }
  #businessScreenTitle {
    min-width:0; margin:0; color:var(--theme-text,#f4f7f5); font-size:24px; line-height:1.2;
    letter-spacing:-.5px; outline:none;
  }
  html.kovra-business-phone #repeatLastOrderButton.business-title-repeat {
    flex:0 0 auto; min-height:38px; display:inline-flex; align-items:center; gap:6px; padding:0 10px;
    border:1px solid var(--theme-border-strong,#506858); border-radius:12px;
    background:linear-gradient(180deg,var(--theme-accent-soft,#11311b),var(--theme-surface-2,#08100c));
    color:var(--theme-text,#f4f7f5); font-size:12.5px; line-height:1; font-weight:850;
    box-shadow:0 5px 14px rgba(0,0,0,.16);
  }
  html.kovra-business-phone #repeatLastOrderButton.business-title-repeat[hidden] { display:none!important; }
  html.kovra-business-phone #repeatLastOrderButton.business-title-repeat>span:first-child { font-size:18px; line-height:1; }
  html.kovra-business-phone .business-topbar {
    position:relative; gap:11px; min-height:74px; margin-left:-10px; margin-right:-10px; margin-bottom:14px;
    padding:10px 12px; border-radius:0 0 16px 16px;
    background:var(--theme-surface,#08100c)!important;
    border-bottom:1px solid var(--theme-border,#274a37)!important;
  }
  html.kovra-business-phone .business-topbar .business-brand {
    flex:1 1 auto; min-width:0; gap:0; align-items:center;
  }
  html.kovra-business-phone .business-topbar .business-brand img {
    display:none!important;
  }
  html.kovra-business-phone .business-topbar .business-brand>div {
    display:flex!important; flex:1 1 auto; width:100%; min-width:0; gap:3px;
  }
  html.kovra-business-phone .business-topbar .business-brand span {
    width:100%; color:var(--theme-muted,#a1ada5)!important;
    font-size:13px; line-height:1.1; font-weight:850; letter-spacing:.8px;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  }
  html.kovra-business-phone .business-topbar .business-brand strong {
    width:100%; max-width:none; color:var(--theme-text,#f4f7f5)!important;
    font-size:22px; line-height:1.12; font-weight:900;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  }
  html.kovra-business-phone .business-menu-button,
  html.kovra-business-phone .business-icon-button { width:44px; height:44px; flex:0 0 44px; }
  html.kovra-business-phone #refreshBusinessButton.business-phone-switch-button {
    display:grid; grid-template-columns:25px 9px; place-items:center; gap:1px; padding:0 4px;
    border-color:var(--theme-border-strong,#506858); background:var(--theme-surface-2,#07100b);
    color:var(--theme-text,#f4f7f5); border-radius:13px;
  }
  html.kovra-business-phone #refreshBusinessButton.business-phone-switch-button svg {
    width:25px; height:25px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round;
  }
  html.kovra-business-phone #refreshBusinessButton.business-phone-switch-button>span { font-size:12px; line-height:1; }
  html.kovra-business-phone .business-phone-switcher {
    position:absolute; z-index:2450; top:calc(100% - 3px); right:5px; width:min(334px,calc(100vw - 20px));
    max-height:min(430px,66dvh); overflow:auto; padding:7px; border:1px solid var(--theme-border-strong,#506858);
    border-radius:17px; background:var(--theme-surface,#07100b); box-shadow:0 20px 52px rgba(0,0,0,.5);
  }
  html.kovra-business-phone .business-phone-switcher[hidden] { display:none!important; }
  html.kovra-business-phone .business-switcher-head {
    min-height:55px; display:grid; grid-template-columns:minmax(0,1fr) 34px; align-items:center; gap:8px;
    padding:4px 4px 8px 8px; border-bottom:1px solid var(--theme-border,#334a3b);
  }
  html.kovra-business-phone .business-switcher-head>div { min-width:0; display:flex; flex-direction:column; gap:2px; }
  html.kovra-business-phone .business-switcher-head span {
    color:var(--theme-text-2,#c8d2cc); font-size:12px; font-weight:900; letter-spacing:.78px;
  }
  html.kovra-business-phone .business-switcher-head strong {
    color:var(--theme-text,#f4f7f5); font-size:15px; line-height:1.15;
  }
  html.kovra-business-phone .business-switcher-head small {
    color:var(--theme-muted,#a1ada5); font-size:12px; line-height:1.25;
  }
  html.kovra-business-phone .business-switcher-close {
    width:32px; height:32px; border:1px solid var(--theme-border,#334a3b); border-radius:10px;
    background:var(--theme-surface-2,#08100c); color:var(--theme-text,#f4f7f5); font-size:20px; line-height:1;
  }
  html.kovra-business-phone .business-switcher-list {
    display:flex; flex-direction:column; gap:4px; max-height:245px; overflow:auto; padding:6px 0;
  }
  html.kovra-business-phone .business-switcher-item {
    width:100%; min-height:56px; display:grid; grid-template-columns:38px minmax(0,1fr) auto; align-items:center;
    gap:9px; padding:7px 8px; border:1px solid transparent; border-radius:12px;
    background:transparent; color:var(--theme-text,#f4f7f5); text-align:left;
  }
  html.kovra-business-phone .business-switcher-item.active {
    border-color:var(--theme-border-strong,#506858); background:var(--theme-accent-soft,#11311b);
  }
  html.kovra-business-phone .business-switcher-store {
    width:36px; height:36px; display:grid; place-items:center; border-radius:10px;
    background:var(--theme-surface-2,#08100c); color:var(--theme-text,#f4f7f5);
  }
  html.kovra-business-phone .business-switcher-store svg {
    width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round;
  }
  html.kovra-business-phone .business-switcher-copy {
    min-width:0; display:flex; flex-direction:column; gap:2px;
  }
  html.kovra-business-phone .business-switcher-copy strong {
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; line-height:1.15;
  }
  html.kovra-business-phone .business-switcher-copy small {
    color:var(--theme-muted,#a1ada5); font-size:12px; line-height:1.2;
  }
  html.kovra-business-phone .business-switcher-state {
    color:var(--theme-text,#f4f7f5); font-size:12px; font-weight:900; letter-spacing:.4px;
  }
  html.kovra-business-phone .business-switcher-empty {
    display:flex; flex-direction:column; gap:3px; margin:0; padding:16px 10px; color:var(--theme-muted,#a1ada5); text-align:center;
  }
  html.kovra-business-phone .business-switcher-empty strong { color:var(--theme-text,#f4f7f5); font-size:12px; }
  html.kovra-business-phone .business-switcher-empty span { font-size:12px; line-height:1.3; }
  html.kovra-business-phone .business-switcher-create {
    width:100%; min-height:50px; display:grid; grid-template-columns:34px minmax(0,1fr); align-items:center;
    gap:9px; padding:7px 9px; border:1px solid var(--theme-border-strong,#506858); border-radius:12px;
    background:var(--theme-accent,#35e86a); color:var(--theme-on-accent,#031007); text-align:left;
  }
  html.kovra-business-phone .business-switcher-create>span:first-child {
    width:32px; height:32px; display:grid; place-items:center; border-radius:9px;
    background:rgba(0,0,0,.12); font-size:19px; font-weight:900;
  }
  html.kovra-business-phone .business-switcher-create>span:last-child {
    min-width:0; display:flex; flex-direction:column; gap:1px;
  }
  html.kovra-business-phone .business-switcher-create strong { font-size:12.5px; line-height:1.1; }
  html.kovra-business-phone .business-switcher-create small { font-size:12px; line-height:1.22; opacity:.9; }
  html.kovra-business-phone .business-hero { display:none!important; }
  html.kovra-business-phone #businessApp #newBusinessClientButton { display:inline-flex!important; }
  html.kovra-business-phone .business-switch-wrap { display:block!important; width:100%; max-width:none; }
  html.kovra-business-phone .business-switch-row { display:flex; gap:8px; }
  html.kovra-business-phone .business-switch-row select { min-width:0; flex:1; }
  html.kovra-business-phone .business-view { min-width:0; max-width:100%; overflow-x:hidden!important; }
  html.kovra-business-phone .business-view[data-view-panel="pedidos"] { overscroll-behavior-x:none; }
  html.kovra-business-phone .business-card-head { gap:10px; flex-wrap:wrap; }
  html.kovra-business-phone .business-card h2 { overflow-wrap:anywhere; }
  html.kovra-business-phone .business-modal { z-index:4000; }
  html.kovra-business-phone .business-modal:not(.open) { display:none!important; }
  html.kovra-business-phone .business-modal-card { max-height:calc(100dvh - 32px); overflow-y:auto; }
  html.kovra-business-phone .business-drawer:not(.open) { visibility:hidden; }
  html.kovra-business-phone .business-drawer.open { visibility:visible; }
  html.kovra-business-phone .business-drawer-nav button { flex-shrink:0; min-height:48px; }
  html.kovra-business-phone .business-drawer-foot { flex-shrink:0; }
  body.business-phone-menu-open { overflow:hidden!important; }
  html.kovra-business-phone .business-tabs { display:none!important; }
  html.kovra-business-phone .kovra-business-nav {
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    /* Bottom inset owned by kovra-fixed-bottom-nav-anchor.css. */
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    transform:none!important;
    translate:none!important;
    box-sizing:border-box!important;
    height:76px!important;
    min-height:76px!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    grid-template-rows:1fr!important;
    column-gap:2px!important;
    align-items:center!important;
    padding:6px!important;
    border:1px solid var(--theme-border-strong,#274a37)!important;
    border-radius:24px!important;
    background:var(--theme-nav,#06100b)!important;
    box-shadow:0 -4px 16px rgba(0,0,0,.16)!important;
    overflow:visible!important;
  }

  html.kovra-business-phone .kovra-business-nav #homeButton { grid-column:1!important; }
  html.kovra-business-phone .kovra-business-nav #clientsButton { grid-column:2!important; }
  html.kovra-business-phone .kovra-business-nav #addButton { grid-column:3!important; }
  html.kovra-business-phone .kovra-business-nav #creditsButton { grid-column:4!important; }
  html.kovra-business-phone .kovra-business-nav #pedidosButton { grid-column:5!important; }
  html.kovra-business-phone .kovra-business-nav #businessMoreButton { grid-column:6!important; }


  html.kovra-business-phone { --business-nav-active-fg:var(--theme-text,#f4f7f5); }
  html.kovra-business-phone:not([data-kovra-theme]),
  html.kovra-business-phone[data-kovra-theme="classic"] { --business-nav-active-fg:var(--theme-accent,#35e86a); }
  html.kovra-business-phone[data-kovra-theme="light"] { --business-nav-active-fg:var(--theme-accent-strong,#0e6336); }
  html.kovra-business-phone[data-kovra-theme="dark"] { --business-nav-active-fg:var(--theme-accent,#c7ced6); }
  html.kovra-business-phone[data-kovra-theme="sand"] { --business-nav-active-fg:var(--theme-accent-strong,#8f3f17); }
  html.kovra-business-phone[data-kovra-theme="indigo"] { --business-nav-active-fg:var(--theme-text,#f7f3ff); }
  html.kovra-business-phone[data-kovra-theme="steel"] { --business-nav-active-fg:var(--theme-accent,#70b6d9); }
  html.kovra-business-phone[data-kovra-theme="gold"] { --business-nav-active-fg:var(--theme-accent-strong,#6f4700); }
  html.kovra-business-phone[data-kovra-theme="amber"] { --business-nav-active-fg:var(--theme-text,#22180f); }
  html.kovra-business-phone[data-kovra-theme="crimson"] { --business-nav-active-fg:var(--theme-accent-strong,#f27a89); }
  html.kovra-business-phone[data-kovra-theme="emerald"] { --business-nav-active-fg:var(--theme-accent,#45b98e); }
  html.kovra-business-phone[data-kovra-theme="cobalt"] { --business-nav-active-fg:var(--theme-text,#f7f8ff); }
  html.kovra-business-phone[data-kovra-theme="rosemary1"] { --business-nav-active-fg:var(--theme-text,#fff7f1); }
  html.kovra-business-phone[data-kovra-theme="rosemary2"] { --business-nav-active-fg:var(--theme-accent-strong,#1e6483); }
  html.kovra-business-phone[data-kovra-theme="rosemary3"] { --business-nav-active-fg:var(--theme-text,#fbf7e8); }
  html.kovra-business-phone[data-kovra-theme="rosemary4"] { --business-nav-active-fg:var(--theme-accent-strong,#6a573a); }
  html.kovra-business-phone[data-kovra-theme="rosemary5"] { --business-nav-active-fg:var(--theme-accent,#6b6b2d); --business-nav-active-border:var(--theme-on-nav); }
  html.kovra-business-phone[data-kovra-theme="agua2"] { --business-nav-active-fg:var(--theme-accent-strong,#055D70); --business-nav-active-border:var(--theme-on-nav); }

  html.kovra-business-phone .kovra-business-nav :is(#homeButton,#clientsButton,#addButton,#creditsButton,#pedidosButton,#businessMoreButton) {
    grid-row:1!important;
    min-width:0!important;
    width:100%!important;
    height:62px!important;
    min-height:62px!important;
    max-height:62px!important;
    margin:0!important;
    padding:5px 1px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    border:1px solid transparent!important;
    border-radius:17px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:var(--theme-on-nav,#f4f7f5)!important;
    opacity:1!important;
    transform:none!important;
    transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease!important;
  }

  html.kovra-business-phone .kovra-business-nav :is(.nav-button,.business-more-nav-button)>.nav-icon {
    width:27px!important;
    height:27px!important;
    min-width:27px!important;
    display:grid!important;
    place-items:center!important;
    margin:0 auto!important;
    color:inherit!important;
  }
  html.kovra-business-phone .kovra-business-nav :is(.nav-button,.business-more-nav-button)>.nav-icon svg {
    width:26px!important;
    height:26px!important;
    display:block!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
    overflow:visible!important;
  }
  html.kovra-business-phone .kovra-business-nav #businessMoreButton>.nav-icon svg circle {
    fill:currentColor!important;
    stroke:none!important;
  }

  html.kovra-business-phone .kovra-business-nav :is(.nav-button,.business-more-nav-button)>.nav-icon + span:not(.kovra-notification-unread-badge) {
    display:block!important;
    width:100%!important;
    min-width:0!important;
    color:inherit!important;
    font-size:11px!important;
    font-weight:760!important;
    line-height:1.05!important;
    letter-spacing:-.12px!important;
    white-space:nowrap!important;
    text-align:center!important;
    overflow:visible!important;
  }

  html.kovra-business-phone .kovra-business-nav :is(#homeButton,#clientsButton,#addButton,#creditsButton,#pedidosButton,#businessMoreButton).active {
    color:var(--business-nav-active-fg)!important;
    border:1px solid var(--business-nav-active-border,var(--business-nav-active-fg))!important;
    background:var(--theme-accent-soft,#0c321b)!important;
    box-shadow:
      0 0 0 1px color-mix(in srgb,var(--theme-accent,#21df67) 42%,transparent) inset,
      0 0 18px color-mix(in srgb,var(--theme-accent,#21df67) 34%,transparent)!important;
  }
  html.kovra-business-phone .kovra-business-nav :is(.nav-button,.business-more-nav-button).active>.nav-icon {
    color:var(--business-nav-active-fg)!important;
  }
  html.kovra-business-phone .kovra-business-nav :is(.nav-button,.business-more-nav-button).active>span:last-child {
    color:var(--business-nav-active-fg)!important;
    font-weight:900!important;
  }
  html.kovra-business-phone .kovra-business-nav :is(.nav-button,.business-more-nav-button) {
    position:relative!important;
  }
  html.kovra-business-phone .kovra-business-nav :is(.nav-button,.business-more-nav-button):active {
    transform:translateY(1px)!important;
  }
  html.kovra-business-phone #quickMenu { z-index:2290; }
  html.kovra-business-phone .business-field input,
  html.kovra-business-phone .business-field select,
  html.kovra-business-phone .business-field textarea { font-size:16px; }
  html.kovra-business-phone .business-card-head h2,
  html.kovra-business-phone .business-card>h2 { font-size:18px; line-height:1.18; letter-spacing:-.15px; }
  html.kovra-business-phone .business-kicker { color:var(--theme-text-2)!important; font-size:12px; line-height:1.15; }
  html.kovra-business-phone .business-list-item { padding:12px; border-radius:14px; }
  html.kovra-business-phone .business-list-copy strong,
  html.kovra-business-phone .business-list-amount strong { font-size:13.5px; }
  html.kovra-business-phone .business-list-copy span,
  html.kovra-business-phone .business-list-amount span,
  html.kovra-business-phone .business-note,
  html.kovra-business-phone .business-capacity-line { font-size:12.5px; }
  html.kovra-business-phone .business-primary,
  html.kovra-business-phone .business-secondary,
  html.kovra-business-phone .business-link { font-size:13px; }
  html.kovra-business-phone .business-more-list strong { font-size:14.5px; }
  html.kovra-business-phone .business-more-list small { font-size:12px; line-height:1.25; }

  html.kovra-business-phone .business-list-copy { overflow-wrap:anywhere; }
  html.kovra-business-phone #salesActivityList .business-list-item { text-align:left; }
  html.kovra-business-phone #businessAutoForm .business-field>span { display:flex; align-items:center; gap:12px; min-height:44px; margin:0; }
  html.kovra-business-phone #businessAutoForm input[type="checkbox"] { width:20px!important; height:20px!important; min-height:20px!important; margin:0; flex:0 0 20px; accent-color:var(--theme-accent,#35e86a); }
  html.kovra-business-phone .business-view[data-view-panel="order"]>.business-card {
    padding:12px 11px 13px!important;
  }
  html.kovra-business-phone .business-view[data-view-panel="order"] .business-order-head-compact[hidden] {
    display:none!important;
  }
  html.kovra-business-phone .business-view[data-view-panel="order"] #businessOrderForm {
    gap:9px;
  }
  html.kovra-business-phone .business-view[data-view-panel="order"] #addOrderItemButton {
    width:100%; min-height:40px; margin:0; padding:0 13px; border-color:var(--theme-border-strong,#506858);
    font-size:13px;
  }
  html.kovra-business-phone .business-view[data-view-panel="order"] #orderItems {
    overflow:visible; padding-right:0; gap:5px;
  }
  html.kovra-business-phone .business-view[data-view-panel="order"] #orderItems.is-scrollable {
    max-height:var(--kovra-order-items-height); overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain;
    scrollbar-gutter:stable; padding-right:3px; scroll-behavior:smooth;
  }
  html.kovra-business-phone .business-view[data-view-panel="order"] #orderItems::-webkit-scrollbar { width:5px; }
  html.kovra-business-phone .business-view[data-view-panel="order"] #orderItems::-webkit-scrollbar-thumb {
    background:var(--theme-border-strong,#506858); border-radius:999px;
  }
  html.kovra-business-phone .business-view[data-view-panel="order"] .business-order-total {
    position:relative; z-index:2; min-height:48px; margin:0; padding:9px 11px;
    background:var(--theme-surface-2,#08100c); border-color:var(--theme-border-strong,#506858); box-shadow:none;
  }
  html.kovra-business-phone .business-view[data-view-panel="order"] .business-order-total span { font-size:12.5px; font-weight:750; }
  html.kovra-business-phone .business-view[data-view-panel="order"] .business-order-total strong { font-size:18px; }
  html.kovra-business-phone .business-view[data-view-panel="order"] #saveOrderButton {
    min-height:44px; margin:0; font-size:13px;
  }
  html.kovra-business-phone .business-view[data-view-panel="order"] #orderNote {
    min-height:36px!important; height:36px; padding:8px 10px; resize:none; line-height:1.15;
  }
  html.kovra-business-phone .business-view[data-view-panel="order"] #orderNote:focus {
    height:54px;
  }
  html.kovra-business-phone .business-view[data-view-panel="order"] label:has(#orderNote) {
    gap:3px;
  }
  html.kovra-business-phone .business-view[data-view-panel="order"] label:has(#orderNote)>span {
    font-size:12px; line-height:1.15;
  }
  html.kovra-business-phone .business-order-row {
    min-width:0; flex:0 0 auto; grid-template-columns:minmax(0,1.65fr) 54px 76px 30px;
    gap:5px; align-items:end; padding:8px; border-radius:12px;
  }
  html.kovra-business-phone .business-order-row label { gap:4px; }
  html.kovra-business-phone .business-order-row label>span { font-size:12px; line-height:1.15; font-weight:750; }
  html.kovra-business-phone .business-order-row input {
    height:36px; min-height:36px; padding:0 8px; border-radius:9px; font-size:15px;
  }
  html.kovra-business-phone .business-order-row [data-remove-item] {
    width:30px; height:36px; border-radius:9px;
  }
  html.kovra-business-phone .business-item-heading {
    display:flex!important; align-items:center; justify-content:space-between; gap:5px; min-width:0;
  }
  html.kovra-business-phone .business-item-heading>span:first-child {
    min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  }
  html.kovra-business-phone .business-item-heading .business-line-total {
    display:inline-flex; align-items:center; gap:3px; margin-left:auto; flex:0 0 auto;
    color:var(--theme-muted,#a1ada5); font-size:12px; line-height:1.05; white-space:nowrap;
  }
  html.kovra-business-phone .business-item-heading .business-line-total strong {
    color:var(--theme-text,#f4f7f5); font-size:12.5px;
  }
  html.kovra-business-phone #frequentProducts:empty { display:none; }
  html.kovra-business-phone #smartInvoicePanel.smart-invoice-disclosure {
    margin:0 0 12px; padding:0; border:1px solid var(--theme-border,#334a3b); border-radius:14px;
    background:var(--theme-surface-2,#08100c); overflow:hidden;
  }
  html.kovra-business-phone .smart-invoice-toolbar { display:block; padding:5px; }
  html.kovra-business-phone .smart-invoice-toggle {
    width:100%; min-width:0; min-height:54px; display:grid; grid-template-columns:minmax(0,1fr) 24px; align-items:center;
    gap:8px; padding:8px 9px; border:0; border-radius:10px; background:transparent; color:var(--theme-text,#f4f7f5); text-align:left;
  }
  html.kovra-business-phone .smart-invoice-toggle>span { display:flex; flex-direction:column; justify-content:center; gap:3px; min-width:0; }
  html.kovra-business-phone .smart-invoice-toggle b { font-size:14px; line-height:1.1; color:var(--theme-text,#f4f7f5); }
  html.kovra-business-phone .smart-invoice-toggle small { font-size:12px; line-height:1.25; color:var(--theme-muted,#a1ada5); }
  html.kovra-business-phone .smart-invoice-toggle i {
    display:grid; place-items:center; font-style:normal; color:var(--theme-text-2,#c8d2cc); font-size:21px;
    transition:transform .16s ease;
  }
  html.kovra-business-phone .smart-invoice-toggle.open i { transform:rotate(180deg); }
  html.kovra-business-phone .smart-invoice-body {
    padding:11px 12px 12px; border-top:1px solid var(--theme-border,#334a3b);
  }
  html.kovra-business-phone .smart-invoice-body[hidden] { display:none!important; }
  html.kovra-business-phone .business-view[data-view-panel="dashboard"] {
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important;
    min-width:0!important;
    width:100%!important;
    overflow:visible!important;
  }
  html.kovra-business-phone .business-view[data-view-panel="dashboard"] > * {
    position:static!important;
    inset:auto!important;
    flex:0 0 auto!important;
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    transform:none!important;
  }
  html.kovra-business-phone .business-view[data-view-panel="dashboard"] .business-metrics {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    grid-auto-rows:minmax(94px,auto)!important;
    column-gap:10px!important;
    row-gap:10px!important;
    align-items:stretch!important;
    position:static!important;
    margin:0 0 14px!important;
    width:100%!important;
  }
  html.kovra-business-phone .business-view[data-view-panel="dashboard"] .business-metrics article {
    position:static!important;
    inset:auto!important;
    grid-column:auto!important;
    grid-row:auto!important;
    align-self:stretch!important;
    min-width:0!important;
    width:auto!important;
    max-width:100%!important;
    height:auto!important;
    min-height:94px!important;
    margin:0!important;
    padding:12px 13px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    overflow:hidden!important;
    border-radius:16px!important;
    border:1px solid var(--theme-border)!important;
    border-top-width:2px!important;
    background:var(--theme-surface)!important;
    box-shadow:none!important;
    transform:none!important;
  }
  html.kovra-business-phone .business-view[data-view-panel="dashboard"] .business-metrics article:nth-child(1){border-top-color:var(--theme-success)!important}
  html.kovra-business-phone .business-view[data-view-panel="dashboard"] .business-metrics article:nth-child(2){border-top-color:var(--theme-info)!important}
  html.kovra-business-phone .business-view[data-view-panel="dashboard"] .business-metrics article:nth-child(3){border-top-color:var(--theme-warning)!important}
  html.kovra-business-phone .business-view[data-view-panel="dashboard"] .business-metrics article:nth-child(4){border-top-color:var(--theme-purple)!important}
  html.kovra-business-phone .business-view[data-view-panel="dashboard"] .business-metrics span {
    margin-bottom:6px!important;
    color:var(--theme-muted)!important;
    font-size:13px!important;
    line-height:1.22!important;
    font-weight:720!important;
  }
  html.kovra-business-phone .business-view[data-view-panel="dashboard"] .business-metrics strong {
    color:var(--theme-text)!important;
    font-size:18px!important;
    line-height:1.08!important;
    font-weight:900!important;
    letter-spacing:-.2px!important;
  }
  html.kovra-business-phone .business-view[data-view-panel="dashboard"] > #businessPhoneQuickActions.phone-quick-card {
    position:static!important; margin:0 0 14px!important; padding:11px!important;
    border-radius:16px!important; background:var(--theme-surface)!important; box-shadow:none!important;
  }
  html.kovra-business-phone .phone-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
  html.kovra-business-phone .phone-quick-grid button{min-width:0;min-height:74px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:9px 6px;border:1px solid var(--theme-border-strong,#334a3b);border-radius:14px;background:var(--theme-surface-2,#0a130f);color:var(--theme-text,#f4f7f5);font-weight:820;box-shadow:0 6px 16px color-mix(in srgb,var(--theme-bg) 34%,transparent)}
  html.kovra-business-phone .phone-quick-grid b{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--theme-accent-soft,#11311b);color:var(--theme-text,#f4f7f5);font-size:19px}
  html.kovra-business-phone .phone-quick-grid span{font-size:12.5px;line-height:1.2;text-align:center;font-weight:800}
  html.kovra-business-phone .business-filter-chips{display:flex;gap:7px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:none}
  html.kovra-business-phone .business-filter-chips::-webkit-scrollbar{display:none}
  html.kovra-business-phone .business-filter-chips button{flex:0 0 auto;min-height:34px;padding:0 12px;border:1px solid var(--theme-border,#334a3b);border-radius:999px;background:var(--theme-surface-2,#0a130f);color:var(--theme-text-2,#c8d2cc);font-size:12px;font-weight:800}
  html.kovra-business-phone .business-filter-chips button.active{background:var(--theme-accent,#35e86a);border-color:var(--theme-accent,#35e86a);color:var(--theme-on-accent,#031007)}
  html.kovra-business-phone .business-week-bars{height:128px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:5px;margin:14px 0 8px;padding:8px 6px 4px;border:1px solid var(--theme-border,#334a3b);border-radius:13px;background:var(--theme-surface-2,#0a130f)}
  html.kovra-business-phone .week-bar-day{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px}
  html.kovra-business-phone .week-bar-pair{height:90px;display:flex;align-items:flex-end;gap:3px}
  html.kovra-business-phone .week-bar-pair i{width:7px;min-height:4px;border-radius:4px 4px 2px 2px;background:var(--theme-accent,#35e86a)}
  html.kovra-business-phone .week-bar-pair i.collections{background:var(--theme-info,#73b6ff)}
  html.kovra-business-phone .week-bar-day small{color:var(--theme-muted,#a1ada5);font-size:12px;font-weight:700;text-transform:capitalize}
  html.kovra-business-phone .business-check-row{display:flex;align-items:center;gap:10px;min-height:42px;color:var(--theme-text-2,#c8d2cc);font-size:12px;font-weight:750}
  html.kovra-business-phone .business-check-row input{width:19px;height:19px;accent-color:var(--theme-accent,#35e86a)}
  html.kovra-business-phone .express-recent-head,html.kovra-business-phone .collections-recent-head,html.kovra-business-phone .cash-movements-head{margin-top:18px;padding-top:14px;border-top:1px solid var(--theme-border,#334a3b)}
  @media (prefers-reduced-motion:reduce) { .business-drawer { transition:none; } }
}

  html.kovra-business-phone .business-phone-switch-authority { display:none!important; }

  html.kovra-business-phone .business-more-separator {
    display:flex; align-items:center; min-height:30px; padding:8px 4px 3px;
    color:var(--theme-muted); font-size:12px; font-weight:900; letter-spacing:.75px;
  }
  html.kovra-business-phone .business-more-separator::after {
    content:""; height:1px; flex:1; margin-left:9px; background:var(--theme-border);
  }
  html.kovra-business-phone .business-settings-scope {
    margin:-2px 0 12px; padding:11px 12px; border:1px solid var(--theme-border);
    border-radius:13px; background:var(--theme-surface-2);
  }
  html.kovra-business-phone .business-settings-scope>span,
  html.kovra-business-phone .business-settings-scope>strong,
  html.kovra-business-phone .business-settings-scope>small { display:block; }
  html.kovra-business-phone .business-settings-scope>span {
    margin-bottom:3px; color:var(--theme-text-2); font-size:12px; font-weight:950; letter-spacing:.72px;
  }
  html.kovra-business-phone .business-settings-scope>strong { color:var(--theme-text); font-size:15px; line-height:1.15; }
  html.kovra-business-phone .business-settings-scope>small { margin-top:4px; color:var(--theme-muted); font-size:12px; line-height:1.35; }
  html.kovra-business-phone .business-settings-scope.business-only>span { color:var(--theme-text-2); }

  html.kovra-business-phone .business-shared-settings-card { padding:10px!important; }
  html.kovra-business-phone .business-shared-section {
    margin-top:7px; overflow:hidden; border:1px solid var(--theme-border); border-radius:13px; background:var(--theme-surface-2);
  }
  html.kovra-business-phone .business-shared-trigger {
    width:100%; min-height:64px; display:grid; grid-template-columns:38px minmax(0,1fr) 24px; align-items:center;
    gap:10px; padding:9px 11px; border:0; background:transparent; color:var(--theme-text); text-align:left;
  }
  html.kovra-business-phone .business-shared-trigger>.business-shared-icon {
    width:38px; height:38px; display:grid; place-items:center; border-radius:10px;
    background:var(--theme-accent-soft); color:var(--theme-text); font-size:18px; font-weight:900;
  }
  html.kovra-business-phone .business-shared-trigger>span:nth-child(2) { min-width:0; display:flex; flex-direction:column; gap:2px; }
  html.kovra-business-phone .business-shared-trigger strong { font-size:13px; line-height:1.15; }
  html.kovra-business-phone .business-shared-trigger small { color:var(--theme-muted); font-size:12px; line-height:1.28; }
  html.kovra-business-phone .business-shared-trigger>i { color:var(--theme-text-2); font-style:normal; font-size:18px; transition:transform .15s ease; }
  html.kovra-business-phone .business-shared-trigger.open>i { transform:rotate(180deg); }
  html.kovra-business-phone .business-shared-panel { padding:9px; border-top:1px solid var(--theme-border); }
  html.kovra-business-phone .business-shared-panel[hidden] { display:none!important; }

  html.kovra-business-phone .business-shared-theme-grid { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
  html.kovra-business-phone .business-shared-theme {
    min-width:0; min-height:78px; display:grid; grid-template-columns:38px minmax(0,1fr); align-items:center;
    gap:7px; padding:7px; border:1px solid var(--theme-border); border-radius:11px;
    background:var(--theme-surface); color:var(--theme-text); text-align:left; position:relative;
  }
  html.kovra-business-phone .business-shared-theme.active {
    border-color:var(--theme-accent); background:var(--theme-accent-soft); box-shadow:0 0 0 1px var(--theme-accent) inset;
  }
  html.kovra-business-phone .business-shared-theme-preview {
    width:36px; height:36px; display:grid; grid-template-columns:repeat(3,1fr); gap:2px; padding:4px;
    border-radius:10px; background:var(--theme-bg-alt); border:1px solid var(--theme-border);
  }
  html.kovra-business-phone .business-shared-theme-preview i:nth-child(1){background:var(--theme-bg)}
  html.kovra-business-phone .business-shared-theme-preview i:nth-child(2){background:var(--theme-surface-3)}
  html.kovra-business-phone .business-shared-theme-preview i:nth-child(3){background:var(--theme-accent)}
  html.kovra-business-phone .business-shared-theme-preview i { border-radius:5px; }
  html.kovra-business-phone .business-shared-theme>span:nth-child(2) { min-width:0; display:flex; flex-direction:column; gap:2px; }
  html.kovra-business-phone .business-shared-theme strong { font-size:12.5px; line-height:1.15; }
  html.kovra-business-phone .business-shared-theme small { color:var(--theme-muted); font-size:12px; line-height:1.25; }
  html.kovra-business-phone .business-shared-theme em {
    position:absolute; top:4px; right:5px; color:var(--theme-warning); font-size:12px; font-style:normal; font-weight:950; letter-spacing:.4px;
  }

  html.kovra-business-phone .business-shared-account {
    display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:9px; padding:9px 10px;
    border:1px solid var(--theme-border); border-radius:10px; background:var(--theme-surface);
  }
  html.kovra-business-phone .business-shared-account span { color:var(--theme-muted); font-size:12px; }
  html.kovra-business-phone .business-shared-account strong {
    min-width:0; color:var(--theme-text); font-size:12.5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  }
  html.kovra-business-phone .business-shared-password-form { gap:7px; }
  html.kovra-business-phone .business-shared-sessions { width:100%; margin-top:8px; min-height:40px; }

  html.kovra-business-phone .business-settings-hub-card { padding:10px!important; }
  html.kovra-business-phone .business-settings-group-label {
    display:flex; align-items:center; min-height:27px; margin:10px 3px 2px;
    color:var(--theme-info); font-size:12px; font-weight:950; letter-spacing:.75px;
  }
  html.kovra-business-phone .business-settings-group-label.shared { color:var(--theme-text-2); }
  html.kovra-business-phone .business-settings-group-label::after {
    content:""; flex:1; height:1px; margin-left:9px; background:var(--theme-border);
  }
  html.kovra-business-phone .business-settings-inner-head { margin:0 0 8px!important; }
  html.kovra-business-phone .business-general-callout {
    display:flex; flex-direction:column; gap:3px; padding:9px 10px; border:1px solid var(--theme-border);
    border-radius:10px; background:var(--theme-surface);
  }
  html.kovra-business-phone .business-general-callout>strong { color:var(--theme-text); font-size:13px; line-height:1.15; }
  html.kovra-business-phone .business-general-callout>small { color:var(--theme-muted); font-size:12px; line-height:1.35; }
  html.kovra-business-phone .business-general-action { width:100%; margin-top:8px; min-height:40px; }
  html.kovra-business-phone .business-news-list { display:grid; gap:5px; margin-top:7px; }
  html.kovra-business-phone .business-news-row {
    min-height:38px; display:grid; grid-template-columns:20px minmax(0,1fr); align-items:center; gap:7px;
    padding:7px 8px; border:1px solid var(--theme-border); border-radius:9px; background:var(--theme-surface);
  }
  html.kovra-business-phone .business-news-row>span { color:var(--theme-text); font-size:13px; font-weight:900; }
  html.kovra-business-phone .business-news-row>strong { color:var(--theme-text); font-size:12px; line-height:1.3; font-weight:750; }
  html.kovra-business-phone .business-support-actions { display:grid; gap:6px; }
  html.kovra-business-phone .business-support-actions>a {
    min-height:52px; display:grid; grid-template-columns:34px minmax(0,1fr) 16px; align-items:center; gap:8px;
    padding:7px 8px; border:1px solid var(--theme-border); border-radius:10px; background:var(--theme-surface);
    color:var(--theme-text); text-decoration:none;
  }
  html.kovra-business-phone .business-support-actions>a>span:first-child {
    width:32px; height:32px; display:grid; place-items:center; border-radius:9px;
    background:var(--theme-accent-soft); color:var(--theme-text); font-size:15px; font-weight:900;
  }
  html.kovra-business-phone .business-support-actions>a>span:nth-child(2) { min-width:0; display:flex; flex-direction:column; gap:2px; }
  html.kovra-business-phone .business-support-actions strong { font-size:13px; line-height:1.15; }
  html.kovra-business-phone .business-support-actions small { color:var(--theme-muted); font-size:12px; line-height:1.25; }
  html.kovra-business-phone .business-support-actions i { color:var(--theme-text-2); font-style:normal; font-size:17px; }
  html.kovra-business-phone .business-admin-settings .business-shared-trigger { color:var(--theme-text); }

  html.kovra-business-phone body.kovra-business-page #kovraMoreDrawer,
  html.kovra-business-phone body.kovra-business-page #kovraMoreBackdrop {
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }

  html.kovra-business-phone .business-notifications-overview{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:42px;padding:8px 9px;border:1px solid var(--theme-border);border-radius:10px;background:var(--theme-surface)}
  html.kovra-business-phone .business-notifications-dot{width:8px;height:8px;border-radius:50%;background:var(--theme-accent)}
  html.kovra-business-phone .business-notifications-overview strong{font-size:13px;line-height:1.15;color:var(--theme-text)}
  html.kovra-business-phone .business-notifications-overview small{font-size:12px;color:var(--theme-muted)}
  html.kovra-business-phone .business-notifications-message{margin:6px 2px 0;color:var(--theme-muted);font-size:12px;line-height:1.3}
  html.kovra-business-phone .business-notifications-list{display:grid;gap:5px;margin-top:7px}
  html.kovra-business-phone .business-notification-card{border:1px solid var(--theme-border);border-radius:10px;background:var(--theme-surface);overflow:hidden}
  html.kovra-business-phone .business-notification-card.unread{border-color:var(--theme-border-strong)}
  html.kovra-business-phone .business-notification-card summary{min-height:48px;display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:7px;padding:7px 8px;cursor:pointer}
  html.kovra-business-phone .business-notification-icon{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--theme-accent-soft);color:var(--theme-text);font-weight:900}
  html.kovra-business-phone .business-notification-card summary>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:2px}
  html.kovra-business-phone .business-notification-card summary strong{font-size:12.5px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  html.kovra-business-phone .business-notification-card summary small{font-size:12px;color:var(--theme-muted)}
  html.kovra-business-phone .business-notification-card summary em{font-style:normal;font-size:12px;font-weight:900;color:var(--theme-text-2)}
  html.kovra-business-phone .business-notification-body{padding:0 8px 8px}
  html.kovra-business-phone .business-notification-body p{margin:0 0 7px;font-size:12px;line-height:1.3;color:var(--theme-text)}
  html.kovra-business-phone .business-notification-read{min-height:36px;padding:0 10px;border:1px solid var(--theme-border);border-radius:9px;background:var(--theme-surface-2);color:var(--theme-text);font-size:12px;font-weight:800}

  html.kovra-business-phone .business-ai-support{display:grid;grid-template-rows:auto minmax(190px,1fr) auto auto auto;min-height:430px;max-height:560px;overflow:hidden;border:1px solid var(--theme-border);border-radius:13px;background:var(--theme-surface)}
  html.kovra-business-phone .business-ai-head{display:grid;grid-template-columns:34px minmax(0,1fr) 30px;align-items:center;gap:8px;padding:8px;border-bottom:1px solid var(--theme-border)}
  html.kovra-business-phone .business-ai-mark{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:var(--theme-accent-soft);color:var(--theme-text);font-weight:950}
  html.kovra-business-phone .business-ai-head>span:nth-child(2){display:flex;flex-direction:column;gap:1px}
  html.kovra-business-phone .business-ai-head strong{font-size:14px;line-height:1.15}
  html.kovra-business-phone .business-ai-head small{font-size:12px;color:var(--theme-muted)}
  html.kovra-business-phone #businessAiClear{width:30px;height:30px;border:1px solid var(--theme-border);border-radius:9px;background:var(--theme-surface-2);color:var(--theme-text-2)}
  html.kovra-business-phone .business-ai-log{min-height:0;overflow:auto;padding:8px;display:flex;flex-direction:column;gap:7px}
  html.kovra-business-phone .business-ai-message{display:flex;align-items:flex-end;gap:6px}
  html.kovra-business-phone .business-ai-message.user{justify-content:flex-end}
  html.kovra-business-phone .business-ai-avatar{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border-radius:9px;background:var(--theme-accent-soft);color:var(--theme-text);font-size:12px;font-weight:950}
  html.kovra-business-phone .business-ai-bubble{max-width:84%;padding:9px 10px;border:1px solid var(--theme-border);border-radius:12px;background:var(--theme-surface-2);font-size:12.5px;line-height:1.35;color:var(--theme-text)}
  html.kovra-business-phone .business-ai-message.user .business-ai-bubble{background:var(--theme-accent-soft);border-color:var(--theme-border-strong)}
  html.kovra-business-phone .business-ai-bubble>strong{display:block;margin-bottom:4px;font-size:13px;line-height:1.2}
  html.kovra-business-phone .business-ai-bubble p{margin:0}
  html.kovra-business-phone .business-ai-bubble ol{margin:5px 0 0;padding-left:17px}
  html.kovra-business-phone .business-ai-bubble li+li{margin-top:3px}
  html.kovra-business-phone .business-ai-note{display:block;margin-top:6px;color:var(--theme-muted);font-size:12px;line-height:1.32}
  html.kovra-business-phone .business-ai-message.typing .business-ai-bubble{opacity:.68}
  html.kovra-business-phone .business-ai-suggestions{display:flex;gap:5px;overflow-x:auto;padding:5px 8px;border-top:1px solid var(--theme-border)}
  html.kovra-business-phone .business-ai-suggestions button{flex:0 0 auto;min-height:34px;padding:0 10px;border:1px solid var(--theme-border);border-radius:999px;background:var(--theme-surface-2);color:var(--theme-text);font-size:12px;font-weight:700}
  html.kovra-business-phone .business-ai-form{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:6px;padding:6px 8px 4px}
  html.kovra-business-phone .business-ai-form input{min-width:0;height:42px;padding:0 10px;border:1px solid var(--theme-border);border-radius:11px;background:var(--theme-surface-2);color:var(--theme-text);font-size:12px}
  html.kovra-business-phone .business-ai-form button{height:42px;border:0;border-radius:11px;background:var(--theme-accent);color:var(--theme-on-accent,#031007);font-size:18px;font-weight:900}
  html.kovra-business-phone .business-ai-privacy{padding:1px 10px 8px;color:var(--theme-muted);font-size:12px;line-height:1.32}
  html.kovra-business-phone .business-support-divider{display:flex;align-items:center;margin:10px 0 7px;color:var(--theme-muted);font-size:12px;font-weight:900;letter-spacing:.68px}
  html.kovra-business-phone .business-support-divider::after{content:"";flex:1;height:1px;margin-left:7px;background:var(--theme-border)}

  html.kovra-business-phone .business-settings-logout{width:100%;min-height:52px;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:8px;margin-top:9px;padding:8px 10px;border:1px solid color-mix(in srgb,var(--theme-danger) 42%,var(--theme-border));border-radius:12px;background:color-mix(in srgb,var(--theme-danger) 8%,var(--theme-surface));color:var(--theme-danger);text-align:left}
  html.kovra-business-phone .business-settings-logout>span:first-child{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:color-mix(in srgb,var(--theme-danger) 12%,transparent);font-size:17px}
  html.kovra-business-phone .business-settings-logout>span:last-child{display:flex;flex-direction:column;gap:2px}
  html.kovra-business-phone .business-settings-logout strong{font-size:13px;line-height:1.15}
  html.kovra-business-phone .business-settings-logout small{font-size:12px;line-height:1.28;color:var(--theme-muted)}

@media(max-width:620px){
  /* Carry the business header color behind the phone safe area. */
  html.kovra-business-phone .business-shell{padding-top:0!important}
  html.kovra-business-phone[data-business-view]:not([data-business-view="dashboard"]) .business-shell{padding-top:env(safe-area-inset-top)!important}
  html.kovra-business-phone .business-topbar{
    margin-top:0!important;
    padding-top:calc(10px + env(safe-area-inset-top));
    min-height:calc(74px + env(safe-area-inset-top));
  }
  html.kovra-business-phone .business-topbar .business-brand{display:flex!important}
  html.kovra-business-phone .business-topbar[hidden]{display:none!important}
  html.kovra-business-phone .business-screen-title-bar>.business-menu-button{width:42px;height:42px;flex:0 0 42px}
  html.kovra-business-phone .business-topbar .business-brand>div{gap:4px}
  html.kovra-business-phone[data-business-view]:not([data-business-view="dashboard"]) .business-screen-title-bar{margin-top:8px;margin-bottom:12px}
  html.kovra-business-phone .business-view[data-view-panel="dashboard"]:not([hidden]){overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain}
  html.kovra-business-phone .business-view .business-list{padding-right:3px}
  html.kovra-business-phone :is(.business-card,.business-pedidos-card,.business-list-item,.business-pedido-row){color:var(--theme-text)!important}
  html.kovra-business-phone :is(.business-empty,.business-pedidos-empty){color:var(--theme-text-2)!important}
}


/* Temas: cada opción muestra su propia identidad, independiente del tema activo. */
html.kovra-business-phone .business-shared-theme{
  --preview-bg:#020604;--preview-surface:#0d1813;--preview-accent:#35e86a;
  --preview-text:#f4f7f5;--preview-muted:#a1ada5;--preview-border:#334a3b;
  min-height:96px!important;
  grid-template-columns:46px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  gap:4px 9px!important;
  padding:9px!important;
  border-color:var(--preview-border)!important;
  background:var(--preview-surface)!important;
  color:var(--preview-text)!important;
  overflow:hidden!important;
}
html.kovra-business-phone .business-shared-theme[data-shared-theme="classic"]{--preview-bg:#020604;--preview-surface:#0d1813;--preview-accent:#35e86a;--preview-text:#f4f7f5;--preview-muted:#a1ada5;--preview-border:#506858}
html.kovra-business-phone .business-shared-theme[data-shared-theme="light"]{--preview-bg:#e7ecef;--preview-surface:#ffffff;--preview-accent:#137a43;--preview-text:#111820;--preview-muted:#53626d;--preview-border:#8798a3}
html.kovra-business-phone .business-shared-theme[data-shared-theme="dark"]{--preview-bg:#070809;--preview-surface:#191c20;--preview-accent:#c7ced6;--preview-text:#f4f6f8;--preview-muted:#9fa7b0;--preview-border:#59616b}
html.kovra-business-phone .business-shared-theme[data-shared-theme="sand"]{--preview-bg:#e7dccb;--preview-surface:#fff8ec;--preview-accent:#ad4f1e;--preview-text:#2b1f14;--preview-muted:#66533f;--preview-border:#927956}
html.kovra-business-phone .business-shared-theme[data-shared-theme="indigo"]{--preview-bg:#120e24;--preview-surface:#211a3a;--preview-accent:#9a73f0;--preview-text:#f9f7ff;--preview-muted:#c2b9d6;--preview-border:#806da4}
html.kovra-business-phone .business-shared-theme[data-shared-theme="steel"]{--preview-bg:#07111a;--preview-surface:#102231;--preview-accent:#70b6d9;--preview-text:#f3f7fa;--preview-muted:#9eb0bd;--preview-border:#4f7792}
html.kovra-business-phone .business-shared-theme[data-shared-theme="gold"]{--preview-bg:#d7bf66;--preview-surface:#f8edb8;--preview-accent:#8e5d00;--preview-text:#2b2208;--preview-muted:#6d5b22;--preview-border:#7f661a}
html.kovra-business-phone .business-shared-theme[data-shared-theme="amber"]{--preview-bg:#e2d0a4;--preview-surface:#f7ebcb;--preview-accent:#c47723;--preview-text:#2b2418;--preview-muted:#6a5a43;--preview-border:#8c743f}
html.kovra-business-phone .business-shared-theme[data-shared-theme="crimson"]{--preview-bg:#1a090d;--preview-surface:#30131b;--preview-accent:#e45568;--preview-text:#fff7f8;--preview-muted:#c19da6;--preview-border:#8b485a}
html.kovra-business-phone .business-shared-theme[data-shared-theme="emerald"]{--preview-bg:#061713;--preview-surface:#0f2b23;--preview-accent:#45b98e;--preview-text:#f3faf7;--preview-muted:#9ab9ad;--preview-border:#4a8b74}
html.kovra-business-phone .business-shared-theme[data-shared-theme="cobalt"]{--preview-bg:#0a1024;--preview-surface:#162044;--preview-accent:#5c7cfa;--preview-text:#f7f8ff;--preview-muted:#aab4d5;--preview-border:#6078b8}
html.kovra-business-phone .business-shared-theme[data-shared-theme="rosemary1"]{--preview-bg:#2b1b16;--preview-surface:#493126;--preview-accent:#a66a4f;--preview-text:#fff9f5;--preview-muted:#c4a999;--preview-border:#a66a4f}
html.kovra-business-phone .business-shared-theme[data-shared-theme="rosemary2"]{--preview-bg:#8fd3f4;--preview-surface:#effaff;--preview-accent:#2a7d9f;--preview-text:#102932;--preview-muted:#557581;--preview-border:#4f92b0}
html.kovra-business-phone .business-shared-theme[data-shared-theme="rosemary3"]{--preview-bg:#34340d;--preview-surface:#555518;--preview-accent:#b0b04a;--preview-text:#fbfbef;--preview-muted:#cacaa6;--preview-border:#9a9a5c}
html.kovra-business-phone .business-shared-theme[data-shared-theme="rosemary4"]{--preview-bg:#f5f5dc;--preview-surface:#fffdf0;--preview-accent:#806a47;--preview-text:#2d2a21;--preview-muted:#706955;--preview-border:#95896a}
html.kovra-business-phone .business-shared-theme[data-shared-theme="rosemary5"]{--preview-bg:#4b3621;--preview-surface:#f5f0dc;--preview-accent:#6b6b2d;--preview-text:#4b3621;--preview-muted:#6b6b2d;--preview-border:#6b6b2d}

html.kovra-business-phone .business-shared-theme.active{
  border-color:var(--preview-accent)!important;
  background:var(--preview-surface)!important;
  box-shadow:0 0 0 2px var(--preview-accent) inset!important;
}
html.kovra-business-phone .business-shared-theme-preview{
  grid-column:1!important;
  grid-row:1 / span 2!important;
  align-self:center!important;
  width:44px!important;height:48px!important;
  display:grid!important;grid-template-columns:repeat(3,1fr)!important;
  gap:3px!important;padding:4px!important;
  border-radius:10px!important;
  background:var(--preview-bg)!important;
  border:1px solid var(--preview-border)!important;
}
html.kovra-business-phone .business-shared-theme-preview i:nth-child(1){background:var(--preview-bg)!important}
html.kovra-business-phone .business-shared-theme-preview i:nth-child(2){background:var(--preview-surface)!important}
html.kovra-business-phone .business-shared-theme-preview i:nth-child(3){background:var(--preview-accent)!important}
html.kovra-business-phone .business-shared-theme>span:nth-child(2){
  grid-column:2!important;grid-row:1!important;
  align-self:end!important;
  min-width:0!important;display:flex!important;flex-direction:column!important;gap:3px!important;
}
html.kovra-business-phone .business-shared-theme strong{
  color:var(--preview-text)!important;
  font-size:13px!important;line-height:1.15!important;font-weight:900!important;
}
html.kovra-business-phone .business-shared-theme small{
  color:var(--preview-muted)!important;
  font-size:11.5px!important;line-height:1.2!important;font-weight:700!important;
}
html.kovra-business-phone .business-shared-theme em{
  position:static!important;
  grid-column:2!important;grid-row:2!important;
  align-self:start!important;justify-self:start!important;
  margin:1px 0 0!important;
  padding:2px 6px!important;
  border:1px solid var(--preview-accent)!important;
  border-radius:999px!important;
  background:var(--preview-bg)!important;
  color:var(--preview-text)!important;
  font-size:9.5px!important;line-height:1.15!important;font-style:normal!important;font-weight:950!important;
  letter-spacing:.45px!important;
}
html.kovra-business-phone .business-shared-theme em:empty{display:none!important}

@media(max-width:620px){html.kovra-business-phone[data-business-view="dashboard"] .business-screen-title-bar{display:none!important;margin:0!important;height:0!important}html.kovra-business-phone[data-business-view="dashboard"] #businessWorkspace{gap:0!important}}


/* Menú lateral Negocios — referencia visual aprobada */
@media(max-width:620px){
  html.kovra-business-phone .business-drawer{
    width:min(84vw,350px)!important;
    padding:max(24px,env(safe-area-inset-top)) 14px max(18px,env(safe-area-inset-bottom))!important;
    background:linear-gradient(145deg,var(--theme-nav) 0%,var(--theme-bg) 100%)!important;
    border-right:1px solid var(--theme-border)!important;
    box-shadow:18px 0 42px rgba(0,0,0,.38)!important;
  }
  html.kovra-business-phone .business-drawer-head{
    min-height:88px!important;
    padding:2px 0 17px!important;
    gap:12px!important;
    border-bottom:0!important;
  }
  html.kovra-business-phone .business-drawer-head .business-brand{
    display:grid!important;
    grid-template-columns:52px minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
  }
  html.kovra-business-phone .business-drawer-head .business-brand img{
    width:52px!important;height:52px!important;max-width:52px!important;
    object-fit:cover!important;object-position:left center!important;
    border-radius:14px!important;
  }
  html.kovra-business-phone .business-drawer-head .business-brand>div{display:flex!important;flex-direction:column!important;gap:0!important}
  html.kovra-business-phone .business-drawer-head .business-brand span{
    color:var(--theme-text)!important;font-size:23px!important;line-height:1!important;font-weight:950!important;letter-spacing:1px!important;
  }
  html.kovra-business-phone .business-drawer-head .business-brand strong{
    color:var(--theme-accent)!important;font-size:20px!important;line-height:1.12!important;font-weight:900!important;
  }
  html.kovra-business-phone .business-drawer-head>button{
    flex:0 0 43px!important;width:43px!important;height:43px!important;
    border-radius:13px!important;background:var(--theme-surface-2)!important;
    border:1px solid var(--theme-border)!important;color:var(--theme-text)!important;
    font-size:26px!important;font-weight:800!important;
  }
  html.kovra-business-phone .business-drawer-nav{
    flex:0 1 auto!important;
    display:flex!important;flex-direction:column!important;
    gap:8px!important;overflow-y:auto!important;overflow-x:hidden!important;
    padding:7px 0 10px!important;
    scrollbar-width:none!important;
  }
  html.kovra-business-phone .business-drawer-nav::-webkit-scrollbar{display:none!important}
  html.kovra-business-phone .business-drawer-nav button{
    flex:0 0 auto!important;
    display:grid!important;
    grid-template-columns:48px minmax(0,1fr) 22px!important;
    align-items:center!important;
    column-gap:10px!important;
    width:100%!important;
    min-height:58px!important;
    padding:7px 13px!important;
    border:1px solid var(--theme-border)!important;
    border-radius:14px!important;
    background:color-mix(in srgb,var(--theme-surface-2) 72%,transparent)!important;
    color:var(--theme-text)!important;
    text-align:left!important;
  }
  html.kovra-business-phone .business-drawer-nav button.active{
    background:linear-gradient(90deg,color-mix(in srgb,var(--theme-accent) 30%,var(--theme-surface-2)),color-mix(in srgb,var(--theme-accent) 16%,var(--theme-surface-2)))!important;
    border-color:var(--theme-accent)!important;
    box-shadow:inset 5px 0 0 var(--theme-accent)!important;
  }
  html.kovra-business-phone .business-drawer-item-icon{
    width:42px!important;height:42px!important;
    display:grid!important;place-items:center!important;
    border-radius:10px!important;color:var(--theme-text)!important;
  }
  html.kovra-business-phone .business-drawer-nav button.active .business-drawer-item-icon{
    background:color-mix(in srgb,var(--theme-accent) 17%,transparent)!important;
  }
  html.kovra-business-phone .business-drawer-item-icon svg{
    width:27px!important;height:27px!important;fill:none!important;stroke:currentColor!important;
    stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important;
  }
  html.kovra-business-phone .business-drawer-item-icon svg circle{fill:none!important}
  html.kovra-business-phone .business-drawer-item-icon .drawer-bolt{font-size:27px!important;line-height:1!important}
  html.kovra-business-phone .business-drawer-item-label{
    min-width:0!important;color:inherit!important;
    font-size:16px!important;line-height:1.15!important;font-weight:850!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  }
  html.kovra-business-phone .business-drawer-chevron{
    color:var(--theme-text)!important;font-size:31px!important;line-height:1!important;font-weight:350!important;text-align:center!important;
  }
  html.kovra-business-phone .business-drawer-separator{
    flex:0 0 1px!important;height:1px!important;margin:7px 0 3px!important;background:var(--theme-border)!important;
  }
  html.kovra-business-phone .business-drawer-foot{
    position:relative!important;
    margin-top:auto!important;
    min-height:72px!important;
    padding:10px 40px 10px 64px!important;
    border:1px solid var(--theme-border)!important;
    border-radius:14px!important;
    background:color-mix(in srgb,var(--theme-surface-2) 82%,transparent)!important;
    justify-content:center!important;
    gap:2px!important;
  }
  html.kovra-business-phone .business-drawer-foot strong{
    color:var(--theme-text)!important;font-size:15px!important;line-height:1.15!important;font-weight:950!important;text-transform:uppercase!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  }
  html.kovra-business-phone .business-drawer-foot>span:not(.business-drawer-foot-icon):not(.business-drawer-foot-chevron){
    color:var(--theme-muted)!important;font-size:13px!important;font-weight:750!important;
  }
  html.kovra-business-phone .business-drawer-foot-icon{
    position:absolute!important;left:12px!important;top:50%!important;transform:translateY(-50%)!important;
    width:44px!important;height:44px!important;border-radius:11px!important;
    display:grid!important;place-items:center!important;
    color:var(--theme-text)!important;background:color-mix(in srgb,var(--theme-accent) 18%,var(--theme-surface-2))!important;
    border:1px solid color-mix(in srgb,var(--theme-accent) 45%,var(--theme-border))!important;
  }
  html.kovra-business-phone .business-drawer-foot-icon svg{width:27px!important;height:27px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important}
  html.kovra-business-phone .business-drawer-foot-chevron{
    position:absolute!important;right:13px!important;top:50%!important;transform:translateY(-50%)!important;
    color:var(--theme-text)!important;font-size:30px!important;line-height:1!important;
  }
}

/* Botón principal de menú móvil — referencia visual aprobada. */
@media(max-width:620px){
  html.kovra-business-phone #businessMenuButton.business-menu-button{
    position:relative!important;
    width:58px!important;height:58px!important;flex:0 0 58px!important;
    display:grid!important;place-items:center!important;
    padding:0!important;
    border:2px solid var(--theme-accent,#35e86a)!important;
    border-radius:17px!important;
    background:linear-gradient(145deg,var(--theme-accent-soft,#0d3b20),var(--theme-surface-2,#07100b))!important;
    color:transparent!important;
    font-size:0!important;line-height:0!important;
    box-shadow:
      0 0 0 3px color-mix(in srgb,var(--theme-accent,#35e86a) 20%,transparent),
      0 0 18px color-mix(in srgb,var(--theme-accent,#35e86a) 38%,transparent),
      inset 0 0 0 1px color-mix(in srgb,var(--theme-accent,#35e86a) 45%,transparent)!important;
    overflow:hidden!important;
    -webkit-tap-highlight-color:transparent;
  }
  html.kovra-business-phone #businessMenuButton.business-menu-button::before{
    content:""!important;
    width:27px!important;height:20px!important;
    background:
      linear-gradient(var(--theme-text,#f4f7f5),var(--theme-text,#f4f7f5)) 50% 0/27px 3px no-repeat,
      linear-gradient(var(--theme-text,#f4f7f5),var(--theme-text,#f4f7f5)) 50% 50%/27px 3px no-repeat,
      linear-gradient(var(--theme-text,#f4f7f5),var(--theme-text,#f4f7f5)) 50% 100%/27px 3px no-repeat!important;
    border-radius:2px!important;
  }
  html.kovra-business-phone #businessMenuButton.business-menu-button::after{
    content:""!important;
    position:absolute!important;inset:6px!important;
    border:1px solid color-mix(in srgb,var(--theme-accent,#35e86a) 72%,var(--theme-border-strong,#506858))!important;
    border-radius:12px!important;
    pointer-events:none!important;
  }
  html.kovra-business-phone #businessMenuButton.business-menu-button:active{
    transform:scale(.96)!important;
    box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-accent,#35e86a) 22%,transparent),0 0 11px color-mix(in srgb,var(--theme-accent,#35e86a) 32%,transparent)!important;
  }
  html.kovra-business-phone .business-screen-title-bar>#businessMenuButton.business-menu-button{
    width:52px!important;height:52px!important;flex-basis:52px!important;border-radius:16px!important;
  }
}


/* Afinado del botón de menú: geometría perfectamente centrada. */
@media(max-width:620px){
  html.kovra-business-phone #businessMenuButton.business-menu-button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    vertical-align:middle!important;
  }
  html.kovra-business-phone #businessMenuButton.business-menu-button::before{
    content:""!important;
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    width:27px!important;
    height:22px!important;
    transform:translate(-50%,-50%)!important;
    margin:0!important;
    padding:0!important;
    background:
      linear-gradient(var(--theme-text,#f4f7f5),var(--theme-text,#f4f7f5)) center top/27px 3px no-repeat,
      linear-gradient(var(--theme-text,#f4f7f5),var(--theme-text,#f4f7f5)) center center/27px 3px no-repeat,
      linear-gradient(var(--theme-text,#f4f7f5),var(--theme-text,#f4f7f5)) center bottom/27px 3px no-repeat!important;
    border-radius:2px!important;
    pointer-events:none!important;
  }
  html.kovra-business-phone #businessMenuButton.business-menu-button::after{
    inset:6px!important;
    border-radius:12px!important;
  }
}


/* Glifo del menú centrado ópticamente; el anclaje de la barra se define arriba. */
@media(max-width:620px){
  html.kovra-business-phone #businessMenuButton.business-menu-button::before{
    top:calc(50% + 3px)!important;
    transform:translate(-50%,-50%)!important;
  }
}

/* Agua — muestra fondo, superficie y acento en el selector de Negocios. */
html.kovra-business-phone .business-shared-theme[data-shared-theme="agua"]{
  --preview-bg:#071820;--preview-surface:#102A35;--preview-accent:#48D6D0;
  --preview-text:#F2FAFC;--preview-muted:#A1C0C7;--preview-border:#4B7F8B;
}
html.kovra-business-phone[data-kovra-theme="agua"] .business-shared-theme.active em:empty{
  display:block!important;
  width:9px!important;height:12px!important;
  margin:3px 0 0!important;padding:0!important;
  border:1px solid #A6F0E8!important;border-radius:0!important;
  background:#48D6D0!important;color:transparent!important;font-size:0!important;
  clip-path:polygon(50% 0,100% 67%,96% 82%,85% 94%,68% 99%,50% 100%,32% 99%,15% 94%,4% 82%,0 67%)!important;
}


/* Agua 2 — selector de tema y gota visible en la opción activa. */
html.kovra-business-phone .business-shared-theme[data-shared-theme="agua2"]{--preview-bg:#EAF7F9;--preview-surface:rgba(255,255,255,.9);--preview-accent:#066F84;--preview-text:#153944;--preview-muted:#496C76;--preview-border:#6D9FA9}
html.kovra-business-phone[data-kovra-theme="agua2"] .business-shared-theme.active em:empty{display:block!important;width:16px!important;height:20px!important;margin:2px 0 0!important;padding:0!important;border:1px solid #fff!important;border-radius:52% 48% 55% 55% / 32% 34% 66% 68%!important;background:radial-gradient(ellipse at 34% 25%,#fff 0 9%,#C8F6F8 11%,#28AEC0 54%,#066F84 100%)!important;color:transparent!important;font-size:0!important;clip-path:polygon(50% 0,100% 66%,98% 80%,88% 92%,72% 98%,50% 100%,28% 98%,12% 92%,2% 80%,0 66%)!important;box-shadow:0 2px 7px rgba(8,122,145,.38)!important}
