
      :root {
        --ink: #111;
        --muted: #5f6368;
        --bg: #f4f6f8;
        --panel: #ffffff;
        --line: #e6e8ec;
        --lab: #202020;
        --accent: #49b6ff;
      }

      * {
        box-sizing: border-box;
      }
      body {
        margin: 0;
       font-family: Arial, Helvetica, sans-serif;
        background: var(--bg);
        color: var(--ink);
      }

      .lab-header {
        background: var(--lab);
        padding: 22px 16px;
        text-align: center;
      }
      .lab-header h1 {
        margin: 0;
        color: #fff;
        font-size: 36px;
        font-weight: 800;
      }
      .lab-header h1 span {
        color: var(--accent);
        font-style: italic;
      }
 .wrap {
        max-width: 900px;
        margin: 0 auto;
        padding: 28px 16px 40px;
      }

      .tier-head {
        background: var(--panel);
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 18px;
      }
      .tier-head h2 {
        margin: 0 0 6px 0;
        font-size: 22px;
      }
      .tier-head .sub {
        font-size: 15px;
        color: var(--muted);
      }
      .mechanism {
        margin-top: 10px;
        font-size: 15px;
        color: #3a3a3a;
        font-weight: 600;
      }

      .chip-wrap {
        margin-top: 18px;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
      }
      .chip {
        display: inline-block;
        padding: 8px 12px;
        border-radius: 999px;
        border: 1px solid var(--line);
        background: #fff;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        color: #111;
		transition: all 0.15s ease;
      }
	   .chip:hover {
        border-color: #cfd6de;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
      }

      .struct-note {
        margin-top: 26px;
        background: var(--panel);
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 16px;
        font-size: 16px;
        line-height: 1.5;
        color: #333;
      }
	  
	  
	  /* ==========  LAB FOOTER============= */

    .lab-footer {
        margin-top: 40px;
        background: var(--lab);
        color: #bdbdbd;
        padding: 20px 16px;
        text-align: center;
        font-size: 12.5px;
      }

    .lab-footer p {
        max-width: 900px;
        margin: 0 auto;
      }

    .lab-footer a {
        color: #bfe8ff;
        text-decoration: none;
     }
	.lab-footer a:hover {
        text-decoration: underline;
     }

     .lab-footer::after {
        content: "Ads may be shown to support this educational project.";
        display: block;
        margin-top: 12px;
        font-size: 0.85em;
        opacity: 0.6;
     }
	 

	
      
     
	  
	  
	  
	  
	  
	  
	  
	  
	  	  /* ===== Breadcrumbs ===== */

.breadcrumbs {
  max-width: 1000px;
  margin: 14px auto 0;
  padding: 0 16px;
  font-size: 13px;
  color: #777;
}

.breadcrumbs a {
  color: #888;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  color: #aaa;
  margin: 0 6px;
}

.breadcrumbs .current {
  color: #111;
  font-weight: 600;
}
/* ===== Tier Footer Navigation ===== */

.tier-footer {
  max-width: 1000px;
  margin: 50px auto 20px;
  padding: 20px 16px;
  border-top: 1px solid #e6e8ec;
}

.tier-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.tier-link {
  flex: 1;
  min-width: 140px;
  text-decoration: none;
  padding: 12px 14px;
  border: 1px solid #e6e8ec;
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  text-align: center;
  transition: all .15s ease;
}

.tier-link:hover {
  border-color: #cfd6de;
  box-shadow: 0 3px 8px rgba(0,0,0,.04);
}

.tier-cta {
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  background: #f4f6f8;
  border: 1px solid #e6e8ec;
  text-align: center;
}

