/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(images/layers.png);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(images/layers-2x.png);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(images/marker-icon.png);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}

/* WaterbergNET website */
[hidden] { display: none !important; }
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2-variations"), url("/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --blue: #0b4ea2;
  --blue-deep: #083b7c;
  --blue-soft: #e8f0fa;
  --ink: #13243a;
  --ink-2: #1c3352;
  --grey: #5d636b;
  --grey-2: #8a9099;
  --mist: #f2f5f9;
  --line: #dbe2eb;
  --paper: #ffffff;
  --sun: #f2b33d;
  --good: #1d7f47;
  --good-soft: #e6f4ec;
  --bad: #c0282d;
  --bad-soft: #fcebec;
  --radius-s: 8px;
  --radius: 14px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-stretch: 102%; letter-spacing: -0.015em; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 740; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 720; }
h3 { font-size: 1.2rem; font-weight: 680; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lede { font-size: 1.1875rem; color: var(--grey); max-width: 38em; }
.muted { color: var(--grey); }
.small { font-size: .9375rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-s); z-index: 100; }
.skip:focus { top: 12px; color: #fff; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px; border-radius: 6px; border: 1.5px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--blue-soft); color: var(--ink); }
.btn-outline, .btn-ghost { border-color: var(--line); color: var(--blue); background: #fff; }
.btn-outline:hover, .btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- top bar + header */
.topbar { background: var(--ink); color: rgba(255,255,255,.8); font-size: .9rem; }
.topbar .wrap { display: flex; align-items: center; gap: 22px; min-height: 40px; }
.topbar a { color: rgba(255,255,255,.88); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; }
.topbar-note { margin-right: auto; }
.topbar-login { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.2); }
@media (max-width: 760px) { .topbar-note, .topbar-login { display: none !important; } .topbar .wrap { justify-content: space-between; gap: 12px; } }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.brand { display: block; flex: none; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 580; font-size: .98rem; padding: 10px 12px; border-radius: 6px; }
.nav a:hover { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.nav .nav-login { display: none; }
.nav .btn { margin-left: 12px; min-height: 44px; padding: 0 18px; color: #fff; }
.nav .btn:hover { color: #fff; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
         background: #fff; border-bottom: 1px solid var(--line); padding: 4px var(--gutter) 18px; box-shadow: 0 18px 30px -18px rgba(19,36,58,.35); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 2px; border-radius: 0; border-bottom: 1px solid var(--mist); font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .nav-login { display: block; }
  .nav .btn { margin: 14px 0 0; border-bottom: 0; }
  .site-header .wrap { min-height: 68px; }
  .brand img { height: 40px; }
}

/* ---------------------------------------------------------------- hero */
.hero { --hero-img: url("/img/waterberg.jpg"); position: relative; color: #fff; background: var(--ink) var(--hero-img) center 60% / cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10,24,44,.85) 0%, rgba(10,24,44,.6) 50%, rgba(10,24,44,.3) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: center; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero-kicker { font-weight: 600; color: var(--sun); margin-bottom: 14px; }
.hero h1 { max-width: 12em; }
.hero .lede { color: rgba(255,255,255,.88); margin-top: 20px; max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.quick-card { background: #fff; color: var(--ink); border-radius: 10px; padding: 26px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.55); }
.quick-card h2 { font-size: 1.45rem; }
.quick-card > p { color: var(--grey); margin: 6px 0 18px; font-size: .97rem; }
.form-tight { gap: 14px; }
.form-tight .input { min-height: 46px; padding: 10px 12px; }
.form-tight .field label { font-size: .92rem; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero::before { background: linear-gradient(180deg, rgba(10,24,44,.6) 0%, rgba(10,24,44,.85) 60%); }
}
@media (max-width: 560px) { .hero-actions .btn { flex: 1 1 100%; } .quick-card { padding: 20px; } }

/* facts row */
.glance { border-bottom: 1px solid var(--line); background: #fff; }
.glance-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.glance-row p { padding: 22px 22px 22px 0; color: var(--grey); font-size: .95rem; line-height: 1.4; }
.glance-row p + p { padding-left: 22px; border-left: 1px solid var(--line); }
.glance-row b { display: block; color: var(--ink); font-size: 1.2rem; font-weight: 700; margin-bottom: 2px; }
@media (max-width: 760px) {
  .glance-row { grid-template-columns: 1fr 1fr; }
  .glance-row p, .glance-row p + p { padding: 16px 12px 16px 0; border-left: 0; }
  .glance-row p:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .glance-row p:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section-mist { background: var(--mist); }
.head { max-width: 44em; margin-bottom: 40px; }
.head .lede { margin-top: 12px; }

/* ---------------------------------------------------------------- packages */
.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.plan-hot { border: 2px solid var(--blue); padding: 23px; }
.plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.plan-name { font-size: 1.3rem; }
.plan-for { color: var(--grey); font-size: .92rem; }
.plan-tag { background: var(--sun); color: var(--ink); font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 4px; }
.plan-speed { display: flex; align-items: flex-end; gap: 10px; margin: 18px 0 4px; color: var(--blue); }
.plan-speed b { font-size: 3.2rem; line-height: .9; font-weight: 760; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan-speed > span:last-child { font-weight: 650; font-size: 1.05rem; padding-bottom: 3px; }
.bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 34px; margin-right: 4px; padding-bottom: 3px; }
.bars i { width: 6px; border-radius: 2px; background: var(--line); }
.bars i:nth-child(1) { height: 25%; } .bars i:nth-child(2) { height: 40%; } .bars i:nth-child(3) { height: 55%; }
.bars i:nth-child(4) { height: 70%; } .bars i:nth-child(5) { height: 85%; } .bars i:nth-child(6) { height: 100%; }
.bars i.on { background: var(--blue); }
.plan-price { font-size: 1.5rem; font-weight: 720; font-variant-numeric: tabular-nums; padding-bottom: 16px; border-bottom: 1px solid var(--mist); }
.plan-price small { font-size: .9rem; font-weight: 500; color: var(--grey); }
.plan-list { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 8px; flex: 1; }
.plan-list li { position: relative; padding-left: 24px; color: var(--grey); font-size: .97rem; }
.plan-list li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 11px; height: 6px; border-left: 2px solid var(--good); border-bottom: 2px solid var(--good); transform: rotate(-45deg); }
.plans-note { margin-top: 28px; color: var(--grey); max-width: 52em; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.steps li { position: relative; padding-top: 22px; border-top: 3px solid var(--blue); }
.steps li:not(:first-child) { border-top-color: #9fb9de; }
.step-n { display: block; font-size: 2.4rem; font-weight: 760; color: var(--blue); line-height: 1; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--grey); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- who we connect */
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.who-item { padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.who-item + .who-item { border-left: 1px solid var(--line); }
.who-item p { color: var(--grey); flex: 1; }
.who-item a { font-weight: 600; }
.who-ic { color: var(--blue); margin-bottom: 8px; }
.who-ic svg { width: 34px; height: 34px; stroke-width: 1.5; }
@media (max-width: 960px) { .who { grid-template-columns: 1fr 1fr; } .who-item:nth-child(3) { border-left: 0; } .who-item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .who { grid-template-columns: 1fr; } .who-item + .who-item { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------------------------------------------------------------- extras */
.extras-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.extras-media { background: #fff; border-radius: 10px; aspect-ratio: 4 / 5; display: grid; place-items: center; border: 1px solid var(--line); }
.extras-media img { width: 78%; height: auto; }
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 32px; }
.extra { border-top: 1px solid #c9d4e3; padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.extra p { color: var(--grey); flex: 1; }
.extra a { font-weight: 600; }
@media (max-width: 960px) { .extras-grid { grid-template-columns: 1fr; } .extras-media { aspect-ratio: 16 / 7; } .extras-media img { width: auto; height: 86%; } }
@media (max-width: 700px) { .extras { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- why */
.why { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.why-photo { --hero-img: url("/img/waterberg.jpg"); align-self: stretch; min-height: 420px; border-radius: 10px; background: var(--ink) var(--hero-img) 65% center / cover no-repeat; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; color: var(--grey); }
.ticks li b { color: var(--ink); font-weight: 650; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%; background: var(--good-soft); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.15em + 6px); width: 8px; height: 4px; border-left: 2px solid var(--good); border-bottom: 2px solid var(--good); transform: rotate(-45deg); }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } .why-photo { min-height: 240px; } }

/* ---------------------------------------------------------------- network band */
.band { background: var(--ink); color: #fff; }
.band .lede { color: rgba(255,255,255,.78); }
.band-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 48px; align-items: center; }
.band-year { font-size: .95rem; color: var(--sun); font-weight: 650; margin-bottom: 14px; }
.band-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.band-points li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.16); }
.band-points li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.band-points svg { width: 22px; height: 22px; flex: none; color: var(--sun); margin-top: 2px; }
.band-points strong { display: block; font-weight: 650; }
.band-points span { color: rgba(255,255,255,.72); font-size: .95rem; }
@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- home FAQ, CTA, clients */
.faq-home { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.faq-home .lede { margin-top: 12px; }
.faq-all { margin-top: 24px; }
@media (max-width: 860px) { .faq-home { grid-template-columns: 1fr; } }
.cta { background: var(--blue); color: #fff; padding: clamp(44px, 6vw, 64px) 0; }
.cta-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.cta p { color: rgba(255,255,255,.85); margin-top: 8px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.clients { padding: clamp(44px, 6vw, 64px) 0; border-bottom: 1px solid var(--line); }
.clients-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; }
.clients h2 { font-size: 1.6rem; margin-bottom: 8px; }
.clients-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 8px; background: var(--ink); color: #fff; font-size: .78rem; line-height: 1.2; }
.store svg { width: 20px; height: 20px; }
.store b { display: block; font-size: .95rem; }
@media (max-width: 760px) { .clients-grid { grid-template-columns: 1fr; } }


/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); padding: 64px 0 34px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 44px; width: auto; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; font-stretch: 104%; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .9rem; color: rgba(255,255,255,.6); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- page header (inner pages) */
.page-head { background: var(--mist); border-bottom: 1px solid var(--line); padding: clamp(48px, 7vw, 84px) 0 clamp(36px, 5vw, 56px); }
.page-head .lede { margin-top: 16px; }

/* ---------------------------------------------------------------- FAQ */
.faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; }
.faq-aside { position: sticky; top: 100px; align-self: start; }
.faq-aside .box { padding: 26px; border-radius: var(--radius); background: var(--mist); }
.faq-aside .box p { margin: 8px 0 18px; color: var(--grey); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 650; font-size: 1.15rem; font-stretch: 104%; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq-list .answer { padding: 0 0 24px; color: var(--grey); max-width: 40em; }
.faq-list .answer p + p { margin-top: 10px; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-aside { position: static; order: 2; } }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label, .field .label { font-weight: 600; font-size: .97rem; display: flex; align-items: center; gap: 8px; }
.field .hint { color: var(--grey); font-size: .9rem; font-weight: 400; }
.input, select.input, textarea.input {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-size: 1rem;
}
textarea.input { min-height: 120px; resize: vertical; }
.input:hover { border-color: #c4cfdd; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,78,162,.14); }
.input[aria-invalid="true"] { border-color: var(--bad); }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .97rem; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 16px; border-radius: 10px; font-size: .97rem; display: flex; gap: 12px; align-items: flex-start; }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.notice-error { background: var(--bad-soft); color: #8f1d21; }
.notice-ok { background: var(--good-soft); color: #145c33; }
.notice-info { background: var(--blue-soft); color: var(--blue-deep); }
.notice[hidden] { display: none; }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-ways { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.contact-ways li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-ways li:first-child { border-top: 1px solid var(--line); }
.contact-ways .ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.contact-ways .ic svg { width: 22px; height: 22px; }
.contact-ways b { font-weight: 650; }
.contact-ways a { font-size: 1.1rem; font-weight: 600; text-decoration: none; }
.form-card { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.form-card h2 { font-size: 1.75rem; margin-bottom: 8px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- spinner */
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.footer-blurb { margin-top: 18px; max-width: 26em; }
.band-lede { margin-top: 18px; }
.faq-or { margin: 16px 0 0; }
.form-card .form { margin-top: 26px; }
.prose { max-width: 46em; } .prose h2 { font-size: 1.5rem; margin: 36px 0 10px; } .prose h2:first-child { margin-top: 0; } .prose h3 { font-size: 1.1rem; margin: 20px 0 6px; } .prose p { color: var(--grey); margin: 0 0 12px; }

/* ---------------------------------------------------------------- page not found */
.nf-code { font-size: clamp(3.5rem, 9vw, 6rem); font-weight: 800; line-height: 1; color: var(--blue); letter-spacing: -.03em; margin-bottom: 10px; }
.nf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.nf-title { font-size: 1.35rem; margin-bottom: 18px; }
.nf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.nf-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.nf-card:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(11,78,162,.10); transform: translateY(-1px); color: var(--ink); }
.nf-card > svg { flex: none; width: 26px; height: 26px; color: var(--blue); margin-top: 2px; }
.nf-card strong { display: block; font-size: 1.02rem; }
.nf-card small { display: block; color: var(--grey); font-size: .9rem; margin-top: 3px; }
@media (prefers-reduced-motion: reduce) { .nf-card { transition: none; } .nf-card:hover { transform: none; } }

/* ---------------------------------------------------------------- client login */
.auth-page { background: var(--paper); }
.auth { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 100vh; min-height: 100dvh; }
.auth-art { --hero-img: url("/img/waterberg.jpg"); position: relative; color: #fff; background: var(--ink) var(--hero-img) 30% center / cover no-repeat; display: flex; flex-direction: column; justify-content: space-between; padding: 40px clamp(28px, 4vw, 56px); isolation: isolate; }
.auth-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,24,44,.55) 0%, rgba(10,24,44,.35) 40%, rgba(10,24,44,.9) 100%); }
.auth-logo img { height: 46px; width: auto; }
.auth-art-title { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 720; font-stretch: 112%; line-height: 1.15; max-width: 14em; }
.auth-art ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; color: rgba(255,255,255,.88); }
.auth-art li { display: flex; gap: 12px; align-items: center; }
.auth-art li svg { width: 22px; height: 22px; color: var(--sun); flex: none; }
.auth-main { display: flex; flex-direction: column; padding: 28px clamp(20px, 5vw, 72px) 32px; }
.auth-top { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.auth-logo-dark { display: none; margin-right: auto; }
.auth-logo-dark img { height: 34px; width: auto; }
.auth-back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 560; color: var(--grey); }
.auth-back svg { width: 18px; height: 18px; }
.auth-card { width: 100%; max-width: 420px; margin: auto; padding: 40px 0; }
.auth-card h1 { font-size: clamp(2rem, 3.4vw, 2.6rem); margin-bottom: 10px; }
.auth-card .form { margin-top: 28px; }
.auth-card .notice-info { margin-top: 22px; }
.auth-help { margin-top: 22px; color: var(--grey); font-size: .95rem; }
.auth-foot { display: flex; gap: 10px; align-items: flex-start; max-width: 420px; margin: 0 auto; color: var(--grey); font-size: .85rem; }
.auth-foot svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.pw { position: relative; }
.pw .input { padding-right: 54px; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: none; color: var(--grey); border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.pw-toggle:hover { color: var(--ink); background: var(--mist); }
.pw-toggle svg { width: 22px; height: 22px; }
.check .hint { color: var(--grey); font-size: .88rem; }
@media (max-width: 880px) {
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .auth-logo-dark { display: block; }
  .auth-card { padding: 28px 0; margin: 24px auto auto; }
}

/* ---------------------------------------------------------------- client area */
.portal-page { background: var(--mist); }
.portal-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.portal-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.portal-header .brand img { height: 36px; }
.portal-who { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.portal-name { font-weight: 600; color: var(--grey); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.portal { padding: clamp(28px, 5vw, 56px) 0 80px; min-height: calc(100vh - 68px); }
.portal-loading { display: flex; gap: 12px; align-items: center; color: var(--grey); padding: 40px 0; }
.portal-hello { margin-bottom: 28px; }
.portal-hello h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.portal-hello p { margin-top: 6px; }
.portal-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 30px); }
.panel h2 { font-size: 1.35rem; font-stretch: 108%; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.panel-foot { margin-top: 18px; }
@media (max-width: 900px) {
  .portal-grid { grid-template-columns: 1fr; }
  .portal-grid > :nth-child(2) { order: -1; }
  .portal-name { display: none; }
}

.pkg { margin-top: 18px; padding: 20px; border-radius: 14px; background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; }
.pkg-label { font-size: .9rem; color: rgba(255,255,255,.75); }
.pkg-name { font-size: 1.6rem; font-weight: 740; font-stretch: 112%; line-height: 1.15; margin-top: 2px; }
.pkg-status { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: .9rem; font-weight: 600; padding: 4px 11px 4px 9px; border-radius: 999px; background: rgba(255,255,255,.16); }
.pkg-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6ee7a0; }
.pkg-status.off::before { background: var(--sun); }
.pkg + .pkg { margin-top: 10px; background: var(--blue-soft); color: var(--ink); }
.pkg + .pkg .pkg-label { color: var(--grey); }
.pkg + .pkg .pkg-status { background: #fff; }
.facts { margin: 18px 0 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--mist); }
.facts dt { color: var(--grey); font-size: .95rem; }
.facts dd { margin: 0; font-weight: 560; overflow-wrap: anywhere; }
@media (max-width: 420px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }

.tickets { list-style: none; margin: 14px 0 0; padding: 0; }
.ticket-row { width: 100%; text-align: left; display: grid; grid-template-columns: 44px 1fr auto; gap: 4px 14px; align-items: center; padding: 16px 6px; background: none; border: 0; border-top: 1px solid var(--mist); font: inherit; color: inherit; cursor: pointer; border-radius: 10px; }
.ticket-row:hover { background: var(--mist); }
.ticket-row .ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.ticket-row .ic svg { width: 22px; height: 22px; }
.ticket-row strong { font-weight: 650; }
.ticket-row .sub { grid-column: 2; color: var(--grey); font-size: .93rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket-row .when { grid-row: 1; grid-column: 3; color: var(--grey-2); font-size: .85rem; }
.ticket-row .badge { grid-column: 3; justify-self: end; }
.badge { display: inline-block; font-size: .8rem; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep); white-space: nowrap; }
.badge.s-in_progress { background: #fff4dc; color: #7a5300; }
.badge.s-waiting { background: #fde9d9; color: #8a3d0b; }
.badge.s-resolved, .badge.s-closed { background: var(--good-soft); color: #145c33; }
.empty { text-align: center; padding: 34px 10px 14px; color: var(--grey); }
.empty svg { width: 40px; height: 40px; color: var(--blue); margin: 0 auto 12px; }
.empty strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }

/* ---------------------------------------------------------------- sheets (dialogs) */
.sheet { overflow: hidden; padding: 0; border: 0; border-radius: 22px; width: min(640px, calc(100vw - 32px)); max-height: min(880px, calc(100dvh - 40px)); background: #fff; color: var(--ink); box-shadow: 0 30px 80px -20px rgba(19,36,58,.45); }
.sheet::backdrop { background: rgba(19,36,58,.5); }
.sheet[open] { display: flex; }
.sheet-inner { display: flex; flex-direction: column; width: 100%; max-height: inherit; min-height: 0; }
.sheet-head { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-size: 1.3rem; font-stretch: 106%; }
.sheet-body { flex: 1; overflow-y: auto; padding: 20px; min-height: 0; overscroll-behavior: contain; }
@media (max-width: 640px) {
  .sheet { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; }
}
.icon-btn { width: 44px; height: 44px; flex: none; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: var(--mist); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.icon-btn-primary:hover { background: var(--blue-deep); }
.icon-btn[disabled] { opacity: .45; cursor: not-allowed; }

/* chat */
.msgs { display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; background: var(--mist); align-self: flex-start; overflow-wrap: anywhere; }
.msg.mine { align-self: flex-end; background: var(--blue); color: #fff; }
.msg .who { font-size: .8rem; font-weight: 650; opacity: .75; margin-bottom: 2px; }
.msg .t { font-size: .78rem; opacity: .65; margin-top: 4px; }
.msg img { border-radius: 10px; margin-top: 6px; max-height: 260px; width: auto; }
.msg p { white-space: pre-wrap; }
.ticket-summary { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 18px; font-size: .95rem; }
.ticket-summary p + p { margin-top: 6px; }
.ticket-summary .photos-row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.ticket-summary .photos-row img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.day { align-self: center; font-size: .8rem; color: var(--grey-2); margin: 6px 0; }
.composer { display: flex; align-items: flex-end; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); }
.composer-field { flex: 1; min-width: 0; }
.composer .input { min-height: 44px; max-height: 140px; padding: 10px 12px; resize: none; }
.composer-photo { position: relative; display: inline-block; margin-bottom: 8px; }
.composer-photo img { height: 64px; width: auto; border-radius: 10px; }
.composer-photo button, .photos .x { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center; }
.composer-photo button svg, .photos .x svg { width: 14px; height: 14px; }
.closed-note { padding: 14px 20px; border-top: 1px solid var(--line); color: var(--grey); font-size: .95rem; }

/* new report */
.report { display: grid; gap: 26px; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.step[hidden] { display: none; }
.step legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 1.1rem; font-stretch: 106%; }
.req { font-size: .75rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--bad-soft); color: var(--bad); display: inline-flex; align-items: center; gap: 4px; }
.req::after { content: "Required"; }
.req.done { background: var(--good-soft); color: var(--good); }
.req.done::after { content: "Done"; }
.req.done::before { content: ""; width: 10px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translate(1px, -1px); }
.req.optional { background: var(--mist); color: var(--grey); }
.req.optional::after { content: "Optional"; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.choice { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 600; text-align: left; cursor: pointer; min-height: 60px; }
.choice svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.choice:hover { border-color: #b9c6d8; }
.choice[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: .95rem; font-weight: 560; color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.label-sm { font-size: .93rem; font-weight: 600; color: var(--grey); margin-top: 4px; }
.tip { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; background: var(--mist); color: var(--grey); font-size: .95rem; margin-top: 4px; }
.tip svg { width: 22px; height: 22px; flex: none; color: var(--blue); }
.tip[hidden] { display: none; }
.photos { display: flex; gap: 10px; flex-wrap: wrap; }
.photos:empty { display: none; }
.photos > div { position: relative; }
.photos img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; }
.photo-add { justify-self: start; cursor: pointer; }
.report-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; position: sticky; bottom: -20px; background: #fff; padding: 14px 0 4px; border-top: 1px solid var(--line); }

/* connection check */
.check-box { border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.check-run { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.check-result { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.metric { padding: 12px; border-radius: 12px; background: var(--mist); }
.metric b { display: block; font-size: 1.6rem; font-weight: 760; font-stretch: 112%; font-variant-numeric: tabular-nums; line-height: 1.1; }
.metric span { font-size: .85rem; color: var(--grey); }
.check-progress { height: 8px; border-radius: 999px; background: var(--mist); overflow: hidden; margin-top: 14px; }
.check-progress i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 999px; transition: width .25s linear; }
.check-status { margin-top: 10px; font-size: .93rem; color: var(--grey); }
.check-done { display: flex; gap: 10px; align-items: center; margin-top: 12px; color: var(--good); font-weight: 600; font-size: .95rem; }
.check-done svg { width: 20px; height: 20px; }
@media (max-width: 420px) { .metric b { font-size: 1.3rem; } }
#where-note, #details { min-height: 84px; }

/* ---------------------------------------------------------------- staff support desk */
.portal-desk { padding: 20px 0 24px; }
.portal-desk .wrap { max-width: 1440px; }
.desk { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 16px; height: calc(100dvh - 68px - 44px); min-height: 520px; }
.desk-list, .desk-detail { background: #fff; border: 1px solid var(--line); border-radius: 14px; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.desk-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.desk-tabs button { border: 0; background: none; font: inherit; font-weight: 650; padding: 14px 10px; color: var(--grey); cursor: pointer; border-bottom: 3px solid transparent; display: inline-flex; justify-content: center; align-items: center; gap: 8px; }
.desk-tabs button[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.count:empty { display: none; }
.count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--bad); color: #fff; font-size: .78rem; display: inline-grid; place-items: center; }
.desk-tools { padding: 12px; display: grid; gap: 10px; border-bottom: 1px solid var(--line); }
.desk-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.desk-filters .chip { padding: 6px 12px; font-size: .88rem; }
.desk-search { min-height: 42px; padding: 8px 12px; }
.desk-items { list-style: none; margin: 0; padding: 6px; overflow-y: auto; flex: 1; }
.desk-row { width: 100%; text-align: left; display: flex; gap: 12px; padding: 12px 10px; border: 0; background: none; font: inherit; color: inherit; border-radius: 10px; cursor: pointer; }
.desk-row:hover { background: var(--mist); }
.desk-row.on { background: var(--blue-soft); }
.desk-row .ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.desk-row .ic svg { width: 20px; height: 20px; }
.desk-row .ic.s-open, .desk-row .ic.e-new { background: #fff1d6; color: #8a5a00; }
.desk-row-main { min-width: 0; flex: 1; display: grid; gap: 2px; }
.desk-row .top { display: flex; justify-content: space-between; gap: 8px; }
.desk-row .top strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.desk-row .when { color: var(--grey-2); font-size: .8rem; flex: none; }
.desk-row .sub { color: var(--grey); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--mist); color: var(--grey); }
.tag svg { width: 12px; height: 12px; }
.tag-me { background: var(--good-soft); color: #145c33; font-size: .85rem; padding: 6px 10px; }
.badge.e-new, .badge.s-open { background: #fff1d6; color: #8a5a00; }
.badge.e-contacted { background: var(--blue-soft); color: var(--blue-deep); }
.badge.e-scheduled { background: #efe7fd; color: #5b21b6; }
.badge.e-installed { background: var(--good-soft); color: #145c33; }
.badge.e-declined { background: var(--mist); color: var(--grey); }
.badge.g-Excellent, .badge.g-Good { background: var(--good-soft); color: #145c33; }
.badge.g-Fair { background: #fff1d6; color: #8a5a00; }
.badge.g-Poor, .badge.g-Noconnection { background: var(--bad-soft); color: #8f1d21; }
.desk-empty { text-align: center; color: var(--grey); padding: 40px 16px; font-size: .95rem; }
.desk-empty svg { width: 34px; height: 34px; color: var(--blue); margin: 0 auto 10px; display: block; }
.desk-empty strong { display: block; color: var(--ink); margin-bottom: 4px; }

.desk-blank { margin: auto; text-align: center; color: var(--grey); padding: 40px; }
.desk-blank svg { width: 44px; height: 44px; color: #b9c6d8; margin: 0 auto 12px; display: block; }
.dd-head { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.dd-back { display: none; }
.dd-title { min-width: 0; }
.dd-title h2 { font-size: 1.35rem; }
.dd-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: grid; gap: 14px; align-content: start; background: var(--mist); }
.dd-actions, .dd-quick { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dd-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; }
.dd-status select { min-height: 40px; padding: 6px 10px; width: auto; }
.dd-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.dd-card h3 { font-size: 1rem; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.dd-card .facts { margin-top: 6px; }
.dd-card .chips { margin-bottom: 12px; }
.dd-card textarea { min-height: 90px; }
.dd-save { display: flex; justify-content: flex-end; margin-top: 10px; }
.pre { white-space: pre-wrap; }
.dd-map { margin-top: 10px; }
.dd-map.farm-map { height: 280px; }
.dd-map-lg.farm-map { height: 380px; }
.dd-photos { display: flex; gap: 8px; flex-wrap: wrap; }
.dd-photos img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; }
.dd-metrics { margin: 6px 0 4px; }
.dd-chat .msgs { gap: 10px; }
.desk-detail .composer { background: #fff; }
.desk-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-size: .95rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; }
.desk-toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .portal-desk { padding: 0; }
  .portal-desk .wrap { padding: 0; }
  .desk { grid-template-columns: 1fr; height: calc(100dvh - 68px); gap: 0; }
  .desk-list, .desk-detail { border-radius: 0; border: 0; }
  .desk[data-view="list"] .desk-detail { display: none; }
  .desk[data-view="detail"] .desk-list { display: none; }
  .dd-back { display: grid; }
  .dd-head { padding: 12px 14px; }
  .dd-body { padding: 12px; }
  .dd-map-lg.farm-map { height: 300px; }
}
.desk-mode .portal-header .wrap { max-width: 1440px; }

/* ---------------------------------------------------------------- farm map */
.farm-map { position: relative; height: 380px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #2b3440; isolation: isolate; }
.fm-canvas { position: absolute; inset: 0; }
.fm-tools { position: absolute; top: 10px; right: 10px; z-index: 500; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.fm-seg { display: inline-flex; background: #fff; border-radius: 6px; padding: 3px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.fm-seg button { border: 0; background: none; font: inherit; font-size: .85rem; font-weight: 600; padding: 6px 10px; border-radius: 4px; color: var(--ink); cursor: pointer; }
.fm-seg button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.fm-toggle { display: inline-flex; align-items: center; gap: 7px; background: #fff; border-radius: 6px; padding: 6px 10px; font-size: .85rem; font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,.25); cursor: pointer; }
.fm-toggle input { width: 16px; height: 16px; margin: 0; accent-color: var(--blue); }
.fm-locate { position: absolute; left: 10px; bottom: 34px; z-index: 500; border: 0; background: #fff; color: var(--blue); font: inherit; font-size: .9rem; font-weight: 650; padding: 9px 12px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.25); cursor: pointer; }
.fm-hint, .fm-pin { position: absolute; left: 10px; right: 150px; top: 10px; z-index: 500; margin: 0; background: rgba(19,36,58,.88); color: #fff; font-size: .88rem; padding: 8px 11px; border-radius: 6px; pointer-events: none; }
.fm-marker span { position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #e5383b; border: 3px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.45); }
.fm-marker span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; }
.farm-map .leaflet-control-attribution { font-size: 10px; }
.farm-map .leaflet-control-zoom { margin-top: 64px; }
@media (max-width: 560px) { .farm-map { height: 360px; } .fm-hint, .fm-pin { right: 10px; } .fm-tools { top: 58px; } .farm-map .leaflet-control-zoom { margin-top: 58px; } .fm-locate { bottom: 30px; } }

.pin-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; border: 1.5px dashed #b9c6d8; border-radius: 6px; background: var(--mist); color: var(--blue); font: inherit; font-weight: 600; font-size: .95rem; text-align: left; cursor: pointer; }
.pin-btn svg { width: 20px; height: 20px; flex: none; }
.pin-btn:hover { border-color: var(--blue); }
.pin-btn.pinned { border-style: solid; border-color: var(--good); background: var(--good-soft); color: #145c33; }

.map-dialog { padding: 0; border: 0; border-radius: 12px; width: min(900px, calc(100vw - 32px)); background: #fff; box-shadow: 0 30px 80px -20px rgba(19,36,58,.5); overflow: hidden; }
.map-dialog::backdrop { background: rgba(19,36,58,.55); }
.map-dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.map-dialog-head h2 { font-size: 1.25rem; }
.map-dialog .farm-map { height: min(64vh, 560px); border-radius: 0; border: 0; }
.map-dialog-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); }
@media (max-width: 640px) {
  .map-dialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .map-dialog[open] { display: flex; }
  .map-dialog-inner { display: flex; flex-direction: column; width: 100%; }
  .map-dialog .farm-map { flex: 1; height: auto; }
}
.fm-readonly .fm-locate { display: none; }

/* ---------------------------------------------------------------- data use */
.usage-panel { margin-bottom: 24px; }
.u-mbar i { display: block; height: 100%; background: var(--good); border-radius: 6px; }
.u-month { margin-top: 6px; }
.u-totals { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.u-totals div { padding: 12px; border-radius: 10px; background: var(--mist); }
.u-totals span { display: block; color: var(--grey); font-size: .85rem; }
.u-totals b { font-size: 1.35rem; font-weight: 740; font-variant-numeric: tabular-nums; }
.u-chart { width: 100%; height: auto; display: block; }
.u-chart .u-track { fill: var(--mist); }
.u-chart .u-down { fill: var(--blue); }
.u-chart .u-up { fill: #8fb3e3; }
.u-chart text { font-size: 10px; fill: var(--grey); font-family: var(--font); }
.u-legend { display: flex; gap: 14px; align-items: center; font-size: .85rem; color: var(--grey); margin-top: 6px; }
.u-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; }
.u-legend .k-down { background: var(--blue); } .u-legend .k-up { background: #8fb3e3; }
.u-months { margin-top: 18px; }
.u-months h3 { font-size: 1rem; margin-bottom: 8px; }
.u-mrow { display: grid; grid-template-columns: 150px 1fr 80px; gap: 12px; align-items: center; padding: 6px 0; font-size: .95rem; }
.u-mrow b { text-align: right; font-variant-numeric: tabular-nums; }
.u-mbar { height: 8px; border-radius: 6px; background: var(--mist); overflow: hidden; }
.u-mbar i { background: var(--blue); }
@media (max-width: 560px) { .u-totals { grid-template-columns: 1fr 1fr; } .u-totals div:first-child { grid-column: 1 / -1; } .u-mrow { grid-template-columns: 110px 1fr 70px; } }
.w0 { width: 0%; }
.w5 { width: 5%; }
.w10 { width: 10%; }
.w15 { width: 15%; }
.w20 { width: 20%; }
.w25 { width: 25%; }
.w30 { width: 30%; }
.w35 { width: 35%; }
.w40 { width: 40%; }
.w45 { width: 45%; }
.w50 { width: 50%; }
.w55 { width: 55%; }
.w60 { width: 60%; }
.w65 { width: 65%; }
.w70 { width: 70%; }
.w75 { width: 75%; }
.w80 { width: 80%; }
.w85 { width: 85%; }
.w90 { width: 90%; }
.w95 { width: 95%; }
.w100 { width: 100%; }

/* ---------------------------------------------------------------- job cards and stock (support desk) */
.desk-tabs:has(button:nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
.desk-tabs:has(button:nth-child(4)) button { padding: 14px 4px; font-size: .92rem; gap: 5px; }
.desk-new { width: 100%; }
.desk-row .ic.j-open, .desk-row .ic.j-scheduled { background: #fff1d6; color: #8a5a00; }
.desk-row .ic.j-in_progress { background: var(--blue-soft); color: var(--blue); }
.desk-row .ic.j-done { background: var(--good-soft); color: var(--good); }
.desk-row .ic.j-cancelled { background: var(--mist); color: var(--grey); }
.desk-row .ic.s-low { background: var(--bad-soft); color: var(--bad); }
.badge.j-open, .badge.j-scheduled { background: #fff1d6; color: #8a5a00; }
.badge.j-in_progress { background: var(--blue-soft); color: var(--blue-deep); }
.badge.j-done { background: var(--good-soft); color: #145c33; }
.badge.j-cancelled { background: var(--mist); color: var(--grey); }
.badge.s-lowb { background: var(--bad-soft); color: #8f1d21; }
.desk-row .qty { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; }
.is-low { color: var(--bad); }
.tag-warn { background: #fff1d6; color: #8a5a00; }
.dd-status input[type=date] { min-height: 40px; padding: 6px 10px; width: auto; }
.j-add { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.j-form { margin-top: 14px; padding: 14px; border-radius: 10px; background: var(--mist); display: grid; gap: 12px; }
.j-form .dd-save { gap: 8px; margin-top: 0; }
.slip-btn { justify-self: start; cursor: pointer; }
.slip-prev { margin-top: 8px; max-height: 160px; width: auto; border-radius: 8px; border: 1px solid var(--line); }
.j-lines { width: 100%; border-collapse: collapse; font-size: .95rem; }
.j-lines th { text-align: left; font-size: .8rem; color: var(--grey); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.j-lines td { padding: 10px 8px; border-bottom: 1px solid var(--mist); vertical-align: top; }
.j-lines td:nth-child(2), .j-lines td:nth-child(3) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.j-lines td strong { display: block; }
.j-lines td .muted { display: block; }
.j-lines .icon-btn { width: 34px; height: 34px; }
.slip-link { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; font-weight: 600; margin-top: 4px; }
.slip-link svg { width: 14px; height: 14px; }
.s-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.s-head > div { display: grid; gap: 2px; }
.s-head b { font-size: 1.8rem; font-weight: 760; font-variant-numeric: tabular-nums; }
.s-head .btn { margin-left: auto; }
.s-adjust { display: grid; grid-template-columns: 140px 1fr auto; gap: 10px; }
.s-moves { list-style: none; margin: 0; padding: 0; }
.s-moves li { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--mist); }
.s-moves strong { display: block; font-weight: 600; }
.s-moves .muted { display: block; }
.s-moves .chg { font-weight: 760; font-variant-numeric: tabular-nums; }
.s-moves .chg.up { color: var(--good); } .s-moves .chg.down { color: var(--bad); }
.s-moves .after { color: var(--grey); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .s-adjust { grid-template-columns: 1fr; }
  .j-lines th:nth-child(3), .j-lines td:nth-child(3) { display: none; }
}

/* ---------------------------------------------------------------- phones */
.only-m { display: none !important; }
.mbar { display: none; }
.quick-sheet { display: none; }

@media (max-width: 960px) {
  .nav .nav-call { display: none !important; }
}

@media (max-width: 760px) {
  .only-m { display: revert !important; }
  .btn.only-m, .nav-call.only-m { display: inline-flex !important; }
  .hide-m { display: none !important; }
  body { font-size: 1rem; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  h1 { font-size: 2.15rem; line-height: 1.1; }
  h2 { font-size: 1.65rem; }
  h3 { font-size: 1.1rem; }
  .lede { font-size: 1.05rem; }
  .section { padding: 48px 0; }
  .head { margin-bottom: 24px; }
  .head .lede { margin-top: 8px; }

  /* top bar replaced by the bottom bar */
  .topbar { display: none; }
  .site-header .wrap { min-height: 62px; }
  .brand img { height: 36px; }
  .menu-toggle { width: 44px; height: 44px; border: 0; background: var(--mist); }

  /* full-height menu */
  .menu-open body { overflow: hidden; }
  .nav { position: fixed; top: var(--hdr, 62px); left: 0; right: 0; bottom: 0; height: auto; overflow-y: auto; overscroll-behavior: contain;
         padding: 8px var(--gutter) 28px; box-shadow: none; border-bottom: 0; border-top: 1px solid var(--line); z-index: 70; }
  .nav a { font-size: 1.2rem; font-weight: 620; padding: 16px 2px; }
  .nav .nav-login { color: var(--blue); }
  .nav .btn { min-height: 52px; font-size: 1.05rem; margin-top: 20px; }
  .nav .nav-call { display: flex !important; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 6px; margin-top: 10px; font-size: 1.05rem; color: var(--ink); min-height: 52px; }
  .nav .nav-call svg { width: 18px; height: 18px; }

  /* bottom action bar */
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
          padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
          box-shadow: 0 -8px 24px -12px rgba(19,36,58,.25); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 8px; font-weight: 680; text-decoration: none; }
  .mbar svg { width: 19px; height: 19px; }
  .mbar-call { color: var(--blue); border: 1.5px solid var(--line); background: #fff; }
  .mbar-go { color: #fff; background: var(--blue); }
  .menu-open .mbar { display: none; }

  /* hero: photo, headline, two buttons */
  .hero { background-position: 62% center; }
  .hero::before { background: linear-gradient(180deg, rgba(10,24,44,.35) 0%, rgba(10,24,44,.7) 45%, rgba(10,24,44,.92) 100%); }
  .hero-grid { display: block; padding-top: 120px; padding-bottom: 36px; }
  .hero .lede { margin-top: 14px; font-size: 1.02rem; }
  .hero-actions { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-actions .btn { min-height: 50px; padding: 0 12px; font-size: .97rem; }

  /* at a glance: one swipeable row */
  .glance-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; padding: 0; scrollbar-width: none; }
  .glance-row::-webkit-scrollbar { display: none; }
  .glance-row p, .glance-row p + p, .glance-row p:nth-child(even) { flex: 0 0 auto; min-width: 46%; scroll-snap-align: start; padding: 14px 16px; border: 0; border-right: 1px solid var(--line); font-size: .85rem; }
  .glance-row p:nth-child(-n+2) { border-bottom: 0; }
  .glance-row b { font-size: 1.02rem; }

  /* packages: swipe through cards */
  .swipe-hint { display: flex !important; align-items: center; gap: 6px; color: var(--grey); font-size: .9rem; margin: -8px 0 14px; }
  .swipe-hint svg { width: 16px; height: 16px; transform: scaleX(-1); }
  .plans { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px;
           scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 82%; scroll-snap-align: start; padding: 20px; }
  .plan-hot { padding: 19px; }
  .plan-speed b { font-size: 2.8rem; }
  .plan-dots { display: flex !important; justify-content: center; gap: 7px; margin-top: 14px; }
  .plan-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background-color .2s, width .2s; }
  .plan-dots i.on { width: 20px; border-radius: 4px; background: var(--blue); }
  .plans-note { margin-top: 18px; font-size: .93rem; }

  /* steps: compact timeline */
  .steps { gap: 0; }
  .steps li, .steps li:not(:first-child) { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 0 0 22px; border-top: 0; position: relative; }
  .steps li::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 4px; width: 2px; background: #c9d6ea; }
  .steps li:last-child::before { display: none; }
  .step-n { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 1.1rem; display: grid; place-items: center; margin: 0; }
  .steps h3 { margin: 8px 0 4px; }
  .steps p { font-size: .95rem; }

  /* who we connect: swipe */
  .who { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; border: 0; border-radius: 0; margin: 0 calc(var(--gutter) * -1);
         padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .who::-webkit-scrollbar { display: none; }
  .who-item, .who-item + .who-item, .who-item:nth-child(n+3) { flex: 0 0 76%; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 10px; padding: 20px; }

  /* extras */
  .extras-media { display: none; }
  .extras { margin-top: 18px; gap: 0; }
  .extra { padding: 16px 0; }

  /* why */
  .why { gap: 24px; }
  .why-photo { display: none; }
  .ticks { margin-top: 18px; gap: 12px; }
  .ticks li { font-size: .97rem; }

  /* network band */
  .band-grid { gap: 24px; }
  .band-points li { padding: 14px 0; }

  /* questions, call to action, clients */
  .faq-home { gap: 20px; }
  .faq-all { display: none; }
  .faq-list summary { font-size: 1.02rem; padding: 16px 36px 16px 0; }
  .cta { padding: 36px 0; }
  .cta-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .clients { padding: 36px 0; }
  .clients h2 { font-size: 1.35rem; }
  .clients-actions .btn { width: 100%; }
  .stores { width: 100%; }
  .store { flex: 1; justify-content: center; }

  /* footer */
  .site-footer { padding: 40px 0 24px; }
  .site-footer img { height: 38px; }
  .footer-grid { gap: 26px 20px; }
  .footer-base { margin-top: 28px; flex-direction: column; }

  /* inner pages */
  .page-head { padding: 32px 0 26px; }
  .page-head h1 { font-size: 2rem; }

  /* "Can we connect you?" as a bottom sheet */
  .quick-sheet { display: none; position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: 100%; max-height: 92dvh; padding: 0; border: 0;
                 border-radius: 18px 18px 0 0; background: #fff; overflow-y: auto; box-shadow: 0 -20px 50px -20px rgba(0,0,0,.4); }
  .quick-sheet[open] { display: block; animation: sheet-up .28s cubic-bezier(.2,.8,.2,1); }
  .quick-sheet::backdrop { background: rgba(19,36,58,.5); }
  .quick-sheet-bar { position: sticky; top: 0; display: flex; justify-content: center; padding: 10px 12px 0; background: #fff; z-index: 1; }
  .quick-sheet-bar::before { content: ""; width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin-top: 4px; }
  .quick-sheet-bar .icon-btn { position: absolute; right: 12px; top: 8px; width: 40px; height: 40px; }
  .quick-sheet-body { padding: 4px 18px calc(22px + env(safe-area-inset-bottom)); }
  .quick-sheet .quick-card { box-shadow: none; padding: 0; border-radius: 0; }
  .quick-sheet .quick-card h2 { font-size: 1.5rem; padding-right: 44px; }
  .quick-sheet .input { font-size: 16px; }
}
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
