/* Nova Ledger | final mobile dock polish | 2026-11-10 */
@media (max-width:880px) {
  .shell .bottom-tabs {
    box-sizing:border-box; display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    align-items:stretch; justify-items:stretch;
    width:100%; max-width:100vw; margin:0;
    gap:clamp(1px,0.75vw,5px);
    padding:5px max(7px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(7px,env(safe-area-inset-left,0px));
    background:#f7fbfd; border-top:1px solid #d6e6ef;
    box-shadow:0 -4px 18px rgba(31,58,95,.09);
    -webkit-tap-highlight-color:transparent;
  }
  .shell .bottom-tabs button,
  .shell .bottom-tabs .bottom-add {
    box-sizing:border-box; display:flex; flex-direction:column;
    align-items:center; justify-content:center;
    justify-self:stretch; width:100%; max-width:none;
    min-width:0; min-height:46px!important;
    margin:0; padding:5px 2px 4px;
    gap:3px; border:1px solid transparent;
    border-radius:10px; background:transparent;
    color:#516980; font:650 10px/1.15 'Inter',system-ui,sans-serif!important;
    letter-spacing:-.015em; white-space:nowrap;
    transition:background-color .16s ease,color .16s ease,box-shadow .16s ease;
  }
  .shell .bottom-tabs .bottom-tab-icon {
    display:block; flex:none; width:18px; height:18px;
    stroke:currentColor; fill:none;
  }
  .shell .bottom-tabs .bottom-tab-label {
    display:block; width:100%; overflow:hidden; text-overflow:ellipsis;
    font-size:10px!important; line-height:12px;
    text-align:center;
  }
  .shell .bottom-tabs button:hover:not(.bottom-add) {background:#e8f3fa;color:#1F3A5F}
  .shell .bottom-tabs button.active:not(.bottom-add) {
    background:#e3f1fb!important; color:#1F3A5F!important;
    border-color:#c7e2f4!important; font-weight:750!important;
    box-shadow:inset 0 -2px 0 #5AA9E6;
  }
  .shell .bottom-tabs button.active:not(.bottom-add)::after {display:none!important}
  .shell .bottom-tabs .bottom-add {
    background:#1F3A5F!important; color:#fff!important;
    border-color:#1F3A5F!important; box-shadow:0 3px 9px rgba(31,58,95,.14);
  }
  .shell .bottom-tabs .bottom-add .bottom-tab-icon {width:19px;height:19px}
  .shell .bottom-tabs button:focus-visible {outline:2px solid #5AA9E6!important;outline-offset:-2px!important}
  .shell .bottom-tabs button:active {filter:brightness(.96)}
}
@media (max-width:350px) { .shell .bottom-tabs{gap:1px;padding-left:3px;padding-right:3px} .shell .bottom-tabs button{padding-inline:1px} .shell .bottom-tabs .bottom-tab-label{font-size:9px!important} }
html[data-theme='dark'] .shell .bottom-tabs{background:#1b2c3d!important;border-color:#40576a!important;box-shadow:0 -5px 18px #0004!important}
html[data-theme='dark'] .shell .bottom-tabs button:not(.bottom-add){color:#c8d9e5!important}
html[data-theme='dark'] .shell .bottom-tabs button:hover:not(.bottom-add){background:#294355!important;color:#fff!important}
html[data-theme='dark'] .shell .bottom-tabs button.active:not(.bottom-add){background:#304e66!important;color:#eaf4f4!important;border-color:#436d88!important;box-shadow:inset 0 -2px 0 #5AA9E6!important}
html[data-theme='dark'] .shell .bottom-tabs .bottom-add{background:#5AA9E6!important;color:#13293e!important;border-color:#5AA9E6!important}
@media(prefers-reduced-motion:reduce){.shell .bottom-tabs button{transition:none!important}}
