@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

:root {
  --ks-blue: #0057b7;   /* Pantone 2935C */
  --ks-red: #E23D28;    /* Pantone 179C */
  --ks-yellow: #FFB81C; /* Pantone 1235C */
  --ks-gray: #707070;   /* KS GRAY B70 */
  --ks-silver: #E0E0E0; /* KS SILVER */
  --ks-dark: #16202C;
  --ks-light-bg: #F3F5F7;
  --ks-text-muted: #6E7B8C;
  --ks-border: rgba(15, 42, 72, 0.08);
  --ks-border-strong: rgba(15, 42, 72, 0.14);
  --ks-surface: #FFFFFF;
  --ks-surface-strong: #FFFFFF;
  --ks-shadow-soft: 0 18px 44px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.03);
  --ks-shadow-floating: 0 28px 60px rgba(15, 23, 42, 0.10), 0 10px 22px rgba(15, 23, 42, 0.05);
  --font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo",
    "Noto Sans KR", "Malgun Gothic", sans-serif;

  font-family: var(--font-family);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--ks-light-bg);
  color: var(--ks-dark);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  letter-spacing: -0.014em;
  min-height: 100vh;
}

a,
button {
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

.v2-shell {
  position: relative;
  background-color: var(--ks-light-bg);
}

/* UI Utilities */
.apple-shadow {
  box-shadow: var(--ks-shadow-soft);
}

.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.glass-nav {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(246, 249, 252, 0.9) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 42, 72, 0.10);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
}

.hide-scroll::-webkit-scrollbar {
  display: none;
}

.hide-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.ks-card {
  background: var(--ks-surface-strong);
  border-radius: 16px;
  border: 1px solid var(--ks-border);
  box-shadow: var(--ks-shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.ks-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.ks-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.ks-btn-primary {
  background-color: var(--ks-blue);
  color: white;
}

.ks-btn-primary:hover {
  background-color: #004595;
  box-shadow: 0 4px 12px rgba(0, 87, 183, 0.3);
  transform: translateY(-1px);
}

.ks-badge-primary {
  background-color: rgba(0, 87, 183, 0.1);
  color: var(--ks-blue);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 700;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.v2-page {
  position: relative;
}

.v2-nav {
  height: 72px;
}

.v2-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--ks-blue), rgba(0, 87, 183, 0.14), rgba(226, 61, 40, 0.18));
  opacity: 0.72;
}

.v2-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.82rem;
  min-width: 0;
  min-height: 3rem;
  padding: 0.28rem 0.52rem 0.28rem 0;
  border-radius: 999px;
}

.v2-nav-brand-copy {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
  max-width: 14rem;
}

.v2-nav-brand-title {
  color: #1d1d1f;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-nav-brand-subtitle {
  color: #5f7186;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-nav-brand:hover {
  opacity: 0.86;
  background: rgba(255, 255, 255, 0.62);
}

.v2-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 4.75rem;
  color: var(--ks-blue);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.v2-nav-back:hover {
  opacity: 0.74;
}

.v2-nav-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.05rem;
  height: 3.05rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 87, 183, 0.12);
  box-shadow:
    0 12px 24px rgba(15, 23, 42, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  overflow: hidden;
  flex-shrink: 0;
  line-height: 0;
}

.v2-nav-logo-img {
  display: block;
  width: auto;
  height: 2.35rem;
  object-fit: contain;
}

.v2-nav-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.75rem;
}

.v2-nav-user-pill,
.v2-nav-title-pill,
.v2-nav-link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 42, 72, 0.09);
  background: rgba(255, 255, 255, 0.74);
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.v2-nav-user-pill,
.v2-nav-title-pill {
  padding: 0.5rem 0.8rem;
}

.v2-nav-link-pill {
  gap: 0.35rem;
  padding: 0.5rem 0.78rem;
  color: var(--ks-blue);
  font-weight: 800;
}

.v2-nav-link-pill:hover {
  background: #ffffff;
  border-color: rgba(0, 87, 183, 0.24);
  box-shadow: 0 12px 24px rgba(0, 87, 183, 0.08);
}

.v2-outline-btn-disabled {
  opacity: 1;
  color: #7b8794;
  background: #f8fafc;
  border-color: #e2e8f0;
  box-shadow: none;
}

@media (max-width: 640px) {
  .v2-nav {
    height: 68px;
  }

  .v2-nav-brand-copy {
    max-width: 10.5rem;
  }

  .v2-nav-logo-wrap {
    width: 2.75rem;
    height: 2.75rem;
  }

  .v2-nav-logo-img {
    height: 2.08rem;
  }

  .v2-nav-user-pill,
  .v2-nav-title-pill,
  .v2-nav-link-pill {
    min-height: 2.15rem;
    padding: 0.42rem 0.65rem;
  }
}

.v2-page-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ks-blue);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.v2-page-back:hover {
  opacity: 0.72;
}

.v2-brand-logo-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 16px 30px rgba(7, 39, 84, 0.18);
  line-height: 0;
}

.v2-brand-logo-img {
  display: block;
  width: auto;
  height: 3rem;
  object-fit: contain;
}

.v2-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--ks-border);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  color: var(--ks-blue);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.v2-page-title {
  font-size: clamp(2.35rem, 6vw, 4.15rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  color: #121D2A;
}

.v2-page-subtitle {
  color: var(--ks-text-muted);
  font-size: clamp(0.98rem, 1.9vw, 1.18rem);
  line-height: 1.7;
  letter-spacing: -0.016em;
}

.v2-dashboard-hero {
  overflow: hidden;
  border-radius: 2rem 2rem 0 0;
  border: 1px solid var(--ks-border);
  background: #ffffff;
  box-shadow: var(--ks-shadow-floating);
}

.v2-dashboard-stage {
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid var(--ks-border);
  background: #ffffff;
  box-shadow: var(--ks-shadow-floating);
}

.v2-dashboard-stage__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #ffffff;
}

