@charset "UTF-8";
/* Authentication */
.auth-screen {
  min-height: 100vh;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: minmax(0, 440px);
  justify-content: center;
  align-content: center;
  gap: 26px;
  background: #f6f8fc;
}
.auth-brand {
  margin: 0 auto;
  padding: 0;
}
.local-account { display: flex; flex-direction: column; gap: 8px; padding: 20px 0 0; color: #354968; }
.local-account strong { font-size: 16px; font-weight: 600; }
.local-account span { color: #627692; font-size: 13px; }
.password-login { display: block; margin: 14px auto 0; font-size: 12px; }
.auth-card {
  background: white;
  border: 1px solid #e5ebf5;
  border-radius: 18px;
  padding: 35px 38px;
  box-shadow: 0 16px 65px #334c7a08;
}
.auth-tabs {
  display: flex;
  background: #f4f7fc;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 30px;
}
.auth-tabs button {
  flex: 1;
  padding: 11px 15px;
  font-size: 12px;
  color: #8192ad;
  border-radius: 6px;
}
.auth-tabs button.active {
  background: white;
  color: #3862e8;
  box-shadow: 0 2px 6px #334c7a09;
  font-weight: 600;
}
.auth-card h1 {
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: -0.6px;
  font-weight: 650;
  color: #354968;
}
.auth-subtitle {
  color: #96a3b7;
  font-size: 12px;
  line-height: 1.8;
  margin-top: 10px;
  margin-bottom: 25px;
}
.auth-field {
  display: flex;
  flex-direction: column;
  margin: 17px 0;
  gap: 8px;
}
.auth-field > label {
  font-size: 12px;
  font-weight: 550;
  color: #627692;
}
.auth-field input {
  border: 1px solid #dde5f1;
  background: #fcfdff;
  border-radius: 7px;
  min-height: 44px;
  padding: 11px 13px;
  width: 100%;
  color: #3f5473;
  outline: none;
}
.auth-field input:focus {
  border-color: #88a7f4;
  box-shadow: 0 0 0 3px #3862e80c;
}
.auth-field input::placeholder {
  color: #b1bdce;
  font-size: 12px;
}
.auth-field input[aria-invalid="true"] {
  border-color: #d79999;
}
.auth-field small {
  font-size: 10px;
  line-height: 1.7;
  color: #9aa9be;
}
.password-input {
  position: relative;
}
.password-input input {
  padding-right: 84px;
}
.password-input > button {
  position: absolute;
  right: 8px;
  top: 6px;
  height: 32px;
  padding: 5px;
  font-size: 10px;
  color: #8699bb;
  border-radius: 5px;
}
.password-input > button:hover {
  color: #3862e8;
  background: #f1f5ff;
}
.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #3862e8;
  color: white;
  border-radius: 8px;
  min-height: 45px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 550;
  transition: background 0.15s;
}
.primary-button:hover {
  background: #2e54cf;
}
.primary-button:disabled {
  opacity: 0.6;
}
.auth-submit {
  width: 100%;
  margin-top: 26px;
}
.auth-submit .icon {
  width: 17px;
  height: 17px;
}
.auth-switch {
  margin-top: 24px;
  text-align: center;
  font-size: 11px;
  color: #99a6bb;
  line-height: 1.9;
}
.auth-switch > button {
  color: #6588d9;
  font-size: 11px;
  padding: 4px;
}
.auth-error {
  font-size: 12px;
  line-height: 1.7;
  padding: 12px;
  background: #fff4f3;
  color: #b96d70;
  border: 1px solid #f5e0df;
  border-radius: 7px;
  margin-bottom: 17px;
}
.hidden {
  display: none !important;
}
.field-error {
  color: #b96d70;
  font-size: 10px;
  line-height: 1.7;
}
.field-error:empty {
  display: none;
}
.logout-button {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: #8c9cb4;
  padding: 5px 8px 20px;
}
.logout-button:hover {
  color: #3862e8;
}
.logout-button .icon {
  width: 15px;
  height: 15px;
}
.session-message {
  color: #b96d70;
  font-size: 10px;
  line-height: 1.7;
  padding: 0 8px 10px;
}
.profile > span:last-child {
  min-width: 0;
}
.profile strong {
  overflow-wrap: anywhere;
}
.profile small {
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .auth-card {
    padding: 28px;
  }
}
@media (max-width: 720px) {
  .auth-screen {
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    gap: 28px;
    justify-content: center;
  }
  .auth-card {
    width: 100%;
    max-width: 420px;
    padding: 27px 25px;
  }
  .auth-card h1 {
    font-size: 23px;
  }
}
:root {
  font-family:
    "Segoe UI",
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    Arial,
    sans-serif;
  color: #202a41;
  background: #f5f7fb;
  font-synthesis: none;
  font-size: 14px;
  --blue: #3862e8;
  --line: #e9edf4;
  --muted: #8892a5;
  --ink: #202a41;
  --sidebar: 234px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #8ba7ff;
  outline-offset: 3px;
}
button {
  border: 0;
  background: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button .icon {
  flex-shrink: 0;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 30;
  padding: 12px;
  background: white;
  box-shadow: 0 2px 12px #0002;
}
.skip-link:focus {
  top: 12px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 31px 18px 0;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  width: max-content;
}
.brand > span {
  font-size: 26px;
  letter-spacing: 1.1px;
  font-weight: 750;
  line-height: 1.12;
}
.brand small {
  display: block;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 1.5px;
  color: #8d97aa;
  margin-top: 7px;
}
.workspace-label {
  font-size: 9px;
  color: #9aa3b4;
  letter-spacing: 1.4px;
  font-weight: 650;
  margin: 42px 13px 15px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  padding: 13px 13px;
  color: #7c879b;
  font-size: 13px;
  font-weight: 550;
  min-height: 46px;
  transition:
    background 0.16s,
    color 0.16s;
}
.nav-link .icon {
  width: 19px;
  height: 19px;
}
.nav-link:hover {
  color: var(--blue);
  background: #f6f8fe;
}
.nav-link.active {
  color: var(--blue);
  background: #edf2ff;
  font-weight: 650;
}
.nav-count {
  margin-left: auto;
  background: #f0f2f6;
  color: #8a94a7;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 5px;
}
.sidebar-bottom {
  margin-top: auto;
}
.demo-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 14px 24px;
  font-size: 12px;
  color: #6d798f;
}
.demo-dot {
  background: #5cba98;
  border: 3px solid #e2f5ed;
  border-radius: 50%;
  width: 11px;
  height: 11px;
  margin-top: 2px;
}
.demo-note small {
  display: block;
  font-size: 10px;
  color: #a0a9b9;
  margin-top: 5px;
}
.profile {
  border-top: 1px solid var(--line);
  padding: 23px 7px;
  display: flex;
  gap: 11px;
  align-items: center;
}
.profile strong {
  font-size: 12px;
  font-weight: 650;
  display: block;
}
.profile small {
  font-size: 10px;
  color: #8b95a8;
  display: block;
  margin-top: 5px;
}
.avatar {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #f1edf9;
  color: #8c73ad;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 650;
  flex-shrink: 0;
}
.blue-avatar {
  background: #eaf0ff;
  color: #6181ce;
  width: 36px;
  height: 36px;
}
.avatar.tiny {
  width: 24px;
  height: 24px;
  font-size: 9px;
}
.workspace {
  margin-left: var(--sidebar);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 77px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 34px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #a0a8b7;
  font-size: 11px;
  white-space: nowrap;
}
.breadcrumb .icon {
  width: 12px;
  height: 12px;
  color: #b8c0cd;
}
.breadcrumb span {
  color: #68738a;
}
.global-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f6f8fb;
  border: 1px solid #f0f2f7;
  border-radius: 8px;
  padding: 9px 12px;
  color: #97a1b3;
  width: 333px;
}
.global-search .icon {
  width: 17px;
  height: 17px;
}
.global-search:focus-within {
  border-color: #b3c4ff;
  background: #fff;
}
.global-search input {
  background: none;
  border: 0;
  outline: 0 !important;
  min-width: 0;
  width: 100%;
  font-size: 11px;
  color: #3d4960;
}
.global-search input::placeholder {
  color: #9ba4b5;
}
.global-search kbd {
  border: 1px solid #e6eaf1;
  padding: 2px 4px;
  border-radius: 3px;
  font:
    9px "Segoe UI",
    sans-serif;
  white-space: nowrap;
  background: #fff;
  color: #a2aaba;
}
.icon-button {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #94a0b4;
  flex-shrink: 0;
}
.icon-button:hover {
  background: #eef2fb;
  color: var(--blue);
}
.mobile-menu {
  display: none;
}
main {
  padding: 32px 34px 22px;
  outline: 0;
  max-width: 1780px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 25px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.25px;
  font-weight: 650;
  color: #9ba5b7;
  display: block;
}
.page-heading h1 {
  font-size: 28px;
  letter-spacing: -0.8px;
  line-height: 1.3;
  font-weight: 650;
  margin-top: 10px;
}
.page-heading p {
  font-size: 12px;
  color: #929caf;
  margin-top: 9px;
}
.secondary-button {
  border: 1px solid #dfe5ef;
  border-radius: 7px;
  background: #fff;
  min-height: 35px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  font-size: 11px;
  font-weight: 550;
  color: #6f7d93;
  transition:
    border 0.16s,
    background 0.16s;
}
.secondary-button .icon {
  width: 15px;
  height: 15px;
}
.secondary-button:hover {
  background: #f4f7ff;
  border-color: #b7c8fb;
  color: var(--blue);
}
.welcome-banner {
  background: #edf2ff;
  border: 1px solid #e2e9fe;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  margin-bottom: 23px;
}
.banner-symbol {
  background: #fff9;
  color: #6588ed;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}
.banner-symbol .icon {
  width: 21px;
  height: 21px;
}
.welcome-banner strong {
  font-size: 12px;
  font-weight: 600;
  color: #526890;
}
.welcome-banner p {
  font-size: 10px;
  margin-top: 5px;
  color: #8a9bbf;
}
.welcome-banner .text-button {
  margin-left: auto;
  font-size: 10px;
  color: #6986d6;
  white-space: nowrap;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px;
  font-size: 11px;
  color: #8d98ad;
  border-radius: 5px;
  min-height: 30px;
}
.text-button:hover,
.text-button.pressed {
  color: var(--blue);
  background: #f1f5ff;
}
.text-button .icon {
  width: 15px;
  height: 15px;
}
.summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 28px;
}
.stat-card {
  position: relative;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 19px;
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 13px;
  align-items: center;
  transition:
    transform 0.16s,
    border 0.16s;
}
.stat-card:hover {
  border-color: #bdcdfb;
  transform: translateY(-2px);
}
.stat-icon {
  height: 38px;
  width: 38px;
  border-radius: 10px;
  grid-row: span 2;
  display: grid;
  place-items: center;
}
.stat-icon .icon {
  width: 20px;
  height: 20px;
}
.stat-icon.blue {
  background: #edf2ff;
  color: #7090eb;
}
.stat-icon.amber {
  background: #fff6e9;
  color: #dfb165;
}
.stat-icon.violet {
  background: #f1ecfc;
  color: #aa8be0;
}
.stat-icon.green {
  background: #eaf7f1;
  color: #6bb795;
}
.stat-number {
  font-size: 25px;
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: -1px;
}
.stat-label {
  font-size: 11px;
  color: #8590a3;
  margin-top: 5px;
}
.stat-card small {
  font-size: 9px;
  color: #a2aaba;
  grid-column: span 2;
  margin-top: 17px;
}
.stat-arrow {
  position: absolute;
  right: 17px;
  bottom: 18px;
  width: 13px;
  height: 13px;
  color: #c0c8d6;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 337px;
  gap: 20px;
  align-items: start;
}
.list-panel,
.board-panel,
.detail-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}
.panel-top {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 20px;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.heading-marker {
  width: 3px;
  height: 15px;
  background: #5277eb;
  border-radius: 4px;
}
.section-heading h2 {
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.panel-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.panel-actions .icon-button {
  width: 27px;
  height: 27px;
}
.panel-actions .icon {
  width: 15px;
  height: 15px;
}
.panel-actions > .text-button {
  font-size: 10px;
}
.filter-tabs {
  display: flex;
  gap: 20px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  overflow: auto;
}
.filter-tabs button {
  padding: 6px 0 15px;
  position: relative;
  font-size: 10px;
  color: #9ca5b5;
  white-space: nowrap;
}
.filter-tabs button.active {
  color: var(--blue);
  font-weight: 650;
}
.filter-tabs button.active:after {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--blue);
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 2px;
}
.filter-tabs button:hover {
  color: var(--blue);
}
.item-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 19px;
  width: 100%;
  text-align: left;
  border-bottom: 1px solid #f0f3f8;
  transition: background 0.14s;
  position: relative;
  min-height: 94px;
}
.item-row:hover {
  background: #f8faff;
}
.item-row.selected {
  background: #f2f6ff;
}
.item-row.selected:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #6282ec;
}
.item-icon {
  width: 33px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #e7edf9;
  background: #f7f9fe;
  color: #91a8d6;
  border-radius: 6px;
  flex-shrink: 0;
}
.item-icon .icon {
  width: 18px;
  height: 18px;
}
.item-icon.lavender {
  background: #f5f1fc;
  border-color: #eee8f8;
  color: #aa94ce;
}
.item-icon.teal {
  background: #edf7f6;
  border-color: #e0eeeb;
  color: #7baea5;
}
.item-content {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.item-title {
  font-size: 11px;
  line-height: 1.65;
  font-weight: 550;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #536078;
}
.item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  line-height: 1.5;
  color: #a1aabd;
  margin-top: 7px;
}
.item-meta > span:not(.priority) {
  color: #c0c8d4;
}
.item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 84px;
  margin-left: 4px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 9px;
  line-height: 1.2;
  white-space: nowrap;
  font-weight: 550;
}
.badge > span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.badge.green {
  background: #edf8f2;
  color: #73ad94;
}
.badge.blue {
  background: #edf3ff;
  color: #7294e4;
}
.badge.amber {
  background: #fff7eb;
  color: #c9a364;
}
.badge.gray {
  background: #f1f3f6;
  color: #a0a8b6;
}
.item-due {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #a0aabd;
  white-space: nowrap;
}
.item-due .icon {
  height: 11px;
  width: 11px;
}
.row-chevron {
  width: 12px;
  height: 12px;
  color: #bfc8d9;
}
.priority {
  color: #d2a868;
  font-size: 9px;
}
.overdue {
  color: #d47b7b !important;
}
.list-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 15px 20px;
  font-size: 9px;
  color: #a9b1c0;
  background: #fdfdff;
}
.items {
  max-height: 635px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #e0e6f1 transparent;
}
.segmented {
  display: flex;
  padding: 3px;
  background: #f5f7fb;
  border: 1px solid #edf0f6;
  border-radius: 7px;
  gap: 2px;
}
.segmented button {
  padding: 7px 10px;
  font-size: 10px;
  color: #929db0;
  border-radius: 4px;
  white-space: nowrap;
}
.segmented button.selected {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 1px 4px #15234d0a;
}
.segmented span {
  margin-left: 6px;
  font-size: 9px;
  opacity: 0.65;
}
.no-value {
  font-size: 10px;
  color: #b3bac6;
}
.pressed {
  color: var(--blue);
  background: #eef3ff;
}
.search-caption {
  color: #8b97ad;
  margin: -6px 0 20px;
  font-size: 12px;
}
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: #9ba5b9;
}
.empty-state > .icon {
  width: 35px;
  height: 35px;
  color: #b6c4df;
  margin-bottom: 15px;
}
.empty-state h3 {
  font-size: 15px;
  font-weight: 550;
  color: #71809a;
}
.empty-state p {
  font-size: 11px;
  margin: 10px 0 20px;
  line-height: 1.6;
}
.detail-panel {
  position: sticky;
  top: 20px;
}
.detail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 17px;
  border-bottom: 1px solid var(--line);
  min-height: 58px;
}
.detail-toolbar > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a0a9b9;
  font-size: 10px;
}
.detail-toolbar > span > .icon {
  width: 14px;
  height: 14px;
}
.detail-toolbar .icon-button {
  width: 25px;
  height: 25px;
}
.detail-toolbar .icon-button .icon {
  width: 15px;
  height: 15px;
}
.detail-body {
  padding: 22px 21px 0;
  max-height: 740px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #e0e6f1 transparent;
}
.detail-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}
.detail-body > h2 {
  font-size: 15px;
  line-height: 1.7;
  font-weight: 600;
  letter-spacing: -0.1px;
  color: #43516b;
}
.detail-description {
  color: #9aa4b6;
  font-size: 10px;
  line-height: 1.9;
  margin-top: 12px;
}
.detail-fields {
  margin: 22px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.detail-field {
  display: grid;
  grid-template-columns: 91px minmax(0, 1fr);
  gap: 7px;
  align-items: baseline;
  font-size: 10px;
  line-height: 1.7;
}
.detail-field dt {
  color: #a2abbc;
}
.detail-field dd {
  margin: 0;
  color: #7f8ba2;
  overflow-wrap: anywhere;
}
.inline-link {
  display: inline-flex;
  align-items: center;
  text-align: left;
  gap: 6px;
  padding: 0;
  font-size: 10px;
  line-height: 1.7;
  color: #7390d9;
  max-width: 100%;
}
.inline-link:hover {
  color: var(--blue);
  text-decoration: underline;
}
.inline-link > .avatar {
  align-self: start;
}
.inline-link .icon {
  width: 12px;
  height: 12px;
}
.detail-field dd .inline-link + .inline-link {
  margin-top: 5px;
}
.detail-section {
  border-top: 1px solid var(--line);
  padding: 19px 0 15px;
}
.detail-section h3 {
  font-size: 10px;
  font-weight: 600;
  color: #8490a6;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.detail-section h3 > span {
  font-size: 9px;
  color: #a3aec2;
  background: #f5f7fc;
  padding: 2px 5px;
  border-radius: 4px;
}
.relation {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 9px;
  border: 1px solid #ebeff7;
  border-radius: 7px;
  text-align: left;
  margin-bottom: 7px;
  background: #fcfdff;
  transition:
    background 0.15s,
    border 0.15s;
}
.relation:hover {
  background: #f2f6ff;
  border-color: #cfdbfa;
}
.small-file {
  display: grid;
  place-items: center;
  width: 27px;
  min-width: 27px;
  height: 32px;
  color: #9bb0dc;
  background: #f1f5fd;
  border: 1px solid #e5ebf8;
  border-radius: 4px;
}
.small-file.teal {
  color: #81aca4;
  background: #eff8f6;
  border-color: #e2efeb;
}
.small-file .icon {
  width: 15px;
  height: 15px;
}
.relation > span:nth-child(2) {
  min-width: 0;
}
.relation strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
  color: #7f8ca7;
  overflow-wrap: anywhere;
}
.relation small {
  display: block;
  font-size: 8px;
  color: #a8b1c1;
  line-height: 1.6;
  margin-top: 4px;
}
.relation > .icon {
  width: 11px;
  height: 11px;
  color: #b9c3d5;
  margin-left: auto;
  flex-shrink: 0;
}
.subtle-note {
  font-size: 9px;
  line-height: 1.9;
  color: #a4adbc;
  margin: 10px 0;
}
.detail-origin {
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding: 15px 0;
  font-size: 9px;
  color: #b3bbca;
}
.detail-origin .icon {
  width: 13px;
  height: 13px;
}
.empty-detail {
  text-align: center;
  padding: 65px 25px;
  color: #a1acc0;
}
.empty-detail > .icon {
  width: 35px;
  height: 35px;
  margin-bottom: 15px;
  color: #c0cce0;
}
.empty-detail h3 {
  font-size: 13px;
  font-weight: 550;
  color: #8593ac;
}
.empty-detail p {
  font-size: 11px;
  line-height: 1.8;
  margin-top: 10px;
}
.tdms-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #dfeeea;
  background: #f5faf8;
  border-radius: 7px;
  padding: 13px;
  margin-bottom: 15px;
  color: #82a79d;
}
.tdms-notice > .icon {
  width: 16px;
  height: 16px;
}
.tdms-notice strong {
  font-size: 10px;
  font-weight: 550;
}
.tdms-notice p {
  font-size: 9px;
  line-height: 1.8;
  margin-top: 7px;
  color: #95aea7;
}
.uri-text {
  display: block;
  font-size: 9px;
  overflow-wrap: anywhere;
  margin-top: 7px;
  color: #89a99e;
}
.member {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
}
.member strong {
  font-size: 10px;
  color: #8090a8;
  font-weight: 550;
}
.member small {
  display: block;
  font-size: 9px;
  color: #a6b0c1;
  margin-top: 4px;
}
.decision {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 13px;
}
.decision-check {
  background: #edf8f2;
  color: #8ab6a1;
  padding: 6px;
  border-radius: 50%;
}
.decision-check .icon {
  width: 15px;
  height: 15px;
}
.decision strong {
  font-size: 11px;
  display: block;
  color: #80968c;
  font-weight: 550;
}
.decision small {
  font-size: 10px;
  display: block;
  color: #a7b1c0;
  margin: 6px 0;
}
.workspace-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 34px 22px;
  font-size: 9px;
  color: #b4bdcd;
}
.workspace-footer > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.connection-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a4cdb8;
}
.board-layout {
  grid-template-columns: minmax(0, 1fr) 310px;
}
.kanban {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 16px 20px;
}
.kanban-column {
  background: #f7f9fc;
  border-radius: 7px;
  padding: 11px 9px;
  min-height: 310px;
}
.kanban-column h3 {
  font-size: 10px;
  font-weight: 550;
  color: #8290a8;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.count {
  margin-left: auto;
  font-size: 9px;
  color: #aab3c3;
}
.column-dot {
  width: 6px;
  height: 6px;
  background: #e6bf7a;
  border-radius: 50%;
}
.dot-1 {
  background: #8aa7ec;
}
.dot-2 {
  background: #9dc6b0;
}
.kanban-card {
  padding: 13px 10px;
  background: #fff;
  border: 1px solid #e8edf6;
  border-radius: 7px;
  text-align: left;
  width: 100%;
  box-shadow: 0 2px 4px #1c3d7003;
  margin-bottom: 8px;
  transition: border 0.15s;
}
.kanban-card:hover,
.kanban-card.selected {
  border-color: #a9bff7;
}
.kanban-card > .eyebrow {
  font-size: 7px;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}
