/* Actureva 3.0.9: shared neutral theme; numerical values, geometry and interactions unchanged. */
/* Job-first navigation and a quiet, high-contrast conversational workspace. */
.assistant-drawer{width:min(570px,calc(100vw - 24px))!important;max-width:none!important;border-radius:22px!important;overflow:hidden}.assistant-drawer iframe{width:100%;border:0}.assistant-shell{display:flex;flex-direction:column;height:calc(100dvh - 160px);min-height:520px;max-width:900px;margin:0 auto;background:#fff;border:1px solid #e5e5e5;border-radius:24px;overflow:hidden;color:#171717}.assistant-embedded .assistant-shell{height:100dvh;min-height:0;border:0;border-radius:0;max-width:none}.assistant-embedded .workspace-content{padding:0!important}.assistant-head{display:flex;align-items:center;gap:13px;padding:20px 22px;border-bottom:1px solid #ececec;flex:none}.assistant-mark,.assistant-welcome-mark{display:inline-flex;align-items:center;justify-content:center;background:#050505;border-radius:12px;overflow:hidden;width:42px;height:42px;flex:none}.assistant-mark img,.assistant-welcome-mark img{width:100%;height:100%;object-fit:contain}.assistant-head strong{font-size:18px;letter-spacing:-.4px}.assistant-head small{display:block;color:#555;font-size:13px;margin-top:3px}.assistant-head-actions{margin-left:auto;display:flex;align-items:center;gap:8px}.assistant-head-actions form{margin:0}.assistant-icon,.chat-options>summary{width:34px;height:34px;display:grid;place-items:center;border:0;background:none;cursor:pointer;border-radius:10px;color:#222}.assistant-icon:hover,.chat-options>summary:hover{background:#f1f1ef}.assistant-icon svg{width:20px;height:20px}.chat-options{position:relative}.chat-options>div{position:absolute;right:0;top:40px;width:245px;background:#fff;padding:16px;border:1px solid #dedede;border-radius:16px;box-shadow:0 12px 35px #0002;z-index:40;display:grid;gap:14px}.chat-options a{font-size:13px;color:#202020}.chat-options summary::marker{display:none}.assistant-toolbar{display:flex;gap:10px;padding:12px 20px;border-bottom:1px solid #efefef;flex:none;position:relative;background:#fff;z-index:20}.assistant-toolbar summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;font-size:12px;color:#333;border-radius:20px;background:#f3f3f1;padding:8px 12px}.assistant-toolbar summary::-webkit-details-marker{display:none}.assistant-toolbar svg{width:15px;height:15px}.chat-history-panel,.chat-context-picker>form{position:absolute;top:100%;left:12px;right:12px;max-height:65dvh;overflow:auto;background:#fff;border:1px solid #dedede;box-shadow:0 18px 50px #0002;border-radius:16px;padding:20px;z-index:50}.chat-history-panel h2{font-size:20px;margin:0 0 16px}.history-entry{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 10px;border-radius:10px;font-size:14px;color:#222}.history-entry span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-entry small{flex:none;color:#555}.history-entry:hover,.history-entry.current{background:#f2f2ef}.history-trash-entry{display:flex;justify-content:space-between;gap:15px;margin:12px 0;font-size:13px}.chat-context-picker>form{display:grid;gap:12px}.assistant-connection-note{padding:10px 20px;display:flex;justify-content:space-between;gap:12px;font-size:12px;background:#faf8ef;color:#524a2b;flex:none}.assistant-shell .chat-messages{flex:1;min-height:100px;height:auto;max-height:none;overflow:auto;padding:24px 20px;background:white;scroll-behavior:smooth}.assistant-shell .chat-message{max-width:94%;border:0;padding:16px 18px;margin:0 0 20px;border-radius:19px;box-shadow:none;overflow-wrap:anywhere;font-size:14px;line-height:1.6}.assistant-shell .chat-message.assistant{background:#f3f3f1;margin-right:auto;color:#171717}.assistant-shell .chat-message.user{background:#111;color:white;margin-left:auto;border-bottom-right-radius:5px}.assistant-shell .chat-message>small{font-size:10px;letter-spacing:.02em;color:#555;display:block;margin-bottom:8px}.assistant-shell .chat-message.user>small{color:#d3d3d3}.assistant-shell .chat-message.user .chat-text,.assistant-shell .chat-message.user p{color:inherit}.assistant-shell .chat-text{font-size:14px;line-height:1.65}.assistant-shell .chat-text p:first-child{margin-top:0}.assistant-shell .chat-text p:last-child{margin-bottom:0}.assistant-shell .chat-sources{font-size:12px;margin-top:14px}.assistant-shell .chat-sources summary{font-weight:600;color:#333;cursor:pointer}.assistant-shell .source-card{background:#fff;border-radius:12px;font-size:12px}.assistant-shell .source-facts>div{grid-template-columns:1fr;gap:3px}.assistant-shell .source-facts{font-size:12px}.assistant-shell .source-card a{color:#151515}.assistant-welcome{max-width:390px;margin:auto;padding:30px 4px 20px}.assistant-welcome-mark{width:46px;height:46px;margin-bottom:24px}.assistant-welcome .eyebrow{font-size:10px;color:#555}.assistant-welcome h1{font-size:34px;line-height:1.1;letter-spacing:-1.2px;margin:12px 0}.assistant-welcome>p:not(.eyebrow){color:#505050;line-height:1.6;font-size:14px}.assistant-shell .prompt-options{display:grid;gap:9px;margin-top:24px}.assistant-shell .prompt-options button{display:flex;align-items:center;justify-content:space-between;text-align:left;padding:13px 16px;border:1px solid #ddd;background:#fff;border-radius:12px;font-size:13px;color:#222}.prompt-options svg{width:16px;height:16px}.assistant-shell .chat-composer{margin:0 16px 10px;padding:12px 14px 10px;border:1.5px solid #222;border-radius:20px;box-shadow:0 3px 12px #00000007;background:#fff;flex:none}.assistant-shell .chat-composer textarea{display:block;width:100%;min-height:46px;max-height:120px;border:0;outline:0;box-shadow:none;resize:vertical;padding:5px 2px;font-size:15px;line-height:1.5;color:#111;background:#fff}.assistant-shell .chat-composer textarea:focus{outline:0;box-shadow:none}.assistant-shell .chat-composer textarea::placeholder{color:#686868}.assistant-shell .composer-controls{display:flex;justify-content:space-between;align-items:center;margin-top:6px}.composer-attach{border:0;background:none;display:flex;gap:7px;align-items:center;font-size:12px;color:#444;cursor:pointer}.composer-attach svg{width:19px;height:19px}.composer-send{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#080808;color:#fff;border:0;cursor:pointer}.composer-send svg{width:19px;height:19px;transform:rotate(-45deg)}.composer-send:disabled{opacity:.45}.assistant-shell .attachment-box{margin:0 20px;border:0;border-radius:0;padding:8px 0;flex:none;max-height:40dvh;overflow:auto;background:#fff;font-size:12px}.assistant-shell .attachment-box>summary{cursor:pointer;color:#454545;font-size:12px}.assistant-shell .attachment-item{padding:12px 0;border-bottom:1px solid #eee}.attachment-controls,.attachment-controls form{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.attachment-controls label{font-size:12px;display:flex;align-items:center;gap:6px}.attachment-controls input[type=checkbox]{width:16px}.assistant-privacy{font-size:10px;line-height:1.5;text-align:center;color:#555;padding:4px 22px 12px;margin:0;flex:none}.context-choices{display:grid;gap:8px;margin-top:12px}.context-choices button{border:1px solid #d3d3d3;border-radius:12px;background:#fff;padding:12px;text-align:left;cursor:pointer;color:#171717}.context-choices strong,.context-choices small{display:block}.context-choices small{margin-top:4px;color:#555;font-size:11px}.job-progress-card{display:grid;grid-template-columns:minmax(220px,1fr) minmax(120px,240px) auto;gap:20px;align-items:center;background:#fff;border:1px solid #e5e1dc;border-radius:18px;padding:22px;margin-bottom:24px}.job-progress-card strong{display:block;font-size:18px;margin:6px 0}.job-progress-card small{font-size:12px;color:#63594b;display:block;line-height:1.6}.job-progress-card progress{width:100%;height:9px;accent-color:#111;border-radius:10px;overflow:hidden}.job-progress-actions{display:flex;gap:18px;align-items:center;font-size:13px}.job-progress-actions form{margin:0}.checkpoint-status{font-size:12px;color:#584f42;grid-column:1/-1}.cell-guide{padding:15px;background:#f6f4f3;border:1px solid #e5e2dd;border-radius:14px;margin-bottom:18px}.cell-guide h3{margin:0 0 7px;font-size:17px}.cell-guide p{font-size:14px;line-height:1.6}.cell-guide small{font-size:12px;color:#5c5346}.trash-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e4e4e4;padding:18px 0;gap:20px}.trash-row small{display:block;color:#555;margin-top:5px}.file-delete{margin-top:9px}.file-delete button{font-size:12px;color:#535353}.qrt-resume-note{font-size:12px;color:#63594b}.template-ready{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #ddd;border-radius:14px;margin:18px 0}.template-ready svg{width:23px;height:23px}.template-ready strong,.template-ready small{display:block}.template-ready small{margin-top:4px;color:#555}.job-mode-choice label{display:flex;gap:10px}
@media(max-width:800px){.job-progress-card{grid-template-columns:1fr}.job-progress-actions{justify-content:space-between}.assistant-shell{height:calc(100dvh - 110px)}}
@media(prefers-reduced-motion:reduce){.assistant-shell .chat-messages{scroll-behavior:auto}}

.cell-guide{padding:18px;border:1px solid #dcd8d0;background:#faf8f3;border-radius:14px;margin:18px 0}.cell-guide h3{font-size:1rem;margin:0 0 10px}.cell-guide p{line-height:1.6}.cell-guide small{color:#494641;line-height:1.5}#cell-sources dl{display:grid;grid-template-columns:110px 1fr;gap:6px}#cell-sources dt{text-transform:capitalize;font-weight:600}#cell-sources dd{margin:0;overflow-wrap:anywhere}
.assistant-head details,.assistant-toolbar details{margin:0;padding:0;border:0}.assistant-shell .chat-message.user{color:#fff!important;width:fit-content;max-width:88%}.assistant-shell .chat-message.user .chat-text{background:transparent;color:#fff}.assistant-shell .chat-message.user>small{color:#d3d3d3!important}.assistant-shell .chat-text{margin-top:0}.assistant-shell .chat-sources{padding:8px 0 0;border:0;margin-top:10px}.assistant-shell .chat-action-list:empty{display:none}.assistant-shell .chat-action-list{margin-top:12px}.assistant-shell .chat-action-list .button{font-size:12px;padding:9px 15px}

#id_entry_mode{display:grid;gap:12px;margin:12px 0 22px}#id_entry_mode label{display:flex;align-items:center;gap:14px;border:1px solid #d6d6d2;border-radius:13px;padding:17px 18px;color:#252525;font-size:14px;background:#fff;cursor:pointer}#id_entry_mode label:has(input:checked){border-color:#151515;background:#f7f7f4}#id_entry_mode input[type=radio]{width:19px;height:19px;min-height:0;flex:none;accent-color:#111;margin:0;padding:0}.form-page .stack-form label{color:#333}.return-workflow-note{border-left:3px solid #111;padding:12px 18px;background:#f0f0ec;margin-bottom:20px}
