/* Host chrome: faithful light-mode mocks of ChatGPT and Claude (web + iOS).
   The host is not our brand: its colours and type follow each product. */
.hx{--hx-font:ui-sans-serif,-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif;
  display:flex;background:#fff;color:#0d0d0d;font:16px/1.5 var(--hx-font);-webkit-font-smoothing:antialiased;position:relative;overflow:hidden;text-align:left}
.hx *{box-sizing:border-box}
.hx .i{flex:0 0 auto;vertical-align:middle}
.hx-main{flex:1;min-width:0;display:flex;flex-direction:column}
.hx-thread{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none}
.hx-thread::-webkit-scrollbar{display:none}
.hx-col{max-width:768px;margin:0 auto;padding:20px 24px 8px}
.hx .tool-anim{animation:hxin .35s cubic-bezier(.2,.8,.2,1) both}
@keyframes hxin{from{opacity:0;transform:translateY(8px)}}
@keyframes hxsh{to{background-position:-200% 0}}
.hx-shim{background:linear-gradient(90deg,#9b9b9b 30%,#0d0d0d 50%,#9b9b9b 70%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:hxsh 1.4s linear infinite}

/* app icon (our mark) */
.hx-app{width:20px;height:20px;border-radius:6px;background:#0a0a0a;display:inline-grid;place-items:center;flex:0 0 20px;color:#fff;overflow:hidden}
.hx-app.orb{border-radius:50%}.hx-app.orb::after,.hx-app.mono::after,.hx-app.keym::after{display:none}
.hx-app.mono{font:800 10px/1 -apple-system,Inter,sans-serif;letter-spacing:-.04em}
.hx-app::after{content:"";width:var(--r,7px);height:var(--r,7px);border-radius:50%;border:var(--b,2px) solid #fff;box-sizing:border-box}
.hx-app.lg{width:28px;height:28px;border-radius:8px}.hx-app.lg::after{width:10px;height:10px}

/* ================= ChatGPT ================= */
.hx.gpt .hx-side{width:260px;flex:0 0 260px;background:#f9f9f9;border-right:1px solid rgba(0,0,0,.06);display:flex;flex-direction:column;padding:8px;font-size:14px}
.hx.gpt .hx-side .top{display:flex;justify-content:space-between;align-items:center;height:44px;padding:0 6px;color:#5d5d5d}
.hx.gpt .hx-side .logo{width:24px;height:24px;border-radius:50%;border:2px solid #0d0d0d;position:relative}
.hx.gpt .hx-side .logo::after{content:"";position:absolute;inset:4px;border-radius:50%;border:1.5px solid #0d0d0d}
.hx.gpt .si{display:flex;align-items:center;gap:10px;height:36px;padding:0 10px;border-radius:10px;color:#0d0d0d}
.hx.gpt .si:hover{background:#ececec}
.hx.gpt .si.on{background:#ececec}
.hx.gpt .sh{font-size:13px;color:#8f8f8f;padding:18px 10px 6px}
.hx.gpt .si.chat{color:#0d0d0d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:36px}
.hx.gpt .acct{margin-top:auto;display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px}
.hx.gpt .acct .av{width:28px;height:28px;border-radius:50%;background:#7a5cff;color:#fff;font-size:12px;font-weight:600;display:grid;place-items:center}
.hx.gpt .acct small{display:block;color:#8f8f8f;font-size:12px;line-height:1.2}
.hx.gpt .hx-top{height:52px;flex:0 0 52px;display:flex;align-items:center;justify-content:space-between;padding:0 12px 0 16px}
.hx.gpt .model{display:flex;align-items:center;gap:4px;font-size:18px;font-weight:400;padding:6px 8px;border-radius:10px;color:#0d0d0d}
.hx.gpt .model .i{color:#8f8f8f}
.hx.gpt .tbtn{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:#5d5d5d}
.hx.gpt .tr{display:flex;align-items:center;gap:2px}
.hx.gpt .tr .sharebtn{display:flex;align-items:center;gap:6px;height:36px;padding:0 12px;border-radius:999px;border:1px solid rgba(0,0,0,.1);font-size:14px;color:#0d0d0d}
.hx.gpt .u{display:flex;flex-direction:column;align-items:flex-end;gap:6px;margin:6px 0 24px}
.hx.gpt .u .bub{background:#f4f4f4;border-radius:18px;padding:10px 16px;max-width:70%;font-size:16px;line-height:1.5;white-space:pre-wrap}
.hx.gpt .a{margin:0 0 28px;font-size:16px;line-height:1.75}
.hx.gpt .a p{margin:0 0 8px}
.hx.gpt .tool{display:flex;align-items:center;gap:8px;font-size:14px;color:#5d5d5d;margin:0 0 10px;line-height:20px}
.hx.gpt .tool b{font-weight:500;color:#0d0d0d}
.hx.gpt .acts{display:flex;gap:2px;margin:6px 0 0 -8px;color:#5d5d5d}
.hx.gpt .acts span{width:32px;height:32px;border-radius:8px;display:grid;place-items:center}
.hx.gpt .hx-comp{padding:0 24px 8px}
.hx.gpt .box{max-width:768px;margin:0 auto;background:#fff;border-radius:28px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 4px 16px rgba(0,0,0,.06);display:flex;align-items:center;gap:6px;padding:10px 10px 10px 10px;min-height:56px}
.hx.gpt .box .cb{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:#0d0d0d}
.hx.gpt .box .apppill{display:flex;align-items:center;gap:6px;height:32px;padding:0 10px 0 6px;border-radius:999px;background:#f4f4f4;font-size:14px;font-weight:500;white-space:nowrap}
.hx.gpt .box .apppill .x{color:#8f8f8f}
.hx.gpt .box .in{flex:1;min-width:0;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 4px}
.hx.gpt .box .in:empty::before{content:"Ask anything";color:#8f8f8f}
.hx.gpt .box .voice{width:36px;height:36px;border-radius:50%;background:#0d0d0d;color:#fff;display:grid;place-items:center}
.hx.gpt .note{font-size:12px;color:#5d5d5d;text-align:center;padding:8px 0 10px}
.hx.gpt .files{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:85%}
.hx.gpt .fc{display:flex;align-items:center;gap:10px;border:1px solid rgba(0,0,0,.1);border-radius:16px;padding:8px 14px 8px 8px;background:#fff;font-size:14px;max-width:240px}
.hx.gpt .fc .fi{width:36px;height:36px;border-radius:8px;background:#ff5588;color:#fff;display:grid;place-items:center;flex:0 0 36px}
.hx.gpt .fc .fi.img{background:#0ea5e9}
.hx.gpt .fc b{font-weight:500;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hx.gpt .fc small{color:#8f8f8f;font-size:12px;display:block;line-height:1.2}

/* ================= Claude ================= */
.hx.cld{background:#faf9f5;color:#141413}
.hx.cld .hx-side{width:288px;flex:0 0 288px;background:#f5f4ee;border-right:.5px solid #e5e3d8;display:flex;flex-direction:column;padding:10px 8px;font-size:14px}
.hx.cld .hx-side .top{display:flex;align-items:center;justify-content:space-between;height:40px;padding:0 8px;font:500 19px/1 ui-serif,Georgia,serif;letter-spacing:-.01em}
.hx.cld .si{display:flex;align-items:center;gap:10px;height:34px;padding:0 10px;border-radius:8px;color:#3d3d3a}
.hx.cld .si.new{color:#141413;font-weight:500}
.hx.cld .si.new .pl{width:22px;height:22px;border-radius:50%;background:#c6613f;color:#fff;display:grid;place-items:center}
.hx.cld .si.on{background:#ebe9df}
.hx.cld .sh{font-size:12px;color:#87867f;padding:16px 10px 6px}
.hx.cld .si.chat{display:block;line-height:34px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13.5px}
.hx.cld .acct{margin-top:auto;display:flex;align-items:center;gap:10px;padding:8px 10px;border-top:.5px solid #e5e3d8}
.hx.cld .acct .av{width:30px;height:30px;border-radius:50%;background:#3d3d3a;color:#fff;font-size:12px;font-weight:600;display:grid;place-items:center}
.hx.cld .acct small{display:block;color:#87867f;font-size:12px;line-height:1.2}
.hx.cld .hx-top{height:50px;flex:0 0 50px;display:flex;align-items:center;justify-content:space-between;padding:0 14px 0 18px}
.hx.cld .title{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:500;color:#141413}
.hx.cld .title .i{color:#87867f}
.hx.cld .sharebtn{height:32px;padding:0 12px;border-radius:8px;border:.5px solid #d6d3c7;background:#fff;font-size:13.5px;display:flex;align-items:center}
.hx.cld .tbtn{width:32px;height:32px;display:grid;place-items:center;color:#3d3d3a}
.hx.cld .u{display:flex;gap:10px;align-items:flex-start;margin:6px 0 22px}
.hx.cld .u .av{width:28px;height:28px;border-radius:50%;background:#3d3d3a;color:#fff;font-size:12px;font-weight:600;display:grid;place-items:center;flex:0 0 28px}
.hx.cld .u .stack{display:flex;flex-direction:column;gap:8px;min-width:0}
.hx.cld .u .bub{background:#f0eee6;border-radius:12px;padding:9px 14px;font-size:15.5px;line-height:1.55;white-space:pre-wrap;align-self:flex-start}
.hx.cld .a{margin:0 0 26px;font:16.5px/1.65 "Tiempos Text",ui-serif,Georgia,Cambria,serif;color:#141413}
.hx.cld .a p{margin:0 0 8px}
.hx.cld .tool{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 12px 0 10px;border-radius:9px;border:.5px solid #dedcd1;background:#fff;font:13.5px var(--hx-font);color:#3d3d3a;margin:0 0 10px}
.hx.cld .tool b{font-weight:500;color:#141413}
.hx.cld .tool .fn{color:#87867f}
.hx.cld .endmark{margin:4px 0 0}
.hx.cld .acts{display:flex;gap:2px;margin:4px 0 0 -6px;color:#73726c;align-items:center}
.hx.cld .acts span{width:30px;height:30px;border-radius:6px;display:grid;place-items:center}
.hx.cld .hx-comp{padding:0 24px 6px}
.hx.cld .box{max-width:768px;margin:0 auto;background:#fff;border-radius:20px;border:.5px solid #dedcd1;box-shadow:0 4px 20px rgba(0,0,0,.035);padding:14px 12px 10px 16px}
.hx.cld .box .in{font-size:15.5px;min-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hx.cld .box .in:empty::before{content:"Reply to Claude…";color:#87867f}
.hx.cld .box .row{display:flex;align-items:center;gap:6px;margin-top:12px}
.hx.cld .box .cb{width:32px;height:32px;border-radius:8px;border:.5px solid #dedcd1;display:grid;place-items:center;color:#3d3d3a}
.hx.cld .box .appchip{display:flex;align-items:center;gap:6px;height:32px;padding:0 10px 0 6px;border-radius:8px;border:.5px solid #dedcd1;font-size:13px;color:#3d3d3a}
.hx.cld .box .mdl{margin-left:auto;font-size:13px;color:#3d3d3a;display:flex;align-items:center;gap:3px;padding:0 6px}
.hx.cld .box .send{width:32px;height:32px;border-radius:8px;background:#c6613f;color:#fff;display:grid;place-items:center;opacity:.5}
.hx.cld .box .send.go{opacity:1}
.hx.cld .note{font-size:12px;color:#73726c;text-align:center;padding:8px 0 10px}
.hx.cld .files{display:flex;gap:8px;flex-wrap:wrap}
.hx.cld .fc{width:120px;height:120px;border-radius:10px;border:.5px solid #dedcd1;background:#fff;padding:10px;display:flex;flex-direction:column;justify-content:space-between;font-size:12px}
.hx.cld .fc b{font-weight:500;font-size:12.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.hx.cld .fc small{color:#87867f}
.hx.cld .fc .ext{align-self:flex-start;font-size:10.5px;font-weight:600;border:.5px solid #dedcd1;border-radius:5px;padding:1px 6px;color:#3d3d3a}

/* ================= phone (iOS apps) ================= */
.hx.phone{width:390px;flex-direction:column}
.hx.phone .hx-side{display:none}
.hx.phone .sbar{height:44px;flex:0 0 44px;display:flex;align-items:center;justify-content:space-between;padding:0 26px 0 30px;font:600 15px var(--hx-font)}
.hx.phone .sbar .r{display:flex;gap:5px;align-items:center}
.hx.phone .sbar .bt{width:24px;height:11px;border-radius:3px;border:1.5px solid currentColor;position:relative}
.hx.phone .sbar .bt::after{content:"";position:absolute;inset:1.5px 4px 1.5px 1.5px;background:currentColor;border-radius:1px}
.hx.phone .hx-top{padding:0 10px}
.hx.phone .hx-col{padding:12px 16px 8px}
.hx.phone .hx-comp{padding:0 12px 6px}
.hx.phone .note{display:none}
.hx.phone .home{height:22px;flex:0 0 22px;display:grid;place-items:center}
.hx.phone .home::after{content:"";width:134px;height:5px;border-radius:3px;background:#0d0d0d}
.hx.gpt.phone .model{font-size:17px}
.hx.gpt.phone .u .bub{max-width:82%}
.hx.gpt.phone .box{min-height:50px;padding:7px}
.hx.gpt.phone .box .apppill span.t{display:none}
.hx.cld.phone .title{font-size:15px}
