:root {
  color-scheme: dark;
  --bg: #10130f;
  --panel: #191d18;
  --text: #f3f4ed;
  --muted: #92988d;
  --lime: #c6f36a;
  --line: rgba(235, 241, 224, 0.1);
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

.offline-banner {
  position: sticky;
  z-index: 20;
  top: 0;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(198, 243, 106, 0.25);
  background: #20261a;
  color: #e6f5c4;
  font-size: 13px;
  text-align: center;
}

.offline-banner[hidden] {
  display: none;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.page-shell {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow-x: clip;
  overflow-y: visible;
  isolation: isolate;
  padding: 0 clamp(24px, 7.2vw, 112px);
  background:
    radial-gradient(ellipse at 13% 52%, rgba(56, 75, 41, 0.16), transparent 34%),
    radial-gradient(ellipse at 83% 15%, rgba(80, 87, 46, 0.11), transparent 34%),
    #10130f;
}

.grain {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
}

.ambient {
  position: absolute;
  z-index: -1;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(198, 243, 106, 0.09);
  border-radius: 50%;
  pointer-events: none;
  animation: ambient-drift 13s ease-in-out infinite alternate;
}

.ambient-one {
  top: 12%;
  left: -280px;
  box-shadow: 0 0 100px rgba(198, 243, 106, 0.025), inset 0 0 100px rgba(198, 243, 106, 0.02);
}

.ambient-two {
  right: -310px;
  bottom: 0;
  width: 500px;
  height: 500px;
  animation-delay: -5s;
}

.topbar,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar {
  position: relative;
  z-index: 2;
  min-height: 96px;
  animation: fade-down 700ms ease both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1.7px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--lime);
}

.brand-mark svg {
  width: 29px;
  height: 29px;
  animation: slow-spin 24s linear infinite;
}

.brand-period {
  color: var(--lime);
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #aeb3a8;
  font-size: 12px;
  text-decoration: none;
  transition: color 180ms ease;
}

.topbar-link:hover {
  color: var(--lime);
}

.layout {
  position: relative;
  display: grid;
  width: min(100%, 1080px);
  flex: 1;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 440px);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  margin: 0 auto;
  padding: 34px 0 62px;
}

.intro {
  min-width: 0;
  padding: 0 0 12px;
  animation: rise-in 850ms cubic-bezier(0.2, 0.7, 0.25, 1) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  color: #a3aa9a;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(198, 243, 106, 0.55);
  animation: dot-pulse 2.2s ease-in-out infinite;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(43px, 5.3vw, 70px);
  font-weight: 600;
  letter-spacing: -0.072em;
  line-height: 1.07;
}

.headline-accent {
  color: var(--lime);
}

.intro-copy {
  max-width: 390px;
  margin-bottom: 0;
  color: #a3a99e;
  font-size: 14px;
  line-height: 1.85;
}

.orbit-art {
  position: relative;
  display: grid;
  width: 245px;
  height: 210px;
  place-items: center;
  margin: 9px 0 5px 12px;
  color: var(--lime);
}

.orbit {
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(198, 243, 106, 0.16);
  border-radius: 50%;
}

.orbit-outer {
  width: 180px;
  height: 180px;
  border-style: dashed;
  border-color: rgba(198, 243, 106, 0.17);
  animation: slow-spin 45s linear infinite;
}

.orbit-inner {
  width: 130px;
  height: 130px;
  border-color: rgba(198, 243, 106, 0.22);
  box-shadow: 0 0 45px rgba(198, 243, 106, 0.045), inset 0 0 45px rgba(198, 243, 106, 0.035);
  animation: breathe 5s ease-in-out infinite;
}

.orbit-core {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid rgba(198, 243, 106, 0.18);
  border-radius: 23px;
  background: linear-gradient(145deg, rgba(198, 243, 106, 0.13), rgba(198, 243, 106, 0.025));
  box-shadow: 0 0 50px rgba(198, 243, 106, 0.13), inset 0 1px rgba(255, 255, 255, 0.12);
  transform: rotate(-9deg);
  animation: core-float 5s ease-in-out infinite;
}

.orbit-core svg {
  width: 44px;
  height: 44px;
}

.orbit-spark {
  position: absolute;
  color: #eff7dd;
}

.spark-one {
  top: 28px;
  right: 42px;
  font-size: 18px;
  animation: twinkle 3s ease-in-out infinite;
}

.spark-two {
  bottom: 37px;
  left: 40px;
  color: var(--lime);
  font-size: 13px;
  animation: twinkle 2.5s ease-in-out infinite 900ms;
}

.spark-three {
  top: 78px;
  left: 22px;
  color: #e5edcf;
  font-size: 28px;
  animation: twinkle 3.5s ease-in-out infinite 400ms;
}

.orbit-caption {
  position: absolute;
  right: -20px;
  bottom: 11px;
  color: #788071;
  font-size: 8px;
  letter-spacing: 0.22em;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar-stack {
  display: flex;
  padding-left: 2px;
}

.avatar {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin-left: -3px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  color: #24291f;
  font-size: 9px;
  font-weight: 700;
}

.avatar-a { background: #d2a38c; }
.avatar-b { background: #c2cf9d; }
.avatar-c { background: #d9c283; }
.avatar-d { background: #a9b9ad; }

.social-proof p {
  margin: 0;
  color: #858c80;
  font-size: 10px;
  line-height: 1.65;
}

.social-proof strong {
  color: #d3d8ca;
  font-size: 11px;
  font-weight: 600;
}

.auth-card {
  position: relative;
  overflow: hidden;
  padding: 1px;
  border: 1px solid rgba(234, 241, 222, 0.11);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015) 50%, rgba(198, 243, 106, 0.045));
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.26), 0 2px 8px rgba(0, 0, 0, 0.18);
  animation: card-appear 850ms cubic-bezier(0.2, 0.7, 0.25, 1) 100ms both;
  backdrop-filter: blur(18px);
}

.card-glow {
  position: absolute;
  top: -90px;
  right: -100px;
  width: 220px;
  height: 180px;
  border-radius: 50%;
  background: rgba(198, 243, 106, 0.055);
  filter: blur(55px);
  pointer-events: none;
}

.card-content {
  position: relative;
  padding: 34px 34px 24px;
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(28, 32, 27, 0.97), rgba(22, 25, 21, 0.98));
}

.card-heading {
  text-align: center;
}

.mini-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin: 0 auto 12px;
  border: 1px solid rgba(198, 243, 106, 0.2);
  border-radius: 12px;
  background: rgba(198, 243, 106, 0.07);
  color: var(--lime);
  font-size: 17px;
  animation: mark-bob 4s ease-in-out infinite;
}

.card-kicker {
  margin-bottom: 7px;
  color: var(--lime);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.19em;
}

