:root {
  color-scheme: light;
  --ink: #15243c;
  --muted: #4b5c72;
  --line: #dce4ed;
  --blue: #2355bf;
  --pale: #edf3ff;
  --bg: #f5f7fb;
  font:
    16px/1.55 system-ui,
    -apple-system,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #234ca3;
  text-underline-offset: 0.18em;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-size: 1.3rem;
  line-height: 1.3;
}
h3 {
  font-size: 1.07rem;
  overflow-wrap: anywhere;
}
button,
input,
select {
  font: inherit;
}
button,
.button {
  border: 1px solid #c6d3e3;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  min-height: 44px;
  padding: 7px 13px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
button:hover:not(:disabled),
.button:hover {
  background: var(--pale);
  border-color: #9bb2dc;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.primary:hover:not(:disabled) {
  background: #193f91;
  color: white;
}
input:not([type="checkbox"]),
select {
  border: 1px solid #c6d3e3;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  min-width: 0;
  min-height: 44px;
  padding: 7px 11px;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  vertical-align: middle;
}
:focus-visible {
  outline: 3px solid #4f73d1;
  outline-offset: 3px;
}
.skip:not(:focus),
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  padding: 10px;
  background: white;
}
.shell {
  width: min(1560px, calc(100% - clamp(32px, 7vw, 132px)));
  margin-inline: auto;
}
.site-head {
  background: white;
  border-bottom: 1px solid var(--line);
}
.site-row,
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.site-row {
  min-height: 64px;
}
.site-head nav,
.footer nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-head nav a,
.footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9rem;
  font-weight: 610;
  color: var(--muted);
  text-decoration: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.18rem;
  font-weight: 830;
  letter-spacing: -0.035em;
  text-decoration: none;
  color: var(--ink);
}
.brand span {
  margin-left: -7px;
  color: var(--blue);
}
.hero {
  padding: clamp(28px, 5vw, 65px) 0 clamp(18px, 3vw, 30px);
}
.hero h1 {
  font-size: clamp(2.35rem, 6.5vw, 4.35rem);
  letter-spacing: -0.058em;
  line-height: 1.02;
  font-weight: 830;
}
.hero p {
  margin-top: 12px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}
.start {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  grid-template-areas: "drop formats" "options formats";
  gap: 14px 20px;
  max-width: 1320px;
}
.drop,
.formats,
.panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.drop {
  grid-area: drop;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 9px;
  min-height: 272px;
  padding: 26px;
  text-align: center;
  border: 2px dashed #abc0eb;
}
.drop.is-over {
  border-color: var(--blue);
  background: var(--pale);
}
.drop p,
.formats p,
.small {
  color: var(--muted);
}
.drop .actions {
  justify-content: center;
  margin-top: 5px;
}
.formats {
  grid-area: formats;
  background: #eef3ff;
  border-color: #dbe6fa;
  padding: 23px;
  display: grid;
  gap: 13px;
  align-content: start;
}
.formats strong {
  display: block;
  color: #25457e;
}
.small {
  font-size: 0.88rem;
}
.options {
  grid-area: options;
  display: flex;
  gap: 10px 18px;
  align-items: start;
  flex-wrap: wrap;
}
.options a,
.options summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #234ca3;
  font-weight: 650;
  cursor: pointer;
}
.options details[open] {
  flex-basis: 100%;
}
.options form,
.password form {
  padding: 9px 0;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.actions input:not([type="checkbox"]) {
  flex: 1 1 180px;
  max-width: 540px;
}
form label {
  display: block;
  font-weight: 650;
  margin-bottom: 5px;
}
.drive-panel,
.password {
  padding: 20px;
  max-width: 820px;
}
.drive-panel p {
  margin: 7px 0 13px;
}
.password summary,
.diagnostics summary {
  cursor: pointer;
  font-weight: 690;
}
.feedback {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.feedback p {
  margin: 12px 0;
  padding: 9px 12px;
  border: 1px solid #d3dff5;
  background: var(--pale);
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.feedback #error {
  background: #fff0ee;
  border-color: #eebeb8;
  color: #862e27;
}
.password {
  margin: 12px 0;
}
.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 15px 18px;
  overflow-wrap: anywhere;
}
.result-header h2 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  margin: 2px 0 3px;
}
#breadcrumbs:empty {
  display: none;
}
#breadcrumbs button {
  min-height: 34px;
  padding: 3px 8px;
  font-size: 0.82rem;
}
.grouping {
  padding: 10px 16px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(285px, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.listing,
.inspect {
  min-width: 0;
  overflow: hidden;
}
.list-controls,
.selection {
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 9px 12px;
}
.list-controls input {
  flex: 1 1 170px;
}
.selection label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.88rem;
  min-height: 44px;
}
.selection button {
  margin-left: auto;
}
.files {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 62vh;
  min-height: 110px;
  overflow: auto;
}
.files li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 8px;
  min-height: 51px;
  padding: 4px 11px;
  border-bottom: 1px solid #e9eef5;
}
.files li[aria-current] {
  background: var(--pale);
}
.files li label {
  display: grid;
  place-items: center;
  min-height: 42px;
}
.member-button {
  width: 100%;
  justify-content: left;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 5px 6px;
}
.member-button .folder-icon {
  flex: 0 0 auto;
  margin-right: 9px;
  color: var(--blue);
  font-weight: 750;
}
.files .meta-size {
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}
.files .empty {
  display: block;
  padding: 18px;
}
.pages {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  font-size: 0.88rem;
}
.inspect {
  padding: 17px;
}
.inspect h3 {
  margin-top: 10px;
}
dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 12px;
  font-size: 0.89rem;
}
dt {
  font-weight: 650;
  color: var(--muted);
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.preview {
  margin-top: 12px;
  background: #f2f5fa;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  max-height: 410px;
  overflow: auto;
  overflow-wrap: anywhere;
}
.preview img {
  display: block;
  max-width: 100%;
  max-height: 360px;
  margin: auto;
}
.preview audio,
.preview video {
  width: 100%;
}
.preview pre {
  margin: 0;
  white-space: pre-wrap;
  font-size: 0.82rem;
}
.diagnostics {
  padding: 10px 14px;
  margin-top: 10px;
}
.diagnostics ul {
  padding-left: 18px;
  color: var(--muted);
}
.footer {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding: 12px 0 23px;
  color: var(--muted);
  font-size: 0.88rem;
}
.support-copy {
  padding: clamp(18px, 4vw, 35px);
  max-width: 880px;
}
.support-copy h2 {
  margin-top: 20px;
}
.support-copy h2:first-child {
  margin-top: 0;
}
.support-copy p {
  margin: 7px 0;
}
.support-copy ul {
  padding-left: 20px;
}
@media (max-width: 740px) {
  .site-row {
    min-height: 57px;
  }
  .site-head nav {
    gap: 8px;
  }
  .start {
    grid-template-columns: 1fr;
    grid-template-areas: "drop" "options" "formats";
    gap: 9px;
  }
  .drop {
    min-height: 0;
    padding: 16px;
  }
  .drop img {
    width: 52px;
    height: 52px;
  }
  .formats {
    padding: 16px;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .files {
    max-height: 48vh;
  }
  .inspect {
    padding: 14px;
  }
  .footer {
    margin-top: 22px;
  }
  .shell {
    width: calc(100% - 28px);
  }
}
.embedded .site-head,
.embedded .hero,
.embedded .footer,
.embedded #start {
  display: none;
}
.embedded .shell {
  width: calc(100% - 20px);
}
.embedded .workspace {
  margin-top: 6px;
}
