#shellHomePage{display:none}#shellHomePage.open{display:flex;flex-direction:column}.shell-home-body{flex:1;overflow:auto;padding:14px 20px;background:#f1f5f9}.shell-home-summary{display:flex;justify-content:space-between;gap:12px;margin:0 0 12px;color:#475569;font-size:13px}.shell-home-summary strong{font-size:16px;color:#0f172a}.shell-home-workorder{margin-bottom:14px;background:#fff;border:1px solid #cbd5e1;border-radius:6px;overflow:hidden}.shell-home-order-header{display:flex;flex-wrap:wrap;gap:7px 22px;padding:11px 14px;background:#eaf1fb;border-bottom:1px solid #cbd5e1;font-size:12px;color:#64748b}.shell-home-order-header b{color:#0f172a;font-weight:600;margin-left:5px}.shell-home-code{font-size:15px;color:#1d4ed8}.shell-home-table-wrap{overflow-x:auto}.shell-home-process{border-collapse:collapse;width:100%;min-width:740px;table-layout:fixed;font-size:13px}.shell-home-process th,.shell-home-process td{padding:8px 12px;border-bottom:1px solid #e2e8f0;border-right:1px solid #e2e8f0;text-align:center;white-space:nowrap}.shell-home-process th{font-size:12px;background:#f8fafc;color:#475569;font-weight:600}.shell-home-process th:first-child,.shell-home-process td:first-child{width:75px;font-weight:600}.shell-home-process tr:last-child td{border-bottom:0}.production-order-actions{min-width:230px!important}.production-order-actions button{font-size:12px;line-height:22px;padding:0 7px;margin:2px 3px 2px 0;border-radius:4px;white-space:nowrap}.shell-order-preview{color:#1d4ed8;background:#eff6ff;border:1px solid #93c5fd}.shell-order-start{color:#fff;background:#16a34a;border:1px solid #16a34a}.shell-preview-box{width:840px;max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);overflow:auto}.shell-preview-basic{font-size:13px;color:#475569;margin:12px 0;line-height:1.8}.shell-preview-date{display:block;max-width:220px;margin:6px 0 14px}.shell-preview-result{min-height:70px}.shell-preview-completion{margin-top:14px;color:#0f172a}.shell-preview-warning{padding:8px 10px;margin-top:8px;background:#fffbeb;color:#92400e;border:1px solid #fcd34d;border-radius:4px;font-size:13px}.shell-preview-note{margin-top:12px;color:#64748b;font-size:12px}.shell-home-error{padding:16px;color:#dc2626}@media(max-width:640px){.shell-home-body{padding:10px}.shell-home-summary{flex-direction:column;gap:5px}.shell-home-order-header{gap:7px 14px;padding:10px}.shell-home-code{width:100%}#shellHomePage .master-data-toolbar{flex-wrap:wrap}#shellHomeSearch{min-width:170px}.shell-preview-box{padding:16px!important}.shell-home-process{min-width:700px}}.shell-home-process{margin-top:0}.shell-home-process th{position:static;top:auto;z-index:auto}#shellHomePage .master-data-head h2{position:static;padding:0;box-shadow:none;flex-wrap:nowrap;white-space:nowrap}#shellHomePage .master-data-head{flex-shrink:0}.shell-home-body{min-height:0}.shell-home-order-header span{overflow-wrap:anywhere}@media(max-width:640px){#shellHomePage .master-data-head{display:grid;grid-template-columns:78px minmax(110px,1fr) auto;gap:10px;padding:10px}#shellHomePage .master-data-head h2{font-size:18px}#shellHomePage .master-subtitle{margin-right:0}#shellHomeSearch{grid-column:1/3;width:100%;min-width:0;box-sizing:border-box}#shellHomeRefresh{grid-column:3;grid-row:2}}
.shell-execution-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.shell-execution-header>div{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.shell-execution-header span{font-size:12px;color:#64748b}.shell-workorder-report-link{display:flex;flex-direction:column;align-items:center;gap:4px;text-decoration:none;background:#fff;padding:5px;border:1px solid #cbd5e1;border-radius:5px}.shell-workorder-qr{width:88px;height:88px}.shell-workorder-qr img{width:88px;height:88px}.shell-execution-table{min-width:1340px;table-layout:auto}.shell-execution-table th,.shell-execution-table td{padding:10px 8px}.shell-execution-table .shell-count-link{border:0;background:none;color:#2563eb;text-decoration:underline;cursor:pointer;font-weight:700}.shell-remaining{color:#dc2626;font-weight:700}.shell-today-input{width:74px;margin-right:5px;padding:5px;border:1px solid #cbd5e1;border-radius:4px}.shell-execution-header button,.shell-execution-table button,.shell-progress-box button{padding:6px 10px;border:1px solid #94a3b8;border-radius:4px;background:#eff6ff;color:#1e40af;cursor:pointer}.shell-progress-modal{display:flex;z-index:100250}.shell-progress-box{width:1040px!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;padding:20px!important}.shell-progress-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.shell-progress-title h3{margin:0;font-size:18px}.shell-progress-basic{margin-top:16px;overflow-wrap:anywhere}.shell-progress-summary{margin:12px 0;padding:10px;background:#eff6ff;line-height:1.8}.shell-progress-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}.shell-progress-form label{display:flex;flex-direction:column;gap:6px;font-size:13px}.shell-progress-form input,.shell-progress-form select,.shell-progress-form textarea{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:4px;padding:8px;font-size:14px}.shell-progress-form textarea{min-height:60px}.shell-progress-submit{min-height:39px}.shell-progress-note{font-size:12px;color:#64748b;line-height:1.7}.shell-progress-scroll{overflow:auto}.shell-progress-scroll table{border-collapse:collapse;width:100%;min-width:660px;font-size:13px}.shell-progress-scroll td,.shell-progress-scroll th{border:1px solid #e2e8f0;padding:8px;white-space:normal;overflow-wrap:anywhere}.shell-progress-scroll th{position:static!important;background:#f8fafc}.shell-progress-scroll button{margin:3px}.shell-progress-message{margin-top:14px;color:#1d4ed8;white-space:pre-wrap}.shell-progress-box button:disabled{opacity:.5;cursor:default}@media(max-width:640px){.shell-progress-box{padding:14px!important}.shell-progress-form{grid-template-columns:repeat(2,minmax(0,1fr))}.shell-progress-form label:nth-last-of-type(1),.shell-progress-submit{grid-column:1/-1}.shell-execution-header{padding:10px;align-items:flex-start}.shell-execution-header>div{align-items:flex-start;flex-direction:column}}
.shell-home-process{min-width:1000px;table-layout:auto}.shell-home-process button{padding:6px 10px;border:1px solid #94a3b8;border-radius:4px;background:#eff6ff;color:#1e40af;cursor:pointer}#shellBufferPage{display:none}#shellBufferPage.open{display:block;overflow:auto;padding:16px;box-sizing:border-box}#shellBufferPage .master-data-header{display:flex;align-items:center;gap:16px}.sb-modal{display:flex;z-index:100260}.sb-modal .wb-box{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box}.shell-buffer-context{grid-column:1/-1;background:#eff6ff;padding:10px}

.shell-home-process.shell-execution-table{min-width:1340px;table-layout:auto}.shell-execution-table th,.shell-execution-table td{padding:10px 8px}.shell-execution-table .shell-count-link{border:0;background:none;color:#2563eb;text-decoration:underline;cursor:pointer;font-weight:700}.shell-home-state{color:#64748b;font-size:12px}.shell-execution-header button{padding:6px 10px;border:1px solid #94a3b8;border-radius:4px;background:#eff6ff;color:#1e40af;cursor:pointer}
