/* V26: exact black Polytectonics gate declarations, scoped to the locked entry. */
html.qe-entry-locked{background:#000!important;overflow:hidden!important}
html.qe-entry-locked::before,html.qe-entry-locked::after,html.qe-entry-locked body::before,html.qe-entry-locked body::after{display:none!important}
html.qe-entry-locked body > :not(#qe-entry-gate){display:none!important}
html:not(.qe-entry-locked) #qe-entry-gate{display:none!important}
#qe-entry-gate{all:initial;
  /* ── CHARCOAL — the default, and the source site's exact values:
     #000 ground, #e9e7e2 ink, the body copy a step quieter. Applies to
     the bare document so an unthemed visitor never flashes. ────────── */
  --ground:#000000;
  --ground-rgb:0,0,0;            /* for scrims that fade the ground out */

  --ink:#E9E7E2;                 /* type on the plate */
  --ink-soft:#B6B3AC;
  --ink-faint:rgba(233,231,226,.48);
  --bright:#FFFFFF;              /* the loudest step — wordmark, h1, white on the source */

  --accent:#E9E7E2;              /* buttons, hovers, the ridge's live line */
  --accent-ink:#000000;          /* type ON an accent fill */
  --neg:#E8A0A0;                 /* an inverse relationship, everywhere */

  --hairline:rgba(255,255,255,.17);
  --pop-line:rgba(255,255,255,.30);   /* popup + corner-button borders */
  --lab-bg:rgba(255,255,255,.14);     /* the folder labels' quiet pill */
  --field-bg:rgba(255,255,255,.06);   /* text inputs */
  --field-line:rgba(255,255,255,.30);

  --panel:#0A0A0A;               /* a surface laid ON the sheet */
  --panel-2:#111111;

  /* the grain and the scan's edge fall-off, per theme */
  --grain-op:.5;
  --vign:rgba(0,0,0,.6);

  /* what the two canvas renderers read: the stroke ramp as bare RGB, and
     the halo under a hovered ridge. GROUND they take from the computed
     body background, so the occlusion fill cannot drift from the paint. */
  --ridge-line-rgb:233,231,226;
  --ridge-glow:rgba(233,231,226,.20);

  /* the Bilbao cover on the home plate: how far it is faded into the
     ground, and what is done to its inks first */
  --cover-op:.34;
  --cover-filter:grayscale(1);

  --body:'Courier Prime',ui-monospace,'Courier New',monospace;
  --serif:'EB Garamond',Georgia,'Times New Roman',serif;;position:fixed!important;inset:0!important;z-index:2147483000!important;isolation:isolate;box-sizing:border-box;background:var(--ground);color:var(--ink);height:100vh;min-height:100vh;display:flex;flex-direction:column;font-family:var(--serif);font-size:16px;line-height:normal;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;color-scheme:normal}
#qe-entry-gate *,#qe-entry-gate *::before,#qe-entry-gate *::after{all:revert;margin:0;padding:0;box-sizing:border-box}
#qe-entry-gate::after{
  content:'';position:fixed;inset:0;z-index:400;pointer-events:none;
  opacity:var(--grain-op,.5);mix-blend-mode:screen;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='gamma' exponent='5.2' amplitude='1.5'/%3E%3CfeFuncG type='gamma' exponent='5.2' amplitude='1.5'/%3E%3CfeFuncB type='gamma' exponent='5.2' amplitude='1.5'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:200px 200px;}
#qe-entry-gate::before{
  content:'';position:fixed;inset:0;z-index:399;pointer-events:none;
  background:radial-gradient(122% 94% at 46% 38%,transparent 40%,var(--vign) 100%);}
#qe-entry-gate .pt-entry-head{
  position:relative;z-index:411;
  display:flex;align-items:flex-start;justify-content:space-between;gap:22px;
  padding:clamp(16px,2.6vh,24px) clamp(18px,3vw,34px) 0 clamp(20px,7vw,72px);
}
#qe-entry-gate .pt-entry-wordmark{
  display:inline-block;color:var(--bright);white-space:nowrap;
  font-family:var(--body);font-size:10.5px;font-weight:700;
  letter-spacing:.13em;text-transform:uppercase;
}
#qe-entry-gate .pt-entry-sheet{flex:1;display:flex;flex-direction:column;padding:0 0 clamp(96px,13vh,150px)}
#qe-entry-gate .pt-entry-mid{flex:1;display:flex;align-items:center;justify-content:center;padding:24px;
  position:relative;z-index:411}
#qe-entry-gate .pt-entry-form{display:flex;flex-direction:column;gap:10px;width:min(88vw,300px)}
#qe-entry-gate .pt-entry-label{
  font-family:var(--body);font-size:8px;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--ink-soft);
}
#qe-entry-gate .pt-entry-input{
  font-family:var(--body);font-size:13px;color:var(--ink);
  background:var(--field-bg);border:1px solid var(--field-line);
  border-radius:0;padding:10px 12px;outline:none;
  transition:border-color .15s,background .15s;
}
#qe-entry-gate .pt-entry-input:focus{border-color:var(--accent)}
#qe-entry-gate .pt-entry-submit{
  font-family:var(--body);font-size:8.5px;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;cursor:pointer;
  background:var(--accent);color:var(--accent-ink);border:0;padding:9px 12px;
  transition:opacity .15s;
}
#qe-entry-gate .pt-entry-submit:hover{opacity:.86}
#qe-entry-gate .pt-entry-submit:disabled{opacity:.45;cursor:default}
#qe-entry-gate .pt-entry-status{
  font-family:var(--body);font-size:8.5px;letter-spacing:.13em;
  text-transform:uppercase;color:var(--neg);min-height:1em;
}
@media(max-width:560px){#qe-entry-gate .pt-entry-head{padding:14px 12px 0 20px}}