.v2-dashboard-status-card {
  position: relative;
  padding: 1.15rem 1.1rem;
  border-bottom: 1px solid #edf2f7;
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.v2-dashboard-status-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.v2-dashboard-status-card__label {
  color: #6e7b8c;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.v2-dashboard-status-card__title {
  margin-top: 0.32rem;
  color: #121d2a;
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.v2-dashboard-status-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dfe9f5;
  color: var(--ks-blue);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.v2-dashboard-status-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.v2-dashboard-status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.72rem;
  padding: 0.64rem 0.72rem;
  border-radius: 0.95rem;
  border: 1px solid #e7edf4;
  background: #ffffff;
}

.v2-dashboard-status-item span {
  color: #7b8794;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.v2-dashboard-status-item strong {
  color: #132031;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.018em;
  text-align: right;
}

.v2-dashboard-hero__progress {
  position: relative;
  padding: 1rem;
  background: #ffffff;
}

.v2-welcome-banner.v2-welcome-banner--embedded {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.v2-compact-progress.v2-compact-progress--embedded {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 1rem;
}

.v2-welcome-banner {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  padding: 0.98rem 1.05rem;
  background: linear-gradient(135deg, #1a72cf 0%, var(--ks-blue) 56%, #004595 100%);
  box-shadow: var(--ks-shadow-floating);
}

.v2-welcome-banner::before,
.v2-welcome-banner::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.v2-welcome-banner::before {
  top: -4.5rem;
  left: -3.5rem;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
}

.v2-welcome-banner::after {
  right: -5rem;
  bottom: -7rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
}

.v2-welcome-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.78rem;
}

.v2-welcome-banner__intro {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.v2-welcome-banner__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow:
    0 10px 24px rgba(7, 39, 82, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  flex-shrink: 0;
  padding: 0.28rem;
  line-height: 0;
}

.v2-welcome-banner__logo-image {
  width: 2.28rem;
  height: 2.28rem;
  object-fit: contain;
}

.v2-welcome-banner__eyebrow {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.v2-welcome-banner__name {
  margin-top: 0.14rem;
  color: #ffffff;
  font-size: clamp(1.16rem, 2.9vw, 1.72rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-welcome-banner__meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  width: 100%;
}

.v2-welcome-banner__meta-card {
  min-width: 0;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.72rem 0.82rem;
}

.v2-welcome-banner__meta-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.v2-welcome-banner__chips {
  margin-top: 0.62rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.v2-welcome-banner__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.36rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ks-blue);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 10px 20px rgba(7, 39, 82, 0.12);
}

.v2-welcome-banner__meta-value {
  margin-top: 0.34rem;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  word-break: break-word;
}

@media (min-width: 768px) {
  .v2-dashboard-stage__body {
    grid-template-columns: minmax(260px, 0.32fr) minmax(0, 0.68fr);
  }

  .v2-dashboard-status-card {
    border-bottom: 0;
    border-right: 1px solid #edf2f7;
    padding: 1.25rem;
  }

  .v2-dashboard-hero__progress {
    padding: 1.15rem 1.25rem 1.25rem;
  }

  .v2-compact-progress.v2-compact-progress--embedded {
    padding: 1.15rem 1.25rem 1.25rem;
  }

  .v2-welcome-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
  }

  .v2-welcome-banner {
    padding: 1rem 1.25rem;
  }

  .v2-welcome-banner__intro {
    flex: 1 1 auto;
  }

  .v2-welcome-banner__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex: 0 0 auto;
    max-width: 21.5rem;
    gap: 0.65rem;
  }

  .v2-welcome-banner__meta-card {
    padding: 0.74rem 0.84rem;
  }
}

@media (min-width: 1024px) {
  .v2-dashboard-stage__body {
    grid-template-columns: minmax(300px, 0.31fr) minmax(0, 0.69fr);
  }

  .v2-dashboard-status-card {
    padding: 1.4rem;
  }

  .v2-welcome-banner {
    padding: 1.08rem 1.4rem;
  }

  .v2-welcome-banner__inner {
    gap: 1.6rem;
  }

  .v2-welcome-banner__meta {
    max-width: 23rem;
  }
}

.v2-card {
  background: var(--ks-surface-strong);
  border: 1px solid var(--ks-border);
  box-shadow: var(--ks-shadow-soft);
}

.v2-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem 1rem;
}

.v2-meta-item {
  min-width: 0;
}

.v2-meta-item-wide {
  grid-column: 1 / -1;
}

.v2-meta-label {
  color: #7b8794;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.v2-meta-value {
  margin-top: 0.35rem;
  color: #132031;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.44;
  word-break: break-word;
}

.v2-summary-panel {
  border: 1px solid #e7edf4;
  background: #fafbfd;
  border-radius: 1.45rem;
  padding: 1rem 1.05rem;
}

.v2-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.v2-summary-label {
  color: #7b8794;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.v2-summary-title {
  margin-top: 0.35rem;
  color: #121d2a;
  font-size: clamp(1.28rem, 2.4vw, 1.72rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.v2-summary-copy {
  margin-top: 0.28rem;
  color: #6e7b8c;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.56;
}

.v2-interview-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.v2-interview-profile-card,
.v2-interview-details-card,
.v2-interview-attendance-card {
  min-width: 0;
}

.v2-interview-profile-card {
  margin-bottom: 0;
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.v2-interview-state-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.v2-interview-state-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 0.28rem;
  background: linear-gradient(90deg, var(--ks-blue), rgba(255, 184, 28, 0.82), rgba(226, 61, 40, 0.72));
}

.v2-interview-details-card,
.v2-interview-attendance-card {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .v2-interview-layout {
    grid-template-columns: 1fr;
  }

  .v2-interview-profile-card {
    grid-column: auto;
    grid-row: auto;
  }

  .v2-interview-details-card {
    grid-column: auto;
    grid-row: auto;
  }

  .v2-interview-attendance-card {
    grid-column: auto;
    grid-row: auto;
  }
}

.v2-data-surface {
  background: #fcfdff;
  border: 1px solid #e7edf4;
  border-radius: 1.5rem;
  overflow: hidden;
}

.v2-data-row {
  display: grid;
  grid-template-columns: minmax(112px, 136px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.3rem;
}

.v2-data-row + .v2-data-row {
  border-top: 1px solid #eef2f6;
}

.v2-data-term {
  color: #7b8794;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.v2-data-value {
  color: #1d1d1f;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.5;
  word-break: break-word;
}

.v2-inline-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 1.25rem;
  border: 1px solid #e7edf4;
  background: #fafbfd;
}

@media (min-width: 640px) {
  .v2-summary-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: start;
  }
}

.v2-form-shell {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--ks-border);
  box-shadow: var(--ks-shadow-soft);
  border-radius: 32px;
  padding: clamp(1.35rem, 4vw, 2rem);
}

.v2-form-shell input,
.v2-form-shell select {
  letter-spacing: -0.015em;
}

.v2-top-switch {
  background: #ffffff;
  border: 1px solid var(--ks-border);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.v2-pill-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  letter-spacing: -0.02em;
}

.v2-pill-link:hover {
  color: var(--ks-blue);
}

.v2-pill-link-active {
  color: var(--ks-blue);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.v2-action-card {
  background: #ffffff;
  border: 1px solid var(--ks-border);
  box-shadow: var(--ks-shadow-soft);
}

.v2-action-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ks-shadow-floating);
}

