.daily-brief-page {
  background:
    radial-gradient(circle at 1px 1px, rgba(17, 21, 17, .035) 1px, transparent 0) 0 0 / 13px 13px,
    var(--sand);
  color: var(--ink);
}

.daily-brief-page .site-header {
  background: rgba(247, 245, 239, .9);
}

.brief-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.brief-action-button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.brief-save-button {
  color: var(--ink);
  background: var(--lime);
}

.brief-action-button:disabled,
.brief-mobile-actions button:disabled {
  opacity: .55;
  cursor: wait;
}

.brief-masthead {
  width: min(1280px, calc(100% - 64px));
  min-height: 420px;
  margin: 56px auto 0;
  padding: 70px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  border: 1px solid rgba(17,21,17,.08);
  border-radius: 34px;
  color: white;
  background:
    radial-gradient(circle at 78% 22%, rgba(217,239,158,.28), transparent 32%),
    linear-gradient(135deg, #101a15, #20382a 58%, #0f1713);
  box-shadow: 0 35px 90px rgba(20,44,32,.18);
}

.brief-masthead::before {
  content: "";
  width: 520px;
  height: 520px;
  position: absolute;
  right: -180px;
  top: -220px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255,255,255,.035), 0 0 0 110px rgba(255,255,255,.02);
}

.brief-logo-line {
  position: relative;
  z-index: 2;
  display: block;
}

.brief-logo-line i {
  width: 42px;
  height: 3px;
  display: block;
  margin-bottom: 18px;
  border-radius: 99px;
  background: var(--lime);
}

.brief-logo-line h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(58px, 8vw, 112px);
  line-height: .95;
  letter-spacing: -.08em;
  font-weight: 900;
}

.brief-masthead p {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
}

.brief-toolbar {
  width: min(1280px, calc(100% - 64px));
  margin: 18px auto 0;
  padding: 18px;
  position: relative;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(14px);
}

