/* 索跃多维表格：沿用工作台暖白视觉体系 */
:root {
  --md-bg: var(--sy-bg-page,#f7f7f5);
  --md-surface: var(--sy-bg-surface,#fff);
  --md-subtle: var(--sy-bg-subtle,#fafaf9);
  --md-line: var(--sy-border,#e8e8e4);
  --md-text: var(--sy-text-primary,#222220);
  --md-muted: var(--sy-text-secondary,#66625f);
  --md-accent: var(--sy-primary,#ed7d3b);
  --md-accent-soft: var(--sy-primary-soft,#fff3eb);
  --md-shadow: var(--sy-shadow-float,0 8px 24px rgba(36,34,30,.10));
}
.docs-category-separator {
  height: 1px;
  margin: 9px 10px;
  background: var(--md-line);
}
.docs-category[data-doc-category="multidimensional"] i {
  background: var(--md-accent-soft);
  color: var(--md-accent);
  font-size: 11px;
}
.md-docs-main,
.md-workspace {
  min-width: 0;
}
.md-loading,
.md-empty {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  min-height: 420px;
  color: var(--md-muted);
}
.md-loading span,
.md-empty > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--md-accent-soft);
  color: var(--md-accent);
  font-size: 22px;
}
.md-loading b,
.md-empty b {
  color: var(--md-text);
}
.md-home-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 4px 2px 22px;
}
.md-home-head h2 {
  margin: 4px 0 6px;
  font-size: 25px;
  color: var(--md-text);
}
.md-home-head > div > p:last-child {
  margin: 0;
  color: var(--md-muted);
  font-size: 13px;
}
.md-scope-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--md-subtle);
  border-radius: 12px;
  width: max-content;
  margin-bottom: 18px;
}
.md-scope-tabs button {
  border: 0;
  background: none;
  color: #766f69;
  border-radius: 9px;
  padding: 8px 14px;
  font: inherit;
  cursor: pointer;
}
.md-scope-tabs button.active {
  background: #fff;
  color: var(--md-text);
  box-shadow: 0 2px 9px rgba(50, 37, 27, 0.06);
}
.md-table-list-head,
.md-table-row {
  display: grid;
  grid-template-columns:
    minmax(250px, 2.2fr) minmax(110px, 1fr) 70px minmax(140px, 1fr)
    90px 28px;
  align-items: center;
  gap: 12px;
}
.md-table-list-head {
  padding: 0 18px 10px;
  color: var(--md-muted);
  font-size: 12px;
}
.md-table-list {
  border: 1px solid var(--md-line);
  border-radius: 16px;
  background: var(--md-surface);
  overflow: auto;
  max-height: calc(100vh - 310px);
}
.md-table-row {
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-bottom: 1px solid var(--md-line);
  background: transparent;
  text-align: left;
  color: #655e58;
  font: inherit;
  cursor: pointer;
  transition: background 0.16s ease;
}
.md-table-row:last-child {
  border-bottom: 0;
}
.md-table-row:hover {
  background: #fcf8f4;
}
.md-table-name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.md-table-name > i {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: var(--md-accent-soft);
  color: var(--md-accent);
  font-style: normal;
}
.md-table-name > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.md-table-name b {
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--md-text);
}
.md-table-name small {
  color: var(--md-muted);
}
.md-table-row em {
  font-style: normal;
  padding: 4px 8px;
  border-radius: 7px;
  background: var(--md-subtle);
  font-size: 12px;
}
.md-empty {
  min-height: 320px;
}
.md-empty p {
  margin: 0 0 12px;
}
.md-template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.md-template-grid label {
  cursor: pointer;
}
.md-template-grid input {
  position: absolute;
  opacity: 0;
}
.md-template-grid label > span {
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  padding: 13px;
  border: 1px solid var(--md-line);
  border-radius: 12px;
  transition: 0.16s;
}
.md-template-grid input:checked + span {
  background: var(--md-accent-soft);
  border-color: rgba(239, 125, 50, 0.25);
}
.md-template-grid i {
  grid-row: 1/3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  color: var(--md-accent);
  font-style: normal;
}
.md-template-grid small {
  color: var(--md-muted);
  white-space: normal;
}
.md-form-label {
  display: block;
  margin-bottom: 7px;
  color: #5f5852;
  font-size: 13px;
}
.md-workspace {
  height: calc(100vh - 124px);
  display: flex;
  flex-direction: column;
  margin: -4px -2px -24px;
  background: #fff;
  border: 1px solid var(--md-line);
  border-radius: 16px;
  overflow: hidden;
}
.md-workspace-head {
  height: 63px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-bottom: 1px solid var(--md-line);
  flex: none;
}
.md-icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #756e68;
  font-size: 17px;
  cursor: pointer;
}
.md-icon-btn:hover {
  background: var(--md-subtle);
}
.md-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.md-title > i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--md-accent-soft);
  color: var(--md-accent);
  font-style: normal;
}
.md-title > span {
  display: grid;
  min-width: 0;
}
.md-title b {
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  color: var(--md-text);
}
.md-title small {
  margin-top: 2px;
  color: var(--md-muted);
}
.md-head-spacer {
  flex: 1;
}
.md-viewbar {
  display: flex;
  align-items: end;
  min-height: 47px;
  padding: 0 13px;
  border-bottom: 1px solid var(--md-line);
  background: #fcfbfa;
  flex: none;
}
.md-view-tabs {
  display: flex;
  align-self: stretch;
  align-items: end;
  gap: 2px;
  overflow: auto;
}
.md-view-tabs button {
  height: 40px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: #756e68;
  padding: 0 13px;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
}
.md-view-tabs button i {
  margin-right: 6px;
  color: #aaa19a;
  font-style: normal;
}
.md-view-tabs button.active {
  border-color: var(--md-accent);
  color: var(--md-text);
  font-weight: 600;
}
.md-view-tabs .md-view-add {
  color: var(--md-muted);
}
.md-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 51px;
  padding: 7px 14px;
  border-bottom: 1px solid var(--md-line);
  flex: none;
}
.md-toolbar-left,
.md-toolbar-right {
  display: flex;
  align-items: center;
  gap: 4px;
}
.md-toolbar-right {
  margin-left: auto;
}
.md-toolbar-right > span {
  margin-right: 8px;
  color: var(--md-muted);
  font-size: 12px;
}
.md-tool {
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #69625c;
  font: inherit;
  cursor: pointer;
}
.md-tool:hover,
.md-tool.active {
  background: var(--md-subtle);
}
.md-tool.active {
  color: var(--md-accent);
}
.md-view-host {
  min-height: 0;
  flex: 1;
  background: #fff;
  overflow: hidden;
}
.md-view-empty {
  display: grid;
  place-content: center;
  height: 100%;
  text-align: center;
  color: var(--md-muted);
}
.md-view-empty b {
  color: var(--md-text);
}
.md-table-scroll {
  height: 100%;
  overflow: auto;
  position: relative;
}
.md-grid {
  min-height: 100%;
  position: relative;
}
.md-grid-head,
.md-grid-row {
  display: flex;
  min-width: max-content;
}
.md-grid-head {
  position: sticky;
  top: 0;
  z-index: 12;
  height: 40px;
  background: #faf9f7;
  border-bottom: 1px solid var(--md-line);
}
.md-grid-row {
  height: 46px;
  border-bottom: 1px solid var(--md-line);
  background: #fff;
}
.md-grid-row:hover {
  background: #fffdfa;
}
.md-grid-cell {
  position: relative;
  box-sizing: border-box;
  flex: none;
  min-width: 100px;
  height: 46px;
  border-right: 1px solid var(--md-line);
  overflow: hidden;
}
.md-grid-header {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 10px;
  color: #746d67;
  font-size: 12px;
  user-select: none;
}
.md-grid-header > i {
  font-style: normal;
  color: #a49b94;
}
.md-grid-header > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.md-grid-header > button {
  margin-left: auto;
  border: 0;
  background: none;
  color: #aaa19a;
  cursor: pointer;
}
.md-grid-cell > button:not(.md-row-more) {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0 11px;
  border: 0;
  background: transparent;
  color: #3f3a36;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}
.md-grid-cell > button:disabled {
  cursor: default;
}
.md-grid-cell > button > span:not(.md-members, .md-pills, .md-progress) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.md-grid-cell.sticky-title {
  position: sticky;
  left: 0;
  z-index: 4;
  background: inherit;
  box-shadow: 1px 0 var(--md-line);
}
.md-grid-head .sticky-title {
  z-index: 14;
  background: #faf9f7;
}
.md-row-more {
  display: grid;
  place-items: center;
  flex: none;
  width: 54px;
  height: 46px;
  border: 0;
  background: transparent;
  color: #a69e97;
  cursor: pointer;
}
.md-grid-head > .md-row-more {
  height: 40px;
}
.md-row-more:hover {
  color: var(--md-accent);
}
.md-col-resize {
  position: absolute;
  top: 0;
  right: -3px;
  width: 7px;
  height: 100%;
  cursor: col-resize;
  z-index: 3;
}
.md-col-resize:hover {
  background: rgba(239, 125, 50, 0.25);
}
.md-virtual-body {
  position: relative;
}
.md-virtual-body > #mdVirtualRows {
  position: absolute;
  top: 0;
  left: 0;
}
.md-record-group > button {
  position: sticky;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-bottom: 1px solid var(--md-line);
  background: #fbfaf8;
  color: #5e5751;
  text-align: left;
  cursor: pointer;
}
.md-record-group > button span {
  color: var(--md-muted);
  font-size: 12px;
}
.md-empty-inline {
  padding: 60px;
  color: var(--md-muted);
  text-align: center;
}
.md-cell-empty {
  color: #bbb3ac;
}
.md-members {
  display: flex;
  align-items: center;
}
.md-members img,
.md-members > i {
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  margin-right: -5px;
}
.md-members > i {
  display: grid;
  place-items: center;
  background: #f1eae4;
  color: #7b6c61;
  font-size: 10px;
  font-style: normal;
}
.md-members small {
  margin-left: 9px;
  color: var(--md-muted);
}
.md-pills {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.md-pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.md-pill.orange {
  background: #fff0e4;
  color: #b95c1e;
}
.md-pill.green {
  background: #e8f6ef;
  color: #327c55;
}
.md-pill.blue {
  background: #eaf1fb;
  color: #446b9f;
}
.md-pill.purple {
  background: #f1ebfa;
  color: #70549d;
}
.md-pill.red {
  background: #faeaea;
  color: #a84f4f;
}
.md-pill.gray {
  background: #f0efed;
  color: #6f6a66;
}
.md-pill.teal {
  background: #e5f5f3;
  color: #377b74;
}
.md-pill.pink {
  background: #faeaf0;
  color: #9b5570;
}
.md-check {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid #cdc6bf;
  border-radius: 5px;
}
.md-check.checked {
  background: var(--md-accent);
  border-color: var(--md-accent);
  color: #fff;
}
.md-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.md-progress:before {
  content: "";
  height: 6px;
  flex: 1;
  border-radius: 99px;
  background: #eeeae6;
}
.md-progress > i {
  position: absolute;
  height: 6px;
  max-width: calc(100% - 45px);
  border-radius: 99px;
  background: var(--md-accent);
}
.md-progress small {
  margin-left: auto;
  color: var(--md-muted);
}
.md-attachment-count,
.md-url {
  color: #6f7e8d;
}
.md-board {
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  overflow: auto;
  background: #faf9f7;
}
.md-board-column {
  width: 284px;
  flex: none;
  border: 1px solid var(--md-line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.78);
  transition: 0.16s;
}
.md-board-column.drag-over {
  border-color: rgba(239, 125, 50, 0.45);
  background: var(--md-accent-soft);
}
.md-board-column > header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
}
.md-board-column > header small {
  margin-left: auto;
  color: var(--md-muted);
}
.md-option-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #aaa;
}
.md-option-dot.orange {
  background: #ed8a47;
}
.md-option-dot.green {
  background: #55a67c;
}
.md-option-dot.blue {
  background: #6b91be;
}
.md-option-dot.purple {
  background: #9474bf;
}
.md-option-dot.red {
  background: #cc6969;
}
.md-board-column > div {
  min-height: 60px;
  padding: 0 8px 8px;
}
.md-board-column > div > p {
  margin: 22px 0;
  text-align: center;
  color: #b0a8a1;
  font-size: 12px;
}
.md-board-card {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  padding: 12px;
  border: 1px solid var(--md-line);
  border-radius: 11px;
  background: #fff;
  text-align: left;
  box-shadow: 0 3px 10px rgba(55, 42, 32, 0.035);
  cursor: pointer;
}
.md-board-card:hover {
  border-color: rgba(239, 125, 50, 0.22);
  box-shadow: 0 6px 18px rgba(55, 42, 32, 0.07);
}
.md-board-card > b {
  display: block;
  margin-bottom: 10px;
  color: var(--md-text);
}
.md-board-card > span {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  color: var(--md-muted);
  font-size: 11px;
}
.md-calendar {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.md-calendar > header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--md-line);
}
.md-calendar > header b {
  min-width: 128px;
  text-align: center;
}
.md-calendar > header button {
  border: 0;
  border-radius: 8px;
  background: var(--md-subtle);
  padding: 6px 10px;
  cursor: pointer;
}
.md-calendar-week,
.md-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(100px, 1fr));
}
.md-calendar-week {
  height: 32px;
  flex: none;
  border-bottom: 1px solid var(--md-line);
  color: var(--md-muted);
  font-size: 11px;
}
.md-calendar-week span {
  display: grid;
  place-items: center;
}
.md-calendar-grid {
  min-height: 0;
  flex: 1;
  overflow: auto;
}
.md-calendar-grid > div {
  min-height: 110px;
  padding: 7px;
  border-right: 1px solid var(--md-line);
  border-bottom: 1px solid var(--md-line);
}
.md-calendar-grid > div.other {
  background: #fcfbfa;
  color: #b9b1aa;
}
.md-calendar-grid > div.today time {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--md-accent);
  color: #fff;
}
.md-calendar-grid time {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
}
.md-calendar-grid button {
  display: block;
  width: 100%;
  margin: 3px 0;
  padding: 4px 6px;
  border: 0;
  border-radius: 5px;
  background: var(--md-accent-soft);
  color: #8e4e25;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}
.md-calendar-grid small {
  color: var(--md-muted);
}
.md-timeline {
  height: 100%;
  overflow: auto;
  padding-bottom: 16px;
}
.md-timeline > header,
.md-timeline > button {
  display: grid;
  grid-template-columns: 210px minmax(600px, 1fr) 190px;
  align-items: center;
  gap: 12px;
  min-width: 1050px;
}
.md-timeline > header {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 42px;
  padding: 0 14px;
  background: #faf9f7;
  border-bottom: 1px solid var(--md-line);
  color: var(--md-muted);
  font-size: 12px;
}
.md-timeline > button {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-bottom: 1px solid var(--md-line);
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.md-timeline > button:hover {
  background: #fffdfa;
}
.md-timeline > button > b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.md-timeline > button > span {
  position: relative;
  height: 12px;
  border-radius: 99px;
  background: #f3f0ed;
}
.md-timeline > button > span i {
  position: absolute;
  top: 0;
  height: 12px;
  border-radius: 99px;
  background: linear-gradient(90deg, #ef9a5e, #ef7d32);
}
.md-timeline > button small {
  color: var(--md-muted);
}
.md-record-drawer {
  position: fixed;
  z-index: 301;
  top: 0;
  right: 0;
  width: min(570px, 94vw);
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -22px 0 60px rgba(44, 33, 25, 0.16);
  animation: mdDrawerIn 0.2s ease;
}
.md-drawer-layer {
  position: fixed;
  z-index: 300;
  inset: 0;
}
.md-drawer-mask {
  position: absolute;
  inset: 0;
  background: rgba(35, 28, 23, 0.18);
  backdrop-filter: blur(1px);
}
@keyframes mdDrawerIn {
  from {
    transform: translateX(20px);
    opacity: 0.7;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.md-record-drawer > header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--md-line);
}
.md-record-drawer > header > div {
  min-width: 0;
  flex: 1;
}
.md-record-drawer > header small {
  color: var(--md-muted);
}
.md-record-drawer > header h2 {
  margin: 4px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 22px;
}
.md-record-drawer > header > button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: var(--md-subtle);
  cursor: pointer;
}
.md-drawer-body {
  min-height: 0;
  flex: 1;
  overflow: auto;
}
.md-drawer-fields {
  padding: 14px 22px;
}
.md-drawer-field {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 36px;
  align-items: start;
  gap: 10px;
  min-height: 48px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(59, 43, 30, 0.055);
}
.md-drawer-field > label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--md-muted);
  font-size: 12px;
}
.md-drawer-field > label i {
  width: 18px;
  text-align: center;
  font-style: normal;
}
.md-drawer-field > div {
  min-width: 0;
  padding-top: 1px;
}
.md-drawer-field > button {
  border: 0;
  background: none;
  color: transparent;
  cursor: pointer;
}
.md-drawer-field:hover > button {
  color: var(--md-muted);
}
.md-drawer-assets {
  display: grid;
  gap: 6px;
}
.md-drawer-assets a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  background: var(--md-subtle);
  color: inherit;
  text-decoration: none;
}
.md-drawer-assets a i {
  font-style: normal;
  color: var(--md-accent);
}
.md-drawer-assets a span {
  display: grid;
  min-width: 0;
}
.md-drawer-assets a b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}
.md-drawer-assets a small {
  color: var(--md-muted);
}
.md-record-thread {
  padding: 0 22px 30px;
}
.md-record-thread > nav {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--md-line);
}
.md-record-thread > nav button {
  padding: 10px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--md-muted);
  cursor: pointer;
}
.md-record-thread > nav button.active {
  border-color: var(--md-accent);
  color: var(--md-text);
}
.md-comment-list {
  display: grid;
  gap: 13px;
  padding: 16px 0;
}
.md-comment-list > div {
  display: flex;
  gap: 9px;
}
.md-comment-list > div > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--md-accent-soft);
  color: var(--md-accent);
  overflow: hidden;
}
.md-comment-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.md-comment-list p {
  margin: 0;
  color: #504a45;
  white-space: pre-wrap;
}
.md-comment-list p b,
.md-comment-list p small {
  display: inline-block;
  margin-right: 7px;
}
.md-comment-list p small {
  color: var(--md-muted);
  font-size: 10px;
}
.md-record-thread form {
  display: grid;
  gap: 8px;
}
.md-record-thread textarea {
  box-sizing: border-box;
  width: 100%;
  resize: vertical;
  border: 1px solid var(--md-line);
  border-radius: 10px;
  padding: 10px;
  font: inherit;
}
.md-record-thread form button {
  justify-self: end;
}
.md-thread-empty {
  color: var(--md-muted);
  font-size: 12px;
}
.md-activity-list {
  display: grid;
  padding: 14px 0;
}
.md-activity-list > div {
  display: flex;
  gap: 10px;
  padding: 7px 0;
}
.md-activity-list i {
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: #dccfc4;
}
.md-activity-list p {
  margin: 0;
}
.md-activity-list small {
  display: block;
  margin-top: 3px;
  color: var(--md-muted);
}
.md-record-drawer > footer {
  display: flex;
  align-items: center;
  padding: 12px 22px;
  border-top: 1px solid var(--md-line);
}
.md-record-drawer > footer > span {
  flex: 1;
}
.md-choice-list {
  max-height: 290px;
  overflow: auto;
  border: 1px solid var(--md-line);
  border-radius: 11px;
}
.md-choice-list label {
  display: block;
  cursor: pointer;
}
.md-choice-list input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.md-choice-list label > span {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-bottom: 1px solid var(--md-line);
}
.md-choice-list label:last-child > span {
  border-bottom: 0;
}
.md-choice-list input:checked + span {
  background: var(--md-accent-soft);
}
.md-choice-list img,
.md-choice-list label > span > i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.md-choice-list label > span > i {
  display: grid;
  place-items: center;
  background: #eee7e1;
  font-style: normal;
}
.md-choice-list label > span > b {
  font-size: 12px;
}
.md-choice-list label > span > small {
  margin-left: auto;
  color: var(--md-muted);
}
.md-choice-list.compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.md-choice-list.compact label > span {
  border-right: 1px solid var(--md-line);
}
.md-picker-search {
  margin-bottom: 8px;
}
.md-date-range {
  display: flex;
  align-items: center;
  gap: 8px;
}
.md-date-range input {
  min-width: 0;
}
.md-switch {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.md-switch input {
  width: auto !important;
}
.md-attachment-editor {
  display: grid;
  gap: 10px;
}
.md-attachment-editor > div {
  display: grid;
  gap: 6px;
}
.md-attachment-editor > div > span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--md-subtle);
}
.md-attachment-editor > div b {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.md-attachment-editor small {
  color: var(--md-muted);
}
.md-attachment-editor button {
  border: 0;
  background: none;
  cursor: pointer;
}
.md-attachment-editor label {
  display: inline-flex !important;
  width: max-content;
  cursor: pointer;
}
.md-attachment-editor input {
  display: none;
}
.md-field-manager {
  max-height: 420px;
  overflow: auto;
  border: 1px solid var(--md-line);
  border-radius: 12px;
}
.md-field-manager > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--md-line);
}
.md-field-manager > div:last-child {
  border-bottom: 0;
}
.md-field-manager > div > i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--md-subtle);
  font-style: normal;
}
.md-field-manager > div > span {
  display: grid;
  min-width: 0;
  flex: 1;
}
.md-field-manager small {
  color: var(--md-muted);
}
.md-field-manager button {
  border: 0;
  background: none;
  color: #766f69;
  cursor: pointer;
}
.md-field-manager em {
  color: var(--md-muted);
  font-size: 11px;
  font-style: normal;
}
.md-inline-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
}
.md-inline-check input {
  width: auto !important;
}
.md-view-type-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.md-view-type-picker input {
  position: absolute;
  opacity: 0;
}
.md-view-type-picker span {
  display: grid;
  place-items: center;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--md-line);
  border-radius: 10px;
  cursor: pointer;
}
.md-view-type-picker input:checked + span {
  background: var(--md-accent-soft);
  border-color: rgba(239, 125, 50, 0.25);
}
.md-view-type-picker i {
  font-size: 18px;
  font-style: normal;
  color: var(--md-accent);
}
.md-share-list > label > i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--md-accent-soft);
  color: var(--md-accent);
  font-style: normal;
}
.multidimensional-task-card {
  width: 280px;
  cursor: pointer;
}
.multidimensional-task-card > i {
  display: block;
  margin-top: 12px;
  color: var(--md-accent);
  font-size: 12px;
  font-style: normal;
}
.md-task-card-meta {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
.md-task-card-meta span {
  padding: 4px 7px;
  border-radius: 6px;
  background: #f3f0ed;
  color: #706861;
  font-size: 11px;
}
/* table selection and advanced configuration */
.md-table-list-head,
.md-table-row {
  grid-template-columns:
    minmax(210px, 2.2fr) minmax(90px, 1fr)
    100px 125px 70px 18px;
  gap: 8px;
}
.md-progress {
  position: relative;
}
.md-progress > i {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.md-drawer-field {
  grid-template-columns: 132px minmax(0, 1fr) 42px;
}
.md-drawer-field > button {
  white-space: nowrap;
}
.md-grid-cell.sticky-title {
  left: 40px;
}
.md-select-cell {
  position: sticky;
  left: 0;
  z-index: 8;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 46px;
  background: inherit;
  border-right: 1px solid var(--md-line);
  cursor: pointer;
}
.md-grid-head > .md-select-cell {
  height: 40px;
  z-index: 15;
  background: #faf9f7;
}
.md-select-cell input {
  width: 15px;
  height: 15px;
  accent-color: var(--md-accent);
}
.md-grid-row.selected {
  background: #fff8f2;
}
.md-member-filters {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.md-member-filters .md-picker-search {
  margin: 0;
}
.md-config-note {
  margin: 0 0 10px;
  color: var(--md-muted);
  font-size: 12px;
}
.md-config-list {
  display: grid;
  gap: 8px;
}
.md-config-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.3fr;
  gap: 8px;
}
.md-config-row.sort {
  grid-template-columns: 1fr 0.55fr;
}
.md-config-row select,
.md-config-row input {
  min-width: 0;
}
.md-tool.danger {
  color: #b85b55;
  background: #fff2f0;
}
.md-document-links {
  display: grid;
  gap: 5px;
}
.md-document-links button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border: 0;
  border-radius: 7px;
  background: var(--md-subtle);
  color: #4f4a45;
  text-align: left;
  cursor: pointer;
}
.md-document-links i {
  color: var(--md-accent);
  font-style: normal;
}
.md-timeline-zoom {
  display: flex;
  justify-self: end;
  gap: 2px;
  padding: 2px;
  border-radius: 7px;
  background: #efedea;
}
.md-timeline-zoom button {
  width: 28px;
  height: 24px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #847c75;
  cursor: pointer;
}
.md-timeline-zoom button.active {
  background: #fff;
  color: var(--md-text);
  box-shadow: 0 1px 4px rgba(40, 30, 22, 0.08);
}
.md-timeline.zoom-day > header,
.md-timeline.zoom-day > button {
  grid-template-columns: 210px minmax(1100px, 2fr) 190px;
}
.md-timeline.zoom-quarter > header,
.md-timeline.zoom-quarter > button {
  grid-template-columns: 210px minmax(420px, 0.8fr) 190px;
}
@media (max-width: 1100px) {
  .md-table-list-head,
  .md-table-row {
    grid-template-columns: minmax(230px, 2fr) 100px 60px 130px 28px;
  }
  .md-table-list-head span:nth-child(5),
  .md-table-row > span:nth-child(5) {
    display: none;
  }
  .md-toolbar-left {
    overflow: auto;
  }
  .md-title b {
    max-width: 230px;
  }
  .md-scope-tabs {
    max-width: 100%;
    overflow: auto;
  }
  .md-view-type-picker {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .md-docs-shell {
    display: block;
  }
  .md-docs-shell > .docs-categories {
    display: none;
  }
  .md-home-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .md-table-list-head {
    display: none;
  }
  .md-table-row {
    grid-template-columns: minmax(180px, 1fr) 60px 24px;
  }
  .md-table-row > span:nth-child(2),
  .md-table-row > span:nth-child(4),
  .md-table-row > span:nth-child(5) {
    display: none;
  }
  .md-workspace {
    height: calc(100vh - 112px);
    margin: 0;
  }
  .md-workspace-head {
    padding: 0 8px;
  }
  .md-title small {
    display: none;
  }
  .md-toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .md-toolbar-right {
    margin-left: 0;
    width: 100%;
    justify-content: flex-end;
  }
  .md-calendar-week,
  .md-calendar-grid {
    grid-template-columns: repeat(7, minmax(82px, 1fr));
    min-width: 574px;
  }
  .md-calendar {
    overflow: auto;
  }
  .md-template-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .md-record-drawer {
    animation: none;
  }
  .md-table-row,
  .md-board-card {
    transition: none;
  }
}

/* V3 productivity workspace: denser task hierarchy without changing the data engine. */
:root {
  --md-page: var(--sy-bg-page,#f7f7f5);
  --md-surface-soft: var(--sy-bg-subtle,#fafaf9);
  --md-hover: var(--sy-bg-hover,#f3f3f1);
  --md-selected: var(--sy-bg-selected,#fff3eb);
  --md-border: var(--sy-border,#e8e8e4);
  --md-text-strong: var(--sy-text-primary,#222220);
  --md-text-secondary: var(--sy-text-secondary,#66625f);
  --md-text-muted: var(--sy-text-tertiary,#8d8179);
  --md-duration-fast: var(--sy-motion-fast,120ms);
  --md-motion-normal: var(--sy-motion-normal,180ms);
  --md-motion-panel: var(--sy-motion-slow,240ms);
  --md-motion-slow: 300ms;
}

body:has(#content > .md-workspace) .workspace-main > header {
  display: none;
}
body:has(#content > .md-workspace) .workspace-main {
  padding: 0 !important;
}
.md-workspace {
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--md-surface);
  box-shadow: none;
}
.md-workspace-head {
  height: 54px;
  gap: 8px;
  padding: 0 12px;
  border-color: var(--md-border);
}
.md-title {
  gap: 9px;
}
.md-title > i {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: 13px;
}
.md-title b {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.012em;
}
.md-title small {
  font-size: 11px;
}
.md-share-btn {
  height: 32px;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 8px;
  font-size: 12px;
}
.md-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.md-viewbar {
  min-height: 42px;
  align-items: stretch;
  padding: 0 10px;
  border-color: var(--md-border);
  background: #fcfcfb;
}
.md-view-tabs {
  min-width: 0;
  align-items: stretch;
  gap: 1px;
  scrollbar-width: none;
}
.md-view-tabs::-webkit-scrollbar {
  display: none;
}
.md-view-tabs button {
  height: 41px;
  padding: 0 11px;
  border-radius: 7px 7px 0 0;
  color: var(--md-text-secondary);
  font-size: 12px;
  font-weight: 480;
}
.md-view-tabs button:hover {
  background: rgba(31, 31, 29, 0.035);
  color: var(--md-text-strong);
}
.md-view-tabs button.active {
  color: var(--md-text-strong);
  font-weight: 620;
}
.md-view-tabs button i {
  color: #aaa9a4;
  font-size: 11px;
}
.md-view-tabs button span {
  vertical-align: middle;
}
.md-view-tabs .md-view-add {
  color: #908e88;
}
.md-view-settings {
  width: 30px;
  height: 30px;
  flex: none;
  align-self: center;
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--md-text-muted);
  cursor: pointer;
}
.md-view-settings:hover {
  background: var(--md-hover);
  color: var(--md-text-strong);
}
.md-toolbar {
  min-height: 46px;
  gap: 10px;
  padding: 6px 11px;
  border-color: var(--md-border);
}
.md-toolbar-left,
.md-toolbar-right {
  gap: 2px;
}
.md-tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 9px;
  border-radius: 8px;
  color: #666763;
  font-size: 12px;
}
.md-tool i {
  color: #959590;
  font-size: 12px;
  font-style: normal;
}
.md-tool small {
  display: grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 5px;
  background: rgba(239, 125, 50, 0.11);
  color: #c5642a;
  font-size: 10px;
}
.md-tool:hover {
  background: var(--md-hover);
  color: var(--md-text-strong);
}
.md-tool.active {
  background: var(--md-accent-soft);
  color: #c35e25;
}
.md-toolbar-right > span {
  min-width: max-content;
  margin: 0 5px;
  color: #999994;
  font-size: 11px;
}
.md-toolbar-search {
  width: 174px;
  height: 32px;
  background: transparent;
}
.md-toolbar-search:hover {
  background: var(--md-hover);
}
.md-toolbar-search:focus-within {
  width: 220px;
  background: #fff;
}
.md-toolbar-search input {
  font-size: 12px;
}
.md-add-record {
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  box-shadow: none;
  font-size: 12px;
}
.md-view-host {
  background: var(--md-surface);
}

/* Grid */
.md-grid-head {
  height: 42px;
  background: rgba(250, 250, 248, 0.96);
  border-color: var(--md-border);
}
.md-grid-row,
.md-grid-cell,
.md-row-more,
.md-select-cell {
  height: 44px;
}
.md-grid-row {
  border-color: var(--md-border);
}
.md-grid-row:hover {
  background: #fcfcfa;
}
.md-grid-row.selected {
  background: var(--md-selected);
}
.md-grid-cell {
  min-width: 100px;
  border-color: var(--md-border);
}
.md-grid-header {
  height: 42px;
  gap: 7px;
  padding: 0 10px;
  color: #646560;
  font-size: 12px;
  font-weight: 530;
}
.md-grid-header > i {
  display: grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  color: #aaa9a4;
  font-size: 10px;
}
.md-grid-header > span {
  text-overflow: clip;
}
.md-grid-header > button {
  width: 22px;
  height: 22px;
  padding: 0;
  border-radius: 6px;
  opacity: 0;
}
.md-grid-header:hover > button,
.md-grid-header > button:focus-visible {
  opacity: 1;
  background: #efefec;
  color: #676862;
}
.md-grid-cell > button:not(.md-row-more) {
  padding: 0 10px;
  color: #3d3e3a;
  font-size: 13px;
  outline: none;
}
.md-grid-cell > button:not(.md-row-more):focus-visible {
  position: relative;
  z-index: 3;
  box-shadow: inset 0 0 0 2px var(--md-accent);
}
.md-semantic-title > button,
.md-cell-title > button {
  font-weight: 570;
}
.md-semantic-title > button:hover .md-primary-cell,
.md-cell-title > button:hover .md-primary-cell {
  color: #d56d2f;
}
.md-primary-cell {
  transition: color var(--md-duration-fast) ease;
}
.md-col-resize {
  right: -4px;
  width: 8px;
}
.md-col-resize:hover {
  background: rgba(239, 125, 50, 0.34);
}
.md-grid-empty-add {
  position: sticky;
  left: 48px;
  display: inline-flex;
  align-items: center;
  height: 34px;
  margin: 12px;
  padding: 0 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--md-text-muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.md-grid-empty-add:hover {
  background: var(--md-hover);
  color: #c9632a;
}
.md-cell-empty {
  color: #c0c0bb;
}

/* Task cells */
.md-members {
  min-width: 0;
  gap: 8px;
}
.md-avatar-stack {
  display: flex;
  flex: none;
  padding-left: 1px;
}
.md-avatar-stack img,
.md-avatar-stack > i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  margin: 0 -5px 0 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #f0ebe7;
  color: #7c7068;
  object-fit: cover;
  font-size: 10px;
  font-style: normal;
}
.md-member-names {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
}
.md-member-names b {
  overflow: hidden;
  color: #444540;
  font-size: 12px;
  font-weight: 520;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.md-member-names small {
  margin: 0;
  color: var(--md-text-muted);
  font-size: 10px;
}
.md-pill {
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 520;
}
.md-pill > i {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}
.md-pill.is-todo {
  background: #f2f1ef;
  color: #6f706b;
}
.md-pill.is-active {
  background: #fff0dc;
  color: #a96522;
}
.md-pill.is-review {
  background: #eeeffa;
  color: #5f6590;
}
.md-pill.is-done {
  background: #e9f5ee;
  color: #3d7657;
}
.md-pill.is-paused,
.md-pill.is-normal {
  background: #f1f1ef;
  color: #74746f;
}
.md-pill.is-medium {
  background: #fff4d8;
  color: #99701b;
}
.md-pill.is-high {
  background: #fff0df;
  color: #b56029;
}
.md-pill.is-critical {
  background: #fbe9e8;
  color: #ae4f49;
}
.md-progress {
  position: relative;
  gap: 8px;
}
.md-progress::before,
.md-progress > i {
  height: 5px;
}
.md-progress::before {
  background: #ecece8;
}
.md-progress > i {
  background: linear-gradient(90deg, #f2a064, #ef7d32);
}
.md-progress small {
  min-width: 30px;
  color: #777873;
  font-size: 11px;
  text-align: right;
}
.md-date-cell {
  color: #5e5f5b;
  font-size: 12px;
  white-space: nowrap;
}
.md-date-cell.is-today,
.md-date-cell.is-tomorrow {
  color: #c7672c;
  font-weight: 600;
}
.md-date-cell.is-overdue,
.md-date-range-cell.is-overdue {
  color: #b4524d;
  font-weight: 600;
}
.md-date-range-cell {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  color: #666762;
}
.md-date-range-cell small {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.md-date-range-cell i {
  color: #aaa9a5;
  font-style: normal;
}

/* Field context and unified popovers */
.md-field-context {
  width: 248px;
  padding: 7px;
  overflow: hidden;
  border-radius: 12px;
}
.md-field-menu > header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 9px 10px;
}
.md-field-menu > header > i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--md-accent-soft);
  color: var(--md-accent);
  font-size: 11px;
  font-style: normal;
}
.md-field-menu > header > span {
  display: grid;
  min-width: 0;
}
.md-field-menu > header b {
  overflow: hidden;
  color: var(--md-text-strong);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.md-field-menu > header small {
  color: var(--md-text-muted);
  font-size: 10px;
}
.md-field-menu > div {
  display: grid;
  gap: 1px;
  padding: 5px 0;
  border-top: 1px solid var(--md-border);
}
.md-field-menu > div > button {
  display: flex;
  width: 100%;
  height: 32px;
  align-items: center;
  padding: 0 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #4d4e49;
  text-align: left;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.md-field-menu > div > button:hover {
  background: var(--md-hover);
}
.md-field-menu > div > button > span {
  margin-left: auto;
  color: var(--md-text-muted);
  font-size: 10px;
}
.md-field-menu > div > button.danger {
  color: #ae514c;
}
.md-floating-panel,
.md-config-popover,
.md-cell-popover {
  border-color: rgba(58, 55, 50, 0.1);
  border-radius: 12px;
  box-shadow: 0 16px 42px rgba(39, 37, 33, 0.12);
}

/* Kanban and people workload */
.md-board {
  gap: 12px;
  padding: 12px;
  background: var(--md-page);
}
.md-board-column {
  width: 280px;
  overflow: hidden;
  border-color: var(--md-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: none;
}
.md-board-member .md-board-column {
  width: 300px;
}
.md-board-column.is-active {
  background: #fffcf7;
}
.md-board-column.is-review {
  background: #fbfbfe;
}
.md-board-column.is-done {
  background: #f9fcfa;
}
.md-board-column > header {
  min-height: 54px;
  padding: 10px 11px;
  border-bottom: 1px solid rgba(80, 76, 70, 0.06);
}
.md-board-column > header > span:not(.md-option-dot) b {
  color: #454640;
  font-size: 12px;
  font-weight: 620;
}
.md-board-column > header em {
  margin-top: 1px;
  font-size: 10px;
}
.md-board-count {
  display: grid;
  justify-items: end;
  margin-left: auto;
}
.md-board-count > b {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 6px;
  background: #f0f0ed;
  color: #6f706b;
  font-size: 10px;
}
.md-board-count > small {
  max-width: 142px;
  margin-top: 2px;
  overflow: hidden;
  color: var(--md-text-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.md-board-list {
  min-height: 54px;
  padding: 8px !important;
}
.md-board-card {
  margin-bottom: 7px;
  padding: 12px;
  border-color: var(--md-border);
  border-radius: 11px;
  box-shadow: 0 1px 2px rgba(47, 44, 40, 0.025);
}
.md-board-card:hover {
  border-color: rgba(92, 86, 80, 0.17);
  box-shadow: 0 7px 18px rgba(45, 41, 37, 0.065);
  transform: translateY(-1px);
}
.md-board-card.is-dragging {
  opacity: 0.96;
  transform: scale(1.02);
}
.md-card-title {
  display: -webkit-box !important;
  margin-bottom: 11px !important;
  overflow: hidden;
  color: var(--md-text-strong) !important;
  font-size: 13px;
  font-weight: 620;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.md-card-owner,
.md-card-status {
  display: flex !important;
  min-height: 24px;
  align-items: center;
  gap: 6px !important;
}
.md-card-owner img,
.md-card-owner > i {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #f1ece8;
  object-fit: cover;
  color: #756b64;
  font-size: 9px;
  font-style: normal;
}
.md-card-owner b {
  color: #656661;
  font-size: 11px;
  font-weight: 520;
}
.md-card-owner small {
  color: var(--md-text-muted);
  font-size: 10px;
}
.md-card-owner.is-empty,
.md-card-muted {
  color: var(--md-text-muted);
  font-size: 11px;
  font-style: normal;
}
.md-card-meta {
  display: flex !important;
  min-height: 24px;
  margin-top: 8px;
  align-items: center;
  gap: 6px !important;
}
.md-card-date {
  margin-left: auto;
  color: #858681;
  font-size: 10px;
}
.md-card-date.is-overdue {
  color: #b4524d;
  font-weight: 600;
}
.md-card-progress {
  display: flex !important;
  min-height: 18px !important;
  margin-top: 7px;
  align-items: center;
  gap: 8px !important;
}
.md-card-progress > i {
  height: 4px;
  flex: 1;
  overflow: hidden;
  border-radius: 99px;
  background: #ecece8;
}
.md-card-progress > i > b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--md-accent);
}
.md-card-progress > small {
  min-width: 28px;
  color: var(--md-text-muted);
  font-size: 10px;
  text-align: right;
}
.md-board-empty {
  display: grid;
  min-height: 82px;
  place-content: center;
  justify-items: center;
  color: #b1b1ac;
}
.md-board-empty > span {
  font-size: 16px;
}
.md-board-empty > p {
  margin: 3px 0 0 !important;
}
.md-board-empty > button {
  height: 26px;
  margin-top: 4px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #9a9994;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}
.md-board-empty > button:hover {
  background: #f3f2ef;
  color: #c9682f;
}

/* Calendar and timeline */
.md-calendar > header {
  min-height: 50px;
  justify-content: flex-start;
  padding: 0 12px;
  border-color: var(--md-border);
}
.md-calendar-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}
.md-calendar-nav b {
  min-width: 112px;
  padding: 0 6px;
  font-size: 13px;
  text-align: center;
}
.md-calendar-nav button {
  height: 30px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #696a65;
  font: inherit;
  cursor: pointer;
}
.md-calendar-nav button:hover {
  background: var(--md-hover);
  border-color: var(--md-border);
}
.md-calendar-week {
  min-height: 30px;
  border-color: var(--md-border);
}
.md-calendar-grid > div {
  min-height: 112px;
  padding: 6px;
  border-color: var(--md-border);
}
.md-calendar-grid > div.is-weekend {
  background: #fcfcfa;
}
.md-calendar-grid > div.today time {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--md-accent);
  color: #fff;
  box-shadow: none;
}
.md-calendar-grid button {
  display: grid;
  width: 100%;
  min-height: 38px;
  margin-top: 4px;
  gap: 3px;
  padding: 5px 6px;
  border: 1px solid rgba(66, 63, 59, 0.07);
  border-radius: 7px;
  background: #fff;
  color: #4c4d48;
  text-align: left;
}
.md-calendar-grid button:hover {
  border-color: rgba(239, 125, 50, 0.22);
  background: #fffaf6;
}
.md-calendar-grid button > b {
  overflow: hidden;
  font-size: 10px;
  font-weight: 580;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.md-calendar-grid button > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
}
.md-calendar-grid button > span > i {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: #b7b7b2;
}
.md-calendar-grid button > span > i.is-active {
  background: #dc8b3f;
}
.md-calendar-grid button > span > i.is-review {
  background: #7d82af;
}
.md-calendar-grid button > span > i.is-done {
  background: #5f956f;
}
.md-calendar-grid button img,
.md-calendar-grid button em {
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border-radius: 50%;
  background: #f0ebe7;
  object-fit: cover;
  color: #716861;
  font-size: 7px;
  font-style: normal;
}
.md-calendar-grid button small {
  min-width: 0;
  overflow: hidden;
  color: #94948f;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.md-calendar-more {
  display: inline-flex;
  margin-top: 4px;
  padding: 2px 5px;
  border-radius: 5px;
  background: #f1f1ee;
  color: #777873 !important;
}
.md-timeline {
  background: #fff;
}
.md-timeline > header,
.md-timeline > button {
  min-height: 46px;
  grid-template-columns: 220px minmax(620px, 2fr) 150px;
  border-color: var(--md-border);
}
.md-timeline > button > b {
  display: grid;
  min-width: 0;
  gap: 1px;
  padding-right: 12px;
}
.md-timeline > button > b > span {
  overflow: hidden;
  color: #454640;
  font-size: 12px;
  font-weight: 560;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.md-timeline > button > b > small {
  color: var(--md-text-muted);
  font-size: 9px;
  font-weight: 400;
}
.md-timeline > button > span i {
  border-radius: 7px;
  background: #ed9a60;
}
.md-timeline > button > span i.is-active {
  background: #e48d43;
}
.md-timeline > button > span i.is-review {
  background: #8388b3;
}
.md-timeline > button > span i.is-done {
  background: #6d9f7c;
}

/* True calendar Gantt view */
.md-gantt{display:flex;min-height:0;height:100%;flex-direction:column;background:#fff;color:var(--md-text)}
.md-gantt-toolbar{display:flex;min-height:54px;align-items:center;justify-content:space-between;gap:14px;padding:8px 14px;border-bottom:1px solid var(--md-border);background:#fff}
.md-gantt-toolbar>div:first-child{display:grid;gap:2px}.md-gantt-toolbar b{font-size:12px}.md-gantt-toolbar small{color:var(--md-text-muted);font-size:9px}
.md-gantt-actions{display:flex;align-items:center;gap:3px;padding:3px;border-radius:9px;background:#f5f4f1}
.md-gantt-actions button{min-height:28px;padding:0 9px;border:0;border-radius:7px;background:transparent;color:var(--md-text-muted);font-size:10px;cursor:pointer}
.md-gantt-actions button:hover,.md-gantt-actions button.active{background:#fff;color:var(--md-text);box-shadow:0 1px 4px rgba(42,36,31,.08)}.md-gantt-actions button.is-disabled{opacity:.45;pointer-events:none}
.md-gantt-unscheduled{display:flex;flex-wrap:wrap;gap:7px;padding:10px 14px;border-bottom:1px solid var(--md-border);background:#fbfaf8}
.md-gantt-unscheduled[hidden],.md-workspace [hidden]{display:none!important}
.md-gantt-unscheduled button{display:grid;min-width:150px;gap:2px;padding:8px 10px;border:1px solid var(--md-border);border-radius:9px;background:#fff;text-align:left;cursor:pointer}.md-gantt-unscheduled button small{color:var(--md-text-muted);font-size:9px}
.md-gantt-scroll{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain}.md-gantt-board{position:relative;min-width:100%;background:#fff}
.md-gantt-head,.md-gantt-row{display:flex;min-height:48px;border-bottom:1px solid var(--md-border)}.md-gantt-head{position:sticky;top:0;z-index:9;min-height:42px;background:#fafaf8}
.md-gantt-fixed{position:sticky;left:0;z-index:5;display:grid;width:var(--md-gantt-fixed);min-width:var(--md-gantt-fixed);grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);align-items:center;gap:12px;box-sizing:border-box;padding:0 14px;border:0;border-right:1px solid var(--md-border);background:#fff;text-align:left}
.md-gantt-head .md-gantt-fixed{z-index:11;background:#fafaf8;color:var(--md-text-muted);font-size:9px}.md-gantt-row:hover .md-gantt-fixed{background:#fcfbf9}
.md-gantt-fixed>span{display:flex;min-width:0;align-items:center;gap:5px}.md-gantt-fixed>span:first-child{display:grid;gap:2px}.md-gantt-fixed span b,.md-gantt-fixed span small,.md-gantt-fixed span em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.md-gantt-fixed span b{font-size:11px;font-weight:600}.md-gantt-fixed span small,.md-gantt-fixed span em{color:var(--md-text-muted);font-size:9px;font-style:normal}.md-gantt-fixed img,.md-gantt-fixed span>i{display:grid;width:20px;height:20px;flex:0 0 20px;place-items:center;border-radius:50%;background:#f0ebe6;object-fit:cover;font-size:8px;font-style:normal}
.md-gantt-track{position:relative;display:flex;min-width:0;align-items:stretch;background:#fff}
.md-gantt-head .md-gantt-track>span{display:flex;flex:0 0 auto;align-items:center;justify-content:center;box-sizing:border-box;border-right:1px solid rgba(62,54,48,.05);color:var(--md-text-muted);font-size:8px;white-space:nowrap}.md-gantt-head .md-gantt-track>span.is-today{color:var(--md-accent);font-weight:700}
.md-gantt-today-line{position:absolute;z-index:2;top:0;bottom:0;width:1px;background:rgba(239,125,50,.5);pointer-events:none}
.md-gantt-bar{position:absolute;z-index:3;top:12px;height:24px;min-width:8px;overflow:visible;border:0;border-radius:7px;background:#ed9a60;color:#fff;cursor:grab;box-shadow:0 1px 3px rgba(109,64,31,.12)}.md-gantt-bar:active,.md-gantt-bar.is-dragging{cursor:grabbing}.md-gantt-bar.is-review{background:#8388b3}.md-gantt-bar.is-done{background:#6d9f7c}
.md-gantt-bar>span{position:absolute;inset:0;overflow:hidden;border-radius:inherit}.md-gantt-bar>span b{position:absolute;inset:0 auto 0 0;background:rgba(113,62,24,.18)}.md-gantt-bar>span em{position:absolute;right:6px;top:50%;transform:translateY(-50%);font-size:8px;font-style:normal;text-shadow:0 1px 1px rgba(0,0,0,.18)}
.md-gantt-bar>[data-md-gantt-handle]{position:absolute;z-index:4;top:3px;bottom:3px;width:7px;border-radius:5px;background:rgba(255,255,255,.72);opacity:0;cursor:ew-resize;transition:opacity .15s ease}.md-gantt-bar>[data-md-gantt-handle="start"]{left:3px}.md-gantt-bar>[data-md-gantt-handle="end"]{right:3px}.md-gantt-bar:hover>[data-md-gantt-handle]{opacity:1}
.md-gantt-empty{display:grid;min-height:160px;place-items:center;color:var(--md-text-muted);font-size:10px}
.md-gantt-source{display:flex;flex-wrap:wrap;gap:14px}.md-gantt-source label{display:flex;align-items:center;gap:6px}
@media(max-width:760px){.md-gantt{--md-gantt-fixed:260px!important}.md-gantt-toolbar{align-items:flex-start;flex-direction:column}.md-gantt-actions{width:100%;overflow-x:auto}.md-gantt-fixed{grid-template-columns:minmax(0,1fr) 86px;padding:0 10px}}

/* Task inspector drawer */
.md-drawer-mask {
  background: rgba(35, 33, 30, 0.18);
  backdrop-filter: blur(1.5px);
}
.md-record-drawer {
  width: min(500px, calc(100vw - 18px));
  border-left: 1px solid var(--md-border);
  background: #fff;
  box-shadow: -18px 0 50px rgba(34, 32, 29, 0.12);
}
.md-record-drawer > header {
  min-height: 50px;
  padding: 0 18px;
  border-color: var(--md-border);
}
.md-record-drawer > header small {
  color: var(--md-text-muted);
  font-size: 10px;
  font-weight: 520;
}
.md-record-drawer > header > button {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.md-drawer-body {
  padding: 0 20px 22px;
}
.md-drawer-hero {
  padding: 20px 0 18px;
  border-bottom: 1px solid var(--md-border);
}
.md-drawer-title {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.md-drawer-title h2 {
  flex: 1;
  margin: 0;
  color: var(--md-text-strong);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.md-drawer-title > button {
  width: 28px;
  height: 28px;
  flex: none;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--md-text-muted);
  cursor: pointer;
}
.md-drawer-title > button:hover {
  background: var(--md-hover);
  color: var(--md-accent);
}
.md-drawer-badges {
  display: flex;
  min-height: 24px;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.md-drawer-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 14px;
}
.md-drawer-summary > button {
  display: grid;
  min-width: 0;
  min-height: 58px;
  align-content: center;
  gap: 6px;
  padding: 8px 9px;
  border: 1px solid var(--md-border);
  border-radius: 10px;
  background: #fcfcfa;
  text-align: left;
}
.md-drawer-summary > button:not(:disabled) {
  cursor: pointer;
}
.md-drawer-summary > button:not(:disabled):hover {
  border-color: rgba(239, 125, 50, 0.22);
  background: #fffaf6;
}
.md-drawer-summary > button > small {
  color: var(--md-text-muted);
  font-size: 9px;
}
.md-drawer-summary > button > span {
  min-width: 0;
  overflow: hidden;
}
.md-drawer-summary .md-members {
  gap: 5px;
}
.md-drawer-summary .md-member-names b {
  font-size: 10px;
}
.md-drawer-summary .md-progress {
  min-width: 86px;
}
.md-drawer-section {
  padding: 17px 0 2px;
  border-bottom: 1px solid var(--md-border);
}
.md-drawer-section > header {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}
.md-drawer-section > header h3 {
  margin: 0;
  color: #444540;
  font-size: 12px;
  font-weight: 650;
}
.md-drawer-section > header small {
  margin-left: auto;
  color: #b0b0aa;
  font-size: 9px;
}
.md-drawer-fields {
  display: grid;
}
.md-drawer-field {
  grid-template-columns: 112px minmax(0, 1fr) 34px;
  min-height: 42px;
  padding: 6px 0;
  border: 0;
  border-radius: 7px;
}
.md-drawer-field:hover {
  background: #fafaf8;
}
.md-drawer-field > label {
  color: #8c8d87;
  font-size: 11px;
  font-weight: 480;
}
.md-drawer-field > label i {
  width: 17px;
  color: #aaa9a4;
  font-size: 9px;
}
.md-drawer-field > div {
  min-width: 0;
  color: #484944;
  font-size: 12px;
}
.md-drawer-field > button {
  width: 30px;
  height: 28px;
  align-self: center;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--md-text-muted);
  font-size: 10px;
}
.md-drawer-field:hover > button {
  background: #f0f0ed;
}
.md-drawer-content .md-drawer-field {
  grid-template-columns: 112px minmax(0, 1fr) 34px;
  align-items: start;
  padding-top: 9px;
  padding-bottom: 9px;
}
.md-drawer-system {
  padding: 13px 0;
  border-bottom: 1px solid var(--md-border);
}
.md-drawer-system > summary {
  color: #94948f;
  font-size: 11px;
  cursor: pointer;
}
.md-drawer-system .md-drawer-fields {
  margin-top: 7px;
}
.md-record-thread {
  margin-top: 18px;
  border: 1px solid var(--md-border);
  border-radius: 12px;
  background: #fcfcfa;
}
.md-record-thread > nav {
  height: 40px;
  padding: 0 8px;
  border-color: var(--md-border);
}
.md-record-thread > nav button {
  height: 40px;
  padding: 0 10px;
  font-size: 11px;
}
.md-comment-list,
.md-activity-list {
  padding: 12px;
}
.md-record-thread form {
  padding: 0 12px 12px;
}
.md-record-thread textarea {
  min-height: 70px;
  border-color: var(--md-border);
  border-radius: 9px;
  background: #fff;
  font-size: 12px;
}
.md-record-drawer > footer {
  min-height: 58px;
  padding: 10px 18px;
  border-color: var(--md-border);
}

/* Member picker and field manager */
.md-member-choice-list label > span {
  position: relative;
  grid-template-columns: 34px minmax(90px, 1fr) minmax(100px, auto) 22px;
  min-height: 46px;
}
.md-member-choice-list img,
.md-member-choice-list label > span > i {
  width: 28px;
  height: 28px;
}
.md-choice-check {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 6px;
  background: var(--md-accent);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  opacity: 0;
}
.md-member-choice-list input:checked + span .md-choice-check {
  opacity: 1;
}
#modal:has(.md-field-manager) .modal-card {
  width: min(660px, calc(100vw - 32px));
  max-height: min(70vh, 720px);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--md-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(35, 32, 29, 0.16);
}
#modal:has(.md-field-manager) #modalBody {
  min-height: 0;
  overflow: hidden;
}
#modal:has(.md-field-manager) .modal-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--md-border);
  background: #fff;
}
.md-field-manager {
  max-height: min(48vh, 520px);
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--md-border);
  border-radius: 11px;
}
.md-field-manager > div {
  grid-template-columns: 22px 25px minmax(0, 1fr) auto;
  min-height: 48px;
  padding: 5px 9px;
  border-color: var(--md-border);
}
.md-field-row-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}
.md-field-row-actions > button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #8b8c86;
  font-size: 11px;
}
.md-field-row-actions > button:hover {
  background: #efefec;
  color: #555650;
}
.md-field-row-actions > em {
  margin: 0 5px;
  color: #aaa9a4;
  font-size: 9px;
}

/* Fine scrollbars: available on hover, never disabling scroll. */
.md-table-scroll,
.md-board,
.md-calendar,
.md-timeline,
.md-drawer-body,
.md-field-manager,
.md-choice-list,
.md-config-body,
.md-view-tabs {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
.md-table-scroll:hover,
.md-board:hover,
.md-calendar:hover,
.md-timeline:hover,
.md-drawer-body:hover,
.md-field-manager:hover,
.md-choice-list:hover,
.md-config-body:hover,
.md-view-tabs:hover {
  scrollbar-color: rgba(87, 84, 79, 0.22) transparent;
}
.md-table-scroll::-webkit-scrollbar,
.md-board::-webkit-scrollbar,
.md-calendar::-webkit-scrollbar,
.md-timeline::-webkit-scrollbar,
.md-drawer-body::-webkit-scrollbar,
.md-field-manager::-webkit-scrollbar,
.md-choice-list::-webkit-scrollbar,
.md-config-body::-webkit-scrollbar,
.md-view-tabs::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.md-table-scroll::-webkit-scrollbar-thumb,
.md-board::-webkit-scrollbar-thumb,
.md-calendar::-webkit-scrollbar-thumb,
.md-timeline::-webkit-scrollbar-thumb,
.md-drawer-body::-webkit-scrollbar-thumb,
.md-field-manager::-webkit-scrollbar-thumb,
.md-choice-list::-webkit-scrollbar-thumb,
.md-config-body::-webkit-scrollbar-thumb,
.md-view-tabs::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: transparent;
}
.md-table-scroll:hover::-webkit-scrollbar-thumb,
.md-board:hover::-webkit-scrollbar-thumb,
.md-calendar:hover::-webkit-scrollbar-thumb,
.md-timeline:hover::-webkit-scrollbar-thumb,
.md-drawer-body:hover::-webkit-scrollbar-thumb,
.md-field-manager:hover::-webkit-scrollbar-thumb,
.md-choice-list:hover::-webkit-scrollbar-thumb,
.md-config-body:hover::-webkit-scrollbar-thumb,
.md-view-tabs:hover::-webkit-scrollbar-thumb {
  background: rgba(87, 84, 79, 0.22);
}

@media (max-width: 1100px) {
  .md-workspace {
    height: 100%;
  }
  .md-toolbar {
    gap: 4px;
  }
  .md-toolbar-left {
    flex: 1;
  }
  .md-toolbar-search {
    width: 132px;
  }
  .md-toolbar-search:focus-within {
    width: 168px;
  }
  .md-tool {
    padding: 0 7px;
  }
}
@media (max-width: 760px) {
  body:has(#content > .md-workspace) .workspace-main {
    padding: 0 !important;
  }
  .md-workspace {
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .md-workspace-head {
    height: 50px;
  }
  .md-title b {
    max-width: 180px;
  }
  .md-viewbar {
    padding-left: 6px;
  }
  .md-toolbar {
    min-height: 82px;
    align-content: center;
    padding: 6px 8px;
  }
  .md-toolbar-left,
  .md-toolbar-right {
    width: 100%;
  }
  .md-toolbar-right {
    justify-content: flex-start;
  }
  .md-toolbar-search {
    flex: 1;
  }
  .md-toolbar-right > span {
    display: none;
  }
  .md-record-drawer {
    width: min(100vw, 500px);
  }
  .md-drawer-summary {
    grid-template-columns: 1fr;
  }
  .md-drawer-field {
    grid-template-columns: 92px minmax(0, 1fr) 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .md-grid-row,
  .md-grid-cell > button,
  .md-card-progress > i > b,
  .md-drawer-title > button {
    transition: none;
  }
}

/* V2 interaction system: one set of density, elevation and motion rules. */
:root {
  --md-radius-control: 8px;
  --md-radius-card: 12px;
  --md-radius-panel: 16px;
  --md-motion-fast: 140ms;
  --md-motion-popover: 190ms;
  --md-motion-panel: 260ms;
  --md-ease: cubic-bezier(0.22, 0.7, 0.24, 1);
  --md-ease-spring: cubic-bezier(0.22, 1.12, 0.36, 1);
  --md-panel-shadow: 0 18px 48px rgba(55, 40, 29, 0.13);
}

.md-workspace button,
.md-floating-panel button,
.md-record-drawer button {
  transition:
    background-color var(--md-motion-fast) ease,
    color var(--md-motion-fast) ease,
    border-color var(--md-motion-fast) ease,
    box-shadow var(--md-motion-fast) ease,
    transform var(--md-motion-fast) ease;
}
.md-workspace button:active:not(:disabled),
.md-floating-panel button:active:not(:disabled) {
  transform: scale(0.98);
}
.md-view-tabs button {
  position: relative;
  border-bottom: 0;
}
.md-view-tabs button::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--md-accent);
  opacity: 0;
  transform: scaleX(0.45);
  transition:
    opacity var(--md-motion-popover) ease,
    transform var(--md-motion-popover) var(--md-ease);
}
.md-view-tabs button.active::after {
  opacity: 1;
  transform: scaleX(1);
}
.md-view-host.md-view-enter > * {
  animation: md-view-enter var(--md-motion-popover) var(--md-ease) both;
}
@keyframes md-view-enter {
  from {
    opacity: 0.25;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.md-toolbar {
  min-width: 0;
  background: rgba(255, 255, 255, 0.94);
}
.md-toolbar-left,
.md-toolbar-right {
  min-width: 0;
}
.md-toolbar-search {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 190px;
  height: 32px;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: var(--md-radius-control);
  background: var(--md-subtle);
  color: var(--md-muted);
  transition:
    width var(--md-motion-popover) var(--md-ease),
    background var(--md-motion-fast) ease,
    border-color var(--md-motion-fast) ease;
}
.md-toolbar-search:focus-within {
  width: 230px;
  border-color: rgba(239, 125, 50, 0.25);
  background: #fff;
}
.md-toolbar-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--md-text);
  font: inherit;
}

.md-grid-head {
  height: 40px;
  backdrop-filter: blur(12px);
}
.md-grid-row,
.md-grid-cell,
.md-row-more,
.md-select-cell {
  height: 44px;
}
.md-grid-cell.is-frozen {
  position: sticky;
  left: var(--md-sticky-left);
  z-index: 7;
  background: inherit;
  box-shadow:
    1px 0 var(--md-border),
    inset 0 -1px var(--md-border);
}
.md-grid-head .md-grid-cell.is-frozen {
  z-index: 17;
  background: rgba(250, 249, 247, 0.98);
}
.md-grid-row > .md-select-cell,
.md-grid-head > .md-select-cell {
  box-shadow: inset 0 -1px var(--md-border);
}
.md-grid-header > em {
  color: #b0a69e;
  font-size: 11px;
  font-style: normal;
}
.md-grid-row {
  transition:
    background var(--md-motion-fast) ease,
    opacity var(--md-motion-fast) ease;
}
.md-grid-row:hover .md-grid-cell.is-frozen {
  background: #fffdfa;
}
.md-grid-row.selected .md-grid-cell.is-frozen {
  background: #fff8f2;
}
.md-formula-cell {
  color: #8a817a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.md-floating-panel {
  position: fixed;
  z-index: 520;
  box-sizing: border-box;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  overflow: auto;
  border: 1px solid rgba(59, 43, 30, 0.1);
  border-radius: var(--md-radius-panel);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--md-panel-shadow);
  opacity: 0;
  transform: translateY(6px) scale(0.985);
  transform-origin: top left;
  backdrop-filter: blur(20px) saturate(1.08);
  transition:
    opacity var(--md-motion-popover) ease,
    transform var(--md-motion-popover) var(--md-ease);
}
.md-floating-panel.opens-up {
  transform-origin: bottom left;
}
.md-floating-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.md-floating-panel.is-leaving {
  pointer-events: none;
  opacity: 0;
  transform: translateY(3px) scale(0.99);
}
.md-cell-popover {
  width: min(430px, calc(100vw - 24px));
}
.md-cell-popover.md-editor-member,
.md-cell-popover.md-editor-attachment,
.md-cell-popover.md-editor-document {
  width: min(520px, calc(100vw - 24px));
}
.md-cell-editor > header,
.md-config-panel > header {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 13px;
  border-bottom: 1px solid var(--md-line);
}
.md-cell-editor > header > span {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}
.md-cell-editor > header i {
  color: var(--md-accent);
  font-style: normal;
}
.md-cell-editor > header button,
.md-config-panel > header button {
  width: 30px;
  height: 30px;
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--md-muted);
  cursor: pointer;
}
.md-cell-editor > header button:hover,
.md-config-panel > header button:hover {
  background: var(--md-subtle);
}
.md-cell-editor-body {
  padding: 13px;
}
.md-cell-editor-body > input,
.md-cell-editor-body > textarea,
.md-cell-editor-body > select,
.md-cell-editor-body .md-date-range input,
.md-member-filters input,
.md-member-filters select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--md-line);
  border-radius: 9px;
  outline: 0;
  background: #fff;
  color: var(--md-text);
  font: inherit;
}
.md-cell-editor-body > input,
.md-cell-editor-body > select,
.md-member-filters input,
.md-member-filters select {
  height: 36px;
  padding: 0 10px;
}
.md-cell-editor-body > textarea {
  min-height: 116px;
  padding: 10px;
  resize: vertical;
}
.md-cell-editor-body :is(input, textarea, select):focus {
  border-color: rgba(239, 125, 50, 0.38);
  box-shadow: 0 0 0 3px rgba(239, 125, 50, 0.08);
}
.md-cell-editor > footer,
.md-config-panel > footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-top: 1px solid var(--md-line);
}
.md-cell-editor > footer small {
  flex: 1;
  color: var(--md-muted);
  font-size: 11px;
}
.md-choice-list {
  width: 100%;
  max-height: 320px;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
.md-choice-list::-webkit-scrollbar,
.md-field-manager::-webkit-scrollbar,
.md-config-body::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.md-choice-list::-webkit-scrollbar-thumb,
.md-field-manager::-webkit-scrollbar-thumb,
.md-config-body::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: transparent;
}
.md-choice-list label > span {
  min-width: 0;
}
.md-choice-list label > span > b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.md-choice-list label > span > small {
  max-width: 45%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.md-member-filters {
  position: sticky;
  top: 0;
  z-index: 2;
  padding-bottom: 8px;
  background: rgba(255, 255, 255, 0.97);
}

.md-config-popover {
  width: min(680px, calc(100vw - 24px));
}
.md-config-body {
  max-height: min(480px, calc(100vh - 180px));
  overflow: auto;
  padding: 12px;
}
.md-config-panel > footer {
  justify-content: flex-end;
}
.md-config-panel > footer .ghost {
  margin-right: auto;
}
.md-config-logic {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 3px;
  margin-bottom: 10px;
  padding: 3px;
  border-radius: 10px;
  background: var(--md-subtle);
  color: var(--md-muted);
  font-size: 12px;
}
.md-config-logic > span {
  padding: 0 6px;
}
.md-config-logic input {
  position: absolute;
  opacity: 0;
}
.md-config-logic i {
  display: block;
  padding: 6px 9px;
  border-radius: 7px;
  font-style: normal;
  cursor: pointer;
}
.md-config-logic input:checked + i {
  background: #fff;
  color: var(--md-text);
  box-shadow: 0 1px 4px rgba(46, 34, 25, 0.07);
}
.md-config-row {
  grid-template-columns: minmax(130px, 1fr) 110px minmax(130px, 1.1fr) 28px;
  align-items: center;
}
.md-config-row.sort {
  grid-template-columns: 24px minmax(150px, 1fr) 100px 28px;
}
.md-config-row > b {
  color: var(--md-muted);
  text-align: center;
}
.md-config-row > button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--md-muted);
  cursor: pointer;
}
.md-config-row > button:hover {
  background: #fff0ed;
  color: #b85b55;
}
.md-config-add {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 10px;
  padding: 0 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--md-muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition:
    background var(--md-duration-fast) var(--md-ease),
    color var(--md-duration-fast) var(--md-ease);
}
.md-config-add:hover {
  background: var(--md-subtle);
  color: var(--md-text);
}

.md-board-column > header > img,
.md-board-column > header > .md-option-dot.member {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: var(--md-accent-soft);
  color: var(--md-accent);
  font-size: 11px;
}
.md-board-column > header > span:not(.md-option-dot) {
  display: grid;
  min-width: 0;
}
.md-board-column > header em {
  color: var(--md-muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
}
.md-board-card {
  transition:
    opacity var(--md-motion-fast) ease,
    transform var(--md-motion-fast) var(--md-ease-spring),
    box-shadow var(--md-motion-fast) ease,
    border-color var(--md-motion-fast) ease;
}
.md-board-card.is-dragging {
  z-index: 8;
  opacity: 0.55;
  transform: scale(1.018) rotate(0.25deg);
  box-shadow: 0 12px 28px rgba(55, 42, 32, 0.15);
}
.md-board-column.drag-over {
  transform: translateY(-1px);
  transition:
    transform var(--md-motion-fast) var(--md-ease-spring),
    background var(--md-motion-fast) ease,
    border-color var(--md-motion-fast) ease;
}
.md-field-manager > div {
  min-width: 0;
  transition:
    background var(--md-motion-fast) ease,
    opacity var(--md-motion-fast) ease;
}
.md-field-manager > div:hover {
  background: #fcfaf8;
}
.md-field-manager > div.is-dragging {
  opacity: 0.45;
}
.md-field-grip {
  color: #c0b8b1;
  cursor: grab;
  font-weight: 400;
  letter-spacing: -2px;
}
.md-field-manager button:disabled {
  opacity: 0.45;
  cursor: default;
}
.md-field-help {
  display: block;
  margin-top: 5px;
  color: var(--md-muted);
  font-size: 11px;
  font-weight: 400;
}

.md-drawer-mask {
  animation: md-mask-in var(--md-motion-panel) ease both;
  backdrop-filter: blur(2px);
}
.md-record-drawer {
  animation: md-drawer-in var(--md-motion-panel) var(--md-ease) both;
}
.md-drawer-layer.is-leaving {
  pointer-events: none;
}
.md-drawer-layer.is-leaving .md-drawer-mask {
  opacity: 0;
  transition: opacity var(--md-motion-popover) ease;
}
.md-drawer-layer.is-leaving .md-record-drawer {
  opacity: 0;
  transform: translateX(18px);
  transition:
    opacity var(--md-motion-popover) ease,
    transform var(--md-motion-popover) var(--md-ease);
}
@keyframes md-mask-in {
  from {
    opacity: 0;
  }
}
@keyframes md-drawer-in {
  from {
    opacity: 0.7;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 980px) {
  .md-toolbar-search {
    width: 150px;
  }
  .md-toolbar-search:focus-within {
    width: 180px;
  }
  .md-toolbar-left {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .md-toolbar-left::-webkit-scrollbar {
    display: none;
  }
}
@media (max-width: 760px) {
  .md-toolbar-search {
    width: min(100%, 220px);
  }
  .md-toolbar-search:focus-within {
    width: min(100%, 260px);
  }
  .md-config-row,
  .md-config-row.sort {
    grid-template-columns: 1fr 92px 28px;
  }
  .md-config-row:not(.sort) > :nth-child(3) {
    grid-column: 1 / 3;
  }
  .md-config-row.sort > b {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .md-view-host.md-view-enter > *,
  .md-drawer-mask,
  .md-record-drawer {
    animation: none;
  }
  .md-floating-panel,
  .md-board-card,
  .md-workspace button {
    transition: none;
  }
}

/* Final specificity guards for legacy grid button rules. */
.md-grid-head .md-grid-header > button[data-md-field-menu] {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #aaa9a4;
  line-height: 1;
}

/* Table detail shares the same full-bleed MainContent edge as the table list. */

.md-grid-head {
  height: 42px;
}
.md-grid-head > .md-select-cell,
.md-grid-head > .md-row-more,
.md-grid-head > .md-grid-header {
  height: 42px;
}
.md-grid-row,
.md-grid-row > .md-select-cell,
.md-grid-row > .md-row-more,
.md-grid-row > .md-grid-cell {
  height: 44px;
}
.md-grid-head > .md-select-cell,
.md-grid-row > .md-select-cell {
  width: 40px;
  min-width: 40px;
  max-width: 40px;
}
.md-grid-cell.is-frozen {
  z-index: 7;
  background: #fff;
  box-shadow: 1px 0 var(--md-border);
}
.md-grid-head .md-grid-cell.is-frozen {
  z-index: 17;
  background: #fafaf8;
}
.md-grid-row:hover .md-grid-cell.is-frozen {
  background: #fcfcfa;
}
.md-grid-row.selected .md-grid-cell.is-frozen {
  background: var(--md-selected);
}
.md-grid-row > .md-select-cell,
.md-grid-head > .md-select-cell {
  border-bottom: 0;
  background: #fff;
  box-shadow: 1px 0 var(--md-border);
}
.md-grid-head > .md-select-cell {
  background: #fafaf8;
}
.md-record-group-head {
  position: relative;
  width: 100%;
  height: 36px;
  border-bottom: 1px solid var(--md-border);
  background: #fbfaf8;
}
.md-record-group > button {
  position: static;
}
.md-record-group-head > .md-group-label {
  position: sticky;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  width: max-content;
  max-width: min(420px, calc(100vw - 120px));
  height: 36px;
  gap: 8px;
  padding: 0 14px 0 12px;
  border: 0;
  background: #fbfaf8;
  color: #5e5751;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.md-record-group-head > .md-group-label b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.md-record-group-head > .md-group-label span {
  color: var(--md-muted);
  font-size: 12px;
}

.md-grid-cell.md-cell-attachment > button {
  padding: 3px 8px;
}
.md-attachment-cell {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 4px;
}
.md-attachment-thumb,
.md-attachment-file,
.md-attachment-more,
.md-attachment-upload {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid rgba(67, 57, 49, 0.1);
  border-radius: 8px;
  background: #f7f6f3;
  color: #88817a;
  font-size: 10px;
  font-style: normal;
}
.md-attachment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.md-attachment-thumb:hover,
.md-attachment-more:hover {
  border-color: rgba(239, 125, 50, 0.32);
  background: #fff8f2;
  color: var(--md-accent);
}
.md-attachment-cell [hidden]{display:none!important}
.md-attachment-upload.uploading,
.md-attachment-upload.saving,
.md-attachment-upload.queued {
  color: var(--md-accent);
  animation: md-attachment-pulse 1.2s ease-in-out infinite;
}
.md-attachment-upload.failed {
  border-color: rgba(184, 91, 85, 0.2);
  background: #fff4f3;
  color: #b85b55;
}
.md-grid-cell.is-attachment-active {
  box-shadow: inset 0 0 0 2px rgba(239, 125, 50, 0.18);
}
.md-grid-cell.is-drop-target {
  background: #fff4ea !important;
  box-shadow: inset 0 0 0 2px rgba(239, 125, 50, 0.42);
}
@keyframes md-attachment-pulse {
  50% { opacity: 0.45; }
}
.md-attachment-list-panel{width:min(420px,calc(100vw - 24px));padding:0!important;overflow:hidden}.md-attachment-list-popover>header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--md-border)}.md-attachment-list-popover>header span{display:grid;gap:2px}.md-attachment-list-popover>header small{color:var(--md-text-muted);font-size:9px}.md-attachment-list-popover>header button{width:28px;height:28px;border:0;border-radius:7px;background:transparent;cursor:pointer}.md-attachment-list-popover>div{display:grid;max-height:330px;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;overflow:auto;padding:12px}.md-attachment-list-image{display:grid;min-width:0;gap:5px;cursor:zoom-in}.md-attachment-list-image img{width:100%;aspect-ratio:1;border-radius:9px;object-fit:cover;background:#f2f0ed}.md-attachment-list-image small{overflow:hidden;color:var(--md-text-muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.md-attachment-list-file{display:flex;min-height:70px;align-items:center;gap:8px;padding:9px;border:1px solid var(--md-border);border-radius:9px;color:var(--md-text);text-decoration:none}.md-attachment-list-file i{font-style:normal}.md-attachment-list-file span{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}

.md-cell-popover {
  overflow: hidden;
}
.md-cell-editor {
  display: grid;
  max-height: min(680px, calc(100vh - 24px));
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.md-cell-editor-body {
  min-height: 0;
  overflow-x: hidden;
}
.md-editor-member .md-cell-editor-body,
.md-editor-document .md-cell-editor-body {
  display: grid;
  min-height: min(360px, 52vh);
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}
.md-editor-member .md-choice-list,
.md-editor-document .md-choice-list {
  min-height: 0;
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.md-member-filters {
  position: static;
}
.md-member-choice-list label > span:hover {
  background: #f8f7f4;
}
.md-member-choice-list input:checked + span {
  background: #fff7f0;
}
.md-cell-editor > footer [data-md-editor-hint].is-error {
  color: #b85b55;
}

.md-drawer-assets {
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
}
.md-drawer-asset-image {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 0;
  border-radius: 9px;
  background: var(--md-subtle);
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.md-drawer-asset-image > img {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 7px;
  object-fit: cover;
}
.md-drawer-asset-image > span {
  display: grid;
  min-width: 0;
}
.md-drawer-asset-image b,
.md-drawer-asset-image small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.md-drawer-asset-image small {
  color: var(--md-muted);
  font-size: 10px;
}

.media-viewer-stage {
  position: relative;
}
.media-viewer-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  transform: translate(-50%, -50%);
}
.media-viewer-stage:not(.is-loading):not(.is-error) .media-viewer-loading {
  display: none;
}
.media-viewer-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.5);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  transform: translateY(-50%);
}
.media-viewer-nav.previous { left: 14px; }
.media-viewer-nav.next { right: 14px; }
.media-viewer-panel > header small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}
.md-grid-head .md-grid-header > span {
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
}
.md-grid-head .md-grid-header:hover > button[data-md-field-menu],
.md-grid-head .md-grid-header > button[data-md-field-menu]:focus-visible {
  background: #efefec;
  color: #676862;
}
.md-floating-panel.md-field-context {
  width: 248px;
  padding: 7px;
  overflow: hidden;
  border-radius: 12px;
}

/* Keep the document rail from painting outside the zero-width workspace slot. */
.workspace-module-hidden .workspace-module-sidebar {
  overflow: hidden !important;
}
.workspace-module-hidden .workspace-module-sidebar .docs-categories {
  opacity: 0;
  pointer-events: none;
}

/* 2026-09 table readability: keep the dense grid, but make hierarchy and
   semantic state legible without changing saved widths or record values. */
.md-workspace {
  --md-text: var(--sy-text-primary,#222220);
  --md-text-strong: var(--sy-text-primary,#222220);
  --md-text-secondary: var(--sy-text-secondary,#66625f);
  --md-text-muted: var(--sy-text-tertiary,#8d8179);
  --md-border: var(--sy-border,#e8e8e4);
}
.md-workspace .md-grid-header {
  color: #50565f;
  font-size: 13px;
  font-weight: 600;
}
.md-workspace .md-grid-header > i,
.md-workspace .md-grid-header > button {
  color: #747b85;
}
.md-workspace .md-grid-cell > button:not(.md-row-more) {
  color: var(--md-text);
  font-size: 14px;
  line-height: 1.35;
}
.md-workspace .md-semantic-title > button,
.md-workspace .md-cell-title > button,
.md-workspace .md-record-group-head > .md-group-label b {
  font-weight: 600;
}
.md-workspace .md-member-names b {
  color: var(--md-text);
  font-size: 13px;
  font-weight: 550;
}
.md-workspace .md-member-names small,
.md-workspace .md-date-cell,
.md-workspace .md-record-group-head > .md-group-label span {
  color: var(--md-text-secondary);
  font-size: 12px;
}
.md-workspace .md-cell-empty {
  color: #9ba1aa;
}
.md-workspace .md-pill {
  min-height: 22px;
  box-sizing: border-box;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}
.md-workspace .md-pill.is-todo {
  background: #f6d8dd;
  color: #843746;
}
.md-workspace .md-pill.is-active {
  background: #ffe08a;
  color: #684b00;
}
.md-workspace .md-pill.is-review {
  background: #ddd9ff;
  color: #4d478e;
}
.md-workspace .md-pill.is-done {
  background: #bfe8cb;
  color: #255f3a;
}
.md-workspace .md-pill.is-paused,
.md-workspace .md-pill.is-normal {
  background: #e3e6ea;
  color: #505761;
}
.md-workspace .md-pill.is-medium {
  background: #ffe6a4;
  color: #725208;
}
.md-workspace .md-pill.is-high {
  background: #ffc58f;
  color: #7b3d0f;
}
.md-workspace .md-pill.is-critical {
  background: #df5b57;
  color: #fff;
}
.md-workspace .md-pill > i {
  width: 6px;
  height: 6px;
  opacity: 0.85;
}
.md-workspace .md-progress::before,
.md-workspace .md-progress > i {
  height: 6px;
}
.md-workspace .md-progress::before {
  background: #e5e8eb;
}
.md-workspace .md-progress small {
  color: #59616c;
  font-size: 12px;
  font-weight: 600;
}
.md-workspace .md-record-group-head > .md-group-label {
  color: #373d45;
  font-size: 13px;
}
.md-workspace .md-grid-row,
.md-workspace .md-grid-cell,
.md-workspace .md-grid-head {
  border-color: var(--md-border);
}
.md-choice-list.is-scrolling,.md-field-manager.is-scrolling,.md-config-body.is-scrolling,.md-table-scroll.is-scrolling,.md-board.is-scrolling,.md-calendar.is-scrolling,.md-timeline.is-scrolling,.md-drawer-body.is-scrolling,.md-view-tabs.is-scrolling{scrollbar-color:rgba(87,84,79,.22) transparent}
.md-choice-list.is-scrolling::-webkit-scrollbar-thumb,.md-field-manager.is-scrolling::-webkit-scrollbar-thumb,.md-config-body.is-scrolling::-webkit-scrollbar-thumb,.md-table-scroll.is-scrolling::-webkit-scrollbar-thumb,.md-board.is-scrolling::-webkit-scrollbar-thumb,.md-calendar.is-scrolling::-webkit-scrollbar-thumb,.md-timeline.is-scrolling::-webkit-scrollbar-thumb,.md-drawer-body.is-scrolling::-webkit-scrollbar-thumb,.md-view-tabs.is-scrolling::-webkit-scrollbar-thumb{background:rgba(87,84,79,.22)}
