:root {
  --color-primary: #d4f25c;
  --color-primary-hover: #c6e74a;
  --color-primary-soft: #eef8c4;
  --color-dark: #1b1b2a;
  --color-dark-elevated: #26263a;
  --color-on-dark: #ffffff;
  --color-on-dark-muted: #b8b8c7;
  --color-bg-canvas: #f4f3ef;
  --color-bg-surface: #ffffff;
  --color-bg-subtle: #f6f6f3;
  --color-text-primary: #17172a;
  --color-text-secondary: #5e5e6e;
  --color-text-muted: #9a9aa8;
  --color-border: #ecece6;
  --color-border-strong: #dadad2;
  --color-peach: #ffe4d6;
  --color-peach-ink: #f2733b;
  --color-lavender: #e4e2fb;
  --color-lavender-ink: #6c63e0;
  --color-mint: #ddf6e8;
  --color-mint-ink: #2fa66a;
  --color-lime-tint: #eaf7be;
  --color-sand: #fbebd2;
  --color-sand-ink: #d9902b;
  --color-success: #2fa66a;
  --color-success-bg: #dff5e8;
  --color-info-bg: #e4e2fb;
  --color-warning-bg: #ffe6d2;
  --color-warning: #f2733b;
  --color-danger: #e5484d;
  --color-star: #f5b82e;
  --color-notif-badge-bg: #ffe4d6;
  --color-notif-badge-fg: #e5602b;
  --color-badge-progress: #5b52d6;
  --color-badge-done: #1f8a55;
  --color-badge-upcoming: #d8571f;
  --font-sans: "Plus Jakarta Sans", "DM Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-float: 0 6px 18px rgba(23, 23, 42, 0.12);
  --shadow-dark: 0 4px 12px rgba(0, 0, 0, 0.2);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg-canvas);
  color: var(--color-text-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

::selection {
  background: var(--color-primary);
  color: var(--color-dark);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

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

button {
  cursor: pointer;
}

.app-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px;
  min-height: 100vh;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

.sidebar {
  background: var(--color-dark);
  color: var(--color-on-dark);
  border-radius: var(--radius-xl);
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 24px);
  position: sticky;
  top: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 20px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.brand-logo-sm {
  width: 32px;
  height: 32px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-dark);
  display: grid;
  place-items: center;
}

.brand-mark svg {
  width: 18px;
  height: 18px;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

/* ----------------------------- Sidebar Project Card ----------------------------- */

.sidebar-project-card {
  background: var(--color-dark-elevated, #26263a);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 14px);
  padding: 10px 12px;
  margin: 0 0 16px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.sidebar-project-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-on-dark-muted, #9a9aa8);
  display: block;
}

.sidebar-project-field {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(15, 15, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm, 10px);
  padding: 0 8px 0 10px;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
  min-width: 0;
}

.sidebar-project-field:focus-within {
  border-color: var(--color-primary, #d4f25c);
  box-shadow: 0 0 0 2px rgba(212, 242, 92, 0.25);
  background: rgba(15, 15, 24, 0.85);
}

.sidebar-project-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary, #d4f25c);
  margin-right: 8px;
  flex-shrink: 0;
}

.sidebar-project-icon svg {
  width: 15px;
  height: 15px;
}

.sidebar-project-select {
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 34px;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0 20px 0 0;
  cursor: pointer;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.sidebar-project-select option {
  background: var(--color-dark, #1b1b2a);
  color: #ffffff;
  padding: 8px;
  font-size: 12px;
}

.sidebar-project-chevron {
  position: absolute;
  right: 10px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-on-dark-muted, #9a9aa8);
}

.sidebar-project-chevron svg {
  width: 13px;
  height: 13px;
}

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

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  color: var(--color-on-dark-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  transition: background 150ms ease-out, color 150ms ease-out;
}

.nav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.nav-item:hover {
  background: var(--color-dark-elevated);
  color: var(--color-on-dark);
}

.nav-item.is-active {
  background: var(--color-primary);
  color: var(--color-dark);
  font-weight: 600;
}

.nav-item .badge-count {
  margin-left: auto;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--color-notif-badge-bg);
  color: var(--color-notif-badge-fg);
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.sidebar-spacer {
  flex: 1;
}

.app-card {
  background: var(--color-primary);
  color: var(--color-dark);
  border-radius: var(--radius-xl);
  padding: 16px;
}

.app-card-arrow {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-dark);
  color: var(--color-on-dark);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-dark);
  margin-bottom: 12px;
}

.app-card p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.workspace {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.topbar-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.topbar-title-wrap .brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.greeting {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  min-width: 0;
  word-break: break-word;
}

.topbar-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.greeting-sub {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.45;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.search {
  position: relative;
  width: 220px;
}

.search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--color-text-muted);
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg-surface);
  padding: 0 16px 0 38px;
  color: var(--color-text-primary);
  font-size: 13px;
}

.search input::placeholder {
  color: var(--color-text-muted);
}

.search input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(212, 242, 92, 0.5);
  outline: none;
}

.project-switch {
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg-surface);
  padding: 0 28px 0 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-primary);
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%239A9AA8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M3 4.5 6 8l3-3.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-lavender);
  background: var(--color-lavender);
  color: var(--color-lavender-ink);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.main-col {
  grid-column: span 9;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

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

.section-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--color-text-secondary);
  font-size: 12px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  transition: transform 150ms ease-out, border-color 150ms ease-out;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--color-border-strong);
}

