:root {
  --aqua-blue: #147ce5;
  --aqua-blue-dark: #0753a4;
  --aqua-blue-light: #9cddff;
  --aqua-selection: #1f79d7;
  --aqua-selection-dark: #0a51a4;
  --desktop-top: #2f70b8;
  --desktop-bottom: #164c91;
  --window-bg: #f4f4f4;
  --window-line: #737b84;
  --window-highlight: #fff;
  --text: #111;
  --muted: #60666d;
  --pane-line: #b6bbc0;
  --pinstripe: rgba(65, 72, 78, 0.13);
  --focus-ring: #63a9ef;
  --radius-window: 10px;
  --menu-height: 28px;
  --dock-height: 64px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --font-ui: var(--gh-font-heading, "Lucida Grande", "Lucida Sans Unicode", "Helvetica Neue", Arial, sans-serif);
  --font-reading: var(--gh-font-body, Georgia, "Times New Roman", serif);
}

[hidden] {
  display: none !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--desktop-bottom);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 70% 8%, rgba(255, 255, 255, 0.14), transparent 30%),
    linear-gradient(145deg, transparent 0 36%, rgba(255, 255, 255, 0.06) 36.2% 61%, transparent 61.2%),
    linear-gradient(160deg, var(--desktop-top), var(--desktop-bottom));
  background-attachment: fixed;
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.45;
}

body.is-graphite {
  --aqua-blue: #7b8792;
  --aqua-blue-dark: #46515c;
  --aqua-blue-light: #d4dbe1;
  --aqua-selection: #788895;
  --aqua-selection-dark: #4d5a65;
  --desktop-top: #67727c;
  --desktop-bottom: #333c45;
  --focus-ring: #9ba7b1;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.a-visually-hidden {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.a-skip-link {
  position: fixed;
  z-index: 1000;
  top: 36px;
  left: 12px;
  padding: 8px 12px;
  border: 1px solid #000;
  background: #fff;
  transform: translateY(-200%);
}

.a-skip-link:focus {
  transform: translateY(0);
}

