html {
  background-color: rgb(255, 255, 255);
  font-family: "Space Mono", monospace;
  font-size: 16px;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
} 

body {
  line-height: 1.75;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 56px;
  background: rgb(20, 20, 20);
  border-bottom: 1px solid rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
}

.nav-logo {
  font-size: 1rem;
  font-style: italic;
  color: rgb(245, 245, 245);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav-logo span {
  color: rgb(245, 245, 245);
  font-style: normal;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}

.nav-links a {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 1.1rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(235, 235, 235);
  text-decoration: none;
  border-bottom: 4px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: rgb(235, 235, 235);
  border-bottom-color: rgb(220, 220, 220);
}

.page-header {
  background: rgb(20, 20, 20);
  color: rgb(220, 220, 220);
  padding: 4rem 2.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.page-header-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  max-width: 640px;
}

.page-header h1 em {
  color: rgb(200, 200, 200);
}

.page-header p {
  margin-top: 1rem;
  font-size: 1rem;
  color: rgba(247,242,232,0.65);
  max-width: 540px;
  font-weight: 300;
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 2.5rem 5rem;
}

.topic {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.bodytext h2 {
  font-size: 1.35rem;
  font-weight: 400;
  margin: 2rem 0 0.75rem;
}

.bodytext h2:first-child { margin-top: 0; }

.bodytext p {
  margin-bottom: 1rem;
  font-size: 0.97rem;
  text-align: justify;
}

.bodytextref p{
  text-align: left;
}

.bodytext p:last-child { margin-bottom: 0; }

.bodytext ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.bodytext ol li {
  font-size: 0.97rem;
  line-height: 2;
  margin-bottom: 1rem;
  text-align: justify;
}

.rule {
  border: none;
  border-top: 1px solid rgb(40, 40, 40);
  margin: 2.5rem 0;
  position: relative;
}

.rule::after {
  background: rgb(255, 255, 255); 
  color: rgb(120, 120, 120);
}

.image-page-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2.5rem;
      align-items: start;
      margin: 2rem 0;
    }

    @media (max-width: 700px) {
        .image-page-grid { grid-template-columns: 1fr; }
    }

    .img-nav {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 0.75rem;
    }

    .nav-btn {
        padding: 5px 14px;
        border: 1px solid rgb(180, 180, 180);
        border-radius: 2px;
        background: transparent;
        color: rgb(60, 60, 60);
        font-family: "Space Mono", monospace;
        font-size: 0.72rem;
        letter-spacing: 0.06em;
        cursor: pointer;
        transition: background 0.15s, color 0.15s;
    }

    .nav-btn:hover:not(:disabled) {
        background: rgb(235, 235, 235);
        color: rgb(20, 20, 20);
    }

    .nav-btn:disabled { opacity: 0.3; cursor: default; }

    .img-counter {
        font-family: "Space Mono", monospace;
        font-size: 0.68rem;
        color: rgb(120, 120, 120);
        letter-spacing: 0.06em;
        margin-left: auto;
    }

    .img-container {
        position: relative;
        width: 100%;
        border: 1px solid rgb(180, 180, 180);
        border-radius: 2px;
        overflow: hidden;
        background: rgb(235, 235, 235);
        cursor: crosshair;
    }

    .img-container img {
        width: 100%;
        height: auto;
        display: block;
    }

    .zone-overlay {
      position: absolute;
      inset: 0;
      pointer-events: none; 
    }

    .zone {
        position: absolute;
        pointer-events: all;
        cursor: pointer;
        border: 1.5px dashed transparent;
        border-radius: 2px;
        transition: background 0.15s, border-color 0.15s;
    }

    .zone:hover {
        background: rgba(20, 20, 20, 0.06);
        border-color: rgba(20, 20, 20, 0.35);
    }


    .zone.active {
        background: rgba(20, 20, 20, 0.08);
        border-color: rgb(20, 20, 20);
    }


    .img-hint {
        font-family: "Space Mono", monospace;
        font-size: 0.65rem;
        color: rgb(120, 120, 120);
        letter-spacing: 0.05em;
        margin-top: 0.5rem;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .img-hint::before {
        content: '';
        display: inline-block;
        width: 10px;
        height: 10px;
        border: 1.5px dashed rgb(20, 20, 20);
        border-radius: 1px;
        flex-shrink: 0;
    }


    .img-caption {
        font-family: "Space Mono", monospace;
        font-size: 0.68rem;
        color: rgb(120, 120, 120);
        margin-top: 0.4rem;
        letter-spacing: 0.04em;
    }

    .img-download {
        display: inline-block;
        margin-top: 0.6rem;
        font-family: "Space Mono", monospace;
        font-size: 0.68rem;
        color: rgb(20, 20, 20);
        letter-spacing: 0.06em;
        text-decoration: none;
        border: 1px solid rgb(40, 40, 40);
        padding: 3px 10px;
        border-radius: 2px;
        transition: background 0.15s;
    }

    .img-download:hover { background: rgb(235, 235, 235); }

    .img-download-row {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 0.6rem;
    }

    .img-download-row .img-download {
        margin-top: 0;
    }

    .trans-right {
      width: 100%;
    }

    .empty-state {
        border: 1px dashed rgb(180, 180, 180);
        border-radius: 2px;
        padding: 2.5rem 1.5rem;
        text-align: center;
        font-size: 0.88rem;
        color: rgb(120, 120, 120);
        font-style: italic;
    }

    .trans-card {
        border: 1px solid rgb(180, 180, 180);
        border-radius: 2px;
        overflow: hidden;
        display: none;
    }

    .trans-card.visible { display: block; }

    .trans-card-header {
        background: rgb(235, 235, 235);
        padding: 0.75rem 1.1rem;
        border-bottom: 1px solid rgb(180, 180, 180);
        display: flex;
        align-items: baseline;
        gap: 0.75rem;
    }

   .trans-card-num {
  font-size: 0.65rem;
  color: rgb(20, 20, 20);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trans-card-title {
  font-size: 0.82rem;
  color: rgb(120, 120, 120);
  font-style: italic;
}

.trans-tabs {
  display: flex;
  border-bottom: 1px solid rgb(180, 180, 180);
  background: rgb(235, 235, 235);
}

.trans-tab {
  flex: 1;
  padding: 8px 4px;
  font-family: "Space Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  color: rgb(120, 120, 120);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.trans-tab:hover { color: rgb(60, 60, 60); }

.trans-tab.active {
  color: rgb(20, 20, 20);
  border-bottom-color: rgb(20, 20, 20);
}

.trans-body {
  padding: 1.1rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgb(60, 60, 60);
}

.trans-body.is-original { font-style: italic; }

.trans-download {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: "Space Mono", monospace;
  font-size: 0.68rem;
  color: rgb(20, 20, 20);
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1px solid rgb(40, 40, 40);
  padding: 5px 12px;
  border-radius: 2px;
  transition: background 0.15s;
}

.trans-download:hover { background: rgb(235, 235, 235); }

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: stretch; 
}

.about-grid img {
  width: 100%;
  object-fit: cover;
  border: 1px solid rgb(180, 180, 180);
  border-radius: 2px;
  display: block;
}

.img-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.6rem 1rem;
  background: rgb(20, 20, 20);
  border-bottom: 1px solid rgb(40, 40, 40);
}

.img-toolbar .img-counter {
  color: rgb(180, 180, 180);
}

.img-toolbar .img-hint {
  margin-left: auto;
  margin-top: 0;
  color: rgb(120, 120, 120);
  border: none;
}

.img-toolbar .img-hint::before {
  border-color: rgb(120, 120, 120);
}

.img-toolbar .nav-btn {
  border-color: rgb(80, 80, 80);
  color: rgb(200, 200, 200);
}

.img-toolbar .nav-btn:hover:not(:disabled) {
  background: rgb(40, 40, 40);
  color: rgb(255, 255, 255);
}

.artefact-main {
  max-width: 80%;
  padding: 2rem 0 5rem 0;
}

.image-page-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;  
  gap: 0;
  align-items: start;
  margin: 0;
}

@media (max-width: 700px) {
  .image-page-grid { grid-template-columns: 1fr; }
}

.img-container {
  position: relative;
  width: 100%;
  border: none;           
  border-right: 1px solid rgb(220, 220, 220);
  border-radius: 0;       
  overflow: hidden;
  background: rgb(30, 30, 30);  
  cursor: crosshair;
}

.img-container img {
  width: 100%;
  height: auto;
  display: block;
}

.trans-right {
  width: 100%;
  padding: 1.5rem 2rem;
  position: sticky;
  top: 56px;             
}

.meta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-top: 1rem;
}