.tier-cta button {
  margin-top: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  background: #111;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.tier-cta button:hover {
  opacity: 0.9;
}
      .pdf-download {
        margin-top: 32px;
        padding: 16px;
        border: 1px solid #e6e8ec;
        border-left: 4px solid #989898;
        border-radius: 6px;
        background: #f9f9f9;
        font-size: 13.5px;
      }

      .pdf-download a {
        text-decoration: none;
        font-weight: 700;
        color: #111;
      }

      .pdf-download a:hover {
        text-decoration: underline;
      }

      .pdf-note {
        margin-top: 6px;
        font-size: 12.5px;
        color: #000000;
      }
	   .map {
        display: grid;
        gap: 10px;
        margin-top: 10px;
      }
      .map .row {
        display: flex;
        gap: 10px;
        align-items: flex-start;
        padding: 10px 12px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #fff;
      }
      .map .term {
        min-width: 140px;
        font-weight: 800;
      }
      .map .arrow {
        color: var(--muted);
        font-weight: 700;
      }
      .map .say {
        font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
        font-size: 13px;
      }
	   .tier-alert {
        margin-top: 18px;
        padding: 16px;
        border: 1px solid #e6e8ec;
        border-left: 4px solid #d9534f; /* subtle alert */
        border-radius: 3px;
        background: #fff8f8;
        font-size: 13.5px;
        line-height: 1.5;
      }

      .tier-alert strong {
        display: block;
        font-size: 14px;
        margin-bottom: 6px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
      }

      .tier-alert .muted {
        color: #444;
      }
	    .distinct {
        margin-top: 18px;
        background: var(--panel);
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 16px;
      }
      .distinct h3 {
        margin: 0 0 10px 0;
        font-size: 16px;
      }
        .mechanic {
        margin-top: 6px;
        font-size: 15px;
        color: #666;
      }
	   @media (max-width: 600px) {
        .chip-wrap {
          flex-direction: column;
          align-items: stretch;
        }

        .chip {
          display: block;
          width: 100%;
          text-align: center;
        }
      }

 .chip-wrap {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        background: var(--panel);
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 18px;
      }
      .chip-sub {
        display: block;
        font-size: 15px;
        opacity: 0.65;
        margin-top: 2px;
        letter-spacing: 0.2px;
      }
        .driver-chip {
        display: inline-block;
        padding: 8px 12px;
     /*   border-radius: 999px;
        border:1px solid var(--line); */
		
		
		border-radius: 3px;
        border-left: 4px solid var(--line); 
        background: #fff;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        color: #111;
        transition: all 0.15s ease;
      }

    /*  .driver-chip:hover {
        border-color: #cfd6de;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
      }  */
      .driver-chip a {
        text-decoration: none;
        color: inherit;
        display: inline-block;
      }
      .driver-chip:hover,
      .driver-chip a:hover {
        text-decoration: none;
      } 
	    .driver-wrap {
        margin-top: 18px;
        margin-bottom: 14px;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }

      .driver-block {
        margin-bottom: 26px;
        padding-bottom: 18px;
        border-bottom: 1px solid var(--line);
      }

      .driver-block:last-child {
        border-bottom: none;
      }

      .driver-block .chip {
        display: inline-block;
        margin-bottom: 5px;
      }

      .driver-desc {
        margin-top: 10px;
        background: var(--panel);

        padding: 16px;
        font-size: 14px;
        line-height: 1.5;
        color: #333;
      }
	   .driver-desc {
        font-family: "Verdana", "Trebuchet MS", sans-serif;
        letter-spacing: 0.2px;
      }
	   .driver-block {
        font-family: "Segoe UI", "Helvetica Neue", sans-serif;
      }
	   
	   
	   .closing-line {
        font-style: italic;
        margin-top: 18px;
        font-style: italic;
        border-top: 1px dashed var(--line);
        padding-top: 12px;
      }
       .struct-note .muted {
        margin-top: 10px;
        color: var(--muted);
      }
	     .struct-note strong {
        font-size: 16px;
        font-weight: 700;
      }
/* =============== SIDE MENU =================  */  
	  .side-menu {
  position: fixed;
  top: 0;
  left: -200px;
  width: 200px;
  height: 100%;
  background: #1c1c1c;
  box-shadow: 2px 0 5px rgba(0,0,0,.2);
  padding-top: 60px;
  transition: left .3s ease-in-out;
  z-index: 1000;
}

.side-menu.show { left: 0; }

.side-menu a {
  font-family: "Segoe UI",Roboto,Arial,sans-serif;
  display: block;
  padding: 12px 20px;
  font-size: 1.1em;
  color: #202020;
  text-decoration: none;
}

.side-menu a:hover {
  background: #f0f0f0;
  color: #444;
}

@media screen and (orientation: landscape) and (max-height: 500px) {
  .side-menu {
    max-height: 100vh;
    overflow-y: auto;
    padding-bottom: 80px;
  }
}
.narcy-search-link {
position: absolute;
  top: 15px;
  right: 1px;
  font-size: 30px;
  color: #ffccff;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
}
.narcy-search-link:hover {
background: rgba(228, 154, 194, 0.15);
  color: #e49ac2;
}
.hamburger {
  color: #e49ac2; /* narcy pink */
  background-color: transparent;
  display: block;
  font-size: 28px;
  cursor: pointer;
  padding: 10px;
  position: fixed; /* stays in view when scrolling */
  top: 10px;
  left: 1px;
  border-radius: 8px;
  z-index: 1001;
  transition: background 0.2s ease;
}

.hamburger:hover {
background: rgba(228, 154, 194, 0.15);
  color: #e49ac2;
}

@media screen and (max-height: 500px) and (orientation: landscape) {
  .hamburger {
    font-size: 18px;
    top: 6px;
    left: 6px;
    padding: 6px;
  }
}
.side-menu {
  position: fixed;
  top: 0;
  left: -200px;
  width: 200px;
  height: 100%;
  background: #1c1c1c;
  box-shadow: 2px 0 5px rgba(0,0,0,.2);
  padding-top: 60px;
  transition: left .3s ease-in-out;
  z-index: 1000;
}