.v2-dashboard-action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.v2-dashboard-action-card {
  position: relative;
  display: flex;
  min-height: 16rem;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.65rem;
  padding: 1.35rem;
}

.v2-dashboard-action-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(0, 87, 183, 0.08), rgba(255, 255, 255, 0) 42%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.v2-dashboard-action-card:hover::before {
  opacity: 1;
}

.v2-dashboard-action-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.v2-dashboard-action-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid #dfe9f5;
  background: #ffffff;
  color: var(--ks-blue);
  opacity: 0;
  transform: translateX(0.5rem);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.v2-dashboard-action-card:hover .v2-dashboard-action-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

.v2-dashboard-action-card__status {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 1.78rem;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  border: 1px solid #dfe9f5;
  background: #f7fbff;
  color: var(--ks-blue);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.v2-dashboard-action-card__title {
  position: relative;
  z-index: 1;
  margin-top: 0.85rem;
  color: #1d1d1f;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.v2-dashboard-action-card__copy {
  position: relative;
  z-index: 1;
  margin-top: 0.65rem;
  color: #6e7b8c;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.58;
}

.v2-dashboard-action-card--invoice {
  background:
    linear-gradient(135deg, #ffffff 0%, #ffffff 48%, #f7fbff 100%);
}

.v2-dashboard-invoice-strip {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.24rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.v2-dashboard-invoice-strip span {
  color: #7b8794;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.v2-dashboard-invoice-strip strong {
  color: #132031;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .v2-dashboard-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .v2-dashboard-action-card {
    min-height: 17.5rem;
    border-radius: 1.85rem;
    padding: 1.55rem;
  }

  .v2-dashboard-action-card--invoice {
    grid-column: 1 / -1;
    min-height: 15rem;
  }
}

@media (min-width: 1180px) {
  .v2-dashboard-action-grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 0.78fr) minmax(340px, 1.05fr);
  }

  .v2-dashboard-action-card {
    min-height: 18rem;
    padding: 1.75rem;
  }

  .v2-dashboard-action-card--invoice {
    grid-column: auto;
  }
}

