/* Today reference correction: editorial capture, open operational rows. */
.today-only[hidden] {
  display: none !important;
}

.today-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  align-items: start;
  gap: clamp(32px, 5.5vw, 88px);
  margin: 0 0 58px;
}

.today-welcome {
  min-width: 0;
}

.today-editorial-date {
  display: block;
  margin: 0 0 15px;
  color: var(--muted);
  font: 500 11px/1.3 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.today-welcome h1 {
  max-width: 850px;
  margin: 0;
  color: var(--ink);
  font: 400 72px/1 var(--serif);
  letter-spacing: -.01em;
}

.today-welcome > p {
  margin: 15px 0 0;
  color: var(--muted);
  font: italic 400 24px/1.2 var(--serif);
}

.today-provenance {
  min-width: 0;
  margin-top: 5px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.today-provenance-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 78px;
  padding: 12px 0 0;
}

.today-provenance-top:has(.today-sync-summary:not([hidden]))::before {
  content: var(--today-status-label, "HOUSEHOLD STATUS");
  margin: 0 0 13px;
  color: var(--muted);
  font: 500 11px/1.3 var(--sans);
  letter-spacing: .14em;
}

.today-sync-summary {
  overflow-wrap: anywhere;
  color: var(--ink);
  font: 500 30px/1.1 var(--serif);
  white-space: normal;
}

.today-provenance-note {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.capture-card.today-only {
  display: block;
  box-sizing: border-box;
  min-height: 314px;
  margin: 0;
  overflow: visible;
  border: 1px solid var(--line);
  border-left: 4px solid var(--moss);
  border-radius: 0 20px 20px 0;
  background: var(--paper);
}

.capture-card.today-only:has(#captureStatus:not(:empty)) {
  min-height: 366px;
}

.capture-index {
  position: absolute;
  top: 46px;
  left: 25px;
  color: var(--muted);
  font: 500 10px/1 var(--sans);
  letter-spacing: .12em;
}

.capture-main {
  position: relative;
  min-width: 0;
  padding: 39px 28px 30px 25px;
}

.capture-canonical-greeting {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.capture-main .capture-prompt {
  margin: 0 0 13px 45px;
  color: var(--ink);
  font: 500 36px/1.1 var(--serif);
}

.capture-main #captureInput {
  display: block;
  width: calc(100% - 45px);
  min-height: 96px;
  height: 96px;
  margin: 0 0 24px 45px;
  padding: 6px 0;
  resize: vertical;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 400 19px/1.55 var(--sans);
}

.capture-main #captureInput::placeholder {
  color: var(--muted);
  opacity: 1;
}

.capture-main #captureInput:focus {
  outline: 2px solid var(--moss);
  outline-offset: 4px;
  box-shadow: none;
}

.capture-main .capture-actions.today-capture-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  margin: 2px 0 0 -5px;
}

.capture-more {
  position: relative;
  flex: 0 0 auto;
}

.capture-more > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 56px;
  min-height: 56px;
  padding: 0 12px;
  border: 1px solid var(--moss);
  border-radius: 50px;
  color: var(--moss-dark);
  cursor: pointer;
  font-size: 14px;
  list-style: none;
}

.capture-more > summary::-webkit-details-marker {
  display: none;
}

.capture-more > summary .line-icon {
  width: 20px;
  height: 20px;
}

.capture-more > summary span,
.capture-main .capture-mic > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.capture-more[open] > summary {
  background: var(--sage);
}

.capture-more-panel {
  position: absolute;
  z-index: 30;
  left: 0;
  bottom: calc(100% + 10px);
  display: grid;
  gap: 9px;
  width: min(360px, calc(100vw - 48px));
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 5px 14px rgba(32, 35, 31, .07);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.capture-menu-close {
  justify-self: end;
  width: 44px;
  min-height: 44px;
  margin: -10px -10px -8px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
}

.capture-menu-close:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 2px;
}

.capture-main .capture-submit:has(#captureReviewLabel:not([hidden])) {
  width: auto;
  grid-auto-flow: column;
  gap: 8px;
  padding: 0 16px;
  border-radius: 50px;
}

#captureReviewLabel {
  font-size: 14px;
}

#captureReviewLabel[hidden] {
  display: none;
}

.capture-privacy-copy {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.capture-more-panel .capture-file,
.capture-more-panel .text-button {
  justify-content: flex-start;
  min-height: 48px;
  padding: 6px 0;
  border-top: 1px solid var(--line);
  color: var(--moss-dark);
  font-size: 14px;
  text-decoration: none;
  white-space: normal;
}

.capture-main .capture-mic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 52px;
  min-width: 52px;
  min-height: 52px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
}

