/* Support: the knowledge base at /support/ and its articles */

.help-main {
  padding-bottom: 112px;
}

/* The bar under the navigation on every article: the way back to Support, and search. */

.help-bar {
  border-bottom: 1px solid var(--hairline);
}

.help-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  min-height: 64px;
  padding-block: 10px;
}

.help-bar-title {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.011em;
  color: var(--text);
}

.help-bar-title:hover {
  text-decoration: none;
}

.help-bar-search {
  flex: 0 1 340px;
}

.search-input.compact {
  height: 38px;
  padding-left: 38px;
  border-radius: 10px;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.help-bar-search .search-field svg {
  left: 12px;
  width: 16px;
  height: 16px;
}

/* Index */

.help-hero {
  padding-block: 80px 48px;
  text-align: center;
}

.help-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.help-search-page {
  width: min(100%, 640px);
  margin: 34px auto 0;
}

.search-input.large {
  height: 58px;
  padding-left: 52px;
  border-radius: 14px;
  font-size: 19px;
  letter-spacing: -0.012em;
}

.help-search-page .search-field svg {
  left: 18px;
  width: 20px;
  height: 20px;
}

.help-popular {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  max-width: 640px;
  margin: 20px auto 0;
  font-size: 15px;
  color: var(--text-2);
}

.help-popular-title {
  font-size: inherit;
  font-weight: 400;
  color: inherit;
}

.help-popular-title::after {
  content: ":";
}

.help-popular ul {
  display: contents;
  list-style: none;
}

.help-results {
  padding-block: 8px 24px;
}

.results-title {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.009em;
}

.results-lead {
  margin-top: 10px;
  color: var(--text-2);
}

.results-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.results-list li {
  border-bottom: 1px solid var(--line);
}

.results-list a {
  display: block;
  padding: 18px 0;
  color: var(--text);
}

.results-list a:hover {
  text-decoration: none;
}

.results-list a:hover .result-title {
  color: var(--link);
}

.results-list .result-title {
  display: block;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color var(--dur-press) var(--ease-standard);
}

.results-list .result-summary {
  display: block;
  margin-top: 4px;
  color: var(--text-2);
}

.results-list .result-path {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-2);
}

/* Three columns: eight sections and Contact support fill three rows; with the ninth section Contact support takes a fourth row of its own, as one line. */
.help-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.help-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  min-height: 212px;
  padding: 26px 24px 22px;
  border-radius: 22px;
  background: var(--bg-alt);
  color: var(--text);
  transition: background-color var(--dur-press) var(--ease-standard), transform var(--dur-state) var(--ease-settle);
}

.help-tile:hover {
  text-decoration: none;
}

.help-tile:active {
  transform: scale(0.985);
}

.tile-emblem svg {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.tile-emblem .em {
  fill: transparent;
  transition: fill 0.2s var(--ease-standard), stroke 0.2s var(--ease-standard);
}

.tile-emblem .em-link {
  stroke-dasharray: 2 3;
  transition: stroke-dasharray 0.2s var(--ease-standard), stroke 0.2s var(--ease-standard);
}

/* The page's one gesture: a hairline emblem fills, as the app's menu bar icon fills when connected. */
.help-tile:hover .tile-emblem svg,
.help-tile:focus-visible .tile-emblem svg {
  stroke: var(--accent);
}

.help-tile:hover .em,
.help-tile:focus-visible .em {
  fill: var(--accent-soft);
  stroke: var(--accent);
}

.help-tile:hover .em-link,
.help-tile:focus-visible .em-link {
  stroke-dasharray: 2 0;
}

.tile-title {
  font-size: 19px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.012em;
}

.tile-text {
  font-size: 14px;
  line-height: 1.43;
  letter-spacing: -0.016em;
  color: var(--text-2);
}

.tile-count {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  color: var(--text-2);
}

.help-all {
  margin-top: 96px;
}

.help-all-title {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  letter-spacing: 0;
}

.help-category {
  padding-top: 44px;
}

.help-category h2,
.help-category h3 {
  font-size: 24px;
  line-height: 1.17;
  font-weight: 600;
  letter-spacing: 0.009em;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 44px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.article-list a {
  display: block;
  height: 100%;
  padding: 16px 0 18px;
  border-top: 1px solid var(--line);
  color: var(--text);
}

.article-list a:hover {
  text-decoration: none;
}

.article-list a:hover .al-title {
  color: var(--link);
}

.al-title {
  display: block;
  font-weight: 600;
  transition: color var(--dur-press) var(--ease-standard);
}

.al-summary {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text-2);
}

.help-contact {
  margin-top: 96px;
  padding: 52px 32px;
  border-radius: 24px;
  background: var(--bg-alt);
  text-align: center;
}

.help-contact h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
}

