html {
  overflow-x: hidden;
  max-width: 100%;
}

.pt-page {
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.pt-main {
  position: relative;
  padding: 1.25rem 0 2rem;
  min-width: 0;
  max-width: 100%;
}

.hero-bg {
  overflow: hidden;
}

.pt-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.75rem;
  padding: 0.45rem 0.85rem;
  border-bottom: 2px solid var(--foreground);
  background: color-mix(in oklch, var(--background) 92%, transparent);
  backdrop-filter: blur(12px);
}

.pt-logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.pt-logo span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pt-icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 9999px;
  border: 2px solid var(--foreground);
  background: var(--pop);
}

.pt-icon-sm {
  width: 1.75rem;
  height: 1.75rem;
}

.pt-nav {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.pt-lang {
  display: inline-flex;
  align-items: center;
}

.pt-lang select {
  max-width: 7.6rem;
  min-height: 2rem;
  padding: 0.2rem 0.4rem;
  border: 2px solid var(--foreground);
  border-radius: 0.6rem;
  background: var(--background);
  color: var(--foreground);
  font: inherit;
  font-size: 0.75rem;
}

.pt-nav a:hover,
.pt-nav a[aria-current="page"] {
  color: var(--foreground);
}

.pt-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 72rem;
  box-sizing: border-box;
  margin: 0 auto 1.5rem;
  padding: 1.25rem 0.85rem 0;
  border-top: 2px solid var(--foreground);
  color: var(--muted);
  font-size: 0.78rem;
}

.pt-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 900;
  color: var(--foreground);
}

.pt-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pt-shell {
  position: relative;
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 72rem;
  min-width: 0;
  box-sizing: border-box;
  padding-left: 0.85rem;
  padding-right: 0.85rem;
  margin-left: auto;
  margin-right: auto;
}

.pt-stage {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 28rem;
  padding: 1rem 0.85rem 1.25rem;
  border: 2px solid var(--foreground);
  border-radius: 1.5rem;
  background: var(--card);
  box-shadow: 5px 5px 0 0 var(--foreground);
  container-type: inline-size;
  overflow-x: hidden;
}

.pt-stage #app {
  min-width: 0;
  max-width: 100%;
}

.pt-stage h2 {
  margin: 0.15rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.pt-ad {
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 2px dashed color-mix(in oklch, var(--foreground) 28%, transparent);
  border-radius: 1.25rem;
  background: color-mix(in oklch, var(--card) 70%, transparent);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.pt-ad-side {
  display: none;
}

.pt-ad-mobile {
  width: min(72rem, calc(100% - 1.7rem));
  margin: 1rem auto 0;
}

.pt-lead,
.pt-muted {
  color: var(--muted);
}

.pt-login-logo {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 1rem;
  border-radius: 1.25rem;
  border: 2px solid var(--foreground);
  background: var(--cream);
  box-shadow: 4px 4px 0 0 var(--foreground);
}

.pt-login > p {
  margin: 0 0 0.75rem;
  max-width: 40rem;
  line-height: 1.8;
}

.pt-login .pt-actions {
  margin: 1.1rem 0 0.7rem;
}

.pt-login-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.35rem;
  align-items: stretch;
}

.pt-login-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 1rem 1.1rem 1.15rem;
  border: 2px solid var(--foreground);
  border-radius: 1.25rem;
  background: var(--secondary);
  box-shadow: 3px 3px 0 0 var(--foreground);
}

.pt-login-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
}

.pt-login-panel ul {
  margin: 0.55rem 0 0;
  padding: 0 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.pt-login-panel li + li {
  margin-top: 0.32rem;
}

.pt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.pt-actions-split {
  justify-content: space-between;
  align-items: stretch;
}

.pt-stage .btn-pop,
.pt-stage .btn-ghost,
.pt-dialog .btn-pop,
.pt-dialog .btn-ghost {
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 1.05rem;
  font-size: 0.8125rem;
}

.pt-btn-danger {
  color: oklch(0.45 0.16 25);
  border-color: oklch(0.45 0.16 25);
}

.pt-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.pt-card {
  display: block;
  padding: 1.1rem 1.2rem;
  border: 2px solid var(--foreground);
  border-radius: 1.25rem;
  background: var(--secondary);
  box-shadow: 4px 4px 0 0 var(--foreground);
  transition: transform 0.15s, box-shadow 0.15s;
}

a.pt-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 2px 2px 0 0 var(--foreground);
  background: var(--card);
}

