/* Marketing app preview rules copied from index.html, using the app's Light theme. */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }
.appmock, .appui {
  /* The app's Light theme (html.light in src/styles/tokens.css), to match this page */
  --am-bg:#F9F9FF; --am-low:#F2F2F9; --am-con:#ECECF4; --am-high:#E6E6EE; --am-hst:#E1E1E8;
  --am-pri:#2A5DAD; --am-onpri:#FFFFFF; --am-pcon:#D6E3FF; --am-onpcon:#001B3D; --am-on:#1A1B1F; --am-var:#43474E; --am-out:#61656C; --am-ovar:#C3C7CF;
  --am-inv:#2E3038; --am-oninv:#F1F0F7; --am-errc:#FFDAD6; --am-onerrc:#410002;
  --am-hi:#dc2626; --am-lo:#3a7d5e;
  --am-shadow: 0 2px 8px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  background: var(--am-bg); color: var(--am-on); overflow: hidden;
  font-family: 'Figtree', system-ui, sans-serif; font-size: 14px; line-height: 1.4; text-align: left;
}
.appmock {
  --am-w: 880;
  width: calc(var(--am-w) * 1px); zoom: var(--am-z, .8); border-radius: 14px;
  box-shadow: 0 30px 60px -30px rgba(24, 41, 68, .45), 0 0 0 1px rgba(24, 41, 68, .10);
}
.am-ic { font-family: 'Material Symbols Rounded'; font-size: 20px; line-height: 1; font-feature-settings: 'liga'; font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; color: var(--am-var); display: inline-block; }
.am-top { height: 48px; background: var(--am-low); display: flex; align-items: center; gap: 8px; padding: 0 12px; }
.am-logo { display: flex; align-items: center; gap: 6px; font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; font-weight: 600; letter-spacing: -.3px; color: var(--am-pri); }
.am-logo svg { width: 20px; height: 20px; }
.am-top .am-ic { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; }
.am-top .dim { opacity: .55; }
.am-sp { flex: 1; }
.am-panels { display: flex; gap: 8px; padding: 8px; height: 540px; }
.appmock .am-notes { display: none; }
.am-panel { position: relative; width: 272px; flex-shrink: 0; background: var(--am-low); border-radius: 16px; box-shadow: var(--am-shadow); display: flex; flex-direction: column; overflow: hidden; }
.am-head { padding: 14px 14px 10px; display: flex; align-items: center; justify-content: space-between; }
.am-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 24px; font-weight: 600; line-height: 1.1; color: var(--am-on); }
.am-tools { display: flex; gap: 4px; }
.am-tools .am-ic { width: 28px; height: 28px; display: grid; place-items: center; font-size: 19px; }
.am-list { display: flex; flex-direction: column; gap: 6px; padding: 2px 10px 10px; }
.am-card { background: var(--am-con); border-radius: 16px; padding: 12px 14px; border: 1.5px solid transparent; }
.am-card.sel { background: var(--am-high); border-color: color-mix(in srgb, var(--am-pri) 50%, transparent); padding-block: 15px; }
.am-ct { font-size: 14px; font-weight: 500; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-cp { font-size: 12px; line-height: 1.5; color: var(--am-var); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 7px; }
.am-cm { font-size: 11px; color: var(--am-out); }
.am-fab { position: absolute; right: 12px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--am-pcon); display: grid; place-items: center; box-shadow: var(--am-shadow); }
.am-fab .am-ic { color: var(--am-onpcon); font-size: 22px; }
.am-detail { flex: 1; min-width: 0; background: var(--am-bg); overflow: hidden; }
.am-note { max-width: 640px; margin: 0 auto; padding: 36px 28px; display: flex; flex-direction: column; gap: 10px; }
.am-h1 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 34px; font-weight: 500; line-height: 1.2; margin-bottom: 8px; color: var(--am-on); }
.am-bubble { background: var(--am-con); border-radius: 14px; padding: 16px 18px; font-size: 16px; line-height: 1.75; }
.am-bubble p { margin: 0 0 10px; }
.am-outline { display: grid; gap: 5px; margin-bottom: 10px; padding: 11px 14px; background: var(--am-low); border: 1px solid var(--am-ovar); border-radius: 10px; font-size: .9em; line-height: 1.3; }
.am-outline div { display: flex; gap: 12px; }
.am-outline b { min-width: 62px; color: var(--am-pri); }
.am-create-task { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 45px; padding: 9px 12px; border: 1px solid var(--am-ovar); border-radius: 12px; background: var(--am-bg); color: var(--am-pri); font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.am-create-task:hover { background: var(--am-pcon); border-color: var(--am-pri); }
.am-create-task .am-ic { color: var(--am-pri); }
.am-create-task kbd { margin-left: auto; padding: 2px 6px; border: 1px solid var(--am-ovar); border-radius: 5px; color: var(--am-var); font: 11px/1.3 var(--mono); }
.appmock.task-created .am-embed, .appmock.task-created .am-task.twin { animation: amTaskArrive .5s var(--ease-out) both; }
@keyframes amTaskArrive { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.am-embed { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: color-mix(in srgb, var(--am-pri) 6%, transparent); color: inherit; font: inherit; font-size: 15px; font-weight: 500; text-align: left; cursor: pointer; transition: background-color .35s ease, box-shadow .35s ease; }
.appmock.task-created .am-create-task, .appmock:not(.task-created) .am-embed, .appmock:not(.task-created) .am-task.twin { display: none; }
.am-et { flex: 1; }
.am-synced { background: var(--am-con); border-radius: 12px; padding: 12px 16px 14px; box-shadow: 0 1px 4px -1px color-mix(in srgb, var(--am-on) 14%, transparent); font-size: 15px; line-height: 1.6; }
.am-synced p { margin: 0; }
.am-sl { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--am-pri); margin-bottom: 4px; }
.am-sl .am-ic { font-size: 16px; color: var(--am-pri); }
.am-task { background: var(--am-con); border-radius: 16px; padding: 10px 14px; display: flex; align-items: flex-start; gap: 10px; border: 1.5px solid transparent; transition: background-color .35s ease, border-color .35s ease; }
button.am-task.twin { width: 100%; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.am-task-body { display: block; }
.am-create-task:focus-visible, .am-embed:focus-visible, .am-task.twin:focus-visible { outline: 2px solid var(--am-pri); outline-offset: 2px; }
.am-cb { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--am-out); flex-shrink: 0; margin-top: 1px; display: grid; place-items: center; transition: background-color .25s ease, border-color .25s ease, opacity .25s ease, transform .2s var(--ease-out); }
.am-cb .am-ic { font-size: 13px; color: var(--am-bg); opacity: 0; transition: opacity .2s ease; }
.am-task.done .am-cb, .am-embed.done .am-cb { background: var(--am-pri); border-color: var(--am-pri); opacity: .7; }
.am-task.done .am-cb .am-ic, .am-embed.done .am-cb .am-ic { opacity: 1; }
.am-embed.press .am-cb { transform: scale(.82); }
.am-tt { display: block; font-size: 14px; font-weight: 500; line-height: 1.4; }
.am-tt, .am-et { transition: color .25s ease; }
.am-task.done .am-tt, .am-embed.done .am-et { text-decoration: line-through; color: var(--am-out); }
.am-tm { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 5px; }
.am-pri { display: inline-flex; align-items: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--am-hi); }
.am-pri .am-ic { font-size: 14px; color: var(--am-hi); }
.am-due { font-size: 11px; font-weight: 500; border-radius: 999px; padding: 2px 7px; background: color-mix(in srgb, var(--am-pri) 14%, transparent); color: var(--am-pri); }
.am-sub { display: inline-flex; align-items: center; gap: 2px; font-size: 11px; color: var(--am-out); }
.am-sub .am-ic { font-size: 14px; color: var(--am-out); }
.appmock.linking .am-embed { background: color-mix(in srgb, var(--am-pri) 16%, transparent); }
.appmock.linking .am-task.twin { border-color: color-mix(in srgb, var(--am-pri) 50%, transparent); background: var(--am-high); }
/* Product slices use the same Light-theme geometry as the homepage previews. */
.appui { border-radius: 14px; box-shadow: 0 18px 40px -26px rgba(24, 41, 68, .5), 0 0 0 1px rgba(24, 41, 68, .08); }
.use-case-note-preview .am-note { max-width: none; padding: 30px; }
.use-case-note-preview .am-bubble ul { margin: 2px 0 14px; padding-left: 24px; }
.use-case-note-preview .am-bubble li { margin-block: 2px; }
.ui-callout { border-radius: 8px; background: color-mix(in srgb, var(--am-pri) 8%, transparent); }
.ui-callout-h { display: flex; align-items: center; gap: 8px; padding: 8px 14px 0; font-size: 14px; font-weight: 600; color: var(--am-pri); }
.ui-callout-h .am-ic { color: var(--am-pri); font-size: 18px; }
.use-case-note-preview .am-bubble .ui-callout-b { margin: 0 14px; padding: 6px 0 10px; font-size: 14px; line-height: 1.6; }

