/* Brand account validation: status banner on brand pages and the company file dialog. */
.brand-review-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 18px;padding:14px 16px;border:1px solid var(--sg-line);border-left:4px solid var(--sg-accent);border-radius:12px;background:var(--sg-surface);color:var(--sg-text)}
.brand-review-banner>div{flex:1 1 18rem;min-width:0}
.brand-review-banner strong{display:block;font-size:1rem;margin-bottom:4px}
.brand-review-banner p{margin:0;font-size:.875rem;line-height:1.5;color:var(--sg-muted);overflow-wrap:anywhere}
.brand-review-banner button{flex:0 0 auto}
/* Review n° 25 (2026-11-11): waiting for the validation is one thin line, its action on the right; the page starts right under it. */
.brand-review-banner.is-thin{flex-wrap:nowrap;gap:12px;margin:0 0 12px;padding:6px 8px 6px 12px}
.brand-review-banner.is-thin>p{display:grid;gap:1px;flex:1 1 0;min-width:0;margin:0}
.brand-review-banner.is-thin strong{margin:0;font-size:.9375rem;line-height:1.3;color:var(--sg-text)}
.brand-review-banner.is-thin span{font-size:.8125rem;line-height:1.3;color:var(--sg-muted)}
.brand-review-banner.is-thin button{flex:0 0 auto;width:auto;min-height:44px;padding:0 14px;font-size:.875rem;white-space:nowrap}
.brand-review-refused,.brand-review-suspended{border-left-color:var(--sg-danger)}
.brand-review-validated{border-left-color:var(--sg-control)}
.brand-review-account{margin:18px 0 0}
.brand-review-banner p.brand-review-lead{color:var(--sg-text);margin:6px 0}
/* « Dossier de l’entreprise »: the important way into the company file, a full-width violet button with its folder,
   drawn like « Placer sur mes photos » (somagon-theme.css, Haize, 2026-10-21). */
html[data-theme][lang] #app .brand-review-account button.brand-review-file{display:flex;align-items:center;gap:10px;flex:1 1 100%;width:100%;margin:2px 0 0;box-sizing:border-box;text-align:left;cursor:pointer}
html[data-theme][lang] #app .brand-review-account button.brand-review-file>span{flex:1 1 auto;min-width:0}
html[data-theme][lang] #app .brand-review-account button.brand-review-file svg{flex:none;width:20px;height:20px}
html[data-theme][lang] #app .brand-review-account button.brand-review-file:active{opacity:.88}
html[data-theme][lang] #app .brand-review-account button.brand-review-file:focus-visible{outline:2px solid var(--sg-accent);outline-offset:3px}
/* « Compte validé » badge: one pill (check, words, « ? ») inside a 44 px touch area, opening its explanation.
   Scoped like the other #app controls so the shared button styles never reshape it. */
