/* Miller Holding statement gallery. All component styles are scoped. */
#mh-announcement, #mh-announcement * { box-sizing: border-box; }
#mh-announcement[hidden], #mh-announcement [hidden] { display: none !important; }
#mh-announcement {
    position: fixed; inset: 0; z-index: 2147483000;
    display: flex; align-items: center; justify-content: center;
    padding: 12px; padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    background: rgba(6, 16, 34, .86); overflow: auto; overscroll-behavior: contain;
    color: #1d4081; font-family: Arial, Helvetica, sans-serif; line-height: 1.4;
    text-align: left; letter-spacing: normal;
}
#mh-announcement .mh-announcement__panel {
    flex: 0 0 auto; width: min(600px, calc(100vw - 24px), calc((100vh - 148px) * .75));
    width: min(600px, calc(100vw - 24px), calc((100dvh - 148px) * .75));
    background: #fff; border-radius: 5px; overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, .35);
}
#mh-announcement .mh-announcement__header {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    height: 48px; padding: 0 8px 0 16px; border-bottom: 1px solid #e6edf4;
}
#mh-announcement #mh-announcement-title {
    margin: 0; padding: 0; color: #1d4081; font: 600 13px/1.2 Arial, Helvetica, sans-serif;
    letter-spacing: .01em; text-transform: none;
}
#mh-announcement button {
    appearance: none; -webkit-appearance: none; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    width: auto; min-width: 44px; height: 44px; margin: 0; padding: 0 10px;
    border: 0; border-radius: 3px; background: transparent; box-shadow: none;
    color: #1d4081; font: 500 13px/1 Arial, Helvetica, sans-serif;
    text-transform: none; letter-spacing: normal; white-space: nowrap; touch-action: manipulation;
}
#mh-announcement button:hover { background: #eef5fa; color: #143368; }
#mh-announcement button:focus-visible { outline: 2px solid #1d4081; outline-offset: -3px; }
#mh-announcement button svg { flex: 0 0 auto; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
#mh-announcement .mh-announcement__close svg { width: 18px; height: 18px; }
#mh-announcement .mh-announcement__stage { position: relative; width: 100%; touch-action: pan-y pinch-zoom; }
#mh-announcement .mh-announcement__slide { display: block; margin: 0; padding: 0; width: 100%; }
#mh-announcement .mh-announcement__slide img {
    display: block; position: static; width: 100%; height: auto; max-width: 100%; max-height: none;
    margin: 0; padding: 0; border: 0; border-radius: 0; object-fit: contain; user-select: none;
}
#mh-announcement .mh-announcement__controls {
    display: flex; align-items: center; justify-content: space-between; gap: 2px;
    height: 54px; padding: 5px 8px; background: #fff;
}
#mh-announcement .mh-announcement__center { display: flex; align-items: center; gap: 12px; }
#mh-announcement .mh-announcement__counter { font-size: 13px; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
#mh-announcement .mh-announcement__toggle { font-size: 12px; }
#mh-announcement .mh-announcement__toggle svg { width: 16px; height: 16px; }
#mh-announcement .mh-announcement__progress { height: 3px; background: #e6edf4; overflow: hidden; }
#mh-announcement .mh-announcement__progress span {
    display: block; width: 100%; height: 100%; background: #20a0d1; transform: scaleX(0); transform-origin: left;
}
#mh-announcement .mh-announcement__play-icon { display: none; }
#mh-announcement[data-paused="true"] .mh-announcement__pause-icon { display: none; }
#mh-announcement[data-paused="true"] .mh-announcement__play-icon { display: block; }
#mh-announcement .mh-announcement__sr {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
html.mh-announcement-open, body.mh-announcement-open { overflow: hidden !important; }
@media (max-height: 480px) {
    #mh-announcement .mh-announcement__panel { min-width: 180px; }
    #mh-announcement .mh-announcement__slide img { max-height: calc(100vh - 148px); max-height: calc(100dvh - 148px); object-fit: contain; }
    #mh-announcement .mh-announcement__header { padding-left: 8px; }
    #mh-announcement #mh-announcement-title { font-size: 11px; }
    #mh-announcement .mh-announcement__close span,
    #mh-announcement [data-mh-toggle-label] { display: none; }
    #mh-announcement .mh-announcement__center { gap: 0; }
    #mh-announcement .mh-announcement__controls { padding-left: 0; padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
    #mh-announcement .mh-announcement__progress span { transition: none !important; }
}

/* The legacy theme declares white button text with !important. */
#mh-announcement button, #mh-announcement button * { color: #1d4081 !important; }
