:root {
  color-scheme: dark;
  --bg: #0d0f14;
  --sidebar: #111319;
  --surface: #181b23;
  --raised: #232733;
  --line: #ffffff0d;
  --text: #f3f4f7;
  --muted: #a4aabb;
  --faint: #737b8e;
  --accent: #b29aff;
  --green: #9ed3b2;
  --red: #f5a09f;
  --amber: #dfbc82;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  font-size: 14px
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased
}

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

button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent
}

button {
  cursor: pointer;
  color: inherit
}

button {
  border: 0
}

button:disabled {
  opacity: .45;
  cursor: not-allowed
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px
}

button {
  transition: background .18s ease, transform .18s ease, color .18s ease
}

button:active:not(:disabled) {
  transform: translateY(1px)
}

input,
textarea,
select {
  color: var(--text);
  min-width: 0
}

button svg {
  flex-shrink: 0
}

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

h1 {
  font-size: 36px;
  font-weight: 620;
  letter-spacing: -1.4px;
  line-height: 1.2
}

h2 {
  font-size: 18px;
  font-weight: 590;
  letter-spacing: -.35px
}

h3 {
  font-size: 16px;
  font-weight: 570;
  letter-spacing: -.2px
}

.icon {
  width: 21px;
  height: 21px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0
}

.btn {
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap
}

.btn.primary {
  background: var(--accent);
  color: #20172e
}

.btn.primary:hover {
  background: #c3b0ff
}

.secondary {
  background: var(--raised);
  color: #e1e3eb
}

.secondary:hover {
  background: #2e3342
}

.text-btn {
  border: 0;
  background: none;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  font-size: 12px;
  min-height: 36px
}

.text-btn:hover {
  color: var(--accent)
}

.text-btn .icon {
  width: 16px;
  height: 16px
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  background: transparent;
  color: var(--muted)
}

.icon-btn:hover {
  background: var(--raised);
  color: var(--text)
}

.full {
  width: 100%
}

.sidebar {
  width: 232px;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  padding: 35px 20px 20px;
  display: flex;
  flex-direction: column;
  z-index: 20
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 8px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.6px
}

.brand img {
  width: 39px;
  height: 39px;
  border-radius: 12px
}

.brand-caption {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--faint);
  letter-spacing: .1px;
  margin-top: 5px
}

.nav-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--faint);
  margin: 55px 14px 17px
}

.desktop-nav {
  display: grid;
  gap: 6px
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 14px;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  min-height: 49px
}

.nav-item.active {
  background: #b29aff14;
  color: #c8b7ff
}

.nav-item:hover {
  background: #ffffff07
}

.nav-item.active:hover {
  background: #b29aff1e
}

.nav-item .icon {
  width: 20px;
  height: 20px
}

.nav-item>span:first-of-type {
  flex: 1
}

.nav-count {
  font-size: 10px;
  min-width: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 6px;
  background: #ffffff0a;
  color: var(--muted)
}

.ai-badge {
  font-size: 9px;
  border: 1px solid #b29aff30;
  border-radius: 5px;
  line-height: 16px;
  padding: 0 4px;
  color: var(--accent)
}

.sidebar-bottom {
  margin-top: auto
}

.private-note {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 20px 12px 22px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6
}

.private-note .icon {
  color: #8e98af;
  width: 18px
}

.private-note span {
  display: block;
  color: var(--faint);
  font-size: 10px
}

.profile {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  text-align: left;
  padding: 21px 4px 4px;
  font-size: 12px
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #32303d;
  color: #d0c0ed;
  font-size: 13px
}

.profile>span:nth-child(2) {
  flex: 1
}

.profile small {
  display: block;
  font-size: 10px;
  color: var(--faint);
  margin-top: 5px
}

.profile>.icon {
  width: 18px;
  color: var(--faint)
}

.workspace {
  margin-left: 232px;
  min-height: 100vh;
  display: flex;
  flex-direction: column
}

.topbar {
  height: 77px;
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted)
}

.breadcrumb {
  color: #bdc1ce
}

.breadcrumb span {
  padding: 0 12px;
  color: #4e5565
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 25px
}

.connection {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--faint)
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6b7181;
  flex-shrink: 0
}

.status-dot.online {
  background: var(--green)
}

.today-date {
  font-size: 11px;
  color: var(--muted)
}

.mobile-settings {
  display: none
}

main {
  width: 100%;
  max-width: 1390px;
  margin: 0 auto;
  padding: 40px 42px 50px;
  flex: 1
}

.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 31px
}

.eyebrow {
  font-size: 10px;
  color: var(--muted);
  font-weight: 550;
  letter-spacing: 1.4px;
  line-height: 1.5
}

.page-heading .eyebrow {
  text-transform: uppercase;
  margin-bottom: 11px;
  color: #9298a9;
  font-size: 10px;
  letter-spacing: 1.7px
}

.page-heading p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 12px;
  line-height: 1.6
}

.heading-dot {
  color: var(--accent)
}

.today-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px
}

.today-main,
.today-aside {
  min-width: 0
}

.insight-card {
  border-radius: 22px;
  padding: 25px 28px 23px;
  background: linear-gradient(118deg, #2b243c 0%, #222030 58%, #1d1e2b 100%);
  border: 1px solid #b29aff12;
  overflow: hidden;
  position: relative;
  min-height: 260px
}

.insight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px
}

.insight-top .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #d8c8ff;
  font-size: 9px;
  letter-spacing: 1.4px
}

.insight-top .icon {
  width: 16px;
  height: 16px
}

.subtle-chip {
  font-size: 9px;
  background: #ffffff08;
  color: #b1a8c7;
  border: 1px solid #ffffff09;
  padding: 5px 8px;
  border-radius: 7px
}

.insight-card h2 {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 540;
  letter-spacing: -.75px;
  max-width: 82%;
  margin: 23px 0 12px
}

.insight-card>p {
  font-size: 12px;
  line-height: 1.7;
  max-width: 78%;
  color: #b9b3c8;
  position: relative;
  z-index: 1
}

.insight-bottom {
  margin-top: 23px;
  position: relative;
  min-height: 40px
}

.insight-button {
  background: #ffffff0d;
  border: 1px solid #ffffff12;
  min-height: 38px;
  padding: 9px 12px;
  font-size: 11px;
  color: #e6ddf6;
  flex-direction: row-reverse;
  position: relative;
  z-index: 1
}

