/* UI-01 T020: operational scale of the approved f1fe16ee composition.
   Brand assets remain byte-identical. Local font paths use the closed registry. */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope/Manrope.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans/DMSans.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  color-scheme: light;
  --navy: #07192f;
  --navy-2: #0b2340;
  --blue: #1264d9;
  --blue-light: #eaf2ff;
  --green: #43d68d;
  --green-dark: #0d9d5c;
  --ink: #101b2b;
  --muted: #627086;
  --line: #dfe6ef;
  --off: #f5f8fc;
  --white: #ffffff;
  /* Essential control edges need 3:1; --line is decorative only. */
  --control: #627086;
  --error: #8b2923;
  --error-bg: #fff4f2;
  --radius: 0.75rem;
  font:
    100%/1.6 "DM Sans",
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--off);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-family: "Manrope", Arial, sans-serif;
  color: var(--navy);
  line-height: 1.3;
  font-weight: 700;
}
h1 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  letter-spacing: -0.03em;
}
h2 {
  font-size: 1.25rem;
}
h3 {
  font-size: 1.1rem;
}
p,
li,
dt,
dd,
h1,
h2,
h3,
a,
label,
summary {
  overflow-wrap: anywhere;
}
a {
  color: var(--blue);
  text-underline-offset: 0.2em;
}
a,
button,
input,
select,
textarea,
summary {
  scroll-margin-block: 1rem;
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -20rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--white);
}
.skip:focus {
  top: 1rem;
}
.ui-shell {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  min-height: 100vh;
}
.ui-header {
  grid-column: 1;
  padding: 1rem;
  background: var(--white);
  border-right: 1px solid var(--line);
}
.ui-brand {
  padding: 2rem 1.5rem;
}
.ui-brand img {
  display: block;
  width: 100%;
  max-width: 10rem;
  height: auto;
  margin: auto;
}
.ui-product {
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 1.25rem;
}
.ui-organization {
  font-size: 0.875rem;
  margin: 0;
  color: var(--muted);
}
.ui-organization strong {
  display: block;
  color: var(--ink);
}
.ui-navigation {
  grid-column: 1;
  align-self: start;
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--white);
  border-right: 1px solid var(--line);
}
.ui-navigation > a,
.ui-account summary {
  display: block;
  padding: 0.75rem;
  font-weight: 600;
  border-radius: 0.5rem;
}
.ui-navigation > a {
  background: var(--blue-light);
  text-decoration: none;
}
.ui-account summary {
  display: list-item;
  cursor: pointer;
  margin-inline-start: 1rem;
}
.ui-account-links {
  display: grid;
  gap: 1rem;
  padding: 0.75rem;
}
.ui-account-links a {
  min-height: 1.5rem;
}
.ui-account-links form {
  margin: 0;
}
.ui-navigation button {
  width: 100%;
  text-align: start;
}
main {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;
  width: 100%;
  max-width: 80rem;
  padding: 2rem clamp(1rem, 3vw, 2.5rem) 3rem;
}
.ui-shell--public {
  display: block;
  max-width: 48rem;
  margin: auto;
}
.ui-shell--public .ui-header {
  border: 0;
  background: transparent;
  text-align: center;
}
.ui-shell--public main {
  padding-top: 0.5rem;
}
.panel,
.state {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  margin: 1rem 0;
  overflow-wrap: anywhere;
}
.panel > :first-child,
.state > :first-child {
  margin-top: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  max-width: 100%;
}
input:not([type="hidden"]),
select,
textarea {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--control);
  border-radius: 0.5rem;
  background: var(--white);
  min-height: 2.75rem;
}
input[type="checkbox"],
input[type="radio"] {
  min-width: 1.5rem;
  min-height: 1.5rem;
  vertical-align: middle;
}
/* Leave room for all date segments and the native picker at enlarged text. */
input[type="date"] {
  padding-inline: 0.25em;
}
button,
.ui-actions > a {
  display: inline-block;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  font-weight: 700;
  line-height: 1.5;
  border: 1px solid var(--control);
  border-radius: 0.5rem;
  background: var(--green);
  color: var(--navy);
  cursor: pointer;
  white-space: normal;
}
button:disabled {
  cursor: wait;
}
.ui-secondary,
.ui-actions > .ui-secondary {
  background: var(--white);
  color: var(--blue);
}
main form > label {
  display: block;
  margin-top: 0.75rem;
}
main form > input:not([type="hidden"]),
main form > select {
  margin-bottom: 0.75rem;
}
.planning-form label,
.ui-field label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
}
/* Native fieldsets default to min-content and can widen the page at 200% text. */
.planning-form fieldset {
  min-inline-size: 0;
}
.planning-form
  input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.planning-form select,
