@import url("/assets/fonts/fonts.css");
:root {
  --paper: #f7f8f4;
  --white: #fff;
  --ink: #262d28;
  --muted: #647056;
  --line: #e3e7dd;
  --lime: #dffa98;
  --purple: #7962aa;
  --lavender: #eee9f6;
  --font: "DM Sans", sans-serif;
  --heading: "Manrope", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 14px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  background: none;
  border: 0;
}
input,
select,
textarea {
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--heading);
  font-weight: 600;
  letter-spacing: -0.04em;
}
h1 {
  font-size: 36px;
  line-height: 1.2;
}
h2 {
  font-size: 24px;
  line-height: 1.3;
}
h3 {
  font-size: 18px;
}
p {
  color: var(--muted);
}
em {
  font-family: Georgia, serif;
  font-weight: 400;
}
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #9980c5;
  outline-offset: 3px;
}
::selection {
  background: var(--lime);
}
[hidden] {
  display: none !important;
}
.logo {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  width: max-content;
}
.logo img:first-child {
  width: 32px;
  height: 30px;
  object-fit: contain;
}
.logo img:last-child {
  width: 122px;
  object-fit: contain;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 13px;
  transition:
    background 0.15s,
    transform 0.15s;
  line-height: 1.35;
}
.btn .icon {
  width: 17px;
  height: 17px;
}
.btn:hover {
  transform: translateY(-1px);
}
.primary {
  background: var(--lime);
  color: #2b3423;
}
.primary:hover {
  background: #d0ed82;
}
.dark {
  background: var(--ink);
  color: white;
}
.dark:hover {
  background: #3b463d;
}
.secondary {
  background: #fff;
  border-color: var(--line);
}
.secondary:hover {
  background: #f0f2eb;
}
.wide {
  width: 100%;
}
.compact {
  min-height: 35px;
  padding: 7px 12px;
}
.icon-btn {
  width: 34px;
  height: 34px;
  padding: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}