.stat-card {
  min-height: 105px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.stat-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.icon-box svg {
  width: 18px;
  height: 18px;
}

.icon-peach {
  background: var(--color-peach);
  color: var(--color-peach-ink);
}
.icon-lime {
  background: var(--color-lime-tint);
  color: var(--color-dark);
}
.icon-lavender {
  background: var(--color-lavender);
  color: var(--color-lavender-ink);
}
.icon-mint {
  background: var(--color-mint);
  color: var(--color-mint-ink);
}
.icon-sand {
  background: var(--color-sand);
  color: var(--color-sand-ink);
}

.stat-copy h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.stat-copy p {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--color-text-muted);
}

.stat-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-meta span {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
}

.stat-meta strong {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.split > :first-child {
  grid-column: span 7;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.split > :last-child {
  grid-column: span 5;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.trend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--color-text-muted);
}

.trend b {
  color: var(--color-success);
  font-weight: 700;
}

.chip {
  height: 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg-surface);
  padding: 0 10px;
  font-size: 12px;
  color: var(--color-text-primary);
}

.chart {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  min-height: 160px;
}

.chart-y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 10px;
  color: var(--color-text-muted);
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 8px;
  border-top: 1px dashed var(--color-border);
  padding-top: 8px;
}

.bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 132px;
}

.bar-track {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bar {
  width: 8px;
  flex: 0 0 auto;
  border-radius: var(--radius-full);
  background: var(--color-dark);
  transform-origin: bottom;
  animation: grow 500ms ease-out both;
}

.bar.is-zero {
  background: var(--color-border-strong);
}

.bar.is-hot {
  background: var(--color-primary);
}

.bar-tip {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--color-dark);
  color: var(--color-on-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-float);
  pointer-events: none;
}

.bar-col > span {
  font-size: 10px;
  color: var(--color-text-muted);
}

@keyframes grow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius-md);
  background: var(--color-bg-subtle);
  min-height: 56px;
}

.feed-item:hover .chevron {
  transform: translateX(2px);
}

.feed-copy {
  min-width: 0;
  flex: 1;
}

.feed-copy h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-copy p {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--color-text-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-fitur,
.badge-completed {
  background: var(--color-success-bg);
  color: var(--color-badge-done);
}

.badge-bugfix,
.badge-upcoming,
.badge-open {
  background: var(--color-warning-bg);
  color: var(--color-badge-upcoming);
}

.badge-update,
.badge-progress {
  background: var(--color-info-bg);
  color: var(--color-badge-progress);
}

.badge-category-bug {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.badge-category-idea {
  background: #fef3c7;
  color: #d97706;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.ticket-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* Ticket Image Attachment & Thumbnail */
.ticket-attachment {
  margin-top: 8px;
}

.ticket-thumb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 150ms ease;
  max-width: 100%;
}

.ticket-thumb-link:hover {
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ticket-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  border: 1px solid var(--color-border);
}

.ticket-thumb-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-primary);
}

/* ----------------------------- Category Selector ----------------------------- */

.category-toggle {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.category-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--color-bg-subtle);
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 150ms ease;
  user-select: none;
}

.category-pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.category-pill:hover {
  border-color: var(--color-text-muted);
  background: #ffffff;
}

.category-pill.is-active {
  border-color: var(--color-dark);
  background: var(--color-dark);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ----------------------------- Minimalist Attachment Input ----------------------------- */

.field-attachment {
  margin-top: 4px;
}

.attachment-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 4px 0 2px 0;
}