.planning-form textarea,
.ui-field input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.ui-field select,
.ui-field textarea {
  width: 100%;
}
.ui-field {
  min-width: 0;
  margin-block: 1.25rem;
}
.helptext,
.ui-field-requirement {
  color: var(--muted);
  font-size: 0.875rem;
}
.ui-field-requirement {
  margin: 0.35rem 0 0;
}
.ui-field--invalid input,
.ui-field--invalid select,
.ui-field--invalid textarea {
  border-color: var(--error);
}
.errorlist {
  color: var(--error);
  padding-inline-start: 1.5rem;
}
.ui-errors,
main [role="alert"] {
  color: var(--error);
  background: var(--error-bg);
  border: 1px solid var(--error);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-block: 1rem;
}
.ui-errors a {
  color: inherit;
}
.ui-feedback {
  padding: 1rem;
  border: 1px solid var(--control);
  border-radius: 0.5rem;
  margin-block: 1rem;
}
.ui-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  margin-top: 1.5rem;
}
.ui-busy {
  display: none;
}
[aria-busy="true"] .ui-idle {
  display: none;
}
[aria-busy="true"] .ui-busy {
  display: inline;
}
dd {
  margin-inline-start: 0;
  overflow-wrap: anywhere;
}
main nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-block: 1rem;
}
main a {
  min-height: 1.5rem;
}
body > [role="status"],
body > [role="alert"],
#context-status {
  padding: 1rem;
  margin: 1rem;
}
@media (max-width: 52rem) {
  .ui-shell {
    display: block;
  }
  .ui-header {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem;
  }
  .ui-brand {
    max-width: 17rem;
    margin: auto;
  }
  .ui-product {
    text-align: center;
  }
  .ui-navigation {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  main {
    padding: 1.25rem clamp(0.5rem, 3vw, 1rem) 2rem;
  }
  main .panel {
    padding: clamp(0.5rem, 2.5vw, 1.5rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
/* This must always beat layout and busy-state display rules. */
[hidden] {
  display: none !important;
}
/* Shared action controls. Record titles, breadcrumbs and tabs keep their own
   navigation hierarchy; every operation uses these explicit template classes. */
:root {
  --action-height: 2.94rem;
  --action-gap: 0.75rem;
}

/* Activities: the summary, work and files each have one clear place. */
.activity-workspace {
  min-width: 0;
}
.activity-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.75rem;
  margin: 1rem 0 1.5rem;
}
.activity-header > div:first-child {
  min-width: 0;
  flex: 1;
}
.activity-header h1 {
  max-width: 45ch;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  margin: 0.4rem 0 0.75rem;
}
.activity-project {
  font-size: 0.85rem;
  color: #526579;
}
.activity-header-actions,
.activity-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.activity-header-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
}
.activity-badges {
  margin-top: 1rem;
}
.activity-pending {
  color: #84541c;
  font-size: 0.78rem;
}
.activity-section-nav {
  margin: 1.5rem 0 2rem;
}
.activity-section-nav .task-tabs {
  margin: 0;
}
.activity-section-nav > a {
  display: inline-block;
  padding: 0.75rem 1rem;
}
.activity-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.47fr);
  gap: 1.25rem;
  align-items: start;
}
.activity-overview-main {
  min-width: 0;
  display: grid;
  gap: 1.25rem;
}
.activity-workspace .activity-panel {
  margin: 0 0 1.25rem;
  padding: 1.5rem;
  border-radius: 1.1rem;
}
.activity-overview-main .activity-panel {
  margin: 0;
}
.activity-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.activity-section-heading h2,
.activity-section-heading h3 {
  margin: 0.25rem 0 0.5rem;
}
.activity-section-heading h2,
.activity-facts h2 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.activity-section-heading h3 {
  font-size: 1rem;
}
.activity-section-heading p {
  margin: 0.35rem 0 0;
  color: #526579;
  font-size: 0.83rem;
  line-height: 1.6;
  max-width: 70ch;
}
.activity-description {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.8;
  margin: 0;
}
.activity-empty-copy {
  color: #647587;
  line-height: 1.7;
}
.activity-workspace dl,
.activity-list-card dl {
  margin: 0;
}
.activity-workspace .activity-reference-list,
.activity-workspace .activity-facts dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.activity-reference-list > div {
  padding: 1rem 0;
  border-top: 1px solid #edf0f4;
}
.activity-reference-list > div:first-child {
  border-top: 0;
  padding-top: 0;
}
.activity-reference-list > div:last-child {
  padding-bottom: 0;
}
.activity-workspace dt,
.activity-list-facts dt {
  color: #647587;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0.35rem;
}
.activity-workspace dd,
.activity-list-facts dd {
  margin: 0;
  color: #24384c;
  line-height: 1.7;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.activity-facts dl > div {
  padding: 0.85rem 0;
  border-bottom: 1px solid #edf0f4;
}
.activity-facts dl > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.activity-facts dd {
  font-size: 0.87rem;
  font-weight: 550;
}
.activity-summary-shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.activity-summary-shortcuts > a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem;
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 1rem;
  color: #173d68;
  min-height: 5rem;
  text-decoration: none;
}
.activity-summary-shortcuts > a > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.activity-summary-shortcuts strong,
.activity-summary-shortcuts small {
  display: block;
}
.activity-summary-shortcuts strong {
  font-size: 0.85rem;
}
.activity-summary-shortcuts small {
  color: #647587;
  font-size: 0.73rem;
  line-height: 1.6;
  margin-top: 0.3rem;
}
.activity-shortcut-symbol,
.activity-empty-icon,
.activity-file-icon {
  display: inline-grid;
  place-items: center;
  background: #edf5ff;
  color: #1264d9;
  border-radius: 0.8rem;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  font-weight: 600;
}
.activity-notice {
  background: #fff8ec;
  border: 1px solid #f0dfc1;
  padding: 1rem;
  border-radius: 0.8rem;
  color: #77501f;
  font-size: 0.83rem;
  line-height: 1.6;
}
.activity-more-options {
  margin: 2rem 0;
  padding-top: 1.25rem;
  border-top: 1px solid #e3e8ef;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
}
.activity-management {
  flex: 1;
  min-width: min(100%, 14rem);
}
.activity-management > summary {
  padding: 0.8rem;
  cursor: pointer;
  font-size: 0.82rem;
  color: #526579;
  min-height: 44px;
}
.activity-management > .panel {
  margin-top: 0.75rem;
}
.activity-task-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.activity-task-stats > div {
  background: white;
  border: 1px solid #e3e8ef;
  border-radius: 1rem;
  padding: 1.25rem;
}
.activity-task-stats span,
.activity-task-stats strong {
  display: block;
}
.activity-task-stats span {
  font-size: 0.78rem;
  color: #526579;
}
.activity-task-stats strong {
  margin-top: 0.75rem;
  font-size: 1.85rem;
  letter-spacing: -0.035em;
  color: #203a54;
  line-height: 1;
}
.activity-task-list {
  background: white;
  border: 1px solid #e3e8ef;
  border-radius: 1rem;
  overflow: hidden;
}
.activity-task-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 1rem;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 1.4rem;
  text-decoration: none;
  color: #24384c;
}
.activity-task-row + .activity-task-row {
  border-top: 1px solid #edf0f4;
}
.activity-task-row strong,
.activity-task-row small {
  display: block;
}
.activity-task-row strong {
  font-size: 0.85rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.activity-task-row small {
  font-size: 0.74rem;
  color: #647587;
  margin-top: 0.35rem;
}
.activity-task-row:hover,
.activity-summary-shortcuts > a:hover {
  background: #f6f9fd;
}
.activity-row-arrow {
  color: #7890a6;
}
.activity-empty-state {
  background: white;
  border: 1px solid #e3e8ef;
  border-radius: 1.1rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.activity-empty-state h3 {
  font-size: 1rem;
  margin-top: 1rem;
}
.activity-empty-state p {
  color: #647587;
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 55ch;
  margin: 0.75rem auto 0;
}
.activity-list-note {
  color: #647587;
  font-size: 0.8rem;
  margin-top: 1rem;
}
.activity-count {
  display: inline-block;
  color: #647587;
  background: #f0f3f7;
  font-size: 0.73rem;
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
  margin-left: 0.35rem;
  vertical-align: middle;
}
.activity-upload {
  background: #f6f9fd;
  border: 1px solid #e2eaf5;
  border-radius: 0.85rem;
  margin: 0 0 1.25rem;
}
.activity-upload > summary {
  color: #1264d9;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 1rem;
  min-height: 44px;
}
.activity-upload form {
  margin: 0;
  padding: 0.25rem 1rem 1rem;
}
.activity-upload form p {
  font-size: 0.78rem;
  line-height: 1.65;
  color: #526579;
}
.activity-upload input[type="file"] {
  background: #fff;
  max-width: 100%;
  width: 100%;
  font-size: 0.83rem;
}
.activity-upload input[type="file"]::file-selector-button {
  padding: 0.6rem 0.85rem;
  margin: -0.3rem 0.75rem -0.3rem -0.3rem;
  border: 0;
  border-radius: 0.45rem;
  background: #edf5ff;
  color: #1756a0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.activity-upload-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}
.activity-upload-actions > button {
  margin: 0;
}
.activity-upload progress {
  width: 100%;
  margin-top: 1rem;
}
.activity-file-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.activity-file-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
}
.activity-file-row + .activity-file-row {
  border-top: 1px solid #edf0f4;
}
.activity-file-info {
  flex: 1;
  min-width: 0;
}
.activity-file-info h4 {
  font-size: 0.87rem;
  line-height: 1.6;
  margin: 0;
  overflow-wrap: anywhere;
}
.activity-file-info p {
  font-size: 0.74rem;
  color: #647587;
  margin: 0.3rem 0 0;
  line-height: 1.65;
}
.activity-file-info p > span {
  margin: 0 0.3rem;
}
.activity-file-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.activity-file-actions form {
  padding: 0;
  margin: 0;
  display: block;
}
.activity-file-actions .activity-remove-file {
  color: #a53c3c;
  background: #fff8f7;
  border: 1px solid #b56b65;
  box-shadow: none;
  font-size: 0.78rem;
  padding: 0.7rem 1rem;
  min-height: 44px;
  margin: 0;
}
.activity-file-origins {
  display: flex;
  gap: 0.35rem 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
  font-size: 0.76rem;
  line-height: 1.6;
}
.activity-file-origins > span {
  color: #647587;
}
.activity-files-empty {
  padding: 1.25rem 0 0.5rem;
  border-top: 1px solid #edf0f4;
}
.activity-files-empty h4 {
  font-size: 0.87rem;
  margin: 0;
}
.activity-files-empty p,
.activity-files-empty > a {
  color: #647587;
  font-size: 0.8rem;
  line-height: 1.7;
}
.activity-files-empty > a {
  color: #1264d9;
}
.activity-list-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}
.activity-list-top > div {
  flex: 1 1 0;
  min-width: 0;
}
.activity-list-top > .status-badge {
  flex: 0 0 auto;
  align-self: flex-start;
  white-space: nowrap;
}
.activity-list-top > .status-badge::before {
  flex: 0 0 5px;
}
.activity-list-card .activity-list-project {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  color: #647587;
}
.activity-list-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.activity-list-description {
  color: #647587;
  line-height: 1.7;
  font-size: 0.83rem;
}
.activity-list-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 0;
}
.activity-list-facts dd {
  font-size: 0.79rem;
  line-height: 1.6;
}
.activity-list-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  border-top: 1px solid #edf0f4;
  padding-top: 1rem;
}
.activity-list-footer .activity-pending {
  margin-right: auto;
}
@media (max-width: 1100px) {
  .activity-header {
    flex-direction: column;
  }
  .activity-header-actions {
    justify-content: flex-start;
  }
  .activity-overview-grid {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.6fr);
  }
  .activity-summary-shortcuts {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .activity-overview-grid {
    grid-template-columns: 1fr;
  }
  .activity-header {
    gap: 1rem;
  }
  .activity-header-actions {
    width: 100%;
  }
  .activity-header-actions > a {
    flex: 1 1 auto;
    justify-content: center;
  }
  .activity-workspace .activity-panel {
    padding: 1.15rem;
  }
  .activity-task-stats {
    gap: 0.5rem;
  }
  .activity-task-stats > div {
    padding: 1rem 0.8rem;
  }
  .activity-task-stats span {
    font-size: 0.7rem;
  }
  .activity-task-row {
    grid-template-columns: minmax(0, 1fr) 1rem;
    gap: 0.65rem;
    padding: 1rem;
  }
  .activity-task-row > .status-badge {
    grid-column: 1;
    justify-self: start;
  }
  .activity-task-row > .activity-row-arrow {
    grid-column: 2;
    grid-row: 1 / 3;
  }
  .activity-file-row {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .activity-file-info {
    flex-basis: calc(100% - 4rem);
  }
  .activity-file-actions {
    flex-basis: 100%;
    padding-left: 3.25rem;
  }
  .activity-task-file > a {
    margin-left: 3.25rem;
  }
  .activity-list-top {
    flex-direction: column;
    gap: 0.75rem;
  }
  .activity-list-top > div {
    flex: 0 1 auto;
    width: 100%;
  }
  .activity-list-facts {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

.management-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
}
.management-stats > div {
  display: grid;
  gap: 0.4rem;
  background: white;
  border: 1px solid #e3e8ef;
  border-radius: 1.2rem;
  padding: 1.25rem;
}
.management-stats strong {
  font-size: 2rem;
  line-height: 1;
  color: #102b46;
  letter-spacing: -0.04em;
}
.management-stats span {
  color: #526579;
  font-size: 0.85rem;
}
.management-note {
  max-width: 80ch;
  padding-left: 1rem;
  border-left: 3px solid #1264d9;
}
.management-filters {
  display: flex;
  gap: 1rem;
  align-items: end;
  flex-wrap: wrap;
}
.management-filters > div {
  flex: 1;
  min-width: 12rem;
}
.management-filters input,
.management-filters select {
  width: 100%;
}
.permission-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}
.user-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
  background: white;
  border: 1px solid #e3e8ef;
  border-radius: 1rem;
  overflow: hidden;
}
.user-card + .user-card {
  border-top: 1px solid #e3e8ef;
}
.user-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 10rem 8rem 1.2rem;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  list-style: none;
  cursor: pointer;
}
.user-summary::-webkit-details-marker {
  display: none;
}
.user-summary:hover,
.user-management[open] > .user-summary {
  background: #f4f7fc;
}
.user-summary:focus-visible {
  outline: 2px solid #1264d9;
  outline-offset: -3px;
}
.user-identity {
  display: grid;
  min-width: 0;
  gap: 0.15rem;
}
.user-name {
  font-size: 1rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.user-email,
.user-role {
  color: #526579;
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}
.user-chevron {
  transition: transform 0.15s ease;
}
.user-management[open] > .user-summary .user-chevron {
  transform: rotate(180deg);
}
.user-list-empty {
  padding: 1rem 1.25rem;
}
@media (prefers-reduced-motion: reduce) {
  .user-chevron {
    transition: none;
  }
}
@media (max-width: 640px) {
  .user-summary {
    grid-template-columns: minmax(0, 1fr) auto 1rem;
    gap: 0.5rem;
    padding: 1rem;
  }
  .user-identity {
    grid-column: 1 / 3;
  }
  .user-role {
    grid-column: 1;
    grid-row: 2;
  }
  .user-status {
    grid-column: 2;
    grid-row: 2;
  }
  .user-chevron {
    grid-column: 3;
    grid-row: 1 / 3;
  }
}
.user-card p {
  overflow-wrap: anywhere;
}
.user-status {
  background: #eaf3ee;
  color: #236045;
  padding: 0.35rem 0.7rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  white-space: nowrap;
  justify-self: start;
}
.user-status[data-status="REVOKED"] {
  background: #f3eded;
  color: #824242;
}
.user-management {
  margin: 0;
  padding: 0;
}
.user-management-content {
  display: grid;
  gap: 1.5rem;
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid #e3e8ef;
}
.user-management-content h4 {
  font-size: 1rem;
  margin: 0.5rem 0;
}
.user-management-content form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.user-management-content select {
  flex: 1;
  min-width: 12rem;
  max-width: 100%;
}
.user-management-content form > label:not(:has(input)) {
  flex-basis: 100%;
}
.permission-row {
  padding: 1rem 0;
  border-bottom: 1px solid #e3e8ef;
  margin-bottom: 0.75rem;
}
.permission-row p {
  margin-bottom: 0;
}
.danger-zone {
  padding-top: 1rem;
  border-top: 1px solid #e6c8c8;
}
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.invitation-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
}
.invitation-row + .invitation-row {
  border-top: 1px solid #e3e8ef;
}
.invitation-info {
  min-width: 0;
}
.invitation-info h3 {
  margin: 0;
  font-size: 1rem;
  overflow-wrap: anywhere;
}
.invitation-info p {
  color: #526579;
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
}
.invitation-row .inline-actions {
  flex-shrink: 0;
}
.user-status[data-status="DECLINED"],
.user-status[data-status="CANCELLED"] {
  background: #f3eded;
  color: #824242;
}
.user-status[data-status="PENDING"],
.user-status[data-status="EXPIRED"] {
  background: #fff3db;
  color: #805b17;
}
@media (max-width: 760px) {
  .invitation-row {
    flex-direction: column;
    align-items: stretch;
  }
  .invitation-info p {
    overflow-wrap: anywhere;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.audit-list {
  background: white;
  border: 1px solid #e3e8ef;
  border-radius: 1rem;
  margin: 1rem 0 1.5rem;
  overflow: hidden;
}
.audit-list-header,
.audit-event-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 10.5rem minmax(
      0,
      1.6fr
    );
  gap: 1.25rem;
  align-items: center;
  padding: 1rem 1.25rem;
}
.audit-list-header {
  background: #f0f4f8;
  color: #526579;
  font-size: 0.8rem;
  font-weight: 650;
}
.audit-event {
  margin: 0;
  padding: 0;
  border-top: 1px solid #e3e8ef;
}
.audit-event-summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.9rem;
}
.audit-event-summary::-webkit-details-marker {
  display: none;
}
.audit-event-summary:hover,
.audit-event[open] > .audit-event-summary {
  background: #f4f7fc;
}
.audit-event-summary:focus-visible {
  outline: 2px solid #1264d9;
  outline-offset: -3px;
}
.audit-cell {
  min-width: 0;
  overflow-wrap: anywhere;
}
.audit-action {
  font-weight: 600;
}
.audit-time,
.audit-description {
  color: #526579;
  font-size: 0.85rem;
}
.audit-description {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.audit-chevron {
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.audit-event[open] .audit-chevron {
  transform: rotate(180deg);
}
.audit-event-details {
  padding: 1.25rem;
  border-top: 1px solid #e3e8ef;
}
.audit-event-details h3 {
  font-size: 1rem;
  margin: 0 0 1rem;
}
.audit-event-details h4 {
  font-size: 0.9rem;
  margin: 1.5rem 0 0.75rem;
}
.audit-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
}
.audit-detail-grid dt {
  color: #526579;
  font-size: 0.8rem;
  font-weight: 500;
}
.audit-detail-grid dd {
  margin: 0.25rem 0 0;
  overflow-wrap: anywhere;
}
.audit-detail-wide {
  grid-column: 1 / -1;
}
@media (prefers-reduced-motion: reduce) {
  .audit-chevron {
    transition: none;
  }
}
@media (max-width: 900px) {
  .audit-list-header {
    display: none;
  }
  .audit-event-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
    padding: 1rem;
  }
  .audit-event:first-of-type {
    border-top: 0;
  }
  .audit-cell::before {
    content: attr(data-label);
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #526579;
    margin-bottom: 0.2rem;
  }
  .audit-description {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1.2rem;
    gap: 0 0.5rem;
  }
  .audit-description::before {
    grid-column: 1;
  }
  .audit-description > span:not(.sr-only) {
    grid-column: 1;
  }
  .audit-chevron {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }
  .audit-detail-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .management-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }
  .management-stats > div {
    padding: 1rem;
  }
  .permission-row {
    flex-direction: column;
  }
}

