:root {
  color-scheme: light;
  --bg: #f6f7f4;
  --surface: #fff;
  --ink: #263c35;
  --muted: #7a847e;
  --border: #e5e9e2;
  --green: #204e3f;
  --mint: #e9f0e3;
  --accent: #a6cb8b;
  --orange: #bd663e;
  --red: #aa4d37;
  --shadow: 0 12px 50px #243e3510;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-synthesis: none;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #151e1a;
  --surface: #1f2a24;
  --ink: #e4ede5;
  --muted: #a2afa5;
  --border: #344139;
  --green: #b9d7a7;
  --mint: #29382a;
  --accent: #a6cb8b;
  --orange: #e9a17c;
  --red: #f09e84;
  --shadow: 0 12px 50px #0002;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #89b86c;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 34px;
  letter-spacing: -1.3px;
  font-weight: 620;
  line-height: 1.2;
}
h2 {
  font-size: 19px;
  font-weight: 620;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.15px;
}
button {
  border: 0;
  background: none;
}
img {
  max-width: 100%;
}
.skip {
  position: fixed;
  left: 20px;
  top: -60px;
  z-index: 50;
  background: var(--surface);
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 230px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 36px 24px 0;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 55px;
}
.brand img {
  width: 40px;
  height: 40px;
}
.brand > span {
  font-size: 30px;
  letter-spacing: -1.5px;
  font-weight: 650;
  line-height: 0.9;
}
.brand-sub {
  display: block;
  font-size: 8px;
  letter-spacing: 2.4px;
  margin-top: 8px;
  font-weight: 650;
}
.workspace-label {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 650;
}
.sidebar nav {
  display: grid;
  gap: 8px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 9px;
  color: var(--muted);
  font-weight: 550;
  font-size: 13px;
  min-height: 48px;
}
.nav-link:hover {
  background: var(--bg);
}
.nav-link.active {
  background: var(--mint);
  color: var(--green);
}
.nav-count {
  margin-left: auto;
  font-size: 10px;
  background: var(--surface);
  padding: 2px 7px;
  border-radius: 5px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-bottom: 30px;
}
.local-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}
.local-status > span,
.notice-dot,
.profile-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #82a16a;
  display: inline-block;
}
.sidebar-bottom p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin: 9px 0 20px;
}
.export-button {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  padding: 8px 0;
}
.export-button svg {
  width: 15px;
  height: 15px;
}
.import-button {
  font-size: 10px;
  color: var(--muted);
  display: inline-block;
  cursor: pointer;
  padding: 8px 0;
}
.import-button input {
  display: block;
  font-size: 10px;
  max-width: 175px;
  margin-top: 5px;
}
.setup-content {
  padding: 24px 28px;
  display: grid;
  gap: 14px;
}
.setup-content h3 {
  margin-top: 12px;
  font-size: 16px;
}
.setup-content p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.setup-content textarea {
  width: 100%;
  font-size: 12px;
}
.setup-content form {
  padding: 0;
}
.setup-file {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  font-size: 12px;
}
.data-button {
  text-decoration: underline;
  white-space: nowrap;
  font-size: 11px;
  min-height: 40px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 -24px;
  padding: 22px 24px;
  border-top: 1px solid var(--border);
}
.avatar {
  height: 35px;
  width: 35px;
  border-radius: 50%;
  background: #e5d7c4;
  color: #625640;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 650;
  flex-shrink: 0;
}
.avatar.small {
  width: 30px;
  height: 30px;
  font-size: 10px;
}
.profile strong {
  display: block;
  font-size: 11px;
}
.profile small {
  font-size: 10px;
  color: var(--muted);
}
.profile-dot {
  margin-left: auto;
}
.workspace {
  margin-left: 230px;
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 84px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 46px;
  background: var(--surface);
}
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
}
.breadcrumb span {
  margin: 0 13px;
  color: #b3bbb3;
}
.breadcrumb strong {
  font-weight: 500;
  color: var(--ink);
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 19px;
}
.top-date {
  font-size: 11px;
  color: var(--muted);
}
.icon-button {
  height: 42px;
  width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.icon-button:hover {
  background: var(--mint);
}
.icon-button svg {
  height: 18px;
  width: 18px;
}
.mobile-brand {
  display: none;
}
main {
  padding: 22px 46px 0;
  max-width: 1530px;
  margin: auto;
}
.demo-notice {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 30px;
}
.demo-notice button {
  margin-left: auto;
  min-height: 32px;
  padding: 4px 8px;
}
.demo-notice svg {
  width: 14px;
  height: 14px;
}
.notice-dot {
  width: 5px;
  height: 5px;
  background: #b99e6a;
}
.notice-separator {
  margin: 0 3px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 12px;
}
.heading-dot {
  color: #8daa6c;
}
.page-heading p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 11px;
}
.button {
  border-radius: 8px;
  padding: 12px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  min-height: 44px;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
}
.button svg {
  width: 16px;
  height: 16px;
}
.button.secondary {
  background: var(--surface);
  border-color: var(--border);
}
.button.secondary:hover {
  border-color: #9cab92;
}
.button.primary {
  background: #234e3f;
  color: #fff;
}
.button.primary:hover {
  background: #32634f;
}
.day-banner {
  position: relative;
  background: #1f493d;
  border-radius: 15px;
  color: #f4f9ec;
  padding: 30px 34px;
  min-height: 237px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
}
.day-banner:after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -90px;
  top: -260px;
  width: 600px;
  height: 600px;
  border: 1px solid #ffffff0c;
  border-radius: 50%;
  box-shadow:
    0 0 0 65px #ffffff03,
    0 0 0 130px #ffffff03;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  letter-spacing: 1.4px;
  font-weight: 600;
  color: #c0d2b8;
  margin-bottom: 16px;
}
.pill svg {
  width: 13px;
  height: 13px;
}
.day-banner h2 {
  font-size: 30px;
  font-weight: 450;
  line-height: 1.2;
  letter-spacing: -1px;
}
.day-banner p {
  font-size: 10px;
  color: #b9ccbf;
  margin-top: 16px;
}
.progress-orbit {
  height: 146px;
  width: 146px;
  border-radius: 50%;
  background: conic-gradient(#c0d996 var(--progress), #ffffff18 0);
  padding: 6px;
  margin-right: 40px;
  transform: rotate(-90deg);
}
.progress-orbit > div {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #234d40;
  transform: rotate(90deg);
}
.progress-orbit strong {
  font-size: 38px;
  font-weight: 450;
  letter-spacing: -2px;
}
.progress-orbit small {
  font-size: 17px;
  margin-left: 3px;
}
.progress-orbit span {
  font-size: 9px;
  color: #bbceb9;
  margin-top: -2px;
}
.banner-caption {
  position: absolute;
  right: 45px;
  bottom: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  width: 170px;
  font-size: 9px;
  gap: 3px;
  color: #c1d1ba;
}
.banner-caption span + span {
  font-size: 8px;
  color: #8eac99;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin: 22px 0 33px;
}
.stats > button {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 18px 21px;
  text-align: left;
  position: relative;
  min-height: 116px;
  transition: transform 0.15s;
}
.stats > button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.stats span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.stats strong {
  display: block;
  font-size: 30px;
  font-weight: 550;
  margin: 2px 0 7px;
  line-height: 1.3;
}
.stats small {
  font-size: 9px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.stats small svg {
  height: 12px;
  width: 12px;
}
.stats .overdue-stat strong {
  color: var(--orange);
}
.home-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(250px, 1fr);
  gap: 28px;
}
.task-section {
  margin-bottom: 32px;
}
.section-heading {
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
}
.section-heading h2 {
  font-size: 16px;
}
.section-heading h2 span,
.detail-section h2 span {
  font-size: 10px;
  background: var(--border);
  border-radius: 5px;
  padding: 2px 6px;
  margin-left: 5px;
  vertical-align: middle;
  color: var(--muted);
}
.section-heading p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.task-list {
  display: grid;
  gap: 10px;
}
.task-card {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 13px;
  padding: 18px 17px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.task-card:hover {
  border-color: #a1b394;
  box-shadow: var(--shadow);
}
.task-symbol {
  width: 35px;
  height: 35px;
  background: #edf0e7;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c8153;
  flex-shrink: 0;
}
.accessorystaining {
  color: #b18055;
  background: #f4eadc;
}
.sampledelivery {
  color: #7282a1;
  background: #eaf0f6;
}
.sitevisit {
  color: #947d9c;
  background: #f1eaf3;
}
.flooringcheck {
  color: #bc7754;
  background: #f8eee4;
}
.task-symbol svg {
  height: 17px;
  width: 17px;
}
.task-copy {
  min-width: 0;
  flex: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 0.2px;
}
.priority {
  text-transform: uppercase;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 2px 5px;
  border-radius: 3px;
}
.priority.high {
  color: #98643c;
  background: #f6eddf;
}
.priority.urgent {
  color: #a34f37;
  background: #f8e8e2;
}
.task-card h3 {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}
.task-card p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 5px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.card-tags {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  margin-top: 12px;
  color: var(--muted);
  font-size: 8px;
}
.card-tags span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.card-tags svg {
  width: 11px;
  height: 11px;
}
.danger {
  color: var(--red) !important;
}
.card-arrow {
  align-self: center;
  color: #92a18e;
  flex-shrink: 0;
}
.card-arrow svg {
  width: 15px;
  height: 15px;
}
.task-card.late {
  border-left: 3px solid #cc9578;
}
.up-next .task-card {
  padding: 16px 14px;
  gap: 10px;
}
.up-next .task-symbol {
  width: 28px;
  height: 28px;
}
.up-next .task-card h3 {
  font-size: 11px;
}
.up-next .task-card p {
  font-size: 9px;
}
.up-next .card-tags {
  font-size: 8px;
  gap: 7px;
}
.quiet-note {
  background: var(--mint);
  padding: 23px;
  border-radius: 11px;
  color: var(--green);
}
.quiet-note > svg {
  width: 25px;
  height: 25px;
  margin-bottom: 15px;
}
.quiet-note h3 {
  font-size: 13px;
}
.quiet-note p {
  font-size: 10px;
  line-height: 1.8;
  margin-top: 7px;
  opacity: 0.75;
}
.page-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  font-size: 9px;
  color: var(--muted);
}
.page-footer span:first-child {
  font-size: 8px;
  letter-spacing: 1.4px;
}
.bottom-nav {
  display: none;
}
.tools {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
}
.search svg {
  position: absolute;
  left: 15px;
  color: var(--muted);
  height: 17px;
  width: 17px;
}
.search input {
  padding-left: 42px;
  width: 100%;
}
input:not([type='checkbox']),
select,
textarea {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  padding: 12px 13px;
  min-height: 46px;
  font-size: 12px;
  max-width: 100%;
}
.category-label select {
  width: 190px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.filters button {
  font-size: 11px;
  padding: 8px 12px;
  border-radius: 7px;
  min-height: 40px;
  color: var(--muted);
  border: 1px solid transparent;
}
.filters button.selected {
  color: var(--green);
  background: var(--mint);
  border-color: #9bad8e55;
}
.filters span {
  font-size: 9px;
  padding: 2px 5px;
  margin-left: 5px;
  background: var(--surface);
  border-radius: 4px;
}
.results-line {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  margin: 20px 0 15px;
}
.full-list {
  max-width: 950px;
}
.full-list .task-card {
  padding: 22px;
}
.full-list .task-card h3 {
  font-size: 15px;
}
.full-list .task-card p {
  font-size: 12px;
}
.full-list .card-meta {
  font-size: 10px;
}
.full-list .card-tags {
  font-size: 10px;
}
.empty {
  background: var(--surface);
  border: 1px dashed var(--border);
  padding: 35px;
  border-radius: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.empty svg {
  color: #8eac73;
  margin-bottom: 8px;
}
.empty h2 {
  margin-bottom: 8px;
}
.timeline {
  margin-top: 15px;
}
.timeline > button {
  display: flex;
  text-align: left;
  width: 100%;
  padding: 20px 0;
  gap: 14px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8fa87b;
  margin-top: 7px;
}
.timeline strong {
  font-size: 12px;
}
.timeline p {
  font-size: 11px;
  margin: 4px 0;
  color: var(--muted);
}
.timeline time {
  font-size: 9px;
  color: var(--muted);
}
.timeline svg {
  margin-left: auto;
  width: 15px;
}
.modal-open {
  overflow: hidden;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #0b251c66;
  backdrop-filter: blur(3px);
  z-index: 20;
  display: flex;
  justify-content: flex-end;
}
.detail-panel {
  width: 570px;
  max-width: 100%;
  height: 100%;
  background: var(--surface);
  box-shadow: -20px 0 70px #0002;
  display: flex;
  flex-direction: column;
  outline: none;
}
.detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
}
.detail-top .eyebrow {
  margin: 0;
}
.detail-scroll {
  overflow-y: auto;
  flex: 1;
  padding: 26px 30px 40px;
}
.detail-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.category-chip,
.status-chip {
  font-size: 10px;
  color: var(--muted);
  background: var(--bg);
  padding: 5px 8px;
  border-radius: 5px;
}
.status-chip {
  background: var(--mint);
  color: var(--green);
}
.detail-panel h1 {
  font-size: 27px;
  letter-spacing: -0.8px;
  line-height: 1.25;
}
.detail-description {
  margin-top: 15px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  white-space: pre-wrap;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
  margin: 25px 0;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.detail-grid .wide {
  grid-column: 1/-1;
}
.detail-grid dt {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 5px;
}
.detail-grid dd {
  font-size: 12px;
  font-weight: 550;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.detail-section {
  margin: 24px 0;
}
.detail-section h2,
.instruction-box h2,
.reschedule-box h2 {
  font-size: 14px;
  margin-bottom: 12px;
}
.checklist {
  display: grid;
  gap: 7px;
}
.check-row {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  min-height: 48px;
  font-size: 12px;
}
.check-row input {
  height: 18px;
  width: 18px;
  flex-shrink: 0;
  margin: 1px 0;
  accent-color: #3f7551;
}
.check-row.checked {
  background: var(--bg);
  color: var(--muted);
}
.check-row.checked span {
  text-decoration: line-through;
}
.instruction-box {
  display: flex;
  gap: 13px;
  padding: 18px;
  border-radius: 9px;
  background: var(--mint);
  font-size: 12px;
  color: var(--green);
}
.instruction-box > svg {
  width: 20px;
}
.instruction-box p {
  line-height: 1.8;
  white-space: pre-wrap;
}
.detail-section figure {
  margin: 0;
}
.detail-section img {
  border-radius: 9px;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.detail-section figcaption {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.task-history {
  list-style: none;
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 1px solid var(--border);
}
.task-history li {
  padding: 0 0 15px 7px;
}
.task-history p {
  font-size: 11px;
  white-space: pre-wrap;
}
.task-history time {
  font-size: 9px;
  color: var(--muted);
}
.detail-actions {
  display: flex;
  gap: 10px;
  padding: 18px 28px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.detail-actions .button {
  flex: 1;
}
.reschedule-box {
  background: var(--bg);
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.reschedule-box p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 15px;
}
.reschedule-box label,
.add-panel label {
  display: grid;
  gap: 7px;
  font-size: 11px;
  margin-bottom: 15px;
  font-weight: 550;
}
.reschedule-box label span,
.add-panel label span {
  font-weight: 400;
  color: var(--muted);
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}
.add-panel {
  width: 520px;
  background: var(--surface);
  overflow: auto;
  outline: none;
}
.add-panel form {
  padding: 25px 30px;
}
.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.add-panel form > .button {
  width: 100%;
  margin-top: 10px;
}
.add-panel h2 {
  font-size: 16px;
}
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #244b3d;
  color: #fff;
  padding: 14px 23px;
  border-radius: 10px;
  box-shadow: 0 10px 40px #0003;
  font-size: 12px;
  z-index: 50;
  max-width: 90%;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.recovery {
  max-width: 650px;
  margin: 70px auto;
}
.recovery p {
  margin-top: 20px;
}
.recovery button {
  background: var(--mint);
  padding: 14px;
  margin-top: 20px;
}
@media (min-width: 1500px) {
  main {
    padding-top: 30px;
  }
  .day-banner {
    min-height: 260px;
  }
  .task-card h3 {
    font-size: 14px;
  }
  .task-card p {
    font-size: 12px;
  }
  .card-tags {
    font-size: 10px;
  }
  .card-meta {
    font-size: 10px;
  }
  .home-columns {
    gap: 35px;
  }
  .up-next .task-card h3 {
    font-size: 13px;
  }
  .up-next .task-card p {
    font-size: 11px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 195px;
    padding: 30px 18px 0;
  }
  .workspace {
    margin-left: 195px;
  }
  .topbar {
    padding: 0 27px;
  }
  main {
    padding-left: 27px;
    padding-right: 27px;
  }
  .profile {
    margin: 0 -18px;
    padding: 20px 18px;
  }
  .home-columns {
    grid-template-columns: 1fr;
  }
  .up-next {
    display: none;
  }
  .day-banner {
    padding: 28px;
  }
  .progress-orbit {
    margin-right: 15px;
  }
  .banner-caption {
    right: 22px;
  }
  .stats {
    gap: 12px;
  }
  .stats > button {
    padding: 16px;
  }
  .brand {
    margin-bottom: 42px;
  }
}
@media (max-width: 700px) {
  h1 {
    font-size: 29px;
  }
  .sidebar {
    display: none;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 72px;
    padding: 0 20px;
  }
  .breadcrumb,
  .top-date,
  .topbar-right > .avatar {
    display: none;
  }
  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 27px;
    font-weight: 650;
    letter-spacing: -1px;
  }
  .mobile-brand img {
    height: 30px;
    width: 30px;
  }
  .mobile-brand > span {
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 5px 0 0 1px;
    font-weight: 500;
  }
  .topbar-right {
    gap: 0;
  }
  main {
    padding: 14px 20px 85px;
  }
  .demo-notice {
    font-size: 9px;
    line-height: 1.6;
    margin-bottom: 24px;
    gap: 5px;
  }
  .demo-notice .notice-separator {
    display: none;
  }
  .demo-notice > button {
    padding-right: 0;
  }
  .page-heading {
    margin-bottom: 23px;
    align-items: flex-start;
    gap: 10px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
    margin-bottom: 10px;
  }
  .page-heading p {
    font-size: 11px;
    max-width: 240px;
    line-height: 1.7;
    margin-top: 9px;
  }
  .page-heading > .button {
    padding: 10px;
    width: 40px;
    min-width: 40px;
    font-size: 0;
    gap: 0;
    margin-top: 25px;
  }
  .page-heading > .button svg {
    height: 19px;
    width: 19px;
  }
  .day-banner {
    border-radius: 13px;
    padding: 25px 23px;
    min-height: 217px;
    align-items: center;
  }
  .day-banner h2 {
    font-size: 25px;
  }
  .pill {
    font-size: 6px;
    letter-spacing: 1px;
    margin-bottom: 13px;
  }
  .pill svg {
    width: 11px;
  }
  .day-banner p {
    font-size: 9px;
    max-width: 155px;
    margin-top: 17px;
  }
  .progress-orbit {
    width: 104px;
    height: 104px;
    padding: 5px;
    margin: 0 0 12px 10px;
    flex-shrink: 0;
  }
  .progress-orbit strong {
    font-size: 28px;
  }
  .progress-orbit small {
    font-size: 13px;
  }
  .progress-orbit span {
    font-size: 7px;
  }
  .banner-caption {
    width: 120px;
    right: 15px;
    bottom: 25px;
    font-size: 8px;
  }
  .banner-caption span + span {
    display: none;
  }
  .stats {
    gap: 9px;
    margin: 16px 0 27px;
  }
  .stats > button {
    padding: 13px 11px;
    min-height: 104px;
    border-radius: 9px;
  }
  .stats span {
    font-size: 9px;
  }
  .stats strong {
    font-size: 27px;
    margin-top: 6px;
  }
  .stats small {
    font-size: 7px;
    gap: 3px;
  }
  .stats small svg {
    height: 9px;
    width: 9px;
  }
  .task-card {
    padding: 17px 13px;
    gap: 11px;
  }
  .task-card h3 {
    font-size: 13px;
  }
  .task-card p {
    font-size: 11px;
    line-height: 1.7;
  }
  .card-meta {
    font-size: 9px;
  }
  .card-tags {
    font-size: 9px;
    gap: 9px;
  }
  .card-arrow {
    display: none;
  }
  .task-symbol {
    height: 32px;
    width: 32px;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .section-heading p {
    font-size: 10px;
  }
  .task-section {
    margin-bottom: 26px;
  }
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    justify-content: space-around;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    z-index: 10;
  }
  .bottom-nav .nav-link {
    flex-direction: column;
    gap: 4px;
    padding: 5px 25px;
    border-radius: 8px;
    font-size: 9px;
    min-height: 48px;
  }
  .bottom-nav .nav-link svg {
    height: 20px;
    width: 20px;
  }
  .bottom-nav .nav-count {
    display: none;
  }
  .page-footer {
    font-size: 8px;
    line-height: 1.6;
  }
  .page-footer span:first-child {
    font-size: 7px;
  }
  .tools {
    flex-direction: column;
    gap: 10px;
  }
  .category-label select {
    width: 100%;
    font-size: 12px;
  }
  .search input {
    font-size: 12px;
    padding-left: 40px;
  }
  .filters {
    gap: 5px;
  }
  .filters button {
    font-size: 10px;
    padding: 7px 8px;
  }
  .filters span {
    font-size: 8px;
    margin-left: 2px;
  }
  .results-line {
    font-size: 9px;
  }
  .results-line span {
    font-size: 8px;
  }
  .full-list .task-card {
    padding: 18px 13px;
  }
  .full-list .task-card h3 {
    font-size: 13px;
  }
  .full-list .task-card p {
    font-size: 11px;
  }
  .full-list .card-meta,
  .full-list .card-tags {
    font-size: 9px;
  }
  .detail-top {
    padding: 13px 20px;
  }
  .detail-scroll {
    padding: 23px 22px 30px;
  }
  .detail-panel h1 {
    font-size: 26px;
  }
  .detail-actions {
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  }
  .detail-grid {
    gap: 18px 13px;
  }
  .detail-grid dd {
    font-size: 12px;
  }
  .detail-description {
    font-size: 13px;
  }
  .detail-section h2 {
    font-size: 15px;
  }
  .check-row {
    font-size: 12px;
    padding: 13px 11px;
  }
  .add-panel {
    width: 100%;
  }
  .add-panel form {
    padding: 23px;
  }
  .form-two {
    gap: 12px;
  }
  input:not([type='checkbox']),
  select,
  textarea {
    font-size: 16px;
  }
  .search input {
    font-size: 16px;
  }
  .category-label select {
    font-size: 16px;
  }
  #toast {
    bottom: 90px;
    width: max-content;
    max-width: calc(100% - 35px);
    font-size: 12px;
  }
  .detail-panel #toast {
    bottom: 100px;
  }
  .timeline p {
    font-size: 12px;
  }
  .timeline strong {
    font-size: 13px;
  }
}
.import-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
}
.import-button:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Keep intrinsic grid/flex sizes from widening iPhone dialogs and task cards. */
.shell, .workspace, main, .setup-content, .setup-content > *,
.detail-panel, .add-panel, .detail-scroll, .detail-top > *, .task-copy {
  min-width: 0;
  max-width: 100%;
}
.setup-content { grid-template-columns: minmax(0, 1fr); }
.setup-content details, .setup-content form, .setup-content label,
.setup-content input, .setup-content textarea { min-width: 0; max-width: 100%; }
.setup-content p, .setup-content summary, .auth-status, .detail-top h2,
.demo-notice, .detail-grid dd, .task-copy { overflow-wrap: anywhere; }
.form-actions { flex-wrap: wrap; }
.setup-content .form-actions { justify-content: stretch; }
.setup-content .form-actions > .button { flex: 1 1 145px; white-space: normal; }
.setup-content > .button, .setup-content form > .button { white-space: normal; }
.add-panel, .detail-panel { flex-shrink: 1; }
.auth-status { padding: 12px; border: 1px solid var(--border); border-radius: 8px; }
.auth-status p { margin: 8px 0 0; }
@media (max-width: 600px) {
  .setup-content { padding: 18px 20px calc(24px + env(safe-area-inset-bottom)); }
  .setup-content form { padding: 0; }
  .setup-content .form-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .setup-content .button { width: 100%; min-height: 44px; }
  .detail-top h2 { flex: 1; }
  .detail-top .icon-button { flex-shrink: 0; }
  .form-two { grid-template-columns: minmax(0, 1fr); }
  .demo-notice { flex-wrap: wrap; }
}
