/* Interface do estoque Traumabone v35. */
.shell[hidden], .trauma-app[hidden] { display:none !important; }
.trauma-app {
  min-height:100vh;
  padding:28px 4.5vw 64px;
  color:#e8f8ff;
  background:
    radial-gradient(circle at 86% -8%, rgba(23,136,190,.42), transparent 32rem),
    radial-gradient(circle at 6% 100%, rgba(14,185,191,.15), transparent 30rem),
    linear-gradient(135deg,#031225 0%,#062d4e 55%,#031528 100%);
}
.t35-header,.t35-nav,.t35-main { max-width:1320px; margin-left:auto; margin-right:auto; }
.t35-header { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.t35-brand { display:flex; gap:13px; align-items:center; min-width:0; }
.t35-brand img { width:52px; height:52px; object-fit:contain; flex:0 0 auto; }
.t35-brand p,.t35-page-head p,.t35-hero p,.t35-section-head p,.t35-box-card>header p {
  margin:0 0 6px; color:#40e9ee; font:500 10px 'DM Mono',monospace; letter-spacing:1.45px;
}
.t35-brand strong { display:block; font-size:18px; letter-spacing:-.35px; }
.t35-back { white-space:nowrap; }
.t35-nav { display:flex; gap:5px; margin-top:25px; margin-bottom:25px; border-bottom:1px solid rgba(157,216,237,.2); overflow:auto; scrollbar-width:thin; }
.t35-nav button { position:relative; flex:0 0 auto; padding:12px 15px; border:0; border-bottom:2px solid transparent; background:transparent; color:#a7c5d5; font:700 12px Manrope,sans-serif; cursor:pointer; }
.t35-nav button:hover { color:#ddfbff; }
.t35-nav button.active { color:#effeff; border-color:#36dce5; }
.t35-nav span { color:#69e5e8; font:500 9px 'DM Mono',monospace; letter-spacing:.5px; }
.t35-nav b { margin-left:5px; padding:2px 6px; border-radius:12px; color:#ffc58f; background:rgba(255,164,103,.17); font:700 9px 'DM Mono',monospace; }
.t35-main { display:grid; gap:17px; }
.t35-hero,.t35-panel,.t35-box-card,.t35-stock-card,.t35-request-card,.t35-info-strip {
  border:1px solid rgba(130,211,236,.22); box-shadow:0 20px 55px rgba(0,7,25,.2); backdrop-filter:blur(20px);
}
.t35-hero { display:flex; align-items:center; justify-content:space-between; gap:28px; padding:28px; border-radius:18px; background:linear-gradient(118deg,rgba(12,62,101,.9),rgba(7,37,72,.64)); }
.t35-hero h1,.t35-page-head h1 { margin:0; color:#edfaff; font-size:30px; letter-spacing:-1.2px; }
.t35-hero span,.t35-page-head span { display:block; max-width:680px; margin-top:9px; color:#a8c9d9; font-size:13px; line-height:1.6; }
.t35-hero-actions,.t35-page-actions { display:flex; flex-wrap:wrap; gap:9px; justify-content:flex-end; }
.t35-hero-actions button,.t35-page-actions button { min-height:40px; }
.t35-metrics { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.t35-metric { min-height:118px; padding:17px; border:1px solid rgba(131,211,237,.17); border-radius:15px; background:rgba(5,37,68,.44); }
.t35-metric span { display:block; color:#8db6c9; font:500 9px 'DM Mono',monospace; letter-spacing:1.05px; }
.t35-metric strong { display:block; margin-top:12px; color:#e8faff; font-size:31px; line-height:1; }
.t35-metric small { display:block; margin-top:8px; color:#a1bdcd; font-size:10px; line-height:1.3; }
.t35-metric.cyan strong { color:#56e7e5; }
.t35-metric.blue strong { color:#8ac8ff; }
.t35-metric.warning strong { color:#ffc28e; }
.t35-two-columns { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.t35-panel { padding:20px; border-radius:16px; background:linear-gradient(135deg,rgba(14,58,96,.78),rgba(5,30,61,.58)); }
.t35-section-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.t35-section-head h2 { margin:0; color:#effaff; font-size:19px; letter-spacing:-.55px; }
.t35-section-head span { display:block; max-width:570px; margin-top:7px; color:#a2bfcd; font-size:11px; line-height:1.5; }
.t35-list { display:grid; margin-top:13px; }
.t35-list-row { display:grid; grid-template-columns:32px minmax(0,1fr) auto; gap:11px; align-items:center; padding:11px 0; border-top:1px solid rgba(155,215,232,.16); }
.t35-list-row strong,.t35-list-row small { display:block; }
.t35-list-row strong { color:#e8faff; font-size:12px; }
.t35-list-row small { margin-top:3px; color:#9dbbca; font-size:10px; line-height:1.45; }
.t35-list-row>b { color:#79eae5; font:500 11px 'DM Mono',monospace; white-space:nowrap; }
.t35-list-row>b.t35-negative { color:#ffbd91; }
.t35-icon { display:grid; width:28px; height:28px; place-items:center; border-radius:9px; font-weight:800; }
.t35-icon.cyan { color:#59e9df; background:rgba(56,225,213,.13); }
.t35-icon.blue { color:#9cccff; background:rgba(92,164,255,.14); }
.t35-icon.warning { color:#ffbb91; background:rgba(255,154,100,.15); }
.t35-list-row .secondary { padding:8px 10px; font-size:10px; }
.t35-recent { margin-top:0; }
.t35-page-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:4px 1px 2px; }
.t35-info-strip { display:flex; gap:12px; align-items:flex-start; padding:14px 16px; border-radius:14px; background:rgba(16,91,121,.27); }
.t35-info-strip>span { display:grid; width:28px; height:28px; place-items:center; flex:0 0 auto; color:#56ebe5; border-radius:9px; background:rgba(42,224,215,.14); font-weight:800; }
.t35-info-strip strong,.t35-info-strip small { display:block; }
.t35-info-strip strong { color:#e7fbff; font-size:12px; }
.t35-info-strip small { margin-top:3px; color:#a5c8d7; font-size:11px; line-height:1.5; }
.t35-stock-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; }
.t35-stock-card { display:flex; min-height:238px; flex-direction:column; padding:17px; border-radius:16px; background:linear-gradient(135deg,rgba(16,64,102,.8),rgba(4,31,62,.65)); }
.t35-stock-card.empty { border-color:rgba(255,180,136,.38); }
.t35-stock-card>header { display:flex; justify-content:space-between; gap:8px; align-items:center; }
.t35-category { color:#65e8e5; font:500 9px 'DM Mono',monospace; letter-spacing:1px; }
.t35-stock-card h2 { min-height:38px; margin:13px 0 10px; color:#edfaff; font-size:15px; line-height:1.28; }
.t35-stock-card dl { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:0; }
.t35-stock-card dt { color:#88afc2; font:500 8px 'DM Mono',monospace; letter-spacing:.9px; }
.t35-stock-card dd { margin:3px 0 0; color:#bbd4df; font-size:11px; word-break:break-word; }
.t35-quantity { display:flex; align-items:baseline; gap:6px; margin-top:auto; padding-top:16px; }
.t35-quantity strong { color:#5fe9e4; font-size:28px; }
.t35-stock-card.empty .t35-quantity strong { color:#ffbe91; }
.t35-quantity span { color:#a4c0ce; font-size:10px; }
.t35-transit-note { margin:7px 0 0; color:#9bcaff; font-size:10px; }
.t35-stock-card footer { margin-top:13px; }
.t35-stock-card footer button { width:100%; min-height:37px; font-size:10px; }
.t35-stock-card button:disabled { cursor:not-allowed; opacity:.5; }
.t35-pending { margin-top:3px; }
.t35-box-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
.t35-box-card { padding:19px; border-radius:17px; background:linear-gradient(135deg,rgba(15,62,101,.82),rgba(6,32,64,.62)); }
.t35-box-card.needs-restock { border-color:rgba(255,175,124,.5); }
.t35-box-card>header { display:flex; gap:12px; justify-content:space-between; align-items:flex-start; }
.t35-box-card h2 { margin:0; color:#effaff; font-size:18px; letter-spacing:-.4px; }
.t35-box-card>header small { display:block; margin-top:4px; color:#9dbdcc; font-size:10px; }
.t35-box-state,.t35-badge,.t35-request-status { display:inline-block; padding:4px 8px; border-radius:12px; font:700 9px 'DM Mono',monospace; white-space:nowrap; }
.t35-box-state.ok,.t35-badge.ok { color:#59e9dc; background:rgba(40,225,211,.13); }
.t35-box-state.warning,.t35-badge.empty { color:#ffbf8d; background:rgba(255,161,100,.16); }
.t35-slot-list { display:grid; margin:15px 0; }
.t35-slot { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 14px; align-items:center; padding:11px 0; border-top:1px solid rgba(154,214,231,.16); }
.t35-slot>div:first-child strong,.t35-slot>div:first-child small { display:block; }
.t35-slot>div:first-child strong { color:#e8f9ff; font-size:12px; }
.t35-slot>div:first-child small { margin-top:4px; color:#9cbacb; font-size:10px; line-height:1.45; }
.t35-slot>div:first-child small b { color:#7eece5; font-weight:600; }
.t35-slot-qty { text-align:right; }
.t35-slot-qty b,.t35-slot-qty span { display:block; }
.t35-slot-qty b { color:#76e9e4; font:700 13px 'DM Mono',monospace; }
.t35-slot-qty span { margin-top:3px; color:#8eafc0; font-size:9px; }
.t35-slot.low .t35-slot-qty b,.t35-slot.low .t35-slot-qty span { color:#ffbd90; }
.t35-slot-actions { grid-column:1/-1; display:flex; gap:14px; }
.t35-slot-actions .link-button { padding:0; color:#61e8e6; font-size:10px; }
.t35-box-card>footer { display:flex; gap:9px; }
.t35-box-card>footer button { min-height:38px; font-size:10px; }
.t35-box-card>footer .primary { margin-left:auto; }
.t35-request-list { display:grid; gap:13px; }
.t35-request-card { padding:19px; border-radius:16px; background:linear-gradient(135deg,rgba(15,62,101,.8),rgba(5,31,61,.6)); }
.t35-request-card>header { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; }
.t35-request-card h2 { margin:9px 0 4px; color:#edfaff; font-size:17px; }
.t35-request-card small { color:#9bbbc9; font-size:10px; }
.t35-request-status.open { color:#ffd08d; background:rgba(255,183,90,.16); }
.t35-request-status.separated { color:#9bcaff; background:rgba(89,159,255,.16); }
.t35-request-status.sent { color:#9ccaff; background:rgba(90,163,255,.16); }
.t35-request-status.received { color:#5de7dd; background:rgba(42,226,211,.15); }
.t35-request-status.cancelled { color:#ffb290; background:rgba(255,139,102,.14); }
.t35-request-actions { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; }
.t35-request-actions button { min-height:36px; font-size:10px; }
.t35-request-items { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; margin:15px 0 0; padding:13px 0; border-top:1px solid rgba(154,214,231,.16); border-bottom:1px solid rgba(154,214,231,.16); }
.t35-request-items div { display:flex; justify-content:space-between; gap:8px; color:#bdd6df; font-size:11px; }
.t35-request-items b { color:#76e9e5; font:600 11px 'DM Mono',monospace; white-space:nowrap; }
.t35-note { margin:11px 0 0; color:#a6c0cd; font-size:11px; line-height:1.5; }
.t35-hq-panel { padding:8px; overflow:hidden; }
.t35-table-wrap { overflow-x:auto; scrollbar-color:#35cad4 transparent; }
.t35-hq-panel table { width:100%; min-width:780px; border-collapse:collapse; }
.t35-hq-panel th { padding:13px 12px; color:#8eb5c8; font:500 9px 'DM Mono',monospace; letter-spacing:.7px; text-align:left; }
.t35-hq-panel td { padding:13px 12px; border-top:1px solid rgba(154,214,231,.15); color:#c3dbe4; font-size:11px; }
.t35-hq-panel td strong,.t35-hq-panel td small { display:block; }
.t35-hq-panel td strong { color:#e9fbff; font-size:12px; }
.t35-hq-panel td small { margin-top:3px; color:#91b2c3; font-size:9px; }
.t35-hq-panel td>b { color:#75e8e3; }
.t35-loading,.t35-empty { padding:29px 14px; color:#9dbdcb; text-align:center; font-size:12px; }
.t35-wide-empty { grid-column:1/-1; border:1px dashed rgba(151,214,233,.26); border-radius:15px; background:rgba(9,45,74,.32); }
.t35-form-note,.t35-confirm-text { margin:14px 0 0; color:#a7c7d6; font-size:11px; line-height:1.6; }
.t35-confirm-text strong { color:#e7fbff; }
.t35-note-label { display:grid !important; gap:6px; margin-top:14px; color:#9fc1d1 !important; font:500 10px 'DM Mono',monospace !important; letter-spacing:.7px; }
.t35-note-label input { width:100%; box-sizing:border-box; }
.t35-material-rows { display:grid; gap:8px; margin:13px 0 9px; }
.t35-material-row { display:grid; grid-template-columns:minmax(0,1fr) 92px 36px; gap:8px; }
.t35-material-row select,.t35-material-row input,.t35-note-label input {
  min-width:0; border:1px solid rgba(121,203,229,.3); border-radius:9px; background:rgba(2,22,48,.62); color:#effcff; padding:10px; font:12px Manrope,sans-serif;
}
.t35-material-row button { border:1px solid rgba(255,166,111,.35); border-radius:9px; background:rgba(255,145,91,.1); color:#ffb58b; cursor:pointer; font-size:20px; }
.t35-form-note + .form-footer { margin-top:16px; }
.light-theme .trauma-app {
  color:#13394f;
  background:radial-gradient(circle at 90% -4%, rgba(153,219,217,.78), transparent 32rem),radial-gradient(circle at 3% 100%, rgba(112,178,202,.18),transparent 28rem),linear-gradient(135deg,#fff8e9,#f5eacf 57%,#e8f1e5);
}
.light-theme .t35-hero,.light-theme .t35-panel,.light-theme .t35-box-card,.light-theme .t35-stock-card,.light-theme .t35-request-card { background:linear-gradient(135deg,rgba(255,253,243,.9),rgba(245,233,205,.83)); border-color:rgba(28,92,119,.22); box-shadow:0 18px 42px rgba(68,70,52,.13); }
.light-theme .t35-metric { background:rgba(255,251,237,.72); border-color:rgba(28,92,119,.18); }
.light-theme .t35-info-strip { border-color:rgba(27,114,127,.23); background:rgba(216,239,226,.65); }
.light-theme .t35-brand strong,.light-theme .t35-hero h1,.light-theme .t35-page-head h1,.light-theme .t35-section-head h2,.light-theme .t35-stock-card h2,.light-theme .t35-box-card h2,.light-theme .t35-request-card h2,.light-theme .t35-slot>div:first-child strong,.light-theme .t35-hq-panel td strong,.light-theme .t35-list-row strong,.light-theme .t35-info-strip strong,.light-theme .t35-confirm-text strong { color:#113b52; }
.light-theme .t35-hero span,.light-theme .t35-page-head span,.light-theme .t35-section-head span,.light-theme .t35-list-row small,.light-theme .t35-info-strip small,.light-theme .t35-stock-card dd,.light-theme .t35-request-card small,.light-theme .t35-slot>div:first-child small,.light-theme .t35-note,.light-theme .t35-form-note,.light-theme .t35-confirm-text,.light-theme .t35-loading,.light-theme .t35-empty { color:#4d7182; }
.light-theme .t35-nav { border-color:rgba(28,92,119,.2); }.light-theme .t35-nav button { color:#59798a; }.light-theme .t35-nav button.active { color:#123c52; }
.light-theme .t35-list-row,.light-theme .t35-slot,.light-theme .t35-request-items,.light-theme .t35-hq-panel td { border-color:rgba(28,92,119,.15); }
.light-theme .t35-hq-panel td { color:#446879; }.light-theme .t35-hq-panel th,.light-theme .t35-stock-card dt,.light-theme .t35-metric span { color:#557a8c; }
.light-theme .t35-material-row select,.light-theme .t35-material-row input,.light-theme .t35-note-label input { background:#fffaf0; color:#163e53; border-color:rgba(31,107,129,.28); }
@media (max-width:1080px) { .t35-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }.t35-stock-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:760px) {
  .trauma-app { padding:17px 14px 44px; }
  .t35-header { align-items:flex-start; }.t35-brand img { width:40px; height:40px; }.t35-brand strong { font-size:14px; }.t35-back { padding:8px 9px; font-size:10px; }
  .t35-nav { margin:17px -14px 18px; padding:0 8px; }.t35-nav button { padding:11px 11px; font-size:11px; }
  .t35-hero { display:block; padding:20px; }.t35-hero h1,.t35-page-head h1 { font-size:25px; }.t35-hero-actions { justify-content:flex-start; margin-top:17px; }.t35-hero-actions button { flex:1 1 130px; }
  .t35-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }.t35-metric { min-height:101px; padding:14px; }.t35-metric strong { font-size:26px; }
  .t35-two-columns,.t35-stock-grid,.t35-box-grid { grid-template-columns:1fr; }.t35-page-head { display:block; }.t35-page-actions { justify-content:flex-start; margin-top:15px; }.t35-page-actions button { flex:1 1 130px; }
  .t35-panel,.t35-box-card,.t35-request-card { padding:16px; }.t35-stock-card { min-height:0; }.t35-stock-card h2 { min-height:0; }
  .t35-list-row { grid-template-columns:29px minmax(0,1fr); }.t35-list-row>button,.t35-list-row>b { grid-column:2; justify-self:start; }.t35-list-row>b { margin-top:-3px; }
  .t35-box-card>footer { flex-wrap:wrap; }.t35-box-card>footer button { flex:1 1 130px; }.t35-box-card>footer .primary { margin-left:0; }
  .t35-request-card>header { display:block; }.t35-request-actions { justify-content:flex-start; margin-top:14px; }.t35-request-actions button { flex:1; }.t35-request-items { grid-template-columns:1fr; }
  .t35-material-row { grid-template-columns:minmax(0,1fr) 76px 34px; }.t35-info-strip { padding:13px; }
}
