/* =========================================================
   ALERT SYSTEM — v181 (2026-10-04). CSS only (+ js/181-alert-system.js for list layout / a11y). Loaded LAST.
   One visual language for every warning / message in BrokerHub:
     1. Notice popups  — "Before You Continue" (unit notice + building viewing instructions)
     2. Confirm dialog — bhConfirm() (Delete? Replace? Revoke? …), gold or red
     3. Toasts         — showToast(): success / warning / danger / info, with a countdown line
     4. Inline alerts  — red time-conflict banner in the viewing form, reception error banner
   Alignment rule used everywhere: icon badge on the start side, text column next to it, nothing floats.
   Motion: spring pop-in, icon wiggle + pulse ring, staggered lines, one-time button shine. All of it stops
   under prefers-reduced-motion. Nothing here changes markup or behaviour — roll back by removing the 181
   <link> and <script> tags from index.html.
   ========================================================= */
:root{
  --bhn-navy:#162D4C; --bhn-ink:#1B2A41; --bhn-muted:#6B7686;
  --bhn-gold:#CEA577; --bhn-gold-d:#B98A4E; --bhn-gold-l:#E6C48E;
  --bhn-amber-bg:#FCF7EC; --bhn-amber-line:#EEDDBB; --bhn-amber-ink:#7A4E10;
  --bhn-red:#C8372D; --bhn-red-d:#A82A21; --bhn-red-bg:#FFF4F2; --bhn-red-line:#F3C9C3; --bhn-red-ink:#8B2A20;
  --bhn-ease:cubic-bezier(.2,.9,.25,1.12);
}

/* ---------- keyframes ---------- */
@keyframes bhnFade{from{opacity:0}to{opacity:1}}
@keyframes bhnPop{0%{opacity:0;transform:translateY(26px) scale(.93)}60%{opacity:1}100%{opacity:1;transform:none}}
@keyframes bhnBadge{0%{opacity:0;transform:scale(.3) rotate(-24deg)}55%{opacity:1;transform:scale(1.14) rotate(9deg)}75%{transform:scale(.96) rotate(-5deg)}100%{opacity:1;transform:none}}
@keyframes bhnRing{0%{box-shadow:0 8px 20px -6px rgba(185,138,78,.65),0 0 0 0 rgba(206,165,119,.55)}100%{box-shadow:0 8px 20px -6px rgba(185,138,78,.65),0 0 0 16px rgba(206,165,119,0)}}
@keyframes bhnRingRed{0%{box-shadow:0 8px 20px -6px rgba(200,55,45,.6),0 0 0 0 rgba(200,55,45,.5)}100%{box-shadow:0 8px 20px -6px rgba(200,55,45,.6),0 0 0 16px rgba(200,55,45,0)}}
@keyframes bhnLine{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes bhnSheen{0%{background-position:0 0}100%{background-position:200% 0}}
@keyframes bhnShine{0%{transform:translateX(-120%) skewX(-18deg)}100%{transform:translateX(320%) skewX(-18deg)}}
@keyframes bhnToastIn{0%{opacity:0;transform:translateX(40px) scale(.94)}100%{opacity:1;transform:none}}
@keyframes bhnToastInUp{0%{opacity:0;transform:translateY(28px) scale(.96)}100%{opacity:1;transform:none}}
@keyframes bhnLife{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@keyframes bhnInline{0%{opacity:0;transform:translateY(-6px)}100%{opacity:1;transform:none}}
@keyframes bhnShake{0%,100%{transform:translateX(0)}20%{transform:translateX(-4px)}40%{transform:translateX(4px)}60%{transform:translateX(-3px)}80%{transform:translateX(2px)}}

/* =========================================================
   1. NOTICE POPUPS — #unitNoticeModal / #viewingNoticeModal
   ========================================================= */
#unitNoticeModal.modal-overlay,#viewingNoticeModal.modal-overlay{
  background:radial-gradient(900px 500px at 50% 30%,rgba(22,45,76,.50),rgba(7,15,28,.72))!important;
  -webkit-backdrop-filter:blur(8px) saturate(120%);backdrop-filter:blur(8px) saturate(120%);
  animation:bhnFade .28s ease-out both;
}
#unitNoticeModal .modal-box,#viewingNoticeModal .modal-box{
  position:relative;width:100%;max-width:440px!important;max-height:min(88vh,720px);overflow:auto!important;
  border-radius:24px!important;border:1px solid rgba(206,165,119,.38)!important;background:#fff!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  box-shadow:0 34px 80px -22px rgba(7,15,28,.62),0 2px 0 rgba(255,255,255,.7) inset!important;
  transform:none!important;transition:none!important;animation:bhnPop .5s var(--bhn-ease) both;
}
#unitNoticeModal .modal-box::before,#viewingNoticeModal .modal-box::before{
  content:"";position:absolute;inset:0 0 auto 0;height:5px;z-index:2;
  background:linear-gradient(90deg,var(--bhn-gold-d),var(--bhn-gold-l),var(--bhn-gold-d));background-size:200% 100%;animation:bhnSheen 2.4s linear 2;
}

