.planner-internal-nav {
  display: none !important;
}

.bujo-spread-switcher {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  width: fit-content;
  max-width: 100%;
}

.bujo-spread-tab {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 8px 15px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.bujo-spread-tab:hover {
  background: var(--surface-alt);
  color: var(--text);
}

.bujo-spread-tab.active {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

/* Daily planner */
.daily-planner-root {
  display: grid;
  gap: 13px;
}

.daily-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 5px 18px rgba(16, 23, 25, .035);
}

.daily-summary-metric,
.daily-summary-progress {
  min-width: 0;
  padding: 10px 13px;
  border-right: 1px solid var(--border);
}

.daily-summary-strip > :last-child {
  border-right: 0;
}

.daily-summary-metric span,
.daily-summary-progress span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.daily-summary-metric strong {
  display: inline-block;
  margin-top: 3px;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -.035em;
}

.daily-summary-metric small,
.daily-summary-progress small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.25;
}

.daily-summary-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.daily-summary-progress strong {
  font-size: 13px;
  color: var(--text);
}

.daily-progress-track {
  height: 5px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--surface-alt);
}

.daily-progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
}

.daily-workspace {
  display: grid;
  grid-template-columns: minmax(170px, .72fr) minmax(280px, 1.34fr) minmax(210px, .94fr);
  gap: 13px;
  align-items: start;
}

.daily-column {
  display: grid;
  min-width: 0;
  gap: 13px;
}

.daily-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 5px 18px rgba(16, 23, 25, .035);
}

.daily-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 13px 10px;
  border-bottom: 1px solid var(--border);
}

.daily-card-head h2 {
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: -.012em;
}

.daily-card-head span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.25;
}

.daily-card-body {
  padding: 12px 13px;
}

.daily-empty {
  padding: 13px 10px;
  border: 1px dashed var(--border);
  border-radius: 11px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.daily-empty strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 11px;
}

.daily-empty span {
  display: block;
}

.daily-link-button,
.daily-small-button,
.daily-icon-button,
.daily-inline-actions button,
.daily-migrate-row button,
.daily-capture button,
.daily-note-capture button,
.daily-all-day-item button {
  border: 0;
  border-radius: 8px;
  background: var(--surface-alt);
  color: var(--text);
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.daily-link-button {
  padding: 6px 9px;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.daily-small-button {
  margin-top: 10px;
  padding: 7px 9px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  color: inherit;
}

.daily-icon-button {
  width: 26px;
  height: 26px;
  flex: none;
  padding: 0;
  font-size: 15px;
  line-height: 1;
}

.daily-now-card.active {
  border-color: color-mix(in srgb, var(--primary) 60%, var(--border));
  background: var(--primary);
  color: var(--text-on-accent, #fff);
}

.daily-now-card.active .daily-card-head {
  border-bottom-color: rgba(255, 255, 255, .18);
}

.daily-now-card.active .daily-card-head span,
.daily-now-card.active .daily-context {
  color: rgba(255, 255, 255, .72);
}

.daily-now-title {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 850;
}

.daily-context {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.daily-next-list,
.daily-focus-list,
.daily-top-list {
  display: grid;
  gap: 7px;
}

.daily-next-row {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.daily-next-row:last-child {
  border-bottom: 0;
}

.daily-next-row > span {
  color: var(--primary-dark);
  font-size: 9px;
  font-weight: 850;
}

.daily-next-row strong,
.daily-focus-row strong,
.daily-top-row strong {
  display: block;
  font-size: 10px;
  line-height: 1.35;
}

.daily-next-row small,
.daily-focus-row small,
.daily-top-row small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.35;
}

.daily-top-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 46px;
  padding: 7px 8px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface-alt);
}

.daily-top-row.empty {
  opacity: .7;
  border-style: dashed;
  background: transparent;
}

.daily-top-row.done .daily-top-copy {
  opacity: .58;
  text-decoration: line-through;
}

.daily-rank {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 900;
}

.daily-focus-row {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 4px 0;
}

.daily-focus-mark {
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--warning);
}

.daily-timeline-card {
  min-height: 430px;
}

.daily-timeline-card > .daily-card-head{
  align-items:center;
}
.daily-timeline-header-status{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  min-width:0;
}
.daily-timeline-weather,
.daily-timeline-moon{
  appearance:none;
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  text-align:left;
  cursor:pointer;
}
.daily-timeline-weather:hover,
.daily-timeline-moon:hover{
  opacity:.78;
}
.daily-timeline-weather{
  padding-right:12px;
  border-right:1px solid var(--border);
}
.daily-card-head .daily-timeline-weather-icon{
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  margin-top:0;
  font-size:34px;
  line-height:1;
}
.daily-timeline-moon img{
  display:block;
  width:38px;
  height:38px;
  object-fit:contain;
}
.daily-timeline-status-copy{
  display:grid;
  gap:1px;
  min-width:0;
}
.daily-timeline-weather .daily-timeline-status-copy{
  width:72px;
  flex:0 0 72px;
  text-align:right;
}
.daily-timeline-moon .daily-timeline-status-copy{
  width:92px;
  flex:0 0 92px;
  text-align:right;
}
.daily-card-head .daily-timeline-status-copy strong{
  margin:0;
  color:var(--text);
  font-size:9px;
  line-height:1.15;
  white-space:nowrap;
}
.daily-card-head .daily-timeline-status-copy small{
  display:block;
  margin:0;
  color:var(--muted);
  font-size:7px;
  line-height:1.15;
  white-space:nowrap;
}
.daily-weather-default-check{
  display:flex;
  align-items:center;
  gap:9px;
  margin:10px 0;
  color:var(--text);
  font-size:11px;
}
.daily-weather-default-check input{
  width:16px;
  height:16px;
}
.daily-moon-info{
  display:grid;
  grid-template-columns:82px minmax(0,1fr);
  gap:14px;
  align-items:center;
}
.daily-moon-info>img{
  width:82px;
  height:82px;
  object-fit:contain;
}
.daily-moon-info>div{
  display:grid;
  gap:4px;
}
.daily-moon-info>div strong{
  font-family:Lora,Georgia,serif;
  font-size:20px;
}
.daily-moon-info>div span{
  color:var(--muted);
  font-size:10px;
}
.daily-moon-info dl{
  grid-column:1 / -1;
  display:grid;
  gap:6px;
  margin:4px 0 0;
}
.daily-moon-info dl>div{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:7px 0;
  border-bottom:1px solid var(--border);
}
.daily-moon-info dt{
  color:var(--muted);
  font-size:10px;
}
.daily-moon-info dd{
  margin:0;
  font-size:10px;
  font-weight:800;
  text-align:right;
}
.daily-moon-info p{
  grid-column:1 / -1;
  margin:0;
  color:var(--muted);
  font-size:10px;
  line-height:1.5;
}

@media (max-width:700px){
  .daily-timeline-header-status{gap:8px}
  .daily-timeline-weather{padding-right:8px}
  .daily-timeline-status-copy{display:none}
  .daily-timeline-moon img{width:30px;height:30px}
}

.daily-all-day {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.daily-all-day > span {
  padding-top: 3px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.daily-all-day > div {
  display: grid;
  gap: 6px;
}

.daily-all-day-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  padding: 8px 9px;
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  background: var(--surface-alt);
}

.daily-all-day-item strong {
  font-size: 10px;
}

.daily-all-day-item small {
  grid-column: 1;
  color: var(--muted);
  font-size: 8px;
}

.daily-all-day-item button {
  grid-column: 2;
  grid-row: 1 / span 2;
  padding: 5px 7px;
}

.daily-all-day-item.done {
  opacity: .55;
}

.daily-timeline-list {
  position: relative;
  display: grid;
  gap: 7px;
}

.daily-timeline-list::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 62px;
  width: 1px;
  background: var(--border);
}

.daily-timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.daily-timeline-time {
  padding-top: 8px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
}

.daily-timeline-block {
  position: relative;
  min-height: 48px;
  padding: 8px 9px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 10px;
  background: var(--surface-alt);
}

.daily-timeline-block::before {
  content: "";
  position: absolute;
  top: 13px;
  left: -13px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--primary);
}

.daily-timeline-block.calendar {
  border-left-color: var(--info);
}

.daily-timeline-block.calendar::before {
  background: var(--info);
}

.daily-timeline-block.timetable {
  border-left-color: var(--warning);
}

.daily-timeline-block.timetable::before {
  background: var(--warning);
}

.daily-timeline-source {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.daily-timeline-block strong {
  display: block;
  font-size: 10px;
  line-height: 1.35;
}

.daily-timeline-block small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.35;
}

.daily-timeline-row.done {
  opacity: .58;
}

.daily-timeline-row.done strong {
  text-decoration: line-through;
}

.daily-inline-actions {
  display: flex;
  gap: 5px;
  margin-top: 7px;
}

.daily-inline-actions button {
  padding: 5px 7px;
}

.daily-free-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 30px;
  color: var(--muted);
  font-size: 8px;
}

.daily-free-row > div {
  text-align: right;
  white-space: nowrap;
}

.daily-free-row > span {
  position: relative;
  z-index: 1;
  padding: 5px 8px;
  border: 1px dashed color-mix(in srgb, var(--primary) 32%, var(--border));
  border-radius: 8px;
  background: color-mix(in srgb, var(--primary-soft) 42%, var(--surface));
  color: var(--primary-dark);
  font-weight: 750;
}

.daily-migrate-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}

.daily-migrate-row:last-of-type {
  border-bottom: 0;
}

.daily-migrate-row strong {
  display: block;
  font-size: 10px;
  line-height: 1.35;
}

.daily-migrate-row small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.daily-migrate-row > div:last-child {
  display: flex;
  gap: 5px;
}

.daily-migrate-row button {
  padding: 6px 8px;
}

.daily-help {
  margin-top: 9px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.45;
}

.daily-capture {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
}

.daily-capture input,
.daily-note-capture textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--field-border, #ccd6d4);
  border-radius: 9px;
  outline: 0;
  background: var(--surface);
  color: var(--text);
}

.daily-capture input {
  height: 36px;
  padding: 0 9px;
  font-size: 10px;
}

.daily-capture button,
.daily-note-capture button {
  padding: 7px 9px;
  background: var(--primary);
  color: var(--text-on-accent, #fff);
}

.daily-capture input:focus,
.daily-note-capture textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent);
}

.daily-task-list {
  max-height: 480px;
  overflow: auto;
}

.daily-task-row {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) 26px;
  gap: 8px;
  align-items: center;
  padding: 9px 11px;
  border-bottom: 1px solid var(--border);
}

.daily-task-row:last-child {
  border-bottom: 0;
}

.daily-check {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--primary) 45%, var(--border));
  border-radius: 7px;
  background: var(--surface);
  color: var(--text-on-accent, #fff);
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.daily-task-row.done .daily-check {
  border-color: var(--success);
  background: var(--success);
}

.daily-task-copy strong {
  display: block;
  font-size: 10px;
  line-height: 1.35;
}

.daily-task-copy small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.35;
}

.daily-task-row.done .daily-task-copy {
  opacity: .58;
}

.daily-task-row.done .daily-task-copy strong {
  text-decoration: line-through;
}

.daily-note-capture {
  display: grid;
  gap: 7px;
}

.daily-note-capture textarea {
  min-height: 64px;
  padding: 8px 9px;
  resize: vertical;
  font-size: 10px;
  line-height: 1.4;
}

.daily-note-capture button {
  justify-self: end;
}

.daily-note-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.daily-note {
  padding: 8px 9px;
  border-radius: 9px;
  background: var(--surface-alt);
}

.daily-note strong {
  display: block;
  font-size: 9px;
}

