.filter-strip {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin: -5px 0 17px;
  padding: 12px 14px;
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.filter-strip label {
  display: grid;
  gap: 5px;
  min-width: 135px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .35px;
}

.filter-strip .form-control {
  height: 38px;
  padding: 8px 10px;
  background: #fff;
}

.filter-summary {
  margin-left: auto;
  padding: 8px 11px;
  border-radius: 999px;
  background: #eaf1ff;
  color: #145cff;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}
.sales-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:17px}
@media(max-width:580px){.sales-summary-grid{grid-template-columns:1fr}}

@media (max-width: 580px) {
  .filter-strip label { width: 100%; }
  .filter-summary { margin-left: 0; }
}

.module-cards { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.module-cards button { min-height:155px; padding:22px; text-align:left; border:1px solid var(--line); border-radius:15px; background:#fff; box-shadow:var(--shadow); }
.module-cards button:hover { border-color:#8eb0ff; transform:translateY(-2px); }
.module-cards span { width:44px; height:44px; display:grid; place-items:center; border-radius:12px; background:#eaf1ff; color:#145cff; font-size:19px; }
.module-cards strong,.module-cards small { display:block; }
.module-cards strong { margin-top:18px; font-size:15px; }
.module-cards small { margin-top:6px; color:var(--muted); }
.admin-modules,.admin-access { grid-column:1/-1; }
.admin-dashboard { grid-column:1/-1; }
.admin-audit { grid-column:1/-1; }
.config-title { margin:18px 0 10px; font-size:12px; }
.config-title:first-child { margin-top:0; }
.select-all-check,.permissions-head label { display:flex; gap:7px; align-items:center; font-size:10px; font-weight:800; }
.permissions-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.access-total { background:#eef4ff; border-color:#9db9f8; font-weight:900; }
.report-chart-grid { display:grid; grid-template-columns:1fr 1fr; gap:17px; margin-bottom:17px; }
.bar-chart { padding:18px 20px; display:grid; gap:12px; }
.bar-row { display:grid; grid-template-columns:110px 1fr 95px; gap:10px; align-items:center; font-size:10px; }
.bar-row>span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--muted); }
.bar-row>div { height:11px; border-radius:999px; background:#edf1f7; overflow:hidden; }
.bar-row i { display:block; height:100%; border-radius:999px; background:linear-gradient(90deg,#145cff,#14b8a6); }
.bar-row strong { text-align:right; font-size:10px; }
.dashboard-sales-chart { grid-column:1/-1; }
.pie-wrap { display:grid; grid-template-columns:190px 1fr; gap:24px; align-items:center; padding:20px; }
.pie-chart { width:180px; aspect-ratio:1; border-radius:50%; position:relative; }
.pie-chart:after { content:""; position:absolute; inset:28%; border-radius:50%; background:#fff; }
.pie-legend { display:grid; gap:8px; }
.pie-legend>div { display:grid; grid-template-columns:10px 1fr auto; gap:8px; align-items:center; font-size:10px; }
.pie-legend i { width:10px; height:10px; border-radius:3px; }
.pie-legend span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media(max-width:900px){.module-cards{grid-template-columns:repeat(2,1fr)}.report-chart-grid{grid-template-columns:1fr}}
@media(max-width:580px){.module-cards{grid-template-columns:1fr}.bar-row{grid-template-columns:85px 1fr 80px}.pie-wrap{grid-template-columns:1fr}.pie-chart{margin:auto}}
.alerts-panel{margin-bottom:17px}.alerts-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:12px}.alert-row{display:flex;gap:10px;align-items:center;text-align:left;border:1px solid var(--line);border-radius:11px;background:#fff;padding:11px}.alert-row>span{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;font-weight:900}.alert-row.danger>span{background:#ffeded;color:#bd3f3f}.alert-row.warning>span{background:#fff3d6;color:#8a5a0b}.alert-row strong,.alert-row small{display:block}.alert-row strong{font-size:10px}.alert-row small{font-size:9px;color:var(--muted);margin-top:4px}.attachment-list{display:grid;gap:7px;margin-bottom:9px}.attachment-list>div{display:grid;grid-template-columns:1fr auto 30px;gap:8px;align-items:center;padding:8px;border:1px solid var(--line);border-radius:9px}.attachment-list a{font-size:10px;font-weight:800}.attachment-list small{font-size:8px;color:var(--muted)}.attachment-list button{border:0;background:#ffeded;color:#bd3f3f;border-radius:7px;height:27px}@media(max-width:900px){.alerts-list{grid-template-columns:1fr}}
.dashboard-organizer{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-bottom:14px;color:var(--muted);font-size:11px}
.dashboard-builder-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;align-items:start}
.dashboard-widget{position:relative;min-width:0;margin:0!important}
.dashboard-widget.widget-small{grid-column:span 2}
.dashboard-widget.widget-narrow{grid-column:span 3}
.dashboard-widget.widget-wide{grid-column:span 9}
.dashboard-widget.widget-full{grid-column:1/-1}
.dashboard-widget[data-widget-size="1"]{grid-column:span 3}
.dashboard-widget[data-widget-size="2"]{grid-column:span 6}
.dashboard-widget[data-widget-size="3"]{grid-column:span 9}
.dashboard-widget[data-widget-size="4"]{grid-column:1/-1}
.widget-drag-handle{display:none;position:absolute;z-index:5;right:9px;top:8px;width:30px;height:28px;border-radius:8px;background:#145cff;color:#fff;place-items:center;font-weight:900;cursor:grab;box-shadow:0 5px 14px rgba(20,92,255,.25)}
.dashboard-builder-grid.organizing .dashboard-widget{outline:2px dashed #8cafff;outline-offset:3px;cursor:grab;user-select:none}
.dashboard-builder-grid.organizing .widget-drag-handle{display:grid}
.widget-resize-controls{position:absolute;z-index:7;left:10px;top:8px;display:flex;align-items:center;gap:4px;padding:3px;border-radius:9px;background:#fff;border:1px solid #b8caff;box-shadow:0 5px 14px rgba(15,23,42,.15)}
.widget-resize-controls button{width:27px;height:26px;border:0;border-radius:6px;background:#eaf1ff;color:#145cff;font-weight:900;cursor:pointer}
.widget-resize-controls span{min-width:68px;text-align:center;font-size:8px;font-weight:850;color:#526175}
.dashboard-size-select{width:135px;padding:7px 8px}
.dashboard-widget.dragging,.dashboard-config-row.dragging{opacity:.42}
.dashboard-widget-config{display:grid;gap:8px}
.dashboard-config-row{display:grid;grid-template-columns:26px 20px 1fr auto;gap:8px;align-items:center;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:grab}
.dashboard-config-row:hover{border-color:#8cafff;background:#f8faff}
.dashboard-config-row input{accent-color:#145cff}
.dashboard-config-row strong{font-size:11px}
.dashboard-config-row small{font-size:9px;color:var(--muted)}
.config-drag{font-size:18px;color:#8b98aa;font-weight:900}
@media(max-width:1250px){.dashboard-widget[data-widget-size="1"]{grid-column:span 4}.dashboard-widget[data-widget-size="2"],.dashboard-widget[data-widget-size="3"]{grid-column:span 8}}
@media(max-width:820px){.dashboard-widget[data-widget-size="1"]{grid-column:span 6}.dashboard-widget[data-widget-size="2"],.dashboard-widget[data-widget-size="3"],.dashboard-widget[data-widget-size="4"]{grid-column:1/-1}.dashboard-organizer span{display:none}}
@media(max-width:580px){.dashboard-widget[data-widget-size]{grid-column:1/-1}.dashboard-config-row{grid-template-columns:24px 20px 1fr}.dashboard-size-select{grid-column:3;width:100%}}

/* VisualControl 9 — tema escuro moderno */
.app-shell{--text:#e8eef8;--muted:#8b9ab0;--line:#263247;--panel:#111a2a;--bg:#080d17;--navy:#050a12;--navy-2:#101a2a;--primary:#287cff;--primary-soft:#13284a;--green:#32d296;--red:#ff6676;--orange:#ffad42;--blue:#4a93ff;background:radial-gradient(circle at 78% -20%,rgba(40,124,255,.14),transparent 35%),#080d17;min-height:100vh;color:var(--text)}
.app-shell .main-content{background:transparent;min-height:100vh}.app-shell .sidebar{background:linear-gradient(180deg,#050b15,#071326 62%,#06101e);border-right:1px solid #18263a;box-shadow:12px 0 40px rgba(0,0,0,.18)}
.app-shell .brand{border-bottom-color:#1b2a40}.app-shell .brand strong{color:#f6f9ff}.app-shell .brand span,.app-shell .user-meta span{color:#71829b}.app-shell .nav-item{color:#9cabc0}.app-shell .nav-item:hover{background:#101e33;color:#fff}.app-shell .nav-item.active{background:linear-gradient(135deg,#1769ff,#0955dc);color:#fff;box-shadow:0 8px 22px rgba(23,105,255,.28)}
.app-shell .sidebar-footer{background:#081426;border-color:#1c2b41}.app-shell .logout-button{color:#91a1b7}.app-shell .topbar h1{color:#f5f8ff;font-size:27px}.app-shell .topbar p,.app-shell .today{color:#7f8fa6}
.app-shell .panel,.app-shell .metric-card,.app-shell .media-card,.app-shell .production-package,.app-shell .module-cards button{background:linear-gradient(145deg,#121c2d,#0f1827);border-color:#253249;box-shadow:0 12px 32px rgba(0,0,0,.18)}
.app-shell .metric-card{min-height:126px;padding:19px}.app-shell .metric-card:hover,.app-shell .media-card:hover{border-color:#35527b;box-shadow:0 16px 38px rgba(0,0,0,.28)}.app-shell .metric-card.highlight{background:linear-gradient(145deg,#18243a,#101a2b)}.app-shell .metric-card span,.app-shell .metric-card small{color:#8291a8}.app-shell .metric-card strong{color:#f5f8ff;font-size:22px}.app-shell .metric-icon.purple,.app-shell .metric-icon.blue{background:#122f5d;color:#55a0ff}.app-shell .metric-icon.orange{background:#3b2919;color:#ffad42}.app-shell .metric-icon.green{background:#12352f;color:#3cdaa3}.app-shell .metric-icon.dark{background:#25344e;color:#d8e3f3}
.app-shell .panel-header{background:linear-gradient(180deg,#131e30,#101927);border-bottom-color:#263247}.app-shell .panel-header h2{color:#f0f5fd}.app-shell .panel-header p{color:#7f8fa6}.app-shell table{color:#dce5f2}.app-shell th{background:#0d1522;color:#7788a1}.app-shell td{border-top-color:#233047}.app-shell tbody tr:hover{background:#152137}
.app-shell .search-box,.app-shell .form-control,.app-shell .secondary-button,.app-shell .icon-button,.app-shell .report-tab{background:#101a2a;border-color:#2a3951;color:#dce6f4}.app-shell .search-box input{color:#e7edf7}.app-shell .form-control:focus{background:#121f33;border-color:#3c8cff}.app-shell option{background:#111b2b;color:#eef3fb}.app-shell .secondary-button:hover,.app-shell .icon-button:hover{background:#17243a;border-color:#3b79d1}.app-shell .count-badge{background:#1b273b;color:#99a9bf}.app-shell .primary-button{background:linear-gradient(135deg,#287cff,#0961e8)}
.app-shell .quick-action{background:#121e30;border-color:#293850;color:#e8eef8}.app-shell .quick-action:hover{background:#172641;border-color:#3b80df}.app-shell .quick-action>span{background:#14305a;color:#59a1ff}.app-shell .quick-action small{color:#8392a8}.app-shell .alert-row{background:#121d2e;border-color:#29374d}.app-shell .alert-row:hover{background:#18253a}.app-shell .alert-row small{color:#8b9ab0}.app-shell .alert-row.danger>span{background:#431f2a;color:#ff7b89}.app-shell .alert-row.warning>span{background:#3c2e18;color:#ffc15c}
.app-shell .bar-row>div{background:#202d42}.app-shell .pie-chart:after{background:#111a2a}.app-shell .pie-legend{color:#cbd6e5}.app-shell .empty-state{color:#75859d}.app-shell .status-rascunho,.app-shell .status-pendente{background:#283248;color:#b3bfd0}.app-shell .status-aprovado,.app-shell .status-recebida,.app-shell .status-convertido{background:#12382e;color:#50dfa9}.app-shell .status-recusado,.app-shell .status-cancelada{background:#43202a;color:#ff8390}
.app-shell .module-cards button:hover{border-color:#3d6fb3;background:#15233a}.app-shell .module-cards strong{color:#eef3fb}.app-shell .module-cards small{color:#8190a6}.app-shell .production-package header small,.app-shell .production-package>p,.app-shell .package-data span,.app-shell .package-detail span{color:#8191a9}.app-shell .package-data div,.app-shell .package-detail div,.app-shell .batch-history>div{background:#0c1522}.app-shell .production-sale-list button,.app-shell .production-dispatch-items>label{background:#101a2a;border-color:#2b3950;color:#e4ebf5}
.app-shell .permission-check,.app-shell .dashboard-config-row{background:#101a2a;border-color:#29374d;color:#c9d4e3}.app-shell .dashboard-config-row:hover{background:#15243b}.app-shell .access-total{background:#122a4d;border-color:#315d99}.app-shell .formula-banner,.app-shell .source-banner,.app-shell .pix-summary{background:#111f34;border-color:#29466c;color:#c8d7ea}
.modal-backdrop .modal{background:#101827;color:#e8eef8}.modal-backdrop .modal-header{background:#121d2f;border-bottom-color:#263247}.modal-backdrop .modal-header p{color:#8493a9}.modal-backdrop .form-footer{background:#0c1421;border-top-color:#263247}.modal-backdrop .form-control{background:#0c1523;border-color:#2a3a52;color:#e6edf7}.modal-backdrop option{background:#111a29;color:#fff}.modal-backdrop .secondary-button,.modal-backdrop .icon-button{background:#121d2d;border-color:#2d3b51;color:#dce5f2}.modal-backdrop .items-box{border-color:#29374d}.modal-backdrop .items-title{background:#0d1623;border-color:#29374d}.modal-backdrop .builder-item{border-color:#29374d}.modal-backdrop .total-box{background:#07101e}.modal-backdrop label{color:#aebbd0!important}
.dashboard-line-svg{width:100%;min-height:260px;overflow:visible}.dashboard-line-svg .chart-grid line{stroke:#2a3649;stroke-width:1}.dashboard-line-svg text{fill:#7889a2;font-size:10px}.dashboard-line-svg .chart-area{fill:url(#salesAreaGradient)}.dashboard-line-svg .chart-line{fill:none;stroke:#358cff;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 4px 7px rgba(53,140,255,.3))}.dashboard-line-svg circle{fill:#101a2a;stroke:#50a0ff;stroke-width:3}
.production-dashboard-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:17px}.production-dashboard-summary button{display:flex;align-items:center;gap:11px;text-align:left;padding:14px;border:1px solid #29374d;border-radius:12px;background:#0d1726;color:#e8eef8}.production-dashboard-summary button:hover{background:#14223a;border-color:#3b78cf}.production-dashboard-summary button>span{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:#13315c;color:#5ba4ff;font-size:18px}.production-dashboard-summary small,.production-dashboard-summary strong,.production-dashboard-summary em{display:block}.production-dashboard-summary small{color:#8191a8}.production-dashboard-summary strong{margin:4px 0;font-size:14px}.production-dashboard-summary em{font-size:9px;color:#5bd4b0;font-style:normal}
.app-shell ::-webkit-scrollbar{width:9px;height:9px}.app-shell ::-webkit-scrollbar-track{background:#080f1a}.app-shell ::-webkit-scrollbar-thumb{background:#2b3a51;border-radius:10px}@media(max-width:1000px){.production-dashboard-summary{grid-template-columns:repeat(2,1fr)}}@media(max-width:580px){.production-dashboard-summary{grid-template-columns:1fr}.dashboard-line-svg{min-width:680px}.app-shell .bar-chart{overflow-x:auto}}
.production-room-tabs{display:flex;gap:8px;overflow-x:auto;margin-bottom:16px}.production-room-tabs button span{display:inline-flex;margin-left:5px;min-width:19px;height:19px;align-items:center;justify-content:center;border-radius:999px;background:#eef2f7;color:#536073;font-size:9px}.production-room-tabs button.active span{background:rgba(255,255,255,.2);color:#fff}.production-station-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.production-package{background:#fff;border:1px solid var(--line);border-top:4px solid #94a3b8;border-radius:14px;box-shadow:var(--shadow);padding:16px}.production-package.priority-alta{border-top-color:#f59e0b}.production-package.priority-urgente{border-top-color:#ef4444}.production-package header{display:flex;justify-content:space-between;gap:12px}.production-package header small{color:var(--muted);font-size:9px}.production-package h3{font-size:14px;margin:5px 0}.package-data,.package-detail{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin:14px 0}.package-data div,.package-detail div{padding:9px;border-radius:9px;background:#f7f9fc}.package-data span,.package-detail span{display:block;color:var(--muted);font-size:8px;text-transform:uppercase}.package-data strong,.package-detail strong{display:block;font-size:11px;margin-top:4px}.production-package>p{font-size:10px;color:#64748b}.production-package footer{display:flex;justify-content:flex-end;gap:7px;margin-top:13px}.production-sale-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.production-sale-list button{display:grid;gap:4px;text-align:left;padding:14px;border:1px solid var(--line);border-radius:11px;background:#fff}.production-sale-list button:hover{border-color:#145cff;background:#f7faff}.production-sale-list span,.production-sale-list small{font-size:10px;color:var(--muted)}.production-dispatch-items{display:grid;gap:9px;margin-top:18px}.production-dispatch-items>label{display:grid;grid-template-columns:22px 1fr 130px;align-items:center;gap:10px;padding:11px;border:1px solid var(--line);border-radius:10px}.production-dispatch-items strong,.production-dispatch-items small{display:block}.production-dispatch-items small{color:var(--muted);margin-top:3px;font-size:9px}.batch-history{display:grid;gap:7px}.batch-history>div{display:grid;gap:3px;padding:9px;border-left:3px solid #145cff;background:#f7f9fc}.batch-history span,.batch-history small{font-size:9px;color:var(--muted)}@media(max-width:1100px){.production-station-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.production-station-grid,.production-sale-list{grid-template-columns:1fr}.production-dispatch-items>label{grid-template-columns:22px 1fr}.production-dispatch-items>label input:last-child{grid-column:2}}
.app-shell .update-status{background:#0c1522;border-color:#2b3950}.app-shell .update-steps span{background:#101a2a;color:#8997aa}.app-shell .update-version{background:#102a4b;color:#67a6ff}

/* VisualControl 10 — quadro de produção clean para TV */
.production-board-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px}.production-board-head>div{display:flex;align-items:center;gap:10px}.production-board-head strong{font-size:20px;color:#eef4ff}.production-board-head small{color:#4f9cff;font-size:10px}.production-live-summary{height:48px;margin-bottom:14px;padding:0 18px;border:1px solid #253249;border-radius:11px;background:#111c2c;display:flex;align-items:center;gap:34px;color:#aab6c8}.production-live-summary span{display:flex;align-items:center;gap:8px;font-size:10px;text-transform:uppercase}.production-live-summary span i{width:7px;height:7px;border-radius:50%;background:#2477ea}.production-live-summary span:nth-child(3) i{background:#20a77f}.production-live-summary strong{font-size:17px;color:#f4f7fc}.production-live-summary em{margin-left:auto;font-size:9px;font-style:normal}.production-board-layout{display:grid;grid-template-columns:minmax(0,1fr) 0;gap:16px;transition:.2s}.production-board-layout:has(.production-detail-drawer:not([hidden])){grid-template-columns:minmax(0,1fr) minmax(300px,27%)}.production-station-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.production-package{min-width:0;padding:12px;border:1px solid #253249;border-top:1px solid #253249;background:#111b2a!important;cursor:pointer;transition:.18s}.production-package:hover{border-color:#3d5f8c;transform:translateY(-1px)}.production-package.priority-alta{border-top:2px solid #c78a20}.production-package.priority-urgente{border-top:2px solid #ca4545}.production-package header{height:26px;align-items:center}.production-package header>strong{font-size:11px;color:#3f91ff}.production-package .status{padding:3px 7px;background:transparent;font-size:8px}.production-art{height:128px;margin:6px 0 10px;border-radius:8px;overflow:hidden;background:#0b1421}.production-art img,.production-drawer-art img{width:100%;height:100%;object-fit:cover;display:block}.production-art-empty{height:100%;display:grid;place-content:center;text-align:center;color:#4d5f75}.production-art-empty span{font-size:18px;font-weight:900}.production-art-empty small{font-size:8px}.production-card-meta{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}.production-card-meta small,.production-detail-drawer label{display:block;color:#75849a;font-size:8px;text-transform:uppercase}.production-card-meta strong{display:block;margin-top:3px;color:#edf2f8;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.production-progress{display:grid;grid-template-columns:34px minmax(35px,auto) 34px 1fr;align-items:center;gap:7px;margin-top:10px;padding-top:9px;border-top:1px solid #263247}.production-progress button{height:32px;border:0;border-radius:7px;background:#182537;color:#e7edf5;font-size:19px}.production-progress button:hover{background:#213552}.production-progress strong{font-size:19px;text-align:center;color:#fff}.production-progress span{font-size:10px;color:#8491a4}.production-pagination{height:54px;display:flex;align-items:center;justify-content:center;gap:18px;color:#8f9bae}.production-pagination button{width:38px;height:34px;border:1px solid #29384e;border-radius:8px;background:#111b2a;color:#e7edf5}.production-pagination button:disabled{opacity:.25}.production-pagination strong{font-size:10px;color:#e3e9f2}.production-pagination>span{display:flex;gap:5px}.production-pagination i{width:6px;height:6px;border-radius:50%;background:#344155}.production-pagination i.active{background:#1974ff}.production-pagination small{font-size:8px}.production-empty{display:block!important;grid-column:1/-1;padding:80px}.production-detail-drawer{position:relative;min-height:630px;padding:18px;border:1px solid #29384e;border-radius:13px;background:#101a29;color:#e9eef6}.production-drawer-close{position:absolute;top:12px;right:13px;border:0;background:transparent;color:#9aa7b9;font-size:24px}.production-detail-drawer>small{color:#438cff;font-size:9px}.production-detail-drawer h2{margin:5px 0 14px;font-size:17px}.production-drawer-art{height:200px;margin-bottom:16px;border-radius:9px;overflow:hidden;background:#0b1421}.production-detail-drawer>strong{display:block;margin:4px 0 13px;font-size:12px}.production-drawer-progress{margin-top:20px;padding-top:16px;border-top:1px solid #263247}.production-progress.large{grid-template-columns:48px 1fr 48px auto;border:0}.production-progress.large button{height:48px}.production-progress.large strong{font-size:30px}.production-drawer-actions{display:grid;gap:9px;margin-top:24px}.production-drawer-actions button{width:100%}#page-production:fullscreen{overflow:auto;padding:24px;background:#07111d}#page-production:fullscreen .production-board-head .primary-button{display:none}
@media(max-width:1200px){.production-board-layout:has(.production-detail-drawer:not([hidden])){grid-template-columns:1fr}.production-detail-drawer{position:fixed;z-index:45;inset:20px 20px 20px auto;width:min(390px,calc(100vw - 40px));overflow:auto;box-shadow:0 20px 60px #000}.production-station-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.production-live-summary{gap:12px;padding:0 10px}.production-live-summary em{display:none}.production-station-grid{grid-template-columns:1fr}.production-board-head{align-items:flex-start}.production-board-head>div:last-child{flex-wrap:wrap;justify-content:flex-end}}
.production-art,.production-drawer-art{position:relative!important}.production-progress{grid-template-columns:34px minmax(55px,78px) 34px 1fr!important}.production-progress input{width:100%;height:32px;border:1px solid #34465d;border-radius:7px;background:#0a1420;color:#fff;text-align:center;font-size:16px;font-weight:800;padding:0 4px}.production-progress.large{grid-template-columns:48px minmax(80px,1fr) 48px auto!important}.production-progress.large input{height:48px;font-size:26px}.production-deadline{position:absolute;right:7px;bottom:7px;padding:5px 8px;border-radius:999px;border:1px solid;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.3px;box-shadow:0 3px 12px #0008}.production-deadline.ontime{color:#75e6bd;background:#092c25e8;border-color:#1d8c69}.production-deadline.late{color:#ff9c9c;background:#3a1013ed;border-color:#b43b43}.production-deadline.neutral{color:#c2ccda;background:#202b3be8;border-color:#536174}
.production-quick-transfer{margin-top:10px;padding-top:9px;border-top:1px solid #263247}.production-quick-transfer>label{display:block;margin-bottom:6px;color:#8290a3;font-size:8px;font-weight:800;text-transform:uppercase}.production-quick-transfer>div{display:flex;gap:6px}.production-quick-transfer input{width:70px;min-width:0;height:37px;border:1px solid #34465d;border-radius:7px;background:#0a1420;color:#fff;text-align:center;font-weight:800}.production-quick-transfer button{flex:1;min-width:0;height:37px;border-radius:7px;padding:0 6px;font-size:9px;font-weight:850;color:#fff}.production-quick-transfer .quick-next{border:0;background:#1261e8}.production-quick-transfer .quick-return{border:1px solid #554633;background:#2a2118;color:#ffd18c}.production-details-link{display:block;width:100%;margin-top:7px;border:0;background:transparent;color:#718097;font-size:8px;text-decoration:underline}@media(max-width:650px){.production-quick-transfer button{font-size:9px}}
.sale-art-field{min-width:115px}.sale-art-upload{min-height:58px;border:1px dashed #3b506d;border-radius:9px;background:#0c1624;color:#7faef5;display:flex;align-items:center;justify-content:center;gap:7px;padding:5px;cursor:pointer;text-align:center;font-size:9px}.sale-art-upload img{width:54px;height:46px;object-fit:cover;border-radius:6px}.print-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.print-choice{display:grid;gap:7px;text-align:left;padding:18px;border:1px solid #2a3a52;border-radius:12px;background:#0c1624;color:#e8eef8}.print-choice:hover{border-color:#3d83e5;background:#132238}.print-choice small{color:#8b9ab0}.audit-controls{display:flex;align-items:center;gap:10px}.audit-controls label{display:flex;align-items:center;gap:6px;color:#aebbd0;font-size:10px}.audit-controls input{accent-color:#287cff}.app-shell .pro-summary article,.app-shell .kanban-column,.app-shell .kanban-column>header,.app-shell .work-card,.app-shell .backup-intro,.app-shell .backup-items span,.app-shell .backup-warning,.app-shell .pix-key,.app-shell .plan-option,.app-shell .document-totals-editor{background:#101a2a!important;border-color:#29374d!important;color:#dce6f4!important}.app-shell .kanban-column{background:#0c1522!important}.app-shell .work-card strong,.app-shell .backup-intro strong{color:#edf3fb}.modal-backdrop .client-summary,.modal-backdrop .document-totals-editor,.modal-backdrop .document-logo,.modal-backdrop .attachment-list>div{background:#0c1523!important;border-color:#29374d!important;color:#dce6f4}.modal-backdrop .small-button{background:#14294b;border-color:#315a91;color:#6da9ff}.modal-backdrop .document-view table th{background:#0b1421}.modal-backdrop .document-view table td{border-color:#263247}.modal-backdrop .document-final-summary{color:#dce6f4}@media(max-width:650px){.print-choice-grid{grid-template-columns:1fr}.audit-controls{align-items:flex-end;flex-direction:column}}

/* VisualControl 10.5.2 — acabamento completo do tema escuro */
.app-shell .filter-strip,.app-shell .report-filter-panel{background:#101a2a!important;border-color:#293a53!important;color:#dce6f4!important;box-shadow:0 10px 28px rgba(0,0,0,.16)}
.app-shell .filter-strip label{color:#8f9eb4}.app-shell .filter-strip .form-control{background:#0c1625!important;border-color:#30415b!important;color:#eaf0f8!important;color-scheme:dark}
.app-shell .filter-summary{background:#132b50;color:#69a8ff;border:1px solid #244a7d}.app-shell input[type="date"],.app-shell input[type="month"],.app-shell input[type="time"]{color-scheme:dark;min-height:38px}
.app-shell .widget-resize-controls,.app-shell .small-button,.app-shell .upload-button{background:#121e30!important;border-color:#30415b!important;color:#7db1ff!important}
.app-shell .items-title,.app-shell .document-totals-editor,.app-shell .client-summary,.app-shell .update-content,.app-shell .backup-content{background:#0f1928!important;border-color:#29374d!important;color:#dce6f4}
.app-shell .stock-box{background:#12352f;color:#55dca9}.app-shell .stock-box.low{background:#3a2918;color:#ffc16b}.app-shell .stock-box.out{background:#3d1e28;color:#ff8793}
.app-shell .toast{background:#111d2f;color:#e8eef8;border-color:#32d296}.app-shell .danger-button{background:#351b25;border-color:#65303e;color:#ff9aa5}
@media(max-width:580px){.app-shell .filter-strip{padding:13px;gap:11px}.app-shell .filter-strip label{width:100%;min-width:0}.app-shell .filter-strip .form-control{height:44px;min-height:44px}.app-shell .filter-summary{margin-left:0;max-width:100%;white-space:normal}.app-shell .report-filter-panel{padding:12px}}
.merge-sales-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 9px;color:#aebbd0;font-size:10px}.merge-sales-head label{display:flex;align-items:center;gap:6px}.merge-sales-list{display:grid;gap:8px}.merge-sale-option{display:grid!important;grid-template-columns:22px 1fr auto;align-items:center;gap:11px;padding:13px;border:1px solid #2a3a52;border-radius:11px;background:#0c1624;color:#e8eef8!important;cursor:pointer}.merge-sale-option:has(input:checked){border-color:#3c86e9;background:#122641}.merge-sale-option input{accent-color:#287cff}.merge-sale-option span strong,.merge-sale-option span small{display:block}.merge-sale-option span small{margin-top:4px;color:#8b9ab0}.merge-sale-option em{margin-left:7px;padding:4px 7px;border-radius:999px;background:#14315a;color:#73adff;font-size:8px;font-style:normal}.merge-sale-option b{white-space:nowrap}@media(max-width:580px){.merge-sale-option{grid-template-columns:22px 1fr}.merge-sale-option b{grid-column:2}}
.app-shell .status-unificada{background:#302657;color:#c2b3ff}

/* VisualControl 12 — tema por empresa e painel da plataforma */
.theme-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px}.theme-choice button{padding:22px;border:1px solid #30415b;border-radius:13px;background:#0c1625;color:#dce6f4;font-weight:850}.theme-choice button:hover{border-color:#287cff}.platform-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:18px}.platform-summary article{padding:17px;border:1px solid #293a53;border-radius:12px;background:#0c1625}.platform-summary span,.platform-summary small{display:block;color:#8f9eb4;font-size:10px}.platform-summary strong{display:block;margin:7px 0;color:#f3f7fd;font-size:24px}
[data-theme="light"] .app-shell{--text:#172033;--muted:#6f7b8e;--line:#dde3ec;--panel:#fff;--bg:#f4f7fb;background:#f4f7fb;color:#172033}[data-theme="light"] .app-shell .main-content{background:#f4f7fb}[data-theme="light"] .app-shell .topbar h1,[data-theme="light"] .app-shell .metric-card strong,[data-theme="light"] .app-shell .panel-header h2,[data-theme="light"] .app-shell .module-cards strong{color:#172033}[data-theme="light"] .app-shell .panel,[data-theme="light"] .app-shell .metric-card,[data-theme="light"] .app-shell .media-card,[data-theme="light"] .app-shell .module-cards button,[data-theme="light"] .app-shell .pro-summary article{background:#fff!important;border-color:#dde3ec!important;box-shadow:0 8px 24px rgba(20,29,50,.06)}[data-theme="light"] .app-shell .panel-header{background:#fbfcfe;border-color:#e1e6ee}[data-theme="light"] .app-shell table{color:#253047}[data-theme="light"] .app-shell th{background:#f5f7fa;color:#64748b}[data-theme="light"] .app-shell td{border-color:#e5e9f0}[data-theme="light"] .app-shell tbody tr:hover{background:#f7f9fc}[data-theme="light"] .app-shell .search-box,[data-theme="light"] .app-shell .form-control,[data-theme="light"] .app-shell .secondary-button,[data-theme="light"] .app-shell .icon-button,[data-theme="light"] .app-shell .report-tab,[data-theme="light"] .app-shell .filter-strip,[data-theme="light"] .app-shell .report-filter-panel{background:#fff!important;border-color:#d8e0eb!important;color:#263247!important}[data-theme="light"] .app-shell input[type="date"],[data-theme="light"] .app-shell input[type="month"],[data-theme="light"] .app-shell input[type="time"]{color-scheme:light}[data-theme="light"] .app-shell .permission-check,[data-theme="light"] .app-shell .dashboard-config-row,[data-theme="light"] .app-shell .quick-action,[data-theme="light"] .app-shell .alert-row{background:#fff;border-color:#dce3ed;color:#263247}[data-theme="light"] .app-shell .count-badge{background:#edf2f8;color:#526175}[data-theme="light"] .app-shell .empty-state{color:#7b8798}@media(max-width:900px){.platform-summary{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.platform-summary,.theme-choice{grid-template-columns:1fr}}
