/* Assist, the help panel. Docked beside the page at 1280 px and wider; a modal sheet below that. */
.assist-launcher{font:inherit;font-weight:600;min-height:36px;padding:6px 12px;border-radius:8px;border:1px solid currentColor;background:transparent;color:inherit;cursor:pointer;width:auto;margin:0;box-shadow:none}
.assist-launcher:hover{background:rgba(127,127,127,.15)}
.assist-launcher:focus-visible,.assist-panel button:focus-visible,.assist-refusal:focus-visible{outline:3px solid #00757B;outline-offset:2px}
.assist-panel{position:fixed;top:0;right:0;bottom:0;width:380px;max-width:100vw;z-index:60;display:flex;flex-direction:column;
 background:#fff;color:#122D3C;border-left:1px solid #DCD8D2;box-shadow:-8px 0 24px rgba(18,45,60,.12);font:15px/1.55 Archivo,"Segoe UI",system-ui,sans-serif}
.assist-panel[hidden]{display:none}
.assist-panel:focus{outline:none}
.assist-head{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #DCD8D2;background:#122D3C;color:#fff}
.assist-brand{margin:0;font-weight:700}
.assist-close{font:inherit;font-size:22px;line-height:1;width:36px;min-height:36px;border:0;border-radius:8px;background:transparent;color:#fff;cursor:pointer;padding:0;box-shadow:none}
.assist-close:hover{background:rgba(255,255,255,.15)}
.assist-body{flex:1;overflow-y:auto;padding:16px;min-width:0;overflow-wrap:anywhere}
.assist-body h2{font-size:19px;margin:0 0 6px}
.assist-body h3{font-size:14.5px;margin:0 0 4px}
.assist-body p{margin:6px 0}.assist-body ol,.assist-body ul{margin:4px 0;padding-left:20px}
.assist-body dt{font-weight:600;margin-top:6px}.assist-body dd{margin:0 0 4px}
.assist-section{margin-top:16px}
.assist-summary{font-weight:600}
.assist-muted{color:#53636C;font-size:13.5px}
.assist-quote{border-left:3px solid #B42318;padding:4px 0 4px 10px;color:#2B4553}
.assist-back{font:inherit;margin-top:16px;min-height:36px;padding:6px 12px;border:1px solid #8A857D;border-radius:6px;background:#fff;color:#122D3C;cursor:pointer;width:auto}
.assist-mode{margin-top:20px;padding-top:12px;border-top:1px solid #DCD8D2}
.assist-label{margin:0;padding:8px 16px;font-size:12.5px;color:#53636C;border-top:1px solid #DCD8D2;background:#F9F7F4}
.assist-refusal{font:inherit;font-size:13px;font-weight:600;min-height:30px;padding:3px 10px;margin:0 6px;border:1px solid currentColor;border-radius:6px;background:transparent;color:inherit;cursor:pointer;width:auto;box-shadow:none}
.assist-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body.assist-docked{padding-right:380px}
body.assist-modal::after{content:"";position:fixed;inset:0;background:rgba(18,45,60,.45);z-index:59}
@media (max-width:1279px){.assist-panel{width:min(420px,100vw)}}
@media (prefers-reduced-motion:no-preference){.assist-panel{animation:assist-in .15s ease-out}@keyframes assist-in{from{transform:translateX(16px);opacity:.6}}}
/* Conversation (phase P2) */
.assist-thread{display:flex;flex-direction:column;gap:12px;margin-top:16px}
.assist-thread:empty{display:none}
.assist-who{font-size:12.5px;font-weight:700;color:#53636C;margin:0 0 2px;text-transform:uppercase;letter-spacing:.04em}
.assist-q{align-self:flex-end;max-width:90%;background:#DDF4F4;border-radius:10px;padding:8px 12px}
.assist-q p:last-child{margin:0;white-space:pre-wrap}
.assist-a{background:#F2F0ED;border-radius:10px;padding:8px 12px}
.assist-answer p{margin:6px 0}.assist-answer ul{margin:4px 0;padding-left:20px}
.assist-screen-ref{font-weight:700}
.assist-pending{color:#53636C;font-style:italic}
.assist-error{border:1px solid #F0B8B1;background:#FBE6E3;color:#B42318;border-radius:10px;padding:8px 12px}
.assist-error button,.assist-starter{font:inherit;font-size:14px;min-height:32px;padding:4px 10px;border:1px solid #8A857D;border-radius:6px;background:#fff;color:#122D3C;cursor:pointer;width:auto;text-align:left;box-shadow:none;margin:0}
.assist-starters{list-style:none;padding-left:0!important;display:flex;flex-direction:column;gap:6px}
.assist-ask{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end;padding:10px 16px;border-top:1px solid #DCD8D2;background:#fff;margin:0}
.assist-ask textarea{flex:1 1 100%}
.assist-ask-row{display:flex;gap:8px;justify-content:flex-end;width:100%}
.assist-ask textarea{flex:1;min-width:0;font:inherit;padding:8px 10px;border:1px solid #8A857D;border-radius:6px;resize:vertical;min-height:44px;width:auto}
.assist-send{font:inherit;font-weight:600;min-height:44px;padding:8px 14px;border:1px solid #00757B;border-radius:6px;background:#00757B;color:#fff;cursor:pointer;width:auto;margin:0;box-shadow:none}
.assist-send:disabled,.assist-starter:disabled{opacity:.6;cursor:wait}
.assist-ask textarea:focus-visible,.assist-starter:focus-visible,.assist-error button:focus-visible{outline:3px solid #00757B;outline-offset:2px}
.assist-written{margin-bottom:8px}.assist-written summary{cursor:pointer;font-weight:600;color:#00757B}

/* Workspace line, mode bar, screenshots and the feedback draft (phases P3 to P5). */
.assist-workspace{margin:0;padding:6px 16px;font-size:.875rem;border-bottom:1px solid #DCD8D2}
.assist-modebar{display:flex;justify-content:flex-end;padding:6px 16px;border-bottom:1px solid #DCD8D2}
.assist-modebar:empty{display:none}
.assist-modebar button,.assist-attach{font:inherit;min-height:44px;padding:6px 12px;border:1px solid #00757B;border-radius:6px;background:#fff;color:#00575B;cursor:pointer;width:auto;margin:0;box-shadow:none}
.assist-images{display:flex;gap:8px;flex-wrap:wrap;width:100%}
.assist-images:empty{display:none}
.assist-image{position:relative;display:inline-block}
.assist-image img{width:72px;height:54px;object-fit:cover;border:1px solid #8A857D;border-radius:4px;display:block}
.assist-image-remove{position:absolute;top:-8px;right:-8px;width:24px;height:24px;min-height:24px;padding:0;border-radius:50%;border:1px solid #8A857D;background:#fff;color:#2B2A27;cursor:pointer;line-height:1;margin:0;box-shadow:none}
.assist-attach-note{margin:0;width:100%;font-size:.875rem}
.assist-attach-note:empty{display:none}
.assist-draft{margin:10px 0 0;padding:12px;border:1px solid #00757B;border-radius:6px;background:#F3F9F9}
.assist-draft-head{margin:0 0 8px;font-weight:600}
.assist-field{display:block;margin:0 0 10px}
.assist-field span{display:block;font-size:.875rem;font-weight:600;margin-bottom:4px}
.assist-field input,.assist-field textarea,.assist-field select{font:inherit;width:100%;box-sizing:border-box;padding:6px 8px;border:1px solid #8A857D;border-radius:6px;background:#fff;color:#2B2A27;margin:0}
.assist-submit{font:inherit;font-weight:600;min-height:44px;padding:8px 14px;border:1px solid #00757B;border-radius:6px;background:#00757B;color:#fff;cursor:pointer;width:auto;margin:0;box-shadow:none}
.assist-submit:disabled{opacity:.6;cursor:default}
.assist-feedback-result{margin-top:8px}
.assist-feedback-result:empty{display:none}
.assist-modebar button:focus-visible,.assist-attach:focus-visible,.assist-image-remove:focus-visible,.assist-submit:focus-visible,.assist-field :focus-visible{outline:3px solid #00757B;outline-offset:2px}
@media (prefers-reduced-motion:reduce){.assist-panel *{transition:none!important;animation:none!important}}
