@font-face {
    font-family: 'JetBrains Mono';
    src: url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Regular.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Italic.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

html,
body,
p {
  margin:0;
  padding:0;
  border:0;
  font-size:100%;
  vertical-align:baseline;
}
body {
  line-height:1;
}
body {
  font-family: 'Inter', "Avenir Next", "Helvetica Neue", Helvetica, Arial;
  font-weight:400;
  background-color:#fafafa;
  color: #383a42;
}
body[code-page] {
  background-color:#fafafa;
}
body[text-page] {
  background-color:#fafafa;
}
body[data-platform=win] .platform-mac {
  display:none;
}
body[data-platform=mac] .platform-win {
  display:none;
}
.btn {
  padding:6px 0;
  position:relative;
  display:inline-block;
  color:#383a42;
  background-color:#e5e5e6;
  border:1px solid #d4d4d5;
  border-radius:3px;
  font-size:13px;
  font-weight:500;
  text-decoration:none;
  text-align:center;
  cursor:pointer;
}
.btn .sep {
  width:0;
  border-right:2px dotted #383a42;
  margin:0 6px 0 4px;
}
.btn:hover {
  text-decoration:none;
  background-color:#4078f2;
  color:#ffffff;
}
.btn:active {
  top:1px;
}
.confirm-modal {
  background-color:#e5e5e6;
  color:#383a42;
  overflow:hidden;
  max-height:0;
  transition:max-height .15s ease-in;
}
.confirm-modal a:link,
.confirm-modal a:visited {
  color:#4078f2;
  text-decoration:underline;
  text-decoration-color:#e5e5e6;
}
.confirm-modal a:hover,
.confirm-modal a:active {
  color:#0e5ae1;
  text-decoration:underline;
}
.confirm-modal form {
  padding:20px 30px 20px 30px;
  display:block;
}
.confirm-modal .btn {
  padding:6px 15px;
  margin:0 10px;
}
.confirm-modal .no {
  font-size:13px;
}
.confirm-modal:target {
  max-height:80px;
}
header {
  padding:0 30px 0 30px;
  height:60px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#383a42;
  background-color:#e5e5e6;
}
header.sub {
  height:45px;
}
header a {
  display:inline-block;
  color:#383a42;
  text-decoration:none;
  text-align:center;
  font-weight:600;
}
header a:hover {
  text-decoration:underline;
}
header a.home {
  font-size:28px;
  font-weight:700;
}
header a.nav-link {
  width:80px;
}
header .btn {
  width:120px;
  margin-left:10px;
}
header h1 {
  position:relative;
  font-size:24px;
  font-weight:600;
}
header h1 strong {
  font-size:28px;
  font-weight:700;
}
header h2 {
  font-size:16px;
  font-weight:600;
}
ul#snippetOptions {
    padding:0 30px 0 30px;
    margin:0;
    height:40px;
    background-color:#e5e5e6;
    color: #696c77;
    font-size:13px;
    font-weight:400;
    display:flex;
    align-items:center;
  }

  ul#snippetOptions a:link,
  ul#snippetOptions a:visited {
    color: #4078f2;
    text-decoration:underline;
    font-weight:500;
  }

  ul#snippetOptions a:hover,
  ul#snippetOptions a:active {
    color: #0e5ae1;
    text-decoration:underline;
  }

  ul#snippetOptions li.sep {
    border-right-color: #696c77;
  }

  ul#snippetOptions label {
    color: #696c77;
    cursor:pointer;
  }

  ul#snippetOptions li:first-child {
    color: #383a42;
    font-weight:500;
  }