.icon-btn:hover {
  background: #e8ece2;
}
.icon-btn .icon {
  width: 18px;
  height: 18px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.subtle {
  color: var(--muted);
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}
.subtle .icon {
  width: 16px;
  height: 16px;
}
.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}
.text-link .icon {
  width: 16px;
  height: 16px;
}
.text-link:hover {
  text-decoration: underline;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 21px 0 0;
  font-size: 12px;
  font-weight: 600;
}
.field > span:first-child {
  display: flex;
  justify-content: space-between;
}
.field a {
  color: var(--purple);
}
.field input:not([type="color"]),
.field select,
.field textarea {
  border: 1px solid #dce0d6;
  border-radius: 7px;
  background: var(--white);
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 400;
  outline-offset: 2px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #647056;
}
.field textarea {
  resize: vertical;
  min-height: 80px;
}
.field input[type="color"] {
  width: 68px;
  height: 42px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.field-hint {
  font-size: 11px;
  margin-top: 8px;
}
.password-field {
  position: relative;
  display: block;
}
.password-field input {
  padding-right: 48px !important;
}
.password-field button {
  position: absolute;
  right: 7px;
  top: 5px;
  height: 36px;
  width: 36px;
  color: #647056;
}
.password-field .icon {
  width: 18px;
}
.form-error {
  font-size: 12px;
  background: #fff0ec;
  color: #a4432d;
  border: 1px solid #f2d0c5;
  border-radius: 7px;
  padding: 12px;
  margin-top: 16px;
}
.success-note {
  background: #eff6e4;
  border: 1px solid #dce7cd;
  border-radius: 8px;
  padding: 16px;
  color: #466135;
  margin: 15px 0;
}
.setup-note {
  background: #f1eee6;
  padding: 12px;
  border-radius: 7px;
  color: #73705f;
  font-size: 11px;
  margin: 18px 0;
}
.privacy-note {
  display: flex;
  gap: 13px;
  background: #f0f2e9;
  border: 1px solid #e3e6d9;
  border-radius: 9px;
  padding: 17px;
  margin-top: 26px;
  font-size: 12px;
}
.privacy-note > .icon {
  color: #647056;
  width: 18px;
}
.privacy-note strong {
  display: block;
  font-weight: 600;
  margin-bottom: 3px;
}
.privacy-note span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  display: block;
}
.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 1000;
  background: var(--lime);
  padding: 12px;
}
.skip:focus {
  top: 15px;
}
.boot {
  display: grid;
  min-height: 100vh;
  place-content: center;
  color: var(--muted);
}
/* A welcoming doorway. */
.auth-layout {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fcfcf9;
}
.auth-main {
  display: flex;
  flex-direction: column;
  padding: 38px 45px 24px;
  min-height: 100dvh;
}
.auth-main header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.auth-form-wrap {
  width: 100%;
  max-width: 365px;
  margin: auto;
  padding: 65px 0;
}
.auth-form-wrap h1 {
  font-size: 39px;
  line-height: 1.16;
  margin: 17px 0 16px;
  letter-spacing: -0.055em;
}
.auth-intro {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 26px;
}
.auth-form-wrap .btn {
  min-height: 47px;
}
.auth-form-wrap form > .btn {
  margin-top: 25px;
}
.auth-form-wrap .setup-note + .btn {
  margin-top: 0;
}
.auth-switch {
  font-size: 12px;
  text-align: center;
  margin-top: 21px;
}
.auth-switch a {
  color: var(--ink);
  font-weight: 600;
}
.divider {
  height: 1px;
  background: var(--line);
  position: relative;
  margin: 30px 0;
}
.divider span {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  padding: 0 15px;
  background: #fcfcf9;
  color: #647056;
  font-size: 10px;
}
.demo-hint {
  font-size: 10px;
  text-align: center;
  margin-top: 12px;
}
.auth-footer {
  display: flex;
  align-items: center;
  font-size: 10px;
  color: #647056;
  gap: 6px;
}
.auth-footer .icon {
  width: 13px;
  height: 13px;
}
.auth-footer > span {
  margin-left: auto;
  font-size: 9px;
}
.auth-art {
  background: #e5edcf;
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 78px 65px 30px;
  display: flex;
  flex-direction: column;
}
.auth-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#a4b08c 0.6px, transparent 0.6px);
  background-size: 14px 14px;
  opacity: 0.25;
  pointer-events: none;
}
.auth-art > * {
  position: relative;
}
.auth-art > .eyebrow {
  font-size: 9px;
  color: #647056;
}
.auth-art h2 {
  font-size: clamp(42px, 4.8vw, 70px);
  line-height: 1.03;
  letter-spacing: -0.06em;
  margin: 32px 0 24px;
}
.auth-art h2 span {
  font-family: Georgia, serif;
  font-style: italic;
  color: #647056;
  font-weight: 400;
}
.auth-art > p {
  font-size: 13px;
  color: #647056;
  line-height: 1.8;
}
.auth-collage {
  position: relative;
  height: 305px;
  min-height: 260px;
  flex: 1;
  max-height: 390px;
  margin-top: 25px;
}
.collage-photo {
  position: absolute;
  background: white;
  padding: 8px;
  box-shadow: 0 10px 35px #53613926;
}
.collage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.collage-photo.one {
  width: 182px;
  height: 230px;
  left: 9%;
  top: 18px;
  transform: rotate(-12deg);
  padding-bottom: 28px;
}
.collage-photo.one span {
  position: absolute;
  bottom: 10px;
  font-size: 7px;
  letter-spacing: 0.1em;
  left: 14px;
}
.collage-note {
  position: absolute;
  right: 0;
  top: 55px;
  background: #c3acd9;
  color: #3e304c;
  width: 195px;
  height: 170px;
  transform: rotate(10deg);
  box-shadow: 0 8px 25px #59613d12;
  padding: 25px 22px;
  font-size: 23px;
  line-height: 1.2;
  font-family: var(--heading);
  font-weight: 600;
  letter-spacing: -0.04em;
}
.collage-note span {
  display: block;
  font-size: 7px;
  letter-spacing: 0.1em;
  margin-top: 26px;
}
.collage-photo.two {
  right: 24%;
  top: 202px;
  width: 95px;
  height: 105px;
  transform: rotate(7deg);
}
.art-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  font-size: 10px;
  color: #647056;
}
.art-foot .icon {
  width: 14px;
}
.art-foot span {
  margin-left: auto;
  font-size: 7px;
  letter-spacing: 0.1em;
}
.mail-illustration {
  padding: 40px;
  text-align: center;
  color: var(--purple);
}
.mail-illustration .icon {
  width: 60px;
  height: 60px;
}
.route-error {
  padding: 40px;
  max-width: 700px;
  margin: auto;
}
/* A thoughtful three-step setup. */
.onboarding {
  min-height: 100dvh;
  background: #fafbf7;
}
.onboarding > header {
  padding: 32px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.onboarding-layout {
  max-width: 1040px;
  margin: 65px auto;
  display: grid;
  grid-template-columns: 370px 1fr;
  gap: 130px;
  padding: 0 35px;
}
.onboarding aside h2 {
  font-size: 28px;
  margin-top: 15px;
  line-height: 1.4;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 43px 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 15px;
  opacity: 0.55;
  font-size: 13px;
  font-weight: 500;
}
.steps li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 10px;
  background: white;
}
.steps li small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
.steps li.current {
  opacity: 1;
}
.steps li.current > span {
  background: var(--ink);
  color: var(--lime);
  border-color: var(--ink);
}
.steps li.complete {
  opacity: 1;
}
.steps li.complete > span {
  background: var(--lime);
  border-color: var(--lime);
}
.steps li .icon {
  width: 15px;
}
.setup-art {
  width: 255px;
  height: 168px;
  transform: rotate(-4deg);
  position: relative;
  border: 8px solid white;
  box-shadow: 0 3px 15px #27372012;
}
.setup-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.setup-art span {
  position: absolute;
  bottom: 14px;
  left: 15px;
  font-size: 7px;
  letter-spacing: 0.15em;
  color: white;
}
.step-meta {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #647056;
  border-bottom: 1px solid var(--line);
  padding-bottom: 17px;
  margin-bottom: 40px;
}
.step-meta span {
  font-size: 8px;
}
.onboarding main h1 {
  margin: 16px 0 20px;
  font-size: 39px;
  line-height: 1.2;
}
.onboarding main form > p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 28px;
}
.onboard-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 35px;
  gap: 15px;
}
.skip-step {
  display: block;
  font-size: 11px;
  text-decoration: underline;
  color: var(--muted);
  margin: 20px 0 0 auto;
}
.brand-preview {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-top: 25px;
  background: white;
}
.brand-preview > span {
  border-radius: 8px;
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
}
.brand-preview small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
  font-size: 11px;
}
/* The creative workspace. */
.app-shell {
  display: flex;
  min-height: 100dvh;
}
.sidebar {
  width: 224px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #f5f6f0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 28px 17px 0;
  z-index: 40;
  overflow: auto;
}
.sidebar > .logo {
  margin-left: 12px;
  margin-bottom: 33px;
}
.sidebar .logo img:first-child {
  width: 28px;
}
.sidebar .logo img:last-child {
  width: 113px;
}
.workspace-switch {
  display: flex;
  align-items: center;
  border: 1px solid #dfe3d7;
  border-radius: 8px;
  background: #fcfcf9;
  padding: 11px 9px;
  gap: 9px;
  text-align: left;
  margin-bottom: 28px;
}
.workspace-avatar {
  background: #e6e2ed;
  width: 31px;
  height: 31px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #647056;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.workspace-switch > span:nth-child(2) {
  font-weight: 600;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace-switch small {
  display: block;
  color: #647056;
  font-weight: 400;
  font-size: 9px;
  margin-top: 2px;
}
.workspace-switch > .icon {
  width: 13px;
  height: 13px;
  margin-left: auto;
}
.nav-caption {
  font-size: 8px;
  letter-spacing: 0.13em;
  font-weight: 600;
  color: #647056;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 12px 11px;
}
.nav-caption .icon-btn {
  width: 20px;
  height: 20px;
  padding: 3px;
}
.nav-caption .icon {
  width: 14px;
  height: 14px;
}
.nav-item {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 11px 12px;
  margin: 3px 0;
  font-size: 12px;
  color: #647056;
  border-radius: 7px;
  min-height: 42px;
}
.nav-item .icon {
  width: 17px;
  height: 17px;
}
.nav-item:hover {
  background: #eaece3;
}
.nav-item.active {
  background: #e9e3f2;
  color: #735897;
  font-weight: 600;
}
.count {
  font-size: 9px;
  background: #fff9;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: auto;
}
.sidebar-brands {
  margin-top: 32px;
}
.brand-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 11px;
  color: #647056;
  text-align: left;
  width: 100%;
  border-radius: 6px;
  overflow-wrap: anywhere;
}
.brand-nav:hover {
  background: #eaece3;
}
.brand-nav i,
.brand-label i,
.choice-list i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 32px;
}
.local-note {
  padding: 16px 13px;
  border: 1px solid #e0e5d5;
  border-radius: 8px;
  background: linear-gradient(130deg, #eaf0de, #f3f5eb);
  margin: 5px 2px 18px;
}
.local-note > .icon {
  width: 20px;
  height: 20px;
  color: #647056;
  margin-bottom: 9px;
}
.local-note strong {
  display: block;
  font-size: 10px;
  font-weight: 600;
}
.local-note p {
  font-size: 9px;
  margin: 5px 0 12px;
}
.local-note a {
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.local-note a .icon {
  width: 12px;
  height: 12px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding: 20px 7px;
  margin-top: 13px;
  text-align: left;
  width: 100%;
}
.avatar {
  width: 33px;
  height: 33px;
  background: #e0e6d4;
  color: #647056;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}
.profile > span:nth-child(2) {
  font-size: 11px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.profile small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: #647056;
}
.profile > .icon {
  width: 12px;
  height: 12px;
  margin-left: auto;
}
.app-body {
  margin-left: 224px;
  width: calc(100% - 224px);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.app-topbar {
  height: 70px;
  padding: 0 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #fcfcf8;
  gap: 12px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 10px;
  color: #647056;
}
.breadcrumb .icon {
  width: 11px;
  height: 11px;
  color: #647056;
}
.breadcrumb span {
  color: #647056;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 17px;
}
.privacy-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #647056;
}
.privacy-chip .icon {
  width: 12px;
  height: 12px;
}
.small-avatar {
  width: 27px;
  height: 27px;
  font-size: 8px;
}
.mobile-nav {
  display: none;
}
.main-content {
  padding: 38px 40px 45px;
  max-width: 1520px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}
.main-content:focus {
  outline: none;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
}
.page-heading h1 {
  font-size: 31px;
  line-height: 1.3;
  margin: 9px 0 8px;
}
.page-heading p {
  font-size: 12px;
}
.page-heading .eyebrow {
  font-size: 8px;
  color: #647056;
}
.heading-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.welcome-banner {
  display: flex;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background: #eaf0da;
  border: 1px solid #e1e8d2;
  border-radius: 12px;
  padding: 30px 35px;
  min-height: 256px;
}
.welcome-banner > div:first-child {
  position: relative;
  z-index: 2;
}
.welcome-banner .eyebrow {
  font-size: 7px;
  color: #647056;
}
.welcome-banner h2 {
  font-size: 33px;
  line-height: 1.2;
  letter-spacing: -0.045em;
  margin: 16px 0 10px;
}
.welcome-banner h2 em {
  color: #647056;
}
.welcome-banner p {
  font-size: 11px;
  color: #647056;
  line-height: 1.8;
  margin-bottom: 19px;
}
.welcome-banner .btn {
  font-size: 10px;
  min-height: 36px;
  padding: 9px 13px;
}
.welcome-banner .btn .icon {
  width: 14px;
}
.banner-art {
  position: relative;
  width: 320px;
  flex-shrink: 0;
  margin: 0 -10px 0 0;
}
.banner-art > img {
  position: absolute;
  left: 7%;
  top: 4px;
  width: 151px;
  height: 202px;
  object-fit: cover;
  transform: rotate(-12deg);
  border: 7px solid white;
  box-shadow: 0 6px 15px #4f573729;
}
.banner-sticker {
  position: absolute;
  right: 0;
  top: 44px;
  background: #cfbddd;
  color: #574164;
  transform: rotate(9deg);
  padding: 28px 20px 17px;
  width: 173px;
  font-size: 24px;
  line-height: 1.15;
  font-family: var(--heading);
  font-weight: 600;
  letter-spacing: -0.04em;
  box-shadow: 0 4px 10px #4f573714;
}
.banner-sticker span {
  font-size: 5px;
  letter-spacing: 0.1em;
  display: block;
  margin-top: 28px;
}
.floating-label {
  position: absolute;
  right: 37px;
  bottom: -3px;
  font-size: 8px;
  background: #fafbf8;
  padding: 8px 12px;
  border-radius: 4px;
  box-shadow: 0 3px 15px #4251301c;
  transform: rotate(-4deg);
  color: #647056;
  display: flex;
  align-items: center;
  gap: 6px;
}
.floating-label .icon {
  background: #e6efd8;
  width: 16px;
  height: 16px;
  padding: 3px;
  border-radius: 50%;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 23px 0 35px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fcfcf9;
}
.stats-row > div {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
}
.stats-row > div + div {
  border-left: 1px solid var(--line);
}
.stats-row > div > .icon {
  color: #647056;
  width: 23px;
  height: 23px;
}
.stats-row strong {
  font-family: var(--heading);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.2;
}
.stats-row strong span {
  display: block;
  font-family: var(--font);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0;
  color: #647056;
  margin-top: 6px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.section-title h2 {
  font-size: 18px;
  letter-spacing: -0.03em;
}
.section-title h2 span {
  font-family: var(--font);
  margin-left: 6px;
  color: #647056;
  font-size: 10px;
}
.section-title p {
  font-size: 10px;
  margin-top: 5px;
}
.section-title .text-link {
  font-size: 10px;
  color: #647056;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 19px;
}
.media-card {
  min-width: 0;
  border: 1px solid #e0e5d9;
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.media-card:hover {
  box-shadow: 0 7px 25px #2737200a;
  transform: translateY(-2px);
}
.media-card.selected {
  border-color: #9c85b9;
  box-shadow: 0 0 0 1px #9c85b9;
}
.media-thumb {
  position: relative;
  height: 155px;
  background: #e8ebdf;
  overflow: hidden;
}
.open-media {
  position: absolute;
  inset: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.media-thumb img,
.media-thumb video {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.media-placeholder .icon {
  width: 35px;
  height: 35px;
  color: #647056;
}
.media-info {
  padding: 12px 13px 14px;
}
.media-title {
  padding: 0;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
  text-align: left;
}
.media-info > div {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  margin-top: 9px;
  color: #647056;
  font-size: 8px;
}
.brand-label {
  display: flex;
  gap: 5px;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-label i {
  width: 5px;
  height: 5px;
}
.media-type {
  position: absolute;
  bottom: 9px;
  left: 9px;
  font-size: 7px;
  border-radius: 4px;
  background: #25322a88;
  color: #fff;
  padding: 3px 6px;
  display: flex;
  gap: 4px;
  align-items: center;
  pointer-events: none;
}
.media-type .icon {
  width: 10px;
  height: 10px;
}
.favorite {
  width: 25px;
  height: 25px;
  position: absolute;
  right: 8px;
  top: 8px;
  background: #222d2480;
  color: white;
  border: 1px solid #ffffff55;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding: 6px;
  opacity: 0;
  transition: opacity 0.15s;
}
.favorite .icon {
  width: 13px;
  height: 13px;
}
.favorite.is-favorite {
  opacity: 1;
  background: #f7f9ecdd;
  color: #647056;
  border-color: #ffffffe0;
}
.favorite.is-favorite .icon {
  fill: currentColor;
}
.media-card:hover .favorite,
.media-card:focus-within .favorite {
  opacity: 1;
}
.card-select {
  position: absolute;
  left: 9px;
  top: 9px;
  width: 20px;
  height: 20px;
}
.card-select input {
  width: 20px;
  height: 20px;
  margin: 0;
  opacity: 0;
  position: absolute;
  inset: 0;
  cursor: pointer;
}
.card-select > span {
  width: 19px;
  height: 19px;
  border: 1px solid #ffffffaa;
  border-radius: 4px;
  background: #ffffff44;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
}
.card-select .icon {
  width: 12px;
  height: 12px;
  color: transparent;
}
.card-select input:checked + span {
  background: var(--lime);
  border-color: var(--lime);
  opacity: 1;
}
.card-select input:checked + span .icon {
  color: var(--ink);
}
.card-select input:focus-visible + span {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  opacity: 1;
}
.media-card:hover .card-select > span,
.media-card:focus-within .card-select > span {
  opacity: 1;
}
.next-step {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #efedf4;
  border: 1px solid #e6e1ed;
  border-radius: 9px;
  padding: 19px 23px;
  margin-top: 28px;
}
.next-step > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #e4deed;
  border-radius: 7px;
  color: #647056;
  flex-shrink: 0;
}
.next-step h3 {
  font-size: 12px;
  letter-spacing: 0;
}
.next-step p {
  font-size: 10px;
  color: #647056;
  margin-top: 4px;
}
.next-step .btn {
  font-size: 10px;
  min-height: 34px;
  padding: 8px 12px;
  margin-left: auto;
  flex-shrink: 0;
}
.next-step .btn .icon {
  width: 13px;
  height: 13px;
}
.app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-top: 1px solid var(--line);
  font-size: 7px;
  color: #647056;
  letter-spacing: 0.1em;
}
.app-footer > span:last-child {
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 8px;
}
.app-footer i {
  width: 5px;
  height: 5px;
  background: #adb98f;
  border-radius: 50%;
}
/* Library tools. */
.library-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 23px;
}
.filter-tabs {
  display: flex;
  gap: 25px;
}
.filter-tabs button {
  padding: 14px 0;
  font-size: 11px;
  color: #647056;
  border-bottom: 2px solid transparent;
}
.filter-tabs button.active {
  color: #647349;
  border-bottom-color: #9eaf7c;
}
.filter-tabs button span {
  font-size: 8px;
  background: #e9ecdf;
  padding: 2px 5px;
  border-radius: 4px;
  margin-left: 4px;
}
.view-switch {
  display: flex;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px;
}
.view-switch .icon-btn {
  width: 27px;
  height: 25px;
  padding: 5px;
}
.view-switch .icon {
  width: 14px;
  height: 14px;
  color: #647056;
}
.view-switch .active {
  background: white;
  box-shadow: 0 1px 3px #24351b15;
}
.search-row {
  display: flex;
  gap: 12px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 13px;
  flex: 1;
}
.search-field .icon {
  width: 17px;
  height: 17px;
  color: #647056;
}
.search-field input {
  min-width: 0;
  flex: 1;
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 11px;
}
.search-field:focus-within {
  outline: 2px solid #ad9bc3;
  outline-offset: 2px;
}
.search-field kbd {
  border: 1px solid var(--line);
  color: #647056;
  font-size: 9px;
  padding: 0 5px;
  border-radius: 3px;
}
.search-row select {
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 30px 9px 12px;
  font-size: 10px;
  max-width: 180px;
  min-height: 39px;
}
.results-meta {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #647056;
  margin: 23px 0 16px;
}
.results-meta > span:last-child {
  display: flex;
  align-items: center;
  gap: 5px;
}
.results-meta .icon {
  width: 11px;
  height: 11px;
}
.list-view {
  grid-template-columns: 1fr;
}
.list-view .media-card {
  display: flex;
}
.list-view .media-thumb {
  width: 132px;
  height: 90px;
  flex-shrink: 0;
}
.list-view .media-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 15px 25px;
}
.list-view .media-title {
  font-size: 13px;
}
.list-view .media-info > div {
  font-size: 10px;
}
.selection-bar {
  position: fixed;
  bottom: 28px;
  left: calc(50% + 112px);
  transform: translateX(-50%);
  background: #30392f;
  color: white;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 16px;
  border-radius: 10px;
  box-shadow: 0 10px 40px #20301933;
  z-index: 35;
  max-width: calc(100vw - 32px);
}
.selection-bar strong {
  font-size: 12px;
  white-space: nowrap;
}
.selection-bar .btn {
  min-height: 34px;
  font-size: 10px;
  padding: 8px 12px;
  white-space: nowrap;
}
.selection-bar .secondary {
  color: var(--ink);
}
.selection-bar .icon-btn:hover {
  background: #ffffff22;
}
.empty {
  padding: 65px 24px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  border: 1px dashed #dce3d1;
  border-radius: 10px;
  background: #fafbf7;
}
.empty-icon {
  width: 60px;
  height: 60px;
  background: #edf1e4;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #647056;
  margin-bottom: 19px;
}
.empty-icon .icon {
  width: 26px;
  height: 26px;
}
.empty h3 {
  font-size: 23px;
  margin-bottom: 10px;
}
.empty p {
  max-width: 380px;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 25px;
}
.empty .text-link {
  margin-top: 16px;
}
/* Brands, selections, and workspace details. */
.brands-grid,
.selections-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.brand-card {
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  overflow: hidden;
}
.brand-cover {
  height: 150px;
  background: color-mix(in srgb, var(--brand-color) 30%, #fafbf6);
  position: relative;
  display: grid;
  place-items: center;
}
.brand-cover > span {
  font-family: var(--heading);
  font-size: 44px;
  color: color-mix(in srgb, var(--brand-color) 90%, #27321f);
  letter-spacing: -0.07em;
}
.brand-cover > .icon-btn {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #ffffff99;
  color: #647056;
}
.brand-card > div:last-child {
  padding: 23px;
}
.brand-card p {
  font-size: 11px;
  margin: 9px 0 22px;
}
.brand-card .text-link {
  width: 100%;
  justify-content: space-between;
  color: #647056;
  font-size: 11px;
}
.inline-note {
  font-size: 11px;
  color: #647056;
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.8;
}
.inline-note .icon {
  width: 15px;
  height: 15px;
}
.selection-card {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  background: white;
  transition: transform 0.2s;
}
.selection-card:hover {
  transform: translateY(-3px);
}
.selection-cover {
  height: 180px;
  background: #ede9f2;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 15px;
  color: #647056;
  overflow: hidden;
}
.selection-cover > span > .icon {
  width: 40px;
  height: 40px;
}
.selection-cover em {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.selection-cover > img {
  width: 100%;
  min-width: 0;
  height: 100%;
  object-fit: cover;
  flex: 1;
}
.selection-cover > div {
  flex: 1;
  display: grid;
  place-items: center;
}
.selection-card-info {
  padding: 21px;
  position: relative;
}
.selection-card-info h3 {
  font-size: 16px;
  padding-right: 20px;
  overflow-wrap: anywhere;
}
.selection-card-info > .icon {
  position: absolute;
  right: 20px;
  top: 23px;
  width: 16px;
  height: 16px;
  color: #647056;
}
.selection-card-info p {
  font-size: 10px;
  margin-top: 9px;
}
.back-link {
  margin-bottom: 25px;
  color: #647056;
}
.selection-note {
  padding: 13px 17px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #eff2e8;
  border-radius: 8px;
  font-size: 10px;
  color: #647056;
  margin-bottom: 23px;
}
.selection-note .icon {
  width: 15px;
  height: 15px;
}
.clip-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.clip-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px;
  border-bottom: 1px solid var(--line);
}
.clip-row:last-child {
  border: 0;
}
.clip-number {
  font-size: 10px;
  color: #647056;
}
.clip-thumb {
  width: 74px;
  height: 56px;
  background: #e3e8dc;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
}
.clip-thumb img,
.clip-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.clip-title {
  flex: 1;
  min-width: 0;
}
.clip-title button {
  font-size: 12px;
  font-weight: 600;
  padding: 0;
  text-align: left;
}
.clip-title small {
  font-size: 9px;
  color: #647056;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 5px;
}
.clip-points {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.clip-points label {
  font-size: 8px;
  color: #647056;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.clip-points input {
  width: 65px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 10px;
  padding: 7px;
}
.clip-points input:disabled {
  background: #f7f8f3;
  color: #647056;
}
.clip-points .small {
  font-size: 9px;
  align-self: center;
  margin-left: 6px;
}
.selection-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
}
.danger {
  color: #647056;
}
.device-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px;
  display: flex;
  gap: 35px;
  align-items: center;
}
.device-symbol {
  width: 120px;
  height: 120px;
  background: #ecf0e3;
  border-radius: 18px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.device-symbol > .icon {
  width: 62px;
  height: 62px;
  color: #647056;
}
.device-card h2 {
  margin: 12px 0;
  font-size: 26px;
}
.device-card p {
  font-size: 12px;
  line-height: 1.9;
  max-width: 670px;
}
.status-badge {
  color: #647056;
  background: #eef4e4;
  font-size: 9px;
  padding: 4px 9px;
  border-radius: 4px;
}
.device-facts {
  display: flex;
  gap: 40px;
  margin-top: 25px;
}
.device-facts > span {
  font-size: 9px;
  color: #647056;
}
.device-facts strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #647056;
  margin-bottom: 5px;
}
.companion-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  background: #edeaf2;
  border: 1px solid #e6e0ee;
  border-radius: 12px;
  margin-top: 26px;
}
.companion-card h2 {
  font-size: 32px;
  margin: 17px 0;
}
.companion-card h2 em {
  color: #647056;
}
.companion-card p {
  font-size: 11px;
  line-height: 1.9;
  max-width: 370px;
  color: #647056;
}
.companion-card .eyebrow {
  color: #647056;
  font-size: 8px;
}
.coming-tag {
  display: inline-block;
  border: 1px solid #d7cde1;
  color: #647056;
  font-size: 9px;
  padding: 5px 10px;
  border-radius: 4px;
  margin-top: 20px;
}
.companion-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.companion-steps > div {
  display: flex;
  align-items: center;
  gap: 15px;
}
.companion-steps .icon {
  width: 34px;
  height: 34px;
  padding: 8px;
  background: #e0d8e9;
  border-radius: 7px;
  color: #647056;
}
.companion-steps strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}
.companion-steps small {
  font-size: 9px;
  color: #647056;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
  align-items: start;
}
.settings-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  margin-bottom: 24px;
}
.settings-card h2 {
  font-size: 20px;
  margin-bottom: 9px;
}
.settings-card p {
  font-size: 12px;
  line-height: 1.8;
}
.settings-card .btn {
  margin-top: 25px;
}
.settings-card .field {
  margin-top: 25px;
}
.settings-card .small {
  margin-top: 15px;
  line-height: 1.9;
}
.account-status {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: #647056;
  margin-top: 24px;
}
.account-status .icon {
  width: 15px;
  height: 15px;
}
.logout-link {
  display: flex;
  margin-top: 25px;
  color: #647056;
  font-size: 11px;
}
/* A focused space for details. */
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 30px 100px #1c291833;
  background: #fafbf7;
  color: var(--ink);
  padding: 35px;
  width: 470px;
  max-width: calc(100vw - 32px);
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #1d29196e;
  backdrop-filter: blur(4px);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: #ffffffd9;
}
dialog > .eyebrow {
  color: #647056;
  font-size: 8px;
  margin: 10px 0 15px;
}
dialog h2 {
  font-size: 26px;
  line-height: 1.3;
  margin: 10px 16px 12px 0;
}
dialog > p {
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 20px;
}
dialog form > .btn {
  margin-top: 25px;
}
dialog > .btn {
  margin-top: 12px;
}
.choice-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.choice-list > button {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  text-align: left;
}
.choice-list > button:hover {
  background: #f0f3e9;
}
.choice-list > button > .icon:last-child {
  margin-left: auto;
  width: 15px;
}
.dialog-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 25px;
}
.danger-btn {
  background: #965447;
  color: white;
}
.help-list p {
  font-size: 12px;
  margin: 20px 0;
  line-height: 1.9;
}
.help-list strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}
.asset-modal {
  width: 1040px;
  padding: 0;
  overflow: auto;
}
.asset-detail {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 600px;
}
.asset-preview {
  background: #242b24;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  min-height: 300px;
}
.asset-preview > img,
.asset-preview > video {
  width: 100%;
  height: auto;
  max-height: 80dvh;
  object-fit: contain;
}
.asset-edit {
  padding: 35px;
}
.asset-edit > .eyebrow {
  font-size: 8px;
  color: #647056;
}
.asset-edit h2 {
  font-size: 25px;
  overflow-wrap: anywhere;
}
.asset-filename {
  font-size: 10px;
  overflow-wrap: anywhere;
}
.asset-edit .field {
  margin-top: 16px;
}
.asset-storage-note {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #647056;
  font-size: 9px;
  margin-top: 22px;
}
.asset-storage-note .icon {
  width: 13px;
  height: 13px;
}
.preview-unavailable {
  padding: 40px;
  color: #647056;
  text-align: center;
  max-width: 350px;
}
.preview-unavailable > .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}
.preview-unavailable h3 {
  font-size: 20px;
  margin-bottom: 15px;
}
.preview-unavailable p {
  font-size: 12px;
  color: #647056;
  line-height: 1.9;
}
.dropzone {
  border: 1px dashed #cad4bb;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  background: #f1f5e8;
  transition: background 0.15s;
  margin-top: 24px;
}
.dropzone.dragging {
  background: #e0edc8;
  border-color: #8ea567;
}
.dropzone > .icon {
  color: #647056;
  width: 33px;
  height: 33px;
  margin-bottom: 15px;
}
.dropzone h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.dropzone p {
  font-size: 11px;
  margin-bottom: 20px;
}
.dropzone small {
  display: block;
  font-size: 8px;
  color: #647056;
  margin-top: 17px;
}
.file-picker {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.file-picker input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.file-picker:focus-within {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}
#import-status {
  font-size: 11px;
  color: #647056;
  margin-top: 16px;
  overflow-wrap: anywhere;
}
.import-issues {
  color: #647056;
  font-size: 10px;
  padding-left: 17px;
}
.import-issues li {
  margin: 5px 0;
}
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: var(--ink);
  color: #f0f5e7;
  border: 1px solid #ffffff22;
  border-radius: 9px;
  padding: 13px 22px;
  font-size: 12px;
  max-width: calc(100vw - 32px);
  box-shadow: 0 5px 25px #1c29182b;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 100;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1600px) {
  .main-content {
    padding-top: 48px;
  }
  .media-thumb {
    height: 210px;
  }
  .welcome-banner {
    min-height: 295px;
  }
  .banner-art {
    margin-right: 55px;
  }
  .welcome-banner h2 {
    font-size: 41px;
  }
  .banner-art > img {
    height: 230px;
    width: 180px;
  }
  .banner-sticker {
    top: 60px;
    right: -40px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 205px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .app-body {
    margin-left: 205px;
    width: calc(100% - 205px);
  }
  .main-content {
    padding: 30px 28px;
  }
  .app-topbar {
    padding: 0 28px;
  }
  .media-grid {
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .section .media-grid .media-card:nth-child(4) {
    display: none;
  }
  .media-thumb {
    height: 170px;
  }
  .banner-art {
    width: 240px;
    margin-right: 0;
  }
  .banner-art > img {
    left: 0;
    width: 133px;
    height: 190px;
  }
  .banner-sticker {
    right: -15px;
    width: 150px;
    font-size: 21px;
    padding: 25px 17px;
  }
  .welcome-banner {
    padding: 30px;
  }
  .welcome-banner h2 {
    font-size: 30px;
  }
  .welcome-banner .eyebrow {
    font-size: 6px;
  }
  .selection-bar {
    left: calc(50% + 102px);
  }
  .auth-art {
    padding: 70px 40px 30px;
  }
  .auth-main {
    padding: 30px;
  }
  .auth-main .subtle {
    font-size: 10px;
  }
  .auth-collage {
    margin-left: -20px;
    margin-right: -15px;
  }
  .onboarding-layout {
    gap: 70px;
  }
  .clip-points input {
    width: 53px;
  }
  .clip-row {
    gap: 10px;
  }
  .clip-thumb {
    width: 55px;
  }
  .brands-grid,
  .selections-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section .media-grid .media-card:nth-child(4) {
    display: block;
  }
  .media-thumb {
    height: 190px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading .btn {
    font-size: 11px;
    padding: 9px 13px;
  }
  .banner-art {
    display: none;
  }
  .welcome-banner h2 {
    font-size: 35px;
  }
  .welcome-banner {
    min-height: 250px;
  }
  .stats-row > div {
    padding: 20px 14px;
    gap: 10px;
  }
  .stats-row > div > .icon {
    width: 19px;
  }
  .stats-row strong span {
    font-size: 8px;
  }
  .stats-row strong {
    font-size: 21px;
  }
  .next-step {
    flex-wrap: wrap;
  }
  .next-step > .btn {
    margin-left: 49px;
  }
  .auth-art h2 {
    font-size: 51px;
  }
  .auth-art {
    padding: 65px 30px 30px;
  }
  .auth-form-wrap h1 {
    font-size: 34px;
  }
  .auth-main header .subtle {
    display: none;
  }
  .auth-footer > span {
    display: none;
  }
  .collage-photo.one {
    left: 4%;
    width: 160px;
    height: 205px;
  }
  .collage-note {
    width: 158px;
    right: 0;
    top: 90px;
    font-size: 20px;
  }
  .collage-photo.two {
    right: 25%;
    top: 250px;
  }
  .onboarding-layout {
    grid-template-columns: 275px 1fr;
    gap: 55px;
  }
  .onboarding main h1 {
    font-size: 33px;
  }
  .onboarding aside h2 {
    font-size: 25px;
  }
  .setup-art {
    width: 225px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .device-card {
    padding: 25px;
    gap: 25px;
  }
  .device-symbol {
    width: 85px;
    height: 85px;
  }
  .device-symbol > .icon {
    width: 45px;
    height: 45px;
  }
  .device-facts {
    gap: 20px;
  }
  .companion-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px;
    gap: 30px;
  }
  .companion-steps {
    width: 100%;
  }
  .clip-row {
    flex-wrap: wrap;
  }
  .clip-title {
    flex-basis: calc(100% - 140px);
  }
  .clip-points {
    margin-left: 86px;
    flex: 1;
  }
  .clip-points input {
    width: 75px;
  }
  .clip-row > .icon-btn {
    margin-left: auto;
  }
  .asset-detail {
    grid-template-columns: 1fr 1fr;
  }
  .asset-edit {
    padding: 28px;
  }
  .asset-edit h2 {
    font-size: 22px;
  }
  .asset-edit .field {
    font-size: 10px;
  }
  .asset-edit .field input,
  .asset-edit .field select {
    font-size: 12px;
  }
}
@media (max-width: 760px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-art {
    display: none;
  }
  .auth-main {
    padding: 25px 24px;
    min-height: 100dvh;
  }
  .auth-main header .subtle {
    display: flex;
  }
  .auth-form-wrap {
    padding: 60px 0;
    max-width: 390px;
  }
  .auth-form-wrap h1 {
    font-size: 38px;
  }
  .auth-footer {
    justify-content: center;
  }
  .auth-footer > span {
    display: block;
  }
  .auth-main header .logo img:last-child {
    width: 110px;
  }
  .onboarding > header {
    padding: 22px 24px;
  }
  .onboarding-layout {
    display: block;
    margin: 25px auto;
    max-width: 500px;
    padding: 0 25px;
  }
  .onboarding aside > .eyebrow,
  .onboarding aside > h2,
  .setup-art {
    display: none;
  }
  .steps {
    flex-direction: row;
    gap: 12px;
    justify-content: space-between;
    margin: 15px 0 30px;
  }
  .steps li {
    gap: 8px;
    font-size: 10px;
  }
  .steps li > span {
    width: 25px;
    height: 25px;
    font-size: 8px;
  }
  .steps li small {
    display: none;
  }
  .step-meta {
    margin-bottom: 26px;
    font-size: 8px;
  }
  .onboarding main h1 {
    font-size: 35px;
  }
  .onboard-actions {
    margin-top: 28px;
  }
  .sidebar {
    transform: translateX(-100%);
    width: 224px;
    transition: transform 0.2s;
    box-shadow: 10px 0 25px #24331c10;
  }
  .nav-open .sidebar {
    transform: translateX(0);
    top: 60px;
  }
  .nav-open .sidebar-bottom {
    padding-bottom: 65px;
  }
  .nav-open .app-body:after {
    content: "";
    position: fixed;
    inset: 60px 0 0 224px;
    background: #1b281833;
    z-index: 39;
    pointer-events: none;
  }
  .app-body {
    margin-left: 0;
    width: 100%;
  }
  .mobile-nav {
    display: flex;
  }
  .app-topbar {
    height: 60px;
    padding: 0 18px;
    position: sticky;
    top: 0;
    z-index: 41;
  }
  .breadcrumb {
    margin-right: auto;
    font-size: 9px;
    gap: 8px;
  }
  .topbar-right {
    gap: 8px;
  }
  .topbar-right > .icon-btn {
    display: none;
  }
  .privacy-chip {
    font-size: 8px;
  }
  .main-content {
    padding: 27px 20px 35px;
  }
  .page-heading {
    gap: 12px;
    margin-bottom: 24px;
  }
  .page-heading h1 {
    font-size: 27px;
    margin: 8px 0;
  }
  .page-heading p {
    font-size: 11px;
    line-height: 1.8;
  }
  .page-heading .eyebrow {
    font-size: 7px;
  }
  .page-heading .btn {
    font-size: 10px;
    min-height: 37px;
    padding: 9px 12px;
    gap: 6px;
  }
  .page-heading .btn .icon {
    width: 14px;
  }
  .heading-actions {
    align-self: flex-end;
    padding-bottom: 3px;
  }
  .welcome-banner {
    padding: 26px;
  }
  .welcome-banner h2 {
    font-size: 33px;
  }
  .welcome-banner .eyebrow {
    font-size: 7px;
  }
  .welcome-banner p {
    font-size: 11px;
  }
  .banner-art {
    display: block;
    width: 180px;
  }
  .banner-art > img {
    left: 0;
    top: 20px;
    width: 115px;
    height: 164px;
  }
  .banner-sticker {
    width: 118px;
    font-size: 17px;
    right: -12px;
    top: 85px;
    padding: 22px 12px;
  }
  .banner-sticker span {
    font-size: 4px;
    margin-top: 18px;
  }
  .floating-label {
    display: none;
  }
  .stats-row {
    margin: 20px 0 30px;
  }
  .stats-row > div {
    padding: 17px 12px;
    gap: 9px;
  }
  .stats-row > div > .icon {
    width: 19px;
  }
  .stats-row strong {
    font-size: 22px;
  }
  .stats-row strong span {
    font-size: 8px;
    line-height: 1.5;
  }
  .section-title h2 {
    font-size: 18px;
  }
  .section-title p {
    font-size: 9px;
    max-width: 230px;
    line-height: 1.7;
  }
  .section-title .text-link {
    font-size: 9px;
    white-space: nowrap;
  }
  .media-grid {
    gap: 14px;
  }
  .media-thumb {
    height: 190px;
  }
  .media-info {
    padding: 12px;
  }
  .media-title {
    font-size: 11px;
  }
  .media-info > div {
    font-size: 8px;
  }
  .card-select > span,
  .favorite {
    opacity: 1;
  }
  .next-step {
    gap: 12px;
    padding: 20px;
  }
  .next-step > div {
    flex: 1;
  }
  .next-step h3 {
    font-size: 12px;
    line-height: 1.7;
  }
  .next-step p {
    font-size: 10px;
    line-height: 1.7;
  }
  .next-step .btn {
    margin-left: 45px;
  }
  .app-footer {
    padding: 20px;
    font-size: 6px;
  }
  .app-footer > span:last-child {
    font-size: 7px;
  }
  .filter-tabs {
    gap: 20px;
  }
  .filter-tabs button {
    font-size: 10px;
  }
  .search-row {
    gap: 8px;
    flex-wrap: wrap;
  }
  .search-field {
    flex-basis: 100%;
  }
  .search-row select {
    flex: 1;
    max-width: 100%;
    font-size: 10px;
  }
  .results-meta > span:last-child {
    font-size: 8px;
  }
  .selection-bar {
    left: 50%;
    bottom: 15px;
    gap: 8px;
    padding: 10px;
  }
  .selection-bar strong {
    font-size: 10px;
  }
  .selection-bar .btn {
    font-size: 9px;
    padding: 8px;
    gap: 5px;
  }
  .selection-bar .btn .icon {
    width: 13px;
    height: 13px;
  }
  .selection-bar .icon-btn {
    width: 24px;
    padding: 3px;
  }
  .settings-card {
    padding: 24px;
  }
  .device-card {
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
  }
  .device-symbol {
    width: 58px;
    height: 58px;
    border-radius: 10px;
  }
  .device-symbol > .icon {
    width: 32px;
    height: 32px;
  }
  .device-card h2 {
    font-size: 23px;
  }
  .device-card p {
    font-size: 11px;
  }
  .device-facts {
    flex-wrap: wrap;
    gap: 15px;
  }
  .device-facts strong {
    font-size: 11px;
  }
  .device-facts > span {
    font-size: 8px;
  }
  .brands-grid,
  .selections-grid {
    gap: 16px;
  }
  .brand-cover {
    height: 130px;
  }
  .brand-card > div:last-child {
    padding: 20px;
  }
  .brand-card h3 {
    font-size: 16px;
  }
  .brand-card p {
    font-size: 10px;
  }
  .brand-card .text-link {
    font-size: 9px;
  }
  .selection-cover {
    height: 150px;
  }
  .selection-cover em {
    font-size: 23px;
  }
  .selection-cover > span > .icon {
    width: 29px;
    height: 29px;
  }
  .selection-cover {
    gap: 10px;
  }
  .selection-card-info {
    padding: 18px;
  }
  .selection-card-info h3 {
    font-size: 14px;
  }
  .selection-card-info p {
    font-size: 9px;
  }
  .selection-note {
    font-size: 9px;
    line-height: 1.7;
  }
  .clip-title button {
    font-size: 11px;
  }
  .clip-points {
    margin-left: 0;
  }
  .clip-number {
    display: none;
  }
  .clip-title {
    flex-basis: calc(100% - 80px);
  }
  .clip-points input {
    width: 68px;
  }
  .clip-row > .icon-btn {
    margin: 0;
  }
  .asset-detail {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .asset-preview {
    min-height: 180px;
    max-height: 280px;
  }
  .asset-preview > img,
  .asset-preview > video {
    max-height: 280px;
    object-fit: contain;
  }
  .asset-edit {
    padding: 25px;
  }
  .asset-edit h2 {
    font-size: 24px;
  }
  .asset-edit .field {
    font-size: 12px;
  }
  .asset-edit .field input,
  .asset-edit .field select {
    font-size: 13px;
  }
  .asset-edit > .eyebrow {
    font-size: 7px;
  }
  dialog {
    padding: 28px 24px;
  }
  dialog h2 {
    font-size: 25px;
  }
  .asset-modal {
    padding: 0;
  }
  .empty {
    padding: 45px 20px;
  }
  .empty h3 {
    font-size: 23px;
  }
  .empty p {
    font-size: 12px;
  }
}
@media (max-width: 440px) {
  .page-heading {
    flex-wrap: wrap;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .heading-actions {
    align-self: auto;
  }
  .welcome-banner h2 {
    font-size: 31px;
  }
  .welcome-banner {
    padding: 25px 22px;
    min-height: 254px;
  }
  .banner-art {
    display: none;
  }
  .stats-row > div {
    padding: 16px 10px;
    gap: 7px;
    flex-direction: column;
    align-items: flex-start;
  }
  .stats-row > div > .icon {
    width: 17px;
    height: 17px;
  }
  .stats-row strong span {
    font-size: 8px;
  }
  .media-thumb {
    height: 140px;
  }
  .media-grid {
    gap: 12px;
  }
  .media-title {
    font-size: 10px;
  }
  .media-info {
    padding: 10px;
  }
  .media-info > div {
    font-size: 7px;
  }
  .brand-label {
    gap: 4px;
  }
  .media-type {
    font-size: 6px;
    bottom: 7px;
    left: 7px;
  }
  .section-title h2 {
    font-size: 17px;
  }
  .section-title p {
    max-width: 205px;
  }
  .section-title .text-link {
    gap: 3px;
  }
  .section-title .text-link .icon {
    width: 12px;
  }
  .app-footer > span:first-child {
    font-size: 5px;
  }
  .filter-tabs {
    gap: 14px;
  }
  .filter-tabs button {
    font-size: 9px;
  }
  .filter-tabs button span {
    font-size: 7px;
  }
  .view-switch {
    margin-left: 5px;
  }
  .view-switch .icon-btn {
    width: 24px;
  }
  .results-meta > span:last-child {
    font-size: 7px;
  }
  .selection-bar .btn {
    font-size: 8px;
  }
  .selection-bar .btn .icon {
    display: none;
  }
  .selection-bar {
    gap: 6px;
  }
  .brands-grid,
  .selections-grid {
    grid-template-columns: 1fr;
  }
  .brand-cover {
    height: 150px;
  }
  .brand-card h3 {
    font-size: 19px;
  }
  .selection-cover {
    height: 185px;
  }
  .selection-card-info h3 {
    font-size: 18px;
  }
  .device-card {
    flex-direction: column;
  }
  .device-facts {
    gap: 25px;
  }
  .list-view .media-thumb {
    width: 105px;
    height: 86px;
  }
  .list-view .media-info {
    padding: 12px 15px;
  }
  .list-view .media-title {
    font-size: 11px;
  }
  .list-view .media-info > div {
    font-size: 8px;
  }
  .list-view .media-card {
    width: 100%;
  }
  .selection-bottom {
    gap: 15px;
  }
  .selection-bottom .text-link {
    font-size: 10px;
  }
  .onboarding main h1 {
    font-size: 33px;
  }
  .steps li {
    font-size: 9px;
    gap: 6px;
  }
  .auth-footer {
    font-size: 8px;
  }
  .auth-footer > span {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .btn:hover,
  .media-card:hover,
  .selection-card:hover {
    transform: none;
  }
}
/* Readable secondary text and a comfortable mobile call to action. */
.page-heading .eyebrow,
.nav-caption,
.step-meta,
.sidebar .profile small,
.workspace-switch small,
.brand-nav,
.breadcrumb,
.breadcrumb span,
.privacy-chip,
.stats-row strong span,
.section-title p,
.section-title .text-link,
.media-info > div,
.local-note p,
.brand-card .text-link,
.results-meta,
.filter-tabs button,
.inline-note,
.device-facts > span,
.device-facts strong,
.asset-filename,
.asset-storage-note,
.demo-hint,
.auth-footer,
.field-hint,
.app-footer {
  color: #647056;
}
.welcome-banner .eyebrow,
.welcome-banner p,
.welcome-banner h2 em {
  color: #647056;
}
.next-step p,
.companion-card p,
.companion-card .eyebrow,
.companion-steps small {
  color: #796889;
}
.auth-art > p,
.auth-art > .eyebrow,
.art-foot {
  color: #68774f;
}
.auth-art h2 span {
  color: #647056;
}
.auth-art .collage-note {
  color: #44334f;
}
.stats-row strong span {
  font-size: 10px;
}
.media-info > div {
  font-size: 10px;
}
.media-title {
  font-size: 12px;
}
.section-title p {
  font-size: 11px;
}
.nav-caption {
  font-size: 9px;
}
.sidebar .brand-nav {
  font-size: 12px;
}
.sidebar .nav-item {
  font-size: 13px;
}
.results-meta {
  font-size: 11px;
}
.filter-tabs button {
  font-size: 12px;
}
.search-field input {
  font-size: 12px;
}
.page-heading p {
  font-size: 13px;
}
.page-heading .eyebrow {
  font-size: 9px;
}
.welcome-banner .eyebrow {
  font-size: 8px;
}
.welcome-banner p {
  font-size: 12px;
}
.next-step p {
  font-size: 11px;
}
.media-type {
  font-size: 9px;
  background: #263229bb;
}
@media (max-width: 760px) {
  .next-step {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }
  .next-step > .btn {
    grid-column: 2;
    justify-self: start;
    margin-left: 0;
  }
  .next-step > div {
    min-width: 0;
  }
  .media-info > div {
    font-size: 9px;
  }
  .media-title {
    font-size: 11px;
  }
  .section-title p {
    font-size: 10px;
  }
  .results-meta {
    font-size: 10px;
  }
  .results-meta > span:last-child {
    font-size: 9px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .filter-tabs {
    gap: 15px;
  }
  .filter-tabs button {
    font-size: 11px;
  }
  .welcome-banner .eyebrow {
    font-size: 7px;
  }
  .stats-row strong span {
    font-size: 9px;
  }
  .media-type {
    font-size: 8px;
  }
  .app-footer {
    font-size: 7px;
  }
  .app-footer > span:last-child {
    font-size: 8px;
  }
}
@media (max-width: 440px) {
  .media-info > div {
    font-size: 8px;
  }
  .media-type {
    font-size: 7px;
  }
  .filter-tabs button {
    font-size: 10px;
  }
  .filter-tabs {
    gap: 12px;
  }
  .media-title {
    font-size: 11px;
  }
  .section-title .text-link {
    font-size: 10px;
  }
  .results-meta > span:last-child {
    font-size: 8px;
  }
  .welcome-banner .eyebrow {
    font-size: 6px;
  }
}

.brand-cover > span {
  color: #554564;
}
.welcome-banner p,
.welcome-banner .eyebrow,
.auth-art > p,
.auth-art > .eyebrow,
.art-foot {
  color: #56673e;
}
.avatar {
  color: #4e5d3e;
}
.next-step p,
.companion-card p,
.companion-card .eyebrow,
.companion-steps small {
  color: #655373;
}
.setup-note {
  color: #655f4d;
}
.coming-tag {
  color: #655373;
}
.confirmation-login {
  margin-top: 18px;
}
.auth-form-wrap .mail-illustration {
  padding: 18px 0 22px;
}
.auth-form-wrap .mail-illustration .icon {
  width: 46px;
  height: 46px;
}
.auth-form-wrap #confirmation-form .field {
  margin-top: 0;
}
.auth-form-wrap #confirmation-status:empty {
  display: none;
}

/* Research and editorial planning */
.research-banner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 38px;
  background: #e9eddf;
  border: 1px solid #dce3ce;
  border-radius: 18px;
  margin-bottom: 28px;
}
.research-banner h2 {
  font-size: 32px;
  margin: 12px 0;
}
.research-banner h2 em {
  font-style: normal;
  color: #586944;
}
.research-banner p {
  color: #505c48;
}
.research-banner-note {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 240px;
  padding: 23px;
  background: #f7f9ed;
  border: 1px solid #d6deca;
  transform: rotate(2deg);
  border-radius: 12px;
}
.research-banner-note > .icon {
  width: 30px;
  height: 30px;
  color: #596948;
}
.research-banner-note small {
  color: #59634f;
}
.research-filters {
  flex-wrap: wrap;
}
.research-recent {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
}
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.research-card {
  display: flex;
  flex-direction: column;
  gap: 17px;
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 23px;
  overflow-wrap: anywhere;
}
.research-card h2 {
  font-size: 22px;
  line-height: 1.35;
}
.research-card > p {
  color: #5e6559;
  line-height: 1.65;
}
.research-card-top,
.research-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.research-kind {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #5c477d;
}
.research-kind .icon {
  width: 15px;
  height: 15px;
}
.research-age {
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 4px 8px;
  white-space: nowrap;
  color: #59634f;
  background: #f6f7f2;
}
.research-angle {
  background: #f5f3f8;
  padding: 14px;
  border-radius: 10px;
}
.research-angle span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #695087;
}
.research-angle p {
  font-size: 13px;
  margin-top: 7px;
  line-height: 1.6;
}
.research-source {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  font-size: 12px;
}
.research-source small {
  font-size: 10px;
  color: #65705b;
}
.research-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.research-actions .btn {
  font-size: 11px;
  padding: 9px 12px;
  min-height: 36px;
}
.is-saved {
  color: #614781;
  background: var(--lavender);
  border-radius: 50%;
}
.research-connection {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: center;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.research-connection > p {
  max-width: 580px;
  color: #5b6553;
}
.connection-status {
  border-radius: 8px;
  padding: 10px 16px;
  background: #f0f2e9;
  font-size: 12px;
}
.source-roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
  width: 100%;
  margin: 8px 0;
}
.source-roadmap > div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.source-roadmap p {
  font-size: 13px;
  color: #626a5a;
}
.planner-intro {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.planner-intro > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.planning-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 20px;
  margin-bottom: 15px;
}
.planning-column {
  background: #edf0e7;
  border: 1px solid #dfe5d7;
  border-radius: 14px;
  padding: 13px;
  min-height: 360px;
}
.planning-column > h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  margin-bottom: 18px;
}
.planning-column > h2 span {
  font-size: 11px;
  background: white;
  border-radius: 20px;
  padding: 3px 8px;
}
.brief-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.brief-title {
  text-align: left;
  font-family: var(--heading);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
  padding: 0;
}
.brief-card > p {
  font-size: 12px;
  color: #626a5a;
  white-space: pre-wrap;
}
.brief-card .field {
  font-size: 10px;
  margin: 0;
}
.brief-card select {
  padding: 8px;
}
.brief-date,
.brief-evidence {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 10px;
  color: #606b56;
}
.brief-date .icon,
.brief-evidence .icon {
  width: 13px;
  height: 13px;
}
.column-empty {
  font-size: 12px;
  color: #616c56;
  padding: 15px 2px;
}
.research-evidence {
  padding: 16px;
  background: var(--lavender);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
#research-form {
  margin-top: 22px;
}
#research-form textarea {
  resize: vertical;
  min-height: 80px;
}
@media (min-width: 1600px) {
  .research-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1150px) {
  .research-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .research-grid,
  .source-roadmap {
    grid-template-columns: 1fr;
  }
  .research-banner {
    flex-direction: column;
    padding: 25px;
    gap: 20px;
  }
  .research-banner-note {
    transform: none;
    max-width: none;
    width: 100%;
  }
  .research-banner h2 {
    font-size: 28px;
  }
  .research-connection {
    padding: 24px;
  }
  .research-filters > select {
    flex: 1;
    min-width: 130px;
  }
  .research-recent {
    width: 100%;
  }
  .planning-board {
    grid-template-columns: 1fr;
    overflow: visible;
  }
  .planning-column {
    min-height: 120px;
  }
  .library-toolbar {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* Personal workspace: real work, clear next actions, no sample activity. */
.dashboard .page-heading {
  align-items: flex-end;
}
.dashboard .page-heading h1 {
  font-size: clamp(25px, 2.5vw, 35px);
}
.dashboard .page-heading .eyebrow {
  font-size: 10px;
  letter-spacing: 0.13em;
}
.dashboard .page-heading p {
  font-size: 13px;
}
.getting-started {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  border: 1px solid #dde5ce;
  border-radius: 16px;
  overflow: hidden;
  background: #eef3e3;
}
.start-intro {
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 25px;
}
.start-intro .eyebrow {
  font-size: 9px;
  letter-spacing: 0.14em;
}
.start-intro h2 {
  margin: 13px 0 12px;
  font-size: 30px;
  line-height: 1.2;
}
.start-intro h2 em {
  color: #546444;
}
.start-intro p {
  max-width: 270px;
  font-size: 12px;
}
.setup-progress {
  max-width: 270px;
}
.setup-progress span {
  display: block;
  margin-bottom: 9px;
  font-size: 11px;
  color: #536348;
}
.setup-progress progress {
  display: block;
  width: 100%;
  height: 5px;
  border: 0;
  background: #dbe3cc;
  border-radius: 8px;
  overflow: hidden;
  accent-color: #657e43;
}
.setup-progress progress::-webkit-progress-bar {
  background: #dbe3cc;
}
.setup-progress progress::-webkit-progress-value {
  background: #657e43;
  border-radius: 8px;
}
.start-steps {
  margin: 0;
  padding: 19px;
  list-style: none;
  display: grid;
  gap: 5px;
  background: #f8faf3;
}
.start-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 10px;
}
.start-steps li.is-next {
  background: white;
  border-color: #dee6d3;
  box-shadow: 0 3px 8px #26302404;
}
.step-symbol {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  font-size: 11px;
  color: #626d56;
  background: #e9efdf;
  border-radius: 50%;
}
.is-complete .step-symbol {
  background: #dfebc9;
  color: #43582d;
}
.step-symbol .icon {
  width: 17px;
}
.start-steps li > div {
  flex: 1;
}
.start-steps strong {
  font-size: 12px;
  font-weight: 600;
}
.start-steps p {
  font-size: 11px;
  margin-top: 2px;
}
.start-steps .icon-btn {
  background: #eef3e3;
  border-radius: 50%;
  width: 34px;
  height: 34px;
}
.step-done {
  color: #526841;
  font-size: 10px;
}
.workspace-ready {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #eaf1dd;
  border: 1px solid #dce6cc;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 12px;
}
.workspace-ready a {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: auto;
  font-weight: 600;
}
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 28px;
}
.dashboard-stat {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 12px;
  row-gap: 5px;
  background: white;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 11px;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.dashboard-stat:hover {
  border-color: #a8b88b;
  transform: translateY(-2px);
}
.dashboard-stat > .icon:first-child {
  grid-row: span 2;
  margin-top: 6px;
  color: #6a765e;
}
.dashboard-stat strong {
  font: 600 27px/1.15 var(--heading);
  letter-spacing: -0.05em;
}
.dashboard-stat > span {
  color: var(--muted);
  font-size: 11px;
}
.dashboard-stat .stat-arrow {
  position: absolute;
  top: 16px;
  right: 14px;
  width: 13px;
  color: #707a65;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
}
.dashboard-panel {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  padding: 24px;
  min-width: 0;
}
.dashboard-panel .section-title {
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.dashboard-panel .section-title .text-link {
  flex-shrink: 0;
}
.dashboard-panel .section-title p {
  font-size: 11px;
}
.dashboard-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 200px;
  padding: 4px 0;
}
.empty-orbit {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #eef3e3;
  border-radius: 12px;
  margin-bottom: 16px;
  color: #5a6a44;
}
.empty-orbit.lilac {
  background: #f0eaf6;
  color: #7c6295;
}
.dashboard-empty h3 {
  font-size: 16px;
  letter-spacing: -0.025em;
}
.dashboard-empty p {
  font-size: 12px;
  line-height: 1.8;
  margin: 7px 0 16px;
  max-width: 310px;
}
.dashboard-empty .btn {
  font-size: 11px;
  min-height: 38px;
}
.upcoming-list {
  display: grid;
}
.upcoming-item {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  padding: 14px 0;
  min-width: 0;
  width: 100%;
}
.upcoming-item + .upcoming-item {
  border-top: 1px solid #edf0e8;
}
.upcoming-item:hover .upcoming-copy strong {
  color: #695185;
}
.date-tile {
  background: #f0f3e9;
  width: 46px;
  height: 51px;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.date-tile strong {
  font: 600 21px/1.2 var(--heading);
}
.date-tile small {
  font-size: 9px;
  text-transform: uppercase;
}
.date-tile.overdue {
  color: #8b5038;
  background: #fcf0e7;
}
.upcoming-copy {
  flex: 1;
  min-width: 0;
}
.upcoming-copy strong,
.upcoming-copy small,
.brief-timing {
  display: block;
}
.upcoming-copy strong {
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.upcoming-copy small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.brief-timing {
  font-size: 10px;
  color: #63724e;
  margin-top: 5px;
}
.brief-timing.overdue {
  color: #92543b;
}
.stage-pill {
  border: 1px solid #e5e0ed;
  background: #f6f2fa;
  color: #6e5588;
  border-radius: 5px;
  padding: 3px 6px;
  font-size: 9px;
  flex-shrink: 0;
}
.upcoming-item > .icon {
  width: 12px;
  color: #78836c;
}
.story-list {
  margin-bottom: 14px;
}
.story-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}
.story-row + .story-row {
  border-top: 1px solid #edf0e8;
}
.story-thumbnail {
  width: 50px;
  height: 54px;
  border-radius: 8px;
  background: #f0ebf6;
  color: #806997;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.story-thumbnail [data-preview] {
  position: absolute;
  inset: 0;
}
.story-thumbnail img,
.story-thumbnail video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.story-row strong {
  font-size: 12px;
  display: block;
  overflow-wrap: anywhere;
}
.story-row small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.story-row > .icon {
  width: 14px;
}
.story-row:hover strong {
  color: #695185;
}
.dashboard-recent {
  margin-top: 32px;
}
.dashboard-recent > .empty {
  padding: 32px 20px;
  background: #f1f4eb;
  border: 1px dashed #cdd7bd;
  border-radius: 13px;
}
.dashboard-recent > .empty .empty-icon {
  margin-bottom: 15px;
}
.dashboard-footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 10px;
}
.dashboard-footnote .icon {
  width: 13px;
}
.dashboard-footnote a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-left: auto;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sync-status {
  color: #60724f;
  font-size: 10px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.sync-status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #78934e;
}
.sync-status[data-state="error"] {
  color: #9e4b37;
}
.sync-status[data-state="error"]::before {
  background: #ad5b42;
}
.sync-status[data-state="saving"]::before,
.sync-status[data-state="loading"]::before {
  background: #9b83bb;
}
.workspace-export {
  margin-top: 20px;
}
.storage-sync-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #566746;
  font-size: 12px;
}
#local-storage-summary {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}
#local-storage-summary .field-hint {
  margin-top: 18px;
}
.preview-unavailable .btn {
  margin-top: 20px;
}
#relink-status {
  font-size: 12px;
  color: #914333;
  max-width: 320px;
  margin-top: 12px;
}
.preview-missing {
  display: grid;
  place-items: center;
}
.preview-missing > span {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px;
  font-size: 10px;
  color: #606c56;
  background: #e8ebdf;
}
.story-thumbnail .preview-missing,
.selection-photo .preview-missing,
.clip-thumb .preview-missing {
  font-size: 0;
}
.story-thumbnail .preview-missing > span {
  font-size: 0;
}
.selection-photo {
  position: relative;
  overflow: hidden;
}
.selection-photo [data-preview] {
  position: absolute;
  inset: 0;
}
.selection-photo img,
.selection-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 1200px) {
  .dashboard .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .start-intro {
    padding: 25px;
  }
  .dashboard-stat {
    padding: 17px 13px;
    gap: 6px;
  }
  .dashboard-columns {
    gap: 16px;
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-panel {
    padding: 20px;
  }
  .stage-pill {
    display: none;
  }
}
@media (max-width: 760px) {
  .getting-started {
    grid-template-columns: 1fr;
  }
  .start-intro {
    gap: 18px;
  }
  .start-intro h2 {
    font-size: 27px;
  }
  .start-intro h2 br {
    display: none;
  }
  .start-intro h2 em {
    display: block;
  }
  .start-intro p,
  .setup-progress {
    max-width: none;
  }
  .start-steps {
    padding: 12px;
  }
  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0 22px;
  }
  .dashboard-stat {
    padding: 18px;
  }
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
  .dashboard-panel {
    padding: 22px;
  }
  .dashboard-empty {
    min-height: 175px;
  }
  .dashboard .heading-actions {
    width: 100%;
  }
  .dashboard .heading-actions .btn {
    flex: 1;
  }
  .workspace-ready {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .workspace-ready a {
    margin-left: 0;
  }
  .dashboard-footnote {
    line-height: 1.8;
  }
  .dashboard-footnote a {
    margin-left: 0;
    width: 100%;
  }
  .topbar-right {
    gap: 9px;
  }
  .sync-status {
    font-size: 9px;
    max-width: 105px;
    line-height: 1.35;
  }
  .sync-status::before {
    flex-shrink: 0;
  }
  .app-topbar .privacy-chip {
    display: none;
  }
  .preview-unavailable {
    padding: 20px;
  }
}
.nav-backdrop {
  display: none;
}
@media (max-width: 760px) {
  .nav-open .app-body:after {
    content: none;
  }
  .nav-open .nav-backdrop {
    display: block;
    position: fixed;
    inset: 60px 0 0 224px;
    background: #1b281833;
    z-index: 39;
  }
  .topbar-right > [data-action="refresh-workspace"] {
    display: inline-flex;
    width: 28px;
    height: 32px;
  }
}
