.okdak-drive {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 80px;
  min-width: 0;
  box-sizing: border-box;
}

.okdak-drive h1 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 8px;
}

.okdak-drive h2 {
  font-size: 1.15rem;
  margin: 0 0 12px;
}

.okdak-drive__hero {
  margin-bottom: 1.5rem;
}

.okdak-drive__kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, #94a3b8);
}

.okdak-drive__lead {
  color: var(--muted, #94a3b8);
  margin: 0 0 1rem;
  max-width: 42rem;
  line-height: 1.55;
}

.okdak-drive__lead code,
.okdak-drive__guest code,
.okdak-drive__faq code,
.okdak-drive__marketing code {
  font-size: 0.9em;
  padding: 0.05em 0.35em;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.12);
}

.okdak-drive__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--muted, #94a3b8);
}

.okdak-drive__trust li::before {
  content: '✓ ';
  color: var(--okdak-accent, #2dd4bf);
}

.okdak-drive__guest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.35);
  line-height: 1.5;
}

.okdak-drive__guest[hidden],
#driveApp[hidden],
#driveTeamExtras[hidden],
.okdak-drive-sign[hidden] {
  display: none !important;
}

.okdak-drive__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--okdak-accent, #2dd4bf);
  color: #09090b;
  text-decoration: none;
  font-weight: 650;
  white-space: nowrap;
}

.okdak-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--okdak-accent, #2dd4bf);
  color: #09090b;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  text-decoration: none;
}

.okdak-skip-link:focus {
  left: 0;
}

.okdak-drive__cta:hover {
  filter: brightness(1.06);
}