#copyToClipboardField {
  position:absolute;
  left:-9999px;
}
#copyToClipboard svg {
  height:30px;
  position:absolute;
  top:-8px;
  right:-40px;
}
#copyToClipboard svg:active {
  top:-7px;
}
.snippet-message {
  padding:20px 30px 0 30px;
  padding:8px 20px;
  max-width:660px;
  color:#383a42;
  background-color:#c18401;
  font-size:14px;
  font-weight:500;
}
#copySnippetSource {
  width:0;
  position:absolute;
  left:-9999px;
}
@media only screen and (max-width: 700px) {
  .option-type,
  .sep,
  .option-edit,
  .option-slim {
    display:none;
  }
  #copyHeadline {
    display:none;
  }
}
#edit {
  display:none;
}
.snippet-form {
  box-sizing:border-box;
  background-color:#fafafa;
}
@media only screen and (min-width: 700px) {
  .snippet-form {
    padding:15px 30px;
    display:grid;
    grid-template:"a b c d" "e e e e";
    grid-template-columns:1fr 1fr 1fr 10fr;
    align-items:center;
  }
  .snippet-form .form-textarea {
    height:70vh;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    border-top:1px solid #e5e5e6;
    margin-top:15px;
    padding-top:15px;
  }
  .snippet-form .form-action {
    justify-self:end;
  }
}
@media only screen and (max-width: 699px) {
  .snippet-form {
    padding:10px;
    display:grid;
    justify-content:space-between;
    grid-template:"a b" "c c" "e e" "d d";
    align-items:center;
  }
  .snippet-form .form-expire select {
    margin-right:0;
  }
  .snippet-form .form-action {
    justify-self:start;
  }
  .snippet-form p {
    padding:4px 0;
  }
}
.snippet-form .form-lexer {
  grid-area:a;
}
.snippet-form .form-expire {
  grid-area:b;
}
.snippet-form .form-rtl {
  grid-area:c;
  white-space:nowrap;
}
.snippet-form .form-textarea {
  grid-area:e;
}
.snippet-form .form-action {
  grid-area:d;
}
.snippet-form .form-action .btn {
  width:auto;
  padding:6px 20px;
}
.snippet-form label {
  display:none;
  font-size:13px;
}
.snippet-form .form-rtl label {
  display:inline;
}
.snippet-form select {
  -moz-appearance:none;
  -webkit-appearance:none;
  padding:5px 7px;
  margin-right:15px;
  min-width:160px;
  color:#383a42;
  background-color:#e5e5e6;
  border:1px solid #d4d4d5;
  border-radius:3px;
  font-family: 'Inter', "Avenir Next", "Helvetica Neue", Helvetica, Arial;
  font-weight:400;
  font-size:14px;
  cursor:pointer;
  background-image:linear-gradient(45deg, transparent 50%, #4078f2 50%),linear-gradient(135deg, #4078f2 50%, transparent 50%);
  background-position:calc(100% - 18px) 13px,calc(100% - 13px) 13px,calc(100% - 2.5em) .5em;
  background-size:5px 5px,5px 5px,3px 1.5em;
  background-repeat:no-repeat;
}
.snippet-form select:hover {
  border-color:#0e5ae1;
}
.snippet-form textarea {
  padding:20px;
  color:#383a42;
  font-family:"JetBrains Mono",Monaco,Menlo,Consolas,monospace;
  font-size:12px;
  line-height:17px;
  box-sizing:border-box;
  width:100%;
  height:100%;
  border:1px solid #e5e5e6;
  background-color:#fafafa;
}
.snippet-form textarea:active,
.snippet-form textarea:focus {
  border-color:#4078f2;
}
.snippet-text {
  background-color:#fafafa;
}
article {
  padding:30px 30px 40px 30px;
  font-size:16px;
  font-weight:400;
  line-height:24px;
  word-break:break-word;
  white-space:pre;
  color: #383a42;
}
article a:link,
article a:visited {
  color:#4078f2;
  text-decoration:underline;
  text-decoration-color:#e5e5e6;
}
article a:hover,
article a:active {
  color:#0e5ae1;
  text-decoration:underline;
}
article .first-item {
  margin-top:0;
}
article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
  font-weight:400;
  line-height:1.3em;
  color: #e45649;
}
article p {
  margin:10px 0 20px 0;
  text-shadow: 0 0 1px rgba(0,0,0,0.05);
}
article strong,
article b {
  font-weight:500;
  color: #986801;
}
article table {
  margin:20px 0;
  border:1px solid #e5e5e6;
  border-collapse:collapse;
}
article table td,
article table th {
  border:1px solid #e5e5e6;
  padding:5px 10px;
}
article hr {
  border:0;
  height:1px;
  background-color:#e5e5e6;
}
article pre {
  font-family:"JetBrains Mono",Monaco,Menlo,Consolas,monospace;
  font-size:13px;
  font-weight:300;
  background-color:#e5e5e6;
  padding:10px;
}
article blockquote {
  font-style:italic;
  color:#50a14f;
}
article dl p,
article ul p,
article ol p,
article table p {
  margin:0;
}
.snippet-text article h1,
.snippet-text article h2,
.snippet-text article h3,
.snippet-text article h4,
.snippet-text article h5,
.snippet-text article h6 {
  padding-bottom:5px;
  border-bottom:1px solid #e5e5e6;
}
.snippet-text article .admonition {
  padding:10px 10px;
  margin:20px 0;
  background-color:#e5e5e6;
}
.snippet-text article .admonition .admonition-title {
  margin:0;
  font-weight:600;
  color:#c18401;
}
.snippet-text article .admonition p {
  margin:20px 0 0 0;
}
.snippet-text article .problematic {
  background-color:#e5e5e6;
}
.snippet-text article .system-message {
  background-color:#e5e5e6;
  border:2px dashed #c18401;
  padding:10px 20px;
  margin:20px 0;
}
.snippet-text article .system-message p {
  margin:10px 0;
}
.snippet-diff {
  color:#383a42;
  background-color:#fafafa;
}
.snippet-diff h2 {
  margin:0;
  padding:20px 30px 20px 30px;
  color:#383a42;
  font-weight:500;
  font-size:14px;
}
.snippet-diff .snippet-code {
  padding:10px 30px 10px 30px;
  background-color:#e5e5e6;
  white-space:pre;
  font-size:12px;
}
.snippet-code {
  padding:20px 30px 20px 30px;
  font-family:"JetBrains Mono",Monaco,Menlo,Consolas,monospace;
  font-size:13px;
  font-weight:300;
  line-height:20px;
  color: #383a42;
  background-color:#fafafa;
}
.snippet-code.wordwrap {
  overflow:auto;
}
.snippet-code.wordwrap li {
  white-space:pre-wrap !important;
}
.snippet-code ol {
  margin:0;
  padding:0;
  position:relative;
  list-style:none;
  counter-reset:lineNumberCounter;
}
.snippet-code ol li {
  margin:0;
  padding:0;
  white-space:pre;
  padding-left:50px;
}
.snippet-code ol li:before {
  color:#a0a1a7;
  counter-increment:lineNumberCounter;
  content:counter(lineNumberCounter);
  text-align:right;
  width:30px;
  position:absolute;
  display:inline-block;
  left:0px;
}
.snippet-code ol li.marked {
  background-color:rgba(0,0,0,.05);
}
.snippet-code ol li.marked:before {
  color:#c18401;
}
.snippet-code .gd {
  background-color:#ffdce0;
  color:#383a42;
  display:inline-block;
  width:100%;
  margin:0 -10px;
  padding:0 10px;
}
.snippet-code .gi {
  background-color:#e6ffed;
  color:#383a42;
  display:inline-block;
  width:100%;
  margin:0 -10px;
  padding:0 10px;
}
.snippet-code .hll {
  background-color:#e5e5e6;
}
.snippet-code .c {
  color:#a0a1a7;
}
.snippet-code .err {
  color:#e45649;
  background-color:#ffdce0;
}
.snippet-code .k {
  color:#a626a4;
}
.snippet-code .l {
  color:#986801;
}
.snippet-code .n {
  color:#383a42;
}
.snippet-code .o {
  color:#0184bc;
}
.snippet-code .p {
  color:#383a42;
}
.snippet-code .cm {
  color:#a0a1a7;
}
.snippet-code .cp {
  color:#a0a1a7;
}
.snippet-code .c1 {
  color:#a0a1a7;
}
.snippet-code .cs {
  color:#a0a1a7;
}
.snippet-code .ge {
  font-style:italic;
}
.snippet-code .gs {
  font-weight:bold;
}
.snippet-code .kc {
  color:#a626a4;
}
.snippet-code .kd {
  color:#a626a4;
}
.snippet-code .kn {
  color:#0184bc;
}
.snippet-code .kp {
  color:#a626a4;
}
.snippet-code .kr {
  color:#a626a4;
}
.snippet-code .kt {
  color:#c18401;
}
.snippet-code .ld {
  color:#50a14f;
}
.snippet-code .m {
  color:#986801;
}
.snippet-code .s {
  color:#50a14f;
}
.snippet-code .na {
  color:#e45649;
}
.snippet-code .nb {
  color:#c18401;
}
.snippet-code .nc {
  color:#c18401;
}
.snippet-code .no {
  color:#986801;
}
.snippet-code .nd {
  color:#4078f2;
}
.snippet-code .ni {
  color:#383a42;
}
.snippet-code .ne {
  color:#e45649;
}
.snippet-code .nf {
  color:#4078f2;
}
.snippet-code .nl {
  color:#383a42;
}
.snippet-code .nn {
  color:#383a42;
}
.snippet-code .nx {
  color:#e45649;
}
.snippet-code .py {
  color:#383a42;
}
.snippet-code .nt {
  color:#e45649;
}
.snippet-code .nv {
  color:#e45649;
}
.snippet-code .ow {
  color:#0184bc;
}
.snippet-code .w {
  color:#383a42;
}
.snippet-code .mf {
  color:#986801;
}
.snippet-code .mh {
  color:#986801;
}
.snippet-code .mi {
  color:#986801;
}
.snippet-code .mo {
  color:#986801;
}
.snippet-code .sb {
  color:#50a14f;
}
.snippet-code .sc {
  color:#50a14f;
}
.snippet-code .sd {
  color:#50a14f;
}
.snippet-code .s2 {
  color:#50a14f;
}
.snippet-code .se {
  color:#986801;
}
.snippet-code .sh {
  color:#50a14f;
}
.snippet-code .si {
  color:#50a14f;
}
.snippet-code .sx {
  color:#50a14f;
}
.snippet-code .sr {
  color:#50a14f;
}
.snippet-code .s1 {
  color:#50a14f;
}
.snippet-code .ss {
  color:#50a14f;
}
.snippet-code .bp {
  color:#383a42;
}
.snippet-code .vc {
  color:#383a42;
}
.snippet-code .vg {
  color:#383a42;
}
.snippet-code .vi {
  color:#383a42;
}
.snippet-code .il {
  color:#986801;
}
.snippet-code .c,  /* Comment */
.snippet-code .cm, /* Comment.Multiline */
.snippet-code .cp, /* Comment.Preproc */
.snippet-code .c1, /* Comment.Single */
.snippet-code .cs { /* Comment.Special */
  color: #a0a1a7;
  font-style: italic;
}
.history-header {
  padding:15px 30px 15px 30px;
  margin:0;
  color: #696c77;
  font-size:14px;
  font-weight:400;
  background-color:#e5e5e6;
}
.history-header a:link,
.history-header a:visited {
  font-weight:500;
  color: #4078f2;
  text-decoration:underline;
}
.history-header a:hover,
.history-header a:active {
  color: #0e5ae1;
  text-decoration:underline;
}
.history-header .sep {
  width:0;
  border-right:2px dotted #696c77;
  margin:0 12px 0 10px;
  height:17px;
  padding:0;
}
.history-empty {
  padding:40px 30px 40px 30px;
  color:#a0a1a7;
}


