/* AT Porcelain: shared notices, scoped to notifications only */
.at-notice,.alert.alert-success,.alert.alert-danger,.alert.alert-error,.alert.alert-warning,.alert.alert-info{--an-ink:#075985;--an-bg:#f0f9ff;--an-line:#bae6fd;--an-accent:#0284c7;--an-icon-bg:#dbeafe}
.at-notice[data-kind=success],.alert.alert-success{--an-ink:#065f46;--an-bg:#effcf5;--an-line:#b7e8cd;--an-accent:#059669;--an-icon-bg:#d1fae5}
.at-notice[data-kind=error],.alert.alert-danger,.alert.alert-error{--an-ink:#9f1239;--an-bg:#fff1f2;--an-line:#fecdd3;--an-accent:#e11d48;--an-icon-bg:#ffe4e6}
.at-notice[data-kind=warning],.alert.alert-warning{--an-ink:#92400e;--an-bg:#fffbeb;--an-line:#fde68a;--an-accent:#d97706;--an-icon-bg:#fef3c7}
.at-notice{position:relative;box-sizing:border-box;display:flex;align-items:flex-start;gap:13px;padding:17px 15px;border:1px solid var(--an-line);border-radius:17px;background:linear-gradient(135deg,#fff,var(--an-bg));color:var(--an-ink);font:400 13px/1.55 Inter,system-ui,sans-serif;text-align:left;overflow:hidden;isolation:isolate;overflow-wrap:anywhere;box-shadow:0 8px 24px -16px var(--an-accent)}
.at-notice *{box-sizing:border-box}.at-notice .an-icon{display:grid;place-items:center;flex:0 0 39px;height:39px;border-radius:13px;background:var(--an-icon-bg);color:var(--an-accent)}.at-notice .an-icon svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.at-notice .an-body{flex:1;min-width:0}.at-notice .an-title{display:block;font:800 14px/1.4 'Plus Jakarta Sans',Inter,system-ui,sans-serif;color:var(--an-ink);margin:0 0 4px}.at-notice .an-message{display:block;color:var(--an-ink);white-space:pre-wrap;margin:0;font-size:13px}.at-notice .an-ref{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--an-line);background:#fff;border-radius:9px;margin-top:12px;padding:6px 9px;font-size:11px;font-weight:700;color:var(--an-ink)}.at-notice .an-ref b{font-family:'JetBrains Mono',monospace;font-size:13px}.at-notice .an-close{border:0;background:transparent;color:var(--an-ink);border-radius:8px;flex:0 0 26px;width:26px;height:26px;display:grid;place-items:center;font:400 20px/1 system-ui;cursor:pointer;padding:0;box-shadow:none}.at-notice .an-close:hover{background:var(--an-icon-bg)}.at-notice .an-close:focus-visible{outline:2px solid var(--an-accent);outline-offset:2px}.at-notice .an-progress{height:3px;position:absolute;bottom:0;left:0;width:100%;background:var(--an-accent);transform-origin:left;animation:an-time var(--an-duration) linear forwards}.at-notice:hover .an-progress,.at-notice:focus-within .an-progress{animation-play-state:paused}
#at-notice-stack{position:fixed;z-index:2147483000;top:90px;right:20px;width:min(390px,calc(100vw - 32px));display:flex;flex-direction:column;gap:10px;pointer-events:none;max-height:calc(100dvh - 110px);overflow:auto}#at-notice-stack .at-notice{pointer-events:auto;flex-shrink:0;box-shadow:0 12px 36px -14px #0f172a55;animation:an-in .25s cubic-bezier(.2,.7,.3,1)}
#atq-status .at-notice{margin:0 0 4px}#atq-status .at-notice[data-kind=success]{padding:19px 15px}#atq-status .at-notice[data-kind=success] .an-title{font-size:16px}
.alert.alert-success,.alert.alert-danger,.alert.alert-error,.alert.alert-warning,.alert.alert-info{position:relative!important;border:1px solid var(--an-line)!important;border-left:4px solid var(--an-accent)!important;border-radius:14px!important;background:var(--an-bg)!important;color:var(--an-ink)!important;padding:14px 16px 14px 49px!important;box-shadow:0 6px 18px -15px var(--an-accent)!important;overflow-wrap:anywhere}.alert.alert-success:before,.alert.alert-danger:before,.alert.alert-error:before,.alert.alert-warning:before,.alert.alert-info:before{position:absolute;left:13px;top:13px;width:25px;height:25px;border-radius:8px;background:var(--an-icon-bg);color:var(--an-accent);display:grid;place-items:center;font:800 16px/1 system-ui;content:'i'}.alert.alert-success:before{content:'✓'}.alert.alert-danger:before,.alert.alert-error:before{content:'×'}.alert.alert-warning:before{content:'!'}.alert.alert-success a,.alert.alert-danger a,.alert.alert-error a,.alert.alert-warning a,.alert.alert-info a{color:var(--an-ink)!important;text-decoration:underline}.alert .close{color:inherit!important;opacity:.8}.alert .alert-heading{color:inherit!important}
@keyframes an-in{from{opacity:0;transform:translateY(-8px) scale(.98)}to{opacity:1;transform:none}}@keyframes an-time{to{transform:scaleX(0)}}@media(max-width:600px){#at-notice-stack{top:76px;right:12px;left:12px;width:auto;max-height:calc(100dvh - 100px)}.at-notice{padding:14px 12px;gap:10px}.at-notice .an-icon{flex-basis:34px;height:34px}}@media(prefers-reduced-motion:reduce){#at-notice-stack .at-notice,.at-notice .an-progress{animation:none!important}}