.help-contact p {
  max-width: 32em;
  margin: 12px auto 0;
  color: var(--text-2);
}

.help-contact .help-contact-actions {
  margin-top: 24px;
}

/* Articles */

.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 72px;
  padding-top: 48px;
}

.article-rail {
  position: sticky;
  top: 84px;
  align-self: start;
  font-size: 14px;
  letter-spacing: -0.016em;
}

.rail-title {
  margin-bottom: 10px;
  font-weight: 600;
}

.rail-title a {
  color: var(--text);
}

.rail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line);
}

.rail-all {
  margin-top: 14px;
}

.rail-list a {
  display: block;
  margin-left: -1px;
  padding: 7px 0 7px 14px;
  border-left: 2px solid transparent;
  color: var(--text-2);
  line-height: 1.35;
}

.rail-list a:hover {
  color: var(--text);
  text-decoration: none;
}

.rail-list a[aria-current="page"] {
  border-left-color: var(--accent);
  color: var(--text);
  font-weight: 600;
}

.article {
  max-width: var(--narrow);
  min-width: 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  letter-spacing: -0.016em;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--text-2);
}

.breadcrumb a {
  color: var(--text-2);
}

.article h1 {
  font-size: clamp(34px, 4.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.012em;
}

.lede {
  margin-top: 16px;
  font-size: clamp(19px, 2.1vw, 22px);
  line-height: 1.4;
  letter-spacing: 0.006em;
  color: var(--text-2);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--text-2);
}

.article-meta span + span::before {
  content: "·";
  margin-right: 16px;
}

.article-body {
  margin-top: 28px;
}

.article-body h2 {
  margin-top: 40px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.009em;
}

.article-body h3 {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
}

.article-body > :first-child {
  margin-top: 0;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body dl {
  margin-top: 14px;
  margin-bottom: 0;
}

.article-body .table-scroll:not(:first-child) {
  margin-top: 14px;
}

.article-body ul {
  padding-left: 1.25em;
}

.article-body li + li {
  margin-top: 8px;
}

.ui {
  font-weight: 600;
  color: var(--text);
}

.msg {
  color: var(--text);
}

.article-body ol.steps {
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.article-body ol.steps > li {
  position: relative;
  min-height: 32px;
  padding-left: 48px;
  counter-increment: step;
}

.article-body ol.steps > li + li {
  margin-top: 16px;
}

.article-body ol.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

.article-body ol.steps p {
  margin: 0;
}

.tip {
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--bg-alt);
  font-size: 15px;
  line-height: 1.47;
  color: var(--text-2);
}

.article-body .tip {
  margin-top: 24px;
}

.facts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}

