/* ../../node_modules/.pnpm/leaflet@1.9.4/node_modules/leaflet/dist/leaflet.css */
.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;
}
.leaflet-tile::selection {
  background: transparent;
}
.leaflet-safari .leaflet-tile {
  image-rendering: -webkit-optimize-contrast;
}
.leaflet-safari .leaflet-tile-container {
  width: 1600px;
  height: 1600px;
  -webkit-transform-origin: 0 0;
}
.leaflet-marker-icon,
.leaflet-marker-shadow {
  display: block;
}
.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 {
  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;
  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;
}
.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;
}
.leaflet-control {
  position: relative;
  z-index: 800;
  pointer-events: visiblePainted;
  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;
}
.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;
}
.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;
}
.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;
  pointer-events: auto;
}
.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);
}
.leaflet-container {
  font-family:
    "Helvetica Neue",
    Arial,
    Helvetica,
    sans-serif;
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1.5;
}
.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;
}
.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;
}
.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("/assets/asset-55W3Q4RM.png");
  width: 36px;
  height: 36px;
}
.leaflet-retina .leaflet-control-layers-toggle {
  background-image: url("/assets/asset-TBM42ERR.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;
}
.leaflet-default-icon-path {
  background-image: url("/assets/asset-2V3QKKVC.png");
}
.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;
}
.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;
}
.leaflet-div-icon {
  background: #fff;
  border: 1px solid #666;
}
.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: "";
}
.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;
}
@media print {
  .leaflet-control {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* src/styles.css */
@font-face {
  font-family: "Roboto";
  src: url("/assets/asset-QRJLAF7B.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range:
    U+0100-02BA,
    U+02BD-02C5,
    U+02C7-02CC,
    U+02CE-02D7,
    U+02DD-02FF,
    U+0304,
    U+0308,
    U+0329,
    U+1D00-1DBF,
    U+1E00-1E9F,
    U+1EF2-1EFF,
    U+2020,
    U+20A0-20AB,
    U+20AD-20C0,
    U+2113,
    U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Roboto";
  src: url("/assets/asset-3ZSHNGCF.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "Roboto Mono";
  src: url("/assets/asset-4WMEQZVN.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Mono";
  src: url("/assets/asset-RFLL4A3N.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family:
    "Roboto",
    Arial,
    sans-serif;
  color: #17130f;
  background: #f7f5f0;
  --surface: #ffffff;
  --surface-soft: #f2f0eb;
  --border: #ded8cf;
  --text-muted: #6d675f;
  --muted: #6d675f;
  --brand: #ff3e00;
  --brand-strong: #d93400;
  --brand-soft: #fff0e8;
  --black: #100d0a;
  --teal: #176b5b;
  --teal-soft: #e4f1ed;
  --green: #2f6f35;
  --green-soft: #e7f3e6;
  --amber: #93600a;
  --amber-soft: #fff1d6;
  --rose: #b23b4a;
  --rose-soft: #fdebee;
  --purple: #5e60ce;
  --ink: #17130f;
  --shadow: 0 14px 38px rgba(37, 29, 22, 0.08);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 1080px;
  min-height: 100vh;
  background: #f7f5f0;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}
button {
  cursor: pointer;
}
::selection {
  color: var(--black);
  background: rgba(255, 121, 54, 0.34);
}
h1,
h2,
h3 {
  font-family:
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  letter-spacing: 0;
}
.boot {
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: var(--text-muted);
}
.boot.small {
  min-height: 360px;
}
.login-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  overflow: hidden;
  background: var(--black);
}
.login-page::before {
  content: "";
  position: absolute;
  right: -12%;
  top: 16%;
  width: 58%;
  height: 42%;
  background:
    radial-gradient(
      ellipse at center,
      rgba(255, 91, 24, 0.26),
      rgba(255, 154, 50, 0.09) 42%,
      transparent 72%);
  filter: blur(24px);
  pointer-events: none;
}
.login-panel {
  position: relative;
  width: 420px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top: 4px solid var(--brand);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 30px;
}
.sprezza-lockup {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 210px;
  max-width: 100%;
}
.sprezza-mark,
.sprezza-wordmark {
  display: block;
  height: auto;
  flex: 0 0 auto;
}
.sprezza-mark {
  width: 10.6%;
}
.sprezza-wordmark {
  width: 86.2%;
}
.sprezza-lockup.compact {
  width: 152px;
  gap: 4px;
}
.login-brand {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}
.login-brand > span {
  color: var(--text-muted);
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.login-panel h1 {
  margin: 0 0 6px;
  font-size: 28px;
}
.login-panel p {
  margin: 0 0 24px;
  color: var(--text-muted);
}
label {
  display: grid;
  gap: 7px;
  color: #3e3934;
  font-weight: 650;
  font-size: 13px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 10px 11px;
  background: #fff;
  color: var(--ink);
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(255, 62, 0, 0.18);
  border-color: var(--brand);
}
.form-error {
  padding: 10px 12px;
  background: var(--rose-soft);
  color: var(--rose);
  border-radius: 7px;
  margin: 12px 0;
}
.field-status {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}
.field-status.found {
  color: var(--green);
}
.field-status.not_found,
.field-status.error {
  color: var(--rose);
}
.app-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #fbfaf7;
  border-right: 1px solid var(--border);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.logo {
  display: grid;
  justify-items: start;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 3px 4px 13px;
  border-bottom: 1px solid var(--border);
}
.logo small {
  color: var(--text-muted);
  font-family: "Roboto Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}
nav {
  display: grid;
  gap: 4px;
}
.nav-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  color: #4f4943;
  border-radius: 7px;
  padding: 10px;
  text-align: left;
}
.nav-button.active,
.nav-button:hover {
  background: var(--brand-soft);
  color: var(--ink);
}
.nav-button.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: var(--brand);
}
.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sidebar-footer small,
small {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
}
.main-area {
  min-width: 0;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(440px, 620px);
  align-items: center;
  gap: 18px;
  padding: 0 28px;
}
.topbar-title {
  display: grid;
  gap: 2px;
  min-width: 150px;
}
.topbar-title strong {
  font-family:
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  font-size: 19px;
  font-weight: 650;
}
.topbar-title span {
  color: var(--text-muted);
  font-family: "Roboto Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}
.topbar-tools {
  display: grid;
  grid-template-columns: 200px minmax(260px, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.period-switcher {
  width: 100%;
  display: block;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.period-switcher input {
  height: 43px;
  padding: 10px 11px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0 10px;
  height: 43px;
}
.search-box input {
  border: 0;
  padding: 10px 0;
  min-width: 0;
}
main {
  padding: 28px;
}
.page-stack {
  display: grid;
  gap: 18px;
}
.page-stack > *,
.dashboard-operations-grid > *,
.overview-grid > * {
  min-width: 0;
}
.page-actions,
.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.page-actions h2,
.detail-header h2 {
  margin: 0;
  font-family:
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  font-size: 25px;
  font-weight: 650;
}
.eyebrow {
  margin: 0 0 4px;
  color: var(--text-muted);
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}
.action-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.primary,
.secondary,
.text-button,
.icon-button {
  border-radius: 7px;
  border: 1px solid transparent;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
a.primary,
a.secondary {
  text-decoration: none;
}
.primary {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
  padding: 0 14px;
  font-weight: 750;
}
.primary:hover:not(:disabled) {
  background: #241a14;
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(255, 62, 0, 0.12);
}
.secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
  padding: 0 14px;
  font-weight: 700;
}
.secondary:hover:not(:disabled),
.icon-button:hover:not(:disabled) {
  border-color: rgba(255, 62, 0, 0.55);
  background: var(--brand-soft);
}
.text-button {
  background: transparent;
  border: 0;
  color: var(--brand-strong);
  padding: 0;
  font-weight: 750;
}
.icon-button {
  width: 36px;
  min-height: 36px;
  border-color: var(--border);
  background: var(--surface);
  color: var(--ink);
}
button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
.save-feedback {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 13px;
  font-weight: 750;
}
.save-feedback.error {
  color: var(--rose);
}
.stat-grid {
  display: grid;
  gap: 12px;
}
.stat-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.stat-grid.six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.stat-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat-card,
.panel,
.empty-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.stat-card {
  padding: 16px;
  min-height: 112px;
  display: grid;
  gap: 7px;
}
.stat-card span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}
.stat-card strong {
  font-size: 24px;
}
.stat-card.good strong {
  color: var(--green);
}
.stat-card.bad strong {
  color: var(--rose);
}
.dashboard-operations-grid {
  display: grid;
  gap: 12px;
  align-items: start;
}
.dashboard-main-column {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.dashboard-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-width: 0;
}
.dashboard-economics {
  padding-bottom: 0;
  overflow: hidden;
}
.dashboard-client-totals,
.growth-summary-grid {
  display: grid;
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
}
.dashboard-client-totals {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 14px;
}
.growth-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.dashboard-client-totals .metric,
.growth-summary-grid .metric {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 76px;
  padding: 12px 14px;
  border: 0;
  border-left: 1px solid var(--border);
}
.dashboard-client-totals .metric {
  grid-template-rows: 42px auto;
  align-content: start;
  align-items: start;
}
.dashboard-client-totals .metric:last-child {
  padding: 12px 14px;
}
.dashboard-client-totals .metric span {
  display: flex;
  align-items: flex-start;
  line-height: 1.15;
}
.dashboard-client-totals .metric:first-child,
.growth-summary-grid .metric:first-child {
  border-left: 0;
}
.dashboard-client-totals .metric strong,
.growth-summary-grid .metric strong {
  text-align: left;
  font-size: 18px;
  white-space: nowrap;
}
.dashboard-growth {
  display: grid;
  gap: 14px;
  border-left: 4px solid var(--amber);
}
.dashboard-growth-wide {
  border-left-color: var(--brand);
}
.dashboard-growth.compact {
  gap: 10px;
}
.dashboard-growth.on_track {
  border-left-color: var(--green);
}
.dashboard-growth.off_track {
  border-left-color: var(--rose);
}
.growth-summary-grid.compact {
  grid-template-columns: 1fr;
}
.growth-summary-grid.compact .metric {
  min-height: 72px;
  border-left: 0;
}
.growth-summary-grid.compact .metric strong {
  font-size: 24px;
}
.growth-context {
  margin: -2px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.35;
}
.dashboard-economics .table-wrap {
  margin: 0 -16px;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0;
}
.table-period {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}
.dashboard-economics-table {
  table-layout: fixed;
  min-width: 590px;
  font-size: 12px;
}
.dashboard-economics-table th,
.dashboard-economics-table td {
  padding: 8px 7px;
}
.dashboard-economics-table th {
  padding-left: 5px;
  padding-right: 5px;
  font-size: 10px;
  overflow: hidden;
}
.dashboard-economics-table th:nth-child(1) {
  width: 26%;
}
.dashboard-economics-table th:nth-child(2) {
  width: 12%;
}
.dashboard-economics-table th:nth-child(3) {
  width: 13%;
}
.dashboard-economics-table th:nth-child(4) {
  width: 12%;
}
.dashboard-economics-table th:nth-child(5) {
  width: 10%;
}
.dashboard-economics-table th:nth-child(6) {
  width: 10%;
}
.dashboard-economics-table th:nth-child(7) {
  width: 13%;
}
.dashboard-economics-table th:nth-child(8) {
  width: 4%;
}
.dashboard-economics-table td:nth-child(n+2) {
  white-space: nowrap;
}
.dashboard-economics-table .margin-badge {
  min-width: 48px;
  min-height: 24px;
  padding: 0 5px;
  font-size: 11px;
}
.dashboard-table-rollout {
  display: flex;
  justify-content: center;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--border);
  background: #fbfcfa;
}
.dashboard-table-rollout .secondary {
  min-width: 190px;
  justify-content: center;
}
.dashboard-map-square .map-box {
  height: auto;
  aspect-ratio: 1;
}
.dashboard-map-square .leaflet-box {
  height: 100%;
}
@media (min-width: 1100px) {
  .dashboard-operations-grid {
    grid-template-columns: minmax(0, 1fr) clamp(220px, 20vw, 300px);
  }
}
.panel {
  padding: 16px;
}
.panel.wide {
  min-width: 0;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.panel-header h3 {
  margin: 0;
  font-family:
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  font-size: 16px;
  font-weight: 650;
}
.metric-list {
  display: grid;
  gap: 10px;
}
.metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #edf0eb;
  padding-bottom: 9px;
}
.metric:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.metric span {
  color: var(--text-muted);
}
.metric strong {
  text-align: right;
}
.chart-wrap svg {
  width: 100%;
  height: 230px;
}
.revenue-chart svg {
  height: 180px;
}
.chart-axis {
  stroke: var(--border);
  stroke-width: 1;
}
.chart-zero-line {
  stroke: rgba(104, 115, 109, 0.35);
  stroke-dasharray: 6 6;
  stroke-width: 1.5;
}
.sales-point {
  fill: var(--surface);
  stroke: var(--brand);
  stroke-width: 3;
}
.revenue-chart.compact {
  min-height: 120px;
}
.revenue-chart.compact svg {
  max-height: 128px;
}
.revenue-chart.compact .value-label {
  display: none;
}
.revenue-chart.compact .line {
  stroke-width: 3;
}
.revenue-chart.compact .sales-point {
  r: 3;
}
.value-label {
  fill: var(--ink);
  font-size: 11px;
  font-weight: 750;
  text-anchor: middle;
}
.month-label {
  fill: var(--text-muted);
  font-size: 11px;
  font-weight: 650;
  text-anchor: middle;
}
.empty-chart-label {
  fill: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  text-anchor: middle;
}
.line {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.line.sales,
.legend .sales {
  stroke: var(--brand);
  background: var(--brand);
}
.line.costs,
.legend .costs {
  stroke: var(--purple);
  background: var(--purple);
}
.line.profit,
.legend .profit {
  stroke: var(--green);
  background: var(--green);
}
.line.muted {
  opacity: 0.45;
  stroke-width: 3;
}
.goal-line {
  stroke: rgba(104, 115, 109, 0.35);
  stroke-dasharray: 7 7;
  stroke-width: 2;
}
.goal-label {
  fill: var(--text-muted);
  font-size: 12px;
}
svg text {
  fill: var(--text-muted);
  font-size: 13px;
  text-anchor: middle;
}
.legend {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-muted);
  font-size: 13px;
}
.legend span {
  display: inline-block;
  width: 12px;
  height: 4px;
  border-radius: 99px;
}
.legend .goal {
  background: rgba(104, 115, 109, 0.55);
}
.chart-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mini-toggles {
  display: flex;
  gap: 6px;
}
.mini-toggles button {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 7px;
  min-height: 30px;
  padding: 0 10px;
  color: #4f5b55;
  font-weight: 700;
}
.mini-toggles button.active {
  border-color: var(--brand);
  color: var(--brand-strong);
  background: var(--brand-soft);
}
.map-box,
.leaflet-box {
  height: 280px;
  width: 100%;
  border-radius: 7px;
  overflow: hidden;
}
.ea-marker span {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 99px;
  background: var(--brand);
  border: 3px solid white;
  box-shadow: 0 0 0 4px rgba(255, 62, 0, 0.18);
}
.popup-link {
  margin-top: 8px;
  color: var(--brand-strong);
  background: transparent;
  border: 0;
  padding: 0;
  font-weight: 700;
}
.tabs button,
.day-picker button {
  border: 0;
  background: transparent;
  border-radius: 5px;
  padding: 8px 11px;
  color: #4f5b55;
  font-weight: 700;
}
.tabs button.active,
.day-picker button.active {
  background: var(--black);
  color: #fff;
}
.filter-bar,
.inline-form,
.form-grid {
  display: grid;
  gap: 10px;
}
.filter-bar {
  grid-template-columns: 1fr 180px;
}
.client-mode-banner,
.potential-client-panel {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-left-width: 5px;
  border-radius: 8px;
  background: var(--surface);
}
.client-mode-banner strong,
.potential-client-panel h3 {
  display: block;
  margin: 0 0 4px;
}
.client-mode-banner span,
.potential-client-panel p {
  color: var(--text-muted);
  line-height: 1.45;
}
.client-mode-banner.client-status-active {
  border-left-color: var(--green);
  background:
    linear-gradient(
      90deg,
      rgba(220, 252, 231, 0.85),
      #fff 42%);
}
.client-mode-banner.client-status-potential,
.potential-client-panel {
  border-left-color: var(--amber);
  background:
    linear-gradient(
      90deg,
      rgba(255, 244, 216, 0.9),
      #fff 45%);
}
.client-mode-banner.client-status-archived {
  border-left-color: #89958f;
  background: #fbfcfa;
}
.potential-client-panel {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.9fr) auto;
  align-items: center;
}
.potential-client-steps {
  display: grid;
  gap: 6px;
}
.potential-client-steps span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #72501a;
  font-size: 13px;
  font-weight: 750;
}
.potential-client-steps span.done {
  color: var(--green);
}
.inline-form {
  grid-template-columns: 1fr 180px 220px auto;
  align-items: end;
}
.document-upload-form {
  grid-template-columns: 1fr 170px 170px 220px auto;
}
.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-grid label small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.form-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}
.form-grid.compact button {
  justify-self: start;
}
.full-width {
  grid-column: 1 / -1;
}
.filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 10px;
}
.search-control {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0 12px;
}
.search-control input {
  border: 0;
  padding-left: 0;
}
.compact-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cost-form {
  grid-template-columns: minmax(220px, 1fr) 220px 160px auto;
}
.readonly-row {
  background: #f7faf6;
}
.empty-cell {
  color: var(--text-muted);
  text-align: center;
  padding: 28px 12px;
}
.lead-list {
  display: grid;
  gap: 12px;
}
.lead-row {
  display: grid;
  gap: 12px;
}
.lead-contact {
  margin: -4px 0 0;
  color: var(--text-muted);
  font-weight: 650;
}
.open-positions-panel {
  display: grid;
  gap: 14px;
}
.potential-recruitment-panel {
  display: grid;
  gap: 14px;
  border-color: #f0d894;
  background: #fffdf7;
}
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow-x: auto;
  min-width: 0;
}
.table-wrap.nested {
  border-radius: 7px;
}
.product-filter-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 10px;
  max-width: 720px;
}
.product-category-section {
  display: grid;
  gap: 12px;
}
.product-category-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.product-category-heading h3 {
  margin: 2px 0 0;
  font-size: 20px;
}
.product-category-heading > span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}
.product-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}
.product-card {
  min-width: 0;
  min-height: 360px;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: 220px minmax(0, 1fr);
  color: var(--ink);
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.product-card:hover,
.product-card:focus-visible {
  border-color: rgba(255, 62, 0, 0.58);
  box-shadow: 0 10px 28px rgba(37, 29, 22, 0.09);
  outline: none;
}
.product-card-image {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #f7f4ee;
  border-bottom: 1px solid var(--border);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card-image .badge {
  position: absolute;
  top: 10px;
  right: 8px;
  margin: 0;
}
.product-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 14px;
}
.product-card-body small {
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 750;
}
.product-card-body strong {
  font-size: 17px;
  line-height: 1.25;
}
.product-card-body > span:not(.product-card-open) {
  color: var(--text-muted);
  line-height: 1.4;
}
.product-card-open {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 750;
}
.product-detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-back-button {
  width: fit-content;
}
.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: 14px;
}
.product-detail-visual {
  min-height: 430px;
  display: grid;
  place-items: center;
  background: #f8faf7;
}
.product-detail-visual img {
  width: 100%;
  height: 100%;
  max-height: 430px;
  object-fit: contain;
}
.product-detail-summary {
  display: grid;
  align-content: space-between;
  gap: 32px;
}
.product-detail-summary h2 {
  margin: 4px 0 10px;
  font-size: 30px;
  line-height: 1.18;
}
.product-detail-use {
  max-width: 640px;
  margin: 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.45;
}
.product-purchase {
  display: grid;
  justify-items: start;
  gap: 5px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.product-purchase > span,
.product-purchase > small {
  color: var(--text-muted);
}
.product-purchase > strong {
  font-size: 25px;
  line-height: 1.25;
}
.product-supplier-button {
  margin-top: 9px;
}
.product-detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.product-detail-section h3 {
  margin: 3px 0 14px;
  font-size: 18px;
}
.product-detail-facts {
  margin: 0;
}
.product-detail-facts > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.product-detail-facts dt {
  color: var(--text-muted);
  font-weight: 700;
}
.product-detail-facts dd {
  margin: 0;
  line-height: 1.45;
}
.product-detail-note {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  line-height: 1.5;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th,
td {
  padding: 12px 13px;
  text-align: left;
  border-bottom: 1px solid #edf0eb;
  vertical-align: middle;
}
th {
  background: #f5f2ec;
  color: var(--text-muted);
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}
tbody tr:hover {
  background: #fff8f3;
}
td strong {
  display: block;
}
.nowrap {
  white-space: nowrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #edf1ef;
  color: #49534f;
  font-size: 12px;
  font-weight: 750;
  margin-right: 4px;
  white-space: nowrap;
}
.badge.good {
  background: var(--green-soft);
  color: var(--green);
}
.badge.warn {
  background: var(--amber-soft);
  color: var(--amber);
}
.status-badge.status-active {
  background: var(--green-soft);
  color: var(--green);
}
.status-badge.status-potential {
  background: var(--amber-soft);
  color: var(--amber);
}
.status-badge.status-archived {
  background: #edf1ef;
  color: #56625d;
}
.margin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 7px;
  font-size: 12px;
  font-weight: 800;
  background: #edf1ef;
  color: #49534f;
  white-space: nowrap;
  flex-shrink: 0;
}
.margin-badge.good {
  background: var(--green-soft);
  color: var(--green);
}
.margin-badge.warning {
  background: var(--amber-soft);
  color: var(--amber);
}
.margin-badge.danger {
  background: var(--rose-soft);
  color: var(--rose);
}
.row-actions {
  display: flex;
  gap: 6px;
}
.save-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
}
.save-feedback {
  color: var(--green);
  font-weight: 800;
  white-space: nowrap;
}
.save-feedback.error {
  color: var(--rose);
}
.icon-button.danger {
  color: var(--rose);
}
.danger-text {
  color: var(--rose);
}
.notice {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #f0d9a1;
  background: var(--amber-soft);
  color: #72501a;
  padding: 11px 13px;
  border-radius: 8px;
  font-weight: 650;
}
.detail-header {
  justify-content: flex-start;
}
.detail-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
}
.tabs button {
  border-radius: 7px 7px 0 0;
}
.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.overview-grid .wide {
  grid-column: 1 / -1;
}
.editable-panel {
  display: grid;
  gap: 12px;
}
.panel-action {
  justify-self: start;
}
.result-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fafcf8;
  overflow: hidden;
}
.result-strip .metric {
  display: grid;
  align-content: center;
  justify-content: stretch;
  gap: 6px;
  min-width: 0;
  min-height: 72px;
  padding: 12px 14px;
  border-bottom: 0;
  border-left: 1px solid var(--border);
}
.result-strip .metric:first-child {
  border-left: 0;
}
.result-strip .metric span,
.result-strip .metric strong {
  display: block;
  text-align: left;
  white-space: nowrap;
}
.result-strip .metric strong {
  font-size: 17px;
}
.result-strip.payout-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 12px;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--amber);
  padding: 7px 0;
  font-weight: 650;
}
.check-row.done {
  color: var(--green);
}
.contact-row {
  display: grid;
  gap: 2px;
  padding: 8px 0;
  border-bottom: 1px solid #edf0eb;
}
.contact-row:last-child {
  border-bottom: 0;
}
.contact-row span,
.body-text {
  color: var(--text-muted);
}
.empty-panel {
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 38px;
  color: var(--text-muted);
}
.empty-panel h2 {
  margin: 8px 0 0;
  color: var(--ink);
}
.month-input {
  width: 160px;
}
.document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.document-card {
  display: grid;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 12px;
  color: inherit;
  text-decoration: none;
}
.document-card:hover {
  border-color: var(--brand);
}
.payout-table {
  overflow-x: auto;
}
.billing-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 18px;
}
.payout-group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.payout-group-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 12px;
  background: #fafcf8;
}
.payout-group-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.payout-object-list {
  display: grid;
  gap: 5px;
  color: var(--text-muted);
  font-size: 13px;
}
.payout-table th,
.payout-table td {
  min-width: 116px;
}
.payout-table th:first-child,
.payout-table td:first-child,
.payout-table th:nth-child(2),
.payout-table td:nth-child(2) {
  min-width: 170px;
}
.payout-table input,
.payout-table select {
  min-width: 92px;
  padding: 8px 9px;
}
.split-inputs {
  display: grid;
  grid-template-columns: 86px 86px;
  gap: 6px;
}
.recurring-tasks-panel {
  display: grid;
  gap: 12px;
}
.recurring-task-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
}
.recurring-task-grid .metric {
  border: 0;
  border-left: 1px solid var(--border);
  padding: 14px;
}
.recurring-task-grid .metric:first-child {
  border-left: 0;
}
.mini-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
  font-size: 12px;
}
.payout-days-button {
  width: 92px;
  display: grid;
  gap: 2px;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 8px 10px;
  background: var(--surface);
  color: var(--ink);
}
.payout-days-button:not(:disabled) {
  cursor: pointer;
}
.payout-days-button:not(:disabled):hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.payout-days-button strong {
  font-size: 16px;
}
.payout-days-button small {
  color: var(--text-muted);
  font-size: 11px;
}
.payout-calendar-row td {
  padding: 0;
  background: #fbfcfa;
}
.payout-calendar-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-top: 1px solid var(--border);
}
.payout-calendar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.payout-calendar-head h4 {
  margin: 2px 0 0;
}
.payout-calendar-grid {
  max-width: 440px;
  display: grid;
  grid-template-columns: repeat(7, minmax(38px, 1fr));
  gap: 6px;
}
.calendar-weekday {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}
.calendar-empty {
  min-height: 34px;
}
.payout-calendar-grid button {
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}
.payout-calendar-grid button.planned {
  border-color: #bed8cf;
}
.payout-calendar-grid button.selected {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}
.mini-check input {
  width: auto;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(31, 37, 35, 0.32);
  display: grid;
  place-items: center;
  padding: 28px;
}
.modal {
  width: min(860px, 100%);
  max-height: calc(100vh - 56px);
  overflow: auto;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(31, 37, 35, 0.28);
  padding: 20px;
  display: grid;
  gap: 16px;
}
.modal.confirm-dialog {
  width: min(440px, 100%);
}
.modal.unsaved-dialog {
  width: min(560px, 100%);
}
.danger-action {
  background: var(--rose);
  border-color: var(--rose);
}
.modal-header,
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.modal-header h2 {
  margin: 0;
}
.modal-actions {
  justify-content: flex-end;
}
.unsaved-actions {
  flex-wrap: wrap;
}
.day-picker {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.day-picker button {
  border: 1px solid var(--border);
  background: var(--surface);
  min-width: 44px;
}
.day-picker button.active {
  border-color: var(--black);
}
.calc-card {
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 10px 12px;
  background: var(--surface-soft);
}
.calc-card strong {
  font-size: 18px;
}
.calc-card span {
  color: var(--text-muted);
  font-size: 13px;
  white-space: nowrap;
}
.modal-section-title {
  font-size: 13px;
  font-weight: 850;
  color: var(--text-muted);
  text-transform: uppercase;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: end;
  min-height: 39px;
}
.checkbox-label input {
  width: auto;
}
.preset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.preset-grid button,
.todo-preview button {
  text-align: left;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 7px;
  padding: 11px;
}
.preset-grid button:hover,
.todo-preview button:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.preset-grid strong,
.todo-preview strong {
  display: block;
}
.preset-grid span,
.todo-preview span,
.empty-compact span {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 3px;
}
.task-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.todo-preview {
  display: grid;
  gap: 8px;
}
.todo-preview .text-button {
  border: 0;
  background: transparent;
  padding: 4px 0;
}
.todo-calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(270px, 24vw, 360px);
  gap: 14px;
  align-items: start;
}
.todo-calendar-panel,
.todo-sidebar {
  display: grid;
  gap: 14px;
}
.todo-sidebar {
  align-self: start;
}
.panel-header.compact {
  margin-bottom: 8px;
}
.todo-calendar-weekdays,
.todo-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.todo-calendar-weekdays span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}
.todo-calendar-empty,
.todo-day-cell {
  min-height: 116px;
}
.todo-day-cell {
  display: grid;
  align-content: start;
  gap: 7px;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  padding: 9px;
  text-align: left;
}
.todo-day-cell:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.todo-day-cell.selected {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}
.todo-day-cell.today .todo-day-number {
  background: var(--black);
  color: #fff;
}
.todo-day-number {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}
.todo-day-items {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.todo-chip {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 7px;
  padding: 5px 7px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 780;
}
.todo-chip.hot {
  background: var(--amber-soft);
  color: #9a5c00;
}
.todo-chip.low,
.todo-chip.muted {
  color: var(--text-muted);
}
.todo-chip.done {
  opacity: 0.58;
  text-decoration: line-through;
}
.selected-day-panel {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.selected-day-tasks,
.upcoming-task-list,
.todo-create-form {
  display: grid;
  gap: 8px;
}
.calendar-task-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 11px;
  background: #fff;
}
.calendar-task-row.done {
  opacity: 0.68;
}
.calendar-task-row strong,
.upcoming-task-list strong {
  display: block;
}
.calendar-task-row span,
.calendar-task-row small,
.upcoming-task-list span {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
  margin-top: 3px;
}
.upcoming-task-list button {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  padding: 10px;
  text-align: left;
}
.upcoming-task-list button:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.todo-create-form button {
  justify-self: stretch;
}
.empty-compact {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: var(--surface-soft);
  border-radius: 7px;
}
.financial-health-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 2.1fr);
  border: 1px solid var(--border);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}
