/* [project]/src/app/globals.css [app-client] (css) */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-border-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-font-family: var(--fg-font);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .visible {
    visibility: visible;
  }

  .sr-only {
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    overflow: hidden;
  }

  .sticky {
    position: sticky;
  }

  .block {
    display: block;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .table {
    display: table;
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .font-sans {
    font-family: var(--fg-font);
  }

  .break-all {
    word-break: break-all;
  }

  .line-through {
    text-decoration-line: line-through;
  }

  .underline {
    text-decoration-line: underline;
  }

  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }
}

:root {
  --fg-bg: #f5f3ee;
  --fg-bg-deep: #ece8df;
  --fg-surface: #fffdf9;
  --fg-surface-2: #faf8f3;
  --fg-ink: #1e2622;
  --fg-ink-2: #37423c;
  --fg-muted: #6b756f;
  --fg-faint: #939b95;
  --fg-line: #e2ddd3;
  --fg-line-strong: #cfc8bb;
  --fg-accent: #2f6f5e;
  --fg-accent-ink: #204d41;
  --fg-accent-soft: #e5efea;
  --fg-amber: #9a6b22;
  --fg-amber-soft: #f6eddc;
  --fg-danger: #a04432;
  --fg-danger-soft: #f7e8e4;
  --fg-info: #3c5f86;
  --fg-info-soft: #e8eef5;
  --fg-radius: 14px;
  --fg-radius-sm: 9px;
  --fg-shadow: 0 1px 2px #2028230a, 0 8px 24px -18px #20282347;
  --fg-font: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

* {
  border-color: var(--fg-line);
}

html {
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--fg-bg);
  color: var(--fg-ink);
  font-family: var(--fg-font);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.65;
}

::selection {
  background: var(--fg-accent-soft);
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  letter-spacing: -.01em;
  line-height: 1.3;
}

