/* I PAINT CO. shared iOS gesture standard v2 (Oct 28 2026). Same bytes in Crew Log, My Project, Prospects.
   The viewport meta is NOT touched (no user-scalable=no, no maximum-scale): iOS accessibility Zoom and text size always work.
   1) App UI: touch-action manipulation (pan + pinch allowed by the browser, no double-tap zoom, no 300ms delay).
      Pinch on the UI is stopped by ios-gesture.js everywhere except the viewers (photos, maps, plans, PDFs, documents, uploaded files).
   2) Fields: every text field, select and textarea at least 16px, so iOS never auto-zooms on focus.
   3) .ios-chips: one-row pill scroller, sideways only, momentum, contained, hidden bar, edge fade until the end. */
html,body{touch-action:manipulation}
input:not([type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset],[type=image],[type=hidden]),
select,textarea{font-size:max(16px,1em)!important}
.ios-chips{display:flex!important;flex-wrap:nowrap!important;gap:6px;overflow-x:auto!important;overflow-y:hidden;touch-action:pan-x;overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;scrollbar-width:none;
  -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent)}
.ios-chips::-webkit-scrollbar{display:none}
.ios-chips>*{flex:0 0 auto!important;scroll-snap-align:start}
.ios-chips.at-end{-webkit-mask-image:none;mask-image:none}

