:root { color-scheme: dark; }

.planner-shell {
  --bg: #090908;
  --panel: #15130f;
  --panel-2: #1d1a15;
  --panel-3: #27231d;
  --line: #51452e;
  --line-soft: #2e2921;
  --text: #eee9df;
  --muted: #a9a195;
  --gold: #d6a954;
  --gold-bright: #f2c976;
  --teal: #24d4bd;
  --teal-dark: #063f3b;
  --shadow: 0 24px 80px rgba(0, 0, 0, .46);
}

* { box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
button, select, input { font: inherit; }
button, select { color: inherit; }
button, label { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }

.tool-content-shell { width: min(100% - 28px, 1500px); }
.tool-panel {
  padding: 22px 17px 28px;
  background: linear-gradient(145deg, rgba(15, 31, 43, .95), rgba(5, 15, 23, .97));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.tool-intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.page-title { min-width: 0; padding: 0 2px 18px; }
.page-title-heading { display: flex; align-items: baseline; gap: 14px; }
.page-title-heading p { margin: 0; color: var(--gold-light); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 800; }
.page-title h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(30px, 4vw, 48px); font-weight: 700; }
.page-description { max-width: 990px; margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.tool-actions { flex: 0 0 auto; display: flex; gap: 8px; padding-bottom: 18px; }
.quiet-button, .text-button, .primary-button { border: 0; }
.quiet-button { min-height: 42px; padding: 8px 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--text); background: rgba(7, 18, 27, .72); border: 1px solid rgba(255, 255, 255, .13); border-radius: 10px; font-weight: 750; text-decoration: none; }
.quiet-button:hover, .quiet-button:focus-visible { border-color: var(--line); }
.text-button { background: transparent; color: var(--gold-bright); padding: 5px; }
.primary-button { background: var(--gold); color: #17130c; font-weight: 800; padding: 10px 15px; border-radius: 3px; }

.planner-shell { border: 1px solid #675839; background: var(--panel); box-shadow: var(--shadow); }
.setup-panel { padding: 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #1c1914, #12110e); }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.section-heading h2 { margin: 0; color: var(--gold-bright); font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.region-heading { margin-top: 20px; }

.relic-tier-grid { display: grid; grid-template-columns: repeat(4, minmax(190px, 1fr)); border: 1px solid #493f2c; overflow-x: auto; }
.relic-tier-column { min-width: 190px; border-right: 1px solid #493f2c; }
.relic-tier-column:last-child { border-right: 0; }
.relic-tier-column > h3 { margin: 0; padding: 9px 12px; background: #29251e; color: #e6c17d; font-family: Georgia, serif; font-size: 17px; font-weight: 500; border-bottom: 1px solid #493f2c; }
.relic-tier-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 132px; }
.relic-choice { position: relative; min-width: 0; padding: 10px 5px 9px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; text-align: center; cursor: pointer; border-right: 1px solid #2e2921; transition: background .14s, box-shadow .14s; }
.relic-choice:last-child { border-right: 0; }
.relic-choice input, .region-choice input { position: absolute; opacity: 0; pointer-events: none; }
.relic-choice img { width: 76px; height: 66px; object-fit: contain; opacity: .43; filter: saturate(.4) brightness(.72); transition: opacity .14s, filter .14s, transform .14s; }
.relic-choice span { min-height: 30px; display: grid; place-items: center; color: #8f8a81; font-size: 11px; line-height: 1.2; }
.relic-choice:hover { background: rgba(255, 255, 255, .025); }
.relic-choice:has(input:checked) { background: linear-gradient(180deg, rgba(24, 125, 112, .22), rgba(7, 54, 50, .13)); box-shadow: inset 0 -3px var(--teal); }
.relic-choice:has(input:checked) img { opacity: 1; filter: saturate(1.08) brightness(1.08); transform: translateY(-1px); }
.relic-choice:has(input:checked) span { color: var(--gold-bright); }
.relic-choice:has(input:focus-visible), .region-choice:has(input:focus-visible) { outline: 2px solid var(--gold-bright); outline-offset: -2px; }

.region-grid { display: grid; grid-template-columns: repeat(11, minmax(70px, 1fr)); gap: 5px; }
.region-choice { position: relative; min-width: 0; min-height: 76px; padding: 6px 4px 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 1px solid #373127; background: #15130f; cursor: pointer; }
.region-choice img { width: 43px; height: 43px; object-fit: contain; opacity: .45; filter: grayscale(.35) brightness(.7); }
.region-choice span { width: 100%; overflow: hidden; color: #8f8a81; text-align: center; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.region-choice:hover { border-color: #65583d; }
.region-choice:has(input:checked) { border-color: var(--teal); background: rgba(20, 101, 91, .18); box-shadow: inset 0 0 0 1px rgba(36, 212, 189, .2); }
.region-choice:has(input:checked) img { opacity: 1; filter: none; }
.region-choice:has(input:checked) span { color: var(--text); }
.combat-setting { margin-top: 13px; padding-top: 13px; border-top: 1px solid #373127; }
.combat-setting > p { max-width: 820px; margin: 8px 0 0 48px; color: #938b80; font-size: 11px; line-height: 1.45; }
.combat-setting > p strong { color: #c8c0b4; }
.combat-toggle { width: fit-content; }
.toggle-control { display: flex; align-items: center; gap: 9px; color: #c5beb2; cursor: pointer; }
.toggle-control input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-track { width: 39px; height: 22px; flex: 0 0 auto; padding: 2px; display: block; border: 1px solid #665e51; border-radius: 999px; background: #171510; transition: border-color .15s, background .15s; }
.toggle-track::after { content: ""; width: 16px; height: 16px; display: block; border-radius: 50%; background: #8d867b; transition: transform .15s, background .15s; }
.toggle-control:has(input:checked) .toggle-track { border-color: var(--teal); background: rgba(36, 212, 189, .19); }
.toggle-control:has(input:checked) .toggle-track::after { transform: translateX(17px); background: var(--teal); }
.toggle-control:has(input:focus-visible) .toggle-track { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.toggle-copy strong, .toggle-copy small { display: block; }
.toggle-copy strong { color: var(--text); font-size: 12px; }
.toggle-copy small { margin-top: 2px; color: #928b80; font-size: 11px; }

.results { min-width: 0; }
.results-toolbar { min-height: 76px; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); background: #1b1813; position: sticky; top: 72px; z-index: 20; }
.progress-block { min-width: min(390px, 48%); }
.progress-numbers strong { color: var(--gold-bright); font-size: 25px; font-variant-numeric: tabular-nums; }
.progress-numbers span { color: #bcb4a8; }
.progress-track { height: 7px; margin: 6px 0 4px; overflow: hidden; border: 1px solid #355c52; background: #111d1a; }
.progress-track span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #31b738, #65e15e); transition: width .2s; }
.progress-block small { color: var(--muted); font-variant-numeric: tabular-nums; }
.toolbar-controls { display: flex; align-items: end; justify-content: flex-end; gap: 14px; flex-wrap: wrap; }
.select-control > span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 11px; }
select { min-height: 36px; padding: 0 32px 0 9px; border: 1px solid #4a4130; border-radius: 2px; background: #12110e; }
.switch-control { min-height: 36px; }
.toggle-label { color: var(--muted); font-size: 11px; }
.results-summary { padding: 16px 18px 8px; }
.results-summary h2 { margin: 0; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }

.task-list { padding: 0 18px 24px; }
.task-group { margin: 10px 0 20px; }
.task-group-heading { display: flex; align-items: center; gap: 9px; padding: 8px 5px; border-bottom: 1px solid var(--line); }
.task-group-heading img { width: 44px; height: 38px; object-fit: contain; }
.task-group-heading h2 { margin: 0; font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.task-group-heading span { margin-left: auto; color: var(--muted); font-size: 12px; }
.task-row { min-height: 61px; display: grid; grid-template-columns: 28px 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 5px 9px; border-bottom: 5px solid #100f0d; background: #211e19; }
.task-row:nth-child(even) { background: #25211c; }
.task-row:hover { background: #2c2821; }
.task-row.is-complete { opacity: .46; }
.task-row.is-complete h3 { text-decoration: line-through; }
.task-check { width: 24px; height: 24px; display: grid; place-items: center; cursor: pointer; }
.task-check input { position: absolute; opacity: 0; }
.task-check span { width: 18px; height: 18px; display: block; border: 1px solid #756a55; background: #0f0e0c; border-radius: 2px; }
.task-check input:checked + span { border-color: var(--teal); background: var(--teal); box-shadow: inset 0 0 0 4px #17211e; }
.task-check input:focus-visible + span { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.task-reward { width: 46px; height: 51px; position: relative; display: grid; place-items: start center; }
.task-tier-icon { width: 37px; height: 40px; object-fit: contain; }
.task-points { min-width: 38px; margin-top: -11px; color: #f1eee8; text-align: center; text-shadow: 0 1px 2px #000, 0 0 2px #000; font-size: 12px; font-variant-numeric: tabular-nums; z-index: 1; }
.task-copy { min-width: 0; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.task-row h3 { margin: 0; font-size: 14px; line-height: 1.35; font-weight: 520; }
.task-requirement { flex: 0 0 auto; padding: 2px 6px; color: #9fded7; background: #102a27; border: 1px solid #28655e; border-radius: 999px; font-size: 10px; font-weight: 750; line-height: 1.25; white-space: nowrap; }
.task-region-icons { display: flex; justify-content: flex-end; gap: 3px; padding-left: 8px; }
.task-region-icons img { width: 31px; height: 31px; object-fit: contain; }
.empty-state { padding: 72px 20px; color: var(--muted); text-align: center; }

.sync-result { margin: -6px 2px 16px; padding: 10px 12px; color: #d9fff5; background: rgba(20, 101, 91, .32); border: 1px solid rgba(36, 212, 189, .55); border-radius: 8px; font-size: 13px; }
dialog { width: min(520px, calc(100% - 24px)); max-height: calc(100svh - 24px); padding: 0; overflow: auto; color: #eee9df; background: #171510; border: 1px solid #665a42; box-shadow: 0 35px 110px #000; }
dialog::backdrop { background: rgba(0, 0, 0, .78); }
.sync-card { padding: 22px; }
.sync-card header { display: flex; justify-content: space-between; gap: 18px; }
.sync-card h2 { margin: 0 0 14px; font-family: Georgia, serif; font-weight: 500; }
.sync-card h3 { margin: 0 0 8px; color: #eee9df; font: 700 15px/1.3 system-ui, sans-serif; }
.dialog-close { width: 32px; height: 32px; border: 1px solid #51452e; background: #242018; color: #eee9df; font-size: 21px; }
.sync-intro { margin: 0 0 10px; color: #d8d0c4; line-height: 1.5; }
.mobile-sync-setup { display: none; }
.desktop-sync-setup { margin-top: 18px; padding-top: 16px; border-top: 1px solid #3d362a; }
.desktop-sync-setup p { margin: 0; color: #d8d0c4; line-height: 1.5; }
.bookmarklet-button, .wiki-page-link { width: fit-content; display: inline-block; margin-top: 10px; padding: 9px 12px; color: #17130c; background: #e0ae50; border: 1px solid #f2c976; border-radius: 4px; text-decoration: none; font-weight: 850; cursor: grab; }
.wiki-page-link { color: #f2c976; background: #242018; border-color: #655b48; cursor: pointer; }
.drag-note, .privacy-note { display: block; margin-top: 6px; color: #928b80; }
.bookmark-help { margin-top: 10px; color: #aaa296; font-size: 12px; }
.bookmark-help summary { width: fit-content; cursor: pointer; }
.bookmark-help p { margin: 8px 0 0; }
.bookmark-help kbd { min-width: 27px; display: inline-block; padding: 1px 5px; color: #eee9df; background: #0f0e0c; border: 1px solid #655b48; border-radius: 3px; text-align: center; font: inherit; }
.sync-next-step { margin-top: 18px; padding-top: 16px; border-top: 1px solid #3d362a; }
.sync-next-step p { margin: 0; color: #d8d0c4; line-height: 1.5; }
.bookmark-source { margin-top: 14px; padding-top: 12px; color: #aaa296; border-top: 1px solid #3d362a; font-size: 12px; }
.bookmark-source summary { width: fit-content; color: #d8d0c4; cursor: pointer; }
.bookmark-source p { margin: 10px 0; line-height: 1.45; }
.bookmark-source code { color: #a8ded8; }
.bookmark-source pre { max-height: 180px; margin: 10px 0 0; padding: 12px; overflow: auto; color: #d8f4ef; background: #0f0e0c; border: 1px solid #454035; border-radius: 4px; white-space: pre-wrap; overflow-wrap: anywhere; font: 11px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace; }
.bookmark-source-actions { display: flex; align-items: center; gap: 10px; }
.source-copy-button { padding: 6px 9px; color: #f2c976; background: #242018; border: 1px solid #655b48; border-radius: 4px; cursor: pointer; font: inherit; }
.primary-copy-button { min-height: 42px; padding: 9px 13px; color: #17130c; background: #e0ae50; border-color: #f2c976; font-weight: 850; }
#copy-bookmark-status { color: #9fded7; }
.bookmarklet-help { min-height: 20px; margin: 12px 0 0; color: #f2c976; }

@media (max-width: 1050px) {
  .relic-tier-grid { grid-template-columns: repeat(4, 230px); }
  .region-grid { grid-template-columns: repeat(6, minmax(74px, 1fr)); }
}

@media (max-width: 760px) {
  .tool-content-shell { width: min(100% - 16px, 1500px); }
  .tool-panel { padding: 16px 10px 20px; }
  .tool-intro { align-items: stretch; flex-direction: column; gap: 0; }
  .tool-actions { width: 100%; padding-bottom: 18px; }
  .tool-actions .quiet-button { flex: 1; }
  .page-title-heading { display: block; }
  .page-title h1 { margin-top: 3px; }
  .setup-panel { padding: 12px; }
  .relic-tier-grid { grid-template-columns: 1fr; gap: 12px; overflow-x: visible; border: 0; }
  .relic-tier-column { min-width: 0; overflow: hidden; border: 1px solid #493f2c; }
  .relic-tier-column:last-child { border-right: 1px solid #493f2c; }
  .relic-tier-column > h3 { padding: 10px 12px; }
  .relic-tier-choices { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); min-height: 0; }
  .relic-choice { min-height: 118px; padding: 12px 8px 10px; gap: 7px; }
  .relic-choice img { width: 72px; height: 62px; }
  .relic-choice span { min-height: 32px; font-size: 12px; }
  .region-grid { grid-template-columns: repeat(4, minmax(68px, 1fr)); }
  .results-toolbar { position: static; align-items: flex-start; flex-direction: column; }
  .progress-block { min-width: 100%; }
  .toolbar-controls { width: 100%; justify-content: flex-start; }
  .task-list { padding-inline: 8px; }
  .results-summary { padding-inline: 10px; }
  .task-row { grid-template-columns: 24px 44px minmax(0, 1fr) auto; gap: 7px; padding-inline: 5px; }
  .task-region-icons img { width: 27px; height: 27px; }
  dialog { width: min(560px, calc(100% - 16px)); max-height: calc(100svh - 16px); }
  .sync-card { padding: 18px 16px; }
  .mobile-sync-setup { display: block; margin-top: 16px; padding: 16px; background: #211d16; border: 1px solid #514630; border-radius: 7px; }
  .mobile-sync-setup > p { margin: 0; color: #d8d0c4; line-height: 1.5; }
  .desktop-sync-setup { display: none; }
  .mobile-copy-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
  .mobile-sync-steps, .mobile-browser-help ol { margin: 14px 0 0; padding-left: 21px; color: #d8d0c4; line-height: 1.5; }
  .mobile-sync-steps li + li, .mobile-browser-help li + li { margin-top: 7px; }
  .mobile-browser-help { margin-top: 12px; color: #aaa296; font-size: 13px; }
  .mobile-browser-help summary { color: #f2c976; cursor: pointer; font-weight: 700; }
  .sync-next-step { margin-top: 16px; }
  .wiki-page-link { display: block; width: 100%; padding-block: 11px; text-align: center; }
}

@media (max-width: 470px) {
  .page-title h1 { font-size: 32px; }
  .region-grid { grid-template-columns: repeat(3, minmax(70px, 1fr)); }
  .toolbar-controls { gap: 9px; }
  .switch-control { width: 100%; }
  .task-row { grid-template-columns: 24px 42px minmax(0, 1fr) auto; }
  .task-region-icons { grid-column: auto; justify-content: flex-end; padding: 0 0 2px 3px; }
  .task-region-icons img { width: 24px; height: 24px; }
  .task-row h3 { font-size: 13px; }
}

/* Approved ArtisanRS planner treatment */
.planner-detail-page .planner-shell {
  --bg: #0d1217;
  --panel: #12191e;
  --panel-2: #172128;
  --panel-3: #1d2930;
  --line: #3b4a52;
  --line-soft: #2c383f;
  --text: #eef3f5;
  --muted: #9eabb3;
  --gold: #d6a323;
  --gold-bright: #f5c443;
  --teal: #61ddc6;
  --teal-dark: #103e3d;
  --shadow: 0 24px 64px rgba(0,0,0,0.34);
}

.planner-detail-hero-inner {
  width: min(calc(100% - 40px), 1500px);
  margin: 0 auto;
  padding: 22px 0 26px;
}

.planner-detail-page .planner-detail-hero .breadcrumbs {
  margin-bottom: 14px;
}

.planner-detail-page .tool-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 34px;
}

.planner-detail-page .page-title {
  padding: 0;
}

.planner-detail-page .page-title h1 {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.058em;
  line-height: 1;
  text-wrap: balance;
}

.planner-detail-page .page-description {
  max-width: 960px;
  margin: 10px 0 0;
  color: #deebf1;
  font-size: 1rem;
  line-height: 1.55;
}

.planner-detail-page .tool-actions {
  display: flex;
  gap: 9px;
  padding: 0;
}

.planner-detail-page .quiet-button {
  min-height: 42px;
  padding: 9px 13px;
  color: #fff;
  background: #102a3d;
  border: 1px solid #6b8da2;
  border-radius: 8px;
  font-weight: 750;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.planner-detail-page .quiet-button:hover,
.planner-detail-page .quiet-button:focus-visible {
  color: #07141c;
  background: #f5c443;
  border-color: #d6a323;
  transform: none;
}

.planner-detail-content {
  width: min(calc(100% - 40px), 1500px);
  margin: 0 auto;
  padding: 24px 0 82px;
}

.planner-detail-page .planner-shell {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid #40515a;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.planner-detail-page .setup-panel {
  padding: 20px;
  background: #11191e;
  border-bottom: 1px solid var(--line);
}

.planner-detail-page .section-heading h2,
.planner-detail-page .results-summary h2,
.planner-detail-page .task-group-heading h2,
.planner-detail-page .sync-card h2,
.planner-detail-page .sync-card h3 {
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.planner-detail-page .section-heading h2 {
  font-size: 1.35rem;
}

.planner-detail-page .text-button {
  color: #f5c443;
  border-radius: 6px;
}

.planner-detail-page .text-button:hover,
.planner-detail-page .text-button:focus-visible {
  color: #fff;
  background: #203039;
}

.planner-detail-page .relic-tier-grid {
  overflow: hidden;
  background: #10171c;
  border: 1px solid #394850;
  border-radius: 10px;
}

.planner-detail-page .relic-tier-column {
  border-right-color: #394850;
}

.planner-detail-page .relic-tier-column > h3 {
  padding: 10px 12px;
  color: #f5cf68;
  background: #19242a;
  border-bottom-color: #394850;
  font-family: "Archivo", sans-serif;
  font-size: 0.9rem;
  font-weight: 750;
}

.planner-detail-page .relic-choice {
  border-right-color: #2d3a41;
}

.planner-detail-page .relic-choice span {
  color: #98a5ad;
}

.planner-detail-page .relic-choice:hover {
  background: #172127;
}

.planner-detail-page .relic-choice:has(input:checked) {
  background: linear-gradient(180deg, rgba(40,126,119,0.28), rgba(18,67,64,0.2));
  box-shadow: inset 0 -4px var(--teal);
}

.planner-detail-page .relic-choice:has(input:checked) span {
  color: #fff;
}

.planner-detail-page .region-grid {
  gap: 7px;
}

.planner-detail-page .region-choice {
  min-height: 78px;
  background: #141c21;
  border: 1px solid #35434a;
  border-radius: 8px;
}

.planner-detail-page .region-choice:hover {
  background: #19242a;
  border-color: #687983;
}

.planner-detail-page .region-choice:has(input:checked) {
  background: #14312f;
  border-color: var(--teal);
  box-shadow: inset 0 0 0 1px rgba(97,221,198,0.22);
}

.planner-detail-page .combat-setting {
  border-top-color: #344249;
}

.planner-detail-page .toggle-track {
  background: #11191e;
  border-color: #64727a;
}

.planner-detail-page .toggle-track::after {
  background: #8c989f;
}

.planner-detail-page .results-toolbar {
  top: 70px;
  background: #151e23;
  border-bottom-color: #3b4a52;
}

.planner-detail-page .progress-numbers strong {
  color: #f5c443;
}

.planner-detail-page .progress-track {
  overflow: hidden;
  background: #0d1718;
  border-color: #38645e;
  border-radius: 999px;
}

.planner-detail-page .progress-track span {
  background: #61ddc6;
}

.planner-detail-page select {
  min-height: 38px;
  color: #eef3f5;
  background: #11191e;
  border: 1px solid #4b5a62;
  border-radius: 7px;
}

.planner-detail-page .results-summary {
  padding-top: 20px;
}

.planner-detail-page .results-summary h2 {
  font-size: 1.55rem;
}

.planner-detail-page .task-group-heading {
  border-bottom-color: #3b4a52;
}

.planner-detail-page .task-group-heading h2 {
  font-size: 1.15rem;
}

.planner-detail-page .task-row {
  min-height: 62px;
  margin-bottom: 2px;
  background: #182126;
  border: 0;
  border-radius: 6px;
}

.planner-detail-page .task-row:nth-child(even) {
  background: #1b252b;
}

.planner-detail-page .task-row:hover {
  background: #223039;
}

.planner-detail-page .task-check span {
  background: #0f171b;
  border-color: #728089;
  border-radius: 5px;
}

.planner-detail-page .task-check input:checked + span {
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: inset 0 0 0 4px #15312e;
}

.planner-detail-page .task-requirement {
  color: #b7f0e6;
  background: #12302e;
  border-color: #34766e;
}

.planner-detail-page .empty-state {
  color: #9eabb3;
}

.planner-detail-page dialog {
  color: #eef3f5;
  background: #131b20;
  border: 1px solid #4b5b64;
  border-radius: 12px;
  box-shadow: 0 35px 100px rgba(0,0,0,0.7);
}

.planner-detail-page .dialog-close {
  color: #fff;
  background: #202b31;
  border-color: #4e5d65;
  border-radius: 7px;
}

.planner-detail-page .mobile-sync-setup,
.planner-detail-page .bookmark-source pre {
  background: #10171b;
  border-color: #3d4b52;
}

.planner-detail-page .bookmarklet-button,
.planner-detail-page .primary-copy-button {
  color: #09151c;
  background: #f4c247;
  border-color: #b98210;
  border-radius: 8px;
}

.planner-detail-page .wiki-page-link,
.planner-detail-page .source-copy-button {
  color: #f5cf68;
  background: #1a252b;
  border-color: #53636b;
  border-radius: 7px;
}

@media (max-width: 760px) {
  .planner-detail-hero-inner,
  .planner-detail-content {
    width: min(calc(100% - 24px), 1500px);
  }

  .planner-detail-hero-inner {
    padding: 21px 0 24px;
  }

  .planner-detail-page .tool-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .planner-detail-page .tool-actions {
    width: 100%;
  }

  .planner-detail-page .tool-actions .quiet-button {
    flex: 1;
  }

  .planner-detail-content {
    padding: 20px 0 58px;
  }

  .planner-detail-page .setup-panel {
    padding: 12px;
  }

  .planner-detail-page .relic-tier-column {
    overflow: hidden;
    border: 1px solid #394850;
    border-radius: 9px;
  }
}
