.app { display: flex; min-height: 100vh; }

/* SIDEBAR */
.sidebar {
  width: 260px;
  background: var(--deepwater);
  color: var(--driftwood);
  padding: 1.5rem 1.25rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.sidebar-logo {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--driftwood);
  margin-bottom: 0.15rem;
}

.sidebar-tagline {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--morning-mist);
  margin-bottom: 2rem;
  font-weight: 500;
}

.sidebar-user {
  background: rgba(243, 241, 232, 0.05);
  border: 1px solid rgba(243, 241, 232, 0.1);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-user-name {
  font-family: 'Fraunces', serif;
  color: var(--driftwood);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
}

.sidebar-user-role {
  font-size: 0.7rem;
  color: var(--morning-mist);
  margin-top: 0.15rem;
}

.nav-section {
  margin-bottom: 1.5rem;
}

.nav-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--morning-mist);
  margin-bottom: 0.5rem;
  font-weight: 500;
  padding: 0 0.75rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
  font-size: 0.9rem;
  color: var(--morning-mist);
}

.nav-item:hover {
  background: rgba(243, 241, 232, 0.05);
  color: var(--driftwood);
}

.nav-item.active {
  background: rgba(243, 241, 232, 0.1);
  color: var(--driftwood);
}

.nav-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 241, 232, 0.08);
}

.logout-btn {
  color: var(--morning-mist);
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  width: 100%;
  text-align: left;
  transition: all 0.2s;
}

.logout-btn:hover { background: rgba(243, 241, 232, 0.05); color: var(--driftwood); }

/* MAIN */
.main {
  flex: 1;
  padding: 2.5rem 3rem;
  overflow-x: hidden;
  max-width: 100%;
}

.page-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(39, 48, 61, 0.08);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.page-header-content { flex: 1; min-width: 0; }

.breadcrumb {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sandstone);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.page-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.page-subtitle {
  color: var(--tide);
  font-size: 0.95rem;
}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--tide);
}

.stat-card.warning { border-top-color: var(--saddle); }
.stat-card.success { border-top-color: var(--success); }
.stat-card.emberwood { border-top-color: var(--emberwood); }

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sandstone);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.stat-value {
  font-family: 'Fraunces', serif;
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--deepwater);
  line-height: 1;
}

.stat-sub {
  font-size: 0.8rem;
  color: var(--tide);
  margin-top: 0.35rem;
}

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-group {
  display: flex;
  gap: 0.25rem;
  background: var(--white);
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.filter-chip {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--tide);
  transition: all 0.15s;
  white-space: nowrap;
}

.filter-chip:hover { background: var(--driftwood); }

.filter-chip.active {
  background: var(--tide);
  color: var(--white);
}

.search-input {
  flex: 1;
  min-width: 220px;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(39, 48, 61, 0.12);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  background: var(--white);
}

.search-input:focus {
  outline: none;
  border-color: var(--tide);
  box-shadow: 0 0 0 3px rgba(61, 82, 89, 0.08);
}

/* ============================================================
   CLIENT TABLE
   ============================================================ */
.client-table {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.client-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.4fr 1fr 0.8fr 0.6fr;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(39, 48, 61, 0.06);
  align-items: center;
  transition: background 0.15s;
}

.client-row.header {
  background: var(--driftwood);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sandstone);
  font-weight: 600;
  padding: 0.85rem 1.5rem;
}

.client-row.data {
  cursor: pointer;
}

.client-row.data:hover { background: var(--driftwood); }

.client-row.data:last-child { border-bottom: none; }

.client-name {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--deepwater);
  line-height: 1.25;
}

.client-contact {
  font-size: 0.8rem;
  color: var(--sandstone);
  margin-top: 0.15rem;
}

.phase-pill {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--stone);
  color: var(--tide);
  white-space: nowrap;
}

.progress-cell { display: flex; align-items: center; gap: 0.75rem; }

.progress-mini {
  flex: 1;
  height: 4px;
  background: var(--stone);
  border-radius: 2px;
  overflow: hidden;
}

.progress-mini-fill {
  height: 100%;
  background: var(--tide);
  border-radius: 2px;
}

.progress-text {
  font-size: 0.8rem;
  color: var(--tide);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  min-width: 36px;
  text-align: right;
}

.activity-cell {
  font-size: 0.85rem;
  color: var(--tide);
}

.activity-warning { color: var(--saddle); font-weight: 500; }

.pm-cell {
  font-size: 0.85rem;
  color: var(--tide);
}

.empty-state {
  padding: 4rem 2rem;
  text-align: center;
  color: var(--sandstone);
}

