:root {
  --bg: #f5f5f0;
  --ink: #101010;
  --muted: #5a5a5a;
  --line: #e0ddd5;
  --panel: #ffffff;
  --sidebar: #fafaf7;
  --accent: #f9ca00;
  --accent-strong: #d4a900;
  --accent-soft: #fef9e7;
  --class: #101010;
  --class-soft: #f0f0f0;
  --warm: #f9ca00;
  --warm-strong: #d4a900;
  --soft: #f5f3ed;
  --danger: #c4320a;
  --shadow: 0 8px 22px rgba(16, 16, 16, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

.hidden {
  display: none !important;
}

.login-screen {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 22px;
  background: var(--bg);
}

.login-card {
  display: grid;
  gap: 14px;
  width: min(420px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 26px;
  box-shadow: var(--shadow);
}

.login-card h1,
.login-card p {
  margin: 0;
}

.login-card p,
.login-hint {
  color: var(--muted);
  font-size: 13px;
}

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

select:disabled,
input:disabled,
textarea:disabled {
  color: #344054;
  background: #f8fafc;
  cursor: not-allowed;
  opacity: 1;
}

button {
  border: 0;
  cursor: pointer;
}

.link-button {
  justify-self: center;
  min-height: 32px;
  border-radius: 8px;
  background: transparent;
  color: var(--link, #2563eb);
  padding: 0 8px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-button:hover {
  background: #eff6ff;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.app-shell {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: var(--sidebar);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #101010;
  color: #fff;
  font-weight: 800;
}

.brand h1,
.toolbar h2,
.panel h3 {
  margin: 0;
}

.brand h1 {
  font-size: 22px;
}

.brand p,
.toolbar p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.room-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: var(--class-soft);
  color: var(--class);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 9px;
}

.search-block,
.filter-block {
  margin-bottom: 18px;
}

label,
.mini-label {
  display: grid;
  gap: 7px;
  color: #354252;
  font-size: 13px;
  font-weight: 650;
}

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

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #f9ca00;
  box-shadow: 0 0 0 3px rgba(249, 202, 0, 0.18);
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}

.user-mini {
  display: grid;
  gap: 3px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.user-mini span,
.user-mini small {
  color: var(--muted);
}

.profile-editor {
  margin-top: 8px;
}

.profile-editor summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.profile-form {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.profile-form input {
  padding: 9px 10px;
}

.profile-form button {
  min-height: 36px;
  border-radius: 8px;
  background: #101010;
  color: #fff;
  font-weight: 800;
}

.sidebar-check {
  margin: 10px 0 18px;
}

.stats div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.stats div:first-child {
  border-left: 4px solid var(--class);
}

.stats div:last-child {
  border-left: 4px solid var(--accent);
}

.stats strong {
  display: block;
  font-size: 25px;
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-size: 12px;
}

.workspace {
  padding: 24px 28px 32px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 128px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--class);
  border-radius: 8px;
  background: #fff;
  padding: 22px 24px;
}

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--accent);
  padding: 0 12px;
  text-decoration: none;
  font-weight: 750;
}

.toolbar h2 {
  font-size: 27px;
  line-height: 1.18;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.workspace > .dashboard-grid {
  display: none;
}

.summary-card {
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  box-shadow: var(--shadow);
}

.summary-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.summary-card strong {
  display: block;
  margin-top: 10px;
  font-size: 30px;
  line-height: 1;
}

.summary-card.pending {
  border-left: 5px solid #f9ca00;
}

.summary-card.reviewing {
  border-left: 5px solid var(--accent);
}

.summary-card.needs-fix {
  border-left: 5px solid #b42318;
}

.summary-card.done {
  border-left: 5px solid var(--class);
}

.summary-card.due {
  border-left: 5px solid #101010;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 18px;
  margin-top: 18px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 18px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.note-form {
  display: grid;
  gap: 14px;
}

.note-form,
.send-panel {
  border-top: 4px solid #f9ca00;
}

.note-list-panel {
  border-top: 4px solid #101010;
}

.people-panel,
.log-panel {
  border-top: 4px solid #8792a2;
}

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

.field-row.single {
  grid-template-columns: 1fr;
  margin-top: 12px;
}

.primary,
.boss,
.ghost,
.contact-form button {
  min-height: 42px;
  border-radius: 8px;
  padding: 0 14px;
  font-weight: 750;
}

.primary {
  background: #101010;
  color: #ffffff;
}

.primary:hover {
  background: #2a2a2a;
}

.boss {
  background: #f9ca00;
  color: #101010;
  font-weight: 800;
}

.boss:hover {
  background: #e0b600;
}

.ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.wide {
  width: 100%;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: #fef9e7;
  color: #101010;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.pill.muted {
  background: var(--soft);
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.status-pill.pending {
  background: #fef9e7;
  color: #8a7000;
}

.status-pill.reviewing {
  background: #f0f0f0;
  color: #101010;
}

.status-pill.needs-fix {
  background: #fee4e2;
  color: #912018;
}

.status-pill.done {
  background: var(--class-soft);
  color: #256344;
}

.status-pill.overdue {
  background: #101010;
  color: #ffffff;
}

.note-list,
.log-list,
.contact-list {
  display: grid;
  gap: 10px;
}

.note-list {
  max-height: 705px;
  overflow: auto;
  padding-right: 4px;
}

.note-card,
.log-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.note-card {
  display: grid;
  gap: 10px;
  border-left: 4px solid transparent;
}

.note-card.active {
  border-color: #b8d7dc;
  border-left-color: var(--class);
  background: #fbfdfc;
}

.note-card.mention-focus {
  border-color: #f9ca00;
  border-left-color: #f9ca00;
  background: #fffbea;
  box-shadow: 0 0 0 4px rgba(249, 202, 0, 0.22), 0 18px 34px rgba(16, 16, 16, 0.16);
  animation: mentionFocusPulse 1.15s ease-in-out 3;
}

@keyframes mentionFocusPulse {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

.note-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.note-title {
  margin: 0;
  font-size: 17px;
}

.note-meta,
.log-meta,
.empty {
  color: var(--muted);
  font-size: 13px;
}

.note-summary {
  margin: 0;
  color: #354252;
  line-height: 1.55;
}

.tag-row,
.file-row,
.card-actions,
.status-actions,
.pin-row,
.recipient-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tag {
  border-radius: 999px;
  background: var(--soft);
  color: #526171;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 650;
}

.file-link {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 9px;
  background: #fafafa;
  text-decoration: none;
  font-size: 12px;
}

.file-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.file-chip button {
  min-height: 32px;
  border-radius: 0;
  background: #fff;
  color: var(--accent);
  padding: 0 9px;
  font-weight: 700;
}

.file-chip button + button {
  border-left: 1px solid var(--line);
  color: var(--danger);
}

.card-actions button {
  min-height: 34px;
  border-radius: 8px;
  padding: 0 10px;
  background: var(--soft);
  color: #354252;
  font-weight: 700;
}

.card-actions button:hover {
  background: #e5eaf0;
}

.status-actions {
  align-items: stretch;
}

.status-actions button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #354252;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.status-actions button.pending {
  border-color: #f3d96a;
  background: #fffbea;
}

.status-actions button.reviewing {
  border-color: #9bd3ff;
  background: #f0f8ff;
}

.status-actions button.needs-fix {
  border-color: #ffb3ad;
  background: #fff4f3;
}

.status-actions button.done {
  border-color: #9fdcb8;
  background: #f2fbf6;
}

.status-actions button:hover {
  border-color: #101010;
  box-shadow: 0 3px 10px rgba(16, 16, 16, 0.08);
}

.pin-row {
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  padding: 7px 9px;
  color: #667085;
  font-size: 12px;
}

.pin-row.pinned {
  border-color: #f9ca00;
  background: #fffbea;
  color: #101010;
}

.pin-row button {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  min-height: 0;
  border-radius: 999px;
  background: #ffffff;
  padding: 0;
}

.send-panel,
.people-panel,
.log-panel {
  margin-top: 0;
}

.send-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.recipient-list {
  margin-top: 8px;
}

.recipient {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
  color: #354252;
  font-size: 13px;
  font-weight: 650;
}

.recipient input,
.checkline input {
  width: auto;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: stretch;
  margin-bottom: 12px;
}

.contact-form button {
  background: #2f3744;
  color: #fff;
}

.contact-form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.contact-form-actions .ghost {
  background: #fff;
  color: var(--muted);
}

.checkline {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  white-space: nowrap;
}

.contact-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.contact-card strong {
  display: block;
}

.contact-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-actions button {
  min-height: 30px;
  border-radius: 8px;
  background: var(--soft);
  color: #354252;
  padding: 0 9px;
  font-weight: 700;
}

.contact-actions button:hover {
  background: #fee4e2;
  color: var(--danger);
}

.log-panel {
  margin-top: 18px;
}

.history-panel {
  margin-top: 18px;
  border-top: 4px solid #f9ca00;
}

.card-comments {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.comment-form {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.mention-input-wrap {
  position: relative;
  min-width: 0;
}

.mention-input-wrap input {
  width: 100%;
}

.mention-suggest {
  position: absolute;
  z-index: 30;
  right: 0;
  bottom: calc(100% + 8px);
  left: 0;
  display: grid;
  gap: 2px;
  max-height: 230px;
  overflow: auto;
  border: 1px solid #2f3338;
  border-radius: 10px;
  background: #101010;
  padding: 6px;
  box-shadow: 0 14px 36px rgba(16, 16, 16, 0.24);
}

.mention-suggest button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 8px;
  background: transparent;
  color: #ffffff;
  padding: 6px 8px;
  text-align: left;
}

.mention-suggest button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mention-suggest span {
  display: grid;
  min-width: 0;
}

.mention-suggest strong {
  color: #ffffff;
  font-size: 13px;
}

.mention-suggest small {
  overflow: hidden;
  color: #d0d5dd;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comment-form button:disabled,
.comment-form input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.comment-list {
  display: grid;
  gap: 10px;
}

.comment-item {
  border-left: 3px solid var(--line);
  padding-left: 10px;
}

.comment-author-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.comment-type {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  padding: 0 8px;
  background: #eef2f6;
  color: #354252;
  font-size: 11px;
  font-weight: 800;
}

.comment-type.pending {
  background: #fff8db;
  color: #7a5d00;
}

.comment-type.reviewing {
  background: #e8f4ff;
  color: #0f5f9f;
}

.comment-type.needs-fix {
  background: #ffe9e8;
  color: #b42318;
}

.comment-type.done {
  background: #e8f7ef;
  color: #0f6b3f;
}

.comment-item p {
  margin: 6px 0 0;
  color: #354252;
  line-height: 1.55;
}

.comment-actions {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.comment-actions button {
  display: inline-grid;
  place-items: center;
  min-height: 0;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #354252;
  padding: 0;
  font-size: 13px;
  line-height: 1;
  font-weight: 750;
}

.comment-actions button:hover {
  border-color: #f9ca00;
  background: #fffbea;
  color: #101010;
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.mention-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mention-row button,
.mention {
  border-radius: 999px;
  background: #fef9e7;
  color: #101010;
  font-weight: 750;
}

.mention-row button {
  min-height: 28px;
  padding: 0 9px;
}

.mention {
  display: inline-block;
  padding: 0 6px;
}

.mention.unknown {
  background: var(--soft);
  color: var(--muted);
}

.log-list {
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

.log-card {
  display: grid;
  gap: 6px;
}

.error-text {
  color: var(--danger);
  font-size: 13px;
}

.preview-dialog {
  width: min(980px, calc(100vw - 38px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.preview-dialog::backdrop {
  background: rgba(15, 23, 42, 0.45);
}

.preview-body {
  min-height: 260px;
}

.preview-body img,
.preview-body iframe {
  width: 100%;
  min-height: 70vh;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
}

.download-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  max-width: min(420px, calc(100vw - 44px));
  border-radius: 8px;
  background: #111827;
  color: #fff;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Cleaner workspace layout */
.workspace {
  padding: 20px 24px 28px;
}

.toolbar {
  min-height: 96px;
  margin-bottom: 14px;
  padding: 18px 20px;
}

.toolbar h2 {
  font-size: 24px;
}

.dashboard-grid {
  gap: 10px;
  margin-bottom: 14px;
}

.summary-card {
  min-height: 70px;
  padding: 12px 14px;
}

.summary-card strong {
  margin-top: 6px;
  font-size: 26px;
}

.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 16px;
  align-items: start;
}

.detail-rail {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 16px;
}

.panel {
  padding: 16px;
}

.compact-panel {
  box-shadow: none;
}

.compact-panel summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.compact-panel summary::-webkit-details-marker {
  display: none;
}

.compact-panel summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  flex: 0 0 auto;
}

.compact-panel[open] summary {
  margin-bottom: 14px;
}

.compact-panel[open] summary::after {
  content: "-";
}

.note-list {
  max-height: calc(100vh - 255px);
}

.form-dialog {
  width: min(760px, calc(100vw - 34px));
  max-height: min(90vh, 900px);
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
}

.form-dialog::backdrop {
  background: rgba(15, 23, 42, 0.48);
}

.form-dialog .note-form {
  max-height: min(90vh, 900px);
  overflow: auto;
  border-top: 4px solid #f9ca00;
}

.dialog-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.history-panel,
.log-panel {
  margin-top: 0;
}

.calendar-form,
.pref-form {
  display: grid;
  gap: 10px;
}

.calendar-form {
  grid-template-columns: minmax(0, 1.4fr) 150px 120px 150px 150px;
}

.calendar-form textarea,
.calendar-form .dialog-actions {
  grid-column: 1 / -1;
}

.calendar-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.calendar-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-left: 4px solid #f9ca00;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.calendar-card p {
  margin: 6px 0 0;
  color: #354252;
}

.calendar-actions {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.calendar-actions button,
.sync-box button {
  min-height: 34px;
  border-radius: 8px;
  background: var(--soft);
  padding: 0 10px;
  font-weight: 750;
}

.sync-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .content-grid,
  .main-layout,
  .bottom-grid,
  .dashboard-grid,
  .calendar-form,
  .sync-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .workspace,
  .sidebar {
    padding: 18px;
  }

  .toolbar,
  .panel-head,
  .note-top {
    align-items: stretch;
    flex-direction: column;
  }

  .toolbar {
    min-height: 0;
    padding: 18px;
  }

  .field-row,
  .contact-form,
  .comment-form {
    grid-template-columns: 1fr;
  }

  .send-actions button,
  .toolbar button,
  .toolbar a {
    width: 100%;
  }
}

/* Confirm Send Dialog */
.confirm-dialog {
  width: min(560px, calc(100vw - 34px));
  border: 0;
  border-radius: 12px;
  padding: 0;
  background: transparent;
  box-shadow: 0 20px 60px rgba(16, 16, 16, 0.18);
}

.confirm-dialog::backdrop {
  background: rgba(16, 16, 16, 0.5);
}

.confirm-inner {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.confirm-header {
  background: #101010;
  color: #ffffff;
  padding: 20px 24px;
}

.confirm-header h3 {
  margin: 0;
  font-size: 18px;
  color: #f9ca00;
}

.confirm-header p {
  margin: 6px 0 0;
  color: #999;
  font-size: 13px;
}

.confirm-body {
  padding: 20px 24px;
  display: grid;
  gap: 14px;
}

.confirm-body .confirm-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px;
  align-items: start;
  font-size: 14px;
}

.confirm-row .confirm-label {
  color: #5a5a5a;
  font-weight: 700;
  font-size: 13px;
}

.confirm-row .confirm-value {
  color: #101010;
  font-weight: 600;
}

.confirm-recipients {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.confirm-recipients .confirm-chip {
  display: inline-flex;
  align-items: center;
  background: #fef9e7;
  color: #101010;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
}

.confirm-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid #e0ddd5;
  background: #fafaf7;
}

.confirm-footer .btn-cancel {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid #e0ddd5;
  background: #fff;
  color: #5a5a5a;
  padding: 0 20px;
  font-weight: 700;
  cursor: pointer;
}

.confirm-footer .btn-confirm {
  min-height: 42px;
  border-radius: 8px;
  border: 0;
  background: #f9ca00;
  color: #101010;
  padding: 0 24px;
  font-weight: 800;
  cursor: pointer;
  font-size: 15px;
}

.confirm-footer .btn-confirm:hover {
  background: #e0b600;
}

/* Notification Bell */
.notif-wrapper {
  position: relative;
}

.notif-bell {
  position: relative;
  min-height: 42px;
  min-width: 42px;
  border-radius: 8px;
  border: 1px solid #e0ddd5;
  background: #fff;
  color: #101010;
  padding: 0;
  cursor: pointer;
  font-size: 20px;
  display: grid;
  place-items: center;
}

.notif-bell:hover {
  background: #fef9e7;
}

.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #f9ca00;
  color: #101010;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  padding: 0 5px;
  line-height: 1;
}

.notif-badge.hidden {
  display: none;
}

.notif-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  max-height: 460px;
  overflow: auto;
  background: #fff;
  border: 1px solid #e0ddd5;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(16, 16, 16, 0.14);
  z-index: 999;
  display: none;
}

.notif-dropdown.open {
  display: block;
}

.notif-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #e0ddd5;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.notif-dropdown-header h4 {
  margin: 0;
  font-size: 15px;
  color: #101010;
}

.notif-dropdown-header button {
  border: 0;
  background: none;
  color: #f9ca00;
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 6px;
}

.notif-dropdown-header button:hover {
  background: #fef9e7;
}

.notif-item {
  display: grid;
  gap: 4px;
  padding: 12px 16px;
  border-bottom: 1px solid #f5f3ed;
  cursor: pointer;
  transition: background 0.15s;
}

.notif-item:hover {
  background: #fef9e7;
}

.notif-item.unread {
  background: #fffdf0;
  border-left: 3px solid #f9ca00;
}

.notif-item .notif-message {
  font-size: 13px;
  color: #101010;
  line-height: 1.45;
}

.notif-item .notif-time {
  font-size: 12px;
  color: #5a5a5a;
}

.notif-empty {
  padding: 32px 16px;
  text-align: center;
  color: #5a5a5a;
  font-size: 14px;
}

.auth-dialog {
  width: min(460px, calc(100vw - 34px));
}

.auth-form {
  display: grid;
  gap: 14px;
  max-height: min(86vh, 720px);
  overflow: auto;
  border-top: 4px solid #f9ca00;
}

.auth-note {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.6;
}

/* WANTALK 2026 refresh */
:root {
  --bg: #f4f5f7;
  --ink: #101010;
  --muted: #667085;
  --line: #e4e7ec;
  --panel: #ffffff;
  --sidebar: #ffffff;
  --accent: #f9ca00;
  --accent-strong: #caa300;
  --accent-soft: #fff7cc;
  --soft: #f8fafc;
  --danger: #b42318;
  --link: #2563eb;
  --success: #147a4b;
  --shadow: 0 10px 24px rgba(16, 16, 16, 0.07);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans Thai", "Segoe UI", Tahoma, Arial, sans-serif;
}

a,
.ghost-link,
.file-link,
.download-link {
  color: var(--link);
}

.login-screen {
  background: linear-gradient(180deg, #ffffff 0%, #f4f5f7 100%);
}

.login-card {
  width: min(440px, 100%);
  justify-items: start;
  border-color: var(--line);
}

.brand-logo {
  display: block;
  width: 112px;
  height: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff url("wantalk_notes_logo.png") center / contain no-repeat;
}

.brand-logo.compact {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
}

.brand {
  margin-bottom: 18px;
}

.brand h1 {
  font-size: 20px;
  line-height: 1.25;
}

.app-shell {
  grid-template-columns: 280px minmax(0, 1fr);
}

.sidebar {
  background: #ffffff;
  overflow: auto;
}

.app-shell > .sidebar {
  overflow: hidden;
  padding: 18px 20px;
}

.app-shell > .sidebar .brand {
  margin-bottom: 14px;
}

.app-shell > .sidebar .brand-logo.compact {
  width: 48px;
  height: 48px;
}

.app-shell > .sidebar .brand h1 {
  font-size: 18px;
}

.app-shell > .sidebar .brand p {
  font-size: 13px;
}

.app-shell > .sidebar .side-tabs {
  gap: 7px;
  margin-bottom: 14px;
}

.app-shell > .sidebar .tab-button {
  min-height: 38px;
  border-color: rgba(255, 255, 255, 0.16);
  padding: 0 11px;
  font-size: 14px;
}

.app-shell > .sidebar .user-mini {
  margin-bottom: 14px;
  padding: 10px 12px;
}

.app-shell > .sidebar .search-block,
.app-shell > .sidebar .filter-block {
  margin-bottom: 12px;
}

.app-shell > .sidebar input,
.app-shell > .sidebar select {
  min-height: 40px;
  padding: 8px 10px;
}

.app-shell > .sidebar .stats,
.app-shell > .sidebar .sidebar-check {
  display: none;
}

.side-tabs {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.tab-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #ffffff;
  color: #344054;
  padding: 0 12px;
  font-weight: 800;
  text-align: left;
}

.tab-button:hover {
  background: #f8fafc;
  border-color: var(--line);
}

.tab-button.active {
  background: #101010;
  color: #ffffff;
  border-color: #101010;
  box-shadow: inset 4px 0 0 var(--accent);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

input,
select,
textarea {
  border-color: #d0d5dd;
}

label,
.mini-label {
  color: #344054;
}

.toolbar {
  align-items: flex-start;
  min-height: 0;
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  background: #ffffff;
}

.toolbar h2 {
  color: #101010;
  font-size: 28px;
}

.room-label {
  background: #101010;
  color: #ffffff;
}

.primary {
  background: #101010;
  color: #ffffff;
}

.primary:hover {
  background: #2b2b2b;
}

.boss,
.confirm-footer .btn-confirm {
  background: #f9ca00;
  color: #101010;
}

.boss:hover,
.confirm-footer .btn-confirm:hover {
  background: #e5ba00;
}

.ghost,
.ghost-link,
.notif-bell {
  border-color: #d0d5dd;
  background: #ffffff;
}

.dashboard-grid {
  grid-template-columns: repeat(5, minmax(140px, 1fr));
}

.summary-card {
  min-height: 76px;
  border-color: var(--line);
  box-shadow: none;
}

.summary-card.pending {
  border-left-color: #f9ca00;
}

.summary-card.reviewing {
  border-left-color: #2563eb;
}

.summary-card.needs-fix {
  border-left-color: #b42318;
}

.summary-card.done {
  border-left-color: #147a4b;
}

.summary-card.due {
  border-left-color: #101010;
}

.panel {
  border-color: var(--line);
  box-shadow: none;
}

.board-panel {
  padding: 14px;
}

.board-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 16px;
  align-items: start;
}

.board-sidebar {
  position: sticky;
  top: 16px;
  min-width: 0;
}

.board-sidebar .send-panel {
  margin: 0;
}

.note-list.board-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(240px, 1fr));
  gap: 14px;
  max-height: calc(100vh - 188px);
  overflow: auto;
  padding: 2px 12px 2px 2px;
  scrollbar-gutter: stable;
}

.board-column {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 10px;
}

.board-column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
}

.board-column-head h4 {
  margin: 0;
  color: #344054;
  font-size: 14px;
}

.board-column-head span {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 24px;
  border-radius: 999px;
  background: #ffffff;
  color: #475467;
  font-size: 12px;
  font-weight: 800;
}

.board-column.pending {
  box-shadow: inset 0 4px 0 #f9ca00;
}

.board-column.reviewing {
  box-shadow: inset 0 4px 0 #2563eb;
}

.board-column.needs-fix {
  box-shadow: inset 0 4px 0 #b42318;
}

.board-column.done {
  box-shadow: inset 0 4px 0 #147a4b;
}

.board-column.overdue {
  box-shadow: inset 0 4px 0 #101010;
}

.board-column-list {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 180px;
}

.note-card {
  gap: 10px;
  border: 1px solid #dfe3e8;
  border-left: 1px solid #dfe3e8;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 1px 2px rgba(16, 16, 16, 0.04);
}

.note-card.active {
  border-color: #101010;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(249, 202, 0, 0.32);
}

.note-top {
  align-items: flex-start;
}

.note-title {
  font-size: 15px;
  line-height: 1.45;
}

.note-summary {
  color: #475467;
  font-size: 15px;
  line-height: 1.55;
}

.task-lines {
  display: grid;
  border-top: 1px solid #edf0f3;
}

.task-lines div {
  display: grid;
  grid-template-columns: 34px 100px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 30px;
  border-bottom: 1px solid #edf0f3;
  color: #475467;
  font-size: 14px;
}

.task-lines span,
.task-lines strong {
  color: #667085;
  font-weight: 700;
}

.task-lines em {
  min-width: 0;
  color: #101010;
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.warning-line {
  border-radius: 8px;
  background: #fee4e2;
  color: #912018;
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 800;
}

.note-url {
  color: var(--link);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.status-pill {
  min-height: 24px;
  border-radius: 6px;
  padding: 0 8px;
  font-size: 11px;
}

.status-pill.pending {
  background: #fff4b8;
  color: #6b5700;
}

.status-pill.reviewing {
  background: #dbeafe;
  color: #1d4ed8;
}

.status-pill.needs-fix {
  background: #fee4e2;
  color: #912018;
}

.status-pill.done {
  background: #dcfae6;
  color: #067647;
}

.tag {
  background: #eef2f6;
  color: #344054;
}

.file-chip button {
  color: var(--link);
}

.card-actions {
  justify-content: flex-end;
}

.card-actions button {
  background: #f2f4f7;
  color: #344054;
}

.compact-comments {
  border-top: 1px solid #edf0f3;
  padding-top: 8px;
}

.compact-comments > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  color: #475467;
  font-size: 14px;
  font-weight: 800;
  list-style: none;
}

.compact-comments > summary::-webkit-details-marker {
  display: none;
}

.mention-alert {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #f9ca00;
  box-shadow: 0 0 0 3px #fff7cc;
  flex: 0 0 auto;
}

.done-list,
.trash-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  max-height: calc(100vh - 256px);
  overflow: auto;
  padding: 2px 12px 2px 2px;
  scrollbar-gutter: stable;
}

.trash-actions button[data-action="restore"] {
  background: #dcfae6;
  color: #067647;
}

.trash-actions button[data-action="delete-permanent"] {
  background: #fee4e2;
  color: #912018;
}

.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.people-panel .panel-head,
.log-panel .panel-head {
  margin-bottom: 16px;
}

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

.contact-form .checkline,
.contact-form-actions {
  grid-column: 1 / -1;
}

.contact-list {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact-card {
  align-items: flex-start;
  border-color: var(--line);
}

.log-list {
  max-height: calc(100vh - 270px);
  scrollbar-gutter: stable;
  padding-right: 10px;
}

.log-card {
  border-color: var(--line);
}

.notif-bell {
  color: #101010;
  font-weight: 800;
}

.notif-badge {
  background: #f04438;
  color: #ffffff;
}

.confirm-header {
  background: #101010;
}

.confirm-header h3 {
  color: #f9ca00;
}

@media (max-width: 1280px) {
  .note-list.board-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }

  .board-with-sidebar {
    grid-template-columns: 1fr;
  }

  .board-sidebar {
    position: static;
  }
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .side-tabs {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .side-tabs,
  .dashboard-grid,
  .note-list.board-grid,
  .done-list,
  .trash-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .toolbar-actions,
  .toolbar-actions > *,
  .toolbar-actions button,
  .toolbar-actions a {
    width: 100%;
  }

  .task-lines div {
    grid-template-columns: 30px 92px minmax(0, 1fr);
  }
}

/* Board and calendar layout refresh */
.app-shell {
  min-height: 100vh;
  background: #eef1f5;
}

.sidebar {
  border-right: 1px solid #202020;
  background: #101010;
  color: #ffffff;
}

.brand {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 18px;
}

.brand h1,
.brand p,
.sidebar label,
.sidebar .user-mini,
.sidebar .profile-editor summary,
.sidebar .stats span {
  color: #ffffff;
}

.sidebar input,
.sidebar select {
  border-color: rgba(255, 255, 255, 0.18);
  background: #ffffff;
  color: #101010;
}

.tab-button {
  border-color: rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #f5f5f5;
}

.tab-button:hover {
  border-color: rgba(249, 202, 0, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.tab-button.active {
  border-color: #f9ca00;
  background: #f9ca00;
  color: #101010;
  box-shadow: none;
}

.workspace {
  min-width: 0;
}

.toolbar {
  border-left: 0;
  border-radius: 0;
  background: #ffffff;
}

.board-panel {
  border: 0;
  background: transparent;
  padding: 0;
}

.board-panel .panel-head {
  margin: 0 0 10px;
  border: 1px solid #d8dee7;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px 14px;
}

.note-list.board-grid {
  grid-template-columns: repeat(5, minmax(248px, 1fr));
  gap: 0;
  border: 1px solid #d8dee7;
  border-radius: 8px;
  background: #ffffff;
  padding: 0 12px 12px 0;
}

.board-column {
  border: 0;
  border-right: 1px solid rgba(16, 16, 16, 0.08);
  border-radius: 0;
  background: #f5f7fa;
  padding: 0 10px 12px;
  box-shadow: none !important;
}

.board-column:last-child {
  border-right: 0;
}

.board-column-head {
  margin: 0 -10px 12px;
  min-height: 52px;
  padding: 0 14px;
}

.board-column-head h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

.board-column-head span {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.board-column.pending {
  background: #fff8dc;
}

.board-column.pending .board-column-head {
  background: #d8b41a;
}

.board-column.reviewing {
  background: #eef6ff;
}

.board-column.reviewing .board-column-head {
  background: #2f9be8;
}

.board-column.needs-fix {
  background: #fff1f0;
}

.board-column.needs-fix .board-column-head {
  background: #d64242;
}

.board-column.done {
  background: #eff9e7;
}

.board-column.done .board-column-head {
  background: #8ac44b;
}

.board-column.overdue {
  background: #eef1f4;
}

.board-column.overdue .board-column-head {
  background: #68727f;
}

.board-column-list {
  gap: 10px;
}

.note-card {
  border: 1px solid rgba(16, 16, 16, 0.1);
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(16, 16, 16, 0.06);
}

.note-title {
  font-size: 16px;
  line-height: 1.38;
}

.task-lines {
  gap: 0;
  border-top: 1px solid #edf0f3;
}

.task-lines div {
  grid-template-columns: 30px 94px minmax(0, 1fr);
  min-height: 28px;
  font-size: 13px;
}

.status-actions {
  gap: 6px;
}

.status-actions button,
.card-actions button {
  min-height: 30px;
  border-radius: 6px;
  font-size: 12px;
}

.calendar-panel {
  background: transparent;
  border: 0;
  padding: 0;
}

.calendar-panel .panel-head,
.calendar-form,
.calendar-shell {
  border: 1px solid #d8dee7;
  border-radius: 8px;
  background: #ffffff;
}

.calendar-panel .panel-head {
  margin-bottom: 10px;
  padding: 12px 14px;
}

.calendar-form {
  padding: 14px;
}

.calendar-list {
  margin-top: 14px;
}

.calendar-shell {
  overflow: hidden;
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e5e9f0;
  padding: 16px 18px;
}

.calendar-toolbar h4 {
  margin: 0;
  color: #101010;
  font-size: 24px;
}

.calendar-toolbar span {
  color: #667085;
  font-size: 13px;
}

.calendar-nav {
  display: flex;
  gap: 8px;
}

.calendar-nav button {
  min-width: 38px;
  min-height: 34px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #ffffff;
  color: #101010;
  font-weight: 900;
}

.calendar-weekdays,
.calendar-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(128px, 1fr));
}

.calendar-weekdays {
  border-bottom: 1px solid #e5e9f0;
  background: #f8fafc;
}

.calendar-weekdays span {
  padding: 10px;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.calendar-month-grid {
  min-width: 896px;
}

.calendar-day {
  min-height: 132px;
  border-right: 1px solid #e5e9f0;
  border-bottom: 1px solid #e5e9f0;
  background: #ffffff;
  padding: 8px;
}

.calendar-day:nth-child(7n) {
  border-right: 0;
}

.calendar-day.muted {
  background: #f8fafc;
  color: #98a2b3;
}

.calendar-day.today {
  background: #fff9d7;
}

.calendar-day-number {
  display: flex;
  justify-content: flex-end;
  color: #475467;
  font-weight: 800;
}

.calendar-day.today .calendar-day-number {
  color: #101010;
}

.calendar-day-events {
  display: grid;
  gap: 5px;
  margin-top: 8px;
}

.calendar-month-event {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  gap: 4px;
  border-left: 4px solid #f9ca00;
  border-radius: 6px;
  background: #f2f4f7;
  padding: 4px 5px;
}

.calendar-month-event.from-note {
  background: #fffaf0;
}

.calendar-month-event.note-due {
  border-left-color: #f9ca00;
}

.calendar-month-event.note-reminder {
  border-left-color: #2563eb;
  background: #eff6ff;
}

.calendar-month-event.closed {
  opacity: 0.68;
}

.calendar-month-event.private {
  border-left-color: #8b5cf6;
}

.calendar-month-event.company-holiday {
  border-left-color: #f97316;
}

.calendar-month-event.client {
  border-left-color: #2f9be8;
}

.calendar-month-event.task,
.calendar-month-event.reminder {
  border-left-color: #12b76a;
}

.calendar-event-title,
.calendar-event-delete {
  min-height: 22px;
  border: 0;
  background: transparent;
  color: #101010;
  padding: 0;
  text-align: left;
}

.calendar-event-title {
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-month-event.full {
  grid-template-columns: minmax(0, 1fr) 28px;
  border-radius: 10px;
  padding: 10px;
}

.calendar-month-event.full .calendar-event-title {
  display: grid;
  gap: 4px;
  min-height: 44px;
  white-space: normal;
}

.calendar-month-event.full .calendar-event-title em {
  justify-self: start;
  border-radius: 999px;
  background: #eef2f6;
  color: #475467;
  padding: 2px 8px;
  font-size: 11px;
  font-style: normal;
}

.calendar-month-event.full .calendar-event-title small {
  overflow: hidden;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
}

.calendar-event-title span {
  margin-right: 4px;
  color: #667085;
  font-weight: 700;
}

.calendar-event-delete {
  color: #98a2b3;
  font-size: 16px;
  line-height: 1;
}

.calendar-event-delete:hover {
  color: #b42318;
}

.calendar-more-btn {
  min-height: 26px;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #475467;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
}

.calendar-more-btn:hover {
  border-color: #f9ca00;
  color: #101010;
}

.calendar-day-dialog {
  width: min(620px, calc(100vw - 28px));
  border: 0;
  border-radius: 12px;
  padding: 0;
  background: transparent;
}

.calendar-day-dialog::backdrop {
  background: rgba(16, 16, 16, 0.48);
}

.calendar-day-detail {
  display: grid;
  max-height: min(84vh, 720px);
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(16, 16, 16, 0.24);
}

.calendar-day-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e5e9f0;
  padding: 18px 20px;
}

.calendar-day-detail-head span {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.calendar-day-detail-head h3 {
  margin: 2px 0 0;
  color: #101010;
  font-size: 18px;
}

.calendar-day-detail-list {
  display: grid;
  gap: 10px;
  overflow: auto;
  padding: 16px;
  scrollbar-gutter: stable;
}

.calendar-add-btn {
  min-height: 34px;
  padding: 0 12px;
}

.calendar-dialog {
  width: min(560px, calc(100vw - 28px));
  border: 0;
  border-radius: 10px;
  padding: 0;
}

.calendar-dialog::backdrop {
  background: rgba(16, 16, 16, 0.55);
}

.calendar-dialog .calendar-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  padding: 0;
}

.calendar-dialog .calendar-form > label,
.calendar-dialog .dialog-actions {
  padding-inline: 16px;
}

.calendar-dialog .calendar-form > label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-weight: 800;
}

.calendar-dialog .calendar-form textarea {
  min-height: 120px;
}

.calendar-dialog .dialog-actions {
  border-top: 1px solid #e5e9f0;
  padding-block: 16px;
}

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

.calendar-day-head button {
  display: grid;
  width: 24px;
  height: 24px;
  min-height: 24px;
  place-items: center;
  border: 1px solid #9cc3f5;
  border-radius: 6px;
  background: #eef6ff;
  color: #2563eb;
  padding: 0;
  font-weight: 900;
}

.calendar-day-head button:hover {
  border-color: #2563eb;
  background: #dbeafe;
}

.sidebar .stats div {
  border-color: rgba(255, 255, 255, 0.2);
  background: #ffffff;
  color: #101010;
}

.sidebar .stats strong {
  color: #101010;
}

.sidebar .stats span {
  color: #475467;
}

.log-list,
.log-card,
.log-card strong,
.log-card div {
  color: #101010;
}

.log-card .note-meta,
.log-card .log-meta {
  color: #667085;
}

.sidebar .checkline,
.sidebar .filter-block label,
.sidebar .search-block label {
  color: #ffffff;
}

/* Muted board treatment */
.workspace {
  background: #eef1f5;
}

.toolbar,
.dashboard-grid,
.board-panel .panel-head {
  border-color: #d8dee7;
  box-shadow: none;
}

.notif-bell {
  width: 42px;
  min-width: 42px;
  color: #101010;
  font-size: 18px;
  line-height: 1;
}

.board-with-sidebar {
  align-items: start;
}

.board-panel,
.note-list.board-grid {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.note-list.board-grid {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 18px;
  max-height: calc(100vh - 246px);
  padding: 0 10px 0 0;
}

.board-column {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.board-column.pending,
.board-column.reviewing,
.board-column.needs-fix,
.board-column.done,
.board-column.overdue {
  background: transparent;
}

.board-column-head,
.board-column.pending .board-column-head,
.board-column.reviewing .board-column-head,
.board-column.needs-fix .board-column-head,
.board-column.done .board-column-head,
.board-column.overdue .board-column-head {
  min-height: 40px;
  margin: 0 0 12px;
  border-bottom: 1px solid #d8dee7;
  background: transparent;
  padding: 0 2px 10px;
}

.board-column-head h4 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #344054;
  font-size: 13px;
}

.board-column-head h4::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #98a2b3;
}

.board-column.pending .board-column-head h4::before {
  background: #b89712;
}

.board-column.reviewing .board-column-head h4::before {
  background: #3b82b6;
}

.board-column.needs-fix .board-column-head h4::before {
  background: #b54747;
}

.board-column.done .board-column-head h4::before {
  background: #5f9a4b;
}

.board-column-head span {
  min-width: 24px;
  height: 22px;
  background: #ffffff;
  color: #475467;
  box-shadow: inset 0 0 0 1px #e5e9f0;
}

.board-task-card {
  min-height: 118px;
  border-color: #e3e7ef;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 16, 16, 0.05);
}

.board-task-card.active {
  border-color: #b99b0b;
  box-shadow: 0 0 0 2px rgba(185, 155, 11, 0.22), 0 6px 16px rgba(16, 16, 16, 0.08);
}

.status-pill.pending {
  background: #f7edc4;
  color: #6b5700;
}

.status-pill.reviewing {
  background: #dcebf5;
  color: #285e80;
}

.status-pill.needs-fix {
  background: #f4dddd;
  color: #8a3434;
}

.status-pill.done {
  background: #e5f1de;
  color: #3f7532;
}

.status-pill.closed {
  background: #e7e9ee;
  color: #344054;
}

.status-actions button.closed {
  border-color: #101010;
  background: #101010;
  color: #ffffff;
}

@media (max-width: 1280px) {
  .note-list.board-grid {
    grid-template-columns: repeat(3, minmax(248px, 1fr));
  }
}

@media (max-width: 900px) {
  .note-list.board-grid {
    grid-template-columns: repeat(2, minmax(248px, 1fr));
  }

  .calendar-shell {
    overflow-x: auto;
    scrollbar-gutter: stable;
  }
}

@media (max-width: 760px) {
  .note-list.board-grid {
    grid-template-columns: 1fr;
  }

  .calendar-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Board + Detail Drawer selected layout */
.user-mini {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  padding: 10px 12px;
}

.user-mini strong,
.user-mini span,
.user-mini small {
  color: #ffffff;
}

.profile-page-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.profile-page-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.profile-page-form button {
  align-self: end;
}

.board-with-sidebar {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
}

.send-panel .smtp-fields {
  grid-template-columns: 1fr;
}

.send-panel .field-row {
  gap: 12px;
}

.send-panel label {
  font-size: 12px;
}

.board-sidebar {
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 168px);
  overflow: auto;
  padding-right: 8px;
  scrollbar-gutter: stable;
}

.board-sidebar .send-panel {
  margin: 0;
}

.board-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.board-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid #d8dee7;
  border-radius: 999px;
  background: #ffffff;
  color: #344054;
  padding: 0 12px 0 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.board-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.board-toggle span {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #e5e9f0;
  transition: background 0.18s ease;
}

.board-toggle span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(16, 16, 16, 0.2);
  transition: transform 0.18s ease;
}

.board-toggle input:checked + span {
  background: #f9ca00;
}

.board-toggle input:checked + span::after {
  transform: translateX(18px);
}

.board-toggle input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(249, 202, 0, 0.28);
}

.note-list.board-grid {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
}

.note-list.board-grid .board-column {
  border-radius: 10px;
  padding: 10px;
}

.note-list.board-grid .board-column-head {
  border-bottom: 0;
  border-radius: 8px;
  margin: 0 0 12px;
  padding: 0 12px;
}

.note-list.board-grid .board-column-head h4 {
  color: #101010;
}

.note-list.board-grid .board-column.pending {
  background: #fff9df;
}

.note-list.board-grid .board-column.pending .board-column-head {
  background: #f9ca00;
}

.note-list.board-grid .board-column.reviewing {
  background: #eaf5ff;
}

.note-list.board-grid .board-column.reviewing .board-column-head {
  background: #bfe3ff;
}

.note-list.board-grid .board-column.needs-fix {
  background: #fff0f0;
}

.note-list.board-grid .board-column.needs-fix .board-column-head {
  background: #ffd1d1;
}

.note-list.board-grid .board-column.done {
  background: #eef8e8;
}

.note-list.board-grid .board-column.done .board-column-head {
  background: #d7f0c7;
}

.board-task-card {
  align-content: start;
  min-height: 136px;
  cursor: pointer;
}

.board-task-card.overdue-card {
  border-color: #fda29b;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.12), 0 2px 8px rgba(16, 16, 16, 0.06);
}

.board-task-card .note-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 15px;
}

.compact-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #475467;
  font-size: 13px;
}

.compact-meta {
  display: grid;
  gap: 3px;
  color: #475467;
  font-size: 12px;
}

.compact-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-card-bottom {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

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

.compact-card-actions button {
  min-height: 28px;
  border-radius: 6px;
  background: #f2f4f7;
  color: #344054;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 900;
}

.overdue-chip,
.drawer-overdue {
  border-radius: 6px;
  background: #fee4e2;
  color: #912018;
  font-size: 12px;
  font-weight: 900;
}

.overdue-chip {
  padding: 3px 7px;
}

.drawer-overdue {
  padding: 8px 10px;
}

.task-detail-dialog {
  width: min(1180px, calc(100vw - 36px));
  max-height: min(94vh, 900px);
  border: 0;
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  color: #101010;
  box-shadow: 0 28px 80px rgba(16, 16, 16, 0.26);
  font-size: 15px;
  line-height: 1.58;
}

.task-detail-dialog::backdrop {
  background: rgba(16, 16, 16, 0.42);
  backdrop-filter: blur(2px);
}

.task-detail-dialog *,
.task-detail-dialog *::before,
.task-detail-dialog *::after {
  box-sizing: border-box;
}

.task-detail-dialog button,
.task-detail-dialog input,
.task-detail-dialog select,
.task-detail-dialog textarea {
  font: inherit;
}

.task-detail-shell {
  display: grid;
  max-height: min(94vh, 900px);
  min-height: 0;
}

.task-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e5e9f0;
  min-height: 72px;
  padding: 18px 28px;
}

.task-detail-header h3 {
  margin: 4px 0 0;
  color: #101010;
  font-size: 20px;
  line-height: 1.35;
}

.task-detail-path {
  margin: 0;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.task-detail-close {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #475467;
  padding: 0;
  font-size: 28px;
  line-height: 1;
}

.task-detail-close:hover {
  background: #e5e9f0;
  color: #101010;
}

.task-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  max-height: calc(min(94vh, 900px) - 72px);
  min-height: 0;
  overflow: hidden;
}

.task-detail-main,
.task-detail-side {
  min-height: 0;
  overflow: auto;
  scrollbar-gutter: stable;
}

.task-detail-main {
  display: grid;
  align-content: start;
  gap: 24px;
  padding: 28px 32px 34px;
}

.task-detail-side {
  display: grid;
  align-content: start;
  gap: 22px;
  border-left: 1px solid #e5e9f0;
  background: #f7f8fb;
  padding: 28px 26px;
}

.task-detail-section {
  display: grid;
  gap: 14px;
}

.task-detail-title-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.task-compose-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
}

.task-check-ring {
  width: 18px;
  height: 18px;
  margin-top: 18px;
  border: 2px solid #101010;
  border-radius: 50%;
  background: #ffffff;
}

.task-compose-body {
  min-width: 0;
}

.task-compose-box {
  display: grid;
  gap: 14px;
  border: 1px solid #e8ebef;
  border-radius: 12px;
  background: #ffffff;
  padding: 24px 26px;
  box-shadow: 0 8px 28px rgba(16, 16, 16, 0.05);
}

.task-compose-box h3 {
  flex: 1 1 240px;
  margin: 0;
  color: #101010;
  font-size: 24px;
  line-height: 1.32;
}

.task-link-line {
  margin: 0;
  color: #475467;
  font-size: 14px;
}

.task-link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.task-link-chip {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid #dbe8ff;
  border-radius: 10px;
  background: #f5f9ff;
  color: #2563eb;
  padding: 10px 12px;
  text-decoration: none;
}

.task-link-chip strong {
  color: #101010;
  font-size: 13px;
}

.task-link-chip span {
  overflow: hidden;
  color: #2563eb;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-link-chip:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

.task-text-link {
  color: #2563eb;
  text-decoration: none;
}

.task-text-link:hover {
  text-decoration: underline;
}

.task-inline-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.task-inline-actions button {
  min-height: 38px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #d0d5dd;
  color: #344054;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 800;
}

.task-inline-actions .primary-mini {
  border-color: #2563eb;
  background: #2563eb;
  color: #ffffff;
}

.task-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #edf0f3;
  padding-top: 18px;
  color: #101010;
  font-size: 15px;
  font-weight: 900;
}

.task-section-heading small {
  color: #98a2b3;
  font-size: 13px;
  font-weight: 800;
}

.task-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  align-items: start;
}

.task-status-section .status-actions {
  justify-content: flex-start;
}

.task-status-section .status-actions button {
  min-height: 36px;
  border-radius: 8px;
  font-size: 14px;
}

.task-attachment-section {
  gap: 10px;
}

.task-attachment-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid #edf0f3;
  border-radius: 10px;
  background: #ffffff;
  padding: 14px;
}

