:root {
    --yellow: #d6c698;
    --grey: #959595;
    --white: #c9c9c9;
    --black: #171717;
  }

  html {
    scroll-behavior: smooth;
  }
  
  ::selection {
    color: var(--black);
    background-color: var(--yellow);
  }
  
  ::-moz-selection {
    color: var(--black);
    background-color: var(--yellow);
  }
  
  ::-webkit-selection {
    color: var(--black);
    background-color: var(--yellow);
  }
  
  body {
    background-color: var(--black);
    color: var(--white);  
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
  }
  
  #page-title {
    font-size: 25px;
    font-weight: 900;
    margin-bottom: 10px;
    text-align: left;
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
    box-sizing: border-box;
  }

  #sub-title {
    border-bottom: 1px solid var(--grey);
    padding-bottom: 20px;
    padding-left: 5px;
    color: var(--grey);
    font-size: 14px;
    margin-bottom: 5px;
  }
  
  #maindivholder {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    margin-top: 10vw;
    margin-bottom: 10vw;
    padding: 20px;
  }
  
  .article-holder {
    margin-bottom: 50px;
  }
  
  .article-date {
    color: var(--grey);
    font-size: 14px;
    font-weight: 400;
    padding-left: 5px;
    margin-bottom: 10px;
  }
  
  .article-title {
    font-size: 20px;
    font-weight: 500;
  }
  
  .todo {
    color: #505050;
  }
  
  .interns {
    color: #f64e4e;
  }
  
  .green {
    color: #428842;
  }
  
  .future {
    color: #f68c4e;
  }
  
  .category-title {
    color: var(--yellow);
    font-size: 25px;
    font-weight: 700;
    margin-top: 60px;
    margin-bottom: 40px;
  }
  
  .article-holder:has(.future) {
    display: none;
  }
  
  .article-content {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 24px;
    padding-left: 5px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .article-content p {
    margin-bottom: 25px;
  }
  
  .back-link {
    margin-top: 0;
  }
  
  .back-link a {
    user-select: none;
    color: var(--yellow);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
  }
  
  .meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-left: 5px;
    padding-right: 5px;
  }
  
  a {
    color: var(--yellow);
    text-decoration: underline;
    font-weight: bold;
  }
  
  .article-content img {
    max-width: calc(100% + 5px);
    height: auto;
    opacity: 0.85;
    margin-bottom: 10px;
    user-select: none;
    pointer-events: none;
    margin-left: -5px;
  }
  
  .graph-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
    line-height: 20px;
    margin-top: 30px;
    text-align: center;
  }
  
  .byline {
    color: var(--grey);
    font-size: 14px;
    font-weight: 400;
  }
  
  .footnotes {
    font-size: 14px;
    line-height: 19px;
    margin-top: 30px;
    color: var(--grey);
  }
  
  .footnotes a {
    color: var(--grey);
  }
  
  .bottom-nav {
    display: flex;
    justify-content: left;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  .bottom-nav a {
    color: var(--yellow);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
  }

  .copyright {
    margin-top: 80px;
    user-select: none;
    pointer-events: none;
    text-align: center;
    color: #505050;
    font-style: italic;
  }

  ul, ol {
    padding-left: 20px;
  }
  li {
    margin-top: 5px;
  }

  .article-content blockquote {
    margin: 0 0 25px 0;
    padding: 16px 18px;
    background: #1f1f1f;
    color: var(--white);
    font-size: 15px;
    line-height: 22px;
  }

  .article-content blockquote p {
    margin-bottom: 12px;
  }

  .article-content blockquote p:last-child {
    margin-bottom: 0;
  }

  .article-content pre {
    margin: 0 0 25px 0;
    padding: 14px 16px;
    background: #1f1f1f;
    border: 1px solid #2a2a2a;
    overflow-x: auto;
    font-size: 13px;
    line-height: 20px;
    color: var(--yellow);
    white-space: pre-wrap;
    word-break: break-word;
  }

  .article-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.92em;
  }

  .article-content p code,
  .article-content li code {
    background: #1f1f1f;
    padding: 1px 5px;
    border: 1px solid #2a2a2a;
    color: var(--yellow);
  }

  .article-callout {
    margin: 0 0 30px 0;
    padding: 14px 16px;
    background: #1f1f1f;
    border: 1px solid var(--yellow);
    color: var(--white);
    font-size: 14px;
    line-height: 22px;
  }

  .article-callout p {
    margin: 0 0 10px;
  }

  .article-callout a {
    text-decoration: none;
  }

  .article-content .example-box {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 25px 0;
    padding: 10px 12px;
    background: #1f1f1f;
    border: 1px solid #2a2a2a;
    color: var(--yellow);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 13px;
    line-height: 20px;
    outline: none;
  }

  .article-content .example-box.tight {
    margin-bottom: 10px;
  }

  .link-generator {
    margin: 40px 0 10px 0;
    padding: 18px;
    background: #1f1f1f;
    border: 1px solid #2a2a2a;
    scroll-margin-top: 100px;
  }

  .link-generator-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
  }

  .link-generator-note {
    color: var(--grey);
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 16px;
  }

  .link-generator-section-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.35;
  }

  .link-generator-example {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 16px;
    padding: 12px 14px;
    background: #161616;
    border: 1px solid #2a2a2a;
    color: var(--grey);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
  }

  .link-generator-hint {
    color: var(--grey);
    font-size: 12px;
    line-height: 17px;
    margin: -6px 0 14px;
  }

  .doc-optional {
    margin: 0 0 16px;
    border: 1px solid #2a2a2a;
    background: #1a1a1a;
    padding: 12px 14px;
  }

  .doc-optional-lead {
    margin: 0 0 12px;
  }

  .doc-optional > summary {
    list-style: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: var(--grey);
    user-select: none;
    line-height: 1.35;
  }

  .doc-optional > summary::-webkit-details-marker {
    display: none;
  }

  .doc-optional > summary::before {
    content: "▸";
    display: inline-block;
    width: 1em;
    text-align: center;
    color: var(--grey);
  }

  .doc-optional[open] > summary::before {
    content: "▾";
  }

  .doc-optional > summary:hover {
    color: var(--white);
  }

  .doc-optional-tag {
    font-weight: 400;
    color: #666;
  }

  .doc-optional-body {
    margin-top: 14px;
  }

  .doc-dropzone {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 14px;
    padding: 22px 14px;
    border: 1px dashed #444;
    background: var(--black);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
  }

  .doc-dropzone:hover,
  .doc-dropzone:focus {
    border-color: var(--yellow);
    outline: none;
  }

  .doc-dropzone.is-dragover {
    border-color: var(--yellow);
    background: #1a1a1a;
  }

  .doc-dropzone-title {
    font-size: 14px;
    color: var(--white);
    margin-bottom: 4px;
  }

  .doc-dropzone-sub {
    font-size: 12px;
    color: var(--grey);
  }

  .doc-dropzone-filename {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
  }

  .doc-dropzone-filename[hidden] {
    display: none;
  }

  .doc-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--yellow);
    word-break: break-all;
  }

  .doc-file-remove {
    flex-shrink: 0;
    margin: 0;
    padding: 0 4px;
    background: transparent;
    border: none;
    color: var(--grey);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
  }

  .doc-file-remove:hover {
    color: var(--white);
  }

  .doc-dropzone.has-file {
    border-color: var(--yellow);
  }

  .doc-submit-btn {
    display: inline-block;
    margin: 0 0 14px;
    padding: 8px 12px;
    background: var(--yellow);
    border: 1px solid var(--yellow);
    color: var(--black);
    font-size: 13px;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.2;
    cursor: pointer;
  }

  .doc-submit-btn:hover:not(:disabled) {
    filter: brightness(1.05);
  }

  .doc-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  .doc-submit-btn[hidden] {
    display: none;
  }

  .doc-status {
    font-size: 12px;
    line-height: 16px;
    margin: -4px 0 14px;
    color: var(--grey);
  }

  .doc-status[data-kind="ok"] {
    color: var(--yellow);
  }

  .doc-status[data-kind="error"] {
    color: #c98989;
  }

  .doc-status[data-kind="pending"] {
    color: var(--grey);
  }

  .doc-share {
    margin: -6px 0 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .doc-share[hidden] {
    display: none;
  }

  .doc-share-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--grey);
    margin-bottom: 4px;
    word-break: break-all;
  }

  .doc-share .link-output-row {
    margin: 0;
  }

  .link-generator .doc-share .doc-open-btn {
    background: transparent;
    color: var(--yellow);
    border-left: 1px solid #333;
  }

  .link-generator .doc-share .doc-open-btn:hover {
    background: #2a2a2a;
  }

  .link-generator label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--grey);
    margin-bottom: 6px;
  }

  .link-generator textarea,
  .link-generator input[type="text"],
  .link-generator .prompt-editable {
    width: 100%;
    box-sizing: border-box;
    background: var(--black);
    color: var(--white);
    border: 1px solid #333;
    padding: 10px 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 14px;
    outline: none;
  }

  .link-generator textarea:focus,
  .link-generator input[type="text"]:focus,
  .link-generator .prompt-editable:focus {
    border-color: var(--yellow);
  }

  .link-generator textarea,
  .link-generator .prompt-editable {
    min-height: 120px;
    height: 120px;
    resize: none;
    overflow-y: hidden;
  }

  .link-generator .prompt-editable {
    white-space: pre-wrap;
    word-break: break-word;
  }

  .link-generator .url-chip {
    display: inline;
    color: var(--yellow);
    background: #2a2a2a;
    border-bottom: 1px solid var(--yellow);
    padding: 0 2px;
    user-select: all;
    cursor: default;
    -webkit-user-modify: read-only;
  }

  .link-generator .add-doc-link-btn {
    display: inline-block;
    margin: 0 0 14px;
    padding: 5px 9px;
    background: transparent;
    border: 1px solid var(--yellow);
    color: var(--yellow);
    font-size: 11px;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.2;
    cursor: pointer;
  }

  .link-generator .add-doc-link-btn:hover {
    background: var(--yellow);
    color: var(--black);
  }

  .link-generator .add-doc-link-btn[hidden] {
    display: none;
  }

  .link-generator-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
  }

  .link-generator .toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    cursor: pointer;
    font-weight: 400;
    color: var(--white);
    font-size: 14px;
    user-select: none;
  }

  .link-generator .toggle input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
  }

  .link-generator .toggle-track {
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
    width: 40px;
    height: 22px;
    background: #333;
    border: 1px solid #444;
    border-radius: 999px;
    transition: background 0.15s ease, border-color 0.15s ease;
  }

  .link-generator .toggle-track::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--grey);
    transform: translateY(-50%);
    transition: transform 0.15s ease, background 0.15s ease;
  }

  .link-generator .toggle input:checked + .toggle-track {
    background: var(--yellow);
    border-color: var(--yellow);
  }

  .link-generator .toggle input:checked + .toggle-track::after {
    transform: translate(18px, -50%);
    background: var(--black);
  }

  .link-generator .toggle-label {
    line-height: 1.3;
  }

  .link-generator-outputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .link-output {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .link-output-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--grey);
  }

  .link-output-row {
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
    height: 40px;
    border: 1px solid #333;
    background: var(--black);
    overflow: hidden;
  }

  .link-generator .link-output-row input[type="text"] {
    flex: 1;
    min-width: 0;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0 12px;
    font-size: 12px;
    line-height: 40px;
    color: var(--grey);
    background: transparent;
    border: none;
    border-radius: 0;
    outline: none;
  }

  .link-generator .link-output-row input[type="text"]:focus {
    border: none;
  }

  .link-generator .link-output-row button {
    flex-shrink: 0;
    align-self: stretch;
    margin: 0;
    padding: 0 14px;
    background: var(--yellow);
    border: none;
    border-radius: 0;
    color: var(--black);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
  }