/* A connected system in three readable, working demonstrations. */
.sys-demo{--sys-deep:#425a4c;--sys-sage:#647560;--sys-line:#d5d9d0;font-size:14px;line-height:1.5}
.sys-demo svg{width:22px;height:22px}
#workbench .sys-case-menu{display:flex;align-items:stretch;gap:3px;padding:3px;border:1px solid #f5f6f0;border-radius:12px;background:var(--paper);box-shadow:var(--wb-inset)}
#workbench .sys-case-menu button{border:0;border-radius:9px;background:none;box-shadow:none;min-height:44px;padding:10px 16px;font-size:13px;white-space:nowrap;color:#606d60;transition:background .2s,color .2s}
#workbench .sys-case-menu button[aria-pressed=true]{background:var(--sys-deep);color:#fffffc;font-weight:600}
.sys-demo-note{display:flex;align-items:center;gap:9px;color:#6e786c;font-size:13px}
.sys-demo-note i{width:6px;height:6px;background:#9faa95;border-radius:50%}
.sys-case{display:grid;grid-template-columns:minmax(230px,.78fr) 64px minmax(0,1.3fr);align-items:center;gap:0;min-height:390px}
.sys-source,.sys-destination{position:relative;min-width:0;border:1px solid #f8f9f3;border-radius:16px;background:var(--paper);box-shadow:7px 7px 20px #cbcfc6,-7px -7px 20px #fffffc;overflow:hidden}
.sys-source{padding:24px;min-height:360px}
.sys-surface-title{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:550;color:var(--sys-deep)}
.sys-symbol{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border-radius:10px;box-shadow:var(--wb-inset)}
.sys-symbol svg{width:18px;height:18px}
.sys-member-avatar{display:grid;place-items:center;width:56px;height:56px;border:1px solid #dce2d5;border-radius:50%;margin:20px auto;color:var(--sys-sage);box-shadow:var(--wb-inset)}
.sys-member-avatar svg{width:28px;height:28px}
.sys-login-fields{display:grid;gap:5px}
.sys-login-fields>span{font-size:13px;color:#788173;margin-top:7px}
.sys-login-fields>div{height:42px;display:flex;align-items:center;padding:0 13px;border-radius:9px;box-shadow:var(--wb-inset);color:#7a8378;min-width:0;overflow:hidden}
.sys-password{font-size:18px;letter-spacing:4px}.sys-password>span{margin-left:auto;letter-spacing:0}.sys-password svg{width:16px;height:16px}
#workbench .sys-action{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:46px;margin-top:22px;padding:10px 14px;border:0;border-radius:10px;background:var(--sys-deep);color:#fffffc;font-size:14px;line-height:1.4;box-shadow:3px 3px 10px #bcc5b6;transition:background .25s,box-shadow .25s}
#workbench .sys-action:hover{background:#334b3d;box-shadow:4px 5px 12px #abb8a2}
#workbench .sys-action:active{box-shadow:inset 2px 2px 4px #26372b}
.sys-action svg{width:18px;height:18px;flex-shrink:0}
.sys-caption{font-size:13px;color:#7a8476;text-align:center;margin-top:14px}
.sys-bridge{position:relative;display:flex;align-items:center;justify-content:center;color:#8d9c88;height:100%}
.sys-bridge::before{content:"";position:absolute;left:0;right:0;top:50%;border-top:1px dashed #bec8b6}
.sys-bridge>svg{position:relative;z-index:1;width:20px;height:20px;background:var(--paper)}
.sys-bridge>span{position:absolute;left:0;top:calc(50% - 3px);width:6px;height:6px;border-radius:50%;background:var(--sys-sage);opacity:0}
.sys-demo[data-animating=true] .sys-bridge>span{animation:sys-packet 2.5s ease infinite}
.sys-window-top{display:flex;align-items:center;gap:12px;min-height:54px;padding:12px 20px;border-bottom:1px solid var(--sys-line);font-size:13px;font-weight:500}
.sys-window-dots{display:flex;gap:4px}.sys-window-dots i{width:5px;height:5px;border-radius:50%;background:#b6bfaf}
.sys-access-badge{display:flex;gap:5px;align-items:center;margin-left:auto;color:#85907e;font-size:13px;font-weight:400}.sys-access-badge svg{width:15px;height:15px}.sys-access-badge b{font-weight:400}
.sys-workspace-body,.sys-dashboard-body{padding:24px;transition:filter .65s,opacity .65s,transform .65s}
.sys-welcome{display:flex;align-items:center;gap:12px;margin-bottom:24px}
.sys-person-mini{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#dfe6d9;color:var(--sys-deep)}
.sys-welcome div{display:grid;gap:2px}.sys-welcome div>span{font-size:13px;color:#788173}.sys-welcome strong{font-size:clamp(17px,1.5vw,23px);font-weight:500;letter-spacing:-.035em;color:var(--sys-deep)}
.sys-unlocked{display:grid;place-items:center;margin-left:auto;width:26px;height:26px;border:1px solid #b0bea7;border-radius:50%;color:var(--sys-deep)}.sys-unlocked svg{width:17px;height:17px}
.sys-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.sys-resource{display:grid;align-content:start;gap:5px;padding:18px;border-radius:11px;box-shadow:var(--wb-inset);min-width:0;transition:opacity .7s,transform .7s}
.sys-resource>svg{width:27px;height:27px;margin-bottom:7px;color:var(--sys-sage)}.sys-resource strong{font-size:15px;font-weight:500}.sys-resource>span{font-size:13px;color:#7c8676}
.sys-resource>i{display:block;height:4px;border-radius:2px;background:#cbd4c3;margin-top:9px;width:85%}.sys-resource>i:last-child{width:55%;margin-top:4px}
.sys-member-progress{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px;font-size:13px;color:#75806e}.sys-member-progress>b{margin-left:auto;font-weight:400;color:var(--sys-deep)}.sys-member-progress>div{flex:0 0 100%;height:5px;border-radius:5px;background:#d7dfd1;overflow:hidden}.sys-member-progress i{display:block;width:65%;height:100%;background:#8c9f82;transform-origin:left;transition:transform .9s .1s}
.sys-private-layer{position:absolute;inset:54px 0 0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;padding:30px;background:#ecede87d;color:var(--sys-deep);transition:opacity .6s,visibility .6s;text-align:center;font-size:14px;pointer-events:none}
.sys-private-layer>svg{width:42px;height:42px;stroke-width:1.1}
.sys-demo[data-member-state=locked] .sys-workspace-body{filter:blur(3px);opacity:.35}.sys-demo[data-member-state=locked] .sys-member-progress i{transform:scaleX(0)}
.sys-demo[data-member-state=open] .sys-private-layer{opacity:0;visibility:hidden}.sys-demo[data-member-state=open] .sys-access-badge{color:var(--sys-deep)}
.sys-demo[data-member-state=open] .sys-resource{animation:sys-card-in .6s both}.sys-demo[data-member-state=open] .sys-resource:nth-child(2){animation-delay:.13s}
.sys-record-count{font-size:13px;margin-left:auto;color:#7a8476;white-space:nowrap;font-weight:400}
.sys-records .sys-surface-title{flex-wrap:wrap;gap:9px}.sys-records .sys-surface-title>span:nth-child(2){flex:1}
.sys-table-head{display:flex;justify-content:space-between;padding:24px 0 9px;color:#8a9385;font-size:13px;border-bottom:1px solid var(--sys-line)}
.sys-record{display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid var(--sys-line);padding:12px 0;min-width:0;transition:opacity .5s,transform .5s,max-height .5s,padding .5s}
.sys-record>span{display:flex;align-items:center;gap:10px;font-size:14px;white-space:nowrap}.sys-record i{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;box-shadow:var(--wb-inset);font-size:11px;font-style:normal;color:var(--sys-sage)}
.sys-record>b{font-size:13px;font-weight:400;border-radius:5px;padding:3px 7px;background:#e0e7da;color:var(--sys-deep);white-space:nowrap}.sys-record .sys-waiting{background:#e9e3d8;color:#947860}
.sys-new-record{max-height:0;padding-block:0;border:0;opacity:0;transform:translateY(-12px);overflow:hidden}
.sys-demo[data-data-state="1"] .sys-new-record{max-height:70px;padding-block:12px;opacity:1;transform:none;border-bottom:1px solid var(--sys-line)}
.sys-sync{font-size:13px;color:#7c8975;margin-left:auto}
.sys-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.sys-stat-grid>div{padding:17px 20px;border-radius:11px;box-shadow:var(--wb-inset);display:grid;gap:4px}
.sys-stat-grid span{font-size:13px;color:#7b8675}.sys-stat-grid strong{font-size:36px;font-weight:400;letter-spacing:-.06em;line-height:1.2;color:var(--sys-deep)}.sys-stat-grid i{font-size:13px;color:#87907f;font-style:normal}
.sys-chart-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:24px;font-size:13px}.sys-chart-header strong{font-weight:500}.sys-chart-header span{color:#8a9384}
.sys-chart{display:flex;gap:12px;align-items:flex-end;position:relative;height:115px;margin-top:17px;padding:0 4px 0;border-bottom:1px solid #bdc8b5;background:repeating-linear-gradient(to top,transparent 0,transparent 37px,#d9ded336 37px,#d9ded3 38px)}
.sys-chart i{display:block;flex:1;height:var(--bar);border-radius:4px 4px 0 0;background:#aebea5;transform-origin:bottom;transition:height .8s,background .8s;animation:sys-bar-in .8s both;animation-delay:calc(var(--index) * .08s)}.sys-chart i:last-child{background:var(--sys-sage)}
.sys-demo[data-data-state="1"] .sys-chart i{height:calc(var(--bar) + 6%);background:#96aa8b}.sys-demo[data-data-state="1"] .sys-chart i:last-child{background:var(--sys-deep)}
.sys-data-event{display:flex;align-items:center;gap:8px;padding-top:18px;font-size:13px;color:#7b8774}.sys-data-event svg{width:17px;height:17px}.sys-demo[data-data-state="1"] .sys-data-event{color:var(--sys-deep)}
.sys-trigger{display:flex;flex-direction:column;align-items:flex-start}.sys-trigger .sys-action{margin-top:auto}.sys-trigger>strong{font-size:22px;font-weight:500;letter-spacing:-.04em;color:var(--sys-deep);margin-top:10px}.sys-trigger-copy{font-size:14px;color:#7b8475;line-height:1.6;margin-top:9px;margin-bottom:25px;max-width:230px}
.sys-envelope{width:68px;height:68px;position:relative;display:grid;place-items:center;border-radius:17px;box-shadow:var(--wb-inset);margin-top:25px;color:var(--sys-sage)}.sys-envelope svg{width:34px;height:34px}.sys-envelope>i{position:absolute;right:-3px;top:-3px;width:13px;height:13px;background:var(--sys-sage);border:3px solid var(--paper);border-radius:50%;opacity:0;transition:opacity .3s}.sys-demo:not([data-flow-step="0"]) .sys-envelope>i{opacity:1}
.sys-flowboard{align-self:stretch}.sys-flow-status{color:#788770;margin-left:auto;font-size:13px}
.sys-flow-visual{position:relative;padding:55px 24px 24px;min-height:330px}
.sys-demo .sys-flow-lines{position:absolute;left:24px;top:0;width:calc(100% - 48px);height:230px;overflow:visible;stroke-width:1;stroke-linejoin:round;stroke-linecap:round}
.sys-base-line{stroke:#c3ceba}.sys-active-line{stroke:#6e8560;stroke-width:2;stroke-dasharray:100;stroke-dashoffset:100;transition:stroke-dashoffset 1s}
.sys-flow-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;position:relative}
.sys-flow-node{position:relative;display:grid;justify-items:center;gap:6px;padding:18px 9px;border:1px solid #e5e9df;border-radius:11px;box-shadow:var(--wb-raised);background:var(--paper);transition:border-color .4s,background .4s,transform .4s;text-align:center}
.sys-flow-node>svg{color:#7d8e72;width:26px;height:26px}.sys-flow-node strong{font-size:14px;font-weight:500}.sys-flow-node>span{font-size:13px;color:#8a9380}.sys-flow-node>i{position:absolute;top:-9px;right:-8px;display:grid;place-items:center;width:22px;height:22px;background:#647560;color:#fff;border-radius:50%;opacity:0;transform:scale(.4);transition:opacity .4s,transform .4s}.sys-flow-node i svg{width:14px;height:14px}
.sys-flow-result{position:relative;display:flex;align-items:center;gap:12px;margin-top:56px;min-height:67px;padding:13px 16px;background:#e3e9db;border:1px solid #ccd8c2;border-radius:11px;opacity:.4;transform:translateY(7px);transition:opacity .6s,transform .6s,background .6s}.sys-flow-result>svg{width:26px;height:26px;color:var(--sys-deep)}.sys-flow-result>div{display:grid;gap:3px}.sys-flow-result strong{font-size:14px;font-weight:500;color:var(--sys-deep)}.sys-flow-result span{font-size:13px;color:#859078}
.sys-demo[data-flow-step="1"] .sys-active-line{stroke-dashoffset:70}.sys-demo[data-flow-step="2"] .sys-active-line{stroke-dashoffset:25}.sys-demo[data-flow-step="3"] .sys-active-line{stroke-dashoffset:0}
.sys-demo[data-flow-step="2"] .sys-flow-node,.sys-demo[data-flow-step="3"] .sys-flow-node{border-color:#aabb9d;background:#e4eade;transform:translateY(-3px)}
.sys-demo[data-flow-step="2"] .sys-flow-node>i,.sys-demo[data-flow-step="3"] .sys-flow-node>i{opacity:1;transform:scale(1)}.sys-demo[data-flow-step="3"] .sys-flow-result{opacity:1;transform:none;background:#dde7d4}.sys-demo[data-flow-step="3"] .sys-flow-status{color:var(--sys-deep)}
.sys-bottom-note{font-size:13px;color:#7c8774;padding:22px 0 0;text-align:center}.sys-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@keyframes sys-card-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes sys-bar-in{from{transform:scaleY(.06)}to{transform:scaleY(1)}}
@keyframes sys-packet{0%,10%{left:0;opacity:0}20%{opacity:1}85%{opacity:1}100%{left:calc(100% - 6px);opacity:0}}
.sys-demo[data-animating=false] *,.sys-demo[data-animating=false] *::before,.sys-demo[data-animating=false] *::after{animation-play-state:paused}
@media(max-width:1000px){.sys-case{grid-template-columns:minmax(220px,.8fr) 42px minmax(0,1.2fr)}.sys-source{padding:20px}.sys-workspace-body,.sys-dashboard-body{padding:20px}.sys-resource{padding:14px}.sys-flow-actions{gap:16px}}
@media(max-width:760px){
 #workbench .sys-case-menu{width:100%;gap:2px}#workbench .sys-case-menu button{flex:1;padding:10px 9px;font-size:13px;white-space:normal;line-height:1.25}
 .sys-demo-note{font-size:13px}.sys-case{grid-template-columns:minmax(0,1fr);min-height:0;gap:20px}.sys-source{min-height:0;padding:20px;border-radius:13px}.sys-destination{border-radius:13px}
 .sys-bridge{display:none}.sys-member-avatar{margin:18px auto}.sys-login-fields{grid-template-columns:1fr;max-width:none}.sys-caption{margin-top:13px}.sys-source .sys-action{margin-top:20px}
 .sys-window-top{padding:12px 16px;gap:8px;font-size:13px}.sys-access-badge b{display:none}.sys-workspace-body,.sys-dashboard-body{padding:18px}.sys-welcome{gap:9px;margin-bottom:20px}.sys-welcome strong{font-size:20px}.sys-person-mini{width:38px;height:38px}.sys-resource-grid{gap:12px}.sys-resource{padding:15px 12px}.sys-resource>span{font-size:13px}.sys-stat-grid{gap:12px}.sys-stat-grid>div{padding:15px}.sys-stat-grid strong{font-size:32px}
 .sys-chart-header{flex-wrap:wrap}.sys-chart{height:110px;gap:9px}.sys-data-event{align-items:flex-start}.sys-data-event svg{flex-shrink:0;margin-top:2px}
 .sys-trigger-copy{max-width:none;margin-bottom:0}.sys-trigger .sys-envelope{margin-top:20px}.sys-trigger .sys-action{margin-top:20px}.sys-flow-visual{padding:50px 16px 20px;min-height:330px}.sys-demo .sys-flow-lines{left:16px;width:calc(100% - 32px)}.sys-flow-actions{gap:13px}.sys-flow-node{padding:16px 8px}.sys-flow-node strong{font-size:13px}.sys-flow-node>span{font-size:13px;line-height:1.4}.sys-flow-result{margin-top:52px;padding:12px;gap:10px}.sys-flow-result strong{font-size:14px}.sys-bottom-note{font-size:13px;padding-top:22px;text-align:left;line-height:1.6}
}
@media(max-width:360px){#workbench .sys-case-menu button{font-size:13px;padding:10px 5px}.sys-source{padding:16px}.sys-workspace-body,.sys-dashboard-body{padding:15px}.sys-resource-grid{grid-template-columns:1fr}.sys-resource{grid-template-columns:30px 1fr;gap:4px 10px}.sys-resource>svg{grid-row:1/3;margin-bottom:0}.sys-resource>span{grid-column:2}.sys-resource>i{display:none}.sys-record-count{flex-basis:100%;margin-left:44px}.sys-stat-grid>div{padding:13px}.sys-stat-grid i{font-size:13px}.sys-flow-actions{grid-template-columns:1fr;gap:16px}.sys-demo .sys-flow-lines{display:none}.sys-flow-node{grid-template-columns:24px 1fr;justify-items:start;text-align:left;padding:15px;gap:3px 12px}.sys-flow-node>svg{grid-row:1/3}.sys-flow-node>span{grid-column:2}.sys-flow-result{margin-top:20px}.sys-flow-visual{padding-top:20px}.sys-flowboard{min-height:0}}
@media(prefers-reduced-motion:reduce){.sys-demo *,.sys-demo *::before,.sys-demo *::after{animation:none!important;transition:none!important}}