.attachment-icon {
  display: grid;
  width: 40px;
  height: 44px;
  place-items: center;
  border: 1px solid #e5e9f0;
  border-radius: 8px;
  color: #667085;
  font-size: 10px;
  font-weight: 900;
}

.task-attachment-item button {
  min-height: auto;
  border: 0;
  background: transparent;
  color: #101010;
  padding: 0;
  text-align: left;
  font-size: 14px;
  font-weight: 900;
}

.task-attachment-item span {
  display: block;
  color: #98a2b3;
  font-size: 12px;
}

.task-attachment-item .attachment-delete {
  color: #b42318;
  font-size: 12px;
}

.task-empty-row {
  border: 1px dashed #d0d5dd;
  border-radius: 10px;
  color: #98a2b3;
  padding: 18px;
  text-align: center;
}

.task-empty-row.compact {
  padding: 10px 12px;
  text-align: left;
}

.task-side-card {
  display: grid;
  gap: 12px;
  border: 1px solid #e9edf2;
  border-radius: 12px;
  background: #ffffff;
  padding: 16px;
}

.task-side-card-title {
  color: #101010;
  font-size: 14px;
  font-weight: 900;
}

.side-person-row {
  display: grid;
  gap: 7px;
}

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

.task-side-grid > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.side-person-row > span,
.task-side-grid span,
.side-timestamps span {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.side-person-row strong,
.task-side-grid strong,
.side-timestamps strong {
  min-width: 0;
  overflow: hidden;
  color: #101010;
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
}

.side-person,
.side-avatar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mini-avatar {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #ffffff;
  border-radius: 50%;
  background: #f9ca00;
  color: #101010;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 1px 2px rgba(16, 16, 16, 0.1);
}

.mini-avatar.creator {
  background: #fee4e2;
}

.mini-avatar.assignee {
  background: #fff4c2;
}

.mini-avatar.empty {
  background: #ffffff;
  border-color: #d0d5dd;
  color: #667085;
}

.side-timestamps {
  border-top: 0;
}

.side-timestamps div {
  display: grid;
  gap: 4px;
}

.task-detail-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  justify-content: stretch;
}

