/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --bg: #fafaf9;
  --card: #fff;
  --border: #e7e5e4;
  --text: #1c1917;
  --text-dim: #78716c;
  --p0: #dc2626;
  --p1: #d97706;
  --p2: #a8a29e;
  --ok: #16a34a;
  --warn: #d97706;
  --down: #dc2626;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, PingFang SC, Hiragino Sans GB, Microsoft YaHei, sans-serif;
  line-height: 1.6;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--card);
  z-index: 10;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 1.5rem;
  display: flex;
  position: sticky;
  top: 0;
}

.brand {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-sub {
  color: var(--text-dim);
  margin-left: .25rem;
  font-weight: 400;
}

.site-header nav {
  gap: 1.25rem;
  display: flex;
}

.nav-link {
  color: var(--text-dim);
  font-size: .9rem;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--text);
}

.site-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.5rem;
}

.page-title {
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.item-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: .6rem;
  padding: .85rem 1rem;
}

.item-meta {
  color: var(--text-dim);
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: .3rem;
  font-size: .78rem;
  display: flex;
}

.item-title {
  font-size: .95rem;
  font-weight: 600;
}

.item-title a {
  color: var(--text);
  text-decoration: none;
}

.item-title a:hover {
  text-decoration: underline;
}

.item-content {
  color: var(--text-dim);
  margin-top: .25rem;
  font-size: .85rem;
}

.priority-badge {
  color: #fff;
  border-radius: 4px;
  padding: .05rem .4rem;
  font-size: .7rem;
  font-weight: 700;
  display: inline-block;
}

.priority-P0 {
  background: var(--p0);
}

.priority-P1 {
  background: var(--p1);
}

.priority-P2 {
  background: var(--p2);
}

.subtype-badge {
  color: #fff;
  border-radius: 4px;
  padding: .05rem .4rem;
  font-size: .7rem;
  font-weight: 600;
  display: inline-block;
}

.subtype-series {
  background: #7c6cd9;
}

.subtype-movie {
  background: #4d8fd1;
}

.alt-links {
  color: var(--text-dim);
  margin-top: .35rem;
  font-size: .78rem;
}

.alt-links summary {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.alt-links a {
  color: var(--text-dim);
  padding: .1rem 0;
  text-decoration: none;
  display: block;
}

.alt-links a:hover {
  color: var(--text);
  text-decoration: underline;
}

.tag {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: 10px;
  padding: 0 .45rem;
  font-size: .72rem;
  display: inline-block;
}

.date-group {
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  margin: 1.25rem 0 .6rem;
  padding-bottom: .25rem;
  font-size: .85rem;
  font-weight: 700;
}

.source-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: .75rem;
  padding: 1rem;
}

.health-ok {
  color: var(--ok);
  font-weight: 600;
}

.health-degraded {
  color: var(--warn);
  font-weight: 600;
}

.health-down {
  color: var(--down);
  font-weight: 600;
}

.report-row {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  margin-bottom: .6rem;
  padding: .85rem 1rem;
  text-decoration: none;
  display: block;
}

.report-row:hover {
  border-color: var(--text-dim);
}

.report-summary {
  color: var(--text-dim);
  margin-top: .25rem;
  font-size: .82rem;
}

.report-body {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  font-size: .9rem;
}

.report-body h1 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.report-body h2 {
  margin: 1.25rem 0 .5rem;
  font-size: 1rem;
}

.report-body ul {
  padding-left: 1.25rem;
}

.report-body table {
  border-collapse: collapse;
  margin: .5rem 0;
}

.report-body th, .report-body td {
  border: 1px solid var(--border);
  padding: .25rem .6rem;
  font-size: .85rem;
}

.run-button {
  background: var(--text);
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  padding: .45rem 1rem;
  font-size: .85rem;
}

.run-button:disabled {
  opacity: .5;
  cursor: wait;
}

.run-log {
  color: var(--text-dim);
  white-space: pre-wrap;
  margin-top: .5rem;
  font-size: .8rem;
}

