/* Shared SeeSafe light theme for standalone Cloud Share screens. */
html {
  color-scheme: light;
  background: #edf0f5;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html body {
  color: #142750;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 4% 6%, rgba(245, 226, 231, .65), transparent 28%),
    radial-gradient(circle at 96% 3%, rgba(218, 225, 236, .78), transparent 34%),
    linear-gradient(135deg, #f6f3f5 0%, #edf1f6 48%, #e7ecf3 100%);
}

html body::before { display: none; }
body.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
body.verification-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
body .verification-card { width: min(100%, 520px); text-align: center; }
body .verification-card > img { width: 190px; max-width: 70%; height: auto; margin: 0 auto 24px; }
body .verification-card h1 { margin: 0 0 12px; font-size: 26px; }
body .verification-card .button { display: inline-flex; align-items: center; justify-content: center; margin-top: 12px; text-decoration: none; }
body .card,
body .drop-card,
body .panel {
  color: #142750;
  background: #fff;
  border-color: #dce2eb;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(30, 49, 84, .10);
}

body .card { padding: clamp(24px, 5vw, 40px); }
body .drop-card { border-radius: 18px; }
body .brand,
body .brand strong,
body .brand span,
body .drop-brand-tag { color: #142750; }
body .brand span { letter-spacing: .02em; text-transform: none; }
body .logo-text { color: #142750; font-size: 20px; letter-spacing: 0; }
body h1,
body .drop-card h1,
body h2 { color: #142750; }
body p,
body .drop-intro { color: #617197; font-family: Inter, ui-sans-serif, sans-serif; }
body .drop-kicker,
body .eyebrow,
body .subtitle { color: #d51f26; }

body label,
body .drop-label {
  color: #405887;
  font: 700 12px/1.4 Inter, ui-sans-serif, sans-serif;
  letter-spacing: .04em;
}
body input:not([type="checkbox"]):not([type="radio"]),
body .drop-password {
  min-height: 46px;
  padding: 10px 13px;
  color: #142750;
  background: #fff;
  border: 1px solid #ccd5e2;
  border-radius: 10px;
  font: 14px Inter, ui-sans-serif, sans-serif;
}
body input:focus,
body .drop-password:focus {
  outline: none;
  border-color: #7fa8d5;
  box-shadow: 0 0 0 3px rgba(55, 111, 176, .16);
}
body input::placeholder { color: #8190aa; }
body button,
body .button,
body .drop-primary,
body .drop-browse {
  min-height: 44px;
  padding: 10px 16px;
  color: #fff;
  background: #22355f;
  border: 1px solid #22355f;
  border-radius: 10px;
  font: 700 14px/1.25 Inter, ui-sans-serif, sans-serif;
  letter-spacing: 0;
  box-shadow: 0 5px 13px rgba(34, 53, 95, .14);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
body button:hover,
body .button:hover,
body .drop-primary:hover:not(:disabled),
body .drop-browse:hover {
  color: #fff;
  background: #304875;
  border-color: #304875;
  box-shadow: 0 7px 16px rgba(34, 53, 95, .18);
}
body .button.secondary,
body .drop-browse { color: #22355f; background: #f0f6fd; border-color: #d4e2f3; box-shadow: none; }
body .button.secondary:hover,
body .drop-browse:hover { color: #22355f; background: #e8f2fd; border-color: #b9cee8; box-shadow: none; }
body button:focus-visible,
body .button:focus-visible,
body input:focus-visible,
body .drop-picker:focus-visible {
  outline: 3px solid rgba(55, 111, 176, .24);
  outline-offset: 2px;
}
body .password-toggle {
  width: auto;
  min-height: 34px;
  padding: 6px 10px;
  color: #22355f;
  background: #f0f6fd;
  border-color: #d4e2f3;
  box-shadow: none;
  font: 650 12px Inter, ui-sans-serif, sans-serif;
}
body .password-toggle:hover { color: #22355f; background: #e8f2fd; border-color: #b9cee8; box-shadow: none; }
body form[action="/logout"] button { color: #617197 !important; background: #f6f7fa !important; border-color: #dce2eb !important; box-shadow: none !important; }
body form[action="/logout"] button:hover { color: #22355f !important; background: #eaf3ff !important; }

body .error,
body .err,
body .drop-error,
body .drop-error-box {
  color: #a91d24;
  background: #fff0f1;
  border: 1px solid #f1c8cb;
  border-radius: 10px;
  font: 13px/1.5 Inter, ui-sans-serif, sans-serif;
}
body .remember-device { color: #617197; font: 13px/1.45 Inter, ui-sans-serif, sans-serif; text-transform: none; letter-spacing: 0; }
body .remember-device input,
body input[type="checkbox"] { accent-color: #22355f; }
body .brand { color: #617197; font: 12px/1.4 Inter, ui-sans-serif, sans-serif; }
body .fname,
body .path,
body .secret,
body .drop-progress-top,
body .drop-picker small { color: #617197; font: 12px/1.5 Inter, ui-sans-serif, sans-serif; }
body .secret { background: #f6f7fa; border-color: #dce2eb; color: #22355f; overflow-wrap: anywhere; }
body .icon { color: #1768b5; background: #eaf3ff; border-color: #c9ddf8; }
body .icon svg { color: #1768b5; }
body .panel { padding: 20px; }
body .row { min-height: 56px; color: #142750; background: #fff; border-color: #dce2eb; border-radius: 11px; font-size: 14px; }
body .row:hover { background: #f0f6fd; border-color: #b9cee8; }
body small,
body .empty { color: #617197; font: 12px/1.45 Inter, ui-sans-serif, sans-serif; }
body .details { gap: 0; background: #f6f7fa; border-color: #dce2eb; border-radius: 12px; }
body .details > div { min-height: 42px; padding: 10px 2px; border-bottom: 1px solid #dce2eb; }
body .details > div:last-child { border-bottom: 0; }
body .details span { color: #617197; font: 700 11px/1.4 Inter, ui-sans-serif, sans-serif; letter-spacing: .04em; }
body .details strong { color: #142750; font: 600 14px/1.45 Inter, ui-sans-serif, sans-serif; }
body .details .access-space { margin: 0 -5px -5px; padding: 13px 7px 8px; border-top: 1px solid #ccd5e2; }
body .details .access-space span { color: #d51f26; }
body .details .access-space strong { font-size: 16px; }
body .access-note { color: #304875; background: #eaf3ff; border-color: #c9ddf8; border-radius: 10px; font-size: 13px; line-height: 1.55; }
body .expiry,
body .footer { color: #617197; font: 12px/1.5 Inter, ui-sans-serif, sans-serif; }

body.auth-page { box-sizing: border-box; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 24px 16px; }
body.auth-page .auth-card { box-sizing: border-box; width: min(100%, 640px); min-width: 0; max-width: 100%; margin: auto; padding: clamp(24px, 5vw, 40px); }
body.auth-page .auth-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid #dce2eb; }
body.auth-page .auth-brand img { display: block; width: 158px; max-width: 48%; height: auto; }
body.auth-page .auth-brand span { padding-left: 14px; border-left: 1px solid #dce2eb; color: #22355f; font-size: 15px; font-weight: 700; }
body.auth-page .invite-content .eyebrow { margin-bottom: 8px; font: 750 10px/1.4 Inter, ui-sans-serif, sans-serif; letter-spacing: .13em; }
body.auth-page .invite-content h1 { margin: 0 0 8px; color: #142750; font-size: 28px; font-weight: 750; line-height: 1.2; text-align: left; letter-spacing: 0; }
body.auth-page .invite-content p { margin: 0; text-align: left; }
body.auth-page .invite-content,
body.auth-page .invite-account { min-width: 0; max-width: 100%; }
body.auth-page .invite-intro { max-width: 55ch; font-size: 14px; line-height: 1.6; }
body.auth-page .invite-account { margin: 20px 0 22px; padding: 16px; border: 1px solid #dce2eb; border-radius: 14px; background: #fff; }
body.auth-page .invite-account-heading { margin-bottom: 12px; color: #617197; font: 750 10px/1.4 Inter, ui-sans-serif, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
body.auth-page .invite-details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
body.auth-page .invite-detail { display: grid; gap: 4px; min-width: 0; padding: 10px 12px; border-radius: 9px; background: #f6f7fa; }
body.auth-page .invite-detail span { color: #617197; font: 650 11px/1.4 Inter, ui-sans-serif, sans-serif; }
body.auth-page .invite-detail strong { color: #142750; font: 650 13px/1.45 Inter, ui-sans-serif, sans-serif; overflow-wrap: anywhere; }
body.auth-page .invite-company { grid-column: 1 / -1; }
body.auth-page .invite-space { display: flex; align-items: flex-start; gap: 12px; margin-top: 10px; padding: 14px; border: 1px solid #c9ddf8; border-radius: 10px; background: #f0f6fd; }
body.auth-page .invite-space > svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; color: #22355f; }
body.auth-page .invite-space-copy { display: grid; gap: 3px; min-width: 0; }
body.auth-page .invite-space-copy span { color: #405887; font: 750 10px/1.4 Inter, ui-sans-serif, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
body.auth-page .invite-space-copy strong { color: #142750; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
body.auth-page .invite-space-copy small { color: #617197; font: 12px/1.5 Inter, ui-sans-serif, sans-serif; }
body.auth-page .invite-content .error { margin: 0 0 14px; padding: 11px 13px; }
body.auth-page .invite-content form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 13px; align-items: end; }
body.auth-page .invite-field { min-width: 0; }
body.auth-page .invite-field label { display: block; margin: 0 0 6px; color: #405887; font-size: 12px; letter-spacing: 0; text-transform: none; }
body.auth-page .invite-field input { box-sizing: border-box; display: block; width: 100%; min-height: 48px; }
body.auth-page .invite-content form .button { width: 100%; margin: 3px 0 0; }
body.auth-page .invite-content .expiry { margin-top: 13px; font-size: 12px; }
body.auth-page .invite-invalid .button { display: inline-flex; align-items: center; justify-content: center; margin-top: 18px; text-decoration: none; }
body.auth-page .footer { margin-top: 22px; padding-top: 15px; border-top: 1px solid #dce2eb; text-align: center; }

body .drop-brand { border-color: #dce2eb; }
body .drop-brand-tag { color: #617197; font: 12px Inter, ui-sans-serif, sans-serif; }
body .drop-brand-dot { background: #18794e; box-shadow: none; }
body .drop-kicker { font: 750 11px/1.4 Inter, ui-sans-serif, sans-serif; }
body .drop-form { gap: 14px; }
body .drop-picker {
  padding: clamp(24px, 4vw, 36px) 20px;
  background: #f8fbff;
  border-color: #9dbbe0;
  border-radius: 14px;
}
body .drop-picker.is-dragging,
body .drop-picker:focus-within { background: #f0f6fd; border-color: #7fa8d5; }
body .drop-picker-icon,
body .drop-secure-note svg { color: #22355f; }
body .drop-picker strong { color: #142750; font-size: 16px; }
body .drop-picker > span { color: #617197; font-size: 14px; }
body .drop-browse { background: #f0f6fd; border-color: #d4e2f3; color: #22355f; box-shadow: none; }
body .drop-browse:hover { background: #e8f2fd; border-color: #b9cee8; color: #22355f; box-shadow: none; }
body .drop-selection { background: #f6f7fa; border-color: #dce2eb; border-radius: 12px; }
body .drop-selection-heading { color: #142750; font: 700 14px/1.4 Inter, ui-sans-serif, sans-serif; }
body .drop-file-list li,
body .drop-receipt-files li { border-color: #dce2eb; color: #142750; font-size: 14px; }
body .drop-file-list small { color: #617197; font: 12px Inter, ui-sans-serif, sans-serif; }
body .drop-secure-note { color: #304875; background: #eaf3ff; border-color: #c9ddf8; border-radius: 10px; }
body .drop-secure-note svg { flex: 0 0 auto; }
body .drop-primary { background: #22355f; border-color: #22355f; }
body .drop-progress-top { color: #617197; }
body .drop-track { height: 8px; background: #dce2eb; }
body .drop-track div { background: #22355f; }
body .drop-receipt { padding: 22px; background: #e6f5ec; border-color: #c3e6d0; border-radius: 14px; }
body .drop-receipt-icon { color: #18794e; background: #d5efdf; border-color: #a9d9bb; }
body .drop-receipt h2 { color: #142750; }
body .drop-receipt p { color: #405887; }
body .drop-history { margin-top: 18px !important; padding: 16px !important; background: #fff !important; border: 1px solid #c3e6d0 !important; border-radius: 12px !important; box-shadow: inset 3px 0 0 #18794e !important; }
body .drop-history .drop-selection-heading { color: #142750 !important; }
body .drop-history .drop-receipt-files li { background: #f6f7fa !important; border-color: #dce2eb !important; border-radius: 8px !important; color: #142750 !important; }
body .drop-history .drop-history-file-icon { background: #f0f6fd !important; border-color: #d4e2f3 !important; color: #1768b5 !important; border-radius: 8px !important; }
body .drop-history .drop-history-file-icon.install,
body .drop-history .drop-history-file-icon.image,
body .drop-history .drop-history-file-icon.archive,
body .drop-history .drop-history-file-icon.spreadsheet,
body .drop-history .drop-history-file-icon.pdf,
body .drop-history .drop-history-file-icon.code,
body .drop-history .drop-history-file-icon.video,
body .drop-history .drop-history-file-icon.audio { color: #1768b5 !important; background: #eaf3ff !important; border-color: #c9ddf8 !important; }
body .drop-footer { border-color: #dce2eb; color: #617197; font: 12px/1.5 Inter, ui-sans-serif, sans-serif; }

@media (max-width: 600px) {
  body .card { padding: 24px 20px; }
  body.auth-page { display: flex; width: 100%; align-items: center; justify-content: center; padding: 14px 10px; }
  body.auth-page .auth-card { width: 100%; padding: 24px 20px; }
  body.auth-page .auth-brand { gap: 12px; margin-bottom: 24px; padding-bottom: 18px; }
  body.auth-page .auth-brand img { width: 145px; }
  body.auth-page .invite-content h1 { font-size: 25px; }
  body.auth-page .invite-account { padding: 13px; }
  body.auth-page .invite-details-grid { grid-template-columns: minmax(0, 1fr); }
  body.auth-page .invite-company { grid-column: auto; }
  body .drop-card { padding: 24px 18px; }
  body .drop-brand { gap: 12px; }
  body .drop-card h1 { font-size: 24px; }
  body .drop-intro { font-size: 14px; }
  body .drop-picker { padding: 24px 14px; }
  body .row { grid-template-columns: 42px minmax(0,1fr); gap: 10px; padding: 12px; }
  body .row small { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