.task-detail-actions button {
  width: 100%;
}

.task-detail-dialog .drawer-summary,
.task-detail-dialog .comment-item p,
.task-detail-dialog .comment-meta {
  font-size: 15px;
}

.task-detail-dialog .drawer-fields div {
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 38px;
  padding: 8px 10px;
}

.task-detail-dialog .drawer-fields span,
.task-detail-dialog .drawer-fields strong,
.task-detail-dialog .compact-card-actions button,
.task-detail-dialog .card-actions button {
  font-size: 14px;
}

.task-detail-dialog .card-actions button {
  min-height: 40px;
}

.task-detail-dialog .comment-form select,
.task-detail-dialog .comment-form input {
  min-height: 44px;
  font-size: 15px;
}

.task-detail-dialog .comment-form button {
  min-height: 44px;
  font-size: 15px;
}

.board-detail-empty {
  display: grid;
  min-height: 180px;
  place-items: center;
  color: #667085;
  text-align: center;
}

.drawer-note {
  display: grid;
  gap: 14px;
}

.drawer-note-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.drawer-note-head h3 {
  margin: 0;
  color: #101010;
  font-size: 20px;
  line-height: 1.35;
}

.drawer-note-head p,
.drawer-summary {
  margin: 0;
  color: #667085;
}

