:root{--ws-header:64px;--ws-rail:clamp(174px,15vw,226px);--ws-pad:clamp(18px,2.3vw,38px);--ws-line:#c6c5b3;--ws-green:#223b30;--ws-paper:#f6f1e5}
html{scrollbar-gutter:stable;scroll-padding-top:calc(var(--ws-header) + 12px)}
.ws-header,.work-frame,.ws-sidebar,.ws-sidebar button,#cat-chat{font-family:Manrope,"Segoe UI",sans-serif;box-sizing:border-box}
.ws-header{height:var(--ws-header);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:6;padding:0 var(--ws-pad);border-bottom:1px solid var(--ws-line);color:#f7f1df;background:#20372c}
.ws-header a,.ws-sidebar a{text-decoration:none;color:inherit}
.ws-header .ws-brand,.ws-header .ws-home{display:inline-flex;align-items:center;white-space:nowrap}
.ws-header .ws-brand img{display:block;width:clamp(128px,12vw,176px);height:auto}
.ws-header .ws-home{font:600 13px/1 Manrope,sans-serif;gap:7px}.ws-home i,.ws-entry i,.ws-shelf i{display:inline-block;width:17px;height:17px;background:currentColor;mask:center/contain no-repeat}.ws-home i{mask-image:url('/icons/building-2.svg')}.ws-entry i{mask-image:url('/icons/book-open.svg')}.ws-shelf i{mask-image:url('/icons/layers.svg')}
.work-frame{display:grid;grid-template-columns:var(--ws-rail) minmax(0,1fr);min-height:calc(100dvh - var(--ws-header));max-width:2060px;margin:0 auto;background-color:#f4efe3}
.ws-sidebar{position:sticky;top:var(--ws-header);align-self:start;display:flex;flex-direction:column;height:calc(100dvh - var(--ws-header));padding:23px 13px 10px;color:#263a2c;background:linear-gradient(100deg,#eeeadee8,#f7f1e3e8),url('/model/stock-paper.webp') center/300px;border-right:1px solid var(--ws-line);z-index:4;min-width:0}
.ws-navigation{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.ws-navigation .ws-entry,.ws-navigation .ws-shelf{display:flex;align-items:center;gap:9px;min-height:39px;padding:8px 11px;font:660 14px/1.35 Manrope,sans-serif;border-radius:3px}
.ws-navigation .ws-shelf{margin-top:12px}
.ws-navigation #project-nav{display:grid;gap:2px;border-left:1px solid #c5c7b4;margin:2px 0 0 18px;padding:2px 0 2px 10px}
.ws-navigation #project-nav a{font:560 13px/1.35 Manrope,sans-serif;color:#475a4a;padding:8px;border-radius:3px;white-space:nowrap}
.ws-navigation a:hover{background:#e0e4d4}.ws-navigation .ws-entry[aria-current],.ws-navigation #project-nav a[aria-current]{background:#294434;color:#fbf4df;box-shadow:inset 2px 0 #c6a35d}
#cat-toggle{margin:auto auto 0;padding:12px 0 3px;border:0;background:transparent;display:grid;justify-items:center;flex:none;max-width:100%;width:109px;color:#536153;cursor:pointer}
#cat-toggle img{display:block;width:100%;height:auto;filter:drop-shadow(0 2px 1px #544b2a22);transition:transform .2s ease}
#cat-toggle:hover img{transform:translateY(-2px) rotate(-2deg)}
#cat-toggle span{font:650 11px/1.5 Manrope,sans-serif}
.work-frame>main#main{position:relative;isolation:isolate;min-width:0;max-width:none;margin:0;padding:clamp(18px,2vw,34px) var(--ws-pad) 38px;background-color:#f5f0e5;background-image:url('/model/bureau-drawing.png'),radial-gradient(ellipse at 14% 5%,#fffaf337,#eeeadb73),linear-gradient(#f8f4e9ec,#f4efe2eb),url('/model/stock-paper.webp');background-size:min(800px,72%) auto,cover,cover,270px;background-position:right -145px bottom 0,center,center,center;background-repeat:no-repeat,no-repeat,no-repeat,repeat}
.work-frame>main#main::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:repeating-linear-gradient(0deg,#75836e33 0 1px,transparent 1px 12px) left 4px top / 4px 100% no-repeat}
.studio-page #workspace{min-width:0}
.studio-page #functions{margin-top:0}
.studio-links{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end}
.studio-links a{color:#425a47;font-size:12px;font-weight:650;text-decoration:underline;text-underline-offset:4px}
.work-and-detail{display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-items:start;--dock-width:clamp(245px,20vw,335px)}
.work-and-detail:has(>.results:not([hidden])){grid-template-columns:minmax(0,1fr) var(--dock-width);gap:16px}
.work-surface{min-width:0}.work-and-detail>.results{position:sticky;top:calc(var(--ws-header) + 8px);border:1px solid #c7c7b4;border-radius:4px;max-height:calc(100dvh - var(--ws-header) - 16px);padding:16px;min-width:0;background:#f9f6ec}
.work-and-detail .dock-tools{display:flex;justify-content:flex-end;margin:0 0 4px}
.work-and-detail .results:has(#dialog:not([hidden])) .dock-tools{display:none}
.work-and-detail .results[hidden]{display:none!important}
.studio-page .mainpanel.expanded{inset:8px;z-index:10}
.studio-page .work-and-detail:has(>.results:not([hidden])) .mainpanel.expanded{right:calc(var(--dock-width) + 12px)}
body.studio-page:has(.mainpanel.expanded) .work-and-detail>.results{z-index:11;top:8px;max-height:calc(100dvh - 16px)}
.work-frame #shift-report{scroll-margin-top:8px}
.ws-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#cat-chat[hidden],#cat-chat [hidden]{display:none!important}
#cat-chat{
  --chat-green:#203e32;--chat-ink:#24392f;--chat-rule:#d4d4c5;
  position:fixed;z-index:22;isolation:isolate;left:clamp(12px,1.7vw,30px);bottom:14px;
  display:grid;grid-template-rows:auto minmax(0,1fr) auto;box-sizing:border-box;
  width:min(430px,calc(100vw - 24px));height:min(760px,calc(100dvh - 88px));max-height:none;
  margin:0;overflow:hidden;border:1px solid #9aa89a;border-radius:15px;
  background:#faf8f0;color:var(--chat-ink);box-shadow:0 22px 80px #13291e3b,0 3px 10px #19281d15;
  font:14px/1.55 Manrope,"Segoe UI",sans-serif;text-align:left;
}
#cat-chat .cat-head{display:flex;align-items:center;gap:13px;position:relative;min-height:80px;padding:13px 16px;background:var(--chat-green);color:#f8f4e7;border:0}
#cat-chat .cat-head::after{content:"";position:absolute;inset:auto 16px 3px;height:2px;opacity:.32;background:repeating-linear-gradient(90deg,#b7c3a6 0 1px,transparent 1px 9px)}
.cat-avatar{display:grid;place-items:center;flex:0 0 auto;width:50px;height:50px;border-radius:50%;background:#ede8d2;box-shadow:inset 0 0 0 3px #e0dcc8}
.cat-avatar img{width:45px;height:auto;display:block}
#cat-chat h2{margin:0;color:inherit;letter-spacing:-.035em;font:500 28px/1.12 var(--brand-serif,Georgia,serif)}
#cat-chat .cat-head small{display:flex;align-items:center;gap:6px;margin-top:3px;color:#d2ddcb;font:560 11px/1.3 Manrope,sans-serif}
.cat-head small::before{content:"";width:5px;height:5px;border-radius:50%;background:#c7cd9b}
#cat-chat .cat-close{margin-left:auto;width:40px;height:40px;display:grid;place-items:center;border:1px solid #ffffff38;border-radius:50%;cursor:pointer;background:transparent;color:#f5f6e9}
.cat-close::after{content:"";background:currentColor;mask:url('/icons/x.svg') center / contain no-repeat;width:17px;height:17px}
#cat-chat .cat-close:hover{background:#ffffff15}
.cat-thread{position:relative;min-height:0;min-width:0}
#cat-chat .cat-log{position:absolute;inset:0;display:flex;flex-direction:column;align-items:flex-start;gap:20px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bac4b1 transparent;padding:24px 20px}
.cat-message{flex:none;min-width:0;max-width:96%;overflow-wrap:anywhere}
#cat-chat .cat-message p{white-space:pre-wrap;margin:0;text-align:left;font:400 15px/1.58 Manrope,'Segoe UI',sans-serif;letter-spacing:-.012em;color:inherit}
#cat-chat .cat-message.user{align-self:flex-end;max-width:88%;border-radius:15px 15px 3px 15px;background:#e2eada;padding:10px 15px}
#cat-chat .cat-message.assistant{position:relative;padding-left:13px;border-left:2px solid #b39258}
#cat-chat .cat-source{display:inline-flex;align-items:center;gap:6px;min-height:31px;width:auto;margin:9px 0 0;color:#3c5b46;border-bottom:1px solid #9aaf9b;font:650 12px/1.4 Manrope,sans-serif;text-decoration:none}
.cat-source::before{content:"";width:13px;height:15px;background:currentColor;mask:url('/icons/file-text.svg') center / contain no-repeat}
.cat-source::after{content:"↗";font-size:13px}
.cat-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:14px;pointer-events:none;background:radial-gradient(ellipse at center,#ece9dcb0,transparent 65%)}
.cat-empty img{width:clamp(110px,42%,175px);height:auto}
#cat-chat .cat-empty button{pointer-events:auto;padding:9px 14px;background:#faf8ef;border:1px solid #c4cbb9;border-radius:20px;line-height:1.4;font-size:13px;color:var(--chat-ink);cursor:pointer}
#cat-chat .cat-empty button:hover{border-color:#657f66;background:#f1f2e6}
#cat-chat footer{display:block;width:100%;box-sizing:border-box;margin:0;padding:12px 14px 15px;border:0;border-top:1px solid var(--chat-rule);background:#f1f0e5}
#cat-chat form{display:flex;box-sizing:border-box;width:100%;max-width:none;align-items:flex-end;gap:8px;margin:0;padding:9px 9px 9px 14px;border:1px solid #aeb9a7;border-radius:12px;background:#fffdf7}
#cat-chat form:focus-within{border-color:#52715a;box-shadow:0 0 0 1px #52715a55}
#cat-chat textarea{display:block;box-sizing:border-box;min-width:0;width:auto;flex:1;align-self:stretch;height:53px;min-height:0;margin:0;padding:3px 0;resize:none;background:none;border:0;border-radius:0;outline:0;box-shadow:none;color:inherit;font:400 15px/1.48 Manrope,'Segoe UI',sans-serif}
#cat-chat textarea::placeholder{color:#657365}
#cat-chat button[type=submit]{flex:none;width:39px;height:39px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:var(--chat-green);color:white;cursor:pointer;font:23px/1 "Segoe UI",sans-serif}
#cat-chat button[type=submit]:disabled{opacity:.55}
#cat-chat .cat-status{color:#455a49;margin:0 2px 6px;font:600 12px/1.4 Manrope,sans-serif}
#cat-chat .cat-status:empty{display:none}
@media(max-width:560px){#cat-chat{left:max(6px,env(safe-area-inset-left));bottom:max(6px,env(safe-area-inset-bottom));width:calc(100% - 12px);height:min(760px,calc(100dvh - env(safe-area-inset-bottom) - env(safe-area-inset-top) - 16px));border-radius:12px}#cat-chat .cat-log{padding:20px 16px}#cat-chat textarea{font-size:16px}#cat-chat .cat-head{min-height:66px;padding:10px 14px}.cat-avatar{width:43px;height:43px}.cat-avatar img{width:39px}}
@media(max-height:520px){#cat-chat{height:calc(100dvh - 12px);bottom:6px}#cat-chat .cat-head{min-height:52px;padding-block:7px}.cat-avatar{width:37px;height:37px}.cat-avatar img{width:33px}#cat-chat h2{font-size:23px}#cat-chat footer{padding-block:6px}.cat-empty img{max-height:52%;object-fit:contain}}
.account-page .worktable{grid-template-columns:minmax(230px,.87fr) minmax(300px,1.25fr);min-height:clamp(270px,24vw,365px);padding:clamp(20px,2.3vw,40px);background-color:#294131}
.account-page .worktable::before{content:'';position:absolute;inset:0 49% 0 0;z-index:-1;clip-path:polygon(0 0,100% 0,92% 100%,0 100%);background:url('/model/bureau-drawing.png') 95% 115%/min(630px,125%) auto no-repeat,linear-gradient(100deg,#f5ecd7ed,#e4d9bfdd),url('/model/stock-paper.webp') center/280px;box-shadow:inset 0 0 12px #66543533}
.account-page .worktable::after{border-color:#baa67762}
.account-page .desk-copy{color:#24392e}
.account-page .desk-copy h1{font:500 clamp(45px,4.6vw,79px)/1 var(--brand-serif);letter-spacing:-.065em;max-width:7.8em}
.account-page .desk-actions{margin-top:25px}
.start-scenario{display:inline-flex;align-items:center;gap:9px;background:#294735;color:#fff6dc;font:680 14px/1.3 Manrope,sans-serif;padding:11px 17px;border:1px solid #233e2f;border-radius:3px;pointer-events:auto;text-decoration:none}
.start-scenario b{font:19px/1 sans-serif}.start-scenario:hover{background:#355641}
.account-page .desk-stilllife{height:clamp(210px,19vw,320px)}
.account-page .specimen{display:block;overflow:hidden;inset:3% 6% 23%;width:auto;height:auto;min-width:0;min-height:0}
.account-page .specimen img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;object-position:center;filter:drop-shadow(2px 4px 3px #453c2829)}
.account-page .plate-caption{z-index:1}
@media(max-width:1000px){:root{--ws-rail:168px;--ws-pad:16px}.ws-sidebar{padding-inline:9px}.work-and-detail{--dock-width:229px}.work-and-detail:has(>.results:not([hidden])){gap:9px}}
@media(max-width:800px){
 :root{--ws-header:52px;--ws-pad:12px}.ws-header .ws-brand img{width:123px}.ws-header .ws-home{font-size:12px;gap:4px}
 .work-frame{display:block}.ws-sidebar{height:51px;position:sticky;top:var(--ws-header);padding:4px var(--ws-pad);display:flex;align-items:center;flex-direction:row;gap:6px;border:0;border-bottom:1px solid var(--ws-line);background:#f1eddf}
 .ws-navigation{display:flex;align-items:center;overflow:auto;scrollbar-width:none;min-width:0;gap:3px;flex:1}
 .ws-navigation .ws-entry,.ws-navigation .ws-shelf,.ws-navigation #project-nav a{padding:7px;font:620 12px/1.3 Manrope,sans-serif;min-height:31px;white-space:nowrap}
 .ws-navigation .ws-entry{gap:4px}.ws-navigation .ws-shelf{margin:0;font-size:0;gap:0}.ws-shelf i{width:16px;height:16px}
 .ws-navigation #project-nav{display:flex;align-items:center;border:0;margin:0;padding:0;gap:2px}
 #cat-toggle{margin:0;padding:0;width:49px;height:39px;align-items:center}#cat-toggle img{height:36px;width:49px;object-fit:contain}#cat-toggle span{display:none}
 html{scroll-padding-top:calc(var(--ws-header) + 60px)}
 .work-frame>main#main{padding:13px var(--ws-pad) 25px}
 .work-and-detail,.work-and-detail:has(>.results:not([hidden])){display:flex;flex-direction:column;gap:0;align-items:stretch}
 .work-surface{display:contents}#model{order:1}#map-tools{order:2}.work-and-detail>.results{position:static;order:3;max-height:none;overflow:visible;margin:8px 0;padding:13px}#schedule{order:4}#feature{order:5}.work-and-detail:has(#model[hidden]) .results{order:6}
 .studio-page .work-and-detail:has(>.results:not([hidden])) .mainpanel.expanded{right:8px}
 .studio-links{gap:7px}.studio-links a{font-size:11px}
 .account-page .worktable{grid-template-columns:.85fr 1.15fr;min-height:240px}
}
@media(max-width:540px){
 .account-page .worktable{display:flex;flex-direction:column;align-items:stretch;min-height:0;padding:20px 20px 13px}
 .account-page .worktable::before{inset:0 0 43%;clip-path:polygon(0 0,100% 0,100% 87%,0 100%);background-size:100% auto,cover,270px}
 .account-page .desk-copy h1{font-size:43px}.account-page .desk-actions{margin-top:12px}.account-page .desk-stilllife{width:86%;min-width:0;height:162px;margin:8px 0 0 auto}
 .start-scenario{font-size:13px;padding:8px 11px}
 .studio-links{flex-direction:column;align-items:flex-end}

}
@media(prefers-reduced-motion:reduce){#cat-toggle img{transition:none}}

.ws-header *, .ws-sidebar *, .work-frame>main#main {box-sizing:border-box}
.skip-link,.studio-page .skip{position:fixed;z-index:30;top:6px;left:8px;padding:8px 12px;transform:translateY(-180%);background:#fff9eb;color:#243c2c}
.skip-link:focus,.studio-page .skip:focus{top:6px;transform:none}
@media(max-width:365px){.ws-header .ws-home{font-size:0;gap:0;padding:7px}.ws-header .ws-home i{height:17px;width:17px}}

.stage[data-material=world]{background:#c0c1a3}
.table-skins [data-table-skin=world] i{background:linear-gradient(125deg,#809675 30%,#b1ab88 31% 37%,#bcc49e 38% 63%,#94927b 64% 69%,#a3b396 70%)}
/* The same felt, paper and ink used at the public workbench. */
.ws-header {
  color:#f6f1e3;
  background-color:#233329;background-image:var(--bench-felt);
  background-position:center;background-size:cover,100% auto;
  border-bottom:1px solid #b99e61;
}
.ws-header .ws-home {
  min-height:34px;
  padding:6px 13px;
  color:#292d23;
  background-color:#d7ad52;
  background-image:linear-gradient(105deg,#e8c16b88,#bd92470d),url('/landing/grain.svg');
  background-blend-mode:normal,soft-light;
  border:1px solid #e0bb69;
  border-radius:3px;
  box-shadow:inset 0 -2px #98783950;
}
.ws-header .ws-home:hover {background-color:#e7bf69}
.ws-sidebar {
  background-color:#e7e0cc;
  background-image:linear-gradient(96deg,#f8f3e561,#e6dcc138),url('/landing/grain.svg');
  background-blend-mode:normal,soft-light;
  border-right-color:#b6b09a;
}
.ws-navigation .ws-entry[aria-current],.ws-navigation #project-nav a[aria-current] {
  background:#263c2d;
  color:#f8f1de;
  border-radius:1px;
  box-shadow:inset 3px 0 #d2af61;
}
@media(min-width:801px) {
  .ws-sidebar::after {
    content:"";position:absolute;bottom:12px;left:12px;right:12px;height:4px;
    background:var(--ruler-edge);pointer-events:none;
  }
  .ws-sidebar #cat-toggle {margin-bottom:12px}
  .ws-navigation .ws-shelf {border-top:1px solid #b9b69e;border-radius:0;padding-top:15px}
  .ws-navigation #project-nav {margin-left:19px;border-color:#b5b399}
}
.work-frame>main#main {
  background-color:#eae3d2;
  background-image:linear-gradient(115deg,#faf5e37a,#e1d6bd22),url('/landing/grain.svg');
  background-size:auto,180px;
  background-position:center;
  background-repeat:repeat;
  background-blend-mode:normal,soft-light;
}
.account-page .worktable {
  border:1px solid #2b392b;border-radius:2px;
  background:#233329;
  background-image:var(--bench-felt);background-size:cover,100% 100%;
  min-height:clamp(320px,29vw,445px);
  box-shadow:0 3px 0 #b4aa8c,0 7px 16px -8px #2b30224f;
}
.account-page .worktable::before {
  inset:auto 4% 13px;height:5px;
  clip-path:none;background:repeating-linear-gradient(90deg,#c3b78377 0 1px,transparent 1px 11px);
  box-shadow:none;
}
.account-page .worktable::after {display:none}
.account-page .desk-copy {color:#efeada}
.account-page .desk-copy h1 {
  color:inherit;font-family:var(--brand-serif);font-weight:400;
  font-size:clamp(44px,5.05vw,88px);line-height:1.01;letter-spacing:-.05em;
}
.start-scenario {
  background:#e7bd60;color:#2b301f;border-color:#e7c576;border-radius:2px;
  box-shadow:inset 0 -2px #99763a45;
}
.start-scenario:hover {background:#f0cc77}
.account-page .section-heading h2 {font:400 clamp(30px,3vw,48px)/1.08 var(--brand-serif);letter-spacing:-.045em}
.account-page .section-rule {height:4px;background:var(--ruler-edge)}
.account-page .section-line {display:none}
.account-page .project-file {
  border-radius:1px;
  background:var(--sheet-face),#f2eddd;background-blend-mode:normal,soft-light;
  border-color:#bdb39a;
  box-shadow:1px 2px 0 #d8cfb6,1px 3px 0 #b3ab97;
}
.account-page .project-file:hover {border-color:#70856a;box-shadow:1px 2px 0 #9d9e80,2px 4px 7px #514e3226}
.account-page .project-file h3 {font:400 23px/1.18 var(--brand-serif)}
@media(max-width:800px) {
  html {scrollbar-gutter:auto}
  .ws-header .ws-home {min-height:31px;padding:5px 9px}
  .account-page .worktable {min-height:240px}
}
@media(max-width:540px) {
  .account-page .worktable {min-height:0}
  .account-page .desk-copy h1 {font-size:clamp(34px,8.9vw,48px)}
  .account-page .section-heading h2 {font-size:30px}
}
@media(max-width:360px) {
  .ws-navigation .ws-entry,.ws-navigation #project-nav a {padding-inline:5px}
  .ws-sidebar #cat-toggle {width:43px}
  .ws-sidebar #cat-toggle img {width:43px}
}
/* Navigation shares the exposed cloth around the model on the home workbench. */
:root {
  --ws-rail:clamp(172px,13.6vw,216px);
  --ws-header:60px;
  --ws-green-ink:#f1eddd;
  --ws-muted-ink:#c4cbb7;
  --ws-brass:#d6ba79;
}
body:has(.work-frame),.work-frame {background:var(--hero-cloth)}
.ws-header, .ws-sidebar {
  background-color:var(--hero-cloth);
  background-image:linear-gradient(100deg,#1b291f33,#2230260c),var(--hero-weave);
  background-blend-mode:normal;
}
.ws-header {
  background-image:linear-gradient(100deg,#223126ba,#1e2c21b5),var(--hero-weave);
  background-size:cover,cover;background-position:center,center 28%;background-repeat:no-repeat;
  border-bottom:1px solid #89967b46;color:var(--ws-green-ink);z-index:9;
}
.ws-header .ws-brand img {width:clamp(126px,10vw,155px)}
.ws-sidebar {
  padding:23px 12px 16px;
  color:var(--ws-muted-ink);
  background-size:cover,cover;background-position:center,left top;background-repeat:no-repeat;
  border:0;box-shadow:none;
}
.ws-sidebar::after {display:none}
.ws-sidebar .ws-navigation .ws-entry,.ws-sidebar .ws-navigation .ws-shelf {
  color:var(--ws-muted-ink);gap:9px;padding:8px 9px;font-size:14px;
}
.ws-sidebar .ws-navigation .ws-shelf {border:0;margin-top:6px}
.ws-sidebar .ws-navigation #project-nav {border-left-color:#91a88a50;margin-left:18px}
.ws-sidebar .ws-navigation #project-nav a {color:#d2d7c7;font-size:13px}
.ws-sidebar .ws-navigation a:hover {color:#fffae8;background:#94a3841b}
.ws-sidebar .ws-navigation .ws-entry[aria-current],
.ws-sidebar .ws-navigation #project-nav a[aria-current] {
  color:#fff3d7;background:#9fab8d20;border-radius:1px;box-shadow:inset 2px 0 #c3a35c;
}
.ws-sidebar #cat-toggle {color:#e0e2d1}
.ws-sidebar #cat-toggle img {filter:drop-shadow(1px 3px 2px #14201980)}
.ws-sidebar #cat-toggle[aria-expanded=true] {visibility:hidden}
.ws-header a:focus-visible,.ws-header summary:focus-visible,.ws-header button:focus-visible,.ws-sidebar :focus-visible {
  outline:2px solid #e2c278;outline-offset:2px;
}
.ws-profile {position:relative;z-index:1;color:#e9ebdb}
.ws-profile summary,.ws-enter {
  box-sizing:border-box;display:inline-flex;align-items:center;gap:8px;
  min-height:40px;padding:3px 4px;list-style:none;cursor:pointer;
  font:610 14px/1.35 Manrope,'Segoe UI',sans-serif;
}
.ws-profile summary::-webkit-details-marker {display:none}
.ws-profile summary:hover,.ws-profile[open] summary,.ws-header .ws-enter:hover {color:#ffdf8e}
.ws-profile .ws-portrait {
  box-sizing:border-box;width:29px;height:29px;display:grid;place-items:center;
  border:1px solid #c9ccb37a;border-radius:50%;background:#cad0b70e;
}
.ws-portrait::after,.ws-caret {content:"";display:block;background:currentColor}
.ws-portrait::after {width:16px;height:16px;mask:url('/icons/user-round.svg') center/contain no-repeat}
.ws-caret {width:13px;height:13px;mask:url('/icons/chevron-down.svg') center/contain no-repeat}
.ws-profile[open] .ws-caret {transform:rotate(180deg)}
.ws-profile-list {
  position:absolute;top:calc(100% + 5px);right:0;width:min(218px,calc(100vw - 18px));
  padding:6px;box-sizing:border-box;background-color:#ece6d5;background-image:var(--sheet-face);
  background-blend-mode:normal,soft-light;border:1px solid #b6af94;
  color:#293629;box-shadow:1px 3px 0 #968c6a,0 10px 27px #101c1766;
}
.ws-profile-list p {
  margin:0 4px 4px;padding:8px 7px 10px;border-bottom:1px solid #bab49c;
  font:400 18px/1.25 var(--brand-serif);
}
.ws-profile-list p small {display:block;margin-top:4px;font:500 12px/1.4 Manrope,'Segoe UI',sans-serif;color:#5d6655}
.ws-profile-list a,.ws-profile-list button {
  box-sizing:border-box;display:flex;align-items:center;width:100%;min-height:37px;
  padding:6px 11px;background:transparent;color:#2c3a2c;
  border:0;text-align:start;cursor:pointer;
  font:590 14px/1.35 Manrope,'Segoe UI',sans-serif;text-decoration:none;
}
.ws-profile-list :is(button,a):hover {background:#d8d9c5}
.ws-profile-list :is(button,a):focus-visible {outline:2px solid #926d32;outline-offset:-2px}
.ws-profile-list #workspace-exit {border-top:1px solid #c4bea5;margin-top:3px}
.ws-session-message:not(:empty) {display:block;margin:5px 8px;color:#82432e;font:13px/1.4 Manrope,sans-serif}
.ws-header .ws-enter,.ws-header[data-workspace=public] .ws-profile {display:none}
.ws-header[data-workspace=public] .ws-enter {display:inline-flex;color:#e9dbb6}
body:has(.ws-header[data-workspace=public]) .json-entry {display:none}
@media(max-width:800px) {
  :root {--ws-header:50px}
  .ws-sidebar {
    padding:4px var(--ws-pad);height:46px;
    border-bottom:1px solid #949d7f55;background-size:cover,cover;
    background-position:center,center 38%;
  }
  .ws-sidebar .ws-navigation .ws-entry,.ws-sidebar .ws-navigation #project-nav a {
    font-size:12px;padding:7px 6px;min-height:32px;
  }
  .ws-sidebar .ws-navigation .ws-shelf {font-size:0;margin:0;padding:7px;gap:0}
  .ws-sidebar .ws-navigation #project-nav {margin:0}
  .ws-profile summary,.ws-enter {font-size:13px;min-height:40px}
  .ws-sidebar #cat-toggle {margin:0}
}
@media(max-width:360px) {
  .ws-sidebar .ws-navigation .ws-entry,.ws-sidebar .ws-navigation #project-nav a {padding-inline:4px}
}
.ws-login-page {
  min-height:100dvh;margin:0;padding:0 clamp(16px,5vw,78px);
  display:grid;grid-template-rows:auto 1fr;
  background-color:var(--hero-cloth);background-image:linear-gradient(120deg,#1e2d2140,#29382c12),var(--hero-weave);
  background-size:cover,auto 100vh;color:#283226;font:15px/1.5 Manrope,'Segoe UI',sans-serif;
}
.ws-login-brand {padding:22px 0;max-width:145px}
.ws-login-brand img {display:block;width:100%;height:auto}
.ws-login-sheet {
  align-self:center;justify-self:center;width:min(100%,440px);box-sizing:border-box;
  margin:0 0 12vh;padding:clamp(25px,4vw,48px);position:relative;
  background-color:#ece6d6;background-image:var(--sheet-face);background-blend-mode:normal,soft-light;
  border:1px solid #d5c8a7;box-shadow:0 3px #b9ae8e,1px 5px #d9cfb9,2px 12px 26px #0d1a1059;
}
.ws-login-sheet::before {content:"";position:absolute;left:14px;right:14px;top:9px;height:4px;background:var(--ruler-edge)}
.ws-login-sheet h1 {margin:0;font:400 clamp(35px,4.3vw,55px)/1.05 var(--brand-serif);letter-spacing:-.052em}
.ws-login-sheet p {margin:16px 0 25px;color:#54604e}
.ws-login-sheet button {width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:43px;padding:8px 14px;color:#f8f1dd;background:#293c2d;border:1px solid #223525;cursor:pointer;font:650 14px/1.4 Manrope,'Segoe UI',sans-serif}
.ws-login-sheet>a {display:inline-block;margin-top:16px;color:#4a604a;font-size:13px;text-underline-offset:3px}
.ws-login-page :focus-visible {outline:2px solid #ab842f;outline-offset:3px}

.ws-header:not([data-plan=demo]) .guest-register{display:none}
.ws-profile-list p,.ws-profile-list p small{overflow-wrap:anywhere}
.ws-login-page{background-image:linear-gradient(90deg,#203026f2 0%,#203026bc 43%,#25342820 84%),url('/landing/workbench.webp');background-size:cover;background-position:center 45%;background-repeat:no-repeat}
.ws-login-sheet{justify-self:start;width:min(100%,468px);margin-left:clamp(0px,5vw,86px);margin-bottom:min(8vh,70px)}
.ws-login-sheet .ws-auth-form{display:grid;gap:13px;margin:19px 0 10px}
.ws-auth-form label{display:grid;gap:4px;color:#344332;font:650 13px/1.4 Manrope,sans-serif}
.ws-auth-form input{box-sizing:border-box;width:100%;min-height:43px;padding:8px 11px;border:1px solid #a7ae99;border-radius:2px;color:#273328;background:#fbf7ed;font:16px/1.45 Manrope,sans-serif}
.ws-auth-form button{margin-top:3px}
.ws-login-sheet .ws-auth-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px 17px;margin-top:13px}
.ws-login-sheet .ws-auth-links a,.ws-login-sheet .ws-auth-links button{display:inline-flex;width:auto;min-height:32px;padding:0;border:0;color:#445e45;background:none;font:650 13px/1.4 Manrope,sans-serif;text-decoration:underline;text-underline-offset:3px}
.ws-login-sheet [hidden]{display:none!important}
.ws-login-sheet .ws-session-message:not(:empty){margin:11px 0;color:#5b4b2f}
.account-subscription,.account-migration{margin-top:24px;padding:clamp(17px,2.2vw,30px);border:1px solid #c6bea5;background:#ece7d7;scroll-margin-top:90px}
.account-subscription{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px}
.account-subscription h2{margin:0;font:400 clamp(23px,2.4vw,39px)/1.1 var(--brand-serif);letter-spacing:-.04em}
.account-subscription p,.account-migration p{margin:6px 0 0;color:#52614f;font-size:14px}
.account-subscription #tariff-action>div,.account-migration #legacy-choices>div{display:flex;gap:12px;align-items:center;justify-content:space-between}
.account-subscription small{max-width:275px;color:#53604c}
.account-subscription button,.account-migration button{padding:8px 15px;min-height:38px;border:1px solid #304834;border-radius:2px;background:#304834;color:#f2eedc;font-weight:650}
.account-subscription [role=status]:empty,.account-migration[hidden]{display:none}
.account-migration summary{cursor:pointer;font-weight:650}
.account-migration #legacy-choices>div{padding:8px 0;border-bottom:1px solid #c8c0a9}
@media(max-width:720px){
  .ws-login-page{background-position:65% center}
  .ws-login-sheet{margin:0 auto 24px;padding:24px}
  .account-subscription #tariff-action>div{align-items:start;flex-direction:column}
  .account-subscription,.account-migration{scroll-margin-top:105px}
}
.account-subscription #tariff-action label{display:grid;gap:3px;color:#4a5947;font-size:12px;font-weight:700}.account-subscription #tariff-action select{max-width:100%;min-height:38px;padding:5px 9px;color:#2d402d;background:#f8f5e8;border:1px solid #aab197;font:600 14px Manrope,sans-serif}.account-subscription #tariff-action small{max-width:180px}
