:root {
  color-scheme: light;
  --bg: #dceee9;
  --surface: #eef8f5;
  --surface-2: #e5f3ef;
  --surface-3: #d3e9e2;
  --line: rgba(42, 93, 82, 0.18);
  --line-strong: rgba(42, 93, 82, 0.3);
  --text: #17342e;
  --muted: #55736b;
  --soft: #78978f;
  --green: #0f9f76;
  --blue: #217bb8;
  --pink: #ff76b7;
  --amber: #b87913;
  --shadow: 0 20px 60px rgba(36, 87, 76, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% -10%, rgba(15, 159, 118, 0.2), transparent 28rem),
    radial-gradient(circle at 96% 8%, rgba(33, 123, 184, 0.16), transparent 30rem),
    linear-gradient(135deg, #e8f6f2 0%, #dceee9 48%, #f5fbf8 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 159, 118, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 159, 118, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 75%);
}

body::after {
  content: "";
  position: fixed;
  inset: -30% -20% auto;
  height: 45vh;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(33, 123, 184, 0.18), rgba(15, 159, 118, 0.18), transparent);
  filter: blur(32px);
  transform: rotate(-8deg);
  animation: auroraSweep 11s ease-in-out infinite alternate;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #f6fffb;
  font-weight: 800;
  padding: 0.82rem 1rem;
  cursor: pointer;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  outline: none;
  padding: 0.78rem 0.85rem;
}

textarea {
  min-height: 84px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(56, 230, 164, 0.62);
  box-shadow: 0 0 0 3px rgba(15, 159, 118, 0.12);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

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

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  border-right: 1px solid var(--line);
  background: rgba(238, 248, 245, 0.9);
  backdrop-filter: blur(18px);
  padding: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--green);
  color: #f6fffb;
  font-size: 1.35rem;
  font-weight: 950;
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.42), transparent 65%);
  animation: shineSweep 3.8s ease-in-out infinite;
}

.brand h1 {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.brand p,
.hero p,
.feature-card p,
.tool-card p {
  color: var(--muted);
}

.nav-list {
  display: grid;
  gap: 0.4rem;
  margin: 1.25rem 0;
}

.nav-item {
  color: var(--muted);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
}

.nav-item:hover,
.nav-item.active {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.56);
}

.sidebar-panel,
.agent-panel,
.activity-panel,
.home-agent-card,
.feature-section,
.tools-section,
.image-section,
.workspace-section,
.hero {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(238, 248, 245, 0.82);
  box-shadow: var(--shadow);
  animation: sectionRise 0.5s ease both;
}

.sidebar-panel {
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: none;
}

.section-heading,
.panel-header,
.feature-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.section-heading h2,
.eyebrow {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.runtime-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.runtime-list div {
  display: grid;
  gap: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.68rem;
  background: rgba(255, 255, 255, 0.52);
}

.runtime-list span,
.memory-form span,
.compact-list span {
  color: var(--muted);
  font-size: 0.78rem;
}

.runtime-list strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.memory-form {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.memory-form label {
  display: grid;
  gap: 0.35rem;
}

.compact-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  padding: 0;
  margin: 0.9rem 0 0;
}

.compact-list li {
  display: grid;
  gap: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.52);
}

.main-surface {
  min-width: 0;
  padding: 1.25rem;
}

.page[hidden],
[hidden] {
  display: none !important;
}

.page {
  animation: sectionRise 0.45s ease both;
}

.page-active {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 1.2rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% 45%;
  height: 260px;
  background: radial-gradient(circle, rgba(15, 159, 118, 0.2), transparent 65%);
  animation: driftGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.32) 42%, transparent 56%);
  transform: translateX(-120%);
  animation: panelShine 7s ease-in-out infinite;
}

.hero-copy {
  display: grid;
  gap: 0.85rem;
  align-content: center;
}

