.mf381-logout-form { display: block; margin: 0; padding: 0; width: 100%; }
.mf381-logout { display: flex; align-items: center; gap: .65rem; width: 100%; min-height: 44px; padding: .7rem .85rem; border: 0; border-radius: 11px; background: transparent; color: #ba452e; font: inherit; font-weight: 650; text-align: left; cursor: pointer; }
.mf381-logout svg { flex: 0 0 21px; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mf381-logout:hover { background: #fff0e9; }
.mf381-logout:focus-visible, .mf381-button:focus-visible, .mf381-inspect:focus-visible { outline: 3px solid #ffc93d; outline-offset: 3px; }
.mf381-warning, .mf381-blocked-notice { position: fixed; left: 50%; bottom: 24px; z-index: 9900; width: min(440px, calc(100% - 32px)); box-sizing: border-box; transform: translateX(-50%); border: 1px solid #ecbea8; border-radius: 20px; padding: 18px 20px; background: #fffaf2; color: #263c49; box-shadow: 0 14px 48px #243b4924; font: 15px/1.55 system-ui, sans-serif; }
.mf381-warning[hidden], .mf381-overlay[hidden], .mf381-blocked-notice[hidden] { display: none !important; }
.mf381-warning-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mf381-warning strong, .mf381-blocked-notice strong { font-size: 17px; color: #9c382b; }
.mf381-warning p, .mf381-blocked-notice p { margin: 8px 0 14px; }
.mf381-countdown { color: #9c382b; font-variant-numeric: tabular-nums; font-weight: 700; }
.mf381-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; gap: 8px; box-sizing: border-box; border: 1px solid #0870a9; border-radius: 12px; padding: 10px 15px; background: #0870a9; color: #fff; font: inherit; font-weight: 650; line-height: 1.35; text-decoration: none; cursor: pointer; }
.mf381-button:hover { background: #075b8b; border-color: #075b8b; color: #fff; }
.mf381-button[hidden] { display: none !important; }
.mf381-button:disabled { opacity: .7; cursor: wait; }
.mf381-stay { width: 100%; }
.mf381-secondary { color: #24506a; background: #fff; border-color: #b9d5e5; }
.mf381-secondary:hover { color: #24506a; background: #edf7fc; border-color: #83b8d5; }
.mf381-overlay { position: fixed; inset: 0; display: flex; justify-content: center; align-items: center; overflow-y: auto; padding: 20px; box-sizing: border-box; z-index: 10000; background: #152c3ac2; backdrop-filter: blur(5px); }
.mf381-dialog { width: min(560px, 100%); box-sizing: border-box; border: 1px solid #d8e5e9; border-radius: 24px; padding: clamp(22px, 4vw, 34px); background: #fffefb; color: #263c49; box-shadow: 0 24px 80px #07182266; font: 16px/1.6 system-ui, sans-serif; }
.mf381-dialog h2 { margin: 0 0 12px; color: #243c4b; font: 750 clamp(23px, 4vw, 29px)/1.25 system-ui, sans-serif; }
.mf381-dialog h2:focus { outline: none; }
.mf381-dialog p { margin: 0 0 18px; }
.mf381-dialog .mf381-draft-note { padding: 14px 16px; border-left: 3px solid #e6b739; border-radius: 0 12px 12px 0; background: #fff5d8; color: #5b4a2d; font-size: 14px; }
.mf381-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mf381-dialog-actions .mf381-button { flex: 1 1 145px; }
.mf381-inspect { min-height: 44px; margin-top: 14px; padding: 8px 0; border: 0; background: transparent; color: #30617b; font: inherit; font-size: 14px; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mf381-session-blocked { overflow: hidden; }
.mf381-login-notice { width: min(700px, calc(100% - 32px)); box-sizing: border-box; margin: 18px auto; border: 1px solid #efcfaa; border-radius: 13px; padding: 13px 17px; background: #fff7e7; color: #694a29; font: 15px/1.5 system-ui, sans-serif; }
@media (max-width: 760px) {
  .mf381-warning, .mf381-blocked-notice { bottom: calc(90px + env(safe-area-inset-bottom, 0px)); padding: 15px 17px; font-size: 14px; }
  .mf381-overlay { padding: 14px; }
  .mf381-dialog { border-radius: 19px; }
}
@media (max-height: 500px) { .mf381-overlay { align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { .mf381-overlay { backdrop-filter: none; } }
