/* LEVREN — illustrative interfaces. Scoped away from working website controls. */
.ev-visual {
  --ev-blue: #1a4dff;
  --ev-ink: #18304f;
  --ev-muted: #61758f;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  justify-items: center;
  width: 100%;
  min-width: 0;
  height: 228px;
  overflow: hidden;
  background: #f0f5fc;
  border-bottom: 1px solid #e3ebf5;
  color: var(--ev-ink);
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: -.01em;
  user-select: none;
  pointer-events: none;
}
.ev-visual *, .ev-visual *::before, .ev-visual *::after { box-sizing: border-box; }
.ev-visual :is(span,div,small,b,i) { min-width: 0; }
.ev-visual b { font-weight: 500; }
.ev-visual small { font-size: 11px; }
.ev-visual .ev-icon { display: block; flex: 0 0 18px; width: 18px; height: 18px; }
.ev-sheet {
  position: relative;
  width: calc(100% - 44px);
  max-width: 304px;
  border: 1px solid #dce5f0;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 2px 3px #16335305, 0 12px 20px -14px #16335336, 0 24px 40px -22px #16335325;
}
.ev-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 500; line-height: 1.4; }
.ev-panel-heading > .ev-icon { color: #6983a7; }
.ev-kicker { display: block; color: var(--ev-muted); font-size: 11px; font-weight: 400; }
.ev-step-caption { color: var(--ev-muted); font-size: 11px; font-weight: 400; white-space: nowrap; }

/* Website: a considered project page, a useful service menu, a short enquiry. */
.ev-site-sheet { width: calc(100% - 36px); max-width: 316px; border-radius: 7px; }
.ev-site-nav { display: flex; align-items: center; gap: 12px; padding: 13px 15px 12px; border-bottom: 1px solid #edf1f6; font-size: 11px; }
.ev-brand { margin-right: auto; font-size: 10px; font-weight: 500; letter-spacing: .045em; }
.ev-project-composition { display: grid; grid-template-columns: 1.15fr 1fr; height: 143px; padding-left: 18px; overflow: hidden; }
.ev-project-copy { align-self: center; }
.ev-project-copy .ev-kicker { max-width: 14ch; font-size: 11px; line-height: 1.3; }
.ev-project-title { display: block; margin: 8px 0 12px; font-size: 23px; font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.ev-text-link { display: flex; align-items: center; gap: 5px; color: #214cb1; font-size: 11px; white-space: nowrap; }
.ev-text-link .ev-icon { flex-basis: 14px; width: 14px; height: 14px; }
.ev-plan { align-self: center; width: 118px; height: 143px; max-width: 100%; }
.ev-site-caption { display: flex; justify-content: space-between; gap: 10px; padding: 10px 15px; border-top: 1px solid #edf1f6; font-size: 11px; color: var(--ev-muted); }
.ev-site-caption > span:last-child { white-space: nowrap; }
.ev-menu-sheet { padding: 17px 16px 9px; }
.ev-menu-sheet .ev-panel-heading { margin-bottom: 13px; font-size: 13px; }
.ev-heading-mark { color: #8da1ba; font-size: 11px; font-weight: 400; }
.ev-service-option { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid #e8eef5; }
.ev-service-option--selected { margin-inline: -8px; padding: 12px 8px; border: 1px solid #d9e6fc; border-radius: 5px; background: #f1f6ff; }
.ev-service-option--selected + .ev-service-option { border-top: 0; }
.ev-menu-index { align-self: flex-start; color: #8399b6; font-size: 11px; line-height: 18px; }
.ev-option-title { display: block; font-size: 12px; font-weight: 500; }
.ev-option-detail { display: block; margin-top: 3px; color: var(--ev-muted); font-size: 11px; }
.ev-service-option > .ev-icon { margin-left: auto; color: #5675a6; width: 16px; height: 16px; flex-basis: 16px; }
.ev-enquiry-sheet { padding: 17px; }
.ev-enquiry-sheet .ev-panel-heading { margin-bottom: 13px; font-size: 13px; }
.ev-field-label { display: block; margin-bottom: 5px; font-size: 11px; color: var(--ev-muted); }
.ev-input-display { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 30px; padding: 6px 8px; border: 1px solid #dfe7f1; border-radius: 4px; background: #fff; font-size: 11px; white-space: nowrap; }
.ev-input-display > span { color: #8399b6; }
.ev-enquiry-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }
.ev-enquiry-fields .ev-input-display { color: #456082; }
.ev-action-display { display: flex; justify-content: space-between; align-items: center; padding: 9px 11px; margin-top: 12px; border-radius: 4px; background: var(--ev-blue); color: #fff; font-size: 12px; font-weight: 500; }
.ev-action-display .ev-icon { width: 16px; height: 16px; flex-basis: 16px; }

/* Apps: focused tasks, generous touch targets translated to a compact vignette. */
.ev-booking-sheet { padding: 17px 18px 18px; }
.ev-month-label { display: flex; justify-content: space-between; margin: 13px 0 9px; color: var(--ev-muted); font-size: 11px; }
.ev-calendar-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.ev-calendar-days > span { display: grid; gap: 5px; justify-items: center; padding: 7px 0; border-radius: 5px; border: 1px solid #e6edf6; color: #48627f; background: #f9fbfd; }
.ev-calendar-days b { font-size: 16px; line-height: 1.2; }
.ev-calendar-days .ev-day-selected { color: #fff; background: var(--ev-blue); border-color: var(--ev-blue); box-shadow: 0 3px 5px #1a4dff15; }
.ev-time-label { margin: 12px 0 7px; color: var(--ev-muted); font-size: 11px; }
.ev-times { display: grid; grid-template-columns: repeat(3,minmax(0, 1fr)); gap: 7px; }
.ev-times > span { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 28px; border: 1px solid #dfe7f1; border-radius: 4px; font-size: 12px; }
.ev-times .ev-time-selected { background: #edf3ff; border-color: #b7cafa; color: #244ca6; }
.ev-times .ev-icon { flex-basis: 13px; width: 13px; height: 13px; }
.ev-work-sheet { padding: 16px; }
.ev-work-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ev-work-title { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; }
.ev-status { padding: 4px 6px; background: #eef4ff; border: 1px solid #dce8fd; border-radius: 4px; color: #385f9f; font-size: 11px; white-space: nowrap; }
.ev-location { display: flex; align-items: center; gap: 5px; margin: 10px 0 9px; font-size: 11px; color: var(--ev-muted); }
.ev-location .ev-icon { width: 14px; height: 14px; flex-basis: 14px; }
.ev-task-row { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-top: 1px solid #edf1f6; font-size: 12px; }
.ev-task-check { display: grid; place-items: center; flex: 0 0 17px; width: 17px; height: 17px; border: 1px solid #3569d4; border-radius: 4px; color: #fff; background: #3569d4; }
.ev-task-check .ev-icon { width: 15px; height: 15px; }
.ev-task-check--empty { background: #fff; border-color: #c5d3e3; }
.ev-attachment { display: flex; align-items: center; gap: 7px; margin-top: 4px; padding: 8px; border: 1px solid #e0e8f3; border-radius: 4px; background: #f7f9fc; font-size: 11px; }
.ev-attachment > .ev-icon { color: #6982a4; }
.ev-file-type { margin-left: auto; color: #7f91a8; font-size: 10px; }
.ev-version-sheet { padding: 13px 18px 12px; }
.ev-version-label { padding: 3px 6px; border: 1px solid #d5e3fb; border-radius: 4px; background: #f1f6ff; color: #456cae; font-size: 11px; font-weight: 400; }
.ev-route-title { margin-top: 5px; color: var(--ev-muted); font-size: 11px; }
.ev-route-list { margin-top: 10px; }
.ev-route-list > div { position: relative; display: flex; align-items: center; gap: 10px; min-height: 32px; }
.ev-route-list > div + div::before { content: ''; position: absolute; left: 10px; top: -7px; height: 14px; width: 1px; background: #d4e1f5; }
.ev-route-number { display: grid; place-items: center; width: 21px; height: 21px; flex: 0 0 21px; border: 1px solid #d8e4f8; border-radius: 50%; background: #f0f5fd; color: #476b9f; font-size: 11px; }
.ev-route-list .ev-icon { margin-left: auto; color: #3f71bd; width: 16px; height: 16px; flex-basis: 16px; }
.ev-version-footer { display: flex; flex-wrap: wrap; gap: 4px 8px; justify-content: space-between; margin-top: 7px; padding-top: 10px; border-top: 1px solid #e7edf5; font-size: 11px; color: var(--ev-muted); }
.ev-version-footer > span:last-child { display: flex; align-items: center; gap: 4px; color: #426898; }
.ev-version-footer .ev-icon { width: 14px; height: 14px; flex-basis: 14px; }

/* Software: connected data, clear ownership and a readable next step. */
.ev-customer-sheet { padding: 17px 16px 13px; }
.ev-customer-top { display: flex; gap: 9px; align-items: center; }
.ev-customer-monogram { display: grid; place-items: center; width: 33px; height: 33px; flex: 0 0 33px; color: #406ba8; border: 1px solid #d3e2f6; border-radius: 6px; background: #edf4fe; font-size: 12px; font-weight: 500; }
.ev-customer-name { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; }
.ev-tabs { display: flex; gap: 15px; border-bottom: 1px solid #e4ebf4; margin-top: 13px; font-size: 11px; color: var(--ev-muted); }
.ev-tabs > span { padding-bottom: 7px; }
.ev-tabs .ev-tab-active { border-bottom: 2px solid var(--ev-blue); color: #2457b4; }
.ev-dossier-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid #edf1f7; font-size: 11px; }
.ev-dossier-row > span:first-child { display: flex; align-items: center; gap: 6px; }
.ev-dossier-row > span:last-child { white-space: nowrap; color: #536f92; }
.ev-dossier-row .ev-icon { color: #8197b5; width: 15px; height: 15px; flex-basis: 15px; }
.ev-dossier-owner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px; padding-top: 11px; color: var(--ev-muted); font-size: 11px; }
.ev-dossier-owner > span:last-child { display: flex; align-items: center; gap: 3px; color: #355f9b; }
.ev-dossier-owner .ev-icon { width: 14px; height: 14px; flex-basis: 14px; }
.ev-progress-sheet { padding: 17px 18px; }
.ev-progress-sheet .ev-panel-heading { font-size: 13px; }
.ev-workflow { display: flex; align-items: flex-start; margin: 17px -3px 15px; }
.ev-phase { display: grid; justify-items: center; gap: 6px; width: 58px; flex: 0 0 58px; color: #7a8fa9; font-size: 11px; }
.ev-phase > span:first-child { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #d7e1ed; border-radius: 50%; background: #f8fafc; font-size: 11px; }
.ev-phase--done > span:first-child { border-color: #dce7fb; background: #eef4ff; color: #4c78b5; }
.ev-phase.ev-phase--active { color: #1f50b4; }
.ev-phase--active > span:first-child { border-color: var(--ev-blue); background: var(--ev-blue); color: white; box-shadow: 0 0 0 3px #e9f0ff; }
.ev-workflow > i { display: block; flex: 1; height: 1px; background: #d7e3f3; margin: 12px -4px 0; }
.ev-next-step { padding: 11px 12px; border: 1px solid #dfe9f9; border-radius: 5px; background: #f5f8fd; }
.ev-next-title { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; }
.ev-next-step > div { display: flex; align-items: center; gap: 6px; color: #516d90; margin-top: 8px; font-size: 11px; }
.ev-next-step > div > span:first-child { margin-right: auto; color: #7488a0; }
.ev-owner-initial { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; border: 1px solid #d4e0ef; background: #eaf0f8; font-size: 10px; }
.ev-sync-composition { position: relative; width: calc(100% - 40px); max-width: 310px; height: 186px; }
.ev-sync-composition .ev-sheet { position: absolute; width: 72%; max-width: none; padding: 13px 15px; }
.ev-sync-source { top: 0; left: 0; }
.ev-sync-destination { right: 0; bottom: 0; z-index: 2; }
.ev-sync-label { font-size: 11px; color: #59799f; }
.ev-sync-title { margin: 3px 0 8px; font-size: 13px; font-weight: 500; }
.ev-data-row { display: flex; justify-content: space-between; gap: 10px; padding-top: 5px; font-size: 11px; }
.ev-data-row > span:first-child { color: #7890ac; }
.ev-data-row > span:last-child { font-weight: 500; }
.ev-sync-bridge { position: absolute; top: 73px; left: calc(28% - 15px); z-index: 3; display: grid; place-items: center; width: 30px; height: 30px; background: #1a4dff; color: #fff; border: 3px solid #f0f5fc; border-radius: 50%; }
.ev-sync-bridge .ev-icon { width: 17px; height: 17px; }

/* Widths, rather than transforms, preserve readable type in narrow columns. */
@media (min-width: 761px) and (max-width: 1050px) {
  .ev-sheet { width: calc(100% - 26px); }
  .ev-site-sheet { width: calc(100% - 18px); }
  .ev-work-sheet, .ev-enquiry-sheet, .ev-customer-sheet { padding-inline: 12px; }
  .ev-booking-sheet, .ev-version-sheet, .ev-progress-sheet { padding-inline: 14px; }
  .ev-status { font-size: 10px; }
  .ev-work-header { gap: 5px; }
  .ev-work-title { font-size: 12px; }
  .ev-site-nav { gap: 7px; padding-inline: 11px; }
  .ev-site-nav > span:last-child { display: none; }
  .ev-project-composition { padding-left: 13px; }
  .ev-project-title { font-size: 21px; }
  .ev-sync-composition { width: calc(100% - 26px); }
  .ev-sync-composition .ev-sheet { padding-inline: 11px; }
}
@media (max-width: 380px) {
  .ev-sheet { width: calc(100% - 30px); }
  .ev-site-sheet { width: calc(100% - 22px); }
  .ev-work-sheet, .ev-enquiry-sheet, .ev-customer-sheet { padding-inline: 12px; }
  .ev-booking-sheet, .ev-version-sheet, .ev-progress-sheet { padding-inline: 14px; }
  .ev-work-header { gap: 5px; }
  .ev-status { font-size: 10px; }
  .ev-work-title { font-size: 13px; }
  .ev-sync-composition { width: calc(100% - 28px); }
}
