/* E-132: RoleBeam's existing shadcn/ui semantic, native component adaptation. */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    400 14px/1.55 Inter,
    Arial,
    sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: var(--primary);
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
svg {
  width: 19px;
  height: 19px;
  flex: none;
  vertical-align: middle;
}
button,
a,
select,
textarea {
  transition:
    background-color 160ms,
    border-color 160ms,
    box-shadow 160ms;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
textarea:focus-visible,
input:focus-visible,
[tabindex='0']:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2 {
  font-family: 'DM Sans', Inter, sans-serif;
  font-weight: 600;
}
h1 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -1px;
}
h2 {
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 14px;
  font-weight: 600;
}
p {
  overflow-wrap: anywhere;
}
.muted {
  color: var(--muted-foreground);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.workspace-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
}
.workspace-sidebar {
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  background: var(--card);
  z-index: 2;
}
.ws-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--foreground);
  font:
    600 25px/1 'DM Sans',
    sans-serif;
  letter-spacing: -0.65px;
  min-height: 88px;
  padding: 0 28px;
}
.ws-brand img {
  width: 26px;
  height: 28px;
}
.sidebar-body {
  padding: 22px 16px 16px;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}
.section-label {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-foreground);
}
.sidebar-body > .section-label {
  padding: 0 14px;
  margin-bottom: 15px;
}
.sidebar-body nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  min-height: 46px;
  color: var(--muted-foreground);
  font-weight: 500;
}
.nav-item:hover {
  background: var(--muted);
  color: var(--foreground);
}
.nav-item.active {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-xs);
}
.nav-item[data-view='subscription'] {
  margin-top: 22px;
  position: relative;
}
.nav-item[data-view='subscription']:before {
  content: '';
  position: absolute;
  top: -14px;
  left: 14px;
  right: 14px;
  border-top: 1px solid var(--border);
}
.nav-count {
  font-size: 11px;
  min-width: 22px;
  border-radius: 6px;
  background: var(--secondary);
  color: var(--muted-foreground);
  text-align: center;
  padding: 1px 4px;
  margin-left: auto;
}
.active .nav-count {
  background: rgba(255, 255, 255, 0.15);
  color: inherit;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 50px;
}
.support-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  font-size: 12px;
  color: var(--muted-foreground);
}
.support-link:hover {
  color: var(--primary);
}
.support-link svg {
  width: 15px;
}
.sidebar-account {
  padding: 18px 2px 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.avatar {
  display: grid;
  place-items: center;
  background: var(--secondary);
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
}
.sidebar-account > div {
  min-width: 0;
  flex: 1;
}
.sidebar-account p {
  font-size: 11px;
  color: var(--muted-foreground);
  word-break: break-all;
}
.account-label {
  font-weight: 500;
  font-size: 12px;
}
.plan-badge {
  font:
    600 10px/1.6 Inter,
    sans-serif;
  letter-spacing: 0.2px;
  display: inline-flex;
  border-radius: 5px;
  background: var(--secondary);
  color: var(--primary);
  padding: 3px 8px;
  white-space: nowrap;
}
.signout {
  width: 100%;
  justify-content: flex-start !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  color: var(--muted-foreground) !important;
}
.signout svg {
  width: 16px;
}
.workspace-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.workspace-topbar {
  min-height: 72px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  color: var(--muted-foreground);
  font-size: 12px;
  gap: 12px;
}
.breadcrumb-divider {
  padding: 0 13px;
  color: #bca999;
}
.breadcrumb-current {
  color: var(--foreground);
}
.top-plan {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-foreground);
  white-space: nowrap;
}
.preview-notice {
  margin: 16px 40px 0;
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: var(--secondary);
  border-radius: 6px;
  font-size: 11px;
  color: var(--muted-foreground);
}
#workspace-content {
  padding: 38px 40px 0;
  min-width: 0;
  outline: none;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.page-heading .section-label {
  margin-bottom: 9px;
}
.page-heading h1 + p {
  margin-top: 10px;
  color: var(--muted-foreground);
}
.ws-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--foreground);
  padding: 9px 15px;
  min-height: 40px;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
}
.ws-button.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-xs);
}
.ws-button.primary:hover {
  background: var(--primary-hover);
}
.ws-button.secondary:hover {
  background: var(--secondary);
}
.ws-button.quiet {
  background: transparent;
  border-color: transparent;
  color: var(--muted-foreground);
}
.ws-button.quiet:hover {
  background: var(--secondary);
}
.ws-button svg {
  width: 16px;
  height: 16px;
}
.board-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--muted-foreground);
  margin-bottom: 18px;
}
.board-caption > span:first-child {
  white-space: nowrap;
  color: var(--foreground);
  font-weight: 500;
}
.board-caption > span:last-child {
  text-align: right;
}
.job-board {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #c7b7a6 transparent;
  padding-bottom: 16px;
  min-height: 505px;
  align-items: stretch;
}
.board-column {
  flex: 1 0 200px;
  max-width: 340px;
  min-width: 0;
  border-radius: 12px;
  background: #f0eae1;
  border: 1px solid transparent;
  padding: 16px 12px;
  transition:
    background-color 160ms,
    border-color 160ms;
}
.board-column > header {
  padding: 0 5px 18px;
}
.board-column h2 {
  font-family: Inter, sans-serif;
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #998877;
}
.status-dot.applied {
  background: #a27a5a;
}
.status-dot.interview {
  background: #9a8c62;
}
.status-dot.offer {
  background: #668370;
}
.status-dot.rejected {
  background: #b98479;
}
.status-dot.withdrawn {
  background: #8c8984;
}
.column-count {
  margin-left: auto;
  color: var(--muted-foreground);
  background: #e5dcd0;
  font-size: 10px;
  font-weight: 500;
  min-width: 20px;
  text-align: center;
  border-radius: 5px;
  padding: 1px 4px;
}
.column-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.job-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  box-shadow: var(--shadow-xs);
  transition:
    box-shadow 180ms,
    transform 180ms,
    border-color 180ms;
  min-width: 0;
}
.job-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: #c9b7a5;
}
.job-card[draggable] {
  cursor: grab;
}
.job-card[draggable]:active {
  cursor: grabbing;
}
.job-card.dragging {
  opacity: 0.45;
  transform: rotate(-1.5deg);
}
.board-column.drop-target {
  background: var(--accent);
  border-color: var(--primary);
}
.job-card-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
}
.company-monogram {
  display: grid;
  place-items: center;
  background: var(--secondary);
  color: var(--primary);
  border: 1px solid var(--border);
  width: 30px;
  height: 30px;
  border-radius: 7px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
}
.card-source {
  font-size: 11px;
  color: var(--muted-foreground);
}
.job-card h3 {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.job-location {
  font-size: 11px;
  color: var(--muted-foreground);
  margin-top: 6px;
}
.job-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: var(--muted-foreground);
  margin-top: 20px;
}
.job-card-meta > span:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
}
.job-card-meta svg {
  width: 12px;
  height: 12px;
}
.has-note {
  font-size: 9px;
}
.card-details {
  margin-top: 15px;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid #eee6dc;
  background: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 11px;
  font-weight: 500;
  color: var(--primary);
  text-align: left;
}
.card-details:hover {
  color: var(--primary-hover);
}
.card-details svg {
  width: 14px;
  height: 14px;
}
.empty-column {
  padding: 32px 8px;
  text-align: center;
  font-size: 11px;
  color: var(--muted-foreground);
  border: 1px dashed #d9cdbf;
  border-radius: 8px;
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: 12px;
  min-height: 440px;
  gap: 14px;
  padding: 32px;
  background: rgba(255, 253, 249, 0.5);
}
.empty-state h2 {
  font-size: 24px;
}
.empty-state p {
  max-width: 420px;
  color: var(--muted-foreground);
}
.empty-state .ws-button {
  margin-top: 8px;
}
.empty-icon {
  width: 56px;
  height: 56px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.empty-icon svg {
  width: 25px;
  height: 25px;
}
.resume-layout {
  max-width: 978px;
  width: 100%;
  margin: 0 auto;
}
.resume-paper {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-xs);
  padding: 48px 60px;
}
.resume-paper > header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 26px;
}
.document-label {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.resume-paper h2 {
  font-size: 30px;
  margin-top: 15px;
}
.resume-title {
  font-size: 16px;
  margin-top: 6px;
  font-weight: 500;
}
.resume-contact {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 9px;
}
.resume-paper section {
  margin-top: 28px;
}
.resume-paper section h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee6dc;
}
.resume-paper section p,
.resume-paper li {
  font-size: 13px;
  line-height: 1.8;
}
.resume-paper h4 {
  font-size: 14px;
  font-weight: 600;
}
.experience-item + .experience-item {
  margin-top: 22px;
}
.experience-item > .muted {
  font-size: 11px;
  margin-top: 3px;
}
.resume-paper ul {
  padding-left: 18px;
  margin: 10px 0 0;
}
.resume-paper li + li {
  margin-top: 5px;
}
.raw-resume,
.resume-review {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.subscription-layout {
  max-width: 978px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px;
  width: 100%;
}
.plan-panel,
.billing-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-xs);
}
.plan-panel > header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px;
  border-bottom: 1px solid var(--border);
}
.plan-panel h2 {
  font-size: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
}
.membership-status {
  font:
    500 10px/1.6 Inter,
    sans-serif;
  background: var(--secondary);
  padding: 3px 7px;
  border-radius: 5px;
  color: var(--muted-foreground);
  letter-spacing: 0;
}
.membership-status.pro {
  background: var(--success-surface);
  color: var(--success);
}
.plan-panel header .muted {
  font-size: 12px;
}
.plan-price {
  font:
    600 29px/1.2 'DM Sans',
    sans-serif;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  text-align: right;
  padding-top: 19px;
}
.plan-price span {
  font:
    400 11px/1.5 Inter,
    sans-serif;
  margin-top: 4px;
  color: var(--muted-foreground);
}
.plan-body {
  padding: 26px 28px;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 12px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.feature-list svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  margin-top: 2px;
}
.plan-action {
  padding: 0 28px 28px;
}
.plan-action p {
  color: var(--muted-foreground);
  font-size: 11px;
  margin-top: 14px;
}
.billing-panel {
  padding: 28px;
  align-self: start;
}
.billing-panel h2 {
  font-size: 18px;
  margin-bottom: 24px;
}
.billing-panel > p {
  font-size: 13px;
  margin-bottom: 12px;
}
.billing-panel dl {
  margin: 0;
}
.billing-panel dl > div {
  border-bottom: 1px solid #eee6dc;
  padding: 12px 0;
}
.billing-panel dt {
  font-size: 11px;
  color: var(--muted-foreground);
}
.billing-panel dd {
  font-size: 12px;
  margin: 5px 0 0;
}
.billing-support {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  margin-top: 28px;
  font-size: 12px;
}
.billing-support a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  margin-top: 8px;
}
.billing-support svg {
  width: 14px;
  height: 14px;
}
.renewal-notice {
  padding: 12px;
  border-radius: 7px;
  background: var(--secondary);
  font-size: 11px !important;
  margin-top: 18px;
}
.workspace-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 0 22px;
  margin-top: auto;
  font-size: 10px;
  color: var(--muted-foreground);
}
.workspace-footer > div {
  display: flex;
  gap: 20px;
}
.workspace-footer a {
  color: var(--muted-foreground);
}
.workspace-footer a:hover {
  color: var(--primary);
}
.inline-notice {
  background: var(--success-surface);
  color: var(--success);
  border: 1px solid var(--success-border);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  display: flex;
  gap: 9px;
  align-items: center;
  margin: -12px 0 20px;
}
.inline-notice svg {
  width: 15px;
  height: 15px;
}
dialog {
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  color: var(--foreground);
  padding: 0;
  box-shadow: var(--shadow-md);
  overflow-y: auto;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: rgba(41, 36, 31, 0.35);
  backdrop-filter: blur(2px);
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px 20px;
  border-bottom: 1px solid var(--border);
}
.dialog-header h2 {
  font-size: 22px;
}
.dialog-header p {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 7px;
}
.icon-button {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted-foreground);
}
.icon-button:hover {
  background: var(--secondary);
}
.detail-body {
  padding: 24px 28px;
}
.detail-body > .job-location {
  margin-top: 0;
  font-size: 12px;
}
.sample-source {
  font-size: 11px;
  color: var(--muted-foreground);
  margin-top: 10px;
}
.detail-section {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.detail-section h3 {
  margin-bottom: 12px;
}
.detail-section > p {
  font-size: 12px;
  margin-bottom: 12px;
}
.detail-section > .ws-button {
  margin-top: 10px;
}
.status-edit {
  display: flex;
  gap: 12px;
  align-items: center;
}
select,
textarea {
  border: 1px solid var(--input);
  background: var(--card);
  color: var(--foreground);
  border-radius: 7px;
  padding: 10px 12px;
  min-width: 0;
}
select {
  height: 40px;
  flex: 1;
  font-size: 12px;
}
textarea {
  resize: vertical;
  width: 100%;
  font-size: 13px;
  line-height: 1.7;
  margin: 9px 0;
}
label {
  display: block;
  font-weight: 500;
  font-size: 13px;
}
.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding: 18px 28px;
}
.dialog-footer .quiet {
  margin-right: auto;
}
.dialog-feedback {
  font-size: 11px;
  color: var(--success);
  margin-top: 10px;
}
.activity-list {
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}
.activity-list li {
  display: flex;
  gap: 12px;
  position: relative;
  padding-bottom: 20px;
}
.activity-list li:last-child {
  padding-bottom: 0;
}
.activity-dot {
  width: 7px;
  height: 7px;
  background: #b59a80;
  border-radius: 50%;
  margin-top: 6px;
  flex: none;
}
.activity-list p {
  font-size: 12px;
}
.activity-list time {
  font-size: 10px;
  color: var(--muted-foreground);
}
.file-upload {
  border: 1px dashed #bfac98;
  border-radius: 10px;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  background: var(--background);
  text-align: center;
}
.file-upload > svg {
  width: 25px;
  height: 25px;
  color: var(--primary);
}
.file-upload > span {
  color: var(--muted-foreground);
  font-size: 11px;
}
.file-upload input {
  font-size: 11px;
  max-width: 100%;
  margin-top: 5px;
}
.file-feedback {
  font-size: 11px;
  color: var(--muted-foreground);
  margin-top: 10px;
}
.or-divider {
  text-align: center;
  border-top: 1px solid var(--border);
  margin: 32px 0 22px;
  height: 0;
}
.or-divider span {
  position: relative;
  top: -12px;
  background: var(--card);
  padding: 0 12px;
  font-size: 11px;
  color: var(--muted-foreground);
}
.resume-review {
  font:
    400 13px/1.8 Inter,
    sans-serif;
  margin: 0;
}
.connection-shell {
  min-height: 100vh;
}
.connection-card {
  max-width: 520px;
  margin: 60px auto;
  padding: 36px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
}
.connection-card .empty-icon {
  margin: 0 auto 22px;
}
.connection-card p {
  margin: 18px 0;
}
.connection-card .ws-button {
  margin-top: 12px;
}
.boot-message {
  margin: 60px;
  text-align: center;
}
@media (min-width: 1800px) {
  .board-column {
    flex-basis: calc((100% - 60px) / 4);
    max-width: none;
  }
}
@media (max-width: 1100px) {
  .workspace-shell {
    grid-template-columns: 218px minmax(0, 1fr);
  }
  .ws-brand {
    padding-inline: 22px;
    font-size: 23px;
  }
  .workspace-topbar {
    padding-inline: 26px;
  }
  #workspace-content {
    padding: 30px 26px 0;
  }
  .preview-notice {
    margin-inline: 26px;
  }
  .subscription-layout {
    grid-template-columns: 1fr;
  }
  .resume-paper {
    padding: 36px;
  }
  .sidebar-account {
    flex-wrap: wrap;
  }
  .sidebar-account .plan-badge {
    margin-left: 40px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading .ws-button {
    margin-top: 25px;
  }
  .board-caption > span:last-child {
    max-width: 260px;
  }
}
@media (max-width: 760px) {
  .workspace-shell {
    display: block;
  }
  .workspace-sidebar {
    height: auto;
    position: relative;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .ws-brand {
    min-height: 70px;
    padding: 0 20px;
    font-size: 24px;
  }
  .sidebar-body {
    padding: 0 12px 12px;
  }
  .sidebar-body > .section-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar-body nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }
  .nav-item {
    font-size: 11px;
    padding: 10px 4px;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
  }
  .nav-item svg {
    width: 15px;
    height: 15px;
  }
  .nav-item[data-view='subscription'] {
    margin-top: 0;
  }
  .nav-item[data-view='subscription']:before,
  .nav-count {
    display: none;
  }
  .workspace-topbar {
    min-height: 55px;
    padding: 0 20px;
    font-size: 11px;
  }
  .top-plan {
    font-size: 0;
    gap: 0;
  }
  .breadcrumb-divider {
    padding-inline: 9px;
  }
  .preview-notice {
    margin: 14px 20px 0;
    font-size: 10px;
    padding: 8px 10px;
  }
  #workspace-content {
    padding: 28px 20px 0;
  }
  .page-heading {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }
  .page-heading .ws-button {
    margin-top: 0;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .page-heading h1 + p {
    font-size: 12px;
    max-width: 300px;
  }
  .page-heading .section-label {
    font-size: 10px;
    margin-bottom: 7px;
  }
  .board-caption {
    gap: 10px;
    font-size: 10px;
  }
  .board-caption > span:last-child {
    max-width: 220px;
  }
  .job-board {
    gap: 12px;
    min-height: 440px;
    scroll-snap-type: x proximity;
  }
  .board-column {
    flex: 0 0 270px;
    max-width: none;
    scroll-snap-align: start;
  }
  .resume-paper {
    padding: 26px 22px;
    border-radius: 10px;
  }
  .resume-paper h2 {
    font-size: 26px;
  }
  .resume-paper section p,
  .resume-paper li {
    font-size: 12px;
  }
  .resume-contact {
    font-size: 10px;
  }
  .plan-panel > header {
    padding: 24px 22px;
  }
  .plan-body {
    padding: 22px;
  }
  .plan-action {
    padding: 0 22px 24px;
  }
  .billing-panel {
    padding: 24px 22px;
  }
  .plan-panel h2 {
    font-size: 29px;
    gap: 8px;
  }
  .plan-price {
    font-size: 26px;
  }
  .membership-status {
    font-size: 9px;
  }
  .workspace-footer {
    font-size: 9px;
    flex-direction: column;
    padding-top: 28px;
    gap: 10px;
  }
  .workspace-footer > div {
    gap: 18px;
  }
  .empty-state {
    min-height: 350px;
    padding: 25px 20px;
  }
  .empty-state h2 {
    font-size: 21px;
  }
  .dialog-header {
    padding: 22px 20px 18px;
  }
  .dialog-header h2 {
    font-size: 20px;
  }
  .detail-body {
    padding: 20px;
  }
  .dialog-footer {
    padding: 16px 20px;
    flex-wrap: wrap;
  }
  .status-edit {
    gap: 8px;
  }
  .status-edit .ws-button {
    padding-inline: 10px;
    font-size: 12px;
  }
  .connection-card {
    margin: 30px 20px;
    padding: 28px 22px;
  }
  .inline-notice {
    font-size: 11px;
  }
  .file-upload {
    padding: 20px 14px;
  }
}
@media (max-width: 360px) {
  .nav-item {
    font-size: 10px;
    gap: 4px;
  }
  .nav-item svg {
    width: 13px;
  }
  .board-column {
    flex-basis: 250px;
  }
  .membership-status {
    padding-inline: 5px;
  }
  .plan-panel > header {
    padding: 20px 18px;
    gap: 8px;
  }
  .plan-panel h2 {
    font-size: 25px;
  }
  .plan-price {
    font-size: 24px;
  }
  .plan-price span {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.mobile-account {
  display: none;
}
@media (max-width: 760px) {
  .workspace-topbar > span {
    flex: 1;
  }
  .mobile-account {
    display: block;
    position: relative;
  }
  .mobile-account summary {
    list-style: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
  }
  .mobile-account summary::-webkit-details-marker {
    display: none;
  }
  .mobile-account > div {
    position: absolute;
    right: 0;
    top: 35px;
    padding: 14px;
    min-width: 210px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    z-index: 5;
  }
  .mobile-account p {
    font-size: 11px;
    word-break: break-all;
    margin-bottom: 8px;
  }
  .mobile-account .ws-button {
    width: 100%;
    justify-content: flex-start;
    font-size: 12px;
  }
}

.closed-status {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--secondary);
  color: var(--muted-foreground);
  font-size: 10px;
}
