/* Inicio y edición privados: acciones legibles, imágenes y espacio para tocar. */
.customer-home{display:grid;gap:20px;max-width:1040px;margin-inline:auto}
.customer-workspace:has(.customer-home) .ari-tab{display:none}
.customer-home>.panel,.customer-home .customer-metrics>.panel{margin:0}
.customer-home-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;min-width:0}
.customer-kicker{font-size:11px;letter-spacing:.1em;color:var(--muted);font-weight:700}
.customer-workspace .customer-home-heading h2{font-size:clamp(23px,4vw,32px);line-height:1.2;margin:8px 0;overflow-wrap:anywhere}
.customer-home-heading p{font-size:14px;margin:0;color:var(--muted)}
.customer-home-heading .pill{flex:none;font-size:11px}
.customer-quick-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.customer-action-card{display:flex;align-items:center;gap:12px;min-width:0;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--surface);text-decoration:none;color:var(--ink);box-shadow:0 3px 12px #163a2805}
.customer-action-card:hover{border-color:#68a28b;background:var(--surface-2)}
.customer-action-card:focus-visible{outline:3px solid #68a28b;outline-offset:3px}
.customer-action-icon{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;background:var(--surface-2);color:var(--ink)}
.customer-action-icon svg{width:23px;height:23px}
.customer-action-card>span:nth-child(2){display:grid;gap:5px;flex:1;min-width:0}
.customer-action-card strong{font-size:14px;line-height:1.3}
.customer-action-card small{font-size:11px;line-height:1.4;color:var(--muted)}
.customer-action-card>svg{width:18px;height:18px;flex:none;color:var(--muted)}
.customer-page-identity{display:flex;align-items:center;gap:16px;margin-bottom:18px}
.customer-page-photo{display:grid;place-items:center;flex:none;width:72px;height:72px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2);overflow:hidden}
.customer-page-photo img{width:100%;height:100%;object-fit:contain}
.customer-page-photo>svg{width:28px;height:28px;color:var(--muted)}
.customer-page-identity>div{min-width:0}
.customer-workspace .customer-page-identity h2{font-size:19px;line-height:1.3;margin:0 0 8px}
.customer-page-identity .status{margin:0;font-size:11px}
.customer-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.customer-workspace .customer-metrics .panel{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-height:0}
.customer-workspace .customer-metrics .panel>h2,.customer-workspace .customer-metrics .panel>p,.customer-workspace .customer-metrics .panel>.insight-summary{margin:0}
.customer-workspace .customer-metrics h2{font-size:18px}
.customer-workspace .customer-metrics .visit-card>strong{font-size:36px;margin:0}
.customer-metrics p{font-size:13px;color:var(--muted)}
.customer-email-option summary{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;font-weight:600;cursor:pointer}
.customer-email-option summary span{font-size:11px;color:var(--muted);font-weight:400}
.customer-email-option p{font-size:13px;overflow-wrap:anywhere}
.auth-panel .auth-skip-verification{display:flex;align-items:center;justify-content:center;min-height:48px;margin-top:16px;text-align:center}
.editor-share-panel>summary{font-size:14px;font-weight:600;cursor:pointer;line-height:1.5}
.editor-share-panel[open] .profile-address{margin-top:16px}
.be-content .be-profile-form,.customer-editor>form>.panel{border-radius:18px}
.be-content .be-profile-form{gap:20px}
.customer-editor .editor-upload,.be-content .editor-upload{display:grid!important;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:14px;padding:14px;border:1px solid var(--line,#dbe3de);border-radius:14px;background:var(--surface-2,#f3f6f4);position:relative}
.customer-editor .editor-upload-thumb,.be-profile-form .editor-upload-thumb{grid-row:1/3;width:104px;height:104px;border-radius:10px;background:var(--surface,#fff)}
.editor-upload-copy{min-width:0}
.editor-upload-copy strong{font-size:14px}
.editor-upload-copy small{font-size:11px;overflow-wrap:anywhere;line-height:1.4}
.editor-upload .editor-upload-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:auto;height:auto;min-height:38px;padding:8px 12px;justify-self:start;background:var(--surface,#fff);border:1px solid var(--line,#dbe3de);border-radius:9px;font-size:12px;font-weight:600}
.editor-upload-action svg{width:17px;height:17px;flex:none}
.editor-upload:focus-within{outline:3px solid #68a28b;outline-offset:3px}
.be-content .be-product-form .editor-upload{grid-template-columns:minmax(0,1fr);gap:12px}
.be-product-form .editor-upload-thumb{grid-row:auto;grid-column:1;width:100%;height:220px;background:var(--surface,#fff)}
.be-product-form .editor-upload-thumb img{max-height:220px}
.be-product-form .editor-upload-copy{display:grid;gap:5px}
.be-product-form .editor-upload-action{justify-self:stretch}
.be-content .be-product-edit{justify-content:center;background:var(--surface-2);border-top:1px solid var(--line);padding:11px;gap:7px;font-weight:600}
.customer-workspace .customer-editor .panel{padding:20px}
.customer-workspace .customer-editor h2{font-size:18px;line-height:1.35}
.customer-workspace .customer-editor label{font-size:13px;font-weight:500}
.customer-workspace .customer-editor label input,.customer-workspace .customer-editor textarea{font-size:16px;font-weight:400}
.be-catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.be-catalog-heading h2{margin:0;font-size:22px}.be-catalog-heading p{margin:5px 0 0;font-size:13px;color:var(--muted)}
@media(max-width:600px){.customer-home{gap:16px}.customer-home-heading{align-items:flex-start;flex-direction:column;gap:10px}.customer-quick-actions{grid-template-columns:1fr;gap:10px}.customer-action-card{padding:14px}.customer-metrics{grid-template-columns:1fr}.customer-page-photo{width:60px;height:60px}.customer-workspace .customer-page-identity h2{font-size:17px}.customer-home>.panel,.customer-metrics>.panel{padding:20px}.be-catalog-heading{align-items:flex-start}.be-catalog-heading .ab-button{max-width:145px;font-size:12px}.customer-editor .editor-upload,.be-content .be-profile-form .editor-upload{grid-template-columns:84px minmax(0,1fr);gap:10px}.customer-editor .editor-upload-thumb,.be-profile-form .editor-upload-thumb{width:84px;height:100px}.editor-upload .editor-upload-action{font-size:11px;padding:8px 10px}.be-product-form .editor-upload-thumb,.be-product-form .editor-upload-thumb img{height:190px;max-height:190px}}

/* Avisos debajo de la cabecera fija. */
.customer-workspace>.flash-stack{top:calc(var(--customer-header-height,10px) + 8px);z-index:1100}
.editor-share-panel>h2{font-size:16px;margin:0 0 14px}
@media(max-width:600px){.customer-workspace .flash-stack{left:16px;right:16px;max-width:none}.customer-workspace .flash{font-size:13px;line-height:1.5}}
