*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1B2A3E;
  --deep: #131F2E;
  --frost: #C8D8EC;
  --mist: #8BA4BF;
  --gold: #C49A5A;
  --green: #3A8A6A;
  --amber: #9A6B2F;
  --red: #9A3F2D;
  --page-bg: #F4F6F9;
  --card-bg: #FFFFFF;
  --border: #DDE3EC;
  --label: #4A5C72;
}

body {
  background: var(--page-bg);
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
}

nav {
  align-items: center;
  background: var(--deep);
  border-bottom: 1px solid rgba(200,216,236,0.08);
  display: flex;
  justify-content: space-between;
  padding: 18px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  color: var(--frost);
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

.logo em { color: var(--gold); font-style: italic; font-weight: 600; }

.nav-actions { align-items: center; display: flex; gap: 14px; }

.nav-link {
  background: transparent;
  border: 0;
  color: var(--mist);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}

.nav-link:hover { color: var(--frost); }

.account-menu { flex-shrink: 0; position: relative; }
.account-menu-button {
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200,216,236,0.16);
  border-radius: 999px;
  color: var(--frost);
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  list-style: none;
  padding: 3px 3px 3px 11px;
}
.account-menu-button::-webkit-details-marker { display: none; }
.account-menu-name { color: var(--mist); font-size: 13px; }
.account-avatar {
  align-items: center;
  background: var(--navy);
  border-radius: 999px;
  color: var(--frost);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  height: 30px;
  justify-content: center;
  text-transform: uppercase;
  width: 30px;
}
.account-menu-panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(19,31,46,0.16);
  display: none;
  min-width: 245px;
  padding: 10px;
  position: absolute;
  right: 0;
  top: 44px;
  z-index: 220;
}
.account-menu[open] .account-menu-panel { display: grid; gap: 4px; }
.account-menu-head { border-bottom: 1px solid var(--border); display: grid; gap: 4px; margin-bottom: 6px; padding: 8px 10px 10px; }
.account-menu-head strong { color: var(--navy); font-size: 13px; }
.account-menu-head span,
.account-menu-head em { color: var(--label); font-size: 12px; font-style: normal; }
.account-menu-panel a,
.account-menu-panel button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--navy);
  display: block;
  font: inherit;
  font-size: 13px;
  padding: 10px;
  text-align: left;
  text-decoration: none;
  width: 100%;
}
.account-menu-panel a:hover,
.account-menu-panel button:hover { background: #F4F6F9; }
.account-menu-panel form { margin: 0; }

.page {
  margin: 0 auto;
  max-width: 860px;
  padding: 44px 20px 80px;
}

.status-hero,
.timeline,
.summary-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(27,42,62,0.05);
}

.status-hero {
  border-top: 4px solid var(--amber);
  margin-bottom: 18px;
  padding: 34px 32px;
}

.status-approved { border-top-color: var(--green); }
.status-rejected { border-top-color: var(--red); }

.eyebrow {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.02;
  margin-bottom: 12px;
}

h2 { font-size: 28px; margin-bottom: 18px; }

.status-hero p {
  color: var(--label);
  font-size: 15px;
  line-height: 1.7;
  max-width: 650px;
}

.primary-btn,
.secondary-btn {
  border-radius: 4px;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  margin-top: 22px;
  padding: 13px 18px;
  text-decoration: none;
}

.primary-btn { background: var(--navy); color: white; }
.secondary-btn { border: 1px solid var(--navy); color: var(--navy); }

.status-note {
  background: #fff7ed;
  border: 1px solid rgba(154,63,45,0.2);
  border-radius: 8px;
  color: var(--label);
  display: grid;
  gap: 6px;
  margin-top: 16px;
  max-width: 650px;
  padding: 14px 16px;
}

.status-note strong {
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-note span {
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.timeline {
  display: grid;
  gap: 0;
  margin-bottom: 18px;
}

.timeline-step {
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 14px;
  padding: 18px 22px;
}

.timeline-step:last-child { border-bottom: 0; }

.timeline-step span {
  align-items: center;
  background: #EEF2F6;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--label);
  display: inline-flex;
  flex: 0 0 30px;
  font-size: 12px;
  font-weight: 700;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.timeline-step.done span { background: rgba(58,138,106,0.12); border-color: rgba(58,138,106,0.35); color: var(--green); }
.timeline-step.active span { background: rgba(196,154,90,0.14); border-color: rgba(196,154,90,0.4); color: var(--amber); }

.timeline-step strong { display: block; font-size: 14px; margin-bottom: 3px; }
.timeline-step p { color: var(--label); font-size: 13px; line-height: 1.5; }

.summary-card { padding: 26px 28px; }

.summary-card dl {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.summary-card dt {
  color: var(--mist);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.summary-card dd {
  color: var(--label);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  nav { padding: 16px 18px; }
  .page { padding-top: 28px; }
  .status-hero { padding: 28px 22px; }
  .summary-card dl { grid-template-columns: 1fr; }
}

.notification-wrap { position: relative; }
.notification-button {
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200,216,236,0.16);
  border-radius: 999px;
  color: var(--frost);
  cursor: pointer;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  list-style: none;
  position: relative;
  width: 34px;
}
.notification-button::-webkit-details-marker { display: none; }
.notification-symbol { font-size: 15px; line-height: 1; }
.notification-count {
  background: var(--gold);
  border-radius: 999px;
  color: var(--deep);
  font-size: 10px;
  font-weight: 700;
  min-width: 17px;
  padding: 2px 5px;
  position: absolute;
  right: -6px;
  top: -6px;
  text-align: center;
}
.notification-menu {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(19,31,46,0.16);
  min-width: 250px;
  padding: 10px;
  position: absolute;
  right: 0;
  top: 44px;
  z-index: 200;
}
.notification-title { color: var(--navy); font-size: 12px; font-weight: 700; padding: 6px 8px 10px; }
.notification-item { border-radius: 6px; color: var(--navy); display: block; padding: 10px 8px; text-decoration: none; }
.notification-item:hover { background: #F4F6F9; }
.notification-item-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 3px; }
.notification-item-detail, .notification-empty { color: var(--label); font-size: 12px; line-height: 1.4; }
.notification-empty { padding: 10px 8px; }
