.gtip-hero h1{max-width:none}.gtip-stats{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:24px;font-size:.85rem;color:#e3ebfa}.gtip-stats strong{color:#fff;font-size:1.25rem}.gtip-main{padding-top:28px}.gtip-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:clamp(18px,3vw,28px);border-top:4px solid #174a8b}.gtip-panel h2{margin-bottom:20px}.gtip-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) auto;gap:14px;align-items:end}.gtip-fields label{display:grid;gap:7px;font-weight:700;min-width:0}.gtip-fields input,.gtip-fields select,.gtip-results-heading select{min-width:0;width:100%;background:#fff;border:1px solid #aeb8c8;border-radius:8px;padding:12px;color:var(--navy);font:inherit;min-height:48px}.gtip-fields select{font-size:.9rem}.gtip-submit{border:0;cursor:pointer;font:inherit;min-height:48px;padding:10px 24px}.gtip-help{font-size:.9rem;color:var(--muted);margin:12px 0}.gtip-examples{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:.8rem}.gtip-examples button{border:1px solid #bbcce3;background:#f2f6fc;color:#174a8b;border-radius:30px;padding:8px 12px;font:inherit;cursor:pointer;min-height:40px}.gtip-results-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:20px}.gtip-results-heading p{color:var(--muted);font-size:.9rem}.gtip-results-heading label{display:flex;align-items:center;gap:8px;font-size:.85rem}.gtip-results-heading select{width:auto;min-height:40px;padding:5px 9px}.gtip-result{background:white;border:1px solid var(--line);border-radius:12px;padding:20px;margin-bottom:12px;display:grid;grid-template-columns:1fr auto;gap:12px 24px}.gtip-result-body{min-width:0}.gtip-code{color:#174a8b;letter-spacing:.025em;font:800 clamp(1.05rem,2.5vw,1.25rem)/1.5 ui-monospace,monospace;overflow-wrap:anywhere}.gtip-result h3{font-size:1.05rem;letter-spacing:0;line-height:1.45;margin:6px 0 10px;color:var(--navy)}.gtip-path{font-size:.86rem;line-height:1.65;color:var(--muted);margin:0;overflow-wrap:anywhere}.gtip-path span+span::before{content:' › ';font-weight:bold;color:#7a8ba4}.gtip-result small{display:block;color:var(--muted);margin-top:8px}.gtip-copy{align-self:start;display:grid;gap:8px;min-width:135px}.gtip-copy button,.gtip-pagination button,#gtip-retry{font:700 .85rem/1.4 system-ui,sans-serif;border:1px solid #174a8b;border-radius:8px;background:#fff;color:#174a8b;padding:10px 12px;cursor:pointer;min-height:44px}.gtip-copy button:first-child{background:#174a8b;color:#fff}.gtip-copy button:disabled{opacity:.6;cursor:wait}.gtip-pagination{justify-content:center;padding:20px 0;gap:18px}.gtip-pagination button:disabled{opacity:.4;cursor:default}.gtip-info{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:24px 0}.gtip-info h2{font-size:1.4rem}.gtip-info p,.gtip-info ul{font-size:.93rem;color:var(--muted)}.gtip-info ul{padding-left:20px}#gtip-empty{padding:28px;background:#fff;border-radius:12px}.gtip-link{font-size:.8rem;text-align:center;color:#174a8b}.gtip-result mark{background:#fff1ba}.gtip-main .promo{margin-top:10px}.gtip-results-heading #gtip-retry{margin-right:auto}
@media(max-width:720px){.gtip-fields{grid-template-columns:1fr}.gtip-submit{width:100%}.gtip-info{grid-template-columns:1fr;gap:12px}.gtip-result{grid-template-columns:1fr;padding:16px}.gtip-copy{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.gtip-copy button{flex:1;min-width:125px}.gtip-link{padding:8px}.gtip-pagination{width:auto!important}.gtip-stats{gap:8px 14px}.gtip-hero{padding:35px 0}}

.gtip-chapter-field{display:grid;gap:7px;font-weight:700;min-width:0}
.chapter-picker{position:relative;min-width:0;width:100%;font-weight:400}
.chapter-picker summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;min-height:48px;background:#fff;border:1px solid #aeb8c8;border-radius:8px;padding:12px;font-size:.9rem;line-height:1.5}
.chapter-picker summary::-webkit-details-marker{display:none}
#chapter-selected{min-width:0;white-space:normal;overflow-wrap:anywhere}
.chapter-popover{position:absolute;inset-inline:0;top:calc(100% + 6px);z-index:24;width:100%;max-width:100%;padding:10px;background:#fff;border:1px solid #aeb8c8;border-radius:10px;box-shadow:0 10px 28px #111b3426}
.chapter-popover label{display:grid;font-size:.8rem;font-weight:700;gap:6px;margin-bottom:8px}
.chapter-popover input{min-height:42px!important;padding:9px!important;font-size:.9rem!important;box-sizing:border-box}
.chapter-options{max-height:min(360px,48vh);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
.chapter-options button{display:block;width:100%;min-height:44px;padding:10px;text-align:left;white-space:normal;overflow-wrap:anywhere;font:400 .88rem/1.5 system-ui,sans-serif;background:white;color:var(--navy);border:0;border-radius:6px;cursor:pointer}
.chapter-options button:hover,.chapter-options button:focus-visible{background:#edf3fc}
.chapter-options button[aria-pressed=true]{background:#174a8b;color:white;font-weight:700}
#chapter-empty{font-size:.85rem;margin:12px 0 2px;color:var(--muted)}
