/* Website-only optional font aliases from Fontsource 5.3.0. */
/* dm-sans-latin-ext-400-normal */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/website/dm-sans-latin-ext-400-normal.woff2) format('woff2');
  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;
}

/* dm-sans-latin-400-normal */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/website/dm-sans-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* dm-sans-latin-ext-500-normal */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/website/dm-sans-latin-ext-500-normal.woff2) format('woff2');
  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;
}

/* dm-sans-latin-500-normal */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/website/dm-sans-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* dm-sans-latin-ext-600-normal */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/website/dm-sans-latin-ext-600-normal.woff2) format('woff2');
  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;
}

/* dm-sans-latin-600-normal */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/website/dm-sans-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* manrope-cyrillic-ext-400-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/website/manrope-cyrillic-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* manrope-cyrillic-400-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/website/manrope-cyrillic-400-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* manrope-greek-400-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/website/manrope-greek-400-normal.woff2) format('woff2');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* manrope-vietnamese-400-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/website/manrope-vietnamese-400-normal.woff2) format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* manrope-latin-ext-400-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/website/manrope-latin-ext-400-normal.woff2) format('woff2');
  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;
}

/* manrope-latin-400-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/website/manrope-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* manrope-cyrillic-ext-600-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/website/manrope-cyrillic-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* manrope-cyrillic-600-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/website/manrope-cyrillic-600-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* manrope-greek-600-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/website/manrope-greek-600-normal.woff2) format('woff2');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* manrope-vietnamese-600-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/website/manrope-vietnamese-600-normal.woff2) format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* manrope-latin-ext-600-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/website/manrope-latin-ext-600-normal.woff2) format('woff2');
  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;
}

/* manrope-latin-600-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/website/manrope-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* manrope-cyrillic-ext-700-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/website/manrope-cyrillic-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* manrope-cyrillic-700-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/website/manrope-cyrillic-700-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* manrope-greek-700-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/website/manrope-greek-700-normal.woff2) format('woff2');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* manrope-vietnamese-700-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/website/manrope-vietnamese-700-normal.woff2) format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* manrope-latin-ext-700-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/website/manrope-latin-ext-700-normal.woff2) format('woff2');
  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;
}

/* manrope-latin-700-normal */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/website/manrope-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}:root {
  --paper: #f7f8fa;
  --ink: #25322d;
  --muted: #778079;
  --line: #e4e9e5;
  --green: #28684e;
  --green-light: #eaf2ec;
  --yellow: #f2ce64;
  --white: #fff;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  letter-spacing: 0;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d8e0da;
  border-radius: 6px;
  padding: 10px 14px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 500;
  min-height: 40px;
}
button:hover,
.button:hover {
  background: #f0f4f1;
  border-color: #b7cbbd;
}
button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
button.primary,
.button.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
button.primary:hover {
  background: #1f553e;
}
button.text-button {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--green);
  min-height: 32px;
}
.icon-button {
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 7px;
  flex-shrink: 0;
  background: transparent;
  border-color: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #d9b843;
  outline-offset: 3px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid #d6ddd8;
  border-radius: 5px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  outline: none;
  min-height: 42px;
}
[hidden] {
  display: none !important;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px #28684e15;
}
input[readonly] {
  background: #f4f6f4;
}
input[type="checkbox"] {
  width: 19px;
  height: 19px;
  min-height: 19px;
  accent-color: var(--green);
  flex-shrink: 0;
}
textarea {
  resize: vertical;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 17px;
}
label.checkbox {
  flex-direction: row;
  align-items: center;
  margin: 0;
}
h1,
h2,
h3,
.wordmark {
  font-family: "Manrope", sans-serif;
}
h1 {
  font-size: 30px;
  line-height: 1.3;
  font-weight: 700;
  overflow-wrap: anywhere;
}
h2 {
  font-size: 18px;
  font-weight: 700;
}
h3 {
  font-size: 15px;
  font-weight: 700;
}
small {
  font-size: 12px;
}
svg {
  flex-shrink: 0;
}
.muted {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.eyebrow {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 9px;
}
.app-shell {
  min-height: 100vh;
}
.sidebar {
  width: 244px;
  background: #fff;
  position: fixed;
  inset: 0 auto 0 0;
  border-right: 1px solid var(--line);
  padding: 30px 20px 18px;
  display: flex;
  flex-direction: column;
  z-index: 40;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #254f3b;
  font-size: 26px;
  font-weight: 700;
  white-space: nowrap;
}
.wordmark > span {
  color: #c7a52b;
  margin-left: -10px;
}
.company-switch {
  display: flex;
  gap: 10px;
  margin: 35px 0 29px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.company-switch > div,
.profile > div {
  min-width: 0;
}
.company-switch strong,
.profile strong {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.company-switch small,
.profile small {
  color: var(--muted);
  font-size: 11px;
}
.avatar {
  background: #edf0e8;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #506347;
}
.avatar.dark {
  background: #335641;
  color: white;
}
.nav-label {
  color: #969d97;
  font-size: 10px;
  font-weight: 600;
  margin: 0 12px 12px;
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.sidebar nav button,
.sidebar nav .problem-report-link {
  justify-content: flex-start;
  border: 0;
  padding: 11px 12px;
  color: #68756b;
  background: transparent;
  width: 100%;
}
.sidebar nav .problem-report-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border-radius: 6px;
  color: var(--green);
}
.sidebar nav .problem-report-link:hover {
  background: var(--green-light);
}
.sidebar nav button.active {
  color: var(--green);
  background: var(--green-light);
  font-weight: 600;
}
.nav-count {
  margin-left: auto;
  background: #d8e7dc;
  color: var(--green);
  border-radius: 4px;
  padding: 0 6px;
  font-size: 11px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 28px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
}
.profile .icon-button {
  margin-left: auto;
}
.byline {
  display: block;
  color: #9a9f9a;
  margin-top: 20px;
  font-size: 10px;
}
.main-shell {
  margin-left: 244px;
  min-width: 0;
}
.topbar {
  height: 72px;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  background: #ffffffcc;
  font-size: 12px;
}
.topbar > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.crumb {
  margin: 0 15px;
  color: #adb5af;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  flex-shrink: 0;
  font-size: 11px;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: #639a74;
  border-radius: 50%;
}
.today {
  margin-left: 18px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.workspace {
  padding: 35px 34px 50px;
  min-height: calc(100vh - 125px);
  max-width: 1800px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
}
.page-heading .muted {
  margin-top: 9px;
  font-size: 13px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 0 33px;
  padding: 23px 0;
  gap: 20px 0;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 22px;
  border-left: 1px solid var(--line);
  min-width: 0;
}
.stat:first-child {
  padding-left: 0;
  border-left: 0;
}
.stat > span {
  color: #6e7b71;
  font-size: 12px;
}
.stat strong {
  font-family: "Manrope", sans-serif;
  font-size: 27px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.stat small {
  font-size: 11px;
  color: #8c968d;
}
.stat.warning strong,
.stat.warning small {
  color: #ac6b22;
}
.overview-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 30px;
}
.overview-columns > section {
  min-width: 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
}
.section-heading:not(:first-child) {
  margin-top: 35px;
}
.project-list {
  border-top: 1px solid var(--line);
}
.project-row {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 21px 0;
  display: flex;
  gap: 14px;
  text-align: left;
  justify-content: flex-start;
}
.project-row:hover {
  background: #eef3ef;
}
.project-symbol,
.document-symbol {
  width: 43px;
  height: 45px;
  display: grid;
  place-items: center;
  background: #e8ece3;
  color: #617c52;
  border-radius: 6px;
  flex-shrink: 0;
  overflow: hidden;
}
.project-symbol img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-symbol.buiten {
  background: #e9edf6;
  color: #60806a;
}
.project-symbol.beide {
  background: #f6edda;
  color: #957b38;
}
.project-name {
  flex: 1;
  min-width: 0;
}
.project-name strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.project-name small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #8d968f;
  overflow-wrap: anywhere;
}
.project-date {
  color: var(--muted);
  font-size: 11px;
}
.overview-columns .project-date {
  display: none;
}
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  padding: 4px 7px;
  background: #ecefee;
  color: #67746b;
  white-space: nowrap;
  width: fit-content;
}
.badge.uitvoering {
  background: #f9edcb;
  color: #8e6918;
}
.badge.gepland,
.badge.opgeleverd {
  background: #e5efe5;
  color: #40764f;
}
.badge.offerte {
  background: #e7edf7;
  color: #5d806a;
}
.badge.gefactureerd {
  background: #e4e9f0;
  color: #485977;
}
.progress-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 105px;
  flex-shrink: 0;
}
.progress {
  display: block;
  background: #e1e7e1;
  height: 5px;
  width: 65px;
  overflow: hidden;
  border-radius: 2px;
}
.progress > span {
  display: block;
  height: 100%;
  background: #57916a;
}
.progress-cell small {
  font-size: 10px;
  color: var(--muted);
}
/* Overzicht/dashboard — rustige cockpit-stijl */
.dashboard { display: flex; flex-direction: column; gap: 30px; }
.dash-title { font-size: 16px; font-weight: 650; margin: 0 0 14px; }
.dash-section .section-heading { margin-bottom: 14px; }
.dash-section .section-heading .dash-title { margin: 0; }
.action-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.action-card {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease;
}
.action-card:hover { border-color: color-mix(in srgb, var(--green) 35%, var(--line)); box-shadow: 0 1px 10px rgba(16, 163, 74, .06); }
.action-icon { flex: none; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; }
.action-icon.amber { background: #faedcb; color: #8e6918; }
.action-icon.green { background: var(--green-light); color: var(--green); }
.action-body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.action-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.action-value { font-size: 22px; font-weight: 700; line-height: 1.1; overflow-wrap: anywhere; }
.action-sub { font-size: 12px; color: var(--muted); }
.action-link { font-size: 13px; font-weight: 600; color: var(--green); white-space: nowrap; }
.today-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 2px 18px; }
.today-row { display: flex; align-items: center; gap: 14px; padding: 15px 0 15px 14px; border-bottom: 1px solid var(--line); position: relative; }
.today-row:last-of-type { border-bottom: 0; }
.today-rail { position: absolute; left: 0; top: 15px; bottom: 15px; width: 3px; border-radius: 2px; background: var(--green); }
.today-time { font-size: 13px; font-weight: 600; white-space: nowrap; }
.today-main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.today-main strong { font-size: 14px; }
.today-main small { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.today-live { margin: 2px 0 12px; font-size: 12px; color: var(--muted); }
.dash-columns { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.dash-side { display: flex; flex-direction: column; gap: 20px; }
.finance-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.finance-card .section-heading { margin: 0 0 10px; }
.finance-card h2 { font-size: 14px; }
.finance-row { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; font-size: 13px; border-top: 1px solid var(--line); }
.finance-row:first-of-type { border-top: 0; }
.finance-row span { color: var(--muted); }
.finance-row strong { font-size: 14px; }
.dashboard .project-row { align-items: center; }
.project-next { display: block; margin-top: 5px; font-size: 12px; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.project-done { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
.badge.attention { background: #fbe4e4; color: #b4322e; }
/* Overflow 'Meer'-menu in de projecttoolbar */
.overflow-menu { position: relative; }
.overflow-menu > summary { list-style: none; cursor: pointer; }
.overflow-menu > summary::-webkit-details-marker { display: none; }
.overflow-pop {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 20;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 10px 30px rgba(20, 40, 30, .12); padding: 6px; min-width: 190px;
  display: flex; flex-direction: column; gap: 2px;
}
.overflow-pop button {
  display: inline-flex; align-items: center; gap: 8px; width: 100%;
  justify-content: flex-start; border: 0; background: transparent;
  padding: 9px 11px; border-radius: 7px; font-size: 13px; cursor: pointer; color: var(--ink);
}
.overflow-pop button:hover { background: #f1f4f2; }
.overflow-pop button.danger { color: #b4322e; }
.overflow-pop button.danger:hover { background: #fbe9e9; }
/* Offerte-voorbeeld dialoog */
.quote-preview { display: flex; flex-direction: column; gap: 16px; }
.quote-split-toggle { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--green-light); cursor: pointer; }
.quote-split-toggle input { flex: none; width: 20px; height: 20px; min-height: 20px; margin: 2px 0 0; accent-color: var(--green); }
.quote-split-toggle span { display: flex; flex-direction: column; gap: 2px; }
.quote-split-toggle strong { font-size: 14px; }
.quote-split-toggle small { font-size: 12px; color: var(--muted); }
.quote-lines { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.quote-line { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 14px; border-top: 1px solid var(--line); font-size: 14px; }
.quote-line:first-child { border-top: 0; }
.quote-line span { overflow-wrap: anywhere; }
.quote-line strong { white-space: nowrap; }
.quote-totals { display: flex; flex-direction: column; gap: 4px; padding: 4px 2px; }
.quote-totals > div { display: flex; justify-content: space-between; font-size: 14px; }
.quote-totals .quote-grand { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; font-size: 15px; }
/* Projectdetail metric-kaarten + projecten samenvatting */
.metric-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-bottom: 24px; }
.metric-card { display: flex; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.metric-icon { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }
.metric-icon.green { background: var(--green-light); color: var(--green); }
.metric-icon.amber { background: #faedcb; color: #8e6918; }
.metric-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.metric-label { font-size: 12px; color: var(--muted); font-weight: 500; }
.metric-value { font-size: 20px; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.metric-sub { font-size: 11px; color: var(--muted); }
.metric-bar { display: block; height: 5px; border-radius: 3px; background: #e1e7e1; overflow: hidden; margin-top: 7px; }
.metric-bar > span { display: block; height: 100%; border-radius: 3px; background: #57916a; }
.metric-bar > span.over { background: #c7913b; }
.summary-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 22px; }
.summary-stat { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; border-left: 1px solid var(--line); }
.summary-stat:first-child { border-left: 0; }
.summary-value { font-size: 22px; font-weight: 700; line-height: 1; }
.summary-label { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) {
  .summary-strip { grid-template-columns: 1fr 1fr; }
  .summary-stat:nth-child(odd) { border-left: 0; }
  .summary-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .table-scroll:has(.responsive-table) { overflow: visible; }
  .responsive-table thead { display: none; }
  .responsive-table, .responsive-table tbody, .responsive-table tr, .responsive-table td { display: block; width: 100%; }
  .responsive-table tr { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 2px 14px; background: #fff; }
  .responsive-table td { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 0; border: 0; text-align: right; }
  .responsive-table td + td { border-top: 1px solid var(--line); }
  .responsive-table td::before { content: attr(data-label); font-weight: 600; color: var(--muted); text-align: left; white-space: nowrap; }
  .responsive-table td.row-actions-cell { justify-content: flex-end; }
  .responsive-table td.row-actions-cell::before { content: ""; }
  .responsive-table td.row-actions-cell:empty { display: none; }
}
@media (max-width: 1024px) {
  .dash-columns { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .today-row { flex-wrap: wrap; }
  .today-row .ghost { width: 100%; justify-content: center; }
  .action-value { font-size: 20px; }
}
.pipeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pipeline-group {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.pipeline-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--paper);
  border: 0;
  cursor: pointer;
  text-align: left;
}
.pipeline-head:hover {
  background: #eef3ef;
}
.pipeline-caret {
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.pipeline-caret.open {
  transform: rotate(90deg);
}
.pipeline-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.pipeline-who {
  font-size: 11px;
  color: var(--muted);
}
.pipeline-count {
  margin-left: auto;
  min-width: 22px;
  height: 20px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e6ece7;
  color: #5a6b5e;
  font-size: 11px;
  font-weight: 600;
}
.pipeline-group .project-list {
  border-top: 1px solid var(--line);
  padding: 0 14px;
}
.project-row.pipe {
  align-items: center;
}
.project-next {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
  min-width: 210px;
  text-align: right;
}
.next-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.next-action {
  font-size: 12px;
  color: var(--ink);
}
.who-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.who-badge.werkgever {
  background: #e7edf7;
  color: #486a55;
}
.who-badge.klant {
  background: #f3e8f6;
  color: #8a4f9a;
}
.who-badge.werknemer {
  background: #e6f4ea;
  color: #2f8a5b;
}
.who-badge.afgerond {
  background: #eceeec;
  color: #7a847d;
}
.flag-line {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.attention-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  background: #fbe6e6;
  color: #b05656;
}
.attention-pill.meerwerk {
  background: #fdf1dd;
  color: #9a6a1c;
}
.stage-flow {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.stage-head strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}
.stage-head .muted {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.stage-next {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: -4px 0 0;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--paper);
}
.contact-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 8px;
}
.contact-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.contact-addr {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--green);
  text-decoration: none;
}
.contact-link:hover {
  text-decoration: underline;
}
.stage-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stage-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.stage-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.stage-actions .text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.stage-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stage-progress .progress {
  flex: 1;
  width: auto;
}
.stage-progress small {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.clock-flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.clock-head strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}
.clock-head .muted {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.clock-big {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px;
  font-size: 16px;
  font-weight: 600;
}
.clock-timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--green-light);
}
.clock-value {
  font-size: 34px;
  font-weight: 700;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.clock-state {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.clock-choice {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checklist-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checklist-section h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.checklist-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.checklist-name {
  font-size: 13px;
  font-weight: 600;
}
.checklist-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.step-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  background: #fff;
}
.step-chip.done {
  background: var(--green-light);
  border-color: #cfe6d7;
  color: #2f8a5b;
}
.checklist-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.checklist-row select {
  flex: 1;
  min-width: 120px;
}
.checklist-row input[type="number"] {
  width: 80px;
}
.material-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.material-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.material-name {
  flex: 1;
  font-size: 13px;
}
.material-row input {
  width: 80px;
}
.live-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 24px;
  background: #fff;
}
.live-badge {
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--green-light);
  color: #2f8a5b;
  font-size: 12px;
  font-weight: 700;
}
.live-empty {
  font-size: 13px;
}
.live-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.live-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
}
.live-row:last-child {
  border-bottom: 0;
}
.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.live-dot.on {
  background: #3fae6b;
  box-shadow: 0 0 0 4px rgba(63, 174, 107, 0.18);
  animation: livePulse 1.6s ease-in-out infinite;
}
.live-dot.pause {
  background: #d8b23f;
}
.live-dot.stale {
  background: #b05656;
}
.live-dot.idle {
  background: #c4ccc6;
}
.live-subhead {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 10px 0 2px;
}
.live-time.idle-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.header-clock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.header-clock.off:hover {
  background: var(--paper);
}
.header-clock.on {
  border-color: #cfe6d7;
  color: var(--green);
  background: var(--green-light);
}
.header-clock .hc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3fae6b;
  box-shadow: 0 0 0 3px rgba(63, 174, 107, 0.18);
  animation: livePulse 1.6s ease-in-out infinite;
}
.header-clock.paused .hc-dot {
  background: #d8b23f;
  box-shadow: none;
  animation: none;
}
.header-clock.stale {
  border-color: #e6c7c7;
  color: #b05656;
  background: #fbf3f3;
}
.header-clock.stale .hc-dot {
  background: #b05656;
  box-shadow: none;
  animation: none;
}
.header-clock .hc-time {
  font-variant-numeric: tabular-nums;
}
.header-clock .hc-name {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.85;
}
.clock-warning {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 16px;
  border: 1px solid #dce5df;
  border-radius: 10px;
  background: #fff;
  color: #58675e;
  font-size: 13px;
}
.clock-warning > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
}
.clock-warning > summary::-webkit-details-marker { display: none; }
.clock-warning > summary > svg { flex-shrink: 0; }
.clock-warning > summary > span:first-of-type { flex: 1; }
.clock-warning .clock-warning-toggle {
  color: #28684f;
  font-weight: 600;
  white-space: nowrap;
}
.clock-warning-toggle::after { content: " ⌄"; }
.clock-warning[open] .clock-warning-toggle::after { content: " ⌃"; }
.clock-warning > summary:focus-visible { outline: 2px solid #28684f; outline-offset: 3px; border-radius: 10px; }
.clock-warning-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px 12px;
}
.clock-warning-actions button { font-size: 12px; padding: 8px 12px; min-height: 36px; }
.clock-warning-actions .ghost {
  background: transparent;
  border: 1px solid #dce5df;
  color: #58675e;
  border-radius: 8px;
  cursor: pointer;
}
.clock-backdate-toggle {
  display: block;
  margin: 8px auto 0;
}
.clock-backdate {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.clock-backdate label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.clock-backdate input[type="time"] {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 16px;
}
.clockpick-list {
  display: flex;
  flex-direction: column;
}
.clockpick-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.clockpick-row:hover {
  background: #eef3ef;
}
.settings-hint {
  font-size: 12px;
  color: var(--muted);
  margin: -6px 0 12px;
}
.wish-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 13px;
}
.heading-actions {
  display: flex;
  gap: 8px;
}
.settings-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.settings-tabs button {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.settings-tabs button.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.integration-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.integration-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.integration-head p {
  margin: 2px 0 0;
  font-size: 13px;
}
.integration-status {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.integration-status.off {
  background: #eef1ee;
  color: var(--muted);
}
.integration-status.on {
  background: #d6ead9;
  color: #2f6d3b;
}
.webhook-url {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  margin: 6px 0 10px;
}
.webhook-url code {
  flex: 1;
  font-size: 12px;
  word-break: break-all;
}
.quote-detail-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.toolbar-quote {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.toolbar-quote .quote-detail-toggle {
  padding-left: 2px;
}
.info-note {
  display: block;
  margin: 0 0 16px;
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, var(--green) 30%, var(--line));
  border-left: 3px solid var(--green);
  border-radius: 10px;
  background: var(--green-light);
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}
.composer-note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.composer-note textarea {
  resize: vertical;
  min-height: 48px;
}
.composer-tasks {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  margin: 4px 0 12px;
}
.work-checklist { margin: 16px 0 4px; padding-top: 16px; border-top: 1px solid var(--line); position: relative; }
.work-item input:disabled, .work-item button:disabled { pointer-events: none; }
.work-activity-toggle { display: flex; flex-direction: row; align-items: center; gap: 10px; margin: 0; cursor: pointer; }
.work-activity-toggle input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--green); }
.work-head { display: flex; flex-direction: row; align-items: center; gap: 14px; padding: 12px 16px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel, #fff); cursor: pointer; transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.work-head:hover { border-color: color-mix(in srgb, var(--green) 40%, var(--line)); box-shadow: 0 1px 10px rgba(16, 163, 74, 0.06); }
.work-head.complete { background: var(--green-light); border-color: var(--green); }
.work-head > input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--green); cursor: pointer; transition: transform .2s ease; }
.work-head.complete > input { transform: scale(1.08); }
.work-head-body { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.work-head-top { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; }
.work-head-name { font-weight: 650; font-size: 15px; overflow-wrap: anywhere; }
.work-head-count { font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.work-head.complete .work-head-count { color: var(--green); }
.work-head-bar { display: block; height: 6px; border-radius: 999px; background: color-mix(in srgb, var(--line) 70%, transparent); overflow: hidden; }
.work-head-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #22c55e, #16a34a); transition: width .45s cubic-bezier(.22,1,.36,1); }
.work-subs { margin-left: 20px; padding-left: 18px; border-left: 2px solid color-mix(in srgb, var(--green) 24%, var(--line)); }
.work-subs.under-head { border-left-color: color-mix(in srgb, var(--green) 40%, var(--line)); }
.work-group + .work-group { margin-top: 22px; }
.work-activity { padding: 14px 2px; border-top: 1px solid var(--line); }
.work-subs > .work-activity:first-child { border-top: none; padding-top: 10px; }
.work-activity-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 10px; }
.work-activity-head strong { font-size: 14px; overflow-wrap: anywhere; }
.work-activity-head > span { font-size: 12px; color: var(--muted); transition: color .25s ease; }
.work-activity.complete .work-activity-head > span { color: var(--green); }
.work-pieces { display: flex; gap: 8px; flex-wrap: wrap; }
.work-piece { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin: 0; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .12s ease; }
.work-piece:hover { border-color: color-mix(in srgb, var(--green) 45%, var(--line)); }
.work-piece:active { transform: scale(.92); }
.work-piece.done { background: var(--green-light); border-color: var(--green); animation: work-pop .32s cubic-bezier(.34,1.56,.64,1); }
.work-piece input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.work-piece:has(input:disabled) { cursor: default; }
.work-piece-num { font-size: 13px; font-weight: 600; color: var(--muted); transition: opacity .18s ease, transform .18s ease; pointer-events: none; }
.work-piece.done .work-piece-num { opacity: 0; transform: scale(.6); }
.work-piece-check { position: absolute; color: var(--green); opacity: 0; transform: scale(.4) rotate(-12deg); transition: opacity .2s ease, transform .22s cubic-bezier(.34,1.56,.64,1); pointer-events: none; }
.work-piece.done .work-piece-check { opacity: 1; transform: scale(1) rotate(0); }
@keyframes work-pop { 0% { transform: scale(.86); } 55% { transform: scale(1.12); } 100% { transform: scale(1); } }
.work-confetti { position: absolute; left: 0; right: 0; top: 0; height: 0; pointer-events: none; overflow: visible; z-index: 20; }
.confetti-piece { position: absolute; top: 8px; width: var(--size, 9px); height: calc(var(--size, 9px) * 1.6); border-radius: 2px; opacity: 0; will-change: transform, opacity; animation: confetti-fall 1.25s var(--delay, 0s) cubic-bezier(.2,.6,.3,1) forwards; }
@keyframes confetti-fall { 0% { opacity: 0; transform: translate(0, -6px) rotate(0); } 12% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x, 0), var(--y, 160px)) rotate(var(--r, 360deg)); } }
@media (prefers-reduced-motion: reduce) {
  .work-piece, .work-piece.done, .work-head-fill, .work-piece-num, .work-piece-check, .work-head > input { animation: none; transition: none; }
  .confetti-piece { display: none; }
}
.work-record { display: block; color: var(--muted); font-size: 11px; margin-top: 9px; }
.work-legacy { font-size: 12px; }
.work-quantity { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
.work-quantity label { width: 100px; margin: 0; font-size: 12px; }
.work-quantity input { width: 100%; margin-top: 5px; }
.work-quantity > span { padding-bottom: 12px; font-size: 13px; }
.work-quantity button { min-height: 44px; }
.work-pages { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.work-pages button { min-width: 44px; min-height: 44px; }
.work-extras { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.work-note { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.work-note textarea { font: inherit; font-weight: 400; color: var(--ink, inherit); resize: vertical; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.work-note textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(16, 163, 74, 0.12); }
.work-note-add { align-self: flex-start; }
.composer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.composer-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.composer-row, .composer-columns {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 82px 72px 90px 94px 72px;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.composer-row.is-sub {
  margin-left: 18px;
  padding-left: 12px;
  border-left: 2px solid var(--line);
}
.composer-row label, .composer-row select, .composer-row input {
  min-width: 0;
  width: 100%;
  margin: 0;
}
.composer-columns {
  color: var(--muted);
  font-size: 12px;
}
.composer-price, .composer-amount {
  text-align: right;
}
.composer-unit, .composer-amount { font-size: 13px; }
.composer-row-actions { display: grid; grid-template-columns: repeat(2, 32px); gap: 3px; }
.composer-row-actions .icon-button { min-width: 32px; padding: 6px; }
.drag-handle { display: inline-flex; align-items: center; justify-content: center; cursor: grab; user-select: none; }
.drag-handle svg { pointer-events: none; }
.composer-activity { display: flex; flex-direction: column; gap: 4px; }
.work-title { flex-wrap: wrap; }
.work-title > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.wizard-line { flex-wrap: wrap; }
.wizard-line > span { min-width: 0; overflow-wrap: anywhere; }
.composer-amount { overflow-wrap: anywhere; }
.composer-mobile-label { display: none; }
dialog:has(.item-composer) { width: min(860px, calc(100vw - 32px)); }
.money-input { position: relative; display: block; }
.money-input > span { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.money-input input { padding-left: 26px; }
@media (max-width: 760px) {
  .composer-columns { display: none; }
  .composer-row { grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr); gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .composer-activity { grid-column: 1 / -1; }
  .composer-mobile-label { display: block; font-size: 11px; color: var(--muted); font-weight: 400; margin-bottom: 5px; }
  .composer-unit { align-self: end; }
  .composer-amount { grid-column: 1 / 3; grid-row: 3; display: flex; justify-content: space-between; gap: 8px; }
  .composer-row-actions { grid-column: 3; grid-row: 3; justify-self: end; }
  .composer-row > .icon-button { grid-column: 4; grid-row: 2; align-self: end; min-height: 40px; }
}
.composer-total {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin: 8px 0 12px;
}
.composer-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 2px 0;
}
.composer-total-row.muted {
  color: var(--muted);
  font-size: 12px;
}
.preset-group {
  margin-bottom: 14px;
}
.preset-group h3 {
  font-size: 13px;
  margin: 0 0 6px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.preset-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.preset-row .preset-name {
  flex: 1;
}
.preset-row .preset-meta {
  color: var(--muted);
  font-size: 12px;
}
.preset-row.exists {
  opacity: 0.5;
}
.dossier-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
.dossier-controls select {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
}
.dossier-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.dossier-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.dossier-item.open {
  border-color: #e7bcbc;
  background: #fbecec;
}
.dossier-item.resolved {
  opacity: 0.6;
}
.dossier-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
}
.dossier-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef1ee;
  color: var(--ink);
}
.dossier-badge.open {
  background: #a2434a;
  color: #fff;
}
.dossier-badge.verzuim {
  background: #f0d9a8;
  color: #8a6d1c;
}
.dossier-details {
  margin: 2px 0 0;
  color: var(--ink);
}
.dossier-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.dossier-item .ghost {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}
.drag-handle {
  cursor: grab;
  color: var(--muted);
  width: 32px;
  text-align: center;
}
.drag-handle:active {
  cursor: grabbing;
}
tr[draggable="true"] {
  cursor: grab;
}
.order-controls {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.order-controls .drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 28px;
  color: var(--muted);
}
.order-controls .icon-button:disabled {
  opacity: 0.3;
  cursor: default;
}
@media (max-width: 640px) {
  .header-clock .hc-name {
    display: none;
  }
  .clock-warning {
    flex-wrap: wrap;
  }
}
@keyframes livePulse {
  50% {
    box-shadow: 0 0 0 7px rgba(63, 174, 107, 0.06);
  }
}
.live-who {
  flex: 1;
  min-width: 0;
}
.live-who strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
}
.live-who small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.live-time {
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.stage-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.stage-footer .primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cancelled-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 14px;
  border: 1px solid #e6c7c7;
  border-radius: 8px;
  background: #fbf3f3;
  color: #b05656;
  font-size: 13px;
  font-weight: 600;
}
.toolbar .text-button.danger {
  color: #b05656;
}
.toolbar .text-button.danger:hover:not(:disabled) {
  color: #8f3f3f;
}
@media (max-width: 640px) {
  .project-row.pipe {
    flex-wrap: wrap;
  }
  .project-next {
    min-width: 0;
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }
  .next-line,
  .flag-line {
    justify-content: flex-start;
  }
  .project-row.pipe > .progress-cell {
    width: auto;
  }
}
.day-panel {
  border-left: 1px solid var(--line);
  padding-left: 26px;
}
.day-group + .day-group {
  margin-top: 4px;
}
.day-group-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 10px;
}
.day-booking {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 0 14px 14px;
  background: transparent;
  border: 0;
  border-left: 3px solid #a3b99d;
  border-radius: 0;
  margin-bottom: 20px;
  text-align: left;
}
.day-booking > span {
  color: var(--green);
  font-size: 11px;
}
.day-booking small {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
}
.day-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #8a9688;
  font-size: 11px;
}
.empty {
  padding: 45px 15px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  color: #8b958d;
}
.empty h3 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 15px;
}
.day-panel .empty {
  padding: 25px 0;
}
.filterbar {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}
.filterbar > select {
  width: 185px;
}
.search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding-left: 12px;
  width: 390px;
  max-width: 100%;
  color: var(--muted);
}
.search input {
  border: 0;
  background: transparent;
  font-size: 12px;
}
.toolbar,
.row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.badge-standard {
  font-size: 11px;
  color: var(--muted);
  background: #f1f4ef;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 8px;
  white-space: nowrap;
}
.toolbar button {
  font-size: 12px;
}
.back {
  margin-bottom: 20px;
  font-size: 12px;
}
.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 27px;
  overflow-x: auto;
}
.tabs button {
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  padding: 12px 0;
  background: none;
  color: var(--muted);
  flex-shrink: 0;
  font-size: 13px;
}
.tabs button.active {
  color: var(--green);
  border-bottom-color: var(--green);
}
.work-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 24px;
  padding: 21px;
}
.work-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.work-title h3 {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.work-title p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}
.work-title > strong {
  font-size: 13px;
  color: #97a397;
}
.step-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
  gap: 12px;
}
.step-list label {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 12px;
  margin: 0;
  color: #7b887e;
  cursor: pointer;
}
.step-list label.done {
  color: var(--green);
}
.repairs {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.repairs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 8px;
}
.repair-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.repair-row:last-child {
  border-bottom: 0;
}
.repair-row span {
  flex: 1;
}
.repair-row strong {
  color: var(--green);
}
.photo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  align-items: center;
}
.photo-thumb {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f2f4f0;
}
.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 30, 22, 0.72);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.photo-add {
  width: 92px;
  height: 92px;
  border-radius: 7px;
  border: 1px dashed #b9c6b6;
  background: #fbfcfa;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
  margin: 0;
}
.photo-add:hover {
  border-color: var(--green);
  color: var(--green);
}
.photo-empty {
  font-size: 12px;
}
.photo-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.workdays-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.workdays-label {
  font-size: 11px;
  color: var(--muted);
}
.workdays-toggle {
  display: flex;
  gap: 4px;
}
.workday {
  margin: 0;
}
.workday input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.workday span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
  background: #fff;
}
.workday input:checked + span {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.wizard-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 22, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 60;
}
.wizard {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.wizard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.wizard-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}
.wizard-steps .current {
  color: var(--green);
  font-weight: 600;
}
.wizard-steps .done {
  color: #9aa89a;
}
.wizard-body {
  padding: 26px 24px;
  overflow-y: auto;
}
.wizard-step h2 {
  font-size: 20px;
  margin-bottom: 6px;
}
.wizard-step > .muted {
  margin-bottom: 18px;
}
.wizard-step > .wizard-optional {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 13px;
}
.wizard-list {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.wizard-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.wizard-line:last-child {
  border-bottom: 0;
}
.wizard-total {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 16px;
}
.schedule-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.schedule-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel, #fff);
  cursor: pointer;
  margin: 0;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.schedule-option:hover {
  border-color: color-mix(in srgb, var(--green) 40%, var(--line));
  box-shadow: 0 1px 10px rgba(16, 163, 74, 0.06);
}
.schedule-option.selected {
  border-color: var(--green);
  background: var(--green-light);
}
.schedule-option input[type="radio"] {
  flex: none;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  accent-color: var(--green);
  cursor: pointer;
}
.schedule-when {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.schedule-meta {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.wizard-foot {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}
.photo-heading {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.notes-section {
  margin-top: 32px;
}
.notes {
  white-space: pre-wrap;
  color: #707e73;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.section-actions {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.table-scroll {
  overflow-x: auto;
  max-width: 100%;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: transparent;
}
th {
  color: #849086;
  font-size: 11px;
  font-weight: 500;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 18px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  vertical-align: middle;
  max-width: 270px;
  overflow-wrap: anywhere;
}
td small {
  display: block;
  color: #929d94;
  font-size: 11px;
  margin-top: 4px;
}
td:first-child,
th:first-child {
  padding-left: 0;
}
.inline-form {
  display: flex;
  gap: 3px;
  width: 140px;
}
.inline-form input {
  width: 80px;
}
.inline-form button {
  width: 36px;
  padding: 7px;
}
.financial-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
}
.document-row {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.document-name {
  flex: 1;
  min-width: 0;
}
.document-name strong {
  display: block;
  font-size: 13px;
}
.document-name small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.document-row > strong {
  font-size: 13px;
}
.team-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.team-name {
  flex: 1;
  min-width: 160px;
}
.team-name p {
  color: var(--muted);
  font-size: 12px;
}
.approach-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.approach-view {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.approach-pick {
  max-width: 320px;
  margin: 0;
}
.approach-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.approach-tabs button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.approach-tabs button.active {
  background: var(--green-light);
  border-color: var(--green);
  color: var(--green);
  font-weight: 600;
}
.approach-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  counter-reset: step;
}
.approach-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  border-top: 1px solid var(--line);
}
.approach-steps li:first-child {
  border-top: none;
}
.approach-steps li::before {
  counter-increment: step;
  content: counter(step);
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
}
.approach-step-name {
  flex: 1;
  min-width: 0;
  font-weight: 500;
}
.approach-tier {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.approach-tier.required {
  background: var(--green-light);
  color: var(--green);
}
.approach-tier.optional {
  background: #f1f3f5;
  color: var(--muted);
}
.approach-layers {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
/* Onderdeel toevoegen — mobiel-eerst opnameflow */
.intake { display: flex; flex-direction: column; gap: 16px; }
.intake-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px;
  background: #f1f4f2;
  border-radius: 12px;
}
.intake-modes button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
}
.intake-modes button.active {
  background: var(--green);
  color: #fff;
  box-shadow: 0 1px 6px rgba(16, 163, 74, 0.25);
}
.intake-basics { display: flex; flex-direction: column; gap: 14px; }
.intake-lead { color: var(--muted); font-size: 13px; margin: 0; }
.intake-field { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 600; margin: 0; border: 0; padding: 0; }
.intake-field > select, .intake-field > input { font-weight: 400; }
.intake-help { font-size: 12px; color: var(--muted); font-weight: 400; }
.intake-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.intake-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.intake-choice button, .intake-qty {
  min-height: 46px;
}
.intake-choice button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.intake-choice button.active {
  border-color: var(--green);
  background: var(--green-light);
  color: var(--green);
  font-weight: 600;
}
.intake-qty { display: flex; align-items: center; gap: 8px; }
.intake-qty input { flex: 1; min-width: 0; }
.intake-unit { font-weight: 500; color: var(--muted); white-space: nowrap; }
.intake-states { display: flex; flex-direction: column; gap: 10px; }
.intake-states legend { font-size: 13px; font-weight: 600; padding: 0; margin-bottom: 2px; }
.intake-state {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 13px 14px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.intake-state.active { border-color: var(--green); background: var(--green-light); }
.intake-state-dot { flex: none; width: 14px; height: 14px; border-radius: 50%; margin-top: 3px; }
.intake-state.goed .intake-state-dot { background: #16a34a; }
.intake-state.normaal .intake-state-dot { background: #f59e0b; }
.intake-state.slecht .intake-state-dot { background: #dc2626; }
.intake-state-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.intake-state-body strong { font-size: 14px; }
.intake-state-body span { font-size: 12px; color: var(--muted); font-weight: 400; }
.intake-proposal { display: flex; flex-direction: column; gap: 12px; }
.intake-summary-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 10px;
  background: var(--green-light);
}
.intake-summary-card strong { font-size: 14px; }
.intake-summary-card span { font-size: 13px; color: var(--muted); }
.intake-summary-card p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.intake-proposal .section-heading { margin: 0; }
.intake-proposal .section-heading h3 { font-size: 14px; margin: 0; }
.intake-steps, .intake-extra { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.intake-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 2px;
  border-top: 1px solid var(--line);
}
.intake-steps li:first-child { border-top: none; }
.intake-steps label { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; flex: 1; min-width: 0; margin: 0; font-weight: 500; cursor: pointer; }
.intake-steps input[type="checkbox"] { flex: none; width: 20px; height: 20px; min-height: 20px; margin: 0; padding: 0; accent-color: var(--green); }
.intake-step-name { overflow-wrap: anywhere; }
.intake-step-meta { font-size: 12px; color: var(--muted); white-space: nowrap; }
.intake-extra li { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.intake-extra button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 0;
  justify-content: flex-start;
  border: 1px dashed var(--line);
  background: #fff;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  min-height: 44px;
}
.intake-extra button.added { border-style: solid; border-color: var(--green); color: var(--green); background: var(--green-light); }
.intake-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.intake-summary-stat { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--muted); }
.intake-summary-stat svg { color: var(--green); }
.intake-summary-stat strong { font-size: 16px; color: var(--ink); }
.intake-more { font-size: 13px; }
.intake-more summary { cursor: pointer; color: var(--muted); padding: 6px 0; }
.intake-stepnav { display: none; }
.intake-stepnav button { width: 100%; border-radius: 10px; padding: 13px; font-size: 15px; font-weight: 600; cursor: pointer; min-height: 48px; }
.intake-stepnav .intake-next { border: 0; background: var(--green); color: #fff; }
.intake-stepnav .intake-back { border: 1px solid var(--line); background: #fff; color: var(--ink); }
@media (min-width: 768px) {
  .intake-stepnav { display: none !important; }
}
@media (max-width: 767px) {
  dialog:has(.intake) {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
  .intake-stepnav { display: block; }
  .intake-smart.intake-step-1 .intake-proposal,
  .intake-smart.intake-step-1 .intake-summary,
  .intake-smart.intake-step-1 .composer-note,
  .intake-smart.intake-step-1 .intake-foot,
  .intake-smart.intake-step-1 .intake-back { display: none; }
  .intake-smart.intake-step-2 .intake-basics,
  .intake-smart.intake-step-2 .intake-next { display: none; }
  .intake-summary { position: sticky; bottom: 0; }
}
.team-rates {
  display: flex;
  align-items: center;
  gap: 16px;
}
.team-rates > label {
  max-width: 125px;
  margin: 0;
}
.team-actions {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}
.team-actions .text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.text-button.danger {
  color: #b05656;
}
.text-button.danger:hover:not(:disabled) {
  color: #8f3f3f;
}
.settings-section {
  padding-bottom: 35px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.settings-section > h2 {
  margin-bottom: 25px;
}
.settings-section > form {
  max-width: 780px;
}
.profile-page {
  max-width: 760px;
}
.profile-open {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.profile-open:hover strong {
  color: var(--green);
}
.profile-open > div {
  min-width: 0;
}
.profile-open strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.leave-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}
.leave-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.leave-row .leave-range {
  font-weight: 600;
}
.leave-row > .muted {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.leave-row .icon-button {
  margin-left: auto;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.inline-fieldset {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px 16px;
  margin: 4px 0 16px;
}
.inline-fieldset > legend {
  font-weight: 600;
  padding: 0 8px;
}
.mail-templates {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px 20px;
  margin: 22px 0 6px;
}
.mail-templates > legend {
  font-weight: 600;
  padding: 0 8px;
}
.mail-templates .hint {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted, #6b7280);
}
.mail-templates .check-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 500;
}
.mail-templates .check-line input {
  width: auto;
  display: inline-block;
}
.weather-alert {
  border: 1px solid #f5c26b;
  background: #fff7e8;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 4px 0 22px;
}
.weather-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #92400e;
}
.weather-head strong {
  display: block;
  font-size: 15px;
}
.weather-head p {
  margin: 4px 0 0;
  color: #7c5312;
  font-size: 14px;
}
.weather-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}
.weather-options button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid #e3b25a;
  background: #fff;
  border-radius: 9px;
  font-size: 13px;
  cursor: pointer;
}
.weather-options button:hover:not(:disabled) {
  background: #fffaf0;
}
.weather-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.weather-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 20px;
}
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--line);
  min-height: 420px;
}
.week-day {
  min-width: 0;
  border-right: 1px solid var(--line);
  background: #fff;
}
.week-day:last-child {
  border: 0;
}
.week-day > header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 15px 5px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.week-day > header span {
  color: var(--muted);
  font-size: 11px;
}
.week-day.current {
  background: #f2f6ef;
}
.week-day.current > header {
  color: var(--green);
}
.calendar-booking {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: #ebf2e9;
  border: 0;
  border-left: 3px solid #86a579;
  border-radius: 3px;
  margin: 10px 6px;
  width: calc(100% - 12px);
  padding: 9px;
  gap: 6px;
  overflow-wrap: anywhere;
}
.calendar-booking strong {
  font-size: 11px;
}
.calendar-booking small,
.calendar-booking span {
  font-size: 10px;
  color: #72896b;
}
.planning-toggle {
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}
.planning-toggle button {
  border: 0;
  border-radius: 0;
  background: #fff;
  padding: 8px 14px;
  font-size: 13px;
}
.planning-toggle button.active {
  background: var(--green);
  color: #fff;
}
.month-scroll {
  overflow-x: auto;
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  min-width: 640px;
}
.month-weekday {
  padding: 10px 6px;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  background: #fafbf9;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.month-weekday:nth-child(7n) {
  border-right: 0;
}
.month-cell {
  min-height: 96px;
  padding: 6px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  position: relative;
}
.month-cell:nth-child(7n) {
  border-right: 0;
}
.month-cell.outside {
  background: #f7f8f6;
}
.month-cell.outside .day-number {
  color: var(--muted);
}
.month-cell.current {
  background: #f2f6ef;
}
.month-cell .day-number {
  font-size: 11px;
  font-weight: 600;
}
.month-booking {
  display: flex;
  align-items: baseline;
  gap: 5px;
  text-align: left;
  width: 100%;
  margin-top: 5px;
  padding: 5px 6px;
  border: 0;
  border-left: 3px solid #86a579;
  border-radius: 3px;
  background: #ebf2e9;
  overflow: hidden;
}
.month-booking small {
  font-size: 10px;
  color: #72896b;
}
.month-booking strong {
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 17px 34px;
  color: #9ca69e;
  font-size: 10px;
}
.alert,
.success,
.notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-radius: 5px;
  margin-bottom: 18px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.alert {
  color: #a1453b;
  background: #fff0ed;
  border: 1px solid #f0d6cf;
}
.success,
.notice {
  background: #edf4ec;
  color: #426b42;
  border: 1px solid #d8e7d4;
}
.alert .icon-button,
.success .icon-button {
  margin-left: auto;
}
dialog {
  position: fixed;
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: min(590px, calc(100% - 30px));
  max-height: calc(100dvh - 40px);
  color: var(--ink);
  box-shadow: 0 24px 80px #13291e24;
}
dialog::backdrop {
  background: #172a244d;
  backdrop-filter: blur(2px);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}
.modal-body {
  padding: 25px;
}
.form-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 15px;
}
.form-footer.spread {
  justify-content: space-between;
  align-items: center;
}
.form-footer .footer-right {
  display: flex;
  gap: 10px;
}
.form-footer .danger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b05656;
  border-color: #e6c7c7;
  background: #fbf3f3;
}
.form-footer .danger:hover:not(:disabled) {
  background: #f6e4e4;
}
.booking-job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  color: var(--muted);
}
.booking-job:hover {
  background: var(--paper);
}
.booking-job > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.booking-job strong {
  color: var(--ink);
  font-size: 14px;
}
tr.editable {
  cursor: pointer;
}
tr.editable:hover {
  background: var(--green-light);
}
.loading {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  color: var(--green);
}
.spin {
  animation: spin 1.2s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.onboarding {
  max-width: 490px;
  padding: 60px 24px;
  margin: auto;
}
.onboarding h1 {
  margin: 35px 0;
}
.onboarding form > button {
  width: 100%;
}
.auth {
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 7%;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Manrope", sans-serif;
  font-size: 31px;
  font-weight: 700;
  color: var(--green);
}
.brand-dot {
  color: #b29b43;
}
.auth-form {
  width: 390px;
  max-width: 100%;
  margin: auto 0;
  padding: 65px 0;
  position: relative;
}
.auth-form h1 {
  font-size: 32px;
  margin-bottom: 30px;
}
.auth-form .primary {
  width: 100%;
  justify-content: space-between;
}
.auth-links {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  justify-items: start;
}
.auth-links button {
  font-size: 12px;
}
.auth-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 45%;
  background: #e8ede7 url("/interior.jpg") center/cover no-repeat;
}
.auth footer {
  font-size: 11px;
  color: var(--muted);
}
.mobile-menu,
.sidebar-scrim {
  display: none;
}
.sign-page {
  max-width: 850px;
  margin: auto;
  padding: 35px 24px 65px;
}
.sign-page > .wordmark {
  margin-bottom: 40px;
}
.sign-document {
  border-top: 4px solid var(--green);
  background: #fff;
  padding: 35px;
}
.sign-document h1 {
  margin: 15px 0;
}
.sign-parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  margin: 24px 0;
}
.sign-parties p {
  color: var(--muted);
  font-size: 13px;
  white-space: pre-wrap;
}
.sign-total {
  margin: 25px 0;
  text-align: right;
}
.sign-total strong {
  font-size: 24px;
}
.sign-terms {
  white-space: pre-wrap;
  font-size: 12px;
  color: var(--muted);
  padding: 20px 0;
}
.signature-canvas {
  display: block;
  width: 100%;
  height: 170px;
  border: 1px solid #cbd6cc;
  border-radius: 5px;
  touch-action: none;
  background: #fcfdfb;
}
.sign-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0 20px;
}
@media (min-width: 1500px) {
  .workspace {
    padding: 42px 48px;
  }
  .overview-columns {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 38px;
  }
}
@media (max-width: 1200px) {
  .overview-columns {
    grid-template-columns: 1fr;
  }
  .day-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 25px 0 0;
  }
  .project-date {
    display: none;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading .toolbar {
    max-width: 340px;
    justify-content: flex-end;
  }
  .step-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .team-rates {
    width: 100%;
    padding-left: 50px;
  }
}
@media (max-width: 900px) {
  .sidebar {
    width: 210px;
    padding: 25px 15px;
  }
  .main-shell {
    margin-left: 210px;
  }
  .workspace {
    padding: 28px 22px;
  }
  .photo-columns {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .topbar {
    padding: 0 22px;
  }
  .today {
    display: none;
  }
  .project-row {
    flex-wrap: wrap;
  }
  .project-name {
    flex-basis: 50%;
  }
  .project-row > .progress-cell {
    margin-left: 57px;
  }
  .page-heading {
    flex-wrap: wrap;
  }
  .page-heading .toolbar {
    max-width: 100%;
    justify-content: flex-start;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat:nth-child(3) {
    padding-left: 0;
    border: 0;
  }
  .financial-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 0;
  }
  .week-grid {
    grid-template-columns: repeat(7, 150px);
    overflow-x: auto;
  }
  .auth-photo {
    width: 36%;
  }
  .auth {
    padding-left: 5%;
  }
  .auth-form {
    width: 340px;
  }
}
@media (max-width: 680px) {
  h1 {
    font-size: 25px;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 250px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-shell {
    margin-left: 0;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .sidebar-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 30;
    background: #16292166;
    border: 0;
    border-radius: 0;
    width: 100%;
    height: 100%;
  }
  .topbar {
    height: 61px;
    padding: 0 14px;
    gap: 10px;
    justify-content: flex-start;
  }
  .topbar > span {
    flex: 1;
  }
  .topbar-right {
    font-size: 10px;
  }
  .crumb {
    margin: 0 7px;
  }
  .workspace {
    padding: 26px 18px 40px;
  }
  .page-heading {
    gap: 18px;
    margin-bottom: 25px;
  }
  .page-heading > .primary {
    width: 100%;
  }
  .stats {
    padding: 20px 0;
    margin-bottom: 28px;
  }
  .stat {
    padding: 0 14px;
  }
  .stat strong {
    font-size: 24px;
  }
  .stat small {
    font-size: 10px;
  }
  .stat > span {
    font-size: 11px;
  }
  .overview-columns {
    gap: 30px;
  }
  .project-row {
    gap: 12px;
    padding: 18px 0;
  }
  .project-symbol {
    width: 37px;
    height: 40px;
  }
  .project-name {
    flex-basis: calc(100% - 85px);
  }
  .project-row > .badge {
    margin-left: 49px;
  }
  .project-row > .progress-cell {
    margin-left: auto;
  }
  .project-row > svg {
    width: 13px;
  }
  .section-heading h2 {
    font-size: 16px;
  }
  .section-heading > .text-button {
    font-size: 11px;
  }
  .filterbar {
    flex-wrap: wrap;
  }
  .search {
    width: 100%;
  }
  .filterbar > select {
    width: 100%;
  }
  .tabs {
    gap: 23px;
  }
  .step-list {
    grid-template-columns: 1fr 1fr;
    gap: 18px 10px;
  }
  .work-item {
    padding: 17px;
  }
  .work-subs {
    margin-left: 10px;
    padding-left: 12px;
  }
  .work-title h3 {
    font-size: 14px;
  }
  .work-title h3 .badge {
    margin-top: 3px;
  }
  .document-row {
    flex-wrap: wrap;
    gap: 12px;
  }
  .document-name {
    flex-basis: calc(100% - 65px);
  }
  .document-row > .row-actions {
    margin-left: auto;
  }
  .document-row > strong {
    margin-left: 55px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-head {
    padding: 16px 20px;
  }
  .team-rates {
    padding-left: 0;
    gap: 10px;
    flex-wrap: wrap;
  }
  .team-rates > label {
    max-width: 110px;
  }
  .app-footer {
    padding: 15px 18px;
  }
  .app-footer > span:last-child {
    display: none;
  }
  .week-grid {
    grid-template-columns: 1fr;
    overflow: visible;
    min-height: 0;
  }
  .week-day {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 105px;
  }
  .week-day > header {
    flex-direction: row;
    justify-content: space-between;
    padding: 12px;
  }
  .calendar-booking {
    margin: 8px;
    width: calc(100% - 16px);
  }
  .auth {
    padding: 30px 25px;
  }
  .auth-photo {
    display: none;
  }
  .auth-form {
    width: 100%;
    max-width: 420px;
    margin: 35px auto;
    padding: 25px 0;
  }
  .auth-form h1 {
    font-size: 29px;
  }
  .auth footer {
    margin-top: auto;
  }
  .auth-brand {
    font-size: 30px;
  }
  .sign-page {
    padding: 25px 14px;
  }
  .sign-document {
    padding: 22px 16px;
  }
  .sign-parties {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Planning calendar */
.plan-cal {
  margin-bottom: 18px;
}
.plan-cal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.plan-cal-head strong {
  font-size: 15px;
  min-width: 150px;
  text-align: center;
  text-transform: capitalize;
}
.plan-cal-today {
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
  color: var(--muted);
}
.plan-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--muted);
}
.plan-cal-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.plan-cal-legend span::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid;
}
.plan-cal-legend .s-free::before {
  background: #e6f4ea;
  border-color: #7cc79b;
}
.plan-cal-legend .s-partial::before {
  background: #fdf1dd;
  border-color: #eab765;
}
.plan-cal-legend .s-full::before {
  background: #fbe6e6;
  border-color: #e08a8a;
}
.plan-cal-legend .s-none::before {
  background: #f0f1f2;
  border-color: #d4d8d5;
}
.plan-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.plan-cal-dow {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-bottom: 2px;
}
.plan-cal-day {
  min-height: 66px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 7px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.plan-cal-day.out {
  opacity: 0.78;
}
.plan-cal-day.past {
  opacity: 0.45;
}
.plan-cal-day.s-free {
  background: #e6f4ea;
  border-color: #a9d9bd;
}
.plan-cal-day.s-partial {
  background: #fdf1dd;
  border-color: #eecfa0;
}
.plan-cal-day.s-full {
  background: #fbe6e6;
  border-color: #e6b3b3;
}
.plan-cal-day.s-none {
  background: #f4f5f6;
  border-color: var(--line);
}
.plan-cal-day.today {
  box-shadow: inset 0 0 0 2px var(--green);
}
.plan-cal-day.clickable {
  cursor: pointer;
}
.plan-cal-day.clickable:hover {
  filter: brightness(0.97);
  border-color: var(--green);
}
.plan-cal-day-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.plan-cal-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.plan-cal-wx {
  color: var(--muted);
  flex-shrink: 0;
}
.plan-cal-day.s-free .plan-cal-wx {
  color: #2f8a5b;
}
.plan-cal-day.s-partial .plan-cal-wx {
  color: #c98a2b;
}
.plan-cal-info {
  font-size: 11px;
  line-height: 1.25;
  color: #46524c;
  overflow: hidden;
}
.plan-cal-names {
  display: block;
  word-break: break-word;
}
.plan-cal-full {
  color: #b05656;
  font-weight: 600;
}
.plan-sub {
  font-size: 14px;
  margin: 18px 0 8px;
  color: var(--ink);
}
/* Day planning dialog */
.dayplan-date {
  font-weight: 600;
  text-transform: capitalize;
  margin: 0 0 4px;
  color: var(--ink);
}
.dayplan-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0 2px;
}
.dayplan-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}
.dayplan-row.free {
  background: #e6f4ea;
  border-color: #a9d9bd;
}
.dayplan-row.this {
  background: #cfe6d7;
  border-color: #7cc79b;
}
.dayplan-row.other {
  background: #fbe6e6;
  border-color: #e6b3b3;
}
.dayplan-row.off {
  background: #f4f5f6;
  color: var(--muted);
}
.dayplan-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
  flex-shrink: 0;
}
.dayplan-name {
  flex: 1;
  font-size: 14px;
}
.dayplan-tag {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.dayplan-tag.t-free {
  color: #2f8a5b;
}
.dayplan-tag.t-this {
  color: #1c5c3d;
}
.dayplan-tag.t-other {
  color: #b05656;
}
.dayplan-tag.t-off {
  color: var(--muted);
  font-weight: 500;
}
.job-hours {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid #cfe6d7;
  border-radius: 8px;
  background: var(--green-light);
  font-size: 13px;
  color: var(--ink);
}
.job-hours b {
  font-size: 15px;
}
.job-hours .remain b {
  color: #b05656;
}
.job-hours .done b {
  color: #2f8a5b;
}
.job-hours .over b {
  color: #28684e;
}
.dayplan-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 8px;
}
.job-status-panel {
  margin-bottom: 20px;
}
.job-status-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.job-status-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.job-status-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.job-status-main strong {
  font-size: 14px;
  color: var(--ink);
}
.job-status-main .muted {
  font-size: 12px;
  color: var(--muted);
}
.job-badge {
  justify-self: end;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.job-badge.done {
  background: var(--green-light);
  color: #2f8a5b;
}
.job-badge.partial,
.job-badge.todo {
  background: #fdf1dd;
  color: #9a6a1c;
}
.job-badge.over {
  background: #edf4ef;
  color: #28684e;
}
.job-weather {
  grid-column: 1 / -1;
  border-top: 1px dashed var(--line);
  padding-top: 8px;
}
.job-weather p {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #b05656;
  margin: 0 0 8px;
}
.job-weather-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.job-weather-actions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.job-weather-check {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.day-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--green);
  cursor: pointer;
}
.day-add:hover {
  background: var(--green-light);
}
.month-cell .day-add {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  opacity: 0;
}
.month-cell:hover .day-add {
  opacity: 1;
}
.plan-filter {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  max-width: 200px;
}
.cap-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  background: #eef1ee;
  color: var(--muted);
}
.cap-chip.s-free {
  background: #e6f4ea;
  color: #2f8a5b;
}
.cap-chip.s-partial {
  background: #fdf1dd;
  color: #9a6a1c;
}
.cap-chip.s-full {
  background: #fbe6e6;
  color: #b05656;
}
.travel-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 6px;
  margin: 1px 0;
  font-size: 10px;
  color: var(--muted);
}
.travel-hint.tight {
  color: #b05656;
  font-weight: 600;
}
.calendar-booking.scoped,
.month-booking.scoped {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}
.job-status-row.scoped {
  border-color: var(--green);
  background: var(--green-light);
}
.smart-plan {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #cfe6d7;
  border-radius: 8px;
  background: var(--green-light);
  color: #2f6b4e;
  font-weight: 600;
  cursor: pointer;
}
.smart-plan:hover {
  background: #def0e4;
}
.draft-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.draft-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto auto;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.draft-row input {
  padding: 5px 6px;
  font-size: 12px;
}
.draft-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
@media (max-width: 640px) {
  .draft-row {
    grid-template-columns: 1fr 1fr;
  }
  .draft-name {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .plan-cal-day {
    min-height: 52px;
    padding: 4px 5px;
  }
  .plan-cal-info {
    font-size: 10px;
  }
  .plan-cal-num {
    font-size: 12px;
  }
  .plan-cal-legend {
    gap: 8px;
  }
}

/* Vliegende start (onboarding-startflow) */
.startflow {
  min-height: 100dvh;
  overflow-y: auto;
  padding: 40px 20px 80px;
  display: flex;
  justify-content: center;
}
.startflow-inner {
  width: 640px;
  max-width: 100%;
}
.startflow-head {
  margin: 24px 0 20px;
}
.startflow-head h1 {
  font-family: "Manrope", sans-serif;
  font-size: 28px;
  margin-bottom: 8px;
}
.startflow-head p {
  color: var(--muted);
  max-width: 46ch;
}
.startflow-steps {
  display: flex;
  gap: 8px;
  list-style: none;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.startflow-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}
.startflow-steps li span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}
.startflow-steps li.active {
  color: var(--ink);
  border-color: var(--green);
}
.startflow-steps li.active span {
  background: var(--green);
  color: var(--white);
}
.startflow-steps li.done span {
  background: var(--green);
  color: var(--white);
}
.startflow-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.startflow-panel h2 {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  margin-bottom: 6px;
}
.startflow-hint {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}
.startflow-owner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 14px;
  background: var(--green-light);
}
.startflow-owner .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
}
.startflow-owner div {
  display: flex;
  flex-direction: column;
}
.startflow-owner small {
  color: var(--muted);
}
.startflow-tag,
.startflow-solo {
  margin-left: auto;
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.startflow-row,
.startflow-project {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  margin-bottom: 10px;
}
.startflow-row input,
.startflow-project input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}
.startflow-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px dashed var(--line);
  background: transparent;
  color: var(--green);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  margin: 6px 0 4px;
}
.startflow-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.startflow-phase {
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: var(--white);
}
.startflow-phase-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}
.startflow-phase-head strong {
  font-size: 15px;
}
.startflow-phase-head small {
  color: var(--muted);
}
.startflow-phase-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.startflow-phase-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.2;
  cursor: pointer;
}
.startflow-phase-chip:hover {
  border-color: var(--green);
}
.startflow-phase-chip.picked {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  font-weight: 600;
}
.startflow-summary {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.startflow-summary div {
  flex: 1;
  min-width: 140px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.startflow-summary strong {
  font-size: 28px;
  font-family: "Manrope", sans-serif;
  color: var(--green);
}
.startflow-summary span {
  color: var(--muted);
  font-size: 13px;
}
.startflow-invites h3 {
  font-size: 15px;
  margin-bottom: 8px;
}
.startflow-invite-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.startflow-invite-row div {
  display: flex;
  flex-direction: column;
}
.startflow-invite-row small {
  color: var(--muted);
}
.startflow-sent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: 600;
  font-size: 13px;
}
.startflow-later {
  display: block;
  margin: 18px auto 0;
  background: none;
  border: none;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}
.startflow-resume {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--green-light);
  margin-bottom: 16px;
}
.startflow-resume span {
  flex: 1;
}
.startflow-resume button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pipeline-group.needs-sorting {
  border: 1px solid var(--yellow);
  border-radius: 14px;
  padding: 4px 8px 8px;
  background: #fdf9ec;
}
.pipeline-advice {
  color: var(--muted);
  font-size: 13px;
  padding: 4px 10px 10px;
}
.stage-classify {
  display: grid;
  gap: 8px;
}
.stage-classify-option {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}
.stage-classify-option:hover {
  border-color: var(--green);
  background: var(--green-light);
}
.stage-classify-option small {
  color: var(--muted);
}
.stage-complete-hint {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  margin: 4px 0 12px;
  background: var(--green-light);
}
@media (max-width: 620px) {
  .startflow-row,
  .startflow-project {
    grid-template-columns: 1fr auto;
  }
  .startflow-row input:first-child,
  .startflow-project input:first-child {
    grid-column: 1 / -1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .startflow *,
  .startflow-steps li {
    transition: none;
  }
}

/* Vliegende start - header-entree, prijzenstap en help */
.startflow-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--green);
  background: var(--green-light);
  color: var(--green);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.startflow-badge:hover {
  background: var(--green);
  color: var(--white);
}
.startflow-preset {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--green);
  background: var(--green-light);
  color: var(--ink);
  cursor: pointer;
  margin-bottom: 16px;
}
.startflow-preset svg {
  color: var(--green);
  flex-shrink: 0;
}
.startflow-preset span {
  display: flex;
  flex-direction: column;
}
.startflow-preset small {
  color: var(--muted);
}
.startflow-price-intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}
.startflow-price-list {
  display: flex;
  flex-direction: column;
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.startflow-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.startflow-price-row:last-child {
  border-bottom: none;
}
.startflow-price-row > span {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}
.startflow-price-row small {
  color: var(--muted);
  font-size: 12px;
}
.startflow-price-input {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
}
.startflow-price-input input {
  width: 90px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  text-align: right;
}
.start-help {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.start-help-option {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}
.start-help-option:hover {
  border-color: var(--green);
  background: var(--green-light);
}
.start-help-option svg:first-child {
  color: var(--green);
  flex-shrink: 0;
}
.start-help-option span {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.start-help-option small {
  color: var(--muted);
}
.start-explain-steps {
  margin: 8px 0 16px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
}
.start-explain-steps small,
.start-explain-steps strong {
  color: inherit;
}

/* Vliegende start - reeds toegevoegde items + aanvul-prompt */
.startflow-owner.subtle {
  background: var(--white);
  border-color: var(--line);
}
.startflow-owner.subtle .avatar {
  background: var(--muted);
}
.startflow-ask {
  font-weight: 600;
  font-size: 14px;
  margin: 16px 0 10px;
}
.startflow-existing {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 4px;
}
.startflow-existing-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.startflow-existing-row:last-child {
  border-bottom: none;
}
.startflow-existing-row .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.startflow-existing-row small {
  color: var(--muted);
}
.startflow-existing-row .startflow-tag {
  margin-left: auto;
  color: var(--muted);
}

/* Vliegende start - directe planning bij gepland/bezig */
.startflow-plan {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--green);
  border-radius: 10px;
  background: var(--green-light);
}
.startflow-plan-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--green);
}
.startflow-plan-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.startflow-plan-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 12.5px;
}
.startflow-plan-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.startflow-plan-form select,
.startflow-plan-form input {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: var(--white);
}
.startflow-plan-form select {
  min-width: 120px;
}
.startflow-plan-dash {
  color: var(--muted);
}
.startflow-plan-form .primary {
  margin-left: auto;
}
.startflow-plan-skip {
  display: block;
  margin-top: 8px;
  background: none;
  border: none;
  color: var(--muted);
  text-decoration: underline;
  font: inherit;
  cursor: pointer;
  padding: 0;
}
@media (max-width: 620px) {
  .startflow-plan-form .primary {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

/* Zyncbooks billing */
.billing-shell { display: grid; gap: 22px; }
.billing-invoice-profile { padding:24px; border:1px solid #d5dce5; border-radius:16px; background:#fff; }
.billing-invoice-profile h3 { margin-top:0; }
.billing-invoice-profile > p { color:#657285; line-height:1.6; }
.billing-invoice-profile fieldset { min-width:0; margin:0; padding:0; border:0; }
.billing-invoice-profile label { display:grid; gap:6px; font-size:14px; font-weight:600; }
.billing-invoice-profile input { width:100%; padding:11px 12px; border:1px solid #d5dce5; border-radius:10px; background:#fff; color:#152438; }
.billing-invoice-profile button { margin-top:16px; }
.billing-hero { display:flex; justify-content:space-between; gap:24px; align-items:flex-start; padding:24px; border:1px solid var(--line); border-radius:18px; background:#fff; }
.billing-hero h2 { margin:3px 0 8px; font-size:28px; }
.billing-hero p:last-child { margin:0; color:var(--muted); max-width:680px; }
.billing-loading { display:flex; gap:10px; align-items:center; padding:28px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.spin { animation: billing-spin 1s linear infinite; }
@keyframes billing-spin { to { transform: rotate(360deg); } }
.billing-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.billing-summary article { display:flex; align-items:center; gap:12px; padding:18px; border:1px solid var(--line); border-radius:15px; background:#fff; }
.billing-summary small,.billing-summary strong { display:block; }
.billing-summary small { color:var(--muted); margin-bottom:3px; }
.billing-icon { width:38px; height:38px; display:grid; place-items:center; border-radius:11px; background:var(--soft, #f3f5f1); color:var(--green); }
.billing-section-heading { display:flex; justify-content:space-between; align-items:end; margin-top:6px; }
.billing-section-heading h3 { margin:0 0 3px; font-size:20px; }
.billing-section-heading p { margin:0; color:var(--muted); }
.billing-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.billing-card { min-width:0; padding:20px; border:1px solid var(--line); border-radius:16px; background:#fff; display:flex; flex-direction:column; gap:13px; }
.billing-card-top { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.billing-card h3 { margin:4px 0 0; font-size:19px; }
.billing-card p { margin:0; color:var(--muted); }
.billing-kind { display:inline-block; font-size:11px; letter-spacing:.08em; font-weight:800; color:var(--green); }
.billing-benefit { display:flex; align-items:center; gap:7px; font-size:14px; font-weight:650; }
.billing-price { font-size:21px; font-weight:750; margin-top:auto; }
.billing-price small { font-size:12px; font-weight:500; color:var(--muted); }
.billing-quantity { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:13px; }
.billing-quantity input { width:82px; }
.billing-buy { width:100%; justify-content:center; }
.billing-subscriptions { display:grid; gap:8px; }
.billing-sub-row { display:flex; justify-content:space-between; gap:16px; align-items:center; padding:14px 16px; border:1px solid var(--line); border-radius:13px; background:#fff; }
.billing-sub-row strong,.billing-sub-row small { display:block; }
.billing-sub-row small { margin-top:3px; color:var(--muted); }
.billing-invoices { display:grid; gap:8px; }
.billing-invoice-row { display:grid; grid-template-columns:minmax(240px,1.5fr) minmax(130px,.55fr) auto auto; align-items:center; gap:16px; padding:14px 16px; border:1px solid var(--line); border-radius:13px; background:#fff; }
.billing-invoice-ident { display:flex; align-items:center; gap:11px; min-width:0; }
.billing-invoice-ident > div { min-width:0; }
.billing-invoice-ident strong,.billing-invoice-ident small,.billing-invoice-total strong,.billing-invoice-total small { display:block; }
.billing-invoice-ident strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.billing-invoice-ident small,.billing-invoice-total small { margin-top:3px; color:var(--muted); }
.billing-invoice-icon { width:38px; height:38px; display:grid; place-items:center; flex:0 0 38px; border-radius:11px; background:var(--soft, #f3f5f1); color:var(--green); }
.billing-invoice-total { text-align:right; }
.billing-invoice-total strong { font-size:15px; font-variant-numeric:tabular-nums; }
.billing-invoice-status { display:inline-flex; align-items:center; justify-content:center; min-width:76px; padding:5px 9px; border-radius:999px; background:#eef1ee; color:var(--muted); font-size:12px; font-weight:700; white-space:nowrap; }
.billing-invoice-status.paid,.billing-invoice-status.betaald { background:#e5f2e9; color:#28684e; }
.billing-invoice-status.open,.billing-invoice-status.sent,.billing-invoice-status.verzonden { background:#fff5d8; color:#856b15; }
.billing-invoice-status.overdue,.billing-invoice-status.late,.billing-invoice-status.te_laat { background:#fbe7e7; color:#a2434a; }
.billing-invoice-status.draft,.billing-invoice-status.concept { background:#eef1ee; color:#657069; }
.billing-invoice-actions { display:flex; justify-content:flex-end; gap:8px; }
.billing-invoice-button { min-height:36px; padding:8px 11px; font-size:13px; white-space:nowrap; }
.empty-card { padding:20px; border:1px dashed var(--line); border-radius:14px; color:var(--muted); background:#fff; }
.billing-modal-backdrop { position:fixed; inset:0; z-index:120; display:grid; place-items:center; padding:20px; background:rgba(15,20,17,.52); backdrop-filter:blur(3px); }
.billing-modal { position:relative; width:min(560px,100%); max-height:90vh; overflow:auto; padding:26px; border-radius:18px; background:#fff; box-shadow:0 24px 80px rgba(0,0,0,.24); }
.billing-modal h2 { margin:5px 0 4px; }
.billing-close { position:absolute; right:18px; top:18px; }
.billing-total { margin:0 0 20px; color:var(--muted); }
.billing-payment-element { min-height:120px; }
.billing-confirm { width:100%; justify-content:center; margin-top:18px; }
.billing-safe { display:block; text-align:center; color:var(--muted); margin-top:11px; }
@media (max-width: 980px) { .billing-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 980px) { .billing-invoice-row { grid-template-columns:minmax(220px,1fr) auto auto; } .billing-invoice-total { text-align:left; } .billing-invoice-status { grid-column:2; } .billing-invoice-actions { grid-column:3; grid-row:1 / span 2; } }
@media (max-width: 720px) { .billing-hero { flex-direction:column; } .billing-summary,.billing-grid { grid-template-columns:1fr; } .billing-sub-row { align-items:flex-start; flex-direction:column; } .billing-invoice-row { grid-template-columns:1fr auto; align-items:start; } .billing-invoice-total { grid-column:1; } .billing-invoice-status { grid-column:2; grid-row:1; } .billing-invoice-actions { grid-column:1 / -1; grid-row:auto; justify-content:stretch; } .billing-invoice-button { flex:1; } }

/* Billing access gate */
.billing-gate-page {
  min-height: 100vh;
  background: var(--background, #f6f7f8);
  padding: 24px clamp(18px, 4vw, 56px) 56px;
}
.billing-gate-topbar {
  max-width: 1180px;
  margin: 0 auto 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.billing-gate-copy {
  max-width: 1180px;
  margin: 0 auto 24px;
}
.billing-gate-copy h1 {
  margin: 6px 0 8px;
  max-width: 760px;
}
.billing-gate-copy p:last-child {
  margin: 0;
  color: var(--muted, #687078);
}
.billing-gate-page > .billing-shell,
.billing-gate-page > .alert {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 700px) {
  .billing-gate-page { padding: 18px 14px 36px; }
  .billing-gate-topbar { margin-bottom: 28px; }
  .billing-gate-topbar .button { padding-inline: 12px; }
}

/* Legal consent + privacy-friendly cookie information */
.legal-consent {
  display: grid !important;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  font-size: 12px !important;
  line-height: 1.55;
  color: #667487;
}
.legal-consent input { width: 16px !important; height: 16px !important; margin: 2px 0 0 !important; }
.legal-consent a { color: #28684e; }
.auth footer a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cookie-notice {
  position: fixed;
  z-index: 2000;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 22px;
  border: 1px solid #dfe6ef;
  border-radius: 16px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 50px rgba(13,31,57,.16);
  color: #10233f;
}
.cookie-notice strong { display:block; margin-bottom:3px; font:700 13px/1.4 "Manrope",sans-serif; }
.cookie-notice p { margin:0; color:#68778b; font-size:12px; line-height:1.5; }
.cookie-notice-actions { margin-left:auto; display:flex; align-items:center; gap:12px; flex:0 0 auto; }
.cookie-notice-actions a { color:#28684e; text-decoration:none; font-size:12px; font-weight:600; }
.cookie-notice-actions button { border:0; border-radius:10px; padding:9px 13px; background:#10233f; color:#fff; font:600 12px/1 "DM Sans",sans-serif; cursor:pointer; }
@media (max-width: 640px) {
  .cookie-notice { left:12px; right:12px; bottom:12px; align-items:flex-start; flex-direction:column; gap:12px; }
  .cookie-notice-actions { margin-left:0; width:100%; justify-content:space-between; }
}
.app-footer a { color: inherit; text-decoration: none; }
.app-footer a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Public-site utilities */
.back-to-top{position:fixed;right:22px;bottom:22px;z-index:75;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #dbe4ef;border-radius:12px;background:#fff;color:#28684e;box-shadow:0 12px 30px rgba(26,50,83,.18)}
.back-to-top:hover{background:#f1f6f2;border-color:#b8d0bf}
.cookie-layer{position:fixed;inset:0;z-index:120;display:flex;align-items:flex-end;justify-content:flex-start;padding:24px;pointer-events:none;background:linear-gradient(0deg,rgba(12,23,41,.12),transparent 45%)}
.cookie-card{position:relative;width:min(520px,calc(100vw - 48px));pointer-events:auto;background:#fff;border:1px solid #dfe7f1;border-radius:18px;padding:22px;box-shadow:0 26px 70px rgba(17,34,59,.24);color:#24344d}
.cookie-close{position:absolute;right:12px;top:12px;width:34px;height:34px;min-height:34px;padding:0;border-radius:9px;border:0;background:#f4f7fb;color:#65738a}
.cookie-heading{display:grid;grid-template-columns:42px 1fr;gap:13px;padding-right:32px}.cookie-heading>span{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:#edf4ef;color:#28684e}.cookie-heading strong{font-family:"Manrope",sans-serif;font-size:17px}.cookie-heading p{margin-top:5px;color:#6c788a;font-size:12px;line-height:1.6}
.cookie-settings{display:grid;margin:18px 0 4px;border-top:1px solid #e8edf4}.cookie-settings label{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;margin:0;padding:13px 0;border-bottom:1px solid #e8edf4}.cookie-settings label span{display:flex;flex-direction:column;gap:3px}.cookie-settings b{font-size:12px}.cookie-settings small{color:#788497;line-height:1.45}.cookie-settings input{width:19px;min-height:19px}.cookie-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}.cookie-actions button{min-height:43px;border-radius:9px;font-size:12px;font-weight:700}.cookie-secondary{background:#fff;border:1px solid #dce4ee;color:#34455f}.cookie-primary{background:#28684e;border:1px solid #28684e;color:#fff}.cookie-primary:hover{background:#1f523e}.cookie-meta{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:13px;color:#718097;font-size:11px}.cookie-meta button{min-height:auto;padding:0;border:0;background:transparent;color:#52647e;font-size:11px;display:flex;gap:6px}.cookie-meta a{text-decoration:underline}
@media(max-width:640px){.back-to-top{right:14px;bottom:14px}.cookie-layer{padding:0;align-items:flex-end}.cookie-card{width:100%;border-radius:18px 18px 0 0;border-width:1px 0 0;padding:20px 18px max(20px,env(safe-area-inset-bottom))}.cookie-actions{grid-template-columns:1fr}.cookie-meta{align-items:flex-start;flex-direction:column}.cookie-heading{grid-template-columns:36px 1fr;gap:10px}.cookie-heading>span{width:36px;height:36px}}


.test-account-indicator { display: inline-flex; align-items: center; border: 1px solid #d7e6d9; border-radius: 999px; background: #eff7ef; color: #557a5d; padding: 3px 7px; font-size: 9px; line-height: 1; white-space: nowrap; }
.save-state { color: var(--muted); font-size: 10px; }
.project-schedule { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 500; }
.billing-code-label{display:grid;gap:6px;margin:16px 0;font-size:14px;font-weight:600}.billing-code-label input{width:100%;padding:11px 12px;border:1px solid #d5dce5;border-radius:10px;background:#fff;color:#152438}.billing-code-label small{font-weight:400;color:#657285;line-height:1.5}.billing-quote{margin:18px 0;padding:16px;border-radius:12px;background:#f5f8fa}.billing-quote p{display:flex;justify-content:space-between;gap:16px;margin:9px 0}.billing-quote small{display:block;line-height:1.6;color:#657285}.billing-quote-total{padding-top:10px;border-top:1px solid #d5dce5}.billing-partner{margin-top:28px;padding:24px;border:1px solid #d5dce5;border-radius:16px;background:#fff}.billing-partner>p{line-height:1.6}.billing-partner h3{display:flex;align-items:center;gap:8px}.billing-partner-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.billing-partner-grid>div{display:flex;flex-direction:column;gap:10px}.billing-partner-grid small{color:#657285}.billing-partner-grid strong{font-size:18px}.billing-copy-id{border:0;background:none;font:inherit;color:inherit;cursor:pointer;overflow-wrap:anywhere}.billing-modal{max-height:90dvh;overflow-y:auto}@media(max-width:600px){.billing-partner-grid{grid-template-columns:1fr}.billing-partner{padding:18px}}

.company-logo-avatar { width: 44px; height: 44px; background: #fff; border: 1px solid #dce4df; padding: 3px; overflow: hidden; }
.company-logo-avatar img { width: 100%; height: 100%; object-fit: contain; }
.company-logo-panel { margin-bottom: 20px; }

.sidebar-heading { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.sidebar-heading .wordmark > span { margin: 0; }
.sidebar-compact-brand { display: none; }
.sidebar-toggle { flex-shrink: 0; }
@media (min-width: 681px) {
  .sidebar-collapsed .sidebar { width: 80px; padding: 24px 12px 18px; overflow-y: auto; }
  .sidebar-collapsed .main-shell { margin-left: 80px; }
  .sidebar-collapsed .sidebar-heading { flex-direction: column; gap: 8px; }
  .sidebar-collapsed .sidebar-full-brand { display: none; }
  .sidebar-collapsed .sidebar-compact-brand { display: inline-flex; }
  .sidebar-collapsed .company-switch { justify-content: center; margin: 18px 0; }
  .sidebar-collapsed .company-switch > div,
  .sidebar-collapsed .nav-label,
  .sidebar-collapsed .sidebar-nav-text,
  .sidebar-collapsed .nav-count,
  .sidebar-collapsed .profile-open > div,
  .sidebar-collapsed .byline { display: none; }
  .sidebar-collapsed .sidebar nav button,
  .sidebar-collapsed .sidebar nav .problem-report-link { justify-content: center; min-height: 44px; padding: 11px; }
  .sidebar-collapsed .profile { flex-direction: column; }
  .sidebar-collapsed .profile .icon-button { margin: 0; }
  .sidebar-collapsed .profile-open { flex: none; padding: 0; }
}
@media (max-width: 680px) { .sidebar-toggle { display: none; } }

.sidebar-bottom > .sidebar-toggle { margin: 0 0 12px; width: 34px; height: 34px; padding: 0; justify-content: center; }
.sidebar-bottom .profile-open { justify-content: flex-start; }
@media (min-width: 681px) { .sidebar-collapsed .sidebar-bottom > .sidebar-toggle { display: flex; margin-left: auto; margin-right: auto; } }

.sidebar-bottom { padding-top: 16px; }
.sidebar-footer-controls { display: flex; align-items: center; justify-content: space-between; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.sidebar-footer-controls > span { font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.sidebar-footer-controls .sidebar-toggle { width: 32px; height: 32px; min-height: 32px; border: 1px solid var(--line); background: #f7f9f7; border-radius: 8px; padding: 0; justify-content: center; }
.sidebar-footer-controls .sidebar-toggle:hover { background: var(--green-light); color: var(--green); }
.sidebar-bottom .profile { border-top: 0; padding-top: 12px; gap: 8px; }
.sidebar-bottom .profile-open .avatar { width: 36px; height: 36px; border-radius: 9px; }
.sidebar-bottom .profile > .icon-button { width: 34px; height: 34px; padding: 0; flex-shrink: 0; justify-content: center; }
.sidebar-bottom .byline { margin-top: 12px; }
@media (min-width: 681px) {
  .sidebar-collapsed .sidebar-footer-controls { justify-content: center; }
  .sidebar-collapsed .sidebar-footer-controls > span { display: none; }
}
@media (max-width: 680px) { .sidebar-footer-controls { display: none; } .sidebar-bottom .profile { border-top: 1px solid var(--line); } }

/* Keep the footer portrait square, independent of intrinsic image dimensions. */
.sidebar-bottom .profile { padding: 10px; margin-top: 10px; background: #f3f6f3; border: 1px solid #e0e7e1; border-radius: 12px; align-items: center; }
.sidebar-bottom .profile-open { min-height: 40px; gap: 10px; }
.sidebar-bottom .profile-open .sidebar-profile-avatar { position: relative; display: grid; width: 40px; height: 40px; min-width: 40px; max-height: 40px; flex: 0 0 40px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.sidebar-profile-avatar img { position: absolute; inset: 0; display: block; width: 40px; height: 40px; object-fit: cover; }
.sidebar-bottom .profile-open strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.5; }
.sidebar-bottom .profile-open small { display: block; margin-top: 2px; line-height: 1.5; }
.sidebar-bottom .profile > .icon-button { width: 30px; height: 34px; min-height: 34px; margin: 0; border-radius: 8px; color: var(--green); }
.sidebar-bottom .profile > .icon-button:hover { background: #e3ece5; }
.sidebar-bottom .byline { display: block; margin: 10px 0 0; text-align: center; font-size: 10px; color: #748077; }
input[type="checkbox"], input[type="radio"], progress { accent-color: var(--green); }
@media (min-width: 681px) {
  .sidebar-collapsed .sidebar-bottom .profile { padding: 8px 0; gap: 6px; }
  .sidebar-collapsed .sidebar-bottom .byline { display: none; }
}

/* Secondary destinations live together at the foot of the sidebar. */
.sidebar { overflow-y: auto; }
.sidebar-account-menu { margin: 12px 0; }
.sidebar-account-menu > summary { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--green); cursor: pointer; list-style: none; font-size: 12px; font-weight: 600; }
.sidebar-account-menu > summary::-webkit-details-marker { display: none; }
.sidebar-account-menu > summary:hover, .sidebar-account-menu > summary.active { background: var(--green-light); }
.sidebar-account-menu > summary:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.sidebar-account-chevron { margin-left: auto; transition: transform .15s; }
.sidebar-account-menu[open] > summary .sidebar-account-chevron { transform: rotate(180deg); }
.sidebar-account-menu > nav { margin-top: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
@media (min-width: 681px) {
  .sidebar-collapsed .sidebar-account-menu > summary { justify-content: center; padding: 10px; }
  .sidebar-collapsed .sidebar-account-chevron { display: none; }
  .sidebar-collapsed .sidebar-account-menu > nav { position: fixed; left: 88px; bottom: 110px; width: 220px; max-height: calc(100dvh - 160px); overflow-y: auto; box-shadow: 0 8px 30px #173f3026; }
  .sidebar-collapsed .sidebar-account-menu nav button, .sidebar-collapsed .sidebar-account-menu nav .problem-report-link { justify-content: flex-start; }
}

.weather-advice { padding: 24px; margin: 20px 0; border: 1px solid #d9e2dc; border-left: 4px solid #728477; border-radius: 14px; background: #f7faf8; }
.weather-advice-geschikt { border-left-color: #28694f; }
.weather-advice-twijfel, .weather-advice-ongeschikt { border-left-color: #b38a35; background: #fcfaf4; }
.weather-advice-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.weather-advice-heading h2 { margin: 4px 0 12px; }
.weather-advice ul { padding-left: 20px; }
.weather-advice li { margin: 8px 0; }
.weather-advice summary { cursor: pointer; color: #28694f; padding: 12px 0; }
.weather-advice-days > div { border-top: 1px solid #d9e2dc; padding: 12px 0; }
.weather-advice-days span { display: block; margin-top: 4px; }
.weather-advice .hint { margin-top: 16px; line-height: 1.6; }

.customer-fields { display: grid; gap: 18px; }
.customer-fields [hidden] { display: none !important; }
.customer-section { border: 1px solid #d9e2dc; border-radius: 12px; background: #fff; }
.customer-section summary { padding: 16px 18px; font-weight: 600; cursor: pointer; }
.customer-section-body { padding: 0 18px 18px; display: grid; gap: 16px; }
.customer-fields .inline-fieldset { display: grid; gap: 16px; }

/* Keep customer contact details readable as a single unit. */
.customers-table th,.customers-table td{padding:16px 18px;vertical-align:top}
.customers-table td:first-child,.customers-table th:first-child{padding-left:0}
.customers-table td[data-label="Contact"]{max-width:none;width:1%;white-space:nowrap}
.customer-contact{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.customer-email,.customer-phone{display:block;white-space:nowrap;overflow-wrap:normal;word-break:normal;text-decoration:none;color:inherit}
.customer-email:hover,.customer-phone:hover{text-decoration:underline}
.customer-phone{font-size:12px;color:#68796f}
.customers-table .customer-project-link{display:flex;width:100%;justify-content:space-between;text-align:left;gap:10px;line-height:1.5;padding:6px 0}
.customer-project-link span{min-width:0}.customer-project-link svg{flex-shrink:0}
.customers-table .row-actions-cell{width:48px;padding-right:0}
@media(max-width:640px){
 .customers-table td{max-width:none;padding:12px 0}
 .customers-table td[data-label="Contact"]{width:100%;flex-direction:column;align-items:stretch;gap:8px;text-align:left}
 .customers-table .customer-contact{width:100%;overflow-x:auto;padding-bottom:4px}
 .customers-table td[data-label="Projecten"]{flex-direction:column;align-items:stretch;text-align:left}
 .customers-table .row-actions-cell{width:100%}
}

.website-addon-badge{display:inline-flex;align-items:center;gap:4px;margin-left:auto;padding:3px 6px;border-radius:6px;background:#edf2ed;color:#496152;font-size:10px;white-space:nowrap;flex-shrink:0}
.website-addon-explainer{display:grid;gap:18px;padding:24px;line-height:1.65}
.website-addon-explainer p{margin:0}.website-addon-explainer small{color:#68756b}.website-addon-explainer .primary{justify-self:start;min-height:46px}
.website-addon-note{padding:12px 16px;border-radius:10px;background:#f3f6f3}
@media(min-width:681px){.sidebar-collapsed .website-addon-badge{display:none}}

.sidebar nav .website-addon-entry{gap:6px;padding-left:8px;padding-right:8px}.website-addon-entry .sidebar-nav-text{white-space:nowrap;font-size:12px}.website-addon-entry>svg{flex-shrink:0}.website-addon-badge{font-size:9px;font-weight:600;padding:4px 5px;gap:5px;color:#174b38;background:#e2ede5;border:1px solid #a8c3b2}.website-addon-badge svg{flex-shrink:0;color:#123e2e}

.project-photo-cards{gap:18px;align-items:start}
.project-photo-card{padding:22px;background:#fff;border:1px solid var(--line);border-radius:16px;min-width:0}
.project-photo-card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.project-photo-card-heading h3{font-size:15px;margin:0}.project-photo-card-heading>span{white-space:nowrap;font-size:11px;color:#64766b;background:#f0f5f1;border-radius:20px;padding:4px 8px}
.project-photo-card>p{font-size:12px;line-height:1.6;color:#68796f;margin:10px 0 20px;min-height:38px}
.project-photo-card .photo-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.project-photo-card .photo-thumb{width:100%;height:auto;aspect-ratio:1.2;border-radius:10px}
.project-photo-card .photo-thumb>a{display:block;width:100%;height:100%}
.project-photo-card .photo-add{grid-column:1/-1;width:100%;min-height:148px;height:auto;padding:20px 10px;border-radius:12px;background:#f7faf7;border-color:#b8cdbf;gap:10px;color:#28664e;font-size:13px;font-weight:600;text-align:center}
.project-photo-card .photo-add svg{width:26px;height:26px}.project-photo-card .photo-add small{font-size:11px;font-weight:400;color:#68796f}.project-photo-card .photo-add:hover{background:#eef5ef;border-color:#28664e}
.project-photo-card .photo-add[aria-disabled=true]{opacity:.55;cursor:wait}.project-photo-card .photo-remove{width:32px;height:32px}
@media(max-width:1100px){.project-photo-cards{grid-template-columns:1fr}.project-photo-card>p{min-height:0}.project-photo-card .photo-strip{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}}

/* Settings: calm grouped navigation, one focused workspace. */
.settings-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px;align-items:start}
.settings-navigation{padding:8px 0;position:sticky;top:24px}
.settings-nav-group+ .settings-nav-group{margin-top:22px}
.settings-nav-group>p{font-size:11px;font-weight:600;color:var(--muted);margin:0 12px 8px}
.settings-navigation button{display:block;width:100%;text-align:left;border:0;border-radius:8px;background:transparent;color:var(--muted);padding:12px;font-size:13px;line-height:1.4;min-height:44px}
.settings-navigation button:hover{background:#edf2ee;color:var(--ink)}
.settings-navigation button.active{background:#e3eee7;color:#205c46;font-weight:600}
.settings-navigation button:focus-visible{outline:2px solid #28684e;outline-offset:2px}
.settings-content{min-width:0;max-width:1060px}
.settings-intro{padding:0 0 22px;margin-bottom:24px;border-bottom:1px solid var(--line)}
.settings-intro h2{font-size:24px;margin:0 0 6px}
.settings-intro p{color:var(--muted);font-size:14px;line-height:1.6;margin:0}
.settings-content .settings-section{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:20px}
.settings-content .integration-card+.integration-card{margin-top:16px}
@media(max-width:1000px){.settings-layout{grid-template-columns:1fr;gap:24px}.settings-navigation{position:static;display:flex;flex-wrap:wrap;gap:16px;border-bottom:1px solid var(--line);padding-bottom:20px}.settings-nav-group{flex:1 1 180px}.settings-nav-group+ .settings-nav-group{margin-top:0}.settings-content{max-width:none}}
@media(max-width:560px){.settings-navigation{display:block}.settings-nav-group+ .settings-nav-group{margin-top:16px}.settings-nav-group{display:flex;flex-wrap:wrap;gap:4px}.settings-nav-group>p{width:100%;margin:0 8px 4px}.settings-navigation button{width:auto;padding:10px;font-size:12px}.settings-content .settings-section{padding:16px}.settings-intro{margin-bottom:18px}}

.compact-settings-form{gap:16px}
.compact-settings-form .form-grid{gap:12px 18px;margin-bottom:8px}
.compact-settings-form label{gap:5px;font-size:12px}
.compact-settings-form input:not([type="checkbox"]):not([type="hidden"]),.compact-settings-form select{min-height:42px;padding:10px 12px}
.compact-settings-form textarea{min-height:100px}
.settings-group-title{font-size:14px;margin:24px 0 12px;padding-top:20px;border-top:1px solid var(--line)}
.settings-group-title:first-child{margin-top:0;padding-top:0;border-top:0}
.settings-address-grid>label:first-child{grid-column:1/-1}
.settings-disclosure{border:1px solid var(--line);border-radius:9px;margin:14px 0;background:var(--paper)}
.settings-disclosure>summary{padding:14px 16px;cursor:pointer;font-size:13px;font-weight:600;min-height:46px}
.settings-disclosure>summary span{font-size:11px;font-weight:400;color:var(--muted);margin-left:8px}
.settings-disclosure[open]>summary{border-bottom:1px solid var(--line);margin-bottom:14px}
.settings-disclosure>:not(summary){margin-left:16px;margin-right:16px}
.settings-disclosure>:last-child{margin-bottom:16px}
.compact-settings-form .mail-templates{border:0;padding:0;margin:0}
.compact-settings-form .section-actions{margin-top:8px;padding-top:16px;border-top:1px solid var(--line)}
.compact-settings-form .muted,.compact-settings-form .hint{font-size:12px;line-height:1.6}

/* Project creation: keep each step compact while preserving entered fields. */
[data-project-step]{display:grid;gap:18px}
[data-project-step][hidden]{display:none!important}
.project-create-options{display:grid;gap:16px}
.project-create-options .ai-launch{margin:0;text-align:left}
.project-create-options .ai-launch strong{display:flex;align-items:center;justify-content:space-between;gap:12px}

.project-customer-summary{padding:16px;border:1px solid var(--border,#dbe4df);border-radius:12px;background:var(--surface,#fff)}
.project-customer-summary dl{display:grid;grid-template-columns:140px minmax(0,1fr);gap:8px 16px;margin:12px 0 0}
.project-customer-summary dt{color:#63736b}
.project-customer-summary dd{margin:0;overflow-wrap:anywhere}
@media(max-width:480px){.project-customer-summary dl{grid-template-columns:1fr;gap:4px}.project-customer-summary dd{margin-bottom:8px}}

.project-review-flow{display:grid;gap:14px}
.project-review-card{border:1px solid #dbe4df;border-radius:14px;background:#fff;padding:18px}
.project-review-card header{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.project-review-card h4{margin:0;flex:1}
.project-review-card p{margin:6px 0;overflow-wrap:anywhere}
.project-review-number{display:grid;place-items:center;min-width:28px;height:28px;background:#e9f1ec;border-radius:50%;color:#24513f;font-weight:600}
.project-review-card dl{display:grid;grid-template-columns:100px minmax(0,1fr);gap:6px;margin:12px 0 0}
.project-review-card dd{margin:0}.project-review-card dt{color:#63736b}
.project-review-next{padding:16px;background:#edf3ee;border-radius:12px}.project-review-next p{margin:6px 0 0}

.appointment-section{padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--white,#fff);display:grid;gap:14px}
.appointment-section h3{display:flex;align-items:center;gap:10px;margin:0;font-size:15px}
.appointment-section h3>span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e9f1ec;color:var(--green);font-size:12px}
.appointment-section label,.appointment-section p{margin:0}
.appointment-slots{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px}
.appointment-slots button{padding:10px 8px;min-height:40px;font-size:13px}
.appointment-slots button[aria-pressed="true"]{background:#e9f1ec;border-color:var(--green);color:var(--green);font-weight:600}
.appointment-confirm{padding-top:12px;border-top:1px solid var(--line);gap:10px!important}
.appointment-confirm input{margin:0}
.appointment-confirm span{flex:1;min-width:0}

.quote-intake-photos{display:grid;gap:14px;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--white)}
.quote-intake-photos h3,.quote-intake-photos p,.quote-intake-photos label{margin:0}
.quote-photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.quote-photo-grid>div,.quote-photo-grid figure{min-width:0;display:grid;gap:8px;align-content:start}
.quote-photo-grid img{width:100%;height:125px;object-fit:cover;border-radius:8px;background:var(--paper)}
.quote-photo-grid figcaption{font-size:12px;overflow-wrap:anywhere;color:var(--muted)}
.quote-photo-grid input{min-width:0;width:100%}
.quote-photo-picker{padding:14px;background:var(--paper);border:1px dashed var(--line);border-radius:8px}
.quote-photo-picker input{width:100%;padding:8px 0;border:0;background:transparent}
.quote-photo-picker small{color:var(--muted);font-weight:400}

.quote-photo-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.quote-photo-heading>span{white-space:nowrap;padding:3px 8px;border-radius:20px;background:var(--paper);color:var(--muted);font-size:12px}
.quote-photo-heading .hint{margin-top:4px}
.quote-intake-photos .quote-photo-picker{padding:0;border:0;background:transparent;display:grid;gap:7px}
.quote-photo-add{width:100%;min-height:90px;justify-content:flex-start;text-align:left;padding:18px;gap:14px;background:#f5f8f6;border:1px dashed #b9cec1;border-radius:10px;color:var(--green)}
.quote-photo-add:hover{background:var(--green-light);border-color:var(--green)}
.quote-photo-add>svg{flex-shrink:0}
.quote-photo-add span{display:grid;gap:4px}
.quote-photo-add small{font-size:12px;font-weight:400;color:var(--muted)}
.quote-photo-picker>small{font-size:11px;text-align:center;color:var(--muted)}
.quote-photo-help{font-size:12px;color:var(--muted)}
.quote-photo-help summary{cursor:pointer}
.quote-photo-help p{margin-top:8px}
.quote-photo-grid>div{border:1px solid var(--line);border-radius:10px;padding:10px}
.quote-photo-grid label{font-size:12px}
.quote-photo-grid .text-button{justify-self:start;min-height:32px;font-size:12px}

/* Compact overview: one agenda and a bounded project list. */
.dashboard { gap: 24px; }
.dashboard .dash-columns { grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; }
.dashboard .action-card { padding: 12px 16px; }
.dashboard .action-body { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.dashboard .action-value { font-size: 16px; }
.dashboard .action-icon { width: 32px; height: 32px; }
.dash-projects { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.dash-project { width: 100%; display: flex; align-items: center; gap: 12px; padding: 16px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; color: var(--ink); }
.dash-project:last-child { border-bottom: 0; }
.dash-project:hover { background: var(--green-light); }
.dash-project-copy { flex: 1; min-width: 0; display: grid; gap: 4px; }
.dash-project-copy strong { font-size: 14px; overflow-wrap: anywhere; }
.dash-project-copy small { color: var(--muted); font-size: 12px; }
.dash-project-copy > span { font-size: 12px; color: var(--green); }
.dash-project > svg { flex-shrink: 0; }
.dash-empty-day { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: #fff; }
@media (max-width: 1000px) { .dashboard .dash-columns { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .dash-project { gap: 8px; padding: 12px; } .dash-project > .badge { font-size: 10px; } .dash-empty-day { align-items: flex-start; flex-direction: column; } }

/* Compact customer directory: expand projects only when needed. */
.customer-summary { background: transparent; border: 0; margin-bottom: 16px; justify-content: flex-start; }
.customer-summary .summary-stat { flex: initial; padding: 0 24px 0 0; margin-right: 24px; }
.customer-summary .summary-value { font-size: 16px; }
.customers-table { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.customers-table th { background: #f0f4f1; }
.customers-table td:first-child,.customers-table th:first-child { padding-left: 16px; }
.customers-table .row-actions-cell { padding-right: 12px; }
.customer-projects { min-width: 125px; }
.customer-projects > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--green); cursor: pointer; list-style: none; padding: 6px 0; }
.customer-projects > summary::-webkit-details-marker { display: none; }
.customer-projects[open] > summary svg { transform: rotate(180deg); }
.customer-projects > div { margin-top: 8px; border-top: 1px solid var(--line); }
.customer-projects .customer-project-link { padding: 10px 0; }
.customer-project-link small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
@media(max-width:640px){ .customer-summary .summary-stat { margin-right: 12px; padding-right: 12px; } .customers-table td:first-child { padding-left: 0; } .customer-projects { width: 100%; } }

.customer-summary { display:flex; flex-wrap:wrap; gap:16px 28px; overflow:visible; }
.customer-summary .summary-stat { border:0; margin:0; padding:2px 0; }
/* Compact team overview with focused editing per person. */
.team-list{display:grid;gap:16px}
.team-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;min-width:0}
.team-card .team-row{padding:0;border:0;flex-wrap:nowrap;gap:12px}
.team-card .avatar{width:42px;height:42px;flex-shrink:0}
.team-card .team-name{min-width:0}
.team-card .team-name h3{font-size:16px;margin:0 0 3px}
.team-card .team-name p{margin:0;overflow-wrap:anywhere}
.team-schedule-summary{font-size:12px;color:var(--muted);margin:12px 0 16px}
.team-card details{border-top:1px solid var(--line);padding-top:12px;margin-top:12px}
.team-card summary{cursor:pointer;font-size:13px;font-weight:600;padding:4px 0}
.team-card .team-rates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:end;margin:20px 0 16px}
.team-card .team-rates>label{max-width:none;width:auto;margin:0;min-width:0}
.team-card .team-rates input:not([type=checkbox]){width:100%;min-width:0}
.team-card .workdays-field{grid-column:1/-1}
.team-card .workdays-toggle{display:flex;flex-wrap:wrap;gap:6px}
.team-card .team-rates>.checkbox,.team-card .team-actions>.checkbox{display:flex;align-items:center;gap:8px;font-size:13px}
.team-card .checkbox input{flex:0 0 17px;width:17px;height:17px;margin:0}
.team-card .team-rates>button{justify-self:end;grid-column:-2/-1;display:flex;gap:6px;align-items:center}
.team-card .team-actions{padding-top:16px;border-top:1px solid var(--line);gap:16px 24px}
.team-profile>form{margin-top:16px}
.planning-jobs{background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:24px}
.planning-jobs>summary{padding:16px 20px;cursor:pointer;font-size:14px}
.planning-jobs>summary>span{margin-left:16px;color:var(--muted);font-size:12px}
.planning-jobs .job-status-list{padding:0 20px 8px;gap:0}
.planning-jobs .job-status-row{border:0;border-top:1px solid var(--line);border-radius:0;padding:14px 0}
.planning-jobs .job-badge{white-space:normal;max-width:240px;text-align:right;font-size:11px;background:transparent}
.job-status-panel>.section-heading p{margin:4px 0 0;font-size:13px}
@media(max-width:650px){.team-card{padding:16px}.team-card .team-rates{grid-template-columns:repeat(2,minmax(0,1fr))}.team-card .team-actions{flex-direction:column;align-items:flex-start}.team-card .team-row{flex-wrap:wrap}.planning-jobs>summary>span{display:block;margin:6px 0 0 18px}.planning-jobs .job-status-row{grid-template-columns:1fr}.planning-jobs .job-badge{justify-self:start;text-align:left;padding-left:0}.team-card .team-rates>button{grid-column:1/-1}}

/* Dashboard filters share the same layout and remain usable on narrow screens. */
.dashboard-filters{margin:0 0 22px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:12px}
.dashboard-filter-fields{display:flex;flex-wrap:wrap;gap:12px;align-items:end}
.dashboard-filter-fields>label{display:flex;flex:1 1 145px;flex-direction:column;gap:6px;margin:0;font-size:12px;color:var(--muted);min-width:0}
.dashboard-filter-fields>.dashboard-search{flex:2 1 220px}
.dashboard-filter-fields input,.dashboard-filter-fields select{width:100%;min-width:0;margin:0;font-size:14px;color:var(--ink)}
.dashboard-filter-result{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;font-size:12px;color:var(--muted);min-height:24px}
/* Keep the floating assistant and its open panel clear of the scroll control. */
body:has([aria-label="Schildermaatje websitehulp"]) .back-to-top{bottom:110px}
@media(max-width:640px){body:has([aria-label="Schildermaatje websitehulp"]) .back-to-top{bottom:100px}.dashboard-filter-fields>label{flex-basis:calc(50% - 6px)}.dashboard-filter-fields>.dashboard-search{flex-basis:100%}}

body:has([aria-label="Schildermaatje websitehulp"] button[aria-expanded="true"]) .back-to-top{display:none}
.planning-jobs-modal{padding:4px 24px 24px}.planning-jobs-modal .job-status-main{min-width:0;overflow-wrap:anywhere}.planning-jobs-modal .job-badge{white-space:normal;max-width:200px}
@media(max-width:640px){.planning-jobs-modal{padding:4px 16px 16px}.planning-jobs-modal .job-status-row{grid-template-columns:1fr}.planning-jobs-modal .job-badge{justify-self:start}}

.planning-jobs-dialog{width:min(780px,calc(100% - 30px))}
.planning-job-filters{display:grid;grid-template-columns:1.35fr 1fr 1.2fr;gap:12px;padding-top:16px}
.planning-job-filters>label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px;color:var(--muted);margin:0}
.planning-job-filters .planning-job-search{grid-column:1/-1}
.planning-job-filters input,.planning-job-filters select{width:100%;min-width:0;margin:0;font-size:14px;color:var(--ink)}
.planning-job-results{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;color:var(--muted);font-size:12px}
.planning-jobs-dialog .job-status-row{padding:14px;border-radius:10px;gap:8px 20px;transition:border-color .15s}
.planning-jobs-dialog .job-status-main{width:100%;background:transparent;border-radius:0;min-height:40px}
.planning-jobs-dialog .job-status-main:hover{background:transparent;color:#28684e}
.planning-jobs-dialog .job-status-row:has(.job-status-main:hover){border-color:#9fb9ac}
.planning-jobs-dialog .job-status-main strong{font-size:14px;line-height:1.4}
.planning-jobs-dialog .job-status-main>.muted{font-size:12px;line-height:1.45}
.planning-jobs-dialog .job-badge{max-width:180px;font-size:11px;line-height:1.5;padding:6px 10px;border-radius:8px}
.planning-job-pagination{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding:14px 0 0;border-top:1px solid var(--line);background:white;font-size:12px;color:var(--muted)}
.planning-job-pagination>div{display:flex;align-items:center;gap:12px}.planning-job-pagination button{display:grid;place-items:center;padding:8px;min-height:36px;min-width:36px}
@media(max-width:540px){.planning-job-filters{grid-template-columns:1fr 1fr}.planning-job-filters>label:last-child{grid-column:1/-1}.planning-job-pagination{flex-wrap:wrap}.planning-job-pagination>div{margin-left:auto}.planning-jobs-dialog .job-status-row{gap:8px}}

/* Mobile workspace: keep controls together and leave project cards unobstructed. */
.workspace-chat-slot { display:none; }
@media(max-width:680px) {
 .workspace-chat-slot:not(:empty) { display:flex; }
 .topbar { gap:8px; padding-inline:12px; }
 .topbar>span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
 .topbar-right { gap:6px; flex-shrink:0; }
 .job-status-panel>.section-heading { display:flex; flex-direction:column; align-items:stretch; gap:12px; }
 .job-status-panel>.section-heading>.toolbar { display:grid; grid-template-columns:1fr 1fr; width:100%; }
 .job-status-panel>.section-heading>.toolbar button { padding-inline:8px; min-height:44px; }
 .planning-navigation { display:flex; flex-direction:column; align-items:stretch; gap:12px; }
 .planning-navigation>.toolbar { display:grid; grid-template-columns:minmax(0,1fr) 44px minmax(68px,auto) 44px; gap:8px; width:100%; }
 .planning-navigation .plan-filter { grid-column:1/-1; width:100%; max-width:none; }
 .planning-navigation .planning-toggle { min-width:0; }
 .planning-navigation .planning-toggle button { padding-inline:8px; flex:1; min-width:0; }
 .planning-navigation button { min-height:44px; }
 .billing-hero { padding:18px; gap:12px; }
 .billing-hero h2 { font-size:24px; }
 .billing-summary { gap:8px; }
 .billing-summary article { padding:12px; }
 .billing-price small { display:block; margin-top:4px; line-height:1.5; }
}
@media(max-width:360px) {
 .dashboard-filter-fields>label { flex-basis:100%; }
 .planning-navigation>.toolbar { grid-template-columns:minmax(0,1fr) 40px 68px 40px; gap:4px; }
 .planning-navigation .planning-toggle button { padding-inline:5px; font-size:12px; }
 .planning-navigation .toolbar>button { padding-inline:6px; min-width:0; }
}

.month-scroll-hint { display:none; }
@media(max-width:680px) { .month-scroll-hint { display:block; position:sticky; left:0; margin:0 0 10px; font-size:12px; line-height:1.5; color:var(--muted); } }

@media(max-width:540px) { .quote-preview .form-footer { display:grid; grid-template-columns:1fr; gap:10px; } .quote-preview .form-footer button { width:100%; justify-content:center; min-height:44px; } .quote-totals>div { gap:12px; } .quote-totals strong { white-space:nowrap; } }

/* Keep complimentary/test status readable beside mobile toolbar controls. */
@media (max-width:420px) {
 .topbar:has(.test-account-indicator) { height:auto; min-height:61px; padding-block:8px; }
 .topbar:has(.test-account-indicator)>span { display:none; }
 .topbar:has(.test-account-indicator) .topbar-right { flex:1; min-width:0; flex-wrap:wrap; justify-content:flex-end; }
}

@media(max-width:680px) {
 .topbar .mobile-menu, .topbar .header-clock, .topbar .workspace-chat-slot button { min-width:44px; min-height:44px; flex-shrink:0; }
}
.fp-site{--fp-ink:#242824;--fp-paper:#faf9f5;background:var(--fp-paper);color:var(--fp-ink);font-family:var(--brand-font);line-height:1.65;min-height:100vh}.fp-site *{box-sizing:border-box}.fp-site a{color:inherit}.fp-site h1,.fp-site h2,.fp-site h3{font-family:var(--brand-font);letter-spacing:-.045em;line-height:1.12;font-weight:600}.fp-site h1{font-size:clamp(2.5rem,5.2vw,5.7rem);max-width:950px;margin:16px 0 28px}.fp-site h2{font-size:clamp(1.8rem,3vw,3.2rem);margin:12px 0 24px}.fp-site h3{font-size:1.45rem}.fp-topline{background:var(--brand);color:var(--brand-on);padding:9px 6%;display:flex;justify-content:space-between;font-size:.8rem}.fp-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 6%;border-bottom:1px solid #24282418}.fp-logo{display:flex;align-items:center;gap:14px;text-decoration:none;font-size:1.25rem;font-weight:700;max-width:32%}.fp-logo img{width:auto;max-width:140px;max-height:58px;object-fit:contain}.fp-header nav{display:flex;gap:26px;font-size:.9rem}.fp-header nav a{text-decoration:none}.fp-site .fp-button{display:inline-flex;align-items:center;justify-content:center;gap:24px;padding:17px 24px;background:var(--brand);color:var(--brand-on);border:0;border-radius:4px;text-decoration:none;font:600 .95rem var(--brand-font);cursor:pointer;line-height:1.4}.fp-button:disabled{opacity:.6;cursor:wait}.fp-header .fp-button{font-size:.82rem;padding:14px 18px}.fp-hero{display:grid;grid-template-columns:1.2fr 1fr;min-height:650px}.fp-hero>div:first-child{padding:80px 8% 70px 12%}.fp-hero>img{width:100%;height:100%;max-height:830px;object-fit:cover}.fp-eyebrow{text-transform:uppercase;letter-spacing:.17em;font-size:.73rem;font-weight:700}.fp-intro{font-size:1.08rem;max-width:500px;margin-bottom:32px;white-space:pre-line}.fp-hero-note{font-size:.8rem;margin-top:20px;color:#555e55}.fp-paint-art{position:relative;overflow:hidden;background:var(--brand);color:var(--brand-on);display:flex;align-items:flex-end;padding:45px;min-height:380px}.fp-paint-art>span{position:absolute;width:120%;height:28%;background:var(--brand-accent);transform:rotate(-22deg);left:-15%;top:15%;opacity:.8;border-radius:30% 2% 25% 0}.fp-paint-art>span:nth-child(2){top:40%;opacity:.5}.fp-paint-art>span:nth-child(3){top:65%;opacity:.2}.fp-paint-art p{position:relative;font-size:3.6rem;line-height:1.1;letter-spacing:-.06em}.fp-section{padding:80px 6%}.fp-section-heading{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:30px}.fp-section-heading h2{max-width:650px}.fp-section-heading>a{white-space:nowrap;font-size:.9rem;padding-bottom:26px}.fp-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.fp-services>a{padding:30px;border:1px solid #24282425;text-decoration:none;border-radius:4px;white-space:pre-line}.fp-services>a>span{font-size:.8rem;opacity:.55}.fp-services p{font-size:.95rem}.fp-services b{display:block;font-size:.83rem;margin-top:26px}.fp-soft{background:#eeeee7}.fp-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:36px 0}.fp-project{text-decoration:none;min-width:0}.fp-project>img,.fp-project-placeholder{width:100%;aspect-ratio:1.35;height:auto;object-fit:cover}.fp-project-placeholder{display:grid;place-items:center;background:var(--brand);color:var(--brand-on);padding:30px}.fp-project>div:last-child{padding:20px 0}.fp-project h3{display:flex;justify-content:space-between;gap:20px;margin:10px 0}.fp-project small{text-transform:uppercase;letter-spacing:.1em}.fp-about-teaser{max-width:920px}.fp-about-teaser>p:not(.fp-eyebrow){font-size:1.15rem;white-space:pre-line}.fp-bottom-cta{background:var(--brand);color:var(--brand-on);padding:60px 6%;display:flex;align-items:center;justify-content:space-between;gap:35px}.fp-bottom-cta .fp-button{background:var(--brand-accent);color:var(--brand-accent-on);flex-shrink:0}.fp-footer{padding:50px 6%;display:flex;justify-content:space-between;gap:30px;font-size:.9rem}.fp-footer>div:last-child{display:flex;flex-direction:column;gap:10px}.fp-footer strong{font-size:1.2rem}.fp-footer small{opacity:.7}.fp-copy{white-space:pre-line;max-width:850px;font-size:1.1rem;margin-bottom:35px}.fp-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:35px 0}.fp-gallery img{width:100%;height:auto;object-fit:cover}.fp-team{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin-top:32px}.fp-team img{width:100%;height:auto;aspect-ratio:1;object-fit:cover}.fp-team p{white-space:pre-line}.fp-contact{display:grid;grid-template-columns:1fr 1fr;gap:70px}.fp-contact address{font-style:normal}.fp-form-section{max-width:1100px;margin:auto}.fp-form-section>h1{font-size:clamp(2.3rem,4vw,4rem)}.fp-inquiry{margin-top:40px}.fp-inquiry label{display:flex;flex-direction:column;gap:7px;margin:0 0 23px;font-size:.95rem;font-weight:500}.fp-inquiry input,.fp-inquiry select,.fp-inquiry textarea{padding:13px;background:white;border:1px solid #c9cec7;border-radius:4px;font:inherit;min-width:0;width:100%;color:var(--fp-ink)}.fp-inquiry fieldset{border:0;padding:0;margin:30px 0}.fp-inquiry fieldset[hidden]{display:none}.fp-inquiry legend{font-size:1.4rem;letter-spacing:-.03em;font-weight:600;margin-bottom:24px}.fp-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.fp-steps{display:flex;list-style:none;padding:0;gap:25px;border-bottom:1px solid #24282425;padding-bottom:24px}.fp-steps li{display:flex;gap:10px;align-items:center;font-size:.85rem;opacity:.5}.fp-steps li[aria-current]{opacity:1;font-weight:700}.fp-steps span{background:var(--brand);color:var(--brand-on);width:28px;height:28px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.fp-hint{font-size:.85rem;color:#596259}.fp-inquiry .fp-check{flex-direction:row;align-items:flex-start;font-weight:400}.fp-check input{width:18px;min-width:18px;margin-top:5px;accent-color:var(--brand)}.fp-form-actions{display:flex;gap:15px}.fp-secondary{border:1px solid #a6afa5;padding:15px 20px;background:transparent;border-radius:4px;font:inherit;cursor:pointer}.fp-error{background:#fff0ee;padding:15px;color:#8d221b}.fp-confirmation{padding:40px;background:#eef3e8;border:1px solid #c6d3bb;margin-top:30px}.fp-confirmation>span{font-size:2rem}.fp-site :focus-visible{outline:3px solid var(--brand-accent);outline-offset:4px}.fp-site img{display:block}.brand-document{font-family:var(--brand-font);border-top:7px solid var(--brand)}.brand-document h1,.brand-document h2,.brand-document h3{font-family:var(--brand-font)}.brand-document .button{background:var(--brand);color:var(--brand-on)}.brand-document-logo{max-width:190px;max-height:75px;object-fit:contain;margin:0 0 20px}.brand-document .sign-total{border-color:var(--brand)}
@media(max-width:1050px){.fp-header{flex-wrap:wrap;gap:18px}.fp-logo{max-width:60%}.fp-header nav{order:3;width:100%;justify-content:center}.fp-hero>div:first-child{padding:55px 8%}.fp-services,.fp-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fp-section-heading{display:block}.fp-section-heading>a{display:inline-block;padding-bottom:5px}.fp-paint-art p{font-size:2.8rem}}
@media(max-width:640px){.fp-topline{padding:8px 5%}.fp-header{padding:18px 5%;gap:14px}.fp-logo{font-size:1rem;gap:8px}.fp-logo img{max-width:72px;max-height:42px}.fp-header>.fp-button{font-size:.72rem;padding:12px;gap:5px}.fp-header nav{gap:16px;font-size:.78rem;overflow:auto;justify-content:flex-start}.fp-hero{grid-template-columns:1fr;min-height:0}.fp-hero>div:first-child{padding:48px 6%}.fp-hero>img{height:340px}.fp-paint-art{min-height:250px;max-height:280px}.fp-paint-art p{font-size:2.7rem}.fp-section{padding:50px 6%}.fp-services,.fp-project-grid,.fp-team,.fp-gallery,.fp-contact,.fp-form-grid{grid-template-columns:1fr}.fp-contact{gap:30px}.fp-services>a{padding:24px}.fp-section-heading h2{margin-top:12px}.fp-bottom-cta,.fp-footer{display:block}.fp-footer>div:last-child{margin-top:25px}.fp-steps{gap:12px}.fp-steps li{flex-direction:column;align-items:start;font-size:.7rem;flex:1}.fp-form-actions{flex-wrap:wrap}.fp-form-actions>.fp-button{flex:1}.fp-form-grid{gap:0}.fp-site h1{font-size:2.7rem}.fp-site .fp-form-section h1{font-size:2.3rem}}
.fp-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:18px}.fp-call{font-size:.9rem;font-weight:600}.fp-local-strip{display:flex;justify-content:space-between;gap:20px;padding:22px 6%;background:#eee9dd;flex-wrap:wrap;font-size:.9rem}.fp-design-local{--fp-paper:#fffdf8}.fp-design-local .fp-hero{min-height:540px;max-width:1400px;margin:auto;align-items:center;gap:24px;padding:35px 5%}.fp-design-local .fp-hero>div:first-child{padding:30px 0}.fp-design-local h1{font-size:clamp(2.4rem,4vw,4.3rem);letter-spacing:-.035em}.fp-design-local .fp-hero>img{height:470px;border-radius:26px;object-fit:cover}.fp-design-local .fp-paint-art{border-radius:26px;min-height:440px}.fp-design-local .fp-button{border-radius:30px}.fp-design-local .fp-services>a{border-radius:18px;background:#fff;border-color:#e8e2d7}.fp-design-local .fp-team img{border-radius:24px}.fp-design-local .fp-section{padding-top:60px;padding-bottom:60px}.fp-design-local .fp-project>img{border-radius:18px}.fp-design-local .fp-eyebrow{letter-spacing:.06em;text-transform:none;font-size:.9rem}.fp-design-local .fp-about-teaser{background:#f2eee5;border-radius:24px;margin:30px 6% 60px;max-width:none}.fp-design-local .fp-bottom-cta{border-radius:24px;margin:0 5%}.fp-design-local .fp-header{background:#fffdf8}.fp-design-professional .fp-hero-actions{display:block}
@media(max-width:640px){.fp-design-local .fp-hero{padding:20px 6% 35px;gap:10px}.fp-design-local .fp-hero>img{height:290px}.fp-design-local .fp-paint-art{min-height:260px}.fp-design-local h1{font-size:2.45rem}.fp-local-strip{display:grid;gap:8px}.fp-design-local .fp-about-teaser{margin:15px 5% 35px}.fp-design-local .fp-bottom-cta{padding:35px 7%}}
/* Show the welcoming image before the introduction on small screens. */
@media(max-width:640px){.fp-hero-photo>img{order:-1;height:clamp(220px,67vw,300px);object-position:center}.fp-hero-photo>div:first-child{padding:28px 6% 36px}.fp-design-local .fp-hero-photo>img{height:clamp(220px,67vw,300px)}.fp-design-local .fp-hero-photo>div:first-child{padding:18px 0 24px}}
.fp-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.fp-review-card{padding:24px;border:1px solid #dce4df;border-radius:14px;background:#fff;color:#26352e;min-width:0}.fp-review-card time{display:block;margin-top:4px;font-size:.8rem;color:#637268}.fp-review-stars{color:#87660b;letter-spacing:2px;margin-bottom:12px}.fp-review-comment{white-space:pre-line;overflow-wrap:anywhere;line-height:1.65}.fp-review-comment summary{cursor:pointer;margin-top:16px}.fp-review-note,.fp-review-card small{font-size:.85rem;color:#637268}.fp-review-note{margin-bottom:20px}@media(max-width:760px){.fp-review-grid{grid-template-columns:1fr}}

.fp-breadcrumbs { max-width: none; margin: 0 auto; padding: 1.25rem 6% 0; font-size: .85rem; color: #627168; }
.fp-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.fp-breadcrumbs li { display: flex; gap: .5rem; align-items: baseline; overflow-wrap: anywhere; }
.fp-breadcrumbs li + li::before { content: "/"; color: #98a49c; }
.fp-breadcrumbs a { text-decoration: none; }
.fp-breadcrumbs a:hover { text-decoration: underline; }
.fp-contact-form { min-width: 0; padding: 1.5rem; border: 1px solid #dce4df; border-radius: 16px; background: #fff; }
.fp-contact-form fieldset { display: grid; gap: 1rem; border: 0; padding: 0; margin: 1.25rem 0 0; min-width: 0; }
.fp-contact-form label { display: grid; gap: .4rem; }
.fp-contact-form label .fp-hint { margin: 0; }
.fp-privacy .fp-copy { max-width: 760px; }
.fp-privacy h2 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
@media(max-width: 600px) { .fp-breadcrumbs { padding-top: 1rem; } .fp-contact-form { padding: 1.1rem; } }

.fp-contact{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,6vw,80px);align-items:start}
.fp-contact-details{position:sticky;top:28px;min-width:0;align-self:start}
.fp-contact-details h2{font-size:clamp(1.7rem,2.5vw,2.6rem);margin:0 0 16px;overflow-wrap:anywhere}
.fp-contact-intro{white-space:pre-line;overflow-wrap:anywhere;max-width:480px;margin:0 0 24px;color:#505750;font-size:.96rem}
.fp-contact-links{display:grid;gap:0;border-top:1px solid #24282418}
.fp-contact-links>a{display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:14px;padding:15px 0;text-decoration:none;border-bottom:1px solid #24282418}
.fp-contact-links>a:hover strong,.fp-contact-links>a:hover address{text-decoration:underline;text-underline-offset:4px}
.fp-contact-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:color-mix(in srgb,var(--brand) 9%,transparent);color:var(--brand)}
.fp-contact-links small{display:block;color:#626962;font-size:.76rem;margin-bottom:2px}
.fp-contact-links strong,.fp-contact-links address{font-size:.95rem;font-weight:500;overflow-wrap:anywhere}
.fp-contact-hours{display:flex;align-items:start;gap:12px;margin-top:16px;font-size:.88rem}.fp-contact-hours svg{flex-shrink:0;margin-top:5px}.fp-contact-hours p{margin:0}
.fp-contact-map{margin-top:24px;border:1px solid #24282418;border-radius:14px;overflow:hidden;background:#fff}
.fp-contact-map iframe{display:block;width:100%;height:210px;border:0}



.fp-map-link{display:flex;align-items:center;justify-content:space-between;padding:11px 16px;text-decoration:none;font-size:.78rem;font-weight:600}
.fp-map-link:hover{text-decoration:underline}.fp-contact-area{margin:14px 0 0;font-size:.82rem;color:#626962}.fp-contact-area strong{font-weight:500;color:var(--fp-ink)}
.fp-contact>.fp-contact-form{margin-top:0}
@media(max-width:760px){.fp-contact{grid-template-columns:minmax(0,1fr);gap:32px}.fp-contact-details{position:static}.fp-contact-intro{white-space:pre-line;overflow-wrap:anywhere;max-width:none}}
@media(min-width:761px) and (max-height:780px){.fp-contact-details{position:static}}

.fp-breadcrumbs:has(+ .fp-form-section){max-width:1100px}
.fp-site .fp-navigation-pending{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;padding:12px 18px;border:1px solid #24282420;border-radius:30px;background:#fff;color:#242824;box-shadow:0 4px 24px #0002;font:500 14px var(--brand-font);z-index:100;pointer-events:none;white-space:nowrap}
.fp-navigation-spinner{width:15px;height:15px;border:2px solid #24282430;border-top-color:currentColor;border-radius:50%;animation:fp-navigation-spin .7s linear infinite}
@keyframes fp-navigation-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.fp-navigation-spinner{animation:none}}
/* Keep the page introduction close to its breadcrumbs on every website style. */
.fp-site .fp-breadcrumbs + .fp-section{padding-top:32px}
@media(max-width:640px){.fp-site .fp-breadcrumbs + .fp-section{padding-top:24px}}
/* Optional website-only styling; unset choices retain each design's defaults. */
.fp-site.fp-custom-paper .fp-header{background:var(--fp-paper)}
.fp-site{overflow-wrap:break-word}
.fp-site .fp-skip-link{position:absolute;top:8px;left:8px;z-index:200;padding:12px 18px;background:var(--brand);color:var(--brand-on);transform:translateY(-180%);border-radius:8px}
.fp-site .fp-skip-link:focus{transform:translateY(0)}
.fp-header nav a{display:inline-flex;align-items:center;min-height:44px;border-bottom:2px solid transparent;white-space:nowrap}
.fp-header nav a[aria-current="page"]{border-bottom-color:var(--brand);font-weight:700}
.fp-site .fp-contact-jump{display:none}
.fp-contact-form{scroll-margin-top:24px}
.fp-contact-form fieldset label{margin:0}
.fp-contact-form h2{font-size:clamp(1.6rem,2.7vw,2.6rem)}
.fp-contact-form>p{margin-bottom:0}
.fp-footer p,.fp-logo span{overflow-wrap:anywhere}
.fp-services>a{transition:box-shadow .18s,border-color .18s}
.fp-services>a:hover,.fp-services>a:focus-visible{border-color:var(--brand);box-shadow:0 8px 24px #2428240c}
.fp-inquiry input,.fp-inquiry select,.fp-inquiry textarea{font-size:16px}
.fp-inquiry legend:focus{outline:none}
@media(max-width:760px){.fp-site .fp-contact-jump{display:inline-flex;margin:0 0 28px}.fp-contact-form fieldset{gap:18px}}
@media(max-width:640px){.fp-header{row-gap:6px}.fp-header nav{justify-content:space-between;gap:8px}.fp-header>.fp-button{min-height:44px}.fp-site .fp-form-actions{gap:10px}.fp-form-actions>.fp-secondary,.fp-form-actions>.fp-button{min-height:48px}.fp-contact-form{padding:20px}.fp-site .fp-contact-form h2{margin-top:0}.fp-inquiry .fp-steps{gap:8px}.fp-inquiry .fp-steps li{font-size:.76rem;opacity:1;color:#657065}.fp-inquiry .fp-steps li[aria-current]{color:var(--fp-ink)}}
@media(prefers-reduced-motion:reduce){.fp-services>a{transition:none}}
.fp-site.fp-buttons-square .fp-button,.fp-site.fp-buttons-square .fp-secondary{border-radius:0}
.fp-site.fp-buttons-soft .fp-button,.fp-site.fp-buttons-soft .fp-secondary{border-radius:10px}
.fp-site.fp-buttons-pill .fp-button,.fp-site.fp-buttons-pill .fp-secondary{border-radius:999px}
.fp-site.fp-spacing-compact .fp-section{padding-top:40px;padding-bottom:40px}
.fp-site.fp-spacing-airy .fp-section{padding-top:100px;padding-bottom:100px}
.fp-site.fp-spacing-compact .fp-breadcrumbs+.fp-section,.fp-site.fp-spacing-airy .fp-breadcrumbs+.fp-section{padding-top:32px}
@media(min-width:641px){.fp-site.fp-hero-layout-image-left .fp-hero>img,.fp-site.fp-hero-layout-image-left .fp-hero>.fp-paint-art{grid-column:1;grid-row:1}.fp-site.fp-hero-layout-image-left .fp-hero>div:first-child{grid-column:2;grid-row:1}}
@media(max-width:640px){.fp-site.fp-spacing-compact .fp-section{padding-top:30px;padding-bottom:30px}.fp-site.fp-spacing-airy .fp-section{padding-top:64px;padding-bottom:64px}.fp-site.fp-spacing-compact .fp-breadcrumbs+.fp-section,.fp-site.fp-spacing-airy .fp-breadcrumbs+.fp-section{padding-top:24px}}

.fp-bot-check altcha-widget label {
  display: block;
  margin: 0;
  padding: 0;
  font: inherit;
  line-height: 20px;
  cursor: pointer;
}
.fp-bot-check altcha-widget .altcha-checkbox svg {
  pointer-events: none;
}
