/*
 * Recipe Kit Help Center (help.getrecipekit.com), loaded by Help Scout Docs as
 * the site's custom stylesheet. Tokens follow recipekit.com (assets/rk-*.css):
 * warm paper page, cream hero, white cards, tomato for actions only, ink text,
 * Geist.
 *
 * Help Scout's markup is fixed (Bootstrap 2 era: #mainNav, #docsSearch,
 * .category-list, #fullArticle, #sidebar), so every rule targets those hooks.
 * Preview with site/preview.sh, push with `npm run site`.
 */
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap");

:root {
  --paper: #fdfbf7;
  --cream: #f2f1ec;
  --card: #ffffff;
  --ink: #121315;
  --ink-2: #333638;
  --mute: #5a5b5d;
  --rule: #e2e0d9;
  --tomato: #eb4c2e;
  --tomato-dim: #c8391e;
  --tomato-soft: rgba(235, 76, 46, 0.1);
  --tomato-ring: rgba(235, 76, 46, 0.22);
  --radius: 12px;
  --rail: 1140px;
  --font: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html, body { background: var(--paper); }
body {
  font-family: var(--font);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, h4, input, button, select, textarea { font-family: var(--font); }
a { color: var(--tomato-dim); }
a:hover, a:focus { color: var(--ink); }
:focus-visible { outline: 2px solid var(--tomato); outline-offset: 2px; }
::selection { background: var(--tomato-ring); }

.container-fluid { max-width: var(--rail); padding-left: 24px; padding-right: 24px; }

/* --- Header ------------------------------------------------------------ */

#mainNav.navbar .navbar-inner {
  background: var(--card);
  border-bottom: 1px solid var(--rule);
  box-shadow: none;
  padding: 0;
  min-height: 0;
}
#mainNav .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.navbar .brand {
  display: flex;
  align-items: center;
  gap: 14px;
  float: none;
  padding: 0;
  margin: 0 auto 0 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--mute);
}
.navbar .brand img { width: auto; height: 30px; max-height: none; }
.navbar .brand::after {
  content: "Help Center";
  padding-left: 14px;
  border-left: 1px solid var(--rule);
  line-height: 24px;
}
.navbar .brand:hover { color: var(--ink); text-decoration: none; }
.navbar .btn-navbar { display: none; }
.navbar .nav-collapse, .navbar .nav-collapse.collapse { display: flex; align-items: center; height: auto; overflow: visible; float: none; }
.navbar .nav { margin: 0; padding: 0; float: none; display: flex; align-items: center; position: static; top: auto; }
#mainNav nav, .navbar .nav > li { margin: 0; padding: 0; float: none; }
#contactMobile { display: none; }
.navbar .nav > li > a,
.navbar .nav > li > a:focus {
  display: block;
  padding: 8px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-shadow: none;
  transition: border-color 0.15s, color 0.15s;
}
.navbar .nav > li > a:hover { border-color: var(--tomato); color: var(--tomato-dim); }

/* --- Search hero (home) ------------------------------------------------ */

#docsSearch {
  background: var(--cream);
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 44px 24px 48px;
  margin-bottom: 0;
}
#docsSearch h1 {
  max-width: 760px;
  margin: 0 auto 10px;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-shadow: none;
}
.rk-sub { max-width: 560px; margin: 0 auto 22px; text-align: center; color: var(--ink-2); font-size: 18px; line-height: 1.55; }
#searchBar { max-width: 640px; margin: 0 auto; padding: 0; position: relative; display: flex; align-items: center; }
#searchBar .search-query {
  width: 100%;
  height: 56px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 128px 0 20px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 17px;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(20, 17, 13, 0.06);
  transition: border-color 0.15s, box-shadow 0.15s;
}
#searchBar .search-query::placeholder { color: var(--mute); }
#searchBar .search-query:focus { border-color: var(--tomato); box-shadow: 0 0 0 3px var(--tomato-ring); outline: 0; }
#searchBar button {
  position: static;
  flex: none;
  margin: 0 0 0 -112px;
  height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 9px;
  background: var(--tomato);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-shadow: none;
  box-shadow: none;
  transition: background 0.15s;
}
#searchBar button:hover, #searchBar button:focus { background: var(--tomato-dim); }
#searchBar button .icon-search { display: none; }
#serp-dd {
  top: 62px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 12px 32px rgba(20, 17, 13, 0.12);
  overflow: hidden;
}
#serp-dd .result > li, #serp-dd .result > li:first-child, #serp-dd .result > li:last-child { border-radius: 0; }
#serp-dd .result > li a { color: var(--ink); padding: 12px 16px; }
#serp-dd .result > li a:hover, #serp-dd .result > li.active, #serp-dd .result > li:hover { background: var(--cream); color: var(--ink); }

