:root {
  color-scheme: light;
  --blue: oklch(0.46 0.17 258);
  --brand: var(--blue);
  --blue-dark: oklch(0.3 0.1 258);
  --blue-soft: oklch(0.95 0.025 255);
  --cyan: oklch(0.43 0.08 200);
  --ink: oklch(0.24 0.035 255);
  --muted: oklch(0.46 0.03 255);
  --line: oklch(0.89 0.015 255);
  --bg: oklch(0.976 0.008 255);
  --white: oklch(1 0 0);
  --danger: oklch(0.48 0.16 25);
  --radius: 10px;
  --z-header: 10;
  --z-modal: 30;
  --z-toast: 40;
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.65;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.6;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
a {
  touch-action: manipulation;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
  line-height: 1.4;
}
p {
  text-wrap: pretty;
}
h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.125rem;
}
a,
button,
input,
select,
textarea {
  outline-offset: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--cyan);
}
img {
  max-width: 100%;
  height: auto;
}
.container {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
.narrow {
  max-width: 900px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.875rem;
}
.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;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 12px 20px;
  background: var(--white);
  z-index: var(--z-toast);
}
.skip:focus {
  top: 8px;
}
.topline {
  background: var(--blue-soft);
  font-size: 0.875rem;
  color: var(--muted);
}
.topline > .container {
  display: flex;
  justify-content: space-between;
  padding-block: 7px;
}
.topline .container > div {
  display: flex;
  gap: 24px;
}
.topline a,
.topline button {
  color: var(--muted);
}
.topline button,
footer button {
  border: 0;
  padding: 0;
  background: none;
  font-size: inherit;
}
.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 25px;
}
.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--ink);
}
.brand:hover {
  text-decoration: none;
}
.brand-symbol {
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  background: var(--blue);
  border-radius: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.brand strong {
  font-size: 1.375rem;
  display: block;
  line-height: 1.4;
  color: var(--blue-dark);
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 5px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 27px;
}
.header-join {
  color: var(--ink);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 24px;
  background: var(--blue);
  border: 1px solid transparent;
  color: var(--white);
  font-weight: 600;
  border-radius: 6px;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
  transition: background-color 0.15s ease;
}
.button:hover {
  background: var(--blue-dark);
  text-decoration: none;
  color: var(--white);
}
.button-secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}
.button-secondary:hover {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: var(--blue);
}
.button-ghost {
  background: transparent;
  color: var(--blue);
}
.button-ghost:hover {
  background: var(--blue-soft);
  color: var(--blue);
}
.navigation {
  display: flex;
  gap: 34px;
  align-items: center;
  min-height: 57px;
  overflow-x: auto;
  white-space: nowrap;
}
.navigation a {
  color: var(--ink);
  font-weight: 600;
  position: relative;
  padding-block: 15px;
  flex-shrink: 0;
}
.navigation a:hover {
  text-decoration: none;
  color: var(--blue);
}
.navigation [aria-current="page"] {
  color: var(--blue);
}
.navigation [aria-current="page"]:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--blue);
}
.navigation .nav-publish {
  margin-left: auto;
  color: var(--blue);
}
.hero {
  padding-block: 30px;
  background: var(--blue-soft);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  gap: 24px;
}
.hero-main {
  background: var(--blue-dark);
  color: var(--white);
  padding: 44px 40px 28px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-company {
  font-size: 0.875rem;
  color: oklch(0.88 0.035 255);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 3rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.hero-desc {
  font-size: 1.125rem;
  color: oklch(0.9 0.02 255);
  margin-block: 20px 28px;
  max-width: 34em;
}
.hero-search {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 7px;
  padding: 6px;
  width: 100%;
  color: var(--ink);
  gap: 3px;
}
.hero-search select {
  border: 0;
  max-width: 102px;
  min-height: 44px;
  padding-inline: 8px;
  background: var(--white);
  font-size: 0.95rem;
}
.hero-search input {
  border: 0;
  flex: 1;
  min-width: 0;
  padding-inline: 10px;
  background: var(--white);
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
.hero-search .button {
  padding-inline: 25px;
}
.quick-search {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 0.875rem;
  color: oklch(0.86 0.03 255);
}
.quick-search a {
  color: var(--white);
}
.hero-bottom {
  display: flex;
  gap: 30px;
  margin-top: auto;
  padding-top: 34px;
  font-size: 0.95rem;
}
.hero-bottom a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.reading-rail {
  background: var(--white);
  border-radius: 12px;
  padding: 22px 25px;
}
.rail-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-weight: 700;
  padding-bottom: 6px;
}
.rail-title a {
  font-weight: 400;
  font-size: 0.875rem;
}
.reading-rail article {
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}
.reading-rail article:last-child {
  border: 0;
  padding-bottom: 0;
}
.rail-category {
  color: var(--cyan);
  font-size: 0.8125rem;
}
.reading-rail h2 {
  font-size: 1.0625rem;
  margin-block: 3px 5px;
}
.reading-rail h2 button {
  border: 0;
  padding: 0;
  color: var(--ink);
  background: none;
  font-weight: 650;
  text-align: left;
}
.reading-rail h2 button:hover {
  color: var(--blue);
}
.reading-rail p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.text-button {
  border: 0;
  padding: 5px 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-size: 0.875rem;
}
.text-button:hover {
  text-decoration: underline;
}
.identity-strip {
  display: flex;
  gap: 30px;
  align-items: center;
  background: var(--white);
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  margin-top: 24px;
}
.identity-strip > div {
  margin-right: auto;
}
.identity-strip strong {
  display: block;
  font-size: 1.0625rem;
}
.tiny-label {
  font-size: 0.8125rem;
  color: var(--muted);
  display: block;
  margin-bottom: 3px;
}
.identity-strip > a {
  font-size: 0.875rem;
}
.section {
  padding-block: 45px 14px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.section-head h2 {
  font-size: 1.625rem;
  margin-bottom: 6px;
}
.section-head p {
  font-size: 0.95rem;
}
.section-head > a {
  white-space: nowrap;
  font-size: 0.95rem;
}
.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.category-tabs a {
  padding: 6px 18px;
  border-radius: 5px;
  color: var(--muted);
  font-size: 0.95rem;
}
.category-tabs a.active,
.category-tabs a:hover {
  background: var(--blue-soft);
  color: var(--blue);
  text-decoration: none;
}
.home-jobs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.home-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.home-reading {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.agency-band {
  background: var(--blue-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px;
  gap: 30px;
  margin-top: 42px;
}
.agency-band h2 {
  margin-block: 10px;
}
.agency-band p {
  max-width: 36em;
  color: var(--muted);
}
.agency-band > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
.tag {
  display: inline-flex;
  align-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 500;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.page {
  padding-block: 30px 60px;
  min-height: 55vh;
}
.page-head {
  margin-bottom: 30px;
}
.page-head h1 {
  margin-block: 8px 12px;
}
.page-head > p {
  color: var(--muted);
  max-width: 65ch;
}
.kicker {
  color: var(--cyan);
  font-size: 0.95rem;
}
.breadcrumb {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
}
input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  min-height: 44px;
  padding: 10px 12px;
  max-width: 100%;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%234c6075' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  accent-color: var(--blue);
}
.stack-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}
.form-help,
.note {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
}
.note {
  margin-top: 22px;
}
.empty {
  text-align: center;
  padding: 55px 20px;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: 8px;
}
.empty h2 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
.empty p {
  color: var(--muted);
  max-width: 40em;
  margin: 0 auto 23px;
}
.center-action {
  text-align: center;
  margin-top: 20px;
}
.grid {
  display: grid;
  gap: 20px;
}
.account-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.account-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 28px;
}
.account-nav {
  display: flex;
  flex-direction: column;
  align-self: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}
.account-nav a {
  padding: 12px 15px;
  border-radius: 5px;
  color: var(--ink);
}
.account-nav [aria-current] {
  color: var(--blue);
  background: var(--blue-soft);
}
.account-content {
  min-width: 0;
}
.account-content > h2 {
  margin-bottom: 24px;
}
.record-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  background: var(--white);
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.record-row > div:last-child {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 9px;
  flex-shrink: 0;
}
.record-row h3 {
  margin-bottom: 7px;
}
.record-row p,
.record-row small {
  color: var(--muted);
  font-size: 0.875rem;
}
.record-row p {
  max-width: 40em;
}
.work-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.work-shortcuts a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
  color: var(--ink);
}
.work-shortcuts span {
  font-size: 0.875rem;
  display: block;
  color: var(--muted);
  margin-bottom: 12px;
}
.work-shortcuts strong {
  font-size: 1.125rem;
}
.next-step {
  margin-top: 28px;
}
.next-step h2,
.next-step h3 {
  margin-bottom: 12px;
}
.next-step p {
  max-width: 60em;
  margin-bottom: 20px;
}
.prose {
  max-width: 70ch;
  margin-inline: auto;
}
.prose h2 {
  font-size: 1.375rem;
  margin-block: 32px 12px;
}
.prose p {
  margin-block: 15px;
  line-height: 1.95;
}
.prose > .button {
  margin-top: 20px;
}
.disclosure dl,
.order-detail dl {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 18px 25px;
  margin: 0 0 25px;
}
.disclosure dt,
.order-detail dt {
  color: var(--muted);
}
.disclosure dd,
.order-detail dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.order-detail h2 {
  margin-bottom: 28px;
}
.preserve-lines {
  white-space: pre-wrap;
}
.rule-search {
  max-width: 620px;
  margin-block: 0 32px;
}
.rule-search label {
  display: block;
  margin-bottom: 10px;
}
.rule-search > div {
  display: flex;
  gap: 10px;
}
.rule-search input {
  flex: 1;
  min-width: 0;
}
.rule-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.rule-list > a {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.rule-list > a:last-child {
  border: 0;
}
.rule-list > a:hover {
  background: var(--blue-soft);
  text-decoration: none;
}
.rule-list h2 {
  font-size: 1.125rem;
  margin-bottom: 6px;
}
.rule-list p,
.rule-list span {
  font-size: 0.875rem;
  color: var(--muted);
}
.rule-list span {
  white-space: nowrap;
}
.quote-note {
  background: var(--blue-soft);
  padding: 18px;
  border-radius: 6px;
}
.quote-note p {
  font-size: 0.875rem;
  margin-top: 6px;
  color: var(--muted);
}
footer {
  margin-top: 55px;
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 55px;
  padding-block: 40px;
}
.footer-grid strong {
  font-size: 1.0625rem;
  color: var(--ink);
}
.footer-grid p {
  margin-top: 12px;
  max-width: 34em;
}
.footer-grid h3 {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 14px;
}
.footer-grid a,
.footer-grid button {
  display: block;
  color: var(--muted);
  margin-top: 9px;
  font-size: 0.875rem;
  text-align: left;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 19px;
  display: flex;
  gap: 25px;
  justify-content: space-between;
  font-size: 0.8125rem;
}
dialog {
  border: 0;
  padding: 0;
  border-radius: 12px;
  width: min(540px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  color: var(--ink);
  background: var(--white);
  z-index: var(--z-modal);
  overflow: auto;
}
dialog::backdrop {
  background: oklch(0.17 0.04 255 / 0.55);
}
.dialog-body {
  padding: 38px 32px 30px;
}
.dialog-close {
  position: absolute;
  right: 18px;
  top: 12px;
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 6px;
  font-size: 0.875rem;
}
.dialog-body h2 {
  font-size: 1.5rem;
  margin-block: 10px 14px;
  padding-right: 25px;
}
.dialog-body > p {
  margin-block: 8px;
}
.code-field {
  display: flex;
  gap: 10px;
}
.code-field input {
  width: 0;
  flex: 1;
  min-width: 0;
}
.code-field .button {
  padding-inline: 13px;
  white-space: nowrap;
  font-size: 0.875rem;
}
.login-intro p {
  font-size: 0.95rem;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 15px);
  max-width: min(650px, calc(100% - 32px));
  background: var(--blue-dark);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 8px;
  z-index: var(--z-toast);
  font-size: 0.95rem;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 1050px) {
  .container {
    width: calc(100% - 40px);
  }
  .navigation {
    gap: 25px;
  }
  .hero-main {
    padding: 35px 28px 25px;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
  .hero-search {
    flex-wrap: wrap;
  }
  .hero-search input {
    width: 130px;
  }
  .hero-search .button {
    padding-inline: 18px;
  }
  .header-actions {
    gap: 18px;
  }
  .brand strong {
    font-size: 1.125rem;
  }
  .home-services,
  .home-reading {
    gap: 16px;
  }
  .identity-strip {
    gap: 20px;
  }
  .identity-strip strong {
    font-size: 1rem;
  }
}
@media (max-width: 700px) {
  .container {
    width: calc(100% - 32px);
  }
  .topline > .container {
    padding-block: 6px;
    font-size: 0.75rem;
  }
  .topline .container > div {
    gap: 13px;
  }
  .header-inner {
    padding-block: 18px;
    gap: 12px;
    align-items: flex-start;
  }
  .brand {
    gap: 10px;
    align-items: flex-start;
    max-width: calc(100% - 80px);
  }
  .brand-symbol {
    width: 39px;
    height: 39px;
    font-size: 0.875rem;
  }
  .brand strong {
    font-size: 1rem;
    line-height: 1.5;
  }
  .brand small {
    font-size: 0.75rem;
  }
  .header-join {
    display: none;
  }
  .header-actions .button {
    font-size: 0.8125rem;
    min-height: 38px;
    padding: 6px 10px;
    max-width: 90px;
  }
  .navigation {
    gap: 25px;
    font-size: 0.875rem;
    min-height: 49px;
  }
  .navigation a {
    padding-block: 13px;
  }
  .navigation .nav-publish {
    margin-left: 0;
  }
  .hero {
    padding-block: 18px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-main {
    padding: 28px 22px 24px;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero-company {
    font-size: 0.8125rem;
    margin-bottom: 17px;
  }
  .hero-desc {
    font-size: 1rem;
    line-height: 1.8;
    margin-block: 15px 22px;
  }
  .hero-search {
    flex-wrap: nowrap;
  }
  .hero-search select {
    max-width: 82px;
    padding-left: 4px;
    padding-right: 22px;
    background-position: right 2px center;
    font-size: 0.8125rem;
  }
  .hero-search input {
    width: 100px;
    font-size: 0.875rem;
    padding-inline: 5px;
  }
  .hero-search .button {
    padding-inline: 15px;
    font-size: 0.875rem;
  }
  .hero-bottom {
    gap: 24px;
    padding-top: 28px;
    font-size: 0.875rem;
  }
  .quick-search {
    gap: 14px;
    font-size: 0.8125rem;
  }
  .reading-rail {
    padding: 20px;
  }
  .reading-rail article {
    padding-block: 15px;
  }
  .reading-rail h2 {
    font-size: 1.0625rem;
  }
  .identity-strip {
    flex-wrap: wrap;
    padding: 18px;
    gap: 12px 22px;
  }
  .identity-strip > div {
    flex-basis: 100%;
  }
  .identity-strip > a {
    font-size: 0.8125rem;
  }
  .section {
    padding-block: 32px 6px;
  }
  .section-head {
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
  }
  .section-head h2 {
    font-size: 1.375rem;
  }
  .section-head p {
    font-size: 0.875rem;
  }
  .section-head > a {
    font-size: 0.8125rem;
    padding-top: 6px;
  }
  .home-jobs,
  .home-services,
  .home-reading {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .category-tabs {
    gap: 4px;
  }
  .category-tabs a {
    font-size: 0.8125rem;
    padding: 6px 10px;
  }
  .agency-band {
    padding: 25px 22px;
    display: block;
    margin-top: 30px;
  }
  .agency-band > div:last-child {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 22px;
  }
  .agency-band h2 {
    font-size: 1.375rem;
  }
  .agency-band p {
    font-size: 0.9375rem;
  }
  .agency-band .button {
    font-size: 0.875rem;
    padding-inline: 16px;
  }
  .page {
    padding-block: 25px 40px;
  }
  .page-head {
    margin-bottom: 23px;
  }
  .page-head h1 {
    font-size: 1.625rem;
  }
  .page-head > p {
    font-size: 0.9375rem;
  }
  .account-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .account-nav {
    flex-direction: row;
    overflow: auto;
    white-space: nowrap;
    padding: 4px;
  }
  .account-nav a {
    padding: 10px 13px;
    font-size: 0.875rem;
  }
  .account-heading {
    align-items: flex-start;
  }
  .account-heading .button {
    font-size: 0.8125rem;
    padding-inline: 12px;
    white-space: nowrap;
  }
  .work-shortcuts {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .work-shortcuts a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px;
  }
  .work-shortcuts span {
    margin: 0;
  }
  .work-shortcuts strong {
    font-size: 1rem;
  }
  .record-row {
    padding: 20px 15px;
    gap: 14px;
    flex-wrap: wrap;
  }
  .record-row > div:last-child {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  .record-row h3 {
    font-size: 1.0625rem;
  }
  .panel {
    padding: 22px 18px;
  }
  .disclosure dl,
  .order-detail dl {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .disclosure dt,
  .order-detail dt {
    font-size: 0.875rem;
    margin-top: 12px;
  }
  .rule-list > a {
    display: block;
    padding: 20px;
  }
  .rule-list span {
    display: block;
    margin-top: 12px;
  }
  .rule-search .button {
    padding-inline: 18px;
  }
  .prose h2 {
    font-size: 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding-block: 32px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-grid p {
    font-size: 0.875rem;
  }
  .footer-bottom {
    display: block;
    font-size: 0.75rem;
  }
  .footer-bottom > span {
    display: block;
    margin-top: 5px;
  }
  .dialog-body {
    padding: 36px 23px 25px;
  }
  .dialog-body h2 {
    font-size: 1.375rem;
  }
  .button {
    padding-inline: 20px;
  }
  footer {
    margin-top: 35px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.reading-library,
.reading-article-page {
  padding-top: 30px;
}

@media (max-width: 700px) {
  .brand strong span {
    display: block;
  }
  .header-actions .button {
    white-space: nowrap;
    max-width: none;
    font-size: 0.75rem;
    padding-inline: 9px;
  }
  .brand {
    max-width: calc(100% - 90px);
  }
}

/* Route focus keeps keyboard navigation without framing the full page. */
#main:focus {
  outline: none;
}
