:root {
  --green: #17695b;
  --ink: #233b35;
  --muted: #71807a;
  --line: #e1e7e0;
  --canvas: #f6f7f3;
  --white: #fff;
  --soft: #e8f0e9;
  --radius: 15px;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 32px;
  letter-spacing: -1.1px;
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 10px;
}
h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 17px;
  letter-spacing: -0.25px;
  font-weight: 600;
  margin-bottom: 8px;
}
p {
  line-height: 1.65;
}
small,
.muted {
  color: var(--muted);
}
small {
  font-size: 12px;
}
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shell {
  display: grid;
  grid-template-columns: 235px 1fr;
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 32px 20px 22px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.wordmark {
  display: grid;
  grid-template-columns: 36px max-content;
  align-items: center;
  gap: 2px 10px;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.7px;
}
.wordmark img {
  grid-row: span 2;
  width: 36px;
  height: 36px;
}
.wordmark sup {
  justify-self: start;
  font-size: 9px;
  font-weight: 500;
  padding: 3px 5px;
  background: var(--soft);
  color: var(--green);
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.sidebar .wordmark {
  font-size: 19px;
  gap: 2px 8px;
}
.wordmark span {
  white-space: nowrap;
}
.workspace-switch {
  padding: 14px 12px;
  background: #f7f8f4;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.workspace-switch select {
  border: 0;
  background: transparent;
  padding: 0;
  font-weight: 600;
  width: 100%;
  color: var(--ink);
  outline-offset: 7px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 9px;
  color: #6f7b75;
  font-weight: 500;
}
.nav a:hover {
  background: #f5f7f3;
  text-decoration: none;
}
.nav a.active {
  background: #e9f1eb;
  color: var(--green);
}
.nav .spacer {
  margin-top: 22px;
}
.sidebar-bottom {
  margin-top: auto;
}
.user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e4eadf;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.user strong {
  display: block;
  font-size: 12px;
}
.user small {
  font-size: 10px;
}
.icon-button {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.topbar {
  height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 44px;
  border-bottom: 1px solid var(--line);
  background: #ffffffb0;
}
.breadcrumbs {
  font-size: 12px;
  color: var(--muted);
}
.breadcrumbs span {
  padding: 0 13px;
  color: #b7c0b8;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #2c856b;
  border-radius: 50%;
  display: inline-block;
  margin-right: 7px;
}
.main {
  padding: 38px 44px 60px;
  max-width: 1600px;
  margin: auto;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}
.heading p {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 41px;
  border-radius: 8px;
  background: var(--green);
  color: white;
  padding: 10px 17px;
  font-weight: 550;
  font-size: 12px;
  white-space: nowrap;
  border: 1px solid transparent;
}
.button:hover {
  filter: brightness(0.95);
  text-decoration: none;
}
.button.secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}
.button.quiet {
  background: transparent;
  color: var(--green);
}
.button.danger {
  color: #a13c36;
  background: #fff2ef;
}
.button.small {
  min-height: 33px;
  padding: 7px 11px;
  font-size: 11px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 19px 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat .number {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -1px;
  display: block;
  margin-top: 8px;
}
.stat .stat-icon {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  background: #eff4ee;
  border-radius: 12px;
  color: #6f8d7b;
}
.stat small {
  font-size: 12px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 21px;
}
.tabs {
  display: flex;
  gap: 7px;
}
.tab {
  font-size: 12px;
  padding: 9px 13px;
  color: var(--muted);
  border-radius: 7px;
}
.tab.active {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 3px #163b2610;
  font-weight: 600;
}
.tab span {
  font-size: 10px;
  margin-left: 7px;
  background: #ebeee7;
  border-radius: 5px;
  padding: 2px 5px;
  color: var(--muted);
}
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  min-width: 240px;
  color: #8c9790;
}
.search input {
  border: 0;
  min-height: 36px;
  width: 100%;
  font-size: 12px;
  background: transparent;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.guide-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 3px 7px #29422e04;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px #29422e0c;
}
.cover {
  height: 175px;
  background: #d4dfd0 url("/coast.svg") center/cover;
  position: relative;
}
.guide-card:nth-child(3n + 2) .cover {
  background-position: right center;
  filter: hue-rotate(14deg);
}
.guide-card:nth-child(3n) .cover {
  background-position: left center;
  filter: hue-rotate(-12deg);
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge {
  font-size: 10px;
  font-weight: 600;
  padding: 5px 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  background: #edf4ed;
  color: #397858;
}
.badge.draft {
  background: #f6f0de;
  color: #8c7535;
}
.cover .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fffffff0;
  box-shadow: 0 1px 4px #00000008;
}
.card-body {
  padding: 19px 19px 14px;
}
.card-body h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.location {
  display: flex;
  gap: 5px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 20px;
}
.location .icon {
  width: 13px;
  height: 13px;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #88928a;
  margin-bottom: 16px;
}
.card-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  border-top: 1px solid #edf0e9;
  padding-top: 13px;
}
.card-footer a {
  font-size: 11px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.card-footer .icon {
  height: 13px;
  width: 13px;
}
.create-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed #cbd6c9;
  border-radius: 13px;
  background: #f0f4ed77;
  color: var(--ink);
  padding: 25px;
  text-align: center;
}
.create-card .plus {
  height: 45px;
  width: 45px;
  border-radius: 50%;
  background: #e4eddf;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #76916e;
  margin-bottom: 18px;
}
.create-card strong {
  font-size: 14px;
  font-weight: 550;
  margin-bottom: 9px;
}
.create-card p {
  font-size: 11px;
  color: var(--muted);
  max-width: 200px;
}
.hint-strip {
  margin-top: 27px;
  background: #edf2e9;
  border: 1px solid #e1e9db;
  display: flex;
  align-items: center;
  gap: 13px;
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 11px;
  line-height: 1.6;
  color: #64745d;
}
.hint-strip strong {
  color: #40573d;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 20px;
}
.panel p {
  font-size: 13px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
}
.panel-heading h2 {
  margin: 0;
  font-size: 19px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px 12px;
  border-bottom: 1px solid #eef1eb;
  font-size: 12px;
}
td .subtitle {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: var(--muted);
}
tr:last-child td {
  border: 0;
}
.empty {
  text-align: center;
  color: var(--muted);
  padding: 45px 25px;
}
.empty h3 {
  color: var(--ink);
}
.two-col {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 17px;
  font-size: 12px;
  font-weight: 550;
}
.field input,
.field select,
.field textarea {
  border: 1px solid #dce3d9;
  border-radius: 7px;
  padding: 11px 12px;
  min-width: 0;
  background: #fff;
  color: var(--ink);
  width: 100%;
  font-size: 13px;
  font-weight: 400;
}
.field textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.65;
}
.field input[type="color"] {
  height: 43px;
  padding: 5px;
}
.field small {
  font-weight: 400;
  line-height: 1.5;
}
.form-grid .field {
  margin: 0;
}
.form-grid + .field {
  margin-top: 18px;
}
.full {
  grid-column: 1/-1;
}
.form-actions {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 24px;
}
.form-actions .left {
  margin-right: auto;
}
.separator {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
.error {
  color: #9b3d33;
  background: #fff1ee;
  padding: 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.6;
  margin: 12px 0;
}
.error:empty {
  display: none;
}
.note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.callout {
  background: #f1f5ed;
  border: 1px solid #e1e9d9;
  border-radius: 9px;
  padding: 15px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #56704b;
  line-height: 1.7;
}
.code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f1f4ef;
  padding: 16px;
  border-radius: 8px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.7;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 8px 0;
  font-size: 12px;
}
.check-row input {
  accent-color: var(--green);
}
.check-row .detail {
  flex: 1;
}
.check-row small {
  display: block;
  margin-top: 4px;
}
.check-row button {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-story {
  background: #e9eee2;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-story h1 {
  font-size: 52px;
  max-width: 470px;
  line-height: 1.12;
  letter-spacing: -2px;
  margin: 70px 0 18px;
}
.auth-story p {
  color: #687a65;
  max-width: 390px;
}
.auth-art {
  height: 220px;
  background: url("/coast.svg") center 65% / cover;
  border-radius: 16px;
  margin-top: 30px;
}
.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 35px;
  background: white;
}
.auth-box {
  width: 100%;
  max-width: 390px;
}
.auth-box h2 {
  font-size: 28px;
  margin-bottom: 8px;
}
.auth-box p {
  color: var(--muted);
  font-size: 13px;
}
.auth-box form {
  margin-top: 25px;
}
.auth-box .button {
  width: 100%;
}
.auth-box .form-grid {
  gap: 10px;
}
.auth-box .note {
  margin-top: 22px;
  text-align: center;
}
.auth-box .demo {
  margin-top: 18px;
  background: #f1f5ed;
  border: 1px solid #dde8d4;
  border-radius: 10px;
  padding: 14px;
}
.auth-box .demo p {
  font-size: 11px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.brand-preview {
  border-radius: 14px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  max-width: 350px;
  margin: 0 auto;
}
.brand-preview .preview-cover {
  height: 170px;
  background: url("/coast.svg") center/cover;
}
.brand-preview .preview-body {
  padding: 23px;
}
.brand-preview h3 {
  font-size: 24px;
}
.brand-preview p {
  color: var(--muted);
  font-size: 12px;
}
.brand-preview .brand-name {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-name img {
  max-width: 110px;
  max-height: 40px;
}
.brand-preview .button {
  width: 100%;
}
.library-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.library-card .category {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8a967d;
  margin-bottom: 14px;
}
.library-card p {
  font-size: 12px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 58px;
}
.library-card .card-footer {
  margin-top: 20px;
}
.loading {
  display: grid;
  place-items: center;
  min-height: 80vh;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: 0 24px 100px #16372930;
  width: min(720px, 95vw);
  max-height: 92vh;
  padding: 0;
  color: var(--ink);
}
dialog::backdrop {
  background: #173e3455;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 27px;
  border-bottom: 1px solid var(--line);
}
.dialog-head h2 {
  font-size: 20px;
  margin: 0;
}
.dialog-content {
  padding: 25px 27px;
}
.dialog-head button {
  font-size: 25px;
  line-height: 1;
  padding: 3px 7px;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: var(--ink);
  color: white;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 13px;
  box-shadow: 0 8px 30px #0002;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 100;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.footer-note {
  font-size: 10px;
  color: #9aa393;
  text-align: center;
  margin-top: 32px;
}
.mobile-brand {
  display: none;
}
.demo-label {
  font-size: 10px;
  padding: 5px 9px;
  border: 1px solid #dbe4d1;
  border-radius: 6px;
  color: #718066;
}
.inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tint {
  color: var(--green);
}
.link-button {
  text-decoration: underline;
  font-size: 12px;
  color: var(--green);
  padding: 0;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hidden {
  display: none !important;
}
@media (min-width: 1500px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .cover {
    height: 190px;
  }
}
@media (max-width: 1150px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sidebar {
    padding: 25px 14px;
  }
  .shell {
    grid-template-columns: 205px 1fr;
  }
  .main {
    padding: 30px;
  }
  .topbar {
    padding: 0 30px;
  }
  .sidebar .wordmark {
    font-size: 17px;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .auth-story {
    padding: 40px;
  }
  .auth-story h1 {
    font-size: 42px;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    height: auto;
    position: static;
    display: block;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar > .wordmark,
  .sidebar-bottom {
    display: none;
  }
  .workspace-switch {
    padding: 10px 12px;
    margin-bottom: 10px;
  }
  .workspace-switch .eyebrow {
    display: none;
  }
  .nav {
    flex-direction: row;
    overflow: auto;
    gap: 4px;
  }
  .nav a {
    padding: 9px 11px;
    white-space: nowrap;
    font-size: 11px;
  }
  .nav .icon {
    width: 16px;
    height: 16px;
  }
  .nav .spacer {
    margin: 0;
  }
  .topbar {
    height: 52px;
    padding: 0 20px;
  }
  .topbar .top-actions .muted {
    display: none;
  }
  .main {
    padding: 25px 18px;
  }
  .heading {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
  }
  h1 {
    font-size: 27px;
  }
  .heading p {
    font-size: 12px;
  }
  .heading .button {
    padding: 9px 12px;
    font-size: 11px;
  }
  .stats {
    gap: 8px;
    margin-bottom: 22px;
  }
  .stat {
    padding: 13px 12px;
  }
  .stat .stat-icon {
    display: none;
  }
  .stat .number {
    font-size: 25px;
  }
  .stat small {
    font-size: 10px;
  }
  .toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
  }
  .tabs {
    gap: 3px;
  }
  .tab {
    font-size: 11px;
    padding: 8px;
  }
  .grid {
    gap: 14px;
  }
  .cover {
    height: 135px;
  }
  .card-body {
    padding: 14px;
  }
  .card-body h3 {
    font-size: 15px;
  }
  .card-meta {
    gap: 8px;
  }
  .card-footer {
    flex-wrap: wrap;
  }
  .create-card {
    min-height: 300px;
  }
  .auth {
    grid-template-columns: 1fr;
  }
  .auth-story {
    padding: 25px;
    min-height: 200px;
  }
  .auth-story h1 {
    font-size: 32px;
    margin: 25px 0 10px;
    max-width: 400px;
  }
  .auth-story p,
  .auth-art {
    display: none;
  }
  .auth-panel {
    padding: 32px 23px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 20px;
  }
  .dialog-content {
    padding: 20px;
  }
  .dialog-head {
    padding: 20px;
  }
  .two-col {
    gap: 8px;
  }
}
@media (max-width: 420px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .cover {
    height: 180px;
  }
  .create-card {
    min-height: 190px;
  }
  .heading {
    flex-direction: column;
  }
  .heading .button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
