/* Unified application feedback (toasts + inline form feedback) — Website, Garajul meu, Operations, Administration.
   The #notice live region is only a positioned container: the older single-box rules in customer.css are neutralised here, the toasts carry the surface. */
body #notice{position:fixed;top:var(--toast-top,92px);right:max(16px,env(safe-area-inset-right));bottom:auto;left:auto;z-index:120;width:min(420px,calc(100vw - 32px));max-width:none;padding:0;margin:0;background:none;border:0;border-radius:0;box-shadow:none;display:none;flex-direction:column;gap:10px;pointer-events:none;font-size:14px}
body #notice.visible{display:flex}
body[data-ui=premium] #notice{--toast-top:calc(var(--pr-dev-h,0px) + var(--pr-header-h,80px) + 30px)}
body.operator-app #notice{--toast-top:calc(var(--shell-frame,calc(var(--shell-top,0px) + var(--shell-header,56px))) + 12px)}
body #notice .toast{pointer-events:auto;display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:12px;padding:12px 12px 12px 14px;color:var(--text);line-height:1.45;overflow-wrap:anywhere;animation:toast-in 180ms ease-out}
body #notice .toast.sr-only{position:absolute!important;display:block}
body #notice .toast p{margin:0;padding-top:1px;color:inherit}
body #notice .toast-icon{margin-top:1px;color:var(--toast-accent,var(--brand-text));flex:none}
body #notice .toast[data-tone=success]{--toast-accent:var(--status)}
body #notice .toast[data-tone=error]{--toast-accent:var(--danger)}
body #notice .toast[data-tone=warning]{--toast-accent:var(--warning)}
body #notice .toast[data-tone=info]{--toast-accent:var(--brand)}
body #notice .toast-close{min-width:32px;min-height:32px;padding:0;display:inline-grid;place-items:center;color:var(--muted);cursor:pointer}
body #notice .toast-close:hover{color:var(--text)}
body #notice .toast-close:focus-visible{outline:2px solid var(--focus);outline-offset:1px}
@keyframes toast-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){body #notice .toast{animation:none}}
@media(max-width:640px){
 body #notice,body.operator-app #notice{top:auto;bottom:max(12px,env(safe-area-inset-bottom));left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));width:auto}
}
@media(max-height:480px){body #notice{top:auto;bottom:8px}}
/* Inline form feedback: the explanation sits next to the form that needs correcting. */
.form-feedback{margin:12px 0 0;padding:10px 12px;border:0;border-radius:12px;box-shadow:inset 4px 0 0 var(--danger);background:var(--danger-soft);color:var(--danger);font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.form-feedback[data-tone=info]{background:var(--surface-subtle);color:var(--text)}
