.room-runtime{display:grid;gap:14px;min-width:0}.room-runtime *{box-sizing:border-box}.room-runtime-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.room-runtime-title{min-width:0}.room-runtime-title>span,.room-runtime-orders-head>span,.room-runtime-selection-copy>span,.room-runtime-inline-os-toolbar span{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em}.room-runtime-title h2{margin:3px 0 4px;font-size:clamp(24px,3vw,34px)}.room-runtime-title p{margin:0;color:var(--muted);max-width:720px}.room-runtime-tools{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.room-runtime-tools label{display:grid;gap:5px;color:var(--muted);font-size:12px}.room-runtime-tools select{min-width:220px;max-width:360px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text)}.room-runtime-meta{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;color:var(--muted)}.room-runtime-meta strong,.room-runtime-meta b{color:var(--text);font-size:20px}.room-runtime-filters{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.room-runtime-filter{border:1px solid var(--line);background:var(--panel);color:var(--muted);border-radius:999px;padding:9px 13px;white-space:nowrap;cursor:pointer;min-height:40px}.room-runtime-filter.is-active{border-color:var(--primary);color:var(--text);box-shadow:inset 0 0 0 1px var(--primary)}.room-runtime-content{min-width:0}.room-runtime-workspace{display:grid;grid-template-columns:minmax(300px,34%) minmax(0,66%);height:clamp(560px,calc(100dvh - 250px),920px);min-height:0;border:1px solid var(--line);border-radius:16px;background:var(--panel);overflow:hidden}.room-runtime-orders-panel{min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden;overflow-anchor:none;scroll-behavior:auto;border-right:1px solid var(--line);background:color-mix(in srgb,var(--panel) 94%,var(--bg) 6%)}.room-runtime-orders-head{position:sticky;top:0;z-index:2;display:grid;gap:3px;padding:14px;border-bottom:1px solid var(--line);background:var(--panel)}.room-runtime-orders-head strong{font-size:16px}.room-runtime-orders-head small{color:var(--muted);line-height:1.35}.room-runtime-orders-list{display:grid;gap:10px;padding:10px}.room-runtime-order{display:grid;gap:8px;padding:10px;border:1px solid var(--line);border-radius:13px;background:var(--panel);min-width:0}.room-runtime-order.has-selection{border-color:var(--primary)}.room-runtime-order-head{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:9px;align-items:center}.room-runtime-order-head>img{width:52px;height:52px;object-fit:cover;border-radius:9px;border:1px solid var(--line)}.room-runtime-order-head:not(:has(img)){grid-template-columns:minmax(0,1fr) auto}.room-runtime-order-copy{display:grid;gap:2px;min-width:0}.room-runtime-order-copy>span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.room-runtime-order-copy>strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-runtime-order-copy>small{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-runtime-order-copy>em{font-style:normal;font-size:11px;color:var(--muted)}.room-runtime-order-count{display:grid;place-items:center;min-width:30px;height:30px;padding:0 7px;border:1px solid var(--line);border-radius:999px;font-size:12px;font-weight:800}.room-runtime-items-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:38px;padding:7px 10px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--text);cursor:pointer}.room-runtime-items-toggle span{font-weight:800;font-size:12px}.room-runtime-items-toggle b{font-size:11px;color:var(--muted)}.room-runtime-items{display:grid;gap:6px;padding-left:8px;border-left:2px solid var(--line);overflow-anchor:none}.room-runtime-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;text-align:left;width:100%;min-height:42px;padding:8px 10px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--text);cursor:pointer}.room-runtime-item:hover{background:var(--bg)}.room-runtime-item.is-selected{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 10%,var(--panel) 90%)}.room-runtime-item span{font-size:12px;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-runtime-item small{font-size:10px;color:var(--muted);white-space:nowrap}.room-runtime-detail-panel{display:grid;grid-template-rows:auto auto minmax(0,1fr);min-width:0;min-height:0;overflow:hidden;overflow-anchor:none;background:var(--bg)}.room-runtime-selection{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 14px;border-bottom:1px solid var(--line);background:var(--panel);min-width:0}.room-runtime-selection-copy{display:grid;gap:2px;min-width:0}.room-runtime-selection-copy strong{font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-runtime-selection-copy small{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-runtime-selection-empty{display:flex;align-items:center;gap:12px;padding:14px;border-bottom:1px solid var(--line);background:var(--panel)}.room-runtime-selection-empty>div{display:grid;gap:3px}.room-runtime-selection-empty strong{font-size:16px}.room-runtime-selection-empty p{margin:0;color:var(--muted);font-size:12px}.room-runtime-mobile-back{display:none}.room-runtime-status{font-size:10px;font-weight:800;letter-spacing:.04em;border:1px solid var(--line);border-radius:999px;padding:6px 8px;text-align:center;white-space:nowrap}.room-runtime-actions-panel{display:grid;gap:8px;padding:10px 14px;border-bottom:1px solid var(--line);background:var(--panel);min-width:0}.room-runtime-actions-panel.is-error{border-color:color-mix(in srgb,#ef4444 55%,var(--line))}.room-runtime-actions-panel>strong{font-size:13px}.room-runtime-actions-panel>span{font-size:12px;color:var(--muted)}.room-runtime-actions-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.room-runtime-actions-head>div{display:grid;gap:2px}.room-runtime-actions-head span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.room-runtime-actions-head strong{font-size:12px}.room-runtime-actions-head small{font-size:11px;color:var(--muted)}.room-runtime-actions-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.room-runtime-action-btn{min-width:0;min-height:38px;padding-inline:7px;font-size:11px;white-space:normal}.room-runtime-actions-empty{padding:8px;border-radius:8px;background:var(--bg);color:var(--muted);font-size:12px;text-align:center}.room-runtime-action-message{padding:7px 9px;border-radius:8px;font-size:11px;background:var(--bg)}.room-runtime-inline-os-slot{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;overflow:hidden;background:#dfe5ec}.room-runtime-inline-os-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-bottom:1px solid #cbd5e1;background:#f8fafc;color:#0f172a}.room-runtime-inline-os-toolbar>div{display:flex;align-items:baseline;gap:8px;min-width:0}.room-runtime-inline-os-toolbar span{color:#64748b}.room-runtime-inline-os-toolbar strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-runtime-inline-os-toolbar small{color:#64748b;white-space:nowrap}.room-runtime-inline-os-body{min-width:0;min-height:0;overflow:hidden}.room-runtime-inline-os-frame{display:block;width:100%;height:100%;min-height:0;border:0;background:#fff}.room-runtime-inline-os-empty,.room-runtime-inline-os-state{height:100%;min-height:280px;display:grid;place-items:center;align-content:center;gap:7px;padding:24px;text-align:center;color:#475569;background:#f1f5f9}.room-runtime-inline-os-empty strong,.room-runtime-inline-os-state strong{font-size:17px;color:#0f172a}.room-runtime-inline-os-state.is-error strong{color:#991b1b}.room-runtime-state{min-height:160px;border:1px dashed var(--line);border-radius:12px;display:grid;place-items:center;align-content:center;gap:7px;text-align:center;padding:18px;color:var(--muted)}.room-runtime-state strong{color:var(--text);font-size:15px}.room-runtime-pagination{display:flex;justify-content:center;align-items:center;gap:12px}.room-runtime-pagination .btn{min-height:40px}.room-runtime-pagination .btn:disabled{opacity:.45;cursor:not-allowed}.room-runtime-dialog-backdrop{position:fixed;inset:0;z-index:10020;display:grid;place-items:center;padding:18px;background:rgba(0,0,0,.62);overflow:auto}.room-runtime-dialog{width:min(560px,100%);max-height:min(760px,calc(100dvh - 36px));overflow:auto;border:1px solid var(--line);border-radius:16px;background:var(--panel);box-shadow:0 24px 70px rgba(0,0,0,.38);display:grid;grid-template-rows:auto minmax(0,1fr) auto}.room-runtime-dialog header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px;border-bottom:1px solid var(--line)}.room-runtime-dialog header span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.room-runtime-dialog h3{margin:4px 0 0;font-size:20px}.room-runtime-dialog-body{display:grid;gap:14px;padding:16px}.room-runtime-dialog-body p{margin:0;line-height:1.5}.room-runtime-dialog-field{display:grid;gap:6px}.room-runtime-dialog-field span{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.room-runtime-dialog-field select{width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text)}.room-runtime-dialog-context{display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px 12px;padding:12px;border-radius:10px;background:var(--bg)}.room-runtime-dialog-context span{color:var(--muted);font-size:11px;text-transform:uppercase}.room-runtime-dialog-context strong{overflow-wrap:anywhere}.room-runtime-dialog footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 16px;border-top:1px solid var(--line)}body.room-runtime-action-open{overflow:hidden}@media(max-width:1180px){.room-runtime-workspace{grid-template-columns:minmax(280px,40%) minmax(0,60%)}.room-runtime-actions-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.room-runtime-head{display:grid}.room-runtime-tools{display:grid;grid-template-columns:1fr auto}.room-runtime-tools label,.room-runtime-tools select{width:100%;min-width:0;max-width:none}.room-runtime-workspace{display:block;height:calc(100dvh - 190px);min-height:520px}.room-runtime-orders-panel,.room-runtime-detail-panel{width:100%;height:100%;border:0}.room-runtime-workspace[data-mobile-pane="orders"] .room-runtime-detail-panel{display:none}.room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-orders-panel{display:none}.room-runtime-mobile-back{display:inline-flex}.room-runtime-selection{grid-template-columns:auto minmax(0,1fr) auto}.room-runtime-selection-empty .room-runtime-mobile-back{display:none}.room-runtime-actions-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.room-runtime-inline-os-toolbar>div{display:grid;gap:1px}.room-runtime-inline-os-toolbar small{display:block}.room-runtime-pagination{justify-content:space-between}.room-runtime-pagination .btn{min-width:88px}}@media(max-width:430px){.room-runtime-tools{grid-template-columns:1fr}.room-runtime-tools .btn{width:100%}.room-runtime-workspace{height:calc(100dvh - 170px);min-height:500px}.room-runtime-order-head{grid-template-columns:44px minmax(0,1fr) auto}.room-runtime-order-head>img{width:44px;height:44px}.room-runtime-actions-grid{grid-template-columns:1fr 1fr}.room-runtime-selection{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"back status" "copy copy"}.room-runtime-selection .room-runtime-mobile-back{grid-area:back}.room-runtime-selection-copy{grid-area:copy}.room-runtime-selection>.room-runtime-status{grid-area:status;justify-self:end}.room-runtime-inline-os-toolbar{align-items:flex-start}.room-runtime-inline-os-toolbar .btn{min-height:42px}.room-runtime-item{grid-template-columns:1fr}.room-runtime-item small{white-space:normal}}

/* SALA-MODELO 005E-C — viewport operacional sem rolagem global. */
body:has(.room-runtime){overflow:hidden!important;overscroll-behavior:none;max-width:100vw}
body:has(.room-runtime) #content{min-width:0;min-height:0;overflow:hidden!important}
.room-runtime{height:min(900px,calc(100dvh - 108px));max-width:100%;min-height:0;overflow:hidden;grid-template-rows:auto auto auto minmax(0,1fr) auto}
.room-runtime-head,.room-runtime-meta,.room-runtime-filters,.room-runtime-pagination{min-width:0;max-width:100%;overflow:hidden}
.room-runtime-filters{flex-wrap:wrap;overflow:hidden;padding-bottom:0}
.room-runtime-content{min-width:0;min-height:0;overflow:hidden}
.room-runtime-workspace{height:100%;min-height:0;max-width:100%;overflow:hidden}
.room-runtime-orders-panel{overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scrollbar-gutter:stable}
.room-runtime-detail-panel,.room-runtime-inline-os-slot,.room-runtime-inline-os-body,.room-runtime-inline-os-frame{overflow:hidden!important;min-width:0;min-height:0;max-width:100%}
.room-runtime-item{grid-template-columns:46px minmax(0,1fr) auto;min-height:58px;padding:6px 8px;overflow:hidden}
.room-runtime-item-thumb{width:46px;height:46px;border:1px solid var(--line);border-radius:8px;background:var(--panel);display:grid;place-items:center;overflow:hidden;flex:none}
.room-runtime-item-thumb img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.room-runtime-item-thumb.is-placeholder{color:var(--muted);background:color-mix(in srgb,var(--panel) 88%,var(--bg) 12%);align-content:center;gap:0;text-align:center}
.room-runtime-item-thumb.is-placeholder b{font-size:9px;line-height:1;letter-spacing:.08em}.room-runtime-item-thumb.is-placeholder small{font-size:7px;line-height:1.2;white-space:normal}
.room-runtime-item-copy{display:grid!important;gap:2px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:normal!important}
.room-runtime-item-copy b{font-size:12px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-runtime-item-copy small{font-size:10px;color:var(--muted)}
.room-runtime-item-status{justify-self:end;text-align:right;max-width:92px;white-space:normal!important;line-height:1.15}
.room-runtime-dialog-backdrop,.room-runtime-dialog{overflow:hidden!important}
.room-runtime-dialog-body{min-height:0;overflow:hidden}
@media(max-width:760px){body:has(.room-runtime){overflow:hidden!important}.room-runtime{height:calc(100dvh - 72px);gap:8px}.room-runtime-workspace{height:100%;min-height:0}.room-runtime-item{grid-template-columns:46px minmax(0,1fr)}.room-runtime-item-status{grid-column:2;justify-self:start;max-width:none;text-align:left}.room-runtime-pagination{min-height:40px}}
@media(max-width:430px){.room-runtime{height:calc(100dvh - 64px)}.room-runtime-workspace{height:100%;min-height:0}.room-runtime-item{grid-template-columns:42px minmax(0,1fr)}.room-runtime-item-thumb{width:42px;height:42px}}

/* SALA-MODELO 005E-D — prioridade visual da OS oficial. */
.room-runtime{gap:7px;height:min(940px,calc(100dvh - 86px));grid-template-rows:auto auto auto minmax(0,1fr)}
.room-runtime-workspace{grid-template-columns:clamp(280px,21vw,340px) minmax(0,1fr)}
.room-runtime-head{align-items:center;gap:10px}
.room-runtime-title h2{margin:1px 0 2px;font-size:clamp(20px,2vw,28px);line-height:1.05}
.room-runtime-title p{max-width:560px;font-size:11px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.room-runtime-tools{gap:6px;align-items:end}
.room-runtime-tools label{gap:2px;font-size:10px}
.room-runtime-tools select{min-width:180px;max-width:260px;padding:7px 9px;border-radius:8px}
.room-runtime-tools .btn{min-height:34px;padding:6px 10px}
.room-runtime-meta{gap:5px;font-size:11px;line-height:1}
.room-runtime-meta strong,.room-runtime-meta b{font-size:14px;line-height:1}
.room-runtime-filters{gap:5px}
.room-runtime-filter{min-height:30px;padding:5px 9px;font-size:11px}
.room-runtime-orders-head{gap:1px;padding:9px 10px}
.room-runtime-orders-head strong{font-size:14px}
.room-runtime-orders-head small{font-size:10px;line-height:1.2}
.room-runtime-orders-list{gap:8px;padding:8px}
.room-runtime-order{gap:6px;padding:8px;border-radius:11px}
.room-runtime-order-head{grid-template-columns:46px minmax(0,1fr) auto;gap:7px}
.room-runtime-order-head>img{width:46px;height:46px;border-radius:8px}
.room-runtime-order-copy>strong{font-size:13px}
.room-runtime-order-copy>small,.room-runtime-order-copy>em{font-size:10px}
.room-runtime-order-count{min-width:26px;height:26px;font-size:11px}
.room-runtime-items-toggle{min-height:32px;padding:5px 8px}
.room-runtime-items{gap:4px;padding-left:5px}
.room-runtime-item{grid-template-columns:42px minmax(0,1fr) auto;min-height:52px;padding:5px 6px;gap:6px}
.room-runtime-item-thumb{width:42px;height:42px}
.room-runtime-item-copy b{font-size:11px}
.room-runtime-item-copy small,.room-runtime-item-status{font-size:9px}
.room-runtime-selection{gap:7px;padding:6px 9px}
.room-runtime-selection-copy{gap:1px}
.room-runtime-selection-copy>span{font-size:9px}
.room-runtime-selection-copy strong{font-size:14px}
.room-runtime-selection-copy small{font-size:10px}
.room-runtime-status{font-size:9px;padding:4px 7px}
.room-runtime-actions-panel{gap:4px;padding:5px 9px}
.room-runtime-actions-head{align-items:center;gap:6px}
.room-runtime-actions-head>div{display:flex;align-items:baseline;gap:6px;min-width:0}
.room-runtime-actions-head span{font-size:9px}
.room-runtime-actions-head strong,.room-runtime-actions-head small{font-size:10px}
.room-runtime-actions-grid{gap:4px}
.room-runtime-action-btn{min-height:32px;padding-inline:5px;font-size:10px}
.room-runtime-actions-empty{padding:2px 0;border-radius:0;background:transparent;text-align:left;font-size:10px;line-height:1.2}
.room-runtime-action-message{padding:4px 7px;font-size:10px}
.room-runtime-inline-os-toolbar{gap:7px;padding:4px 7px}
.room-runtime-inline-os-toolbar>div{gap:6px}
.room-runtime-inline-os-toolbar span{font-size:9px}
.room-runtime-inline-os-toolbar strong{font-size:12px}
.room-runtime-inline-os-toolbar small{font-size:10px}
.room-runtime-inline-os-toolbar .btn{min-height:30px;padding:4px 8px;font-size:10px}
[data-room-pagination-slot]{display:none!important}
@media(min-width:761px) and (max-width:1180px){.room-runtime-workspace{grid-template-columns:clamp(280px,30vw,320px) minmax(0,1fr)}}
@media(max-width:900px) and (max-height:520px){.room-runtime{height:calc(100dvh - 46px);gap:5px}.room-runtime-title>span,.room-runtime-title p{display:none}.room-runtime-title h2{font-size:18px}.room-runtime-meta{font-size:10px}.room-runtime-filter{min-height:26px;padding:3px 7px;font-size:10px}.room-runtime-workspace{display:block;height:100%;min-height:0}.room-runtime-orders-panel,.room-runtime-detail-panel{width:100%;height:100%;border:0}.room-runtime-workspace[data-mobile-pane="orders"] .room-runtime-detail-panel{display:none}.room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-orders-panel{display:none}.room-runtime-mobile-back{display:inline-flex}.room-runtime-selection{grid-template-columns:auto minmax(0,1fr) auto}.room-runtime-actions-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.room-runtime-inline-os-toolbar>div{display:flex;gap:5px}.room-runtime-inline-os-toolbar small{display:block}}
@media(max-width:760px){.room-runtime{height:calc(100dvh - 54px);gap:5px;grid-template-rows:auto auto auto minmax(0,1fr)}.room-runtime-title p{font-size:10px}.room-runtime-meta{font-size:10px}.room-runtime-filter{min-height:28px;padding:4px 8px}.room-runtime-workspace{height:100%;min-height:0}.room-runtime-selection{padding:5px 7px}.room-runtime-actions-panel{padding:4px 7px}.room-runtime-inline-os-toolbar{padding:4px 6px}}
@media(max-width:430px){.room-runtime{height:calc(100dvh - 48px)}.room-runtime-item{grid-template-columns:42px minmax(0,1fr)}.room-runtime-item-status{grid-column:2;justify-self:start;max-width:none;text-align:left}}
/* SALA-MODELO 005E-D.R1 — baixa altura: preservar a OS como area operacional principal. */
@media(max-width:900px) and (max-height:520px){
  .room-runtime{grid-template-rows:auto minmax(0,1fr);gap:4px}
  .room-runtime>[data-room-meta-slot],.room-runtime>[data-room-filters-slot]{display:none}
  .room-runtime-head{display:flex;align-items:center;gap:6px;min-height:0}
  .room-runtime-title{flex:0 1 auto}.room-runtime-title h2{font-size:16px;margin:0;line-height:1.1}
  .room-runtime-tools{margin-left:auto;display:flex;align-items:center;gap:4px;flex-wrap:nowrap}
  .room-runtime-tools label{display:flex;align-items:center;gap:4px;font-size:9px;white-space:nowrap}
  .room-runtime-tools select{width:auto;min-width:170px;max-width:210px;min-height:28px;padding:3px 7px;border-radius:7px;font-size:11px}
  .room-runtime-tools>.btn{min-height:28px;padding:3px 8px;font-size:10px}
  .room-runtime-content,.room-runtime-workspace{height:100%;min-height:0}
  .room-runtime-selection{padding:3px 7px;gap:6px;min-height:32px}
  .room-runtime-selection-copy>span,.room-runtime-selection-copy>small{display:none}
  .room-runtime-selection-copy strong{font-size:11px;line-height:1.1}
  .room-runtime-mobile-back{min-height:26px;padding:2px 6px;font-size:9px}
  .room-runtime-status{font-size:8px;padding:2px 5px}
  .room-runtime-actions-panel{padding:3px 7px;gap:3px}
  .room-runtime-actions-head span,.room-runtime-actions-head small{display:none}
  .room-runtime-actions-head strong{font-size:9px;line-height:1.1}
  .room-runtime-actions-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px}
  .room-runtime-action-btn{min-height:26px;padding:2px 3px;font-size:8px;line-height:1.05}
  .room-runtime-actions-empty{padding:3px;font-size:9px}
  .room-runtime-inline-os-toolbar{min-height:28px;padding:2px 6px;gap:5px}
  .room-runtime-inline-os-toolbar>div{display:flex;align-items:center;gap:5px;min-width:0}
  .room-runtime-inline-os-toolbar span{display:none}
  .room-runtime-inline-os-toolbar strong{font-size:10px}
  .room-runtime-inline-os-toolbar small{font-size:9px}
  .room-runtime-inline-os-toolbar>.btn{min-height:26px;padding:2px 7px;font-size:9px}
  .room-runtime-detail-panel{grid-template-rows:auto auto minmax(0,1fr)}
  .room-runtime-inline-os-slot,.room-runtime-inline-os-body,.room-runtime-inline-os-frame{min-height:0;height:100%}
}

/* SALA-MODELO 005E-D.R2 — no detail landscape, remover chrome secundario e devolver altura a OS. */
@media(max-width:900px) and (max-height:520px){
  .room-runtime:has(.room-runtime-workspace[data-mobile-pane="detail"]){grid-template-rows:minmax(0,1fr)}
  .room-runtime:has(.room-runtime-workspace[data-mobile-pane="detail"]) .room-runtime-head{display:none}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar{display:none}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-actions-head{display:none}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-selection{min-height:26px;padding-block:2px}
}

/* SALA-MODELO 005E-D.R3 — remover o wrapper vazio que ocupava a trilha flexivel do grid. */
@media(max-width:900px) and (max-height:520px){
  .room-runtime:has(.room-runtime-workspace[data-mobile-pane="detail"])>[data-room-head-slot]{display:none}
}

/* SALA-MODELO 005E-D.R4 — toolbar oculta nao pode reservar uma trilha vazia na OS. */
@media(max-width:900px) and (max-height:520px){
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-slot{grid-template-rows:minmax(0,1fr)}
}

/* SALA-MODELO 005E-D.R5 — compactacao vertical do topo desktop; a OS recebe a altura recuperada sem alterar o FIT. */
@media(min-width:901px){
  .room-runtime{gap:4px;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr)}
  .room-runtime>[data-room-head-slot]{grid-column:1/-1;min-width:0}
  .room-runtime>[data-room-meta-slot]{grid-column:1;grid-row:2;align-self:center;min-width:0}
  .room-runtime>[data-room-filters-slot]{grid-column:2;grid-row:2;align-self:center;min-width:0}
  .room-runtime>.room-runtime-content{grid-column:1/-1;grid-row:3;min-width:0;min-height:0}
  .room-runtime-head{align-items:center;gap:8px;min-height:0}
  .room-runtime-title{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"eyebrow title" "description description";column-gap:6px;row-gap:1px;align-items:baseline;min-width:0}
  .room-runtime-title>span{grid-area:eyebrow;font-size:8px;line-height:1}
  .room-runtime-title h2{grid-area:title;margin:0;font-size:clamp(18px,1.5vw,22px);line-height:1}
  .room-runtime-title p{grid-area:description;max-width:620px;font-size:9px;line-height:1.05}
  .room-runtime-tools{margin-left:auto;align-items:center;gap:4px;flex-wrap:nowrap}
  .room-runtime-tools label{display:flex;align-items:center;gap:4px;font-size:9px;line-height:1;white-space:nowrap}
  .room-runtime-tools select{width:auto;min-width:170px;max-width:230px;min-height:28px;padding:3px 7px;border-radius:7px;font-size:11px;line-height:1.1}
  .room-runtime-tools .btn{min-height:28px;padding:3px 8px;font-size:10px;line-height:1.1}
  .room-runtime-meta{gap:4px;flex-wrap:nowrap;font-size:9px;line-height:1;white-space:nowrap}
  .room-runtime-meta strong,.room-runtime-meta b{font-size:12px;line-height:1}
  .room-runtime-filters{gap:4px;flex-wrap:nowrap;overflow:hidden;padding:0}
  .room-runtime-filter{min-height:26px;padding:3px 7px;font-size:10px;line-height:1}
  .room-runtime-selection{gap:6px;min-height:28px;padding:3px 7px}
  .room-runtime-selection-copy{display:flex;align-items:baseline;gap:6px;min-width:0;overflow:hidden}
  .room-runtime-selection-copy>span{flex:none;font-size:8px;line-height:1}
  .room-runtime-selection-copy strong{flex:0 1 42%;min-width:0;font-size:12px;line-height:1.05}
  .room-runtime-selection-copy small{flex:1 1 auto;min-width:0;font-size:9px;line-height:1.05}
  .room-runtime-status{font-size:8px;line-height:1;padding:3px 6px}
  .room-runtime-actions-panel{grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:6px;row-gap:3px;padding:3px 7px}
  .room-runtime-actions-head{justify-content:flex-start;align-items:center;gap:4px;min-width:0}
  .room-runtime-actions-head>div{display:flex;align-items:baseline;gap:5px;white-space:nowrap}
  .room-runtime-actions-head span{font-size:8px;line-height:1}
  .room-runtime-actions-head strong,.room-runtime-actions-head small{font-size:9px;line-height:1}
  .room-runtime-actions-grid{grid-column:2;gap:3px;min-width:0}
  .room-runtime-action-btn{min-height:30px;padding:3px 5px;font-size:9px;line-height:1.05}
  .room-runtime-actions-empty{grid-column:2;padding:2px 0;font-size:9px;line-height:1.05}
  .room-runtime-action-message{grid-column:1/-1;padding:3px 6px;font-size:9px;line-height:1.1}
  .room-runtime-inline-os-toolbar{min-height:28px;gap:5px;padding:2px 6px}
  .room-runtime-inline-os-toolbar>div{gap:5px}
  .room-runtime-inline-os-toolbar span{font-size:8px;line-height:1}
  .room-runtime-inline-os-toolbar strong{font-size:10px;line-height:1}
  .room-runtime-inline-os-toolbar small{font-size:9px;line-height:1}
  .room-runtime-inline-os-toolbar .btn{min-height:26px;padding:2px 7px;font-size:9px;line-height:1}
}


/* SALA-MODELO 005E-D.R6 — interface operacional profissional; densidade por organizacao, nao por letra pequena. */
@media(min-width:901px){
  .room-runtime{gap:4px;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr)}
  .room-runtime>[data-room-head-slot]{grid-column:1/-1;min-width:0}
  .room-runtime>[data-room-meta-slot]{grid-column:1;grid-row:2;align-self:center;min-width:0}
  .room-runtime>[data-room-filters-slot]{grid-column:2;grid-row:2;align-self:center;min-width:0}
  .room-runtime>.room-runtime-content{grid-column:1/-1;grid-row:3;min-width:0;min-height:0}
  .room-runtime-head{align-items:center;gap:10px;min-height:38px}
  .room-runtime-title{display:flex;align-items:baseline;gap:7px;min-width:0;overflow:hidden}
  .room-runtime-title>span{flex:none;font-size:12px;line-height:1;letter-spacing:.06em}
  .room-runtime-title h2{flex:none;margin:0;font-size:21px;line-height:1.05}
  .room-runtime-title p{flex:1 1 auto;min-width:0;max-width:360px;font-size:13px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .room-runtime-tools{margin-left:auto;align-items:center;gap:5px;flex-wrap:nowrap}
  .room-runtime-tools label{display:flex;align-items:center;gap:5px;font-size:13px;line-height:1;white-space:nowrap}
  .room-runtime-tools select{width:auto;min-width:180px;max-width:240px;min-height:36px;padding:5px 8px;border-radius:8px;font-size:15px;line-height:1.1}
  .room-runtime-tools .btn{min-height:36px;padding:5px 10px;font-size:15px;line-height:1;white-space:nowrap}
  .room-runtime-meta{gap:5px;flex-wrap:nowrap;font-size:15px;line-height:1;white-space:nowrap}
  .room-runtime-meta strong,.room-runtime-meta b{font-size:15px;line-height:1;font-weight:800}
  .room-runtime-filters{gap:4px;flex-wrap:nowrap;overflow:hidden;padding:0}
  .room-runtime-filter{flex:0 0 auto;min-height:34px;padding:4px 8px;font-size:15px;line-height:1;white-space:nowrap}
  .room-runtime-orders-head{gap:2px;padding:8px 10px}
  .room-runtime-orders-head>span{font-size:12px;line-height:1}
  .room-runtime-orders-head strong{font-size:15px;line-height:1.1}
  .room-runtime-orders-head small{font-size:13px;line-height:1.15}
  .room-runtime-orders-list{gap:7px;padding:7px}
  .room-runtime-order{gap:5px;padding:7px}
  .room-runtime-order-copy>span{font-size:12px;line-height:1}
  .room-runtime-order-copy>strong{font-size:15px;line-height:1.1}
  .room-runtime-order-copy>small{font-size:15px;line-height:1.1}
  .room-runtime-order-copy>em{font-size:13px;line-height:1.1}
  .room-runtime-order-count{font-size:14px}
  .room-runtime-items-toggle{min-height:34px;padding:4px 8px}
  .room-runtime-items-toggle span{font-size:15px}
  .room-runtime-items-toggle b{font-size:14px}
  .room-runtime-item{grid-template-columns:46px minmax(0,1fr) auto;min-height:56px;padding:5px 6px;gap:6px}
  .room-runtime-item-thumb{width:46px;height:46px}
  .room-runtime-item-thumb.is-placeholder b,.room-runtime-item-thumb.is-placeholder small{font-size:12px;line-height:.95;letter-spacing:0}
  .room-runtime-item-copy b{font-size:15px;line-height:1.1}
  .room-runtime-item-copy small{font-size:15px;line-height:1.1}
  .room-runtime-item-status{font-size:14px;line-height:1.1;max-width:105px}
  .room-runtime-selection{display:flex;align-items:center;gap:7px;min-height:36px;padding:3px 8px}
  .room-runtime-selection-copy{display:flex;align-items:baseline;gap:6px;min-width:0;overflow:hidden;flex:1 1 auto}
  .room-runtime-selection-copy>span{flex:none;font-size:12px;line-height:1}
  .room-runtime-selection-copy strong{flex:0 1 auto;min-width:0;font-size:16px;line-height:1.05}
  .room-runtime-selection-copy small{flex:1 1 auto;min-width:0;font-size:15px;line-height:1.05}
  .room-runtime-status{flex:none;font-size:14px;line-height:1;padding:4px 7px}
  .room-runtime-actions-panel{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-height:38px;padding:3px 8px}
  .room-runtime-actions-head{flex:0 0 auto;justify-content:flex-start;align-items:center;gap:4px;min-width:0}
  .room-runtime-actions-head>div{display:flex;align-items:baseline;gap:5px;white-space:nowrap}
  .room-runtime-actions-head span{font-size:12px;line-height:1}
  .room-runtime-actions-head strong,.room-runtime-actions-head small{font-size:14px;line-height:1}
  .room-runtime-actions-grid{display:flex;flex:0 1 auto;align-items:center;flex-wrap:wrap;gap:4px;min-width:0}
  .room-runtime-action-btn{flex:0 0 auto;width:auto;min-width:max-content;min-height:36px;padding:4px 11px;font-size:15px;line-height:1;white-space:nowrap}
  .room-runtime-actions-empty{flex:0 1 auto;padding:2px 0;font-size:14px;line-height:1.1;text-align:left}
  .room-runtime-action-message{flex:1 0 100%;padding:4px 7px;font-size:14px;line-height:1.1}
  .room-runtime-inline-os-toolbar{min-height:34px;gap:6px;padding:2px 7px}
  .room-runtime-inline-os-toolbar>div{display:flex;align-items:baseline;gap:6px;min-width:0}
  .room-runtime-inline-os-toolbar span{font-size:12px;line-height:1}
  .room-runtime-inline-os-toolbar strong{font-size:15px;line-height:1}
  .room-runtime-inline-os-toolbar small{font-size:14px;line-height:1}
  .room-runtime-inline-os-toolbar .btn{min-height:32px;padding:3px 9px;font-size:15px;line-height:1;white-space:nowrap}
}
@media(max-width:900px){
  .room-runtime-order-copy>strong,.room-runtime-order-copy>small{font-size:15px}
  .room-runtime-order-copy>em{font-size:13px}
  .room-runtime-items-toggle span{font-size:15px}
  .room-runtime-item-copy b,.room-runtime-item-copy small{font-size:15px}
  .room-runtime-item-status{font-size:14px}
  .room-runtime-item-thumb.is-placeholder b,.room-runtime-item-thumb.is-placeholder small{font-size:12px;line-height:.95;letter-spacing:0}
  .room-runtime-filter{font-size:15px}
  .room-runtime:has(.room-runtime-workspace[data-mobile-pane="detail"]){grid-template-rows:minmax(0,1fr);gap:0}
  .room-runtime:has(.room-runtime-workspace[data-mobile-pane="detail"])>[data-room-head-slot],.room-runtime:has(.room-runtime-workspace[data-mobile-pane="detail"])>[data-room-meta-slot],.room-runtime:has(.room-runtime-workspace[data-mobile-pane="detail"])>[data-room-filters-slot]{display:none!important}
  .room-runtime-workspace[data-mobile-pane="detail"]{height:100%;min-height:0}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-selection{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;min-height:44px;padding:4px 7px}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-mobile-back{display:inline-flex;align-items:center;min-height:44px;padding:5px 9px;font-size:15px;line-height:1;white-space:nowrap}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-selection-copy{display:flex;align-items:baseline;gap:5px;min-width:0;overflow:hidden}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-selection-copy>span{font-size:12px;line-height:1}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-selection-copy strong{font-size:15px;line-height:1.05}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-selection-copy small{font-size:14px;line-height:1.05}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-status{font-size:14px;line-height:1;padding:5px 7px}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-actions-panel{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:4px 7px}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-actions-head{flex:0 0 auto;align-items:center}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-actions-head span{font-size:12px}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-actions-head strong,.room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-actions-head small{font-size:14px}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-actions-grid{display:flex;flex:1 1 auto;align-items:center;flex-wrap:wrap;gap:4px}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-action-btn{flex:0 0 auto;width:auto;min-width:max-content;min-height:44px;padding:5px 11px;font-size:15px;line-height:1;white-space:nowrap}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-actions-empty{font-size:14px}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar{min-height:44px;padding:3px 6px;gap:5px}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar>div{display:flex;align-items:baseline;gap:5px;min-width:0}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar span{font-size:12px}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar strong{font-size:15px}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar small{font-size:14px}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar .btn{min-height:44px;padding:5px 10px;font-size:15px}
}
@media(max-width:900px) and (max-height:520px){
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-selection{min-height:44px;padding-block:3px}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-selection-copy>span,.room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-selection-copy small{display:none}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-selection-copy strong{font-size:15px}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-mobile-back{min-height:44px;font-size:15px}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-status{font-size:14px}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-actions-panel{min-height:48px;padding:2px 6px}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-actions-grid{display:flex;flex-wrap:nowrap;gap:4px}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-action-btn{min-height:44px;font-size:15px;padding-inline:9px}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar{display:none}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-slot{grid-template-rows:minmax(0,1fr)}
}


/* SALA-MODELO 005E-D.R6.1 — computed typography hardening against global control rules. */
@media(min-width:901px){
  .room-runtime-tools select,
  .room-runtime-tools .btn,
  .room-runtime-selection-copy small,
  .room-runtime-action-btn,
  .room-runtime-inline-os-toolbar .btn{font-size:15px!important}
  .room-runtime-inline-os-toolbar small{font-size:14px!important}
  .room-runtime-action-btn{height:36px;min-height:36px!important;padding:0 11px!important;line-height:1!important}
  .room-runtime-actions-panel{min-height:40px;padding:2px 8px}
  .room-runtime-inline-os-toolbar{min-height:34px;padding:0 7px}
  .room-runtime-inline-os-toolbar .btn{height:34px;min-height:34px!important;padding:0 9px!important;line-height:1!important}
}
@media(max-width:900px){
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-mobile-back,
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-action-btn,
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar .btn{font-size:15px!important;min-height:44px!important}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-selection-copy strong{font-size:15px!important}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-selection-copy small,
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-status{font-size:14px!important}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar small{font-size:14px!important}
}


/* SALA-MODELO 005E-D.R6.2 — queue operational typography hardening. */
@media(min-width:901px){
  .room-runtime-order-copy>strong,
  .room-runtime-order-copy>small,
  .room-runtime-items-toggle span,
  .room-runtime-item-copy b,
  .room-runtime-item-copy small{font-size:15px!important}
  .room-runtime-item-status{font-size:14px!important}
}
@media(max-width:900px){
  .room-runtime-order-copy>strong,
  .room-runtime-order-copy>small,
  .room-runtime-items-toggle span,
  .room-runtime-item-copy b,
  .room-runtime-item-copy small{font-size:15px!important}
  .room-runtime-item-status{font-size:14px!important}
}


/* SALA-MODELO 005E-D.R6.3 — official action labels never wrap. */
.room-runtime-action-btn{white-space:nowrap!important}


/* SALA-MODELO 005E-D.R6.4 — mobile OS toolbar stays readable without oversized print control. */
@media(max-width:900px){
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    min-height:44px;
    gap:6px;
    padding:3px 6px;
  }
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar>div{
    display:flex!important;
    align-items:baseline;
    flex-wrap:nowrap!important;
    gap:5px;
    min-width:0;
    overflow:hidden;
    white-space:nowrap;
  }
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar span{
    flex:0 0 auto;
    min-width:max-content;
    white-space:nowrap!important;
    word-break:normal!important;
  }
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar strong{
    flex:1 1 auto;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap!important;
  }
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar small{
    flex:0 0 auto;
    min-width:max-content;
    white-space:nowrap!important;
  }
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar .btn{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:max-content!important;
    max-width:none!important;
    padding-inline:12px!important;
    white-space:nowrap!important;
  }
}
@media(max-width:900px) and (max-height:520px){
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar{display:none}
}

/* R2 RECOVERY 004 — autoridade operacional explícita sem habilitar mutações legadas. */
.room-runtime-authority-summary{color:var(--muted);font-size:11px}
.room-runtime-authority-summary b{font-size:inherit;color:var(--text)}
.room-runtime-item-status{display:grid;gap:3px}
.room-runtime-item-status b{color:#f6c453;font-size:9px;letter-spacing:.04em}
.room-runtime-actions-panel.is-legacy-read-only{border-bottom-color:color-mix(in srgb,#f59e0b 55%,var(--line))}
.room-runtime-actions-panel.is-legacy-read-only .room-runtime-actions-empty{color:#f6c453}
.room-runtime-action-rules{font-size:10px;line-height:1.25;color:var(--muted)}
@media(min-width:901px){.room-runtime-action-rules{grid-column:1/-1}}
@media(max-width:760px){.room-runtime-authority-summary{flex-basis:100%}.room-runtime-action-rules{font-size:11px}}


/* SALA-MODELO 005E-D.R6.5 — mobile OS identity uses two readable lines. */
@media(max-width:900px) and (min-height:521px){
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar{
    min-height:52px;
  }
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar>div{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr);
    grid-template-areas:
      "label order"
      "meta meta";
    align-items:center;
    column-gap:5px;
    row-gap:2px;
    min-width:0;
    overflow:hidden;
    white-space:normal;
  }
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar span{
    grid-area:label;
    min-width:max-content;
  }
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar strong{
    grid-area:order;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap!important;
  }
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-inline-os-toolbar small{
    grid-area:meta;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap!important;
  }
}

/* GO-LIVE DAS SALAS 002.FRONT-RUNTIME-STABILITY-001 — desktop operacional em zoom 100%. */
@media(min-width:901px){
  .room-runtime{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto auto auto minmax(0,1fr) auto!important;
    gap:8px!important;
  }
  .room-runtime-head{grid-column:1;grid-row:1}
  .room-runtime-meta{grid-column:1;grid-row:2}
  .room-runtime-filters{
    grid-column:1;
    grid-row:3;
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:6px;
    overflow:visible;
  }
  .room-runtime-filter{
    min-height:40px!important;
    padding:8px 12px!important;
    font-size:14px!important;
    line-height:1.1!important;
  }
  .room-runtime>.room-runtime-pagination{display:none}
  .room-runtime>.room-runtime-pagination:last-child{
    display:flex;
    grid-column:1;
    grid-row:5;
    min-height:40px;
  }
  .room-runtime-workspace{
    grid-column:1;
    grid-row:4;
    grid-template-columns:minmax(300px,30%) minmax(0,70%)!important;
    width:100%;
    min-width:0;
    min-height:0;
  }
  .room-runtime-selection{
    min-height:48px;
    padding:7px 12px;
  }
  .room-runtime-actions-panel{
    display:grid!important;
    grid-template-columns:minmax(180px,auto) minmax(0,1fr);
    align-items:center;
    column-gap:12px;
    row-gap:8px;
    min-height:64px!important;
    padding:8px 12px!important;
  }
  .room-runtime-actions-head{
    align-items:center;
    min-width:0;
  }
  .room-runtime-actions-head>div{
    display:grid;
    gap:2px;
    white-space:normal;
  }
  .room-runtime-actions-head span{font-size:11px!important}
  .room-runtime-actions-head strong,.room-runtime-actions-head small{font-size:13px!important;line-height:1.2!important}
  .room-runtime-actions-grid{
    grid-column:2;
    display:flex!important;
    flex:1 1 auto;
    align-items:center;
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:8px!important;
    min-width:0;
  }
  .room-runtime-action-btn{
    flex:0 0 auto;
    width:auto;
    height:44px!important;
    min-width:112px!important;
    min-height:44px!important;
    padding:8px 14px!important;
    font-size:14px!important;
    font-weight:750;
    line-height:1.1!important;
    white-space:nowrap!important;
  }
  .room-runtime-actions-empty{grid-column:2;font-size:13px;text-align:left}
  .room-runtime-action-message{
    grid-column:1/-1;
    width:100%;
    margin-top:0;
    padding:7px 9px!important;
    font-size:13px!important;
    line-height:1.25!important;
  }
  .room-runtime-inline-os-slot{
    border-top:1px solid var(--line);
  }
  .room-runtime-inline-os-toolbar{
    min-height:40px!important;
    padding:4px 9px!important;
  }
}

@media(min-width:901px) and (max-width:1180px){
  .room-runtime-workspace{grid-template-columns:minmax(280px,34%) minmax(0,66%)!important}
  .room-runtime-actions-panel{grid-template-columns:1fr}
  .room-runtime-actions-grid,.room-runtime-actions-empty{grid-column:1}
  .room-runtime-action-message{grid-column:1}
}

/* GO-LIVE DAS SALAS 002.FRONT-RUNTIME-STABILITY-001 — controles responsivos sem compressão horizontal. */
@media(max-width:900px){
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-actions-panel{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    align-items:stretch;
    gap:6px!important;
  }
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-actions-head,
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-actions-grid,
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-action-message{
    width:100%;
    min-width:0;
  }
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-actions-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px!important;
  }
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-action-btn{
    width:100%!important;
    min-width:0!important;
    height:44px!important;
    min-height:44px!important;
    padding:7px 10px!important;
    white-space:nowrap!important;
  }
}
@media(max-width:520px){
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-actions-grid{
    grid-template-columns:minmax(0,1fr);
  }
}

/* GO-LIVE DAS SALAS 002.FRONT-RUNTIME-STABILITY-001 — foco operacional em larguras intermediárias/mobile. */
@media(max-width:900px){
  .room-runtime:has(.room-runtime-workspace[data-mobile-pane="detail"]){
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:minmax(0,1fr)!important;
    gap:0!important;
  }
  .room-runtime:has(.room-runtime-workspace[data-mobile-pane="detail"])>.room-runtime-head,
  .room-runtime:has(.room-runtime-workspace[data-mobile-pane="detail"])>.room-runtime-meta,
  .room-runtime:has(.room-runtime-workspace[data-mobile-pane="detail"])>.room-runtime-filters,
  .room-runtime:has(.room-runtime-workspace[data-mobile-pane="detail"])>.room-runtime-pagination{
    display:none!important;
  }
  .room-runtime-workspace[data-mobile-pane="detail"]{
    display:block!important;
    grid-column:1!important;
    grid-row:1!important;
    width:100%!important;
    max-width:100%!important;
    height:100%!important;
    min-width:0!important;
  }
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-orders-panel{display:none!important}
  .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-detail-panel{
    display:grid!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:100%!important;
  }
}

/* DESIGN R2 013 — canonical designer view styles moved to runtime CSS to keep first paint independent of art JS. */
.r2-art-info{display:grid;gap:10px;margin-top:10px}
    .r2-art-info h4,.r2-art-info h5{margin:0}.r2-art-info p{margin:0;white-space:pre-wrap;line-height:1.5}
    .r2-art-info>div:first-child small{color:#88a3b5;font-size:9px;letter-spacing:.04em}
    .r2-art-info-section{display:grid;gap:7px;border:1px solid #213f52;background:#0b1b26;border-radius:11px;padding:10px}
    .r2-art-info-section-head small{display:block;color:#88a3b5;font-size:9px;letter-spacing:.04em}
    .r2-art-info-section-head strong{display:block;margin-top:2px;font-size:11px}
    .r2-art-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
    .r2-art-info-grid>div,.r2-art-meta div,.r2-art-placement,.r2-art-reference{border:1px solid #213f52;border-radius:9px;padding:8px;background:#0d1d28}
    .r2-art-info-grid span,.r2-art-placement span,.r2-art-reference span{display:block;color:#88a3b5;font-size:9px}
    .r2-art-info-grid strong,.r2-art-placement strong,.r2-art-reference strong{display:block;margin-top:2px;white-space:pre-wrap;font-size:10px}
    .r2-art-info-list{display:grid;gap:7px}.r2-art-info-state{border:1px solid #213f52;border-radius:9px;padding:10px;background:#0d1d28}
    .r2-art-info-state.error{border-color:#a94d4d;color:#ffb6b6}
    .r2-art-reference a,.mediaMeta a{display:inline-block;margin-top:5px;color:#6db8ff;font-size:9px}

    /* DESIGN R2 011 — visual canônico restrito ao host da sala. Shell global intocável. */
    [data-production-room-runtime-host].r2-designer-host{
      min-width:0;background:#07111a;--designer-bg:#07111a;--designer-panel:#0b1823;--designer-panel-2:#0f1f2c;
      --designer-panel-3:#122636;--designer-line:#223d50;--designer-text:#edf5fa;--designer-muted:#88a3b5;
      --designer-green:#20d17a;--designer-blue:#3c8dff;--designer-purple:#8f5cff;--designer-orange:#ff9d35;--designer-red:#ff5964
    }
    [data-production-room-runtime-host].r2-designer-host .room-runtime.r2-designer-layout{padding:0;margin:0;background:#07111a;border-radius:0;gap:0;color:var(--designer-text)}
    [data-production-room-runtime-host].r2-designer-host .room-runtime.r2-designer-layout>.room-runtime-head,
    [data-production-room-runtime-host].r2-designer-host .room-runtime.r2-designer-layout>.room-runtime-meta,
    [data-production-room-runtime-host].r2-designer-host .room-runtime.r2-designer-layout>.room-runtime-filters,
    [data-production-room-runtime-host].r2-designer-host [data-room-detail-context]{display:none!important}
    [data-production-room-runtime-host].r2-designer-host .room-runtime-workspace{
      display:grid;grid-template-columns:330px minmax(680px,1fr) 310px!important;grid-template-rows:minmax(0,1fr)!important;gap:0;min-height:calc(100vh - 58px);padding:0;align-items:stretch;background:#07111a
    }
    [data-production-room-runtime-host].r2-designer-host .room-runtime-orders-panel,
    [data-production-room-runtime-host].r2-designer-host .room-runtime-detail-panel,
    [data-production-room-runtime-host].r2-designer-host .r2-designer-inspector{
      min-width:0;height:calc(100vh - 58px);min-height:0;border-radius:0;border:0;overflow:hidden;background:#091722
    }

    [data-production-room-runtime-host].r2-designer-host .room-runtime-orders-panel{display:flex;flex-direction:column;border-right:1px solid var(--designer-line)}
    [data-production-room-runtime-host].r2-designer-host .room-runtime-orders-head{
      display:grid;gap:10px;padding:14px;border:0;border-bottom:1px solid var(--designer-line);position:sticky;top:0;background:#091722;z-index:10
    }
    .r2-designer-queue-title{display:flex;align-items:center;gap:6px}
    .r2-designer-queue-title small{font-size:14px;color:#edf5fa;letter-spacing:0;font-weight:900}
    .r2-designer-queue-title strong{font-size:10px;background:#243845;padding:4px 7px;border-radius:7px;color:#d8e8f0;margin:0}
    .r2-designer-queue-search{width:100%;background:#0d1e29;border:1px solid var(--designer-line);border-radius:8px;padding:9px 10px;color:white;outline:none}
    .r2-designer-queue-tools{display:grid;gap:8px}
    .r2-designer-queue-tools .room-runtime-meta{display:none!important}
    .r2-designer-queue-tools .room-runtime-filters{margin:0;padding:0;border:0;background:transparent;display:flex;gap:6px;flex-wrap:wrap}
    .r2-designer-queue-tools .room-runtime-filter{font-size:10px;padding:6px 9px;border:1px solid var(--designer-line);border-radius:999px;background:#102331;color:#a9c1d0}
    .r2-designer-queue-tools .room-runtime-filter.is-active{border-color:#2b8a5e;color:#baf7d4;background:#103020}
    [data-production-room-runtime-host].r2-designer-host [data-room-orders-scroll]>.room-runtime-orders-list{padding:10px;overflow:auto;flex:1}
    [data-production-room-runtime-host].r2-designer-host .room-runtime-order{border:1px solid #24455a;background:#0d1d28;border-radius:11px;margin:0 0 9px;overflow:hidden}
    [data-production-room-runtime-host].r2-designer-host .room-runtime-order.has-selection{border-color:var(--designer-green);box-shadow:0 0 0 1px rgba(32,209,122,.12) inset}
    [data-production-room-runtime-host].r2-designer-host .room-runtime-order-head{padding:10px;background:#0d1d28;display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:start}
    [data-production-room-runtime-host].r2-designer-host .room-runtime-order-head>img{width:34px;height:34px;object-fit:cover;border-radius:7px;border:1px solid #31556a}
    [data-production-room-runtime-host].r2-designer-host .room-runtime-order-copy span{display:none}
    [data-production-room-runtime-host].r2-designer-host .room-runtime-order-copy strong{font-size:12px;font-weight:900;color:#fff}
    [data-production-room-runtime-host].r2-designer-host .room-runtime-order-copy small{display:block;color:#bdd0db;font-size:11px;margin-top:3px}
    [data-production-room-runtime-host].r2-designer-host .room-runtime-order-copy em{display:block;color:var(--designer-muted);font-size:10px;margin-top:4px;font-style:normal}
    [data-production-room-runtime-host].r2-designer-host .room-runtime-order-count{font-size:9px;font-weight:900;padding:4px 6px;border-radius:999px;border:1px solid var(--designer-line);background:#1a2933;color:#c2d0d8}
    [data-production-room-runtime-host].r2-designer-host .room-runtime-items-toggle{width:100%;border:0;border-top:1px solid #1f394a;background:#0a1822;color:#a9c1d0;padding:7px 10px}
    [data-production-room-runtime-host].r2-designer-host .room-runtime-items{border-top:1px solid #1f394a;padding:7px;background:#0a1822}
    [data-production-room-runtime-host].r2-designer-host .room-runtime-item{
      display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:8px;align-items:center;width:100%;padding:8px;border-radius:8px;margin:0 0 4px;background:#0f2230;border:1px solid #1e3a4d;color:#edf5fa;text-align:left
    }
    [data-production-room-runtime-host].r2-designer-host .room-runtime-item.is-selected{border-color:var(--designer-green);background:#10291f}
    [data-production-room-runtime-host].r2-designer-host .room-runtime-item-thumb{width:28px;height:28px;border-radius:7px}
    [data-production-room-runtime-host].r2-designer-host .room-runtime-item-copy b{font-size:10px}
    [data-production-room-runtime-host].r2-designer-host .room-runtime-item-copy small{display:block;color:var(--designer-muted);font-size:9px;margin-top:2px}
    [data-production-room-runtime-host].r2-designer-host .room-runtime-item-status{font-size:8px;color:#a9c1d0}
    [data-production-room-runtime-host].r2-designer-host .room-runtime-pagination{margin:0 10px 10px}

    [data-production-room-runtime-host].r2-designer-host .room-runtime-detail-panel{display:flex;flex-direction:column;background:linear-gradient(180deg,#08141e,#07111a);overflow:auto}
    [data-production-room-runtime-host].r2-designer-host [data-room-actions-slot]{display:flex;flex:1;min-height:0}
    [data-production-room-runtime-host].r2-designer-host [data-room-actions-slot]>.room-runtime-actions-panel{display:none!important}
    [data-production-room-runtime-host].r2-designer-host .r2-art-capabilities{margin:0;border:0;border-radius:0;background:transparent;flex:1;min-width:0;min-height:0;padding:14px;overflow:auto}
    .r2-art-capabilities .orderTop{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:11px}
    .r2-art-capabilities .orderTop h1{font-size:18px;margin:0 0 5px;color:#edf5fa}
    .r2-art-capabilities .orderTop p{margin:0;color:var(--designer-muted);font-size:11px}
    .r2-art-capabilities .topButtons{display:flex;gap:8px;flex-wrap:wrap}
    .r2-art-capabilities .btn{border:1px solid var(--designer-line);background:#102230;color:white;border-radius:8px;padding:8px 11px;font-weight:800;font-size:11px;min-height:34px}
    .r2-art-capabilities .btn.green{background:#153f2d;border-color:#2c8158;color:#caffdf}
    .r2-art-capabilities .btn.purple{background:#2e1c50;border-color:#6745a9;color:#e2d7ff}
    .r2-art-capabilities .btn.blue{background:#12345c;border-color:#356da8;color:#d5e8ff}
    .r2-art-capabilities .btn.orange{background:#472c10;border-color:#8b5a1f;color:#ffd49d}
    .r2-art-capabilities .btn.red{background:#4b1a20;border-color:#8e333c;color:#ffc7cb}
    .r2-art-capabilities .btn.gray{background:#172733}
    .r2-art-capabilities .tabs{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid var(--designer-line);padding-bottom:9px;margin-bottom:10px}
    .r2-art-capabilities .tab{border:1px solid #1e3849;background:#0d1d29;color:#a9bfcc;padding:8px 10px;border-radius:8px;font-size:10px;font-weight:900}
    .r2-art-capabilities .tab.active{background:#123b6a;border-color:#2d6eb1;color:white}
    .r2-art-capabilities .panelCard{border:1px solid #213f52;background:#0b1b26;border-radius:11px;margin-bottom:10px;overflow:hidden}
    .r2-art-capabilities .cardHead{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 11px;border-bottom:1px solid #1e394a}
    .r2-art-capabilities .cardHead h3{font-size:11px;margin:0}
    .r2-art-capabilities .cardBody{padding:11px}
    .r2-art-capabilities .twoCols{display:grid;grid-template-columns:1.2fr .8fr;gap:10px}
    .r2-art-capabilities .infoGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px 22px}
    .r2-art-capabilities .label{font-size:9px;color:var(--designer-muted);text-transform:uppercase;letter-spacing:.04em}
    .r2-art-capabilities .value{font-size:11px;color:white;margin-top:2px;white-space:pre-wrap;overflow-wrap:anywhere}
    .r2-art-capabilities .completeness{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start}
    .r2-art-capabilities .circle{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;position:relative;background:conic-gradient(var(--designer-green) 0 var(--designer-score,0%),#173240 var(--designer-score,0%) 100%)}
    .r2-art-capabilities .circle:after{content:"";position:absolute;width:49px;height:49px;border-radius:50%;background:#0b1b26}
    .r2-art-capabilities .circle span{z-index:1;font-weight:900;font-size:12px}
    .r2-art-capabilities .checklist{display:grid;gap:7px}
    .r2-art-capabilities .check{display:flex;justify-content:space-between;font-size:10px;border-bottom:1px solid #183241;padding-bottom:5px}
    .r2-art-capabilities .check .ok{color:#65e49d}.r2-art-capabilities .check .warn{color:#ffbd63}
    .r2-art-capabilities .itemsStack{display:grid;gap:8px}
    .r2-art-capabilities .itemCard{border:1px solid #244358;background:#0d1e29;border-radius:9px;overflow:hidden}
    .r2-art-capabilities .itemCardHead{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;padding:9px 10px}
    .r2-art-capabilities .dot{width:8px;height:8px;border-radius:50%;background:var(--designer-green)}
    .r2-art-capabilities .itemCardBody{padding:9px 10px;border-top:1px solid #203a4c;background:#0a1923}
    .r2-art-capabilities .itemSpecs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
    .r2-art-capabilities .status{align-self:start;font-size:9px;font-weight:900;padding:4px 6px;border-radius:999px;border:1px solid var(--designer-line)}
    .r2-art-capabilities .status.green{color:#baf5d2;background:#103021;border-color:#256a4a}
    .r2-art-capabilities .status.orange{color:#ffd092;background:#3a2711;border-color:#745220}
    .r2-art-capabilities .status.blue{color:#b6d7ff;background:#102a48;border-color:#315f94}
    .r2-art-capabilities .status.gray{color:#c2d0d8;background:#1a2933}
    .r2-art-capabilities .galleryWrap{display:grid;grid-template-columns:1.2fr .8fr;gap:10px}
    .r2-art-capabilities .gallery{display:grid;grid-template-columns:repeat(6,minmax(110px,1fr));gap:7px;overflow:auto}
    .r2-art-capabilities .gallery.mock{grid-template-columns:repeat(3,minmax(140px,1fr))}
    .r2-art-capabilities .mediaCard{border:1px solid #274559;background:#0c1d28;border-radius:8px;overflow:hidden;min-width:0}
    .r2-art-capabilities .mediaThumb{height:120px;background:#10222f;display:grid;place-items:center;overflow:hidden;position:relative}
    .r2-art-capabilities .mediaThumb img{width:100%;height:100%;object-fit:cover}
    .r2-art-capabilities .mediaPlaceholder{font-size:28px;color:#5f8094}
    .r2-art-capabilities .mediaMeta{padding:7px;font-size:9px}
    .r2-art-capabilities .mediaMeta strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .r2-art-capabilities .mediaMeta span{display:block;color:var(--designer-muted);font-size:8px;margin-top:2px}
    .r2-art-capabilities .table{width:100%;border-collapse:collapse;font-size:10px}
    .r2-art-capabilities .table th,.r2-art-capabilities .table td{padding:8px;border-bottom:1px solid #203a4b;text-align:left;vertical-align:top}
    .r2-art-capabilities .table th{color:#8fa8b7;font-weight:700}
    .r2-art-capabilities .notice{padding:8px 9px;border:1px solid #6d4c1f;background:#332510;color:#ffd58e;border-radius:8px;font-size:9px}
    .r2-art-capabilities .notice.ok{border-color:#2d7a58;background:#0f2c20;color:#d7ffe8}
    .r2-art-capabilities .timeline{border-left:1px solid #2b4d61;margin-left:7px;padding-left:13px}
    .r2-art-capabilities .event{position:relative;padding:0 0 13px;font-size:10px}
    .r2-art-capabilities .event:before{content:"";position:absolute;left:-18px;top:4px;width:8px;height:8px;border-radius:50%;background:#3a6b85}
    .r2-art-capabilities .event strong{display:block}.r2-art-capabilities .event span{color:var(--designer-muted)}
    .r2-art-capabilities .empty{color:var(--designer-muted);font-style:italic;font-size:10px}
    .r2-art-capabilities .officialActionHost{margin:0}
    .r2-art-capabilities .officialActionHost>.room-runtime-actions-panel{display:block!important;margin:0;border:0;background:transparent;padding:0}
    .r2-art-capabilities .officialActionHost .room-runtime-actions-head{display:none}
    .r2-art-capabilities .officialActionHost .room-runtime-actions{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:8px}
    .r2-art-capabilities .officialActionHost .room-runtime-action-btn{min-height:38px;font-weight:900;font-size:10px;border-radius:8px}
    .r2-art-capabilities .officialActionHost .room-runtime-action-btn[data-room-action="start"],
    .r2-art-capabilities .officialActionHost .room-runtime-action-btn[data-room-action="complete"]{background:#153f2d;border-color:#2c8158;color:#caffdf}
    .r2-art-capabilities .officialActionHost .room-runtime-action-btn[data-room-action="send"]{background:#2e1c50;border-color:#6745a9;color:#e2d7ff}
    .r2-art-capabilities .officialActionHost .room-runtime-action-btn[data-room-action="pause"],
    .r2-art-capabilities .officialActionHost .room-runtime-action-btn[data-room-action="resume"]{background:#172733;border-color:#345064;color:#eef7fb}
    [data-production-room-runtime-host].r2-designer-host .room-runtime-inline-os-slot{display:none;margin:0 14px 14px}
    [data-production-room-runtime-host].r2-designer-host .room-runtime.r2-designer-layout[data-designer-tab="os"] .room-runtime-inline-os-slot{display:grid;flex:1 1 auto;min-height:620px;height:min(860px,calc(100vh - 160px));overflow:hidden}
    [data-production-room-runtime-host].r2-designer-host .room-runtime.r2-designer-layout[data-designer-tab="os"] [data-room-actions-slot]{flex:0 0 auto;min-height:auto}
    [data-production-room-runtime-host].r2-designer-host .room-runtime.r2-designer-layout[data-designer-tab="os"] .r2-art-capabilities{flex:0 0 auto;overflow:visible;padding-bottom:8px}
    [data-production-room-runtime-host].r2-designer-host .room-runtime.r2-designer-layout[data-designer-tab="os"] .room-runtime-inline-os-body{overflow:auto!important}

    [data-production-room-runtime-host].r2-designer-host .r2-designer-inspector{display:flex;flex-direction:column;border-left:1px solid var(--designer-line);background:#091722}
    .r2-designer-inspector-head{padding:14px;border-bottom:1px solid var(--designer-line);background:#091722}
    .r2-designer-inspector-head strong{font-size:14px;color:#edf5fa}
    .r2-designer-inspector-body{padding:10px;overflow:auto;display:block}
    .r2-designer-inspector .sideCard{border:1px solid #213e50;background:#0d1d28;border-radius:9px;margin-bottom:9px;overflow:hidden}
    .r2-designer-inspector .sideCard h4{margin:0;padding:9px 10px;border-bottom:1px solid #203948;font-size:10px}
    .r2-designer-inspector .sideCardBody{padding:9px}
    .r2-designer-inspector .kv{display:grid;grid-template-columns:1fr auto;gap:7px;font-size:9px}
    .r2-designer-inspector .kv span:nth-child(odd){color:#a8bdc9}
    .r2-designer-inspector .quickActions{display:grid;gap:6px}
    .r2-designer-inspector .quickActions .btn{width:100%;text-align:left;border:1px solid var(--designer-line);background:#102230;color:white;border-radius:8px;padding:8px 11px;font-weight:800;font-size:10px}
    .r2-designer-inspector .shortcuts{display:grid;grid-template-columns:45px 1fr;gap:7px 10px;font-size:9px;align-items:center}
    .r2-designer-inspector .key{border:1px solid #314d5e;background:#132633;border-radius:5px;padding:4px;text-align:center}
    .r2-designer-inspector .progress{height:7px;border-radius:999px;background:#183140;overflow:hidden;margin:7px 0}
    .r2-designer-inspector .progress>span{display:block;height:100%;background:linear-gradient(90deg,#20d17a,#3c8dff)}

    @media(max-width:1400px) and (min-width:1051px){
      [data-production-room-runtime-host].r2-designer-host .room-runtime-workspace{
        grid-template-columns:minmax(250px,280px) minmax(0,1fr) minmax(230px,260px)!important;
        grid-template-rows:minmax(0,1fr)!important
      }
      [data-production-room-runtime-host].r2-designer-host .r2-designer-inspector{display:flex;grid-column:3;grid-row:1}
      .r2-art-capabilities .galleryWrap{grid-template-columns:1fr}
    }
    @media(max-width:1050px) and (min-width:901px){
      [data-production-room-runtime-host].r2-designer-host .room-runtime-workspace{
        grid-template-columns:minmax(240px,280px) minmax(0,1fr)!important;
        grid-template-rows:minmax(560px,1fr) auto!important;
        overflow:visible
      }
      [data-production-room-runtime-host].r2-designer-host .room-runtime-orders-panel,
      [data-production-room-runtime-host].r2-designer-host .room-runtime-detail-panel{height:560px}
      [data-production-room-runtime-host].r2-designer-host .r2-designer-inspector{
        display:flex;grid-column:1/-1;grid-row:2;height:auto;max-height:none;border-top:1px solid var(--designer-line)
      }
      [data-production-room-runtime-host].r2-designer-host .r2-designer-inspector-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
      .r2-art-capabilities .galleryWrap{grid-template-columns:1fr}
    }
    @media(max-width:900px){
      [data-production-room-runtime-host].r2-designer-host .room-runtime-workspace{display:block!important;min-height:0;height:auto;overflow:visible}
      [data-production-room-runtime-host].r2-designer-host .room-runtime-orders-panel{display:flex!important;height:auto;max-height:42vh}
      [data-production-room-runtime-host].r2-designer-host .room-runtime-detail-panel{display:flex!important;height:auto;min-height:58vh}
      [data-production-room-runtime-host].r2-designer-host .r2-designer-inspector{display:flex!important;width:100%;height:auto;max-height:none;border-top:1px solid var(--designer-line)}
      [data-production-room-runtime-host].r2-designer-host .r2-designer-inspector-body{display:block}
      .r2-art-capabilities .twoCols,.r2-art-capabilities .galleryWrap{grid-template-columns:1fr}
      .r2-art-capabilities .gallery{grid-template-columns:repeat(2,minmax(120px,1fr))}
      .r2-art-capabilities .itemSpecs{grid-template-columns:1fr 1fr}
      .r2-art-capabilities .officialActionHost .room-runtime-actions{grid-template-columns:1fr 1fr}
      .r2-art-capabilities .orderTop{flex-direction:column}
    }


/* DESIGN R2 R015 — canonical Designer queue wired to the official queue renderer. */
[data-production-room-runtime-host].r2-designer-host .r2-designer-queue-visual-refinement .room-runtime-orders-list.r2-designer-queue-cards{
  display:grid!important;
  gap:12px!important;
  padding:10px!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-order-card{
  display:block!important;
  padding:0!important;
  border:1px solid #294a60!important;
  background:linear-gradient(180deg,#0d2230 0%,#091923 100%)!important;
  border-radius:14px!important;
  overflow:hidden!important;
  box-shadow:0 8px 24px rgba(0,0,0,.16);
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-order-card.has-selection{
  border-color:#3199e8!important;
  box-shadow:inset 3px 0 0 #2f9cff,0 8px 24px rgba(24,120,190,.16)!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-order-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:8px!important;
  align-items:start!important;
  min-height:0!important;
  padding:12px 12px 8px!important;
  background:linear-gradient(135deg,#10334a 0%,#0c2433 68%,#0a1c28 100%)!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-order-copy{
  display:grid!important;
  gap:2px!important;
  min-width:0;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-order-copy>span{
  color:#56c9ff!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.11em!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-order-copy>strong{
  color:#fff!important;
  font-size:16px!important;
  line-height:1.15!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-client{
  color:#b5c9d7!important;
  font-size:11px!important;
  white-space:normal!important;
  line-height:1.3!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-order-badges{
  display:flex;
  gap:5px;
  align-items:center;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-priority,
[data-production-room-runtime-host].r2-designer-host .r2-designer-order-status,
[data-production-room-runtime-host].r2-designer-host .r2-designer-work-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  max-width:100%;
  border:1px solid #3b596d;
  border-radius:999px;
  padding:4px 7px;
  background:#172c39;
  color:#c7d7e1!important;
  font-size:8px!important;
  font-weight:900!important;
  line-height:1.1!important;
  letter-spacing:.03em;
  white-space:normal!important;
  text-align:center;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-priority{
  border-color:#98484d;
  background:#4a1f25;
  color:#ffc5c8!important;
}
[data-production-room-runtime-host].r2-designer-host .room-runtime-order-count{
  min-width:27px!important;
  height:27px!important;
  border:1px solid #3f718d!important;
  background:#173b50!important;
  color:#d9f4ff!important;
  font-size:10px!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-order-summary{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) .75fr .7fr;
  gap:7px;
  padding:9px 11px;
  border-top:1px solid #1d3d50;
  border-bottom:1px solid #1d3d50;
  background:#0b1d29;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-order-summary>span{
  min-width:0;
  display:grid;
  gap:2px;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-order-summary small{
  color:#7898ab!important;
  font-size:8px!important;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-order-summary b{
  color:#eff8fd;
  font-size:9px;
  line-height:1.25;
  overflow-wrap:anywhere;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-order-statuses{
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  padding:8px 11px;
  background:#091923;
}
[data-production-room-runtime-host].r2-designer-host [data-work-status="queued"]{
  border-color:#526979!important;background:#253744!important;color:#dce8ef!important
}
[data-production-room-runtime-host].r2-designer-host [data-work-status="in_progress"]{
  border-color:#21845e!important;background:#103a2b!important;color:#adf4d2!important
}
[data-production-room-runtime-host].r2-designer-host [data-work-status="paused"]{
  border-color:#936c24!important;background:#422f0f!important;color:#ffda82!important
}
[data-production-room-runtime-host].r2-designer-host [data-work-status="completed"]{
  border-color:#187968!important;background:#0b3a33!important;color:#a8f2df!important
}
[data-production-room-runtime-host].r2-designer-host [data-work-status="transferred"]{
  border-color:#6e55a8!important;background:#2e2450!important;color:#ded2ff!important
}
[data-production-room-runtime-host].r2-designer-host [data-work-status="cancelled"]{
  border-color:#7d4145!important;background:#3c1e22!important;color:#ffbfc3!important
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-items-label{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:7px 11px;
  border-top:1px solid #1b3444;
  background:#0d2633;
  color:#8eb0c3;
  font-size:8px;
  font-weight:900;
  letter-spacing:.08em;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-items-label b{
  display:grid;
  place-items:center;
  min-width:22px;
  height:22px;
  border-radius:999px;
  background:#17394c;
  color:#d9f4ff;
  font-size:9px;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-order-items{
  display:grid!important;
  gap:6px!important;
  margin:0!important;
  padding:7px!important;
  border:0!important;
  background:#07151e!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-queue-item{
  position:relative;
  display:grid!important;
  grid-template-columns:8px minmax(0,1fr) auto!important;
  gap:8px!important;
  align-items:start!important;
  min-height:58px!important;
  padding:8px!important;
  border:1px solid #203e50!important;
  border-radius:10px!important;
  background:#0b1e2a!important;
  color:#eef8ff!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-queue-item:hover{
  border-color:#37677f!important;
  background:#0d2634!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-queue-item.is-selected{
  border-color:#258cd8!important;
  background:#10314a!important;
  box-shadow:inset 3px 0 0 #2f9cff!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-item-copy{
  display:grid!important;
  gap:3px!important;
  min-width:0;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-item-copy>b{
  color:#f3f9fd!important;
  font-size:10px!important;
  line-height:1.25!important;
  white-space:normal!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-item-facts{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-item-facts small,
[data-production-room-runtime-host].r2-designer-host .r2-designer-item-personalization{
  color:#91aabb!important;
  font-size:8px!important;
  line-height:1.25!important;
  white-space:normal!important;
}
[data-production-room-runtime-host].r2-designer-host .room-runtime-item-warning{
  color:#ffd289!important;
  font-size:8px!important;
  white-space:normal!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-work-status{
  align-self:start;
  max-width:88px;
}
[data-production-room-runtime-host].r2-designer-host .room-runtime-state[data-room-loading],
[data-production-room-runtime-host].r2-designer-host .room-runtime-state[data-room-empty]{
  margin:10px;
  min-height:120px;
}
@media(max-width:700px){
  [data-production-room-runtime-host].r2-designer-host .r2-designer-order-summary{grid-template-columns:1fr 1fr}
  [data-production-room-runtime-host].r2-designer-host .r2-designer-order-summary>span:first-child{grid-column:1/-1}
  [data-production-room-runtime-host].r2-designer-host .r2-designer-queue-item{grid-template-columns:8px minmax(0,1fr)}
  [data-production-room-runtime-host].r2-designer-host .r2-designer-work-status{grid-column:2;justify-self:start;max-width:none}
}


/* DESIGN R2 R016 — item list canonical recovery + readable card hierarchy. */
[data-production-room-runtime-host].r2-designer-host [data-designer-render-version="R2-DESIGN-016"] .r2-designer-order-card{
  border-color:#2b5268!important;
}
[data-production-room-runtime-host].r2-designer-host [data-designer-render-version="R2-DESIGN-016"] .r2-designer-order-copy>strong{
  font-size:15px!important;
  letter-spacing:.01em;
}
[data-production-room-runtime-host].r2-designer-host [data-designer-render-version="R2-DESIGN-016"] .r2-designer-order-summary b{
  font-size:10px!important;
}
[data-production-room-runtime-host].r2-designer-host [data-designer-render-version="R2-DESIGN-016"] .r2-designer-order-items{
  gap:7px!important;
  padding:8px!important;
}
[data-production-room-runtime-host].r2-designer-host [data-designer-render-version="R2-DESIGN-016"] .r2-designer-queue-item{
  grid-template-columns:34px minmax(0,1fr) auto!important;
  gap:9px!important;
  align-items:center!important;
  min-height:62px!important;
  padding:8px 9px!important;
  border-color:#28485a!important;
  background:linear-gradient(180deg,#0c2330 0%,#091b25 100%)!important;
}
[data-production-room-runtime-host].r2-designer-host [data-designer-render-version="R2-DESIGN-016"] .r2-designer-item-index{
  display:grid;
  place-items:center;
  align-self:stretch;
  min-height:40px;
  border:1px solid #31556a;
  border-radius:8px;
  background:#102d3d;
  color:#b9d8e8;
  font-size:9px;
  font-weight:900;
  letter-spacing:.02em;
}
[data-production-room-runtime-host].r2-designer-host [data-designer-render-version="R2-DESIGN-016"] .r2-designer-queue-item[data-work-status="queued"] .r2-designer-item-index{border-color:#506b7b;background:#213845;color:#e4eef4}
[data-production-room-runtime-host].r2-designer-host [data-designer-render-version="R2-DESIGN-016"] .r2-designer-queue-item[data-work-status="in_progress"] .r2-designer-item-index{border-color:#23805e;background:#103b2c;color:#bdf6da}
[data-production-room-runtime-host].r2-designer-host [data-designer-render-version="R2-DESIGN-016"] .r2-designer-queue-item[data-work-status="paused"] .r2-designer-item-index{border-color:#8d6929;background:#402e12;color:#ffe09a}
[data-production-room-runtime-host].r2-designer-host [data-designer-render-version="R2-DESIGN-016"] .r2-designer-queue-item[data-work-status="completed"] .r2-designer-item-index{border-color:#1d7968;background:#0d3b34;color:#b4f4e3}
[data-production-room-runtime-host].r2-designer-host [data-designer-render-version="R2-DESIGN-016"] .r2-designer-queue-item[data-work-status="transferred"] .r2-designer-item-index{border-color:#6a58a0;background:#2d264e;color:#e1d9ff}
[data-production-room-runtime-host].r2-designer-host [data-designer-render-version="R2-DESIGN-016"] .r2-designer-item-copy>b{
  font-size:12px!important;
  line-height:1.2!important;
}
[data-production-room-runtime-host].r2-designer-host [data-designer-render-version="R2-DESIGN-016"] .r2-designer-item-facts small,
[data-production-room-runtime-host].r2-designer-host [data-designer-render-version="R2-DESIGN-016"] .r2-designer-item-personalization{
  font-size:9px!important;
  line-height:1.3!important;
}
[data-production-room-runtime-host].r2-designer-host [data-designer-render-version="R2-DESIGN-016"] .r2-designer-work-status{
  max-width:100px!important;
  font-size:8px!important;
  padding:4px 6px!important;
}
@media(max-width:700px){
  [data-production-room-runtime-host].r2-designer-host [data-designer-render-version="R2-DESIGN-016"] .r2-designer-queue-item{
    grid-template-columns:32px minmax(0,1fr)!important;
  }
  [data-production-room-runtime-host].r2-designer-host [data-designer-render-version="R2-DESIGN-016"] .r2-designer-work-status{
    grid-column:2!important;
    justify-self:start!important;
    max-width:none!important;
  }
}

/* DESIGN R2 016-FULLSCREEN-01 — Lei Universal: viewport real, hierarquia operacional e ícones canônicos.
   Escopo deliberadamente restrito ao host Designer. Nenhuma outra sala herda estas regras. */
body:has([data-production-room-runtime-host].r2-designer-host){
  overflow:hidden!important;
  overscroll-behavior:none;
}
body:has([data-production-room-runtime-host].r2-designer-host) #content{
  width:100%!important;
  height:calc(100dvh - var(--topbar))!important;
  min-height:0!important;
  max-width:none!important;
  padding:12px!important;
  overflow:hidden!important;
}
[data-production-room-runtime-host].r2-designer-host{
  width:100%;
  height:100%;
  min-height:0;
  max-height:100%;
  overflow:hidden;
}
[data-production-room-runtime-host].r2-designer-host .room-runtime.r2-designer-layout{
  width:100%;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  grid-template-rows:minmax(0,1fr)!important;
  gap:0!important;
  overflow:hidden!important;
}
[data-production-room-runtime-host].r2-designer-host .room-runtime-workspace{
  position:relative;
  display:grid!important;
  grid-template-columns:minmax(300px,330px) minmax(0,1fr) minmax(260px,300px)!important;
  grid-template-rows:minmax(0,1fr)!important;
  width:100%;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important;
  border:1px solid var(--designer-line)!important;
  border-radius:16px!important;
  box-shadow:0 18px 48px rgba(0,0,0,.22);
}
[data-production-room-runtime-host].r2-designer-host .room-runtime-orders-panel,
[data-production-room-runtime-host].r2-designer-host .room-runtime-detail-panel,
[data-production-room-runtime-host].r2-designer-host .r2-designer-inspector{
  width:auto!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important;
}

/* Fila: cabeçalho fixo, lista como único scroll e pedidos recolhíveis. */
[data-production-room-runtime-host].r2-designer-host .room-runtime-orders-panel{
  grid-column:1;
  grid-row:1;
  display:flex!important;
  flex-direction:column;
}
[data-production-room-runtime-host].r2-designer-host .room-runtime-orders-head{
  position:relative!important;
  inset:auto!important;
  flex:0 0 auto;
  gap:9px!important;
  min-height:0!important;
  padding:13px!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-queue-search{
  min-height:42px;
  padding:9px 11px;
  font-size:12px;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-queue-tools .room-runtime-filters{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  overflow:visible!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-queue-tools .room-runtime-filter{
  min-height:31px!important;
  padding:6px 10px!important;
  font-size:10px!important;
}
[data-production-room-runtime-host].r2-designer-host [data-room-orders-scroll]>.room-runtime-orders-list{
  flex:1 1 auto;
  min-height:0;
  align-content:start!important;
  grid-auto-rows:max-content;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-order-card[hidden]{display:none!important}
[data-production-room-runtime-host].r2-designer-host .r2-designer-order-card{
  margin:0!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-order-summary{
  grid-template-columns:minmax(0,1fr) minmax(52px,auto) minmax(66px,auto);
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-order-summary>span:last-child b{
  white-space:nowrap;
  overflow-wrap:normal;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-items-toggle{
  position:relative!important;
  inset:auto!important;
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  width:100%!important;
  height:auto!important;
  min-height:40px!important;
  padding:8px 11px!important;
  border:0!important;
  border-top:1px solid #1d3d50!important;
  border-radius:0!important;
  background:#0c2431!important;
  color:#c7dce8!important;
  text-align:left;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-items-toggle:hover,
[data-production-room-runtime-host].r2-designer-host .r2-designer-items-toggle:focus-visible{
  background:#103246!important;
  color:#fff!important;
  outline:0;
  box-shadow:inset 3px 0 0 #2f9cff;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-items-toggle-copy,
[data-production-room-runtime-host].r2-designer-host .r2-designer-items-toggle-state{
  display:flex!important;
  align-items:center;
  width:auto!important;
  height:auto!important;
  gap:7px;
  overflow:visible!important;
  font-size:inherit!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-items-toggle-copy b{
  color:inherit;
  font-size:10px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-items-toggle svg{
  width:15px;
  height:15px;
  flex:0 0 15px;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-items-toggle-state strong{
  display:grid;
  place-items:center;
  min-width:24px;
  height:24px;
  border-radius:999px;
  background:#17394c;
  color:#e8f7ff;
  font-size:10px;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-items-toggle-state svg{
  transform:rotate(-90deg);
  transition:transform .16s ease;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-items-toggle[aria-expanded="true"] .r2-designer-items-toggle-state svg{
  transform:rotate(90deg);
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-order-items{
  max-height:none;
  overflow:visible;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-queue-item{
  grid-template-columns:36px 46px minmax(0,1fr)!important;
  min-height:66px!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-queue-item .room-runtime-item-thumb{
  width:46px!important;
  height:46px!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-item-copy>b{
  font-size:12px!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-item-facts small,
[data-production-room-runtime-host].r2-designer-host .r2-designer-item-personalization,
[data-production-room-runtime-host].r2-designer-host .room-runtime-item-warning{
  font-size:9px!important;
}

/* Centro: apenas o conteúdo do item rola; cabeçalho, abas e OS permanecem contidos. */
[data-production-room-runtime-host].r2-designer-host .room-runtime-detail-panel{
  grid-column:2;
  grid-row:1;
  display:flex!important;
  flex-direction:column;
  overflow:hidden!important;
}
[data-production-room-runtime-host].r2-designer-host [data-room-actions-slot]{
  display:flex!important;
  flex:1 1 auto;
  min-width:0;
  min-height:0;
  overflow:hidden;
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities{
  flex:1 1 auto;
  min-width:0;
  min-height:0;
  padding:15px 16px 18px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .orderTop{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:start;
  margin-bottom:12px;
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .orderTop h1{
  margin:0 0 5px!important;
  color:#f5fbff;
  font-size:clamp(18px,1.45vw,24px)!important;
  line-height:1.2!important;
  letter-spacing:-.015em!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .orderTop p{
  color:#a8bfcd;
  font-size:12px;
  line-height:1.45;
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .topButtons{
  justify-content:flex-end;
  align-items:center;
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .r2-designer-mobile-back{display:none!important}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .btn,
[data-production-room-runtime-host].r2-designer-host .r2-designer-inspector .btn,
[data-production-room-runtime-host].r2-designer-host .room-runtime-action-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-icon{
  display:block;
  width:16px;
  height:16px;
  min-width:16px;
  flex:0 0 16px;
  fill:none;
  stroke:currentColor;
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .tabs{
  position:sticky;
  top:-15px;
  z-index:12;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:6px;
  margin:0 -2px 12px;
  padding:10px 2px 11px;
  overflow-x:hidden;
  overflow-y:hidden;
  border-bottom:1px solid var(--designer-line);
  background:linear-gradient(180deg,#08141e 78%,rgba(8,20,30,.94));
  scrollbar-width:thin;
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:1 1 0;
  gap:5px;
  min-width:0;
  min-height:38px;
  padding:8px 6px;
  font-size:10px;
  white-space:normal;
  text-align:center;
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .tab span{
  min-width:0;
  overflow:visible;
  line-height:1.2;
}
[data-production-room-runtime-host].r2-designer-host [data-designer-tab-body]{
  display:grid;
  gap:11px;
  min-width:0;
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .panelCard{
  margin:0!important;
  border-color:#29485b;
  border-radius:12px;
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .cardHead{
  min-height:44px;
  padding:11px 13px;
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .cardHead h3{
  color:#f1f8fc;
  font-size:14px!important;
  line-height:1.3;
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .cardBody{
  min-width:0;
  padding:13px;
  overflow-x:auto;
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .label{
  font-size:10px;
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .value{
  color:#f3f8fb;
  font-size:12px;
  line-height:1.5;
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .empty,
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .notice{
  font-size:11px;
  line-height:1.5;
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .twoCols,
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .galleryWrap{
  gap:11px;
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .gallery{
  grid-template-columns:repeat(auto-fit,minmax(132px,1fr));
  overflow:visible;
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .gallery.mock{
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .mediaPlaceholder .r2-designer-icon{
  width:30px;
  height:30px;
  color:#6f9bb3;
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .table{
  min-width:620px;
  font-size:11px;
}
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .table th,
[data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .table td{
  padding:9px 10px;
}
[data-production-room-runtime-host].r2-designer-host .room-runtime.r2-designer-layout[data-designer-tab="os"] .room-runtime-inline-os-slot{
  flex:1 1 auto;
  width:auto;
  height:auto!important;
  min-height:0!important;
  margin:0 12px 12px;
  overflow:hidden!important;
}
[data-production-room-runtime-host].r2-designer-host .room-runtime.r2-designer-layout[data-designer-tab="os"] .room-runtime-inline-os-body{
  min-height:0;
  overflow:hidden!important;
}

/* Inspetor: informação completa em um único scroll independente. */
[data-production-room-runtime-host].r2-designer-host .r2-designer-inspector{
  grid-column:3;
  grid-row:1;
  display:flex!important;
  flex-direction:column;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-inspector-head{
  flex:0 0 auto;
  min-height:48px;
  padding:14px;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-inspector-head strong{
  font-size:12px;
  letter-spacing:.045em;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-inspector-body{
  flex:1 1 auto;
  min-height:0;
  padding:10px;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-inspector .sideCard h4{
  padding:10px 11px;
  color:#f0f7fb;
  font-size:12px!important;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-inspector .sideCardBody{
  padding:10px 11px;
  font-size:11px;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-inspector .kv{
  gap:8px 10px;
  font-size:10px;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-inspector .kv b{
  min-width:0;
  max-width:150px;
  overflow-wrap:anywhere;
  text-align:right;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-inspector .quickActions .btn{
  justify-content:flex-start;
  min-height:38px;
  padding:9px 10px;
  font-size:10px;
  text-align:left;
}

@media(max-width:1400px) and (min-width:1181px){
  [data-production-room-runtime-host].r2-designer-host .room-runtime-workspace{
    grid-template-columns:minmax(250px,286px) minmax(0,1fr) minmax(230px,260px)!important;
  }
  [data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .twoCols,
  [data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .galleryWrap{grid-template-columns:1fr}
  [data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .orderTop{grid-template-columns:1fr}
  [data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .topButtons{justify-content:flex-start}
  [data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .tabs{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  [data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .tab{width:100%}
  [data-production-room-runtime-host].r2-designer-host .r2-designer-order-summary{grid-template-columns:1fr 1fr}
  [data-production-room-runtime-host].r2-designer-host .r2-designer-order-summary>span:first-child{grid-column:1/-1}
}

/* Notebook: o inspetor ocupa uma faixa própria sem aumentar a página. */
@media(max-width:1180px) and (min-width:901px){
  body:has([data-production-room-runtime-host].r2-designer-host) #content{padding:10px!important}
  [data-production-room-runtime-host].r2-designer-host .room-runtime-workspace{
    grid-template-columns:minmax(245px,280px) minmax(0,1fr)!important;
    grid-template-rows:minmax(0,1fr)!important;
  }
  [data-production-room-runtime-host].r2-designer-host .room-runtime-orders-panel{
    grid-column:1!important;
    grid-row:1!important;
    height:100%!important;
    max-height:100%!important;
  }
  [data-production-room-runtime-host].r2-designer-host .room-runtime-detail-panel{
    grid-column:2!important;
    grid-row:1!important;
    height:100%!important;
    min-height:0!important;
  }
  [data-production-room-runtime-host].r2-designer-host .r2-designer-inspector{
    display:none!important;
  }
  [data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .twoCols,
  [data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .galleryWrap{grid-template-columns:1fr}
  [data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .orderTop{grid-template-columns:1fr}
  [data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .topButtons{justify-content:flex-start}
  [data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .tabs{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    overflow:visible;
  }
  [data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .tab{width:100%}
}

/* Mobile: uma pane por vez, aproveitando o mobilePane oficial já existente no R2. */
@media(max-width:900px){
  body:has([data-production-room-runtime-host].r2-designer-host) #content{
    height:calc(100dvh - var(--topbar))!important;
    padding:8px!important;
  }
  [data-production-room-runtime-host].r2-designer-host .room-runtime-workspace{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:minmax(0,1fr)!important;
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  [data-production-room-runtime-host].r2-designer-host .room-runtime-workspace[data-mobile-pane="orders"] .room-runtime-orders-panel{
    display:flex!important;
    grid-column:1!important;
    grid-row:1!important;
    height:100%!important;
    max-height:100%!important;
  }
  [data-production-room-runtime-host].r2-designer-host .room-runtime-workspace[data-mobile-pane="orders"] .room-runtime-detail-panel,
  [data-production-room-runtime-host].r2-designer-host .room-runtime-workspace[data-mobile-pane="orders"] .r2-designer-inspector{
    display:none!important;
  }
  [data-production-room-runtime-host].r2-designer-host .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-orders-panel,
  [data-production-room-runtime-host].r2-designer-host .room-runtime-workspace[data-mobile-pane="detail"] .r2-designer-inspector{
    display:none!important;
  }
  [data-production-room-runtime-host].r2-designer-host .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-detail-panel{
    display:flex!important;
    grid-column:1!important;
    grid-row:1!important;
    height:100%!important;
    min-height:0!important;
  }
  [data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .orderTop{
    grid-template-columns:1fr;
  }
  [data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .r2-designer-mobile-back{
    display:inline-flex!important;
    justify-self:start;
  }
  [data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .topButtons{
    justify-content:flex-start;
  }
  [data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .twoCols,
  [data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .galleryWrap{grid-template-columns:1fr}
  [data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .tabs{
    position:relative;
    top:auto;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    overflow:visible;
  }
  [data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .tab{width:100%}
}

@media(max-width:520px){
  [data-production-room-runtime-host].r2-designer-host .r2-art-capabilities .tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
  [data-production-room-runtime-host].r2-designer-host .r2-designer-order-summary{
    grid-template-columns:1fr 1fr;
  }
  [data-production-room-runtime-host].r2-designer-host .r2-designer-order-summary>span:first-child{
    grid-column:1/-1;
  }
  [data-production-room-runtime-host].r2-designer-host .r2-designer-queue-item{
    grid-template-columns:34px 42px minmax(0,1fr)!important;
  }
  [data-production-room-runtime-host].r2-designer-host .r2-designer-queue-item .room-runtime-item-thumb{
    width:42px!important;
    height:42px!important;
  }
  [data-production-room-runtime-host].r2-designer-host .r2-designer-work-status{
    grid-column:2;
    justify-self:start;
    max-width:none!important;
  }
}

/* R2 SELLER SECTIONS 025 — organização visual Vendedor > Pedido > Itens. */
.room-runtime-seller-nav{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;padding:5px 0 2px;scrollbar-width:thin;overscroll-behavior-x:contain}
.room-runtime-seller-filter{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;min-height:32px;max-width:210px;padding:5px 9px;border:1px solid var(--line);border-radius:999px;background:var(--bg);color:var(--muted);cursor:pointer;font:inherit}
.room-runtime-seller-filter span{max-width:158px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:800}
.room-runtime-seller-filter b{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:color-mix(in srgb,var(--panel) 76%,var(--bg) 24%);color:var(--text);font-size:9px}
.room-runtime-seller-filter.is-active{border-color:var(--primary);color:var(--text);box-shadow:inset 0 0 0 1px var(--primary);background:color-mix(in srgb,var(--primary) 8%,var(--panel) 92%)}
.room-runtime-seller-groups{display:grid;align-content:start;gap:10px;padding:10px;min-width:0}
.room-runtime-seller-section{display:grid;min-width:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel)}
.room-runtime-seller-section[hidden]{display:none!important}
.room-runtime-seller-section.has-selection{border-color:var(--primary)}
.room-runtime-seller-section.is-unassigned{border-style:dashed}
.room-runtime-seller-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-width:0;min-height:46px;padding:8px 10px;border:0;background:color-mix(in srgb,var(--panel) 90%,var(--bg) 10%);color:var(--text);text-align:left;cursor:pointer;font:inherit}
.room-runtime-seller-head:hover{background:color-mix(in srgb,var(--panel) 82%,var(--bg) 18%)}
.room-runtime-seller-chevron{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;color:var(--muted);font-size:13px;font-weight:900}
.room-runtime-seller-copy{display:grid;gap:2px;min-width:0}
.room-runtime-seller-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.15}
.room-runtime-seller-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:9px;line-height:1.15}
.room-runtime-seller-count{display:grid;place-items:center;min-width:26px;height:26px;padding:0 7px;border:1px solid var(--line);border-radius:999px;color:var(--text);font-size:10px;font-weight:900}
.room-runtime-seller-body{min-width:0;border-top:1px solid var(--line);background:color-mix(in srgb,var(--panel) 96%,var(--bg) 4%)}
.room-runtime-seller-body>.room-runtime-orders-list{padding:8px;gap:8px}

[data-production-room-runtime-host].r2-designer-host .room-runtime-seller-nav{padding:1px 0 0;gap:5px}
[data-production-room-runtime-host].r2-designer-host .room-runtime-seller-filter{min-height:30px;max-width:188px;padding:4px 8px;border-color:#294657;background:#0d1e29;color:#a9c1d0}
[data-production-room-runtime-host].r2-designer-host .room-runtime-seller-filter span{max-width:140px;font-size:9px;letter-spacing:.02em}
[data-production-room-runtime-host].r2-designer-host .room-runtime-seller-filter b{height:18px;min-width:18px;background:#19303e;color:#d8e8f0;font-size:8px}
[data-production-room-runtime-host].r2-designer-host .room-runtime-seller-filter.is-active{border-color:#2b8a5e;background:#103020;color:#baf7d4;box-shadow:none}
[data-production-room-runtime-host].r2-designer-host [data-room-orders-scroll]>.room-runtime-seller-groups{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding:10px;gap:9px}
[data-production-room-runtime-host].r2-designer-host .room-runtime-seller-section{border-color:#294657;border-radius:10px;background:#0d1e29}
[data-production-room-runtime-host].r2-designer-host .room-runtime-seller-section.has-selection{border-color:#2b8a5e}
[data-production-room-runtime-host].r2-designer-host .room-runtime-seller-section.is-unassigned{border-color:#765f31}
[data-production-room-runtime-host].r2-designer-host .room-runtime-seller-head{min-height:48px;padding:8px 9px;background:#102331;color:#edf5fa}
[data-production-room-runtime-host].r2-designer-host .room-runtime-seller-head:hover{background:#153040}
[data-production-room-runtime-host].r2-designer-host .room-runtime-seller-chevron{color:#8faebe}
[data-production-room-runtime-host].r2-designer-host .room-runtime-seller-copy strong{font-size:11px;letter-spacing:.02em}
[data-production-room-runtime-host].r2-designer-host .room-runtime-seller-copy small{color:#8faebe;font-size:9px}
[data-production-room-runtime-host].r2-designer-host .room-runtime-seller-count{border-color:#355366;color:#d8e8f0;background:#19303e}
[data-production-room-runtime-host].r2-designer-host .room-runtime-seller-body{border-color:#1d3d50;background:#0a1922}
[data-production-room-runtime-host].r2-designer-host .room-runtime-seller-body>.room-runtime-orders-list{padding:8px!important;gap:8px!important;overflow:visible!important;min-height:0!important}

@media(max-width:760px){.room-runtime-seller-filter{max-width:168px}.room-runtime-seller-filter span{max-width:118px}.room-runtime-seller-groups{padding:7px;gap:7px}.room-runtime-seller-head{min-height:44px;padding:7px 8px}}

/* P0 DESIGNER CLIENT REFERENCE MIRROR 001W — espelha somente a referência visual do cliente na fila.
   Não promove anexo a mockup operacional/aprovado e não altera os gates R2. */
[data-production-room-runtime-host].r2-designer-host .r2-designer-thumb-stack{
  position:relative;
  display:block;
  width:46px;
  height:46px;
  flex:none;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-thumb-stack>.room-runtime-item-thumb{
  position:absolute;
  inset:0;
}
[data-production-room-runtime-host].r2-designer-host .r2-designer-thumb-stack>.room-runtime-item-thumb.is-client-reference{
  z-index:2;
  border-color:#2f7f76!important;
  background:#091724!important;
  box-shadow:inset 0 0 0 1px rgba(61,214,176,.18);
}
[data-production-room-runtime-host].r2-designer-host .room-runtime-item-thumb.is-client-reference img{
  width:100%;
  height:100%;
  object-fit:cover;
  background:#091724;
}
[data-production-room-runtime-host].r2-designer-host .room-runtime-item-thumb.is-client-reference>small{
  position:absolute;
  left:2px;
  right:2px;
  bottom:2px;
  padding:2px 3px;
  border-radius:4px;
  background:rgba(3,15,25,.86);
  color:#aef7e2;
  font-size:7px!important;
  font-weight:900;
  line-height:1;
  letter-spacing:.04em;
  text-align:center;
  pointer-events:none;
}
@media(max-width:520px){
  [data-production-room-runtime-host].r2-designer-host .r2-designer-thumb-stack{width:42px;height:42px}
}

/* R2 BO / RETRABALHO PROFESSIONAL 002 — acabamento visual isolado do modal oficial. */
.room-runtime-dialog-field input,
.room-runtime-dialog-field textarea{
  width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);font:inherit;resize:vertical
}
.room-runtime-dialog-field input:focus,
.room-runtime-dialog-field textarea:focus,
.room-runtime-dialog-field select:focus{
  outline:2px solid color-mix(in srgb,var(--primary) 48%,transparent);outline-offset:1px;border-color:var(--primary)
}
.room-runtime-dialog-field>small{font-size:10px;line-height:1.35;color:var(--muted)}
.room-runtime-dialog-close{min-width:38px;min-height:38px;padding:0;font-size:20px;line-height:1}
.room-runtime-dialog.is-rework-bo{width:min(760px,100%);max-height:min(860px,calc(100dvh - 28px));border-radius:18px}
.room-runtime-dialog.is-rework-bo header{padding:18px 20px;background:linear-gradient(180deg,color-mix(in srgb,var(--panel) 95%,#fff 5%),var(--panel))}
.room-runtime-dialog.is-rework-bo header>div{display:grid;gap:3px}
.room-runtime-dialog.is-rework-bo header small{color:var(--muted);font-size:11px;line-height:1.4}
.room-runtime-dialog.is-rework-bo .room-runtime-dialog-body{padding:16px 20px 20px;gap:12px;overflow:auto}
.room-runtime-dialog.is-rework-bo footer{align-items:center;padding:14px 20px;gap:10px;background:color-mix(in srgb,var(--panel) 96%,var(--bg) 4%)}
.room-runtime-dialog.is-rework-bo footer .btn.primary{min-width:190px;font-weight:850}
.room-runtime-rework-card{display:grid;gap:12px}
.room-runtime-rework-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border:1px solid color-mix(in srgb,#f59e0b 42%,var(--line));border-radius:12px;background:color-mix(in srgb,#f59e0b 8%,var(--panel))}
.room-runtime-rework-card-head>div{display:grid;gap:2px}
.room-runtime-rework-card-head span{font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#f6c453}
.room-runtime-rework-card-head strong{font-size:16px}
.room-runtime-rework-card-head>b{padding:5px 8px;border-radius:999px;background:color-mix(in srgb,#f59e0b 14%,transparent);color:#f6c453;font-size:9px;letter-spacing:.05em;white-space:nowrap}
.room-runtime-rework-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.room-runtime-rework-summary>div{display:grid;gap:3px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--bg);min-width:0}
.room-runtime-rework-summary span{font-size:9px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}
.room-runtime-rework-summary strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.room-runtime-rework-section{display:grid;gap:10px;padding:13px;border:1px solid var(--line);border-radius:12px;background:color-mix(in srgb,var(--panel) 92%,var(--bg) 8%)}
.room-runtime-rework-section-title{display:flex;align-items:center;gap:9px}
.room-runtime-rework-section-title>span{display:grid;place-items:center;flex:0 0 26px;height:26px;border-radius:8px;background:color-mix(in srgb,var(--primary) 18%,var(--bg));color:var(--text);font-size:10px;font-weight:900}
.room-runtime-rework-section-title>div{display:grid;gap:1px}
.room-runtime-rework-section-title strong{font-size:12px}
.room-runtime-rework-section-title small{font-size:10px;color:var(--muted)}
.room-runtime-rework-fields{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(120px,.55fr);gap:10px}
.room-runtime-rework-wide{grid-column:1/-1}
.room-runtime-rework-guard{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 10px;padding:10px 12px;border-left:3px solid #22c55e;border-radius:8px;background:color-mix(in srgb,#22c55e 8%,var(--bg))}
.room-runtime-rework-guard strong{grid-column:1/-1;font-size:11px}
.room-runtime-rework-guard span{grid-column:1/-1;color:var(--muted);font-size:10px;line-height:1.45}
.room-runtime-rework-footer-copy{display:grid;gap:2px;margin-right:auto;min-width:0}
.room-runtime-rework-footer-copy strong{font-size:10px}
.room-runtime-rework-footer-copy span{font-size:9px;color:var(--muted)}
@media(max-width:700px){
  .room-runtime-dialog.is-rework-bo{max-height:calc(100dvh - 12px);border-radius:14px}
  .room-runtime-dialog.is-rework-bo header,.room-runtime-dialog.is-rework-bo .room-runtime-dialog-body,.room-runtime-dialog.is-rework-bo footer{padding-inline:12px}
  .room-runtime-rework-summary{grid-template-columns:1fr 1fr}
  .room-runtime-rework-fields{grid-template-columns:1fr}
  .room-runtime-rework-wide{grid-column:1}
  .room-runtime-rework-card-head{align-items:flex-start}
  .room-runtime-rework-card-head>b{white-space:normal;text-align:right}
  .room-runtime-dialog.is-rework-bo footer{display:grid;grid-template-columns:1fr 1fr}
  .room-runtime-rework-footer-copy{grid-column:1/-1;margin:0}
  .room-runtime-dialog.is-rework-bo footer .btn.primary{min-width:0}
}

/* R2 BO QUALITY CONTROL 003 */
.room-runtime-dialog.is-rework-bo{width:min(1060px,calc(100vw - 28px));max-height:min(94vh,920px)}
.room-runtime-dialog.is-rework-bo .room-runtime-dialog-body{padding:16px 18px 18px;overflow:auto;background:linear-gradient(180deg,color-mix(in srgb,var(--panel) 96%,#f59e0b 4%),var(--panel))}
.room-runtime-dialog.is-rework-bo>header{padding:15px 18px;border-bottom:1px solid var(--line)}
.room-runtime-dialog.is-rework-bo>footer{position:sticky;bottom:0;z-index:3;padding:12px 18px;background:color-mix(in srgb,var(--panel) 96%,transparent);backdrop-filter:blur(8px);border-top:1px solid var(--line)}
.room-runtime-rework-card-head small{display:block;margin-top:3px;color:var(--muted);font-size:10px}
.room-runtime-rework-summary{grid-template-columns:repeat(6,minmax(0,1fr))}
.room-runtime-rework-fields-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.room-runtime-rework-span-2{grid-column:span 2}
.room-runtime-rework-grade{grid-column:1/-1;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--bg)}
.room-runtime-rework-grade-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:9px 10px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--panel) 92%,var(--primary) 8%)}
.room-runtime-rework-grade-head strong{font-size:11px}.room-runtime-rework-grade-head small{font-size:9px;color:var(--muted);text-align:right}
.room-runtime-rework-grade-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;max-height:190px;overflow:auto}
.room-runtime-rework-grade-grid label{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:8px;align-items:center;padding:8px 9px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.room-runtime-rework-grade-grid label:nth-child(3n){border-right:0}.room-runtime-rework-grade-grid span{font-size:10px;min-width:0}.room-runtime-rework-grade-grid span small{display:block;color:var(--muted);font-size:8px;margin-top:2px}.room-runtime-rework-grade-grid input{width:100%;min-width:0}
@media(max-width:900px){.room-runtime-rework-summary{grid-template-columns:1fr 1fr 1fr}.room-runtime-rework-fields-3{grid-template-columns:1fr 1fr}.room-runtime-rework-span-2{grid-column:span 1}.room-runtime-rework-grade-grid{grid-template-columns:1fr 1fr}.room-runtime-rework-grade-grid label:nth-child(3n){border-right:1px solid var(--line)}.room-runtime-rework-grade-grid label:nth-child(2n){border-right:0}}
@media(max-width:620px){.room-runtime-rework-summary,.room-runtime-rework-fields-3,.room-runtime-rework-grade-grid{grid-template-columns:1fr}.room-runtime-rework-grade-grid label{border-right:0}.room-runtime-rework-span-2{grid-column:1}.room-runtime-dialog.is-rework-bo{width:calc(100vw - 12px)}}

/* BO QUALITY CONTROL 003 final polish */
.room-runtime-rework-section input[type="number"]{font-variant-numeric:tabular-nums}.room-runtime-rework-card [data-rework-bo-material-loss],.room-runtime-rework-card [data-rework-bo-rework-cost]{text-align:right}.room-runtime-inline-os-toolbar [data-room-bo-excel]{font-weight:800}

/* Ficha ampliada: somente apresentação das salas operacionais; Designer preservado. */
.room-runtime.room-runtime-sheet-focus{display:block!important;height:calc(100dvh - 106px)!important;min-height:420px;padding:0!important}
.room-runtime-sheet-focus .room-runtime-workspace{display:grid!important;grid-template-columns:230px minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;gap:10px!important;height:100%!important;min-height:0!important;margin:0!important}
.room-runtime-sheet-focus .room-runtime-orders-panel{overflow:auto!important;min-width:0;border-radius:10px!important}
.room-runtime-sheet-focus .room-runtime-head{display:flex!important;flex-wrap:wrap;gap:8px!important;min-height:0!important;padding:12px!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.room-runtime-sheet-focus .room-runtime-title h2{font-size:18px!important;line-height:1.2!important;margin:0!important}
.room-runtime-sheet-focus .room-runtime-tools .btn{min-height:36px!important;padding:7px 10px!important}
.room-runtime-sheet-focus .room-runtime-meta{display:flex!important;flex-wrap:wrap;gap:5px;margin:0 10px!important;padding:8px!important;min-height:0!important}
.room-runtime-sheet-focus .room-runtime-filters{display:flex!important;flex-wrap:wrap;gap:6px!important;padding:10px!important;margin:0!important;overflow:visible!important}
.room-runtime-sheet-focus .room-runtime-filter{font-size:13px!important;min-height:36px!important;padding:6px 9px!important}
.room-runtime-sheet-focus .room-runtime-orders-head{min-height:0!important;padding:10px!important}
.room-runtime-sheet-focus .room-runtime-detail-panel{display:grid!important;grid-template-columns:minmax(0,1fr) 190px!important;grid-template-rows:minmax(0,1fr)!important;gap:10px!important;min-width:0!important;min-height:0!important;height:100%!important;overflow:hidden!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.room-runtime-sheet-focus .room-runtime-sheet-controls{min-width:0;overflow:auto;background:var(--panel,#0b1b28);border:1px solid var(--line,#284254);border-radius:10px;padding:8px}
.room-runtime-sheet-focus .room-runtime-selection,.room-runtime-sheet-focus .room-runtime-selection-empty{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;min-height:0!important;padding:6px!important;border:0!important;background:transparent!important}
.room-runtime-sheet-focus .room-runtime-selection-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;overflow:visible!important}
.room-runtime-sheet-focus .room-runtime-selection-copy strong{font-size:16px!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere}
.room-runtime-sheet-focus .room-runtime-selection-copy small{font-size:13px!important;line-height:1.35!important;white-space:normal!important}
.room-runtime-sheet-focus .room-runtime-selection-copy>span{font-size:13px!important}
.room-runtime-sheet-focus .room-runtime-actions-panel{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;padding:12px 0!important;border:0!important;background:transparent!important;position:static!important;max-height:none!important;box-shadow:none!important}
.room-runtime-sheet-focus .room-runtime-actions-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;gap:8px!important}
.room-runtime-sheet-focus .room-runtime-action-btn{width:100%!important;min-height:44px!important;white-space:normal!important;font-size:14px!important}
.room-runtime-sheet-focus [data-room-queue-notice]:not(:empty){padding:10px 4px;line-height:1.4;overflow-wrap:anywhere}
.room-runtime-sheet-focus .room-runtime-inline-os-slot{display:flex!important;flex-direction:column!important;grid-column:1;grid-row:1;margin:0!important;height:100%!important;min-height:0!important;min-width:0!important;border:1px solid #d7dfe5!important;border-radius:10px!important;background:#fff!important;overflow:auto!important}
.room-runtime-sheet-focus .room-runtime-inline-os-toolbar{flex:none;min-height:42px!important;padding:6px 10px!important;gap:8px!important}
.room-runtime-sheet-focus .room-runtime-inline-os-toolbar>div:first-child{display:none!important}
.room-runtime-sheet-focus .room-runtime-inline-os-toolbar>div:last-child{display:flex!important;flex-wrap:wrap;gap:6px!important;margin-left:auto}
.room-runtime-sheet-focus .room-runtime-inline-os-body{flex:1 1 auto;min-height:0!important;background:#fff!important;overflow:auto!important}
.room-runtime-sheet-focus .room-runtime-inline-os-frame{display:block;width:100%!important;max-width:none!important;border:0;background:#fff}
.room-runtime-sheet-focus .room-runtime-inline-os-empty,.room-runtime-sheet-focus .room-runtime-inline-os-state{flex:1;min-height:100%!important;background:#fff!important;color:#182c40!important;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:24px}
.room-runtime-sheet-focus .room-runtime-detail-panel:has(.room-runtime-selection-empty){grid-template-columns:minmax(0,1fr)!important}
.room-runtime-sheet-focus .room-runtime-sheet-controls:has(.room-runtime-selection-empty){display:none}
.room-runtime-sheet-focus button:focus-visible{outline:3px solid #29d39a;outline-offset:2px}
@media(min-width:1600px){.room-runtime-sheet-focus .room-runtime-workspace{grid-template-columns:250px minmax(0,1fr)!important}.room-runtime-sheet-focus .room-runtime-detail-panel{grid-template-columns:minmax(0,1fr) 200px!important}}
@media(min-width:761px){.room-runtime-sheet-focus .room-runtime-mobile-back{display:none!important}}
@media(max-width:1100px){
 .room-runtime-sheet-focus .room-runtime-workspace{grid-template-columns:210px minmax(0,1fr)!important}
 .room-runtime-sheet-focus .room-runtime-detail-panel{display:flex!important;flex-direction:column!important;overflow:auto!important}
 .room-runtime-sheet-focus .room-runtime-sheet-controls{order:-1;flex:none;overflow:visible}
 .room-runtime-sheet-focus .room-runtime-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .room-runtime-sheet-focus .room-runtime-inline-os-slot{flex:1 0 65vh;height:auto!important}
}
@media(max-width:760px){
 .room-runtime.room-runtime-sheet-focus{height:calc(100dvh - 80px)!important;min-height:320px}
 .room-runtime-sheet-focus .room-runtime-workspace{display:block!important}
 .room-runtime-sheet-focus .room-runtime-workspace[data-mobile-pane="orders"] .room-runtime-detail-panel{display:none!important}
 .room-runtime-sheet-focus .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-orders-panel{display:none!important}
 .room-runtime-sheet-focus .room-runtime-workspace[data-mobile-pane="detail"] .room-runtime-detail-panel{display:flex!important}
 .room-runtime-sheet-focus .room-runtime-orders-panel{height:100%!important}
 .room-runtime-sheet-focus .room-runtime-mobile-back{display:inline-flex!important;min-height:44px!important}
 .room-runtime-sheet-focus .room-runtime-sheet-controls:has(.room-runtime-selection-empty){display:block}
}

/* Organização humana da fila — somente visual/front-end. */
.room-runtime-sheet-focus .room-runtime-workspace{grid-template-columns:310px minmax(0,1fr)!important}
.room-runtime-sheet-focus .room-runtime-detail-panel{grid-template-columns:minmax(0,1fr) 260px!important}
.room-runtime-sheet-focus .room-runtime-orders-panel{background:color-mix(in srgb,var(--panel) 96%,var(--bg) 4%)!important}
.room-runtime-sheet-focus .room-runtime-order{gap:10px!important;padding:12px!important;border-radius:12px!important}
.room-runtime-sheet-focus .room-runtime-order-head{gap:10px!important;align-items:start!important}
.room-runtime-sheet-focus .room-runtime-order-copy{gap:5px!important}
.room-runtime-sheet-focus .room-runtime-order-copy>strong{font-size:14px!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere}
.room-runtime-sheet-focus .room-runtime-order-copy>small{font-size:12px!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere}
.room-runtime-sheet-focus .room-runtime-order-client{color:var(--text)!important;font-weight:750!important}
.room-runtime-sheet-focus .room-runtime-order-due{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;margin-bottom:2px;border:1px solid color-mix(in srgb,var(--primary) 42%,var(--line));border-radius:9px;background:color-mix(in srgb,var(--primary) 8%,var(--panel));color:var(--text)}
.room-runtime-sheet-focus .room-runtime-order-due span{font-size:10px!important;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)!important}
.room-runtime-sheet-focus .room-runtime-order-due strong{font-size:13px!important;white-space:nowrap!important;color:var(--text)!important}
.room-runtime-sheet-focus .room-runtime-sheet-controls{padding:10px!important;display:flex!important;flex-direction:column!important;gap:10px!important}
.room-runtime-sheet-focus .room-runtime-selection,.room-runtime-sheet-focus .room-runtime-selection-empty{padding:12px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:color-mix(in srgb,var(--panel) 94%,var(--bg) 6%)!important}
.room-runtime-sheet-focus .room-runtime-selection-copy{width:100%!important;gap:7px!important}
.room-runtime-sheet-focus .room-runtime-selection-copy>span{font-size:10px!important;text-transform:uppercase!important;letter-spacing:.07em!important;color:var(--muted)!important}
.room-runtime-sheet-focus .room-runtime-selection-copy>strong{font-size:17px!important;line-height:1.28!important}
.room-runtime-sheet-focus .room-runtime-selection-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:100%;margin-top:2px}
.room-runtime-sheet-focus .room-runtime-selection-facts>span{display:grid;gap:2px;min-width:0;padding:8px;border:1px solid var(--line);border-radius:9px;background:var(--bg)}
.room-runtime-sheet-focus .room-runtime-selection-facts>span.is-wide{grid-column:1/-1}
.room-runtime-sheet-focus .room-runtime-selection-facts small{font-size:9px!important;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)!important}
.room-runtime-sheet-focus .room-runtime-selection-facts b{font-size:12px;line-height:1.3;overflow-wrap:anywhere;color:var(--text)}
.room-runtime-sheet-focus .room-runtime-status{align-self:flex-start;max-width:100%;padding:7px 10px;font-size:10px;white-space:normal;line-height:1.2}
.room-runtime-sheet-focus .room-runtime-actions-panel{padding:12px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:color-mix(in srgb,var(--panel) 94%,var(--bg) 6%)!important}
.room-runtime-sheet-focus .room-runtime-actions-head span{font-size:9px!important}
.room-runtime-sheet-focus .room-runtime-actions-head strong{font-size:13px!important;line-height:1.3}
.room-runtime-sheet-focus .room-runtime-action-rules{font-size:10px;line-height:1.45;color:var(--muted);padding:8px 9px;border-radius:8px;background:var(--bg)}
.room-runtime-sheet-focus .room-runtime-actions-grid{gap:9px!important}
.room-runtime-sheet-focus .room-runtime-action-btn{min-height:46px!important;border-radius:10px!important;font-size:13px!important;font-weight:850!important}
.room-runtime-sheet-focus .room-runtime-items-toggle{min-height:40px!important}
.room-runtime-sheet-focus .room-runtime-seller-head{min-height:48px}
@media(min-width:1600px){.room-runtime-sheet-focus .room-runtime-workspace{grid-template-columns:330px minmax(0,1fr)!important}.room-runtime-sheet-focus .room-runtime-detail-panel{grid-template-columns:minmax(0,1fr) 280px!important}}
@media(max-width:1100px) and (min-width:761px){.room-runtime-sheet-focus .room-runtime-workspace{grid-template-columns:270px minmax(0,1fr)!important}.room-runtime-sheet-focus .room-runtime-detail-panel{grid-template-columns:1fr!important}.room-runtime-sheet-focus .room-runtime-sheet-controls{width:100%;max-width:none}}
@media(max-width:760px){.room-runtime-sheet-focus .room-runtime-selection-facts{grid-template-columns:1fr}.room-runtime-sheet-focus .room-runtime-selection-facts>span.is-wide{grid-column:auto}.room-runtime-sheet-focus .room-runtime-order-due{align-items:flex-start;flex-direction:column;gap:2px}}

/* Nomes/numeros: acesso explicito a folha complementar da OS oficial (sem segundo renderer). */
.room-runtime-inline-os-toolbar .room-runtime-names-numbers-btn.has-data{border-color:#16a34a!important;box-shadow:inset 0 0 0 1px #16a34a!important;font-weight:850}.room-runtime-inline-os-toolbar .room-runtime-names-status{display:block!important;max-width:330px;color:#92400e!important;font-weight:750;text-transform:none!important;letter-spacing:0!important;white-space:normal!important}.room-runtime-inline-os-toolbar .room-runtime-names-status[hidden]{display:none!important}@media(max-width:760px){.room-runtime-inline-os-toolbar>div:last-child{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important}.room-runtime-inline-os-toolbar .room-runtime-names-numbers-btn{white-space:nowrap!important}}

/* Ficha Nomes/Numeros sempre acionavel: sem aspecto de botao morto. */
.room-runtime-inline-os-toolbar .room-runtime-names-numbers-btn:not(:disabled){border-color:#0ea5e9!important;color:#0f172a!important;background:#e0f2fe!important;font-weight:850!important;opacity:1!important}.room-runtime-inline-os-toolbar .room-runtime-names-numbers-btn.has-data{border-color:#16a34a!important;background:#dcfce7!important;color:#14532d!important}.room-runtime-inline-os-toolbar .room-runtime-names-numbers-btn:disabled{opacity:.55!important}

/* Pulso visual do gestor da producao na fila. */
@keyframes room-runtime-overdue-pulse{0%,100%{background:#430a10;border-color:#ff3b3b;box-shadow:0 0 0 2px rgba(255,59,59,.10),0 0 14px rgba(255,40,40,.25)}50%{background:#7a1018;border-color:#ff8a8a;box-shadow:0 0 0 4px rgba(255,59,59,.20),0 0 30px rgba(255,40,40,.60)}}



/* Gestor de producao: cobranca visivel diretamente na fila da sala. */
.room-runtime-order.is-room-overdue{border-color:#ff3b3b!important;box-shadow:0 0 0 1px rgba(255,59,59,.28),0 0 16px rgba(255,40,40,.12)}
.room-runtime-order-age-summary{display:grid;gap:2px;padding:7px 9px;border:1px solid #ff3b3b;border-radius:8px;background:#4a0c12;color:#fff;animation:room-runtime-overdue-pulse 1.25s ease-in-out infinite}
.room-runtime-order-age-summary strong{font-size:11px;letter-spacing:.03em;color:#fff}
.room-runtime-order-age-summary span{font-size:10px;line-height:1.3;color:#ffd7d7}
.room-runtime-item.is-room-overdue{border-color:#ff3b3b!important;background:color-mix(in srgb,#7f1018 28%,var(--panel) 72%)!important}
.room-runtime-item-copy{display:grid;gap:2px;min-width:0}
.room-runtime-queue-age{display:inline-flex!important;align-items:center;justify-content:flex-start;max-width:max-content;margin-top:3px;padding:3px 6px;border:1px solid #31556d;border-radius:999px;background:#0a1d2b;color:#9ddcff!important;font-size:9px!important;font-weight:850!important;line-height:1.2;letter-spacing:.025em;white-space:normal!important}
.room-runtime-queue-age.is-overdue{display:grid!important;gap:2px;max-width:100%;padding:6px 7px;border:1px solid #ff3b3b;border-radius:7px;background:#4a0c12;color:#fff!important;animation:room-runtime-overdue-pulse 1.25s ease-in-out infinite}
.room-runtime-queue-age.is-overdue strong{font-size:10px;color:#fff;line-height:1.2}
.room-runtime-queue-age.is-overdue small{font-size:9px!important;font-weight:800;color:#ffd7d7!important;line-height:1.25;white-space:normal!important}
.room-runtime-queue-age.is-overdue.is-compact{display:inline-flex!important;padding:3px 5px;border-radius:999px}
.room-runtime-queue-age.is-overdue.is-compact strong{font-size:9px}
@media(prefers-reduced-motion:reduce){.room-runtime-order-age-summary,.room-runtime-queue-age.is-overdue{animation:none;box-shadow:0 0 0 2px rgba(255,59,59,.24)}}


/* Gestor universal forte — um unico motor para todas as salas R2.
   Pisca abaixo de 3 Hz para manter destaque agressivo sem frequencia extrema. */
@keyframes room-runtime-overdue-hard-flash{
  0%,44%{outline-color:#ff1414;box-shadow:0 0 0 2px #ff1414,0 0 14px rgba(255,0,0,.72),inset 0 0 0 1px rgba(255,255,255,.08);filter:brightness(.84) saturate(1.15)}
  45%,100%{outline-color:#fff;box-shadow:0 0 0 4px #fff,0 0 0 7px #ff001e,0 0 38px rgba(255,0,30,.98),inset 0 0 18px rgba(255,0,30,.28);filter:brightness(1.42) saturate(1.8)}
}
@keyframes room-runtime-overdue-copy-flash{
  0%,44%{background:#3b0008;color:#fff;border-color:#ff1d2f;text-shadow:none}
  45%,100%{background:#ff1028;color:#fff;border-color:#fff;text-shadow:0 1px 0 #62000c,0 0 8px rgba(255,255,255,.9)}
}
.room-runtime-order.is-room-overdue{outline:2px solid #ff1414!important;outline-offset:1px;animation:room-runtime-overdue-hard-flash .78s step-end infinite!important}
.room-runtime-order.is-room-overdue .room-runtime-order-head{background:linear-gradient(90deg,rgba(255,0,30,.19),transparent)!important}
.room-runtime-order-age-summary{font-weight:900!important;text-transform:uppercase;animation:room-runtime-overdue-copy-flash .78s step-end infinite!important}
.room-runtime-order-age-summary strong{font-size:11px!important;letter-spacing:.055em!important}
.room-runtime-order-age-summary span{font-size:9px!important;font-weight:900!important;letter-spacing:.035em!important;color:#fff!important}
.room-runtime-item.is-room-overdue{outline:2px solid #ff1d2f!important;outline-offset:-1px;animation:room-runtime-overdue-hard-flash .78s step-end infinite!important}
.room-runtime-queue-age.is-overdue{font-weight:950!important;text-transform:uppercase;animation:room-runtime-overdue-copy-flash .78s step-end infinite!important}
.room-runtime-queue-age.is-overdue strong{font-weight:950!important;letter-spacing:.04em!important}
.room-runtime-queue-age.is-overdue small{font-weight:950!important;color:#fff!important}
.room-runtime-manager-strip{display:grid;gap:2px;margin:7px 0;padding:6px 8px;border:1px solid #31556d;border-radius:8px;background:#0a1d2b;color:#bde8ff}
.room-runtime-manager-strip strong{font-size:10px;letter-spacing:.055em;color:#dff5ff}
.room-runtime-manager-strip span{font-size:9px;line-height:1.25;font-weight:800;color:#9fcae2}
.room-runtime-manager-strip.is-overdue{border-color:#ff1128!important;background:#51000b!important;color:#fff!important;outline:2px solid #ff1128;animation:room-runtime-overdue-copy-flash .78s step-end infinite!important}
.room-runtime-manager-strip.is-overdue strong,.room-runtime-manager-strip.is-overdue span{color:#fff!important;font-weight:950!important}
@media(prefers-reduced-motion:reduce){
  .room-runtime-order.is-room-overdue,.room-runtime-item.is-room-overdue,.room-runtime-order-age-summary,.room-runtime-queue-age.is-overdue,.room-runtime-manager-strip.is-overdue{animation:none!important;filter:none!important;outline:3px solid #ff1128!important;box-shadow:0 0 0 3px #fff,0 0 0 6px #ff1128!important;background:#75000f!important;color:#fff!important}
}
