#tab-analyze [hidden]{display:none!important}
#tab-analyze .az-sr-only,#tab-analyze .az-status-summary{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#tab-analyze .az-topic-picker{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:14px 0 18px;padding:5px;background:#f0f3f7;border-radius:12px}
#view-main #tab-analyze .az-topic-picker button{display:flex;align-items:center;justify-content:center;min-height:46px;margin:0;padding:8px 6px;width:100%;height:auto;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--muted);font-size:13px;font-weight:600;line-height:1.5;box-shadow:none;white-space:normal;transform:none}
#view-main #tab-analyze .az-topic-picker button:hover{background:#ffffff90;color:var(--ink)}
#view-main #tab-analyze .az-topic-picker button[aria-pressed=true]{background:#fff;border-color:#d9d2e8;color:var(--ink);box-shadow:0 1px 3px #24394b0c}
#tab-analyze .az-topic-picker :focus-visible{outline:2px solid #83709d;outline-offset:2px}
#tab-analyze #az-bar{margin:0 0 12px;display:flex}
#tab-analyze #az-bar>label{display:flex;align-items:center;gap:10px;margin:0;font-size:12px}
#tab-analyze #az-bar select{width:auto;min-height:40px;margin:0}
#tab-analyze #az-cust-wrap{grid-template-columns:minmax(0,1fr)}
#tab-analyze .az-grid{margin-top:12px;gap:14px}
#tab-analyze .az-method{font-size:12px;line-height:1.7;margin-top:14px}
#tab-analyze .az-method>summary{color:var(--muted);cursor:pointer;padding:8px 0}
#tab-analyze .az-method p{margin:6px 0;font-size:12px}
#tab-analyze .az-usage-method{grid-column:1/-1;margin-top:0}
#tab-analyze #az-value-hint:empty{display:none}
@media(max-width:899px){#tab-analyze .az-topic-picker{grid-template-columns:repeat(3,minmax(0,1fr));margin:10px 0 14px}#view-main #tab-analyze .az-topic-picker button{font-size:12px;min-height:44px;padding:8px 4px}}
#tab-analyze>.menu-banner{display:none}
#tab-analyze .az-vehicle-form label,#tab-analyze .az-vehicle-ledger-controls label{margin:0}
#tab-analyze .az-vehicle-form input,#tab-analyze .az-vehicle-form select{height:44px}
#tab-analyze .az-vehicle-ledger-controls select{font-size:13px}
#tab-analyze .az-rate-dimensions .az-method{margin-top:8px}
#tab-analyze .az-cycle-summary>p.hint:empty{display:none}
#tab-analyze{--muted:var(--ink-600,#57636f)}
#tab-analyze details>summary{margin-top:0}
#tab-analyze .az-compare>summary{border-top:0}
#tab-analyze:has(#az-months option[value="6"]:checked) [data-filter-group="วิเคราะห์"]{display:none!important}

#view-main #tab-analyze .az-topic-picker button[data-incomplete=true]{flex-direction:column;gap:1px}
#tab-analyze .az-topic-picker button[data-incomplete=true]::after{content:"ข้อมูลไม่ครบ";font-size:9px;font-weight:400;color:#765b34}
#tab-analyze .az-topic-note{margin:-6px 0 12px;font-size:12px;line-height:1.6;color:#765b34}