/* DISMISS FIX (v181b): the pop-in animations above use fill-mode "both", and an animation's final keyframe beats
   normal declarations — so when the global dismiss guard (Back / tap outside / Esc) removed `.active`, the overlay's
   base `opacity:0` lost to the animation's held `opacity:1` and the notice stayed on screen (and re-played its
   animation). A closed notice now cancels every animation and is hidden outright. */
#unitNoticeModal.modal-overlay:not(.active),#viewingNoticeModal.modal-overlay:not(.active){
  animation:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;
}
#unitNoticeModal.modal-overlay:not(.active) *,#viewingNoticeModal.modal-overlay:not(.active) *,
#unitNoticeModal.modal-overlay:not(.active) *::before,#viewingNoticeModal.modal-overlay:not(.active) *::before,
#unitNoticeModal.modal-overlay:not(.active) *::after,#viewingNoticeModal.modal-overlay:not(.active) *::after{animation:none!important;}

/* header: badge | title + subtitle — one grid, so the three always line up */
#unitNoticeModal .modal-head,#viewingNoticeModal .modal-head{
  display:grid!important;grid-template-columns:56px minmax(0,1fr);column-gap:16px;row-gap:3px;align-items:center;
  padding:28px 24px 18px!important;border:0!important;border-radius:0!important;
  background:linear-gradient(180deg,#FFFBF3 0%,#fff 100%)!important;
}
#unitNoticeModal .modal-head::before,#viewingNoticeModal .modal-head::before{
  content:"\f071";font-family:"Font Awesome 6 Free","Font Awesome 5 Free";font-weight:900;font-size:24px;line-height:1;
  grid-row:1 / span 2;grid-column:1;width:56px;height:56px;border-radius:18px;display:grid;place-items:center;
  color:#7A4E10;background:linear-gradient(145deg,#FCEBC8,#E8C78B);
  box-shadow:0 8px 20px -6px rgba(185,138,78,.65),inset 0 1px 0 rgba(255,255,255,.75);
  animation:bhnBadge .85s .12s cubic-bezier(.3,1.5,.5,1) both,bhnRing 1.7s .75s ease-out 2;
}
#unitNoticeModal .modal-head h3,#viewingNoticeModal .modal-head h3{
  grid-column:2;margin:0!important;padding:0!important;align-self:end;
  font-family:var(--font-heading,'Fraunces',serif)!important;font-weight:700!important;font-size:clamp(20px,5.4vw,23px)!important;line-height:1.15;letter-spacing:-.005em;
  color:var(--bhn-navy)!important;
}
#unitNoticeModal .modal-head h3 i,#viewingNoticeModal .modal-head h3 i{display:none!important;}   /* the badge is the icon now */
#unitNoticeModal .modal-head h3::before,#viewingNoticeModal .modal-head h3::before{display:none!important;}
#unitNoticeModal .modal-head p,#viewingNoticeModal .modal-head p{
  grid-column:2;margin:0!important;align-self:start;font-size:13.5px!important;line-height:1.4;color:var(--bhn-muted)!important;
}

