.wmk-entry-page{margin:0;min-height:100vh;display:grid;place-items:center;background:var(--wmk-ui-page,#f5f7fb);color:var(--wmk-ui-text,#182235);font-family:system-ui,sans-serif}
.wmk-entry-notice{box-sizing:border-box;width:min(600px,calc(100% - 32px));margin:32px auto;padding:clamp(24px,5vw,48px);background:var(--wmk-ui-surface,#fff);color:var(--wmk-ui-text,#182235);border:1px solid var(--wmk-ui-border,#dde3ed);border-radius:20px;font:16px/1.6 system-ui,sans-serif;overflow-wrap:anywhere}
.wmk-entry-notice h1{font-size:clamp(24px,5vw,30px);line-height:1.25;margin:12px 0 20px}
.wmk-entry-tenant{color:var(--wmk-ui-muted,#59667d);font-size:14px;margin:0}
.wmk-entry-login{margin:24px 0 32px;min-width:0}
.wmk-entry-notice nav{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}
.wmk-entry-notice nav a{padding:10px 16px;border:1px solid #4657e8;border-radius:9px;color:#3344cd;text-decoration:none;font-weight:600}
.wmk-entry-notice a:focus-visible{outline:3px solid #fb8500;outline-offset:4px}
.wmk-entry-notice nav a:hover{background:#eef0ff}
.wmk-entry-notice footer{border-top:1px solid var(--wmk-ui-border,#dde3ed);padding-top:20px;font-size:13px}
.wmk-entry-notice footer a{display:inline-flex;align-items:center;gap:6px;color:var(--wmk-ui-muted,#59667d);text-decoration:none}
.wmk-entry-notice footer img{height:1em;width:auto}
@media(prefers-color-scheme:dark){.wmk-entry-page:not(.wmk-entry-login-page){background:#111827}.wmk-entry-notice:not(.wmk-entry-login-notice){background:#182235;color:#eef2ff;border-color:#37445a}.wmk-entry-notice:not(.wmk-entry-login-notice) .wmk-entry-tenant,.wmk-entry-notice:not(.wmk-entry-login-notice) footer a{color:#bac6dc}.wmk-entry-notice:not(.wmk-entry-login-notice) nav a{color:#bac6ff;border-color:#9caaff}.wmk-entry-notice:not(.wmk-entry-login-notice) nav a:hover{background:#253252}.wmk-entry-notice:not(.wmk-entry-login-notice) footer{border-color:#37445a}}

/* Provider/theme styles load through wp_head. Keep their layout and behaviour,
   but bind login colours to the same palette as the application. */
.wmk-entry-login-notice #wmk-entry-title{color:var(--wmk-ui-text,#182235)!important}
.wmk-entry-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.wmk-entry-heading .wmk-entry-tenant{min-width:0;margin:0}
.wmk-entry-appearance{display:flex;flex:none}
.wmk-entry-login-notice .wmk-entry-login :is(label,.um-field-label,.um-field-checkbox-option,.um-field-checkbox-state,.um-field-radio-option){color:var(--wmk-ui-text,#182235)!important}
.wmk-entry-login-notice .wmk-entry-login :is(a:not(.um-button),.um-field-icon,.um-toggle-password){color:var(--wmk-ui-primary,#3344cd)!important}
.wmk-entry-login-notice .wmk-entry-login :is(input:not([type=submit]):not([type=button]):not([type=hidden]):not([type=checkbox]):not([type=radio]),textarea,select){background:var(--wmk-ui-page,#f5f7fb)!important;color:var(--wmk-ui-text,#182235)!important;border-color:var(--wmk-ui-border,#dde3ed)!important;caret-color:var(--wmk-ui-text,#182235)}
.wmk-entry-login-notice .wmk-entry-login input::placeholder{color:var(--wmk-ui-muted,#59667d)!important;opacity:1}
.wmk-entry-login-notice .wmk-entry-login :is(input[type=checkbox],input[type=radio]){accent-color:var(--wmk-ui-primary,#4657e8)}
/* Outrank UM's important interaction colours even when wp_head loads them later.
   Keep foreground/background paired; secondary actions retain their own pair. */
.wmk-entry-notice.wmk-entry-login-notice .wmk-entry-login :is(button,input[type=submit],input[type=button],a.um-button),
.wmk-entry-notice.wmk-entry-login-notice .wmk-entry-login :is(button,input[type=submit],input[type=button],a.um-button):is(:hover,:focus,:active){background:var(--wmk-ui-primary,#4657e8)!important;color:var(--wmk-ui-on-primary,#fff)!important;border-color:var(--wmk-ui-primary,#4657e8)!important}
.wmk-entry-notice.wmk-entry-login-notice .wmk-entry-login :is(a.um-button,input.um-button,button).um-alt{background:var(--wmk-ui-surface-soft,#eef0ff)!important;color:var(--wmk-ui-text,#182235)!important;border-color:var(--wmk-ui-border,#dde3ed)!important}
.wmk-entry-login-notice .wmk-entry-login :is(button,input[type=submit],a.um-button):hover{filter:brightness(.94)}
.wmk-entry-login-notice .wmk-entry-login :is(input,textarea,select,button,a):focus-visible{outline:3px solid var(--wmk-ui-focus,#4657e8)!important;outline-offset:3px}
.wmk-entry-login-notice .wmk-entry-login :is(.um-field-error,.um-notice.err){background:var(--wmk-ui-danger-bg,#fff0f1)!important;color:var(--wmk-ui-danger-text,#a21b30)!important;border-color:var(--wmk-ui-danger-border,#a21b30)!important}
.wmk-entry-login-notice .wmk-entry-login altcha-widget{--altcha-color-base:var(--wmk-ui-surface,#fff);--altcha-color-base-content:var(--wmk-ui-text,#182235);--altcha-input-background-color:var(--wmk-ui-page,#f5f7fb);--altcha-input-color:var(--wmk-ui-text,#182235);--altcha-border-color:var(--wmk-ui-border,#dde3ed);--altcha-color-neutral:var(--wmk-ui-border,#dde3ed);--altcha-checkbox-border-color:var(--wmk-ui-border,#dde3ed);--altcha-color-primary:var(--wmk-ui-primary,#4657e8);--altcha-color-primary-content:var(--wmk-ui-on-primary,#fff);--altcha-color-success:var(--wmk-ui-success-bg,#dcfce7);--altcha-color-success-content:var(--wmk-ui-success-text,#166534);max-width:100%;min-width:0}
