/* [project]/apps/dashboard/src/app/globals.css [app-client] (css) */
:root {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --ink: #172a35;
  --muted: #61717a;
  --line: #dce5e5;
  --paper: #f5f8f6;
  --surface: #fff;
  --teal: #087c78;
  --teal-dark: #066863;
  --teal-soft: #e4f4f1;
  --coral: #bc594a;
  --coral-soft: #fff0ed;
  --shadow: 0 18px 50px #172a3514;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  min-width: 320px;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background: radial-gradient(ellipse at 82% 8%, #c8ebe27a, transparent 32rem),
    var(--paper);
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

a {
  color: var(--teal-dark);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: #034f4c;
}

button, input, select, textarea {
  font: inherit;
}

button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline-offset: 2px;
  outline: 3px solid #087c7857;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  letter-spacing: -.035em;
  line-height: 1.15;
}

h1 {
  margin-bottom: .65rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h2 {
  margin-bottom: .75rem;
  font-size: 1.3rem;
}

h3 {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.landing, .auth-page {
  width: min(1120px, 100% - 40px);
  margin: 0 auto;
}

.landing-header, .auth-card-header, .dashboard-topbar, .topbar-actions, .landing-actions, .brand, .resource-actions, .resource-card-heading, .quick-link-card {
  align-items: center;
  display: flex;
}

.landing-header {
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
}

.brand {
  color: var(--ink);
  gap: 11px;
  font-size: 1.08rem;
  font-weight: 750;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  color: #fff;
  background: var(--teal);
  letter-spacing: .02em;
  border-radius: 12px;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: .76rem;
  font-weight: 800;
  display: grid;
}

.landing-actions, .topbar-actions {
  gap: 12px;
}

.button {
  cursor: pointer;
  text-align: center;
  border: 1px solid #0000;
  border-radius: 11px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  font-weight: 680;
  text-decoration: none;
  transition: background .15s, border-color .15s, transform .15s;
  display: inline-flex;
}

.button:not(:disabled):hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: .6;
}

.button-primary {
  color: #fff;
  background: var(--teal);
}

.button-primary:not(:disabled):hover {
  color: #fff;
  background: var(--teal-dark);
}

.button-quiet {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}

.button-quiet:not(:disabled):hover {
  color: var(--ink);
  background: #f7fbfa;
  border-color: #b6ccca;
}

.button-danger {
  color: #9e3f33;
  background: var(--coral-soft);
  border-color: #f0c7c0;
}

.button-danger:not(:disabled):hover {
  color: #843328;
  background: #ffe4df;
  border-color: #e8a9a0;
}

.button-large {
  min-height: 50px;
  padding: 12px 21px;
}

.button-full {
  width: 100%;
}

.hero {
  max-width: 770px;
  padding: clamp(72px, 13vw, 150px) 0 110px;
}

.eyebrow {
  color: var(--teal-dark);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-size: .76rem;
  font-weight: 800;
}

.hero h1 {
  letter-spacing: -.065em;
  max-width: 720px;
  font-size: clamp(2.5rem, 7vw, 5rem);
}

.hero-description {
  max-width: 610px;
  color: var(--muted);
  margin: 0 0 28px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  align-items: center;
  gap: 22px;
  display: flex;
}

.text-link {
  font-weight: 700;
}

.hero-note {
  color: var(--muted);
  align-items: center;
  gap: 10px;
  margin-top: 68px;
  font-size: .9rem;
  display: flex;
}

.status-dot {
  background: #d68a5f;
  border-radius: 50%;
  flex: none;
  width: 9px;
  height: 9px;
  box-shadow: 0 0 0 4px #f7eadf;
}

.landing-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 32px;
}

.legal-review-content {
  max-width: 860px;
  padding: 48px 0 84px;
}

.legal-review-content h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.legal-review-intro {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-review-notice {
  border: 1px solid #f0c7c0;
  border-left: 4px solid var(--coral);
  background: var(--coral-soft);
  border-radius: 14px;
  margin: 26px 0 30px;
  padding: 18px 20px;
}

.legal-review-notice p {
  margin: 8px 0 0;
}

.legal-document-list {
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.legal-document-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
  padding: 24px;
}

.legal-document-card h2 {
  margin-bottom: 8px;
}

.legal-document-card > p {
  color: var(--muted);
  margin-bottom: 0;
}

.legal-document-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  display: flex;
}

.legal-review-back {
  margin-top: 26px;
}

.locale-switcher {
  border: 1px solid var(--line);
  background: #f8fbfa;
  border-radius: 10px;
  gap: 2px;
  padding: 3px;
  display: inline-flex;
}

.locale-switcher form {
  display: contents;
}

.locale-switcher legend {
  float: left;
  width: 0;
  height: 0;
}