html[data-theme] #app button.sg-verified{display:inline-flex!important;align-items:center;width:auto!important;min-width:44px!important;min-height:44px!important;height:auto!important;margin:2px 0 -6px!important;padding:0!important;border:0!important;border-radius:999px!important;background:transparent!important;box-shadow:none!important;color:var(--sg-muted)!important;font:600 calc(.875rem * var(--elan-ui-scale,1))/1.2 var(--elan-ui-font,var(--sg-font,system-ui))!important;letter-spacing:0!important;text-transform:none!important;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;transform:none!important}
html[data-theme] #app button.sg-verified.is-validated{color:var(--sg-text)!important}
html[data-theme] #app .sg-verified-pill{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:5px 8px 5px 6px;border:1px solid var(--sg-line);border-radius:999px;background:var(--sg-surface);transition:background-color .15s ease,border-color .15s ease}
html[data-theme] #app .sg-verified:not(.is-validated) .sg-verified-pill{padding-left:10px}
html[data-theme] #app .sg-verified-label{min-width:0;overflow-wrap:anywhere}
html[data-theme] #app .sg-verified svg{flex:0 0 16px;width:16px;height:16px}
html[data-theme] #app .sg-verified-check circle{fill:var(--sg-accent)}
html[data-theme] #app .sg-verified-check path{fill:none;stroke:var(--sg-surface);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
html[data-theme] #app .sg-verified-more{color:var(--sg-muted)}
html[data-theme] #app .sg-verified-more circle:not(.sg-verified-dot){fill:none;stroke:currentColor;stroke-width:1.6}
html[data-theme] #app .sg-verified-more path{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html[data-theme] #app .sg-verified-dot{fill:currentColor;stroke:currentColor;stroke-width:1.2}
@media(hover:hover){html[data-theme] #app button.sg-verified:hover .sg-verified-pill{background:var(--sg-soft)}}
html[data-theme] #app button.sg-verified:active .sg-verified-pill{background:var(--sg-soft)}
html[data-theme] #app button.sg-verified:focus-visible{outline:none!important}
html[data-theme] #app button.sg-verified:focus-visible .sg-verified-pill{outline:2px solid var(--sg-accent);outline-offset:2px}
html[data-theme] #app .brand-review-account button.sg-verified{margin:-6px 0 0!important}
.brand-review-dialog{color-scheme:light dark;width:min(640px,calc(100vw - 24px));max-height:90dvh;padding:0;border:1px solid var(--sg-line);border-radius:16px;background:var(--sg-surface);color:var(--sg-text);font-family:var(--sg-font)}
.brand-review-dialog::backdrop{background:#17102570}
.brand-review-dialog header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--sg-line);background:var(--sg-surface)}
.brand-review-dialog h2{margin:0;font-size:1.15rem}
.brand-review-body{padding:18px}
.brand-review-form{display:grid;gap:16px}
.brand-review-form fieldset{display:grid;gap:14px;margin:0;padding:14px;border:1px solid var(--sg-line);border-radius:12px;min-width:0}
.brand-review-form legend{padding:0 6px;font-weight:600}
.brand-review-field{display:grid;gap:6px;min-width:0}
.brand-review-field>span{font-size:.875rem;font-weight:600}
.brand-review-field input,.brand-review-field select,.brand-review-field textarea{width:100%;min-height:44px;font:inherit;font-size:16px;padding:10px 12px;border:1px solid var(--sg-control);border-radius:10px;background:var(--sg-bg);color:var(--sg-text)}
.brand-review-field textarea{min-height:84px;resize:vertical}
.brand-review-field small,.brand-review-disclaimer,.brand-review-intro{font-size:.8125rem;line-height:1.5;color:var(--sg-muted);margin:0}
.brand-review-field.has-error input,.brand-review-field.has-error select,.brand-review-field.has-error textarea{border-color:var(--sg-danger)}
.brand-review-error,.brand-review-message{color:var(--sg-danger)!important}
/* Billing address (2026-11-20): postal code and city side by side, one under the other on a phone; a star after what is required. */
.brand-review-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:14px;min-width:0}
.brand-review-pair>.brand-review-field{align-self:start}
@media(max-width:480px){.brand-review-pair{grid-template-columns:minmax(0,1fr)}}
.brand-review-required{color:var(--sg-danger);font-weight:700}
.brand-review-note{margin:0;font-size:.8125rem;color:var(--sg-muted)}
.brand-review-message{margin:0;font-size:.875rem}.brand-review-message:empty{display:none}
.brand-review-check{display:flex;gap:10px;align-items:flex-start;font-size:.875rem;line-height:1.5}
.brand-review-check input{flex:0 0 22px;width:22px;height:22px;margin:1px 0 0}
.brand-review-check.has-error span{color:var(--sg-danger)}
.brand-review-status{display:grid;gap:4px;margin:0;padding:12px 14px;border-radius:10px;background:var(--sg-soft)}
.brand-review-status span{font-size:.875rem;overflow-wrap:anywhere}
.brand-review-actions{display:flex;flex-wrap:wrap;gap:10px}
.brand-review-confirm{display:grid;gap:8px;padding:12px 14px;border:1px solid var(--sg-danger);border-radius:10px}
.brand-review-confirm p{margin:0;font-size:.875rem;line-height:1.5}
.brand-review-history summary{cursor:pointer;font-size:.875rem;min-height:44px;display:flex;align-items:center}
.brand-review-history ul{margin:8px 0 0;padding-left:18px;display:grid;gap:8px;font-size:.875rem}
.brand-review-history li span{color:var(--sg-muted)}
@media (max-width:480px){.brand-review-banner button{width:100%}.brand-review-actions button{flex:1 1 100%}}
/* Review n° 23: the Somagon list takes the background of this window's own fields, and their red edge when one is to correct. */
.brand-review-field details.sg-menu{--sg-menu-bg:var(--sg-bg)}
.brand-review-field.has-error details.sg-menu>summary{border-color:var(--sg-danger)}