.capture-main .capture-mic.listening {
  border-color: var(--moss);
  background: var(--sage);
  color: var(--moss-dark);
  box-shadow: 0 0 0 2px rgba(86, 100, 84, .13);
}

.capture-main .capture-mic .line-icon {
  width: 21px;
  height: 21px;
}

.capture-main .capture-submit {
  display: grid;
  place-items: center;
  width: 56px;
  min-width: 56px;
  height: 56px;
  min-height: 56px;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b9bdb5;
  color: var(--paper);
  font-size: 26px;
  font-weight: 400;
}

.capture-main .capture-submit:disabled {
  background: #b9bdb5;
  color: var(--paper);
  opacity: 1;
}

.capture-main .capture-submit:not(:disabled) {
  background: var(--moss-dark);
}

#captureStatus:not(:empty) {
  margin: 20px 0 0;
  padding: 9px 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
}

#captureStatus:not(:empty)::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 9px 1px 0;
  border-radius: 50%;
  background: var(--moss);
}

#today .today-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .62fr);
  gap: clamp(36px, 5.5vw, 86px);
  margin-top: 94px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

#today .today-main,
#today .today-side {
  gap: 42px;
}

#today .today-section-head {
  align-items: baseline;
  margin: 0 0 20px;
}

#today .today-section-head h2 {
  color: var(--muted);
  font: 500 11px/1.3 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}

#today .today-section-head h2 span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: 10px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--ink);
  font: 500 14px/1 var(--sans);
  letter-spacing: 0;
}

#today .today-section-head .today-link {
  min-height: 44px;
}

#today .today-list {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#today .today-calendar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin: 20px 0 8px;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--moss-dark);
  font: 500 13px/1.4 var(--sans);
  text-align: left;
}

#today .today-list > .quiet-empty {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

#today .today-attention-row,
#today .today-todo-row,
#today .today-agenda-row {
  gap: 16px;
  min-height: 78px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

#today .today-icon,
#today .today-initials {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--moss);
  color: transparent;
}

#today .today-icon .line-icon {
  display: none;
}

#today .today-row-body strong {
  font-size: 18px;
}

#today .today-agenda-row .today-row-body button {
  min-height: 44px;
  font-size: 18px;
  line-height: 1.35;
}

#today .today-row-body p,
#today .today-row-body small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

#today .today-attention-row .card-btn {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--moss-dark);
  font-size: 13px;
}

#today .today-agenda-row time {
  width: 56px;
  color: var(--muted);
  font-size: 14px;
}

#today .today-dot,
#today .today-dot.plans {
  width: 6px;
  height: 6px;
  background: var(--moss);
}

#today .today-outro {
  display: none;
}

@media (min-width: 768px) {
  .today-editorial {
    min-height: 222px;
    margin-top: 0;
    margin-bottom: 58px;
  }

  #today .today-side {
    padding-left: clamp(24px, 3vw, 42px);
    border-left: 1px solid var(--line);
  }

  #today .today-main > .today-section:first-child .today-section-head {
    display: block;
  }

  #today .today-main > .today-section:first-child .today-section-head h2 {
    display: block;
    color: var(--ink);
    font: 500 36px/1.1 var(--serif);
    letter-spacing: normal;
    text-transform: none;
  }

  #today .today-main > .today-section:first-child .today-section-head h2::before {
    content: none;
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font: 500 11px/1.3 var(--sans);
    letter-spacing: .14em;
    text-transform: uppercase;
  }

  #today .today-main > .today-section:first-child .today-section-head h2 span {
    vertical-align: middle;
  }

  #today .today-main > .today-section:first-child .today-section-head .today-link {
    float: right;
    margin-top: -38px;
  }
}

