/* Phone workspace: one visible area, a persistent model and reachable tools. */
.mobile-context,.mobile-dock,.mobile-feature-quick,.mobile-feature-actions,.mobile-mode-switch,#mobileViewOptions{display:none}
.touch-stepper{display:contents}.touch-stepper>button{display:none}
.view-settings-dialog{width:min(480px,calc(100% - 24px));max-height:90dvh;padding:24px;border:1px solid #cad6bd;border-radius:20px;background:#f8faf3;color:#28412e;overflow:auto}
.view-settings-dialog::backdrop{background:#142e25a8;backdrop-filter:blur(5px)}.view-settings-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.view-settings-head h2{font-size:25px;margin:0}.view-settings-head button{min-width:48px;min-height:48px}.view-settings-dialog p{font-size:13px;line-height:1.6}.view-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}.view-settings-grid button{min-height:52px;font-size:13px}.view-auto{display:flex;align-items:center;gap:10px;font-size:14px;min-height:54px}.view-auto input{width:22px;height:22px;accent-color:#315839}.view-settings-dialog>.primary{width:100%;min-height:52px;font-size:14px}.view-settings-dialog p:empty{display:none}
@media(max-width:700px){
 .studio{scroll-margin-top:0}
 .studio .studio-command{display:flex!important;align-items:center;padding:9px 13px!important;gap:8px;min-height:54px;box-sizing:border-box}
 .studio .studio-command .eyebrow{font-size:8px}.studio .studio-command strong{font-size:17px!important;line-height:1.25}
 .studio .studio-command>.discover-button{display:none!important}.studio #studioFocus{margin:0 0 0 auto;min-height:44px;padding:9px 13px;font-size:12px}
 .studio>.workbench,.studio>.easy-steps,.studio>.studio-ideas,.studio .creator-layout>.steps{display:none!important}
 .mobile-context{display:flex;align-items:center;gap:10px;padding:7px 12px;background:#eef3e5;border-bottom:1px solid #d6e1cb;flex-shrink:0;min-height:59px;box-sizing:border-box}
 .mobile-context>label{flex:1;min-width:0;display:block;font-size:10px;color:#4d6546;font-weight:500}
 .mobile-context select{display:block;margin:0;width:100%;min-width:0;min-height:36px;padding:3px 22px 3px 0;border:0;background:transparent;color:#24442f;font:inherit;font-size:14px;font-weight:650}
 .mobile-context button{min-height:44px;padding:8px 11px;font-size:11px;max-width:108px;background:#fbfdf7;color:#335634;border:1px solid #c5d6b9;line-height:1.3}
 #mobileInputDone{background:#294d38;color:#fff}#mobileInputDone[hidden]{display:none}
 .studio .creator-layout{display:flex!important;flex-direction:column;height:auto!important;min-height:0;min-width:0}
 .studio .workspace{display:flex!important;flex-direction:column;height:calc(100svh - 180px)!important;min-height:470px!important;max-height:none!important;overflow:hidden}
 .studio-focus{top:var(--mobile-top,0px)!important;height:var(--mobile-height,100dvh)!important;bottom:auto!important}
 .studio-focus>.creator-layout{flex:1;min-height:0;height:auto!important}.studio-focus .workspace{flex:1;height:100%!important;min-height:0!important}
 .studio .preview{position:relative;top:0!important;align-self:stretch;flex:0 0 clamp(190px,29svh,260px)!important;height:clamp(190px,29svh,260px)!important;min-height:0!important;max-height:40%!important;overflow:hidden}
 .studio .preview-top{display:none!important}.studio .camera-tools,.studio .quality-bar,.studio .zones,.studio .measurements,.studio .preview>.hint{display:none!important}
 .studio .stage-controls{min-height:44px;padding:3px 9px;gap:5px;box-sizing:border-box;flex-shrink:0}
 .studio .stage-controls button{min-height:44px;font-size:11px;padding:6px 9px}
 .studio .preview #grip3d{height:auto!important;min-height:0!important;flex:1}
 .studio .view-controls{display:flex!important;flex-shrink:0;padding:4px 9px;margin:0;min-height:46px;box-sizing:border-box;gap:7px}
 .studio #viewHome{display:none}.studio #mobileViewOptions{display:block;font-size:12px!important} .studio .view-controls .segmented{display:none}.studio .mobile-view-choice{display:flex;align-items:center;gap:7px;flex:1;min-width:0;font-size:11px}
 .studio .mobile-view-choice select{margin:0;font-size:16px;min-height:44px;padding:4px 6px}.studio .zoom button{min-width:44px!important;min-height:44px!important;font-size:16px}
 .studio .editor,.studio .easy-editor{flex:1;min-height:0!important;overflow:hidden;padding:0;display:flex;flex-direction:column}
 .studio .editor #panel,.studio #easyPanel{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:18px 15px;scroll-padding:16px 0 30px;-webkit-overflow-scrolling:touch}
 .studio .panel-navigation{padding:6px 12px;flex-shrink:0}.studio .panel-location{display:none}.studio .panel-jumps{display:flex;flex-wrap:nowrap;overflow:auto;margin:0;gap:6px;padding-bottom:3px}
 .studio .panel-jumps button{white-space:nowrap;flex-shrink:0;min-height:40px;font-size:12px}.studio .panel-jumps::-webkit-scrollbar{height:3px}
 .mobile-dock{display:grid;grid-template-columns:1fr 1.35fr 1fr;gap:7px;position:sticky;bottom:0;z-index:25;flex-shrink:0;padding:8px 10px max(8px,env(safe-area-inset-bottom));background:#f7faf1;border-top:1px solid #cbdac0;box-shadow:0 -5px 14px #1d382b09}
 .mobile-dock button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:11px;min-height:51px;padding:6px 4px;font-size:11px;line-height:1.25;font-weight:600;background:#edf3e4;border:1px solid #d4e0c9;color:#38533a;touch-action:manipulation}
 .mobile-dock button>span{font-size:19px;line-height:18px;font-weight:400}.mobile-dock #mobileFunctions{background:#284b36;color:#fff;border-color:#284b36}.mobile-dock button:disabled{opacity:.42}
 .studio .easy-footer,.studio .editor-footer{position:relative!important;bottom:auto!important;flex-shrink:0;min-height:66px;box-sizing:border-box;padding:8px 12px!important;margin:0!important;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #d1ddc6;box-shadow:none}
 .studio .easy-footer strong,.studio .editor-footer #price{font-size:23px}.studio .easy-footer small{font-size:8px}.studio .easy-footer span{font-size:9px}
 .studio .easy-footer button,.studio .paging button{min-height:46px}.studio .easy-footer .primary,.studio .paging .primary{font-size:12px;padding:10px 13px;max-width:170px}
 .studio #easyStatus{max-height:45px;overflow:auto;font-size:11px;padding:6px 13px;flex-shrink:0}.studio #error{font-size:12px;line-height:1.5;max-height:70px;overflow:auto}
 .studio .easy-heading .eyebrow{display:none}.studio .easy-heading h2{font-size:25px!important;margin:2px 0 10px!important}.studio .easy-heading>p{font-size:13px;margin-bottom:18px}
 .studio .easy-editor h3,.studio .editor h3{font-size:17px}.studio .easy-editor h4{font-size:14px}.studio .easy-select,.studio .easy-search{font-size:14px}
 .studio button,.studio summary{touch-action:manipulation}.studio #panel button,.studio #easyPanel button{min-height:46px;font-size:13px}
 .studio #panel details>summary,.studio #easyPanel details>summary{min-height:54px;font-size:14px;line-height:1.45;padding:5px 0}
 .studio .easy-note,.studio .caption{font-size:12px!important;line-height:1.65}.studio .easy-filters button{min-height:44px!important;font-size:12px!important}
 .studio .easy-use-grid button{min-height:100px}.studio .easy-use-grid strong{font-size:14px}.studio .easy-use-grid small{font-size:11px}
 .studio .easy-style-grid{grid-template-columns:1fr}.studio .easy-style-grid strong{font-size:18px}.studio .easy-style-grid span{font-size:13px}.studio .easy-style-grid small{font-size:11px}
 .studio .easy-element-grid{grid-template-columns:1fr 1fr}.studio .easy-shapes,.studio .easy-palettes{grid-template-columns:repeat(2,minmax(0,1fr))}.studio .easy-collar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio .easy-collar-grid strong{font-size:12px}
 .studio input:not([type=range]):not([type=checkbox]),.studio select,.studio textarea{font-size:16px!important}.studio input[type=range]{min-height:44px!important;touch-action:pan-y;accent-color:#436e3b;margin:0!important;width:100%}
 .studio input[type=range]::-webkit-slider-thumb{width:27px;height:27px}.studio input[type=range]::-moz-range-thumb{width:27px;height:27px}
 .studio .easy-field,.studio .builder-field{grid-template-columns:minmax(0,1fr)!important;gap:8px;font-size:14px}
 .studio .easy-field>.touch-stepper,.studio .builder-field>.touch-stepper{grid-column:1/-1}
 .studio .labelrow{display:flex;flex-wrap:wrap;gap:9px}.studio .labelrow>label{flex-basis:100%;font-size:14px}.studio .labelrow>.touch-stepper{flex:1}
 .studio .touch-stepper{display:grid;grid-template-columns:48px minmax(72px,1fr) 48px;width:100%;max-width:100%;min-height:48px;box-sizing:border-box;border:1px solid #b9cfa9;border-radius:11px;background:#fff;overflow:hidden;align-items:stretch}
 .studio .touch-stepper>button{display:block;min-height:48px!important;min-width:48px;padding:4px!important;border:0!important;border-radius:0!important;font-size:23px!important;background:#e8f1de;color:#315b2c}
 .studio .touch-stepper>button:disabled{opacity:.35}.studio .touch-stepper>input{width:100%!important;min-width:0;min-height:48px!important;margin:0;padding:8px 4px!important;border:0!important;border-radius:0!important;text-align:center;box-shadow:none;box-sizing:border-box;-moz-appearance:textfield}
 .studio .touch-stepper>input::-webkit-inner-spin-button,.studio .touch-stepper>input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
 .studio .touch-stepper:focus-within{outline:2px solid #7b9f63;outline-offset:2px}.studio .touch-stepper :focus-visible{outline:2px solid #527b40;outline-offset:-3px}
 .studio.mobile-preview-small .preview{flex-basis:112px!important;height:112px!important;max-height:26%!important}.studio.mobile-preview-small .stage-controls{display:none}.studio.mobile-preview-small .view-controls{min-height:40px;padding-block:2px}
 .studio.mobile-typing .preview{height:82px!important;flex-basis:82px!important;max-height:22%!important}.studio.mobile-typing .stage-controls,.studio.mobile-typing .view-controls{display:none!important}
 .studio.mobile-typing #mobilePreviewSize{display:none}.studio.mobile-typing .mobile-dock{display:none}.studio.mobile-typing .mobile-context>label{max-width:75%}
 .studio.expanded .editor{display:none!important}
 .studio.expanded .mobile-context,.studio.expanded .mobile-dock{display:flex!important}.studio.expanded .mobile-dock{display:grid!important}.studio.expanded .preview{flex:1!important;height:auto!important;max-height:none!important}
 .view-settings-dialog{position:fixed;inset:auto 0 0;width:100%;max-height:94dvh;margin:0;border-radius:22px 22px 0 0;padding:20px 16px max(20px,env(safe-area-inset-bottom))}
 .feature-dialog{position:fixed;inset:auto 0 0;width:100%!important;max-width:none!important;max-height:94dvh!important;margin:0;border-radius:22px 22px 0 0!important;padding:18px 16px max(18px,env(safe-area-inset-bottom))!important;scroll-padding-top:80px}
 .feature-head{position:sticky;top:-18px;background:#f8faf3;z-index:3;padding:10px 0 13px;margin-bottom:4px}.feature-head h2{font-size:24px}.feature-head .eyebrow{display:none}.feature-head>button{min-width:48px;min-height:48px}
 .feature-search input{font-size:16px;min-height:52px}.mobile-feature-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:4px 0 16px}.mobile-feature-quick button{font-size:13px;min-height:48px;padding:8px 5px;background:#eaf2e1;border:1px solid #c8d9ba}
 .feature-filters{display:grid;grid-template-columns:1fr 1fr;gap:7px}.feature-filters button{min-height:44px;font-size:12px;padding:7px 9px}.feature-card{min-height:85px;padding:14px 16px}.feature-card>strong{font-size:15px}.feature-card>small{font-size:12px}.feature-card>span{font-size:9px}
 .mobile-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:2px 0 15px}.mobile-mode-switch button{min-height:44px;font-size:12px;padding:8px}.mobile-mode-switch button[aria-pressed=true]{background:#294d38;color:white;border-color:#294d38}
 .mobile-feature-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:20px}.mobile-feature-actions button{min-height:48px;font-size:13px}.studio-help{border-radius:20px;max-height:92dvh}
 .studio-dialog,.signature-dialog{max-height:94dvh}.studio-dialog input,.signature-dialog input,.feature-dialog input,.studio-help input{font-size:16px!important}
}
@media(max-width:700px) and (max-height:650px){
 .studio .preview{flex-basis:155px!important;height:155px!important;max-height:35%!important}.studio .stage-controls{display:none}.studio .studio-command{min-height:48px;padding-block:4px!important}.mobile-context{min-height:53px;padding-block:3px}.mobile-dock{padding-block:5px}.mobile-dock button{min-height:46px}.studio .easy-footer,.studio .editor-footer{min-height:61px}
}
