/* Complementos da visualização por hospitais. As caixas continuam preservadas no banco, mas não são exibidas. */
.t36-header { align-items:center; }
.t36-header-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:9px; }
.t36-hospital-picker { display:grid; min-width:232px; gap:4px; padding:7px 10px; border:1px solid rgba(126,211,236,.27); border-radius:11px; background:rgba(3,32,61,.42); }
.t36-hospital-picker span { color:#80b5ca; font:500 8px 'DM Mono',monospace; letter-spacing:1px; }
.t36-hospital-picker select { min-width:0; border:0; outline:0; background:transparent; color:#e6faff; font:700 11px Manrope,sans-serif; cursor:pointer; }
.t36-hospital-picker option { color:#153b50; background:#eff8f2; }
.light-theme .t36-hospital-picker { border-color:rgba(28,92,119,.24); background:rgba(255,251,238,.75); }
.light-theme .t36-hospital-picker select { color:#173d51; }
@media (max-width:900px) { .t36-header { align-items:flex-start; }.t36-header-actions { max-width:430px; } }
@media (max-width:760px) {
  .t36-header { display:block; }.t36-header-actions { justify-content:flex-start; margin-top:14px; }.t36-hospital-picker { flex:1 1 100%; min-width:0; }.t36-header-actions > .secondary { flex:1 1 130px; }
}

/* Lista compacta do estoque local: cada linha representa um material/lote. */
.t36-stock-panel { padding:8px; overflow:hidden; }
.t36-stock-panel > .t35-section-head { padding:12px 12px 2px; }
.t36-stock-head,
.t36-stock-row { display:grid; grid-template-columns:minmax(220px,2.2fr) minmax(90px,.78fr) minmax(108px,.82fr) minmax(155px,.95fr) minmax(156px,.95fr); gap:14px; align-items:center; }
.t36-stock-head { padding:13px 12px 10px; color:#7faabf; font:600 9px 'DM Mono',monospace; letter-spacing:1.15px; }
.t36-stock-list { display:grid; }
.t36-stock-row { min-height:76px; padding:12px; border-top:1px solid rgba(126,211,236,.14); background:linear-gradient(90deg,rgba(9,58,92,.16),rgba(3,29,57,.03)); transition:background .18s ease; }
.t36-stock-row:hover { background:rgba(32,164,205,.1); }
.t36-stock-row.empty { background:linear-gradient(90deg,rgba(139,82,44,.13),rgba(70,35,25,.03)); }
.t36-stock-product { min-width:0; }
.t36-stock-product strong,
.t36-stock-product small,
.t36-stock-category { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.t36-stock-product strong { color:#effaff; font:700 14px Manrope,sans-serif; }
.t36-stock-product small { margin-top:3px; color:#8eb8cc; font:500 10px 'DM Mono',monospace; }
.t36-stock-category { margin-bottom:4px; color:#49d9e5; font:600 8px 'DM Mono',monospace; letter-spacing:1px; text-transform:uppercase; }
.t36-stock-cell { color:#cee8f1; font:600 12px Manrope,sans-serif; }
.t36-stock-cell strong { color:#f1fbff; }
.t36-stock-availability { display:flex; align-items:center; gap:5px; min-width:0; color:#98c6d6; font:600 10px Manrope,sans-serif; }
.t36-stock-availability > strong { color:#36d8e7; font:800 20px Manrope,sans-serif; line-height:1; }
.t36-stock-row.empty .t36-stock-availability > strong { color:#ffad70; }
.t36-stock-availability em { margin-left:4px; font-style:normal; white-space:nowrap; }
.t36-stock-action { text-align:right; }
.t36-stock-action .secondary { min-width:142px; padding:9px 10px; font-size:10px; white-space:nowrap; }
.t36-send-label { margin:17px 0 7px; color:#7fb7c9; font:600 9px 'DM Mono',monospace; letter-spacing:1.1px; }

.light-theme .t36-stock-row { border-color:rgba(23,74,94,.16); background:linear-gradient(90deg,rgba(255,255,255,.46),rgba(241,234,208,.17)); }
.light-theme .t36-stock-row:hover { background:rgba(74,178,196,.11); }
.light-theme .t36-stock-row.empty { background:linear-gradient(90deg,rgba(245,203,135,.28),rgba(255,255,255,.16)); }
.light-theme .t36-stock-head,
.light-theme .t36-stock-product small,
.light-theme .t36-send-label { color:#456f81; }
.light-theme .t36-stock-product strong,
.light-theme .t36-stock-cell strong { color:#133f54; }
.light-theme .t36-stock-cell { color:#2a5a6c; }
.light-theme .t36-stock-availability { color:#35677a; }

@media (max-width:760px) {
  .t36-stock-panel { padding:6px; }
  .t36-stock-panel > .t35-section-head { padding:13px 10px 5px; }
  .t36-stock-head { display:none; }
  .t36-stock-row { grid-template-columns:minmax(0,1fr) auto; gap:10px 14px; min-height:0; padding:14px 10px; }
  .t36-stock-product { grid-column:1 / -1; }
  .t36-stock-product strong { font-size:14px; white-space:normal; }
  .t36-stock-cell { display:grid; gap:3px; }
  .t36-stock-cell::before,
  .t36-stock-availability::before { content:attr(data-label); color:#77a8bc; font:600 8px 'DM Mono',monospace; letter-spacing:.8px; text-transform:uppercase; }
  .t36-stock-availability { display:grid; justify-items:end; gap:2px; text-align:right; }
  .t36-stock-availability > strong { font-size:20px; }
  .t36-stock-availability > span { display:none; }
  .t36-stock-availability em { margin:2px 0 0; }
  .t36-stock-action { grid-column:1 / -1; text-align:left; }
  .t36-stock-action .secondary { width:100%; min-width:0; }
  .light-theme .t36-stock-cell::before,
  .light-theme .t36-stock-availability::before { color:#4c7889; }
}