.btn-add-attachment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  color: var(--color-text-primary, #334155);
  background: var(--color-bg-subtle, #f1f5f9);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 150ms ease;
  line-height: 1.4;
  user-select: none;
}

.btn-add-attachment:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #0f172a;
}

.attachment-hint {
  font-size: 12px;
  color: var(--color-text-muted, #64748b);
  display: inline-block;
}

.attachment-filename {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-primary);
  background: var(--color-primary-soft);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(212, 242, 92, 0.7);
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-clear-attachment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 12px;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  transition: all 150ms ease;
}

.btn-clear-attachment:hover {
  color: var(--color-danger);
  background: rgba(229, 72, 77, 0.1);
}

.chevron {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-strong);
  display: grid;
  place-items: center;
  color: var(--color-text-muted);
  transition: transform 150ms ease-out;
  flex-shrink: 0;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  color: var(--color-text-muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  color: var(--color-text-primary);
  font-size: 13px;
}

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

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(212, 242, 92, 0.5);
  background: var(--color-bg-surface);
}

.field [aria-invalid="true"] {
  border-color: var(--color-danger);
}

.field-hint {
  display: block;
  margin-top: 4px;
  text-align: right;
  font-size: 11px;
  color: var(--color-text-muted);
}

.field-hint.is-near {
  color: var(--color-badge-upcoming);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.filter-btn {
  height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-strong);
  background: transparent;
  color: var(--color-text-secondary);
  font-size: 12px;
  font-weight: 500;
  transition: background 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
}

.filter-btn:hover {
  background: var(--color-bg-subtle);
  color: var(--color-text-primary);
}

.filter-btn.is-active {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-on-dark);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
 * Changelog Header & Sync Pill
 * -------------------------------------------------------------------------- */
.changelog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.changelog-title-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.changelog-title-group h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.btn-sync-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg-surface);
  color: var(--color-text-secondary);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: all 180ms ease-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-sync-pill:hover:not(:disabled) {
  background: var(--color-bg-subtle);
  color: var(--color-text-primary);
  border-color: #cbd5e1;
  transform: translateY(-0.5px);
}

.btn-sync-pill:active:not(:disabled) {
  transform: scale(0.97);
}

.btn-sync-pill:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-sync-pill .sync-icon {
  display: block;
  flex-shrink: 0;
  transition: transform 300ms ease;
}

.btn-sync-pill.is-syncing .sync-icon {
  animation: spin 0.75s linear infinite;
  color: var(--color-primary);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
 * Changelog Pagination
 * -------------------------------------------------------------------------- */
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  margin-top: 12px;
  border-top: 1px solid var(--color-border);
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg-surface);
  color: var(--color-text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 150ms ease-out;
  user-select: none;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--color-bg-subtle);
  color: var(--color-text-primary);
  border-color: #cbd5e1;
}

.pagination-btn:active:not(:disabled) {
  transform: scale(0.97);
}

.pagination-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-info {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--color-text-muted);
  user-select: none;
}

.btn {
  border: 0;
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  transition: background 150ms ease-out, transform 150ms ease-out;
}

.btn:active {
  transform: scale(0.98);
}

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

.btn-primary {
  background: var(--color-primary);
  color: var(--color-dark);
}

.btn-primary:hover:not(:disabled) {
  background: var(--color-primary-hover);
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feedback {
  font-size: 12px;
  color: var(--color-text-secondary);
  min-height: 18px;
}

.feedback.is-ok {
  color: var(--color-success);
}

.feedback.is-err {
  color: var(--color-danger);
}

.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ticket-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 110px auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  margin: 0;
  border-radius: var(--radius-md);
  border-bottom: 1px solid var(--color-border);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.ticket-row:last-child {
  border-bottom: 0;
}

.ticket-row.is-new {
  animation: flash-new 1600ms ease-out;
}

@keyframes flash-new {
  from {
    background: var(--color-primary-soft);
  }
  to {
    background: transparent;
  }
}

.ticket-copy h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.ticket-copy p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--color-text-secondary);
}

.remaining span {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
}

.remaining strong {
  font-size: 13px;
  font-weight: 700;
}

.progress {
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress svg {
  width: 32px;
  height: 32px;
}

.progress strong {
  font-size: 12px;
  font-weight: 700;
}

.empty {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--color-bg-subtle);
  color: var(--color-text-secondary);
  font-size: 13px;
}

