:root {
  --bg: #f3f0e9;
  --sidebar: #1f2823;

  --paper: #fbfaf6;
  --paper-soft: #f6f3ed;

  --text: #252923;
  --muted: #767c75;

  --green: #496557;
  --green-soft: #e5ece7;

  --brown: #8a6a4d;

  --red: #8b4b45;
  --red-soft: #f4e6e4;

  --yellow-soft: #f2ecdd;

  --line: #ded9d0;

  --white: #ffffff;

  --radius: 18px;
  --radius-small: 11px;

  --shadow:
    0 12px 34px rgba(28, 34, 29, 0.06);
}


/* =========================================
   RESET
========================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);

  font-family:
    "DM Sans",
    sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}


/* =========================================
   APP SHELL
========================================= */

.app-shell {
  min-height: 100vh;

  display: grid;

  grid-template-columns:
    275px minmax(0, 1fr);
}


/* =========================================
   SIDEBAR
========================================= */

.sidebar {
  min-height: 100vh;
  height: 100vh;

  position: sticky;
  top: 0;

  background: var(--sidebar);
  color: white;

  padding: 30px 21px;

  display: flex;
  flex-direction: column;
}

.brand {
  display: flex;
  align-items: center;

  gap: 13px;

  padding:
    0
    8px
    28px;
}

.brand-mark {
  width: 43px;
  height: 43px;

  border-radius: 50%;

  display: grid;
  place-items: center;

  background: #d7c7ad;
  color: var(--sidebar);

  font-family:
    "Playfair Display",
    serif;

  font-size: 15px;
  font-weight: 600;
}

.brand-eyebrow {
  margin:
    0
    0
    2px;

  color: #95a29a;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.15em;
}

.brand h1 {
  margin: 0;

  font-family:
    "Playfair Display",
    serif;

  font-size: 21px;
  font-weight: 500;
}

.main-nav {
  display: flex;
  flex-direction: column;

  gap: 5px;
}