.ui-taskdet { display: grid; gap: 18px; padding: 20px 26px 24px; }
.ui-td-bar { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin: -6px -10px -8px 0; }
.ui-td-bar .am-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font-size: 18px; }
.ui-td-bar .out { margin-right: auto; color: var(--am-out); opacity: .7; font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.ui-td-bar .bg { background: var(--am-low); }
.ui-td-head { display: flex; align-items: flex-start; gap: 16px; }
.ui-bigcheck { flex: none; width: 26px; height: 26px; margin-top: 5px; border: 2.5px solid var(--am-out); border-radius: 50%; }
.ui-td-title { font: 500 28px/1.3 'Bricolage Grotesque', sans-serif; letter-spacing: normal; text-wrap: auto; }
.ui-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ui-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; background: var(--am-low); color: var(--am-var); font-size: 12px; font-weight: 500; white-space: nowrap; }
.ui-chip .am-ic { color: inherit; font-size: 14px; font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20; }
.ui-chip.high { background: color-mix(in srgb, var(--am-hi) 10%, transparent); color: color-mix(in srgb, var(--am-hi) 78%, #000); }
.ui-sub-h { display: flex; align-items: center; gap: 8px; color: var(--am-var); font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.subtask-count { letter-spacing: 0; text-transform: none; }
.ui-sub-h .acts { display: flex; gap: 2px; margin-left: auto; padding: 2px; border-radius: 8px; background: var(--am-con); }
.ui-sub-h .acts .am-ic { display: grid; place-items: center; width: 26px; height: 26px; font-size: 16px; }
.ui-subs { display: grid; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; }
.ui-srow { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; background: var(--am-low); font-size: 14px; line-height: 1.5; }
.ui-srow .am-cb { width: 16px; height: 16px; border-width: 1.5px; margin: 0; }
.ui-srow.done .am-cb { border-color: var(--am-pri); background: var(--am-pri); }
.ui-srow.done .am-cb .am-ic { color: var(--am-onpri); opacity: 1; font-size: 12px; }
.ui-srow.done > span:last-child { color: var(--am-var); text-decoration: line-through; }
.ui-notes-l { margin-bottom: 8px; color: var(--am-var); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ui-notes { padding: 12px 14px; border-radius: 16px; background: var(--am-low); font-size: 14px; line-height: 1.7; }

.use-case-week-preview { width: 100%; padding-bottom: 10px; background: var(--am-low); }
.ui-panel-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 10px; }
.ui-panel-h b { font: 600 24px/1.1 'Bricolage Grotesque', sans-serif; }
.ui-panel-h .tools { display: flex; gap: 4px; }
.ui-panel-h .tools .am-ic { display: grid; place-items: center; width: 28px; height: 28px; font-size: 19px; }
.ui-toggle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 0 14px 10px; padding: 2px; border-radius: 16px; background: color-mix(in srgb, var(--am-on) 6%, transparent); }
.ui-toggle > span { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 28px; border-radius: 12px; color: var(--am-out); font-size: 13px; font-weight: 500; }
.ui-toggle .am-ic { color: inherit; font-size: 17px; }
.ui-toggle .selected { background: color-mix(in srgb, var(--am-pri) 16%, transparent); color: var(--am-pri); }
.ui-views { min-height: 290px; padding: 0 10px; }
.ui-week-nav { display: flex; align-items: center; gap: 8px; padding: 2px 4px 8px; }
.ui-week-nav b { flex: 1; font-size: 15px; font-weight: 600; }
.ui-week-nav .today { color: var(--am-pri); font-size: 12px; font-weight: 600; }
.ui-week-nav .am-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 20px; }
.ui-day { padding-bottom: 6px; border-bottom: 1px solid color-mix(in srgb, var(--am-ovar) 30%, transparent); }
.ui-day.today { border-radius: 10px; background: color-mix(in srgb, var(--am-pri) 5%, transparent); }
.ui-day-h { display: flex; align-items: baseline; gap: 8px; padding: 10px 12px 4px; }
.ui-day-h small { color: var(--am-out); font-size: 12px; font-weight: 500; text-transform: uppercase; }
.ui-day-h b { font-size: 20px; font-weight: 700; }
.ui-day.today .ui-day-h small, .ui-day.today .ui-day-h b { color: var(--am-pri); }
.ui-wtask { display: flex; align-items: flex-start; gap: 10px; margin: 0 4px 4px; padding: 8px 10px; border-radius: 12px; background: var(--am-con); font-size: 13px; font-weight: 500; }
.ui-wtask .am-cb { width: 16px; height: 16px; margin-top: 1px; border-width: 1.5px; }
.ui-wtask small { display: block; margin-top: 2px; color: var(--am-out); font-size: 11px; }

@media (max-width: 640px) {
  .appmock { --am-w: 470; }
  .am-panels { flex-direction: column; height: auto; }
  .am-panels .am-tasks { width: auto; }
  .am-note { padding: 22px 18px 16px; }
  .am-h1 { font-size: 30px; }
  .am-tasks .am-task:nth-child(n+4), .am-tasks .am-fab { display: none; }
  .use-case-note-preview .am-note { padding: 22px 18px; }
  .ui-taskdet { padding: 16px 16px 20px; }
  .ui-td-title { font-size: 24px; }
  .ui-toggle > span { font-size: 0; }
  .ui-toggle .am-ic { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .appmock.task-created .am-embed, .appmock.task-created .am-task.twin { animation: none; }
}