.empty {
  color: var(--text-dim);
  text-align: center;
  padding: 2rem 0;
  font-size: .9rem;
}

.item-status-read .item-title, .item-status-noted .item-title {
  color: var(--text-dim);
  font-weight: 400;
}

.item-status-archived {
  opacity: .55;
  border-style: dashed;
}

.item-actions {
  gap: .4rem;
  margin-top: .45rem;
  display: flex;
}

.action-button {
  color: var(--text-dim);
  border: 1px solid var(--border);
  cursor: pointer;
  background: none;
  border-radius: 5px;
  padding: .1rem .5rem;
  font-size: .72rem;
}

.action-button:hover:not(:disabled) {
  color: var(--text);
  border-color: var(--text-dim);
}

.action-button:disabled {
  opacity: .5;
  cursor: wait;
}

.action-button.is-active {
  color: var(--p0);
  border-color: var(--p0);
}

.action-done {
  color: var(--ok);
  margin-left: .5rem;
  font-size: .72rem;
}

.filter-bar {
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin: .5rem 0 .25rem;
  display: flex;
}

.filter-link {
  color: var(--text-dim);
  border: 1px solid #0000;
  border-radius: 10px;
  padding: .05rem .5rem;
  font-size: .78rem;
  text-decoration: none;
}

.filter-link:hover {
  color: var(--text);
}

.filter-link.active {
  color: var(--text);
  background: var(--card);
  border-color: var(--border);
  font-weight: 600;
}

.filter-sep {
  background: var(--border);
  width: 1px;
  height: 1rem;
  margin: 0 .35rem;
}

.section-title {
  margin: 1.4rem 0 .5rem;
  font-size: .95rem;
}

.watchlist-row {
  border: 1px solid var(--border);
  border-radius: 8px;
  align-items: center;
  gap: .6rem;
  margin-bottom: .4rem;
  padding: .35rem .5rem;
  display: flex;
}

.watchlist-row.status-watched {
  opacity: .55;
}

.watchlist-keyword {
  font-weight: 600;
}

.tag-groups {
  gap: .3rem;
  margin: .5rem 0 .25rem;
  display: grid;
}

.tag-group {
  align-items: flex-start;
  gap: .5rem;
  display: flex;
}

.tag-group-label {
  color: var(--text-dim);
  text-align: justify;
  text-align-last: justify;
  flex: none;
  min-width: 2.5em;
  font-size: .72rem;
  line-height: 1.6rem;
}

.tag-chip {
  color: var(--text-dim);
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 10px;
  padding: .02rem .45rem;
  font-size: .72rem;
  text-decoration: none;
}

.tag-chip:hover {
  color: var(--text);
}

.tag-chip.active {
  color: var(--text);
  border-color: var(--text-dim);
  font-weight: 600;
}

.search-form {
  gap: .4rem;
  margin: .5rem 0;
  display: flex;
}

.search-form input {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: 6px;
  flex: 1;
  padding: .35rem .6rem;
  font-size: .85rem;
}

.pager {
  justify-content: center;
  align-items: center;
  gap: .6rem;
  margin: 1.25rem 0 .5rem;
  font-size: .82rem;
  display: flex;
}

.pager a {
  color: var(--text-dim);
  text-decoration: none;
}

.pager a:hover {
  color: var(--text);
}

.pager .current {
  color: var(--text);
  font-weight: 600;
}

.login-wrap {
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem;
  display: flex;
}

.login-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  flex-direction: column;
  gap: .9rem;
  width: 100%;
  max-width: 22rem;
  padding: 2rem 1.5rem;
  display: flex;
}

.login-card .page-title {
  margin: 0;
}

.login-input {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 6px;
  padding: .55rem .75rem;
  font-size: .95rem;
}

.login-input:focus {
  outline: 2px solid var(--text);
  outline-offset: -1px;
}

.login-error {
  color: var(--down);
  font-size: .82rem;
}

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