.facts-table th,
.facts-table td {
  padding: 12px 16px 12px 0;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.facts-table tbody tr:last-child th,
.facts-table tbody tr:last-child td {
  border-bottom: 1px solid var(--line);
}

.facts-table th {
  font-weight: 600;
}

.facts-table tbody th {
  width: 32%;
}

.facts-table td {
  color: var(--text-2);
}

.table-scroll .facts-table:not(.results-table):has(tr > :nth-child(5)) tbody th {
  width: 18%;
}

@media (max-width: 734px) {
  .table-scroll table:has(tr > :nth-child(4)) {
    min-width: 40rem;
  }
}

.messages dt {
  margin-top: 22px;
  font-weight: 600;
}

.messages dt:first-child {
  margin-top: 0;
}

.messages dd {
  margin: 6px 0 0;
  color: var(--text-2);
}

.article-action {
  margin-bottom: 8px;
}

.related {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.related h2,
.still-help h2 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.012em;
}

.related ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.related li + li {
  margin-top: 8px;
}

.related a::after {
  content: "\00a0\203a";
}

.still-help {
  margin-top: 40px;
  padding: 26px 28px;
  border-radius: 20px;
  background: var(--bg-alt);
}

.still-help p {
  margin-top: 6px;
  color: var(--text-2);
}

/* Guides with a video: the chapters under the player, and the transcript at the end */

.video {
  margin-top: 24px;
}

.video-chapters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px 16px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  letter-spacing: -0.016em;
}

.video-chapters button {
  width: 100%;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  text-align: left;
  background: var(--bg-alt);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: background-color var(--dur-press) var(--ease-standard), color var(--dur-press) var(--ease-standard);
}

.video-chapters button:disabled {
  background: none;
  cursor: default;
}

.video-chapters button:enabled:hover {
  background: var(--accent-soft);
  color: var(--link);
}

.chapter-time {
  font-variant-numeric: tabular-nums;
  color: var(--text-2);
}

.transcript .answer p + p {
  margin-top: 14px;
}

/* Guides: the download and the price under the lede, and again at the end */

.guide-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 24px;
}

.guide-end {
  margin-top: 56px;
  padding: 32px 32px 30px;
  border-radius: 20px;
  background: var(--bg-alt);
}

.guide-end h2 {
  font-size: clamp(24px, 3vw, 28px);
  line-height: 1.15;
  letter-spacing: 0.004em;
}

.guide-end p {
  margin-top: 10px;
  color: var(--text-2);
}

.guide-end .guide-cta {
  margin-top: 22px;
}

.guide-end + .related {
  margin-top: 40px;
}

.still-help a,
.messages dd a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.pager {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  font-size: 15px;
}

.pager a {
  max-width: 48%;
  line-height: 1.35;
}

.pager-next {
  text-align: right;
}

/* An inline block on its own line: the link's hover underline stays on the title and never reaches the label. */
.pager-label {
  display: inline-block;
  width: 100%;
  margin-bottom: 2px;
  font-size: 13px;
  color: var(--text-2);
}

/* The reading line under the navigation follows the scroll where the browser can link the two. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .help .read-progress {
      opacity: 1;
      animation: read-progress linear both;
      animation-timeline: scroll(root block);
    }
  }
}

@keyframes read-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

/* Questions and answers: the Support home block, the ask page, the pages the backend renders into the shell, the
   editor and the photos. */

.results-group {
  margin-top: 36px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.012em;
}

.search-results .search-group {
  margin-top: 4px;
  padding: 10px 12px 4px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.help-questions {
  margin-top: 96px;
}

.help-questions-lead {
  margin-top: 10px;
  color: var(--text-2);
}

.question-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.question-list li {
  border-bottom: 1px solid var(--line);
}

.question-list a {
  display: block;
  padding: 16px 0;
  color: var(--text);
}

.question-list a:hover {
  text-decoration: none;
}

.question-list a:hover .ql-title {
  color: var(--link);
}

.ql-title {
  display: block;
  font-weight: 600;
  transition: color var(--dur-press) var(--ease-standard);
}

.ql-meta {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--text-2);
}

.help-questions-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 24px;
}