/* body */
#unitNoticeModal .modal-body,#viewingNoticeModal .modal-body{padding:6px 24px 24px!important;}
#unitNoticeModal .viewing-notice-block,#viewingNoticeModal .viewing-notice-block{
  position:relative;overflow:hidden;margin:0 0 12px;padding:16px 16px 15px 22px;border-radius:16px;
  background:var(--bhn-amber-bg);border:1px solid var(--bhn-amber-line);
  animation:bhnLine .45s .22s both;
}
#unitNoticeModal .viewing-notice-block::before,#viewingNoticeModal .viewing-notice-block::before{
  content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(180deg,var(--bhn-gold-l),var(--bhn-gold-d));
}
#unitNoticeModal .viewing-notice-building,#viewingNoticeModal .viewing-notice-building{
  display:inline-flex;align-items:center;gap:8px;margin:0 0 11px;padding:6px 12px 6px 10px;border-radius:99px;
  background:#fff;border:1px solid var(--bhn-amber-line);
  font:800 11px/1 var(--font-mono,ui-monospace,monospace);letter-spacing:.1em;text-transform:uppercase;color:var(--bhn-amber-ink);
}
#unitNoticeModal .viewing-notice-building i,#viewingNoticeModal .viewing-notice-building i{color:var(--bhn-gold-d);font-size:12px;}
#unitNoticeModal .viewing-notice-text,#viewingNoticeModal .viewing-notice-text{font-size:14.5px;line-height:1.55;color:var(--bhn-ink);}

/* the notice lines (built by js/181) — one row per line, hanging bullet, same rhythm */
.bhn-lines{list-style:none;margin:0;padding:0;display:grid;gap:10px;}
.bhn-lines li{position:relative;padding-inline-start:22px;font-size:14.5px;line-height:1.55;color:var(--bhn-ink);animation:bhnLine .42s calc(.38s + var(--i,0)*90ms) both;}
.bhn-lines li::before{content:"";position:absolute;inset-inline-start:2px;top:.62em;width:8px;height:8px;border-radius:50%;background:var(--bhn-gold-d);box-shadow:0 0 0 3px rgba(185,138,78,.2);}

/* the acknowledge button */
#unitNoticeModal .modal-body .btn-gold,#viewingNoticeModal .modal-body .btn-gold{
  position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:10px;
  width:100%;height:54px;min-height:54px;margin:8px 0 0!important;padding:0 18px!important;border:0;border-radius:16px;
  font:800 14px/1 var(--font-body,Inter,sans-serif);letter-spacing:.09em;text-transform:uppercase;color:#2A1B05;
  background:linear-gradient(180deg,#E6C48E 0%,#C99A55 100%);
  box-shadow:0 12px 26px -10px rgba(185,138,78,.85),inset 0 1px 0 rgba(255,255,255,.6);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;animation:bhnLine .45s .55s both;
}
#unitNoticeModal .modal-body .btn-gold i,#viewingNoticeModal .modal-body .btn-gold i{font-size:15px;}
#unitNoticeModal .modal-body .btn-gold::after,#viewingNoticeModal .modal-body .btn-gold::after{
  content:"";position:absolute;inset:0 auto 0 0;width:34%;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);transform:translateX(-120%) skewX(-18deg);animation:bhnShine 1.1s 1.1s ease-out 1;
}
#unitNoticeModal .modal-body .btn-gold:hover,#viewingNoticeModal .modal-body .btn-gold:hover{transform:translateY(-1px);filter:brightness(1.04);box-shadow:0 16px 30px -10px rgba(185,138,78,.95),inset 0 1px 0 rgba(255,255,255,.6);}
#unitNoticeModal .modal-body .btn-gold:active,#viewingNoticeModal .modal-body .btn-gold:active{transform:scale(.985);}
#unitNoticeModal .modal-body .btn-gold:focus-visible,#viewingNoticeModal .modal-body .btn-gold:focus-visible{outline:0;box-shadow:0 12px 26px -10px rgba(185,138,78,.85),inset 0 1px 0 rgba(255,255,255,.6),0 0 0 3px #fff,0 0 0 5px rgba(22,45,76,.55);}

@media(max-width:520px){
  #unitNoticeModal.modal-overlay,#viewingNoticeModal.modal-overlay{padding:14px!important;}
  #unitNoticeModal .modal-box,#viewingNoticeModal .modal-box{border-radius:22px!important;}
  #unitNoticeModal .modal-head,#viewingNoticeModal .modal-head{grid-template-columns:48px minmax(0,1fr);column-gap:14px;padding:24px 18px 14px!important;}
  #unitNoticeModal .modal-head::before,#viewingNoticeModal .modal-head::before{width:48px;height:48px;border-radius:15px;font-size:20px;}
  #unitNoticeModal .modal-body,#viewingNoticeModal .modal-body{padding:4px 18px 18px!important;}
  #unitNoticeModal .viewing-notice-block,#viewingNoticeModal .viewing-notice-block{padding:14px 14px 13px 20px;}
  .bhn-lines li{font-size:14px;}
  #unitNoticeModal .modal-body .btn-gold,#viewingNoticeModal .modal-body .btn-gold{height:52px;min-height:52px;font-size:13px;}
}