.v2-quick-access-head {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.v2-quick-access-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.v2-documents-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.05rem;
  border-radius: 1rem;
  background: rgba(240, 247, 255, 0.94);
  color: var(--ks-blue);
  border: 1px solid rgba(0, 87, 183, 0.22);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.v2-documents-outline-btn i {
  color: var(--ks-blue);
}

.v2-documents-outline-btn:hover {
  background: rgba(231, 242, 255, 0.98);
  border-color: rgba(0, 87, 183, 0.34);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
}

.v2-cancellation-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.05rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  color: #243041;
  border: 1px solid rgba(226, 61, 40, 0.34);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.v2-cancellation-outline-btn i {
  color: var(--ks-red);
}

.v2-cancellation-outline-btn:hover {
  background: rgba(255, 244, 241, 0.72);
  border-color: rgba(226, 61, 40, 0.52);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
}

.v2-cancellation-outline-btn[hidden] {
  display: none !important;
}

@media (min-width: 640px) {
  .v2-quick-access-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .v2-quick-access-actions {
    width: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }
}

.v2-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  flex-shrink: 0;
  border-radius: 1rem;
  background: #f3f7fc;
  border: 1px solid rgba(0, 87, 183, 0.10);
  color: var(--ks-blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.v2-primary-btn {
  background: linear-gradient(180deg, #0D68CB 0%, #0057B7 100%);
  color: #fff;
  border: 1px solid rgba(0, 87, 183, 0.30);
  border-radius: 1rem !important;
  box-shadow: 0 18px 36px rgba(0, 87, 183, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.v2-primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(0, 87, 183, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.v2-secondary-btn {
  background: rgba(255, 255, 255, 0.92);
  color: #132031;
  border: 1px solid var(--ks-border-strong);
  border-radius: 1rem !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.v2-secondary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.v2-dark-btn {
  background: linear-gradient(180deg, #1E293B 0%, #16202C 100%);
  color: #fff;
  border-radius: 1rem !important;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
}

.v2-soft-note {
  background: #FAFBFC;
  border: 1px solid var(--ks-border);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.v2-warning-note {
  background: rgba(255, 244, 241, 0.96);
  border: 1px solid rgba(226, 61, 40, 0.10);
}

.v2-accent-card {
  background: #f7fbff;
  border: 1px solid rgba(0, 87, 183, 0.10);
}

.v2-mini-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 87, 183, 0.08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.v2-success-hero {
  background: #f7fbff;
  border: 1px solid rgba(0, 87, 183, 0.12);
}

.v2-success-pill {
  background: rgba(0, 87, 183, 0.08);
  color: var(--ks-blue);
  border: 1px solid rgba(0, 87, 183, 0.10);
}

.v2-fail-panel {
  background: #fff8f6;
  border: 1px solid rgba(226, 61, 40, 0.10);
}

.v2-step-heading {
  margin-bottom: clamp(1.6rem, 3vw, 2rem);
}

.v2-step-heading-label {
  color: #7b8794;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.v2-step-heading-title {
  margin-top: 0.55rem;
  color: #121d2a;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.v2-step-heading-copy {
  margin-top: 0.55rem;
  color: #6e7b8c;
  font-size: clamp(0.92rem, 1.8vw, 1rem);
  font-weight: 500;
  letter-spacing: -0.016em;
  line-height: 1.6;
}

.v2-progress-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid #e9eef4;
  border-radius: 1.25rem;
  background: #f8fafc;
}

.v2-flow-step {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0.8rem 0.7rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  background: transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.v2-flow-step-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.52rem;
  min-width: 0;
}

.v2-flow-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid #d9e1ea;
  background: #ffffff;
  color: #8b95a4;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: all 0.25s ease;
}

.v2-flow-step-title {
  color: #8791a0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.v2-flow-step-copy {
  display: none;
}

.v2-flow-step.is-active {
  border-color: #e2e9f1;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.v2-flow-step.is-complete {
  border-color: transparent;
}

.v2-flow-step.is-active .v2-flow-step-badge {
  border-color: #0057b7;
  background: #0057b7;
  color: #ffffff;
}

.v2-flow-step.is-complete .v2-flow-step-badge {
  border-color: #d7e6f8;
  background: #edf5ff;
  color: #0057b7;
}

.v2-flow-step.is-complete .v2-flow-step-title {
  color: #51657a;
}

.v2-flow-step.is-active .v2-flow-step-title {
  color: #132031;
}

.v2-step-panel {
  background: #ffffff;
  border: 1px solid var(--ks-border);
  border-radius: 36px;
  box-shadow: var(--ks-shadow-soft);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.v2-compact-progress {
  background: #ffffff;
  border: 1px solid var(--ks-border);
  border-radius: 1.75rem;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.04);
  padding: 1rem 1.05rem;
}

.v2-compact-progress-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.v2-compact-step {
  min-width: 0;
  padding: 0.9rem 0.95rem;
  border-radius: 1.1rem;
  border: 1px solid #e7edf4;
  background: #fbfcfe;
}

.v2-compact-step-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}

.v2-compact-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid #dfe6ee;
  background: #ffffff;
  color: #8b95a4;
}

.v2-compact-step-title {
  color: #243041;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.v2-compact-step-status {
  color: #7b8794;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.35;
}

.v2-compact-step.is-done {
  border-color: #dfe9f5;
  background: #f7fbff;
}

.v2-compact-step.is-done .v2-compact-step-icon {
  border-color: #0057b7;
  background: #0057b7;
  color: #ffffff;
}

.v2-compact-step.is-current {
  border-color: rgba(0, 87, 183, 0.18);
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 87, 183, 0.08);
}

.v2-compact-step.is-current .v2-compact-step-icon {
  border-color: #0057b7;
  background: #edf5ff;
  color: #0057b7;
}

.v2-compact-step.is-current .v2-compact-step-title,
.v2-compact-step.is-current .v2-compact-step-status {
  color: #0057b7;
}

.v2-brand-panel {
  position: relative;
  isolation: isolate;
  background: #0A58AE;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.14);
}

.v2-brand-panel-campus::before,
.v2-brand-panel-campus::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.v2-brand-panel-campus::before {
  background-image: url("/images/login-campus-bg.jpg");
  background-size: cover;
  background-position: center center;
  opacity: 0.16;
  filter: saturate(0.9) brightness(0.98) contrast(1.04);
  transform: scale(1.03);
}

.v2-brand-panel-campus::after {
  background:
    linear-gradient(180deg, rgba(6, 56, 120, 0.70) 0%, rgba(8, 66, 142, 0.74) 42%, rgba(7, 58, 124, 0.82) 100%);
}

.v2-brand-panel-card {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 24px 36px rgba(2, 41, 95, 0.14);
}

.v2-documents-layout {
  display: grid;
  gap: 1.5rem;
}

.v2-documents-main,
.v2-documents-aside {
  min-width: 0;
}

.v2-documents-stack {
  display: grid;
  gap: 1.25rem;
}

.v2-documents-hero-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 25rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(0, 87, 183, 0.14);
  background: rgba(255, 255, 255, 0.94);
  padding: 1rem 1.05rem;
  box-shadow: var(--ks-shadow-soft);
}

.v2-documents-hero-note__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  flex-shrink: 0;
  background: #edf5ff;
  color: var(--ks-blue);
  border: 1px solid rgba(0, 87, 183, 0.10);
}

.v2-documents-hero-note__title {
  color: #132031;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.v2-documents-hero-note__copy {
  margin-top: 0.2rem;
  color: #6e7b8c;
  font-size: 0.83rem;
  line-height: 1.55;
}

.v2-documents-section {
  background: #ffffff;
  border: 1px solid var(--ks-border);
  border-radius: 2rem;
  padding: clamp(1.15rem, 2.7vw, 1.8rem);
  box-shadow: var(--ks-shadow-soft);
}

.v2-documents-section__head {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}

.v2-documents-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: #f7fbff;
  border: 1px solid #dfe9f5;
  color: var(--ks-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.v2-documents-section__title {
  color: #1d1d1f;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.v2-documents-section__copy {
  color: #6e7b8c;
  font-size: 0.92rem;
  line-height: 1.6;
}

.v2-documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.9rem;
}

.v2-document-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  border-radius: 1.55rem;
  border: 1px solid #e7edf4;
  background: #fcfdff;
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.v2-document-card[data-status="needs-revision"] {
  border-color: rgba(226, 61, 40, 0.24);
  background: #fffafb;
}

.v2-document-card[data-status="under-review"] {
  border-color: rgba(255, 184, 28, 0.32);
  background: #fffdf7;
}

.v2-document-card[data-status="approved"] {
  border-color: rgba(31, 134, 84, 0.18);
}

.v2-document-card[data-status="not-uploaded"] {
  background: #ffffff;
}

.v2-document-card__header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.v2-document-card__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.v2-document-card__slot {
  color: #7b8794;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.v2-document-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.9rem;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  border: 1px solid transparent;
  white-space: nowrap;
}

.v2-document-status[data-status="approved"] {
  color: #1d7c4b;
  background: rgba(29, 124, 75, 0.10);
  border-color: rgba(29, 124, 75, 0.16);
}

.v2-document-status[data-status="under-review"] {
  color: #b17700;
  background: rgba(255, 184, 28, 0.14);
  border-color: rgba(255, 184, 28, 0.22);
}

.v2-document-status[data-status="needs-revision"] {
  color: var(--ks-red);
  background: rgba(226, 61, 40, 0.10);
  border-color: rgba(226, 61, 40, 0.18);
}

.v2-document-status[data-status="not-uploaded"] {
  color: #6e7b8c;
  background: #f4f7fa;
  border-color: #e4eaf1;
}

.v2-document-card__title {
  color: #132031;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.32;
}

.v2-document-card__desc {
  margin-top: 0.24rem;
  color: #6e7b8c;
  font-size: 0.84rem;
  line-height: 1.55;
}

.v2-document-meta {
  display: grid;
  gap: 0.7rem;
  padding: 0.95rem;
  border-radius: 1.2rem;
  background: #ffffff;
  border: 1px solid #e7edf4;
}

.v2-document-meta__row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.v2-document-meta__label {
  color: #7b8794;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.v2-document-meta__value {
  color: #132031;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  word-break: break-word;
}

.v2-document-comment {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(226, 61, 40, 0.12);
  background: #fff5f3;
  padding: 0.9rem 0.95rem;
  color: #81463d;
}

.v2-document-comment[hidden] {
  display: none !important;
}

.v2-document-comment__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  flex-shrink: 0;
  background: rgba(226, 61, 40, 0.10);
  color: var(--ks-red);
}

.v2-document-comment__label {
  color: var(--ks-red);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.v2-document-comment__text {
  margin-top: 0.18rem;
  font-size: 0.86rem;
  line-height: 1.55;
}

.v2-document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
}

.v2-document-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.45rem;
  padding: 0.52rem 0.86rem;
  border-radius: 0.95rem;
  background: #ffffff;
  color: #132031;
  border: 1px solid #dce4ec;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.v2-document-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.06);
}

