:root{color-scheme:light;--ink:#203731;--muted:#77837c;--line:#e4eae4;--paper:#f5f7f3;--green:#087d69;--light:#e9f2e9;--deep:#076250;--white:#fff;--radius:20px;font-family:Inter,"Segoe UI","Noto Sans JP",Meiryo,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-size:14px}button,input,textarea,select{font:inherit}button,a,label.file-button,button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #79c8b6;outline-offset:3px}[hidden]{display:none!important}.topbar{height:82px;display:flex;align-items:center;gap:36px;padding:0 4%;background:#ffffffc9;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;font-size:23px;font-weight:750;letter-spacing:-1px}.brand-mark{background:var(--green);color:white;display:flex;align-items:center;justify-content:center;width:37px;height:37px;border-radius:12px;font-size:31px;font-weight:650;letter-spacing:-2px}.brand-mark span{color:#bcf0bd}.brand-tag{font-size:9px;color:var(--muted);letter-spacing:1.8px;margin-left:4px;font-weight:600}.topbar nav{display:flex;gap:30px;margin-left:35px;font-size:13px;height:100%;align-items:center}.topbar nav a{height:100%;display:flex;align-items:center;border-bottom:2px solid transparent}.topbar nav a.active{border-bottom-color:var(--green);color:var(--green);font-weight:650}.topbar nav span{margin-left:9px;color:var(--muted)}.connection-pill{margin-left:auto;font-size:11px;border:1px solid var(--line);padding:8px 12px;border-radius:30px;display:flex;gap:7px;align-items:center;background:white}.connection-pill i,.tiny-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#aab5ae}.connection-pill.connected{color:var(--green);background:#eef9ee}.connection-pill.connected i{background:#15a27a;box-shadow:0 0 0 3px #d8f2df}main{max-width:1700px;margin:0 auto;padding:42px 4% 20px}.page-title{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:28px;gap:20px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:700;color:#7c8c80}.page-title h1{font-size:33px;letter-spacing:-1.2px;font-weight:650;margin:11px 0}.page-title p{color:var(--muted);font-size:12px;margin:0}.session-meta{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.session-meta span{padding:7px 11px;background:#e9ede6;border-radius:7px;color:#66776b;font:11px ui-monospace,monospace}.workspace{display:grid;grid-template-columns:minmax(450px,1.4fr) minmax(310px,1fr);gap:22px}.workspace.admin{grid-template-columns:360px minmax(340px,1.1fr) minmax(280px,.85fr);gap:18px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 3px 7px #24362a03}.conversation-column{min-width:0;display:flex;flex-direction:column;gap:18px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-title h2{font-size:14px;font-weight:650;margin:0}.section-label{font-size:9px;letter-spacing:1.7px;color:#849387;font-weight:650;display:flex;align-items:center;justify-content:space-between;gap:10px}.tag{font-size:9px;letter-spacing:0;font-weight:400;color:#788176;background:#f2f4ef;padding:4px 7px;border-radius:5px;white-space:nowrap}.tag.green{color:var(--green);background:#eaf6ef}.text-button{padding:4px 0;background:none;border:none;color:var(--green);font-size:11px;line-height:1.7}.primary,.secondary,.danger,.icon-button{border-radius:9px;padding:10px 16px;border:1px solid transparent;font-size:12px;font-weight:550;transition:background .2s,transform .2s}.primary{background:var(--green);color:#fff;box-shadow:0 3px 7px #137b6820}.primary:hover:not(:disabled){background:var(--deep);transform:translateY(-1px)}.secondary{background:#f5f7f2;border-color:var(--line);color:var(--ink)}.secondary:hover:not(:disabled){background:#eaf0e6}.danger{color:#a5473c;background:#fff0eb;border-color:#f4d9cf}.large{padding:14px 25px;font-size:13px;min-width:193px}.primary span{margin-left:24px}.full{width:100%}.voice-stage{padding:24px 28px 0;text-align:center;overflow:hidden}.stage-top{display:flex;justify-content:space-between;align-items:center}.stage-top #timer{font:12px ui-monospace,monospace;color:#788d7c}.orb-area{height:220px;display:flex;align-items:center;justify-content:center;position:relative;margin-top:8px}.orbit{position:absolute;border-radius:50%;border:1px solid #edf1e9}.orbit-one{width:215px;height:215px}.orbit-two{width:170px;height:170px;border-style:dashed;opacity:.8}.voice-orb{width:132px;height:132px;position:relative;background:radial-gradient(circle at 32% 23%,#cff4b7 0,#96d5af 29%,#4da68b 68%,#227865 100%);border-radius:45% 55% 51% 49% / 45% 45% 55% 55%;box-shadow:inset -5px -9px 18px #26775c15,inset 4px 4px 16px #dff9c7aa,0 16px 34px #79b19b35;display:flex;align-items:center;justify-content:center;transform:rotate(-9deg)}.waveform{display:flex;gap:5px;align-items:center;transform:rotate(9deg)}.waveform i{width:4px;height:17px;background:#fff9;border-radius:4px}.waveform i:nth-child(2),.waveform i:nth-child(6){height:27px}.waveform i:nth-child(3),.waveform i:nth-child(5){height:38px}.waveform i:nth-child(4){height:46px}.voice-orb.active .waveform i{animation:wave 1s ease-in-out infinite alternate}.voice-orb.active .waveform i:nth-child(2n){animation-delay:-.6s}.voice-orb.active .waveform i:nth-child(3n){animation-delay:-.3s}.voice-stage h2{font-size:20px;font-weight:600;letter-spacing:-.5px;margin:7px 0 11px}.voice-stage>p{font-size:12px;line-height:1.8;color:var(--muted);margin:0 auto;max-width:410px;min-height:23px}.voice-controls{display:flex;justify-content:center;align-items:center;gap:10px;margin:24px 0 17px}.icon-button{width:43px;height:43px;padding:5px;background:#f8faf6;border-color:var(--line);font-size:17px;color:#6b806f}.icon-button.is-muted{background:#fff0eb;border-color:#e8c5bd;color:#b45b46}.stage-bottom{display:flex;justify-content:center;gap:35px;border-top:1px solid #eef1ea;margin:23px -28px 0;padding:13px;color:#8a968b;font-size:10px}.stage-bottom .tiny-dot{background:#61a289;margin-right:4px}.voice-stage audio{width:100%;height:30px;margin-top:10px}.compose-card{padding:21px 23px}.compose-card .panel-title{margin-bottom:12px}.compose-card textarea{border:0;background:#fafbf8;padding:14px;border-radius:10px;resize:vertical;min-height:75px;width:100%;color:var(--ink);font-size:12px;line-height:1.8}.compose-actions{display:flex;align-items:center;gap:12px;margin-top:12px}.compose-actions button{margin-left:auto}.field-help{font-size:10px;line-height:1.8;color:#899486;margin:10px 0}.compose-card>.field-help{margin-bottom:0}.transcript-panel{display:flex;flex-direction:column;min-height:590px;max-height:815px;overflow:hidden}.transcript-panel>.panel-title{padding:24px 23px 17px}.log-tabs,.settings-tabs{display:flex;border-bottom:1px solid var(--line);gap:25px;padding:0 23px}.log-tabs button,.settings-tabs button{background:none;border:none;border-bottom:2px solid transparent;padding:12px 0;font-size:11px;color:#8b978d}.log-tabs button[aria-selected=true],.settings-tabs button[aria-selected=true]{border-color:var(--green);color:var(--green);font-weight:650}.log-area{padding:23px;flex:1;overflow:auto;min-height:340px;scrollbar-width:thin;scrollbar-color:#dbe3d9 transparent}.empty-state{display:flex;height:100%;min-height:250px;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#97a294}.empty-state>span{color:#c2d0c0;font-size:48px;line-height:1.2;font-family:Georgia,serif}.empty-state p{font-size:12px;margin:9px 0}.empty-state small{font-size:10px;line-height:1.9;color:#a7afa2}.usage-bar{display:flex;gap:15px;padding:15px 23px;border-top:1px solid var(--line);font-size:10px;color:#8a998d}.usage-bar strong{font-weight:550;color:#597262;margin-left:5px}.transcript-footer{background:#fafbf8;padding:13px 23px;font-size:9px;color:#97a092;line-height:1.8}.message{margin-bottom:20px;line-height:1.9;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.message .message-label{display:block;font-size:9px;letter-spacing:.7px;color:#89968b;margin-bottom:5px;font-weight:650}.message.user .message-text{background:#f4f6f0;padding:12px 14px;border-radius:12px 12px 12px 2px}.message.assistant .message-text{background:#edf6ef;padding:12px 14px;border-radius:12px 12px 2px 12px;color:#275d4d}.message.backend .message-text{background:#f4f4f9;padding:10px;border-radius:9px}.message.notice-message{font-size:10px;color:#7f9084;padding:8px;border-left:2px solid #c8dcc9}.event-item{border-bottom:1px solid var(--line);font:10px/1.6 ui-monospace,monospace;padding:9px 0;overflow-wrap:anywhere}.event-item summary{cursor:pointer;color:#558474}.event-item pre{white-space:pre-wrap;max-height:300px;overflow:auto;color:#7a8478}.settings{display:flex;flex-direction:column;max-height:815px;min-width:0;overflow:hidden}.settings>.panel-title{padding:22px 20px 12px}.settings-tabs{padding:0 20px;gap:21px}.settings-scroll{padding:21px 20px;overflow:auto;scrollbar-width:thin;flex:1}.settings label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:550;margin:16px 0 0;color:#657a69}input,select,textarea{border:1px solid #dfe7dc;background:#fcfdfb;border-radius:7px;color:var(--ink);width:100%;padding:10px;font-size:12px;outline:none;min-width:0}input:focus,select:focus,textarea:focus{border-color:#55a98e;box-shadow:0 0 0 2px #d8f0df}textarea{resize:vertical;line-height:1.7}input[type=checkbox]{width:14px;height:14px;accent-color:var(--green)}.settings .check{flex-direction:row;align-items:center;font-size:11px;font-weight:400;margin:9px 0;gap:7px}.checks{margin-top:15px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.separated{margin-top:25px}.settings .section-label{font-size:9px}.settings-footer{padding:16px 20px 15px;border-top:1px solid var(--line);background:#fafcf8}.settings-footer>span{font-size:10px;color:#788878;display:block;margin-bottom:10px}.settings-footer p{font-size:9px;color:#96a090;margin:9px 0 0;text-align:center}.code{font:11px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2}.button-row{display:flex;gap:8px;margin-top:10px}.button-row>*{flex:1;font-size:10px;padding:9px}.settings details{margin-top:24px;border-top:1px solid var(--line);padding-top:14px}.settings summary{font-size:11px;color:#66836b;cursor:pointer;margin-bottom:10px}.settings .file-button{display:flex;margin:0;align-items:center;justify-content:center}.docs-links{display:flex;flex-direction:column;gap:7px;font-size:10px;color:var(--green);margin-top:19px}.login-panel{max-width:480px;margin:45px auto 95px;padding:35px}.login-panel h2{font-size:22px}.login-panel p{color:var(--muted);font-size:12px;line-height:1.9}.login-panel label{display:block;font-size:11px;margin:25px 0 14px}.login-panel input{margin-top:8px}.login-panel button{width:100%}.notice{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:10;max-width:min(720px,90vw);background:#263e34;color:white;border-radius:12px;padding:16px 24px;font-size:12px;line-height:1.8;box-shadow:0 8px 30px #20372f30;white-space:pre-wrap}.notice.error{background:#793d32}.page-footer{padding:25px 4% 32px;max-width:1700px;margin:auto;display:flex;justify-content:space-between;font-size:9px;color:#a0aa9b}.footer-dot{margin:0 10px;color:#c5cfc1}
@keyframes wave{from{transform:scaleY(.6)}to{transform:scaleY(1.2)}}
@media(min-width:1500px){.workspace.admin{grid-template-columns:390px minmax(420px,1.1fr) minmax(320px,.85fr)}}
@media(max-width:1200px){main{padding-left:25px;padding-right:25px}.workspace.admin{grid-template-columns:330px 1fr}.workspace.admin .transcript-panel{grid-column:2;max-height:450px}.workspace.admin .settings{grid-row:1/3;max-height:1275px}.brand-tag{display:none}.workspace.admin .compose-actions{flex-wrap:wrap}}
@media(max-width:760px){.topbar{height:68px;padding:0 20px;gap:10px}.brand{font-size:20px}.brand-mark{width:31px;height:31px;font-size:25px}.topbar nav{margin-left:auto;gap:18px;font-size:11px}.connection-pill{display:none}main{padding:30px 18px 10px}.page-title{align-items:flex-start;flex-direction:column;gap:17px;margin-bottom:22px}.page-title h1{font-size:28px}.page-title p{font-size:11px}.session-meta span{font-size:10px}.workspace,.workspace.admin{grid-template-columns:1fr}.workspace.admin .settings{grid-row:auto;max-height:760px}.workspace.admin .transcript-panel{grid-column:auto}.voice-stage{padding:21px 20px 0}.orb-area{height:192px}.orbit-one{width:188px;height:188px}.orbit-two{width:151px;height:151px}.voice-orb{width:117px;height:117px}.voice-stage h2{font-size:18px}.stage-bottom{margin-left:-20px;margin-right:-20px;gap:20px}.transcript-panel{min-height:430px;max-height:550px}.compose-card{padding:19px}.compose-actions{gap:8px}.large{min-width:177px;padding:13px 18px}.voice-controls{gap:7px}.icon-button{width:37px;height:39px}.page-footer{padding:20px;gap:20px;line-height:1.8}.eyebrow{font-size:8px}.settings-tabs{justify-content:space-between;gap:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

.message-text a{color:#087e69;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.message-text a:hover{color:#045345}.message-text a:focus-visible{outline:2px solid #087e69;outline-offset:3px;border-radius:3px}.message-image{margin:12px 0;white-space:normal;border:1px solid #d7e5da;border-radius:10px;overflow:hidden;background:#fff}.message-image>a{display:block}.message-image img{display:block;width:100%;max-height:360px;object-fit:contain;background:#f7f9f4}.message-image figcaption{font-size:11px;line-height:1.7;padding:9px 12px}.image-fallback{display:block;padding:16px;font-size:11px;color:#6b776e}.message-sources{display:flex;flex-direction:column;gap:5px;margin-top:12px;padding-top:9px;border-top:1px solid #d7e5da;font-size:11px;white-space:normal}

.profile-picker{padding:0 20px 17px;border-bottom:1px solid var(--line)}.profile-picker label{margin-top:0}.profile-picker a{display:block;margin-top:9px;font-size:10px;color:var(--green);overflow-wrap:anywhere}.profile-picker #add-profile{margin-top:10px;color:var(--green);border-color:#bfd8c8}.settings-tabs{gap:14px;justify-content:space-between}.settings-tabs button{white-space:nowrap;font-size:10px}.settings-scroll{min-height:220px}.settings>.profile-picker{flex-shrink:0}.page-title h1{overflow-wrap:anywhere;font-size:clamp(24px,2.5vw,36px)}.page-title>div:first-child{min-width:0}