.financial-health-panel.bad {
  border-left-color: var(--rose);
}
.financial-health-main {
  padding: 22px;
  display: grid;
  align-content: center;
  gap: 6px;
  background: #f1f6f2;
}
.financial-health-panel.bad .financial-health-main {
  background: var(--rose-soft);
}
.financial-health-main span,
.financial-health-main small {
  color: var(--text-muted);
  font-weight: 700;
}
.financial-health-main strong {
  font-size: 34px;
  color: var(--teal);
}
.financial-health-panel.bad .financial-health-main strong {
  color: var(--rose);
}
.financial-health-details,
.client-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.financial-health-details .metric,
.client-kpi-grid .metric {
  display: grid;
  align-content: center;
  gap: 7px;
  border: 0;
  border-left: 1px solid var(--border);
  padding: 18px;
}
.financial-health-details .metric strong,
.client-kpi-grid .metric strong {
  text-align: left;
  font-size: 19px;
}
.clients-finance-table th,
.clients-finance-table td,
.billing-layer th,
.billing-layer td {
  padding-top: 10px;
  padding-bottom: 10px;
}
.clients-finance-table {
  table-layout: fixed;
  min-width: 860px;
  font-size: 13px;
}
.clients-finance-table th,
.clients-finance-table td {
  padding-left: 9px;
  padding-right: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.clients-finance-table th:nth-child(1) {
  width: 12%;
}
.clients-finance-table th:nth-child(2) {
  width: 11%;
}
.clients-finance-table th:nth-child(3) {
  width: 14%;
}
.clients-finance-table th:nth-child(4) {
  width: 18%;
}
.clients-finance-table th:nth-child(5),
.clients-finance-table th:nth-child(6),
.clients-finance-table th:nth-child(7) {
  width: 9%;
}
.clients-finance-table th:nth-child(8) {
  width: 8%;
}
.clients-finance-table th:nth-child(9) {
  width: 6%;
}
.clients-finance-table th:nth-child(8),
.clients-finance-table td:nth-child(8),
.clients-finance-table th:nth-child(9),
.clients-finance-table td:nth-child(9) {
  padding-left: 4px;
  padding-right: 4px;
  overflow: visible;
}
.clients-finance-table tr.client-status-active td:first-child {
  box-shadow: inset 4px 0 0 var(--green);
}
.clients-finance-table tr.client-status-potential {
  background: rgba(255, 244, 216, 0.32);
}
.clients-finance-table tr.client-status-potential td:first-child {
  box-shadow: inset 4px 0 0 var(--amber);
}
.clients-finance-table tr.client-status-archived {
  color: #67736d;
  background: #fbfcfa;
}
.client-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-top: 4px;
}
.client-row-meta .badge {
  margin-right: 0;
}
.segment-client-name {
  display: inline-block;
  border-left: 4px solid #66736d;
  padding-left: 9px;
}
.clickable-row {
  cursor: pointer;
}
.employee-profile-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 2fr);
  gap: 16px;
  align-items: stretch;
}
.employee-profile-panel h3 {
  margin: 4px 0 0;
}
.cleaner-schedule-panel {
  display: grid;
  gap: 14px;
}
.weekly-schedule-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 10px;
  align-items: stretch;
  overflow-x: auto;
  padding-bottom: 2px;
}
.schedule-day-column {
  min-width: 150px;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
  background: #fbfcfa;
}
.schedule-day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 11px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
}
.schedule-day-header span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.schedule-day-items {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 9px;
}
.schedule-assignment-card,
.schedule-free-slot,
.weekend-assignment-list button {
  display: grid;
  gap: 5px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 10px;
  background: var(--surface);
  color: var(--ink);
}
.schedule-assignment-card {
  cursor: pointer;
}
.schedule-assignment-card:hover,
.weekend-assignment-list button:hover {
  border-color: var(--teal);
  background: #f8fbf7;
}
.schedule-assignment-card strong,
.schedule-free-slot strong,
.weekend-assignment-list strong {
  font-size: 14px;
}
.schedule-assignment-card small,
.schedule-assignment-card span,
.schedule-assignment-card em,
.schedule-free-slot span,
.weekend-assignment-list span {
  color: var(--text-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}
.schedule-time {
  width: fit-content;
  border-radius: 999px;
  padding: 3px 7px;
  background: #e4f1ec;
  color: var(--teal) !important;
  font-size: 11px !important;
  font-weight: 850;
}
.schedule-time.missing {
  background: #fff3d5;
  color: #8a5d2a !important;
}
.schedule-free-slot {
  border-style: dashed;
  background: #f8faf7;
}
.weekend-assignment-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.client-finance-summary {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 12px;
}
.client-economics .panel-header h3,
.billing-client-summary h3 {
  margin: 0;
}
.client-economics .client-kpi-grid {
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
}
.billing-client-summary {
  padding: 0;
  overflow: hidden;
}
.compact-billing-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.billing-form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.billing-form-actions small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.billing-layer {
  display: grid;
  gap: 12px;
}
.entity-workflow,
.payout-summary-panel {
  display: grid;
  gap: 14px;
}
.entity-totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(115px, 1fr));
  gap: 8px;
  min-width: 420px;
}
.entity-workflow-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.entity-workflow-tabs button {
  display: grid;
  gap: 4px;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 10px 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.entity-workflow-tabs button:hover,
.entity-workflow-tabs button.active {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.entity-workflow-tabs span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 850;
}
.entity-workflow-tabs small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
}
.entity-workflow-tabs strong {
  font-size: 18px;
}
.entity-totals .metric {
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 7px;
}
.entity-client-invoice-list {
  display: grid;
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
}
.entity-client-invoice-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(190px, 0.7fr) minmax(210px, 0.75fr) minmax(180px, 0.8fr) 42px;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #edf0eb;
}
.entity-client-invoice-row:last-child {
  border-bottom: 0;
}
.text-row-button {
  display: grid;
  gap: 4px;
  text-align: left;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.text-row-button span,
.cleaner-payout-summary small {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}
.check-action {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  line-height: 1.25;
}
.check-action input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}
.check-action input:disabled + span {
  color: var(--text-muted);
}
.cleaner-payout-summary {
  display: grid;
  gap: 3px;
}
.payout-summary-list {
  display: grid;
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
}
.payout-summary-row {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 90px 130px minmax(160px, 0.65fr);
  gap: 12px;
  align-items: center;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #edf0eb;
  padding: 12px 14px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.payout-summary-row:last-child {
  border-bottom: 0;
}
.payout-summary-row:hover {
  background: #f8fbf7;
}
.payout-summary-row small,
.payout-summary-row span {
  color: var(--text-muted);
  font-weight: 750;
}
.report-send-list {
  display: grid;
  gap: 8px;
}
.report-send-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid #edf0eb;
}
.report-send-row:last-child {
  border-bottom: 0;
}
.integration-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}
.disabled-link {
  opacity: 0.48;
  pointer-events: auto;
  cursor: not-allowed;
}
.segment-settings-list {
  display: grid;
}
.segment-settings-row {
  display: grid;
  grid-template-columns: 76px minmax(180px, 0.7fr) minmax(320px, 2fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px 0;
  border-bottom: 1px solid #edf0eb;
}
.segment-settings-row:last-child {
  border-bottom: 0;
}
.color-field input {
  height: 42px;
  padding: 4px;
}
.segment-scope-field textarea {
  resize: vertical;
}
.settings-intro {
  margin-top: -4px;
}
.integration-settings {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}
.integration-settings .integration-note {
  grid-column: 1 / -1;
}
.document-package-panel {
  display: grid;
  gap: 12px;
}
.document-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.editable-document-package {
  grid-template-columns: minmax(220px, 0.7fr) repeat(2, minmax(280px, 1fr));
  align-items: stretch;
}
.editable-document-package.document-package-grid-two {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
}
.document-package-item {
  min-height: 142px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--ink);
  text-decoration: none;
  background: #fbfcfa;
}
.document-package-item.offer-card {
  border-color: #f0d9a1;
  background: #fffaf0;
}
.document-package-item:hover {
  border-color: var(--brand);
}
.document-package-item p,
.document-package-item span {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
  max-height: 76px;
  overflow: hidden;
}
.document-draft-editor {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
}
.draft-editor-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.draft-editor-header span,
.draft-lock-note {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
  margin-top: 3px;
}
.document-draft-editor textarea {
  width: 100%;
  min-width: 0;
  resize: vertical;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  font-size: 12px;
  line-height: 1.45;
}
.document-draft-editor.locked {
  background: #f8faf7;
}
.document-draft-editor.locked textarea {
  opacity: 0.62;
}
@media (max-width: 1180px) {
  body {
    min-width: 960px;
  }
  .stat-grid.five,
  .stat-grid.six,
  .compact-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .financial-health-panel,
  .client-finance-summary {
    grid-template-columns: 1fr;
  }
  .segment-settings-row {
    grid-template-columns: 70px 1fr;
  }
  .segment-scope-field {
    grid-column: 1 / -1;
  }
  .topbar {
    grid-template-columns: minmax(150px, 0.7fr) minmax(420px, 1fr);
  }
  .employee-profile-panel {
    grid-template-columns: 1fr;
  }
  .editable-document-package,
  .filter-row,
  .product-filter-row,
  .cost-form,
  .recurring-task-grid {
    grid-template-columns: 1fr;
  }
  .product-detail-layout,
  .product-detail-info-grid {
    grid-template-columns: 1fr;
  }
  .entity-totals {
    min-width: 0;
    grid-template-columns: 1fr;
  }
  .entity-workflow-tabs {
    grid-template-columns: 1fr;
  }
  .entity-client-invoice-row,
  .payout-summary-row,
  .todo-calendar-layout {
    grid-template-columns: 1fr;
  }
  .todo-calendar-empty,
  .todo-day-cell {
    min-height: 96px;
  }
}
@media (max-width: 1000px) {
  body {
    min-width: 760px;
  }
  .app-shell {
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .sidebar {
    padding-inline: 10px;
  }
  .logo {
    justify-items: center;
    padding-inline: 0;
  }
  .logo .sprezza-lockup {
    width: 32px;
  }
  .logo .sprezza-mark {
    width: 100%;
  }
  .logo .sprezza-wordmark,
  .logo small,
  .nav-button span,
  .sidebar-footer > div {
    display: none;
  }
  .nav-button {
    justify-content: center;
    padding-inline: 8px;
  }
  .sidebar-footer {
    justify-content: center;
  }
  .topbar {
    grid-template-columns: 132px minmax(430px, 1fr);
    padding-inline: 20px;
  }
  main {
    padding: 22px 20px;
  }
}
/*# sourceMappingURL=/assets/main-CC6W7TXK.css.map */