/* dark theme */
[data-theme="dark"] #unitNoticeModal .modal-box,[data-theme="dark"] #viewingNoticeModal .modal-box{background:#14253D!important;border-color:rgba(206,165,119,.35)!important;}
[data-theme="dark"] #unitNoticeModal .modal-head,[data-theme="dark"] #viewingNoticeModal .modal-head{background:linear-gradient(180deg,#1A2F4B,#14253D)!important;}
[data-theme="dark"] #unitNoticeModal .modal-head h3,[data-theme="dark"] #viewingNoticeModal .modal-head h3{color:#fff!important;}
[data-theme="dark"] #unitNoticeModal .modal-head p,[data-theme="dark"] #viewingNoticeModal .modal-head p{color:rgba(255,255,255,.66)!important;}
[data-theme="dark"] #unitNoticeModal .viewing-notice-block,[data-theme="dark"] #viewingNoticeModal .viewing-notice-block{background:rgba(206,165,119,.10);border-color:rgba(206,165,119,.30);}
[data-theme="dark"] #unitNoticeModal .viewing-notice-building,[data-theme="dark"] #viewingNoticeModal .viewing-notice-building{background:rgba(255,255,255,.06);border-color:rgba(206,165,119,.30);color:var(--bhn-gold-l);}
[data-theme="dark"] .bhn-lines li,[data-theme="dark"] #unitNoticeModal .viewing-notice-text,[data-theme="dark"] #viewingNoticeModal .viewing-notice-text{color:rgba(255,255,255,.9);}

/* =========================================================
   2. CONFIRM DIALOG — #bhConfirm (bhConfirm())
   gold by default; red automatically when the action is destructive (the confirm button is .btn-danger-ghost)
   ========================================================= */
