.bot-portrait{display:block;width:100%;height:100%;color:#3578d4;flex-shrink:0}.color-blue{color:#3578d4}.color-green{color:#27966a}.color-amber{color:#b88021}.color-rose{color:#c85e80}.color-cyan{color:#198aa2}.color-violet{color:#8062bd}.color-graphite{color:#596573}.color-teal{color:#268980}
.bot-portrait .robot-image{width:100%;height:100%;object-fit:contain}
.bot-portrait .robot-shell{animation:robot-alive var(--robot-idle-duration,7s) ease-in-out infinite;animation-delay:var(--robot-idle-delay,0s);transform-origin:50% 80%}
.portrait-orbit{--robot-idle-duration:7.6s;--robot-idle-delay:-2s}.portrait-cube{--robot-idle-duration:8s;--robot-idle-delay:-4s}.portrait-visor{--robot-idle-duration:6.8s;--robot-idle-delay:-1s}.portrait-antenna{--robot-idle-duration:7.4s;--robot-idle-delay:-3s}.portrait-helper{--robot-idle-duration:8.2s;--robot-idle-delay:-5s}.portrait-pixel{--robot-idle-duration:8.6s;--robot-idle-delay:-2s}.portrait-scout{--robot-idle-duration:7.2s;--robot-idle-delay:-4s}.portrait-pilot{--robot-idle-duration:7.8s;--robot-idle-delay:-1s}.portrait-round{--robot-idle-duration:8.4s;--robot-idle-delay:-3s}
.bot-portrait:not(.color-blue) .robot-eye{background:currentColor;border-color:#dfffff;box-shadow:0 0 7px currentColor,inset 0 0 4px #ffffff80}
.bot-portrait:not(.color-blue) .robot-mouth{border-color:currentColor;filter:drop-shadow(0 0 3px currentColor)}
.app[data-robot-state="replying"] .bot-portrait:not(.color-blue) .robot-mouth{background:currentColor;border-color:#dfffff}
.portrait-orbit .robot-eye{width:14%;height:14%;top:42%}
.portrait-cube .robot-eye{border-radius:25%;height:15%;top:42%}
.portrait-visor .robot-eye{width:16%;height:9%;top:45%;border-radius:30%}
.portrait-antenna .robot-eye{height:18%;width:10%;top:43%}
.portrait-helper .robot-mouth{width:20%;left:40%;height:6%}
.portrait-pixel .robot-eye{border-radius:10%;height:13%;top:42%}
.portrait-scout .robot-eye{height:12%;top:43%;border-radius:50% 50% 25% 25%}
.portrait-pilot .robot-mouth{width:10%;left:45%;border-radius:0}
.portrait-round .robot-eye{width:15%;height:17%;top:44%}.portrait-round .robot-mouth{height:6%;top:63%}
.bot-avatar-preview .robot-image,.bot-avatar-choice .robot-image,.bot-avatar .robot-image{pointer-events:none}
.bot-avatar{background:transparent}
.bot-avatar>.bot-portrait{width:100%;height:100%}.selected-bot-portrait{display:grid;place-items:center;width:100%;height:100%}.selected-bot-portrait>.bot-portrait{width:100%;height:100%}.bot-avatar-preview{width:80px;height:80px;margin:20px auto}.bot-avatar-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:20px 4px}.bot-avatar-choice{width:48px;height:48px;justify-self:center}.bot-avatar-choice .bot-portrait{width:100%;height:100%}.bot-color-options{display:flex;gap:14px;flex-wrap:wrap;margin:18px 4px}.bot-color-choice{width:26px;height:26px;border:4px solid #fff;border-radius:50%;outline:1px solid #dfe3e9;background:currentColor;padding:0}.bot-color-choice[aria-pressed=true]{outline:2px solid currentColor;outline-offset:2px}.channel-brand>svg,.channel-brand>img{width:26px;height:26px;object-fit:contain}
.bot-color{width:26px;height:26px;display:grid;place-items:center;border:4px solid #fff;border-radius:50%;outline:1px solid #dfe3e9;background:currentColor;padding:0}.bot-color[aria-pressed=true]{outline:2px solid currentColor;outline-offset:2px}.bot-color svg{width:14px;height:14px;stroke:#fff}
.bot-color:hover{background:currentColor}
.job-dialog .job-type-options label,.job-dialog .job-check,.job-dialog .job-weekdays label,.job-dialog .job-effective-range label,.job-dialog .job-time-label>label{margin:0}.job-dialog .job-check,.job-dialog .job-weekdays label{display:flex}.job-dialog .job-check input,.job-dialog .job-weekdays input{padding:0;border:0;background:transparent}.job-dialog .job-script .job-check{margin-top:14px}
.settings-tab-active{font-size:14px;padding-bottom:12px;border-bottom:2px solid #165dff;color:#165dff}.settings-tab-active small{color:#8b929e;font-size:12px}.skill-toolbar{display:flex;align-items:center;gap:10px;justify-content:flex-end;margin:20px 0 14px;flex-wrap:wrap}.skill-toolbar .settings-search{margin:0;width:220px}.skill-toolbar select,.job-filters select,.template-toolbar select{border:1px solid #e1e4e9;border-radius:8px;background:#fff;padding:10px 12px;font-size:13px;min-height:40px;max-width:100%}.skill-source{font-size:12px;color:#697484;padding:10px}.skill-table-wrap{border:1px solid #e4e6eb;border-radius:8px;overflow:auto}.skill-table{border-collapse:collapse;width:100%;min-width:820px;font-size:13px;table-layout:fixed}.skill-table th{background:#f8f8f9;color:#89919e;font-size:12px;font-weight:500;text-align:left;padding:12px 14px}.skill-table td{border-top:1px solid #eceef1;padding:16px 14px;vertical-align:middle}.skill-table th:first-child{width:36%}.skill-table th:nth-child(2){width:14%}.skill-table th:nth-child(3){width:16%}.skill-table th:last-child{width:65px}.skill-name{display:block;padding:0;text-align:left;font-size:13px;font-weight:600;overflow-wrap:anywhere}.skill-table td>small{display:block;color:#8b929e;font-size:11px;margin-top:6px;overflow-wrap:anywhere}.skill-table input[role=switch]{accent-color:#178b65;width:30px;height:17px;cursor:pointer}.skill-empty{text-align:center;color:#89919e}.settings-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:22px 0;font-size:12px;color:#818a98}.settings-pagination button:disabled{opacity:.4;cursor:default}.skill-detail{padding:20px 0;border-bottom:1px solid #e5e7eb;font-size:13px}.skill-detail h2{font-size:15px}.skill-detail p{color:#697484;line-height:1.8}
.settings-segmented{display:inline-flex;align-items:center;background:#f5f5f5;padding:3px;border-radius:20px;gap:2px;max-width:100%}.settings-segmented button{display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 12px;min-height:32px;border-radius:18px;font-size:13px;color:#7a7e86;white-space:nowrap}.settings-segmented button[aria-selected=true],.settings-segmented button[aria-pressed=true]{background:#fff;color:#22262d;box-shadow:0 1px 3px #00000015}.settings-segmented svg{width:15px;height:15px}.job-view-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:22px 0}.job-filters{display:flex;gap:10px;align-items:center;margin:20px 0}.job-filters .settings-search{margin:0;flex:1;max-width:none}.job-filters>.icon-btn{flex-shrink:0}.job-line{display:flex;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid #eceef1;min-width:0}.job-title{flex:1;text-align:left;min-width:0;padding:0}.job-title strong{font-size:14px;font-weight:500;display:block;overflow-wrap:anywhere}.job-title small{display:block;color:#89919e;font-size:12px;margin-top:7px}.job-actions{display:flex;gap:4px;flex-shrink:0}.job-actions .icon-btn{width:30px;height:32px;color:#6e7887}.job-actions svg{width:16px;height:16px}.job-run{border-bottom:1px solid #e6e8ed;padding:16px 0}.job-run summary{display:flex;align-items:center;gap:14px;cursor:pointer;font-size:13px}.job-run summary>span:first-child{flex:1;overflow-wrap:anywhere}.job-run time{font-size:12px;color:#89919e}.job-run pre,#job-test-result{white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f8fa;padding:14px;font:12px/1.8 Consolas,monospace;border:1px solid #e8eaee;border-radius:6px;max-height:320px;overflow:auto}.job-run p{font-size:12px;color:#6e7887}.job-calendar{border:1px solid #e4e7ec;border-radius:8px;padding:16px}.job-calendar-heading{display:flex;gap:12px;align-items:center;margin-bottom:18px;font-size:14px}.job-calendar-heading strong{margin-right:auto}.job-calendar-heading>span{font-size:11px;color:#8b929e}.job-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.job-calendar-grid>button{height:58px;border:1px solid #f0f1f4;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:13px}.job-calendar-grid>button[aria-pressed=true]{border-color:#6790e3;background:#f0f5ff}.job-calendar-grid small{font-size:10px;color:#278961}.job-weekday{text-align:center;font-size:12px;color:#89919e;padding:8px 0}.job-day-title{font-size:14px;font-weight:500;margin-top:24px}
.job-dialog{padding:0;width:760px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);border:1px solid #e3e5e9;border-radius:12px;color:#24262b}.job-dialog[open]{display:flex;flex-direction:column}.job-dialog::backdrop,.task-template-dialog::backdrop{background:#1a223c66}.job-dialog form{display:flex;flex-direction:column;min-height:0;max-height:calc(100dvh - 42px)}.job-dialog .dialog-header,.task-template-dialog .dialog-header{display:flex;align-items:center;gap:16px;padding:22px 20px 18px;flex-shrink:0;margin:0}.job-dialog .dialog-header h2,.task-template-dialog h2{font-size:18px;margin:0;font-weight:650}.job-dialog .dialog-header>.icon-btn,.task-template-dialog .dialog-header>.icon-btn{margin-left:auto;flex-shrink:0;color:#89919e}.task-template-link{font-size:12px;display:inline-flex;align-items:center;gap:4px;color:#53668d;padding:4px 0}.task-template-link svg{width:13px;height:13px}.job-form-scroll{overflow:auto;min-height:0;padding:8px 20px 20px;scrollbar-width:thin;font-size:13px}.job-form-scroll>label,.job-description>label,.job-skill-picker>label{display:block;margin:18px 0 8px}.job-form-scroll input:not([type=checkbox]):not([type=radio]),.job-form-scroll textarea,.job-form-scroll select{border:1px solid #dfe2e7;border-radius:8px;background:#fff;padding:11px 12px;font-size:13px;color:#333843;min-width:0;max-width:100%}.job-form-scroll>input,.job-description textarea,.job-script textarea{width:100%}.job-form-scroll textarea{display:block;resize:vertical;line-height:1.8;min-height:90px}.job-form-scroll textarea[name=script]{font-family:Consolas,monospace;min-height:180px}.job-form-scroll fieldset{border:0;padding:0;margin:0}.job-form-scroll legend{font-size:13px;margin-bottom:10px;padding:0}.job-type-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.job-type-options label{position:relative;cursor:pointer}.job-type-options input{position:absolute;opacity:0;width:1px;height:1px}.job-type-options label>span{display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-height:64px;padding:11px;border:1px solid #dfe2e7;border-radius:8px}.job-type-options strong{font-size:13px;font-weight:600}.job-type-options small{font-size:10px;color:#8677ad;background:#f4f1fa;border-radius:5px;padding:3px 5px;margin-left:auto}.job-type-options em{width:100%;font-size:11px;color:#8b9099;font-style:normal;line-height:1.5}.job-type-options input:checked+span{border-color:#8c79e3;background:#f7f4ff}.job-type-options input:focus-visible+span{outline:2px solid #5688e7;outline-offset:2px}.job-time-label{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 0 12px}.job-time-label select{padding:4px!important;border:0!important;font-size:12px!important;color:#758092!important}.job-schedule-mode{margin-bottom:10px}.job-time-row{display:flex;align-items:center;gap:8px;margin:8px 0}.job-time-row input{width:150px}.job-time-row button svg{width:14px;height:14px}.plain-button{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#53668d;padding:8px 0}.plain-button svg{width:14px;height:14px}.job-weekdays{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.job-weekdays label,.job-check{display:flex;align-items:center;gap:6px;font-size:13px}.job-check input,.job-weekdays input{accent-color:#2d6ce4;width:15px;height:15px;flex-shrink:0;margin:0}.job-interval{display:flex;align-items:center;gap:10px}.job-interval input{width:100px}.job-form-scroll .job-notifications{margin:28px 0}.job-notifications legend small,.job-skill-picker>label small{font-size:12px;color:#9298a2;font-weight:400;margin-left:16px}.job-notifications .job-check{display:inline-flex;margin-right:20px}.job-script .job-check{margin-top:14px;font-size:12px;line-height:1.6}.job-skill-picker details{border:1px solid #e1e4e9;border-radius:8px}.job-skill-picker summary{padding:14px;display:flex;align-items:center;gap:8px;cursor:pointer;color:#7d8694}.job-skill-picker summary>svg{margin-left:auto;width:15px;height:15px}.job-skill-picker details>div{padding:4px 14px 14px;max-height:230px;overflow:auto}.job-skill-picker .job-check{padding:8px 0;flex-wrap:wrap;line-height:1.6}.job-skill-picker .job-check small{font-size:11px;color:#969da8}.job-advanced{margin-top:18px}.job-advanced>summary{cursor:pointer;display:flex;align-items:center;gap:6px;padding:8px 0}.job-advanced>summary svg{width:14px;height:14px}.job-advanced>label{display:block;margin:16px 0 8px}.job-advanced>select{width:100%}.job-effective-range{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.job-effective-range label{display:grid;gap:8px}.job-effective-range input{width:100%}.job-form-footer{display:flex;gap:8px;justify-content:flex-end;padding:16px 20px 20px;background:#fff;border-top:1px solid #f0f1f4;flex-shrink:0}.job-form-footer button{border-radius:18px;min-height:36px}.job-form-scroll .form-error:empty{display:none}.job-dialog [hidden]{display:none!important}
.task-template-dialog{padding:0;width:860px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);border:1px solid #e3e5e9;border-radius:12px;color:#24262b}.task-template-dialog[open]{display:flex;flex-direction:column}.template-toolbar{display:flex;align-items:center;gap:10px;padding:4px 20px 16px;flex-shrink:0;flex-wrap:wrap}.template-toolbar .settings-search{margin:0;flex:1;min-width:160px;max-width:300px}.template-toolbar .settings-pagination{margin:0 0 0 auto;gap:8px}.template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 20px 20px;overflow:auto;min-height:0}.template-item{display:flex;align-items:flex-start;gap:12px;text-align:left;border:1px solid #e4e7ec;border-radius:8px;padding:16px;min-height:132px;background:#fff;min-width:0}.template-item:hover{background:#fafbfc;border-color:#bac8de}.template-icon{width:34px;height:34px;display:grid;place-items:center;background:#f3eff9;color:#7964a4;border-radius:50%;flex-shrink:0}.template-icon svg{width:18px;height:18px}.template-0{background:#f9f1ed;color:#ab7256}.template-1{background:#f8f3e7;color:#a98633}.template-2{background:#edf4f9;color:#5c83a3}.template-3{background:#edf7f0;color:#4b9469}.template-item>span:nth-child(2){flex:1;min-width:0}.template-item strong{font-size:14px;font-weight:500;display:block;overflow-wrap:anywhere}.template-item small{display:block;font-size:12px;line-height:1.6;margin-top:7px;color:#8a9098}.template-item time{display:flex;align-items:center;gap:5px;font-size:11px;color:#8a9098;margin-top:20px}.template-item time svg,.template-item>svg{width:14px;height:14px;flex-shrink:0;color:#89919e}.template-item>svg{margin-top:3px}
@media(max-width:700px){.job-view-toolbar{gap:10px}.job-filters{flex-wrap:wrap}.job-filters .settings-search{min-width:140px}.job-line{gap:8px;flex-wrap:wrap}.job-line>.job-title{min-width:100px}.job-actions{margin-left:auto}.job-calendar{padding:8px}.job-calendar-grid{gap:2px}.job-calendar-grid>button{height:42px}.job-calendar-heading{gap:6px;flex-wrap:wrap}.job-run summary{flex-wrap:wrap}.job-run time{font-size:11px}.template-item{padding:12px;gap:8px}.template-grid{gap:10px}.job-dialog .dialog-header h2,.task-template-dialog h2{font-size:17px}.job-effective-range{grid-template-columns:1fr}.skill-toolbar{justify-content:flex-start}.skill-toolbar .settings-search{width:100%}}
@media(max-width:540px){.job-dialog,.task-template-dialog{max-width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:10px}.job-dialog form{max-height:calc(100dvh - 26px)}.job-dialog .dialog-header,.task-template-dialog .dialog-header{padding:18px 14px 14px;gap:10px}.job-form-scroll{padding:8px 14px 18px}.job-form-footer{padding:14px}.job-form-scroll input:not([type=checkbox]):not([type=radio]),.job-form-scroll textarea,.job-form-scroll select{font-size:16px}.job-type-options{grid-template-columns:1fr}.job-type-options label>span{min-height:54px;padding:9px 12px}.job-type-options em{width:auto;margin-left:6px}.job-type-options small{order:3}.job-type-options strong{font-size:13px}.job-form-footer button{font-size:12px;padding:8px 11px}.template-toolbar{padding:4px 14px 14px}.template-grid{grid-template-columns:1fr;padding:0 14px 14px}.template-item{min-height:122px}.job-view-toolbar .settings-segmented{flex-wrap:wrap;gap:0}.settings-segmented button{font-size:11px;padding:7px 8px}.job-filters select{font-size:12px;padding:9px 6px}.job-filters>.settings-search{width:100%;flex-basis:100%}.job-title strong{font-size:13px}.job-title small{font-size:11px}.job-line>.settings-tool-icon{display:none}.job-line>.settings-badge{font-size:10px}.job-calendar-heading>span{display:none}.job-calendar-heading strong{width:100%}.job-calendar-grid>button{height:32px;font-size:11px}.job-weekday{font-size:10px}.job-calendar-grid small{display:none}.bot-avatar-options{gap:12px 7px}.bot-avatar-choice{width:42px;height:42px}.bot-color-options{gap:12px}.skill-toolbar select{font-size:12px}.template-toolbar input{font-size:16px}}