@media (max-width: 767px) {
  .today-editorial {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin: 0 0 34px;
  }

  .today-editorial-date {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .today-welcome h1 {
    font-size: clamp(40px, 13.5vw, 56px);
    line-height: 1.02;
    letter-spacing: -.01em;
  }

  .today-welcome > p {
    margin-top: 12px;
    font-size: 23px;
  }

  .today-provenance {
    display: block;
    margin-top: 0;
  }

  .today-provenance-top {
    min-height: 0;
    padding-top: 10px;
  }

  .today-provenance-top:has(.today-sync-summary:not([hidden]))::before {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .today-sync-summary {
    font-size: 22px;
  }

  .today-provenance-note {
    margin: 5px 0 10px;
    font-size: 13px;
  }

  .capture-card.today-only {
    min-height: 292px;
  }

  .capture-card.today-only:has(#captureStatus:not(:empty)) {
    min-height: 346px;
  }

  .capture-main {
    padding: 28px 20px 22px 17px;
  }

  .capture-index {
    display: none;
  }

  .capture-main .capture-prompt {
    margin: 0 0 11px 12px;
    font-size: clamp(30px, 8vw, 32px);
  }

  .capture-main #captureInput {
    width: calc(100% - 12px);
    margin-left: 12px;
    min-height: 82px;
    height: 82px;
    margin-bottom: 18px;
    font: 400 16px/1.55 var(--sans);
  }

  .capture-main .capture-actions.today-capture-actions {
    gap: 8px;
    margin-left: 0;
  }

  .capture-more > summary {
    width: 52px;
    min-height: 52px;
    padding: 0;
  }

  .capture-main .capture-mic {
    gap: 0;
    padding: 0;
  }

  .capture-main .capture-submit {
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
  }

  .capture-main .capture-submit:has(#captureReviewLabel:not([hidden])) {
    gap: 6px;
    padding: 0 10px;
  }

  #captureStatus:not(:empty) {
    margin-left: 0;
  }

#today .today-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
    margin-top: 58px;
    padding-top: 26px;
  }

#today .today-main,
#today .today-side {
    gap: 36px;
  }

#today .today-section-head h2 {
    font-size: 12px;
  }

#today .today-attention-row,
#today .today-todo-row,
#today .today-agenda-row {
    min-height: 70px;
  }

#today .today-outro {
    margin: 30px 0 0;
  }

  #today .today-side {
    padding-left: 0;
    border-left: 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  .capture-main .capture-submit,
  .capture-more > summary {
    transition: none;
  }
}

/* Restored desktop Today proportions. These overrides deliberately stop at
   the 768px breakpoint; phone geometry and interactions remain as authored. */
@media (min-width: 768px) {
  #appShell:has(#today.active-page) .today-editorial {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 0;
    margin-top: 0;
    margin-bottom: 24px;
  }

  #appShell:has(#today.active-page) .today-welcome {
    max-width: none;
  }

  #appShell:has(#today.active-page) .today-welcome h1 {
    max-width: 850px;
    font-size: 72px;
    line-height: 1;
  }

  #appShell:has(#today.active-page) .capture-card.today-only,
  #appShell:has(#today.active-page) .capture-card.today-only:has(#captureStatus:not(:empty)) {
    min-height: 200px;
    height: auto;
    border: 1px solid var(--line);
    border-radius: 14px;
  }

  #appShell:has(#today.active-page) .capture-index {
    top: 36px;
    left: 34px;
  }

  #appShell:has(#today.active-page) .capture-main {
    padding: 28px 36px 12px 40px;
  }

  #appShell:has(#today.active-page) .capture-main .capture-prompt {
    margin: 0 0 10px 45px;
  }

  #appShell:has(#today.active-page) .capture-main #captureInput {
    width: calc(100% - 45px);
    min-height: 44px;
    height: 44px;
    margin: 0 0 14px 45px;
  }

  #appShell:has(#today.active-page) #today .today-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 64px;
    margin-top: 50px;
    padding-top: 34px;
  }

  #appShell:has(#today.active-page) #today .today-side {
    padding-left: 0;
    border-left: 0;
    gap: 32px;
  }

  #appShell:has(#today.active-page) #today .today-main {
    gap: 24px;
  }

  #appShell:has(#today.active-page) #today .today-list > .quiet-empty {
    padding: 6px 0;
  }

  #appShell:has(#today.active-page) #today .today-attention-row,
  #appShell:has(#today.active-page) #today .today-todo-row,
  #appShell:has(#today.active-page) #today .today-agenda-row {
    min-height: 64px;
    padding: 14px 0;
  }

  #appShell:has(#today.active-page) #today .today-row-body strong,
  #appShell:has(#today.active-page) #today .today-agenda-row .today-row-body button {
    font-size: 16px;
  }
}