.drawer-summary {
  line-height: 1.6;
}

.drawer-fields {
  display: grid;
  gap: 0;
  border: 1px solid #e5e9f0;
  border-radius: 8px;
  overflow: hidden;
}

.drawer-fields div {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 10px;
  min-height: 36px;
  align-items: center;
  border-bottom: 1px solid #e5e9f0;
  padding: 8px 10px;
}

.drawer-fields div:last-child {
  border-bottom: 0;
}

.drawer-fields span {
  color: #667085;
  font-size: 13px;
  font-weight: 900;
}

.drawer-fields strong {
  min-width: 0;
  overflow: hidden;
  color: #101010;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drawer-url {
  display: inline-flex;
  justify-self: start;
  min-height: 32px;
  align-items: center;
  border-radius: 8px;
  background: #eef6ff;
  color: #2563eb;
  padding: 0 10px;
  font-weight: 900;
  text-decoration: none;
}

.drawer-comments {
  display: grid;
  gap: 10px;
  border-top: 1px solid #edf0f3;
  padding-top: 12px;
}

.drawer-comments h4 {
  margin: 0;
  font-size: 15px;
}

.task-comment-section .card-comments {
  max-height: min(34vh, 330px);
  overflow: auto;
  padding-right: 8px;
  scrollbar-gutter: stable;
}