.still-help .still-help-ask {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* A question page and the index, rendered by the backend inside .question-layout */

.question-layout,
.ask-layout {
  max-width: var(--narrow);
  padding-top: 48px;
}

.ask-title,
.question-layout h1 {
  font-size: clamp(34px, 4.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.012em;
}

:is(.post-body, .question-layout .article-body) code {
  padding: 1px 5px;
  border-radius: 6px;
  background: var(--bg-alt);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.88em;
  letter-spacing: 0;
}

:is(.post-body, .question-layout .article-body) pre {
  margin: 16px 0;
  padding: 14px 16px;
  overflow-x: auto;
  border-radius: 12px;
  background: var(--bg-alt);
  line-height: 1.45;
}

:is(.post-body, .question-layout .article-body) pre code {
  padding: 0;
  background: none;
  font-size: 14px;
}

:is(.post-body, .question-layout .article-body) blockquote {
  margin: 16px 0;
  padding-left: 16px;
  border-left: 3px solid var(--line);
  color: var(--text-2);
}

:is(.post-body, .question-layout .article-body) p + p,
:is(.post-body, .question-layout .article-body) :is(ul, ol) {
  margin-top: 14px;
}

:is(.post-body, .question-layout .article-body) :is(ul, ol) {
  padding-left: 1.4em;
}

:is(.post-body, .question-layout .article-body) a {
  overflow-wrap: anywhere;
}

.post-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 0;
}

.post-photos a {
  display: block;
  flex: 0 1 200px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-alt);
}

.post-photos img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
}

.answer {
  margin-top: 40px;
  padding: 26px 28px;
  border-radius: 20px;
  background: var(--bg-alt);
}

.answer h2,
.replies h2,
.comments h2,
.reply-section h2 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.012em;
}

.answer > .article-body {
  margin-top: 12px;
}

.replies,
.comments,
.reply-section {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.reply-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.reply {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.reply:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.reply-meta,
.question-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--text-2);
}

.reply-meta {
  margin-bottom: 8px;
}

.reply-meta > * + *::before,
.question-item-meta > * + *::before {
  content: "·";
  margin-right: 8px;
}

.reply-author {
  font-weight: 600;
  color: var(--text);
}

.answer h2 time {
  font-weight: 400;
  color: var(--text-2);
}

.questions-index {
  max-width: var(--narrow);
  padding-top: 48px;
}

.questions-index h1 {
  font-size: clamp(34px, 4.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.012em;
}

.questions-ask {
  margin-top: 24px;
}

.question-filters {
  margin-top: 36px;
}

.question-filters ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.question-filters a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--dur-press) var(--ease-standard), background-color var(--dur-press) var(--ease-standard);
}

.question-filters a:hover {
  border-color: var(--text-2);
}

.question-filters a[aria-current="page"] {
  border-color: transparent;
  background: var(--accent-soft);
  color: var(--link);
  font-weight: 600;
}

.question-filter-count {
  font-weight: 400;
  color: var(--text-2);
}

.question-filters a[aria-current="page"] .question-filter-count {
  color: inherit;
}

.questions-index .question-list {
  margin-top: 28px;
}

.question-item {
  padding: 16px 0;
}

.question-list .question-item a {
  padding: 0;
}

.question-item-title {
  display: block;
  font-weight: 600;
  transition: color var(--dur-press) var(--ease-standard);
}

.question-item a:hover .question-item-title {
  color: var(--link);
}

.question-item-meta {
  margin-top: 4px;
}

.ask-own {
  margin-top: 40px;
}

/* The ask form and the reply form */

.post-form {
  margin-top: 32px;
}

.human-check {
  display: contents;
}

.post-fields {
  display: grid;
  gap: 22px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.post-field {
  min-width: 0;
}

.post-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.016em;
}

.post-optional {
  margin-left: 4px;
  font-weight: 400;
  color: var(--text-2);
}

.post-hint {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--text-2);
}

.post-input {
  display: block;
  width: 100%;
  height: 46px;
  margin: 8px 0 0;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--field);
  color: var(--text);
  font: inherit;
  font-size: 17px;
  letter-spacing: -0.022em;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--dur-press) var(--ease-standard), box-shadow var(--dur-toggle) var(--ease-standard);
}

.post-textarea {
  height: auto;
  min-height: 180px;
  padding: 11px 14px;
  line-height: 1.45;
  resize: vertical;
}