:focus-visible {
  outline: 2px solid var(--fg-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.app-frame {
  grid-template-columns: 1fr;
  min-height: 100dvh;
  display: grid;
}

@media (min-width: 900px) {
  .app-frame {
    grid-template-columns: 248px minmax(0, 1fr);
  }
}

@media (min-width: 1440px) {
  .app-frame {
    grid-template-columns: 272px minmax(0, 1fr);
  }
}

.sidebar {
  background: var(--fg-surface);
  border-right: 1px solid var(--fg-line);
  height: 100dvh;
  padding: 22px 16px 18px;
  display: none;
  position: sticky;
  top: 0;
  overflow-y: auto;
}

@media (min-width: 900px) {
  .sidebar {
    flex-direction: column;
    gap: 18px;
    display: flex;
  }
}

.main-col {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.topbar {
  z-index: 30;
  background: var(--fg-bg);
  position: sticky;
  top: 0;
}

@supports (color: color-mix(in lab, red, red)) {
  .topbar {
    background: color-mix(in srgb, var(--fg-bg) 88%, transparent);
  }
}

.topbar {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--fg-line);
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 16px;
  display: flex;
}

@media (min-width: 900px) {
  .topbar {
    padding: 12px 32px;
  }
}

.page {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 16px 96px;
}

@media (min-width: 900px) {
  .page {
    padding: 28px 32px 72px;
  }
}

@media (min-width: 1440px) {
  .page {
    padding: 32px 48px 80px;
  }
}

.page-wide {
  max-width: 1440px;
}

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

.brand-mark {
  background: var(--fg-accent);
  color: #fff;
  border-radius: 9px;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}

.brand-title {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
}

.brand-sub {
  color: var(--fg-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 11px;
}

.nav-group {
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.nav-label {
  color: var(--fg-faint);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 10px 4px;
  font-size: 11px;
}

.nav-link {
  border-radius: var(--fg-radius-sm);
  color: var(--fg-ink-2);
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 9px 10px;
  font-size: 14px;
  transition: background-color .12s;
  display: flex;
}

.nav-link:hover {
  background: var(--fg-surface-2);
}

.nav-link[data-active="true"] {
  background: var(--fg-accent-soft);
  color: var(--fg-accent-ink);
  font-weight: 600;
}

.nav-link svg {
  opacity: .85;
  flex: none;
  width: 17px;
  height: 17px;
}

.mobile-nav {
  z-index: 40;
  background: var(--fg-surface);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

@supports (color: color-mix(in lab, red, red)) {
  .mobile-nav {
    background: color-mix(in srgb, var(--fg-surface) 96%, transparent);
  }
}

.mobile-nav {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--fg-line);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  display: grid;
}

@media (min-width: 900px) {
  .mobile-nav {
    display: none;
  }
}

.mobile-nav a {
  color: var(--fg-muted);
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-height: 48px;
  padding: 6px 2px;
  font-size: 10.5px;
  display: flex;
}

.mobile-nav a[data-active="true"] {
  color: var(--fg-accent-ink);
  background: var(--fg-accent-soft);
  font-weight: 600;
}

.mobile-nav svg {
  width: 20px;
  height: 20px;
}

.mobile-menu {
  position: relative;
}

.mobile-menu > summary {
  cursor: pointer;
  border: 1px solid var(--fg-line);
  background: var(--fg-surface);
  border-radius: 10px;
  place-items: center;
  width: 40px;
  height: 40px;
  list-style: none;
  display: grid;
}

.mobile-menu > summary::-webkit-details-marker {
  display: none;
}

.mobile-menu-panel {
  background: var(--fg-surface);
  border: 1px solid var(--fg-line);
  border-radius: var(--fg-radius);
  width: min(84vw, 320px);
  box-shadow: var(--fg-shadow);
  max-height: 70dvh;
  padding: 10px;
  position: absolute;
  top: 48px;
  left: 0;
  overflow-y: auto;
}

@media (min-width: 900px) {
  .mobile-menu {
    display: none;
  }
}

.panel {
  background: var(--fg-surface);
  border: 1px solid var(--fg-line);
  border-radius: var(--fg-radius);
  box-shadow: var(--fg-shadow);
}

.panel-pad {
  padding: 18px;
}

@media (min-width: 700px) {
  .panel-pad {
    padding: 22px;
  }
}

.panel-head {
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  display: flex;
}

.panel-title {
  font-size: 15px;
  font-weight: 650;
}

.panel-sub {
  color: var(--fg-muted);
  font-size: 12.5px;
}

.page-head {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 22px;
  display: flex;
}

.page-title {
  letter-spacing: -.02em;
  font-size: clamp(22px, 4.2vw, 30px);
  font-weight: 700;
}

.page-desc {
  color: var(--fg-muted);
  max-width: 62ch;
  margin-top: 6px;
  font-size: 14px;
}

.eyebrow {
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-faint);
  font-size: 11px;
  font-weight: 600;
}

.btn {
  border: 1px solid var(--fg-line-strong);
  background: var(--fg-surface);
  min-height: 40px;
  color: var(--fg-ink);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color .12s, border-color .12s;
  display: inline-flex;
}

.btn:hover {
  background: var(--fg-surface-2);
}

.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--fg-accent);
  border-color: var(--fg-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--fg-accent-ink);
  border-color: var(--fg-accent-ink);
}

.btn-ghost {
  background: none;
  border-color: #0000;
}

.btn-ghost:hover {
  background: var(--fg-surface-2);
}

.btn-danger {
  color: var(--fg-danger);
  background: var(--fg-danger-soft);
  border-color: #dfc3ba;
}

.btn-sm {
  min-height: 34px;
  padding: 5px 11px;
  font-size: 12.5px;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.badge {
  background: var(--fg-surface-2);
  border: 1px solid var(--fg-line);
  color: var(--fg-ink-2);
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
}

.badge[data-tone="accent"] {
  background: var(--fg-accent-soft);
  color: var(--fg-accent-ink);
  border-color: #cfe0d8;
}

.badge[data-tone="amber"] {
  background: var(--fg-amber-soft);
  color: var(--fg-amber);
  border-color: #ead8b6;
}

.badge[data-tone="danger"] {
  background: var(--fg-danger-soft);
  color: var(--fg-danger);
  border-color: #e6c9c0;
}

.badge[data-tone="info"] {
  background: var(--fg-info-soft);
  color: var(--fg-info);
  border-color: #ccd9e8;
}

.dot {
  background: currentColor;
  border-radius: 999px;
  width: 6px;
  height: 6px;
  display: inline-block;
}

.stat {
  border-radius: var(--fg-radius);
  background: var(--fg-surface);
  border: 1px solid var(--fg-line);
  padding: 16px;
}

.stat-value {
  letter-spacing: -.02em;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}

.stat-label {
  color: var(--fg-muted);
  margin-top: 6px;
  font-size: 12px;
}

.stat-note {
  color: var(--fg-faint);
  margin-top: 8px;
  font-size: 11.5px;
}

.grid {
  gap: 14px;
  display: grid;
}

.grid-2, .grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 760px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.split {
  grid-template-columns: 1fr;
  gap: 18px;
  display: grid;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .split {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
    align-items: start;
  }

  .split-reverse {
    grid-template-columns: minmax(260px, 1fr) minmax(0, 1.4fr);
  }
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
    align-items: start;
  }

  .split-reverse {
    grid-template-columns: minmax(280px, 1fr) minmax(0, 1.65fr);
  }
}

.field {
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
  display: flex;
}

.field > label, .field-label {
  color: var(--fg-ink-2);
  font-size: 12.5px;
  font-weight: 600;
}

.field-hint {
  color: var(--fg-muted);
  font-size: 11.5px;
}

.input, .select, .textarea {
  border: 1px solid var(--fg-line-strong);
  background: var(--fg-surface);
  width: 100%;
  min-height: 42px;
  color: var(--fg-ink);
  border-radius: 10px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 14px;
}

.textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.input:focus, .select:focus, .textarea:focus {
  outline: 2px solid var(--fg-accent);
}

@supports (color: color-mix(in lab, red, red)) {
  .input:focus, .select:focus, .textarea:focus {
    outline: 2px solid color-mix(in srgb, var(--fg-accent) 35%, transparent);
  }
}

.input:focus, .select:focus, .textarea:focus {
  outline-offset: 0;
  border-color: var(--fg-accent);
}

.input::placeholder, .textarea::placeholder {
  color: var(--fg-faint);
}

.checkbox-row {
  align-items: flex-start;
  gap: 9px;
  padding: 10px 0;
  font-size: 13px;
  display: flex;
}

.checkbox-row input {
  min-width: 18px;
  min-height: 18px;
  accent-color: var(--fg-accent);
  margin-top: 2px;
}

.form-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  display: flex;
}