.skeleton {
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, var(--color-bg-subtle), var(--color-border), var(--color-bg-subtle));
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-out infinite;
}

@keyframes shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}

.rail {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.promo {
  background: var(--color-dark);
  color: var(--color-on-dark);
  border-radius: var(--radius-xl);
  padding: 16px;
}

.promo h2 {
  margin: 8px 0 6px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.promo p {
  margin: 0 0 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.promo .btn-primary {
  display: inline-flex;
}

.calendar {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.calendar h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.assignments h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  min-width: 0;
}

.cal-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.icon-btn {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg-surface);
  color: var(--color-text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 150ms ease-out, border-color 150ms ease-out;
}

.icon-btn:hover {
  background: var(--color-bg-subtle);
  border-color: var(--color-text-muted);
}

.icon-btn svg {
  width: 12px;
  height: 12px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  gap: 4px;
  width: 100%;
  box-sizing: border-box;
}

.cal-grid .dow {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  width: 100%;
  margin: 0 auto;
  user-select: none;
}

.cal-grid .cal-day {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-primary);
  box-sizing: border-box;
  transition: background 150ms ease-out, color 150ms ease-out;
  user-select: none;
}

.cal-grid .cal-day.muted {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.cal-grid .cal-day.has-activity::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--color-dark);
}

.cal-grid .cal-day.is-today {
  background: var(--color-primary);
  color: var(--color-dark);
  font-weight: 700;
}

.assign-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.add-btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-dark);
  display: grid;
  place-items: center;
}

.add-btn svg {
  width: 14px;
  height: 14px;
}

.assign-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px;
  padding: 10px 0;
}

.assign-item + .assign-item {
  border-top: 1px solid var(--color-border);
}

.assign-item h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
}

.assign-item p {
  margin: 2px 0 6px;
  font-size: 10px;
  color: var(--color-text-muted);
}

.icon-box.icon-sm {
  width: 32px;
  height: 32px;
}

.icon-box.icon-sm svg {
  width: 16px;
  height: 16px;
}

.nav-item .badge-count[hidden] {
  display: none;
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg-surface);
}

.backdrop {
  display: none;
}

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

.mobile-topbar {
  display: none;
}

.sidebar-close-btn {
  display: none;
}

/* ----------------------------- Responsive Design & Drawer System ----------------------------- */

/* Tablet & Mobile Drawer Breakpoint (< 1024px) */
@media (max-width: 1023px) {
  .app-shell {
    grid-template-columns: 1fr;
    padding: 0 16px 24px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  /* Sticky Mobile Topbar */
  .mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 45;
    width: 100%;
    height: 56px;
    background: var(--color-dark);
    color: var(--color-on-dark);
    padding: 0 16px;
    margin: 0 0 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
  }

  .hamburger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: var(--color-on-dark);
    cursor: pointer;
    transition: background 150ms ease, border-color 150ms ease;
    padding: 0;
    flex-shrink: 0;
  }

  .hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.25);
  }

  .hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 18px;
    height: 13px;
  }

  .hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 200ms ease;
  }

  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
  }

  .brand-mark-sm {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-full);
  }

  .brand-mark-sm svg {
    width: 16px;
    height: 16px;
  }

  .mobile-brand-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
  }

  .mobile-topbar-spacer {
    width: 38px;
    flex-shrink: 0;
  }

  /* Sidebar as Drawer Overlay */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: calc(100vw - 48px);
    height: 100vh;
    min-height: 100vh;
    z-index: 55;
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    transform: translateX(-100%);
    transition: transform 260ms cubic-bezier(0.33, 1, 0.68, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: none;
    background: var(--color-dark);
  }

  .sidebar.is-open,
  .sidebar.sidebar-open {
    transform: translateX(0);
    box-shadow: 10px 0 32px rgba(0, 0, 0, 0.45);
  }

  .sidebar .brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
    padding: 4px 4px 16px;
  }

  .sidebar-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-on-dark);
    cursor: pointer;
    margin-left: auto;
    transition: background 150ms ease, transform 150ms ease;
    flex-shrink: 0;
    padding: 0;
  }

  .sidebar-close-btn svg {
    width: 16px;
    height: 16px;
  }

  .sidebar-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
  }

  /* Backdrop Overlay */
  .backdrop {
    display: none;
  }

  .backdrop.is-open,
  .backdrop.sidebar-open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 50;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  body.drawer-open {
    overflow: hidden !important;
  }

  /* Hide redundant inline menu-btn since sticky mobile topbar handles it */
  .menu-btn {
    display: none !important;
  }

  /* Layout for Tablet (768px - 1023px) */
  .layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .main-col {
    grid-column: span 1;
    width: 100%;
  }

  .rail {
    grid-column: span 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
  }

  .topbar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .topbar-actions {
    flex-wrap: wrap;
  }

  .search {
    width: 100%;
    order: 3;
  }
}

