/* Stable slots keep clocks separate from the independently refreshed tools. */
.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:24px;min-height:82px;height:auto;padding:12px 32px;background:#fcfcf8}
.topbar-context{display:flex;flex-direction:column;gap:5px;min-width:0}
.topbar .crumb{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--green);font-size:14px;font-weight:650;line-height:1.4}
.topbar-subject{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--secondary);font-size:12px;line-height:1.4}
.topbar-clocks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;background:#f0f4ed;border:1px solid #e3e9de;border-radius:12px;padding:8px 0}
.topbar-clock{min-width:0;padding:0 14px;display:flex;flex-direction:column;gap:3px}
.topbar-clock+.topbar-clock{border-left:1px solid #dce5d7}
.topbar-clock-label{font-size:11px;font-weight:550;line-height:1.3;color:#64745e;white-space:nowrap}
.topbar-clock-reading{display:flex;align-items:baseline;gap:10px;white-space:nowrap;font-variant-numeric:tabular-nums}
.topbar-clock time{color:#274d38;font-size:19px;font-weight:650;line-height:1.15;letter-spacing:-.35px}
.topbar-clock-date{color:#66745f;font-size:11px;line-height:1.4}
.topbar .place{justify-self:end;gap:8px;min-width:0}
.topbar #team-toolbar{gap:4px}
.topbar .team-menu>summary{padding:8px 10px;min-height:40px;white-space:nowrap;font-size:12px;border-radius:10px}
.topbar .work-tools{gap:2px}
.topbar .work-tools button{min-height:40px;padding:9px;gap:6px;font-size:12px}
.topbar .work-tools span{display:none}
.topbar-profile{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border:1px solid transparent;border-radius:50%;padding:3px;background:transparent;cursor:pointer}
.topbar-profile .avatar{width:32px;height:32px;font-size:11px}
.topbar-profile:hover,.topbar-profile[aria-current=page]{background:#e7eee1;border-color:#d5e0cd}
.topbar :is(button,summary):focus-visible{outline:2px solid #49764f;outline-offset:3px}
.topbar .team-bell{position:relative;min-width:40px;min-height:40px}
.topbar .team-notice-count:not(:empty){position:absolute;top:1px;right:0;padding:1px 4px;min-width:15px;border:2px solid #fcfcf8;background:#9a5a38;color:white;border-radius:10px;font-size:9px;line-height:1.3;text-align:center}
.topbar .team-dropdown{top:calc(100% + 10px);right:0;border-radius:14px}
@media(min-width:1600px){.topbar .work-tools span{display:inline}.topbar .work-tools button{padding:9px 10px}}
@media(max-width:1279px){
 .topbar{grid-template-columns:minmax(0,1fr) auto;gap:10px 20px;padding:12px 28px}
 .topbar-context{grid-column:1;grid-row:1}
 .topbar .place{grid-column:2;grid-row:1}
 .topbar-clocks{grid-column:1/-1;grid-row:2;padding:8px 0}
 .topbar-clock{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;padding:0 14px}
 .topbar-clock-reading{gap:8px}
 .topbar-clock time{font-size:17px}
}
@media(max-width:800px) and (min-width:641px){.topbar-clock{gap:8px}.topbar-clock-reading{gap:5px}.topbar-clock-label,.topbar-clock-date{font-size:10px}}
@media(max-width:640px){
 .topbar{padding:10px 16px 12px;gap:8px 12px;min-height:0}
 .topbar .place{gap:4px}
 .topbar #team-toolbar{gap:2px}
 .topbar .team-menu>summary{min-height:44px;padding:8px;gap:5px}
 .topbar .team-bell,.topbar-profile{min-width:44px;width:44px;height:44px}
 .topbar-profile{flex-basis:44px}
 .topbar .work-tools{display:none}
 .topbar-clocks{padding:8px 0;border-radius:10px}
 .topbar-clock{flex-direction:column;align-items:flex-start;gap:4px;padding:0 12px}
 .topbar-clock-reading{gap:8px}
 .topbar-clock time{font-size:18px}
 .topbar-clock-date{font-size:10px}
 .topbar-clock-label{font-size:11px}
 .topbar .team-dropdown{position:fixed;top:64px;left:12px;right:12px;width:auto;max-height:calc(100dvh - 150px)}
}
@media(max-width:359px){.topbar{padding-left:12px;padding-right:12px;column-gap:6px}.topbar .place{gap:0}.topbar-clock{padding:0 10px}.topbar-clock-reading{gap:5px}.topbar .crumb{font-size:13px}}
