#duty-notice:empty {display:none}
#duty-notice {padding:12px clamp(16px,3vw,42px) 0}
.duty-banner {display:flex;align-items:center;max-width:760px;margin:auto;gap:.3rem;background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:15px;box-shadow:0 4px 18px #172a2010;animation:duty-notice-in .24s ease-out}
.duty-banner-open,.duty-banner-hide {border:0;background:transparent;color:var(--ui-text);display:flex;align-items:center}
.duty-banner-open {padding:10px 4px 10px 12px;gap:12px;text-align:left;flex:1;min-width:0}
.duty-banner-open strong,.duty-banner-open small{display:block}
.duty-banner-open small{color:var(--ui-muted);font-size:.83rem}
.duty-banner-bell{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;background:var(--ui-soft);color:var(--ui-accent);flex:none}
.duty-open-label{margin-left:auto;font-size:.85rem;font-weight:700}
.duty-banner-open>.ico{width:15px}
.duty-banner-hide{width:44px;height:44px;justify-content:center;color:var(--ui-muted)}
.duty-banner-hide .ico{width:16px}
.page-back {
  display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;
  min-width:44px;min-height:44px;padding:0 10px;
  font:inherit;font-size:13px;font-weight:650;color:var(--ui-text);
  border:1px solid var(--ui-line);background:var(--ui-surface);border-radius:9px;
}
.page-back:hover { background:var(--ui-soft) }
.page-back .ico,body[data-surface=system] #dialog #close .ico {width:19px;height:19px;transform:rotate(180deg)}
body[data-surface=system] #dialog .dlghead {justify-content:flex-start}
body[data-surface=system] #dialog #close {order:-1;width:44px;height:44px}
@media(max-width:820px){
  .page-back~.crumbBrand {display:none!important}
  .page-back {max-width:100%;padding:3px 7px;line-height:1.15;}
  .page-back span {overflow-wrap:anywhere;}
}
body[data-worker]:not([data-worker=""])[data-page=today] .foot {display:none}
@keyframes duty-notice-in{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
@media(max-width:600px){.duty-banner-open{gap:8px}.duty-banner-hide{width:34px}.duty-open-label{font-size:.77rem}.duty-banner-open small{font-size:.76rem}}
@media(prefers-reduced-motion:reduce){.duty-banner{animation:none}}
