:root{
      --bg0:#070A10;
      --bg1:#0B1220;
      --panel: rgba(255,255,255,.04);
      --panel2: rgba(255,255,255,.06);
      --border: rgba(255,255,255,.10);
      --text:#EAF0FF;
      --muted:#AAB6D3;
      --accent:#00FFD5;
      --accent2:#7C5CFF;
      --warn:#FFCC66;
      --ok:#7CFFB2;

      --radius:16px;
      --shadow: 0 18px 60px rgba(0,0,0,.45);
      --shadow2: 0 10px 28px rgba(0,0,0,.35);
      --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      --sans: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
    }

    * { box-sizing: border-box; }
    html, body { height: 100%; }
	body{
	  margin:0;
	  font-family: var(--sans);
	  color: var(--text);
	  background: var(--bg0); /* base only */
	  line-height:1.55;
	  position: relative;
	}

	/* Fixed gradient layer (smooth scrolling) */
    body::before{
	  content:"";
	  position: fixed;
	  inset: 0;
	  z-index: -1;
	  pointer-events: none;
  
      background:
        radial-gradient(1200px 700px at 20% -10%, rgba(124,92,255,.18), transparent 60%),
        radial-gradient(1200px 700px at 80% -10%, rgba(0,255,213,.16), transparent 55%),
        linear-gradient(180deg, var(--bg1), var(--bg0));
	  
	  transform: translateZ(0);
    }
	
	@media (max-width: 720px){
	  body::before{
		position: absolute; /* fallback */
	  }
	}

    a{ color: var(--accent); text-decoration: none; }
    a:hover{ text-decoration: underline; }
    .wrap{
      max-width: 1200px;
      margin: 0 auto;
    }

    /* top header */
    .top{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap: 18px;
      margin-bottom: 22px;
    }
    .brand{
      display:flex;
      flex-direction:column;
      gap: 8px;
      min-width: 260px;
    }
    .badge{
      display:inline-flex;
      align-items:center;
      gap:10px;
      width: fit-content;
      padding: 7px 12px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
      box-shadow: var(--shadow2);
      color: var(--muted);
      font-size: 12px;
      letter-spacing: .06em;
      text-transform: uppercase;
    }
    .dot{
      width:10px;height:10px;border-radius:50%;
      background: var(--accent);
      box-shadow: 0 0 14px rgba(0,255,213,.6);
    }

    h1{
      margin:0;
      font-size: clamp(26px, 3.6vw, 42px);
      letter-spacing: -0.03em;
    }
    h1 span{ color: var(--accent); }
    .subtitle{
      margin:0;
      color: var(--muted);
      max-width: 720px;
      font-size: 15.5px;
    }
    .meta{
      display:flex;
      flex-direction:column;
      gap: 8px;
      align-items:flex-end;
      text-align:right;
      color: var(--muted);
      font-size: 13px;
    }
    .meta code{
      font-family: var(--mono);
      background: rgba(255,255,255,.06);
      border: 1px solid var(--border);
      padding: 4px 8px;
      border-radius: 10px;
      color: var(--text);
    }

    /* layout grid */
    .grid{
      display:grid;
      grid-template-columns: 1.15fr .85fr;
      gap: 18px;
      margin-top: 18px;
    }
    @media (max-width: 980px){
      .grid{ grid-template-columns: 1fr; }
      .meta{ align-items:flex-start; text-align:left; }
      .top{ flex-direction:column; }
    }

    .panel{
      border: 1px solid var(--border);
      background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow:hidden;
    }
    .panel .hd{
      padding: 16px 18px;
      border-bottom: 1px solid var(--border);
      background: rgba(255,255,255,.03);
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 14px;
    }
    .panel .hd h2{
      margin:0;
      font-size: 16px;
      letter-spacing: -0.01em;
    }
    .panel .bd{ padding: 16px 18px 18px; }

    .kpis{
      display:grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 12px;
    }
    @media (max-width: 720px){
      .kpis{ grid-template-columns: 1fr; }
    }
    .kpi{
      border: 1px solid var(--border);
      background: rgba(255,255,255,.04);
      border-radius: 14px;
      padding: 14px 14px 12px;
      box-shadow: 0 8px 22px rgba(0,0,0,.25);
    }
    .kpi .lbl{
      color: var(--muted);
      font-size: 12px;
      letter-spacing:.04em;
      text-transform: uppercase;
      margin-bottom: 8px;
    }
    .kpi .val{
      font-size: 18px;
      letter-spacing: -0.02em;
      display:flex;
      align-items:baseline;
      gap:10px;
      flex-wrap:wrap;
    }
    .kpi .val small{
      color: var(--muted);
      font-size: 12px;
      font-family: var(--mono);
      border: 1px solid var(--border);
      background: rgba(255,255,255,.05);
      padding: 2px 8px;
      border-radius: 999px;
    }

    .note{
      margin-top: 12px;
      padding: 12px 12px;
      border-radius: 14px;
      border: 1px solid rgba(255,204,102,.35);
      background: rgba(255,204,102,.08);
      color: #FFE4B8;
      font-size: 13px;
    }
    .note b{ color: var(--warn); }

    /* table */
    table{
      width:100%;
      border-collapse: collapse;
      border-spacing: 0;
      overflow: hidden;
      border-radius: 14px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,.03);
    }
    thead th{
      text-align:left;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing:.06em;
      color: var(--muted);
      padding: 12px 12px;
      border-bottom: 1px solid var(--border);
      background: rgba(255,255,255,.03);
      white-space: nowrap;
    }
    tbody td{
      padding: 12px 12px;
      border-bottom: 1px solid rgba(255,255,255,.06);
      vertical-align: top;
      font-size: 14px;
    }
    tbody tr:last-child td{ border-bottom: 0; }
    .mono{ font-family: var(--mono); }
    .right{ text-align:right; }
    .muted{ color: var(--muted); }

    .pill{
      display:inline-flex;
      align-items:center;
      gap:8px;
      padding: 6px 10px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,.05);
      font-size: 12px;
      color: var(--text);
      white-space:nowrap;
    }
    .pill .s{
      width:8px;height:8px;border-radius:50%;
      background: var(--accent2);
      box-shadow: 0 0 14px rgba(124,92,255,.55);
    }
	
	/* navigation / actions */
	.back-btn{
	  display:inline-flex;
	  align-items:center;
	  gap:10px;
	  padding: 10px 14px;
	  border-radius: 12px;
	  border: 1px solid var(--border);
	  background: rgba(255,255,255,.05);
	  color: var(--text);
	  text-decoration:none;
	  font-size: 13px;
	  box-shadow: 0 8px 22px rgba(0,0,0,.22);
	}
	.back-btn:hover{
	  text-decoration:none;
	  border-color: rgba(0,255,213,.35);
	  box-shadow: 0 10px 26px rgba(0,0,0,.28);
	}
	.back-dot{
	  width:8px;
	  height:8px;
	  border-radius:50%;
	  background: var(--accent);
	  box-shadow: 0 0 14px rgba(0,255,213,.55);
	}

	.links{
	  display:grid;
	  grid-template-columns: 1fr;
	  gap: 10px;
	}

    .linkbox{
      border: 1px solid var(--border);
      background: rgba(255,255,255,.04);
      border-radius: 14px;
      padding: 12px 12px;
      box-shadow: 0 8px 22px rgba(0,0,0,.22);
    }
    .linkbox .t{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 10px;
      margin-bottom: 8px;
    }
    .linkbox .t b{ font-size: 13px; }
    .linkbox .t span{
      font-family: var(--mono);
      font-size: 11px;
      color: var(--muted);
    }
    .linkbox p{
      margin:0;
      color: var(--muted);
      font-size: 13px;
    }

    footer{
      margin-top: 26px;
      color: var(--muted);
      font-size: 12px;
      display:flex;
      flex-wrap:wrap;
      gap: 10px 16px;
      justify-content:space-between;
      align-items:center;
    }
    footer .ok{
      color: var(--ok);
      font-weight: 600;
    }

    /* print */
    @media print{
	  /* hard reset for print */
	  html, body{
		height: auto !important;
	  }

	  body{
		margin: 0 !important;
		font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
		background: #fff !important;
		color: #000 !important;
		line-height: 1.55 !important;
		position: relative;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	  }

	  /* if you use fixed gradient layer */
	  body::before{
		content: none !important;
		display: none !important;
	  }

	  /* remove visual chrome */
	  .panel, .kpi, table{
		box-shadow: none !important;
	  }

	  a{
		color:#000 !important;
		text-decoration: underline !important;
	  }

	  .badge, .note, .pill, .back-btn{
		border: 1px solid #999 !important;
		background: #fff !important;
		color: #000 !important;
		box-shadow: none !important;
	  }

	  .back-dot{ display:none !important; }
	}
	
	/* =========================
   WP integration (scoped)
   ========================= */
	.bp-tool, .bp-archive{
	  color: var(--text);
	  font-family: var(--sans);
	}

	/* WP themes often override headings; force inside tool */
	.bp-tool :is(h1,h2,h3,h4),
	.bp-archive :is(h1,h2,h3,h4){
	  color: var(--text) !important;
	  margin: 0 0 12px;
	  letter-spacing: -0.01em;
	}
	
	/* WP block theme page title (if it appears above tool) */
	.wp-block-post-title,
	.entry-title,
	h1.wp-block-post-title{
	  color: var(--text) !important;
	  font-family: var(--sans) !important;
	  font-weight: 700 !important;
	  letter-spacing: -0.03em !important;
	  line-height: 1.15 !important;
	  background: none !important;
	  -webkit-text-fill-color: var(--text) !important;
	  text-shadow: none !important;
	  opacity: 1 !important;
	  filter: none !important;
	}

	/* Links inside tool */
	.bp-tool a, .bp-archive a{
	  color: var(--accent) !important;
	  text-decoration: none;
	}
	.bp-tool a:hover, .bp-archive a:hover{
	  text-decoration: underline;
	}
	
	/* Tool container sizing */
	.bp-tool .wrap{
	  max-width: 1200px;
	  margin: 0 auto;
	  width: 100%;
	  padding: 10px;
	}

	.bp-tool .container{
	  max-width: 1200px;
	  margin: 0 auto;
	}

	/* Table wrapper (prevents layout breaking / matches UoW behavior) */
	.bp-table-wrap{
	  overflow-x:auto;
	  -webkit-overflow-scrolling: touch;
	}

	/* Tables in tool */
	.bp-tool table{
		  margin: auto;
		  max-width: 980px;
		  font-variant-numeric: tabular-nums;
		}
		
	/* Choice cell tiny separators */
	.choice{
		color: var(--text);
		font-weight: 600;
	}
	.sep{
		color: var(--muted);
		margin: 0 8px;
	}

	/* TYPE cell (bold + muted subtitle like UoW) */
	.typecell{
		display:flex;
		flex-direction:column;
		gap:4px;
	}
	.type-title{
		font-weight:700;
		color: var(--text);
	}
	.type-desc{
		color: var(--muted);
		font-size: 13px;
	}

	/* Optional: make header a bit punchier */
	.bp-tool thead th{
	  letter-spacing:.08em;
	}
	
	/* Dark-theme autofill fix (Chrome/Edge/Safari) */
	.bp-tool input:-webkit-autofill,
	.bp-tool input:-webkit-autofill:hover,
	.bp-tool input:-webkit-autofill:focus,
	.bp-tool textarea:-webkit-autofill,
	.bp-tool textarea:-webkit-autofill:hover,
	.bp-tool textarea:-webkit-autofill:focus,
	.bp-tool select:-webkit-autofill,
	.bp-tool select:-webkit-autofill:hover,
	.bp-tool select:-webkit-autofill:focus {
	  -webkit-text-fill-color: var(--text) !important;
	  caret-color: var(--text) !important;
	  border: 1px solid var(--border) !important;

	  /* “Paint over” Chrome’s autofill background */
	  -webkit-box-shadow: 0 0 0 1000px rgba(255,255,255,.04) inset !important;
	  box-shadow: 0 0 0 1000px rgba(255,255,255,.04) inset !important;

	  /* Prevent the flash */
	  transition: background-color 99999s ease-in-out 0s;
	}

	/* Firefox */
	.bp-tool input:-moz-autofill,
	.bp-tool textarea:-moz-autofill,
	.bp-tool select:-moz-autofill {
	  box-shadow: 0 0 0 1000px rgba(255,255,255,.04) inset !important;
	  -moz-text-fill-color: var(--text) !important;
	  border: 1px solid var(--border) !important;
	}
	
	/* Make report typography match the tool UI */
	.bp-tool .bp-report h1{
	  font-size: 28px !important;
	  line-height: 1.15;
	  margin: 0 0 14px !important;
	}
	.bp-tool .bp-report h2{
	  font-size: 18px !important;
	  margin: 18px 0 10px !important;
	}
	.bp-tool .bp-report h3{
	  font-size: 16px !important;
	  margin: 16px 0 8px !important;
	}
	
	/* Center titles inside report blocks */
	.bp-tool .bp-center-title{
	  text-align: center;
	  margin: 0 0 14px !important;
	}

	/* Constrain + center the report content */
	.bp-tool .bp-report {
	  width: 100%;
	}
	.bp-tool .bp-report-summary,
	.bp-tool .bp-report-nft{
	  max-width: 1100px;
	  margin: 0 auto;
	}

	/* KPI grid in report */
	.bp-tool .bp-report-summary .kpis{
	  max-width: 980px;
	  margin: 0 auto;
	}
		
	.bp-tool .bp-report-inner{
	  max-width: 980px;
	  margin: 0 auto;
	}

	/* Actions aligned right */
	.bp-tool .bp-actions{
	  justify-content:flex-end;
	}
	
	.bp-context-grid{
	  display:grid;
	  grid-template-columns: repeat(3, 1fr);
	  gap: 12px;
	}
	@media (max-width: 900px){
	  .bp-context-grid{ grid-template-columns: 1fr; }
	}

	/* Forms */
	.bp-fields{
	  display:grid;
	  grid-template-columns:repeat(2,minmax(0,1fr));
	  gap:12px;
	  max-width: 980px;
	}
	@media (max-width:720px){
	  .bp-fields{ grid-template-columns:1fr; }
	}

	.bp-field label{
	  display:block;
	  font-size:12px;
	  color: var(--muted);
	  letter-spacing:.02em;
	  margin-bottom:6px;
	}
	.bp-field input{
	  width:100%;
	  padding:10px 12px;
	  border-radius:12px;
	  border:1px solid var(--border);
	  background: rgba(255,255,255,.04);
	  color: var(--text);
	  outline:none;
	}
	.bp-field input:focus{
	  border-color: rgba(0,255,213,.35);
	  box-shadow: 0 0 0 3px rgba(0,255,213,.12);
	}

	.bp-actions{
	  margin-top:14px;
	  display:flex;
	  gap:10px;
	  flex-wrap:wrap;
	}
	.bp-actions button,
	.bp-actions .button{
	  display:inline-flex;
	  align-items:center;
	  gap:10px;
	  padding:10px 14px;
	  border-radius:12px;
	  border:1px solid var(--border);
	  background: rgba(255,255,255,.05);
	  color: var(--text);
	  cursor:pointer;
	  font-size:13px;
	  box-shadow: 0 8px 22px rgba(0,0,0,.22);
	}
	.bp-actions button:hover,
	.bp-actions .button:hover{
	  border-color: rgba(0,255,213,.35);
	  box-shadow: 0 10px 26px rgba(0,0,0,.28);
	  text-decoration:none;
	}
	
	.bp-btn {
	  display: inline-block;
	  padding: 6px 14px;
	  background: #111;
	  color: #fff;
	  border-radius: 6px;
	  text-decoration: none;
	  font-size: 14px;
	  transition: 0.2s ease;
	}

	.bp-btn:hover {
	  background: #1aa84b;
	}

	/* Saved message */
	.bp-msg{
	  padding:10px 12px;
	  border:1px solid var(--border);
	  background: rgba(255,255,255,.04);
	  border-radius: 14px;
	  margin: 12px 0;
	}

	.bp-tool footer a,
	.bp-archive footer a{
	  color: var(--accent);
	}
	
	/* =========================
   Footer readability fixes
   ========================= */

	/* Fix the "Designed with WordPress" line (and any footer paragraph using theme color classes) */
	footer.wp-block-template-part p.has-text-color,
	footer.wp-block-template-part p.has-contrast-2-color{
	  color: var(--text) !important;
	}

	/* Fix footer headings (About / Privacy / Social) */
	footer.wp-block-template-part h2.wp-block-heading{
	  color: var(--text) !important;
	}

	/* Fix footer links + nav links */
	footer.wp-block-template-part a,
	footer.wp-block-template-part .wp-block-navigation a{
	  color: var(--accent) !important;
	  text-decoration: none;
	}
	footer.wp-block-template-part a:hover,
	footer.wp-block-template-part .wp-block-navigation a:hover{
	  text-decoration: underline;
	}

	/* If theme applies "has-link-color" via CSS variables, override those too */
	footer.wp-block-template-part{
	  --wp--preset--color--contrast-2: var(--text);
	  --wp--preset--color--contrast: var(--text);
	  --wp--preset--color--base: var(--bg0);
	  --wp--style--color--link: var(--accent);
	}
	
	/* Footer only: remove constrained width, keep site layout intact */
	footer.wp-block-template-part .wp-block-group-is-layout-constrained{
	  width: 100% !important;
	}
	
	footer.wp-block-template-part {
		background-color: #000000;
	}