#bhConfirm.otac-tk{
  background:radial-gradient(900px 500px at 50% 30%,rgba(22,45,76,.50),rgba(7,15,28,.72));
  -webkit-backdrop-filter:blur(8px) saturate(120%);backdrop-filter:blur(8px) saturate(120%);animation:bhnFade .25s ease-out both;
}
#bhConfirm .otac-tk-card{
  --c:var(--bhn-gold-d);--c-l:var(--bhn-gold-l);--c-bg1:#FCEBC8;--c-bg2:#E8C78B;--c-ink:#7A4E10;--c-glow:rgba(185,138,78,.65);
  position:relative;overflow:hidden;width:min(400px,100%);padding:34px 24px 22px;text-align:center;border-radius:24px;
  background:#fff;color:var(--bhn-ink);border:1px solid rgba(206,165,119,.38);
  box-shadow:0 34px 80px -22px rgba(7,15,28,.62),0 2px 0 rgba(255,255,255,.7) inset;animation:bhnPop .5s var(--bhn-ease) both;
}
#bhConfirm .otac-tk-card:has(.btn-danger-ghost){--c:var(--bhn-red);--c-l:#E8776E;--c-bg1:#FFE3DF;--c-bg2:#F7B9B1;--c-ink:#8B2A20;--c-glow:rgba(200,55,45,.6);border-color:rgba(200,55,45,.28);}
#bhConfirm .otac-tk-card::before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,var(--c),var(--c-l),var(--c));background-size:200% 100%;animation:bhnSheen 2.4s linear 2;}
#bhConfirm .otac-tk-ic{
  width:60px;height:60px;margin:0 auto 16px;border-radius:19px;display:grid;place-items:center;font-size:24px;
  color:var(--c-ink);background:linear-gradient(145deg,var(--c-bg1),var(--c-bg2));
  box-shadow:0 8px 20px -6px var(--c-glow),inset 0 1px 0 rgba(255,255,255,.75);
  animation:bhnBadge .85s .12s cubic-bezier(.3,1.5,.5,1) both,bhnRing 1.7s .75s ease-out 2;
}
#bhConfirm .otac-tk-card:has(.btn-danger-ghost) .otac-tk-ic{animation:bhnBadge .85s .12s cubic-bezier(.3,1.5,.5,1) both,bhnRingRed 1.7s .75s ease-out 2;}
#bhConfirm .otac-tk-card h3{margin:0 0 8px;font-family:var(--font-heading,'Fraunces',serif);font-weight:700;font-size:22px;line-height:1.15;color:var(--bhn-navy);animation:bhnLine .4s .22s both;}
#bhConfirm .otac-tk-card p{margin:0 auto;max-width:34ch;font-size:14.5px;line-height:1.55;color:var(--bhn-muted);animation:bhnLine .4s .3s both;}
#bhConfirm .otac-tk-act{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px;animation:bhnLine .4s .4s both;}
#bhConfirm .otac-tk-act button{height:50px;min-height:50px;padding:0 12px;border-radius:15px;font:800 13.5px/1 var(--font-body,Inter,sans-serif);letter-spacing:.04em;display:flex;align-items:center;justify-content:center;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease,background .18s ease;}
#bhConfirm .otac-tk-act .btn-ghost{color:var(--bhn-navy);background:#fff;border:1.5px solid #D5DAE2;}
#bhConfirm .otac-tk-act .btn-ghost:hover{background:#F3F5F8;border-color:#BFC7D3;}
#bhConfirm .otac-tk-act .btn-gold{color:#2A1B05;border:0;background:linear-gradient(180deg,#E6C48E,#C99A55);box-shadow:0 12px 26px -10px rgba(185,138,78,.85),inset 0 1px 0 rgba(255,255,255,.6);}
#bhConfirm .otac-tk-act .btn-danger-ghost{color:#fff;border:0;background:linear-gradient(180deg,#DB5247,#BC2F25);box-shadow:0 12px 26px -10px rgba(200,55,45,.85),inset 0 1px 0 rgba(255,255,255,.28);}
#bhConfirm .otac-tk-act .btn-gold:hover,#bhConfirm .otac-tk-act .btn-danger-ghost:hover{transform:translateY(-1px);filter:brightness(1.05);}
#bhConfirm .otac-tk-act button:active{transform:scale(.97);}
#bhConfirm .otac-tk button:focus-visible{outline:0;box-shadow:0 0 0 3px #fff,0 0 0 5px rgba(22,45,76,.55);}
@media(max-width:420px){#bhConfirm .otac-tk-card{padding:30px 18px 18px;border-radius:22px;}#bhConfirm .otac-tk-act{gap:8px;}}
[data-theme="dark"] #bhConfirm .otac-tk-card{background:#14253D;color:#fff;}
[data-theme="dark"] #bhConfirm .otac-tk-card h3{color:#fff;}
[data-theme="dark"] #bhConfirm .otac-tk-card p{color:rgba(255,255,255,.72);}
[data-theme="dark"] #bhConfirm .otac-tk-act .btn-ghost{background:rgba(255,255,255,.06);color:#fff;border-color:rgba(255,255,255,.28);}

/* =========================================================
   3. TOASTS — showToast()
   layout: [icon badge] [message ........] [action]   + a countdown line along the bottom edge
   colour by icon: warning (triangle / circle-exclamation), danger (xmark / user-slash / ban), success (check), else gold
   ========================================================= */
#toastHost{gap:10px;align-items:flex-end;}
.toast{
  --bhn-c:var(--bhn-gold);--bhn-c-bg:rgba(206,165,119,.18);--bhn-c-ic:#EBCB98;
  position:relative;overflow:hidden;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:12px;
  min-width:min(280px,calc(100vw - 48px));padding:12px 16px 14px 12px!important;border-radius:16px!important;
  background:linear-gradient(160deg,rgba(25,48,82,.97),rgba(13,27,46,.97))!important;
  border:1px solid rgba(255,255,255,.10)!important;border-left:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 18px 40px -14px rgba(5,12,24,.7),0 0 0 1px rgba(0,0,0,.2)!important;
  font-size:13.5px!important;line-height:1.4;font-weight:500;color:#fff;animation:bhnToastIn .45s var(--bhn-ease) both!important;
}
.toast>i{
  width:34px;height:34px;border-radius:11px;display:grid;place-items:center;font-size:15px;flex:none;
  color:var(--bhn-c-ic)!important;background:var(--bhn-c-bg);box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);
}
.toast>span{min-width:0;overflow-wrap:anywhere;}
.toast::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;transform-origin:left center;background:var(--bhn-c);opacity:.9;animation:bhnLife 3.6s linear forwards;}
.toast:has(.toast-act)::after{animation-duration:7.5s;}
.toast .toast-act{margin-left:0;height:32px;display:inline-flex;align-items:center;border-radius:10px;}