.a-menu-bar {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: var(--menu-height);
  align-items: center;
  gap: 18px;
  padding: 0 14px;
  border-bottom: 1px solid #535a61;
  background:
    repeating-linear-gradient(0deg, rgba(70, 70, 70, 0.08) 0 1px, transparent 1px 3px),
    linear-gradient(#fff, #e7e7e7 55%, #c9c9c9);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.38);
  font-size: 13px;
  white-space: nowrap;
}

.a-menu-bar__brand,
.a-menu-bar__actions,
.a-menu-bar__nav {
  display: flex;
  align-items: center;
}

.a-menu-bar__brand {
  gap: 7px;
}

.a-menu-bar__brand img,
.a-menu-bar__orb {
  width: 16px;
  height: 16px;
}

.a-menu-bar__brand img {
  border-radius: 4px;
}

.a-menu-bar__orb {
  border: 1px solid #0751a0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 24%, #fff 0 6%, transparent 22%),
    linear-gradient(#83d5ff 0 45%, #0870cf 48% 100%);
  box-shadow: inset 0 -2px 3px rgba(0, 38, 94, 0.55), 0 1px #fff;
}

.a-menu-bar__nav {
  overflow-x: auto;
  min-width: 0;
  flex: 1;
  scrollbar-width: none;
}

.a-menu-bar__nav .nav {
  display: flex;
  overflow: visible;
  width: max-content;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.a-menu-bar__nav::-webkit-scrollbar {
  display: none;
}

.a-menu-bar__nav a,
.a-menu-bar__actions a,
.a-menu-bar__actions button {
  display: block;
  padding: 4px 7px;
  border: 0;
  border-radius: 3px;
  background: transparent;
}

.a-menu-bar__nav a:hover,
.a-menu-bar__actions a:hover,
.a-menu-bar__actions button:hover {
  color: #fff;
  background: var(--aqua-selection);
}

.a-menu-bar__actions {
  gap: 3px;
  margin-left: auto;
}

.a-menu-bar__actions button {
  cursor: pointer;
}

.a-menu-bar__actions svg {
  width: 15px;
  height: 15px;
}

.a-desktop {
  min-height: 100vh;
  padding: calc(var(--menu-height) + 34px) clamp(16px, 4vw, 68px) calc(var(--dock-height) + 42px);
}

.a-window {
  overflow: hidden;
  width: min(1440px, 100%);
  margin: 0 auto;
  border: 1px solid #333a42;
  border-radius: var(--radius-window);
  background: var(--window-bg);
  box-shadow:
    0 30px 70px rgba(0, 18, 52, 0.48),
    0 4px 14px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.a-title-bar {
  position: relative;
  display: grid;
  height: 30px;
  align-items: center;
  grid-template-columns: 120px 1fr 120px;
  padding: 0 9px;
  border-bottom: 1px solid #7c8389;
  border-radius: 9px 9px 0 0;
  background:
    repeating-linear-gradient(0deg, rgba(33, 39, 43, 0.11) 0 1px, transparent 1px 3px),
    linear-gradient(#f8f8f8, #c8ccd0 53%, #aeb3b8 54%, #e9e9e9);
  box-shadow: inset 0 1px #fff, inset 0 -1px rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px #fff;
}

.a-title-bar__title {
  overflow: hidden;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.a-traffic-lights {
  display: flex;
  gap: 7px;
  pointer-events: none;
}

.a-traffic-lights i {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.8),
    inset 0 -2px 2px rgba(0, 0, 0, 0.25),
    0 1px rgba(255, 255, 255, 0.8);
}

.a-traffic-lights .is-close {
  background: radial-gradient(circle at 36% 25%, #fff 0 5%, transparent 20%), linear-gradient(#ff9a77, #e13b2d 62%, #b51e18);
}

.a-traffic-lights .is-minimize {
  background: radial-gradient(circle at 36% 25%, #fff 0 5%, transparent 20%), linear-gradient(#ffe97f, #e8ad14 62%, #b97900);
}

.a-traffic-lights .is-zoom {
  background: radial-gradient(circle at 36% 25%, #fff 0 5%, transparent 20%), linear-gradient(#b9f18e, #62bd3f 62%, #328719);
}

.a-title-bar__control {
  width: 1px;
  height: 1px;
}

.a-toolbar {
  display: flex;
  overflow-x: auto;
  min-height: 72px;
  align-items: stretch;
  gap: 3px;
  padding: 5px 10px 6px;
  border-bottom: 1px solid #868d93;
  background:
    repeating-linear-gradient(0deg, rgba(55, 60, 65, 0.09) 0 1px, transparent 1px 3px),
    #e8e9e9;
  box-shadow: inset 0 1px #fff, inset 0 -1px rgba(255, 255, 255, 0.75);
}

.a-toolbar__item {
  display: flex;
  min-width: 64px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 3px 8px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  transition: transform 140ms var(--ease-out), background-color 140ms ease;
  touch-action: manipulation;
}

.a-toolbar__item.is-text-size {
  width: 68px;
  min-width: 68px;
}

.a-toolbar__item svg {
  width: 30px;
  height: 30px;
  padding: 4px;
  border: 1px solid #8b939a;
  border-radius: 5px;
  color: #174f87;
  background:
    radial-gradient(circle at 35% 20%, #fff, transparent 30%),
    linear-gradient(#fefefe, #cbd4dc);
  box-shadow: inset 0 1px #fff, 0 1px 2px rgba(0, 0, 0, 0.25);
}

.a-toolbar__item:hover,
.a-toolbar__item.is-current {
  border-color: #a5aaaf;
  background: rgba(255, 255, 255, 0.52);
}

.a-toolbar__item:active {
  transform: scale(0.97);
}

.a-toolbar__item:active svg {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.a-finder__columns {
  display: grid;
  min-height: clamp(500px, 65vh, 760px);
  grid-template-columns: 230px minmax(340px, 1fr) minmax(300px, 0.82fr);
  background: #fff;
}

.a-finder__sidebar,
.a-finder__list {
  border-right: 1px solid var(--pane-line);
}

.a-finder__sidebar {
  padding: 8px;
  background:
    repeating-linear-gradient(0deg, rgba(40, 50, 60, 0.035) 0 1px, transparent 1px 3px),
    #e7eaed;
}

.a-pane-label {
  margin: 5px 9px 6px;
  color: #5e6770;
  font-size: 11px;
  text-transform: uppercase;
}

.a-sidebar-row {
  display: grid;
  min-height: 31px;
  align-items: center;
  gap: 7px;
  grid-template-columns: 20px 1fr auto;
  padding: 4px 8px;
  border-radius: 5px;
}

.a-sidebar-row:hover {
  background: rgba(255, 255, 255, 0.58);
}

.a-sidebar-row.is-selected {
  color: #fff;
  background: linear-gradient(var(--aqua-selection), var(--aqua-selection-dark));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.35);
  text-shadow: 0 -1px rgba(0, 0, 0, 0.45);
}

.a-sidebar-row svg {
  width: 20px;
  height: 20px;
  color: #2477bd;
  fill: #9fd7ff;
}

.a-sidebar-row.is-selected svg {
  color: #fff;
  fill: #d9efff;
}

.a-sidebar-row small {
  min-width: 20px;
  text-align: right;
}

.a-finder__list {
  min-width: 0;
}

.a-list-heading {
  display: grid;
  height: 24px;
  align-items: center;
  grid-template-columns: 1fr 74px;
  padding: 0 10px 0 39px;
  border-bottom: 1px solid #aeb4ba;
  color: #4d5359;
  background: linear-gradient(#fff, #dadddf);
  font-size: 10px;
}

.a-story-list {
  padding: 4px 0;
}

.a-story-row {
  display: grid;
  min-height: 31px;
  align-items: center;
  grid-template-columns: 24px minmax(0, 1fr) 74px;
  gap: 6px;
  padding: 4px 10px;
  border-bottom: 1px solid #f0f0f0;
}

.a-story-row:nth-child(even) {
  background: #f7f8f9;
}

.a-story-row:hover,
.a-story-row:focus,
.a-story-row.is-selected {
  color: #fff;
  background: linear-gradient(var(--aqua-selection), var(--aqua-selection-dark));
  text-shadow: 0 -1px rgba(0, 0, 0, 0.4);
}

.a-story-row__icon svg {
  width: 19px;
  height: 19px;
  color: #3979ad;
  fill: #fdfdfd;
}

.a-story-row:hover svg,
.a-story-row:focus svg,
.a-story-row.is-selected svg {
  color: #fff;
}

.a-story-row__title {
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.a-story-row time {
  font-size: 10px;
  text-align: right;
}

.a-finder__preview {
  min-width: 0;
  padding: 18px;
  background:
    repeating-linear-gradient(0deg, rgba(75, 75, 75, 0.025) 0 1px, transparent 1px 3px),
    #f8f8f8;
}

.a-preview__image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 1px solid #7f858a;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  object-position: center;
}

.a-preview__placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 1px solid #7f858a;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  place-items: center;
}

.a-preview__placeholder svg {
  width: 90px;
  color: #7a8791;
  fill: #fff;
}

.a-preview__body {
  padding: 18px 4px 0;
}

.a-preview__kind,
.a-archive-header p {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.a-preview__body h2 {
  margin: 3px 0 8px;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.15;
}

.a-preview__body p {
  margin: 0 0 16px;
  color: #4b5055;
}

.a-preview__meta,
.a-inspector dl {
  margin: 0 0 18px;
  font-size: 11px;
}

.a-preview__meta div,
.a-inspector dl div {
  display: grid;
  grid-template-columns: 78px 1fr;
  padding: 4px 0;
  border-top: 1px solid #d8dadd;
}

.a-preview__meta dt,
.a-inspector dt {
  font-weight: 600;
}

.a-preview__meta dd,
.a-inspector dd {
  margin: 0;
}

.a-gel-button {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 4px 18px;
  border: 1px solid #0753a0;
  border-radius: 16px;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.78) 0 9%, rgba(255, 255, 255, 0.2) 10% 48%, transparent 49%),
    linear-gradient(#65caff, #0878db 52%, #0755ac 53%, #2e9eef);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.9),
    inset 0 -2px 3px rgba(0, 31, 83, 0.45),
    0 1px 2px rgba(0, 0, 0, 0.35);
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 -1px rgba(0, 0, 0, 0.55);
  transition: transform 140ms var(--ease-out), filter 140ms ease;
  touch-action: manipulation;
}

.a-gel-button:hover {
  filter: brightness(1.08);
}

.a-gel-button:active {
  transform: scale(0.97);
}

.a-status-bar {
  display: flex;
  height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 8px 0 12px;
  border-top: 1px solid #91989f;
  background:
    repeating-linear-gradient(0deg, rgba(55, 60, 65, 0.1) 0 1px, transparent 1px 3px),
    linear-gradient(#efefef, #c9cdd0);
  color: #4f555a;
  font-size: 10px;
}

.a-dock {
  position: fixed;
  z-index: 90;
  right: 50%;
  bottom: 10px;
  display: flex;
  height: var(--dock-height);
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(38, 45, 51, 0.8);
  border-radius: 16px 16px 6px 6px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(210, 217, 224, 0.72)),
    rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px #fff,
    0 10px 25px rgba(0, 0, 0, 0.45);
  transform: translateX(50%);
  backdrop-filter: blur(12px);
}

.a-dock a,
.a-dock button {
  position: relative;
  display: grid;
  width: 54px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.a-dock__icon {
  display: grid;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 0, 0, 0.45);
  border-radius: 12px;
  color: #fff;
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.9), transparent 25%),
    linear-gradient(#68cfff 0 48%, #0874cd 51% 100%);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.9),
    inset 0 -4px 8px rgba(0, 29, 78, 0.45),
    0 3px 6px rgba(0, 0, 0, 0.35);
  transform-origin: center bottom;
  transition: transform 200ms var(--ease-out);
  will-change: transform;
  place-items: center;
}

.a-dock__icon svg {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 1px rgba(0, 0, 0, 0.4));
}

.a-dock a[aria-current="page"] .a-dock__icon {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.a-dock a[aria-current="page"] .a-dock__label {
  font-weight: 700;
}

.a-dock__icon.is-search {
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.9), transparent 25%),
    linear-gradient(#5c6975, #152331);
}

.a-dock__icon.is-archive {
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.9), transparent 25%),
    linear-gradient(#d7b077, #85561f);
}

.a-dock__icon.is-mail,
.a-dock__icon.is-account {
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.9), transparent 25%),
    linear-gradient(#e7f5ff, #638bb3);
  color: #204d7d;
}

.a-dock__label {
  position: absolute;
  bottom: calc(100% + 16px);
  display: block;
  padding: 3px 7px;
  border: 1px solid #1e2327;
  border-radius: 4px;
  color: #fff;
  background: rgba(20, 24, 28, 0.9);
  font-size: 10px;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px) scale(0.98);
  transform-origin: center bottom;
  transition: opacity 140ms ease, transform 180ms var(--ease-out), visibility 0s linear 180ms;
  visibility: hidden;
  white-space: nowrap;
}

.a-dock a:hover .a-dock__label,
.a-dock button:hover .a-dock__label,
.a-dock a:focus-visible .a-dock__label,
.a-dock button:focus-visible .a-dock__label {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
  visibility: visible;
}

.a-dock a:active .a-dock__icon,
.a-dock button:active .a-dock__icon {
  transform: scale(0.95);
}

.a-dock__separator {
  width: 1px;
  height: 48px;
  margin: 0 3px;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 1px 0 rgba(255, 255, 255, 0.8);
}

.a-archive-window {
  background:
    repeating-linear-gradient(0deg, rgba(55, 60, 65, 0.035) 0 1px, transparent 1px 3px),
    #f3f3f3;
}

.a-archive-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid #b5bbc0;
  background: rgba(255, 255, 255, 0.68);
}

.a-archive-header__icon {
  display: grid;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  color: #1b68aa;
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.25));
  place-items: center;
}

.a-archive-header__icon svg {
  width: 72px;
  height: 72px;
  fill: #9bd5ff;
}

.a-author-icon {
  overflow: hidden;
  border: 1px solid #818990;
  border-radius: 8px;
  background: #fff;
}

.a-author-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.a-archive-header p {
  margin: 0 0 3px;
}

.a-archive-header h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1;
}

.a-archive-header div > div {
  max-width: 680px;
  margin-top: 8px;
  color: var(--muted);
}

.a-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 18px;
  padding: clamp(24px, 4vw, 52px);
}

