/* TempMailAce Guides approved UI v26; all tokens and rules scoped to Guide routes. */
html[data-atelier-family="guides"] body,html[data-atelier-family="article"] body,
body.seo-library-page,body.seo-article-page{
 --g-bg:#f4f5fb;--g-surface:#fff;--g-ink:#14173a;--g-muted:#5d6288;
 --g-line:#e2e4f2;--g-brand:#3d4fd6;--g-brand-ink:#fff;--g-soft:#e9ecff;
 --g-shadow:0 1px 2px #14173a0f,0 8px 24px -12px #14173a2e;
 background:var(--g-bg)!important;color:var(--g-ink)!important;
 font-family:"Instrument Sans",system-ui,sans-serif!important;
}
html[data-atelier-family="guides"][data-theme="dark"] body,
html[data-atelier-family="article"][data-theme="dark"] body,
html[data-theme="dark"] body.seo-library-page,html[data-theme="dark"] body.seo-article-page{
 --g-bg:#0e1020;--g-surface:#171a33;--g-ink:#eef0ff;--g-muted:#a3a8d0;
 --g-line:#2a2e52;--g-brand:#8c9bff;--g-brand-ink:#0e1020;--g-soft:#22265a;
 --g-shadow:0 8px 24px -12px #0009;
}
html[data-atelier-family="guides"],html[data-atelier-family="article"]{scroll-behavior:smooth;scroll-padding-top:96px}
.tma-g26-hub,.tma-g26-article{--g-c1:#3d4fd6;--g-c2:#14b8a6;--g-c3:#f59e0b;--g-c4:#ec4899;--g-c5:#8b5cf6;--g-c6:#0ea5e9;
 color:var(--g-ink);font:17px/1.6 "Instrument Sans",system-ui,sans-serif;box-sizing:border-box}
.tma-g26-hub *,.tma-g26-article *{box-sizing:border-box}
.tma-g26-hub h1,.tma-g26-hub h2,.tma-g26-hub h3,.tma-g26-article h1,.tma-g26-article h2,.tma-g26-article h3{
 font-family:"Bricolage Grotesque","Instrument Sans",system-ui,sans-serif;letter-spacing:-.02em;line-height:1.15;color:var(--g-ink)}
.tma-g26-hub a,.tma-g26-article a{color:inherit;text-decoration:none}
.tma-g26-hub :focus-visible,.tma-g26-article :focus-visible{outline:3px solid var(--g-brand)!important;outline-offset:3px;border-radius:8px}
.tma-g26-hub button,.tma-g26-article button,.tma-g26-hub input{font-family:inherit}
.tma-g26-hub [hidden],.tma-g26-article [hidden]{display:none!important}
.tma-g26-sr{position:absolute;inline-size:1px;block-size:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
/* Cover only Guides body; no global :root or application theme change. */
.tma-g26-hub{max-width:1240px!important;margin-inline:auto!important;padding-inline:clamp(16px,4vw,40px)!important;padding-block:0 80px!important;background:transparent!important;display:block!important}
.tma-g26-hero{padding-block:clamp(36px,7vw,72px) 28px!important;display:block!important;background:transparent!important;border:0!important;box-shadow:none!important;min-height:0!important}
.tma-g26-hero h1{font-size:clamp(34px,6vw,60px)!important;font-weight:800!important;max-width:15ch!important;margin:0!important}
.tma-g26-hero p{color:var(--g-muted)!important;max-width:52ch!important;margin:14px 0 0!important;font-size:19px!important;line-height:1.6!important}
.tma-g26-search{display:block;position:relative;max-width:640px;margin-block-start:28px}
.tma-g26-search input{inline-size:100%!important;min-block-size:62px;background:var(--g-surface)!important;
 color:var(--g-ink)!important;border:1.5px solid var(--g-line)!important;border-radius:16px!important;
 padding-block:16px!important;padding-inline:52px 64px!important;font:inherit!important;box-shadow:var(--g-shadow)!important;outline:0}
.tma-g26-search input:focus{border-color:var(--g-brand)!important;box-shadow:0 0 0 4px var(--g-soft)!important}
.tma-g26-search>svg{position:absolute;inset-inline-start:18px;top:50%;transform:translateY(-50%);inline-size:22px;block-size:22px;stroke:var(--g-muted);fill:none;stroke-width:2;pointer-events:none}
.tma-g26-search kbd{position:absolute;inset-inline-end:16px;top:50%;transform:translateY(-50%);border:1px solid var(--g-line);border-radius:8px;padding:2px 9px;color:var(--g-muted);font-size:14px;background:var(--g-bg);pointer-events:none}
.tma-g26-layout{display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;gap:40px!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;max-width:none!important}
.tma-g26-sidebar{position:sticky;top:96px;align-self:start;background:transparent!important;border:0!important;padding:0!important;width:auto!important}
.tma-g26-sidebar h2{font:600 15px/1.3 "Instrument Sans",system-ui,sans-serif!important;letter-spacing:0;color:var(--g-muted);margin:0 0 10px!important}
.tma-g26-cats{display:flex;flex-direction:column;gap:4px}
.tma-g26-cat{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:11px 14px!important;
 border:0!important;border-radius:12px!important;background:transparent!important;color:var(--g-ink)!important;
 font:500 16px/1.4 "Instrument Sans",system-ui,sans-serif!important;text-align:start;cursor:pointer;transition:background .2s}
.tma-g26-cat:hover{background:var(--g-soft)!important}
.tma-g26-cat[aria-pressed="true"]{background:var(--g-brand)!important;color:var(--g-brand-ink)!important}
.tma-g26-cat b{font-size:14px;opacity:.75}
.tma-g26-results{min-width:0!important}
.tma-g26-resultbar{display:flex;justify-content:space-between;align-items:center;min-height:38px;margin:0 0 18px;color:var(--g-muted)}
.tma-g26-theme{background:var(--g-surface);color:var(--g-ink);border:1px solid var(--g-line);border-radius:12px;padding:7px 12px;cursor:pointer}
.tma-g26-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))!important;gap:22px!important;align-items:stretch}
.tma-g26-feature,.tma-g26-card{position:relative;display:flex;flex-direction:column;background:var(--g-surface);border:1px solid var(--g-line);
 overflow:hidden;box-shadow:var(--g-shadow);transition:transform .25s,box-shadow .25s;border-radius:20px}