.post-input:focus {
  outline: 2px solid transparent;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.post-input[aria-invalid="true"] {
  border-color: var(--danger-text);
}

.post-input[aria-invalid="true"]:focus,
.editor:has([aria-invalid="true"]):focus-within {
  border-color: var(--danger-text);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger-text) 18%, transparent);
}

.post-input:disabled {
  opacity: 0.6;
}

.post-error,
.photo-error,
.editor-link-error {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--danger-text);
}

.post-error:empty,
.post-status:empty,
.photo-error:empty,
.editor-link-error:empty,
.editor-problems:empty {
  display: none;
}

.post-status,
.editor-problems {
  padding: 12px 16px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--danger-text) 8%, transparent);
  font-size: 15px;
  line-height: 1.4;
  color: var(--danger-text);
}

.post-status a,
.photo-error a,
.human-check-note a {
  color: inherit;
  text-decoration: underline;
}

.post-rule,
.human-check-note {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-2);
}

.human-check-note {
  margin-top: -12px;
  font-size: 12px;
}

.post-submit {
  justify-self: start;
}

.post-done {
  margin-top: 32px;
  padding: 26px 28px;
  border-radius: 20px;
  background: var(--bg-alt);
}

.post-done-check {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  color: var(--success);
}

.post-done-check svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.post-done-title {
  font-size: 21px;
  line-height: 1.25;
  font-weight: 600;
}

.post-done-title:focus {
  outline: none;
}

.post-done-text {
  margin: 8px 0 14px;
  color: var(--text-2);
}

.ask-suggestions {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--accent-soft);
}

.ask-suggestions-title {
  font-size: 15px;
  font-weight: 600;
}

.ask-suggestions-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.ask-suggestions-list a {
  display: block;
  padding: 6px 0;
}

.ask-suggestions-list .result-title {
  display: block;
}

.ask-suggestions-list .result-path {
  display: block;
  font-size: 13px;
  color: var(--text-2);
}

/* The editor */

.editor {
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--field);
  overflow: hidden;
}

.editor:focus-within {
  outline: 2px solid transparent;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.editor:has([aria-invalid="true"]) {
  border-color: var(--danger-text);
}

.editor-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-alt);
}

.editor-tabs,
.editor-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.editor-tab,
.editor-tool {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--text-2);
  font: inherit;
  font-size: 14px;
  letter-spacing: -0.016em;
  cursor: pointer;
}

.editor-tool {
  padding: 0;
  color: var(--text);
}

.editor-tab:hover,
.editor-tool:hover:not(:disabled) {
  background: var(--hairline);
}

.editor-tab[aria-selected="true"] {
  background: var(--field);
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 0 0 1px var(--hairline);
}

.editor-tab[aria-disabled="true"] {
  cursor: progress;
}

.editor-tab:focus-visible,
.editor-tool:focus-visible {
  outline-offset: -2px;
}

.editor-tool:disabled {
  opacity: 0.35;
  cursor: default;
}

.editor-tool svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.editor-tool circle {
  fill: currentColor;
  stroke: none;
}

.tool-glyph {
  font-size: 16px;
  line-height: 1;
}

.tool-bold {
  font-weight: 700;
}

.tool-italic {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.editor-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--hairline);
}

.editor-link .text-button {
  font-size: 14px;
  letter-spacing: -0.016em;
}

.editor-link-input:focus {
  outline: 2px solid transparent;
  border-color: var(--accent);
}

.editor-link-input[aria-invalid="true"] {
  border-color: var(--danger-text);
}

.editor-link-input {
  flex: 1 1 220px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  color: var(--text);
  font: inherit;
  font-size: 15px;
}

.editor-link-error {
  flex-basis: 100%;
  margin-top: 0;
}

.editor .editor-input.post-input {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.editor-preview-panel {
  min-height: 180px;
  padding: 14px;
}

.editor-preview-panel:focus-visible {
  outline-offset: -2px;
}

.editor-preview.article-body {
  margin-top: 0;
}

.editor-problems {
  margin-bottom: 14px;
}

.editor-problems ul {
  margin: 6px 0 0;
  padding-left: 1.2em;
}

.editor-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
}