.nav-item {
  width: 100%;

  display: flex;
  align-items: center;

  gap: 11px;

  border: 0;
  border-radius: 11px;

  padding:
    12px
    13px;

  background: transparent;

  color: #c8d0cb;

  text-align: left;

  font-size: 13px;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.nav-item span {
  width: 18px;

  color: #98a69e;

  font-size: 15px;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.nav-item.active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.nav-item.active span {
  color: #d7c7ad;
}

.sidebar-bottom {
  margin-top: auto;
}

.privacy-note {
  padding:
    19px
    8px
    0;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.1);

  color: #aab4ae;

  font-size: 11px;
  line-height: 1.5;
}

.privacy-note strong {
  color: #d7ddd9;
}

.privacy-note p {
  margin:
    5px
    0
    0;
}


/* =========================================
   MAIN
========================================= */

.main-content {
  width: 100%;
  max-width: 1500px;

  margin: 0 auto;

  padding:
    31px
    clamp(22px, 4.5vw, 68px)
    80px;
}


/* =========================================
   TOPBAR
========================================= */

.topbar {
  margin-bottom: 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.topbar-eyebrow {
  margin:
    0
    0
    4px;

  color: var(--green);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.16em;
}

.topbar h2 {
  margin: 0;

  font-family:
    "Playfair Display",
    serif;

  font-size: 29px;
  font-weight: 500;
}

.topbar-actions {
  display: flex;
  gap: 9px;
}


/* =========================================
   BUTTONS
========================================= */

.primary-button,
.secondary-button,
.danger-button,
.text-button,
.icon-button {
  border-radius: 10px;

  padding:
    10px
    14px;

  font-size: 12px;
  font-weight: 600;
}

.primary-button {
  border:
    1px solid
    var(--green);

  background: var(--green);
  color: white;
}

.primary-button:hover {
  filter: brightness(0.95);
}

.secondary-button {
  border:
    1px solid
    var(--line);

  background: var(--paper);
  color: var(--text);
}

.secondary-button:hover {
  background: var(--paper-soft);
}

.danger-button {
  border:
    1px solid
    var(--red);

  background: var(--red);
  color: white;
}

.text-button {
  border: 0;

  background: transparent;
  color: var(--green);

  padding:
    7px
    3px;
}

.icon-button {
  border: 0;

  background: transparent;
  color: var(--text);

  padding:
    2px
    8px;

  font-size: 24px;
  font-weight: 400;
}


/* =========================================
   VIEWS
========================================= */

.view {
  display: none;
}

.view.active-view {
  display: block;
}


/* =========================================
   HERO
========================================= */

.hero {
  min-height: 270px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 35px;

  padding:
    clamp(30px, 4vw, 48px);

  border:
    1px solid
    var(--line);

  border-radius: 24px;

  background: var(--paper);

  box-shadow: var(--shadow);
}

.hero-kicker {
  margin:
    0
    0
    12px;

  color: var(--brown);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.15em;
}

.hero h3 {
  margin: 0;

  font-family:
    "Playfair Display",
    serif;

  font-size:
    clamp(42px, 5vw, 66px);

  line-height: 0.98;

  font-weight: 500;
}

.hero h3 em {
  color: var(--green);
  font-weight: 500;
}

.hero-description {
  max-width: 720px;

  margin:
    22px
    0
    0;

  color: var(--muted);

  line-height: 1.75;
}

.hero-side-card {
  max-width: 250px;

  padding: 20px;

  border-radius: 16px;

  background: var(--green-soft);
}

.hero-side-card span {
  color: var(--green);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.13em;
}

.hero-side-card p {
  margin:
    8px
    0
    0;

  font-family:
    "Playfair Display",
    serif;

  font-size: 17px;
  line-height: 1.5;
}


/* =========================================
   DASHBOARD STATS
========================================= */

.stats-grid {
  margin:
    18px
    0;

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 13px;
}

.stat-card {
  padding: 20px;

  border:
    1px solid
    var(--line);

  border-radius: 14px;

  background: var(--paper);

  box-shadow: var(--shadow);
}

.stat-card span {
  color: var(--muted);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.12em;
}

.stat-card strong {
  display: block;

  margin-top: 6px;

  font-family:
    "Playfair Display",
    serif;

  font-size: 39px;
  font-weight: 500;
}


/* =========================================
   PANELS
========================================= */

.dashboard-grid {
  margin-bottom: 15px;

  display: grid;

  grid-template-columns:
    1.2fr 0.8fr;

  gap: 15px;
}

.panel {
  margin-bottom: 15px;

  padding: 24px;

  border:
    1px solid
    var(--line);

  border-radius: var(--radius);

  background: var(--paper);

  box-shadow: var(--shadow);
}

.panel-header,
.section-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 20px;
}

.panel-header {
  margin-bottom: 13px;
}

.section-toolbar {
  margin-bottom: 20px;
}

.section-eyebrow {
  margin:
    0
    0
    5px;

  color: var(--brown);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.15em;
}

.panel h3,
.section-toolbar h3 {
  margin: 0;

  font-family:
    "Playfair Display",
    serif;

  font-size: 27px;
  font-weight: 500;
}

.mini-row {
  padding:
    13px
    0;

  display: grid;

  grid-template-columns:
    1.2fr
    1fr
    auto;

  align-items: center;

  gap: 10px;

  border-top:
    1px solid
    var(--line);
}

.mini-row:first-child {
  border-top: 0;
}

.mini-row strong {
  font-size: 12px;
}

.mini-row p {
  margin:
    2px
    0
    0;

  color: var(--muted);

  font-size: 10px;
}


/* =========================================
   BADGES
========================================= */

.status-badge,
.tag,
.type-badge {
  display: inline-flex;
  align-items: center;

  border-radius: 999px;

  white-space: nowrap;
}

.status-badge {
  padding:
    5px
    9px;

  background: var(--green-soft);
  color: var(--green);

  font-size: 9px;
  font-weight: 700;
}

.status-badge.waiting {
  background: var(--yellow-soft);
  color: #765d34;
}

.status-badge.rejected,
.status-badge.withdrawn {
  background: var(--red-soft);
  color: var(--red);
}

.tag {
  margin:
    2px
    3px
    2px
    0;

  padding:
    4px
    8px;

  border:
    1px solid
    var(--line);

  background: var(--paper-soft);

  font-size: 9px;
}

.type-badge {
  padding:
    4px
    8px;

  background: var(--paper-soft);

  color: var(--muted);

  font-size: 9px;
  font-weight: 700;
}


/* =========================================
   APPLICATION TOGGLE
========================================= */

.application-view-toggle {
  display: inline-flex;

  margin-bottom: 15px;

  padding: 3px;

  border:
    1px solid
    var(--line);

  border-radius: 10px;

  background: var(--paper);
}

.view-toggle {
  border: 0;

  border-radius: 7px;

  padding:
    8px
    12px;

  background: transparent;
  color: var(--muted);

  font-size: 11px;
  font-weight: 600;
}

.view-toggle.active {
  background: var(--green);
  color: white;
}

.application-layout {
  display: none;
}

.application-layout.active {
  display: block;
}


/* =========================================
   PIPELINE
========================================= */

.pipeline-board {
  display: grid;

  grid-template-columns:
    repeat(6, minmax(210px, 1fr));

  gap: 12px;

  overflow-x: auto;

  padding-bottom: 7px;
}

.compact-board {
  grid-template-columns:
    repeat(6, minmax(170px, 1fr));
}

.pipeline-column {
  min-height: 280px;

  padding: 11px;

  border:
    1px solid
    var(--line);

  border-radius: 14px;

  background: rgba(251, 250, 246, 0.65);
}

.pipeline-column-header {
  margin-bottom: 10px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 8px;
}

.pipeline-column-header strong {
  font-size: 10px;
  letter-spacing: 0.08em;
}

.pipeline-count {
  width: 22px;
  height: 22px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--paper-soft);

  color: var(--muted);

  font-size: 9px;
}

