.gf-lab{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#203b46;background:#f6f9f6;font-synthesis:none;--teal:#167f76;--line:#dce8e4}
.gf-lab *{box-sizing:border-box}
.gf-lab{margin:0}
.gf-lab a{color:inherit;text-decoration:none}
.gf-lab button,.gf-lab input,.gf-lab select{font:inherit}
.gf-lab button,.gf-lab select{cursor:pointer}
.gf-lab button:focus-visible,.gf-lab select:focus-visible,.gf-lab a:focus-visible,.gf-lab input:focus-visible{outline:3px solid #b4c9aa;outline-offset:3px}
.gf-lab .top{height:68px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 4vw;border-bottom:1px solid var(--line);background:#ffffffdb;position:sticky;top:0;z-index:10;backdrop-filter:blur(16px)}
.gf-lab .brand{display:flex;align-items:center;gap:9px;font-size:16px;font-weight:750;white-space:nowrap}
.gf-lab .brand small{font-size:12px;font-weight:400;color:#6b8186;margin-left:9px}
.gf-lab .mark{color:var(--teal);font-size:36px;line-height:1}
.gf-lab .top nav{display:flex;align-items:center;gap:22px;font-size:12px;white-space:nowrap}
.gf-lab .preview,.gf-lab .tag{display:inline-block;border:1px solid #d7e4d3;background:#f0f5e9;border-radius:20px;padding:7px 11px;font-size:11px;letter-spacing:.04em;color:#57734b}
.gf-lab main{max-width:1320px;padding:0 40px;margin:auto}
.gf-lab .hero{display:grid;grid-template-columns:1.2fr 1fr;gap:70px;align-items:center;padding:70px 0 62px}
.gf-lab .eyebrow{color:var(--teal);font-size:10px;letter-spacing:.18em;font-weight:750}
.gf-lab .gf-hero-title{font-size:clamp(36px,4.7vw,62px);letter-spacing:-.055em;line-height:1.2;margin:19px 0 22px;font-weight:750}
.gf-lab h2{font-size:23px;letter-spacing:-.03em;margin:10px 0 14px}
.gf-lab p{font-size:14px;line-height:1.85;color:#617781}
.gf-lab .hero p{font-size:15px}
.gf-lab .hero-note{padding:28px 32px;border:1px solid #d9e6df;border-radius:22px;background:linear-gradient(135deg,#fff 25%,#eaf4ed)}
.gf-lab .hero-note h2{font-size:27px;line-height:1.45;margin:22px 0}
.gf-lab .metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.gf-lab .metrics b{display:block;font-size:29px;font-weight:650;color:var(--teal)}
.gf-lab .metrics small{display:block;font-size:10px;color:#6e8584;margin-top:7px}
.gf-lab .small,.gf-lab .hero-note .small{font-size:11px;line-height:1.8}
.gf-lab .workspace,.gf-lab .reading{padding:30px;background:#fff;border:1px solid var(--line);border-radius:22px;margin-bottom:28px}
.gf-lab .section-head{display:flex;justify-content:space-between;align-items:center;gap:20px}
.gf-lab .section-head h2{font-size:22px}
.gf-lab .section-head>span{font-size:11px;color:#6b8582}
.gf-lab .controls{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;padding:17px 0}
.gf-lab .controls label,.gf-lab .chart-options label,.gf-lab .reading label,.gf-lab .add-country{font-size:11px;color:#6d8288;display:flex;flex-direction:column;gap:8px}
.gf-lab input,.gf-lab select{height:40px;min-width:0;border:1px solid #d6e3df;border-radius:8px;padding:0 10px;background:#fff;color:#274651;font-size:12px;width:100%}
.gf-lab .selection-row{display:flex;justify-content:space-between;gap:20px;padding:8px 0}
.gf-lab .add-country{min-width:205px}
.gf-lab .selection-row #gf-chips{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.gf-lab .chip{border:1px solid #cde0dc;background:#f2f8f5;color:#2b7168;border-radius:20px;padding:8px 11px;font-size:11px}
.gf-lab .chip span{margin-left:8px;color:#708d87}
.gf-lab .assumption-note{padding:12px 14px;background:#f6f9f6;border-radius:8px}
.gf-lab .tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin:24px 0}
.gf-lab .tabs button{border:0;background:none;color:#6d8288;padding:15px 21px;font-size:14px;border-bottom:3px solid transparent}
.gf-lab .tabs button[aria-selected=true]{color:var(--teal);border-bottom-color:var(--teal);font-weight:700}
.gf-lab .result-heading{display:flex;justify-content:space-between;gap:25px;align-items:start}
.gf-lab .result-heading h2{font-size:24px;margin:8px 0}
.gf-lab .result-heading p{font-size:12px;max-width:680px;margin-top:0}
.gf-lab .chart-options{display:flex;gap:10px;min-width:280px}
.gf-lab .chart-options label{flex:1}
.gf-lab .legend{display:flex;gap:20px;flex-wrap:wrap;margin:18px 0 10px;font-size:12px}
.gf-lab .legend button{border:0;background:none;display:flex;gap:7px;align-items:center;color:#49636c;padding:0}
.gf-lab .legend i{width:18px;height:3px;border-radius:2px}
.gf-lab .chart-scroll,.gf-lab .table-scroll{overflow:auto;max-width:100%}
.gf-lab .chart-scroll{background:#fcfdfb;border:1px solid #e8efea;border-radius:14px;padding:12px 7px}
.gf-lab .chart-scroll svg{display:block;width:100%;min-width:600px;max-height:370px}
.gf-lab .chart-scroll text{fill:#799098;font-size:12px}
.gf-lab .chart-scroll .grid{stroke:#e3ebe5;stroke-width:1;fill:none}
.gf-lab .chart-scroll .line{fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.gf-lab .chart-scroll .benchmark{stroke:#c28a6f;stroke-dasharray:5 5;stroke-width:1.2}
.gf-lab .table-scroll{margin-top:20px}
.gf-lab table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}
.gf-lab th,.gf-lab td{text-align:right;padding:14px;border-bottom:1px solid #edf1eb}
.gf-lab th{font-size:10px;color:#7a9096;font-weight:500}
.gf-lab th:first-child,.gf-lab td:first-child{text-align:left}
.gf-lab tr[data-focus]{cursor:pointer}
.gf-lab tr[data-focus]:hover{background:#f6faf6}
.gf-lab .country-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:7px}
.gf-lab .interpolated{font-size:9px;color:#a4773f;background:#fbf4e7;padding:3px 5px;border-radius:4px;margin-left:6px}
.gf-lab .boundary{font-size:11px;padding:13px 16px;border-left:3px solid #b5cba9;background:#f8faf3}
.gf-lab .reading{background:linear-gradient(140deg,#fff,#f9fcfa)}
.gf-lab .reading select{width:190px}
.gf-lab .judgment-card{padding:23px 26px;margin:15px 0;background:#eaf4ef;border:1px solid #d5e7dc;border-radius:14px}
.gf-lab .judgment-card h3{font-size:21px;margin:0 0 14px;line-height:1.5}
.gf-lab .judgment-card p{font-size:14px;color:#496a64;margin:10px 0}
.gf-lab .stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:22px}
.gf-lab .stat-grid>div{background:#ffffffb8;padding:15px;border-radius:10px}
.gf-lab .stat-grid span{display:block;font-size:11px;color:#708783}
.gf-lab .stat-grid strong{display:block;font-size:24px;margin-top:10px;color:#147c72}
.gf-lab .source-parameters{display:flex;gap:8px;flex-wrap:wrap;font-size:11px;margin:18px 0}
.gf-lab .source-parameters span{background:#f3f7f5;border:1px solid #e1ebe5;border-radius:7px;padding:8px}
.gf-lab .actions{display:flex;align-items:center;gap:12px;margin:23px 0}
.gf-lab .actions button{border:1px solid var(--teal);color:#fff;background:var(--teal);border-radius:8px;padding:11px 15px;font-size:12px}
.gf-lab .actions .ghost{background:#fff;color:var(--teal)}
.gf-lab .actions span{font-size:11px;color:#6d8580}
.gf-lab details{padding:17px 0;border-top:1px solid var(--line)}
.gf-lab summary{font-size:12px;cursor:pointer;color:#49666d}
.gf-lab .method p{font-size:12px}
.gf-lab #gf-sources{font-size:12px;line-height:1.8;color:#71888b;overflow-wrap:anywhere}
.gf-lab #gf-sources a{color:var(--teal);text-decoration:underline}
.gf-lab #gf-sources code{font-size:10px}
.gf-lab.loading #gf-chart{opacity:.45}
.gf-lab .empty{padding:45px;color:#7a8d91;font-size:13px}
.gf-lab #gf-error{color:#925b30;background:#fff5e9;padding:14px;border-radius:10px;font-size:12px}
.gf-lab footer{display:flex;align-items:center;justify-content:space-between;padding:12px 0 40px;color:#7c9292;font-size:11px}
.gf-lab footer b{color:var(--teal)}
@media(max-width:1000px){.gf-lab main{padding:0 25px}
.gf-lab .hero{gap:30px;padding:48px 0}
.gf-lab .controls{grid-template-columns:repeat(3,1fr)}
.gf-lab .brand small{display:none}
.gf-lab .top nav{gap:14px}
.gf-lab .result-heading{flex-direction:column}
.gf-lab .chart-options{width:100%;max-width:430px}
.gf-lab .hero-note{padding:23px}
.gf-lab .stat-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.gf-lab .top{height:58px;padding:0 17px;gap:8px}
.gf-lab .brand{font-size:13px}
.gf-lab .mark{font-size:29px}
.gf-lab .top nav{gap:10px;font-size:10px}
.gf-lab .top nav a:first-of-type{display:none}
.gf-lab .preview{font-size:9px;padding:5px 8px}
.gf-lab main{padding:0 16px}
.gf-lab .hero{grid-template-columns:1fr;gap:25px;padding:36px 0 27px}
.gf-lab .hero p{font-size:13px}
.gf-lab .hero .gf-hero-title{font-size:39px;margin:15px 0}
.gf-lab .hero-note h2{font-size:23px}
.gf-lab .workspace,.gf-lab .reading{padding:20px 16px;border-radius:15px}
.gf-lab .section-head{align-items:start;gap:10px}
.gf-lab .section-head h2{font-size:18px}
.gf-lab .section-head>span{font-size:9px;max-width:90px;text-align:right}
.gf-lab .controls{grid-template-columns:repeat(2,1fr);gap:13px}
.gf-lab .controls label{font-size:10px}
.gf-lab .selection-row{flex-direction:column;gap:13px}
.gf-lab .add-country{width:100%}
.gf-lab .tabs button{padding:13px 9px;font-size:12px}
.gf-lab .result-heading h2{font-size:20px}
.gf-lab .legend{gap:12px}
.gf-lab .legend button{font-size:11px}
.gf-lab .chart-scroll svg{min-width:600px}
.gf-lab .reading .section-head{flex-direction:column}
.gf-lab .reading select{width:100%}
.gf-lab .reading label{width:100%}
.gf-lab .judgment-card{padding:18px}
.gf-lab .judgment-card h3{font-size:19px}
.gf-lab .judgment-card p{font-size:12px}
.gf-lab .stat-grid{gap:8px}
.gf-lab .stat-grid>div{padding:12px}
.gf-lab .stat-grid strong{font-size:21px}
.gf-lab .actions{flex-wrap:wrap}
.gf-lab .actions button{font-size:11px;padding:10px 12px}
.gf-lab footer{gap:15px;flex-wrap:wrap}
.gf-lab .hero-note .small{margin-bottom:0}}
.gf-lab{background:transparent}.gf-lab .hero{padding-top:30px}.gf-lab .workspace,.gf-lab .reading{margin-bottom:22px}.gf-lab .gf-stage-detail{margin-top:22px}.gf-lab .gf-stage-detail td{border:3px solid #fff;border-radius:7px}.gf-lab .gf-stage-detail summary{font-weight:650}.gf-lab .gf-hero-title{font-size:clamp(30px,4vw,49px)}

.gf-lab .mode-hint{display:flex;gap:16px;align-items:center;justify-content:space-between;margin:14px 0 20px;padding:14px 18px;background:#f0f7f3;border:1px solid #d7e6de;border-radius:14px}.gf-lab .mode-hint p{margin:0;flex:1}.gf-lab .mode-hint button{flex-shrink:0}.gf-lab .source-status{border:1px solid #d6e5dc;border-radius:17px;background:linear-gradient(120deg,#f1f8f3,#f6f8fc);padding:20px;margin:18px 0}.gf-lab .source-status-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.gf-lab .source-status h3{font-size:17px;margin:8px 0}.gf-lab .source-status p{margin:8px 0}.gf-lab #gf-sources code{overflow-wrap:anywhere}@media(max-width:700px){.gf-lab .mode-hint{align-items:stretch;flex-direction:column;gap:10px;padding:13px}.gf-lab .source-status-grid{grid-template-columns:1fr;gap:12px}.gf-lab .source-status{padding:15px}}

.gf-lab .gf-convention-comparison{padding:22px;border:1px solid #d5e8e5;border-radius:18px;background:#f8fbfa;margin:20px 0}.gf-lab .gf-convention-comparison h3{font-size:20px;margin:7px 0}.gf-lab .gf-convention-comparison .chosen{background:#e5f3ee}.gf-lab .gf-convention-comparison .chart-scroll{background:#fff;border-radius:12px}.gf-lab .actions button:disabled{opacity:.5;cursor:wait}@media(max-width:700px){.gf-lab .gf-convention-comparison{padding:14px}.gf-lab .gf-convention-comparison .section-head{gap:8px}}