.empty-state h3 {
  color: var(--tide);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.empty-state p { font-size: 0.9rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--deepwater);
  color: var(--driftwood);
}

.btn-primary:hover {
  background: var(--tide);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--tide);
  border: 1.5px solid var(--tide);
}

.btn-secondary:hover { background: var(--tide); color: var(--white); }

.btn-accent {
  background: var(--emberwood);
  color: var(--white);
}

.btn-accent:hover {
  background: #6b2434;
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--driftwood);
  color: var(--tide);
}

.btn-ghost:hover { background: var(--stone); }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }

.btn-danger {
  background: transparent;
  color: var(--emberwood);
  border: 1.5px solid var(--emberwood);
}

.btn-danger:hover { background: var(--emberwood); color: var(--white); }

/* ============================================================
   CLIENT DETAIL VIEW
   ============================================================ */
.client-detail-header {
  background: var(--white);
  padding: 2rem 2.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.client-detail-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.client-detail-title {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.client-detail-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid rgba(39, 48, 61, 0.08);
}

.meta-item { min-width: 140px; }

.meta-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sandstone);
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.meta-value {
  font-size: 0.9rem;
  color: var(--deepwater);
  font-weight: 500;
}

.client-link-box {
  background: var(--driftwood);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.client-link-text {
  flex: 1;
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  color: var(--tide);
  word-break: break-all;
}

/* ============================================================
   TABS
   ============================================================ */
.tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(39, 48, 61, 0.1);
  padding: 0 0.25rem;
}

.tab {
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  color: var(--sandstone);
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
  font-weight: 500;
  margin-bottom: -1px;
}

.tab:hover { color: var(--tide); }

.tab.active {
  color: var(--deepwater);
  border-bottom-color: var(--deepwater);
}

.tab-badge {
  display: inline-block;
  background: var(--emberwood);
  color: var(--white);
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  margin-left: 0.4rem;
  vertical-align: middle;
}

/* ============================================================
   PHASE CARDS IN CLIENT VIEW
   ============================================================ */
.phase-section {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.phase-section-header {
  padding: 1.25rem 1.75rem;
  background: var(--driftwood);
  border-bottom: 1px solid rgba(39, 48, 61, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  transition: background 0.15s;
}

.phase-section-header:hover { background: var(--stone); }

.phase-section-title {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  color: var(--deepwater);
  font-weight: 500;
}

.phase-section-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--tide);
}

.internal-badge-sm {
  background: var(--sandstone);
  color: var(--white);
  font-size: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.phase-section-body {
  padding: 0;
  display: none;
}

.phase-section.expanded .phase-section-body { display: block; }

.phase-section.expanded .phase-section-header { border-bottom-color: rgba(39, 48, 61, 0.1); }

.task-row {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid rgba(39, 48, 61, 0.06);
  transition: background 0.15s;
}

.task-row:last-child { border-bottom: none; }

.task-row-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.task-row-left { flex: 1; min-width: 0; }

.task-row-title {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  color: var(--deepwater);
  font-weight: 500;
  line-height: 1.3;
}

.task-row-meta {
  font-size: 0.78rem;
  color: var(--sandstone);
  margin-top: 0.25rem;
}

.status-pill {
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-pill.pending { background: var(--stone); color: var(--sandstone); }
.status-pill.complete { background: rgba(74, 107, 90, 0.12); color: var(--success); }
.status-pill.waiting { background: rgba(184, 134, 77, 0.15); color: var(--saddle); }
.status-pill.in-progress { background: rgba(61, 82, 89, 0.1); color: var(--tide); }

.task-row-body {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(39, 48, 61, 0.06);
  display: none;
}

.task-row.expanded .task-row-body { display: block; }

.task-description {
  color: var(--tide);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  white-space: pre-line;
  line-height: 1.6;
}

/* ============================================================
   FORMS (EDITABLE)
   ============================================================ */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--deepwater);
  margin-bottom: 0.4rem;
}

.form-label.required::after {
  content: ' *';
  color: var(--emberwood);
}

.form-help {
  font-size: 0.78rem;
  color: var(--sandstone);
  margin-top: 0.3rem;
  line-height: 1.4;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid rgba(39, 48, 61, 0.12);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--deepwater);
  background: var(--white);
  transition: all 0.15s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--tide);
  box-shadow: 0 0 0 3px rgba(61, 82, 89, 0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
  font-family: 'Inter', sans-serif;
}

.form-radio-group,
.form-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem;
  background: var(--driftwood);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
  font-size: 0.88rem;
}

.form-check-label:hover { background: var(--stone); }