/* Improved Select Dropdowns */
.snippet-form select {
  padding: 8px 32px 8px 12px;
  min-width: 200px;
  background: #f0f0f1;
  border: 1px solid #d4d4d5;
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #383a42;
  transition: all 0.2s ease;
  background-image:
    linear-gradient(45deg, transparent 50%, #696c77 50%),
    linear-gradient(135deg, #696c77 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 14px,
    calc(100% - 11px) 14px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.snippet-form select:hover {
  border-color: #a0a1a7;
}

.snippet-form select:focus {
  border-color: #4078f2;
  outline: none;
  box-shadow: 0 0 0 2px rgba(64, 120, 242, 0.2);
}

/* Dropdown Options Styling */
.snippet-form optgroup {
  padding: 8px 0;
  font-family: 'Inter', sans-serif;
  color: #696c77;
  font-weight: 500;
}

.snippet-form option {
  padding: 8px 12px;
  background: #fafafa;
  color: #383a42;
}

.snippet-form option:checked {
  background: #4078f2;
  color: white;
}

/* Simplified Button Styling */
.form-action .btn,
a.btn[href="/"] {
  padding: 10px 24px;
  background-color: #f0f0f1;
  border: 1px solid #d4d4d5;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.form-action .btn:hover,
a.btn[href="/"]:hover {
  background-color: #4078f2;
  color: white;
  border-color: #4078f2;
  transform: translateY(-1px);
}

.form-action .btn:active,
a.btn[href="/"]:active {
  transform: translateY(0);
}

/* Keyboard Shortcut Styling */
.form-action .sep {
  background: rgba(0, 0, 0, 0.15);
  width: 1px;
  height: 14px;
  margin: 0 8px;
}

/* Checkbox Alignment */
.form-rtl {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Mobile Optimization */
@media (max-width: 700px) {
  .snippet-form select {
    width: 100%;
    min-width: auto;
  }

  .form-action .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Checkbox Styling */
.form-rtl input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #d4d4d5;
  border-radius: 4px;
  background: #f0f0f1;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.form-rtl input[type="checkbox"]:checked {
  background: #4078f2;
  border-color: #4078f2;
}

.form-rtl input[type="checkbox"]:checked::before {
  content: "✓";
  position: absolute;
  top: -1px;
  left: 3px;
  color: white;
  font-size: 14px;
  font-weight: 700;
}

.form-rtl input[type="checkbox"]:hover {
  border-color: #a0a1a7;
}

.form-rtl input[type="checkbox"]:focus {
  outline: 2px solid rgba(64, 120, 242, 0.4);
  outline-offset: 2px;
}

.form-rtl label {
  color: #383a42;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}

ul#snippetOptions {
    padding: 0 30px;
    margin: 0;
    min-height: 40px;
    background-color: #f0f0f1;
    color: #696c77;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #d4d4d5;
}

ul#snippetOptions li.sep {
    height: 24px;
    width: 1px;
    background: #d4d4d5;
    margin: 0 12px;
}

ul#snippetOptions a {
    color: #4078f2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 8px 0;
}

ul#snippetOptions a:hover {
    color: #0e5ae1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

ul#snippetOptions label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #383a42;
    cursor: pointer;
}

ul#snippetOptions li:first-child {
    color: #383a42;
    font-weight: 600;
    font-size: 14px;
    margin-right: 10px;
}

ul#snippetOptions input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #a0a1a7;
  border-radius: 4px;
  background: #ffffff;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

ul#snippetOptions input[type="checkbox"]:checked {
  background: #4078f2;
  border-color: #4078f2;
}

ul#snippetOptions input[type="checkbox"]:checked::before {
  content: "✓";
  position: absolute;
  top: -1px;
  left: 3px;
  color: white;
  font-size: 14px;
  font-weight: 700;
}

ul#snippetOptions input[type="checkbox"]:hover {
  border-color: #696c77;
}

ul#snippetOptions input[type="checkbox"]:focus {
  outline: 2px solid rgba(64, 120, 242, 0.4);
  outline-offset: 2px;
}