/* Optional Phase 5B site shell. This file is only enqueued after an admin opts in. */
body.gtg-shell-enabled{--gtg-accent:#80f2ef;--gtg-deep:#0c1420;--gtg-line:#31465b;background:radial-gradient(ellipse 850px 560px at 50% 4%,rgba(53,92,122,.33),transparent 74%),linear-gradient(180deg,#0a1421 0%,#111e2c 55%,#0a1420 100%);background-color:#0b1522;color:#e6f1f8}
body.gtg-shell-enabled .site-header,body.gtg-shell-enabled #site-navigation,body.gtg-shell-enabled .site-info{display:none!important}
.gtg-skip{position:absolute;left:-9999px;top:0;background:#80f2ef;color:#09131c;padding:12px 18px;z-index:10000;font-weight:700}.gtg-skip:focus{left:8px;top:8px}.gtg-brand-header,.gtg-brand-footer{color:#eaf5fb;background:#101a28;font:inherit}
.gtg-brand-header{border-bottom:1px solid #293d50;position:relative;z-index:20}
.gtg-brand-inner,.gtg-footer-inner{max-width:1250px;margin:0 auto;padding:0 24px}
.gtg-brand-inner{display:flex;align-items:center;justify-content:space-between;min-height:83px;gap:28px}
.gtg-brand-mark{display:flex;align-items:center;gap:12px;min-width:220px}
.gtg-brand-icon{position:relative;display:inline-grid;place-items:center;width:44px;height:44px;border:1px solid #38576a;background:linear-gradient(150deg,#152535,#0a121c);border-radius:12px;font-size:28px;font-weight:900;line-height:1;color:var(--gtg-accent)}
.gtg-brand-icon::after{content:"";position:absolute;width:16px;height:3px;right:3px;bottom:8px;background:#ffb266;transform:rotate(-13deg);box-shadow:0 -6px 0 #80f2ef}
.gtg-brand-name>a,.gtg-brand-name>span{display:block;color:#fff;text-decoration:none;font-size:19px;line-height:1.18;font-weight:760;letter-spacing:-.4px}
.gtg-brand-name small{color:#93aaba;font-size:12px;display:block;margin-top:5px;line-height:1.3}
.gtg-brand-links{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.gtg-brand-links a{color:#dae9f1;text-decoration:none;border-radius:9px;font-size:14px;font-weight:650;padding:11px 12px;line-height:1.2}
.gtg-brand-links a:hover,.gtg-brand-links a:focus-visible{background:#1e3344;color:var(--gtg-accent);outline:2px solid transparent}
.gtg-menu-toggle{display:none!important;background:#182b3c;color:white;border:1px solid #36566c;border-radius:8px;font-size:14px;cursor:pointer;padding:9px 12px}
body.gtg-shell-enabled .site.grid-container{max-width:1250px}
body.gtg-shell-enabled .inside-article{border-radius:20px;padding:clamp(20px,3vw,38px) clamp(18px,3vw,40px) 48px;background:linear-gradient(155deg,#17283a 0%,#111d2d 55%,#142132 100%);border:1px solid #30485b;box-shadow:0 26px 80px rgba(0,0,0,.2);color:#e6f1f8}
body.gtg-shell-enabled .site-content{padding-top:24px;padding-bottom:34px}
body.gtg-shell-enabled .gtg-plugin{max-width:100%;margin:0 auto}
body.gtg-shell-enabled .entry-title{font-weight:750;letter-spacing:-.5px;color:#f5fbff;line-height:1.2}
/* Theme shell: style the editorial page around the independent generator without touching widget controls. */
body.gtg-shell-enabled :is(.site,.site.grid-container,.site-content,.site-main){background-color:transparent}
body.gtg-shell-enabled .entry-content>p,body.gtg-shell-enabled .entry-summary>p{color:#c9dbe6;line-height:1.75;font-size:16px}
body.gtg-shell-enabled .inside-article :is(.entry-content,.entry-header)>h2,body.gtg-shell-enabled .gtg-editorial-guide :is(h2,h3){color:#f2f9ff}
body.gtg-shell-enabled .gtg-editorial-guide :is(p,li){color:#cddce6}
body.gtg-shell-enabled .gtg-editorial-guide a{color:#96f8f5;text-underline-offset:3px}
body.gtg-shell-enabled .gtg-editorial-guide a:focus-visible{outline:2px solid #80f2ef;outline-offset:3px}
body.gtg-shell-enabled.gtg-generator-page .content-area{width:100%;float:none;max-width:none}
body.gtg-shell-enabled.gtg-generator-page .site-main{margin:0}
body.gtg-shell-enabled.gtg-generator-page .entry-content{max-width:100%;min-width:0}
body.gtg-shell-enabled.gtg-generator-page .entry-content>p{max-width:1000px}
body.gtg-shell-enabled.gtg-generator-page .gtg-plugin{max-width:100%;margin:0}
body.gtg-shell-enabled .inside-article .gtg-plugin .studio-shell{border-color:#34475b;box-shadow:0 24px 55px rgba(0,0,0,.22)}
body.gtg-shell-enabled :is(a,button,input,select,textarea):focus-visible{outline-offset:3px}
.gtg-brand-footer{border-top:1px solid #293d50;margin-top:32px}
.gtg-footer-inner{padding-top:38px;padding-bottom:24px}
.gtg-footer-head strong{display:block;color:#fff;font-size:21px;margin-bottom:10px}
.gtg-footer-head p{max-width:690px;color:#bacbd7;margin:0 0 23px;font-size:14px;line-height:1.6}
.gtg-brand-footer nav{display:flex;flex-wrap:wrap;gap:12px 21px;padding:12px 0 30px}
.gtg-brand-footer nav a{font-size:14px;color:#d9ebf3;text-decoration:none}
.gtg-brand-footer nav a:hover,.gtg-brand-footer nav a:focus-visible{color:#80f2ef;text-decoration:underline}
.gtg-footer-bottom{border-top:1px solid #2a3c4b;padding-top:18px;display:flex;justify-content:space-between;gap:15px;color:#a7bdc9;font-size:12px;flex-wrap:wrap}
body.gtg-shell-enabled .gtg-editorial-guide{margin-top:28px}
body.gtg-shell-enabled .gtg-editorial-guide h2{font-size:clamp(20px,2vw,26px);margin-top:25px}
body.gtg-shell-enabled .gtg-editorial-guide p{font-size:16px;line-height:1.7}
@media(max-width:960px){.gtg-menu-toggle{display:block!important}.gtg-brand-inner{flex-wrap:wrap;padding-top:12px;padding-bottom:12px;min-height:72px}.gtg-brand-links{display:flex;flex-basis:100%;flex-direction:column;align-items:stretch;gap:1px;border-top:1px solid #283d4d;padding-top:8px}.gtg-shell-js .gtg-brand-links{display:none}.gtg-shell-js .gtg-brand-links[data-open="true"]{display:flex}.gtg-brand-links a{padding:12px}.gtg-brand-links a:hover{background:#1e3344}}
@media(max-width:600px){.gtg-brand-inner,.gtg-footer-inner{padding-left:16px;padding-right:16px}.gtg-brand-name>a,.gtg-brand-name>span{font-size:16px}.gtg-brand-name small{font-size:11px}.gtg-brand-icon{width:39px;height:39px}body.gtg-shell-enabled .site-content{padding-top:12px}body.gtg-shell-enabled .inside-article{padding:22px 16px 30px;border-radius:14px}.gtg-footer-inner{padding-top:28px}.gtg-footer-bottom{display:block}.gtg-footer-bottom span{display:block;margin:5px 0}}

/* v0.5.4: compact, accessible mobile navigation and landing-page presentation. */
.gtg-brand-links a[aria-current="page"]{background:#1d3445;color:#a3f8f6}
@media(max-width:960px){
  .gtg-brand-links{padding-top:5px;padding-bottom:3px}
  .gtg-brand-links a{min-height:42px;display:flex;align-items:center;padding:10px 13px}
}
@media(max-width:600px){
  .gtg-brand-inner{gap:9px}
  .gtg-brand-mark{min-width:0;flex:1}
  body.gtg-shell-enabled .entry-title{font-size:clamp(1.65rem,7.2vw,2rem);line-height:1.16;margin-bottom:10px}
  body.gtg-shell-enabled .site-content{padding-top:8px}
  body.gtg-shell-enabled .inside-article{padding:18px 14px 27px}
  body.gtg-shell-enabled .entry-content>p{line-height:1.55;font-size:.94rem}
}

/* v0.8.6: native editorial guides and Guides directory. */
body.gtg-guide-post .content-area{width:100%;float:none}
body.gtg-guide-post .site-main{margin:0}
body.gtg-guide-post .inside-article{max-width:1000px;margin-inline:auto}
body.gtg-guide-post .entry-header{max-width:780px;margin-inline:auto}
body.gtg-guide-post .entry-meta,body.gtg-guide-post .entry-footer,body.gtg-guide-post #comments{display:none}
.gtg-guide-article{max-width:780px;margin-inline:auto;color:#dce9f2;font-size:17px;line-height:1.8;overflow-wrap:anywhere}
.gtg-guide-article h2,.gtg-guide-article h3,.gtg-guide-hub h2{color:#f1f7fc;line-height:1.3}
.gtg-guide-article h2{font-size:clamp(24px,3vw,31px);margin:2.2em 0 .75em;scroll-margin-top:28px}
.gtg-guide-article h3{font-size:22px;margin:1.6em 0 .6em}
.gtg-guide-article p,.gtg-guide-article li{color:#d0e0ec}
.gtg-guide-article a,.gtg-guide-hub a{color:#93f2ed;text-underline-offset:4px}
.gtg-guide-article a:focus-visible,.gtg-guide-hub a:focus-visible{outline:2px solid #85f5ec;outline-offset:4px}
.gtg-guide-article strong{color:#f4f9fc}
.gtg-guide-article li{margin-block:.6em}
.gtg-guide-article .gtg-guide-kicker{font-size:13px;color:#a9c3d4;border-bottom:1px solid #31465b;padding-bottom:18px;margin-bottom:28px}
.gtg-guide-figure{margin:32px 0;border:1px solid #344f62;border-radius:12px;overflow:hidden;background:#091320}
.gtg-guide-figure img{display:block;width:100%;height:auto}
.gtg-guide-figure figcaption{color:#b9cedd;font-size:13px;line-height:1.55;padding:14px 17px}
.gtg-guide-table{overflow:auto;max-width:100%;margin-block:24px;border:1px solid #395166;border-radius:10px}
.gtg-guide-table table{width:100%;min-width:500px;margin:0;border-collapse:collapse;font-size:15px;line-height:1.6}
.gtg-guide-table th,.gtg-guide-table td{padding:13px 15px;border:1px solid #344b5e;vertical-align:top;text-align:left}
.gtg-guide-table th{background:#20374a;color:#eaf8fb}
.gtg-guide-table td{background:#122234;color:#d1e2ed}
.gtg-guide-article pre{max-width:100%;overflow:auto;padding:20px;background:#07131e;border:1px solid #344f62;border-radius:10px;color:#b7fcf0;font-size:14px;line-height:1.6}
.gtg-guide-article :not(pre)>code{background:#20374a;color:#d1fcf5;padding:2px 5px;border-radius:4px;font-size:.9em}
.gtg-guide-back{margin-top:40px;padding-top:24px;border-top:1px solid #344f62;font-size:15px}
.gtg-guide-hub{color:#d3e3ed;max-width:1080px;margin-inline:auto}
.gtg-guide-intro{font-size:19px;line-height:1.7;max-width:810px}
.gtg-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;margin:32px 0}
.gtg-guide-card{background:#102032;border:1px solid #344f62;border-radius:14px;overflow:hidden;padding:0 22px 24px;min-width:0}
.gtg-guide-card>a:first-child{display:block;text-decoration:none}
.gtg-guide-card img{width:calc(100% + 44px);max-width:none;height:auto;aspect-ratio:1.45;object-fit:contain;margin:0 -22px 22px;background:#091320}
.gtg-guide-card h2{font-size:23px;margin:0 0 14px}
.gtg-guide-card p{font-size:15px;line-height:1.7;color:#bdcfdd}
.gtg-guide-card>a:last-child{font-size:15px;font-weight:700}
@media(max-width:640px){.gtg-guide-grid{grid-template-columns:1fr}.gtg-guide-article{font-size:16px;line-height:1.75}.gtg-guide-figure{margin-inline:0}.gtg-guide-article h2{margin-top:1.7em}.gtg-guide-table th,.gtg-guide-table td{padding:10px}.gtg-guide-intro{font-size:17px}}