.hero h2 {
  max-width: 760px;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy > p:last-child {
  max-width: 700px;
  font-size: 1.04rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.2rem;
}

.hero-actions a {
  border: 1px solid rgba(15, 159, 118, 0.28);
  border-radius: 8px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.52);
  padding: 0.78rem 0.95rem;
  text-decoration: none;
  font-weight: 850;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.hero-actions a:hover {
  transform: translateY(-2px);
  background: rgba(229, 255, 247, 0.9);
  box-shadow: 0 12px 30px rgba(15, 159, 118, 0.14);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  align-content: end;
  min-width: 0;
}

.hero-metrics article {
  min-height: 130px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.46));
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.hero-metrics article:hover,
.feature-card:hover,
.tool-card:hover,
.mode-button:hover,
.image-card:hover,
.clock-card:hover,
.calendar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 159, 118, 0.42);
  box-shadow: 0 16px 36px rgba(36, 87, 76, 0.12);
}

.time-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.panel-time {
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 1rem 0 0;
}

.clock-card,
.calendar-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(238, 248, 245, 0.82);
  box-shadow: var(--shadow);
  padding: 1rem;
  animation: sectionRise 0.55s ease both;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.clock-card {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow: hidden;
  position: relative;
}

.panel-time .clock-card {
  min-height: 168px;
}

.panel-time .clock-card h3 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.panel-time .clock-orbit {
  width: 84px;
  height: 84px;
}

.panel-time .clock-orbit::before {
  inset: 13px;
}

.panel-time .clock-orbit::after {
  inset: 28px;
}

.panel-time .clock-orbit span {
  top: 3px;
}

.clock-card h3 {
  margin: 0.35rem 0;
  font-size: clamp(2.1rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.clock-card span,
.calendar-head > span {
  color: var(--muted);
}

.clock-orbit {
  flex: 0 0 auto;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(15, 159, 118, 0.24);
  border-radius: 999px;
  position: relative;
  animation: orbitSpin 10s linear infinite;
}

.clock-orbit::before,
.clock-orbit::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(33, 123, 184, 0.28);
  border-radius: inherit;
}

.clock-orbit::after {
  inset: 42px;
  border-style: solid;
  background: rgba(15, 159, 118, 0.08);
}

.clock-orbit span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 24px rgba(15, 159, 118, 0.55);
}

.calendar-card {
  min-height: 220px;
}

.panel-time .calendar-card {
  min-height: 0;
}

.calendar-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.calendar-head h3 {
  margin-top: 0.32rem;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.calendar-weekdays {
  margin-bottom: 0.4rem;
}

.calendar-weekdays span {
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.calendar-grid span {
  min-height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--text);
  font-weight: 750;
}

.calendar-grid span.muted {
  color: rgba(85, 115, 107, 0.45);
  background: rgba(255, 255, 255, 0.24);
}

.calendar-grid span.today {
  color: #f6fffb;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 10px 24px rgba(15, 159, 118, 0.22);
  animation: todayPulse 2.4s ease-in-out infinite;
}

.hero-metrics span {
  color: var(--text);
  font-size: clamp(1.35rem, 2.4vw, 2.25rem);
  font-weight: 950;
  line-height: 1;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#model-name {
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.home-dashboard {
  align-items: start;
}

.home-agent-card {
  padding: 1rem;
}

.home-agent-body {
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
}

.home-agent-body p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 720px;
}

.primary-link,
.secondary-link {
  width: fit-content;
  border: 1px solid rgba(15, 159, 118, 0.28);
  border-radius: 8px;
  color: #f6fffb;
  background: linear-gradient(135deg, var(--green), var(--blue));
  padding: 0.78rem 0.95rem;
  text-decoration: none;
  font-weight: 850;
}

.secondary-link {
  color: var(--green);
  background: rgba(255, 255, 255, 0.62);
}

.agent-panel,
.activity-panel,
.feature-section,
.image-section,
.workspace-section,
.tools-section {
  padding: 1rem;
}

.workflow-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.workflow-section article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(238, 248, 245, 0.82);
  box-shadow: var(--shadow);
  padding: 1rem;
  animation: sectionRise 0.55s ease both;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.workflow-section article:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 159, 118, 0.42);
  box-shadow: 0 16px 36px rgba(36, 87, 76, 0.12);
}

.workflow-section span {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
}

.workflow-section h3 {
  margin: 0.45rem 0 0.35rem;
}

.workflow-section p {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.92rem;
}