/* Vue client: restrained materials, clear hierarchy and locally packaged G2L assets. */
:root {
  --ink: #101b2b;
  --muted: #60717c;
  --navy: #07192f;
  --blue: #1264d9;
  --blue-light: #e6f1f1;
  --green: #43d68d;
  --green-dark: #0d9d5c;
  --off: #f6f8f9;
  --line: #e3e9ed;
  --control: #81949e;
  --radius: 1rem;
  font-size: 15px;
  line-height: 1.6;
  background: var(--off);
}
body {
  color: var(--ink);
  background: var(--off);
}
[hidden],
.ui-shell[hidden],
[data-private-root][hidden] {
  display: none !important;
}
button,
input,
select,
textarea {
  font-family: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  transition:
    background 0.16s,
    color 0.16s,
    box-shadow 0.16s,
    transform 0.1s;
}
button:active {
  transform: scale(0.98);
}
a {
  color: #1264d9;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
:focus-visible {
  outline: 3px solid #247d8b;
  outline-offset: 3px;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 700;
}
h1 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  letter-spacing: -0.045em;
  line-height: 1.2;
  margin: 0 0 0.7rem;
}
h2 {
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}
.ui-shell,
.ui-shell--public {
  display: block;
  max-width: none;
  margin: 0;
  min-height: 100vh;
}
.ui-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}
.client-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 256px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-right: 1px solid var(--line);
  padding: 1.7rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: thin;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.9rem 1.8rem;
}
.sidebar-brand > a {
  display: block;
}
.sidebar-brand img {
  display: block;
  width: 112px;
  height: auto;
}
.workspace {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 0 0.45rem 1.8rem;
  padding: 0.85rem 0.7rem;
  background: #f6f8f9;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 0;
}
.workspace > div {
  min-width: 0;
}
.workspace small {
  display: block;
  font-size: 0.59rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
}
.workspace strong {
  font-size: 0.88rem;
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.45;
}
.workspace-avatar {
  background: #e0eeee;
  border: 1px solid #cfdfdf;
  border-radius: 9px;
  color: #22626c;
  font-size: 1rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 700;
}
.nav-caption {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #70828d;
  margin: 0 0.85rem 0.7rem;
}
.client-navigation {
  display: block;
}
.nav-home,
.nav-disclosure {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.8rem 0.85rem;
  border: 0;
  width: 100%;
  text-align: left;
  background: transparent;
  color: #536570;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  min-height: 46px;
  text-decoration: none;
}
.nav-home:hover,
.nav-disclosure:hover {
  background: #f1f5f6;
  text-decoration: none;
}
.nav-home.is-active {
  background: #eaf2ff;
  color: #1264d9;
}
.nav-home.is-active:before {
  content: "";
  position: absolute;
  left: 0;
  height: 24px;
  width: 3px;
  background: #247482;
  border-radius: 0 3px 3px 0;
}
.nav-disclosure > span:not(.account-avatar) {
  flex: 1;
}
.nav-group {
  margin: 0.3rem 0;
}
.disclosure-chevron {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.2s;
}
.disclosure-chevron.is-expanded {
  transform: rotate(90deg);
}
.nav-submenu {
  margin: 0.1rem 0 0.9rem 1.5rem;
  border-left: 1px solid #dce5e9;
  padding: 0.15rem 0 0.15rem 0.8rem;
}
.nav-submenu a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  font-size: 0.84rem;
  color: #63727c;
  min-height: 40px;
}
.nav-submenu a:hover {
  color: #1264d9;
  background: #f2f7f7;
  text-decoration: none;
}
.nav-submenu a.is-active {
  color: #1264d9;
  background: #eaf2ff;
  font-weight: 700;
}
.nav-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.sidebar-bottom {
  position: relative;
  margin-top: auto;
  padding-top: 3rem;
}
.sidebar-tip {
  background: #f4f8f8;
  border: 1px solid #e2ecec;
  border-radius: 12px;
  padding: 1rem;
  margin: 0.5rem 0.35rem 1rem;
}
.tip-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e3eeee;
  color: #1264d9;
  margin-bottom: 0.65rem;
}
.tip-icon .ui-icon {
  width: 18px;
}
.sidebar-tip strong {
  display: block;
  font-size: 0.82rem;
}
.sidebar-tip p {
  font-size: 0.76rem;
  color: #617580;
  line-height: 1.6;
  margin: 0.4rem 0 0.8rem;
}
.sidebar-tip button {
  border: 0;
  padding: 0;
  background: none;
  color: #1264d9;
  font-size: 0.76rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 30px;
}
.account-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #edf1f4;
}
.account-avatar .ui-icon {
  width: 17px;
  height: 17px;
}
.account-menu {
  position: fixed;
  inset: auto;
  margin: 0;
  width: min(280px, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  z-index: 2;
  padding: 0.6rem;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 35px #102b4620;
}
.account-menu form {
  margin: 0;
}
.client-body {
  margin-left: 256px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.client-topbar {
  height: 74px;
  min-height: 74px;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1.1rem, 3vw, 2.7rem);
  border-bottom: 1px solid #e9edef;
  font-size: 0.8rem;
  color: #6b7c86;
}
.topbar-context {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  min-width: 0;
}
.topbar-product {
  color: #243d4a;
  font-weight: 600;
}
.topbar-separator {
  color: #c7d0d5;
}
.topbar-help {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #596f7a;
  background: none;
  border: 0;
  font-size: 0.8rem;
  padding: 0.5rem;
}
.topbar-help .ui-icon {
  width: 17px;
  height: 17px;
}
.icon-button {
  padding: 0.5rem;
  min-width: 40px;
  min-height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  color: #36515d;
  box-shadow: none;
}
.page-content {
  flex: 1;
  width: 100%;
  min-width: 0;
}
.page-content main {
  display: block;
  max-width: 1250px;
  width: 100%;
  padding: 2.4rem clamp(1.1rem, 3vw, 2.7rem) 3rem;
  margin: 0 auto;
  min-width: 0;
}
.page-content main > p:first-of-type {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0;
  max-width: 780px;
}
.page-content main > section {
  margin-top: 1.8rem;
}
.client-footer {
  font-size: 0.7rem;
  color: #617581;
  padding: 1.2rem 2.7rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.footer-dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #acb9c0;
  margin: 0 0.65rem;
  vertical-align: middle;
}
.eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  font-weight: 800;
  color: #55747c;
  display: block;
  margin-bottom: 1rem;
}
.home-greeting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.9rem;
}
.home-greeting p {
  color: var(--muted);
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}
.organization-label {
  padding: 0.5rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.organization-label:before {
  content: "";
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: #438d7b;
}
.welcome-panel {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  border: 1px solid #dfe9e9;
  border-radius: 18px;
  background: #f0f5fb;
  overflow: hidden;
}
.welcome-copy {
  padding: 2.6rem;
}
.welcome-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: -0.045em;
  max-width: 440px;
  margin: 0 0 1rem;
}
.welcome-copy p {
  font-size: 0.9rem;
  color: #577079;
  max-width: 390px;
}
.welcome-copy .eyebrow {
  color: #276c74;
}
.welcome-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}
.primary-button,
.welcome-actions > a,
.page-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: #1264d9;
  color: #fff;
  padding: 0.75rem 1.1rem;
  border: 1px solid #1264d9;
  border-radius: 9px;
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.4;
  min-height: 44px;
  box-shadow: 0 2px 2px #16454e0a;
}
.primary-button:hover,
.welcome-actions > a:hover,
.page-action:hover {
  background: #0c4fae;
  color: white;
  text-decoration: none;
}
.welcome-actions > a.secondary-action {
  background: white;
  color: #315c65;
  border-color: #d5e2e3;
}
.welcome-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  background-image: radial-gradient(#9ebcbd55 0.7px, transparent 0.7px);
  background-size: 18px 18px;
}
.workflow-stack {
  width: 100%;
  max-width: 285px;
}
.workflow-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #fff;
  border: 1px solid #dae5e6;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 9px 30px #25464f0a;
  position: relative;
}
.workflow-card + .workflow-card {
  margin-top: 0.9rem;
}
.workflow-card:nth-child(2) {
  margin-left: 1.2rem;
}
.workflow-card:nth-child(3) {
  margin-left: 2.4rem;
}
.workflow-card span:first-child {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #eaf3f3;
  color: #32737c;
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 700;
}
.workflow-card strong {
  font-size: 0.82rem;
  display: block;
}
.workflow-card small {
  display: block;
  color: #70828c;
  font-size: 0.69rem;
}
.workflow-check {
  margin-left: auto;
  color: #2d8a72;
  font-size: 1.1rem;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2rem 0 1rem;
  gap: 1rem;
}
.section-heading h2 {
  margin: 0;
  font-size: 1.1rem;
}
.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.getting-started {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.step-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 1.5rem;
}
.step-number {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #f0f4f6;
  color: #426a78;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.step-card h3 {
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
}
.step-card p {
  color: var(--muted);
  font-size: 0.83rem;
  margin: 0;
  line-height: 1.65;
}
.home-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.home-shortcut {
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
}
.home-shortcut:hover {
  border-color: #8db6bd;
  text-decoration: none;
}
.home-shortcut strong {
  display: block;
  font-size: 0.9rem;
}
.home-shortcut small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.2rem;
}
.shortcut-symbol {
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eff5f7;
  color: #316a7a;
}
.shortcut-arrow {
  margin-left: auto;
  font-size: 1.1rem;
  color: #64858e;
}
.panel,
.state {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  box-shadow: 0 2px 3px #122d3c02;
  padding: 1.5rem;
  margin: 1rem 0;
}
.panel p,
.panel li,
.panel dd {
  font-size: 0.88rem;
}
.panel > h2 {
  font-size: 1.05rem;
}
.panel section {
  margin: 1.4rem 0;
}
.panel section:last-child {
  margin-bottom: 0;
}
main > section:has(> h2) {
  clear: both;
}
.page-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.page-title-row p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
}
.count-label {
  color: #6e818b;
  font-size: 0.78rem !important;
}
.project-grid,
.task-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.project-grid .panel,
.task-grid .panel {
  margin: 0;
}
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 1.4rem;
  border-radius: 14px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.project-card:hover {
  border-color: #94b5bc;
  box-shadow: 0 5px 18px #193e4908;
}
.card-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.folder-tile {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #e8f1f5;
  display: grid;
  place-items: center;
  color: #3e7587;
}
.folder-tile svg {
  width: 21px;
  height: 21px;
}
.project-card:nth-child(even) .folder-tile {
  background: #eef0fa;
  color: #7776a4;
}
.project-card h3 {
  font-size: 1.03rem;
  margin: 0 0 0.5rem;
}
.project-card h3 a {
  color: var(--ink);
}
.card-footer {
  margin-top: auto;
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.75rem;
  color: #617581;
  border-top: 1px solid #f0f3f5;
}
.card-footer a {
  font-weight: 700;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 30px;
  background: #edf5f1;
  color: #326a50;
  padding: 0.27rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: normal;
}
.status-badge:before {
  content: "";
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}
.status-badge[data-state="DRAFT"] {
  background: #f0f3f5;
  color: #6e7a84;
}
.status-badge[data-state="IN_PROGRESS"] {
  background: #edf2fb;
  color: #446b9d;
}
.status-badge[data-state="CANCELLED"],
.status-badge[data-state="ARCHIVED"] {
  background: #f8eeee;
  color: #94565c;
}
.task-card {
  border-left: 3px solid #d1dfe3;
}
.task-card[data-state="IN_PROGRESS"] {
  border-left-color: #6195b0;
}
.task-card[data-state="COMPLETED"] {
  border-left-color: #71a693;
}
.task-card h2 {
  font-size: 1rem;
}
.task-card h2 a {
  color: var(--ink);
}
.task-card .task-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.7rem;
  color: #617581;
}
.task-card .task-code {
  font-family: inherit;
  font-size: 0.66rem;
  color: #617581;
  overflow-wrap: anywhere;
}
.task-card .task-person {
  font-size: 0.83rem;
  color: #5a707d;
}
.task-card .task-dates {
  border-top: 1px solid #edf1f3;
  padding-top: 0.8rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #6b7e89;
}
form {
  max-width: 100%;
}
.planning-form {
  border-radius: 13px;
}
form p > label,
.ui-field > label {
  display: block;
  color: #3d5361;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.ui-field {
  margin: 0 0 1.3rem;
}
.ui-field-requirement {
  font-size: 0.65rem !important;
  color: #617581 !important;
  margin: 0.25rem 0 0;
}
input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  background: #fff;
  border: 1px solid #9aabb4;
  border-radius: 8px;
  min-height: 44px;
  padding: 0.65rem 0.8rem;
  width: 100%;
  font-size: 0.86rem;
  box-shadow: 0 1px 2px #17394703;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #317a88;
  outline: 3px solid #c5dfe680;
  outline-offset: 1px;
}
input::placeholder,
textarea::placeholder {
  color: #80909a;
}
input[type="search"] {
  background: #fbfcfd;
}
.helptext {
  font-size: 0.77rem;
  color: #667b87;
  margin: 0.2rem 0 0.5rem;
}
textarea {
  min-height: 110px;
  resize: vertical;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 1rem;
  min-width: 0;
}
legend {
  padding: 0 0.35rem;
  color: #49616e;
  font-weight: 600;
  font-size: 0.85rem;
}
button[type="submit"],
.ui-actions > button {
  background: #1264d9;
  border: 1px solid #1264d9;
  color: #fff;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  min-height: 44px;
  box-shadow: none;
}
button[type="submit"]:hover {
  background: #0c4fae;
}
.ui-secondary,
button.ui-secondary {
  background: #fff !important;
  color: #385d6b !important;
  border: 1px solid #81949e !important;
}
.action-button,
.account-menu .account-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border: 1px solid #1264d9;
  border-radius: 8px;
  background: #1264d9;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
}
.action-group {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: var(--action-gap);
  margin: 1rem 0;
  min-width: 0;
}
.action-group:empty {
  display: none;
}
.action-group > form {
  margin: 0;
}
.action-group > :is(a, button),
.task-primary-actions > :is(a, button) {
  align-self: stretch;
}
main :is(.action-button, .page-action, .primary-button, button[type="submit"]),
.account-menu .account-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: max(44px, var(--action-height));
  max-width: 100%;
  padding: 0.7rem 1rem;
  box-sizing: border-box;
  border-radius: 0.6rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: none;
  vertical-align: middle;
  transition:
    background-color 120ms ease,
    border-color 120ms ease,
    color 120ms ease;
}
main
  :is(
    .action-button,
    .page-action,
    .primary-button,
    button[type="submit"]
  ):hover {
  text-decoration: none;
}
main
  :is(
    .action-button,
    .page-action,
    .primary-button,
    button[type="submit"]
  ):focus-visible {
  outline: 3px solid #1264d9;
  outline-offset: 3px;
}
main
  :is(
    .action-button,
    .page-action,
    .primary-button,
    button[type="submit"]
  ):active:not(:disabled) {
  transform: translateY(1px);
}
main
  :is(
    .action-button,
    .page-action,
    .primary-button,
    button[type="submit"]
  ):disabled {
  cursor: not-allowed;
  transform: none;
}
main form[aria-busy="true"] button:disabled {
  cursor: wait;
}
main .action-button--danger,
main button.action-button--danger {
  color: #9b302d;
  background: #fff8f7;
  border: 1px solid #b56b65;
}
main .action-button--danger:hover,
main button.action-button--danger:hover {
  background: #ffedea;
  color: #842723;
  border-color: #9b302d;
}
.action-group > .action-button--danger {
  margin-inline-start: 0.25rem;
}
@media (max-width: 560px) {
  .action-group > :is(.action-button, .page-action, button),
  .task-primary-actions > :is(a, button) {
    flex: 1 1 12rem;
  }
  .action-group > .action-button--danger {
    margin-inline-start: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  main
    :is(.action-button, .page-action, .primary-button, button[type="submit"]) {
    transition: none;
  }
  main
    :is(
      .action-button,
      .page-action,
      .primary-button,
      button[type="submit"]
    ):active:not(:disabled) {
    transform: none;
  }
}
.action-button:hover {
  background: #0c4fae;
  color: #fff;
  text-decoration: none;
}
.action-button--secondary,
.account-menu .account-action {
  background: #fff;
  color: #385d6b;
  border-color: #81949e;
}
.action-button--secondary:hover,
.account-menu .account-action:hover {
  background: #edf3f8;
  color: #173e59;
  border-color: #81949e;
  text-decoration: none;
}
.action-button:focus-visible,
.account-menu .account-action:focus-visible {
  outline: 3px solid #1264d940;
  outline-offset: 2px;
}
.account-menu .account-action {
  width: 100%;
  justify-content: flex-start;
  margin: 0.25rem 0;
  text-align: left;
  border: 0;
}
.account-menu .account-action:hover {
  box-shadow: 0 3px 10px #102b4620;
}
.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.profile-layout > .panel {
  margin: 0;
}
.profile-data {
  display: grid;
  gap: 1rem;
}
.profile-data dt {
  font-size: 0.8rem;
  color: #526579;
}
.profile-data dd {
  margin: 0.2rem 0 0;
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }
}
.ui-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 1.3rem;
  margin-top: 1.3rem;
}
.ui-actions > a {
  font-size: 0.82rem;
  font-weight: 600;
}
form[method="get"] {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
  background: #fff;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 1.4rem 0 2rem;
}
form[method="get"] > p {
  margin: 0;
  flex: 1;
  min-width: 170px;
}
form[method="get"] > a {
  align-self: flex-end;
}
form .filter-actions {
  display: flex;
  align-items: stretch;
  align-self: flex-end;
  gap: 0.75rem;
  grid-column: 1 / -1;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}
