/* White theme inspired by the reference's emerald accent and compact UI.
   Screen styles stay separate from accounting forms and receipt print layouts. */
@media screen {
  :root {
    color-scheme: light;
    --ink: #111827;
    --jade: #059669;
    --gold: #10b981;
    --odoo-accent: #059669;
    --erp-teal: #059669;
    --line: #e5e7eb;
    --muted: #6b7280;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    background: #f9fafb;
    color: var(--ink);
  }
  body { background: #f9fafb; }
  h1, h2, h3 { color: var(--ink); letter-spacing: -.3px; }
  .muted, .page-hint { color: var(--muted); }
  button { border-radius: 8px; background: linear-gradient(100deg,#10b981,#16a34a); font-weight: 600; }
  button:hover:not(:disabled) { background: linear-gradient(100deg,#059669,#15803d); box-shadow: 0 4px 12px #10b98120; transform: none; }
  button.secondary { background: #fff; border: 1px solid var(--line); color: #374151; }
  button.secondary:hover:not(:disabled) { background: #f3f4f6; color: #111827; box-shadow: none; }
  button.danger { background: #dc2626; }
  button.danger:hover:not(:disabled) { background: #b91c1c; }
  button:focus-visible, a:focus-visible { outline: 2px solid #10b981; outline-offset: 3px; }
  input, select, textarea { color: #111827; background: #fff; border: 1px solid var(--line); border-radius: 8px; min-height: 40px; }
  input::placeholder, textarea::placeholder { color: #9ca3af; }
  input:focus, select:focus, textarea:focus { outline: none; border-color: #10b981; box-shadow: 0 0 0 3px #10b9811a; }
  input[readonly] { background: #f9fafb; }
  label { color: #4b5563; }
  input[type=checkbox] { accent-color: #059669; min-height: auto; }
  .shell { grid-template-columns: 232px minmax(0,1fr); }
  .sidebar { background: #fff; color: #374151; padding: 0 10px 12px; border-inline-end: 1px solid var(--line); box-shadow: none; }
  .brand-lockup { margin: 0 -10px 16px; padding: 16px 14px; min-height: 77px; gap: 10px; border-bottom: 1px solid var(--line); }
  .brand-symbol { width: 34px; height: 36px; border: 0; border-radius: 9px; background: linear-gradient(135deg,#10b981,#16a34a); color: #fff; }
  .brand-symbol .icon { width: 22px; height: 22px; }
  .brand { color: #111827; font-size: 23px; }
  .brand span { color: #10b981; }
  .brand-sub { color: #9ca3af; font-size: 10px; }
  .shell-toggle { background: transparent; color: #9ca3af; padding: 6px; margin-inline-start: auto; border-radius: 6px; }
  .shell-toggle .icon { width: 16px; height: 16px; }
  .shell-toggle:hover:not(:disabled) { background: #f3f4f6; color: #111827; box-shadow: none; }
  .nav-caption { display: none; }
  .nav-group-label { color: #9ca3af; font-size: 10px; padding: 15px 12px 8px; }
  .nav-group-label:first-child { padding-top: 0; }
  .nav { gap: 3px; scrollbar-color: #d1d5db transparent; padding: 0 0 12px; }
  .nav button { color: #6b7280; font-size: 12px; padding: 9px 11px; gap: 10px; border-radius: 8px; background: transparent; border: 1px solid transparent; }
  .nav button .icon { color: #9ca3af; width: 17px; height: 17px; opacity: 1; }
  .nav button:hover:not(:disabled) { color: #111827; background: #f3f4f6; box-shadow: none; }
  .nav button.active { color: #047857; background: #ecfdf5; border-color: #d1fae5; box-shadow: inset -3px 0 #10b981; font-weight: 600; }
  .nav button.active .icon { color: #059669; }
  .sidebar footer { padding: 15px 11px 0; color: #4b5563; border-color: var(--line); }
  .sidebar footer small { color: #9ca3af; }
  .main { padding: 24px; max-width: none; margin: 0; }
  .topbar { margin: -24px -24px 24px; padding: 16px 24px; min-height: 77px; background: #fff; border-bottom: 1px solid var(--line); }
  .page-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
  .topbar h1 { font-size: 22px; font-weight: 600; margin: 3px 0 4px; }
  .topbar .page-hint { font-size: 11px; margin: 0; }
  .topbar .muted { font-size: 10px; }
  .topbar>.identity { background: #fff; border: 0; border-radius: 0; padding: 0; color: #374151; }
  .topbar>.identity button { border: 0; border-radius: 6px; color: #6b7280; }
  .avatar { background: #ecfdf5; color: #059669; }
  .mobile-menu, .sidebar-shade { display: none; }
  .card, .stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px #00000004; }
  .card { padding: 22px; }
  .card h2, .headrow h2 { font-weight: 600; }
  .filters { background: #fff; padding: 12px 16px; margin-bottom: 20px; gap: 12px; }
  .filters label { color: #6b7280; }
  .dashboard-hero { background: #fff; border: 1px solid var(--line); color: #111827; border-radius: 12px; padding: 24px; min-height: auto; margin-bottom: 24px; }
  .dashboard-hero:after { display: none; }
  .dashboard-hero .eyebrow { color: #059669; letter-spacing: 0; margin-bottom: 8px; }
  .dashboard-hero h2 { font-size: 23px; color: #111827; line-height: 1.5; }
  .dashboard-hero p { color: #6b7280; margin: 10px 0 18px; }
  .dashboard-hero button { background: linear-gradient(100deg,#10b981,#16a34a); color: #fff; border: 0; border-radius: 8px; }
  .dashboard-hero button:hover { background: linear-gradient(100deg,#059669,#15803d); }
  .dashboard-hero button.hero-secondary { background: #fff; color: #374151; border: 1px solid var(--line); }
  .dashboard-hero button.hero-secondary:hover { background: #f9fafb; }
  .hero-summary { background: #f9fafb; border: 1px solid var(--line); border-radius: 10px; padding: 20px 24px; }
  .hero-orbit { display: none; }
  .hero-summary>div>span, .hero-summary strong small { color: #6b7280; }
  .hero-summary strong { color: #111827; font-size: 30px; }
  .hero-summary p { color: #059669; }
  .section-title>span { color: #9ca3af; }
  .stat { border-bottom: 1px solid var(--line); padding: 20px; }
  .stat strong { color: #111827; font-size: 26px; }
  .stat-label { color: #6b7280; }
  .stat-label .icon { color: #9ca3af; }
  .stat>span { color: #9ca3af; }
  .stat.highlight { background: #fff; border-color: #a7f3d0; }
  .stat.highlight strong { color: #047857; }
  .stat.highlight .stat-label { color: #4b5563; }
  .stat.highlight .icon { color: #10b981; }
  .stat.highlight>span { color: #6b7280; }
  .stat:nth-child(2), .stat:nth-child(3), .stat:nth-child(4) { border-bottom: 1px solid var(--line); }
  th { background: #f9fafb; color: #6b7280; border-color: var(--line); }
  td { color: #374151; border-color: #f3f4f6; }
  td small, .product-identity small { color: #9ca3af; }
  tbody tr:hover { background: #f9fafb; }
  .table-wrap { border-radius: 8px; scrollbar-color: #d1d5db transparent; }
  .badge { background: #ecfdf5; color: #047857; border-radius: 6px; }
  .badge.warn { background: #fffbeb; color: #92400e; }
  .badge.red { background: #fef2f2; color: #b91c1c; }
  .pending-notice, .notice { background: #fffbeb; border-color: #fde68a; color: #92400e; border-radius: 10px; }
  .product-symbol { background: #f3f4f6; color: #059669; border-radius: 8px; }
  .bartrack { background: #f3f4f6; }
  .barfill { background: linear-gradient(100deg,#34d399,#059669); }
  .link, .card summary { color: #059669; }
  .empty { color: #9ca3af; }
  .pos-launcher { background: #fff; border-radius: 12px; }
  .session-banner { background: #f9fafb; border-color: var(--line); border-inline-start: 3px solid #10b981; }
  .session-banner p { color: #6b7280; }
  .terminal-register { background: #f9fafb; }
  .terminal-header, .terminal-register .terminal-header { background: #fff; color: #111827; border: 1px solid var(--line); box-shadow: none; border-radius: 10px; }
  .terminal-header button { color: #4b5563; background: #fff; border-color: var(--line); }
  .terminal-header button:hover:not(:disabled) { color: #111827; background: #f9fafb; }
  .register-brand>span { background: linear-gradient(135deg,#10b981,#16a34a); color: #fff; border-radius: 8px; }
  .register-brand small { color: #9ca3af; }
  .register-status { color: #6b7280; }
  .terminal-register .register-layout>section { background: #fff; border-color: var(--line); border-radius: 12px; box-shadow: 0 1px 2px #00000004; }
  .register-section-title h2, .register-order-head h2, .line-identity strong { color: #111827; }
  .register-section-title .eyebrow, .register-order-head .eyebrow { color: #9ca3af; }
  .register-section-title>.icon { color: #10b981; }
  .register-catalog #posSearch { border: 1px solid var(--line); background: #fff; border-radius: 8px; }
  .register-catalog #posSearch:focus { border-color: #10b981; box-shadow: 0 0 0 3px #10b9811a; }
  .search-symbol { color: #9ca3af; }
  .pos-search-feedback, .register-catalog .pos-search-feedback { color: #6b7280; }
  .pos-suggestions { border-color: var(--line); border-radius: 10px; box-shadow: 0 8px 24px #11182712; }
  .pos-suggestions button { color: #111827; background: #fff; border-color: #f3f4f6; }
  .pos-suggestions button:hover, .pos-suggestions button[aria-selected=true] { background: #ecfdf5; box-shadow: none; }
  .pos-suggestions small { color: #6b7280; }
  .category-pills button { background: #fff; color: #6b7280; border: 1px solid var(--line); border-radius: 8px; }
  .category-pills button.active { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
  .browse-products summary, .register-catalog .browse-products summary { background: #f9fafb; color: #374151; border-color: var(--line); border-radius: 8px; }
  .product-tile { background: #fff; color: #111827; border-color: var(--line); border-radius: 10px; }
  .product-tile:hover:not(:disabled) { background: #fff; border-color: #6ee7b7; box-shadow: 0 2px 8px #10b98114; }
  .tile-visual { background: #f9fafb; color: #10b981; border-radius: 8px; }
  .tile-category { color: #6b7280!important; }
  .product-tile>span { color: #059669; }
  .register-help { background: #f9fafb; border: 1px solid #f3f4f6; border-radius: 10px; }
  .register-help>span { color: #10b981; background: #ecfdf5; border-radius: 8px; }
  .register-help strong { color: #374151; }
  .register-help p { color: #6b7280; }
  .register-order-head h2>span { background: #ecfdf5; color: #059669; }
  .register-order-head>button { background: #fff; color: #6b7280; }
  .register-customer, .register-options { border-color: var(--line); }
  .register-customer select, .register-options input, .register-options select, .register-line .line-identity input { background: #fff; border-color: var(--line); }
  .register-customer>button { background: #ecfdf5; color: #059669; border-color: #d1fae5; }
  .order-items { background: #fff; border-color: var(--line); border-radius: 10px; }
  .register-line-head, .order-columns { color: #6b7280; border-color: var(--line); }
  .register-order .cartline { border-color: #f3f4f6; }
  .qty-control { background: #fff; border-color: var(--line); border-radius: 8px; }
  .qty-control button { color: #059669; background: #f9fafb; }
  .qty-control button:hover:not(:disabled) { background: #ecfdf5; box-shadow: none; }
  .register-line .item-total { color: #111827; }
  .line-remove { color: #9ca3af; background: transparent; }
  .line-remove:hover:not(:disabled) { color: #dc2626; background: #fef2f2; box-shadow: none; }
  .register-empty, .register-empty h3 { color: #9ca3af; }
  .register-options label, .register-extra summary, .line-identity label { color: #6b7280; }
  .register-checkout { background: #fff; border-color: var(--line); }
  .register-subtotal { color: #6b7280; }
  .register-checkout .totalbox { color: #6b7280; }
  .register-checkout .totalbox strong { color: #111827; }
  .register-checkout .primary-full, .primary-full { background: linear-gradient(100deg,#10b981,#16a34a); border-radius: 8px; box-shadow: 0 4px 12px #10b9811a; }
  .register-checkout .primary-full:hover:not(:disabled) { background: linear-gradient(100deg,#059669,#15803d); }
  .totalbox { background: #ecfdf5; color: #047857; border-radius: 10px; }
  .erp-hero { background: #fff; color: #111827; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px #00000004; padding: 24px; }
  .erp-hero h2 { color: #111827; font-size: 22px; }
  .erp-hero p { color: #6b7280; }
  .erp-hero .eyebrow { color: #059669; }
  .erp-hero button { color: #374151; background: #fff; border: 1px solid var(--line); }
  .erp-hero button:hover:not(:disabled) { background: #f9fafb; color: #111827; }
  .erp-metrics>div { background: #fff; border-color: var(--line); border-radius: 10px; }
  .erp-metrics strong { color: #111827; }
  .erp-metrics span { color: #6b7280; }
  .erp-order-line { background: #f9fafb; border: 1px solid #f3f4f6; border-radius: 10px; }
  .erp-pos-tools span, .register-tax-info { color: #6b7280; }
  .erp-pos-tools { margin-bottom: 8px; }
  .serial-choices label, .erp-process-line, .card details { border-color: var(--line); }
  .serial-choices label { border-radius: 8px; }
  .modal-bg { background: #11182750; backdrop-filter: blur(3px); }
  .modal { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 60px #11182720; }
  .modal>.headrow { border-color: var(--line); }
  .modal>.headrow>[data-close] { background: #f9fafb; color: #6b7280; border-radius: 6px; }
  .invoice-summary div { background: #f9fafb; border-color: var(--line); color: #6b7280; border-radius: 8px; }
  .toast { background: #fff; border: 1px solid #a7f3d0; color: #047857; border-radius: 10px; box-shadow: 0 8px 24px #11182712; }
  .toast.error { background: #fff; border-color: #fecaca; color: #b91c1c; }
  .login-scene { display: flex; align-items: center; justify-content: center; padding: 24px; min-height: 100dvh; max-width: none; gap: 0; }
  .login { width: 392px; max-width: 100%; background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 1px 3px #11182706; text-align: center; }
  .login-mark { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 16px; background: linear-gradient(135deg,#10b981,#16a34a); color: #fff; border-radius: 11px; box-shadow: 0 5px 12px #10b98126; }
  .login-mark .icon { width: 24px; height: 26px; }
  .login h1 { color: #111827; font-size: 22px; font-weight: 700; margin: 0 0 8px; }
  .login>p { color: #6b7280; font-size: 12px; line-height: 1.8; margin: 0; }
  .login form { margin-top: 28px; gap: 18px; text-align: start; }
  .login form label { color: #4b5563; font-size: 12px; gap: 8px; }
  .login form input { background: #fff; min-height: 39px; padding: 9px 12px; font-size: 12px; border-radius: 9px; }
  .login form button { padding: 10px 16px; min-height: 38px; margin-top: 0; font-size: 12px; box-shadow: 0 4px 12px #10b9811a; }
  .login .login-footer { margin: 18px 0 0; font-size: 11px!important; color: #9ca3af!important; }
  .customer-display { background: #f9fafb; color: #111827; }
  .customer-display .eyebrow { color: #059669; }
  .customer-display small { color: #6b7280; }
  .customer-display #displayItems>div { border-color: var(--line); }
  .customer-display footer { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
}
@media screen and (min-width:701px) {
  body.nav-collapsed .shell { grid-template-columns: 64px minmax(0,1fr); }
  body.nav-collapsed .sidebar { padding-inline: 7px; }
  body.nav-collapsed .brand-lockup { margin-inline: -7px; padding: 14px 7px; flex-direction: column; gap: 8px; }
  body.nav-collapsed .brand-lockup>div, body.nav-collapsed .nav-caption, body.nav-collapsed .nav button span, body.nav-collapsed .sidebar footer { display: none; }
  body.nav-collapsed .nav-group-label { font-size: 0; margin: 7px 6px; padding: 0; border-top: 1px solid var(--line); }
  body.nav-collapsed .nav-group-label:first-child { display: none; }
  body.nav-collapsed .shell-toggle { margin: 0; }
  body.nav-collapsed .nav button { justify-content: center; padding: 11px 0; }
  body.nav-collapsed .nav button .icon { width: 19px; height: 19px; }
}
@media screen and (max-width:1000px) {
  .shell { grid-template-columns: 214px minmax(0,1fr); }
  .main { padding: 20px; }
  .topbar { margin: -20px -20px 20px; padding: 16px 20px; }
  .topbar h1 { font-size: 20px; }
}
@media screen and (max-width:700px) {
  .shell { display: block; }
  .sidebar { display: flex; position: fixed; top: 0; right: 0; width: 240px; height: 100dvh; padding: 0 10px 12px; z-index: 70; transform: translateX(100%); transition: transform .2s ease; visibility: hidden; box-shadow: none; }
  body.sidebar-open .sidebar { transform: translateX(0); visibility: visible; box-shadow: -12px 0 40px #1118270a; }
  body.sidebar-open { overflow: hidden; }
  body.sidebar-open .sidebar-shade { display: block; position: fixed; inset: 0; z-index: 65; background: #11182745; border-radius: 0; padding: 0; box-shadow: none; }
  .brand-lockup { margin: 0 -10px 16px; padding: 16px 14px; }
  .brand-sub, .sidebar footer { display: block; }
  .nav { display: grid; gap: 3px; overflow: auto; padding: 0 0 12px; }
  .nav button { width: 100%; padding: 11px 12px; font-size: 12px; gap: 10px; }
  .nav button .icon { width: 17px; height: 17px; }
  .nav button.active { background: #ecfdf5; border-color: #d1fae5; box-shadow: inset -3px 0 #10b981; }
  .main { padding: 16px; }
  .topbar { margin: -16px -16px 20px; padding: 14px 16px; display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 12px; }
  .page-heading { flex: 1; }
  .mobile-menu { display: flex; background: #fff; color: #6b7280; border: 1px solid var(--line); padding: 8px; border-radius: 8px; }
  .mobile-menu .icon { width: 18px; height: 18px; }
  .mobile-menu:hover:not(:disabled) { background: #f9fafb; color: #111827; box-shadow: none; }
  .topbar h1 { font-size: 19px; }
  .topbar .page-hint { display: none; }
  .topbar>.identity { align-self: center; font-size: 10px; gap: 6px; }
  .topbar .avatar { width: 27px; height: 27px; }
  .topbar>.identity button { font-size: 10px; padding: 6px; }
  .dashboard-hero { border-radius: 12px; padding: 20px; min-height: auto; margin-bottom: 22px; }
  .dashboard-hero h2 { font-size: 21px; }
  .hero-summary { display: none; }
  .card { padding: 18px 15px; border-radius: 12px; }
  .stat { padding: 15px; border-radius: 10px; }
  .stat strong { font-size: 21px; }
  .erp-hero { padding: 20px; }
  .erp-hero h2 { font-size: 20px; }
  .erp-metrics>div { padding: 16px; }
  .modal { border-radius: 12px; }
  .register-checkout { border-color: var(--line); border-radius: 12px 12px 0 0; box-shadow: 0 -4px 16px #11182708; }
  .login-scene { padding: 20px; }
  .login { padding: 26px 24px; }
}

@media screen {
 .accounting-workspace { margin: 0 0 22px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: white; min-width: 0; }
 .accounting-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
 .accounting-title strong { font-size: 19px; }
 .accounting-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
 .accounting-tabs button { font-size: 12px; padding: 9px 12px; }
 .accounting-tabs .active { background: #059669; color: white; border-color: #059669; }
 .accounting-utilities { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; }
 .accounting-utilities button { border: 0; font-size: 11px; padding: 6px 9px; color: #64748b; }
 .accounting-shortcuts { display: grid; grid-template-columns: repeat(auto-fit,minmax(165px,1fr)); gap: 10px; }
 .accounting-shortcuts button { padding: 22px 14px; text-align: right; }
 .accountant-filters { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 12px; align-items: end; margin-bottom: 22px; }
 .accountant-filters button { align-self: end; }
 .journal-editor { min-width: 950px; }
 .journal-editor td { padding: 8px; }
 .journal-editor input { min-width: 100px; width: 100%; }
 .journal-editor select { min-width: 110px; width: 100%; }
 .accounting-workspace + #content > .card { margin-bottom: 18px; }
 .accounting-workspace + #content td small { display: block; color: #64748b; margin-top: 5px; }
 #acctReport > .card { margin-bottom: 18px; box-shadow: none; }
 @media(max-width:700px) {
  .accounting-workspace { padding: 12px; }
  .accounting-tabs button { flex: 1 0 42%; }
  .accounting-title .muted { font-size: 10px; }
 }
}

/* App navigation and the Accounting menu now share a top layout. */
@media screen {
 .shell, body.nav-collapsed .shell { display: block; min-width: 0; }
 .app-header { background: #fff; border-bottom: 1px solid var(--line); }
 .app-header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; }
 .app-header .brand-lockup { margin: 0; padding: 0; min-height: 0; border: 0; display: flex; align-items: center; gap: 10px; }
 .app-header .brand { font-size: 21px; }
 .app-header .brand-sub { display: block; }
 .app-header .identity { display: flex; align-items: center; gap: 9px; font-size: 12px; background: transparent; padding: 0; border: 0; }
 .app-header .identity button { font-size: 12px; padding: 7px 10px; }
 .app-tabs.nav { display: flex; flex-wrap: wrap; gap: 2px; padding: 0 20px; overflow: visible; }
 .app-tabs.nav button { display: flex; align-items: center; width: auto; flex: 0 0 auto; gap: 7px; min-height: 44px; padding: 10px 12px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; white-space: nowrap; }
 .app-tabs.nav button.active { background: #ecfdf5; color: #047857; border-bottom-color: #10b981; box-shadow: none; }
 .app-tabs.nav button .icon { width: 16px; height: 16px; }
 .main { min-width: 0; padding: 22px 24px; }
 .topbar { margin: 0 0 18px; padding: 0; min-height: 0; background: transparent; border: 0; }
 .topbar h1 { margin: 0 0 5px; font-size: 21px; }
 .accounting-workspace { border-radius: 10px; margin-bottom: 20px; padding: 0; overflow: hidden; }
 .accounting-title { padding: 14px 18px 0; margin-bottom: 10px; gap: 10px; }
 .accounting-title strong { font-size: 17px; }
 .accounting-title .muted { margin-inline-start: auto; font-size: 11px; }
 .accounting-menu { display: flex; flex-wrap: wrap; gap: 0; padding: 0 10px; border-bottom: 1px solid var(--line); }
 .accounting-menu button { background: transparent; color: #6b7280; font-size: 13px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; min-height: 46px; padding: 11px 18px; }
 .accounting-menu button:hover { background: #f9fafb; box-shadow: none; }
 .accounting-menu button.active { color: #047857; background: #ecfdf5; border-bottom-color: #10b981; }
 .accounting-tabs { padding: 10px 14px; border: 0; background: #fafcfb; gap: 6px; }
 .accounting-tabs button { padding: 8px 11px; font-size: 11px; border: 1px solid transparent; background: transparent; color: #6b7280; min-height: 34px; flex: 0 0 auto; }
 .accounting-tabs button.active { color: #047857; background: #ecfdf5; border-color: #d1fae5; }
 #content > .card { margin-bottom: 18px; }
 #content td small { display: block; color: #64748b; margin-top: 5px; }
 @media(max-width:700px) {
  .app-header-row { padding: 10px 14px; gap: 8px; }
  .app-header .brand-sub { max-width: 155px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .app-header .identity { font-size: 10px; gap: 5px; }
  .app-header .identity .avatar { display: none; }
  .app-tabs.nav { flex-wrap: nowrap; overflow-x: auto; padding: 0 8px; scrollbar-width: thin; }
  .app-tabs.nav button { font-size: 12px; padding: 9px 11px; min-height: 42px; }
  .app-tabs.nav button .icon { display: none; }
  .main { padding: 16px 12px; }
  .topbar { margin: 0 0 16px; padding: 0; }
  .accounting-title { padding: 12px 12px 0; }
  .accounting-title .muted { width: 100%; margin: 0; }
  .accounting-menu { padding: 0 6px; }
  .accounting-menu button { flex: 1 0 30%; font-size: 12px; min-height: 41px; padding: 9px 6px; }
  .accounting-tabs { padding: 9px; gap: 4px; }
  .accounting-tabs button { padding: 7px 8px; font-size: 11px; flex: 0 1 auto; }
 }
}
@media print {
 .app-header, .accounting-workspace { display: none!important; }
}