/* --- Category cards (home) --------------------------------------------- */

#contentArea { padding-top: 32px; }
.category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 32px;
  padding: 0;
}
.category-list .category {
  display: flex;
  flex-direction: column;
  float: none;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 20px 22px;
  box-sizing: border-box;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.category-list .category:hover, .category-list .category:focus {
  border-color: var(--tomato);
  box-shadow: 0 6px 20px rgba(235, 76, 46, 0.08);
  text-decoration: none;
}
.category-list .category .icon { display: none; }
.category-list .category h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink);
}
.category-list .category p { margin: 0; color: var(--mute); font-size: 15px; line-height: 1.5; }
.category-list .category p:empty { display: none; }
.category-list .category .article-count {
  margin-top: auto;
  padding-top: 12px;
  color: var(--tomato-dim);
  font-weight: 600;
  font-size: 14px;
}
.category-list .category .article-count::after { content: " \2192"; }

/* --- Added by site/site-head.html -------------------------------------- */

.rk-start { margin: 0 0 28px; }
.rk-start h2, .rk-cats-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
}
.rk-start-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rk-start-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  transition: background 0.15s;
}
.rk-start-card b { font-size: 13px; font-weight: 600; color: #f6a594; letter-spacing: 0; }
.rk-start-card strong { font-size: 16px; font-weight: 600; line-height: 1.35; color: #fff; }
.rk-start-card span { font-size: 14px; line-height: 1.45; color: #b9bbbd; }
.rk-start-card:hover, .rk-start-card:focus { background: var(--tomato); color: #fff; text-decoration: none; }
.rk-start-card:hover b, .rk-start-card:focus b, .rk-start-card:hover span, .rk-start-card:focus span { color: #fff; }

#fullArticle .rk-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 32px 0 0;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--rule);
}
#fullArticle .rk-cta div { display: flex; flex-direction: column; gap: 2px; }
#fullArticle .rk-cta strong { font-size: 17px; }
#fullArticle .rk-cta span { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
#fullArticle a.rk-cta-btn {
  flex: none;
  padding: 11px 18px;
  border-radius: 9px;
  background: var(--tomato);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s;
}
#fullArticle a.rk-cta-btn:hover { background: var(--tomato-dim); color: #fff; }

/* Plan label under an article title */
#fullArticle p.rk-plan { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: -4px 0 20px; font-size: 14px; line-height: 1.4; }
#fullArticle a.rk-plan-tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
#fullArticle a.rk-plan-every { background: rgba(75, 95, 85, 0.12); color: #3a4b42; }
#fullArticle a.rk-plan-growth { background: var(--tomato-soft); color: var(--tomato-dim); }
#fullArticle a.rk-plan-enterprise { background: var(--ink); color: #fff; }
#fullArticle a.rk-plan-tag:hover { filter: brightness(0.96); }
#fullArticle p.rk-plan span { color: var(--ink-2); font-size: 14px; }
#fullArticle p.rk-plan span strong { color: var(--tomato-dim); font-weight: 600; }

/* --- Category and search pages ----------------------------------------- */

.contentWrapper {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px 40px;
  box-shadow: none;
}
#categoryHead h1, #main-content h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}
#categoryHead .descrip { color: var(--mute); font-size: 17px; margin: 6px 0 0; }
#categoryHead .descrip:empty { display: none; }
/* site-head.html sets a reading order; a popularity sort would undo it. */
#categoryHead .sort { display: none; }
.articleList { margin: 18px 0 0; }
.articleList li {
  margin: 0;
  border-bottom: 1px solid var(--rule);
  list-style: none;
}
.articleList li:first-child { border-top: 1px solid var(--rule); }
.articleList li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 4px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}
.articleList li a::after { content: "\2192"; margin-left: auto; color: var(--rule); transition: color 0.15s, transform 0.15s; }
.articleList li a:hover { color: var(--tomato-dim); text-decoration: none; }
.articleList li a:hover::after { color: var(--tomato); transform: translateX(3px); }
.articleList li a i { display: none; }

/* Search results page */
#serp h1 strong { color: var(--tomato-dim); font-weight: 700; }
#serp .articlesFound { margin: 6px 0 0; color: var(--mute); font-size: 15px; }
#serp .articlesFound strong { color: var(--mute); font-weight: 600; }
#serp .articleList li { padding: 0; }
#serp .articleList li a { display: flex; width: auto; float: none; margin: 0; padding-bottom: 4px; }
#serp .articleList li p { margin: 0 0 16px; padding: 0 28px 0 4px; color: var(--mute); font-size: 15px; line-height: 1.5; }
#noResults { color: var(--mute); }

/* --- Article ----------------------------------------------------------- */

#fullArticle { max-width: 720px; font-size: 17px; line-height: 1.65; color: var(--ink); }
#fullArticle h1.title {
  margin: 0 0 14px;
  padding-right: 40px;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
#fullArticle h2 {
  margin: 34px 0 10px;
  padding-top: 0;
  border: 0;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
#fullArticle h3 { margin: 24px 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
#fullArticle h4 { margin: 20px 0 6px; font-size: 17px; font-weight: 600; }
#fullArticle p, #fullArticle li, #fullArticle ul, #fullArticle ol { color: var(--ink-2); font-size: 17px; line-height: 1.65; }
#fullArticle p { margin: 0 0 14px; }
#fullArticle > br { display: none; }
#fullArticle strong { color: var(--ink); font-weight: 600; }
#fullArticle a { color: var(--tomato-dim); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
#fullArticle a:hover { color: var(--ink); }
#fullArticle ol, #fullArticle ul { margin: 0 0 16px 24px; }
#fullArticle li { margin-bottom: 6px; padding-left: 4px; }
#fullArticle li > p { margin-bottom: 8px; }
#fullArticle li::marker { color: var(--mute); font-weight: 600; }
#fullArticle img {
  display: block;
  max-width: 100%;
  height: auto !important;
  margin: 14px 0 22px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(20, 17, 13, 0.06);
}
#fullArticle code {
  padding: 2px 6px;
  border: 0;
  border-radius: 5px;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.86em;
  white-space: normal;
  word-break: break-word;
}
#fullArticle pre {
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--cream);
  font-size: 14px;
  line-height: 1.55;
  white-space: pre;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
