/* Phone workspace. Desktop layout and all existing actions remain available. */
.mobile-appbar,.mobile-tabs,.mobile-menu-close,.mobile-scrim,.mobile-results-toggle,.mobile-editor-close{display:none}
.mobile-filter-disclosure>summary{display:none}
@media screen and (max-width:720px){
 :root{--mobile-top:60px;--mobile-bottom:calc(68px + env(safe-area-inset-bottom,0px))}
 html{scroll-padding-top:90px}body{background:#f5f5f8}.shell{display:block;min-height:100dvh}
 button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,summary{touch-action:manipulation}
 input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important;min-height:46px;border-radius:11px;background-color:#fff;max-width:100%}
 input[type=checkbox]{width:20px;height:20px;min-width:20px}textarea{min-height:100px;line-height:1.5}
 button{min-height:44px;border-radius:11px}button.small{min-height:40px}.actions{gap:8px;flex-wrap:wrap}
 .mobile-appbar{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:45;padding:8px 16px;padding-top:calc(8px + env(safe-area-inset-top,0px));min-height:60px;background:#fffffff2;backdrop-filter:blur(18px);border-bottom:1px solid #e9e7ef}
 .mobile-wordmark{display:flex;align-items:center;gap:9px;color:#24212d;font-family:'Sora',sans-serif;font-size:17px;font-weight:750;letter-spacing:-.6px}.mobile-wordmark img{border-radius:8px}.mobile-appbar>button{display:grid;place-items:center;width:44px;border:1px solid #e9e6f0;background:#f8f7fb}.mobile-appbar .nav-icon{width:20px;height:20px;color:#4f4566}
 .shell>aside{display:none}
 body.mobile-menu-open{overflow:hidden}
 .mobile-menu-open>aside{display:flex;position:fixed;inset:0 0 0 auto;width:min(340px,calc(100vw - 28px));height:100dvh;z-index:90;overflow:auto;overscroll-behavior:contain;padding:26px 20px;padding-top:calc(26px + env(safe-area-inset-top,0px));padding-bottom:calc(24px + env(safe-area-inset-bottom,0px));border:0;box-shadow:-12px 0 60px #18191d40;gap:24px}
 .mobile-menu-open .mobile-scrim{display:block;position:fixed;inset:0;width:100%;height:100dvh;border:0;border-radius:0;background:#18191d70;backdrop-filter:blur(3px);z-index:89}
 .mobile-menu-close{display:grid;place-items:center;position:absolute;right:16px;top:calc(16px + env(safe-area-inset-top,0px));width:44px;background:#ffffff0b;border-color:#ffffff20;color:#fff}
 aside .brand{padding-right:46px;min-height:40px}aside .nav{display:grid;gap:5px}aside .nav button{padding:12px;gap:12px;font-size:14px;min-height:46px}aside .nav button.active{box-shadow:inset 3px 0 #a997ff}aside .tree{display:block}aside .tree .side-label{display:block}aside .tree button{min-height:42px}aside .side-bottom.cloud-sidebar-footer{grid-template-columns:1fr auto}
 .mobile-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:50;padding:7px 8px calc(7px + env(safe-area-inset-bottom,0px));background:#fffffff7;backdrop-filter:blur(18px);border-top:1px solid #e6e3ee;box-shadow:0 -4px 24px #30234806}
 .mobile-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:7px 1px;min-width:0;min-height:54px;border:0;border-radius:12px;background:transparent;color:#767280;font-size:9px;line-height:1.2;font-weight:600}
 .mobile-tabs .nav-icon{width:21px;height:21px;flex:0 0 21px;color:inherit}.mobile-tabs button[aria-current=page],.mobile-tabs .mobile-current{color:#4935e8;background:#f0edff}
 .shell>main{padding:24px 16px calc(var(--mobile-bottom) + 26px);min-width:0;width:100%}
 main>header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;margin-bottom:20px;align-items:center}main>header .eyebrow{display:none}main>header>div:first-child{grid-column:1;max-width:none;min-width:0}h1{font-size:24px;line-height:1.22;letter-spacing:-.9px;overflow-wrap:anywhere}h2{font-size:18px}main>header>.actions{grid-column:1/-1;grid-row:2;order:2;width:100%;margin:0;display:flex}main>header>.actions>button{flex:1;font-size:12px;padding:11px 9px}main>header>.language-switch{grid-column:2;grid-row:1;margin-left:auto}.language-switch button{min-height:36px;min-width:34px;padding:7px}.language-switch{border-radius:11px}
 #content>.hero{display:none}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:24px}.stat{padding:16px;border-radius:15px;min-width:0}.stat .value{font-size:25px;margin:10px 0 6px}.stat .label,.stat .muted{font-size:11px;line-height:1.5}.panel{padding:18px;border-radius:17px}.toolbar{gap:12px;flex-wrap:wrap;align-items:center}.toolbar>.actions{width:100%}.toolbar h2{font-size:18px}.filters{display:grid;grid-template-columns:1fr;gap:10px;width:100%}.filters input,.filters select{width:100%;min-width:0}
 #bundleCards{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.bundle-card{padding:18px;border-radius:19px;gap:16px;min-width:0}.bundle-art{height:145px;border-radius:13px;background:#f7f7fa}.bundle-art img{width:82px;height:108px;max-width:30%;object-fit:contain}.bundle-card h3{font-size:19px;line-height:1.3}.bundle-card .muted{font-size:12px}.bundle-card .actions{display:grid;grid-template-columns:1fr auto}.bundle-card .actions button{font-size:13px}.bundle-customer-summary{margin:0;padding:13px;background:#faf9fd}.card-numbers{padding-top:16px}.card-numbers strong{font-size:22px}
 .catalog-overview{scrollbar-width:none;display:flex;gap:8px;overflow-x:auto;padding:2px 0 8px;margin-bottom:14px;scroll-snap-type:x proximity}.overview-item{flex:0 0 116px;scroll-snap-align:start;padding:14px;gap:5px;border-radius:13px}.overview-item strong{font-size:23px}.overview-item span{font-size:11px}
 .catalog-panel{padding:14px}.catalog-search-row{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:14px}.catalog-search{flex-basis:100%;font-size:12px}.catalog-search input{margin-top:8px}.view-toggle{width:100%}.view-toggle button{flex:1;min-height:38px;font-size:12px}
 .mobile-filter-disclosure{border:1px solid #e7e3ef;border-radius:12px;background:#faf9fd;margin-bottom:14px}.mobile-filter-disclosure>summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;min-height:46px;padding:10px 13px;font-size:13px;font-weight:600;color:#504563}.mobile-filter-disclosure>summary::-webkit-details-marker{display:none}.mobile-chevron{margin-left:auto;font-size:19px;line-height:1}.mobile-filter-disclosure[open] .mobile-chevron{transform:rotate(180deg)}.catalog-filters{grid-template-columns:minmax(0,1fr);padding:0 13px 14px;gap:14px}.catalog-filters label{font-size:12px}.catalog-results-meta{margin:14px 0;gap:6px;align-items:center}.catalog-results-meta button{font-size:11px;padding:8px}.catalog-results-meta .muted{font-size:11px;max-width:55%}
 .catalog-overview::-webkit-scrollbar{display:none}.mobile-filter-disclosure .mobile-catalog-view-toggle{margin:0 13px 14px;width:calc(100% - 26px)}.bulk-toolbar:not(:has(button)){display:none}
 .catalog-card-grid{grid-template-columns:minmax(0,1fr);gap:12px}.catalog-product-card{display:grid;grid-template-columns:100px minmax(0,1fr);border-radius:15px;background:#fff;overflow:visible}.catalog-card-image{height:145px;padding:14px 10px;margin-top:4px;border-radius:15px 0 0 15px;background:#fafafd}.card-selection{top:8px;left:8px;padding:8px}.card-selection input{width:20px;height:20px}.catalog-card-body{padding:14px 12px;gap:6px;min-width:0}.catalog-card-body .product-name-button{font-size:14px;min-height:0;line-height:1.45;overflow-wrap:anywhere}.catalog-card-price{font-size:22px;padding-top:5px}.catalog-card-body .actions{gap:6px}.catalog-card-body .actions button{flex:1;font-size:11px;padding:8px 6px;min-height:40px}.catalog-card-stock{line-height:1.5}.bulk-toolbar{border-radius:11px;gap:8px;padding:11px;font-size:12px}.bulk-toolbar .actions{width:100%;margin:0}.bulk-toolbar .actions button{flex:1;font-size:11px}.catalog-table{max-height:none;margin-top:12px;border:1px solid var(--line);border-radius:12px}.table-wrap{max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.category-menu{max-height:45dvh}.category-choice{min-height:44px}.category-arrow{min-height:44px}.category-path{overflow-wrap:anywhere}
 dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 20px);padding:20px 16px;border-radius:20px;overscroll-behavior:contain}dialog.product-editor-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding:16px 12px 0}body:has(dialog[open]){overflow:hidden}dialog .form-grid,dialog .grid2,dialog .grid3{grid-template-columns:minmax(0,1fr)}
 .product-editor-header{top:-16px;margin:-16px -12px 16px;padding:calc(14px + env(safe-area-inset-top,0px)) 12px 14px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.product-editor-header>div:first-child{padding-right:34px}.product-editor-header .product-editor-tools{grid-row:2;grid-column:1/-1;justify-content:space-between}.product-editor-header .product-editor-thumb{width:48px;height:48px}.product-editor-header h2{font-size:19px}.product-editor-header .muted{font-size:11px;line-height:1.4}.product-editor-navigation button{height:44px;width:52px}.mobile-editor-close{display:grid;place-items:center;width:40px;min-height:40px;grid-row:1;grid-column:2;background:#fff;border-color:#e1dce9}.mobile-editor-close .nav-icon{width:18px;height:18px}.editor-section{padding:17px 14px;border-radius:15px;margin-bottom:12px}.section-heading{margin-bottom:18px}.section-heading h3{font-size:15px}.editor-section label{font-size:13px}.product-editor-footer{margin:0 -12px;padding:12px 12px calc(12px + env(safe-area-inset-bottom,0px));gap:10px;background:#faf9fcf5}.product-editor-footer>.actions{display:grid;grid-template-columns:1fr 1.4fr;flex:1}.product-editor-footer #productEditState{font-size:11px}.product-editor-footer>.danger{width:100%;min-height:34px;font-size:11px}.photo-options{display:grid;grid-template-columns:1fr}.photo-options label{min-width:0}.photo-options input[type=file]{font-size:13px!important}.picker-grid,.picker-controls{grid-template-columns:minmax(0,1fr)}.picker-footer{position:sticky;bottom:-20px;background:#fff;padding:14px 0;margin-top:10px}
 .bundle-section-nav{top:calc(60px + env(safe-area-inset-top,0px));z-index:40;margin-bottom:14px;scrollbar-width:none}.bundle-section-nav a{padding:12px 10px;font-size:11px}.bundle-section{scroll-margin-top:125px;padding:18px 15px}.bundle-section-title{gap:10px}.bundle-section-title h2{font-size:16px}.bundle-section-title p{font-size:12px}.bundle-customer-fields{padding:14px;grid-template-columns:1fr}.bundle-edit-layout{gap:14px}.bundle-results{margin-bottom:2px}.mobile-results-toggle{display:flex;align-items:center;gap:10px;width:100%;padding:15px;border:1px solid #ddd6f2;background:#f0edfb;color:#493b77;font-size:13px;text-align:left;margin-bottom:12px}.bundle-results:not(.mobile-results-expanded)>:not(.mobile-results-toggle){display:none}.bundle-results.mobile-results-expanded .mobile-chevron{transform:rotate(180deg)}.bundle-item-fields{grid-template-columns:minmax(0,1fr) 90px}.bundle-item-fields .item-role{grid-column:1/-1;max-width:none}.bundle-item-fields .item-role select{font-size:16px!important}.bundle-item-cost{text-align:right}.bundle-item-footer{flex-wrap:wrap;gap:6px}.bundle-item-actions .actions{display:grid;grid-template-columns:1fr;width:100%}.bundle-item-actions .actions button{font-size:12px}.bundle-item-heading>div{min-width:0}.bundle-item-heading strong{overflow-wrap:anywhere}.bundle-save-bar{bottom:calc(var(--mobile-bottom) + 8px);z-index:35;padding:10px;border-radius:14px}.bundle-save-bar .actions{display:grid;grid-template-columns:.9fr 1.3fr;gap:6px}.bundle-save-bar button{white-space:normal;min-height:44px;padding:10px;font-size:12px}.bundle-outcome-profit>strong{font-size:30px}.economics-budget{flex-wrap:wrap}.economic-plan{padding:14px}.economics-product{min-width:0}.economics-product strong{overflow-wrap:anywhere}
 .rec-intro{padding:18px}.rec-intro h2{font-size:20px}.rec-summary{gap:8px}.rec-summary>div{border-radius:14px}.rec-filters{grid-template-columns:1fr}.rec-card{border-radius:16px}.rec-card .actions{width:100%}.cloud-team-list article{padding:16px;border-radius:13px}.cloud-team-list button{margin-top:10px}.cloud-login{margin:20px 12px;padding:26px 20px;border-radius:20px}.cloud-login h1{font-size:25px;padding-right:72px}.cloud-login>.language-switch{top:24px;right:16px}.cloud-login .actions>button{flex:1;font-size:12px}.cloud-login p{font-size:14px}
 .toast{bottom:calc(var(--mobile-bottom) + 12px);max-width:calc(100vw - 24px);width:max-content;padding:12px 15px;font-size:13px}.notice{font-size:11px;line-height:1.6}.metric-row{gap:12px;flex-wrap:wrap}.panel,.stat,.editor-section,.bundle-item-card{min-width:0}
}
@media screen and (min-width:721px){.mobile-catalog-view-toggle{margin:12px 0;width:max-content}.mobile-filter-disclosure:not([open])>.catalog-filters{display:grid}}
@media print{.mobile-appbar,.mobile-tabs,.mobile-menu-close,.mobile-scrim,.mobile-results-toggle,.mobile-editor-close,.mobile-filter-disclosure>summary{display:none!important}.mobile-filter-disclosure>.catalog-filters{display:none!important}}
