:root {
--background: #ffffff;
  --foreground: #0a0a0a;
  --card: #ffffff;
  --card-foreground: #0a0a0a;
  --popover: #ffffff;
  --popover-foreground: #0a0a0a;
  --primary: #171717;
  --primary-foreground: #fafafa;
  --secondary: #f5f5f5;
  --secondary-foreground: #171717;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --accent: #f5f5f5;
  --accent-foreground: #171717;
  --destructive: #e7000b;
  --destructive-foreground: #ffffff;
  --border: #e5e5e5;
  --input: #e5e5e5;
  --ring: #a1a1a1;
  --sidebar: #fafafa;
  --sidebar-foreground: #0a0a0a;
  --sidebar-primary: #171717;
  --sidebar-primary-foreground: #fafafa;
  --sidebar-accent: #f5f5f5;
  --sidebar-accent-foreground: #171717;
  --sidebar-border: #e5e5e5;
  --sidebar-ring: #a1a1a1;
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  --radius: 0.625rem;
  --shadow-2xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
  --shadow-xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
  --shadow-sm: 0 1px 3px 0px hsl(0 0% 0% / 0.1),
    0 1px 2px -1px hsl(0 0% 0% / 0.1);
  --shadow: 0 1px 3px 0px hsl(0 0% 0% / 0.1),
    0 1px 2px -1px hsl(0 0% 0% / 0.1);
  --shadow-md: 0 1px 3px 0px hsl(0 0% 0% / 0.1),
    0 2px 4px -1px hsl(0 0% 0% / 0.1);
  --shadow-lg: 0 1px 3px 0px hsl(0 0% 0% / 0.1),
    0 4px 6px -1px hsl(0 0% 0% / 0.1);
  --shadow-xl: 0 1px 3px 0px hsl(0 0% 0% / 0.1),
    0 8px 10px -1px hsl(0 0% 0% / 0.1);
  --shadow-2xl: 0 1px 3px 0px hsl(0 0% 0% / 0.25);

  --bg: var(--background);
  --bg-soft: var(--card);
  --ink: var(--foreground);
  --muted: var(--muted-foreground);
  --line: var(--border);
  --accent-dark: var(--primary);
  --accent-soft: var(--accent);
  --shadow-soft: var(--shadow-sm);
}
*,
*::before,
*::after {
box-sizing: border-box;
}
body {
margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
button,
input,
textarea {
font-family: inherit;
}
:where(button, a, input, textarea, select):focus-visible {
outline: 3px solid #2563eb;
  outline-offset: 3px;
}
.dashboard {
min-height: 100vh;
  background: var(--sidebar);
}
.top-banner {
background: var(--primary);
  color: var(--primary-foreground);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  height: 40px;
}
.banner-text {
position: absolute;
  display: inline-block;
  animation: banner-slide-in 0.5s ease forwards;
}
@keyframes banner-slide-up-out {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-16px); }
}
@keyframes banner-slide-up-in {
  0%   { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes banner-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
.ad-message-track {
animation: none;
}

}
.app-shell {
--shell-sidebar-width: 260px;
  --shell-gap: 24px;
  display: grid;
  grid-template-columns: var(--shell-sidebar-width) 1fr 340px;
  gap: var(--shell-gap);
  padding: 20px 24px 24px;
  height: calc(100vh - 44px);
}
.app-shell > * {
min-width: 0;
}
.app-shell.is-ad-dismissed {
grid-template-columns: var(--shell-sidebar-width) 1fr;
}
.sidebar {
background: transparent;
  color: var(--sidebar-foreground);
  border-radius: 0;
  padding: 12px 14px 24px;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 0;
  align-self: stretch;
  height: 100%;
  min-height: 0;
  max-height: calc(100vh - 44px);
  overflow: auto;
}
.nav {
display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav-section {
display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-title {
display: flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-foreground);
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-title .material-symbols-outlined {
font-size: 16px;
  font-variation-settings: "wght" 500, "FILL" 0;
}
.nav-items {
display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 0;
}
.nav-section.is-collapsed .nav-items {
display: none;
}
.sidebar-signup {
margin-top: auto;
  border: 1px solid var(--sidebar-border);
  border-radius: 16px;
  padding: 16px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  aspect-ratio: auto;
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
}
.signup-title {
margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
}
.signup-pill {
width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--foreground);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 13px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.signup-pill:hover {
box-shadow: var(--shadow-md);
  border-color: var(--ring);
}
.signup-pill:active {
box-shadow: var(--shadow-xs);
}
.signup-copy {
margin: 0;
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.35;
}
.main {
display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  max-height: 100%;
  overflow: hidden;
  height: 100%;
}
.main-scroll {
display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 12px 28px 24px 24px;
  overflow: auto;
  height: 100%;
  scrollbar-gutter: stable both-edges;
}
.main-scroll::-webkit-scrollbar {
width: 10px;
}
.main-scroll::-webkit-scrollbar-track {
background: transparent;
}
.main-scroll::-webkit-scrollbar-track-piece:start {
margin-top: 12px;
}
.main-scroll::-webkit-scrollbar-track-piece:end {
margin-bottom: 12px;
}
.topbar {
display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.topbar-row {
display: flex;
  align-items: center;
}
.topbar-row--menu {
display: none;
}
.page-title-group {
display: flex;
  align-items: center;
  gap: 12px;
}
.page-title {
font-size: 22px;
  font-weight: 600;
}
.topbar-actions {
display: flex;
  gap: 12px;
  align-items: center;
}
#sidebarToggle {
display: none;
}
.intro-copy {
padding: 2px 0 0;
  margin: 0 0 0 0;
}
.intro-copy p {
margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
.form-card {
margin-top: 0;
}
.icon-btn {
border: none;
  background: none;
  padding: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border-radius: 8px;
}
.icon-btn:hover {
background: var(--secondary);
}
.icon-btn:disabled {
opacity: 0.5;
  cursor: progress;
}
.icon-btn .material-symbols-outlined {
font-size: 18px;
  line-height: 1;
}
.pill-dashed {
border: 1px dashed var(--border);
  background: var(--secondary);
  color: var(--foreground);
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 13px;
}
.pill-dashed .pill-icon {
width: 26px;
  height: 26px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--primary);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  color: var(--primary-foreground);
  box-shadow: var(--shadow-xs);
}
.typewriter-wrap {
display: inline-block;
  min-width: 190px;
  text-align: left;
  white-space: nowrap;
}
.typewriter-text {
display: inline;
}
.typewriter-cursor {
display: inline-block;
  width: 1px;
  height: 1.15em;
  margin-left: 2px;
  background: currentColor;
  vertical-align: -0.16em;
  animation: typewriter-cursor-blink 1.05s steps(1, end) infinite;
}
@keyframes typewriter-cursor-blink {
  0%,
  52% {
    opacity: 1;
  }
  53%,
  100% {
    opacity: 0;
  }
}
.topbar,
.page-title-group {
display: flex !important;
}
.ad-sheet-handle {
display: none;
}
.ad-sheet-label {
display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.ad-sheet-label .material-symbols-outlined {
font-size: 20px;
  font-variation-settings: 'wght' 600;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.ad-panel {
position: sticky;
  top: 24px;
  align-self: start;
  max-height: calc(100vh - 48px);
  min-height: 520px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  padding: 24px 22px 72px;
}
.ad-panel-showcase {
display: contents;
}
.ad-panel.is-hidden {
display: none;
}
.ad-panel-header {
display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ad-panel-title {
display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1f2937;
  font-size: 24px;
  font-weight: 750;
  line-height: 1.1;
}
.ad-panel-title .material-symbols-outlined {
color: #7c3aed;
  font-size: 30px;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 32;
}
.ad-panel-close {
width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #111827;
  display: none;
  place-items: center;
  cursor: pointer;
}
.ad-panel-close:hover,
.ad-panel-close:focus-visible {
background: var(--secondary);
  outline: none;
}
.ad-panel-close .material-symbols-outlined {
font-size: 34px;
  font-variation-settings: "wght" 300, "FILL" 0;
}
.ad-message-stack {
position: relative;
  width: 100%;
  height: min(48vh, 380px);
  min-height: 260px;
  margin-top: 22px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.ad-message-track {
display: grid;
  gap: 10px;
  animation: ad-message-scroll 18s linear infinite;
}
.ad-message-stack:hover .ad-message-track,
.ad-message-stack:focus-within .ad-message-track {
animation-play-state: paused;
}
.ad-message-track img {
display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: var(--shadow-xs);
}
.ad-panel-copy {
margin-top: auto;
  padding-top: 28px;
  display: grid;
  gap: 7px;
  text-align: center;
}
.ad-panel-copy h2 {
margin: 0 auto;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  padding: 8px 16px;
  color: #1f2937;
  font-family: "IBM Plex Mono", var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-url-domain {
color: #8a929f;
}
.ad-you-word {
display: inline-block;
  min-width: 54px;
  text-align: center;
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
  will-change: opacity, transform, filter;
}
.ad-you-word.is-exiting {
opacity: 0;
  transform: translateY(-8px);
  filter: blur(2px);
}
.ad-you-word.is-entering {
opacity: 0;
  transform: translateY(8px);
  filter: blur(2px);
}
.ad-panel-copy p {
margin: 0 0 16px;
  color: #5f6b7c;
  font-size: 14px;
  line-height: 1.4;
}
.ad-contact-line {
color: #7a8494;
  font-size: 14px;
  text-align: center;
  margin: 0;
}
.ad-contact-trigger {
appearance: none;
  border: 0;
  background: transparent;
  color: #111827;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  line-height: inherit;
  padding: 0 0 1px;
  border-bottom: 1px solid #c7ccd4;
  text-transform: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.ad-contact-trigger:hover,
.ad-contact-trigger:focus-visible {
color: #000000;
  border-color: #111827;
  outline: none;
}
.ad-contact-backdrop {
position: absolute;
  inset: 0;
  background: hsl(0 0% 0% / 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 2;
}
.ad-contact-backdrop.is-open {
opacity: 1;
  pointer-events: auto;
}
.ad-contact-sheet {
position: absolute;
  left: 18px;
  right: 18px;
  top: 50%;
  z-index: 3;
  display: grid;
  gap: 10px;
  padding: 10px 12px 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 48px hsl(0 0% 0% / 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.96);
  transition: opacity 0.2s ease, transform 0.24s ease;
}
.ad-contact-sheet.is-open {
opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}
.ad-contact-handle {
width: 36px;
  height: 4px;
  border-radius: 999px;
  background: #d4d4d4;
  justify-self: center;
}
.ad-contact-head {
display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 650;
  color: var(--foreground);
}
.ad-contact-close {
width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: var(--secondary);
  color: var(--foreground);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.ad-contact-close .material-symbols-outlined {
font-size: 20px;
}
.ad-contact-form {
display: grid;
  gap: 8px;
  text-align: left;
}
.ad-contact-form input,
.ad-contact-form textarea {
width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--foreground);
  font-size: 13px;
  line-height: 1.35;
  padding: 10px 12px;
  box-shadow: var(--shadow-xs);
}
.ad-contact-form textarea {
resize: none;
}
.ad-contact-form input:focus-visible,
.ad-contact-form textarea:focus-visible {
outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--ring) 25%, transparent);
}
.ad-contact-form button {
width: 100%;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: var(--primary-foreground);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  padding: 10px 12px;
}
.ad-contact-form button:hover,
.ad-contact-form button:focus-visible {
background: #000000;
  outline: none;
}
@keyframes ad-message-scroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}
.form-card {
display: grid;
  gap: 16px;
  background: var(--card);
  border: 2px solid rgba(17, 24, 39, 0.2);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 14px 32px hsl(0 0% 0% / 0.1);
}
.link-entry-form {
display: grid;
  gap: 14px;
}
.link-entry-form .field {
margin-bottom: 0;
}
.link-entry-form .form-intro-hint {
margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}
.link-entry-form input {
width: 100%;
}
.link-entry-form .cta {
width: 100%;
  min-height: 49px;
  padding: 14px 0;
}
.link-entry-form[data-state="creating"] .cta {
cursor: progress;
  opacity: 0.88;
}
.form-cta-note {
margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}
.guest-link-disclosure {
display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--secondary);
  color: var(--muted);
  box-shadow: var(--shadow-xs);
}
.guest-link-disclosure .material-symbols-outlined {
font-size: 18px;
  line-height: 1.35;
  color: var(--foreground);
}
.guest-link-disclosure p {
margin: 0;
  font-size: 12px;
  line-height: 1.5;
}
.cta {
flex: 1;
  border: 1px solid hsl(0 0% 10%);
  background: linear-gradient(180deg, hsl(0 0% 20%) 0%, hsl(0 0% 6%) 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 0;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 6px 14px hsl(0 0% 0% / 0.22), inset 0 1px 0 hsl(0 0% 100% / 0.08);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.cta:hover {
filter: brightness(1.06);
  box-shadow: 0 8px 18px hsl(0 0% 0% / 0.28), inset 0 1px 0 hsl(0 0% 100% / 0.1);
}
.cta:active {
transform: translateY(1px);
}
.cta:disabled {
transform: none;
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  .cta {
    transition: none;
  }
}
.links {
display: flex;
  flex-direction: column;
  gap: 16px;
}
.link-filter-bar {
display: inline-flex;
  align-items: center;
  gap: 28px;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
}
.link-filter-pill {
position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}
.link-filter-pill.is-active {
color: var(--foreground);
  box-shadow: none;
}
.link-filter-pill.is-active::after {
content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}
.link-card {
position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: 18px;
  border: 1px solid rgba(227, 231, 235, 0.95);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 14px;
  overflow: hidden;
}
.link-card > * {
position: relative;
  z-index: 1;
}
.link-card.is-example {
border-color: rgba(148, 163, 184, 0.34);
  padding-top: 34px;
  background: #ffffff;
}
.link-card.is-example::before {
content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 163, 184, 0.42) 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.34;
  pointer-events: none;
  z-index: 0;
}
.link-row {
display: flex;
  align-items: flex-start;
  gap: 14px;
}
.link-drag {
display: flex;
  align-items: center;
  padding-top: 2px;
  color: var(--muted);
  cursor: grab;
}
.link-drag .material-symbols-outlined {
font-size: 18px;
}
.link-info {
flex: 1;
  min-width: 0;
}
.link-title-row {
display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.link-title {
font-size: 16px;
  font-weight: 700;
}
.link-example-label {
position: absolute;
  top: 0;
  right: 18px;
  transform: translateY(-1px);
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 12px;
  border-radius: 0 0 8px 8px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-top: 0;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.link-url-row {
display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.link-short-row {
display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.link-short-url {
font-size: 14px;
  color: #111827;
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.copy-link-btn {
padding: 8px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.04);
}
.copy-link-btn:hover {
background: rgba(0, 0, 0, 0.08);
}
.link-url {
color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  max-width: 100%;
}
@keyframes banner-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 4px));
  }
}
.field {
display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.field:last-child {
margin-bottom: 0;
}
.field label {
font-size: 15px;
  font-weight: 600;
  color: var(--foreground);
}
.field-hint {
font-size: 12px;
  color: var(--muted);
  margin-top: -2px;
}
.field-error {
min-height: 18px;
  margin: -2px 0 0;
  color: #a51d2d;
  font-size: 12px;
  line-height: 1.45;
}
.field input[aria-invalid="true"] {
border-color: #c33b4d;
  box-shadow: 0 0 0 3px hsl(352 55% 48% / 0.12);
}
.field input {
border: 1px solid #d8d8d8;
  border-radius: 13px;
  padding: 12px 14px;
  font-family: inherit;
  background: #fbfbfb;
  color: var(--foreground);
  font-size: 15px;
  line-height: 1.4;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 1px 1px hsl(0 0% 0% / 0.06) inset, 0 1px 0 hsl(0 0% 100% / 0.7);
}
.field select {
border: 1px solid #d8d8d8;
  border-radius: 13px;
  padding: 12px 14px;
  font-family: inherit;
  background: #fbfbfb;
  color: var(--foreground);
  font-size: 15px;
  line-height: 1.4;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 1px 1px hsl(0 0% 0% / 0.06) inset, 0 1px 0 hsl(0 0% 100% / 0.7);
}
.field textarea {
border: 1px solid #d8d8d8;
  border-radius: 13px;
  padding: 12px 14px;
  font-family: inherit;
  background: #fbfbfb;
  color: var(--foreground);
  font-size: 15px;
  line-height: 1.4;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  resize: vertical;
  min-height: 90px;
  box-shadow: 0 1px 1px hsl(0 0% 0% / 0.06) inset, 0 1px 0 hsl(0 0% 100% / 0.7);
}
.field textarea:focus-visible {
outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--ring) 35%, transparent);
}
.field input[type="file"] {
padding: 6px;
  font-size: 13px;
}
.field input[type="file"]::file-selector-button {
font: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 10px;
  margin-right: 10px;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--foreground);
  cursor: pointer;
}
.field input:focus-visible {
outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--ring) 35%, transparent);
}
.field select:focus-visible {
outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--ring) 35%, transparent);
}
@keyframes modal-pop {
  from {
    transform: translateY(12px) scale(0.985);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (max-width: 980px) {
.app-shell {
grid-template-columns: 1fr;
    height: auto;
}
.sidebar {
position: relative;
    top: auto;
    height: auto;
    max-height: none;
    overflow: visible;
}
.main {
max-height: none;
    height: auto;
}
.main-scroll {
height: auto;
    scrollbar-gutter: auto;
    padding: 16px 20px 24px;
}
.ad-sheet-handle {
display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    background: none;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    width: 100%;
    min-height: 44px;
}
.ad-sheet-label {
display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.ad-panel:not(.is-collapsed) .ad-sheet-arrow {
transform: rotate(180deg);
}
.ad-panel {
position: fixed;
    inset: auto 0 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 88vh;
    min-height: 0;
    padding: 8px 20px 32px;
    gap: 8px;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -8px 40px hsl(0 0% 0% / 0.14);
    overflow: hidden;
    transition: max-height 0.52s cubic-bezier(0.32, 0.72, 0, 1),
      padding 0.42s cubic-bezier(0.32, 0.72, 0, 1);
}
.ad-panel-showcase {
display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: calc(88vh - 52px);
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition: max-height 0.52s cubic-bezier(0.32, 0.72, 0, 1),
      opacity 0.2s ease-out,
      transform 0.42s cubic-bezier(0.32, 0.72, 0, 1),
      visibility 0s linear;
}
.ad-panel.is-collapsed {
max-height: 62px;
    padding-top: 10px;
    padding-bottom: 10px;
    cursor: pointer;
    overflow: hidden;
}
.ad-panel.is-collapsed .ad-panel-showcase {
max-height: 0;
    opacity: 0;
    transform: translateY(12px);
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.42s cubic-bezier(0.32, 0.72, 0, 1),
      opacity 0.16s ease-in,
      transform 0.32s cubic-bezier(0.32, 0.72, 0, 1),
      visibility 0s linear 0.42s;
}
.ad-panel:not(.is-collapsed) {
overflow-y: auto;
}
.ad-panel-close {
display: none;
}
.ad-panel-header {
display: none;
}
.ad-panel-title {
display: none;
    font-size: 18px;
}
.ad-message-stack {
height: 168px;
    min-height: 168px;
    margin-top: 8px;
}
.ad-panel-copy {
display: grid;
    margin-top: 0;
    padding-top: 0;
}
.ad-contact-line {
width: 100%;
    max-width: 100%;
    padding-inline: 8px;
    overflow-wrap: anywhere;
}
@media (prefers-reduced-motion: reduce) {
  .ad-panel,
  .ad-panel-showcase,
  .ad-sheet-arrow {
    transition-duration: 0.01ms !important;
  }
}

}
@media (max-width: 1024px) {
.app-shell {
grid-template-columns: 1fr;
    padding: 12px;
    gap: 16px;
    height: auto;
}
.sidebar {
position: fixed;
    inset: 0 auto 0 0;
    width: min(280px, 85vw);
    background: var(--card);
    border-right: 1px solid var(--border);
    padding: 16px 12px 20px;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 30;
    max-height: 100vh;
    overflow: auto;
}
.sidebar.is-open {
transform: translateX(0);
}
.sidebar-overlay {
position: fixed;
    inset: 0;
    background: hsl(0 0% 0% / 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 20;
}
.sidebar-overlay.is-visible {
opacity: 1;
    pointer-events: auto;
}
.main {
padding: 0;
}
.ad-panel-close {
display: none;
}
.ad-panel-header {
display: none;
}
.ad-panel-title {
display: none;
    font-size: 18px;
}
.ad-message-stack {
height: 168px;
    min-height: 168px;
    margin-top: 8px;
}
.ad-panel-copy {
display: grid;
    margin-top: 0;
    padding-top: 0;
}
#sidebarToggle {
display: inline-flex;
}
.link-card {
position: relative;
    padding-right: 50px;
}
.link-filter-bar {
width: 100%;
}
.link-filter-pill {
flex: 1;
    justify-content: center;
}
.link-example-label {
right: auto;
    left: 50%;
    transform: translate(-50%, -1px);
}
.link-row {
flex-direction: row;
    align-items: flex-start;
}
.link-url,
.link-short-url {
display: block;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.link-url-row {
display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
    min-width: 0;
}
.link-short-row {
display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
    min-width: 0;
}
.copy-link-btn {
justify-self: end;
    flex-shrink: 0;
}
.topbar {
flex-direction: column;
    align-items: stretch;
    gap: 10px;
}
.topbar-row {
justify-content: space-between;
}
.page-title-group {
flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.topbar-row--menu {
display: flex;
    width: fit-content;
}

}
@media (max-height: 760px) {
.sidebar {
max-height: calc(100vh - 20px);
    overflow: auto;
    padding-bottom: 16px;
}
.sidebar-signup {
margin-top: auto;
}

}
.form-status {
min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.form-status[data-status="error"] {
color: #a51d2d;
}
.form-status[data-status="success"] {
color: #27643b;
}
.form-feedback {
display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 20px;
  margin-top: 8px;
}
.form-retry-button {
border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--card);
  color: var(--foreground);
  padding: 7px 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.form-retry-button[hidden] {
display: none;
}
.clipboard-fallback {
position: fixed;
  inset: auto auto 0 0;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.links > .link-filter-bar {
margin-bottom: 18px;
}
.links #linksList {
display: grid;
  gap: 14px;
}
.public-link-card {
overflow: hidden;
  gap: 0;
  padding: 14px;
}
.public-link-card .public-link-summary {
align-items: flex-start;
  gap: 10px;
}
.public-link-card .link-drag {
cursor: default;
}
.public-link-card .link-short-url {
color: var(--ink);
  text-decoration: none;
}
.link-field-label {
font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.link-destination-field {
display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 4px;
column-gap: 8px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  margin-top: 8px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f8fafc;
}
.public-link-card .link-url {
display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.public-link-card button.link-url {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.public-link-card .link-title {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.link-card-toolbar {
display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 0 0;
  border-top: 1px solid var(--line);
}
.guest-action-row {
display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.guest-action-button {
position: relative;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 7px;
  color: #747d89;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: color 120ms ease;
}
.guest-action-button:hover {
background: transparent;
  color: var(--ink);
}
.guest-action-button .material-symbols-outlined {
display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
}
.registered-preview-grid {
display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.registered-preview-button {
position: relative;
  width: 44px;
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 7px;
  color: #b5bbc4;
  cursor: pointer;
  transition: color 120ms ease;
}
.registered-preview-button:hover {
background: transparent;
  color: #8b929b;
}
.registered-preview-button .material-symbols-outlined {
display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
}
.guest-action-button::after,
.registered-preview-button::after {
content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 20;
  width: max-content;
  max-width: min(240px, calc(100vw - 32px));
  padding: 6px 8px;
  border-radius: 7px;
  background: #111827;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 120ms ease, transform 120ms ease;
}
.guest-action-button:hover::after,
.guest-action-button:focus-visible::after,
.registered-preview-button:hover::after,
.registered-preview-button:focus-visible::after {
opacity: 1;
  transform: translate(-50%, 0);
}
.registered-preview-button:last-child::after {
left: auto;
  right: 0;
  transform: translateY(4px);
}
.registered-preview-button:last-child:hover::after,
.registered-preview-button:last-child:focus-visible::after {
transform: translateY(0);
}
.public-click-count {
width: auto;
  min-width: 0;
  padding-inline: 4px 8px;
}
.public-click-count .material-symbols-outlined {
width: 19px;
  height: 19px;
  font-size: 19px;
}
.public-click-count strong {
white-space: nowrap;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1;
}
.card-live-status {
min-height: 0;
  padding: 0;
  color: #285a3b;
  font-size: 12px;
  font-weight: 600;
}
.card-live-status:not(:empty) {
min-height: 38px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-top: 1px solid var(--line);
}
.guest-empty-state {
border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 22px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.capability-dialog {
width: min(460px, calc(100vw - 28px));
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  padding: 28px;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}
.capability-dialog::backdrop {
background: rgba(10, 10, 10, 0.48);
  backdrop-filter: blur(2px);
}
.capability-dialog-close {
position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  cursor: pointer;
}
.capability-dialog-label {
display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 42px 7px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.capability-dialog-label .material-symbols-outlined {
font-size: 16px;
}
.capability-dialog h2 {
margin: 0 42px 8px 0;
  font-size: 24px;
}
.capability-dialog > p:not(.capability-dialog-label) {
margin: 0;
  color: var(--muted);
}
.capability-dialog-actions {
display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 22px;
}
.report-dialog {
width: min(520px, calc(100vw - 32px));
}
.report-form {
display: grid;
  gap: 14px;
  margin-top: 18px;
}
.report-form .field {
margin: 0;
}
.report-status {
min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.report-status[data-status="success"] {
color: #27643b;
}
.report-status[data-status="error"] {
color: #a51d2d;
}
.qr-showcase {
display: grid;
  justify-items: center;
  gap: 14px;
  margin: 18px 0 4px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--secondary);
}
.qr-showcase[hidden] {
display: none;
}
.qr-showcase-tabs {
display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  gap: 8px;
}
.qr-showcase-tabs button,
.qr-download-disabled {
border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--card);
  color: var(--muted);
  padding: 8px 10px;
  font: inherit;
  font-size: 12px;
}
.qr-placeholder {
position: relative;
  display: grid;
  grid-template-columns: repeat(3, 22px);
  grid-template-rows: repeat(3, 22px);
  place-items: center;
  width: 150px;
  height: 150px;
  border: 12px solid #fff;
  border-radius: 12px;
  background: #e5e7eb;
  box-shadow: var(--shadow-sm);
}
.qr-placeholder > span {
width: 18px;
  height: 18px;
  border: 5px solid #6b7280;
}
.qr-placeholder > span:nth-child(1) {
grid-area: 1 / 1;
}
.qr-placeholder > span:nth-child(2) {
grid-area: 1 / 3;
}
.qr-placeholder > span:nth-child(3) {
grid-area: 3 / 1;
}
.qr-placeholder strong {
position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-top: 38px;
  color: #374151;
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
}
.qr-showcase-lock {
display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}
.qr-showcase-lock .material-symbols-outlined {
font-size: 17px;
}
.qr-showcase ul {
margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.qr-download-disabled {
width: 100%;
  cursor: not-allowed;
}
.capability-primary,
.capability-secondary {
min-height: 40px;
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}
.capability-primary {
border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}
.capability-secondary {
border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
}
@media (max-width: 640px) {
.app-shell {
padding: 8px;
}

.main,
.main-scroll,
.form-card,
.link-entry-form,
.guest-link-disclosure {
width: 100%;
  max-width: 100%;
  min-width: 0;
}
.main-scroll {
padding: 14px 12px 24px;
}
.page-title-group,
.pill-dashed,
.typewriter-wrap {
min-width: 0;
  max-width: 100%;
}
.pill-dashed {
overflow: hidden;
}
.typewriter-wrap {
overflow: hidden;
  text-overflow: ellipsis;
}
.intro-copy p,
.form-cta-note,
.guest-link-disclosure p {
min-width: 0;
  overflow-wrap: anywhere;
}
.link-filter-bar {
gap: 12px;
}
.link-card {
padding-right: 18px;
}
.guest-action-button {
flex: 0 0 auto;
}
.public-link-card .public-link-summary {
display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
}
.link-card-toolbar {
align-items: flex-start;
}
.registered-preview-grid {
flex: 1 1 100%;
}
.capability-dialog-actions {
flex-direction: column-reverse;
}

}
/* ── Sidebar ── */
.sidebar {
  background: transparent;
  color: var(--sidebar-foreground);
  border-radius: 0;
  padding: 12px 14px 24px;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 0;
  align-self: stretch;
  height: 100%;
  min-height: 0;
  max-height: calc(100vh - 44px);
  overflow: auto;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px;
}

.brand-chip {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--primary-foreground);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-chip .material-symbols-outlined {
  font-size: 16px;
}

.brand-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--foreground);
}

.sidebar-primary {
  border: 1px solid var(--border);
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 999px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}

.sidebar-primary .material-symbols-outlined {
  font-size: 16px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0 12px;
}

.brand-info {
  flex: 1;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #0e1d19;
  color: #c9f1d8;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-mark .material-symbols-outlined {
  font-size: 20px;
}

.brand-handle {
  font-weight: 700;
  font-size: 14px;
  color: #1f2328;
}

.brand-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #b9b9b9;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.brand-avatar .material-symbols-outlined {
  font-size: 14px;
  font-variation-settings: "wght" 600, "FILL" 0;
}

/* ── Nav ── */
.nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-title {
  display: flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-foreground);
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-title .material-symbols-outlined {
  font-size: 16px;
  font-variation-settings: "wght" 500, "FILL" 0;
}

.nav-link {
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  color: var(--sidebar-foreground);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background: #e2e2e2;
  color: var(--sidebar-foreground);
}

.nav-icon {
  font-size: 16px;
  color: currentColor;
}

.nav-link.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

.nav-link .lock-icon {
  margin-left: auto;
  font-size: 16px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
  color: currentColor;
}

.nav-link:hover .lock-icon {
  opacity: 1;
  transform: scale(1);
}

.nav-link.is-locked:hover .lock-icon {
  opacity: 1;
  transform: scale(1);
}

.nav-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 0;
}

.nav-section.is-collapsed .nav-items {
  display: none;
}

/* ── Sidebar signup box ── */
.sidebar-signup {
  margin-top: auto;
  border: 1px solid var(--sidebar-border);
  border-radius: 16px;
  padding: 16px;
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  aspect-ratio: auto;
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
}

.signup-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
}

.signup-pill {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--foreground);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 13px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.signup-pill:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--ring);
}

.signup-pill:active {
  box-shadow: var(--shadow-xs);
}

.signup-copy {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.35;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 4px;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-xs);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--foreground);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
}

.user-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
}

.user-email {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Keep the off-canvas sidebar out of the single-column mobile grid. This
   override follows the shared sidebar styles intentionally. */
@media (max-width: 1024px), (hover: none), (pointer: coarse) {
  .sidebar {
    position: fixed;
    top: 0;
    height: 100vh;
    max-height: 100vh;
    align-self: auto;
  }
}