.panel-header {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.panel-header h3,
.feature-toolbar h3 {
  font-size: 1.2rem;
}

.status-pill {
  border: 1px solid rgba(56, 230, 164, 0.4);
  border-radius: 999px;
  color: var(--green);
  background: rgba(15, 159, 118, 0.1);
  padding: 0.38rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.mode-strip {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}

.mode-strip-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.mode-strip-header strong {
  color: var(--text);
}

.mode-strip-header span {
  color: var(--muted);
  font-size: 0.86rem;
  text-align: right;
}

.mode-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.5rem;
}

.mode-button {
  min-height: 84px;
  display: grid;
  align-content: start;
  gap: 0.3rem;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  color: var(--text);
  padding: 0.72rem;
}

.mode-button span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.mode-button.active {
  border-color: rgba(15, 159, 118, 0.56);
  background: rgba(229, 255, 247, 0.9);
  box-shadow: inset 0 0 0 1px rgba(15, 159, 118, 0.16);
}

.chat-log {
  height: 520px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 0;
}

.message {
  max-width: 920px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
  padding: 0.85rem;
}

.message.user {
  align-self: flex-end;
  border-color: rgba(89, 184, 255, 0.48);
}

.message.assistant {
  border-color: rgba(56, 230, 164, 0.42);
}

.message.pending {
  width: fit-content;
  min-width: 210px;
}

.message.error {
  border-color: rgba(255, 118, 183, 0.58);
}

.message-meta {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--text);
  line-height: 1.55;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
}

.thinking-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-weight: 700;
}

.typing-dots {
  display: inline-flex;
  gap: 0.28rem;
  align-items: center;
}

.typing-dots i {
  display: block;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--green);
  animation: typingPulse 1s infinite ease-in-out;
}

.typing-dots i:nth-child(2) {
  animation-delay: 0.14s;
}

.typing-dots i:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes typingPulse {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }

  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.chat-page {
  min-height: calc(100vh - 2.5rem);
}

.chat-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.chat-topbar h2 {
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1;
}

.chat-shell {
  min-height: calc(100vh - 7.5rem);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}

.chat-shell .chat-log {
  height: auto;
  min-height: min(620px, calc(100vh - 18rem));
}

.activity-panel {
  align-self: start;
}

.empty-state {
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  padding: 1rem;
  margin-top: 1rem;
  line-height: 1.5;
}

.tool-event-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.tool-event {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  padding: 0.8rem;
}

.tool-event details {
  margin-top: 0.55rem;
}

.tool-event summary {
  color: var(--muted);
  cursor: pointer;
}

.feature-section,
.image-section,
.workspace-section,
.tools-section {
  margin-bottom: 1.25rem;
}

.image-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.image-form {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.workspace-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.folder-form {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.folder-form label {
  display: grid;
  gap: 0.45rem;
}

.folder-form span {
  color: var(--muted);
  font-size: 0.82rem;
}

.folder-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
  overflow: hidden;
}

.folder-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.8rem;
}

.folder-panel-header button {
  background: rgba(15, 159, 118, 0.1);
  color: var(--green);
  border: 1px solid rgba(15, 159, 118, 0.28);
  padding: 0.52rem 0.72rem;
}

.workspace-tree {
  max-height: 420px;
  overflow: auto;
  padding: 0.75rem;
}

.tree-list {
  list-style: none;
  display: grid;
  gap: 0.36rem;
  margin: 0;
  padding-left: 1rem;
}

.root-tree {
  padding-left: 0;
}

.tree-node {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
  padding: 0.58rem 0.65rem;
  min-width: 0;
}

.tree-node span {
  flex: 0 0 auto;
  color: #f6fffb;
  background: var(--soft);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 850;
  padding: 0.18rem 0.45rem;
}

.tree-node.folder span {
  background: var(--green);
}

.tree-node strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-form label {
  display: grid;
  gap: 0.45rem;
}

.image-form span {
  color: var(--muted);
  font-size: 0.82rem;
}

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.image-results {
  min-height: 280px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
}

.image-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--surface-3);
}

.image-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem;
}

.image-card a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.error-text {
  color: var(--pink);
}

.feature-toolbar {
  margin-bottom: 1rem;
}

.search-box {
  width: min(360px, 100%);
}

.feature-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  margin-bottom: 0.25rem;
}

.feature-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
  padding: 0.75rem 0.8rem;
  margin-bottom: 0.85rem;
}

