/* AI Hayato / V358. Adaptive work area, quiet presence and reachable conversation. */
:root{color-scheme:dark;--bg:#070b16;--panel:#10182a;--ink:#f4f8ff;--muted:#a2b2c9;--line:#27344b;--cyan:#81f4e1;--blue:#8cbaff;--violet:#b7a9fb;--error:#ffb9b9;--radius:22px}


/* V359: the microphone indicator follows measured input, without fake activity. */
.voice-session{gap:10px;align-items:center;flex-wrap:wrap}
.voice-session-copy{display:flex;flex-direction:column;gap:3px;flex:1 1 150px;min-width:0;line-height:1.45}
.voice-session-copy small{font-size:11px;color:#a7b6d7}
.voice-session[data-state="connecting"],.voice-session[data-state="recovering"]{border-color:rgba(176,144,255,.45)}
.voice-session[data-state="paused"],.voice-session[data-state="error"]{border-color:rgba(234,187,104,.48)}
.voice-meter{--voice-level:0;display:inline-flex;align-items:center;justify-content:center;gap:3px;width:37px;height:30px;flex:none}
.voice-meter i{width:3px;height:calc(3px + var(--voice-level)*23px);border-radius:3px;background:#8ee3e2;animation:none;transition:height .1s linear}
.voice-meter i:nth-child(2),.voice-meter i:nth-child(4){height:calc(3px + var(--voice-level)*16px)}
.voice-meter i:first-child,.voice-meter i:last-child{height:calc(3px + var(--voice-level)*9px)}
.voice-session button{white-space:nowrap}
.voice-caption{font-size:12px;color:#c1ceec;max-height:3.1em;overflow:auto;margin:4px 0;line-height:1.5;overflow-wrap:anywhere}
.voice-connection-note,.voice-quota-note{padding:10px 12px;border-radius:10px;background:rgba(118,157,239,.08);color:#cbdaf8;font-size:13px;line-height:1.6}
#hayato-voice-dialog .primary-button{width:100%}
#hayato-voice-dialog .privacy-note{line-height:1.7}
@media(max-width:480px){.voice-session{gap:7px}.voice-session-copy{flex-basis:calc(100% - 50px)}.voice-session button{flex:1}.voice-session-copy small{font-size:10px}}
@media(prefers-reduced-motion:reduce){.voice-meter i{transition:none;animation:none}}
*{box-sizing:border-box}
html{height:100%;background:var(--bg)}
body{margin:0;color:var(--ink);font-family:Inter,"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:15px;line-height:1.75;letter-spacing:.025em;-webkit-text-size-adjust:100%}
body::before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(ellipse at 17% 38%,#16274460,transparent 42%),radial-gradient(ellipse at 75% -10%,#25385338,transparent 45%);z-index:0}
button,input,textarea,select{font:inherit}
button,a,input,textarea,select,summary{touch-action:manipulation}
button{cursor:pointer;color:inherit;letter-spacing:inherit;border:1px solid var(--line);border-radius:12px;background:#162236;padding:10px 16px;min-height:44px;transition:background .2s,border-color .2s,transform .2s}
button:disabled{opacity:.48;cursor:wait}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--cyan);outline-offset:4px}
button:hover:not(:disabled){background:#21354d;border-color:#647c9a}
button:active:not(:disabled){transform:translateY(1px)}
button svg{pointer-events:none}
a{color:var(--cyan);text-underline-offset:4px}
p{margin:0 0 14px}
h1,h2,h3,h4{margin:0;line-height:1.5;font-weight:600;letter-spacing:.05em}
textarea,input,select{color:var(--ink);background:#0c1424;border:1px solid #3a4b63;border-radius:12px;padding:12px;max-width:100%;font-size:16px}
textarea{width:100%;resize:vertical;line-height:1.8}
textarea::placeholder,input::placeholder{color:#8395af;opacity:1}
select{width:100%}
svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
img,canvas,video{max-width:100%}
button.primary-button,.primary-button{border-color:#6cdfd0;background:var(--cyan);color:#07222c;font-weight:700}
button.primary-button:hover:not(:disabled){background:#b2fff0;border-color:#b2fff0}
[hidden]{display:none!important}
.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}
.skip-link{position:fixed;top:10px;left:10px;transform:translateY(-200%);z-index:1000;background:var(--ink);color:var(--bg);padding:12px}
.skip-link:focus{transform:translateY(0)}
#hayato-root{position:relative;display:flex;flex-direction:column;height:var(--hayato-viewport-height,100dvh);min-height:0;max-width:1640px;margin:0 auto;padding:0 28px}

.hayato-header{height:68px;min-height:68px;flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #22314780}
.hayato-brand{display:flex;gap:14px;align-items:center}
.hayato-brand svg{width:27px;height:38px;color:var(--cyan);stroke-width:1.6}
.hayato-brand>span{font-size:20px;font-weight:500;letter-spacing:.28em;line-height:1.4}
.hayato-brand small{display:block;font-size:10px;letter-spacing:.07em;color:var(--muted);margin-top:4px}
.hayato-header-meta{display:flex;align-items:center;gap:9px;font-size:11px;color:#b5c6d8}
.system-dot{display:inline-block;width:6px;height:6px;border-radius:100%;background:#8bccb4;box-shadow:0 0 12px #8bccb430}
.eyebrow{font-size:10px;font-weight:500;letter-spacing:.17em;color:var(--muted)}
.hayato-layout{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.5fr);column-gap:6%;height:auto;min-height:0;flex:1;padding-top:14px}
.hayato-presence{display:flex;flex-direction:column;align-items:center;position:relative;min-width:0}
.presence-caption{width:100%;display:flex;justify-content:space-between;gap:10px;color:#65778f;white-space:nowrap}
.presence-caption .eyebrow,.presence-code{font-size:8px;letter-spacing:.15em}
.orb-frame{position:relative;width:100%;aspect-ratio:1/1.04;max-width:480px;margin-top:3vh;flex:0 1 auto;min-height:150px}
.orb-frame canvas{width:100%;height:100%;display:block;position:relative;z-index:1}
.orb-fallback{position:absolute;inset:17%;display:flex;align-items:center;justify-content:center;border-radius:50%;background:radial-gradient(ellipse,#21394960,transparent 70%)}
.orb-fallback i{position:absolute;inset:15%;border:2px solid #85e8dd;border-radius:50%;box-shadow:0 0 20px #63c4e455;transform:rotate(-30deg) scaleX(.65)}
.orb-fallback i:nth-child(2){transform:rotate(35deg) scaleX(.85);border-color:#839fea}
.orb-fallback i:nth-child(3){transform:rotate(95deg) scaleX(.65);border-color:#aa9de7}
.orb-fallback span{font-size:55px;letter-spacing:14px;color:#c4fff1}
.orb-frame.has-canvas .orb-fallback{display:none}
.orb-orbit-label{position:absolute;bottom:8%;left:50%;transform:translateX(-50%);font-size:7px;letter-spacing:.32em;white-space:nowrap;color:#7897ae}
.presence-identity{text-align:center;margin-top:-10px;z-index:2}
.presence-status{display:inline-flex;align-items:center;gap:7px;font-size:10px;color:var(--cyan);margin-bottom:8px}
.presence-status::before{content:"";height:4px;width:4px;border-radius:100%;background:currentColor}
.presence-identity h1{font-size:24px;font-weight:400;letter-spacing:.12em}
.presence-identity p{font-size:12px;color:var(--muted);margin-top:16px;line-height:2}
.presence-context{width:100%;max-width:310px;padding:18px 20px;background:linear-gradient(145deg,#162c3555,#15213535);border:1px solid #354e625e;border-radius:17px;margin-top:20px}
.presence-context .eyebrow{font-size:8px}
.presence-context p{margin:6px 0;font-size:12px;font-weight:500;overflow-wrap:anywhere}
.presence-context small{font-size:10px;color:#a6bfcb}
.presence-bottom{margin-top:auto;display:flex;gap:10px;align-items:center;font-size:6px;letter-spacing:.2em;color:#7688a0;padding:25px 0}
.presence-line{width:30px;height:1px;background:#4d697b}

.conversation-column{display:flex;flex-direction:column;min-height:0;padding-bottom:max(12px,env(safe-area-inset-bottom));min-width:0}
.conversation-scroll{flex:1;min-height:0;min-width:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#324862 transparent;padding:10px 10px 14px 0;scroll-behavior:smooth}
.welcome-heading{padding:5vh 0 4vh}
.welcome-heading h2{font-size:clamp(30px,3.6vw,52px);line-height:1.6;letter-spacing:.07em;font-weight:400;margin:22px 0 25px}
.welcome-heading h2 span{color:#a6e3df}
.welcome-heading p{font-size:13px;line-height:2.2;color:#a9b7c9}
.welcome-example{font-size:11px;line-height:2;color:#8799b2;border-left:1px solid #456779;padding-left:16px;margin-top:15px}
.has-session .welcome-heading,.has-session .welcome-example{display:none}
.conversation-messages{display:flex;flex-direction:column;gap:16px}
.message{max-width:100%;overflow-wrap:anywhere;animation:arrive .3s ease both}
.message-label{display:flex;align-items:center;gap:8px;font-size:9px;color:#a7c1d4;margin:0 0 7px;letter-spacing:.13em}
.message-label::before{content:"";display:inline-block;width:5px;height:5px;background:var(--cyan);border-radius:100%;box-shadow:0 0 7px #80efdc50}
.message-text{font-size:14px;line-height:2;white-space:pre-wrap;color:#e1eaf5}
.message.user{align-self:flex-end;max-width:88%;padding:12px 18px;border:1px solid #35465b;background:#182436;border-radius:18px 18px 4px 18px}
.message.user .message-text{font-size:13px;color:#eaf3fd}
.message.user .message-label{display:none}
.message.local .message-text{color:#acbcd0;font-size:12px}
.message.pending{opacity:.65}
.conversation-bottom{flex-shrink:0;padding-top:14px;background:linear-gradient(transparent,var(--bg) 35%)}
.hayato-composer{display:flex;align-items:flex-end;gap:12px;border:1px solid #465469;border-radius:21px;padding:12px 12px 12px 21px;background:linear-gradient(130deg,#162333ef,#111b2cee);box-shadow:0 8px 32px #0003,inset 0 1px #b7eaff08;transition:border-color .2s}
.hayato-composer:focus-within{border-color:#80cecf;box-shadow:0 0 0 2px #6cdcc812}
.hayato-composer textarea{flex:1;min-width:0;min-height:44px;max-height:140px;resize:none;border:0;background:none;padding:7px 0;outline:none;font-size:16px;box-shadow:none}
.composer-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.voice-start{display:flex;gap:8px;align-items:center;padding:8px 4px;background:transparent;border:0;border-radius:8px;font-size:10px;color:#c5d6e8}
.voice-start svg{width:22px;height:22px}
.voice-start:hover:not(:disabled){background:transparent;color:var(--cyan)}
.send-button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:13px;background:#8ae8dc;color:#102c34}
.send-button:hover:not(:disabled){background:#b1fff0}
.send-button svg{width:22px;height:22px;stroke-width:1.8}
.composer-foot{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:10px 2px 0;font-size:8px;letter-spacing:.03em;color:#8d9db3}
.composer-foot #hayato-connection{text-align:right;max-width:50%}

.hayato-workspace{display:flex;flex-direction:column;gap:16px;margin-top:18px;min-width:0;min-height:0}
.hayato-workspace:empty{display:none}
.work-card{border:1px solid #34425a;border-radius:var(--radius);padding:22px;background:linear-gradient(150deg,#162335ee,#111b2bec);min-width:0;flex:none;overflow-wrap:anywhere;animation:arrive .4s ease both}
.work-card h3{font-size:17px;line-height:1.75;margin:5px 0 12px}
.work-card h4{font-size:14px;margin:15px 0 8px}
.work-card p{font-size:13px;color:#c2d1e3;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere}
.work-card .card-kicker{font-size:9px;letter-spacing:.13em;color:var(--cyan)}
.card-note{color:#a2b8ce!important;font-size:11px!important}
.card-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.card-actions button{font-size:12px;flex-grow:1}
.clarification-choices{display:grid;gap:9px}
.clarification-choices button{text-align:left;background:#162b3b;border-color:#395868;padding:13px 16px;display:flex;justify-content:space-between;align-items:center;font-size:13px}
.clarification-choices button::after{content:"↗";color:var(--cyan);font-size:17px;padding-left:14px}
.clarification-choices button:hover{background:#203d4d}
.topic-meta{display:flex;gap:8px;flex-wrap:wrap;font-size:10px;color:#bbd5e4;margin:12px 0}
.topic-meta span{background:#22394b;padding:3px 10px;border-radius:7px}
.plan-phases{display:flex;flex-direction:column;margin-top:18px}
.plan-phase{display:grid;grid-template-columns:28px 1fr;gap:12px;position:relative;padding-bottom:19px}
.plan-phase:not(:last-child)::before{content:"";position:absolute;top:27px;bottom:0;left:12px;border-left:1px solid #3a5e6c}
.phase-number{height:26px;width:26px;border:1px solid #628b93;display:grid;place-items:center;border-radius:50%;font-size:10px;color:var(--cyan)}
.plan-phase h4{margin:0 0 4px;font-size:13px}
.plan-phase p{font-size:11px;margin:0;color:#a9c0d4}
.plan-days{margin-top:16px}
.plan-days summary{cursor:pointer;font-size:12px;color:#cde4ee;padding:8px 0}
.plan-day{padding:10px 0;border-top:1px solid #2c3c4e;font-size:12px}
.plan-day b{color:var(--cyan);margin-right:10px;font-size:10px}
.video-card{padding:0}
.video-copy{padding:19px 23px}
.video-card h3{font-size:15px;margin:5px 0 8px}
.video-stage{width:100%;aspect-ratio:16/9;min-width:200px;min-height:200px;background:#080f1e;position:relative;overflow:hidden;border-radius:var(--radius) var(--radius) 0 0;border-bottom:1px solid #2c3c4f}
.video-stage img{width:100%;height:100%;object-fit:cover;opacity:.65}
.video-stage iframe{width:100%;height:100%;border:0;display:block}
.video-play{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;background:linear-gradient(0deg,#050b20aa,transparent);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:white;font-size:12px;text-shadow:0 1px 4px #000}
.video-play:hover:not(:disabled){background:#07122a66}
.play-disc{width:56px;height:56px;display:grid;place-items:center;border:1px solid #c5f2f2bb;border-radius:50%;background:#132c48dd;font-size:20px;padding-left:3px;box-shadow:0 0 25px #69d7df35}
.video-channel{font-size:10px;color:#9eb5ce;margin:0 0 10px}
.question-prompt{background:#0c1727;border:1px solid #324b63;padding:19px 20px;border-radius:15px;font-size:17px!important;line-height:2!important;color:#f3f8ff!important;white-space:pre-wrap;user-select:text}
.question-hint{margin:12px 0}
.question-hint summary{cursor:pointer;color:#a9ddd8;font-size:12px}
.question-hint p{padding:10px 0;font-size:12px}
.answer-label{font-size:11px;color:#bdcde0;display:block;margin:14px 0 7px}
.question-options{display:grid;gap:8px}
.answer-option{display:flex;align-items:flex-start;gap:12px;border:1px solid #3b536a;border-radius:12px;padding:13px 15px;cursor:pointer;font-size:14px;background:#132438}
.answer-option:has(input:checked){background:#17434b;border-color:#87d9cc}
.answer-option input{margin:7px 0 0;accent-color:#8ae8dc;flex-shrink:0}
.answer-option span{overflow-wrap:anywhere}
.answer-textarea{min-height:112px;font-size:16px}
.draft-note{font-size:10px;color:#a3c9d3;margin:7px 0}
.question-tools{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.question-tools button{font-size:11px;padding:7px 12px;background:#14293b}
.question-list{display:flex;flex-direction:column;gap:20px}
.diagnosis-item{padding-top:14px;border-top:1px solid #35465c}
.diagnosis-item:first-child{border-top:0;padding-top:0}
.diagnosis-number{color:var(--cyan);font-size:10px}
.task-steps{margin:10px 0 16px;padding-left:22px;font-size:13px;color:#d2e3ef}
.task-steps li{padding-bottom:8px}
.feedback-symbol{width:44px;height:44px;border-radius:50%;border:1px solid #507e77;color:var(--cyan);display:grid;place-items:center;font-size:24px;margin-bottom:12px}
.feedback-card[data-correct="false"] .feedback-symbol{color:#e6cf98;border-color:#867b58}
.feedback-card[data-correct="unknown"] .feedback-symbol{color:var(--blue);border-color:#536984}
.point-list{margin:9px 0;padding-left:20px;color:#c7d9e8;font-size:13px}
.point-list li{padding-bottom:7px}
.progress-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.progress-fact{border:1px solid #304b60;background:#132638;border-radius:13px;padding:13px}
.progress-fact b{font-size:23px;font-weight:500;color:#b5ede5;display:block}
.progress-fact small{font-size:10px;color:#b3cadb}
.list-item{border-top:1px solid #354358;padding:14px 0}
.list-item:first-of-type{border-top:0}
.list-item p{font-size:11px;margin-bottom:10px}
.list-item button{font-size:12px;text-align:left;width:100%}
.feature-link{display:inline-block;padding:10px 16px;border:1px solid #406371;border-radius:10px;margin-top:10px;text-decoration:none;font-size:12px}

/* The waiting dock is outside the scroller. Its lights express activity, never a completion percentage. */
.hayato-working{
  --working-size:62px;--working-breath:5.8s;--working-turn:13s;--working-turn-back:17s;--working-flow-time:3.8s;
  position:relative;display:grid;grid-template-columns:var(--working-size) minmax(0,1fr);align-items:center;gap:13px;
  flex:none;isolation:isolate;min-width:0;width:100%;margin:0 0 11px;padding:11px 15px;overflow:hidden;
  border:1px solid #5d80ac65;border-radius:18px;color:#dce8f6;
  background:linear-gradient(115deg,#192744f2,#111e32f5 54%,#121b2cee);
  box-shadow:0 8px 22px #0002,inset 0 1px #c5e3ff09;
}

.hayato-working::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 0 65%,#7699ff17,transparent 58%),radial-gradient(ellipse at 100% 0,#74efd60a,transparent 65%)}

.hayato-working .working-visual{position:relative;width:var(--working-size);height:var(--working-size);contain:layout paint;pointer-events:none;transition:opacity .8s ease}

.hayato-working .working-halo{position:absolute;inset:2px;border:1px solid #99b3ff1c;border-radius:50%;background:radial-gradient(circle,#7f8dff22,transparent 70%);opacity:.65;transform:scale(.96);animation:hayato-wait-breathe var(--working-breath) ease-in-out infinite}

.hayato-working .working-halo+.working-halo{inset:10px;border-color:#96f4df28;background:radial-gradient(circle,#92f3e82b,transparent 70%);animation-delay:-2.9s}

.hayato-working .working-orbit{position:absolute;inset:6px 2px;border:1.4px solid;border-color:#c4c9ffb3 #acaff51c #82efdeb3 #81eed51c;border-radius:50%;box-shadow:0 0 7px #949bf426;transform:rotate(-28deg) scaleY(.48);animation:hayato-wait-orbit var(--working-turn) linear infinite}

.hayato-working .working-orbit+.working-orbit{inset:4px 7px;border-color:#a9f5eaaa #92e9da1c #afabfaaa #a6a4f71c;transform:rotate(38deg) scaleY(.61);animation-name:hayato-wait-orbit-back;animation-duration:var(--working-turn-back)}

.hayato-working .working-core{position:absolute;left:calc(50% - 7px);top:calc(50% - 7px);width:14px;height:14px;border:1px solid #d5fff5c9;border-radius:50%;background:radial-gradient(circle at 36% 30%,#d4fff5,#8fdfeb 34%,#697dcc 78%);box-shadow:0 0 11px #8bf4e576,0 0 23px #8a92fa45;transform:scale(.96);opacity:.88;animation:hayato-wait-core var(--working-breath) ease-in-out infinite}

.hayato-working .working-particles{position:absolute;inset:0}

.hayato-working .working-particles i{position:absolute;width:2px;height:2px;border-radius:50%;background:#d1eaff;box-shadow:0 0 5px #9adaf87a;opacity:.6;animation:hayato-wait-particle 9s ease-in-out infinite}

.hayato-working .working-particles i:nth-child(1){left:18%;top:24%;animation-delay:-1.5s}

.hayato-working .working-particles i:nth-child(2){right:13%;top:57%;background:#b9ffed;animation-delay:-4.5s;animation-duration:11s}

.hayato-working .working-particles i:nth-child(3){left:36%;bottom:12%;background:#d2c8ff;animation-delay:-7s;animation-duration:12s}

.hayato-working .working-copy{min-width:0}

.hayato-working .working-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-width:0;margin-bottom:4px;font-size:8px;line-height:1.4}

.hayato-working .working-kicker{font-weight:500;letter-spacing:.22em;color:#b5d5f3}

.hayato-working .working-elapsed{flex:none;font-size:9px;font-variant-numeric:tabular-nums;letter-spacing:.02em;color:#a6bad1;white-space:nowrap}

.hayato-working #hayato-working-text{margin:0;font-size:12px;line-height:1.65;font-weight:500;letter-spacing:.025em;overflow-wrap:anywhere}

.hayato-working #hayato-working-note{margin:3px 0 0;font-size:10px;line-height:1.65;letter-spacing:.02em;color:#b0c2d8;overflow-wrap:anywhere}

.hayato-working .working-flow{display:flex;align-items:center;gap:5px;width:max-content;height:2px;margin-top:7px}

.hayato-working .working-flow span{width:16px;height:2px;border-radius:2px;background:#9cd7ee;opacity:.45;animation:hayato-wait-flow var(--working-flow-time) ease-in-out infinite}

.hayato-working .working-flow span:nth-child(2){background:#b0b7f6;animation-delay:-1.25s}

.hayato-working .working-flow span:nth-child(3){background:#95e6da;animation-delay:-2.5s}

#hayato-root.waiting-long .hayato-working,.hayato-working[data-phase="long"]{border-color:#797dad65;background:linear-gradient(115deg,#202740f2,#151e32f5 54%,#141d2bee)}

#hayato-root.waiting-long .hayato-working .working-visual,.hayato-working[data-phase="long"] .working-visual{opacity:.84}

#hayato-root.waiting-long .hayato-working .working-kicker,.hayato-working[data-phase="long"] .working-kicker{color:#c4c9f1}

#hayato-root.waiting-offline .hayato-working,.hayato-working[data-phase="offline"]{border-color:#4c5d746b;background:linear-gradient(115deg,#182233,#111c2c)}

#hayato-root.waiting-offline .hayato-working *,.hayato-working[data-phase="offline"] *,#hayato-root.page-hidden .hayato-working *{animation-play-state:paused!important}

#hayato-root.waiting-offline .hayato-working .working-flow span,.hayato-working[data-phase="offline"] .working-flow span{animation:none;opacity:.3}

#hayato-root.waiting-offline .hayato-working .working-visual,.hayato-working[data-phase="offline"] .working-visual{opacity:.55;transition:none}

#hayato-root.page-hidden .hayato-working .working-visual{transition:none}

#hayato-root.waiting-offline .hayato-working .working-kicker,.hayato-working[data-phase="offline"] .working-kicker{color:#b1c2d5}

.orb-frame[data-state="thinking"] .orb-fallback{animation:hayato-wait-core 5.8s ease-in-out infinite}

#hayato-root.waiting-offline .orb-fallback,#hayato-root.page-hidden .orb-fallback,#hayato-root.page-hidden .voice-wave i{animation-play-state:paused!important}

.inline-notice{border:1px solid #a9756977;background:#392824;color:#ffe0d2;border-radius:13px;padding:12px 16px;margin-bottom:12px;font-size:12px}
.inline-notice p{margin:0;white-space:pre-wrap}
.inline-notice button{margin-top:8px;font-size:11px;color:#ffe3d8;background:#4b302d;border-color:#81574d;padding:5px 10px}

.attachment-preview{display:flex;align-items:center;gap:12px;border:1px solid #4f7079;background:#172d38;border-radius:13px;padding:9px 12px;margin-bottom:12px}
.attachment-preview img{width:76px;height:60px;object-fit:contain;background:#071324;border-radius:7px}
.attachment-preview b{font-size:11px}
.attachment-preview p{font-size:9px;color:#b8ced9;margin:0}
#hayato-attachment-context{white-space:pre-wrap;overflow-wrap:anywhere;max-height:6.5em;overflow:auto;font-size:12px;line-height:1.65;margin-top:4px}
.attachment-preview button{font-size:9px;padding:0;min-height:28px;border:0;background:transparent;text-decoration:underline;color:#c9e7e5}
.voice-session{display:flex;align-items:center;gap:10px;padding:9px 12px;margin-bottom:10px;border:1px solid #315d60;border-radius:12px;background:#102a2e;color:#a9ede2;font-size:10px}
.voice-session>span:nth-child(2){flex:1}
.voice-session button{font-size:10px;padding:5px 10px;min-height:34px;background:#173b3f;border-color:#4c7472}
.voice-wave{display:flex;align-items:center;gap:3px;height:22px}
.voice-wave i{width:2px;height:9px;border-radius:2px;background:#a8eedd;animation:wave 1.2s ease-in-out infinite}
.voice-wave i:nth-child(2){height:17px;animation-delay:.2s}
.voice-wave i:nth-child(3){height:22px;animation-delay:.4s}
.voice-wave i:nth-child(4){height:14px;animation-delay:.3s}
.voice-wave i:nth-child(5){height:7px;animation-delay:.1s}
.voice-interim{color:#b3d3dd;font-size:12px;margin:5px 8px 10px;max-height:80px;overflow:auto}
.hayato-dialog{border:1px solid #45627b;border-radius:24px;width:min(650px,calc(100vw - 28px));padding:28px;background:#101c2d;color:var(--ink);box-shadow:0 24px 100px #0009;max-height:90dvh;overflow:auto}
.hayato-dialog::backdrop{background:#020816bf;backdrop-filter:blur(12px)}
.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.dialog-head h2{font-size:21px;margin-top:6px}
.icon-button{font-size:24px;line-height:1;width:44px;height:44px;border-radius:50%;padding:0;flex-shrink:0}
.hayato-dialog>p{font-size:13px;color:#c7d5e3;line-height:2}
.media-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}
.media-options button,.file-button{font-size:12px;text-align:center;display:flex;align-items:center;justify-content:center;border:1px solid #415c71;border-radius:12px;background:#192f42;min-height:52px;padding:10px;cursor:pointer}
.file-button{position:relative;overflow:hidden}
.file-button:focus-within{outline:3px solid var(--cyan);outline-offset:3px}
.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.live-preview video{width:100%;max-height:45vh;display:block;background:#040b15;object-fit:contain;border:1px solid #34516b;border-radius:12px}
.capture-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.capture-actions button{flex:1;font-size:12px}
.media-status{font-size:12px;color:#c1ece4!important}
.privacy-note{font-size:10px!important;color:#a6bed0!important;line-height:1.9!important}
.phone-pair{padding:18px;border:1px solid #3b6470;border-radius:15px;background:#0a1726;margin:15px 0}
.phone-pair svg{width:170px;height:170px;background:white;padding:10px;border-radius:12px;stroke:none;fill:#000}
.phone-pair .phone-pin{font-size:25px;letter-spacing:.32em;color:#b9f7ec;margin:10px 0}
.phone-pair a{display:block;font-size:11px;overflow-wrap:anywhere;margin:12px 0}
.phone-pair p{font-size:12px;color:#bad0df}
.voice-select-label{font-size:12px;display:block;margin:18px 0}
.voice-select-label select{margin-top:7px}
.hayato-dialog>.primary-button{width:100%;margin-top:8px}
.ink-wrap{margin:14px 0}
.ink-canvas{width:100%;height:230px;display:block;background:#fcfdff;border:1px solid #7299b6;border-radius:12px;touch-action:none;cursor:crosshair}
.ink-tools{display:flex;align-items:center;gap:10px;margin:9px 0;flex-wrap:wrap;font-size:11px}
.ink-tools button{font-size:11px;min-height:36px;padding:5px 12px}
.ink-tools label{display:flex;align-items:center;gap:8px}
.ink-tools select{font-size:11px;padding:5px;width:auto}
.noscript-message{position:fixed;bottom:0;left:0;right:0;padding:18px;background:#432c2c;color:#ffe0d4;z-index:20;text-align:center}
.voice-answer-confirmation{border:1px solid #729e99;padding:13px;border-radius:12px;margin-top:12px}
.voice-answer-confirmation p{font-size:13px}
.card-image{width:100%;max-height:260px;object-fit:contain;border-radius:12px;background:#07121f;margin:10px 0}
.media-handoff-card{border-color:#406b73}
.empty-message{font-size:12px;color:#b5cbdc}
.has-session .presence-identity p{display:none}

/* Account, contract and support stay reachable when a learning quota is used. */
.account-entry{position:relative;display:grid;gap:2px;text-align:left;color:#e9f2ff;background:#15243796;border:1px solid #3c536955;border-radius:13px;padding:8px 14px;font:inherit;max-width:220px;cursor:pointer}

.account-entry>span:first-child{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-entry small{font-size:9px;color:#9fb8ca;letter-spacing:0}
.account-entry:hover,.account-entry:focus-visible{border-color:#80dbdd;outline-offset:4px}

.unread-badge{position:absolute;right:-5px;top:-5px;min-width:18px;padding:2px 5px;border-radius:20px;background:#7bddcf;color:#0a2530;font-size:10px;font-weight:700;text-align:center}

.account-facts{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(0,1.5fr);gap:10px 16px;margin:18px 0;font-size:12px;line-height:1.8}
.account-facts dt{color:#93adbf}
.account-facts dd{margin:0;overflow-wrap:anywhere}

.account-section-title{margin:25px 0 12px;font-size:13px;color:#d0e9ef}
.account-quota{padding:13px 0;border-top:1px solid #30455777;font-size:12px}
.account-quota>b{font-size:12px}
.account-quota .quota-value{margin:4px 0;color:#a4e4dc}
.account-quota progress{display:block;width:100%;height:5px;margin:10px 0 4px;accent-color:#6ecfc5;border:0;border-radius:6px;overflow:hidden;background:#25394a}
.account-quota progress::-webkit-progress-bar{background:#25394a}
.account-quota progress::-webkit-progress-value{background:#6ecfc5}
.account-quota progress::-moz-progress-bar{background:#6ecfc5}

.account-feature{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-bottom:1px solid #30455766;padding:10px 0;font-size:12px}
.account-feature strong{font-size:11px;text-align:right;font-weight:500}
.feature-available{color:#a3e5d6}
.feature-limited{color:#c5b4e9}
.account-card .feature-link,.plans-card .feature-link{font-size:11px}

.plan-offer{padding:18px;border:1px solid #3a53667a;border-radius:14px;background:#12233366;margin:14px 0}
.plan-offer h4{margin:0 0 8px;font-size:15px}
.plan-price{display:block;font-size:22px;letter-spacing:.02em;color:#c2e8e8}
.table-scroll{overflow-x:auto;margin:20px 0}
.plan-comparison{width:100%;border-collapse:collapse;font-size:11px;line-height:1.7}
.plan-comparison th,.plan-comparison td{padding:10px 8px;border-bottom:1px solid #35506077;text-align:left;vertical-align:top}
.plan-comparison th{font-weight:500;color:#b4d7de}
.plan-comparison td{min-width:85px}

.notification-item{border-left:2px solid #70cabe;padding:0 0 12px 14px;margin:20px 0}
.notification-item.is-read{border-left-color:#405667}
.notification-item h4{font-size:14px;margin:0}
.notification-item p{overflow-wrap:anywhere;white-space:pre-wrap}
.notification-item button{font-size:11px;padding:6px 12px;border-radius:9px;color:#bae8e2;background:#1e45464f;border:1px solid #5a948a88}

.account-form{display:grid;gap:14px;margin:18px 0 2px}
.account-form-field{display:grid;gap:7px;font-size:12px;color:#bfd3df}
.account-form-field input,.account-form-field textarea,.account-form-field select{box-sizing:border-box;width:100%;min-width:0;padding:11px 12px;border:1px solid #43607380;border-radius:10px;background:#0c1c2a;color:#e7f2fc;font:inherit;line-height:1.7;resize:vertical}
.account-form-field input:focus,.account-form-field textarea:focus,.account-form-field select:focus{outline:2px solid #7fced366;outline-offset:2px}
.account-check{display:flex;align-items:center;gap:10px;color:#bfd3df;font-size:12px}
.account-check input{width:17px;height:17px;accent-color:#78cfc8}
.account-form>.primary-button{justify-self:start;padding:11px 15px}
.account-form button:disabled{opacity:.4;cursor:not-allowed}

@media(max-width:480px){.account-entry{padding:7px 10px;max-width:147px}
.account-entry>span:first-child{font-size:10px}
.account-entry small{font-size:8px}
.account-facts{grid-template-columns:1fr;gap:3px;margin:15px 0}
.account-facts dd{margin-bottom:8px}
.account-feature{font-size:11px;gap:8px}
.account-feature strong{max-width:44%;font-size:10px}
.account-form-field input,.account-form-field textarea,.account-form-field select{font-size:16px}
.plan-comparison{font-size:10px}
.plan-comparison th,.plan-comparison td{padding:8px 5px}
.plan-offer{padding:14px}
}

@keyframes arrive{from{opacity:0;transform:translateY(8px)}
to{opacity:1;transform:translateY(0)}
}

@keyframes hayato-wait-breathe{0%,100%{opacity:.42;transform:scale(.9)}
50%{opacity:.78;transform:scale(1.06)}
}

@keyframes hayato-wait-core{0%,100%{opacity:.82;transform:scale(.95)}
50%{opacity:1;transform:scale(1.07)}
}

@keyframes hayato-wait-orbit{from{transform:rotate(-28deg) scaleY(.48)}
to{transform:rotate(332deg) scaleY(.48)}
}

@keyframes hayato-wait-orbit-back{from{transform:rotate(38deg) scaleY(.61)}
to{transform:rotate(-322deg) scaleY(.61)}
}

@keyframes hayato-wait-particle{0%,100%{opacity:.35;transform:translate3d(0,0,0)}
50%{opacity:.82;transform:translate3d(4px,-7px,0)}
}

@keyframes hayato-wait-flow{0%,100%{opacity:.3}
50%{opacity:.78}
}

@keyframes wave{0%,100%{transform:scaleY(.6)}
50%{transform:scaleY(1)}
}

/* Current work occupies the screen; the character becomes a small companion. */
.conversation-thread{min-width:0;min-height:0;scrollbar-width:thin;scrollbar-color:#324862 transparent;scroll-padding:12px}

.conversation-thread:focus:not(:focus-visible){outline:none}

.conversation-history{margin:0 0 16px;font-size:11px;color:var(--muted)}

.conversation-history>summary,.workspace-resources>summary{cursor:pointer;padding:10px 2px;min-height:44px;color:#b5d8e6;overflow-wrap:anywhere}

.conversation-history[open]{padding-bottom:16px;border-bottom:1px solid var(--line)}

.conversation-history .conversation-messages{padding-top:12px}

.workspace-resources{min-width:0;flex:none;border-top:1px solid var(--line);padding-top:2px;font-size:12px}

.workspace-resources>.work-card{margin-top:12px}
.practice-card{border-color:#4d6c75;background:linear-gradient(145deg,#183039e8,#131d31ee 55%,#191b30dd)}
.practice-card .practice-prompt{font-size:16px;line-height:1.95;color:#edf5ff}
.practice-outcome{border-left:2px solid var(--cyan);padding:3px 0 3px 13px;margin:15px 0}
.practice-outcome h4{font-size:11px;color:#a8d7d5;margin:0 0 4px}
.practice-outcome p{font-size:13px;color:#e0efef;margin:0}
.practice-materials,.practice-hints,.practice-previous{border-top:1px solid #3953617a;padding:5px 0;margin:12px 0;font-size:12px}
.practice-materials>summary,.practice-hints>summary,.practice-previous>summary{padding:9px 0;min-height:44px;cursor:pointer;color:#bfdfe4}
.practice-material{padding:2px 12px 12px;border-left:1px solid #4e6d7a}
.practice-material h4{margin:10px 0 5px;font-size:12px;color:#c9e5ef}
.practice-material p{font-size:12px;line-height:1.9;margin:0;white-space:pre-wrap}
.practice-material .source-link{font-size:11px;display:inline-block;margin-top:6px;min-height:30px}
.practice-form{margin:10px 0 18px}
.practice-answer{min-height:112px;max-height:360px;resize:vertical;font-size:16px;line-height:1.8;tab-size:4}
.practice-checks{margin-top:16px}
.practice-checks>h4{font-size:13px;color:#d4e9ec;margin:0 0 8px}
.practice-criterion{padding:12px 0;border-top:1px solid #3a566577}
.criterion-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.criterion-heading>b{font-size:12px;font-weight:500;min-width:0}
.criterion-status{flex:none;white-space:nowrap;font-size:10px;padding:2px 7px;border:1px solid #577088;border-radius:6px;color:#b3c9dd;background:#142537}
[data-criterion-status="confirmed"] .criterion-status{color:#b5f0df;border-color:#53847d;background:#16403c}
[data-criterion-status="needs_work"] .criterion-status{color:#f1dfa9;border-color:#86794f;background:#383425}
.practice-criterion .criterion-evidence,.practice-criterion .criterion-feedback,.practice-criterion .criterion-next{font-size:12px;line-height:1.85;margin:7px 0 0}
.practice-criterion .criterion-evidence{color:#b9cfd9}
.practice-criterion .criterion-feedback{color:#e6e5d5}
.practice-criterion .criterion-next{color:#ccedf0}
.practice-evidence{padding-top:10px}
.practice-original{padding:12px;background:#0b1725;border-radius:10px;white-space:pre-wrap;tab-size:4}
.practice-next-action{color:#c1eee6!important;border-left:2px solid #7bc4b7;padding-left:12px;margin-top:16px}
.practice-hints p{font-size:12px;margin:8px 0;color:#bddbdc}
.practice-followup:empty{display:none}

.has-session .hayato-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:0;padding-top:0}

.has-session .hayato-presence{flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;min-height:56px;height:auto;padding:0;border-bottom:1px solid #24354870;margin-bottom:12px}

.has-session .presence-caption,.has-session .presence-bottom,.has-session .orb-orbit-label{display:none}

.has-session .orb-frame{width:54px;height:54px;min-height:0;max-width:54px;aspect-ratio:1;flex:none;margin:0}

.has-session .presence-identity{text-align:left;margin:0;min-width:0;flex:none;display:flex;flex-direction:column}

.has-session .presence-identity h1{font-size:15px;line-height:1.4;order:-1}

.has-session .presence-status{font-size:10px;line-height:1.5;margin:2px 0 0}

.has-session .presence-context{margin:0 0 0 auto;padding:2px 0;border:0;border-radius:0;background:none;width:auto;max-width:45%;min-width:0}

.has-session .presence-context .eyebrow{display:none}

.has-session .presence-context p{margin:0;font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}

.has-session .presence-context small{display:block;font-size:10px}

.has-session .conversation-scroll{padding-top:0}

.has-session.has-work.layout-wide .conversation-column{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,1fr);grid-template-rows:minmax(0,1fr) auto;grid-template-areas:"work chat" "work compose";column-gap:24px}

.has-session.has-work.layout-wide .conversation-scroll{display:contents}

.has-session.has-work.layout-wide .hayato-workspace{grid-area:work;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#324862 transparent;padding:0 10px 12px 0;margin:0;scroll-padding:12px}

.has-session.has-work.layout-wide .conversation-thread{grid-area:chat;overflow-y:auto;overscroll-behavior:contain;padding:0 8px 12px 0}

.has-session.has-work.layout-wide .conversation-bottom{grid-area:compose}

@media(max-width:1100px){#hayato-root{padding:0 22px}
.hayato-layout{column-gap:4%;grid-template-columns:minmax(210px,.7fr) minmax(0,1.4fr)}
.presence-caption{display:none}
.welcome-heading h2{font-size:36px}
.presence-identity h1{font-size:22px}
}

@media(max-width:850px){
  #hayato-root{padding:0 18px}
.hayato-header{height:64px;min-height:64px}
.hayato-layout{display:flex;flex-direction:column;padding-top:0;gap:0}

  .hayato-presence{height:134px;min-height:134px;flex-direction:row;justify-content:center;align-items:center;gap:5px;padding-top:0}

  .orb-frame{width:134px;height:134px;aspect-ratio:1;margin:0;flex:none;min-height:0}
.orb-orbit-label,.presence-bottom{display:none}

  .presence-identity{text-align:left;margin:0;max-width:210px}
.presence-identity h1{font-size:20px}
.presence-status{font-size:10px;margin-bottom:3px}
.presence-identity p{font-size:12px;margin:7px 0 0}

  .conversation-column{flex:1}
.conversation-scroll{padding:0 6px 12px 0}
.welcome-heading{padding:0 0 4px;max-width:540px;margin:0 auto}
.welcome-heading h2{font-size:30px;line-height:1.55;margin:12px 0}
.welcome-heading h2>br{display:none}
.welcome-heading p{font-size:12px;line-height:1.9}
.welcome-heading p br:nth-child(2){display:none}
.welcome-example{font-size:10px;margin:12px 0 5px;padding-left:12px}

  .has-session .hayato-presence{min-height:50px;margin-bottom:8px}
.has-session .orb-frame{width:48px;height:48px;max-width:48px}
.has-session .presence-context{max-width:40%}

  .composer-foot{font-size:9px;margin-top:7px}
.hayato-composer{padding:7px 8px 7px 14px;border-radius:17px}
.conversation-bottom{padding-top:8px}
.work-card{padding:18px}
.video-card{padding:0}
.message-text{font-size:14px}
.message.user{max-width:92%}
.work-card h3{font-size:16px}
.voice-start{font-size:10px}
.hayato-dialog{padding:22px}

  .hayato-working{--working-size:46px;gap:10px;padding:9px 11px;margin-bottom:8px;border-radius:15px}
.hayato-working #hayato-working-text{font-size:11px}
.hayato-working .working-flow{margin-top:5px}

}

@media(max-width:480px){
  #hayato-root{padding:0 12px}
.hayato-header{height:60px;min-height:60px}
.hayato-brand{gap:9px}
.hayato-brand>span{font-size:16px}
.hayato-brand svg{width:22px;height:30px}
.hayato-brand small{font-size:8px}
.hayato-header-meta{font-size:9px;gap:6px}
.system-dot{display:none}

  .hayato-presence{height:112px;min-height:112px}
.orb-frame{width:112px;height:112px}
.welcome-heading h2{font-size:26px}
.welcome-heading>.eyebrow{font-size:9px}
.voice-start span{display:none}
.voice-start{padding:8px;min-width:44px}
.composer-actions{gap:5px}
.hayato-composer{gap:5px}
.composer-foot #hayato-composer-note{max-width:48%}

  .has-session .presence-context{max-width:39%}
.has-session .presence-context p{font-size:11px}
.has-session .presence-context small{font-size:9px}
.has-session .presence-status{font-size:9px}

  .question-prompt{font-size:16px!important;padding:14px}
.work-card{padding:16px;border-radius:17px}
.video-card{padding:0}
.card-actions{gap:8px}
.card-actions button{padding:9px 10px;font-size:12px}
.question-tools{gap:6px}
.question-tools button{font-size:11px}
.voice-session{font-size:10px;gap:6px;padding:7px;flex-wrap:wrap}
.voice-session button{font-size:10px;padding:5px 8px;min-height:40px}
.voice-wave{gap:2px}
.attachment-preview img{width:56px;height:47px}
.attachment-preview b{font-size:10px}
.attachment-preview{padding:8px;gap:9px}
.voice-select-label{font-size:12px}
.media-options{gap:7px}
.media-options button,.file-button{font-size:12px;padding:8px}
.hayato-dialog{padding:19px}
.dialog-head h2{font-size:18px}
.question-options .answer-option{font-size:14px}
.progress-facts{gap:8px}
.progress-fact{padding:10px}

}

/* A shallow window or a keyboard makes the welcome area compact as well. */
.layout-short .hayato-header{height:54px;min-height:54px}

.layout-short .hayato-brand small,.layout-short .presence-caption,.layout-short .presence-bottom,.layout-short .orb-orbit-label,.layout-short .presence-identity p{display:none}

.layout-short .hayato-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:0;padding-top:0}

.layout-short .hayato-presence{flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;height:44px;min-height:44px;padding:0;margin:0 0 6px;border-bottom:1px solid #24354870}

.layout-short .orb-frame{width:42px;height:42px;min-height:0;max-width:42px;margin:0;flex:none}

.layout-short .presence-identity{display:flex;flex-direction:column;margin:0;text-align:left}

.layout-short .presence-identity h1{font-size:14px;order:-1;line-height:1.3}
.layout-short .presence-status{font-size:9px;margin:0}

.layout-short .welcome-heading{padding:0}
.layout-short .welcome-heading h2{font-size:26px;line-height:1.5;margin:8px 0}
.layout-short .welcome-heading p{font-size:12px;line-height:1.8}
.layout-short .welcome-heading h2>br{display:none}

.layout-short .conversation-bottom{padding-top:6px}
.layout-short .composer-foot{margin-top:5px;font-size:9px}
.layout-short .hayato-composer{padding-top:5px;padding-bottom:5px}
.layout-short .hayato-working{--working-size:38px;padding:8px 10px;margin-bottom:6px}
.layout-short .hayato-working .working-flow{display:none}
.layout-short .hayato-working .working-heading{margin-bottom:2px}

/* Text zoom and extreme dimensions retain natural document scrolling. */
#hayato-root.layout-reflow{height:auto;min-height:var(--hayato-viewport-height,100dvh)}

.layout-reflow .hayato-layout,.layout-reflow .conversation-column,.layout-reflow .conversation-scroll{display:block;height:auto;min-height:0;overflow:visible}

.layout-reflow .conversation-thread,.layout-reflow .hayato-workspace{height:auto;min-height:0;max-height:none;overflow:visible}

.layout-reflow .conversation-bottom{position:static;bottom:auto;z-index:auto;background:var(--bg);padding-bottom:max(8px,env(safe-area-inset-bottom))}

.layout-reflow .hayato-composer textarea{max-height:120px}

@media(max-width:359px){
  #hayato-root{padding:0 10px}
.hayato-header{height:auto;min-height:60px;flex-wrap:wrap;gap:4px;padding:6px 0}
.hayato-brand>span{font-size:14px}
.hayato-brand small{display:none}
.account-entry{max-width:128px}
.has-session .presence-context{max-width:35%}
.message-text{font-size:14px}
.card-actions{flex-direction:column}
.card-actions button{width:100%}
.work-card{padding:13px}
.video-card{padding:0}
.composer-foot{flex-wrap:wrap}
.voice-session>span:nth-child(2){min-width:100px}

}

@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
.voice-wave i{transform:none}
}

@media print{body{background:#fff;color:#111}
body::before,.hayato-header,.hayato-presence,.conversation-bottom,.hayato-working,.hayato-dialog,.card-actions,.question-tools,.video-stage{display:none!important}
#hayato-root{padding:0}
.hayato-layout,.conversation-column,.conversation-scroll{display:block;height:auto;overflow:visible}
.work-card,.message{background:white;color:black;border-color:#aaa;break-inside:avoid}
.work-card p,.message-text,.question-prompt{background:white;color:#111!important}
.card-kicker,.eyebrow{color:#444!important}
}

