.wk.ht .wk-top-title { font-weight: 600; font-size: 15px; margin-right: auto; }
.ht-pulse { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--t2); }
.ht-pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(70,196,122,.5); animation: htpulse 2.4s infinite; }
@keyframes htpulse { 0% { box-shadow: 0 0 0 0 rgba(70,196,122,.45); } 70% { box-shadow: 0 0 0 7px rgba(70,196,122,0); } 100% { box-shadow: 0 0 0 0 rgba(70,196,122,0); } }

.ht-pagehead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.ht-pagehead h1 { font-size: 28px; margin: 0 0 4px; }
.ht-pagehead p { color: var(--t2); margin: 0; }
.ht-pagehead-act { display: flex; gap: 8px; flex: none; }
.ht-crumb { font-size: 13px; color: var(--t3); margin-bottom: 6px; }
.ht-sec { margin: 30px 0 14px; font-size: 18px; }
.ht-muted { color: var(--t3); font-size: 13px; }
.ht-empty-line { color: var(--t3); font-size: 14px; padding: 6px 0; }
.ht-hint { font-size: 13px; color: var(--t3); margin: 0 0 12px; }

.ht-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; align-items: start; }
@media (max-width: 900px) { .ht-grid2 { grid-template-columns: 1fr; } }

.ht-mini { padding: 4px 9px; border-radius: 7px; background: rgba(255,255,255,.04); border: 1px solid var(--line2); color: var(--t2); font: inherit; font-size: 12px; cursor: pointer; }
.ht-mini:hover { color: var(--t1); border-color: var(--acc-line); }
.ht-mini-danger:hover { color: var(--bad); border-color: rgba(226,92,92,.4); }

.ht-claimlist { display: flex; flex-direction: column; }
.ht-claimrow { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 8px; }
.ht-claimrow:hover { background: rgba(255,255,255,.03); }
.ht-claimrow-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ht-claimrow-main a { color: var(--t1); font-weight: 600; }
.ht-claimrow-act { display: flex; align-items: center; gap: 7px; }
.ht-angle { font-size: 13px; color: var(--acc); }
.ht-ttl { font-size: 12px; color: var(--t3); white-space: nowrap; }
.ht-ttl.is-soon { color: var(--warn); }

.ht-feed { display: flex; flex-direction: column; }
.ht-feed-row { display: flex; align-items: baseline; gap: 9px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.ht-feed-row:last-child { border-bottom: 0; }
.ht-feed-verb { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; padding: 2px 6px; border-radius: 5px; background: rgba(255,255,255,.04); color: var(--t2); white-space: nowrap; flex: none; }
.ht-verb-claim { color: var(--acc); }
.ht-verb-finding { color: var(--ok); }
.ht-feed-lbl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--t2); }
.ht-feed-lbl strong { color: var(--t1); }
.ht-feed-at { color: var(--t4); font-size: 12px; white-space: nowrap; flex: none; }

