button,.button,.tabs a{transition:background-color .15s,box-shadow .15s,transform .1s;cursor:pointer}button:not(:disabled):hover,.tabs a:hover{box-shadow:0 2px 8px #0077c026}button:not(:disabled):active,button.ui-pressed{transform:translateY(1px);box-shadow:inset 0 2px 5px #00365a33}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #ffba00;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.55}button[aria-busy=true]{position:relative;cursor:wait;padding-right:34px!important}button[aria-busy=true]::after{content:"";position:absolute;right:12px;top:calc(50% - 7px);width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:monitor-spin .8s linear infinite}.tabs a[aria-current=page]{background:#e7f3fb;color:#005b94;border-bottom:3px solid #0077c0}#ui-feedback{position:fixed;right:18px;bottom:18px;max-width:min(440px,calc(100vw - 36px));padding:14px 18px;border-radius:10px;color:#fff;background:#005b94;box-shadow:0 4px 18px #142f4933;z-index:10000;overflow-wrap:anywhere}#ui-feedback[data-tone=error]{background:#a02b39}#ui-feedback[data-tone=success]{background:#17624a}#ui-progress{position:fixed;left:0;top:0;height:3px;width:100%;background:#ffba00;z-index:10001;animation:monitor-progress 1.5s ease-in-out infinite}dialog::backdrop{background:#142f4980}dialog input,dialog select{width:100%;box-sizing:border-box}dialog button{min-height:44px}#notice[role=status],#status[role=status]{min-height:24px}input,select,textarea{min-width:0}table{font-variant-numeric:tabular-nums}.danger{background:#a02b39!important;color:white!important}.secondary{background:#e7f0f6!important;color:#20445d!important}.empty-state{padding:30px;text-align:center;color:#637788}@keyframes monitor-spin{to{transform:rotate(360deg)}}@keyframes monitor-progress{50%{opacity:.4}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(max-width:600px){#ui-feedback{bottom:12px;right:12px;max-width:calc(100vw - 24px)}dialog{width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;margin:auto;padding:18px!important}button,input,select,textarea{min-height:44px}input,select,textarea{font-size:16px}nav{flex-wrap:wrap}}
/* Consistent page surfaces and action feedback, using IST blue and yellow. */
:root{--monitor-blue:#0077c0;--monitor-ink:#203748;--monitor-muted:#61798a;--monitor-border:#dce7ee;--monitor-yellow:#ffba00}body{max-width:1320px!important;color:var(--monitor-ink);line-height:1.5}.panel,section,.card{box-shadow:0 2px 8px #153b5710;border-radius:14px!important}header{border-radius:14px!important}.tabs,nav{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:16px 0}nav a{border-radius:8px;text-decoration:none;padding:10px 13px!important;color:#31536d}nav button{margin-left:auto}button{min-height:44px;border-radius:8px!important;font-weight:600}button[data-ui-busy=true],[role=button][data-ui-busy=true]{position:relative;cursor:wait;opacity:.7;padding-right:34px!important}button[data-ui-busy=true]::after,[role=button][data-ui-busy=true]::after{content:"";position:absolute;right:12px;top:calc(50% - 7px);width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:monitor-spin .8s linear infinite}label{line-height:1.5}input:not([type=checkbox]),select,textarea{border:1px solid #c7d9e5;border-radius:8px;padding:10px;background:white;color:#203748}input[type=checkbox]{accent-color:#0077c0}input:disabled,select:disabled{background:#edf2f6;color:#657a89}th{color:#526e81;font-weight:600;background:#f4f8fb}td,th{padding:12px!important}tbody tr:hover{background:#f8fbfd}.security-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;color:#526e81;margin:8px 0 20px;padding:9px 14px;background:#edf5fb;border:1px solid #dce7ee;border-radius:10px}.security-bar button{font-size:13px;min-height:36px;margin:0}.verification-dialog{width:440px;max-width:calc(100vw - 24px);border:1px solid #dce7ee;border-radius:14px;padding:24px;color:#203748;box-shadow:0 20px 50px #17395644}.verification-dialog label{display:block}.verification-dialog input{width:100%;margin:8px 0}.verification-error{color:#a02b39;min-height:24px}.app-header{display:flex;align-items:center;gap:20px;padding:20px;background:white;border:1px solid #dce7ee}.app-header h1{margin:0;font-size:26px}.app-header p{margin:4px 0;color:#61798a}.app-brand{width:105px;height:74px;object-fit:contain}.smtp-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;background:#f2f8fc;border:1px solid #dce7ee;padding:15px;border-radius:10px}.smtp-summary strong{display:block;color:#005b94}.smtp-summary small{display:block}.connection-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.smtp-state{border-radius:20px;padding:4px 9px;background:#e4f2eb;color:#17624a}.smtp-editor{margin-top:16px;border-top:1px solid #dce7ee;padding-top:16px}.page-hint{color:#61798a;font-size:13px}@media(max-width:600px){body{padding:12px 10px!important}.app-header{gap:12px;padding:14px}.app-header h1{font-size:21px}.app-brand{width:76px;height:54px}nav{gap:3px}nav a{padding:9px!important}nav button{margin-left:0}.security-bar{gap:8px}.connection-actions button{flex:1}.smtp-summary{align-items:flex-start}.verification-dialog{padding:18px!important}td,th{padding:9px!important}}
[hidden]{display:none!important}#state[data-tone=error]{border-left:4px solid #a02b39;padding:12px;background:#fff0f2}#state[data-tone=pending]{border-left:4px solid #ffba00;padding:12px;background:#fff8e6}#state[data-tone=ready]{border-left:4px solid #0077c0;padding:12px;background:#edf7fd}.verification-dialog .dialog-actions{display:flex;gap:10px;flex-wrap:wrap}[data-ui-busy=true]{cursor:wait}.page-hint{max-width:95ch}

/* v27.1: one static navigation, identical across every authenticated page. */
nav.monitor-nav {display:flex!important;justify-content:flex-start!important;align-items:center;gap:6px!important;flex-wrap:wrap;margin:16px 0!important;min-height:104px;visibility:hidden}
nav.monitor-nav.nav-ready {visibility:visible}
nav.monitor-nav a,nav.monitor-nav button {display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;line-height:1.25;font-family:Segoe UI,Arial,sans-serif;font-size:13px;font-weight:500;margin:0!important;border:1px solid #dce7ee;border-radius:8px!important;padding:10px 12px!important;white-space:nowrap;text-decoration:none;background:#fff;color:#31536d}
nav.monitor-nav a[aria-current=page] {background:#e7f3fb;color:#005b94;border-bottom:3px solid #0077c0}
nav.monitor-nav #nav-sign-out {margin-left:auto!important;background:#0077c0;color:#fff;font-weight:600}
nav.monitor-nav #mode-note {order:10;flex-basis:100%;margin:4px 0 0!important;text-align:right;color:#61798a;font-size:12px;min-height:18px}
nav.monitor-nav #mode-note:empty {display:block}
@media(max-width:600px){nav.monitor-nav {min-height:160px;gap:5px!important}nav.monitor-nav a,nav.monitor-nav button {font-size:12px;padding:9px 10px!important}nav.monitor-nav #mode-note {text-align:left}}

.server-header-refresh{margin-left:auto!important}

/* v27.2: natural navigation height, no empty hint row. */
nav.monitor-nav{min-height:0!important;align-content:flex-start}
nav.monitor-nav #mode-note:empty{display:none!important}

/* v27.3: render navigation before async data; stable shared header. */
header,header.app-header{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;min-height:122px;padding:20px 24px!important;gap:20px;background:white;border:1px solid #dce7ee;border-radius:14px 14px 0 0!important;margin:0!important}
header h1,header.app-header h1{font-size:26px!important;line-height:1.3;margin:0!important;letter-spacing:0;color:#0068a8}
header p,header.app-header p{font-size:13px!important;margin:6px 0 0!important;color:#61798a;line-height:1.5}
header .ist-logo,header .app-brand{width:105px!important;height:74px!important;object-fit:contain;flex-shrink:0}
header .identity{gap:20px!important}header .logo-wrap{padding-right:20px!important}
header.app-header>div{flex:1}header button{margin:0!important;min-height:44px;background:#0077c0;color:white;border:0}
.brand-accent{height:4px;background:linear-gradient(90deg,#0077c0 0%,#0077c0 84%,#ffba00 84%);border-radius:0 0 4px 4px}
nav.monitor-nav{visibility:visible!important;min-height:0!important}
.security-bar{box-sizing:border-box;min-height:56px}
nav.monitor-nav #mode-note{min-height:18px}
nav.monitor-nav #mode-note:empty{display:block!important}
@media(max-width:600px){header,header.app-header{padding:14px!important;gap:12px;min-height:106px;flex-wrap:wrap}header h1,header.app-header h1{font-size:21px!important}header .ist-logo,header .app-brand{width:76px!important;height:54px!important}header .identity{gap:12px!important}header .logo-wrap{padding-right:12px!important}}

/* v28: shared responsive controls and compact navigation. */
*,*::before,*::after{box-sizing:border-box}html{scroll-padding-top:16px}body{width:100%;padding:24px!important;margin-inline:auto!important}body,main,section,.panel,.card,.fields,.filters,.identity,.identity>div{min-width:0}
nav.monitor-nav{gap:8px!important;align-items:center}.nav-links{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0;flex:1}.nav-links:focus-visible{outline:3px solid #ffba00;outline-offset:3px;border-radius:8px}
nav.monitor-nav #mode-note{margin:0!important;font-size:12px;line-height:1.5}nav.monitor-nav #nav-sign-out{flex-shrink:0}
header .refresh-area{margin-left:auto}.app-header .app-brand{border-right:1px solid #dce7ee;padding-right:15px;width:125px!important}
.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:16px}.filters{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr))!important;align-items:end;gap:12px}
.fields input:not([type=checkbox]),.fields select,.fields textarea,.filters input,.filters select{width:100%;max-width:100%!important;font:inherit}label.check{flex-direction:row!important;align-items:center;gap:8px}input[type=checkbox]{width:20px!important;height:20px;min-height:20px!important;flex-shrink:0}
.card strong,.value{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.card small{line-height:1.6}.chart-controls{flex-wrap:wrap;gap:12px}.chart-controls label{min-width:0}.chart-scroll,.scroll{max-width:100%;overflow:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}.scroll table{width:100%}td,th{overflow-wrap:anywhere}.table-hint{font-size:12px;color:#61798a;margin:5px 0}.table-hint[hidden]{display:none!important}
pre,code{overflow-wrap:anywhere}pre{max-width:100%;white-space:pre-wrap;word-break:break-word}details{max-width:100%}summary{min-height:44px;padding-block:8px;overflow-wrap:anywhere}dialog{max-height:85vh;max-height:85dvh;overflow:auto;overscroll-behavior:contain}dialog h2{overflow-wrap:anywhere}.dialog-actions,.buttons,.pagination{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.dialog-actions button{flex:1}.security-bar{margin:8px 0 18px;gap:8px;min-height:54px}.security-bar #security-badge{flex:1;min-width:150px}.security-bar button{min-height:44px!important}#notice:empty,#status:empty{display:none}#notice,#status{overflow-wrap:anywhere}
footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;line-height:1.6}button,a,input,select,textarea{-webkit-tap-highlight-color:#0077c026}.loading-counters strong{color:#61798a!important}.empty-state{overflow-wrap:anywhere}
@media(max-width:760px){body{padding:14px 10px!important}.nav-links{flex-basis:100%;width:100%;flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;overscroll-behavior-inline:contain;scrollbar-width:thin}.nav-links a{flex-shrink:0}nav.monitor-nav #mode-note{flex-basis:auto;flex:1;order:0;text-align:left!important}nav.monitor-nav #nav-sign-out{order:1}nav.monitor-nav{margin:12px 0!important}.grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.fields,.filters{grid-template-columns:1fr!important}.panel,section{padding:16px!important}.card{padding:15px!important}input,select,textarea{font-size:16px!important;min-height:44px;max-width:100%!important}.chart-controls label{width:100%}.chart-controls select{flex:1;min-width:0}.buttons button,.pagination button{min-height:44px}.user-toolbar label{min-width:0;flex-basis:100%}.smtp-summary>div{width:100%}.smtp-summary button{width:100%}.connection-actions{gap:8px}.connection-actions button{flex:1 1 140px}dialog{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;padding:16px!important}.drill-head{align-items:flex-start;gap:10px}.drill-head h2{margin:0}.drill-head button{flex-shrink:0}.security-bar{padding:10px}.security-bar #security-badge{font-size:12px}.user-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.user-summary div{overflow-wrap:anywhere}.user-table{min-width:0!important}}
@media(max-width:600px){.mobile-records,.mobile-records tbody{display:block;width:100%;min-width:0!important}.mobile-records thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.mobile-records tr[data-mobile-record]{display:block;border:1px solid #dce7ee;border-radius:9px;margin-bottom:12px;padding:10px;background:#fff}.mobile-records tr[data-mobile-record] td{display:block;width:100%;border:0!important;padding:6px 2px!important;white-space:normal!important}.mobile-records tr[data-mobile-record] td::before{content:attr(data-label);display:block;font-weight:600;color:#526e81;margin-bottom:3px}.mobile-records tr:not([data-mobile-record]){display:block}.mobile-records td[colspan]{display:block;border:0!important;white-space:normal}.mobile-records .rule-actions{display:flex;gap:8px}.mobile-records .rule-actions button{flex:1}.scroll:has(.mobile-records){overflow:visible}.table-hint.cards-hint{display:none!important}}
@media(max-width:380px){.grid{grid-template-columns:1fr!important}.security-bar #security-badge{flex-basis:100%}header h1,header.app-header h1{font-size:19px!important}.app-header .app-brand{width:86px!important}.pagination{justify-content:flex-start!important}.pagination label{flex-basis:100%}.user-summary strong{font-size:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
nav.monitor-nav [hidden]{display:none!important}
.table-hint{display:none}
@media(max-width:760px){.table-hint{display:block}}

.engine-active{border:2px solid #17624a!important}.engine-active .status-badge{font-size:13px;background:#e4f2eb;color:#17624a;padding:4px 9px;border-radius:20px}.engine-actions{display:flex;flex-wrap:wrap;gap:8px}.engine-actions button{margin:0!important}.action-reasons{margin-top:12px;font-size:12px;color:#61798a}.action-reasons p{margin:5px 0}.form-action-note{font-size:12px;color:#61798a;margin:8px 0;min-height:18px}@media(max-width:600px){.engine-actions button{flex:1 1 120px}}

/* Contextual help: native disclosure, keyboard and touch; important states remain visible. */
.context-help{margin:10px 0;color:#526c7f;font-size:14px;max-width:100%}.context-help>summary{display:inline-flex;align-items:center;gap:8px;list-style:none;cursor:pointer;min-height:44px;padding:0 4px;max-width:100%;border-radius:6px}.context-help>summary::-webkit-details-marker{display:none}.context-help>summary:focus-visible{outline:3px solid #ffba00;outline-offset:3px}.context-icon{display:inline-flex;align-items:center;justify-content:center;color:#0077c0;font-size:20px;flex-shrink:0}.context-copy{display:none;background:#edf4f9;border-left:3px solid #0077c0;border-radius:6px;padding:12px 16px;margin:4px 0 8px;line-height:1.6;overflow-wrap:anywhere;color:#243647}.context-help[open]>.context-copy{display:block}.context-copy p{margin:6px 0}@media(hover:hover) and (pointer:fine){.context-help:hover>.context-copy{display:block}}@media(max-width:640px){.context-copy{padding:12px}.context-help>summary{width:auto}}

/* Compact information control; one CSS circle, independent of font glyph shape. */
h2:has(+ .context-help){display:inline-block;vertical-align:middle;margin-right:4px}.context-help{display:inline-block;vertical-align:middle;margin:0 0 0 4px;position:relative;color:#0077c0}.context-help>summary{display:flex!important;align-items:center;justify-content:center;width:44px!important;height:44px;min-height:44px;padding:0!important;box-sizing:border-box}.context-icon{display:flex;width:18px;height:18px;flex:0 0 18px;align-items:center;justify-content:center;border:1.5px solid #0077c0;border-radius:50%;font-family:Georgia,serif;font-size:13px;font-style:normal;font-weight:bold;line-height:1;box-sizing:border-box}.context-copy{position:absolute;z-index:20;left:0;top:44px;width:min(320px,calc(100vw - 70px));box-sizing:border-box;margin:0;padding:14px;background:white;border:1px solid #ccdce7;border-radius:9px;box-shadow:0 8px 24px #24364726;color:#243647;font-size:14px;text-align:left;font-weight:normal;max-height:50vh;overflow:auto}.context-help[open]>.context-copy{display:block}.context-counter-help{display:flex;align-items:center;gap:4px;color:#637788;font-size:13px}.context-help>summary:hover .context-icon,.context-help[open] .context-icon{background:#e7f3fb}@media(max-width:640px){.context-help{position:static}.context-copy{position:fixed;left:16px;right:16px;top:auto;bottom:20px;width:auto;max-height:50vh;z-index:50}.context-help>summary{width:44px!important}}

/* Uniform brand header and page subtitle across authenticated pages. */
header.monitor-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important}.monitor-header .identity{display:flex;align-items:center;gap:20px;min-width:0;flex:1}.monitor-header .logo-wrap{display:flex;align-items:center;flex-shrink:0;border-right:1px solid #dce7ee;padding-right:20px!important}.monitor-header .ist-logo{display:block;width:105px!important;height:74px!important;object-fit:contain}.monitor-header .header-copy{min-width:0}.monitor-header .page-subtitle{margin:6px 0 0!important;font-size:13px!important;line-height:1.5!important;color:#61798a!important}.monitor-header .refresh-area{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-left:auto;flex-shrink:0}.monitor-header .refresh-area small{font-size:12px;color:#61798a}.monitor-header button{margin:0!important}@media(max-width:600px){header.monitor-header{gap:12px!important}.monitor-header .identity{gap:12px!important}.monitor-header .logo-wrap{padding-right:12px!important}.monitor-header .ist-logo{width:76px!important;height:54px!important}.monitor-header .refresh-area{flex-wrap:wrap;max-width:100%;gap:8px}.monitor-header .refresh-area small{overflow-wrap:anywhere}}@media(max-width:380px){.monitor-header .refresh-area{flex-basis:100%;justify-content:flex-end}.monitor-header .identity{width:100%}}

/* Prevent expanded event payloads from squeezing metadata columns. */
.event-table{table-layout:fixed;width:100%;min-width:1100px!important}.event-table .event-time{width:16%}.event-table .event-identity{width:17%}.event-table .event-type{width:18%}.event-table .event-status{width:11%}.event-table .event-detail{width:38%}.event-table th,.event-table td{word-break:normal;overflow-wrap:break-word;vertical-align:top}.event-table th{white-space:normal!important;overflow-wrap:normal}.event-table td:first-child{white-space:nowrap}.event-table td:nth-child(4),.event-table .status-pill{white-space:nowrap!important;word-break:normal;overflow-wrap:normal}.event-table td:nth-child(5){white-space:normal}.event-table details{width:100%;max-width:100%;min-width:0}.event-table details>summary{white-space:nowrap}.event-table details p{overflow-wrap:anywhere;word-break:normal}.event-table pre{display:block;width:100%;max-width:100%;max-height:360px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;box-sizing:border-box}.scroll:has(>.event-table){max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}

/* One help appearance for legacy and current screens; existing IST tokens retained. */
[data-monitor-help]{display:inline-flex!important;position:relative;vertical-align:middle;margin:0 0 0 3px!important;max-width:100%}
[data-monitor-help]>summary,[data-monitor-help]>button{display:inline-flex!important;align-items:center;justify-content:center;list-style:none;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;margin:0!important;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--brand,#0077c0)!important;cursor:pointer;box-shadow:none!important;vertical-align:middle}
[data-monitor-help]>summary::-webkit-details-marker{display:none}
[data-monitor-help] .context-icon,.monitor-help-icon{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 18px;width:18px;height:18px;border:1.5px solid currentColor;border-radius:50%;font:700 13px/1 Georgia,serif;color:inherit}
[data-monitor-help]>summary:hover,[data-monitor-help]>button:hover,[data-monitor-help]>[aria-expanded=true]{background:var(--tealsoft,#e8f3fb)!important}
[data-monitor-help]>summary:focus-visible,[data-monitor-help]>button:focus-visible{outline:3px solid var(--gold,#ffba00)!important;outline-offset:2px}
[data-monitor-help-panel]{display:none!important;position:fixed!important;z-index:1000!important;box-sizing:border-box;width:360px;margin:0!important;padding:14px 16px!important;border:1px solid var(--line,#dfe7ef)!important;border-left:3px solid var(--brand,#0077c0)!important;border-radius:10px!important;background:var(--surface,#fff)!important;color:var(--ink,#17354d)!important;box-shadow:0 8px 30px #17354d26!important;font:400 13px/1.65 'Segoe UI',Arial,sans-serif!important;text-align:start;white-space:normal;overflow:auto;overflow-wrap:anywhere}
[data-monitor-help-panel][data-help-open=true]:not([hidden]){display:block!important}
[data-monitor-help-panel][hidden]{display:none!important}
[data-monitor-help-panel] p{margin:0 0 8px;line-height:inherit}
@media(prefers-reduced-motion:reduce){#ui-progress,button::after{animation:none!important}button.ui-pressed{transform:none!important}}

button:disabled{cursor:not-allowed!important}button[aria-busy=true],button[data-ui-busy=true]{cursor:wait!important}

/* v49.1: keep Knowledge heading/help together and compact secondary rows. */
#k-content .k-panel>h2:has(+.monitor-help){display:inline-block!important;vertical-align:middle;max-width:calc(100% - 56px);margin:0!important;line-height:1.4}
#k-content .k-panel>h2+.monitor-help{vertical-align:middle;margin:0 0 0 4px!important}
#k-content .k-panel>p{margin:8px 0;line-height:1.55}
#k-content .k-panel>p.k-meta{margin:3px 0}
