.gsDem-dialog{box-sizing:border-box;width:min(880px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #4c6073;border-radius:14px;background:#111e2a;color:#e8f1f7;box-shadow:0 28px 100px #000a;font:13px/1.4 system-ui,sans-serif;overscroll-behavior:contain;color-scheme:dark}
.gsDem-dialog::backdrop{background:#02080ec2;backdrop-filter:blur(4px)}
.gsDem-dialog *{box-sizing:border-box}.gsDem-dialog button,.gsDem-dialog select,.gsDem-dialog input{font:inherit}.gsDem-dialog button,.gsDem-dialog select,.gsDem-dialog input[type=number]{border:1px solid #405365;border-radius:6px;background:#1c3040;color:inherit;min-height:32px;padding:4px 9px}.gsDem-dialog button{cursor:pointer}.gsDem-dialog button:disabled{opacity:.35;cursor:default}.gsDem-dialog button:hover:not(:disabled){background:#2b465b}.gsDem-dialog :focus-visible{outline:2px solid #f2d284;outline-offset:3px}.gsDem-header{position:sticky;z-index:3;top:0;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 18px;background:#111e2af5;border-bottom:1px solid #354452}.gsDem-header>div{min-width:0}.gsDem-eyebrow{margin:0;color:#8fa9bd;font-size:10px;line-height:13px;text-transform:uppercase;letter-spacing:.1em}.gsDem-header h2{margin:1px 0 0;font-size:22px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gsDem-subtitle{display:none}.gsDem-close{font-size:24px!important;line-height:1;min-width:34px;flex-shrink:0}.gsDem-body{padding:10px 16px 16px}.gsDem-controls{display:grid;grid-template-columns:1fr auto;gap:0 12px;align-items:center}.gsDem-time{display:flex;align-items:center;gap:6px;flex-wrap:wrap;grid-column:1;grid-row:1}.gsDem-time label{display:flex;gap:6px;align-items:center}.gsDem-time input{width:78px}.gsDem-status{font-size:11px;color:#a3d7c7;background:#203f3b;padding:3px 7px;border-radius:20px}.gsDem-status.is-projection{color:#f3d796;background:#493e25}.gsDem-controls input[type=range]{grid-column:1/-1;grid-row:2;width:100%;height:18px;accent-color:#7ac5e0;margin:5px 0 0;cursor:ew-resize;touch-action:pan-y}.gsDem-year-labels{grid-column:1/-1;grid-row:3;display:flex;justify-content:space-between;color:#8da3b4;font-size:10px;line-height:14px;margin-bottom:0}.gsDem-settings{grid-column:2;grid-row:1;display:flex;align-items:center;gap:10px}.gsDem-settings label{font-size:12px;color:#a9bdcc;display:flex;align-items:center;justify-content:space-between;gap:8px}.gsDem-sex{display:flex;gap:2px;border:1px solid #3c5366;padding:2px;border-radius:8px}.gsDem-sex button{border:0;padding:3px 9px;min-height:27px;background:transparent}.gsDem-sex button[aria-pressed=true]{color:#071722;background:#9cd4ec}.gsDem-dialog .gsDem-options{position:relative;border:0;padding:0}.gsDem-options>summary{list-style:none;padding:6px 9px;border:1px solid #405365;border-radius:6px;min-height:32px;font-size:12px;background:#1c3040}.gsDem-options>summary::-webkit-details-marker{display:none}.gsDem-options>summary::after{content:' ▾'}.gsDem-options[open]>summary{background:#2b465b}.gsDem-options-panel{position:absolute;right:0;top:37px;z-index:4;display:grid;gap:10px;width:260px;max-width:calc(100vw - 38px);padding:12px;background:#182b3b;border:1px solid #4b6579;border-radius:10px;box-shadow:0 10px 30px #0008}.gsDem-options-panel>[data-dem-reset]{font-size:12px}.gsDem-readout{font-size:16px;font-weight:650;margin-top:8px;line-height:22px}.gsDem-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:5px 0 0}.gsDem-stats div{padding:4px 10px;border:1px solid #31485a;border-radius:7px;display:flex;justify-content:space-between;align-items:center}.gsDem-stats span{font-size:11px;color:#b0c3d1}.gsDem-stats strong{font-size:15px}.gsDem-chart{margin:5px auto 0;max-width:760px}.gsDem-chart svg{display:block;width:100%;height:auto;overflow:visible;font:13px system-ui,sans-serif}.gsDem-chart text{fill:#bdcdd8}.gsDem-chart .gsDem-men{fill:#73bcea}.gsDem-chart .gsDem-women{fill:#e8a5bd}.gsDem-chart .gsDem-men-label{fill:#9ed7fb;font-weight:650}.gsDem-chart .gsDem-women-label{fill:#f2bed0;font-weight:650}.gsDem-axis{font-size:11px}.gsDem-note{color:#a6bac9;font-size:11px;margin:6px 0 12px}.gsDem-dialog a{color:#9bd8f3}.gsDem-dialog details{border-top:1px solid #344959;padding:10px 0}.gsDem-dialog summary{cursor:pointer;color:#bfd3e0}.gsDem-table-scroll{overflow:auto;max-height:400px;margin-top:10px}.gsDem-table table{border-collapse:collapse;width:100%;font-size:12px;font-variant-numeric:tabular-nums}.gsDem-table caption{text-align:left;margin-bottom:8px;color:#9eb5c6}.gsDem-table th,.gsDem-table td{padding:6px 10px;border-bottom:1px solid #2c4253;text-align:right;white-space:nowrap}.gsDem-table th:first-child{text-align:left}.gsDem-table thead{position:sticky;top:0;background:#172b3b}.gsDem-table tfoot{font-weight:700}.gsDem-source p{font-size:12px;color:#a4b9c8}.gsDem-loading{min-height:180px;padding:30px 0}
@media(max-width:600px){.gsDem-dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:12px}.gsDem-header{padding:9px 12px}.gsDem-header h2{font-size:20px}.gsDem-body{padding:9px 12px 12px}.gsDem-controls{grid-template-columns:1fr;gap:5px 0}.gsDem-time{grid-column:1;grid-row:1;justify-content:space-between;gap:4px}.gsDem-time label{gap:4px}.gsDem-time input{width:74px}.gsDem-settings{grid-column:1;grid-row:2;justify-content:space-between;gap:8px}.gsDem-controls input[type=range]{grid-row:3;margin:0;height:19px}.gsDem-year-labels{grid-row:4;font-size:9px;line-height:12px;margin-top:-4px}.gsDem-sex button{min-height:32px;padding:4px 12px}.gsDem-options>summary{min-height:36px;padding-top:8px}.gsDem-options-panel{top:40px}.gsDem-dialog select{max-width:150px;padding:5px 6px}.gsDem-readout{font-size:14px;line-height:20px;margin-top:8px}.gsDem-stats{gap:5px;margin-top:5px}.gsDem-stats div{padding:4px 7px}.gsDem-stats strong{font-size:14px}.gsDem-chart{margin-top:7px}.gsDem-chart svg{font-size:15px}.gsDem-chart .gsDem-axis{font-size:12px}.gsDem-source p{line-height:1.55}}
@media(prefers-reduced-motion:reduce){.gsDem-dialog *{scroll-behavior:auto!important;transition:none!important}}