.pipeline-card {
  margin-bottom: 8px;

  padding: 12px;

  border:
    1px solid
    var(--line);

  border-radius: 11px;

  background: var(--paper);

  box-shadow:
    0 5px 15px
    rgba(30, 35, 30, 0.04);

  cursor: pointer;
}

.pipeline-card:hover {
  border-color: #bfc8c1;
}

.pipeline-card strong {
  display: block;

  margin-bottom: 3px;

  font-size: 11px;
}

.pipeline-card p {
  margin: 0;

  color: var(--muted);

  font-size: 10px;
  line-height: 1.45;
}

.pipeline-card-footer {
  margin-top: 9px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 7px;

  color: var(--muted);

  font-size: 9px;
}


/* =========================================
   FILTERS
========================================= */

.filters-row {
  margin-bottom: 14px;

  display: flex;

  gap: 10px;
}

.search-input {
  max-width: 370px;
}

input,
select,
textarea {
  border:
    1px solid
    var(--line);

  border-radius: 10px;

  padding:
    10px
    12px;

  background: white;

  color: var(--text);

  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
}

input {
  width: 100%;
}

select {
  min-width: 180px;
}

textarea {
  width: 100%;
  min-height: 115px;

  resize: vertical;
}


/* =========================================
   TABLE
========================================= */

.table-wrap {
  overflow: auto;

  border:
    1px solid
    var(--line);

  border-radius: var(--radius);

  background: var(--paper);

  box-shadow: var(--shadow);
}

.data-table {
  width: 100%;
  min-width: 900px;

  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding:
    13px
    15px;

  border-bottom:
    1px solid
    var(--line);

  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--muted);

  font-size: 9px;

  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.data-table td {
  font-size: 11px;
}

.row-action {
  border: 0;

  background: transparent;
  color: var(--green);

  font-size: 10px;
  font-weight: 700;
}


/* =========================================
   DRAWER
========================================= */

.drawer-backdrop {
  position: fixed;
  inset: 0;

  z-index: 80;

  display: flex;
  justify-content: flex-end;

  background: rgba(25, 30, 26, 0.42);
}

.drawer-backdrop.hidden {
  display: none;
}

.application-drawer {
  width:
    min(780px, 100%);

  height: 100%;

  overflow-y: auto;

  padding:
    28px
    30px
    50px;

  background: var(--paper);

  box-shadow:
    -15px
    0
    50px
    rgba(0, 0, 0, 0.12);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 20px;

  margin-bottom: 20px;
}

.drawer-header h2 {
  margin:
    3px
    0
    4px;

  font-family:
    "Playfair Display",
    serif;

  font-size: 32px;
  font-weight: 500;
}

.drawer-header p {
  margin: 0;

  color: var(--muted);

  font-size: 11px;
}

.drawer-tabs {
  display: flex;

  gap: 4px;

  overflow-x: auto;

  margin:
    20px
    0;

  border-bottom:
    1px solid
    var(--line);
}

.drawer-tab {
  border: 0;

  border-bottom:
    2px solid
    transparent;

  border-radius: 0;

  padding:
    10px
    11px;

  background: transparent;
  color: var(--muted);

  white-space: nowrap;

  font-size: 11px;
  font-weight: 600;
}

.drawer-tab.active {
  border-bottom-color: var(--green);
  color: var(--green);
}

.drawer-section {
  display: none;
}

.drawer-section.active {
  display: block;
}


/* =========================================
   INTERVIEW PROCESS / ROUNDS
========================================= */

