body.archive-page {
  margin: 0;
  background: #fff;
  color: #1d1d1f;
  font: 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.archive-page .jules-bar {
  justify-content: space-between;
  padding-inline: clamp(16px, 3vw, 36px);
  border-color: #ededed;
  color: inherit;
  font-family: inherit;
}
.archive-page .jules-bar-brand {
  display: flex;
  align-items: flex-end;
  gap: clamp(10px, 2vw, 20px);
}
.archive-page .jules-logo {
  display: block;
}
.archive-page .jules-logo img {
  --archive-logo-width: clamp(68px, 15vw, 112px);
  width: var(--archive-logo-width);
  margin-bottom: calc(-1 * var(--archive-logo-width) * 8 / 591);
}
.archive-page .jules-section-name {
  margin: 0;
  font-weight: 500;
  line-height: 1;
  text-box: trim-both cap alphabetic;
}
@supports not (text-box: trim-both cap alphabetic) {
  .archive-page .jules-section-name { margin-bottom: -0.15em; }
}
.archive-page .jules-action[aria-checked="true"] {
  color: inherit;
  background: transparent;
}
.archive-page .jules-action:hover,
.archive-page .jules-action[aria-checked="true"]:hover { background: #f3f3f5; }
.archive-page .archive-library {
  box-sizing: border-box;
  width: min(100%, 820px);
  max-width: none;
  margin: 0 auto;
  padding: clamp(24px, 6vw, 64px) clamp(20px, 5vw, 44px);
}
.archive-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 18px;
}
.archive-heading h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
.archive-back, .archive-note {
  font-size: .875rem;
  color: #555;
}
.archive-note { margin: 0 0 12px; }
.archive-note:empty { display: none; }
.archive-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 16px;
}
.archive-tools details { min-width: 0; max-width: 100%; }
.archive-tools summary {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding-inline: 8px;
  border-radius: 8px;
  cursor: pointer;
  font-size: .875rem;
  list-style: none;
}
.archive-tools summary:hover, .archive-tools details[open] summary { background: #f3f3f5; }
.archive-tools summary::-webkit-details-marker { display: none; }
.archive-tools summary svg { width: 20px; height: 20px; }
.archive-tools form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 12px;
}
.archive-tools input, .archive-tools button {
  box-sizing: border-box;
  min-width: 0;
  min-height: 36px;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid #dddde0;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: .875rem;
}
.archive-tools form:has(input[type="file"]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 355px;
  max-width: 100%;
}
.archive-tools input[type="file"] {
  width: 100%;
  padding: 0;
  line-height: 34px;
}
.archive-tools input::file-selector-button {
  margin-right: 8px;
  padding: 0 10px;
  border: 0;
  border-right: 1px solid #e9e9eb;
  background: #f5f5f7;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.archive-tools button {
  border-color: #1d1d1f;
  background: #1d1d1f;
  color: #fff;
  cursor: pointer;
}
.archive-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.archive-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  border-bottom: 1px solid #ededed;
}
.archive-row:first-child { border-top: 1px solid #ededed; }
.archive-row > a {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  min-height: 44px;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.archive-row > a:hover span { text-decoration: underline; }
.archive-row svg { flex: none; width: 24px; height: 24px; }
.archive-row-actions { display: flex; flex: none; }
.archive-row-actions form { margin: 0; }
.archive-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.archive-icon svg { width: 19px; height: 19px; }
.archive-icon:hover { background: #eee; }
.archive-library :focus-visible, .portal .archive-shortcuts a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
/* Center the drawn artwork on the same line, inside equal SVG boxes. */
.portal .account-actions :is(.contact-button, .menu-button, .private-entry, .key-button) {
  padding-block: 0;
}
.portal .account-actions :is(.contact-button, .menu-button, .private-entry, .key-button) svg {
  margin-bottom: -2px;
}
.portal .account-actions .key-button svg { transform: translateY(.375px); }
.portal .account-actions .private-entry svg { transform: translateY(-.5625px); }
.portal .archive-shortcuts {
  position: absolute;
  grid-area: auto;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 20px;
  box-sizing: border-box;
  width: min(90%, 660px);
  max-height: 55%;
  padding: 6px;
  overflow: auto;
}
.portal .archive-shortcuts[hidden],
.portal:has([data-login-panel][open], .password-change[open]) .archive-shortcuts {
  display: none;
}
.portal .archive-shortcuts a {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  width: 104px;
  padding-top: 0;
  color: #fff;
  text-decoration: none;
  text-align: center;
  text-shadow: 0 1px 6px #000, 0 1px 2px #000;
  white-space: normal;
  overflow-wrap: anywhere;
}
.portal .archive-shortcuts a:hover { text-decoration: underline; }
.archive-shortcuts svg {
  box-sizing: border-box;
  width: 56px;
  height: 56px;
  padding: 11px;
  border: 1px solid #fff6;
  border-radius: 14px;
  background: rgb(255 255 255 / 74%);
  color: #171717;
  box-shadow: 0 3px 16px #0003;
  transition: background-color .18s ease, border-color .18s ease;
}
.archive-shortcuts a:is(:hover, :focus-visible) svg {
  border-color: #fff4;
  background: rgb(255 255 255 / 42%);
}
@media (prefers-reduced-motion: reduce) {
  .archive-shortcuts svg { transition: none; }
}

.archive-folder-dialog {
  box-sizing: border-box;
  width: 75vw;
  height: 75vh;
  height: 75dvh;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 67%);
  border-radius: 22px;
  background: rgb(250 250 252 / 80%);
  color: #1d1d1f;
  box-shadow: 0 20px 70px #0004;
  font: 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}
.archive-folder-dialog[open] {
  display: flex;
  flex-direction: column;
}
.archive-folder-dialog::backdrop {
  background: rgb(12 15 16 / 23%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
body:has(.archive-folder-dialog[open]) { overflow: hidden; }
.archive-folder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(14px, 3vw, 30px) clamp(18px, 4vw, 42px);
  border-bottom: 1px solid #1d1d1f20;
}
.archive-folder-header h2 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -.035em;
}
.archive-folder-close {
  display: grid;
  flex: 0 0 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.archive-folder-close:hover { background: #1d1d1f0d; }
.archive-folder-dialog :focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.archive-folder-content {
  min-height: 0;
  padding: 0 clamp(18px, 4vw, 42px) 18px;
  overflow: auto;
  overscroll-behavior: contain;
}
.archive-folder-status { color: #424245; }
.archive-folder-status:empty { display: none; }
.archive-folder-files {
  margin: 0;
  padding: 0;
  list-style: none;
}
.archive-folder-files a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 4px;
  border-bottom: 1px solid #1d1d1f1c;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.archive-folder-files a:hover { text-decoration: underline; }
.archive-folder-files svg { flex: none; }

@media (max-width: 600px) {
  .archive-folder-dialog {
    width: 92vw;
    height: 82vh;
    height: 82dvh;
    border-radius: 17px;
  }
}
