/* A compact workbench: the subject stays transparent, the controls stay in flow. */
.v13-tool-nav{margin:0 0 8px;min-width:0}
body[data-v13] #content nav.v13-scene-tabs.xh-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px!important;overflow:visible;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;-webkit-mask-image:none!important;mask-image:none!important}
body[data-v13] #content nav.v13-scene-tabs.xh-tools a.xh-tool{min-width:0;min-height:46px;border-radius:12px!important;padding:10px 12px!important;font-size:15px;line-height:1.35;white-space:normal;text-align:center;background:#ffffff05!important;border:1px solid transparent!important;color:#dacdb8!important}
body[data-v13] #content nav.v13-scene-tabs.xh-tools a.xh-tool.on{background:#d7e868!important;color:#252b13!important;border-color:#d7e868!important}
.v13-studio.v12-studio{padding-top:18px!important}
.v13-studio .v12-heading{display:flex;gap:16px;margin-bottom:18px}
.v13-studio .v12-heading h1{font-size:clamp(25px,2.6vw,34px);line-height:1.35;margin:0;color:#f0e7d7}
body[data-v13] .v13-studio .v12-heading .ax-title{font-size:var(--v12-zh-h1,32px)!important;line-height:1.35!important;margin:0;color:#f0e7d7}
.v13-studio .v12-heading>span{font-size:14px;color:#bdae97}
.v13-identity{margin:0 0 22px;border:0;border-radius:12px;background:#ffffff05;min-width:0}
.v13-identity>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:12px 16px;cursor:pointer;list-style:none;color:#e6dac4;font-size:15px}
.v13-identity>summary::-webkit-details-marker{display:none}
.v13-identity>summary>span{min-width:0;overflow-wrap:anywhere}
.v13-identity>summary small{display:inline-block;font-size:12px;color:#bbaa8e;margin-left:12px}
.v13-identity>summary b{font-size:13px;font-weight:400;color:#d7e868;flex-shrink:0}
.v13-identity>summary i{font-style:normal}
.v13-person-form{padding:0 16px 18px;margin:0}
.v13-person-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.v13-person-fields fieldset{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:14px;border:1px solid #aa987138;border-radius:10px;min-width:0;margin:0}
.v13-person-fields legend{font-size:14px;padding:0 6px;color:#e4d6bf}
.v13-person-fields label,.v13-direction label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:13px;color:#c6b69b;line-height:1.5}
.v13-person-fields :is(input,select){width:100%!important;min-width:0;font-size:16px!important;min-height:46px}
.v13-form-end{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px}
.v13-form-end>span{max-width:35em;font-size:13px;color:#b7a78c;line-height:1.65}
.v13-form-end>.pill{min-height:46px;flex-shrink:0;font-size:14px}
.v13-studio .v12-workspace{gap:clamp(22px,4vw,52px);grid-template-columns:minmax(0,1.15fr) minmax(320px,1fr)}
.v13-studio .v12-stage{position:static;top:auto;z-index:auto;box-shadow:none!important;background:none!important;overflow:hidden;scroll-margin-top:20px}
.v13-studio .v12-stage .xh-scene{min-width:0;max-width:100%;overflow:hidden}
.v13-studio .v12-stage #ax-canvas{width:100%!important;max-width:100%!important;height:auto!important;max-height:none;object-fit:contain}
.v13-studio .v12-controls{padding:0;border:0}
.v13-studio .v12-parts{margin:0 0 18px}
.v13-studio .v12-parts button{font-size:13px;min-height:64px}
.v13-studio .v12-control-title{margin-bottom:16px}
.v13-studio .v12-control-title h2{font-size:23px;font-family:inherit}
.v13-studio .v12-control-title>span{font-size:13px;color:#d5c6ae}
.v13-studio .v12-control-title code{font-size:11px}
.v13-studio .v12-colors button{font-size:12px;min-height:67px;color:#d2c0a4}
.v13-studio .v12-colors button i{width:36px;height:36px}
.v13-custom-row{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin:12px 0 16px}
.v13-custom-row :is(.v12-custom,.v12-lock){margin:0;font-size:13px;color:#cdbda2;line-height:1.5}
.v13-studio .v12-settings{margin:0 0 16px}
.v13-studio .v12-settings label{font-size:13px}.v13-studio .v12-settings select{font-size:16px}
.v13-fox-help{display:flex;align-items:center;gap:14px;min-width:0;padding:8px 14px;background:#ffffff05;border-radius:14px}
.v13-fox-help>img,.v13-fox-help>picture.v12-fox{width:64px;height:96px;flex:0 0 64px;max-width:none;margin:0;display:block;object-fit:contain}
.v13-fox-help picture.v12-fox img{width:100%;height:100%;object-fit:contain}
.v13-fox-help>div{min-width:0}.v13-fox-help p{font-size:13px;line-height:1.5;color:#cfc0a7;margin:0 0 8px}
.v13-fox-help .pill{background:#d7e868;color:#252b13;border-color:#d7e868;min-height:44px;padding:10px 17px;font-size:14px;white-space:normal}
.v13-reference,.v13-explain{margin:12px 0;color:#c2b296}
.v13-reference>summary,.v13-explain>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:10px 0;font-size:14px;cursor:pointer}
.v13-reference>summary::after,.v13-explain>summary::after{content:'⌄'}
.v13-reference .ax-dots{margin-left:auto}.v13-reference .v12-palette-summary{border:0;margin:0;padding:8px 0 12px}
.v13-reference .v12-palette-summary :is(h3,span){font-size:13px;line-height:1.65}
.v13-explain{margin-top:26px}.v13-explain p{font-size:14px;line-height:1.8;color:#c5b79e}
.v13-explain .xh-cal{margin-top:18px}.v13-explain .xh-day{min-width:0}
.v13-save-bar{display:flex;align-items:center;gap:16px;margin-top:16px}
.v13-save-bar .pill{font-size:16px;min-height:48px;min-width:150px;flex:1}
.v13-save-bar>span{font-size:12px;color:#b9a98e}
.v13-studio .v12-links{gap:10px;margin-top:10px}.v13-studio .v12-links .pill{font-size:13px}
.v13-preview-link{display:none}
.v13-studio .v12-room-settings{border:0;margin-bottom:20px;padding:0;gap:16px}
.v13-direction{margin-left:auto;min-width:0}.v13-direction>summary{font-size:14px;min-height:44px;padding:12px 0;cursor:pointer}
.v13-direction label{margin-bottom:8px}.v13-direction select{max-width:100%;min-width:0}
.v13-continue{margin:24px 0;padding:20px;border-radius:16px;background:#ffffff04;color:#e5d8c0}
.v13-continue-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.v13-continue-heading h2{font-size:20px;margin:0}.v13-continue-heading>a{font-size:13px;min-height:44px;display:flex;align-items:center;white-space:nowrap}
.v13-resume{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}
.v13-resume h3{font-size:17px;margin:6px 0 10px}.v13-resume small{font-size:12px;color:#bba98e}
.v13-resume>.pill{font-size:14px;min-height:46px;flex-shrink:0}.v13-resume>div{min-width:0}
.v13-recent-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:14px;margin-top:14px}
.v13-recent-plans:empty{display:none}.v13-plan{min-width:0;padding:18px;border:0;background:#ffffff04;border-radius:12px}
.v13-plan small{font-size:12px;color:#baa98d}.v13-plan h2{font-size:18px;overflow-wrap:anywhere;margin:10px 0 12px}.v13-plan p{font-size:14px;overflow-wrap:anywhere}
.v13-plan .ax-actions{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:16px}
.v13-plan .ax-actions>.pill{min-height:44px;font-size:14px;flex:1}.v13-plan-more{position:relative;flex:0 0 44px}.v13-plan-more>summary{display:grid;place-items:center;min-height:44px;cursor:pointer;list-style:none}.v13-plan-more>summary::-webkit-details-marker{display:none}.v13-plan-more[open]{flex-basis:100%}.v13-plan .ax-actions:has(.v13-plan-more[open]){flex-wrap:wrap}.v13-plan-more .pill{font-size:13px;min-height:44px;margin:3px}
.v13-start-links{display:grid;gap:8px}.v13-start-links a{font-size:15px;min-height:44px;display:flex;align-items:center}.v13-start-links p{font-size:13px;color:#bbaa8e;margin:4px 0 0}
@media(max-width:760px){
 body[data-v13] #content nav.v13-scene-tabs.xh-tools{gap:5px!important}body[data-v13] #content nav.v13-scene-tabs.xh-tools a.xh-tool{font-size:14px;padding:10px 4px!important;min-height:44px;border-radius:9px!important}
 .v13-studio.v12-studio{padding-top:18px!important}.v13-studio .v12-heading{display:block;margin-bottom:14px}.v13-studio .v12-heading h1{font-size:25px}.v13-studio .v12-heading>span{display:block;font-size:13px;margin-top:7px}
 .v13-identity{margin-bottom:18px}.v13-identity>summary{padding:12px;gap:8px;font-size:14px;align-items:flex-start}.v13-identity>summary small{display:block;margin:5px 0 0;font-size:12px}.v13-identity>summary b{font-size:12px;padding-top:2px}
 .v13-person-form{padding:0 12px 14px}.v13-person-fields{gap:12px}.v13-person-fields fieldset{grid-column:1/-1;padding:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.v13-person-fields fieldset>label:first-of-type{grid-column:1/-1}.v13-person-fields label{font-size:12px}
 .v13-form-end{display:block;margin-top:14px}.v13-form-end>span{display:block;margin-bottom:12px}.v13-form-end .pill{width:100%}
 .v13-studio .v12-workspace{display:flex;gap:18px}.v13-studio .v12-stage{position:static!important;top:auto!important;z-index:auto!important;padding:0!important;box-shadow:none!important;background:none!important;width:100%;max-width:100%}
 .v13-studio .v12-stage .xh-figbox{width:139px;height:292px}.v13-studio.v12-pair .v12-stage .xh-figbox{width:119px;height:250px}
 .v13-studio .v12-stage canvas.xh-fig{width:100%!important;height:100%!important;max-width:100%;max-height:none!important}
 .v13-studio .v12-stage #ax-canvas{width:100%!important;max-width:100%!important;max-height:none!important;height:auto!important}
 .v13-studio .v12-scene-stage{min-height:0}.v13-studio .v12-controls{padding:0;border:0}.v13-studio .v12-parts button{font-size:12px;min-height:60px}.v13-studio .v12-person-tabs .ax-segments{margin-bottom:14px}
 .v13-studio .v12-control-title h2{font-size:21px}.v13-studio .v12-control-title>span{font-size:12px}.v13-studio .v12-colors button{font-size:12px;min-height:68px}.v13-studio .v12-colors button i{width:34px;height:34px}
 .v13-custom-row{gap:8px;align-items:center}.v13-custom-row :is(.v12-custom,.v12-lock){font-size:12px}.v13-custom-row .v12-custom{gap:10px}
 .v13-preview-link{display:block;text-align:center;margin:8px 0}.v13-preview-link .pill{min-height:44px;background:none;border:0;font-size:14px;color:#d7e868}
 .v13-save-bar{gap:10px}.v13-save-bar>span{font-size:12px}.v13-fox-help{gap:10px;padding:8px 10px}.v13-fox-help p{font-size:13px}
 .v13-studio .v12-room-settings{margin-bottom:16px}.v13-direction{margin:6px 0 0}.v13-direction select{width:100%}
 .v13-explain p{font-size:13px}.v13-continue{padding:16px;margin:20px 0}.v13-continue-heading{gap:8px;margin-bottom:10px}.v13-continue-heading h2{font-size:18px}.v13-continue-heading>a{font-size:12px}.v13-resume{gap:10px}.v13-resume h3{font-size:16px}.v13-resume>.pill{font-size:13px;padding-inline:12px}
}
@media(max-width:360px){.v13-studio.v12-pair .v12-stage .xh-figbox{width:105px;height:221px}.v13-person-fields{grid-template-columns:minmax(0,1fr)}.v13-person-fields fieldset{grid-template-columns:minmax(0,1fr)}.v13-identity>summary{gap:5px}.v13-identity>summary b{font-size:11px}.v13-custom-row{display:block}.v13-custom-row .v12-custom{justify-content:space-between}.v13-save-bar{flex-wrap:wrap}.v13-save-bar>span{width:100%;text-align:center}.v13-studio .v12-colors button{font-size:11px}}
/* Let the selected object, colour and response carry the workbench. */
.v13-recent-row{display:flex;align-items:center;gap:14px;min-width:0;padding:9px 0}
.v13-recent-row>.ax-dots{flex:0 0 auto;display:flex;gap:3px;margin:0}
.v13-recent-row .ax-dots i{width:16px;height:28px;border-radius:4px}
.v13-recent-row>strong{font-size:15px;font-weight:500;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.v13-recent-row>.pill{font-size:14px;min-height:44px;padding:8px 14px;flex:0 0 auto}
.v13-continue{margin-block:18px;padding:16px;background:none;border-radius:0}
.v13-continue-heading{margin-bottom:4px}.v13-continue-heading h2{font-size:18px}
.v13-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:12px}
.v13-controls>*{grid-column:1/-1}
.v13-controls>.v12-parts{order:1}.v13-controls>.v12-control-title{order:2}.v13-controls>.v12-colors{order:3}.v13-controls>.v13-custom-row{order:4}
.v13-controls>.v13-style-settings{order:5}.v13-controls>.v13-fox-help{order:6;grid-column:1}.v13-controls>.v13-save-bar{order:6;grid-column:2}
.v13-controls>.v13-reference{order:7}.v13-controls>.v12-links{order:8}
.v13-style-settings{margin:0 0 14px;color:#c9baa1;min-width:0}
.v13-style-settings>summary{min-height:44px;padding:11px 0;cursor:pointer;font-size:14px}
.v13-style-settings .v12-settings{margin-top:8px;grid-template-columns:repeat(3,minmax(0,1fr))}
.v13-fox-help{background:none;padding:0;gap:6px;min-height:56px}
.v13-fox-help>img,.v13-fox-help>picture.v12-fox{width:36px;height:54px;flex-basis:36px}
.v13-fox-help>div{flex:1}.v13-fox-help .pill{width:100%;padding:10px 8px;min-height:46px;font-size:14px}
.v13-save-bar{margin:0;gap:0;min-height:56px}.v13-save-bar .pill{min-width:0;min-height:46px;width:100%;font-size:14px}
.v13-studio .v12-parts button{position:relative}.v13-studio .v12-parts button.on{box-shadow:inset 0 0 0 1px #d7e868;background:#d7e86817}
.v13-part-lock{position:absolute;right:3px;top:3px;font-size:10px;line-height:1}
.v13-studio .v12-person{border-radius:9px;font-family:inherit}.v13-studio .v12-person.on{background:#d7e86815;box-shadow:inset 0 0 0 1px #d7e86888}
.v13-studio .v12-colors button.on{background:#d7e8680c}.v13-studio .v12-control-title h2{overflow-wrap:anywhere}
@media(max-width:760px){
 .v13-studio .v12-heading{margin-bottom:12px}.v13-identity>summary small{display:inline;margin-left:8px}.v13-identity{margin-bottom:12px}
 .v13-studio .v12-workspace{gap:12px}.v13-studio .v12-stage .xh-figbox{width:108px;height:227px}.v13-studio.v12-pair .v12-stage .xh-figbox{width:105px;height:221px}
 .v13-controls{column-gap:8px}.v13-studio .v12-parts{margin-bottom:12px;gap:5px}.v13-studio .v12-parts button{min-height:48px;gap:4px;padding:6px 2px}.v13-studio .v12-parts i{width:22px;height:10px}
 .v13-studio .v12-control-title{margin-bottom:10px}.v13-studio .v12-control-title>span{flex-shrink:0}.v13-studio .v12-control-title h2{font-size:18px}
 .v13-studio .v12-colors{gap:2px 4px}.v13-studio .v12-colors button{min-height:46px;justify-content:center;padding:6px 2px}.v13-studio .v12-colors button>span{display:none}.v13-studio .v12-colors button i{width:32px;height:32px}
 .v13-custom-row{display:flex;margin:10px 0 4px;gap:8px}.v13-custom-row .v12-custom input{width:46px;height:38px}.v13-custom-row .v12-lock{min-height:44px}
 .v13-style-settings{margin-bottom:6px}.v13-style-settings .v12-settings{gap:8px;grid-template-columns:1fr 1fr}.v13-style-settings .v12-settings label:first-child{grid-column:1/-1}
 .v13-reference{margin:4px 0}.v13-studio .v12-links{margin-top:0}.v13-continue{padding:0}.v13-recent-row{gap:9px}.v13-recent-row .ax-dots i{width:12px;height:24px}.v13-recent-row>strong{font-size:14px}
}