.process-timeline {
  position: relative;

  margin-top: 15px;

  padding-left: 28px;
}

.process-timeline::before {
  content: "";

  position: absolute;

  top: 5px;
  bottom: 5px;
  left: 8px;

  width: 1px;

  background: var(--line);
}

.round-card {
  position: relative;

  margin-bottom: 15px;

  padding:
    17px
    18px;

  border:
    1px solid
    var(--line);

  border-radius: 13px;

  background: var(--paper);
}

.round-card::before {
  content: "";

  position: absolute;

  top: 20px;
  left: -25px;

  width: 11px;
  height: 11px;

  border:
    3px solid
    var(--paper);

  border-radius: 50%;

  background: var(--muted);

  box-shadow:
    0 0 0 1px
    var(--line);
}

.round-card.passed::before {
  background: var(--green);
}

.round-card.upcoming::before {
  background: #b08a4f;
}

.round-card.rejected::before {
  background: var(--red);
}

.round-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 12px;
}

.round-header h4 {
  margin:
    0
    0
    4px;

  font-size: 13px;
}

.round-meta {
  color: var(--muted);

  font-size: 10px;
  line-height: 1.5;
}

.round-actions {
  margin-top: 12px;

  display: flex;
  flex-wrap: wrap;

  gap: 6px;
}

.round-actions button {
  border:
    1px solid
    var(--line);

  border-radius: 8px;

  padding:
    6px
    9px;

  background: white;
  color: var(--green);

  font-size: 9px;
}


/* =========================================
   PREP
========================================= */

.prep-block {
  padding:
    17px
    0;

  border-top:
    1px solid
    var(--line);
}

.prep-block:first-child {
  border-top: 0;
}

.prep-block h4 {
  margin:
    0
    0
    8px;

  font-size: 13px;
}

.answer-box,
.note-box {
  padding: 15px;

  border-radius: 12px;

  background: var(--green-soft);

  line-height: 1.65;

  font-size: 12px;
}

.small-actions {
  margin-top: 8px;

  display: flex;
  flex-wrap: wrap;

  gap: 6px;
}

.small-button {
  border:
    1px solid
    var(--line);

  border-radius: 8px;

  padding:
    6px
    9px;

  background: white;
  color: var(--green);

  font-size: 9px;
}

.add-inline {
  width: 100%;

  margin-top: 10px;

  border:
    1px dashed
    var(--line);

  border-radius: 10px;

  padding:
    10px
    12px;

  background: transparent;
  color: var(--green);

  font-size: 11px;
}


/* =========================================
   SPLIT LAYOUT
========================================= */

.split-layout {
  display: grid;

  grid-template-columns:
    305px minmax(0, 1fr);

  gap: 15px;

  align-items: start;
}

.item-list-panel {
  position: sticky;
  top: 20px;

  padding: 11px;

  border:
    1px solid
    var(--line);

  border-radius: var(--radius);

  background: var(--paper);

  box-shadow: var(--shadow);
}

.item-card-list {
  display: flex;
  flex-direction: column;

  gap: 7px;
}

.item-card {
  padding:
    12px
    13px;

  border:
    1px solid
    transparent;

  border-radius: 11px;

  background: transparent;

  cursor: pointer;
}

.item-card:hover,
.item-card.active {
  border-color: var(--line);
  background: var(--paper-soft);
}

.item-card strong {
  display: block;

  font-size: 12px;
}

.item-card span {
  display: block;

  margin-top: 2px;

  color: var(--muted);

  font-size: 10px;
}


/* =========================================
   WORKSPACE
========================================= */

.workspace {
  min-height: 500px;

  padding: 28px;

  border:
    1px solid
    var(--line);

  border-radius: var(--radius);

  background: var(--paper);

  box-shadow: var(--shadow);
}

.empty-state {
  display: grid;
  place-items: center;

  text-align: center;

  color: var(--muted);
}

.empty-state h3 {
  margin:
    0
    0
    5px;

  color: var(--text);

  font-family:
    "Playfair Display",
    serif;

  font-size: 28px;
  font-weight: 500;
}

.workspace-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 20px;
}

.workspace-header h3 {
  margin: 0;

  font-family:
    "Playfair Display",
    serif;

  font-size: 28px;
  font-weight: 500;
}

.workspace-header p {
  margin:
    5px
    0
    0;

  color: var(--muted);

  font-size: 10px;
}

