/* Workspace-choice layout copied from bundled MISSY; R2 labels and responsive adaptations. */
 #profile-mode-picker{box-sizing:border-box;position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;padding:28px;border:0;background:#000;color:#dcc1e5;overflow:auto}
 #profile-mode-picker::backdrop{background:#000}#profile-mode-picker[open]{display:grid;grid-template-columns:100px minmax(0,1fr);gap:24px;align-items:center}
 #profile-mode-picker .entry-rail{align-self:stretch;min-height:560px;border-radius:80px 0 0 80px;background:#cc99cc;display:flex;flex-direction:column;gap:10px;overflow:hidden}
 #profile-mode-picker .entry-rail i{display:block;height:70px;background:#ff9966;border-bottom:10px solid #000}#profile-mode-picker .entry-rail i:nth-child(2n){background:#9999ff;height:110px}
 #profile-mode-picker .entry-content{box-sizing:border-box;width:100%;max-width:1400px;justify-self:center;padding:12px 28px;min-width:0}
 #profile-mode-picker .entry-heading{border-top:18px solid #ff9966;border-radius:64px 0 0 0;padding:28px 0 18px;display:flex;justify-content:space-between;gap:32px;align-items:center}
 #profile-mode-picker .entry-heading h1{color:#ff9966;font:700 42px/1.15 Arial,sans-serif;margin:8px 0 12px}#profile-mode-picker .entry-eyebrow{color:#cc99cc;font:14px monospace;letter-spacing:2px}
 #profile-mode-picker .entry-heading p{font:17px/1.5 Arial,sans-serif;margin:0}#profile-mode-picker .entry-heading img{width:230px;height:auto;flex:0 0 auto;background:#fff;border-radius:18px;padding:8px}
 #profile-mode-picker .entry-choices{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:22px 0 28px}
 #profile-mode-picker .entry-choice{box-sizing:border-box;min-width:0;min-height:330px;background:#120b18;color:#dcc1e5;border:2px solid #cc99cc;border-top:14px solid #ff9966;border-radius:42px 0 42px 0;padding:28px;text-align:left;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:18px;font:16px/1.5 Arial,sans-serif}
 #profile-mode-picker .entry-choice:nth-child(2){border-top-color:#cc99cc}#profile-mode-picker .entry-choice svg{width:190px;height:80px}#profile-mode-picker .entry-choice strong{color:#ff9966;font-size:30px;line-height:1.2}#profile-mode-picker .entry-choice span{display:block}#profile-mode-picker .entry-choice .entry-number{font:16px monospace;color:#9999ff;letter-spacing:3px}
 #profile-mode-picker .entry-choice:hover,#profile-mode-picker .entry-choice:focus-visible{outline:4px solid #ff9966;outline-offset:5px;background:#21112a}#profile-mode-picker .entry-choice:active{background:#392241}
 #profile-mode-picker .entry-footer{border-bottom:16px solid #cc99cc;border-radius:0 0 0 48px;padding:0 0 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
 #profile-mode-picker .entry-footer p{font:14px/1.4 Arial,sans-serif;margin:0}#profile-mode-picker .entry-footer button{background:#cc99cc;color:#180f1e;border:0;border-radius:24px;padding:12px 18px;cursor:pointer;font:16px Arial,sans-serif}
 #profile-mode-picker .entry-footer button:focus-visible{outline:3px solid #ff9966;outline-offset:3px}