/* Mobile View (< 768px) */
@media (max-width: 767px) {
  .app-shell {
    padding: 0 12px 18px;
    gap: 10px;
  }

  .mobile-topbar {
    padding: 0 12px;
    height: 52px;
    margin: 0 0 12px 0;
  }

  .mobile-brand-title {
    font-size: 15px;
  }

  .card {
    padding: 14px 14px;
    border-radius: var(--radius-md);
  }

  .rail {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

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

  .split > :first-child,
  .split > :last-child {
    grid-column: span 1;
  }

  .stat-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ticket-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }

  .timetable-monthly-list {
    grid-template-columns: 1fr;
  }

  .timetable-month-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .timetable-mini-track {
    width: 100%;
  }

  .greeting {
    font-size: 20px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cal-grid {
    gap: 2px;
  }

  .cal-grid .dow,
  .cal-grid .cal-day {
    aspect-ratio: 1;
    font-size: 10px;
  }

  .category-toggle {
    flex-direction: column;
    gap: 6px;
  }

  .category-pill {
    width: 100%;
    justify-content: center;
  }

  .modal-dialog {
    width: 95vw;
    padding: 16px;
    max-height: 90vh;
  }
}

/* ----------------------------- Project Management & Modal ----------------------------- */

.project-selector-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin: 0;
}

.icon-btn-danger {
  width: 32px;
  height: 32px;
  min-width: 32px;
  max-width: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg-surface);
  color: var(--color-danger);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: background 150ms ease-out, border-color 150ms ease-out;
}

.icon-btn-danger[hidden] {
  display: none !important;
}

.btn-add-project {
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 0 14px;
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0 0 0 4px;
}

.icon-btn-danger:hover {
  background: #fee7e7;
  border-color: var(--color-danger);
}

.icon-btn-danger svg {
  width: 16px;
  height: 16px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 16px;
  z-index: 100;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(23, 23, 42, 0.2);
  animation: modal-enter 200ms ease-out;
}

@keyframes modal-enter {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.modal-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.modal-sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--color-text-secondary);
}

.modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--color-border-strong);
  color: var(--color-text-secondary);
}

.btn-ghost:hover {
  background: var(--color-bg-subtle);
  color: var(--color-text-primary);
}

.repo-preview-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 8px 12px;
  background: var(--color-bg-subtle);
  border-radius: var(--radius-sm);
  font-size: 12px;
  border: 1px dashed var(--color-border-strong);
}

.preview-tag {
  color: var(--color-text-muted);
  font-size: 11px;
}

.preview-repo-name {
  font-family: inherit;
  font-weight: 700;
  color: var(--color-text-primary);
  background: var(--color-primary-soft);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

/* ----------------------------- Empty States ----------------------------- */

.empty-state {
  padding: 36px 20px;
  border-radius: var(--radius-md);
  background: var(--color-bg-subtle);
  text-align: center;
  color: var(--color-text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.empty-state .empty-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-bg-surface);
  display: grid;
  place-items: center;
  color: var(--color-text-muted);
  margin-bottom: 4px;
  box-shadow: 0 2px 6px rgba(23, 23, 42, 0.05);
}

.empty-state .empty-icon svg {
  width: 20px;
  height: 20px;
}

.empty-state h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.empty-state p {
  margin: 0;
  font-size: 12px;
  max-width: 420px;
  line-height: 1.5;
}

.empty-state code {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  font-size: 11px;
  color: var(--color-text-primary);
}

/* ----------------------------- Features & Documentation ----------------------------- */

.section-sub {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--color-text-secondary);
  font-weight: 400;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  width: 100%;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  min-width: 0;
  width: 100%;
}

.feature-card {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  box-sizing: border-box;
  transition: transform 150ms ease-out, border-color 150ms ease-out, background 150ms ease-out;
}

.feature-card:hover {
  border-color: var(--color-border-strong);
  background: var(--color-bg-surface);
  transform: translateY(-2px);
}

