.portal-modal:has(.seller-flow){width:min(1080px,calc(100vw - 32px));max-width:none;padding:24px;max-height:94dvh;overflow:auto}
.seller-flow [hidden]{display:none!important}.seller-flow-shell{position:relative}.seller-steps{display:flex;gap:6px;overflow-x:auto;padding:4px 0 16px;border-bottom:1px solid var(--line)}
.seller-steps button{flex:1;min-width:112px;display:flex;align-items:center;gap:7px;padding:10px 8px;border:0;border-radius:10px;background:#f4eee7;color:#62564d;font-size:12px;text-align:left;cursor:pointer}.seller-steps button.active{background:#263f37;color:#fff}.seller-steps span{display:grid;place-items:center;width:24px;height:24px;flex-shrink:0;border-radius:50%;background:#ffffff65;font-weight:700}.seller-step{padding:22px 0}.seller-step h3{font-size:22px;margin:0 0 8px;outline:none}.seller-step-intro,.seller-save-state{font-size:12px;color:var(--muted);line-height:1.5}.seller-save-state{padding-top:10px}.seller-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;margin-top:20px}.seller-fields>.full,.seller-fields>section,.seller-category-fields{grid-column:1/-1}.seller-fields label{display:grid;align-content:start;gap:8px;font-size:14px;color:var(--ink);text-transform:none;letter-spacing:normal}.seller-fields input,.seller-fields select,.seller-fields textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid #cabfb5;border-radius:9px;background:#fff;font-size:15px;color:var(--ink);min-width:0}.seller-fields input[type=checkbox]{width:20px;height:20px}.seller-fields small{font-size:12px;line-height:1.5;color:var(--muted);text-transform:none;letter-spacing:normal}.seller-fields [aria-invalid=true]{border-color:#b13f35;background:#fff7f5}.seller-fields [data-field-error]{color:#a32e28;font-weight:600}.seller-required{color:#a32e28;display:inline}.seller-category-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}.seller-footer{position:sticky;bottom:-24px;background:#fffdf9f5;backdrop-filter:blur(8px);border-top:1px solid var(--line);display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:16px 0;z-index:5}.seller-footer button{border:1px solid #cabfb5;border-radius:10px;padding:12px 16px;background:#fff;color:#263f37;cursor:pointer;font-weight:600}.seller-footer .seller-primary{background:#263f37;color:#fff;border-color:#263f37}.seller-footer button:disabled{opacity:.55;cursor:wait}.seller-errors{padding:14px;border:1px solid #e1a49c;background:#fff0ec;border-radius:10px;margin-top:14px}.seller-errors button{display:block;background:none;border:0;text-align:left;color:#a32e28;text-decoration:underline;padding:6px 0;cursor:pointer}.seller-quality{padding:10px 14px;margin-bottom:10px}.seller-quality strong{font-size:18px}.seller-draft-banner{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:12px;background:#eef4eb;border-radius:10px;margin:12px 0;font-size:13px}.seller-draft-banner button{padding:7px 10px;border:1px solid #c7d4c0;background:white;border-radius:8px;cursor:pointer}.seller-readiness{padding:12px;border-radius:10px;background:#f5eee1}.seller-readiness.is-ready{background:#eef4eb;color:#263f37}.seller-card-preview{border:1px solid var(--line);border-radius:16px;padding:20px;display:grid;gap:12px;max-width:580px;margin-bottom:20px}.seller-card-preview img{width:100%;max-height:260px;object-fit:contain;border-radius:10px;background:#f5eee7}.seller-card-preview p{white-space:pre-wrap;margin:0;line-height:1.6}.seller-card-preview h2{margin:0}.seller-card-preview strong{font-size:22px}.seller-review-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.seller-review-fields>div{padding:12px;border:1px solid var(--line);border-radius:9px;min-width:0}.seller-review-fields dt{font-size:12px;color:var(--muted);margin-bottom:6px}.seller-review-fields dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.seller-flow .product-dimensions{grid-template-columns:repeat(2,minmax(0,1fr))}.seller-flow .product-media-row{grid-template-columns:64px 1fr 110px 90px}.seller-flow .media-preview{width:64px;height:64px}.seller-flow .product-upload{padding:12px 16px}.seller-flow .product-upload input{display:none}.seller-flow .media-policy{font-size:12px;line-height:1.5}.seller-flow .media-order{display:flex;gap:4px}.seller-flow .media-order button{border:1px solid var(--line);border-radius:6px;cursor:pointer;background:#fff;padding:6px}.seller-flow .multi-check{font-size:14px}.seller-flow .product-search-toggle{font-size:14px}
.proposal-request-summary{padding:16px;border:1px solid #c7d4c0;background:#eef4eb;border-radius:12px;margin:12px 0}.proposal-request-summary p{margin:6px 0;font-size:13px}.proposal-workspace{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px}.proposal-workspace>.proposal-request-summary{align-self:start;position:sticky;top:12px;line-height:1.6}.proposal-source-details{margin-top:20px;border-top:1px solid var(--line);padding-top:14px}.proposal-source-details>summary{cursor:pointer;color:#5b675e;font-weight:600}.seller-category-suggestion button{border:1px solid #c7d4c0;border-radius:8px;background:#eef4eb;padding:8px;color:#263f37;cursor:pointer;font-size:12px}.proposal-total{display:flex;justify-content:space-between;padding:16px;border-radius:12px;background:#263f37;color:white;grid-column:1/-1}.proposal-total strong{font-size:22px}.proposal-lines{grid-column:1/-1;display:grid;gap:12px}.proposal-line{display:grid;grid-template-columns:2fr .7fr .7fr 1fr auto;gap:8px;align-items:end}.proposal-lines button{border:1px solid var(--line);border-radius:8px;padding:10px;background:white;cursor:pointer}.proposal-compare{width:100%;border-collapse:collapse}.proposal-compare td,.proposal-compare th{padding:12px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}.proposal-compare .diff{background:#fff0df}.proposal-compare .unknown{color:#8b6f58}.proposal-compare td{white-space:pre-wrap}.proposal-review-note{background:#fff0df;border-radius:10px;padding:14px;line-height:1.5}.seller-flow button:focus-visible,.seller-flow input:focus-visible,.seller-flow select:focus-visible,.seller-flow textarea:focus-visible{outline:3px solid #8ba6bd;outline-offset:2px}
.seller-fields label{grid-template-columns:minmax(0,1fr) auto;min-width:0}.seller-fields label>input,.seller-fields label>select,.seller-fields label>textarea,.seller-fields label>small:not(.seller-optional){grid-column:1/-1}.seller-fields .seller-required,.seller-fields .seller-optional{grid-column:2;grid-row:1}.seller-fields .seller-optional{font-size:10px;align-self:start}.seller-flow-shell,.proposal-request-summary{min-width:0;overflow-wrap:anywhere}.proposal-request-summary b{white-space:normal}.proposal-workspace .seller-steps{max-width:100%}.proposal-total{gap:12px;flex-wrap:wrap}.proposal-compare{table-layout:fixed;overflow-wrap:anywhere}
.portal-modal:has(.seller-flow)>form{padding:0;box-shadow:none}.portal-modal:has(.seller-flow){background:var(--paper)}
@media(max-width:800px){.proposal-workspace{grid-template-columns:minmax(0,1fr)}.proposal-workspace>.proposal-request-summary{position:static}}
@media(max-width:640px){.portal-modal:has(.seller-flow){width:100vw;max-height:100dvh;height:100dvh;margin:0;border-radius:0;padding:16px;box-sizing:border-box}.seller-fields,.seller-category-fields,.seller-review-fields,.seller-flow .product-dimensions{grid-template-columns:1fr}.seller-footer{bottom:-16px;flex-wrap:wrap;padding:12px 0}.seller-footer button{flex:1;padding:12px 10px}.seller-steps button{min-width:132px}.seller-flow .product-media-row{grid-template-columns:64px 1fr}.proposal-line{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;border:1px solid var(--line);border-radius:10px}.proposal-line>label:first-child{grid-column:1/-1}.proposal-compare{font-size:12px}.proposal-compare td,.proposal-compare th{padding:8px}.seller-step h3{font-size:20px}}