.pt-card h3 {
  margin: 0.1rem 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
}

.pt-table-wrap {
  overflow-x: hidden;
  margin-top: 0.35rem;
  border: 2px solid var(--foreground);
  border-radius: 1.15rem;
  background: var(--card);
  box-shadow: 4px 4px 0 0 var(--foreground);
}

.pt-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.pt-table th,
.pt-table td {
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid color-mix(in oklch, var(--foreground) 14%, transparent);
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pt-table th:nth-child(1),
.pt-table td:nth-child(1) {
  width: 2.6rem;
  white-space: nowrap;
}

.pt-table th:nth-child(2),
.pt-table td:nth-child(2) {
  width: auto;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
}

.pt-table th:nth-child(3),
.pt-table td:nth-child(3),
.pt-table th:nth-child(4),
.pt-table td:nth-child(4),
.pt-table th:nth-child(5),
.pt-table td:nth-child(5) {
  width: 5.4rem;
}

.pt-table th:nth-child(6),
.pt-table td:nth-child(6) {
  width: 6.4rem;
}

.pt-table th:nth-child(7),
.pt-table td:nth-child(7),
.pt-table th:nth-child(8),
.pt-table td:nth-child(8) {
  width: 6.8rem;
}

.pt-table th {
  background: var(--secondary);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

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

.pt-table a {
  color: var(--pop-2);
  font-weight: 700;
}

.pt-table a:hover {
  text-decoration: underline;
}

.pt-ticket-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.pt-ticket-card {
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem 1rem;
  border: 2px solid var(--foreground);
  border-radius: 1.15rem;
  background: var(--secondary);
  box-shadow: 3px 3px 0 0 var(--foreground);
}

.pt-ticket-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.pt-ticket-card-top,
.pt-ticket-card-meta,
.pt-ticket-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.pt-ticket-card-foot {
  justify-content: space-between;
}

@media (max-width: 799px) {
  .pt-table-wrap {
    display: none;
  }

  .pt-stage,
  .pt-login-logo,
  .pt-login-panel,
  .pt-filters-box,
  .pt-ticket-card,
  .pt-card {
    box-shadow: 3px 3px 0 0 var(--foreground);
  }

  .pt-stage .btn-pop {
    box-shadow: 3px 3px 0 0 var(--foreground);
  }

  .pt-actions-split {
    flex-direction: column;
    align-items: stretch;
  }

  .pt-actions-split > .pt-actions {
    width: 100%;
  }

  .pt-actions-split .btn-pop,
  .pt-actions-split .btn-ghost {
    flex: 1 1 auto;
    justify-content: center;
  }

  .pt-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 800px) {
  .pt-ticket-list {
    display: none;
  }

  .pt-table-wrap {
    display: block;
  }

  .pt-header {
    padding: 0.55rem 1.25rem;
  }

  .pt-logo {
    font-size: 1rem;
    gap: 0.55rem;
  }

  .pt-nav {
    font-size: 0.875rem;
    gap: 1.25rem;
  }

  .pt-stage {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .pt-filters {
    grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
    padding: 0.95rem;
  }
}

.pt-filters-box {
  margin: 1rem 0;
  border: 2px solid var(--foreground);
  border-radius: 1.15rem;
  background: var(--secondary);
  box-shadow: 3px 3px 0 0 var(--foreground);
}

.pt-filters-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  list-style: none;
}

.pt-filters-summary > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pt-filters-summary::-webkit-details-marker {
  display: none;
}

.pt-filters-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
}

.pt-filters-caret {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--foreground);
  border-bottom: 2px solid var(--foreground);
  transform: rotate(45deg);
  transition: transform 0.15s;
}