.ht-logkind { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; padding: 2px 7px; border-radius: 5px; background: rgba(255,255,255,.04); color: var(--t2); flex: none; }
.ht-logkind-deadend { background: rgba(226,92,92,.16); color: #eb928c; }
.ht-logkind-attempt { background: var(--acc-bg); color: var(--acc); }
.ht-logkind-blocker { background: rgba(217,178,60,.16); color: var(--warn); }
.ht-loglist { display: flex; flex-direction: column; }
.ht-logitem { padding: 11px 0; border-bottom: 1px solid var(--line); }
.ht-logitem:last-child { border-bottom: 0; }
.ht-logitem-head { display: flex; align-items: center; gap: 9px; margin-bottom: 5px; font-size: 13.5px; }
.ht-logitem-head strong { color: var(--t1); }
.ht-logitem-head a { color: var(--acc); }
.ht-logitem-body { font-size: 14px; color: var(--t2); }
.ht-logitem-body p { margin: .3em 0; }

.ht-sev { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: 6px; flex: none; }
.ht-sev-info { background: rgba(107,107,116,.22); color: var(--t2); }
.ht-sev-low { background: rgba(70,196,122,.16); color: #6fce9a; }
.ht-sev-medium { background: rgba(217,178,60,.16); color: #e0c064; }
.ht-sev-high { background: rgba(234,138,72,.18); color: #f0a56f; }
.ht-sev-critical { background: rgba(226,92,92,.2); color: #ef8880; }
.ht-fst-paid { color: var(--ok); border-color: rgba(70,196,122,.35); }
.ht-fst-accepted, .ht-fst-resolved { color: var(--acc); border-color: var(--acc-line); }
.ht-fst-duplicate, .ht-fst-rejected { color: var(--t4); }

.ht-proglist { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 14px; }
.ht-progcard { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.ht-progcard:hover { border-color: var(--acc-line); text-decoration: none; }
.ht-progcard.is-dim { opacity: .55; }
.ht-progcard-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ht-progcard h3 { margin: 0 0 8px; color: var(--t1); }
.ht-progcard-stats { display: flex; gap: 14px; margin-top: 12px; font-size: 12.5px; color: var(--t3); }
.ht-plat { font-size: 10.5px; padding: 2px 8px; border-radius: 5px; background: rgba(255,255,255,.04); color: var(--t2); text-transform: uppercase; letter-spacing: .05em; }
.ht-reward { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 600; font-size: 14px; margin: 0; }
.ht-tag { font-size: 11px; padding: 2px 7px; border-radius: 5px; background: rgba(255,255,255,.04); color: var(--t3); }
.ht-tag-out { background: rgba(226,92,92,.16); color: #eb928c; }
.ht-tag-hot { background: rgba(217,178,60,.16); color: var(--warn); }

.ht-scopebar { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
@media (max-width: 900px) { .ht-scopebar { grid-template-columns: 1fr; } }
.ht-scopebox { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; background: var(--card); }
.ht-scopebox h4 { display: flex; align-items: center; gap: 7px; margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.ht-scope-in h4 { color: var(--ok); }
.ht-scope-out h4 { color: var(--bad); }
.ht-scope-body { font-size: 13.5px; color: var(--t2); }
.ht-scope-body p { margin: .2em 0; }

.ht-targets { display: flex; flex-direction: column; gap: 8px; }
.ht-tgt { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--line2); border-radius: 10px; padding: 12px 15px; }
.ht-tgt:hover { border-color: var(--acc-line); border-left-color: var(--acc); text-decoration: none; }
.ht-tgt.is-hot { border-left-color: var(--warn); }
.ht-tgt.is-out { opacity: .5; border-left-color: var(--bad); }
.ht-tgt-main { display: flex; align-items: center; gap: 10px; min-width: 0; flex-wrap: wrap; }
.ht-tgt-main strong { color: var(--t1); }
.ht-tgt-kind { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--t3); background: rgba(255,255,255,.04); padding: 2px 7px; border-radius: 5px; }
.ht-ident { color: var(--t3); background: var(--bg2); padding: 1px 6px; border-radius: 5px; font-family: var(--mono); font-size: 12px; }
.ht-ident-lg { font-size: 13px; padding: 4px 8px; }
.ht-tgt-claims { display: flex; align-items: center; gap: 6px; flex: none; }
.ht-chipclaim { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--acc); background: var(--acc-bg); padding: 3px 8px 3px 3px; border-radius: 20px; }
.ht-free { font-size: 12px; color: var(--t4); }

.ht-findlist { display: flex; flex-direction: column; gap: 6px; }
.ht-findrow { display: flex; align-items: center; gap: 11px; padding: 11px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.ht-findrow:hover { border-color: var(--acc-line); text-decoration: none; }
.ht-findrow-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--t1); }
.ht-bounty { color: var(--ok); font-weight: 600; font-size: 13.5px; }

.ht-filterbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.ht-filter { padding: 5px 12px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); font-size: 13px; color: var(--t2); }
.ht-filter.is-on { background: var(--acc-bg); border-color: var(--acc-line); color: var(--t1); }

.ht-alert { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; }
.ht-alert-danger { background: rgba(226,92,92,.14); border: 1px solid rgba(226,92,92,.4); color: #eda69f; }
.ht-alert-warn { background: rgba(217,178,60,.12); border: 1px solid rgba(217,178,60,.35); color: #e6c583; }
.ht-alert-ok { background: rgba(70,196,122,.1); border: 1px solid rgba(70,196,122,.3); color: #8fd6ac; }

.ht-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.ht-form-grid label, .ht-full { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--t2); }
.ht-full { grid-column: 1 / -1; margin-top: 12px; }
.ht-check { flex-direction: row !important; align-items: center; gap: 8px; }
.wk.ht .ht-form input, .wk.ht .ht-form select, .wk.ht .ht-form textarea,
.wk.ht .ht-claimform input, .wk.ht .ht-claimform select,
.wk.ht .ht-logform select, .wk.ht .ht-logform textarea,
.wk.ht .ht-keyform input, .wk.ht .ht-commentform textarea {
    background: var(--bg2); border: 1px solid var(--line2); border-radius: 8px; padding: 9px 11px; color: var(--t1); font: inherit; font-size: 14px; width: 100%; outline: 0;
}
.wk.ht .ht-form textarea, .wk.ht .ht-logform textarea, .wk.ht .ht-commentform textarea { font-family: var(--mono); font-size: 13px; resize: vertical; }
.wk.ht .ht-form input:focus, .wk.ht .ht-form select:focus, .wk.ht .ht-form textarea:focus { border-color: var(--acc-line); }
.ht-form-actions { margin-top: 16px; }
.ht-collapse[hidden] { display: none; }

.ht-claimform { display: flex; gap: 8px; margin-top: 12px; }
.ht-claimform input { flex: 1; }
.ht-claimform select { width: auto; }
.ht-logform { margin-bottom: 14px; }
.ht-logform-top { display: flex; gap: 8px; margin-bottom: 8px; }
.ht-logform-top select { width: auto; flex: 1; }

.ht-online-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; }
.ht-role { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; padding: 1px 7px; border-radius: 5px; background: rgba(255,255,255,.04); color: var(--t2); }
.ht-role-lead { background: var(--acc-bg); color: var(--acc); }

.ht-newkey { background: var(--acc-bg); border: 1px solid var(--acc-line); border-radius: var(--r); padding: 16px; margin-bottom: 18px; display: flex; flex-direction: column; gap: 10px; }
.ht-newkey code { display: block; background: var(--bg2); padding: 10px 12px; border-radius: 8px; word-break: break-all; color: var(--acc); font-family: var(--mono); }
.ht-codeblock { background: var(--bg2); border: 1px solid var(--line); border-radius: 9px; padding: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--t2); }
.ht-codeblock code { color: var(--acc); font-family: var(--mono); }
.ht-keyform { display: flex; gap: 8px; margin-bottom: 14px; }
.ht-keylist { display: flex; flex-direction: column; gap: 6px; }
.ht-keyrow { display: flex; align-items: center; gap: 12px; padding: 9px 12px; background: rgba(255,255,255,.03); border-radius: 9px; }
.ht-keyrow code { color: var(--acc); font-family: var(--mono); }
.ht-keyrow > span:nth-child(2) { flex: 1; }
.ht-keyrow.is-revoked { opacity: .5; }

.ht-prose { font-size: 14px; color: var(--t2); }
.ht-prose h1, .ht-prose h2, .ht-prose h3 { color: var(--t1); margin: 1em 0 .4em; }
.ht-prose p { margin: .5em 0; }
.ht-prose ul, .ht-prose ol { padding-left: 1.4em; margin: .5em 0; }
.ht-prose li { margin: .25em 0; }
.ht-prose code { background: var(--bg2); padding: 1px 5px; border-radius: 4px; color: var(--acc); font-family: var(--mono); }
.ht-prose pre { background: var(--bg2); border: 1px solid var(--line); border-radius: 8px; padding: 12px; overflow-x: auto; }
.ht-prose pre code { background: none; color: var(--t1); }
.ht-prose-doc { max-width: 760px; }

.ht-comments { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.ht-comment { display: flex; gap: 10px; }
.ht-comment-head { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; font-size: 13.5px; }
.ht-commentform { display: flex; flex-direction: column; gap: 8px; }
.ht-commentform button { align-self: flex-start; }

.ht-toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--card2); border: 1px solid var(--line2); border-radius: 10px; padding: 11px 18px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; }
.ht-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
.ht-toast.is-err { border-color: var(--bad); color: #eda69f; }

.ht-authbody { display: grid; place-items: center; min-height: 100vh; background: radial-gradient(70% 60% at 50% 0%, #17181c 0%, var(--bg) 70%); }
.ht-auth { width: 360px; max-width: 90vw; text-align: center; padding: 30px; }
.ht-auth img { width: 40px; height: 40px; margin-bottom: 16px; }
.ht-auth h1 { font-size: 24px; margin: 0 0 4px; }
.ht-auth-sub { color: var(--t3); font-size: 14px; margin-bottom: 22px; }
.ht-auth-form { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.ht-auth-form label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--t2); }
.ht-auth-form input { background: var(--bg2); border: 1px solid var(--line2); border-radius: 8px; padding: 10px 12px; color: var(--t1); font: inherit; outline: 0; }
.ht-auth-form input:focus { border-color: var(--acc-line); }
.ht-auth-err { background: rgba(226,92,92,.14); border: 1px solid rgba(226,92,92,.4); color: #eda69f; padding: 10px; border-radius: 8px; font-size: 13.5px; margin-bottom: 14px; }
.ht-auth-back { display: inline-block; margin-top: 18px; color: var(--t3); font-size: 13.5px; }

.ht-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 8px; border: 1px solid var(--line2); background: rgba(255,255,255,.03); color: var(--t1); font-weight: 600; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.ht-btn:hover { background: rgba(255,255,255,.07); text-decoration: none; }
.ht-btn-primary { background: var(--acc); border-color: var(--acc); color: #0b1218; }
.ht-btn-primary:hover { background: #6db7e0; }
.ht-btn-block { width: 100%; justify-content: center; }
.ht-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin-bottom: 16px; }
.ht-card > h3 { margin-bottom: 10px; }
.ht-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ht-card-head h2, .ht-card-head h3 { display: flex; align-items: center; gap: 8px; margin: 0; }
.ht-card-head > a, .ht-card-head > span, .ht-card-head .ht-muted { margin-left: auto; font-size: 13px; color: var(--t3); }
.ht-card-head .ht-btn { margin-left: auto; }
.ht-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 18px; }
@media (max-width: 900px) { .ht-stats { grid-template-columns: repeat(2, 1fr); } }
.ht-stat { display: flex; flex-direction: column; padding: 14px 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.ht-stat-n { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.ht-stat-l { color: var(--t3); font-size: 12.5px; margin-top: 6px; }
.ht-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-bottom: 20px; }
.ht-form .ht-full { grid-column: 1 / -1; margin-top: 12px; }
.ht-lead { display: flex; flex-direction: column; gap: 4px; }
.ht-lead-row { display: flex; align-items: center; gap: 12px; padding: 9px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 9px; }
.ht-lead-name { flex: 1; font-weight: 600; color: var(--t1); }
.ht-people { display: flex; flex-direction: column; gap: 8px; }
.ht-person { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 15px; }
.ht-person-main { flex: 1; min-width: 0; }
.ht-person-name { display: flex; align-items: center; gap: 8px; color: var(--t1); font-weight: 600; }
