.als-admin-login-choices{display:flex;flex-wrap:wrap;gap:14px;margin:22px 0}.als-admin-login-choices a{flex:1;text-align:center;white-space:nowrap}
.als-admin-shell{min-height:80vh}.als-admin-shell .als-portal-sidebar{min-width:220px}.als-admin-shell .als-portal-main{min-width:0}.als-admin-shell .als-portal-header{min-height:0;padding:24px}.als-admin-shell .als-portal-header h2{font-size:28px}.als-admin-shell .als-portal-card{margin:18px 0}.als-admin-shell .als-portal-card-body{padding:22px}.als-admin-shell .als-sidebar-link{white-space:normal}.als-admin-shell .als-admin-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.als-admin-shell label{display:block;color:#e3c08a;font-weight:700;font-size:12px;margin:10px 0}.als-admin-shell input,.als-admin-shell select{display:block;width:100%;min-width:0;box-sizing:border-box;margin-top:6px;padding:10px;border:1px solid #95723f;border-radius:6px;background:#21180f;color:white;font-size:15px;min-height:42px}.als-admin-shell form{margin:15px 0}.als-admin-shell .als-core-button{display:inline-block;background:#d4b176;color:#281b10;border:1px solid #b99758;border-radius:8px;padding:10px 16px;font-size:13px;cursor:pointer;text-decoration:none;font-weight:700}.als-admin-shell .als-admin-record{border-bottom:1px solid #806543;padding:16px 0}.als-admin-shell summary{cursor:pointer;color:#e3c08a;font-weight:700}.als-admin-shell .als-admin-table{overflow-x:auto}.als-admin-shell table{width:100%;border-collapse:collapse;color:white}.als-admin-shell th,.als-admin-shell td{padding:12px 8px;text-align:left;border-bottom:1px solid #806543;vertical-align:top}.als-admin-shell th{color:#e3c08a;font-size:12px}.als-admin-shell .als-admin-notice{padding:14px;border:1px solid #b99758;color:white}.als-admin-shell .als-portal-topbar{gap:16px}.als-admin-shell a{overflow-wrap:anywhere}.als-admin-shell .als-portal-header p{max-width:65ch}.als-admin-shell .als-sidebar-bottom a{display:block;margin:12px 0}.als-admin-shell .wrap{margin:0}.als-admin-shell .regular-text{max-width:100%}
@media(max-width:1000px){.als-admin-shell .als-admin-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.als-admin-shell{display:block}.als-admin-shell .als-portal-sidebar{width:100%;position:static}.als-admin-shell .als-admin-fields{grid-template-columns:1fr}.als-admin-shell .als-portal-main{padding:12px}.als-admin-shell .als-portal-card-body{padding:14px}}
.als-admin-shell.als-portal-shell{background:#21190f;color:#f9f3e8}.als-admin-shell .als-portal-sidebar{background:linear-gradient(175deg,#211a10,#31331f)}.als-admin-shell .als-portal-card,.als-admin-shell .als-portal-header{background:#2b2217;color:#f9f3e8;border-color:#806543}.als-admin-shell .als-portal-topbar,.als-admin-shell h2,.als-admin-shell h3,.als-admin-shell .als-page-title{color:#e3c08a}.als-admin-shell .als-portal-header h2,.als-admin-shell .als-view-heading{color:#e3c08a}.als-admin-shell .als-portal-header p,.als-admin-shell p{color:#f6ebda}.als-admin-shell .als-portal-header:after{display:none}

.als-core.als-admin-shell h2{color:#e3c08a!important}.als-admin-shell .als-portal-card-body{color:#f9f3e8}

/* Independent auth styles: never inherit the legacy member login panel. */
body.als-pa-auth-page{margin:0;background:linear-gradient(135deg,#211a10,#31331f);color:#f5e9d9;min-height:100vh;font-family:var(--ast-body-font-family,Arial,sans-serif)}
.als-pa-auth-page .als-dashboard-container{padding:40px 20px;box-sizing:border-box;min-height:100vh}
.als-pa-auth{box-sizing:border-box;width:100%;max-width:520px;margin:0 auto;padding:clamp(22px,5vw,40px);background:linear-gradient(125deg,#2b241d,#3a3026 55%,#201b17);border:1px solid #b99758;border-radius:10px;color:#f5e9d9;box-shadow:0 16px 40px #0004;font-family:inherit;line-height:1.55}
.als-pa-auth h2{margin:0 0 12px;color:#edc98b;font-family:inherit;font-size:clamp(22px,5vw,28px);font-weight:700;text-align:center;line-height:1.3}
.als-pa-auth p{color:#f5e9d9;font-size:14px;margin:16px 0;text-align:center}
.als-pa-auth label{display:block;margin:20px 0;color:#e3c08a;font-size:13px;font-weight:700;letter-spacing:.04em}
.als-pa-auth input{display:block;width:100%;box-sizing:border-box;min-height:46px;margin-top:8px;padding:11px 12px;border:1px solid #a98655;border-radius:5px;background:#21150f;color:#fbe7c9;font:inherit;font-size:16px;letter-spacing:normal}
.als-pa-auth .als-cm-button{display:block;box-sizing:border-box;width:100%;padding:12px 18px;min-height:46px;background:linear-gradient(110deg,#eed6a7,#d9b775);color:#302315;border:1px solid #d7c9ad;border-radius:5px;font:inherit;font-size:14px;font-weight:700;text-align:center;text-decoration:none;cursor:pointer}
.als-pa-auth .als-cm-button:hover{background:linear-gradient(110deg,#f5e2bd,#e8c990)}
.als-pa-auth a{color:#edc98b;text-underline-offset:4px}
.als-pa-auth a:hover{color:#fff2dc}
.als-pa-auth :is(input,button,a):focus-visible{outline:2px solid #edc98b;outline-offset:3px}
.als-pa-auth [role=status]{border:1px solid #a98655;border-left:4px solid #edc98b;padding:12px;background:#21150f;text-align:left}
.als-admin-shell input[type=checkbox]{width:auto;min-height:0;display:inline-block}
@media(max-width:520px){.als-pa-auth-page .als-dashboard-container{padding:24px 14px}}

/* Keep auth labels legible over theme and plugin overrides. */
body.als-pa-auth-page .als-pa-auth label{color:#edc98b!important;-webkit-text-fill-color:#edc98b!important;font-weight:800!important}
body.als-pa-auth-page .als-pa-auth .als-pa-auth-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin:28px 0 0;width:100%}
body.als-pa-auth-page .als-pa-auth a.als-pa-small-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:38px;padding:7px 14px;border:1px solid #d7c9ad;border-radius:5px;background:linear-gradient(110deg,#eed6a7,#d9b775);color:#302315!important;-webkit-text-fill-color:#302315!important;font-size:12px;font-weight:800;text-decoration:none;line-height:1.4}
body.als-pa-auth-page .als-pa-auth a.als-pa-small-button:hover{background:#593222;color:#fff!important;-webkit-text-fill-color:#fff!important}

/* The public assistance avatar and launcher are unnecessary in the admin workspace. */
body.als-pa-dashboard-page #alsu-assistant{display:none!important;visibility:hidden!important;pointer-events:none!important}

/* One shared button appearance across the independent admin workspace. */
body .als-core.als-admin-shell :is(button,.als-core-button,a.als-sidebar-link,.als-sidebar-bottom>a){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px!important;border:1px solid #d7c9ad!important;border-radius:6px!important;background:linear-gradient(110deg,#eed6a7,#d9b775)!important;color:#302315!important;-webkit-text-fill-color:#302315!important;font-family:inherit;font-size:14px!important;font-weight:700!important;line-height:1.4;text-decoration:none!important;cursor:pointer;box-shadow:none}
body .als-core.als-admin-shell :is(button,.als-core-button,a.als-sidebar-link,.als-sidebar-bottom>a):hover{background:#593222!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#edc98b!important}
body .als-core.als-admin-shell :is(button,.als-core-button,a.als-sidebar-link,.als-sidebar-bottom>a):focus-visible{outline:2px solid #edc98b!important;outline-offset:3px}
body .als-core.als-admin-shell .als-sidebar-nav{display:grid;gap:10px}
body .als-core.als-admin-shell .als-sidebar-nav>a,body .als-core.als-admin-shell .als-sidebar-bottom>a{width:100%}
body .als-core.als-admin-shell a.als-sidebar-link.is-active{box-shadow:inset 4px 0 #78532c;font-weight:800!important;border-color:#fff0cc!important}
body .als-core.als-admin-shell button:disabled{opacity:.6;cursor:wait}

body .als-admin-shell .als-pa-log-count{color:#edc98b!important;text-decoration:underline!important;text-underline-offset:4px;font-weight:800;font-size:18px}body .als-admin-shell .als-pa-log-count:hover{color:#fff!important}body .als-admin-shell .als-pa-log-summary td{text-align:center}body .als-admin-shell .als-pa-log-summary{min-width:480px}

/* Log table typography follows admin button labels, centred in every cell. */
body .als-core.als-admin-shell :is(.als-pa-log-summary,.als-pa-log-details) :is(th,td){font-family:inherit!important;font-size:14px!important;font-weight:700!important;line-height:1.4!important;text-align:center!important;vertical-align:middle!important;color:#edc98b!important;text-transform:uppercase;overflow-wrap:anywhere;padding:14px 12px}
body .als-core.als-admin-shell :is(.als-pa-log-summary,.als-pa-log-details) th{font-weight:700!important}
body .als-core.als-admin-shell :is(.als-pa-log-summary,.als-pa-log-details) .als-pa-log-count{font-family:inherit!important;font-size:14px!important;font-weight:700!important;line-height:1.4!important}
body .als-core.als-admin-shell .als-pa-log-details td{ text-transform:none }

/* Compact log tables with a stronger gold frame. */
body .als-core.als-admin-shell :is(.als-pa-log-summary,.als-pa-log-details){border:3px solid #d9b775!important;border-collapse:collapse;margin:0}
body .als-core.als-admin-shell :is(.als-pa-log-summary,.als-pa-log-details) :is(th,td){padding:8px 10px!important;line-height:1.3!important}
body .als-core.als-admin-shell .als-pa-log-summary{max-width:900px;width:100%;margin-inline:auto}
@media(min-width:1100px){body .als-core.als-admin-shell .als-portal-header{display:block}body .als-core.als-admin-shell .als-portal-header p{max-width:none;font-size:14px!important;white-space:nowrap;overflow-x:auto}}

body .als-core.als-admin-shell .als-pa-profile-scroll{max-width:100%;overflow-x:auto}body .als-core.als-admin-shell .als-pa-profiles{width:max-content;min-width:100%;table-layout:auto}body .als-core.als-admin-shell .als-pa-profiles :is(th,td){min-width:145px;max-width:260px;white-space:normal}
body .als-core.als-admin-shell .als-pa-profile-search{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin-bottom:14px}
body .als-core.als-admin-shell .als-pa-profile-search label{margin:0;flex:0 1 180px}
body .als-core.als-admin-shell .als-pa-profile-search .als-pa-search-value{flex-basis:240px}
body .als-core.als-admin-shell .als-pa-profile-search :is(input,select){width:100%;min-height:42px}
body .als-core.als-admin-shell .als-pa-profile-actions{display:flex;gap:12px;flex-wrap:wrap}
body .als-core.als-admin-shell .als-pa-field-picker{position:relative;display:inline-block;max-width:100%}
body .als-core.als-admin-shell .als-pa-field-picker>summary{list-style:none}
body .als-core.als-admin-shell .als-pa-field-picker>summary::after{content:' ▾'}
body .als-core.als-admin-shell .als-pa-field-options{position:absolute;left:0;top:100%;z-index:50;width:280px;max-width:calc(100vw - 64px);max-height:340px;overflow:auto;padding:10px;background:#2b2217;border:2px solid #d9b775;border-radius:6px;box-shadow:0 10px 25px #0006}
body .als-core.als-admin-shell .als-pa-field-options label{display:flex;align-items:center;gap:9px;margin:0;padding:8px;font-size:12px;cursor:pointer}
body .als-core.als-admin-shell .als-pa-field-options input[type=checkbox]{display:inline-block;flex:0 0 17px;width:17px;height:17px;min-height:17px;margin:0;padding:0;accent-color:#d9b775}
body .als-core.als-admin-shell .als-pa-profiles [hidden]{display:none!important}

/* Content-sized columns and one compact toolbar. */
body .als-core.als-admin-shell .als-pa-profiles{width:auto;min-width:0;max-width:none}
body .als-core.als-admin-shell .als-pa-profiles :is(th,td){min-width:0;max-width:220px;width:auto;padding:6px 8px!important;overflow-wrap:normal;word-break:normal;white-space:nowrap}
body .als-core.als-admin-shell .als-pa-profiles :is(th,td)[data-als-column="family_name"],body .als-core.als-admin-shell .als-pa-profiles :is(th,td)[data-als-column="display_name"]{white-space:normal;min-width:110px;overflow-wrap:anywhere}
body .als-core.als-admin-shell .als-pa-profile-search{gap:10px;width:100%;margin-bottom:12px;box-sizing:border-box}
body .als-core.als-admin-shell .als-pa-profile-search label{flex:0 0 160px}
body .als-core.als-admin-shell .als-pa-profile-search .als-pa-search-value{flex:0 1 220px}
body .als-core.als-admin-shell .als-pa-profile-search>.als-pa-field-picker{margin-left:auto;flex:0 0 auto}
body .als-core.als-admin-shell .als-pa-profile-search .als-pa-field-options{left:auto;right:0}
body .als-core.als-admin-shell .als-pa-search-menu{position:relative;margin-top:6px}
body .als-core.als-admin-shell .als-pa-search-menu>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;box-sizing:border-box;min-height:42px;padding:10px 12px;border:1px solid #d7c9ad;border-radius:6px;background:linear-gradient(110deg,#eed6a7,#d9b775);color:#302315;font-size:14px;font-weight:700;cursor:pointer;letter-spacing:normal}
body .als-core.als-admin-shell .als-pa-search-menu>summary::after{content:'▾';margin-left:12px}
body .als-core.als-admin-shell .als-pa-search-menu>summary:hover{background:#593222;color:white}
body .als-core.als-admin-shell .als-pa-search-options{position:absolute;top:100%;left:0;z-index:60;min-width:100%;background:#302017;border:1px solid #d9b775;border-radius:5px;padding:5px;box-shadow:0 8px 22px #0006;box-sizing:border-box}
body .als-core.als-admin-shell .als-pa-search-options button{display:block;width:100%;white-space:nowrap;text-align:left;border:0!important;border-radius:3px!important;background:#302017!important;color:#edc98b!important;-webkit-text-fill-color:#edc98b!important;padding:9px 12px!important}
body .als-core.als-admin-shell .als-pa-search-options button:hover{background:#593222!important;color:white!important;-webkit-text-fill-color:white!important}
body .als-core.als-admin-shell .als-pa-search-options button[aria-pressed=true]{box-shadow:inset 3px 0 #edc98b}
body .als-core.als-admin-shell .als-pa-search-menu>summary:focus-visible{outline:2px solid #edc98b;outline-offset:3px}
@media(max-width:700px){body .als-core.als-admin-shell .als-pa-profile-search label{flex:1 1 130px}body .als-core.als-admin-shell .als-pa-profile-search .als-pa-search-value{flex:1 1 160px}}

body .als-core.als-admin-shell #als-pa-search-by[hidden]{display:none!important}

body .als-core.als-admin-shell .als-pa-profiles [data-als-column="sl_no"]{min-width:0;width:1%;white-space:nowrap;padding:6px 8px!important}

body .als-core.als-admin-shell .als-pa-case-summary{width:100%;min-width:640px}body .als-core.als-admin-shell .als-pa-case-summary th[scope=row]{text-transform:none}

body .als-core.als-admin-shell .als-pa-case-link{color:#edc98b!important;font:inherit;font-weight:700;text-decoration:underline!important;text-underline-offset:3px}
body .als-core.als-admin-shell .als-pa-case-link:hover{color:#fff!important}
body .als-core.als-admin-shell .als-pa-case-link:focus-visible{outline:2px solid #edc98b;outline-offset:3px}
body .als-core.als-admin-shell .als-pa-case-details{width:max-content;min-width:100%}
body .als-core.als-admin-shell .als-pa-case-details :is(th,td){max-width:240px;white-space:nowrap;padding:7px 9px!important}
body .als-core.als-admin-shell .als-pa-case-detail-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}

body .als-core.als-admin-shell .als-pa-case-summary th:first-child{text-align:left!important}

body .als-core.als-admin-shell .als-pa-case-fields-toolbar{display:flex;justify-content:flex-end;margin:12px 0}
body .als-core.als-admin-shell .als-pa-case-fields-toolbar .als-pa-field-options{left:auto;right:0}
body .als-core.als-admin-shell .als-pa-case-details [hidden]{display:none!important}

body .als-core.als-admin-shell .als-pa-case-summary tfoot{border-top:3px solid #d9b775;background:#3a2b1b}body .als-core.als-admin-shell .als-pa-case-summary tfoot :is(th,td){font-weight:800!important}

body .als-core.als-admin-shell #als-pa-case-results h3,body .als-core.als-admin-shell #als-pa-case-editor>summary{color:#edc98b!important;-webkit-text-fill-color:#edc98b!important;font-size:18px!important;font-weight:700!important}
body .als-core.als-admin-shell .als-pa-date-wrap{display:block;position:relative;margin-top:6px}
body .als-core.als-admin-shell .als-pa-date-wrap .als-pa-date-display{margin-top:0;padding-right:48px}
body .als-core.als-admin-shell .als-pa-date-wrap .als-pa-date-native{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;bottom:0;left:0}
body .als-core.als-admin-shell .als-pa-date-wrap button.als-pa-calendar{position:absolute;right:3px;top:3px;width:38px;height:36px;min-height:0!important;display:flex;padding:6px!important;background:transparent!important;color:#edc98b!important;border:0!important;gap:1px}
body .als-core.als-admin-shell .als-pa-date-wrap button.als-pa-calendar:hover{background:#593222!important}
body .als-core.als-admin-shell .als-pa-calendar svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}

/* Explicitly style case/profile editor fields over theme form defaults. */
html body .als-core.als-portal-shell.als-admin-shell .als-admin-fields label{color:#edc98b!important;-webkit-text-fill-color:#edc98b!important;font-family:inherit!important;font-size:13px!important;font-weight:700!important;text-transform:uppercase}
html body .als-core.als-portal-shell.als-admin-shell .als-admin-fields :is(input:not(.als-pa-date-native):not([type=hidden]),select,textarea){background:#21150f!important;background-image:none!important;color:#fbe7c9!important;-webkit-text-fill-color:#fbe7c9!important;border:1px solid #a98655!important;border-radius:5px!important;font-family:inherit!important;font-size:15px!important;font-weight:700!important;box-shadow:none!important;min-height:44px}
html body .als-core.als-portal-shell.als-admin-shell .als-admin-fields :is(input,select,textarea):focus-visible{outline:2px solid #edc98b!important;outline-offset:2px}
html body .als-core.als-portal-shell.als-admin-shell .als-admin-fields input::placeholder{color:#cbbba6!important;-webkit-text-fill-color:#cbbba6!important;font-weight:400}
html body .als-core.als-portal-shell.als-admin-shell .als-view-heading{color:#edc98b!important;-webkit-text-fill-color:#edc98b!important}

/* v1.2.28 — Match the member dashboard's left navigation.
 * This overrides only sidebar links/parent/footer, not editor buttons. */
html body .als-core.als-admin-shell .als-sidebar-nav{display:grid;gap:10px;align-content:start}
html body .als-core.als-admin-shell .als-sidebar-nav .als-admin-nav-group{width:100%;min-width:0;display:flex;flex-direction:column;gap:3px}
html body .als-core.als-admin-shell .als-sidebar-nav>a.als-admin-nav-link,
html body .als-core.als-admin-shell .als-sidebar-nav button.als-admin-nav-parent,
html body .als-core.als-admin-shell .als-sidebar-bottom>a.als-admin-signout{
  box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;
  width:100%!important;min-height:52px!important;margin:0!important;gap:11px!important;
  padding:12px 14px!important;border:1px solid #b99758!important;border-radius:9px!important;
  background:linear-gradient(110deg,#eed6a7,#d9b775)!important;
  color:#302315!important;-webkit-text-fill-color:#302315!important;
  font-family:inherit!important;font-size:16px!important;font-weight:650!important;line-height:1.4!important;
  text-align:left!important;text-transform:none!important;letter-spacing:normal!important;
  text-decoration:none!important;white-space:normal;cursor:pointer;box-shadow:none!important
}
html body .als-core.als-admin-shell .als-sidebar-nav>a.als-admin-nav-link:is(:hover,:focus-visible,.is-active),
html body .als-core.als-admin-shell .als-sidebar-nav button.als-admin-nav-parent:is(:hover,:focus-visible,.als-cm-expanded),
html body .als-core.als-admin-shell .als-sidebar-bottom>a.als-admin-signout:is(:hover,:focus-visible){
  background:linear-gradient(110deg,#f5e2bd,#e8c990)!important;
  color:#302315!important;-webkit-text-fill-color:#302315!important;border-color:#b99758!important
}
html body .als-core.als-admin-shell .als-sidebar-nav button.als-admin-nav-parent .als-cm-nav-label{display:flex;align-items:center;gap:11px;min-width:0}
html body .als-core.als-admin-shell .als-sidebar-nav :is(.als-admin-nav-link,.als-admin-nav-parent) svg,
html body .als-core.als-admin-shell .als-sidebar-bottom .als-admin-signout svg{display:block;width:20px;height:20px;flex:none;color:inherit}
html body .als-core.als-admin-shell .als-sidebar-nav .als-admin-nav-parent .als-cm-nav-chevron{margin-left:auto;flex:none;transition:transform .15s ease}
html body .als-core.als-admin-shell .als-sidebar-nav .als-admin-nav-parent[aria-expanded="true"] .als-cm-nav-chevron{transform:rotate(180deg)}
html body .als-core.als-admin-shell .als-sidebar-nav .als-admin-nav-submenu{display:grid;gap:3px;padding:1px 0 2px 11px;min-width:0}
html body .als-core.als-admin-shell .als-sidebar-nav .als-admin-nav-submenu[hidden]{display:none!important}
html body .als-core.als-admin-shell .als-sidebar-nav .als-admin-nav-submenu>a.als-sidebar-link{
  box-sizing:border-box!important;display:flex!important;justify-content:flex-start!important;align-items:center!important;
  width:100%!important;min-height:35px!important;padding:7px 10px!important;
  border:1px solid #b99758!important;border-radius:5px!important;
  background:linear-gradient(110deg,#eed6a7,#d9b775)!important;
  color:#302315!important;-webkit-text-fill-color:#302315!important;
  font-family:inherit!important;font-size:13px!important;font-weight:600!important;line-height:1.3!important;
  text-align:left!important;text-transform:none!important;box-shadow:none!important;
}
html body .als-core.als-admin-shell .als-sidebar-nav .als-admin-nav-submenu>a.als-sidebar-link:is(:hover,:focus-visible,.is-active){
  background:linear-gradient(110deg,#f5e2bd,#e8c990)!important;
  color:#302315!important;-webkit-text-fill-color:#302315!important;
  border-color:#b99758!important
}
html body .als-core.als-admin-shell .als-sidebar-nav :is(a,button):focus-visible,
html body .als-core.als-admin-shell .als-sidebar-bottom a:focus-visible{outline:2px solid #fff!important;outline-offset:2px}
@media(max-width:750px){
 html body .als-core.als-admin-shell .als-sidebar-nav>a.als-admin-nav-link,
 html body .als-core.als-admin-shell .als-sidebar-nav button.als-admin-nav-parent,
 html body .als-core.als-admin-shell .als-sidebar-bottom>a.als-admin-signout{font-size:14px!important;padding:10px 12px!important}
}

/* v1.2.30: follow the site's maroon/gold theme: no blue hover on Admin controls.
   Scope deliberately restricted to Admin; member interface remains untouched. */
body.als-pa-auth-page .als-pa-auth a.als-pa-small-button:hover,
html body .als-core.als-admin-shell :is(button,.als-core-button,a.als-sidebar-link,.als-sidebar-bottom>a):is(:hover,:focus-visible),
html body .als-core.als-admin-shell .als-pa-search-options button:is(:hover,:focus-visible),
html body .als-core.als-admin-shell .als-pa-date-wrap button.als-pa-calendar:is(:hover,:focus-visible){
  background:#593222!important;
  color:#ffe3ac!important;-webkit-text-fill-color:#ffe3ac!important;
  border-color:#d9b775!important;
}
html body .als-core.als-admin-shell .als-pa-search-menu>summary:is(:hover,:focus-visible){
  background:#593222!important;color:#ffe3ac!important;-webkit-text-fill-color:#ffe3ac!important;
  border-color:#d9b775!important;
}
html body .als-core.als-admin-shell .als-sidebar-nav .als-admin-nav-submenu>a.als-sidebar-link:is(:hover,:focus-visible,.is-active){
  background:#593222!important;color:#ffe3ac!important;
  -webkit-text-fill-color:#ffe3ac!important;border-color:#d9b775!important;
}


/* v1.2.31: colour of other Admin filter menus in every interactive state. */
html body .als-core.als-admin-shell .als-pa-search-menu>summary:is(:focus,:active),
html body .als-core.als-admin-shell .als-pa-search-options button:is(:focus,:active),
html body .als-core.als-admin-shell .als-pa-field-picker summary:is(:focus,:active){
  background:#593222!important;color:#ffe3ac!important;-webkit-text-fill-color:#ffe3ac!important;
  border-color:#d9b775!important;outline-color:#d9b775!important;
}
html body .als-core.als-admin-shell :is(select,input[type=checkbox],input[type=radio]):focus-visible{
  outline:2px solid #edc98b!important;outline-offset:2px!important;
  accent-color:#d9b775!important;
}

/* v1.2.34: Admin-only dropdown theme correction.
   IMPORTANT: native select[hidden] was made visible by .als-admin-shell select{display:block}.
   Chrome/Windows paints its own blue native selected rows; keep the original select
   in the form as the submitted value, but hide it when a custom gold/walnut menu is active. */
html body .als-core.als-admin-shell select[hidden],
html body .als-core.als-admin-shell select.als-pa-native-select-hidden {display:none!important;visibility:hidden!important}

/* Main Query Reply dropdown and the four matching enquiry submenus. */
html body .als-core.als-portal-shell.als-admin-shell .als-sidebar-nav button.als-admin-nav-parent,
html body .als-core.als-portal-shell.als-admin-shell .als-sidebar-nav .als-admin-nav-submenu>a.als-sidebar-link:link,
html body .als-core.als-portal-shell.als-admin-shell .als-sidebar-nav .als-admin-nav-submenu>a.als-sidebar-link:visited{
 background:linear-gradient(110deg,#eed6a7,#d9b775)!important;
 color:#302315!important;-webkit-text-fill-color:#302315!important;
 border-color:#b99758!important;background-image:linear-gradient(110deg,#eed6a7,#d9b775)!important;
 box-shadow:none!important;text-decoration:none!important
}
html body .als-core.als-portal-shell.als-admin-shell .als-sidebar-nav button.als-admin-nav-parent:is(:hover,:focus,:focus-visible,[aria-expanded="true"]),
html body .als-core.als-portal-shell.als-admin-shell .als-sidebar-nav .als-admin-nav-submenu>a.als-sidebar-link:is(:hover,:focus,:focus-visible,:active,.is-active){
 background:#3c2518!important;background-image:none!important;
 color:#ffe3ac!important;-webkit-text-fill-color:#ffe3ac!important;
 border-color:#d9b775!important;box-shadow:none!important;text-decoration:none!important
}
html body .als-core.als-portal-shell.als-admin-shell .als-sidebar-nav .als-admin-nav-submenu>a.als-sidebar-link :is(span,svg,i),
html body .als-core.als-portal-shell.als-admin-shell .als-sidebar-nav button.als-admin-nav-parent :is(span,svg,i){color:inherit!important;-webkit-text-fill-color:inherit!important}

/* Native / synthesized Admin selects and popup menus – dark walnut & gold.
   The custom replacement is used for all Admin selects not already customized. */
html body .als-core.als-portal-shell.als-admin-shell select,
html body .als-core.als-portal-shell.als-admin-shell select option{
 color:#edc98b!important;-webkit-text-fill-color:#edc98b!important;
 background:#302017!important;background-color:#302017!important;
 border-color:#b99758!important;accent-color:#d9b775!important;color-scheme:dark
}
html body .als-core.als-portal-shell.als-admin-shell select:focus{outline:2px solid #edc98b!important;outline-offset:2px!important;box-shadow:none!important}
html body .als-core.als-portal-shell.als-admin-shell .als-pa-theme-select,
html body .als-core.als-portal-shell.als-admin-shell .als-pa-search-menu,
html body .als-core.als-portal-shell.als-admin-shell .als-pa-field-picker{position:relative;isolation:isolate;color-scheme:dark}
html body .als-core.als-portal-shell.als-admin-shell .als-pa-theme-select>summary,
html body .als-core.als-portal-shell.als-admin-shell .als-pa-search-menu>summary,
html body .als-core.als-portal-shell.als-admin-shell .als-pa-field-picker>summary{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 box-sizing:border-box!important;list-style:none!important;min-height:42px!important;
 padding:10px 12px!important;background:linear-gradient(110deg,#eed6a7,#d9b775)!important;
 background-image:linear-gradient(110deg,#eed6a7,#d9b775)!important;
 border:1px solid #b99758!important;border-radius:6px!important;
 color:#302315!important;-webkit-text-fill-color:#302315!important;
 cursor:pointer!important;box-shadow:none!important
}
html body .als-core.als-portal-shell.als-admin-shell :is(.als-pa-theme-select,.als-pa-search-menu,.als-pa-field-picker)>summary:is(:hover,:focus,:focus-visible,:active),
html body .als-core.als-portal-shell.als-admin-shell :is(.als-pa-theme-select,.als-pa-search-menu,.als-pa-field-picker)[open]>summary{
 background:#3c2518!important;background-image:none!important;
 color:#ffe3ac!important;-webkit-text-fill-color:#ffe3ac!important;
 border-color:#d9b775!important;outline-color:#d9b775!important
}
html body .als-core.als-portal-shell.als-admin-shell .als-pa-theme-select>summary::after{content:'▾';margin-left:12px}
html body .als-core.als-portal-shell.als-admin-shell .als-pa-theme-select>summary::-webkit-details-marker,
html body .als-core.als-portal-shell.als-admin-shell .als-pa-search-menu>summary::-webkit-details-marker,
html body .als-core.als-portal-shell.als-admin-shell .als-pa-field-picker>summary::-webkit-details-marker{display:none}
html body .als-core.als-portal-shell.als-admin-shell .als-pa-theme-options,
html body .als-core.als-portal-shell.als-admin-shell .als-pa-search-options,
html body .als-core.als-portal-shell.als-admin-shell .als-pa-field-options{
 position:absolute!important;top:100%!important;z-index:120!important;
 box-sizing:border-box!important;min-width:100%;max-width:min(340px,calc(100vw - 36px));
 padding:5px!important;background:#302017!important;background-image:none!important;
 border:1px solid #d9b775!important;border-radius:6px!important;
 box-shadow:0 8px 24px #0008!important;color-scheme:dark
}
html body .als-core.als-portal-shell.als-admin-shell .als-pa-theme-options button,
html body .als-core.als-portal-shell.als-admin-shell .als-pa-search-options button{
 display:block!important;width:100%!important;min-height:38px!important;
 margin:0!important;padding:8px 12px!important;text-align:left!important;
 background:#302017!important;background-image:none!important;
 color:#edc98b!important;-webkit-text-fill-color:#edc98b!important;
 border:0!important;border-radius:4px!important;box-shadow:none!important;
 font-size:14px!important;line-height:1.4!important
}
html body .als-core.als-portal-shell.als-admin-shell .als-pa-theme-options button:is(:hover,:focus,:focus-visible,:active),
html body .als-core.als-portal-shell.als-admin-shell .als-pa-search-options button:is(:hover,:focus,:focus-visible,:active),
html body .als-core.als-portal-shell.als-admin-shell .als-pa-theme-options button[aria-selected="true"],
html body .als-core.als-portal-shell.als-admin-shell .als-pa-search-options button[aria-pressed="true"]{
 background:#593222!important;background-image:none!important;
 color:#ffe3ac!important;-webkit-text-fill-color:#ffe3ac!important;
 border-color:#d9b775!important;box-shadow:inset 3px 0 #edc98b!important
}
html body .als-core.als-portal-shell.als-admin-shell .als-pa-field-options label:is(:hover,:focus-within){background:#593222!important;color:#ffe3ac!important;-webkit-text-fill-color:#ffe3ac!important}
html body .als-core.als-portal-shell.als-admin-shell .als-pa-field-options input[type="checkbox"]{accent-color:#d9b775!important}

/* Admin Back control only; preserve the user dashboard position. */
body .als-core.als-admin-shell #als-dashboard-back{margin-top:10px!important}

.als-hearing-pending td{vertical-align:top}.als-hearing-pending .als-pa-date-wrap{min-width:160px}.als-hearing-form{min-width:200px}.als-hearing-status{white-space:normal;font-size:12px}.als-hearing-pending small{display:inline-block;white-space:normal}
/* v1.2.41: shared payment summary and client reference field positions. */
.als-admin-shell .als-cm-admin-payments{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start}
.als-admin-shell .als-cm-admin-payments>div{min-width:0}
.als-admin-shell .als-cm-admin-payments>div>small,.als-admin-shell .als-cm-admin-payments .als-cm-fee-card>small,.als-admin-shell .als-cm-admin-payments .als-cm-balance-card>small{display:block;color:#e6bf7e;font-weight:700}
.als-admin-shell .als-cm-admin-payments strong{display:block;font-size:24px;color:#fff}
.als-admin-shell .als-cm-admin-payments form{margin:10px 0}
.als-admin-shell .als-cm-admin-payments input,.als-admin-shell .als-cm-admin-payments select{width:100%;min-width:0;box-sizing:border-box}
.als-admin-shell .als-cm-admin-payments .als-cm-reference-area{grid-column:1/-1;display:block}
.als-admin-shell .als-cm-payment-review{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) max-content;gap:12px;align-items:end}
.als-admin-shell .als-cm-payment-review>label{text-align:center;min-width:0}
.als-admin-shell .als-cm-payment-decision{display:flex;align-items:end;gap:8px}
.als-admin-shell .als-cm-payment-ledger{margin-top:12px;overflow:auto}
.als-admin-shell .als-cm-payment-ledger table{width:100%;border-collapse:collapse}
.als-admin-shell .als-cm-payment-ledger th,.als-admin-shell .als-cm-payment-ledger td{padding:7px 5px;border:1px solid #a98655;color:#fff;font-size:12px}
.als-admin-shell .als-cm-payment-ledger th{color:#e6bf7e}
.als-admin-shell .als-cm-upi-details{overflow-wrap:anywhere}
.als-admin-shell .als-cm-payment-declined{font-size:13px;overflow-wrap:anywhere}
.als-admin-shell .als-cm-admin-payments button:hover{background:#174ba3!important;color:white!important}
@media(max-width:1150px){.als-admin-shell .als-cm-admin-payments,.als-admin-shell .als-cm-payment-review{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.als-admin-shell .als-cm-admin-payments,.als-admin-shell .als-cm-payment-review{grid-template-columns:minmax(0,1fr)}}
.als-admin-shell .als-cm-admin-payments>.als-cm-fee-column>.als-cm-fee-card,.als-admin-shell .als-cm-admin-payments>div:nth-child(2),.als-admin-shell .als-cm-admin-payments>div:nth-child(3),.als-admin-shell .als-cm-admin-payments>.als-cm-balance-column>.als-cm-balance-card{padding:14px;border:1px solid #a98655;border-radius:6px;background:#211c19;box-sizing:border-box}
.als-admin-shell .als-cm-admin-payments button:disabled{opacity:.55;cursor:default}

/* Keep Edit immediately before the decision dropdown; wrap actions on narrow screens. */
.als-admin-shell .als-cm-payment-decision{flex-wrap:wrap;max-width:330px}
.als-admin-shell .als-cm-payment-review input:not([readonly]){outline:1px solid #d9b775}

/* v1.2.43: six controls always occupy one compact payment line. */
.als-admin-shell .als-cm-admin-payments .als-cm-reference-area{overflow-x:auto;max-width:100%;min-width:0}
.als-admin-shell .als-cm-admin-payments .als-cm-payment-review{display:grid!important;grid-template-columns:minmax(85px,.8fr) minmax(112px,1fr) minmax(115px,1.3fr) 52px 110px 76px!important;gap:8px!important;align-items:end;min-width:620px;width:100%;box-sizing:border-box;padding:10px 0}
.als-admin-shell .als-cm-admin-payments .als-cm-payment-decision{display:contents!important}
.als-admin-shell .als-cm-admin-payments .als-cm-payment-review input[type=hidden]{display:none!important}
.als-admin-shell .als-cm-admin-payments .als-cm-payment-review :is(input:not([type=hidden]),select,button){height:36px;min-height:36px;margin:4px 0 0!important;padding:6px 8px!important;font-size:12px!important;box-sizing:border-box;width:100%;white-space:nowrap}
.als-admin-shell .als-cm-admin-payments .als-cm-payment-review label{font-size:12px;line-height:1.3;margin:0;white-space:nowrap;min-width:0}

/* v1.2.44: in-field calendar and compact decision menu. */
.als-admin-shell .als-cm-admin-payment-date{position:relative;display:block}
.als-admin-shell .als-cm-admin-payments .als-cm-admin-payment-date>input[name=date]{padding-right:32px!important}
.als-admin-shell .als-cm-admin-payments input.als-cm-admin-payment-native{position:absolute!important;left:0;bottom:0;opacity:0;pointer-events:none;width:1px!important;height:1px!important;min-height:0!important;padding:0!important}
.als-admin-shell .als-cm-admin-payments button.als-cm-admin-payment-calendar{position:absolute;right:2px;bottom:2px;width:30px!important;height:32px!important;min-height:0!important;padding:3px!important;margin:0!important;display:flex;align-items:center;gap:1px;background:transparent!important;color:#d9b775!important;border:0}
.als-cm-admin-payment-calendar svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
.als-admin-shell .als-cm-decision-menu{position:relative;min-width:0}
.als-admin-shell .als-cm-decision-menu>summary{height:36px;box-sizing:border-box;padding:8px 6px!important;margin:4px 0 0!important;font-size:12px!important;white-space:nowrap;cursor:pointer;text-align:center;list-style:none}
.als-cm-decision-menu>summary::-webkit-details-marker{display:none}
.als-admin-shell .als-cm-decision-options{position:absolute;top:100%;left:0;min-width:110px;background:#211c19;border:1px solid #d9b775;padding:3px;z-index:20}
.als-admin-shell .als-cm-admin-payments .als-cm-decision-options>button{display:block;border:0!important;margin:0!important;text-align:left}
.als-admin-shell .als-cm-reference-area:has(.als-cm-decision-menu[open]){padding-bottom:84px}

/* v1.2.45: case entry below the selected member's profile. */
.als-admin-shell .als-pa-profile-case{margin-top:24px;padding-top:16px;border-top:1px solid #a98655}

/* v1.2.47: Keep USER VIEW immediately beside EDIT/DELETE, without moving table columns. */
.als-pa-action-buttons{display:inline-flex;gap:6px;align-items:center;white-space:nowrap;}
.als-pa-action-buttons .als-core-button{white-space:nowrap;}

/* v1.2.48 — Consolidated visitor IP history. Only frequent IPs are BLUE + underlined. */
body .als-core.als-admin-shell .als-pa-ip-summary a.als-pa-ip-link{color:#edc98b!important;-webkit-text-fill-color:#edc98b!important;text-decoration:none!important;font-weight:800!important;white-space:nowrap}
body .als-core.als-admin-shell .als-pa-ip-summary a.als-pa-ip-link.is-frequent{color:#49a9ff!important;-webkit-text-fill-color:#49a9ff!important;text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:4px!important}
body .als-core.als-admin-shell .als-pa-ip-summary a.als-pa-ip-link:hover,body .als-core.als-admin-shell .als-pa-ip-summary a.als-pa-ip-link:focus-visible{color:#fff!important;-webkit-text-fill-color:#fff!important;text-decoration:underline!important}
body .als-core.als-admin-shell .als-pa-ip-hint{color:#f0d6a8;line-height:1.65;margin:10px 0 16px;font-size:14px}
body .als-core.als-admin-shell .als-pa-frequent-example{color:#49a9ff;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px;font-weight:800}
body .als-core.als-admin-shell #als-pa-ip-history{scroll-margin-top:20px}
body .als-core.als-admin-shell :is(.als-pa-ip-summary,.als-pa-ip-history) th{text-transform:uppercase}


/* v1.2.49 — Five-column Dashboard summary; Visitor Log table remains unchanged. */
body .als-core.als-admin-shell .als-pa-dashboard-summary{max-width:1040px;width:100%;}
body .als-core.als-admin-shell .als-pa-dashboard-summary th:first-child{text-align:left!important;}

/* v1.2.49 — IP Visit History minimise/restore control, top-right. */
body .als-core.als-admin-shell .als-pa-ip-history-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px;}
body .als-core.als-admin-shell .als-pa-ip-history-header h3{margin:0;flex:1;min-width:0;}
body .als-core.als-admin-shell .als-pa-ip-minimise{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:34px;height:32px;padding:0;border:1px solid #d9b775;border-radius:5px;background:#231d19;color:#edc98b;font-size:24px;font-weight:700;line-height:1;cursor:pointer;}
body .als-core.als-admin-shell .als-pa-ip-minimise:is(:hover,:focus-visible){background:#164b83;color:#fff;outline:2px solid #49a9ff;outline-offset:2px;}
body .als-core.als-admin-shell :is(#als-pa-ip-history-content,#als-pa-ip-summary-content)[hidden]{display:none!important;}

/* v1.2.56: profile action buttons fit inside their table cell. */
body .als-core.als-admin-shell .als-pa-profiles .als-pa-action-buttons{display:flex;flex-wrap:wrap;gap:4px;align-items:center}
body .als-core.als-admin-shell .als-pa-profiles .als-pa-action-buttons .als-core-button{min-width:0!important;min-height:0!important;width:auto!important;padding:5px 7px!important;font-size:11px!important;line-height:1.2!important;white-space:nowrap!important;margin:0!important}

/* NDOH values in case/MA editors, hearing updates and case tables. */
body .als-core.als-admin-shell label.als-cm-ndoh .als-pa-date-wrap input.als-pa-date-display,
body .als-core.als-admin-shell label.als-cm-ndoh .als-pa-date-wrap input.als-pa-date-native,
body .als-core.als-admin-shell td[data-als-case-column="ndoh"]{color:#ff5b5b!important;-webkit-text-fill-color:#ff5b5b!important}

/* Pending Court Orders: use the existing Admin control palette. */
html body .als-core.als-admin-shell .als-hearing-pending .als-pa-date-display{
 background:#21180f!important;color:#ff5b5b!important;-webkit-text-fill-color:#ff5b5b!important;
 border:1px solid #b99758!important;border-radius:6px!important;
 font-family:inherit!important;font-size:14px!important;font-weight:700!important;
 box-shadow:none!important;min-height:42px;box-sizing:border-box
}
html body .als-core.als-admin-shell .als-hearing-pending .als-pa-date-display:focus-visible{
 outline:2px solid #edc98b!important;outline-offset:2px
}
html body .als-core.als-admin-shell .als-hearing-pending .als-pa-date-wrap button.als-pa-calendar{
 background:linear-gradient(110deg,#eed6a7,#d9b775)!important;
 color:#302315!important;-webkit-text-fill-color:#302315!important;
 border:1px solid #b99758!important;border-radius:4px!important
}
html body .als-core.als-admin-shell .als-hearing-pending .als-pa-calendar svg{
 width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8
}
html body .als-core.als-admin-shell .als-hearing-pending .als-hearing-form{
 margin:0;display:grid;gap:8px
}
html body .als-core.als-admin-shell .als-hearing-pending .als-hearing-form input[type=file]{
 margin:0!important;background:#21180f!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 border:1px solid #b99758!important;border-radius:6px!important;
 padding:6px!important;font:inherit!important;box-sizing:border-box;max-width:100%
}
html body .als-core.als-admin-shell .als-hearing-pending .als-hearing-form input[type=file]::file-selector-button,
html body .als-core.als-admin-shell .als-hearing-pending .als-hearing-form button.als-core-button{
 background:linear-gradient(110deg,#eed6a7,#d9b775)!important;
 color:#302315!important;-webkit-text-fill-color:#302315!important;
 border:1px solid #d7c9ad!important;border-radius:6px!important;
 padding:8px 12px!important;font:inherit!important;font-weight:700!important;cursor:pointer
}
html body .als-core.als-admin-shell .als-hearing-pending .als-hearing-form input[type=file]::file-selector-button{margin-right:8px}
html body .als-core.als-admin-shell .als-hearing-pending .als-hearing-form button.als-core-button{justify-self:start}
html body .als-core.als-admin-shell .als-hearing-pending .als-hearing-form input[type=file]::file-selector-button:hover,
html body .als-core.als-admin-shell .als-hearing-pending .als-hearing-form button.als-core-button:is(:hover,:focus-visible),
html body .als-core.als-admin-shell .als-hearing-pending .als-pa-calendar:is(:hover,:focus-visible){
 background:#593222!important;color:#ffe3ac!important;-webkit-text-fill-color:#ffe3ac!important;border-color:#d9b775!important
}
html body .als-core.als-admin-shell .als-hearing-pending .als-hearing-form :is(input[type=file],button):focus-visible{
 outline:2px solid #edc98b!important;outline-offset:2px
}
html body .als-core.als-admin-shell .als-hearing-pending .als-hearing-status{color:#ffe3ac;margin:0;white-space:normal}

html body .als-core.als-admin-shell .als-cm-cron-command{white-space:pre-wrap;overflow-wrap:anywhere;background:#21180f;color:#ffe3ac;border:1px solid #b99758;border-radius:6px;padding:12px;font-size:13px;user-select:text}

/* Cause-list planner follows the existing navy/gold admin table. */
body .als-core.als-admin-shell .als-cause-list .als-admin-table th,
body .als-core.als-admin-shell .als-cause-list .als-admin-table td{text-align:center;vertical-align:middle}
body .als-core.als-admin-shell .als-cause-list .als-admin-table td strong{font-weight:700}
body .als-core.als-admin-shell .als-cause-list form{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
body .als-core.als-admin-shell .als-cause-list .als-admin-table{overflow-x:auto}
body .als-core.als-admin-shell .als-cause-list table{min-width:760px}

body .als-core.als-admin-shell .als-cause-trial-notice{border:2px solid #d9b775;padding:14px;border-radius:6px;color:#eed6a7}

body .als-core.als-admin-shell .als-cause-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;width:100%}
body .als-core.als-admin-shell .als-cause-actions form{margin:0}
body .als-core.als-admin-shell .als-cause-trial-action{margin-left:auto}

body .als-core.als-admin-shell .als-cause-latest-actions{display:flex;align-items:center;gap:10px}
body .als-core.als-admin-shell .als-cause-past-fields{display:grid;grid-template-columns:repeat(2,minmax(145px,1fr));gap:12px;width:min(420px,100%)}
body .als-core.als-admin-shell .als-cause-past-fields[hidden]{display:none!important}
body .als-core.als-admin-shell .als-cause-past-fields label{margin:0}
body .als-core.als-admin-shell .als-cause-refresh-icon{width:52px}
body .als-core.als-admin-shell .als-cause-refresh-icon svg{flex-shrink:0}
body .als-core.als-admin-shell [data-als-past-button]:disabled{cursor:progress;opacity:.8}

/* Compact owner action table, beside the DASHBOARD heading. */
body .als-core.als-admin-shell .als-admin-overview-header{display:flex;justify-content:space-between;align-items:center;gap:18px}
body .als-core.als-admin-shell .als-admin-alerts{flex:0 0 auto;margin-left:auto;max-width:100%}
body .als-core.als-admin-shell .als-admin-alerts table{width:300px;max-width:100%;margin:0;border:1px solid #b99758;border-collapse:collapse;font-size:11px;line-height:1.2}
body .als-core.als-admin-shell .als-admin-alerts th,body .als-core.als-admin-shell .als-admin-alerts td{padding:3px 7px;border:1px solid #806543;vertical-align:middle}
body .als-core.als-admin-shell .als-admin-alerts th{font-size:12px;font-weight:800;white-space:nowrap;text-transform:none;text-align:left;color:#edc98b}
body .als-core.als-admin-shell .als-admin-alerts td{text-align:center;min-width:42px;font-weight:800}
body .als-core.als-admin-shell .als-admin-alert-count{display:inline-block;min-width:20px;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:12px;font-weight:800;text-decoration:underline}
body .als-core.als-admin-shell .als-admin-alert-count.is-pending{color:#ff4545!important;-webkit-text-fill-color:#ff4545!important;animation:als-admin-alert-blink 1.5s ease-in-out infinite}
@keyframes als-admin-alert-blink{0%,100%{opacity:1}50%{opacity:.3}}
body .als-core.als-admin-shell .als-cause-day,body .als-core.als-admin-shell .als-cause-date{display:block;white-space:nowrap}
@media(prefers-reduced-motion:reduce){body .als-core.als-admin-shell .als-admin-alert-count.is-pending{animation:none}}
@media(max-width:500px){body .als-core.als-admin-shell .als-admin-overview-header{flex-wrap:wrap;padding:16px;gap:12px}body .als-core.als-admin-shell .als-admin-overview-header h2{font-size:23px}body .als-core.als-admin-shell .als-admin-alerts{margin-left:0}}

/* Action notes share the CAUSE LIST heading's font size. */
html body .als-core.als-portal-shell.als-admin-shell .als-cause-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
html body .als-core.als-portal-shell.als-admin-shell .als-cause-heading-label{flex:0 0 auto}
html body .als-core.als-portal-shell.als-admin-shell .als-cause-attention{display:flex;flex:1 1 320px;flex-direction:column;align-items:flex-end;gap:6px;margin-left:auto;text-align:right;font-size:inherit}
html body .als-core.als-portal-shell.als-admin-shell .als-cause-attention-note{font-family:inherit;font-size:inherit!important;font-weight:800!important;line-height:inherit;text-transform:none!important;text-align:right;color:#ff4545!important;-webkit-text-fill-color:#ff4545!important;text-decoration:underline;animation:als-admin-alert-blink 1.5s ease-in-out infinite}
html body .als-core.als-admin-shell :is(.als-cause-attention,.als-cause-attention-note)[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){html body .als-core.als-portal-shell.als-admin-shell .als-cause-attention-note{animation:none}}

/* v1.2.115 — Approved appeal Word generation and final PDF publishing. */
.als-admin-shell .als-dp-admin-document{margin:14px 0 5px;padding:14px 16px;border:1px solid #bc965a;border-radius:8px;background:rgba(35,25,16,.32)}
.als-admin-shell .als-dp-admin-document h4{color:#e8c58d;font-size:15px;margin:0 0 9px;font-weight:800}
.als-admin-shell .als-dp-admin-document p{color:#f1e4cf;font-size:12px;line-height:1.55}
.als-admin-shell .als-dp-admin-document input[type=file]{width:min(100%,350px);padding:6px;margin:7px 0;background:#2c241d;color:#fff;border:1px solid #bd9a62;border-radius:5px}

/* v1.2.116 — Disability Pension appeal workflow (same gold / dark-brown Admin theme) */
html body .als-core.als-admin-shell .als-sidebar-nav .als-cm-nav-group.als-admin-nav-group{display:flex;flex-direction:column;gap:3px;width:100%;min-width:0}
html body .als-core.als-admin-shell .als-sidebar-nav .als-cm-nav-submenu.als-admin-nav-submenu{display:grid;gap:3px;padding:1px 0 2px 11px;min-width:0}
html body .als-core.als-admin-shell .als-sidebar-nav .als-admin-nav-submenu[hidden]{display:none!important}
html body .als-core.als-admin-shell .als-dp-admin-overview,
html body .als-core.als-admin-shell .als-dp-admin-register,
html body .als-core.als-admin-shell .als-dp-admin-detail{border:1px solid #b99758!important;background:#241c16!important;color:#f5e9da!important;max-width:100%!important}
html body .als-core.als-admin-shell :is(.als-dp-admin-overview,.als-dp-admin-register,.als-dp-admin-detail) .als-view-heading{background:linear-gradient(100deg,#352719,#563d24)!important;color:#eed3a1!important;-webkit-text-fill-color:#eed3a1!important;font-weight:750!important}
html body .als-core.als-admin-shell :is(.als-dp-admin-overview,.als-dp-admin-register,.als-dp-admin-detail) h3{font-size:19px!important;color:#eac88d!important;-webkit-text-fill-color:#eac88d!important;margin:15px 0 9px!important}
html body .als-core.als-admin-shell :is(.als-dp-admin-overview,.als-dp-admin-register,.als-dp-admin-detail) :is(.als-dp-muted,.als-dp-warning){font-size:12px!important;line-height:1.55;color:#fff8eb!important;-webkit-text-fill-color:#fff8eb!important}
html body .als-core.als-admin-shell :is(.als-dp-admin-overview,.als-dp-admin-register,.als-dp-admin-detail) .als-dp-warning{border-left:3px solid #eac88d;padding:8px 12px;background:#3e3024}
html body .als-core.als-admin-shell :is(.als-dp-admin-overview,.als-dp-admin-register,.als-dp-admin-detail) .als-admin-table{max-width:100%;overflow-x:auto}
html body .als-core.als-admin-shell :is(.als-dp-admin-overview,.als-dp-admin-register,.als-dp-admin-detail) .als-admin-table :is(th,td){white-space:normal!important;min-width:95px;padding:8px 11px!important;border:1px solid #a78a57!important;vertical-align:middle!important}
html body .als-core.als-admin-shell :is(.als-dp-admin-overview,.als-dp-admin-register,.als-dp-admin-detail) .als-admin-table a{color:#f2d49b!important;-webkit-text-fill-color:#f2d49b!important;text-decoration:underline}
html body .als-core.als-admin-shell :is(.als-dp-admin-overview,.als-dp-admin-register,.als-dp-admin-detail) .als-admin-table a:hover{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .als-core.als-admin-shell .als-dp-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin:10px 0 16px}
html body .als-core.als-admin-shell .als-dp-stat-grid>div{background:#3b2a1b;border:1px solid #a98a58;border-radius:6px;padding:10px;display:flex;flex-direction:column;gap:5px;min-width:0}
html body .als-core.als-admin-shell .als-dp-stat-grid span{font-size:11px;color:#e9c998!important;-webkit-text-fill-color:#e9c998!important;font-weight:700}
html body .als-core.als-admin-shell .als-dp-stat-grid strong{font-size:16px;overflow-wrap:anywhere;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .als-core.als-admin-shell .als-dp-admin-detail label{display:block;font-size:12px;font-weight:700;color:#eac88d!important;margin:12px 0 8px}
html body .als-core.als-admin-shell .als-dp-admin-detail label :is(input[type=file],textarea){display:block;max-width:100%;width:100%;font:inherit;font-size:13px;color:#fff9ee;background:#2c2118;border:1px solid #bd965d;border-radius:5px;margin:5px 0;padding:8px}
html body .als-core.als-admin-shell .als-dp-timeline{border-left:2px solid #b99758;padding:3px 14px 10px;background:#2a2119}
html body .als-core.als-admin-shell .als-dp-timeline p{font-size:13px;color:#fff7e9;margin:7px 0;overflow-wrap:anywhere}
@media(max-width:760px){html body .als-core.als-admin-shell .als-dp-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* v1.2.118 — Admin > Profiles Update: ensure expanded select options paint ABOVE
   following grid cells, not behind input fields. Restricted to profile editor. */
html body .als-core.als-portal-shell.als-admin-shell .als-pa-profile-editor {
  overflow:visible!important;
}
html body .als-core.als-portal-shell.als-admin-shell .als-pa-profile-editor > .als-pa-theme-select[open] {
  position:relative!important;
  z-index:2400!important;
}
html body .als-core.als-portal-shell.als-admin-shell .als-pa-profile-editor .als-pa-theme-select[open] > .als-pa-theme-options {
  position:absolute!important;
  z-index:2401!important;
  max-height:min(340px,55vh)!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  background:#302017!important;
  border:1px solid #d9b775!important;
  box-shadow:0 12px 28px #000b!important;
}