/* Today refinement: page-local paint and layout; shared navigation is untouched. */
#appShell:has(#today.active-page) .today-editorial #todayEditorialDate {
  color:var(--muted);font:400 12px/1.4 var(--sans);letter-spacing:.14em;text-transform:uppercase;
}
#appShell:has(#today.active-page) .today-editorial.today-only .today-welcome h1 {
  max-width:none;font:400 56px/1.08 var(--serif);letter-spacing:-.015em;white-space:nowrap;
}
#appShell:has(#today.active-page) .today-editorial.today-only .today-welcome h1 br {display:none;}
#appShell:has(#today.active-page) .today-editorial.today-only .today-welcome h1 em {font-style:italic;}
#appShell:has(#today.active-page) .today-editorial.today-only .today-welcome > p {
  margin-top:12px;color:var(--muted);font:italic 400 22px/1.35 var(--serif);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
#appShell:has(#today.active-page) .capture-card.today-only .capture-main {padding:26px 28px 22px;}
#appShell:has(#today.active-page) .capture-card.today-only .capture-prompt {margin:0 0 12px;font:500 30px/1.2 var(--serif);}
#appShell:has(#today.active-page) .capture-card.today-only #captureInput {width:100%;margin:0 0 14px;}
#appShell:has(#today.active-page) .capture-card.today-only .capture-actions {margin-left:0;gap:10px;align-items:center;}
#appShell:has(#today.active-page) .capture-card.today-only :is(.capture-more > summary,.capture-mic) {
  display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
  flex:none;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;
  border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);
}
#appShell:has(#today.active-page) .capture-card.today-only :is(.capture-more > summary,.capture-mic) > span {display:none;}
#appShell:has(#today.active-page) .capture-card.today-only .capture-more[open] > summary {
  border-color:var(--moss);outline:1px solid var(--moss);outline-offset:2px;border-radius:50%;background:transparent;
}
#appShell:has(#today.active-page) .capture-card.today-only .capture-submit {
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  width:auto;min-width:108px;height:44px;min-height:44px;padding:0 18px;border-radius:999px;
  border:1px solid var(--moss-dark);background:var(--moss-dark);color:var(--paper);font:500 15px/1 var(--sans);
}
#appShell:has(#today.active-page) .capture-card.today-only #captureReviewLabel {display:inline !important;}
#appShell:has(#today.active-page) .capture-card.today-only .capture-more-panel {
  box-sizing:border-box;width:min(320px,calc(100vw - 24px));max-width:calc(100vw - 24px);
  padding:44px 0 0;border:1px solid var(--line);border-radius:12px;
  background:var(--paper);box-shadow:0 12px 32px rgba(32,35,31,.13);overflow-y:auto;
}
#appShell:has(#today.active-page) .capture-card.today-only .capture-more-panel > :is(label.capture-file,button.text-button) {
  display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;
  width:100%;height:48px;min-height:48px;margin:0;padding:0 16px;
  border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;
  color:var(--ink);font:400 15px/1.35 var(--sans);text-align:left;text-decoration:none;
}
#appShell:has(#today.active-page) .capture-card.today-only .capture-more-panel > :is(label.capture-file,button.text-button):hover {background:var(--ivory);}
#appShell:has(#today.active-page) .capture-card.today-only .capture-menu-close {
  position:absolute;top:8px;right:8px;display:grid;place-items:center;box-sizing:border-box;
  width:36px;height:36px;min-height:36px;margin:0;padding:0;border:0;border-radius:50%;
  color:var(--muted);background:transparent;font:400 24px/1 var(--sans);
}
#appShell:has(#today.active-page) .capture-card.today-only .capture-privacy-copy {
  margin:0;padding:14px 16px 16px;color:var(--muted);font:400 13px/1.45 var(--sans);text-align:left;
}
#appShell:has(#today.active-page) #today .today-grid {
  display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.95fr);
  grid-template-areas:'attention attention' 'todos agenda' 'todos delegated';
  grid-template-rows:auto min-content 1fr;
  gap:48px 48px;margin-top:56px;padding-top:0;border-top:0;align-items:start;
}
#appShell:has(#today.active-page) #today :is(.today-main,.today-side) {display:contents;}
#appShell:has(#today.active-page) #today .today-section--attention {grid-area:attention;margin-bottom:8px;}
#appShell:has(#today.active-page) #today .today-section--attention:not(:has(.today-attention-row)) .today-section-count {display:none;}
#appShell:has(#today.active-page) #today .today-section--todos {grid-area:todos;}
#appShell:has(#today.active-page) #today .today-section--agenda {grid-area:agenda;}
#appShell:has(#today.active-page) #today .today-section--delegated {grid-area:delegated;}
#appShell:has(#today.active-page) #today .today-section {min-width:0;}
#appShell:has(#today.active-page) #today .today-section-head {
  display:flex;align-items:baseline;justify-content:space-between;gap:12px;
  margin:0;padding:0 0 10px;border-bottom:1px solid var(--line);
}
#appShell:has(#today.active-page) #today .today-section-head h2 {
  display:block;margin:0;color:var(--ink);font:500 26px/1.2 var(--serif);letter-spacing:normal;text-transform:none;
}
#appShell:has(#today.active-page) #today .today-section-head h2 span {
  display:inline;width:auto;min-width:0;height:auto;margin:0;padding:0;border:0;border-radius:0;
  background:transparent;color:var(--muted);font:400 14px/1.3 var(--sans);vertical-align:baseline;
}
#appShell:has(#today.active-page) #today :is(.today-link,.today-calendar-link,.today-connect,.today-todo-toggle) {
  width:auto;min-width:0;min-height:32px;margin:0;padding:4px 0;border:0;border-radius:0;
  background:transparent;color:var(--moss);font:500 14px/1.35 var(--sans);text-decoration:none;
}
#appShell:has(#today.active-page) #today .today-list {margin:0;border:0;}
#appShell:has(#today.active-page) #today .quiet-empty {margin:0;padding:12px 0 0;color:var(--muted);font:400 15px/1.45 var(--sans);}
#appShell:has(#today.active-page) #today :is(.today-attention-row,.today-todo-row,.today-agenda-row,.today-helper) {
  min-height:0;margin:0;padding:14px 0;border-bottom:1px solid var(--line);
}
#appShell:has(#today.active-page) #today .today-row-body {min-width:0;}
#appShell:has(#today.active-page) #today :is(.today-row-body strong,.today-agenda-row .today-row-body button) {
  font:500 17px/1.4 var(--sans);letter-spacing:normal;text-align:left;
}
#appShell:has(#today.active-page) #today :is(.today-row-body p,.today-row-body small) {
  display:block;margin:3px 0 0;color:var(--muted);font:400 14px/1.45 var(--sans);
}
#appShell:has(#today.active-page) #today .today-helper-pills small {font:400 13px/1.4 var(--sans);}
#appShell:has(#today.active-page) #today .today-next {
  margin:12px 0 0;padding:0;color:var(--muted);font:400 14px/1.45 var(--sans);
}
#appShell:has(#today.active-page) #today .today-icon {
  align-self:start;display:block;flex:none;width:7px;height:7px;min-width:7px;margin:9px 6px 0 0;
  padding:0;border:0;border-radius:50%;background:var(--moss);
}
#appShell:has(#today.active-page) #today .today-icon.plans {background:var(--oxblood);}
#appShell:has(#today.active-page) #today .today-icon svg {display:none;}
#appShell:has(#today.active-page) #today .today-todo-add-row {display:flex;align-items:center;justify-content:space-between;gap:12px;}
#appShell:has(#today.active-page) #today #todayTodoForm {flex:1;min-width:0;margin:0;}
#appShell:has(#today.active-page) #today #todayTodoForm input {min-width:0;width:100%;}
#appShell:has(#today.active-page) #today #todayTodoToggle {flex:none;white-space:nowrap;}
#appShell:has(#today.active-page) #today [hidden] {display:none !important;}
@media(max-width:767px) {
  #appShell:has(#today.active-page) .today-editorial.today-only .today-welcome {padding-right:0;}
  #appShell:has(#today.active-page) .today-editorial.today-only .today-welcome h1 {font-size:40px;white-space:normal;}
  #appShell:has(#today.active-page) .today-editorial.today-only .today-welcome h1 br {display:block;}
  #appShell:has(#today.active-page) .today-editorial.today-only .today-welcome > p {font-size:20px;}
  #appShell:has(#today.active-page) .capture-card.today-only {min-height:232px;}
  #appShell:has(#today.active-page) .capture-card.today-only .capture-main {padding:22px 20px;}
  #appShell:has(#today.active-page) .capture-card.today-only .capture-prompt {font-size:26px;}
  #appShell:has(#today.active-page) #today .today-grid {
    grid-template-columns:minmax(0,1fr);grid-template-areas:'attention' 'agenda' 'todos' 'delegated';grid-template-rows:auto;gap:40px;margin-top:40px;
  }
  #appShell:has(#today.active-page) #today .today-section--attention {margin-bottom:0;}
  #appShell:has(#today.active-page) #today .today-section-head h2 {font-size:22px;}
  #appShell:has(#today.active-page) :is(#universalAdd,#cloudHeaderStatus) {display:none !important;}
}