#profile-mode-picker{padding-bottom:90px;}#profile-mode-picker .entry-choices{grid-template-columns:repeat(3,minmax(0,1fr));}#profile-mode-picker .entry-choice svg{fill:none;stroke:#cc99cc;stroke-width:3;}#profile-mode-picker .entry-choice strong{font-size:30px;color:#ff9966;}#profile-mode-picker>.r2-language{position:absolute;right:30px;top:18px;float:none;margin:0;}#profile-mode-picker .entry-content{margin:auto;}#profile-mode-picker .entry-choice:nth-child(3){border-top-color:#9999ff;}#profile-mode-picker .entry-footer>div{display:flex;gap:10px;flex-wrap:wrap;}#profile-mode-picker .entry-heading p{max-width:55ch;}
/* The role chooser uses the same source display proportions and tokens. */
#view-home .workspace-entry{grid-template-columns:100px minmax(0,1fr);gap:24px;}#view-home .workspace-rail{border-radius:80px 0 0 80px;min-height:560px;display:flex;flex-direction:column;gap:10px;}#view-home .workspace-rail i{height:70px;border-bottom:10px solid #000;flex:0 0 auto;}#view-home .workspace-rail i:nth-child(2n){height:110px;}#view-home .workspace-content{padding:12px 28px;}#view-home .workspace-heading{border-top:18px solid #ff9966;border-radius:64px 0 0 0;padding:28px 0 18px;}#view-home .workspace-heading h1{font:700 42px/1.15 Arial,sans-serif;margin:8px 0 12px;}#view-home .workspace-heading img{width:230px;padding:8px;border-radius:18px;}#view-home .role-options{gap:30px;margin:22px 0 28px;}#view-home .workspace-choice{min-height:330px;border-radius:42px 0 42px 0;border-top-width:14px;padding:28px;align-items:flex-start;text-align:left;gap:18px;background:#120b18;color:#dcc1e5;}#view-home .workspace-choice strong{font-size:30px;}#view-home .workspace-choice span{font-size:16px;line-height:1.5;color:#dcc1e5;}#view-home .workspace-choice .entry-number{font:16px monospace;color:#9999ff;letter-spacing:3px;}#view-home .role-art{width:190px;height:80px;}#view-home .workspace-footer{border-bottom-width:16px;border-radius:0 0 0 48px;padding-bottom:20px;}#view-home .entry-eyebrow{color:#cc99cc;font:14px monospace;letter-spacing:2px;}#view-home .workspace-heading p{font:17px/1.5 Arial,sans-serif;}#view-home .home-version{font-size:12px!important;}
/* Shared full-screen editor frames retain the same rail and elbow geometry. */
.batch-dialog:not(#profile-mode-picker) .batch-shell{border-left:24px solid #cc99cc;border-top-width:18px;border-bottom-width:16px;border-radius:64px 0 0 48px;padding-left:28px;}
.tech-access .access-content{border-left:24px solid #cc99cc;border-top:18px solid #ff9966;border-bottom:16px solid #cc99cc;border-radius:64px 0 0 48px;padding:28px;}
@media(max-width:1050px){#profile-mode-picker[open]{grid-template-columns:45px minmax(0,1fr);gap:14px;}#profile-mode-picker .entry-content{padding:12px 10px;}#profile-mode-picker .entry-heading img{width:150px;}#profile-mode-picker .entry-heading h1{font-size:32px;}#profile-mode-picker .entry-choices{gap:14px;}#profile-mode-picker .entry-choice{padding:18px;min-height:300px;}#profile-mode-picker .entry-choice strong{font-size:25px;}}
@media(max-width:700px){#profile-mode-picker[open]{display:block;padding:65px 16px 105px;}#profile-mode-picker .entry-rail{display:none;}#profile-mode-picker .entry-heading{padding:22px 0 12px;gap:12px;border-top-width:12px;}#profile-mode-picker .entry-heading img{width:100px;}#profile-mode-picker .entry-heading h1{font-size:27px;}#profile-mode-picker .entry-heading p{font-size:15px;}#profile-mode-picker .entry-choices{grid-template-columns:1fr;}#profile-mode-picker .entry-choice{min-height:240px;}#profile-mode-picker .entry-eyebrow{font-size:11px;}#profile-mode-picker .entry-footer{border-bottom-width:10px;}#view-home .workspace-entry{grid-template-columns:24px minmax(0,1fr);gap:12px;}#view-home .workspace-content{padding:12px;}#view-home .workspace-rail{min-height:400px;border-radius:30px 0 0 30px;}#view-home .workspace-heading{gap:14px;border-top-width:12px;}#view-home .workspace-heading h1{font-size:30px;}#view-home .workspace-heading img{width:110px;}#view-home .role-options{grid-template-columns:1fr;}#view-home .workspace-choice{min-height:260px;}#view-home .workspace-choice strong{font-size:27px;}.batch-dialog:not(#profile-mode-picker) .batch-shell{border-left-width:12px;padding-left:16px;}.tech-access .access-content{border-left-width:12px;padding:20px 14px;}}
@media(max-width:480px){#view-home .workspace-entry{grid-template-columns:1fr;}#view-home .workspace-rail{display:none;}#view-home .workspace-heading img{width:90px;}#view-home .workspace-heading p{font-size:15px;}}

/* Corner tools keep their intrinsic height; never stretch an absolute button between top and bottom. */
dialog>.r2-language,#profile-mode-picker>.r2-language{bottom:auto!important;height:auto;min-height:0;width:auto;max-width:calc(100% - 30px);padding:8px 15px;border-radius:22px;}
.json-corner{display:flex;flex-direction:column;gap:12px;position:fixed;top:16px;right:16px;padding:0;align-items:center;}.json-corner-btn{display:block;}.json-corner-btn img{width:56px;height:69px;}
@media(max-width:1050px){html.r2-starting #welcome-screen{padding-right:94px;}.json-corner{right:14px;}.json-corner-btn img{width:48px;height:59px;}}
@media(max-width:600px){html.r2-starting #welcome-screen{padding-right:74px;}.json-corner{top:14px;right:10px;gap:14px;}.json-corner-btn img{width:44px;height:54px;}#welcome-screen .startup-title{padding-right:10px;}}