/* v125.41.27b · Sketch v27 recheck */
/* 2 · a Save that is off is an outline only: #141412 at 40%, no fill (upright and sideways) */
html body .sheet .clrow [data-ok][disabled],html body .sheet .clrow [data-ok][disabled]:hover,html body .sheet .clrow [data-ok][aria-disabled="true"]{background:transparent !important;background-color:transparent !important;background-image:none !important;border:1.5px solid #141412 !important;color:#141412 !important;-webkit-text-fill-color:#141412 !important;opacity:.4 !important;box-shadow:none !important;filter:none !important}
/* 5 · Save / Cancel pinned to the bottom of the sheet, 44pt, every device, so the keyboard can't hide it */
/* v125.41.30 · Sketch v29: one pinned Save/Cancel bar for every sheet (claim, budget, add material…): bottom of the sheet, above the keyboard */
html body .sheet .row2:has(>[data-ok]),html body .sheet .row2.clrow,html body.kb-open .sheet .row2:has(>[data-ok]),html body.kb-on .sheet .row2:has(>[data-ok]){position:sticky !important;bottom:calc(-18px - var(--sab,0px)) !important;z-index:5;display:flex !important;gap:8px !important;margin:12px -18px calc(-18px - var(--sab,0px)) !important;padding:8px 16px calc(8px + var(--sab,0px)) !important;background:#fff !important;border-top:1px solid #E5E5E5 !important;box-shadow:none !important}
html body .sheet .row2:has(>[data-ok])>.btn{min-height:44px !important;height:44px !important;flex:1 1 0 !important;margin:0 !important}
/* a focused field scrolls to 16pt above the bar (scroll-padding = bar + 16) */
html body .sheet:has(.row2>[data-ok]){scroll-padding-bottom:calc(76px + var(--sab,0px));scroll-padding-top:8px}
/* very short screens while typing (iPhone sideways + keyboard): the sheet title folds away */
@media (max-height:320px){html body .sheet:focus-within>.lab.ink:first-child,html body .sheet:focus-within>.shbar+.lab.ink,html body .sheet:focus-within>h2:first-child{display:none !important}}
/* 4 · product names wrap to 2 lines (no …) */
html body #ptab-panel .r .f1.linkish,html body #ptab-panel .r .f1.linkish b{white-space:normal !important;text-overflow:clip !important;overflow:hidden}
html body #ptab-panel .r .f1.linkish b{display:-webkit-box !important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}
/* 4 · job skills: outlined chips */
html body .chips .chip.jsk,html body .chips .chip.on.jsk{background:#fff !important;color:#141412 !important;-webkit-text-fill-color:#141412 !important;border:1px solid #141412 !important;box-shadow:none !important}
/* 4 · iPhone: the page actions (⋯ Más) live in the tab strip's Más menu, not above the project name */
@media (max-width:699px){html body .pgacts>.navfold-b{display:none !important}html body .pgacts:has(>.navfold-b):not(:has(.ps-top)){display:none !important}body.navopen .pgacts:has(>.navfold-b):not(:has(.ps-top)){display:none !important}}
/* v125.41.31 · Sketch v30: floating labels on every sheet field: the name sits in the field's top border (11px), so a field never shows as an empty box */
html body .sheet .fill.col:has(>label.k+input,>label.k+select,>label.k+textarea,>label.k+.bx){position:relative;margin-top:10px}
html body .sheet .fill.col>label.k:has(+input,+select,+textarea,+.bx){position:absolute;top:-7px;left:10px;z-index:2;max-width:calc(100% - 20px);margin:0 !important;padding:0 4px;background:#fff;font:600 11px/14px var(--f,"Avenir Next",Avenir,sans-serif) !important;letter-spacing:.04em;color:#141412;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
html body .sheet .fill.col>label.k:has(+input,+select,+textarea,+.bx) .q{font-size:11px !important;font-weight:500;letter-spacing:0;text-transform:none}
html body .sheet .fill.col>label.k:has(+input,+select,+textarea,+.bx)+:is(input,select,textarea,.bx){margin-top:0 !important}
/* the Qué clear × in ink, not the system blue */
html body input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;width:18px;height:18px;cursor:pointer;background:center/18px 18px no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141412' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E")}
/* iPhone sideways project file: Edit project is an outlined 44pt button with a pencil; Directions stays beside it; Back lives in the nav bar */
html body.pjland .pgacts [data-act=go-projects],html body.pjland #mast [data-act=go-projects]{display:none !important}
html body.pjland [data-act=edit-project]{display:inline-flex !important;align-items:center;gap:8px;min-height:44px !important;height:44px;padding:0 16px !important;background:#fff !important;color:#141412 !important;border:1.5px solid #141412 !important;border-radius:22px;font:600 15px/1 var(--f,"Avenir Next",Avenir,sans-serif) !important;text-transform:none !important;letter-spacing:0 !important}
html body.pjland [data-act=edit-project] svg{width:18px;height:18px}
html body.pjland .dirb{min-height:44px;min-width:44px}
/* button-fit · every button label fits (Lawrence 11/2). No smaller type, no tighter letter-spacing, no ellipsis:
   labels get their natural width, and calendar chips wrap inside their box instead of being cut off. test/buttonfit_v125415.py */
html body .btn:has(>small){height:auto!important;max-height:none!important;white-space:normal}
html body .btn:has(>small) small{white-space:normal}
html body .seg:not(.ptabs) button{white-space:nowrap;flex:1 1 auto}
html body .rqhead .linkish{white-space:nowrap;flex:0 0 auto}
html body .track.tap button{white-space:nowrap;flex:1 1 auto}
html body .cal .cb{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;height:auto;line-height:1.2}
html body .wkstrip span,html body .pcal .d b{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
html body .wkstrip div{height:auto;overflow:visible}
html body .cal .busyb,html body .cal .busyb .bb{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
/* button-fit round 2 */
html body .cal .cb{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;height:auto!important;min-height:24px}
html body .pcal .d b,html body .wkstrip span{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;max-width:100%;min-width:0}
html body .cal .busyb,html body .cal .busyb .bb{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;max-width:100%}
html body .cal .d{overflow:visible}
@media (max-width:430px){html body .tabs .tl{font-size:9.5px!important}}
html body button.pill.nav.adjb{width:auto!important;max-width:none!important;flex:0 0 auto!important;padding-left:12px;padding-right:12px}
@media (max-height:500px) and (orientation:landscape){html body .jstrip button{font-size:14px}html body .banner.locban .linkish{font-size:inherit}}
html body .btn:has(>small){white-space:normal!important}
html body .rows button.r .f1 b,html body .rows button.r .f1 .m{white-space:normal!important;text-overflow:clip!important;overflow:visible!important}
/* button-fit round 3: chip rows grow with a wrapped label instead of clipping it */
html body .cal .wk{grid-template-rows:var(--hh) repeat(var(--n,0),minmax(var(--lh),auto)) minmax(0,1fr)!important}
html body .pcal .d{grid-template-rows:auto auto auto 1fr!important;height:auto!important}
html body .pcal .d>b{height:auto!important;line-height:1.2!important}
@media (max-height:500px) and (orientation:landscape){html body .screen.on .banner.locban.locban,html body .screen.on .banner.locban.locban *{font-size:17px!important}}
html body .cal .cb{padding-top:3px!important;padding-bottom:3px!important;line-height:1.25!important}
@media (max-width:600px){html body .cal .d .busyb .bb{font-size:10.5px!important}}
/* button-fit v125.41.32 · Client tab "Test-render all with this job's data" gets its natural width (was 280px, label ran past it) */
html body #selftest{width:auto!important;max-width:100%!important;min-width:0!important;flex:0 0 auto!important;white-space:nowrap!important;padding-left:16px;padding-right:16px}
/* v125.41.33 · Sketch review of .33 */
/* 1 · Client tab invite: iPhone portrait stacks Nombre and Correo full width, Invitar below (placeholder no longer cut off) */
@media (max-width:600px){html body .ci-inv{grid-template-columns:minmax(0,1fr)!important}html body .ci-inv>input{width:100%;min-width:0;box-sizing:border-box}html body .ci-inv>#ci-go{justify-self:start;width:auto}}
/* 2 · check-in camera: a true 48x48 black circle; Later / Luego is an outlined pill */
html body #ci-box .ci-cam{flex:0 0 48px!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;max-width:48px!important;max-height:48px!important;padding:0!important;border-radius:50%!important;display:inline-flex!important;align-items:center;justify-content:center;background:#000!important;color:#fff!important;border:0!important}
html body #ci-box .ci-cam svg{width:24px;height:24px}
html body #ci-box .ci-later{background:#fff!important;color:#000!important;-webkit-text-fill-color:#000;border:1.5px solid #000!important;border-radius:22px!important;min-height:44px;padding:0 16px!important;display:inline-flex;align-items:center;flex:0 0 auto;box-shadow:none!important}
/* 3 · Edit times: Save / Cancel bar pinned inside the sheet, 16px padding; date-times shown as 'lun 2 de nov · 2:30 p.m.' */
html body .sheet.etsh>.row2:has(>[data-ok]){margin:0!important;padding:16px 16px calc(16px + var(--sab,0px))!important;gap:12px;box-sizing:border-box;width:100%}
html body.kb-on .sheet.etsh>.row2:has(>[data-ok]){padding-bottom:16px!important}
html body .etsheet .fill.col{position:relative}
html body .etsheet input.etdt{color:transparent!important;-webkit-text-fill-color:transparent}
html body .etsheet input.etdt::-webkit-datetime-edit{opacity:0}
html body .etsheet .etdv{position:absolute;left:14px;right:40px;bottom:0;height:var(--etdh,100%);top:0;display:flex;align-items:center;pointer-events:none;font:500 17px/1.2 var(--f);color:#141412;white-space:nowrap;overflow:visible}
/* 4 · break rows: floating labels on Tipo (Comida), Inicio and Fin; Quitar centered on the field row */
html body .etb{align-items:center!important;padding-top:14px!important}
html body .etb .etl2{position:relative;display:block!important}
html body .etb .etl2>span{position:absolute;top:-7px;left:10px;z-index:2;padding:0 4px;background:#fff;font:600 11px/14px var(--f)!important;letter-spacing:.04em;color:#141412;white-space:nowrap;pointer-events:none}
html body .etb .etl2>.bx{margin:0!important}
html body .etb .etx{align-self:center!important;margin-top:auto!important;margin-bottom:auto!important;min-height:44px}
html body .etb>.etl2{align-self:center!important}
html body .sheet.etsh>.etsheet>.lab.ink:first-child{z-index:5!important}
/* 6b (r3) · iPhone sideways + keyboard open, Edit times: the pinned Save/Cancel bar keeps its 16px padding; room comes from hiding the app's top bars (test-mode bar, update bar), letting the title scroll away and seating the sheet flush at the top of the visible area */
@media (orientation:landscape) and (max-height:500px){html body.kb-on:has(.sheet.etsh) .tm-bar,html body.kb-on:has(.sheet.etsh) .cl-upd{display:none!important}html body.kb-on .sheet-bg:has(>.sheet.etsh){align-items:flex-start!important}html body.kb-on .sheet.etsh{max-height:var(--vvh,100dvh)!important;margin-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}html body.kb-on .sheet.etsh>.etsheet>.lab.ink:first-child{position:static!important}html body.kb-on .sheet.etsh>.row2:has(>[data-ok]){padding:16px!important}html body.kb-on .sheet.etsh,html body.kb-on .sheet.etsh>.etsheet{scroll-padding-top:8px;scroll-padding-bottom:92px}html body.kb-on .sheet.etsh input,html body.kb-on .sheet.etsh select{scroll-margin-bottom:12px}html body.kb-on .sheet-bg:has(>.sheet.etsh){top:0!important;height:calc(var(--vvt,0px) + var(--vvh,100dvh))!important}}
/* 6b · small iPhone sideways (375 tall) + keyboard: the sheet's own header strip (title + close) also steps aside; Cancel in the pinned bar closes */
@media (orientation:landscape) and (max-height:380px){html body.kb-on .sheet.etsh>.shbar{display:none!important}}
/* r3 · single thin focus ring on the fields this build touches: no browser auto ring / extra 2px outline on top of the field border */
html body .ci-inv>input:focus,html body .etsheet input:focus,html body .etsheet select:focus{outline:none!important;box-shadow:none!important}
html body .etsheet input:focus,html body .etsheet select:focus{border:1px solid #141412!important}
/* r4 · project tab strip on phones (<700px): app.css pills rule pinned the shrink-to-fit strip box at margin 0 (left-aligned); center the box so space left = right */
@media (max-width:699px){html body #pjstick .seg.ptabs.pills,html body #pjstick .seg.ptabs.pills:has(>:nth-child(9)){margin-left:auto!important;margin-right:auto!important}}