.meta-table tr {
  border-bottom: 1px solid rgb(220, 220, 220);
}

.meta-table tr:first-child {
  border-top: 1px solid rgb(220, 220, 220);
}

.meta-table td {
  padding: 0.6rem 0;
  vertical-align: top;
}

.meta-table td:first-child {
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: rgb(20, 20, 20);
  font-weight: 700;
  width: 180px;
  padding-right: 1rem;
  padding-top: 0.75rem;
}

.meta-table td:last-child {
  color: rgb(60, 60, 60);
}

.tts-bar {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid rgb(180, 180, 180);
  background: rgb(245, 245, 245);
}

.tts-btn {
  font-family: "Space Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid rgb(40, 40, 40);
  border-radius: 2px;
  background: transparent;
  color: rgb(20, 20, 20);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.tts-btn:hover {
  background: rgb(20, 20, 20);
  color: rgb(255, 255, 255);
}

.tts-btn.speaking {
  background: rgb(20, 20, 20);
  color: rgb(255, 255, 255);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  border: 1px solid rgb(60, 60, 60);
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 32px;
  height: 32px;
  background: rgb(20, 20, 20);
  border: 1px solid rgb(80, 80, 80);
  border-radius: 50%;
  color: rgb(220, 220, 220);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgb(255, 255, 255);
  color: rgb(20, 20, 20);
}

.zoom-btn {
  margin-left: auto;
}

.para-block {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgb(235, 235, 235);
  cursor: pointer;
  transition: background 0.15s;
}

.para-block:last-child {
  border-bottom: none;
}

.para-block:hover {
  background: rgb(248, 248, 248);
}

.para-block-active {
  background: rgb(235, 235, 235);
  border-left: 3px solid rgb(20, 20, 20);
}

.para-block p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgb(60, 60, 60);
}