.pt-filters-box[open] .pt-filters-caret {
  transform: rotate(225deg);
  translate: 0 0.15rem;
}

.pt-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin: 0;
  padding: 0.85rem;
  border: 0;
  border-top: 2px solid var(--foreground);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pt-filters label,
.pt-form label {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.pt-filters input,
.pt-filters select,
.pt-form input,
.pt-form select,
.pt-form textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 2.5rem;
  padding: 0.45rem 0.75rem;
  border: 2px solid var(--foreground);
  border-radius: 0.9rem;
  background: var(--background);
  color: var(--foreground);
  outline: none;
}

.pt-filters input:focus,
.pt-filters select:focus,
.pt-form input:focus,
.pt-form select:focus,
.pt-form textarea:focus {
  box-shadow: 3px 3px 0 0 var(--foreground);
}

.pt-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.pt-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.pt-md-field {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.pt-md-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.pt-md-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.45rem;
}

.pt-md-tab {
  appearance: none;
  border: 2px solid var(--foreground);
  border-radius: 9999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.8rem;
  cursor: pointer;
}

.pt-md-tab[aria-selected="true"] {
  background: var(--foreground);
  color: var(--background);
}

.pt-md-preview {
  min-height: 8rem;
  padding: 0.75rem 0.85rem;
  border: 2px solid var(--foreground);
  border-radius: 0.9rem;
  background: var(--background);
}

.pt-prose-md {
  white-space: normal;
}

.pt-prose-md h1,
.pt-prose-md h2,
.pt-prose-md h3 {
  margin: 0.9em 0 0.4em;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.35;
}

.pt-prose-md h1 { font-size: 1.25rem; }
.pt-prose-md h2 { font-size: 1.1rem; }
.pt-prose-md h3 { font-size: 1rem; }

.pt-prose-md h1:first-child,
.pt-prose-md h2:first-child,
.pt-prose-md h3:first-child,
.pt-prose-md p:first-child,
.pt-prose-md ul:first-child,
.pt-prose-md ol:first-child,
.pt-prose-md pre:first-child,
.pt-prose-md blockquote:first-child {
  margin-top: 0;
}

.pt-prose-md p,
.pt-prose-md ul,
.pt-prose-md ol,
.pt-prose-md blockquote,
.pt-prose-md pre {
  margin: 0 0 0.75em;
}

.pt-prose-md p:last-child,
.pt-prose-md ul:last-child,
.pt-prose-md ol:last-child,
.pt-prose-md blockquote:last-child,
.pt-prose-md pre:last-child {
  margin-bottom: 0;
}

.pt-prose-md ul,
.pt-prose-md ol {
  padding-left: 1.3rem;
}

.pt-prose-md li + li {
  margin-top: 0.2rem;
}

.pt-prose-md code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  padding: 0.08em 0.35em;
  border-radius: 0.3rem;
  background: color-mix(in oklch, var(--foreground) 8%, white);
}

.pt-prose-md pre {
  overflow-x: auto;
  padding: 0.75rem 0.85rem;
  border-radius: 0.7rem;
  background: color-mix(in oklch, var(--foreground) 8%, white);
}

.pt-prose-md pre code {
  padding: 0;
  background: transparent;
}

.pt-prose-md blockquote {
  padding: 0.15rem 0 0.15rem 0.85rem;
  border-left: 3px solid color-mix(in oklch, var(--foreground) 28%, transparent);
  color: var(--muted);
}

.pt-prose-md hr {
  border: 0;
  border-top: 1px solid color-mix(in oklch, var(--foreground) 16%, transparent);
  margin: 1rem 0;
}

.pt-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.55rem;
  border-radius: 9999px;
  border: 2px solid var(--foreground);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--secondary);
  color: var(--foreground);
}

.pt-progress {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  max-width: 100%;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.75rem;
}

.pt-progress-track {
  display: block;
  width: 2.6rem;
  flex: 0 0 auto;
  height: 0.45rem;
  overflow: hidden;
  border-radius: 9999px;
  border: 2px solid var(--foreground);
  background: var(--secondary);
}

.pt-progress-bar {
  display: block;
  height: 100%;
  background: var(--pop-2);
}