.form-check-label input { margin-top: 3px; accent-color: var(--tide); cursor: pointer; }

.form-check-label.checked {
  background: rgba(61, 82, 89, 0.08);
  border-left: 3px solid var(--tide);
}

/* PM-only internal notes */
.internal-notes {
  background: rgba(145, 86, 56, 0.06);
  border: 1px dashed var(--saddle);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-top: 1rem;
}

.internal-notes-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--saddle);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.internal-notes-input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--deepwater);
  resize: vertical;
  min-height: 50px;
}

.internal-notes-input:focus { outline: none; }

/* ============================================================
   FILE UPLOAD
   ============================================================ */
.file-upload {
  border: 2px dashed rgba(39, 48, 61, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
  background: var(--driftwood);
  transition: all 0.15s;
  cursor: pointer;
  display: block;
}

.file-upload:hover {
  border-color: var(--tide);
  background: rgba(61, 82, 89, 0.03);
}

.file-upload input[type="file"] { display: none; }

.file-upload-text {
  font-weight: 500;
  color: var(--deepwater);
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.file-upload-hint {
  font-size: 0.75rem;
  color: var(--sandstone);
}

.file-list {
  list-style: none;
  margin-top: 0.75rem;
}

.file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.85rem;
  background: var(--white);
  border: 1px solid rgba(39, 48, 61, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
}

.file-list .file-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}

.file-icon-small {
  width: 26px;
  height: 26px;
  background: var(--tide);
  color: var(--white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

.file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--deepwater);
}

.file-meta {
  color: var(--sandstone);
  font-size: 0.72rem;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.file-remove {
  color: var(--emberwood);
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  transition: all 0.15s;
}

.file-remove:hover { background: rgba(130, 44, 65, 0.08); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(33, 34, 34, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 100;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  color: var(--tide);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ============================================================
   ACTIVITY LOG
   ============================================================ */
.activity-log {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-sm);
}

.activity-entry {
  display: flex;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(39, 48, 61, 0.06);
}

.activity-entry:last-child { border-bottom: none; }

.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tide);
  margin-top: 7px;
  flex-shrink: 0;
}

.activity-dot.client { background: var(--emberwood); }
.activity-dot.pm { background: var(--tide); }
.activity-dot.system { background: var(--sandstone); }

.activity-content { flex: 1; font-size: 0.88rem; }

.activity-actor {
  font-weight: 500;
  color: var(--deepwater);
}

.activity-action { color: var(--tide); }

.activity-time {
  font-size: 0.75rem;
  color: var(--sandstone);
  margin-top: 0.2rem;
}

/* ============================================================
   NOTICES
   ============================================================ */
.notice {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.notice-info {
  background: rgba(144, 163, 166, 0.15);
  color: var(--deepwater);
  border-left: 3px solid var(--morning-mist);
}

.notice-success {
  background: rgba(74, 107, 90, 0.1);
  color: var(--deepwater);
  border-left: 3px solid var(--success);
}

.notice-warning {
  background: rgba(184, 134, 77, 0.12);
  color: var(--deepwater);
  border-left: 3px solid var(--saddle);
}

.notice-internal {
  background: rgba(145, 86, 56, 0.08);
  color: var(--deepwater);
  border-left: 3px solid var(--saddle);
}

/* ============================================================
   SAVE INDICATOR
   ============================================================ */
.save-indicator {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--tide);
  color: var(--white);
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
  pointer-events: none;
  z-index: 1000;
}

.save-indicator.show {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 900px) {
  .app { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: relative; padding: 1rem; }
  .main { padding: 1.5rem; }
  .client-row { grid-template-columns: 1fr; gap: 0.5rem; padding: 1rem; }
  .client-row.header { display: none; }
  .client-row.data { border-bottom: 2px solid rgba(39, 48, 61, 0.08); }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in { animation: fadeIn 0.3s ease-out; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.hidden { display: none !important; }
.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background:
    radial-gradient(circle at top right, rgba(61,82,89,0.08), transparent 40%),
    radial-gradient(circle at bottom left, rgba(164,126,94,0.08), transparent 40%),
    var(--driftwood);
}

.login-card {
  width: 100%;
  max-width: 460px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(39,48,61,0.08);
}

.login-logo {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--deepwater);
  margin-bottom: 0.25rem;
  text-align: center;
}

.login-subtitle {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sandstone);
  margin-bottom: 2rem;
}

.login-heading {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  color: var(--deepwater);
  margin-bottom: 0.35rem;
  text-align: center;
}

.login-intro {
  text-align: center;
  color: var(--sandstone);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.login-card .notice {
  margin-bottom: 1.25rem;
}