.v2-document-action--primary {
  color: var(--ks-blue);
  background: #f4f9ff;
  border-color: rgba(0, 87, 183, 0.16);
}

.v2-document-action--danger {
  color: var(--ks-red);
  background: #fff8f6;
  border-color: rgba(226, 61, 40, 0.16);
}

.v2-document-action[hidden] {
  display: none !important;
}

.v2-document-action:disabled {
  opacity: 0.45;
  pointer-events: none;
  box-shadow: none;
}

.v2-documents-side-card {
  background: #ffffff;
  border: 1px solid var(--ks-border);
  border-radius: 1.7rem;
  padding: 1.2rem;
  box-shadow: var(--ks-shadow-soft);
}

.v2-documents-side-card--accent {
  background: linear-gradient(180deg, #eef6ff 0%, #e6f1ff 100%);
  border-color: #d7e6f8;
  box-shadow: 0 20px 42px rgba(0, 87, 183, 0.08);
}

.v2-documents-side-card--plain {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0.1rem 0;
}

.v2-documents-side-label {
  color: #7b8794;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.v2-documents-side-title {
  margin-top: 0.5rem;
  color: #132031;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.v2-documents-side-copy {
  margin-top: 0.5rem;
  color: #5f7186;
  font-size: 0.9rem;
  line-height: 1.65;
}

.v2-documents-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.v2-documents-overview-stat {
  border-radius: 1.15rem;
  border: 1px solid #d7e6f8;
  background: rgba(255, 255, 255, 0.84);
  padding: 0.85rem 0.9rem;
}

.v2-documents-overview-stat__label {
  color: #6e7b8c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.v2-documents-overview-stat__value {
  margin-top: 0.22rem;
  color: #132031;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.v2-documents-guide-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.95rem;
  padding-left: 1rem;
  color: #44566d;
  font-size: 0.9rem;
  line-height: 1.65;
}

.v2-documents-guide-list li::marker {
  color: var(--ks-blue);
}

.v2-documents-contact {
  display: grid;
  gap: 1rem;
}

.v2-documents-contact__copy {
  color: #5f7186;
  font-size: 0.9rem;
  line-height: 1.65;
}

.v2-documents-link-stack {
  display: grid;
  gap: 0.7rem;
}

.v2-documents-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 2.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 87, 183, 0.18);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.72rem 1rem;
  color: var(--ks-blue);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.v2-documents-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.06);
}

@media (min-width: 1024px) {
  .v2-documents-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.92fr);
    align-items: start;
  }

  .v2-documents-aside {
    position: sticky;
    top: 6rem;
  }
}

.v2-storage-shell {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid var(--ks-border);
  background: #ffffff;
  box-shadow: var(--ks-shadow-floating);
}

.v2-storage-sidebar {
  padding: 1.05rem;
  background: #fbfcfe;
  border-bottom: 1px solid #e7edf4;
}

.v2-storage-space-card {
  border-radius: 1.55rem;
  border: 1px solid #e3ebf3;
  background: #ffffff;
  padding: 1rem;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.04);
}

.v2-storage-space-card__label {
  color: #7b8794;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.v2-storage-space-card__title {
  margin-top: 0.45rem;
  color: #132031;
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.v2-storage-space-card__copy {
  margin-top: 0.45rem;
  color: #5f7186;
  font-size: 0.9rem;
  line-height: 1.65;
}

.v2-storage-usage {
  margin-top: 1rem;
}

.v2-storage-usage__bar {
  overflow: hidden;
  height: 0.6rem;
  border-radius: 999px;
  background: #edf3f9;
}

.v2-storage-usage__bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #8ab7f1 0%, #0057b7 100%);
}

.v2-storage-usage__meta {
  display: grid;
  gap: 0.18rem;
  margin-top: 0.7rem;
}

.v2-storage-usage__meta strong {
  color: #132031;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.v2-storage-usage__meta span {
  color: #6e7b8c;
  font-size: 0.8rem;
  line-height: 1.5;
}

.v2-storage-tree {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.95rem;
}

.v2-storage-tree__label {
  color: #7b8794;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.v2-storage-tree__item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem 0.78rem;
  text-align: left;
  border-radius: 0.92rem;
  border: 1px solid transparent;
  background: transparent;
}

.v2-storage-tree__item:hover {
  background: #f4f8fd;
  border-color: #e2ebf4;
}

.v2-storage-tree__item.is-active {
  background: #edf5ff;
  border-color: #d7e6f8;
  box-shadow: 0 10px 22px rgba(0, 87, 183, 0.07);
}

.v2-storage-tree__item-main {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 0;
}

