:root{color-scheme:light;--ink:#162019;--muted:#69746d;--line:#d9dfd5;--paper:#f6f4ee;--card:#fff;--accent:#1f6b4c;--accent-dark:#174f39;--danger:#a33e38;--shadow:0 16px 50px rgba(27,45,35,.08)}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 15% 0,#e2eee2 0,transparent 36%),var(--paper);font-family:Inter,"Microsoft YaHei",system-ui,sans-serif;color:var(--ink)}button,textarea{font:inherit}.muse-shell{width:min(1080px,calc(100% - 32px));margin:0 auto;padding:52px 0 40px}.muse-header{display:flex;justify-content:space-between;gap:30px;align-items:flex-start;margin-bottom:34px}.muse-kicker,.muse-product-code{display:block;letter-spacing:.16em;font-size:11px;font-weight:800;color:var(--accent)}h1,h2,p{margin:0}.muse-header h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(38px,6vw,72px);line-height:1;margin:12px 0 14px;letter-spacing:-.04em}.muse-header p{color:var(--muted);font-size:16px}.muse-back{color:var(--ink);text-decoration:none;border-bottom:1px solid var(--ink);padding-bottom:3px;margin-top:8px;white-space:nowrap}.muse-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px}.muse-product-card,.muse-panel{background:rgba(255,255,255,.88);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:20px}.muse-product-card{padding:24px;display:flex;justify-content:space-between;gap:16px;min-height:150px}.muse-product-card h2{font-size:24px;margin:15px 0 8px}.muse-product-card p{font-size:13px;color:var(--muted)}.muse-product-meta{display:flex;flex-direction:column;align-items:flex-end;gap:12px;text-align:right}.muse-product-meta strong{font-size:18px}.muse-product-meta span{font-size:13px;color:var(--accent);font-weight:700}.muse-panel{padding:28px;margin-top:18px}.muse-panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:22px}.muse-panel-heading h2{font-size:28px;margin-top:8px}.muse-status{font-size:13px;color:var(--muted);padding:8px 12px;border:1px solid var(--line);border-radius:999px}.muse-status.ready{color:var(--accent);border-color:#a9c8b5;background:#edf8f0}.muse-status.paused{color:#8e5b2b;background:#fff7e9;border-color:#edd9b8}label{display:flex;justify-content:space-between;align-items:baseline;font-weight:800;margin-bottom:9px}label small{font-weight:500;color:var(--muted)}textarea{display:block;width:100%;resize:vertical;border:1px solid var(--line);border-radius:14px;background:#fbfcf8;min-height:150px;padding:16px;outline:0;color:var(--ink)}textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(31,107,76,.12)}.muse-form-foot{display:flex;align-items:center;gap:14px;margin-top:14px;color:var(--muted);font-size:13px}.muse-link-button{border:0;background:transparent;color:var(--muted);cursor:pointer}.muse-button{border:0;border-radius:999px;background:var(--accent);color:#fff;font-weight:800;padding:12px 22px;cursor:pointer;margin-left:auto}.muse-button:hover{background:var(--accent-dark)}.muse-button:disabled{opacity:.45;cursor:not-allowed}.muse-button.secondary{background:#edf5ef;color:var(--accent);margin-left:0}.muse-error{margin-top:15px;color:var(--danger);font-size:14px}.muse-items{display:grid;gap:12px}.muse-item{border:1px solid var(--line);border-radius:14px;padding:15px;background:#fbfcf8}.muse-item-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.muse-item-status{font-size:12px;font-weight:800;color:var(--accent)}.muse-item-status.error{color:var(--danger)}.muse-delivery{display:grid;grid-template-columns:1fr auto;gap:7px 14px;margin-top:12px;font-size:14px}.muse-delivery code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;word-break:break-all;color:var(--ink)}.muse-copy{border:0;background:#eaf2eb;color:var(--accent);border-radius:8px;padding:5px 9px;cursor:pointer}.muse-note,.muse-footer{color:var(--muted);font-size:13px;margin-top:18px}.muse-footer{text-align:center;padding-top:24px}.hidden{display:none!important}@media(max-width:720px){.muse-shell{width:min(100% - 22px,560px);padding-top:30px}.muse-header{display:block}.muse-header h1{font-size:48px}.muse-back{display:inline-block;margin-top:20px}.muse-products{grid-template-columns:1fr}.muse-product-card{min-height:130px;padding:19px}.muse-product-card h2{font-size:21px}.muse-panel{padding:20px;border-radius:16px}.muse-panel-heading h2{font-size:24px}.muse-form-foot{flex-wrap:wrap}.muse-button{margin-left:auto}.muse-delivery{grid-template-columns:1fr}.muse-copy{justify-self:start}}
.muse-form-foot{flex-wrap:wrap}.muse-product-meta [data-stock]::before{content:"库存："}.muse-delivery code{overflow-wrap:anywhere;word-break:break-word}.muse-note{overflow-wrap:anywhere}
@media(min-width:721px){.muse-delivery{grid-template-columns:max-content minmax(0,1fr) auto}.muse-product-card>div:first-child{min-width:0}.muse-product-meta{flex-shrink:0}}
.muse-result-summary{margin:-8px 0 18px;padding:12px 14px;border-left:3px solid var(--accent);background:#edf7ef;color:var(--ink);font-size:13px;line-height:1.7}.muse-result .muse-item-status.error{color:var(--danger)}
.muse-result{scroll-margin-top:20px}.muse-result-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.muse-copy-feedback{min-height:20px;margin-top:12px;color:var(--accent);font-size:13px;line-height:1.5}.muse-copy{min-height:36px;white-space:nowrap}.muse-delivery-dialog{width:min(720px,calc(100% - 24px));max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);box-sizing:border-box;margin:auto;padding:24px;border:1px solid #b9d5c1;border-radius:20px;background:var(--card);color:var(--ink);box-shadow:0 24px 90px #10291a38}.muse-delivery-dialog[open]{display:flex;flex-direction:column}.muse-delivery-dialog::backdrop{background:#102319a6}.muse-dialog-open{overflow:hidden}.muse-dialog-head{display:flex;align-items:center;gap:14px;flex-shrink:0}.muse-dialog-head h2{margin:5px 0 0;font-size:28px}.muse-dialog-mark{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;border-radius:50%;background:var(--accent);color:#fff;font-size:28px;font-weight:800}.muse-delivery-dialog[data-state="error"] .muse-dialog-mark{background:var(--danger)}.muse-delivery-dialog[data-state="processing"] .muse-dialog-mark{background:#91622d}.muse-dialog-summary{flex-shrink:0;margin:16px 0;padding:12px 14px;border-radius:10px;background:#edf7ef;font-size:14px;line-height:1.7}.muse-dialog-items{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 4px 2px 0}.muse-dialog-items .muse-item{box-shadow:none}.muse-delivery-dialog>.muse-copy-feedback{flex-shrink:0;margin:10px 0}.muse-dialog-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;flex-shrink:0;padding-top:14px;border-top:1px solid var(--line)}.muse-dialog-actions .muse-button{margin:0;min-height:44px}.muse-dialog-head h2:focus,.muse-result h2:focus{outline:0}.muse-copy:focus-visible,.muse-button:focus-visible{outline:3px solid #80b795;outline-offset:3px}
@media(max-width:720px){.muse-delivery-dialog{padding:18px;border-radius:16px}.muse-dialog-head h2{font-size:24px}.muse-dialog-items .muse-delivery{grid-template-columns:minmax(0,1fr) auto;gap:7px 10px}.muse-dialog-items .muse-delivery>span{grid-column:1/-1;margin-top:7px;color:var(--muted);font-size:12px}.muse-dialog-items .muse-delivery>code{align-self:center;min-width:0;font-size:12px}.muse-dialog-items .muse-delivery>.muse-copy{grid-column:2;align-self:start;justify-self:end}.muse-dialog-actions .muse-button{padding:12px 15px}.muse-result-actions .muse-button{padding:10px 14px;font-size:13px}}
.muse-status-guide{margin-top:18px;border-top:1px solid var(--line);padding-top:14px;color:var(--muted);font-size:13px}.muse-status-guide summary{cursor:pointer;color:var(--ink);font-weight:800}.muse-status-guide dl{display:grid;gap:9px;margin:14px 0 0}.muse-status-guide dl>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px}.muse-status-guide dt{color:var(--ink);font-weight:700}.muse-status-guide dd{margin:0}.muse-status-guide dd,.muse-status-guide dt{overflow-wrap:anywhere}@media(max-width:520px){.muse-status-guide dl>div{grid-template-columns:1fr;gap:2px}}
.muse-input-note{margin-top:12px;color:var(--accent);font-size:13px;line-height:1.7}.muse-result-group{display:grid;gap:10px;min-width:0}.muse-result-group h3{display:flex;justify-content:space-between;gap:12px;margin:7px 0 0;font-size:15px}.muse-result-group h3 span{color:var(--muted);font-size:12px;font-weight:500}.muse-item-code{min-width:0;overflow-wrap:anywhere;font:12px/1.6 ui-monospace,Consolas,monospace}.muse-item-status{flex-shrink:0}.muse-pending-tools{padding:14px;border:1px solid #dbcba7;border-radius:12px;background:#fff9eb}.muse-pending-tools>strong{font-size:14px}.muse-pending-tools p{margin:6px 0 12px;color:#755c31;font-size:12px;line-height:1.7}.muse-pending-buttons{display:flex;flex-wrap:wrap;gap:8px}.muse-pending-buttons .muse-button{margin:0;padding:9px 12px;font-size:12px}.muse-card-copy{margin-top:12px;padding:7px 11px;border:1px solid #c8d8c9;border-radius:7px;background:#eef5ef;color:var(--accent);font:inherit;font-size:12px;cursor:pointer}.muse-card-copy:focus-visible{outline:3px solid #80b795;outline-offset:3px}.muse-dialog-items>.muse-result-group+.muse-result-group{margin-top:16px}@media(max-width:520px){.muse-pending-buttons{display:grid}.muse-pending-buttons .muse-button{width:100%}.muse-item-head{align-items:flex-start;flex-direction:column;gap:5px}}
