:root{color:#000000;background:#f1f1f1;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:#f1f1f1}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{border:0}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #000000;outline-offset:2px}.auth-page,.workspace-page{min-height:100vh;background:linear-gradient(180deg,#fbfbfb,#f1f1f1 48%,#e4e4e4);color:#000000}.auth-page{display:flex;align-items:center;justify-content:center;padding:48px}.auth-panel,.status-panel,.workspace-panel{border:1px solid #d0d0d0;border-radius:8px;background:#fdfdfd;box-shadow:0 1px 2px rgb(0 0 0/4%)}.status-panel h1,.workspace-topbar h1{margin:8px 0 0;overflow-wrap:anywhere;color:#000000;font-size:3rem;line-height:1;letter-spacing:0}.eyebrow{color:#000000;font-size:.75rem;font-weight:700;letter-spacing:0;text-transform:uppercase}.auth-panel{width:min(100%,460px);padding:8px}.segmented-control{display:grid;grid-template-columns:1fr 1fr;grid-gap:4px;gap:4px;border:1px solid #d0d0d0;border-radius:8px;background:#e8e8e8;padding:4px}.segment{min-height:42px;border-radius:6px;background:transparent;color:#000000;cursor:pointer;font-weight:700}.segment.active{background:#2f2f2f;color:#ffffff}.auth-form{display:grid;grid-gap:16px;gap:16px;padding:28px}.form-heading h2,.section-header h2{margin:0;overflow-wrap:anywhere;color:#000000;font-size:1.5rem;line-height:1.2;letter-spacing:0}label{display:grid;grid-gap:8px;gap:8px;color:#000000;font-size:.875rem;font-weight:700}input,select,textarea{width:100%;min-height:44px;border:1px solid #cfcfcf;border-radius:6px;background:#f7f7f7;color:#000000;font-weight:400;padding:10px 12px}input:hover,select:hover,textarea:hover{border-color:#b8b8b8;background:#ffffff}textarea{line-height:1.5;resize:vertical}select{cursor:pointer}input::placeholder,textarea::placeholder{color:#6f6f6f;opacity:1}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border-radius:6px;background:#2f2f2f;color:#ffffff;cursor:pointer;font-weight:700;padding:10px 16px}.button-icon{width:16px;height:16px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.button:hover:not(:disabled){background:#1f1f1f}.button:disabled{cursor:not-allowed;opacity:.58}.button-secondary{border:1px solid #c6c6c6;background:#f6f6f6;color:#1f1f1f}.button-secondary:hover:not(:disabled){background:#e9e9e9}.button-ghost{border:1px solid #d2d2d2;background:#ffffff;color:#2f2f2f}.button-ghost:hover:not(:disabled){background:#eeeeee}.button-danger{border:1px solid #9f9f9f;background:#3a3a3a;color:#ffffff}.button-danger:hover:not(:disabled){background:#1f1f1f}.full-width{width:100%}.form-error{margin:0;border:1px solid #a8a8a8;border-radius:6px;background:#e6e6e6;color:#000000;font-size:.875rem;font-weight:600;line-height:1.4;padding:10px 12px}.status-panel{width:min(100%,560px);justify-self:center;padding:40px}.workspace-page{display:grid;grid-template-columns:280px minmax(0,1fr)}.workspace-page.sidebar-collapsed{grid-template-columns:72px minmax(0,1fr)}.workspace-sidebar{position:-webkit-sticky;position:sticky;top:0;display:flex;flex-direction:column;gap:20px;height:100vh;border-right:1px solid #cfcfcf;background:#f5f5f5;padding:16px 12px}.sidebar-header{justify-content:space-between;gap:8px}.sidebar-header,.sidebar-title{display:flex;align-items:center}.sidebar-title{gap:10px;min-width:0}.sidebar-mark,.tab-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:34px;height:34px;border:1px solid #bdbdbd;border-radius:6px;background:#e9e9e9;color:#2f2f2f}.sidebar-toggle-icon,.workspace-icon{width:18px;height:18px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.sidebar-name{overflow:hidden;color:#1f1f1f;font-size:1rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:36px;height:36px;border:1px solid #c6c6c6;border-radius:6px;background:#eeeeee;color:#2f2f2f;cursor:pointer;font-weight:800}.icon-button:hover{background:#dedede}.workspace-tabs{display:grid;grid-gap:8px;gap:8px}.workspace-tab{display:flex;align-items:center;gap:10px;width:100%;min-height:46px;border-radius:6px;background:transparent;color:#1f1f1f;cursor:pointer;padding:6px;text-align:left}.workspace-tab.active,.workspace-tab:hover{background:#e2e2e2}.workspace-tab.active{box-shadow:none}.workspace-tab.active .tab-icon{border-color:#4a4a4a;background:#4a4a4a;color:#ffffff}.tab-label{overflow:hidden;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.sidebar-collapsed .sidebar-name,.sidebar-collapsed .tab-label{display:none}.sidebar-collapsed .sidebar-header{justify-content:center}.sidebar-collapsed .sidebar-title{display:none}.workspace-content{min-width:0;padding:32px}.workspace-topbar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;max-width:1180px;margin:0 auto 24px}.workspace-panel{max-width:1180px;margin:0 auto;padding:24px}.knowledge-note{max-width:760px;margin:0 0 18px;color:#4a4a4a;font-size:.875rem;font-weight:400;line-height:1.5;opacity:.58}.section-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}.inline-notice{background:#e6e6e6;color:#1f1f1f;font-weight:700;padding:6px 10px}.inline-notice,.role-pill{border:1px solid #bdbdbd;border-radius:999px;font-size:.8125rem}.role-pill{background:#e9e9e9;color:#3a3a3a;font-weight:800;padding:7px 10px}.company-form{display:grid;grid-gap:18px;gap:18px;max-width:820px}.company-field{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;grid-gap:12px;gap:12px}.company-field label{min-width:0}.company-field .button{font-size:.875rem;font-weight:500;line-height:1.2;white-space:nowrap}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px}.form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.knowledge-form,.locations-form,.personality-form,.products-form{display:grid;grid-gap:18px;gap:18px;max-width:820px;margin-bottom:24px}.knowledge-field-wide,.knowledge-file-field,.locations-field-wide,.personality-field-wide,.products-field-wide{max-width:720px}.knowledge-file-field input[type=file]{min-height:auto;border:1px dashed #bdbdbd;background:#ffffff;cursor:pointer}.knowledge-file-summary{color:#4f4f4f;font-size:.8125rem;font-weight:500}.product-price-field{max-width:240px}.time-select{width:100%}.time-select__control{min-height:44px;border:1px solid #cfcfcf!important;border-radius:6px!important;background:#f7f7f7!important;box-shadow:none!important;cursor:pointer!important}.time-select__control:hover{border-color:#b8b8b8!important;background:#ffffff!important}.time-select__control--is-focused{outline:2px solid #000000!important;outline-offset:2px!important}.time-select__value-container{padding:0 12px!important}.time-select__single-value{color:#000000!important;font-weight:400!important}.time-select__indicator{color:#4f4f4f!important}.time-select__indicator-separator{background:#d6d6d6!important}.time-select__menu{z-index:5!important;border:1px solid #cfcfcf!important;border-radius:6px!important;background:#ffffff!important;box-shadow:0 6px 18px rgb(0 0 0/10%)!important}.time-select__menu-list{max-height:220px!important;padding:4px!important}.time-select__option{border-radius:4px!important;color:#1f1f1f!important;cursor:pointer!important;font-size:.875rem!important;font-weight:400!important}.time-select__option--is-focused{background:#eeeeee!important}.time-select__option--is-selected{background:#3a3a3a!important;color:#ffffff!important}.schedule-editor{display:grid;grid-gap:12px;gap:12px;max-width:860px}.schedule-editor-header{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#000000;font-size:.875rem;font-weight:700}.schedule-presets{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.schedule-presets .button{min-height:34px;font-size:.8125rem;font-weight:500;padding:7px 10px}.schedule-days{display:grid;border:1px solid #d6d6d6;border-radius:8px;background:#f6f6f6;overflow:visible}.schedule-day-row{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(70px,.35fr) minmax(280px,1.6fr);align-items:center;grid-gap:12px;gap:12px;min-height:58px;border-bottom:1px solid #dedede;padding:10px 12px}.schedule-day-row:last-child{border-bottom:0}.schedule-day-row.closed{background:#eeeeee}.schedule-24h-toggle,.schedule-toggle{display:flex;align-items:center;gap:8px;color:#1f1f1f;font-size:.875rem;font-weight:600}.schedule-24h-toggle input,.schedule-toggle input{width:16px;height:16px;min-height:16px;flex:0 0 auto;accent-color:#2f2f2f;padding:0}.schedule-24h-toggle:has(input:disabled){color:#777777}.schedule-time-controls{display:grid;grid-template-columns:repeat(2,minmax(0,150px));grid-gap:8px;gap:8px}.schedule-status{color:#5f5f5f;font-size:.875rem;font-weight:400}.personality-scale-grid{display:grid;grid-gap:16px;gap:16px;max-width:760px}.personality-scale{display:grid;grid-gap:10px;gap:10px}.personality-range-row,.personality-scale-header{display:grid;align-items:center;grid-gap:12px;gap:12px}.personality-scale-header{grid-template-columns:minmax(0,1fr) auto;color:#111111;font-size:.875rem;font-weight:700}.personality-scale-header span:first-child{justify-self:start;border-radius:999px;background:#000000;color:#ffffff;line-height:1;padding:8px 12px}.personality-range-row{grid-template-columns:72px minmax(180px,1fr) 82px;color:#4f4f4f;font-size:.8125rem;font-weight:600}.personality-range-row span:last-child{text-align:right}.personality-range-row input[type=range]{width:100%;min-height:28px;border:0;background:transparent;accent-color:#2f2f2f;cursor:pointer;padding:0}.knowledge-list,.locations-list,.products-list{display:grid;grid-gap:10px;gap:10px;max-width:820px}.knowledge-card,.location-card,.product-card{display:grid;grid-gap:10px;gap:10px;border:1px solid #d6d6d6;border-radius:8px;background:#f4f4f4;padding:14px}.location-card-header,.product-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.knowledge-card-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:flex-start;grid-gap:16px;gap:16px}.knowledge-card-title-block{display:grid;grid-gap:4px;gap:4px;min-width:0}.knowledge-card-title-block h3,.knowledge-card-title-block p{display:-webkit-box;overflow:hidden;overflow-wrap:break-word;word-break:normal;-webkit-box-orient:vertical}.knowledge-card-title-block h3{-webkit-line-clamp:2}.knowledge-card-title-block p{-webkit-line-clamp:1}.knowledge-card-actions,.location-actions,.product-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.knowledge-card-actions{justify-content:flex-end;max-width:180px}.knowledge-card-actions .button,.location-actions .button,.product-actions .button{min-height:36px;font-size:.8125rem;font-weight:500;line-height:1.2;padding:8px 10px}.knowledge-delete-button{flex:0 0 auto}.location-edit-form,.product-edit-form{display:grid;grid-gap:14px;gap:14px}.knowledge-card h3,.knowledge-card p,.location-card h3,.location-card p,.muted-text,.product-card h3,.product-card p{margin:0}.knowledge-card h3,.location-card h3,.product-card h3{color:#111111;font-size:.95rem;font-weight:700;line-height:1.3}.knowledge-card p,.location-card p,.product-card p{color:#4f4f4f;font-size:.8125rem;font-weight:400;line-height:1.5}.product-card .product-price{color:#111111;font-size:.95rem;font-weight:700;margin-top:4px}.knowledge-status{flex:0 0 auto;border:1px solid #bdbdbd;border-radius:999px;background:#ffffff;color:#2f2f2f;font-size:.75rem;font-weight:800;line-height:1;padding:7px 9px}.knowledge-card-ready .knowledge-status{border-color:#2f2f2f;background:#2f2f2f;color:#ffffff}.knowledge-card-failed .knowledge-status{border-color:#7a7a7a;background:#e2e2e2;color:#111111}.knowledge-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.knowledge-meta span{border:1px solid #d6d6d6;border-radius:999px;background:#ffffff;color:#3a3a3a;font-size:.75rem;font-weight:500;line-height:1.2;padding:5px 8px}.knowledge-error{border:1px solid #c8c8c8;border-radius:6px;background:#eeeeee;padding:8px 10px}.integrations-panel{display:grid;grid-gap:18px;gap:18px}.integration-provider-tabs{grid-template-columns:repeat(3,minmax(0,1fr));max-width:560px}.integration-form,.integration-section,.integration-tab-panel{display:grid;grid-gap:16px;gap:16px}.integration-tab-panel{gap:18px}.integration-section{border-top:1px solid #dedede;padding-top:18px}.integration-section:first-of-type{border-top:0;padding-top:0}.integration-form h3,.integration-result h3,.integration-section h3{margin:0;color:#111111;font-size:1rem;line-height:1.25}.integration-section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.integration-section-header p{max-width:680px;margin:4px 0 0;color:#4f4f4f;font-size:.8125rem;line-height:1.45}.integration-form{max-width:900px}.integration-compact-form{align-content:start;max-width:none}.integration-two-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px}.integration-capability-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px;max-width:900px}.integration-checkbox{display:flex;align-items:center;gap:10px;min-width:0;border:1px solid #d6d6d6;border-radius:6px;background:#f6f6f6;padding:10px}.integration-checkbox input{width:16px;height:16px;min-height:16px;flex:0 0 auto;accent-color:#2f2f2f;padding:0}.integration-checkbox span{display:grid;grid-gap:2px;gap:2px;min-width:0;color:#1f1f1f;font-size:.875rem;font-weight:700}.integration-checkbox small{color:#6a6a6a;font-size:.75rem;font-weight:500}.integration-select-row{display:grid;grid-gap:8px;gap:8px;max-width:620px}.integration-card{display:grid;grid-gap:12px;gap:12px;max-width:900px;border:1px solid #d6d6d6;border-radius:8px;background:#f4f4f4;padding:14px}.integration-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.integration-card-header h3,.integration-card-header p{margin:0}.integration-card-header p{overflow-wrap:anywhere;color:#5f5f5f;font-size:.8125rem}.integration-meta,.integration-template-list{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.integration-meta span,.integration-template-list span{border:1px solid #d6d6d6;border-radius:999px;background:#ffffff;color:#3a3a3a;font-size:.75rem;font-weight:600;line-height:1.2;padding:6px 8px}.integration-identity-list{display:grid;grid-gap:8px;gap:8px}.integration-identity,.integration-selected-identity{display:grid;grid-template-columns:auto minmax(0,1fr);grid-gap:6px 10px;gap:6px 10px;align-items:center;border:1px solid #dedede;border-radius:6px;background:#ffffff;color:#1f1f1f;font-size:.8125rem;padding:10px}.integration-selected-identity{grid-template-columns:auto minmax(0,1fr) auto;max-width:900px}.integration-identity code,.integration-selected-identity code{grid-column:1/-1;overflow-wrap:anywhere;border-radius:4px;background:#eeeeee;color:#2f2f2f;font-size:.75rem;padding:5px 6px}.integration-copy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}.integration-result{display:grid;grid-gap:8px;gap:8px;max-width:900px;border-top:1px solid #dedede;padding-top:18px}.integration-result pre{max-height:420px;overflow:auto;border:1px solid #d6d6d6;border-radius:8px;background:#111111;color:#f8f8f8;font-size:.8125rem;line-height:1.45;margin:0;padding:14px}.integration-notice{justify-self:start}.location-schedule-summary{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:6px}.location-schedule-summary span{border:1px solid #d6d6d6;border-radius:999px;background:#ffffff;color:#3a3a3a;font-size:.75rem;font-weight:500;line-height:1.2;padding:5px 8px}.muted-text{color:#6a6a6a;font-size:.875rem;font-weight:400}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;-webkit-clip-path:inset(50%);clip-path:inset(50%)}.chat-launcher,.chat-window{position:fixed;right:24px;bottom:24px;z-index:20}.chat-launcher{display:inline-flex;align-items:center;gap:10px;min-height:54px;border:1px solid #1f1f1f;border-radius:999px;background:#2f2f2f;color:#ffffff;cursor:pointer;font-weight:800;padding:8px 8px 8px 18px;box-shadow:0 10px 28px rgb(0 0 0/18%)}.chat-launcher:hover{background:#1f1f1f}.chat-launcher-label{max-width:120px;overflow-wrap:anywhere;font-size:.875rem;line-height:1.15;text-align:left}.chat-launcher-mark{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:999px;background:#ffffff;color:#1f1f1f}.chat-launcher-icon{width:20px;height:20px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.chat-window{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;width:min(420px,calc(100vw - 32px));height:min(620px,calc(100vh - 48px));border:1px solid #c9c9c9;border-radius:8px;background:#fdfdfd;box-shadow:0 16px 42px rgb(0 0 0/18%);overflow:hidden}.chat-window-header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #dedede;background:#f3f3f3;padding:14px}.chat-window-header h2{margin:2px 0 0;color:#111111;font-size:1rem;line-height:1.2}.chat-messages{display:flex;flex-direction:column;gap:10px;min-height:0;overflow-y:auto;padding:14px}.chat-message{width:-moz-fit-content;width:fit-content;max-width:86%;overflow-wrap:anywhere;border:1px solid #d6d6d6;border-radius:8px;color:#1f1f1f;font-size:.875rem;line-height:1.45;padding:10px 12px;white-space:pre-wrap}.chat-message-assistant{align-self:flex-start;background:#f1f1f1}.chat-message-user{align-self:flex-end;border-color:#2f2f2f;background:#2f2f2f;color:#ffffff}.chat-error{margin:0 14px 10px;border:1px solid #b8b8b8;border-radius:6px;background:#eeeeee;color:#1f1f1f;font-size:.8125rem;font-weight:600;line-height:1.35;padding:8px 10px}.chat-input-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;grid-gap:8px;gap:8px;border-top:1px solid #dedede;background:#f8f8f8;padding:12px}.chat-input-row input{min-height:42px}.chat-send-button{width:44px;min-height:42px;padding:0}@media (max-width:900px){.auth-page{padding:24px}.workspace-page,.workspace-page.sidebar-collapsed{grid-template-columns:1fr}.workspace-sidebar{position:-webkit-sticky;position:sticky;z-index:2;height:auto;border-right:0;border-bottom:1px solid #d4d4d4}.sidebar-collapsed .sidebar-header{justify-content:space-between}.sidebar-collapsed .sidebar-title{display:flex}.workspace-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.workspace-tab{flex:0 0 auto;width:auto;min-width:64px;max-width:220px}.workspace-content{padding:24px}.workspace-topbar{align-items:stretch;flex-direction:column}.company-field,.form-row,.integration-capability-grid,.integration-copy-grid,.integration-two-column,.personality-range-row,.schedule-day-row,.schedule-time-controls{grid-template-columns:1fr}.personality-range-row span:last-child{text-align:left}.schedule-editor-header{align-items:flex-start;flex-direction:column}.integration-card-header,.integration-section-header,.location-card-header,.product-card-header{align-items:stretch;flex-direction:column}.integration-provider-tabs{max-width:none}.integration-selected-identity,.knowledge-card-header{grid-template-columns:1fr}.knowledge-card-actions{justify-content:flex-start;max-width:none}.chat-launcher,.chat-window{right:16px;bottom:16px}}@media (max-width:560px){.auth-page{align-items:start}.auth-page,.workspace-content{padding:16px}.auth-form{padding:20px}.auth-panel,.status-panel,.workspace-panel{border-radius:6px}.status-panel h1,.workspace-topbar h1{font-size:2.25rem}.workspace-panel{padding:16px}.section-header{align-items:flex-start;flex-direction:column}.company-field .button,.form-actions .button,.workspace-topbar .button{width:100%}.form-actions{align-items:stretch;flex-direction:column}.chat-window{width:calc(100vw - 24px);height:min(560px,calc(100vh - 24px));right:12px;bottom:12px}.chat-launcher{right:12px;bottom:12px;max-width:calc(100vw - 24px)}.chat-launcher-label{max-width:92px}}@media (max-width:380px){.auth-page,.workspace-content{padding:12px}.auth-form{padding:16px}.status-panel h1,.workspace-topbar h1{font-size:2rem}}