/* Supplied still artwork, animated with CSS; both textures are shared and cached. */
:root{--hf12-fire-image:url('./risk-assets/fire.png');--hf12-flame-image:url('./risk-assets/flame-overlay.png')}
@supports(background-image:image-set(url('./risk-assets/fire.webp') type('image/webp'))){:root{--hf12-fire-image:image-set(url('./risk-assets/fire.webp') type('image/webp'),url('./risk-assets/fire.png') type('image/png'));--hf12-flame-image:image-set(url('./risk-assets/flame-overlay.webp') type('image/webp'),url('./risk-assets/flame-overlay.png') type('image/png'))}}
@keyframes ai-weigh-fire-orbit{to{transform:rotate(360deg)}}
@keyframes ai-weigh-fire-glow{0%,100%{box-shadow:0 0 0 2px #6e192466,0 0 7px #ff4d3266}50%{box-shadow:0 0 0 2px #bb3c3655,0 0 16px #ff6d4599}}
@keyframes ai-weigh-flame-lift{0%,100%{transform:translate(-3%,5%) rotate(-14deg) scale(.88);opacity:.48}50%{transform:translate(3%,-5%) rotate(12deg) scale(1.1);opacity:.9}}
@keyframes ai-weigh-risk-flash{0%,100%{opacity:.68;filter:brightness(.85)}20%,40%{opacity:1;filter:brightness(1.3)}}
body .hf12-fire-icon,
body :is(.status-chip.red,.next-work .route-card.red>span:first-child>b,.dwt-issue.red>b,.compliance-detail[data-tone=red],[data-yard="dwt-fix"]>b)::before,
body .party-summary[data-tone=red] .party-signal>i{content:"";box-sizing:border-box;display:inline-block;width:22px;height:22px;min-width:22px;flex:0 0 22px;vertical-align:-5px;margin:0 7px 0 0;border:2px solid #f25760;border-radius:50%;background:#65131b var(--hf12-fire-image) center/cover no-repeat;box-shadow:0 0 0 2px #350d1680,0 0 10px #ff352440;color:transparent;font-size:0;animation:ai-weigh-fire-orbit 6s linear infinite,ai-weigh-fire-glow 2.8s ease-in-out infinite;animation-play-state:var(--hf12-fire-play-state,running);pointer-events:none}
body .status-chip.red>i{display:none}body .status-chip.red::before{margin:0}body .dwt-issue.red>span:first-child{display:none}
.hf12-motion-paused,.hf12-motion-hidden{--hf12-fire-play-state:paused}
.header-actions>.hf12-risk-alert,.hf12-entry-tools>.hf12-risk-alert{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:none;box-shadow:none;text-decoration:none}
.hf12-risk-alert>.hf12-fire-icon{position:relative;overflow:hidden;width:34px;height:34px;min-width:34px;flex-basis:34px;margin:0;animation:ai-weigh-fire-orbit 6s linear infinite,ai-weigh-fire-glow 2.8s ease-in-out infinite,ai-weigh-risk-flash 1.8s ease-in-out infinite;animation-play-state:var(--hf12-fire-play-state,running)}
.hf12-risk-alert>.hf12-fire-icon::after{content:"";position:absolute;inset:-6%;border-radius:50%;background:var(--hf12-flame-image) center/cover no-repeat;mix-blend-mode:screen;opacity:.7;animation:ai-weigh-flame-lift 2.4s ease-in-out infinite;animation-play-state:var(--hf12-fire-play-state,running);pointer-events:none}
.hf12-risk-alert::after{content:"";position:absolute;inset:3px;border:1px solid transparent;border-top-color:#ffe0a6;border-right-color:#ff6d4966;border-radius:50%;animation:ai-weigh-fire-orbit 3.2s linear infinite;animation-play-state:var(--hf12-fire-play-state,running);pointer-events:none}
.hf12-risk-alert:hover>.hf12-fire-icon{border-color:#ffc8a3}.hf12-risk-alert:focus-visible{outline:3px solid #ffe197;outline-offset:3px}
.hf12-access-bar{grid-template-columns:44px minmax(0,1fr) 100px}
.hf12-entry-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.hf12-entry-tools>button{display:grid;place-items:center;width:44px;min-width:44px;height:44px;padding:0;border:0;border-radius:12px;background:none;color:#d2d4ce;font-size:25px;line-height:1}
@media(max-width:767px){.header-actions>.hf12-risk-alert,.hf12-entry-tools>.hf12-risk-alert{width:44px;height:44px;flex-basis:44px}.hf12-access-bar{grid-template-columns:44px minmax(0,1fr) 96px}.hf12-mini-brand{font-size:12px;letter-spacing:.24em;padding-left:.24em}}
@media(max-width:480px){.device>.brand{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:6px 10px;height:auto!important;min-height:106px;margin-bottom:8px}.device>.brand>a{grid-row:1;grid-column:1}.device>.brand>.brand-context{grid-row:1;grid-column:2}.device>.brand>.top-menu-toggle{grid-row:1;grid-column:3;width:auto;padding:10px;gap:8px}.top-menu-toggle .top-menu-label{display:inline}.device>.brand>.header-actions{grid-row:2;grid-column:1/-1;display:flex;justify-content:flex-end;width:100%;gap:8px}.device>.brand>.header-actions>*{height:44px;min-height:44px!important;min-width:44px;width:44px}.device>.brand .hf12{height:40px}}
@media(prefers-reduced-motion:reduce){:root,.hf12-motion-paused,#workspace{--hf12-fire-play-state:paused!important}}
@media print{.hf12-risk-alert{display:none!important}}
