/* Global Board — Teacher Labs: additions to the original hub design (same colours and type). */

/* links at the top of the hero */
.gbtl-topline{display:flex;flex-wrap:wrap;gap:6px 20px;margin:-34px 0 26px;font-size:14px;font-weight:600}
.gbtl-topline a{color:#E3E9F2;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.25);padding-bottom:1px}
.gbtl-topline a:hover{color:#fff;border-bottom-color:#fff}
@media (max-width:860px){.gbtl-topline{margin-top:-18px}}

/* theme layout: let the page run edge to edge inside the theme's content area */
.gbtl-fullbleed{width:100vw;max-width:100vw;margin-inline-start:calc(50% - 50vw);margin-inline-end:calc(50% - 50vw);position:relative}
body.gbtl-page .entry-content > .gbtl-fullbleed,body.gbtl-page .wp-block-post-content > .gbtl-fullbleed{margin-top:0;margin-bottom:0}
body.gbtl-page{overflow-x:clip}
.gbtl-main{display:block;margin:0;padding:0;max-width:none}

/* progress on the lab cards */
.gbtl-cardprog{display:flex;flex-direction:column;gap:6px;margin-top:2px}
.gbtl-cardprog-l{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:14px;font-weight:700;color:var(--ink)}
.gbtl-ok{background:#E3F3E8;color:#17613A;border-radius:20px;padding:0 10px;font-size:13px}
.gbtl-bar{display:block;height:8px;border-radius:8px;background:#E9EDF3;overflow:hidden}
.gbtl-bar i{display:block;height:100%;background:var(--red);border-radius:8px;transition:width .6s}
.tl-lab.gbtl-locked{border-top-color:var(--navy)}

/* sub pages (account, locked lab) */
.gbtl-sub .gbtl-hero-sm{padding:56px 0 52px}
.gbtl-sub .gbtl-hero-sm h1{font-size:clamp(28px,4.4vw,42px)}
.gbtl-sub .gbtl-hero-sm .tl-cta{margin-top:20px}
.gbtl-body{padding:48px 0 64px}
.gbtl-body .wrap{max-width:1080px}
.gbtl-sub h2{font-size:24px;margin-bottom:10px}

.gbtl-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px;box-shadow:0 8px 28px rgba(19,41,75,.07)}
.gbtl-muted{color:var(--text);opacity:.85}

/* log in / create account */
.gbtl-auth{max-width:560px;margin:0 auto}
.gbtl-tabs{justify-content:flex-start;margin:0 0 16px}
.gbtl-tabs .tl-chip{display:inline-flex;align-items:center;text-decoration:none;padding:6px 20px}
.gbtl-form .gbtl-field{margin:0 0 16px}
.gbtl-form label{display:block;font-weight:700;color:var(--ink);font-size:15.5px;margin-bottom:6px}
.gbtl-form input[type=text],.gbtl-form input[type=email],.gbtl-form input[type=password]{width:100%;min-height:50px;padding:10px 14px;border:2px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:16px}
.gbtl-form input:focus{border-color:var(--navy);outline:none;box-shadow:0 0 0 3px rgba(19,41,75,.12)}
.gbtl-form input[readonly]{background:var(--bg);color:var(--text)}
.gbtl-form .gbtl-check label{display:flex;align-items:center;gap:8px;font-weight:600}
.gbtl-form .gbtl-check input{width:18px;height:18px;accent-color:var(--red)}
.gbtl-check{margin:0 0 16px}
.gbtl-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:6px 0 0}
.gbtl-hint{margin:-10px 0 16px!important;font-size:14px;opacity:.85}
.gbtl-note{margin-top:16px!important;font-size:14.5px;background:var(--bg);border-radius:8px;padding:10px 14px}
.gbtl-link{background:none;border:0;padding:0;font:inherit;font-weight:700;color:var(--red)!important;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.gbtl-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* messages */
.gbtl-msg{border-radius:10px;padding:12px 16px;margin:0 auto 20px;font-weight:600;max-width:1080px}
.gbtl-auth ~ .gbtl-msg,.gbtl-sub .gbtl-msg{max-width:none}
.gbtl-msg ul{margin:0;padding-inline-start:20px}
.gbtl-msg.ok{background:#E3F3E8;color:#17613A}
.gbtl-msg.err{background:#FBE7EA;color:#8E1024}
.gbtl-msg.warn{background:#FFF4DC;color:#6B4A00;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.gbtl-msg.warn .tl-btn{min-height:40px;padding:6px 18px;font-size:15px}

/* dashboard */
.gbtl-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:28px}
.gbtl-tiles div{background:var(--bg);border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:2px}
.gbtl-tiles b{font-size:30px;color:var(--ink);line-height:1.3}
.gbtl-tiles b.gbtl-plan{font-size:17px;line-height:1.6}
.gbtl-tiles span{font-size:14px;font-weight:600}
@media (max-width:760px){.gbtl-tiles{grid-template-columns:repeat(2,1fr)}}
.gbtl-dash{margin-bottom:32px}
.gbtl-stats{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:15px}
.gbtl-stats li{display:flex;justify-content:space-between;gap:10px;border-bottom:1px dashed var(--line);padding:3px 0}
.gbtl-stats b{color:var(--ink)}
.gbtl-reset{text-align:center;margin-top:-2px}
.gbtl-reset .gbtl-link{font-size:14px;font-weight:600;color:var(--text)!important}
.gbtl-profile{max-width:560px}
.gbtl-profile h2{margin-bottom:16px}

/* locked lab */
.gbtl-lock{max-width:720px;margin:0 auto;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.gbtl-lock-ico{font-size:40px;line-height:1;width:84px;height:84px;border-radius:50%;background:var(--bg);display:grid;place-items:center}
.gbtl-lock p{max-width:620px}
.gbtl-lock .gbtl-msg{margin:0}
.gbtl-lock-cta{justify-content:center;margin-top:10px}
.gbtl-inline{display:inline}

/* lab page: slim bar + the lab in a frame, full width between the theme's header and footer */
.gbtl-labwrap{background:#FBF7EF;margin:0;padding:0;line-height:normal}
.gbtl-labwrap *{box-sizing:border-box}
#gbtl-bar{display:flex;flex-wrap:wrap;align-items:center;gap:4px 18px;margin:0;background:#0B2220;color:#DCE9E6;padding:7px 16px;font-family:'Cairo',Tahoma,sans-serif;font-size:13.5px;line-height:1.6;text-align:start}
#gbtl-bar a{color:#fff;font-weight:700;text-decoration:none;background:none;border:0;box-shadow:none}
#gbtl-bar a:hover{text-decoration:underline;text-underline-offset:3px;color:#fff}
#gbtl-bar a:focus-visible{outline:2px solid #F2C46B;outline-offset:2px;border-radius:4px}
#gbtl-bar .gbtl-lb-msg{opacity:.85}
#gbtl-bar .gbtl-lb-sync{color:#F2C46B;font-weight:700}
#gbtl-bar .gbtl-lb-sync[data-s=error]{color:#FFB4A8}
#gbtl-bar .gbtl-lb-links{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;margin-inline-start:auto}
#gbtl-bar a.gbtl-lb-cta{background:#F2C46B;color:#12302E;border-radius:20px;padding:1px 12px}
@media (max-width:720px){#gbtl-bar .gbtl-lb-msg{display:none}#gbtl-bar{padding:6px 12px;gap:4px 14px}}
.gbtl-frame{display:block;width:100%;max-width:none;margin:0;padding:0;border:0;background:#FBF7EF;min-height:520px;height:calc(100vh - var(--gbtl-top,0px));height:calc(100dvh - var(--gbtl-top,0px))}
.gbtl-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* [gbtl_user_menu] */
.gbtl-user-menu a{text-decoration:none;font-weight:600}
