.naus-downtime-card{background:#fff2e5!important;border:1px solid #e5a35b!important;border-left:5px solid #c56a12!important;color:#743b09!important}
.naus-downtime-preview{max-height:230px;overflow:auto;margin:12px 0;padding:12px;background:#f3f7fc;border-radius:8px;font-size:13px}
.naus-downtime-preview table{border-collapse:collapse;width:100%;margin-top:8px}.naus-downtime-preview th,.naus-downtime-preview td{text-align:left;padding:6px;border-bottom:1px solid #dce4ee}
#nausDowntimeForm [hidden]{display:none!important}#nausDowntimeForm{max-width:780px}#nausDowntimeForm label{min-width:0}
/* R114_SWITCH_GRID: shared board styling; no card editing or drag controls. */
.naus-switch-modal{box-sizing:border-box;width:min(1600px,97vw)!important;max-width:1600px!important;max-height:96vh;overflow:auto;padding:18px!important;--line:#dbe3ee}
.naus-switch-help{margin:8px 0;color:#475569;font-size:12px;line-height:1.6}
.naus-switch-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) 150px 130px;gap:12px;margin:12px 0}
.naus-switch-toolbar label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;min-width:0}
.naus-switch-modal input:not([type=checkbox]),.naus-switch-modal select{box-sizing:border-box;width:100%;min-height:35px;padding:7px 9px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;font:inherit;color:#0f172a}
.naus-switch-modal button{cursor:pointer}.naus-switch-board-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0 8px}.naus-switch-board-tools button,.naus-switch-grid .t4p-machine button{padding:6px 8px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#334155;font-size:11px;white-space:nowrap}
.naus-switch-view{display:flex;gap:4px}.naus-switch-view [aria-pressed=true]{background:#1d4ed8;color:#fff;border-color:#1d4ed8}.naus-switch-week-nav{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.naus-switch-week-nav strong{font-size:11px;color:#475569;white-space:nowrap}.naus-switch-board-tools input[type=search]{margin-left:auto;width:240px;font-size:11px}
.naus-switch-board-scroll{max-height:54vh;min-height:240px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:9px;background:#fbfdff;isolation:isolate;scrollbar-gutter:stable}
.naus-switch-grid{grid-template-columns:110px repeat(7,minmax(150px,1fr));min-width:1160px}.naus-switch-grid .t4p-machine{gap:4px;padding:12px 6px;min-height:210px;text-align:center}.naus-switch-grid .t4p-machine strong{font-size:11px;color:#1d4ed8}.naus-switch-grid .t4p-machine small{font-size:10px;color:#64748b}.naus-switch-grid .t4p-machine button{font-size:10px;padding:5px 7px}.naus-switch-grid .t4p-day-head{font-size:11px}
.naus-switch-day-cell{display:flex;flex-direction:column;gap:3px;min-width:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:3px;background:#fbfdff}.naus-switch-day-cell.plant-seong{background:#f0fdfa}
.naus-switch-slot{position:relative;box-sizing:border-box;flex:1;min-height:96px;padding:22px 3px 3px;border:1px dashed #d4dde9;border-radius:7px;background:#fff}.naus-switch-slot .t4p-slot-label{font-size:10px}.naus-switch-slot.is-before-cutoff{background:#f1f5f9}
.naus-switch-choice{display:block;position:relative;margin-bottom:5px;cursor:pointer;font-weight:400}.naus-switch-choice input[type=checkbox]{position:absolute;z-index:1;left:8px;top:8px;margin:0;width:16px;height:16px;accent-color:#2563eb;cursor:pointer}.naus-switch-board-card{box-sizing:border-box;display:block;margin:0;padding:7px!important;cursor:inherit;touch-action:manipulation!important}.naus-switch-choice .naus-switch-card-badge{display:block;min-height:16px;padding-left:20px;color:#475569;font-size:9px;font-weight:700;margin-bottom:5px}.naus-switch-choice:not(:has(input)) .naus-switch-card-badge{padding-left:0}
.naus-switch-board-card b{font-size:11px;line-height:1.4}.naus-switch-board-card .t4p-card-spec,.naus-switch-board-card .t4p-card-qty{font-size:10px;line-height:1.5;overflow-wrap:anywhere}.naus-switch-board-card .t4p-card-range{font-size:9px}.naus-switch-order{display:block;color:#475569;font-size:10px;margin-top:4px}.naus-switch-board-card>small{display:block;margin-top:4px;color:#64748b;font-size:9px;line-height:1.5}
.naus-switch-choice.is-selected .naus-switch-board-card{outline:2px solid #2563eb;outline-offset:-1px;background:#dbeafe!important}.naus-switch-choice.is-selected .naus-switch-card-badge{color:#1d4ed8}.naus-switch-choice.is-locked{cursor:default}.naus-switch-choice.is-locked .naus-switch-board-card{border-color:#cbd5e1;background:#f1f5f9;opacity:.8}.naus-switch-choice:focus-within .naus-switch-board-card{outline:3px solid #0e7490;outline-offset:1px}.naus-switch-board-card .naus-switch-due{color:#b45309;font-weight:700}
.naus-switch-selection{display:flex;gap:5px;align-items:center;flex-wrap:wrap;padding:10px 0;font-size:12px;color:#334155}.naus-switch-selection b{color:#1d4ed8}.naus-switch-selection>span{margin-left:auto;color:#64748b;font-size:11px}.naus-switch-empty{padding:10px;color:#64748b;font-size:12px;text-align:center;margin:0;background:#f8fafc}
.naus-switch-result{padding:10px 12px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;font-size:12px;margin:8px 0}.naus-switch-result>span{display:block;margin-top:5px;color:#475569;font-size:11px}.naus-switch-quantity-warning{padding:10px 12px;border:1px solid #fcd34d;border-radius:8px;background:#fffbeb;font-size:11px;line-height:1.5;color:#854d0e;margin:8px 0}.naus-switch-quantity-warning p{margin:5px 0}.naus-switch-quantity-warning small{font-size:inherit}
.naus-switch-modal .t4p-modal-actions{position:sticky;bottom:-18px;z-index:5;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 0;margin-top:6px;background:#fff;border-top:1px solid var(--line)}.naus-switch-modal .t4p-modal-actions>span{margin-right:auto;color:#64748b;font-size:11px}.naus-switch-modal [hidden]{display:none!important}.naus-switch-modal button:disabled{opacity:.5;cursor:not-allowed}.naus-switch-modal .t4p-modal-error:empty{display:none}
@media(max-width:800px){.naus-switch-modal{padding:12px!important}.naus-switch-toolbar{grid-template-columns:1fr 1fr;gap:8px}.naus-switch-board-tools input[type=search]{width:100%}.naus-switch-selection>span{width:100%;margin:5px 0 0}.naus-switch-board-scroll{max-height:48vh}.naus-switch-modal .t4p-modal-actions{bottom:-12px}.naus-switch-modal .t4p-modal-actions>span{width:100%}}