.insight-button .icon {
  width: 16px;
  height: 16px
}

.insight-button:hover {
  background: #ffffff16
}

.orbit-art {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  color: #c6acf8;
  transform: rotate(-25deg)
}

.orbit-art>span {
  position: absolute;
  border: 1px solid #b29aff40;
  border-radius: 50%;
  width: 94%;
  height: 55%
}

.orbit-art>span:nth-child(2) {
  transform: rotate(60deg)
}

.orbit-art>span:nth-child(3) {
  transform: rotate(120deg)
}

.orbit-art .icon {
  width: 30px;
  height: 30px
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 17px 0 31px
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 17px 18px
}

.stat-card>span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted)
}

.stat-card .icon {
  width: 14px;
  height: 14px;
  color: #a19bb6
}

.stat-card>div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 9px;
  margin-top: 13px
}

.stat-card strong {
  font-size: 28px;
  font-weight: 530;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums
}

.stat-card small {
  font-size: 9px;
  color: var(--faint)
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 8px;
  min-height: 24px
}

.section-title h2 {
  font-size: 16px
}

.section-title>.icon {
  width: 18px;
  color: var(--faint)
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px
}

.task-list {
  padding: 3px 18px
}

.task-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 83px;
  border-bottom: 1px solid #ffffff06
}

.task-row:last-child {
  border-bottom: 0
}

.task-check {
  width: 20px;
  height: 20px;
  border: 1.4px solid #525a6c;
  background: transparent;
  border-radius: 7px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  position: relative
}

.task-check:after {
  content: '';
  position: absolute;
  inset: -12px
}

.task-check:hover {
  border-color: var(--accent)
}

.task-check.checked {
  background: #b29aff1b;
  border-color: #b29aff40;
  color: var(--accent)
}

.task-check .icon {
  width: 14px;
  height: 14px
}

.task-body {
  text-align: left;
  background: none;
  padding: 15px 0;
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 9px
}

.task-title {
  font-size: 12px;
  font-weight: 480;
  line-height: 1.5;
  overflow-wrap: anywhere
}

.task-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 10px;
  color: var(--faint)
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  font-size: 9px;
  line-height: 1.3;
  padding: 4px 7px;
  font-weight: 500;
  max-width: 150px;
  overflow-wrap: anywhere
}

.tag.neutral {
  background: #ffffff06;
  color: #a6adbd
}

.tag.purple {
  background: #b29aff12;
  color: #baaae2
}

.tag.green-tag {
  background: #9ed3b214;
  color: var(--green)
}

.overdue {
  color: var(--amber)
}

.priority-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0
}

.priority-dot.urgent {
  background: var(--red)
}

.priority-dot.important {
  background: var(--amber)
}

.row-arrow {
  background: none;
  color: #616a7b;
  padding: 12px 0 12px 8px;
  min-width: 28px;
  min-height: 44px
}

.row-arrow .icon {
  width: 14px;
  height: 14px
}

.is-done .task-title {
  color: var(--faint);
  text-decoration: line-through
}

.is-done .task-meta {
  opacity: .6
}

.list-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: none;
  color: var(--faint);
  font-size: 11px;
  width: 100%;
  min-height: 50px
}

.list-add:hover {
  color: var(--accent)
}

.list-add .icon {
  width: 16px;
  height: 16px
}

.day-card {
  padding: 20px 18px
}

.day-card .section-title h2 {
  font-size: 14px
}

.week-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin: 23px -1px 19px
}

.week-day {
  border-radius: 11px;
  display: flex;
  align-items: center;
  flex-direction: column;
  background: transparent;
  gap: 11px;
  min-height: 80px;
  padding: 10px 0 8px;
  color: #959dac
}

.week-day>span:first-child {
  font-size: 9px;
  text-transform: capitalize
}

.week-day strong {
  font-size: 15px;
  font-weight: 500;
  color: #cdd0db
}

.week-day.current {
  background: #b29aff;
  color: #413050
}

.week-day.current strong {
  color: #21162f
}

.day-mark {
  width: 3px;
  height: 3px;
  border-radius: 50%
}

.day-mark.has-events {
  background: var(--accent)
}

.current .day-mark.has-events {
  background: #4d3b68
}

.week-day:hover:not(.current) {
  background: #ffffff08
}

.day-summary {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  gap: 11px;
  align-items: center
}

.small-orbit {
  color: var(--accent);
  background: #b29aff0b;
  width: 33px;
  height: 33px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0
}

.small-orbit .icon {
  width: 18px
}

.day-summary strong {
  font-size: 10px;
  font-weight: 500
}

.day-summary p {
  font-size: 9px;
  color: var(--faint);
  line-height: 1.5;
  margin-top: 5px
}

.today-aside>.section-title {
  margin-top: 27px
}

.next-reel {
  padding: 15px
}

.reel-visual {
  height: 111px;
  background: linear-gradient(135deg, #2e2b3c, #242b37);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: #ad9bcf
}

.reel-visual:before,
.reel-visual:after {
  content: '';
  position: absolute;
  width: 108px;
  height: 108px;
  border: 1px solid #b29aff26;
  border-radius: 28px;
  transform: rotate(25deg)
}

.reel-visual:after {
  transform: rotate(50deg);
  width: 83px;
  height: 83px
}

.reel-visual .icon {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1
}

.reel-visual>span {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #10131d65;
  font-size: 9px;
  padding: 5px 8px;
  border-radius: 6px;
  color: #d0c7e2
}

.next-reel>h3 {
  margin: 17px 3px 9px;
  font-size: 14px;
  line-height: 1.5
}

.next-reel>p {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: var(--muted);
  margin: 0 3px 19px
}

.next-reel>p .icon {
  width: 13px;
  height: 13px
}

.next-reel>.btn {
  font-size: 10px;
  min-height: 37px;
  justify-content: space-between;
  padding: 10px 13px
}

.next-reel>.btn .icon {
  order: 1;
  width: 15px;
  height: 15px
}

.small-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.8;
  margin: 23px 0
}

.small-note .icon {
  width: 19px;
  color: #8d95a6
}

.page-footer {
  padding: 20px 42px 25px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #626b7d;
  letter-spacing: .1px
}

.version {
  margin-left: 5px;
  color: #454d5b
}