.locale-switcher button {
  min-width: 38px;
  min-height: 30px;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 7px;
  padding: 4px 8px;
  font-size: .76rem;
  font-weight: 800;
}

.locale-switcher button[aria-pressed="true"] {
  color: var(--teal-dark);
  background: #fff;
  box-shadow: 0 1px 3px #172a351a;
}

.auth-page {
  place-items: center;
  min-height: 100vh;
  padding: 42px 0;
  display: grid;
}

.auth-card {
  width: min(100%, 470px);
  box-shadow: var(--shadow);
  background: #fffffff0;
  border: 1px solid #dce5e5cc;
  border-radius: 24px;
  padding: clamp(24px, 6vw, 42px);
}

.auth-card-header {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.auth-card h1 {
  font-size: clamp(2rem, 5vw, 2.6rem);
}

.muted {
  color: var(--muted);
}

.auth-card > .muted {
  margin-bottom: 28px;
}

.stack-form {
  gap: 17px;
  display: grid;
}

.form-actions {
  flex-wrap: wrap;
  gap: 12px;
  display: flex;
}

.field {
  color: #344852;
  gap: 7px;
  font-size: .88rem;
  font-weight: 680;
  display: grid;
}

.field input, .field select, .field textarea {
  width: 100%;
  min-height: 44px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd9d9;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 450;
}

.field textarea {
  resize: vertical;
  min-height: 78px;
}

.checkbox-field {
  color: #344852;
  align-items: flex-start;
  gap: 11px;
  font-size: .9rem;
  display: flex;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  accent-color: var(--teal);
  flex: none;
  margin: 1px 0 0;
}

.checkbox-field span {
  gap: 3px;
  display: grid;
}

.checkbox-field small {
  color: var(--muted);
}

.field input::placeholder, .field textarea::placeholder {
  color: #8a9a9f;
}

.form-link {
  justify-self: center;
  font-size: .9rem;
}

.form-message {
  color: var(--teal-dark);
  margin: 0;
  font-size: .9rem;
  font-weight: 600;
}

.form-message-error {
  color: #9e3f33;
}

.auth-footer {
  color: var(--muted);
  text-align: center;
  border-top: 1px solid #e8eeee;
  gap: 11px;
  margin-top: 28px;
  padding-top: 21px;
  font-size: .9rem;
  display: grid;
}

.auth-footer p {
  margin: 0;
}

.subtle-link {
  color: var(--muted);
  font-size: .85rem;
}

.dashboard-shell {
  grid-template-columns: 252px minmax(0, 1fr);
  min-height: 100vh;
  display: grid;
}

.sidebar {
  border-right: 1px solid var(--line);
  background: #fbfdfc;
  flex-direction: column;
  height: 100vh;
  padding: 28px 19px 22px;
  display: flex;
  position: sticky;
  top: 0;
}

.sidebar-brand {
  padding: 4px 8px 30px;
}

.side-nav {
  gap: 6px;
  display: grid;
}

.side-nav a, .side-nav span {
  color: #53656e;
  border-radius: 10px;
  align-items: center;
  min-height: 44px;
  padding: 9px 12px;
  font-weight: 650;
  text-decoration: none;
  display: flex;
}

.side-nav a:hover, .side-nav a[href="/dashboard"] {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.side-nav span[aria-disabled="true"] {
  color: #96a2a6;
  cursor: not-allowed;
}

.sidebar-footnote {
  color: #7d8c91;
  margin: auto 8px 0;
  font-size: .78rem;
}

.dashboard-main {
  min-width: 0;
}

.dashboard-topbar {
  border-bottom: 1px solid var(--line);
  background: #ffffffc2;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 12px clamp(20px, 4vw, 48px);
}

.account-email {
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .86rem;
  overflow: hidden;
}

.dashboard-content {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(25px, 4vw, 48px);
}

.page-stack {
  gap: 24px;
  display: grid;
}

.page-heading {
  margin-bottom: 2px;
}

.page-heading h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.page-heading .muted {
  max-width: 760px;
  margin-bottom: 0;
}

.stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}

.stat-card, .notice-card, .quick-link-card, .resource-card, .empty-state {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 17px;
  box-shadow: 0 6px 20px #172a3508;
}

.stat-card {
  gap: 4px;
  padding: 22px;
  display: grid;
}

.stat-value {
  color: var(--teal-dark);
  letter-spacing: -.05em;
  font-size: 2rem;
  font-weight: 780;
}

.stat-label {
  color: var(--muted);
  font-size: .87rem;
}

.notice-card {
  background: #fffaf5;
  border-color: #edd9c9;
  align-items: flex-start;
  gap: 15px;
  padding: 22px;
  display: flex;
}

.notice-card h2 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.notice-card p {
  color: #6f6a61;
  max-width: 760px;
  margin-bottom: 0;
  font-size: .9rem;
}

.quick-links {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  display: grid;
}

.quick-link-card {
  min-height: 104px;
  color: var(--ink);
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  text-decoration: none;
}

.quick-link-card:hover {
  color: var(--ink);
  box-shadow: var(--shadow);
  border-color: #b6ccca;
}

.quick-link-card > span:nth-child(2) {
  flex: 1;
  gap: 5px;
  display: grid;
}

.quick-link-card small {
  color: var(--muted);
}

.quick-link-icon {
  width: 39px;
  height: 39px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  border-radius: 12px;
  place-items: center;
  font-size: .74rem;
  font-weight: 800;
  display: grid;
}

.resource-card {
  padding: clamp(19px, 3vw, 27px);
}

.create-card h2 {
  margin-bottom: 19px;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 16px;
  display: grid;
}

.form-grid-action, .align-start {
  justify-self: start;
}

.resource-list {
  gap: 16px;
  display: grid;
}

.resource-card-heading {
  justify-content: space-between;
  gap: 18px;
}

.resource-card-heading h2 {
  margin-bottom: 0;
}

.resource-card-heading .eyebrow {
  margin-bottom: 7px;
}

.version-pill, .unsaved-label {
  color: #53656e;
  text-align: right;
  background: #f0f4f3;
  border-radius: 999px;
  max-width: 50%;
  padding: 6px 10px;
  font-size: .72rem;
  font-weight: 700;
}

.unsaved-label {
  color: #8b5a2a;
  background: #fff3e3;
}

.feature-fieldset {
  border: 0;
  min-width: 0;
  margin: 2px 0 0;
  padding: 0;
}

.feature-fieldset legend {
  color: #344852;
  margin-bottom: 10px;
  font-size: .88rem;
  font-weight: 700;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 9px;
  display: grid;
}

.check-field {
  color: #4e6068;
  border: 1px solid #e4ebeb;
  border-radius: 9px;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 10px;
  font-size: .84rem;
  font-weight: 550;
  display: flex;
}

.check-field input {
  width: 17px;
  height: 17px;
  accent-color: var(--teal);
}

.resource-actions {
  flex-wrap: wrap;
  gap: 9px;
}

.community-metadata {
  border-top: 1px solid #e8eeee;
  border-bottom: 1px solid #e8eeee;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 14px 0;
  display: grid;
}

.community-metadata dt {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 650;
}

.community-metadata dd {
  overflow-wrap: anywhere;
  margin: 3px 0 0;
}

.community-follow-form {
  border-top: 1px solid #e8eeee;
  margin-top: 20px;
  padding-top: 20px;
}

.community-report {
  border-top: 1px solid #e8eeee;
  margin-top: 18px;
  padding-top: 16px;
}

.community-report summary {
  color: #53656e;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 650;
}

.community-report form {
  margin-top: 16px;
}

.form-note {
  color: var(--muted);
  margin: -10px 0 0;
  font-size: .84rem;
}

.empty-state {
  color: var(--muted);
  text-align: center;
  padding: 28px;
}

.device-details {
  border-top: 1px solid #e8eeee;
  border-bottom: 1px solid #e8eeee;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 14px 0;
  display: grid;
}

.device-details dt {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 650;
}

.device-details dd {
  overflow-wrap: anywhere;
  margin: 3px 0 0;
}

.list-editor {
  border-top: 1px solid #e8eeee;
  gap: 16px;
  margin-top: 22px;
  padding-top: 22px;
  display: grid;
}

.rule-list {
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.rule-list li {
  background: #fbfdfc;
  border: 1px solid #e6eded;
  border-radius: 9px;
  grid-template-columns: minmax(125px, .7fr) minmax(0, 2fr) 34px;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 6px 9px 6px 12px;
  display: grid;
}

.rule-kind {
  color: #54676e;
  font-size: .78rem;
  font-weight: 650;
}

.rule-list code {
  overflow-wrap: anywhere;
  color: #344852;
  font-size: .84rem;
}

.icon-button {
  color: #9e3f33;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  font-size: 1.35rem;
  line-height: 1;
}

.icon-button:hover {
  background: var(--coral-soft);
}

.entry-form {
  grid-template-columns: minmax(190px, 1fr) minmax(180px, 1.3fr) auto;
  align-items: end;
  gap: 12px;
  padding-top: 4px;
  display: grid;
}

.sign-out-control {
  position: relative;
}

.sign-out-control .form-message {
  width: max-content;
  max-width: 260px;
  position: absolute;
  top: 100%;
  right: 0;
}

.visually-hidden {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

@media (max-width: 880px) {
  .dashboard-shell {
    display: block;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    height: auto;
    padding: 14px 20px;
    position: static;
  }

  .sidebar-brand {
    padding: 0 3px 14px;
  }

  .side-nav {
    gap: 3px;
    padding-bottom: 2px;
    display: flex;
    overflow-x: auto;
  }

  .side-nav a, .side-nav span {
    min-width: max-content;
    min-height: 38px;
    padding: 7px 10px;
    font-size: .82rem;
  }

  .sidebar-footnote {
    display: none;
  }

  .dashboard-topbar {
    min-height: 65px;
  }
}

@media (max-width: 620px) {
  .landing, .auth-page {
    width: min(100% - 28px, 520px);
  }

  .landing-header {
    min-height: 74px;
  }

  .landing-actions {
    gap: 7px;
  }

  .landing-actions .button {
    min-height: 37px;
    padding: 7px 10px;
    font-size: .8rem;
  }

  .hero {
    padding: 78px 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .hero-note {
    margin-top: 43px;
  }

  .legal-review-content {
    padding: 36px 0 60px;
  }

  .legal-document-card {
    padding: 20px;
  }

  .legal-document-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-page {
    align-items: start;
    padding: 18px 0;
  }

  .auth-card {
    border-radius: 18px;
    padding: 23px;
  }

  .auth-card-header {
    margin-bottom: 31px;
  }

  .dashboard-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 20px;
  }

  .topbar-actions {
    justify-content: space-between;
    width: 100%;
  }

  .dashboard-content {
    padding: 24px 16px 38px;
  }

  .stats-grid, .quick-links, .form-grid, .device-details {
    grid-template-columns: 1fr;
  }

  .form-grid-action {
    justify-self: stretch;
  }

  .form-grid-action, .create-card .button {
    width: 100%;
  }

  .resource-card-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .version-pill, .unsaved-label {
    text-align: left;
    max-width: 100%;
  }

  .entry-form {
    grid-template-columns: 1fr;
  }

  .entry-form .button {
    width: 100%;
  }

  .rule-list li {
    grid-template-columns: 1fr 32px;
    gap: 4px 8px;
  }

  .rule-kind {
    grid-column: 1 / -1;
  }

  .rule-list code {
    grid-row: 2;
  }

  .rule-list .icon-button {
    grid-area: 2 / 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

.activity-disclosure {
  background: #f3fbf8;
  border-color: #c8dcd7;
}

.activity-settings-grid {
  align-items: start;
}

.activity-settings-actions {
  min-height: 42px;
}

.activity-settings-footer {
  border-top: 1px solid #e8eeee;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  display: flex;
}

.activity-retention-form {
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  display: flex;
}

.activity-retention-form .field {
  width: min(220px, 100%);
}

.activity-toolbar {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
  display: grid;
}

.activity-toolbar-actions {
  justify-content: flex-end;
}

.activity-status {
  color: #53656e;
  background: #f0f4f3;
  border-radius: 999px;
  align-items: center;
  padding: 5px 9px;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.35;
  display: inline-flex;
}

.activity-status-active, .activity-status-allowed {
  color: #176253;
  background: #e4f4ed;
}

.activity-status-blocked {
  color: #9c3e34;
  background: #fff0ed;
}

.activity-status-pending {
  color: #805a25;
  background: #fff4df;
}

.activity-table-scroll {
  border: 1px solid #e4ebeb;
  border-radius: 12px;
  overflow-x: auto;
}

.activity-table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
  min-width: 880px;
}

.activity-table th, .activity-table td {
  vertical-align: middle;
  border-bottom: 1px solid #e8eeee;
  padding: 13px 14px;
}

.activity-table thead th {
  color: #53656e;
  background: #f7faf9;
  font-size: .76rem;
  font-weight: 700;
}

.activity-table tbody tr:last-child > * {
  border-bottom: 0;
}

.activity-table tbody th {
  font-weight: 650;
}

.activity-channel-cell {
  min-width: 200px;
}

.activity-channel-handle {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 450;
}

.activity-row-actions {
  flex-wrap: nowrap;
}

.button-small {
  min-height: 34px;
  padding: 6px 10px;
  font-size: .8rem;
}

.activity-load-more {
  justify-content: center;
  margin-top: 18px;
  display: flex;
}

.activity-empty-state {
  margin-top: 4px;
}

@media (max-width: 720px) {
  .activity-settings-footer, .activity-retention-form {
    flex-direction: column;
    align-items: stretch;
  }

  .activity-retention-form .field, .activity-retention-form .button, .activity-settings-footer > .button {
    width: 100%;
  }

  .activity-toolbar-actions {
    justify-content: flex-start;
  }
}

/*# sourceMappingURL=apps_dashboard_src_app_globals_10wo9x12izmgl.css.map*/