/* Tool styles are isolated from the shared official navigation and footer. */
body{margin:0;min-width:320px;background:#fff}
.gb-tool{font-size:15px;line-height:1.6;padding-bottom:56px}
.gb-tool{color-scheme:light;--blue:#1265ff;--blue-hover:#0755e8;--ink:#10203b;--body:#30425c;--muted:#748096;--line:#dce3ed;--soft:#f4f6f9;--error:#c83434;--success:#15825c;--radius:12px;font-family:inherit;font-synthesis:none;font-weight:400;-webkit-font-smoothing:antialiased}
.gb-tool *{box-sizing:border-box}
.gb-tool button,.gb-tool input,.gb-tool textarea{font:inherit}
.gb-tool button,.gb-tool a,.gb-tool input,.gb-tool textarea{-webkit-tap-highlight-color:transparent}
.gb-tool button{cursor:pointer}
.gb-tool button:disabled{cursor:wait}
.gb-tool a{color:var(--blue);text-decoration:none}
.gb-tool a:hover{color:var(--blue-hover)}
.gb-tool button,.gb-tool input,.gb-tool textarea,.gb-tool a{outline-offset:4px}
.gb-tool :focus-visible{outline:3px solid #9dc4ff}
.gb-tool button svg,.gb-tool svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.gb-tool [hidden]{display:none!important}
.gb-tool .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.gb-skip-link{position:absolute;z-index:10;left:20px;top:-70px;padding:9px 15px;background:#fff;border:1px solid var(--blue);border-radius:6px}
.gb-skip-link:focus{top:12px}
.gb-tool{flex:1;background:radial-gradient(ellipse 75% 390px at 50% 0,#e9f4ff 0,rgba(242,248,255,.65) 57%,rgba(255,255,255,0) 100%);padding:54px 24px 0}
.gb-tool .intro{text-align:center;margin:0 auto 37px}
.gb-tool .intro h1{font-size:40px;line-height:1.35;letter-spacing:.5px;margin:0 0 12px;font-weight:650;color:#0f2243}
.gb-tool .intro p{margin:0;color:#5b6b80;font-size:16px;letter-spacing:.4px}
.gb-tool .workspace{width:100%;max-width:1040px;margin:0 auto}
.gb-tool .node-selector{border:0;margin:0 0 27px;padding:0;display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:18px;min-width:0}
.gb-tool .node-option{position:relative;display:block;min-width:0;cursor:pointer}
.gb-tool .node-option input{position:absolute;left:21px;top:21px;opacity:0;width:18px;height:18px;margin:0}
.gb-tool .node-card{height:64px;border:1px solid #d5dfe9;background:rgba(255,255,255,.82);border-radius:10px;display:flex;align-items:center;justify-content:center;gap:12px;padding:0 15px;color:#293a53;font-size:16px;font-weight:500;transition:border-color .15s,background-color .15s,box-shadow .15s}
.gb-tool .node-option:hover .node-card{border-color:#a9bddc;background:#fff}
.gb-tool .node-check{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:20px;height:20px;border:1.5px solid #aab5c5;border-radius:50%;color:#fff;background:#fff}
.gb-tool .node-check svg{width:15px;height:15px;opacity:0;stroke-width:2.2}
.gb-tool .node-option input:checked+.node-card{background:#edf5ff;border-color:var(--blue);color:#1756d0;box-shadow:0 0 0 1px rgba(18,101,255,.03)}
.gb-tool .node-option input:checked+.node-card .node-check{border-color:var(--blue);background:var(--blue)}
.gb-tool .node-option input:checked+.node-card svg{opacity:1}
.gb-tool .node-option input:focus-visible+.node-card{outline:3px solid #9dc4ff;outline-offset:4px}
.gb-tool .node-option input:disabled+.node-card{opacity:.65;cursor:wait}
.gb-tool .service-card{max-width:920px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px 32px}
.gb-tool .field-group{margin:0 0 25px}
.gb-tool .field-group>label,.gb-tool .label-row>label{display:block;color:#1a2d49;font-size:16px;font-weight:600;line-height:1.5;margin:0 0 10px}
.gb-tool .field-group input,.gb-tool .field-group textarea{width:100%;display:block;background:#fff;border:1px solid #cdd7e4;border-radius:7px;padding:12px 15px;color:#223753;box-shadow:0 1px 2px rgba(24,47,82,.025);transition:border-color .15s,box-shadow .15s}
.gb-tool .field-group input{height:49px}
.gb-tool .field-group textarea{min-height:72px;resize:vertical;line-height:1.6;max-height:270px}
.gb-tool .field-group input::placeholder,.gb-tool .field-group textarea::placeholder{color:#8c96a6;opacity:1}
.gb-tool .field-group input:focus,.gb-tool .field-group textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(18,101,255,.08);outline:none}
.gb-tool .field-group input[aria-invalid=true],.gb-tool .field-group textarea[aria-invalid=true]{border-color:#d55a5a}
.gb-tool .field-group input[aria-invalid=true]:focus,.gb-tool .field-group textarea[aria-invalid=true]:focus{box-shadow:0 0 0 3px rgba(200,52,52,.08)}
.gb-tool .field-hint{font-size:13px;color:var(--muted);line-height:1.65;margin:8px 0 0}
.gb-tool .field-error{font-size:13px;line-height:1.6;color:var(--error);margin:7px 0 0}
.gb-tool .label-row{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:10px}
.gb-tool .label-row>label{margin:0}
.gb-tool .label-row .field-hint{margin:0}
.gb-tool .captcha-row{display:flex;align-items:stretch;gap:12px}
.gb-tool .captcha-row input{flex:1;min-width:0}
.gb-tool .captcha-button{width:145px;height:49px;padding:0;flex-shrink:0;overflow:hidden;background:#f4f7fb;border:1px solid #d3dce8;border-radius:7px;color:#718097;font-size:13px}
.gb-tool .captcha-button:hover{border-color:#9eafc7}
.gb-tool .captcha-button img{height:100%;width:100%;object-fit:contain;display:block;background:#fff}
.gb-tool .form-actions{display:flex;align-items:center;gap:16px;margin-top:3px}
.gb-tool .button{height:48px;min-width:146px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:7px;padding:0 24px;font-size:15px;font-weight:500;white-space:nowrap;transition:background .15s,border-color .15s,box-shadow .15s}
.gb-tool .button-primary{background:var(--blue);color:#fff;box-shadow:0 2px 3px rgba(18,101,255,.08)}
.gb-tool .button-primary:hover:not(:disabled){background:var(--blue-hover)}
.gb-tool .button-secondary{background:#fff;color:#2d3f59;border-color:#ccd7e5}
.gb-tool .button-secondary:hover:not(:disabled){border-color:#8ea9d1;background:#f9fbff}
.gb-tool .button:disabled{opacity:.65}
.gb-tool .button-spinner{width:15px;height:15px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:gb-tool-spin .7s linear infinite}
.gb-tool .result-panel{margin-top:28px;background:var(--soft);border:1px solid transparent;border-radius:9px;padding:17px 20px;overflow-wrap:anywhere}
.gb-tool .result-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 4px}
.gb-tool .result-panel h2{font-size:15px;margin:0;font-weight:600;line-height:1.6}
.gb-tool .result-panel p{color:#788395;font-size:14px;margin:0;line-height:1.7;white-space:pre-line}
.gb-tool .result-status{font-size:12px;color:#66768b;white-space:nowrap}
.gb-tool .result-panel[data-state=loading]{background:#f1f6ff}
.gb-tool .result-panel[data-state=success]{background:#f0f9f5;border-color:#e4f0e9}
.gb-tool .result-panel[data-state=success] #result-message{color:#28674d}
.gb-tool .result-panel[data-state=error]{background:#fff5f4;border-color:#f5e6e3}
.gb-tool .result-panel[data-state=error] #result-message{color:#ad3b36}
.gb-tool .result-panel[data-state=warning]{background:#fffaf0;border-color:#f6ebd5}
.gb-tool .result-panel[data-state=warning] #result-message{color:#906521}
.gb-tool .result-list{padding:0;margin:13px 0 0;list-style:none;border-top:1px solid rgba(105,125,150,.15)}
.gb-tool .result-item{display:flex;align-items:flex-start;gap:15px;padding:9px 0;border-bottom:1px solid rgba(105,125,150,.1);font-size:13px}
.gb-tool .result-item:last-child{border-bottom:0;padding-bottom:0}
.gb-tool .result-item-domain{flex:0 1 39%;font-weight:500;min-width:100px;color:#263c58}
.gb-tool .result-item-message{flex:1;color:#68778b;white-space:pre-line}
.gb-tool .result-item[data-state=success] .result-item-message{color:var(--success)}
.gb-tool .result-item[data-state=error] .result-item-message{color:var(--error)}
.gb-tool .quota-value{margin-top:10px!important;font-size:15px!important;color:#253d5e!important;font-weight:500}
.gb-noscript-notice{position:fixed;bottom:0;left:0;right:0;background:#fff2d7;color:#785800;border-top:1px solid #efdeb2;text-align:center;padding:12px;font-size:14px}
@keyframes gb-tool-spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.gb-tool{padding-top:65px}
.gb-tool .intro{margin-bottom:42px}
.gb-tool .intro h1{font-size:44px}
.gb-tool .service-card{padding:34px 36px}}
@media(max-width:900px){.gb-tool{padding-top:42px}
.gb-tool .node-selector{gap:12px;grid-template-columns:1.4fr 1fr 1fr 1fr}
.gb-tool .node-card{font-size:14px;gap:8px;padding:0 10px;height:60px}
.gb-tool .service-card{padding:28px}}
@media(max-width:600px){.gb-tool{padding:32px 18px 0;background:radial-gradient(ellipse 130% 330px at 50% 0,#eaf4ff 0,rgba(247,251,255,.5) 70%,rgba(255,255,255,0) 100%)}
.gb-tool .intro{margin-bottom:25px}
.gb-tool .intro h1{font-size:30px;letter-spacing:.3px;margin-bottom:8px}
.gb-tool .intro p{font-size:13px;letter-spacing:0}
.gb-tool .node-selector{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}
.gb-tool .node-card{height:54px;justify-content:flex-start;padding:0 15px;font-size:14px;border-radius:8px;gap:10px}
.gb-tool .node-check{width:18px;height:18px}
.gb-tool .node-option input{left:15px;top:18px}
.gb-tool .service-card{padding:23px 20px;border-radius:10px}
.gb-tool .field-group{margin-bottom:22px}
.gb-tool .field-group>label,.gb-tool .label-row>label{font-size:15px;margin-bottom:9px}
.gb-tool .label-row>label{margin-bottom:0}
.gb-tool .field-group input,.gb-tool .field-group textarea{font-size:15px;padding:11px 12px}
.gb-tool .field-group input{height:47px}
.gb-tool .field-group textarea{min-height:78px}
.gb-tool .field-hint,.gb-tool .field-error{font-size:12px}
.gb-tool .form-actions{gap:11px;flex-wrap:wrap;margin-top:3px}
.gb-tool .button{height:46px;min-width:0;padding:0 19px;font-size:14px;flex:1}
.gb-tool .button-primary:only-child{flex:0 1 100%}
.gb-tool .result-panel{margin-top:24px;padding:15px}
.gb-tool .result-panel h2{font-size:14px}
.gb-tool .result-panel p{font-size:13px}
.gb-tool .result-item{gap:10px;display:block}
.gb-tool .result-item-domain,.gb-tool .result-item-message{display:block}
.gb-tool .result-item-message{margin-top:3px}
.gb-tool .captcha-row{gap:10px}
.gb-tool .captcha-button{width:117px;height:47px}}
@media(prefers-reduced-motion:reduce){.gb-tool *{animation-duration:.01ms!important;transition:none!important}}
/* The existing homepage navigation panel refinements, without homepage styles. */

/* Only the application-scenarios panel: desktop 3x2, tablet 2 columns, phone 1 column. */
#baole-navigation .bn-scenarios-panel .simple-links{grid-template-columns:repeat(3,minmax(0,1fr));}
#baole-navigation .bn-scenarios-panel .simple-link{min-width:0;}
@media(max-width:960px){#baole-navigation .bn-scenarios-panel .simple-links{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){#baole-navigation .bn-scenarios-panel .simple-links{grid-template-columns:minmax(0,1fr);}}


/* Activity panel only; keep the uploaded mobile navigation and all other panels unchanged. */
#baole-navigation .bn-activities-panel .simple-links{grid-template-columns:repeat(3,minmax(0,1fr));}
#baole-navigation .bn-activities-panel .simple-link{min-width:0;}
@media(max-width:960px){#baole-navigation .bn-activities-panel .simple-links{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){#baole-navigation .bn-activities-panel .simple-links{grid-template-columns:minmax(0,1fr);}}

/* CSP-safe equivalents of the official mobile language links. */
#baole-navigation .bo-mobile-languages{display:flex;flex-wrap:wrap;gap:10px;padding:12px 0;border-bottom:1px solid #edf0f5}
#baole-navigation .bo-mobile-languages .bo-language-link{display:inline-flex;align-items:center;min-height:44px;box-sizing:border-box;padding:10px 12px;border:1px solid #e5eaf0;border-radius:4px;font-size:13px;line-height:20px}

.gb-tool{padding-bottom:56px}
@media(max-width:600px){.gb-tool{padding-bottom:40px}}