.demo-strip {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: flex-end;
  font-size: 10px;
  color: var(--faint);
  margin: -20px 0 22px
}

.demo-strip button {
  font-size: 10px;
  padding: 6px 9px;
  color: #a596c4;
  background: #b29aff0b;
  border-radius: 6px
}

.empty-state {
  padding: 43px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center
}

.empty-icon {
  width: 48px;
  height: 48px;
  background: #b29aff0b;
  color: #a999ca;
  display: grid;
  place-items: center;
  border-radius: 15px;
  margin-bottom: 18px
}

.empty-icon .icon {
  width: 23px;
  height: 23px
}

.empty-state h3 {
  font-size: 16px;
  margin-bottom: 9px;
  font-weight: 500
}

.empty-state p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 340px
}

.empty-state .btn {
  margin-top: 20px;
  font-size: 11px
}

.next-reel .empty-state {
  padding: 22px 5px
}

.next-reel .empty-state h3 {
  font-size: 14px
}

.next-reel .empty-state p {
  font-size: 11px
}

.demo-button {
  display: flex;
  margin: auto;
  font-size: 10px
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 26px 0
}

.segments {
  background: var(--surface);
  border: 1px solid var(--line);
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 12px;
  max-width: 100%;
  overflow: auto
}

.segments button {
  background: none;
  color: var(--muted);
  padding: 10px 17px;
  font-size: 12px;
  white-space: nowrap;
  border-radius: 8px
}

.segments button.selected {
  background: #30303f;
  color: #e0d6fa
}

.search {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 220px;
  max-width: 300px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0 13px;
  border-radius: 12px;
  color: var(--faint);
  height: 44px
}

.search .icon {
  width: 17px;
  height: 17px
}

.search input {
  background: none;
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 11px
}

.search:focus-within {
  border-color: #b29aff80
}

.search input:focus-visible {
  outline: 0
}

.list-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--faint);
  padding: 0 4px;
  margin: 24px 0 13px
}

.list-caption>span {
  display: flex;
  align-items: center;
  gap: 7px
}

.list-caption .icon {
  width: 14px;
  height: 14px
}

.large.task-list {
  padding: 5px 24px
}

.large .task-row {
  min-height: 88px
}

.large .task-title {
  font-size: 14px
}

.large .task-meta {
  font-size: 11px
}

.large .tag {
  font-size: 10px
}

.large .task-check {
  margin-right: 3px
}

.reels-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 302px;
  gap: 28px
}

.stage-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px
}

.filter-chip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 11px;
  font-size: 11px;
  color: var(--muted);
  min-height: 37px
}

.filter-chip.selected {
  background: #b29aff18;
  border-color: #b29aff3d;
  color: #c7b5ee
}

.filter-chip span {
  margin-left: 6px;
  color: #8e80a7
}

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

.reel-card {
  text-align: left;
  background: var(--surface);
  border-radius: 17px;
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 0;
  min-width: 0;
  transition: border-color .18s, transform .18s
}

.reel-card:hover {
  border-color: #b29aff45;
  transform: translateY(-2px)
}

.reel-cover {
  height: 150px;
  position: relative;
  overflow: hidden;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2b2939
}

.reel-cover>.icon {
  width: 44px;
  height: 44px;
  color: #bdaed5;
  transform: rotate(-10deg);
  z-index: 1;
  stroke-width: 1
}

.reel-cover:before,
.reel-cover:after {
  content: '';
  position: absolute;
  border: 1px solid #cfbdff26;
  width: 150px;
  height: 150px;
  border-radius: 32px;
  transform: rotate(24deg);
  right: -6px;
  top: 31px
}

.reel-cover:after {
  transform: rotate(42deg);
  top: 14px;
  right: 15px
}

.cover-two {
  background: #253238
}

.cover-two>.icon {
  color: #a4c8c6
}

.cover-two:before,
.cover-two:after {
  border-color: #b0ddd320;
  border-radius: 50%;
  right: 13px
}

.cover-three {
  background: #36302c
}

.cover-three>.icon {
  color: #d5baa3
}

.cover-number {
  position: absolute;
  top: 14px;
  right: 17px;
  font-size: 10px;
  color: #ffffff45;
  letter-spacing: 2px
}

.stage-badge {
  position: absolute;
  left: 13px;
  bottom: 12px;
  background: #12131c77;
  backdrop-filter: blur(8px);
  color: #d4cde1;
  font-size: 9px;
  padding: 6px 9px;
  border-radius: 6px
}

.reel-card-body {
  padding: 18px
}

.reel-card h3 {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 9px
}

.reel-card-body>p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 37px
}

.reel-card-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--line);
  margin-top: 17px;
  padding-top: 14px;
  font-size: 9px;
  color: var(--faint)
}

.reel-card-footer span {
  flex: 1
}

.reel-card-footer .icon {
  width: 13px;
  height: 13px
}

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

.calendar-card {
  padding: 20px 16px
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px
}

.calendar-header h3 {
  font-size: 13px;
  text-transform: capitalize
}

.calendar-header .icon-btn {
  width: 27px;
  height: 30px
}

.calendar-header .icon {
  width: 15px
}

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

.weekday {
  text-align: center;
  font-size: 9px;
  color: var(--faint);
  padding-bottom: 12px
}

.calendar-day {
  min-height: 37px;
  background: none;
  border-radius: 9px;
  color: #c6cbd6;
  font-size: 11px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 7px 2px 3px;
  font-variant-numeric: tabular-nums
}

.calendar-day:hover {
  background: #ffffff08
}

.calendar-day.muted {
  color: #50596a
}

.calendar-day.is-today {
  box-shadow: inset 0 0 0 1px #b29aff40;
  color: #d1bfff
}

.calendar-day.selected {
  background: var(--accent);
  color: #241a34;
  box-shadow: none
}

.calendar-marks {
  height: 3px;
  display: flex;
  gap: 3px
}

.filming-mark,
.publication-mark {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  display: inline-block;
  background: var(--accent)
}

.publication-mark {
  background: var(--green)
}

.selected .filming-mark {
  background: #573a88
}

.selected .publication-mark {
  background: #284b42
}

.calendar-legend {
  display: flex;
  gap: 17px;
  margin: 21px 6px 0;
  font-size: 9px;
  color: var(--faint)
}