.table-wrap {
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--fg-line);
  border-radius: var(--fg-radius);
  background: var(--fg-surface);
  overflow-x: auto;
}

.data-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 13.5px;
}

.data-table th {
  text-align: left;
  letter-spacing: .04em;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--fg-line);
  background: var(--fg-surface-2);
  white-space: nowrap;
  padding: 10px 14px;
  font-size: 11.5px;
  font-weight: 600;
}

.data-table td {
  border-bottom: 1px solid var(--fg-line);
  vertical-align: top;
  padding: 12px 14px;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: var(--fg-surface-2);
}

.record-card {
  border: 1px solid var(--fg-line);
  border-radius: var(--fg-radius);
  background: var(--fg-surface);
  padding: 16px;
  transition: border-color .12s, background-color .12s;
  display: block;
}

.record-card:hover {
  border-color: var(--fg-line-strong);
  background: var(--fg-surface-2);
}

.timeline {
  flex-direction: column;
  gap: 0;
  display: flex;
  position: relative;
}

.timeline-item {
  padding: 0 0 22px 26px;
  position: relative;
}

.timeline-item:before {
  content: "";
  background: var(--fg-line);
  width: 1px;
  position: absolute;
  top: 7px;
  bottom: -4px;
  left: 5px;
}

.timeline-item:last-child:before {
  display: none;
}

.timeline-dot {
  border: 2px solid var(--fg-surface);
  background: var(--fg-accent);
  width: 11px;
  height: 11px;
  box-shadow: 0 0 0 1px var(--fg-accent);
  border-radius: 50%;
  position: absolute;
  top: 5px;
  left: 0;
}

.timeline-date {
  color: var(--fg-muted);
  font-size: 11.5px;
}

.empty-state {
  text-align: center;
  color: var(--fg-muted);
  border: 1px dashed var(--fg-line-strong);
  border-radius: var(--fg-radius);
  background: var(--fg-surface-2);
  padding: 34px 20px;
}

.empty-state svg {
  width: 26px;
  height: 26px;
  color: var(--fg-faint);
  margin: 0 auto 8px;
}

.empty-title {
  color: var(--fg-ink-2);
  font-size: 14px;
  font-weight: 600;
}