.card-heading h2 {
  margin-bottom: 6px;
  font-family: "Manrope", sans-serif;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.card-subtitle {
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 11px;
}

.mode-switch {
  position: relative;
  display: grid;
  height: 40px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 22px;
  padding: 3px;
  border: 1px solid rgba(237, 243, 227, 0.06);
  border-radius: 9px;
  background: rgba(7, 9, 7, 0.36);
}

.mode-tab {
  position: relative;
  z-index: 1;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #858b80;
  cursor: pointer;
  font-size: 10px;
  font-weight: 500;
  transition: color 180ms ease;
}

.mode-tab.is-active {
  color: #e7ebdf;
}

.tab-indicator {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 7px;
  background: linear-gradient(135deg, #32382c, #292e25);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.17);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mode-switch[data-mode="signup"] .tab-indicator {
  transform: translateX(100%);
}

.field {
  margin-bottom: 16px;
  animation: field-in 250ms ease both;
}

.field[hidden] {
  display: none;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #d1d5ca;
  font-size: 10px;
  font-weight: 500;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.password-hint {
  margin-bottom: 7px;
  color: #6f7768;
  font-size: 9px;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap input {
  width: 100%;
  height: 43px;
  padding: 0 43px 0 40px;
  border: 1px solid rgba(230, 237, 219, 0.095);
  border-radius: 8px;
  outline: none;
  background: rgba(11, 13, 11, 0.39);
  color: #f0f1e9;
  font-size: 11px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.input-wrap input::placeholder {
  color: #62695e;
}

.input-wrap input:hover {
  border-color: rgba(230, 237, 219, 0.17);
}

.input-wrap input:focus {
  border-color: rgba(198, 243, 106, 0.62);
  background: rgba(11, 13, 11, 0.63);
  box-shadow: 0 0 0 3px rgba(198, 243, 106, 0.07);
}

.input-icon {
  position: absolute;
  left: 13px;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  color: #777f70;
  pointer-events: none;
}

.input-icon svg {
  width: 16px;
  height: 16px;
}

.password-toggle {
  position: absolute;
  right: 10px;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #778071;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.password-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--lime);
}

.password-toggle svg {
  width: 16px;
  height: 16px;
}

.password-toggle[aria-pressed="true"] .eye-open {
  opacity: 0.55;
}

.form-message {
  min-height: 16px;
  margin: -1px 0 8px;
  color: #f0a393;
  font-size: 10px;
  line-height: 1.5;
}

.form-message.is-success {
  color: var(--lime);
}

.submit-button {
  position: relative;
  display: flex;
  width: 100%;
  height: 45px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  gap: 9px;
  border: 0;
  border-radius: 8px;
  background: var(--lime);
  color: #171b11;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(198, 243, 106, 0.1);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.submit-button:hover {
  transform: translateY(-1px);
  background: #d0fb76;
  box-shadow: 0 8px 26px rgba(198, 243, 106, 0.18);
}

.submit-button:active {
  transform: translateY(0);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.75;
}

.button-arrow {
  font-size: 14px;
  transition: transform 180ms ease;
}

.submit-button:hover .button-arrow {
  transform: translate(2px, -2px);
}

.button-shine {
  position: absolute;
  top: -100%;
  left: -40%;
  width: 30%;
  height: 300%;
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(24deg);
  transition: left 500ms ease;
}

.submit-button:hover .button-shine {
  left: 120%;
}

.card-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 19px;
}

.card-footer p {
  flex: 0 0 auto;
  margin: 0;
  color: #747b6f;
  font-size: 8px;
}

.footer-line {
  height: 1px;
  flex: 1;
  background: rgba(233, 239, 225, 0.07);
}

.demo-note {
  margin: 16px 0 0;
  color: #697164;
  font-size: 8px;
  text-align: center;
}

.demo-note span {
  margin-right: 4px;
  color: #97ad6f;
}

.site-footer {
  position: relative;
  z-index: 1;
  min-height: 58px;
  color: #70776c;
  font-size: 9px;
  animation: fade-up 700ms ease 250ms both;
}

.footer-star {
  margin-left: 4px;
  color: var(--lime);
}

.welcome-panel {
  padding: 42px 34px;
  text-align: center;
  animation: welcome-in 500ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.welcome-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid rgba(198, 243, 106, 0.28);
  border-radius: 19px;
  background: rgba(198, 243, 106, 0.09);
  color: var(--lime);
  font-size: 26px;
  box-shadow: 0 0 38px rgba(198, 243, 106, 0.12);
  animation: mark-bob 4s ease-in-out infinite;
}

.welcome-panel .card-kicker {
  margin-bottom: 10px;
}

.welcome-panel h2 {
  margin-bottom: 9px;
  font-family: "Manrope", sans-serif;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.055em;
}

.welcome-panel .card-subtitle {
  margin: 0 auto 25px;
  line-height: 1.7;
}

.logout-button {
  width: 100%;
  height: 43px;
  border: 1px solid rgba(235, 241, 224, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: #e3e7da;
  cursor: pointer;
  font-size: 11px;
  transition: border-color 180ms ease, background 180ms ease;
}

.logout-button:hover {
  border-color: rgba(198, 243, 106, 0.38);
  background: rgba(198, 243, 106, 0.055);
}

[hidden] {
  display: none !important;
}

body.is-authenticated > .page-shell {
  min-height: 100vh;
  padding: 0;
}

.is-authenticated .ambient-one {
  top: 52%;
  left: -300px;
}

.is-authenticated .ambient-two {
  right: -350px;
  bottom: 3%;
}

.dashboard-app {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  grid-template-columns: 244px minmax(0, 1fr);
  background:
    radial-gradient(ellipse at 79% 5%, rgba(75, 91, 47, 0.09), transparent 28%),
    linear-gradient(110deg, rgba(15, 18, 14, 0.97), rgba(17, 20, 16, 0.91));
  animation: dashboard-arrive 500ms cubic-bezier(0.2, 0.7, 0.25, 1) both;
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  min-height: 620px;
  flex-direction: column;
  padding: 29px 16px 17px;
  border-right: 1px solid rgba(235, 241, 224, 0.075);
  background: rgba(15, 18, 14, 0.76);
  backdrop-filter: blur(20px);
}

.dashboard-brand {
  align-self: flex-start;
  margin: 0 0 54px 7px;
}

.sidebar-label,
.dashboard-eyebrow {
  color: #788071;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.sidebar-label {
  margin: 0 0 11px 12px;
}

.dashboard-nav {
  display: grid;
  gap: 5px;
}

.dashboard-nav-item {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #9ba194;
  cursor: pointer;
  font-size: 11px;
  text-align: left;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.dashboard-nav-item > span:first-child {
  width: 16px;
  color: #8e9784;
  font-size: 17px;
  text-align: center;
}

.dashboard-nav-item:hover {
  color: #eef1e8;
  background: rgba(255, 255, 255, 0.035);
}

.dashboard-nav-item.is-active {
  border-color: rgba(198, 243, 106, 0.11);
  background: linear-gradient(100deg, rgba(198, 243, 106, 0.095), rgba(198, 243, 106, 0.025));
  color: #e5ecd9;
}

.dashboard-nav-item.is-active > span:first-child {
  color: var(--lime);
}

.nav-count {
  display: grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  margin-left: auto;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  color: #aeb5a6;
  font-size: 9px;
}

.sidebar-bottom {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.sidebar-settings {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border: 1px solid rgba(236, 242, 225, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease;
}

.sidebar-settings:hover {
  border-color: rgba(198, 243, 106, 0.22);
  background: rgba(198, 243, 106, 0.045);
}

.profile-avatar,
.topbar-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(198, 243, 106, 0.25);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(198, 243, 106, 0.2), rgba(198, 243, 106, 0.07));
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
}

.profile-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.profile-copy strong {
  overflow: hidden;
  color: #e4e8de;
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-copy > span {
  color: #80877b;
  font-size: 9px;
}

.settings-dots {
  margin-left: auto;
  color: #969e8d;
  font-size: 17px;
  letter-spacing: 1px;
}

.sidebar-signout {
  display: flex;
  min-height: 35px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #899184;
  cursor: pointer;
  font-size: 10px;
  text-align: left;
  transition: color 160ms ease, background 160ms ease;
}

.sidebar-signout:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #ecefe7;
}

.sidebar-signout > span {
  color: #abb19f;
  font-size: 14px;
}

.sidebar-version {
  margin: 11px 0 0 8px;
  color: #60685b;
  font-size: 7px;
  letter-spacing: 0.13em;
}

.sidebar-version span {
  margin-left: 4px;
  color: var(--lime);
}

.dashboard-main {
  min-width: 0;
}

.dashboard-topbar {
  position: sticky;
  z-index: 4;
  top: 0;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(24px, 4vw, 62px);
  border-bottom: 1px solid rgba(235, 241, 224, 0.07);
  background: rgba(16, 19, 15, 0.78);
  backdrop-filter: blur(18px);
}

.dashboard-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #848b7d;
  font-size: 10px;
}

.breadcrumb-divider {
  color: #535a4e;
}

.dashboard-breadcrumb strong {
  color: #e2e7da;
  font-weight: 500;
}

.dashboard-tools {
  display: flex;
  align-items: center;
  gap: 17px;
}

.dashboard-search {
  display: flex;
  width: clamp(180px, 24vw, 270px);
  height: 35px;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  border: 1px solid rgba(235, 241, 224, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: #899184;
  transition: border-color 180ms ease, background 180ms ease;
}

.dashboard-search:focus-within {
  border-color: rgba(198, 243, 106, 0.39);
  background: rgba(255, 255, 255, 0.04);
}

.dashboard-search > span {
  font-size: 17px;
}

.dashboard-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #e9ede2;
  font-size: 10px;
}

.dashboard-search input::placeholder {
  color: #747c6e;
}

.dashboard-search kbd {
  flex: 0 0 auto;
  padding: 3px 5px;
  border: 1px solid rgba(235, 241, 224, 0.09);
  border-radius: 4px;
  color: #858c7f;
  font-family: inherit;
  font-size: 8px;
}

.topbar-avatar {
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease;
}

.topbar-avatar:hover {
  transform: translateY(-1px);
  border-color: rgba(198, 243, 106, 0.56);
}

.mobile-signout {
  display: none;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(235, 241, 224, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: #abb19f;
  cursor: pointer;
  font-size: 13px;
}

.mobile-signout:hover {
  border-color: rgba(198, 243, 106, 0.3);
  color: var(--lime);
}

.dashboard-content {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: 43px clamp(24px, 4vw, 62px) 48px;
}

.dashboard-page {
  animation: dashboard-content-in 320ms ease both;
}

.page-intro {
  margin-bottom: 28px;
}

.page-intro-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
}

.page-intro .dashboard-eyebrow {
  margin-bottom: 12px;
}

.page-intro h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 43px);
  letter-spacing: -0.065em;
}

.page-intro h1 > span {
  color: var(--lime);
}

.page-intro > div > p:last-child,
.page-intro:not(.page-intro-row) > p:last-child {
  margin: 0;
  color: #92998c;
  font-size: 11px;
  line-height: 1.7;
}

.page-intro:not(.page-intro-row) {
  margin-bottom: 31px;
}

.page-intro:not(.page-intro-row) h1 {
  margin-bottom: 8px;
}

.primary-action,
.dialog-submit {
  display: inline-flex;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid rgba(198, 243, 106, 0.38);
  border-radius: 8px;
  background: var(--lime);
  color: #171b11;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 5px 19px rgba(198, 243, 106, 0.08);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.primary-action:hover,
.dialog-submit:hover {
  transform: translateY(-1px);
  background: #d3fb7c;
  box-shadow: 0 8px 24px rgba(198, 243, 106, 0.17);
}

.primary-action > span,
.dialog-submit > span {
  font-size: 14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 35px;
}

.stat-card {
  position: relative;
  display: grid;
  min-height: 134px;
  grid-template-columns: 36px 1fr;
  grid-template-rows: 21px 1fr 22px;
  align-items: center;
  column-gap: 10px;
  padding: 17px 18px 14px;
  border: 1px solid rgba(235, 241, 224, 0.08);
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(29, 33, 27, 0.79), rgba(22, 25, 21, 0.59));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  transition: transform 180ms ease, border-color 180ms ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(198, 243, 106, 0.17);
}

.stat-icon {
  display: grid;
  width: 34px;
  height: 34px;
  grid-row: span 2;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 11px;
  font-size: 14px;
}

.stat-icon-lime { color: #c6f36a; background: rgba(198, 243, 106, 0.07); border-color: rgba(198, 243, 106, 0.14); }
.stat-icon-blue { color: #8fc5da; background: rgba(119, 191, 215, 0.07); border-color: rgba(119, 191, 215, 0.13); }
.stat-icon-violet { color: #c2a9e8; background: rgba(177, 140, 220, 0.07); border-color: rgba(177, 140, 220, 0.14); }

.stat-label {
  align-self: end;
  color: #858d7e;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.stat-card strong {
  align-self: center;
  color: #f0f2eb;
  font-family: "Manrope", sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.15;
}

.stat-card > small {
  grid-column: 1 / -1;
  align-self: end;
  color: #80877a;
  font-size: 9px;
}

.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(235px, 0.85fr);
  align-items: start;
  gap: 26px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 15px;
}

.panel-heading .dashboard-eyebrow {
  margin-bottom: 6px;
  font-size: 8px;
}

.panel-heading h2 {
  margin: 0;
  color: #e8ebe3;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.text-action,
.icon-action {
  border: 0;
  background: transparent;
  color: #9ca48f;
  cursor: pointer;
  font-size: 9px;
  transition: color 160ms ease;
}

.text-action:hover,
.icon-action:hover {
  color: var(--lime);
}

.text-action > span {
  margin-left: 3px;
}

.icon-action {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(235, 241, 224, 0.1);
  border-radius: 7px;
  font-size: 12px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 13px;
}

.projects-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
}

.project-card {
  position: relative;
  display: flex;
  min-height: 183px;
  flex-direction: column;
  overflow: hidden;
  padding: 15px;
  border: 1px solid rgba(235, 241, 224, 0.09);
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 96% 0%, var(--project-glow), transparent 57%),
    linear-gradient(145deg, rgba(29, 33, 27, 0.88), rgba(22, 25, 21, 0.83));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: var(--project-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.17);
}

.project-lime { --project-color: #c6f36a; --project-glow: rgba(198, 243, 106, 0.095); --project-border: rgba(198, 243, 106, 0.26); }
.project-blue { --project-color: #8fc5da; --project-glow: rgba(119, 191, 215, 0.09); --project-border: rgba(119, 191, 215, 0.24); }
.project-violet { --project-color: #c2a9e8; --project-glow: rgba(177, 140, 220, 0.09); --project-border: rgba(177, 140, 220, 0.24); }
.project-coral { --project-color: #edaa8c; --project-glow: rgba(220, 139, 104, 0.09); --project-border: rgba(220, 139, 104, 0.24); }

.project-card-top,
.project-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--project-border);
  border-radius: 9px;
  background: var(--project-glow);
  color: var(--project-color);
  font-size: 14px;
}

.project-date {
  color: #7b8275;
  font-size: 8px;
}

.project-card h3 {
  overflow: hidden;
  margin: 16px 0 5px;
  color: #e6e9e0;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-card > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 17px;
  color: #92998c;
  font-size: 9px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.project-card-bottom {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(235, 241, 224, 0.07);
}

.project-card-bottom > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #92998b;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.project-card-bottom i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--project-color);
  box-shadow: 0 0 8px var(--project-glow);
}

.project-open {
  color: #8d9586;
  font-size: 12px;
  transition: color 160ms ease, transform 160ms ease;
}

.project-card:hover .project-open {
  transform: translate(1px, -1px);
  color: var(--project-color);
}

.activity-panel {
  min-width: 0;
  padding: 16px 15px 9px;
  border: 1px solid rgba(235, 241, 224, 0.08);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(29, 33, 27, 0.66), rgba(22, 25, 21, 0.48));
}

.activity-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid rgba(235, 241, 224, 0.055);
}

.activity-icon {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(198, 243, 106, 0.15);
  border-radius: 8px;
  background: rgba(198, 243, 106, 0.055);
  color: var(--lime);
  font-size: 12px;
}

.activity-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.activity-copy strong {
  color: #cbd1c3;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.5;
}

.activity-copy small {
  color: #7d8576;
  font-size: 8px;
}

.activity-empty {
  margin: 0;
  padding: 12px 0 18px;
  border-top: 1px solid rgba(235, 241, 224, 0.055);
  color: #81897b;
  font-size: 9px;
  line-height: 1.7;
}

.full-activity-panel {
  max-width: 780px;
  padding: 20px 23px 10px;
}

.full-activity-panel .activity-item {
  padding: 16px 0;
}

.full-activity-panel .activity-copy strong {
  font-size: 10px;
}

.full-activity-panel .activity-copy small {
  font-size: 9px;
}

.full-activity-panel .panel-heading > span {
  color: #889080;
  font-size: 9px;
}

.dashboard-footnote {
  margin: 28px 0 0;
  color: #70786a;
  font-size: 9px;
  text-align: center;
}

.dashboard-footnote > span {
  margin-right: 5px;
  color: var(--lime);
}

.projects-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 13px;
  color: #858d7e;
  font-size: 9px;
}

.projects-toolbar > span:last-child {
  color: #a8ae9f;
}

.projects-toolbar > span:last-child > span {
  margin-left: 4px;
  color: var(--lime);
}

.empty-state {
  display: grid;
  min-height: 226px;
  justify-items: center;
  align-content: center;
  padding: 28px;
  border: 1px dashed rgba(235, 241, 224, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
  text-align: center;
}

.empty-state > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 13px;
  border: 1px solid rgba(198, 243, 106, 0.2);
  border-radius: 13px;
  background: rgba(198, 243, 106, 0.065);
  color: var(--lime);
  font-size: 18px;
}

.empty-state h3 {
  margin: 0 0 6px;
  color: #e4e8dd;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.empty-state p {
  max-width: 300px;
  margin: 0 0 15px;
  color: #8a9184;
  font-size: 9px;
  line-height: 1.7;
}

.empty-action {
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(198, 243, 106, 0.22);
  border-radius: 7px;
  background: rgba(198, 243, 106, 0.07);
  color: var(--lime);
  cursor: pointer;
  font-size: 9px;
  transition: background 160ms ease;
}

.empty-action:hover {
  background: rgba(198, 243, 106, 0.13);
}

.empty-action > span {
  margin-left: 4px;
}

.dashboard-loading {
  padding: 60px 0;
  color: #a7ae9d;
  font-size: 12px;
  text-align: center;
}

.app-dialog {
  width: min(100% - 32px, 420px);
  max-height: min(90vh, 780px);
  overflow: auto;
  padding: 0;
  border: 1px solid rgba(235, 241, 224, 0.14);
  border-radius: 17px;
  background: #1b1f19;
  color: var(--text);
  box-shadow: 0 25px 100px rgba(0, 0, 0, 0.55);
  animation: dialog-arrive 220ms ease both;
}

.app-dialog::backdrop {
  background: rgba(5, 7, 5, 0.74);
  backdrop-filter: blur(7px);
}

.dialog-content {
  position: relative;
  padding: 26px 27px 27px;
}

.dialog-heading {
  position: relative;
  margin-bottom: 22px;
  text-align: center;
}

.dialog-icon {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  margin: 0 auto 13px;
  border: 1px solid rgba(198, 243, 106, 0.23);
  border-radius: 12px;
  background: rgba(198, 243, 106, 0.075);
  color: var(--lime);
}

.dialog-close {
  position: absolute;
  top: -5px;
  right: -4px;
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(235, 241, 224, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: #aab1a1;
  cursor: pointer;
  font-size: 19px;
  transition: color 160ms ease, background 160ms ease;
}

.dialog-close:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #f3f4ed;
}

.dialog-heading .card-kicker {
  margin-bottom: 7px;
}

.dialog-heading h2 {
  margin: 0 0 6px;
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.dialog-heading .card-subtitle {
  margin: 0;
  line-height: 1.6;
}

.dialog-field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.dialog-field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #d1d6ca;
  font-size: 10px;
}

.dialog-field label > span {
  color: #80887a;
  font-size: 9px;
  font-weight: 400;
}

.dialog-field input,
.dialog-field textarea,
.dialog-field select {
  width: 100%;
  min-height: 39px;
  padding: 9px 11px;
  border: 1px solid rgba(235, 241, 224, 0.11);
  border-radius: 7px;
  outline: 0;
  background: rgba(8, 10, 8, 0.35);
  color: #e9ede3;
  font: inherit;
  font-size: 10px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.dialog-field textarea {
  min-height: 75px;
  resize: vertical;
}

.dialog-field select {
  cursor: pointer;
}

.dialog-field option {
  background: #1b1f19;
  color: #e9ede3;
}

.dialog-field input:focus,
.dialog-field textarea:focus,
.dialog-field select:focus {
  border-color: rgba(198, 243, 106, 0.54);
  box-shadow: 0 0 0 3px rgba(198, 243, 106, 0.06);
}

.dialog-field input::placeholder,
.dialog-field textarea::placeholder {
  color: #697164;
}

.dialog-field input[readonly] {
  color: #92998c;
}

.dialog-message {
  min-height: 16px;
  margin: -2px 0 9px;
  color: #efa08f;
  font-size: 9px;
  line-height: 1.5;
}

.dialog-message.is-success {
  color: var(--lime);
}

.dialog-submit {
  width: 100%;
  min-height: 40px;
}

.dialog-secondary {
  width: 100%;
  min-height: 39px;
  border: 1px solid rgba(235, 241, 224, 0.13);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: #e5e9df;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  transition: border-color 160ms ease, background 160ms ease;
}

.dialog-secondary:hover {
  border-color: rgba(198, 243, 106, 0.3);
  background: rgba(198, 243, 106, 0.06);
}

.reminder-actions-dialog {
  width: min(100% - 24px, 460px);
}

.reminder-actions-title {
  margin: -4px 0 17px;
  color: #f3f4ed;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.reminder-action-list {
  display: grid;
  gap: 9px;
}

.reminder-action-button {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: 1px solid rgba(235, 241, 224, 0.13);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  color: #eef1e9;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.reminder-action-button:hover {
  transform: translateY(-1px);
  border-color: rgba(198, 243, 106, 0.38);
  background: rgba(198, 243, 106, 0.07);
}

.reminder-action-button.is-done {
  border-color: rgba(198, 243, 106, 0.38);
  background: rgba(198, 243, 106, 0.12);
  color: var(--lime);
}

.calendar-settings {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.calendar-settings h3 {
  margin: 0 0 7px;
  color: #e9ede3;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.calendar-connection-status,
.calendar-refresh-warning,
.free-time-suggestion {
  color: #aeb5a5;
  font-size: 11px;
  line-height: 1.6;
}

.calendar-settings-actions {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.calendar-events-panel {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(144, 178, 255, 0.18);
  border-radius: 13px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(109, 145, 218, 0.09), transparent 45%),
    linear-gradient(145deg, rgba(27, 32, 43, 0.78), rgba(22, 25, 31, 0.72));
}

.calendar-events-panel .panel-heading {
  margin-bottom: 12px;
}

.calendar-events-panel .dashboard-eyebrow {
  color: #91aee6;
}

.calendar-event-card {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 10px;
  border-top: 1px solid rgba(190, 207, 244, 0.1);
}

.calendar-event-mark {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: rgba(133, 163, 224, 0.12);
  color: #a9c1f2;
  font-size: 14px;
}

.calendar-event-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 4px;
}

.calendar-event-copy strong {
  color: #e9edf5;
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.calendar-event-copy span {
  color: #a3adbf;
  font-size: 10px;
  line-height: 1.5;
}

.calendar-readonly-label {
  flex: 0 0 auto;
  padding: 4px 6px;
  border: 1px solid rgba(153, 177, 222, 0.18);
  border-radius: 5px;
  color: #a9badb;
  font-size: 8px;
  text-transform: uppercase;
}

.free-time-suggestion {
  margin: -4px 0 18px;
  padding: 11px 13px;
  border: 1px solid rgba(198, 243, 106, 0.14);
  border-radius: 8px;
  background: rgba(198, 243, 106, 0.045);
  color: #d0d9c3;
}

.free-time-suggestion > span {
  margin-right: 6px;
  color: var(--lime);
}

.calendar-refresh-warning {
  margin: 0 0 18px;
  color: #e6bd83;
}

.preference-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 5px 0 14px;
  padding: 11px 12px;
  border: 1px solid rgba(235, 241, 224, 0.085);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.preference-row > span {
  display: grid;
  gap: 4px;
}

.preference-row strong {
  color: #dce2d5;
  font-size: 9px;
  font-weight: 600;
}

.preference-row small {
  color: #858d7e;
  font-size: 8px;
}

.preference-row input {
  width: 15px;
  height: 15px;
  accent-color: var(--lime);
}

.password-form {
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid rgba(235, 241, 224, 0.09);
}

.password-form h3 {
  margin: 0 0 14px;
  color: #e4e8de;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.dashboard-nav-item:focus-visible,
.primary-action:focus-visible,
.text-action:focus-visible,
.icon-action:focus-visible,
.topbar-avatar:focus-visible,
.sidebar-settings:focus-visible,
.sidebar-signout:focus-visible,
.empty-action:focus-visible {
  outline-offset: 3px;
  outline: 2px solid var(--lime);
}

.dashboard-aside {
  display: grid;
  align-content: start;
  gap: 12px;
}

.today-card,
.focus-card,
.planner-panel {
  border: 1px solid rgba(235, 241, 224, 0.085);
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 96% 0%, rgba(198, 243, 106, 0.055), transparent 58%),
    linear-gradient(145deg, rgba(29, 33, 27, 0.7), rgba(22, 25, 21, 0.59));
}

.today-card {
  padding: 14px 15px 13px;
}

.today-card-heading,
.focus-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.today-card-heading .dashboard-eyebrow,
.focus-heading .dashboard-eyebrow {
  margin: 0;
  font-size: 7px;
}

.today-spark,
.focus-leaf {
  color: var(--lime);
  font-size: 14px;
}

.today-label {
  margin: 17px 0 7px;
  color: #858d7e;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.today-step {
  display: grid;
  width: 100%;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.today-step strong {
  overflow: hidden;
  color: #e4e9dd;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.today-step:hover strong {
  color: var(--lime);
}

.today-step > span {
  color: #909889;
  font-size: 8px;
}

.today-step > span > span {
  margin-left: 3px;
  color: var(--lime);
}

.today-empty {
  margin: 0 0 7px;
  color: #969d8f;
  font-size: 9px;
  line-height: 1.65;
}

.focus-card {
  padding: 14px 15px 12px;
  text-align: center;
}

.focus-heading {
  text-align: left;
}

.focus-leaf {
  font-size: 12px;
  opacity: 0.8;
}

.focus-timer {
  --focus-progress: 0%;
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  margin: 13px auto 8px;
  border: 1px solid rgba(198, 243, 106, 0.11);
  border-radius: 50%;
  background:
    radial-gradient(circle, #1b1f19 58%, transparent 60%),
    conic-gradient(var(--lime) var(--focus-progress), rgba(235, 241, 224, 0.08) var(--focus-progress));
  box-shadow: 0 0 25px rgba(198, 243, 106, 0.045);
  transition: background 350ms ease;
}

.focus-timer > span {
  color: #e9eee0;
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.06em;
}

.focus-description {
  margin: 0 0 11px;
  color: #858d7e;
  font-size: 8px;
}

.focus-actions {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.focus-toggle,
.focus-stop {
  min-height: 29px;
  padding: 0 11px;
  border: 1px solid rgba(198, 243, 106, 0.24);
  border-radius: 7px;
  background: rgba(198, 243, 106, 0.09);
  color: var(--lime);
  cursor: pointer;
  font-size: 8px;
  font-weight: 600;
  transition: border-color 150ms ease, background 150ms ease;
}

.focus-toggle:hover,
.focus-stop:hover {
  border-color: rgba(198, 243, 106, 0.45);
  background: rgba(198, 243, 106, 0.15);
}

.focus-stop {
  border-color: rgba(235, 241, 224, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: #9ba393;
}

.focus-message {
  min-height: 12px;
  margin: 5px 0 0;
  color: #efa08f;
  font-size: 8px;
}

.focus-total {
  margin: 6px 0 0;
  padding-top: 9px;
  border-top: 1px solid rgba(235, 241, 224, 0.055);
  color: #798171;
  font-size: 8px;
}

.project-filters {
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-filters button {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #828a7d;
  cursor: pointer;
  font-size: 9px;
}

.project-filters button > span {
  display: grid;
  min-width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 8px;
}

.project-filters button:hover,
.project-filters button.is-active {
  border-color: rgba(198, 243, 106, 0.15);
  background: rgba(198, 243, 106, 0.06);
  color: #dce5d0;
}

.project-detail-page {
  max-width: 1200px;
  margin: 0 auto;
}

.detail-back {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  padding: 0 9px;
  border: 1px solid rgba(235, 241, 224, 0.09);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.02);
  color: #a3aa9b;
  cursor: pointer;
  font-size: 9px;
}

.detail-back:hover {
  border-color: rgba(198, 243, 106, 0.27);
  color: var(--lime);
}

.detail-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 26px;
  padding: 20px;
  border: 1px solid rgba(235, 241, 224, 0.085);
  border-radius: 13px;
  background:
    radial-gradient(ellipse at 0 0, var(--project-glow, rgba(198, 243, 106, 0.07)), transparent 50%),
    rgba(255, 255, 255, 0.02);
}

.detail-project-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--project-border, rgba(198, 243, 106, 0.25));
  border-radius: 15px;
  background: var(--project-glow, rgba(198, 243, 106, 0.08));
  color: var(--project-color, var(--lime));
  font-size: 20px;
}

.detail-heading-copy {
  min-width: 0;
  flex: 1;
}

.detail-heading-copy .dashboard-eyebrow {
  margin: 0 0 6px;
  font-size: 8px;
}

.detail-heading-copy h1 {
  overflow: hidden;
  margin: 0 0 4px;
  color: #eef1e9;
  font-family: "Manrope", sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.055em;
  text-overflow: ellipsis;
}

.detail-heading-copy > p:last-child {
  overflow: hidden;
  margin: 0;
  color: #92998c;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.detail-action {
  min-height: 31px;
  padding: 0 10px;
  border: 1px solid rgba(235, 241, 224, 0.13);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
  color: #b5bcab;
  cursor: pointer;
  font-size: 8px;
  transition: border-color 150ms ease, color 150ms ease;
}

.detail-action:hover {
  border-color: rgba(198, 243, 106, 0.3);
  color: var(--lime);
}

.detail-delete:hover {
  border-color: rgba(232, 130, 112, 0.4);
  color: #efa08f;
}

.project-progress-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.8fr);
  align-items: start;
  gap: 16px;
}

.project-detail-main,
.project-detail-aside {
  display: grid;
  align-content: start;
  gap: 15px;
  min-width: 0;
}

.planner-panel {
  min-width: 0;
  padding: 17px;
}

.planner-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.planner-panel-heading .dashboard-eyebrow {
  margin: 0 0 6px;
  font-size: 8px;
}

.planner-panel-heading h2 {
  margin: 0;
  color: #e7ebe1;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.progress-ring {
  --progress: 0%;
  display: grid;
  width: 49px;
  height: 49px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(198, 243, 106, 0.14);
  border-radius: 50%;
  background:
    radial-gradient(circle, #1b1f19 61%, transparent 63%),
    conic-gradient(var(--lime) var(--progress), rgba(235, 241, 224, 0.09) var(--progress));
  color: #e4ecd8;
  font-size: 9px;
  font-weight: 600;
}

.steps-count {
  margin-top: -8px;
  color: #858d7e;
  font-size: 8px;
}

.step-add-form {
  display: flex;
  gap: 7px;
  margin: 14px 0;
}

.step-add-form input {
  width: 100%;
  min-width: 0;
  height: 35px;
  padding: 0 10px;
  border: 1px solid rgba(235, 241, 224, 0.105);
  border-radius: 7px;
  outline: 0;
  background: rgba(9, 11, 9, 0.31);
  color: #e8ece3;
  font-size: 9px;
}

.step-add-form input::placeholder {
  color: #6f776a;
}

.step-add-form input:focus {
  border-color: rgba(198, 243, 106, 0.42);
}

.step-add-form button {
  width: 36px;
  height: 35px;
  flex: 0 0 auto;
  border: 1px solid rgba(198, 243, 106, 0.24);
  border-radius: 7px;
  background: rgba(198, 243, 106, 0.08);
  color: var(--lime);
  cursor: pointer;
  font-size: 15px;
}

.step-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-item {
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 10px;
  padding: 5px 7px;
  border-top: 1px solid rgba(235, 241, 224, 0.055);
  animation: field-in 200ms ease both;
}

.step-check {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(235, 241, 224, 0.24);
  border-radius: 6px;
  background: transparent;
  color: #17200f;
  cursor: pointer;
  font-size: 11px;
  transition: border-color 150ms ease, background 150ms ease;
}

.step-check:hover {
  border-color: var(--lime);
}

.step-item.is-complete .step-check {
  border-color: var(--lime);
  background: var(--lime);
}

.step-item > span {
  flex: 1;
  color: #cbd1c4;
  font-size: 9px;
  line-height: 1.5;
}

.step-item.is-complete > span {
  color: #788172;
  text-decoration: line-through;
  text-decoration-color: rgba(198, 243, 106, 0.38);
}

.step-remove {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #737b6d;
  cursor: pointer;
  font-size: 16px;
  opacity: 0;
  transition: opacity 140ms ease, color 140ms ease, background 140ms ease;
}

.step-item:hover .step-remove,
.step-remove:focus-visible {
  opacity: 1;
}

.step-remove:hover {
  background: rgba(235, 130, 112, 0.09);
  color: #efa08f;
}

.steps-empty {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 7px;
  border-top: 1px solid rgba(235, 241, 224, 0.055);
}

.steps-empty > span {
  color: var(--lime);
  font-size: 14px;
}

.steps-empty p {
  margin: 0;
  color: #889080;
  font-size: 8px;
  line-height: 1.6;
}

.notes-panel .planner-panel-heading {
  margin-bottom: 12px;
}

.notes-saved {
  color: #768071;
  font-size: 8px;
}

.notes-saved.is-saved {
  color: var(--lime);
}

.notes-panel textarea {
  display: block;
  width: 100%;
  min-height: 142px;
  padding: 11px;
  border: 1px solid rgba(235, 241, 224, 0.085);
  border-radius: 8px;
  outline: 0;
  background: rgba(9, 11, 9, 0.23);
  color: #e1e7da;
  font: inherit;
  font-size: 9px;
  line-height: 1.7;
  resize: vertical;
}

.notes-panel textarea::placeholder {
  color: #707869;
}

.notes-panel textarea:focus {
  border-color: rgba(198, 243, 106, 0.38);
}

.notes-save-button {
  display: block;
  min-height: 29px;
  margin: 9px 0 0 auto;
  padding: 0 9px;
  border: 1px solid rgba(198, 243, 106, 0.19);
  border-radius: 6px;
  background: rgba(198, 243, 106, 0.055);
  color: #c5e88c;
  cursor: pointer;
  font-size: 8px;
}

.notes-save-button:hover {
  background: rgba(198, 243, 106, 0.11);
}

.notes-save-button > span {
  margin-left: 4px;
}

.edit-project-panel > form {
  margin-top: 13px;
}

.edit-project-panel .dialog-field {
  margin-bottom: 11px;
}

.edit-project-panel .dialog-field input,
.edit-project-panel .dialog-field textarea,
.edit-project-panel .dialog-field select {
  min-height: 35px;
  padding: 8px 9px;
  font-size: 9px;
}

.edit-project-panel .dialog-field textarea {
  min-height: 62px;
}

.edit-project-panel .dialog-field label {
  font-size: 9px;
}

.project-created-date {
  margin: 13px 0 0;
  color: #727a6d;
  font-size: 8px;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.step-check:focus-visible,
.step-remove:focus-visible,
.step-add-form button:focus-visible,
.step-add-form input:focus-visible,
.notes-save-button:focus-visible,
.detail-action:focus-visible,
.detail-back:focus-visible,
.project-filters button:focus-visible,
.focus-toggle:focus-visible,
.focus-stop:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

@keyframes dashboard-arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes dashboard-content-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dialog-arrive {
  from { opacity: 0; transform: translateY(8px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1050px) {
  .dashboard-app {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .dashboard-content {
    padding-right: 30px;
    padding-left: 30px;
  }

  .dashboard-columns {
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.8fr);
    gap: 17px;
  }

  .project-progress-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
    gap: 12px;
  }

  .stat-card {
    padding-right: 13px;
    padding-left: 13px;
  }
}

@media (max-width: 760px) {
  .dashboard-app {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .dashboard-sidebar {
    position: sticky;
    z-index: 5;
    top: 0;
    height: auto;
    min-height: 0;
    padding: 10px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(235, 241, 224, 0.08);
    background: rgba(15, 18, 14, 0.95);
  }

  .dashboard-brand {
    margin: 0 0 8px 4px;
    font-size: 20px;
  }

  .dashboard-brand .brand-mark,
  .dashboard-brand .brand-mark svg {
    width: 25px;
    height: 25px;
  }

  .sidebar-label,
  .sidebar-bottom {
    display: none;
  }

  .mobile-signout {
    display: grid;
  }

  .dashboard-nav {
    display: flex;
    gap: 6px;
  }

  .dashboard-nav-item {
    min-height: 36px;
    flex: 1;
    justify-content: center;
    gap: 6px;
    padding: 0 8px;
    font-size: 9px;
  }

  .dashboard-nav-item > span:first-child {
    width: auto;
    font-size: 14px;
  }

  .nav-count {
    min-width: 17px;
    height: 17px;
    font-size: 8px;
  }

  .dashboard-topbar {
    min-height: 58px;
    padding: 0 20px;
  }

  .dashboard-search {
    width: min(48vw, 230px);
    height: 33px;
  }

  .dashboard-search kbd {
    display: none;
  }

  .dashboard-content {
    padding: 32px 20px 38px;
  }

  .dashboard-columns {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .project-progress-layout {
    grid-template-columns: 1fr;
  }

  .activity-panel {
    padding: 15px 14px 8px;
  }
}

@media (max-width: 520px) {
  .dashboard-sidebar {
    padding-right: 12px;
    padding-left: 12px;
  }

  .dashboard-nav-item {
    flex-direction: column;
    gap: 1px;
    min-height: 48px;
    padding: 5px 3px 4px;
    font-size: 8px;
  }

  .dashboard-nav-item > span:first-child {
    font-size: 15px;
  }

  .nav-count {
    position: absolute;
    transform: translate(23px, -9px);
    min-width: 14px;
    height: 14px;
    font-size: 7px;
  }

  .dashboard-topbar {
    gap: 8px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .dashboard-breadcrumb {
    gap: 6px;
    font-size: 9px;
  }

  .dashboard-breadcrumb > span:first-child,
  .dashboard-breadcrumb .breadcrumb-divider {
    display: none;
  }

  .dashboard-tools {
    gap: 8px;
  }

  .dashboard-search {
    width: min(38vw, 145px);
    padding: 0 7px;
  }

  .dashboard-search input {
    font-size: 9px;
  }

  .topbar-avatar {
    width: 29px;
    height: 29px;
    border-radius: 9px;
  }

  .dashboard-content {
    padding: 27px 15px 32px;
  }

  .page-intro-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .page-intro h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .primary-action {
    min-height: 36px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 27px;
  }

  .stat-card {
    min-height: 83px;
    grid-template-columns: 34px 1fr auto;
    grid-template-rows: 20px 22px;
    column-gap: 10px;
    padding: 12px;
  }

  .stat-icon {
    grid-row: 1 / -1;
  }

  .stat-label {
    grid-column: 2;
  }

  .stat-card strong {
    grid-column: 3;
    grid-row: 1 / -1;
    font-size: 23px;
  }

  .stat-card > small {
    grid-column: 2;
    grid-row: 2;
  }

  .projects-grid,
  .projects-grid-compact {
    grid-template-columns: 1fr;
  }

  .detail-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 11px;
    padding: 14px;
  }

  .detail-project-mark {
    width: 39px;
    height: 39px;
    border-radius: 12px;
  }

  .detail-heading-copy {
    width: calc(100% - 53px);
    flex: 1 1 calc(100% - 53px);
  }

  .detail-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .detail-heading-copy > p:last-child {
    white-space: normal;
  }

  .project-card {
    min-height: 170px;
  }

  .step-remove {
    opacity: 1;
  }

  .project-filters {
    gap: 1px;
  }

  .project-filters button {
    gap: 4px;
    padding: 0 6px;
    font-size: 8px;
  }

  .full-activity-panel {
    padding: 16px 13px 8px;
  }

  .dialog-content {
    padding: 23px 19px 21px;
  }
}

.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
  scroll-behavior: auto !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes card-appear {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes ambient-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(22px, -18px, 0); }
}

@keyframes slow-spin {
  to { transform: rotate(360deg); }
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px rgba(198, 243, 106, 0.55); }
  50% { opacity: 0.65; box-shadow: 0 0 5px rgba(198, 243, 106, 0.25); }
}

@keyframes breathe {
  0%, 100% { transform: scale(0.97); opacity: 0.8; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes core-float {
  0%, 100% { transform: translateY(2px) rotate(-9deg); }
  50% { transform: translateY(-5px) rotate(-5deg); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes mark-bob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-3px) rotate(5deg); }
}

@keyframes field-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes welcome-in {
  from { opacity: 0; transform: translateY(9px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (min-width: 1450px) {
  .layout {
    width: min(100%, 1120px);
  }
}

@media (max-width: 900px) {
  .page-shell {
    padding-right: clamp(24px, 5vw, 52px);
    padding-left: clamp(24px, 5vw, 52px);
  }

  .layout {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 400px);
    gap: 35px;
  }

  h1 {
    font-size: clamp(43px, 6vw, 58px);
  }

  .orbit-art {
    transform: scale(0.88);
    transform-origin: left center;
    margin-top: -1px;
    margin-bottom: -9px;
  }

  .card-content {
    padding-right: 27px;
    padding-left: 27px;
  }
}

@media (max-width: 700px) {
  .page-shell {
    min-height: 100svh;
    padding-right: 23px;
    padding-left: 23px;
  }

  .topbar {
    min-height: 74px;
  }

  .layout {
    width: min(100%, 440px);
    flex: 1 0 auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 27px;
    padding: 38px 0 44px;
  }

  .intro {
    padding: 0;
  }

  .eyebrow {
    margin-bottom: 17px;
    font-size: 10px;
  }

  h1 {
    margin-bottom: 11px;
    font-size: clamp(43px, 11.8vw, 57px);
  }

  .intro-copy {
    max-width: 360px;
    font-size: 12px;
  }

  .orbit-art,
  .social-proof {
    display: none;
  }

  .auth-card {
    width: 100%;
  }

  .card-content {
    padding: 28px clamp(21px, 7vw, 34px) 23px;
  }

  .site-footer {
    min-height: 52px;
    font-size: 8px;
  }
}

@media (max-width: 380px) {
  .page-shell {
    padding-right: 17px;
    padding-left: 17px;
  }

  .layout {
    padding-top: 28px;
  }

  .card-content {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.quick-reminder-panel,
.reminder-list-panel {
  margin-bottom: 24px;
  padding: 19px;
  border: 1px solid rgba(235, 241, 224, 0.09);
  border-radius: 13px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(198, 243, 106, 0.08), transparent 43%),
    linear-gradient(145deg, rgba(29, 33, 27, 0.82), rgba(22, 25, 21, 0.72));
}

.quick-reminder-copy .dashboard-eyebrow {
  margin-bottom: 6px;
}

.quick-reminder-copy h2 {
  margin: 0 0 5px;
  color: #e8ebe3;
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.quick-reminder-copy > p:last-child {
  margin: 0 0 15px;
  color: #92998c;
  font-size: 10px;
}

.quick-reminder-form {
  display: flex;
  gap: 9px;
}

.quick-reminder-form input {
  min-width: 0;
  min-height: 40px;
  flex: 1;
  padding: 0 12px;
  border: 1px solid rgba(235, 241, 224, 0.11);
  border-radius: 8px;
  outline: 0;
  background: rgba(8, 10, 8, 0.42);
  color: #edf0e8;
  font-size: 10px;
}

.quick-reminder-form input:focus {
  border-color: rgba(198, 243, 106, 0.54);
  box-shadow: 0 0 0 3px rgba(198, 243, 106, 0.06);
}

.quick-reminder-form input::placeholder {
  color: #737b6d;
}

.quick-reminder-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

.quick-reminder-tools .text-action {
  font-size: 9px;
}

.quick-reminder-message {
  min-height: 0;
  margin: 7px 0 0;
  color: #aeb5a6;
  font-size: 9px;
}

.reminder-page .reminder-list-panel {
  padding-bottom: 8px;
}

.reminder-page .panel-heading {
  margin-bottom: 8px;
}

.reminder-item {
  display: grid;
  min-height: 65px;
  grid-template-columns: 27px minmax(0, 1fr) 28px 28px;
  align-items: center;
  gap: 12px;
  padding: 10px 3px;
  border-top: 1px solid rgba(235, 241, 224, 0.065);
  animation: field-in 220ms ease both;
}

.reminder-item.is-soon {
  border-top-color: rgba(241, 190, 105, 0.28);
}

.reminder-item.is-imminent {
  border-top-color: rgba(241, 164, 105, 0.48);
  background: linear-gradient(90deg, rgba(241, 164, 105, 0.055), transparent 72%);
}

.reminder-item.is-overdue,
.reminder-item.is-overdue-long {
  border-top-color: rgba(239, 137, 120, 0.45);
  background: linear-gradient(90deg, rgba(239, 137, 120, 0.07), transparent 78%);
}

.reminder-item.is-overdue .reminder-copy > span,
.reminder-item.is-overdue-long .reminder-copy > span {
  color: #e9a18f;
}

.reminder-item.is-imminent .reminder-copy > span {
  color: #eac18c;
}

.reminder-item.is-imminent .reminder-copy strong,
.reminder-item.is-overdue .reminder-copy strong,
.reminder-item.is-overdue-long .reminder-copy strong {
  color: #f0c4a3;
  font-weight: 700;
}

.reminder-urgency-label {
  margin-right: 4px;
  color: #eac18c;
  font-weight: 700;
}

.reminder-item.is-overdue .reminder-urgency-label,
.reminder-item.is-overdue-long .reminder-urgency-label {
  color: #f0a18f;
}

.reminder-urgency-label[hidden] {
  display: none;
}

.reminder-check {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(198, 243, 106, 0.38);
  border-radius: 8px;
  background: rgba(198, 243, 106, 0.04);
  color: var(--lime);
  cursor: pointer;
}

.reminder-check:hover {
  background: rgba(198, 243, 106, 0.13);
}

.reminder-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.reminder-copy strong {
  overflow: hidden;
  color: #e4e8df;
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
}

.reminder-copy > span {
  color: #858d7e;
  font-size: 8px;
  line-height: 1.5;
}

.reminder-item.is-complete .reminder-copy strong {
  color: #838a7b;
  text-decoration: line-through;
}

.reminder-item.is-complete .reminder-check {
  border-color: rgba(198, 243, 106, 0.2);
  background: rgba(198, 243, 106, 0.12);
}

.reminder-delete {
  width: 27px;
  height: 27px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #858d7e;
  cursor: pointer;
  font-size: 17px;
}

.reminder-delete:hover {
  border-color: rgba(239, 160, 143, 0.19);
  color: #efa08f;
}

.reminder-edit {
  width: 27px;
  height: 27px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #858d7e;
  cursor: pointer;
  font-size: 13px;
}

.reminder-edit:hover {
  border-color: rgba(198, 243, 106, 0.19);
  color: var(--lime);
}

.reminder-empty {
  display: grid;
  min-height: 160px;
  justify-items: center;
  align-content: center;
  gap: 8px;
  border-top: 1px solid rgba(235, 241, 224, 0.065);
  color: #92998c;
  text-align: center;
}

.reminder-empty > span {
  color: var(--lime);
  font-size: 20px;
}

.reminder-empty strong {
  color: #dce2d5;
  font-size: 11px;
}

.reminder-empty p {
  margin: 0;
  font-size: 9px;
}

.completed-reminder-panel {
  opacity: 0.82;
}

.nag-interval-field[hidden] {
  display: none;
}

@media (max-width: 760px) {
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px;
  }
}

.settings-help {
  margin: -6px 0 14px;
  color: #92998c;
  font-size: 9px;
  line-height: 1.6;
}

.quiet-hours-grid,
.photo-draft-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quiet-hours-grid[hidden],
.photo-draft-fields[hidden] {
  display: none;
}

.notification-settings {
  display: grid;
  gap: 5px;
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid rgba(235, 241, 224, 0.09);
}

.notification-settings h3 {
  margin: 0 0 7px;
  color: #e4e8de;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.notification-settings .dialog-message {
  margin: 2px 0 3px;
}

.photo-review-dialog .dialog-content {
  max-height: min(88vh, 760px);
  overflow-y: auto;
}

.photo-drafts {
  display: grid;
  max-height: 42vh;
  gap: 11px;
  overflow-y: auto;
  padding-right: 4px;
}

.photo-draft {
  padding: 12px;
  border: 1px solid rgba(235, 241, 224, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

.photo-draft .dialog-field {
  margin: 9px 0 0;
}

.photo-draft input,
.photo-draft select {
  min-width: 0;
}

.photo-draft-approve {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #aeb5a6;
  font-size: 9px;
}

.photo-draft-approve input {
  accent-color: var(--lime);
}

.photo-review-actions {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 9px;
  margin-top: 8px;
}

@media (max-width: 760px) {
  .dashboard-nav {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .dashboard-nav::-webkit-scrollbar {
    display: none;
  }

  .dashboard-nav-item {
    flex: 0 0 auto;
  }
}

@media (max-width: 520px) {
  .quick-reminder-panel {
    padding: 15px;
  }

  .quick-reminder-form {
    align-items: stretch;
    flex-direction: column;
  }

  .quick-reminder-form .primary-action {
    width: 100%;
  }

  .quiet-hours-grid,
  .photo-draft-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .photo-review-actions {
    grid-template-columns: 1fr;
  }
}
