@charset "UTF-8";:root{--bg: #f6f7f5;--surface: #ffffff;--border: #e3e6e1;--text: #1b1f1c;--muted: #69716b;--accent: #128c5e;--accent-ink: #ffffff;--accent-soft: #e3f4ec;--ai-soft: #eef0fb;--warn: #c77700;--warn-soft: #fff3df;--danger: #c0392b;--radius: 10px;--hover: #eef1ed;--avatar: #dde7e1;--font-sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;--text-xs: .75rem;--text-sm: .8125rem;--text-base: .875rem;--text-lg: 1rem;--text-xl: 1.25rem;--weight-regular: 400;--weight-medium: 500;--weight-semibold: 600;--weight-bold: 700;--leading-tight: 1.3;--leading-normal: 1.43;color-scheme:light}*{box-sizing:border-box}html,body{height:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-sans);font-size:var(--text-base);font-weight:var(--weight-regular);line-height:var(--leading-normal);-webkit-font-smoothing:antialiased}a{color:var(--accent)}h1,h2,h3{font-weight:var(--weight-semibold);line-height:var(--leading-tight);margin:0}h1{font-size:var(--text-xl);margin-bottom:.25rem}h2{font-size:var(--text-lg)}h3{font-size:var(--text-base)}b,strong{font-weight:var(--weight-semibold)}code{font-size:.9em;background:var(--bg);padding:0 4px;border-radius:4px}.muted{color:var(--muted)}.small{font-size:var(--text-sm)}.pad{padding:1rem}.pre{white-space:pre-wrap;margin:.5rem 0 0}.center{text-align:center;padding:4rem 1rem}.spacer{flex:1}.error{color:var(--danger)}.ok-text{color:var(--accent)}.warn-text{color:var(--warn);background:var(--warn-soft);padding:.5rem .75rem;border-radius:var(--radius)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem}.stack{display:flex;flex-direction:column;gap:.9rem}.row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}label{display:flex;flex-direction:column;gap:.35rem;font-weight:var(--weight-medium);font-size:var(--text-sm)}label.check{flex-direction:row;align-items:center;font-weight:var(--weight-regular)}input:not([type=checkbox]),textarea{font:inherit;color:inherit;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:.6rem .75rem;width:100%}input:focus,textarea:focus{outline:2px solid var(--accent);outline-offset:-1px}.btn:focus-visible,a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}textarea{resize:vertical}.btn{font:inherit;font-weight:var(--weight-medium);border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:8px;padding:.55rem 1rem;cursor:pointer;white-space:nowrap;text-decoration:none;display:inline-block}.btn:hover:not(:disabled){background:var(--hover)}.btn.primary:hover:not(:disabled){background:#0f7a52}.btn:disabled{opacity:.5;cursor:default}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.btn.danger{color:var(--danger)}.btn.link{border:none;background:none;padding:.25rem .4rem;color:var(--accent)}.btn.link:hover:not(:disabled){background:none;text-decoration:underline}.btn.link.danger{color:var(--danger)}.tag{font-size:var(--text-xs);font-weight:var(--weight-semibold);padding:1px 8px;border-radius:999px;background:var(--accent-soft);color:var(--accent)}.tag.warn{background:var(--warn-soft);color:var(--warn)}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-left:6px}.dot.ok{background:var(--accent);margin:0 4px 0 0}.dot.warn{background:var(--warn)}.brand{display:flex;align-items:center;gap:.5rem;font-size:var(--text-lg);font-weight:var(--weight-bold)}.brand-dot{width:12px;height:12px;border-radius:4px;background:var(--accent)}.auth{min-height:100%;display:grid;place-items:center;padding:1.5rem 16px}.auth-card{width:100%;max-width:420px;display:flex;flex-direction:column;gap:.75rem}.auth-card .brand{margin-bottom:.75rem}.auth-card form{display:flex;flex-direction:column;gap:.9rem;margin-top:.5rem}.auth-card .switch{font-size:var(--text-sm);margin:.25rem 0 0}.code-input{font-size:var(--text-xl);letter-spacing:.4em;text-align:center}.icon{width:18px;height:18px;flex-shrink:0}.shell{display:flex;height:100vh}.sidebar{width:216px;flex-shrink:0;background:var(--bg);border-right:1px solid var(--border);padding:1rem .625rem;display:flex;flex-direction:column;gap:2px}.sidebar .brand{padding:0 .625rem}.company-name{padding:.125rem .625rem 1rem;color:var(--muted);font-size:var(--text-sm)}.sidebar a{display:flex;align-items:center;gap:.625rem;padding:.45rem .625rem;border-radius:6px;color:var(--text);text-decoration:none}.sidebar a .icon{color:var(--muted)}.sidebar a:hover{background:var(--hover)}.sidebar a.active{background:var(--accent-soft);color:var(--accent);font-weight:var(--weight-semibold)}.sidebar a.active .icon{color:var(--accent)}.sidebar a .dot{margin-left:auto}.sidebar-foot{margin-top:auto;padding:.75rem .625rem 0;border-top:1px solid var(--border)}.user-email{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-foot .btn.link{padding:.25rem 0}.content{flex:1;min-width:0;overflow:auto;display:flex;flex-direction:column}.page{max-width:760px;width:100%;padding:2rem 16px;display:flex;flex-direction:column;gap:1.25rem}.page>.muted{margin-top:-.75rem}.entry h3{margin:0}.member{padding:.6rem 0;border-bottom:1px solid var(--border)}.member:last-child{border-bottom:none}.banner{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;background:var(--warn-soft);color:#7a4a00;padding:.5rem 1rem;font-size:var(--text-sm);border-bottom:1px solid #f3dfb8}.banner .icon{color:var(--warn);width:16px;height:16px}.banner a{margin-left:auto;color:#7a4a00;font-weight:var(--weight-semibold)}app-inbox{flex:1;min-height:0;display:flex;flex-direction:column}.inbox{display:flex;flex:1;min-height:0}.conv-list{width:340px;flex-shrink:0;display:flex;flex-direction:column;border-right:1px solid var(--border);background:var(--surface)}.list-head{padding:1rem 1rem .75rem;display:flex;flex-direction:column;gap:.75rem;border-bottom:1px solid var(--border)}.list-title{display:flex;align-items:center;gap:.5rem}.search{flex-direction:row;align-items:center;gap:.5rem;background:var(--bg);border:1px solid transparent;border-radius:6px;padding:0 .625rem;font-weight:var(--weight-regular)}.search:focus-within{background:var(--surface);border-color:var(--accent)}.search .icon{color:var(--muted);width:16px;height:16px}.search input{border:none;background:none;padding:.45rem 0;font-size:var(--text-sm)}.search input:focus{outline:none}.list-body{flex:1;overflow:auto}.conv{display:flex;gap:.75rem;align-items:flex-start;padding:.75rem 1rem;color:var(--text);text-decoration:none;border-bottom:1px solid var(--border);border-left:3px solid transparent}.conv:hover{background:var(--hover)}.conv.active{background:var(--accent-soft);border-left-color:var(--accent)}.conv.urgent:not(.active){border-left-color:var(--warn)}.conv-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.conv-top,.conv-bottom{display:flex;justify-content:space-between;gap:.5rem;align-items:center}.conv-name{font-weight:var(--weight-semibold);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conv-time{color:var(--muted);font-size:var(--text-xs);flex-shrink:0}.preview{color:var(--muted);font-size:var(--text-sm);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.avatar{width:32px;height:32px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:var(--avatar);color:#2f4a3c;font-size:var(--text-xs);font-weight:var(--weight-semibold)}.avatar.warn{background:var(--warn-soft);color:var(--warn)}.avatar.lg{width:36px;height:36px;font-size:var(--text-sm)}.tag.ai{background:var(--ai-soft);color:#4a52a8}.empty{padding:2.5rem 1.5rem;text-align:center;display:flex;flex-direction:column;align-items:center;gap:.25rem}.empty p{margin:0;max-width:32ch}.empty-icon{width:44px;height:44px;color:#b7c0ba;margin-bottom:.5rem}.chat-empty{flex:1;justify-content:center}.chat{flex:1;min-width:0;display:flex;flex-direction:column;background:var(--bg)}.chat-head{display:flex;align-items:center;gap:.75rem;padding:.625rem 1.25rem;border-bottom:1px solid var(--border);background:var(--surface);flex-wrap:wrap}.chat-who{line-height:var(--leading-tight)}.mode-toggle{display:inline-flex;padding:2px;background:var(--bg);border:1px solid var(--border);border-radius:8px}.mode-toggle button{font:inherit;font-size:var(--text-sm);font-weight:var(--weight-medium);border:none;background:none;color:var(--muted);padding:.35rem .75rem;border-radius:6px;cursor:pointer}.mode-toggle button:hover:not(.on){color:var(--text)}.mode-toggle button.on{background:var(--surface);color:var(--text);box-shadow:0 1px 2px #1b1f1c1f}.mode-toggle button.on:first-child{color:#4a52a8}.mode-toggle button.on:last-child{color:var(--accent)}.messages{flex:1;overflow:auto;padding:1.25rem;display:flex;flex-direction:column;gap:.5rem}.bubble{max-width:min(70%,560px);align-self:flex-start;background:var(--surface);border:1px solid var(--border);border-radius:12px 12px 12px 4px;padding:.5rem .75rem}.bubble.out{align-self:flex-end;background:var(--accent-soft);border-color:#cfe9dc;border-radius:12px 12px 4px}.bubble.ai{background:var(--ai-soft);border-color:#dde0f5}.bubble .who{font-size:var(--text-xs);font-weight:var(--weight-semibold);color:var(--accent);margin-bottom:2px}.bubble.ai .who{color:#4a52a8}.bubble .text{white-space:pre-wrap;overflow-wrap:anywhere}.bubble .meta{color:var(--muted);font-size:var(--text-xs);text-align:right;margin-top:2px}.bubble .status:before{content:"\b7";margin:0 .25rem}.chat-error{margin:0;padding:.5rem 1.25rem;font-size:var(--text-sm);background:var(--surface);border-top:1px solid var(--border)}.composer{display:flex;gap:.5rem;align-items:flex-end;padding:.75rem 1.25rem;border-top:1px solid var(--border);background:var(--surface);margin:0}.composer textarea{flex:1;min-height:38px;max-height:160px;field-sizing:content}.composer.closed{align-items:center}.only-mobile{display:none}@media(max-width:760px){.shell{flex-direction:column;height:auto;min-height:100vh}.sidebar{width:100%;flex-direction:row;flex-wrap:wrap;align-items:center;padding:.6rem 16px;border-right:none;border-bottom:1px solid var(--border)}.company-name,.sidebar-foot .muted{display:none}.sidebar-foot{margin:0 0 0 auto;padding:0;border-top:none}.chat-head{padding:.625rem 16px}.messages{padding:1rem 16px}.composer{padding:.75rem 16px}.inbox{height:calc(100vh - 110px)}.conv-list{width:100%;border-right:none}.hide-mobile{display:none}.only-mobile{display:inline-block}.bubble{max-width:88%}}.field{display:flex;flex-direction:column;gap:.35rem}.field-label{display:flex;align-items:center;gap:.375rem}.field-label label{font-weight:var(--weight-medium);font-size:var(--text-sm)}.help-btn{width:18px;height:18px;padding:0;border-radius:50%;display:grid;place-items:center;font:inherit;font-size:var(--text-xs);font-weight:var(--weight-semibold);line-height:1;color:var(--muted);background:var(--surface);border:1px solid var(--border);cursor:pointer}.help-btn:hover{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}.modal{width:min(520px,100vw - 32px);max-height:calc(100vh - 64px);padding:0;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);box-shadow:0 16px 48px #1b1f1c2e}.modal[open]{display:flex;flex-direction:column}.modal:focus,.modal:focus-visible{outline:none}.modal::backdrop{background:#1b1f1c59}.modal-head{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem .5rem}.modal-head h2{flex:1}.modal-close{width:28px;height:28px;border:none;border-radius:6px;background:none;font-size:1.25rem;line-height:1;color:var(--muted);cursor:pointer}.modal-close:hover{background:var(--hover);color:var(--text)}.modal-body{padding:0 1.25rem 1rem;overflow:auto}.modal-body>p{margin:0 0 .75rem}.steps{margin:0;padding:0;list-style:none;counter-reset:step;display:flex;flex-direction:column;gap:.625rem}.steps li{counter-increment:step;display:grid;grid-template-columns:22px 1fr;gap:.625rem}.steps li:before{content:counter(step);width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);font-size:var(--text-xs);font-weight:var(--weight-semibold)}.note{margin:1rem 0 0;padding:.625rem .75rem;border-radius:8px;background:var(--warn-soft);color:#7a4a00;font-size:var(--text-sm)}.modal-foot{display:flex;justify-content:flex-end;gap:.5rem;padding:.75rem 1.25rem;border-top:1px solid var(--border)}
