

/* file: /mnt/data/wiz/project/main/build/src/styles.scss */
html,
body,
app-root {
  width: 100%;
  height: 100%;
  margin: 0;
  display: block;
  overflow: hidden;
  color: #202124;
  background: #fcfdfe;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.ui-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

input,
select,
textarea {
  width: 100%;
  min-height: 36px;
  border: 1px solid #e1e5e9;
  border-radius: 6px;
  padding: 0 10px;
  color: #202124;
  background: #fff;
  outline: 0;
}

select {
  appearance: none;
  padding-right: 30px;
}

textarea {
  min-height: 72px;
  padding: 9px 10px;
  resize: vertical;
}

.auth-page {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: #f6f8f9;
}

.auth-shell {
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(320px, 1fr);
  border: 1px solid #e0e5e9;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 60px rgba(33, 37, 41, 0.12);
}

.auth-brand {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 34px;
  color: #f8fafc;
  background: #3f3f46;
}

.auth-logo {
  width: 58px;
  height: 58px;
  display: block;
  object-fit: contain;
}

.auth-brand h1,
.auth-brand p,
.auth-panel header strong,
.auth-panel header span {
  margin: 0;
}

.auth-brand h1 {
  font-size: 28px;
  line-height: 1.1;
}

.auth-brand p {
  max-width: 260px;
  color: #d9dee4;
  line-height: 1.5;
}

.auth-panel {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 34px;
}

.auth-panel header {
  display: grid;
  gap: 5px;
}

.auth-panel header strong {
  color: #202124;
  font-size: 22px;
}

.auth-panel header span {
  color: #687078;
  font-size: 13px;
}

.auth-fields {
  display: grid;
  gap: 9px;
}

.auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.auth-submit {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #202124;
  font-weight: 800;
}

.auth-switch {
  min-height: 36px;
  border: 1px solid #dfe4e8;
  border-radius: 6px;
  color: #3f4542;
  background: #fff;
  font-weight: 700;
}

.app-frame {
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  background: #fcfdfe;
  overflow: hidden;
}

.app-titlebar {
  position: relative;
  display: grid;
  place-items: center;
  border-bottom: 1px solid #e2e6ea;
  color: #4a4d4b;
  background: #f5f8f9;
  font-size: 15px;
  font-weight: 800;
}

.window-controls {
  position: absolute;
  left: 12px;
  display: inline-flex;
  gap: 9px;
}

.window-control {
  width: 13px;
  height: 13px;
  border-radius: 999px;
}

.window-control.close {
  background: #ff5f57;
}

.window-control.minimize {
  background: #ffbd2e;
}

.window-control.maximize {
  background: #28c840;
}

.shell {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  background: #fcfdfe;
  overflow: hidden;
}

.side {
  position: relative;
  z-index: 1000;
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  padding: 14px 10px;
  border-right: 1px solid #e2e6ea;
  background: #fff;
  overflow: visible;
}

.logo-link {
  min-height: 52px;
  display: grid;
  place-items: center;
  color: inherit;
  text-decoration: none;
}

.app-symbol {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
}

.side nav {
  display: grid;
  align-content: start;
  gap: 6px;
}

.side-link {
  min-height: 50px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 6px;
  color: #555b58;
  background: transparent;
  font-size: 14px;
  text-decoration: none;
}

.side-link.active,
.side-link:hover {
  color: #3f3f46;
  background: #f4f4f5;
}

.side-link .ui-icon {
  width: 18px;
  height: 18px;
}

.side-utilities {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.logout-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 0;
  color: #6b716e;
  background: transparent;
  font-size: 16px;
  line-height: 1;
}

.logout-button:hover,
.logout-button:focus-visible {
  color: #3f3f46;
  background: #f4f4f5;
  outline: 0;
}

.notification-corner {
  position: relative;
  z-index: 1100;
}

.notification-trigger {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  color: #6b716e;
  background: transparent;
}

.notification-trigger.active,
.notification-trigger:hover {
  color: #3f3f46;
  background: #f4f4f5;
}

.bell-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
}

.notification-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: #d33b32;
  font-size: 10px;
  font-weight: 800;
}

.notification-popover {
  position: absolute;
  z-index: 1101;
  bottom: 0;
  left: 48px;
  width: min(340px, 100vw - 128px);
  display: grid;
  gap: 8px;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(33, 37, 41, 0.15);
}

