body.qw-write-hub .entry-header.header-overlap,
body.qw-write-hub > .featured-post,
body.qw-write-prompt .entry-header.header-overlap,
body.qw-write-prompt > .featured-post,
body.qw-write-hub .sidebar-main,
body.qw-write-prompt .sidebar-main { display: none !important; }

body.qw-write-hub .container.hfeed .main-content,
body.qw-write-prompt .container.hfeed .main-content {
  width: 100%;
  max-width: none;
  float: none;
}

body.qw-write-hub article.page .entry.entry-single,
body.qw-write-prompt article.page .entry.entry-single { padding: 0 !important; margin: 0; }
body.qw-write-hub #pum-10527,
body.qw-write-prompt #pum-10527 { display: none !important; }

.qw-challenge {
  --qw-ink: #20342a;
  --qw-fern: #294a38;
  --qw-muted: #45594a;
  --qw-sage: #e4ebdd;
  --qw-paper: #faf8f1;
  --qw-white: #fffdf6;
  --qw-rule: #d0cbb9;
  --qw-serif: Georgia, "Times New Roman", serif;
  --qw-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --qw-inset: clamp(16px, 4vw, 52px);
  color: var(--qw-ink);
  background: var(--qw-paper);
  font: 400 1rem/1.6 var(--qw-sans);
  padding: var(--qw-inset);
}
.qw-challenge *, .qw-challenge *::before, .qw-challenge *::after { box-sizing: border-box; }
.qw-challenge [hidden] { display: none !important; }
.entry-single .qw-challenge :is(h1, h2) {
  margin: 0;
  color: var(--qw-fern);
  font: 700 clamp(1.65rem, 3.6vw, 2.625rem)/1.08 var(--qw-serif);
  letter-spacing: -.04em;
  text-transform: none;
}
.entry-single .qw-challenge h1 { font-size: clamp(2.35rem, 5.2vw, 4.125rem); text-wrap: balance; }
.qw-challenge p { margin: 0; }
.qw-challenge a { color: var(--qw-fern); text-underline-offset: .18em; }
.qw-challenge :is(a, button, input, summary):focus-visible {
  outline: 2px solid #294a38;
  outline-offset: 3px;
}
.qw-challenge-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.qw-challenge-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(20px, 4vw, 50px);
  border-bottom: 1px solid var(--qw-rule);
  padding-block: clamp(12px, 2vw, 30px) clamp(28px, 5vw, 60px);
}
.qw-challenge-intro { display: grid; justify-items: start; gap: 18px; }
.qw-challenge-intro > p { max-width: 47ch; font-size: clamp(1rem, 2vw, 1.125rem); color: var(--qw-muted); }
.qw-challenge-actions, .qw-challenge-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.qw-challenge .qw-challenge-button, .qw-challenge .qw-challenge-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--qw-fern);
  font: 700 .875rem/1.3 var(--qw-sans);
}
.qw-challenge .qw-challenge-button {
  border: 1px solid var(--qw-fern);
  border-radius: 999px;
  background: var(--qw-fern);
  color: var(--qw-white);
  padding: 10px 18px;
  text-decoration: none;
  cursor: pointer;
}
.qw-challenge .qw-challenge-button:hover { background: #20382a; color: var(--qw-white); }
.qw-challenge .qw-challenge-link { text-decoration: underline; }
.qw-challenge .qw-challenge-link:is(:hover,:focus-visible) { color: var(--qw-ink); }
.qw-challenge .qw-challenge-tools button { border: 0; padding: 0; margin: 0; background: transparent; cursor: pointer; text-transform: none; letter-spacing: normal; }
.qw-challenge-tools button:disabled { opacity: .55; cursor: default; }
.qw-challenge-progress {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(22px, 3.5vw, 40px);
  border-radius: 8px;
  background-color: var(--qw-fern);
  background-image: linear-gradient(rgba(24,54,35,.87),rgba(24,54,35,.87)), url("https://philspatial3d.github.io/qwiklit-web/assets/assets/qwiklit-green-fabric.6fac3869bc43aa12500062c297e0c3dd.jpg");
  background-size: auto, 320px auto;
  color: var(--qw-white);
}
.entry-single .qw-challenge .qw-challenge-progress h2 { color: var(--qw-white); font-size: 1.625rem; }
.qw-challenge-progress strong { font-size: 1.35em; }
.qw-challenge-progress progress { display: block; width: 100%; height: 8px; border: 0; border-radius: 999px; overflow: hidden; background: #536857; color: #e4ebdd; }
.qw-challenge-progress progress::-webkit-progress-bar { background: #536857; }
.qw-challenge-progress progress::-webkit-progress-value { background: #e4ebdd; }
.qw-challenge-progress progress::-moz-progress-bar { background: #e4ebdd; }
.qw-challenge-local { font-size: .875rem; color: #e4ebdd; }
.qw-challenge-directory { padding-block: clamp(24px, 4vw, 46px); }
.qw-directory-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.qw-challenge .qw-challenge-tools input[type="search"] {
  margin: 0;
  color: var(--qw-ink);
  background: var(--qw-white);
  border: 1px solid #888775;
  border-radius: 6px;
  padding: 8px 12px;
  min-height: 44px;
  width: min(100%, 235px);
  font: inherit;
}
.qw-challenge-stages { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin: 24px 0; }
.qw-challenge-stages a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 10px 12px;
  border: 1px solid var(--qw-rule);
  border-radius: 6px;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
}
.qw-challenge-stages a:hover { background: var(--qw-sage); }
.qw-challenge-stages span { color: var(--qw-muted); font-size: .8125rem; font-weight: 400; }
.qw-challenge-search-status { color: var(--qw-muted); padding-bottom: 12px; }
.qw-challenge-stage, #writing-prompts { scroll-margin-top: 72px; }
.qw-challenge-stage { border-top: 1px solid var(--qw-rule); }
.qw-challenge-stage:last-child { border-bottom: 1px solid var(--qw-rule); }
.qw-challenge-stage summary {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding-block: 16px;
  color: var(--qw-fern);
  font: 700 clamp(1.125rem, 2.6vw, 1.625rem)/1.2 var(--qw-serif);
  list-style: none;
}
.qw-challenge-stage summary::-webkit-details-marker { display: none; }
.qw-challenge-stage summary::after { content: "+"; margin-inline-start: auto; font: 600 1.125rem/1 var(--qw-sans); }
.qw-challenge-stage[open] summary::after { content: "−"; }
.qw-stage-days { color: var(--qw-muted); font: 400 .8125rem/1.2 var(--qw-sans); }
.qw-challenge .qw-prompt-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px;
  margin: 0;
  padding: 0 0 18px;
}
.qw-prompt-grid li { margin: 0; padding: 0; }
.qw-prompt-grid a {
  min-height: 60px;
  height: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  background: var(--qw-white);
  border: 1px solid var(--qw-rule);
  border-radius: 6px;
  padding: 11px;
  text-decoration: none;
}
.qw-prompt-grid a:hover, .qw-prompt-grid .qw-prompt-complete a { background: var(--qw-sage); }
.qw-prompt-grid a:hover .qw-prompt-title { text-decoration: underline; }
.qw-prompt-day { color: var(--qw-muted); font-variant-numeric: tabular-nums; font-size: .8125rem; }
.qw-prompt-title { font: 700 1rem/1.22 var(--qw-serif); overflow-wrap: anywhere; }
.qw-prompt-check { margin-inline-start: 4px; font-size: .8em; color: var(--qw-fern); }
.qw-challenge-reading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  background: var(--qw-sage);
  border-radius: 8px;
  padding: clamp(16px, 3vw, 30px);
}
.qw-challenge-reading h2 { font-size: clamp(1.375rem, 3vw, 1.875rem); margin-bottom: 6px; }
.qw-challenge-reading p { color: var(--qw-muted); }

.qw-day-layout { max-width: 840px; margin-inline: auto; }
.qw-day-breadcrumb { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; border-bottom: 1px solid var(--qw-rule); padding-bottom: 12px; font-size: .875rem; }
.qw-day-breadcrumb span { color: var(--qw-muted); font-variant-numeric: tabular-nums; }
.qw-day-intro { padding: clamp(22px, 4vw, 44px) 0 20px; }
.entry-single .qw-challenge .qw-day-intro h1 { font-size: clamp(2.3rem, 5.5vw, 4.25rem); overflow-wrap: anywhere; }
.qw-day-content { font: 400 clamp(1.125rem, 2vw, 1.3rem)/1.63 var(--qw-serif); overflow-wrap: anywhere; }
.qw-day-content p { margin-bottom: 1em; }
.qw-day-content :is(img, iframe) { max-width: 100%; }
.qw-day-content img, .qw-day-illustration img { max-width: 100%; height: auto; }
.qw-day-illustration { margin-top: 20px; }
.qw-day-illustration summary { cursor: pointer; padding: 10px 0; color: var(--qw-fern); }
.qw-day-complete { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin: 24px 0 20px; }
.qw-day-complete p { color: var(--qw-muted); font-size: .875rem; }
.qw-day-complete button[aria-pressed="true"] { background: var(--qw-sage); color: var(--qw-ink); }
.qw-day-navigation { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.qw-day-navigation a {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 64px;
  padding: 14px;
  border: 1px solid var(--qw-rule);
  border-radius: 6px;
  background: var(--qw-white);
  text-decoration: none;
}
.qw-day-navigation a:hover { background: var(--qw-sage); text-decoration: underline; }
.qw-day-navigation span { font-size: .8125rem; }
.qw-day-navigation strong { font: 700 1.125rem/1.25 var(--qw-serif); overflow-wrap: anywhere; }
.qw-challenge .qw-day-reader { margin-top: 22px; font-size: .875rem; }

@media (max-width: 760px) {
  .qw-challenge .qw-prompt-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .qw-challenge-hero { grid-template-columns: minmax(0,1fr); }
  .qw-challenge-stages, .qw-challenge .qw-prompt-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .qw-challenge-stage summary { padding-block: 14px; min-height: 48px; }
}