.v2-storage-tree__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 0.78rem;
  border: 1px solid #e3ebf3;
  background: #ffffff;
  color: #7b8794;
  flex-shrink: 0;
}

.v2-storage-tree__item.is-active .v2-storage-tree__icon {
  color: var(--ks-blue);
  border-color: #d7e6f8;
}

.v2-storage-tree__text {
  display: block;
  min-width: 0;
}

.v2-storage-tree__title {
  color: #132031;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
}

.v2-storage-tree__copy {
  color: #7b8794;
  font-size: 0.78rem;
  line-height: 1.45;
}

.v2-storage-tree__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.8rem;
  min-height: 1.8rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  border: 1px solid #e3ebf3;
  background: #ffffff;
  color: #5f7186;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.v2-storage-tree__item.is-active .v2-storage-tree__count {
  color: var(--ks-blue);
  border-color: #d7e6f8;
}

.v2-storage-side-note {
  margin-top: 0.9rem;
  border-radius: 1.15rem;
  border: 1px solid #dbe6f1;
  background: #f9fbfe;
  padding: 0.95rem 1rem;
}

.v2-storage-side-note__title {
  color: #132031;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.v2-storage-side-note__copy {
  margin-top: 0.32rem;
  color: #5f7186;
  font-size: 0.8rem;
  line-height: 1.58;
}

.v2-storage-main {
  min-width: 0;
  padding: 1.1rem;
}

.v2-storage-topbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.v2-storage-topbar--compact {
  gap: 0.7rem;
}

.v2-storage-breadcrumb {
  color: #7b8794;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.v2-storage-current-title {
  margin-top: 0.38rem;
  color: #132031;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.v2-storage-current-copy {
  margin-top: 0.42rem;
  color: #5f7186;
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 52rem;
}

.v2-storage-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.v2-storage-mobile-folders {
  display: none;
}

.v2-storage-path {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 2.8rem;
  padding: 0.72rem 0.92rem;
  border-radius: 1rem;
  border: 1px solid #e3ebf3;
  background: #fbfcfe;
  color: #51657a;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  word-break: break-all;
}

.v2-storage-browser {
  display: grid;
  gap: 0;
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 1.55rem;
  border: 1px solid #e7edf4;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
}

.v2-storage-list-pane {
  min-width: 0;
}

.v2-storage-list-pane__head {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1rem;
  border-bottom: 1px solid #eef2f6;
  background: #f8fafc;
}

.v2-storage-list-pane__head--compact {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
}

.v2-storage-list-pane__label {
  color: #7b8794;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.v2-storage-list-pane__title {
  margin-top: 0.3rem;
  color: #132031;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.v2-storage-list-pane__head--compact .v2-storage-list-pane__title {
  margin-top: 0;
}

.v2-storage-list-pane__meta {
  color: #5f7186;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.v2-storage-dropzone {
  width: calc(100% - 1.3rem);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0.65rem;
  padding: 0.9rem 0.95rem;
  border: 1px dashed #cddbea;
  border-radius: 1rem;
  background: #fafcff;
  text-align: left;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.v2-storage-dropzone:hover {
  border-color: #9abde5;
  background: #f6faff;
}

.v2-storage-dropzone.is-dragover {
  border-color: var(--ks-blue);
  background: #edf5ff;
  box-shadow: inset 0 0 0 1px rgba(0, 87, 183, 0.08);
}

.v2-storage-dropzone.is-disabled {
  opacity: 0.72;
  cursor: default;
}

.v2-storage-dropzone__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.95rem;
  border: 1px solid #d7e3ef;
  background: #ffffff;
  color: var(--ks-blue);
  flex-shrink: 0;
}