.calendar-legend span {
  display: flex;
  align-items: center;
  gap: 6px
}

.agenda-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 26px 3px 13px
}

.agenda-header h3 {
  font-size: 13px
}

.agenda-header>span {
  font-size: 9px;
  color: var(--faint)
}

.agenda-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: var(--surface);
  border-radius: 12px;
  padding: 16px 13px;
  margin-bottom: 8px;
  text-align: left
}

.agenda-time {
  font-size: 10px;
  color: var(--muted)
}

.agenda-item>span:nth-child(2) {
  flex: 1;
  border-left: 2px solid #b29aff70;
  padding-left: 12px;
  min-width: 0
}

.agenda-item small {
  font-size: 9px;
  display: block;
  margin-bottom: 6px
}

.agenda-item strong {
  font-size: 11px;
  font-weight: 500;
  display: block;
  line-height: 1.5
}

.agenda-item>.icon {
  width: 13px;
  color: var(--faint)
}

.lavender {
  color: var(--accent)
}

.green {
  color: var(--green)
}

.agenda-empty {
  color: var(--faint);
  font-size: 11px;
  line-height: 1.9;
  padding: 15px 4px
}

.source-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  background: #b29aff08;
  border: 1px solid #b29aff16;
  border-radius: 14px;
  color: #a99cbf;
  font-size: 11px;
  line-height: 1.7
}

.source-summary>div {
  display: flex;
  align-items: center;
  gap: 12px
}

.source-summary .icon {
  width: 18px
}

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.connect-card {
  padding: 30px
}

.provider-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  background: #263242;
  color: #9bbbd8;
  flex-shrink: 0
}

.provider-icon.gmail {
  background: #392d33;
  color: #dfaaa6
}

.provider-icon.gemini {
  background: #2e273e;
  color: #bfa5eb
}

.provider-icon.small {
  width: 35px;
  height: 35px;
  border-radius: 10px
}

.provider-icon.small .icon {
  width: 18px
}

.connect-card h2 {
  margin: 22px 0 13px
}

.connect-card p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 350px
}

.connect-card>.btn {
  margin-top: 25px;
  font-size: 11px
}

.source-list {
  padding: 5px 22px
}

.source-row {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 80px;
  border-bottom: 1px solid var(--line)
}

.source-row:last-child {
  border-bottom: 0
}

.source-row>span:nth-child(2) {
  flex: 1;
  min-width: 0
}

.source-row strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  overflow-wrap: anywhere
}

.source-row small {
  display: block;
  font-size: 10px;
  color: var(--faint);
  margin-top: 6px
}

.switch {
  appearance: none;
  width: 38px;
  height: 23px;
  border-radius: 20px;
  background: #373c49;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  border: 1px solid #4a5060;
  transition: background .2s
}

.switch:before {
  content: '';
  width: 15px;
  height: 15px;
  background: #c3c7d2;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform .2s
}

.switch:checked {
  background: var(--accent);
  border-color: var(--accent)
}

.switch:checked:before {
  transform: translateX(15px);
  background: #2b1e40
}

.message-feed,
.report-feed {
  display: grid;
  gap: 18px
}

.message-card,
.report-card {
  padding: 25px
}

.message-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px
}

.message-header>span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0
}

.message-header strong {
  font-size: 13px;
  font-weight: 500
}

.message-header .icon {
  width: 18px
}

.message-header time {
  font-size: 10px;
  color: var(--faint);
  white-space: nowrap
}

.preserve {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.85;
  font-size: 13px
}

.message-card p,
.report-card p {
  color: #c1c6d3
}

.message-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 19px;
  gap: 10px
}

.report-card>small {
  display: block;
  color: var(--faint);
  font-size: 10px;
  margin-top: 22px
}

.notice {
  padding: 14px 17px;
  font-size: 12px;
  line-height: 1.7;
  border-radius: 12px;
  margin: 15px 0
}

.notice.warning {
  color: var(--amber);
  background: #dfbc820b
}

.assistant-layout {
  height: calc(100dvh - 190px);
  min-height: 550px;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column
}

.assistant-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
  gap: 12px
}

.assistant-header>div {
  display: flex;
  align-items: center;
  gap: 12px
}

.assistant-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #b29aff15;
  color: var(--accent);
  display: grid;
  place-items: center
}

.assistant-header h2 {
  font-size: 15px;
  margin-bottom: 5px
}

.assistant-header>div>div>span {
  color: var(--faint);
  font-size: 10px
}

.chat-area {
  flex: 1;
  overflow-y: auto;
  padding: 25px 5px;
  scrollbar-width: thin;
  scrollbar-color: #373242 transparent
}

.assistant-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  min-height: 100%;
  padding: 25px 0 35px
}

.large-spark {
  color: var(--accent);
  width: 70px;
  height: 70px;
  border: 1px solid #b29aff20;
  background: radial-gradient(circle at 50% 90%, #b29aff1b, transparent);
  border-radius: 24px;
  display: grid;
  place-items: center;
  transform: rotate(-7deg);
  margin-bottom: 26px
}

.large-spark .icon {
  width: 32px;
  height: 32px
}

.assistant-welcome>.eyebrow {
  font-size: 8px;
  letter-spacing: 2px;
  margin-bottom: 13px;
  color: #8f869e
}

.assistant-welcome h1 {
  font-weight: 500;
  font-size: 36px
}

.assistant-welcome>p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 12px;
  margin-top: 14px
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 650px;
  width: 100%;
  margin-top: 39px
}

.prompt-grid button {
  display: flex;
  text-align: left;
  flex-wrap: wrap;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  color: #b3a2d3
}

.prompt-grid button:hover {
  border-color: #b29aff40
}

.prompt-grid button>span {
  font-size: 11px;
  color: #c3c4d1;
  width: calc(100% - 28px);
  align-self: center
}

.prompt-grid button>.icon:first-child {
  width: 18px;
  height: 18px;
  margin-bottom: 6px;
  flex-basis: 100%
}

.prompt-grid button>.icon:last-child {
  width: 14px;
  height: 14px;
  align-self: center
}

.composer {
  display: flex;
  gap: 15px;
  align-items: flex-end;
  background: #20232e;
  border: 1px solid #ffffff0b;
  border-radius: 17px;
  padding: 17px 14px 14px 20px
}

.composer:focus-within {
  border-color: #b29aff55
}

