#workflowDialog{width:min(900px,94vw);max-height:92vh;overflow:auto;border:1px solid #cbdbe5;border-radius:8px;padding:24px;color:#214350}#workflowDialog::backdrop{background:#17354588}#workflowSave{background:#147e82;color:white}#workflowMessage{color:#9b4d20}#workflowOrderRows input{width:100px}.home-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #cbdbe5;border-left:1px solid #cbdbe5}.home-metrics button{border-radius:0;text-align:left;border:0;border-right:1px solid #cbdbe5;border-bottom:1px solid #cbdbe5;padding:24px;background:#fff}.home-metrics button:nth-child(2){background:#edf6f5}.home-metrics button:nth-child(3){background:#fff7e7}.home-metrics button:nth-child(4){background:#f2f4ff}.home-metrics span,.home-metrics strong{display:block}.home-metrics strong{font-size:23px;overflow-wrap:anywhere;margin-top:12px}#home h2{font-size:18px;margin-top:28px}@media(max-width:600px){#workflowDialog{padding:14px}.home-metrics{grid-template-columns:1fr}.home-metrics button{padding:16px}.home-metrics strong{font-size:20px}}
.operation-record.receiving-complete>summary{background:#e6f5ed;border-left-color:#248367}
.operation-record.receiving-complete .operation-heading span{color:#1d775b;font-weight:750}
.operation-record.receiving-partial>summary{background:#fff7e9;border-left-color:#cf9a38}
.inline-receiving-state{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;margin:0 0 16px;border:1px solid #d7e6eb;border-radius:10px;background:#f0f7fa;color:#476d7a}
.inline-receiving-state strong{font-size:15px;white-space:nowrap}
.inline-receiving-state span{font-size:12px;line-height:1.7}
.inline-receiving-state.is-complete{background:#e9f7ef;border-color:#b9ddc9;color:#206e52}
.inline-receiving-state.is-partial{background:#fff8e9;border-color:#e8d4a6;color:#8b692e}
.expected-receiving tr.inline-receiving-done td{background:#f0f9f4!important}
.inline-receiving-badge{display:inline-block;padding:7px 10px;border-radius:7px;background:#dff2e7;color:#207356;font-size:12px;font-weight:750;white-space:nowrap}
.expected-receiving [data-inline-confirm].is-complete{background:#e3f3e9;border-color:#bbddcb;color:#287455;opacity:1}
.expected-receiving [data-inline-message][data-tone]{padding:10px 14px;border-radius:8px;line-height:1.7;flex-basis:100%;margin:2px 0}
.expected-receiving [data-inline-message][data-tone=success]{background:#e9f7ef;color:#216e52;border:1px solid #c2e2ce}
.expected-receiving [data-inline-message][data-tone=error]{background:#fff0ef;color:#a03e37;border:1px solid #efcfca;font-weight:650}
@media(max-width:600px){.inline-receiving-state{align-items:flex-start;flex-direction:column;gap:4px;padding:14px}.inline-receiving-state strong{font-size:14px}}
#autoRefreshStatus[hidden]{display:none!important}
#orders>#autoRefreshStatus{display:flex;align-items:center;gap:12px;box-sizing:border-box;width:100%;margin:4px 0 18px;padding:14px 16px;border:1px solid #c5e3d8;border-radius:10px;background:#eef9f3;color:#286753}
#autoRefreshStatus .refresh-notice-icon{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;border-radius:50%;background:#dcefe4;color:#26795b;font-size:17px;font-weight:750}
#autoRefreshStatus .refresh-notice-copy{flex:1;min-width:0;text-align:left}
#autoRefreshStatus strong{display:block;font-size:14px;line-height:1.6;font-weight:750;color:#215f4b}
#autoRefreshStatus .refresh-notice-copy>span{display:block;font-size:12px;line-height:1.6;color:#6a897b}
#autoRefreshStatus time{font-size:12px;color:#6a897b;white-space:nowrap}
#autoRefreshStatus button{display:grid;place-items:center;width:30px;min-width:30px;height:30px;min-height:30px;padding:0;margin:0;border:0;border-radius:7px;background:transparent;color:#608272;font-size:22px;line-height:1;cursor:pointer}
#autoRefreshStatus button:hover{background:#ddefe4;color:#215f4b}
#autoRefreshStatus button:focus-visible{outline:2px solid #287b60;outline-offset:2px}
@media(max-width:600px){#orders>#autoRefreshStatus{padding:12px;gap:9px;margin-bottom:14px}#autoRefreshStatus time{display:none}#autoRefreshStatus strong{font-size:13px}#autoRefreshStatus .refresh-notice-copy>span{font-size:11px}}
