.machine-dialog{width:min(680px,calc(100vw - 20px));max-height:calc(100dvh - 20px);padding:20px;color:#17261e;background:#fcfdf9;border:1px solid #c9d7cb;border-radius:12px;box-sizing:border-box;overflow:auto}
.machine-dialog::backdrop{background:rgb(12 31 20 / .58)}
.machine-assigned{list-style:none;margin:0;padding:0}.machine-assigned li{padding:10px 0;border-bottom:1px solid #d8e5d9;line-height:1.6;font-size:15px}.machine-assigned strong,.machine-assigned span{display:block}.machine-assigned span{color:#526658}
.machine-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}.machine-heading h2{font-size:24px;line-height:1.4;margin:0}.machine-eyebrow{display:block;font-size:15px;color:#526658;margin:0 0 4px}
.machine-person{font-size:15px;line-height:1.6;color:#43594a;margin:12px 0 16px}.machine-search{display:block;font-size:15px;font-weight:600;position:sticky;top:-20px;background:#fcfdf9;padding:12px 0;z-index:1}
.machine-dialog input:not([type=radio]):not([type=checkbox]),.machine-dialog select{display:block;width:100%;min-height:46px;box-sizing:border-box;border:1px solid #9baa9f;border-radius:7px;background:#fff;color:#17261e;font:inherit;padding:10px 12px;margin:6px 0 12px}.machine-dialog input[type=radio],.machine-dialog input[type=checkbox]{width:20px;height:20px;flex:none;accent-color:#165a3e}
.machine-list{display:grid;gap:10px;margin:0 0 14px}.machine-option{display:flex;flex-direction:column;gap:5px;text-align:left;width:100%;padding:14px 16px;border:1px solid #c9d7cb;border-radius:9px;background:#fff;color:#17261e;font:inherit;cursor:pointer}.machine-option.is-selected{border:2px solid #165a3e;padding:13px 15px;background:#edf5ed}.machine-option-top{display:flex;justify-content:space-between;gap:12px}.machine-option strong{font-size:17px;line-height:1.5}.machine-choice-mark{font-size:22px;color:#165a3e}.machine-unit,.machine-plan,.machine-note,.machine-selected-hint{font-size:15px;line-height:1.5;color:#43594a}.machine-score{font-size:15px;font-weight:600}.machine-note{color:#765409}.machine-selected-hint{color:#165a3e;font-weight:600}
.machine-targets{margin:20px 0;padding-top:16px;border-top:1px solid #d8e5d9}.machine-targets h3{font-size:17px;line-height:1.5}.machine-modes,.machine-work-list{border:0;padding:0;margin:0 0 16px;min-width:0}.machine-modes legend,.machine-work-list legend{font-weight:700;margin-bottom:8px}.machine-modes label,.machine-work-list label{display:flex;gap:10px;align-items:center;min-height:44px;line-height:1.5;padding:6px 0}.machine-work-list label{align-items:start;border-bottom:1px solid #e3e9df;padding:12px 0}.machine-work-list small{display:block;color:#526658;font-size:15px}.machine-work-list strong{font-size:15px}.machine-help,.machine-empty{font-size:15px;line-height:1.6;color:#526658}
.machine-footer{position:sticky;bottom:-20px;background:#fcfdf9;border-top:1px solid #d8e5d9;padding:12px 0 max(12px,env(safe-area-inset-bottom));margin-top:14px}.machine-footer [role=status]{margin:0 0 8px;font-size:15px;color:#7a421b}.machine-footer .button{width:100%;min-height:48px}.machine-footer .machine-help{margin-bottom:0}.machine-dialog .button{min-height:44px}.machine-dialog :focus-visible{outline:3px solid #165a3e;outline-offset:3px}.machine-dialog [disabled]{cursor:default}
.machine-summary{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:14px;background:#eef3eb;border:1px solid #d8e5d9;border-radius:9px;margin:12px 0}.machine-summary strong,.machine-summary small{display:block;line-height:1.5}.machine-summary strong{font-size:16px}.machine-summary small{font-size:15px;color:#526658}.machine-summary .button{flex:none;min-height:44px;width:auto;padding:10px 12px;font-size:15px}
.work-row-body{display:flex;flex-direction:column;min-width:0;gap:2px;line-height:1.45;font-size:15px}.work-row-heading{display:block;overflow-wrap:anywhere}.work-row-mo{font-size:16px;white-space:nowrap}.work-row-product{display:block;overflow-wrap:anywhere}.work-row-operation{overflow-wrap:anywhere}.work-row-status{font-variant-numeric:tabular-nums;display:block;overflow-wrap:anywhere;color:#526658}.work-row-status.is-done{color:#17613d;font-weight:700}.work-row-status.is-cancelled,.work-row-status.is-stale{color:#626963}.work-row-status.is-active{color:#80520c;font-weight:600}.work-row-dot{display:inline-block;width:9px;height:9px;margin-right:7px;border-radius:50%;background:#a96b0e;animation:work-dot 2s ease-in-out infinite}.work-row-dot[hidden]{display:none}@keyframes work-dot{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){.work-row-dot{animation:none}}
.scan-group-list li.is-done:has(.work-row-body){opacity:1}.scan-group-list li:has(.work-row-body),.file-selection-list li:has(.work-row-body){padding-block:6px}.check:has(.work-row-body){align-items:flex-start;min-height:44px}.check .work-row-body{flex:1}
@media(max-width:420px){.machine-dialog{padding:14px;width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}.machine-search{top:-14px}.machine-footer{bottom:-14px}.machine-summary{align-items:stretch;flex-direction:column}.machine-summary .button{align-self:flex-start}.machine-heading h2{font-size:22px}}
