:root {
  --bg: #f5f9ff;
  --bg-strong: #edf4ff;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-solid: #ffffff;
  --line: rgba(169, 195, 233, 0.28);
  --line-strong: rgba(139, 173, 226, 0.52);
  --ink: #183153;
  --ink-soft: #3a5277;
  --muted: #6d7f9d;
  --primary: #4a8fff;
  --primary-deep: #2c74ea;
  --primary-soft: #edf4ff;
  --cyan: #62c9ff;
  --green: #66d2a6;
  --mint: #7bd8cd;
  --violet: #8c91ff;
  --danger: #ff7f9d;
  --shadow-sm: 0 16px 36px rgba(60, 98, 160, 0.08);
  --shadow-md: 0 24px 56px rgba(60, 98, 160, 0.12);
  --shadow-lg: 0 36px 90px rgba(55, 94, 160, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --font-ui: "Aptos", "PingFang SC", "Microsoft YaHei UI", "Segoe UI Variable", sans-serif;
  --font-display: "Iowan Old Style", "Source Han Serif SC", "Songti SC", serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(123, 182, 255, 0.18), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(98, 201, 255, 0.14), transparent 22%),
    linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}

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

button {
  appearance: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.body-dashboard {
  background:
    radial-gradient(circle at 8% 8%, rgba(110, 167, 255, 0.18), transparent 22%),
    radial-gradient(circle at 92% 12%, rgba(116, 229, 207, 0.12), transparent 24%),
    radial-gradient(circle at 82% 88%, rgba(121, 173, 255, 0.1), transparent 18%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.site-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.site-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-brand img {
  width: 46px;
  height: 46px;
}

.site-brand strong {
  display: block;
  font-size: 1.05rem;
}

.site-brand span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav {
  display: flex;
  gap: 10px;
}

.site-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover {
  background: rgba(237, 244, 255, 0.9);
  color: var(--ink);
  transform: translateY(-1px);
}

.flash-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.flash {
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.flash-success {
  background: #eaf9f0;
  color: #156b48;
}

.app-shell {
  width: min(1500px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 36px;
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 24px;
}

.app-sidebar {
  position: sticky;
  top: 24px;
  height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-brand__mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(233, 242, 255, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 24px rgba(74, 143, 255, 0.12);
}

.app-brand__mark img {
  width: 34px;
  height: 34px;
}

.app-brand strong {
  display: block;
  font-size: 1.08rem;
}

.app-brand span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.sidebar-nav {
  display: grid;
  gap: 8px;
}

.sidebar-link {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--ink-soft);
  transition: all 180ms ease;
}

.sidebar-link svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.sidebar-link:hover {
  border-color: rgba(145, 178, 227, 0.32);
  background: rgba(247, 250, 255, 0.95);
  color: var(--ink);
  transform: translateX(2px);
}

.sidebar-link.is-active {
  border-color: rgba(145, 178, 227, 0.3);
  background: linear-gradient(135deg, rgba(237, 244, 255, 0.98), rgba(240, 251, 248, 0.94));
  color: var(--primary-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.sidebar-note {
  margin-top: auto;
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(98, 201, 255, 0.2), transparent 40%),
    linear-gradient(180deg, rgba(241, 247, 255, 0.98), rgba(235, 246, 255, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.sidebar-note__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.sidebar-note strong {
  display: block;
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.45;
}

.sidebar-note p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.92rem;
}

.sidebar-note__button,
.header-primary,
.primary-button,
.inline-button,
.soft-button,
.ghost-button,
.header-icon,
.header-user {
  border: none;
  cursor: pointer;
}

.sidebar-note__button,
.header-primary,
.primary-button {
  background: linear-gradient(135deg, #5fa5ff 0%, #3f81f6 58%, #3670df 100%);
  color: white;
  box-shadow: 0 18px 34px rgba(63, 129, 246, 0.22);
}

.sidebar-note__button {
  width: 100%;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 700;
}

.app-main {
  min-width: 0;
}

.dashboard-header {
  position: sticky;
  top: 24px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}

.header-search {
  flex: 1 1 auto;
  min-width: 280px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  height: 52px;
  border-radius: 18px;
  background: rgba(245, 249, 255, 0.9);
  border: 1px solid rgba(169, 195, 233, 0.22);
}

.header-search svg {
  width: 19px;
  height: 19px;
  color: var(--muted);
}

.header-search input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--ink);
}

.header-search input::placeholder {
  color: #8ba0c2;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.header-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(245, 249, 255, 0.95);
  color: var(--ink-soft);
  border: 1px solid rgba(169, 195, 233, 0.22);
  transition: all 180ms ease;
}

.header-icon:hover,
.header-user:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.header-icon svg {
  width: 20px;
  height: 20px;
}

.header-primary,
.primary-button {
  padding: 14px 20px;
  border-radius: 16px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button--compact {
  padding: 13px 18px;
  border-radius: 14px;
}

.header-primary:hover,
.primary-button:hover,
.sidebar-note__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 36px rgba(63, 129, 246, 0.28);
}

.header-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 8px 8px;
  border-radius: 18px;
  background: rgba(245, 249, 255, 0.95);
  border: 1px solid rgba(169, 195, 233, 0.22);
  transition: all 180ms ease;
}

.header-user__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #5ea8ff, #73d7d0);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}

.header-user__text strong,
.header-user__text small {
  display: block;
  text-align: left;
}

.header-user__text small {
  margin-top: 3px;
  color: var(--muted);
}

.dashboard-content {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.hero-panel,
.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-xl);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}

.hero-panel {
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  gap: 24px;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(92, 165, 255, 0.14), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(98, 201, 255, 0.18), transparent 24%);
  pointer-events: none;
}

.hero-copy,
.hero-visual,
.overview-grid {
  position: relative;
  z-index: 1;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(237, 244, 255, 0.9);
  color: var(--primary-deep);
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 18px 0 16px;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-copy p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ghost-button {
  padding: 13px 18px;
  border-radius: 15px;
  background: rgba(245, 249, 255, 0.95);
  border: 1px solid rgba(169, 195, 233, 0.24);
  color: var(--ink-soft);
  transition: all 180ms ease;
}

.ghost-button:hover,
.inline-button:hover,
.soft-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.ghost-button--danger {
  background: rgba(255, 240, 244, 0.88);
  color: #c45272;
}

.hero-visual {
  min-height: 290px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(244, 249, 255, 0.88)),
    linear-gradient(135deg, rgba(236, 244, 255, 0.96), rgba(242, 252, 248, 0.92));
  border: 1px solid rgba(169, 195, 233, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.hero-visual__card {
  position: absolute;
  right: 26px;
  top: 24px;
  width: min(280px, calc(100% - 52px));
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-md);
}

.hero-visual__card span,
.hero-visual__card small {
  display: block;
}

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

.hero-visual__card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.18rem;
}

.hero-visual__card small {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.hero-visual__halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.8;
}

.hero-visual__halo--blue {
  width: 190px;
  height: 190px;
  left: 42px;
  top: 58px;
  background: radial-gradient(circle, rgba(74, 143, 255, 0.38) 0%, rgba(74, 143, 255, 0) 72%);
}

.hero-visual__halo--mint {
  width: 170px;
  height: 170px;
  right: 34px;
  bottom: 26px;
  background: radial-gradient(circle, rgba(102, 210, 166, 0.32) 0%, rgba(102, 210, 166, 0) 74%);
}

.hero-visual__grid {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-visual__grid span {
  min-height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.overview-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.overview-card {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.overview-card__label,
.overview-card small {
  display: block;
}

.overview-card__label {
  color: var(--muted);
  font-size: 0.88rem;
}

.overview-card strong {
  display: block;
  margin-top: 12px;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.overview-card small {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

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

.content-main,
.content-side {
  display: grid;
  gap: 24px;
}

.panel {
  padding: 28px;
}

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

.panel-head--tight {
  margin-bottom: 18px;
}

.panel-head--workspace {
  margin-bottom: 24px;
}

.panel-head h2,
.panel-head h3,
.workspace-card__head h3,
.side-panel h2 {
  margin: 10px 0 0;
  font-size: 1.5rem;
  line-height: 1.2;
}

.panel-head p,
.workspace-card__head p,
.progress-side p,
.tip-feature p,
.deadline-list small,
.task-item small,
.activity-item p,
.settings-hero p,
.settings-form .card p {
  color: var(--muted);
  line-height: 1.75;
}

.inline-button,
.soft-button {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(237, 244, 255, 0.92);
  color: var(--ink-soft);
  border: 1px solid rgba(169, 195, 233, 0.22);
  transition: all 180ms ease;
}

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

.project-tile {
  width: 100%;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(169, 195, 233, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 249, 255, 0.95)),
    linear-gradient(135deg, rgba(237, 244, 255, 0.55), rgba(242, 252, 248, 0.36));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-tile:hover,
.tool-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(139, 173, 226, 0.35);
}

.project-tile__top,
.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-tile strong {
  display: block;
  margin-top: 18px;
  font-size: 1.16rem;
}

.project-tile p {
  margin: 10px 0 0;
  min-height: 52px;
  color: var(--muted);
  line-height: 1.7;
}

.project-meta {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.project-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.project-badge--blue {
  background: rgba(74, 143, 255, 0.12);
  color: var(--primary-deep);
}

.project-badge--cyan {
  background: rgba(98, 201, 255, 0.14);
  color: #0f86bb;
}

.project-badge--green {
  background: rgba(102, 210, 166, 0.16);
  color: #1f9366;
}

.project-badge--mint {
  background: rgba(123, 216, 205, 0.18);
  color: #187f77;
}

.project-badge--violet {
  background: rgba(140, 145, 255, 0.15);
  color: #545fd4;
}

.project-deadline {
  color: var(--muted);
  font-size: 0.88rem;
}

.mini-progress {
  width: 100%;
  height: 8px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(215, 226, 245, 0.72);
}

.mini-progress span,
.progress-track__value {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5fa5ff 0%, #4dc6ff 58%, #6dd8a5 100%);
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 320px;
  gap: 22px;
}

.progress-chip {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(245, 249, 255, 0.92);
  border: 1px solid rgba(169, 195, 233, 0.2);
  text-align: right;
}

.progress-chip span {
  color: var(--muted);
  font-size: 0.88rem;
}

.progress-chip strong {
  font-size: 1.5rem;
}

.progress-card,
.progress-side,
.workspace-card,
.tip-feature,
.side-panel {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(169, 195, 233, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.progress-card {
  padding: 22px;
}

.progress-track {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(215, 226, 245, 0.76);
}

.progress-track__value {
  width: 0;
  transition: width 220ms ease;
}

.stage-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.stage-item {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.stage-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(215, 226, 245, 0.92);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.94);
}

.stage-item.is-complete {
  color: var(--ink);
}

.stage-item.is-complete .stage-dot {
  background: linear-gradient(180deg, #62a8ff 0%, #4384f5 100%);
}

.progress-side {
  padding: 22px;
}

.progress-side h3 {
  margin: 0;
  font-size: 1.12rem;
}

.progress-note-list {
  margin: 18px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.tool-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tool-tile {
  width: 100%;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(169, 195, 233, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 250, 255, 0.96)),
    linear-gradient(135deg, rgba(237, 244, 255, 0.52), rgba(242, 252, 248, 0.38));
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tool-tile__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: white;
  box-shadow: inset 0 -10px 16px rgba(255, 255, 255, 0.2);
}

.tool-tile__icon svg {
  width: 28px;
  height: 28px;
}

.tool-tile__icon--idea {
  background: linear-gradient(145deg, #ffa74f, #ffcb72);
}

.tool-tile__icon--polish {
  background: linear-gradient(145deg, #57a5ff, #6fd0ff);
}

.tool-tile__icon--proofread {
  background: linear-gradient(145deg, #62cda0, #88e0c0);
}

.tool-tile__icon--structure {
  background: linear-gradient(145deg, #7b8cff, #9ab2ff);
}

.tool-tile strong {
  display: block;
  margin-top: 18px;
  font-size: 1.05rem;
}

.tool-tile small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) 360px;
  gap: 22px;
}

.workspace-column,
.workspace-column--wide {
  display: grid;
  gap: 18px;
}

.workspace-card {
  padding: 22px;
}

.workspace-card__head {
  margin-bottom: 18px;
}

.workspace-card__head--tight {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.workspace-card__head h3 {
  margin-top: 0;
}

.form-grid {
  display: grid;
  gap: 16px;
}

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

label {
  display: grid;
  gap: 8px;
}

label span {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(169, 195, 233, 0.28);
  border-radius: 16px;
  background: rgba(248, 251, 255, 0.96);
  color: var(--ink);
  resize: vertical;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(96, 153, 255, 0.66);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 4px rgba(74, 143, 255, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: #94a7c6;
}

.experience-section + .experience-section {
  margin-top: 16px;
}

.experience-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.experience-section__head h4 {
  margin: 0;
  font-size: 1rem;
}

.experience-stack {
  display: grid;
  gap: 14px;
}

.experience-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(248, 251, 255, 0.92);
  border: 1px solid rgba(169, 195, 233, 0.18);
}

.experience-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.experience-kind {
  font-size: 0.98rem;
}

.result-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(237, 244, 255, 0.9);
  color: var(--primary-deep);
}

.result-status[data-tone="active"] {
  background: rgba(98, 201, 255, 0.16);
  color: #0f86bb;
}

.result-status[data-tone="ready"] {
  background: rgba(102, 210, 166, 0.16);
  color: #1f9366;
}

.result-status[data-tone="done"] {
  background: rgba(140, 145, 255, 0.15);
  color: #545fd4;
}

.result-status[data-tone="error"] {
  background: rgba(255, 127, 157, 0.14);
  color: #c14f70;
}

.result-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.soft-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.result-card textarea#result-content {
  min-height: 320px;
}

.profile-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.profile-list div {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(169, 195, 233, 0.16);
}

.profile-list dt {
  color: var(--muted);
  font-size: 0.88rem;
}

.profile-list dd {
  margin: 0;
  line-height: 1.55;
  font-weight: 600;
}

.settings-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--primary-deep);
  font-weight: 700;
}

.tip-feature__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.tip-feature h2 {
  margin: 12px 0 0;
  max-width: 22ch;
  font-size: 1.7rem;
  line-height: 1.25;
}

.tip-feature p {
  max-width: 74ch;
  margin: 14px 0 0;
}

.side-panel {
  padding: 24px;
}

.activity-list,
.deadline-list,
.task-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-item,
.task-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.activity-item__dot,
.task-item__dot {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
}

.activity-item__dot--neutral,
.task-item__dot {
  background: var(--primary);
}

.activity-item__dot--active {
  background: var(--cyan);
}

.activity-item__dot--ready {
  background: var(--green);
}

.activity-item__dot--done {
  background: var(--violet);
}

.activity-item__body strong,
.deadline-list strong,
.task-item strong {
  display: block;
  font-size: 0.96rem;
}

.activity-item p {
  margin: 6px 0 0;
  font-size: 0.9rem;
}

.activity-item small,
.deadline-list span,
.deadline-list small,
.task-item small {
  display: block;
}

.activity-item small,
.deadline-list span,
.task-item small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.deadline-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(169, 195, 233, 0.16);
}

.deadline-list li:first-child {
  padding-top: 0;
}

.deadline-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.deadline-list small {
  margin-top: 8px;
}

.empty-state {
  color: var(--muted);
  line-height: 1.7;
}

.settings-page {
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin: 28px auto 0;
}

.settings-hero,
.settings-form .card {
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-md);
}

.settings-hero h1 {
  margin: 18px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.settings-form {
  display: grid;
  gap: 20px;
}

.grid {
  display: grid;
  gap: 16px;
}

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

.grid .full {
  grid-column: 1 / -1;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 700;
}

.button.primary {
  background: linear-gradient(135deg, #5fa5ff 0%, #3f81f6 58%, #3670df 100%);
  color: white;
}

.button.secondary {
  background: rgba(237, 244, 255, 0.92);
  color: var(--ink-soft);
}

@media (max-width: 1380px) {
  .app-shell {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .content-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

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

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

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

  .sidebar-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .content-grid,
  .workspace-grid,
  .split-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 980px) {
  .dashboard-header {
    flex-wrap: wrap;
  }

  .header-search {
    min-width: 0;
    width: 100%;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .overview-grid,
  .project-card-grid,
  .content-side,
  .form-grid--two {
    grid-template-columns: 1fr;
  }

  .stage-row {
    grid-template-columns: repeat(5, minmax(88px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .tip-feature__content {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 720px) {
  .site-shell,
  .app-shell {
    width: min(calc(100vw - 18px), 100%);
    padding-top: 10px;
  }

  .site-bar,
  .dashboard-header,
  .panel,
  .hero-panel,
  .settings-hero,
  .settings-form .card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .header-user {
    width: 100%;
    justify-content: center;
  }

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

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

  .result-toolbar,
  .hero-actions,
  .actions {
    flex-direction: column;
  }

  .sidebar-note__button,
  .header-primary,
  .primary-button,
  .soft-button,
  .ghost-button,
  .inline-button,
  .button {
    width: 100%;
    justify-content: center;
  }
}