.editor-empty {
  color: var(--text-2);
}

.editor-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.editor-thumbs img {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  object-fit: cover;
}

.editor-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 12px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--text-2);
}

.editor-count {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.editor-count.is-over {
  color: var(--danger-text);
}

.spinner {
  width: 18px;
  height: 18px;
  flex: none;
  border: 2px solid var(--line);
  border-top-color: var(--text-2);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Photos */

.photo-zone {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-top: 8px;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  transition: border-color var(--dur-press) var(--ease-standard), background-color var(--dur-press) var(--ease-standard);
}

.photo-zone.is-dragging {
  border-color: var(--accent);
  border-style: solid;
  background: var(--accent-soft);
}

.photo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.photo-list:empty {
  display: none;
}

.photo {
  position: relative;
  flex: none;
  width: 88px;
  height: 88px;
}

.photo img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.photo.is-uploading::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: var(--glass);
}

.photo .spinner {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 24px;
  height: 24px;
  margin: auto;
  border-width: 2.5px;
  border-color: color-mix(in srgb, var(--text) 22%, transparent);
  border-top-color: var(--text);
}

.photo:not(.is-uploading) .spinner {
  display: none;
}

.photo-remove {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 0 0 2px var(--bg);
  cursor: pointer;
}

.photo-remove svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.photo-remove:disabled {
  opacity: 0.45;
  cursor: default;
}

.photo-add {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 88px;
  height: 88px;
  padding: 0 6px;
  border: 0;
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--link);
  font: inherit;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color var(--dur-press) var(--ease-standard);
}

.photo-add:hover:not(:disabled) {
  background: var(--accent-soft);
}

.photo-add:disabled {
  opacity: 0.45;
  cursor: default;
}

.photo-add svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.photo-note {
  flex: 1 1 170px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--text-2);
}

@media (max-width: 734px) {
  .question-layout,
  .questions-index,
  .ask-layout {
    padding-top: 36px;
  }

  .answer,
  .post-done {
    padding: 22px 20px;
  }

  .help-questions {
    margin-top: 72px;
  }

  .editor-hint {
    display: none;
  }

  .editor-foot {
    justify-content: flex-end;
  }

  .editor-link-input {
    flex-basis: 100%;
  }

  .editor-link .button {
    margin-left: auto;
  }

  .post-submit {
    justify-self: stretch;
  }
}

@media (forced-colors: active) {
  .editor-tab[aria-selected="true"] {
    border: 1px solid CanvasText;
  }
}

/* Small screens */

@media (max-width: 1023px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: 36px;
  }

  .article-rail {
    display: none;
  }

  .help-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Contact support, the last tile, would stand alone in its row, so it takes the whole row, as one line. */
  .help-tiles > .tile-row:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .help-tiles > .tile-row:nth-child(odd) .help-tile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: center;
    gap: 4px 18px;
    min-height: 0;
  }

  .help-tiles > .tile-row:nth-child(odd) .tile-emblem {
    grid-row: 1 / span 3;
    align-self: center;
  }

  .help-tiles > .tile-row:nth-child(odd) .tile-emblem svg {
    margin-bottom: 0;
  }

  .help-tiles > .tile-row:nth-child(odd) :is(.tile-title, .tile-text, .tile-count) {
    grid-column: 2;
  }

  .help-tiles > .tile-row:nth-child(odd) .tile-count {
    margin-top: 0;
    padding-top: 0;
  }
}