.pt-badge.is-overdue,
.pt-badge.is-status-rejected,
.pt-badge.is-pri-high {
  background: color-mix(in oklch, var(--pop-3) 55%, white);
}

.pt-badge.is-today,
.pt-badge.is-status-doing {
  background: color-mix(in oklch, var(--pop-2) 35%, white);
}

.pt-badge.is-status-open {
  background: var(--secondary);
}

.pt-badge.is-status-hold {
  background: var(--pop-3);
}

.pt-badge.is-status-review {
  background: color-mix(in oklch, var(--pop-2) 22%, var(--secondary));
}

.pt-badge.is-status-done {
  background: var(--pop);
}

.pt-error {
  color: oklch(0.45 0.16 25);
  font-weight: 700;
}

.pt-prose {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.75;
}

.pt-prose a {
  color: var(--pop-2);
  text-decoration: underline;
}

.pt-comment {
  padding: 0.85rem 0;
  border-bottom: 1px solid color-mix(in oklch, var(--foreground) 14%, transparent);
}

.pt-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.pt-dialog {
  width: min(24rem, calc(100vw - 2rem));
  padding: 1.25rem;
  border: 2px solid var(--foreground);
  border-radius: 1.25rem;
  background: var(--card);
  box-shadow: 6px 6px 0 0 var(--foreground);
}

.pt-dialog::backdrop {
  background: color-mix(in oklch, var(--foreground) 45%, transparent);
}

.pt-theme-choice {
  margin: 0;
  padding: 1rem 1.1rem 1.15rem;
  border: 2px solid var(--foreground);
  border-radius: 1.25rem;
  background: var(--secondary);
}

.pt-theme-choice legend {
  font-family: var(--font-display);
  font-weight: 800;
  padding: 0 0.35rem;
}

.pt-theme-choice label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.7rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--foreground);
  cursor: pointer;
}

.pt-theme-choice input {
  margin-top: 0.2rem;
  min-height: 0;
  width: auto;
  box-shadow: none;
  border: 0;
}

body.pt-theme-simple {
  --pt-ink: #0f172a;
  --pt-muted: #5b6578;
  --pt-line: #d5dbe6;
  --pt-card: #ffffff;
  --pt-accent: #2563eb;
  --pt-danger: #b42318;
  --pt-ok: #067647;
  --pt-warn: #b54708;
  --pt-font: "IBM Plex Sans JP", "IBM Plex Sans", "Hiragino Sans", sans-serif;
  background:
    radial-gradient(900px 420px at 0% -10%, #d9e4ff 0%, transparent 55%),
    #eef1f6;
  color: var(--pt-ink);
  font-family: var(--pt-font);
}

.pt-theme-simple .pt-login h2 {
  font-family: var(--pt-font);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
}

.pt-theme-simple .pt-login > p {
  color: var(--pt-muted);
}

.pt-theme-simple .pt-login-logo {
  margin-bottom: 1.15rem;
}

.pt-theme-simple .hero-bg {
  display: none;
}

.pt-theme-simple .pt-header {
  min-height: 3.5rem;
  padding: 0.35rem 1.25rem;
  border-bottom: 1px solid var(--pt-line);
  background: rgb(255 255 255 / 0.78);
}

.pt-theme-simple .pt-logo {
  font-family: var(--pt-font);
  font-size: 0.95rem;
  font-weight: 700;
}

.pt-theme-simple .pt-icon {
  border-radius: 0.55rem;
  border: 1px solid var(--pt-line);
  background: #fff;
}

.pt-theme-simple .pt-nav {
  font-weight: 500;
}

.pt-theme-simple .pt-lang select {
  border: 1px solid var(--pt-line);
  border-radius: 0.4rem;
  background: #fff;
  color: var(--pt-ink);
  box-shadow: none;
}

.pt-theme-simple .pt-footer {
  border-top: 1px solid var(--pt-line);
}

.pt-theme-simple .pt-footer-brand {
  font-family: var(--pt-font);
  font-weight: 700;
  color: var(--pt-ink);
}

.pt-theme-simple .pt-stage {
  padding: 1.35rem 1.2rem 1.6rem;
  border: 1px solid var(--pt-line);
  border-radius: 0.65rem;
  background: var(--pt-card);
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.06), 0 8px 24px rgb(15 23 42 / 0.04);
}