.a-story-card {
  min-width: 0;
  text-align: center;
}

.a-story-card__media {
  position: relative;
  display: grid;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid #7f878d;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.22);
  place-items: center;
}

.a-story-card__media:hover {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.a-story-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.a-story-card__media span {
  position: absolute;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.a-story-card__media span svg {
  width: 76px;
  color: #7a8791;
  fill: #fff;
}

.a-story-card__body {
  padding: 10px 5px 0;
}

.a-story-card h2 {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
}

.a-story-card h2 a:hover {
  color: var(--aqua-blue-dark);
  text-decoration: underline;
}

.a-story-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 6px 0;
  color: var(--muted);
  font-size: 11px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.a-story-card time {
  color: #777d82;
  font-size: 10px;
}

.a-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  border-top: 1px solid var(--pane-line);
  background: rgba(255, 255, 255, 0.65);
  font-size: 11px;
}

.a-document-window {
  overflow: visible;
  background:
    repeating-linear-gradient(0deg, rgba(50, 55, 60, 0.045) 0 1px, transparent 1px 3px),
    #e9eaeb;
}

.a-document-window > .a-title-bar {
  position: sticky;
  z-index: 20;
  top: var(--menu-height);
}

.a-document-toolbar {
  position: sticky;
  z-index: 19;
  top: calc(var(--menu-height) + 30px);
}

.a-document-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  border-bottom: 1px solid #858c92;
}

