/* Smart Shrimp Log — DoFarm-informed readability convergence.\n   Presentation-only final override layer. Keep Golden Master Slice 1 ownership immutable. */\n/* DoFarm-informed readability convergence v2 — preserve SSL identity; compact by spacing, not tiny text. */
@media(max-width:900px){
  /* Global mobile navigation: five equal destinations remain canonical. */
  .shell.farm-level-shell>.sidebar:not(.pond-context-sidebar) .nav-item,
  .shell.home-shell>.sidebar:not(.pond-context-sidebar) .nav-item{
    font-size:11.5px!important;line-height:1.15!important;gap:3px!important
  }
  .shell.farm-level-shell>.sidebar:not(.pond-context-sidebar) .nav-icon,
  .shell.home-shell>.sidebar:not(.pond-context-sidebar) .nav-icon{
    width:40px!important;height:40px!important
  }

  /* Farms: keep one-card-per-farm density but make every operational label field-readable. */
  .gm-farm-identity small{font-size:10.5px!important;line-height:1.25!important}
  .gm-farm-identity strong{font-size:15px!important}
  .gm-holy-pill{font-size:11px!important}
  .gm-farm-summary-copy .gm-live-pill{font-size:10.5px!important}
  .gm-farm-summary-copy h1{font-size:20px!important}
  .gm-farm-summary-copy p{font-size:12.5px!important;line-height:1.35!important}
  .gm-farm-summary-stats span{font-size:10.5px!important;line-height:1.2!important;padding:6px 3px!important}
  .gm-farm-summary-stats b{font-size:13px!important}
  .gm-farm-command span{font-size:10.5px!important}
  .gm-farm-command h2{font-size:18px!important}
  #app .gm-farm-overview .gm-add-farm{font-size:12px!important;min-height:38px!important}
  #app .gm-farm-overview .gm-farm-network .farm-card h3{font-size:16px!important}
  #app .gm-farm-overview .gm-farm-network .farm-card p{font-size:12px!important;line-height:1.35!important}
  #app .gm-farm-overview .gm-farm-network .farm-coordinate{font-size:10.5px!important}
  #app .gm-farm-overview .gm-farm-network .farm-mini-stats span{font-size:10px!important}
  #app .gm-farm-overview .gm-farm-network .farm-mini-stats b{font-size:14px!important}
  #app .gm-farm-overview .gm-farm-network .farm-card .weather-date,
  #app .gm-farm-overview .gm-farm-network .farm-card .farm-weather-day small,
  #app .gm-farm-overview .gm-farm-network .farm-card .ssl-weather-day small{font-size:10.5px!important}
  #app .gm-farm-overview .gm-farm-network .farm-card .farm-card-actions .card-link,
  #app .gm-farm-overview .gm-farm-network .farm-card .farm-card-actions .farm-open-action{font-size:12px!important}
  .gm-farm-note{font-size:11.5px!important}

  /* Farm hub / pond list. */
  .pond-hub-heading h2{font-size:20px!important}
  .pond-hub-heading p{font-size:12.5px!important}
  .pond-weather-now small{font-size:11.5px!important}
  .pond-weather-slot b{font-size:11.5px!important}
  .pond-weather-slot small{font-size:13px!important}
  .pond-weather-slot em{font-size:10.5px!important}
  .pond-hub-filter button{font-size:12px!important;min-height:38px!important}
  .pond-hub-name{font-size:16px!important}
  .pond-hub-age,.pond-hub-status{font-size:11.5px!important}
  .pond-hub-data>div,.pond-hub-data b{font-size:12.5px!important}
  .pond-hub-footer,.pond-hub-open,.pond-hub-new{font-size:11.5px!important}

  /* Pond cockpit: values dominate labels, but nothing operational drops below readable scale. */
  .gm-pond-core-kpis{gap:8px!important}
  .gm-core-kpi{min-height:92px!important;padding:10px 9px!important}
  .gm-core-kpi>span{font-size:11.5px!important;line-height:1.25!important}
  .gm-core-kpi>b{font-size:19px!important}
  .gm-core-kpi>em{font-size:10.5px!important}
  .gm-pond-telemetry-grid{gap:7px!important;padding:10px 10px 0!important}
  .gm-pond-telemetry-grid>div{padding:9px 6px!important}
  .gm-pond-telemetry-grid span{font-size:11.5px!important;line-height:1.25!important}
  .gm-pond-telemetry-grid b{font-size:15px!important}
  .gm-pond-growth-mini>div b{font-size:14px!important}
  .gm-pond-status-time{font-size:11px!important}
  .pond-mobile-dock .pond-module-label{font-size:11.5px!important;line-height:1.1!important}
  .pond-mobile-dock button{min-height:58px!important}
  .pond-op-kicker{font-size:11.5px!important;line-height:1.35!important}
  .pond-op-title{font-size:16px!important}
  .pond-op-link-btn{font-size:11.5px!important}
  .pond-overview table th,.pond-overview table td,
  .growth-workspace table th,.growth-workspace table td,
  .water-workspace table th,.water-workspace table td,
  .medicine-workspace table th,.medicine-workspace table td{font-size:12px!important;line-height:1.35!important}

  /* Inventory: readable card/list-first mobile while retaining internal scrollers for true matrices. */
  .inventory-mobile-toolbar .primary-mobile-identity small{font-size:11px!important}
  .inventory-mobile-toolbar .primary-mobile-identity strong{font-size:14px!important}
  .inventory-mobile-toolbar .primary-mobile-pill{font-size:11px!important}
  .global-mobile-top-inventory .inv-mobile-title-copy .eyebrow{font-size:11px!important}
  .global-mobile-top-inventory .inv-mobile-title-copy h3{font-size:17px!important}
  .global-mobile-top-inventory #invAddStock{font-size:12px!important;min-height:36px!important;height:36px!important}
  #inventoryWorkspace .inv-qa-btn{font-size:11.5px!important;min-height:38px!important;height:38px!important}
  #inventoryWorkspace .inv-wh-copy b{font-size:13px!important}
  #inventoryWorkspace .inv-wh-copy small{font-size:11px!important}
  #inventoryWorkspace .inv-wh-item{min-height:58px!important}
  #inventoryWorkspace .inv-tabs button{font-size:12.5px!important}
  #inventoryWorkspace table th,#inventoryWorkspace table td{font-size:12px!important}

  /* Executive/Admin: keep dense finance context, remove 8px microcopy from decision surfaces. */
  .admin-mobile-toolbar .primary-mobile-identity small{font-size:11px!important}
  .admin-mobile-toolbar .primary-mobile-identity strong{font-size:14px!important}
  .admin-mobile-toolbar .primary-mobile-pill{font-size:11px!important}
  .global-mobile-top-admin .domain-mobile-live{font-size:10.5px!important}
  .global-mobile-top-admin .domain-mobile-visual-copy b{font-size:15px!important}
  .global-mobile-top-admin .domain-mobile-visual-copy small{font-size:11px!important}
  .global-mobile-top-admin>.global-mobile-top-kpis span{font-size:11px!important;line-height:1.2!important}
  .global-mobile-top-admin>.global-mobile-top-kpis b{font-size:14px!important}
  .admin-primary-page .admin-month-head h3{font-size:15px!important}
  .admin-primary-page .admin-month-head select{font-size:13px!important}
  .admin-primary-page .admin-section-heading .eyebrow{font-size:10.5px!important}
  .admin-primary-page .admin-section-heading h3{font-size:16px!important}
  .admin-primary-page .admin-section-heading>.muted{font-size:11px!important}
  .admin-primary-page .executive-chart-legend{font-size:11.5px!important}
  .admin-primary-page .executive-chart-legend small{font-size:10.5px!important}
  .admin-primary-page .admin-category-row>span{font-size:12px!important}
  .admin-primary-page .admin-category-row>b{font-size:12px!important}
  .admin-primary-page .admin-category-row>b small{font-size:10.5px!important}
  .admin-primary-page .admin-month-row>div>b{font-size:12px!important}
  .admin-primary-page .admin-month-row>div>small{font-size:10.5px!important}
  .admin-primary-page .admin-month-row dt{font-size:10.5px!important}
  .admin-primary-page .admin-month-row dd{font-size:11.5px!important}
  .admin-primary-page .admin-finance-reference{font-size:11px!important}
  .admin-primary-page .executive-crop-report>.section-head h3{font-size:16px!important}
  .admin-primary-page .executive-crop-report>.section-head .muted{font-size:11px!important}
  .admin-primary-page .executive-crop-report>.section-head>select{font-size:13px!important}
  .admin-primary-page .executive-pond-group header h4{font-size:14px!important}
  .admin-primary-page .executive-pond-group>header>b{font-size:10.5px!important}
  .admin-primary-page .executive-crop-card-head b,
  .admin-primary-page .executive-crop-card-head>strong{font-size:12px!important}
  .admin-primary-page .executive-crop-card-head small{font-size:10.5px!important}
  .admin-primary-page .executive-crop-priority span,
  .admin-primary-page .executive-crop-highlights span,
  .admin-primary-page .executive-crop-metrics span{font-size:10.5px!important}
  .admin-primary-page .executive-crop-highlights b,
  .admin-primary-page .executive-crop-metrics b{font-size:12px!important}

  /* Settings/account: controls and explanatory text remain legible without expanding the page chrome. */
  .settings-mobile-section-head span{font-size:13px!important}
  .settings-mobile-section-head small{font-size:10.5px!important}
  .settings-mobile-section-head>span{font-size:17px!important}
  .settings-mobile-field span,.settings-mobile-pair span{font-size:10.5px!important}
  .settings-mobile-field strong,.settings-mobile-pair strong{font-size:12.5px!important;line-height:1.3!important}
  .settings-workspace button{font-size:12px!important}
  .settings-workspace input,.settings-workspace select,.settings-workspace textarea{font-size:16px!important}
}