.pt-theme-simple .pt-stage h2,
.pt-theme-simple .pt-card h2,
.pt-theme-simple .pt-card h3 {
  font-family: var(--pt-font);
  font-size: 1.05rem;
  font-weight: 700;
}

.pt-theme-simple .pt-ad {
  border: 1px dashed var(--pt-line);
  border-radius: 0.5rem;
  background: rgb(255 255 255 / 0.45);
  color: #94a3b8;
}

.pt-theme-simple .pt-lead,
.pt-theme-simple .pt-muted {
  color: var(--pt-muted);
}

.pt-theme-simple .pt-login-logo,
.pt-theme-simple .pt-login-panel,
.pt-theme-simple .pt-theme-choice {
  border: 1px solid var(--pt-line);
  border-radius: 0.65rem;
  box-shadow: none;
  background: #f8fafc;
}

.pt-theme-simple .pt-login-panel h3,
.pt-theme-simple .pt-theme-choice legend {
  font-family: var(--pt-font);
  font-weight: 700;
}

.pt-theme-simple .pt-list {
  gap: 0.55rem;
}

.pt-theme-simple .pt-card {
  padding: 0.95rem 1rem;
  border: 1px solid var(--pt-line);
  border-radius: 0.5rem;
  background: #f8fafc;
  box-shadow: none;
}

.pt-theme-simple a.pt-card:hover {
  transform: none;
  border-color: #93c5fd;
  background: #fff;
  box-shadow: none;
}

.pt-theme-simple .pt-filters-box,
.pt-theme-simple .pt-table-wrap,
.pt-theme-simple .pt-dialog {
  border: 1px solid var(--pt-line);
  border-radius: 0.5rem;
  box-shadow: none;
}

.pt-theme-simple .pt-filters-box {
  background: #f8fafc;
}

.pt-theme-simple .pt-filters {
  border-top: 1px solid var(--pt-line);
  background: transparent;
}

.pt-theme-simple .pt-table th {
  background: #f8fafc;
  font-weight: 600;
}

.pt-theme-simple .pt-table a,
.pt-theme-simple .pt-prose a {
  color: var(--pt-accent);
  font-weight: 600;
}

.pt-theme-simple .pt-filters label,
.pt-theme-simple .pt-form label,
.pt-theme-simple .pt-md-label {
  font-weight: 600;
  color: var(--pt-muted);
}

.pt-theme-simple .pt-filters input,
.pt-theme-simple .pt-filters select,
.pt-theme-simple .pt-form input,
.pt-theme-simple .pt-form select,
.pt-theme-simple .pt-form textarea {
  min-height: 2.4rem;
  border: 1px solid var(--pt-line);
  border-radius: 0.4rem;
  background: #fff;
  color: var(--pt-ink);
  box-shadow: none;
}

.pt-theme-simple .pt-filters input:focus,
.pt-theme-simple .pt-filters select:focus,
.pt-theme-simple .pt-form input:focus,
.pt-theme-simple .pt-form select:focus,
.pt-theme-simple .pt-form textarea:focus {
  box-shadow: none;
  outline: 2px solid color-mix(in srgb, var(--pt-accent) 35%, white);
}

.pt-theme-simple .pt-md-tab {
  border: 1px solid var(--pt-line);
  border-radius: 0.4rem;
  background: #fff;
  color: var(--pt-muted);
  box-shadow: none;
}

.pt-theme-simple .pt-md-tab[aria-selected="true"] {
  background: var(--pt-accent);
  border-color: var(--pt-accent);
  color: #fff;
}

.pt-theme-simple .pt-md-preview {
  border: 1px solid var(--pt-line);
  border-radius: 0.4rem;
  background: #fff;
}

.pt-theme-simple .pt-md textarea {
  min-height: 8rem;
}