.composer textarea {
  resize: none;
  background: none;
  border: 0;
  outline: 0;
  flex: 1;
  font-size: 13px;
  line-height: 1.8;
  max-height: 180px
}

.composer textarea:focus-visible {
  outline: 0
}

.composer textarea::placeholder {
  color: #868d9f
}

.send-button {
  background: var(--accent);
  color: #24162f;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center
}

.send-button .icon {
  width: 19px;
  height: 19px
}

.composer-note {
  font-size: 9px;
  text-align: center;
  color: var(--faint);
  margin-top: 12px;
  line-height: 1.8
}

.chat-connection {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.6;
  margin: 0 0 12px;
  flex-wrap: wrap
}

.chat-connection .icon {
  width: 13px;
  height: 13px
}

.chat-connection button {
  background: none;
  color: var(--accent);
  font-size: 10px;
  padding: 5px
}

.chat-message {
  margin: 10px 0 25px;
  max-width: 85%
}

.chat-author {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--faint);
  margin-bottom: 9px
}

.chat-author .icon {
  width: 14px;
  height: 14px;
  color: var(--accent)
}

.chat-bubble {
  background: var(--surface);
  border-radius: 0 16px 16px 16px;
  padding: 17px 20px;
  font-size: 13px
}

.from-user {
  margin-left: auto
}

.from-user .chat-author {
  justify-content: flex-end
}

.from-user .chat-bubble {
  background: #282333;
  border-radius: 16px 0 16px 16px;
  color: #e4dcee
}

.proposal {
  background: #b29aff0b;
  border: 1px solid #b29aff25;
  border-radius: 14px;
  padding: 18px;
  margin-top: 13px
}

.proposal .eyebrow {
  font-size: 8px;
  color: var(--accent)
}

.proposal h3 {
  font-size: 14px;
  margin: 10px 0
}

.proposal p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 14px
}

.proposal .btn {
  font-size: 11px
}

.thinking {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 15px;
  color: var(--faint)
}

.thinking>span {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1s infinite alternate
}

.thinking>span:nth-child(2) {
  animation-delay: .2s
}

.thinking>span:nth-child(3) {
  animation-delay: .4s
}

.thinking small {
  font-size: 10px;
  margin-left: 8px
}

@keyframes pulse {
  to {
    opacity: .3;
    transform: translateY(-3px)
  }
}

dialog {
  background: #181b23;
  color: var(--text);
  border: 1px solid #ffffff16;
  border-radius: 24px;
  padding: 28px;
  width: 520px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 44px);
  box-shadow: 0 30px 100px #0008;
  overflow: auto;
  scrollbar-width: thin
}

dialog.wide {
  width: 660px
}

dialog::backdrop {
  background: #06080cbd;
  backdrop-filter: blur(7px)
}

.modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 27px;
  gap: 15px
}

.modal-heading .eyebrow {
  font-size: 8px;
  color: var(--accent);
  margin-bottom: 8px;
  display: block
}

.modal-heading h2 {
  font-size: 23px;
  font-weight: 540
}

.modal-heading .icon-btn {
  align-self: flex-start;
  background: #ffffff05;
  width: 32px;
  height: 32px
}

.modal-heading .icon {
  width: 18px;
  height: 18px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 20px;
  min-width: 0
}

.field input,
.field textarea,
.field select {
  padding: 13px 14px;
  background: #10131a;
  border: 1px solid #ffffff10;
  border-radius: 10px;
  font-size: 13px;
  width: 100%;
  line-height: 1.5
}

.field input::placeholder,
.field textarea::placeholder {
  color: #636c7d
}

.field textarea {
  resize: vertical;
  min-height: 95px
}

.field .script-editor {
  font-size: 13px;
  line-height: 1.9;
  min-height: 220px
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 21px;
  margin-top: 8px;
  border-top: 1px solid var(--line)
}

.modal-footer>div {
  display: flex;
  gap: 8px
}

.modal-footer .btn {
  font-size: 11px;
  min-height: 41px;
  padding: 10px 13px
}

.modal-footer .icon {
  width: 17px;
  height: 17px
}

.danger {
  color: var(--red)
}

.danger:hover {
  color: #ffc6c5
}

.danger-fill {
  background: #e59d9c;
  color: #2e161c
}

.form-error {
  background: #f5a09f13;
  color: #f5bbbb;
  border: 1px solid #f5a09f26;
  padding: 12px 14px;
  font-size: 12px;
  border-radius: 10px;
  margin-bottom: 20px;
  line-height: 1.6
}

.confirm-copy {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 24px
}

.settings-section {
  border-bottom: 1px solid var(--line);
  padding: 0 0 25px;
  margin-bottom: 25px
}

.settings-section h3 {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px
}

.settings-section h3 .icon {
  width: 17px;
  height: 17px;
  color: var(--accent)
}

.settings-section>p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 17px
}

.settings-section p.fine-print {
  font-size: 10px;
  line-height: 1.8;
  color: var(--faint);
  margin: 14px 0 0
}

.settings-section.last {
  margin-bottom: 0;
  border-bottom: 0;
  padding-bottom: 0
}

.settings-section.last p {
  margin: 0
}

.server-connected {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #c5d9cc;
  margin: 14px 0
}

.server-connected .text-btn {
  margin-left: auto
}

.integration-setting {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line)
}

.integration-setting>div {
  flex: 1;
  min-width: 0
}

.integration-setting strong {
  font-size: 12px;
  font-weight: 500;
  display: block
}

.integration-setting small {
  display: block;
  font-size: 10px;
  color: var(--faint);
  line-height: 1.5;
  margin-top: 6px
}

.integration-setting .provider-icon {
  width: 35px;
  height: 35px;
  border-radius: 11px
}

.integration-setting .provider-icon .icon {
  width: 19px
}

.small-button {
  font-size: 10px;
  min-height: 34px;
  padding: 8px 11px
}

.settings-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 15px 0
}

.settings-buttons .btn {
  font-size: 11px
}

.import-button {
  position: relative;
  cursor: pointer;
  overflow: hidden
}

.import-button input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  cursor: pointer
}

.import-button:focus-within {
  outline: 2px solid var(--accent)
}

#toasts {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 116px);
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  max-width: calc(100vw - 32px);
  width: max-content
}

