.mfcp-entry{margin:4px 0 26px;padding:0 0 22px;border-bottom:1px solid #e8e4df}
.mfcp-entry .mfcp-launch{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;min-height:54px;padding:15px 20px;background:#fff;color:#1c1916;border:1px solid #bcb6ad;border-radius:8px;font:inherit;font-size:16px;font-weight:650;text-transform:none;letter-spacing:0;box-shadow:none;cursor:pointer}
.mfcp-entry .mfcp-launch:hover{border-color:#1c1916;background:#fff}
.mfcp-launch svg{width:20px;height:20px;flex:none}.mfcp-entry p{margin:8px 0 0;font:inherit;font-size:13px;color:#655f58}
html.mfcp-open{overflow:hidden!important}
html body .mfcp-dialog{--mfcp-ink:#1c1916;--mfcp-line:#e8e4df;--mfcp-muted:#655f58;--mfcp-selected:#386754;box-sizing:border-box;width:min(1180px,calc(100vw - 64px));height:min(850px,calc(100dvh - 64px));max-width:none;max-height:none;padding:0;margin:auto;border:1px solid var(--mfcp-line);border-radius:14px;background:#fff;color:var(--mfcp-ink);font-family:inherit;font-size:16px;line-height:1.5;box-shadow:0 24px 100px #0003;overflow:hidden}
.mfcp-dialog[open]{display:flex!important;flex-direction:column}
.mfcp-dialog::backdrop{background:rgb(20 18 16 / .5)}
.mfcp-dialog *{box-sizing:border-box}.mfcp-dialog [hidden]{display:none!important}
.mfcp-dialog button,.mfcp-dialog input{font:inherit;letter-spacing:0;text-transform:none;box-shadow:none}
.mfcp-dialog button{cursor:pointer;color:var(--mfcp-ink);line-height:1.4;margin:0}
.mfcp-dialog button:focus-visible,.mfcp-launch:focus-visible,.mfcp-dialog input:focus-visible{outline:3px solid #386754;outline-offset:3px}
.mfcp-dialog button:disabled{opacity:.45;cursor:default}.mfcp-dialog h2,.mfcp-dialog h3,.mfcp-dialog p{font-family:inherit;color:inherit;letter-spacing:0;text-transform:none}
.mfcp-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 30px;border-bottom:1px solid var(--mfcp-line);flex:none}
.mfcp-header .mfcp-product{font-size:16px;font-weight:650;margin:0 0 3px}.mfcp-progress{font-size:14px;color:var(--mfcp-muted)}
.mfcp-meta-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.mfcp-dialog .mfcp-gallery-link{font-size:13px;text-decoration:underline;text-underline-offset:3px;min-height:36px;padding:4px 0;background:none;border:0}.mfcp-gallery-thumbs{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.mfcp-gallery-thumbs button{width:90px;height:80px;padding:3px;border:1px solid var(--mfcp-line);background:#fff;border-radius:6px}.mfcp-gallery-thumbs img{width:100%;height:100%;object-fit:contain}
.mfcp-dialog .mfcp-exit{display:flex;align-items:center;gap:12px;min-height:44px;background:none;border:0;padding:7px 0;font-size:14px;white-space:nowrap}.mfcp-exit svg{width:22px;height:22px}
.mfcp-nav{display:flex;flex-wrap:wrap;gap:2px 16px;padding:8px 30px;border-bottom:1px solid var(--mfcp-line);flex:none}
.mfcp-dialog .mfcp-step{border:0;border-radius:0;border-bottom:2px solid transparent;background:none;padding:10px 0;font-size:13px;color:var(--mfcp-muted);min-height:44px}
.mfcp-dialog .mfcp-step.is-current{color:var(--mfcp-ink);border-bottom-color:var(--mfcp-ink);font-weight:700}
.mfcp-body{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:32px;overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:28px 30px 36px;scrollbar-gutter:stable}
.mfcp-main{min-width:0}.mfcp-dialog h2{font-size:28px;font-weight:750;line-height:1.2;margin:0 0 12px}.mfcp-dialog h3{font-size:17px;font-weight:700;margin:0 0 14px}.mfcp-dialog .mfcp-help{font-size:15px;color:var(--mfcp-muted);margin:0 0 24px}
.mfcp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mfcp-card{position:relative;min-width:0;border:1px solid var(--mfcp-line);border-radius:10px;background:#fff;overflow:hidden}
.mfcp-card.is-selected{border-color:var(--mfcp-selected);box-shadow:none}
.mfcp-card.is-selected:after{content:'';position:absolute;inset:0;border:2px solid var(--mfcp-selected);border-radius:9px;pointer-events:none;z-index:2}
.mfcp-card-status{display:flex;align-items:center;flex:none;width:100%;min-height:52px;padding:8px 12px;text-align:left}
.mfcp-card-status--zoom{padding-right:62px}
.mfcp-choice-state{display:inline-block;padding:4px 8px;border-radius:5px;font-size:13px;line-height:20px;font-weight:600;color:var(--mfcp-muted);white-space:nowrap}
.mfcp-choice-state:before{content:'○ ';font-weight:750}
.is-selected .mfcp-card-status{background:#f2f7f4}
.is-selected .mfcp-choice-state{background:var(--mfcp-selected);color:#fff}
.is-selected .mfcp-choice-state:before{content:'✓ '}
.mfcp-dialog .mfcp-card .mfcp-zoom{top:4px;right:6px}
.mfcp-dialog .mfcp-pick:focus-visible{outline-offset:-4px}
.mfcp-card .mfcp-card-image{border-radius:0}
@media(max-width:480px){.mfcp-card-status{padding-left:6px}.mfcp-card-status--zoom{padding-right:54px}.mfcp-choice-state{font-size:12px;padding:4px 6px}}
.mfcp-dialog .mfcp-pick{display:flex;flex-direction:column;width:100%;height:100%;padding:0;text-align:left;background:transparent;border:0;border-radius:10px;color:var(--mfcp-ink)}
.mfcp-pick:hover{background:#fafafa}.mfcp-card-image{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;object-position:center;border-radius:9px 9px 0 0;background:#fff}.mfcp-card-image.mfcp-cover{object-fit:cover;aspect-ratio:1.25}
.mfcp-card-copy{display:flex;flex-direction:column;gap:5px;width:100%;padding:16px}.mfcp-card-copy strong{font-size:17px;line-height:1.35;font-weight:650}.mfcp-card-fee{font-size:15px;color:var(--mfcp-muted)}.mfcp-selected{font-size:13px;font-weight:650;margin-top:6px;color:var(--mfcp-muted)}.is-selected .mfcp-selected{color:var(--mfcp-selected)}
.mfcp-dialog .mfcp-zoom{position:absolute;top:10px;right:10px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:11px;background:#fff;border:1px solid var(--mfcp-line);border-radius:50%;box-shadow:0 2px 8px #0001}.mfcp-zoom svg{width:22px;height:22px}
.mfcp-deliveries{grid-template-columns:minmax(0,1fr)}.mfcp-card-description{font-size:15px;color:var(--mfcp-muted);font-weight:400;line-height:1.5}.mfcp-deliveries .mfcp-card-copy{padding:20px}
.mfcp-aside{align-self:start;border-left:1px solid var(--mfcp-line);padding-left:25px;min-width:0}.mfcp-summary-row{display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:14px 0;border-bottom:1px solid var(--mfcp-line);font-size:14px}.mfcp-summary-label{grid-column:1/-1;color:var(--mfcp-muted);font-size:13px}.mfcp-summary-row strong{font-weight:650;overflow-wrap:anywhere}.mfcp-summary-fee{font-size:13px;text-align:right;white-space:nowrap;color:var(--mfcp-muted)}.mfcp-summary-base{display:flex;justify-content:space-between;gap:15px;padding:18px 0;font-size:14px}
.mfcp-dialog .mfcp-link{background:none;border:0;border-radius:0;text-align:left;padding:8px 0;min-height:44px;font-size:14px;text-decoration:underline;text-underline-offset:4px}
.mfcp-final{grid-template-columns:minmax(0,1fr)}.mfcp-final .mfcp-main{max-width:760px;width:100%;margin:auto}.mfcp-final .mfcp-summary-row{grid-template-columns:150px minmax(0,1fr) auto 60px;gap:18px;align-items:baseline}.mfcp-final .mfcp-summary-label{grid-column:auto}
.mfcp-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;flex:none;border-top:1px solid var(--mfcp-line);padding:16px 30px;background:#fff}.mfcp-price{display:flex;flex-direction:column;gap:2px}.mfcp-price span{font-size:13px;color:var(--mfcp-muted)}.mfcp-price strong{font-size:26px;font-weight:750;line-height:1.2}.mfcp-actions{display:flex;gap:12px}
.mfcp-dialog .mfcp-primary,.mfcp-dialog .mfcp-secondary{padding:13px 22px;min-height:48px;border:1px solid var(--mfcp-ink);border-radius:7px;font-size:15px;font-weight:600;background:#fff;color:var(--mfcp-ink)}.mfcp-dialog .mfcp-primary{background:var(--mfcp-ink);color:#fff;min-width:130px}.mfcp-dialog .mfcp-primary:hover{background:#38332e}.mfcp-dialog .mfcp-secondary:hover{background:#f8f8f8}
.mfcp-palette-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.mfcp-dialog .mfcp-palette{min-height:44px;padding:9px 13px;font-size:14px;border:1px solid var(--mfcp-line);border-radius:6px;background:#fff}.mfcp-dialog .mfcp-palette.is-selected{border-color:var(--mfcp-ink);box-shadow:inset 0 0 0 1px var(--mfcp-ink)}
.mfcp-dialog .mfcp-search{display:block;width:100%;height:48px;margin:0 0 10px;padding:10px 14px;border:1px solid #bcb6ad;border-radius:6px;background:#fff;color:var(--mfcp-ink);font-size:16px}.mfcp-dialog .mfcp-count{font-size:13px;color:var(--mfcp-muted);margin:0 0 16px}.mfcp-fabrics{margin-bottom:20px}.mfcp-notice{font-size:15px;color:#8b3020!important;margin:16px 0 0!important}.mfcp-notice:empty{display:none}.mfcp-empty{padding:20px 0;color:var(--mfcp-muted)!important}
.mfcp-preview{padding:24px 30px;overflow:auto;overscroll-behavior:contain;min-height:0;flex:1}.mfcp-preview h3{margin-top:22px}.mfcp-preview-image{display:block;max-width:100%;width:auto;height:auto;max-height:55dvh;object-fit:contain;margin:20px auto}.mfcp-muted{color:var(--mfcp-muted)!important}.mfcp-preview p{max-width:760px;margin:14px auto;font-size:16px}
.mfcp-fabrics{grid-template-columns:repeat(3,minmax(0,1fr))}.mfcp-fabrics .mfcp-card-image{aspect-ratio:1.6}.mfcp-aside{position:sticky;top:0}.mfcp-dialog input.mfcp-search{border:1px solid #bcb6ad!important;color:#1c1916!important}.mfcp-dialog input.mfcp-search::placeholder{color:#655f58!important;opacity:1}
@media(max-width:850px){html body .mfcp-dialog{width:100%;height:100dvh;margin:0;border:0;border-radius:0}.mfcp-header{padding:14px 18px;gap:12px}.mfcp-header .mfcp-product{font-size:14px}.mfcp-progress{font-size:13px}.mfcp-dialog .mfcp-exit{font-size:12px;white-space:normal;max-width:125px;text-align:right;gap:7px}.mfcp-exit svg{flex:none;width:20px}.mfcp-nav{display:none}.mfcp-body{grid-template-columns:minmax(0,1fr);padding:22px 18px 28px;gap:0}.mfcp-aside{display:none}.mfcp-dialog h2{font-size:26px}.mfcp-dialog .mfcp-help{font-size:15px;margin-bottom:20px}.mfcp-grid{gap:12px}.mfcp-card-copy{padding:14px}.mfcp-card-copy strong{font-size:16px}.mfcp-footer{gap:14px;padding:14px 18px max(14px,env(safe-area-inset-bottom))}.mfcp-price strong{font-size:23px}.mfcp-actions{gap:8px}.mfcp-dialog .mfcp-primary,.mfcp-dialog .mfcp-secondary{padding:12px 16px;font-size:14px;min-width:0}.mfcp-final .mfcp-summary-row{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px}.mfcp-final .mfcp-summary-label{grid-column:1/-1}.mfcp-preview{padding:18px}.mfcp-preview-image{max-height:46dvh}}
@media(max-width:480px){.mfcp-grid{grid-template-columns:minmax(0,1fr)}.mfcp-fabrics{grid-template-columns:repeat(2,minmax(0,1fr))}.mfcp-fabrics .mfcp-card-copy{padding:10px}.mfcp-fabrics .mfcp-card-copy strong{font-size:15px}.mfcp-fabrics .mfcp-card-fee{font-size:13px}.mfcp-fabrics .mfcp-zoom{width:40px;height:40px;top:6px;right:6px}.mfcp-footer{flex-wrap:wrap;gap:12px}.mfcp-price{flex-direction:row;align-items:baseline;justify-content:space-between;width:100%}.mfcp-actions{width:100%}.mfcp-actions .mfcp-primary{flex:1}.mfcp-dialog .mfcp-palette{padding:9px 11px}.mfcp-card-image{max-height:220px}.mfcp-fabrics .mfcp-card-image{max-height:none}}
@media(max-width:480px){.mfcp-fabrics .mfcp-zoom{width:44px;height:44px}.mfcp-meta-actions{gap:2px 12px}.mfcp-dialog .mfcp-gallery-link{min-height:44px}}
@media(prefers-reduced-motion:reduce){.mfcp-dialog *{scroll-behavior:auto!important;transition:none!important}}

/* v0.2: retain the store's photography and full fabric information. */
.mfcp-dialog .mfcp-palette-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 24px}
.mfcp-dialog .mfcp-palette{display:flex;flex-direction:column;min-width:0;min-height:0;padding:0;overflow:hidden;border-radius:10px;text-align:left;background:#fff}
.mfcp-palette-image{display:block;width:100%;aspect-ratio:1.5;object-fit:contain;object-position:center;background:#fff}
.mfcp-palette-caption{display:flex;flex-direction:column;gap:3px;width:100%;padding:12px 13px;border-top:1px solid var(--mfcp-line)}
.mfcp-palette-caption strong{font-size:15px;font-weight:650}.mfcp-palette-caption>span{font-size:12px;color:var(--mfcp-muted)}
.mfcp-dialog .mfcp-palette:hover{border-color:#898278}.mfcp-dialog .mfcp-palette.is-selected{border-color:var(--mfcp-selected);box-shadow:inset 0 0 0 1px var(--mfcp-selected)}
.mfcp-library-entry{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 20px;font-size:14px;color:var(--mfcp-muted)}
.mfcp-dialog .mfcp-library-link{background:#fff;border:1px solid #bcb6ad;border-radius:7px;padding:12px 16px;min-height:46px;font-size:14px;font-weight:600;color:var(--mfcp-ink)}
.mfcp-fabric-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px}.mfcp-fabric-toolbar .mfcp-link{font-size:14px}
.mfcp-fabric-context{display:flex;align-items:center;gap:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--mfcp-line)}
.mfcp-fabric-context>img{width:120px;height:80px;object-fit:contain;border:1px solid var(--mfcp-line);border-radius:7px;flex:none}.mfcp-fabric-context h3{font-size:20px;margin:0 0 5px}.mfcp-fabric-context p{font-size:14px;color:var(--mfcp-muted);margin:0}
.mfcp-fabric-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,210px);gap:12px;align-items:start}
.mfcp-dialog .mfcp-filter{width:100%;min-height:48px;border:1px solid #bcb6ad;border-radius:6px;background:#fff;color:var(--mfcp-ink);padding:10px 28px 10px 12px;margin:0;font:inherit;font-size:14px;text-transform:none;letter-spacing:0;box-shadow:none}
.mfcp-dialog .mfcp-filter:focus-visible{outline:3px solid #386754;outline-offset:3px}
.mfcp-card{display:flex;flex-direction:column}.mfcp-dialog .mfcp-pick{height:auto;flex:1}.mfcp-card-image{flex:none}.mfcp-card-copy{flex:1}
.mfcp-card-cost{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}.mfcp-card-group{font-size:12px;color:var(--mfcp-muted)}
.mfcp-fabrics .mfcp-card-image{aspect-ratio:1;object-fit:contain}.mfcp-fabrics .mfcp-card-copy{gap:9px}.mfcp-fabrics .mfcp-card-fee{font-size:14px;color:var(--mfcp-ink);font-weight:550}
.mfcp-features{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:400;line-height:1.45;color:var(--mfcp-muted);padding-top:8px;border-top:1px solid var(--mfcp-line)}
.mfcp-features>span{display:flex;align-items:baseline;gap:6px}.mfcp-features>span:before{content:'·';font-weight:700;color:var(--mfcp-selected)}
.mfcp-dialog .mfcp-details{display:block;flex:none;width:100%;padding:10px 16px;min-height:44px;font-size:13px;text-align:left;text-decoration:underline;text-underline-offset:3px;background:#fff;border:0;border-top:1px solid var(--mfcp-line);border-radius:0;color:var(--mfcp-muted)}
.mfcp-dialog .mfcp-details:hover{color:var(--mfcp-ink);background:#fafafa}
.mfcp-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.mfcp-card--option .mfcp-card-image{aspect-ratio:4/3;min-height:160px}.mfcp-card--option .mfcp-card-copy strong:first-letter{text-transform:uppercase}
.mfcp-dialog .mfcp-product-preview{display:block;width:100%;padding:0 0 18px;margin:0 0 18px;border:0;border-bottom:1px solid var(--mfcp-line);border-radius:0;background:#fff;text-align:left}
.mfcp-product-preview img{display:block;width:100%;height:160px;object-fit:contain;border-radius:8px}.mfcp-product-preview span{display:block;font-size:12px;color:var(--mfcp-muted);margin-top:8px;text-decoration:underline;text-underline-offset:3px}
.mfcp-preview-features{max-width:760px;margin:20px auto;padding:18px 18px 18px 38px;border-top:1px solid var(--mfcp-line);font-size:15px;color:var(--mfcp-muted)}.mfcp-preview-features li{margin:6px 0}
.mfcp-preview-image{max-height:60dvh}.mfcp-card.is-selected .mfcp-selected:before{content:'✓ ';font-weight:750}
.mfcp-fabric-context--library{border:0;padding:0;margin:0 0 16px}.mfcp-fabric-context--library p{font-size:14px}.mfcp-fabric-toolbar{margin-bottom:10px}
@media(min-width:851px) and (max-width:1100px){.mfcp-dialog .mfcp-palette-list{grid-template-columns:repeat(3,minmax(0,1fr))}.mfcp-fabrics,.mfcp-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}.mfcp-fabric-controls{grid-template-columns:minmax(0,1fr)}.mfcp-body:not(.mfcp-final){grid-template-columns:minmax(0,1fr) 230px;gap:22px}}
@media(max-width:850px){.mfcp-dialog .mfcp-palette-list{grid-template-columns:repeat(3,minmax(0,1fr))}.mfcp-fabric-context>img{width:96px;height:72px}.mfcp-fabrics{grid-template-columns:repeat(3,minmax(0,1fr))}.mfcp-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.mfcp-dialog .mfcp-palette-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mfcp-dialog .mfcp-palette{padding:0}.mfcp-palette-caption{padding:10px}.mfcp-palette-caption strong{font-size:14px}.mfcp-palette-caption>span{font-size:12px}.mfcp-library-entry{flex-direction:column;align-items:stretch;gap:10px}.mfcp-library-link{width:100%}.mfcp-fabric-toolbar{align-items:stretch;flex-direction:column;gap:6px;margin-bottom:14px}.mfcp-fabric-toolbar .mfcp-link{align-self:start}.mfcp-fabric-context{gap:12px;margin-bottom:16px;padding-bottom:16px}.mfcp-fabric-context>img{width:76px;height:60px}.mfcp-fabric-context h3{font-size:18px}.mfcp-fabric-context p{font-size:13px}.mfcp-fabric-controls{grid-template-columns:minmax(0,1fr);gap:0}.mfcp-dialog .mfcp-filter{margin-bottom:12px;font-size:16px}.mfcp-fabrics{grid-template-columns:repeat(2,minmax(0,1fr))}.mfcp-grid-three{grid-template-columns:minmax(0,1fr)}.mfcp-features{font-size:12px;gap:6px}.mfcp-features>span{gap:4px}.mfcp-card-cost{gap:4px}.mfcp-fabrics .mfcp-card-fee{font-size:13px}.mfcp-dialog .mfcp-details{padding:10px;font-size:13px}.mfcp-card--option .mfcp-card-image{min-height:0;max-height:240px}}

/* v0.3: quieter hierarchy, explicit choices and a compact mobile workspace. */
.mfcp-dialog .mfcp-progress{display:flex;align-items:center;gap:7px;padding:0;min-height:44px;border:0;border-radius:0;background:none;font-size:14px;color:var(--mfcp-muted)}
.mfcp-progress:after{content:'⌄';font-size:16px}
.mfcp-nav-collapsed .mfcp-nav{display:none}
.mfcp-dialog .mfcp-step{display:flex;align-items:center;gap:8px;font-size:14px}
.mfcp-step-mark{display:inline-flex;align-items:center;justify-content:center;flex:none;width:23px;height:23px;border:1px solid var(--mfcp-line);border-radius:50%;font-size:12px}
.is-complete .mfcp-step-mark{border-color:var(--mfcp-selected);color:var(--mfcp-selected)}
.is-current .mfcp-step-mark{background:var(--mfcp-ink);border-color:var(--mfcp-ink);color:#fff}
.mfcp-dialog .mfcp-notice{margin:0 0 16px!important;padding:10px 12px;border-left:2px solid #8b3020;font-size:14px}
.mfcp-dialog .mfcp-count{font-size:14px;margin:0 0 12px}
.mfcp-dialog .mfcp-fabric-toolbar{flex-direction:row;align-items:center;gap:12px;margin:0 0 12px}
.mfcp-fabric-toolbar .mfcp-library-link{width:auto;min-height:44px;padding:9px 12px;white-space:nowrap}
.mfcp-dialog .mfcp-fabric-controls{grid-template-columns:minmax(0,1fr) auto;gap:10px;margin:0 0 12px}
.mfcp-dialog .mfcp-search{margin:0;height:48px;padding:10px 12px;border-radius:6px!important}
.mfcp-dialog .mfcp-filter-toggle{min-height:48px;padding:10px 12px;background:#fff;border:1px solid #bcb6ad;border-radius:6px;font-size:14px}
.mfcp-filter-toggle[aria-expanded="true"]{border-color:var(--mfcp-ink)}
.mfcp-dialog .mfcp-filter{grid-column:1/-1;margin:0;font-size:16px}
.mfcp-fabrics .mfcp-card-copy{gap:7px;padding:14px}
.mfcp-fabrics .mfcp-card-copy strong{font-size:16px}
.mfcp-fabrics .mfcp-card-fee{font-size:14px}
.mfcp-features{font-size:14px;gap:4px;line-height:1.4;font-weight:400;padding-top:7px}
.mfcp-dialog .mfcp-details{font-size:14px;padding:10px 14px}
.mfcp-dialog .mfcp-palette-caption>span{font-size:14px}
.mfcp-card--option .mfcp-card-image{aspect-ratio:4/3;max-height:250px;min-height:0}
.mfcp-library-entry{justify-content:flex-start;margin-bottom:18px}
.mfcp-price-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.mfcp-compact-toggle,.mfcp-compact-summary{display:none}
@media(max-width:850px){
  .mfcp-header{padding:10px 16px;gap:10px;align-items:flex-start}
  .mfcp-header>div{min-width:0;flex:1}
  .mfcp-header .mfcp-product{font-size:14px;line-height:1.35;margin:0}
  .mfcp-meta-actions{flex-wrap:nowrap;gap:16px}
  .mfcp-dialog .mfcp-progress,.mfcp-dialog .mfcp-gallery-link{font-size:13px;min-height:44px;white-space:nowrap}
  .mfcp-progress:after{content:'⌄';font-size:16px}
  .mfcp-dialog .mfcp-exit{width:44px;min-width:44px;height:44px;min-height:44px;padding:10px;justify-content:center}
  .mfcp-exit>span{display:none}
  .mfcp-nav-open .mfcp-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 16px;gap:0 12px;max-height:28dvh;overflow:auto}
  .mfcp-dialog .mfcp-step{text-align:left;font-size:14px;line-height:1.25}
  .mfcp-body{padding:16px 16px 24px;scrollbar-gutter:auto}
  .mfcp-dialog h2{font-size:24px;line-height:1.2;margin-bottom:12px}
  .mfcp-dialog .mfcp-help{font-size:15px;margin-bottom:16px}
  .mfcp-footer{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:8px 16px max(10px,env(safe-area-inset-bottom));position:relative}
  .mfcp-price-row{width:100%;min-height:44px}
  .mfcp-summary-step .mfcp-price-row{justify-content:flex-end}
  .mfcp-price{width:auto;flex-direction:column;align-items:flex-end;gap:1px}
  .mfcp-price span{font-size:12px;white-space:nowrap}
  .mfcp-price strong{font-size:23px;white-space:nowrap}
  .mfcp-actions{width:100%;gap:8px}
  .mfcp-actions .mfcp-primary{flex:1;min-width:0}
  .mfcp-dialog .mfcp-primary,.mfcp-dialog .mfcp-secondary{font-size:14px;min-height:48px;padding:10px 12px}
  .mfcp-dialog .mfcp-compact-toggle{display:flex;align-items:center;gap:7px;min-height:44px;min-width:0;padding:0;border:0;border-radius:0;background:none;font-size:13px;text-align:left}
  .mfcp-compact-photo:empty{display:none}
  .mfcp-compact-photo img{display:block;width:28px;height:28px;object-fit:cover;border-radius:4px;border:1px solid var(--mfcp-line)}
  .mfcp-chevron{font-size:16px}.mfcp-compact-toggle[aria-expanded="true"] .mfcp-chevron{transform:rotate(180deg)}
  .mfcp-compact-summary{display:block;position:absolute;bottom:100%;left:0;right:0;max-height:38dvh;overflow:auto;overscroll-behavior:contain;padding:0 16px 8px;background:#fff;border-top:1px solid var(--mfcp-line);box-shadow:0 -8px 24px #0000000a}
  .mfcp-compact-summary .mfcp-summary-row{padding:10px 0;gap:3px 12px}
  .mfcp-compact-summary .mfcp-link{grid-column:1/-1;justify-self:start;padding:6px 0}
}
@media(max-width:480px){
  .mfcp-fabrics .mfcp-card-copy{padding:10px;gap:7px}
  .mfcp-features{font-size:14px}
  .mfcp-dialog .mfcp-details{font-size:14px;padding:10px}
  .mfcp-palette-caption{padding:10px}
  .mfcp-fabric-toolbar .mfcp-library-link{font-size:14px;padding:8px 10px}
  .mfcp-fabric-toolbar .mfcp-link{font-size:14px}
}

/* v0.4: one clear hierarchy for the review, sidebar and mobile choices. */
.mfcp-dialog .mfcp-summary{width:100%;min-width:0}
.mfcp-dialog .mfcp-summary-row{display:block;min-width:0;padding:12px 0 17px;border-bottom:1px solid #e4e0da}
.mfcp-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px;margin-bottom:5px}
.mfcp-dialog .mfcp-summary-label{font-size:14px;font-weight:550;line-height:1.35;color:#655f58;text-transform:none;letter-spacing:0}
.mfcp-dialog .mfcp-summary-edit{flex:none;min-height:44px;min-width:64px;padding:8px 10px;font-size:14px;font-weight:550;line-height:1.3;color:#292521;background:#fff;border:1px solid #d4cec5;border-radius:6px;text-decoration:none}
.mfcp-dialog .mfcp-summary-edit:hover{border-color:#6f675d}
.mfcp-summary-selection{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}
.mfcp-summary-choice{display:flex;align-items:center;gap:12px;min-width:0}
.mfcp-dialog .mfcp-summary-value{display:block;min-width:0;font-size:17px;font-weight:650;line-height:1.4;color:#1c1916;overflow-wrap:break-word}
.mfcp-summary-value:first-letter{text-transform:uppercase}
.mfcp-summary-swatch{display:block;flex:none;width:44px;height:44px;object-fit:cover;border:1px solid #e4e0da;border-radius:6px}
.mfcp-dialog .mfcp-summary-fee{display:flex;flex-direction:column;align-items:flex-end;gap:2px;font-size:15px;color:#504a43;line-height:1.35;text-align:right;white-space:normal;max-width:145px}
.mfcp-summary-cost-label{font-size:13px;font-weight:400;color:#655f58}
.mfcp-summary-amount{font-size:15px;white-space:nowrap;font-weight:500}
.has-surcharge .mfcp-summary-amount{font-weight:650;color:#1c1916}
.mfcp-dialog .is-missing .mfcp-summary-value{font-size:16px;font-weight:550;color:#835335}
.mfcp-dialog .mfcp-summary-base{padding:20px 0 8px;font-size:15px;color:#504a43;border-top:0;align-items:baseline}
.mfcp-summary-base strong{font-size:16px;color:#1c1916;white-space:nowrap}
.mfcp-final .mfcp-main{margin:0 auto;max-width:780px}
.mfcp-aside .mfcp-summary-row{padding:12px 0}
.mfcp-aside .mfcp-summary-heading{min-height:0;margin-bottom:7px}
.mfcp-aside .mfcp-summary-value{font-size:16px}
.mfcp-aside .mfcp-summary-selection{grid-template-columns:minmax(0,1fr);gap:7px}
.mfcp-aside .mfcp-summary-fee{flex-direction:row;align-items:baseline;justify-content:space-between;max-width:none;width:100%}
.mfcp-aside .mfcp-summary-swatch{width:38px;height:38px}
.mfcp-compact-header,.mfcp-compact-content{min-width:0}
@media(min-width:851px){
  .mfcp-final .mfcp-summary-row{display:grid;grid-template-columns:minmax(0,1fr) 120px 68px;grid-template-areas:'label fee edit' 'choice fee edit';gap:5px 22px;align-items:center;padding:16px 0}
  .mfcp-final .mfcp-summary-heading,.mfcp-final .mfcp-summary-selection{display:contents}
  .mfcp-final .mfcp-summary-label{grid-area:label}
  .mfcp-final .mfcp-summary-choice{grid-area:choice}
  .mfcp-final .mfcp-summary-fee{grid-area:fee;justify-self:end}
  .mfcp-final .mfcp-summary-edit{grid-area:edit;justify-self:end}
}
@media(max-width:850px){
  .mfcp-dialog .mfcp-compact-toggle{padding:6px 8px;border:1px solid #c6bfb5;border-radius:7px;font-size:14px;font-weight:550;gap:7px;flex:none}
  .mfcp-compact-toggle>span:nth-child(2){max-width:70px;line-height:1.2}
  .mfcp-compact-photo img{width:24px;height:24px}
  .mfcp-dialog .mfcp-compact-summary{position:static;display:flex;flex-direction:column;flex:1;min-height:0;max-height:none;overflow:hidden;padding:0;border:0;background:#fff;box-shadow:none}
  .mfcp-summary-open .mfcp-body,.mfcp-summary-open .mfcp-nav{display:none!important}
  .mfcp-compact-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 12px;border-bottom:1px solid #e4e0da;flex:none}
  .mfcp-dialog .mfcp-compact-header h2{font-size:22px;line-height:1.25;margin:0}
  .mfcp-dialog .mfcp-summary-collapse{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 10px;font-size:14px;background:#fff;border:1px solid #d4cec5;border-radius:6px;color:#292521}
  .mfcp-summary-collapse svg{width:16px;height:16px}
  .mfcp-compact-content{overflow:auto;overscroll-behavior:contain;min-height:0;padding:0 16px 18px;flex:1}
  .mfcp-dialog .mfcp-summary-row{padding:10px 0 15px}
.mfcp-dialog .mfcp-summary-value{font-size:16px;line-height:1.4}
  .mfcp-dialog .mfcp-summary-base{padding:18px 0 6px}
  .mfcp-summary-choice{gap:9px}
  .mfcp-summary-swatch{width:36px;height:36px}
  .mfcp-dialog .mfcp-summary-fee{max-width:105px}
  .mfcp-dialog .mfcp-price span{font-size:13px}
}
.mfcp-confirm-hint{display:block;color:#765b37;font-size:13px;font-weight:500}
.mfcp-summary-choice:has(.mfcp-confirm-hint){flex-wrap:wrap}
.mfcp-dialog .mfcp-addon-quantity{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-top:1px solid #e4e0da;font-size:15px}
.mfcp-addon-quantity input{width:72px;min-height:44px;font:inherit;border:1px solid #c6bfb5;border-radius:6px;padding:6px}

/* v0.7: palette previews, contextual product photo and a second entry point. */
.mfcp-palette-card{position:relative;min-width:0}
.mfcp-dialog .mfcp-palette-card>.mfcp-palette{width:100%;height:100%}
.mfcp-dialog .mfcp-palette-zoom{top:7px;right:7px;width:44px;height:44px}
.mfcp-dialog .mfcp-summary-photo{min-width:0;margin:0 0 20px;padding:0}
.mfcp-dialog .mfcp-summary-photo-open{position:relative;display:block;width:100%;min-height:96px;padding:0;border:0;border-radius:8px;background:#fff;overflow:hidden}
.mfcp-summary-photo-open>img{display:block;width:100%;height:180px;object-fit:contain;background:#fff}
.mfcp-photo-zoom{position:absolute;right:8px;bottom:8px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #e4e0da;border-radius:50%;background:#fff}
.mfcp-photo-zoom svg{width:18px;height:18px}
.mfcp-summary-photo figcaption{display:flex;flex-direction:column;gap:4px;margin-top:10px;font-size:13px;line-height:1.4;color:#655f58}
.mfcp-summary-photo figcaption strong{font-size:14px;font-weight:600;color:#292521}
.mfcp-aside .mfcp-summary-photo{padding-bottom:18px;border-bottom:1px solid #e4e0da}
.mfcp-aside .mfcp-summary-photo-open>img{height:150px}
.mfcp-final .mfcp-main{max-width:1040px}
.mfcp-review{display:grid;grid-template-columns:260px minmax(0,1fr);gap:32px;align-items:start}
.mfcp-review--no-photo{grid-template-columns:minmax(0,1fr)}
.mfcp-review>.mfcp-summary-photo{position:sticky;top:0;margin:0;padding-top:12px}
.mfcp-review .mfcp-summary-row{gap:5px 14px;grid-template-columns:minmax(0,1fr) 104px 68px}
html body .mfcp-entry.mfcp-entry--secondary{display:block;clear:both;margin:20px 0 0;padding:16px 0 0;border:0;border-top:1px solid #e8e4df;width:100%}
html body .mfcp-entry--secondary .mfcp-launch--secondary{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;margin:0;padding:12px 14px;border:1px solid #c6bfb5;border-radius:7px;background:#fff;color:#292521;font:inherit;font-size:14px;font-weight:550;line-height:1.4;text-align:left;text-transform:none;letter-spacing:0;box-shadow:none;cursor:pointer}
.mfcp-launch--secondary>span{min-width:0;white-space:normal}
html body .mfcp-entry--secondary .mfcp-launch--secondary:hover{background:#faf9f7;border-color:#81766a}
@media(max-width:1100px) and (min-width:851px){.mfcp-review{grid-template-columns:200px minmax(0,1fr);gap:22px}.mfcp-review--no-photo{grid-template-columns:minmax(0,1fr)}}
@media(max-width:850px){
  .mfcp-review{display:block}
  .mfcp-dialog .mfcp-summary-photo{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;align-items:center;margin:0 0 16px;padding:0 0 16px;border-bottom:1px solid #e4e0da;position:static}
  .mfcp-summary-photo-open>img{height:100px}
  .mfcp-summary-photo figcaption{margin:0}
  .mfcp-compact-content>.mfcp-summary-photo{margin-top:12px}
}
@media(max-width:360px){.mfcp-dialog .mfcp-summary-photo{grid-template-columns:96px minmax(0,1fr);gap:12px}.mfcp-summary-photo-open>img{height:96px}}

/* v0.8: compact colour choices, without reducing functional product photos. */
.mfcp-color-swatches{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.mfcp-color-swatches .mfcp-card-image{aspect-ratio:3/2;min-height:0;max-height:150px;object-fit:cover}
.mfcp-card--chair .mfcp-card-image{object-fit:contain;aspect-ratio:4/3;min-height:0;max-height:250px}
.mfcp-color-swatches .mfcp-card-copy{padding:12px;gap:5px}
.mfcp-color-swatches .mfcp-card-copy strong{font-size:15px;line-height:1.35}
.mfcp-color-swatches .mfcp-card-fee{font-size:14px}
.mfcp-color-swatches .mfcp-card-status{padding:6px;min-height:54px}
.mfcp-color-swatches .mfcp-choice-state{font-size:12px;padding:5px 6px}
.mfcp-color-swatches .mfcp-zoom{width:44px;height:44px;top:5px;right:5px}
.mfcp-chosen-fabric{display:flex;align-items:center;gap:12px;padding:14px 0;margin-bottom:16px;border-top:1px solid var(--mfcp-line);border-bottom:1px solid var(--mfcp-line)}
.mfcp-chosen-fabric>img{width:44px;height:44px;object-fit:cover;border:1px solid var(--mfcp-line);border-radius:5px}
.mfcp-chosen-fabric>span{display:flex;flex:1;flex-direction:column;gap:4px;font-size:15px}
.mfcp-chosen-fabric .mfcp-muted{font-size:13px}
.mfcp-chosen-fabric>button{flex:none}
@media(max-width:850px){.mfcp-color-swatches{grid-template-columns:repeat(2,minmax(0,1fr))}.mfcp-color-swatches .mfcp-card-image{max-height:130px}}
@media(max-width:480px){.mfcp-color-swatches{gap:12px}.mfcp-color-swatches .mfcp-card-image{max-height:112px}.mfcp-color-swatches .mfcp-card-copy{padding:10px}.mfcp-chosen-fabric{flex-wrap:wrap}.mfcp-chosen-fabric>button{margin-left:auto}}

/* v0.9: clearer choices; native Favorites remains the only saved-config store. */
.mfcp-dialog .mfcp-notice--info{color:#504a43!important;border-left-color:#8b9b90}
.mfcp-price-change{font-size:14px;line-height:1.4;color:var(--mfcp-muted)}
.mfcp-card--table .mfcp-card-fee{font-weight:600;color:var(--mfcp-ink)}
.mfcp-fabric-tools{display:flex;border-top:1px solid var(--mfcp-line)}
.mfcp-dialog .mfcp-fabric-tools>button{flex:1;min-width:0;width:auto;min-height:44px;padding:8px 5px;border:0;border-radius:0;background:#fff;font-size:14px;color:var(--mfcp-muted);text-align:center}
.mfcp-fabric-tools>button+button{border-left:1px solid var(--mfcp-line)!important}
.mfcp-dialog .mfcp-compare-pick[aria-pressed="true"]{color:#fff;background:var(--mfcp-selected);font-weight:600}
.mfcp-dialog .mfcp-compare-intro{font-size:14px;line-height:1.5;color:var(--mfcp-muted);margin:0 0 16px}
.mfcp-compare-tray{flex:none;padding:10px 30px 8px;border-bottom:1px solid var(--mfcp-line);background:#fff;min-width:0}
.mfcp-compare-tray-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}
.mfcp-compare-tray-top>strong{font-size:14px;font-weight:650}
.mfcp-dialog .mfcp-compare-tray-top>button{padding:9px 16px;min-height:44px;border-color:var(--mfcp-selected);color:var(--mfcp-selected);font-size:14px}
.mfcp-compare-rail{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;padding:3px 2px 6px;scrollbar-width:thin}
.mfcp-compare-chip{display:flex;align-items:center;flex:none;gap:8px;border:1px solid var(--mfcp-line);border-radius:7px;padding-left:6px;background:#fff;font-size:13px;white-space:nowrap}
.mfcp-compare-chip>img{width:34px;height:34px;border-radius:4px;object-fit:cover}
.mfcp-compare-chip>span{max-width:130px;overflow:hidden;text-overflow:ellipsis}
.mfcp-dialog .mfcp-compare-remove{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:10px;border:0;background:none;border-radius:6px;color:var(--mfcp-muted)}
.mfcp-compare-remove svg{width:16px;height:16px}
.mfcp-compare-remove:hover{background:#f6f4f1;color:var(--mfcp-ink)}
.mfcp-compare-clear-item{display:flex;align-items:center;flex:none}
.mfcp-dialog .mfcp-compare-clear-item>button{font-size:13px;min-height:44px;padding:8px}
.mfcp-dialog .mfcp-compare-status{font-size:13px;line-height:1.4;color:var(--mfcp-muted);margin:3px 0 0}
.mfcp-compare-tray.is-full{border-bottom-color:var(--mfcp-selected)}
.mfcp-compare-tray.is-limit-notice{background:#faf8f4}
.mfcp-dialog .is-limit-notice .mfcp-compare-status{color:#694b20;font-weight:600}
.mfcp-summary-open .mfcp-compare-tray{display:none!important}
@media(max-width:850px){.mfcp-compare-tray{padding:6px 16px}.mfcp-compare-tray-top{margin-bottom:2px}.mfcp-dialog .mfcp-compare-tray-top>button{padding:8px 12px}.mfcp-compare-chip{gap:6px}.mfcp-compare-chip>span{max-width:105px}.mfcp-compare-rail{padding-bottom:3px}.mfcp-dialog .mfcp-fabric-tools>.mfcp-compare-pick{font-size:13px;padding:8px 4px;white-space:normal}}
@media(max-width:480px){.mfcp-fabric-tools{display:grid;grid-template-columns:44px minmax(0,1fr)}.mfcp-fabric-tools>button:only-child{grid-column:1/-1}.mfcp-dialog .mfcp-fabric-tools>.mfcp-details{font-size:13px;padding:8px 2px}}
.mfcp-compare-scroll{overflow-x:auto;overscroll-behavior-x:contain;margin:20px 0;outline-offset:3px}
.mfcp-compare-scroll:focus-visible{outline:3px solid var(--mfcp-selected)}
.mfcp-dialog .mfcp-compare-table{width:100%;min-width:calc(120px + var(--mfcp-compare-count)*160px);border-collapse:collapse;table-layout:fixed;border:0;font-size:15px}
.mfcp-compare-table caption{text-align:left;padding:0 0 16px;font-size:14px;color:var(--mfcp-muted)}
.mfcp-dialog .mfcp-compare-table th,.mfcp-dialog .mfcp-compare-table td{vertical-align:top;text-align:left;padding:12px;border:0;border-bottom:1px solid var(--mfcp-line);font-size:14px;font-weight:400;overflow-wrap:break-word}
.mfcp-dialog .mfcp-compare-table tr>:first-child{width:120px;color:var(--mfcp-muted)}
.mfcp-compare-table th img{display:block;width:100%;max-width:240px;aspect-ratio:1;object-fit:contain;margin-bottom:12px}
.mfcp-compare-table th strong{display:block;font-size:16px;color:var(--mfcp-ink)}
.mfcp-dialog .mfcp-compare-table button{width:100%;padding:10px 8px;min-height:48px;white-space:normal}
.mfcp-save-later{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding-top:18px;margin-top:12px;border-top:1px solid var(--mfcp-line)}
.mfcp-save-later>.mfcp-muted{font-size:14px}
.mfcp-compare-hint{display:none}
@media(max-width:850px){
 .mfcp-summary-step .mfcp-help{margin-bottom:10px}
 .mfcp-dialog .mfcp-summary-photo{grid-template-columns:84px minmax(0,1fr);gap:12px;padding-bottom:10px;margin-bottom:4px}
 .mfcp-dialog .mfcp-summary-photo-open{min-height:80px}
 .mfcp-summary-photo-open>img{height:80px}
 .mfcp-dialog .mfcp-summary-row{padding:8px 0 10px}
 .mfcp-summary-heading{margin-bottom:0}
 .mfcp-dialog .mfcp-summary-base{padding-top:14px}
 .mfcp-save-later{gap:8px;padding-top:12px;margin-top:10px}
 .mfcp-save-later>.mfcp-secondary{width:100%}
 .mfcp-preview{padding:20px 16px}
}
@media(max-width:480px){
 .mfcp-dialog .mfcp-compare-hint{display:block;font-size:14px;color:var(--mfcp-muted);margin:12px 0}
 .mfcp-dialog .mfcp-compare-table{display:block;min-width:calc(var(--mfcp-compare-count)*140px)}
 .mfcp-compare-table caption{display:none}
 .mfcp-compare-table thead,.mfcp-compare-table tbody{display:contents}
 .mfcp-compare-table tr{display:grid;grid-template-columns:repeat(var(--mfcp-compare-count),minmax(140px,1fr))}
 .mfcp-dialog .mfcp-compare-table tr>:first-child{grid-column:1/-1;width:auto;padding:12px 6px 4px;border-bottom:0}
 .mfcp-dialog .mfcp-compare-table th,.mfcp-dialog .mfcp-compare-table td{padding:8px 6px}
 .mfcp-compare-table th img{max-width:128px}
 .mfcp-dialog .mfcp-compare-table button{font-size:14px}
}

.mfcp-color-swatches.mfcp-finish-renders .mfcp-card-image{object-fit:contain}