.para-block p.is-original {
  font-style: italic;
}

.xml-viewer-wrap { margin: 2rem 0; }

    .xml-file-tabs {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      margin-bottom: 1rem;
    }

    .xml-file-tab {
      font-family: "Space Mono", monospace;
      font-size: 0.65rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 6px 14px;
      border: 1px solid rgb(180, 180, 180);
      border-radius: 2px;
      background: transparent;
      color: rgb(120, 120, 120);
      cursor: pointer;
      transition: background 0.15s, color 0.15s, border-color 0.15s;
    }

    .xml-file-tab:hover {
      background: rgb(235, 235, 235);
      color: rgb(20, 20, 20);
    }

    .xml-file-tab.active {
      background: rgb(20, 20, 20);
      color: rgb(255, 255, 255);
      border-color: rgb(20, 20, 20);
    }

    .xml-box {
      background: rgb(20, 20, 20);
      border-radius: 2px;
      overflow: hidden;
      border: 1px solid rgb(40, 40, 40);
    }

    .xml-box-toolbar {
      background: rgb(30, 30, 30);
      padding: 0.5rem 1rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid rgb(40, 40, 40);
    }

    .xml-box-filename {
      font-family: "Space Mono", monospace;
      font-size: 0.65rem;
      letter-spacing: 0.08em;
      color: rgb(160, 160, 160);
    }

    .xml-box-actions {
      display: flex;
      gap: 8px;
      align-items: center;
    }

    .xml-copy-btn {
      font-family: "Space Mono", monospace;
      font-size: 0.62rem;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      padding: 3px 10px;
      border: 1px solid rgb(80, 80, 80);
      border-radius: 2px;
      background: transparent;
      color: rgb(160, 160, 160);
      cursor: pointer;
      transition: background 0.15s, color 0.15s;
    }

    .xml-copy-btn:hover {
      background: rgb(50, 50, 50);
      color: rgb(220, 220, 220);
    }

    .xml-download-btn {
      font-family: "Space Mono", monospace;
      font-size: 0.62rem;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      padding: 3px 10px;
      border: 1px solid rgb(80, 80, 80);
      border-radius: 2px;
      background: transparent;
      color: rgb(160, 160, 160);
      text-decoration: none;
      transition: background 0.15s, color 0.15s;
    }

    .xml-download-btn:hover {
      background: rgb(50, 50, 50);
      color: rgb(220, 220, 220);
    }

    .xml-content {
      padding: 1.25rem 1.5rem;
      font-family: "Space Mono", monospace;
      font-size: 0.75rem;
      line-height: 1.9;
      overflow-x: auto;
      white-space: pre-wrap;      
      word-break: break-word; 
      color: rgb(200, 200, 200);
      max-height: 520px;
      overflow-y: auto;
    }

    .xt { color: rgb(120, 180, 255); }
    .xa { color: rgb(255, 180, 100); }
    .xv { color: rgb(150, 210, 150); }
    .xc { color: rgb(100, 110, 120); }

    .xml-loading {
      padding: 2rem;
      text-align: center;
      font-family: "Space Mono", monospace;
      font-size: 0.72rem;
      color: rgb(100, 100, 100);
      letter-spacing: 0.06em;
    }

    .xml-error {
      padding: 2rem;
      text-align: center;
      font-family: "Space Mono", monospace;
      font-size: 0.72rem;
      color: rgb(200, 100, 100);
      letter-spacing: 0.06em;
      line-height: 1.8;
    }

    .copy-confirm {
      font-family: "Space Mono", monospace;
      font-size: 0.62rem;
      color: rgb(100, 200, 100);
      letter-spacing: 0.07em;
    }

    /* ── TAGS TWO COLUMN ── */
    .tags-two-col {
      display: grid;
      grid-template-columns: 3fr 2fr;
      gap: 3rem;
      margin: 1.5rem 0;
      align-items: start;
    }

    @media (max-width: 700px) {
      .tags-two-col { grid-template-columns: 1fr; gap: 2rem; }
    }

    code {
      font-family: "Space Mono", monospace;
      font-size: 0.82em;
      color: rgb(20, 20, 20);
      background: rgb(235, 235, 235);
      padding: 1px 5px;
      border-radius: 2px;
    }