.brief-toolbar > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brief-toolbar span {
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.brief-toolbar b {
  font-size: 15px;
}

.brief-date-field {
  display: inline-flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.brief-toolbar > .brief-date-field {
  flex-direction: row;
}

.brief-date-picker {
  position: relative;
  z-index: 20;
}

.brief-date-trigger {
  min-width: 196px;
  min-height: 48px;
  padding: 10px 14px 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(17,21,17,.12);
  border-radius: 15px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(20, 44, 32, .05);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.brief-date-trigger:hover,
.brief-date-picker.is-open .brief-date-trigger {
  border-color: rgba(33, 108, 76, .45);
  box-shadow: 0 10px 30px rgba(20, 44, 32, .1);
}

.brief-date-trigger svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brief-calendar {
  width: 344px;
  padding: 20px;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  color: white;
  background: linear-gradient(145deg, #14231b, #0e1511);
  box-shadow: 0 30px 80px rgba(8, 18, 12, .32);
}

.brief-calendar[hidden] {
  display: none;
}

.brief-calendar::before {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  right: 28px;
  top: -6px;
  transform: rotate(45deg);
  border-left: 1px solid rgba(255, 255, 255, .12);
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: #14231b;
}

.brief-calendar-head {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brief-calendar-head b {
  font-size: 16px;
  letter-spacing: -.01em;
}

.brief-calendar-head > div {
  display: flex;
  gap: 6px;
}

.brief-calendar-head button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  color: white;
  background: rgba(255, 255, 255, .06);
  font: 700 22px/1 inherit;
  cursor: pointer;
}

.brief-calendar-head button:disabled {
  opacity: .25;
  cursor: default;
}

.brief-calendar-week,
.brief-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.brief-calendar-week {
  margin-top: 14px;
  padding: 0 2px 8px;
  color: rgba(255, 255, 255, .46);
  text-align: center;
  font-size: 11px;
  font-weight: 800;
}

.brief-calendar-week span {
  color: inherit;
  font-size: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.brief-calendar-grid {
  gap: 4px;
}

.brief-calendar-grid button {
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: rgba(255, 255, 255, .26);
  background: transparent;
  font: 700 13px/1 inherit;
}

.brief-calendar-grid button span {
  color: inherit;
  font-size: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.brief-calendar-grid button.has-report {
  color: rgba(255, 255, 255, .94);
  cursor: pointer;
}

.brief-calendar-grid button.has-report:hover {
  background: rgba(217, 239, 158, .14);
}

.brief-calendar-grid button.is-selected {
  color: #101a15;
  background: var(--lime);
  box-shadow: 0 8px 24px rgba(217, 239, 158, .24);
}

.brief-calendar-grid button.is-outside {
  opacity: .34;
}

.brief-calendar-grid button i {
  width: 4px;
  height: 4px;
  position: absolute;
  bottom: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.brief-calendar-grid button.is-selected i {
  background: var(--green);
}

.brief-calendar > p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .42);
  font-size: 10px;
  text-align: center;
}

.brief-toolbar > .brief-mobile-actions {
  display: none;
}

.brief-shell {
  width: min(1280px, calc(100% - 64px));
  margin: 26px auto 90px;
}

.brief-paper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 18px;
}

.brief-main,
.brief-sidebar {
  min-width: 0;
}

.brief-section,
.side-box {
  margin-bottom: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.68);
  box-shadow: 0 16px 40px rgba(20,44,32,.06);
}

.brief-section:first-child {
  background: #eff2e8;
}

.brief-kicker {
  width: max-content;
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.brief-section h2,
.brief-sidebar h3 {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.15;
  letter-spacing: -.045em;
}

.brief-sidebar h3 {
  font-size: 22px;
}

.brief-conclusion {
  margin: 0;
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 850;
  line-height: 1.7;
  letter-spacing: -.025em;
}

.brief-source-line,
.sources-section p,
.side-box p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.brief-source-line a,
.sources-section a,
.news-grid a,
.side-box a {
  color: var(--green);
  font-weight: 800;
}

.brief-table {
  overflow: hidden;
  border: 1px solid rgba(17,21,17,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.48);
}

.brief-table-row {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr .8fr;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(17,21,17,.08);
  font-size: 14px;
  align-items: center;
}

.brief-table-row:last-child {
  border-bottom: 0;
}

.brief-table-row.head {
  color: var(--muted);
  background: rgba(16,26,21,.04);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.brief-number-list {
  display: grid;
  gap: 10px;
}

.brief-number-list > div {
  padding: 16px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  border: 1px solid rgba(17,21,17,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.48);
}

.brief-number-list span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: white;
  background: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.brief-number-list b {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.brief-number-list p,
.news-grid p,
.brief-bullets {
  margin: 0;
  color: #354038;
  font-size: 14px;
  line-height: 1.85;
}

.macro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.macro-grid div {
  min-height: 112px;
  padding: 15px;
  border: 1px solid rgba(17,21,17,.08);
  border-radius: 18px;
  background: #f7f5ef;
}

.macro-grid small,
.macro-grid em,
.side-list small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.macro-grid b {
  display: block;
  margin: 9px 0 5px;
  font-size: 19px;
}

.brief-bullets {
  padding-left: 18px;
}

.brief-bullets li {
  margin: 9px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.news-grid article {
  padding: 18px;
  border: 1px solid rgba(17,21,17,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.48);
}

.news-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.news-grid small {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.sources-section div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sources-section a {
  padding: 8px 11px;
  border-radius: 999px;
  background: #eff2e8;
  font-size: 12px;
}

.brief-sidebar {
  position: sticky;
  top: 106px;
  align-self: start;
}

.temperature-box {
  color: white;
  background: #17221c;
}

.temperature-box h3,
.temperature-box p,
.temperature-box span,
.temperature-box small {
  color: rgba(255,255,255,.68);
}

.temperature-box b {
  display: block;
  margin: 5px 0 7px;
  color: var(--lime);
  font-size: 22px;
}

.temperature-box > div {
  margin: 14px 0;
}

.temperature-box i {
  display: block;
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
}

.temperature-box i::before {
  content: "";
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
}

.side-list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(17,21,17,.08);
}

.side-list > div:last-child {
  border-bottom: 0;
}

.side-list > div > span:last-child {
  text-align: right;
}

.side-list b {
  display: block;
  font-size: 15px;
}

.up {
  color: #b42318;
}

.down {
  color: #067647;
}

.flat {
  color: var(--muted);
}

.brief-subscribe {
  margin-bottom: 90px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-radius: 28px;
  color: white;
  background: #17221c;
  box-shadow: 0 25px 70px rgba(20,44,32,.16);
}

.brief-subscribe span {
  color: var(--lime);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}

.brief-subscribe h2 {
  margin: 8px 0;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -.06em;
}

.brief-subscribe p {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,.64);
  line-height: 1.8;
}

.brief-subscribe p a {
  color: var(--lime);
  font-weight: 900;
}

.brief-bookmark-dialog {
  width: min(440px, calc(100% - 28px));
  padding: 32px;
  position: fixed;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 26px;
  color: white;
  background: linear-gradient(145deg, #17271f, #0e1511);
  box-shadow: 0 35px 100px rgba(8, 18, 12, .4);
}

.brief-bookmark-dialog::backdrop {
  background: rgba(9, 15, 11, .58);
  backdrop-filter: blur(7px);
}

.brief-bookmark-dialog > span {
  color: var(--lime);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .17em;
}

.brief-bookmark-dialog h2 {
  margin: 10px 0 12px;
  font-size: 30px;
  letter-spacing: -.05em;
}

.brief-bookmark-dialog p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
  line-height: 1.8;
}

.brief-bookmark-dialog > div {
  margin-top: 24px;
  display: grid;
  gap: 9px;
}

.brief-bookmark-dialog > div button {
  min-height: 46px;
  border: 0;
  border-radius: 13px;
  color: var(--ink);
  background: var(--lime);
  font: 800 13px/1 inherit;
  cursor: pointer;
}

.brief-bookmark-dialog > div button:last-child {
  color: white;
  background: rgba(255, 255, 255, .1);
}

.brief-dialog-close {
  width: 36px;
  height: 36px;
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, .08);
  font: 300 24px/1 inherit;
  cursor: pointer;
}

.brief-export-progress {
  min-width: 230px;
  padding: 18px 20px;
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 1000;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  color: white;
  background: #132019;
  box-shadow: 0 24px 60px rgba(8, 18, 12, .3);
  text-align: center;
}

.brief-export-progress[hidden] {
  display: none;
}

.brief-export-progress span {
  width: 28px;
  height: 28px;
  margin: 0 auto 9px;
  display: block;
  border: 3px solid rgba(255, 255, 255, .15);
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: brief-spin .8s linear infinite;
}

.brief-export-progress b,
.brief-export-progress small {
  display: block;
}

.brief-export-progress small {
  margin-top: 5px;
  color: rgba(255, 255, 255, .48);
  font-size: 10px;
}

@keyframes brief-spin {
  to { transform: rotate(360deg); }
}

.brief-export-stage {
  width: 960px;
  padding: 38px;
  position: fixed;
  left: -12000px;
  top: 0;
  z-index: -1;
  color: var(--ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(17, 21, 17, .035) 1px, transparent 0) 0 0 / 13px 13px,
    #f7f2e8;
}

.brief-export-header {
  margin-bottom: 18px;
  padding: 25px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 26px;
  color: white;
  background: linear-gradient(135deg, #101a15, #20382a 62%, #0f1713);
}

.brief-export-identity {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brief-export-identity > img {
  width: 86px;
  height: 86px;
  border: 3px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  object-fit: cover;
}

.brief-export-identity span {
  color: var(--lime);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}

.brief-export-identity h1 {
  margin: 7px 0;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.045em;
}

.brief-export-identity p {
  margin: 0;
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
}

.brief-export-qr {
  flex: 0 0 auto;
  padding: 10px;
  border-radius: 16px;
  color: #152019;
  background: white;
  text-align: center;
}

.brief-export-qr canvas,
.brief-export-qr img {
  width: 96px !important;
  height: 96px !important;
  display: block;
}

.brief-export-qr small {
  margin-top: 6px;
  display: block;
  font-size: 9px;
  font-weight: 900;
}

.brief-export-tagline,
.brief-export-footer {
  margin-bottom: 18px;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(17, 21, 17, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}

.brief-export-tagline span {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.brief-export-stage .brief-paper {
  display: block;
}

.brief-export-stage .brief-sidebar {
  position: static;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.brief-export-stage .brief-sidebar .side-box {
  margin-bottom: 0;
}

.brief-export-stage .brief-table-row {
  min-width: 0;
  grid-template-columns: 1.2fr .8fr .8fr .8fr;
}

.brief-export-stage .brief-table-row span:nth-child(2) {
  display: block;
}

.brief-export-stage .macro-grid {
  grid-template-columns: repeat(4, 1fr);
}

.brief-export-stage .news-grid {
  grid-template-columns: repeat(2, 1fr);
}

.brief-export-footer {
  margin: 20px 0 0;
  align-items: center;
  color: white;
  background: #17221c;
}

.brief-export-footer b {
  color: var(--lime);
}

.brief-export-footer span,
.brief-export-footer p {
  margin: 0;
  font-size: 11px;
}

.brief-export-footer p {
  color: rgba(255, 255, 255, .55);
}

@media (max-width: 1060px) {
  .brief-header-actions {
    display: none;
  }

  .brief-toolbar > .brief-mobile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .brief-mobile-actions button {
    min-height: 44px;
    border: 0;
    border-radius: 13px;
    color: white;
    background: var(--ink);
    font: 800 12px/1 inherit;
  }

  .brief-mobile-actions button:last-child {
    color: var(--ink);
    background: var(--lime);
  }

  .brief-paper {
    grid-template-columns: 1fr;
  }

  .brief-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 820px) {
  .brief-toolbar { background: rgba(255,255,255,.96); backdrop-filter: none; }
  .brief-masthead,
  .brief-toolbar,
  .brief-shell {
    width: min(100% - 28px, 1280px);
  }

  .brief-masthead {
    min-height: 360px;
    padding: 34px;
  }

  .brief-toolbar,
  .brief-subscribe {
    align-items: stretch;
    flex-direction: column;
  }

  .brief-toolbar > .brief-date-field {
    align-items: flex-start;
    flex-direction: column;
  }

  .brief-table-row {
    grid-template-columns: 1.2fr .8fr;
  }

  .brief-table-row span:nth-child(2) {
    display: none;
  }

  .macro-grid,
  .news-grid,
  .brief-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brief-masthead,
  .brief-toolbar,
  .brief-shell,
  .brief-subscribe {
    width: calc(100% - 20px);
  }

  .brief-masthead {
    min-height: 270px;
    margin-top: 22px;
    padding: 24px;
    border-radius: 24px;
  }

  .brief-masthead::before {
    width: 340px;
    height: 340px;
    right: -160px;
    top: -160px;
  }

  .brief-logo-line h1 {
    font-size: clamp(42px, 15vw, 58px);
    letter-spacing: -.06em;
  }

  .brief-masthead p {
    margin-top: 16px;
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: .04em;
  }

  .brief-toolbar {
    padding: 14px;
    border-radius: 16px;
  }

  .brief-date-field,
  .brief-date-picker,
  .brief-date-trigger {
    width: 100%;
  }

  .brief-calendar {
    width: min(344px, calc(100vw - 40px));
    right: 0;
  }

  .brief-shell {
    margin-top: 18px;
    margin-bottom: 56px;
  }

  .brief-paper {
    gap: 14px;
  }

  .brief-section,
  .side-box {
    padding: 18px;
    border-radius: 18px;
  }

  .brief-section h2,
  .brief-sidebar h3 {
    font-size: 24px;
  }

  .brief-conclusion {
    font-size: 18px;
    line-height: 1.65;
  }

  .brief-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .brief-table-row {
    min-width: 520px;
    grid-template-columns: 1.15fr .65fr .8fr .8fr;
  }

  .brief-table-row span:nth-child(2) {
    display: block;
  }

  .brief-number-list > div {
    grid-template-columns: 34px 1fr;
    padding: 14px;
  }

  .macro-grid,
  .news-grid,
  .brief-sidebar {
    grid-template-columns: 1fr;
  }

  .news-grid h3 {
    font-size: 16px;
  }

  .brief-subscribe {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .brief-subscribe h2 {
    font-size: 32px;
  }
}
