/* Shared finish/review dialogs; desktop workbench retains its existing arrangement. */
.mobile434-header,.mobile434-tools,.mobile434-footer,.mobile434-quick,.mobile434-selection{display:none}
.studio-review-mockup{margin:18px 0;padding:12px;background:#f1ebe5;border:1px solid #dbcfd7;border-radius:10px;text-align:center}
.studio-review-mockup img{display:block;max-width:100%;max-height:300px;width:auto;height:auto;margin:auto;object-fit:contain}
.studio-review-mockup figcaption{font:600 13px/1.4 Inter,Arial,sans-serif;color:#58495b;margin-top:8px}
.studio-shell .finish434-button{display:flex;gap:10px;align-items:center;width:100%;background:#fff;border:1px solid #c9baca;color:#4e3657;text-align:left;min-height:44px}
.finish434-button i{height:25px;width:25px;border:1px solid #ac9eaa;border-radius:5px;flex:none}.finish434-button span{flex:1;overflow-wrap:anywhere}.finish434-button b{margin-left:auto}
#signFont434{display:block;font:13px/1.4 Inter,Arial,sans-serif;color:#55445c}#signFont434 select{width:100%}
.finish434-dialog{box-sizing:border-box;width:min(470px,calc(100vw - 28px));max-height:85dvh;overflow:auto;color:#392d3f;background:#fffdfa;border:1px solid #baa7be;border-radius:16px;padding:22px}
.finish434-dialog h2{font:700 22px/1.3 Inter,Arial,sans-serif;padding-right:35px;color:#392d3f}.finish434-dialog button{cursor:pointer;font-family:Inter,Arial,sans-serif}.finish434-dialog .studio-close{display:grid;place-items:center;padding:0;line-height:1}
.finish434-tabs{display:flex;gap:6px;margin:15px 0}.finish434-tabs button{flex:1;min-height:44px;padding:8px 4px;border:1px solid #d7c5d5;background:#fff;border-radius:7px;color:#523c58;font-size:13px;font-weight:700}.finish434-tabs button[aria-pressed=true]{background:#e86e18;color:#fff;border-color:#e86e18}
.finish434-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.finish434-grid button{border:1px solid #dfd2da;border-radius:8px;background:#fff;padding:6px;color:#443249;font-size:12px;min-height:78px}.finish434-grid i{height:38px;border:1px solid #0002;border-radius:5px;display:block;margin-bottom:5px}.finish434-note{font:12px/1.5 Inter,Arial,sans-serif;color:#715e74}.finish434-custom label{display:block;margin:10px 0;font:14px/1.5 Inter,Arial,sans-serif}.finish434-custom input{display:block;width:100%;min-height:44px}.finish434-custom input[type=color]{width:100%;height:52px}.finish434-dialog [hidden]{display:none!important}
@media(max-width:800px){
 body.mobile-designer434,body.sign-studio.mobile-designer434{height:100dvh;min-height:0;overflow:hidden!important;background:#f4f0eb;display:block!important}
 .mobile-designer434>.site-header,.mobile-designer434>.site-footer,.mobile-designer434 .studio-heading,.mobile-designer434 .studio-examples,.mobile-designer434 .studio-workbench>.studio-tools,.mobile-designer434 .studio-workbench>.studio-inspector{display:none!important}
 .mobile-designer434 .studio-shell{width:100%;height:var(--mobile434-height,100dvh);min-height:340px;margin:0;padding:0;border:0;border-radius:0;display:flex;flex-direction:column;overflow:hidden;background:#fffdfa}
 .mobile-designer434 .mobile434-header{display:flex;align-items:center;justify-content:space-between;background:#231d27;color:white;padding:9px 14px;min-height:55px;flex:none;z-index:5}
 .mobile434-header small{display:block;color:#ff9a52;font:800 10px/1.2 Inter,Arial,sans-serif;letter-spacing:1.8px;margin-bottom:3px}.mobile434-header strong{display:block;font:800 17px/1.2 Inter,Arial,sans-serif}
 .mobile434-menu summary{cursor:pointer;list-style:none;padding:10px 12px;border:1px solid #765b7a;border-radius:7px;font-size:13px;min-height:40px}.mobile434-menu nav{position:absolute;right:12px;top:52px;background:#2b2230;border:1px solid #876389;border-radius:9px;padding:8px;box-shadow:0 10px 30px #0004}.mobile434-menu a{display:block;color:white;text-decoration:none;font:600 14px/1.4 Inter,Arial,sans-serif;padding:12px}
 .mobile-designer434 .studio-workbench{display:flex!important;flex-direction:column;gap:0;min-height:0;flex:1;overflow:hidden;align-items:stretch!important}
 .mobile-designer434 .studio-preview{order:0;flex:1;min-height:85px;width:100%;border:0;border-radius:0;padding:0 12px 5px;overflow:hidden;position:relative;justify-content:center}
 .mobile-designer434 .mobile434-quick{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px;flex:none;min-height:40px}
 .mobile434-history .studio-history{display:flex;gap:5px;margin:0!important;border:0;padding:0}.mobile434-history .studio-history button{padding:6px 8px;min-height:36px;font-size:12px}
 .mobile-designer434 .mobile434-room button{font:600 12px/1.2 Inter,Arial,sans-serif;min-height:36px;padding:7px 9px;margin:0;background:#fff8f0;color:#763849;border:1px solid #d9bcc5;white-space:nowrap}
 .mobile-designer434 .studio-preview>.studio-segments{margin:0 0 4px;flex:none;height:33px}.mobile-designer434 .studio-preview>.studio-segments button{min-height:30px;padding:4px 12px;font-size:12px}
 .mobile-designer434 .mobile434-selection{display:block;margin:4px 0 0;font:12px/1.3 Inter,Arial,sans-serif;color:#625168;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%;flex:none}
 .mobile-designer434 .main-area{min-height:0!important;width:100%;padding:4px 0!important;flex:1!important;overflow:hidden;display:flex;align-items:center;justify-content:center}
 .mobile-designer434 #signPreview>.mobile434-quick{order:0}.mobile-designer434 #signPreview>.main-area{order:1}.mobile-designer434 #signPreview>.mobile434-selection{order:2}
 .mobile-designer434 #signPreview .workspace-header,.mobile-designer434 #signPreview #size-ruler,.mobile-designer434 #signPreview .studio-help{display:none!important}
 .mobile-designer434 #canvas-container{width:var(--mobile434-canvas-width,100%)!important;max-width:100%;height:auto!important;flex:none}
 .mobile-designer434 #coinCanvasHost{width:var(--mobile434-canvas-width,150px)!important;max-width:100%!important;margin:0 auto!important;flex:none}
 .mobile-designer434 .coin-safe-label{font-size:9px;top:6%}.mobile-designer434 #coinNotice:empty{display:none}.mobile-designer434 #coinNotice{font-size:11px;line-height:1.2;margin:3px 0 0}.mobile-designer434 .studio-preview>.studio-help{display:none}
 .mobile-designer434 .mobile434-tools{display:flex;flex-direction:column;order:1;flex:none;min-height:0;background:#fffdfa}
 .mobile-designer434 .mobile434-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:5px 7px;background:#f6efe8;border-top:1px solid #d8c9ce;border-bottom:1px solid #d8c9ce;flex:none}
 .mobile434-tabs button{min-height:42px;border:0!important;font:800 13px/1.2 Inter,Arial,sans-serif!important;color:#654d69!important;background:transparent!important;padding:8px 4px!important}.mobile434-tabs button[aria-selected=true]{background:#e66c16!important;color:#fff!important;border-radius:7px}
 .mobile-designer434 .mobile434-panel{height:clamp(152px,calc(var(--mobile434-height,100dvh) * .28),238px);overflow:auto;overscroll-behavior:contain;padding:12px 14px;min-width:0;color:#403346}
 .mobile434-panel[hidden]{display:none!important}.mobile434-panel>label{display:block;font:13px/1.3 Inter,Arial,sans-serif;color:#5a4562;margin:5px 0}.mobile434-panel input:not([type=checkbox]):not([type=radio]):not([type=range]),.mobile434-panel select{font-size:16px!important;min-height:42px}.mobile434-panel input:disabled,.mobile434-panel select:disabled{opacity:.5}
 .mobile434-panel #signSelectedText{width:100%;display:block;margin-top:4px}.mobile434-panel #signFont434{display:block}.mobile434-panel #font-family{margin:4px 0}.mobile434-panel>.finish434-button{margin:8px 0}
 .mobile434-text-row{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px;align-items:end}.mobile434-text-row>label{font:13px/1.3 Inter,Arial,sans-serif;color:#5a4562;min-width:0}.mobile434-text-row>button{margin:0!important;min-height:42px}.mobile434-text-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:10px}.mobile434-text-fields>label{min-width:0;margin:0}.mobile434-letter-slot>span{display:block;font:13px/1.4 Inter,Arial,sans-serif;color:#55445c;margin-bottom:4px}.mobile434-letter-slot .finish434-button{min-height:42px;padding:6px;font-size:12px;gap:5px}.mobile434-letter-slot .finish434-button i{width:18px;height:18px}
 .mobile434-panel .control-group{padding:0;margin:0;border:0}.mobile434-panel h3{font:700 14px/1.3 Inter,Arial,sans-serif;margin:0 0 8px}.mobile434-panel .studio-fold{margin-top:5px}.mobile434-panel .studio-dimensions{margin-bottom:7px}.mobile434-panel #coinSelection{border:0;padding:0;margin:0;min-width:0}.mobile434-panel .mobile434-original-rotation{display:none!important}
 .mobile434-rotation{display:block;font:600 13px/1.4 Inter,Arial,sans-serif;color:#513b59;margin:0 0 7px}.mobile434-rotation output{float:right}.mobile434-rotation input{display:block;width:100%;min-height:32px;padding:0!important;accent-color:#e56d19}.mobile434-rotation small{display:block;font-size:11px;color:#78677a;text-align:center}.mobile434-edit-help{font-size:12px;line-height:1.3;color:#79677c;margin:0 0 8px}
 .mobile434-panel .studio-align{margin:7px 0}.mobile434-panel .studio-align button{min-height:40px}.mobile434-panel .studio-artwork-library{margin:0;border:0;padding:0}.mobile434-panel .studio-artwork-library>summary{display:none}.mobile434-panel .studio-artwork-library>label{margin:0;font:12px/1.4 Inter,Arial,sans-serif}.mobile434-panel .studio-artwork-library select{width:100%;margin-top:3px;min-height:36px}
 .mobile434-panel .designer-artwork-grid{display:grid;grid-auto-flow:column;grid-auto-columns:90px;grid-template-columns:none;grid-template-rows:1fr;overflow-x:auto;overflow-y:hidden;max-height:none;gap:6px;padding:4px 2px 7px;margin:6px 0 0;scroll-snap-type:x proximity}
 .mobile434-panel .designer-artwork-choice{height:100px;padding:5px;min-width:0;scroll-snap-align:start}.mobile434-panel .designer-artwork-choice img{height:56px;width:56px;object-fit:contain}.mobile434-panel .designer-artwork-choice span{font-size:11px;line-height:1.1;display:block}.mobile434-panel #requestMoreArtwork{min-height:36px;margin-top:5px;padding:7px;font-size:12px}.mobile434-panel #designerArtworkNotice{font-size:11px;margin:3px 0}.mobile434-panel #designerArtworkNotice:empty{display:none}
 .mobile434-panel #coinOptions{margin-top:0}.mobile434-panel #coinOptions h2{font:700 15px/1.2 Inter,Arial,sans-serif}.mobile434-panel .studio-price{margin-top:10px}.mobile434-panel .studio-saved,.mobile434-panel .draft-state{font-size:12px;margin:8px 0}.mobile434-panel .studio-tip{font-size:12px;margin:8px 0;padding:8px}
 .mobile-designer434 .mobile434-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;order:2;flex:none;border-top:1px solid #d7c9d2;background:#fffdfa;padding:9px 12px max(10px,env(safe-area-inset-bottom));min-height:64px}
 .mobile434-footer>div{flex:none}.mobile434-footer small{display:block;font:11px/1.2 Inter,Arial,sans-serif;color:#736079}.mobile434-footer strong{font:800 20px/1.4 Inter,Arial,sans-serif;color:#37243d}.mobile434-footer .studio-primary{width:auto;min-width:0;font-size:14px;min-height:44px;padding:12px;background:#e66c16;color:white;flex:1;max-width:250px}
 .mobile-designer434 .studio-recovery{margin:0;padding:8px 12px;border-radius:0;max-height:36%;overflow:auto;flex:none}.mobile-designer434 .studio-recovery-actions{gap:4px}.mobile-designer434 .studio-recovery p{font-size:12px;margin:4px 0}.mobile-designer434 .studio-recovery button{font-size:13px;min-height:40px;padding:8px}
 .studio-request-dialog{max-height:90dvh!important;overflow:auto!important}.studio-review-mockup img{max-height:220px}.sign-placement412{max-height:90dvh;overflow:auto}
}

/* Selection actions stay with Undo/Redo, independent of the active tools tab. */
.designer-delete435[hidden]{display:none!important}.studio-history{flex-wrap:wrap}.studio-history .designer-delete435{width:auto!important;flex:0 1 auto;color:#ad2929!important;background:#fff4f1!important;font-weight:700}
@media(max-width:800px){
 .mobile434-menu .studio-recovery{position:absolute;right:0;top:100%;z-index:45;width:min(330px,90vw);max-height:65dvh;overflow:auto;border-radius:10px;padding:12px;box-shadow:0 8px 30px #0004}
 .mobile434-menu:has(.studio-recovery:not([hidden])) nav{margin-bottom:0}.mobile434-menu .studio-recovery:not([hidden]){position:relative;top:auto;width:100%;max-width:100%}.mobile434-menu[open]{position:absolute;right:10px;top:8px;width:min(340px,94vw);background:#291d2f;padding:7px;border-radius:10px;z-index:50}.mobile434-menu[open] nav{position:static;width:auto}
 .mobile434-history{width:100%}.mobile434-history .studio-history{gap:5px;display:flex;width:100%;flex-wrap:nowrap}.mobile434-history .studio-history button{min-height:34px;padding:6px 8px!important;font-size:12px!important}.mobile434-history .designer-delete435{margin-left:auto!important}
 .mobile-designer434 .mobile434-quick{min-height:36px;padding:3px 8px}.mobile-designer434 .mobile434-selection{font-size:11px;margin:3px 0}.mobile-designer434 .studio-preview>.studio-segments{margin:2px 0}.mobile-designer434 .studio-preview>.studio-segments button{min-height:30px;padding:5px}
 .mobile-designer434 .mobile434-tools{height:clamp(146px,24dvh,190px)}
 .mobile-designer434 .mobile434-panel{height:auto;flex:1;min-height:0}
 .mobile-designer434 .mobile434-rotation{position:sticky;top:0;background:#fffdfa;z-index:2}
}