footer {
  background: rgb(20, 20, 20);
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer p {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(245, 245, 245);
}

.workspace-layout {
    display: grid;
    grid-template-columns: 2fr 3fr; /* Now properly using grid! */
    align-items: flex-start;
    gap: 30px; 
    margin-top: 20px;
}

.workspace-image {
    position: relative;
    min-height: 100%;
    width: 100%; 
}

.workspace-image img {
    width: 100%; 
    height: 100%;
    object-fit: cover;      
    border-radius: 4px; 
    display: block; 
    border: 1px solid rgb(180, 180, 180);
    cursor: pointer;
    transition: opacity 0.2s;
}

.workspace-image img:hover {
    opacity: 0.88;
}

.workspace-text {
    min-width: 0; 
}

@media (max-width: 768px) {
    .workspace-layout {
        grid-template-columns: 1fr; 
    }
}

.modal-content {
    width: 600px; 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); 
    margin: 0;
}

.modal {
    display: none; 
    position: absolute; 
    z-index: 1000; 
}

.iteration-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; 
    margin-top: 30px;
    margin-bottom: 30px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.gallery-item .caption {
    text-align: center; 
    font-size: 0.85em;
    margin-top: 8px;
}


@media (max-width: 768px) {
    .iteration-gallery {
        grid-template-columns: 1fr; 
    }
}