.feature-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.feature-title-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.feature-title-group h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text-primary);
}

.feature-title-group .badge {
  margin-top: 4px;
}

.feature-card-desc {
  margin: 0;
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  word-break: break-word;
}

.feature-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--color-border);
}

.feature-date {
  font-size: 11px;
  color: var(--color-text-muted);
}

.btn-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--color-primary-soft);
  color: var(--color-dark);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background 150ms ease-out, transform 150ms ease-out;
}

.btn-doc-link:hover {
  background: var(--color-primary);
  transform: translateY(-1px);
}

.btn-icon-subtle {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-text-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 150ms ease-out, color 150ms ease-out;
}

.btn-icon-subtle:hover {
  background: #fee7e7;
  color: var(--color-danger);
}

.btn-icon-subtle svg {
  width: 14px;
  height: 14px;
}

/* ----------------------------- Ticket Actions & Resolving ----------------------------- */

.ticket-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ticket-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-delete-ticket {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(229, 72, 77, 0.08);
  border: 1px solid rgba(229, 72, 77, 0.25);
  color: var(--color-danger);
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 150ms ease;
}

.btn-delete-ticket:hover:not(:disabled) {
  background: var(--color-danger);
  color: #ffffff;
  border-color: var(--color-danger);
  transform: translateY(-1px);
}

.btn-edit-ticket {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border-strong);
  color: var(--color-text-primary);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 150ms ease;
}

.btn-edit-ticket:hover:not(:disabled) {
  background: #ffffff;
  border-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

.existing-image-box {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--color-text-secondary);
}

.existing-image-box a {
  color: var(--color-badge-progress);
  font-weight: 600;
  text-decoration: underline;
}

.btn-text-danger {
  background: none;
  border: none;
  color: var(--color-danger);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.btn-resolve {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary-soft);
  color: var(--color-dark);
  border: 1px solid var(--color-primary);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 150ms ease-out, transform 150ms ease-out;
}

.btn-resolve:hover:not(:disabled) {
  background: var(--color-primary);
  transform: translateY(-1px);
}

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

.status-done-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--color-success-bg);
  color: var(--color-badge-done);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.ticket-row.is-resolved {
  opacity: 0.75;
}

.ticket-row.is-resolved .ticket-copy h3 {
  text-decoration: line-through;
  color: var(--color-text-muted);
}

/* ----------------------------- Navigation & Badges ----------------------------- */

.brand-tag {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 1px;
}

.project-pill {
  display: inline-block;
  padding: 2px 8px;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xs);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

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

.text-xs {
  font-size: 11px;
}

.nav-link-portal {
  text-decoration: none;
  color: var(--color-on-dark-muted);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  margin-top: 8px;
  transition: color 150ms ease-out, border-color 150ms ease-out, background 150ms ease-out;
}

.nav-link-portal:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: var(--color-dark-elevated);
}

/* ----------------------------- Time Table & Roadmap Bulanan ----------------------------- */

.timetable-progress-card {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 16px;
  min-width: 0;
  box-sizing: border-box;
}

.timetable-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.timetable-progress-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.timetable-progress-title strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.timetable-progress-sub {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.timetable-progress-percent {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-primary);
  white-space: nowrap;
}

.timetable-progress-track {
  height: 8px;
  width: 100%;
  background: var(--color-border-strong);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.timetable-progress-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Weekly Columns */
.timetable-weekly-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .timetable-weekly-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .timetable-weekly-grid {
    grid-template-columns: 1fr;
  }
}

.timetable-col {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  box-sizing: border-box;
}

.timetable-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--color-border);
}

.timetable-col-head h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.timetable-col-tasks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.timetable-task-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 1px 3px rgba(23, 23, 42, 0.04);
  transition: transform 150ms ease-out, border-color 150ms ease-out;
}

.timetable-task-card:hover {
  transform: translateY(-1px);
  border-color: var(--color-border-strong);
}

.timetable-task-name {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text-primary);
  word-break: break-word;
}

.timetable-task-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.timetable-empty-col {
  font-size: 11px;
  color: var(--color-text-muted);
  text-align: center;
  padding: 16px 8px;
  font-style: italic;
}

