
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    }

    html, body {
      font-family: "Lato", Georgia, serif;
      font-size: 14px;
      color: #202122;
      background: #ffffff;
      line-height: 1.6;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 40px;
      border-bottom: 1.2px solid #d6d6d6;
      background: #fff;
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .back-button {
       background-color: rgb(29, 29, 29);
      padding: 8px 12px;
      border-radius: 20px;
      cursor: pointer;
      color: white;
      font-size: 13px;
    }

    .steps-container{
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
    }

    .back-button:hover{
      background-color: #2d2d2d;
    }

    nav a {
        text-decoration: none;
    }

    .wiki-layout {
      display: flex;
      max-width: 1180px;
      margin: 0 auto;
      padding: 28px 24px 48px;
      gap: 50px;
      width: 100%;
      flex: 1;
    }

    .toc {
      width: 210px;
      flex-shrink: 0;
      position: sticky;
      top: 60px;
      height: 100vh;
    }

    .toc-overlay {
    display: none;
    }

    .toc-inner {
      padding: 0;
      font-size: 14px;
    }

    .toc-heading {
      font-weight: 700;
      font-size: 15px;
      margin-bottom: 5px;
    }

    .hide-button, .show-button {
        background-color: #e9e9e9;
        padding: 5px 7px;
        font-size: 11px;
        cursor: pointer;
      height: 30px;
    }
      .hide-button:hover, .show-button:hover {
        background-color: #f1f1f1;
      }

    .hide-button {
        margin: 0 0 0 8px;
    }

    .show-button {
        display: none;
        font-weight: 700;
        position: sticky;
        top: 60px;
    }

    .toc ol {
      padding-left: 0;
      margin: 0;
    }

    .toc li {
    margin: 10px 0;
    line-height: 1.45;
    }
    .toc a {
    color: #3366cc;
    text-decoration: none;
    transition: color 0.2s;
    }
    .toc a:hover {
     text-decoration: underline;
    }
    .toc ol ol {
     padding-left: 14px;
     margin-top: 2px;
    }
    .toc ol ol li {
     font-size: 13px;
    }

    .toc a.toc-active {
      color: #1c4fbe;
      font-weight: 700;
    }

    h2, h3, li[id]{
    scroll-margin-top: 70px;
    }

    .article {
        flex: 1;
        min-width: 0;
    }

    .article-title {
      font-size: 30px;
      font-weight: 530;
      border-bottom: 1px solid #d6d6d6;
      padding-bottom: 0;
      margin-bottom: 19px;
      font-family: "Georgia";
    }

    #description, #research, #how-to-use, #tasks, #author {
        font-weight: 500;
        font-family: "Georgia";
        font-size: 23px;
    }

    .article p {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 14px;
    }

    .article h2 {
      font-size: 19px; font-weight: 400;
      border-bottom: 1px solid #d6d6d6;
      padding-bottom: 4px; margin: 30px 0 12px;
    }
    .article h3 {
        font-size: 15px;
        font-weight: 700;
        margin: 20px 0 8px;
    }
    .article a { color: #3366cc; text-decoration: none; }
    .article a:hover { text-decoration: underline; }
    .article ul { margin: 8px 0 14px 22px; line-height: 1.9; }

    code {
      background: #f4f4f4;
      border: 1px solid #ddd;
      padding: 0 4px;
      border-radius: 2px;
      font-family: monospace;
      font-size: 12.5px;
    }

    #search-bar {
      width: 240px;
      border-radius: 18px;
      padding: 9px 12px;
      outline: none;
      border: 1px solid #d2d2d2;
      background-color: #f8f8f8;
    }

    .wiki-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
      margin: 10px 0 18px;
    }
    .wiki-table th {
      background: #eaecf0;
      padding: 6px 10px;
      text-align: left;
      font-weight: 600;
      border: 1px solid #a2a9b1;
    }
    .wiki-table td {
      padding: 6px 10px;
      border: 1px solid #a2a9b1;
      vertical-align: top; line-height: 1.55;
    }
    .wiki-table tr:nth-child(even) td {
        background: #f8f9fa;
    }

    .steps {
        margin: 10px 0 10px 23px;
    }
    .steps li {
      margin-bottom: 9px;
      font-size: 13.5px; line-height: 1.6;
    }

    .side-list,
    .side-list ol {
    list-style: none;
    padding: 0;
    }

    .note-box {
      background: #f4f8fb;
      border: 1px solid #e4f3fc;
      padding: 10px 14px; border-radius: 2px;
      font-size: 13px; margin: 12px 0; line-height: 1.6;
    }
    .note-box strong { color: #163e94; }


    .article-title-wrap {
        margin-top: 15px;
    }

    .reflist {
      font-size: 12.5px;
      columns: 2;
      column-gap: 20px;
      margin: 10px 0 0;
      padding-left: 18px;
    }

    .reflist li {
        margin-bottom: 5px;
        break-inside: avoid;
        line-height: 1.5; }

    .cf::after {
        content: "";
        display: table;
        clear: both;
    }

    footer {
      background: #f2f2f2;
      padding: 14px 0 14px 12px;
      border-top: 1px solid #d6d6d6;
      font-size: 13px; color: #666; margin-top: auto;
    }

    footer a {
      color: #3366cc;
      text-decoration: none;
    }
    footer a:hover{
    text-decoration: underline;
    }
    .footer-inner{
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 0 28px;
    flex-wrap: wrap;
    }

    @media (max-width: 768px) {
      .wiki-layout {
        flex-direction: column;
        padding: 16px;
        }
      .toc {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 260px;
    background: #fff;
    z-index: 200;
    overflow-y: auto;
    padding: 20px 16px;
    display: none;
  }

  .toc-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 199;
  }
.toc.open {
  display: block;
}
  .toc-overlay.open {
    display: block;
  }
      nav {
        padding: 8px 16px;
        }
      .reflist{
        columns: 1;
        }
      .back-button {
        display: none;
      }
      #search-bar{
        width: 200px;
      }
      footer, .footer-inner{
        padding: 6px;
      }
      .footer-inner{
        gap: 10px;
      }
      .show-button {
        width: 80px;
        text-align: center;
      }
      .wiki-layout {
        gap: 0px;
      }

    }