.workspace-tabs {
  margin:
    21px
    0;

  display: flex;

  gap: 4px;

  overflow-x: auto;

  border-bottom:
    1px solid
    var(--line);
}

.workspace-tab {
  border: 0;

  border-bottom:
    2px solid
    transparent;

  border-radius: 0;

  padding:
    10px
    11px;

  background: transparent;
  color: var(--muted);

  white-space: nowrap;

  font-size: 11px;
  font-weight: 600;
}

.workspace-tab.active {
  border-bottom-color: var(--green);
  color: var(--green);
}

.workspace-section {
  display: none;
}

.workspace-section.active {
  display: block;
}


/* =========================================
   CAREER DATABASE
========================================= */

.career-intro {
  margin-bottom: 15px;

  padding:
    14px
    17px;

  border-radius: 13px;

  background: var(--green-soft);

  color: #4f5c54;

  font-size: 12px;
}

.career-intro p {
  margin: 0;
}

.career-entry,
.project-card {
  padding:
    15px
    0;

  border-top:
    1px solid
    var(--line);
}

.career-entry:first-child,
.project-card:first-child {
  border-top: 0;
}

.career-entry h4,
.project-card h4 {
  margin:
    0
    0
    6px;

  font-size: 13px;
}

.project-card ul {
  padding-left: 19px;
}

.project-card li {
  margin-bottom: 4px;

  font-size: 11px;
}


/* =========================================
   FORM GRID
========================================= */

.form-grid,
.info-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 12px;
}

.field {
  margin-bottom: 12px;
}

.field.full {
  grid-column:
    1 /
    -1;
}

.field label {
  display: block;

  margin-bottom: 5px;

  color: var(--muted);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.1em;
}


/* =========================================
   CV BUILDER
========================================= */

.cv-layout {
  grid-template-columns:
    310px minmax(0, 1fr);
}

.cv-editor-layout {
  display: grid;

  grid-template-columns:
    0.9fr 1.1fr;

  gap: 18px;
}

.cv-preview {
  min-height: 720px;

  padding: 34px;

  border:
    1px solid
    var(--line);

  background: white;

  box-shadow:
    0 8px
    25px
    rgba(0, 0, 0, 0.05);
}

.cv-preview h1 {
  margin: 0;

  font-family:
    "Playfair Display",
    serif;

  font-size: 31px;
  font-weight: 500;
}

.cv-preview .cv-title {
  margin:
    4px
    0
    13px;

  color: var(--green);

  font-weight: 700;
}

.cv-preview h3 {
  margin-top: 21px;

  padding-bottom: 5px;

  border-bottom:
    1px solid
    var(--line);

  font-size: 10px;

  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cv-preview p,
.cv-preview li {
  font-size: 10.5px;
  line-height: 1.55;
}

.cv-preview ul {
  padding-left: 18px;
}

.cv-preview-entry {
  margin-bottom: 15px;
}

.cv-muted {
  color: var(--muted);
  font-size: 9px;
}

.checkbox-list {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 7px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;

  gap: 7px;

  padding: 8px;

  border:
    1px solid
    var(--line);

  border-radius: 9px;

  font-size: 10px;
}

.checkbox-item input {
  width: auto;
  margin-top: 2px;
}


/* =========================================
   CARDS
========================================= */

.cards-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 13px;
}

.certification-card,
.library-card,
.contact-card {
  padding: 18px;

  border:
    1px solid
    var(--line);

  border-radius: 14px;

  background: var(--paper);

  box-shadow: var(--shadow);
}

.certification-card h4,
.library-card h4,
.contact-card h4 {
  margin:
    0
    0
    4px;

  font-size: 14px;
}

.certification-card p,
.library-card p,
.contact-card p {
  margin:
    4px
    0;

  color: var(--muted);

  font-size: 10px;
  line-height: 1.5;
}

.card-topline {
  margin-bottom: 10px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 10px;
}

.card-actions {
  margin-top: 13px;

  display: flex;
  flex-wrap: wrap;

  gap: 6px;
}

.card-actions button {
  border:
    1px solid
    var(--line);

  border-radius: 8px;

  padding:
    6px
    9px;

  background: white;
  color: var(--green);

  font-size: 9px;
}


/* =========================================
   LIBRARY
========================================= */

.library-tabs {
  margin-bottom: 13px;

  display: flex;

  gap: 7px;
}

.library-filter {
  border:
    1px solid
    var(--line);

  border-radius: 999px;

  padding:
    7px
    11px;

  background: var(--paper);
  color: var(--muted);

  font-size: 10px;
}