.empty-desc {
  margin-top: 4px;
  font-size: 12.5px;
}

.notice {
  border: 1px solid var(--fg-line);
  background: var(--fg-surface-2);
  color: var(--fg-ink-2);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
}

.notice[data-tone="warn"] {
  background: var(--fg-amber-soft);
  border-color: #ead8b6;
}

.notice[data-tone="danger"] {
  background: var(--fg-danger-soft);
  color: var(--fg-danger);
  border-color: #e6c9c0;
}

.notice[data-tone="accent"] {
  background: var(--fg-accent-soft);
  border-color: #cfe0d8;
}

.divider {
  background: var(--fg-line);
  height: 1px;
  margin: 18px 0;
}

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

.faint {
  color: var(--fg-faint);
}

.small {
  font-size: 12.5px;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.clamp-2 {
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.clamp-3 {
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.progress {
  background: var(--fg-bg-deep);
  border-radius: 999px;
  height: 7px;
  overflow: hidden;
}

.progress > span {
  background: var(--fg-accent);
  border-radius: 999px;
  height: 100%;
  display: block;
}

.chip-row {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.cover {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--fg-bg-deep);
  border-radius: 10px;
  width: 100%;
}

.thumb {
  object-fit: cover;
  background: var(--fg-bg-deep);
  border: 1px solid var(--fg-line);
  border-radius: 7px;
  flex: none;
  width: 54px;
  height: 42px;
}

.avatar {
  background: var(--fg-accent-soft);
  width: 34px;
  height: 34px;
  color: var(--fg-accent-ink);
  border-radius: 50%;
  flex: none;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  display: grid;
}

.hero {
  border: 1px solid var(--fg-line);
  background: var(--fg-surface);
  border-radius: 18px;
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 760px) {
  .hero {
    padding: 34px;
  }
}

.hero-kicker {
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-accent);
  font-size: 11.5px;
  font-weight: 700;
}

.hero-title {
  letter-spacing: -.03em;
  max-width: 18ch;
  margin-top: 10px;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
}

.hero-copy {
  color: var(--fg-muted);
  max-width: 56ch;
  margin-top: 12px;
  font-size: 14.5px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  display: flex;
}

.hero-aside {
  border-left: 2px solid var(--fg-accent-soft);
  color: var(--fg-muted);
  padding-left: 16px;
  font-size: 12.5px;
}

.rule-list {
  color: var(--fg-ink-2);
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
}

.rule-list li {
  margin-bottom: 7px;
}

.domain-bar {
  border-bottom: 1px solid var(--fg-line);
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  display: flex;
}

.domain-bar:last-child {
  border-bottom: 0;
}

.domain-code {
  color: var(--fg-accent);
  flex: none;
  width: 26px;
  font-size: 11px;
  font-weight: 700;
}

.level-pill {
  background: var(--fg-bg-deep);
  color: var(--fg-ink-2);
  border-radius: 6px;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  font-size: 11.5px;
  font-weight: 650;
  display: inline-flex;
}

.level-pill[data-level="L3"], .level-pill[data-level="L4"], .level-pill[data-level="L5"] {
  background: var(--fg-accent-soft);
  color: var(--fg-accent-ink);
}

.level-pill[data-level="NOT_OBSERVED"], .level-pill[data-level="INSUFFICIENT_EVIDENCE"] {
  background: var(--fg-surface-2);
  color: var(--fg-muted);
  border: 1px dashed var(--fg-line-strong);
}

.level-pill[data-level="PENDING_REVIEW"] {
  background: var(--fg-amber-soft);
  color: var(--fg-amber);
}

@media (max-width: 899px) {
  .btn, .btn-sm, .input, .select, .mobile-menu > summary {
    min-height: 44px;
  }

  .btn-sm {
    padding: 7px 12px;
  }

  .checkbox-row {
    align-items: center;
    min-height: 44px;
  }

  .checkbox-row input {
    min-width: 20px;
    min-height: 20px;
  }
}

@media print {
  .sidebar, .topbar, .mobile-nav, .no-print {
    display: none !important;
  }

  .app-frame {
    display: block;
  }

  .page {
    max-width: none;
    padding: 0;
  }

  body {
    background: #fff;
    font-size: 11pt;
  }

  .panel, .record-card {
    box-shadow: none;
    break-inside: avoid;
  }
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

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