/* ÖYS mobile workspace */
:root{--mobile-green:#123c35;--mobile-cream:#f6f7f2}
#toast:not(.show){visibility:hidden;opacity:0}.mobile-selection-tools{display:none}
@media(max-width:760px){.plan-day-number[data-extra]:after{content:attr(data-extra);font-size:8px;color:#487a43;background:#eef4e6;border-radius:4px;padding:2px}.plan-day-number[data-extra=""]:after{display:none}}
@media(max-width:760px){table.mobile-listings td>small.sub{display:block;margin-top:4px}.mobile-selection-tools{display:flex;gap:10px;margin:12px 0}.mobile-selection-tools .btn{flex:1}.drop-zone input[type=file]{padding:8px;width:100%;min-width:0;font-size:12px!important}.drop-zone input[type=file]::file-selector-button{background:#e5eddc;color:#204e38;border:0;padding:12px;border-radius:9px;margin-right:8px;font-weight:600}.plan-weekday{font-size:0!important}.plan-weekday:before{content:attr(data-short);font-size:10px}}
.install-preview{width:80px;height:80px;border-radius:21px;display:block;margin-bottom:20px}.install-steps{padding-left:22px;line-height:1.8}.install-steps li{padding:10px 0}.offline-page{margin:0;background:#f6f7f2;color:#123c35;font:16px/1.6 "Segoe UI",Arial,sans-serif;min-height:100dvh;display:grid;place-items:center;padding:25px}.offline-page main{max-width:360px}.offline-page img{border-radius:24px}.offline-page h1{font-size:32px;line-height:1.15}.offline-page p{color:#607668}.offline-page a{display:block;padding:14px;text-align:center;background:#123c35;color:white;text-decoration:none;border-radius:14px;margin:25px 0}.offline-page small{display:block;color:#7c8c81;font-size:12px}
.brand-original{display:block;width:150px;height:74px;object-fit:contain}.brand:has(.brand-original){padding-left:0;padding-right:0;gap:8px}.brand:has(.brand-original)>div{display:none}
.mobile-bottom,.mobile-header,.mobile-welcome{display:none}.install-card{padding:18px;background:#edf3e7;border:1px solid #dae6d0;border-radius:16px;margin-top:20px}.install-card p{line-height:1.7;color:#53685d}.install-card .btn{min-height:44px}.connection-banner{position:fixed;top:0;left:0;right:0;z-index:1000;text-align:center;background:#813d27;color:white;padding:10px 16px;font-size:13px}.connection-banner[hidden]{display:none}.more-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.more-grid button{background:#f2f5ee;border:1px solid #e2e9de;border-radius:16px;min-height:94px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px;padding:16px;font-weight:600}.more-grid svg{color:var(--green);width:24px;height:24px}.more-account{display:flex;align-items:center;gap:12px;padding:0 0 22px}.more-account small{display:block;margin-top:5px;color:var(--muted)}.mobile-logout{width:100%;margin-top:18px;color:#a44335}.pwa-update{position:fixed;bottom:22px;right:22px;z-index:30;background:#123c35;color:white;padding:14px;border-radius:16px;box-shadow:0 8px 32px #123c3533;max-width:330px}.pwa-update p{margin:0 0 10px;line-height:1.5}.pwa-update .btn{min-height:44px}.pwa-update[hidden]{display:none}
@media(max-width:760px){
 html{scroll-padding-top:90px}body{background:var(--mobile-cream);font-size:14px;-webkit-text-size-adjust:100%}body:has(dialog[open]){overflow:hidden}input,select,textarea{font-size:16px!important}button,.btn,.btn.small,.icon-btn{min-height:44px}.btn{border-radius:13px;padding:12px 16px;font-size:13px}.btn.small{font-size:12px}.icon-btn{width:44px;min-width:44px;border-radius:14px}button:active{transform:translateY(1px)}.text-link{font-size:12px;min-height:44px;display:inline-flex;align-items:center;white-space:normal}input[type=checkbox],input[type=radio]{width:21px;height:21px;accent-color:var(--green)}
 .sidebar{display:none}.topbar{position:sticky;top:0;z-index:14;background:#f6f7f2ee;backdrop-filter:blur(18px);height:calc(78px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 18px 0;border:0}.breadcrumb{display:none}.mobile-header{display:flex;align-items:center;gap:12px;order:-1;min-width:0}.mobile-header .mobile-logo{background:var(--mobile-green);border-radius:15px;width:76px;height:47px;padding:6px;display:grid;place-items:center}.mobile-logo img{width:100%;height:100%;object-fit:contain}.mobile-header strong{display:block;font-size:16px;letter-spacing:-.3px}.mobile-header small{display:block;font-size:10px;color:#758278;margin-top:4px}.top-actions{gap:8px}.top-actions>.avatar,.top-actions>.demo-badge{display:none}.top-actions .icon-btn{background:white;border-color:#e3e9df;border-radius:50%}
 .content{padding:12px 18px calc(112px + env(safe-area-inset-bottom));max-width:100%;overflow:clip}.page-head{margin:10px 0 20px}.page-head h1{font-size:28px;letter-spacing:-1.1px;line-height:1.2}.page-head .eyebrow{font-size:10px;letter-spacing:1.6px}.page-head .sub{font-size:12px;line-height:1.6;max-width:34ch}.page-head>.flex{flex-wrap:wrap}.mobile-bottom{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;z-index:20;bottom:0;left:0;right:0;background:#fffffff5;backdrop-filter:blur(20px);border-top:1px solid #dfe7dc;padding:8px 7px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -8px 32px #123c3506}.mobile-bottom button{min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#849087;font-size:10px;font-weight:600;position:relative;border-radius:15px}.mobile-bottom button svg{width:22px;height:22px}.mobile-bottom button.active{color:#164c3b;background:#edf3e6}.mobile-bottom .nav-badge{position:absolute;top:3px;left:calc(50% + 8px);border:2px solid white;background:#dcebaf;color:#254b34;border-radius:10px;padding:1px 5px;font-size:9px}
 .mobile-welcome{display:block;position:relative;border-radius:24px;background:linear-gradient(125deg,#123c35,#205846);color:white;padding:25px 23px;margin:6px 0 20px;overflow:hidden}.mobile-welcome:after{content:'';position:absolute;width:160px;height:160px;border:28px solid #ffffff06;border-radius:50%;right:-55px;top:-45px;pointer-events:none}.mobile-welcome small{color:#c1d6c8;font-size:12px}.mobile-welcome h2{font-size:26px;font-weight:600;letter-spacing:-.8px;line-height:1.25;margin:10px 0}.mobile-welcome p{color:#c9ddd0;line-height:1.6;font-size:12px;max-width:29ch;margin:0 0 20px}.mobile-welcome .btn{background:#deedb7;color:#163f31;border:0}.mobile-welcome+.page-head{display:none}
 .stats{gap:10px;margin-bottom:20px}.stat{border-radius:19px;padding:17px 15px;min-height:138px;box-shadow:0 3px 12px #133b2803}.stat-top{font-size:11px;gap:6px}.stat-icon{width:28px;height:28px;border-radius:9px}.stat b{font-size:31px;margin:12px 0 7px}.stat small{display:block;font-size:10px;line-height:1.5}.stat.highlight{background:white;color:var(--ink);border-color:var(--line)}.stat.highlight .stat-top,.stat.highlight small{color:var(--muted)}.stat.highlight .stat-icon{background:#edf4e5;color:#436f46}.panel{border-radius:20px}.panel-head{padding:19px 17px;flex-wrap:wrap}.panel-head h2{font-size:15px}.panel-body{padding:0 17px 18px}.dashboard-grid{gap:16px}.tabs{gap:20px;padding:0 17px}.tabs button{padding-bottom:12px;font-size:12px;min-height:44px}.table-footer{padding:12px 16px;gap:10px}.table-footer span{max-width:70%;line-height:1.5}
 table.mobile-listings{display:block;white-space:normal;background:transparent}table.mobile-listings thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}table.mobile-listings tbody{display:grid;gap:12px;padding:12px}table.mobile-listings tr{display:grid;grid-template-columns:1fr 1fr;background:white;border:1px solid #e1e8de;border-radius:17px;padding:14px;gap:12px;position:relative}table.mobile-listings td{padding:0;border:0;min-width:0;font-size:12px}table.mobile-listings td.cell-title{grid-column:1/-1;padding-right:25px}table.mobile-listings .listing-title{max-width:none;align-items:flex-start;gap:12px}table.mobile-listings .thumb{width:62px;height:70px;border-radius:12px}table.mobile-listings .listing-title>div{min-width:0}table.mobile-listings .listing-title button{font-size:14px;line-height:1.4;white-space:normal;max-width:none;overflow:visible;min-height:0}table.mobile-listings .listing-title small{font-size:10px;line-height:1.4;margin-top:4px;overflow-wrap:anywhere}table.mobile-listings td.cell-select{position:absolute;top:12px;right:9px;min-width:30px;min-height:44px}table.mobile-listings td.cell-arrow{display:none}table.mobile-listings td[data-label]:not(.cell-title):not(.cell-select):not(.cell-arrow):before{content:attr(data-label);display:block;color:#88928a;font-size:9px;letter-spacing:.7px;margin-bottom:6px}table.mobile-listings td .avatar{width:25px;height:25px;font-size:9px}table.mobile-listings td .flex{gap:6px}table.mobile-listings td>strong{font-size:15px}table.mobile-listings .tag{font-size:10px;padding:6px 8px}.listing-outcome{margin-top:6px}
 .filters,.filters.extra{gap:9px}.filters input,.filters select{min-width:0;width:100%;min-height:47px;border-radius:13px}.search-wrap{min-width:0}.search-wrap input{min-height:48px}.filters.extra{padding-top:8px}.bulkbar{border-radius:17px;gap:8px;padding:14px}.bulkbar .btn{flex:1}.board{display:flex;overflow-x:auto;gap:13px;scroll-snap-type:x mandatory;padding-bottom:16px}.board-column{flex:0 0 86%;min-width:0;scroll-snap-align:start;border-radius:20px;padding:15px}.board-column>h3{font-size:14px;margin-bottom:18px}.job-card{border-radius:16px;padding:18px;width:100%}.job-card strong{font-size:15px;line-height:1.5}.job-card p{font-size:12px}.job-card footer{flex-wrap:wrap;gap:8px}.customer-grid{gap:14px}.customer-card{padding:22px}.customer-summary{gap:8px}.customer-summary>div{border-radius:16px;padding:14px 10px}.customer-summary strong{font-size:25px}.settings-grid{gap:16px}.urgent-item{min-width:0}.urgent-item>div{min-width:0}.urgent-item small{overflow-wrap:anywhere}
 dialog,dialog.wide{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:0;overscroll-behavior:contain}dialog::backdrop{background:#102c29a6;backdrop-filter:blur(4px)}.dialog-header{position:sticky;top:0;z-index:5;background:#fff;padding:calc(16px + env(safe-area-inset-top)) 18px 16px;border-bottom:1px solid var(--line);align-items:center}.dialog-header h2{font-size:18px;line-height:1.4;overflow-wrap:anywhere}.dialog-header .eyebrow{font-size:9px}.dialog-body{padding:20px 18px 30px;overflow-wrap:anywhere}.dialog-footer{position:sticky;bottom:0;z-index:5;background:#fffffff5;backdrop-filter:blur(12px);padding:14px 18px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line);display:flex;gap:10px}.dialog-footer .btn{flex:1;min-height:49px;white-space:normal}.fields{grid-template-columns:1fr;gap:17px}.field.full{grid-column:auto}.field input,.field textarea,.field select{border-radius:13px;min-height:48px}.field textarea{min-height:110px}.field{font-size:13px}.form-section h3{font-size:14px}.check{min-height:44px;line-height:1.5}.drop-zone{padding:24px 12px;border-radius:17px}.file-preview{flex-wrap:wrap;gap:8px}.file-preview>span{max-width:65%;overflow-wrap:anywhere}.file-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.detail-meta{grid-template-columns:1fr 1fr;gap:14px}.detail-meta strong{font-size:13px;overflow-wrap:anywhere}.detail-price{font-size:29px}.job-detail{padding:16px;border-radius:17px}.job-detail .flex,.review-actions{flex-wrap:wrap}.job-detail .btn,.review-actions .btn{flex:1;white-space:normal;min-height:46px}.detail-grid{gap:22px}.delivery-review-card{padding:14px}.delivery-review-card>header{flex-wrap:wrap}.customer-picker{width:100%}.customer-results{max-height:65dvh}.customer-option{min-height:70px}.neighborhood-switch{gap:8px}.neighborhood-switch .btn{font-size:12px}.comparison-grid{grid-template-columns:1fr!important}
 .plan-calendar{min-width:0}.plan-calendar-scroll{overflow:visible}.plan-weekday{font-size:9px;padding:12px 1px;text-align:center;overflow:hidden}.plan-day{min-height:112px;padding:4px 3px;gap:3px}.plan-day-number{justify-content:center;font-size:12px;padding:0;min-height:44px}.plan-day-number small{display:none}.plan-day-empty{font-size:0;min-height:42px}.plan-day-empty:after{content:'+';font-size:17px;color:#bac9b2}.plan-day-entry{padding:0;border-left:0;background:transparent}.plan-calendar-images{display:block}.plan-calendar-images .plan-image-thumb:not(:first-child){display:none}.plan-calendar-images .plan-image-thumb img{height:43px}.plan-image-thumb{min-height:44px;border-radius:7px}.plan-image-thumb>span{display:none}.plan-entry-details{padding:2px 0;min-height:30px}.plan-day-entry strong{font-size:8px;text-align:center}.plan-day-entry small{display:none}.plan-day .plan-day-entry~.plan-day-entry{display:none}.plan-more{font-size:8px;min-height:24px}.plan-toolbar{gap:8px;justify-content:center}.plan-toolbar h2{min-width:105px;font-size:14px}.plan-toolbar input{width:145px}.plan-summary{gap:12px;padding:0 16px 16px}.plan-summary>.muted{width:100%;margin:0}.sharing-entry{padding:15px}.sharing-entry header{flex-wrap:wrap}.plan-attachments{grid-template-columns:1fr}.plan-preview-header,.image-review-header{padding:calc(12px + env(safe-area-inset-top)) 12px 12px;flex-wrap:wrap}.plan-preview-stage,.image-review-stage{min-height:60dvh}.plan-preview-stage>img,.image-review-stage img{max-height:65dvh;max-width:calc(100% - 92px)}.plan-preview-arrow,.review-nav{width:38px;min-width:38px;min-height:48px}.plan-preview-strip{justify-content:flex-start}.plan-image-preview,.image-review{background:#142b25}
 .login{min-height:100dvh;background:var(--mobile-cream)}.login-art{min-height:0;padding:calc(25px + env(safe-area-inset-top)) 26px 28px;background:linear-gradient(135deg,#123c35,#205746);border-radius:0 0 32px 32px}.login-art .brand{padding:0}.login-art .brand-original{width:165px;height:76px}.login-art h1{font-size:32px;margin-top:18px;line-height:1.08;letter-spacing:-1px}.login-art .eyebrow{display:none}.login-form{padding:28px 25px calc(35px + env(safe-area-inset-bottom))}.login-inner{width:100%;max-width:430px}.login-inner h2{font-size:25px}.login-form .btn{width:100%;min-height:48px}.login-form .field{margin-top:17px}.demo-box{border-radius:18px;padding:16px}.demo-box p{font-size:12px;line-height:1.6}.demo-box .btn{margin-top:9px}#toast{bottom:calc(91px + env(safe-area-inset-bottom));left:18px;right:18px;max-width:none;transform:translateY(15px);border-radius:14px;white-space:normal}#toast.show{transform:translateY(0)}.pwa-update{bottom:calc(92px + env(safe-area-inset-bottom));left:18px;right:18px;max-width:none}.connection-banner{padding-top:calc(10px + env(safe-area-inset-top))}body.is-offline .topbar{margin-top:40px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
