/* Paragraph structure is HTML, so line breaks survive text rendering. */
.gt-profile-prose{max-width:80ch;color:#4f5860;line-height:1.8;overflow-wrap:anywhere}
.gt-profile-prose>p{white-space:pre-line;margin:0 0 1.15em}.gt-profile-prose>p:last-child{margin-bottom:0}
.brand-editor .profile-editor__fields>div:has(#description){grid-column:1/-1}
.brand-editor textarea[name=description]{min-height:270px;line-height:1.75;resize:vertical;width:100%}
.brand-editor .profile-editor__model textarea{min-height:112px;line-height:1.65;resize:vertical;width:100%}
.brand-profile .brand-cover{height:clamp(220px,29vw,390px)}.brand-profile .brand-cover img{object-position:center 65%}
.brand-profile .brand-identity{grid-template-columns:180px minmax(0,1fr) auto}
.brand-profile .brand-logo{width:180px;height:90px}.brand-profile .brand-logo img{padding:12px}
.brand-profile .brand-about{border-top:0;padding-top:0}
.brand-profile .brand-models article{padding:24px}.brand-profile .brand-models article>p:not(.brand-eyebrow){line-height:1.75;white-space:pre-line;font-size:14px}
.brand-profile .brand-socials{display:flex;flex-wrap:wrap;gap:8px;padding:0;list-style:none}
.brand-profile .brand-socials a{display:inline-flex;padding:8px 10px;border:1px solid #dfe3e5;border-radius:5px;font-size:12px;font-weight:600;min-height:40px;align-items:center}
.brand-profile .brand-contact-email{display:block;font-size:12px;margin:10px 0;overflow-wrap:anywhere}
.brand-profile .mf-gallery-rail{grid-auto-flow:initial;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-columns:auto;overflow:visible;gap:18px}
.brand-profile .mf-gallery-item img{height:240px;width:100%;object-fit:contain;background:#f1f3f4}
.brand-profile .mf-gallery-item{border-radius:6px}.brand-profile .mf-gallery-item figcaption{padding:16px}
.brand-profile .mf-gallery-item h3{font-size:16px}.brand-profile .mf-gallery-item figcaption p{font-size:13px}
.brand-portfolio-editor{margin:28px 0;max-width:100%;color:#22272a}.brand-portfolio-editor>h2{font-size:22px;font-weight:700;margin:0 0 10px}
.brand-portfolio-editor form{display:grid;gap:24px}.brand-portfolio-editor fieldset{min-width:0;border:1px solid #dfe3e5;padding:22px;border-radius:6px}
.brand-portfolio-editor legend{font-weight:650;padding:0 8px}.brand-portfolio-editor label{display:block;font-weight:600;font-size:13px;margin-bottom:8px}
.brand-portfolio-editor input:not([type=checkbox]),.brand-portfolio-editor textarea{display:block;width:100%;min-width:0;padding:11px;border:1px solid #cdd2d6;border-radius:4px;background:white;color:#22272a}
.brand-portfolio-editor textarea{min-height:90px;line-height:1.7;resize:vertical}
.brand-portfolio-editor .gt-portfolio-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.brand-portfolio-editor .gt-portfolio-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.gt-portfolio-card{border:1px solid #e1e5e7;padding:16px;min-width:0;border-radius:6px;background:#f8f9fa;display:grid;gap:10px}
.gt-portfolio-card img{height:150px;width:100%;object-fit:contain;background:white}.gt-portfolio-card .gt-remove-photo{display:flex;align-items:center;gap:8px;font-weight:400}
.gt-portfolio-help{font-size:13px;line-height:1.7;color:#687079;margin:0 0 18px}.gt-portfolio-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.brand-profile a:focus-visible,.brand-portfolio-editor :focus-visible{outline:2px solid #be461f;outline-offset:3px}
@media(max-width:760px){.brand-profile .brand-identity{grid-template-columns:1fr;gap:18px}.brand-profile .brand-logo{width:170px;height:80px}.brand-profile .brand-identity .brand-actions{align-items:flex-start}.brand-profile .brand-cover{height:230px}.brand-profile .mf-gallery-rail{grid-template-columns:1fr}.brand-profile .mf-gallery-item img{height:260px}.brand-portfolio-editor .gt-portfolio-fields,.brand-portfolio-editor .gt-portfolio-gallery{grid-template-columns:1fr}.brand-portfolio-editor fieldset{padding:16px}.brand-profile .brand-section-nav{gap:18px}}

.brand-profile .mf-section-heading>p{display:none}

@media(max-width:760px){.brand-profile .brand-identity>.brand-actions{grid-column:1/-1;flex-wrap:wrap}}

.brand-model-gallery-link{display:inline-block;margin-top:16px;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:4px;color:#a33816}
.brand-gallery-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.brand-gallery-filters a{padding:9px 12px;border:1px solid #cdd2d6;border-radius:5px;font-size:13px;line-height:1.5}.brand-gallery-filters a[aria-current=true]{background:#22272a;color:white;border-color:#22272a}.brand-gallery-selection{font-size:14px;margin:0 0 16px}.brand-photo-model{font-size:12px!important;font-weight:600;color:#a33816;margin-bottom:8px!important}
.brand-portfolio-editor select{width:100%;min-width:0;padding:11px;border:1px solid #cdd2d6;border-radius:4px;background:white;color:#22272a}

/* MODEL-FORM-LAYOUT-3: hidden model keys must not affect field placement. */
#manufacturer-profile-form .profile-editor__model{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:14px}
#manufacturer-profile-form .profile-editor__model>label:nth-of-type(1){grid-column:1;grid-row:1}
#manufacturer-profile-form .profile-editor__model>label:nth-of-type(2){grid-column:1/-1;grid-row:2}
#manufacturer-profile-form .profile-editor__model>label:nth-of-type(3){grid-column:2;grid-row:1}
#manufacturer-profile-form .profile-editor__model>label{display:grid;gap:6px;min-width:0}
#manufacturer-profile-form .profile-editor__model textarea{display:block;width:100%;min-height:112px;line-height:1.65;resize:vertical}
#manufacturer-profile-form .profile-editor__model>[data-model-remove]{grid-column:1/-1;grid-row:3;justify-self:end;align-self:start;margin:0}
@container(max-width:600px){
#manufacturer-profile-form .profile-editor__model{grid-template-columns:minmax(0,1fr)}
#manufacturer-profile-form .profile-editor__model>label:nth-of-type(3){grid-column:1;grid-row:2}
#manufacturer-profile-form .profile-editor__model>label:nth-of-type(2){grid-column:1;grid-row:3}
#manufacturer-profile-form .profile-editor__model>[data-model-remove]{grid-row:4}
}
@media(max-width:600px){
#manufacturer-profile-form .profile-editor__model{grid-template-columns:minmax(0,1fr)}
#manufacturer-profile-form .profile-editor__model>label:nth-of-type(3){grid-column:1;grid-row:2}
#manufacturer-profile-form .profile-editor__model>label:nth-of-type(2){grid-column:1;grid-row:3}
#manufacturer-profile-form .profile-editor__model>[data-model-remove]{grid-row:4}
}
