:root{color:#1f2933;background:#f4f6f8;font-family:Inter,Segoe UI,Hiragino Sans,Yu Gothic,Meiryo,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f4f6f8}button,input,select,textarea{font:inherit}button{color:inherit}.material-symbols-rounded{direction:ltr;display:inline-flex;align-items:center;justify-content:center;font-family:Material Symbols Rounded;font-feature-settings:"liga";font-size:20px;font-style:normal;font-weight:600;letter-spacing:normal;line-height:1;text-transform:none;white-space:nowrap;word-wrap:normal;-webkit-font-smoothing:antialiased}.btn{min-height:38px;border:1px solid #c8d0d9;border-radius:6px;padding:0 14px;font-weight:700;cursor:pointer}.btn:disabled{cursor:not-allowed;opacity:.65}.btn-primary{border-color:#1769aa;background:#1769aa;color:#fff}.btn-secondary{background:#fff;color:#334155}.eyebrow{margin:0 0 4px;color:#667085;font-size:12px;font-weight:800;text-transform:uppercase}.login-page{display:grid;min-height:100vh;place-items:center;padding:24px}.login-panel{width:min(420px,100%);border:1px solid #d8dee6;border-radius:8px;background:#fff;padding:28px;box-shadow:0 12px 34px #0f172a14}.login-brand h1,.sidebar h1,.order-summary h2,.operation-panel h2,.section-heading h2{margin:0;letter-spacing:0}.login-brand h1{font-size:26px}.login-form{display:grid;gap:16px;margin-top:28px}label{display:grid;gap:6px;color:#475569;font-size:13px;font-weight:700}input{width:100%;min-height:40px;border:1px solid #cbd5e1;border-radius:6px;padding:8px 10px;color:#17202a;background:#fff}textarea{width:100%;min-height:96px;resize:vertical;border:1px solid #cbd5e1;border-radius:6px;padding:10px;color:#17202a;background:#fff}select{min-height:36px;border:1px solid #cbd5e1;border-radius:6px;padding:6px 28px 6px 10px;color:#17202a;background:#fff}input:focus{border-color:#1769aa;outline:3px solid rgb(23 105 170 / 14%)}.form-error{margin:0;color:#b42318;font-size:13px;font-weight:700;overflow-wrap:anywhere;word-break:break-word}.state-message{margin:0;border:1px dashed #cbd5e1;border-radius:6px;background:#f8fafc;padding:12px;color:#475569;font-size:13px;font-weight:800;line-height:1.5}.app-shell{display:grid;grid-template-rows:auto minmax(0,1fr);min-height:100vh}.sidebar{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #d8dee6;background:#fff;padding:14px 22px}.sidebar h1{font-size:20px;white-space:nowrap}nav{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.nav-link{border-radius:6px;padding:11px 12px;color:#475569;font-weight:800;text-decoration:none}.nav-link:hover,.nav-link:focus{text-decoration:none}.nav-link.active{background:#e9f2fb;color:#145c94}.sidebar-user{display:flex;align-items:center;gap:10px;color:#475569;font-size:13px;font-weight:700;white-space:nowrap}.workspace{display:grid;align-content:start;gap:18px;min-width:0;padding:22px}.order-workspace{gap:14px}.toolbar,.order-summary,.operation-panel,.order-list-panel{border:1px solid #d8dee6;border-radius:8px;background:#fff}.toolbar{padding:14px}.order-toolbar{display:grid;gap:12px}.search-box{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(150px,.8fr) repeat(2,minmax(260px,1.4fr)) auto;align-items:end;gap:12px}.wide-search-field{min-width:0}.checkbox-field{display:inline-flex;align-items:center;min-height:40px;gap:8px;border:1px solid #d8dee6;border-radius:6px;background:#fff;padding:0 12px;white-space:nowrap}.checkbox-field input{width:16px;min-height:16px;margin:0}.tabs{display:flex;flex-wrap:wrap;gap:8px}.list-tabs{margin-top:12px}.tab-button{display:inline-flex;align-items:center;gap:7px;min-height:34px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;padding:0 12px;color:#475569;font-size:13px;font-weight:800;cursor:pointer}.tab-icon{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;border-radius:999px;background:#eef2f6;color:#475569;font-size:15px;font-weight:900}.tab-button.active .tab-icon{background:currentColor;color:#fff}.tab-button.active{border-color:#1769aa;background:#e9f2fb;color:#145c94}.tab-button:nth-child(1){border-color:#f4a7a3;color:#9f1d16}.tab-button:nth-child(1).active{border-color:#dc2626;background:#fff1f1;color:#991b1b}.order-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:start;min-width:0}.order-list-panel{display:grid;gap:12px;padding:14px;min-width:0}.collapsible-panel details{min-width:0}.collapsible-panel summary{display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:6px;background:#f8fafc;padding:10px 12px;color:#1f2933;font-size:18px;font-weight:900;cursor:pointer;list-style:none}.collapsible-panel summary::-webkit-details-marker{display:none}.summary-title,.summary-meta{display:inline-flex;align-items:center;gap:8px}.summary-title i{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;background:#e9f2fb;color:#145c94;font-style:normal;font-size:12px;font-weight:900}.summary-title i:before{content:"▼"}.collapsible-panel details:not([open]) .summary-title i:before{content:"▶"}.collapsible-panel summary b{color:#667085;font-size:13px}.collapsible-panel details[open] .order-table{margin-top:12px}.list-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.list-header h2{margin:0;font-size:18px;letter-spacing:0}.list-header span{color:#667085;font-size:13px;font-weight:800}.order-table{display:grid;gap:6px;max-height:min(46vh,520px);overflow-x:auto;overflow-y:auto;padding-right:2px}.order-table-row{display:grid;grid-template-columns:minmax(160px,1.1fr) minmax(140px,.85fr) 104px minmax(180px,1.15fr) minmax(138px,.78fr);gap:12px;align-items:center;min-width:820px;min-height:54px;border-radius:6px;padding:0 12px;text-align:left}.order-table-row.head{min-height:32px;background:#f8fafc;color:#667085;font-size:12px;font-weight:800}.order-table-row.data{width:100%;border:1px solid #e2e8f0;border-left-width:5px;background:#fff;color:#243447;cursor:pointer}.order-table-row.data:has(.status-pill.attention){border-left-color:#f59e0b;background:#fffbeb}.order-table-row.data:has(.status-pill.blocked){border-left-color:#dc2626;background:#fff5f5}.order-table-row.data:has(.status-pill.sync-failed){border-left-color:#dc2626;background:#fff7f7}.order-table-row>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-head-help{display:inline-flex;align-items:center;gap:6px}.help-icon-button{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#475569;font-size:16px;cursor:pointer}.help-icon-button:hover,.help-icon-button:focus-visible{border-color:#1769aa;background:#e9f2fb;color:#145c94}.order-table-row.data:hover,.order-table-row.data.selected{border-color:#8cbce4;background:#f3f8fd}.order-table-row strong{display:block;font-size:14px}.order-table-row small{display:block;margin-top:3px;color:#667085;font-size:12px;font-weight:700}.status-pill{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:58px;min-height:26px;border-radius:999px;padding:0 8px;font-size:12px;font-weight:900}.status-symbol{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:999px;background:#ffffffe0;color:inherit;font-size:13px;line-height:1}.status-pill.normal{background:#e7f6ec;color:#176a3a}.status-pill.attention{border:1px solid #f59e0b;background:#ffb020;color:#422006;box-shadow:0 0 0 3px #f59e0b29}.status-pill.blocked{border:1px solid #dc2626;background:#dc2626;color:#fff;box-shadow:0 0 0 3px #dc26262e}.status-pill.sync-failed{border:1px solid #dc2626;background:#fff1f1;color:#991b1b}.status-cell{display:flex;flex-wrap:wrap;gap:6px}.order-detail-panel{display:grid;gap:12px;min-width:0}.detail-card{border:1px solid #d8dee6;border-radius:8px;background:#fff;min-width:0}.order-detail-card{display:grid;gap:14px;padding:14px}.detail-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.title-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.title-row h2{margin:0;font-size:24px;letter-spacing:0}.order-badge{display:inline-flex;align-items:center;min-height:30px;border-radius:8px;background:#e9f2fb;padding:0 12px;color:#1e3a5f;font-size:16px}.detail-header-actions{display:flex;align-items:center;gap:12px;color:#475569;font-size:13px;font-weight:800}.shopify-sync-button{border-color:#1769aa;background:#1769aa;color:#fff;box-shadow:0 2px 6px #1769aa2e}.shopify-sync-button:hover,.shopify-sync-button:focus-visible{border-color:#145c94;background:#145c94}.metric-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(156px,188px));gap:10px;justify-content:start;min-width:0}.metric-strip>div{display:grid;grid-template-columns:34px 1fr;align-items:center;min-height:66px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;padding:10px}.metric-icon{grid-row:span 2;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:8px;background:#eef2f6;color:#475569;font-size:17px;font-weight:900}.metric-strip p{margin:0;color:#667085;font-size:12px;font-weight:800}.metric-strip strong{min-width:0;overflow:hidden;color:#1f2933;font-size:14px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.metric-strip>div.metric-alert{background:#fff5f5}.metric-strip>div.metric-alert .metric-icon{background:#dc2626;color:#fff}.metric-strip>div.metric-alert p,.metric-strip>div.metric-alert strong{color:#991b1b}.ai-summary-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;border:1px solid #cfe0f5;border-radius:8px;background:#f7fbff;padding:14px}.ai-summary-panel .section-heading{grid-column:1 / -1}.ai-summary-panel p{grid-column:1 / -1;margin:0;color:#334155;font-size:14px;font-weight:700;line-height:1.8}.flow-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:34px;overflow:hidden;padding:10px 4px 4px}.flow-card{position:relative;display:grid;align-content:center;justify-items:center;gap:8px;min-height:132px;min-width:0;border:1px solid #e2e8f0;border-radius:8px;background:linear-gradient(180deg,#fff,#fbfcfe);padding:14px 10px;text-align:center;box-shadow:0 2px 6px #0f172a0a;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.flow-card:hover{border-color:#93b4e8;transform:translateY(-1px)}.flow-card.disabled{cursor:not-allowed;opacity:.64}.flow-card.disabled:hover{border-color:#e2e8f0;transform:none}.flow-card:focus-visible{outline:3px solid rgb(37 99 235 / 24%);outline-offset:2px}.flow-card:not(:last-child):after{position:absolute;top:50%;right:-31px;width:28px;height:2px;background:#aeb8c5;content:""}.flow-card.done:not(:last-child):after{background:#459b5c}.flow-card.active:not(:last-child):after{background:#4f88d9}.flow-card-head{display:grid;justify-items:center;gap:8px}.flow-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;background:#eef2f6;color:#475569;font-size:22px;font-weight:900}.flow-card h3{margin:0;font-size:15px;letter-spacing:0}.flow-card b{border-radius:999px;background:#eef2f6;padding:4px 10px;color:#475569;font-size:12px}.flow-card p,.flow-card small{margin:0;color:#475569;font-size:12px;font-weight:800;line-height:1.4}.flow-card.done .flow-icon,.flow-card.done b{background:#e7f6ec;color:#176a3a}.flow-card.done .flow-icon{background:#4b9b60;color:#fff}.flow-card.active{border-color:#4f88d9;background:#f3f8ff;box-shadow:0 0 0 3px #1769aa24}.flow-card.selected{border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 3px #2563eb2e,0 10px 24px #0f172a14}.flow-card.done.selected{border-color:#3f9a58;background:#f0fbf4}.flow-card.failed.selected{border-color:#dc6f69;background:#fff4f3}.flow-card.active .flow-icon,.flow-card.active b{background:#1769aa;color:#fff}.flow-card.failed{border-color:#f2b8b5;background:snow}.flow-card.failed .flow-icon,.flow-card.failed b{background:#fdecec;color:#b42318}.phase-key-bar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid #e2e8f0;border-radius:8px;background:#e2e8f0}.phase-key-item{display:grid;grid-template-columns:minmax(86px,auto) minmax(0,1fr);gap:10px;align-items:start;min-width:0;background:#fff;padding:12px 14px}.phase-key-item:last-child{border-right:0}.phase-key-item span{color:#475569;font-size:13px;font-weight:900}.phase-key-values{display:grid;gap:6px;min-width:0}.phase-key-value{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center;min-width:0}.phase-key-item strong{min-width:0;overflow:hidden;color:#1f2933;font-size:14px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.phase-key-empty{color:#b42318}.phase-key-item.alert .phase-key-value strong,.phase-key-item.alert .phase-key-empty{display:inline-flex;justify-self:start;border-radius:999px;background:#fdecec;padding:3px 10px;color:#b42318}.inline-edit-panel{grid-template-columns:1fr;align-items:end;border:1px solid #d8dee6;border-radius:8px;background:#fff;box-shadow:0 2px 6px #0f172a0a}.inline-edit-panel.done{border-color:#b7dfc2;background:#f4fbf6}.inline-edit-panel.active{border-color:#bdd7ff;background:#f3f8ff}.inline-edit-panel.waiting{border-color:#d8dee6;background:#f8fafc}.inline-edit-panel.failed{border-color:#f2b8b5;background:#fff7f7}.inline-edit-fields{display:grid;grid-template-columns:repeat(6,minmax(92px,1fr));gap:8px;min-width:0}.inline-edit-panel label{gap:4px;min-width:0;font-size:12px}.inline-edit-panel input{width:100%;min-height:34px;padding:6px 8px;font-size:12px}.inline-edit-panel input:disabled{border-color:#d8dee6;background:#f8fafc;color:#334155;cursor:default;opacity:1}.inline-edit-panel .action-list{justify-content:start}.phase-action-panel{display:flex;align-items:center;gap:10px;border-top:1px solid #d8dee6;padding-top:12px}.phase-action-panel p{margin:0;color:#475569;font-size:13px;font-weight:900}.phase-action-feedback{margin:-2px 0 0;border-radius:6px;max-height:180px;overflow:auto;padding:8px 10px;font-size:13px;font-weight:800;line-height:1.5;overflow-wrap:anywhere;word-break:break-word}.phase-action-feedback.failed{border:1px solid #f2b8b5;background:#fff4f3;color:#b42318}.phase-item-panel{gap:12px}.phase-item-heading{display:flex;align-items:end;justify-content:space-between;gap:16px}.phase-header-action{display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}.phase-header-action span{color:#475569;font-size:13px;font-weight:900;white-space:nowrap}.phase-header-action .btn{min-height:32px;border-color:#1769aa;background:#1769aa;padding:0 10px;color:#fff;font-size:12px;white-space:nowrap;box-shadow:0 2px 6px #1769aa2e}.phase-header-action .btn:hover,.phase-header-action .btn:focus-visible{border-color:#145c94;background:#145c94}.phase-item-table{display:grid;gap:0;overflow-x:auto;overflow-y:hidden;border:1px solid #d8dee6;border-radius:8px;background:#fff}.phase-item-row{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(480px,1.8fr) 72px;gap:10px;align-items:center;min-width:0;border-bottom:1px solid #e2e8f0;padding:8px 10px}.phase-item-table.without-row-actions .phase-item-row{grid-template-columns:minmax(260px,.7fr) minmax(620px,2.15fr)}.carrier-merged-body{display:grid;grid-template-columns:minmax(320px,1.15fr) minmax(420px,1.8fr);min-width:0;border-bottom:1px solid #e2e8f0}.carrier-item-list{display:grid;min-width:0}.carrier-item-row{display:grid;grid-template-columns:minmax(320px,1fr) 52px;gap:10px;align-items:center;min-width:0;min-height:58px;border-bottom:1px solid #e2e8f0;padding:10px}.carrier-item-row:last-child{border-bottom:0}.phase-item-row:last-child{border-bottom:0}.phase-item-row.head{min-height:34px;background:#f8fafc;color:#667085;font-size:12px;font-weight:900}.phase-item-panel.done .phase-item-row.head{background:#edf8f0}.phase-item-panel.active .phase-item-row.head{background:#eaf3ff}.phase-item-panel.failed .phase-item-row.head{background:#fff0f0}.phase-product-cell{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:center;min-width:0}.phase-product-main{display:grid;gap:4px;min-width:0}.phase-product-meta{display:flex;flex-wrap:wrap;gap:4px 10px;min-width:0;color:#667085;font-size:12px;font-weight:800}.phase-product-qty{border-radius:999px;background:#eef6ff;padding:2px 8px;color:#145c94}.phase-item-variant{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.phase-field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:6px;min-width:0}.phase-field-stack{display:grid;grid-template-columns:minmax(310px,1fr) minmax(286px,.95fr);gap:8px;align-items:start;min-width:0}.phase-field-group{display:grid;gap:6px;align-content:start;min-width:0;border:1px solid #e2e8f0;border-radius:8px;background:#fff;padding:8px}.phase-field-group-main{border-left:4px solid #94a3b8}.phase-field-group-ckn002{border-color:#bfdbfe;border-left:4px solid #1769aa;background:#f3f8ff}.phase-field-group-title{color:#334155;font-size:12px;font-weight:900;letter-spacing:0}.phase-field-group-ckn002 .phase-field-group-title{color:#145c94}.phase-field-grid label{min-width:0}.phase-field-grid .phase-field-wide{grid-column:1 / -1}.phase-field-grid input{min-height:30px;padding:4px 8px;font-size:12px;text-overflow:clip}.phase-field-grid label[class*=phase-field-] input{border-width:1px;font-weight:800}.phase-field-done input{border-color:#9fd4ad;background:#f2fbf4;color:#176b32}.phase-field-attention input{border-color:#f6c467;background:#fff8e8;color:#9a5b00}.phase-field-failed input{border-color:#f3aaa4;background:#fff1f0;color:#b42318}.merged-phase-field{z-index:2;align-self:stretch;display:grid;grid-template-columns:minmax(180px,1fr) auto;align-content:center;align-items:center;column-gap:14px;border:1px solid #bdd7ff;border-width:0 0 0 1px;border-radius:0;background:#f8fbff;padding:12px}.merged-phase-field label{min-width:0}.merged-phase-field input{width:100%}.merged-phase-field .item-save-button{align-self:center;justify-self:center}.phase-save-panel{display:flex;justify-content:flex-end}.inbound-workspace{gap:14px}.inbound-toolbar{display:grid;gap:14px}.inbound-search-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;align-items:end;gap:12px}.inbound-search-grid label{min-width:0}.inbound-queue-panel{display:grid;gap:12px;padding:16px}.queue-heading-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.queue-heading-row h2{margin:0}.inbound-table{display:grid;gap:6px;min-width:0}.inbound-table-row{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.9fr) minmax(0,1.1fr) minmax(0,.9fr) minmax(0,.8fr) minmax(0,.8fr) minmax(116px,.75fr);align-items:center;gap:10px;border:1px solid #d8dee6;border-radius:6px;background:#fff;padding:10px 12px}.inbound-table-head{min-height:34px;border-color:transparent;background:#eef3f8;color:#475569;font-size:12px;font-weight:800;text-transform:uppercase}.inbound-table-row span{min-width:0;overflow-wrap:anywhere}.inbound-table-row strong,.inbound-table-row small{display:block;max-width:100%;min-width:0;overflow-wrap:anywhere}.inbound-table-row small{margin-top:3px;color:#64748b;font-size:12px;font-weight:700}.inbound-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.inbound-actions .btn{flex:1 1 54px;min-width:0;padding:0 10px}.status-pill{display:inline-flex;align-items:center;min-height:28px;border-radius:999px;padding:0 10px;font-style:normal;font-size:12px;font-weight:800}.status-pill.done{background:#e8f5eb;color:#1f7a3a}.status-pill.active{background:#e8f1fb;color:#145c94}.status-pill.waiting{background:#f3f4f6;color:#4b5563}.status-pill.failed{background:#fdecec;color:#b42318}@media(max-width:1400px){.inbound-search-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.inbound-table-row{grid-template-columns:repeat(2,minmax(0,1fr))}.inbound-table-head{display:none}}.item-save-button{justify-self:start;width:auto;min-width:60px;max-width:72px;min-height:28px;max-height:32px;padding:0 10px;font-size:12px}.quick-phase-key-bar{grid-template-columns:1fr}.quick-phase-key-bar .phase-key-item{padding:10px 12px}.quick-panel{align-content:start;gap:10px;padding:12px}.quick-panel .section-heading{display:grid;gap:4px}.detail-main-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px;min-width:0}.detail-left-column,.detail-right-column{display:grid;align-content:start;gap:12px;min-width:0}.item-table.compact .item-table-row{grid-template-columns:64px minmax(150px,1.55fr) minmax(78px,.72fr) minmax(108px,.9fr) 42px minmax(70px,.58fr) minmax(76px,.64fr) minmax(76px,.62fr);min-width:0}.item-table.compact{gap:0;overflow-x:hidden;border:1px solid #e2e8f0;border-radius:8px}.item-table.compact .item-table-row{border:0;border-bottom:1px solid #e2e8f0;border-radius:0;padding:12px}.item-table.compact .item-table-row:last-child{border-bottom:0}.item-table.compact .item-table-row.head{border-bottom:1px solid #e2e8f0}.product-cell{display:grid;grid-template-columns:46px minmax(0,1fr);gap:10px;align-items:center}.product-thumb{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:8px;background:linear-gradient(135deg,#eef2f6,#dbe5ef);color:#475569;font-style:normal;font-weight:900}.product-image{display:block;width:44px;height:44px;border-radius:8px;object-fit:cover;background:#eef2f6}.product-link{display:block;min-width:0;color:#1f2933;text-decoration:none}.product-link:hover strong{color:#145c94;text-decoration:underline}.item-table.compact .item-table-row>span{min-width:0}.item-table.compact .item-table-row>span:nth-child(3),.item-table.compact .item-table-row>span:nth-child(4),.item-table.compact .item-table-row>span:nth-child(8){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-code-cell{display:inline-flex;align-items:center;gap:6px;font-weight:900;min-width:0}.copy-mini{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border:1px solid #cbd5e1;border-radius:5px;background:#fff;color:#667085;font-size:15px;cursor:pointer}.copy-mini:hover{border-color:#1769aa;color:#145c94}.quick-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.quick-icon-button{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-height:44px;border:1px solid #dbe2ea;border-radius:8px;background:#fff;color:#1f2937;padding:10px 12px;font-size:14px;font-weight:900;line-height:1.2;text-decoration:none;cursor:pointer;box-shadow:0 1px 3px #0f172a0d;transition:border-color .15s ease,color .15s ease,background .15s ease,box-shadow .15s ease}.quick-icon-button:hover{border-color:#2563eb;background:#eff6ff;color:#1d4ed8;box-shadow:0 6px 18px #2563eb1a}.quick-action-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex:0 0 22px;border-radius:6px;background:#eef2f6;color:#475569;font-size:17px;font-weight:900}.quick-icon-button:nth-child(1) .quick-action-icon{background:#e7f6ec;color:#16803c}.quick-icon-button:nth-child(3) .quick-action-icon{border:1px solid #ef9a9a;background:#fff5f5;color:#c62828}.quick-icon-button:nth-child(4) .quick-action-icon{background:#f8fafc;color:#334155}.quick-icon-button:nth-child(5) .quick-action-icon{background:#fff7ed;color:#c2410c}.full-width{width:100%}.legacy-data-panel{border:1px solid #d8dee6;border-radius:8px;background:#fff;padding:12px 14px}.legacy-data-panel summary{color:#145c94;font-size:13px;font-weight:900;cursor:pointer}.compact-workflow{margin-top:12px}@media(max-width:1280px){.metric-strip{grid-template-columns:repeat(auto-fit,minmax(156px,188px))}.flow-strip{grid-template-columns:repeat(auto-fit,minmax(136px,164px));justify-content:center}.flow-card:not(:last-child):after{display:none}.detail-main-grid{grid-template-columns:1fr}}.order-summary{display:grid;grid-template-columns:220px 1fr;gap:22px;padding:18px}.order-summary h2{font-size:26px}.summary-subtext{margin:6px 0 0;color:#667085;font-size:13px;font-weight:700}dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0}dt{color:#667085;font-size:12px;font-weight:800}dd{margin:4px 0 0;font-size:14px;font-weight:800}.phase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.phase-card{display:grid;grid-template-columns:12px 1fr;gap:10px;min-height:92px;border:1px solid #d8dee6;border-radius:8px;background:#fff;padding:14px}.phase-dot{width:10px;height:10px;border-radius:999px;margin-top:4px;background:#98a2b3}.phase-card.done .phase-dot{background:#16803c}.phase-card.active .phase-dot{background:#1769aa}.phase-card.failed .phase-dot{background:#b42318}.phase-card h3{margin:0;font-size:15px}.phase-card p{margin:6px 0 0;color:#667085;font-size:13px;font-weight:700}.workflow-panel,.items-panel{display:grid;gap:10px;border:1px solid #d8dee6;border-radius:8px;background:#fff;padding:14px}.section-heading h2{font-size:18px}.workflow-panel{overflow:hidden}.workflow-overview{position:sticky;left:0;z-index:3;display:grid;grid-column:1 / -1;grid-template-columns:220px 1fr;gap:18px;border-bottom:1px solid #e2e8f0;background:#fff;padding-bottom:12px}.workflow-overview h2{margin:0;font-size:24px;letter-spacing:0}.workflow-card{display:grid;grid-template-rows:18px 1fr;gap:6px;position:relative;min-width:240px}.workflow-panel .workflow-card:not(:last-child):before{position:absolute;top:8px;left:18px;right:-14px;height:2px;background:#d8dee6;content:""}.workflow-marker{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-start}.workflow-body{display:grid;gap:8px;border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px}.workflow-card.done .workflow-body{border-color:#b8dec5}.workflow-card.active .workflow-body{border-color:#1769aa;background:#f0f7ff;box-shadow:0 0 0 3px #1769aa24}.workflow-card.failed .workflow-body{border-color:#f2b8b5;background:snow}.workflow-title{display:grid;grid-template-columns:1fr auto;align-items:start;gap:12px}.workflow-title h3{margin:0;font-size:15px;letter-spacing:0}.workflow-title p{margin:3px 0 0;color:#667085;font-size:12px;font-weight:800}.workflow-status{display:inline-flex;align-items:center;justify-content:center;min-width:58px;min-height:24px;border-radius:999px;background:#eef2f6;color:#475569;font-size:12px}.workflow-card.done .workflow-status{background:#e7f6ec;color:#176a3a}.workflow-card.active .workflow-status{background:#1769aa;color:#fff}.workflow-card.failed .workflow-status{background:#fdecec;color:#b42318}.key-list{grid-template-columns:1fr;gap:6px}.key-list div{display:grid;grid-template-columns:82px minmax(0,1fr);gap:8px;align-items:baseline;min-width:0;border-radius:6px;background:#f8fafc;padding:7px 8px}.key-list dt{font-size:11px}.key-list dd{margin:0;font-size:12px}.key-list dd{overflow:hidden;text-overflow:ellipsis;white-space:normal;word-break:break-word}.next-action{margin:0;color:#334155;font-size:12px;font-weight:800}.workflow-panel>.workflow-card{grid-row:2}.workflow-panel{grid-template-columns:repeat(6,minmax(240px,1fr));align-items:stretch;overflow-x:auto}.workflow-panel .section-heading{position:sticky;left:0;z-index:2;grid-column:1 / -1;background:#fff}.workflow-card.active .phase-dot{width:14px;height:14px;background:#1769aa;box-shadow:0 0 0 5px #1769aa29}.workflow-card.active .workflow-title h3:after{display:inline-flex;align-items:center;min-height:22px;margin-left:8px;border-radius:999px;background:#1769aa;padding:0 8px;color:#fff;font-size:11px;font-weight:900;vertical-align:1px;content:"現在"}.item-table{display:grid;gap:6px;overflow-x:auto}.item-table-row{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(96px,.7fr) minmax(140px,.95fr) minmax(72px,.55fr) minmax(220px,1.3fr) minmax(100px,.75fr) minmax(86px,.6fr);gap:10px;align-items:center;min-width:980px;min-height:48px;border:1px solid #e2e8f0;border-radius:6px;padding:8px 10px}.item-table-row.head{min-height:32px;border:0;background:#f8fafc;color:#667085;font-size:12px;font-weight:800}.item-table-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-table-row strong{display:block;font-size:13px}.item-table-row small{display:block;margin-top:3px;color:#667085;font-size:12px;font-weight:700}.operation-panel{display:grid;gap:14px;padding:18px}.detail-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:12px}.edit-panel{align-content:start}.edit-scope{margin:6px 0 0;color:#145c94;font-size:13px;font-weight:800}.action-list{display:flex;flex-wrap:wrap;gap:10px}.action-button{min-height:38px;border:1px solid #b9c6d4;border-radius:6px;background:#fff;padding:0 12px;color:#243447;font-weight:800;cursor:pointer}.timeline-list{display:grid;gap:0;margin:0;padding:0;list-style:none}.timeline-panel{grid-template-rows:auto minmax(0,1fr);align-content:stretch;height:var(--quick-panel-height, 630px);max-height:var(--quick-panel-height, 630px);min-height:0;overflow:hidden}.timeline-panel .section-heading{display:grid;gap:4px}.timeline-panel .timeline-list{min-height:0;overflow-y:auto;padding-right:4px}.timeline-list li{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding-bottom:20px}.timeline-list li:not(:last-child):before{position:absolute;top:26px;bottom:0;left:12px;width:2px;background:#d8dee6;content:""}.timeline-dot{z-index:1;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:999px;background:#4b9b60;color:#fff;font-size:13px;font-weight:900}.timeline-list li.active .timeline-dot{background:#3f73d8}.timeline-entry{min-width:0}.timeline-entry-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.timeline-entry h3{margin:0;font-size:15px;letter-spacing:0}.timeline-entry-head b{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;background:#e9f2fb;padding:0 10px;color:#2f66b3;font-size:12px;white-space:nowrap}.timeline-entry-head b.warehouse{background:#e7f6ec;color:#176a3a}.timeline-entry p,.timeline-entry time{display:block;margin:6px 0 0;color:#667085;font-size:13px;font-weight:800;line-height:1.5}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;background:#0f172a6b;padding:24px}.reason-dialog{display:grid;gap:14px;width:min(520px,100%);max-height:calc(100vh - 48px);overflow:auto;border:1px solid #d8dee6;border-radius:8px;background:#fff;padding:20px;box-shadow:0 24px 60px #0f172a3d}.modal-card{display:grid;gap:14px;width:min(560px,100%);max-height:calc(100vh - 48px);overflow:auto;border:1px solid #d8dee6;border-radius:8px;background:#fff;padding:20px;box-shadow:0 24px 60px #0f172a3d}.modal-card h2,.modal-card p{margin:0}.modal-card label{display:grid;gap:8px}.issue-help-dialog{width:min(640px,100%)}.issue-help-list{display:grid;gap:10px;margin:0}.issue-help-list div{display:grid;gap:4px;border:1px solid #e2e8f0;border-left:4px solid #1769aa;border-radius:8px;background:#f8fbff;padding:10px 12px}.issue-help-list dt{color:#1f2933;font-size:14px;font-weight:900}.issue-help-list dd{margin:0;color:#475569;font-size:13px;font-weight:700;line-height:1.5}.dialog-copy{border-radius:6px;background:#f8fafc;padding:10px 12px;color:#334155;font-size:13px;font-weight:800;line-height:1.5}.modal-actions{display:flex;justify-content:flex-end;gap:10px}.dialog-target{margin:0;border-radius:6px;background:#f8fafc;padding:10px 12px;color:#334155;font-size:13px;font-weight:800}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}@media(max-width:860px){.sidebar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:14px}.sidebar h1{font-size:15px;line-height:1.3}.sidebar .eyebrow{font-size:10px}.nav-link{padding:9px 8px;font-size:12px;line-height:1.35;text-align:center}.sidebar-user{justify-content:space-between;gap:8px;font-size:12px}.sidebar-user .btn{min-height:34px;padding:0 8px;font-size:12px}.workspace{padding:14px}.search-box,.order-layout,.order-summary,dl,.key-list,.phase-grid,.detail-grid{grid-template-columns:1fr}.order-table-row{min-width:0;grid-template-columns:minmax(86px,.75fr) minmax(120px,1fr) auto;gap:6px 10px;align-items:center;min-height:auto;padding:8px 10px}.order-table-row>span{white-space:normal}.order-table-row>span:nth-child(4){grid-column:2 / 4}.order-table-row>span:nth-child(5){color:#475569;font-size:12px}.order-table-row.head{display:grid;min-height:32px;padding:6px 10px}.workflow-title{display:grid}.detail-header,.detail-header-actions{align-items:stretch;flex-direction:column}.detail-main-grid,.phase-key-bar,.inline-edit-panel,.inline-edit-fields{grid-template-columns:1fr}.flow-strip{grid-template-columns:repeat(auto-fit,minmax(136px,164px));justify-content:center}.inline-edit-panel .action-list{justify-content:stretch}.inline-edit-panel .btn{flex:1 1 160px}.phase-header-action .btn{flex:0 0 auto;justify-self:start}.flow-card:after{display:none}.quick-action-grid{grid-template-columns:1fr}.phase-item-table{overflow-x:auto;overflow-y:visible;border:0;background:transparent}.phase-item-heading,.phase-header-action{align-items:stretch;flex-direction:column}.phase-header-action{align-items:flex-start}.inbound-search-grid{grid-template-columns:1fr}.phase-item-row.head{display:none}.phase-item-row,.phase-item-table.without-row-actions .phase-item-row,.carrier-item-row{grid-template-columns:1fr;gap:8px;min-width:690px;border:1px solid #d8dee6;border-radius:8px;background:#fff;margin-bottom:10px;padding:12px}.carrier-merged-body{grid-template-columns:1fr;gap:10px;border:0}.carrier-item-list{gap:10px}.merged-phase-field{border:1px solid #bdd7ff;border-radius:8px}.phase-product-cell{grid-template-columns:44px minmax(0,1fr)}.phase-field-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.item-save-button{width:auto;justify-self:start}.workflow-panel{grid-template-columns:1fr;overflow-x:visible}.workflow-overview{grid-template-columns:1fr;position:static}.workflow-card{min-width:0;grid-template-columns:18px 1fr;grid-template-rows:auto}.workflow-panel .workflow-card:not(:last-child):before{top:20px;bottom:-10px;left:4px;right:auto;width:2px;height:auto}.item-table-row{min-width:0;grid-template-columns:1fr}.item-table-row.head{display:none}.item-table-row span{white-space:normal}}@media(max-width:560px){.sidebar{grid-template-columns:1fr}.phase-item-row,.phase-item-table.without-row-actions .phase-item-row,.carrier-item-row{min-width:0}.phase-field-stack,.phase-field-grid{grid-template-columns:1fr}nav{justify-content:flex-start}.sidebar-user{justify-content:flex-start}}
