/* Shared visual language. Business behavior stays in the existing modules. */
.app-shell{grid-template-columns:260px minmax(0,1fr)}
.sidebar{background:var(--nav-bg);color:var(--nav-ink);padding:26px 16px 18px;border:0;gap:22px;scrollbar-width:thin;scrollbar-color:#ffffff30 transparent}
.sidebar-header{padding:0 10px 20px;border-bottom:1px solid #ffffff13}
.sidebar .brand{border:0;padding:0;gap:11px}.brand-mark,.brand-mark img{width:38px;height:38px;flex-basis:38px}.brand-mark{display:grid;place-items:center;border-radius:11px;background:var(--accent)}.brand-mark img{padding:6px;filter:grayscale(1) brightness(.25)}
.sidebar .brand strong{font-size:21px;color:var(--nav-ink);letter-spacing:-.8px;font-weight:800}.sidebar .brand small{font-size:11px;color:var(--nav-muted);letter-spacing:.03em;margin-top:3px}
.sidebar-navigation{gap:8px}.sidebar .tabs{display:grid;gap:20px}.nav-group{display:grid;gap:4px}.nav-group-label{margin:0 14px 6px;font-size:10px;letter-spacing:.16em;color:var(--nav-muted);font-weight:700}
.sidebar .tab{width:100%;min-height:42px;padding:10px 13px;gap:12px;background:transparent;border:1px solid transparent;border-radius:10px;color:var(--nav-muted);font-size:13px;font-weight:500;text-align:left;box-shadow:none;white-space:normal}
.sidebar .tab svg{width:19px;height:19px;flex-basis:19px;opacity:.9}.sidebar .tab .nav-copy{display:grid;gap:2px;min-width:0}.sidebar .tab .nav-copy>span{overflow-wrap:normal}.nav-copy small{font-size:11px;color:var(--nav-muted);font-weight:400}.sidebar .tab-featured{min-height:62px;background:#ffffff05;border:1px solid #ffffff0c;color:var(--nav-ink);font-size:14px;font-weight:650}.sidebar .tab-featured svg{width:22px;height:22px;flex-basis:22px}
.sidebar .tab.active{background:var(--nav-active);color:var(--nav-active-ink);border-color:transparent;font-weight:750;box-shadow:none}.sidebar .tab.active .nav-copy small{color:inherit;opacity:.75}.sidebar .tab.active::after{display:none}.sidebar .tab:hover:not(.active){background:#ffffff10;color:var(--nav-ink)}.sidebar .tab:focus-visible{outline:2px solid var(--nav-ink);outline-offset:2px}
.appearance-button,.sidebar-logout{display:flex;align-items:center;gap:12px;width:100%;min-height:40px;padding:10px 13px;border:0;border-radius:9px;background:transparent;color:var(--nav-muted);font-size:13px;font-weight:500;text-align:left}.appearance-button{margin-top:18px;border-top:1px solid #ffffff13;border-radius:0;padding-top:17px}.appearance-button svg,.sidebar-logout svg{width:18px;height:18px;flex:0 0 18px}.appearance-button:hover,.sidebar-logout:hover{color:var(--nav-ink);background:#ffffff09;border-color:#ffffff13}.appearance-dots{margin-left:auto;display:flex;gap:3px}.appearance-dots i{height:8px;width:8px;border-radius:50%;background:#365de7}.appearance-dots i:nth-child(2){background:#b9e952}.appearance-dots i:nth-child(3){background:#b489d9}.sidebar-logout{margin-top:0}
.workspace{padding:30px 36px 55px;min-width:0;max-width:1660px;width:100%;margin:auto}.topbar{align-items:flex-start;margin-bottom:22px;gap:20px}.topbar>div:first-child{min-width:0}.eyebrow{font-size:10px;letter-spacing:.15em;color:var(--text-secondary);font-weight:750;margin-bottom:8px}.topbar h1{font-size:29px;letter-spacing:-1px;font-weight:800}.view-description{max-width:740px;color:var(--text-secondary);font-size:13px;margin:10px 0 0;line-height:1.65}.actions{flex-shrink:0;padding-top:14px;gap:10px}.workspace-date{font-size:12px;color:var(--text-secondary);border:1px solid var(--border);border-radius:9px;padding:9px 11px;white-space:nowrap;background:var(--panel)}
.icon-button{background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:10px;width:38px;height:38px;min-height:38px;box-shadow:0 2px 4px #14223504}.icon-button svg{width:18px;height:18px}.icon-button:hover{background:var(--accent-soft)}.topbar-button{background:var(--panel);border:1px solid var(--border);color:var(--text);border-radius:9px}.topbar-button:hover{background:var(--accent-soft)}
.start-guide{background:transparent;border:1px dashed var(--border);border-radius:11px;margin-bottom:22px}.start-guide summary{padding:13px 16px;gap:12px;font-size:12px;color:var(--text-secondary)}.guide-label{color:var(--accent-soft-ink);font-size:10px;letter-spacing:.08em;font-weight:750}.guide-expand{font-size:18px}.guide-steps{gap:18px;padding:5px 18px 18px;grid-template-columns:repeat(4,minmax(0,1fr))}.guide-steps b{font-size:13px;color:var(--text)}.guide-steps p{font-size:12px;color:var(--text-secondary)}
body[data-page=producao] .start-guide,body[data-page=aproveitamento] .start-guide{display:none}
.product-section-tabs{gap:6px;margin:0 0 20px;padding:5px;border-radius:12px;background:var(--panel);border:1px solid var(--border);width:max-content;max-width:100%;flex-wrap:wrap}.product-section-tab{padding:10px 16px;min-height:38px;background:transparent;color:var(--text-secondary);border:0;border-radius:8px;font-size:13px;font-weight:600;box-shadow:none}.product-section-tab:hover{background:var(--panel-subtle);color:var(--text)}.product-section-tab.active,.product-section-tab[aria-selected=true]{background:var(--accent-soft);color:var(--accent-soft-ink);border-color:transparent;box-shadow:none;font-weight:750}
.content{gap:16px}.toolbar{padding:14px;background:var(--panel);border:1px solid var(--border);border-radius:13px;gap:12px}.toolbar input{background:var(--panel-subtle);min-height:42px;padding:11px 14px;border:1px solid var(--border);border-radius:9px;max-width:530px;font-size:13px}.toolbar button,.setup-row button,.dialog-actions button,.primary-button,.small-button{background:var(--accent);color:var(--accent-ink);border-radius:9px;font-weight:750;border:1px solid transparent;padding:10px 15px}.primary-button:hover,.small-button:hover,.toolbar button:hover{background:var(--accent-hover)}
.ghost-light-button,.dialog-card .ghost-button,.row-actions .ghost-light-button{background:var(--panel);border:1px solid var(--border);color:var(--text);border-radius:9px;font-weight:600}.ghost-light-button:hover{background:var(--panel-subtle)}.danger-button{background:var(--danger-soft);border:1px solid #edd3d4;color:var(--danger);border-radius:9px}.danger-button:hover{background:#f9dddd}
input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{color:var(--text);background:var(--panel);border-color:var(--border);border-radius:9px;line-height:1.45}input::placeholder,textarea::placeholder{color:var(--text-secondary);opacity:.85}input:focus,select:focus,textarea:focus{outline:2px solid var(--accent-soft-ink);outline-offset:2px;box-shadow:0 0 0 4px var(--accent-soft)!important;border-color:var(--accent-soft-ink)!important}.field label,form label{font-weight:650;color:var(--text);font-size:13px}label small{font-weight:400;color:var(--text-secondary)}
.product-card,.table-wrap,.empty-state,.expense-card,.product-stock-card,.product-test-card,.filament-card,.machine-card{border-radius:14px;border:1px solid var(--border);background:var(--panel);box-shadow:0 3px 12px #14223503}.product-card:hover,.expense-card:hover{border-color:color-mix(in srgb,var(--border),var(--text-secondary) 18%)}.empty-state{padding:46px 28px;text-align:center;border-style:dashed}.empty-state h2{font-size:19px;margin-bottom:10px}.empty-state p{font-size:13px;color:var(--text-secondary)}.product-summary,.order-summary,.machine-summary{border-radius:14px}.product-cell{padding:15px 16px}.cell-label,.product-cell small{font-size:11px;color:var(--text-secondary);font-weight:500;letter-spacing:.02em}.product-name strong{font-size:15px}.product-details,.order-details,.machine-details,.product-workspace{background:var(--panel-subtle);border-color:var(--border)}.product-workspace>.product-section-panel{background:var(--panel);border-radius:13px}.product-workspace>.product-name-editor{padding:17px;border-radius:12px}.product-workspace .cost-header{border-color:var(--border)}
.expense-card-toggle:hover,.product-summary:hover,.order-summary:hover{background:var(--panel-subtle)}.expense-body,.product-stock-card,.production-record{border-color:var(--border)}.expense-summary{background:var(--panel);border-radius:14px}.expense-summary strong{font-size:30px;letter-spacing:-1px;color:var(--text)}.expense-amount strong,.stock-sku{color:var(--accent-soft-ink)}.filament-card-body{font-family:inherit}.order-info-item,.order-note-box,.cost-field,.stock-color-body{background:var(--panel-subtle);border-color:var(--border);border-radius:10px}
table{font-size:13px}thead{background:var(--panel-subtle)}th{background:var(--panel-subtle);color:var(--text-secondary);font-size:11px;font-weight:750;letter-spacing:.02em}td,th{border-color:var(--border);padding:15px 13px}tbody tr:nth-child(even){background:var(--panel-subtle)}tbody tr:hover{background:var(--accent-soft)}table button{font-size:12px}.production-item{background:var(--panel);border-color:var(--border);border-radius:12px}.production-day-summary{background:var(--panel);color:var(--text)}.print-code{color:var(--accent-soft-ink);background:var(--accent-soft);border-color:transparent;font-size:12px;border-radius:6px}.production-status{border-radius:7px}
dialog{border:1px solid var(--border);border-radius:18px;background:var(--panel);color:var(--text);box-shadow:0 24px 90px #121a2a25;padding:26px}dialog::backdrop{background:#14203575;backdrop-filter:blur(3px)}dialog h2{font-size:22px;letter-spacing:-.5px}.dialog-card{background:var(--panel)}
/* Production is the operational home. */
.automatic-production{display:grid;gap:0;min-width:0}.automatic-production-hero{background:var(--nav-bg);color:var(--nav-ink);padding:26px 30px;border:0;border-radius:18px;display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:20px}.automatic-production-eyebrow{color:var(--nav-muted);font-size:10px;letter-spacing:.15em;font-weight:700}.automatic-production-hero h2{color:var(--nav-ink);font-size:30px;letter-spacing:-1.1px;margin:10px 0}.automatic-production-hero p{color:var(--nav-muted);font-size:13px;line-height:1.65;max-width:590px;margin:0}.automatic-production-connection{flex-shrink:0;white-space:nowrap;font-size:11px;padding:7px 10px;color:var(--nav-ink);background:#ffffff10;border:1px solid #ffffff20;border-radius:7px;margin-top:5px}.automatic-production-connection.is-live{color:var(--nav-active-ink);background:var(--accent);border:0}.automatic-production-connection::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:7px}
.production-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:22px}.overview-card{display:grid;text-align:left;gap:9px;min-width:0;background:var(--panel);border:1px solid var(--border);border-radius:14px;padding:19px 20px;color:var(--text);position:relative}.overview-card>span{font-size:12px;font-weight:650;color:var(--text-secondary)}.overview-card>strong{font-size:34px;font-weight:750;line-height:1;letter-spacing:-1px;font-variant-numeric:tabular-nums}.overview-card>small{font-size:11px;color:var(--text-secondary);font-weight:400}.overview-card[data-category=printing]{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.overview-card[data-category=printing]>span,.overview-card[data-category=printing]>small{color:var(--accent-ink);opacity:.8}.overview-card[data-category=attention]>strong{color:var(--warning)}.overview-card[data-category=offline]>strong{color:var(--text-secondary)}.overview-card[aria-pressed=true]{box-shadow:0 0 0 2px var(--accent-soft-ink);border-color:var(--panel)}.overview-card:hover{box-shadow:0 3px 16px #101d2d12}
.production-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.production-tools input{flex:1 1 200px;min-width:0}.production-tools input,.production-tools select{padding:10px 13px;font-size:12px;border:1px solid var(--border);min-height:40px}.production-tools select{max-width:100%;flex:0 1 auto}.production-utilization-link{color:var(--accent-soft-ink);font-size:12px;font-weight:750;background:var(--accent-soft);padding:10px 13px;border-radius:9px;white-space:nowrap}.automatic-production-feedback{font-size:11px;color:var(--text-secondary);margin:13px 0 8px;line-height:1.65}.automatic-production-section-title{font-size:13px;font-weight:750;letter-spacing:-.2px;margin:14px 0}.automatic-production-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:16px;min-width:0}.automatic-production-card{display:flex;flex-direction:column;gap:0;min-width:0;padding:20px 22px;border:1px solid var(--border);border-radius:15px;background:var(--panel);box-shadow:0 3px 10px #15233b03}.automatic-production-card.is-active{border-color:var(--border);border-top:3px solid var(--chart);padding-top:18px}.automatic-production-card[data-state=failed]{border-top:3px solid var(--danger);padding-top:18px}.automatic-production-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:20px}.machine-identity{display:flex;align-items:center;gap:11px;min-width:0}.machine-identity>div{min-width:0}.machine-identity h3{font-size:17px;letter-spacing:-.4px;margin:0;font-weight:800}.machine-model{display:block;font-size:11px;color:var(--text-secondary);margin-top:3px}.printer-icon{display:grid;place-items:center;background:var(--panel-subtle);color:var(--text);width:44px;height:44px;flex:0 0 44px;border-radius:11px;border:1px solid var(--border)}.printer-icon svg{width:30px;height:30px}.automatic-production-status{font-size:10px;border-radius:6px;padding:6px 8px;line-height:1.3;white-space:nowrap;background:var(--panel-subtle);color:var(--text-secondary);border:0;font-weight:700}.automatic-production-status.status-running{background:var(--success-soft);color:var(--success)}.automatic-production-status.status-failed{background:var(--danger-soft);color:var(--danger)}.automatic-production-status.status-pause,.automatic-production-status.status-prepare,.automatic-production-status.status-slicing{background:var(--warning-soft);color:var(--warning)}.automatic-production-status.status-finish,.automatic-production-status.status-idle{background:var(--accent-soft);color:var(--accent-soft-ink)}
.automatic-production-job{margin:0 0 18px;padding:0;min-width:0;background:none;border:0;min-height:59px;display:grid;gap:5px}.job-label{font-size:8px!important;font-weight:700;letter-spacing:.09em;color:var(--text-secondary)}.automatic-production-product{font-size:13px;font-weight:700;line-height:1.45;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.automatic-production-file{font-size:11px;color:var(--text-secondary);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.automatic-production-metrics{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:0 0 12px}.automatic-production-metrics>div{display:grid;gap:4px}.automatic-production-metrics span{font-size:11px;color:var(--text-secondary)}.automatic-production-metrics strong{font-size:22px;letter-spacing:-.6px;color:var(--text);font-weight:750;font-variant-numeric:tabular-nums}.automatic-production-metrics .machine-remaining{text-align:right}.automatic-production-metrics .machine-remaining strong{font-size:19px;align-self:end}
.automatic-production-card progress,.bambu-printer progress{height:5px;width:100%;border:0;border-radius:8px;overflow:hidden;accent-color:var(--chart);background:var(--panel-subtle)}progress::-webkit-progress-bar{background:var(--accent-soft);border-radius:8px}progress::-webkit-progress-value{background:var(--chart);border-radius:8px}.machine-card-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid var(--border);margin-top:19px;padding-top:11px}.automatic-production-updated{font-size:10px;color:var(--text-secondary);margin:0}.machine-details-link{min-height:30px;padding:4px 0;background:transparent;color:var(--accent-soft-ink);font-weight:750;font-size:11px;white-space:nowrap}.machine-details-link:hover{text-decoration:underline}.automatic-production-other{margin-top:13px}.automatic-production-empty-state{padding:30px;border:1px dashed var(--border);border-radius:12px;background:var(--panel);font-size:13px;color:var(--text-secondary)}.production-help{font-size:12px;color:var(--text-secondary);background:var(--panel);padding:16px 18px;border:1px solid var(--border);border-radius:10px;margin:22px 0 0}.is-outdated .automatic-production-feedback{background:var(--warning-soft);color:var(--warning);padding:12px;border-radius:8px}.is-outdated .automatic-production-grid{opacity:.65}
/* Capacity view uses the same hierarchy, with explicit data coverage. */
.factory-dashboard{max-width:none;color:var(--text)}.util-intro{background:var(--nav-bg);border-radius:18px;padding:26px 30px;margin:0 0 20px;position:relative}.util-eyebrow{color:var(--nav-muted);font-size:10px;letter-spacing:.15em}.util-intro h2{font-size:30px;letter-spacing:-1.1px;color:var(--nav-ink);margin:10px 0}.util-intro p{color:var(--nav-muted);font-size:13px;line-height:1.65;max-width:630px;margin:0}.util-schedule{display:inline-block;margin-top:16px;background:#ffffff10;border:1px solid #ffffff18;color:var(--nav-ink);font-size:11px;padding:6px 10px;border-radius:6px}.util-controls{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:10px;gap:10px}.util-periods{background:var(--panel-subtle);border-radius:8px;padding:3px}.util-periods button{font-size:12px;padding:8px 13px;min-height:35px;color:var(--text-secondary);border-radius:6px}.util-periods button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink);box-shadow:none}.util-controls select{font-size:12px;max-width:100%;padding:8px 11px;min-height:39px}.util-controls>.ghost-light-button{margin-left:auto;font-size:12px;min-height:38px}.util-custom{padding:8px}.util-status{font-size:11px;color:var(--text-secondary);margin:14px 0}.util-metrics{gap:13px}.util-metric{border:1px solid var(--border);border-radius:14px;padding:22px;background:var(--panel);gap:12px}.util-metric>span{font-size:12px;color:var(--text-secondary);font-weight:650}.util-metric>strong{font-size:34px;letter-spacing:-1px;line-height:1.1;color:var(--text);font-variant-numeric:tabular-nums}.util-metric>small{color:var(--text-secondary);font-size:11px}.util-metric:first-child{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.util-metric:first-child>span,.util-metric:first-child>strong,.util-metric:first-child>small{color:var(--accent-ink)}.util-notice{background:var(--warning-soft);color:var(--warning);font-size:12px;border-radius:10px;padding:15px 18px;border-left:3px solid #deb650}.util-panel,.util-explanation{background:var(--panel);border-color:var(--border);border-radius:14px;padding:22px}.util-panel h3{font-size:15px;letter-spacing:-.3px;margin-bottom:20px}.util-bar{height:15px;border-radius:5px}.printingMs{background:var(--chart)}.pausedMs{background:#ddaf48}.idleMs{background:#bdc9c2}.unknownMs{background:repeating-linear-gradient(135deg,#e7ebe7,#e7ebe7 4px,#f6f8f5 4px,#f6f8f5 8px)}.util-legend{font-size:11px;gap:18px;color:var(--text-secondary)}.util-table th{font-size:10px;background:var(--panel-subtle);color:var(--text-secondary)}.util-table td{font-size:12px;color:var(--text);border-color:var(--border);font-variant-numeric:tabular-nums}.util-table td:nth-child(3){font-weight:800;color:var(--accent-soft-ink)}.util-table tr:last-child td{border-bottom:0}.util-trend{font-size:12px}.util-explanation summary{font-size:13px;color:var(--text)}.util-explanation p{font-size:13px;color:var(--text-secondary)}
/* Monitor, reporting, settings and login share tokens. */
.bambu-monitor{padding:0;border:0;background:transparent}.bambu-header{padding:25px;background:var(--panel);border:1px solid var(--border);border-radius:14px}.bambu-header h2{font-size:22px;color:var(--text);letter-spacing:-.6px}.bambu-header p,.bambu-note{color:var(--text-secondary);font-size:12px}.fleet-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fleet-summary span{border-color:var(--border);border-radius:10px;background:var(--panel);font-size:13px;color:var(--text)}.fleet-controls input,.fleet-controls select{font-size:12px;border-color:var(--border);background:var(--panel);border-radius:9px;max-width:100%}.fleet-compact.bambu-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:15px}.bambu-printer,.fleet-compact .bambu-printer{padding:20px;border-color:var(--border);border-radius:14px;background:var(--panel)}.bambu-printer h3{color:var(--text);font-size:19px!important}.bambu-printer>small{font-size:11px;color:var(--text-secondary)}.bambu-printer-state{font-size:13px;color:var(--accent-soft-ink)}.bambu-more-button,.bambu-usage-button{background:var(--accent-soft);color:var(--accent-soft-ink);border-color:transparent}.bambu-metrics strong{color:var(--text)}.bambu-printer-no-signal{background:var(--panel-subtle)}.bambu-temperature-summary{color:var(--text-secondary)}.bambu-details-header h2{font-size:22px}.bambu-extra-grid{gap:12px}.bambu-extra-item{background:var(--panel-subtle);border-color:var(--border);color:var(--text);border-radius:10px}.bambu-extra-item span{color:var(--text-secondary)}
.settings-panel{color:var(--text);max-width:1100px}.settings-panel>h2{display:none}.settings-card{background:var(--panel);border-color:var(--border);border-radius:16px;padding:28px}.settings-card h2{font-size:20px;letter-spacing:-.5px}.settings-card p{color:var(--text-secondary);font-size:13px}.settings-card form{gap:16px;margin-top:25px;max-width:520px}.settings-feedback{color:var(--danger)}.dash-hero{background:var(--nav-bg);border-radius:18px;padding:28px}.dash-hero h2{color:var(--nav-ink);font-size:30px}.dash-hero .dash-eyebrow,.dash-hero p{color:var(--nav-muted)}.dash-kpi,.dash-panel,.dash-method,.dash-maintenance{background:var(--panel);border-color:var(--border);border-radius:14px}.dash-kpi-value{color:var(--text)}.dash-kpi-icon{color:var(--accent-soft-ink);background:var(--accent-soft)}.dash-bar-fill{background:var(--chart)}.dash-bar-track{background:var(--panel-subtle)}.dash-forecast-row strong,.dash-machine-share{color:var(--accent-soft-ink)}
body:has(.login-card){background:var(--page);font-family:Manrope,'Segoe UI',sans-serif;color:var(--text)}.login-card{border:1px solid var(--border);border-radius:24px;padding:38px;background:var(--panel);box-shadow:0 18px 60px #18241a0c;border-top:5px solid var(--accent)}.login-eyebrow{font-size:10px;font-weight:750;letter-spacing:.16em;color:var(--text-secondary);margin:0 0 25px}.login-brand{margin-bottom:27px}.login-brand-icon{background:var(--accent);border-radius:12px}.login-brand-icon img{filter:grayscale(1) brightness(.25)}.login-brand .brand{color:var(--text);font-size:25px;letter-spacing:-1px;font-weight:800}.login-welcome{font-size:21px;font-weight:750;letter-spacing:-.5px;margin:0 0 6px}.login-description{font-size:13px;line-height:1.7;color:var(--text-secondary);margin:0 0 25px}.login-card label{font-size:13px}.login-card input{border:1px solid var(--border);background:var(--panel-subtle);font-family:inherit}.login-card button[type=submit]{background:var(--accent);color:var(--accent-ink);font-family:inherit;font-weight:750;border-radius:10px}.login-card button[type=submit]:hover{background:var(--accent-hover)}.password-toggle{background:transparent!important;color:var(--text-secondary)}
@media(min-width:1700px){.automatic-production-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1250px){.workspace{padding:26px}.app-shell{grid-template-columns:236px minmax(0,1fr)}.sidebar{padding:24px 13px}.production-overview{gap:10px}.overview-card{padding:17px 15px}.automatic-production-hero h2,.util-intro h2{font-size:26px}.automatic-production-hero{padding:24px}.automatic-production-connection{margin-top:0}.production-tools input{flex-basis:100%}.production-utilization-link{margin-left:auto}.util-metric{padding:18px}.util-metric>strong{font-size:29px}.util-controls>.ghost-light-button{margin-left:0}.guide-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:960px){.app-shell{display:block}.workspace{padding:24px 20px}.sidebar{position:sticky;top:0;z-index:30;padding:10px 18px;height:auto;gap:0}.sidebar-header{padding:0;border:0;min-height:45px}.sidebar .brand strong{font-size:19px}.sidebar .brand small{display:none}.brand-mark,.brand-mark img{width:32px;height:32px;flex-basis:32px}.mobile-navigation-ready .mobile-menu-button{border:1px solid #ffffff25;color:var(--nav-ink);background:#ffffff09;border-radius:9px;font-size:13px;min-height:40px;padding:8px 12px}.sidebar-navigation{padding:20px 0 5px}.sidebar .tabs{display:grid;grid-template-columns:1fr;gap:20px}.nav-group{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.nav-group-label{grid-column:1/-1}.sidebar .tab,.sidebar .tab[data-sheet=painel]{padding:10px;min-height:44px;font-size:13px}.sidebar .tab-featured{min-height:63px;font-size:13px}.appearance-button,.sidebar .sidebar-logout{margin:8px 0 0;width:100%;justify-content:flex-start}.sidebar .sidebar-logout{min-height:40px}.appearance-button{border-top:1px solid #ffffff18}.automatic-production-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr))}.topbar{gap:15px}.topbar h1{font-size:28px}.util-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.workspace{padding:21px 15px 38px}.topbar{margin-bottom:18px;align-items:flex-start;flex-wrap:wrap}.topbar>div:first-child{flex:1 1 200px}.topbar h1{font-size:27px}.eyebrow{font-size:8px;letter-spacing:.1em}.view-description{font-size:12px;margin-top:8px}.actions{padding-top:0;gap:7px}.workspace-date{display:none}.icon-button{width:36px;height:36px;min-height:36px}.topbar-button{white-space:normal;max-width:140px}.product-section-tabs{width:100%;display:flex;gap:4px;padding:4px;border-radius:10px}.product-section-tabs>.product-section-tab{flex:1 1 90px;font-size:11px;padding:9px 8px;min-height:40px}.automatic-production-hero{display:block;padding:22px;border-radius:15px;margin-bottom:15px}.automatic-production-hero h2,.util-intro h2{font-size:26px;letter-spacing:-.8px}.automatic-production-hero p,.util-intro p{font-size:12px}.automatic-production-connection{display:inline-block;margin-top:16px;font-size:10px}.production-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.overview-card{padding:17px;border-radius:12px;gap:9px}.overview-card>strong{font-size:32px}.overview-card>span{font-size:11px}.overview-card>small{font-size:10px}.production-tools{gap:8px}.production-tools select{flex:1 1 140px;font-size:13px;min-height:44px;padding:10px}.production-tools input{font-size:16px;min-height:44px}.production-utilization-link{width:100%;font-size:13px;margin:0;text-align:center;min-height:42px}.automatic-production-feedback{font-size:11px}.automatic-production-card{padding:19px;border-radius:14px}.automatic-production-section-title{font-size:13px;margin:14px 0 12px}.automatic-production-grid{gap:14px}.machine-identity h3{font-size:18px}.machine-model{font-size:12px}.automatic-production-product{font-size:14px}.automatic-production-file{font-size:12px}.machine-details-link{font-size:12px;min-height:36px}.automatic-production-updated{font-size:11px}.automatic-production-metrics strong{font-size:26px}.automatic-production-metrics .machine-remaining strong{font-size:20px}.production-help{font-size:12px;padding:15px}.util-intro{padding:22px;border-radius:15px}.util-controls{padding:9px}.util-periods{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.util-periods button{padding:7px 6px;font-size:12px;min-height:38px}.util-periods button:last-child{grid-column:1/-1}.util-controls select{flex:1 1 180px;font-size:13px;min-height:44px}.util-controls>.ghost-light-button{min-height:44px;font-size:13px}.util-metrics{gap:10px}.util-metric{padding:17px;gap:10px;border-radius:12px}.util-metric>strong{font-size:29px}.util-metric>span{font-size:11px}.util-metric>small{font-size:11px}.util-status{font-size:11px;line-height:1.7}.util-notice{font-size:12px}.util-panel,.util-explanation{padding:17px;border-radius:13px}.util-panel h3{font-size:14px}.util-legend{font-size:11px;gap:12px}.util-custom{gap:8px;padding:4px;flex-wrap:wrap}.util-custom label{font-size:12px;max-width:100%}.util-custom input{font-size:16px;padding:9px;width:100%}.util-trend{grid-template-columns:76px 1fr}.toolbar{padding:10px;flex-wrap:wrap}.toolbar input{font-size:16px}.toolbar button{font-size:13px;min-height:42px}.toolbar input{flex:1 1 180px}.fleet-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.fleet-summary span{font-size:12px;padding:12px}.fleet-controls>*{flex:1 1 140px;min-width:0}.fleet-controls input,.fleet-controls select{font-size:16px}.bambu-header{padding:20px;flex-wrap:wrap}.bambu-header h2{font-size:23px}.bambu-header .row-actions{width:100%;flex-wrap:wrap}.settings-card{padding:21px}.settings-card h2{font-size:20px}.settings-card .row-actions{flex-wrap:wrap}.settings-card input,.settings-card select{font-size:16px}.start-guide summary{padding:12px;font-size:11px;gap:7px}.guide-label{font-size:8px;flex-basis:auto}.guide-steps{grid-template-columns:1fr}.start-guide summary>span:nth-child(2){font-size:12px;order:initial;flex-basis:auto}.guide-expand{order:initial}.login-card{padding:27px}.login-welcome{font-size:21px}.login-card input{font-size:16px}dialog{padding:20px}}
@media(max-width:600px){.topbar{flex-direction:row}.topbar>div:first-child{flex:1 1 240px}.sidebar-navigation{max-height:calc(100dvh - 70px);overflow-y:auto}}