.library-filter.active {
  border-color: var(--green);

  background: var(--green);
  color: white;
}

.library-origin {
  margin-bottom: 8px;
}

.library-origin.created {
  color: var(--green);
}

.library-origin.reference {
  color: var(--brown);
}


/* =========================================
   FILE UPLOAD
========================================= */

.file-drop {
  padding: 17px;

  border:
    1px dashed
    #bcb8b0;

  border-radius: 11px;

  background: var(--paper-soft);

  text-align: center;

  color: var(--muted);

  font-size: 10px;
}

.file-drop input {
  margin-top: 9px;
}


/* =========================================
   BACKUP
========================================= */

.backup-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 15px;
}

.danger-panel {
  border-color: #d9c1bd;
}


/* =========================================
   MODAL
========================================= */

.modal-backdrop {
  position: fixed;
  inset: 0;

  z-index: 100;

  display: grid;
  place-items: center;

  padding: 18px;

  background: rgba(24, 29, 25, 0.55);
}

.modal-backdrop.hidden {
  display: none;
}

.modal {
  width:
    min(730px, 100%);

  max-height: 90vh;

  overflow-y: auto;

  padding: 24px;

  border-radius: 20px;

  background: var(--paper);

  box-shadow:
    0 20px
    70px
    rgba(0, 0, 0, 0.22);
}

.modal-header {
  margin-bottom: 18px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 15px;
}

.modal-header h3 {
  margin: 0;

  font-family:
    "Playfair Display",
    serif;

  font-size: 28px;
  font-weight: 500;
}

.modal-actions {
  margin-top: 18px;

  display: flex;
  justify-content: flex-end;

  gap: 9px;
}


/* =========================================
   CONFIRM
========================================= */

.confirm-modal {
  width:
    min(420px, 100%);

  padding: 24px;

  border-radius: 18px;

  background: var(--paper);

  box-shadow:
    0 20px
    70px
    rgba(0, 0, 0, 0.22);
}

.confirm-modal h3 {
  margin:
    0
    0
    7px;

  font-family:
    "Playfair Display",
    serif;

  font-size: 25px;
  font-weight: 500;
}

.confirm-modal p {
  color: var(--muted);

  font-size: 11px;
  line-height: 1.6;
}


/* =========================================
   EMPTY
========================================= */

.no-data {
  padding:
    25px
    10px;

  color: var(--muted);

  text-align: center;

  font-size: 11px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

  .app-shell {
    display: block;
  }

  .sidebar {
    position: relative;

    width: 100%;
    height: auto;
    min-height: auto;
  }

  .main-nav {
    display: grid;

    grid-template-columns:
      repeat(4, 1fr);
  }

  .sidebar-bottom {
    display: none;
  }

  .split-layout,
  .cv-editor-layout {
    grid-template-columns: 1fr;
  }

  .item-list-panel {
    position: relative;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .pipeline-board {
    grid-template-columns:
      repeat(6, 220px);
  }

}


@media (max-width: 750px) {

  .main-content {
    padding:
      23px
      15px
      60px;
  }

  .main-nav {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .topbar,
  .hero,
  .section-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h3 {
    font-size: 43px;
  }

  .hero-side-card {
    max-width: none;
  }

  .stats-grid,
  .cards-grid,
  .backup-grid,
  .form-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .filters-row {
    flex-direction: column;
  }

  .search-input,
  select {
    width: 100%;
    max-width: none;
  }

  .workspace {
    padding: 20px;
  }

  .checkbox-list {
    grid-template-columns: 1fr;
  }

  .application-drawer {
    padding:
      23px
      18px
      45px;
  }

}


/* =========================================
   PRINT
========================================= */

@media print {

  body {
    background: white;
  }

  .sidebar,
  .topbar,
  .section-toolbar,
  .item-list-panel,
  .workspace-tabs,
  .cv-editor-controls,
  .cv-controls,
  .application-drawer,
  .drawer-backdrop {
    display: none !important;
  }

  .app-shell {
    display: block;
  }

  .main-content {
    padding: 0;
    max-width: none;
  }

  .view {
    display: none !important;
  }

  #view-cv.active-view {
    display: block !important;
  }

  .split-layout {
    display: block;
  }

  .workspace {
    min-height: auto;

    padding: 0;

    border: 0;

    box-shadow: none;
  }

  .cv-editor-layout {
    display: block;
  }

  .cv-preview {
    min-height: auto;

    padding: 0;

    border: 0;

    box-shadow: none;
  }

}