.a-document {
  width: min(860px, calc(100% - 48px));
  margin: 28px auto;
  padding: clamp(28px, 6vw, 76px);
  border: 1px solid #8e9499;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.a-document-layout .a-document {
  margin-right: 28px;
  margin-left: 28px;
  justify-self: center;
}

.a-document__header {
  margin-bottom: 34px;
  text-align: center;
}

.a-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 2px 9px;
  border: 1px solid #0865bd;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(#58b8f7, #0968c0);
  font-size: 10px;
  text-shadow: 0 -1px rgba(0, 0, 0, 0.4);
}

.a-document__header h1 {
  margin: 0;
  font-family: var(--font-reading);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.a-document__dek {
  max-width: 640px;
  margin: 20px auto 0;
  color: #555b60;
  font-family: var(--font-reading);
  font-size: 20px;
  line-height: 1.45;
}

.a-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 11px;
}

.a-byline img {
  width: 26px;
  height: 26px;
  border: 1px solid #8e9499;
  border-radius: 50%;
  object-fit: cover;
}

.a-byline a {
  color: var(--aqua-blue-dark);
  text-decoration: underline;
}

.a-document__feature {
  max-width: 100%;
  margin: 0 0 38px;
}

.a-document__feature img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid #888f94;
  object-fit: contain;
}

