:root{--value-ui-control-min:38px;--value-ui-gap:8px;--value-ui-radius:8px}
.value-ui-location{display:flex;gap:var(--value-ui-gap);align-items:end;flex-wrap:wrap}.value-ui-location label{display:grid;gap:6px}.value-ui-location button,.value-ui-location input,.value-ui-location select{min-height:var(--value-ui-control-min);border-radius:var(--value-ui-radius)}.value-ui-location-status{font-size:.75rem;white-space:nowrap;color:inherit;opacity:.72}
.value-shell{max-width:1320px;margin:auto;padding:12px 22px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;border-bottom:1px solid #dce1d5;background:#f7f7f0;color:#213b2b;font:400 15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:normal}
.value-shell,.value-shell *{box-sizing:border-box}
.value-shell .value-brand{font-size:15px;line-height:1.5;display:flex;align-items:center;gap:8px;color:#213b2b;text-decoration:none;font-weight:750;white-space:nowrap}.value-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#213b2b;color:#dceba9;font:italic 25px Georgia}
.value-location-controls{min-width:0;margin:0;display:grid;grid-template-columns:minmax(100px,190px) 82px auto;gap:6px;align-items:center}.value-location-controls input,.value-location-controls select{min-height:38px;padding:6px 8px;border:1px solid #c8d2c3;border-radius:8px;background:white;color:inherit;font:inherit}.value-location-controls input{width:100%;min-width:0}
.value-shell .value-location-status{grid-column:1/-1;font:400 13px/1.4 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-wrap:anywhere}
.value-location-status:empty{display:none}.value-location-controls select{width:82px}.value-location-controls .value-near{font:inherit;min-height:38px;padding:6px 10px;border:1px solid #c8d2c3;border-radius:8px;background:white;color:inherit;white-space:nowrap}
.value-nav{display:flex;justify-content:flex-end;gap:14px;align-items:center;flex-wrap:wrap}.value-nav a{color:#213b2b;text-decoration:none;font-size:14px;line-height:1.5;font-weight:400;white-space:nowrap}.value-nav a[aria-current=page]{font-weight:800;text-decoration:underline;text-underline-offset:4px}
.app-title{font:normal clamp(26px,3vw,38px)/1.1 Georgia,serif;letter-spacing:-1px;margin:22px 0 14px}.compact-note{font-size:.8rem}.compact-note summary{cursor:pointer;font-weight:700}
.app-tools{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px}.app-tools label{display:flex;align-items:center;gap:6px}.app-tools select{min-height:36px}
.today-collapse{margin:14px 0 18px}.today-collapse>summary{cursor:pointer;font-weight:750;display:flex;justify-content:space-between;align-items:center;padding:10px 2px}.today-collapse .today-strip{padding:10px 0 12px}.today-collapse:not([open]) .today-strip{display:none}
@media(min-width:701px) and (max-width:1100px){.value-shell{grid-template-columns:auto minmax(0,1fr)}.value-nav{grid-column:1/-1;justify-content:flex-start}}
@media(max-width:700px){.value-shell{grid-template-columns:1fr;padding:10px max(18px,env(safe-area-inset-right)) 10px max(18px,env(safe-area-inset-left));gap:9px}.value-shell .value-brand{justify-self:start}.value-brand span:last-child{font-size:15px}.value-mark{width:29px;height:29px;font-size:23px}.value-location-controls{width:100%;grid-template-columns:minmax(0,1fr) 72px auto;justify-content:stretch}.value-location-controls input{min-width:0}.value-location-status{grid-column:1/-1;display:block;min-height:1em}.value-location-controls select{width:72px}.value-nav{width:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;border-top:1px solid #dce1d5;padding-top:8px}.value-nav a{text-align:center;font-size:12.5px;padding:6px 2px;min-width:0;white-space:normal}.app-title{margin:16px 0 10px}.app-tools{justify-content:space-between}}
.skip{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.skip:focus{position:fixed;z-index:1000;left:12px;top:12px;width:auto;height:auto;padding:8px 12px;background:#fff;color:#213b2b;border:2px solid #213b2b;border-radius:8px}

@media(max-width:700px){.value-nav{grid-template-columns:repeat(5,minmax(0,1fr));overflow-x:auto}}

/* 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;
		}
	}

.location-picker-summary{display:flex;gap:12px;align-items:center;margin:12px 0;flex-wrap:wrap}.location-picker{width:min(1100px,94vw);max-height:94vh;box-sizing:border-box;border:1px solid #dce1d5;border-radius:14px;padding:22px;background:#f7f7f0;color:#213b2b;font:16px system-ui}.location-picker::backdrop{background:#182d28a6}.location-picker h2{margin-top:0}.location-picker button,.location-picker input,.location-picker select{font:inherit;padding:9px;border:1px solid #bdc9ba;border-radius:6px}.location-picker button{cursor:pointer;background:#fff;color:#264b36}.location-picker button:focus-visible,.location-picker input:focus-visible{outline:3px solid #548a3c;outline-offset:2px}.location-picker-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:14px;margin-top:14px}.location-picker-map{height:420px;background:#e6ebe0;border-radius:8px}.location-picker-list{height:420px;overflow:auto}.location-picker-row{display:flex;gap:10px;padding:14px;background:white;border-bottom:1px solid #dce1d5;align-items:center;cursor:pointer}.location-picker-row:has(input:checked){background:#e6efdf}.location-picker-row small{display:block;color:#596452;margin-top:4px}.location-picker-controls{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.location-picker-controls button:last-child{font-weight:650}.location-picker input[type=checkbox]{width:20px;height:20px;flex-shrink:0}.location-picker input[type=search]{width:100%}@media(max-width:700px){.location-picker{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding:16px}.location-picker-grid{grid-template-columns:1fr}.location-picker-map{height:230px}.location-picker-list{height:260px}.location-picker-controls input{min-width:0;flex:1}}

.location-picker-row{font-size:15px;line-height:1.4}.location-picker-row small{font-size:12px}.location-picker-controls:last-child{position:sticky;bottom:0;background:#f7f7f0;padding:8px 0}

:root{font-family:system-ui,-apple-system,sans-serif;color:#152235;background:#f4f6fa;font-size:16px}*{box-sizing:border-box}body{margin:0}.wrap{max-width:1120px;margin:auto;padding:28px}header{background:#112b45;color:white;border-bottom:5px solid #f4bb44}.brand{font-size:.875rem;font-weight:750;letter-spacing:.12em}.preview{float:right;background:#28455f;padding:7px 12px;border-radius:6px;font-size:.875rem}h1{font-size:2.4rem;margin:25px 0 6px;letter-spacing:-.04em}header p{color:#d5dfeb;margin:0 0 12px}.filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:16px;align-items:end}label{display:grid;gap:8px;font-size:.875rem;font-weight:650}input,select,button{font:inherit;min-height:46px;border:1px solid #b5c2d2;border-radius:6px;padding:10px;background:white;color:inherit;max-width:100%}button{cursor:pointer}button:hover{background:#e5ecf5}:focus-visible{outline:3px solid #2865ae;outline-offset:3px}#count{margin:28px 0 18px;color:#425773}#results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.card{background:white;border:1px solid #d7e0eb;border-radius:10px;padding:24px;display:flex;flex-direction:column;gap:10px}.eyebrow{font-size:.875rem;color:#4c627b}.card h2{font-size:1.2rem;margin:0}.card h3{font-size:1.05rem;margin:5px 0 0}.card p{margin:0;line-height:1.55}.offer{font-size:1.2rem;font-weight:700}.when{color:#243f60;font-weight:600}.restrictions{font-size:.875rem;color:#526174}.warning{background:#fff2d1;color:#684706;border-radius:5px;padding:8px 10px;font-size:.875rem}.source{margin-top:auto;padding-top:14px;border-top:1px solid #e6ebf2;display:flex;justify-content:space-between;gap:12px;font-size:.875rem}.source a{color:#185398}footer{margin-top:32px;padding:22px 0;border-top:1px solid #cbd6e3;color:#526174;font-size:.875rem;line-height:1.6}.empty{grid-column:1/-1;padding:30px;text-align:center} @media(max-width:760px){.wrap{padding:20px}.filters{grid-template-columns:1fr 1fr}.filters label:first-child{grid-column:1/-1}#results{grid-template-columns:1fr}.preview{float:none;display:table;margin-top:15px}h1{font-size:2rem}.source{flex-wrap:wrap}}@media(max-width:380px){.filters{grid-template-columns:1fr}}

[hidden]{display:none!important}.wrap{max-width:1440px}.viewbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0 32px}.viewbar p{margin:6px 0;color:#526174}.view-switch{display:flex;background:#e3eaf2;border:1px solid #ccd7e5;padding:4px;border-radius:10px;gap:4px}.view-switch button{border:0;background:transparent;min-width:84px;font-weight:650}.view-switch button[aria-pressed=true]{background:#112b45;color:white;box-shadow:0 2px 5px #0002}section>h2{font-size:1.4rem;margin:0 0 7px}.section-note{color:#526174;margin:0 0 18px;font-size:.9rem}#cards-section{margin-top:36px}.table-scroll{overflow:auto;max-height:540px;border:1px solid #ccd7e5;border-radius:10px;background:white}table{width:100%;min-width:990px;border-collapse:separate;border-spacing:0;font-size:.9rem;text-align:left}thead{position:sticky;top:0;z-index:1;background:#e8eef5}thead button{background:transparent;border:0;border-radius:0;min-height:48px;font-weight:700;padding:12px;width:100%;text-align:left}th,td{border-bottom:1px solid #e2e8f0;vertical-align:top}tbody th,td{padding:16px 13px;line-height:1.5}tbody th{width:19%;font-weight:400}tbody th small{display:block;margin-top:5px;color:#63748b}td:nth-child(2){width:13%}td:nth-child(3){width:34%}td:nth-child(4){width:12%}td:nth-child(5){width:14%}tbody tr:nth-child(even){background:#f6f8fb}tbody tr:hover{background:#edf4fb}.table-offer{font-weight:550}details{margin-top:8px}summary{cursor:pointer;color:#185398;font-size:.82rem;width:fit-content}details p{font-size:.84rem;color:#526174}details a{color:#185398}thead th[aria-sort]{box-shadow:inset 0 -3px #d89c22}@media(max-width:760px){.viewbar{align-items:flex-start;flex-direction:column;gap:14px}.view-switch{width:100%}.view-switch button{flex:1}.table-scroll{max-height:460px}.wrap{padding:20px}}
.estimate{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;padding:22px;background:#fff;border:1px solid #ccd7e5;border-top:4px solid #e6ac34;border-radius:10px;margin:20px 0}.estimate h3{margin:8px 0 14px}.estimate-controls{display:grid;grid-template-columns:1fr 1fr;gap:14px}.estimate-controls input{width:130px}.estimate-note{grid-column:1/-1;margin:0;color:#526174;font-size:.85rem}#meal-total{grid-column:1/-1;margin:0;line-height:1.7}#meal-total span{display:block;font-size:.85rem}#meal-total strong{display:block;font-size:1.35rem}.meal-line{display:flex;align-items:center;gap:12px;margin-bottom:8px;font-size:.9rem}.meal-line button{min-height:32px;padding:4px 8px;font-size:.8rem}.item-price{font-weight:750;white-space:nowrap;color:#185398}@media(max-width:760px){.estimate{grid-template-columns:1fr}.estimate-controls{grid-template-columns:1fr 1fr}.view-switch button{min-width:65px}}

.site-nav{padding-top:16px;padding-bottom:0}.site-nav a{display:inline-block;padding:12px 16px;background:white;border:1px solid #b5c2d2;border-radius:8px;color:#185398;font-weight:650}.scroll-hint{display:none}.selection-reason{font-size:.78rem;margin-top:5px}#meal-window{font-size:.85rem;color:#425773;line-height:1.6}.estimate-note{line-height:1.5}.view-switch{position:relative;z-index:2}@media(max-width:760px){.scroll-hint{display:block;color:#526174;font-size:.85rem}.viewbar{margin:18px 0}.view-switch{position:sticky;top:0}.table-scroll{max-width:100%;-webkit-overflow-scrolling:touch}.estimate{padding:16px}.estimate-controls input{width:100%}.meal-line{flex-wrap:wrap}input,select,textarea{font-size:16px}#cards-section{margin-top:0}}

/* Restaurant-first Items cards. */
.item-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.restaurant-card,.item-card{background:white;border:1px solid #ccd7e5;border-radius:10px;padding:18px;min-width:0;overflow-wrap:anywhere}
.restaurant-card h3,.restaurant-toolbar h3{margin:0}.restaurant-card button{width:100%}
.restaurant-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:20px 0 8px}
.item-card{display:flex;flex-direction:column;gap:10px}.item-card.selected{border-color:#2865ae;box-shadow:inset 0 0 0 1px #2865ae}
.item-card p{margin:0;font-size:.875rem;line-height:1.5}.item-card details{margin:0}.item-card details p{margin:8px 0}
.item-choice{display:flex;align-items:center;gap:12px;min-height:46px;font-size:1.05rem;cursor:pointer}
.item-choice input{flex-shrink:0;width:22px;height:22px;min-height:22px;padding:0;cursor:pointer}
.item-quantity{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e2e8f0;padding-top:10px;margin-top:auto}
.item-quantity input{width:80px}.item-card .item-price{font-size:1.1rem}
.view-switch button{min-width:0;padding:10px 12px}
@media(max-width:760px){.item-grid{grid-template-columns:1fr}.restaurant-toolbar{align-items:flex-start;flex-direction:column}.view-switch{width:100%}.view-switch button{padding:10px 7px;font-size:.9rem}}

.type-filter{margin:0;border:0;padding:0;display:flex;gap:8px;flex-wrap:wrap;align-items:center}.type-filter legend{font-size:.875rem;font-weight:650;margin-bottom:8px}.type-filter label{display:flex;align-items:center;gap:6px;min-height:46px;padding:8px 10px;background:white;border:1px solid #b5c2d2;border-radius:6px;white-space:nowrap}.type-filter input{min-height:0;width:18px;height:18px;margin:0;padding:0}@media(max-width:760px){.type-filter{grid-column:1/-1}.type-filter label{flex:1 1 auto;justify-content:center}}

.calculator-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.calculator-toolbar h2{margin:0}.card-actions button{width:100%}#table-results th button,#explore-results td:first-child button{display:block;margin-top:10px;font-size:.85rem}@media(max-width:760px){.calculator-toolbar{align-items:flex-start;flex-direction:column}}

.experiment-filter{max-width:320px;min-width:0;margin:12px 0}.experiment-filter select{width:100%;min-width:0}.comparison-group{margin:18px 0}.comparison-group>h3{font-size:1rem;border-bottom:1px solid #ccd7e5;padding-bottom:7px;margin-bottom:10px}.comparison-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:start}.comparison-card{display:grid;grid-template-columns:1fr auto;gap:5px 8px;background:white;border:1px solid #ccd7e5;border-radius:7px;padding:12px;min-width:0;overflow-wrap:anywhere}.comparison-heading{grid-column:1/-1;display:flex;align-items:start;justify-content:space-between;gap:10px}.comparison-card h4{font-size:.95rem;line-height:1.3;margin:0}.comparison-card p{margin:0;line-height:1.35}.comparison-price{font-size:1.2rem;font-weight:750;color:#185398;white-space:nowrap}.comparison-place{grid-column:1/-1;font-size:.85rem;font-weight:650}.comparison-meta,.comparison-card .when{grid-column:1/-1;font-size:.75rem;color:#526174}.comparison-card details{display:contents}.comparison-card summary{align-self:center;min-height:44px;display:flex;align-items:center;font-size:.8rem}.comparison-card summary::before{content:'▸';margin-right:5px}.comparison-card details[open] summary::before{content:'▾'}.comparison-card details>p,.comparison-card details>a{grid-column:1/-1;font-size:.8rem}.comparison-actions{grid-column:2;grid-row:5;align-self:center}.comparison-actions button{min-height:44px;padding:6px 9px;font-size:.8rem}.view-switch{flex-wrap:wrap}@media(max-width:1100px){.comparison-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:850px){.comparison-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.comparison-grid{grid-template-columns:1fr}.view-switch button{flex:1 1 auto}}

.experiment-controls{display:flex;flex-wrap:wrap;gap:10px 16px}.experiment-controls .experiment-filter{flex:1 1 220px}.comparison-menu{font-weight:700}

/* Grocery table: size is compact metadata, leave width for item names. */
#grocery-section th:nth-child(3),#grocery-section td:nth-child(3){width:5.5rem;max-width:5.5rem;white-space:normal}

.grocery-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:12px 0}.grocery-controls label{flex:1 1 220px}.grocery-basket{display:flex;gap:14px;align-items:center;background:white;border:1px solid #ccd7e5;border-radius:8px;padding:10px 12px;margin:12px 0}.grocery-basket button{margin-left:auto}.grocery-overlap-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0 18px}.grocery-overlap-grid .comparison-card button,#grocery-results button{min-height:34px;padding:4px 9px;margin-top:5px}@media(max-width:850px){.grocery-overlap-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.grocery-overlap-grid{grid-template-columns:1fr}}

/* Grocery comparison overlays and persistent list. */
.grocery-overlap-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 20px}.grocery-overlap-grid .comparison-card{display:block}.grocery-overlap-grid .comparison-card p{margin:10px 0 4px}.grocery-overlap-grid button{min-height:36px;padding:5px 10px}.grocery-basket{margin:14px 0;padding:14px;background:white;border:1px solid #ccd7e5;border-radius:9px}.grocery-basket>span{margin-left:12px}.grocery-basket>button{float:right;min-height:36px;padding:5px 10px}#grocery-list{clear:both;padding-top:10px}.grocery-list-row{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;padding:7px 0;border-top:1px solid #e2e8f0}.grocery-list-row button{min-height:34px;width:38px;padding:4px}@media(max-width:850px){.grocery-overlap-grid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.grocery-overlap-grid{grid-template-columns:1fr}.grocery-basket>button{float:none;margin-left:8px}}

/* Grocery MVP - product first, unit price first. */
.grocery-head{display:flex;justify-content:space-between;align-items:start;gap:16px}.grocery-cart{font-weight:750;white-space:nowrap}.grocery-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 22px}.grocery-product-card{background:white;border:1px solid #ccd7e5;border-radius:10px;padding:16px}.grocery-product-card h3{font-size:1.05rem;margin:0 0 12px}.grocery-offers{display:grid;gap:10px}.grocery-offer{display:grid;grid-template-columns:1fr auto;gap:3px 10px;padding-top:10px;border-top:1px solid #e2e8f0}.grocery-offer:first-child{padding-top:0;border-top:0}.grocery-unit{font-size:1.25rem;color:#185398}.grocery-pack,.grocery-store,.grocery-requirement{grid-column:1;color:#526174;font-size:.82rem}.grocery-store{font-weight:700;color:#243f60}.grocery-offer button{grid-column:2;grid-row:1/4;align-self:center;min-height:40px;padding:6px 12px}.grocery-basket{display:block;position:sticky;top:10px;z-index:5;box-shadow:0 8px 25px #0002}.grocery-list-head{display:flex;justify-content:space-between;gap:16px;align-items:start}.grocery-list-head strong{font-size:1.2rem}.grocery-list-head button{float:none;margin:0}.grocery-store-list{position:relative;margin-top:16px;padding-top:10px;border-top:1px solid #ccd7e5}.grocery-store-list h3{margin:0 0 8px}.grocery-store-total{position:absolute;right:0;top:10px;font-weight:750}.grocery-list-row{grid-template-columns:1fr auto auto auto}.grocery-list-row small{display:block;color:#526174;margin-top:3px}.grocery-qty{min-width:22px;text-align:center;font-weight:700}#grocery-debug{margin-top:18px}#grocery-debug>summary{font-size:.9rem}#grocery-debug .table-scroll{margin-top:10px}@media(max-width:950px){.grocery-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.grocery-head{align-items:stretch;flex-direction:column}.grocery-cart{width:100%}.grocery-product-grid{grid-template-columns:1fr}.grocery-basket{position:static}.grocery-list-row{grid-template-columns:1fr auto auto auto}}

.grocery-store-filter{background:white;border:1px solid #ccd7e5;border-radius:10px;padding:14px;margin:12px 0}.grocery-quick{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.grocery-quick button{min-height:36px;padding:6px 10px}#grocery-store-options{display:flex;gap:7px;flex-wrap:wrap}#grocery-store-options label{display:flex;align-items:center;gap:6px;border:1px solid #d7e0eb;border-radius:999px;padding:6px 10px;font-size:.8rem;font-weight:600}#grocery-store-options input{min-height:0;width:16px;height:16px;padding:0}

/* Grocery circular cycle */
.circular-cycle{background:white;border:1px solid #ccd7e5;border-radius:10px;padding:14px;margin:14px 0;overflow:auto}.circular-cycle-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.circular-cycle-head span{font-size:.82rem;color:#526174}.circular-days{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(54px,1fr);margin-left:112px;border-bottom:1px solid #e2e8f0}.circular-days div{text-align:center;padding:4px;font-size:.72rem;color:#63748b}.circular-days strong,.circular-days span{display:block}.circular-days .today{background:#fff2d1;border-radius:6px 6px 0 0;color:#684706}.circular-row{display:grid;grid-template-columns:105px minmax(520px,1fr);gap:7px;align-items:center;margin-top:8px}.circular-store{font-size:.78rem;font-weight:700;overflow:hidden;text-overflow:ellipsis}.circular-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(54px,1fr);min-height:34px;background:repeating-linear-gradient(90deg,#f6f8fb 0,#f6f8fb calc(100% / 14 - 1px),#e2e8f0 calc(100% / 14 - 1px),#e2e8f0 calc(100% / 14));border-radius:6px}.circular-bar{min-height:32px;padding:4px 8px;border:0;border-radius:6px;background:#e5ecf5;color:#243f60;font-size:.72rem;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.circular-bar.upcoming{border:1px dashed #8fa1b7;background:white}.circular-bar:hover{background:#d8e5f4}@media(max-width:700px){.circular-days{margin-left:88px}.circular-row{grid-template-columns:80px minmax(520px,1fr)}}

.grocery-method{font-size:.78rem;color:#63748b;line-height:1.45;margin:6px 0 14px}.grocery-normal{grid-column:1;color:#526174;font-size:.75rem}.grocery-source{grid-column:1;font-size:.78rem;color:#185398;width:fit-content}

/* Shared Value Optimizer layout - grocery structure, Deals palette. */
:root{--ink:#152235;--brand:#112b45;--accent:#f4bb44;--muted:#526174;--paper:#f7f8fa;--line:#d7e0eb;--soft:#e8eef5}body{background:var(--paper);color:var(--ink)}header .wrap,main.wrap,.site-nav{max-width:1240px}.site-nav{display:flex;gap:10px;flex-wrap:wrap}.filters{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px}.card,.restaurant-card,.item-card,.comparison-card,.grocery-product-card{border-radius:11px}.viewbar{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px 22px}.view-switch{background:var(--soft);border-color:var(--line)}.view-switch button[aria-pressed=true]{background:var(--brand)}@media(max-width:760px){.filters,.viewbar{padding:14px}}

/* Grocery-parity shell for Restaurant Deals */
:root{--deal-green:#264b36;--deal-ink:#213b2b;--deal-muted:#697468;--deal-paper:#f7f7f0;--deal-line:#dce1d5;--deal-lime:#dceba9}
body{background:var(--deal-paper);color:var(--deal-ink)}
.deal-topbar{max-width:1320px;margin:auto;padding:23px 40px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--deal-line);background:transparent;color:var(--deal-ink)}
.vo-brand{display:flex;gap:11px;align-items:center;text-decoration:none;font-size:20px;font-weight:750;color:var(--deal-green)}.vo-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:var(--deal-green);color:var(--deal-lime);font:italic 28px Georgia}.deal-actions{display:flex;align-items:center;gap:14px}.deal-actions a{color:var(--deal-green)}.user-placeholder{border:1px solid var(--deal-line);border-radius:8px;background:white;padding:9px 12px;font-size:13px;font-weight:650}
.deal-main{max-width:1240px;padding:0 32px}.deal-hero{display:flex;align-items:center;justify-content:space-between;padding:52px 0 36px;gap:24px}.deal-eyebrow{font-size:11px;font-weight:750;letter-spacing:2px;margin:0 0 14px}.deal-hero h1{font:normal clamp(38px,4.7vw,62px)/1.07 Georgia,serif;letter-spacing:-2px;margin:0 0 19px;color:var(--deal-ink)}.deal-hero>div>p:last-child{color:var(--deal-muted);font-size:16px}.deal-summary{background:var(--deal-lime);border-radius:50% 50% 14px 14px;min-width:230px;padding:40px 24px 25px;text-align:center}.deal-summary>span{font:56px/1.2 Georgia,serif}.deal-summary p{margin:3px 0 16px;font-weight:650}.deal-summary div{font-size:12px}.today-notice{padding:15px 19px;border:1px solid #e2d9bb;border-radius:10px;background:#fcf7e8;color:#6a552c;font-size:13px}.today-notice strong{margin-right:5px}.today-strip{padding:29px 0 32px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}.section-heading h2{font-size:20px;margin:0}.section-heading span{font-size:12px;color:var(--deal-muted)}.today-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.today-card,.today-placeholder{background:white;border:1px solid var(--deal-line);border-top:3px solid #5e8054;border-radius:10px;padding:16px}.today-card strong{display:block;font-size:14px}.today-card span{display:block;color:var(--deal-muted);font-size:12px;margin-top:5px}.today-card p{font-size:13px;margin:9px 0 0}.deal-finder{display:block;border-radius:15px;padding:26px}.deal-search-row{display:grid;grid-template-columns:2fr 1fr;gap:15px}.deal-search-row label{display:flex;flex-direction:column;gap:6px}.deal-search-row input{font-size:16px;padding:12px 14px}.deal-finder .type-filter{margin-top:18px;border-top:1px solid var(--deal-line);padding-top:18px}.text-button{border:0;background:none;text-decoration:underline;padding:4px;min-height:0}.viewbar{border-color:var(--deal-line);background:white}.view-switch{background:#eef2e6;border-color:var(--deal-line)}.view-switch button[aria-pressed=true]{background:var(--deal-green)}.card,.restaurant-card,.item-card,.comparison-card{border-color:var(--deal-line)}
@media(max-width:760px){.deal-topbar{padding:15px 14px}.deal-main{padding:0 14px}.deal-hero{padding:29px 3px;align-items:end}.deal-summary{display:none}.deal-hero h1{font-size:37px}.today-grid{grid-template-columns:1fr}.deal-search-row{grid-template-columns:1fr}.deal-actions{gap:7px}.user-placeholder{padding:6px 8px;font-size:11px}}

/* Exact Grocery geometry with Deals blue/gold palette */
:root{--deal-green:#112b45;--deal-ink:#152235;--deal-muted:#697468;--deal-paper:#f7f7f0;--deal-line:#dce1d5;--deal-lime:#f4d889}
.deal-topbar{max-width:1320px;margin:auto;padding:23px 40px;height:auto;min-height:82px}
.vo-brand{font-size:20px;letter-spacing:-.6px}.vo-mark{width:35px;height:35px;border-radius:10px;background:var(--deal-green);color:var(--deal-lime);font:italic 28px Georgia}
.deal-actions{gap:14px}.deal-actions>a{font-size:15px}.profile-label{font-size:13px;font-weight:650}.user-placeholder{min-height:43px;padding:9px 11px;border:1px solid #c8d2c3;border-radius:8px;background:white;font-size:13px;font-weight:650}.deal-list-placeholder{min-height:43px;padding:9px 14px;border-radius:8px;background:var(--deal-green);border-color:var(--deal-green);color:white;font-weight:650}.deal-list-placeholder span{margin-left:10px;border-radius:20px;background:#ffffff23;padding:2px 7px}
.deal-main{max-width:1240px;margin:auto;padding:0 32px}.deal-hero{padding:52px 0 36px;gap:24px}.deal-hero h1{font:normal clamp(38px,4.7vw,62px)/1.07 Georgia,serif;letter-spacing:-2px;margin:0 0 19px}.deal-hero>div>p:last-child{font-size:16px;line-height:1.5;margin:0}.deal-summary{min-width:230px;width:230px;padding:40px 24px 25px;border-radius:50% 50% 14px 14px;background:var(--deal-lime)}.deal-summary>span{font:56px/1.2 Georgia,serif}.deal-summary p{margin:3px 0 16px}.today-notice{padding:15px 19px;border-radius:10px}.today-strip{padding:29px 0 32px}.today-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.today-card,.today-placeholder{padding:16px;border-radius:10px;border-top:3px solid #d89c22}.deal-finder{padding:26px;border-radius:15px}.deal-search-row{grid-template-columns:2fr 1fr;gap:15px}.deal-finder input,.deal-finder select{min-height:43px;border-radius:8px}.viewbar{padding:18px 22px;border-radius:15px}.view-switch button[aria-pressed=true]{background:var(--deal-green)}#results{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.card{border-radius:11px;padding:18px;gap:10px}
@media(max-width:900px){#results{grid-template-columns:repeat(2,minmax(0,1fr))}.deal-topbar{padding:18px 24px}}
@media(max-width:600px){.deal-main{padding:0 14px}.deal-topbar{padding:15px 14px;align-items:start}.vo-brand{font-size:16px;gap:7px}.vo-mark{width:28px;height:28px;font-size:23px}.deal-actions{gap:8px;flex-wrap:wrap;justify-content:flex-end}.profile-label{font-size:10px}.user-placeholder,.deal-list-placeholder{min-height:32px;padding:6px 8px;font-size:11px}.deal-hero{padding:29px 3px}.deal-hero h1{font-size:37px;letter-spacing:-1.5px}.deal-summary{display:none}.today-grid,#results{grid-template-columns:1fr}.deal-finder{padding:16px 12px}.deal-search-row{grid-template-columns:1fr}}

/* publish trigger 2026-09-23 */

/* Progressive advanced filtering: primary finder stays compact. */
.advanced-filters{grid-column:1/-1;margin-top:12px;border-top:1px solid var(--deal-line);padding-top:12px}.advanced-filters>summary{font-weight:750;color:var(--deal-green);min-height:44px;display:flex;align-items:center}.advanced-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:10px 0}.advanced-grid label{font-size:.85rem;font-weight:650}.advanced-grid input,.advanced-grid select{width:100%;margin-top:5px}.mechanic-filter{border:0;padding:0;margin:8px 0;display:flex;gap:8px;flex-wrap:wrap}.mechanic-filter legend{font-size:.82rem;font-weight:700;margin-bottom:6px}.mechanic-filter label{display:flex;align-items:center;gap:6px;border:1px solid var(--deal-line);border-radius:999px;background:#fff;padding:7px 10px;font-size:.8rem}.mechanic-filter input{width:16px;height:16px;min-height:0;padding:0}@media(max-width:760px){.advanced-grid{grid-template-columns:1fr 1fr}}@media(max-width:480px){.advanced-grid{grid-template-columns:1fr}}

.type-actions{display:flex;gap:12px;align-items:center;flex-basis:100%}.type-actions button{min-height:44px}#explore-more,#experiment-more{margin-top:16px}

/* Reserve identical highlight geometry before and after asynchronous data loads.
   These are previews; complete offer text remains in the deal results below. */
.today-grid{grid-auto-rows:180px;min-height:372px}
.today-card{min-width:0;overflow:hidden}
.today-card strong,.today-card p{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
.today-card strong{-webkit-line-clamp:2;line-height:1.4}
.today-card span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}
.today-card p{-webkit-line-clamp:4;line-height:1.4}
#today-label{min-width:115px;text-align:right}
#results{min-height:320px}
@media(max-width:600px){.today-grid{min-height:1140px}}

/* Project 3 - search-first Food & Drink hierarchy */
.deal-main{padding-top:18px}.food-hero{margin:8px 0 22px;padding:24px;border:1px solid #dce1d5;border-radius:16px;background:#fff}.food-hero .app-title{margin:4px 0 6px}.food-intro{margin:0 0 18px;color:#526174}.food-search{display:grid;grid-template-columns:minmax(0,1fr) 150px auto;gap:10px;align-items:end}.food-query input{font-size:1.05rem}.food-filters{margin-top:14px;border-top:1px solid #e2e8f0;padding-top:12px}.food-filters>summary,.browse-tools>summary{font-weight:750;color:#213b2b;min-height:40px;display:flex;align-items:center}.food-filters .type-filter{margin:12px 0}.browse-tools{margin:10px 0 18px}.browse-tools .view-switch{margin-top:10px;width:max-content}.results-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}.results-heading .eyebrow{margin:0 0 4px}.results-heading h2{margin:0}#cards-section{margin-top:18px}
@media(max-width:760px){.deal-main{padding-top:10px}.food-hero{padding:16px;margin-top:6px}.food-search{grid-template-columns:minmax(0,1fr) 105px}.food-search #reset{grid-column:1/-1;min-height:38px}.food-query{grid-column:1/-1}.food-intro{font-size:.9rem}.browse-tools .view-switch{width:100%}.today-collapse{margin-top:10px}}

/* Scan first; retain complete terms and evidence without repeating headings. */
#results{align-items:start}
#results .card{min-width:0;padding:16px;gap:8px;overflow-wrap:anywhere}
#results .card h2{font-size:1.08rem;line-height:1.3}
#results .card h3{margin:0;font-size:.96rem;line-height:1.35}
#results .card .eyebrow{font-size:.76rem}
#results .card .offer{font-size:.9rem;font-weight:400;line-height:1.45}
#results .card .restrictions,#results .card .card-validity,#results .card .card-caution{font-size:.78rem;line-height:1.4}
.card-validity{color:#526174}.card-caution{color:#745013}
.card-price{font-size:.95rem;font-weight:750;color:#254a32}
.offer-schedule{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;grid-column:1/-1}
.week-strip{display:grid;grid-template-columns:repeat(7,23px);gap:2px;flex-shrink:0}
.week-day{display:flex;flex-direction:column;align-items:center;border-radius:4px;padding:3px 0;color:#59675c;font-size:11px;line-height:1.15}
.week-day.applies{background:#e5efdc;color:#254a32;font-weight:750}
.day-mark{font-size:12px;height:14px;margin-top:2px}
.schedule-hours,.schedule-note{font-size:.76rem;line-height:1.35;color:#526174}
.deal-card-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:0 10px;border-top:1px solid var(--deal-line,#dce1d5);padding-top:6px;margin-top:2px}
.deal-card-details{display:contents}
.deal-card-details>summary{grid-column:1;grid-row:1;min-height:44px;display:flex;align-items:center;font-size:.8rem}
.deal-card-details>summary::before{content:'▸';margin-right:5px}
.deal-card-details[open]>summary::before{content:'▾'}
.deal-card-actions>button{grid-column:2;grid-row:1;min-height:44px;padding:7px 10px;font-size:.8rem}
.deal-card-body{grid-column:1/-1;grid-row:2;display:grid;gap:8px;padding:8px 0 0;font-size:.82rem}
.deal-card-details:not([open])>.deal-card-body{display:none}
#results .deal-card-body p{font-size:.82rem;line-height:1.4}
.comparison-card .offer-schedule{grid-column:1/-1}

/* Preserve DOM order and column assignments when Details changes height. */
#results{--card-columns:3;display:grid;columns:auto;grid-template-columns:repeat(var(--card-columns),minmax(0,1fr));grid-auto-rows:1px;gap:0 18px;align-items:start}
#results>.card{display:flex;margin:0;width:100%;min-width:0;align-self:start}
#results:has(>.empty){display:block}
.card-highlights{list-style:none;padding:0;margin:0;display:grid;gap:7px;font-size:.87rem;line-height:1.4}
.card-highlights li{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.highlight-price{font-size:.9rem;white-space:nowrap;font-weight:650;color:#254a32}
.menu-categories{font-size:.9rem;line-height:1.5}
.week-day.selected-day{outline:2px solid #254a32;outline-offset:1px}
@media(max-width:1100px){#results{--card-columns:2}}
@media(max-width:700px){#results{--card-columns:1}}
.food-search{grid-template-columns:minmax(0,1fr) 210px auto}
.day-label-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.day-label-row #select-today{font-size:.78rem;white-space:nowrap;color:#185398;padding:4px 0}
.food-day select{width:100%}
.food-filters>summary,.browse-tools>summary,.today-collapse>summary{list-style:none;display:flex;align-items:center;min-height:44px}
.food-filters>summary::-webkit-details-marker,.browse-tools>summary::-webkit-details-marker,.today-collapse>summary::-webkit-details-marker{display:none}
.food-filters>summary::before,.browse-tools>summary::before,.today-collapse>summary::before{content:'▸';margin-right:8px}
.food-filters[open]>summary::before,.browse-tools[open]>summary::before,.today-collapse[open]>summary::before{content:'▾'}
#results mark{background:#fff0ac;color:#17283c;border-radius:2px}
.matching-items{display:grid;gap:8px}
@media(max-width:760px){.food-search{grid-template-columns:minmax(0,1fr) auto}.food-day{min-width:0}.day-label-row{justify-content:flex-start}}

/* Keep Details in normal flow: display:contents on details can place its
   browser-generated content wrapper in the action grid's narrow column. */
.deal-card-actions{display:block;position:relative}
.deal-card-details{display:block;width:100%;min-width:0;margin:0}
.deal-card-details>summary{width:max-content;max-width:100%;white-space:normal;min-width:80px}
.deal-card-actions:has(>button)>.deal-card-details>summary{max-width:calc(100% - 112px)}
.deal-card-actions>button{position:absolute;right:0;top:6px}
.deal-card-body{width:100%;min-width:0}
