#linear-staff { min-width:0; color:#253b28; scroll-margin-top:1rem; }
#linear-staff [hidden] { display:none !important; }
#linear-staff :is(button,select,a):focus-visible,#linear-staff .hz-scroll:focus-visible { outline:3px solid #416f21; outline-offset:3px; }
.hz-header p,.hz-caption,.hz-method p,.hz-evidence p { margin:.4rem 0; color:#46583e; line-height:1.8; font-size:.9rem; }
.hz-header p { max-width:74ch; }
#linear-staff label { display:flex; flex-direction:column; min-width:0; gap:.3rem; font-size:.84rem; line-height:1.5; font-weight:700; }
#linear-staff label span { font-size:.72rem; color:#52624c; font-weight:500; }
#linear-staff select { width:100%; min-width:0; min-height:42px; margin-top:auto; padding:6px 8px; border:1px solid #a7b89b; border-radius:7px; background-color:#fff; color:#263d26; font:inherit; }
#linear-staff select:disabled { background:#edf0e9; color:#5b6758; }
.hz-picker { display:flex; gap:12px; align-items:end; flex-wrap:wrap; margin:1.25rem 0 .65rem; }
.hz-picker label { flex:1 1 10rem; max-width:16rem; }
.hz-shortcuts { display:flex; gap:5px; }
.hz-shortcuts button,.hz-more { min-height:40px; background:white; border:1px solid #bdcbb2; color:#385525; border-radius:7px; padding:6px 13px; font:inherit; font-size:.82rem; font-weight:650; cursor:pointer; }
.hz-shortcuts button[aria-pressed="true"] { background:#304e29; border-color:#304e29; color:white; }
.hz-shortcuts button:hover,.hz-more:hover { border-color:#567d3d; box-shadow:0 0 0 1px #567d3d; }
.hz-scenario { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,10.3rem),1fr)); gap:.7rem 1rem; padding:1rem clamp(.7rem,2vw,1.35rem); border:1px solid #d9e0d2; background:#f5f7f1; border-radius:10px; }
.hz-result-head { display:flex; justify-content:space-between; align-items:end; flex-wrap:wrap; gap:.7rem 1rem; margin:1.7rem 0 .7rem; }
.hz-result-head p { font-size:.83rem; font-weight:700; color:#4d6a36; margin:0 0 .3rem; }
#linear-staff .hz-result-head h4,#linear-staff .hz-section-title { font:700 1.1rem/1.5 var(--serif,serif); color:#294621; margin:0; }
.hz-result-head label { width:11rem; }
.hz-kpis { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); background:#f0f5e8; border:1px solid #ccdbbf; border-radius:12px; overflow:hidden; }
.hz-kpis > div { display:flex; flex-direction:column; padding:clamp(.7rem,2vw,1.2rem); line-height:1.5; }
.hz-kpis > div + div { border-left:1px solid #ccdbbf; }
.hz-kpis span { font-size:.84rem; font-weight:700; }
.hz-kpis strong { font-size:clamp(1.35rem,2.7vw,2.1rem); color:#305024; font-variant-numeric:tabular-nums; }
.hz-kpis small { color:#536549; font-size:.77rem; }
#linear-staff .hz-section-title { margin-top:1.6rem; }
.hz-scroll { max-width:100%; overflow-x:auto; margin-top:.6rem; border:1px solid #d2ddc9; border-radius:8px; }
.hz-scroll table { width:100%; min-width:675px; border-collapse:separate; border-spacing:0; margin:0; color:inherit; font-size:.85rem; font-variant-numeric:tabular-nums; }
.hz-scroll :is(th,td) { padding:8px 10px; text-align:right; border:0; border-bottom:1px solid #dce4d6; white-space:nowrap; line-height:1.5; }
.hz-scroll thead th { background:#edf2e6; font-size:.8rem; color:#3b5432; }
.hz-scroll tr > :first-child { text-align:left; position:sticky; left:0; background:#fffefb; border-right:1px solid #dce4d6; }
.hz-scroll thead tr > :first-child { background:#edf2e6; }
.hz-scroll tbody tr:last-child > * { border-bottom:0; }
.hz-scroll tbody tr > :last-child { color:#34592a; font-weight:750; }
.hz-scroll th small { display:block; color:#5f6c57; font-size:.68rem; font-weight:500; }
.hz-more { margin-top:.55rem; background:#fafbf6; }
.hz-share-note { margin:.8rem 0; padding:.65rem .9rem; border-left:3px solid #84a666; background:#f4f7ef; font-size:.86rem; color:#3b5235; line-height:1.7; overflow-wrap:anywhere; }
.hz-download { display:flex; gap:.3rem .9rem; align-items:baseline; flex-wrap:wrap; margin:.6rem 0; font-size:.85rem; }
.hz-download span { font-size:.77rem; color:#53634d; }
.hz-steps { display:flex; flex-wrap:wrap; gap:.5rem; list-style:none; padding:0; margin:.6rem 0; }
.hz-steps li { min-width:6rem; display:flex; flex-direction:column; border:1px solid #d6e0cf; border-radius:7px; background:#fbfcf8; padding:.45rem .7rem; font-size:.86rem; font-variant-numeric:tabular-nums; }
.hz-steps small { color:#53634d; font-size:.74rem; }
.hz-method { margin-top:1.2rem; border-block:1px solid #dae1d4; padding:.6rem 0; }
.hz-method summary { color:#38552b; font-weight:700; cursor:pointer; padding:.25rem; }
.hz-evidence { margin-top:1.4rem; border-left:3px solid #dcad50; padding:.75rem 1rem; background:#fcf8ee; }
.hz-evidence h4 { margin:0; color:#534426; font-size:1rem; }
.hz-sources { display:flex; flex-wrap:wrap; gap:.3rem 1rem; margin-top:.55rem; font-size:.8rem; }
#linear-staff :is(.hz-sources,.hz-download) a { color:#385a2d; text-decoration:underline; text-underline-offset:.18em; }
@media(max-width:800px) {
  .hz-scenario { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:560px) {
  .hz-picker { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.5rem; }
  .hz-picker label { max-width:none; }
  .hz-shortcuts { grid-column:1/-1; }
  #linear-staff select { font-size:1rem; }
  .hz-kpis > div { padding:.55rem .4rem; }
  .hz-kpis span,.hz-kpis small { font-size:.7rem; }
  .hz-caption,.hz-method p,.hz-evidence p { font-size:.83rem; }
}
@media(max-width:410px) {
  .hz-scenario { grid-template-columns:1fr; }
  .hz-result-head label { width:100%; }
}
