.hq{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh;background:var(--bg);font-family:var(--font);color:var(--ink);font-size:14px}.hq-side{background:var(--ink);color:#fff;padding:18px 12px;display:flex;flex-direction:column;gap:4px;position:sticky;top:0;height:100vh}.hq-brand{font-weight:700;font-size:15px;padding:4px 10px 14px;letter-spacing:-.01em}.hq-brand small{display:block;font-weight:500;font-size:11.5px;color:#ffffff8c;letter-spacing:.08em;text-transform:uppercase;margin-top:2px}.hq-nav{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:8px;color:#ffffffbf;text-decoration:none;font-weight:500}.hq-nav:hover{background:#ffffff14;color:#fff}.hq-nav[aria-current=page]{background:#fff;color:var(--ink)}.hq-side .grow{flex:1}.hq-who{padding:10px;font-size:12.5px;color:#fff9;word-break:break-all}.hq-out{width:100%;border:1px solid rgba(255,255,255,.25);background:none;color:#fff;border-radius:8px;padding:8px 10px;font:inherit;font-weight:500;cursor:pointer}.hq-out:hover{background:#ffffff1a}.hq-main{min-width:0}.hq-main .ad-page{max-width:1240px}.hq-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.hq-tiles .ad-card{padding:0}.hq-door{min-height:100vh;display:grid;place-items:center;background:var(--bg);font-family:var(--font);color:var(--ink);padding:16px}.hq-door .ad-card{width:100%;max-width:380px}.hq-filter{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.hq-filter input[type=search]{height:38px;border:1px solid var(--line-strong);border-radius:8px;padding:0 12px;font:inherit;min-width:220px}.hq-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.hq-action{border:1px solid var(--line);border-radius:10px;padding:12px 14px;display:flex;flex-direction:column;gap:8px}.hq-action form,.hq-action .row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.hq-action select,.hq-action input[type=number],.hq-action input[type=text]{height:34px;border:1px solid var(--line-strong);border-radius:8px;padding:0 10px;font:inherit;background:#fff}.hq-action input[type=number]{width:76px}.hq-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px 14px;align-items:end}.hq-form label{display:flex;flex-direction:column;gap:5px;min-width:0}.hq-form label>span:first-child,.hq-form legend{font-size:12.5px;font-weight:600;color:var(--ink-2);padding:0}.hq-form input[type=text],.hq-form input[type=number],.hq-form input[type=date],.hq-form select,.hq-prices input[type=number]{height:38px;border:1px solid var(--line-strong);border-radius:8px;padding:0 10px;font:inherit;background:#fff;min-width:0;width:100%}.hq-form .pair{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:6px}.hq-form .unit,.hq-prices .unit{display:inline-flex;align-items:center;gap:6px;color:var(--ink-3);font-weight:500}.hq-form .unit input{max-width:120px}.hq-form .unit input,.hq-prices .unit input{color:var(--ink);font-weight:400}.hq-form fieldset{grid-column:1 / -1;border:0;margin:0;padding:0;display:flex;gap:6px 16px;flex-wrap:wrap;align-items:center}.hq-form fieldset legend{margin-bottom:6px}.hq-form label.check{flex-direction:row;align-items:center;gap:6px;font-weight:500}.hq-form .wide{grid-column:1 / -1}.hq-prices input[type=number]{width:92px}.hq-prices th,.hq-prices td{padding-left:12px;padding-right:12px}.hq-dot{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:6px;background:var(--ink-3)}.hq-dot.ok{background:var(--success)}.hq-dot.bad{background:var(--danger)}@media(max-width:760px){.hq{grid-template-columns:minmax(0,1fr)}.hq-side{position:static;height:auto;flex-direction:row;flex-wrap:wrap;align-items:center;padding:10px;gap:6px}.hq-brand{padding:4px 8px;width:100%}.hq-brand small{display:inline;margin-left:6px}.hq-nav{padding:7px 9px}.hq-side .grow,.hq-who{display:none}.hq-out{width:auto;padding:6px 10px}}.ad-seg .ad-seg-link{padding:6px 12px;border-radius:7px;color:var(--ink-2);font-weight:500;text-decoration:none}.ad-seg .ad-seg-link[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.hq-support .hq-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.hq-chat-tile[data-hot=true]{border-color:transparent;box-shadow:0 0 0 1.5px var(--accent),var(--shadow)}.hq-chat-tile[data-hot=true] .v{color:var(--accent)}.hq-chat{--chat-blue: linear-gradient(135deg, #3558da 0%, var(--brand) 72%);display:grid;grid-template-columns:340px minmax(0,1fr);gap:14px;margin-top:14px;height:max(480px,calc(100vh - 232px))}.hq-chat>.ad-card{overflow:hidden;display:flex;flex-direction:column;min-height:0}.hq-chat-av{border-radius:50%;display:grid;place-items:center;font-weight:700;flex:none}.hq-chat-tools{display:flex;flex-direction:column;gap:10px;padding:12px;border-bottom:1px solid var(--line)}.hq-chat-find{display:flex;align-items:center;gap:8px;height:38px;padding:0 11px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);color:var(--ink-3);transition:border-color .12s linear,box-shadow .12s linear}.hq-chat-find:focus-within{border-color:var(--brand);background:var(--surface);box-shadow:0 0 0 3px var(--brand-soft)}.hq-chat-find input{flex:1;min-width:0;border:0;outline:0;background:none;font:inherit;color:var(--ink)}.hq-chat-tools .ad-seg{align-self:flex-start}.hq-chat-none{margin:0;padding:36px 22px;text-align:center;color:var(--ink-3);line-height:1.5}.hq-chat-threads{flex:1;overflow-y:auto;display:flex;flex-direction:column;padding:6px;gap:2px}.hq-chat-threads a{position:relative;display:flex;align-items:flex-start;gap:11px;padding:11px 10px;border-radius:12px;color:var(--ink);text-decoration:none;transition:background-color .12s linear}.hq-chat-threads a:hover{background:var(--surface-2)}.hq-chat-threads a[aria-current=page]{background:var(--brand-soft)}.hq-chat-threads .body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.hq-chat-threads .top{display:flex;align-items:baseline;gap:8px}.hq-chat-threads .top b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.hq-chat-threads time,.hq-chat-threads .who{font-size:12px;color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hq-chat-threads .last{display:flex;align-items:center;gap:8px;color:var(--ink-2);font-size:13px;min-width:0}.hq-chat-threads .last>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hq-chat-threads a[data-new=true] .top b,.hq-chat-threads a[data-new=true] .last>span{color:var(--ink);font-weight:700}.hq-chat-threads a[data-new=true] time{color:var(--accent);font-weight:600}.hq-chat-threads .last i,.hq-nav i{flex:none;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--accent);color:#fff;font-size:11.5px;font-weight:700;font-style:normal;display:inline-grid;place-items:center}.hq-nav i{margin-left:auto}.hq-chat-pick{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:30px;text-align:center;color:var(--ink-3);background:var(--surface-2)}.hq-chat-pick .mark{width:72px;height:72px;border-radius:50%;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;margin-bottom:8px}.hq-chat-pick b{color:var(--ink);font-size:17px}.hq-chat-pick>span:last-child{max-width:400px;line-height:1.5}.hq-chat-open{flex:1;min-height:0;display:flex;flex-direction:column}.hq-chat-open header{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line)}.hq-chat-open header div{flex:1;min-width:0;display:flex;flex-direction:column}.hq-chat-open header b{font-size:15.5px}.hq-chat-list{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:14px 18px 18px;display:flex;flex-direction:column;gap:3px;background:var(--surface-2)}.hq-chat-list .ad-chat-msg{max-width:66%}.hq-chat-list .ad-chat-row>.hq-chat-av{align-self:flex-start;margin-top:4px}.hq-chat-first{margin:auto;max-width:360px;text-align:center;color:var(--ink-3);line-height:1.5}.hq-chat-open footer{border-top:1px solid var(--line);padding:12px 16px;display:flex;flex-direction:column;gap:8px}.hq-chat-quick{display:flex;flex-wrap:wrap;gap:6px}.hq-chat-quick button{border:1px solid var(--line-strong);background:var(--surface);border-radius:999px;padding:5px 11px;font:inherit;font-size:12.5px;font-weight:500;color:var(--brand);cursor:pointer;transition:background-color .12s linear,border-color .12s linear}.hq-chat-quick button:hover{background:var(--brand-soft);border-color:var(--brand)}.hq-chat-open .ad-chat-write{border-radius:16px;padding:6px 6px 6px 12px}.hq-chat-open .ad-chat-write textarea{padding:6px 0}.hq-chat-open footer .ad-help{text-align:right}@media(max-width:980px){.hq-support .hq-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.hq-chat{grid-template-columns:minmax(0,1fr);height:auto}.hq-chat-side{max-height:320px}.hq-chat-main{min-height:480px}}
