.purchase-review-editor{--pre-inset:clamp(1rem, 3vw, 2rem);box-sizing:border-box;width:100%;min-width:0;max-width:58rem;padding:var(--pre-inset);color:var(--brand-ink);border:1px solid var(--brand-green-line);text-align:start;background:#fff;border-radius:18px;gap:1.35rem;display:grid;container:review-composer/inline-size}.purchase-review-editor .pre-intro{margin:calc(-1 * var(--pre-inset)) calc(-1 * var(--pre-inset)) 0;padding:var(--pre-inset);border-radius:inherit;border-bottom:1px dashed var(--brand-pink-line);background:var(--brand-pink-surface);border-end-end-radius:0;border-end-start-radius:0;align-items:center;gap:1.1rem;display:grid}.purchase-review-editor .pre-heading{align-items:center;gap:.85rem;min-width:0;display:flex}.purchase-review-editor .pre-heading h3{color:var(--brand-ink);letter-spacing:-.04em;margin:0;font-size:clamp(1.25rem,3vw,1.5rem);line-height:1.3}.purchase-review-editor .pre-heading p{color:var(--brand-muted);overflow-wrap:anywhere;margin:.3rem 0 0;font-size:.95rem}.purchase-review-editor .pre-thumb{object-fit:cover;border:1px solid var(--brand-pink-line);width:3.5rem;height:3.5rem;box-shadow:0 2px 4px rgb(var(--brand-shadow-rgb) / .08);background:#fff;border-radius:.45rem;flex:none;padding:.18rem}.purchase-review-editor .pre-rating{border:0;min-width:0;margin:0;padding:0}.purchase-review-editor .pre-rating legend,.purchase-review-editor .pre-body-label label{color:var(--brand-ink);margin:0;padding:0;font-size:1rem;font-weight:700;display:block}.purchase-review-editor .pre-rating-row{flex-wrap:wrap;align-items:center;gap:.2rem .85rem;margin-top:.35rem;display:flex}.purchase-review-editor .pre-stars{max-width:100%;display:inline-flex}.purchase-review-editor .pre-star{cursor:pointer;place-items:center;width:44px;min-width:44px;height:44px;margin:0;padding:0;display:grid;position:relative}.purchase-review-editor .pre-star input{z-index:1;opacity:0;width:100%;height:100%;cursor:inherit;margin:0;padding:0;position:absolute;inset:0}.purchase-review-editor .pre-star span{width:100%;height:100%;color:var(--brand-muted);border-radius:10px;place-items:center;display:grid}.purchase-review-editor .pre-star svg{stroke:currentColor;fill:#fff;width:32px;height:32px}.purchase-review-editor .pre-star [data-on=true]{color:var(--brand-green)}.purchase-review-editor .pre-star [data-on=true] svg{fill:currentColor}.purchase-review-editor .pre-star input:focus-visible+span{outline:2px solid var(--brand-green);outline-offset:-2px;background:var(--brand-green-soft)}.purchase-review-editor .pre-rating:disabled .pre-star{cursor:default}.purchase-review-editor .pre-rating-value{color:var(--brand-muted);font-size:.9rem}.purchase-review-editor .pre-body{min-width:0}.purchase-review-editor .pre-body-label{justify-content:space-between;align-items:baseline;gap:.4rem;margin-bottom:.55rem;display:flex}.purchase-review-editor .pre-body-label span,.purchase-review-editor .pre-body small{color:var(--brand-muted);font-variant-numeric:tabular-nums;font-size:.82rem}.purchase-review-editor .pre-body textarea{box-sizing:border-box;resize:vertical;width:100%;min-height:7rem;font:inherit;color:var(--brand-ink);border:1px solid var(--brand-green-line);background:#fff;border-radius:10px;margin:0;padding:.85rem 1rem;line-height:1.65;display:block}.purchase-review-editor .pre-body textarea:focus-visible{outline:2px solid var(--brand-green);outline-offset:2px}.purchase-review-editor button:focus-visible{outline:2px solid var(--brand-green);outline-offset:2px}.purchase-review-editor .pre-body textarea::placeholder{color:var(--brand-muted);opacity:1}.purchase-review-editor .pre-body small{margin-top:.4rem;display:block}.purchase-review-editor .pre-footer,.purchase-review-editor .pre-choices{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.purchase-review-editor .pre-footer{border-top:1px solid var(--brand-line);justify-content:flex-end;padding-top:.85rem}.purchase-review-editor button{min-height:44px;font:inherit;color:var(--brand-green);border:1px solid var(--brand-green-line);cursor:pointer;background:#fff;border-radius:10px;padding:.55rem 1.15rem;font-weight:650}.purchase-review-editor .pre-submit{background:var(--brand-green);border-color:var(--brand-green);color:#fff}.purchase-review-editor .pre-submit:enabled:hover{background:var(--brand-green-hover)}.purchase-review-editor button:disabled{background:var(--brand-surface);color:var(--brand-muted);border-color:var(--brand-line);cursor:default}.purchase-review-editor .pre-resolution,.purchase-review-editor .pre-note,.purchase-review-editor .pre-error{overflow-wrap:anywhere;border-radius:10px;margin:0;padding:.8rem 1rem}.purchase-review-editor .pre-resolution,.purchase-review-editor .pre-note{background:var(--brand-green-surface)}.purchase-review-editor .pre-resolution p{margin:.45rem 0}.purchase-review-editor .pre-resolution blockquote{border-inline-start:2px solid var(--brand-green-line);white-space:pre-wrap;margin:.5rem 0 .75rem;padding-inline-start:.7rem}.purchase-review-editor .pre-resolution .pre-choices{margin-top:.6rem}.purchase-review-editor .pre-error{background:var(--brand-pink-surface);color:#8a294b}.pre-entry-fields{align-items:start;gap:1.25rem;display:grid}.purchase-review-editor .pre-photos{border:0;min-width:0;margin:0;padding:0}.pre-photos legend{align-items:baseline;gap:.5rem;padding:0;font-size:1rem;font-weight:700;display:flex}.pre-photos legend span{color:var(--brand-muted);font-variant-numeric:tabular-nums;font-size:.875rem;font-weight:500}.pre-photos p{color:var(--brand-muted);margin:.3rem 0 .65rem;font-size:.875rem;line-height:1.45}.pre-photo-strip{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:.45rem;max-inline-size:24rem;display:grid}.pre-photo-strip.is-empty{grid-template-columns:minmax(0,1fr)}.pre-print{box-sizing:border-box;aspect-ratio:1;border:1px solid var(--brand-pink-line);min-width:0;box-shadow:0 2px 4px rgb(var(--brand-shadow-rgb) / .08);background:#fff;border-radius:.4rem;padding:.22rem .22rem .5rem;position:relative}.pre-print img{object-fit:cover;border-radius:.18rem;width:100%;height:100%;min-height:0;display:block}.purchase-review-editor .pre-print button{width:44px;height:44px;min-height:44px;color:var(--brand-ink);background:0 0;border:0;border-radius:.375rem;place-items:center;padding:0;display:grid;position:absolute;inset:0 0 auto auto}.purchase-review-editor .pre-print button svg{box-sizing:content-box;border:1px solid var(--brand-line);background:#fff;border-radius:50%;padding:.28rem}.pre-add-photo{aspect-ratio:1;box-sizing:border-box;min-height:44px;color:var(--brand-green);border:1px dashed var(--brand-green);background:var(--brand-green-surface);cursor:pointer;border-radius:.65rem;flex-direction:column;justify-content:center;align-items:center;gap:.35rem;margin:0;padding:.4rem;font-size:.875rem;font-weight:650;display:flex;position:relative}.pre-photo-strip.is-empty .pre-add-photo{aspect-ratio:auto;flex-direction:row;gap:.55rem;min-height:6rem}.pre-add-photo input[type=file]{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.pre-add-photo:focus-within{outline:2px solid var(--brand-green);outline-offset:3px}.pre-photos[data-dragging=true] .pre-add-photo,.pre-add-photo:hover{background:var(--brand-green-soft)}.pre-photos:disabled .pre-add-photo{opacity:.65}.pre-photo-errors{background:var(--brand-pink-surface);color:var(--brand-pink-ink);overflow-wrap:anywhere;border-radius:.4rem;margin:.65rem 0 0;padding:.6rem .75rem;font-size:.9rem;list-style:none}.pre-saved-photos{flex-wrap:wrap;gap:.4rem;display:flex}.pre-saved-photos img{aspect-ratio:1;object-fit:cover;border-radius:.4rem;width:4rem;display:block}@container review-composer (width>=42rem){.purchase-review-editor .pre-intro{grid-template-columns:minmax(0,1fr) minmax(18rem,auto)}.purchase-review-editor .pre-rating{border-inline-start:1px dashed var(--brand-pink-line);padding-inline-start:1.35rem}.purchase-review-editor .pre-rating legend{float:left;inline-size:100%}.purchase-review-editor .pre-rating-row{clear:both}.pre-entry-fields{grid-template-columns:minmax(0,3fr) minmax(15rem,2fr);gap:1.5rem}}@media (hover:hover) and (prefers-reduced-motion:no-preference){.purchase-review-editor .pre-star svg{transition:transform .12s ease-out}.purchase-review-editor .pre-rating:enabled .pre-star:hover svg{transform:scale(1.06)}}@media (max-width:540px){.purchase-review-editor{border-radius:14px;gap:1.05rem}.purchase-review-editor .pre-submit{flex:1}}@media (forced-colors:active){.purchase-review-editor .pre-star svg{fill:canvas;stroke:buttontext;forced-color-adjust:none}.purchase-review-editor .pre-star [data-on=true] svg{fill:highlight;stroke:buttontext}}