.kanban-card > strong {
  display: block;
  font-size: 10px;
  font-weight: 550;
  line-height: 1.8;
  color: #74829b;
}
.tdms-mini {
  font-size: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #8eada6;
  margin-top: 12px;
}
.tdms-mini .icon {
  width: 11px;
  height: 11px;
}
.kanban-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin-top: 18px;
}
.kanban-bottom > span:last-child {
  font-size: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #a4afc1;
}
.kanban-bottom .icon {
  width: 10px;
  height: 10px;
}
.empty-column {
  font-size: 9px;
  color: #b6becc;
  text-align: center;
  padding-top: 30px;
}
.board-panel .panel-top {
  flex-wrap: wrap;
}
.board-panel .filter-tabs {
  margin-bottom: 18px;
  gap: 13px;
}
.board-panel .filter-tabs button {
  font-size: 9px;
}
.boot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 30px;
  gap: 16px;
}
.boot h1 {
  font-size: 25px;
  font-weight: 650;
}
.boot p {
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
  color: #8d9ab0;
}
.boot a {
  margin-top: 10px;
}
.error-message {
  padding: 14px;
  background: #fff1ef;
  color: #b76c65;
  border-radius: 7px;
  margin-bottom: 20px;
  font-size: 12px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px;
  max-width: 460px;
  width: calc(100% - 32px);
  color: #62718a;
  box-shadow: 0 24px 80px #1a2d5433;
}
dialog::backdrop {
  background: #23345555;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 20px;
  margin: 20px 0 14px;
  color: #3c4e70;
}
dialog p {
  font-size: 12px;
  line-height: 1.9;
  margin-top: 12px;
}
dialog .muted {
  font-size: 10px;
}
.dialog-close {
  position: absolute;
  right: 13px;
  top: 13px;
  font-size: 23px;
}
@media (min-width: 1600px) {
  :root {
    --sidebar: 250px;
  }
  .topbar {
    padding-right: 44px;
    padding-left: 44px;
  }
  main {
    padding: 38px 44px;
  }
  .content-grid {
    grid-template-columns: minmax(0, 1fr) 375px;
  }
  .item-title {
    font-size: 12px;
  }
  .item-meta {
    font-size: 10px;
  }
  .item-row {
    min-height: 100px;
  }
  .detail-body > h2 {
    font-size: 16px;
  }
  .detail-field {
    font-size: 11px;
  }
  .detail-description {
    font-size: 11px;
  }
  .board-layout {
    grid-template-columns: minmax(0, 1fr) 350px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar: 208px;
  }
  .sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .topbar {
    padding: 0 24px;
    gap: 12px;
  }
  .breadcrumb {
    font-size: 10px;
    gap: 7px;
  }
  .global-search {
    width: 280px;
  }
  main {
    padding: 26px 24px;
  }
  .content-grid {
    grid-template-columns: minmax(0, 1fr) 302px;
    gap: 15px;
  }
  .summary {
    gap: 12px;
  }
  .stat-card {
    padding: 14px;
    column-gap: 9px;
    grid-template-columns: 32px 1fr;
  }
  .stat-icon {
    height: 32px;
    width: 32px;
  }
  .stat-number {
    font-size: 23px;
  }
  .stat-card small {
    font-size: 8px;
  }
  .stat-label {
    font-size: 10px;
  }
  .item-row {
    gap: 9px;
    padding: 16px 14px;
  }
  .item-title {
    font-size: 10px;
  }
  .item-meta {
    font-size: 8px;
  }
  .row-chevron {
    display: none;
  }
  .item-icon {
    width: 28px;
    height: 34px;
  }
  .badge {
    font-size: 8px;
  }
  .item-right {
    min-width: 73px;
  }
  .detail-body {
    padding: 18px 17px 0;
  }
  .detail-body > h2 {
    font-size: 14px;
  }
  .detail-field {
    grid-template-columns: 80px 1fr;
  }
  .panel-top {
    padding: 15px;
  }
  .filter-tabs {
    padding: 0 15px;
    gap: 17px;
  }
  .section-heading h2 {
    font-size: 12px;
  }
  .board-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .board-layout .detail-panel {
    position: static;
  }
  .kanban-column {
    min-height: 220px;
  }
  .kanban-card > strong {
    font-size: 12px;
  }
  .kanban-card {
    padding: 16px;
  }
}
@media (max-width: 980px) {
  :root {
    --sidebar: 188px;
  }
  .nav-link {
    padding: 12px 10px;
    font-size: 11px;
    gap: 9px;
  }
  .brand {
    padding-left: 9px;
  }
  .workspace-label {
    font-size: 8px;
    margin-left: 9px;
    letter-spacing: 1px;
  }
  .profile {
    gap: 7px;
    padding: 20px 0;
  }
  .profile small {
    font-size: 9px;
  }
  .profile strong {
    font-size: 11px;
  }
  .breadcrumb {
    display: none;
  }
  .global-search {
    width: min(360px, 100%);
    margin-left: 0;
  }
  .topbar > .icon-button:last-child {
    margin-left: auto;
  }
  .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .detail-panel {
    position: static;
  }
  .detail-body {
    max-height: none;
  }
  .items {
    max-height: 520px;
  }
  .item-title {
    font-size: 12px;
  }
  .item-meta {
    font-size: 10px;
  }
  .badge {
    font-size: 9px;
  }
  .item-right {
    min-width: 100px;
  }
  .summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-card {
    padding: 17px;
  }
  .stat-card small {
    font-size: 10px;
  }
  .stat-label {
    font-size: 12px;
  }
  .welcome-banner {
    padding: 15px;
  }
  .welcome-banner .text-button {
    font-size: 9px;
  }
  .detail-field {
    grid-template-columns: 120px 1fr;
    font-size: 12px;
  }
  .inline-link {
    font-size: 12px;
  }
  .detail-body > h2 {
    font-size: 18px;
  }
  .detail-description {
    font-size: 12px;
  }
  .relation strong {
    font-size: 12px;
  }
  .relation small {
    font-size: 10px;
  }
  .detail-section h3 {
    font-size: 12px;
  }
}
@media (max-width: 680px) {
  :root {
    --sidebar: 234px;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: 10px 0 40px #1c31541a;
    padding-top: 25px;
  }
  .menu-open .sidebar {
    transform: translateX(0);
  }
  .workspace {
    margin-left: 0;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .topbar {
    height: 66px;
    padding: 0 17px;
    gap: 10px;
  }
  .global-search {
    flex: 1;
    width: auto;
    padding: 9px;
  }
  .global-search kbd {
    display: none;
  }
  .global-search input {
    font-size: 10px;
  }
  .topbar > .icon-button:last-child {
    margin-left: 0;
  }
  main {
    padding: 25px 17px 15px;
  }
  .page-heading {
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .page-heading p {
    font-size: 10px;
    max-width: 240px;
    line-height: 1.8;
  }
  .page-heading .secondary-button {
    padding: 8px;
    font-size: 10px;
  }
  .welcome-banner {
    gap: 10px;
    padding: 14px 12px;
  }
  .welcome-banner strong {
    font-size: 10px;
  }
  .welcome-banner p {
    font-size: 9px;
    line-height: 1.6;
  }
  .banner-symbol {
    height: 30px;
    width: 30px;
    flex-shrink: 0;
  }
  .welcome-banner .text-button {
    font-size: 0;
    padding: 6px;
  }
  .welcome-banner .text-button .icon {
    width: 17px;
    height: 17px;
  }
  .summary {
    gap: 10px;
    margin-bottom: 22px;
  }
  .stat-card {
    padding: 13px;
    column-gap: 9px;
  }
  .stat-number {
    font-size: 23px;
  }
  .stat-label {
    font-size: 10px;
  }
  .stat-card small {
    font-size: 8px;
    margin-top: 15px;
  }
  .stat-arrow {
    right: 12px;
    bottom: 14px;
    width: 11px;
  }
  .item-row {
    gap: 9px;
    padding: 15px 12px;
    min-height: 100px;
  }
  .item-title {
    font-size: 11px;
  }
  .item-meta {
    font-size: 8px;
  }
  .item-right {
    min-width: 75px;
    gap: 10px;
  }
  .badge {
    font-size: 8px;
  }
  .item-icon {
    width: 26px;
    height: 32px;
  }
  .item-icon .icon {
    width: 16px;
    height: 16px;
  }
  .item-due {
    font-size: 8px;
  }
  .panel-top {
    padding: 12px;
  }
  .section-heading h2 {
    font-size: 12px;
  }
  .filter-tabs {
    gap: 18px;
    padding: 0 12px;
  }
  .filter-tabs button {
    font-size: 9px;
  }
  .list-footer {
    font-size: 8px;
    padding: 14px 12px;
  }
  .workspace-footer {
    padding: 20px 17px;
    font-size: 8px;
  }
  .workspace-footer > span:last-child {
    display: none;
  }
  .detail-body {
    padding: 20px 17px 0;
  }
  .detail-field {
    grid-template-columns: 90px 1fr;
    font-size: 11px;
  }
  .inline-link {
    font-size: 11px;
  }
  .kanban {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 13px 15px;
  }
  .kanban-column {
    min-height: 120px;
    padding: 13px;
  }
  .kanban-column h3 {
    font-size: 12px;
  }
  .kanban-card > strong {
    font-size: 12px;
  }
  .kanban-card > .eyebrow {
    font-size: 8px;
  }
  .kanban-bottom > span:last-child {
    font-size: 10px;
  }
  .nav-link {
    font-size: 13px;
    padding: 13px;
  }
  .profile strong {
    font-size: 12px;
  }
  .profile small {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Keep secondary information legible on normal office displays. */
.nav-link {
  font-size: 13px;
  color: #6d7b91;
}
.workspace-label {
  color: #8b97aa;
}
.profile small {
  color: #79879d;
}
.demo-note {
  color: #6e7e96;
}
.demo-note small {
  color: #8c99ad;
}
.breadcrumb {
  font-size: 12px;
}
.breadcrumb span {
  color: #61718c;
}
.global-search input {
  font-size: 12px;
}
.global-search input::placeholder {
  color: #8b97ac;
}
.page-heading p {
  font-size: 13px;
  color: #7f8ca2;
}
.welcome-banner strong {
  font-size: 13px;
  color: #526b9e;
}
.welcome-banner p {
  font-size: 11px;
  color: #7c91b8;
}
.welcome-banner .text-button {
  font-size: 11px;
}
.secondary-button {
  font-size: 12px;
}
.stat-card small {
  font-size: 10px;
  color: #8b98ad;
}
.stat-label {
  font-size: 12px;
  color: #7988a0;
}
.section-heading h2 {
  font-size: 14px;
}
.filter-tabs button {
  font-size: 11px;
  color: #8390a6;
}
.item-title {
  font-size: 13px;
  color: #4d5d78;
}
.item-meta {
  font-size: 10px;
  color: #8998af;
}
.item-row {
  min-height: 104px;
}
.badge {
  font-size: 10px;
}
.badge.green {
  color: #4c9375;
}
.badge.blue {
  color: #547bd0;
}
.badge.amber {
  color: #ac853f;
}
.badge.gray {
  color: #8390a3;
}
.item-due {
  font-size: 10px;
  color: #8998b0;
}
.detail-body > h2 {
  font-size: 16px;
  color: #435470;
}
.detail-toolbar > span {
  font-size: 11px;
  color: #8493ac;
}
.detail-description {
  font-size: 11px;
  color: #8a98af;
}
.detail-field {
  font-size: 11px;
}
.detail-field dt {
  color: #8d9ab0;
}
.detail-field dd {
  color: #71829e;
}
.inline-link {
  font-size: 11px;
  color: #6383cd;
}
.detail-section h3 {
  font-size: 11px;
  color: #7b8da8;
}
.relation strong {
  font-size: 11px;
  color: #7184a3;
}
.relation small {
  font-size: 9px;
  color: #91a1b8;
}
.subtle-note {
  font-size: 10px;
  color: #91a0b7;
}
.detail-origin {
  font-size: 10px;
  color: #98a7bf;
}
.list-footer {
  font-size: 10px;
  color: #92a0b7;
}
.workspace-footer {
  color: #9caac0;
}
.segmented button {
  font-size: 11px;
}
.member strong {
  font-size: 11px;
  color: #71839e;
}
.member small {
  font-size: 10px;
  color: #95a5bc;
}
.kanban-card > strong {
  font-size: 12px;
  color: #6b7f9e;
}
.kanban-column h3 {
  font-size: 11px;
  color: #7b8eab;
}
.tdms-notice strong {
  font-size: 11px;
}
.tdms-notice p {
  font-size: 10px;
  color: #7f9e94;
}
.uri-text {
  font-size: 10px;
}
.search-caption {
  color: #7b8faa;
}
@media (max-width: 1200px) and (min-width: 981px) {
  .item-title {
    font-size: 12px;
  }
  .item-meta {
    font-size: 9px;
  }
  .item-right {
    min-width: 75px;
  }
  .badge {
    font-size: 9px;
  }
  .filter-tabs {
    gap: 15px;
  }
  .filter-tabs button {
    font-size: 10px;
  }
  .detail-body > h2 {
    font-size: 15px;
  }
  .stat-card small {
    font-size: 9px;
  }
  .stat-label {
    font-size: 11px;
  }
}
@media (max-width: 980px) and (min-width: 681px) {
  .nav-link {
    font-size: 12px;
  }
  .welcome-banner strong {
    font-size: 12px;
  }
  .welcome-banner p {
    font-size: 10px;
  }
  .item-title {
    font-size: 13px;
  }
  .detail-body > h2 {
    font-size: 18px;
  }
  .detail-field,
  .inline-link {
    font-size: 12px;
  }
}
@media (max-width: 680px) {
  .welcome-banner strong {
    font-size: 11px;
  }
  .welcome-banner p {
    font-size: 9px;
  }
  .welcome-banner .text-button {
    font-size: 0;
  }
  .page-heading p {
    font-size: 11px;
  }
  .page-heading .secondary-button {
    font-size: 10px;
  }
  .stat-label {
    font-size: 11px;
  }
  .stat-card small {
    font-size: 8px;
  }
  .section-heading h2 {
    font-size: 13px;
  }
  .item-title {
    font-size: 12px;
  }
  .item-meta {
    font-size: 9px;
  }
  .item-right {
    min-width: 70px;
  }
  .badge {
    font-size: 9px;
  }
  .item-due {
    font-size: 9px;
  }
  .filter-tabs button {
    font-size: 10px;
  }
  .global-search input {
    font-size: 10px;
  }
  .list-footer {
    font-size: 9px;
  }
  .detail-body > h2 {
    font-size: 16px;
  }
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.document-dialog {
  width: min(600px, calc(100% - 32px));
  max-width: 600px;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  border: 1px solid #e4e9f2;
  border-radius: 18px;
  padding: 30px;
  color: #27354e;
  background: #fff;
  box-shadow: 0 24px 80px #18274430;
}
.document-dialog::backdrop { background: #18274470; }
.dialog-heading, .dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.dialog-heading h2 { font-size: 24px; margin: 8px 0 0; }
.form-intro { color: #6b7890; margin: 14px 0 24px; line-height: 1.6; }
.dialog-actions { justify-content: flex-end; margin-top: 24px; }
.document-dialog .auth-field { margin-bottom: 18px; }
.document-dialog input, .document-dialog select, .document-dialog textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #dce3ee;
  border-radius: 8px;
  font: inherit;
  color: inherit;
  background: #fff;
}
.document-dialog textarea { resize: vertical; min-height: 100px; }
.document-dialog input:focus, .document-dialog select:focus, .document-dialog textarea:focus {
  outline: 2px solid #3862e8;
  outline-offset: 2px;
}
.document-dialog :disabled { opacity: .65; cursor: wait; }
.download-button { text-decoration: none; margin: 16px 0; }
@media (max-width: 680px) {
  .page-heading:has(.heading-actions) { flex-wrap: wrap; gap: 16px; }
  .document-dialog { padding: 22px; max-height: calc(100dvh - 24px); }
  .heading-actions .primary-button { padding: 10px 12px; font-size: 12px; }
}

/* Board workspace: horizontal canvas and compact cards inspired by SmartBoard. */
.boards-page .workspace { height: 100dvh; min-height: 640px; }
.boards-page .topbar { height: 64px; flex-shrink: 0; }
.boards-page #main {
  display: flex;
  flex: 1;
  min-height: 0;
  max-width: none;
  padding: 25px 28px 0;
}
.boards-page .workspace-footer { display: none; }
.smart-board.board-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.board-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.board-heading-copy { min-width: 0; }
.board-heading .eyebrow { color: #7e8ba4; font-size: 10px; letter-spacing: 1px; }
.board-heading h1 { font-size: 25px; line-height: 1.3; color: #24344d; font-weight: 650; margin: 8px 0; overflow-wrap: anywhere; }
.board-heading p { color: #7c899e; font-size: 12px; line-height: 1.5; }
.board-heading-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.board-member-stack { display: flex; margin-right: 12px; padding-left: 5px; }
.board-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e6ecfb;
  color: #5070b0;
  font-size: 10px;
  font-weight: 650;
}
.board-member-stack .board-avatar { width: 34px; height: 34px; border: 3px solid #f6f8fc; margin-left: -6px; }
.board-avatar.avatar-tone-1 { background: #e5f2ed; color: #438672; }
.board-avatar.avatar-tone-2 { background: #f1eafd; color: #8762af; }
.board-avatar.avatar-tone-3 { background: #fff0de; color: #a57734; }
.board-tool, .board-filter > summary, .board-status-filter, .board-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  border: 1px solid #e0e6ef;
  border-radius: 7px;
  padding: 8px 10px;
  background: #fff;
  color: #5d6b82;
  font-size: 12px;
  white-space: nowrap;
}
.board-tool:hover, .board-filter > summary:hover { background: #f5f8ff; border-color: #bdccef; }
.board-tool.pressed, .board-tool[aria-pressed="true"] { color: #3862e8; background: #eaf0ff; border-color: #c5d3f5; }
.smart-board .icon { width: 16px; height: 16px; flex-shrink: 0; }
.board-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 14px; background: #fff; border: 1px solid #e3e8f0; border-radius: 10px; }
.board-search { display: flex; align-items: center; gap: 8px; color: #8b99af; min-height: 36px; min-width: 170px; flex: 1 1 200px; max-width: 340px; padding: 8px 10px; border: 1px solid #e5eaf1; border-radius: 7px; background: #f8f9fc; }
.board-search input { min-width: 0; width: 100%; border: 0; outline: 0; color: #354860; background: transparent; font-size: 12px; }
.board-search:focus-within { border-color: #839fe8; box-shadow: 0 0 0 2px #3862e810; }
.board-search input::placeholder { color: #96a2b4; }
.board-filter { position: relative; }
.board-filter > summary { cursor: pointer; list-style: none; user-select: none; }
.board-filter > summary::-webkit-details-marker { display: none; }
.board-filter[open] > summary { border-color: #a9beef; color: #3862e8; background: #f4f7ff; }
.board-filter-count { border-radius: 4px; padding: 1px 5px; background: #eef2f8; color: #77859b; font-size: 10px; }
.board-filter-menu { position: absolute; top: calc(100% + 8px); left: 0; width: 290px; padding: 12px; border: 1px solid #e1e7f1; border-radius: 10px; background: #fff; box-shadow: 0 12px 32px #2639571f; z-index: 20; max-height: 350px; overflow-y: auto; }
.board-filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; color: #586a85; font-size: 12px; }
.board-filter-heading .inline-link { font-size: 11px; }
.board-filter-menu label { display: flex; align-items: center; gap: 9px; min-height: 40px; padding: 7px; border-radius: 6px; color: #4c5f7a; font-size: 12px; cursor: pointer; }
.board-filter-menu label:hover { background: #f4f7fd; }
.board-filter-menu input { width: 15px; height: 15px; accent-color: #3862e8; }
.board-filter-menu small { margin-left: auto; color: #8c98aa; }
.board-status-filter select, .board-switch select { border: 0; outline: 0; color: inherit; background: transparent; font: inherit; max-width: 240px; cursor: pointer; }
.board-view-summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 45px; color: #8591a6; font-size: 11px; padding: 0 3px; }
.board-view-summary strong { color: #5c6e89; font-weight: 600; }
.board-view-summary .inline-link { font-size: 11px; }
.smart-board .kanban {
  display: flex;
  flex: 1;
  min-height: 260px;
  align-items: stretch;
  gap: 16px;
  padding: 3px 3px 20px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #c9d3e3 transparent;
}
.smart-board .kanban-column {
  display: flex;
  flex-direction: column;
  flex: 0 0 300px;
  min-width: 0;
  min-height: 230px;
  padding: 0;
  background: #edf0f5;
  border: 1px solid #e0e6ef;
  border-radius: 11px;
  overflow: hidden;
}
.board-column-header { display: flex; align-items: center; gap: 9px; padding: 17px 14px; flex-shrink: 0; }
.board-column-header h2 { color: #4c5c74; font-size: 13px; font-weight: 650; line-height: 1.4; }
.board-column-marker { width: 8px; height: 8px; border-radius: 3px; background: #e2b15d; flex-shrink: 0; }
.board-column-tone-1 .board-column-marker { background: #7297e8; }
.board-column-tone-2 .board-column-marker { background: #6cb397; }
.board-column-tone-3 .board-column-marker { background: #a68acb; }
.board-column-count { margin-left: auto; color: #8a97aa; border-radius: 5px; background: #e3e8f0; padding: 2px 6px; font-size: 11px; }
.board-column-cards { padding: 0 9px 12px; overflow-y: auto; min-height: 0; scrollbar-width: thin; scrollbar-color: #cbd4e3 transparent; flex: 1; }
.smart-board .kanban-card { display: block; padding: 14px; width: 100%; border: 1px solid #e1e6ef; border-radius: 8px; margin-bottom: 9px; background: #fff; box-shadow: 0 2px 3px #273b5807; text-align: left; transition: box-shadow .15s, border-color .15s, transform .15s; }
.smart-board .kanban-card:hover { border-color: #a9bde9; box-shadow: 0 4px 12px #3d5d9a15; transform: translateY(-1px); }
.smart-board .kanban-card.selected { border-color: #7f9fe8; box-shadow: 0 0 0 1px #7f9fe8; }
.smart-board .kanban-card > strong { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; color: #304562; font-size: 13px; font-weight: 600; line-height: 1.55; }
.board-card-labels { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.board-card-labels:empty { display: none; }
.board-tag { padding: 3px 7px; border-radius: 4px; color: #6d7c92; background: #edf0f6; font-size: 10px; font-weight: 550; }
.board-tag--red { color: #b7575e; background: #fcebee; }
.board-tag--amber { color: #a27c35; background: #fff3dc; }
.board-tag--green { color: #548774; background: #e8f5ef; }
.board-tag--blue { color: #537ab9; background: #eaf1ff; }
.board-priority { color: #b38a45; font-size: 10px; }
.board-priority.critical { color: #c16a69; }
.board-card-description { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #8390a3; font-size: 11px; line-height: 1.6; margin-top: 7px; }
.board-card-meta { display: flex; align-items: center; gap: 8px; margin-top: 13px; flex-wrap: wrap; }
.board-card-meta .badge { font-size: 9px; padding: 4px 6px; }
.board-related-count, .board-estimate { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; color: #8a96aa; }
.board-card-meta .icon { width: 12px; height: 12px; }
.board-material { display: inline-flex; align-items: center; gap: 5px; color: #64978e; font-size: 10px; margin-top: 11px; }
.board-material .icon { width: 12px; height: 12px; }
.board-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid #f0f3f7; margin-top: 13px; padding-top: 11px; }
.board-card-assignee { display: flex; align-items: center; gap: 6px; min-width: 0; }
.board-card-assignee > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #7d8ba0; font-size: 10px; }
.board-card-assignee .board-avatar { width: 24px; height: 24px; font-size: 8px; }
.board-due { display: inline-flex; align-items: center; flex-shrink: 0; gap: 4px; padding: 4px 5px; color: #8895a9; background: #f4f6fa; border-radius: 4px; font-size: 10px; }
.board-due .icon { width: 12px; height: 12px; }
.board-due.completed { color: #53917d; background: #ecf7f2; }
.board-due.overdue { color: #bf7474; background: #fff0f0; }
.smart-board .empty-column { display: flex; flex-direction: column; align-items: center; gap: 12px; color: #9ba7b9; padding: 35px 12px; font-size: 11px; border: 1px dashed #dce3ee; border-radius: 8px; }
.smart-board .empty-column .icon { width: 24px; height: 24px; color: #b3bed0; }
.board-no-columns { align-self: center; margin: auto; text-align: center; color: #8795ab; }
.board-no-columns h2 { color: #60728b; font-size: 20px; }
.board-no-columns p { margin: 12px 0 20px; font-size: 12px; }
.board-no-columns button { margin: auto; }
.board-expanded .sidebar, .board-expanded .topbar { display: none; }
.board-expanded .workspace { margin-left: 0; }
.board-expanded #main { padding-top: 24px; }
.board-card-dialog { width: min(740px, calc(100% - 32px)); max-width: 740px; max-height: calc(100dvh - 48px); border: 1px solid #e1e7f1; padding: 0; border-radius: 14px; overflow-y: auto; }
.board-card-dialog::backdrop { background: #1f30445e; backdrop-filter: blur(3px); }
.board-card-dialog .detail-panel { border: 0; border-radius: 0; }
.board-card-dialog .detail-toolbar { position: sticky; top: 0; background: #fff; z-index: 1; padding: 14px 26px; }
.board-card-dialog .detail-body { padding: 8px 30px 30px; max-height: none; overflow: visible; }
.board-card-dialog .detail-body > h2 { font-size: 24px; line-height: 1.4; color: #354a66; }
.board-card-dialog .detail-field { grid-template-columns: 135px minmax(0, 1fr); font-size: 12px; }
.board-card-dialog .detail-description { font-size: 13px; line-height: 1.8; }
.board-card-dialog .detail-section h3, .board-card-dialog .inline-link { font-size: 12px; }
.board-card-dialog .relation strong { font-size: 12px; }
.board-dialog-context { display: flex; align-items: center; gap: 9px; color: #8693a7; padding: 17px 26px; font-size: 11px; background: #f6f8fc; border-bottom: 1px solid #e7edf5; }
.board-dialog-context > .icon { width: 15px; height: 15px; flex-shrink: 0; }
.board-dialog-context > .inline-link { margin-left: auto; flex-shrink: 0; }
@media (max-width: 1100px) {
  .board-heading { align-items: flex-start; gap: 16px; }
  .board-heading h1 { font-size: 22px; }
  .board-member-stack { display: none; }
  .board-heading-actions .board-tool { padding: 9px; }
  .board-heading-actions .board-tool > span { display: none; }
}
@media (max-width: 680px) {
  .boards-page #main { padding: 18px 14px 0; }
  .boards-page .workspace { min-height: 600px; }
  .board-heading { margin-bottom: 16px; gap: 12px; }
  .board-heading h1 { font-size: 20px; }
  .board-heading .eyebrow { font-size: 8px; }
  .board-heading p { font-size: 11px; }
  .board-toolbar { padding: 10px; gap: 6px; }
  .board-search { flex-basis: 100%; max-width: none; }
  .board-switch { width: 100%; }
  .board-tool, .board-filter > summary, .board-status-filter { font-size: 11px; min-height: 34px; padding: 7px 8px; }
  .board-filter-menu { width: min(275px, calc(100vw - 48px)); }
  #board-people-filter .board-filter-menu { left: auto; right: -60px; }
  .board-filter-heading .inline-link { font-size: 10px; }
  .board-view-hint { display: none; }
  .smart-board .kanban { gap: 12px; }
  .smart-board .kanban-column { flex-basis: min(300px, calc(100vw - 52px)); }
  .smart-board .kanban-card > strong { font-size: 13px; }
  .board-card-dialog { max-height: calc(100dvh - 24px); }
  .board-card-dialog .detail-body { padding: 8px 20px 24px; }
  .board-card-dialog .detail-body > h2 { font-size: 20px; }
  .board-card-dialog .detail-field { grid-template-columns: 100px minmax(0, 1fr); }
  .board-dialog-context { padding: 14px 20px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .smart-board .kanban-card { transition: none; }
}

/* Document register: aligned metadata and a separate reading pane. */
.documents-page #main { max-width: 1800px; }
.documents-page .page-heading { margin-bottom: 28px; align-items: flex-end; }
.documents-page .page-heading h1 { font-size: 30px; color: #25354e; }
.documents-page .page-heading .eyebrow { color: #697b94; }
.documents-page .heading-actions { align-items: center; }
.documents-page .content-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; }
.documents-panel { min-width: 0; border-color: #dfe6ef; border-radius: 12px; }
.documents-panel .document-tabs { padding: 0 22px; gap: 24px; }
.document-tabs button { display: flex; align-items: center; gap: 7px; padding: 20px 0 17px; font-size: 12px; color: #64748b; }
.document-tabs button > span { border-radius: 5px; padding: 2px 6px; background: #f0f3f7; font-size: 10px; color: #607086; }
.document-tabs button.active > span { background: #eaf0ff; color: #3862e8; }
.document-toolbar { display: flex; align-items: center; gap: 10px; padding: 18px 22px; }
.document-search { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 100px; border: 1px solid #dce3ed; border-radius: 7px; padding: 10px 12px; color: #73839b; }
.document-search:focus-within { border-color: #3862e8; box-shadow: 0 0 0 3px #3862e814; }
.document-search .icon { width: 17px; height: 17px; }
.document-search input { border: 0; outline: 0; width: 100%; min-width: 0; color: #25354e; background: transparent; font-size: 12px; }
.document-search input::placeholder { color: #718198; }
.document-toolbar .secondary-button { min-height: 38px; color: #53657e; }
.document-toolbar .pressed { background: #edf2ff; border-color: #b7c8fb; color: #315bd6; }
.document-sort select { width: 144px; border: 1px solid #dce3ed; border-radius: 7px; min-height: 38px; padding: 8px; font: inherit; font-size: 11px; color: #53657e; background: #fff; }
.document-columns, .documents-panel .document-row { display: grid; grid-template-columns: minmax(0, 1fr) 105px 125px 12px; align-items: center; gap: 14px; padding-left: 22px; padding-right: 22px; }
.document-columns { background: #f7f9fc; border-block: 1px solid #e8edf4; padding-top: 11px; padding-bottom: 11px; color: #63738a; font-size: 10px; }
.documents-panel .document-row { min-height: 88px; padding-top: 17px; padding-bottom: 17px; }
.document-name { display: flex; gap: 12px; align-items: center; min-width: 0; }
.document-name .item-icon { width: 34px; height: 42px; color: #587dcc; background: #f2f6ff; border-color: #e0e8f7; }
.document-name .item-title { font-size: 13px; color: #30435f; line-height: 1.55; font-weight: 600; }
.document-name .item-meta { color: #64758e; font-size: 10px; margin-top: 6px; }
.documents-panel .document-name .document-owned { color: #466fb5; }
.document-status .badge { font-size: 10px; padding: 6px 8px; }
.document-date { color: #60718a; font-size: 10px; line-height: 1.6; }
.documents-panel .row-chevron { color: #8190a7; width: 13px; height: 13px; }
.documents-panel .document-items { max-height: 680px; overflow: auto; }
.documents-panel .list-footer { min-height: 52px; color: #64758e; padding: 14px 22px; gap: 12px; }
.documents-panel .empty-state { padding: 58px 24px; }
.documents-panel .empty-state h3 { color: #30435f; font-size: 16px; }
.documents-panel .empty-state p { color: #64758e; font-size: 12px; }
.documents-page .detail-panel { border-color: #dfe6ef; border-radius: 12px; }
.documents-page .detail-toolbar > span { color: #64758e; font-size: 12px; }
.documents-page .detail-body > h2 { color: #30435f; font-size: 19px; line-height: 1.5; overflow-wrap: anywhere; }
.documents-page .detail-description { color: #5e7089; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.documents-page .detail-field dt, .documents-page .detail-origin { color: #687b95; }
.documents-page .detail-field dd, .documents-page .relation strong { color: #435b7b; }
.documents-page .detail-section h3 { color: #526783; font-size: 12px; }
.documents-page .relation small { color: #6d7f98; font-size: 10px; }
.edit-document { margin-top: 18px; width: 100%; }
.document-edit-context { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid #e0e7f2; background: #f7f9fd; border-radius: 8px; color: #536b8b; font-size: 12px; }
.document-edit-context .badge { margin-left: auto; }
.document-feedback { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #edf8f1; border: 1px solid #cee8d8; color: #32694c; border-radius: 8px; margin-bottom: 18px; font-size: 12px; }
.document-feedback .icon { width: 17px; height: 17px; }
@media (max-width: 1250px) and (min-width: 1101px) {
  .documents-page .content-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; }
  .document-columns, .documents-panel .document-row { grid-template-columns: minmax(0, 1fr) 105px 12px; gap: 10px; padding-inline: 16px; }
  .document-columns > span:nth-child(3), .document-row .document-date { display: none; }
  .document-toolbar { padding-inline: 16px; gap: 8px; flex-wrap: wrap; }
  .document-search { flex-basis: 100%; }
  .documents-panel .document-tabs { gap: 18px; padding-inline: 16px; }
}
@media (max-width: 1100px) {
  .documents-page .content-grid { grid-template-columns: minmax(0, 1fr); }
  .documents-page .detail-panel { position: static; }
  .documents-page .detail-body { max-height: none; padding-bottom: 8px; }
}
@media (max-width: 680px) {
  .documents-page .page-heading { align-items: flex-start; gap: 18px; }
  .documents-page .page-heading h1 { font-size: 27px; }
  .documents-page .heading-actions { width: 100%; }
  .documents-page .heading-actions .primary-button { flex: 1; }
  .documents-panel .document-tabs { padding-inline: 16px; gap: 20px; }
  .document-tabs button { font-size: 12px; }
  .document-toolbar { flex-wrap: wrap; padding: 16px; }
  .document-search { flex-basis: 100%; }
  .document-sort { margin-left: auto; }
  .document-columns { display: none; }
  .documents-panel .document-row { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 17px 16px; border-top: 1px solid #edf1f6; }
  .document-name { grid-column: 1 / -1; }
  .document-row .document-status { padding-left: 46px; }
  .document-row .document-date { display: block; }
  .document-row .row-chevron { display: none; }
  .documents-panel .list-footer { padding-inline: 16px; font-size: 10px; }
  .documents-panel .list-footer > span:last-child { display: none; }
}

/* Common work area: readable navigation, explicit actions and document files. */
.sidebar { padding-top: 26px; overflow-y: auto; }
.sidebar .brand > span { color: #203652; letter-spacing: .3px; }
.sidebar-create { margin: 26px 0 4px; min-height: 42px; padding: 10px 12px; font-size: 12px; }
.sidebar-create .icon { width: 17px; height: 17px; }
.sidebar .workspace-label { margin: 20px 12px 8px; color: #64748b; font-size: 9px; letter-spacing: .9px; }
.sidebar nav { gap: 4px; }
.nav-link { color: #52627a; min-height: 44px; }
.nav-link.active { color: #2d54cc; background: #eaf0ff; }
.nav-count { color: #526781; }
.topbar { height: 68px; }
.breadcrumb, .breadcrumb span { color: #607189; }
.global-search { background: #f7f9fc; border-color: #e3e9f1; width: 340px; }
.global-search input::placeholder { color: #65758c; }
.page-heading h1, .documents-page .page-heading h1 { margin-top: 0; font-size: 28px; color: #25354e; }
.page-heading p { color: #61728a; line-height: 1.6; }
.start-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.start-actions > button, .start-actions > a { display: flex; align-items: center; text-align: left; gap: 12px; padding: 20px; border: 1px solid #dde5f0; border-radius: 10px; background: #fff; }
.start-actions > button:hover, .start-actions > a:hover { border-color: #95aceb; background: #f8faff; }
.start-actions strong { display: block; color: #30435f; font-size: 13px; font-weight: 600; }
.start-actions small { display: block; color: #65758d; font-size: 11px; line-height: 1.6; margin-top: 5px; }
.start-actions > button > .icon, .start-actions > a > .icon { width: 16px; margin-left: auto; color: #6e83a3; }
.start-icon { display: grid; place-items: center; width: 40px; height: 44px; border-radius: 8px; color: #3d66ce; background: #edf2ff; flex-shrink: 0; }
.summary { gap: 16px; }
.stat-label, .stat-card small { color: #63748c; }
.item-title { color: #30435f; }
.item-meta, .item-due { color: #64758e; }
.item-row { min-height: 92px; }
.filter-tabs button, .text-button { color: #60728b; font-size: 12px; }
.panel-actions > .text-button { font-size: 11px; }
.secondary-button { color: #526781; }
.badge.green { background: #e9f6ee; color: #267047; }
.badge.amber { background: #fff5e3; color: #8b5e14; }
.badge.blue { background: #edf2ff; color: #315dbb; }
.badge.gray { background: #eef1f5; color: #52627a; }
.no-value { color: #687b94; }
.detail-toolbar > span, .detail-field dt, .detail-origin { color: #66788f; }
.detail-body > h2 { font-size: 18px; color: #30435f; overflow-wrap: anywhere; }
.detail-description { color: #586d89; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-field { font-size: 12px; }
.detail-field dd, .relation strong { color: #425d7e; }
.detail-section h3 { color: #536c89; font-size: 12px; }
.relation small, .subtle-note, .list-footer { color: #687b94; }
.inline-link { color: #345fb4; font-size: 12px; }
.empty-detail h3 { color: #3f5573; }
.empty-detail p, .empty-state p { color: #677a93; }
.document-detail-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.document-detail-actions .edit-document { width: auto; margin: 0; flex: 1; min-width: 150px; font-size: 11px; }
.document-detail-actions .primary-button { flex: 1; font-size: 11px; padding: 10px 12px; min-height: 38px; white-space: nowrap; gap: 7px; }
.document-detail-actions .primary-button .icon { width: 16px; height: 16px; }
.current-version { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px 12px; border: 1px solid #dbe5f5; border-radius: 9px; background: #f7faff; padding: 15px; margin: 20px 0; }
.current-version-icon { color: #5578be; padding-top: 3px; }
.current-version > div { min-width: 0; }
.current-version small { display: block; color: #536d92; font-size: 10px; }
.current-version strong { display: block; overflow-wrap: anywhere; font-size: 12px; color: #304c72; line-height: 1.6; margin: 4px 0; }
.current-version > div > span { color: #617896; font-size: 10px; }
.current-version .download-button { grid-column: 1 / -1; margin: 0; color: #315db6; border-color: #c5d5ef; background: white; }
.version-history-row { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #e9eef5; padding: 11px 0; }
.version-history-row:last-child { border-bottom: 0; }
.version-history-info { display: flex; gap: 10px; flex: 1; min-width: 0; text-align: left; padding: 3px 0; border-radius: 4px; }
.version-history-info:hover strong { color: #315fc6; }
.version-number { display: grid; place-items: center; width: 29px; height: 33px; background: #f0f4fa; border-radius: 6px; color: #4f6991; font-size: 12px; flex-shrink: 0; }
.version-history-info > span:last-child { min-width: 0; }
.version-history-info strong { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #385171; }
.version-history-info small { display: block; color: #657994; margin-top: 5px; font-size: 10px; line-height: 1.7; overflow-wrap: anywhere; }
.latest-version { color: #326c51; background: #eaf6ef; padding: 2px 5px; font-size: 9px; border-radius: 4px; font-weight: 500; }
.version-download { color: #4069b5; }
.version-download .icon { width: 17px; height: 17px; }
.document-back { margin: 0 0 18px; }
.document-back .icon { transform: rotate(180deg); width: 16px; height: 16px; }
.version-upload-note { display: flex; align-items: flex-start; gap: 12px; border-radius: 8px; border: 1px solid #dfe7f3; padding: 15px; color: #526d91; background: #f6f9fe; font-size: 12px; line-height: 1.7; }
.version-upload-note .icon { width: 20px; margin-top: 2px; }
.document-dialog .form-intro { overflow-wrap: anywhere; }
.document-dialog .auth-field small { color: #60738f; font-size: 11px; }
@media (max-width: 1200px) {
  .start-actions { gap: 10px; }
  .start-actions > button, .start-actions > a { padding: 16px; gap: 10px; }
  .start-actions > button > .icon, .start-actions > a > .icon { display: none; }
}
@media (max-width: 980px) {
  .start-actions { grid-template-columns: minmax(0, 1fr); }
  .start-actions > button, .start-actions > a { padding: 14px 18px; }
  .start-actions > button > .icon, .start-actions > a > .icon { display: block; }
}
@media (max-width: 680px) {
  .sidebar { padding-top: 26px; }
  .topbar { height: 64px; }
  .page-heading h1, .documents-page .page-heading h1 { font-size: 26px; }
  .page-heading p { font-size: 12px; }
  .start-actions { gap: 9px; margin-bottom: 20px; }
  .stat-card { padding: 16px; }
  .document-detail-actions .primary-button, .document-detail-actions .edit-document { font-size: 12px; }
  .document-dialog .dialog-actions { flex-wrap: wrap; gap: 10px; }
}