.pt-theme-simple .pt-prose-md h1,
.pt-theme-simple .pt-prose-md h2,
.pt-theme-simple .pt-prose-md h3 {
  font-family: var(--pt-font);
  font-weight: 700;
}

.pt-theme-simple .pt-prose-md code,
.pt-theme-simple .pt-prose-md pre {
  background: #eef2f7;
}

.pt-theme-simple .pt-prose-md blockquote {
  border-left-color: var(--pt-line);
}

.pt-theme-simple .pt-stage .btn-pop,
.pt-theme-simple .pt-dialog .btn-pop {
  border: 0;
  border-radius: 0.4rem;
  background: var(--pt-accent);
  color: #fff;
  box-shadow: none;
  font-weight: 600;
}

.pt-theme-simple .pt-stage .btn-pop:hover,
.pt-theme-simple .pt-dialog .btn-pop:hover {
  transform: none;
  box-shadow: none;
  background: #1d4ed8;
}

.pt-theme-simple .pt-stage .btn-ghost,
.pt-theme-simple .pt-dialog .btn-ghost {
  border: 1px solid var(--pt-line);
  border-radius: 0.4rem;
  background: transparent;
  color: var(--pt-ink);
  box-shadow: none;
  font-weight: 600;
}

.pt-theme-simple .pt-stage .btn-ghost:hover,
.pt-theme-simple .pt-dialog .btn-ghost:hover {
  background: #fff;
}

.pt-theme-simple .pt-btn-danger {
  color: var(--pt-danger);
  border-color: color-mix(in srgb, var(--pt-danger) 45%, white);
}

.pt-theme-simple .pt-badge {
  border: 0;
  border-radius: 0.28rem;
  font-weight: 600;
  background: #eef2f7;
  color: #334155;
}

.pt-theme-simple .pt-progress-track {
  border: 1px solid var(--pt-line);
  background: #eef2f7;
}

.pt-theme-simple .pt-progress-bar {
  background: var(--pt-accent);
}

.pt-theme-simple .pt-badge.is-overdue,
.pt-theme-simple .pt-badge.is-status-rejected,
.pt-theme-simple .pt-badge.is-pri-high {
  background: #fee4e2;
  color: var(--pt-danger);
}

.pt-theme-simple .pt-badge.is-today,
.pt-theme-simple .pt-badge.is-status-doing {
  background: #dbeafe;
  color: #1d4ed8;
}

.pt-theme-simple .pt-badge.is-status-open {
  background: #e2e8f0;
  color: #334155;
}

.pt-theme-simple .pt-badge.is-status-hold {
  background: #fef0c7;
  color: var(--pt-warn);
}

.pt-theme-simple .pt-badge.is-status-review {
  background: #ede9fe;
  color: #6d28d9;
}

.pt-theme-simple .pt-badge.is-status-done {
  background: #d1fadf;
  color: var(--pt-ok);
}

.pt-theme-simple .pt-error {
  color: var(--pt-danger);
}

.pt-theme-simple .pt-dialog {
  background: var(--pt-card);
}

.pt-theme-simple .pt-ticket-card {
  border: 1px solid var(--pt-line);
  border-radius: 0.5rem;
  background: #f8fafc;
  box-shadow: none;
}

.pt-theme-simple .pt-ticket-card h3 {
  font-family: var(--pt-font);
  font-weight: 700;
}

@media (min-width: 720px) {
  .pt-login-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

@container (max-width: 44rem) {
  .pt-table th:nth-child(8),
  .pt-table td:nth-child(8) {
    display: none;
  }
}

@container (max-width: 34rem) {
  .pt-table th:nth-child(3),
  .pt-table td:nth-child(3),
  .pt-table th:nth-child(7),
  .pt-table td:nth-child(7) {
    display: none;
  }
}

@media (min-width: 960px) {
  .pt-shell {
    grid-template-columns: 8.5rem minmax(0, 1fr) 8.5rem;
    align-items: start;
  }

  .pt-ad-side {
    display: flex;
    min-height: 26rem;
    position: sticky;
    top: 5.5rem;
  }

  .pt-ad-mobile {
    display: none;
  }
}