.okdak-drive__cta--ghost {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.okdak-drive__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.okdak-drive__bar select,
.okdak-drive__upload,
.okdak-drive__bar button {
  min-height: 40px;
}

.okdak-drive__quota {
  font-size: 0.9rem;
  color: var(--muted, #94a3b8);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.okdak-drive__quota meter {
  width: min(160px, 40vw);
  vertical-align: middle;
}

.okdak-drive__upload {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  cursor: pointer;
}

.okdak-drive__upload input {
  max-width: 12rem;
}

.okdak-drive__drop {
  border: 1px dashed rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  padding: 8px;
  min-width: 0;
}

.okdak-drive__drop.is-dragover {
  border-color: var(--okdak-accent, #2dd4bf);
  background: color-mix(in srgb, var(--okdak-accent, #2dd4bf) 10%, transparent);
}

.okdak-drive__drop > p {
  margin: 8px 10px 4px;
  font-size: 0.85rem;
  color: var(--muted, #94a3b8);
}

.okdak-drive__table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.okdak-drive table {
  width: 100%;
  border-collapse: collapse;
  min-width: 28rem;
}

.okdak-drive th,
.okdak-drive td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  vertical-align: middle;
}

.okdak-drive td:first-child {
  word-break: break-word;
}

.okdak-drive__empty {
  color: var(--muted, #94a3b8);
  font-size: 0.95rem;
}

.okdak-drive__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.okdak-drive__actions button,
.okdak-drive__bar button,
.okdak-drive__panel button {
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.35);
  color: inherit;
}

.okdak-drive__actions button:hover,
.okdak-drive__bar button:hover,
.okdak-drive__panel button:hover {
  border-color: var(--okdak-accent, #2dd4bf);
}

.okdak-drive__panel {
  margin-top: 28px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.okdak-drive__panel > summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 1.05rem;
}

.okdak-drive__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}

.okdak-drive input[type='text'],
.okdak-drive input[type='email'],
.okdak-drive input[type='password'],
.okdak-drive input[type='url'],
.okdak-drive input[type='number'],
.okdak-drive select {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: transparent;
  color: inherit;
  min-width: 0;
  max-width: 100%;
}

.okdak-drive__audit {
  margin: 12px 0 0;
  padding: 10px;
  overflow: auto;
  max-height: 240px;
  font-size: 0.8rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.okdak-drive-sign {
  position: relative;
}

.okdak-drive-sign__canvases {
  display: grid;
  gap: 8px;
  max-width: 100%;
  overflow: auto;
}

.okdak-drive-sign canvas {
  max-width: 100%;
  height: auto;
  border: 1px dashed rgba(148, 163, 184, 0.4);
}

.okdak-drive__marketing,
.okdak-drive__faq {
  margin-top: 2.5rem;
  max-width: 42rem;
}

.okdak-drive__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.okdak-drive__pills li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.85rem;
}

.okdak-drive__faq details {
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  padding: 0.7rem 0;
}

.okdak-drive__faq summary {
  cursor: pointer;
  font-weight: 600;
}

.okdak-drive__faq p {
  margin: 0.5rem 0 0;
  color: var(--muted, #94a3b8);
  line-height: 1.55;
}

.drive-share {
  max-width: 32rem;
  margin: 0 auto;
  padding: 48px 16px 80px;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: clip;
}

.drive-share__card {
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.45);
}

.drive-share__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.drive-share__brand img {
  height: 40px;
  max-width: 160px;
  object-fit: contain;
}

.drive-share__status {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 650;
  line-height: 1.35;
  word-break: break-word;
}

.drive-share__meta {
  margin: 0 0 1rem;
  color: var(--muted, #94a3b8);
  font-size: 0.9rem;
}

.drive-share__form {
  display: grid;
  gap: 8px;
  margin: 1rem 0;
}

.drive-share__form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.drive-share__form input {
  flex: 1 1 10rem;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: transparent;
  color: inherit;
}

.drive-share__form button,
.drive-share__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--okdak-accent, #2dd4bf);
  color: #09090b;
  text-decoration: none;
  font-weight: 650;
  border: 0;
  cursor: pointer;
  max-width: 100%;
}

.drive-share__form button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.drive-share__cta[hidden] {
  display: none !important;
}

.drive-share__download-wrap {
  margin: 0;
}

.drive-share__foot {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--muted, #94a3b8);
}

.drive-share__foot a {
  color: inherit;
}

body.light-theme .drive-share__card,
html[data-okdak-theme='light'] .drive-share__card {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 23, 42, 0.12);
}

body.light-theme .drive-share__form input,
html[data-okdak-theme='light'] .drive-share__form input {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.16);
}

@media (max-width: 640px) {
  .okdak-drive {
    padding: 16px 12px 96px;
  }

  .okdak-drive table {
    min-width: 22rem;
  }

  .okdak-drive__bar button,
  .okdak-drive__upload {
    width: 100%;
    justify-content: center;
  }
}

body.light-theme .okdak-drive__guest,
body.light-theme .okdak-drive__panel {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.12);
}

body.light-theme .okdak-drive__actions button,
body.light-theme .okdak-drive__bar button,
body.light-theme .okdak-drive__panel button {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.16);
  color: inherit;
}

body.light-theme .okdak-drive input[type='text'],
body.light-theme .okdak-drive input[type='email'],
body.light-theme .okdak-drive input[type='password'],
body.light-theme .okdak-drive input[type='url'],
body.light-theme .okdak-drive input[type='number'],
body.light-theme .okdak-drive select {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.16);
}

body.light-theme .okdak-drive__drop {
  border-color: rgba(15, 23, 42, 0.2);
  background: rgba(255, 255, 255, 0.4);
}

body.light-theme .drive-share {
  color: inherit;
}

html[data-okdak-theme="light"] .okdak-drive__cta,
body.light-theme .okdak-drive__cta,
html[data-okdak-theme="light"] .okdak-skip-link,
body.light-theme .okdak-skip-link,
html[data-okdak-theme="light"] .drive-share__form button,
body.light-theme .drive-share__form button,
html[data-okdak-theme="light"] .drive-share__cta,
body.light-theme .drive-share__cta {
  color: #fff;
}
