/* TrueNorth NFC — public site. Everything is scoped under .tn so themes don't clash. */
.tn{
  --tn-bg:#E9EEF1;--tn-surface:#F8FAFB;--tn-sunk:#DDE5EA;--tn-ink:#14233A;--tn-muted:#526274;--tn-line:#C6D1D9;
  --tn-north:#C62F2F;--tn-north-ink:#fff;--tn-brass:#B08A3E;--tn-ok:#1F7A4D;--tn-bad:#B3261E;
  --tn-display:"Bricolage Grotesque","Avenir Next","Segoe UI",system-ui,sans-serif;
  --tn-body:"Figtree","Segoe UI",system-ui,-apple-system,sans-serif;
  background:var(--tn-bg);color:var(--tn-ink);font:400 17px/1.6 var(--tn-body);-webkit-font-smoothing:antialiased;
  text-align:left;overflow-x:clip;
}
.tn[data-palette="maple"]{--tn-bg:#F4EAE6;--tn-surface:#FFF9F6;--tn-sunk:#EBDCD5;--tn-ink:#2B1612;--tn-muted:#6E554E;--tn-line:#E0CCC4;--tn-north:#B4372B;--tn-brass:#C08A3A}
.tn[data-palette="forest"]{--tn-bg:#E6EEE8;--tn-surface:#F7FAF8;--tn-sunk:#D6E3DA;--tn-ink:#11291E;--tn-muted:#4C6356;--tn-line:#C4D5CA;--tn-north:#2E7A4E;--tn-brass:#B3873A}
.tn[data-palette="harbour"]{--tn-bg:#E4EFF1;--tn-surface:#F6FBFC;--tn-sunk:#D2E4E8;--tn-ink:#0D2A33;--tn-muted:#4A6670;--tn-line:#C1D8DE;--tn-north:#0D7682;--tn-brass:#C4772E}
@media (prefers-color-scheme:dark){
  .tn{color-scheme:dark;--tn-bg:#0F1824;--tn-surface:#172230;--tn-sunk:#0B131D;--tn-ink:#E5EBF0;--tn-muted:#9AA8B7;--tn-line:#2B3A4C;--tn-north:#EE5A52;--tn-north-ink:#1A0B0B;--tn-brass:#D5A44D;--tn-ok:#58C08A;--tn-bad:#F08A80}
  .tn[data-palette="maple"]{--tn-bg:#1C1210;--tn-surface:#271A17;--tn-sunk:#140C0B;--tn-ink:#F3E7E3;--tn-muted:#B49E97;--tn-line:#3D2B27;--tn-north:#F0705F;--tn-north-ink:#1C0806;--tn-brass:#E0A85A}
  .tn[data-palette="forest"]{--tn-bg:#0E1813;--tn-surface:#16231C;--tn-sunk:#09110D;--tn-ink:#E3EEE7;--tn-muted:#97AD9F;--tn-line:#29392F;--tn-north:#5CC48A;--tn-north-ink:#06170D;--tn-brass:#D9AB57}
  .tn[data-palette="harbour"]{--tn-bg:#0B1A1F;--tn-surface:#12252B;--tn-sunk:#071317;--tn-ink:#E1EEF1;--tn-muted:#94AEB6;--tn-line:#25404A;--tn-north:#3CC3CF;--tn-north-ink:#03181B;--tn-brass:#E89A55}
}
body.tn-full{margin:0;padding:0;background:#E9EEF1}
@media (prefers-color-scheme:dark){body.tn-full{background:#0F1824}}
html:has(body.tn-full){scroll-padding-top:76px;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html:has(body.tn-full){scroll-behavior:auto}}

.tn *,.tn *::before,.tn *::after{box-sizing:border-box}
.tn [hidden]{display:none!important}
.tn img,.tn svg{max-width:100%;display:block}
.tn a{color:inherit}
.tn :focus-visible{outline:3px solid var(--tn-north);outline-offset:2px;border-radius:4px}
.tn h1,.tn h2,.tn h3{font-family:var(--tn-display);line-height:1.08;margin:0;letter-spacing:-.015em;color:inherit;text-transform:none}
.tn h1{font-size:clamp(2.4rem,7vw,4.6rem);font-weight:800}
.tn h2{font-size:clamp(1.8rem,4.4vw,2.8rem);font-weight:700}
.tn h3{font-size:1.25rem;font-weight:700}
.tn p{margin:0}
.tn ul,.tn ol{margin:0;padding:0}
.tn-wrap{width:min(1120px,100% - 40px);margin-inline:auto}
.tn .tn-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:600 16px/1 var(--tn-body);padding:14px 22px;border-radius:999px;border:2px solid var(--tn-ink);background:var(--tn-ink);color:var(--tn-bg);text-decoration:none;cursor:pointer;min-height:44px;box-shadow:none;text-transform:none;letter-spacing:0;width:auto}
.tn .tn-btn:hover{filter:brightness(1.08)}
.tn .tn-red{background:var(--tn-north);border-color:var(--tn-north);color:var(--tn-north-ink)}
.tn .tn-ghost{background:transparent;color:var(--tn-ink)}
.tn .tn-sm{padding:9px 14px;font-size:14px}
.tn .tn-btn:disabled{opacity:.55;cursor:wait}

/* illustrations */
.tn .sc-bg{fill:color-mix(in srgb,var(--tn-north) 13%,var(--tn-surface))}
.tn .sc-bg2{fill:color-mix(in srgb,var(--tn-brass) 22%,var(--tn-surface))}
.tn .sc-paper{fill:var(--tn-surface)}.tn .sc-soft{fill:var(--tn-sunk)}.tn .sc-ink{fill:var(--tn-ink)}.tn .sc-acc{fill:var(--tn-north)}.tn .sc-gold{fill:var(--tn-brass)}
.tn .sc-wood{fill:color-mix(in srgb,var(--tn-brass) 70%,var(--tn-ink))}
.tn .sc-leaf{fill:color-mix(in srgb,#3E8E5A 75%,var(--tn-surface))}
.tn .sc-line{stroke:var(--tn-ink);fill:none}.tn .sc-stroke{stroke:var(--tn-ink)}
.tn .sc-wave{stroke:var(--tn-north);fill:none;stroke-linecap:round}
.tn .needle{transform-box:fill-box;transform-origin:center;animation:tn-north 2.2s cubic-bezier(.2,.7,.2,1) .3s both}
@keyframes tn-north{0%{transform:rotate(128deg)}45%{transform:rotate(-24deg)}68%{transform:rotate(11deg)}84%{transform:rotate(-4deg)}100%{transform:rotate(0)}}
.tn-hero-frame .sc-wave{animation:tn-wave 1.8s ease-out 2.2s both}
.tn-hero-frame .w2{animation-delay:2.4s}.tn-hero-frame .w3{animation-delay:2.6s}
@keyframes tn-wave{0%{opacity:0}100%{opacity:1}}
@media (prefers-reduced-motion:reduce){.tn .needle,.tn-hero-frame .sc-wave{animation:none}}

/* header */
.tn-top{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--tn-bg) 88%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--tn-line)}
body.admin-bar .tn-top{top:32px}
@media (max-width:782px){body.admin-bar .tn-top{top:46px}}
@media (max-width:600px){body.admin-bar .tn-top{top:0}}
.tn-top .tn-wrap{display:flex;align-items:center;gap:18px;height:64px;position:relative}
.tn-brand{display:flex;align-items:center;gap:10px;text-decoration:none;font:700 18px/1 var(--tn-display)}
.tn-brand small{display:block;font:500 12px/1.2 var(--tn-body);color:var(--tn-muted)}
.tn-links{display:flex;gap:22px;margin-left:auto}
.tn-links a{text-decoration:none;font-weight:500;color:var(--tn-muted)}
.tn-links a:hover{color:var(--tn-ink)}
.tn .tn-menu{display:none;place-items:center;width:44px;height:44px;border:1.5px solid var(--tn-line);border-radius:12px;background:var(--tn-surface);color:var(--tn-ink);cursor:pointer;padding:0}
.tn-menu span{display:block;width:18px;height:2px;background:currentColor;border-radius:2px;box-shadow:0 -6px 0 currentColor,0 6px 0 currentColor}
.tn-menu[aria-expanded="true"] span{box-shadow:none;transform:rotate(45deg)}
.tn-menu[aria-expanded="true"] span::after{content:"";display:block;width:18px;height:2px;background:currentColor;transform:rotate(-90deg)}
@media (max-width:760px){
  .tn-links{display:none;position:absolute;top:64px;left:-20px;right:-20px;flex-direction:column;gap:0;margin:0;background:var(--tn-bg);border-bottom:1px solid var(--tn-line);padding:4px 20px 12px}
  .tn-links.tn-open{display:flex}
  .tn-links a{padding:15px 0;border-bottom:1px solid var(--tn-line);font-size:17px;color:var(--tn-ink)}
  .tn-links a:last-child{border-bottom:0}
  .tn-top .tn-wrap{gap:10px}
  .tn-top .tn-red{margin-left:auto}
  .tn .tn-menu{display:grid}
}

/* hero */
.tn-hero{padding:56px 0 64px}
.tn-hero .tn-wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:52px;align-items:center}
.tn-lede{font-size:1.2rem;color:var(--tn-muted);max-width:34ch;margin:22px 0 30px!important}
.tn-ctas{display:flex;flex-wrap:wrap;gap:12px}
.tn-trust{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:28px;font-size:14px;color:var(--tn-muted)}
.tn-trust span::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--tn-north);margin-right:8px;vertical-align:1px}
.tn-contact-line{margin-top:22px!important;color:var(--tn-muted);font-size:15px}
.tn-contact-line a{font-weight:600;color:var(--tn-ink)}
.tn-hero-frame{position:relative;border-radius:28px;overflow:hidden;aspect-ratio:44/46;background:var(--tn-sunk);box-shadow:0 30px 60px -30px color-mix(in srgb,var(--tn-ink) 50%,transparent)}
.tn-hero-frame>svg,.tn-hero-frame>img,.tn-ph>svg,.tn-ph>img{width:100%;height:100%;object-fit:cover}
.tn-hero-badge{position:absolute;left:18px;bottom:18px;width:96px;height:96px;border-radius:24px;background:var(--tn-surface);box-shadow:0 10px 24px rgba(0,0,0,.22);padding:10px}
@media (max-width:820px){.tn-hero .tn-wrap{grid-template-columns:1fr;gap:28px}.tn-hero-frame{order:-1;aspect-ratio:4/3}}

/* sections */
.tn-block{padding:76px 0;border-top:1px solid var(--tn-line)}
.tn-tint{background:color-mix(in srgb,var(--tn-north) 6%,var(--tn-bg))}
.tn-head{max-width:640px;margin-bottom:40px}
.tn-head p{color:var(--tn-muted);margin-top:14px;font-size:1.08rem}
.tn-uses{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.tn-use{background:var(--tn-surface);border:1px solid var(--tn-line);border-radius:22px;overflow:hidden;display:flex;flex-direction:column}
.tn-use .tn-ph{aspect-ratio:3/2;background:var(--tn-sunk)}
.tn-txt{padding:24px 24px 26px}
.tn-txt p{color:var(--tn-muted);margin-top:8px}
.tn-txt ul{list-style:none;margin-top:16px}
.tn-txt li{padding:8px 0;border-top:1px dashed var(--tn-line);font-size:15px;list-style:none}
@media (max-width:900px){.tn-uses{grid-template-columns:1fr}.tn-use{display:grid;grid-template-columns:1fr 1.1fr}.tn-use .tn-ph{aspect-ratio:auto;height:100%}}
@media (max-width:600px){.tn-use{display:flex}.tn-use .tn-ph{aspect-ratio:3/2}}

.tn-styles{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.tn-style{background:var(--tn-surface);border:1px solid var(--tn-line);border-radius:18px;padding:14px 14px 18px}
.tn-art{background:color-mix(in srgb,var(--tn-brass) 14%,var(--tn-surface));border-radius:12px;aspect-ratio:4/3;display:grid;place-items:center;margin-bottom:12px}
.tn-art svg{width:78%}
.tn-style h3{font-size:1.05rem}
.tn-style p{color:var(--tn-muted);font-size:14px;margin-top:4px}
@media (max-width:900px){.tn-styles{grid-template-columns:repeat(3,1fr)}}
@media (max-width:600px){.tn-styles{grid-template-columns:repeat(2,1fr);gap:12px}}

.tn-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;counter-reset:tns;list-style:none}
.tn-steps li{counter-increment:tns;position:relative;padding-top:56px;list-style:none}
.tn-steps li::before{content:counter(tns);position:absolute;top:0;left:0;width:40px;height:40px;border-radius:50%;background:var(--tn-north);color:var(--tn-north-ink);display:grid;place-items:center;font:700 18px/1 var(--tn-display)}
.tn-steps li:not(:last-child)::after{content:"";position:absolute;top:20px;left:52px;right:-16px;border-top:2px dotted var(--tn-line)}
.tn-steps p{color:var(--tn-muted);margin-top:8px}
@media (max-width:760px){.tn-steps{grid-template-columns:1fr}.tn-steps li:not(:last-child)::after{display:none}}

.tn-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.tn-gallery img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:18px;background:var(--tn-sunk)}

/* plans */
.tn-cycle{display:inline-flex;background:var(--tn-surface);border:1px solid var(--tn-line);border-radius:999px;padding:4px;margin-bottom:28px}
.tn .tn-cycle button{border:0;background:none;font:600 15px/1 var(--tn-body);color:var(--tn-muted);padding:11px 18px;border-radius:999px;cursor:pointer;min-height:40px;box-shadow:none}
.tn .tn-cycle button[aria-pressed="true"]{background:var(--tn-ink);color:var(--tn-bg)}
.tn-cycle em{font-style:normal;color:var(--tn-north);font-size:13px;margin-left:4px}
.tn-cycle button[aria-pressed="true"] em{color:inherit;opacity:.8}
.tn-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;align-items:stretch}
.tn-plans[data-cycle="monthly"] .tn-y,.tn-plans[data-cycle="yearly"] .tn-m{display:none}
.tn-plan{background:var(--tn-surface);border:1px solid var(--tn-line);border-radius:22px;padding:28px;display:flex;flex-direction:column;position:relative}
.tn-pick{border:2px solid var(--tn-north);background:color-mix(in srgb,var(--tn-north) 5%,var(--tn-surface))}
.tn-flag{position:absolute;top:-13px;left:24px;background:var(--tn-north);color:var(--tn-north-ink);font:600 13px/1 var(--tn-body);padding:6px 10px;border-radius:999px}
.tn-tl{color:var(--tn-muted);margin-top:6px!important;font-size:15px}
.tn-price{font:800 2.8rem/1 var(--tn-display);margin:22px 0 4px!important;letter-spacing:-.02em}
.tn-price span span{font:500 15px/1 var(--tn-body);color:var(--tn-muted);letter-spacing:0}
.tn-save{font-size:13px;color:var(--tn-north);font-weight:600;min-height:1.2em}
.tn-plan ul{list-style:none;margin:18px 0 24px;flex:1}
.tn-plan li{padding:8px 0 8px 26px;position:relative;font-size:15px;border-top:1px solid var(--tn-line);list-style:none}
.tn-plan li::before{content:"";position:absolute;left:4px;top:15px;width:10px;height:6px;border-left:2px solid var(--tn-ok);border-bottom:2px solid var(--tn-ok);transform:rotate(-45deg)}
.tn-btns{display:grid;gap:8px}
.tn-fine{color:var(--tn-muted);font-size:14px;margin-top:22px!important}

/* quote */
.tn-quote{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px}
.tn-contact-card{background:var(--tn-ink);color:var(--tn-bg);border-radius:22px;padding:30px;align-self:start}
.tn-contact-card h3{font-size:1.5rem}
.tn-contact-card>p{opacity:.8;margin-top:8px}
.tn-row{display:flex;flex-direction:column;text-decoration:none;padding:16px 0;border-top:1px solid color-mix(in srgb,var(--tn-bg) 25%,transparent)}
.tn-row:first-of-type{margin-top:18px}
.tn-k{font-size:13px;opacity:.7}
.tn-v{font:700 1.25rem/1.3 var(--tn-display);word-break:break-all}
.tn-intro{margin:10px 0 22px!important}
.tn-q{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.tn-field{display:flex;flex-direction:column;gap:6px}
.tn-full{grid-column:1/-1}
.tn label{font-weight:600;font-size:14px;color:inherit;margin:0}
.tn input,.tn select,.tn textarea{font:inherit;font-size:16px;color:var(--tn-ink);background:var(--tn-surface);border:1.5px solid var(--tn-line);border-radius:10px;padding:11px 12px;width:100%;margin:0;box-shadow:none;min-height:46px}
.tn textarea{min-height:110px;resize:vertical}
.tn input:focus,.tn select:focus,.tn textarea:focus{outline:none;border-color:var(--tn-north)}
.tn-note{font-size:14px;color:var(--tn-muted)}
.tn-err{color:var(--tn-bad);font-size:14px;min-height:1em;display:block;margin-top:6px}
.tn-sent{grid-column:1/-1;background:var(--tn-sunk);border-radius:12px;padding:16px;font-size:15px}
.tn-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
@media (max-width:820px){.tn-quote{grid-template-columns:1fr}.tn-q{grid-template-columns:1fr}}

.tn-foot{padding:36px 0 44px;border-top:1px solid var(--tn-line);color:var(--tn-muted);font-size:14px}
.tn-foot .tn-wrap{display:flex;flex-wrap:wrap;gap:16px 24px;justify-content:space-between;align-items:center}
.tn-links-row{display:flex;flex-wrap:wrap;gap:10px 18px}

/* checkout */
.tn .tn-co{border:0;border-radius:20px;padding:0;width:min(720px,100% - 24px);max-height:90vh;background:var(--tn-surface);color:var(--tn-ink);font:400 16px/1.55 var(--tn-body)}
.tn .tn-co::backdrop{background:rgba(5,10,18,.55)}
.tn-co-in{display:flex;flex-direction:column;max-height:90vh}
.tn-co-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px 0}
.tn-co-steps{display:flex;gap:6px;list-style:none;margin:14px 24px 0!important;counter-reset:tnc}
.tn-co-steps li{flex:1;counter-increment:tnc;font-size:13px;font-weight:600;color:var(--tn-muted);border-top:4px solid var(--tn-line);padding-top:8px;list-style:none}
.tn-co-steps li::before{content:counter(tnc) ". "}
.tn-co-steps li.tn-on{color:var(--tn-ink);border-color:var(--tn-north)}
.tn-co-body{padding:20px 24px;overflow-y:auto;flex:1}
.tn-co-foot{display:flex;gap:10px;justify-content:space-between;align-items:center;padding:14px 24px calc(18px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--tn-line);background:var(--tn-surface)}
.tn-tot{font-weight:600}.tn-tot b{font:800 1.3rem/1 var(--tn-display)}
.tn .tn-x{width:44px;height:44px;border-radius:50%;border:1.5px solid var(--tn-line);background:none;color:var(--tn-ink);font-size:22px;line-height:1;cursor:pointer;padding:0}
.tn-opts{display:grid;gap:10px}
.tn-opts.tn-cols{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.tn-opts.tn-two{grid-template-columns:1fr 1fr}
.tn .tn-opt{position:relative;display:flex;gap:12px;align-items:center;border:1.5px solid var(--tn-line);border-radius:14px;padding:14px;cursor:pointer;background:var(--tn-surface);font-weight:400;font-size:16px}
.tn .tn-opt input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;min-height:0}
.tn-opt:has(input:checked){border-color:var(--tn-north);box-shadow:0 0 0 2px var(--tn-north) inset}
.tn-opt:has(input:focus-visible){outline:3px solid var(--tn-north);outline-offset:2px}
.tn-grow{flex:1}
.tn-opt .tn-sub{color:var(--tn-muted);font-size:14px}
.tn-amt{font:700 1.1rem/1 var(--tn-display)}
.tn .tn-opt.tn-col{flex-direction:column;align-items:stretch;text-align:center;gap:6px}
.tn-opt.tn-col .tn-art{margin:0}
.tn-stepper{display:inline-flex;align-items:center;border:1.5px solid var(--tn-line);border-radius:999px;overflow:hidden}
.tn .tn-stepper button{width:48px;height:48px;border:0;background:var(--tn-surface);color:var(--tn-ink);font-size:22px;cursor:pointer;padding:0}
.tn .tn-stepper input{width:70px;text-align:center;border:0;border-radius:0;font-weight:700}
.tn-co h4{font:700 1.05rem/1.2 var(--tn-display);margin:22px 0 10px}
.tn-co h4:first-child{margin-top:0}
.tn-summary{background:var(--tn-sunk);border-radius:14px;padding:16px;font-size:15px;margin-top:18px}
.tn-summary div{display:flex;justify-content:space-between;gap:12px;padding:4px 0}
.tn-summary .tn-t{border-top:1px solid var(--tn-line);margin-top:6px;padding-top:10px;font-weight:700;font-size:17px}
.tn-paybox{border:2px dashed var(--tn-north);border-radius:16px;padding:18px;margin-top:16px}
.tn-big{font:800 1.6rem/1.2 var(--tn-display);margin:6px 0!important}
.tn-ref{font:700 1.1rem/1 ui-monospace,Menlo,monospace;background:var(--tn-sunk);padding:6px 10px;border-radius:8px;display:inline-block}

/* phones */
@media (max-width:600px){
  .tn{font-size:16px}
  .tn-wrap{width:min(1120px,100% - 32px)}
  .tn-links{left:-16px;right:-16px}
  .tn-hero{padding:20px 0 44px}
  .tn-hero-frame{border-radius:22px}
  .tn-hero-badge{width:76px;height:76px;border-radius:18px;padding:8px;left:12px;bottom:12px}
  .tn-lede{font-size:1.08rem;margin:16px 0 24px!important}
  .tn-ctas .tn-btn{flex:1 1 100%;min-height:52px}
  .tn-block{padding:52px 0}
  .tn-head{margin-bottom:26px}
  .tn-txt{padding:20px}
  .tn-plan{padding:26px 20px}
  .tn-plan .tn-btn{min-height:50px}
  .tn-cycle{display:flex}.tn .tn-cycle button{flex:1}
  .tn-contact-card{padding:24px 20px}
  .tn-q .tn-btn{width:100%;min-height:52px}
  .tn-foot .tn-wrap{flex-direction:column;align-items:flex-start}
  .tn .tn-co{width:100%;max-width:100%;height:100%;max-height:100%;border-radius:0;margin:0}
  .tn-co-in{height:100%;max-height:100%}
  .tn-co-head{padding-top:calc(16px + env(safe-area-inset-top,0px))}
  .tn-co-head,.tn-co-body,.tn-co-foot{padding-left:18px;padding-right:18px}
  .tn-co-steps{margin-left:18px!important;margin-right:18px!important}
  .tn-co-foot .tn-btn{min-height:50px}
  .tn-opts.tn-two{grid-template-columns:1fr}
}

/* ---------- client portal ---------- */
.tn-portal{min-height:100vh;display:flex;flex-direction:column}
.tn-portal .tn-top-right{margin-left:auto;display:flex;gap:8px}
.tn-portal-main{flex:1;padding:36px 0 56px}
.tn-banner{background:color-mix(in srgb,var(--tn-brass) 20%,var(--tn-surface));border:1px solid var(--tn-line);border-radius:12px;padding:12px 16px;font-size:15px;margin-bottom:22px!important}
.tn-login{max-width:420px;margin:24px auto;background:var(--tn-surface);border:1px solid var(--tn-line);border-radius:22px;padding:34px 26px;display:grid;gap:14px;text-align:center;box-shadow:0 24px 50px -30px color-mix(in srgb,var(--tn-ink) 45%,transparent)}
.tn-login .tn-mark{margin:0 auto}
.tn-login h1{font-size:1.9rem}
.tn-login>p{color:var(--tn-muted)}
.tn-login .tn-field{text-align:left}
.tn-login .tn-btn{width:100%;min-height:50px}
.tn-login .tn-err{margin:0}
.tn .tn-check{display:flex;align-items:center;gap:8px;font-weight:500;justify-content:flex-start}
.tn .tn-check input{width:18px;height:18px;min-height:0;margin:0}
.tn-hello{margin-bottom:22px}
.tn-hello h1{font-size:clamp(2rem,5vw,3.2rem)}
.tn-state{display:flex;gap:10px;align-items:flex-start;margin-top:14px!important;font-size:1.05rem;max-width:62ch}
.tn-dot{flex:none;width:12px;height:12px;border-radius:50%;margin-top:7px;background:var(--tn-ok)}
.tn-state-due .tn-dot{background:#C98A00}.tn-state-paused .tn-dot{background:var(--tn-bad)}
.tn-pgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.tn-pcard{background:var(--tn-surface);border:1px solid var(--tn-line);border-radius:20px;padding:24px;margin-bottom:18px}
.tn-pgrid .tn-pcard{margin-bottom:18px}
.tn-pcard h2{font-size:1.15rem;margin-bottom:12px}
.tn-pcard-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:6px}
.tn-pcard-head h2{margin:0}
.tn-pbig{font:800 1.8rem/1.15 var(--tn-display);letter-spacing:-.015em}
.tn-break{word-break:break-word}
.tn-pbig a{text-decoration:none;color:var(--tn-north)}
.tn-dl{margin:16px 0 0;display:grid;gap:0}
.tn-dl div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--tn-line)}
.tn-dl dt{color:var(--tn-muted);margin:0}.tn-dl dd{margin:0;font-weight:600;text-align:right}
.tn-feat{list-style:none;margin-top:12px!important}
.tn-feat li{padding:6px 0 6px 24px;position:relative;font-size:15px;list-style:none}
.tn-feat li::before{content:"";position:absolute;left:4px;top:13px;width:10px;height:6px;border-left:2px solid var(--tn-ok);border-bottom:2px solid var(--tn-ok);transform:rotate(-45deg)}
.tn-wide{width:100%;margin:14px 0 4px}
.tn-paynote{background:var(--tn-sunk);border-radius:12px;padding:14px;margin:12px 0}
.tn-paynote p{margin-top:4px!important;font-size:15px}
.tn-plinks{list-style:none}
.tn-plinks li{list-style:none;display:flex;gap:16px;align-items:center;justify-content:space-between;padding:14px 0;border-top:1px solid var(--tn-line)}
.tn-plinks li:first-child{border-top:0}
.tn-plink-main{display:grid;gap:3px;min-width:0}
.tn-plink-main .tn-note{word-break:break-all}
.tn-mono{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:13px;word-break:break-all;color:var(--tn-ink)}
.tn-plink-side{display:flex;align-items:center;gap:12px;flex:none}
.tn-taps{font:800 1.3rem/1 var(--tn-display);text-align:right}
.tn-taps small{display:block;font:500 12px/1.2 var(--tn-body);color:var(--tn-muted)}
.tn-pcontact{display:grid;gap:8px;margin-top:14px!important}
.tn-pcontact a{font:700 1.1rem/1.3 var(--tn-display);color:var(--tn-north);text-decoration:none;word-break:break-all}
@media (max-width:760px){
  .tn-pgrid{grid-template-columns:1fr;gap:0}
  .tn-portal-main{padding:22px 0 40px}
  .tn-pcard{padding:20px 18px}
  .tn-plinks li{flex-direction:column;align-items:stretch;gap:10px}
  .tn-plink-side{justify-content:space-between}
  .tn-portal .tn-brand small{display:block}
}