.v2-storage-dropzone__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.v2-storage-dropzone__title {
  color: #132031;
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.v2-storage-dropzone__copy {
  margin-top: 0.14rem;
  color: #5f7186;
  font-size: 0.78rem;
  line-height: 1.45;
}

.v2-storage-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.v2-storage-summary-stat {
  border-radius: 1rem;
  border: 1px solid #e3ebf3;
  background: rgba(255, 255, 255, 0.88);
  padding: 0.72rem 0.8rem;
}

.v2-storage-summary-stat__label {
  color: #7b8794;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.v2-storage-summary-stat__value {
  margin-top: 0.24rem;
  color: #132031;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.v2-storage-list-card {
  margin-top: 0;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  background: #ffffff;
  box-shadow: none;
}

.v2-storage-list-head {
  display: none;
}

.v2-storage-list-body {
  display: grid;
  gap: 0.3rem;
  padding: 0.65rem;
}

.v2-storage-folder-row,
.v2-storage-parent-row {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.86rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  background: #ffffff;
  text-align: left;
  transition: background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.v2-storage-folder-row:hover,
.v2-storage-parent-row:hover {
  background: #fbfdff;
  border-color: #e3ebf3;
}

.v2-storage-folder-row__icon,
.v2-storage-parent-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.9rem;
  border: 1px solid #e3ebf3;
  background: #f7fbff;
  color: var(--ks-blue);
  flex-shrink: 0;
}

.v2-storage-parent-row__icon {
  background: #fbfcfe;
  color: #51657a;
}

.v2-storage-folder-row__content,
.v2-storage-parent-row__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.v2-storage-folder-row__title,
.v2-storage-parent-row__title {
  color: #132031;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.v2-storage-folder-row__path,
.v2-storage-parent-row__copy {
  margin-top: 0.18rem;
  color: #51657a;
  font-size: 0.77rem;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-storage-folder-row__meta {
  margin-top: 0.16rem;
  color: #7b8794;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.4;
}

.v2-storage-folder-row__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7b8794;
  flex-shrink: 0;
}

.v2-storage-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.85rem 0.85rem 0.45rem;
  margin-top: 0.25rem;
  border-bottom: 1px solid #e5edf6;
}

.v2-storage-group-header:first-child {
  margin-top: 0;
}

.v2-storage-group-header__main {
  min-width: 0;
}

.v2-storage-group-header__eyebrow {
  color: #7b8794;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.v2-storage-group-header__title {
  margin-top: 0.2rem;
  color: #132031;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.v2-storage-group-header__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  min-width: 0;
  flex-wrap: wrap;
}

.v2-storage-group-header__path {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  padding: 0.34rem 0.6rem;
  border-radius: 999px;
  background: #f4f8fc;
  color: #51657a;
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-storage-group-header__count {
  color: #5f7183;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.v2-storage-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  cursor: pointer;
  transition: background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.v2-storage-row + .v2-storage-row {
  border-top: 0;
}

.v2-storage-row:hover {
  background: #fbfdff;
  border-color: #e3ebf3;
}

.v2-storage-row.is-selected {
  background: #edf5ff;
  border-color: #d7e6f8;
  box-shadow: 0 10px 22px rgba(0, 87, 183, 0.08);
}

.v2-storage-cell {
  min-width: 0;
}

.v2-storage-cell::before {
  display: none;
}

.v2-storage-file {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 0;
}

.v2-storage-file__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 0.85rem;
  border: 1px solid #e3ebf3;
  background: #f7fbff;
  color: var(--ks-blue);
  flex-shrink: 0;
}

.v2-storage-file__title {
  color: #132031;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-storage-file__slot {
  margin-top: 0.08rem;
  color: #7b8794;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-storage-file__summary {
  margin-top: 0.14rem;
  color: #51657a;
  font-size: 0.77rem;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-storage-file__meta {
  color: #243041;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-storage-file__sub {
  margin-top: 0.12rem;
  color: #7b8794;
  font-size: 0.78rem;
  line-height: 1.45;
}

.v2-storage-path-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 2rem;
  padding: 0.36rem 0.65rem;
  border-radius: 0.8rem;
  border: 1px solid #e6edf5;
  background: #fbfcfe;
  color: #51657a;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-storage-inline-note {
  margin-top: 0.34rem;
  display: inline-flex;
  align-items: flex-start;
  max-width: 100%;
  padding: 0.3rem 0.55rem;
  border-radius: 0.7rem;
  background: rgba(226, 61, 40, 0.08);
  color: var(--ks-red);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.4;
}

.v2-storage-row > .v2-storage-cell:nth-child(2),
.v2-storage-row > .v2-storage-cell:nth-child(4),
.v2-storage-row > .v2-storage-cell:nth-child(5) {
  display: none;
}

.v2-storage-row > .v2-storage-cell:nth-child(3) {
  justify-self: end;
}

.v2-storage-cell--actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.v2-storage-cell--actions .v2-document-action {
  display: none;
}

.v2-storage-menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  border-radius: 0.85rem;
  border: 1px solid #dfe8f2;
  background: #ffffff;
  color: #51657a;
  font-size: 1.1rem;
  line-height: 1;
}

.v2-storage-menu-trigger:hover {
  border-color: #cddaea;
  color: #132031;
}

.v2-storage-detail-pane {
  border-top: 1px solid #eef2f6;
  background: #ffffff;
  padding: 0.4rem 0;
}

.v2-storage-detail-pane__label {
  color: #7b8794;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.v2-storage-detail-pane__hero {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.35rem;
  min-width: 0;
}

.v2-storage-detail-pane__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 1rem;
  border: 1px solid #dfe8f2;
  background: #f7fbff;
  color: var(--ks-blue);
  flex-shrink: 0;
}

.v2-storage-detail-pane__title {
  color: #132031;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-storage-detail-pane__slot {
  margin-top: 0.16rem;
  color: #7b8794;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.v2-storage-detail-pane__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.v2-storage-detail-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.95rem;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  border: 1px solid #dfe8f2;
  background: #ffffff;
  color: #51657a;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.v2-storage-detail-pane__path {
  margin-top: 0.7rem;
  border-radius: 0.95rem;
  border: 1px solid #e3ebf3;
  background: #f8fafc;
  padding: 0.72rem 0.85rem;
  color: #51657a;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
  word-break: break-all;
}

.v2-storage-detail-pane__rows {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.v2-storage-detail-pane__row {
  display: grid;
  gap: 0.16rem;
  padding: 0.72rem 0.8rem;
  border-radius: 0.9rem;
  border: 1px solid #e3ebf3;
  background: #ffffff;
}

.v2-storage-detail-pane__row-label {
  color: #7b8794;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.v2-storage-detail-pane__row-value {
  color: #132031;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
  word-break: break-word;
}

.v2-storage-detail-pane__note {
  margin-top: 0.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(226, 61, 40, 0.16);
  background: #fff6f4;
  padding: 0.85rem 0.9rem;
}

.v2-storage-detail-pane__note-label {
  color: var(--ks-red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.v2-storage-detail-pane__note-copy {
  margin-top: 0.2rem;
  color: #81463d;
  font-size: 0.84rem;
  line-height: 1.55;
}

.v2-storage-detail-pane__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.v2-storage-detail-pane__actions .v2-document-action {
  min-height: 2.3rem;
  padding: 0.46rem 0.78rem;
  border-radius: 0.82rem;
  font-size: 0.79rem;
}

.v2-storage-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.v2-storage-detail-modal[hidden] {
  display: none !important;
}

.v2-storage-detail-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.42);
}

.v2-storage-detail-modal__dialog {
  position: relative;
  width: min(540px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border-radius: 1.4rem;
  border: 1px solid #e3ebf3;
  background: #ffffff;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.2);
  padding: 1rem 1rem 1.15rem;
}

.v2-storage-detail-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.v2-storage-detail-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.9rem;
  border: 1px solid #dfe8f2;
  background: #ffffff;
  color: #51657a;
}

.v2-storage-detail-modal__close:hover {
  border-color: #cfdceb;
  color: #132031;
}

.v2-storage-detail-modal .v2-storage-detail-pane {
  border-top: 0;
  background: transparent;
  padding: 0;
}

.v2-storage-action-menu {
  position: fixed;
  z-index: 90;
  width: 12rem;
  padding: 0.35rem;
  border-radius: 1rem;
  border: 1px solid #dfe8f2;
  background: #ffffff;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.16);
}

.v2-storage-action-menu[hidden] {
  display: none !important;
}

.v2-storage-action-menu__item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 2.45rem;
  padding: 0.5rem 0.7rem;
  border: 0;
  border-radius: 0.82rem;
  background: transparent;
  color: #132031;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
}

.v2-storage-action-menu__item:hover {
  background: #f6faff;
}

.v2-storage-action-menu__item--danger {
  color: var(--ks-red);
}