.filter-actions > button[type="submit"],
.filter-actions > .action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
}
.filter-disclosure {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 1.5rem 0;
}
.filter-disclosure > summary {
  padding: 1rem 1.3rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #3e5c69;
  cursor: pointer;
  min-height: 48px;
}
.filter-disclosure > form {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}
.filter-disclosure form fieldset {
  margin: 0;
  min-width: 0;
}
.filter-disclosure form fieldset > p {
  margin: 0.8rem 0;
}
.filter-disclosure form button {
  align-self: end;
}
.filter-disclosure form input[type="date"] {
  min-width: 0;
}
.ui-errors,
.errorlist {
  border-radius: 10px;
  background: #fff4f2;
  color: #913d39;
  padding: 1rem;
  border: 1px solid #e9c7c1;
}
.errorlist {
  list-style: none;
  font-size: 0.8rem;
}
.ui-feedback {
  background: #eef6f1;
  border: 1px solid #d0e4d7;
  color: #326a50;
  border-radius: 10px;
  padding: 1rem;
}
main > nav[aria-label="Caminho de navegação"] {
  margin-bottom: 1.3rem;
}
nav[aria-label="Caminho de navegação"] ol,
.ui-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.75rem;
  color: #7b8b95;
}
nav[aria-label="Caminho de navegação"] li + li:before {
  content: "/";
  color: #b7c4cb;
  margin-right: 0.5rem;
}
nav[aria-label^="Páginas"] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  font-size: 0.8rem;
}
dl {
  display: grid;
  grid-template-columns: minmax(100px, 160px) 1fr;
  gap: 0.6rem 1.5rem;
}
dt {
  color: #75858f;
  font-size: 0.8rem;
}
dd {
  margin: 0;
  color: #304c5a;
}
table {
  border-collapse: collapse;
  max-width: 100%;
  font-size: 0.82rem;
}
th {
  text-align: left;
  color: #6d808b;
  font-size: 0.74rem;
  font-weight: 600;
  background: #f7f9fa;
}
th,
td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
}
.task-tabs {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  margin: 1.6rem 0;
}
.task-tabs button {
  flex-shrink: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  color: #6b7d87;
  padding: 0.85rem 0.9rem;
  font-size: 0.8rem;
  min-height: 44px;
  box-shadow: none;
}
.task-tabs button[aria-selected="true"] {
  border-bottom-color: #1264d9;
  color: #1264d9;
  font-weight: 700;
}
.task-tabs button:hover {
  background: #edf4f4;
}
.task-tabs [role="tabpanel"] {
  outline: none;
}
.public-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}
.public-story {
  background: #f0f5fb;
  padding: clamp(2rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.public-story > img {
  width: 130px;
  height: auto;
  position: absolute;
  top: 3rem;
  left: clamp(2rem, 6vw, 6rem);
}
.public-story h2 {
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
  margin: 0 0 1.4rem;
}
.public-story > p {
  font-size: 1.02rem;
  color: #5a737c;
  max-width: 350px;
}
.public-story > small {
  font-size: 0.76rem;
  color: #6f868d;
  position: absolute;
  bottom: 2.5rem;
  max-width: 80%;
}
.story-journey {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}
.story-journey span {
  font-size: 0.7rem;
  color: #6b878c;
}
.story-journey b {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: #345964;
  margin-top: 0.4rem;
}
.public-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.public-content main {
  padding: 0;
  width: 100%;
  max-width: 400px;
}
.public-content main > .panel {
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
}
.public-content h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.public-content p {
  color: #6e818c;
  font-size: 0.9rem;
}
.public-content .ui-actions {
  display: flex;
  flex-direction: column;
  border: 0;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}
.public-content .ui-actions button {
  width: 100%;
  font-size: 0.9rem;
}
.public-content .ui-actions a {
  font-size: 0.8rem;
  margin-top: 0.4rem;
}
.public-content form {
  margin-top: 2rem;
}
.help-backdrop {
  position: fixed;
  inset: 0;
  background: #102d3d55;
  backdrop-filter: blur(4px);
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1.1rem;
}
.quick-guide {
  position: relative;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 20px;
  padding: 2.4rem;
  max-width: 510px;
  width: 100%;
  box-shadow: 0 24px 100px #102d3d30;
  max-height: 90dvh;
  overflow: auto;
}
.quick-guide h2 {
  font-size: 1.8rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.quick-guide > p {
  color: var(--muted);
  font-size: 0.88rem;
}
.guide-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.quick-guide ol {
  list-style: none;
  counter-reset: guide;
  padding: 0;
  margin: 2rem 0;
}
.quick-guide li {
  counter-increment: guide;
  position: relative;
  padding-left: 2.7rem;
  margin: 1.3rem 0;
}
.quick-guide li:before {
  content: counter(guide);
  position: absolute;
  left: 0;
  top: 0;
  background: #e9f2f2;
  color: #25717d;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.quick-guide li strong {
  display: block;
  font-size: 0.91rem;
}
.quick-guide li span {
  font-size: 0.82rem;
  color: var(--muted);
}
.quick-guide > .primary-button {
  width: 100%;
}
.mobile-only {
  display: none;
}
.sidebar-scrim {
  display: none;
}
.task-heading-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: #6c818c;
  font-size: 0.8rem;
  margin: 0.9rem 0;
}
.task-primary-actions {
  display: flex;
  align-items: stretch;
  gap: var(--action-gap);
  flex-wrap: wrap;
  margin: 1.4rem 0;
}
.task-document-action {
  font-size: 0.84rem;
  font-weight: 600;
}
.home-bottom:has(> .home-shortcut:only-child) {
  grid-template-columns: 1fr;
}
.home-bottom > .home-shortcut:only-child {
  max-width: none;
}
.planning-form > fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}
.planning-form > fieldset > .ui-field {
  margin: 0;
}
.planning-form > fieldset > .ui-field:has(textarea),
.planning-form > fieldset > .ui-errors,
.planning-form > fieldset > p,
.planning-form > fieldset > section {
  grid-column: 1/-1;
}
.public-content .planning-form > fieldset,
.filter-disclosure .planning-form > fieldset {
  display: block;
}
.planning-form .ui-actions {
  grid-column: 1/-1;
}
@media (max-width: 560px) {
  .planning-form > fieldset {
    grid-template-columns: 1fr;
  }
  .task-heading-summary {
    gap: 0.6rem;
  }
  .task-primary-actions {
    gap: 0.7rem;
  }
}
@media (min-width: 1500px) {
  .welcome-copy {
    padding: 3rem;
  }
  .page-content main {
    padding-top: 3rem;
  }
}
@media (max-width: 1100px) {
  .client-sidebar {
    width: 228px;
  }
  .client-body {
    margin-left: 228px;
  }
  .client-footer {
    padding: 1rem 1.5rem;
  }
  .welcome-copy {
    padding: 1.8rem;
  }
  .welcome-visual {
    padding: 1.3rem;
  }
  .getting-started {
    gap: 0.7rem;
  }
  .step-card {
    padding: 1.1rem;
  }
  .filter-disclosure > form {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 820px) {
  .client-sidebar {
    transform: translateX(-100%);
    width: min(300px, 88vw);
    transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1);
    box-shadow: 0 15px 70px #102d3d20;
    visibility: hidden;
  }
  .client-sidebar.is-open {
    transform: translateX(0);
    visibility: visible;
  }
  .client-body {
    margin-left: 0;
  }
  .mobile-only {
    display: inline-grid;
  }
  .sidebar-scrim {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    background: #102d3d55;
    z-index: 25;
    border-radius: 0;
  }
  .client-topbar {
    height: 64px;
    min-height: 64px;
  }
  .topbar-product {
    display: none;
  }
  .topbar-separator {
    display: none;
  }
  .page-content main {
    padding-top: 1.6rem;
  }
  .home-greeting {
    margin-bottom: 1.3rem;
  }
  .home-greeting h1 {
    font-size: 1.6rem;
  }
  .organization-label {
    display: none;
  }
  .welcome-panel {
    grid-template-columns: 1fr;
  }
  .welcome-copy {
    padding: 1.7rem;
  }
  .welcome-visual {
    display: none;
  }
  .welcome-copy h2 {
    font-size: 2rem;
    max-width: 420px;
  }
  .public-layout {
    grid-template-columns: 1fr;
  }
  .public-story {
    min-height: 200px;
    padding: 2rem;
  }
  .public-story > img {
    position: static;
    width: 95px;
    margin-bottom: 1.8rem;
  }
  .public-story h2 {
    font-size: 2rem;
    margin: 0;
  }
  .public-story > .eyebrow,
  .public-story > p,
  .story-journey,
  .public-story > small {
    display: none;
  }
  .public-content {
    padding: 2rem 1.3rem;
  }
  .public-content main {
    max-width: 460px;
  }
  .sidebar-bottom {
    padding-top: 1.8rem;
  }
  .client-footer > span:last-child {
    display: none;
  }
}
@media (max-width: 560px) {
  .getting-started,
  .home-bottom,
  .project-grid,
  .task-grid {
    grid-template-columns: 1fr;
  }
  .getting-started {
    gap: 0.65rem;
  }
  .step-card {
    padding: 1.1rem;
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 0.2rem 1rem;
  }
  .step-number {
    grid-row: 1/3;
    margin: 0;
  }
  .step-card p {
    grid-column: 2;
  }
  .step-card h3 {
    margin-top: 0.1rem;
  }
  .home-shortcut {
    padding: 1rem;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }
  .welcome-copy h2 {
    font-size: 1.75rem;
  }
  .welcome-actions {
    flex-direction: column;
  }
  .welcome-actions > a {
    width: 100%;
  }
  .panel {
    padding: 1.1rem;
  }
  .page-title-row {
    flex-direction: column;
  }
  .page-title-row .page-action {
    align-self: flex-start;
  }
  .filter-disclosure > form {
    grid-template-columns: 1fr;
  }
  form[method="get"] {
    padding: 1rem;
    gap: 0.7rem;
  }
  form[method="get"] > p {
    flex-basis: 100%;
    min-width: 0;
  }
  dl {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  dd {
    margin-bottom: 0.8rem;
  }
  .topbar-help span {
    display: none;
  }
  .topbar-context {
    gap: 0.55rem;
  }
  .client-footer {
    padding: 1rem 1.1rem;
  }
  .quick-guide {
    padding: 1.6rem;
  }
  .quick-guide h2 {
    font-size: 1.5rem;
  }
  .task-tabs button {
    padding: 0.8rem 0.65rem;
  }
  .workspace {
    margin-bottom: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .client-sidebar,
  .client-topbar {
    background: #fff;
    backdrop-filter: none;
  }
  .help-backdrop {
    backdrop-filter: none;
  }
}
@media (prefers-contrast: more) {
  .client-sidebar,
  .client-topbar,
  .panel,
  .project-card,
  .step-card {
    background: #fff;
    border-color: #6d808b;
  }
  .nav-home.is-active,
  .nav-submenu a.is-active {
    outline: 1px solid #1264d9;
  }
}
.advanced-settings {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}
.advanced-settings > summary {
  font-weight: 600;
  color: #42616f;
  cursor: pointer;
  font-size: 0.88rem;
  min-height: 30px;
}
.advanced-settings > summary::marker {
  color: #77939e;
}
.advanced-settings[open] > summary {
  margin-bottom: 0.7rem;
}
.agenda-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0;
}
.agenda-toolbar > p {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0;
}
.view-switch {
  display: flex;
  background: #e9eff2;
  border: 1px solid #e0e7eb;
  padding: 4px;
  border-radius: 9px;
  gap: 3px;
}
.view-switch button {
  border: 0;
  background: transparent;
  color: #5f7683;
  padding: 0.5rem 0.85rem;
  min-height: 36px;
  font-size: 0.79rem;
  border-radius: 6px;
  box-shadow: none;
}
.view-switch button[aria-pressed="true"] {
  background: #fff;
  color: #185d6b;
  box-shadow: 0 1px 4px #27475215;
  font-weight: 700;
}
.applied-filters {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.76rem;
  margin: 1rem 0 !important;
}
.applied-filters h2 {
  font-size: 0.76rem;
  margin: 0;
  color: #617581;
}
.applied-filters dl {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0;
}
.applied-filters dt {
  color: #617581;
  font-size: 0.74rem;
}
.applied-filters dt:after {
  content: ":";
}
.applied-filters dd {
  font-size: 0.74rem;
  background: #eaf0f3;
  border-radius: 4px;
  padding: 0 0.4rem;
}
.agenda-legend {
  margin: 1rem 0;
  font-size: 0.8rem;
  color: #617581;
}
.agenda-legend summary {
  cursor: pointer;
}
.agenda-legend p {
  max-width: 750px;
  font-size: 0.8rem;
}
.agenda-toolbar + [data-vue-agenda] + p {
  display: none;
}
@media (max-width: 560px) {
  .agenda-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .view-switch {
    align-self: flex-start;
  }
}
.welcome-actions > a:first-child {
  background: #43d68d;
  color: #07192f;
  border-color: #0d9d5c;
}
.welcome-actions > a:first-child:hover {
  background: #36c780;
  color: #07192f;
}
/* Six presentations of one authorized page. No drag/drop mutation semantics. */
.task-explorer-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 1rem 0 1.5rem;
}
.task-explorer-heading > div {
  min-width: 0;
  max-width: 78ch;
}
.task-explorer-heading h1 {
  margin: 0.45rem 0 0.65rem;
}
.task-explorer-heading > div > p:last-child {
  color: #526579;
  font-size: 0.9rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.task-applied-filters {
  font-size: 0.8rem;
  margin: 1rem 0;
}
.task-applied-filters summary {
  cursor: pointer;
  color: #526579;
}
.task-applied-filters dl {
  margin-top: 1rem;
}
.task-explorer-window {
  font-size: 0.8rem;
  color: #526579;
}
.task-explorer {
  min-width: 0;
  margin: 1.5rem 0;
  --te-line: #e1e8f0;
  --te-muted: #60758a;
}
.te-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.te-toolbar > p {
  color: #526579;
  font-size: 0.8rem;
  margin: 0;
}
.te-toolbar > p > span {
  color: #738599;
}
.te-view-picker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: white;
  border: 1px solid #9eafbf;
  border-radius: 0.75rem;
  padding: 0.2rem 0.8rem;
}
.te-view-picker > .ui-icon {
  width: 1.15rem;
  height: 1.15rem;
  color: #34618c;
}
.te-view-picker > label {
  font-size: 0.75rem;
  color: #60758a;
  margin: 0;
}
.te-view-picker select {
  margin: 0;
  border: 0;
  background: transparent;
  min-height: 44px;
  min-width: 10rem;
  width: auto;
  padding: 0.5rem 1.8rem 0.5rem 0.3rem;
  font-size: 0.85rem;
  font-weight: 650;
  color: #183e67;
}
.te-help {
  font-size: 0.78rem;
  color: #60758a;
  line-height: 1.7;
  margin: 1rem 0;
  max-width: 100ch;
}
.te-help > span {
  display: inline;
}
.te-table-wrapper {
  border: 1px solid var(--te-line);
  border-radius: 1rem;
  background: white;
  overflow: hidden;
}
.te-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0;
  font-size: 0.8rem;
}
.te-table thead {
  background: #f6f8fc;
}
.te-table th {
  font-size: 0.72rem;
  font-weight: 650;
  color: #61758b;
  text-align: left;
  padding: 1rem 0.85rem;
  border-bottom: 1px solid var(--te-line);
}
.te-table th:first-child {
  width: 36%;
}
.te-table th:nth-child(2) {
  width: 13%;
}
.te-table th:nth-child(3) {
  width: 17%;
}
.te-table th:nth-child(4),
.te-table th:nth-child(5) {
  width: 12%;
}
.te-table th:last-child {
  width: 10%;
}
.te-table td {
  padding: 1rem 0.85rem;
  border-bottom: 1px solid #edf1f6;
  overflow-wrap: anywhere;
  vertical-align: middle;
  color: #324c66;
}
.te-table tr:last-child td {
  border-bottom: 0;
}
.te-table-row {
  cursor: pointer;
}
.te-table-row:hover {
  background: #f8faff;
}
.te-table-row.is-expanded {
  background: #f1f6ff;
}
.te-row-toggle {
  display: flex;
  align-items: start;
  gap: 0.65rem;
  color: #173d67;
  text-align: left;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0.3rem;
  min-height: 44px;
  font: inherit;
  font-weight: 600;
  line-height: 1.65;
}
.te-row-toggle .ui-icon {
  width: 0.9rem;
  height: 0.9rem;
  flex: 0 0 auto;
  margin-top: 0.35rem;
}
.te-row-toggle[aria-expanded="true"] .ui-icon {
  transform: rotate(90deg);
}
.te-row-toggle > span {
  align-self: center;
}
.te-expanded-row > td {
  background: #f7faff;
  padding: 1.25rem 1.5rem 1.5rem;
  cursor: default;
}
.te-task-peek {
  min-width: 0;
}
.te-task-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem 1.5rem;
  margin: 0.75rem 0 1.5rem;
}
.te-task-facts > div {
  min-width: 0;
}
.te-task-facts dt {
  font-size: 0.72rem;
  color: #65798e;
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.te-task-facts dd {
  font-size: 0.82rem;
  line-height: 1.65;
  color: #294660;
  margin: 0;
  overflow-wrap: anywhere;
}
.te-task-peek .action-group {
  margin-bottom: 0;
}
.te-overdue {
  display: inline-block;
  color: #a45125;
  font-size: 0.7rem;
  margin-top: 0.35rem;
}
.te-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.te-card {
  background: white;
  border: 1px solid var(--te-line);
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
}
.te-card > .action-button {
  align-self: start;
  margin-top: auto;
}
.te-card-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.te-card-meta > span:not(.status-badge) {
  color: #60758a;
  font-size: 0.72rem;
}
.te-task-title {
  display: block;
  padding: 0.3rem 0;
  color: #1c426c;
  background: transparent;
  border: 0;
  border-radius: 0.25rem;
  text-align: left;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.65;
  width: 100%;
  min-height: 44px;
  overflow-wrap: anywhere;
}
.te-task-title:hover {
  color: #1264d9;
}
.te-card > p,
.te-board-card > p {
  margin: 0;
  display: flex;
  gap: 0.45rem;
  align-items: start;
  font-size: 0.75rem;
  color: #63768b;
  line-height: 1.7;
}
.te-card > p .ui-icon,
.te-board-card > p .ui-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin-top: 0.1rem;
}
.te-timeline {
  margin: 1.5rem 0;
}
.te-timeline-group {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1.5rem;
}
.te-timeline-group > h2 {
  font-size: 0.9rem;
  color: #42627f;
  text-transform: capitalize;
  margin: 1.2rem 0;
}
.te-timeline-items {
  border-left: 2px solid #d9e5f2;
  padding-left: 1.5rem;
}
.te-timeline-item {
  position: relative;
  margin-bottom: 1rem;
  padding: 1.25rem;
  background: white;
  border: 1px solid var(--te-line);
  border-radius: 0.9rem;
}
.te-timeline-item > p {
  color: #637990;
  font-size: 0.74rem;
  margin: 0 0 0.4rem;
}
.te-timeline-item > .te-card-meta {
  margin-top: 0.5rem;
}
.te-timeline-dot {
  position: absolute;
  left: -1.94rem;
  top: 1.5rem;
  width: 0.75rem;
  height: 0.75rem;
  background: #4285dc;
  border: 2px solid #f5f8fc;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #d9e5f2;
}
.te-board-region {
  max-width: 100%;
  overflow-x: auto;
  border-radius: 1rem;
}
.te-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(14rem, 1fr));
  gap: 1rem;
  min-width: 76rem;
  padding-bottom: 1rem;
}
.te-board-column {
  background: #eef3f8;
  border: 1px solid var(--te-line);
  border-top: 3px solid #9dabbc;
  border-radius: 0.8rem;
  padding: 0.9rem;
  min-width: 0;
  min-height: 16rem;
  height: 36rem;
  overflow-y: auto;
}
.te-board-column[data-state="PLANNED"] {
  border-top-color: #4b86db;
}
.te-board-column[data-state="IN_PROGRESS"] {
  border-top-color: #e0a339;
}
.te-board-column[data-state="COMPLETED"] {
  border-top-color: #3e9b77;
}
.te-board-column[data-state="CANCELLED"] {
  border-top-color: #b67575;
}
.te-board-column > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  position: sticky;
  top: -0.9rem;
  padding: 0.8rem 0;
  margin-top: -0.8rem;
  background: #eef3f8;
  z-index: 1;
}
.te-board-column h2 {
  font-size: 0.8rem;
  margin: 0;
}
.te-board-column > header > span {
  background: white;
  border-radius: 1rem;
  min-width: 1.6rem;
  padding: 0.1rem 0.4rem;
  text-align: center;
  color: #61768b;
  font-size: 0.72rem;
}
.te-board-card {
  background: white;
  border: 1px solid #dce5ef;
  border-radius: 0.7rem;
  padding: 1rem;
  margin-bottom: 0.8rem;
}
.te-board-card > p {
  margin: 0.6rem 0;
}
.te-column-empty {
  font-size: 0.75rem;
  color: #667c91;
  line-height: 1.65;
  margin: 1rem 0.25rem;
}
.te-text-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.4rem 0;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.74rem;
  color: #1264d9;
}
.te-text-button > .ui-icon {
  width: 1rem;
  height: 1rem;
}
.te-date-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.te-date-navigation {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.te-date-navigation > p,
.te-date-navigation > h2 {
  font-size: 0.85rem;
  font-weight: 650;
  color: #304f6b;
  margin: 0;
  text-transform: capitalize;
}
.te-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid #9eafbf;
  border-radius: 0.6rem;
  background: white;
  color: #3f627f;
  width: 44px;
  height: 44px;
  padding: 0.65rem;
}
.te-icon-button:hover {
  background: #edf4fe;
}
.te-icon-button .ui-icon {
  width: 1.1rem;
  height: 1.1rem;
}
.te-date-navigation > .te-icon-button:first-child .ui-icon {
  transform: rotate(180deg);
}
.te-gantt-range {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #60758a;
}
.te-gantt-range > select {
  width: auto;
  min-height: 44px;
  max-width: 15rem;
  margin: 0;
  font-size: 0.8rem;
}
.te-gantt-scroll {
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid var(--te-line);
  border-radius: 1rem;
  background: white;
}
.te-gantt-header,
.te-gantt-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}
.te-gantt-header {
  background: #f2f6fc;
}
.te-gantt-header > strong,
.te-gantt-label {
  position: sticky;
  left: 0;
  z-index: 1;
  background: white;
  border: 0;
  border-right: 1px solid var(--te-line);
  padding: 1rem;
  font: inherit;
  font-size: 0.78rem;
  text-align: left;
  color: #345675;
}
.te-gantt-header > strong {
  background: #f2f6fc;
  font-weight: 650;
}
.te-gantt-ticks {
  position: relative;
}
.te-gantt-ticks > span {
  font-size: 0.7rem;
  color: #60758a;
  text-align: center;
  border-left: 1px solid var(--te-line);
  padding: 0.75rem 0.2rem;
  white-space: nowrap;
  position: absolute;
  top: 0;
  bottom: 0;
}
.te-gantt-row {
  border-top: 1px solid #e8edf5;
  min-height: 4rem;
}
.te-gantt-label {
  overflow-wrap: anywhere;
  font-weight: 550;
  line-height: 1.6;
}
.te-gantt-label:hover {
  color: #1264d9;
  background: #f4f8ff;
}
.te-gantt-track {
  position: relative;
  background-image: linear-gradient(to right, #e8edf5 1px, transparent 1px);
  overflow: hidden;
}
.te-gantt-bar {
  position: absolute;
  top: calc(50% - 0.65rem);
  height: 1.3rem;
  border: 1px solid #3977d0;
  border-radius: 0.3rem;
  background: #91b9f2;
  padding: 0;
  min-width: 5px;
}
.te-gantt-bar[data-state="COMPLETED"] {
  background: #74bba3;
  border-color: #3f8f73;
}
.te-gantt-bar[data-state="IN_PROGRESS"] {
  background: #f2ca80;
  border-color: #c38b2a;
}
.te-gantt-bar[data-state="CANCELLED"] {
  background: #cfb7b7;
  border-color: #b18484;
}
.te-outside {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: #7b8fa2;
}
.te-calendar-scroll {
  overflow-x: auto;
  border: 1px solid var(--te-line);
  border-radius: 1rem;
  background: white;
}
.te-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(8.5rem, 1fr));
  min-width: 64rem;
}
.te-weekday {
  font-size: 0.74rem;
  color: #60758a;
  text-align: center;
  padding: 0.8rem;
  background: #f2f6fc;
  border-bottom: 1px solid var(--te-line);
}
.te-calendar-day {
  min-height: 8rem;
  border-right: 1px solid #e8edf5;
  border-bottom: 1px solid #e8edf5;
  padding: 0.5rem;
  min-width: 0;
}
.te-calendar-day.is-muted {
  background: #f7f9fc;
}
.te-calendar-day time {
  display: inline-grid;
  place-items: center;
  font-size: 0.7rem;
  color: #6a8097;
  width: 1.7rem;
  height: 1.7rem;
  margin-bottom: 0.4rem;
}
.te-calendar-day.is-today time {
  background: #1264d9;
  color: white;
  border-radius: 50%;
}
.te-calendar-task {
  display: block;
  width: 100%;
  border: 0;
  border-left: 3px solid #4a8bde;
  background: #edf4ff;
  border-radius: 0.3rem;
  color: #2c5787;
  font: inherit;
  font-size: 0.67rem;
  line-height: 1.5;
  text-align: left;
  padding: 0.45rem;
  margin-bottom: 0.35rem;
  overflow-wrap: anywhere;
}
.te-calendar-task[data-state="COMPLETED"] {
  background: #edf7f2;
  border-color: #469777;
  color: #376f59;
}
.te-calendar-task[data-state="CANCELLED"] {
  background: #f5f0f0;
  border-color: #b28a8a;
  color: #876363;
}
.te-calendar-agenda {
  display: none;
}
.te-calendar-more {
  font-size: 0.7rem;
}
.te-calendar-more > summary {
  cursor: pointer;
  color: #1264d9;
  min-height: 24px;
}
.te-calendar-agenda > h3 {
  font-size: 0.85rem;
  margin: 1.5rem 0 0.75rem;
}
.te-mobile-event {
  display: grid;
  gap: 0.35rem;
  width: 100%;
  background: white;
  border: 1px solid var(--te-line);
  border-radius: 0.7rem;
  margin-bottom: 0.75rem;
  padding: 1rem;
  text-align: left;
  font: inherit;
}
.te-mobile-event > span,
.te-mobile-event > small {
  font-size: 0.72rem;
  color: #647d93;
}
.te-mobile-event > strong {
  font-size: 0.82rem;
  line-height: 1.65;
  color: #2d5479;
  overflow-wrap: anywhere;
}
.te-unscheduled {
  margin: 1.5rem 0;
  background: #f7f9fc;
  border: 1px solid var(--te-line);
  border-radius: 1rem;
  padding: 1.25rem;
}
.te-unscheduled > h2 {
  font-size: 0.9rem;
  margin: 0;
}
.te-unscheduled > h2 > span {
  font-size: 0.72rem;
  color: #73879b;
  margin-left: 0.5rem;
}
.te-unscheduled > p {
  font-size: 0.76rem;
  color: #6a7f94;
}
.te-undated-task {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  background: white;
  border: 1px solid var(--te-line);
  border-radius: 0.65rem;
  padding: 0.85rem 1rem;
  margin-top: 0.65rem;
  text-align: left;
  font: inherit;
  font-size: 0.78rem;
}
.te-undated-task > strong {
  flex: 1;
  min-width: min(12rem, 100%);
  color: #31587f;
  line-height: 1.6;
}
.te-undated-task > span:not(.status-badge) {
  color: #73879b;
  font-size: 0.72rem;
}
.te-undated-task > .ui-icon {
  width: 1rem;
  height: 1rem;
  color: #637d98;
}
.te-empty {
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1px solid var(--te-line);
  border-radius: 1rem;
  background: white;
}
.te-empty > .ui-icon {
  width: 2rem;
  height: 2rem;
  color: #678bad;
}
.te-empty > h2 {
  font-size: 1rem;
  margin-top: 1rem;
}
.te-empty > p {
  font-size: 0.82rem;
  color: #667d93;
  line-height: 1.7;
}
.te-dialog {
  padding: 0;
  width: min(57rem, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  border: 1px solid #c8d5e4;
  border-radius: 1.1rem;
  background: white;
  box-shadow: 0 24px 80px #10294933;
  color: #243f5a;
}
.te-dialog::backdrop {
  background: #12283f66;
}
.te-dialog.is-maximized {
  width: calc(100vw - 2rem);
  height: calc(100dvh - 2rem);
}
.te-dialog > header {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--te-line);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.te-dialog > header > div:first-child {
  min-width: 0;
}
.te-dialog h2 {
  font-size: 1.2rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  margin: 0.4rem 0 0;
}
.te-dialog-controls {
  display: flex;
  align-items: start;
  gap: 0.5rem;
  flex: 0 0 auto;
}
.te-dialog-body {
  padding: 1.5rem;
}
.te-dialog-body > .status-badge {
  margin-bottom: 1rem;
}
.te-dialog .te-task-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.te-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.task-explorer button:active:not(:disabled) {
  transform: none;
}
.task-explorer :is(button, select):focus-visible {
  outline: 3px solid #1264d9;
  outline-offset: 2px;
}
@media (max-width: 1100px) {
  .te-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .te-table th:first-child {
    width: 30%;
  }
  .te-task-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .task-explorer-heading {
    flex-direction: column;
    gap: 0.75rem;
  }
  .task-explorer-heading > .action-button {
    align-self: start;
  }
  .te-toolbar {
    align-items: start;
  }
  .te-view-picker {
    width: 100%;
  }
  .te-view-picker select {
    flex: 1;
    min-width: 0;
  }
  .te-view-picker > label {
    font-size: 0.7rem;
  }
  .te-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .te-table,
  .te-table tbody,
  .te-table tr,
  .te-table td {
    display: block;
    width: 100%;
  }
  .te-table td {
    border: 0;
    padding: 0.35rem 1rem;
  }
  .te-table-row {
    padding: 0.6rem 0 1rem;
    border-bottom: 1px solid var(--te-line);
  }
  .te-table-row td[data-label] {
    display: grid;
    grid-template-columns: 6.5rem minmax(0, 1fr);
    gap: 0.6rem;
    font-size: 0.75rem;
    align-items: center;
  }
  .te-table-row td[data-label]::before {
    content: attr(data-label);
    font-size: 0.7rem;
    color: #72879b;
  }
  .te-row-toggle {
    font-size: 0.82rem;
  }
  .te-expanded-row > td {
    padding: 1rem;
  }
  .te-task-facts {
    gap: 1rem;
  }
  .te-grid {
    grid-template-columns: 1fr;
  }
  .te-timeline-group {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
  .te-timeline-group > h2 {
    margin: 1rem 0;
  }
  .te-timeline-items {
    margin-left: 0.4rem;
    padding-left: 1.1rem;
  }
  .te-timeline-dot {
    left: -1.54rem;
  }
  .te-date-navigation {
    gap: 0.5rem;
  }
  .te-date-navigation > p,
  .te-date-navigation > h2 {
    font-size: 0.75rem;
    max-width: 15rem;
  }
  .te-gantt-range {
    width: 100%;
    justify-content: space-between;
  }
  .te-calendar-agenda {
    display: block;
  }
  .te-calendar {
    min-width: 0;
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .te-calendar-day {
    min-height: 5.8rem;
    padding: 0.2rem;
  }
  .te-calendar-day time {
    width: 1.4rem;
    height: 1.4rem;
    font-size: 0.6rem;
  }
  .te-calendar-task {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.6rem;
    min-height: 1.4rem;
    padding: 0.2rem 0.15rem;
    border-left-width: 2px;
  }
  .te-weekday {
    font-size: 0.6rem;
    padding: 0.6rem 0.1rem;
  }
  .te-gantt-header,
  .te-gantt-row {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .te-dialog {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
    border-radius: 0.9rem;
  }
  .te-dialog > header {
    padding: 1rem;
    flex-wrap: wrap;
  }
  .te-dialog > header > div:first-child {
    flex: 1 1 12rem;
  }
  .te-dialog h2 {
    font-size: 1rem;
  }
  .te-dialog-body {
    padding: 1rem;
  }
  .te-dialog .te-task-facts {
    grid-template-columns: 1fr;
  }
  .te-dialog.is-maximized {
    width: calc(100vw - 1rem);
    height: calc(100dvh - 1rem);
  }
  .te-dialog-controls {
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .task-explorer * {
    scroll-behavior: auto;
    transition: none !important;
  }
}
/*$vite$:1*/