.toast {
  padding: 14px 20px;
  border-radius: 12px;
  background: #343244;
  color: #e5def4;
  font-size: 12px;
  border: 1px solid #b29aff2e;
  box-shadow: 0 8px 35px #0004;
  max-width: 500px;
  line-height: 1.6;
  animation: toast-in .2s ease-out
}

.toast.error {
  background: #392a31;
  color: #efc2c8;
  border-color: #f5a09f30
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px)
  }
}

.mobile-nav {
  display: none
}

@media(min-width:1650px) {
  main {
    padding-top: 50px
  }

  .today-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px
  }

  .insight-card {
    min-height: 285px
  }

  .insight-card h2 {
    font-size: 32px
  }

  .task-row {
    min-height: 88px
  }

  .task-title {
    font-size: 14px
  }

  .task-meta {
    font-size: 11px
  }

  .next-reel .reel-visual {
    height: 130px
  }

  .reels-layout {
    grid-template-columns: minmax(0, 1fr) 340px
  }

  .reel-cover {
    height: 185px
  }
}

@media(max-width:1200px) {
  .sidebar {
    width: 205px;
    padding-left: 14px;
    padding-right: 14px
  }

  .workspace {
    margin-left: 205px
  }

  .topbar {
    padding: 0 28px
  }

  main {
    padding: 33px 28px 40px
  }

  .today-grid,
  .reels-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px
  }

  .stat-card {
    padding: 14px 12px
  }

  .stat-card small {
    font-size: 8px
  }

  .stat-card strong {
    font-size: 26px
  }

  .stat-card>span {
    font-size: 9px
  }

  .insight-card {
    padding: 23px
  }

  .insight-card h2 {
    font-size: 25px
  }

  .insight-card>p {
    max-width: 80%
  }

  .insight-top .subtle-chip {
    display: none
  }

  .task-row {
    gap: 10px
  }

  .task-title {
    font-size: 11px
  }

  .task-meta {
    font-size: 9px
  }

  .reel-grid {
    gap: 12px
  }

  .reel-card-body {
    padding: 15px
  }

  .reel-cover {
    height: 135px
  }

  .reel-card h3 {
    font-size: 13px
  }

  .reel-card-footer {
    font-size: 8px
  }

  .reel-card-footer>.icon:first-child {
    display: none
  }

  #toasts {
    left: calc(50% + 102px)
  }
}

@media(max-width:1000px) and (min-width:761px) {
  .sidebar {
    width: 180px;
    padding: 28px 12px 20px
  }

  .workspace {
    margin-left: 180px
  }

  .brand {
    font-size: 17px;
    gap: 8px;
    padding: 0 5px
  }

  .brand img {
    width: 33px;
    height: 33px
  }

  .brand-caption {
    font-size: 8px
  }

  .nav-item {
    gap: 9px;
    padding: 13px 10px;
    font-size: 12px
  }

  .nav-label {
    font-size: 8px
  }

  .connection {
    display: none
  }

  .today-grid {
    grid-template-columns: 1fr
  }

  .today-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: start
  }

  .today-aside>.section-title {
    display: none
  }

  .today-aside>.small-note {
    display: none
  }

  .next-reel {
    min-height: 247px
  }

  .next-reel .reel-visual {
    height: 88px
  }

  .day-card {
    min-height: 247px
  }

  .reels-layout {
    grid-template-columns: 1fr
  }

  .reels-layout>aside {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 16px;
    align-items: start
  }

  .agenda-header {
    display: none
  }

  .page-heading {
    gap: 15px
  }

  h1 {
    font-size: 32px
  }

  .page-heading>.btn {
    font-size: 11px
  }

  .toolbar {
    flex-wrap: wrap
  }

  .search {
    max-width: none;
    flex: 1
  }

  .stat-card small {
    font-size: 10px
  }

  .task-title {
    font-size: 13px
  }

  .task-meta {
    font-size: 10px
  }

  .assistant-layout {
    min-height: 550px
  }

  .prompt-grid {
    gap: 8px
  }

  .prompt-grid button {
    padding: 13px
  }

  .profile {
    gap: 7px
  }

  .profile>span:nth-child(2) {
    font-size: 11px
  }

  .profile small {
    font-size: 8px
  }

  .private-note {
    font-size: 9px;
    padding-left: 6px;
    gap: 6px
  }

  .private-note span {
    font-size: 8px
  }

  .connect-card {
    padding: 23px
  }

  .page-footer {
    padding: 20px 28px
  }

  .page-heading p {
    font-size: 12px
  }

  #toasts {
    left: calc(50% + 90px)
  }
}

