:root{--alator-page-width:1184px;--alator-teal:#1ba4aa;--alator-teal-dark:#168f94;--alator-logo-bg:#e5f0f9;--alator-pale:#e6f1f8;--alator-blue:#c9ddec;--alator-line:#b6d2e5;--alator-text:#2f3745;--alator-link:#075995;--alator-font:Arial,Helvetica,sans-serif}*{box-sizing:border-box}body{margin:0;background:#f5f7fb;color:var(--alator-text);font:14px/1.45 var(--alator-font)}.alator-page{max-width:var(--alator-page-width);margin:18px auto;background:#fff;border:1px solid #dde6ee;border-radius:8px;padding:12px}.alator-header{height:86px;background:linear-gradient(180deg,var(--alator-teal),var(--alator-teal-dark));border-radius:6px;display:flex;align-items:center;padding:12px;gap:16px}.alator-logo-box{height:68px;min-width:162px;background:var(--alator-logo-bg);border-radius:6px;display:flex;align-items:center;justify-content:center;gap:7px;color:#28345f;font-weight:700;font-size:24px;letter-spacing:1px;text-shadow:1px 1px 2px #fff}.alator-logo-mark{font-size:28px;color:#78899b}.alator-search{margin-left:auto;display:flex}.alator-search input{height:26px;border:1px solid #d1d9e3;border-radius:4px 0 0 4px;padding:4px 8px}.alator-search button{height:26px;border:1px solid #d1d9e3;background:#f1f3f5}.alator-topnav,.alator-subnav,.alator-footer{background:var(--alator-blue);border-radius:0 0 6px 6px;border-top:1px solid #fff;display:flex;gap:10px;align-items:center;padding:8px 10px}.alator-subnav{border-radius:6px}.alator-topnav a,.alator-subnav a,.alator-footer a{color:var(--alator-link);font-weight:700;text-decoration:none}.alator-spacer,.alator-footer span:first-of-type{flex:1}.alator-content{padding:16px 0}h1{font-size:24px;font-weight:400;margin:0 0 10px}h2{font-size:16px;text-transform:uppercase;color:#075995;margin:0 0 10px;border-bottom:1px solid var(--alator-line);padding-bottom:6px}.alator-panel{background:var(--alator-pale);border:1px solid var(--alator-line);border-radius:6px;margin:10px 0;padding:12px}.alator-table{width:100%;border-collapse:collapse;background:#f7fbff}.alator-table th{background:var(--alator-teal);color:white;text-align:left;padding:9px}.alator-table td{border:1px solid var(--alator-line);padding:8px}.alator-login-panel{max-width:460px}.alator-login-panel label{display:block;margin:0 0 12px;font-weight:700}.alator-login-panel input{width:100%;padding:8px;border:1px solid #b9cbd8;border-radius:4px}.alator-login-panel button,.alator-button{padding:7px 14px;border:1px solid #444;background:#fff;border-radius:2px;font-weight:700;cursor:pointer}.alator-error{background:#ffe8e8;border:1px solid #d99;color:#8a1f1f;padding:8px;border-radius:4px;margin-bottom:12px}.alator-footer{margin-top:12px}.alator-admin-link{text-align:center;color:#075995;font-weight:700;font-size:12px;padding:12px}@media (max-width:700px){.alator-page{margin:0;border-radius:0}.alator-header{height:auto;flex-wrap:wrap}.alator-search{width:100%;margin-left:0}.alator-search input{flex:1}.alator-topnav{flex-wrap:wrap}.alator-logo-box{width:100%}}
.alator-wide-table{font-size:13px}.alator-wide-table th,.alator-wide-table td{vertical-align:top}@media (max-width:900px){.alator-wide-table{display:block;overflow-x:auto;white-space:nowrap}}

/* Portal: source-matched Login/Registration visual transfer helpers. */
.alator-logo-image-box{justify-content:flex-start;padding:8px 10px;min-width:162px;width:162px;background:#e5f0f9}
.alator-logo-image-box img{width:140px;height:48px;object-fit:contain;display:block}
.alator-source-panel{background:#ecf3f7;border-radius:6px;margin:10px 0;padding:12px;color:#2f3745;border:0}
.alator-source-panel h2{font-size:15px;color:#075995;text-transform:uppercase;border-bottom:1px solid #c3cbd1;margin-bottom:10px;padding-bottom:7px}
.alator-agreement-panel p{font-size:16px;line-height:1.38;margin:0 0 16px}
.alator-source-submit-panel{background:#ecf3f7;border-radius:6px;margin:4px 0 10px;padding:12px;text-align:center}
.alator-source-submit-panel button{font-weight:700;font-size:12px;border:1px solid #444;background:#fff;padding:4px 8px;margin:0 2px;cursor:pointer}
.alator-registration-panel{padding:12px 10px}.alator-fields2{border:0;margin:0;padding:0}.alator-fields2 dl{display:grid;grid-template-columns:160px 1fr;gap:12px;align-items:start;margin:0 0 10px}.alator-fields2 dt{font-weight:700;font-size:12px;color:#2f4054}.alator-fields2 dt span{font-weight:400;color:#333;font-size:12px}.alator-fields2 dd{margin:0}.alator-fields2 input,.alator-fields2 select,.alator-fields2 textarea{border:1px solid #aebdca;background:#fff;color:#333;font:13px Arial,Helvetica,sans-serif;padding:3px;max-width:100%}.alator-fields2 input{width:170px}.alator-fields2 select{min-width:70px}.alator-fields2 .alator-wide-input{width:260px}.alator-fields2 .alator-large-textarea{width:820px;max-width:100%;height:82px}.alator-retainer-note dd{font-size:12px}.alator-fields2 hr{border:0;border-top:1px solid #c8d2dc;margin:12px 0}.alator-success{background:#e8fff0;border:1px solid #86c89b;color:#205b31;padding:8px;border-radius:4px;margin-bottom:12px}@media(max-width:800px){.alator-fields2 dl{display:block}.alator-fields2 dt{margin-bottom:4px}.alator-fields2 input,.alator-fields2 .alator-wide-input,.alator-fields2 .alator-large-textarea{width:100%}}


/* Portal: full-admin review shell usability and table containment. */
.alator-topnav{
    gap:0;
    align-items:stretch;
    padding:0 6px;
    flex-wrap:wrap;
    overflow:visible;
}
.alator-topnav a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:5px 7px;
    font-size:12px;
    line-height:1.15;
    text-align:center;
    white-space:normal;
}
.alator-topnav .alator-spacer{flex:1 1 12px;min-width:8px;}
.alator-panel{overflow-x:auto;}
.alator-panel .alator-table{max-width:100%;}
.alator-table th,.alator-table td{word-break:normal;overflow-wrap:anywhere;}
.alator-wide-table{min-width:max-content;}
.alator-wide-table th,.alator-wide-table td{white-space:normal;}
@media (max-width:1184px){
    .alator-topnav a{font-size:11px;padding:5px 6px;}
}


/* Portal: active workflow forms and safer runtime table wrapping. */
.alator-form label{display:block;margin:0 0 10px;font-weight:700}.alator-form input[type="text"],.alator-form select,.alator-form textarea{width:100%;max-width:760px;border:1px solid #aebdca;background:#fff;color:#333;font:13px Arial,Helvetica,sans-serif;padding:6px}.alator-form textarea{min-height:110px}.alator-form button{font-weight:700;border:1px solid #444;background:#fff;padding:6px 12px;cursor:pointer}.alator-alert{padding:9px 11px;border-radius:4px;margin:10px 0}.alator-alert-error{background:#ffe8e8;border:1px solid #d99;color:#8a1f1f}.alator-alert-success{background:#e8fff0;border:1px solid #86c89b;color:#205b31}.alator-table-wrap{max-width:100%;overflow-x:auto}.alator-message-card h3{text-transform:none;border:0;color:#2f3745;font-size:15px;margin:0 0 6px}.alator-message-card{background:#f7fbff}

/* Portal v01: visual parity foundation for portal Client Portal.
   Scope: shared shell, dropdown navigation, manager table containment, icons/smilies assets.
   No runtime workflow logic is changed. */
:root{
    --alator-page-width:1184px;
    --alator-bg:#eef2f6;
    --alator-panel-bg:#e5f0f6;
    --alator-row-bg:#f5f9fc;
    --alator-border:#b7d2e4;
    --alator-header:#1ba4aa;
    --alator-header-dark:#178e93;
    --alator-link:#075995;
    --alator-text:#2f3745;
}
html{background:var(--alator-bg);}body{background:var(--alator-bg);font-size:12px;line-height:1.38;color:var(--alator-text);}
.alator-shell-parity{max-width:1184px;margin:18px auto 28px;background:#fff;border:1px solid #d5e0ea;border-radius:7px;padding:12px;box-shadow:none;}
.alator-header{height:92px;border-radius:5px;background:#1ba4aa;background-image:linear-gradient(to bottom,#6fd5d9 0%,#178e93 2px,#1ba4aa 92px,#1ba4aa 100%)!important;padding:0;}
.alator-header-inner{display:flex;align-items:center;width:100%;height:100%;padding:12px;}
.alator-logo-box,.alator-logo-image-box{width:162px;min-width:162px;height:68px;margin:4px 12px 4px 0;background:#e5f0f9!important;border-radius:6px!important;padding:8px 10px!important;display:flex;align-items:center;justify-content:center;}
.alator-logo-image-box img{width:140px;height:48px;object-fit:contain;display:block;}
.alator-search{margin-left:auto;display:flex;align-items:center;}
.alator-search fieldset{border:0;margin:0;padding:0;display:flex;align-items:center;}
.alator-search input{height:26px;width:225px;border:1px solid #c7d2dc;border-right:0;border-radius:3px 0 0 3px;background:#fff;padding:3px 8px;font-size:13px;}
.alator-search button{height:26px;min-width:25px;border:1px solid #c7d2dc;background:#f8fafc;border-radius:0;padding:0 6px;font-size:12px;line-height:1;}
.navbar.alator-topnav,.navbar.alator-subnav,.navbar.alator-footer{background:#caddec;border-radius:0 0 5px 5px;border-top:1px solid #fff;display:block;margin:0;padding:0;}
.alator-topnav .inner,.alator-subnav .inner{padding:0 8px;}
.alator-topnav ul.linklist{list-style:none;margin:0;padding:0;min-height:34px;display:flex;align-items:center;gap:0;flex-wrap:wrap;}
.alator-topnav li{position:relative;margin:0 3px 0 0;padding:0;}
.alator-topnav li.rightside{margin-left:auto;margin-right:0;}
.alator-topnav li.rightside ~ li.rightside{margin-left:0;}
.alator-tools-menu{position:relative;display:inline-block;}
.alator-manager-subnav .alator-tools-toggle{display:inline-flex;min-height:28px;padding:4px 7px;}
.alator-admin-manager-row .alator-tools-dropdown{top:28px;}
.alator-topnav a,.alator-tools-toggle{display:flex;align-items:center;gap:4px;min-height:30px;padding:5px 7px;color:var(--alator-link);font-weight:700;text-decoration:none;font-size:12px;line-height:1.15;background:transparent;border:0;font-family:Arial,Helvetica,sans-serif;cursor:pointer;}
.alator-topnav a:hover,.alator-tools-toggle:hover{background:#e5f0f9;text-decoration:none;border-radius:3px;}
.alator-icon{display:inline-block;min-width:15px;text-align:center;font-weight:700;}
.alator-tools-dropdown{display:none;position:absolute;top:30px;left:0;z-index:5000;min-width:270px;background:#fff;border:1px solid #a9b8c2;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.18);padding:7px 0;list-style:none;margin:0;}
.alator-tools-menu:hover .alator-tools-dropdown,.alator-tools-menu:focus-within .alator-tools-dropdown,.alator-tools-menu.is-open .alator-tools-dropdown{display:block;}
.alator-tools-dropdown li{display:block;float:none;margin:0;padding:0;border-bottom:1px dotted #d4dde5;}
.alator-tools-dropdown li:last-child{border-bottom:0;}
.alator-tools-dropdown a{display:flex;justify-content:flex-start;min-height:0;padding:6px 10px;white-space:nowrap;color:var(--alator-link);font-weight:400;font-size:12px;text-align:left;}
.alator-tools-dropdown a:hover{background:#e5f0f9;}
.alator-dropdown-section{font-size:11px;font-weight:700;text-transform:uppercase;color:#536878;background:#eef5fa;padding:6px 10px!important;}
.alator-subnav{margin-top:1px;border-radius:4px;min-height:28px;}
.alator-subnav a,.alator-subnav .crumb a{display:inline-flex;align-items:center;min-height:28px;color:var(--alator-link);font-weight:700;text-decoration:none;font-size:12px;}
.alator-noticebar{margin-top:1px;}
.alator-content{padding:16px 0 0;}
h1{font-size:22px;font-weight:400;margin:0 0 12px;color:#2f3745;}
h2{font-size:14px;color:#075995;text-transform:uppercase;border-bottom:1px solid var(--alator-border);padding:0 0 6px;margin:0 0 10px;font-weight:700;}
.alator-panel{background:#e5f0f6;border:1px solid #b7d2e4;border-radius:5px;margin:10px 0;padding:12px;overflow-x:auto;}
.alator-panel p{margin:0 0 10px;}.alator-panel p:last-child{margin-bottom:0;}
.alator-table{width:100%;border-collapse:collapse;background:#f7fbff;font-size:12px;table-layout:auto;}
.alator-table th{background:#1ba4aa;color:#fff;text-align:left;padding:8px 9px;border:1px solid #1ba4aa;font-weight:700;white-space:normal;}
.alator-table td{border:1px solid #b7d2e4;padding:7px 8px;background:#f7fbff;vertical-align:top;overflow-wrap:anywhere;word-break:normal;}
.alator-table tr:nth-child(even) td{background:#f1f7fb;}
.alator-panel > .alator-table{display:block;max-width:100%;overflow-x:auto;}
.alator-panel > .alator-table thead,.alator-panel > .alator-table tbody,.alator-panel > .alator-table tr{width:100%;}
.alator-wide-table{font-size:11px;min-width:100%;}
.alator-wide-table th,.alator-wide-table td{padding:6px 7px;}
.alator-form input[type="text"],.alator-form select,.alator-form textarea,.alator-login-panel input,.alator-fields2 input,.alator-fields2 select,.alator-fields2 textarea{border:1px solid #aebdca;background:#fff;color:#333;font:12px Arial,Helvetica,sans-serif;}
.alator-form button,.alator-login-panel button,.alator-button,.alator-source-submit-panel button{border:1px solid #444;background:#fff;color:#000;font-weight:700;border-radius:0;padding:4px 9px;font-size:12px;}
.alator-footer{margin-top:24px;display:flex;gap:10px;align-items:center;min-height:28px;padding:0 8px;font-size:12px;}
.alator-footer a{color:var(--alator-link);font-weight:700;text-decoration:none;}.alator-footer span:first-of-type{flex:1;}.alator-admin-link{text-align:center;color:#075995;font-weight:700;font-size:12px;padding:12px 0 4px;}
.alator-message-card{background:#f7fbff;border:1px solid var(--alator-border);border-radius:4px;margin:8px 0;padding:10px;}
.alator-message-card h3{font-size:14px;font-weight:700;color:#2f3745;margin:0 0 6px;}
.alator-smilie-strip{display:flex;gap:4px;align-items:center;flex-wrap:wrap;margin:6px 0;}.alator-smilie-strip img{width:auto;height:auto;vertical-align:middle;}
@media (max-width:900px){.alator-shell-parity{margin:0;border-radius:0}.alator-header{height:auto}.alator-header-inner{flex-wrap:wrap}.alator-search{width:100%;margin:8px 0 0}.alator-search input{width:100%;flex:1}.alator-topnav ul.linklist{display:block}.alator-topnav li,.alator-topnav li.rightside{margin:0}.alator-tools-menu{position:relative;display:inline-block;}
.alator-manager-subnav .alator-tools-toggle{display:inline-flex;min-height:28px;padding:4px 7px;}
.alator-admin-manager-row .alator-tools-dropdown{top:28px;}
.alator-topnav a,.alator-tools-toggle{justify-content:flex-start}.alator-tools-dropdown{position:static;box-shadow:none;width:100%;}.alator-logo-box{width:162px}.alator-footer{flex-wrap:wrap}}


/* Portal v03: Text Editor visual parity foundation for portal posts, replies, and private messages. */
.alator-editor{border:1px solid #6f8797;background:#dcebf3;border-radius:4px;margin:6px 0 10px;padding:8px;position:relative;max-width:100%;}
.alator-editor-title{font-weight:700;color:#075995;margin:0 0 6px;font-size:12px;}
.alator-editor-toolbar{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:0 0 6px;}
.alator-editor-toolbar button,.alator-editor-toolbar select{height:28px;min-width:30px;border:1px solid #6f8797;background:#cfe0ec;color:#0b3f66;border-radius:3px;font:700 13px Arial,Helvetica,sans-serif;padding:3px 7px;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.55);}
.alator-editor-toolbar select{font-weight:400;min-width:72px;padding:3px 4px;}
.alator-editor-toolbar button:hover,.alator-editor-toolbar select:hover{background:#e6f1f8;}
.alator-editor-swatch{display:block;width:24px;height:22px;background:#000;border:1px solid #333;}
.alator-editor textarea.alator-editor-textarea{width:100%;max-width:none!important;min-height:170px;border:1px solid #7f95a4;background:#fff;font:13px Arial,Helvetica,sans-serif;padding:7px;resize:vertical;}
.alator-editor-note{font-size:11px;color:#536878;margin:4px 0 0;}
.alator-editor-modal{position:fixed;inset:0;background:rgba(0,0,0,.36);z-index:9999;display:flex;align-items:center;justify-content:center;}
.alator-editor-modal[hidden]{display:none!important;}
.alator-editor-modal-box{position:relative;background:#eef8ff;border:1px solid #7db8d8;border-radius:5px;box-shadow:0 2px 12px rgba(0,0,0,.35);padding:14px 42px 12px 14px;min-width:440px;max-width:90vw;}
.alator-editor-close{position:absolute;right:10px;top:9px;width:28px;height:26px;border:1px solid #9fc5dd;background:#fff;border-radius:4px;color:#075995;font-weight:700;cursor:pointer;}
.alator-editor-grid{display:grid;grid-template-columns:repeat(10,36px);gap:7px;margin-top:12px;}
.alator-editor-grid button{width:36px;height:36px;border:1px solid #8cbfdd;background:#fff;border-radius:4px;font-size:20px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.alator-editor-grid button:hover{background:#dff1fb;outline:1px solid #49a6d0;}
@media(max-width:600px){.alator-editor-modal-box{min-width:0;width:94vw}.alator-editor-grid{grid-template-columns:repeat(6,36px)}}

/* Portal v01: Login/Registration visual parity repair */
body.alator-guest-page .alator-page,
body.alator-guest-page #wrap {
    max-width: 1420px;
}
body.alator-guest-page .alator-header {
    min-height: 92px;
}
body.alator-guest-page .alator-header .alator-logo-box img {
    max-height: 72px;
}
body.alator-guest-page .alator-mainnav .nav-main {
    min-height: 28px;
}
body.alator-guest-page .alator-mainnav .nav-main > li:not(.rightside) {
    display: none !important;
}
body.alator-guest-page .alator-mainnav .nav-main > li.rightside {
    float: right;
    display: inline-block;
}
body.alator-guest-page .alator-mainnav a,
body.alator-guest-page .alator-subnav a,
body.alator-guest-page .alator-footer a,
.alator-plain-link {
    color: #00508f;
    text-decoration: none !important;
    font-weight: 600;
}
body.alator-guest-page .alator-mainnav a:hover,
body.alator-guest-page .alator-subnav a:hover,
body.alator-guest-page .alator-footer a:hover,
.alator-plain-link:hover {
    color: #0b6fae;
    text-decoration: none !important;
}
body.alator-guest-page .alator-footer {
    align-items: center;
}
body.alator-guest-page .alator-footer span:first-of-type {
    flex: 1 1 auto;
}
.alator-login-source-panel .content h2.login-title,
.alator-registration-panel h1,
.alator-agreement-panel h1 {
    color: #00508f;
    font-size: 1.25em;
    font-weight: 400;
    border-bottom: 1px solid #b8c7d1;
    padding-bottom: 8px;
    margin: 0 0 12px 0;
}
.alator-login-fieldset {
    border: 0;
    padding: 18px 14px;
    margin: 0;
}

.alator-password-reset-email-row dt {
    line-height: 1.25;
}
.alator-login-explain {
    display: block;
    max-width: 420px;
    font-size: 12px;
    font-weight: 400;
    color: #333;
    margin-top: 3px;
}
.alator-password-reset-email-row {
    grid-template-columns: 430px minmax(220px, 1fr) !important;
}

.alator-login-fieldset dl {
    display: grid;
    grid-template-columns: 130px minmax(220px, 1fr);
    align-items: center;
    gap: 8px;
    margin: 0 0 10px 0;
}
.alator-login-fieldset dt,
.alator-login-fieldset dd {
    margin: 0;
}
.alator-login-fieldset input[type="text"],
.alator-login-fieldset input[type="password"],
.alator-login-fieldset input[type="email"] {
    max-width: 260px;
}
.alator-client-account-panel h3,
.alator-agreement-panel h2 {
    color: #00508f;
    text-transform: uppercase;
    font-size: 1.05em;
    margin-top: 0;
    border-bottom: 1px solid #b8c7d1;
    padding-bottom: 6px;
}
.alator-client-account-panel hr.dashed {
    border: 0;
    border-top: 1px dashed #b8c7d1;
}
.alator-registration-panel .alator-fields2 dl,
.alator-registration-panel .fields2 dl {
    display: grid;
    grid-template-columns: 185px minmax(260px, 1fr);
    gap: 10px;
    align-items: start;
    margin: 0 0 10px 0;
}
.alator-registration-panel .alator-fields2 dl.alator-register-required-note,
.alator-registration-panel .fields2 dl.alator-register-required-note,
.alator-registration-panel .alator-fields2 dl.alator-retainer-note,
.alator-registration-panel .fields2 dl.alator-retainer-note {
    grid-template-columns: 185px minmax(260px, 1fr);
}
.alator-registration-panel .alator-register-required-note dd,
.alator-registration-panel .alator-retainer-note dd {
    grid-column: 2;
}
.alator-registration-panel dt,
.alator-registration-panel dd {
    margin: 0;
}
.alator-registration-panel textarea.alator-large-textarea {
    width: min(880px, 100%);
}
.alator-registration-panel input[type="text"],
.alator-registration-panel input[type="password"],
.alator-registration-panel input[type="email"],
.alator-registration-panel input[type="url"],
.alator-registration-panel select {
    max-width: 360px;
}
.alator-registration-panel input.alator-wide-input {
    max-width: 480px;
}
.alator-source-submit-panel {
    text-align: center;
}
.alator-policy-links a {
    text-decoration: none !important;
    color: #00508f;
    font-weight: 600;
}
@media (max-width: 800px) {
    .alator-login-fieldset dl,
    .alator-registration-panel .alator-fields2 dl,
    .alator-registration-panel .fields2 dl,
    .alator-registration-panel .alator-fields2 dl.alator-register-required-note,
    .alator-registration-panel .fields2 dl.alator-register-required-note,
    .alator-registration-panel .alator-fields2 dl.alator-retainer-note,
    .alator-registration-panel .fields2 dl.alator-retainer-note {
        display: block;
    }
    .alator-registration-panel .alator-register-required-note dd,
    .alator-registration-panel .alator-retainer-note dd {
        grid-column: auto;
    }
}


/* Portal v02: login/registration parity repair follow-up */
body.alator-guest-page .alator-page,
body.alator-guest-page #wrap {
    max-width: var(--alator-page-width);
}
body.alator-guest-page .alator-mainnav .nav-main {
    justify-content: flex-end;
}
body.alator-guest-page .alator-mainnav .nav-main > li.rightside {
    margin-left: 12px;
}
body.alator-guest-page .alator-subnav {
    margin-top: 1px;
}
body.alator-guest-page .alator-source-panel {
    margin-left: 0;
    margin-right: 0;
}
.alator-footer {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    padding: 0 8px;
}
.alator-footer-left { justify-self: start; }
.alator-footer-center { justify-self: center; display: inline-flex; align-items: center; gap: 8px; }
.alator-footer-right { justify-self: end; display: inline-flex; align-items: center; gap: 8px; }
.alator-footer-divider { color: #2f3745; }
.alator-login-source-panel .content h2.login-title {
    text-transform: uppercase;
}
.alator-register-button,
a.alator-register-button {
    display: inline-block;
    border: 1px solid #444;
    background: #fff;
    color: #000 !important;
    font-weight: 400;
    padding: 2px 7px;
    text-decoration: none !important;
    line-height: 1.4;
}
.alator-registration-panel .alator-fields2 dl.alator-registration-email-note,
.alator-registration-panel .fields2 dl.alator-registration-email-note {
    display: block;
    margin: 0 0 14px 0;
}
.alator-registration-panel .alator-registration-email-note dd {
    margin: 0 0 0 185px;
    max-width: calc(100% - 185px);
    display: block;
}
.alator-registration-panel .alator-fields2 select:required:invalid,
.alator-registration-panel .alator-fields2 input:required:invalid,
.alator-registration-panel .alator-fields2 textarea:required:invalid {
    box-shadow: none;
}
@media (max-width: 800px) {
    .alator-footer { grid-template-columns: 1fr; text-align: left; }
    .alator-footer-left,.alator-footer-center,.alator-footer-right { justify-self: start; }
    .alator-registration-panel .alator-registration-email-note dd { margin-left: 0; max-width: none; }
}


/* Portal v04: final login whitespace/footer + favicon support. */
body.alator-guest-page .alator-content {
    padding-top: 0 !important;
}
body.alator-guest-page .alator-subnav + .anchor + .alator-content,
body.alator-guest-page main.alator-content {
    margin-top: 0 !important;
}
body.alator-guest-page .alator-login-source-panel {
    margin-top: 0 !important;
}
body.alator-guest-page .alator-login-source-panel:first-child {
    margin-top: 0 !important;
}
body.alator-guest-page .alator-client-account-panel {
    margin-top: 10px !important;
}
body.alator-guest-page .alator-footer {
    margin-top: 10px !important;
}

/* Portal v01: Portal ACP cleanup and original-style manager shell foundation. */
body.alator-authenticated.alator-admin-area .alator-page{background:#fff;border:1px solid #b7c8d7;border-radius:0;padding:0;margin:12px auto;box-shadow:none;}
body.alator-authenticated.alator-admin-area .alator-content{padding:10px 12px 0;}
.alator-mainnav{padding:0 7px;min-height:28px;background:#cadceb;border-radius:0;border-top:1px solid #fff;border-bottom:1px solid #9fb7c8;}
.alator-topnav ul.linklist{min-height:28px;align-items:center;}
.alator-tools-menu{position:relative;display:inline-block;}
.alator-manager-subnav .alator-tools-toggle{display:inline-flex;min-height:28px;padding:4px 7px;}
.alator-admin-manager-row .alator-tools-dropdown{top:28px;}
.alator-topnav a,.alator-tools-toggle{min-height:26px;padding:4px 7px;font-size:11px;gap:4px;color:#105289;}
.alator-menu-img{width:14px;height:14px;object-fit:contain;vertical-align:middle;margin-right:5px;}
.alator-tools-dropdown{top:27px;min-width:286px;background:#eef5fa;border:1px solid #9fb7c8;border-radius:0;box-shadow:2px 3px 8px rgba(0,0,0,.22);padding:3px 0;}
.alator-tools-dropdown li{border-bottom:1px solid #d6e2ea;}
.alator-tools-dropdown a{font-size:12px;padding:5px 9px;color:#105289;background:#eef5fa;display:flex;align-items:center;}
.alator-tools-dropdown a:hover{background:#dcebf3;color:#bc2a4d;}
.alator-status-menu .alator-tools-dropdown{min-width:190px;}
body.alator-authenticated.alator-admin-area h1{font-size:20px;line-height:1.25;font-weight:400;color:#28313a;margin:0 0 10px;padding:0;}
body.alator-authenticated.alator-admin-area h1::before{content:'';display:inline-block;width:16px;height:16px;margin-right:6px;background:url('../images/icons/misc/icon_acp.gif') center/contain no-repeat;vertical-align:-2px;}
body.alator-authenticated.alator-admin-area h2{font-size:12px;line-height:1.2;color:#115098;text-transform:uppercase;border-bottom:1px solid #c8d8e4;margin:0 0 8px;padding-bottom:5px;}
body.alator-authenticated.alator-admin-area .alator-panel{background:#e9f1f7;border:1px solid #b7c8d7;border-radius:0;margin:8px 0;padding:10px;overflow-x:auto;}
body.alator-authenticated.alator-admin-area .alator-table{font-size:11px;border-collapse:collapse;background:#fff;table-layout:auto;}
body.alator-authenticated.alator-admin-area .alator-table th{background:#70b6bf;color:#fff;border:1px solid #5fa4ae;padding:5px 6px;font-size:11px;line-height:1.25;white-space:nowrap;}
body.alator-authenticated.alator-admin-area .alator-table td{border:1px solid #c2d4df;background:#f8fbfd;padding:5px 6px;font-size:11px;line-height:1.25;vertical-align:top;overflow-wrap:anywhere;}
body.alator-authenticated.alator-admin-area .alator-table tr:nth-child(even) td{background:#eef6fb;}
body.alator-authenticated.alator-admin-area .alator-panel > .alator-table{display:block;overflow-x:auto;max-width:100%;}
.alator-clean-acp-dashboard{display:grid;grid-template-columns:260px minmax(0,1fr);gap:12px;align-items:start;}
.alator-clean-acp-menu{background:#e9f1f7;border:1px solid #b7c8d7;padding:8px;}
.alator-clean-acp-menu h2,.alator-clean-acp-main h2{margin-top:0;}
.alator-clean-acp-menu ul{list-style:none;margin:0;padding:0;}
.alator-clean-acp-menu li{border-bottom:1px solid #c8d8e4;}
.alator-clean-acp-menu a{display:flex;align-items:center;padding:5px 4px;color:#105289;text-decoration:none;font-size:12px;font-weight:700;}
.alator-clean-acp-menu a:hover{background:#dcebf3;color:#bc2a4d;text-decoration:none;}
.alator-clean-acp-main{background:#e9f1f7;border:1px solid #b7c8d7;padding:10px;}
.alator-clean-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:8px 0 12px;}
.alator-clean-summary-card{background:#fff;border:1px solid #c2d4df;padding:8px;text-align:center;}
.alator-clean-summary-card strong{display:block;font-size:20px;color:#105289;}
.alator-clean-test-hidden{display:none!important;}
body.alator-authenticated.alator-admin-area .alator-admin-link{font-size:11px;color:#105289;padding:8px 0;}
@media(max-width:800px){.alator-clean-acp-dashboard{grid-template-columns:1fr}.alator-clean-summary-grid{grid-template-columns:1fr}.alator-tools-dropdown{position:static;width:100%;box-shadow:none}}


/* Portal v02: manager glyph icons and login text cleanup. */
.alator-menu-glyph{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;min-width:16px;margin-right:6px;font-size:13px;line-height:1;color:#105289;vertical-align:middle;object-fit:initial;}
.alator-clean-acp-menu .alator-menu-glyph{border:1px solid #7f9db9;background:#eef5fa;font-size:11px;}
.alator-tools-dropdown .alator-menu-glyph{border:1px solid #b6c9d8;background:#f7fbfd;font-size:11px;}
body.alator-authenticated.alator-admin-area h1::before{content:'⚙';background:none;width:auto;height:auto;color:#105289;font-size:15px;vertical-align:0;margin-right:6px;}
.alator-client-account-panel a:not(.alator-register-button){text-decoration:none;}
.alator-register-button{display:inline-block;text-decoration:none!important;}
body.alator-guest-page .alator-client-account-panel strong a,
body.alator-guest-page .alator-client-account-panel p strong{display:none!important;}
/* Original ACP manager visual/action parity foundation. */
.alator-manager-actionbar{background:#dfeaf2;border:1px solid #b7c8d7;margin:0 0 8px;padding:6px;display:flex;gap:6px;align-items:center;flex-wrap:wrap;}
.alator-manager-actionbar .alator-button{font-size:11px;padding:3px 8px;background:#fff;border:1px solid #808080;color:#105289;font-weight:700;text-decoration:none;}
.alator-manager-actionbar .alator-button:hover{color:#bc2a4d;background:#eef5fa;}
body.alator-authenticated.alator-admin-area .alator-table td:last-child .alator-button,
body.alator-authenticated.alator-admin-area .alator-table td:last-child button{font-size:11px;padding:2px 6px;}


/* Portal v01: footer edge padding and manager CRUD controls. */
.alator-footer { padding-left: 14px !important; padding-right: 14px !important; }
.alator-manager-form .alator-form-grid { display:grid; grid-template-columns: 190px minmax(220px, 1fr); gap:8px 12px; align-items:center; }
.alator-manager-form label { font-weight:700; color:#35445a; }
.alator-manager-form input[type=text], .alator-manager-form input[type=number], .alator-manager-form select, .alator-manager-form textarea { width:100%; max-width:520px; border:1px solid #aebdca; padding:4px 6px; background:#fff; }
.alator-manager-actions { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.alator-inline-form { display:inline; }
.alator-crud-button { border:1px solid #444; background:#fff; color:#111; padding:2px 8px; font-weight:700; cursor:pointer; text-decoration:none !important; display:inline-block; }
.alator-success { background:#e6f9e9; border:1px solid #93d29c; color:#1f6b2b; padding:8px; border-radius:4px; margin:8px 0; }
.alator-warning { background:#fff8dc; border:1px solid #e0c96b; color:#665600; padding:8px; border-radius:4px; margin:8px 0; }

/* Portal v02: original Portal ACP manager visual parity and footer padding. */
.alator-footer{padding-left:12px!important;padding-right:12px!important;}
.alator-heading-icon{font-size:14px;color:#075995;vertical-align:middle;}
.alator-manager-purpose,.alator-quick-sections{background:#e9f2f7;border-radius:6px;margin:8px 0;padding:9px 10px;font-size:12px;}
.alator-quick-sections a{color:#075995;text-decoration:none;font-weight:400;}
.alator-actionbar{background:#dcebf3;border:1px solid #b7d2e4;padding:8px;margin:8px 0;display:flex;gap:8px;}
.alator-original-manager-panel{border:0;background:#e9f2f7;border-radius:6px;padding:10px 12px;overflow:visible;}
.alator-original-manager-panel h2{font-size:12px;color:#075995;text-transform:uppercase;border-bottom:1px solid #bdced9;margin:0 0 10px;padding:0 0 6px;}
.alator-original-form-grid{display:grid;grid-template-columns:330px minmax(260px,1fr);gap:9px 12px;align-items:start;}
.alator-original-form-grid label{font-weight:700;color:#344050;font-size:12px;}
.alator-original-form-grid input[type=text],.alator-original-form-grid input[type=number],.alator-original-form-grid select,.alator-original-form-grid textarea{max-width:520px;width:100%;font:12px Arial,Helvetica,sans-serif;border:1px solid #9eb2c0;background:#fff;padding:3px 5px;}
.alator-original-form-grid textarea{min-height:58px;}
.alator-help-line{display:block;font-weight:400;color:#536878;margin-top:3px;line-height:1.25;}
.alator-small-input{width:90px!important;}
.alator-manager-tablewrap{border:3px solid #1ba4aa;border-radius:4px;background:#e5f0f6;margin:10px 0;overflow-x:auto;}
.alator-original-manager-table{width:100%;border-collapse:collapse;background:#e5f0f6;font-size:12px;}
.alator-original-manager-table th{background:#1ba4aa;color:#fff;text-align:left;padding:8px 9px;border-right:1px solid #58bec2;font-weight:700;text-transform:uppercase;}
.alator-original-manager-table td{background:#e5f0f6;border-top:2px solid #1ba4aa;border-right:1px solid #fff;padding:10px 9px;vertical-align:top;color:#2f3745;line-height:1.35;}
.alator-original-manager-table tr:nth-child(even) td{background:#dcebf3;}
.alator-original-manager-table code{color:#445a70;background:transparent;font-family:Consolas,monospace;}
.alator-crud-button{display:inline-block;border:1px solid #444!important;background:#fff!important;color:#000!important;font-weight:700!important;text-decoration:none!important;border-radius:0!important;padding:3px 8px!important;font-size:12px!important;line-height:1.2!important;margin:2px;}
.alator-inline-form{display:inline;}
.alator-success{background:#e2f8e6;border:1px solid #7ecf8f;color:#23672e;padding:8px;margin:8px 0;border-radius:4px;}
.alator-error{background:#fde5e5;border:1px solid #e0a3a3;color:#8a1f1f;padding:8px;margin:8px 0;border-radius:4px;}
@media(max-width:900px){.alator-original-form-grid{grid-template-columns:1fr}.alator-original-form-grid input[type=text],.alator-original-form-grid input[type=number],.alator-original-form-grid select,.alator-original-form-grid textarea{max-width:100%;}.alator-manager-tablewrap{border-width:2px}}

/* Portal v04: manager parity corrections from marked screenshots. */
.alator-original-compact-form-grid{grid-template-columns:360px minmax(260px,520px)!important;}
.alator-centered-actions{justify-content:center;}
.alator-compact-add-panel .alator-compact-inline-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.alator-compact-add-panel label{font-weight:700;color:#344050;font-size:12px;}
.alator-compact-add-panel select{font:12px Arial,Helvetica,sans-serif;border:1px solid #9eb2c0;background:#fff;padding:3px 5px;min-width:130px;}
.alator-template-edit-row td,.alator-topic-edit-row td{background:#e5f0f6!important;padding:18px 16px!important;}
.alator-template-edit-row:hover td,.alator-topic-edit-row:hover td{background:#fbf7c8!important;}
.alator-template-edit-form{grid-template-columns:330px minmax(260px,520px)!important;}
.alator-template-edit-row .alator-inline-form{display:inline-block;margin-left:2px;}
.alator-manager-purpose + .alator-original-manager-panel{margin-top:8px;}

.alator-edit-secondary-actions{margin-left:330px;margin-top:6px;}
.alator-topic-file-delete-form{margin-top:0;padding-top:0;}

/* Portal v06: manager parity cleanup. No portal manager page should show the extra top action-strip buttons. */
.alator-manager-actionbar,
.alator-actionbar {
    display: none !important;
}

/* Portal v06: Portal Template edit buttons remain on one centered line below Notes. */
.alator-template-edit-action-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    margin: 8px 0 4px 0;
    width: 100%;
}
.alator-template-edit-action-row .alator-inline-form {
    display: inline-block;
    margin: 0;
}
.alator-template-edit-action-row .alator-crud-button {
    white-space: nowrap;
}

/* Portal manager parity additions: Profile Field Manager + Text & Label Manager */
.alator-manager-purpose { margin-bottom: 10px; }
.alator-form-grid-2 { display:grid; grid-template-columns: repeat(2, minmax(260px, 1fr)); gap:10px 18px; }
.alator-manager-form label { display:block; margin:8px 0; font-size:12px; color:#2f4054; font-weight:700; }
.alator-manager-form label span { display:block; margin-bottom:3px; }
.alator-manager-form input[type="text"], .alator-manager-form input[type="number"], .alator-manager-form select, .alator-manager-form textarea { width:100%; box-sizing:border-box; border:1px solid #aebdca; background:#fff; color:#333; font:13px Arial, Helvetica, sans-serif; padding:4px; }
.alator-manager-form textarea { resize:vertical; }
.alator-manager-form .alator-check { display:inline-flex; gap:6px; align-items:center; margin:10px 18px 10px 0; font-weight:700; }
.alator-manager-form .alator-check input { width:auto; }
.alator-button-row.centered { text-align:center; margin-top:10px; }
.alator-button.small { font-size:11px; padding:2px 7px; margin:1px 2px; }
.alator-button.danger { color:#7a0000; border-color:#bd8b8b; background:#fff5f5; }
.alator-action-cell { white-space:nowrap; }
.inline-form { display:inline; margin:0; padding:0; }
.alator-table-scroll { overflow-x:auto; }
.alator-restore-form { border-top:1px solid #bdd0dd; margin-top:10px; padding-top:10px; }
@media(max-width:900px){ .alator-form-grid-2{grid-template-columns:1fr;} }


/* Portal v02: make forgot-password link match original portal link styling. */
a.alator-login-forgot { font-weight: normal !important; color: #105289; text-decoration: none; font-size: 1em; }
a.alator-login-forgot:hover { color: #bc2a4d; text-decoration: underline; }
.alator-language-line-editor { table-layout: fixed; width: 100%; }
.alator-language-line-editor th:nth-child(1), .alator-language-line-editor td:nth-child(1) { width: 42px; }
.alator-language-line-editor th:nth-child(2), .alator-language-line-editor td:nth-child(2),
.alator-language-line-editor th:nth-child(3), .alator-language-line-editor td:nth-child(3),
.alator-language-line-editor th:nth-child(4), .alator-language-line-editor td:nth-child(4) { width: 31%; }
.alator-language-line-editor textarea { width: 100%; box-sizing: border-box; min-height: 26px; font: 12px monospace; }
.alator-code-cell { white-space: pre-wrap; word-break: break-word; margin: 0; font: 12px monospace; }
.alator-pagination { margin: 10px 0; text-align: right; }
.alator-pagination a, .alator-pagination strong { display: inline-block; padding: 3px 7px; border: 1px solid #aebdca; background: #fff; margin-left: 3px; }
.alator-pagination strong { background: #dcebf3; }

/* Portal v02: runtime workflow parity cleanup after failed v01 rollback. */
.alator-runtime-wide-panel{overflow-x:auto;}
.alator-runtime-wide-panel .alator-table,
.alator-dashboard-panel .alator-table,
.alator-portal-index-table,
.alator-recent-table,
.alator-notification-table{display:table!important;width:100%!important;max-width:100%!important;table-layout:fixed;}
.alator-portal-index-table th:nth-child(1){width:30%;}
.alator-portal-index-table th:nth-child(2){width:38%;}
.alator-portal-index-table th:nth-child(3){width:7%;}
.alator-portal-index-table th:nth-child(4){width:8%;}
.alator-portal-index-table th:nth-child(5){width:17%;}
.alator-topic-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #4386b3;border-radius:50%;margin:0 12px 0 0;color:#105289;background:#eef7fc;font-weight:700;float:left;}
.alator-portal-area-title{display:block;font-size:14px;margin:0 0 4px;}
.alator-cell-muted{color:#4c6074;font-size:11px;line-height:1.35;}
.alator-table-wrap{width:100%;overflow-x:auto;}
.alator-panel > .alator-table.alator-no-scroll-block{display:table!important;}
.alator-pagination{display:flex;justify-content:flex-end;align-items:center;gap:3px;margin:8px 0;}
.alator-pagination a,.alator-pagination strong,.alator-page-gap{display:inline-block;padding:3px 7px;border:1px solid #aebdca;background:#fff;color:#105289;text-decoration:none;font-size:11px;}
.alator-pagination strong{background:#dcebf3;color:#000;}
.alator-runtime-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:12px;align-items:start;}
.alator-vertical-tabs{list-style:none;margin:0;padding:0;background:#d6e7f2;border:1px solid #b7d2e4;}
.alator-vertical-tabs li{border-bottom:1px solid #b7d2e4;}
.alator-vertical-tabs a{display:block;padding:8px 10px;color:#105289;text-decoration:none;font-weight:700;}
.alator-vertical-tabs a:hover,.alator-vertical-tabs a.is-active{background:#fff;color:#bc2a4d;text-decoration:none;}
.alator-horizontal-tabs{display:flex;gap:3px;align-items:flex-end;border-bottom:1px solid #b7d2e4;margin:0 0 10px;}
.alator-horizontal-tabs a{display:inline-block;background:#d6e7f2;border:1px solid #b7d2e4;border-bottom:0;padding:7px 11px;color:#105289;text-decoration:none;font-weight:700;}
.alator-horizontal-tabs a.is-active,.alator-horizontal-tabs a:hover{background:#fff;color:#bc2a4d;text-decoration:none;}
.alator-editor textarea.alator-editor-textarea.alator-editor-hidden-source{display:none!important;}
.alator-editor-surface{width:100%;box-sizing:border-box;min-height:170px;border:1px solid #7f95a4;background:#fff;font:13px Arial,Helvetica,sans-serif;padding:7px;resize:vertical;overflow:auto;white-space:normal;}
.alator-editor-surface:focus{outline:2px solid #e95f19;}
.alator-editor-surface img{max-width:100%;height:auto;}
.alator-editor-surface video{max-width:100%;height:auto;display:block;margin:6px 0;}
.alator-rich-text img{max-width:100%;height:auto;}
.alator-rich-text video{max-width:100%;height:auto;display:block;margin:6px 0;}
.alator-empty-note{background:#f7fbff;border:1px solid #bdd7e8;padding:9px;color:#4b5f72;}
.alator-control-profile-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:0;border:1px solid #b7d2e4;}
.alator-control-profile-grid div{padding:7px 9px;border-bottom:1px solid #b7d2e4;background:#f7fbff;}
.alator-control-profile-grid div:nth-child(4n+1),.alator-control-profile-grid div:nth-child(4n+2){background:#f1f7fb;}
.alator-control-profile-grid .label{font-weight:700;color:#2f4054;}
@media(max-width:900px){.alator-runtime-layout{grid-template-columns:1fr}.alator-horizontal-tabs{flex-wrap:wrap}.alator-control-profile-grid{grid-template-columns:1fr}.alator-portal-index-table{min-width:760px;}.alator-recent-table,.alator-notification-table{min-width:720px;}}

/* Portal v03: original-style Client Portal and Portal Notifications tables only. */
.alator-source-forabg{
    background:#0f8f95;
    border:1px solid #0f8f95;
    border-radius:5px;
    clear:both;
    margin:10px 0;
    padding:0;
    overflow:hidden;
}
.alator-source-forabg > .inner{
    margin:0;
    padding:0;
    overflow:hidden;
}
.alator-source-forabg table.table1,
.alator-original-table{
    width:100%;
    border-collapse:collapse;
    table-layout:fixed;
    background:#eef6fb;
    color:#2f4054;
    font:12px/1.42 Arial,Helvetica,sans-serif;
}
.alator-source-forabg table.table1 th,
.alator-original-table th{
    background:#1ba4aa;
    color:#ffffff;
    text-transform:uppercase;
    font-weight:400;
    font-size:12px;
    padding:6px 8px;
    border:0;
    line-height:1.2;
    vertical-align:middle;
}
.alator-source-forabg table.table1 td,
.alator-original-table td{
    border:1px solid #c7dcea;
    border-left-color:#c7dcea;
    border-right-color:#c7dcea;
    padding:7px 9px;
    vertical-align:top;
    word-wrap:break-word;
    overflow-wrap:anywhere;
    line-height:1.42;
}
.alator-source-forabg table.table1 tr.bg1 td,
.alator-original-table tr.bg1 td{background:#e8f2f8;}
.alator-source-forabg table.table1 tr.bg2 td,
.alator-original-table tr.bg2 td{background:#dcecf5;}
.alator-source-forabg a,
.alator-original-panel a,
.alator-original-table a{
    color:#00508f;
    text-decoration:none;
    font-weight:700;
}
.alator-source-forabg a:hover,
.alator-original-panel a:hover,
.alator-original-table a:hover{
    color:#0b6fae;
    text-decoration:underline;
}
.alator-source-forabg a.forumtitle,
.alator-portal-area-title{
    color:#00508f;
    font-size:15px;
    font-weight:700;
    text-decoration:none;
}
.alator-source-forabg a.forumtitle:hover,
.alator-portal-area-title:hover{text-decoration:underline;color:#0b6fae;}
.alator-client-box,
.alator-portal-client-box{font-size:12px;color:#25384b;line-height:1.42;}
.alator-client-name,
.alator-portal-client-name{font-weight:700;color:#1b4f8c;margin-bottom:3px;}
.alator-portal-index-table th:nth-child(1){width:28%;}
.alator-portal-index-table th:nth-child(2){width:40%;}
.alator-portal-index-table th:nth-child(3){width:7%;text-align:center;}
.alator-portal-index-table th:nth-child(4){width:8%;text-align:center;}
.alator-portal-index-table th:nth-child(5){width:17%;}
.alator-portal-index-table td.topics,.alator-portal-index-table td.posts,.alator-centered{text-align:center;}
.alator-portal-area-cell{position:relative;min-height:70px;padding-left:60px!important;}
.alator-topic-icon{
    float:left;
    width:34px;
    height:34px;
    margin:4px 14px 4px 0;
    border:1px solid #4c86b8;
    border-radius:50%;
    color:#2c6f9e;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#eef7fc;
    font-size:17px;
    font-weight:700;
}
.alator-portal-main-copy{overflow:hidden;min-width:0;padding-top:2px;}
.alator-cell-muted{color:#44576d;font-size:12px;}
.alator-notify-summary table,.alator-notify-list table{width:100%;table-layout:fixed;}
.alator-notify-portals th:nth-child(1){width:24%;}
.alator-notify-portals th:nth-child(2){width:28%;}
.alator-notify-portals th:nth-child(3){width:12%;}
.alator-notify-portals th:nth-child(4){width:8%;}
.alator-notify-portals th:nth-child(5){width:16%;}
.alator-notify-portals th:nth-child(6){width:12%;}
.alator-original-panel{
    background:#ecf3f7;
    border:0;
    border-radius:6px;
    color:#2f3745;
    padding:10px 12px;
}
.alator-original-panel h2{font-size:14px;color:#075995;text-transform:uppercase;border-bottom:1px solid #b7cbd8;padding-bottom:6px;}
.alator-nested-group{margin:12px 0 16px;}
.alator-nested-group h3{
    margin:0 0 6px;
    padding:5px 8px;
    color:#075995;
    background:#dcecf5;
    border:1px solid #b7d2e4;
    border-radius:4px;
    font-size:13px;
    font-weight:700;
}
.alator-nested-forabg{margin:6px 0;}
.alator-pagination{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin:7px 0;font-size:12px;}
.alator-pagination a,.alator-pagination strong{
    display:inline-block;
    border:1px solid #a9c5d8;
    background:#f7fbff;
    color:#00508f;
    padding:2px 7px;
    border-radius:3px;
    text-decoration:none;
}
.alator-pagination a:hover{background:#e5f0f9;text-decoration:underline;}
.alator-pagination strong{background:#1ba4aa;color:#fff;border-color:#1ba4aa;}
@media (max-width:900px){
    .alator-source-forabg table.table1,
    .alator-source-forabg table.table1 thead,
    .alator-source-forabg table.table1 tbody,
    .alator-source-forabg table.table1 tr,
    .alator-source-forabg table.table1 th,
    .alator-source-forabg table.table1 td{display:block;width:auto!important;}
    .alator-source-forabg table.table1 thead{display:none;}
    .alator-source-forabg table.table1 td{border-bottom:1px solid #cadceb;}
    .alator-portal-area-cell{padding-left:9px!important;}
}

/* Portal v04: Client Portal + Portal Notifications visual refinement only.
   Scope: reduce portal table typography closer to original Client Portal-shell pages and
   make the three Client Portal recent-section titles centered and visually distinct.
   No workflow, routing, DB, PM, CCI, editor, or File Vault logic is changed. */
.alator-source-forabg table.table1,
.alator-original-table{
    font-size:11px !important;
    line-height:1.34 !important;
}
.alator-source-forabg table.table1 th,
.alator-original-table th{
    font-size:11px !important;
    line-height:1.18 !important;
    padding:5px 7px !important;
    font-weight:400 !important;
}
.alator-source-forabg table.table1 td,
.alator-original-table td{
    font-size:11px !important;
    line-height:1.34 !important;
    padding:5px 7px !important;
}
.alator-client-box,
.alator-portal-client-box,
.alator-cell-muted{
    font-size:11px !important;
    line-height:1.34 !important;
}
.alator-source-forabg a.forumtitle,
.alator-portal-area-title{
    font-size:14px !important;
    line-height:1.15 !important;
}
.alator-topic-icon{
    width:31px !important;
    height:31px !important;
    margin:3px 12px 3px 0 !important;
    font-size:15px !important;
}
.alator-portal-area-cell{
    padding-left:52px !important;
}

/* Main recent-section title bars on the Client Portal dashboard. */
.alator-runtime-wide-panel.alator-original-panel > h2{
    display:block;
    text-align:center;
    margin:0 0 10px 0 !important;
    padding:7px 12px !important;
    border:1px solid #8fc1cb !important;
    border-radius:6px !important;
    background:linear-gradient(90deg,#d8f2f3 0%,#fff4c6 50%,#d8f2f3 100%) !important;
    color:#064f7c !important;
    font-size:12px !important;
    font-weight:700 !important;
    letter-spacing:.045em;
    text-transform:uppercase;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 1px 2px rgba(20,90,120,.10);
}
.alator-runtime-wide-panel.alator-original-panel > h2::before,
.alator-runtime-wide-panel.alator-original-panel > h2::after{
    content:'◆';
    color:#1ba4aa;
    font-size:9px;
    vertical-align:1px;
    margin:0 9px;
}
.alator-runtime-wide-panel.alator-original-panel{
    padding-top:10px !important;
}
.alator-nested-group h3{
    font-size:11px !important;
    line-height:1.25 !important;
    padding:4px 7px !important;
}

/* Portal v05: Client Portal + Portal Notifications table-link readability only.
   Scope: make small table text links normal weight for readability.
   Exception: Portal Area title/status links such as Potential Client / Active Client remain bold. */
.alator-source-forabg table.table1 a,
.alator-original-table a,
.alator-original-panel .alator-source-forabg table.table1 a,
.alator-original-panel .alator-original-table a{
    font-weight:400 !important;
}
.alator-source-forabg table.table1 a.forumtitle,
.alator-original-table a.forumtitle,
.alator-source-forabg table.table1 a.alator-portal-area-title,
.alator-original-table a.alator-portal-area-title,
a.alator-portal-area-title{
    font-weight:700 !important;
}

/* Portal Portal Threads / Posts / Replies */
.alator-thread-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0;
}
.alator-new-topic-button,
.alator-reply-button,
.alator-action-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(#ffffff, #dfeaf3);
    border: 1px solid #7d9db8;
    border-radius: 4px;
    color: #105289 !important;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.alator-new-topic-button:hover,
.alator-reply-button:hover,
.alator-action-button:hover {
    color: #bc2a4d !important;
    border-color: #bc2a4d;
    text-decoration: none !important;
}
.alator-sort-form {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #536482;
}
.alator-sort-form select { font-size: 11px; padding: 2px 4px; max-width: 170px; }
.alator-thread-title-block h1 { margin-bottom: 4px; }
.alator-thread-description { color: #536482; font-size: 11px; margin: 0 0 10px; }
.alator-reply-card {
    border: 1px solid #b7c5d2;
    border-radius: 7px;
    margin: 10px 0;
    overflow: hidden;
    background: #eef5f9;
}
.alator-reply-head {
    background: linear-gradient(#dbe8f1, #cadceb);
    border-bottom: 1px solid #b7c5d2;
    color: #105289;
    padding: 6px 9px;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.alator-reply-body-row { display: grid; grid-template-columns: 145px 1fr; }
.alator-reply-author {
    background: #e1ebf2;
    border-right: 1px solid #cad9e5;
    padding: 10px;
    font-size: 11px;
    color: #536482;
    text-align: center;
}
.alator-avatar-box {
    width: 72px;
    height: 72px;
    border: 1px solid #b7c5d2;
    border-radius: 5px;
    margin: 0 auto 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #105289;
    font-weight: 700;
    font-size: 24px;
}
.alator-reply-content { padding: 12px; background: #fbfdff; font-size: 12px; line-height: 1.45; min-height: 90px; }
.alator-reply-content a { font-weight: 400; }
.alator-inline-media { margin: 8px 0; }
.alator-inline-media img,
.alator-inline-media video { max-width: 100%; height: auto; border: 1px solid #cad9e5; border-radius: 4px; background: #fff; }
.alator-inline-video video { width: 100%; max-height: 460px; background: #000; }
.alator-inline-table { border-collapse: collapse; margin: 8px 0; }
.alator-inline-table td { border: 1px solid #b7c5d2; padding: 5px 8px; }
.alator-text-editor {
    border: 1px solid #8aaec7;
    background: #eef6fb;
    border-radius: 6px;
    margin: 8px 0 12px;
    overflow: visible;
}
.alator-text-editor-title {
    background: linear-gradient(#1ba4aa, #148a93);
    color: #fff;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
}
.alator-text-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 7px;
    border-bottom: 1px solid #c5d8e6;
    background: #dcecf5;
}
.alator-te-btn,
.alator-te-select {
    border: 1px solid #9fb8cc;
    background: linear-gradient(#ffffff, #e5eef5);
    color: #105289;
    border-radius: 4px;
    min-height: 26px;
    font-size: 12px;
    padding: 3px 7px;
    cursor: pointer;
}
.alator-te-btn:hover { color: #bc2a4d; border-color: #bc2a4d; }
.alator-hidden-color { position: absolute; left: -9999px; }
.alator-editor-status { padding: 4px 8px; font-size: 11px; color: #2f6f2f; min-height: 16px; }
.alator-editor-status.error { color: #9b1c1c; }
.alator-rich-body {
    min-height: 185px;
    background: #fff;
    padding: 10px;
    outline: none;
    font-size: 12px;
    line-height: 1.45;
}
.alator-rich-hidden { display: none !important; }
.alator-te-picker {
    position: fixed;
    z-index: 10000;
    width: min(520px, 94vw);
    max-height: 80vh;
    overflow: auto;
    left: 50%; top: 50%; transform: translate(-50%, -50%);
    background: #eef6fb;
    border: 1px solid #8aaec7;
    border-radius: 7px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    padding: 10px;
}
.alator-te-picker-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; color: #105289; }
.alator-te-picker-head button { border: 1px solid #9fb8cc; background: #fff; border-radius: 4px; }
.alator-te-picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 6px; }
.alator-te-picker-grid button { min-height: 38px; border: 1px solid #9fb8cc; background: #fff; border-radius: 4px; font-size: 20px; cursor: pointer; }
.alator-form-buttons { display: flex; gap: 8px; align-items: center; margin: 10px 0; }
.alator-form-buttons button { cursor: pointer; }
.alator-preview-box { border: 1px solid #d3dfe8; background: #fff; padding: 10px; border-radius: 6px; margin: 10px 0; }
@media (max-width: 700px) { .alator-reply-body-row { grid-template-columns: 1fr; } .alator-reply-author { border-right:0; border-bottom:1px solid #cad9e5; } }

/* Portal v02: client workspace title and original-style portal Portal editor */
.alator-client-workspace-title {
  border: 1px solid #b6d2e5;
  background: linear-gradient(90deg, #eef7fb 0%, #fbf7d3 52%, #eef7fb 100%);
  border-radius: 7px;
  padding: 10px 14px;
  margin: 0 0 12px;
}
.alator-client-workspace-title h1 {
  margin: 0 0 4px;
  color: #105289;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: .01em;
}
.alator-client-workspace-status { font-weight: 700; color: #0b7e85; }
.alator-client-workspace-separator { color: #bf8d1f; padding: 0 8px; font-weight: 700; }
.alator-client-workspace-name { color: #27384a; }
.alator-client-workspace-title .alator-thread-description { margin: 0; color: #536482; font-size: 11px; }

.alator-text-editor {
  border: 1px solid #9fb8cc;
  background: #eef6fb;
  border-radius: 4px;
  padding: 8px;
  margin: 6px 0 8px 0;
  clear: both;
  overflow: visible;
}
.alator-text-editor-title {
  background: transparent;
  color: #0b4f83;
  padding: 0;
  font-weight: bold;
  font-size: 12px;
  margin-bottom: 6px;
}
.alator-text-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin-bottom: 7px;
  padding: 0;
  border-bottom: 0;
  background: transparent;
}
.alator-te-btn {
  min-width: 32px;
  min-height: 28px;
  padding: 3px 8px;
  border: 1px solid #8aaec7;
  border-radius: 4px;
  background: #ffffff;
  color: #153852;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.2;
}
.alator-te-btn:hover,
.alator-te-btn:focus {
  background: #dff0fa;
  border-color: #1ba4aa;
  outline: none;
}
.alator-te-btn.is-active {
  background: #d9edf7;
  border-color: #1ba4aa;
  box-shadow: inset 0 0 0 1px rgba(27,164,170,.35);
}
.alator-te-font-size {
  height: 28px;
  min-width: 132px;
  padding: 3px 6px;
  border: 1px solid #8aaec7;
  border-radius: 4px;
  background: #ffffff;
  color: #153852;
  font-size: 12px;
}
.alator-te-font-size:focus { border-color: #1ba4aa; outline: none; }
.alator-te-color-picker {
  width: 32px;
  height: 28px;
  padding: 0;
  border: 1px solid #8aaec7;
  border-radius: 4px;
  background: #fff;
  vertical-align: middle;
}
.alator-te-editable,
.alator-rich-body.alator-te-editable {
  min-height: 230px;
  max-height: 640px;
  overflow-y: auto;
  border: 1px solid #aebdca;
  background: #fff;
  color: #222;
  border-radius: 2px;
  padding: 8px;
  font-size: 13px;
  line-height: 1.45;
}
.alator-te-editable:focus,
.alator-rich-body.alator-te-editable:focus {
  border-color: #1ba4aa;
  outline: 2px solid rgba(27,164,170,.35);
  outline-offset: 1px;
  box-shadow: none;
}
.alator-te-editable blockquote {
  border-left: 4px solid #1ba4aa;
  margin: 8px 0;
  padding: 6px 10px;
  background: #f5fbfc;
}
.alator-text-editor-help { margin-top: 6px; color: #38556c; }
.alator-hidden-source-textarea { display: none !important; }
.alator-editor-status { padding: 0; margin: 0 0 4px; font-size: 11px; color: #2f6f2f; min-height: 0; }
.alator-editor-status.error { color: #9b1c1c; }
.alator-te-picker-overlay {
  position: fixed;
  z-index: 99999;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0, 0, 0, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.alator-te-picker-overlay[hidden] { display: none !important; }
.alator-te-picker-panel {
  width: min(520px, 96vw);
  max-height: 86vh;
  overflow: auto;
  background: #eef6fb;
  border: 1px solid #8aaec7;
  border-radius: 6px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .25);
  padding: 10px;
}
.alator-te-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: #0b4f83;
}
.alator-te-picker-close {
  border: 1px solid #8aaec7;
  background: #fff;
  color: #153852;
  border-radius: 4px;
  width: 30px;
  height: 28px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.alator-te-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
  gap: 6px;
}
.alator-te-picker-item {
  min-height: 42px;
  border: 1px solid #9fb8cc;
  background: #ffffff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 22px;
}
.alator-te-picker-item:hover,
.alator-te-picker-item:focus {
  background: #dff0fa;
  border-color: #1ba4aa;
  outline: none;
}
.alator-rendered-html span[style*="font-size"],
.alator-te-editable span[style*="font-size"] { line-height: 1.35; }
.alator-inline-media { margin: 10px 0; padding: 8px; border: 1px solid #b7c9d9; background: #f5fbff; max-width: 100%; }
.alator-inline-media img,
.alator-inline-media video { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.alator-inline-video video { width: 100%; max-height: 480px; background: #000; }

/* Portal v03: keep Text Editor toolbar compact, single-line, and readable. */
.alator-portal-text-editor .alator-text-editor-toolbar,
.alator-text-editor[data-alator-rich-editor] .alator-text-editor-toolbar {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 4px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  padding: 0 0 5px 0 !important;
  margin-bottom: 6px !important;
}
.alator-portal-text-editor .alator-te-btn,
.alator-text-editor[data-alator-rich-editor] .alator-te-btn {
  flex: 0 0 auto !important;
  min-width: 28px !important;
  height: 25px !important;
  min-height: 25px !important;
  padding: 2px 7px !important;
  font-size: 12px !important;
  line-height: 1 !important;
}
.alator-portal-text-editor .alator-te-font-size,
.alator-text-editor[data-alator-rich-editor] .alator-te-font-size,
.alator-portal-text-editor select.alator-te-font-size,
.alator-text-editor[data-alator-rich-editor] select.alator-te-font-size {
  flex: 0 0 82px !important;
  width: 82px !important;
  min-width: 82px !important;
  max-width: 82px !important;
  height: 25px !important;
  min-height: 25px !important;
  padding: 1px 3px !important;
  font-size: 12px !important;
}
.alator-portal-text-editor .alator-te-color-picker,
.alator-text-editor[data-alator-rich-editor] .alator-te-color-picker {
  flex: 0 0 28px !important;
  width: 28px !important;
  height: 25px !important;
  min-height: 25px !important;
}
.alator-portal-text-editor .alator-editor-status,
.alator-text-editor[data-alator-rich-editor] .alator-editor-status {
  min-height: 0 !important;
  margin: 0 !important;
  font-size: 11px !important;
}

/* Portal v01: portal Private Messages layout; scoped to PM page only. */
.alator-pm-shell {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 0;
  background: #c7dce9;
  border: 1px solid #b8d3e4;
  border-radius: 6px;
  padding: 10px;
  font-size: 11px;
}
.alator-pm-tabs {
  border-right: 1px solid #9fbfd2;
  padding: 8px 0;
}
.alator-pm-tabs a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 10px;
  color: #004b82;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.45);
  background: rgba(219,235,244,.65);
}
.alator-pm-tabs a:hover { text-decoration: underline; background: #eef7fb; }
.alator-pm-tabs a.active {
  color: #c40022;
  background: #ffffff;
}
.alator-pm-tabs a span {
  color: #234b60;
  font-weight: 400;
  background: #eaf5fa;
  border: 1px solid #a9c9db;
  border-radius: 10px;
  padding: 1px 6px;
}
.alator-pm-content {
  min-width: 0;
  padding: 0 0 0 10px;
}
.alator-pm-compose-form {
  background: #f7fbfd;
  border: 1px solid #aac9dc;
  border-radius: 7px;
  padding: 10px;
}
.alator-pm-field-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  margin: 8px 0;
}
.alator-pm-field-row label {
  font-weight: 700;
  color: #24475a;
}
.alator-pm-field-row input[type="text"],
.alator-pm-field-row select,
.alator-pm-tools input[type="search"],
.alator-pm-tools select {
  font-size: 11px;
  border: 1px solid #9bbbd0;
  padding: 4px 5px;
  background: #fff;
}
.alator-pm-field-row select { max-width: 520px; }
.alator-pm-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin: 4px 0 8px;
  padding: 6px;
  background: #eef7fb;
  border: 1px solid #bfd7e6;
  border-radius: 5px;
}
.alator-pm-record-frame { margin-top: 6px; }
.alator-pm-record-table td, .alator-pm-record-table th { font-size: 11px; }
.alator-pm-main-row td { vertical-align: top; }
.alator-pm-subject-link {
  color: #005a9c;
  font-weight: 700;
  text-decoration: none;
}
.alator-pm-subject-link:hover { text-decoration: underline; }
.alator-pm-body-row td {
  background: #f8fcfe;
  border-top: 0;
}
.alator-pm-body {
  padding: 7px 9px;
  background: #ffffff;
  border: 1px solid #c5dbea;
  border-radius: 4px;
  min-height: 28px;
}
.alator-pm-attachments { margin: 6px 0 0; }
.alator-pm-actions { white-space: nowrap; min-width: 130px; }
.alator-pm-actions .button2,
.alator-pm-actions button.button2,
.alator-pm-content .button2,
.alator-pm-content .button1 {
  display: inline-block;
  font-size: 11px;
  line-height: 1.25;
  padding: 2px 7px;
  margin: 0 2px 2px 0;
  border: 1px solid #779db7;
  border-radius: 3px;
  background: #f3f8fb;
  color: #003f70;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.alator-pm-actions .button2:hover,
.alator-pm-actions button.button2:hover,
.alator-pm-content .button2:hover,
.alator-pm-content .button1:hover { background: #fff; text-decoration: underline; }
.alator-pm-attachment { display:block; margin:10px 0; font-weight:700; }
.alator-pm-settings-card {
  background: #fff;
  border: 1px solid #b0ccdd;
  border-radius: 7px;
  padding: 12px;
  color: #263d4c;
}
.alator-pm-settings-card h3 {
  color: #005a9c;
  font-size: 11px;
  border-bottom: 1px solid #9fbfd2;
  padding-bottom: 4px;
  margin: 9px 0 7px;
}
@media (max-width: 760px) {
  .alator-pm-shell { grid-template-columns: 1fr; }
  .alator-pm-tabs { border-right: 0; border-bottom: 1px solid #9fbfd2; }
  .alator-pm-content { padding: 10px 0 0; }
  .alator-pm-field-row { grid-template-columns: 1fr; }
}
.alator-inline-actions { margin-top: 5px; }
.alator-inline-actions .button2, .alator-inline-actions button.button2,
.alator-inline-edit-form .button2 {
  display: inline-block;
  font-size: 10.5px;
  line-height: 1.2;
  padding: 2px 6px;
  margin: 0 2px 2px 0;
  border: 1px solid #779db7;
  border-radius: 3px;
  background: #f3f8fb;
  color: #003f70;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.alator-inline-actions .button2:hover, .alator-inline-actions button.button2:hover,
.alator-inline-edit-form .button2:hover { background:#fff; text-decoration: underline; }
.alator-inline-edit-form { display:flex; gap:5px; align-items:center; flex-wrap:wrap; }
.alator-inline-edit-form input[type="text"] { min-width:260px; max-width:540px; width:60%; font-size:11px; padding:3px 5px; border:1px solid #9bbbd0; }
.alator-reply-actions { padding: 4px 8px; background: #f7fbfd; border-left: 1px solid #c8deea; border-right: 1px solid #c8deea; }

/* Portal v02: PM folders, lists, message view, rules/settings */
.alator-pm-shell {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  gap: 0;
  background: #c9dfef;
  border: 1px solid #9fbfd2;
  border-radius: 7px;
  padding: 10px;
}
.alator-pm-tabs {
  padding: 8px 0;
  border-right: 1px solid #a9c6d9;
}
.alator-pm-tabs a {
  display: block;
  padding: 8px 10px;
  border-top: 1px solid rgba(255,255,255,.42);
  border-bottom: 1px solid #a9c6d9;
  background: #bfd4e4;
  color: #003f70;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
.alator-pm-tabs a.active,
.alator-pm-tabs a:hover {
  background: #ffffff;
  color: #d00035;
  text-decoration: none;
}
.alator-pm-tabs a span {
  float: right;
  min-width: 18px;
  text-align: center;
  border-radius: 9px;
  background: #0b75b7;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  padding: 0 4px;
}
.alator-pm-tabs a.active span { background: #d00035; }
.alator-pm-quota-box {
  margin: 12px 10px 0;
  padding: 8px;
  background: #eef7fb;
  border: 1px solid #b5cfe0;
  border-radius: 7px;
  color: #29485c;
  font-size: 11px;
  line-height: 1.45;
}
.alator-pm-content {
  min-width: 0;
  padding: 0 0 0 10px;
}
.alator-pm-tools {
  justify-content: flex-start;
  background: #f5fbfe;
}
.alator-pm-count-note { margin-left: auto; color: #45677c; font-size: 11px; }
.alator-pm-list-frame { border: 4px solid #09979a; border-radius: 6px; overflow: hidden; }
.alator-pm-list-table th { background: #1d9fa3; color: #fff; font-size: 11px; font-weight: 700; }
.alator-pm-list-table td { font-size: 11px; vertical-align: middle; padding: 6px 7px; }
.alator-pm-icon-col { width: 42px; }
.alator-pm-mark-col { width: 42px; }
.alator-pm-action-col { width: 92px; }
.alator-pm-status-icon { text-align: center; }
.alator-pm-status-icon span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border: 2px solid #287db8;
  border-radius: 50%;
  color: #287db8;
  background: #eef8ff;
  font-size: 14px;
}
.alator-pm-unread .alator-pm-status-icon span {
  border-color: #c82222;
  color: #c82222;
  background: #fff0f0;
}
.alator-pm-unread td { font-weight: 700; background: #e8f4fb; }
.alator-pm-read td { font-weight: 400; }
.alator-pm-small-note { display:block; margin-top:3px; color:#526d7d; font-size:10.5px; font-weight:400; }
.alator-pm-subject-link { font-weight: 700; color:#005a9c; text-decoration:none; }
.alator-pm-subject-link:hover { text-decoration: underline; }
.alator-pm-mark { text-align: center; }
.alator-pm-actions { white-space: nowrap; text-align:center; min-width: 80px; }
.alator-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 22px;
  margin: 0 1px;
  border: 1px solid #8aaac0;
  border-radius: 4px;
  background: linear-gradient(#ffffff, #e7f1f8);
  color: #004b7e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
button.alator-action-icon { padding:0; font-family: inherit; }
.alator-action-icon:hover { background: #ffffff; color: #c0002f; text-decoration: none; }
.alator-pm-bulk-actions {
  margin: 7px 0 2px;
  padding: 6px;
  background: #f5fbfe;
  border: 1px solid #c0d7e6;
  border-radius: 5px;
  text-align: right;
  font-size: 11px;
}
.alator-pm-view-card {
  background: #fff;
  border: 1px solid #c0d7e6;
  border-radius: 7px;
  overflow: hidden;
}
.alator-pm-view-topbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  background:#f8fbfd;
  border-bottom:1px solid #c0d7e6;
  font-size:11px;
}
.alator-pm-view-buttons .button1 { margin-right:5px; }
.alator-pm-view-bodyrow {
  display:grid;
  grid-template-columns:minmax(0,1fr) 170px;
  gap:12px;
  padding:12px;
}
.alator-pm-view-message h2 {
  margin:0 0 8px;
  color:#005a9c;
  font-size:18px;
}
.alator-pm-view-message p { font-size:11px; line-height:1.45; }
.alator-pm-view-profile {
  border-left:1px solid #c0d7e6;
  padding-left:12px;
  font-size:11px;
  color:#334b5b;
}
.alator-pm-body {
  min-height:90px;
  background:#fff;
  border:0;
  padding:6px 0;
  font-size:12px;
  line-height:1.45;
}
.alator-pm-compose-recipients {
  display:grid;
  grid-template-columns: 1fr 1.45fr;
  gap:10px;
}
.alator-pm-field-row {
  display:grid;
  grid-template-columns: 135px minmax(0, 1fr);
  gap:8px;
  align-items:start;
  margin:6px 0;
}
.alator-pm-field-row label { font-size:11px; color:#24475a; font-weight:700; }
.alator-pm-field-row input[type="text"],
.alator-pm-field-row input[type="number"],
.alator-pm-field-row select {
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  border:1px solid #9bbbd0;
  padding:4px 5px;
  background:#fff;
  font-size:11px;
}
.alator-pm-settings-card {
  background:#fff;
  border:1px solid #b0ccdd;
  border-radius:7px;
  padding:12px;
  color:#263d4c;
}
.alator-pm-settings-card h3 {
  color:#005a9c;
  font-size:11px;
  border-bottom:1px solid #9fbfd2;
  padding-bottom:4px;
  margin:12px 0 8px;
}
.alator-pm-settings-line,
.alator-pm-settings-block { margin:7px 0; font-size:11px; }
.alator-pm-settings-line label { margin-right:8px; }
.alator-pm-folder-list { margin:6px 0 10px 18px; padding:0; }
.alator-pm-folder-list li { margin:3px 0; }
@media (max-width: 860px) {
  .alator-pm-shell { grid-template-columns: 1fr; }
  .alator-pm-tabs { border-right:0; border-bottom:1px solid #a9c6d9; }
  .alator-pm-content { padding:10px 0 0; }
  .alator-pm-compose-recipients,
  .alator-pm-view-bodyrow { grid-template-columns: 1fr; }
  .alator-pm-field-row { grid-template-columns: 1fr; }
}

/* Portal v03: PM settings + Potential/Active Client thread readability refinements */
.alator-topic-icon-read {
  color:#005a9c;
  border-color:#5fa2cc;
  background:#eef8ff;
}
.alator-topic-icon-unread {
  color:#b60000;
  border-color:#d66565;
  background:#fff2f2;
}
.alator-thread-title-block.alator-message-title-block {
  border:1px solid #b7d2df;
  border-radius:8px;
  background:linear-gradient(90deg,#eefafa 0%,#fff9d9 52%,#f3fbff 100%);
  padding:10px 14px;
  margin:12px 0 12px;
}
.alator-thread-title-block.alator-message-title-block h1 {
  margin:0 0 4px;
  color:#005a9c;
  font-size:20px;
  font-weight:700;
}
.alator-message-title-strip {
  background:linear-gradient(#cfe5f2,#bdd8e8);
  border-bottom:1px solid #9dbdd0;
  color:#004d84;
}
.alator-reply-card-right-profile {
  border:1px solid #a7c5d8;
  border-radius:7px;
  background:#eef7fc;
  overflow:hidden;
  margin:10px 0;
}
.alator-reply-body-row-right-profile {
  display:grid;
  grid-template-columns:minmax(0,1fr) 215px;
  gap:0;
}
.alator-reply-body-row-right-profile .alator-reply-content {
  position:relative;
  background:#fff;
  min-height:110px;
  padding:14px 48px 14px 14px;
  border-right:1px solid #bfd6e5;
  font-size:12px;
  line-height:1.45;
}
.alator-reply-author-right {
  background:#d9ebf5;
  padding:12px 10px;
  text-align:center;
  font-size:11px;
  color:#24465a;
}
.alator-reply-action-icons {
  position:absolute;
  top:8px;
  right:8px;
  display:flex;
  gap:4px;
  align-items:center;
}
.alator-action-icon {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:20px;
  min-height:20px;
  padding:1px 4px;
  border:1px solid #a5bfd0;
  border-radius:4px;
  background:linear-gradient(#fff,#dcebf4);
  color:#004d84 !important;
  font-size:12px;
  font-weight:normal !important;
  line-height:1;
  text-decoration:none !important;
  cursor:pointer;
}
.alator-action-icon:hover { background:#fff8d9; color:#8a4d00 !important; text-decoration:none !important; }
.alator-admin-author-meta {
  margin-top:8px;
  padding-top:8px;
  border-top:1px solid #b8cfdd;
  text-align:left;
  font-size:10px;
  line-height:1.35;
  color:#2d4657;
  word-break:break-word;
}
.alator-original-message-review {
  margin-top:14px;
  border:1px solid #aac8da;
  border-radius:7px;
  background:#eaf5fb;
  padding:10px;
}
.alator-original-message-review h3 {
  margin:0 0 8px;
  color:#005a9c;
  font-size:12px;
  text-transform:uppercase;
}
.alator-review-item {
  background:#fff;
  border:1px solid #c3d8e6;
  border-radius:6px;
  padding:9px;
  margin:8px 0;
  font-size:12px;
}
.alator-review-item span { color:#48677a; font-size:11px; }
.alator-back-link,
p a.alator-back-link {
  color:#005a9c !important;
  font-weight:normal !important;
  text-decoration:none !important;
}
.alator-back-link:hover,
p a.alator-back-link:hover { text-decoration:underline !important; color:#003f6c !important; }
.alator-pm-message-history { margin-top:12px; }
.alator-pm-settings-block label { display:inline-block; margin:4px 10px 4px 0; }
.alator-pm-settings-block select,
.alator-pm-settings-block input[type="number"] { max-width:260px; font-size:11px; padding:3px 5px; border:1px solid #9bbbd0; }
@media (max-width: 860px) {
  .alator-reply-body-row-right-profile { grid-template-columns:1fr; }
  .alator-reply-body-row-right-profile .alator-reply-content { border-right:0; border-bottom:1px solid #bfd6e5; }
}


/* PM and topic visual refinements only. */
.alator-pm-view-buttons .button1 {
  background: linear-gradient(#ffffff, #e7f1f8);
  border: 1px solid #8aaac0;
  border-radius: 4px;
  color: #004b7e;
  font-weight: 700;
  text-decoration: none;
  padding: 3px 8px;
}
.alator-pm-view-buttons .button1:hover {
  background: #fff8d9;
  color: #8a4d00;
  text-decoration: none;
}
.alator-pm-recipient-search-block > div {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 5px;
}
.alator-pm-recipient-search {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #9bbbd0;
  padding: 4px 5px;
  font-size: 11px;
  background: #fff;
}
.alator-pm-recipient-search-block select[multiple] {
  min-height: 118px;
}
.alator-pm-admin-author-meta {
  margin-top: 9px;
}
.alator-reply-body-row-right-profile .alator-reply-content {
  padding-right: 96px !important;
}
.alator-reply-action-icons {
  top: 10px !important;
  right: 14px !important;
  z-index: 2;
  background: rgba(255,255,255,.78);
  border-radius: 5px;
  padding: 2px;
}
.alator-original-portal-table tbody tr:hover td,
.alator-portal-index-table tbody tr:hover td,
.alator-pm-list-table tbody tr:hover td {
  background: #fff8c8 !important;
}
.alator-source-forabg table.table1 tbody tr:hover td,
.alator-original-table tbody tr:hover td {
  background: #fff8c8 !important;
}
.alator-back-link,
p a.alator-back-link {
  color: #005a9c !important;
  font-weight: normal !important;
  text-decoration: none !important;
}
.alator-back-link:hover,
p a.alator-back-link:hover {
  color: #003f6c !important;
  text-decoration: underline !important;
}

/* Portal: Client Control Interface / Profile */
.alator-cci-selector select { min-width: 420px; max-width: 100%; }
.alator-cci-hero { background: linear-gradient(90deg, #eefbfb 0%, #fffbdc 52%, #f7fbff 100%); border-color: #8bc9d7; }
.alator-cci-profile-table th { text-align: center; letter-spacing: .02em; }
.alator-cci-profile-table td { vertical-align: top; }
.alator-cci-label { width: 23%; font-weight: 700; color: #064f88; }
.alator-cci-value input[type="text"], .alator-cci-value textarea { width: 96%; box-sizing: border-box; font-size: 12px; }
.alator-cci-state { width: 12%; color: #536a7d; font-size: 11px; text-align: center; }
.alator-admin-only-row td { background-color: #fff8e6 !important; }
.alator-admin-only-badge { display: inline-block; margin-top: 3px; padding: 1px 5px; border: 1px solid #d9a74e; border-radius: 8px; background: #fff0bd; color: #7a5200; font-size: 10px; font-weight: 700; }
.alator-field-rules-table td, .alator-field-rules-table th { text-align: center; }
.alator-field-rules-table td:first-child, .alator-field-rules-table th:first-child { text-align: left; }
.alator-cci-summary-table td, .alator-cci-summary-table th { font-size: 12px; }
.alator-inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* Portal v02: CCI notification e-mail rules + registration requests */
.alator-email-rule-table input[type="text"],
.alator-email-rule-table textarea,
.alator-stacked-actions select { width: 100%; box-sizing: border-box; }
.alator-email-rule-checks { min-width: 150px; line-height: 1.7; }
.alator-stacked-actions { display: grid; gap: 6px; }
.alator-danger-button { border-color: #b45a5a !important; color: #8a1f1f !important; }
.alator-danger-button:hover { background: #fff0e6 !important; }

/* Portal v01 recovery styling */
.alator-page-title-gradient { margin: 0 0 14px; padding: 12px 16px; border-radius: 10px; background: linear-gradient(90deg, #eaf4fb, #ffffff); border: 1px solid #c7dceb; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.alator-page-title-gradient h1 { margin: 0; color: #17466f; font-size: 1.55em; line-height: 1.25; }
.alator-page-title-gradient h1 span { color: #546b7a; font-weight: 600; }
.alator-welcome-panel { margin: 0 0 14px; padding: 10px 14px; border: 1px solid #d8e8f3; background: #f7fbfe; border-radius: 8px; color: #223; }
.alator-subnav-divider { display:inline-block; margin:0 8px; color:#789; }
.alator-cci-profile-tabs aside p { margin: 8px 0; padding: 6px 8px; border-bottom: 1px solid #e4edf4; }
.alator-cci-profile-tabs textarea, .alator-cci-profile-tabs input[type="text"], .alator-cci-profile-tabs input[type="email"], .alator-cci-profile-tabs input[type="password"] { max-width: 100%; }

/* Portal v02S: show real author avatars and signatures in posts/replies/PMs. */
.alator-author-avatar-img {
    display: block;
    width: 90px;
    height: 90px;
    object-fit: cover;
    margin: 0 auto 10px auto;
    border: 1px solid #9eb8c8;
    background: #f8fbfd;
}
.alator-message-signature {
    clear: both;
    margin-top: 16px;
    padding-top: 8px;
    color: #263746;
    font-size: 12px;
}
.alator-message-signature-rule {
    border-top: 1px solid #b6cbd8;
    width: 65%;
    margin: 0 0 8px 0;
}
.alator-pm-view-profile .alator-author-avatar-img,
.alator-reply-author .alator-author-avatar-img {
    margin-bottom: 8px;
}

/* Portal v02T: visual polish for CCI, login/registration, and portal-wide headings.
   Scope: appearance only. No workflow, DB, permission, upload, mail, or auth logic is changed. */
:root{
  --alator-bg:#eef5f8;
  --alator-surface:#ffffff;
  --alator-panel-bg:#e9f5fb;
  --alator-panel-bg-soft:#f5fbfe;
  --alator-panel-bg-warm:#fffbea;
  --alator-border:#a9cfe1;
  --alator-border-soft:#cfe2ee;
  --alator-title:#0d5489;
  --alator-title-soft:#3f6177;
  --alator-tab:#d9edf7;
  --alator-tab-active:#ffffff;
  --alator-tab-hover:#eef8fc;
}
html, body{
  background: radial-gradient(circle at top left, #f9fcff 0, #eef5f8 34%, #e7f0f6 100%) !important;
}
.alator-page,
.alator-shell-parity,
body.alator-authenticated.alator-admin-area .alator-page{
  background: linear-gradient(180deg,#ffffff 0,#fbfdff 100%) !important;
  border-color: var(--alator-border-soft) !important;
  box-shadow: 0 2px 12px rgba(47, 84, 112, .08) !important;
}
.alator-content h1,
body.alator-authenticated.alator-admin-area h1{
  color: var(--alator-title) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
h2,
h3,
.alator-source-panel h2,
.alator-client-account-panel h3,
.alator-agreement-panel h2,
body.alator-authenticated.alator-admin-area h2,
.alator-original-manager-panel h2,
.alator-original-panel h2,
.alator-section-title-row span,
.alator-editor-title,
.alator-dropdown-section{
  text-transform: none !important;
  letter-spacing: 0 !important;
}
h2,
body.alator-authenticated.alator-admin-area h2,
.alator-original-manager-panel h2,
.alator-original-panel h2{
  color: var(--alator-title) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border-bottom-color: var(--alator-border) !important;
}
.alator-page-title-gradient{
  background: linear-gradient(90deg,#edf8ff 0%,#fffbea 55%,#ffffff 100%) !important;
  border-color: var(--alator-border) !important;
  box-shadow: 0 2px 7px rgba(35, 99, 139, .08) !important;
}
.alator-page-title-gradient h1{
  color: var(--alator-title) !important;
  font-weight: 500 !important;
  text-transform: none !important;
}
.alator-page-title-gradient h1 span{
  color: var(--alator-title-soft) !important;
}
.alator-panel,
.alator-source-panel,
.alator-original-manager-panel,
.alator-ucp-panel,
.alator-cci-profile-shell,
body.alator-authenticated.alator-admin-area .alator-panel{
  background: linear-gradient(180deg, var(--alator-panel-bg) 0%, #dcecf5 100%) !important;
  border-color: var(--alator-border) !important;
  border-radius: 7px !important;
}
.alator-panel .inner,
.alator-profile-fieldset,
.alator-signature-preview,
.alator-signature-live-preview{
  border-color: var(--alator-border-soft) !important;
}
.alator-horizontal-tabs{
  border-bottom: 1px solid var(--alator-border) !important;
  margin-top: 4px !important;
}
.alator-horizontal-tabs a{
  background: linear-gradient(180deg,#eaf6fc 0%, var(--alator-tab) 100%) !important;
  border-color: var(--alator-border) !important;
  color: #075995 !important;
  border-radius: 5px 5px 0 0 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
.alator-horizontal-tabs a:hover{
  background: var(--alator-tab-hover) !important;
  color: #003f6c !important;
}
.alator-horizontal-tabs a.is-active{
  background: var(--alator-tab-active) !important;
  color: #bc2a4d !important;
  border-bottom-color: var(--alator-tab-active) !important;
}
.alator-ucp-left{
  background: linear-gradient(180deg,#d8edf7 0,#c9dfeb 100%) !important;
  border-right: 1px solid var(--alator-border) !important;
}
.alator-ucp-left h3{
  color:#274e68 !important;
  font-size: 13px !important;
  text-transform:none !important;
}
.alator-ucp-left a{
  color:#174f78 !important;
  border-bottom-color:#bad5e4 !important;
  text-decoration:none !important;
}
.alator-ucp-left a:hover{
  background:#eef8fc !important;
  color:#003f6c !important;
}
.alator-ucp-left a.active{
  background:#ffffff !important;
  color:#bc2a4d !important;
  font-weight:700 !important;
}
.alator-ucp-main > h2,
.alator-ucp-main h2:first-child{
  background: linear-gradient(90deg,#d8edf7 0,#edf8fc 100%) !important;
  color:#2f4054 !important;
  text-align:center !important;
  border:0 !important;
  border-radius:4px !important;
  padding:10px 12px !important;
  margin-bottom:10px !important;
  font-weight:500 !important;
  text-transform:none !important;
}
.alator-profile-fieldset legend,
.alator-signature-preview h3{
  color: var(--alator-title) !important;
  font-weight:700 !important;
  text-transform:none !important;
}
.alator-table th,
.alator-original-manager-table th,
.alator-original-manager-table th,
.alator-original-portal-table th,
.alator-portal-index-table th,
.alator-pm-list-table th{
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.alator-original-manager-table th{
  background: linear-gradient(180deg,#26aeb6 0%,#1b9aa2 100%) !important;
}
.alator-table tr:nth-child(even) td,
.alator-original-manager-table tr:nth-child(even) td{
  background:#eef7fc !important;
}
.alator-table td,
.alator-original-manager-table td{
  border-color:#bdd6e5 !important;
}
.alator-login-source-panel .content h2.login-title,
.alator-registration-panel h1,
.alator-registration-panel h2,
.alator-agreement-panel h1,
.alator-client-account-panel h3{
  color: var(--alator-title) !important;
  text-transform: none !important;
  font-weight: 500 !important;
}
.alator-source-submit-panel,
.alator-login-source-panel,
.alator-registration-panel,
.alator-client-account-panel,
.alator-agreement-panel{
  background: linear-gradient(180deg,#f7fcff 0,#e9f5fb 100%) !important;
  border-color: var(--alator-border-soft) !important;
}
.alator-button,
.button1,
.button2,
.alator-crud-button,
.alator-source-submit-panel button,
.alator-form button{
  border-color:#7f9eb2 !important;
  background: linear-gradient(180deg,#ffffff 0,#eef5fa 100%) !important;
  color:#0b4f7d !important;
  border-radius:4px !important;
}
.alator-button:hover,
.button1:hover,
.button2:hover,
.alator-crud-button:hover,
.alator-source-submit-panel button:hover,
.alator-form button:hover{
  background:#fff8dc !important;
  color:#8a4d00 !important;
}


/* Portal v02U: rollback ONLY CCI/Profile tab visual-polish changes.
   Keep all functional v02R/v02S/v02T changes, but restore the recovered original-style
   CCI/Profile layout, left tabs, fieldsets, signature editor, avatar form, and DOB controls. */
.alator-ucp-panel{
  display:grid !important;
  grid-template-columns:190px minmax(0,1fr) !important;
  gap:16px !important;
  background:#c9ddeb !important;
  border-radius:6px !important;
  padding:10px !important;
  border:1px solid #a9c6d8 !important;
  margin:10px 0 18px !important;
  box-shadow:none !important;
}
.alator-ucp-left{
  background:#bed3e2 !important;
  border-right:1px solid #a6bdcc !important;
  padding:8px 0 !important;
  min-height:260px !important;
  border-radius:0 !important;
}
.alator-ucp-left h3{
  margin:0 10px 8px !important;
  color:#334 !important;
  font-size:13px !important;
  font-weight:700 !important;
  text-transform:none !important;
}
.alator-ucp-left a{
  display:block !important;
  padding:8px 10px !important;
  color:#24465d !important;
  text-decoration:none !important;
  border-bottom:1px solid rgba(255,255,255,.25) !important;
  font-weight:600 !important;
  background:transparent !important;
  border-radius:0 !important;
}
.alator-ucp-left a.active,
.alator-ucp-left a:hover{
  background:#f3f8fc !important;
  color:#d11242 !important;
}
.alator-ucp-main{
  background:#c9ddeb !important;
  padding:0 8px 8px !important;
  border-radius:0 !important;
}
.alator-ucp-main>h2,
.alator-ucp-main h2:first-child{
  margin:0 0 8px !important;
  text-align:center !important;
  background:#c0d5e5 !important;
  color:#2d3a45 !important;
  padding:8px !important;
  border-radius:5px 5px 0 0 !important;
  font-size:16px !important;
  font-weight:400 !important;
  border:0 !important;
  text-transform:none !important;
  box-shadow:none !important;
}
.alator-ucp-main>h2 span{font-size:13px !important;font-weight:400 !important;}
.alator-profile-note{background:#f7fbff !important;border-radius:5px !important;padding:8px !important;margin:0 0 8px !important;}
.alator-profile-fieldset{
  background:#f8fbfe !important;
  border:0 !important;
  border-radius:6px !important;
  margin:0 0 8px !important;
  padding:10px !important;
}
.alator-profile-fieldset legend{
  font-weight:700 !important;
  color:#075995 !important;
  border-bottom:1px solid #9fc1d6 !important;
  width:100% !important;
  padding:0 0 5px !important;
  margin-bottom:5px !important;
  text-transform:none !important;
}
.alator-profile-fieldset dl{display:grid !important;grid-template-columns:250px minmax(0,1fr) !important;gap:8px !important;margin:7px 0 !important;align-items:start !important;}
.alator-profile-fieldset dt{font-weight:700 !important;color:#32445a !important;font-size:12px !important;}
.alator-profile-fieldset dt span{font-weight:400 !important;color:#42596b !important;font-size:11px !important;}
.alator-profile-fieldset input[type=text],
.alator-profile-fieldset input[type=email],
.alator-profile-fieldset input[type=password],
.alator-profile-fieldset input[type=date],
.alator-profile-fieldset textarea,
.alator-profile-fieldset select,
.alator-account-settings-form input{
  width:100% !important;
  box-sizing:border-box !important;
  border:1px solid #a7b6c3 !important;
  background:#fff !important;
  padding:4px !important;
}
.alator-readonly-profile-value{display:block !important;min-height:20px !important;padding:3px 0 !important;color:#263847 !important;background:transparent !important;}
.alator-signature-preview{background:#f7fbff !important;border-radius:5px !important;padding:8px !important;margin-bottom:6px !important;}
.alator-signature-preview h3{font-size:12px !important;color:#075995 !important;border-bottom:1px solid #9fc1d6 !important;margin:0 0 6px !important;padding-bottom:4px !important;text-transform:none !important;}
.alator-signature-form .alator-text-editor{background:#dbeaf3 !important;border-color:#8fb5cb !important;}
.alator-signature-plain textarea{width:100% !important;min-height:90px !important;box-sizing:border-box !important;margin-top:5px !important;background:#fff !important;border:1px solid #9aaab5 !important;}
.alator-avatar-preview{max-width:90px !important;max-height:90px !important;border:1px solid #b6c7d5 !important;background:#fff !important;padding:1px !important;}
.alator-button-row{margin-top:8px !important;text-align:center !important;}
.alator-button-row .button1,.alator-button-row .button2,.alator-button-row button,.alator-button-row a{margin:0 2px !important;}
.alator-dob-selects select{width:auto !important;min-width:76px !important;margin-right:4px !important;}
.alator-signature-live-preview{min-height:72px !important;background:#fff !important;border:1px solid #9aaab5 !important;border-radius:2px !important;margin-top:6px !important;padding:8px !important;white-space:normal !important;}
.alator-account-settings-form .alator-profile-fieldset dl{grid-template-columns:260px minmax(0,1fr) !important;}
.alator-avatar-form input[type=file]{background:#fff !important;border:1px solid #a7b6c3 !important;padding:3px !important;}
.alator-ucp-main .alator-text-editor-toolbar{display:flex !important;flex-wrap:wrap !important;gap:3px !important;align-items:center !important;}
.alator-ucp-main .alator-te-editable{min-height:210px !important;background:#fff !important;}
.alator-ucp-main .alator-hidden-source-textarea{min-height:100px !important;background:#fff !important;}
.alator-ucp-main .alator-text-editor-title{color:#075995 !important;font-weight:700 !important;text-transform:none !important;}
.alator-profile-fieldset input[readonly],.alator-profile-fieldset .alator-readonly-profile-value{background:#fff !important;color:#243646 !important;}
.alator-pm-settings-block .alator-cell-muted{font-size:11px !important;color:#5c7280 !important;}
@media(max-width:700px){
  .alator-ucp-panel{grid-template-columns:1fr !important;}
  .alator-profile-fieldset dl{grid-template-columns:1fr !important;}
  .alator-ucp-left{min-height:0 !important;}
}

/* Portal v02V: signature-only line spacing control. */
.alator-signature-controls {
    margin: 10px 0;
    padding: 8px 10px;
    border: 1px solid #b7cfdf;
    background: #eef7fc;
}
.alator-signature-controls label {
    display: inline-block;
    margin-right: 8px;
}
.alator-signature-controls select {
    min-width: 180px;
}
.alator-signature-preview-body,
.alator-signature-live-preview,
.alator-message-signature {
    line-height: 1.35;
}
.alator-message-signature p {
    margin-top: 0;
    margin-bottom: 0.55em;
}

/* Portal v03: CCI profile titles and consistent signature spacing. */
.alator-ucp-main > h2.alator-cci-mode-title,
.alator-ucp-main h2.alator-cci-mode-title{
  background: linear-gradient(90deg,#168e9a 0%,#1faeb6 55%,#dff4f8 100%) !important;
  color:#ffffff !important;
  text-shadow:0 1px 0 rgba(0,0,0,.22) !important;
  font-weight:700 !important;
  letter-spacing:.01em !important;
  border:1px solid #0f7f8a !important;
  border-radius:6px 6px 0 0 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25) !important;
}
.alator-message-signature,
.alator-signature-preview-body,
.alator-signature-live-preview{
  line-height: inherit;
}
.alator-message-signature p,
.alator-signature-preview-body p,
.alator-signature-live-preview p{
  line-height: inherit !important;
  margin-top:0 !important;
  margin-bottom:.15em !important;
}
.alator-pm-signature-checkbox{
  display:block;
  margin:8px 0;
  padding:5px 7px;
  background:#eef7fc;
  border:1px solid #b7cfdf;
  color:#263847;
}
.alator-pm-small-note{
  display:block;
  margin-top:4px;
  font-size:11px;
  color:#536878;
}


/* Phase 16N-R v03: header row and manager dropdown containment repair. */
body.alator-authenticated.alator-admin-area .alator-admin-manager-row {
    overflow: visible !important;
    display: block !important;
    min-height: 28px !important;
    padding: 0 8px !important;
}
body.alator-authenticated.alator-admin-area .alator-admin-manager-row .inner {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    min-height: 28px !important;
    overflow: visible !important;
    padding: 0 !important;
}
body.alator-authenticated.alator-admin-area .alator-admin-manager-row .alator-tools-menu {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
}
body.alator-authenticated.alator-admin-area .alator-admin-manager-row .alator-tools-toggle,
body.alator-authenticated.alator-admin-area .alator-admin-manager-row a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 26px !important;
    white-space: nowrap !important;
}
body.alator-authenticated.alator-admin-area .alator-admin-manager-row .alator-tools-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    z-index: 9999 !important;
    min-width: 286px !important;
    max-width: calc(100vw - 40px) !important;
}
body.alator-authenticated.alator-admin-area .alator-admin-manager-row .alator-subnav-divider {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 2px !important;
}


/* Phase 16N-R v04: cache-resistant Full Admin header alignment repair. */
body.alator-authenticated.alator-admin-area #page-header .alator-admin-manager-row,
body.alator-authenticated #page-header .alator-admin-manager-row{
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    min-height: 28px !important;
    padding: 0 8px !important;
}
body.alator-authenticated.alator-admin-area #page-header .alator-admin-manager-row > .inner,
body.alator-authenticated #page-header .alator-admin-manager-row > .inner{
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 28px !important;
    overflow: visible !important;
    padding: 0 !important;
}
body.alator-authenticated.alator-admin-area #page-header .alator-manager-subnav,
body.alator-authenticated #page-header .alator-manager-subnav{
    position: relative !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    width: auto !important;
}
body.alator-authenticated.alator-admin-area #page-header .alator-admin-manager-row .alator-tools-dropdown,
body.alator-authenticated #page-header .alator-admin-manager-row .alator-tools-dropdown{
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    z-index: 10000 !important;
    min-width: 286px !important;
    max-width: min(360px, calc(100vw - 40px)) !important;
}
body.alator-authenticated.alator-admin-area #page-header .alator-admin-manager-row > .inner > a,
body.alator-authenticated #page-header .alator-admin-manager-row > .inner > a,
body.alator-authenticated.alator-admin-area #page-header .alator-admin-manager-row .alator-tools-toggle,
body.alator-authenticated #page-header .alator-admin-manager-row .alator-tools-toggle{
    display: inline-flex !important;
    align-items: center !important;
    min-height: 26px !important;
    white-space: nowrap !important;
}

.alator-button-disabled, button.alator-button-disabled:disabled { opacity: 0.55; cursor: not-allowed; }

/* Phase 16N-V v01: Portal.com header/footer theme adjustment layer. */
body{background-color:var(--alator-body-bg,#f5f7fb);}
.alator-page{max-width:var(--alator-page-width,1184px);}
.alator-header{height:auto;min-height:0;background:var(--alator-logo-area-bg,#e5f0f9);border-radius:0;padding:0;display:block;}
.alator-header::before{content:"57.2 F  Baltimore    Friday, May 22, 2026";display:block;height:26px;line-height:26px;background:var(--alator-top-strip,#2175b8);color:var(--alator-top-strip-text,#fff);font-size:12px;font-weight:700;padding-left:50px;box-sizing:border-box;}
.alator-header-inner{height:var(--alator-header-logo-height,65px);background:var(--alator-logo-area-bg,#e5f0f9);display:flex;align-items:center;padding:0 50px;}
.alator-logo-image-box{width:var(--alator-logo-width,218px);min-width:var(--alator-logo-width,218px);height:var(--alator-logo-height,58px);background:transparent;border-radius:0;padding:0;align-items:center;justify-content:flex-start;}
.alator-logo-image-box img{width:var(--alator-logo-width,218px);height:var(--alator-logo-height,58px);object-fit:contain;}
.alator-search{margin-left:auto;}
.alator-topnav.alator-mainnav{background:var(--alator-menu-bg,#003f79);background-image:linear-gradient(rgba(0,58,100,.22),rgba(0,58,100,.22)),url('../images/theme/portal_header_menu_background.jpg');background-size:cover;background-position:center;border-radius:0;border-top:0;min-height:50px;padding:0 40px;align-items:center;}
.alator-topnav.alator-mainnav ul.linklist{width:100%;}
.alator-topnav.alator-mainnav a{color:var(--alator-menu-text,#fff);min-height:50px;font-size:14px;font-weight:400;padding:0 14px;text-shadow:0 1px 1px rgba(0,0,0,.35);}
.alator-topnav.alator-mainnav a:hover{background:rgba(0,55,100,.68);color:#fff;text-decoration:none;}
.alator-topnav.alator-mainnav .rightside a{font-size:12px;font-weight:700;}
.alator-subnav,.alator-footer{background:var(--alator-blue,#c9ddec);}
.alator-theme-footer{margin-top:12px;color:var(--alator-footer-text,#fff);}
.alator-theme-footer-image{height:var(--alator-footer-height,311px);background-color:#2d5260;background-image:linear-gradient(rgba(0,50,90,.06),rgba(0,50,90,.06)),var(--alator-footer-image);background-size:cover;background-position:center;position:relative;overflow:hidden;}
.alator-social-links{position:absolute;left:48px;top:50%;transform:translateY(-50%);display:flex;gap:10px;align-items:center;}
.alator-social-links a{width:35px;height:35px;border-radius:9px;background:var(--alator-footer-icon-bg,#009b92);color:var(--alator-footer-icon-text,#fff);display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:700;font-size:14px;box-shadow:0 1px 2px rgba(0,0,0,.15);}
.alator-social-links a:hover{filter:brightness(1.1);text-decoration:none;}
.alator-footer-cta{position:absolute;right:55px;top:72px;max-width:420px;text-align:center;font-size:16px;line-height:1.35;text-shadow:0 1px 2px rgba(0,0,0,.45);}
.alator-footer-cta a{color:var(--alator-footer-link,#00e6ff);font-size:16px;text-decoration:none;}
.alator-theme-footer-bar{min-height:36px;background:var(--alator-footer-bg,#2175b8);display:grid;grid-template-columns:1fr 2fr 1fr;align-items:center;text-align:center;color:#fff;font-size:14px;padding:0 20px;}
.alator-theme-footer-bar a{color:#fff;text-decoration:none;}
.alator-theme-footer-bar a:hover{text-decoration:underline;}
.alator-theme-preview-shell{max-width:1184px;border:1px solid var(--alator-line,#b6d2e5);background:#fff;}
.alator-com-top-strip{height:26px;line-height:26px;background:var(--alator-top-strip,#2175b8);color:#fff;padding-left:50px;font-weight:700;font-size:12px;}
.alator-com-logo-row{height:65px;background:var(--alator-logo-area-bg,#e5f0f9);display:flex;align-items:center;padding-left:50px;}
.alator-com-logo-row img{width:218px;height:58px;object-fit:contain;}
.alator-com-menu-preview{height:50px;background:var(--alator-menu-bg,#003f79);background-image:linear-gradient(rgba(0,58,100,.22),rgba(0,58,100,.22)),var(--alator-header-menu-image);background-size:cover;color:#fff;display:flex;align-items:center;padding:0 50px;gap:26px;font-size:14px;}
.alator-com-menu-preview .search{margin-left:auto;font-size:22px;}
.alator-com-footer-preview{height:220px;background-image:var(--alator-footer-image);background-size:cover;background-position:center;position:relative;}
.alator-com-footer-preview .social{position:relative;top:112px;left:48px;width:35px;height:35px;background:var(--alator-footer-icon-bg,#009b92);border-radius:9px;color:#fff;display:inline-flex;align-items:center;justify-content:center;margin-right:8px;font-weight:700;}
.alator-com-footer-preview .cta{position:absolute;right:60px;top:70px;text-align:center;color:#fff;font-size:16px;text-shadow:0 1px 2px rgba(0,0,0,.45);}
.alator-com-footer-preview .cta b{color:var(--alator-footer-link,#00e6ff);font-weight:400;}
.alator-com-footer-bar-preview{min-height:36px;background:var(--alator-footer-bg,#2175b8);color:#fff;display:grid;grid-template-columns:1fr 2fr 1fr;align-items:center;text-align:center;font-size:14px;}
.alator-theme-form input[type="text"].alator-theme-long-input{width:100%;max-width:760px;}
.alator-color-text{width:110px!important;margin-left:8px;}
.alator-muted{color:#526b7a;font-size:12px;}
@media(max-width:800px){.alator-header::before{padding-left:14px}.alator-header-inner{padding:8px 14px;height:auto}.alator-logo-image-box,.alator-logo-image-box img{max-width:210px;width:60vw}.alator-topnav.alator-mainnav{padding:0 8px;background-position:center}.alator-topnav.alator-mainnav a{min-height:36px;padding:0 8px}.alator-theme-footer-image{height:240px}.alator-social-links{left:20px;top:auto;bottom:28px;transform:none;flex-wrap:wrap}.alator-footer-cta{left:20px;right:20px;top:34px;font-size:14px}.alator-theme-footer-bar{grid-template-columns:1fr;gap:4px;padding:8px 10px}.alator-com-menu-preview{padding:0 12px;gap:12px;overflow-x:auto}.alator-com-footer-preview .social{left:18px}.alator-com-footer-preview .cta{left:15px;right:15px}.alator-com-footer-bar-preview{grid-template-columns:1fr}}

/* Phase 16N-V v02: flexible portal-owned theme shell; separates business menu from portal links. */
.alator-header::before{content:none!important;display:none!important;}
.alator-theme-top-strip{min-height:var(--alator-top-strip-height,36px);background:var(--alator-top-strip,#2175b8);color:var(--alator-top-strip-text,#fff);opacity:var(--alator-top-strip-opacity,1);box-sizing:border-box;display:flex;align-items:center;font-size:12px;font-weight:700;}
.alator-theme-top-strip-inner{width:100%;min-height:var(--alator-top-strip-height,36px);display:flex;gap:18px;align-items:center;padding:0 50px;box-sizing:border-box;}
.alator-theme-top-strip.alator-align-center .alator-theme-top-strip-inner{justify-content:center;}
.alator-theme-top-strip.alator-align-right .alator-theme-top-strip-inner{justify-content:flex-end;}
.alator-weather-widget,.alator-date-widget{white-space:nowrap;}
.alator-header{height:auto;min-height:0;background:var(--alator-logo-area-bg,#e5f0f9);border-radius:0;padding:0;display:block;}
.alator-header-inner{min-height:var(--alator-header-logo-height,65px);height:var(--alator-header-logo-height,65px);background:var(--alator-logo-area-bg,#e5f0f9);background-image:var(--alator-logo-area-image);background-size:cover;background-position:center;display:flex;align-items:center;padding:0;box-sizing:border-box;}
.alator-logo-align-left .alator-header-inner{justify-content:flex-start;}
.alator-logo-align-center .alator-header-inner{justify-content:center;}
.alator-logo-align-right .alator-header-inner{justify-content:flex-end;}
.alator-logo-image-box{width:var(--alator-logo-width,218px);min-width:var(--alator-logo-width,218px);height:var(--alator-logo-height,58px);background:transparent;border-radius:0;padding:0;align-items:center;justify-content:center;margin-left:var(--alator-logo-ml,50px);margin-right:var(--alator-logo-mr,50px);}
.alator-logo-image-box img{width:var(--alator-logo-width,218px);height:var(--alator-logo-height,58px);object-fit:contain;}
.alator-website-menu{min-height:var(--alator-menu-height,50px);height:var(--alator-menu-height,50px);background:var(--alator-menu-bg,#003f79);background-image:linear-gradient(rgba(0,58,100,.22),rgba(0,58,100,.22)),var(--alator-header-menu-image);background-size:cover;background-position:center;border-radius:0;border:0;display:flex;align-items:center;padding:0 40px;box-sizing:border-box;}
.alator-website-menu-inner{width:100%;display:flex;align-items:center;gap:18px;min-height:var(--alator-menu-height,50px);}
.alator-website-menu-inner.alator-align-center{justify-content:center;}
.alator-website-menu-inner.alator-align-right{justify-content:flex-end;}
.alator-website-menu-list{display:flex;align-items:center;gap:0;margin:0;padding:0;list-style:none;flex-wrap:wrap;}
.alator-website-menu-list li{display:block;margin:0;padding:0;}
.alator-website-menu-list a{display:flex;align-items:center;min-height:var(--alator-menu-height,50px);padding:0 14px;color:var(--alator-menu-text,#fff)!important;font-size:var(--alator-menu-font-size,14px);font-weight:400;text-shadow:0 1px 1px rgba(0,0,0,.35);text-decoration:none!important;}
.alator-website-menu-list a:hover{background:var(--alator-menu-hover-bg,rgba(0,55,100,.68));color:var(--alator-menu-hover-text,#fff)!important;text-decoration:none!important;}
.alator-website-search{margin-left:auto;display:flex;align-items:center;position:relative;}
.alator-website-menu-inner.alator-align-right .alator-website-search{margin-left:12px;}
.alator-website-search input{width:0;opacity:0;border:0;padding:0;height:28px;transition:width .18s ease,opacity .18s ease,padding .18s ease;}
.alator-website-search:focus-within input,.alator-website-search:hover input{width:180px;opacity:1;padding:3px 8px;border:1px solid rgba(255,255,255,.55);}
.alator-website-search button{background:transparent;border:0;color:var(--alator-search-icon-color,#fff);font-size:26px;line-height:1;cursor:pointer;padding:0 8px;}
.alator-website-search .alator-search-submit{font-size:12px;border:1px solid rgba(255,255,255,.5);padding:4px 8px;margin-left:4px;display:none;}
.alator-website-search:focus-within .alator-search-submit,.alator-website-search:hover .alator-search-submit{display:inline-block;}
.alator-topnav.alator-mainnav.alator-portal-top-links{background:var(--alator-portal-links-bg,#c9ddec)!important;background-image:none!important;min-height:var(--alator-portal-links-height,28px);height:auto;padding:0 10px;border-radius:0;border-top:0;display:block;}
.alator-portal-top-links .inner{min-height:var(--alator-portal-links-height,28px);}
.alator-portal-top-links ul.linklist{width:100%;margin:0;padding:0;}
.alator-portal-top-links a{color:var(--alator-portal-links-text,#075995)!important;min-height:var(--alator-portal-links-height,28px)!important;font-size:12px!important;font-weight:600!important;padding:0 8px!important;text-shadow:none!important;text-decoration:none!important;display:flex;align-items:center;}
.alator-portal-top-links a:hover{background:transparent!important;color:var(--alator-portal-links-hover,#0b6fae)!important;text-decoration:none!important;}
body.alator-guest-page .alator-portal-top-links .nav-main>li:not(.rightside){display:inline-block!important;}
.alator-subnav,.alator-footer{background:var(--alator-blue,#c9ddec);}
.alator-subnav a,.alator-tools-toggle,.alator-manager-subnav a{color:var(--alator-tab-text,#075995)!important;}
.alator-subnav a:hover,.alator-tools-toggle:hover,.alator-manager-subnav a:hover{color:var(--alator-tab-hover-text,#0b6fae)!important;background:var(--alator-tab-hover-bg,#e6f1f8)!important;}
.alator-theme-footer{margin-top:12px;color:var(--alator-footer-text,#fff);}
.alator-theme-footer-image{height:var(--alator-footer-height,311px);background-color:var(--alator-footer-bg,#2175b8);background-image:linear-gradient(rgba(0,55,90,.12),rgba(0,55,90,.12)),var(--alator-footer-image);background-size:cover;background-position:center;position:relative;overflow:hidden;}
.alator-social-links{position:absolute;left:48px;top:50%;transform:translateY(-50%);display:flex;gap:10px;align-items:center;z-index:2;}
.alator-social-location-footer_image_center{left:50%;transform:translate(-50%,-50%);}
.alator-social-location-footer_image_right{left:auto;right:48px;}
.alator-social-location-top_strip_right{position:static;margin-left:auto;transform:none;}
.alator-social-links a{width:var(--alator-social-icon-size,35px);height:var(--alator-social-icon-size,35px);border-radius:var(--alator-social-icon-radius,9px);background:var(--alator-social-icon-bg,#009b92);color:var(--alator-social-icon-text,#fff)!important;display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;font-weight:700;font-size:13px;box-shadow:0 1px 2px rgba(0,0,0,.15);font-family:Arial,Helvetica,sans-serif;}
.alator-social-links a:hover{background:var(--alator-social-icon-hover-bg,#00aaa0);color:var(--alator-social-icon-text,#fff)!important;text-decoration:none!important;filter:none;}
.alator-footer-cta{position:absolute;right:55px;top:72px;max-width:420px;text-align:center;font-size:16px;line-height:1.35;color:var(--alator-footer-text,#fff);text-shadow:0 1px 2px rgba(0,0,0,.45);}
.alator-footer-cta a{color:var(--alator-footer-link,#00e6ff)!important;font-size:16px;text-decoration:none!important;}
.alator-theme-footer-bar{min-height:var(--alator-footer-bar-height,36px);background:var(--alator-footer-bar-bg,#2175b8);display:grid;grid-template-columns:1fr 2fr 1fr;align-items:center;text-align:center;color:var(--alator-footer-bar-text,#fff);font-size:14px;padding:0 20px;}
.alator-theme-footer-bar a{color:var(--alator-footer-bar-text,#fff)!important;text-decoration:none!important;}
.alator-theme-footer-bar a:hover{text-decoration:underline!important;}
.alator-theme-preview-shell{max-width:1184px;border:1px solid var(--alator-line,#b6d2e5);background:#fff;}
.alator-com-top-strip{height:var(--alator-top-strip-height,36px);line-height:var(--alator-top-strip-height,36px);background:var(--alator-top-strip,#2175b8);color:#fff;padding-left:50px;font-weight:700;font-size:12px;}
.alator-com-logo-row{height:65px;background:var(--alator-logo-area-bg,#e5f0f9);display:flex;align-items:center;padding-left:50px;}
.alator-com-logo-row img{width:218px;height:58px;object-fit:contain;}
.alator-com-menu-preview{height:50px;background:var(--alator-menu-bg,#003f79);background-image:linear-gradient(rgba(0,58,100,.22),rgba(0,58,100,.22)),var(--alator-header-menu-image);background-size:cover;color:#fff;display:flex;align-items:center;padding:0 50px;gap:26px;font-size:14px;}
.alator-com-menu-preview .search{margin-left:auto;font-size:22px;}
.alator-com-portal-links-preview{min-height:28px;background:var(--alator-portal-links-bg,#c9ddec);color:var(--alator-portal-links-text,#075995);font-size:12px;font-weight:600;display:flex;align-items:center;padding:0 12px;}
.alator-com-portal-links-preview .right{margin-left:auto;}
.alator-com-footer-preview{height:220px;background-image:var(--alator-footer-image);background-size:cover;background-position:center;position:relative;}
.alator-com-footer-preview .social{position:relative;top:112px;left:48px;width:35px;height:35px;background:var(--alator-social-icon-bg,#009b92);border-radius:9px;color:#fff;display:inline-flex;align-items:center;justify-content:center;margin-right:8px;font-weight:700;font-size:13px;}
.alator-com-footer-preview .cta{position:absolute;right:60px;top:70px;text-align:center;color:#fff;font-size:16px;text-shadow:0 1px 2px rgba(0,0,0,.45);}
.alator-com-footer-preview .cta b{color:var(--alator-footer-link,#00e6ff);font-weight:400;}
.alator-com-footer-bar-preview{min-height:var(--alator-footer-bar-height,36px);background:var(--alator-footer-bar-bg,#2175b8);color:#fff;display:grid;grid-template-columns:1fr 2fr 1fr;align-items:center;text-align:center;font-size:14px;}
.alator-theme-form input[type="text"].alator-theme-long-input{width:100%;max-width:760px;}
.alator-color-text{width:110px!important;margin-left:8px;}
.alator-muted{color:#526b7a;font-size:12px;}
.alator-theme-lines{width:100%;min-height:150px;font-family:monospace;font-size:12px;box-sizing:border-box;}
@media(max-width:800px){.alator-theme-top-strip-inner{padding:6px 14px;flex-wrap:wrap;gap:6px 12px}.alator-weather-widget,.alator-date-widget{white-space:normal}.alator-header-inner{padding:8px 14px;height:auto}.alator-logo-image-box{margin-left:0;margin-right:0}.alator-logo-image-box,.alator-logo-image-box img{max-width:210px;width:60vw}.alator-website-menu{height:auto;min-height:42px;padding:0 8px;background-position:center}.alator-website-menu-inner{align-items:flex-start;flex-direction:column;gap:4px;padding:4px 0}.alator-website-menu-list{overflow-x:auto;max-width:100%;flex-wrap:nowrap}.alator-website-menu-list a{min-height:36px;padding:0 8px;white-space:nowrap}.alator-website-search{margin-left:0}.alator-portal-top-links ul.linklist{display:flex;flex-wrap:wrap}.alator-portal-top-links li.rightside{float:none!important}.alator-theme-footer-image{height:240px}.alator-social-links{left:20px;top:auto;bottom:28px;transform:none;flex-wrap:wrap}.alator-social-location-footer_image_center,.alator-social-location-footer_image_right{left:20px;right:auto;transform:none}.alator-footer-cta{left:20px;right:20px;top:34px;font-size:14px}.alator-theme-footer-bar{grid-template-columns:1fr;gap:4px;padding:8px 10px}.alator-com-menu-preview{padding:0 12px;gap:12px;overflow-x:auto}.alator-com-footer-preview .social{left:18px}.alator-com-footer-preview .cta{left:15px;right:15px}.alator-com-footer-bar-preview{grid-template-columns:1fr}}

/* Phase 16N-V v03: Theme Adjustment Manager parity + visual-editor correction pass. */
html{background-color:var(--alator-body-bg,#f5f7fb);}
body{font-size:var(--alator-base-font-size,12px);font-weight:var(--alator-base-font-weight,400);font-style:var(--alator-base-font-style,normal);}
.alator-page,.wrap.alator-page{max-width:var(--alator-page-width,1184px);}
.alator-shell-parity{background:rgba(255,255,255,.96);}
.alator-topnav a,.alator-subnav a,.alator-footer a,.alator-tools-toggle{font-size:var(--alator-tab-font-size,12px)!important;font-weight:var(--alator-tab-font-weight,700)!important;font-style:var(--alator-tab-font-style,normal)!important;}
.alator-website-menu-list a{font-weight:var(--alator-menu-font-weight,400)!important;}
.alator-website-search button[aria-label="Show search"]{font-size:20px;line-height:1;color:var(--alator-search-icon-color,#fff)!important;}
.alator-theme-top-strip,.alator-theme-footer-bar{height:var(--alator-top-strip-height,36px);}
.alator-theme-footer-bar{min-height:var(--alator-footer-bar-height,36px);height:var(--alator-footer-bar-height,36px);}

/* Guest login/registration pages must match the internal header stack instead of using a separate oversized shell. */
body.alator-guest-page .alator-page,
body.alator-guest-page #wrap{
    max-width:var(--alator-page-width,1184px)!important;
    width:min(100%,var(--alator-page-width,1184px));
    margin:0 auto!important;
    padding:0!important;
    border-radius:0!important;
    border:0!important;
    box-shadow:none!important;
    background:rgba(255,255,255,.96)!important;
}
body.alator-guest-page .alator-content{padding:0 10px 10px!important;}
body.alator-guest-page .alator-header{min-height:var(--alator-header-logo-height,65px)!important;height:var(--alator-header-logo-height,65px)!important;border-radius:0!important;margin:0!important;}
body.alator-guest-page .alator-header .alator-logo-box img{max-height:var(--alator-logo-height,58px)!important;}
body.alator-guest-page .alator-mainnav.alator-portal-top-links{background:var(--alator-portal-links-bg,#c9ddec)!important;min-height:var(--alator-portal-links-height,28px)!important;border-top:0!important;margin:0!important;}
body.alator-guest-page .alator-mainnav .nav-main{min-height:var(--alator-portal-links-height,28px)!important;width:100%!important;}
body.alator-guest-page .alator-mainnav .nav-main>li:not(.rightside){display:inline-block!important;float:left!important;}
body.alator-guest-page .alator-mainnav .nav-main>li.rightside{display:inline-block!important;float:right!important;}
body.alator-guest-page .alator-mainnav a{color:var(--alator-portal-links-text,#075995)!important;background:transparent!important;}
body.alator-guest-page .alator-mainnav a:hover{color:var(--alator-portal-links-hover,#0b6fae)!important;background:transparent!important;}
body.alator-guest-page .alator-client-account-panel,
body.alator-guest-page .alator-login-source-panel,
body.alator-guest-page .alator-registration-panel,
body.alator-guest-page .alator-agreement-panel{margin-left:0!important;margin-right:0!important;}

/* Visual table editors for menu and social links. */
.alator-theme-help-panel p{margin:0 0 7px;}
.alator-theme-editor-panel{overflow-x:auto;}
.alator-theme-item-table{min-width:980px;table-layout:auto;}
.alator-theme-item-table th{white-space:nowrap;}
.alator-theme-item-table input[type="text"],
.alator-theme-item-table input[type="number"],
.alator-theme-item-table select{width:100%;max-width:100%;height:26px;padding:3px 5px;}
.alator-theme-item-table input[type="checkbox"]{vertical-align:middle;}
.alator-theme-item-table td:nth-child(1){min-width:130px;}
.alator-theme-item-table td:nth-child(2),.alator-theme-item-table td:nth-child(3){min-width:180px;}
.alator-theme-item-table td:nth-child(4){min-width:75px;}
.alator-theme-item-table td:nth-child(5){min-width:105px;}
.alator-theme-item-table .alator-new-row td{background:#eef8ff!important;border-top:2px solid #75b9cc;}
.alator-theme-settings-table select{min-width:220px;height:26px;}
.alator-theme-settings-table input[type="number"]{width:120px;}
.alator-theme-settings-table .alator-theme-long-input{min-width:320px;}

/* Make the configured outer background visible around the portal shell and keep mobile friendliness. */
body::before{z-index:0;}
#wrap.alator-page{position:relative;z-index:1;}
@media(max-width:800px){
    body.alator-guest-page .alator-page,body.alator-guest-page #wrap{width:100%!important;}
    body.alator-guest-page .alator-mainnav .nav-main>li:not(.rightside),
    body.alator-guest-page .alator-mainnav .nav-main>li.rightside{float:none!important;display:inline-block!important;}
    .alator-theme-item-table{min-width:760px;}
}

/* Phase 16N-V v04: submenu/dropdown, real icon buttons, background visibility, and dead-space removal fixes. */
html,body{margin:0!important;min-height:100%;}
body{position:relative;}
#wrap.alator-page,.wrap.alator-page,.alator-page,body.alator-authenticated.alator-admin-area .alator-page{
    max-width:var(--alator-page-width,1184px)!important;
    width:min(100%,var(--alator-page-width,1184px))!important;
    margin:0 auto!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:transparent!important;
}
.alator-page-header,.alator-content,.alator-theme-footer{background:rgba(255,255,255,.96);}
.alator-content{padding:10px 0 0!important;}
.alator-content>.alator-panel:first-child,.alator-content>form:first-child,.alator-content>h1:first-child{margin-top:0;}
.alator-panel{margin:10px 0!important;}
.alator-theme-footer{margin-top:0!important;}
body::before{z-index:0!important;}
#wrap.alator-page{z-index:1!important;}

.alator-weather-widget{display:inline-flex;align-items:center;gap:5px;}
.alator-weather-icon{display:inline-flex;align-items:center;justify-content:center;font-size:15px;line-height:1;color:var(--alator-top-strip-text,#fff);}
.alator-date-widget{margin-left:18px;}
.alator-theme-top-strip-inner{gap:10px;}

.alator-website-menu-list{position:relative;overflow:visible!important;flex-wrap:nowrap!important;}
.alator-website-menu-list>li{position:relative;}
.alator-website-menu-list>li>a{font-size:var(--alator-menu-font-size,14px)!important;font-weight:var(--alator-menu-font-weight,400)!important;}
.alator-dropdown-caret{font-size:12px;margin-left:4px;}
.alator-website-submenu{display:none;position:absolute;z-index:9000;top:100%;left:0;min-width:220px;margin:0;padding:9px 0;list-style:none;background:#fff;border:0;box-shadow:0 3px 12px rgba(0,0,0,.18);}
.alator-menu-has-children:hover>.alator-website-submenu,.alator-menu-has-children:focus-within>.alator-website-submenu{display:block;}
.alator-website-submenu li{display:block;margin:0;padding:0;}
.alator-website-submenu a{display:block!important;min-height:0!important;height:auto!important;padding:11px 24px!important;color:#111!important;background:#fff!important;text-shadow:none!important;font-size:13px!important;font-weight:700!important;line-height:1.2!important;white-space:nowrap;text-decoration:none!important;}
.alator-website-submenu a:hover{background:#f3f6f8!important;color:#075995!important;text-decoration:none!important;}

.alator-social-links{gap:9px!important;}
.alator-social-links a{border-radius:8px!important;background:#009b92!important;color:#fff!important;width:35px!important;height:35px!important;font-weight:700!important;font-size:13px!important;box-shadow:none!important;}
.alator-social-links a:hover{background:#00847d!important;transform:translateY(-1px);}
.alator-social-links svg{width:17px;height:17px;display:block;fill:currentColor;}
.alator-social-in{font-weight:700;font-size:14px;letter-spacing:-.5px;}
.alator-social-x{font-weight:700;font-size:15px;}
.alator-social-links a[title="Website"] svg{width:18px;height:18px;}
.alator-social-links a[title="YouTube"] svg{width:18px;height:18px;}

.alator-topnav.alator-mainnav.alator-portal-top-links{padding:0 10px!important;margin:0!important;}
.alator-portal-top-links .inner{width:100%!important;}
.alator-portal-top-links ul.linklist,.alator-portal-top-links .nav-main{display:flex!important;align-items:center!important;width:100%!important;margin:0!important;padding:0!important;min-height:var(--alator-portal-links-height,28px)!important;}
.alator-portal-top-links .nav-main>li{float:none!important;display:block!important;margin:0!important;padding:0!important;}
.alator-portal-top-links .nav-main>li:first-child{margin-right:auto!important;}
.alator-portal-top-links .nav-main>li.rightside{margin-left:0!important;}
body.alator-guest-page .alator-mainnav .nav-main>li:not(.rightside),body.alator-guest-page .alator-mainnav .nav-main>li.rightside{float:none!important;display:block!important;}
body.alator-guest-page .alator-mainnav .nav-main>li:first-child{margin-right:auto!important;}
body.alator-guest-page .alator-content{padding:0!important;background:rgba(255,255,255,.96)!important;}
body.alator-guest-page .alator-login-source-panel,body.alator-guest-page .alator-client-account-panel,body.alator-guest-page .alator-registration-panel,body.alator-guest-page .alator-agreement-panel{border-left:0!important;border-right:0!important;border-radius:0!important;margin:0!important;}

.alator-theme-menu-table{min-width:1120px;}
.alator-theme-menu-table td:first-child{min-width:160px;}
.alator-submenu-editor-row td:first-child,.alator-submenu-editor-row td:nth-child(2){background:#eef8ff!important;}
.alator-parent-menu-editor-row td:first-child,.alator-parent-menu-editor-row td:nth-child(2){background:#f7fbff!important;font-weight:700;}
.alator-theme-preview-shell .alator-com-menu-preview{overflow:visible;}
@media(max-width:800px){
    #wrap.alator-page,.wrap.alator-page,.alator-page{width:100%!important;}
    .alator-content{padding:8px 0 0!important;}
    .alator-website-menu-list{overflow-x:auto!important;overflow-y:visible!important;}
    .alator-website-submenu{position:static;box-shadow:none;min-width:0;}
    .alator-menu-has-children:hover>.alator-website-submenu,.alator-menu-has-children:focus-within>.alator-website-submenu{display:block;}
    .alator-portal-top-links ul.linklist,.alator-portal-top-links .nav-main{flex-wrap:wrap!important;}
}

/* Phase 16N-V v05: remove failed overlay, use real icon rendering, live weather icon SVGs, and final spacing cleanup. */
html, body {
    margin: 0 !important;
    min-height: 100% !important;
    background-color: var(--alator-body-bg, #f5f7fb) !important;
}
body::before {
    display: none !important;
    content: none !important;
    background: transparent !important;
    opacity: 0 !important;
}
#wrap.alator-page,
.wrap.alator-page,
.alator-page,
body.alator-authenticated.alator-admin-area .alator-page,
body.alator-guest-page .alator-page,
body.alator-guest-page #wrap {
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    max-width: var(--alator-page-width, 1184px) !important;
    width: min(100%, var(--alator-page-width, 1184px)) !important;
}
.alator-page-header,
.alator-content,
.alator-theme-footer {
    background: rgba(255,255,255,.96) !important;
}
.alator-content {
    padding: 10px 0 0 !important;
}
.alator-theme-footer {
    margin-top: 0 !important;
}
.alator-panel:first-child,
.alator-content > h1:first-child {
    margin-top: 0 !important;
}
.alator-theme-top-strip {
    border-radius: 0 !important;
}
.alator-theme-top-strip-inner {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
}
.alator-weather-widget {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
}
.alator-weather-icon,
.alator-weather-svg {
    display: inline-flex !important;
    width: 17px !important;
    height: 17px !important;
    color: var(--alator-top-strip-text, #fff) !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}
.alator-weather-svg circle {
    fill: currentColor !important;
    stroke: currentColor !important;
}
.alator-date-widget {
    white-space: nowrap !important;
    margin-left: 0 !important;
}
.alator-social-links {
    gap: 9px !important;
}
.alator-social-links a,
.alator-com-footer-preview .social {
    width: var(--alator-social-icon-size, 35px) !important;
    height: var(--alator-social-icon-size, 35px) !important;
    border-radius: var(--alator-social-icon-radius, 9px) !important;
    background: var(--alator-social-icon-bg, #009b92) !important;
    color: var(--alator-social-icon-text, #fff) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    text-indent: 0 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}
.alator-social-links a:hover {
    background: var(--alator-social-icon-hover-bg, #00847d) !important;
    transform: translateY(-1px);
}
.alator-social-links svg,
.alator-com-footer-preview .social svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    fill: currentColor !important;
}
.alator-social-links .alator-social-in,
.alator-social-links .alator-social-x,
.alator-com-footer-preview .alator-social-in,
.alator-com-footer-preview .alator-social-x {
    font-size: 14px !important;
    color: inherit !important;
    text-indent: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 700 !important;
}
.alator-social-links .alator-social-x,
.alator-com-footer-preview .alator-social-x {
    font-size: 15px !important;
}
.alator-portal-top-links ul.linklist,
.alator-portal-top-links .nav-main {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.alator-portal-top-links .nav-main > li {
    float: none !important;
    display: block !important;
}
.alator-portal-top-links .nav-main > li:first-child,
body.alator-guest-page .alator-mainnav .nav-main > li:first-child {
    margin-right: auto !important;
}
.alator-portal-top-links .nav-main > li.rightside,
body.alator-guest-page .alator-mainnav .nav-main > li.rightside {
    margin-left: 0 !important;
    float: none !important;
    display: block !important;
}
.alator-theme-settings-table select[name="settings[date_format]"] {
    min-width: 260px !important;
}
@media (max-width: 800px) {
    #wrap.alator-page,
    .wrap.alator-page,
    .alator-page,
    body.alator-guest-page .alator-page,
    body.alator-guest-page #wrap {
        width: 100% !important;
    }
    .alator-theme-top-strip-inner {
        flex-wrap: wrap !important;
        gap: 6px 12px !important;
        padding: 6px 12px !important;
    }
}


/* Phase 16N-V v06: weather unit superscript and outer-background save/render fix. */
.alator-weather-text{display:inline-block;line-height:1;}
.alator-weather-unit{font-size:9px;line-height:0;vertical-align:super;margin-left:1px;text-transform:uppercase;font-weight:700;}
html{background-color:var(--alator-body-bg,#f5f7fb)!important;}
body{background-color:var(--alator-body-bg,#f5f7fb)!important;}
body.alator-guest-page .alator-content{background:transparent!important;}

/* Phase 16N-W v03: Portal.com-style mobile menu/search, transparent logo cleanup, and guest registration gap repair. */
.alator-mobile-menu-open,.alator-mobile-search-open{display:none;border:0;background:transparent;color:#fff;font:700 15px Arial,Helvetica,sans-serif;cursor:pointer;align-items:center;justify-content:center;min-height:42px;padding:0 14px;text-shadow:0 1px 1px rgba(0,0,0,.4)}
.alator-mobile-search-open{margin-left:auto;font-size:24px;line-height:1;color:var(--alator-search-icon-color,#fff)}
.alator-mobile-menu-overlay,.alator-mobile-search-overlay{position:fixed;inset:0;background:#fff;z-index:99999;color:#333;overflow:auto}
.alator-mobile-panel,.alator-mobile-search-panel{min-height:100%;background:#fff;padding:64px 0 30px;box-sizing:border-box}
.alator-mobile-close{position:absolute;top:22px;right:24px;width:42px;height:42px;border:0;background:transparent;color:#222;font-size:42px;line-height:42px;font-weight:300;cursor:pointer}
.alator-mobile-menu-list,.alator-mobile-submenu{list-style:none;margin:0;padding:0;background:#fff}
.alator-mobile-menu-list>li{border-bottom:1px solid #e7e7e7}
.alator-mobile-menu-list a{display:flex!important;align-items:center;justify-content:space-between;min-height:48px;padding:0 26px!important;color:#333!important;text-decoration:none!important;font:400 15px Arial,Helvetica,sans-serif!important;text-shadow:none!important;background:#fff!important}
.alator-mobile-menu-list>li:first-child>a{background:#1ba4aa!important;color:#fff!important;font-weight:700!important}
.alator-mobile-submenu{border-top:1px solid #e7e7e7;background:#fafafa}
.alator-mobile-submenu a{padding-left:46px!important;background:#fafafa!important;color:#333!important}
.alator-mobile-submenu-toggle{margin-left:auto;border:0;background:transparent;color:inherit;font-size:28px;line-height:1;min-width:46px;min-height:46px;cursor:pointer;transform-origin:center;transition:transform .15s ease}
.alator-mobile-menu-list li.is-open>.alator-mobile-submenu-toggle,.alator-mobile-menu-list li.is-open>a .alator-mobile-submenu-toggle{transform:rotate(90deg)}
.alator-mobile-search-title{text-align:center;font:400 23px Arial,Helvetica,sans-serif;color:#333;margin:10px 0 50px}
.alator-mobile-search-panel form{max-width:82%;margin:0 auto;display:flex;gap:12px;align-items:center}
.alator-mobile-search-panel input[type="search"]{flex:1;border:0;border-bottom:1px solid #d6d6d6;background:#fff;font:400 18px Arial,Helvetica,sans-serif;padding:10px 0;outline:none;color:#333}
.alator-mobile-search-panel button[type="submit"]{border:1px solid #ccc;background:#f8f8f8;color:#333;padding:8px 12px;font-weight:700;cursor:pointer}
body.alator-mobile-modal-open{overflow:hidden!important}

body.alator-guest-page #page-body>h1{margin:0!important;padding:12px 14px!important;background:var(--alator-pale,#e6f1f8)!important;border:1px solid var(--alator-line,#b6d2e5)!important;border-bottom:0!important;border-radius:0!important;color:#2f3745!important;box-sizing:border-box}
body.alator-guest-page #page-body>h1+.alator-source-panel,
body.alator-guest-page #page-body>h1+.alator-registration-panel,
body.alator-guest-page #page-body>h1+.alator-agreement-panel,
body.alator-guest-page #page-body>h1+.alator-legal-panel{margin-top:0!important;border-top:1px solid var(--alator-line,#b6d2e5)!important;border-radius:0!important;background:var(--alator-pale,#e6f1f8)!important}
body.alator-guest-page .alator-source-submit-panel{margin-top:0!important;background:var(--alator-pale,#e6f1f8)!important;border-left:1px solid var(--alator-line,#b6d2e5)!important;border-right:1px solid var(--alator-line,#b6d2e5)!important;border-bottom:1px solid var(--alator-line,#b6d2e5)!important}

@media(max-width:800px){
  .alator-website-menu{height:48px!important;min-height:48px!important;padding:0 10px!important;background-position:center!important;overflow:visible!important}
  .alator-website-menu-inner{height:48px!important;min-height:48px!important;display:flex!important;align-items:center!important;flex-direction:row!important;gap:0!important;padding:0!important}
  .alator-mobile-menu-open,.alator-mobile-search-open{display:inline-flex!important}
  .alator-website-menu-list,.alator-website-search{display:none!important}
  .alator-header,.alator-header-inner{min-height:0!important;height:auto!important;padding:6px 10px!important;background:var(--alator-logo-area-bg,#e5f0f9)!important}
  .alator-logo-image-box{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:0!important;min-width:0!important;width:auto!important;height:auto!important;max-width:none!important;display:flex!important;align-items:center!important;justify-content:flex-start!important}
  .alator-logo-image-box img{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;height:auto!important;max-height:52px!important;width:auto!important;max-width:70vw!important;object-fit:contain!important;display:block!important}
  .alator-theme-top-strip-inner{min-height:28px!important;padding:4px 12px!important;gap:8px 12px!important;font-size:12px!important}
  .alator-weather-unit{font-size:8px!important;vertical-align:super!important;text-transform:uppercase!important;font-weight:700!important}
  body.alator-guest-page #page-body>h1{font-size:20px!important;margin:0!important;padding:10px 12px!important}
  body.alator-guest-page .alator-agreement-panel,body.alator-guest-page .alator-registration-panel{padding:10px 12px!important;margin:0!important}
  .grecaptcha-badge{z-index:100000!important;bottom:70px!important}
}
.alator-mobile-menu-row{display:flex;align-items:center;justify-content:space-between;border:0;background:#fff}.alator-mobile-menu-row>a{flex:1}.alator-mobile-menu-list>li:first-child>.alator-mobile-menu-row,.alator-mobile-menu-list>li:first-child>.alator-mobile-menu-row>a{background:#1ba4aa!important;color:#fff!important}.alator-mobile-menu-row .alator-mobile-submenu-toggle{align-self:stretch;background:transparent!important;color:inherit!important}


/* Phase 16N-W v04: mobile footer copyright bar height/visibility repair.
   The desktop footer bar uses a configured fixed height, but on phones the
   three footer items stack vertically.  Therefore mobile must use auto height
   so Terms, copyright, and Privacy all remain inside the blue bar and visible. */
@media (max-width:800px){
  .alator-theme-footer-bar{
    height:auto!important;
    min-height:var(--alator-footer-bar-height,36px)!important;
    grid-template-columns:1fr!important;
    grid-auto-rows:auto!important;
    align-items:center!important;
    justify-items:center!important;
    gap:5px!important;
    padding:9px 12px calc(9px + env(safe-area-inset-bottom,0px))!important;
    line-height:1.35!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }
  .alator-theme-footer-bar a,
  .alator-theme-footer-bar span{
    display:block!important;
    position:static!important;
    width:100%!important;
    max-width:100%!important;
    color:var(--alator-footer-bar-text,#fff)!important;
    text-align:center!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    opacity:1!important;
    visibility:visible!important;
  }
}

/* Phase 16N-X v06: portal-owned localized file input control. */
.alator-native-file-hidden{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;}
.alator-localized-file-wrap{display:inline-flex;align-items:center;gap:7px;vertical-align:middle;flex-wrap:wrap;}
.alator-localized-file-button{border:1px solid #444;background:#fff;color:#000;font-weight:700;border-radius:0;padding:4px 9px;font-size:12px;cursor:pointer;}
.alator-localized-file-name{font-size:12px;color:#333;}


/* Phase 16N-X v07: title-case visual cleanup; no forced all-caps portal labels. */
.alator-table th,.table1 th,.alator-original-table th,.alator-original-manager-table th,.alator-source-panel h2,.alator-original-panel h2,.alator-panel h2,body.alator-authenticated.alator-admin-area h2{ text-transform:none!important; }

/* Phase 16N-X v08: Russian sentence-case and robust translated file controls. */
.alator-native-file-hidden{position:absolute!important;left:-99999px!important;top:auto!important;width:0.1px!important;height:0.1px!important;opacity:0!important;overflow:hidden!important;z-index:-1!important;pointer-events:none!important;}
.alator-localized-file-wrap{display:inline-flex;align-items:center;gap:8px;vertical-align:middle;flex-wrap:wrap;}
.alator-localized-file-button{border:1px solid #6f8797;background:#fff;color:#075995;border-radius:3px;padding:3px 8px;font:700 12px Arial,Helvetica,sans-serif;cursor:pointer;}
.alator-localized-file-button:hover{background:#e6f1f8;}
.alator-localized-file-name{font-size:12px;color:#333;}
.alator-table th,.table1 th,.alator-original-table th,.alator-original-manager-table th,.alator-source-panel h2,.alator-original-panel h2,.alator-panel h2,body.alator-authenticated.alator-admin-area h2,.alator-profile-fieldset legend,.alator-ucp-tabs a,.alator-pm-sidebar a{text-transform:none!important;}
html[lang^="ru"] .alator-table th,html[lang^="ru"] .table1 th,html[lang^="ru"] .alator-original-table th,html[lang^="ru"] .alator-original-manager-table th{letter-spacing:0!important;}


/* Phase 16N-X v09: PHP-rendered localized file controls; no duplicate native Browse button. */
.alator-php-file-control{display:inline-flex;align-items:center;gap:8px;vertical-align:middle;flex-wrap:wrap;}
.alator-native-file-hidden{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;}
.alator-localized-file-button{display:inline-block;border:1px solid #6f8797;background:#fff;color:#075995;border-radius:3px;padding:3px 8px;font:700 12px Arial,Helvetica,sans-serif;cursor:pointer;line-height:1.35;text-decoration:none;}
.alator-localized-file-button:hover{background:#e6f1f8;text-decoration:none;}
.alator-localized-file-name{font-size:12px;color:#333;}
html[lang^="ru"] .alator-panel h2,html[lang^="ru"] .alator-source-panel h2,html[lang^="ru"] .alator-original-panel h2,html[lang^="ru"] .alator-profile-fieldset legend,html[lang^="ru"] .alator-table th,html[lang^="ru"] .table1 th,html[lang^="ru"] .alator-original-table th{ text-transform:none!important; letter-spacing:0!important; }


/* Phase 16N-X v10: upload-safe translated file controls, no JS and no duplicate native Browse button. */
.alator-php-file-control{display:inline-flex!important;align-items:center;gap:8px;vertical-align:middle;flex-wrap:wrap;}
.alator-file-picker-button-wrap{position:relative;display:inline-block;overflow:hidden;vertical-align:middle;}
.alator-file-picker-button-wrap .alator-localized-file-button{display:inline-block;border:1px solid #6f8797;background:#fff;color:#075995;border-radius:3px;padding:3px 8px;font:700 12px Arial,Helvetica,sans-serif;line-height:1.35;text-decoration:none;min-width:0;}
.alator-file-picker-button-wrap:hover .alator-localized-file-button{background:#e6f1f8;}
.alator-native-file-overlay{position:absolute!important;left:0!important;top:0!important;width:100%!important;height:100%!important;min-width:100%!important;opacity:0!important;cursor:pointer!important;z-index:3!important;font-size:120px!important;direction:ltr!important;}
.alator-localized-file-name{font-size:12px;color:#333;}
html[lang^="ru"] .alator-table th,html[lang^="ru"] .table1 th,html[lang^="ru"] .alator-original-table th,html[lang^="ru"] .alator-original-manager-table th,html[lang^="ru"] .alator-source-panel h2,html[lang^="ru"] .alator-original-panel h2,html[lang^="ru"] .alator-panel h2,html[lang^="ru"] body.alator-authenticated.alator-admin-area h2,html[lang^="ru"] .alator-profile-fieldset legend,html[lang^="ru"] .alator-ucp-tabs a,html[lang^="ru"] .alator-pm-sidebar a{text-transform:none!important;letter-spacing:0!important;}


/* Phase 16N-X v11: final Russian sentence-case and native upload-safe picker visibility. */
.alator-php-file-control{display:inline-flex!important;align-items:center!important;gap:8px!important;vertical-align:middle!important;flex-wrap:wrap!important;}
.alator-file-picker-button-wrap{position:relative!important;display:inline-block!important;overflow:hidden!important;vertical-align:middle!important;}
.alator-file-picker-button-wrap .alator-localized-file-button{display:inline-block!important;border:1px solid #6f8797!important;background:#fff!important;color:#075995!important;border-radius:3px!important;padding:3px 8px!important;font:700 12px Arial,Helvetica,sans-serif!important;line-height:1.35!important;text-decoration:none!important;min-width:0!important;}
.alator-native-file-overlay{position:absolute!important;left:0!important;top:0!important;width:100%!important;height:100%!important;min-width:100%!important;opacity:0!important;cursor:pointer!important;z-index:3!important;font-size:120px!important;direction:ltr!important;}
.alator-localized-file-name{display:inline-block!important;font-size:12px!important;color:#333!important;min-width:110px!important;}
html[lang^="ru"] h1,html[lang^="ru"] h2,html[lang^="ru"] h3,html[lang^="ru"] th,html[lang^="ru"] .alator-table th,html[lang^="ru"] .table1 th,html[lang^="ru"] .alator-horizontal-tabs a,html[lang^="ru"] .alator-ucp-left a,html[lang^="ru"] .alator-pm-sidebar a,html[lang^="ru"] .alator-page-title-gradient h1{text-transform:none!important;letter-spacing:0!important;}


/* Phase 16N-X v11: final Russian sentence-case and native upload-safe picker visibility. */
.alator-php-file-control{display:inline-flex!important;align-items:center!important;gap:8px!important;vertical-align:middle!important;flex-wrap:wrap!important;}
.alator-file-picker-button-wrap{position:relative!important;display:inline-block!important;overflow:hidden!important;vertical-align:middle!important;}
.alator-file-picker-button-wrap .alator-localized-file-button{display:inline-block!important;border:1px solid #6f8797!important;background:#fff!important;color:#075995!important;border-radius:3px!important;padding:3px 8px!important;font:700 12px Arial,Helvetica,sans-serif!important;line-height:1.35!important;text-decoration:none!important;min-width:0!important;}
.alator-native-file-overlay{position:absolute!important;left:0!important;top:0!important;width:100%!important;height:100%!important;min-width:100%!important;opacity:0!important;cursor:pointer!important;z-index:3!important;font-size:120px!important;direction:ltr!important;}
.alator-localized-file-name{display:inline-block!important;font-size:12px!important;color:#333!important;min-width:110px!important;}
html[lang^="ru"] h1,html[lang^="ru"] h2,html[lang^="ru"] h3,html[lang^="ru"] th,html[lang^="ru"] .alator-table th,html[lang^="ru"] .table1 th,html[lang^="ru"] .alator-horizontal-tabs a,html[lang^="ru"] .alator-ucp-left a,html[lang^="ru"] .alator-pm-sidebar a,html[lang^="ru"] .alator-page-title-gradient h1{text-transform:none!important;letter-spacing:0!important;}


/* Phase 16N-X v11: final Russian sentence-case and native upload-safe picker visibility. */
.alator-php-file-control{display:inline-flex!important;align-items:center!important;gap:8px!important;vertical-align:middle!important;flex-wrap:wrap!important;}
.alator-file-picker-button-wrap{position:relative!important;display:inline-block!important;overflow:hidden!important;vertical-align:middle!important;}
.alator-file-picker-button-wrap .alator-localized-file-button{display:inline-block!important;border:1px solid #6f8797!important;background:#fff!important;color:#075995!important;border-radius:3px!important;padding:3px 8px!important;font:700 12px Arial,Helvetica,sans-serif!important;line-height:1.35!important;text-decoration:none!important;min-width:0!important;}
.alator-native-file-overlay{position:absolute!important;left:0!important;top:0!important;width:100%!important;height:100%!important;min-width:100%!important;opacity:0!important;cursor:pointer!important;z-index:3!important;font-size:120px!important;direction:ltr!important;}
.alator-localized-file-name{display:inline-block!important;font-size:12px!important;color:#333!important;min-width:110px!important;}
html[lang^="ru"] h1,html[lang^="ru"] h2,html[lang^="ru"] h3,html[lang^="ru"] th,html[lang^="ru"] .alator-table th,html[lang^="ru"] .table1 th,html[lang^="ru"] .alator-horizontal-tabs a,html[lang^="ru"] .alator-ucp-left a,html[lang^="ru"] .alator-pm-sidebar a,html[lang^="ru"] .alator-page-title-gradient h1{text-transform:none!important;letter-spacing:0!important;}

/* Phase 21E: Admin footer continuity and controllable Portal Managers / Notifications header bar hover. */
body.alator-authenticated.alator-admin-area .alator-theme-footer { background:#fff!important; padding-top:18px!important; }
body.alator-authenticated.alator-admin-area .alator-admin-link { background:#fff!important; margin:0!important; padding:10px 0 36px!important; border-top:0!important; }
body.alator-authenticated #page-header .alator-admin-manager-row,
body.alator-authenticated.alator-admin-area #page-header .alator-admin-manager-row { background:var(--alator-portal-links-bg,#c9ddec)!important; }
body.alator-authenticated #page-header .alator-admin-manager-row > .inner > a:hover,
body.alator-authenticated #page-header .alator-admin-manager-row .alator-tools-toggle:hover,
body.alator-authenticated #page-header .alator-admin-manager-row .alator-tools-dropdown a:hover { background:var(--alator-portal-links-hover-bg,transparent)!important; color:var(--alator-portal-links-hover,#0b6fae)!important; text-decoration:var(--alator-portal-links-hover-decoration,none)!important; }
.alator-portal-top-links a:hover{background:var(--alator-portal-links-hover-bg,transparent)!important;text-decoration:var(--alator-portal-links-hover-decoration,none)!important;}
/* Phase 21E: PM section titles should use sentence/title case without forced uppercase in either language. */
.alator-section-title-row span { text-transform:none!important; letter-spacing:0!important; }

/* Phase 21E v02: footer continuity, Admin footer cleanup, controllable footer link hover, and English PM title-case parity. */
.alator-page-header,
.alator-content,
.alator-theme-footer,
.alator-admin-link{
    background:#fff!important;
}
.alator-theme-footer{
    margin-top:0!important;
    padding-top:18px!important;
}
.alator-theme-footer-image{
    margin-top:0!important;
}
.alator-admin-link{
    margin:0!important;
    padding:8px 0 6px!important;
    min-height:0!important;
    border-top:0!important;
    line-height:1.2!important;
}
body.alator-authenticated #page-header .alator-admin-manager-row,
body.alator-authenticated.alator-admin-area #page-header .alator-admin-manager-row,
body.alator-authenticated #page-header .alator-noticebar,
.alator-portal-top-links{
    background:var(--alator-portal-links-bg,#c9ddec)!important;
}
body.alator-authenticated #page-header .alator-admin-manager-row a,
body.alator-authenticated #page-header .alator-admin-manager-row .alator-tools-toggle,
body.alator-authenticated #page-header .alator-noticebar a,
.alator-portal-top-links a{
    color:var(--alator-portal-links-text,#075995)!important;
}
body.alator-authenticated #page-header .alator-admin-manager-row > .inner > a:hover,
body.alator-authenticated #page-header .alator-admin-manager-row .alator-tools-toggle:hover,
body.alator-authenticated #page-header .alator-admin-manager-row .alator-tools-dropdown a:hover,
body.alator-authenticated #page-header .alator-noticebar a:hover,
.alator-portal-top-links a:hover{
    background:var(--alator-portal-links-hover-bg,transparent)!important;
    color:var(--alator-portal-links-hover,#0b6fae)!important;
    text-decoration:var(--alator-portal-links-hover-decoration,none)!important;
}
.alator-theme-footer-bar a:hover{
    color:var(--alator-footer-bar-link-hover,#ffffff)!important;
    text-decoration:var(--alator-footer-bar-link-hover-decoration,none)!important;
}
.alator-section-title-row span,
.alator-pm-panel h3,
.alator-pm-settings-block h3{
    text-transform:none!important;
    letter-spacing:0!important;
}


/* Phase 21E v03: final footer gap removal.
   The footer must touch the page content directly on every portal page.
   The separate Administration Control Panel footer label has been removed from layout.php. */
#wrap.alator-page,
.wrap.alator-page,
.alator-page{
    padding-bottom:0!important;
    margin-bottom:0!important;
}
#page-body,
.alator-content{
    padding-bottom:0!important;
    margin-bottom:0!important;
}
#page-body > :last-child,
.alator-content > :last-child,
#page-body > form:last-child,
.alator-content > form:last-child,
#page-body > .alator-panel:last-child,
.alator-content > .alator-panel:last-child{
    margin-bottom:0!important;
}
.alator-theme-footer{
    margin-top:0!important;
    padding-top:0!important;
    padding-bottom:0!important;
    background:#fff!important;
    line-height:normal!important;
}
.alator-theme-footer-image{
    display:block!important;
    margin:0!important;
    border:0!important;
}
.alator-theme-footer-bar{
    margin:0!important;
}
.alator-admin-link{
    display:none!important;
    height:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
}
body.alator-guest-page #page-body,
body.alator-guest-page .alator-content,
body.alator-authenticated #page-body,
body.alator-authenticated .alator-content,
body.alator-authenticated.alator-admin-area #page-body,
body.alator-authenticated.alator-admin-area .alator-content{
    padding-bottom:0!important;
    margin-bottom:0!important;
}
body.alator-guest-page .alator-theme-footer,
body.alator-authenticated .alator-theme-footer,
body.alator-authenticated.alator-admin-area .alator-theme-footer{
    margin-top:0!important;
    padding-top:0!important;
    padding-bottom:0!important;
}
body.alator-guest-page .alator-theme-footer-image,
body.alator-authenticated .alator-theme-footer-image,
body.alator-authenticated.alator-admin-area .alator-theme-footer-image{
    margin-top:0!important;
}

/* Phase 21H: file-based runtime language selector in top strip. */
/* Phase 21H v02: language menu uses direct PHP links, no language cookies, no JS switching. */
.portal-language-menu{margin-left:auto;position:relative;display:inline-flex;align-items:center;white-space:nowrap;font-size:12px;font-weight:700;line-height:1;z-index:50;}
.portal-language-menu-toggle{height:24px;min-width:190px;max-width:310px;border:1px solid rgba(255,255,255,.75);border-radius:3px;background:#fff;color:#123;padding:0 8px;display:inline-flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;font-weight:700;cursor:pointer;}
.portal-language-menu-current{overflow:hidden;text-overflow:ellipsis;}
.portal-language-caret{font-size:10px;line-height:1;}
.portal-language-menu-list{display:none;position:absolute;right:0;top:100%;min-width:230px;max-height:360px;overflow:auto;margin:2px 0 0;padding:4px 0;list-style:none;background:#fff;border:1px solid #8fb6d5;border-radius:4px;box-shadow:0 5px 18px rgba(0,0,0,.22);z-index:1000;}
.portal-language-menu:hover .portal-language-menu-list,.portal-language-menu:focus-within .portal-language-menu-list{display:block;}
.portal-language-menu-list li{margin:0;padding:0;}
.portal-language-menu-list a{display:block;padding:7px 12px;color:#105289!important;text-decoration:none;font-weight:700;white-space:nowrap;}
.portal-language-menu-list a:hover,.portal-language-menu-list li.is-active a{background:#e5f0f9;color:#003f79!important;}
.portal-rtl .portal-language-menu{direction:ltr;}
.portal-rtl .portal-language-menu-list a[dir="rtl"]{direction:rtl;text-align:right;}
@media(max-width:800px){.portal-language-menu{margin-left:0;width:100%;justify-content:flex-start}.portal-language-menu-toggle{min-width:190px;max-width:90%}.portal-language-menu-list{left:0;right:auto;}}

/* Phase 21H v03B-R10: legal-page formatting to match the ALATOR reference pages. */
.alator-legal-document{font-size:15px;line-height:1.72;color:#1f2933;}
.alator-legal-document h3{font-size:20px;font-weight:700;margin:0 0 14px 0;color:#111827;}
.alator-legal-document h4{font-size:16px;font-weight:700;margin:24px 0 8px 0;color:#111827;}
.alator-legal-document p{margin:0 0 14px 0;}
.alator-legal-document strong{font-weight:700;}
.alator-legal-document em{font-style:italic;}
.alator-legal-document a{font-weight:400;text-decoration:none;}
.alator-legal-document a:hover{text-decoration:underline;}
.alator-policy-links a{font-weight:400;}

/* R21O v08: footer social icons match Theme Adjustment Manager preview size */
.alator-social-links a.alator-social-asset-link,
.alator-social-links a.alator-social-asset-link:link,
.alator-social-links a.alator-social-asset-link:visited {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    border-radius: 9px !important;
    background: var(--alator-social-icon-bg,#009b92) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,.15) !important;
    padding: 0 !important;
    margin: 0 4px 0 0 !important;
    line-height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
}
.alator-social-links a.alator-social-asset-link:hover {
    background: var(--alator-social-icon-hover-bg,#00aaa0) !important;
    filter: none !important;
}
.alator-social-links a.alator-social-asset-link .alator-social-icon-img {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    object-fit: contain !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
}
.alator-social-links {
    gap: 5px !important;
}

/* Phase 21H v03B R21P: Theme Adjustment Manager is the single authority for footer social icon sizing/hover. */
.alator-social-links{
    gap: var(--alator-social-icon-gap, 6px) !important;
}
.alator-social-links a.alator-social-asset-link,
.alator-social-links a.alator-social-asset-link:link,
.alator-social-links a.alator-social-asset-link:visited{
    width: var(--alator-social-icon-size, 32px) !important;
    height: var(--alator-social-icon-size, 32px) !important;
    min-width: var(--alator-social-icon-size, 32px) !important;
    min-height: var(--alator-social-icon-size, 32px) !important;
    max-width: var(--alator-social-icon-size, 32px) !important;
    max-height: var(--alator-social-icon-size, 32px) !important;
    border-radius: var(--alator-social-icon-radius, 9px) !important;
    background: var(--alator-social-icon-bg, #009b92) !important;
    color: var(--alator-social-icon-text, #fff) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,.15) !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: var(--alator-social-icon-size, 32px) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    filter: none !important;
}
.alator-social-links a.alator-social-asset-link:hover{
    background: var(--alator-social-icon-hover-bg, #dd9933) !important;
    color: var(--alator-social-icon-text, #fff) !important;
    filter: none !important;
}
.alator-social-links a.alator-social-asset-link .alator-social-icon-img{
    width: var(--alator-social-icon-artwork-size, 20px) !important;
    height: var(--alator-social-icon-artwork-size, 20px) !important;
    min-width: var(--alator-social-icon-artwork-size, 20px) !important;
    min-height: var(--alator-social-icon-artwork-size, 20px) !important;
    max-width: var(--alator-social-icon-artwork-size, 20px) !important;
    max-height: var(--alator-social-icon-artwork-size, 20px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    object-fit: contain !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Portal Access / Maintenance Manager v1.0.0 */
.alator-maintenance-page{margin:0;padding:34px 34px 38px;background:linear-gradient(180deg,#eef7fc 0%,#f9fcfe 54%,#edf6fb 100%);border:1px solid #b7d4e7;box-shadow:0 8px 28px rgba(17,70,110,.10) inset;min-height:430px;box-sizing:border-box}
.alator-maintenance-hero{display:grid;grid-template-columns:118px minmax(0,1fr);gap:28px;align-items:center;max-width:860px;margin:0 auto 30px;padding:28px 30px;border:1px solid #a9cee5;border-radius:14px;background:linear-gradient(135deg,#ffffff 0%,#edf7fd 66%,#dceff9 100%);box-shadow:0 10px 24px rgba(23,83,124,.12)}
.alator-maintenance-symbol{width:104px;height:104px;border-radius:50%;position:relative;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#2175b8,#0b568d);box-shadow:0 8px 18px rgba(0,65,110,.25),inset 0 1px 0 rgba(255,255,255,.35)}
.alator-maintenance-main-icon{width:78px;height:78px;color:#fff;display:block;filter:drop-shadow(0 2px 4px rgba(0,0,0,.18))}
.alator-maintenance-kicker{font:700 12px/1.3 Arial,Helvetica,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#2175b8;margin-bottom:7px}
.alator-maintenance-copy h1{margin:0 0 10px!important;padding:0!important;border:0!important;color:#173b55!important;font:700 28px/1.18 Arial,Helvetica,sans-serif!important;letter-spacing:0!important;text-transform:none!important}
.alator-maintenance-lead{margin:0;color:#405363;font:400 15px/1.65 Verdana,Arial,sans-serif}
.alator-maintenance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:860px;margin:0 auto}
.alator-maintenance-card{padding:20px 19px 21px;border:1px solid #bfd9e8;border-radius:10px;background:#fff;box-shadow:0 6px 18px rgba(26,76,111,.07)}
.alator-maintenance-card-icon{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:50%;background:#e7f3fa;color:#17689f;margin-bottom:11px}
.alator-maintenance-card-icon svg{width:20px;height:20px;display:block;fill:currentColor}
.alator-maintenance-card h2{margin:0 0 8px!important;padding:0!important;border:0!important;color:#155f94!important;font:700 14px/1.3 Arial,Helvetica,sans-serif!important;text-transform:none!important;letter-spacing:0!important}
.alator-maintenance-card p{margin:0;color:#536472;font:400 13px/1.58 Verdana,Arial,sans-serif}
.alator-maintenance-footer-note{max-width:860px;margin:22px auto 0;padding:15px 18px;border-radius:8px;background:#dfeff8;border:1px solid #bfd8e7;color:#345365;text-align:center;font:400 12px/1.55 Verdana,Arial,sans-serif}
.alator-maintenance-footer-note strong{display:block;color:#164f77;font-size:13px;margin-bottom:2px}

.alator-access-manager-status{display:grid;grid-template-columns:58px 1fr;gap:14px;align-items:start}
.alator-access-manager-status-icon{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;font:700 24px/1 Arial,Helvetica,sans-serif;color:#fff;background:#4f8e63;box-shadow:0 3px 10px rgba(0,0,0,.12)}
.alator-access-manager-status.is-maintenance .alator-access-manager-status-icon{background:#c48a24}
.alator-access-manager-state{margin:2px 0 5px;font-size:14px}
.alator-access-manager-status.is-open .alator-access-manager-state strong{color:#24633a}
.alator-access-manager-status.is-maintenance .alator-access-manager-state strong{color:#8b5b09}
.alator-access-manager-updated{font-size:11px;color:#657481}
.alator-access-manager-form{max-width:840px}
.alator-access-choice{display:flex;gap:10px;align-items:flex-start;padding:13px 14px;margin:9px 0;border:1px solid #bfd2df;border-radius:7px;background:#f7fbfd;cursor:pointer}
.alator-access-choice.is-selected{border-color:#5d9bc6;background:#eaf5fb;box-shadow:inset 3px 0 0 #2175b8}
.alator-access-choice input{margin-top:3px}
.alator-access-choice span{display:block}
.alator-access-choice strong{display:block;color:#174f76;margin-bottom:3px}
.alator-access-choice small{display:block;color:#526675;font-size:12px;line-height:1.45}
.alator-access-preview-links{display:flex;gap:8px;flex-wrap:wrap}
.alator-access-recovery-url{margin:9px 0;padding:10px 12px;background:#fff;border:1px solid #c7d6df;border-radius:5px;overflow-wrap:anywhere}
.alator-access-recovery-url code{font-size:12px;color:#244b63}

@media(max-width:800px){
  .alator-maintenance-page{padding:20px 12px 26px;min-height:0}
  .alator-maintenance-hero{grid-template-columns:1fr;gap:16px;padding:22px 18px;text-align:center}
  .alator-maintenance-symbol{width:88px;height:88px;margin:0 auto}
  .alator-maintenance-main-icon{width:66px;height:66px}
  .alator-maintenance-copy h1{font-size:23px!important}
  .alator-maintenance-grid{grid-template-columns:1fr}
  .alator-maintenance-card{padding:17px}
  .alator-access-manager-status{grid-template-columns:1fr}
}
