:root{color-scheme:light;--bg:#f4f6f8;--panel:#fff;--ink:#172b3b;--muted:#526474;--accent:#125b88;--accent-hover:#0c476e;--line:#d5dde4;--field:#fff;--soft:#eef3f6;--danger:#a12b2b;--success:#236342}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 Arial,Helvetica,sans-serif;min-height:100vh;display:flex;flex-direction:column}body.dark{color-scheme:dark;--bg:#101820;--panel:#19252f;--ink:#e7edf2;--muted:#acbac7;--accent:#236e9e;--accent-hover:#195b89;--line:#394a58;--field:#16212a;--soft:#23333f;--danger:#ffacac;--success:#9fdbba}a{color:var(--accent);text-underline-offset:3px}body.dark a:not(.button){color:#9bc9ef}header{background:var(--panel);border-bottom:1px solid var(--line)}.header-inner,.footer-inner{width:min(100% - 40px,980px);margin:auto;display:flex;align-items:center;justify-content:space-between;gap:16px}.header-inner{min-height:88px}.logo{display:inline-flex;align-items:center;text-decoration:none}.logo img{display:block;width:178px;height:auto;max-width:100%;border-radius:3px}.region{color:var(--muted);font-size:14px}.region strong{color:var(--ink)}main{width:min(100% - 40px,980px);margin:32px auto;flex:1}.panel,dialog{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:28px;margin:0 0 20px}.page-heading{margin-bottom:20px}h1,h2,h3{line-height:1.25;margin:0 0 12px}h1{font-size:clamp(25px,4vw,32px);letter-spacing:-.5px}h2{font-size:21px}h3{font-size:17px}p{margin:0 0 14px}.muted,.hint{color:var(--muted);font-size:14px}.form-section{border:0;padding:0;margin:0 0 22px;min-width:0}.form-section legend{font-weight:bold;font-size:17px;padding:0;margin-bottom:12px;width:100%;border-bottom:1px solid var(--line);padding-bottom:8px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 20px}.wide{grid-column:1/-1}label{display:block;font-size:14px;font-weight:600}label input,label select,label textarea{margin-top:5px}input,select,textarea{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:5px;background:var(--field);color:var(--ink);font:inherit;font-weight:400;min-width:0}textarea{resize:vertical;min-height:86px}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #4693c6;outline-offset:2px}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--accent);color:white;border:1px solid transparent;border-radius:5px;padding:10px 16px;min-height:42px;font:600 14px/1.3 Arial,Helvetica,sans-serif;cursor:pointer;text-decoration:none}button:not(:disabled):hover,.button:hover{background:var(--accent-hover)}button:disabled,fieldset:disabled{cursor:not-allowed}button:disabled{opacity:.55}.secondary{background:var(--panel);color:var(--ink);border-color:var(--line)}button.secondary:not(:disabled):hover,.button.secondary:hover{background:var(--soft)}.check{display:flex;gap:10px;align-items:flex-start;font-weight:400;margin:12px 0}.check input{width:17px;height:17px;flex-shrink:0;margin:3px 0 0}.trap{position:absolute;left:-10000px;top:auto}.map-actions{display:flex;align-items:center;gap:14px;margin:10px 0 14px}.map-actions p{margin:0}#map{height:350px;border:1px solid var(--line);border-radius:6px;background:var(--soft)}.leaflet-container a{color:#145486}.coordinates{margin-top:12px}.coordinates summary{font-size:14px;color:var(--muted);cursor:pointer}.coordinates .fields{margin-top:10px}.notice,.error,.hint-box{padding:12px 14px;border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:4px;background:var(--soft);margin:0 0 16px}.error{border-left-color:var(--danger);color:var(--danger)}.notice{border-left-color:var(--success);color:var(--success)}.submit-row{border-top:1px solid var(--line);padding-top:12px;margin-top:18px}.submit-row button{min-width:210px}footer{margin-top:auto;border-top:1px solid var(--line);background:var(--panel);font-size:13px}.footer-inner{padding:18px 0 24px;flex-wrap:wrap}.footer-links{display:flex;gap:16px;align-items:center;flex-wrap:wrap}#theme{position:fixed;bottom:15px;right:15px;z-index:1100;min-width:42px;padding:9px;background:var(--panel);color:var(--ink);border:1px solid var(--line)}dialog{width:min(480px,calc(100% - 32px));margin:auto;max-height:90vh;overflow:auto}dialog::backdrop{background:#10203099;backdrop-filter:blur(4px)}dialog button{width:100%;margin-top:8px}.legal{max-width:820px}.legal h2{margin-top:25px}.legal .back{display:inline-block;margin-bottom:18px}.login-panel{max-width:440px;margin:20px auto}.login-panel label{margin-bottom:14px}.admin-toolbar,.filter-row,.status-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.admin-toolbar{margin-bottom:18px}.filter-row>*{flex:1;min-width:120px}.filter-row button{flex:0}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}.stat{padding:12px;border:1px solid var(--line);border-radius:5px}.stat strong{font-size:23px;display:block}.stat span{font-size:13px;color:var(--muted)}details.order summary{cursor:pointer;font-weight:600}details.order[open] summary{margin-bottom:18px}.order-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:15px}.order-info dt{font-size:13px;color:var(--muted)}.order-info dd{margin:0;overflow-wrap:anywhere}.status-form select{width:auto;min-width:150px}.status-form{margin:15px 0}.tag{font-size:12px;border:1px solid var(--line);border-radius:4px;padding:3px 6px;color:var(--muted);white-space:nowrap}body.dark .logo img{background:#fff} @media(max-width:600px){.header-inner,.footer-inner,main{width:calc(100% - 24px)}.header-inner{min-height:72px}.logo img{width:135px}.region{font-size:12px}main{margin:18px auto}.panel,dialog{padding:18px}.fields,.order-info{grid-template-columns:1fr}#map{height:300px}.map-actions{align-items:flex-start;flex-direction:column;gap:8px}.submit-row button{width:100%}.footer-inner{padding-bottom:60px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* SnowGo 1.0.1 – mobile-first form and touch controls. */
[hidden]{display:none!important}
input,select,textarea{font-size:16px;line-height:1.4}
label{overflow-wrap:anywhere}
.check{min-height:44px;align-items:flex-start;padding:8px 0;margin:3px 0;gap:12px;line-height:1.5}
.check input{width:22px;height:22px;accent-color:var(--accent);margin-top:0}
.check span{min-width:0}
.map-toolbar{display:flex;align-items:center;gap:10px;margin:0 0 10px}
.map-toolbar .hint{margin:0}
#mapPan[aria-pressed=true]{background:var(--accent);color:white;border-color:var(--accent)}
#map{scroll-margin:16px}
#map .leaflet-control-zoom a{width:40px;height:40px;line-height:40px;font-size:23px}
#map .leaflet-control-attribution{font-size:10px;max-width:100%;white-space:normal}
#map.map-scrollable{touch-action:pan-y}
#map.map-scrollable .leaflet-marker-icon{touch-action:pan-y}
.submit-row button{min-height:48px}
@media (max-width:720px){
  html{scroll-padding-top:12px}
  body{min-height:100dvh;font-size:16px}
  .header-inner,.footer-inner,main{width:calc(100% - 24px)}
  .header-inner{min-height:72px;gap:8px}
  .logo img{width:126px}
  .region{font-size:12px;text-align:right;line-height:1.4;max-width:130px}
  main{margin:14px auto 22px}
  .panel,dialog{padding:16px;border-radius:6px;margin-bottom:12px}
  h1{font-size:25px;letter-spacing:-.3px;overflow-wrap:anywhere}
  h2{font-size:20px}
  .page-heading{margin-bottom:18px}
  .muted,.hint{font-size:14px;line-height:1.5}
  .fields,.order-info{grid-template-columns:minmax(0,1fr);gap:13px}
  label{font-size:15px}
  input:not([type=checkbox]),textarea,select{min-height:48px;padding:12px;font-size:16px;border-radius:5px}
  textarea{min-height:96px}
  .form-section{margin-bottom:24px}
  .form-section legend{font-size:17px;margin-bottom:14px}
  button,.button{min-height:48px;font-size:15px;padding:12px 14px}
  #map{height:clamp(240px,42vh,340px);width:100%}
  .map-toolbar{align-items:stretch;flex-direction:column;gap:5px}
  .map-actions{align-items:stretch;flex-direction:column;gap:8px;margin-top:12px}
  #gps,.submit-row button,.login-panel button{width:100%;min-width:0}
  .submit-row button{min-height:54px;margin-top:12px;font-size:16px}
  .coordinates summary{display:flex;align-items:center;min-height:44px;line-height:1.4}
  .coordinates summary::before{content:'▸';margin-right:8px}
  .coordinates[open] summary::before{content:'▾'}
  .notice,.error,.hint-box{padding:11px 12px;overflow-wrap:anywhere}
  .footer-inner{padding:14px 0 max(14px,env(safe-area-inset-bottom));gap:10px;align-items:center}
  .footer-links{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;width:100%}
  .footer-links>a:first-child{grid-column:1/-1;min-height:44px;display:flex;align-items:center}
  #theme{position:static;min-width:48px;min-height:48px;justify-self:end;margin-left:auto}
  dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:20px;overflow-y:auto}
  dialog button{min-height:52px}
  .legal h2{margin-top:24px}
  .legal .back{padding:8px 0;min-height:44px}
  .admin-toolbar,.filter-row,.status-form{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
  .filter-row>*,.status-form select{min-width:0;width:100%}
  .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .stat{min-width:0;overflow-wrap:anywhere}
  details.order summary{min-height:44px;overflow-wrap:anywhere}
}
@media(max-width:360px){.header-inner,.footer-inner,main{width:calc(100% - 16px)}.panel{padding:12px}.logo img{width:112px}h1{font-size:23px}.region{max-width:110px}}

/* SnowGo 1.0.2 – clear service information and larger location controls. */
.service-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:18px 20px;margin:0 0 26px;background:var(--soft);border:1px solid var(--line);border-radius:6px}
.service-info-row{display:flex;align-items:flex-start;gap:12px;min-width:0}
.service-info-row+ .service-info-row{border-left:1px solid var(--line);padding-left:18px}
.service-icon{width:24px;height:24px;flex:0 0 24px;color:var(--accent);margin-top:1px}
body.dark .service-icon{color:#9bc9ef}
.service-info h2{font-size:16px;line-height:1.4;margin:0 0 5px}
.service-info p{font-size:14px;line-height:1.55;color:var(--muted);margin:0}
#gps{gap:10px;font-size:16px;min-height:54px;padding:14px 22px;flex-shrink:0}
#gps svg{flex-shrink:0}
.map-actions{margin-top:14px;gap:18px}
.coordinates{margin-top:16px}
.coordinates summary{padding:7px 0}
@media(min-width:721px){#map{height:460px}#gps{min-width:224px;min-height:58px}.map-actions .hint{font-size:15px}}
@media(max-width:720px){.service-info{grid-template-columns:1fr;padding:14px;gap:14px;margin-bottom:22px}.service-info-row+ .service-info-row{border-left:0;border-top:1px solid var(--line);padding:14px 0 0}.map-actions{gap:8px}#gps{width:100%;min-height:54px}}


/* SnowGo 1.0.6 – płatna usługa i wybór zakresu prac. */
.service-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:10px}
.service-card{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid var(--line);border-radius:6px;background:var(--soft);font-weight:600;cursor:pointer}
.service-card input{width:20px;height:20px;margin:0 0 2px;accent-color:var(--accent)}
.service-card-title{display:block;font-size:16px;color:var(--ink)}
.service-card small{font-size:13px;color:var(--muted);font-weight:400;line-height:1.45}
.price-note{margin:8px 0 0;font-size:14px;color:var(--muted)}
@media(max-width:720px){.service-choice{grid-template-columns:1fr}.service-card{padding:12px}}

/* Cennik 1.0.7 */
.service-price{font-size:24px;color:var(--ink)}
.service-card:focus-within,.service-card:has(input:checked){border-color:var(--accent);outline:1px solid var(--accent)}

/* SnowGo 1.0.11 – kontakt w stopce. */
.footer-contact{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}
.footer-contact a{display:inline-block}

.single-service{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--line);border-radius:8px;padding:18px;background:var(--soft)}.single-service p{margin:5px 0 0;font-size:14px;color:var(--muted)}.single-service .service-price{white-space:nowrap;font-size:28px;color:var(--ink)}
