/* Reference composition: brand navigation, command bar, 96px rail, 320px controls. */
:root{--studio-rail-width:96px;--bg:#101014;--panel:#18181d;--card:#212126;--line:#ffffff16;--blue:#176cf1;--cyan:#15cbe1;color-scheme:dark}
body{background:var(--bg);color:#ecedf1}.topbar{height:84px;position:relative;padding:0 5%;display:flex;align-items:center;background:#08090c;border-bottom:1px solid #1e3d45;gap:22px}.topbar .brand{position:absolute;left:50%;transform:translateX(-50%);font-size:26px;letter-spacing:-1px}.topbar .brand span{display:none}.brand-navigation{display:flex;align-items:center;gap:28px}.brand-navigation a,.brand-navigation button{background:none;border:0;color:#dadde3;font-size:13px;letter-spacing:2px;text-decoration:none;padding:10px 0;text-transform:uppercase}.brand-navigation #nav-tools{border-bottom:1px solid var(--cyan)}.brand-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.brand-actions>a,.brand-actions>button{display:grid;place-items:center;min-width:40px;height:40px;border:1px solid #ffffff20;border-radius:12px;background:#16181b;color:#e8ebee;text-decoration:none}.brand-actions svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}.topbar .close{height:36px;font-size:12px;margin-left:8px;padding:8px 12px}.topbar .preview-label{position:absolute;right:5%;bottom:3px;font-size:8px}.brand-actions #nav-menu{display:none}.studio-navigation{position:absolute;right:18px;top:calc(100% + 5px);z-index:90;display:flex;flex-direction:column;min-width:200px;background:#22232a;border:1px solid #ffffff26;border-radius:12px;padding:7px;box-shadow:0 16px 44px #0008}.studio-navigation a,.studio-navigation button{display:block;width:100%;border:0;padding:11px;text-align:left;background:none;color:#e8ebee;font-size:13px;text-decoration:none}.studio-navigation a:hover,.studio-navigation button:hover{background:#ffffff0d}.studio-navigation[hidden]{display:none}
.studio-commandbar{height:70px;padding:10px max(24px,5%);background:linear-gradient(#121317,#191a20);gap:16px}.studio-commandbar h1{font-family:Impact,'Arial Narrow',sans-serif;font-size:21px;font-weight:600;letter-spacing:.2px;line-height:1.25;margin:0 0 5px}.studio-commandbar p{font-size:12px;color:#999aa5}.product-icon{height:42px;width:42px;border-radius:9px;background:linear-gradient(120deg,#0456db,#354deb)}.command-actions{gap:10px}.command-actions button{min-height:38px;border-radius:9px;padding:8px 14px;font-size:13px;background:#303139;border-color:#ffffff20}.command-actions #top-review{display:flex!important;background:linear-gradient(120deg,#0859de,#2b59ed);border:0}.command-actions #start-tour{border-color:#165464;color:#6cd9e7;background:#22262d}.command-actions #toggle-theme{padding:8px;width:36px;min-width:36px;background:none;border:0;color:#b8bdc7;font-size:20px}.command-actions #switch-finish{background:linear-gradient(110deg,#a4000b,#b82417);border:0;color:white}.command-actions .mobile-more{display:none}
body #design.studio{grid-template-columns:96px var(--tool-panel-width,320px) minmax(0,1fr);min-height:0;position:relative;height:calc(100dvh - var(--studio-header-bottom,154px))}body.panel-collapsed #design.studio{grid-template-columns:96px 0 minmax(0,1fr)}.studio .tool-rail{width:96px;background:#18181d;gap:6px;padding:12px 0}.studio .tool-rail button,.studio .tool-rail .rail-import{width:96px;min-height:85px;border-radius:0 8px 8px 0;gap:10px}.studio .tool-rail button svg{width:27px;height:27px}.studio .tool-rail span{font-size:12px;font-weight:400;max-width:86px}.studio .tool-rail button.active{background:linear-gradient(110deg,#039bf1,#1462ef);color:white}.studio .tool-rail .rail-toggle{min-height:30px;height:30px;padding:3px}.studio .tools-panel{background:#18181d;border-right:1px solid var(--line);min-width:0}.sidebar-heading{min-height:50px;padding:12px 16px;margin:0;border:0}.sidebar-heading .eyebrow{display:none}.sidebar-heading #panel-title{font-size:17px;font-weight:400;color:#c5c6cf;margin:0}.sidebar-heading #collapse-panel{margin-left:auto;height:30px;width:30px;min-height:30px;background:transparent;border:0}.tool-content{padding:0 16px 16px}.studio .canvas-panel,.canvas-surround{background:#101014}.canvas-toolbar{min-height:34px;height:34px;padding:0 10px;flex-wrap:nowrap;background:#16171b;border-bottom:1px solid #ffffff0b}.canvas-toolbar button{font-size:10px;min-height:28px}.canvas-zoom{top:8px;background:#060709;min-height:38px;padding:3px 11px;gap:9px}.canvas-zoom>span{font-size:11px}.canvas-zoom button{height:30px;width:30px;font-size:21px}.canvas-zoom #zoom-reset{font-size:12px;width:46px}.canvas-zoom #canvas-zoom-range{width:104px}.canvas-specs{top:56px;left:50%;right:auto;transform:translateX(-50%);background:#343e4e;color:#e7ebef;border-radius:9px 9px 0 0;padding:7px 15px;width:max-content;max-width:calc(100% - 140px);font-size:12px;z-index:2}.studio #towel-canvas{inset:86px 28px 36px}.view-thumbnail{left:12px;top:16px;width:64px;padding:8px 7px;background:#191e27;border:2px solid #4189ff;border-radius:6px;font-size:11px}.view-thumbnail .thumbnail-towel{width:30px;height:46px}.editor-footer{height:48px;min-height:48px;padding:6px 15px;background:#19191e;border-top:1px solid #ffffff20}.editor-footer .icon-btn{width:30px;height:30px;font-size:23px;background:none;border:0}.editor-footer>.primary{min-height:34px;margin-left:auto;min-width:140px;padding:7px 12px;font-size:13px;border-radius:7px}.editor-footer .footer-save{margin-left:15px;margin-right:auto;font-size:10px}.price-toggle{border-radius:22px;min-height:30px;padding:6px 12px;font-size:12px;background:#25262d;border:1px solid #ffffff20}.price-toggle strong{font-size:16px;font-weight:600}.price-details{border-radius:12px;background:#282830;width:255px;border:1px solid #ffffff20}.hide-price{padding:6px;background:none!important;border:0!important;font-size:11px;color:#5fbcff;white-space:nowrap}.template-category-chips{display:flex;flex-wrap:wrap;gap:6px;max-height:88px;overflow:auto;margin:10px 0}.template-category-chips button{width:auto;min-height:30px;border-radius:20px;padding:5px 10px;border:1px solid #ffffff20;background:#25252b;font-size:11px;font-weight:400;white-space:nowrap}.template-category-chips button[aria-pressed=true]{border-color:#34bdcf;background:#17323c;color:#8ddbe6}#template-category{display:none}.mobile-panel-done{display:none}.studio .inspector{width:var(--detail-panel-width,280px)!important;background:#1c1d23;bottom:48px}.studio-light{--bg:#eef0f3;--panel:#f8f9fb;--card:#fff;--line:#0002;--muted:#5b6470;color:#151923}.studio-light .topbar,.studio-light .studio-commandbar,.studio-light .studio .tool-rail,.studio-light .studio .tools-panel,.studio-light .canvas-toolbar,.studio-light .editor-footer{background:#e9ecf1;color:#222}.studio-light .canvas-surround{background:#dce1e8}.studio-light .config-section,.studio-light .font-card,.studio-light .tools-panel input,.studio-light .tools-panel textarea,.studio-light .tools-panel select{background:#f8f9fc;color:#182030;border-color:#aeb7c4}.studio-light .section-label,.studio-light #panel-title{color:#1c2531}.studio-light .helper,.studio-light label{color:#526070}
@media(max-width:700px),(max-height:500px) and (pointer:coarse){
 :root{--mobile-dock-height:62px;--mobile-nav-height:84px;--mobile-header-height:90px}
 .topbar{display:flex;height:calc(84px + env(safe-area-inset-top));padding:8px max(14px,env(safe-area-inset-right)) 8px max(14px,env(safe-area-inset-left));padding-top:calc(8px + env(safe-area-inset-top));gap:10px}.topbar .brand{position:static;transform:none;font-size:25px}.brand-navigation,.topbar>#close-studio,.topbar .preview-label{display:none}.brand-actions{gap:8px}.brand-actions>a,.brand-actions>button{height:36px;width:36px;min-width:36px;border-radius:10px}.brand-actions #nav-menu{display:grid}.brand-actions #nav-tools{display:none}.studio-commandbar{height:90px;min-height:90px;padding:8px 12px;display:flex;flex-direction:column;justify-content:center;gap:7px}.product-heading{flex:none;max-width:100%;gap:8px}.product-heading .product-icon{display:grid;width:30px;height:30px;min-width:30px}.product-heading .product-icon svg{height:20px;width:20px}.product-heading h1{font-size:15px;line-height:1.2;white-space:nowrap}.command-actions{display:flex;position:static;justify-content:center;flex:none;width:auto;max-width:100%;gap:8px}.command-actions #top-review{display:none!important}.command-actions #start-tour{display:flex;min-width:34px;width:34px;min-height:30px;height:30px;font-size:0;padding:5px}.command-actions #start-tour span{font-size:19px}.command-actions #switch-finish{display:flex;font-size:11px;min-height:30px;height:30px;padding:5px 12px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.command-actions #toggle-theme{height:30px;min-height:30px;width:30px;min-width:30px;padding:4px;font-size:18px}.command-actions .mobile-more{display:inline-flex;width:30px;height:30px;min-width:30px;min-height:30px;padding:4px;font-size:17px;background:none;border:0}.mobile-more-menu{z-index:80;right:12px;top:calc(100% + 5px)}
 body #design.studio,body.panel-collapsed #design.studio,body.details-open #design.studio{display:block;height:calc(var(--mobile-vh) - var(--studio-header-bottom,146px) - var(--mobile-dock-height) - env(safe-area-inset-bottom));min-height:0;overflow:hidden}.studio .canvas-panel{height:100%;min-height:0}.studio .canvas-toolbar{height:32px;min-height:32px;padding:0 6px;gap:4px;background:#16171b}.canvas-toolbar button{height:30px;min-height:30px;min-width:30px;padding:4px 6px;font-size:10px}.canvas-toolbar #canvas-color-name{display:none}.canvas-toolbar #zoom-area::after{font-size:10px}.canvas-toolbar #toggle-details{padding:4px}.canvas-toolbar #rotate-towel svg{height:16px;width:16px}.studio .canvas-zoom{display:flex;top:5px;left:50%;right:auto;transform:translateX(-50%);min-height:32px;gap:3px;padding:1px 5px;border-radius:20px;max-width:calc(100% - 20px)}.canvas-zoom button{width:30px;height:30px;min-width:30px;min-height:30px;font-size:20px}.canvas-zoom #zoom-reset{width:45px;font-size:11px}.canvas-zoom #canvas-zoom-range{display:block;width:75px;height:4px;min-height:4px}.canvas-zoom>span{display:none}.canvas-specs{top:42px;font-size:10px;padding:5px 12px;max-width:calc(100% - 30px);width:max-content;left:50%;right:auto;transform:translateX(-50%)}.studio #towel-canvas{inset:70px 8px 76px}.studio .view-thumbnail{display:none}.studio .canvas-surround{min-height:0}.studio .editor-footer{position:relative;bottom:auto;left:auto;height:40px;min-height:40px;padding:4px 8px;background:#19191e;gap:7px}.editor-footer .footer-actions{gap:6px}.editor-footer .icon-btn{width:30px;height:30px;min-width:30px;min-height:30px;padding:4px;font-size:23px}.editor-footer .footer-save{display:none}.editor-footer [data-step=review]{display:flex;min-width:110px;min-height:30px;height:30px;font-size:12px;margin-left:auto;padding:5px 10px}.editor-footer .hide-price{font-size:10px;padding:3px;min-width:0}.canvas-surround .floating-price{bottom:4px;right:8px;min-width:100px}.floating-price .price-toggle{min-height:30px;height:30px;padding:5px 10px;gap:7px}.floating-price .price-toggle strong{font-size:15px}#canvas-dimensions{font-size:9px;bottom:9px;left:8px}.studio .tool-rail{height:calc(62px + env(safe-area-inset-bottom));padding:4px max(5px,env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));gap:2px;background:#17171c;z-index:45}.studio .tool-rail button{width:20%;flex:1 0 0;min-width:0;max-width:none;height:54px;min-height:54px;padding:5px 2px;gap:4px;border-radius:7px;flex-direction:column;font-weight:400}.studio .tool-rail button svg{width:21px;height:21px}.studio .tool-rail span{font-size:10px;line-height:1.2}.studio .tool-rail .rail-import{display:none}.studio .tool-rail button.active{background:#0b8fee}.studio #sidebar.tools-panel,body .studio #design-inspector.inspector{bottom:0!important;border-radius:16px 16px 0 0;max-height:calc(var(--mobile-vh) - 12px);padding:0 14px 14px!important;background:#19191f}.studio #sidebar .sidebar-heading,.studio #design-inspector .panel-heading{min-height:40px;height:40px;margin:0 -14px 10px;padding:4px 14px;border-radius:0;background:#19191f;top:36px}.studio #sidebar #panel-title{font-size:15px;font-weight:400}.studio #sidebar #collapse-panel,.studio #design-inspector #close-details{height:30px;min-height:30px;min-width:30px;width:30px;border:0;background:none;font-size:21px;padding:0;color:#aeb5c3}.desktop-panel-close{display:inline}.mobile-panel-done{display:none}.studio #sidebar #collapse-panel .desktop-panel-close{font-size:0}.studio #sidebar #collapse-panel .desktop-panel-close::after{content:'×';font-size:24px}.mobile-sheet-backdrop{background:#0008;z-index:46}.studio #sidebar.tools-panel,body .studio #design-inspector.inspector{z-index:47}body.mobile-tools-open .studio .tool-rail,body.mobile-details-open .studio .tool-rail{pointer-events:none}.studio .selection-toolbar{bottom:42px;min-height:30px;padding:3px;border-radius:8px}.selection-toolbar button,.selection-toolbar .quiet{height:32px;min-height:32px;min-width:32px;padding:4px;font-size:14px}.selection-toolbar #selection-angle{height:32px;min-height:32px;width:43px;min-width:43px;font-size:16px}.selection-toolbar #selection-color-toggle{font-size:11px}.selection-toolbar #selection-open-details{font-size:11px}.selection-colors-panel{bottom:82px}.bleed-warning{top:70px;font-size:9px}body.mobile-keyboard-open .topbar{display:none}body.mobile-keyboard-open .studio-commandbar{height:44px;min-height:44px;flex-direction:row;padding:5px 10px}body.mobile-keyboard-open .command-actions{display:none}.mobile-review .topbar{display:none}.mobile-review .studio-commandbar{height:48px;min-height:48px;flex-direction:row}.mobile-review .command-actions #start-tour,.mobile-review .command-actions #switch-finish{display:none}.mobile-review .command-actions .mobile-more{display:flex}.mobile-review #review{padding-top:10px}.mobile-review .review-art{max-height:260px}.mobile-review .review-art img{max-height:230px}
}
@media(max-height:500px) and (pointer:coarse){.topbar{display:none}.studio-commandbar{height:44px;min-height:44px;flex-direction:row;padding:5px 12px;justify-content:space-between}.product-heading h1{font-size:13px}.command-actions{gap:4px}.product-heading .product-icon{display:none}:root{--mobile-dock-height:50px}.studio .tool-rail{height:calc(50px + env(safe-area-inset-bottom));padding:2px 5px}.studio .tool-rail button{height:44px;min-height:44px;flex-direction:row;gap:6px}.studio .tool-rail button svg{width:18px;height:18px}.studio .editor-footer{position:absolute;bottom:3px;left:5px;right:5px;background:none;border:0;height:30px;min-height:30px}.studio .canvas-toolbar{height:30px;min-height:30px}.studio #towel-canvas{inset:44px 70px 40px}.canvas-specs{top:8px;left:8px;transform:none;max-width:calc(100% - 200px)}.studio .canvas-zoom{left:auto;right:6px;transform:none}.studio .selection-toolbar{bottom:36px}body #design.studio,body.panel-collapsed #design.studio{height:calc(var(--mobile-vh) - var(--studio-header-bottom,44px) - 50px - env(safe-area-inset-bottom))}}
