.customer-results{display:grid;gap:6px;max-height:280px;overflow:auto}.customer-result{text-align:left;border:1px solid var(--line,#dce3da);background:#f6f8f2;border-radius:12px;padding:14px;font:inherit;cursor:pointer}.customer-result:hover,.customer-result:focus{background:#e6f2cd}.contact-card{padding:18px 0;border-bottom:1px solid #dce3da;margin-bottom:20px}.contact-card summary{font-weight:700;cursor:pointer;padding:10px 0}.quick-invoice-line{padding:20px;background:#f4f6ef;border:1px solid #dce3da;border-radius:16px;margin:16px 0}.invoice-line-grid{display:grid;grid-template-columns:3fr 1fr 1fr;gap:16px}.inline-check{display:flex;align-items:center;gap:8px}.inline-check input{width:auto}.workflow-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.workflow-actions .button{font-size:14px;white-space:normal;text-align:center}.prepared-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:18px}.prepared-grid img{width:100%;height:180px;object-fit:contain}.size-matrix{width:100%;border-collapse:collapse}.size-matrix th,.size-matrix td{padding:8px;text-align:left}.size-matrix input[type=number]{min-width:75px;width:100%}.size-matrix input[type=checkbox]{width:auto}.size-bulk-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.size-matrix-wrap{overflow:auto;max-height:430px}.studio-review-dialog{max-width:none!important;width:96vw!important;height:94dvh;max-height:94dvh!important;padding:20px!important}.studio-review-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px}.studio-review-dialog .personal-image-choices{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.review-editor{position:sticky;top:0;align-self:start}.review-editor input{width:100%}.bulk-photo-choice.selected{outline:3px solid #254e44}.surface-controls .personal-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.personal-checks label{font-size:14px!important}.surface-section>summary{padding:14px 0;font-weight:700}.studio-stage-nav{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.studio-stage-nav a{padding:10px 16px;border-radius:30px;background:#edf1e6}.surface-controls input,.surface-controls select{min-width:0}.order-layout,.order-builder-grid{min-width:0}@media(max-width:850px){.invoice-line-grid{grid-template-columns:1fr 1fr}.invoice-line-grid>label:first-child{grid-column:1/-1}.studio-review-layout{grid-template-columns:1fr}.review-editor{position:static}.workflow-actions{grid-template-columns:1fr 1fr}.topbar,.toolbar-actions{flex-wrap:wrap}.topbar{gap:12px}.user{max-width:100%;flex-wrap:wrap}.content{padding:18px!important}.panel{min-width:0}.order-layout{display:block}.order-layout>aside{width:100%}}@media(max-width:480px){.form-grid,.profile-fields{grid-template-columns:1fr!important}.workflow-actions{grid-template-columns:1fr}.studio-review-dialog .personal-image-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-review-dialog .bulk-photo-choice{padding:8px}.studio-review-dialog .bulk-photo-choice img{height:170px}}

.family-options{max-height:420px;overflow:auto;padding:12px;background:#f7f9f5;border-radius:14px}.family-options label{display:flex;align-items:center;gap:10px;padding:8px}.family-options input[type=checkbox]{width:auto}.family-options [hidden]{display:none!important}.contact-grid small{display:block}
.contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.contact-grid label{min-width:0}.family-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}.family-photo-grid img{width:100%;height:140px;object-fit:contain}.family-photo-grid figure{margin:0;padding:12px;border:1px solid #dce3da;border-radius:14px}.family-photo-grid figcaption{font-size:13px}@media(max-width:600px){.contact-grid{grid-template-columns:1fr}}
.studio-review-dialog .personal-image-choices{max-height:none;overflow:visible;align-content:start}.review-editor label{display:block}.review-editor label:has(input){display:inline-block;width:48%;vertical-align:top;margin-right:1%}.review-editor input{min-width:0}.review-editor .button{font-size:14px;padding:10px 14px}

/* Catalog actions must wrap inside a card rather than inheriting its flex footer. */
.product-card:has(.catalog-card-links){display:flex;flex-direction:column;min-width:0}
.product-card:has(.catalog-card-links)>a{flex:1;min-width:0}
.product-card .catalog-card-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:16px;margin-top:auto;min-width:0}
.catalog-card-links>a{display:flex;align-items:center;justify-content:center;text-align:center;font-size:13px;line-height:1.35;padding:10px 8px;min-height:42px;border:1px solid #d8e2d7;border-radius:10px;background:#f3f6ee;text-decoration:none;overflow-wrap:anywhere}
.catalog-card-links>a:last-child:nth-child(odd){grid-column:1/-1}
.catalog-card-links>a:hover{background:#e2edcc;border-color:#8ca181}
.studio-stage-nav{position:sticky;top:0;z-index:12;background:#f6f7f2;padding:10px;border:1px solid #dbe3d8;border-radius:16px}
.studio-stage-nav button{font-size:13px;padding:10px 14px;border-radius:10px}
.studio-stage-nav [aria-pressed=true]{background:#244e43;color:#fff}
.surface-controls>[hidden],.surface-color-row[hidden]{display:none!important}
.surface-controls{scroll-margin-top:85px}.studio-step-help{font-size:14px;color:#586d62}
.surface-management{padding-top:0!important}.surface-management[open]{margin-bottom:16px}
.color-mapping-details{margin:16px 0}.color-mapping-details>summary{font-weight:600;padding:12px 0;cursor:pointer}
[data-color-mappings]{max-height:250px;overflow:auto;margin-top:10px}.surface-color-row .text-button{font-size:12px;flex-shrink:0}
.surface-controls .workflow-actions{margin:16px 0}.surface-controls .workflow-actions .button{margin:0;padding:12px;min-height:48px}
.studio-review-dialog[open]{display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box}
.review-heading{display:flex;align-items:start;justify-content:space-between;gap:16px;flex-shrink:0}.review-heading h2{margin:0}.review-heading p{font-size:14px;margin:8px 0}
.review-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:10px 0}.review-toolbar input{max-width:360px;margin:0}
.studio-review-layout{flex:1;min-height:0;overflow:hidden;align-items:stretch}
.studio-review-dialog .personal-image-choices{overflow-y:auto;max-height:none;min-height:0;margin:0;padding:4px;align-content:start}
.studio-review-dialog .review-editor{position:static;overflow-y:auto;max-height:100%;box-sizing:border-box;margin:0}
.review-editor>img{display:block;max-width:100%;height:180px;object-fit:contain;margin:auto}
.review-editor .review-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.review-editor .review-fields>label{display:block;width:auto;margin:0}.review-editor input,.review-editor select{width:100%;min-width:0;font-size:14px}
.studio-review-dialog .bulk-photo-choice[hidden]{display:none}.review-no-photo{min-height:180px;display:grid;place-content:center;text-align:center;background:#f2f5ef;border-radius:10px;font-size:14px;padding:12px;color:#586a60}
.review-editor .button{width:100%;margin-top:10px}.studio-review-dialog .bulk-photo-choice{min-width:0}.studio-review-dialog .bulk-photo-choice .button{min-height:44px;padding:10px;font-size:13px}
@media(max-width:850px){.studio-review-layout{grid-template-columns:minmax(0,1fr) minmax(200px,.8fr);gap:10px}.studio-review-dialog .personal-image-choices{grid-template-columns:1fr}.review-editor{padding:14px}.studio-review-dialog[open]{padding:12px!important}.review-heading p{font-size:12px}.review-heading .button{font-size:13px;padding:10px}}
@media(max-width:520px){.studio-stage-nav{position:static;display:grid;grid-template-columns:1fr 1fr}.studio-stage-nav button:last-child{grid-column:1/-1}.studio-review-layout{display:flex;flex-direction:column}.studio-review-layout>.review-editor{order:-1;max-height:38dvh;flex-shrink:0}.studio-review-dialog .personal-image-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.review-editor>img{height:100px;float:right;width:35%}.review-heading p{display:none}.review-toolbar{margin:8px 0}.review-toolbar input{width:100%}.review-heading h2{font-size:22px}.surface-preview{padding:14px!important}.surface-color-row{flex-wrap:wrap}}
.admin-product-grid .card-body{overflow-wrap:anywhere}@media(max-width:600px){.product-grid.admin-product-grid{grid-template-columns:minmax(0,1fr)}}

/* Keep administrative actions readable without widening the page. */
.product-detail-heading{display:block;min-width:0}
.product-detail-heading>div{max-width:65rem}
.product-detail-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin-top:1.25rem;width:100%}
.product-detail-actions .button,.store-card-buttons .button{font-size:13px;line-height:1.35;padding:.65rem .8rem;min-height:44px;min-width:0;text-align:center;justify-content:center;white-space:normal;overflow-wrap:anywhere}
.studio-store-card{display:flex;flex-direction:column;min-width:0}
.studio-store-card .card-body{display:flex;flex-direction:column;flex:1;min-width:0}
.store-card-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;border-top:1px solid var(--line,#dce4da);padding-top:1rem;margin-top:auto}
.store-card-buttons .store-preview-action{grid-column:1/-1;background:#eef3e9}
.gang-loaded-artwork{display:grid;grid-template-columns:minmax(0,1fr) 150px 110px;gap:1rem;align-items:center;padding:1rem 0;border-top:1px solid #dce4da}
.gang-loaded-artwork small{display:block;color:#65756f;margin-top:.25rem}
.gang-loaded-artwork label{font-size:13px}
[data-gang-image-status][hidden]{display:none}
@media(max-width:900px){.product-detail-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.gang-loaded-artwork{grid-template-columns:repeat(2,minmax(0,1fr))}.gang-loaded-artwork>div{grid-column:1/-1}}
.product-info .size-family{margin-bottom:1rem}
.product-info .size-family>strong{display:block;font-size:.8rem;color:#62756f;margin-bottom:.45rem}
.product-info .size-options{gap:.5rem;flex-wrap:wrap}
.product-info .swatch{position:relative}
.product-info .swatch.unavailable{opacity:.35;cursor:not-allowed}
.product-info .swatch.unavailable:after{content:"";position:absolute;left:5%;top:48%;width:90%;height:2px;background:#172e29;box-shadow:0 0 0 1px white;transform:rotate(-45deg)}
.product-info .size-option.unavailable{opacity:.4;text-decoration:line-through;cursor:not-allowed}
.product-info .option-help{display:block;font-size:.85rem;color:#52665f;line-height:1.5;margin-top:.6rem}
.product-info [data-option-notice]:empty{display:none}
@media(max-width:600px){.studio .store-grid{grid-template-columns:minmax(0,1fr)}}