.a-document__feature figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
}

.gh-content {
  font-family: var(--font-reading);
  font-size: 18px;
  line-height: 1.72;
}

.gh-content.is-reading-small {
  font-size: 16px;
}

.gh-content.is-reading-medium {
  font-size: 18px;
}

.gh-content.is-reading-large {
  font-size: 21px;
}

.gh-content > * {
  margin-top: 0;
  margin-bottom: 1.45em;
}

.gh-content h2,
.gh-content h3,
.gh-content h4 {
  margin-top: 1.8em;
  margin-bottom: 0.65em;
  line-height: 1.15;
}

.gh-content a {
  color: #075cb2;
  text-decoration: underline;
}

.gh-content img,
.gh-content video,
.gh-content iframe {
  max-width: 100%;
}

.gh-content video,
.gh-content .kg-video-card video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.gh-content iframe[src*="youtube.com"],
.gh-content iframe[src*="youtube-nocookie.com"],
.gh-content iframe[src*="youtu.be"],
.gh-content iframe[src*="vimeo.com"] {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.gh-content blockquote {
  margin-right: 0;
  margin-left: 0;
  padding-left: 22px;
  border-left: 5px solid var(--aqua-blue);
  color: #4f555a;
  font-size: 1.15em;
  font-style: italic;
}

.gh-content pre {
  overflow-x: auto;
  padding: 16px;
  border: 1px solid #8f979d;
  background:
    repeating-linear-gradient(0deg, rgba(30, 35, 40, 0.05) 0 1px, transparent 1px 3px),
    #eef0f2;
  font-size: 13px;
}

.gh-content hr {
  height: 1px;
  border: 0;
  background: #b7bcc0;
}

.gh-content .kg-width-wide {
  width: min(1100px, calc(100vw - 120px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.gh-content .kg-width-full {
  width: min(1300px, calc(100vw - 80px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.gh-content .kg-gallery-card,
.gh-content .kg-gallery-card.kg-width-wide,
.gh-content .kg-gallery-card.kg-width-full,
.gh-content .kg-image-card.kg-width-wide,
.gh-content .kg-image-card.kg-width-full,
.gh-content .kg-gallery-container {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  transform: none;
}

.a-document__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid #c7cbce;
  color: var(--muted);
  font-size: 11px;
}

.a-document__tags a {
  padding: 2px 7px;
  border-radius: 8px;
  color: #fff;
  background: var(--aqua-selection);
}

.a-post-navigation {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #c7cbce;
}

.a-post-navigation a {
  min-width: 0;
  padding: 12px;
  border: 1px solid #b7bdc2;
  border-radius: 6px;
  background: #f3f5f6;
  transition: transform 140ms var(--ease-out), border-color 140ms ease, background-color 140ms ease;
}

.a-post-navigation a:hover {
  border-color: var(--aqua-blue);
  background: #fff;
}

.a-post-navigation a:active {
  transform: scale(0.98);
}

.a-post-navigation span,
.a-post-navigation strong {
  display: block;
}

.a-post-navigation span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.a-post-navigation strong {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.a-inspector {
  padding: 18px;
  border-left: 1px solid #a0a7ad;
  background:
    repeating-linear-gradient(0deg, rgba(55, 60, 65, 0.07) 0 1px, transparent 1px 3px),
    #dfe2e4;
}

.a-inspector h2 {
  margin: 0 0 14px;
  font-size: 12px;
  text-align: center;
}

.a-inspector__preview {
  display: grid;
  overflow: hidden;
  width: 100%;
  min-height: 160px;
  margin-bottom: 16px;
  border: 1px solid #7d858b;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  place-items: center;
}

.a-inspector__preview img {
  width: 100%;
  height: auto;
}

.a-inspector__preview svg {
  width: 74px;
  color: #75828c;
  fill: #fff;
}

.a-comments {
  padding: clamp(24px, 5vw, 64px);
  border-top: 1px solid #8b9298;
  background: #fff;
}

.a-comments > h2 {
  max-width: 860px;
  margin: 0 auto 24px;
}

.a-dialog {
  width: min(480px, 100%);
  margin-top: 12vh;
}

.a-dialog__body {
  display: grid;
  align-items: center;
  gap: 22px;
  grid-template-columns: 90px 1fr;
  padding: 30px;
  background: #f5f5f5;
}

.a-dialog__icon {
  color: #d39800;
}

.a-dialog__icon svg {
  width: 80px;
  fill: #ffe36a;
  stroke-width: 3;
}

.a-dialog h1 {
  margin: 0;
  font-size: 34px;
}

.a-empty-state {
  display: grid;
  min-height: 260px;
  align-content: center;
  justify-items: center;
  padding: 30px;
  color: var(--muted);
  text-align: center;
}

.a-empty-state > span svg {
  width: 76px;
  color: #2a75b6;
  fill: #a9dcff;
}

.a-empty-state h2 {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .a-finder__columns {
    grid-template-columns: 210px minmax(340px, 1fr);
  }

  .a-finder__preview {
    display: none;
  }

  .a-icon-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .a-document-layout {
    grid-template-columns: 1fr;
  }

  .a-document-layout .a-document {
    margin-right: auto;
    margin-left: auto;
  }

  .a-inspector {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --dock-height: 70px;
  }

  body {
    background: var(--desktop-bottom);
  }

  .a-menu-bar {
    gap: 6px;
    padding: 0 8px;
  }

  .a-menu-bar__brand strong {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .a-menu-bar__nav {
    display: flex;
  }

  .a-menu-bar__actions time {
    display: none;
  }

  .a-desktop {
    padding: var(--menu-height) 0 var(--dock-height);
  }

  .a-window {
    min-height: calc(100vh - var(--menu-height) - var(--dock-height));
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .a-title-bar {
    border-radius: 0;
    grid-template-columns: 74px 1fr 74px;
  }

  .a-toolbar {
    min-height: 64px;
    padding-right: 5px;
    padding-left: 5px;
  }

  .a-toolbar__item {
    min-width: 58px;
  }

  .a-toolbar__item.is-text-size {
    width: 64px;
    min-width: 64px;
  }

  .a-toolbar__item svg {
    width: 27px;
    height: 27px;
  }

  .a-finder__columns {
    display: block;
    min-height: calc(100vh - var(--menu-height) - var(--dock-height) - 54px);
  }

  .a-finder__preview {
    display: none;
  }

  .a-finder__sidebar {
    display: flex;
    overflow-x: auto;
    align-items: center;
    gap: 6px;
    padding: 7px 8px;
    border-right: 0;
    border-bottom: 1px solid var(--pane-line);
    scrollbar-width: thin;
  }

  .a-pane-label {
    flex: 0 0 auto;
    margin: 0 2px 0 0;
  }

  .a-sidebar-row {
    min-height: 34px;
    flex: 0 0 auto;
    grid-template-columns: 18px auto auto;
    padding: 4px 9px;
    border: 1px solid #aeb4ba;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.65);
  }

  .a-sidebar-row svg {
    width: 18px;
    height: 18px;
  }

  .a-finder__list {
    border-right: 0;
  }

  .a-story-row {
    min-height: 42px;
  }

  .a-dock {
    right: 0;
    bottom: 0;
    left: 0;
    height: var(--dock-height);
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    transform: none;
  }

  .a-dock a,
  .a-dock button {
    width: 48px;
    gap: 2px;
  }

  .a-dock__icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .a-dock__icon svg {
    width: 22px;
    height: 22px;
  }

  .a-dock__label {
    position: static;
    display: block;
    color: #26313b;
    background: transparent;
    border: 0;
    padding: 0;
    font-size: 9px;
    line-height: 1;
    opacity: 1;
    transform: none;
    transition: none;
    visibility: visible;
  }

  .a-dock__separator {
    height: 47px;
    margin: 0 6px;
  }

  .a-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
    padding: 20px 14px;
  }

  .a-archive-header {
    padding: 20px;
  }

  .a-archive-header__icon {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .a-archive-header__icon svg {
    width: 56px;
    height: 56px;
  }

  .a-document-window > .a-title-bar {
    top: var(--menu-height);
  }

  .a-document-toolbar {
    top: calc(var(--menu-height) + 30px);
  }

  .a-document {
    width: calc(100% - 20px);
    margin: 10px auto;
    padding: 30px 22px;
  }

  .a-document-layout .a-document {
    margin: 10px auto;
  }

  .a-document__header h1 {
    font-size: clamp(36px, 13vw, 58px);
  }

  .a-document__dek {
    font-size: 18px;
  }

  .a-post-navigation {
    grid-template-columns: 1fr;
  }

  .gh-content {
    font-size: 17px;
  }

  .gh-content .kg-width-wide,
  .gh-content .kg-width-full {
    width: calc(100vw - 20px);
  }
}

@media (max-width: 430px) {
  .a-traffic-lights {
    gap: 5px;
  }

  .a-traffic-lights i {
    width: 12px;
    height: 12px;
  }

  .a-icon-grid {
    grid-template-columns: 1fr 1fr;
  }

  .a-story-card p {
    display: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .a-dock a:hover .a-dock__icon,
  .a-dock button:hover .a-dock__icon {
    transform: translateY(-7px) scale(1.12);
  }

  .a-dock a:hover:active .a-dock__icon,
  .a-dock button:hover:active .a-dock__icon {
    transform: translateY(-3px) scale(1.04);
    transition-duration: 80ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .a-dock__icon,
  .a-dock__label {
    transform: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .a-dock {
    background: #eef1f4;
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  .a-window,
  .a-toolbar__item svg,
  .a-story-card__media,
  .a-document {
    border-color: #111;
  }

  .a-menu-bar,
  .a-title-bar,
  .a-toolbar,
  .a-status-bar {
    background-image: none;
  }
}

@media print {
  body {
    background: #fff;
  }

  .a-menu-bar,
  .a-toolbar,
  .a-dock,
  .a-inspector,
  .a-title-bar,
  .a-status-bar {
    display: none !important;
  }

  .a-desktop {
    padding: 0;
  }

  .a-window,
  .a-document {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
