:root{--green-900: #14532d;--green-700: #1f7a4d;--green-600: #2e9e63;--green-500: #38b073;--green-100: #d8f0e2;--green-050: #eef7f1;--bg-room: #f2f6f3;--bubble-in: #ffffff;--bubble-out: #38b073;--text-dark: #1c2b22;--text-light: #ffffff;--border: #d7e3db}*{box-sizing:border-box}html,body{margin:0;padding:0;height:100%;height:100dvh;height:var(--app-height, 100dvh);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Hiragino Kaku Gothic ProN,Hiragino Sans,Meiryo,sans-serif;background:#c9d6cd;color:var(--text-dark)}#root{height:100%;height:var(--app-height, 100dvh)}.app-shell{height:100%;height:var(--app-height, 100dvh);display:flex;justify-content:center;align-items:stretch}.player-layout{container-type:inline-size;container-name:player;width:100%;display:block}.player-grid{width:100%;height:100%;display:block}.player-list-pane,.player-room-pane{height:100%;min-height:0}.room-placeholder{height:100%;display:flex;align-items:center;justify-content:center;color:#6b7a72;font-size:14px;background:var(--bg-room);border-right:1px solid var(--border)}.player-layout.room-open .player-list-pane,.player-layout.room-closed .player-room-pane{display:none}.player-layout .player-list-pane,.player-layout .player-room-pane{display:flex;justify-content:center}.player-layout.room-open .player-list-pane{display:none}@container player (min-width: 720px){.player-grid{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);height:100%}.player-layout.room-open .player-list-pane,.player-layout.room-closed .player-room-pane{display:flex}.player-layout .player-list-pane{justify-content:stretch;border-right:1px solid var(--border)}.player-layout .player-list-pane .talk-list,.player-layout .player-room-pane .chat-room{max-width:none;border-left:none;border-right:none}.player-layout .player-room-pane .back-btn{display:none}.list-row-active{background:var(--green-100)}}.chat-room{width:100%;max-width:480px;height:100%;display:flex;flex-direction:column;background:var(--bg-room);border-left:1px solid var(--border);border-right:1px solid var(--border)}@media (max-width: 520px){.app-shell{justify-content:stretch}.talk-list,.chat-room{max-width:none;border-left:none;border-right:none}}.talk-list{width:100%;max-width:480px;height:100%;display:flex;flex-direction:column;background:var(--bg-room);border-left:1px solid var(--border);border-right:1px solid var(--border)}.list-header{flex:0 0 auto;display:flex;align-items:center;gap:10px;padding:12px 14px;background:var(--green-700);color:var(--text-light)}.list-header-text{flex:1 1 auto;min-width:0}.list-title{font-weight:700;font-size:17px;line-height:1.2}.list-subtitle{font-size:11px;opacity:.85;line-height:1.2}.list-scroll{flex:1 1 auto;overflow-y:auto;display:flex;flex-direction:column}.list-row{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;background:#fff;border:none;border-bottom:1px solid var(--border);text-align:left;cursor:pointer;font:inherit;color:var(--text-dark)}.list-row:hover,.list-row-unread{background:var(--green-050)}.list-avatar{width:44px;height:44px;border-radius:50%;background:var(--green-600);color:var(--text-light);font-weight:700;font-size:18px;display:flex;align-items:center;justify-content:center;flex:0 0 auto}.list-row-text{flex:1 1 auto;min-width:0}.list-row-name{font-weight:700;font-size:15px;line-height:1.3}.list-row-unread .list-row-name{font-weight:800}.list-row-excerpt{font-size:13px;color:#5d6b63;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.unread-badge{flex:0 0 auto;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--green-600);color:var(--text-light);font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}.back-btn{flex:0 0 auto;background:transparent;border:1px solid rgba(255,255,255,.6);color:var(--text-light);border-radius:14px;padding:5px 10px;font-size:13px;cursor:pointer}.back-btn:hover{background:#ffffff26}.chat-header{flex:0 0 auto;display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--green-700);color:var(--text-light)}.chat-avatar{width:38px;height:38px;border-radius:50%;background:var(--green-100);color:var(--green-900);font-weight:700;display:flex;align-items:center;justify-content:center;flex:0 0 auto}.chat-header-text{flex:1 1 auto;min-width:0}.chat-contact-name{font-weight:700;font-size:15px;line-height:1.2}.chat-work-title{font-size:11px;opacity:.85;line-height:1.2}.restart-btn{flex:0 0 auto;background:transparent;border:1px solid rgba(255,255,255,.6);color:var(--text-light);border-radius:14px;padding:5px 10px;font-size:12px;cursor:pointer}.restart-btn:hover{background:#ffffff26}.chat-scroll{flex:1 1 auto;overflow-y:auto;padding:12px}.chat-list{display:flex;flex-direction:column;gap:8px}.bubble-row{display:flex;align-items:flex-end;gap:6px;max-width:100%}.row-in{justify-content:flex-start}.row-out{justify-content:flex-end}.bubble-avatar{width:28px;height:28px;border-radius:50%;background:var(--green-600);color:var(--text-light);font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:0 0 auto}.bubble{max-width:74%;padding:9px 12px;border-radius:16px;font-size:15px;line-height:1.45;white-space:pre-wrap;word-break:break-word}.bubble-in{background:var(--bubble-in);color:var(--text-dark);border:1px solid var(--border);border-bottom-left-radius:4px}.bubble-out{background:var(--bubble-out);color:var(--text-light);border-bottom-right-radius:4px}.ended-banner{align-self:center;margin-top:8px;padding:6px 14px;font-size:12px;color:var(--green-900);background:var(--green-100);border-radius:12px}.read-receipt{text-align:right;font-size:11px;color:#6b7a72;margin:2px 2px 0 0}.call-invite-card{display:flex;flex-direction:column;gap:8px;padding:12px 14px;min-width:180px}.call-invite-title{font-size:13px;font-weight:700;color:var(--green-900)}.call-invite-sub{font-size:12px;color:#4a5a52}.call-invite-btn{align-self:stretch;padding:9px 14px;border:none;border-radius:10px;background:var(--green-600);color:var(--text-light);font-size:14px;font-weight:600;cursor:pointer}.call-invite-btn:hover{background:var(--green-900)}.call-log-card{display:flex;flex-direction:column;gap:8px;padding:4px 2px;min-width:170px}.call-log-head{display:flex;align-items:center;gap:9px}.call-log-icon{font-size:18px;color:var(--green-600)}.call-log-info{display:flex;flex-direction:column}.call-log-title{font-size:13px;font-weight:700;color:var(--green-900)}.call-log-sub{font-size:11px;color:#4a5a52}.call-log-btn{align-self:flex-start;padding:6px 12px;border:1px solid var(--green-600);border-radius:9px;background:transparent;color:var(--green-900);font-size:12px;font-weight:600;cursor:pointer}.call-log-btn:hover{background:var(--green-100)}.typing-bubble{display:inline-flex;align-items:center;gap:4px;padding:12px 14px}.typing-dot{width:7px;height:7px;border-radius:50%;background:var(--green-600);opacity:.4;animation:typing-pulse 1.1s infinite ease-in-out}.typing-dot:nth-child(2){animation-delay:.18s}.typing-dot:nth-child(3){animation-delay:.36s}@keyframes typing-pulse{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:.9;transform:translateY(-3px)}}.chat-input-bar{flex:0 0 auto;display:flex;gap:8px;padding:10px 12px;background:#fff;border-top:1px solid var(--border)}.chat-input{flex:1 1 auto;min-width:0;border:1px solid var(--border);border-radius:18px;padding:10px 14px;font-size:15px;outline:none;background:var(--green-050)}.chat-input:focus{border-color:var(--green-500)}.chat-input:disabled{background:#eceff0;color:#9aa3a0}.send-btn{flex:0 0 auto;border:none;background:var(--green-600);color:var(--text-light);border-radius:18px;padding:10px 18px;font-size:15px;font-weight:700;cursor:pointer}.send-btn:hover:not(:disabled){background:var(--green-700)}.send-btn:disabled{background:#b7cabf;cursor:not-allowed}.bubble-image,.bubble-video,.bubble-audio,.bubble-link,.bubble-location,.bubble-file{max-width:80%;padding:6px}.media-block{display:flex;flex-direction:column;gap:6px}.media-caption{font-size:13px;line-height:1.4;white-space:pre-wrap;word-break:break-word;padding:0 4px 2px}.bubble-out .media-caption{color:var(--text-light)}.media-image-btn{display:block;padding:0;border:none;background:none;cursor:zoom-in;border-radius:12px;overflow:hidden;line-height:0}.media-image{display:block;width:100%;max-width:260px;height:auto;max-height:320px;object-fit:cover;border-radius:12px}.media-audio{width:240px;max-width:100%;height:40px}.media-video-wrap{position:relative;line-height:0}.media-video{display:block;width:100%;max-width:280px;max-height:320px;border-radius:12px;background:#000}.media-expand-btn{position:absolute;top:6px;right:6px;border:none;background:#0d2a1db3;color:var(--text-light);border-radius:10px;padding:4px 10px;font-size:12px;font-weight:700;cursor:pointer;line-height:1.4}.media-expand-btn:hover{background:#0d2a1de6}.link-card{display:flex;flex-direction:column;gap:2px;text-decoration:none;color:var(--text-dark);padding:6px 8px;border-radius:10px;border:1px solid var(--border);background:#fff;max-width:100%}.link-card:hover{background:var(--green-050)}.link-card-out{background:#ffffffeb}.link-card-title{font-weight:700;font-size:14px;line-height:1.35;word-break:break-word}.link-card-url{font-size:12px;color:var(--green-700);word-break:break-all}.location-card{display:flex;align-items:flex-start;gap:10px;padding:4px}.location-pin{flex:0 0 auto;width:34px;height:34px;border-radius:50%;background:var(--green-600);color:var(--text-light);font-size:18px;display:flex;align-items:center;justify-content:center}.location-text{min-width:0}.location-label{font-weight:700;font-size:14px;line-height:1.35;word-break:break-word}.bubble-out .location-label,.bubble-out .location-coords{color:var(--text-light)}.location-coords{font-size:12px;color:#5d6b63;margin-top:2px}.location-map-link{display:inline-block;margin-top:4px;font-size:12px;font-weight:700;color:var(--green-700)}.bubble-out .location-map-link{color:#eef7f1}.file-card{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text-dark);padding:4px 6px}.file-icon{flex:0 0 auto;width:34px;height:34px;border-radius:8px;background:var(--green-100);color:var(--green-900);font-size:18px;font-weight:700;display:flex;align-items:center;justify-content:center}.file-info{display:flex;flex-direction:column;min-width:0}.file-name{font-weight:700;font-size:14px;line-height:1.3;word-break:break-all}.file-action{font-size:12px;color:var(--green-700)}.bubble-out .file-name{color:var(--text-light)}.bubble-out .file-action{color:#eef7f1}.media-viewer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#0d2a1de0;display:flex;align-items:center;justify-content:center;padding:24px}.media-viewer-close{position:absolute;top:14px;right:14px;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.5);background:#0000004d;color:var(--text-light);font-size:18px;cursor:pointer}.media-viewer-close:hover{background:#0000008c}.media-viewer-stage{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:100%;max-height:100%}.media-viewer-image,.media-viewer-video{max-width:100%;max-height:80vh;border-radius:8px;background:#000}.media-viewer-caption{color:var(--text-light);font-size:14px;text-align:center;max-width:480px;white-space:pre-wrap}.trial-banner{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 12px;background:var(--green-100);color:var(--green-900);font-size:12px}.trial-exit-btn{border:1px solid var(--green-600);background:#fff;color:var(--green-700);border-radius:10px;padding:4px 10px;font-size:12px;cursor:pointer}.editor-app{height:100%;min-height:0;display:flex;flex-direction:column;background:var(--bg-room)}.editor-toolbar{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;background:var(--green-700);flex-wrap:wrap}.editor-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;color:var(--text-light);font-size:14px}.editor-breadcrumb .crumb{font-weight:700}.editor-breadcrumb .crumb-work{font-size:15px}.editor-breadcrumb .crumb-node{background:#ffffff29;padding:2px 10px;border-radius:10px}.editor-breadcrumb .crumb-sep{opacity:.7}.toolbar-divider{width:1px;height:22px;background:#ffffff59;margin:0 2px}.tab-badge{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;margin-left:6px;padding:0 4px;border-radius:8px;background:#c0392b;color:#fff;font-size:11px}.editor-actions{display:flex;gap:6px}.editor-actions button{border:1px solid rgba(255,255,255,.5);background:transparent;color:var(--text-light);border-radius:10px;padding:6px 12px;font-size:13px;cursor:pointer}.editor-actions button:hover{background:#ffffff26}.editor-notice{flex:0 0 auto;background:var(--green-100);color:var(--green-900);font-size:13px;padding:6px 14px}.editor-panes{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:260px minmax(0,1fr) 380px}.editor-nav,.editor-inspector{min-height:0;overflow-y:auto;background:#fff}.editor-nav{border-right:1px solid var(--border);padding:12px}.editor-inspector{border-left:1px solid var(--border);padding:12px;display:flex;flex-direction:column;gap:14px}.editor-center{min-height:0;display:flex;flex-direction:column;background:var(--bg-room)}.center-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:16px}.center-tabs{flex:0 0 auto;display:flex;gap:4px;padding:8px 12px 0;background:var(--green-050);border-bottom:1px solid var(--border)}.center-tab{border:1px solid var(--border);border-bottom:none;background:#fff;color:var(--green-900);border-radius:10px 10px 0 0;padding:7px 16px;font-size:13px;font-weight:700;cursor:pointer}.center-tab-active{background:var(--green-600);color:var(--text-light);border-color:var(--green-600)}.nav-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.nav-head-title{font-weight:800;color:var(--green-900);font-size:14px}.nav-add{border:none;background:var(--green-600);color:var(--text-light);border-radius:8px;padding:5px 10px;font-size:12px;font-weight:700;cursor:pointer}.nav-hint{font-size:11px;color:#6b7a72;margin:0 0 10px;line-height:1.5}.nav-tree{list-style:none;margin:0;padding:0}.nav-contact{margin-bottom:8px}.nav-contact-btn{width:100%;display:flex;align-items:center;gap:8px;text-align:left;border:1px solid var(--border);background:var(--green-050);border-radius:8px;padding:7px 9px;cursor:pointer}.nav-avatar{flex:0 0 auto;width:26px;height:26px;border-radius:50%;background:var(--green-600);color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}.nav-contact-text{min-width:0;display:flex;flex-direction:column}.nav-contact-name{font-weight:700;font-size:13px;color:var(--green-900)}.nav-contact-meta{font-size:10px;color:#6b7a72}.nav-nodes{list-style:none;padding:0 0 0 14px;border-left:2px solid var(--border);margin:4px 0 0 12px;display:flex;flex-direction:column;gap:3px}.nav-node-btn{width:100%;display:flex;align-items:center;gap:6px;text-align:left;border:1px solid transparent;background:transparent;border-radius:6px;padding:5px 8px;cursor:pointer;font-size:12px;color:#41524a}.nav-node-btn:hover{background:var(--green-050)}.nav-node-id{font-weight:600}.nav-pill{font-size:9px;font-weight:700;padding:1px 5px;border-radius:7px;background:var(--green-600);color:#fff}.nav-pill-end{background:var(--green-900)}.nav-active{border-color:var(--green-500);background:var(--green-100)}.nav-add-node{border:1px dashed var(--border);background:transparent;color:var(--green-700);border-radius:6px;padding:4px 8px;font-size:12px;cursor:pointer;text-align:left}.inspector-section{background:#fff;border:1px solid var(--border);border-radius:10px;padding:10px}.inspector-head{display:flex;align-items:center;gap:8px;margin-bottom:8px}.inspector-head h3{margin:0;font-size:14px;color:var(--green-900)}.inspector-head .tab-badge{margin-left:0}.trial-controls{margin-left:auto;display:flex;gap:6px}.trial-controls button{border:1px solid var(--green-600);background:#fff;color:var(--green-700);border-radius:8px;padding:4px 10px;font-size:12px;cursor:pointer}.inspector-section.trial-pane{flex:1 1 auto;display:flex;flex-direction:column;min-height:0}.phone-frame{align-self:center;width:375px;max-width:100%;flex:1 1 auto;height:auto;min-height:520px;max-height:none;background:#1c2b22;border-radius:28px;padding:10px;box-shadow:0 6px 20px #0000002e}.phone-screen{width:100%;height:100%;border-radius:20px;overflow:hidden;background:var(--bg-room)}.phone-screen .app-shell{height:100%}.yaml-hint,.ed-help{font-size:12px;color:#6b7a72;margin:0 0 10px;line-height:1.6}@media (max-width: 960px){.editor-panes{grid-template-columns:1fr;grid-auto-rows:min-content;overflow-y:auto}.editor-nav,.editor-inspector{overflow-y:visible}.editor-center{min-height:60vh}}.ed-section{margin:16px 0;padding:12px;background:#fff;border:1px solid var(--border);border-radius:10px}.ed-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.ed-section-head h3{margin:0;font-size:15px;color:var(--green-900)}.ed-section-head--sticky{position:sticky;top:0;z-index:5;margin:-12px -12px 8px;padding:12px 12px 8px;background:#fff;border-bottom:1px solid var(--green-100, #e3efe8);border-radius:10px 10px 0 0;flex-wrap:wrap}.ed-section-head button,.yaml-actions button{border:none;background:var(--green-600);color:var(--text-light);border-radius:10px;padding:7px 14px;font-size:13px;font-weight:700;cursor:pointer}.ed-section-head button:disabled{background:#b7cabf;cursor:not-allowed}.ed-field{display:flex;flex-direction:column;gap:4px;margin:8px 0;font-size:13px}.ed-field>span,.ed-field>legend{font-weight:700;color:#41524a}.ed-field input[type=text],.ed-field input[type=number],.ed-field select,.ed-field textarea{border:1px solid var(--border);border-radius:8px;padding:8px 10px;font:inherit;font-size:14px;background:var(--green-050);outline:none}.ed-field input:focus,.ed-field select:focus,.ed-field textarea:focus{border-color:var(--green-500)}.ed-row{display:flex;gap:12px;flex-wrap:wrap}.ed-row .ed-field{flex:1 1 200px}.ed-field-inline{display:inline-flex;align-items:center;gap:6px;font-size:13px}.ed-field-inline select{border:1px solid var(--border);border-radius:8px;padding:4px 8px;font:inherit}.ed-field-checkbox{display:flex;align-items:center;gap:8px;margin:8px 0;font-size:13px}.ed-empty{color:#6b7a72;font-size:13px;font-style:italic}button.danger{border:1px solid #d8a39c;background:#fbeeec;color:#a03228;border-radius:8px;padding:6px 12px;font-size:12px;cursor:pointer}button.danger:hover{background:#f6ddd9}.contact-card{margin:12px 0;padding:12px;background:#fff;border:1px solid var(--border);border-radius:10px}.msg-editor,.branch-editor{border:1px solid var(--border);border-radius:8px;padding:10px;margin:8px 0;background:var(--green-050)}.msg-editor-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.msg-index{font-weight:700;color:var(--green-700)}.msg-editor-actions{margin-left:auto;display:flex;gap:4px}.msg-editor-actions button{border:1px solid var(--border);background:#fff;border-radius:6px;padding:4px 8px;font-size:12px;cursor:pointer}.msg-editor-actions button.danger{border-color:#d8a39c}.msg-editor-actions button:disabled{opacity:.4;cursor:not-allowed}.msg-timing .ed-field{flex:1 1 160px}.help-chip-wrap{position:relative;display:inline-flex;align-items:center}.help-chip{margin-left:6px;width:16px;height:16px;padding:0;border-radius:50%;border:1px solid var(--green-600);background:#fff;color:var(--green-700);font-size:11px;font-weight:700;line-height:1;cursor:help}.help-chip:hover{background:var(--green-100)}.help-chip-bubble{position:absolute;top:22px;left:0;z-index:5;width:260px;max-width:70vw;padding:8px 10px;border-radius:8px;background:var(--green-900);color:#fff;font-size:12px;font-weight:400;line-height:1.5;box-shadow:0 4px 14px #00000040}.wait-fields{margin-top:8px;padding:8px 10px;border:1px dashed var(--green-500);border-radius:8px;background:#fff}.unlocks-field{border:1px solid var(--border);border-radius:8px;padding:8px 10px}.delete-node-btn{margin-top:12px}.flow-view{display:flex;flex-direction:column;gap:16px}.flow-group{background:#fff;border:1px solid var(--border);border-radius:10px;padding:12px}.flow-group-head{display:flex;align-items:baseline;gap:10px;margin-bottom:8px;border-bottom:1px solid var(--border);padding-bottom:6px}.flow-contact-name{font-weight:800;color:var(--green-900);font-size:15px}.flow-contact-meta{font-size:12px;color:#6b7a72}.flow-nodes{display:flex;flex-wrap:wrap;gap:10px}.flow-node{flex:0 1 240px;text-align:left;border:1px solid var(--border);border-radius:8px;background:var(--green-050);padding:8px 10px;cursor:pointer}.flow-node:hover{border-color:var(--green-500)}.flow-node-ending{background:var(--green-100)}.flow-node-id{font-weight:700;color:var(--green-900);font-size:13px;display:flex;align-items:center;gap:6px;margin-bottom:4px}.flow-tag{font-size:10px;font-weight:700;padding:1px 6px;border-radius:8px;background:var(--green-600);color:#fff}.flow-tag-end{background:var(--green-900)}.flow-edges{display:flex;flex-direction:column;gap:3px}.flow-edge{font-size:12px;color:#41524a}.flow-edge-word{color:var(--green-700)}.flow-arrow{margin:0 4px;color:#6b7a72}.flow-edge-unlock{color:var(--green-700);font-weight:700}.flow-req{margin-left:4px;color:#8a6d3b}.flow-missing,.flow-deadend{color:#a03228;font-weight:700}.validation-summary{font-weight:700;margin-bottom:10px;color:var(--green-900)}.validation-ok{color:var(--green-700)}.validation-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.validation-item{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:8px;background:#fff;border:1px solid var(--border);font-size:13px}.validation-error{border-left:4px solid #c0392b}.validation-warning{border-left:4px solid #c79a26}.validation-level{font-weight:700;font-size:11px;padding:2px 6px;border-radius:6px;background:var(--green-050);color:var(--green-900)}.validation-error .validation-level{background:#fbeeec;color:#a03228}.validation-message{flex:1 1 auto}.validation-jump{border:1px solid var(--border);background:#fff;border-radius:6px;padding:3px 8px;font-size:12px;cursor:pointer}.yaml-pane{display:flex;flex-direction:column;gap:10px;min-height:100%}.yaml-actions{display:flex;gap:8px;flex-wrap:wrap}.yaml-error{background:#fbeeec;color:#a03228;border:1px solid #d8a39c;border-radius:8px;padding:10px;font-size:13px;white-space:pre-wrap}.yaml-textarea{flex:1 1 auto;min-height:360px;width:100%;border:1px solid var(--border);border-radius:8px;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.5;background:#fff;outline:none;resize:vertical}.trial-blocked{background:#fbeeec;color:#a03228;border:1px solid #d8a39c;border-radius:8px;padding:12px;font-size:13px}.error-screen{max-width:480px;margin:0 auto;padding:40px 24px;color:var(--green-900)}.error-screen h1{font-size:20px}.error-screen p{background:#fff;border:1px solid var(--border);border-radius:8px;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;white-space:pre-wrap}.ed-error{background:#fdecea;color:#8a1f14;border:1px solid #f3c7c1;border-radius:8px;padding:8px 12px;font-size:13px;margin:8px 0}.project-list-screen{height:100%;overflow-y:auto;background:var(--bg-room);padding:24px clamp(16px,5vw,56px)}.pl-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}.pl-header h1{margin:0 0 4px;color:var(--green-900);font-size:24px}.pl-header p{margin:0;color:#4a5b51;font-size:14px}.pl-new{border:none;background:var(--green-600);color:#fff;border-radius:12px;padding:10px 18px;font-size:15px;font-weight:700;cursor:pointer}.pl-new:hover{background:var(--green-500)}.pl-offline{background:#fff;border:1px solid var(--border);border-radius:14px;padding:20px;max-width:560px}.pl-offline h2{margin:0 0 8px;color:var(--green-900);font-size:18px}.pl-offline code{background:var(--green-050);border:1px solid var(--border);border-radius:6px;padding:1px 6px;margin:0 3px;font-family:ui-monospace,Consolas,monospace}.pl-offline button{margin-top:10px;border:1px solid var(--green-600);background:#fff;color:var(--green-700);border-radius:10px;padding:8px 16px;cursor:pointer}.pl-empty{background:#fff;border:1px dashed var(--border);border-radius:14px;padding:28px;color:#4a5b51}.project-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}.project-card{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}.project-card-open{text-align:left;border:none;background:transparent;padding:16px;cursor:pointer;display:flex;flex-direction:column;gap:4px}.project-card-open:hover{background:var(--green-050)}.project-card-name{font-size:17px;font-weight:700;color:var(--green-900)}.project-card-meta{font-size:12px;color:#5a6b61}.project-card-id{font-size:11px;color:#92a298;font-family:ui-monospace,Consolas,monospace}.project-card-actions{display:flex;gap:6px;padding:8px 12px;border-top:1px solid var(--border);background:var(--green-050)}.project-card-actions button{flex:1;border:1px solid var(--border);background:#fff;color:var(--text-dark);border-radius:8px;padding:6px 4px;font-size:12px;cursor:pointer}.project-card-actions button.danger{color:#8a1f14;border-color:#f0c7c1}.project-card-actions button:hover{background:var(--green-100)}.editor-loading{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:var(--bg-room)}.back-projects-btn{border:1px solid rgba(255,255,255,.5);background:transparent;color:var(--text-light);border-radius:10px;padding:6px 12px;font-size:13px;cursor:pointer}.back-projects-btn:hover{background:#ffffff26}.crumb-work-btn{border:none;background:transparent;color:var(--text-light);cursor:pointer;font:inherit;font-weight:700;padding:0}.crumb-work-btn:hover{text-decoration:underline}.save-indicator{font-size:12px;color:var(--text-light);opacity:.9;padding:2px 8px;border-radius:8px;background:#ffffff26}.save-indicator.save-error{background:#c0392b}.publish-result{flex:0 0 auto;display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:var(--green-100);color:var(--green-900);font-size:13px;padding:8px 14px}.publish-download{background:var(--green-600);color:#fff;border-radius:8px;padding:4px 12px;text-decoration:none;font-weight:700}.publish-download:hover{background:var(--green-500)}.publish-dismiss{border:1px solid var(--green-600);background:#fff;color:var(--green-700);border-radius:8px;padding:4px 10px;cursor:pointer}.publish-url{color:var(--green-700);font-weight:700;text-decoration:underline;word-break:break-all}.publish-url:hover{color:var(--green-600)}.publish-url-bar{display:inline-flex;align-items:center;gap:6px;padding:2px 8px;border:1px solid var(--green-200, #b6d8c2);border-radius:8px;background:var(--green-50, #f0f7f2);max-width:360px}.publish-url-bar .publish-url{font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}.publish-url-btn{flex:0 0 auto;background:var(--green-600);color:#fff;border:none;border-radius:6px;padding:3px 10px;font-size:12px;cursor:pointer}.publish-url-btn:hover{background:var(--green-500)}.asset-manager-head,.flag-manager-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.asset-manager-head h3,.flag-manager-head h3{margin:0;color:var(--green-900)}.asset-actions button{border:none;background:var(--green-600);color:#fff;border-radius:10px;padding:7px 14px;font-size:13px;cursor:pointer}.asset-actions button:disabled{opacity:.6;cursor:default}.asset-grid{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px}.asset-item{background:#fff;border:1px solid var(--border);border-radius:12px;padding:8px;display:flex;flex-direction:column;gap:4px;align-items:stretch}.asset-thumb{width:100%;height:90px;border-radius:8px;background:var(--green-050);display:flex;align-items:center;justify-content:center;overflow:hidden}.asset-thumb-img{max-width:100%;max-height:100%;object-fit:contain}.asset-thumb-icon{font-size:32px;color:var(--green-600)}.asset-name{font-size:12px;word-break:break-all;color:var(--text-dark)}.asset-meta{font-size:11px;color:#7d8d83}.asset-delete{border:1px solid #f0c7c1;background:#fff;color:#8a1f14;border-radius:8px;padding:4px;font-size:12px;cursor:pointer}.asset-thumb-btn{border:1px solid transparent;cursor:pointer;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.asset-thumb-btn:hover,.asset-thumb-btn:focus-visible{border-color:var(--green-600);outline:none}.asset-name-btn{background:none;border:none;padding:0;text-align:left;cursor:pointer;font:inherit}.asset-name-btn:hover,.asset-name-btn:focus-visible{text-decoration:underline;outline:none}.asset-preview-audio{width:min(420px,80vw)}.asset-preview-text-wrap{width:min(720px,86vw);max-height:70vh;overflow:auto;background:#fff;border-radius:8px;padding:14px 16px}.asset-preview-text{margin:0;white-space:pre-wrap;word-break:break-word;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;color:var(--text-dark)}.asset-preview-loading{color:#7d8d83;font-size:13px}.asset-preview-file{background:#fff;border-radius:8px;padding:20px 22px;text-align:center;max-width:420px}.asset-preview-file-name{font-weight:600;color:var(--text-dark);word-break:break-all;margin-bottom:6px}.asset-preview-file-note{font-size:13px;color:#7d8d83}.asset-preview-download{display:inline-block;border:1px solid var(--green-600);background:var(--green-600);color:#fff;border-radius:8px;padding:8px 18px;font-size:14px;text-decoration:none}.asset-preview-download:hover{background:var(--green-700, #196b3b)}.asset-picker-wrap{position:relative;display:inline-block;margin-top:4px}.asset-pick-btn{border:1px solid var(--green-600);background:#fff;color:var(--green-700);border-radius:8px;padding:4px 10px;font-size:12px;cursor:pointer}.asset-pick-btn:hover{background:var(--green-050)}.asset-picker-pop{position:absolute;z-index:30;top:calc(100% + 4px);left:0;width:300px;max-height:320px;overflow-y:auto;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 24px #00000029;padding:10px}.asset-picker-head{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:700;color:var(--green-900);margin-bottom:8px}.asset-picker-close{border:none;background:transparent;color:var(--green-700);cursor:pointer;font-size:12px}.asset-picker-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:8px}.asset-picker-item{display:flex;flex-direction:column;gap:4px;border:1px solid var(--border);background:#fff;border-radius:8px;padding:4px;cursor:pointer}.asset-picker-item:hover{background:var(--green-050)}.asset-picker-item .asset-thumb{height:56px}.asset-picker-name{font-size:10px;word-break:break-all;color:var(--text-dark)}.flag-add-row{display:flex;gap:8px;margin:12px 0}.flag-add-row input{flex:1;border:1px solid var(--border);border-radius:8px;padding:7px 10px;font-size:13px}.flag-add-row button,.flag-select-add button{border:none;background:var(--green-600);color:#fff;border-radius:8px;padding:7px 12px;font-size:13px;cursor:pointer;white-space:nowrap}.flag-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.flag-item{background:#fff;border:1px solid var(--border);border-radius:12px;padding:10px 12px}.flag-item-head{display:flex;align-items:center;gap:8px}.flag-name{font-weight:700;color:var(--green-900);font-family:ui-monospace,Consolas,monospace}.flag-unused{font-size:11px;color:#8a6d1f;background:#fdf3d6;border-radius:6px;padding:1px 6px}.flag-item-actions{margin-left:auto;display:flex;gap:6px}.flag-item-actions button{border:1px solid var(--border);background:#fff;color:var(--text-dark);border-radius:8px;padding:4px 10px;font-size:12px;cursor:pointer}.flag-item-actions button.danger{color:#8a1f14;border-color:#f0c7c1}.flag-item-usage{margin-top:6px;font-size:12px;color:#4a5b51}.flag-usage-label{font-weight:700;color:var(--green-700)}.flag-select{border:1px solid var(--border);border-radius:10px;padding:8px 10px}.flag-select legend{font-size:12px;color:#4a5b51;padding:0 4px}.flag-select-options{display:flex;flex-wrap:wrap;gap:4px 14px}.flag-select-option{font-size:13px}.flag-select-add{display:flex;gap:6px;margin-top:8px}.flag-select-add input{flex:1;border:1px solid var(--border);border-radius:8px;padding:5px 8px;font-size:12px}.call-screen{position:absolute;top:0;right:0;bottom:0;left:0;z-index:60;display:flex;flex-direction:column;padding:18px 0 26px;color:#ffffffeb;background:radial-gradient(120% 80% at 50% -10%,#2b2f3a,#15171d 42%,#0a0b0f),#0a0b0f;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,Hiragino Sans,Hiragino Kaku Gothic ProN,Noto Sans JP,Yu Gothic,sans-serif;-webkit-user-select:none;user-select:none;animation:callScreenEnter .55s cubic-bezier(.22,1,.36,1) both}.call-screen:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:radial-gradient(40% 30% at 22% 18%,rgba(120,140,200,.18),transparent 60%),radial-gradient(45% 28% at 82% 30%,rgba(90,110,160,.14),transparent 60%)}@keyframes callScreenEnter{0%{opacity:0;transform:translateY(6%) scale(1.04);filter:blur(7px)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}.call-screen.call-screen-exit{animation:callScreenExit .5s cubic-bezier(.4,0,.2,1) both}@keyframes callScreenExit{0%{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}to{opacity:0;transform:translateY(7%) scale(.95);filter:blur(5px)}}.call-statusbar{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;padding:0 26px;height:20px;font-size:15px;font-weight:600}.call-status-right{display:flex;align-items:center;gap:7px}.call-status-right svg{display:block}.call-header{position:relative;z-index:3;flex:0 0 auto;display:flex;flex-direction:column;align-items:center;margin-top:40px;gap:8px}.call-avatar{width:104px;height:104px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:42px;font-weight:500;color:#fff;background:linear-gradient(160deg,#8e8e93,#5a5a60);box-shadow:0 8px 30px #00000073,inset 0 1px 1px #ffffff40;margin-bottom:10px;animation:callContentUp .6s cubic-bezier(.22,1,.36,1) both;animation-delay:.06s}.call-avatar.ringing{animation:callPulse 2s ease-out infinite}@keyframes callPulse{0%{box-shadow:0 8px 30px #00000073,0 0 #ffffff2e}70%{box-shadow:0 8px 30px #00000073,0 0 0 18px #fff0}to{box-shadow:0 8px 30px #00000073,0 0 #fff0}}.call-caller-name{font-size:32px;font-weight:400;line-height:1.15;text-align:center;padding:0 24px;animation:callContentUp .6s cubic-bezier(.22,1,.36,1) both;animation-delay:.12s}.call-status-line{font-size:18px;font-weight:400;color:#ebebf59e;font-variant-numeric:tabular-nums;min-height:22px}@keyframes callContentUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.call-controls{position:relative;z-index:3;margin-top:auto;display:flex;flex-direction:column;align-items:center;gap:18px;padding:0 36px}.call-hint{text-align:center;color:#ebebf59e;font-size:15px}.call-action-row{display:flex;align-items:center;justify-content:center;gap:90px;min-height:74px}.call-bigbtn{width:74px;height:74px;border:none;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px #00000080;cursor:pointer;transition:transform .1s ease,filter .15s ease}.call-bigbtn:active{transform:scale(.9);filter:brightness(.9)}.call-bigbtn.call-green{background:#34c759}.call-bigbtn.call-red{background:#ff3b30}.call-bigbtn:disabled{cursor:not-allowed;opacity:.5}.call-bigbtn:disabled:active{transform:none;filter:none}.call-fields{margin-top:8px;padding:8px 10px;border:1px dashed var(--green-500);border-radius:8px;background:#fff}.msg-head-timing{gap:4px}.msg-head-num{width:64px}.msg-head-when{width:110px}.msg-head-timing input{border:1px solid var(--border);border-radius:8px;padding:4px 8px;font:inherit;font-size:13px;background:var(--green-050)}.msg-editor-dense{padding:8px 10px;margin:6px 0}.msg-editor-dense .msg-editor-head{gap:8px}.msg-editor-dense .ed-field{margin:6px 0}.flow-edge-call .flow-arrow{color:#6a4cb0}.undo-redo-btn{border:1px solid var(--border);background:#fff;border-radius:6px;padding:5px 10px;font-size:13px;cursor:pointer;color:var(--green-900)}.undo-redo-btn:hover:not(:disabled){background:var(--green-050);border-color:var(--green-500)}.undo-redo-btn:disabled{opacity:.4;cursor:not-allowed}.node-clip-bar{display:flex;gap:6px;margin-bottom:8px}.node-clip-btn{border:1px solid var(--border);background:#fff;border-radius:6px;padding:4px 10px;font-size:12px;cursor:pointer;color:var(--green-900)}.node-clip-btn:hover:not(:disabled){background:var(--green-050);border-color:var(--green-500)}.node-clip-btn:disabled{opacity:.4;cursor:not-allowed}.nav-add-row{display:flex;gap:6px}.msg-drag-handle{cursor:grab;-webkit-user-select:none;user-select:none;color:#9bb0a5;font-size:16px;line-height:1;padding:2px 4px;border-radius:4px}.msg-drag-handle:hover{color:var(--green-700);background:var(--green-050)}.msg-drag-handle:active{cursor:grabbing}.msg-editor.msg-dragging{opacity:.5}.msg-editor.msg-drag-over{border-color:var(--green-500);box-shadow:inset 0 2px 0 var(--green-500)}.msg-text-field{margin:6px 0 2px}.msg-link-row{gap:8px}.ed-field-compact>span{font-size:11px;margin-bottom:2px}.ed-field-compact input{padding:4px 8px}.flow-graph{display:block}.flow-legend{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:10px;font-size:12px;color:#41524a}.flow-legend-item{display:inline-flex;align-items:center;gap:6px}.flow-swatch{width:18px;height:0;border-top-width:2px;border-top-style:solid;display:inline-block}.flow-swatch-goto{border-top-color:var(--green-600)}.flow-swatch-unlock{border-top-style:dashed;border-top-color:#6a4cb0}.flow-pill-demo{font-size:10px;font-weight:700;padding:1px 6px;border-radius:8px;background:var(--green-600);color:#fff}.flow-pill-demo-end{background:var(--green-900)}.flow-canvas{position:relative;background:#fff;border:1px solid var(--border);border-radius:10px;overflow:auto;min-height:200px}.flow-svg{position:absolute;top:0;left:0;pointer-events:none}.flow-link{stroke-width:2}.flow-link-goto{stroke:var(--green-600)}.flow-link-unlock{stroke:#6a4cb0;stroke-dasharray:5 4}.flow-link-missing{stroke:#a03228;stroke-dasharray:3 3}.flow-box{position:absolute;display:flex;flex-direction:column;justify-content:center;gap:3px;text-align:left;border:1px solid var(--border);border-radius:8px;background:var(--green-050);padding:6px 10px;cursor:pointer;z-index:1;overflow:hidden}.flow-box:hover{border-color:var(--green-500);box-shadow:0 2px 8px #2e9e632e}.flow-box-ending{background:var(--green-100)}.flow-box-id{font-weight:700;color:var(--green-900);font-size:13px;display:flex;align-items:center;gap:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.flow-box-meta{font-size:11px;color:#6b7a72;display:flex;align-items:center;gap:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.flow-box-call{color:#6a4cb0;font-weight:700}.menu-prompt-card{display:flex;flex-direction:column;gap:8px;padding:10px 12px;min-width:170px}.menu-prompt-title{font-size:12px;font-weight:700;color:var(--green-900)}.menu-prompt-options{display:flex;flex-wrap:wrap;gap:6px}.menu-prompt-chip{padding:6px 12px;border:1px solid var(--green-600);border-radius:14px;background:#fff;color:var(--green-900);font-size:13px;font-weight:600;cursor:pointer}.menu-prompt-chip:hover{background:var(--green-600);color:var(--text-light)}.menu-fields{display:flex;flex-direction:column;gap:10px}.menu-option{border:1px solid #cfe0d6;border-radius:8px;padding:8px 10px;margin:0;display:flex;flex-direction:column;gap:8px}.menu-option legend{font-size:12px;font-weight:700;color:var(--green-900);padding:0 4px}.menu-reply{border-left:3px solid #e0ece5;padding-left:8px;display:flex;flex-direction:column;gap:6px}.ed-sublabel{font-size:12px;font-weight:600;color:#4a5a52}
