/* Shared ANGEL NAVI notice surfaces; single-source layout and palette. */
:is(.an-marquee,.an-marquee-preview){--marquee-neon:#602095;--marquee-glow:#b35deb}
html[data-atlas-mode=dark] :is(.an-marquee,.an-marquee-preview){--marquee-neon:#efd0ff;--marquee-glow:#bc62ff}
html[data-atlas-palette=sunset] :is(.an-marquee,.an-marquee-preview){--marquee-neon:#ac3300;--marquee-glow:#ff7b25}
html[data-atlas-palette=sunset][data-atlas-mode=dark] :is(.an-marquee,.an-marquee-preview){--marquee-neon:#ffbf78;--marquee-glow:#ff7b25}
html[data-atlas-palette=tidal] :is(.an-marquee,.an-marquee-preview){--marquee-neon:#006c65;--marquee-glow:#00beaa}
html[data-atlas-palette=tidal][data-atlas-mode=dark] :is(.an-marquee,.an-marquee-preview){--marquee-neon:#81ffe1;--marquee-glow:#00f3c8}
.an-marquee{position:absolute;top:24px;height:24px;overflow:hidden;pointer-events:none;white-space:nowrap;min-width:0;color:var(--marquee-neon);font:750 13px/24px "Malgun Gothic","Segoe UI",system-ui,sans-serif;letter-spacing:.035em;text-shadow:0 0 1px currentColor,0 0 4px color-mix(in srgb,var(--marquee-glow) 60%,transparent),0 0 9px color-mix(in srgb,var(--marquee-glow) 36%,transparent);-webkit-text-stroke:.12px currentColor}
.an-marquee>span{display:inline-block;white-space:nowrap;will-change:transform}
@keyframes an-marquee-slide{from{transform:translateX(var(--marquee-to))}to{transform:translateX(var(--marquee-from))}}
/* Full 44px target; the glyph stays small so the drawer row keeps its height. */
.an-marquee-read{position:absolute;top:4px;width:44px;min-height:44px;height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--atlas-shell-accent,#ad8fd2);font:800 18px/1 "Segoe UI",system-ui,sans-serif;letter-spacing:.06em;cursor:pointer;z-index:4}
.an-marquee-read:is(:hover,:focus-visible){background:var(--atlas-accent-soft,#ede8f4)}
.an-marquee-read:focus-visible{outline:2px solid var(--atlas-shell-accent,#735099);outline-offset:-2px}
.an-marquee-menu-entry{width:100%;min-height:44px;margin-top:8px;border:1px solid var(--atlas-line,#ded4eb);border-radius:12px;background:var(--atlas-raised,#f6f1fb);color:inherit;font:inherit;text-align:left;padding:10px 14px}
.an-marquee-dialog{--notice-line:var(--atlas-line,var(--line,#ded6e9));--notice-panel:var(--atlas-panel,var(--surface,#faf8fd));--notice-raised:var(--atlas-raised,var(--bg,#f3eff8));--notice-ink:var(--atlas-fg,var(--ink,#2f263e));--notice-muted:var(--atlas-muted,var(--muted,#776b88));--notice-accent:var(--atlas-shell-accent,var(--accent,#735099));--notice-good:#2c7d5f;--notice-warn:#9a5a12;--notice-bad:#c2444b;box-sizing:border-box;width:min(720px,calc(100% - 24px));max-height:calc(100dvh - 32px);border:1px solid var(--notice-line);border-radius:22px;padding:20px;color:var(--notice-ink);background:var(--notice-panel);box-shadow:0 24px 80px #0005;overflow:auto;font:14px/1.45 "Malgun Gothic","Segoe UI",system-ui,sans-serif}
html[data-atlas-mode=dark] .an-marquee-dialog{--notice-good:#7fd8b4;--notice-warn:#f0b66a;--notice-bad:#ff8f93}
.an-marquee-dialog::backdrop{background:#14101f99;backdrop-filter:blur(4px)}
.an-marquee-manager{padding:0;overflow:hidden}
.an-marquee-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.an-marquee-manager>header{padding:14px 18px;border-bottom:1px solid var(--notice-line)}
.an-marquee-dialog h2{font-size:20px;line-height:1.3;letter-spacing:-.025em;margin:0;font-weight:750}
.an-marquee-dialog h3{font-size:15px;line-height:1.4;margin:0 0 10px}
.an-marquee-body{padding:14px 18px 18px;max-height:calc(100dvh - 116px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.an-marquee-dialog button,.an-marquee-dialog input,.an-marquee-dialog select,.an-marquee-dialog textarea{box-sizing:border-box;min-height:44px;min-width:0;max-width:100%;font:inherit;color:inherit;border:1px solid var(--notice-line);border-radius:11px;background:var(--notice-raised);padding:9px 12px;margin:0}
.an-marquee-dialog :is(input,select,textarea){width:100%}
.an-marquee-dialog textarea{resize:vertical;line-height:1.5}
.an-marquee-dialog button{cursor:pointer;font-weight:600;touch-action:manipulation}
.an-marquee-dialog button:disabled{opacity:.5;cursor:default}
.an-marquee-dialog :is(button,input,select,textarea):focus-visible{outline:2px solid var(--notice-accent);outline-offset:2px}
.an-marquee-dialog button.an-marquee-close{width:44px;height:44px;flex:none;padding:0;border:0;background:transparent;font-size:26px;font-weight:400;color:var(--notice-muted)}
.an-marquee-close:hover{background:var(--notice-raised)}
.an-marquee-lead{font-size:12px;color:var(--notice-muted);margin:0 0 12px}
/* One status callout for loading, results and errors; tone comes from the result, not from the wording. */
.an-marquee-status{font-size:13px;line-height:1.5;margin:0 0 12px;padding:9px 12px;border-radius:10px;border-left:3px solid var(--notice-accent);background:color-mix(in srgb,var(--notice-accent) 8%,var(--notice-panel));overflow-wrap:anywhere}
.an-marquee-status[data-tone=success]{border-left-color:var(--notice-good);background:color-mix(in srgb,var(--notice-good) 10%,var(--notice-panel))}
.an-marquee-status[data-tone=warn]{border-left-color:var(--notice-warn);background:color-mix(in srgb,var(--notice-warn) 10%,var(--notice-panel))}
.an-marquee-status[data-tone=error]{border-left-color:var(--notice-bad);background:color-mix(in srgb,var(--notice-bad) 9%,var(--notice-panel))}
.an-marquee-status button{display:inline-flex;margin:6px 0 0;width:auto}
.an-marquee-dialog form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.an-marquee-dialog label{display:grid;gap:6px;min-width:0;font-size:13px;font-weight:600}
.an-marquee-field{display:grid;gap:6px;min-width:0}
.an-marquee-compose{align-items:start}
.an-marquee-compose .an-marquee-business{grid-column:1/-1}
.an-marquee-compose .an-marquee-quota{grid-column:1/-1;justify-self:start;margin:-4px 0 0;padding:3px 10px;border-radius:999px;background:color-mix(in srgb,var(--notice-accent) 12%,var(--notice-panel));color:var(--notice-accent);font-size:12px;font-weight:700}
.an-marquee-compose .an-marquee-quota:empty{display:none}
.an-marquee-compose .an-marquee-quota[data-empty=true]{color:var(--notice-bad);background:color-mix(in srgb,var(--notice-bad) 10%,var(--notice-panel))}
.an-marquee-compose :is(.an-marquee-message-field,.an-marquee-preview,.an-marquee-ai-host,.an-marquee-compose-footer){grid-column:1/-1}
.an-marquee-compose .an-marquee-message-field{display:grid;gap:6px;grid-template-columns:minmax(0,1fr) auto;align-items:center}
.an-marquee-message-field textarea{grid-column:1/-1;font-size:16px;min-height:78px;font-weight:400}
.an-marquee-count{font-size:12px;font-weight:500;color:var(--notice-muted);text-align:right}
.an-marquee-count[data-invalid=true]{color:var(--notice-bad)}
.an-marquee-compose .an-marquee-start-date{grid-column:auto}
.an-marquee-start-date input{font-size:13px;min-width:0}
.an-marquee-preview{padding:10px 14px 12px;border:1px solid color-mix(in srgb,var(--marquee-glow) 32%,var(--notice-line));border-radius:12px;background:var(--notice-raised);color:var(--marquee-neon);font-weight:750;letter-spacing:.025em;overflow-wrap:anywhere;text-shadow:0 0 6px color-mix(in srgb,var(--marquee-glow) 25%,transparent)}
.an-marquee-preview[data-label]::before{content:attr(data-label);display:block;margin-bottom:2px;color:var(--notice-muted);font-size:11px;font-weight:600;letter-spacing:0;text-shadow:none}
.an-marquee-compose-footer{display:grid;gap:8px;border-top:1px solid var(--notice-line);padding-top:12px}
/* Booking summary sits right above the confirm button, where the person is looking. */
.an-marquee-review{padding:12px;border:1px solid color-mix(in srgb,var(--notice-accent) 45%,var(--notice-line));border-radius:12px;background:color-mix(in srgb,var(--notice-accent) 7%,var(--notice-panel))}
.an-marquee-review>strong{display:block;margin-bottom:8px;font-size:13px;color:var(--notice-accent)}
.an-marquee-dialog :is(.an-marquee-review,.an-marquee-inspection) dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:6px 12px;margin:0}
.an-marquee-dialog :is(.an-marquee-review,.an-marquee-inspection) dt{font-size:12px;color:var(--notice-muted);line-height:1.5}
.an-marquee-dialog :is(.an-marquee-review,.an-marquee-inspection) dd{margin:0;font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.an-marquee-dialog button.an-marquee-primary{background:var(--notice-accent);color:var(--notice-panel);border-color:transparent;font-weight:750;width:100%}
.an-marquee-help,.an-marquee-dialog small{font-size:12px;color:var(--notice-muted)}
.an-marquee-compose-footer .an-marquee-help{margin:0;line-height:1.5}
.an-marquee-status:empty{display:none}
.an-marquee-dialog [hidden]{display:none}
.an-marquee-confirm{padding:12px;border:1px solid var(--notice-accent);border-radius:12px;background:var(--notice-raised);margin-bottom:12px}
.an-marquee-confirm p{margin:0 0 10px;white-space:pre-line}
.an-marquee-confirm button{margin-right:8px}
.an-marquee-tabs{display:flex;gap:4px;padding:4px;border-radius:13px;background:var(--notice-raised);margin:0 0 16px;border:1px solid var(--notice-line)}
.an-marquee-tabs button{flex:1;background:transparent;border:1px solid transparent;padding:8px;min-height:44px;font-size:13px;color:var(--notice-muted)}
.an-marquee-tabs button[aria-pressed=true]{background:color-mix(in srgb,var(--notice-accent) 14%,var(--notice-panel));border-color:color-mix(in srgb,var(--notice-accent) 40%,var(--notice-line));box-shadow:0 2px 6px #0001;color:var(--notice-accent);font-weight:750}
/* Public on/off switch: a quiet state row instead of a headline button. */
.an-marquee-power-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;padding:4px 4px 4px 12px;border:1px solid var(--notice-line);border-radius:12px;background:var(--notice-raised)}
.an-marquee-power-state{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:650;min-width:0}
.an-marquee-power-state::before{content:'';width:8px;height:8px;flex:none;border-radius:50%;background:var(--notice-muted)}
.an-marquee-power-row[data-on=true] .an-marquee-power-state::before{background:var(--notice-good)}
.an-marquee-dialog .an-marquee-power{flex:none;margin:0;font-size:12px;background:var(--notice-panel)}
.an-marquee-list-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.an-marquee-list-top h3{margin:0;font-size:13px;color:var(--notice-muted);font-weight:650}
.an-marquee-list-top button{font-size:12px;min-height:44px;padding:6px 12px}
.an-marquee-booking{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;border:1px solid var(--notice-line);border-radius:14px;padding:14px;margin-top:10px;overflow-wrap:anywhere;background:var(--notice-raised)}
.an-marquee-booking>strong{font-size:13px;line-height:1.4;align-self:center}
.an-marquee-booking>p{grid-column:1/-1;margin:0;font-size:15px;line-height:1.6}
.an-marquee-booking>small,.an-marquee-booking>.an-marquee-actions{grid-column:1/-1}
.an-marquee-badge{font-size:11px;font-weight:700;padding:4px 8px;border-radius:999px;align-self:start;background:var(--notice-panel);color:var(--notice-accent);white-space:nowrap;border:1px solid color-mix(in srgb,currentColor 25%,transparent)}
.an-marquee-badge:is([data-state=active],[data-state=reviewed]){color:var(--notice-good)}
.an-marquee-badge[data-state=unreviewed]{color:var(--notice-warn)}
.an-marquee-badge:is([data-state=ended],[data-state=cancelled],[data-state=hidden],[data-state=deleted]){color:var(--notice-muted)}
.an-marquee-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:4px}
.an-marquee-actions button{font-size:12px;min-height:44px;padding:7px 12px}
.an-marquee-empty{text-align:center;padding:28px 12px;border:1px dashed var(--notice-line);border-radius:14px;color:var(--notice-muted)}
.an-marquee-empty p{margin:0 0 14px}
.an-marquee-empty button{color:var(--notice-accent)}
.an-marquee-reader{width:min(560px,calc(100% - 32px));padding:18px}
.an-marquee-reader>header{margin:-6px -6px 6px 0}
.an-marquee-reader-list{display:grid;gap:10px}
.an-marquee-reader-list>.an-marquee-booking{margin:0}
.an-marquee-reader>button{display:block;margin:14px 0 0 auto;min-width:88px}
.an-marquee-dialog .an-marquee-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.an-marquee-filters .an-marquee-search{grid-column:1/-1;display:flex;gap:8px}
.an-marquee-search input{flex:1;width:0}
.an-marquee-search button{flex:none}
.an-marquee-dialog .an-marquee-filters label{grid-column:auto}
.an-marquee-submission-row{margin:8px 0;border:1px solid var(--notice-line);border-radius:12px;background:var(--notice-raised)}
.an-marquee-dialog .an-marquee-submission{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;width:100%;padding:12px;margin:0;text-align:left;overflow-wrap:anywhere;background:transparent;border:0}
.an-marquee-dialog .an-marquee-row-delete{display:block;margin:0 12px 12px auto;min-height:44px;padding:7px 12px;color:var(--notice-bad)}
.an-marquee-submission .an-marquee-message,.an-marquee-submission small{grid-column:1/-1}
.an-marquee-submission strong{min-width:0}
.an-marquee-submission .an-marquee-badge{align-self:start}
.an-marquee-content{padding:12px;margin:10px 0;border:1px solid var(--notice-line);border-radius:12px;overflow-wrap:anywhere}
.an-marquee-content>strong{display:block;font-size:12px;color:var(--notice-muted);margin-bottom:6px}
.an-marquee-content p{margin:0;font-size:15px;line-height:1.55}
.an-marquee-inspection{display:grid;gap:10px;overflow-wrap:anywhere}
.an-marquee-inspection>*{margin:0}
.an-marquee-dialog button.an-marquee-back{justify-self:start;border:0;background:transparent;color:var(--notice-accent);padding:0 8px;margin-left:-8px}
.an-marquee-detail-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.an-marquee-detail-head h3{flex:1 1 100%;margin:0;font-size:17px}
.an-marquee-inspection .an-marquee-content{margin:0}
.an-marquee-dialog .an-marquee-translations{grid-template-columns:32px minmax(0,1fr);gap:8px 10px}
.an-marquee-dialog .an-marquee-translations dt{font-weight:700;color:var(--notice-accent)}
.an-marquee-dialog .an-marquee-translations dd{font-weight:500;font-size:14px}
.an-marquee-dialog .an-marquee-review-check{display:flex;align-items:center;gap:8px;margin:0}
.an-marquee-review-check input{min-height:20px;width:20px;height:20px;flex:none;order:-1}
.an-marquee-dialog .an-marquee-actions button[data-action=review]{background:var(--notice-accent);color:var(--notice-panel);border-color:transparent;font-weight:750}
.an-marquee-dialog .an-marquee-actions button[data-action=delete]{color:var(--notice-bad)}
.an-marquee-inspection details{margin-top:2px}
.an-marquee-inspection summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--notice-muted);font-size:13px}
.an-marquee-moderation>p{margin:8px 0}
@media(max-width:440px){.an-marquee-manager>header{padding:10px 14px}
.an-marquee-body{padding:12px 14px 14px;max-height:calc(100dvh - 100px);scrollbar-gutter:auto}
.an-marquee-dialog h2{font-size:18px}
.an-marquee-dialog form{gap:10px}
.an-marquee-compose .an-marquee-start-mode,.an-marquee-compose .an-marquee-start-date{grid-column:1/-1}
.an-marquee-filters select{padding:9px 6px 9px 8px;font-size:13px}
.an-marquee-submission .an-marquee-badge{max-width:140px}
.an-marquee-booking{padding:12px}
}
@media(prefers-reduced-motion:reduce){.an-marquee>span{animation:none;transform:none;will-change:auto}
.an-marquee{text-overflow:ellipsis}
}
