/* Shared account strip inside the sticky site header. */
.bd-account-bar {position:relative;border-bottom:1px solid #d8d0c1;background:#eeeae1;color:#293b2b;font:13px/1.4 Arial,Helvetica,sans-serif;}
.bd-account-bar [hidden] {display:none!important;}
.bd-account-inner {box-sizing:border-box;max-width:1240px;margin:0 auto;padding:4px 24px;display:flex;align-items:center;gap:8px 16px;min-height:44px;}
.bd-account-date {white-space:nowrap;font-variant-numeric:tabular-nums;}
.bd-account-clock {display:flex;align-items:center;gap:4px 8px;flex:none;font-variant-numeric:tabular-nums;}
.bd-account-time {font-weight:600;}
.bd-account-calendar {min-width:0;color:#000;}
.bd-account-calendar>summary {display:flex;align-items:center;flex-wrap:wrap;gap:3px 5px;min-height:36px;list-style:none;cursor:pointer;color:#000;}
.bd-account-calendar>summary::-webkit-details-marker {display:none;}
.bd-account-calendar-icon {flex:none;}
.bd-account-weekday {white-space:nowrap;}
.bd-account-calendar[open]>summary {text-decoration:underline;text-underline-offset:3px;}
.bd-account-calendar-detail {position:absolute;z-index:4;left:max(24px,calc((100% - 1192px)/2));top:calc(var(--bd-header-height,116px) + 8px);box-sizing:border-box;width:286px;max-width:calc(100vw - 24px);max-height:calc(100svh - var(--bd-header-height,116px) - 20px);overflow-y:auto;margin:0;padding:12px;border:1px solid #77836f;border-radius:8px;background:#fff;color:#000;box-shadow:0 12px 32px #24302026;}
.bd-account-calendar-nav {display:grid;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:4px;margin-bottom:8px;}
.bd-account-calendar-nav>span {text-align:center;font-size:14px;font-weight:700;}
.bd-account-bar .bd-account-calendar button {box-sizing:border-box;min-height:32px;min-width:32px;margin:0;padding:2px 6px;border:1px solid #c4c4c4;border-radius:4px;background:#fff;color:#000;font:600 22px/1 Arial,Helvetica,sans-serif;cursor:pointer;}
.bd-account-bar .bd-account-calendar button:hover {background:#eee;}
.bd-account-calendar .bd-account-calendar-table {width:100%;margin:0;border:0;border-collapse:collapse;table-layout:fixed;background:#fff;color:#000;font:12px/1.4 Arial,Helvetica,sans-serif;}
.bd-account-calendar-table caption {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.bd-account-calendar .bd-account-calendar-table th,.bd-account-calendar .bd-account-calendar-table td {height:29px;padding:2px 0;border:0;background:#fff;color:#000;text-align:center;vertical-align:middle;font-weight:400;}
.bd-account-calendar .bd-account-calendar-table th {height:24px;font-size:11px;font-weight:700;}
.bd-account-calendar-table td>span {box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;border:1px solid transparent;border-radius:50%;}
.bd-account-calendar-table [aria-current="date"]>span {border-color:#000;font-weight:700;}
.bd-account-bar .bd-account-calendar .bd-account-calendar-today {display:block;width:100%;margin-top:8px;font-size:12px;line-height:1.4;}
.bd-account-weather {min-width:0;}
.bd-account-weather>summary {display:flex;align-items:center;flex-wrap:wrap;gap:2px 8px;min-height:36px;cursor:pointer;list-style:none;font-size:12px;}
.bd-account-weather>summary::-webkit-details-marker {display:none;}
.bd-account-weather>summary>span {max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.bd-account-weather>summary>span+span::before {content:"·";margin-right:8px;color:#6a7663;}
.bd-account-weather-location {font-weight:600;}
.bd-account-weather-detail {position:absolute;z-index:4;left:max(24px,calc((100% - 1192px)/2));top:calc(100% + 8px);box-sizing:border-box;width:400px;max-width:calc(100vw - 24px);max-height:calc(100svh - var(--bd-header-height,116px) - 20px);overflow-y:auto;margin:0;padding:18px;border:1px solid #77836f;border-radius:8px;background:#fff;box-shadow:0 12px 32px #24302026;line-height:1.55;}
.bd-account-weather-detail p {margin:0 0 12px;}
.bd-account-weather-detail p:last-child {margin-bottom:0;}
.bd-account-weather-sources a {color:#293b2b;text-decoration:underline;text-underline-offset:3px;}
.bd-account-weather-sources:empty {display:none;}
.bd-account-weather[open]>summary {text-decoration:underline;text-underline-offset:3px;}
.bd-account-status {display:flex;align-items:center;gap:6px;min-width:0;margin-left:auto;}
.bd-account-status::before {content:"";display:block;width:7px;height:7px;flex:none;border-radius:50%;background:#858a80;}
.bd-account-status[data-state="in"]::before {background:#34562e;}
.bd-account-status[data-state="unavailable"]::before {background:#886620;}
.bd-account-name {max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;}
.bd-account-actions {display:flex;align-items:center;gap:8px;flex:none;}
.bd-account-bar .bd-account-link,.bd-account-login>summary,.bd-account-bar .bd-account-logout button {box-sizing:border-box;min-height:36px;padding:7px 10px;border:1px solid #77836f;border-radius:5px;background:#f8f5f0;color:#293b2b;text-decoration:none;font:600 13px/1.4 Arial,Helvetica,sans-serif;cursor:pointer;white-space:nowrap;}
.bd-account-bar .bd-account-link {display:inline-flex;align-items:center;}
.bd-account-login>summary {display:flex;align-items:center;list-style:none;}
.bd-account-login>summary::-webkit-details-marker {display:none;}
.bd-account-bar .bd-account-link:hover,.bd-account-login>summary:hover,.bd-account-bar .bd-account-logout button:hover {background:#e1e7dc;}
.bd-account-login[open]>summary {background:#293f2d;color:#fff;}
.bd-account-bar .bd-account-logout {margin:0;padding:0;border:0;background:transparent;}
.bd-account-bar .bd-account-logout button {border-color:transparent;background:transparent;}
.bd-account-login-form {position:absolute;z-index:4;right:max(24px,calc((100% - 1192px)/2));top:calc(100% + 8px);box-sizing:border-box;width:310px;max-width:calc(100vw - 24px);max-height:calc(100svh - var(--bd-header-height,116px) - 20px);overflow-y:auto;margin:0;padding:18px;border:1px solid #77836f;border-radius:8px;background:#fff;box-shadow:0 12px 32px #24302026;text-align:left;}
.bd-account-bar .bd-account-form-title {margin:0 0 12px;color:#293b2b;font-size:16px;font-weight:700;}
.bd-account-login-form label {display:block;margin:10px 0 4px;color:#293b2b;font:600 14px/1.4 Arial,Helvetica,sans-serif;}
.bd-account-login-form input:not([type="hidden"]) {box-sizing:border-box;display:block;width:100%;height:44px;min-height:44px;margin:0;padding:9px 10px;border:1px solid #8a9484;border-radius:5px;background:#fff;color:#252c24;font:16px/1.4 Arial,Helvetica,sans-serif;}
.bd-account-bar .bd-account-form-note {margin:10px 0;color:#4b5547;font-size:12px;}
.bd-account-bar .bd-account-form-message {margin:8px 0;color:#684b16;font-size:12px;}
.bd-account-form-message:empty {display:none;}
.bd-account-login-form button[type="submit"] {box-sizing:border-box;display:block;width:100%;min-height:44px;margin:12px 0 8px;padding:10px 16px;border:1px solid #293f2d;border-radius:5px;background:#293f2d;color:#fff;font:600 14px/1.4 Arial,Helvetica,sans-serif;cursor:pointer;}
.bd-account-login-form button:disabled {opacity:.55;cursor:wait;}
.bd-account-bar .bd-account-full-login {display:inline-block;padding:7px 0;color:#293b2b;font-size:13px;text-decoration:underline;text-underline-offset:3px;}
.bd-account-bar :focus-visible {outline:3px solid #87641f;outline-offset:3px;}
@media(max-width:1100px){
 .bd-account-inner {flex-wrap:wrap;}
 .bd-account-weather {order:4;flex-basis:100%;}
 .bd-account-weather>summary {min-height:26px;}
}
@media(max-width:760px){
 .bd-account-inner {padding:4px 16px;gap:4px 8px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"clock actions" "status status" "weather weather";}
 .bd-account-clock {grid-area:clock;min-width:0;flex-wrap:wrap;font-size:12px;gap:2px 6px;}
 .bd-account-calendar>summary {min-height:28px;gap:2px 4px;}
 .bd-account-calendar-detail {left:12px;}
 .bd-account-weather {grid-area:weather;}
 .bd-account-weather-detail {left:12px;}
 .bd-account-name {display:none;}
 .bd-account-status {grid-area:status;font-size:12px;margin-left:0;}
 .bd-account-actions {grid-area:actions;gap:2px;}
 .bd-account-bar .bd-account-link,.bd-account-login>summary,.bd-account-bar .bd-account-logout button {min-height:40px;padding:8px 7px;font-size:12px;}
 .bd-account-login-form {right:12px;}
}
@media(max-width:370px){
 .bd-account-inner {padding-right:12px;padding-left:12px;gap:4px 6px;}
 .bd-account-date {font-size:12px;}
 .bd-account-status {gap:4px;}
 .bd-account-actions {margin-left:auto;}
}