.v2-storage-action-menu__item--danger:hover {
  background: #fff5f3;
}

body.v2-modal-open {
  overflow: hidden;
}

.v2-storage-empty {
  border-top: 1px solid #eef2f6;
  padding: 1.1rem 1rem 1.2rem;
  background: #fbfcfe;
}

.v2-storage-empty__title {
  color: #132031;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.v2-storage-empty__copy {
  margin-top: 0.2rem;
  color: #5f7186;
  font-size: 0.84rem;
  line-height: 1.55;
}

@media (min-width: 768px) {
  .v2-storage-list-pane__head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .v2-storage-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 20rem;
  }
}

@media (min-width: 1024px) {
  .v2-storage-shell {
    grid-template-columns: 290px minmax(0, 1fr);
  }

  .v2-storage-sidebar {
    padding: 1.2rem;
    border-right: 1px solid #e7edf4;
    border-bottom: 0;
  }

  .v2-storage-main {
    padding: 1.2rem 1.3rem 1.35rem;
  }

  .v2-storage-topbar {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.2rem;
  }

  .v2-storage-toolbar {
    align-items: flex-end;
    max-width: 22rem;
    flex: 0 0 22rem;
  }

  .v2-storage-browser {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1100px) {
  .v2-storage-browser {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .v2-storage-sidebar {
    display: none;
  }

  .v2-storage-main {
    padding: 0.85rem;
  }

  .v2-storage-topbar--compact {
    gap: 0.55rem;
  }

  .v2-storage-toolbar {
    gap: 0.55rem;
  }

  .v2-storage-mobile-folders {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    margin: 0.15rem 0 0.8rem;
    overflow-x: auto;
    padding: 0.2rem;
    border: 1px solid #e3ebf3;
    border-radius: 1rem;
    background: #fbfcfe;
    scroll-snap-type: x proximity;
  }

  .v2-storage-mobile-folders::-webkit-scrollbar {
    display: none;
  }

  .v2-storage-mobile-folder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    padding: 0.42rem 0.76rem;
    border-radius: 0.82rem;
    border: 1px solid transparent;
    background: transparent;
    color: #51657a;
    font-size: 0.79rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .v2-storage-mobile-folder.is-active {
    border-color: #d7e6f8;
    background: #ffffff;
    color: var(--ks-blue);
    box-shadow: 0 4px 12px rgba(0, 87, 183, 0.08);
  }

  .v2-storage-list-pane__head--compact {
    padding: 0.78rem 0.85rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .v2-storage-list-pane__meta {
    white-space: normal;
  }

  .v2-storage-dropzone {
    width: calc(100% - 1rem);
    margin: 0.5rem;
    align-items: flex-start;
  }

  .v2-storage-dropzone__icon {
    width: 2.05rem;
    height: 2.05rem;
  }

  .v2-storage-folder-row,
  .v2-storage-parent-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .v2-storage-folder-row__arrow {
    display: none;
  }

  .v2-storage-action-menu {
    width: min(12rem, calc(100vw - 1rem));
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  body {
    letter-spacing: -0.01em;
  }

  .v2-nav-brand {
    gap: 0.55rem;
  }

  .v2-nav-back,
  .v2-nav-logo-badge {
    min-width: 2.5rem;
  }

  .v2-nav-logo-wrap {
    width: auto;
    height: auto;
    padding: 0;
  }

  .v2-nav-logo-img {
    height: 2.08rem;
  }

  .v2-nav-brand-copy {
    max-width: 8.9rem;
  }

  .v2-nav-brand-title {
    font-size: 0.86rem;
  }

  .v2-nav-brand-subtitle {
    font-size: 0.63rem;
  }

  .v2-brand-logo-tile {
    padding: 0.3rem;
    border-radius: 0.9rem;
  }

  .v2-brand-logo-img {
    height: 2.35rem;
  }

  .v2-form-shell,
  .v2-step-panel {
    border-radius: 28px;
  }

  .v2-data-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.95rem 1rem;
  }

  .v2-progress-wrap {
    gap: 0.3rem;
    padding: 0.3rem;
  }

  .v2-flow-step {
    padding: 0.72rem 0.45rem;
    border-radius: 0.95rem;
  }

  .v2-flow-step-badge {
    width: 1.45rem;
    height: 1.45rem;
    font-size: 0.72rem;
  }

  .v2-flow-step-title {
    font-size: 0.77rem;
  }

  .v2-compact-progress {
    border-radius: 1.45rem;
    padding: 0.9rem;
  }

  .v2-compact-progress-grid {
    gap: 0.55rem;
  }

  .v2-compact-step {
    padding: 0.8rem 0.85rem;
    border-radius: 1rem;
  }

  .v2-documents-section,
  .v2-documents-side-card {
    border-radius: 1.45rem;
  }

  .v2-document-card {
    border-radius: 1.25rem;
    padding: 0.9rem;
  }

  .v2-documents-overview-grid {
    grid-template-columns: 1fr;
  }

  .v2-documents-link {
    min-height: 2.7rem;
    padding: 0.7rem 0.9rem;
  }

  .v2-storage-shell {
    border-radius: 1.45rem;
  }

  .v2-storage-space-card,
  .v2-storage-side-note,
  .v2-storage-list-card {
    border-radius: 1.2rem;
  }

  .v2-storage-list-card {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .v2-storage-list-body {
    min-width: 100%;
    padding: 0.55rem;
  }

  .v2-storage-row {
    min-width: 31rem;
    padding: 0.82rem 0.8rem;
    grid-template-columns: minmax(12.5rem, 1fr) auto auto;
  }

  .v2-storage-row > .v2-storage-cell:nth-child(3) {
    justify-self: end;
  }

  .v2-storage-cell--actions {
    justify-content: flex-end;
  }

  .v2-storage-file__summary {
    white-space: nowrap;
  }

  .v2-storage-dropzone {
    width: calc(100% - 1rem);
    margin: 0.5rem;
    align-items: flex-start;
  }

  .v2-storage-dropzone__icon {
    width: 2.05rem;
    height: 2.05rem;
  }

}

@media (min-width: 768px) {
  .v2-compact-progress {
    padding: 1.2rem 1.3rem;
  }

  .v2-compact-progress-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
  }
}