.cost-pending-valuation{display:inline-flex;align-items:center;gap:4px;font-weight:700;font-size:11px;line-height:1.2;padding:3px 7px;border-radius:999px;background:#fff4d6;color:#8a6100;white-space:nowrap}

/* Desktop synthesis: inherit mobile hierarchy without inflating density. */
@media(min-width:901px){
  .gm-farm-identity small,.gm-dashboard-kicker,.gm-live-pill{font-size:11px!important}
  .gm-farm-toolbar-meta,.gm-farm-command p,.gm-dashboard-date{font-size:12px!important}
  .gm-farm-summary-copy p,.gm-dashboard-hero p{font-size:14px!important}
  .gm-farm-summary-stats span,.gm-metric p,.gm-dashboard-note{font-size:11.5px!important}
  .gm-farm-command span{font-size:10.5px!important}
  .gm-farm-command h2{font-size:21px!important}
  .gm-farm-network .farm-card p,.pond-hub-data>div{font-size:12.5px!important}
  .pond-hub-age,.pond-hub-status{font-size:11.5px!important}
  .pond-op-kicker{font-size:11.5px!important}
  .inventory-mobile-toolbar small,.global-mobile-top-inventory .eyebrow,
  .admin-mobile-toolbar small,.global-mobile-top-admin .eyebrow{font-size:11px!important}
  .admin-primary-page .admin-section-heading .eyebrow{font-size:10.5px!important}
  .admin-primary-page .admin-section-heading>.muted{font-size:11px!important}
  .admin-primary-page .admin-category-row>span,
  .admin-primary-page .admin-category-row>b{font-size:12px!important}
  .admin-primary-page .admin-category-row>b small{font-size:10.5px!important}
}

/* Readability v2.1 — close remaining micro-text gaps exposed by authenticated mobile runtime. */
@media(max-width:900px){
  .global-mobile-top-kpis span{font-size:11px!important;line-height:1.2!important}
  .global-mobile-top-kpis b{font-size:14px!important}
  #inventoryWorkspace .domain-mobile-live,
  #inventoryWorkspace .eyebrow{font-size:11px!important;line-height:1.25!important}
  #inventoryWorkspace .inv-overview-action{font-size:11.5px!important;min-height:44px!important;height:44px!important}
  #inventoryWorkspace h3{font-size:16px!important}
  .settings-primary-page .eyebrow{font-size:10.5px!important}
  .settings-primary-page .dofarm-import-actions-inline button{font-size:11.5px!important;min-height:36px!important;height:36px!important}
  .settings-primary-page .muted,.settings-primary-page small{font-size:11.5px!important;line-height:1.4!important}
  .marix-reference-shell .marix-reference-brand-copy span,
  .marix-reference-shell .marix-home-kicker,
  .marix-reference-shell .marix-home-kpi-strip em{font-size:10.5px!important;line-height:1.25!important}
  .marix-reference-shell .marix-home-copy p{font-size:12.5px!important;line-height:1.45!important}
  .marix-reference-shell .marix-reference-quick-card small,
  .marix-reference-shell .marix-home-kpi-strip small{font-size:11.5px!important;line-height:1.35!important}
  .marix-reference-shell .marix-reference-quick-card .quick-kicker{font-size:10.5px!important}
  #app #inventoryWorkspace .global-mobile-top-inventory .inventory-mobile-kpis span{font-size:11px!important;line-height:1.2!important;padding:5px 2px!important}
  #app #inventoryWorkspace .global-mobile-top-inventory .inventory-mobile-kpis b{font-size:14px!important}
  #app #inventoryWorkspace .section-head .eyebrow,
  #app #inventoryWorkspace .inv-wh-copy .eyebrow,
  #app #inventoryWorkspace .inv-wh-group>.eyebrow,
  #app #inventoryWorkspace .inv-wh-card .eyebrow{font-size:11px!important;line-height:1.25!important}
  #app #inventoryWorkspace .section-head h3{font-size:16px!important;line-height:1.2!important}
  #app #inventoryWorkspace .inv-low-alert .eyebrow{font-size:10.5px!important}
  #app #inventoryWorkspace .inv-low-alert b{font-size:12.5px!important}
  #app #inventoryWorkspace .inv-low-alert small{font-size:11px!important}
  #app .settings-primary-page .eyebrow{font-size:10.5px!important;line-height:1.25!important}
  #app .settings-primary-page .global-mobile-top-settings .global-mobile-top-kpis span{font-size:11px!important;line-height:1.2!important}
  #app .settings-primary-page .global-mobile-top-settings .global-mobile-top-kpis b{font-size:14px!important}
  #app .pond-module-island .pond-module-label,
  #app .pond-module-island .pond-module-more summary span{font-size:11.5px!important;line-height:1.15!important}
  #app .pond-module-island .pond-module-item,
  #app .pond-module-island .pond-module-more summary{min-height:58px!important}
  #app .pond-op-kicker{font-size:11.5px!important;line-height:1.35!important}
  #app .pond-op-link-btn{font-size:11.5px!important;min-height:32px!important}
  #app .pond-module-primary-btn{min-height:44px!important;font-size:13px!important}
  #app .feed-ai-head span,
  #app .standard-feed-head span{font-size:10.5px!important;line-height:1.25!important}
  #app .marix-reference-shell small{font-size:11.5px!important;line-height:1.35!important}
}

/* Desktop readability synthesis v2.3 — preserve density while removing microcopy from operational surfaces. */
@media(min-width:901px){
  #app .gm-farm-network .farm-mini-stats span{font-size:11px!important}
  #app .gm-farm-network .farm-coordinate{font-size:11px!important}
  #app .gm-farm-network .farm-weather-strip small{font-size:11px!important}
  #app .global-mobile-top-inventory .domain-mobile-live{font-size:10.5px!important}
  #app .global-mobile-top-inventory>.inv-mobile-title-copy .eyebrow{font-size:10.5px!important}
  #app #inventoryWorkspace .section-head .eyebrow,
  #app #inventoryWorkspace .inv-wh-copy .eyebrow,
  #app #inventoryWorkspace .inv-wh-group>.eyebrow,
  #app #inventoryWorkspace .inv-wh-card .eyebrow{font-size:10.5px!important;line-height:1.25!important}
  #app #inventoryWorkspace .inv-wh-copy small,
  #app #inventoryWorkspace .inv-wh-card .muted{font-size:11px!important;line-height:1.3!important}
  #app #inventoryWorkspace .section-head h3{font-size:17px!important}
  #app #inventoryWorkspace table th{font-size:11px!important}
  #app #inventoryWorkspace table td{font-size:12.5px!important}
  #app .global-mobile-top-admin .domain-mobile-live{font-size:10.5px!important}
  #app .global-mobile-top-admin>.global-mobile-top-kpis span{font-size:11px!important;line-height:1.2!important}
  #app .global-mobile-top-admin>.global-mobile-top-kpis b{font-size:15px!important}
  #app .admin-primary-page .executive-crop-priority span,
  #app .admin-primary-page .executive-crop-highlights span,
  #app .admin-primary-page .executive-crop-metrics span{font-size:10.5px!important}
  #app .admin-primary-page .executive-crop-highlights b,
  #app .admin-primary-page .executive-crop-metrics b{font-size:12px!important}
  #app .global-mobile-top-settings .domain-mobile-live,
  #app .global-mobile-top-settings .domain-mobile-summary-copy .eyebrow{font-size:10.5px!important}
  #app .global-mobile-top-settings>.global-mobile-top-kpis span{font-size:11px!important}
  #app .global-mobile-top-settings>.global-mobile-top-kpis b{font-size:15px!important}
  #app .settings-primary-page .domain-mobile-summary-copy p{font-size:12px!important;line-height:1.45!important}
  #app .pond-overview .gm-pond-telemetry-grid span,
  #app .pond-overview .gm-pond-growth-mini span,
  #app .pond-overview .w-label{font-size:11px!important;line-height:1.3!important}
  #app .pond-overview .gm-twin-pond-pin,
  #app .pond-overview .gm-twin-feed{font-size:10.5px!important}
  #app .pond-overview .pond-op-kicker{font-size:11.5px!important}
  #app .page-title{font-size:22px!important;line-height:1.2!important}
  #app #inventoryWorkspace .inv-overview-actions .eyebrow,
  #app #inventoryWorkspace .inv-quick-actions .eyebrow{font-size:10.5px!important}
  #app .admin-primary-page table th{font-size:11px!important}
  #app .admin-primary-page table td{font-size:12px!important}
}

@media(max-width:900px){
  #app .settings-primary-page .global-mobile-top-settings .domain-mobile-live{font-size:10.5px!important;line-height:1.2!important}
  #app #inventoryWorkspace .inv-wh-status{font-size:10.5px!important}
  #app .marix-reference-shell .marix-home-kicker{font-size:10.5px!important;line-height:1.25!important}
  #app .admin-primary-page>.global-mobile-top-admin .domain-mobile-summary-copy p{font-size:11.5px!important;line-height:1.35!important}
  #app .admin-primary-page .executive-pond-group header span{font-size:10.5px!important}
  #app .admin-primary-page .finance-kicker,
  #app .admin-primary-page .finance-section-head span,
  #app .admin-primary-page .exec-section-head span{font-size:10.5px!important;line-height:1.25!important}
  #app .admin-primary-page .exec-history-section span{font-size:10.5px!important}
  html body #app .shell.farm-level-shell>.sidebar:not(.pond-context-sidebar) .nav-item,
  html body #app .shell.home-shell>.sidebar:not(.pond-context-sidebar) .nav-item{font-size:11.5px!important;line-height:1.15!important}
  html body #app .shell.farm-level-shell>.sidebar:not(.pond-context-sidebar) .nav-icon,
  html body #app .shell.home-shell>.sidebar:not(.pond-context-sidebar) .nav-icon{width:40px!important;height:40px!important}
}