/* Status Badges */
.badge-tt {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.badge-tt-planned {
  background: #EAEAE6;
  color: #5E5E6E;
  border: 1px solid #DADAD2;
}

.badge-tt-progress {
  background: #FFF4E5;
  color: #D97706;
  border: 1px solid #FCD34D;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(245, 184, 46, 0.2);
}

.badge-tt-done {
  background: #DFF5E8;
  color: #2FA66A;
  border: 1px solid #A7F3D0;
  font-weight: 700;
}

/* Admin Dashboard Time Table */
.timetable-admin-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.timetable-admin-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: background 150ms ease-out, border-color 150ms ease-out;
  min-width: 0;
  box-sizing: border-box;
}

.timetable-admin-row:hover {
  background: var(--color-bg-surface);
  border-color: var(--color-border-strong);
}

.timetable-week-chip,
.timetable-month-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 10px;
  border-radius: var(--radius-xs);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-strong);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-secondary);
  text-align: center;
  white-space: nowrap;
}

.timetable-admin-info {
  min-width: 0;
}

.timetable-admin-info h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text-primary);
  word-break: break-word;
}

.timetable-admin-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.btn-status-toggle {
  cursor: pointer;
  border: 0;
  transition: transform 150ms ease-out, opacity 150ms ease-out;
}

.btn-status-toggle:hover:not(:disabled) {
  transform: scale(1.03);
}

.btn-status-toggle:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Monthly Grouping in Client Portal */
.timetable-monthly-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.timetable-month-card {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  box-sizing: border-box;
  transition: border-color 150ms ease-out, transform 150ms ease-out;
}

.timetable-month-card:hover {
  border-color: var(--color-border-strong);
}

.timetable-month-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--color-border);
}

.timetable-month-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.timetable-month-title-wrap h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.3;
}

.timetable-month-sub {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.timetable-month-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.timetable-mini-track {
  height: 6px;
  width: 100px;
  background: var(--color-border-strong);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.timetable-mini-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width 400ms ease;
}

.timetable-mini-pct {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-primary);
  min-width: 34px;
  text-align: right;
}

.timetable-month-tasks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.timetable-task-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-sizing: border-box;
  transition: transform 150ms ease-out, border-color 150ms ease-out;
}

.timetable-task-row:hover {
  transform: translateY(-1px);
  border-color: var(--color-border-strong);
}

.timetable-task-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.timetable-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  background: var(--color-border-strong);
}

.timetable-dot.is-done {
  background: var(--color-success);
}

.timetable-dot.is-progress {
  background: #F59E0B;
}

.timetable-task-badge-box {
  flex-shrink: 0;
}

/* ==========================================================================
   15. CUSTOM TOAST NOTIFICATION SYSTEM (SESUAI DESIGN.MD)
   ========================================================================== */

.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 380px;
  width: calc(100vw - 40px);
}

.toast-item {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md, 14px);
  background: var(--color-dark, #1B1B2A);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  backdrop-filter: blur(12px);
  animation: toastSlideIn 260ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 200ms ease, transform 200ms ease;
  user-select: none;
}