.toast:has(>i.fa-check-circle),.toast:has(>i.fa-circle-check),.toast:has(>i.fa-check){--bhn-c:#34C28A;--bhn-c-bg:rgba(52,194,138,.16);--bhn-c-ic:#6FE0B2;}
.toast:has(>i.fa-triangle-exclamation),.toast:has(>i.fa-circle-exclamation),.toast:has(>i.fa-exclamation){--bhn-c:#F0B24B;--bhn-c-bg:rgba(240,178,75,.17);--bhn-c-ic:#FFCB78;}
.toast:has(>i.fa-xmark),.toast:has(>i.fa-circle-xmark),.toast:has(>i.fa-user-slash),.toast:has(>i.fa-ban){--bhn-c:#F0675C;--bhn-c-bg:rgba(240,103,92,.17);--bhn-c-ic:#FF9A91;}
.toast:has(>i.fa-circle-info),.toast:has(>i.fa-wifi){--bhn-c:#6DB3F2;--bhn-c-bg:rgba(109,179,242,.16);--bhn-c-ic:#9DCBF8;}
.toast:has(>i.fa-triangle-exclamation)>i,.toast:has(>i.fa-xmark)>i{animation:bhnShake .5s .25s ease-out 1;}

@media(max-width:640px){
  #toastHost{left:12px!important;right:12px!important;bottom:max(14px,calc(env(safe-area-inset-bottom) + 8px))!important;align-items:stretch;}
  .toast,.toast:has(.toast-act){max-width:none!important;width:100%;min-width:0;animation-name:bhnToastInUp!important;}
}

/* =========================================================
   4. INLINE ALERTS
   ========================================================= */
/* viewing form: schedule heads-up (JS fills the <i> + message + <small>) */
#viewingModal .vr-conflict-warning{
  position:relative;margin:10px 0 0!important;padding:13px 14px 13px 52px!important;border-radius:14px!important;
  background:var(--bhn-red-bg)!important;border:1px solid var(--bhn-red-line)!important;border-left:4px solid var(--bhn-red)!important;
  color:var(--bhn-red-ink)!important;font:600 13px/1.5 var(--font-body,Inter,sans-serif)!important;text-align:start;animation:bhnInline .3s ease-out both;
}
#viewingModal .vr-conflict-warning>i{
  position:absolute;inset-inline-start:13px;top:12px;width:28px;height:28px;border-radius:9px;display:grid;place-items:center;
  font-size:13px;color:#fff;background:linear-gradient(145deg,#DB5247,#BC2F25);box-shadow:0 6px 14px -5px rgba(200,55,45,.7);
}
#viewingModal .vr-conflict-warning small{display:block;margin-top:3px;font-weight:500;font-size:12px;opacity:.82;}

/* reception modal / pulse request errors */
.vrm-reception-error,.oc-req-error{
  position:relative;align-items:center!important;gap:10px!important;padding:12px 14px!important;border-radius:14px!important;
  background:var(--bhn-red-bg)!important;border:1px solid var(--bhn-red-line)!important;border-left:4px solid var(--bhn-red)!important;
  color:var(--bhn-red-ink)!important;animation:bhnInline .3s ease-out both;
}
.vrm-reception-error>i,.oc-req-error>i{
  flex:none;width:26px;height:26px;margin:0!important;border-radius:8px;display:inline-grid;place-items:center;font-size:12px;color:#fff;
  background:linear-gradient(145deg,#DB5247,#BC2F25);
}

@media (prefers-reduced-motion:reduce){
  #unitNoticeModal *,#viewingNoticeModal *,#unitNoticeModal,#viewingNoticeModal,#bhConfirm,#bhConfirm *,.toast,.toast *,
  #viewingModal .vr-conflict-warning,.vrm-reception-error,.oc-req-error,.bhn-lines li,
  #unitNoticeModal .modal-head::before,#viewingNoticeModal .modal-head::before,
  #unitNoticeModal .modal-box::before,#viewingNoticeModal .modal-box::before,#bhConfirm .otac-tk-card::before,
  #unitNoticeModal .modal-body .btn-gold::after,#viewingNoticeModal .modal-body .btn-gold::after{animation:none!important;}
  .toast::after{animation:none!important;display:none;}
}
