.main-bottom-pad{padding-bottom:64px}.tool-hero{text-align:center;padding:64px 20px 32px}.tool-hero h1{font-family:var(--font-headline);font-size:var(--text-headline-xl);font-weight:700;line-height:var(--text-headline-xl-line);letter-spacing:-.02em;color:var(--color-on-background);margin:0 0 16px}.tool-hero .hero-sub{font-size:var(--text-body-lg);line-height:var(--text-body-lg-line);color:var(--color-secondary);max-width:42rem;margin:0 auto 32px}.ht-search-row{display:flex;gap:12px;margin-bottom:24px;flex-wrap:wrap}.ht-search-row .ht-search-input{flex:1;min-width:200px;padding:12px 16px 12px 44px;border-radius:var(--radius-xl);border:1px solid var(--color-border-subtle);background:var(--color-surface-container-lowest);color:var(--color-on-surface);font-size:15px;outline:none;transition:border var(--transition-fast);font-family:var(--font-body)}.ht-search-row .ht-search-input:focus{border-color:var(--color-primary)}.ht-search-row .ht-search-wrap{position:relative;flex:1;min-width:200px}.ht-search-row .ht-search-wrap .ht-search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--color-outline);pointer-events:none}html.dark .ht-search-row .ht-search-input{background:var(--color-surface-container-high);border-color:var(--color-outline-variant)}html.dark .ht-search-row .ht-search-input:focus{border-color:var(--color-primary)}.ht-cat-tabs{display:flex;gap:8px;margin-bottom:28px;flex-wrap:wrap}.ht-cat-tab{padding:8px 20px;border-radius:999px;font-size:14px;font-weight:600;border:1px solid var(--color-border-subtle);background:var(--color-surface-container-lowest);color:var(--color-on-surface-variant);cursor:pointer;transition:all var(--transition-fast);font-family:var(--font-body)}.ht-cat-tab:hover{background:var(--color-surface-container-high);border-color:var(--color-outline)}.ht-cat-tab.active{background:var(--color-primary);color:var(--color-on-primary);border-color:var(--color-primary)}.ht-cat-tab .ht-cat-count{display:inline-block;margin-left:6px;padding:0 8px;border-radius:999px;font-size:11px;font-weight:700;background:var(--color-surface-container);color:var(--color-on-surface-variant)}.ht-cat-tab.active .ht-cat-count{background:#fff3;color:var(--color-on-primary)}.ht-results-count{font-size:14px;color:var(--color-on-surface-variant);margin-bottom:16px}html.dark .ht-results-count{color:#000}.ht-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;margin-bottom:32px}.ht-card{position:relative;padding:16px 20px;border-radius:var(--radius-xl);border:1px solid var(--color-border-subtle);background:var(--color-surface-container-lowest);cursor:pointer;transition:all var(--transition-fast);overflow:hidden}.ht-card:hover{border-color:var(--color-primary);box-shadow:var(--shadow-md);transform:translateY(-2px)}.ht-card .ht-card-code{font-family:var(--font-code);font-size:28px;font-weight:800;line-height:1.1;margin-bottom:2px}.ht-card .ht-card-title{font-family:var(--font-headline);font-size:var(--text-title-sm);font-weight:600;color:var(--color-on-surface);margin-bottom:6px}.ht-card .ht-card-desc{font-size:var(--text-body-sm);line-height:var(--text-body-sm-line);color:var(--color-on-surface-variant);margin:0}.ht-card .ht-card-badge{position:absolute;top:12px;right:12px;font-size:10px;font-weight:700;padding:2px 8px;border-radius:999px;text-transform:uppercase;letter-spacing:.04em}.ht-cat-1xx .ht-card-code{color:#3b82f6}.ht-cat-1xx .ht-card-badge{background:#dbeafe;color:#1d4ed8}html.dark .ht-cat-1xx .ht-card-badge{background:#3b82f633;color:#93c5fd}.ht-cat-2xx .ht-card-code{color:#22c55e}.ht-cat-2xx .ht-card-badge{background:#dcfce7;color:#15803d}html.dark .ht-cat-2xx .ht-card-badge{background:#22c55e33;color:#86efac}.ht-cat-3xx .ht-card-code{color:#f59e0b}.ht-cat-3xx .ht-card-badge{background:#fef3c7;color:#b45309}html.dark .ht-cat-3xx .ht-card-badge{background:#f59e0b33;color:#fcd34d}.ht-cat-4xx .ht-card-code{color:#f97316}.ht-cat-4xx .ht-card-badge{background:#ffedd5;color:#c2410c}html.dark .ht-cat-4xx .ht-card-badge{background:#f9731633;color:#fdba74}.ht-cat-5xx .ht-card-code{color:#ef4444}.ht-cat-5xx .ht-card-badge{background:#fee2e2;color:#b91c1c}html.dark .ht-cat-5xx .ht-card-badge{background:#ef444433;color:#fca5a5}.ht-card:hover .ht-card-code{text-decoration:underline;text-underline-offset:2px}.ht-empty{text-align:center;padding:48px 20px;color:var(--color-on-surface-variant)}.ht-empty .ht-empty-icon{font-size:48px;margin-bottom:16px;opacity:.5}.ht-empty h3{font-family:var(--font-headline);font-size:var(--text-title-md);font-weight:600;color:var(--color-on-surface);margin:0 0 8px}.ht-empty p{font-size:var(--text-body-md);color:var(--color-on-surface-variant);margin:0}.ht-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;background:#00000080;display:none;align-items:center;justify-content:center;padding:20px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.ht-modal-overlay.open{display:flex}.ht-modal{background:var(--color-surface-container-lowest);border-radius:var(--radius-xl);max-width:600px;width:100%;max-height:80vh;overflow-y:auto;box-shadow:var(--shadow-xl);animation:modalIn .2s ease}@keyframes modalIn{0%{opacity:0;transform:scale(.95) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}.ht-modal-header{padding:20px 24px;border-bottom:1px solid var(--color-border-subtle);display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.ht-modal-header .ht-modal-code{font-family:var(--font-code);font-size:36px;font-weight:800;line-height:1}.ht-modal-header .ht-modal-title-wrap{flex:1}.ht-modal-header .ht-modal-title{font-family:var(--font-headline);font-size:var(--text-title-lg);font-weight:600;color:var(--color-on-surface);margin:0 0 4px}.ht-modal-header .ht-modal-category{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.ht-modal-close{width:36px;height:36px;border:none;background:var(--color-surface-container);border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--color-on-surface-variant);flex-shrink:0;transition:background var(--transition-fast)}.ht-modal-close:hover{background:var(--color-surface-container-high)}.ht-modal-body{padding:24px}.ht-modal-body .ht-modal-desc{font-size:var(--text-body-md);line-height:var(--text-body-md-line);color:var(--color-on-surface);margin:0 0 20px}.ht-modal-body .ht-modal-detail{font-size:var(--text-body-md);line-height:var(--text-body-md-line);color:var(--color-on-surface-variant);margin:0 0 20px}.ht-modal-body .ht-modal-ref{padding:12px 16px;background:var(--color-surface-container);border-radius:var(--radius-lg);font-size:13px;font-family:var(--font-code);color:var(--color-on-surface-variant)}.ht-modal-body .ht-modal-ref strong{font-family:var(--font-body);color:var(--color-on-surface)}.ht-modal.cat-1xx .ht-modal-code,.ht-modal.cat-1xx .ht-modal-category{color:#3b82f6}.ht-modal.cat-2xx .ht-modal-code,.ht-modal.cat-2xx .ht-modal-category{color:#22c55e}.ht-modal.cat-3xx .ht-modal-code,.ht-modal.cat-3xx .ht-modal-category{color:#f59e0b}.ht-modal.cat-4xx .ht-modal-code,.ht-modal.cat-4xx .ht-modal-category{color:#f97316}.ht-modal.cat-5xx .ht-modal-code,.ht-modal.cat-5xx .ht-modal-category{color:#ef4444}@media (max-width: 768px){.tool-hero{padding:40px 16px 24px}.tool-hero h1{font-size:32px;line-height:40px}.ht-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.ht-modal{margin:12px;max-height:90vh}.ht-search-row .ht-search-input{font-size:14px}}@media (max-width: 480px){.ht-grid{grid-template-columns:1fr}}
