.member-links{display:flex;justify-content:flex-end;gap:14px;background:#071e32;padding:6px 5vw;min-height:30px;box-sizing:border-box;color:#d8e6f1;font-size:12px}.member-links button{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;padding:2px}.member-links button:hover{color:#65d0ff}.member-links [hidden]{display:none}.member-links span{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.member-dialog{position:fixed;inset:0;margin:auto;padding:0;width:min(600px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;background:#fff;color:#17334b;border:1px solid #c5d7e6;border-radius:14px;box-shadow:0 20px 90px #00132680}.member-dialog::backdrop{background:#031322b8}.member-dialog.is-admin{width:min(1100px,calc(100% - 24px))}.member-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 26px;border-bottom:1px solid #e1e9f0;position:sticky;top:0;background:white;z-index:2}.member-dialog h2{margin:0;font-size:23px}.member-dialog .member-close{border:0;border-radius:50%;background:#edf3f8;width:36px;height:36px;font-size:24px;color:#17334b;cursor:pointer}.member-body{padding:24px 26px}.member-form label{display:block;margin:14px 0 6px;font-size:14px;font-weight:600}.member-form input:not([type=checkbox]){display:block;width:100%;box-sizing:border-box;padding:12px;font:inherit;font-size:16px;color:#17334b;background:#f8fafc;border:1px solid #c9d8e4;border-radius:7px}.member-form input:focus{outline:2px solid #1488cc;outline-offset:1px}.member-form .consent{display:flex;align-items:flex-start;gap:9px;font-weight:400;font-size:12px;line-height:1.7;margin:20px 0}.consent input{margin-top:5px;flex-shrink:0}.member-primary{border:0;border-radius:7px;background:#153e61;color:white;padding:13px 18px;font-size:15px;cursor:pointer}.member-form .member-primary{width:100%;margin-top:18px}.member-dialog button:disabled{opacity:.55;cursor:wait}.member-help{font-size:12px;line-height:1.8;color:#62798d;margin:10px 0}.member-status{font-size:14px;line-height:1.7;color:#ad2430;white-space:pre-wrap}.member-status:empty{display:none}.member-switch{border:0;background:none;text-decoration:underline;color:#185b91;cursor:pointer;padding:12px 0}.member-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.member-search{width:100%;padding:12px;box-sizing:border-box;border:1px solid #cbd9e4;border-radius:7px;font-size:16px;margin:15px 0}.member-table-wrap{overflow:auto}.member-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:13px}.member-table th,.member-table td{padding:12px;text-align:left;border-bottom:1px solid #e3eaf1}.member-table th{background:#eef4f8}.member-table button{padding:7px 10px;background:#edf3f9;border:1px solid #c7d8e6;border-radius:5px;color:#194362;cursor:pointer}.member-admin-summary{display:flex;justify-content:space-between;align-items:center;gap:12px}.member-good{color:#197046}.member-off{color:#a53832}
@media(max-width:600px){.member-links{padding:6px 5vw}.member-dialog header{padding:18px}.member-body{padding:18px}.member-two{grid-template-columns:1fr;gap:0}.member-dialog h2{font-size:21px}}

/* Align account actions inside the main brand header. */
.header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:28px 62px;height:auto;min-height:90px;column-gap:22px;row-gap:0;padding:0 5vw 6px}
.header .brand{grid-column:1;grid-row:1 / 3;margin:0}
.header .navigation{grid-column:2;grid-row:2;width:auto;margin-left:auto}
.header .header-inquiry{grid-column:3;grid-row:2;margin:0}
.header .member-links{grid-column:2 / 4;grid-row:1;display:flex;align-items:center;justify-content:flex-end;gap:0;min-height:28px;padding:0;background:transparent;color:#b8cbdd;font-size:12px;letter-spacing:.02em}
.header .member-links button{min-height:28px;padding:4px 11px;border-radius:4px;line-height:20px;white-space:nowrap;transition:background .15s,color .15s}
.header .member-links button:last-child{padding-right:0}
.header .member-links button:hover{background:#ffffff0a;color:#75d6ff}
.header .member-links button:focus-visible{outline:2px solid #75d6ff;outline-offset:2px}
.header .member-links button[data-member=signup]{color:#edf7ff}
.header .member-links button[data-member=signup]::before{content:'';display:inline-block;height:10px;border-left:1px solid #496075;margin-right:20px}
.header .member-links .member-greeting{margin-right:10px;max-width:130px}
.header .nav-group>summary{padding-top:19px;padding-bottom:19px}
@media(max-width:1100px){
 .header{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:28px 48px auto;min-height:0;padding:2px 5vw 0;column-gap:10px;row-gap:0}
 .header .member-links{grid-column:1 / 3;grid-row:1;font-size:11px}
 .header .brand{grid-column:1;grid-row:2;margin:0}
 .header .header-inquiry{grid-column:2;grid-row:2;margin:0;justify-self:end}
 .header .navigation{grid-column:1 / 3;grid-row:3;margin:3px 0 0;width:100%}
 .header .nav-group>summary{padding-top:13px;padding-bottom:13px}
 .header .member-links button{padding-top:4px;padding-bottom:4px}
}
@media(max-width:380px){.header{padding-left:4vw;padding-right:4vw}.header .member-links .member-greeting{max-width:95px}}

/* Keep the installation action immediately before the signed-in member name. */
.header .member-links .member-identity{display:flex;align-items:center;gap:8px;flex:0 1 auto;min-width:0;max-width:100%}
.header .member-links .member-identity[hidden]{display:none}
.header .member-links .member-intranet-install{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;box-sizing:border-box;padding:3px 10px;border:1px solid #5bbcec;border-radius:5px;background:#164b72;color:#fff;font:inherit;font-weight:700;line-height:20px;white-space:nowrap;text-decoration:none}
.header .member-links .member-intranet-install:hover{background:#21658e;color:#fff}
.header .member-links .member-intranet-install:focus-visible{outline:2px solid #75d6ff;outline-offset:2px}
@media(max-width:1100px){.header .member-links .member-intranet-install{min-height:36px;padding:6px 10px}}
