.morning-b {
  margin: 20px 27px 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: transparent;
  box-shadow: none;
}

.morning-b-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 27px 30px;
  border: 1px solid #e1eaf1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px #173e620b;
}
.morning-b-intro { max-width: 680px; }
.morning-b-intro h2 { margin: 7px 0 8px; color: #183047; font-size: 28px; line-height: 1.08; letter-spacing: -.04em; }
.morning-b-intro p { margin: 0; color: #6d7f90; font-size: 13px; line-height: 1.5; }
.morning-b .morning-quick-actions { display: flex; align-items: center; gap: 8px; }
.morning-b .morning-quick-actions .button { width: auto; padding: 9px 13px; border-color: #dfe7ee; color: #35536d; font-size: 12px; }

.morning-date-nav {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto 36px;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid #e1eaf1;
  border-radius: 16px;
  background: #fff;
}
.morning-date-nav > div { text-align: center; }
.morning-date-nav span { display: block; margin-bottom: 3px; color: #8a9aa8; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.morning-date-nav strong { display: block; color: #294861; font-size: 13px; text-transform: capitalize; }
.morning-date-arrow, .morning-today-button {
  height: 34px;
  border: 0;
  border-radius: 10px;
  color: #315e8f;
  background: #edf4f9;
  cursor: pointer;
  font: 800 14px/1 Arial, sans-serif;
}
.morning-date-arrow { width: 36px; padding: 0; }
.morning-today-button { padding: 0 13px; font-size: 11px; }
.morning-date-arrow:hover, .morning-today-button:hover { background: #dfeaf3; }
.morning-date-arrow:focus-visible, .morning-today-button:focus-visible { outline: 3px solid #efb95e; outline-offset: 2px; }

.morning-summary-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  padding: 12px 16px;
  color: #315e8f;
  border-radius: 13px;
  background: #eaf3fa;
}
.morning-summary-strip span { flex: 0 0 auto; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.morning-summary-strip strong { color: #294861; font-size: 12px; font-weight: 700; }

.morning-b .activity-report-reminder { margin: 14px 0; }
.morning-flow {
  overflow: hidden;
  border: 1px solid #e1eaf1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px #173e620b;
}
.morning-b .morning-section,
.morning-b.week-start .meeting-goals,
.morning-b.week-review .meeting-goals {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 24px 26px;
  border: 0;
  border-top: 1px solid #e8eef3;
  border-radius: 0;
  background: #fff;
}
.morning-b .morning-section:first-child { border-top: 0; }
.morning-step-index {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #315e8f;
  border: 1px solid #bdd1e1;
  border-radius: 50%;
  background: #edf4f9;
  font-size: 11px;
  font-weight: 900;
}
.morning-step.is-complete .morning-step-index { color: #fff; border-color: #4b9d72; background: #4b9d72; }
.morning-step.is-complete .morning-step-index::before { content: "✓"; }
.morning-step.is-complete .morning-step-index { font-size: 0; }
.morning-step.is-complete .morning-step-index::before { font-size: 13px; }
.morning-step-body { min-width: 0; }
.morning-step-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 13px; }
.morning-step-kicker { display: block; margin-bottom: 5px; color: #8495a4; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.morning-b .morning-step h3 { margin: 0; color: #183047; font-size: 18px; line-height: 1.2; letter-spacing: -.025em; }
.morning-b .morning-step .muted { margin-top: 5px; font-size: 11px; }
.morning-step-tools { display: flex; align-items: center; gap: 8px; }
.morning-step-count {
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0 7px;
  color: #526b81;
  border-radius: 9px;
  background: #f0f4f7;
  font-size: 10px;
  font-weight: 900;
}
.morning-add-shortcut {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  padding: 0;
  border: 1px solid #cbd8e2;
  border-radius: 9px;
  background: #fff;
  color: #315e8f;
  font: 700 18px/1 system-ui;
  cursor: pointer;
}
.morning-add-shortcut:hover { border-color: #9eb6c8; background: #edf4f9; }
.morning-add-shortcut:focus-visible { outline: 3px solid #efb95e; outline-offset: 2px; }
.morning-b #edit-goals { padding: 8px 11px; border-radius: 9px; font-size: 11px; }

.morning-b .meeting-goals-list { margin-top: 4px; gap: 6px; }
.morning-b .meeting-goals-list .goal-row,
.morning-b .meeting-goals-list .goal-card {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #cbdbe7;
  border-radius: 11px;
  background: #e6eff6;
  font-size: 12px;
}
.morning-b .meeting-goals-list .goal-card.goal-done { background: #f1f4f6; border-color: #e0e6ea; }
.morning-b .morning-row {
  min-height: 48px;
  margin: 6px 0;
  padding: 11px 13px;
  border-color: #e1e9f0;
  border-radius: 12px;
  box-shadow: 0 3px 10px #173e6208;
}
.morning-b .morning-row:hover { border-color: #c8d9e6; background: #f9fbfc; }
.morning-b .morning-row input { width: 18px; height: 18px; }
.morning-b .morning-row strong { color: #243e55; font-size: 13px; line-height: 1.3; }
.morning-b .morning-row small { margin-top: 3px; color: #748695; font-size: 10px; }
.morning-carryover-label { display: inline-block; margin-top: 6px; padding: 3px 7px; border-radius: 99px; background: #eef1f3; color: #6f7c86; font-size: 8px; font-weight: 800; letter-spacing: .04em; }
.morning-b .morning-row.done { background: #f7f9fa; box-shadow: none; }
.morning-b .morning-row.done strong { color: #94a2ad; text-decoration: none; }
.morning-b .meeting-row { padding-left: 15px; border-left: 3px solid #79a7c8; }
.morning-b .morning-step > .morning-step-body > .muted { padding: 12px 0 4px; }

.morning-b .finish-morning {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 14px 0 0;
  padding: 20px 22px;
  border: 0;
  border-radius: 18px;
  background: #173e62;
  color: #fff;
  box-shadow: 0 12px 28px #173e6226;
}
.finish-morning > div strong, .finish-morning > div span { display: block; }
.finish-morning > div strong { font-size: 14px; }
.finish-morning > div span { margin-top: 4px; color: #c9d8e4; font-size: 10px; }
.morning-b .finish-morning .button { padding: 12px 17px; background: #fff; color: #173e62; font-size: 12px; box-shadow: none; }
.morning-b .finish-morning .button:hover { background: #edf4f9; }

@media (max-width: 1100px) {
  .morning-b { margin: 18px 15px 0; }
}

@media (max-width: 650px) {
  .morning-b { margin: 14px 2px 0; }
  .morning-b-hero { flex-direction: column; gap: 18px; padding: 22px 19px; border-radius: 18px; }
  .morning-b .morning-quick-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .morning-b .morning-quick-actions .button { width: 100%; }
  .morning-date-nav { grid-template-columns: 34px minmax(0, 1fr) 34px; padding: 9px; }
  .morning-today-button { display: none; }
  .morning-date-nav strong { font-size: 11px; }
  .morning-summary-strip { align-items: flex-start; flex-direction: column; gap: 5px; }
  .morning-b .morning-section,
  .morning-b.week-start .meeting-goals,
  .morning-b.week-review .meeting-goals { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 20px 16px; }
  .morning-step-index { width: 28px; height: 28px; }
  .morning-step-head { gap: 10px; }
  .morning-step-tools { align-items: flex-end; flex-direction: column; }
  .morning-b .finish-morning { align-items: stretch; flex-direction: column; gap: 16px; padding: 20px; }
  .morning-b .finish-morning .button { width: 100%; }
}
