@font-face {
  font-family: system-local;
  src: local('Microsoft YaHei');
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0 16px;
}
.section-title h2 {
  margin-top: 5px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.stat > span {
  color: #6b7790;
  font-size: 13px;
}
.stat > strong {
  display: block;
  font-size: 34px;
  line-height: 1.5;
  margin-top: 8px;
  font-weight: 600;
  color: var(--accent);
}
.stat strong small {
  font-size: 14px;
  font-weight: 400;
}
.stat p {
  font-size: 12px;
  color: #8892a5;
  margin: 6px 0 0;
}
.history-chart {
  height: 190px;
  display: flex;
  gap: 10px;
  align-items: flex-end;
  margin: 24px 0 12px;
}
.history-column {
  display: flex;
  flex: 1;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #8793a7;
  font-size: 12px;
}
.history-column > span {
  min-height: 20px;
}
.bar-track {
  width: 100%;
  height: 135px;
  display: flex;
  align-items: flex-end;
}
.bar-track i {
  display: block;
  width: 100%;
  min-height: 3px;
  border-radius: 5px 5px 0 0;
  background: #d8deea;
}
.history-column.current .bar-track i {
  background: var(--accent);
}
.history-column.current {
  color: var(--accent);
}
.reflection {
  font-size: 17px;
  line-height: 1.9;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  margin: 22px 0;
}
.last-week-list > div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.workday-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 16px;
  gap: 20px;
}
.workday-bar .helper {
  display: block;
}
.workday-bar label {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.workday-bar input {
  width: 160px;
}
.workspace-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.workspace-modules > .module {
  grid-column: 1 / -1;
}
.workspace-modules > .module-tasks:has(+ .module-notes),
.workspace-modules > .module-tasks + .module-notes,
.workspace-modules > .module-notes:has(+ .module-tasks),
.workspace-modules > .module-notes + .module-tasks {
  grid-column: auto;
}
.module-workflow,
.module-activities,
.module-records,
.module-review {
  grid-column: 1 / -1;
}
.workflow-steps {
  display: flex;
  gap: 16px;
  margin: 18px 0;
  flex-wrap: wrap;
}
.workflow-steps span {
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent);
  font-size: 12px;
}
.workflow-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}
.activity-group {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 12px;
}
.activity-group > summary {
  cursor: pointer;
  padding: 13px 16px;
  background: #f8f9fc;
  font-size: 12px;
  color: #7b869b;
}
.activity-group > summary .category-label {
  margin: 0 14px 0 6px;
}
.group-hint {
  float: right;
  font-size: 11px;
  color: #8894a9;
}
.group-footer {
  padding: 6px 12px 12px;
}
.record-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.record-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}
.record-tile > div {
  flex: 1;
  min-width: 0;
}
.record-tile strong {
  overflow-wrap: anywhere;
}
.record-tile small {
  display: block;
  color: #8894a9;
  font-size: 11px;
}
.record-tile .activity-emoji {
  font-size: 23px;
}
.record-tile button {
  white-space: nowrap;
}
.record-history {
  margin-top: 18px;
}
.record-history summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 12px;
}
.task-row.task-scenery {
  border: 1px solid #dce6e5;
  border-radius: 13px;
  padding: 20px 16px;
  margin: 12px 0;
  min-height: 102px;
  background-size: cover;
  background-position: center;
}
.task-scenery.coast {
  background-image: url('/assets/coast.svg');
}
.task-scenery.dusk {
  background-image: url('/assets/dusk.svg');
}
.task-scenery.forest {
  background-image: url('/assets/forest.svg');
}
.task-scenery .task-title {
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.task-scenery .check-button {
  flex-shrink: 0;
  background: #ffffffc9;
}
.task-scenery .quiet {
  background: #ffffffb3;
}
.component-catalog {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.component-option {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.component-icon {
  font-size: 26px;
  background: var(--soft);
  color: var(--accent);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.component-option label {
  flex: 1;
}
.component-option label span {
  display: block;
  color: #7f8ca2;
  font-size: 12px;
  margin-top: 4px;
}
.component-option input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}
.format-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.format-toolbar button:first-child {
  font-weight: bold;
}
.notes-preview {
  padding: 16px;
  background: #f7f8fc;
  border-radius: 10px;
  min-height: 70px;
}
.notes-body {
  font-size: 15px;
  line-height: 1.9;
  min-height: 90px;
  overflow-wrap: anywhere;
}
mark {
  background: #fff0ac;
  color: #635116;
  padding: 1px 3px;
  border-radius: 3px;
}
.module-review textarea {
  min-height: 130px;
}
.dated-activity {
  display: flex;
  align-items: center;
  gap: 4px;
}
@media (max-width: 1200px) {
  .record-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f5f6fa;
  color: #253047;
  font:
    14px/1.65 'Segoe UI',
    system-local,
    sans-serif;
  --accent: #4d65aa;
  --soft: #edf0fb;
  --border: #e5e9f1;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  border: 1px solid var(--border);
  background: white;
  color: inherit;
  border-radius: 9px;
  padding: 8px 14px;
  transition: 0.16s;
}
button:hover {
  background: var(--soft);
  border-color: var(--accent);
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #b3c9ff;
  outline-offset: 2px;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.primary:hover {
  filter: brightness(1.08);
  background: var(--accent);
}
.quiet {
  border-color: transparent;
  background: transparent;
}
.danger {
  color: #b94343;
}
.small {
  font-size: 12px;
  padding: 5px 10px;
}
.wide {
  width: 100%;
}
svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
button svg {
  width: 17px;
  height: 17px;
  margin-right: 5px;
}
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  width: 206px;
  inset: 0 auto 0 0;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  z-index: 2;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0 12px 25px;
}
.brand-mark {
  color: var(--accent);
  font-size: 32px;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 3px;
  color: #96a0b3;
  font-weight: 500;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.nav button {
  text-align: left;
  border: 0;
  background: none;
  padding: 12px 17px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
}
.nav button.active {
  color: var(--accent);
  background: var(--soft);
}
.nav button:hover {
  background: #f4f6fa;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 28px 10px 0;
}
.side-quote {
  font-size: 12px;
  color: #9aa3b3;
  line-height: 1.9;
  margin: 22px 5px;
}
.account {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.avatar {
  height: 36px;
  width: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--soft);
  color: var(--accent);
  font-weight: 600;
}
.main {
  margin-left: 206px;
  width: calc(100% - 206px);
  padding: 0 36px 40px;
  max-width: 1800px;
}
.topbar {
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #8993a6;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.status-dot {
  width: 7px;
  height: 7px;
  background: #7aa28b;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}
.status-dot.off {
  background: #d18b51;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 27px;
  letter-spacing: 0.3px;
}
h2 {
  font-size: 18px;
}
h3 {
  font-size: 15px;
}
.muted {
  color: #8993a6;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.page-heading p {
  margin-top: 5px;
  color: #8993a6;
}
.actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
  padding: 23px;
  box-shadow: 0 3px 12px #26365303;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
}
.grid {
  display: grid;
  gap: 20px;
}
.cols2 {
  grid-template-columns: 1.6fr 1fr;
}
.equal2 {
  grid-template-columns: 1fr 1fr;
}
.cols3 {
  grid-template-columns: repeat(3, 1fr);
}
.section-gap {
  margin-top: 22px;
}
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(130deg, #e5eafb, #f5ded1 58%, #bacbdb);
  height: 205px;
  padding: 29px 32px;
  color: #304265;
}
.hero:after,
.theme-preview:after {
  content: '';
  position: absolute;
  width: 110%;
  height: 100%;
  bottom: -42%;
  left: -5%;
  background: #586d88;
  clip-path: polygon(
    0 65%,
    16% 12%,
    27% 51%,
    41% 7%,
    55% 50%,
    70% 0,
    83% 33%,
    100% 6%,
    100% 100%,
    0 100%
  );
  opacity: 0.18;
}
.hero:before {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  right: 22%;
  top: 22%;
  border-radius: 50%;
  background: #fff9e6;
  box-shadow: 0 0 55px #fff6d8;
}
.hero.forest {
  background: linear-gradient(120deg, #dcebe1, #a6c4b7, #e1e7cd);
  color: #245c51;
}
.hero.ocean {
  background: linear-gradient(120deg, #dbeaf5, #a9c9df, #c4d6e9);
  color: #315772;
}
.hero.custom:before,
.hero.custom:after {
  display: none;
}
.hero.custom {
  background-size: cover;
  background-position: center;
  color: #fff;
  text-shadow: 0 1px 6px #0008;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 34px;
  margin: 5px 0;
}
.hero-tagline {
  font-size: 14px;
  max-width: 65%;
}
.hero-top {
  display: flex;
  justify-content: space-between;
}
.hero-top .quiet {
  background: #ffffff85;
  text-shadow: none;
}
.hero-bottom {
  position: absolute;
  right: 30px;
  bottom: 25px;
  font-size: 12px;
  letter-spacing: 2px;
}
.polaris {
  position: relative;
  margin-top: -27px;
  z-index: 1;
  margin-left: 20px;
  margin-right: 20px;
  box-shadow: 0 8px 22px #3a4b7010;
}
.polaris-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.polaris-columns > div + div {
  border-left: 1px solid var(--border);
  padding-left: 30px;
}
.polaris-text {
  font-size: 17px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.northstar {
  font-size: 24px;
  color: var(--accent);
  margin-right: 8px;
}
.label {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  color: #8a93a5;
  margin-bottom: 7px;
}
.activity-card {
  padding: 20px;
}
.activity-emoji {
  font-size: 23px;
  border-radius: 11px;
  background: var(--soft);
  height: 46px;
  width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.activity-top {
  display: flex;
  gap: 13px;
  align-items: center;
}
.activity-number {
  font-size: 13px;
  color: #8691a5;
  margin-top: 3px;
}
.progress {
  height: 5px;
  background: #eef0f5;
  border-radius: 8px;
  overflow: hidden;
  margin: 18px 0;
}
.progress > i {
  height: 100%;
  display: block;
  border-radius: 8px;
  background: var(--accent);
}
.activity-card button {
  width: 100%;
  color: var(--accent);
  background: var(--soft);
  border: 0;
}
.stamp-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.emoji-button {
  font-size: 25px;
  padding: 6px 10px;
  background: #f6f8fb;
  border-color: transparent;
}
.emoji-button.selected {
  background: var(--soft);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.helper {
  font-size: 12px;
  color: #8993a6;
  margin-top: 10px;
}
.task-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f2f7;
}
.task-row:last-child {
  border: 0;
}
.task-row .task-content {
  flex: 1;
}
.task-row.done .task-title {
  text-decoration: line-through;
  color: #9ba4b4;
}
.check-button {
  width: 23px;
  height: 23px;
  padding: 0;
  border-radius: 6px;
}
.check-button.checked {
  background: var(--accent);
  color: #fff;
}
.tiny {
  font-size: 11px;
}
.empty {
  padding: 38px 20px;
  text-align: center;
  color: #909aab;
}
.empty .empty-icon {
  font-size: 32px;
  margin-bottom: 10px;
  color: #acb8d2;
}
.empty p {
  margin: 8px 0 17px;
}
.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--accent);
  font-size: 11px;
}
.badge.leave {
  background: #fff2e2;
  color: #a17541;
}
.tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 18px;
}
.tabs button {
  border: 0;
  background: transparent;
  color: #8c95a4;
}
.tabs button.active {
  background: var(--soft);
  color: var(--accent);
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 12px;
  color: #8a94a6;
  font-weight: 500;
  background: #f8f9fc;
  padding: 12px;
}
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
td:first-child,
th:first-child {
  padding-left: 16px;
}
.table-wrap {
  overflow-x: auto;
}
.category-label {
  font-size: 12px;
  color: var(--accent);
  background: var(--soft);
  padding: 6px 10px;
  border-radius: 7px;
  white-space: nowrap;
}
.frequency {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.week-picker {
  display: flex;
  align-items: center;
  gap: 7px;
}
.week-picker select {
  width: auto;
}
.timeline-row {
  padding: 12px 0;
  display: flex;
  gap: 15px;
  border-bottom: 1px solid #f1f3f7;
}
.timeline-row:last-child {
  border: 0;
}
.timeline-main {
  flex: 1;
  overflow-wrap: anywhere;
}
.timeline-date {
  color: #97a0b0;
  font-size: 12px;
  min-width: 44px;
}
.timeline-main p {
  font-size: 12px;
  color: #8791a3;
}
.member-card .avatar {
  height: 48px;
  width: 48px;
  font-size: 21px;
}
.member-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}
.member-stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.member-stats strong {
  font-size: 23px;
  font-weight: 500;
}
.mini-stamp {
  font-size: 22px;
  padding: 5px;
}
.composer textarea {
  border: 0;
  background: #f8f9fc;
  min-height: 88px;
}
.composer-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}
.post-header {
  display: flex;
  gap: 11px;
  align-items: center;
}
.post-header .post-info {
  flex: 1;
}
.post-content {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 17px 0;
  font-size: 15px;
}
.post-image {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 10px;
  background: #f6f7fa;
  display: block;
}
.post-actions {
  display: flex;
  gap: 14px;
  margin: 14px 0;
}
.post-actions button {
  font-size: 12px;
  padding: 3px 7px;
}
.comments {
  background: #f7f8fc;
  border-radius: 9px;
  padding: 10px 15px;
  margin-bottom: 12px;
}
.comment {
  padding: 8px 0;
  border-bottom: 1px solid #e9edf5;
  overflow-wrap: anywhere;
}
.comment:last-child {
  border: 0;
}
.comment strong {
  color: var(--accent);
  font-weight: 500;
}
.comment .small {
  padding: 0 5px;
}
.comment-line {
  display: flex;
  gap: 9px;
  margin-top: 10px;
}
.comment-line input {
  flex: 1;
}
.feed {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feed-layout {
  display: grid;
  grid-template-columns: minmax(450px, 1fr) 260px;
  gap: 22px;
}
.sticky {
  position: sticky;
  top: 25px;
  align-self: start;
}
.filters {
  display: flex;
  gap: 8px;
  margin: 16px 0;
  flex-wrap: wrap;
}
.filters input,
.filters select {
  width: auto;
  max-width: 200px;
}
.week-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  margin: 20px 0;
}
.week-grid button {
  padding: 9px 3px;
}
.week-grid button.active {
  background: var(--accent);
  color: white;
}
.week-grid small {
  display: block;
  font-size: 9px;
  opacity: 0.65;
}
.stamp-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
}
.stamp-day {
  background: #f7f9fc;
  border-radius: 9px;
  text-align: center;
  padding: 10px 3px;
  font-size: 25px;
}
.stamp-day small {
  display: block;
  font-size: 10px;
  color: #97a0b0;
  margin-bottom: 6px;
}
.season-tile {
  padding: 0;
  overflow: hidden;
  text-align: left;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.season-tile.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.season-cover {
  height: 76px;
  background: linear-gradient(130deg, #dce7f8, #f0c6af);
  position: relative;
  overflow: hidden;
}
.season-tile .tile-body {
  padding: 15px;
}
.season-cover.forest {
  background: linear-gradient(130deg, #c5ddcf, #7fa797);
}
.season-cover.ocean {
  background: linear-gradient(130deg, #d9e6ff, #76a8c4);
}
.season-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}
label.field {
  display: block;
  margin-bottom: 16px;
}
label.field > span {
  display: block;
  font-size: 12px;
  color: #707d94;
  margin-bottom: 7px;
}
input,
textarea,
select {
  border: 1px solid #dfe5ef;
  background: white;
  color: #27344c;
  padding: 9px 11px;
  border-radius: 8px;
  width: 100%;
  outline: none;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--soft);
}
textarea {
  resize: vertical;
  min-height: 90px;
}
input[type='checkbox'] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}
input[type='color'] {
  width: 55px;
  height: 40px;
  padding: 4px;
}
input[type='file'] {
  font-size: 12px;
}
.form-row {
  display: flex;
  gap: 15px;
}
.form-row > * {
  flex: 1;
}
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #1b284357;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  backdrop-filter: blur(3px);
}
.modal {
  width: 600px;
  max-width: 95vw;
  max-height: 92vh;
  overflow: auto;
  background: white;
  border-radius: 17px;
  padding: 27px;
  box-shadow: 0 25px 90px #15223d40;
}
.modal.large {
  width: 780px;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.modal-preview {
  max-height: 140px;
  max-width: 100%;
  border-radius: 8px;
  display: block;
  margin: 10px 0;
}
.theme-preview {
  height: 80px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  margin: 12px 0;
  background: linear-gradient(120deg, #e5eafb, #f5ded1);
}
.theme-choices {
  display: flex;
  gap: 9px;
}
.theme-choices button {
  flex: 1;
  padding: 14px;
}
.error-text {
  color: #b8404d;
  background: #fff0f1;
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 12px;
}
.error-text:empty {
  display: none;
}
.notice {
  background: #fff7e9;
  border: 1px solid #f0dfbf;
  border-radius: 9px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 12px;
  color: #997537;
}
.loading {
  padding: 100px;
  text-align: center;
  color: #8794aa;
}
.onboarding {
  max-width: 800px;
  margin: 50px auto;
}
.onboarding h1 {
  font-size: 33px;
  margin: 10px 0;
}
.onboarding .intro {
  font-size: 16px;
  color: #8a96aa;
  margin: 10px 0 35px;
}
.onboard-star {
  font-size: 52px;
  color: var(--accent);
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(25px);
  background: #263551;
  color: #fff;
  padding: 11px 22px;
  border-radius: 10px;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  max-width: 75vw;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.split-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.meeting-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.connection-detail {
  font-family: Consolas, monospace;
  font-size: 12px;
  word-break: break-all;
  background: #f6f8fc;
  padding: 14px;
  border-radius: 9px;
}
.raw-link {
  color: var(--accent);
  text-decoration: none;
}
.colour-chip {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 1px #ddd;
  padding: 0;
}
.form-status {
  font-size: 12px;
  color: #8993a6;
}
.feed-limit {
  align-self: center;
}
.snapshot {
  border-left: 2px solid #c8d1e7;
  padding-left: 14px;
  margin: 16px 0;
}
.snapshot small {
  color: #8e98aa;
}
.snapshot p {
  margin-top: 5px;
}
.offline-banner {
  position: sticky;
  top: 0;
  background: #fff2dc;
  padding: 10px;
  border-radius: 8px;
  z-index: 3;
  color: #9b702a;
  font-size: 12px;
}
.image-input {
  display: none;
}
.record-date {
  max-width: 155px;
}
.long-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.polaris-goals {
  padding-left: 18px;
  margin: 0;
}
.polaris-goals li {
  margin-bottom: 3px;
}
@media (max-width: 1200px) {
  .main {
    padding: 0 22px 30px;
  }
  .sidebar {
    width: 180px;
    padding: 25px 10px;
  }
  .main {
    margin-left: 180px;
    width: calc(100% - 180px);
  }
  .cols3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .feed-layout {
    grid-template-columns: 1fr 225px;
  }
  .card {
    padding: 18px;
  }
  .hero {
    padding: 24px;
  }
  .hero h1 {
    font-size: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
