.processing-controls { display:flex; flex-wrap:wrap; gap:.6rem; align-items:center; padding:.7rem 1rem; border-bottom:1px solid var(--line); } .processing-controls p { margin:0; } .processing-controls .processing-note, .processing-controls .processing-receipt { flex-basis:100%; } .processing-controls[data-state="halted"] { border-left:4px solid currentColor; } .processing-controls button:focus-visible { outline:3px solid currentColor; outline-offset:3px; } .processing-banner { padding:.75rem 1rem; font-weight:600; border-bottom:2px solid currentColor; } .processing-controls [hidden], .processing-banner[hidden] { display:none; } /* The desktop controls share the nav's existing viewport box. They scroll with its contents: no sticky overlay may cover a focused navigation link. */ .tree .processing-controls .btn { margin:0; order:0; } .tree .processing-controls .small { margin:0; flex-basis:100%; } @media (min-width:760px) { body { --processing-nav:240px; } .processing-banner { margin-left:var(--processing-nav); } .tree > .processing-controls { flex:none; padding:.7rem .4rem; } .frame > .content { grid-column:2; } .frame > .tree { position:fixed; width:var(--processing-nav); } } @media (max-width:759px) { .tree > .processing-controls { flex-basis:100%; } } @media (min-width:760px) and (max-width:959px) { body { --processing-nav:200px; } } @media (min-width:1900px) { body { --processing-nav:280px; } } @media (min-width:2560px) { body { --processing-nav:320px; } } /* Slice 1: one navigation column and dashboard chrome. */ :root{--bar-h:64px;--sidebar-width:226px} .cmdbar{min-height:var(--bar-h);padding:8px 18px;background:var(--canvas)} .wordmark{gap:9px;font-size:18px;text-decoration:none;min-width:205px} .mosaic-logo{width:32px;height:32px;flex:none;fill:var(--action)} .mosaic-logo rect:nth-child(2){fill:color-mix(in srgb,var(--action) 75%,var(--strong))}.mosaic-logo rect:nth-child(4){fill:color-mix(in srgb,var(--action) 45%,var(--canvas))} .cmdk{max-width:460px;min-height:44px}.fresh{display:none}.cmd-right{margin-left:auto;gap:8px}.cmd-right .btn{min-height:44px}.processing-link{white-space:nowrap;color:var(--muted);font-size:12px;text-decoration:none}.processing-link span:first-child{color:var(--success)} .avatar-wrap{position:relative}.avatar-wrap>button{display:flex;align-items:center;gap:8px;min-height:44px;border:0;background:transparent;color:var(--strong);font:inherit;cursor:pointer}.avatar-initial{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--action);color:var(--onAction);font-weight:700}.avatar-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:50;width:240px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:8px;box-shadow:var(--shadow)}.avatar-menu[hidden]{display:none}.avatar-menu a,.avatar-menu button,.avatar-menu label,.avatar-menu #local-sign-out{display:block;width:100%;padding:9px;color:var(--text);font:inherit;text-align:left}.avatar-menu a{text-decoration:none}.avatar-menu button{background:none;border:0;cursor:pointer}.avatar-menu a:hover,.avatar-menu button:hover{background:var(--raised)}.avatar-menu label{font-size:12px;color:var(--muted)}.avatar-menu select{display:block;width:100%;min-height:44px;margin-top:4px}.avatar-menu small{display:block;color:var(--muted)}.avatar-menu #local-sign-out{opacity:.7} #project-context,#project-tree,#board-tree{display:none!important} .s1-section{font-size:14px;gap:12px}.s1-section[aria-current=page]{background:color-mix(in srgb,var(--action) 30%,var(--surface));color:var(--strong)} .breadcrumbs{display:flex;gap:12px;align-items:center;margin:0 0 18px;color:var(--muted);font-size:13px}.breadcrumbs a{color:var(--action);text-decoration:none}.breadcrumbs [aria-current]{color:var(--strong)} #board-head h1{margin-bottom:0}#board-head p{margin:2px 0}.machine-off #status{display:none} #dashboard-summary,.dashboard-card{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface)}#dashboard-summary{margin:20px 0}.kpi-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:18px 0}.kpi{padding:0 18px;border-right:1px solid var(--line);min-width:0}.kpi:last-child{border-right:0}.kpi div{font-size:12px;color:var(--strong);font-weight:700;min-height:36px}.kpi strong{display:block;font-size:28px;line-height:1.2;color:var(--strong)}.kpi span{display:block;color:var(--muted);font-size:12px;margin-top:4px}.kpi-footer{border-top:1px solid var(--line);padding:8px 18px;margin:0;color:var(--muted);font-size:12px} #dashboard-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.dashboard-card{padding:16px}.dashboard-card h2{margin:0 0 10px}.dashboard-card .processing-controls{padding:0;border:0}.dashboard-card .processing-controls strong{display:none}.dashboard-card .processing-controls .btn{min-height:44px}.dashboard-card ul{padding-left:20px}.dashboard-card a{color:var(--action)} body.on-bus #dashboard-summary,body.on-bus #dashboard-cards,body.on-bus #held-section{display:none} @media (min-width:760px){.frame,body.on-bus .frame,body.has-inspector .frame,body.on-bus.has-inspector .frame{grid-template-columns:var(--sidebar-width) minmax(0,1fr)}body.has-inspector .frame{grid-template-columns:var(--sidebar-width) minmax(0,1fr) 340px}.frame.frame>.content{grid-column:2}.frame.frame>.tree{position:sticky;width:auto;top:var(--bar-h);height:calc(100vh - var(--bar-h) - var(--foot-h));display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;border-right:1px solid var(--line);border-bottom:0}.processing-banner{margin-left:var(--sidebar-width)}} @media (max-width:1099px){body.has-inspector .frame{grid-template-columns:var(--sidebar-width) minmax(0,1fr)}} @media (max-width:759px){.cmdbar{position:static;gap:6px}.wordmark{min-width:0;margin-right:auto;font-size:16px}.cmd-right{flex:0 0 auto}.cmd-right .btn{padding:4px 8px}.cmdk{order:3;flex-basis:100%}.processing-link{display:none}#avatar-name{display:none}.frame,body.on-bus .frame,body.has-inspector .frame{grid-template-columns:minmax(0,1fr)}.frame.frame>.content{grid-column:1}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}.kpi:nth-child(even){border:0}.kpi div{min-height:0}.kpi strong{font-size:24px}#dashboard-cards{grid-template-columns:1fr}.content{min-width:0}.avatar-menu{right:0}.processing-banner{margin:0}} body.signed-out #dashboard-summary,body.signed-out #dashboard-cards,body.signed-out .breadcrumbs{display:none} #held .s1-held{display:block;border-collapse:separate}#held .s1-held thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#held .s1-held tbody{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px}#held .s1-held tr{display:block;border:1px solid var(--line);border-radius:var(--r);background:var(--surface);padding:12px}#held .s1-held td,#held .s1-held th{display:block;border:0;padding:3px}#held .s1-held th{color:var(--strong);font-size:16px}#held .s1-held td:nth-child(3)::before{content:'Attention: ';color:var(--muted)}#held .s1-held td:nth-child(4)::before{content:'Address: ';color:var(--muted)}#held .s1-held td:nth-child(5)::before{content:'Holder: ';color:var(--muted)}#held .s1-held td:nth-child(6)::before{content:'Held since: ';color:var(--muted)} .chat-area > p:first-child:has(> a[href="#/projects"]:only-child),.chat-conversation > p:first-child:has(a),.chat-room > p:first-child:has(a){display:none} @media(max-width:759px){.avatar-menu{position:fixed;right:12px;top:106px;width:min(240px,calc(100vw - 24px))}.cmdbar{max-width:100%;overflow:visible}.cmdk{min-width:0}.cmd-right{min-width:0}.wordmark{flex-shrink:1}} @media(max-width:759px){.cmdbar{padding-inline:8px}.cmd-right{flex:1 1 100%;flex-wrap:wrap}.avatar-wrap>button{min-width:44px;justify-content:center;padding:4px}.avatar-wrap>button>span:last-child{display:none}} @media(max-width:759px){.processing-link{display:inline-flex;align-items:center;gap:4px;min-height:44px}} /* Dashboard polish: compact controls share a single row at every width. */ .cmdbar .fresh + .cmd-right{margin-left:auto} .cmdbar .header-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 9px;border:0;border-radius:var(--r);background:transparent;color:var(--text);font:inherit;cursor:pointer;white-space:nowrap} .cmdbar .header-action:hover{background:var(--raised)} .cmdbar .header-action:disabled{opacity:.55;cursor:default} .s1-section[aria-current=page]{background:var(--nav-active,color-mix(in srgb,var(--action) 22%,var(--surface)));box-shadow:inset 0 0 0 1px var(--nav-active-border,color-mix(in srgb,var(--action) 26%,transparent));color:var(--strong)} .s1-section .count{background:var(--raised);color:var(--strong);border-radius:999px;padding:2px 7px;line-height:1.3} .kpi div{font-size:13px;font-weight:600}.kpi strong{font-size:24px}.kpi span{font-size:12px} .mobile-menu-item{display:none!important} @media(max-width:759px){ .cmdbar{position:static;flex-wrap:nowrap;gap:4px;padding:8px;min-height:64px} #nav-open{min-width:44px;min-height:44px;justify-content:center;padding:0} .wordmark{flex:1 1 auto;min-width:0;margin:0;font-size:16px;gap:5px} .mosaic-logo{width:28px;height:28px} .cmdk{order:0;flex:0 0 44px;width:44px;min-width:44px;height:44px;padding:0;justify-content:center;border:0;background:transparent} .cmdk span,.cmdk kbd{display:none} .cmd-right{flex:0 0 auto;gap:0;margin-left:0!important;flex-wrap:nowrap} .cmd-right .processing-link,.cmd-right #pause{display:none} .cmdbar .header-action{width:44px;min-width:44px;padding:0} .cmdbar .header-action span{display:none} .avatar-wrap>button{width:44px;min-width:44px;padding:0;justify-content:center} .avatar-menu{position:absolute;top:calc(100% + 8px);right:0;width:min(240px,calc(100vw - 16px))} .avatar-menu .mobile-menu-item{display:block!important} } /* Extreme zoom can reduce the CSS viewport below the width of all controls. */ @media(max-width:330px){.cmdbar{flex-wrap:wrap}.wordmark{flex:1 1 auto}.cmd-right{margin-left:auto!important}} /* Wrap only when zoom leaves insufficient room for the controls. */ .cmdbar{flex-wrap:wrap} /* Round 3: reference hierarchy, navigation and keyboard targets. */ .tree,footer.foot{background:var(--nav-surface)} .content h1{font-size:var(--title-size);font-weight:800} #dashboard-business{font-size:var(--subtitle-size)} #held-section h2,.dashboard-card h2{font-size:var(--section-size);font-weight:700} .breadcrumbs{font-size:var(--breadcrumb-size);flex-wrap:wrap}.breadcrumbs > *{min-width:0;overflow-wrap:anywhere} .s1-section{font-size:var(--nav-label-size);font-weight:500;color:var(--strong)} .s1-section svg.i{width:var(--nav-icon-size);height:var(--nav-icon-size);stroke-width:var(--nav-icon-stroke)} .s1-section[aria-current=page] svg{color:var(--strong)} .mosaic-logo rect:nth-child(1){fill:var(--logo-a)}.mosaic-logo rect:nth-child(2){fill:var(--logo-b)}.mosaic-logo rect:nth-child(3){fill:var(--logo-c)}.mosaic-logo rect:nth-child(4){fill:var(--logo-d)} .avatar-initial,.btn.primary{background:var(--accent-fill);color:var(--on-accent)}.btn.primary{border-color:var(--accent-fill)} #dashboard-summary,.dashboard-card{border-radius:var(--dashboard-radius)} .kpi{border-color:var(--line-soft)}.kpi div{font-size:var(--kpi-label-size);font-weight:600}.kpi strong{font-size:var(--kpi-value-size);font-weight:700}.kpi span{font-size:var(--kpi-caption-size)} .kpi-footer{border-top:0;padding:0 18px 16px} .content h2 .count{font-size:inherit;font-weight:inherit;line-height:inherit;color:var(--muted);background:none;border-radius:0;padding:0;margin-left:0;vertical-align:baseline}.content h2 .count::before{content:'ยท '} #bus-view:has(> .chat-area){container-type:inline-size} .chat-area > h1,.chat-area > h1 + p{position:relative;left:min(0px,calc((72rem - 100cqw)/2))} .processing-link,#dashboard-inbox > a,#board-head .filters label{display:inline-flex;align-items:center;min-height:44px} .avatar-menu a[role=menuitem],.avatar-menu button[role=menuitem]{display:flex;align-items:center;min-height:44px} .avatar-menu #local-sign-out{opacity:1;color:var(--muted)} #dashboard-processing .btn:disabled{opacity:1;color:var(--muted)} @media(max-width:759px){ .content h1{font-size:var(--title-size-mobile)} #held-section h2,.dashboard-card h2{font-size:var(--section-size-mobile)} .kpi strong{font-size:var(--kpi-value-size-mobile)} .cmdbar #nav-open{border:0;background:transparent;color:var(--text)} .avatar-menu .mobile-menu-item{display:flex!important} .cmd-right .processing-link{display:none} } @media(min-width:760px) and (max-width:1100px){.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:16px}.kpi:nth-child(4){border-right:0}} /* Appearance toggle shares the existing saved appearance setting. */ .theme-switch{display:inline-flex;align-items:center;justify-content:center;width:56px;min-width:56px;height:44px;padding:0;border:0;border-radius:var(--r);background:transparent;color:var(--muted);cursor:pointer} .theme-switch:hover{background:var(--raised)} .theme-switch:focus-visible{outline:2px solid var(--action);outline-offset:2px} .theme-track{position:relative;display:flex;align-items:center;justify-content:space-between;width:42px;height:24px;padding:4px;border:1px solid var(--line);border-radius:999px;background:var(--raised)} .theme-track svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round} .theme-thumb{position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:var(--action);transition:transform .15s ease} .theme-switch[aria-checked="true"] .theme-thumb{transform:translateX(18px)} @media(max-width:759px){.theme-switch{width:48px;min-width:48px}.cmd-right #refresh{display:none}}