.wb-shell{
  --wb-primary:var(--dj-primary, #24483E);
  --wb-primary-dark:var(--dj-primary, #24483E);
  --wb-primary-deep:var(--dj-primary, #24483E);
  --wb-primary-soft:#eaf1ed;
  --wb-gold:var(--dj-gold, #d18100);
  --wb-gold-soft:#f4ead5;
  --wb-ink:#1b2420;
  --wb-muted:#6b746f;
  --wb-line:#dfddd5;
  --wb-line-soft:#ebe8df;
  --wb-surface:#fffdfa;
  --wb-canvas:#f6f2e9;
  --wb-warning:#9a6a1c;
  --wb-warning-bg:#fff8e8;
  --wb-danger:#a33a3a;
  height:100vh;
  display:grid;
  grid-template-columns:232px minmax(0,1fr);
  overflow:hidden;
  position:relative;
  background:var(--wb-canvas);
  color:var(--wb-ink);
  font-family:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",system-ui,sans-serif;
}
.wb-shell,.wb-shell *{box-sizing:border-box}
.wb-sidebar{
  width:232px;
  min-width:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  position:relative;
  z-index:8;
  color:#f8f5ed;
  background:var(--wb-primary-deep);
  border-right:1px solid rgba(177,138,72,.24);
}
.wb-brand{
  min-height:72px;
  display:flex;
  align-items:center;
  gap:11px;
  padding:0 18px;
  border-bottom:1px solid rgba(255,255,255,.09);
  white-space:nowrap;
}
.wb-brand-mark{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  flex:0 0 34px;
  border:0;
  border-radius:10px;
  background:rgba(255,255,255,.035);
  color:#e3c98e;
  font-family:serif;
  font-size:15px;
  font-weight:700;
  box-shadow:none;
}
.wb-brand-mark img{width:32px;height:32px;object-fit:contain;display:block}
.wb-brand-copy{display:flex;min-width:0;flex-direction:column;gap:2px}
.wb-brand-copy strong{font-size:17px;line-height:1.2;letter-spacing:.06em}
.wb-brand-copy small{color:#c7c9bf;font-size:10px;letter-spacing:.08em}
.wb-sidebar nav{
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:18px 12px;
}
.wb-sidebar nav a{
  min-height:44px;
  display:flex;
  align-items:center;
  gap:11px;
  position:relative;
  padding:8px 12px;
  border-radius:9px;
  color:#cbd2cd;
  text-decoration:none;
  font-size:14px;
  white-space:nowrap;
  transition:background 140ms ease,color 140ms ease;
}
.wb-sidebar nav a:before{
  content:"";
  position:absolute;
  left:-12px;
  top:10px;
  bottom:10px;
  width:3px;
  border-radius:0 2px 2px 0;
  background:transparent;
}
.wb-sidebar nav a i{
  width:20px;
  height:20px;
  display:grid;
  place-items:center;
  flex:0 0 20px;
  color:#bfc8c2;
  font-style:normal;
}
.wb-sidebar nav a i svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.wb-sidebar nav a:hover{background:rgba(255,255,255,.055);color:#fff}
.wb-sidebar nav a:hover i{color:#e4cf9f}
.wb-sidebar nav a.is-active{
  background:var(--wb-primary);
  color:#fff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.045);
}
.wb-sidebar nav a.is-active:before{background:#d1ad67}
.wb-sidebar nav a.is-active i{color:#e4c887}
.wb-user{
  min-height:78px;
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:auto;
  padding:14px 14px;
  border-top:1px solid rgba(255,255,255,.09);
  background:rgba(0,0,0,.055);
}
.wb-user-avatar{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  flex:0 0 34px;
  border:1px solid rgba(209,177,111,.36);
  border-radius:50%;
  background:var(--wb-primary);
  color:#f7ecd2;
  font-weight:700;
}
.wb-user>div{display:flex;min-width:0;flex-direction:column;gap:2px}
.wb-user strong{max-width:82px;overflow:hidden;text-overflow:ellipsis;font-size:12px;white-space:nowrap}
.wb-user small{color:#9fa9a2;font-size:10px}
.wb-account-security{
  margin-left:auto;
  border:1px solid rgba(255,255,255,.16);
  border-radius:7px;
  padding:6px 8px;
  background:transparent;
  color:#ccd2ce;
  font:inherit;
  font-size:10px;
  cursor:pointer;
  white-space:nowrap;
}
.wb-account-security:hover{border-color:rgba(209,177,111,.48);color:#f7ecd2}
#workbench-sidebar-overlay,#workbench-mobile-menu{display:none}

.wb-main{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.wb-topbar{
  min-height:72px;
  flex:0 0 72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:0 26px;
  background:#fffdfa;
  border-bottom:1px solid var(--wb-line);
}
.wb-topbar>div{display:flex;align-items:center;gap:11px;min-width:0}
.wb-topbar strong{font-size:19px;font-weight:700;letter-spacing:.02em;color:var(--wb-primary)}
.wb-case-title{
  max-width:300px;
  overflow:hidden;
  padding-left:11px;
  border-left:1px solid var(--wb-line);
  color:var(--wb-muted);
  font-size:12px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.wb-status-pill{
  padding:4px 9px;
  border:1px solid #ead7aa;
  border-radius:999px;
  background:#fff8e8;
  color:#8a631d;
  font-size:11px;
  font-weight:650;
}
.wb-status-pill[data-status=READY_FOR_ANALYSIS]{border-color:#cbded4;background:#eef6f1;color:#245c49}
.wb-status-pill[data-status=NEEDS_CLARIFICATION]{border-color:#ead7aa;background:#fff8e8;color:#8a631d}
.wb-primary,.wb-send{
  border:1px solid var(--wb-primary);
  border-radius:9px;
  background:var(--wb-primary);
  color:#fff;
  font:inherit;
  font-size:13px;
  font-weight:650;
  cursor:pointer;
  transition:background 140ms ease,border-color 140ms ease,transform 140ms ease;
}
.wb-primary{padding:9px 15px;box-shadow:0 2px 7px rgba(16,47,40,.12)}
.wb-primary:hover,.wb-send:hover{border-color:var(--wb-primary-dark);background:var(--wb-primary-dark)}
.wb-primary:active,.wb-send:active{transform:translateY(1px)}
.wb-shell button:disabled{opacity:.55;cursor:wait;transform:none}
.wb-notice{
  position:absolute;
  z-index:9;
  top:80px;
  left:50%;
  min-height:0;
  margin:0;
  padding:0;
  transform:translateX(-50%);
  border-radius:9px;
  font-size:12px;
  pointer-events:none;
}
.wb-notice:not(:empty){
  padding:9px 14px;
  border:1px solid #ead7aa;
  background:#fff9ea;
  color:#74551d;
  box-shadow:0 8px 24px rgba(40,42,35,.12);
}
.wb-notice.is-error{border-color:#e5c0bd;background:#fff4f3;color:#923c38}
.wb-notice.is-success{border-color:#bfd8ca;background:#f0f7f3;color:#245e49}

.wb-columns{
  flex:1;
  min-height:0;
  display:grid;
  grid-template-columns:minmax(0,55fr) minmax(0,45fr);
  overflow:hidden;
}
.wb-chat,.wb-results{min-width:0;min-height:0;display:flex;flex-direction:column}
.wb-chat{background:#fffdfa;border-right:1px solid var(--wb-line)}
.wb-results{background:var(--wb-canvas)}
.wb-panel-head{
  min-height:52px;
  flex:0 0 52px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0 20px;
  border-bottom:1px solid var(--wb-line-soft);
  background:#fffdfa;
  font-size:13px;
}
.wb-panel-head>div{display:flex;align-items:center;gap:9px}
.wb-panel-head>div>i,.wb-live i{
  width:6px;
  height:6px;
  display:inline-block;
  border-radius:50%;
  background:var(--wb-gold);
  box-shadow:0 0 0 3px rgba(177,138,72,.11);
}
.wb-panel-head>span{color:var(--wb-muted);font-size:10px}
.wb-live{display:flex;align-items:center;gap:7px}
.wb-live i{background:#5d8b73;box-shadow:none}

.wb-messages{
  flex:1;
  min-height:0;
  overflow-y:auto;
  padding:24px 22px 20px;
  scrollbar-width:thin;
  scrollbar-color:#c7c5bd transparent;
}
.intake-message{display:flex;align-items:flex-start;gap:10px;margin-bottom:16px}
.intake-message>div{
  max-width:84%;
  padding:11px 14px;
  border-radius:11px;
  font-size:14px;
  line-height:1.72;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.intake-message-ai>div{
  border:1px solid var(--wb-line-soft);
  border-top-left-radius:3px;
  background:#fbfaf6;
  color:#26302b;
}
.intake-message-user{justify-content:flex-end}
.intake-message-user>div{
  border:1px solid #cfddd6;
  border-top-right-radius:3px;
  background:#edf4f0;
  color:var(--wb-primary);
}
.wb-avatar{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  flex:0 0 30px;
  border:1px solid #d9c28d;
  border-radius:50%;
  background:#fffaf0;
  color:#765a25;
  font-family:serif;
  font-size:11px;
  font-weight:700;
}
.wb-typing>div{color:var(--wb-muted)}
.wb-chat.is-dragging-files .wb-messages{box-shadow:inset 0 0 0 2px rgba(177,138,72,.45)}
.wb-attachment-card{
  min-width:220px;
  max-width:84%;
  display:block;
  text-align:left;
  border:1px solid #d9ddd8;
  border-radius:10px;
  padding:10px 12px;
  background:#fffdfa;
  color:var(--wb-ink);
  cursor:pointer;
}
.wb-attachment-card:hover{border-color:#b9cbbf;background:#f7faf8}
.wb-attachment-card strong,.wb-attachment-card small{display:block}
.wb-attachment-card strong{font-size:12px}
.wb-attachment-card small{margin-top:4px;color:var(--wb-muted)}
.wb-attachment-card.is-failed{border-color:#e3b8b5}
.wb-file-icon{
  width:16px;
  height:18px;
  display:inline-block;
  position:relative;
  margin-right:7px;
  vertical-align:-4px;
  border:1.5px solid #648071;
  border-radius:2px;
}
.wb-file-icon:after{
  content:"";
  position:absolute;
  right:-1px;
  top:-1px;
  width:5px;
  height:5px;
  border-left:1.5px solid #648071;
  border-bottom:1.5px solid #648071;
  background:#fffdfa;
}
.wb-file-preview{position:fixed;inset:0;z-index:30;padding:4vh 5vw;background:rgba(12,31,26,.72)}
.wb-file-preview>div{height:92vh;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--wb-line);border-radius:12px;background:#fffdfa;box-shadow:0 28px 70px rgba(0,0,0,.24)}
.wb-file-preview header{height:50px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid var(--wb-line)}
.wb-file-preview header button{border:0;background:transparent;color:#46534c;font-size:24px;cursor:pointer}
.wb-file-preview [data-preview-body]{flex:1;min-height:0;padding:12px}
.wb-file-preview iframe,.wb-file-preview img{width:100%;height:100%;border:0;object-fit:contain}
.wb-file-preview[hidden]{display:none}

.wb-composer{flex:0 0 auto;padding:15px 16px 11px;border-top:1px solid var(--wb-line);background:#fffdfa}
.wb-composer-row{
  display:flex;
  align-items:flex-end;
  gap:8px;
  padding:7px;
  border:1px solid #d8d8d0;
  border-radius:12px;
  background:#fff;
  transition:border-color 140ms ease,box-shadow 140ms ease;
}
.wb-composer-row:focus-within{border-color:#8aa799;box-shadow:0 0 0 3px rgba(33,75,63,.08)}
.wb-composer textarea{
  flex:1;
  min-width:0;
  max-height:160px;
  resize:vertical;
  border:0;
  padding:7px 6px;
  background:transparent;
  color:var(--wb-ink);
  font:inherit;
  font-size:14px;
  line-height:1.6;
}
.wb-composer textarea:focus{outline:0}
#workbench-evidence-file{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.wb-upload-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  position:relative;
  flex:0 0 38px;
  border:0;
  border-radius:8px;
  padding:0;
  background:transparent;
  color:#718078;
  cursor:pointer;
}
.wb-upload-icon:hover{background:var(--wb-primary-soft);color:var(--wb-primary)}
.wb-upload-icon svg{width:19px;height:19px}
.wb-upload-icon.is-loading{color:transparent;cursor:wait;opacity:.75}
.wb-upload-icon.is-loading:after{
  content:"";
  position:absolute;
  width:16px;
  height:16px;
  border:2px solid #c6d5ce;
  border-top-color:var(--wb-primary);
  border-radius:50%;
  animation:wb-spin .7s linear infinite;
}
@keyframes wb-spin{to{transform:rotate(360deg)}}
.wb-send{height:38px;padding:0 15px}
.wb-composer-meta{display:flex;align-items:center;gap:11px;margin-top:7px;padding-left:47px;color:#858d88;font-size:10px}
.wb-composer-meta span{margin-right:auto}
.wb-text-button{border:0;background:transparent;color:var(--wb-primary);padding:3px 0;font:inherit;font-size:10px;font-weight:650;cursor:pointer}
.wb-text-button:hover{color:var(--wb-primary-dark)}
.wb-send-settings{margin:7px 0 0 47px;padding:7px 9px;border:1px solid var(--wb-line);border-radius:7px;background:#fbfaf6;font-size:10px}
.wb-send-settings legend{padding:0 4px;color:var(--wb-muted)}
.wb-send-settings label{margin-right:12px}

.wb-result-scroll{
  flex:1;
  min-height:0;
  overflow-y:auto;
  padding:20px 22px 34px;
  scrollbar-width:thin;
  scrollbar-color:#c7c5bd transparent;
}
.wb-card{
  margin:0 0 12px;
  padding:15px 16px;
  border:1px solid var(--wb-line);
  border-radius:10px;
  background:rgba(255,253,250,.88);
  box-shadow:0 1px 2px rgba(31,41,36,.025);
  overflow-wrap:anywhere;
}
.wb-card h2{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:-15px -16px 12px;
  padding:12px 16px 11px;
  border-bottom:1px solid var(--wb-line-soft);
  color:#25342d;
  font-size:13px;
  font-weight:700;
}
.wb-card h2:before{
  content:"";
  width:3px;
  height:14px;
  flex:0 0 3px;
  margin-right:6px;
  border-radius:2px;
  background:#789486;
}
.wb-card h2 span{
  display:inline-block;
  margin-left:auto;
  border:1px solid #ead7aa;
  border-radius:999px;
  padding:2px 7px;
  background:#fff8e8;
  color:#8a631d;
  font-size:9px;
  font-weight:650;
}
.wb-card h3{margin:13px 0 7px;color:#526159;font-size:11px;font-weight:700}
.wb-card p,.wb-card li{font-size:12px;line-height:1.72}
.wb-card ul{list-style:none;margin:0;padding:0}
.wb-card li{position:relative;padding:8px 0 8px 16px;border-bottom:1px solid #eeece6}
.wb-card li:last-child{border-bottom:0}
.wb-card li:before{
  content:"";
  position:absolute;
  left:2px;
  top:16px;
  width:6px;
  height:6px;
  border:1px solid #729080;
  border-radius:50%;
  background:#fffdfa;
}
.wb-card small{display:block;margin-top:3px;color:var(--wb-muted)}
#workbench-timeline,#workbench-evidence{border-color:#d7ddd8}
#workbench-issues{border-color:#e4d7b9}
#workbench-issues h2:before{background:#b18a48}
#workbench-gaps{border-color:#e6d4aa;background:#fffaf0}
#workbench-gaps h2:before{background:#b18a48}
#workbench-completion{
  border-color:#cadbd2;
  background:#f6faf7;
}
#workbench-completion h2:before{background:#4f7965}
#workbench-roles,#workbench-skills,#workbench-analysis,#workbench-saved-facts{
  border-color:#e4e2db;
  background:rgba(255,253,250,.66);
}
.wb-warning{
  margin:0 0 9px;
  padding:8px 10px;
  border-left:3px solid #c7a159;
  border-radius:0 6px 6px 0;
  background:#fff9eb;
  color:#7c6129;
  font-size:11px!important;
}
.wb-empty{margin:4px 0;color:#808883}
.wb-facts pre{max-height:180px;overflow:auto;white-space:pre-wrap;font:12px/1.7 inherit;color:#4e5953}
.wb-card details summary{cursor:pointer;color:var(--wb-muted);font-size:11px}
.wb-evidence-file{border:0;background:transparent;color:var(--wb-primary);padding:0;font:inherit;font-weight:650;cursor:pointer}
.wb-evidence-file:hover{text-decoration:underline}
.wb-category-candidate{display:flex;align-items:center;gap:5px;margin-top:6px}
.wb-category-candidate select,.wb-category-candidate button{
  max-width:145px;
  border:1px solid var(--wb-line);
  border-radius:5px;
  background:#fff;
  padding:3px;
  color:var(--wb-ink);
  font:inherit;
  font-size:10px;
}
.wb-category-candidate button{color:var(--wb-primary);cursor:pointer}

.wb-shell .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.wb-shell :focus-visible{outline:3px solid rgba(177,138,72,.32);outline-offset:2px}

@media(max-width:1100px){
  .wb-shell{grid-template-columns:208px minmax(0,1fr)}
  .wb-sidebar{width:208px}
  .wb-topbar{padding:0 20px}
  .wb-columns{grid-template-columns:minmax(0,55fr) minmax(0,45fr)}
  .wb-result-scroll{padding-left:16px;padding-right:16px}
}
@media(max-width:820px){
  #case-start-page:has(#case-workbench){min-height:100%;height:auto}
  .wb-shell{height:auto;min-height:100vh;display:block;overflow:visible}
  .wb-sidebar{
    position:fixed;
    inset:0 auto 0 0;
    width:232px;
    z-index:12;
    transform:translateX(-100%);
    transition:transform 220ms ease;
    visibility:hidden;
  }
  .wb-sidebar.is-mobile-open{transform:translateX(0);visibility:visible;box-shadow:12px 0 30px rgba(12,31,26,.28)}
  #workbench-mobile-menu{
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border:1px solid #d6e0da;
    border-radius:8px;
    background:#f2f6f3;
    color:var(--wb-primary);
    font-size:17px;
    cursor:pointer;
  }
  #workbench-sidebar-overlay{
    display:block;
    position:fixed;
    inset:0;
    z-index:11;
    border:0;
    background:rgba(12,31,26,.46);
    opacity:0;
    pointer-events:none;
    transition:opacity 220ms ease;
  }
  #workbench-sidebar-overlay.is-visible{opacity:1;pointer-events:auto}
  .wb-main{min-height:100vh;overflow:visible}
  .wb-topbar{position:sticky;top:0;z-index:4;min-height:64px;flex-basis:64px;padding:0 12px}
  .wb-topbar strong{font-size:16px}
  .wb-topbar .wb-primary{padding:8px 10px;font-size:11px}
  .wb-case-title{display:none}
  .wb-columns{display:grid;grid-template-columns:minmax(0,1fr);overflow:visible}
  .wb-chat,.wb-results{min-height:560px;border-right:0}
  .wb-chat{height:calc(100vh - 64px)}
  .wb-results{border-top:8px solid var(--wb-canvas)}
  .wb-result-scroll{overflow:visible}
  .wb-notice{position:fixed;top:70px;width:max-content;max-width:calc(100vw - 24px)}
  .wb-composer{padding-left:10px;padding-right:10px}
  .wb-composer-meta{flex-wrap:wrap;padding-left:47px}
  .wb-composer-meta span{width:100%;margin:0}
  .intake-message>div{max-width:88%}
}
@media(max-width:430px){
  .wb-status-pill{display:none}
  .wb-topbar .wb-primary{max-width:none;white-space:nowrap;line-height:1.3}
  .wb-panel-head{padding:0 12px}
  .wb-messages{padding:18px 12px 16px}
  .wb-result-scroll{padding:12px}
  .wb-card{padding:13px}
  .wb-card h2{margin:-13px -13px 12px;padding:11px 13px}
  .wb-composer-row{padding:5px}
}
/* Intake presentation follows the approved shared typography and colors. */
.wb-shell{
  --wb-primary:var(--dj-primary,#24483e);--wb-primary-dark:var(--dj-heading,#24483e);
  --wb-ink:var(--dj-text,#456357);--wb-muted:var(--dj-muted,#60776c);
  --wb-line:var(--dj-line,#d9e3dd);--wb-line-soft:#e3e9e5;
  --wb-canvas:#f5f7f6;--wb-surface:var(--dj-surface,#fff);
  font-family:var(--dj-font);color:var(--dj-text);
}
.wb-shell .wb-sidebar{background:#eef2ef!important;color:var(--dj-text)!important}
.wb-brand-copy small,.wb-sidebar nav a i{color:var(--dj-muted)}
.wb-user{background:#e8eeea;border-top-color:var(--dj-line)}
.wb-sidebar nav a:hover{background:#e4ece6}
.wb-sidebar nav a.is-active:before{background:var(--dj-primary)}
.wb-sidebar nav a.is-active i{color:var(--dj-primary)}
.wb-account-security{display:flex;align-items:center;gap:5px}
.wb-sidebar-toggle{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:0;border-top:1px solid var(--dj-line);font:inherit;cursor:pointer}
.wb-sidebar-toggle>span:first-child{font-size:22px;line-height:1}
.wb-chat,.wb-composer,.wb-panel-head{background:#fff}
.wb-results{background:#f5f7f6}
.intake-message-ai>div{background:#edf3ef;border-color:#d9e3dd;border-left:3px solid var(--dj-primary);color:var(--dj-text)}
.wb-composer-row{border-color:var(--dj-primary)}
.wb-composer textarea{font-size:16px;min-height:66px;line-height:1.6}
#case-workbench #intake-answer,#case-workbench #intake-answer::placeholder{font-size:16px!important;font-family:SimHei,"黑体","Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif!important}
.wb-composer-row{align-items:flex-end}
.wb-progress-counts{display:flex;flex-wrap:wrap;gap:18px;padding:14px 22px 10px;font-size:14px;color:var(--dj-heading)}
.wb-result-notice{margin:0 22px 4px;padding:8px 10px;border:1px solid var(--dj-line);border-radius:6px;background:#eff2f0;color:var(--dj-muted);font-size:12px;line-height:1.6}
.wb-progress-section{padding:0;overflow:hidden}
.wb-progress-section>summary{display:block;position:relative;padding:14px 36px 14px 16px;cursor:pointer;list-style:none}
.wb-progress-section>summary::-webkit-details-marker{display:none}
.wb-progress-chevron{position:absolute;right:16px;top:13px;width:11px;height:24px;color:var(--dj-primary)!important;display:grid;place-items:center}
.wb-progress-chevron>.dj-motion-icon{width:22px;height:22px;color:var(--dj-primary)!important}
.wb-progress-section[open]>summary>.wb-progress-chevron{transform:rotate(90deg)}
.wb-progress-section>summary h2{margin:0;padding:0;border:0;background:none}
.wb-progress-section>summary [data-empty-note]{display:block;margin-top:7px;color:var(--dj-muted);font-size:12px;line-height:1.6}
.wb-progress-section>summary [data-empty-note][hidden]{display:none}
.wb-progress-body{padding:0 16px 14px}
.wb-progress-body h3:first-child{margin-top:0}
#case-workbench [data-action=complete].is-secondary{background:#eef2ef!important;color:var(--dj-muted)!important;border-color:var(--dj-line)!important;box-shadow:none;opacity:1;cursor:not-allowed}
#case-workbench #workbench-receipt[hidden]{display:none}
@media(min-width:821px){
  .wb-shell.is-sidebar-collapsed{grid-template-columns:72px minmax(0,1fr)}
  .is-sidebar-collapsed .wb-sidebar{width:72px}
  .is-sidebar-collapsed .wb-brand{padding:0 18px}
  .is-sidebar-collapsed .wb-brand-copy,.is-sidebar-collapsed .wb-sidebar nav a>span,.is-sidebar-collapsed .wb-user>div,.is-sidebar-collapsed .wb-account-label,.is-sidebar-collapsed .wb-sidebar-toggle-label{display:none}
  .is-sidebar-collapsed .wb-sidebar nav{padding:18px 10px}
  .is-sidebar-collapsed .wb-sidebar nav a{padding:8px 12px;justify-content:center}
  .is-sidebar-collapsed .wb-user{flex-direction:column;padding:12px 8px;gap:7px}
  .is-sidebar-collapsed .wb-account-security{padding:4px}
}
@media(max-width:820px){
  .wb-progress-counts{padding:14px 12px 10px}
  .wb-result-notice{margin-left:12px;margin-right:12px}
  .wb-progress-section{padding:0}
}

.wb-shell .wb-card[hidden]{display:none}
.wb-card h2{justify-content:flex-start}
#case-workbench .wb-result-notice{font-size:var(--dj-type-note,12px)!important;line-height:1.6!important}
.wb-user{flex-wrap:wrap}
.wb-user>div{flex:1;min-width:0}
.wb-user .wb-account-security{width:100%;justify-content:center}
@media(min-width:821px){
  .is-sidebar-collapsed .wb-user .wb-account-security{width:auto}
}
@media(max-width:820px){
  .wb-topbar{flex-wrap:wrap;gap:8px;padding-top:10px;padding-bottom:10px;min-height:110px;flex-basis:110px}
  .wb-topbar>div{width:100%}
  .wb-topbar>[data-action=complete]{margin-left:auto;max-width:100%;white-space:normal}
  .wb-chat{height:calc(100vh - 110px)}
}

/* Status feedback has its own row and cannot cover the receipt or progress title. */
.wb-main>.wb-notice{position:static;top:auto;left:auto;transform:none;width:auto;max-width:none;flex:0 0 auto}
.wb-main>.wb-notice:empty{display:none}
.wb-main>.wb-notice:not(:empty){margin:8px 16px;box-shadow:none}

/* Keep durable account status within the existing workbench spacing. */
.wb-session-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;flex:0 0 auto;min-width:0;padding:8px 16px;border-bottom:1px solid #d6e2dd;font-size:14px;line-height:22px}
.wb-session-meta p{min-width:0;margin:0;overflow-wrap:anywhere}
.wb-session-meta nav{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.wb-session-meta a{color:var(--dj-primary, #24483E);text-decoration:underline}

/* Preparation is a normal result card; it never overlays the conversation. */
.wb-consultation-preparation{position:static;flex:0 0 auto;min-width:0;margin:10px 16px;padding:12px;border:1px solid #e8d5ac;border-radius:8px;background:#fff9ed;color:var(--dj-primary,#24483E);font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.wb-consultation-preparation[hidden]{display:none}
.wb-consultation-preparation strong{font-size:16px}
.wb-consultation-preparation p{margin:7px 0}
.wb-consultation-preparation summary{cursor:pointer}
