/* [project]/apps/web/src/app/globals.css [app-client] (css) */
:root {
  --canvas: #f5f7fa;
  --surface: #fff;
  --nav: #172c42;
  --ink: #203246;
  --muted: #596b7d;
  --accent: #007f78;
  --accent-dark: #006961;
  --border: #e2e8ef;
  --radius: 9px;
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--canvas);
  color: var(--ink);
  margin: 0;
  font-family: Malgun Gothic, Apple SD Gothic Neo, Segoe UI, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

button, input, select, textarea {
  font: inherit;
}

button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

input, textarea, select {
  color: var(--ink);
  background: #fff;
  border: 1px solid #bcc8d4;
  border-radius: 7px;
  outline: none;
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
}

input::placeholder, textarea::placeholder {
  color: #6c7b8b;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #007f7818;
}

button:focus-visible, a:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #11a69b;
}

h1, h2, h3, p {
  margin: 0;
}

h1 {
  letter-spacing: -1px;
  font-size: 28px;
  line-height: 1.3;
}

h2 {
  letter-spacing: -.5px;
  font-size: 19px;
}

h3 {
  font-size: 18px;
}

small {
  font-size: 12px;
}

table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
}

th {
  color: var(--muted);
  white-space: nowrap;
  background: #f9fafc;
  font-size: 12px;
  font-weight: 500;
}

td, th {
  padding: 17px 20px;
}

td {
  white-space: nowrap;
  border-top: 1px solid #eef1f5;
}

td:first-child {
  min-width: 250px;
}

th:first-child {
  width: 40%;
}

tbody tr:hover {
  background: #fafcfd;
}

.button {
  background: var(--surface);
  white-space: nowrap;
  border: 1px solid #cbd5df;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-weight: 600;
  line-height: 1.5;
  display: inline-flex;
}

.button:hover:not(:disabled) {
  background: #f0f4f7;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.button.primary:hover:not(:disabled) {
  background: var(--accent-dark);
}

.button.small {
  padding: 6px 11px;
  font-size: 12px;
}

.button.danger {
  color: #fff;
  background: #b93442;
  border-color: #b93442;
}

.icon-button {
  color: inherit;
  background: none;
  border: 0;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  padding: 7px;
  display: inline-flex;
}

.icon-button:hover {
  background: #7e98ae17;
}

.text-button {
  color: var(--accent);
  background: none;
  border: 0;
  align-items: center;
  gap: 6px;
  padding: 4px;
  font-size: 13px;
  display: inline-flex;
}

.danger-text {
  color: #aa2534;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.skip-link {
  z-index: 100;
  background: #fff;
  padding: 12px;
  position: fixed;
  top: -60px;
  left: 270px;
}

.skip-link:focus {
  top: 10px;
}

.workspace {
  min-height: 100dvh;
}

.sidebar {
  background: var(--nav);
  color: #dce6f0;
  z-index: 20;
  flex-direction: column;
  width: 244px;
  padding: 32px 18px 20px;
  display: flex;
  position: fixed;
  inset: 0 auto 0 0;
}

.brand {
  color: #fff;
  letter-spacing: 1px;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  font-size: 24px;
  font-weight: 750;
  display: flex;
}

.brand small {
  letter-spacing: 0;
  color: #a8bbcd;
  margin-top: 1px;
  font-size: 10px;
  font-weight: 400;
  display: block;
}

.brand-mark {
  color: #fff;
  background: #007f78;
  border-radius: 10px;
  place-items: center;
  width: 42px;
  height: 44px;
  display: grid;
}

.workspace-label {
  border-top: 1px solid #ffffff16;
  border-bottom: 1px solid #ffffff16;
  align-items: center;
  gap: 10px;
  margin: 28px 0 24px;
  padding: 20px 8px;
  font-weight: 600;
  display: flex;
}

.workspace-label small {
  color: #a8bbcd;
  margin-top: 3px;
  font-weight: 400;
  display: block;
}

.workspace-initial {
  border: 1px solid #657b8e;
  border-radius: 7px;
  place-items: center;
  width: 32px;
  height: 32px;
  display: grid;
}

.nav-section {
  color: #a8bbcd;
  background: none;
  border: 0;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 10px 12px;
  font-size: 11px;
  display: flex;
}

.nav-section .rotated {
  transform: rotate(-90deg);
}

.nav-items {
  flex-direction: column;
  gap: 5px;
  display: flex;
}

.nav-items a {
  color: #c8d6e3;
  border-radius: 7px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  display: flex;
}

.nav-items a:hover {
  background: #ffffff0d;
}

.nav-items a.active {
  color: #fff;
  background: #244b60;
  box-shadow: inset 3px 0 #35b9aa;
}

.sidebar-bottom {
  margin-top: auto;
}

.live-status {
  color: #b6c6d5;
  align-items: center;
  gap: 8px;
  padding: 20px 10px;
  font-size: 11px;
  display: flex;
}

