/* Phone layouts inherit the installing website's colour tokens. */
.ws-bottom-nav,.fx-mobile-brand,.fx-drawer-close,.ws-public-menu,.ws-public-close{display:none}
.ws-public-overlay[hidden]{display:none!important}
.fitek-app :where(a,button,input,select,textarea):focus-visible{outline:3px solid var(--fitek-link);outline-offset:3px}
.fitek-app :where(button,a){-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.fitek-app [id]{scroll-margin-top:90px}
html.ws-menu-open,html.ws-menu-open body{overflow:hidden;overscroll-behavior:none}
@media(max-width:1050px){
  .fx-shell .fx-sidebar{width:min(320px,88vw)!important;padding:28px 20px 24px;z-index:120;overscroll-behavior:contain;box-shadow:12px 0 60px #102a4314}
  .fx-shell .fx-brand{padding-right:35px}
  .fx-shell .fx-drawer-close{display:grid;place-items:center;position:absolute;right:12px;top:23px;width:44px;height:44px;border:0;border-radius:50%;background:var(--fitek-surface);color:var(--fitek-ink)}
  .fx-shell .fx-nav-group>a{min-height:48px;font-size:14px;padding:12px;margin:4px 0;border-radius:12px}
  .fx-shell .fx-sidebar-bottom>a{min-height:44px;font-size:13px}.fx-shell .fx-person strong{font-size:13px}.fx-shell .fx-person small{font-size:11px}
  .fx-shell .fx-nav-overlay:not([hidden]){position:fixed;inset:0;z-index:110;background:#102a4366;border:0;backdrop-filter:blur(3px)}
}
@media(max-width:760px){
  .fitek-app{--ws-nav-height:0px;--ws-header-height:56px;--ws-adminbar:0px;box-sizing:border-box;-webkit-text-size-adjust:100%;overflow-wrap:break-word}
  .fitek-app.ws-has-bottom-nav,.fitek-app:has(>.ws-bottom-nav){--ws-nav-height:calc(64px + env(safe-area-inset-bottom,0px));padding-bottom:var(--ws-nav-height)}
  body.admin-bar:not(.fitek-workspace-admin) .fitek-app{--ws-adminbar:46px}
  .fitek-app :where(input:not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea){font-size:16px!important;max-width:100%;border-radius:12px;min-height:48px}
  .fitek-app :where(button,.fitek-button,.fx-icon-button,.fc-icon-button){min-height:44px}
  .fitek-app .fitek-button{font-size:14px;line-height:1.4;min-height:48px;border-radius:12px;padding:13px 18px}
  .fitek-app .fitek-button svg{width:18px;height:18px}.fitek-app .fitek-check{min-height:44px;align-items:center;font-size:13px}
  .fitek-app .fitek-check input{width:19px;height:19px;flex-shrink:0}
  .fx-shell .fx-topbar{position:sticky;top:0;z-index:70;height:var(--ws-header-height);padding:0 12px;gap:8px;background:var(--fitek-panel)}
  .fx-shell .fx-menu-button,.fx-shell .fx-icon-button{width:44px;height:44px;border-radius:12px;color:var(--fitek-ink)}
  .fx-shell .fx-menu-button{background:var(--fitek-surface);border:1px solid var(--fitek-border)}
  .fx-shell .fx-mobile-brand{display:flex;flex-direction:column;min-width:0;gap:1px;color:var(--fitek-ink);line-height:1.35;flex:1}
  .fx-mobile-brand strong{font-size:15px;letter-spacing:-.35px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .fx-mobile-brand span{font-size:11px;color:var(--fitek-muted)}
  .fx-shell .fx-breadcrumb,.fx-shell .fx-global-search,.fx-shell .fx-top-actions>.fx-avatar{display:none}
  .fx-shell .fx-top-actions{margin:0;gap:0}.fx-shell .fx-content{padding:14px 12px 10px;min-height:calc(100dvh - var(--ws-header-height) - var(--ws-nav-height))}
  .fx-shell h1{font-size:24px;line-height:1.2;letter-spacing:-1px}.fx-shell h2{font-size:18px}.fx-shell p{font-size:13px;line-height:1.65}
  .fx-shell .fx-overline{font-size:10px;letter-spacing:1px;margin-bottom:6px}
  .fx-shell .fx-page-heading{gap:10px;margin-bottom:14px}.fx-page-heading p{max-width:36em}.fx-page-heading>.fitek-button{width:100%}
  .fx-shell .fx-panel,.fx-shell .fitek-card{border-radius:14px;padding:16px;box-shadow:none;margin-bottom:12px}
  .fx-shell .fx-panel-heading{margin-bottom:12px;gap:8px;flex-wrap:wrap}.fx-panel-heading p{font-size:12px}.fx-panel-heading>a{font-size:12px;min-height:44px;display:inline-flex;align-items:center}
  .fx-shell .fx-stats{gap:8px;margin-bottom:14px}.fx-shell .fx-stat{padding:12px;border-radius:12px;grid-template-columns:minmax(0,1fr) 28px}
  .fx-shell .fx-stat-label{font-size:12px;line-height:1.5;margin:0;padding-right:4px}.fx-shell .fx-stat>strong{font-size:26px;margin:8px 0 4px}
  .fx-shell .fx-stat>small{font-size:11px;line-height:1.5}.fx-stat-icon{width:28px;height:28px}.fx-stat-icon .fx-icon{width:16px;height:16px}
  .fx-shell .fx-client-intro{gap:0;display:flex;flex-direction:column}.fx-client-intro .fx-next{order:-1;padding:16px;border-left:3px solid var(--fitek-orange)}
  .fx-next h2{font-size:23px;letter-spacing:-.6px}.fx-next .fitek-button{width:100%;margin-top:8px}
  .fx-shell .fx-welcome{min-height:0;padding:16px!important;border-radius:14px;margin-bottom:14px}.fx-welcome>div:first-child{max-width:100%}.fx-welcome h2{font-size:23px}.fx-welcome p{max-width:100%;font-size:13px}.fx-welcome .fx-orbit{display:none}.fx-welcome a{display:inline-flex;align-items:center;min-height:44px;font-size:14px}
  .fx-shell .fx-attention-row{padding:16px 0}.fx-attention-row strong{font-size:13px}.fx-attention-row small{font-size:12px}
  .fx-shell .fx-table-panel{padding:20px 0 0}.fx-table-panel>.fx-panel-heading{padding:0 20px}
  .fx-project-table,.fx-project-table tbody{display:block;width:100%}.fx-project-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .fx-project-table tbody tr{display:grid;position:relative;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:18px 20px;border-top:1px solid var(--fitek-border)}
  .fx-shell .fx-project-table td{border:0;padding:0!important;min-width:0}.fx-project-table td:first-child{grid-column:1/-1;padding-right:28px!important}.fx-shell .fx-project-name{font-size:14px;line-height:1.55;min-width:0;max-width:none}.fx-project-table td>small{font-size:11px;line-height:1.5}
  .fx-project-table td[data-label=Client]{grid-column:1/-1}.fx-project-table .fx-inline-person{font-size:12px}.fx-project-table td[data-label=Quote]{font-size:13px;font-weight:650;text-align:right}
  .fx-project-table td[data-label=Updated]{grid-column:1/-1;font-size:11px;color:var(--fitek-muted)}.fx-project-table td[data-label=Updated]:before{content:'Updated ';}
  .fx-project-table .fx-project-open{position:absolute;right:10px;top:13px}.fx-project-open a{display:grid;place-items:center;width:44px;height:44px}
  .fx-shell .fx-status{font-size:11px;padding:6px 9px;border-radius:7px}
  .fx-shell .fx-toolbar{gap:14px}.fx-shell .fx-segmented{justify-content:flex-start;max-width:100%;overflow:auto;gap:5px;scrollbar-width:none}.fx-segmented a{min-height:44px;display:inline-flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap}
  .fx-shell .fx-toolbar>form{width:100%}.fx-shell .fx-toolbar input{min-width:0!important;width:100%}
  .fx-shell .fx-client-grid,.fx-shell .fx-file-grid{grid-template-columns:1fr!important}.fx-service-copy h2{font-size:20px}.fx-service-copy p{font-size:13px}.fx-service-actions>a,.fx-service-actions button{min-height:44px;display:inline-flex;align-items:center;font-size:13px}
  .fx-shell .fx-project-guidance{border-radius:14px;padding:16px}.fx-project-guidance strong{font-size:14px}.fx-project-guidance p{font-size:12px}
  .fx-shell .fx-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 8px;overflow:visible;padding:20px 0}.fx-steps li{min-width:0;flex-direction:column;align-items:flex-start;font-size:11px;gap:7px}.fx-steps li:after{display:none}
  .fx-shell .fx-project-links{overflow:auto;white-space:nowrap;gap:20px;scrollbar-width:none}.fx-project-links a{min-height:44px;display:inline-flex;align-items:center;font-size:13px}
  .fx-workspace-footer{font-size:10px;line-height:1.6;padding-bottom:20px}.fx-workspace-footer>span:last-child{max-width:140px}
  /* The five destinations remain within reach, including the phone's safe area. */
  .fitek-app .ws-bottom-nav{position:fixed;z-index:90;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:4px max(8px,env(safe-area-inset-right,0px)) calc(4px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));min-height:var(--ws-nav-height);background:var(--fitek-panel);border-top:1px solid var(--fitek-border);box-shadow:0 -5px 25px #102a4305}
  .ws-bottom-nav>a{display:flex;min-width:0;min-height:55px;align-items:center;justify-content:center;flex-direction:column;gap:4px;font-size:10px;font-weight:550;color:var(--fitek-muted);line-height:1.1;text-decoration:none}
  .ws-tab-icon{display:grid;place-items:center;width:46px;height:29px;border-radius:11px;transition:background .15s ease}.ws-tab-icon .fx-icon{width:21px;height:21px}
  .ws-bottom-nav>a[aria-current=page]{color:var(--fitek-link);font-weight:750}.ws-bottom-nav>a[aria-current=page] .ws-tab-icon{background:var(--fitek-soft)}
  /* Public header and menu: the same identity, without wrapping a desktop nav. */
  .fitek-app .fitek-header{position:sticky;top:0;z-index:100;min-height:56px;padding:6px 12px!important;gap:10px;flex-direction:row;align-items:center!important;background:var(--fitek-panel);border-bottom:1px solid var(--fitek-border)}
  .fitek-header .fitek-brand{min-width:0;flex:1;font-size:19px;line-height:1.25;overflow-wrap:anywhere}.fitek-header .fitek-brand img{max-height:38px;max-width:210px}
  .ws-mobile-ready .ws-public-menu{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border:1px solid var(--fitek-border);border-radius:12px;background:var(--fitek-surface);color:var(--fitek-ink)}
  .ws-mobile-ready #ws-public-navigation{position:fixed;inset:0 0 0 auto;width:min(340px,90vw);z-index:120;background:var(--fitek-panel);display:flex;align-items:stretch;flex-direction:column;gap:6px;padding:84px 22px 28px;overflow:auto;visibility:hidden;transform:translateX(100%);transition:transform .2s ease;box-shadow:-12px 0 60px #102a4314}
  .ws-public-nav-open #ws-public-navigation{visibility:visible;transform:translateX(0)}
  .ws-mobile-ready #ws-public-navigation>a,.ws-mobile-ready #ws-public-navigation li>a{font-size:16px;min-height:48px;border-radius:12px;display:flex;align-items:center;padding:12px 14px;margin:0}
  .ws-mobile-ready #ws-public-navigation a[aria-current=page]{background:var(--fitek-soft);color:var(--fitek-link)}
  .ws-mobile-ready #ws-public-navigation ul{display:block;list-style:none;margin:0;padding:0;width:100%}.ws-mobile-ready #ws-public-navigation .sub-menu{position:static;display:block;box-shadow:none;border:0;padding-left:16px}.ws-mobile-ready #ws-public-navigation .sub-menu a{font-size:14px}
  .ws-mobile-ready .ws-public-close{display:grid;place-items:center;position:absolute;right:20px;top:20px;width:44px;height:44px;border:0;border-radius:50%;background:var(--fitek-surface);color:var(--fitek-ink)}
  .ws-public-overlay:not([hidden]){position:fixed;inset:0;z-index:110;background:#102a4366;border:0;backdrop-filter:blur(3px)}
  .ws-mobile-ready .fitek-account-nav{display:none}
  .ws-public main,.fitek-app>.fitek-main{padding:0 12px 20px}.fitek-app .fitek-footer{padding:28px 20px}.fitek-footer-links{display:grid;grid-template-columns:1fr 1fr;gap:6px 18px}.fitek-footer-links a{min-height:44px;display:flex;align-items:center;font-size:12px}
  .ws-public .ws-page-heading{padding-top:20px}.ws-public .ws-page-heading h1{font-size:28px;letter-spacing:-1.2px}.ws-public .ws-hero{padding:25px 20px}
  /* Services: keep the scope, package and next action readable. */
  .fitek-app .fg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.fg-card{border-radius:18px}.fg-card-image{aspect-ratio:1.9}.fg-card-body{padding:20px}.fg-card-body h2{font-size:21px}.fg-card-body p{font-size:13px}.fg-card-link{min-height:48px;font-size:13px}
  .fitek-app .fg-detail{padding-top:24px}.fg-crumb{gap:9px;font-size:11px;line-height:1.6;margin-bottom:24px;flex-wrap:wrap}.fg-main>h1{font-size:32px;line-height:1.15;letter-spacing:-1.1px}.fg-intro{font-size:14px}.fg-provider{margin:18px 0}.fg-gallery-stage{aspect-ratio:1.7;border-radius:16px}.fg-gallery-stage>img{padding:28px}.fg-gallery-stage>img.fg-cover{padding:0}.fg-section-nav{overflow:auto;white-space:nowrap;gap:24px;scrollbar-width:none}.fg-section-nav a{font-size:13px;min-height:48px}
  .fg-purchase{margin-top:20px}.fg-package-card{border-radius:18px}.fg-package-tabs button{font-size:13px;min-height:50px}.fg-package-panel{padding:22px}.fg-package-title{gap:14px}.fg-package-title h2{font-size:20px}.fg-package-title>strong{font-size:22px;white-space:nowrap}.fg-package-panel p,.fg-package-panel li{font-size:13px}.fg-package-panel .fitek-button{width:100%}.fg-section{padding-top:30px}.fg-section h2{font-size:23px}.fg-section p,.fg-section li{font-size:14px;line-height:1.75}.fg-table-scroll{max-width:100%;overflow:auto;overscroll-behavior-x:contain}.fg-compare{min-width:560px}.fg-faq summary{min-height:48px;font-size:14px}
  .fg-brief-selection{padding:20px;border-radius:16px}.fg-edit-tiers{grid-template-columns:1fr}.fg-edit-tier{padding:18px}
  /* A conversation fills the available phone height, with an always reachable composer. */
  .fx-view-support .fx-content,.fx-view-inbox .fx-content{padding:0;min-height:0}.fx-view-support .fx-workspace-footer,.fx-view-inbox .fx-workspace-footer{display:none}
  .fx-view-support .fc-page-title,.fx-view-inbox .fc-page-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0}
  .fitek-app .fc-messenger{height:calc(var(--ws-viewport-height,100dvh) - var(--ws-header-height) - var(--ws-nav-height) - var(--ws-adminbar));min-height:0;max-height:none;border:0;border-radius:0;margin:0}
  .fc-sidebar-heading{padding:22px 20px 14px}.fc-search{margin:0 16px 14px;min-height:48px;border-radius:14px}.fitek-app .fc-search input{font-size:16px}
  .fc-conversation{padding:17px 16px}.fc-conversation-top strong{font-size:14px}.fc-subject,.fc-snippet{font-size:12px;line-height:1.6}.fc-avatar{border-radius:14px}.fc-sidebar-foot{font-size:11px}
  .fc-thread-header{padding:12px 16px;gap:10px;min-height:72px}.fitek-app .fc-thread-header h2{font-size:15px}.fc-thread-header .fc-avatar{width:36px;height:36px}.fitek-app .fc-back{width:44px;min-height:44px;padding:0;justify-content:center;align-items:center;border-radius:12px;flex-shrink:0}
  .fc-message-log{padding:18px 16px;background-image:none}.fc-bubble{max-width:87%;padding:12px 14px 8px;box-shadow:none}.fitek-app .fc-bubble p{font-size:14px;line-height:1.65}.fc-bubble small{font-size:10px}.fc-date-divider{font-size:11px;margin:12px auto 20px}
  .fc-compose-area{padding:10px 12px 12px}.fitek-app .fc-connection{font-size:10px;margin-bottom:7px}.fc-composer{padding:5px;border-radius:16px;align-items:flex-end}.fitek-app .fc-composer textarea{font-size:16px;min-height:44px;line-height:1.5;padding:10px;max-height:110px}.fitek-app .fc-send{width:44px;height:44px;border-radius:12px}.fc-composer-hint{display:none}.fc-jump{bottom:115px;min-height:44px}.fc-welcome{padding:24px}.fitek-app .fc-welcome h2{font-size:27px}
  .fitek-app .fc-auth{margin:22px auto;border-radius:20px}.fc-auth-form{padding:25px 22px}.fitek-app .fc-auth-form h1{font-size:29px}.fc-auth-form label{font-size:14px}.fc-auth-tabs a{min-height:44px;padding:11px;font-size:14px}.fc-password-field button{min-height:44px;top:3px}.fc-auth-description{font-size:13px!important}.fc-auth-options,.fc-auth-bottom{font-size:13px!important}.fc-auth-terms{font-size:11px!important;line-height:1.7}.fc-auth-options a{min-height:44px;display:inline-flex;align-items:center}
  .fitek-app .fc-guest{padding-top:24px;gap:24px}.fitek-app .fc-guest-intro h1{font-size:32px;letter-spacing:-1px}.fc-guest-body{padding:18px}.fc-guest-card{border-radius:20px}.fc-guest-card .fc-thread-header{padding:18px}.fc-guest-note{font-size:12px!important}
  .ws-keyboard-open .ws-has-bottom-nav{--ws-nav-height:0px}.ws-keyboard-open .ws-bottom-nav{display:none}
}
@media(max-width:359px){.fx-shell .fx-content{padding-left:10px;padding-right:10px}.fx-shell .fx-stat{padding:13px}.ws-bottom-nav>a{font-size:9px}.fx-mobile-brand strong{font-size:14px}.fg-package-title{flex-wrap:wrap}.fx-shell .fx-page-heading h1{font-size:24px}}
@media(prefers-reduced-motion:reduce){.fitek-app *,.fitek-app *:before,.fitek-app *:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

@media(max-width:760px){
 .fx-view-account .fx-content{display:flex;flex-direction:column}
 .fx-view-account .fx-page-heading{order:0}.fx-view-account .fx-stats{order:1}.fx-view-account .fx-client-intro{order:2}.fx-view-account .fx-two-column{order:3}.fx-view-account .fx-workspace-footer{order:4}
 .fx-view-account .fx-toast{order:-1}.fitek-app .fc-icon-button{width:44px;height:44px}
 .fx-client-intro:has(.fx-next .fitek-button) .fx-welcome{display:none}
 .fx-shell .fx-main-table .fx-project-table{min-width:0}.fx-shell .fx-main-table{padding-top:0}
 .fx-view-projects form.fx-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:10px;margin-bottom:12px;align-items:center}
 .fx-view-projects .fitek-search{margin:0}.fx-view-projects .fitek-search input{margin:0}
 .fx-view-projects form.fx-toolbar button{width:48px;padding:12px}.fx-view-projects form.fx-toolbar button span{display:none}
 .fx-shell .fitek-tabs{gap:7px;padding:0 0 12px;margin:16px 0 8px;border:0;scrollbar-width:none}
 .fx-shell .fitek-tabs a{display:inline-flex;align-items:center;min-height:44px;font-size:12px;padding:10px 13px;border-radius:11px;border:1px solid var(--fitek-border);background:var(--fitek-panel)}
 .fx-shell .fitek-tabs a[aria-current=page]{background:var(--fitek-soft);border-color:var(--fitek-soft)}.fx-shell .fitek-tabs a[aria-current=page]:after{display:none}
}

/* Compact phone rhythm; preserve control sizes and user-defined Elementor spacing. */
@media(max-width:760px){
 .fx-shell .fx-page-heading h1{margin-bottom:6px}
 .fx-shell .fx-page-heading p{font-size:12px;line-height:1.5}
 .fitek-app>.fitek-main>.fx-page-heading{padding-top:16px;margin-bottom:14px;gap:10px}
 .fitek-app>.fitek-main>.fx-page-heading h1{font-size:24px;margin-bottom:6px;line-height:1.2}
 .fitek-app>.fitek-main>.fx-page-heading p{font-size:12px;line-height:1.5;margin:0}
 .fitek-app>.fitek-main>.fx-page-heading .fx-overline{font-size:10px;margin-bottom:6px}
 .fx-shell .fx-workspace-footer{margin-top:20px;padding-top:12px}
 .ws-public :where(.ws-section){padding:20px 0}
 .ws-public :where(.ws-section .ws-section){padding:0}
 .ws-public :where(.ws-hero){margin:12px 0 22px;gap:18px}
 .ws-public :where(.ws-page-heading){padding-bottom:18px}
 .ws-public :where(.ws-page-heading p:last-child){margin-bottom:0}
 .ws-public .ws-catalogue{padding-top:0}
}

@media(max-width:760px){.fx-shell .fitek-notice{align-items:flex-start;gap:6px;padding:12px;flex-wrap:wrap}.fx-shell .fitek-notice>strong{flex-basis:100%}.fx-view-services .fx-toolbar{margin-bottom:14px}.fx-view-services .fx-service-actions form{margin:0}}