.task-comment-section .comment-form {
  position: sticky;
  bottom: 0;
  z-index: 4;
  border-top: 1px solid #edf0f3;
  background: #ffffff;
  padding-top: 12px;
  box-shadow: 0 -14px 24px rgba(255, 255, 255, 0.92);
}

@media (max-width: 1280px) {
  .board-with-sidebar {
    grid-template-columns: 1fr;
  }

  .board-sidebar {
    position: static;
    max-height: none;
  }

  .note-list.board-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (max-width: 760px) {
  .profile-page-form,
  .drawer-fields div,
  .note-list.board-grid {
    grid-template-columns: 1fr;
  }

  .task-detail-dialog {
    width: min(100vw - 18px, 760px);
    max-height: 92vh;
  }

  .task-detail-layout {
    grid-template-columns: 1fr;
    max-height: calc(92vh - 72px);
  }

  .task-lower-grid,
  .task-link-list {
    grid-template-columns: 1fr;
  }

  .task-detail-side {
    border-top: 1px solid #e5e9f0;
    border-left: 0;
  }

  .task-detail-main,
  .task-detail-side {
    padding: 20px;
  }

  .task-compose-card {
    grid-template-columns: 1fr;
  }

  .task-check-ring {
    display: none;
  }

  .task-compose-box h3 {
    font-size: 20px;
  }

  .task-detail-dialog .comment-form {
    grid-template-columns: 1fr;
  }

  .board-panel .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .board-head-actions {
    width: 100%;
    justify-content: space-between;
  }
}