.feature-breadcrumb button {
  background: rgba(15, 159, 118, 0.1);
  color: var(--green);
  border: 1px solid rgba(15, 159, 118, 0.28);
  padding: 0.5rem 0.7rem;
}

.feature-breadcrumb span {
  color: var(--muted);
  font-size: 0.9rem;
}

.tool-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.tool-overview article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
  padding: 0.9rem;
  display: grid;
  gap: 0.25rem;
}

.tool-overview strong {
  font-size: 1.35rem;
}

.tool-overview span {
  color: var(--muted);
  font-size: 0.86rem;
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.quick-prompts button {
  background: rgba(15, 159, 118, 0.1);
  color: var(--green);
  border: 1px solid rgba(15, 159, 118, 0.28);
  padding: 0.62rem 0.78rem;
}

.selected-features-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
  padding: 0.8rem;
  margin-bottom: 0.75rem;
}

.selected-features-bar div {
  display: grid;
  gap: 0.2rem;
}

.selected-features-bar span,
.selected-empty,
.selected-chip small {
  color: var(--muted);
  font-size: 0.82rem;
}

.selected-features-bar button {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--line-strong);
  padding: 0.58rem 0.75rem;
}

.selected-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(15, 159, 118, 0.12);
  color: var(--text);
  border: 1px solid rgba(15, 159, 118, 0.28);
  padding: 0.55rem 0.7rem;
}

.selected-empty {
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  padding: 0.75rem;
  width: 100%;
}

.tab-button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 0.62rem 0.78rem;
}

.tab-button.active {
  color: #f6fffb;
  border-color: transparent;
  background: var(--green);
}

.category-grid,
.feature-grid,
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.75rem;
}

.category-card {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--text);
  padding: 1rem;
  text-align: left;
  display: grid;
  align-content: start;
  gap: 0.55rem;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 159, 118, 0.42);
  background: rgba(229, 255, 247, 0.84);
  box-shadow: 0 16px 36px rgba(36, 87, 76, 0.12);
}

.category-card span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.category-card h4 {
  margin: 0;
  font-size: 1.08rem;
}

.category-card p {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.9rem;
}

.feature-card,
.tool-card {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
  padding: 1rem;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.feature-card.selected {
  border-color: rgba(15, 159, 118, 0.62);
  box-shadow: inset 0 0 0 1px rgba(15, 159, 118, 0.2);
  background: rgba(229, 255, 247, 0.78);
}

.feature-card span,
.tool-card span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.feature-card h4,
.tool-card h4 {
  margin: 0.65rem 0 0.4rem;
  font-size: 1rem;
}

.feature-card p,
.tool-card p {
  line-height: 1.5;
  font-size: 0.9rem;
}

.feature-select-button {
  margin-top: 0.85rem;
  width: 100%;
  padding: 0.62rem 0.75rem;
  background: rgba(15, 159, 118, 0.1);
  color: var(--green);
  border: 1px solid rgba(15, 159, 118, 0.28);
}

.feature-card.selected .feature-select-button {
  background: var(--green);
  color: #f6fffb;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

  .sidebar {
    position: static;
    height: auto;
  }

  .hero,
  .dashboard-grid,
  .time-section,
  .workspace-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .main-surface,
  .sidebar {
    padding: 0.85rem;
  }

  .hero-metrics,
  .composer {
    grid-template-columns: 1fr;
  }

  .clock-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .image-layout {
    grid-template-columns: 1fr;
  }

  .chat-log {
    height: 420px;
  }
}

@keyframes sectionRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes driftGlow {
  from {
    transform: translate3d(-8px, 0, 0) scale(0.98);
  }

  to {
    transform: translate3d(18px, -16px, 0) scale(1.08);
  }
}

@keyframes auroraSweep {
  from {
    transform: translate3d(-8%, 0, 0) rotate(-8deg);
    opacity: 0.55;
  }

  to {
    transform: translate3d(10%, 28px, 0) rotate(-4deg);
    opacity: 0.9;
  }
}

@keyframes shineSweep {
  0%,
  35% {
    transform: translateX(-120%) rotate(8deg);
  }

  70%,
  100% {
    transform: translateX(120%) rotate(8deg);
  }
}

@keyframes panelShine {
  0%,
  60% {
    transform: translateX(-120%);
  }

  85%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes todayPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
