/* Equal Date Board v0.3. Shared date navigation with optional per-day article tabs. */
.ice-shell .date-board {display:grid;grid-template-columns:240px minmax(0,1fr);flex:1;min-width:0;min-height:0;height:100%;overflow:hidden;background:#fff;}
.ice-shell .date-board-history {display:flex;flex-direction:column;min-width:0;min-height:0;margin:0;padding:18px 14px;background:#f5faff;border-right:1px solid #dfebf7;overflow:hidden;}
.date-board-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;margin:0 2px 14px;}
.date-board-heading h2 {font-size:12px;font-weight:650;letter-spacing:.04em;line-height:1.5;color:#647e96;margin:0;}
.date-board-refresh {font:inherit;font-size:12px;font-weight:500;line-height:1.5;padding:6px 11px;border:1px solid #d2e4f5;border-radius:7px;background:#fff;color:#3976ab;cursor:pointer;}
.date-board-refresh:hover {background:#eaf4ff;}
.date-board-refresh:disabled {opacity:.55;cursor:wait;}
.ice-shell .date-board-list {list-style:none;margin:0;padding:0;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c9deee transparent;}
.date-board-list li {margin:0 0 5px;padding:0;}
.ice-shell .date-board-date {display:flex;flex-direction:column;gap:6px;padding:12px 11px;border:1px solid transparent;border-radius:9px;text-decoration:none;line-height:1.5;color:#405f7a;transition:background .12s;}
.ice-shell .date-board-date:hover {background:#eaf4ff;}
.ice-shell .date-board-date[aria-current="page"] {background:#ddecfc;border-color:#d0e4f7;box-shadow:inset 3px 0 #78b6ee;color:#1f639e;}
.date-board-date-line {display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;}
.date-board-date time {font-size:13px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:.025em;}
.date-board-latest {font-size:10px;line-height:1.5;padding:1px 5px;color:#3b7cad;background:#e4f2ff;border:1px solid #c9e0f4;border-radius:4px;flex-shrink:0;font-weight:500;}
.date-board-subtitle {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;color:#6f879c;line-height:1.65;overflow-wrap:anywhere;}
.date-board-status {font-size:11px;line-height:1.7;color:#7a8fa2;margin:12px 3px 0;flex:0 0 auto;overflow-wrap:anywhere;}
.date-board-status:empty {display:none;}
.date-board-empty {font-size:12px;color:#7a8fa2;padding:10px 3px;}
.ice-shell .date-board-content {min-width:0;min-height:0;background:#fff;}
.ice-shell .date-board > .morning-reading {padding:27px clamp(22px,3.4vw,46px) 40px;}
.ice-shell .date-board .review-tabs {padding:18px 24px 14px;gap:7px;}
.ice-shell .date-board .daily-views a[aria-current],.ice-shell .date-board .review-tabs a[aria-selected="true"] {background:#e4f1ff;border-color:#c8dff5;color:#286da6;}
.ice-shell .date-board .morning-meta:empty {display:none;}
.ice-shell .date-board .morning-meta {color:#8797a7;font-size:12px;margin-bottom:22px;}
.ice-shell .date-board #morning-title,.ice-shell .date-board #daily-title {font-size:22px;color:#294c6d;line-height:1.45;}
.ice-shell .date-board .buyer-reading {background:#fff;}
.ice-shell .date-board > .lu-page {height:100%;overflow-y:auto;padding:26px 30px 40px;max-width:none;margin:0;}
.ice-shell .date-board .lu-header {margin-bottom:20px;}
.ice-shell .date-board .lu-header h1 {font-size:25px;}
.ice-shell .date-board .lu-chip[aria-pressed="true"] {background:#e4f1ff;color:#286da6;border-color:#c8dff5;}
.ice-shell .date-board :focus-visible {outline:2px solid #599edb;outline-offset:2px;}
@media(max-width:1000px) and (min-width:761px){.ice-shell .date-board {grid-template-columns:212px minmax(0,1fr);}}
@media(max-width:760px){
 .ice-shell .date-board {display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);}
 .ice-shell .date-board-history {display:flex;padding:9px 11px 10px;border-right:0;border-bottom:1px solid #dfebf7;max-height:150px;overflow:hidden;}
 .date-board-heading {margin:0 2px 7px;gap:8px;}
 .date-board-heading h2 {font-size:11px;}
 .date-board-refresh {font-size:11px;padding:4px 9px;}
 .ice-shell .date-board-list {display:flex;flex-direction:row;gap:7px;flex:0 0 auto;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;padding:1px 1px 3px;}
 .date-board-list li {flex:0 0 160px;margin:0;scroll-snap-align:start;min-width:0;}
 .ice-shell .date-board-date {height:100%;padding:9px 10px;gap:4px;}
 .date-board-date time {font-size:12px;}
 .date-board-subtitle {font-size:10px;line-height:1.55;}
 .date-board-status {margin:4px 2px 0;font-size:10px;line-height:1.5;max-height:30px;overflow-y:auto;}
 .ice-shell .date-board > .morning-reading {padding:22px 17px 32px;}
 .ice-shell .date-board .review-tabs {padding:12px 14px;}
 .ice-shell .date-board #morning-title,.ice-shell .date-board #daily-title {font-size:20px;}
 .ice-shell .date-board > .lu-page {padding:20px 16px 30px;}
}

/* v0.2: one day-link tree, desktop month folds / mobile selected-month strip. */
.date-board [hidden] {display:none!important;}
.date-board-month {margin:0 0 9px;min-width:0;}
.date-board-month-toggle {display:flex;align-items:center;gap:8px;width:100%;margin:0 0 6px;padding:9px 7px;border:0;border-radius:6px;background:transparent;color:#5e7c96;font:inherit;font-size:12px;font-weight:600;text-align:left;cursor:pointer;}
.date-board-month-toggle:hover {background:#eaf3fd;}
.date-board-month-toggle:disabled {cursor:default;font-weight:500;color:#7891a5;}
.date-board-month-toggle:disabled:hover {background:transparent;}
.date-board-month-arrow {width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);margin-right:2px;flex:0 0 auto;}
.date-board-month-toggle[aria-expanded="true"] .date-board-month-arrow {transform:rotate(45deg);margin-top:-3px;}
.date-board-month-toggle:disabled .date-board-month-arrow {opacity:.35;}
.date-board-month-label {font-variant-numeric:tabular-nums;letter-spacing:.045em;}
.date-board-month-reading {margin-left:auto;font-size:10px;font-weight:400;color:#7193af;}
.date-board-month-days {list-style:none;padding:0;margin:0;min-width:0;}
.date-board-month-picker {display:none;}
.date-board-reading-return {display:none;}
@media(max-width:760px){
 .date-board-month-picker {display:block;margin-left:auto;min-width:0;}
 .date-board-month-select {box-sizing:border-box;max-width:118px;min-height:27px;padding:3px 6px;border:1px solid #d2e4f5;border-radius:6px;color:#416b8d;background:#fff;font:inherit;font-size:11px;font-variant-numeric:tabular-nums;cursor:pointer;}
 .date-board-month-select:disabled {color:#7891a5;background:transparent;border-color:transparent;opacity:1;cursor:default;}
 .ice-shell .date-board-list {display:block;flex:0 1 auto;min-height:39px;padding:0;overflow:hidden;scroll-snap-type:none;}
 .date-board-month {margin:0;}
 .date-board-month-toggle {display:none;}
 .date-board-month-days {display:flex;gap:7px;overflow-x:auto;overflow-y:hidden;overscroll-behavior:contain;scroll-snap-type:x proximity;padding:1px 1px 3px;scrollbar-width:thin;scrollbar-color:#c9deee transparent;}
 .date-board-month-days > li {flex:0 0 160px;min-width:0;margin:0;scroll-snap-align:start;}
 .date-board-reading-return {display:block;flex:0 0 auto;text-align:left;border:0;background:transparent;padding:3px 2px 0;margin:0;color:#6f879c;font:inherit;font-size:10px;line-height:1.45;cursor:pointer;}
 .date-board-reading-return:hover {color:#286da6;}
}


/* v0.3: full article titles live inside the selected date card. */
.date-board-date-with-articles {
  margin-bottom:7px!important;
  overflow:hidden;
  border:1px solid #d0e4f7;
  border-radius:9px;
  background:#ddecfc;
  box-shadow:inset 3px 0 #78b6ee;
}
.date-board-date-with-articles > .date-board-date[aria-current="page"] {
  height:auto;
  margin:0;
  padding-bottom:8px;
  border:0;
  border-radius:9px 9px 0 0;
  background:transparent;
  box-shadow:none;
}
.date-board-article-tabs {
  display:grid;
  gap:3px;
  margin:0 9px 9px 11px;
  padding:7px 0 0;
  border-top:1px solid #c6ddef;
}
.date-board-article-tab {
  appearance:none;
  width:100%;
  min-width:0;
  padding:7px 9px 7px 10px;
  border:0;
  border-left:2px solid transparent;
  border-radius:0 7px 7px 0;
  background:transparent;
  color:#52738f;
  font:600 11px/1.48 inherit;
  text-align:left;
  white-space:normal;
  overflow-wrap:anywhere;
  cursor:pointer;
  transition:background .12s,color .12s,border-color .12s;
}
.date-board-article-tab:hover {
  background:#eef8fd;
  color:#286da6;
}
.date-board-article-tab[aria-selected="true"] {
  border-left-color:#4ca1d2;
  background:#e5f3fb;
  color:#17658a;
  font-weight:750;
}
.date-board-article-tab:focus-visible {
  outline:2px solid #599edb;
  outline-offset:1px;
}
@media(max-width:760px){
  .ice-shell .date-board-history.date-board-history-has-articles {max-height:236px;}
  .date-board-month-days > li.date-board-date-with-articles {flex:0 0 min(82vw,300px);}
  .date-board-date-with-articles > .date-board-article-tabs {
    gap:3px;
    margin:0 8px 8px 10px;
    padding-top:6px;
  }
  .date-board-date-with-articles .date-board-article-tab {
    padding:6px 8px 6px 9px;
    font-size:10.5px;
    line-height:1.45;
  }
}

/* Full article titles remain readable on both buyer date lists. */
.ice-shell #buyer-daily-workspace.date-board .date-board-subtitle,
.ice-shell #buyer-topic-workspace.date-board .date-board-subtitle{
  display:block;-webkit-line-clamp:unset;line-clamp:unset;overflow:visible;
  white-space:normal;overflow-wrap:anywhere;line-height:1.6;
}
.ice-shell #buyer-daily-workspace.date-board .date-board-date,
.ice-shell #buyer-topic-workspace.date-board .date-board-date{height:auto;}
