/* Mobile composition: shared spacing, readable forms and unobstructed actions. */
@media(max-width:760px){
 html{scroll-padding-top:16px}
 body{overflow-wrap:break-word;-webkit-text-size-adjust:100%}
 input,select,textarea{font-size:16px!important}
 button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
 :is(button,a,input,select,textarea):focus-visible{outline-offset:3px}
 /* Home: one logo, one message and two clear actions. */
 html:has(.home-dispatcher){scroll-snap-type:none}
 .home-dispatcher>header{top:0;padding:14px 18px 12px;gap:12px;background:linear-gradient(#08121bf2,#08121bbd);border-bottom-color:#ffffff16}
 .home-dispatcher>header .brand img{width:140px;height:36px;object-fit:contain}
 .home-dispatcher>header nav a.project-links-button{min-height:40px;padding:8px 10px;border:0;background:#ffffff09;font-size:12px;gap:6px}
 .home-dispatcher>header nav a.project-links-button>span{display:none}
 .home-dispatcher .home-search{border-color:#c8a74f80;border-radius:9px;box-shadow:none;background:#0c1b29}
 .home-dispatcher .home-search input{height:48px}
 .home-dispatcher #top>.scene{min-height:100svh;padding:72px 22px 88px;margin-top:0;mask-image:none;-webkit-mask-image:none;align-items:flex-end;scroll-snap-align:none}
 .home-dispatcher #top>.scene:first-child{min-height:max(680px,100svh);padding-top:176px}
 .home-dispatcher .hero-logo{display:none}
 .home-dispatcher .scene .content{max-width:100%;opacity:1!important;transform:none!important;transition:none}
 .home-dispatcher .scene:first-child h1{font-size:clamp(31px,8.5vw,42px);line-height:1.08;letter-spacing:-.04em;margin:0 0 16px}
 .home-dispatcher .scene p{font-size:16px;line-height:1.55;margin:0;max-width:34em;color:#e0e5e8}
 .home-dispatcher .scene:first-child .actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:24px}
 .home-dispatcher .scene .button{display:flex;justify-content:center;align-items:center;min-width:0;min-height:50px;padding:12px 16px;border-radius:8px;font-size:15px}
 .home-dispatcher .scene .button::after{display:none}
 .home-dispatcher .scene::after{background:linear-gradient(180deg,#08121b24 0%,#08121b30 22%,#08121bbd 48%,#08121bf2 90%)}
 .home-dispatcher #top>.scene .scene-video{object-position:65% center}
 .home-dispatcher #top>.scene .scene-poster{background-position:65% center}
 .home-dispatcher #top>.scene:not(:first-child) h2{font-size:clamp(36px,10vw,54px);line-height:1.06;letter-spacing:-.045em;margin:0 0 18px}
 .home-dispatcher #top>.v9-showcase{margin:0;mask-image:none;-webkit-mask-image:none;scroll-snap-align:none}
 .home-dispatcher .v9-frame{height:980px;min-height:0}
 /* Jobs: compact photos, all conditions readable, a clear action at the end. */
 html.jobs-scroll-snap{scroll-snap-type:none}
 .jobs-page header{gap:10px 14px;padding:12px 16px 14px;min-height:0;border-bottom-color:#ffffff17;background:#0c1723e8}
 .jobs-page header img{width:140px;height:36px;object-fit:contain}
 .jobs-page .jobs-home{min-width:44px;min-height:44px;border-color:#ffffff25;background:transparent}
 .jobs-page .jobs-header-search{max-width:none}
 .jobs-page .jobs-header-search #job-search{height:48px;min-height:48px;background:#0c1b29;border-color:#b69a5180}
 .jobs-page .jobs-header-search .jobs-search-icon{top:13px}
 .jobs-page .jobs-header-search .jobs-search-clear{top:2px}
 .jobs-page main{width:100%;max-width:100%;margin:0;padding:22px 14px 100px}
 .jobs-page .results-heading{margin:0 2px 16px;gap:8px;align-items:center}
 .jobs-page .results-heading h2{font-size:21px;margin:0}
 .jobs-page .filter-count{font-size:12px;white-space:nowrap}
 .jobs-page .sample-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
 .jobs-page .sample-card{padding:18px 16px;border-radius:14px;border-color:#ffffff1b;box-shadow:none;background:#142330f5}
 .jobs-page .sample-top{align-items:center;gap:12px;font-size:12px}
 .jobs-page .sample-top span:last-child{font-size:12px;max-width:56%;line-height:1.4}
 .jobs-page .sample-badge{padding:4px 7px;font-size:11px;white-space:nowrap;background:#e8b74d16}
 .jobs-page .sample-card h3{font-size:23px;line-height:1.2;margin:14px 0 18px;letter-spacing:-.02em}
 .jobs-page .sample-card .detail-body{grid-template-columns:minmax(0,1fr);gap:18px}
 .jobs-page .sample-card .sample-detail{margin:0}
 .jobs-page .job-photo-window{aspect-ratio:auto;min-height:116px;padding:16px;gap:6px;border-style:dashed;border-color:#ffffff24;background:#0c1b27}
 .jobs-page .job-photo-window svg{width:30px;height:30px;stroke:#b9a164}
 .jobs-page .job-photo-window span{font-size:13px;font-weight:500}
 .jobs-page .job-photo-window small{font-size:12px}
 .jobs-page .job-task-summary .response-label{margin-top:14px;padding-top:0;border-top:0;font-size:12px}
 .jobs-page .response-track{margin-top:8px;height:7px}
 .jobs-page .job-task-summary>p:empty{display:none}
 .jobs-page .job-facts .job-description{display:none}
 .jobs-page .job-facts .job-task-copy{font-size:15px;line-height:1.65;margin:0 0 14px}
 .jobs-page .job-address-link{font-size:14px;line-height:1.5;min-height:44px;gap:8px}
 .jobs-page .job-facts .sample-map{font-size:13px;min-height:44px;margin:0 0 14px;gap:8px}
 .jobs-page .job-facts>p:last-child{font-size:14px;line-height:1.85;margin:0;color:#c5d0d8}
 .jobs-page .job-facts>p:last-child b{font-weight:500;color:#eef2f4}
 .jobs-page .sample-card>.sample-meta:last-child{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 10px;align-items:start;margin-top:20px;padding:16px 0 0;border:0;border-top:1px solid #ffffff20;border-radius:0;background:transparent}
 .jobs-page .sample-meta>span{min-width:0}
 .jobs-page .schedule-label,.jobs-page .sample-pay>span{font-size:11px;line-height:1.45;margin-bottom:6px}
 .jobs-page .sample-date{font-size:16px;line-height:1.4;white-space:normal}
 .jobs-page .sample-pay{text-align:right}
 .jobs-page .sample-pay strong{font-size:19px;line-height:1.4;white-space:nowrap}
 .jobs-page .sample-meta .sample-respond{grid-column:1/-1;min-height:48px;width:100%;font-size:14px;border-radius:8px}
 .jobs-page .sample-meta .sample-response-message{grid-column:1/-1;font-size:13px;line-height:1.5}
 .jobs-page .jobs-help-panel{width:100%;margin-bottom:16px;padding:18px;border-color:#ffffff26;border-radius:12px;box-shadow:none;animation:none}
 .jobs-page .jobs-help-panel h3{font-size:18px;margin-bottom:14px}
 .jobs-page .jobs-help-wrap{gap:8px}
 .jobs-page .jobs-help-toggle{width:36px;height:36px;min-height:36px;border-color:#ffffff30;background:transparent;font-size:16px}
 .jobs-page .jobs-help-toggle::after{display:none}
 .jobs-page .smena-back-top{left:12px;top:max(12px,env(safe-area-inset-top));width:44px;height:44px}
 /* Booking: one task per step, controls and progress within easy reach. */
 .mobile-order>header{padding:12px 18px;background:#0b1723cc;gap:12px}
 .mobile-order>header img{height:36px;width:140px;object-fit:contain}
 .mobile-order>header>a:last-child{font-size:13px;min-height:44px;display:flex;align-items:center}
 .mobile-order .notice{font-size:12px;line-height:1.5;padding:8px 18px;background:#172632;color:#e8ce87}
 .mobile-order>main{padding:24px 16px 40px}
 .mobile-order>main>.back,.mobile-order>main>.eyebrow{display:none}
 .mobile-order h1{font-size:29px;line-height:1.12;margin:0 0 10px}
 .mobile-order .lead{font-size:15px;line-height:1.5;margin:0;color:#bac8d1}
 .mobile-order .workspace{display:block;margin-top:24px}
 .mobile-order .surface{padding:20px 16px;border:1px solid #ffffff15;border-radius:14px;background:#112331f2}
 .mobile-order .progress{margin-bottom:22px;height:3px}
 .mobile-order .steps{font-size:12px;margin-bottom:8px}
 .mobile-order #form h2{font-size:25px;line-height:1.2;margin-bottom:12px}
 .mobile-order .input-grid{gap:8px;margin:18px 0}
 .mobile-order .choice{border-color:#ffffff20;border-radius:8px;padding:12px;min-height:50px;font-size:15px}
 .mobile-order .choice:has(input:checked){border-color:#e8b74d;background:#e8b74d12}
 .mobile-order label:not(.choice){font-size:14px;line-height:1.5;margin-top:20px}
 .mobile-order :is(input:not([type=radio]):not([type=checkbox]),select,textarea){border-radius:8px;border-color:#6f829066;min-height:48px;padding:12px}
 .mobile-order .quick-grid{gap:8px}
 .mobile-order .quick-grid:not(.date-grid){display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 .mobile-order .quick-grid button{min-width:0;min-height:46px;padding:10px 4px;font-size:14px;border-radius:8px;border-color:#ffffff26}
 .mobile-order .date-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
 .mobile-order .date-grid button{font-size:11px;padding:8px 2px;min-height:52px}
 .mobile-order .buttons{gap:10px;margin-top:24px}
 .mobile-order .buttons button{min-height:48px;border-radius:8px;font-size:15px;padding:12px;flex:1}
 .mobile-order #error:empty{display:none}
 .mobile-order .sidebar{font-size:13px;line-height:1.6;margin:24px 4px 0;color:#adbec9}
 .mobile-order .sidebar p{margin:8px 0}
 .mobile-order .sidebar strong{font-size:14px;font-weight:500}
 .mobile-order #calendar{padding:10px;margin-top:20px;border-radius:12px;box-shadow:none}
 .mobile-order #calendar .calendar-grid button,.mobile-order #calendar .calendar-grid span{min-height:42px;font-size:14px}
 .mobile-order #calendar .calendar-grid span{font-size:11px}
 .mobile-order .order-photos-heading{align-items:flex-start;flex-wrap:wrap;gap:6px}
 .mobile-order .order-photos-heading h3{font-size:19px}
 .mobile-order .order-photos .filepond--drop-label{font-size:14px}
 /* Project card: aligned service rows, two compact store cards. */
 .links-static-icons .top{padding:10px 18px}
 .links-static-icons main{max-width:520px;padding:0 18px;margin:12px auto 40px}
 .links-static-icons .identity img{width:215px;height:auto;margin:0 0 22px}
 .links-static-icons h1{font-size:30px;line-height:1.15;margin-bottom:24px}
 .links-static-icons .group-title{font-size:12px;letter-spacing:0;margin:24px 0 10px;color:#b6c4cf}
 .links-static-icons .links{gap:10px}
 .links-static-icons .link{min-height:76px;padding:14px 12px;gap:12px;flex-wrap:nowrap;border-color:#ffffff19;border-radius:12px;background:#122330ed;backdrop-filter:none;box-shadow:none}
 .links-static-icons .link.primary{background:#e8b74d;color:#101820;border-color:transparent}
 .links-static-icons .service-icon{width:38px;height:38px;border-radius:10px;box-shadow:none;flex-shrink:0}
 .links-static-icons .link .label{flex:1;flex-basis:auto;min-width:0}
 .links-static-icons .label strong{font-size:15px;line-height:1.3}
 .links-static-icons .label small{font-size:12px;line-height:1.4;margin-top:4px}
 .links-static-icons .status{font-size:10px;border:0;padding:0;max-width:54px;white-space:normal;text-align:right;line-height:1.4}
 .links-static-icons .app-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .links-static-icons .app-links .link{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;height:76px;min-height:76px;padding:10px}
 .links-static-icons .app-links .service-icon{width:28px;height:32px;border:0;background:transparent}
 .links-static-icons .app-links .service-icon svg{width:24px;height:24px}
 .links-static-icons .app-links .label strong{font-size:12px;white-space:normal}
 .links-static-icons .app-links .label small{font-size:11px;padding:0;white-space:normal;line-height:1.3}
 .links-static-icons .app-links .status{position:static;grid-column:2;font-size:10px;text-align:left;max-width:none;line-height:1;margin-top:-8px}
 .links-static-icons .share{margin-top:24px}
 .links-static-icons #share{width:100%;justify-content:center;min-height:48px;border-color:#ffffff30;font-size:14px}
 .links-static-icons footer{font-size:11px;margin-top:24px}
 /* Floating tools retain a touch target and stop competing with the page. */
 :is(.jobs-page,.home-dispatcher) .dispatcher-open{width:48px;height:48px;min-width:48px;min-height:48px;right:10px;bottom:calc(12px + env(safe-area-inset-bottom));padding:5px;background:#0d1d2ce8;border:1px solid #e8b74d55;border-radius:50%;filter:none;box-shadow:0 4px 14px #0005}
 :is(.jobs-page,.home-dispatcher) .dispatcher-open .dispatcher-dialog-icon{width:32px;height:32px}
 .dispatcher-panel{right:12px;left:12px;bottom:calc(72px + env(safe-area-inset-bottom));width:auto;max-height:calc(100dvh - 100px);border-radius:14px}
 .dispatcher-heading{padding:14px 16px}
 .dispatcher-heading h2{font-size:20px}
 .dispatcher-body{padding:16px}
 .smena-back-top-label{display:none}
}
@media(max-width:350px){
 .jobs-page .sample-card{padding:16px 13px}
 .jobs-page .sample-top{gap:8px}
 .jobs-page .sample-meta .sample-pay strong{font-size:17px}
 .home-dispatcher>header{padding-left:14px;padding-right:14px}
 .home-dispatcher .home-search input{font-size:14px!important}
 .home-dispatcher .home-search button{min-width:54px;font-size:13px}
 .links-static-icons main{padding:0 14px}
}

@media(max-width:760px) and (max-height:700px){
 .home-dispatcher #top>.scene:first-child{min-height:max(570px,100svh);padding-top:156px;padding-bottom:68px}
 .home-dispatcher .scene:first-child h1{font-size:31px}
 .home-dispatcher .scene:first-child .actions{margin-top:18px}
 .home-dispatcher .scene:first-child p{font-size:15px}
}
@media(max-width:760px){
 .mobile-order #form:not(:has(input[name="category"][value="14"]:checked)) label[for="custom-work"],
 .mobile-order #form:not(:has(input[name="category"][value="14"]:checked)) #custom-work{display:none}
}

@media(max-width:760px){
 .mobile-order #calendar .calendar-head{font-size:14px;gap:6px}
 .mobile-order .order-photos p{font-size:12px;line-height:1.55;margin:8px 0}
 .mobile-order .order-photos .filepond--drop-label{min-height:96px}
 .mobile-order .order-photo-actions{gap:8px}
 .mobile-order .order-photo-actions button{font-size:13px;width:100%;min-height:44px}
 .mobile-order .order-photo-summary{padding:14px;border-radius:10px}
 .mobile-order .summary{font-size:14px;line-height:1.8}
 .mobile-order .status{font-size:13px;line-height:1.6;padding:10px 12px}
}