.side-menu.show { left: 0; }

.side-menu a {
  font-family: "Segoe UI",Roboto,Arial,sans-serif;
  display: block;
  padding: 12px 20px;
  font-size: 1.1em;
  color: #202020;
  text-decoration: none;
}

.side-menu a:hover {
  background: #f0f0f0;
  color: #444;
}
#narcy-hatch {
position: absolute;
  top: 10px;
  left: 70px;
  width: 120px;
  z-index: 1002;
  margin-bottom: 4px;
}



#narcy-hatch:hover {
  transform: scale(1.05);
  transition: 0.15s ease;
}
@media screen and (orientation: landscape) and (max-height: 500px) {
  .side-menu {
    max-height: 100vh;
    overflow-y: auto;
    padding-bottom: 80px;
  }
}

#narcy-hatch {
position: absolute;
  top: 10px;
  left: 60px;
  width: 80px;
  z-index: 1002;
}
  .chip-block {
        margin-bottom: 26px;
        padding-bottom: 18px;
        border-bottom: 1px solid var(--line);
      }

      .chip-block:last-child {
        border-bottom: none;
      }

      .chip-block .chip {
        display: inline-block;
        margin-bottom: 5px;
      } 
	  
	  
    /* =========== Horizontal Rule =========== */
	  
	  .tier-divider {
        margin: 28px 0;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--accent, #49b6ff), transparent);
        opacity: 0.6;
      }
	  	 .site-title {
  opacity: 0.75;
  font-style: italic;
   padding: 5px;
        font-size: 20px;
        line-height: 1.5;
        color: #777;
		margin: 5px 0;
}
/* =========== START  Hub Only Page =========== */
      .hero {
        background: var(--panel);
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 18px 18px 16px;
      }
      .hero h1 {
        margin: 0 0 6px 0;
        font-size: 22px;
        letter-spacing: 0.2px;
      }
      .hero p {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.4;
      }
	  

      .card {
        background: var(--panel);
        border: 1px solid var(--line);
        border-radius: 14px;
        overflow: hidden;
      }
      .card .hd {
        padding: 12px 14px;
        border-bottom: 1px solid var(--line);
        display: flex;
        align-items: center;
        justify-content: space-between;
      }
      .card .hd .title {
        font-weight: 800;
        letter-spacing: 0.2px;
        font-size: 13px;
        text-transform: uppercase;
        color: #2a2a2a;
      }
      .card .bd {
        padding: 12px 14px 14px;
      }
    /* ===== Tier list ===== */
      .tier-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none;
      }
      .tier {
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 12px 12px 11px;
        background: #fff;
        position: relative;
      }
      .tier a {
        text-decoration: none;
        color: inherit;
        display: block;
      }
      .tier .top {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 10px;
      }
      .tier .name {
        font-weight: 800;
        font-size: 16px;
        letter-spacing: 0.2px;
      }
      .tier .tag {
        font-size: 12px;
        color: var(--muted);
        white-space: nowrap;
      }
      .tier .desc {
        margin-top: 6px;
        font-size: 13px;
        color: #3a3a3a;
        line-height: 1.45;
        max-width: 54ch; /* F-pattern: keep lines short */
      }
      .tier:hover {
        border-color: #cfd6de;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
      }
	  
	       /* ===== Symbol panel Start =====
      .sym-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none;
      }
      .sym {
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 10px 12px;
        background: #fff;
      }
      .sym .k {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
      }
      .sym code {
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
        font-weight: 800;
        font-size: 14px;
        color: #111;
        background: #f6f7f9;
        padding: 3px 8px;
        border-radius: 999px;
        border: 1px solid var(--line);
      }
      .sym .status {
        font-size: 12px;
        color: var(--muted);
      }
      .sym .note {
        margin-top: 7px;
        font-size: 12.5px;
        color: #3a3a3a;
        line-height: 1.4;
      }
	   ===== Symbol panel END (WIP) see: narcy-studies-f-style.html ===== */
	   
	 /* ===== Sketch bay (optional, off by default) 
      .sketch-bay {
        margin-top: 16px;
        border-radius: 14px;
        overflow: hidden;
        border: 1px solid #111;
      }
      .sketch-bay .bar {
        background: var(--lab);
        color: #fff;
        padding: 10px 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #000;
      }
      .sketch-bay .bar .lbl {
        font-weight: 800;
        letter-spacing: 0.2px;
        font-size: 12px;
        text-transform: uppercase;
      }
      .sketch-bay .stage {
        background: var(--lab2);
        min-height: 160px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #d7d7d7;
        font-size: 13px;
        padding: 18px;
        text-align: center;
      }
	   ====== Sketch bay see hub Page WIP ===== */
/* =========== END  Hub Only Page =========== */