/* Member space: quieter selections, rounded actions and aligned profile controls. */
:root{--selection-fade:linear-gradient(100deg,#f7d7ce85 0%,#e2e6ce60 55%,#c7dbc70a 100%)}
#main .chip.active,dialog .chip.active,.options input:checked+span{background:var(--selection-fade)}
.auth-plan-tabs .chip.active{background:var(--selection-fade)!important}
.head>.actions>.btn.primary[href="#espace"]{background:#f94549de}
.workspace-content:not([data-member-section="Réception"]) :is(button,.btn),body:has(.workspace-content:not([data-member-section="Réception"])) #dialog :is(button,.btn){font-family:Fredoka,ui-rounded,system-ui,sans-serif;font-weight:500}
.profile-save-actions,.photo-save-actions,.stripe-continue,.tax-save{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap}
.profile-save-actions{margin-top:12px}.profile-save-actions>*{width:auto!important}
#main .profile-save-actions .primary,#main .profile-remuneration .primary,#dialog .stripe-continue .primary,#member-tax-form .primary{background:linear-gradient(#008b70,#00856a);border-color:#00755d;color:white;box-shadow:inset 0 1px 0 #ffffff54,0 2px 0 #005f4c,0 4px 10px #00664f26}
.profile-remuneration [data-a="commission-check"]{color:#20251f}
.profile-remuneration{scroll-margin-top:16px}
#tracking-root .tracking-view{display:flex;gap:10px;padding:0;border:0;background:none;box-shadow:none;border-radius:0}
#tracking-root .tracking-view button{background:#fff;border:1px solid #dfddd4;border-radius:24px;padding:10px 18px;box-shadow:0 2px 0 #c6c2b5}
#tracking-root .tracking-view button[aria-pressed=true]{background:var(--selection-fade);border-color:#a6b6a4;color:#26332e}
.onboarding-progress li{padding:0!important}#main .onboarding-progress .badge-step{display:flex;align-items:center;gap:14px;width:100%;justify-content:flex-start;text-align:left;padding:7px 9px;border:0;background:transparent;box-shadow:none;text-decoration:none!important;color:inherit;font-family:inherit!important;font-size:inherit;border-radius:12px;transition:transform .15s,box-shadow .15s}
#main .onboarding-progress .badge-step:hover,#main .onboarding-progress .badge-step:focus-visible{transform:translateY(-2px);box-shadow:0 4px 9px #29483312;text-decoration:none}
#main .onboarding-progress .badge-step:active{transform:translateY(-1px);box-shadow:0 2px 5px #29483320}
.gallery-picker{display:inline-flex!important;position:relative;align-items:center;justify-content:center;width:52px;height:52px;margin:auto;border:1px solid #d5d9d0;border-radius:16px;cursor:pointer;background:#fff}
.gallery-picker svg{width:28px;height:28px;fill:none;stroke:#39463f;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.gallery-picker input[type=file]{position:absolute!important;inset:0;width:100%!important;height:100%;opacity:0;cursor:pointer;padding:0!important}
.gallery-picker:focus-within{outline:none}
.photo-editor .crop-empty{font:76px Georgia,serif;color:#536459;background:#eeeae1;border-radius:50%;width:180px;height:180px;display:grid;place-items:center;inset:0;margin:auto}
.crop-stage:has(.crop-empty:not([hidden])) :is(.crop-grid,.crop-circle){display:none}
.tax-profile-entry{display:flex;align-items:flex-end}.tax-profile-entry button{width:100%;border-radius:16px;min-height:44px}
#dialog:has(#member-tax-form){width:min(690px,94vw);border-radius:26px}
#dialog:has(#member-tax-form) h2{display:flex;align-items:center;justify-content:center;gap:10px}
.tax-form{gap:20px!important}.tax-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.tax-form label,.tax-address-search>label,.tax-country-title label{font-size:14px;font-weight:500;line-height:1.5}
.tax-form input:not([type=hidden]),.tax-form select{min-width:0;width:100%;min-height:44px;background:#fff;border:1px solid #c5cdc2;border-radius:14px;padding:10px 12px;color:#39463f;font:inherit}
.tax-form input[readonly]{background:#f6f7f2}.tax-address-search{position:relative;display:grid;gap:6px}
#tax-address-options{position:relative;border:1px solid #d9dfd5;border-radius:14px;background:#fff;box-shadow:0 6px 16px #29483314;max-height:210px;overflow:auto;padding:5px}
#tax-address-options button{display:block;width:100%;border:0;box-shadow:none;text-align:left;background:white;padding:10px;border-radius:10px;font:inherit}
#tax-address-options button:hover,#tax-address-options button:focus-visible{background:var(--selection-fade)}
.tax-address-credit{font-size:11px;color:#6b756d;justify-self:end}.tax-manual{border:1px solid #e0e4dc;border-radius:14px;padding:12px}.tax-manual summary{font-size:12px;color:#627164;cursor:pointer}.tax-manual[open] summary{margin-bottom:14px}
.tax-country{display:grid;gap:6px}.tax-country-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.tax-country-title button{min-height:24px;padding:0 4px;font-size:12px}
.tax-save .primary{min-width:160px;border-radius:24px}.tax-saved-check{color:#00856a;font-size:16px;line-height:1}#member-tax-error:empty,#tax-address-status:empty{display:none}
#member-tax-error{color:#ab2d31;font-size:13px}
@media(max-width:480px){.tax-grid{grid-template-columns:1fr}.profile-save-actions{gap:10px}.profile-save-actions>*{max-width:100%}.tax-profile-entry{align-items:center}}
@media(prefers-reduced-motion:reduce){#main .onboarding-progress .badge-step{transition:none}#main .onboarding-progress .badge-step:is(:hover,:active){transform:none}}

.tax-form>.tax-grid>label:last-child:nth-child(odd){grid-column:1/-1}
/* Follow-up profile and support refinements. */
.contact-details-grid>.tax-profile-entry{align-self:end;margin-bottom:0;padding:0}.tax-profile-entry button{height:44px;min-height:44px}
.profile-remuneration>[data-a="commission-onboard"]+p{margin-top:12px}
.profile-save-actions{border-top:1px solid var(--line);padding-top:20px;margin-top:8px}
#main .profile-photo-add{display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:0;border-radius:50%;font:400 25px/1 system-ui,sans-serif}
.profile-photo-field .row{align-items:center}.photo-add-picker{display:flex;align-items:center;justify-content:center;gap:12px}.photo-add-picker .gallery-picker{width:34px;height:34px;border-radius:50%;margin:0;font:400 25px/1 system-ui,sans-serif}
.support-upload{display:grid!important;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:4px 12px;position:relative;cursor:pointer}.support-upload-icon{grid-row:1/3;display:grid;place-items:center;border:1px solid var(--line);border-radius:12px;width:42px;height:42px;background:#fff}.support-upload-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.support-upload small{grid-column:2;font-weight:400}.support-upload-caption{overflow-wrap:anywhere}.support-upload input[type=file]{position:absolute!important;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.support-upload:focus-within .support-upload-icon{outline:2px solid #2d5d4b;outline-offset:3px}
#main [data-form="real-contact"]>button.primary{width:fit-content;justify-self:center;padding-inline:24px}
.tax-country-actions{display:inline-flex;align-items:center;gap:8px;flex-shrink:0}.tax-country-actions button{white-space:nowrap}
.welcome-body{line-height:1.5;color:var(--soft)}
.mail-table th:first-child{width:85px}.mail-table th:nth-child(2){width:100px}.mail-table th:nth-child(3){width:140px}.mail-table th:nth-child(4){width:auto}.mail-table th:nth-child(5){width:70px}.mail-table th:last-child{width:110px}
.mail-actions :is(a,button,.btn){font-family:Fredoka,ui-rounded,system-ui,sans-serif;font-weight:500}
#main .profile-photo-add>span,.photo-add-picker .gallery-picker>span{display:block;transform:translateY(-2px);line-height:1}
.photo-add-picker .gallery-picker{flex:0 0 34px;min-width:34px;padding:0;gap:0;box-sizing:border-box}
.photo-add-picker .gallery-picker,#main .profile-photo-add{box-shadow:0 3px 0 #c6c2b5,0 5px 10px #403b2d14;transform:none;transition:box-shadow .12s;background:linear-gradient(#fff,#faf9f5)}
.photo-add-picker .gallery-picker:is(:hover,:active,:focus-within),#main .profile-photo-add:is(:hover,:active,:focus){transform:none;outline:none}
.photo-add-picker .gallery-picker:active,#main .profile-photo-add:active{box-shadow:0 1px 0 #c6c2b5,0 2px 5px #403b2d14}
.photo-add-picker .gallery-picker:has(input:focus-visible),#main .profile-photo-add:focus-visible{outline:1px dashed #777267;outline-offset:4px}
.photo-add-picker .gallery-picker input{border-radius:50%;min-height:0;outline:none!important;box-shadow:none!important;transform:none!important}
.tax-form input[name=taxId]::placeholder{color:#858981;opacity:1}
.photo-add-picker+.content-feedback{text-align:center;margin:0;font-size:13px}
.tax-country-actions #tax-country-back{font:500 20px/1 system-ui,sans-serif;padding:0 3px}
@media(max-width:720px){.mail-table td:nth-child(4){grid-column:1/-1;grid-row:auto}.mail-table td:nth-child(5){grid-column:2;grid-row:1}}
.gains-summary{flex-wrap:wrap}.gains-stat{width:auto;min-width:145px;flex-shrink:0}.gains-circle{width:max-content;min-width:88px;height:auto;aspect-ratio:1;white-space:nowrap;overflow-wrap:normal;padding:16px;flex-shrink:0;align-content:center;justify-items:center}.gains-circle.gains-unknown{width:88px;white-space:normal}
.offer-carousel{position:relative;min-width:0}.offer-carousel .scroller{scrollbar-width:none;scroll-padding-inline:22px}.offer-carousel .scroller::-webkit-scrollbar{display:none}
#main .offer-edge{position:absolute;top:0;bottom:0;z-index:2;width:30px;min-height:0;padding:0;border:0;border-radius:0;box-shadow:none;background:linear-gradient(90deg,transparent,#faf8f3e8);display:grid;place-items:center;color:#515e54;opacity:.8;transition:opacity .15s}
#main .offer-edge-left{left:0;background:linear-gradient(90deg,#faf8f3e8,transparent)}#main .offer-edge-right{right:0}.offer-edge span{width:8px;height:8px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg)}.offer-edge-left span{transform:rotate(-135deg)}
#main .offer-edge:hover,#main .offer-edge:focus-visible{opacity:1}#main .offer-edge:active{transform:none}
@media(hover:hover){.offer-edge span{opacity:0}.offer-carousel:hover .offer-edge span,.offer-edge:focus-visible span{opacity:1}}
@media(max-width:600px){.contact-details-grid>.tax-profile-entry{padding-bottom:0}.gains-summary{gap:20px}.tax-country-title{flex-wrap:wrap}}

/* Local company review: compact controls with the existing green action style. */
#main [data-a="newdraft"].primary{background:linear-gradient(#008b70,#00856a);border-color:#00755d;color:#fff;box-shadow:inset 0 1px 0 #ffffff54,0 2px 0 #005f4c,0 4px 10px #00664f26}
.company-tracking-fields .tracking-instructions{display:grid;gap:22px;margin-top:22px}
.company-tracking-fields .tracking-instructions label{margin-bottom:0}
.company-tracking-fields .tracking-connect{margin-top:16px}
.tracking-form-upload{display:grid;gap:10px}.tracking-form-actions{display:flex;align-items:center;gap:12px;min-width:0}.tracking-form-name{font-size:13px;color:#626b66;overflow-wrap:anywhere;min-width:0}
.tracking-file-picker{display:grid!important;place-items:center;width:44px;height:44px;min-width:44px;flex-shrink:0;margin:0!important;border:1px solid #d6d3ca;border-radius:50%;background:#fff;box-shadow:0 2px 0 #c5c1b6;cursor:pointer}.tracking-file-picker .icon{width:20px;height:20px}.tracking-file-picker:focus-within{outline:2px solid #626b66;outline-offset:3px}
#main .profile-gate-invalid{border-color:#d92f3c!important;outline-color:#d92f3c;accent-color:#d92f3c}.profile-gate-message{display:block;color:#c52d36;background:#fcece9;border-left:3px solid #d92f3c;border-radius:8px;margin-bottom:6px;font-size:14px;line-height:1.5;padding:10px 12px!important}

/* Catalogue : accès au réseau et validation des filtres. */
.network-summary{display:block;color:inherit;border-radius:12px}.network-summary:hover{text-decoration:none}.network-summary:focus-visible{outline:2px solid #00856a;outline-offset:6px}
#dialog #filtered-count{background:linear-gradient(#008b70,#00856a);border-color:#00755d;color:#fff;box-shadow:inset 0 1px 0 #ffffff54,0 2px 0 #005f4c,0 4px 10px #00664f26}

/* Petits blocs de l'accueil : ombrage latéral discret, même famille de titres. */
.rail .rail-heading{font-family:Fredoka,ui-rounded,system-ui,sans-serif;font-weight:500;letter-spacing:.01em}
.rail-edge-shade{position:relative;isolation:isolate;border-radius:12px}
.rail-edge-shade::before,.rail-edge-shade::after{content:"";position:absolute;top:0;bottom:0;width:24px;pointer-events:none;opacity:0;transition:opacity .15s;border-radius:inherit}
.rail-edge-shade::before{left:0;background:linear-gradient(90deg,#39463f18,transparent)}
.rail-edge-shade::after{right:0;background:linear-gradient(270deg,#39463f18,transparent)}
.rail-edge-shade:is(:hover,:focus-within)::before,.rail-edge-shade:is(:hover,:focus-within)::after{opacity:.7}
.rail-edge-shade:active::before,.rail-edge-shade:active::after{opacity:1}
@media(prefers-reduced-motion:reduce){.rail-edge-shade::before,.rail-edge-shade::after{transition:none}}
