/* Interface icons are a separate drawing system; chart text never inherits an outline. */
[hidden]{display:none!important}
.ui-icon{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.brand-mark{width:38px;height:38px;display:block;transition:transform .45s cubic-bezier(.2,.75,.2,1)}
.brand-icon:hover .brand-mark{transform:rotate(-6deg)}
.source-link>span{display:flex;align-items:center}.source-link>span .ui-icon{width:16px;height:16px}
footer .ui-icon{width:13px;height:13px}footer a{color:var(--ink);text-decoration-color:#c0c6cf;text-underline-offset:3px}footer a:hover{color:var(--accent)}
.mobile-credit{display:none}.sheet-scroll:after{content:none!important}
.source-section a:has(.ui-icon),.dialog-actions a:has(.ui-icon){display:inline-flex;gap:5px;align-items:center}.source-section a>.ui-icon,.dialog-actions a>.ui-icon{width:13px;height:13px;vertical-align:middle}

/* A single quiet surface follows the selected tab, without rectangular hover blocks. */
.tabs{position:relative;isolation:isolate;padding:4px;gap:4px;background:#f2f4f8;border:1px solid #e9ecf1;border-radius:12px;align-items:stretch;margin-bottom:18px}
.tabs:before{content:'';position:absolute;z-index:-1;left:0;top:4px;height:calc(100% - 8px);width:var(--tab-width,32%);transform:translateX(var(--tab-x,4px));background:#fff;box-shadow:0 1px 4px #2230460d,0 0 0 1px #e3e7ed80;border-radius:9px;transition:transform .32s cubic-bezier(.2,.8,.2,1),width .32s cubic-bezier(.2,.8,.2,1)}
.tabs button{position:relative;flex:1;min-width:0;min-height:35px;padding:7px 3px;font-size:12px;font-weight:500;border:0;border-radius:9px;color:#6a7480;transition:color .18s,background-color .18s}
.tabs button:hover{background:#e7ecf5;color:#35476b}
.tabs button[aria-selected=true]{color:var(--accent);font-weight:600;background:transparent;border:0}
.tabs button[aria-selected=true]:hover{background:#3457ec06;color:#2948cf}
.tabs button:focus-visible{outline-offset:1px}

/* Shared pickers: header, categories, comparison countries/year and settings. */
.select-control{position:relative;min-width:0;max-width:100%;width:100%}
.select-category{margin-bottom:16px}
.picker-trigger{display:flex;width:100%;min-height:44px;gap:10px;padding:9px 12px;border:1px solid #dfe5ee;border-radius:12px;background:linear-gradient(#fff,#fbfcfe);color:var(--ink);text-align:left;box-shadow:0 1px 2px #1e365704;transition:border-color .2s,box-shadow .2s,background-color .2s}
.picker-trigger>.ui-icon:first-child{width:18px;height:18px;color:var(--accent)}
.picker-trigger>.ui-icon:last-child{width:15px;height:15px;margin-left:auto;color:#7b8797;transition:transform .25s ease}
.picker-trigger[aria-expanded=true]>.ui-icon:last-child{transform:rotate(180deg)}
.picker-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:450}
.picker-trigger:hover{border-color:#becae3;background:#f7f9fe;box-shadow:0 2px 9px #3457ec06}
.picker-trigger[aria-expanded=true]{border-color:#97aaef;box-shadow:0 0 0 3px #3457ec0c;background:#fff}
.year-label{width:166px;flex:none}.year-label .picker-trigger{min-height:40px;padding:8px 10px;gap:7px;border-radius:11px;background:#f8f9fc;border-color:#e9edf3}.year-label .picker-value{font-size:11px;color:#586575}.year-label .picker-trigger>.ui-icon:first-child{width:15px;height:15px;color:#7182a4}
.toggle-row .select-control{max-width:128px}
.picker-menu{position:fixed;inset:auto;margin:0;padding:6px;border:1px solid #dfe5ef;border-radius:15px;background:#fffffff7;backdrop-filter:blur(20px);color:var(--ink);box-shadow:0 12px 36px #2337541a,0 2px 7px #23375408;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;z-index:90;animation:picker-in .2s cubic-bezier(.2,.8,.2,1);transform-origin:top center;max-width:calc(100vw - 24px)}
.picker-menu[data-side=above]{transform-origin:bottom center}
.picker-heading{position:sticky;top:-6px;z-index:1;margin:-6px -6px 5px;padding:11px 13px 8px;background:#fbfcfe;font-size:10px;font-weight:550;letter-spacing:.7px;text-transform:uppercase;color:#667286;border-bottom:1px solid #edf0f5}
.picker-option{display:flex;align-items:center;gap:14px;min-height:40px;padding:9px 10px;border-radius:9px;font-size:13px;cursor:pointer;transition:background-color .14s,color .14s}
.picker-option[aria-selected=true]{background:#edf1ff;color:var(--accent);font-weight:550}
.picker-option.highlighted{background:#f0f3f9;box-shadow:inset 0 0 0 1px #e2e8f1}
.picker-option[aria-selected=true].highlighted{background:#e7edff;box-shadow:inset 0 0 0 1px #d6dfff}
.picker-option .ui-icon{margin-left:auto;width:16px;height:16px}.picker-option[aria-disabled=true]{opacity:.45;cursor:default}
@keyframes picker-in{from{opacity:0;transform:translateY(-4px) scale(.985)}to{opacity:1;transform:none}}

/* Quiet, unoutlined chart typography and direct data inspection. */
.chart-figure{margin:16px 0 14px;position:relative}
.chart-unit{display:flex;justify-content:space-between;gap:10px;color:#667286;font-size:10px;line-height:1.5;margin-bottom:8px;font-weight:400}
.chart-plot{position:relative;border-radius:9px;outline-offset:3px}
.trend-chart{display:block;width:100%;height:auto;margin:0;fill:none;stroke:none;overflow:visible}
.trend-chart text{font-family:DM,system-ui,sans-serif;font-size:11px;font-weight:400;font-variation-settings:'wght' 400;letter-spacing:0;fill:#667286;stroke:none;stroke-width:0;paint-order:normal}
.trend-chart .axis-year{fill:#6a7484;font-size:10px}
.trend-chart .grid{fill:none;stroke:#e9edf3;stroke-width:.7}
.trend-chart .axis-base{stroke:#d8dfe9;stroke-width:.8;fill:none}
.trend-chart .line{stroke:#4a6aed;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;animation:line-reveal .85s cubic-bezier(.2,.7,.2,1) both}
.trend-chart .point{fill:#fff;stroke:#4a6aed;stroke-width:1.5}
.trend-chart .latest{fill:#4a6aed;stroke:white;stroke-width:2}
.trend-chart .chart-hit{fill:transparent;stroke:none;cursor:crosshair}
.trend-chart .chart-guide{stroke:#b6c4ee;stroke-width:.8;stroke-dasharray:3 4;pointer-events:none}
.trend-chart .chart-focus-dot{fill:#4a6aed;stroke:white;stroke-width:2;pointer-events:none}
.chart-caption{font-size:10px;font-weight:400;color:#667286;margin-top:10px;display:flex;gap:7px;align-items:center;line-height:1.5}.chart-caption .ui-icon{width:12px;height:12px}
.chart-tooltip{position:absolute;z-index:4;pointer-events:none;background:#fff;border:1px solid #dfe5ef;border-radius:10px;box-shadow:0 4px 16px #23375414;padding:8px 11px;max-width:180px;min-width:100px;transform:translateX(-50%);font-size:11px;line-height:1.7;color:#6a7687}
.chart-tooltip strong{display:block;color:#29384c;font-size:14px;font-weight:550;font-variant-numeric:tabular-nums}
.observations{margin:17px 0;border:1px solid #e2e7ef;border-radius:12px;overflow:hidden;background:#fcfdff}
.observations>summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:57px;padding:11px 12px;cursor:pointer;color:#4b5b72;transition:background .2s}
.observations>summary::-webkit-details-marker{display:none}.observations>summary::marker{content:''}
.observation-icon{display:flex;align-items:center;justify-content:center;flex:none;width:31px;height:31px;border-radius:9px;background:#edf2ff;color:#5d78c2}
.observation-icon .ui-icon{width:18px;height:18px}
.observations>summary>span:nth-child(2){min-width:0;font-size:12px;font-weight:500;line-height:1.6}
.observations>summary small{display:block;color:#6a7484;font-size:10px;font-weight:400}
.observations>summary>.ui-icon{margin-left:auto;width:15px;height:15px;color:#8391a6;transition:transform .25s}
.observations[open]>summary>.ui-icon{transform:rotate(90deg)}
.observations>summary:hover{background:#f3f6fd}
.observations[open]>summary{border-bottom:1px solid #e5eaf3}
.observations .table-scroll{padding:0 10px}.observations table{margin:12px 0;font-size:11px}.observations td,.observations th{padding:10px 8px}.observations caption{font-size:10px}
@keyframes line-reveal{from{stroke-dasharray:1;stroke-dashoffset:1}to{stroke-dasharray:1;stroke-dashoffset:0}}
.measure-enter{animation:measure-soft-in .32s cubic-bezier(.2,.8,.2,1)}
@keyframes measure-soft-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.text-button .ui-icon,.source-link .ui-icon{transition:transform .25s cubic-bezier(.2,.8,.2,1)}.text-button:hover>.ui-icon{transform:translateX(3px)}.source-link:hover>span>.ui-icon{transform:translateX(2px)}
@media(min-width:761px) and (max-width:1050px){.year-label{width:144px}.year-label .picker-trigger{padding:8px;gap:5px}.year-label .picker-value{font-size:10px}.wordmark h1{font-size:17px}}
@media(min-width:761px) and (max-height:900px){.select-category{margin-bottom:12px}.picker-trigger{min-height:40px}.tabs{margin-bottom:14px}.tabs button{min-height:32px}}
@media(max-width:760px){.tabs{gap:3px;margin-bottom:15px}.tabs button{padding:7px 3px;min-height:35px;font-size:12px}.mobile-credit{display:block;margin:22px 0 4px;font-size:10px;line-height:1.8;color:var(--muted)}.mobile-credit a{color:var(--ink)}.picker-option{min-height:44px}.chart-unit{font-size:10px}.picker-trigger{min-height:44px}}

.legend-key{width:16px;height:2px;border-radius:2px;flex:none;background:#4a6aed}

.metric-label>.ui-icon{width:15px;height:15px;vertical-align:-2px;margin-right:6px;color:#7386ad}.section-title:has(.ui-icon){display:flex;align-items:center;gap:8px}.section-title>.ui-icon{width:18px;height:18px;color:#6681c1}.diet-badge.neutral{color:#8491a3;border-color:#dfe5ef;background:#f4f6fa}

.picker-option>.option-symbol{width:17px;height:17px;margin-left:0;margin-right:1px;color:#7589b0}.picker-option[aria-selected=true]>.option-symbol{color:var(--accent)}

.observations[open] .table-scroll{animation:measure-soft-in .25s cubic-bezier(.2,.8,.2,1)}

.search-launch{padding-right:48px}.search-launch>span:nth-child(2){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-short{display:none}
@media(min-width:761px) and (max-width:1050px){.search-launch>span:nth-child(2){display:none}.search-short{display:inline}footer>span:nth-child(2){display:none}}
@media(max-width:760px){.search-launch{padding:8px}}