.notification-popover header {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.notification-popover header button {
  border: 0;
  color: #687078;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.notification-list {
  max-height: 300px;
  display: grid;
  gap: 4px;
  overflow: auto;
}

.notification-list p {
  margin: 0;
  padding: 14px 8px;
  color: #777b78;
  font-size: 12px;
}

.notification-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  border: 0;
  border-radius: 6px;
  padding: 8px;
  color: #202124;
  background: #fff;
  text-align: left;
}

.notification-item:hover {
  background: #f6f7f8;
}

.notification-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #687078;
  background: #f3f4f6;
}

.notification-icon .ui-icon {
  width: 15px;
  height: 15px;
}

.notification-icon.nudge {
  color: #7a6258;
  background: #faf4f1;
}

.notification-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.notification-copy strong,
.notification-copy em,
.notification-copy small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notification-copy strong {
  font-size: 12px;
}

.notification-copy em {
  color: #4f565f;
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.notification-copy small {
  color: #888d8a;
  font-size: 11px;
}

.work,
.work-page,
.compact-page {
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.work {
  position: relative;
  display: block;
}

.work-page,
.compact-page {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.compact-page {
  gap: 12px;
}

.status-page::before,
.calendar-page::before,
.settings-page::before {
  content: "";
  flex: 0 0 40px;
}

.bar {
  position: relative;
  flex: 0 0 auto;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.work-bar {
  justify-content: center;
}

.work-bar > .refresh-button {
  position: absolute;
  right: 0;
}

.icon,
.primary,
.ghost {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 6px;
}

.icon {
  width: 36px;
  flex: 0 0 36px;
  border: 1px solid #e1e5e9;
  color: #313533;
  background: #fff;
  font-size: 12px;
}

.icon .ui-icon {
  width: 18px;
  height: 18px;
}

.primary .ui-icon,
.ghost .ui-icon {
  width: 16px;
  height: 16px;
}

.primary {
  color: #fff;
  background: #777f89;
  font-weight: 800;
}

.ghost {
  border: 1px solid #e1e5e9;
  color: #313533;
  background: #fff;
}

.small {
  min-width: 38px;
  padding: 0 12px;
}

.mini {
  min-height: 30px;
  padding: 0 9px;
  font-size: 12px;
}

.danger {
  color: #a13c34;
}

.work-date-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.work-date-picker-wrap {
  position: relative;
  width: 292px;
  display: inline-flex;
  z-index: 20;
}

.work-date-display {
  width: 292px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e1e5e9;
  border-radius: 6px;
  padding: 0 16px;
  color: #202124;
  background: #fff;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.work-date-picker-wrap > .work-date-display {
  width: 100%;
  cursor: pointer;
}

.work-date-picker-wrap.open > .work-date-display {
  border-color: #c8d3dc;
  box-shadow: 0 0 0 3px rgba(113, 128, 150, 0.12);
}

.work-date-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 40;
  width: 292px;
  display: grid;
  gap: 8px;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(32, 33, 36, 0.16);
  transform: translateX(-50%);
}

.work-date-calendar-toolbar {
  width: 100%;
  min-height: 32px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 6px;
}

.work-date-calendar-toolbar strong {
  min-width: 0;
  color: #202124;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.work-date-calendar-nav {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e1e5e9;
  border-radius: 6px;
  color: #313533;
  background: #fff;
}

.work-date-calendar-nav .ui-icon {
  width: 16px;
  height: 16px;
}

.work-date-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.work-date-weekday {
  height: 24px;
  display: grid;
  place-items: center;
  color: #747a77;
  font-size: 11px;
  font-weight: 800;
}

.work-date-calendar-day {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0;
  color: #343a37;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.work-date-calendar-day:hover {
  border-color: #d6dee5;
  background: #f7f9fb;
}

.work-date-calendar-day.muted {
  color: #a3a9a6;
}

.work-date-calendar-day.today {
  border-color: #c8d3dc;
  background: #fffdf2;
}

.work-date-calendar-day.selected {
  border-color: #3f4542;
  color: #fff;
  background: #3f4542;
}

.date-shift {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
}

.today-return {
  min-width: 58px;
  min-height: 40px;
  border: 1px solid #e1e5e9;
  border-radius: 6px;
  color: #46504d;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.work-day-panel {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.today-board {
  width: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  overflow: hidden;
}

.today-board.done-only {
  grid-template-columns: minmax(0, 1fr);
}

.today-column {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  gap: 8px;
  border: 1px solid #e2e6ea;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.today-column header {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid #e8ebee;
  background: #fcfdfe;
}

.today-heading {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}

.today-heading h2 {
  margin: 0;
  font-size: 15px;
}

.today-count {
  min-width: 26px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #5f6562;
  background: #f4f4f5;
  font-size: 12px;
  font-weight: 800;
}

.section-add {
  width: 28px;
  height: 28px;
  margin-left: auto;
  border: 1px solid #d6d8d2;
  border-radius: 6px;
  color: #46504d;
  background: #fff;
  font-size: 16px;
  line-height: 1;
}

.section-add .ui-icon {
  width: 15px;
  height: 15px;
}

.today-list {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 2px;
  margin: 0;
  padding: 4px;
  list-style: none;
  overflow: auto;
}

.today-empty {
  margin: 4px 12px 12px;
  color: #858a87;
  font-size: 15px;
  line-height: 1.45;
}

.today-item {
  min-height: 38px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  border-radius: 6px;
}

.today-item:hover {
  background: #f6f6f6;
}

.todo-check,
.today-content,
.today-delete {
  border: 0;
  background: transparent;
}

.todo-check {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #818892;
}

.todo-check .ui-icon {
  width: 16px;
  height: 16px;
}

.today-content {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 0;
  color: inherit;
  text-align: left;
}

.today-title,
.today-detail {
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.today-title {
  color: #202124;
  font-weight: 700;
  line-height: 1.25;
}

.today-detail {
  color: #7b807d;
  font-size: 12px;
  line-height: 1.25;
}

.today-delete {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #9a4b45;
}

.today-delete .ui-icon {
  width: 15px;
  height: 15px;
}

.today-delete.muted {
  pointer-events: none;
}

.project-tag,
.project-inline-tag,
.schedule-project-tag {
  max-width: 128px;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--project-border, #e1e5e9);
  border-radius: 999px;
  padding: 0 8px;
  color: var(--project-text, #626a73);
  background: var(--project-bg, #f3f4f6);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-layer {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  align-items: start;
  justify-items: center;
  padding-top: 74px;
}

.quick-command {
  position: relative;
  width: min(600px, 100vw - 48px);
  display: grid;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid rgba(216, 216, 210, 0.86);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 80px rgba(32, 33, 36, 0.22);
}

.quick-date-label {
  color: #5f6562;
  font-size: 13px;
  font-weight: 800;
}

.quick-command input,
.quick-command textarea {
  border: 0;
  box-shadow: none;
}

.quick-command input {
  height: 44px;
  font-size: 18px;
}

.quick-command input + input,
.quick-command textarea {
  border-top: 1px solid #f0f1f3;
  border-radius: 0;
}

.quick-project-menu {
  display: grid;
  gap: 2px;
  max-height: 160px;
  overflow: auto;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  padding: 4px;
  background: #fff;
}

.quick-project-menu button {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 6px;
  padding: 0 10px;
  color: #202124;
  background: transparent;
}

.quick-project-menu button:hover {
  background: #f4f4f5;
}

.quick-project-menu button.active {
  background: #edf3f5;
}

.quick-project-menu em {
  color: #777b78;
  font-size: 12px;
  font-style: normal;
}

.quick-project-empty {
  min-height: 32px;
  display: grid;
  place-items: center;
  color: #777b78;
  font-size: 12px;
}

.quick-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.quick-feedback,
.msg {
  margin: 0;
  color: #a13c34;
  font-size: 12px;
  line-height: 1.45;
}

.msg.wide {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid #efcdc9;
  border-radius: 6px;
  background: #fff7f5;
}

.hint {
  margin: 0;
  color: #686f6b;
  font-size: 12px;
  line-height: 1.45;
}

.hint.ok {
  color: #6f7782;
}

.panel {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  overflow: hidden;
}

.panel.slim {
  max-width: 1120px;
}

.project-panel {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.schedule-panel {
  grid-template-rows: auto minmax(0, 1fr);
}

.filters {
  display: grid;
  gap: 7px;
}

.all-filters {
  grid-template-columns: auto 136px 136px minmax(104px, 0.8fr) minmax(116px, 0.9fr) minmax(120px, 1fr) minmax(150px, 1fr) auto 58px 64px;
  align-items: center;
}

.status-toolbar {
  grid-template-columns: 128px 170px minmax(170px, 0.75fr) minmax(180px, 0.8fr) minmax(190px, 1fr) 212px;
  align-items: end;
  gap: 8px;
}

.status-toolbar select,
.status-toolbar input {
  height: 36px;
  min-height: 36px;
  border-color: #dfe5ea;
  border-radius: 7px;
  padding: 0 10px;
  color: #2c302e;
}

.status-select-field {
  position: relative;
  min-width: 0;
}

.status-select-field .ui-icon-chevron-down {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 14px;
  height: 14px;
  color: #69727a;
  pointer-events: none;
  transform: translateY(-50%);
}

.status-preset-select {
  background: #fff;
}

.status-toolbar select {
  appearance: none;
  width: 100%;
  padding-right: 34px;
  background-color: #fff;
}

.status-date-range {
  min-width: 0;
  height: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  border: 1px solid #dfe5ea;
  border-radius: 7px;
  padding: 0 8px;
  background: #fff;
}

.status-date-range input {
  height: 30px;
  min-height: 30px;
  border: 0;
  padding: 0;
  color: #69727a;
}

.status-date-range span {
  color: #69727a;
}

.status-search::placeholder {
  color: #8a9299;
}

.status-actions {
  display: grid;
  grid-template-columns: 82px 82px 36px;
  justify-content: end;
  justify-items: end;
  gap: 6px;
}

.status-actions .icon,
.status-reset-button {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border-color: #dfe5ea;
  border-radius: 7px;
}

.status-reset-button {
  width: 82px;
  flex-basis: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe5ea;
  color: #3f4542;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.status-reset-button:hover,
.status-reset-button:focus-visible {
  outline: 0;
  background: #f7f9fb;
}

.visually-hidden-submit {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.preset-group {
  display: inline-flex;
  gap: 5px;
  white-space: nowrap;
}

.preset {
  min-height: 32px;
  border: 1px solid #e1e5e9;
  border-radius: 6px;
  padding: 0 9px;
  color: #4d5350;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.preset.active {
  color: #202124;
  background: #f4f4f5;
  border-color: #cdd3d8;
}

.project-form {
  grid-template-columns: minmax(180px, 1fr) minmax(220px, 2fr) 48px 48px;
}

.status-legend {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.legend-status {
  min-width: 50px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 800;
}

.legend-status.planned,
.legend-status.planned:hover {
  color: #5f6872;
  background: #f3f4f6;
}

.legend-status.done,
.legend-status.done:hover {
  color: #4f7d5d;
  background: #f2faf4;
}

.legend-status.active {
  border-color: #8f98a3;
  color: #3f3f46;
  box-shadow: 0 0 0 2px rgba(143, 152, 163, 0.12);
}

.schedule-guide {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 8px;
  color: #686f6b;
  font-size: 12px;
}

.schedule-guide p {
  margin: 0;
}

.schedule-board {
  --schedule-date-width: 58px;
  --schedule-day-width: 42px;
  --schedule-event-width: 168px;
  --schedule-user-width: 214px;
  min-width: 0;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 6px;
  height: 100%;
  overflow: auto;
  border-radius: 8px;
  background: #f8f9fa;
  padding: 6px;
}

.schedule-grid {
  min-width: max-content;
  display: grid;
  grid-template-columns: var(--schedule-date-width) var(--schedule-day-width) var(--schedule-event-width) max-content;
  align-items: stretch;
}

.schedule-head {
  position: sticky;
  top: 0;
  z-index: 6;
}

.schedule-head > div,
.schedule-row > div {
  min-height: 44px;
}

.schedule-row {
  position: relative;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(32, 33, 36, 0.04);
}

.schedule-row.weekend {
  background: #fffafa;
}

.schedule-row.today {
  background: #fffdf2;
}

.schedule-row.today::before {
  content: "";
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: #a3a8ae;
  z-index: 1;
}

.schedule-static {
  position: sticky;
  z-index: 3;
  display: grid;
  align-content: start;
  border-right: 1px solid #eceff3;
  padding: 9px 8px;
  background: inherit;
}

.schedule-date-head,
.schedule-date {
  left: 0;
  justify-items: center;
}

.schedule-day-head,
.schedule-day {
  left: var(--schedule-date-width);
  justify-items: center;
}

.schedule-event-head,
.schedule-events {
  left: calc(var(--schedule-date-width) + var(--schedule-day-width));
}

.schedule-date-head,
.schedule-day-head,
.schedule-event-head,
.schedule-user-head {
  color: #666b68;
  background: #f7f7f8;
  font-size: 12px;
  font-weight: 800;
}

.schedule-date strong {
  font-size: 14px;
}

.schedule-day {
  color: #6d716f;
  font-size: 12px;
  font-weight: 800;
}

.schedule-users-head,
.schedule-user-cells {
  display: grid;
  grid-auto-columns: var(--schedule-user-width);
  grid-auto-flow: column;
}

.schedule-user-head {
  min-width: 0;
  display: grid;
  gap: 2px;
  align-content: center;
  border-right: 1px solid #eceff3;
  padding: 7px 9px;
}

.schedule-user-drag {
  cursor: grab;
  user-select: none;
  transition: background 0.12s ease, opacity 0.12s ease, box-shadow 0.12s ease;
}

.schedule-user-drag:hover,
.schedule-user-drag:focus-visible {
  outline: 0;
  background: #f0f4f7;
}

.schedule-user-drag.dragging {
  opacity: 0.62;
  cursor: grabbing;
  background: #eaf1f5;
  box-shadow: inset 0 0 0 1px #cbd7df;
}

.schedule-user-head strong,
.schedule-user-head span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-user-head span,
.schedule-detail {
  color: #7b807d;
  font-size: 11px;
}

.schedule-cell {
  position: relative;
  min-width: 0;
  border-right: 1px solid #eceff3;
  padding: 7px;
}

.schedule-cell-add {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid #d9e0e5;
  border-radius: 6px;
  color: #46504d;
  background: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  line-height: 1;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.schedule-cell-add .ui-icon,
.calendar-day-add .ui-icon {
  width: 14px;
  height: 14px;
}

.schedule-cell.can-add:hover .schedule-cell-add,
.schedule-cell.can-add:focus-within .schedule-cell-add {
  opacity: 1;
  transform: translateY(0);
}

.center-event-chip {
  width: fit-content;
  max-width: 100%;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 999px;
  margin: 0 0 4px;
  padding: 0 8px;
  color: #4f565f;
  background: #f3f4f6;
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

button.center-event-chip {
  cursor: pointer;
  text-align: left;
}

button.center-event-chip:hover,
button.center-event-chip:focus-visible {
  background: #eceff3;
  outline: 0;
}

.schedule-empty-cell,
.schedule-cell.no-users {
  color: #a0a5a2;
  font-size: 12px;
}

.schedule-cell-content,
.schedule-project-group {
  display: grid;
  gap: 4px;
}

.schedule-add-modal {
  width: min(520px, 100%);
}

.schedule-project-field {
  position: relative;
  display: grid;
}

.schedule-project-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 5;
  display: grid;
  gap: 2px;
  max-height: 180px;
  overflow: auto;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  padding: 4px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(33, 37, 41, 0.12);
}

.schedule-project-menu button {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 6px;
  padding: 0 10px;
  color: #202124;
  background: transparent;
}

.schedule-project-menu button:hover {
  background: #f4f4f5;
}

.schedule-project-menu em {
  color: #777b78;
  font-size: 12px;
  font-style: normal;
}

.schedule-project-tag {
  min-height: 20px;
  font-size: 11px;
  font-weight: 800;
}

.schedule-todo {
  width: 100%;
  min-height: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  align-items: start;
  border: 0;
  border-radius: 6px;
  padding: 5px 6px 5px 7px;
  color: #202124;
  background: #f6f7f8;
  text-align: left;
}

.schedule-todo.done {
  background: #f2faf4;
}

.schedule-title,
.schedule-detail {
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-title {
  color: #202124;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.calendar-panel {
  grid-template-rows: auto minmax(0, 1fr);
}

.calendar-toolbar {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar-toolbar strong {
  min-width: 86px;
  color: #202124;
  font-size: 16px;
}

.calendar-add-main {
  margin-left: auto;
  padding: 0 12px;
}

.calendar-grid {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(118px, 1fr));
  grid-template-rows: 36px repeat(6, minmax(104px, 1fr));
  gap: 6px;
  overflow: auto;
  border-radius: 8px;
  padding: 6px;
  background: #f8f9fa;
}

.calendar-weekday {
  min-height: 28px;
  display: grid;
  place-items: center;
  color: #666b68;
  font-size: 12px;
  font-weight: 800;
}

.calendar-day {
  min-width: 0;
  min-height: 104px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 6px;
  border: 1px solid #e2e6ea;
  border-radius: 8px;
  padding: 8px;
  background: #fff;
}

.calendar-day.muted {
  color: #a0a5a2;
  background: #fbfcfd;
}

.calendar-day.today {
  border-color: #c8d3dc;
  background: #fffdf2;
}

.calendar-day header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 24px;
}

.calendar-day header strong {
  font-size: 13px;
}

.calendar-day-add {
  position: relative;
  z-index: 2;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9e0e5;
  border-radius: 6px;
  padding: 0;
  color: #46504d;
  background: #fff;
  font-size: 0;
  line-height: 0;
  opacity: 0;
  transition: opacity 120ms ease;
}

.calendar-day:hover .calendar-day-add,
.calendar-day:focus-within .calendar-day-add {
  opacity: 1;
}

.calendar-event-list {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 4px;
  overflow: hidden;
}

.calendar-event-chip {
  min-width: 0;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border: 0;
  border-radius: 6px;
  padding: 0 8px;
  color: #3f4542;
  background: #f2faf4;
  font-size: 12px;
  font-weight: 800;
}

.calendar-event-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-event-chip em {
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #4f7d5d;
  background: #fff;
  font-size: 10px;
  font-style: normal;
}

.calendar-event-modal {
  width: min(560px, 100%);
}

.participant-picker {
  display: grid;
  gap: 8px;
}

.participant-picker > strong {
  font-size: 13px;
}

.participant-picker > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.participant-pill {
  min-height: 30px;
  border: 1px solid #e1e5e9;
  border-radius: 999px;
  padding: 0 10px;
  color: #5d625f;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.participant-pill.selected {
  color: #4f7d5d;
  background: #effaf2;
  border-color: #d8eedf;
}

.participant-pill.self-disabled,
.participant-pill.selected.self-disabled {
  color: #8a908d;
  background: #f2f4f5;
  border-color: #e2e6ea;
  cursor: default;
  opacity: 1;
}

.calendar-event-description {
  margin: 0;
  color: #3d4240;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.project-page {
  gap: 10px;
}

.project-toolbar {
  flex: 0 0 auto;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.project-add-text-button {
  min-width: 112px;
  height: 36px;
  padding: 0 12px;
}

.project-card-grid {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 254px;
  align-content: start;
  gap: 12px;
  overflow: hidden;
}

.project-card-grid > .empty {
  grid-column: 1/-1;
}

.project-card {
  min-width: 0;
  height: 254px;
  min-height: 0;
  display: grid;
  grid-template-rows: 34px 44px 28px 60px;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--project-border, #e0e6eb);
  border-radius: 8px;
  padding: 16px;
  background: var(--project-bg, #fff);
}

.project-card.inactive {
  color: #777b78;
  background: #f8fbfd;
  border-color: #e2e6ea;
}

.project-card-header,
.project-card-meta {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-card-header {
  justify-content: space-between;
}

.project-card-title {
  min-width: 0;
  border: 0;
  padding: 0;
  color: #202124;
  background: transparent;
  text-align: left;
}

.project-card-title strong {
  min-width: 0;
  display: block;
  overflow: hidden;
  color: var(--project-text, #202124);
  font-size: 17px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-card-title:disabled {
  cursor: default;
  opacity: 1;
}

.project-card-description {
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: #4f565f;
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.project-card-meta {
  color: #7b878b;
  font-size: 13px;
  font-weight: 700;
}

.project-card-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-card-meta .icon {
  margin-left: auto;
}

.project-member-section {
  min-width: 0;
  height: 60px;
  display: grid;
  align-content: start;
  gap: 8px;
  overflow: hidden;
}

.project-member-list {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 26px;
  gap: 8px;
}

.project-member-pill {
  min-width: 0;
  height: 26px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--project-border, #dce8f0);
  border-radius: 999px;
  padding: 0 8px;
  color: var(--project-text, #4f565f);
  background: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-member-empty {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  color: #747b78;
  font-size: 12px;
}

.join-button {
  width: 78px;
  min-height: 28px;
  flex: 0 0 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e1e5e9;
  border-radius: 999px;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.join-button.joined {
  color: #16794a;
  background: #eaf7ef;
  border-color: #b9dfc8;
}

.join-button.open {
  color: var(--project-text, #5d625f);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--project-border, #e1e5e9);
}

.project-pagination {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.project-page-buttons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.project-page-button {
  min-width: 34px;
  height: 34px;
  border: 1px solid #e1e5e9;
  border-radius: 6px;
  color: #4f565f;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.project-page-button.active {
  color: #fff;
  background: #777f89;
  border-color: #777f89;
}

.project-page-label {
  min-width: 42px;
  color: #687078;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.project-modal {
  width: min(560px, 100vw - 48px);
  gap: 10px;
  padding: 16px;
}

.project-modal header {
  min-height: 42px;
}

.project-modal header strong {
  color: #202124;
  font-size: 18px;
}

.project-modal input {
  height: 42px;
  min-height: 42px;
  font-size: 16px;
}

.project-modal-footer {
  min-height: 44px;
}

.project-submit {
  min-width: 64px;
  height: 44px;
  padding: 0 14px;
}

.project-save {
  min-width: 64px;
  height: 44px;
}

.empty {
  min-height: 90px;
  display: grid;
  place-items: center;
  border: 1px dashed #cad8e2;
  border-radius: 8px;
  color: #737775;
  background: rgba(255, 255, 255, 0.54);
}

.settings-grid {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  gap: 12px;
  align-items: start;
  overflow: auto;
}

.settings-column {
  display: grid;
  gap: 12px;
}

.settings-panel {
  min-width: 0;
  display: grid;
  gap: 10px;
  border: 1px solid #e2e6ea;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.settings-panel header {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.settings-panel dl {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 7px 10px;
  margin: 0;
  font-size: 13px;
}

.settings-panel dt {
  color: #6d716f;
}

.settings-panel dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-form {
  display: grid;
  gap: 8px;
}

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

.readonly-line {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid #dce8f0;
  border-radius: 6px;
  padding: 0 10px;
  color: #6d716f;
  background: #f8fbfd;
  font-size: 12px;
}

.readonly-line span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.readonly-line em {
  font-style: normal;
}

.password-panel .primary {
  background: #202124;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(15, 23, 42, 0.36);
}

.modal {
  width: min(480px, 100%);
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px solid #d6e2eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.16);
}

.modal header,
.modal footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logout-confirm-modal p {
  margin: 0;
  color: #4f565d;
  font-size: 14px;
  line-height: 1.5;
}

.logout-confirm-modal footer {
  justify-content: flex-end;
  gap: 8px;
}

.complete-target {
  display: grid;
  gap: 3px;
  border: 1px solid #dce8f0;
  border-radius: 6px;
  padding: 9px 10px;
  background: #f8fbfd;
}

.todo-detail-modal {
  width: min(560px, 100%);
}

.detail-grid {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 8px 10px;
  font-size: 13px;
}

.detail-grid span {
  color: #6d716f;
}

.detail-grid strong,
.detail-grid em,
.detail-grid p {
  min-width: 0;
  margin: 0;
}

.detail-grid em {
  font-style: normal;
}

.detail-grid p {
  color: #3d4240;
  line-height: 1.45;
  white-space: pre-wrap;
}

@media (max-width: 1180px) {
  .project-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .all-filters,
  .status-toolbar,
  .project-form,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .status-actions {
    grid-template-columns: 82px 82px 36px;
    justify-content: end;
  }
  .project-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .auth-page {
    padding: 14px;
  }
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-brand,
  .auth-panel {
    padding: 24px;
  }
  .auth-row {
    grid-template-columns: 1fr;
  }
  .shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }
  .side {
    grid-template-rows: auto;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    padding: 10px;
  }
  .side nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .side-utilities {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .notification-popover {
    top: 46px;
    right: 0;
    bottom: auto;
    left: auto;
    width: min(340px, 100vw - 28px);
  }
  .project-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .today-board {
    grid-template-columns: 1fr;
  }
  .calendar-grid {
    grid-template-columns: repeat(7, minmax(96px, 1fr));
  }
}