.tma-g26-feature{display:grid;grid-template-columns:1.1fr 1fr;border-radius:24px;margin-bottom:24px;min-height:260px}
.tma-g26-card:hover,.tma-g26-feature:hover{transform:translateY(-4px)}
.tma-g26-thumb{aspect-ratio:16/9;position:relative;overflow:hidden;background:var(--g-soft)}
.tma-g26-feature .tma-g26-thumb{aspect-ratio:auto;min-height:260px}
.tma-g26-thumb svg{width:100%;height:100%;display:block;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.tma-g26-item:hover .tma-g26-thumb svg{transform:scale(1.04)}
.tma-g26-card-body{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:20px 22px 22px;flex:1;min-width:0}
.tma-g26-feature .tma-g26-card-body{padding:clamp(22px,3vw,40px);justify-content:center;gap:14px}
.tma-g26-badge{align-self:flex-start;font-weight:600;font-size:14px;line-height:1.4;padding:4px 12px;border-radius:99px;background:var(--g-soft);color:var(--g-brand)}
.tma-g26-card h3{font-size:21px!important;font-weight:700!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0!important}
.tma-g26-feature h2{font-size:clamp(26px,3vw,36px)!important;font-weight:700!important;margin:0!important}
.tma-g26-item p{color:var(--g-muted)!important;font-size:16px!important;line-height:1.5!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0!important}
.tma-g26-card-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-block-start:auto;padding-block-start:10px;color:var(--g-muted);font-size:15px}
.tma-g26-stretch{color:var(--g-brand)!important;font-weight:600;white-space:nowrap;display:inline-flex;gap:6px;align-items:center}
.tma-g26-stretch::after{content:"";position:absolute;inset:0}
.tma-g26-stretch i{display:inline-block;transition:transform .2s;font-style:normal;direction:ltr;transform:scaleX(1)}
.tma-g26-item:hover .tma-g26-stretch i{transform:translateX(5px)}
[dir="rtl"] .tma-g26-stretch i{transform:scaleX(-1)}
[dir="rtl"] .tma-g26-item:hover .tma-g26-stretch i{transform:translateX(-5px) scaleX(-1)}
.tma-g26-empty{grid-column:1/-1;text-align:center;padding:60px 20px;background:var(--g-surface);border:1.5px dashed var(--g-line);border-radius:20px;color:var(--g-muted)}
.tma-g26-empty h3{color:var(--g-ink);font-size:24px;margin:0 0 8px}.tma-g26-empty p{margin:0 0 16px}
.tma-g26-empty button{margin-top:16px;border:0;border-radius:12px;background:var(--g-brand);color:var(--g-brand-ink);padding:10px 16px;cursor:pointer}
.tma-g26-card.in{animation:g26-rise .35s both;animation-delay:var(--g-delay,0ms)}
@keyframes g26-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.tma-g26-hero h1,.tma-g26-hero p,.tma-g26-search{animation:g26-rise .6s both}
.tma-g26-hero p{animation-delay:.08s}.tma-g26-search{animation-delay:.16s}
/* Article — same type scale and spacing as uploaded approved article. */
.tma-g26-article{max-width:1180px!important;margin-inline:auto!important;padding-inline:clamp(16px,4vw,40px)!important;padding-block:0 80px!important;background:transparent!important}
.tma-g26-crumbs{padding:28px 0 8px!important;color:var(--g-muted)!important;font-size:15px!important}
.tma-g26-crumbs a:hover{color:var(--g-brand)!important}
.tma-g26-article-badge{display:inline-flex;margin-top:8px}
.tma-g26-title{max-width:22ch!important;font-size:clamp(32px,5vw,52px)!important;font-weight:800!important;margin:10px 0 14px!important}
.tma-g26-article-meta{display:flex;flex-wrap:wrap;gap:8px 18px;color:var(--g-muted);font-size:15px}
.tma-g26-reading-layout{display:grid!important;grid-template-columns:270px minmax(0,1fr)!important;gap:56px!important;padding:36px 0 0!important;margin:0!important;align-items:start}
.tma-g26-toc{position:sticky;top:92px;align-self:start;max-height:calc(100vh - 110px);overflow:auto}
.tma-g26-toc h2{font:600 15px/1.4 "Instrument Sans",sans-serif!important;color:var(--g-muted);margin:0 0 10px!important;letter-spacing:0}
.tma-g26-toc ol{list-style:none;margin:0;padding:0;border-inline-start:2px solid var(--g-line)}
.tma-g26-toc li{margin:0!important;padding:0!important;list-style:none!important}
.tma-g26-toc a{display:block;padding:7px 14px;border-inline-start:2px solid transparent;margin-inline-start:-2px;color:var(--g-muted);font-size:16px;line-height:1.4;transition:color .2s,border-color .2s,background .2s}
.tma-g26-toc a.sub{padding-inline-start:30px;font-size:15px}
.tma-g26-toc a.on,.tma-g26-mtoc a.on{color:var(--g-brand)!important;font-weight:600}
.tma-g26-toc a.on{border-color:var(--g-brand);background:linear-gradient(90deg,var(--g-soft),transparent)}
.tma-g26-toc a:hover{color:var(--g-ink)}
.tma-g26-mtoc{display:none}
.tma-g26-reading-main{min-width:0}
.tma-g26-prose{max-width:70ch!important;font:18px/1.7 "Instrument Sans",system-ui,sans-serif!important;color:var(--g-ink)}
.tma-g26-prose h2{font-size:clamp(26px,3vw,34px)!important;margin:52px 0 14px!important;font-weight:700!important;scroll-margin-top:96px}
.tma-g26-prose h3{font-size:22px!important;margin:30px 0 8px!important;scroll-margin-top:96px}
.tma-g26-prose h2:first-of-type{margin-top:0!important}
.tma-g26-prose p{margin:0 0 16px!important;font-size:18px!important;line-height:1.7!important}
.tma-g26-prose .tma-g26-lead{font-size:21px!important;color:var(--g-muted)!important}
.tma-g26-prose ul,.tma-g26-prose ol{padding-inline-start:22px;margin:0 0 16px!important}
.tma-g26-prose li{margin-block-end:6px!important}
.tma-g26-note{border-radius:14px;padding:16px 18px;margin:22px 0;border-inline-start:4px solid #0f9d7a;background:#e3f7f0;color:#124b3f}
.tma-g26-warning{border-color:#b7791f;background:#fff6e0;color:#6f4715}
html[data-theme="dark"] .tma-g26-note{background:#10332b;color:#d6f7e8}
html[data-theme="dark"] .tma-g26-warning{background:#3a2f12;color:#f3c969}
.tma-g26-prose .tma-g26-note p{margin-bottom:0!important}
.tma-g26-cta{margin-block-start:56px;padding:30px;border-radius:22px;background:var(--g-brand);color:var(--g-brand-ink);display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.tma-g26-cta h2{margin:0!important;font-size:26px!important;color:var(--g-brand-ink)!important}
.tma-g26-cta>a{padding:12px 20px;border-radius:12px;color:var(--g-brand)!important;background:var(--g-brand-ink);font-size:16px;font-weight:600}
.tma-g26-feedback{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:40px;padding:22px;border:1px solid var(--g-line);border-radius:18px;background:var(--g-surface)}
.tma-g26-feedback>span:first-child{margin-inline-end:auto;font-weight:600}
.tma-g26-feedback button{border:1px solid var(--g-line);background:var(--g-surface);color:var(--g-ink);border-radius:12px;padding:9px 15px;cursor:pointer;font-weight:600}
.tma-g26-prevnext{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:28px}
.tma-g26-prevnext a{display:block;padding:16px 18px;border:1px solid var(--g-line);border-radius:16px;background:var(--g-surface);transition:border-color .2s,transform .2s}
.tma-g26-prevnext a:hover{border-color:var(--g-brand);transform:translateY(-2px)}
.tma-g26-prevnext small{display:block;color:var(--g-muted);font-size:14px}
.tma-g26-prevnext a:last-child{text-align:end}
.tma-g26-progress{position:fixed!important;top:67px;inset-inline:0;z-index:35;height:3px!important;pointer-events:none;background:transparent!important}
.tma-g26-progress span{height:3px;width:100%;display:block;background:var(--g-brand);transform:scaleX(0);transform-origin:left;transition:none}
[dir="rtl"] .tma-g26-progress span{transform-origin:right}
/* Keep the existing site nav component; adjust selected state only in Guides. */
html[data-atelier-family="guides"] .atelier-primary-nav a[href$="/guides"],
html[data-atelier-family="article"] .atelier-primary-nav a[href$="/guides"]{color:var(--g-brand)!important}
html[data-atelier-family="guides"] .atelier-primary-nav a[href$="/pricing"],
html[data-atelier-family="article"] .atelier-primary-nav a[href$="/pricing"]{box-shadow:none!important}
@media(max-width:960px){
 .tma-g26-reading-layout{grid-template-columns:minmax(0,1fr)!important;gap:0!important}
 .tma-g26-toc{display:none!important}
 .tma-g26-mtoc{display:block;position:sticky;top:68px;z-index:20;margin-inline:calc(-1*clamp(16px,4vw,40px));padding:10px clamp(16px,4vw,40px);background:var(--g-bg);border-bottom:1px solid var(--g-line)}
 .tma-g26-mtoc summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;cursor:pointer;font-weight:600}
 .tma-g26-mtoc summary::after{content:"▾"}.tma-g26-mtoc[open] summary::after{content:"▴"}
 .tma-g26-mtoc nav{display:grid;padding:6px 0 10px;max-height:50vh;overflow-y:auto}
 .tma-g26-mtoc nav a{padding:9px 4px;color:var(--g-muted)}
 .tma-g26-mtoc nav a.sub{padding-inline-start:18px;font-size:16px}
 .tma-g26-prose{padding-top:26px}
 .tma-g26-prevnext{grid-template-columns:1fr}
}
@media(max-width:900px){
 .tma-g26-layout{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
 .tma-g26-sidebar{position:static;min-width:0}
 .tma-g26-sidebar h2{display:none}
 .tma-g26-cats{flex-direction:row;overflow-x:auto;padding-bottom:6px;scrollbar-width:none}
 .tma-g26-cat{flex:0 0 auto;width:auto;border:1px solid var(--g-line)!important;background:var(--g-surface)!important;white-space:nowrap}
 .tma-g26-cat[aria-pressed="true"]{background:var(--g-brand)!important}
}
@media(max-width:780px){.tma-g26-feature{grid-template-columns:1fr}.tma-g26-feature .tma-g26-thumb{min-height:190px}.tma-g26-card-meta{flex-wrap:wrap}}
@media(max-width:420px){.tma-g26-grid{grid-template-columns:minmax(0,1fr)!important}.tma-g26-cta{padding:20px}.tma-g26-feature .tma-g26-card-body{padding:22px}}
@media(prefers-reduced-motion:reduce){.tma-g26-hub *,.tma-g26-article *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

[dir="rtl"] .tma-g26-toc a.on{background:linear-gradient(270deg,var(--g-soft),transparent)}

.seo-reading-shell:has(>.tma-g26-article){max-width:none!important;padding:0!important;margin:0!important;display:block!important;background:transparent!important}
.tma-g26-prose pre,.tma-g26-prose .code{position:relative;display:flex;gap:12px;align-items:center;justify-content:space-between;background:var(--g-surface);border:1px solid var(--g-line);border-radius:14px;padding:12px 14px;margin:18px 0;overflow:auto}
.tma-g26-copy{flex:0 0 auto;border:1px solid var(--g-line);border-radius:10px;padding:6px 12px;background:var(--g-bg);color:var(--g-ink);cursor:pointer}

.tma-g26-prose ol.tma-g26-steps{list-style:none;counter-reset:g26-step;display:grid;gap:14px;padding-inline:0;margin:20px 0}
.tma-g26-prose .tma-g26-steps li{counter-increment:g26-step;display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;margin:0}
.tma-g26-prose .tma-g26-steps li::before{content:counter(g26-step);inline-size:40px;block-size:40px;border-radius:12px;background:var(--g-brand);color:var(--g-brand-ink);display:grid;place-items:center;font-weight:700}
