/* Product workspace, account and operator surfaces */
:root {
  --desk-ink: #172033;
  --desk-blue: #2538ae;
  --desk-blue-dark: #19267a;
  --desk-orange: #ef663a;
  --desk-muted: #505b70;
  --desk-rule: #cbd0dc;
  --desk-ground: #f6f7fa;
  --desk-font: Inter, "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
}
body.work-product {
  --ink: var(--desk-ink); --muted: var(--desk-muted); --jade: var(--desk-blue);
  --teal: var(--desk-blue); --accent: var(--desk-blue); --navy: var(--desk-ink);
  --red: var(--desk-blue); --paper: #fff; --line: var(--desk-rule); --bg: var(--desk-ground);
  margin: 0; background: var(--desk-ground); color: var(--desk-ink);
  font: 16px/1.7 var(--desk-font); -webkit-text-size-adjust: 100%;
}
.work-product *, .work-product *::before, .work-product *::after { box-sizing: border-box; }
.work-product [hidden] { display: none !important; }
.desk-mast, .desk-foot { background: #fff; border-block: 1px solid var(--desk-rule); }
.desk-mast { border-top: 0; }
.desk-mast-inner, .desk-foot>div, .work-product main.wrap.app, .work-product.work-live main {
  width: min(1184px, calc(100% - clamp(32px, 9vw, 128px)));
  margin-inline: auto;
}
.desk-mast-inner, .desk-foot>div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.desk-mast-inner { min-height: 72px; }
.desk-brand { display: inline-flex; gap: .45rem; color: var(--desk-ink); text-decoration: none; align-items: center; flex: none; font: 850 1.36rem/1.1 var(--desk-font); letter-spacing: -.06em; }
.desk-brand img { display: block; width: 146px; height: auto; }
.desk-brand-mini img { width: 105px; }
.desk-mast nav, .desk-foot nav { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 2.1rem); }
.desk-mast nav a, .desk-foot nav a { position: relative; white-space: nowrap; color: var(--desk-muted); font-size: .86rem; font-weight: 700; text-decoration: none; }
.desk-mast nav a { display: flex; align-items: center; align-self: stretch; min-height: 72px; }
.desk-mast nav a::after { content: ""; position: absolute; bottom: 0; height: 3px; background: var(--desk-orange); inset-inline: 0; transform: scaleX(0); transform-origin: left; transition: transform .2s ease-out; }
.desk-mast nav a:hover::after, .desk-mast nav [aria-current=page]::after { transform: scaleX(1); }
.desk-mast nav [aria-current=page], .desk-mast nav a:hover, .desk-foot nav a:hover { color: var(--desk-blue); }
.desk-foot { border-bottom: 0; }
.desk-foot>div { min-height: 80px; }
.desk-foot a { padding-block: .4rem; }
.desk-skip { position:absolute; top:0; left:0; z-index:9; padding:.6rem 1rem; transform: translateY(-150%); color:var(--desk-blue); background:white; }
.desk-skip:focus { transform:none; }
.work-product main.wrap.app, .work-product.work-live main { margin-block: 0; padding-block: clamp(24px, 4vw, 56px) clamp(44px, 8vw, 98px); min-height: calc(100svh - 152px); }
.work-product .desk-heading { margin: 0 0 clamp(1.4rem,3vw,2.4rem); border-bottom: 1px solid var(--desk-rule); padding-bottom: clamp(1.4rem,3vw,2rem); gap: 1rem; }
.work-product .desk-heading h1, .desk-cover h1, .work-product .station-heading h2, .work-product .materials-intro h2 { font-family: var(--desk-font); font-weight: 800; letter-spacing: -.065em; }
.work-product .desk-heading h1 { font-size: clamp(2rem, 4.3vw, 3.9rem); }
.work-product .desk-heading p { color: var(--desk-muted); margin: .5rem 0 0; }
.work-product .desk-heading .desk-id { display: inline-flex; align-items: center; gap: .55rem; font-size: .83rem; color: #495476; }
.desk-id::before { content:""; width:7px; height:7px; border:1px solid #67739d; border-radius:50%; }
.work-product h2 { letter-spacing: -.035em; }
.work-product :is(button, input, select, textarea) { font-family: inherit; }
.work-product :is(input:not([type=checkbox]), select, textarea) { background-color:#fff; border:1px solid #aeb7ca; border-radius:7px; min-height:44px; color:var(--desk-ink); }
.work-product input[type=checkbox], .work-product progress { accent-color:var(--desk-blue); }
.work-product :is(a,button,summary,input,select,textarea):focus-visible { outline:3px solid #506bf1; outline-offset:3px; }
.work-product .btn, .work-product button, .work-product .smallbtn, .work-product .row button {
  border-radius:7px; min-height:40px; font-weight:700;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.work-product .primary { background: var(--desk-blue); border: 1px solid var(--desk-blue); color:#fff; }
.work-product .primary:hover:not(:disabled) { background: var(--desk-blue-dark); border-color: var(--desk-blue-dark); }
.work-product .btn.light, .work-product .soft, .work-product .smallbtn { background: #fff; color: var(--desk-ink); border: 1px solid #aeb7ca; }
.work-product button:not(.primary):not(:disabled):hover, .work-product .light:hover, .work-product .soft:hover, .work-product .smallbtn:hover { background: #edf0fe; color:var(--desk-blue); }
.work-product button:not(:disabled):active, .work-product .btn:active { transform:translateY(1px); }
.work-product :is(.panel,.card,.scope-block,.connection,.notice,.avatar-preview,dialog) { border:1px solid var(--desk-rule); border-radius:12px; background:#fff; box-shadow:none; }
.work-product :is(.panel,.card,.scope-block) { padding:clamp(1.1rem,2.7vw,2rem); }
.work-product :is(.panel,.card) h2 { font-size:clamp(1.12rem,1.8vw,1.5rem); }
.work-product .panel h3 { font-size:1.08rem; }
.work-product :is(.panel,.card,.scope-block,.dialog) a { text-underline-offset:.2em; }
.work-product .actions { gap:.62rem; }
.work-product :is(.message:not(:empty),.notice) { border-radius:7px; background:#edf1ff; color:#23317b; border:1px solid #c9d1fa; }
.work-product :is(.message.error,.notice[data-kind=error]) { color:#882c22; background:#fff2ee; border-color:#f2b0a0; }
.work-product a { text-underline-offset:.2em; }
.work-product :is(.sub,.hint) { line-height:1.75; }
.desk-cover {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(230px,.64fr); align-items:center;
  gap:clamp(1.5rem,5vw,4.8rem); padding:clamp(24px,4vw,54px); position:relative;
  background:var(--desk-blue); color:white; border-radius:16px; overflow:hidden;
}
.desk-cover::before { content:""; position:absolute; inset:0; background:repeating-linear-gradient(90deg,transparent 0,transparent calc(100% / 12 - 1px),#ffffff0c calc(100% / 12 - 1px),#ffffff0c calc(100% / 12)); pointer-events:none; }
.desk-cover>* { position:relative; }
.desk-cover h1 { margin:0; color:#fff; font-size:clamp(2.35rem,5.65vw,5.2rem); line-height:1.2; }
.desk-cover-copy p { margin:.9rem 0 1.2rem; max-width:27em; font-weight:530; font-size:clamp(.94rem,1.4vw,1.13rem); color:#f0f2ff; }
.desk-demo-link { display:inline-flex; gap:1.2rem; align-items:center; padding:.55rem .9rem; border:1px solid #b5c2f3; line-height:1.5; color:white; font-weight:700; text-decoration:none; border-radius:6px; }
.desk-demo-link:hover { background:#fff; color:var(--desk-blue); }
.desk-demo-link span, .desk-avatar-bar button span { transition:transform .18s ease; }
.desk-demo-link:hover span, .desk-avatar-bar button:hover span { transform:translate(2px,-2px); }
.desk-avatar { border:1px solid #b7c0f9; border-radius:10px; overflow:hidden; background:#151d30; }
.desk-avatar wise-participant { display:block; width:100%; aspect-ratio:16/9; }
.desk-avatar-bar { padding:.45rem .75rem; display:flex; align-items:center; justify-content:space-between; gap:.6rem; background:#fff; color:var(--desk-ink); font-size:.78rem; }
.work-product .desk-avatar-bar button { border:0; min-height:34px; padding:.25rem .45rem; display:inline-flex; gap:.52rem; align-items:center; color:var(--desk-blue); background:transparent; }
.work-product .station-heading { margin:clamp(1.4rem,3vw,2.7rem) 0 .7rem; }
.work-product .station-heading h2, .work-product .materials-intro h2 { font-size:clamp(1.25rem,2.5vw,1.9rem); }
.work-product .connection { border-left:4px solid var(--desk-blue); }
.work-product .connection summary { padding:.8rem 1rem; }
.work-product .auth { margin-top:1rem; }
.work-product .auth .setup-link, .desk-login-aside a { display:inline-flex; align-items:center; gap:.6rem; font-weight:700; color:var(--desk-blue); }
.work-product .contextbar { border-bottom:1px solid var(--desk-rule); padding:1.4rem 0; }
.work-product .projectbar { padding:0; margin:1.2rem 0; background:transparent; border:0; }
.work-product .tabs { border-bottom:1px solid var(--desk-rule); margin:1.1rem 0; }
.work-product .tabs button { background:transparent; border-radius:0; border-bottom:3px solid transparent; }
.work-product .tabs [aria-current=page] { border-color:var(--desk-orange); color:var(--desk-blue); }
.work-product .scope-block { border-top:3px solid var(--desk-blue); }
.work-product .preflight-summary { background:#f3f5fe; border:1px solid #d6dcf8; border-radius:8px; }
.work-product .preflight-summary button { padding:.7rem .8rem; }
.work-product .settings-card .rule-note { background:#f1f3ff; border-color:var(--desk-blue); }
.work-product .preview-visual { background:#182237; }
.work-product .sidebar { padding:1.1rem; }
.work-product .sidebar nav a:hover, .work-product .sidebar nav a[aria-current=true] { color:var(--desk-blue); background:#edf0ff; }
.work-product .metric { border-radius:8px; background:#f4f5fd; padding:1rem; border:1px solid #d5dafa; }
.work-product .metric strong { font-variant-numeric:tabular-nums; color:var(--desk-blue); }
.work-product .readout { display:inline-block; background:#e9edff; color:var(--desk-blue); padding:.35rem .7rem; border-radius:6px; margin-top:.6rem; font-weight:700; }
.work-product .label-pill { background:#e9edff; color:var(--desk-blue); }
.work-product .desk-login { max-width:none; display:grid; grid-template-columns:1.25fr .75fr; padding:0; overflow:hidden; gap:0; }
.desk-login-main, .desk-login-aside { padding:clamp(1.25rem,2.8vw,2.2rem); }
.desk-login-aside { display:grid; align-content:center; background:#edf0ff; }
.desk-login-aside p { margin:.5rem 0 .75rem; color:#394468; font-size:.9rem; }
.work-product .desk-login .actions { margin:.95rem 0 .45rem; }
.work-product .state-flag { padding:.12rem .55rem; border-radius:99px; }
.work-product .state-flag.ok { color:#13533b; background:#e2f4e9; }
.work-product .state-flag.pending { color:#8a3a1e; background:#fff0e9; }
.work-product .desk-jump { display:flex; gap:.5rem; flex-wrap:wrap; }
.desk-jump a { display:block; color:var(--desk-blue); text-decoration:none; background:#fff; border:1px solid var(--desk-rule); border-radius:6px; padding:.45rem .8rem; font-size:.9rem; font-weight:700; }
.desk-jump a:hover { background:#eef0ff; }
.work-product .desk-guide { display:grid; grid-template-columns:minmax(180px,23%) minmax(0,1fr); gap:clamp(1rem,3vw,2.5rem); align-items:start; }
.desk-guide .desk-jump { display:grid; position:sticky; top:1rem; }
.desk-guide .desk-jump nav { display:grid; gap:.35rem; }
.desk-guide .desk-jump>a { color:var(--desk-muted); border:0; background:none; margin-top:.5rem; }
.desk-guide .panel { scroll-margin-top:1rem; }
.desk-guide .panel p, .desk-guide li, .desk-guide dd { margin:.75rem 0; }
.desk-guide dt { margin-top:1.2rem; font-weight:750; }
.desk-guide .panel code { font:.87em/1.5 "SFMono-Regular",Consolas,monospace; background:#edf0f8; color:#253572; padding:.1em .24em; border-radius:3px; overflow-wrap:anywhere; }
.desk-guide ol { padding-left:1.4rem; }
.desk-guide li::marker { color:var(--desk-blue); font-weight:700; }
.work-product .section-anchor, .work-product #launch, .work-product #enquiries, .work-product #contracts { scroll-margin-top:1rem; }
@media(max-width:760px) {
  .desk-cover { grid-template-columns:minmax(0,1fr) minmax(185px,.75fr); padding:24px; gap:1.25rem; }
  .desk-avatar-bar { display:grid; justify-items:start; gap:0; padding:.32rem .65rem; }
  .work-product .desk-avatar-bar button { padding-inline:0; min-height:30px; }
  .desk-guide .desk-jump { position:static; }
  .work-product .desk-guide { grid-template-columns:1fr; }
  .desk-guide .desk-jump nav { display:flex; flex-wrap:wrap; }
  .desk-guide .desk-jump>a { display:none; }
}
@media(max-width:590px) {
  .desk-mast-inner, .desk-foot>div { align-items:flex-start; flex-wrap:wrap; gap:.25rem; }
  .desk-mast-inner { padding-top:.8rem; }
  .desk-brand img { width:126px; }
  .desk-mast nav { width:100%; gap:1.2rem; flex-wrap:wrap; }
  .desk-mast nav a { min-height:40px; font-size:.78rem; }
  .desk-foot>div { padding-block:1rem; gap:.45rem 1.1rem; align-items:center; }
  .desk-foot nav { gap:.7rem; flex-wrap:wrap; }
  .desk-foot nav a { font-size:.74rem; }
  .desk-brand-mini img { width:90px; }
  .desk-cover { grid-template-columns:1fr; gap:1.15rem; padding:1.2rem; }
  .desk-cover-copy p { margin:.6rem 0 .85rem; }
  .desk-cover .desk-avatar { width:100%; max-width:370px; justify-self:center; }
  .desk-avatar-bar { display:flex; justify-content:space-between; align-items:center; }
  .work-product .desk-login { grid-template-columns:1fr; }
  .work-product .desk-heading h1 { font-size:2rem; }
  .work-product .desk-jump a { padding:.38rem .52rem; }
  .work-product .station-heading { gap:.4rem; }
  .work-product .tabs button { min-height:44px; font-size:.82rem; }
  .work-product .desk-heading .download { font-size:.79rem; }
  .work-product .metric { padding:.7rem; }
}
@media(prefers-reduced-motion: reduce) {
  .work-product *, .work-product *::before, .work-product *::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
}
.work-product .desk-reactions { border:0; border-top:1px solid var(--desk-rule); margin:0 .95rem .9rem; padding:.45rem 0 0; }
.desk-reactions legend { padding:0 .55rem 0 0; font-size:.8rem; font-weight:750; color:var(--desk-muted); }
.work-product .desk-reactions button { background:white; color:var(--desk-blue); border:1px solid #c8cee9; padding:.32rem .63rem; min-height:36px; font-size:.83rem; margin:.1rem .12rem .1rem 0; }
