.workday-brief {
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid #24506c;
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 0, #0c2940 0, transparent 34%),
    linear-gradient(145deg, #0d1b27, #071019);
  box-shadow: 0 18px 50px #0007;
}
.workday-topline,
.quick-setup-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.workday-topline h1 {
  margin: 5px 0 0;
  color: #f1f8ff;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.05;
}
.workday-time {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid #31516a;
  border-radius: 999px;
  color: #9fc8df;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.workday-subtitle {
  max-width: 680px;
  color: #9fb5c8;
  font-size: 15px;
  line-height: 1.6;
}
body[data-work-view="quick"] #briefContent > :not(#marketClosedNotice):not(#quickSetup),
body[data-work-view="quick"] .intro-help,
body[data-work-view="quick"] .event-risk-note,
body[data-work-view="quick"] .schedule-settings {
  display: none !important;
}
body[data-work-view="lunch"] #briefContent > :not(#marketClosedNotice):not(#quickSetup):not(.work-stock-choices),
body[data-work-view="lunch"] .intro-help,
body[data-work-view="lunch"] .event-risk-note {
  display: none !important;
}
body[data-work-view="quick"] main.info-page > :not(.workday-brief),
body[data-work-view="lunch"] main.info-page > :not(.workday-brief) {
  display: none !important;
}
body[data-work-view="quick"] .first-grade-path {
  margin-bottom: 10px;
}
body[data-work-view="quick"] .checkin-switch {
  margin-top: 10px;
}
.checkin-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0;
}
.checkin-switch button {
  min-height: 48px;
  padding: 9px;
  border: 1px solid #213d53;
  border-radius: 10px;
  background: #08131d;
  color: #9fb5c8;
  font-weight: 850;
  cursor: pointer;
}
.checkin-switch button small {
  display: block;
  margin-top: 2px;
  color: #61798e;
}
.checkin-switch button.active {
  border-color: #46c9ff;
  background: #0a2638;
  color: #eaf7ff;
}
.brief-state,
.caught-up,
.closed-notice,
.checkin-plan {
  padding: 13px 15px;
  border: 1px solid #244158;
  border-radius: 10px;
  background: #08131d;
  color: #a9bed0;
  line-height: 1.55;
}
.brief-state.error {
  border-color: #6d2a30;
  color: #ffaaa3;
}
.closed-notice {
  margin-bottom: 10px;
  border-color: #705a26;
  background: #211b0d;
  color: #e7cf8d;
}
.brief-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-bottom: 10px;
}
.brief-summary-grid article,
.quick-facts > div {
  padding: 13px;
  border: 1px solid #1b3348;
  border-radius: 10px;
  background: #07111a;
}
.brief-summary-grid small,
.quick-facts small,
.quick-next small {
  display: block;
  margin-bottom: 4px;
  color: #708da3;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.brief-summary-grid strong,
.quick-facts strong {
  display: block;
  color: #e4edf7;
  font-size: 14px;
}
.quick-setup {
  padding: 18px;
  border: 1px solid #31516a;
  border-radius: 14px;
  background: #09151f;
}
.work-checklist-drawer{margin-top:12px;padding:0!important;overflow:hidden}
.work-checklist-drawer>summary,.work-learning-drawer>summary{min-height:54px;padding:13px 16px;display:flex;align-items:center;gap:10px;cursor:pointer;color:#8edfff;font-size:12px;font-weight:950;letter-spacing:.07em}
.work-checklist-drawer>summary small,.work-learning-drawer>summary small{color:#849caf;font-size:10px;font-weight:600;letter-spacing:0}
.work-checklist-drawer[open]>summary,.work-learning-drawer[open]>summary{border-bottom:1px solid #29465b}
.work-checklist-drawer>.checklist-head{margin-top:16px}
.work-learning-drawer{max-width:1180px;margin:18px auto 0;border:1px solid #29465b;border-radius:12px;background:#07111a;overflow:hidden}
.work-learning-body{padding:0 16px 16px}
.quick-setup h2 {
  margin: 8px 0 0;
  color: #f2f8ff;
  font-size: 30px;
}
.research-state {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
}
.research-state.now {
  border: 1px solid #00e5a0;
  color: #67f2c3;
  background: #06251d;
}
.research-state.later {
  border: 1px solid #ffca58;
  color: #ffe19b;
  background: #271d08;
}
.research-state.skip {
  border: 1px solid #ff6c82;
  color: #ffacb8;
  background: #2a0c13;
}
.quick-what {
  margin: 13px 0;
  color: #d5e4f0;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.55;
}
.quick-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.quick-reasons {
  margin-top: 14px;
}
.quick-reasons h3 {
  margin: 0 0 6px;
  color: #9fc8df;
  font-size: 13px;
}
.quick-reasons ul {
  margin: 0;
  padding-left: 20px;
  color: #a9bed0;
  line-height: 1.7;
}
.quick-next {
  margin-top: 14px;
  padding: 12px;
  border-left: 4px solid #46c9ff;
  background: #071b29;
  color: #dceaf4;
}
.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.quick-actions button,
.quick-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 9px;
  border: 1px solid #31516a;
  border-radius: 9px;
  background: #0a1722;
  color: #dcecf7;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.quick-actions a {
  border-color: #0e6ff2;
  background: #0e6ff2;
  color: #fff;
}
.quick-actions .saved {
  border-color: #00b77e;
  background: #063023;
  color: #8fffd6;
}
.quick-explanation {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #27445b;
  border-radius: 9px;
  color: #a9bed0;
  line-height: 1.6;
}
.caught-up {
  margin-top: 10px;
  border-color: #23654f;
  background: #071e18;
  color: #91dfc4;
}
.checkin-plan {
  margin-top: 10px;
}
@media (max-width: 760px) {
  .workday-brief {
    padding: 17px;
    margin: -4px 0 16px;
  }
  .checkin-switch {
    grid-template-columns: 1fr;
  }
  .checkin-switch button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 10px 13px;
  }
  .checkin-switch button small {
    display: inline;
    margin: 0;
  }
  .brief-summary-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quick-facts,
  .quick-actions {
    grid-template-columns: 1fr;
  }
  .quick-actions button,
  .quick-actions a {
    min-height: 48px;
  }
  .quick-what {
    font-size: 16px;
  }
  body[data-work-view="quick"] .workday-topline {
    align-items: center;
  }
  body[data-work-view="quick"] .workday-topline h1 {
    font-size: 27px;
  }
  body[data-work-view="quick"] .workday-subtitle {
    margin-bottom: 10px;
  }
}
.work-stock-choices {
  margin: 12px 0;
  padding: 15px;
  border: 1px solid #244158;
  border-radius: 14px;
  background: #07111a;
}
.work-choice-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}
.work-choice-head small {
  color: #6f91a9;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.12em;
}
.work-choice-head h2 {
  margin: 3px 0 0;
  color: #eef7ff;
  font-size: 20px;
}
.work-choice-head > a {
  color: #58cfff;
  font-size: 11px;
  font-weight: 850;
}
.work-choice-note {
  margin: 8px 0 12px;
  color: #9eb5c7;
  font-size: 12px;
}
.work-choice-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.work-choice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 155px;
  padding: 12px;
  border: 1px solid #213b50;
  border-radius: 10px;
  background: #0a1721;
  color: #dceaf4;
  text-decoration: none;
}
.work-choice-card:hover,
.work-choice-card:focus {
  border-color: #46c9ff;
  transform: translateY(-1px);
}
.work-choice-card.first {
  border-color: #32769b;
}
.work-choice-card > strong {
  font-size: 20px;
}
.work-choice-card > b {
  width: max-content;
  padding: 3px 6px;
  border-radius: 99px;
  color: #ffdf91;
  background: #302307;
  font-size: 9px;
}
.work-choice-card > b.look-now {
  color: #74f4c8;
  background: #073025;
}
.work-choice-card > b.too-late,
.work-choice-card > b.skip {
  color: #ffacb8;
  background: #300d15;
}
.work-choice-card > span,
.work-choice-card > small {
  color: #91a9ba;
  font-size: 11px;
  line-height: 1.35;
}
.work-choice-card > em {
  margin-top: auto;
  color: #53cfff;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}
.work-choice-rank {
  position: absolute;
  right: 10px;
  top: 10px;
}
.work-choice-card > .work-choice-rank {
  color: #5f7e94;
  font-size: 10px;
}
@media (max-width: 900px) {
  .work-choice-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .work-choice-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 5px;
  }
  .work-choice-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
  .work-choice-head {
    align-items: flex-start;
  }
  .work-choice-head h2 {
    font-size: 18px;
  }
}
.schedule-card {
  margin: 0 0 14px;
  border: 1px solid #213d53;
  border-radius: 10px;
  background: #07111a;
}
.schedule-card summary {
  padding: 13px 15px;
  color: #9fc8df;
  font-weight: 900;
  cursor: pointer;
}
.schedule-card form {
  padding: 0 15px 15px;
}
.schedule-days {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.schedule-days label,
.auto-row {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #a9bed0;
  font-size: 12px;
}
.schedule-times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 12px 0;
}
.schedule-times label {
  color: #708da3;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.schedule-times input {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 10px;
  border: 1px solid #294158;
  border-radius: 8px;
  background: #07101a;
  color: #e4edf7;
}
.schedule-card form > button {
  margin-top: 12px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #0e6ff2;
  border-radius: 8px;
  background: #0e6ff2;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
#scheduleMessage {
  display: inline-block;
  margin-left: 10px;
  color: #91dfc4;
  font-size: 11px;
}
@media (max-width: 760px) {
  .schedule-times {
    grid-template-columns: 1fr;
  }
  .schedule-days {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  #scheduleMessage {
    display: block;
    margin: 8px 0 0;
  }
}
.first-grade-path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 13px 0 16px;
}
.first-grade-path > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  column-gap: 9px;
  padding: 12px;
  border: 1px solid #28445b;
  border-radius: 11px;
  background: #091520;
}
.first-grade-path b {
  grid-row: 1/3;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0d6fe8;
  color: #fff;
  font-size: 16px;
}
.first-grade-path strong {
  color: #e9f5fd;
  font-size: 12px;
}
.first-grade-path span {
  color: #8fa6b9;
  font-size: 10px;
  line-height: 1.4;
}
@media (max-width: 560px) {
  .first-grade-path {
    grid-template-columns: 1fr;
  }
  .first-grade-path > div {
    padding: 10px;
  }
}
.work-mode-brief {
  margin: 0 0 10px;
  padding: 14px;
  border: 1px solid #294b63;
  border-radius: 12px;
  background: #081722;
}
.work-mode-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.work-mode-head b {
  color: #f1f8ff;
  font-size: 18px;
}
.work-mode-head span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #12283a;
  color: #8edfff;
  font-size: 10px;
  font-weight: 950;
}
.work-mode-brief > p {
  margin: 6px 0 11px;
  color: #9fb7c9;
  font-size: 12px;
}
.work-mode-path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.work-mode-path div {
  padding: 9px;
  border: 1px solid #203b50;
  border-radius: 9px;
  background: #07111a;
}
.work-mode-path strong {
  display: block;
  color: #ddecf6;
  font-size: 11px;
}
.work-mode-path span {
  display: block;
  margin-top: 3px;
  color: #819aad;
  font-size: 10px;
  line-height: 1.4;
}
.work-mode-path .current {
  border-color: #38c4ff;
  background: #092234;
}
.work-mode-brief.no-edge {
  border-color: #705a26;
  background: #1b160a;
}
.today-status-label{margin-bottom:6px;color:#8fb4ca;font-size:10px;font-weight:950;letter-spacing:.14em}
.today-status.green{color:#67f2c3}.today-status.yellow{color:#ffe19b}
.today-status-facts{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.today-status-facts strong{padding:7px 9px;border:1px solid #29465b;border-radius:7px;background:#07111a;color:#cfe0eb;font-size:11px}
.work-mode-detail{margin-top:10px;border-top:1px solid #29465b;padding-top:8px}
.work-mode-detail>summary{min-height:38px;display:flex;align-items:center;color:#8edfff;cursor:pointer;font-size:11px;font-weight:900}
.work-mode-detail>p{color:#8fa8ba;font-size:11px;line-height:1.5}
.market-talk-decoder{margin:0 0 14px;border-color:#4b3d20;background:linear-gradient(105deg,#181209,#081520)}
.market-talk-decoder>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#ffe29a;font-size:12px;font-weight:950;letter-spacing:.03em;cursor:pointer}
.market-talk-decoder>summary small{color:#a99973;font-size:10px;font-weight:800;letter-spacing:0;text-align:right}
.market-talk-body{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:3px 0 2px}
.market-talk-body article{padding:12px;border:1px solid #40351d;border-radius:9px;background:rgba(3,12,19,.7)}
.market-talk-body b{color:#ffdc7a;font-size:10px;letter-spacing:.1em}
.market-talk-body p{margin:7px 0 0;color:#aebdca;font-size:11px;line-height:1.5}
.market-talk-body strong{color:#e7f0f6}
@media (max-width: 760px) {
  .quick-facts{grid-template-columns:1fr 1fr}
  .work-checklist-drawer>summary,.work-learning-drawer>summary{align-items:flex-start;flex-direction:column;gap:4px}
  .work-mode-path {
    grid-template-columns: 1fr;
  }
  .work-mode-head {
    align-items: flex-start;
  }
  .market-talk-body{grid-template-columns:1fr}
}