@media (min-width: 1024px) {
  /* In three columns Contact support takes what its row leaves: the whole row, or two tiles' width, as one line. */
  .help-tiles > .tile-row:nth-child(3n+1) {
    grid-column: 1 / -1;
  }

  .help-tiles > .tile-row:nth-child(3n+2) {
    grid-column: span 2;
  }

  .help-tiles > .tile-row:is(:nth-child(3n+1), :nth-child(3n+2)) .help-tile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: center;
    gap: 4px 18px;
    min-height: 0;
  }

  .help-tiles > .tile-row:is(:nth-child(3n+1), :nth-child(3n+2)) .tile-emblem {
    grid-row: 1 / span 3;
    align-self: center;
  }

  .help-tiles > .tile-row:is(:nth-child(3n+1), :nth-child(3n+2)) .tile-emblem svg {
    margin-bottom: 0;
  }

  .help-tiles > .tile-row:is(:nth-child(3n+1), :nth-child(3n+2)) :is(.tile-title, .tile-text, .tile-count) {
    grid-column: 2;
  }

  .help-tiles > .tile-row:is(:nth-child(3n+1), :nth-child(3n+2)) .tile-count {
    margin-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 734px) {
  .help-main {
    padding-bottom: 80px;
  }

  .help-hero {
    padding-block: 52px 32px;
  }

  .help-popular {
    display: block;
    margin-top: 24px;
    text-align: left;
  }

  .help-popular-title {
    padding-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
  }

  .help-popular-title::after {
    content: none;
  }

  .help-popular ul {
    display: block;
    margin: 0;
    padding: 0;
  }

  .help-popular a {
    display: block;
    padding: 10px 0;
    border-top: 1px solid var(--line);
  }

  .help-tiles {
    gap: 10px;
  }

  .help-tile {
    gap: 4px;
    min-height: 0;
    padding: 16px 14px 14px;
    border-radius: 18px;
  }

  .tile-emblem svg {
    width: 28px;
    height: 28px;
    margin-bottom: 6px;
  }

  .tile-title {
    font-size: 16px;
  }

  .tile-text {
    display: none;
  }

  .tile-count {
    padding-top: 2px;
  }

  .help-bar-search {
    flex: 1 1 100%;
  }

  .help-bar-inner {
    padding-block: 12px 14px;
  }

  .article-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .help-all {
    margin-top: 72px;
  }

  .help-contact {
    margin-top: 72px;
    padding: 40px 22px;
  }

  .pager {
    flex-direction: column;
  }

  .pager a {
    max-width: none;
  }

  .pager-next {
    text-align: left;
  }

  .facts-table tbody th {
    width: auto;
  }

  .article-meta {
    flex-direction: column;
    gap: 2px;
  }

  .article-meta span + span::before {
    content: none;
  }
}

/* Below 360 px two columns are narrower than "Troubleshooting": every tile becomes a line of its own. */
@media (max-width: 359px) {
  .help-tiles {
    grid-template-columns: minmax(0, 1fr);
  }

  .help-tiles .help-tile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: center;
    gap: 2px 16px;
  }

  .help-tiles .tile-emblem {
    grid-row: 1 / span 3;
    align-self: center;
  }

  .help-tiles .tile-emblem svg {
    margin-bottom: 0;
  }

  .help-tiles :is(.tile-title, .tile-text, .tile-count) {
    grid-column: 2;
  }

  .help-tiles .tile-count {
    margin-top: 0;
    padding-top: 0;
  }
}

@media (forced-colors: active) {
  .help-tile {
    border: 1px solid CanvasText;
  }
}

.results-table caption {
  padding-bottom: 8px;
  color: var(--text-2);
  font-size: 14px;
  text-align: left;
}

.results-table tbody th {
  width: auto;
}

.results-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* The results tables fit a phone without scrolling: short names, five columns at most. */
@media (max-width: 734px) {
  .article-body .table-scroll .results-table {
    min-width: 0;
    font-size: 14px;
  }

  .results-table th,
  .results-table td {
    padding-right: 10px;
  }

  .results-table thead .num {
    white-space: normal;
  }
}

.results-table .results-heading th {
  padding-top: 22px;
  border-top: 0;
  color: var(--text);
  font-size: 16px;
}

.results-table tbody:not(:first-of-type) .results-heading th {
  border-top: 1px solid var(--line);
}

.results-table .result-display,
.results-table .result-computer {
  display: block;
}

.results-table .result-computer {
  color: var(--text-2);
  font-weight: 400;
}

.results-table td.num {
  color: var(--text);
}
