/* The tree, current card and peer group use the workspace's selected palette. */
.card-structure {
  --focus-ink:var(--ai-ink,#40235e); --focus-band:var(--ai-accent,#7542a6);
  --focus-edge:var(--ai-edge,#ceb4e4); --focus-wash:var(--ai-wash,#f0e5fa);
  --kin-ink:var(--ai-pair-ink,#205957); --kin-band:var(--ai-pair-mid,#aae4d5);
  --peer-ink:var(--process-ink,#344875); --peer-band:var(--process-band,#d4dff8);
  display:grid; gap:.9rem; direction:rtl; inline-size:100%; min-inline-size:0;
  color:#26343b; text-align:start; line-height:1.5;
}
[data-ai-theme="green"] {--process-ink:#654a1e;--process-band:#f1d9aa}
[data-ai-theme="blue"] {--process-ink:#255743;--process-band:#c7e5d5}
.card-structure *, .case-file * {box-sizing:border-box;min-inline-size:0}
.card-structure .structure-panel {
  position:relative;display:grid;align-content:start;gap:.48rem;min-width:0;width:100%;
  margin:0;padding:.48rem;border:1.5px solid var(--focus-edge);border-radius:1rem;
  box-shadow:none;background:color-mix(in srgb,var(--focus-wash) 40%,white);
}
.card-structure .structure-heading,.card-structure .structure-label,.case-section-title {
  display:flex;align-items:center;gap:.42rem;margin:0;font-weight:700;line-height:1.45;
}
.card-structure .structure-vertical>.structure-heading {
  width:fit-content;color:var(--focus-ink);font-size:.98rem;padding:.03rem .28rem .12rem;
}
.structure-heading .atlas-line-icon,.case-section-title .atlas-line-icon {width:1.12rem;height:1.12rem;flex:none}
.card-structure .structure-box {
  position:relative;width:100%;margin:0;padding:0;border:1px solid var(--band);
  border-radius:.67rem;background:white;box-shadow:none;
}
.card-structure :is(.structure-parents,.structure-children) {--band:var(--kin-band);--band-text:var(--kin-ink)}
.card-structure .structure-focus {--band:var(--focus-band);--band-text:white}
.card-structure .structure-label,.card-structure .structure-horizontal>.structure-heading {
  justify-content:center;width:100%;padding:.23rem .45rem;border-radius:.58rem .58rem 0 0;
  background:var(--band);color:var(--band-text);font-size:.91rem;text-align:center;
}
.structure-label .atlas-line-icon {width:1rem;height:1rem;flex:none}
.structure-vertical>.structure-box+.structure-box::before {
  content:'';position:absolute;z-index:0;bottom:calc(100% + 1px);left:50%;height:.48rem;
  border-inline-start:1.5px solid var(--focus-edge);pointer-events:none;
}
.structure-list,.structure-grand,.structure-stage-list {display:flex;flex-wrap:wrap;align-items:stretch;gap:.32rem}
.structure-parents>.structure-list,.structure-children>.structure-list,.structure-children>.structure-more,.structure-parents>.structure-more {
  padding:.32rem .42rem;
}
.structure-parents>.structure-list,.structure-children>.structure-list {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr))}
.structure-branch {display:grid;gap:.19rem;align-content:start}
.structure-grand {display:grid;border-inline-start:1px solid var(--kin-band);padding-inline-start:.45rem;margin:.08rem .22rem}
.structure-depth,.structure-before,.structure-empty {font-size:.84rem;line-height:1.45;color:#4f5c65}
.structure-depth {color:var(--kin-ink)}
.structure-empty {display:block;padding:.26rem .44rem}
.card-structure .structure-chip,.structure-stage-list .structure-chip {
  display:inline-flex;flex-direction:column;align-items:start;justify-content:center;gap:.12rem;
  max-inline-size:100%;min-height:2.75rem;margin:0;padding:.26rem .48rem;
  border:1px solid color-mix(in srgb,var(--kin-band) 55%,#e6eaec);border-radius:.48rem;
  background:color-mix(in srgb,var(--kin-band) 12%,white);color:var(--kin-ink);font:inherit;
  font-size:.94rem;text-align:start;white-space:normal;overflow-wrap:anywhere;
}
.structure-name {font-weight:650;line-height:1.5}
.structure-chip-meta {display:flex;align-items:center;flex-wrap:wrap;gap:.16rem .4rem;color:#4b5962}
.structure-owner,.structure-status,.structure-here {display:inline-flex;align-items:center;gap:.2rem;font-size:.78rem;line-height:1.4}
.structure-owner .atlas-line-icon {width:.82rem;height:.82rem;flex:none}
.structure-status {padding:0 .25rem;border-radius:.25rem;background:#ffffffab}
.structure-chip.restricted {border-style:dashed}
.structure-here {color:var(--focus-ink);font-weight:bold}
.card-structure :is(button,summary):focus-visible,.case-file :is(button,summary,a):focus-visible {outline:2px solid var(--ai-accent,#7542a6);outline-offset:2px}
.structure-more,.structure-stages,.structure-extras>details,.structure-other-actions {font-size:.89rem}
.structure-more summary,.structure-stages summary,.case-section summary,.structure-other-actions summary {padding:.18rem 0;cursor:pointer;color:var(--focus-ink,#40235e)}
.structure-more[open]>summary,.structure-stages[open]>summary {margin-block-end:.22rem}
.structure-stages:empty,.structure-extras:empty,.structure-pane:empty,.structure-more:empty,.structure-other-actions:not(:has(button,select,textarea,a)),.case-section.case-actions:has(>.case-section-body:empty) {display:none}
.card-structure .structure-horizontal {
  --band:var(--peer-band);--band-text:var(--peer-ink);gap:.38rem;
  padding:0 0 .36rem;background:white;border-color:var(--peer-band);
}
.card-structure .structure-horizontal>.structure-heading {border-radius:.85rem .85rem 0 0;font-size:.98rem}
.structure-peer-group {margin:0 .42rem;padding:.16rem .12rem 0}
.structure-peer-group+.structure-peer-group {border-block-start:1px solid var(--peer-band);padding-block-start:.42rem}
.structure-peer-parent {display:flex;align-items:center;gap:.35rem}
.structure-peer-parent>.atlas-line-icon {width:1rem;height:1rem;flex:none;color:var(--kin-ink)}
.structure-parent-label {color:var(--kin-ink);font-size:.85rem}
.card-structure .structure-parent-caption {min-height:2.5rem;flex:auto;flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:wrap}
.card-structure .structure-rail {
  display:flex;align-items:stretch;gap:.4rem;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;
  scroll-snap-type:inline proximity;padding:.43rem .05rem .15rem;scrollbar-width:thin;scrollbar-color:var(--peer-band) transparent;
}
.structure-peer {display:grid;align-content:start;gap:.1rem;min-width:0}
.structure-peer>.structure-chip {width:100%}
.structure-rail>.structure-peer {flex:1 0 7.8rem;max-width:min(76%,15.5rem);scroll-snap-align:start}
.structure-rail .structure-chip {height:100%;background:color-mix(in srgb,var(--peer-band) 32%,white);border-color:var(--peer-band);color:var(--peer-ink)}
.card-structure .structure-chip[aria-current],.structure-stage-list .structure-chip[aria-current] {background:var(--focus-wash);border-color:var(--focus-band);color:var(--focus-ink)}
.structure-before {padding-inline:.18rem}
@media(hover:hover){.card-structure button.structure-chip:hover {outline:1px solid currentColor;outline-offset:-2px}}
.card-structure .structure-hero {
  display:flex;align-items:center;justify-content:space-between;gap:.65rem;width:100%;
  padding:.58rem .84rem;background:var(--focus-ink);color:white;
}
.structure-hero-copy {flex:1 1 auto;min-width:0}
.structure-hero-info {display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-block-end:.15rem;font-size:.86rem}
.structure-live-state {display:inline-block;border:1px solid #ffffff59;color:white;border-radius:1rem;padding:.03rem .43rem;font-size:.79rem}
.card-structure .structure-hero .structure-hero-title {margin:0;color:white;font-size:clamp(1.08rem,4.4vw,1.42rem);line-height:1.48;overflow-wrap:anywhere}
.structure-drawing {width:clamp(3.15rem,18%,6.5rem);height:auto;flex:none;max-height:4.7rem;color:var(--ai-mid,#d5abf5)}
.structure-phase {display:flex;align-items:baseline;flex-wrap:wrap;gap:.22rem .65rem;padding:.6rem .7rem .2rem}
.structure-phase>span {font-size:.85rem;color:#4b5962}
.structure-phase strong {font-size:1rem;color:var(--focus-ink)}
.card-structure .structure-content {display:flow-root;min-width:0;margin:0;padding:.4rem .65rem .55rem;border:0;background:transparent;box-shadow:none;overflow-wrap:anywhere}
.card-structure .structure-focus p {margin:.25rem 0;line-height:1.55}
.structure-shortcuts,.structure-content :is(.follow-badges,.case-focus-meta,.follow-choices,.structure-controls,.follow-foot) {
  display:flex;align-items:center;flex-wrap:wrap;gap:.3rem .45rem;margin:.2rem 0;
}
.structure-shortcuts:empty {display:none}
.card-structure .structure-focus button,.card-structure .structure-focus .follow-choices button {width:auto;max-width:100%;min-height:2.65rem;margin:0;padding:.28rem .59rem;white-space:normal;line-height:1.45;font-size:.91rem}
.card-structure .structure-shortcuts .structure-shortcut {display:inline-flex;flex:1 1 auto;justify-content:center;align-items:center;gap:.35rem;min-height:2.75rem;border:1px solid var(--focus-edge);border-radius:.55rem;background:white;color:var(--focus-ink);font-weight:700}
.card-structure .structure-shortcuts .structure-shortcut:first-child {background:var(--focus-band);color:white;border-color:var(--focus-band)}
.structure-shortcut .atlas-line-icon {width:1.1rem;height:1.1rem;flex:none}
.structure-other-actions {margin-block:.3rem}
.structure-focus .follow-badges b,.structure-focus .follow-badges span {padding:.1rem .35rem;font-size:.85rem;line-height:1.45}
.card-structure .structure-focus .follow-foot {border:0;padding:0;gap:.25rem .6rem}
.structure-extras {display:flex;align-items:start;flex-wrap:wrap;gap:.15rem .7rem;margin-block-start:.16rem}
.structure-extras>details[open] {flex-basis:100%}
.card-structure .structure-focus .card-referral {display:flex;flex-wrap:wrap;gap:.18rem .65rem;padding:.24rem 0;margin:.23rem 0;border:0;background:transparent;font-size:.85rem}
.structure-focus .card-referral>div {display:inline-flex;flex-wrap:wrap;gap:.25rem;align-items:baseline}
.structure-focus .card-referral dt,.structure-focus .card-referral dd {margin:0}
.structure-focus .card-referral dt {color:#53616c;font-weight:400}
.structure-focus .card-referral dd {color:#263841;font-weight:600}
.card-structure .structure-focus .follow-case-info {width:100%;margin:.24rem 0;padding:.22rem 0;border:0;background:transparent}
.follow-round .follow-question:has(.card-structure) {padding:.58rem clamp(.28rem,2vw,.9rem)}
.follow-case-dialog.follow-case-dialog:has(.card-structure) {padding:0;max-block-size:90dvh;inline-size:min(95vw,42rem);max-inline-size:95vw}
.follow-case-dialog .case-file {margin:0;padding:0;border:0;background:transparent;box-shadow:none}
.follow-case-dialog .follow-case-back[hidden] {display:none}
.work-dialog.follow-case-dialog .case-file-header {
  z-index:2;
  align-items:center;
  gap:.38rem;
  padding:.53rem .82rem;
  border:0;
  border-bottom:1px solid var(--ai-edge,#ceb4e4);
  background:white;
  color:var(--ai-ink,#40235e);
}
.case-file-heading {flex:1 1 auto;min-inline-size:0}
.case-file-caption {display:flex;align-items:center;gap:.35rem;color:var(--ai-ink,#40235e);font-size:.77rem;line-height:1.5}
.case-file-caption .atlas-line-icon {inline-size:.95rem;block-size:.95rem}
.work-dialog .case-file-header h2 {position:absolute;inline-size:1px;block-size:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0}
.work-dialog .case-file-header button {margin:0;flex:none;min-height:2.4rem;padding:.23rem .56rem;color:var(--ai-ink,#40235e);border:1px solid var(--ai-edge,#ceb4e4);background:white;font-size:.85rem}
.work-dialog .case-file-header button:hover {background:var(--ai-wash,#f0e5fa)}
.follow-case-dialog:has(.case-file-header)>.follow-case-top+div {padding:.65rem;background:#f6f8fa}
.case-file>.card-structure, .case-file>.case-section, .case-file>.case-metadata {margin:0 0 .62rem}
.case-file>.case-section:last-child {margin-bottom:0}
.case-focus-heading {display:flex;align-items:center;justify-content:space-between;gap:.4rem}
.case-focus-meta {display:flex;align-items:center;flex-wrap:wrap;gap:.25rem .4rem;margin:.2rem 0 0}
.case-focus-meta .case-state,.case-focus-meta .case-focus {
  display:inline-flex;align-items:center;gap:.3rem;border-radius:.38rem;padding:.12rem .42rem;
  font:inherit;font-size:.82rem;line-height:1.5;
}
.case-focus-meta .case-focus {background:#fff0d9;color:#79430c;border:1px solid #efd2a7}
.case-focus-meta .case-owner {display:inline-flex;align-items:center;gap:.25rem;color:#465d6a;font-size:.83rem}
.case-focus-meta .case-state[data-tone=active] {background:#f9e6d7;color:#713c19}
.case-focus-meta .case-state[data-tone=done] {background:#def0e5;color:#25563b}
.case-focus-meta .case-state[data-tone=review] {background:#fff0ce;color:#74501b}
.case-focus-meta .case-state[data-tone=shared] {background:#e7f0f7;color:#2f5776}
.case-section,.case-metadata>.case-section {
  --section-ink:#355d70;
  --section-tint:#eaf3f7;
  margin:0;
  padding:.62rem .74rem;
  border:1px solid #d9e3e8;
  border-radius:.76rem;
  background:#fff;
}
.case-section .case-section-title {font-size:.97rem;margin:0 0 .35rem;color:var(--section-ink)}
.case-section-title .atlas-line-icon {box-sizing:content-box;padding:.23rem;border-radius:.4rem;background:var(--section-tint)}
.case-section.case-team-notes {--section-ink:#25645e;--section-tint:#dff2ec;border-color:#cbe1d9}
.case-section.case-history {--section-ink:#4f507a;--section-tint:#eeedf8}
.case-section.case-tags {--section-ink:#6e4a30;--section-tint:#faf0df}
.case-section.case-people {--section-ink:#4d4c7d;--section-tint:#eeedf8}
.case-section.case-actions {--section-ink:#78411c;--section-tint:#f9e7d5;padding:.35rem 0 .12rem;border:0;border-top:1px solid #ead5bf;border-radius:0;background:transparent;margin:.35rem 0}
.case-section.case-actions .case-section-title {font-size:.86rem;margin:0}
.case-actions .case-section-title .atlas-line-icon {inline-size:.9rem;block-size:.9rem;padding:.1rem}
.case-section p {margin:.32rem 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}
.case-section details {margin:.32rem 0}
.case-section details:last-child {margin-block-end:0}
.case-section-body {min-inline-size:0}
.case-section .case-comment {padding:.48rem .14rem}
.case-metadata {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:.48rem;align-items:stretch}
.case-member-list, .case-section .card-tags {display:flex;flex-wrap:wrap;align-items:start;gap:.3rem;margin:0}
.case-member-list>span {color:#46456e;background:#f2f1fa;border:1px solid #e1deef;border-radius:.38rem;padding:.12rem .44rem;font-size:.85rem}
#workspace .case-section .card-tags>span, .work-dialog .case-section .card-tags>span {
  padding:.12rem .52rem;border:1px solid var(--tag-line,#d4dfe5);border-radius:1rem;
  color:var(--tag-ink,#435466);background:var(--tag-tint,#edf2f5);font-size:.84rem;
}
.card-tags [data-tone=finance] {--tag-ink:#775112;--tag-tint:#fcf1d5;--tag-line:#ebdba9}
.card-tags [data-tone=mold] {--tag-ink:#62457d;--tag-tint:#f1eafa;--tag-line:#dacde9}
.card-tags [data-tone=planning] {--tag-ink:#245b7a;--tag-tint:#e4f2f9;--tag-line:#c3e0ef}
.card-tags [data-tone=sales] {--tag-ink:#823f61;--tag-tint:#f9e9f0;--tag-line:#edcddd}
.card-tags [data-tone=production] {--tag-ink:#81451c;--tag-tint:#fcecdf;--tag-line:#efd4c0}
.card-tags [data-tone=service] {--tag-ink:#256454;--tag-tint:#e5f3ec;--tag-line:#c6dfd0}
.case-section .case-timeline {list-style:none;margin:0;padding:0}
.case-timeline>li {position:relative;border-inline-start:2px solid #dcddea;padding:.1rem .7rem .5rem 0;padding-inline:.72rem 0;margin-inline-start:.25rem}
.case-timeline>li::before {position:absolute;content:"";inline-size:.41rem;block-size:.41rem;background:#8384a7;border-radius:50%;inset-inline-start:-.27rem;inset-block-start:.55rem}
.case-event-by {display:flex;flex-wrap:wrap;align-items:baseline;gap:.3rem .65rem}
.case-event-by strong {color:#333a51;font-size:.88rem}
.case-event-by time {color:#5d6877;font-size:.78rem}
.case-timeline>li p {margin:.13rem 0 0}
.work-board .case-overview {border-inline-start:.2rem solid #819ca6;padding:.58rem .7rem;border-radius:.68rem}
.work-board .case-overview .cardtitle {width:auto;min-height:2.2rem;padding:.1rem 0;margin:0;color:#234353;text-align:start;font-size:1rem;font-weight:700;line-height:1.5}
.work-board .case-overview .cardtitle:hover {text-decoration:underline;text-underline-offset:.17em}
@media(max-width:480px){
  main:has(#workspace:not([hidden])) {padding-inline:.5rem}
  .follow-round .follow-question:has(.card-structure) {padding-inline:.18rem}
  .card-structure {gap:.78rem}
  .card-structure .structure-vertical {padding:.38rem;gap:.4rem;border-radius:.85rem}
  .structure-vertical>.structure-box+.structure-box::before {height:.4rem}
  .structure-drawing {width:3.5rem}
  .structure-parents>.structure-list {grid-template-columns:repeat(auto-fit,minmax(min(100%,9.4rem),1fr))}
  .card-structure .structure-chip {min-block-size:2.16rem;padding:.19rem .42rem}
  .card-structure .structure-grand .structure-chip {min-block-size:2.5rem}
  .follow-case-dialog:has(.case-file-header)>.follow-case-top+div {padding:.4rem}
  .case-section,.case-metadata>.case-section {padding:.48rem .55rem}
  .work-dialog .case-file-header {padding:.45rem .54rem}
}

.card-menu-wrap{width:100%}
.card-menu-status{display:block;color:#8d3b1e}.card-menu-status:empty{display:none}
.sales-case-panel:not([hidden]){display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;padding-block:.3rem}
.sales-case-panel>span{font-weight:700;font-size:.82rem;color:#335348}

/* Card actions share the same compact layout in a case, a queue question and a subcard. */
.work-action-section{margin:.45rem 0;padding:.46rem .55rem;border:1px solid #d9d3e2;border-radius:.65rem;background:#fff}
.work-action-section h5{margin:0 0 .3rem;color:var(--focus-ink,#40235e);font-size:.91rem;line-height:1.45}
.work-action-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.28rem}
.work-action-notes{border-color:#cbded7;background:#f6fbf9}
.work-action-notes h5{color:#275f52}
.work-action-notes .work-action-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}
.work-action-tools{background:#f7f6fa}
.work-action-tools .work-card-labels{display:flex;flex-wrap:wrap;gap:.3rem;margin-block-start:.4rem;min-inline-size:0}
#workspace .work-action-tools .work-card-labels>span,.work-dialog .work-action-tools .work-card-labels>span{
  padding:.12rem .55rem;border:1px solid var(--tag-line,#d4dfe5);border-radius:1rem;
  color:var(--tag-ink,#435466);background:var(--tag-tint,#edf2f5);font-size:.85rem;
  max-inline-size:100%;overflow-wrap:anywhere;
}
.work-card-labels [data-tone=person]{--tag-ink:#264974;--tag-tint:#eaf2ff;--tag-line:#c7d9ee}
.work-card-labels [data-tone=urgent]{--tag-ink:#873801;--tag-tint:#fff0df;--tag-line:#e6bd94}
.note-notice-actions{display:flex;gap:.45rem;flex-wrap:wrap}
.note-inbox article>p{white-space:pre-wrap;overflow-wrap:anywhere}
.card-notes-thread .card-note-target{border-inline-start:3px solid #397293;background:#edf6fb}
button.card-identity-chip{cursor:pointer;min-block-size:2.3rem;font:inherit}
button.card-identity-chip:focus-visible{outline:2px solid #245b7a;outline-offset:2px}

.card-structure .work-action-buttons .structure-shortcut,.work-action-buttons .structure-shortcut{
  display:flex;align-items:center;justify-content:center;gap:.26rem;width:100%;min-width:0;min-height:2.75rem;
  margin:0;padding:.28rem .28rem;background:#fff;color:#40324d;border:1px solid #cec6d8;border-radius:.46rem;
  font-size:.88rem;font-weight:650;line-height:1.35;text-align:center
}
.card-structure .work-action-results .work-action-buttons [aria-pressed=true]:enabled{background:var(--focus-band,#624477);border-color:var(--focus-band,#624477);color:#fff}
.card-structure .work-action-buttons .structure-shortcut:disabled,.work-action-section .structure-shortcut:disabled{background:#f1f1f3;color:#64636a;border-color:#d7d6da;cursor:default}
.work-action-section .structure-shortcut .atlas-line-icon{width:1rem;height:1rem;flex:none}
.work-action-section>small:not(:empty){display:block;padding-block-start:.25rem;color:#565361;font-size:.84rem}
.work-result-context{display:flex;flex-wrap:wrap;gap:.28rem;margin-top:.32rem;align-items:center}
.work-result-context:empty,.work-result-context:not(:has(button,span,p)){display:none}
@media(max-width:420px){.work-action-buttons .structure-shortcut{flex-direction:column;gap:.16rem}.work-action-section{padding:.38rem;margin:.32rem 0}}
.work-result-setup:not(:has(button)){display:none}
.work-action-section .sales-case-panel{margin:0;padding-block:0}

/* Equal side tracks keep wrapped titles centered while the identifier stays left. */
.work-card-heading {
  display:grid !important;grid-template-columns:minmax(3.1em,1fr) minmax(0,7fr) minmax(3.1em,1fr);
  align-items:center;gap:.25em;direction:ltr;inline-size:100%;min-inline-size:0;
}
.work-card-heading>.work-card-title {grid-area:1/2;direction:rtl;text-align:center;overflow-wrap:anywhere}
.work-card-heading>.work-card-number {grid-area:1/1;justify-self:start;direction:ltr;font-size:.82em;font-variant-numeric:tabular-nums}
.card-structure .structure-hero-info {justify-content:flex-start}
.card-structure .structure-hero-info .structure-drawing {margin-inline-start:auto;width:2.75rem;height:1.75rem}

#workspace .card-structure .structure-focus .card-navigation {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.32rem;
  margin-block-start:.6rem;padding:.4rem;border:1px solid var(--ai-edge,#cbcfd5);
  border-radius:.65rem;background:var(--ai-wash,#f6f7f9);
}
#workspace .card-structure .structure-focus .card-navigation>button {
  display:flex;align-items:center;justify-content:center;gap:.25rem;margin:0;
  width:100%;min-width:0;min-height:44px;padding:.32rem .16rem;
  border:1px solid var(--ai-edge,#cbcfd5);border-radius:.45rem;
  background:white;color:var(--ai-ink,#263748);box-shadow:none;
  font:inherit;font-size:.88rem;font-weight:600;line-height:1.4;white-space:normal;
}
#workspace .card-navigation .atlas-line-icon {flex:none;width:1em;height:1em}
#workspace .card-navigation>button:focus-visible {outline:2px solid currentColor;outline-offset:1px}

#workspace .card-navigation{direction:rtl}
.work-action-tools [data-card-action=members] span{white-space:nowrap}
.work-action-tools .work-action-buttons{align-items:stretch}
@media(max-width:420px){
  .card-structure .work-action-tools .work-action-buttons .structure-shortcut{min-height:44px;padding:.2rem .12rem;line-height:1.2;gap:.1rem}
}
.structure-content .follow-badges:has(.card-urgency-switch){display:flex;align-items:center;width:100%}
.card-structure .structure-focus .follow-badges .card-urgency-switch {
 display:inline-flex;align-items:center;justify-content:center;gap:.2rem;margin-inline-start:auto;
 padding:.1rem .6rem;min-height:2.45rem;border:1px solid #8a9197;border-radius:999px;background:#f2f3f4;color:#4f565d
}
#workspace .follow-badges .card-urgency-switch span{background:transparent;color:inherit;padding:0}
.card-urgency-switch .atlas-line-icon{width:1.1rem;height:1.1rem}
.card-urgency-switch[aria-pressed=false] span{text-decoration:line-through;text-decoration-thickness:2px}
.card-structure .structure-focus .follow-badges .card-urgency-switch[aria-pressed=true]{background:#ad350f;color:white;border-color:#942e0d}
.structure-content .follow-badges:has(.card-urgency-switch)+.card-identity {justify-content:space-between;width:100%}

.card-structure .structure-chip .work-card-heading{grid-template-columns:max-content minmax(0,1fr);column-gap:.45rem}
.card-structure .structure-chip .work-card-title{text-align:start;overflow-wrap:break-word;word-break:normal}
.structure-peer-parent .structure-parent-label{flex:none;white-space:nowrap}
@media(max-width:600px){
  .card-structure .structure-rail{display:grid;grid-template-columns:minmax(0,1fr);overflow:visible}
  .structure-rail>.structure-peer{max-width:none}
  .card-structure .structure-parent-caption{min-width:0}
}
.follow-round[data-history=true] .work-action-results button[aria-pressed=true]{background:var(--focus-band);color:white;border-color:var(--focus-band);opacity:1;font-weight:700}
.card-structure .work-action-section.work-action-results{
  background:color-mix(in srgb,var(--focus-wash,#e5eff8) 75%,white);
  border:1px solid var(--focus-edge,#a6bfd4);border-inline-start:4px solid var(--focus-band,#38698b)
}
.card-structure .work-action-results>h5{color:var(--focus-ink,#224565);font-weight:750}
.work-action-notes .work-action-buttons:empty{display:none}