@media(max-width:760px) {
  .sidebar {
    display: none
  }

  .workspace {
    margin-left: 0;
    padding-bottom: 88px
  }

  .topbar {
    height: 65px;
    padding: 0 22px;
    border: 0
  }

  .breadcrumb {
    font-size: 0;
    color: transparent
  }

  .breadcrumb:before {
    content: 'Мой день';
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.5px;
    color: var(--text)
  }

  .breadcrumb span {
    display: none
  }

  .topbar-actions {
    gap: 8px
  }

  .connection,
  .today-date {
    display: none
  }

  .mobile-settings {
    display: grid
  }

  .mobile-settings .icon {
    width: 20px
  }

  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: #151820f0;
    backdrop-filter: blur(20px);
    border-top: 1px solid #ffffff0c;
    padding: 9px 10px max(10px, env(safe-area-inset-bottom));
    min-height: 74px
  }

  .mobile-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: none;
    color: #788296;
    padding: 7px 2px 4px;
    border-radius: 10px;
    font-size: 9px;
    min-height: 48px
  }

  .mobile-nav .icon {
    width: 20px;
    height: 20px
  }

  .mobile-nav button.active {
    color: var(--accent)
  }

  .mobile-nav button.active .icon {
    filter: drop-shadow(0 0 8px #b29aff30)
  }

  main {
    padding: 21px 22px 24px;
    max-width: 620px
  }

  .page-heading {
    align-items: flex-start;
    margin-bottom: 26px;
    gap: 10px;
    position: relative
  }

  .page-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
    margin-bottom: 11px
  }

  h1 {
    font-size: 30px;
    letter-spacing: -1px
  }

  .page-heading p {
    font-size: 11px;
    margin-top: 10px
  }

  .page-heading>.btn {
    font-size: 0;
    gap: 0;
    min-height: 41px;
    width: 41px;
    padding: 10px;
    border-radius: 13px;
    align-self: center;
    flex-shrink: 0
  }

  .page-heading>.btn .icon {
    width: 20px;
    height: 20px
  }

  .today-grid {
    display: flex;
    flex-direction: column;
    gap: 26px
  }

  .insight-card {
    padding: 22px;
    min-height: 255px;
    border-radius: 20px
  }

  .insight-top .eyebrow {
    font-size: 8px;
    letter-spacing: 1.1px
  }

  .insight-top .subtle-chip {
    display: block;
    font-size: 8px
  }

  .insight-card h2 {
    font-size: 27px;
    font-weight: 530;
    margin: 23px 0 12px
  }

  .insight-card>p {
    font-size: 11px;
    max-width: 85%;
    line-height: 1.8
  }

  .insight-bottom {
    margin-top: 22px
  }

  .insight-button {
    font-size: 10px
  }

  .orbit-art {
    width: 90px;
    height: 90px;
    right: -11px;
    bottom: 5px
  }

  .orbit-art .icon {
    width: 25px;
    height: 25px
  }

  .stats-grid {
    gap: 8px;
    margin: 14px 0 26px
  }

  .stat-card {
    padding: 14px 12px;
    border-radius: 14px
  }

  .stat-card>span {
    font-size: 9px;
    gap: 5px
  }

  .stat-card .icon {
    width: 12px;
    height: 12px
  }

  .stat-card>div {
    gap: 4px;
    margin-top: 11px;
    display: block
  }

  .stat-card strong {
    font-size: 27px;
    display: block;
    margin-bottom: 4px
  }

  .stat-card small {
    font-size: 8px
  }

  .section-title {
    margin-bottom: 12px
  }

  .section-title h2 {
    font-size: 16px
  }

  .section-title .text-btn {
    font-size: 10px
  }

  .task-list {
    padding: 1px 15px;
    border-radius: 17px
  }

  .task-row {
    min-height: 84px;
    gap: 12px
  }

  .task-title {
    font-size: 12px
  }

  .task-meta {
    font-size: 9px;
    gap: 8px
  }

  .task-check {
    width: 19px;
    height: 19px;
    border-radius: 6px
  }

  .row-arrow {
    padding-left: 3px;
    min-width: 20px
  }

  .row-arrow .icon {
    width: 13px
  }

  .priority-dot {
    width: 4px;
    height: 4px
  }

  .task-body {
    gap: 8px
  }

  .tag {
    font-size: 8px;
    padding: 4px 6px
  }

  .day-card {
    padding: 20px
  }

  .day-card .section-title h2 {
    font-size: 15px
  }

  .week-strip {
    gap: 7px
  }

  .week-day {
    min-height: 84px;
    gap: 13px
  }

  .week-day>span:first-child {
    font-size: 10px
  }

  .week-day strong {
    font-size: 17px
  }

  .day-summary strong {
    font-size: 11px
  }

  .day-summary p {
    font-size: 10px
  }

  .day-summary {
    padding-top: 19px
  }

  .today-aside>.section-title {
    margin-top: 25px
  }

  .next-reel {
    padding: 17px
  }

  .reel-visual {
    height: 138px
  }

  .next-reel>h3 {
    font-size: 16px
  }

  .next-reel>p {
    font-size: 11px
  }

  .next-reel>.btn {
    font-size: 12px;
    min-height: 42px
  }

  .small-note {
    margin: 25px 0 0;
    font-size: 10px
  }

  .page-footer {
    display: none
  }

  .demo-strip {
    margin: -8px 0 20px;
    justify-content: space-between;
    font-size: 9px
  }

  .demo-strip button {
    font-size: 9px
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    margin: 24px 0
  }

  .segments {
    align-self: flex-start;
    width: auto;
    max-width: 100%
  }

  .segments button {
    font-size: 11px;
    padding: 10px 14px;
    min-height: 36px
  }

  .search {
    max-width: none;
    min-width: 0;
    width: 100%;
    height: 44px
  }

  .search input {
    font-size: 12px
  }

  .list-caption {
    margin: 19px 0 13px;
    font-size: 10px
  }

  .large.task-list {
    padding: 2px 15px
  }

  .large .task-title {
    font-size: 12px
  }

  .large .task-meta {
    font-size: 9px
  }

  .large .task-check {
    margin-right: 0
  }

  .large .tag {
    font-size: 8px
  }

  .reels-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 25px
  }

  .reels-layout>aside {
    display: block
  }

  .calendar-card {
    padding: 19px 17px
  }

  .calendar-header h3 {
    font-size: 14px
  }

  .calendar-day {
    min-height: 39px;
    font-size: 12px
  }

  .calendar-header {
    margin-bottom: 18px
  }

  .calendar-legend {
    font-size: 10px
  }

  .agenda-header {
    margin-top: 19px
  }

  .agenda-empty {
    font-size: 11px;
    padding: 5px 3px 0
  }

  .agenda-item strong {
    font-size: 12px
  }

  .agenda-item small {
    font-size: 10px
  }

  .agenda-time {
    font-size: 11px
  }

  .stage-filters {
    flex-wrap: nowrap;
    overflow: auto;
    padding-bottom: 5px;
    margin: 0 -22px 15px;
    padding-left: 22px;
    padding-right: 22px;
    scrollbar-width: none
  }

  .filter-chip {
    flex-shrink: 0;
    font-size: 10px
  }

  .reel-grid {
    gap: 13px
  }

  .reel-cover {
    height: 124px
  }

  .reel-card-body {
    padding: 14px 12px
  }

  .reel-card h3 {
    font-size: 12px;
    line-height: 1.55
  }

  .reel-card-body>p {
    font-size: 10px;
    line-height: 1.7
  }

  .reel-card-footer {
    font-size: 8px;
    margin-top: 13px;
    padding-top: 12px;
    line-height: 1.5;
    gap: 3px
  }

  .reel-card-footer>.icon:first-child {
    display: none
  }

  .reel-cover>.icon {
    width: 34px;
    height: 34px
  }

  .stage-badge {
    font-size: 8px;
    left: 10px;
    bottom: 10px;
    padding: 5px 7px
  }

  .cover-number {
    font-size: 8px;
    top: 12px;
    right: 12px
  }

  .source-summary {
    padding: 15px;
    font-size: 10px;
    line-height: 1.8;
    display: block
  }

  .source-summary>.text-btn {
    display: none
  }

  .source-summary>div {
    align-items: flex-start;
    gap: 9px
  }

  .source-summary .icon {
    margin-top: 3px;
    width: 16px
  }

  .connect-grid {
    grid-template-columns: 1fr;
    gap: 15px
  }

  .connect-card {
    padding: 23px
  }

  .connect-card h2 {
    font-size: 17px;
    margin: 18px 0 10px
  }

  .connect-card p {
    font-size: 12px
  }

  .connect-card>.btn {
    font-size: 11px;
    margin-top: 20px
  }

  .source-list {
    padding: 0 17px
  }

  .source-row strong {
    font-size: 12px
  }

  .source-row small {
    font-size: 9px
  }

  .message-card,
  .report-card {
    padding: 20px 17px
  }

  .message-header {
    align-items: flex-start;
    margin-bottom: 16px
  }

  .message-header strong {
    font-size: 11px
  }

  .message-header time {
    font-size: 8px;
    white-space: normal;
    text-align: right;
    max-width: 70px;
    line-height: 1.7
  }

  .message-header .icon {
    width: 16px
  }

  .message-card p,
  .report-card p {
    font-size: 12px
  }

  .message-actions .text-btn {
    font-size: 10px
  }

  .assistant-layout {
    height: calc(100dvh - 190px - env(safe-area-inset-bottom));
    min-height: 510px;
    max-width: none
  }

  .assistant-header {
    padding-bottom: 17px
  }

  .assistant-header h2 {
    font-size: 14px
  }

  .assistant-header>div>div>span {
    font-size: 8px
  }

  .assistant-header>.text-btn {
    font-size: 0;
    gap: 0
  }

  .assistant-header>.text-btn .icon {
    width: 19px;
    height: 19px
  }

  .assistant-header>div {
    gap: 10px
  }

  .assistant-avatar {
    width: 36px;
    height: 36px
  }

  .chat-area {
    padding: 15px 0
  }

  .assistant-welcome {
    padding: 18px 0 23px
  }

  .large-spark {
    width: 57px;
    height: 57px;
    border-radius: 19px;
    margin-bottom: 22px
  }

  .large-spark .icon {
    width: 28px;
    height: 28px
  }

  .assistant-welcome h1 {
    font-size: 29px
  }

  .assistant-welcome>.eyebrow {
    font-size: 7px;
    letter-spacing: 1.5px;
    margin-bottom: 12px
  }

  .assistant-welcome>p {
    font-size: 11px;
    margin-top: 12px
  }

  .prompt-grid {
    margin-top: 25px;
    gap: 8px;
    grid-template-columns: 1fr
  }

  .prompt-grid button {
    padding: 12px 14px;
    flex-wrap: nowrap;
    gap: 10px;
    border-radius: 11px;
    min-height: 44px;
    align-items: center
  }

  .prompt-grid button>.icon:first-child {
    width: 16px;
    height: 16px;
    flex-basis: auto;
    margin: 0
  }

  .prompt-grid button>span {
    font-size: 10px;
    flex: 1
  }

  .prompt-grid button>.icon:last-child {
    width: 13px
  }

  .composer {
    padding: 14px 12px 12px 16px;
    border-radius: 15px;
    gap: 8px
  }

  .composer textarea {
    font-size: 12px;
    line-height: 1.8
  }

  .send-button {
    width: 32px;
    height: 32px;
    border-radius: 9px
  }

  .composer-note {
    font-size: 8px;
    line-height: 1.7;
    margin-top: 10px
  }

  .chat-connection {
    font-size: 9px;
    gap: 5px;
    margin-bottom: 10px
  }

  .chat-connection button {
    font-size: 9px
  }

  .chat-message {
    max-width: 93%
  }

  .chat-bubble {
    font-size: 12px;
    padding: 14px 16px
  }

  .chat-author {
    font-size: 9px
  }

  .proposal h3 {
    font-size: 13px
  }

  .proposal .btn {
    font-size: 10px
  }

  dialog {
    padding: 24px 20px;
    border-radius: 21px;
    width: calc(100vw - 24px);
    max-width: 600px;
    max-height: calc(100dvh - 28px)
  }

  dialog.wide {
    width: calc(100vw - 24px)
  }

  .modal-heading {
    margin-bottom: 22px
  }

  .modal-heading h2 {
    font-size: 22px
  }

  .field {
    font-size: 11px;
    margin-bottom: 18px
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    padding: 12px
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0
  }

  .modal-footer {
    gap: 8px;
    align-items: center;
    padding-top: 18px
  }

  .modal-footer .btn {
    font-size: 10px;
    padding: 10px 12px;
    gap: 5px
  }

  .modal-footer .text-btn {
    font-size: 0;
    padding: 10px 0;
    width: 30px
  }

  .modal-footer .text-btn .icon {
    width: 18px;
    height: 18px
  }

  .modal-footer>div {
    gap: 6px
  }

  .field .script-editor {
    font-size: 16px;
    line-height: 1.8
  }

  .settings-section>p {
    font-size: 11px
  }

  .settings-section h3 {
    font-size: 13px
  }

  .integration-setting {
    gap: 10px
  }

  .integration-setting strong {
    font-size: 11px
  }

  .integration-setting small {
    font-size: 9px;
    line-height: 1.65
  }

  .integration-setting .provider-icon {
    width: 31px;
    height: 31px
  }

  .small-button {
    font-size: 9px;
    padding: 8px
  }

  .integration-setting .tag {
    font-size: 8px;
    padding: 5px
  }

  .settings-buttons {
    gap: 8px
  }

  .settings-buttons .btn {
    font-size: 10px
  }

  .settings-section .fine-print {
    font-size: 9px
  }

  .confirm-copy {
    font-size: 12px
  }

  #toasts {
    left: 50%;
    bottom: calc(90px + env(safe-area-inset-bottom));
    max-width: calc(100vw - 30px)
  }

  .toast {
    font-size: 11px;
    padding: 13px 16px;
    max-width: 100%
  }

  .empty-state {
    padding: 35px 20px
  }

  .empty-state h3 {
    font-size: 15px
  }

  .empty-state p {
    font-size: 11px
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }
}