.iteration-gallery.two-col {
    grid-template-columns: repeat(2, 1fr);
}

.metadata-image {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.metadata-image:hover {
    opacity: 0.88;
}

.book-showcase-grid {
    display: flex;
    justify-content: center; 
    gap: 40px; 
    width: 100%;
    margin-top: 40px;
}

.book-showcase-grid .gallery-item {
    display: flex;
    flex-direction: column;
    width: 37.5%;
}

.book-showcase-grid .gallery-item .img-frame {
    width: 100%;
    background: transparent; 
    display: flex;
    align-items: flex-start; 
    justify-content: center;
}


.book-showcase-grid .gallery-item .img-frame img {
    width: 100%;
    height: auto; 
    display: block;
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.book-showcase-grid .caption {
    text-align: center;
    margin-top: 12px;
    font-size: 0.85em;
    font-style: italic;
    color: rgb(100, 100, 100);
}


@media (max-width: 768px) {
    .book-showcase-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .book-showcase-grid .divider {
        display: none;
    }
    .book-showcase-grid .gallery-item .img-frame {
        height: 200px;
    }
}

@media (max-width: 500px) {
    .book-showcase-grid {
        grid-template-columns: 1fr;
    }
}

.image-compare-container {
    position: relative;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgb(180, 180, 180);
    margin-top: 5px;
}

.compare-base {
    display: block;
    width: 100%;
    height: auto;
}


.compare-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%); 
}


.compare-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0; 
    cursor: ew-resize; 
    z-index: 10;
}


.compare-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgb(255, 255, 255);
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    z-index: 5;
    pointer-events: none; 
}

.compare-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: rgb(20, 20, 20);
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
}


.help-btn {
    position: absolute;
    top: 4.5rem; 
    right: 2.5rem; 
    width: 32px;
    height: 32px;
    background: transparent;
    color: white;
    border: 1.5px solid white;
    border-radius: 2px;
    font-family: "Space Mono", monospace;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10; 
}

.help-btn:hover {
    background: white;
    color: black;
}


.help-modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.help-modal-content {
    background-color: rgb(250, 250, 250);
    margin: 10% auto;
    width: 90%;
    max-width: 500px;
    border: 1px solid rgb(200, 200, 200);
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.help-modal-header {
    background-color: rgb(240, 240, 240);
    border-bottom: 1px solid rgb(220, 220, 220);
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Space Mono", monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgb(20, 20, 20);
}

.close-help-btn {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.75rem;
    cursor: pointer;
    color: rgb(100, 100, 100);
}

.close-help-btn:hover {
    color: black;
}

.help-modal-body {
    padding: 1.5rem;
    color: rgb(40, 40, 40);
}

.help-modal-body ul {
    margin-top: 1rem;
    padding-left: 1.2rem;
}

.help-modal-body li {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}
/* --- Unique styles moved from process.html --- */

.page-header a {
  color: rgb(200, 200, 200);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.page-header a:hover { 
  color: rgb(255, 255, 255); 
}

.img-click-hint {
  font-family: "Space Mono", monospace;
  font-size: 0.65rem;
  color: rgb(120, 120, 120);
  letter-spacing: 0.05em;
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.img-click-hint::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1.5px dashed rgb(20, 20, 20);
  border-radius: 1px;
  flex-shrink: 0;
}

.caption {
  font-family: "Space Mono", monospace;
  font-size: 0.65rem;
  color: rgb(120, 120, 120);
  letter-spacing: 0.04em;
  margin-top: 0.4rem;
}

.iteration-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
}