.status-dot {
  background: #9babb9;
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

.status-dot.connected {
  background: #55c5ab;
}

.area-link {
  color: #b9c8d6;
  margin-bottom: 10px;
  padding: 10px;
  font-size: 11px;
  display: block;
}

.profile {
  border-top: 1px solid #ffffff16;
  align-items: center;
  gap: 10px;
  padding: 18px 6px 0;
  font-size: 12px;
  display: flex;
}

.profile small {
  color: #a7bacc;
  font-size: 10px;
  display: block;
}

.profile .icon-button {
  color: #a7bacc;
  margin-left: auto;
}

.avatar {
  color: #fff;
  background: #476277;
  border-radius: 50%;
  place-items: center;
  width: 33px;
  height: 33px;
  font-size: 12px;
  display: grid;
}

.sidebar-error {
  color: #ffd0d0;
  font-size: 11px;
}

.workspace-body {
  margin-left: 244px;
}

.topbar {
  border-bottom: 1px solid var(--border);
  color: #53677a;
  background: #fff;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0 38px;
  font-size: 12px;
  display: flex;
}

.breadcrumb-slash {
  color: #b4c1cd;
  margin: 0 12px;
}

.topbar-note {
  color: #61798b;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  display: flex;
}

.main-content {
  max-width: 1560px;
  margin: auto;
  padding: 38px;
}

.page-heading {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  display: flex;
}

.page-heading p {
  color: var(--muted);
  margin-top: 9px;
  font-size: 13px;
}

.project-intro {
  background: #e9f3f2;
  border: 1px solid #d4e7e5;
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 26px 28px;
  display: flex;
}

.project-intro > div {
  align-items: center;
  gap: 18px;
  display: flex;
}

.intro-icon {
  color: var(--accent);
  background: #d7eae7;
  border-radius: 12px;
  place-items: center;
  width: 54px;
  height: 54px;
  display: grid;
}

.project-intro h2 {
  color: #245751;
  font-size: 18px;
}

.project-intro p {
  color: #4c706b;
  margin-top: 5px;
  font-size: 12px;
}

.project-count {
  color: #245751;
  white-space: nowrap;
  align-items: baseline;
  gap: 7px;
  font-size: 32px;
  font-weight: 700;
  display: flex;
}

.project-count small {
  color: #4c706b;
  font-size: 11px;
  font-weight: 400;
}

.filter-bar {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px;
  display: flex;
}

.filter-tabs {
  gap: 3px;
  display: flex;
}

.filter-tabs button {
  color: #56697b;
  white-space: nowrap;
  background: none;
  border: 0;
  border-radius: 6px;
  padding: 9px 13px;
  font-size: 12px;
}

.filter-tabs button.selected {
  color: #066f66;
  background: #dcece9;
  font-weight: 700;
}

.search-field {
  color: #617487;
  background: #fff;
  border: 1px solid #cbd5df;
  border-radius: 7px;
  align-items: center;
  gap: 9px;
  width: 240px;
  padding: 0 11px;
  display: flex;
}

.search-field input {
  box-shadow: none;
  border: 0;
  padding: 10px 0;
  font-size: 12px;
}

.search-field:focus-within {
  outline: 2px solid var(--accent);
}

.project-table, .history-panel {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.table-caption {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 64px;
  padding: 17px 20px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
}

.count-label {
  color: #5d7184;
  background: #edf2f7;
  border-radius: 4px;
  margin-left: 6px;
  padding: 2px 7px;
  font-size: 11px;
}

.table-scroll {
  overflow: auto;
}

.project-name {
  text-align: left;
  background: none;
  border: 0;
  align-items: center;
  gap: 12px;
  max-width: 420px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  display: flex;
}

.project-name > span:last-child {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.project-name small {
  color: #6a7c8d;
  text-overflow: ellipsis;
  max-width: 300px;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 400;
  display: block;
  overflow: hidden;
}

.project-symbol {
  color: #4c657e;
  background: #eff4f9;
  border: 1px solid #e0e7ee;
  border-radius: 7px;
  flex-shrink: 0;
  place-items: center;
  width: 36px;
  height: 38px;
  font-size: 13px;
  display: grid;
}

.badge {
  white-space: nowrap;
  border-radius: 5px;
  padding: 4px 9px;
  font-size: 11px;
  display: inline-flex;
}

.badge.active {
  color: #05796e;
  background: #e5f3ed;
}

.badge.planned {
  color: #4c64a0;
  background: #edf1fa;
}

.badge.paused {
  color: #975811;
  background: #fff1da;
}

.badge.completed {
  color: #566578;
  background: #eef1f5;
}

.progress-cell {
  color: #536b7e;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  display: flex;
}

progress {
  background: #e7edf2;
  border: 0;
  border-radius: 5px;
  width: 70px;
  height: 5px;
  overflow: hidden;
}

progress::-webkit-progress-bar {
  background: #e7edf2;
}

progress::-webkit-progress-value {
  background: var(--accent);
  border-radius: 5px;
}

progress::-moz-progress-bar {
  background: var(--accent);
}

.mini-avatar {
  color: #49647d;
  background: #eaf0f6;
  border-radius: 50%;
  place-items: center;
  width: 25px;
  height: 25px;
  font-size: 10px;
  display: grid;
}

.owner-name {
  align-items: center;
  gap: 7px;
  font-size: 12px;
  display: flex;
}

.overdue {
  color: #ae3844;
}

.pagination {
  border-top: 1px solid var(--border);
  color: #66788b;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  font-size: 11px;
  display: flex;
}

.pagination > div {
  align-items: center;
  gap: 14px;
  display: flex;
}

.empty-state {
  color: #70869b;
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 280px;
  padding: 62px 20px;
  display: flex;
}

.empty-state h3 {
  color: #3a5064;
  font-size: 16px;
}

.empty-state p {
  margin-bottom: 8px;
  font-size: 12px;
}

.notice {
  color: #23674c;
  background: #e5f4ec;
  border: 1px solid #c7e5d6;
  border-radius: 7px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding: 10px 14px;
  font-size: 12px;
  display: flex;
}

.error-banner {
  color: #a02736;
  background: #fff1f1;
  border: 1px solid #f1c7cb;
  border-radius: 7px;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 11px 14px;
  font-size: 12px;
  display: flex;
}

.error-banner .text-button {
  color: #a02736;
  text-decoration: underline;
}

.boot-state {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 100dvh;
  display: flex;
}

.editor-dialog {
  color: var(--ink);
  border: 0;
  border-radius: 13px;
  width: min(620px, 100% - 32px);
  max-height: calc(100dvh - 40px);
  padding: 0;
  box-shadow: 0 24px 80px #142b4440;
}

.editor-dialog::backdrop {
  background: #132a4366;
}

.dialog-heading {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: flex-start;
  padding: 26px 28px 22px;
  display: flex;
}

.dialog-heading p {
  color: var(--muted);
  margin-top: 6px;
  font-size: 12px;
}

.editor-dialog form {
  padding: 24px 28px;
}

form label {
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 600;
  display: block;
}

form label > input, form label > textarea, form label > select {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 400;
}

form label small {
  color: var(--muted);
  margin-top: 6px;
  font-weight: 400;
  display: block;
}

.form-grid {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  display: grid;
}

input[type="range"] {
  accent-color: var(--accent);
  box-shadow: none;
  border: 0;
  padding: 0;
}

.range-value {
  float: right;
  color: var(--accent);
}

.dialog-footer {
  border-top: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 24px;
  padding-top: 22px;
  display: flex;
}

.dialog-footer > div:last-child {
  gap: 9px;
  margin-left: auto;
  display: flex;
}

.delete-confirm {
  background: #fff6f6;
  border: 1px solid #f0c7cb;
  border-radius: 7px;
  margin-bottom: 16px;
  padding: 14px;
  font-size: 12px;
}

.delete-confirm p {
  margin-bottom: 12px;
}

.delete-confirm .text-button {
  margin-left: 12px;
}

.history-list {
  margin: 0;
  padding: 0 26px;
  list-style: none;
}

.history-list li {
  border-top: 1px solid #edf1f5;
  align-items: flex-start;
  gap: 16px;
  padding: 23px 0;
  display: flex;
  position: relative;
}

.history-marker {
  color: #5d7b94;
  background: #edf3f8;
  border-radius: 50%;
  flex-shrink: 0;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}

.history-marker.created {
  color: #168575;
  background: #e8f5ee;
}

.history-marker.deleted {
  color: #b45a35;
  background: #fff0eb;
}

.history-content {
  flex: 1;
}

.history-title {
  align-items: center;
  gap: 10px;
  display: flex;
}

.history-title strong {
  font-size: 13px;
}

.history-content p {
  color: var(--muted);
  margin-top: 6px;
  font-size: 12px;
}

.history-list time {
  color: var(--muted);
  white-space: nowrap;
  padding-top: 3px;
  font-size: 11px;
}

.history-changes {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  display: flex;
}

.history-changes span {
  color: #4b6379;
  background: #f3f6f9;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
}

.login-page {
  grid-template-columns: 46% 54%;
  min-height: 100dvh;
  display: grid;
}

.login-story {
  background: var(--nav);
  color: #fff;
  flex-direction: column;
  min-height: 100dvh;
  padding: 50px 56px;
  display: flex;
}

.login-story .brand {
  padding: 0;
}

.login-story-content {
  margin: auto 0;
  padding: 50px 0;
}

.login-story h1 {
  letter-spacing: -2px;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 650;
  line-height: 1.45;
}

.login-story-content > p {
  color: #b8cbdc;
  margin-top: 25px;
  font-size: 15px;
  line-height: 1.9;
}

.login-benefits {
  color: #d5e3ee;
  flex-direction: column;
  gap: 15px;
  margin-top: 45px;
  font-size: 13px;
  display: flex;
}

.login-benefits span {
  align-items: center;
  gap: 10px;
  display: flex;
}

.login-benefits svg {
  color: #58bdae;
}

.login-footnote {
  color: #96afc6;
  font-size: 11px;
}

.login-form-area {
  background: #fff;
  justify-content: center;
  align-items: center;
  padding: 44px;
  display: flex;
}

.login-form-wrap {
  width: 100%;
  max-width: 380px;
}

.login-form-wrap h2 {
  letter-spacing: -1px;
  font-size: 25px;
}

.login-form-wrap > p {
  color: var(--muted);
  margin-top: 10px;
  margin-bottom: 36px;
  font-size: 13px;
}

.login-form-wrap label {
  margin-bottom: 24px;
  font-size: 12px;
}

.login-form-wrap input {
  height: 47px;
}

.login-submit {
  justify-content: space-between;
  width: 100%;
  height: 47px;
  margin-top: 7px;
}

.login-help {
  color: #6c7e8e;
  border-top: 1px solid var(--border);
  margin-top: 29px;
  padding-top: 23px;
  font-size: 11px;
  line-height: 1.8;
}

.mobile-menu, .menu-backdrop, .login-mobile-brand {
  display: none;
}

@media (min-width: 1600px) {
  .login-story {
    padding: 60px 85px;
  }
}

@media (max-width: 1100px) {
  .main-content {
    padding: 28px 24px;
  }

  .topbar {
    padding: 0 24px;
  }

  .topbar-note {
    display: none;
  }

  .sidebar {
    width: 220px;
  }

  .workspace-body {
    margin-left: 220px;
  }

  .project-intro {
    padding: 20px;
  }

  .project-count {
    font-size: 27px;
  }

  .project-intro h2 {
    font-size: 16px;
  }

  .filter-bar {
    flex-wrap: wrap;
  }

  .login-story {
    padding: 40px 35px;
  }

  .login-form-area {
    padding: 30px;
  }

  .project-name small {
    max-width: 200px;
  }

  .history-list time {
    white-space: normal;
    width: 120px;
  }
}

@media (max-width: 760px) {
  .sidebar {
    width: 244px;
    transition: transform .2s;
    transform: translateX(-100%);
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .workspace-body {
    margin-left: 0;
  }

  .mobile-menu {
    z-index: 15;
    color: var(--ink);
    background: #fff;
    display: flex;
    position: fixed;
    top: 14px;
    left: 14px;
  }

  .menu-backdrop {
    z-index: 19;
    background: #172c4266;
    border: 0;
    display: block;
    position: fixed;
    inset: 0;
  }

  .topbar {
    height: 62px;
    padding-left: 62px;
  }

  .main-content {
    padding: 26px 16px;
  }

  .page-heading {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }

  .page-heading h1 {
    font-size: 23px;
  }

  .page-heading p {
    max-width: 260px;
    font-size: 11px;
  }

  .page-heading > .button {
    gap: 5px;
    padding: 9px 11px;
    font-size: 11px;
  }

  .project-intro {
    align-items: flex-start;
    padding: 18px;
  }

  .project-intro > div {
    gap: 12px;
  }

  .intro-icon {
    display: none;
  }

  .project-intro h2 {
    font-size: 15px;
  }

  .project-intro p {
    max-width: 210px;
    font-size: 10px;
  }

  .project-count {
    flex-direction: column;
    gap: 0;
    font-size: 26px;
    line-height: 1.3;
  }

  .project-count small {
    font-size: 9px;
  }

  .filter-bar {
    gap: 14px;
  }

  .filter-tabs {
    width: 100%;
    overflow: auto;
  }

  .filter-tabs button {
    padding: 8px 12px;
    font-size: 11px;
  }

  .search-field {
    width: 100%;
  }

  .pagination {
    padding: 14px;
    font-size: 10px;
  }

  .pagination > div {
    gap: 8px;
  }

  .empty-state {
    padding: 45px 15px;
  }

  .dialog-heading, .editor-dialog form {
    padding: 20px;
  }

  .dialog-heading p {
    font-size: 11px;
  }

  .dialog-footer {
    flex-wrap: wrap;
  }

  .form-grid {
    gap: 12px;
  }

  .history-list {
    padding: 0 16px;
  }

  .history-list li {
    flex-wrap: wrap;
    gap: 12px;
  }

  .history-list time {
    flex-basis: 100%;
    width: auto;
    margin-left: 46px;
    padding: 0;
    font-size: 10px;
  }

  .history-changes {
    gap: 5px;
  }

  .login-page {
    display: block;
  }

  .login-story {
    display: none;
  }

  .login-form-area {
    min-height: 100dvh;
    padding: 30px 24px;
  }

  .login-mobile-brand {
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 50px;
    font-size: 27px;
    font-weight: 750;
    display: block;
  }

  .skip-link {
    left: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* [project]/apps/web/src/app/work.css [app-client] (css) */
:root {
  --nav: #087f86;
  --ink: #24292f;
  --muted: #62686f;
  --canvas: #fff;
  --accent: #087f86;
  --accent-dark: #00636a;
  --border: #d3d7dc;
  --radius: 2px;
}

button, a, input, select, textarea {
  transition: background-color .15s, color .15s, border-color .15s;
}

.workspace {
  background: #fff;
  font-size: 12px;
}

.icon-rail {
  z-index: 22;
  background: var(--accent);
  color: #fff;
  flex-direction: column;
  align-items: center;
  width: 44px;
  display: none;
  position: fixed;
  inset: 0 auto 0 0;
}

.sidebar-collapsed .icon-rail {
  display: flex;
}

.icon-rail a, .icon-rail button {
  width: 44px;
  height: 43px;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 0;
  place-items: center;
  padding: 0;
  display: grid;
}

.icon-rail a:hover, .icon-rail button:not(:disabled):hover {
  background: #ffffff1c;
}

.icon-rail a.active {
  background: var(--accent-dark);
  box-shadow: inset 3px 0 #b5e5e6;
}

.icon-rail .rail-home {
  border-bottom: 1px solid #ffffff25;
  height: 55px;
  margin-bottom: 8px;
}

.rail-avatar {
  border: 1px solid #ffffff70;
  border-radius: 50%;
  place-items: center;
  width: 26px;
  height: 26px;
  margin: 10px 0 12px;
  display: grid;
}

.rail-bottom {
  flex-direction: column;
  align-items: center;
  margin-top: auto;
  display: flex;
}

.sidebar {
  width: 180px;
  color: var(--ink);
  border-right: 1px solid var(--border);
  background: #fff;
  padding: 0;
  transition: transform .18s, visibility .18s;
  left: 0;
  overflow-y: auto;
}

.sidebar .brand {
  color: #20272d;
  letter-spacing: .8px;
  flex: none;
  gap: 8px;
  height: 66px;
  padding: 8px 14px;
  font-size: 26px;
}

.sidebar .brand-mark {
  width: 25px;
  height: 32px;
  color: var(--accent);
  background: none;
  border-radius: 0;
}

.sidebar .brand small {
  color: #71777d;
  letter-spacing: 0;
  font-size: 9px;
}

.workspace[data-area="admin"] .sidebar {
  color: #294669;
  background: #edf2f8;
  border-right-color: #c6d3e4;
}

.workspace[data-area="admin"] .sidebar .brand {
  color: #294669;
}

.workspace[data-area="admin"] .sidebar .brand-mark {
  color: #315d8b;
}

.workspace[data-area="admin"] .sidebar .brand small, .workspace[data-area="admin"] .sidebar .profile small, .workspace[data-area="admin"] .sidebar .project-selection-label {
  color: #5d738f;
}

.workspace[data-area="admin"] .sidebar .sidebar-project-section {
  background: #e1eaf5;
  border-color: #c6d3e4;
}

.workspace[data-area="admin"] .sidebar nav a {
  color: #304765;
}

.workspace[data-area="admin"] .sidebar nav a:hover {
  background: #dfeaf7;
}

.workspace[data-area="admin"] .sidebar nav a.active {
  color: #183c65;
  background: #d5e4f5;
  border-left-color: #315d8b;
}

.workspace[data-area="admin"] .icon-rail {
  background: #284467;
}

.workspace[data-area="admin"] .icon-rail a:hover, .workspace[data-area="admin"] .icon-rail button:hover, .workspace[data-area="admin"] .icon-rail .active {
  background: #3b5b83;
}

.project-switcher {
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  min-width: 0;
  padding: 4px 8px 8px;
  display: flex;
}

.project-switcher select {
  flex: 1;
  width: 0;
  height: 27px;
  padding: 2px 4px;
  font-size: 11px;
}

.project-switcher .icon-button {
  padding: 4px;
}

.project-switcher > input {
  width: 100%;
  height: 26px;
  padding: 3px 5px;
  font-size: 11px;
}

.project-pages {
  justify-content: flex-end;
  align-items: center;
  gap: 3px;
  width: 100%;
  display: flex;
}

.sidebar-dashboard {
  padding-bottom: 4px;
}

.sidebar-project-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #f5f6f7;
  padding: 8px;
}

.project-selection-label {
  color: #515960;
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 600;
  display: block;
}

.project-selector-row {
  align-items: center;
  gap: 4px;
  min-width: 0;
  display: flex;
}

.project-selector-row select {
  border-radius: 2px;
  flex: 1;
  width: 0;
  height: 28px;
  padding: 2px 4px;
  font-size: 11px;
}

.project-selector-row .project-create-button {
  width: 28px;
  height: 28px;
  color: var(--accent-dark);
  background: #fff;
  border: 1px solid #bcc8d4;
  border-radius: 2px;
  flex: none;
  place-items: center;
  padding: 0;
  display: grid;
}

.project-selector-row .project-create-button:hover {
  background: #e6f3f3;
}

.project-work-menu {
  padding-top: 4px;
}

.disabled-nav-item {
  color: #8a929b;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 5px 12px;
  font-size: 12px;
  display: flex;
}

.disabled-nav-item svg {
  width: 16px;
  height: 16px;
}

.sidebar-admin-menu {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0 -8px 3px;
}

.project-sort-row {
  position: relative;
}

.project-sort-row.is-dragging {
  opacity: .45;
}

.project-sort-row [draggable="true"] {
  cursor: grab;
}

.project-drop-before:before, .project-drop-after:after {
  content: "";
  background: var(--accent);
  pointer-events: none;
  z-index: 2;
  height: 2px;
  position: absolute;
  left: 0;
  right: 0;
}

.project-drop-before:before {
  top: 0;
}

.project-drop-after:after {
  bottom: 0;
}

.planned-module {
  color: #707b85;
  text-align: left;
  opacity: 1;
  background: none;
  border: 0;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 14px;
  font-size: 12px;
  display: flex;
}

.planned-module small {
  margin-left: auto;
  font-size: 9px;
}

.global-work-menu {
  border-top: 1px solid var(--border);
  padding-top: 4px;
}

.project-list-hint {
  color: #707b85;
  margin-left: 10px;
  font-size: 10px;
  font-weight: 400;
}

.editor-dialog .dialog-footer {
  justify-content: flex-end;
}

.project-pages small {
  font-size: 10px;
}

.workspace-label {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  padding: 10px 8px;
  display: grid;
}

.workspace-label > div + div {
  border-left: 1px solid var(--border);
}

.workspace-label small {
  color: var(--muted);
  margin: 0 0 4px;
  font-size: 10px;
}

.workspace-label strong {
  font-size: 15px;
  font-weight: 600;
}

.nav-section {
  color: #515960;
  border-bottom: 1px solid var(--border);
  background: #f5f6f7;
  padding: 9px 12px;
  font-size: 11px;
}

.nav-items {
  gap: 0;
}

.nav-items a {
  color: #30363d;
  border-radius: 0;
  gap: 8px;
  height: 34px;
  padding: 5px 12px;
  font-size: 12px;
}

.nav-items a svg {
  width: 16px;
  height: 16px;
}

.nav-items a:hover {
  background: #f4f6f7;
}

.nav-items a.active {
  color: var(--accent-dark);
  box-shadow: inset 2px 0 var(--accent);
  background: #edf6f6;
  font-weight: 600;
}

.sidebar-bottom {
  padding: 5px 8px 9px;
}

.live-status {
  color: var(--muted);
  gap: 5px;
  padding: 8px 0;
  font-size: 10px;
}

.status-dot {
  width: 5px;
  height: 5px;
}

.status-dot.connected {
  background: var(--accent);
}

.area-link {
  color: #4c6365;
  margin: 0;
  padding: 5px 0;
  font-size: 10px;
}

.profile {
  border-color: var(--border);
  gap: 6px;
  padding: 8px 0 0;
  font-size: 11px;
}

.profile small {
  color: var(--muted);
  font-size: 9px;
}

.profile .icon-button {
  color: #505a63;
}

.avatar {
  width: 25px;
  height: 25px;
  color: var(--accent-dark);
  background: #e6f0f0;
  font-size: 10px;
}

.sidebar-error {
  color: #a32432;
}

.sidebar-toggle {
  z-index: 24;
  color: #59646b;
  background: #f7f9f9;
  border: 1px solid #b7c0c4;
  border-radius: 0 3px 3px 0;
  place-items: center;
  width: 12px;
  height: 46px;
  padding: 0;
  transition: left .18s;
  display: grid;
  position: fixed;
  top: 46%;
  left: 174px;
}

.workspace-body {
  min-width: 0;
  margin-left: 180px;
  transition: margin-left .18s;
}

.sidebar-collapsed .sidebar {
  visibility: hidden;
  transform: translateX(-100%);
}

.sidebar-collapsed .workspace-body {
  margin-left: 44px;
}

.sidebar-collapsed .sidebar-toggle {
  left: 44px;
}

.topbar {
  display: none;
}

.workspace-tabbar {
  background: #eef0f2;
  border-bottom: 1px solid #bec5cb;
  align-items: stretch;
  min-height: 28px;
  padding: 0 3px;
  display: flex;
  overflow-x: auto;
}

.workspace-tabs {
  flex: none;
  align-items: stretch;
  gap: 2px;
  height: 27px;
  display: flex;
}

.workspace-tab {
  background: #e5e8eb;
  border: 1px solid #cbd0d5;
  border-bottom: 0;
  border-radius: 2px 2px 0 0;
  align-items: center;
  animation: .14s ease-out tab-in;
  display: flex;
  position: relative;
}

.workspace-tab > button {
  white-space: nowrap;
  background: none;
  border: 0;
  height: 26px;
  padding: 3px 11px;
  font-size: 11px;
}

.workspace-tab.selected {
  color: var(--accent-dark);
  box-shadow: inset 0 2px var(--accent);
  background: #fff;
  font-weight: 600;
}

.workspace-tab .tab-close {
  color: #77818a;
  place-items: center;
  padding: 3px 7px 3px 0;
  display: grid;
}

.workspace-tab .tab-close:hover {
  color: #29323b;
}

.workspace-tab > [role="tab"] {
  cursor: grab;
  text-overflow: ellipsis;
  min-width: 70px;
  max-width: 230px;
  overflow: hidden;
}

.workspace-tab.is-dragging {
  opacity: .45;
}

.workspace-tab.drop-before:before, .workspace-tab.drop-after:after {
  content: "";
  background: var(--accent);
  pointer-events: none;
  border-radius: 2px;
  width: 3px;
  position: absolute;
  top: 2px;
  bottom: 1px;
}

.workspace-tab.drop-before:before {
  left: -1px;
}

.workspace-tab.drop-after:after {
  right: -1px;
}

.tab-order-notice {
  clip-path: inset(50%);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.main-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 4px 6px;
}

.skip-link {
  left: 186px;
}

.sidebar-collapsed .skip-link {
  left: 50px;
}

.page-enter {
  animation: .14s ease-out page-in;
}

.panel-enter, .notice {
  animation: .16s ease-out panel-in;
}

.page-heading {
  gap: 10px;
  min-height: 31px;
  margin: 0 0 4px;
}

.page-heading h1 {
  color: #232a30;
  letter-spacing: -.3px;
  font-size: 16px;
  font-weight: 700;
}

.page-heading p, .eyebrow {
  display: none;
}

.workspace .button {
  border-radius: 2px;
  gap: 4px;
  min-height: 26px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 500;
}

.workspace .button svg {
  width: 14px;
  height: 14px;
}

.workspace .button.small {
  min-height: 24px;
  padding: 2px 7px;
}

.workspace .icon-button {
  border-radius: 2px;
  padding: 4px;
}

.workspace .text-button {
  font-size: 11px;
}

.workspace input, .workspace select, .workspace textarea {
  border-radius: 2px;
  padding: 4px 6px;
  font-size: 12px;
}

.workspace input:focus, .workspace select:focus, .workspace textarea:focus {
  box-shadow: 0 0 0 1px #087f8625;
}

.workspace button:focus-visible, .workspace a:focus-visible {
  outline-offset: 1px;
  outline-width: 2px;
}

.search-field {
  border-radius: 2px;
  gap: 5px;
  width: 225px;
  height: 26px;
  padding: 0 6px;
}

.workspace .search-field input {
  box-shadow: none;
  padding: 3px 0;
  font-size: 11px;
}

.search-field svg {
  flex: none;
  width: 14px;
  height: 14px;
}

.heading-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  display: flex;
}

.heading-actions .search-field {
  width: 220px;
}

.segmented {
  background: #f0f2f4;
  border: 1px solid #bfc7cd;
  border-radius: 2px;
  display: flex;
}

.segmented button {
  background: none;
  border: 0;
  min-width: 30px;
  height: 24px;
  padding: 2px 8px;
  font-size: 11px;
}

.segmented button.selected {
  background: var(--accent);
  color: #fff;
}

.project-overview {
  border: 1px solid var(--border);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 4px 0 6px;
  display: grid;
}

.project-overview > div {
  min-height: 74px;
  padding: 10px 14px;
  position: relative;
}

.project-overview > div + div {
  border-left: 1px solid var(--border);
}

.project-overview small {
  color: var(--muted);
  margin-bottom: 4px;
  font-size: 11px;
  display: block;
}

.project-overview strong {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  display: block;
}

.project-overview em {
  margin-left: 6px;
  font-size: 11px;
  font-style: normal;
}

.project-overview progress {
  width: 100%;
  height: 3px;
  margin-top: 3px;
  display: block;
}

.project-overview .overview-total {
  background: var(--accent);
  color: #fff;
}

.project-overview .overview-total small {
  color: #e2f4f4;
}

.filter-bar {
  gap: 6px;
  margin: 0 0 4px;
}

.filter-tabs {
  gap: 1px;
}

.filter-tabs button {
  border-radius: 2px;
  height: 26px;
  padding: 3px 9px;
  font-size: 11px;
}

.filter-tabs button.selected {
  color: var(--accent-dark);
  background: #e7f1f1;
}

.project-table, .history-panel, .gantt-panel {
  border: 1px solid var(--border);
  background: #fff;
  border-top: 2px solid #677078;
  border-radius: 0;
  overflow: hidden;
}

.table-caption {
  height: 28px;
  min-height: 28px;
  padding: 2px 6px;
  font-size: 12px;
}

.count-label {
  color: #505b64;
  background: #f0f2f3;
  border-radius: 2px;
  margin-left: 4px;
  padding: 1px 4px;
  font-size: 10px;
}

.table-scroll, .gantt-scroll {
  --gantt-fixed-width: 560px;
  --gantt-wbs-width: 320px;
  max-width: 100%;
  overflow: auto;
}

.workspace table {
  font-size: 12px;
}

.workspace th {
  color: #3c444c;
  text-align: center;
  background: #f0f1f3;
  font-size: 11px;
  font-weight: 600;
}

.workspace td, .workspace th {
  border-bottom: 1px solid #e2e5e8;
  border-right: 1px solid #dfe2e5;
  height: 29px;
  padding: 4px 7px;
}

.workspace td:first-child {
  min-width: 0;
}

.workspace th:first-child {
  width: auto;
}

.workspace tbody tr:nth-child(2n) {
  background: #fafbfc;
}

.workspace tbody tr:hover {
  background: #f0f7f7;
}

.project-table th:first-child {
  width: 40%;
}

.project-name {
  gap: 6px;
  font-size: 12px;
  position: relative;
}

.project-symbol {
  width: 24px;
  height: 24px;
  color: var(--accent-dark);
  background: #edf6f6;
  border-radius: 2px;
  font-size: 11px;
}

.badge {
  border-radius: 2px;
  padding: 1px 5px;
  font-size: 10px;
  line-height: 1.6;
}

.badge.active, .badge.defect-resolved {
  color: #186b5d;
  background: #e3f3f0;
}

.badge.defect-open, .badge.defect-reopened {
  color: #8e5310;
  background: #fff0df;
}

.badge.defect-in_progress {
  color: #2c6380;
  background: #e8f1f7;
}

.badge.defect-closed {
  color: #58636e;
  background: #eceff2;
}

progress {
  appearance: none;
  height: 4px;
  accent-color: var(--accent);
  background: #e2ecec;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}

progress::-webkit-progress-bar {
  background: #e2ecec;
}

progress::-webkit-progress-value {
  background: var(--accent);
  border-radius: 0;
  transition: width .2s;
}

progress::-moz-progress-bar {
  background: var(--accent);
  border-radius: 0;
}

.progress-cell {
  gap: 6px;
  font-size: 11px;
}

.pagination {
  border-top: 1px solid var(--border);
  min-height: 28px;
  padding: 3px 6px;
  font-size: 11px;
}

.pagination button {
  border-radius: 2px;
  min-width: 24px;
  height: 24px;
  padding: 1px 5px;
}

.workspace .empty-state {
  padding: 35px 10px;
  font-size: 12px;
}

.workspace .empty-state h3 {
  font-size: 14px;
}

.workspace .empty-state p {
  font-size: 12px;
}

.schedule-summary {
  border: 1px solid var(--border);
  background: #fafbfc;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  min-height: 29px;
  margin-bottom: 4px;
  padding: 3px 8px;
  font-size: 11px;
  display: flex;
}

.schedule-summary strong {
  color: var(--accent-dark);
  padding-left: 6px;
  font-weight: 600;
}

.summary-counts {
  color: #505d67;
  margin-left: auto;
  font-size: 10px;
}

.summary-counts b {
  color: #26333b;
}

.gantt-toolbar {
  border-bottom: 1px solid var(--border);
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding: 5px 8px;
  font-size: 10px;
  display: grid;
}

.gantt-toolbar > div {
  align-items: center;
  gap: 4px;
  display: flex;
}

.gantt-toolbar-title {
  flex-wrap: wrap;
  min-width: 0;
}

.gantt-toolbar-navigation {
  justify-self: center;
}

.gantt-toolbar-actions {
  justify-self: end;
}

.gantt-toolbar strong {
  font-size: 11px;
}

.gantt-date-trigger {
  color: var(--accent-dark);
  white-space: nowrap;
  background: none;
  border: 1px solid #0000;
  border-radius: 3px;
  align-items: center;
  gap: 4px;
  padding: 3px 5px;
  font-size: 18px;
  display: inline-flex;
}

.gantt-date-trigger:hover, .gantt-date-trigger[aria-expanded="true"] {
  background: #edf7f7;
  border-color: #bbd9db;
}

.gantt-calendar {
  z-index: 100;
  width: min(292px, 100vw - 16px);
  max-height: calc(100dvh - 16px);
  color: var(--ink);
  background: #fff;
  border: 1px solid #c2d3d5;
  border-radius: 6px;
  padding: 10px;
  font-size: 12px;
  animation: .14s ease-out panel-in;
  position: fixed;
  overflow-y: auto;
  box-shadow: 0 8px 28px #203e4526;
}

.calendar-heading, .calendar-footer {
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  display: flex;
}

.calendar-heading {
  margin-bottom: 8px;
}

.calendar-grid {
  table-layout: fixed;
  border-collapse: collapse;
  width: 100%;
  min-width: 0;
}

.calendar-grid th, .calendar-grid td {
  text-align: center;
  background: none;
  border: 0;
  width: 14.2857%;
  padding: 0;
}

.gantt-calendar .calendar-grid th:first-child {
  width: 14.2857%;
}

.calendar-grid th {
  height: 26px;
  color: var(--muted);
  font-size: 11px;
}

.calendar-grid .sunday {
  color: #ba4352;
}

.calendar-grid .saturday {
  color: #3b6db0;
}

.calendar-day {
  width: 32px;
  height: 32px;
  color: var(--ink);
  background: none;
  border: 1px solid #0000;
  border-radius: 4px;
  padding: 0;
  font-size: 12px;
}

.calendar-day:hover {
  background: #edf7f7;
}

.calendar-day:disabled, .calendar-day:disabled:hover {
  color: #b9c0c7;
  cursor: not-allowed;
  background: none;
  border-color: #0000;
}

.calendar-day.outside-month {
  color: #9aa1a8;
}

.calendar-day.is-today {
  border-color: var(--accent);
  font-weight: 700;
}

.calendar-day.is-selected {
  background: var(--accent);
  color: #fff;
}

.calendar-direct {
  border-top: 1px solid var(--border);
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  padding-top: 10px;
  font-size: 11px;
  display: flex;
}

.calendar-direct input {
  width: 146px;
  padding: 4px 5px;
  font-size: 12px;
}

.chart-legend {
  color: #626d75;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  font-size: 10px;
  display: inline-flex;
}

.chart-legend > span {
  white-space: nowrap;
  align-items: center;
  gap: 3px;
  padding: 3px 0;
  display: inline-flex;
  position: relative;
}

.chart-legend .legend-tooltip {
  z-index: 5;
  color: #fff;
  pointer-events: none;
  background: #263744;
  border-radius: 3px;
  padding: 4px 6px;
  font-size: 10px;
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.chart-legend > span:hover .legend-tooltip, .chart-legend > span:focus .legend-tooltip {
  display: block;
}

.chart-legend > span:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

.chart-legend .legend-dot {
  background: var(--progress-color);
}

.legend-dot {
  background: var(--accent);
  width: 10px;
  height: 4px;
  display: inline-block;
}

.legend-dot.planned {
  background: #acb9c3;
}

.legend-dot.delayed {
  background: #d79930;
}

.gantt-scroll {
  scrollbar-color: #859fa2 #eef2f3;
  scrollbar-width: auto;
  overscroll-behavior: contain;
  min-height: 220px;
  max-height: calc(100dvh - 180px);
  overflow-x: scroll;
}

.gantt-scroll::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.gantt-scroll::-webkit-scrollbar-track {
  background: #eef2f3;
}

.gantt-scroll::-webkit-scrollbar-thumb {
  background: #859fa2;
  border: 2px solid #eef2f3;
  border-radius: 5px;
}

.gantt-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.gantt-scroll:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.gantt-table {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

.workspace .gantt-table th, .workspace .gantt-table td {
  border-bottom: 0;
  height: 29px;
  padding: 0 6px;
}

.workspace .gantt-table td {
  border-top: 1px solid #e2e5e8;
}

.gantt-table thead {
  z-index: 10;
  position: sticky;
  top: 0;
}

.gantt-table tbody tr {
  --gantt-row-bg: #fff;
}

.gantt-table tbody tr:nth-child(2n) {
  --gantt-row-bg: #fafbfc;
}

.gantt-table tbody tr:hover {
  --gantt-row-bg: #f0f7f7;
}

.gantt-table tbody tr.selected-row {
  --gantt-row-bg: #e6f2f2;
}

.gantt-table tbody td:nth-child(-n+4), .gantt-table thead tr:first-child th:nth-child(-n+4) {
  z-index: 4;
  position: sticky;
}

.gantt-table tbody td:nth-child(-n+4) {
  background: var(--gantt-row-bg);
}

.gantt-table tbody td:first-child, .gantt-table thead tr:first-child th:first-child {
  left: 0;
}

.gantt-table tbody td:nth-child(2), .gantt-table thead tr:first-child th:nth-child(2) {
  left: var(--gantt-wbs-width);
}

.gantt-table tbody td:nth-child(3), .gantt-table thead tr:first-child th:nth-child(3) {
  left: calc(var(--gantt-wbs-width) + 70px);
}

.gantt-table tbody td:nth-child(4), .gantt-table thead tr:first-child th:nth-child(4) {
  left: calc(var(--gantt-wbs-width) + 155px);
}

.timeline-month-label {
  left: calc(var(--gantt-fixed-width) + 6px);
  display: inline-block;
  position: sticky;
}

.workspace .gantt-table .timeline-month {
  text-align: left;
  height: 20px;
  padding: 0 8px;
  font-size: 10px;
}

.workspace .gantt-table .timeline-head {
  height: 32px;
  padding: 0;
}

.timeline-dates {
  height: 32px;
  position: relative;
}

.timeline-dates > span {
  text-align: center;
  border-left: 1px solid #dce1e5;
  flex-direction: column;
  justify-content: center;
  font-size: 10px;
  line-height: 1.4;
  display: flex;
  position: absolute;
  top: 0;
  bottom: 0;
}

.timeline-dates small {
  color: #78828b;
  font-size: 9px;
}

.timeline-dates .today {
  background: var(--accent);
  color: #fff;
}

.timeline-dates .today small {
  color: #ddf3f3;
}

.weekend {
  color: #89919b;
  background: #f2f4f6;
}

.wbs-name {
  align-items: center;
  gap: 4px;
  display: flex;
  overflow: hidden;
}

.wbs-name > small {
  color: #757d86;
  flex: none;
  font-size: 10px;
}

.workspace .tree-toggle {
  flex: none;
  padding: 0;
}

.tree-spacer {
  color: #8a929b;
  flex: none;
  place-items: center;
  width: 14px;
  display: grid;
}

.tree-status-slot {
  flex: none;
  justify-content: center;
  align-items: center;
  width: 10px;
  display: inline-flex;
}

.document-panel {
  border: 1px solid var(--line);
  background: #fff;
  min-height: 340px;
}

.operations-tabs {
  border-bottom: 1px solid #becbd7;
  gap: 0;
  margin: 8px 0 12px;
  display: flex;
}

.operations-tabs button {
  color: #667483;
  cursor: pointer;
  background: #f5f7f9;
  border: 0;
  border-bottom: 2px solid #0000;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  display: inline-flex;
}

.operations-tabs button.active {
  color: #294f77;
  background: #fff;
  border-bottom-color: #315d8b;
  font-weight: 600;
}

.operations-content > .page-heading h2 {
  margin: 0;
  font-size: 14px;
}

.code-grid {
  grid-template-columns: minmax(300px, 34%) minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  display: grid;
}

.code-panel {
  border: 1px solid var(--line);
  box-sizing: border-box;
  background: #edf2f7;
  min-width: 0;
  padding: 8px;
}

.code-panel header {
  border-bottom: 1px solid var(--line);
  box-sizing: border-box;
  background: #e1eaf3;
  border: 1px solid #c4d0dd;
  align-items: center;
  gap: 6px;
  width: 100%;
  height: 48px;
  padding: 8px;
  display: flex;
}

.code-panel header h2 {
  flex: 1;
  margin: 0;
  font-size: 12px;
}

.code-panel header > div {
  margin-right: auto;
}

.code-panel header h2 small {
  color: #6d7985;
  background: #eef2f5;
  padding: 1px 4px;
  font-size: 10px;
}

.code-panel header p {
  color: #74818b;
  margin: 4px 0 0;
  font-size: 10px;
}

.code-search-band {
  box-sizing: border-box;
  background: #e7edf4;
  border-left: 1px solid #c4d0dd;
  border-right: 1px solid #c4d0dd;
  width: 100%;
  padding: 8px;
}

.code-search {
  box-sizing: border-box;
  width: 100%;
  min-height: 28px;
  margin: 0;
}

.code-panel .table-scroll {
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #c4d0dd;
  width: 100%;
  min-height: 320px;
  max-height: 60dvh;
  overflow: auto;
}

.code-panel thead {
  z-index: 2;
  position: sticky;
  top: 0;
}

.code-panel .code-placeholder td {
  text-align: center;
  color: #788590;
  height: 282px;
}

.code-tree-name {
  align-items: center;
  gap: 5px;
  min-width: max-content;
  display: flex;
}

.workspace .code-tree-toggle {
  flex: none;
  width: 14px;
  padding: 0;
}

.code-tree-spacer {
  flex: none;
  width: 14px;
}

.code-folder {
  color: #69829c;
  flex: none;
}

.code-panel table {
  table-layout: auto;
}

.code-panel .selected-row, .code-panel .selected-row td {
  background: #e7eff8;
}

.code-select {
  text-align: left;
  color: #294669;
  cursor: pointer;
  background: none;
  border: 0;
  flex-direction: column;
  gap: 3px;
  padding: 0;
  display: flex;
}

.code-select span {
  color: #687685;
  font-size: 10px;
}

.code-row-actions {
  gap: 6px;
  display: flex;
}

.code-empty {
  color: #74818b;
  text-align: center;
  padding: 28px 12px;
}

.code-form {
  gap: 12px;
  display: grid;
}

.code-form label {
  color: #52606e;
  gap: 5px;
  display: grid;
}

.code-form-row {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  display: grid;
}

.code-form .error-banner {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .code-grid {
    grid-template-columns: 1fr;
  }

  .code-panel:last-child table {
    min-width: 650px;
  }
}

.document-panel.is-drop-target {
  outline: 2px dashed var(--accent);
  outline-offset: -3px;
  background: #f0f8f8;
}

.document-toolbar {
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 8px;
  padding: 6px;
  display: flex;
}

.document-toolbar .table-caption {
  margin-right: auto;
  padding: 0;
}

.document-search {
  border: 1px solid #bbcbd9;
  align-items: center;
  gap: 5px;
  padding: 0 6px;
  display: flex;
}

.document-search input {
  border: 0;
  width: 190px;
  min-height: 27px;
}

.document-toolbar select {
  width: 110px;
  min-height: 27px;
}

.document-upload-help {
  color: #727e8b;
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding: 7px;
  font-size: 10px;
}

.document-table-scroll {
  overflow-x: auto;
}

.document-table {
  table-layout: auto;
}

.document-table th:first-child {
  width: 42%;
}

.document-name {
  align-items: center;
  gap: 8px;
  min-width: 130px;
  display: flex;
}

.file-name-button {
  color: #263d4e;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

.file-name-button:hover {
  color: var(--accent);
  text-decoration: underline;
}

.file-type-icon {
  color: #778591;
  flex: none;
  display: inline-flex;
}

.file-type-pdf {
  color: #d64e54;
}

.file-type-word, .file-type-code {
  color: #3675b5;
}

.file-type-presentation {
  color: #ce7338;
}

.file-type-spreadsheet {
  color: #328057;
}

.file-type-image {
  color: #8165af;
}

.file-type-archive {
  color: #b39238;
}

.document-actions {
  gap: 6px;
  display: flex;
}

.document-actions .icon-button:disabled {
  opacity: .3;
  cursor: default;
}

.work-dialog:has(.file-preview-content) {
  width: min(1100px, 100vw - 28px);
}

.file-preview-content {
  min-height: 200px;
}

.file-image-preview {
  object-fit: contain;
  max-width: 100%;
  max-height: 65dvh;
  margin: 0 auto;
  display: block;
}

.file-text-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  background: #f6f8fa;
  max-height: 65dvh;
  margin: 0;
  padding: 14px;
  font: 12px / 1.7 Consolas, monospace;
  overflow: auto;
}

.preview-loading {
  color: #73818c;
  text-align: center;
  padding: 25px 8px;
}

.pdf-controls {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  display: flex;
}

.pdf-page {
  background: #e8ecef;
  min-height: 160px;
  max-height: 65dvh;
  padding: 10px;
  overflow: auto;
}

.pdf-page canvas {
  background: #fff;
  margin: auto;
  display: block;
  box-shadow: 0 1px 5px #0002;
}

@media (max-width: 760px) {
  .document-toolbar {
    flex-wrap: wrap;
  }

  .document-toolbar .table-caption {
    flex: 1 0 90%;
  }

  .document-search {
    flex: 1;
    min-width: 100px;
  }

  .document-search input {
    width: 100%;
  }

  .document-table {
    min-width: 650px;
  }

  .pdf-controls {
    gap: 5px;
  }

  .pdf-controls .button {
    padding: 4px;
  }
}

.workspace .gantt-table .schedule-group-separator td {
  background: #cbd5dc;
  border: 0;
  height: 4px;
  padding: 0;
  position: static;
}

.schedule-group-separator {
  pointer-events: none;
}

.task-status-light {
  border: 1px solid #0000001f;
  border-radius: 50%;
  flex: none;
  width: 10px;
  height: 10px;
  display: inline-block;
}

.task-status-planned {
  background: #94a3b8;
}

.task-status-active {
  background: #087f86;
}

.task-status-paused {
  background: #c99728;
}

.task-status-completed {
  background: #398449;
}

.task-name, .group-name {
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: none;
  border: 0;
  padding: 3px 0;
  font-size: 12px;
  overflow: hidden;
}

.group-name {
  font-weight: 700;
}

.compact-progress {
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  display: flex;
}

.compact-progress progress {
  flex: none;
  width: 23px;
}

.task-dates {
  text-align: center;
  font-size: 10px;
  display: block;
}

.workspace .gantt-table .timeline-cell {
  padding: 0;
}

.timeline-track {
  height: 28px;
  position: relative;
}

.timeline-grid {
  border-left: 1px solid #e2e6e9;
  position: absolute;
  top: 0;
  bottom: 0;
}

.timeline-grid.today {
  border-left: 2px solid var(--accent);
  z-index: 1;
  pointer-events: none;
}

.gantt-bar {
  cursor: pointer;
  z-index: 2;
  background: #a7d4d5;
  border: 0;
  border-radius: 1px;
  height: 7px;
  padding: 0;
  transition: filter .15s, transform .15s;
  position: absolute;
  top: 11px;
  overflow: visible;
}

.gantt-bar > span {
  background: var(--accent);
  border-radius: 1px;
  max-width: 100%;
  position: absolute;
  inset: 0 auto 0 0;
}

.gantt-bar:hover {
  filter: brightness(.96);
}

.gantt-bar.planned {
  background: #d0d7de;
}

.gantt-bar.planned > span {
  background: #8598a5;
}

.gantt-bar.delayed {
  background: #f1d9ae;
}

.gantt-bar.delayed > span {
  background: #d99d35;
}

.gantt-bar > small {
  color: #956213;
  font-size: 8px;
  line-height: 1.2;
  position: absolute;
  top: -10px;
  right: 2px;
}

.workspace tr.selected-row, .workspace tr.selected-row:hover {
  background: #e6f2f2;
}

.chart-help {
  border-top: 1px solid var(--border);
  color: #697680;
  padding: 4px 7px;
  font-size: 10px;
}

.work-detail-grid {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 0;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 6px;
  display: grid;
  overflow: hidden;
}

.work-detail-grid.single-detail {
  grid-template-columns: 1fr;
}

.progress-initial {
  --progress-color: #94a3b8;
  --progress-track: #e5e9ee;
}

.progress-low {
  --progress-color: #c99728;
  --progress-track: #f4e8c9;
}

.progress-medium {
  --progress-color: #328ac4;
  --progress-track: #d4e9f7;
}

.progress-high {
  --progress-color: #087f86;
  --progress-track: #c9e6e7;
}

.progress-complete {
  --progress-color: #398449;
  --progress-track: #d2e9d5;
}

.gantt-bar {
  background: var(--progress-track);
}

.gantt-bar > .gantt-fill {
  background: var(--progress-color);
  pointer-events: none;
}

.gantt-select {
  cursor: pointer;
  z-index: 2;
  background: none;
  border: 0;
  width: 100%;
  padding: 0;
  position: absolute;
  inset: -2px 0;
}

.gantt-select:hover {
  background: none;
}

.compact-progress progress {
  accent-color: var(--progress-color);
}

.compact-progress progress::-webkit-progress-value {
  background: var(--progress-color);
}

.compact-progress progress::-moz-progress-bar {
  background: var(--progress-color);
}

.gantt-handle {
  border: 1px solid var(--progress-color);
  opacity: 0;
  cursor: ew-resize;
  touch-action: none;
  z-index: 3;
  background: #fff;
  border-radius: 2px;
  width: 9px;
  height: 15px;
  padding: 0;
  transition: opacity .14s, transform .14s, background-color .14s;
  position: absolute;
  top: -4px;
  transform: scale(.7);
}

.handle-startDate {
  left: -3px;
}

.handle-endDate {
  right: -3px;
}

.gantt-handle.handle-progress {
  border-radius: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4px;
  top: -9px;
}

.gantt-bar:hover .gantt-handle, .gantt-bar:focus-within .gantt-handle, .gantt-bar.is-dragging .gantt-handle {
  opacity: 1;
  transform: scale(1);
}

.gantt-handle:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
}

.gantt-bar.is-saving {
  opacity: .6;
}

.gantt-bar > .gantt-delay {
  pointer-events: none;
  right: 12px;
}

.monthly-gantt .timeline-dates > span {
  border-left: 0;
  font-size: 9px;
  overflow: visible;
}

.monthly-gantt .timeline-dates b {
  white-space: nowrap;
  font-weight: 500;
}

.monthly-gantt .timeline-grid {
  border-left: 0;
}

.monthly-gantt .timeline-grid.today {
  border-left: 2px solid var(--accent);
}

.workspace .row-more {
  opacity: .3;
  flex: none;
  margin-left: auto;
  padding: 1px;
}

tr:hover .row-more, tr:focus-within .row-more {
  opacity: 1;
}

.defect-table td:nth-child(5) {
  padding-right: 27px;
  position: relative;
}

.defect-table .row-more {
  position: absolute;
  top: 4px;
  right: 3px;
}

.workspace tbody tr:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.work-dialog {
  width: min(780px, 100vw - 28px);
  max-width: none;
  max-height: min(760px, 100dvh - 40px);
  color: var(--ink);
  background: #fff;
  border: 1px solid #bcc8ce;
  border-radius: 5px;
  margin: auto;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 18px 70px #152b3f40;
}

.work-dialog[open] {
  flex-direction: column;
  animation: .18s ease-out work-dialog-in;
  display: flex;
}

.work-dialog.work-dialog-small {
  width: min(440px, 100vw - 28px);
}

.work-dialog::backdrop {
  background: #16293870;
  animation: .18s ease-out work-backdrop-in;
}

.work-dialog[open].is-closing {
  pointer-events: none;
  animation: .16s ease-in forwards work-dialog-out;
}

.work-dialog.is-closing::backdrop {
  animation: .16s ease-in forwards work-backdrop-out;
}

.work-dialog-header, .work-dialog-footer {
  background: #f5f7f8;
  flex: none;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  display: flex;
}

.work-dialog-header {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
}

.work-dialog-header h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.work-dialog-footer {
  border-top: 1px solid var(--border);
  justify-content: flex-end;
}

.work-dialog-footer > .muted {
  margin-right: auto;
  font-size: 10px;
}

.work-dialog-body {
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  flex: auto;
  min-height: 0;
  padding: 14px;
  font-size: 12px;
  overflow-y: auto;
}

.work-dialog-body form, .work-dialog-body fieldset {
  margin: 0;
}

.work-dialog .work-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.work-dialog .work-form-grid label {
  gap: 4px;
  margin: 0;
  font-size: 12px;
}

.work-dialog .work-form-grid input, .work-dialog .work-form-grid select, .work-dialog .work-form-grid textarea {
  width: 100%;
  margin: 0;
  padding: 7px 8px;
  font-size: 12px;
}

.work-dialog-description {
  color: var(--muted);
  margin-bottom: 10px;
  font-size: 12px;
}

.work-dialog .work-history {
  border: 0;
  margin: 0;
  padding: 0;
}

.history-toolbar {
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 5px;
  display: flex;
}

.history-toolbar h2 {
  margin-right: auto;
}

.work-context-menu {
  z-index: 90;
  width: 190px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bfc9ce;
  border-radius: 4px;
  padding: 4px;
  animation: .12s ease-out panel-in;
  position: fixed;
  box-shadow: 0 6px 22px #152b3f26;
}

.context-item-name {
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  border-bottom: 1px solid #e2e7e9;
  margin-bottom: 3px;
  padding: 5px 7px 7px;
  font-size: 10px;
  overflow: hidden;
}

.work-context-menu button {
  text-align: left;
  background: none;
  border: 0;
  border-radius: 2px;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px;
  font-size: 12px;
  display: flex;
}

.work-context-menu button:hover, .work-context-menu button:focus-visible {
  background: #e7f2f2;
  outline: none;
}

.work-context-menu .danger-text {
  color: #b5483d;
}

@keyframes work-dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes work-dialog-out {
  to {
    opacity: 0;
    transform: translateY(8px) scale(.98);
  }
}

@keyframes work-backdrop-in {
  from {
    background: #16293800;
  }
}

@keyframes work-backdrop-out {
  to {
    background: #16293800;
  }
}

@media (max-width: 650px) {
  .work-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 20px);
  }

  .work-dialog-header, .work-dialog-footer {
    padding: 9px;
  }

  .work-dialog-body {
    padding: 10px;
  }

  .work-dialog-footer > .muted {
    display: none;
  }

  .work-dialog .work-form-grid {
    gap: 10px;
  }
}

@media (hover: none) {
  .gantt-handle {
    opacity: .85;
    transform: scale(1);
  }

  .workspace .row-more {
    opacity: 1;
  }
}

.work-detail, .work-history {
  background: #fff;
  min-width: 0;
  padding: 6px;
}

.work-detail-grid > section + section {
  border-left: 1px solid var(--border);
}

.detail-heading {
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  min-height: 25px;
  margin-bottom: 4px;
  display: flex;
}

.detail-heading h2, .work-history h2 {
  align-items: center;
  gap: 5px;
  font-size: 12px;
  display: flex;
}

.work-detail h3 {
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 600;
}

.work-detail dl {
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  font-size: 11px;
  display: grid;
}

.work-detail dl > div {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  min-width: 0;
  display: flex;
}

.work-detail dt {
  color: #5b626a;
  border-right: 1px solid var(--border);
  background: #f3f4f6;
  flex: none;
  width: 85px;
  padding: 4px 6px;
}

.work-detail dd {
  overflow-wrap: anywhere;
  min-width: 0;
  margin: 0;
  padding: 4px 6px;
}

.detail-description {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 1px solid var(--border);
  color: #525c65;
  margin-top: 5px;
  padding: 5px 6px;
  font-size: 11px;
  line-height: 1.6;
}

.work-history > h2 {
  border-bottom: 1px solid var(--border);
  margin: 0 0 3px;
  padding-bottom: 4px;
}

.work-history h2 .icon-button {
  margin-left: auto;
}

.work-history article {
  border-bottom: 1px solid #e8ebed;
  gap: 7px;
  padding: 5px 0;
  font-size: 11px;
  display: flex;
}

.work-history article > div {
  min-width: 0;
}

.work-history article small {
  color: #707b85;
  margin: 2px 0;
  font-size: 10px;
  display: block;
}

.work-history article p {
  color: #515e69;
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.6;
}

.work-history:not(.work-detail-grid .work-history) {
  border: 1px solid var(--border);
  margin-top: 6px;
}

.work-editor {
  border: 1px solid var(--border);
  background: #fff;
  margin-top: 6px;
  padding: 7px;
  scroll-margin: 6px;
}

.work-form-grid {
  border: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  display: grid;
}

.work-form-grid label {
  color: #515e68;
  flex-direction: column;
  gap: 3px;
  font-size: 11px;
  display: flex;
}

.workspace .work-form-grid input, .workspace .work-form-grid select, .workspace .work-form-grid textarea {
  padding: 5px 6px;
  font-size: 12px;
}

.span-two {
  grid-column: span 2;
}

.span-all {
  grid-column: 1 / -1;
}

.field-hint {
  color: var(--muted);
  font-size: 11px;
  font-weight: normal;
}

.task-color-field {
  color: #515e68;
  gap: 6px;
  font-size: 12px;
  display: grid;
}

.task-color-palette {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.task-color-swatch {
  width: 28px;
  height: 28px;
  box-shadow: 0 0 0 1px var(--border);
  border: 2px solid #fff;
  border-radius: 50%;
  padding: 0;
}

.task-color-swatch[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--ink);
}

.work-dialog .work-form-grid .task-color-custom {
  flex-direction: row;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
}

.work-dialog .work-form-grid .task-color-custom input {
  cursor: pointer;
  width: 34px;
  height: 28px;
  padding: 2px;
}

.project-stages {
  white-space: nowrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.project-stages li {
  border: 1px solid var(--border);
  min-width: 40px;
  color: var(--muted);
  text-align: center;
  background: #f5f6f7;
  padding: 5px 8px;
  font-size: 11px;
}

.project-stages .is-filled {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.project-stages .is-filled:not([aria-current="step"]) {
  opacity: .7;
}

.project-stages [aria-current="step"] {
  opacity: 1;
  color: #fff;
}

.project-overview .project-stages {
  margin-top: 5px;
}

.editor-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  display: flex;
}

.editor-actions > .muted {
  margin-right: auto;
  font-size: 10px;
}

.defect-filter-header {
  justify-content: space-between;
  align-items: center;
  height: 24px;
  font-size: 11px;
  display: flex;
}

.defect-filters {
  border: 1px solid var(--border);
  background: #f1f3f5;
  border-radius: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 5px 10px;
  margin-bottom: 5px;
  padding: 6px 8px;
  display: grid;
}

.defect-filters label:not(.search-field) {
  color: #565e66;
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  display: flex;
}

.defect-filters input, .defect-filters select {
  flex: 1;
  width: 0;
  height: 25px;
  padding: 2px 4px;
  font-size: 11px;
}

.defect-filters .search-field {
  background: #fff;
  width: auto;
  height: 25px;
  margin: 0;
}

.defect-filters .search-field input {
  flex: 1;
  width: 0;
}

.defect-filters > .button {
  justify-self: end;
  width: 74px;
}

.defect-table table {
  min-width: 1120px;
  font-size: 11px;
}

.defect-table th:first-child {
  width: 36px;
}

.defect-table td:first-child {
  text-align: center;
}

.defect-title {
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: none;
  border: 0;
  max-width: 240px;
  padding: 0;
  font-size: 11px;
  font-weight: 400;
  display: block;
  position: relative;
  overflow: hidden;
}

.severity {
  border-radius: 2px;
  align-items: center;
  gap: 3px;
  padding: 1px 4px;
  font-size: 10px;
  display: inline-flex;
}

.severity.critical {
  color: #a72e29;
  background: #ffe9e7;
}

.severity.high {
  color: #8f540f;
  background: #fff0da;
}

.severity.medium {
  color: #406b75;
  background: #e9f2f3;
}

.severity.low {
  color: #626f7b;
  background: #eef1f4;
}

.workspace .error-banner {
  border-radius: 2px;
  margin-bottom: 4px;
  padding: 5px 8px;
  font-size: 11px;
}

.toast-region {
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  left: max(12px, env(safe-area-inset-left, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  z-index: 120;
  pointer-events: none;
  justify-content: center;
  display: flex;
  position: fixed;
}

.work-toast {
  width: max-content;
  max-width: min(480px, 100%);
  color: var(--ink);
  pointer-events: auto;
  background: #fff;
  border: 1px solid #c7ddd9;
  border-radius: 8px;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  animation: .18s ease-out toast-in;
  display: flex;
  box-shadow: 0 8px 30px #203e4526;
}

.work-toast.is-closing {
  pointer-events: none;
  animation: .18s ease-in forwards toast-out;
}

.toast-symbol {
  color: var(--accent);
  flex: none;
  margin-top: 1px;
}

.toast-message {
  overflow-wrap: anywhere;
  min-width: 0;
}

.toast-dismiss {
  flex: none;
  margin: -2px -4px -2px 0;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(6px);
  }
}

.muted {
  color: var(--muted);
  font-size: 11px;
}

.main-content.view-schedule, .main-content.view-defects {
  flex-direction: column;
  height: calc(100dvh - 28px);
  min-height: 520px;
  display: flex;
}

.main-content.view-schedule > :not(.work-panels), .main-content.view-defects > :not(.work-panels) {
  flex-shrink: 0;
}

.work-panels {
  flex: 1;
  min-width: 0;
  min-height: 296px;
  display: grid;
  position: relative;
}

.work-panels-list, .work-panels-detail {
  min-width: 0;
  min-height: 0;
}

.work-panels-list > .gantt-panel, .work-panels-list > .defect-table {
  flex-direction: column;
  height: 100%;
  display: flex;
}

.work-panels-list .gantt-toolbar, .work-panels-list .table-caption, .work-panels-list .pagination, .work-panels-list .chart-help {
  flex-shrink: 0;
}

.work-panels-list .gantt-scroll, .work-panels-list .table-scroll {
  scrollbar-gutter: stable;
  flex: 1;
  min-height: 0;
  max-height: none;
}

.work-panels-detail {
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
  overflow: auto;
}

.work-panels-detail > .work-detail-grid, .work-panels-detail > .work-editor {
  margin-top: 0;
}

.work-panel-empty {
  border: 1px solid var(--border);
  height: 100%;
  color: var(--muted);
  padding: 14px 10px;
  font-size: 11px;
}

.work-resize-handle {
  cursor: row-resize;
  touch-action: none;
  outline-offset: -2px;
  background: #fff;
  place-items: center;
  height: 10px;
  transition: background-color .18s;
  display: grid;
  position: relative;
}

.work-resize-handle:before {
  content: "";
  background: #c5d1d4;
  height: 1px;
  transition: background-color .18s, box-shadow .18s;
  position: absolute;
  inset: 50% 0 auto;
}

.resize-grip {
  background: #fff;
  border-top: 1px solid #8d9ea3;
  border-bottom: 1px solid #8d9ea3;
  width: 30px;
  height: 4px;
  transition: width .18s, border-color .18s;
  position: relative;
}

.work-resize-handle:hover, .work-resize-handle:focus-visible, .work-panels[data-resizing="true"] .work-resize-handle {
  background: #edf8f8;
}

.work-resize-handle:hover:before, .work-resize-handle:focus-visible:before, .work-panels[data-resizing="true"] .work-resize-handle:before {
  background: var(--accent);
  box-shadow: 0 0 0 1px #087f8635;
}

.work-resize-handle:focus-visible {
  outline: 1px solid var(--accent);
}

.work-resize-handle:hover .resize-grip, .work-resize-handle:focus-visible .resize-grip, .work-panels[data-resizing="true"] .resize-grip {
  border-color: var(--accent);
  width: 44px;
}

.work-panels[data-resizing="true"] {
  -webkit-user-select: none;
  user-select: none;
}

.rotated {
  transform: rotate(-90deg);
}

@keyframes tab-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes page-in {
  from {
    opacity: .5;
  }

  to {
    opacity: 1;
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(3px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .work-heading {
    flex-wrap: wrap;
  }

  .heading-actions {
    justify-content: flex-start;
  }

  .defect-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-detail dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .main-content.view-schedule, .main-content.view-defects {
    height: calc(100dvh - 67px);
    min-height: 640px;
  }

  .work-resize-handle {
    height: 16px;
  }

  .icon-rail, .sidebar-collapsed .icon-rail, .sidebar-toggle {
    display: none;
  }

  .sidebar, .sidebar-collapsed .sidebar {
    visibility: visible;
    width: 220px;
    left: 0;
    transform: translateX(-100%);
  }

  .sidebar.is-open, .sidebar-collapsed .sidebar.is-open {
    transform: none;
  }

  .workspace-body, .sidebar-collapsed .workspace-body {
    margin-left: 0;
  }

  .topbar {
    height: 38px;
    padding: 0 8px 0 42px;
    font-size: 10px;
    display: flex;
  }

  .topbar-note {
    display: none;
  }

  .breadcrumb-slash {
    margin: 0 5px;
  }

  .mobile-menu {
    top: 5px;
    left: 5px;
  }

  .workspace-tabs {
    height: 29px;
  }

  .workspace-tabbar {
    min-height: 30px;
  }

  .workspace-tab > button {
    height: 28px;
  }

  .main-content {
    padding: 4px;
  }

  .page-heading {
    gap: 4px;
    margin-bottom: 4px;
  }

  .page-heading h1 {
    font-size: 16px;
  }

  .heading-actions {
    gap: 4px;
    width: 100%;
  }

  .heading-actions .search-field {
    flex: 1;
    width: 140px;
  }

  .workspace .button {
    min-height: 30px;
  }

  .schedule-summary {
    gap: 4px 12px;
    padding: 5px 6px;
  }

  .summary-counts {
    width: 100%;
    margin-left: 0;
  }

  .gantt-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    padding: 5px;
  }

  .gantt-toolbar-navigation {
    grid-area: 2 / 1 / auto / -1;
  }

  .gantt-toolbar-actions {
    grid-area: 1 / 2;
  }

  .gantt-scroll {
    --gantt-fixed-width: 180px;
    --gantt-wbs-width: 180px;
    max-height: 65dvh;
  }

  .gantt-table col:nth-child(n+2):nth-child(-n+4), .gantt-table tbody td:nth-child(n+2):nth-child(-n+4), .gantt-table thead tr:first-child th:nth-child(n+2):nth-child(-n+4) {
    display: none;
  }

  .workspace .gantt-table th, .workspace .gantt-table td {
    height: 34px;
  }

  .timeline-track {
    height: 33px;
  }

  .gantt-bar {
    top: 13px;
  }

  .chart-legend {
    margin-left: 3px;
  }

  .work-detail-grid {
    grid-template-columns: 1fr;
  }

  .work-detail-grid > section + section {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .work-detail, .work-history, .work-editor {
    padding: 6px;
  }

  .work-detail dl {
    grid-template-columns: 1fr;
  }

  .work-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .defect-filters {
    gap: 5px;
    padding: 5px;
  }

  .defect-filters label:not(.search-field) {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .defect-filters input, .defect-filters select {
    flex: none;
    width: 100%;
    height: 28px;
  }

  .defect-filters > .search-field {
    grid-column: 1 / -1;
    height: 28px;
  }

  .project-overview {
    grid-template-columns: 1fr 1fr;
  }

  .project-overview > div {
    min-height: 65px;
    padding: 7px 10px;
  }

  .project-overview > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .project-overview > div:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .project-overview strong {
    font-size: 18px;
  }

  .filter-bar {
    flex-wrap: wrap;
  }

  .filter-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .search-field {
    width: 100%;
  }

  .skip-link, .sidebar-collapsed .skip-link {
    left: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.work-dialog.file-preview-dialog[open] {
  box-sizing: border-box;
  width: calc(100dvw - 100px);
  max-width: none;
  height: calc(100dvh - 100px);
  max-height: none;
  margin: 0;
  position: fixed;
  inset: 50px;
}

.file-preview-dialog .work-dialog-body {
  padding: 8px;
  display: flex;
  overflow: hidden;
}

.file-preview-dialog .work-dialog-header {
  min-height: 42px;
  padding: 6px 10px;
}

.file-preview-dialog .work-dialog-header h2 {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.file-preview-dialog .file-preview-content {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: auto;
}

.file-preview-dialog .file-image-preview {
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
}

.file-preview-dialog .file-text-preview {
  min-height: 100%;
  max-height: none;
  margin: 0;
}

.office-preview {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.presentation-preview {
  background: #e7ecf1;
  grid-template-columns: 170px minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  display: grid;
}

.slide-list {
  border-right: 1px solid #c3cdd8;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  display: flex;
  overflow: auto;
}

.slide-list > button {
  text-align: center;
  cursor: pointer;
  background: #fff;
  border: 2px solid #0000;
  flex: none;
  padding: 5px;
}

.slide-list > button[aria-current] {
  border-color: var(--accent);
}

.slide-thumb {
  pointer-events: none;
  width: 140px;
  min-height: 80px;
  overflow: hidden;
}

.slide-stage {
  min-width: 0;
  min-height: 0;
  padding: 14px;
  overflow: auto;
}

.slide-surface {
  width: 100%;
  min-height: 100%;
}

.legacy-slide-stage {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: flex;
}

.legacy-slide-canvas {
  object-fit: contain;
  max-width: 100%;
}

.legacy-slide-label {
  place-items: center;
  min-height: 60px;
  font-size: 12px;
  display: grid;
}

.spreadsheet-preview {
  color: #202124;
  background: #fff;
  flex-direction: column;
  height: 100%;
  display: flex;
}

.spreadsheet-formula {
  border-bottom: 1px solid #c8d4cf;
  align-items: center;
  gap: 12px;
  padding: 5px;
  display: flex;
}

.spreadsheet-formula input {
  width: 95px;
  padding: 4px;
  font-size: 12px;
}

.spreadsheet-formula > span:nth-child(2) {
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
  overflow: hidden;
}

.spreadsheet-viewport {
  -webkit-user-select: none;
  user-select: none;
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: auto;
}

.file-preview-dialog .spreadsheet-viewport table {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  width: max-content;
  min-width: 100%;
  font-family: Aptos, Segoe UI, sans-serif;
  font-size: 13px;
}

.file-preview-dialog .spreadsheet-viewport th {
  color: #53635b;
  background: #eef4f0;
  padding: 0;
  font-size: 12px;
  font-weight: normal;
}

.file-preview-dialog .spreadsheet-viewport th, .file-preview-dialog .spreadsheet-viewport td {
  white-space: pre;
  border-bottom: 1px solid #dbe2de;
  border-right: 1px solid #dbe2de;
  max-width: 1000px;
  height: 24px;
  padding: 2px 5px;
  overflow: hidden;
}

.spreadsheet-viewport thead th {
  z-index: 2;
  position: sticky;
  top: 0;
}

.spreadsheet-viewport tbody th {
  z-index: 1;
  position: sticky;
  left: 0;
}

.spreadsheet-viewport td[aria-selected="true"] {
  outline-offset: -1px;
  outline: 1px solid #23834a;
  background: #d5eadd !important;
}

.spreadsheet-tabs {
  background: #f2f6f3;
  border-top: 1px solid #c8d4cf;
  gap: 4px;
  padding: 5px;
  display: flex;
  overflow: auto;
}

.spreadsheet-tabs button {
  color: #4b5c53;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: 1px solid #0000;
  padding: 6px 12px;
}

.spreadsheet-tabs button[aria-selected="true"] {
  color: #146b37;
  background: #dfeee4;
  border-color: #a8c9b5;
}

.library-breadcrumb {
  border: 1px solid var(--border);
  background: #edf2f5;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 5px;
  padding: 8px;
  display: flex;
}

.library-breadcrumb button {
  color: var(--accent);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 3px 6px;
  font-size: 12px;
}

.library-breadcrumb button + button:before {
  content: "/";
  color: #8b99a4;
  margin-right: 10px;
}

.library-breadcrumb button[aria-current] {
  color: var(--ink);
  font-weight: 600;
}

.library-selection-area {
  -webkit-user-select: none;
  user-select: none;
  min-height: 330px;
  max-height: 65dvh;
  overflow: auto;
}

.document-table th:first-child, .document-table td:first-child {
  text-align: center;
  width: 32px;
}

.document-table tr.is-selected td {
  background: #ddf0ef;
}

.document-table tr.is-folder-drop td, .library-breadcrumb .is-folder-drop {
  outline: 1px solid var(--accent);
  background: #b9e0db;
}

.library-selection-rectangle {
  pointer-events: none;
  z-index: 15;
  border: 1px solid var(--accent);
  background: #008b8b24;
}

.library-folder-icon {
  color: #e4d6ac;
  flex: none;
}

.library-folder-icon path[opacity] {
  fill: #f2d277;
  opacity: .65;
}

.folder-name-field {
  gap: 6px;
  display: grid;
}

.move-folders {
  gap: 4px;
  min-height: 100px;
  max-height: 40dvh;
  display: grid;
  overflow: auto;
}

@media (max-width: 600px) {
  .presentation-preview {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .slide-list {
    padding: 3px;
  }

  .slide-thumb {
    width: 50px;
    min-height: 30px;
  }

  .slide-stage {
    padding: 4px;
  }

  .file-preview-dialog .work-dialog-footer {
    flex-wrap: wrap;
    padding: 5px;
  }
}

.spreadsheet-viewport .htCenter {
  text-align: center;
}

.spreadsheet-viewport .htRight {
  text-align: right;
}

.spreadsheet-viewport .htLeft {
  text-align: left;
}

.spreadsheet-viewport .htMiddle {
  vertical-align: middle;
}

.spreadsheet-viewport .htTop {
  vertical-align: top;
}

.spreadsheet-viewport .htBottom {
  vertical-align: bottom;
}

.spreadsheet-viewport .htWrap {
  overflow-wrap: anywhere;
  white-space: pre-wrap !important;
}

.task-color-none {
  background: #fff;
  box-shadow: 0 0 0 1px #a6b4bf;
}

.deliverable-summary {
  color: #5d6d78;
  white-space: nowrap;
  font-size: 11px;
}

.deliverable-summary strong {
  color: var(--accent);
}

.deliverable-stages {
  grid-template-columns: repeat(7, minmax(130px, 1fr));
  gap: 5px;
  margin: 8px 0;
  display: grid;
  overflow: auto;
}

.deliverable-stages > button {
  color: #596b77;
  text-align: left;
  cursor: pointer;
  background: #edf2f5;
  border: 1px solid #ced8df;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  display: flex;
}

.deliverable-stages > button[aria-selected="true"] {
  border-color: var(--accent);
  color: #11656c;
  background: #e3f1ef;
}

.stage-number {
  border: 1px solid #b4c2cc;
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 11px;
  display: grid;
}

.deliverable-stages > button[aria-selected="true"] .stage-number {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.deliverable-stages strong {
  white-space: nowrap;
  font-size: 12px;
  display: block;
}

.deliverable-stages small {
  color: #778996;
  white-space: nowrap;
  margin-top: 4px;
  font-size: 10px;
  display: block;
}

.deliverable-panel {
  background: #fff;
  border: 1px solid #ccd8df;
  min-width: 0;
}

.deliverable-panel > header {
  background: #eaf0f5;
  border-bottom: 1px solid #ccd8df;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  display: flex;
}

.deliverable-panel h2 {
  margin: 0 0 4px;
  font-size: 14px;
}

.deliverable-panel header p {
  color: #617582;
  margin: 0;
  font-size: 11px;
}

.deliverable-table {
  min-width: 950px;
}

.workspace .deliverable-table th:first-child {
  width: 20%;
}

.deliverable-table td:nth-child(2) {
  color: #677b89;
  width: 29%;
}

.deliverable-table td:nth-child(4) {
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 210px;
  overflow: hidden;
}

.deliverable-table .file-name-button {
  white-space: normal;
  text-align: left;
}

@media (max-width: 760px) {
  .deliverable-stages {
    grid-template-columns: repeat(7, 145px);
  }

  .deliverable-panel > header {
    padding: 8px;
  }

  .deliverable-panel header > .muted {
    display: none;
  }
}

.activity-toolbar {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  display: flex;
}

.activity-toolbar .table-caption {
  padding: 0;
}

.activity-toolbar .document-search {
  width: 360px;
  max-width: 65%;
}

.activity-day > h2 {
  background: #edf2f5;
  border-block: 1px solid #d6dfe5;
  margin: 0;
  padding: 5px 10px;
  font-size: 11px;
}

.history-list.compact-history-list {
  padding: 0;
}

.compact-history-list li {
  border-top: 0;
  border-bottom: 1px solid #edf1f5;
  grid-template-columns: 16px 38px minmax(0, 1fr) 65px;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 4px 10px;
  display: grid;
}

.compact-history-list .history-marker {
  width: 16px;
  height: 16px;
}

.activity-project, .activity-description {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-size: 11px;
  overflow: hidden;
}

.activity-description {
  color: var(--muted);
}

.compact-history-list time {
  text-align: right;
  padding: 0;
  font-size: 10px;
}

.activity-load-marker {
  min-height: 45px;
  color: var(--muted);
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 10px;
  font-size: 11px;
  display: flex;
}

@media (max-width: 700px) {
  .activity-toolbar {
    flex-wrap: wrap;
  }

  .activity-toolbar .document-search {
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
  }

  .compact-history-list li {
    grid-template-columns: 16px 38px minmax(0, 1fr) 65px;
    gap: 4px 6px;
  }

  .activity-description {
    grid-area: 2 / 2 / auto / -1;
  }

  .compact-history-list time {
    grid-area: 1 / 4;
    display: block;
  }
}

.activity-toolbar .document-search input {
  background: none;
  flex: 1;
  width: 100%;
  min-width: 0;
  padding-inline: 0;
}

.activity-toolbar .document-search:focus-within {
  border-color: var(--accent);
}

.activity-toolbar .document-search input:focus {
  box-shadow: none;
  border: 0;
  outline: none;
}

.compact-history-list time {
  position: static;
}

.activity-toolbar .document-search svg {
  flex-shrink: 0;
}

.file-preview-scaled {
  height: 100%;
  min-height: 0;
}

.preview-zoom-controls {
  align-items: center;
  gap: 4px;
  margin-right: auto;
  display: flex;
}

.preview-zoom-controls .button {
  min-width: 32px;
}

.file-preview-dialog .work-dialog-footer {
  flex-wrap: wrap;
}

.spreadsheet-formula {
  grid-template-columns: minmax(0, 1fr) auto;
}

.bulk-delete-file-list {
  max-height: 260px;
  padding-left: 20px;
  font-size: 12px;
  overflow: auto;
}

/*# sourceMappingURL=apps_web_src_app_0-l5-1lnuc8so._.css.map*/