.toast-item.is-hiding {
  opacity: 0;
  transform: translateX(120%);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.toast-icon svg {
  width: 18px;
  height: 18px;
}

.toast-msg {
  word-break: break-word;
}

.toast-close {
  background: transparent;
  border: none;
  color: var(--color-on-dark-muted, #B8B8C7);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: color 150ms ease, background 150ms ease;
}

.toast-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* Variasi Warna Toast */
.toast-success {
  border-color: rgba(212, 242, 92, 0.4);
}
.toast-success .toast-icon {
  color: var(--color-primary, #D4F25C);
}

.toast-error {
  border-color: rgba(229, 72, 77, 0.4);
}
.toast-error .toast-icon {
  color: var(--color-danger, #E5484D);
}

.toast-info {
  border-color: rgba(108, 99, 224, 0.4);
}
.toast-info .toast-icon {
  color: #A78BFA;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================================================
   16. CUSTOM CONFIRMATION MODAL
   ========================================================================== */

.modal-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(15, 15, 26, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-confirm-overlay[hidden] {
  display: none !important;
}

.modal-confirm-card {
  background: var(--color-dark, #1B1B2A);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg, 20px);
  padding: 26px 24px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
  animation: modalPopIn 180ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-confirm-icon-wrap {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(229, 72, 77, 0.12);
  color: var(--color-danger, #E5484D);
  display: grid;
  place-items: center;
}

.modal-confirm-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
}

.modal-confirm-desc {
  font-size: 13px;
  color: var(--color-on-dark-muted, #B8B8C7);
  margin: 0 0 22px;
  line-height: 1.5;
}

.modal-confirm-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-danger {
  background: var(--color-danger, #E5484D);
  color: #ffffff;
  border: 0;
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 150ms ease;
}

.btn-danger:hover {
  background: #D03A3F;
}

.btn-danger:active {
  transform: scale(0.98);
}

@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   17. SMARTPHONE KEYPAD PIN SCREEN (SESUAI DESIGN.MD)
   ========================================================================== */

.pin-screen-wrapper {
  min-height: 100vh;
  width: 100%;
  background: radial-gradient(circle at 50% 20%, #26263A 0%, #17172A 70%, #0F0F18 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
}

.pin-card {
  width: 100%;
  max-width: 350px;
  background: rgba(27, 27, 42, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 34px 26px 24px;
  text-align: center;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.pin-header {
  margin-bottom: 22px;
}

.pin-brand-mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.pin-brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.pin-title {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.pin-subtitle {
  font-size: 12.5px;
  color: var(--color-on-dark-muted, #B8B8C7);
  margin: 0;
  line-height: 1.45;
}

.pin-dots-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 0 auto 10px;
  min-height: 20px;
}

.pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  transition: all 180ms cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.pin-dot.is-filled {
  background: var(--color-primary, #D4F25C);
  border-color: var(--color-primary, #D4F25C);
  transform: scale(1.18);
  box-shadow: 0 0 14px rgba(212, 242, 92, 0.55);
}

.pin-dot.is-error {
  background: var(--color-danger, #E5484D);
  border-color: var(--color-danger, #E5484D);
  transform: scale(1.18);
  box-shadow: 0 0 14px rgba(229, 72, 77, 0.55);
}

.pin-dots-container.shake {
  animation: pinShake 450ms cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes pinShake {
  10%, 90% { transform: translateX(-4px); }
  20%, 80% { transform: translateX(6px); }
  30%, 50%, 70% { transform: translateX(-8px); }
  40%, 60% { transform: translateX(8px); }
}

.pin-error-msg {
  min-height: 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-danger, #E5484D);
  margin: 0 0 16px;
}

/* Virtual Numeric Keypad 3x4 */
.pin-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  justify-items: center;
  align-items: center;
  margin: 0 auto 16px;
  max-width: 270px;
}

.keypad-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 140ms ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.keypad-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  transform: scale(1.05);
}

.keypad-btn:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.22);
}

.keypad-btn-fn {
  color: rgba(255, 255, 255, 0.7);
}

.keypad-btn-fn:hover {
  color: #ffffff;
}

.keypad-btn-submit {
  color: var(--color-primary, #D4F25C);
  background: rgba(212, 242, 92, 0.12);
  border-color: rgba(212, 242, 92, 0.28);
}

.keypad-btn-submit:hover {
  background: var(--color-primary, #D4F25C);
  color: var(--color-dark, #1B1B2A);
  border-color: var(--color-primary, #D4F25C);
}

.pin-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  margin-top: 4px;
}

.pin-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--color-on-dark-muted, #B8B8C7);
  text-decoration: none;
  transition: color 150ms ease;
}

.pin-portal-link:hover {
  color: var(--color-primary, #D4F25C);
}

/* Tombol Logout di Sidebar */
.btn-logout {
  color: var(--color-danger, #E5484D) !important;
  margin-top: 4px;
  opacity: 0.85;
}

.btn-logout:hover {
  background: rgba(229, 72, 77, 0.12) !important;
  color: #FF6B6B !important;
  opacity: 1;
}

/* ==========================================================================
 * FITUR BALASAN DEVELOPER (TICKET REPLY)
 * ========================================================================== */

.dev-reply-box {
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-left: 3px solid #6366f1;
  border-radius: var(--radius-sm, 8px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: fadeIn 200ms ease;
}

.dev-reply-admin {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.24);
  border-left-color: #38bdf8;
}

.dev-reply-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.dev-reply-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #818cf8;
}

.dev-reply-admin .dev-reply-badge {
  color: #38bdf8;
}

.dev-reply-badge svg {
  flex-shrink: 0;
}

.dev-reply-time {
  font-size: 11px;
  color: var(--color-text-muted, #71717A);
  font-weight: 500;
}

.dev-reply-body {
  margin: 0 !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  color: var(--color-text-primary, #E4E4E7) !important;
  white-space: pre-wrap;
  word-break: break-word;
}

.ticket-preview-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm, 8px);
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.ticket-preview-meta {
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

