/* Phase 1: mobile-first navigation and presentation only. */
#pro #tech-dashboard button.dashboard-metric-link{font-family:inherit;text-align:left;cursor:pointer;min-width:0;min-height:88px;white-space:normal;color:inherit;touch-action:manipulation;position:relative}
#pro #tech-dashboard button.dashboard-metric-link:focus-visible{outline:3px solid #8b7658;outline-offset:3px}
#pro #tech-dashboard button.dashboard-metric-link[aria-expanded=true]{box-shadow:0 0 0 2px #8b7658}
#pro #tech-dashboard .dashboard-metric-hint{font-family:Arial,sans-serif;font-size:12px;line-height:1.4;opacity:.8}
#pro #tech-dashboard .mobile-dashboard-metrics>button.dashboard-metric-link:first-child{color:#fff}
.dashboard-detail{scroll-margin-top:20px;min-width:0}.dashboard-detail[hidden]{display:none}.dashboard-detail-row{border-bottom:1px solid #e5e0d4;padding:14px 0;overflow-wrap:anywhere}.dashboard-detail-row p{margin:6px 0}.dashboard-detail-row small{display:block;font-size:13px;line-height:1.6}.dashboard-detail-row .button{min-height:44px}
.tech-bottom-nav{position:fixed;z-index:40;inset:auto 0 0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;gap:3px;background:#fffcf6f5;border-top:1px solid #e6e1d7;padding:8px max(10px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom));box-shadow:0 -5px 25px #28241908;backdrop-filter:blur(18px);font-family:Arial,sans-serif;box-sizing:border-box}
.tech-bottom-item{position:relative;min-width:0;min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:none;border:0;border-radius:14px;color:#817d73;font:500 10px/1.2 Arial,sans-serif;padding:6px 2px;cursor:pointer;touch-action:manipulation}
.tech-bottom-item svg{width:22px;height:22px;flex-shrink:0}.tech-bottom-item[aria-current=page]{color:#24241f;background:#eeeae0}.tech-bottom-item[aria-current=page]:after{content:'';position:absolute;top:1px;width:14px;height:3px;border-radius:3px;background:#24241f}.tech-bottom-item.tech-create-button{width:52px;height:52px;min-height:52px;justify-self:center;background:#24241f;color:#fff;border-radius:18px;box-shadow:0 5px 14px #29271b22}.tech-create-button svg{width:26px;height:26px}.tech-create-button>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.mobile-pending-badge{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 4px;box-sizing:border-box;border-radius:20px;background:#b64c35;color:#fff;font:600 10px Arial,sans-serif}.mobile-pending-badge:empty{display:none}.tech-bottom-item .mobile-pending-badge{position:absolute;top:0;right:calc(50% - 25px);border:2px solid #fffaf3;min-width:21px;height:21px}
.tech-mobile-sheet[hidden]{display:none!important}.tech-mobile-sheet{position:fixed;z-index:70;inset:0;display:flex;align-items:flex-end;justify-content:center;color:#24241f;font-family:Arial,sans-serif}.mobile-sheet-backdrop{position:absolute;inset:0;background:#24211c66;border:0;padding:0;cursor:pointer;backdrop-filter:blur(3px)}.mobile-sheet-panel{position:relative;max-height:88dvh;max-height:min(88dvh,850px);width:100%;max-width:560px;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;border-radius:28px 28px 0 0;background:#fbf9f4;padding:12px 20px calc(22px + env(safe-area-inset-bottom));box-shadow:0 -12px 70px #15140f1c}.mobile-sheet-handle{width:38px;height:4px;border-radius:20px;background:#d4cec1;margin:0 auto 15px}.mobile-sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.mobile-sheet-heading h2{font:normal 27px/1.2 Georgia,serif;letter-spacing:-.6px;margin:0}.mobile-sheet-close{min-width:46px;min-height:46px;border:1px solid #e2dcd0;background:#fff;border-radius:50%;font:25px Arial,sans-serif;color:#38362e;cursor:pointer}.mobile-sheet-link{display:flex;width:100%;box-sizing:border-box;align-items:center;gap:13px;min-height:58px;background:#fff;border:1px solid #e9e4da;border-radius:15px;margin:8px 0;padding:15px 16px;color:#34332b;text-decoration:none;font:500 14px/1.5 Arial,sans-serif;cursor:pointer;text-align:left}.mobile-sheet-link>span:first-of-type{flex:1;min-width:0}.mobile-sheet-link svg{height:20px;width:20px;flex-shrink:0}.mobile-sheet-link svg:last-child{width:15px;color:#9d9584}.mobile-sheet-preview{min-height:48px;width:100%;border:1px solid #d2cbbd;border-radius:14px;background:#eee9df;font:600 13px Arial,sans-serif;color:#34332b;margin-top:14px}.tech-sheet-open{overflow:hidden}.tech-bottom-item:focus-visible,.mobile-sheet-link:focus-visible,.mobile-sheet-close:focus-visible,.mobile-growth-link:focus-visible{outline:3px solid #8d7654;outline-offset:3px}
.mobile-growth-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.mobile-growth-link{position:relative;display:flex;flex-direction:column;gap:7px;padding:17px 28px 17px 15px;min-height:80px;text-align:left;border:1px solid #e1d9c9;border-radius:16px;background:#ede8dc;color:#34332b;font:13px Arial,sans-serif;cursor:pointer;min-width:0}.mobile-growth-link small{font-size:10px;color:#7c7464;line-height:1.4}.mobile-growth-link svg{position:absolute;right:10px;top:29px;width:14px;height:14px}.mobile-dashboard-details{margin:22px 0;border-top:1px solid #ddd7cb;padding-top:16px}.mobile-dashboard-details>summary{font:600 13px Arial,sans-serif;min-height:44px;cursor:pointer;display:flex;align-items:center;justify-content:space-between}.mobile-dashboard-details>summary:after{content:'+';font-size:20px}.mobile-dashboard-details[open]>summary:after{content:'−'}.mobile-dashboard-goal{padding:18px;border:1px dashed #d5cebd;border-radius:18px;margin:18px 0}.mobile-dashboard-goal h3{font:normal 21px Georgia,serif;margin:0 0 10px}.mobile-dashboard-goal p{font:12px/1.6 Arial,sans-serif;color:#7c7464}
@media(max-width:820px){
 body.tech-mobile-active{background:#f7f5ef;padding-bottom:calc(90px + env(safe-area-inset-bottom));overflow-x:clip}body.tech-mobile-active>header{padding:18px 16px;gap:12px}body.tech-mobile-active>header .logo{font-size:25px}body.tech-mobile-active>header .logo>span{display:none}body.tech-mobile-active>header .header-actions{gap:8px}body.tech-mobile-active main{width:100%;max-width:100%;padding:0 14px;box-sizing:border-box}body.tech-mobile-active footer{padding:20px 16px 30px;flex-wrap:wrap}#pro{padding:12px 0 20px;margin:0;border:0;background:#f7f5ef;max-width:100%;border-radius:0;overflow-wrap:anywhere}#pro>.eyebrow{font-size:9px;margin-top:10px}#pro>h1{font-size:37px;letter-spacing:-1.4px;margin:12px 0}#pro>h1 br{display:none}#pro>h1 em{margin-left:7px}#pro>p{font:13px/1.7 Arial,sans-serif;margin:0 0 14px;color:#7c7668}#pro>.banner{display:none}.tech-shell{grid-template-columns:minmax(0,1fr);margin-top:10px;gap:0;min-width:0}.tech-sidebar{display:none!important}.tech-content{min-width:0;width:100%}.tech-content>h2{font-size:27px;margin:8px 0 18px}.tech-panel{min-width:0;max-width:100%;scroll-margin-top:20px}#pro .section,#pro .client-card,#pro .client-history-card{padding:19px 16px;border-radius:19px;margin-top:15px;max-width:100%;box-sizing:border-box}#pro .section h2{font-size:25px;line-height:1.25}#pro .section h3{font-size:22px}#pro .button,#pro button.add-option{font-size:13px;min-height:48px;white-space:normal;line-height:1.4;padding:13px 16px;touch-action:manipulation}#pro input,#pro select,#pro textarea{font-size:16px;min-height:48px;max-width:100%;box-sizing:border-box}#pro input[type=checkbox]{min-height:22px;width:22px;height:22px}#pro input[type=color]{width:55px;padding:3px}#pro .field{font-size:13px;gap:5px;margin:11px 0}#pro .note{font-size:12px;line-height:1.75}#pro .formgrid,#pro .pricegrid{grid-template-columns:minmax(0,1fr);gap:10px}.tech-save-actions{bottom:calc(86px + env(safe-area-inset-bottom));padding:10px 12px;background:#fffffff5;backdrop-filter:blur(12px);border-radius:16px;box-shadow:0 4px 24px #2824190c;z-index:8}.tech-save-actions .button{margin:0!important;width:100%}#pro .actions{flex-wrap:wrap;gap:8px}#pro .actions .button{min-width:0;flex:1 1 145px}#pro .catalog-section-heading{align-items:flex-start;flex-wrap:wrap}#pro .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0}.metric-card{padding:18px 14px;gap:10px;border-radius:18px;overflow-wrap:anywhere}.metric-card strong{font-size:27px;line-height:1.15}.metric-card>span{font-size:11px;line-height:1.45}.metric-card small{font-size:10px}.mobile-dashboard-metrics>.metric-card:first-child{grid-column:1/-1;background:#26261f;color:#fff;border-color:#26261f;padding:20px}.mobile-dashboard-metrics>.metric-card:first-child strong{font-size:37px}.mobile-dashboard-metrics>.metric-card:first-child>span,.mobile-dashboard-metrics>.metric-card:first-child small{color:#d5cebd}#pro .business-form{scroll-margin-top:20px}#pro .business-form>.button[type=submit]{position:sticky;bottom:calc(88px + env(safe-area-inset-bottom));box-shadow:0 4px 20px #27231c1a;z-index:5}.business-table-wrap{overflow:visible}.business-table,.business-table tbody{display:block;width:100%}.business-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.business-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr);padding:12px;border:1px solid #e5e0d4;border-radius:16px;background:#fff!important;margin:10px 0}.business-table td{display:flex;justify-content:space-between;align-items:start;gap:12px;min-width:0;max-width:100%;padding:8px 4px;border:0;overflow-wrap:anywhere;font-size:13px}.business-table td:before{content:attr(data-label);font-size:11px;color:#7e7668;min-width:65px;flex-shrink:0}.business-table td>.button{width:auto}#pro .agenda-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:5px}#pro .agenda-actions .button{width:100%;margin:3px 0}#pro .colorfield output{max-width:100%;overflow-wrap:anywhere}#pro .upload-preview{max-width:100%}.booking-step-actions{position:sticky;bottom:calc(10px + env(safe-area-inset-bottom));z-index:9;padding:10px;background:var(--paper);border:1px solid var(--line);border-radius:15px}.booking-step-actions>.button{flex:1;min-height:48px;font-size:14px}#client .booking-stepper{gap:6px}#client .booking-stepper button{flex:1 1 40%;min-height:44px;font-size:12px}#client input,#client select,#client textarea{font-size:16px;max-width:100%;box-sizing:border-box}#client .button{min-height:48px;font-size:13px}#client .booking-fields{grid-template-columns:minmax(0,1fr)}#client .grid,#client .formgrid{min-width:0}#tech-mobile-status:empty{display:none}#pro :focus{scroll-margin-bottom:calc(160px + env(safe-area-inset-bottom))}
}
@media(min-width:821px){.tech-bottom-nav{display:none}.mobile-sheet-panel{margin:auto;border-radius:26px;padding:20px 26px;max-height:85dvh}.mobile-sheet-handle{display:none}.mobile-dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.mobile-growth-shortcuts{max-width:620px}.tech-sidebar{display:block}.tech-shell{grid-template-columns:220px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.tech-mobile-sheet *{scroll-behavior:auto!important}}
@media(max-width:820px){body.tech-mobile-active .tab,body.tech-mobile-active .language-switch button{min-height:44px}#pro img,#client img{max-width:100%}#pro .tech-panel>select{width:100%;margin-top:12px}.mobile-dashboard-metrics .metric-card strong{overflow-wrap:anywhere}}