#fullArticle pre code { padding: 0; background: none; font-size: inherit; white-space: inherit; word-break: normal; }
/* Wide tables scroll inside themselves instead of pushing the page sideways. */
#fullArticle table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 14px 0 22px;
  border-collapse: collapse;
  font-size: 15px;
}
#fullArticle th, #fullArticle td { padding: 10px 12px; border: 1px solid var(--rule); color: var(--ink-2); font-size: 15px; line-height: 1.5; text-align: left; vertical-align: top; }
#fullArticle th { background: var(--cream); color: var(--ink); font-weight: 600; }
#fullArticle blockquote {
  margin: 0 0 24px;
  padding: 14px 18px;
  border-left: 3px solid var(--tomato);
  border-radius: 0 8px 8px 0;
  background: var(--cream);
  color: var(--ink);
}
#fullArticle blockquote p:last-child { margin-bottom: 0; }
#fullArticle iframe, #fullArticle video { max-width: 100%; border-radius: 10px; }
#fullArticle hr { margin: 28px 0; border: 0; border-top: 1px solid var(--rule); }
.printArticle { color: var(--mute); }
.printArticle:hover { color: var(--tomato-dim); }

/* Rating, related articles and footer of an article */
.articleRatings {
  margin-top: 28px;
  padding: 16px 22px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
}
.articleRatings .rateAction { border-radius: 8px; }
.articleFoot { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--rule); color: var(--mute); }
.articleFoot .icon-contact { display: none; }
.articleFoot p, .articleFoot time, .articleFoot a { font-family: var(--font); font-style: normal; }
.articleFoot p.help, .articleFoot .lu { font-size: 15px; color: var(--mute); }
.articleFoot a { color: var(--tomato-dim); font-weight: 600; }
@media (max-width: 600px) {
  .articleFoot p.help, .articleFoot .lu { float: none; display: block; text-align: left; margin: 0 0 6px; }
}
.related { margin-top: 24px; padding: 20px 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--rule); }
.related h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; color: var(--ink); }
.related ul { margin: 0; }
.related ul li { margin: 0; list-style: none; }
.related ul li a { display: block; padding: 8px 0; color: var(--ink); font-size: 16px; font-weight: 500; }
.related ul li a:hover { color: var(--tomato-dim); text-decoration: none; }
.related ul li a i { display: none; }

/* --- Sidebar ----------------------------------------------------------- */

