#v11-bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #ffd59e55;
  background: #ffffff14;
  color: #ffe1ae;
}
#v11-bell:hover, #v11-bell:active { background: #ffffff2b; border-color: #ffd59ea0; }
#v11-bell:focus-visible { outline-color: #ffd59e; }
#v11-bell svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
#v11-bell .notification-count {
  position: absolute; top: -3px; right: -5px; min-width: 18px; height: 18px;
  display: grid; place-items: center; padding-inline: 3px;
  background: #ffd392; color: #562a15; border: 1px solid #78350f;
  border-radius: 12px; font-size: 10px; font-weight: 750; line-height: 1;
}
#systemMenuScrim, .schedule-mobile-switch, .shift-layer .shift-compact, .shift-layer .shift-compact-times { display: none; }

@media screen and (max-width: 700px) {
  body[data-account=true] #mainContent { padding: 10px 8px 20px; }
  body[data-account=true] > header { padding-inline-start: calc(60px + env(safe-area-inset-left)); }
  body[data-account=true] #systemMenuButton:not([hidden]) {
    position: fixed; z-index: 53; inset-inline-start: max(8px, env(safe-area-inset-left));
    top: calc(10px + env(safe-area-inset-top)); display: inline-grid;
    place-items: center; margin: 0; padding: 0; width: 44px; min-height: 44px; font-size: 20px;
    border: 1px solid #93491e; border-radius: 24px; background: #78350f;
    color: #fff2db; box-shadow: 0 4px 16px #512a1340;
  }
  body[data-account=true].system-open #systemMenuScrim {
    display: block; position: fixed; inset: 0; z-index: 51; background: #32201669;
  }
  body[data-account=true].system-open #systemSidebar:not([hidden]) {
    position: fixed; z-index: 52; inset: 0 auto 0 0; width: min(280px, 82vw);
    overflow-y: auto; overscroll-behavior: contain; padding: calc(66px + env(safe-area-inset-top)) 14px 20px;
    border: 0; box-shadow: 8px 0 28px #512a1333;
  }

  #scheduleArea .schedule-toolbar { gap: 5px; padding: 6px; }
  #scheduleArea .schedule-toolbar button { min-height: 40px; padding: 4px 7px; font-size: .85rem; }
  #scheduleArea #notice { padding: 6px 10px; margin-bottom: 8px; font-size: .85rem; }
  .schedule-mobile-switch { display: inline-block; margin: 2px 0 8px; color: #78350f; }
  #scheduleArea:not(.schedule-detailed):not(.schedule-editing) #scheduleTable { --five-day-width: calc(140% - 19.2px); }
  #scheduleArea:not(.schedule-detailed):not(.schedule-editing) #scheduleTable table { width: var(--five-day-width); min-width: 0; }
  #scheduleArea:not(.schedule-detailed):not(.schedule-editing) #scheduleTable .shift-layer { width: var(--five-day-width); }
  #scheduleArea:not(.schedule-detailed):not(.schedule-editing) #scheduleTable :is(th,td) { padding: 2px; }
  #scheduleArea:not(.schedule-detailed):not(.schedule-editing) #scheduleTable thead th { font-size: .7rem; }
  #scheduleArea:not(.schedule-detailed):not(.schedule-editing) #scheduleTable th.time { width: 48px; font-size: .67rem; }
  #scheduleArea:not(.schedule-detailed):not(.schedule-editing) #scheduleTable th.time small { font-size: .64rem; }
  #scheduleArea:not(.schedule-detailed):not(.schedule-editing) #scheduleTable [data-short-date] { font-size: 0; }
  #scheduleArea:not(.schedule-detailed):not(.schedule-editing) #scheduleTable [data-short-date]::after {
    content: attr(data-short-date); font-size: .64rem;
  }
  #scheduleArea:not(.schedule-detailed):not(.schedule-editing) #schedule :is(tr,td) { height: 50px; }
  #scheduleArea:not(.schedule-detailed):not(.schedule-editing) .shift-layer { overflow: clip; }
  #scheduleArea:not(.schedule-detailed):not(.schedule-editing) #schedule td.has-course::before {
    inset: 2px; border-left-width: 2px; border-radius: 4px;
  }
  #scheduleArea:not(.schedule-detailed):not(.schedule-editing) #schedule .course-card { min-height: 0; padding: 4px 2px; border: 0; }
  #scheduleArea:not(.schedule-detailed):not(.schedule-editing) #schedule .course-card h3 {
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
    overflow: hidden; font-size: .68rem; margin: 0;
  }
  #scheduleArea:not(.schedule-detailed):not(.schedule-editing) #schedule .course-card p {
    margin: 2px 0 0; color: #4d4035; font-size: .65rem; line-height: 1.25;
  }
  #scheduleArea:not(.schedule-detailed):not(.schedule-editing) .shift-layer .shift-card {
    padding: 3px 1px; align-items: center; gap: 2px; font-size: .65rem; border-left-width: 2px; border-radius: 4px;
  }
  #scheduleArea:not(.schedule-detailed):not(.schedule-editing) .shift-layer :is(.shift-name,.shift-range) { display: none; }
  #scheduleArea:not(.schedule-detailed):not(.schedule-editing) .shift-layer .shift-compact { display: block; }
  #scheduleArea:not(.schedule-detailed):not(.schedule-editing) .shift-layer .shift-compact-times {
    display: grid; gap: 1px; text-align: center; line-height: 1.15; font-variant-numeric: tabular-nums;
  }
  #scheduleArea:not(.schedule-detailed):not(.schedule-editing) .shift-layer .shift-compact-times span { white-space: nowrap; }
  #scheduleArea:not(.schedule-detailed):not(.schedule-editing) .shift-layer .shift-limited .shift-compact-times { display: none; }

  body[data-view=v11-clock] #moduleArea .portal { padding: 10px; }
  .clock-header { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding: 10px; }
  .clock-header .clock-brand { grid-column: 1/-1; gap: 8px; }
  .clock-brand h2 { font-size: 1.1rem; }
  .clock-brand p { font-size: .78rem; }
  .clock-mark { width: 36px; height: 36px; }
  .clock-header .clock-time { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; padding: 6px 8px; }
  .clock-time strong { font-size: 1.08rem; }
  .clock-card { margin: 12px 0; padding: 10px; }
  .clock-main { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .clock-profile { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 8px; align-items: start; }
  .clock-profile .clock-avatar { width: 44px; height: 44px; border-radius: 10px; }
  .clock-profile-info { display: contents; }
  .clock-profile .clock-identity { gap: 5px; grid-column: 2; align-self: center; overflow-wrap: anywhere; }
  .clock-profile p, .clock-metrics { grid-column: 1/-1; margin: 0; font-size: .82rem; overflow-wrap: anywhere; }
  .clock-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; }
  .clock-metrics span { padding: 5px; }
  .clock-main .clock-actions { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .clock-main .clock-actions button { padding: 6px 4px; }
  .clock-main .clock-actions button:nth-child(3) { grid-column: 1/-1; }
  .clock-network { padding: 7px 8px; border-radius: 8px; background: #f7f3ed; font-size: .8rem; }
  .clock-history-head .clock-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
  .clock-history-head button { min-width: 0; padding: 4px; white-space: normal; }
  .clock-record-table tr { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .clock-record-table td { padding: 6px; min-width: 0; }
  .clock-record-table td:last-child { grid-column: 1/-1; }
}
