/* Reading sizes for everyday work. Labels stay readable at normal browser zoom. */
@media screen {
  .scan-dialog :is(.scan-recipient-field>small,.scan-tip p,.scan-allocation-options small) {font-size:14px;line-height:1.5}
  .scan-dialog :is(.scan-recipient-field>label,.scan-allocation-field>legend,.scan-allocation-options strong) {font-size:15px;line-height:1.45}
  #content .asset-quarantine-resolution>p>span {font-size:14px;line-height:1.55}
  #content :is(.field-hint,.form-error,.receipt-accounting-notice p,.tax-accounting-locked p,.tax-accounting-future-note,.money-accounting-note,.inventory-value-note,.inventory-value-coverage,.inventory-value-average,.inventory-value-reconciliation,.asset-quarantine-resolution>p,.supplier-card-address,.supplier-card-notes,.supplier-card-empty,.supplier-dialog-intro,.employee-card-note,.employee-access-summary,.employee-self-note,.scan-recipient-field>small,.scan-tip p,.inventory-repair-alert p,.inventory-financial-reminder p) {font-size:14px;line-height:1.55}
  #content :is(label>small,.tax-accounting-choice small,.role-choice small,.role-option small,.employee-role-options small,.allocation-options small,.scan-allocation-options small,.employee-card small,.employee-card-summary small) {font-size:14px;line-height:1.5}
  #content :is(.tax-accounting-choice legend,.tax-accounting-choice strong,.receipt-accounting-notice strong,.tax-accounting-locked strong,.scan-allocation-options strong,.asset-quarantine-resolution>p strong) {font-size:15px;line-height:1.45}
  #content :is(.tax-accounting-badge,.asset-kind-badge,.asset-item-alert) {font-size:13px;line-height:1.4;min-height:28px;padding:5px 10px;white-space:normal}
  #content :is(.money-breakdown-title,.money-breakdown--compact .money-breakdown-title) {font-size:15px;line-height:1.45}
  #content :is(.money-breakdown dt,.money-breakdown--compact dt) {font-size:13px;line-height:1.5;letter-spacing:.15px}
  #content :is(.money-breakdown dd,.money-breakdown--compact dd) {font-size:19px;line-height:1.4}
  #content .money-breakdown--invoice-total dd {font-size:24px}
  #content :is(.asset-history-event time,.asset-history-event small,.asset-history-event span,.asset-history-changes dt,.asset-history-changes dd) {font-size:14px;line-height:1.5}
  #content .asset-history-event strong {font-size:16px;line-height:1.45}
  #content .asset-history-event p {font-size:15px;line-height:1.55}
  #content .asset-history-event {padding-bottom:26px}
  #content :is(.asset-card-copy p,.asset-card-copy small,.asset-card-meta,.asset-item-meta,.inventory-item-category,.product-card small) {font-size:14px;line-height:1.5}
  #content :is(.supplier-card-identifiers,.supplier-card-contact,.supplier-card-terms,.supplier-card dt,.supplier-card dd,.supplier-purchases small,.supplier-purchase-card>span) {font-size:14px;line-height:1.6}
  #content :is(.supplier-status,.supplier-state-toggle,.supplier-edit-toggle) {font-size:13px;line-height:1.4}
  #content :is(.supplier-card h3,.supplier-purchase-card h3) {font-size:20px;line-height:1.4}
  #content :is(.dashboard-supply-label,.dashboard-supply-row small,.dashboard-supply-row p,.dashboard-supply-row time,.dashboard-supply-person,.dashboard-supply-meta) {font-size:14px;line-height:1.5}
  #content :is(.dashboard-supply-copy span,.dashboard-supply-copy small,.dashboard-supply-quantity span,.inventory-value-average>span,.inventory-value-average>small,.catalog-procurement,.catalog-procurement>span,.catalog-card-body .sku) {font-size:14px;line-height:1.5;white-space:normal}
  #content .dashboard-supply-copy strong {font-size:16px;line-height:1.4;white-space:normal}
  #content .catalog-card-body h3 {font-size:18px;line-height:1.4}
  #content .catalog-card-body .inventory-item-category {font-size:14px;line-height:1.5}
  #content .inventory-quick-category select {font-size:14px;line-height:1.4;min-height:36px}
  #content .catalog-card {width:100%;min-height:390px;aspect-ratio:auto}
  #content .catalog-card-body {padding:36px 16px 16px;background:linear-gradient(0deg,#16221ffa,#16221ff2 82%,#16221f00);color:#f5f7f6}
  #content .catalog-card-body :is(.sku,.catalog-procurement,.quantity small) {color:#d3dedb;text-shadow:none}
  #content .catalog-card .catalog-stock .quantity {font-size:20px;line-height:1.4}
  #content .catalog-card .catalog-stock .quantity small {font-size:14px}
  #content .catalog-card .catalog-card-overlay .catalog-status {font-size:13px;line-height:1.4;padding:5px 8px;border-radius:999px;background:#1e2929d9;color:#f4faf7;text-shadow:none}
  #content .supplier-company-heading>div>span {font-size:14px;line-height:1.5}
  #content .employee-role-options label>span strong {font-size:16px}
  #content .dashboard-supply-row strong {font-size:16px;line-height:1.4}
  #content :is(.employee-consumption-heading p,.employee-consumption-unpriced,.employee-products-empty,.employee-consumption-unavailable p) {font-size:14px;line-height:1.55}
  #content .employee-period-presets>button:not(.button) {font-size:14px;min-height:44px;padding:10px 15px}
  .employee-consumption {gap:22px}
  .employee-consumption-heading {align-items:flex-start}
  .employee-consumption-heading h2 {font-size:29px}
  .employee-period-form {padding:18px;gap:16px;grid-template-columns:minmax(310px,1fr) minmax(0,1fr)}
  .employee-consumption-totals {gap:12px}
  .employee-consumption-totals>div {padding:20px;gap:8px;align-content:start}
  #content .employee-consumption-totals strong {font-size:28px;font-weight:600}
  #content .employee-consumption-totals span {font-size:14px;line-height:1.45}
  .employee-consumption-list {grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:16px;align-items:start}
  .employee-consumption-row {grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:22px 14px;padding:22px;border:0;border-radius:24px;background:linear-gradient(140deg,#fafafd,#f1f7f6)}
  .employee-consumption-person {display:block;grid-column:1;min-width:0}
  .employee-consumption-person>.doctor-profile-link {display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:12px;width:100%}
  .employee-consumption-person .employee-avatar {width:52px;height:52px;font-size:20px}
  .employee-consumption-person>a>span:last-child,.employee-consumption-person>span:last-child {display:grid;gap:5px;min-width:0}
  #content .employee-consumption-person strong {font-size:17px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
  #content .employee-consumption-person small {font-size:13px;line-height:1.45;display:block}
  .employee-consumption-count {grid-column:2;gap:4px;text-align:right}
  #content .employee-consumption-count strong {font-size:27px;line-height:1.2}
  #content .employee-consumption-count span {font-size:13px}
  .employee-consumption-money {grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .employee-consumption-money>span {gap:8px;align-content:start}
  #content .employee-consumption-money small {font-size:13px;line-height:1.5}
  #content .employee-consumption-money strong {font-size:22px;font-weight:600;line-height:1.3}
  .employee-consumption-row>.text-button {grid-column:1/-1;justify-self:start;margin:0;min-height:40px;font-size:14px}
  .employee-products {margin:0;padding:0;border:0}
  #content .employee-products>summary {font-size:15px;line-height:1.5;min-height:36px;padding:6px 0}
  .employee-products-list {gap:10px;margin-top:12px}
  .employee-products-list>div {display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:14px}
  .employee-products-list>div>span {text-align:left;gap:5px}
  #content .employee-products-list strong {font-size:14px;line-height:1.45}
  #content :is(.employee-products-list small,.employee-products-list span>span) {font-size:13px;line-height:1.5}
  html[data-theme="dark"] .employee-consumption-row {background:linear-gradient(135deg,#22242b,#1b2a2d)}
  html[data-theme="dark"] #content .employee-products>summary {color:#b6d1df}
  html[data-theme="dark"] .desktop-header-actions .desktop-quick-action {background:#2b3538;color:#eff4f3;box-shadow:inset 0 1px 0 #ffffff12,0 3px 12px #0002}
  html[data-theme="dark"] .desktop-header-actions .desktop-quick-action:hover {background:#3b494d}
  html[data-theme="dark"] .desktop-profile {background:#283234;box-shadow:inset 0 1px 0 #ffffff10}
  html[data-theme="dark"] .mobile-settings-action {background:#2b3538;color:#eff4f3}
  @media(max-width:900px) {
    .employee-period-form {grid-template-columns:minmax(0,1fr)}
    .employee-period-presets {justify-content:flex-start}
  }
  @media(max-width:600px) {
    .employee-consumption-list {grid-template-columns:minmax(0,1fr)}
    .employee-consumption-row {padding:18px;gap:20px 12px}
    .employee-consumption-money {grid-template-columns:minmax(0,1fr);gap:15px}
    .employee-consumption-person>.doctor-profile-link {grid-template-columns:44px minmax(0,1fr);gap:10px}
    .employee-consumption-person .employee-avatar {width:44px;height:44px}
    .employee-consumption-totals>div {padding:16px 13px}
    #content .employee-consumption-totals strong {font-size:24px}
    #content .employee-consumption-person strong {font-size:16px}
    #content .employee-consumption-count strong {font-size:23px}
    #content :is(.employee-consumption-person small,.employee-consumption-totals span) {font-size:13px}
    .employee-period-form {padding:14px}
    .employee-period-presets>button {flex:1 1 auto}
  }
  @media(max-width:500px) {
    #content .product-grid.catalog-grid {grid-template-columns:minmax(0,1fr);gap:12px}
  }
}