.daily-note p {
  display: -webkit-box;
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.4;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Monthly spread */
.bujo-month-toolbar {
  gap: 16px;
  align-items: center;
}

.bujo-month-toolbar h2 {
  margin: 2px 0 0;
}

.bujo-month-scroll {
  overflow-x: auto;
  padding-bottom: 4px;
}

.bujo-month-grid {
  min-width: 760px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.bujo-month-weekday {
  padding: 5px 8px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.bujo-month-day {
  min-height: 118px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-alt);
  padding: 9px;
}

.bujo-month-day.empty-day {
  border-style: dashed;
  opacity: .35;
  background: transparent;
}

.bujo-month-day.today {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.bujo-month-date {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-bottom: 7px;
  border-radius: 50%;
  color: var(--text);
  font-weight: 800;
}

.bujo-month-day.today .bujo-month-date {
  background: var(--primary);
  color: var(--text-on-accent, #fff);
}

.bujo-month-items {
  display: grid;
  gap: 5px;
}

.bujo-month-item {
  overflow: hidden;
  padding: 5px 7px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 11px;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bujo-month-more {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .daily-workspace {
    grid-template-columns: minmax(210px, .78fr) minmax(360px, 1.22fr);
  }

  .daily-right-column {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}

@media (max-width: 900px) {
  .daily-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .daily-summary-strip > :nth-child(2) {
    border-right: 0;
  }

  .daily-summary-strip > :nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .daily-workspace {
    grid-template-columns: 1fr;
  }

  .daily-right-column {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .bujo-spread-switcher {
    width: 100%;
  }

  .bujo-spread-tab {
    flex: 1 1 0;
    padding-inline: 10px;
  }

  .daily-planner-root {
    gap: 10px;
  }

  .daily-workspace,
  .daily-column {
    gap: 10px;
  }

  .daily-card {
    border-radius: 14px;
  }

  .daily-card-head,
  .daily-card-body {
    padding-inline: 12px;
  }

  .daily-link-button,
  .daily-small-button,
  .daily-inline-actions button,
  .daily-migrate-row button,
  .daily-capture button,
  .daily-note-capture button,
  .daily-all-day-item button {
    min-height: 40px;
    font-size: 10px;
  }

  .daily-icon-button,
  .daily-check {
    min-width: 40px;
    min-height: 40px;
  }

  .daily-task-row {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }

  .daily-task-copy strong,
  .daily-next-row strong,
  .daily-focus-row strong,
  .daily-top-row strong,
  .daily-timeline-block strong,
  .daily-migrate-row strong {
    font-size: 12px;
  }

  .daily-task-copy small,
  .daily-next-row small,
  .daily-focus-row small,
  .daily-top-row small,
  .daily-timeline-block small,
  .daily-migrate-row small,
  .daily-help {
    font-size: 10px;
  }

  .daily-timeline-card {
    min-height: 0;
  }

  .bujo-month-toolbar {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .daily-summary-strip {
    grid-template-columns: 1fr 1fr;
  }

  .daily-summary-metric,
  .daily-summary-progress {
    padding: 9px 10px;
  }

  .daily-timeline-row,
  .daily-free-row {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 13px;
  }

  .daily-timeline-list::before {
    left: 53px;
  }

  .daily-all-day {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .daily-migrate-row {
    grid-template-columns: 1fr;
  }

  .daily-migrate-row > div:last-child {
    justify-content: flex-start;
  }

  .bujo-month-toolbar {
    display: block;
  }

  .bujo-month-toolbar .actions {
    margin-top: 10px;
  }
}


/* Planner command header — compact control bar. */
.book-header.planner-command-header{
  display:flex;
  min-height:80px;
  padding:0 14px 0 0;
  gap:8px;
  align-items:stretch;
  border-bottom:1px solid color-mix(in srgb,var(--border) 78%,transparent);
  background:var(--bg);
}
.book-header.planner-command-header>.book-header-brand{
  display:flex;
  flex:0 0 260px;
  align-items:center;
  gap:12px;
  padding:16px 22px;
  background:#0f2626;
  color:#fff;
}
.book-header.planner-command-header>.book-header-page{display:none}
.planner-header-date-tools{
  display:flex;
  align-items:center;
  gap:10px;
  align-self:center;
  flex:0 0 auto;
  min-width:398px;
  margin-left:20px;
}
.planner-header-square,.planner-header-more{
  appearance:none;
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  flex:0 0 46px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--surface);
  color:var(--text);
  box-shadow:0 2px 7px rgba(16,23,25,.025);
}
.planner-header-square.planner-header-soft{
  border-color:transparent;
  background:color-mix(in srgb,var(--primary-soft) 54%,var(--surface));
  color:var(--primary-dark);
}
.planner-header-square svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.planner-header-date-copy{min-width:230px;padding:0 1px}
.planner-header-date-copy strong{
  display:block;
  font-size:14px;
  line-height:1.25;
  font-weight:850;
  white-space:nowrap;
}
.planner-header-date-copy small{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:10px;
  line-height:1.15;
  white-space:nowrap;
}
.book-header.planner-command-header>.bujo-spread-switcher{
  align-self:center;
  display:flex;
  flex:0 0 auto;
  gap:0;
  margin:0;
  padding:3px;
  border:1px solid var(--border);
  border-radius:11px;
  background:var(--surface);
  box-shadow:0 2px 8px rgba(16,23,25,.025);
}
.book-header.planner-command-header>.bujo-spread-switcher .bujo-spread-tab{
  min-width:61px;
  padding:8px 11px;
  border-radius:8px;
  font-size:9px;
  font-weight:850;
}
.book-header.planner-command-header>.bujo-spread-switcher .bujo-spread-tab.active{
  background:var(--primary);
  color:#fff;
  box-shadow:0 2px 6px color-mix(in srgb,var(--primary) 24%,transparent);
}
.planner-header-more{
  align-self:center;
  width:38px;
  height:38px;
  flex-basis:38px;
  padding:0 0 6px;
  border-radius:10px;
  font-size:15px;
  line-height:1;
  font-weight:900;
  letter-spacing:1px;
  cursor:default;
}
.book-header.planner-command-header>.book-header-account{
  display:flex;
  align-self:center;
  flex:0 0 auto;
  padding:0;
}
.book-header.planner-command-header>.book-header-account .pill{
  padding:8px 10px;
  border:0;
  border-radius:999px;
  background:color-mix(in srgb,var(--primary-soft) 68%,var(--surface));
  color:var(--primary-dark);
  font-size:9px;
  font-weight:800;
  white-space:nowrap;
}
.planner-header-weather{
  align-self:stretch;
  display:flex;
  align-items:center;
  gap:8px;
  min-width:104px;
  margin-left:auto;
  padding:0 2px 0 14px;
  border-left:1px solid var(--border);
}
.planner-header-weather-icon{font-size:22px;line-height:1}
.planner-header-weather>span:last-child{display:block}
.planner-header-weather strong{
  display:block;
  font-size:12px;
  line-height:1.1;
  font-weight:850;
  white-space:nowrap;
}
.planner-header-weather small{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:8px;
  line-height:1;
  white-space:nowrap;
}
.book-header.planner-command-header~.app #moduleHost>.bujo-spread-switcher,
.book-header.planner-command-header~.app #moduleHost>.book-planner-topbar{display:none!important}
@media (max-width:1180px){
  .planner-header-date-tools{min-width:340px;margin-left:14px}
  .planner-header-date-copy{min-width:172px}
  .planner-header-date-copy small{display:none}
  .planner-header-weather{display:none}
}
@media (max-width:1020px){
  .planner-header-date-tools{min-width:292px}
  .planner-header-date-copy{min-width:124px}
  .book-header.planner-command-header>.book-header-account{display:none}
}
@media (max-width:940px){
  .book-header.planner-command-header>.book-header-brand{flex-basis:220px}
  .planner-header-date-tools{margin-left:10px}
  .planner-header-more{display:none}
}
@media (max-width:820px){
  .book-header.planner-command-header{
    position:static;
    display:grid;
    grid-template-columns:1fr;
    min-height:0;
    padding:0;
    gap:0;
  }
  .book-header.planner-command-header>.book-header-brand{display:flex;flex-basis:auto}
  .book-header.planner-command-header>.book-header-page{display:none}
  .planner-header-date-tools{
    width:calc(100% - 30px);
    min-width:0;
    margin:10px 15px 6px;
  }
  .planner-header-date-copy{min-width:0;flex:1 1 auto}
  .book-header.planner-command-header>.bujo-spread-switcher{
    width:calc(100% - 30px);
    margin:0 15px 10px;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .book-header.planner-command-header>.bujo-spread-switcher .bujo-spread-tab{min-width:0}
  .book-header.planner-command-header>.book-header-account,
  .planner-header-weather{display:none}
}




/* Daily two-column layout: timeline left, secondary working block right. */
.daily-workspace.daily-workspace-two-column{
  grid-template-columns:minmax(360px,1.08fr) minmax(350px,.94fr) minmax(250px,.68fr);
}
.daily-status-rail{
  display:grid;
  gap:12px;
  min-width:0;
}
.daily-workspace-two-column .daily-left-column,
.daily-workspace-two-column .daily-right-column,
.daily-workspace-two-column .daily-utility-column{
  grid-column:auto;
  grid-template-columns:1fr;
}
.daily-utility-stack{
  display:grid;
  grid-template-rows:1fr 1fr 1fr;
  gap:12px;
  min-height:0;
}
.daily-utility-card{
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:15px;
  background:var(--surface);
  box-shadow:0 5px 18px rgba(16,23,25,.035);
}
.daily-utility-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:10px 11px 8px;
  border-bottom:1px solid var(--border);
}
.daily-utility-card-head>div{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
}
.daily-utility-card-head strong{
  font-size:11px;
  line-height:1.1;
}
.daily-utility-card-head span{
  color:var(--muted);
  font-size:11px;
}
.daily-utility-card-body{
  min-height:0;
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  padding:8px 10px 10px;
}
.daily-utility-list{
  min-height:0;
  flex:1 1 auto;
  overflow:auto;
  display:grid;
  align-content:start;
  gap:5px;
}
.daily-utility-row{
  display:grid;
  grid-template-columns:18px minmax(0,1fr) 22px;
  gap:6px;
  align-items:center;
  min-height:29px;
  padding:4px 5px;
  border-radius:8px;
}
.daily-utility-row:hover{background:var(--surface-alt)}
.daily-utility-row.done .daily-utility-copy{
  color:var(--muted);
  text-decoration:line-through;
}
.daily-utility-check,
.daily-utility-remove{
  appearance:none;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
}
.daily-utility-check{
  width:17px;
  height:17px;
  border:1px solid var(--border);
  border-radius:50%;
  font-size:9px;
}
.daily-utility-row.done .daily-utility-check{
  border-color:var(--primary);
  background:var(--primary);
  color:#fff;
}
.daily-utility-remove{
  width:22px;
  height:22px;
  font-size:15px;
  opacity:.55;
}
.daily-utility-copy{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:9px;
  font-weight:700;
}
.daily-utility-add{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:6px;
  margin-top:7px;
}
.daily-utility-add input,
.daily-meal-row input{
  min-width:0;
  height:31px;
  padding:0 8px;
  border:1px solid var(--border);
  border-radius:8px;
  background:var(--surface);
  color:var(--text);
  font:inherit;
  font-size:9px;
}
.daily-utility-add button{
  min-width:31px;
  height:31px;
  padding:0 9px;
  border:1px solid var(--border);
  border-radius:8px;
  background:var(--surface-alt);
  color:var(--text);
  font:inherit;
  font-size:10px;
  font-weight:850;
  cursor:pointer;
}
.daily-utility-empty{
  padding:8px 4px;
  color:var(--muted);
  font-size:9px;
  line-height:1.35;
}
.daily-meals{
  display:grid;
  gap:7px;
}
.daily-meal-row{
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  gap:7px;
  align-items:center;
}
.daily-meal-row label{
  color:var(--muted);
  font-size:8px;
  font-weight:850;
}
.daily-meal-save{
  align-self:flex-end;
  margin-top:8px;
  min-height:30px;
  padding:0 10px;
  border:1px solid var(--primary);
  border-radius:8px;
  background:var(--primary);
  color:#fff;
  font:inherit;
  font-size:9px;
  font-weight:850;
  cursor:pointer;
}
.daily-secondary-card{
  min-height:0;
  overflow:hidden;
}
.daily-secondary-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:48px;
  padding:7px 10px;
  border-bottom:1px solid var(--border);
  background:var(--surface);
}
.daily-secondary-tabs{
  display:flex;
  align-items:center;
  gap:5px;
}
.daily-secondary-tabs button{
  appearance:none;
  border:1px solid transparent;
  border-radius:8px;
  padding:8px 14px;
  background:transparent;
  color:var(--muted);
  font:inherit;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
}
.daily-secondary-tabs button.active{
  border-color:color-mix(in srgb,var(--primary) 10%,var(--border));
  background:color-mix(in srgb,var(--primary) 10%,var(--surface));
  color:var(--primary-dark);
}
.daily-log-filter{
  appearance:none;
  min-width:68px;
  height:32px;
  padding:0 24px 0 10px;
  border:1px solid var(--border);
  border-radius:8px;
  background:
    linear-gradient(45deg,transparent 50%,var(--muted) 50%) calc(100% - 11px) 13px/5px 5px no-repeat,
    linear-gradient(135deg,var(--muted) 50%,transparent 50%) calc(100% - 7px) 13px/5px 5px no-repeat,
    var(--surface);
  color:var(--muted);
  font:inherit;
  font-size:9px;
  font-weight:750;
  cursor:pointer;
}
.daily-secondary-pane[hidden]{display:none!important}
.daily-secondary-capture{
  display:grid;
  grid-template-columns:minmax(0,1fr) 105px 58px;
  gap:6px;
  padding:9px 11px;
  border-bottom:1px solid var(--border);
  background:var(--surface);
}
.daily-secondary-capture>input{
  width:100%;
  min-width:0;
  height:36px;
  padding:0 10px;
  border:1px solid var(--field-border,#ccd6d4);
  border-radius:8px;
  outline:0;
  background:var(--surface);
  color:var(--text);
  font:inherit;
  font-size:9px;
}
.daily-secondary-capture>input:focus,
.daily-capture-type:focus-within{
  border-color:var(--primary);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 10%,transparent);
}
.daily-capture-type{
  display:grid;
  grid-template-columns:12px minmax(0,1fr);
  align-items:center;
  gap:5px;
  height:36px;
  padding:0 7px;
  border:1px solid var(--field-border,#ccd6d4);
  border-radius:8px;
  background:var(--surface);
}
.daily-capture-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--primary);
}
.daily-capture-type[data-capture-type="event"] .daily-capture-dot{background:#5b8def}
.daily-capture-type[data-capture-type="note"] .daily-capture-dot{background:#8fa2af}
.daily-capture-type[data-capture-type="finance"] .daily-capture-dot{background:#2fa66b}
.daily-capture-type[data-capture-type="focus"] .daily-capture-dot{background:#6f55c7}
.daily-capture-type[data-capture-type="brainDump"] .daily-capture-dot{background:#d95d86}
.daily-capture-type select{
  width:100%;
  min-width:0;
  height:34px;
  border:0;
  outline:0;
  background:transparent;
  color:var(--text);
  font:inherit;
  font-size:9px;
  font-weight:750;
  cursor:pointer;
}
.daily-secondary-capture>button,
.daily-secondary-note-capture button{
  border:0;
  border-radius:8px;
  background:var(--primary);
  color:var(--text-on-accent,#fff);
  font:inherit;
  font-size:9px;
  font-weight:850;
  cursor:pointer;
}
.daily-secondary-scroll{
  max-height:485px;
  overflow:auto;
}
.daily-log-row{
  position:relative;
  cursor:pointer;
  display:grid;
  grid-template-columns:20px 18px 40px minmax(0,1fr) auto auto auto 24px;
  gap:6px;
  align-items:center;
  min-height:43px;
  padding:5px 9px;
  border-bottom:1px solid var(--border);
  background:var(--surface);
}
.daily-log-row:last-child{border-bottom:0}
.daily-log-row:hover{background:color-mix(in srgb,var(--surface-alt) 58%,var(--surface))}
.daily-log-row[hidden]{display:none!important}
.daily-log-check,
.daily-log-placeholder{
  grid-column:1;
  width:18px;
  height:18px;
  display:grid;
  place-items:center;
  margin:0;
}
.daily-log-check{
  appearance:none;
  padding:0;
  border:1px solid color-mix(in srgb,var(--muted) 55%,var(--border));
  border-radius:50%;
  background:var(--surface);
  color:#fff;
  font:inherit;
  font-size:9px;
  font-weight:900;
  cursor:pointer;
}
.daily-bujo-symbol{
  border:0;
  background:transparent;
  border-radius:6px;
  color:var(--text);
  font:inherit;
  font-size:18px;
  font-weight:800;
  line-height:1;
  cursor:pointer;
}
.daily-bujo-symbol:hover{
  background:var(--surface-alt);
}
.daily-bujo-menu{
  position:fixed;
  z-index:1200;
  min-width:170px;
  padding:6px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--surface);
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}
.daily-bujo-menu-item{
  width:100%;
  display:grid;
  grid-template-columns:28px 1fr;
  gap:8px;
  align-items:center;
  padding:8px 10px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:inherit;
  font:inherit;
  text-align:left;
  cursor:pointer;
}
.daily-bujo-menu-item:hover,
.daily-bujo-menu-item.active{
  background:var(--surface-alt);
}
.daily-bujo-menu-symbol{
  font-size:18px;
  font-weight:900;
  text-align:center;
}
.daily-log-row.is-done .daily-log-check{
  border-color:var(--primary);
  background:var(--primary);
}
.daily-log-row.is-done .daily-bujo-symbol{
  color:#fff;
}
.daily-log-placeholder{
  color:#9aafbb;
  font-size:10px;
  letter-spacing:1px;
}
.daily-log-kind-icon{
  grid-column:2;
  width:17px;
  height:17px;
  display:grid;
  place-items:center;
  border-radius:5px;
  font-size:11px;
  font-weight:850;
}
.daily-log-kind-icon.task{color:var(--primary-dark);background:color-mix(in srgb,var(--primary) 8%,var(--surface))}
.daily-log-kind-icon.note{color:#708794;background:#eef3f6}
.daily-log-kind-icon.finance{color:#278858;background:#edf8f2}
.daily-log-kind-icon.focus{color:#654bb8;background:#f1edfb}
.daily-log-kind-icon.event{color:#456fc7;background:#edf3ff}
.daily-log-kind-icon.capture{color:#bc4d75;background:#fff0f5}
.daily-log-time{
  grid-column:3;
  color:var(--muted);
  font-size:8px;
  font-weight:750;
  white-space:nowrap;
}
.daily-log-copy{
  grid-column:4;
  min-width:0;
}
.daily-log-copy strong{
  display:block;
  overflow:hidden;
  color:var(--text);
  font-size:10px;
  line-height:1.25;
  font-weight:700;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.daily-log-row.is-done .daily-log-copy{
  opacity:.58;
}
.daily-log-row.is-done .daily-log-copy strong{
  text-decoration:line-through;
}
.daily-log-focus-summary,
.daily-log-event-extra{
  grid-column:5;
  color:var(--muted);
  font-size:8px;
  font-weight:750;
  white-space:nowrap;
}
.daily-log-focus-button{
  grid-column:6;
  width:23px;
  height:23px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  border-radius:50%;
  background:color-mix(in srgb,var(--primary) 8%,var(--surface));
  color:var(--primary-dark);
  font:inherit;
  font-size:11px;
  cursor:pointer;
}
.daily-log-chip{
  grid-column:7;
  max-width:105px;
  overflow:hidden;
  padding:4px 9px;
  border-radius:999px;
  background:color-mix(in srgb,var(--daily-row-colour,var(--primary)) 12%,var(--surface));
  color:var(--text);
  font-size:8px;
  font-weight:750;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.daily-log-chip.note{background:#e9eff2;color:#536873}
.daily-log-chip.finance{background:#e8f6ee;color:#226e49}
.daily-log-chip.focus{background:#eee9fb;color:#5942a6}
.daily-log-chip.event{background:#eaf1ff;color:#355daa}
.daily-log-chip.capture{background:#fdeaf1;color:#9a3f60}
.daily-log-chip.task-chip:where(:not(.note,.finance,.focus,.event,.capture)){background:color-mix(in srgb,var(--daily-row-colour,var(--primary)) 13%,var(--surface))}
.daily-log-more{
  grid-column:8;
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  padding:0 0 5px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:var(--muted);
  font:inherit;
  font-size:14px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
}
.daily-log-more:hover{background:var(--surface-alt);color:var(--text)}
.daily-secondary-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-height:38px;
  padding:7px 11px;
  border-bottom:1px solid var(--border);
}
.daily-secondary-toolbar strong{font-size:9px}
.daily-secondary-toolbar span{
  padding:4px 7px;
  border-radius:999px;
  background:var(--surface-alt);
  color:var(--muted);
  font-size:8px;
  font-weight:800;
}
.daily-secondary-note-capture{
  padding:10px 11px;
  border-bottom:1px solid var(--border);
}
.daily-secondary-note-capture textarea{
  min-height:68px;
}
.daily-secondary-bottom{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:10px;
  padding:11px;
  border-top:1px solid var(--border);
  background:color-mix(in srgb,var(--surface-alt) 25%,var(--surface));
}
.daily-quote-box,
.daily-focus-tools{
  position:relative;
  min-height:94px;
  border:1px solid var(--border);
  border-radius:11px;
  background:var(--surface);
}
.daily-quote-box{
  display:grid;
  grid-template-columns:22px minmax(0,1fr) 20px;
  gap:7px;
  align-items:start;
  padding:12px 10px;
}
.daily-quote-mark{
  color:#a8bbc6;
  font-family:Georgia,serif;
  font-size:28px;
  line-height:.9;
}
.daily-quote-box blockquote{
  margin:18px 0 0;
  color:#334a63;
  font-family:Georgia,serif;
  font-size:11px;
  font-style:italic;
  line-height:1.45;
}
.daily-quote-more{
  align-self:end;
  width:20px;
  height:20px;
  padding:0 0 4px;
  border:0;
  background:transparent;
  color:var(--muted);
  font:inherit;
  font-size:13px;
  cursor:pointer;
}
.daily-focus-tools{
  padding:11px 10px;
}
.daily-focus-tools-title{
  display:flex;
  align-items:center;
  gap:7px;
  color:#254b68;
}
.daily-focus-tools-title>span{
  color:var(--primary);
  font-size:14px;
}
.daily-focus-tools-title strong{
  font-size:9px;
}
.daily-focus-tools-buttons{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  margin-top:16px;
}
.daily-focus-tools-buttons button{
  min-height:35px;
  border:1px solid var(--border);
  border-radius:8px;
  background:var(--surface);
  color:#385269;
  font:inherit;
  font-size:9px;
  font-weight:750;
  cursor:pointer;
}
.daily-focus-tools-buttons button:first-child{
  border-color:color-mix(in srgb,var(--primary) 18%,var(--border));
  background:color-mix(in srgb,var(--primary) 8%,var(--surface));
  color:var(--primary-dark);
}
.daily-focus-tools-buttons button:hover{
  border-color:var(--primary);
}
@media (max-width:1080px){
  .daily-log-row{
    grid-template-columns:20px 18px 36px minmax(0,1fr) auto 24px;
  }
  .daily-log-focus-summary,
  .daily-log-event-extra,
  .daily-log-focus-button{display:none}
  .daily-log-chip{grid-column:5}
  .daily-log-more{grid-column:6}
}
@media (max-width:1180px){
  .daily-workspace.daily-workspace-two-column{
    grid-template-columns:minmax(360px,1fr) minmax(350px,1fr);
  }
  .daily-utility-column{grid-column:1/-1!important}
  .daily-utility-stack{
    height:auto!important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-template-rows:none;
  }
}
@media (max-width:900px){
  .daily-workspace.daily-workspace-two-column{grid-template-columns:1fr}
  .daily-workspace-two-column .daily-right-column{grid-column:auto;grid-template-columns:1fr}
  .daily-utility-column{grid-column:auto!important}
  .daily-utility-stack{
    height:auto!important;
    grid-template-columns:1fr;
    grid-template-rows:none;
  }
  .daily-status-rail{grid-template-columns:1fr}
}
@media (max-width:560px){
  .daily-secondary-head{
    align-items:stretch;
    flex-direction:column;
  }
  .daily-secondary-tabs{width:100%}
  .daily-secondary-tabs button{flex:1 1 0}
  .daily-log-filter{width:100%}
  .daily-secondary-capture{
    grid-template-columns:1fr 110px;
  }
  .daily-secondary-capture>button{
    grid-column:1/-1;
    min-height:40px;
  }
  .daily-log-row{
    grid-template-columns:20px 18px 34px minmax(0,1fr) 24px;
  }
  .daily-log-chip,
  .daily-log-focus-summary,
  .daily-log-event-extra,
  .daily-log-focus-button{display:none}
  .daily-log-more{grid-column:5}
  .daily-secondary-bottom{
    grid-template-columns:1fr;
  }
}


/* Daily Status rail */
.daily-status-card{
  min-width:0;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:15px;
  background:var(--surface);
  box-shadow:0 5px 18px rgba(16,23,25,.035);
}
.daily-status-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:11px 12px 8px;
}
.daily-status-card-head>div{
  display:flex;
  align-items:center;
  gap:7px;
}
.daily-status-card-head strong{
  font-size:12px;
}
.daily-status-card-head button{
  border:0;
  background:transparent;
  color:var(--primary);
  font:inherit;
  font-size:9px;
  font-weight:800;
  cursor:pointer;
}
.daily-moon-card{
  position:relative;
  min-height:168px;
  padding:14px 14px 12px;
  border-color:#20384b;
  background:
    radial-gradient(circle at 72% 22%,rgba(255,255,255,.12),transparent 22%),
    linear-gradient(145deg,#11293d,#203b50 72%,#29475c);
  color:#fff;
}
.daily-moon-card::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.2;
  background-image:
    radial-gradient(circle at 12% 22%,#fff 0 1px,transparent 1.5px),
    radial-gradient(circle at 33% 16%,#fff 0 1px,transparent 1.5px),
    radial-gradient(circle at 61% 11%,#fff 0 1px,transparent 1.5px),
    radial-gradient(circle at 84% 28%,#fff 0 1px,transparent 1.5px),
    radial-gradient(circle at 25% 68%,#fff 0 1px,transparent 1.5px);
}
.daily-moon-copy{
  position:relative;
  z-index:1;
  display:grid;
  gap:4px;
  max-width:64%;
}
.daily-status-kicker{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:9px;
  font-weight:800;
  letter-spacing:.03em;
}
.daily-moon-copy>strong{
  margin-top:7px;
  font-family:Lora,Georgia,serif;
  font-size:18px;
}
.daily-moon-copy>span{
  font-size:10px;
}
.daily-moon-copy>small{
  margin-top:6px;
  color:rgba(255,255,255,.78);
  font-size:8px;
  line-height:1.4;
}
.daily-moon-disc{
  position:absolute;
  z-index:1;
  top:25px;
  right:16px;
  width:70px;
  height:70px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  box-shadow:0 8px 18px rgba(0,0,0,.18);
}
.daily-moon-disc span{
  font-size:58px;
  line-height:1;
  filter:grayscale(.25);
}
.daily-moon-card em{
  position:absolute;
  z-index:1;
  right:14px;
  bottom:14px;
  max-width:122px;
  color:rgba(255,255,255,.86);
  font-family:Lora,Georgia,serif;
  font-size:9px;
  line-height:1.35;
  text-align:right;
}
.daily-status-trackers{
  display:grid;
  padding:0 10px 10px;
}
.daily-status-tracker-row{
  display:grid;
  grid-template-columns:22px 82px minmax(0,1fr);
  gap:6px;
  align-items:center;
  min-height:32px;
  padding:0 2px;
  border:0;
  background:transparent;
  color:var(--text);
  font:inherit;
  text-align:left;
  cursor:pointer;
}
.daily-status-tracker-row:hover{
  background:var(--surface-alt);
}
.daily-status-tracker-icon{
  display:grid;
  place-items:center;
  font-size:14px;
}
.daily-status-tracker-label{
  font-size:9px;
  font-weight:750;
}
.daily-status-dots{
  display:grid;
  grid-template-columns:repeat(8,1fr);
  gap:4px;
}
.daily-status-dot{
  aspect-ratio:1;
  min-width:0;
  border:1px solid color-mix(in srgb,var(--muted) 35%,var(--border));
  border-radius:50%;
  background:var(--surface);
}
.daily-status-dot.on{
  border-color:color-mix(in srgb,var(--primary) 55%,var(--border));
  background:color-mix(in srgb,var(--primary) 72%,white);
}
.daily-bio-legend{
  display:flex;
  justify-content:space-between;
  gap:8px;
  padding:0 12px 4px;
  color:var(--muted);
  font-size:8px;
}
.daily-bio-legend span{
  display:flex;
  align-items:center;
  gap:4px;
  white-space:nowrap;
}
.daily-bio-legend i{
  width:7px;
  height:7px;
  border-radius:50%;
}
.daily-bio-legend .physical,.bio-line.physical{stroke:#52b996;background:#52b996}
.daily-bio-legend .emotional,.bio-line.emotional{stroke:#de8e9a;background:#de8e9a}
.daily-bio-legend .intellectual,.bio-line.intellectual{stroke:#4299df;background:#4299df}
.daily-biorhythm-svg{
  display:block;
  width:100%;
  height:auto;
  padding:0 10px 10px;
}
.bio-axis{stroke:var(--border);stroke-width:1}
.bio-today{stroke:var(--muted);stroke-width:1;stroke-dasharray:3 3}
.bio-line{fill:none;stroke-width:2}
.bio-today-label{fill:var(--muted);font-size:7px}
.daily-status-empty{
  display:grid;
  gap:8px;
  place-items:center;
  padding:18px 12px 20px;
  color:var(--muted);
  font-size:9px;
  text-align:center;
}
.daily-status-empty.compact{
  place-items:start;
  padding:2px 0 4px;
  text-align:left;
}
.daily-status-empty button{
  border:1px solid var(--border);
  border-radius:8px;
  padding:6px 9px;
  background:var(--surface-alt);
  color:var(--text);
  font:inherit;
  font-size:8px;
  font-weight:800;
  cursor:pointer;
}
.daily-status-pair{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.daily-steps-card{
  appearance:none;
  display:grid;
  place-items:center;
  gap:7px;
  padding:11px;
  color:var(--text);
  font:inherit;
  cursor:pointer;
}
.daily-steps-card .daily-status-kicker{
  justify-self:start;
  width:100%;
}
.daily-steps-ring{
  width:94px;
  height:94px;
  display:grid;
  place-content:center;
  border-radius:50%;
  background:
    radial-gradient(circle,var(--surface) 62%,transparent 64%),
    conic-gradient(var(--primary) var(--steps-progress),var(--surface-alt) 0);
  text-align:center;
}
.daily-steps-ring strong{
  font-family:Lora,Georgia,serif;
  font-size:18px;
}
.daily-steps-ring span,.daily-steps-card small{
  color:var(--muted);
  font-size:8px;
}
.daily-one-percent-card{
  display:grid;
  place-items:center;
  align-content:center;
  gap:7px;
  min-height:150px;
  padding:12px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.68),rgba(245,241,232,.92)),
    var(--surface);
  text-align:center;
}
.one-percent-mark{
  font-size:25px;
  color:#54799a;
}
.daily-one-percent-card strong{
  font-family:Lora,Georgia,serif;
  font-size:13px;
}
.daily-one-percent-card>span:last-child{
  color:#54799a;
  font-family:Lora,Georgia,serif;
  font-size:10px;
  font-style:italic;
  line-height:1.45;
}
.daily-focus-status{
  display:grid;
  gap:5px;
  padding:0 12px 12px;
}
.daily-focus-status-row{
  display:grid;
  grid-template-columns:25px minmax(0,1fr);
  gap:7px;
  align-items:center;
}
.daily-focus-status-row>span{
  display:grid;
  place-items:center;
  width:25px;
  height:20px;
  border-radius:999px;
  background:var(--surface-alt);
  color:var(--muted);
  font-size:8px;
  font-weight:850;
}
.daily-focus-status-row strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:9px;
}
.daily-focus-status-row.done strong{
  color:var(--muted);
  text-decoration:line-through;
}
@media (max-width:560px){
  .daily-status-pair{grid-template-columns:1fr}
  .daily-status-tracker-row{grid-template-columns:22px 76px minmax(0,1fr)}
}


/* Daily summary strip is retired; Planner uses the dedicated status surfaces instead. */
.daily-planner-root > .daily-summary-strip{
  display:none!important;
}


/* Daily Trackers — rich row design */
.daily-status-card:has(.daily-status-trackers){border-radius:18px}
.daily-status-card:has(.daily-status-trackers) .daily-status-card-head{padding:13px 14px 10px}
.daily-status-card:has(.daily-status-trackers) .daily-status-card-head strong{font-size:13px}
.daily-add-tracker{
  display:flex!important;align-items:center;gap:4px!important;padding:6px 10px!important;
  border:1px solid color-mix(in srgb,var(--primary) 55%,var(--border))!important;border-radius:9px!important;
  background:color-mix(in srgb,var(--primary) 10%,var(--surface))!important;color:var(--primary)!important;
}
.daily-add-tracker span{font-size:14px;line-height:1}
.daily-status-trackers{gap:6px;padding:0 10px 11px}
.daily-status-tracker-row{
  display:grid;grid-template-columns:minmax(0,1fr) 28px 24px;gap:5px;align-items:center;
  min-height:58px;padding:5px 6px;border:1px solid var(--border);border-radius:12px;
  background:color-mix(in srgb,var(--surface-alt) 28%,var(--surface));
}
.daily-status-tracker-row:hover{background:color-mix(in srgb,var(--surface-alt) 52%,var(--surface))}
.daily-tracker-main{
  display:grid;grid-template-columns:38px 88px minmax(0,1fr);gap:8px;align-items:center;
  min-width:0;padding:0;border:0;background:transparent;color:var(--text);font:inherit;text-align:left;cursor:pointer;
}
.daily-status-tracker-icon{
  width:36px;height:36px;border-radius:50%;font-size:17px;
  background:color-mix(in srgb,var(--primary) 11%,var(--surface));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--primary) 8%,transparent);
}
.daily-status-tracker-label{display:grid;gap:2px;min-width:0}
.daily-status-tracker-label strong{overflow:hidden;font-size:10px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}
.daily-status-tracker-label small{color:var(--muted);font-size:7px;white-space:nowrap}
.daily-tracker-value{display:block;min-width:0}
.daily-tracker-done,.daily-tracker-pending{
  display:inline-flex;align-items:center;min-height:25px;padding:0 9px;border-radius:999px;font-size:8px;font-weight:850;
}
.daily-tracker-done{background:color-mix(in srgb,var(--success,#36a269) 22%,var(--surface));color:var(--success,#36a269)}
.daily-tracker-pending{border:1px solid var(--border);color:var(--muted)}
.daily-tracker-measure{display:grid;grid-template-columns:auto 1fr;gap:2px 5px;align-items:baseline}
.daily-tracker-measure strong{font-size:11px}
.daily-tracker-measure span{color:var(--muted);font-size:7px}
.daily-tracker-measure>i{
  grid-column:1/-1;display:block;height:5px;overflow:hidden;border-radius:999px;background:var(--surface-alt);
}
.daily-tracker-measure>i>b{display:block;height:100%;border-radius:inherit;background:var(--primary)}
.daily-tracker-count{display:flex;align-items:center;gap:7px}
.daily-tracker-count>strong{font-size:10px;white-space:nowrap}
.daily-tracker-count>span{display:flex;gap:3px}
.daily-tracker-count i{display:block;width:10px;height:10px;border:1px solid var(--border);border-radius:50%;background:var(--surface)}
.daily-tracker-count i.on{border-color:var(--primary);background:var(--primary)}
.daily-tracker-edit,.daily-tracker-open{
  display:grid;place-items:center;padding:0;border:1px solid var(--border);background:var(--surface);color:var(--muted);cursor:pointer;
}
.daily-tracker-edit{width:28px;height:28px;border-radius:50%;font-size:11px}
.daily-tracker-open{width:24px;height:28px;border-color:transparent;border-radius:8px;background:transparent;font-size:20px}
.daily-tracker-edit:hover,.daily-tracker-open:hover{border-color:var(--primary);color:var(--primary)}
.daily-tracker-delete-modal{
  width:100%;min-height:36px;margin-top:4px;border:1px solid color-mix(in srgb,#d45b55 55%,var(--border));
  border-radius:9px;background:color-mix(in srgb,#d45b55 8%,var(--surface));color:#d45b55;font:inherit;font-size:9px;font-weight:800;cursor:pointer;
}
@media (max-width:560px){
  .daily-status-tracker-row{grid-template-columns:minmax(0,1fr) 28px 22px}
  .daily-tracker-main{grid-template-columns:36px 76px minmax(0,1fr);gap:6px}
}


/* Daily Trackers — full reference treatment */
.daily-status-card:has(.daily-status-trackers){padding:12px!important;border-radius:22px!important;background:linear-gradient(145deg,color-mix(in srgb,var(--surface) 96%,#0b3233),var(--surface))!important}
.daily-status-card:has(.daily-status-trackers) .daily-status-card-head{padding:8px 10px 2px!important}
.daily-status-card:has(.daily-status-trackers) .daily-status-card-head>div:first-child{gap:10px}
.daily-status-card:has(.daily-status-trackers) .daily-status-card-head>div:first-child>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--surface-alt);font-size:18px}
.daily-status-card:has(.daily-status-trackers) .daily-status-card-head strong{font-size:18px!important;letter-spacing:-.3px}
.daily-status-subtitle{margin:-3px 0 12px 54px;color:var(--muted);font-size:10px}
.daily-tracker-head-actions{display:flex;align-items:center;gap:7px}
.daily-add-tracker{min-height:34px!important;padding:0 13px!important;font-size:9px!important}
.daily-tracker-menu{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--border);border-radius:11px;background:var(--surface-alt);color:var(--text);cursor:pointer}
.daily-status-trackers{gap:7px!important;padding:0!important}
.daily-status-tracker-row{grid-template-columns:minmax(0,1fr) 36px 30px!important;min-height:68px!important;padding:7px 8px!important;border-radius:15px!important}
.daily-tracker-main{grid-template-columns:48px 118px minmax(0,1fr)!important;gap:10px!important}
.daily-status-tracker-icon{width:46px!important;height:46px!important;font-size:22px!important;background:color-mix(in srgb,var(--primary) 14%,var(--surface-alt))!important}
.daily-status-tracker-label strong{font-size:12px!important}
.daily-status-tracker-label small{font-size:9px!important;margin-top:2px}
.daily-tracker-value{display:flex!important;align-items:center;gap:8px}
.daily-tracker-done,.daily-tracker-pending{min-height:31px!important;padding:0 12px!important;font-size:10px!important}
.daily-tracker-time{color:var(--muted);font-size:10px}
.daily-tracker-measure{grid-template-columns:auto auto minmax(70px,1fr)!important;align-items:center!important;gap:4px 6px!important}
.daily-tracker-measure strong{font-size:15px!important}
.daily-tracker-measure span{font-size:9px!important}
.daily-tracker-measure>i{grid-column:auto!important;width:100%;min-width:70px;height:9px!important}
.daily-tracker-count>strong{font-size:12px!important}
.daily-tracker-count i{width:13px!important;height:13px!important}
.daily-tracker-edit{width:34px!important;height:34px!important;font-size:14px!important}
.daily-tracker-open{width:30px!important;height:34px!important;font-size:25px!important}
.daily-tracker-sessions{display:flex;align-items:center;gap:8px}
.daily-tracker-sessions>span{display:flex;align-items:center;gap:6px;min-height:32px;padding:0 11px;border:1px solid var(--border);border-radius:999px;color:var(--muted);font-size:9px;font-weight:800;white-space:nowrap}
.daily-tracker-sessions>span.on{border-color:color-mix(in srgb,var(--success,#36a269) 60%,var(--border));background:color-mix(in srgb,var(--success,#36a269) 18%,var(--surface));color:var(--text)}
.daily-tracker-sessions b{font-size:13px;color:var(--primary)}
.daily-self-love{display:grid;gap:5px}
.daily-self-love strong{font-size:13px}
.daily-self-love>span{display:flex;gap:5px}
.daily-self-love i{display:block;width:27px;height:9px;border:1px solid var(--border);border-radius:999px;background:var(--surface-alt)}
.daily-self-love i.on{border-color:transparent;background:#ec72a5}
.daily-gratitude{display:grid;gap:4px}
.daily-gratitude strong{font-size:13px}
.daily-gratitude span{overflow:hidden;max-width:250px;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.daily-trackers-footer{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;margin-top:11px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--primary) 25%,var(--border));border-radius:14px;background:color-mix(in srgb,var(--primary) 7%,var(--surface))}
.daily-quote-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:color-mix(in srgb,var(--primary) 12%,var(--surface));color:var(--primary);font-size:26px;font-weight:900}
.daily-trackers-footer em{color:var(--muted);font-size:10px}
.daily-trackers-footer button{min-height:32px;padding:0 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface-alt);color:var(--text);font:inherit;font-size:9px;font-weight:800}
@media(max-width:700px){
 .daily-tracker-main{grid-template-columns:42px 86px minmax(0,1fr)!important}
 .daily-status-tracker-icon{width:40px!important;height:40px!important;font-size:18px!important}
 .daily-trackers-footer{grid-template-columns:34px 1fr}.daily-trackers-footer button{grid-column:1/-1}
}


/* Daily Trackers — rail scale correction */
.daily-status-card:has(.daily-status-trackers) .daily-status-card-head>div:first-child>span{width:24px!important;height:24px!important;font-size:12px!important}
.daily-status-card:has(.daily-status-trackers) .daily-status-card-head strong{font-size:13px!important}
.daily-status-subtitle{margin-left:39px!important;font-size:8px!important}
.daily-status-tracker-row{min-height:52px!important;padding:5px 6px!important}
.daily-tracker-main{grid-template-columns:32px 78px minmax(0,1fr)!important;gap:7px!important}
.daily-status-tracker-icon{width:30px!important;height:30px!important;font-size:14px!important}
.daily-status-tracker-label strong{font-size:9px!important}
.daily-status-tracker-label small{font-size:7px!important}
.daily-tracker-edit{width:27px!important;height:27px!important;font-size:10px!important}
.daily-tracker-open{width:22px!important;height:27px!important;font-size:18px!important}
.daily-status-tracker-row{grid-template-columns:minmax(0,1fr) 27px 22px!important}
.daily-add-tracker{min-height:28px!important;padding:0 9px!important;font-size:8px!important}
.daily-tracker-menu{width:28px!important;height:28px!important;font-size:10px!important}


/* Daily Trackers — individual icon colours */
.daily-status-tracker-row:nth-child(1) .daily-status-tracker-icon{background:#dff3f7!important;color:#238ba3!important}
.daily-status-tracker-row:nth-child(2) .daily-status-tracker-icon{background:#eee8fb!important;color:#7957b7!important}
.daily-status-tracker-row:nth-child(3) .daily-status-tracker-icon{background:#fff0df!important;color:#d58a35!important}
.daily-status-tracker-row:nth-child(4) .daily-status-tracker-icon{background:#e5f3fb!important;color:#3d91bf!important}
.daily-status-tracker-row:nth-child(5) .daily-status-tracker-icon{background:#fde8f1!important;color:#d65b91!important}
.daily-status-tracker-row:nth-child(6) .daily-status-tracker-icon{background:#e4f5ea!important;color:#469765!important}
.daily-status-tracker-row:nth-child(7) .daily-status-tracker-icon{background:#fff5d8!important;color:#c99b28!important}


/* Daily Trackers — compact rail pass; preserve micro-copy legibility */
.daily-status-card:has(.daily-status-trackers){padding:8px!important;border-radius:16px!important}
.daily-status-card:has(.daily-status-trackers) .daily-status-card-head{padding:4px 6px 1px!important}
.daily-status-card:has(.daily-status-trackers) .daily-status-card-head>div:first-child>span{width:20px!important;height:20px!important;font-size:10px!important}
.daily-status-card:has(.daily-status-trackers) .daily-status-card-head strong{font-size:11px!important}
.daily-status-subtitle{margin:0 0 7px 33px!important;font-size:8px!important}
.daily-tracker-head-actions{gap:4px!important}
.daily-add-tracker{min-height:23px!important;padding:0 7px!important;font-size:8px!important}
.daily-tracker-menu{width:23px!important;height:23px!important;border-radius:8px!important;font-size:9px!important}
.daily-status-trackers{gap:4px!important}
.daily-status-tracker-row{grid-template-columns:minmax(0,1fr) 23px 18px!important;min-height:43px!important;padding:4px 5px!important;border-radius:11px!important}
.daily-tracker-main{grid-template-columns:26px 68px minmax(0,1fr)!important;gap:5px!important}
.daily-status-tracker-icon{width:24px!important;height:24px!important;font-size:11px!important}
.daily-status-tracker-label strong{font-size:9px!important}
.daily-status-tracker-label small{font-size:8px!important}
.daily-tracker-value{gap:4px!important}
.daily-tracker-done,.daily-tracker-pending{min-height:24px!important;padding:0 8px!important;font-size:8px!important}
.daily-tracker-time{font-size:8px!important}
.daily-tracker-measure strong{font-size:11px!important}
.daily-tracker-measure span{font-size:8px!important}
.daily-tracker-measure>i{min-width:50px!important;height:6px!important}
.daily-tracker-count>strong,.daily-self-love strong,.daily-gratitude strong{font-size:9px!important}
.daily-tracker-count i{width:9px!important;height:9px!important}
.daily-tracker-edit{width:22px!important;height:22px!important;font-size:9px!important}
.daily-tracker-open{width:17px!important;height:22px!important;font-size:14px!important}
.daily-tracker-sessions{gap:4px!important}
.daily-tracker-sessions>span{min-height:24px!important;padding:0 7px!important;font-size:8px!important;gap:3px!important}
.daily-tracker-sessions b{font-size:9px!important}
.daily-self-love{gap:3px!important}
.daily-self-love>span{gap:3px!important}
.daily-self-love i{width:18px!important;height:6px!important}
.daily-gratitude{gap:2px!important}
.daily-gratitude span{font-size:8px!important}
.daily-trackers-footer{grid-template-columns:26px minmax(0,1fr) auto!important;gap:6px!important;margin-top:6px!important;padding:6px 7px!important;border-radius:10px!important}
.daily-quote-mark{width:24px!important;height:24px!important;font-size:18px!important}
.daily-trackers-footer em{font-size:8px!important}
.daily-trackers-footer button{min-height:24px!important;padding:0 8px!important;border-radius:8px!important;font-size:8px!important}


/* Daily Trackers — reference icon treatment using existing icons */
.daily-status-tracker-icon{
  border:1px solid color-mix(in srgb,currentColor 20%,transparent)!important;
  box-shadow:inset 0 0 16px color-mix(in srgb,currentColor 10%,transparent)!important;
}
.daily-status-tracker-row:nth-child(1) .daily-status-tracker-icon{background:rgba(43,105,151,.34)!important;color:#65c7ff!important}
.daily-status-tracker-row:nth-child(2) .daily-status-tracker-icon{background:rgba(0,112,78,.38)!important;color:#45e0bd!important}
.daily-status-tracker-row:nth-child(3) .daily-status-tracker-icon{background:rgba(91,70,145,.42)!important;color:#c6a8ff!important}
.daily-status-tracker-row:nth-child(4) .daily-status-tracker-icon{background:rgba(133,66,69,.42)!important;color:#ff7c8e!important}
.daily-status-tracker-row:nth-child(5) .daily-status-tracker-icon{background:rgba(112,57,82,.42)!important;color:#ff70ad!important}
.daily-status-tracker-row:nth-child(6) .daily-status-tracker-icon{background:rgba(122,102,40,.42)!important;color:#ffd45b!important}
.daily-status-tracker-row:nth-child(7) .daily-status-tracker-icon{background:rgba(116,82,23,.38)!important;color:#ffad22!important}


/* Planner daily focus layout — full-height day calendar + Android-style binder shelf. */
.daily-workspace.daily-workspace-two-column{
  grid-template-columns:minmax(260px,.78fr) minmax(620px,2.22fr);
  align-items:stretch;
}
.daily-left-column{
  min-height:calc(100vh - 104px);
}
.daily-left-column .daily-timeline-card{
  height:100%;
  min-height:calc(100vh - 104px);
}
.daily-main-column{
  display:grid;
  grid-template-rows:auto 1fr;
  gap:13px;
  min-width:0;
}
.daily-main-lower{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(250px,.85fr);
  gap:13px;
  align-items:start;
  min-width:0;
}
.planner-binder-shelf-card{
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:15px;
  background:var(--surface);
  box-shadow:0 5px 18px rgba(16,23,25,.035);
}
.planner-binder-shelf-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  padding:10px 13px 8px;
  border-bottom:1px solid var(--border);
}
.planner-binder-shelf-head strong{font-size:13px}
.planner-binder-shelf-head span{color:var(--muted);font-size:9px}
.planner-binder-shelf-back{
  position:relative;
  min-height:300px;
  padding:12px 14px 18px;
  background:color-mix(in srgb,var(--surface-alt) 86%,#efe8db);
}
.planner-binder-row{
  position:absolute;
  left:14px;
  right:14px;
  bottom:18px;
  display:flex;
  align-items:flex-end;
  gap:5px;
  min-height:265px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:0 3px;
  scrollbar-width:thin;
}
.planner-binder-spine{
  appearance:none;
  position:relative;
  flex:0 0 52px;
  width:52px;
  height:263px;
  padding:8px 6px;
  overflow:hidden;
  border:0;
  border-radius:4px 4px 2px 2px;
  background:linear-gradient(90deg,color-mix(in srgb,var(--binder-colour) 82%,#000),var(--binder-colour) 47%,color-mix(in srgb,var(--binder-colour) 94%,#fff));
  box-shadow:0 3px 5px rgba(0,0,0,.18);
  cursor:pointer;
}
.planner-binder-spine::before,
.planner-binder-spine::after{
  content:"";
  position:absolute;
  top:0;bottom:0;
  width:2px;
  pointer-events:none;
}
.planner-binder-spine::before{left:4px;background:rgba(0,0,0,.08)}
.planner-binder-spine::after{right:4px;background:rgba(255,255,255,.10)}
.planner-binder-label{
  position:absolute;
  top:14px;
  left:6px;
  width:40px;
  height:194px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  border:1px solid rgba(0,0,0,.12);
  border-radius:2px;
  background:#f2efe8;
  color:#1c1c1c;
  overflow:hidden;
}
.planner-binder-icon{
  position:absolute;
  top:7px;
  left:50%;
  transform:translateX(-50%);
  color:var(--binder-colour);
  font-size:16px;
  font-weight:900;
}
.planner-binder-label strong{
  position:absolute;
  top:34px;
  left:50%;
  width:auto;
  max-height:150px;
  transform:translateX(-50%);
  overflow:hidden;
  color:#1c1c1c;
  font-size:11px;
  line-height:1;
  font-weight:800;
  text-align:left;
  text-overflow:ellipsis;
  white-space:nowrap;
  writing-mode:vertical-rl;
  text-orientation:mixed;
}
.planner-binder-hole{
  position:absolute;
  left:50%;
  bottom:13px;
  width:24px;
  height:24px;
  transform:translateX(-50%);
  border:1px solid rgba(0,0,0,.22);
  border-radius:50%;
  background:#151515;
  box-shadow:inset 0 0 0 3px #cfcac0,0 1px 2px rgba(0,0,0,.25);
}
.planner-binder-shelf{
  position:absolute;
  left:0;right:0;bottom:0;
  height:18px;
  border-radius:3px;
  background:linear-gradient(#c58b52,#a96e3c 52%,#82502c);
  box-shadow:0 4px 6px rgba(0,0,0,.16);
}
@media(max-width:1180px){
  .daily-workspace.daily-workspace-two-column{grid-template-columns:minmax(230px,.8fr) minmax(500px,2.2fr)}
  .daily-main-lower{grid-template-columns:1fr}
}
@media(max-width:900px){
  .daily-workspace.daily-workspace-two-column{grid-template-columns:1fr}
  .daily-left-column,.daily-left-column .daily-timeline-card{min-height:0;height:auto}
  .planner-binder-shelf-back{min-height:282px}
}


/* Premium binder cabinet treatment — retain Book binder identity, enrich the environment. */
.planner-binder-shelf-card{
  border-color:#273837;
  border-radius:18px;
  background:#101918;
  box-shadow:0 14px 34px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.035);
}
.planner-binder-shelf-head{
  min-height:62px;
  align-items:center;
  padding:10px 14px 10px 16px;
  border-bottom:1px solid rgba(255,255,255,.06);
  background:linear-gradient(180deg,#14201f,#101918);
  color:#fff;
}
.planner-binder-heading{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:170px;
}
.planner-binder-heading-icon{
  display:grid;
  place-items:center;
  width:28px;height:28px;
  border-radius:7px;
  background:#edf1ea;
  color:#102827;
  font-size:15px;
  box-shadow:0 2px 8px rgba(0,0,0,.22);
}
.planner-binder-heading strong{
  display:block;
  font-size:14px;
  line-height:1.15;
}
.planner-binder-heading small{
  display:block;
  margin-top:3px;
  color:#c8d2cf;
  font-size:9px;
  font-weight:600;
}
.planner-binder-tools{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  margin-left:auto;
}
.planner-binder-search{
  display:flex;
  align-items:center;
  gap:7px;
  width:min(250px,28vw);
  min-width:150px;
  padding:0 10px;
  height:34px;
  border:1px solid #2b3c3b;
  border-radius:9px;
  background:#111c1b;
  color:#b9c8c5;
}
.planner-binder-search input{
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#e7efed;
  font:inherit;
  font-size:9px;
}
.planner-binder-search input::placeholder{color:#93a5a1}
.planner-binder-view{
  display:grid;
  place-items:center;
  width:34px;height:34px;
  padding:0;
  border:1px solid #2b3c3b;
  border-radius:9px;
  background:#111c1b;
  color:#aebebb;
  cursor:pointer;
}
.planner-binder-view.is-active{
  border-color:#195f5e;
  background:#174b4a;
  color:#7ce4df;
}
.planner-binder-new{
  height:34px;
  padding:0 13px;
  border:0;
  border-radius:9px;
  background:#2bc7c1;
  color:#092827;
  font:inherit;
  font-size:9px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 5px 14px rgba(43,199,193,.18);
}
.planner-binder-create{position:relative;z-index:30}
.planner-binder-create > summary{
  display:flex;align-items:center;justify-content:center;gap:7px;
  min-width:92px;list-style:none;user-select:none;
}
.planner-binder-create > summary::-webkit-details-marker{display:none}
.planner-binder-create-menu{
  position:absolute;right:0;top:calc(100% + 6px);z-index:100;
  min-width:170px;padding:5px;border:1px solid #2b3c3b;
  border-radius:10px;background:#142321;box-shadow:0 10px 28px rgba(0,0,0,.35);
}
.planner-binder-create-menu button{
  display:block;width:100%;padding:11px 12px;text-align:left;
  border:0;border-radius:6px;background:transparent;color:#e7efed;
  font:inherit;font-size:11px;cursor:pointer;
}
.planner-binder-create-menu button:hover,
.planner-binder-create-menu button:focus-visible{background:#215351;color:#fff}
.planner-binder-shelf-back{
  min-height:272px;
  padding:0 14px 18px;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 0,rgba(248,204,121,.16),transparent 28%),
    repeating-linear-gradient(90deg,rgba(255,255,255,.025) 0 1px,transparent 1px 78px),
    linear-gradient(180deg,#3a2419 0,#261811 100%);
  box-shadow:inset 0 18px 26px rgba(0,0,0,.28), inset 0 -10px 20px rgba(0,0,0,.22);
}
.planner-binder-shelf-back::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(0,0,0,.35),transparent 8%,transparent 92%,rgba(0,0,0,.35)),
    linear-gradient(180deg,rgba(255,210,132,.08),transparent 28%);
}
.planner-binder-count{
  position:absolute;
  top:8px;
  right:12px;
  z-index:4;
  color:#9fb0ac;
  font-size:8px;
}
.planner-binder-row{
  left:92px;
  right:96px;
  bottom:18px;
  min-height:162px;
  gap:5px;
  padding:0 3px;
  z-index:3;
}
/* Preserve current binder proportions; scale the complete object uniformly to ~86%. */
.planner-binder-spine{
  flex-basis:32px;
  width:32px;
  height:158px;
  padding:5px 4px;
}
.planner-binder-spine::before{left:3px}
.planner-binder-spine::after{right:3px}
.planner-binder-label{
  top:8px;
  left:4px;
  width:24px;
  height:117px;
}
.planner-binder-icon{
  top:4px;
  font-size:11px;
}
.planner-binder-icon svg{width:13px;height:13px}
.planner-binder-label strong{
  top:21px;
  max-height:90px;
  max-width:18px;
  font-size:10.5px;
}
.planner-binder-hole{
  bottom:7px;
  width:15px;
  height:15px;
  box-shadow:inset 0 0 0 2.6px #cfcac0,0 1px 2px rgba(0,0,0,.28);
}
.planner-binder-shelf{
  height:20px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.18),transparent 20%),
    linear-gradient(#c98c51,#a96836 52%,#744222);
  box-shadow:0 7px 10px rgba(0,0,0,.35), inset 0 -2px rgba(54,29,14,.45);
  z-index:5;
}
.planner-binder-decor{
  position:absolute;
  bottom:18px;
  z-index:2;
  pointer-events:none;
  user-select:none;
  filter:drop-shadow(0 8px 8px rgba(0,0,0,.32));
}
.planner-binder-decor-left{
  left:4px;
  width:58px;
  height:auto;
}
.planner-binder-decor-right{
  right:2px;
  width:68px;
  height:auto;
}
.planner-binder-shelf-card.is-compact .planner-binder-row{gap:2px}
.planner-binder-shelf-card.is-compact .planner-binder-spine{
  transform:scale(.88);
  transform-origin:center bottom;
  margin-left:-2px;
  margin-right:-2px;
}
@media(max-width:1180px){
  .planner-binder-search{width:190px}
  .planner-binder-decor-left{width:48px}
  .planner-binder-decor-right{width:58px}
  .planner-binder-row{left:52px;right:62px}
}
@media(max-width:900px){
  .planner-binder-shelf-head{align-items:flex-start;flex-direction:column}
  .planner-binder-tools{width:100%;justify-content:flex-start;flex-wrap:wrap}
  .planner-binder-search{width:min(100%,320px)}
  .planner-binder-shelf-back{min-height:258px}
}

.planner-binder-label strong{
  overflow-wrap:anywhere;
  text-overflow:clip;
}


/* Real binder shelf PNG asset composition. */
.planner-binder-cabinet-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  z-index:0;
  pointer-events:none;
  user-select:none;
  opacity:.96;
}
.planner-binder-shelf-back::before{
  z-index:1;
}
.planner-binder-row{z-index:4}
.planner-binder-shelf{z-index:6}
.planner-binder-count{z-index:7}

.planner-binder-decor{
  z-index:3;
  object-fit:contain;
}
.planner-binder-ivy{
  top:-8px;
  left:0;
  width:120px;
  bottom:auto;
}
.planner-binder-trailing{
  top:-6px;
  right:2px;
  width:105px;
  bottom:auto;
}
.planner-binder-lamp{
  left:8px;
  bottom:18px;
  width:74px;
}
.planner-binder-plant-books{
  left:54px;
  bottom:18px;
  width:74px;
}
.planner-binder-globe{
  right:8px;
  bottom:18px;
  width:72px;
}
.planner-binder-decor-left,
.planner-binder-decor-right{
  display:none!important;
}


/* Binder shelf visual rebalance — cabinet supports the binders, not the other way round. */
.planner-binder-shelf-back{
  min-height:222px;
  height:222px;
  padding:0 14px 18px;
}
.planner-binder-cabinet-bg{
  object-fit:cover;
  object-position:center bottom;
  opacity:.88;
}
.planner-binder-shelf-back::before{
  background:linear-gradient(180deg,rgba(8,14,13,.05),rgba(8,14,13,.12));
}
.planner-binder-row{
  left:84px;
  right:82px;
  bottom:18px;
  min-height:198px;
  gap:5px;
  padding:0;
  align-items:flex-end;
}
.planner-binder-spine{
  flex:0 0 39px;
  width:39px;
  height:196px;
  padding:6px 5px;
}
.planner-binder-label{
  top:10px;
  left:5px;
  width:29px;
  height:145px;
}
.planner-binder-icon{
  top:5px;
  font-size:12px;
}
.planner-binder-icon svg{
  width:15px;
  height:15px;
}
.planner-binder-label strong{
  top:25px;
  max-height:112px;
  max-width:22px;
  font-size:10px;
  line-height:1;
  overflow:hidden;
  text-overflow:clip;
  white-space:nowrap;
}
.planner-binder-hole{
  bottom:9px;
  width:18px;
  height:18px;
  box-shadow:inset 0 0 0 2.5px #cfcac0,0 1px 2px rgba(0,0,0,.28);
}

/* Keep the shelf dressed, not crowded. */
.planner-binder-ivy,
.planner-binder-trailing,
.planner-binder-lamp{
  display:none!important;
}
.planner-binder-plant-books{
  display:block!important;
  left:10px;
  bottom:18px;
  width:66px;
  opacity:.96;
}
.planner-binder-globe{
  display:block!important;
  right:10px;
  bottom:18px;
  width:58px;
  opacity:.96;
}
.planner-binder-count{
  top:7px;
  right:10px;
  color:rgba(232,239,236,.72);
  text-shadow:0 1px 2px rgba(0,0,0,.45);
}
@media(max-width:1180px){
  .planner-binder-row{left:72px;right:68px}
  .planner-binder-plant-books{width:58px}
  .planner-binder-globe{width:52px}
}


/* Final approved Book binder shelf composition — match supplied reference using current Book binders. */
.planner-binder-shelf-back{
  height:238px;
  min-height:238px;
  padding:0 14px 22px;
  overflow:hidden;
  background:#271912;
}
.planner-binder-cabinet-bg{
  inset:0;
  object-fit:cover;
  object-position:center 64%;
  opacity:.9;
}
.planner-binder-shelf-back::before{
  z-index:1;
  background:
    linear-gradient(90deg,rgba(8,5,3,.28),transparent 10%,transparent 90%,rgba(8,5,3,.28)),
    linear-gradient(180deg,rgba(3,7,6,.12),transparent 34%,rgba(0,0,0,.12));
}
.planner-binder-row{
  left:104px;
  right:112px;
  bottom:22px;
  min-height:205px;
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  gap:6px;
  overflow-x:auto;
  overflow-y:hidden;
  z-index:5;
}
.planner-binder-spine{
  flex:0 0 40px;
  width:40px;
  height:201px;
  padding:6px 5px;
  border-radius:4px 4px 2px 2px;
  box-shadow:0 3px 7px rgba(0,0,0,.3);
}
.planner-binder-label{
  top:10px;
  left:5px;
  width:30px;
  height:149px;
}
.planner-binder-icon{
  top:5px;
  font-size:12px;
}
.planner-binder-icon svg{width:15px;height:15px}
.planner-binder-label strong{
  top:25px;
  left:50%;
  width:auto;
  max-width:23px;
  max-height:116px;
  font-size:10.5px;
  line-height:1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:clip;
}
.planner-binder-hole{
  bottom:9px;
  width:18px;
  height:18px;
}
.planner-binder-shelf{
  bottom:0;
  height:22px;
  z-index:7;
  border-radius:1px 1px 4px 4px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.23),transparent 16%),
    linear-gradient(#d69a5a,#aa6938 51%,#6e3f22);
  box-shadow:0 7px 10px rgba(0,0,0,.38), inset 0 -3px rgba(49,25,12,.45);
}
.planner-binder-scene{
  position:absolute;
  z-index:4;
  object-fit:contain;
  pointer-events:none;
  user-select:none;
  filter:drop-shadow(0 7px 8px rgba(0,0,0,.34));
}
.planner-binder-scene-left{
  left:5px;
  bottom:22px;
  width:96px;
  max-height:210px;
}
.planner-binder-scene-right-top{
  top:-22px;
  right:-5px;
  width:115px;
  max-height:150px;
  object-position:top right;
}
.planner-binder-scene-right-bottom{
  right:10px;
  bottom:22px;
  width:92px;
  max-height:112px;
}
.planner-binder-count{
  top:8px;
  right:16px;
  z-index:8;
  color:rgba(246,240,226,.74);
  text-shadow:0 1px 2px rgba(0,0,0,.6);
}
@media(max-width:1180px){
  .planner-binder-row{left:94px;right:104px;gap:5px}
  .planner-binder-scene-left{width:86px}
  .planner-binder-scene-right-top{width:102px}
  .planner-binder-scene-right-bottom{width:82px}
}


/* Shelf reference alignment: binders sit on shelf; globe/plant scaled to approved proportions. */
.planner-binder-row{
  bottom:22px;
}
.planner-binder-spine{
  margin-bottom:0;
}
.planner-binder-scene-right-bottom{
  width:74px; /* 20% smaller than prior 92px globe */
  max-height:none;
  bottom:22px;
}
.planner-binder-scene-left{
  width:59px; /* 20% smaller than the 74px globe */
  max-height:none;
  bottom:22px;
}


/* Final shelf proportions matched to approved reference. */
.planner-binder-shelf-back{
  height:238px;
  min-height:238px;
}

.planner-binder-row{
  left:104px;
  right:150px;
  bottom:22px;          /* binder feet sit directly on top of shelf */
  min-height:205px;
  gap:0;                /* binders touch each other */
  padding:0;
  align-items:flex-end;
}

.planner-binder-spine{
  flex:0 0 42px;
  width:42px;
  height:201px;
  margin:0;
}

.planner-binder-spine + .planner-binder-spine{
  margin-left:0;
}

.planner-binder-scene-right-bottom{
  right:12px;
  bottom:22px;
  width:136px;          /* globe: 20% smaller than reference target */
  max-height:190px;
}

.planner-binder-scene-left{
  left:10px;
  bottom:22px;
  width:109px;          /* plant: 20% smaller than globe */
  max-height:165px;
}

.planner-binder-scene-right-top{
  top:-12px;
  right:-4px;
  width:112px;
  max-height:155px;
}

.planner-binder-shelf{
  height:22px;
  bottom:0;
}

@media(max-width:1180px){
  .planner-binder-row{
    left:96px;
    right:136px;
    gap:0;
  }
  .planner-binder-scene-right-bottom{width:122px}
  .planner-binder-scene-left{width:98px}
}


/* Use the shelf built into cabinet.png; remove duplicate CSS shelf. */
.planner-binder-shelf{
  display:none!important;
}

.planner-binder-row{
  bottom:18px;
}

.planner-binder-scene-left,
.planner-binder-scene-right-bottom{
  bottom:18px;
}


/* Binder shelf composition refinement: approved reference proportions. */
.planner-binder-shelf{
  display:none!important;
}

.planner-binder-shelf-back{
  height:238px;
  min-height:238px;
  overflow:hidden;
}

.planner-binder-row{
  left:112px;
  right:162px;
  bottom:18px;
  min-height:172px;
  gap:0;
  padding:0;
  align-items:flex-end;
  z-index:5;
}

.planner-binder-spine{
  flex:0 0 36px;
  width:36px;
  height:171px;
  margin:0;
  padding:5px 4px;
}

.planner-binder-label{
  top:9px;
  left:4px;
  width:26px;
  height:127px;
}

.planner-binder-icon{
  top:5px;
  font-size:11px;
}

.planner-binder-icon svg{
  width:14px;
  height:14px;
}

.planner-binder-label strong{
  top:22px;
  max-width:20px;
  max-height:98px;
  font-size:10px;
  line-height:1;
}

.planner-binder-hole{
  bottom:8px;
  width:16px;
  height:16px;
}

/* Left plant: 40% larger, overlapping first binder with leaves. */
.planner-binder-scene-left{
  left:-6px;
  bottom:18px;
  width:153px;
  max-height:230px;
  z-index:6;
  pointer-events:none;
}

/* Globe: 27% larger and raised into shelf space. */
.planner-binder-scene-right-bottom{
  right:8px;
  bottom:30px;
  width:173px;
  max-height:215px;
  z-index:4;
  pointer-events:none;
}

/* Right plant: trail down to the shelf. */
.planner-binder-scene-right-top{
  top:-6px;
  right:-2px;
  width:126px;
  max-height:230px;
  z-index:6;
  object-fit:contain;
  object-position:top right;
  pointer-events:none;
}

.planner-binder-count{
  z-index:8;
}

@media(max-width:1180px){
  .planner-binder-row{
    left:102px;
    right:146px;
  }
  .planner-binder-scene-left{width:138px}
  .planner-binder-scene-right-bottom{width:156px}
  .planner-binder-scene-right-top{width:114px}
}


/* Shelf-only composition: no cabinet backdrop, keep decor and a single bottom shelf. */
.planner-binder-shelf-back{
  height:238px;
  min-height:238px;
  padding:0 14px 24px;
  overflow:hidden;
  background:linear-gradient(180deg,#17201f 0%,#101716 100%);
  box-shadow:inset 0 10px 22px rgba(0,0,0,.18);
}

.planner-binder-cabinet-bg{
  display:none!important;
}

.planner-binder-shelf-back::before{
  background:none!important;
}

/* Restore one bottom shelf only. */
.planner-binder-shelf{
  display:block!important;
  left:0;
  right:0;
  bottom:0;
  height:24px;
  z-index:7;
  border-radius:1px 1px 4px 4px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.20),transparent 16%),
    linear-gradient(#d69a5a,#aa6938 51%,#6e3f22);
  box-shadow:0 7px 10px rgba(0,0,0,.35), inset 0 -3px rgba(49,25,12,.42);
}

/* Binders up onto shelf, nudged right, with a slight gap. */
.planner-binder-row{
  left:122px;
  right:154px;
  bottom:24px;
  min-height:172px;
  gap:2px;
  padding:0;
  align-items:flex-end;
  z-index:5;
}

.planner-binder-spine{
  margin:0;
}

/* Left plant remains oversized enough for leaves to overlap first binder. */
.planner-binder-scene-left{
  left:-4px;
  bottom:24px;
  width:153px;
  max-height:230px;
  z-index:6;
}

/* Globe moves left by roughly one globe width and sits into the shelf scene. */
.planner-binder-scene-right-bottom{
  right:168px;
  bottom:32px;
  width:173px;
  max-height:215px;
  z-index:4;
}

/* Right trailing plant reaches down to the shelf. */
.planner-binder-scene-right-top{
  top:-6px;
  right:-2px;
  width:126px;
  height:230px;
  max-height:none;
  object-fit:contain;
  object-position:top right;
  z-index:6;
}

@media(max-width:1180px){
  .planner-binder-row{
    left:112px;
    right:142px;
    gap:2px;
  }
  .planner-binder-scene-right-bottom{
    right:150px;
    width:156px;
  }
}


/* Correct shelf composition after live visual review. */
.planner-binder-shelf-back{
  height:238px;
  min-height:238px;
  padding:0 14px 24px;
  background:linear-gradient(180deg,#17201f 0%,#101716 100%);
}

/* Group binders as a compact block and move the whole block right. */
.planner-binder-row{
  left:136px;
  right:auto;
  bottom:24px;
  min-height:172px;
  width:auto;
  gap:2px;
  padding:0;
  justify-content:flex-start;
  align-items:flex-end;
  overflow:visible;
  z-index:5;
}

/* Left plant frames the binder block and overlaps the first binder with leaves. */
.planner-binder-scene-left{
  left:12px;
  bottom:24px;
  width:150px;
  max-height:222px;
  z-index:6;
}

/* Globe belongs in the far-right shelf zone, not stranded in the middle. */
.planner-binder-scene-right-bottom{
  right:38px;
  bottom:28px;
  width:156px;
  max-height:200px;
  z-index:4;
}

/* Trailing plant hangs from top-right and reaches down toward globe/shelf. */
.planner-binder-scene-right-top{
  top:-8px;
  right:-8px;
  width:142px;
  height:232px;
  max-height:none;
  object-fit:contain;
  object-position:top right;
  z-index:6;
}

/* Single shelf only. */
.planner-binder-shelf{
  display:block!important;
  left:0;
  right:0;
  bottom:0;
  height:24px;
  z-index:7;
}

@media(max-width:1180px){
  .planner-binder-row{
    left:126px;
    gap:2px;
  }
  .planner-binder-scene-left{width:140px}
  .planner-binder-scene-right-bottom{
    right:30px;
    width:144px;
  }
  .planner-binder-scene-right-top{
    width:132px;
  }
}


/* Visual reset after live review: compact shelf-only composition. */
.planner-binder-shelf-back{
  height:202px;
  min-height:202px;
  padding:0 14px 22px;
  background:
    radial-gradient(circle at 50% 18%,rgba(37,199,193,.035),transparent 35%),
    linear-gradient(180deg,#16201f 0%,#101716 100%);
  box-shadow:inset 0 10px 22px rgba(0,0,0,.16);
}

/* Binders are the hero again. */
.planner-binder-row{
  left:112px;
  right:auto;
  bottom:22px;
  min-height:166px;
  gap:2px;
  padding:0;
  width:auto;
  justify-content:flex-start;
  align-items:flex-end;
  overflow:visible;
  z-index:5;
}

.planner-binder-spine{
  flex:0 0 36px;
  width:36px;
  height:166px;
  margin:0;
}

.planner-binder-label{
  top:8px;
  left:4px;
  width:26px;
  height:123px;
}

.planner-binder-label strong{
  top:22px;
  max-height:94px;
}

/* Left plant: frame the shelf, overlap the first binder only slightly. */
.planner-binder-scene-left{
  left:18px;
  bottom:22px;
  width:104px;
  max-height:170px;
  z-index:6;
}

/* Globe: clear, separate feature on the right. */
.planner-binder-scene-right-bottom{
  right:92px;
  bottom:26px;
  width:126px;
  max-height:164px;
  z-index:4;
}

/* Trailing plant: narrow right-side frame, down to shelf, not over globe. */
.planner-binder-scene-right-top{
  top:-2px;
  right:-4px;
  width:88px;
  height:190px;
  max-height:none;
  object-fit:contain;
  object-position:top right;
  z-index:6;
}

/* Keep count readable and away from foliage. */
.planner-binder-count{
  top:7px;
  right:102px;
  z-index:8;
  color:rgba(232,239,236,.58);
}

/* One clean shelf only. */
.planner-binder-shelf{
  display:block!important;
  height:22px;
  bottom:0;
  border-radius:0 0 4px 4px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.18),transparent 16%),
    linear-gradient(#d69a5a,#aa6938 52%,#6e3f22);
  box-shadow:0 5px 9px rgba(0,0,0,.32), inset 0 -3px rgba(49,25,12,.42);
}

@media(max-width:1180px){
  .planner-binder-shelf-back{
    height:198px;
    min-height:198px;
  }
  .planner-binder-row{left:104px}
  .planner-binder-scene-left{left:14px;width:96px}
  .planner-binder-scene-right-bottom{right:82px;width:116px}
  .planner-binder-scene-right-top{width:82px}
  .planner-binder-count{right:94px}
}


/* Planner width + local Timeline view mechanics. */
.daily-workspace.daily-workspace-two-column{
  position:relative;
  grid-template-columns:minmax(300px,.92fr) minmax(560px,2.08fr);
  align-items:stretch;
}

.daily-left-column{
  position:relative;
  z-index:3;
}

.daily-main-column{
  position:relative;
  z-index:2;
}

/* Daily / Weekly now belong to Today’s Timeline, not the global planner switcher. */
.book-header .bujo-spread-switcher [data-bujo-spread="daily"],
.book-header .bujo-spread-switcher [data-bujo-spread="weekly"],
#moduleHost > .bujo-spread-switcher [data-bujo-spread="daily"],
#moduleHost > .bujo-spread-switcher [data-bujo-spread="weekly"]{
  display:none!important;
}

.daily-timeline-view-switch{
  display:inline-flex;
  align-items:center;
  gap:2px;
  margin-right:8px;
  padding:2px;
  border:1px solid var(--border);
  border-radius:8px;
  background:var(--surface-alt);
  vertical-align:middle;
}

.daily-timeline-view-button{
  height:25px;
  padding:0 9px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:var(--muted);
  font:inherit;
  font-size:9px;
  font-weight:800;
  cursor:pointer;
}

.daily-timeline-view-button.active{
  background:var(--teal,#107f82);
  color:#fff;
}

/* Weekly mechanics only: pull the Timeline across like a curtain.
   Everything to the right stays rendered in its normal position underneath. */
.daily-planner-root.is-weekly-expanded .daily-left-column{
  position:absolute;
  inset:0 auto auto 0;
  width:100%;
  z-index:30;
  pointer-events:none;
}

.daily-planner-root.is-weekly-expanded .daily-timeline-card{
  width:100%;
  max-width:none;
  pointer-events:auto;
  box-shadow:0 16px 34px rgba(0,0,0,.18);
}

.daily-planner-root.is-weekly-expanded .daily-main-column{
  grid-column:2;
  grid-row:1;
  z-index:1;
}

/* Daily returns to the normal two-column arrangement. */
.daily-planner-root.is-daily-view .daily-left-column{
  position:relative;
  inset:auto;
  width:auto;
  z-index:3;
  pointer-events:auto;
}

@media(max-width:900px){
  .daily-workspace.daily-workspace-two-column{
    grid-template-columns:1fr;
  }
  .daily-planner-root.is-weekly-expanded .daily-left-column{
    position:relative;
    width:auto;
  }
}


/* Smooth curtain animation for Daily <-> Weekly timeline expansion. */
.daily-left-column{
  transition:
    width 320ms cubic-bezier(.22,.61,.36,1),
    max-width 320ms cubic-bezier(.22,.61,.36,1),
    box-shadow 320ms ease;
  transform-origin:left center;
  will-change:width;
}

.daily-timeline-card{
  transition:
    width 320ms cubic-bezier(.22,.61,.36,1),
    max-width 320ms cubic-bezier(.22,.61,.36,1),
    box-shadow 320ms ease;
  transform-origin:left center;
  will-change:width;
}

/* Daily starts at its normal column width. */
.daily-planner-root.is-daily-view .daily-left-column{
  width:100%;
  max-width:100%;
}

/* Weekly pulls the curtain from left to right across the planner body. */
.daily-planner-root.is-weekly-expanded .daily-left-column{
  width:100%;
  max-width:100%;
}

/* Keep the return transition smooth instead of snapping when position changes. */
.daily-workspace.daily-workspace-two-column{
  overflow:visible;
}

@media (prefers-reduced-motion: reduce){
  .daily-left-column,
  .daily-timeline-card{
    transition:none;
  }
}


/* Slower, more visible curtain travel. */
.daily-left-column,
.daily-timeline-card{
  transition:
    width 700ms cubic-bezier(.2,.75,.25,1),
    max-width 700ms cubic-bezier(.2,.75,.25,1),
    box-shadow 700ms ease;
}


/* True curtain glide: animate reveal rather than layout width. */
.daily-left-column{
  transition:none!important;
}

.daily-timeline-card{
  position:relative;
  transform-origin:left center;
  transition:
    clip-path 900ms cubic-bezier(.16,1,.3,1),
    transform 900ms cubic-bezier(.16,1,.3,1),
    box-shadow 900ms ease!important;
  will-change:clip-path,transform;
}

/* Daily: curtain gathered to normal left-column width. */
.daily-planner-root.is-daily-view .daily-timeline-card{
  clip-path:inset(0 calc(100% - 100%) 0 0 round 14px);
  transform:translateX(0);
}

/* Weekly: reveal smoothly across the full planner body. */
.daily-planner-root.is-weekly-expanded .daily-left-column{
  width:100%;
  max-width:none;
}

.daily-planner-root.is-weekly-expanded .daily-timeline-card{
  clip-path:inset(0 0 0 0 round 14px);
  transform:translateX(0);
}

/* Smooth reverse on return to Daily. */
.daily-planner-root.is-daily-view .daily-left-column{
  width:100%;
  max-width:100%;
}

@media(prefers-reduced-motion:reduce){
  .daily-timeline-card{
    transition:none!important;
  }
}


/* True curtain overlay: the planner grid never reflows.
   Existing panels stay exactly where they are and remain active underneath. */
.daily-workspace.daily-workspace-two-column{
  position:relative;
}

.daily-left-column,
.daily-planner-root.is-weekly-expanded .daily-left-column,
.daily-planner-root.is-daily-view .daily-left-column{
  position:relative!important;
  inset:auto!important;
  width:auto!important;
  max-width:none!important;
  z-index:3;
  pointer-events:auto;
}

/* Timeline is always positioned over its own column, so changing its width
   cannot alter the layout of any sibling panel. */
.daily-left-column .daily-timeline-card{
  position:absolute;
  top:0;
  left:0;
  bottom:0;
  width:100%;
  max-width:none;
  z-index:4;
  overflow:hidden;
  transition:
    width 950ms cubic-bezier(.22,.72,.18,1),
    box-shadow 950ms cubic-bezier(.22,.72,.18,1)!important;
  will-change:width;
  clip-path:none!important;
  transform:none!important;
}

/* Pull the curtain across the existing planner without moving anything below it. */
.daily-planner-root.is-weekly-expanded .daily-left-column .daily-timeline-card{
  width:var(--daily-curtain-width,100%);
  z-index:40;
  box-shadow:0 18px 38px rgba(0,0,0,.22);
}

/* Glide back to the original Timeline-column width. */
.daily-planner-root.is-daily-view .daily-left-column .daily-timeline-card{
  width:100%;
  z-index:4;
  box-shadow:var(--shadow,0 4px 16px rgba(0,0,0,.08));
}

/* The original left column remains as the permanent layout placeholder. */
.daily-left-column{
  min-height:calc(100vh - 104px);
}

@media(max-width:900px){
  .daily-left-column .daily-timeline-card{
    position:relative;
    width:100%!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .daily-left-column .daily-timeline-card{
    transition:none!important;
  }
}


/* Binder expansion: shelf stays fixed; selected binder opens downward over cards below. */
.planner-binder-shelf-card{
  position:relative;
  overflow:visible;
  z-index:6;
}

.planner-binder-shelf-back{
  position:relative;
  overflow:visible;
}

.planner-binder-expanded{
  position:absolute;
  top:100%;
  left:0;
  right:0;
  z-index:50;
  min-height:260px;
  max-height:calc(100vh - 220px);
  overflow:auto;
  padding:18px;
  border:1px solid color-mix(in srgb,var(--expanded-binder-colour) 48%,#263331);
  border-top:0;
  border-radius:0 0 16px 16px;
  background:
    linear-gradient(180deg,
      color-mix(in srgb,var(--expanded-binder-colour) 11%,#16201f),
      #101716 72%);
  box-shadow:0 24px 46px rgba(0,0,0,.28);
  transform-origin:top center;
  animation:plannerBinderDrop .46s cubic-bezier(.22,.72,.18,1) both;
}

@keyframes plannerBinderDrop{
  from{
    opacity:0;
    transform:scaleY(.82);
  }
  to{
    opacity:1;
    transform:scaleY(1);
  }
}

.planner-binder-expanded-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}

.planner-binder-expanded-head > div{
  display:flex;
  align-items:baseline;
  gap:8px;
}

.planner-binder-expanded-kicker{
  color:var(--muted);
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
}

.planner-binder-expanded-head strong{
  color:#f4f7f6;
  font-size:18px;
}

.planner-binder-expanded-close{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  background:rgba(255,255,255,.04);
  color:#edf4f2;
  font-size:18px;
  cursor:pointer;
}

.planner-binder-expanded-sections{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  gap:10px;
}

.planner-binder-section-card{
  position:relative;
  min-height:94px;
  padding:15px 14px 13px 18px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:11px;
  background:rgba(255,255,255,.045);
  color:#f2f6f5;
  text-align:left;
  cursor:pointer;
  box-shadow:0 5px 14px rgba(0,0,0,.12);
}

.planner-binder-section-card:hover{
  background:rgba(255,255,255,.07);
}

.planner-binder-section-tab{
  position:absolute;
  top:12px;
  left:0;
  width:5px;
  height:34px;
  border-radius:0 4px 4px 0;
  background:var(--expanded-binder-colour);
}

.planner-binder-section-copy{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.planner-binder-section-copy strong{
  font-size:12px;
}

.planner-binder-section-copy small{
  color:#aebbb8;
  font-size:9px;
  line-height:1.35;
}

.planner-binder-spine.is-expanded{
  z-index:8;
  transform:translateY(-3px);
  box-shadow:0 8px 14px rgba(0,0,0,.28);
}

.daily-main-lower,
.daily-main-column{
  position:relative;
  z-index:1;
}

@media(max-width:900px){
  .planner-binder-expanded{
    position:relative;
    top:auto;
    left:auto;
    right:auto;
    max-height:none;
    border-top:1px solid color-mix(in srgb,var(--expanded-binder-colour) 48%,#263331);
    border-radius:0 0 16px 16px;
  }
}

@media(prefers-reduced-motion:reduce){
  .planner-binder-expanded{
    animation:none;
  }
}


/* Binder open/close should glide like the calendar curtain, not scale-pop. */
.planner-binder-expanded{
  overflow:hidden;
  max-height:0;
  min-height:0;
  opacity:0;
  padding-top:0;
  padding-bottom:0;
  transform:none!important;
  animation:none!important;
  transition:
    max-height 850ms cubic-bezier(.22,.72,.18,1),
    opacity 360ms ease,
    padding-top 850ms cubic-bezier(.22,.72,.18,1),
    padding-bottom 850ms cubic-bezier(.22,.72,.18,1),
    box-shadow 850ms cubic-bezier(.22,.72,.18,1);
}

.planner-binder-shelf-card:has(.planner-binder-spine.is-expanded) .planner-binder-expanded{
  max-height:calc(100vh - 220px);
  min-height:260px;
  opacity:1;
  padding-top:18px;
  padding-bottom:18px;
  box-shadow:0 24px 46px rgba(0,0,0,.28);
}

@media(max-width:900px){
  .planner-binder-expanded{
    max-height:0;
    min-height:0;
  }

  .planner-binder-shelf-card:has(.planner-binder-spine.is-expanded) .planner-binder-expanded{
    max-height:900px;
    min-height:0;
  }
}

@media(prefers-reduced-motion:reduce){
  .planner-binder-expanded{
    transition:none!important;
  }
}


/* Expanded binder fills the exact remaining visible screen below the shelf. */
.planner-binder-expanded{
  height:0;
  max-height:none!important;
  min-height:0!important;
  overflow:auto;
  transition:
    height 850ms cubic-bezier(.22,.72,.18,1),
    opacity 360ms ease,
    padding-top 850ms cubic-bezier(.22,.72,.18,1),
    padding-bottom 850ms cubic-bezier(.22,.72,.18,1),
    box-shadow 850ms cubic-bezier(.22,.72,.18,1)!important;
}

.planner-binder-shelf-card:has(.planner-binder-spine.is-expanded) .planner-binder-expanded{
  height:var(--binder-expanded-height, calc(100vh - 300px));
  max-height:none!important;
  min-height:0!important;
  opacity:1;
  padding-top:18px;
  padding-bottom:18px;
}

@media(max-width:900px){
  .planner-binder-expanded,
  .planner-binder-shelf-card:has(.planner-binder-spine.is-expanded) .planner-binder-expanded{
    height:auto;
  }
}


/* Binder overlays close by clicking the active binder or choosing another binder. */
.planner-binder-expanded-close{
  display:none!important;
}


/* Binder sections should look like physical dividers, not generic cards. */
.planner-binder-expanded-sections{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:16px 12px;
  align-items:start;
  padding-top:8px;
}

.planner-binder-section-card{
  position:relative;
  min-height:118px;
  padding:24px 16px 14px 20px;
  overflow:visible;
  border:1px solid color-mix(in srgb,var(--expanded-binder-colour) 28%,rgba(255,255,255,.10));
  border-radius:4px 10px 10px 10px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.92),rgba(239,236,225,.96));
  color:#202523;
  text-align:left;
  cursor:pointer;
  box-shadow:0 6px 14px rgba(0,0,0,.16);
}

.planner-binder-section-card::before{
  content:"";
  position:absolute;
  inset:6px 7px -5px 7px;
  z-index:-1;
  border-radius:4px 9px 9px 9px;
  background:#d9d5c8;
  box-shadow:0 4px 8px rgba(0,0,0,.10);
}

.planner-binder-divider-tab{
  position:absolute;
  top:-18px;
  left:10px;
  min-width:72px;
  max-width:84%;
  height:24px;
  display:flex;
  align-items:center;
  padding:0 10px;
  overflow:hidden;
  border-radius:7px 7px 0 0;
  background:var(--expanded-binder-colour);
  color:#fff;
  font-size:9px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
  text-overflow:ellipsis;
  box-shadow:0 -2px 5px rgba(0,0,0,.12);
}

.planner-binder-divider-sheet{
  position:absolute;
  left:8px;
  right:8px;
  bottom:-7px;
  height:8px;
  border-radius:0 0 6px 6px;
  background:#c9c4b7;
  z-index:-2;
}

.planner-binder-section-copy{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  gap:7px;
}

.planner-binder-section-copy strong{
  color:#202523;
  font-size:12px;
  font-weight:900;
}

.planner-binder-section-copy small{
  color:#5e6864;
  font-size:9px;
  line-height:1.35;
}

/* Projector-screen motion: roll down from the shelf edge. */
.planner-binder-expanded{
  height:0;
  opacity:1;
  padding-top:0;
  padding-bottom:0;
  overflow:hidden;
  transform-origin:top center;
  clip-path:inset(0 0 100% 0);
  transition:
    height 1050ms cubic-bezier(.18,.76,.22,1),
    clip-path 1050ms cubic-bezier(.18,.76,.22,1),
    padding-top 1050ms cubic-bezier(.18,.76,.22,1),
    padding-bottom 1050ms cubic-bezier(.18,.76,.22,1),
    box-shadow 1050ms cubic-bezier(.18,.76,.22,1)!important;
}

.planner-binder-shelf-card:has(.planner-binder-spine.is-expanded) .planner-binder-expanded{
  height:var(--binder-expanded-height,calc(100vh - 300px));
  clip-path:inset(0 0 0 0);
  padding-top:24px;
  padding-bottom:18px;
  box-shadow:0 24px 46px rgba(0,0,0,.28);
}

/* Content follows the screen down instead of appearing fully formed. */
.planner-binder-expanded-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.planner-binder-context-add{
  position:relative;
  flex:none;
}

.planner-binder-context-add-button{
  min-height:32px;
  padding:0 11px;
  border:1px solid color-mix(in srgb,var(--expanded-binder-colour) 55%,#ffffff);
  border-radius:8px;
  background:var(--expanded-binder-colour);
  color:#fff;
  font:inherit;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}

.planner-binder-context-add-menu{
  position:absolute;
  top:calc(100% + 6px);
  right:0;
  z-index:30;
  min-width:128px;
  padding:5px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
  background:#111a19;
  box-shadow:0 14px 30px rgba(0,0,0,.28);
}

.planner-binder-context-add-menu[hidden]{display:none!important}

.planner-binder-context-add-menu button{
  display:block;
  width:100%;
  padding:8px 9px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#eef5f3;
  font:inherit;
  font-size:10px;
  font-weight:800;
  text-align:left;
  cursor:pointer;
}

.planner-binder-context-add-menu button:hover{
  background:rgba(255,255,255,.08);
}

.planner-binder-expanded-head,
.planner-binder-expanded-sections{
  transform:translateY(-14px);
  opacity:0;
  transition:
    transform 520ms ease 360ms,
    opacity 520ms ease 360ms;
}

.planner-binder-shelf-card:has(.planner-binder-spine.is-expanded) .planner-binder-expanded-head,
.planner-binder-shelf-card:has(.planner-binder-spine.is-expanded) .planner-binder-expanded-sections{
  transform:translateY(0);
  opacity:1;
}

@media(prefers-reduced-motion:reduce){
  .planner-binder-expanded,
  .planner-binder-expanded-head,
  .planner-binder-expanded-sections{
    transition:none!important;
  }
}


/* Final binder expansion sizing/motion:
   glide by real pixel height; fill viewport minimum, grow for content. */
.planner-binder-expanded{
  box-sizing:border-box;
  height:0;
  max-height:none!important;
  min-height:0!important;
  overflow:hidden;
  clip-path:none!important;
  transform:none!important;
  animation:none!important;
  transition:none!important;
}

.planner-binder-shelf-card:has(.planner-binder-spine.is-expanded) .planner-binder-expanded{
  height:0;
  max-height:none!important;
  min-height:0!important;
  padding-top:18px;
  padding-bottom:18px;
}

.planner-binder-expanded-head,
.planner-binder-expanded-sections{
  opacity:1!important;
  transform:none!important;
  transition:none!important;
}


/* Divider sheets: 8 tabs along top, with working-space body below. */
.planner-binder-expanded-sections{
  display:flex!important;
  flex-direction:column;
  gap:34px!important;
  align-items:stretch;
  padding-top:30px;
}

.planner-binder-divider-card{
  position:relative;
  min-height:260px;
  overflow:visible;
}

.planner-binder-divider-tabs{
  position:absolute;
  top:-30px;
  left:18px;
  right:18px;
  z-index:6;
  display:grid;
  grid-template-columns:repeat(8,minmax(0,1fr));
  gap:3px;
  align-items:end;
}

.planner-binder-divider-top-tab{
  min-width:0;
  height:30px;
  padding:0 8px;
  border:0;
  border-radius:8px 8px 0 0;
  background:var(--divider-tab-colour);
  color:#fff;
  font:inherit;
  font-size:8px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 -2px 5px rgba(0,0,0,.12);
  overflow:hidden;
}

.planner-binder-divider-top-tab span{
  display:block;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.planner-binder-divider-page{
  width:100%;
  min-width:0;
  box-sizing:border-box;
  --surface:#20302d;
  --text:#edf4f1;
  --muted:#afc0b9;
  --border:rgba(233,245,240,.17);
  min-height:260px;
  padding:22px 22px 24px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:4px 12px 12px 12px;
  background:linear-gradient(180deg,#1d2a28 0%,#151f1d 100%);
  color:var(--text);
  box-shadow:
    0 10px 20px rgba(0,0,0,.23),
    inset 0 1px rgba(255,255,255,.06);
}

.planner-binder-divider-page-copy{
  margin-bottom:18px;
}

.planner-binder-divider-page-kicker{
  display:block;
  margin-bottom:5px;
  color:var(--muted);
  font-size:8px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.planner-binder-divider-page-copy strong{
  display:block;
  font-size:18px;
  line-height:1.15;
}

.planner-binder-divider-page-copy p{
  max-width:760px;
  margin:8px 0 0;
  color:var(--muted);
  font-size:10px;
  line-height:1.45;
}

.planner-binder-divider-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-bottom:18px;
}

.planner-binder-divider-stat{
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:8px;
  background:#243430;
}

.planner-binder-divider-stat span{
  display:block;
  margin-bottom:3px;
  color:var(--muted);
  font-size:8px;
  font-weight:800;
  text-transform:uppercase;
}

.planner-binder-divider-stat strong{
  font-size:14px;
}

.planner-binder-divider-detail-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  min-width:0;
  gap:18px;
}

.planner-binder-divider-detail-grid > div{
  min-width:0;
  padding:12px;
  border:1px solid var(--border);
  border-radius:9px;
  background:#1f2d2a;
}

/* Tasks and Milestones use the same open, unboxed divider section layout. */
.planner-binder-divider-detail-grid > .planner-binder-divider-milestones,
.planner-binder-divider-detail-grid > .planner-binder-divider-standalone-tasks{
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
}

.planner-binder-divider-detail-label{
  display:block;
  margin-bottom:8px;
  color:var(--muted);
  font-size:9px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.planner-binder-divider-detail-list{
  display:flex;
  flex-direction:column;
  gap:5px;
}

.planner-binder-divider-detail-list span{
  font-size:10px;
  line-height:1.3;
}

.planner-binder-divider-detail-list .is-empty{
  color:var(--muted);
  font-style:italic;
}

/* Divider milestones mirror the Milestones view: expandable full-width
   concertinas, segmented progress pills, standard Edit and completion controls. */
.planner-binder-divider-milestones,
.planner-binder-divider-standalone-tasks{
  min-width:0;
  width:100%;
  box-sizing:border-box;
}
.planner-binder-milestone{
  min-width:0;
  border-bottom:1px solid var(--border);
  color:var(--text);
}
.planner-binder-milestone:last-child{border-bottom:0}
.planner-binder-milestone-row{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:74px;
  padding:9px 0;
}
.planner-binder-milestone-main{
  display:flex;
  align-items:center;
  flex:1;
  gap:10px;
  min-width:0;
  padding:6px 4px;
  border:0;
  background:transparent;
  color:inherit;
  text-align:left;
  font:inherit;
  cursor:pointer;
}
.planner-binder-milestone-main:hover .planner-binder-milestone-title{text-decoration:underline;text-underline-offset:3px}
.planner-binder-milestone-chevron{
  flex:none;
  width:18px;
  font-size:13px;
  color:var(--muted);
  transition:transform .15s ease;
}
.planner-binder-milestone-chevron.is-expanded{transform:rotate(90deg)}
.planner-binder-milestone-copy{display:block;min-width:0;flex:1}
.planner-binder-milestone-title{
  display:block;
  overflow-wrap:anywhere;
  font-size:14px;
  font-weight:800;
  line-height:1.3;
}
.planner-binder-milestone.is-done .planner-binder-milestone-title{text-decoration:line-through}
.planner-binder-milestone-meta{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  margin-top:4px;
  color:var(--muted);
  font-size:10px;
  line-height:1.35;
}
.planner-binder-milestone-priority{
  padding:2px 6px;
  border-radius:7px;
  font-size:9px;
  font-weight:800;
  background:#2c4b45;
  color:#def3eb;
}
.planner-binder-milestone-priority.high{background:#66492d;color:#ffe2bd}
.planner-binder-milestone-priority.critical{background:#683337;color:#ffe1e1}
.planner-binder-milestone-priority.low{background:#23485e;color:#d1ebff}
.planner-binder-milestone-pill{
  position:relative;
  flex:0 0 150px;
  width:150px;
  height:18px;
  box-sizing:border-box;
  padding:2px;
  border:1px solid color-mix(in srgb,var(--primary) 72%,var(--border));
  border-radius:999px;
  background:color-mix(in srgb,var(--surface-alt) 88%,transparent);
  overflow:hidden;
}
.planner-binder-milestone-pill::after{
  content:'';
  position:absolute;
  inset:2px;
  border-radius:999px;
  background:repeating-linear-gradient(90deg,transparent 0 11px,color-mix(in srgb,var(--surface) 90%,transparent) 11px 14px);
  pointer-events:none;
}
.planner-binder-milestone-pill-fill{
  display:block;
  height:100%;
  border-radius:999px;
  background:var(--primary);
  box-shadow:0 0 10px color-mix(in srgb,var(--primary) 28%,transparent);
}
.planner-binder-milestone-edit{
  flex:none;
  min-width:58px;
  min-height:40px;
  padding:0 12px;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--surface);
  color:#65d9d4;
  font:inherit;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}
.planner-binder-milestone-edit:hover{border-color:var(--primary)}
.planner-binder-milestone-content{padding:0 42px 18px}
.planner-binder-milestone-description{
  max-width:980px;
  margin:5px 0 14px;
  color:var(--text);
  font-size:12px;
  line-height:1.6;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.planner-binder-milestone-actions-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:4px 0 8px;
  border-bottom:1px solid var(--border);
}
.planner-binder-milestone-actions-head strong{
  font-size:11px;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.planner-binder-milestone-add{
  padding:4px 0;
  border:0;
  background:transparent;
  color:#65d9d4;
  font:inherit;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}
.planner-binder-milestone-add:hover{text-decoration:underline}
.planner-binder-milestone-main:focus-visible,
.planner-binder-milestone-edit:focus-visible,
.planner-binder-milestone-add:focus-visible{
  outline:2px solid var(--primary);
  outline-offset:2px;
}
@media(max-width:820px){
  .planner-binder-milestone-pill{flex-basis:100px;width:100px}
  .planner-binder-milestone-content{padding-left:14px;padding-right:10px}
}
@media(max-width:600px){
  .planner-binder-milestone-row{flex-wrap:wrap;gap:8px}
  .planner-binder-milestone-main{flex-basis:100%}
  .planner-binder-milestone-pill{margin-left:28px}
  .planner-binder-milestone-edit{margin-left:auto}
  .planner-binder-milestone-content{padding-left:7px;padding-right:7px}
}

/* Divider tasks share Milestones' plain row/separator treatment:
   no cards or boxes, in both standalone lists and milestone concertinas. */
.planner-binder-task-list{
  max-height:none;
  overflow:visible;
  min-width:0;
  gap:0;
}
.planner-binder-task-row{
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:64px;
  padding:9px 0;
  margin:0;
  border:0;
  border-bottom:1px solid var(--border);
  border-radius:0;
  background:transparent;
  color:var(--text);
}
.planner-binder-task-row:last-child{
  border-bottom:0;
}
.planner-binder-task-row.is-done{
  opacity:.76;
}
.planner-binder-task-main{
  flex:1;
  min-width:0;
  border:0;
  padding:6px 4px;
  background:transparent;
  color:inherit;
  text-align:left;
  font:inherit;
  cursor:pointer;
}
.planner-binder-task-title{
  display:block;
  overflow-wrap:anywhere;
  color:inherit;
  font-size:13px;
  font-weight:700;
  line-height:1.35;
}
.planner-binder-task-row.is-done .planner-binder-task-title{text-decoration:line-through}
.planner-binder-task-meta,
.planner-binder-task-summary{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:10px;
  line-height:1.35;
}
.planner-binder-task-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
}
.planner-binder-task-summary{
  white-space:normal;
  overflow-wrap:anywhere;
}
.planner-binder-task-check{
  flex:0 0 32px;
  width:32px;
  height:32px;
  padding:0;
  border:1px solid var(--border);
  border-radius:50%;
  background:transparent;
  color:#9aa5a5;
  font:inherit;
  font-size:16px;
  font-weight:900;
  cursor:pointer;
}
.planner-binder-task-check:hover{
  border-color:var(--primary);
  color:var(--primary);
}
.planner-binder-task-check.done{
  background:#eaf7ec;
  border-color:#b9ddb9;
  color:var(--success);
}
.planner-binder-task-check:disabled{opacity:.6;cursor:wait}
.planner-binder-task-check:focus-visible,
.planner-binder-task-main:focus-visible{
  outline:2px solid var(--primary);
  outline-offset:2px;
}

@media(max-width:1100px){
  .planner-binder-divider-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .planner-binder-divider-detail-grid{grid-template-columns:1fr}
}



/* Binder curtain: no nested scrollbars. The document supplies normal page scroll.
   The JavaScript reveals the panel only when its opening animation completes. */
.planner-binder-divider-card,
.planner-binder-divider-detail-list,
.planner-binder-divider-summary,
.planner-binder-divider-detail-grid{
  min-width:0;
}
.planner-binder-divider-detail-list{
  overflow:visible;
}

/* Active divider tab state. */
.planner-binder-divider-top-tab.is-active{
  height:34px;
  transform:translateY(1px);
  box-shadow:0 -3px 8px rgba(0,0,0,.18);
  filter:saturate(1.08) brightness(1.04);
}

.planner-binder-divider-top-tab:not(.is-active){
  opacity:.82;
}

.planner-binder-divider-top-tab:hover{
  opacity:1;
  transform:translateY(-1px);
}


/* Planner daily desktop gutter alignment:
   match Calendar -> Binders and Binders -> Daily Trackers spacing. */
@media (min-width:1380px){
  .app:has(#dailyPlannerRoot) > .main{
    padding-right:7px;
  }

  .app:has(#dailyPlannerRoot) > .book-quick-rail{
    padding-left:7px;
  }
}


/* Planner desktop panel top alignment:
   Daily Trackers starts on the same top line as the planner surface. */
@media (min-width:1380px){
  .app:has(#dailyPlannerRoot) > .book-quick-rail{
    padding-top:28px;
  }
}


/* My Shelf Collections — slim editable album/magazine spines beside Binders. */
.planner-collection-spine{
  position:relative;
  flex:0 0 24px;
  width:24px;
  height:158px;
  margin:0 0 0 2px;
  padding:0;
  border:1px solid color-mix(in srgb,var(--collection-colour,#596D6B) 72%,#111);
  border-radius:2px 3px 3px 2px;
  background:
    linear-gradient(90deg,rgba(255,255,255,.16),transparent 14%,transparent 82%,rgba(0,0,0,.18)),
    var(--collection-colour,#596D6B);
  box-shadow:2px 3px 6px rgba(0,0,0,.3), inset 1px 0 rgba(255,255,255,.16);
  color:var(--collection-label-colour,#F5F0E6);
  cursor:pointer;
  transform-origin:50% 100%;
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease;
  overflow:hidden;
  z-index:5;
}
.planner-collection-spine.is-first-collection{
  margin-left:12px;
  transform:rotate(-5.5deg);
  transform-origin:0 100%;
  z-index:4;
}
.planner-collection-spine:hover{
  filter:brightness(1.08);
  box-shadow:3px 4px 9px rgba(0,0,0,.38), inset 1px 0 rgba(255,255,255,.18);
}
.planner-collection-spine.is-first-collection:hover{
  transform:rotate(-5.5deg);
}
.planner-collection-spine:not(.is-first-collection):hover{
  transform:none;
}
.planner-collection-spine.is-expanded{
  transform:none;
}
.planner-collection-spine.is-first-collection.is-expanded{
  transform:rotate(-5.5deg);
}
.planner-collection-icon{
  position:absolute;
  top:8px;
  left:50%;
  transform:translateX(-50%);
  width:17px;
  height:17px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.14);
  font-size:10px;
  line-height:1;
}
.planner-collection-spine>strong{
  position:absolute;
  top:30px;
  bottom:9px;
  left:50%;
  writing-mode:vertical-rl;
  transform:translateX(-50%);
  max-height:116px;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-size:9.5px;
  line-height:1;
  letter-spacing:.035em;
  font-weight:700;
}
.planner-collection-expanded{
  border-top-color:var(--expanded-binder-colour,#596D6B);
}
.planner-collection-items{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:9px;
  padding:14px;
}
.planner-collection-item{
  min-width:0;
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:11px 12px;
  border:1px solid rgba(127,145,141,.24);
  border-radius:10px;
  background:rgba(255,255,255,.045);
  color:inherit;
  text-align:left;
  cursor:pointer;
}
.planner-collection-item:hover{
  background:rgba(255,255,255,.075);
}
.planner-collection-item.is-done{
  opacity:.58;
}
.planner-collection-item-mark{
  flex:0 0 auto;
  width:20px;
  font-size:16px;
  line-height:1.2;
}
.planner-collection-item-copy{
  min-width:0;
  display:grid;
  gap:4px;
}
.planner-collection-item-copy strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
}
.planner-collection-item-copy small{
  color:var(--muted);
  font-size:10px;
  line-height:1.35;
}
@media(max-width:1180px){
  .planner-collection-spine{
    flex-basis:22px;
    width:22px;
    height:150px;
  }
  .planner-collection-spine>strong{
    font-size:9px;
    max-height:108px;
  }
}


/* Natural Collection contact with the last Binder. */
.planner-binder-spine{
  position:relative;
  z-index:5;
}


/* Selected shelf object: pulled slightly forward, never lifted off the shelf. */
.planner-binder-spine.is-expanded{
  transform:translateY(4px) scale(1.045);
  transform-origin:50% 100%;
  z-index:9;
  box-shadow:0 9px 14px rgba(0,0,0,.46);
}
.planner-collection-spine.is-expanded{
  transform:translateY(4px) scale(1.055);
  transform-origin:50% 100%;
  z-index:9;
  box-shadow:4px 9px 14px rgba(0,0,0,.46), inset 1px 0 rgba(255,255,255,.18);
}
.planner-collection-spine.is-first-collection.is-expanded{
  transform:rotate(-5.5deg) translateY(4px) scale(1.055);
  transform-origin:0 100%;
}


/* Shelf selection glide motion. */
.planner-binder-spine,
.planner-collection-spine{
  transition:
    transform 620ms cubic-bezier(.22,.74,.18,1),
    box-shadow 560ms cubic-bezier(.22,.74,.18,1),
    filter 220ms ease;
  will-change:transform;
}


/* Selected shelf object projects in front of shelf lip. */
.planner-binder-row:has(.planner-binder-spine.is-expanded),
.planner-binder-row:has(.planner-collection-spine.is-expanded){
  z-index:9;
}

.planner-binder-spine.is-expanded{
  box-shadow:
    -4px 5px 9px rgba(0,0,0,.22),
     4px 5px 9px rgba(0,0,0,.22),
     0 10px 12px rgba(0,0,0,.38);
}

.planner-collection-spine.is-expanded{
  box-shadow:
    -4px 5px 9px rgba(0,0,0,.24),
     4px 5px 9px rgba(0,0,0,.24),
     0 10px 12px rgba(0,0,0,.40),
     inset 1px 0 rgba(255,255,255,.18);
}


/* Left-aligned shelf composition without left plant. */
.planner-binder-scene-left{
  display:none!important;
}

.planner-binder-row{
  left:18px!important;
}

@media(max-width:1180px){
  .planner-binder-row{
    left:14px!important;
  }
}

/* Binder shelf manual order — keep approved shelf and slide-out proportions. */
.planner-binder-row > .planner-binder-spine {
  touch-action:pan-y;
  user-select:none;
  -webkit-user-select:none;
}
.planner-binder-row.is-reordering { cursor:grabbing; }
.planner-binder-row > .planner-binder-spine.is-reordering {
  cursor:grabbing;
  z-index:20!important;
  transform:translateY(-9px) scale(1.07)!important;
  box-shadow:0 12px 22px rgba(0,0,0,.32)!important;
  transition:box-shadow .12s ease, transform .12s ease;
}
.planner-binder-row > .planner-binder-spine:focus-visible {
  outline:2px solid var(--primary);
  outline-offset:3px;
}

/* Dedicated Calendar route: a full-width planning workspace, not the Planner
   curtain overlay. Planner's existing Daily/Weekly animations remain intact. */
.daily-planner-root.book-calendar-page .daily-workspace{
  display:block;
  position:relative;
  min-height:0;
}
.daily-planner-root.book-calendar-page .daily-left-column{
  position:relative;
  inset:auto;
  width:100%;
  max-width:none;
  z-index:auto;
  pointer-events:auto;
}
.daily-planner-root.book-calendar-page .daily-left-column .daily-timeline-card{
  width:100%!important;
  max-width:none;
  box-shadow:none;
}
.daily-planner-root.book-calendar-page .daily-timeline-view-switch{display:none}


/* Calendar is a separate full-workspace Week view: only the top command
   header and left navigation remain. Do not affect the Planner dashboard. */
@media (min-width:1380px){
  .app:has(> .sidebar .nav button.active[data-module="calendar"]){
    grid-template-columns:260px minmax(0,1fr);
  }
  body.book-sidebar-collapsed .app:has(> .sidebar .nav button.active[data-module="calendar"]){
    grid-template-columns:72px minmax(0,1fr);
  }
}
.app:has(> .sidebar .nav button.active[data-module="calendar"]) > .book-quick-rail{
  display:none;
}
.app:has(> .sidebar .nav button.active[data-module="calendar"]) > .main{
  min-width:0;
  padding:0!important;
}
.daily-planner-root.book-calendar-page{
  margin:0;
  width:100%;
  min-height:calc(100dvh - 80px);
}
.daily-planner-root.book-calendar-page .daily-workspace,
.daily-planner-root.book-calendar-page .daily-left-column,
.daily-planner-root.book-calendar-page .daily-timeline-card{
  min-height:calc(100dvh - 80px);
  height:auto;
  margin:0;
  border-radius:0;
}
.daily-planner-root.book-calendar-page .daily-timeline-card{
  border-left:0;
  border-right:0;
  border-bottom:0;
}
.daily-planner-root.book-calendar-page .book-week-scroll{
  height:calc(100dvh - 135px);
  max-height:none;
  overflow-y:auto;
  overscroll-behavior:contain;
}
@media (max-width:820px){
  .daily-planner-root.book-calendar-page .book-week-scroll{
    height:calc(100dvh - 135px);
    max-height:none;
  }
}

/* Calendar card breathing room, scoped to the dedicated Week workspace. */
.app:has(> .sidebar .nav button.active[data-module="calendar"]) > .main{
  padding:16px!important;
}
.daily-planner-root.book-calendar-page,
.daily-planner-root.book-calendar-page .daily-workspace,
.daily-planner-root.book-calendar-page .daily-left-column{
  min-height:0;
}
.daily-planner-root.book-calendar-page .daily-timeline-card,
.daily-planner-root.book-calendar-page .daily-left-column .daily-timeline-card{
  border:1px solid var(--border);
  border-radius:15px;
  overflow:hidden;
  min-height:calc(100dvh - 112px);
  box-shadow:0 5px 18px rgba(16,23,25,.035);
}
.daily-planner-root.book-calendar-page .book-week-scroll{
  height:calc(100dvh - 167px);
}
@media (max-width:820px){
  .app:has(> .sidebar .nav button.active[data-module="calendar"]) > .main{
    padding:12px!important;
  }
  .daily-planner-root.book-calendar-page .book-week-scroll{
    height:calc(100dvh - 159px);
  }
}

/* Calendar-only week/date/month toolbar, inside the rounded Calendar card. */
.daily-planner-root.book-calendar-page .daily-timeline-card > .daily-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
}
.daily-planner-root.book-calendar-page .calendar-spread-controls{
  display:flex;
  align-items:center;
  flex:0 1 auto;
  min-width:0;
  margin:0;
  gap:8px;
}
.daily-planner-root.book-calendar-page .calendar-spread-controls .planner-header-square{
  width:36px;
  height:36px;
  flex:0 0 36px;
}
.daily-planner-root.book-calendar-page .calendar-spread-controls .planner-header-date-copy{
  min-width:195px;
}
.daily-planner-root.book-calendar-page .calendar-spread-controls .planner-header-date-copy strong{
  font-size:12px;
}
.daily-planner-root.book-calendar-page .calendar-spread-controls .calendar-month-button{
  width:auto;
  flex:0 0 auto;
  padding:0 12px;
  font-size:11px;
  font-weight:600;
}
@media(max-width:720px){
  .daily-planner-root.book-calendar-page .calendar-spread-controls{
    flex-wrap:wrap;
  }
  .daily-planner-root.book-calendar-page .calendar-spread-controls .planner-header-date-copy{
    min-width:150px;
  }
}

/* Keep the global command header above the dedicated Calendar's scrolling
   week grid, including sticky day headings and event blocks. */
body:has(.daily-planner-root.book-calendar-page) > .app-shell > .book-header.planner-command-header{
  position:sticky;
  top:0;
  z-index:1000;
  isolation:isolate;
  background:var(--bg);
}

/* My Shelf: Books are a third shelf presentation, distinct from Binders
   and checklist Collections. They share the canonical Collection storage. */
.planner-book-spine{
  flex:0 0 35px;
  width:35px;
  height:174px;
  margin-left:5px;
  border-radius:4px 7px 6px 3px;
  border-left:5px solid color-mix(in srgb,var(--collection-colour,#486B74) 54%,#121a1c);
  background:
    linear-gradient(90deg,rgba(0,0,0,.27),rgba(255,255,255,.12) 16%,transparent 27%,transparent 87%,rgba(0,0,0,.18)),
    var(--collection-colour,#486B74);
  box-shadow:3px 4px 9px rgba(0,0,0,.33), inset 2px 0 rgba(255,255,255,.15);
}
.planner-book-spine .planner-collection-icon{
  top:9px;
  background:transparent;
  font-size:14px;
}
.planner-book-spine>strong{
  top:32px;
  max-height:128px;
  font-size:10px;
  font-family:Georgia,serif;
  letter-spacing:.07em;
  font-weight:700;
}
.planner-book-spine:focus-visible{
  outline:2px solid var(--primary,#5db9ac);
  outline-offset:3px;
}
.planner-binder-shelf-card:has(.planner-collection-spine.is-expanded) .planner-binder-expanded{
  opacity:1!important;
  padding-top:18px;
  padding-bottom:18px;
}
.planner-book-expanded{
  border-top:3px solid var(--expanded-binder-colour,#486B74);
}
.planner-book-workspace{
  display:grid;
  grid-template-columns:minmax(170px,240px) minmax(0,1fr);
  align-items:stretch;
  min-height:360px;
  gap:18px;
  padding-top:5px;
}
.planner-book-contents{
  padding:15px 10px;
  min-width:0;
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  background:rgba(255,255,255,.035);
}
.planner-book-contents h3{
  margin:2px 8px 13px;
  color:#e9efea;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.planner-book-contents-link{
  display:flex;
  flex-direction:column;
  gap:5px;
  width:100%;
  margin-bottom:4px;
  padding:10px;
  border:0;
  border-left:3px solid transparent;
  border-radius:7px;
  background:transparent;
  color:#d9e3df;
  font:inherit;
  font-size:12px;
  text-align:left;
  cursor:pointer;
  overflow-wrap:anywhere;
}
.planner-book-contents-link small{
  color:#9dada8;
  font-size:10px;
}
.planner-book-contents-link:hover,
.planner-book-contents-link.is-current{
  border-left-color:var(--expanded-binder-colour,#486B74);
  background:rgba(255,255,255,.09);
}
.planner-book-empty-contents{
  color:#abbab4;
  font-size:12px;
  margin:0 8px;
}
.planner-book-paper{
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:340px;
  padding:28px clamp(20px,4%,52px) 16px;
  background:linear-gradient(105deg,#e9e5da,#f9f7f1 7%,#f9f7f1 92%,#e7e1d3);
  color:#292f2c;
  border:1px solid #ccc7b9;
  border-radius:5px 12px 12px 5px;
  box-shadow:inset 8px 0 13px -9px rgba(0,0,0,.38),0 6px 20px rgba(0,0,0,.24);
}
.planner-book-paper-head{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-bottom:12px;
  border-bottom:1px solid #d9d4c7;
  color:#5c6963;
  font-size:11px;
}
.planner-book-paper-head button{
  padding:6px 9px;
  border:1px solid #ccc5b6;
  border-radius:6px;
  background:#f6f2e8;
  color:#394b47;
  font:inherit;
  font-size:10px;
  cursor:pointer;
}
.planner-book-paper h2{
  margin:25px 0 21px;
  font:700 clamp(19px,2vw,27px)/1.25 Georgia,serif;
  color:#243a37;
}
.planner-book-prose{
  flex:1;
  margin-bottom:26px;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font:14px/1.8 Georgia,serif;
  color:#303b37;
}
.planner-book-pagination{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:auto;
  padding-top:15px;
  border-top:1px solid #ded9cf;
  color:#5a6862;
  font-size:11px;
}
.planner-book-pagination button{
  padding:7px 10px;
  border:1px solid #cfc9bd;
  border-radius:7px;
  background:#eee9df;
  color:#364b45;
  font:inherit;
  cursor:pointer;
}
.planner-book-pagination button:disabled{
  cursor:default;
  opacity:.35;
}
.planner-book-empty-page{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-align:center;
}
.planner-book-empty-page h2{margin:0}
.planner-book-empty-page p{
  max-width:340px;
  margin:0 0 10px;
  color:#626c65;
  font:14px/1.6 Georgia,serif;
}
.planner-book-empty-icon{font-size:36px}
.planner-book-empty-page .planner-binder-context-add-button{
  background:#456c70;
  border-color:#456c70;
}
@media(max-width:780px){
  .planner-book-workspace{grid-template-columns:1fr;gap:10px}
  .planner-book-contents{padding:10px}
  .planner-book-contents-link{padding:8px}
  .planner-book-paper{padding:22px 20px 15px;min-height:280px}
  .planner-book-spine{flex-basis:31px;width:31px;height:163px}
}

/* My Shelf readability and upright spines. Keep existing sizes and interactions. */
.planner-binder-label strong,
.planner-collection-spine > strong,
.planner-book-spine > strong{
  font-family:Arial,Helvetica,sans-serif;
  font-weight:500;
  font-style:normal;
  letter-spacing:0;
  line-height:1.3;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
.planner-binder-label strong{font-size:10px;font-weight:600}
.planner-collection-spine > strong{font-size:9.5px;font-weight:500}
.planner-book-spine > strong{font-size:10px;font-weight:500}
.planner-collection-spine.is-first-collection,
.planner-collection-spine.is-first-collection:hover{
  transform:none;
  transform-origin:50% 100%;
}
.planner-collection-spine.is-first-collection.is-expanded{
  transform:translateY(4px) scale(1.055);
  transform-origin:50% 100%;
}



/* Shelf spine legibility: a readable vertical title, without compressing type.
   All three formats share the same type scale and preserve the existing shelf. */
.planner-binder-label strong,
.planner-collection-spine > strong,
.planner-book-spine > strong{
  font-family:Arial,Helvetica,sans-serif;
  font-size:12px;
  font-weight:600;
  font-style:normal;
  letter-spacing:0;
  line-height:1.2;
  text-rendering:geometricPrecision;
  -webkit-font-smoothing:auto;
  writing-mode:vertical-rl;
  text-orientation:mixed;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.planner-binder-label strong{
  top:24px;
  max-height:calc(100% - 28px);
  max-width:20px;
}
.planner-collection-spine > strong{
  top:26px;
  bottom:5px;
  max-height:none;
}
.planner-book-spine > strong{
  top:27px;
  bottom:5px;
  max-height:none;
}
.planner-book-spine .planner-collection-icon{
  top:5px;
}
.planner-binder-row{
  gap:2px;
}

/* Exact edge-to-edge 2px shelf spacing; eliminate spine-specific margins. */
.planner-binder-row{gap:2px}
.planner-binder-row > .planner-binder-spine,
.planner-binder-row > .planner-collection-spine,
.planner-binder-row > .planner-book-spine{margin-left:0;margin-right:0}

/* Shelf title weight and journal alignment, without added backgrounds. */
.planner-binder-label strong,
.planner-collection-spine > strong,
.planner-book-spine > strong{
  font-weight:600;
}
.planner-book-spine > strong{
  left:7px;
  right:5px;
  top:27px;
  bottom:5px;
  transform:none;
  width:auto;
  max-width:none;
  text-align:start;
  color:#142321;
  background:transparent;
  border:0;
  padding:0;
  box-sizing:border-box;
}

/* Approved shelf refinements: slightly heavier binder/journal titles,
   and no light-coloured label panel on journal spines. */
.planner-binder-label strong,
.planner-book-spine > strong{
  font-weight:700;
}
.planner-book-spine > strong{
  background:transparent;
  color:#142321;
}
.planner-book-spine,
.planner-book-spine::before,
.planner-book-spine::after{
  background-color:var(--collection-colour,#486B74);
}

/* My Shelf spine typography: Segoe UI at 10px regular weight. */
.planner-binder-label strong,
.planner-collection-spine > strong,
.planner-book-spine > strong{
  font-family:"Segoe UI",Tahoma,sans-serif;
  font-size:11px;
  font-weight:550;
}

/* Journal titles: white lettering with more clearance below the spine icon. */
.planner-book-spine > strong{
  color:#fff;
  top:34px;
}

/* Shelf item count belongs in the header, never over the spine labels. */
.planner-binder-shelf-head .planner-binder-count-header{
  position:static;
  display:block;
  margin:4px 0 0;
  vertical-align:initial;
  font-size:9px;
  font-weight:400;
  color:#9fb0ac;
  text-shadow:none;
}

/* Planner agenda header — retain native weather/moon buttons and artwork. */
#dailyPlannerRoot:not(.book-calendar-page) .daily-timeline-status-head{padding-inline:12px}
#dailyPlannerRoot:not(.book-calendar-page) .daily-timeline-header-status{width:100%;justify-content:space-evenly;gap:8px}
#dailyPlannerRoot:not(.book-calendar-page) .daily-timeline-weather,#dailyPlannerRoot:not(.book-calendar-page) .daily-timeline-moon{flex:1 1 0;justify-content:center;gap:5px;padding:0;border:0;min-width:0}
#dailyPlannerRoot:not(.book-calendar-page) .daily-timeline-weather .daily-timeline-weather-icon,#dailyPlannerRoot:not(.book-calendar-page) .daily-timeline-moon img{order:-1;width:28px;height:28px;font-size:25px;flex:none}
#dailyPlannerRoot:not(.book-calendar-page) .daily-timeline-status-copy{display:grid;width:auto;flex:0 1 auto;text-align:left;min-width:0;gap:2px}
#dailyPlannerRoot:not(.book-calendar-page) .daily-timeline-status-copy strong{font-size:13px;white-space:normal;line-height:1.15}
#dailyPlannerRoot:not(.book-calendar-page) .daily-timeline-weather .daily-timeline-status-copy strong{font-size:17px}
#dailyPlannerRoot:not(.book-calendar-page) .daily-timeline-status-copy small{font-size:10px;white-space:normal;overflow-wrap:anywhere;line-height:1.2}
