/* Salara Headquarters: iMessage-first control room.
   Deliberately does not style #salara-welcome or #view-integrations. */
body[data-view="hq"] .workspace{max-width:1720px;padding-top:38px;padding-bottom:94px}
.hq-view{width:100%;max-width:1260px;margin-inline:auto;min-width:0}
.hq-view button{font-family:inherit}
.hq-view .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hq-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;min-height:46px}
.hq-identity{display:flex;align-items:center;gap:10px;font-size:11px;letter-spacing:.17em;font-weight:750;color:var(--text)}
.hq-identity-star{color:var(--accent-ui);font-size:22px;filter:drop-shadow(0 0 16px var(--accent-glow));line-height:1}
.hq-topline-slash{color:var(--dim);padding:0 3px}
.hq-identity>span:last-child{font-weight:500;color:var(--muted)}
.hq-account-button{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:999px;background:rgb(255 255 255/.035);padding:6px 12px 6px 6px;font-size:11px;color:var(--muted);font-weight:600}
.hq-account-button:hover{border-color:var(--accent-line);color:var(--text)}
.hq-account-button>span:last-child{color:var(--accent-ui);font-size:15px}
.hq-avatar-letter{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;color:var(--text);background:linear-gradient(160deg,#5a4555,#27202b);border:1px solid var(--line)}
.hq-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(290px,.86fr);gap:18px;align-items:stretch}
.hq-hero{grid-column:1/-1;position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.44fr);overflow:hidden;border:1px solid var(--line);border-radius:30px;min-height:455px;background:radial-gradient(circle at 79% 37%,rgb(var(--accent-ui-rgb)/.18),transparent 39%),radial-gradient(circle at 6% 2%,rgb(var(--accent-ui-rgb)/.07),transparent 35%),linear-gradient(140deg,#1c171f,#100e13 68%,#161119);box-shadow:0 36px 90px rgb(0 0 0/.2),inset 0 1px rgb(255 255 255/.045)}
.hq-hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.26;background-image:linear-gradient(rgb(255 255 255/.04) 1px,transparent 1px),linear-gradient(90deg,rgb(255 255 255/.04) 1px,transparent 1px);background-size:56px 56px;mask-image:linear-gradient(90deg,transparent 8%,#000 100%)}
.hq-hero-copy{padding:51px 40px 112px;position:relative;z-index:2;min-width:0}
.hq-pill{display:inline-flex;align-items:center;gap:9px;padding:8px 12px;border-radius:999px;border:1px solid var(--accent-line);background:rgb(var(--accent-ui-rgb)/.065);color:var(--accent-ui);letter-spacing:.11em;font-size:9px;font-weight:700}
.hq-pulse,.hq-foot-dot{width:7px;height:7px;border-radius:50%;background:var(--accent-ui);box-shadow:0 0 10px var(--accent-glow)}
.hq-kicker{font-size:10px;letter-spacing:.18em;color:var(--muted);font-weight:700;margin:28px 0 12px}
.hq-hero h1{font-size:clamp(2.25rem,4.2vw,4.6rem);line-height:1.06;letter-spacing:-.066em;font-weight:520;margin:0;color:var(--text);overflow-wrap:normal}
.hq-hero h1 span{background:linear-gradient(110deg,var(--accent-ui),#f6d4de 78%);background-clip:text;-webkit-background-clip:text;color:transparent}
.hq-description{max-width:51ch;line-height:1.85;color:var(--muted);margin:19px 0 25px;font-size:13px}
.hq-hero-actions{display:flex;flex-wrap:wrap;gap:10px}
.hq-primary-action,.hq-secondary-action{min-height:42px;border-radius:12px;padding:11px 16px;display:flex;justify-content:center;align-items:center;gap:18px;font-size:12px;font-weight:700}
.hq-primary-action{border:1px solid transparent;color:var(--accent-ink);background:var(--accent-ui)}
.hq-primary-action:hover{filter:brightness(1.07);box-shadow:0 10px 30px var(--accent-glow)}
.hq-secondary-action{border:1px solid var(--line);background:rgb(255 255 255/.045);color:var(--text)}
.hq-secondary-action:hover{border-color:var(--accent-line)}
.hq-portrait{position:relative;min-height:275px;display:flex;align-items:center;justify-content:center}
.hq-portrait-halo{width:min(33vw,340px);height:min(33vw,340px);position:absolute;border-radius:50%;border:1px solid rgb(var(--accent-ui-rgb)/.13);background:radial-gradient(circle,rgb(var(--accent-ui-rgb)/.085) 0%,transparent 64%);box-shadow:0 0 0 28px rgb(var(--accent-ui-rgb)/.024),0 0 0 59px rgb(var(--accent-ui-rgb)/.012)}
.hq-portrait .salara-sprite{position:relative;z-index:1;width:min(22vw,230px);height:min(22vw,230px);filter:drop-shadow(0 28px 22px rgb(0 0 0/.35));animation:hq-breathe 6s ease-in-out infinite}
.hq-portrait-star{position:absolute;top:20%;right:20%;color:var(--accent-ui);opacity:.78;font-size:19px}
@keyframes hq-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
.hq-hero-foot{position:absolute;left:0;right:0;bottom:0;padding:19px 40px;display:flex;justify-content:flex-start;gap:clamp(18px,5vw,76px);flex-wrap:wrap;z-index:2;border-top:1px solid var(--line-soft);background:rgb(4 3 6/.28);backdrop-filter:blur(8px)}
.hq-hero-foot>div{display:flex;flex-direction:column;gap:4px}
.hq-foot-label{font-size:9px;letter-spacing:.13em;color:var(--dim);font-weight:700}
.hq-hero-foot strong{font-size:12px;color:var(--text);font-weight:600;display:flex;align-items:center;gap:7px}
.hq-foot-dot{width:5px;height:5px}
.hq-desk,.hq-private-chat,.hq-foundation{min-width:0;border-radius:25px;border:1px solid var(--line);background:linear-gradient(148deg,rgb(32 26 36/.95),rgb(17 15 20/.94));box-shadow:var(--shadow);padding:27px 26px}
.hq-section-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:17px}
.hq-section-head h2,.hq-mini-title h2{font-size:1.43rem;font-weight:550;letter-spacing:-.045em;line-height:1.18;margin:4px 0 0}
.hq-eyebrow{color:var(--accent-ui);font-size:9px;letter-spacing:.16em;font-weight:750;margin:0}
.hq-section-symbol{font-size:25px;color:var(--accent-ui);opacity:.8}
.hq-desk-links{display:grid;gap:8px}
.hq-desk-link{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;text-align:left;gap:13px;width:100%;border:1px solid var(--line-soft);border-radius:14px;padding:13px 12px;background:rgb(255 255 255/.025);color:var(--muted)}
.hq-desk-link:hover{border-color:var(--accent-line);background:rgb(var(--accent-ui-rgb)/.06);transform:translateY(-1px)}
.hq-desk-link>span:nth-child(2){display:grid;gap:3px;min-width:0}
.hq-desk-link strong{font-size:12px;font-weight:680;color:var(--text)}
.hq-desk-link small{font-size:10px;line-height:1.4;color:var(--muted)}
.hq-desk-link>span:last-child{font-size:15px;color:var(--accent-ui)}
.hq-icon{display:grid;place-items:center;width:40px;height:40px;background:rgb(var(--accent-ui-rgb)/.09);border:1px solid rgb(var(--accent-ui-rgb)/.10);border-radius:12px;color:var(--accent-ui);font-size:20px}
.hq-private-chat{display:flex;flex-direction:column;justify-content:center;background:radial-gradient(circle at 105% -10%,rgb(var(--accent-ui-rgb)/.12),transparent 42%),linear-gradient(155deg,#1e1922,#141118)}
.hq-mini-title{display:flex;align-items:start;justify-content:space-between;gap:14px}
.hq-mini-mark{color:var(--accent-ui);font-size:26px}
.hq-private-chat>p{margin:16px 0 21px;color:var(--muted);font-size:12px;line-height:1.8;max-width:47ch}
.hq-chat-form{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px;align-items:center;border:1px solid var(--line);background:rgb(0 0 0/.21);padding:6px;border-radius:15px}
.hq-chat-form:focus-within{border-color:var(--accent-line);box-shadow:0 0 0 3px rgb(var(--accent-ui-rgb)/.055)}
.hq-chat-form input{min-width:0;width:100%;height:40px;border:0;background:none;outline:none!important;color:var(--text);font-size:12px;padding:0 12px;box-shadow:none}
.hq-chat-form input::placeholder{color:var(--dim)}
.hq-chat-form button{width:40px;height:40px;border:0;border-radius:11px;background:var(--accent-ui);color:var(--accent-ink);font-size:20px}
.hq-chat-privacy{display:block;line-height:1.65;color:var(--dim);font-size:10px;margin-top:14px}
.hq-foundation{grid-column:1/-1;padding:25px 27px}
.hq-foundation .hq-section-head{margin-bottom:21px}
.hq-channel-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:14px;border-top:1px solid var(--line-soft);padding:16px 0}
.hq-channel-symbol{font-size:22px;color:var(--accent-ui)}
.hq-channel-row strong{display:block;color:var(--text);font-size:12px}
.hq-channel-row p{color:var(--muted);font-size:11px;margin:3px 0 0}
.hq-channel-tag{border:1px solid var(--accent-line);border-radius:999px;padding:5px 9px;color:var(--accent-ui);font-size:9px;letter-spacing:.1em}
.hq-text-link{padding:9px 0 0;border:0;background:transparent;color:var(--accent-ui);font-size:12px;font-weight:650}
.hq-text-link:hover{text-decoration:underline}
body[data-view="chat"] #view-chat{max-width:680px;margin-inline:auto;height:min(620px,calc(100dvh - 155px))}
body[data-view="chat"] #view-chat .chat-header{padding:15px 18px}
body[data-view="chat"] #view-chat .messages{min-height:200px;max-height:55dvh}
body[data-view="chat"] #view-chat .chat-header .chat-identity h1{font-size:1.35rem}
@media(max-width:1100px){.hq-layout{grid-template-columns:minmax(0,1fr) minmax(250px,.85fr)}.hq-hero-copy{padding-left:31px;padding-right:22px}.hq-hero-foot{padding-left:31px;padding-right:22px}}
@media(max-width:860px){.hq-layout{grid-template-columns:1fr}.hq-hero{grid-template-columns:minmax(0,1fr) 170px;min-height:390px}.hq-hero-copy{padding-bottom:121px}.hq-hero h1{font-size:clamp(2.2rem,5.2vw,3.6rem)}.hq-portrait .salara-sprite{width:160px;height:160px}.hq-portrait-halo{width:210px;height:210px}}
@media(max-width:760px){body[data-view="hq"] .workspace{padding-top:8px;padding-bottom:110px}.hq-view{width:100%}.hq-topline{margin-bottom:15px}.hq-identity{font-size:10px}.hq-account-button{padding-right:8px}.hq-account-button>span:nth-child(2){display:none}.hq-layout{gap:13px}.hq-hero{display:flex;flex-direction:column;min-height:0;border-radius:24px}.hq-hero-copy{padding:30px 23px 0}.hq-hero h1{font-size:clamp(2.28rem,9vw,3.55rem)}.hq-description{font-size:12px;margin:14px 0 18px}.hq-kicker{margin:20px 0 10px}.hq-hero-actions{gap:8px}.hq-primary-action,.hq-secondary-action{min-height:40px;padding:8px 11px;font-size:11px}.hq-portrait{min-height:190px;margin:0 0 8px;overflow:hidden}.hq-portrait-halo{width:230px;height:230px}.hq-portrait .salara-sprite{width:168px;height:168px}.hq-hero-foot{position:relative;padding:15px 23px;gap:17px 26px;justify-content:space-between}.hq-hero-foot strong{font-size:10px}.hq-foot-label{font-size:8px}.hq-desk,.hq-private-chat,.hq-foundation{padding:23px 20px;border-radius:22px}.hq-section-head h2,.hq-mini-title h2{font-size:1.36rem}.hq-desk-link{min-height:64px}.hq-foundation{padding-bottom:20px}.hq-channel-tag{font-size:8px}body[data-view="chat"] #view-chat{max-width:none;height:100%}.hq-chat-form input{font-size:16px}}
@media(max-width:380px){.hq-hero h1{font-size:2.1rem}.hq-pill{font-size:8px}.hq-hero-foot{gap:12px}.hq-hero-foot>div:last-child{width:100%}.hq-channel-row{grid-template-columns:30px minmax(0,1fr)}.hq-channel-tag{grid-column:2;justify-self:start}}
@media(prefers-reduced-motion:reduce){.hq-portrait .salara-sprite{animation:none}}
