@font-face{font-family:'Newsreader';font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/newsreader-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Newsreader';font-weight:600;font-style:normal;font-display:swap;src:url(/fonts/newsreader-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Newsreader';font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/newsreader-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Newsreader';font-weight:600;font-style:normal;font-display:swap;src:url(/fonts/newsreader-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Newsreader';font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/newsreader-400-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'Newsreader';font-weight:600;font-style:normal;font-display:swap;src:url(/fonts/newsreader-600-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'IBM Plex Sans';font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/ibm-plex-sans-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans';font-weight:600;font-style:normal;font-display:swap;src:url(/fonts/ibm-plex-sans-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans';font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/ibm-plex-sans-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans';font-weight:600;font-style:normal;font-display:swap;src:url(/fonts/ibm-plex-sans-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans';font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/ibm-plex-sans-400-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:'IBM Plex Sans';font-weight:600;font-style:normal;font-display:swap;src:url(/fonts/ibm-plex-sans-600-vietnamese.woff2) format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
/* MYNE Design System v1 tokens (as in web/index.html): warm paper background, ink text, terracotta "thread" accent. */
:root {
  --bg: #F6F2EA; --surface: #FDFBF7; --ink: #1E1D1B; --ink-2: #5E5850; --line: #E6E0D6; --control: #8A8378;
  --thread: #B65332; --thread-text: #9A4328; --on-thread: #FFFFFF; --danger: #8B3B2D;
}
body { min-height: 100vh; display: flex; flex-direction: column; margin: 0; font: 16px/1.5 'IBM Plex Sans', system-ui, sans-serif; background: var(--bg); color: var(--ink); }
main { max-width: 24rem; margin: 0 auto; padding: 4rem 16px 3rem; text-align: center; }
h1 { margin: 0; font: 600 64px/1 'Newsreader', Georgia, serif; color: var(--thread); letter-spacing: -.01em; }
.brand { display: grid; justify-items: center; gap: .5rem; margin-bottom: 2.5rem; }
/* Two threads, charcoal and terracotta, woven under the name and drifting slowly (one wave period per loop). */
.threads { width: min(18rem, 80vw); height: 1rem; overflow: hidden; margin-bottom: .75rem; }
.threads path { fill: none; stroke-width: 1.6; stroke-linecap: round; }
.thread-ink { stroke: var(--ink); }
.thread-orange { stroke: var(--thread); }
.threads g { animation: weave 6s linear infinite; }
@keyframes weave { from { transform: translateX(0); } to { transform: translateX(-60px); } }
@media (prefers-reduced-motion: reduce) { .threads g { animation: none; } }
.tagline { margin: 0; font: 400 12px/1.4 'IBM Plex Sans', system-ui, sans-serif; text-transform: uppercase;
  letter-spacing: .16em; color: var(--ink-2); }
h2 { font: 600 1.25rem/1.3 'Newsreader', Georgia, serif; }
form, section { display: grid; gap: .75rem; margin: 1rem 0; }
label { display: grid; gap: .25rem; }
input, button { font: inherit; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 4px; }
input { background: #FFFFFF; color: var(--ink); border-color: var(--line); border-radius: 0; }
input:focus { outline: 2px solid var(--thread); outline-offset: 1px; }
button { background: var(--thread); color: var(--on-thread); border-color: var(--thread); cursor: pointer; }
button:hover { background: var(--thread-text); }
a, .link { color: var(--thread-text); }
.link { justify-self: start; padding: 0; background: none; border: 0; text-decoration: underline; font-size: .9rem; }
.link:hover { background: none; color: var(--thread); }
code { word-break: break-all; }
#error { color: var(--danger); }
[hidden] { display: none !important; }
.pw { position: relative; display: grid; }
.pw input { padding-right: 2.75rem; }
.pw-toggle { position: absolute; top: 0; right: 0; bottom: 0; width: 2.75rem; padding: 0; display: grid; place-items: center;
  background: none; color: var(--control); border: 0; border-radius: 0 4px 4px 0; }
.pw-toggle:hover { background: none; color: var(--thread); }
.pw-toggle svg { width: 1.25rem; height: 1.25rem; }
.pw-toggle[aria-pressed="true"] .eye, .pw-toggle[aria-pressed="false"] .eye-off { display: none; }
.pw-toggle:focus-visible { outline: 2px solid var(--thread); outline-offset: -4px; }
.qr { width: 13rem; max-width: 100%; justify-self: center; }
.qr svg { display: block; width: 100%; height: auto; }
ol { margin: 0; padding-left: 1.25rem; }
label { color: var(--ink-2); font-size: .95rem; }
#status { color: var(--ink-2); }
form, section { text-align: left; }
.status-row { display: flex; justify-content: center; align-items: center; gap: .5rem; margin-top: 2rem; min-height: 1.5rem; }
.spinner { width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--thread); border-radius: 50%;
  animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }
label input { font-size: 1rem; color: var(--ink); }
input:hover { border-color: var(--control); }
/* Tibeb Lab signature: the official logo (Tibeb Lab_Branding/tibeblab-logo.png, unmodified), bottom centre, quiet. */
.signature { margin-top: auto; padding: 1rem 16px 32px; text-align: center; }
.signature img { display: inline-block; height: 24px; width: auto; opacity: .65; }