#sidebar #searchBar.sm .search-query { height: 44px; padding: 0 48px 0 14px; font-size: 15px; border: 1px solid var(--rule); border-radius: 10px; background: var(--card); box-shadow: none; }
#sidebar form#searchBar.sm button { margin-left: -42px; height: 36px; width: 36px; padding: 0; border-radius: 8px; }
#sidebar form#searchBar.sm button .icon-search { display: inline-block; color: #fff; }
#sidebar h3 {
  margin: 28px 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mute);
  text-transform: none;
  letter-spacing: 0;
}
#sidebar .nav-list { margin: 0; padding: 0; }
#sidebar .nav-list li a {
  display: flex;
  justify-content: space-between;
  margin: 0 0 2px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-shadow: none;
}
#sidebar .nav-list li a:hover { background: var(--cream); color: var(--ink); }
#sidebar .nav-list li.active a,
#sidebar .nav-list li.active a:hover { background: var(--tomato-soft); color: var(--tomato-dim); font-weight: 600; }
#sidebar .nav-list .icon-arrow { display: none; }

/* --- Footer ------------------------------------------------------------ */

footer, footer.center { padding: 20px 0 32px; color: var(--mute); font-size: 14px; }
footer p, footer p span, footer a { color: var(--mute); }
footer a { text-decoration: underline; text-underline-offset: 2px; }
footer a:hover { color: var(--ink); }

/* --- Small screens ----------------------------------------------------- */

@media (max-width: 1000px) {
  .category-list, .rk-start-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .contentWrapper { padding: 28px 24px; }
  /* Bootstrap stacks the sidebar under the article; give it room. */
  #sidebar { margin-top: 20px; }
}
@media (max-width: 767px) {
  #contentArea .row-fluid [class*="span"] { float: none; width: 100%; margin-left: 0; }
}
@media (max-width: 600px) {
  .container-fluid { padding-left: 16px; padding-right: 16px; }
  /* Help Scout's mobile CSS zeroes the header padding; put it back. */
  #mainNav.navbar .container-fluid { height: 60px; padding-left: 16px; padding-right: 16px; }
  .navbar .brand { gap: 10px; font-size: 15px; }
  .navbar .brand img { height: 24px; }
  .navbar .brand::after { padding-left: 10px; line-height: 20px; }
  .navbar .nav-collapse, .navbar .nav-collapse.collapse { display: flex; height: auto; overflow: visible; }
  .navbar .nav > li > a, .navbar .nav > li > a:focus { padding: 7px 13px; font-size: 14px; }
  #contact { display: none; }
  #contactMobile { display: block; }
  #docsSearch { padding: 28px 16px 30px; }
  #docsSearch h1 { font-size: 30px; }
  .rk-sub { font-size: 16px; margin-bottom: 18px; }
  #searchBar .search-query { height: 52px; padding-right: 60px; font-size: 16px; }
  #searchBar button { margin-left: -50px; width: 42px; height: 42px; padding: 0; }
  #searchBar button span { display: none; }
  #searchBar button .icon-search { display: inline-block; color: #fff; font-size: 18px; }
  /* Bootstrap's phone CSS pads the body 20px and pulls the header out with
     negative margins. Our containers pad themselves, so undo both. */
  body { padding-left: 0; padding-right: 0; }
  #mainNav.navbar, #docsSearch { margin-left: 0; margin-right: 0; }
  #contentArea { padding-top: 20px; }
  .category-list, .rk-start-grid { grid-template-columns: 1fr; gap: 10px; }
  .rk-start { margin-bottom: 22px; }
  .category-list .category { padding: 16px 18px; }
  .category-list { margin-bottom: 20px; }
  .category-list .category .article-count { padding-top: 10px; }
  /* Edge to edge on phones: the card frame costs too much width. */
  .contentWrapper { margin: -20px -16px 0; padding: 22px 16px; border-top: 0; border-left: 0; border-right: 0; border-radius: 0; }
  #fullArticle h1.title { padding-right: 0; }
  .printArticle { display: none; }
  #categoryHead h1, #main-content h1 { font-size: 28px; }
  #fullArticle h1.title { font-size: 29px; }
  #fullArticle h2 { margin-top: 28px; font-size: 22px; }
  #fullArticle, #fullArticle p, #fullArticle li { font-size: 16px; }
  #fullArticle ol, #fullArticle ul { margin-left: 20px; }
  #fullArticle img { margin: 12px 0 18px; border-radius: 8px; }
  #fullArticle .rk-cta { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px; }
  .articleList li a { font-size: 16px; padding: 12px 2px; }
}

@media (max-width: 360px) {
  .navbar .brand::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

@media print {
  #mainNav, #docsSearch, #sidebar, footer, .articleRatings, .related, .rk-cta, .printArticle { display: none !important; }
  .contentWrapper { border: 0; padding: 0; }
}
