/* Project publishing controls, including narrow workspace and mobile modals. */
.project-hosting-action,.project-export-action{white-space:nowrap}
[data-hosting-loading][hidden],[data-hosting-refresh][hidden],[data-hosting-content][hidden],[data-hosting-password][hidden],[data-hosting-key][hidden]{display:none!important}
.hosting-intro{margin-bottom:20px}.hosting-intro p+p{margin-top:8px}
.hosting-status{border:1px solid var(--line);background:var(--panel2);border-radius:11px;padding:17px;margin-bottom:22px;min-width:0}
.hosting-status-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.hosting-status>p{font-size:14px;color:var(--muted);margin-top:10px}.hosting-site-link{margin-top:15px;max-width:100%}
.hosting-field-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 16px}
.hosting-auto{align-items:flex-start;line-height:1.55;font-size:14px}.hosting-auto input{margin-top:4px;flex:none}
.hosting-runtime-settings{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.hosting-runtime-settings textarea{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;min-height:128px}.hosting-runtime-saved{line-height:1.65;overflow-wrap:anywhere}.hosting-runtime-saved code{font-size:12px;color:var(--accent)}
.hosting-secret-note{margin-top:13px;line-height:1.6}
.hosting-actions{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}.hosting-actions .btn{white-space:normal;text-align:center}
.hosting-details{margin-top:16px;min-width:0}.hosting-details summary{font-size:13px;color:var(--accent);cursor:pointer;line-height:1.6}
.hosting-details p{font-size:13px;margin-top:9px;white-space:pre-wrap;overflow-wrap:anywhere}.hosting-details ol{padding-left:20px;margin-bottom:0}
.hosting-details li{padding:7px 0;line-height:1.5;font-size:13px}.hosting-details time{display:block;color:var(--muted);font-size:12px}
.hosting-export-bar{border-top:1px solid var(--line);padding-top:20px;margin-top:22px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.hosting-export-bar>span{width:100%}
.hosting-export-options{display:flex;align-items:flex-start;flex-direction:column;gap:11px;margin-top:24px}.hosting-export-options p{margin-bottom:10px}
@media(max-width:1100px){.workspace-head .head-actions{flex-wrap:wrap;justify-content:flex-end}.workspace-head .head-actions .project-hosting-action,.workspace-head .head-actions .project-export-action{min-height:34px;padding:7px 10px}.workspace-head .head-actions .project-hosting-action span,.workspace-head .head-actions .project-export-action span{display:inline}}
@media(max-width:760px){.workspace-head{flex-wrap:wrap}.workspace-head .head-actions{margin-left:0;width:100%;justify-content:flex-start;gap:6px}.workspace-head .head-actions .project-hosting-action,.workspace-head .head-actions .project-export-action{width:auto;height:auto;min-height:36px;padding:8px 10px;font-size:12px}.workspace-head .head-actions .project-hosting-action span,.workspace-head .head-actions .project-export-action span{display:inline}.hosting-field-grid{grid-template-columns:1fr}.hosting-status{padding:14px}.hosting-actions .btn{flex:1;min-width:128px}.hosting-export-bar .btn{width:100%;white-space:normal}.hosting-export-options .btn{width:100%;white-space:normal}}

/* Questions and replies stay inside the existing project chat. */
.task-question{border:1px solid var(--line);border-radius:11px;background:var(--panel2);padding:15px;min-width:0}.task-question-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0;font-size:14px}.task-question-options,.task-question-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.task-question-options .btn{white-space:normal;text-align:left;max-width:100%;overflow-wrap:anywhere}.composer-reply-context{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;margin-bottom:10px;font-size:12px;color:var(--accent)}.composer-reply-context[hidden]{display:none!important}.composer-reply-context[data-reply-expired="true"]{color:var(--yellow)}.composer-reply-context .btn{white-space:normal;max-width:100%;overflow-wrap:anywhere}@media(max-width:760px){.task-question{padding:12px}.task-question-options .btn,.task-question-actions .btn{min-height:38px}.composer-reply-context{font-size:11px}}
