256 lines
26 KiB
CSS
256 lines
26 KiB
CSS
/* Project cards share a readable width as the content area grows. */
|
||
.chat-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--project-grid-min)), 1fr)); gap: var(--project-grid-gap); }
|
||
.project-card { display:flex; flex-direction:column; gap:8px; min-width:0; padding:20px; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:var(--muted); text-decoration:none; }
|
||
.project-card:hover { border-color:var(--border); }
|
||
.project-card strong { color:var(--strong); font-size:18px; font-weight:700; }
|
||
.project-card-icon { display:grid; place-items:center; width:44px; height:44px; border-radius:8px; background:var(--raised); color:var(--action); font-size:24px; }
|
||
.project-header { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:16px 0; }
|
||
.project-heading { display:flex; align-items:center; gap:16px; min-width:0; }
|
||
.project-heading h1 { margin:0; overflow-wrap:anywhere; }
|
||
.project-heading p { color:var(--muted); margin:4px 0 0; }
|
||
.project-header-icon { display:grid; place-items:center; width:56px; height:56px; flex:none; border-radius:10px; background:var(--raised); color:var(--action); font-size:28px; }
|
||
.project-actions { display:flex; flex-wrap:wrap; gap:12px; }
|
||
.project-actions .btn { display:inline-flex; align-items:center; text-decoration:none; }
|
||
.project-tabs { display:flex; gap:4px; overflow-x:auto; border-bottom:1px solid var(--line); }
|
||
.project-tabs a { display:flex; align-items:center; flex:none; min-height:44px; padding:0 16px; color:var(--muted); font-weight:600; text-decoration:none; }
|
||
.project-tabs a[aria-current] { color:var(--strong); background:var(--nav-active); border-bottom:2px solid var(--action); }
|
||
@media (max-width:699px) { .project-header { display:block; } .project-header-icon { width:44px; height:44px; } .project-actions { margin-top:12px; } }
|
||
.project-tree-list,.project-tree-children { list-style:none; margin:0; padding:0; }
|
||
#sections #project-tree { display:block !important; }
|
||
.project-tree-row { display:flex; align-items:center; min-width:0; min-height:44px; border-radius:6px; }
|
||
.project-tree-row.active,.project-tree-children a[aria-current] { background:var(--nav-active); color:var(--strong); }
|
||
.project-tree-row button { flex:none; width:44px; height:44px; color:var(--muted); border:0; background:none; cursor:pointer; font-size:20px; }
|
||
.project-tree-row a,.project-tree-children a { display:flex; align-items:center; min-height:44px; min-width:0; color:var(--text); text-decoration:none; overflow:hidden; }
|
||
.project-tree-row a span,.project-tree-children a span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
||
.project-tree-children { margin-left:22px; border-left:1px solid var(--line); }
|
||
.project-tree-children a { padding:0 10px 0 20px; flex-direction:column; align-items:flex-start; justify-content:center; }
|
||
.project-tree-children small { color:var(--muted); }
|
||
.project-panel,.project-work,.project-row,.project-metrics { background:var(--surface); border:1px solid var(--line); border-radius:10px; }
|
||
.project-panel,.project-work { padding:20px; margin:12px 0; }
|
||
.project-decision { border-left:4px solid var(--warning); display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
|
||
.project-panel h2,.project-panel h3 { margin-top:0; }
|
||
.project-panel > h3:not(:first-child) { border-top:1px solid var(--line); padding-top:16px; margin-top:16px; }
|
||
.project-panel details { border-bottom:1px solid var(--line); }
|
||
.project-panel summary { min-height:44px; display:flex; align-items:center; cursor:pointer; font-weight:600; }
|
||
.project-columns { display:grid; grid-template-columns:minmax(0, 1.7fr) minmax(280px,1fr); gap:24px; margin-top:20px; }
|
||
.project-columns > * { min-width:0; }
|
||
.project-section-title,.project-work-head,.project-work-bottom { display:flex; justify-content:space-between; gap:12px; align-items:center; }
|
||
.project-work-head p,.project-work p,.project-panel p { color:var(--muted); }
|
||
.project-work-bottom { border-top:1px solid var(--line); padding-top:12px; flex-wrap:wrap; }
|
||
.project-row { display:flex; flex-direction:column; padding:16px; margin:12px 0; text-decoration:none; color:var(--strong); }
|
||
.project-row small { color:var(--muted); }
|
||
.project-stepper { display:flex; justify-content:space-between; gap:8px; margin:20px 0; }
|
||
.project-stepper span { padding:6px; color:var(--muted); }
|
||
.project-stepper .done { color:var(--success); }.project-stepper .current { color:var(--strong); background:var(--nav-active); border-radius:99px; }
|
||
.project-chip,.project-count { display:inline-flex; align-items:center; min-height:24px; border-radius:999px; padding:0 9px; font-size:12px; font-weight:600; background:var(--raised); color:var(--muted); }
|
||
.project-chip.success { color:var(--success); background:color-mix(in srgb,var(--success) 16%,var(--surface)); }.project-chip.warning { color:var(--warning); background:color-mix(in srgb,var(--warning) 16%,var(--surface)); }.project-chip.danger { color:var(--danger); background:color-mix(in srgb,var(--danger) 16%,var(--surface)); }
|
||
.project-metrics { display:grid; grid-template-columns:repeat(4,1fr); margin-top:20px; padding:16px 0 8px; }
|
||
.project-metrics a { display:flex; flex-direction:column; min-width:0; padding:0 20px; text-decoration:none; color:var(--text); border-right:1px solid var(--line); }
|
||
.project-metrics a:hover { background:var(--raised); }.project-metrics strong { font-size:30px; color:var(--strong); }.project-metrics small { color:var(--muted); }
|
||
.project-metrics p { grid-column:1/-1; border-top:1px solid var(--line); margin:12px 20px 0; padding-top:8px; font-size:12px; color:var(--muted); }
|
||
.project-file-list > div,.project-file-row { display:flex; justify-content:space-between; gap:10px; align-items:center; min-height:44px; border-bottom:1px solid var(--line); overflow-wrap:anywhere; }
|
||
.project-file-row small { display:block; color:var(--muted); }
|
||
@media (max-width:1100px) { .project-columns { grid-template-columns:1fr; }.project-metrics { grid-template-columns:repeat(2,1fr); } }
|
||
@media (max-width:699px) { .project-stepper span { flex:1; text-align:center; font-size:12px; overflow-wrap:anywhere; }.project-work-bottom .btn { width:100%; }.project-metrics strong { font-size:26px; } }
|
||
.project-list-head p { color:var(--muted); font-size:16px; }
|
||
.project-create { margin:12px 0; }.project-create > summary { display:inline-flex; align-items:center; cursor:pointer; }
|
||
.chat-area:has(.project-list-head) { position:relative; }
|
||
@media(min-width:700px) { .project-create { position:absolute; top:0; right:0; z-index:1; } .project-create[open] { background:var(--surface); padding:12px; border:1px solid var(--line); border-radius:10px; } }
|
||
.project-archived-filter ul#project-archive-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%, var(--project-grid-min)),1fr)); gap:var(--project-grid-gap); }
|
||
.project-archived-filter li { display:flex; flex-direction:column; align-items:stretch; background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:0 0 16px; }
|
||
.project-archived-filter .project-card { border:0; color:var(--muted); }
|
||
.project-archived-filter li > button { align-self:flex-start; margin:0 20px; }
|
||
.project-header .btn,.project-work .btn,.project-panel .btn,.project-section-title .btn { display:inline-flex; align-items:center; justify-content:center; min-height:44px; text-decoration:none; }
|
||
@media(max-width:699px) { .project-crumb-current { display:none; }.project-create > summary { display:flex; width:100%; justify-content:center; } }
|
||
.project-dialog { position:fixed; inset:0 0 0 auto; margin:0; width:min(400px,100vw); max-width:100vw; max-height:100vh; height:100vh; overflow:auto; box-sizing:border-box; background:var(--surface); color:var(--text); border:1px solid var(--line); padding:20px; }
|
||
.project-dialog::backdrop { background:rgb(0 0 0 / .55); }
|
||
.project-dialog > [data-dialog-close] { position:absolute; right:16px; top:16px; }
|
||
.project-chat .chat-log { border:0; padding:0; max-height:56vh; }
|
||
.project-chat .chat-log > li { border:0; display:flex; flex-direction:column; align-items:flex-start; }
|
||
.project-chat .chat-log > li.chat-message-human { align-items:flex-end; }
|
||
.project-chat .chat-log > li > .chat-body { background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:12px 16px; max-width:min(720px,100%); }
|
||
.project-chat .chat-log > li.chat-message-human > .chat-body { background:var(--accent-fill); color:var(--on-accent); }
|
||
.project-chat #chat-send-form,.project-chat #chat-room-send-form { background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:16px; }
|
||
@media(max-width:699px) { .project-dialog { width:100vw; } }
|
||
.project-chat .chat-room-picker { display:flex; align-items:center; flex-wrap:wrap; gap:8px; border:0; padding:0; }
|
||
.project-chat .chat-room-picker legend { float:left; margin-right:8px; }.project-chat .chat-room-picker label { display:inline-flex; align-items:center; min-height:44px; border-radius:999px; padding:0 12px; background:var(--raised); }
|
||
.project-chat .chat-room-picker input { margin-right:6px; }
|
||
.project-request-intro { padding:8px; }.request-details > summary { cursor:pointer; color:var(--action); min-height:44px; }
|
||
.room-chip-input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
|
||
.room-chip { min-height:44px; padding:0 14px; color:var(--text); background:var(--surface); border:1px solid var(--line); border-radius:999px; }
|
||
.room-chip[aria-pressed=true] { background:var(--nav-active); border-color:var(--nav-active-border); color:var(--strong); }
|
||
.project-card-icon svg,.project-header-icon svg,.project-tree-row svg { width:55%; height:55%; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linejoin:round; }
|
||
.project-tree-row svg { width:16px; height:16px; flex:none; margin-right:6px; }
|
||
.breadcrumbs:has(.project-crumb-current) a { display:inline-flex; align-items:center; min-width:44px; min-height:44px; }
|
||
.chat-area:has(.project-header),.chat-area:has(.project-list-head) { max-width:none; margin-inline:0; }
|
||
.project-tabs { scrollbar-width:none; }.project-tabs::-webkit-scrollbar { display:none; }
|
||
.project-chip { white-space:nowrap; flex:none; }
|
||
@media(max-width:699px) { .project-stepper span { white-space:nowrap; font-size:10.5px; padding:4px 1px; }.project-work-head { align-items:flex-start; } }
|
||
|
||
.project-chat .chat-message-meta .chat-avatar { display:inline-grid; place-items:center; width:36px; height:36px; margin-right:8px; border-radius:50%; background:var(--raised); color:var(--action); font-weight:700; }
|
||
.project-chat .chat-message-human .chat-avatar { background:var(--accent-fill); color:var(--on-accent); }
|
||
.project-panel a,.project-work a:not(.btn),.project-chat .chat-room-log a { display:inline-flex; align-items:center; min-height:44px; }
|
||
.project-prd-preview { max-height:9.6em; overflow:hidden; line-height:1.6; mask-image:linear-gradient(to bottom,#000 88%,transparent); }
|
||
.project-prd-preview.expanded { max-height:none; mask-image:none; }
|
||
.project-prd-toggle[hidden] { display:none; }
|
||
.project-provenance-row { display:flex; justify-content:space-between; gap:12px; min-height:40px; align-items:center; overflow-wrap:anywhere; }
|
||
.project-provenance-row code { font-family:var(--mono); }
|
||
.project-text-link { display:inline-flex; align-items:center; min-height:44px; }
|
||
|
||
.project-chat .chat-log { overflow-y:auto; max-height:calc(100vh - 430px); min-height:100px; }
|
||
.project-chat #chat-send-form,.project-chat #chat-room-send-form { position:sticky; bottom:0; z-index:2; padding:10px 16px; }
|
||
.project-chat textarea { min-height:52px; height:52px; }
|
||
.project-chat .chat-message-agent > .chat-body { margin-left:44px; }
|
||
.project-chat .project-composer-hint { display:inline; margin:0 8px; font-size:12px; }
|
||
@media(max-width:699px) { .project-chat .chat-log > li > .chat-body { max-width:80%; } }
|
||
/* Project review: responsive layouts and controls. */
|
||
.project-conversation-row { display:flex; align-items:center; min-height:64px; gap:12px; padding:8px 16px; color:var(--text); text-decoration:none; border-bottom:1px solid var(--line); }
|
||
.project-conversation-row > span:nth-child(2) { flex:1; }.project-conversation-row small { display:block; color:var(--muted); }
|
||
.project-conversation-icon,.project-delivery-icon { display:inline-grid; place-items:center; width:44px; height:44px; flex:none; border-radius:8px; background:var(--raised); color:var(--action); font-size:22px; }
|
||
.project-work strong { font-size:18px; color:var(--strong); }.project-work-head > div > .project-conversation-icon { float:left; margin-right:12px; }
|
||
.project-stepper { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }.project-stepper span { display:flex; gap:6px; align-items:center; justify-content:center; font-size:12px; font-weight:600; }.project-stepper span i { font-style:normal; font-size:20px; line-height:1; }.project-stepper span b { font-size:12px; }.project-stepper .current { border:1px solid var(--line); }
|
||
.project-card [data-project-status] { display:flex; flex-direction:column; align-items:flex-start; gap:8px; }.project-card-status-line { display:block; }
|
||
.project-create { position:static; }.project-create[open] { position:static; }
|
||
.project-file-row { min-height:52px; color:var(--text); text-decoration:none; }.project-delivery-actions { display:flex; flex-wrap:wrap; gap:8px; }.project-delivery-icon { margin-right:12px; }.project-file-list code { font-family:var(--mono); font-size:14px; }
|
||
.project-tabs a[aria-current] { border:1px solid var(--line); border-bottom:2px solid var(--action); border-radius:8px 8px 0 0; }
|
||
.project-dialog { top:64px; height:calc(100vh - 64px); }.project-dialog::backdrop { background:var(--project-backdrop); }
|
||
.project-dialog input,.project-dialog select,.project-dialog button,.project-dialog a,.project-create input,.project-create select,.project-create button,.project-new-conversation input,.project-new-conversation select,.project-new-conversation button,.project-request-intro a { min-height:44px; box-sizing:border-box; }
|
||
.project-request-intro a { display:inline-flex; align-items:center; }.project-room-warning { padding:12px; border-left:4px solid var(--warning); background:var(--surface); }
|
||
.project-action-icon { display:none; }.project-tree-children a { position:relative; border:1px solid transparent; border-radius:6px; padding-left:44px; }.project-tree-children a[href*="threads"] { min-height:52px; }.project-tree-children svg { position:absolute; left:15px; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.7; }.project-tree-children a[aria-current] { border-color:var(--nav-active-border); }
|
||
.chat-area:has(.project-header) > p:first-child,.project-chat > p:first-child { display:none; }
|
||
[data-project-content] h2 { font-size:23px; font-weight:700; }
|
||
@media(max-width:1309px) { .project-columns { grid-template-columns:1fr; } }
|
||
@media(max-width:1100px) { .project-metrics a:nth-child(-n+2) { border-bottom:1px solid var(--line); padding-bottom:12px; }.project-metrics a:nth-child(n+3) { padding-top:12px; } }
|
||
@media(max-width:699px) { .project-stepper span { flex-direction:column; white-space:normal; font-size:12px; padding:6px 1px; }.project-action-label { display:none; }.project-action-icon { display:inline; }.project-dialog { top:0; height:100vh; }.project-delivery-actions > a { flex:1 1 calc(50% - 8px); }.project-delivery-actions > a:nth-child(3) { flex-basis:100%; } }
|
||
.project-dialog a,.project-panel a,.project-work a,.project-request-intro a { min-width:44px; }
|
||
.project-new-conversation:not([open]) > :not(summary) { display:none; }
|
||
@media(max-width:699px) { .project-header[data-project-conversation="true"] { display:flex; align-items:flex-start; }.project-header[data-project-conversation="true"] .project-actions { margin:0; }.project-header[data-project-conversation="true"] .project-actions .btn { min-width:44px; padding:0; }.project-chat textarea { min-height:52px; height:52px; }.project-stepper span b { overflow-wrap:normal; word-break:normal; font-size:12px; } }
|
||
#sections a.project-tree-ancestor { color:var(--strong); font-weight:700; }
|
||
[data-project-content] select { min-height:44px; min-width:44px; }
|
||
.project-chat #chat-room-send-form .project-composer-hint { display:block; margin:4px 0; }
|
||
.project-chat .request-details a,.project-chat .request-details button,.project-chat .request-details input,.project-chat .request-details select { display:inline-flex; align-items:center; min-height:44px; min-width:44px; box-sizing:border-box; }
|
||
.project-room-status { display:flex; flex-wrap:wrap; gap:8px; align-items:center; color:var(--muted); }
|
||
.project-room-status a { display:inline-flex; align-items:center; min-height:44px; min-width:44px; }
|
||
.project-room-status button { min-height:44px; }
|
||
|
||
/* Slice 4: project headers, phase labels and request summary. */
|
||
.content .chat-area:has(.project-header) h2 { font-size:23px; font-weight:700; }
|
||
.project-stepper { gap:0; }
|
||
.project-stepper span { position:relative; flex-direction:column; gap:4px; min-width:0; text-align:center; border-radius:8px; }
|
||
.project-stepper span b { font-size:12px; font-weight:600; line-height:1.25; overflow-wrap:normal; }
|
||
.project-stepper span i { font-size:20px; }
|
||
@media(min-width:700px) { .project-stepper span:not(:last-child)::after { content:''; position:absolute; top:16px; left:calc(50% + 26px); width:calc(100% - 52px); border-top:1px solid var(--line); } }
|
||
.project-work-row { display:flex; align-items:center; justify-content:space-between; gap:12px; border-top:1px solid var(--line); min-height:44px; }
|
||
.project-work-row > span { min-width:0; }
|
||
.agent-start-hint { display:inline-block; color:var(--muted); font-size:12px; }
|
||
@media(max-width:699px) {
|
||
.project-header[data-project-conversation="true"] .project-heading { flex:1; }
|
||
.project-header[data-project-conversation="true"] .project-actions { flex:none; }
|
||
.project-header[data-project-section="room"] { display:flex; align-items:flex-start; }
|
||
.project-header[data-project-section="room"] .project-heading { flex:1; }
|
||
.project-header[data-project-section="room"] .project-actions { display:none; }
|
||
.project-header[data-project-section="room"] .project-primary-action,.project-header[data-project-section="room"] [data-project-room-header] { display:none; }
|
||
.project-chat { position:relative; }
|
||
.project-chat .project-section-title [data-project-dialog="room"] { position:absolute; top:0; right:0; display:inline-flex; width:44px; padding:0; }
|
||
.project-request-intro { width:100%; box-sizing:border-box; }
|
||
}
|
||
/* Keep the breadcrumb's 44px links without adding their hit area and two margins to the header gap. */
|
||
body:has(.chat-area .project-header) .breadcrumbs { margin-bottom:-4px; }
|
||
.project-header { margin-top:0; }
|
||
.project-header[data-project-conversation="true"] [data-project-room-header] { display:none; }
|
||
.project-chat { display:flex; flex-direction:column; height:calc(100dvh - 160px); min-height:420px; }
|
||
.project-chat > .project-header,.project-chat > .project-tabs,.project-chat > .chat-paging,.project-chat > form { flex:none; }
|
||
.project-chat .chat-log { flex:1 1 auto; min-height:60px; max-height:none; }
|
||
.project-chat #chat-send-form,.project-chat #chat-room-send-form { position:static; display:grid; grid-template-columns:1fr auto; align-items:center; gap:4px 12px; }
|
||
.project-chat #chat-send-form > label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
|
||
.project-chat #chat-send-form > .chat-audience,.project-chat #chat-room-send-form > .chat-room-picker { grid-column:1 / -1; grid-row:1; margin:0; }
|
||
.project-chat #chat-send-form > textarea,.project-chat #chat-room-send-form > textarea { grid-column:1 / -1; grid-row:2; box-sizing:border-box; min-height:44px; height:44px; margin:0; }
|
||
.project-chat #chat-send-form > .project-composer-hint,.project-chat #chat-room-send-form > .project-composer-hint { grid-column:1; grid-row:3; margin:0; }
|
||
.project-chat #chat-send-form > button[type="submit"],.project-chat #chat-room-send-form > button[type="submit"] { grid-column:2; grid-row:3; }
|
||
@media(max-width:699px) {
|
||
.project-header [data-project-room-header] { display:none; }
|
||
.project-chat { height:calc(100dvh - 120px); }
|
||
}
|
||
|
||
.project-chat .chat-message-human > .request-mount { align-self:flex-start; width:min(720px,100%); }
|
||
@media(max-width:699px) {
|
||
.project-header[data-project-section="room"] .project-heading { box-sizing:border-box; padding-right:52px; }
|
||
}
|
||
|
||
/* Conversation layout consumes the space left by the shell, breadcrumb and composer. */
|
||
body:has(.project-chat) { height:100dvh; min-height:0; display:flex; flex-direction:column; }
|
||
body:has(.project-chat) .frame { flex:1 1 0; min-height:0; grid-template-rows:minmax(0,1fr); }
|
||
body:has(.project-chat) .content { display:flex; flex-direction:column; min-height:0; }
|
||
body:has(.project-chat) #bus-view, body:has(.project-chat) .chat-area { flex:1 1 0; min-height:0; display:flex; flex-direction:column; }
|
||
.project-chat { height:auto; min-height:0; flex:1 1 0; }
|
||
.project-chat .chat-log { flex:1 1 0; min-height:0; margin:8px 0; padding:0; }
|
||
.project-chat .chat-log > li { padding-block:4px; }
|
||
.project-chat .chat-message-meta { display:flex; align-items:center; gap:8px; }
|
||
.project-chat .chat-message-meta .chat-avatar { display:grid; flex:none; margin-right:0; }
|
||
.project-chat .chat-message-meta strong { margin-right:4px; }
|
||
.project-chat .project-request-item > .request-mount { width:min(720px,calc(100% - 44px)); margin-left:44px; }
|
||
.project-chat .request-panel { background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:8px 16px; }
|
||
.project-chat .project-request-intro { padding:0; }
|
||
.project-chat .project-request-intro p { margin:2px 0; font-size:13px; }
|
||
.project-chat .project-request-intro .project-stepper { margin:6px 0; }
|
||
.project-chat .chat-paging p { margin:2px 0; text-align:center; font-size:12px; }
|
||
.project-chat #chat-receipt:empty,.project-chat #chat-room-receipt:empty { display:none; }
|
||
.project-chat #chat-receipt,.project-chat #chat-room-receipt { margin:2px 0; }
|
||
.project-chat #chat-room-offer:empty,.project-chat #chat-room-tags:empty { display:none; }
|
||
.project-panel a.project-file-row { display:flex; width:100%; }
|
||
.project-stepper .current { border-color:var(--nav-active-border); border-radius:8px; }
|
||
.project-stepper span i { display:grid; place-items:center; width:20px; height:20px; box-sizing:border-box; border:1.5px solid currentColor; border-radius:50%; font-size:14px; line-height:1; }
|
||
@media(max-width:699px) {
|
||
.project-header[data-project-conversation="true"] { gap:4px; }
|
||
.project-header[data-project-conversation="true"] .project-heading { gap:12px; }
|
||
.project-header[data-project-conversation="true"] .project-header-icon { width:40px; height:40px; }
|
||
.project-header[data-project-conversation="true"] .project-heading p { white-space:nowrap; font-size:14px; }
|
||
.project-header:not([data-project-conversation="true"]):not([data-project-section="room"]) .project-heading { display:grid; grid-template-columns:44px minmax(0,1fr); gap:0 12px; }
|
||
.project-header:not([data-project-conversation="true"]):not([data-project-section="room"]) .project-heading > div { display:contents; }
|
||
.project-header:not([data-project-conversation="true"]):not([data-project-section="room"]) .project-heading p { grid-column:1 / -1; margin-top:4px; }
|
||
.project-metrics { padding:8px 0 6px; }
|
||
.project-metrics a { padding-left:12px; padding-right:12px; line-height:1.3; }
|
||
.project-metrics a span { font-size:13px; font-weight:600; }
|
||
.project-metrics a small { font-size:12px; }
|
||
.project-metrics a:nth-child(-n+2) { padding-bottom:8px; }
|
||
.project-metrics a:nth-child(n+3) { padding-top:8px; }
|
||
.project-metrics p { margin:8px 12px 0; padding-top:6px; }
|
||
.project-chat .project-request-item > .request-mount { width:100%; margin-left:0; }
|
||
.project-stepper .current { border-radius:8px; border-color:var(--nav-active-border); }
|
||
}
|
||
.project-chat .chat-log > li { padding-block:1px; }
|
||
.project-chat { margin-bottom:0; }
|
||
.project-chat .chat-paging { margin-bottom:0; }
|
||
.project-chat #chat-room-send-form > .chat-room-picker { grid-column:1; }
|
||
.project-chat #chat-room-send-form > #chat-room-tags { grid-column:2; grid-row:1; font-size:12px; }
|
||
@media(max-width:699px) {
|
||
body:has(.project-chat) footer.foot { padding:6px 12px; min-height:33px; align-items:center; }
|
||
.project-chat .chat-message-agent > .chat-body { max-width:calc(100% - 44px); box-sizing:border-box; }
|
||
}
|
||
@media(max-width:699px) {
|
||
.project-header:not([data-project-conversation="true"]):not([data-project-section="room"]) .project-heading p { font-size:12px; }
|
||
.project-chat .chat-log > li.chat-message-agent > .chat-body { max-width:calc(100% - 44px); }
|
||
.project-work-head > div { min-width:0; flex:1; }
|
||
.project-work-head p { font-size:13px; width:calc(100% + 80px); max-width:calc(100vw - 56px); }
|
||
.project-work { padding:16px; }
|
||
.project-work .project-stepper { margin:10px 0; }
|
||
}
|
||
@media(max-width:699px) {
|
||
.project-chat .chat-log > li > .chat-body { padding:8px 12px; }
|
||
.project-chat .chat-message-meta .chat-avatar { width:32px; height:32px; }
|
||
.project-chat .project-request-intro .project-stepper { margin:2px 0; }
|
||
}
|
||
@media(max-width:699px) {
|
||
.project-chat .chat-room-picker { gap:4px; min-width:0; }
|
||
.project-chat .chat-room-picker legend { margin-right:4px; }
|
||
.project-chat .room-chip { padding:0 8px; font-size:12px; }
|
||
}
|
||
/* Project list rows use the available content width. */
|
||
.chat-area:has(.project-list-head) .chat-projects { grid-template-columns:minmax(0,1fr); }
|
||
.chat-area:has(.project-list-head) .project-card { display:grid; grid-template-columns:52px minmax(0,1fr) auto; gap:2px 20px; align-items:center; }
|
||
.chat-area:has(.project-list-head) .project-card-icon { grid-row:1 / span 3; }
|
||
.chat-area:has(.project-list-head) .project-card > strong,.chat-area:has(.project-list-head) .project-card > span:not(.project-card-icon) { grid-column:2; }
|
||
.chat-area:has(.project-list-head) .project-card::after { content:'›'; grid-column:3; grid-row:1 / span 3; font-size:24px; }
|
||
.chat-area:has(.project-list-head) .project-card [data-project-status] { display:flex; flex-direction:row; flex-wrap:wrap; align-items:center; }
|
||
@media (min-width:700px) { .chat-area:has(.project-list-head) .project-create:not([open]) { position:absolute; top:0; right:0; margin:0; } }
|