.result-workbench{
  --result-primary:#2f6bea;
  --result-primary-dark:#2056c7;
  --result-primary-soft:#eef4ff;
  --result-text:#17243d;
  --result-muted:#71809a;
  --result-line:#e5ebf4;
  display:grid;
  grid-template-columns:340px minmax(0,1fr);
  min-height:calc(100vh - 174px);
  margin-top:16px;
  overflow:hidden;
  border:1px solid #e3eaf4;
  border-radius:14px;
  background:#fff;
}
.result-master-panel{
  display:flex;
  min-width:0;
  flex-direction:column;
  border-right:1px solid var(--result-line);
  background:#fbfcff;
}
.result-master-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 18px 14px;
}
.result-master-heading span{font-size:12px;color:#8793a8}
.result-master-heading h2{margin:4px 0 0;font-size:18px;color:var(--result-text)}
.result-master-heading h2 b{margin-left:5px;color:var(--result-primary);font-size:13px}
.result-master-read{border:0;background:transparent;color:var(--result-primary);font-size:12px;cursor:pointer}
.result-master-read.disabled{color:#a9b3c2;pointer-events:none}
.result-bucket-tabs{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:4px;
  padding:0 12px 14px;
}
.result-bucket-tabs button{
  display:flex;
  min-width:0;
  min-height:54px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  padding:5px 2px;
  border:1px solid transparent;
  border-radius:9px;
  background:transparent;
  color:#697894;
  cursor:pointer;
}
.result-bucket-tabs button span{font-size:11px;white-space:nowrap}
.result-bucket-tabs button b{font-size:15px;color:#263650}
.result-bucket-tabs button.active{border-color:#bfd2ff;background:#eaf1ff;color:var(--result-primary)}
.result-bucket-tabs button.active b{color:var(--result-primary)}
.result-master-tools{padding:14px 14px 10px;border-block:1px solid var(--result-line);background:#fff}
.result-search{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;height:40px;border:1px solid #d9e2ef;border-radius:9px;background:#f8fafe;overflow:hidden}
.result-search>span{padding-left:11px;color:#8c99ad}
.result-search input{min-width:0;height:100%;border:0;outline:0;background:transparent;font-size:13px;color:var(--result-text)}
.result-search button{height:30px;margin-right:5px;padding:0 10px;border:0;border-radius:6px;background:var(--result-primary);color:#fff;font-size:12px;cursor:pointer}
.result-filter-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:7px;margin-top:8px}
.result-filter-row select,.result-filter-row button{min-width:0;height:34px;padding:0 8px;border:1px solid #dfe6f0;border-radius:7px;background:#fff;color:#5c6a82;font-size:12px}
.result-filter-row button{cursor:pointer;color:var(--result-primary)}
.result-view-switch{display:flex;align-items:center;gap:4px;margin-top:11px}
.result-view-switch button{height:28px;padding:0 10px;border:0;border-radius:6px;background:transparent;color:#71809a;font-size:12px;cursor:pointer}
.result-view-switch button.active{background:var(--result-primary-soft);color:var(--result-primary);font-weight:600}
.result-view-switch>span{margin-left:auto;color:#97a2b3;font-size:11px}
.result-collaboration-list{min-height:0;max-height:calc(100vh - 410px);overflow-y:auto;padding:8px}
.result-collaboration-card{
  position:relative;
  display:flex;
  width:100%;
  flex-direction:column;
  gap:7px;
  padding:14px 14px 13px;
  border:1px solid transparent;
  border-radius:10px;
  background:transparent;
  color:var(--result-text);
  text-align:left;
  cursor:pointer;
}
.result-collaboration-card:hover{background:#f3f6fb}
.result-collaboration-card.active{border-color:#c5d5fa;background:#edf3ff;box-shadow:inset 3px 0 0 var(--result-primary)}
.result-card-heading{display:flex;align-items:center;gap:7px}
.result-card-heading strong{font-size:15px}
.result-card-heading em{padding:2px 5px;border-radius:4px;background:#e9efff;color:var(--result-primary);font-size:9px;font-style:normal;font-weight:700}
.result-card-heading time{margin-left:auto;color:#9aa5b5;font-size:10px}
.result-card-cert{font-size:13px;font-weight:600;color:#40506b}
.result-card-cert small{margin-left:6px;color:#8895a9;font-size:11px;font-weight:400}
.result-card-project{display:flex;min-width:0;gap:7px;color:#7a879b;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.result-card-project b{flex:none;color:#53637d}
.result-card-task{display:flex;align-items:center;gap:6px;margin-top:2px;color:#64738b;font-size:11px}
.result-card-task i{width:7px;height:7px;border-radius:50%;background:#9aabc3}
.result-collaboration-card.is-unread .result-card-task i,.result-collaboration-card.active .result-card-task i{background:var(--result-primary)}
.result-card-task b{color:#36557f}
.result-card-task small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.result-card-task>span{margin-left:auto;color:#9aa6b6;font-size:18px}
.result-project-group>header{display:flex;align-items:center;justify-content:space-between;padding:10px 10px 5px;color:#52627d;font-size:11px}
.result-project-group>header span{color:#98a3b4}
.result-list-empty,.result-detail-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;color:#8c99ad;text-align:center}
.result-list-empty{min-height:220px;gap:5px}
.result-list-empty>span{font-size:26px;color:#bdc7d5}
.result-list-empty b{color:#62718a;font-size:13px}
.result-list-empty small{font-size:11px}
.result-detail-panel{min-width:0;max-height:calc(100vh - 174px);overflow-y:auto;background:#f7f9fd}
.result-detail-inner{padding:20px}
.result-detail-hero,.result-detail-block,.result-current-task{border:1px solid var(--result-line);border-radius:12px;background:#fff}
.result-detail-hero{display:grid;grid-template-columns:minmax(260px,1fr) minmax(380px,1.35fr);gap:24px;padding:22px 24px}
.result-detail-title{display:flex;align-items:center;gap:8px}
.result-detail-title h2{margin:0;color:var(--result-text);font-size:24px}
.result-detail-title>span{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:12px;background:#f1f4f8;color:#66758d;font-size:11px}
.result-detail-title .result-mode-pill{font-style:normal}
.result-detail-hero>div>p{margin:10px 0;color:#53627b;font-size:14px}
.result-detail-hero dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 22px;margin:0;padding-left:24px;border-left:1px solid var(--result-line)}
.result-detail-hero dl div{min-width:0}
.result-detail-hero dt{margin-bottom:5px;color:#8a96a9;font-size:11px}
.result-detail-hero dd{margin:0;color:#31415c;font-size:12px;font-weight:600;line-height:1.5}
.result-detail-block{margin-top:14px;padding:20px 24px}
.result-block-heading{display:flex;align-items:flex-start;justify-content:space-between}
.result-block-heading h3{margin:0;color:var(--result-text);font-size:15px}
.result-block-heading p{margin:4px 0 0;color:#8c98aa;font-size:11px}
.result-bucket-badge{padding:5px 9px;border-radius:7px;background:var(--result-primary-soft);color:var(--result-primary);font-size:11px;font-weight:600}
.result-workbench-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:22px 0 2px;padding:0;list-style:none}
.result-workbench-progress.is-direct{grid-template-columns:repeat(3,minmax(0,1fr))}
.result-workbench-progress li{position:relative;display:flex;align-items:center;flex-direction:column;gap:5px;color:#8794a8;text-align:center}
.result-workbench-progress li:after{position:absolute;top:14px;left:calc(50% + 18px);width:calc(100% - 36px);height:2px;background:#e1e7f0;content:""}
.result-workbench-progress li:last-child:after{display:none}
.result-workbench-progress li>span{position:relative;z-index:1;display:grid;width:30px;height:30px;place-items:center;border:2px solid #dbe3ee;border-radius:50%;background:#fff;color:#96a3b6;font-size:11px;font-weight:700}
.result-workbench-progress li b{font-size:12px;color:#596982}
.result-workbench-progress li small{font-size:10px}
.result-workbench-progress li.is-current>span{border-color:var(--result-primary);background:var(--result-primary);color:#fff;box-shadow:0 0 0 4px #e9f0ff}
.result-workbench-progress li.is-done>span{border-color:#7aa0f7;background:#edf3ff;color:var(--result-primary)}
.result-workbench-progress li.is-done:after{background:#a8c1fa}
.result-workbench-progress li.is-alert>span{border-color:#f4b0aa;background:#fff1ef;color:#d14f45}
.result-current-task{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:14px;margin-top:14px;padding:18px 20px}
.result-current-task.requires-action{border-color:#ffd79a;background:#fffbf3}
.result-current-task.is-waiting{border-color:#dbe6ff;background:#f6f9ff}
.result-current-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:10px;background:#fff0d7;color:#cc7600;font-size:18px;font-weight:800}
.result-current-task.is-waiting .result-current-icon{background:#e7efff;color:var(--result-primary)}
.result-current-task>div:nth-child(2)>span{color:#9b6c28;font-size:10px;font-weight:700;letter-spacing:.08em}
.result-current-task h3{margin:3px 0;color:#2f3d54;font-size:15px}
.result-current-task p{margin:0;color:#7b6a53;font-size:11px;line-height:1.6}
.result-current-action{min-height:38px;padding:0 15px;white-space:nowrap}
.result-detail-content{min-height:280px}
.result-detail-tabs{display:flex;align-items:center;justify-content:space-between;margin:-5px 0 17px;border-bottom:1px solid var(--result-line)}
.result-detail-tabs>div{display:flex;gap:24px}
.result-detail-tabs [role="tab"]{min-height:43px;padding:0 2px;border:0;border-bottom:2px solid transparent;background:transparent;color:#71809a;font-size:12px;cursor:pointer}
.result-detail-tabs [role="tab"].active{border-color:var(--result-primary);color:var(--result-primary);font-weight:700}
.result-add-attachment{height:30px;margin-bottom:7px;padding:0 10px;font-size:11px}
.result-stage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.result-stage-card{padding:15px;border:1px solid #e3e9f2;border-radius:9px;background:#fcfdff}
.result-stage-card header{display:flex;align-items:center;gap:10px}
.result-stage-card header>span{display:grid;width:26px;height:26px;place-items:center;border-radius:50%;background:#edf2fa;color:#72839b;font-size:11px}
.result-stage-card h4{margin:0;color:#34445e;font-size:13px}
.result-stage-card header small{color:#8d99aa;font-size:10px}
.result-stage-card time{margin-left:auto;color:#9ba6b5;font-size:10px}
.result-stage-card p{margin:12px 0 0;padding-top:10px;border-top:1px dashed #e3e8f0;color:#7b889b;font-size:11px}
.result-stage-card.is-done header>span{background:#eaf1ff;color:var(--result-primary)}
.result-stage-card.is-alert{border-color:#f3c8c4;background:#fffafa}
.result-workbench-materials{margin:0!important;padding:0!important}
.result-activity-list{margin:0;padding:3px 0;list-style:none}
.result-activity-list li{display:grid;grid-template-columns:14px minmax(0,1fr) auto;gap:10px;padding:10px 2px}
.result-activity-list li>i{width:8px;height:8px;margin-top:4px;border:2px solid #96b2f3;border-radius:50%;background:#fff}
.result-activity-list b{display:block;color:#42516a;font-size:12px}
.result-activity-list small{display:block;margin-top:3px;color:#8b97a9;font-size:10px}
.result-activity-list time{color:#9ba6b5;font-size:10px}
.result-detail-empty{min-height:520px;gap:7px}
.result-detail-empty>span{display:grid;width:54px;height:54px;place-items:center;border-radius:50%;background:#edf3ff;color:var(--result-primary);font-size:24px}
.result-detail-empty h3{margin:8px 0 0;color:#4b5a72;font-size:16px}
.result-detail-empty p{margin:0;font-size:12px}
.result-detail-empty button{margin-top:10px}
@media(max-width:1100px){
  .result-workbench{grid-template-columns:310px minmax(0,1fr)}
  .result-detail-hero{grid-template-columns:1fr}
  .result-detail-hero dl{padding:18px 0 0;border-top:1px solid var(--result-line);border-left:0}
}
@media(max-width:900px){
  .result-workbench{grid-template-columns:1fr;min-height:0;overflow:visible}
  .result-master-panel{border-right:0;border-bottom:1px solid var(--result-line)}
  .result-collaboration-list{max-height:420px}
  .result-detail-panel{max-height:none;overflow:visible}
  .result-detail-inner{padding:14px}
  .result-filter-row select,.result-filter-row button,.result-view-switch button,.result-detail-tabs [role="tab"]{min-height:44px}
}
@media(max-width:620px){
  .result-bucket-tabs{grid-template-columns:repeat(5,76px);overflow-x:auto}
  .result-detail-hero dl,.result-stage-grid{grid-template-columns:1fr}
  .result-current-task{grid-template-columns:38px minmax(0,1fr)}
  .result-current-action{grid-column:1/-1;width:100%;min-height:44px}
  .result-workbench-progress{overflow-x:auto;grid-template-columns:repeat(4,110px)}
  .result-workbench-progress.is-direct{grid-template-columns:repeat(3,110px)}
  .result-detail-tabs{align-items:flex-start;flex-direction:column;gap:8px}
  .result-detail-tabs>div{width:100%;gap:14px;overflow-x:auto}
}
.result-workbench-progress,.result-workbench-progress.is-direct{grid-template-columns:repeat(5,minmax(0,1fr))}
.result-detail-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.result-detail-inner{display:flex;flex-direction:column}
.result-detail-content{display:contents}
.result-detail-tabs{order:-1;margin:0;padding:0 0 12px;background:#fff}
.result-detail-hero{order:-2}
.result-stage-grid{margin-top:12px;grid-template-columns:repeat(3,minmax(0,1fr))}
.result-section-title{font-size:15px;color:#263b5e;margin:20px 0 12px;border-left:3px solid #2f6bea;padding-left:10px}
.result-latest-activity{margin-top:10px}
.result-current-task.requires-action{background:#fff5f6;border-color:#ffd9df}
.requires-action .result-current-icon{background:#ffedf0;color:#e24861;border-radius:50%}
.result-collaboration-card{padding-left:64px}
.result-collaboration-card .result-card-avatar{position:absolute;left:14px;top:16px}
.result-collaboration-card .result-card-heading{display:flex;flex-wrap:wrap;min-height:0}
.result-card-heading time{width:100%;margin-left:0}
@media(max-width:1100px){.result-detail-hero{grid-template-columns:1fr}.result-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.result-stage-grid{grid-template-columns:1fr}.result-workbench-progress,.result-workbench-progress.is-direct{grid-template-columns:repeat(5,90px)}.result-detail-tabs{order:0}.result-detail-tabs [role="tab"]{white-space:nowrap}}
.result-card-avatar{display:flex;align-items:center;justify-content:center;float:left;width:38px;height:38px;margin:0 10px 4px 0;border-radius:50%;background:#4b86ed;color:#fff;font-weight:700;font-size:18px}.result-collaboration-card{min-height:128px}.result-card-heading{display:block;min-height:38px}.result-card-project{clear:both}
