@charset "UTF-8";
:root {
  --paper: #f6f7f2;
  --white: #fff;
  --ink: #243a31;
  --muted: #758278;
  --line: #e2e7df;
  --green: #245d4a;
  --light: #e9f0e5;
  --gold: #a7863c;
  --red: #a9483f;
  --radius: 16px;
  --shadow: 0 10px 36px #243a3109;
  color-scheme: light;
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.45;
}
input[type="checkbox"]:disabled {
  cursor: not-allowed;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #9ab7a2;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 34px;
  font-weight: 650;
  letter-spacing: 0.035em;
  line-height: 1.55;
}
h2 {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: 0.03em;
}
h3 {
  font-size: 17px;
  font-weight: 600;
}
p {
  overflow-wrap: anywhere;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
button svg,
a svg {
  pointer-events: none;
}
.site-header {
  height: 102px;
  max-width: 1192px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.brand img {
  border-radius: 11px;
}
.brand > span {
  font-size: 23px;
  font-weight: 650;
  letter-spacing: 0.13em;
  line-height: 1.25;
}
.brand small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  margin-top: 7px;
  color: var(--muted);
}
.connection {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.connection i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #79a180;
}
.connection.is-offline i {
  background: var(--gold);
}
#app {
  max-width: 1120px;
  min-height: calc(100dvh - 220px);
  margin: auto;
  padding: 24px 0 60px;
}
.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #8c978d;
}
.site-footer span:last-child {
  font-weight: 650;
  letter-spacing: 0.18em;
}
.tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.tabs a,
.tabs button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 10px 2px 17px;
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
}
.tabs .active {
  color: var(--green);
  border-bottom-color: var(--green);
}
.tabs svg {
  width: 18px;
  height: 18px;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 60px 35px 5px;
  margin-bottom: 27px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.18em;
  color: var(--green);
  display: block;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 36px;
  letter-spacing: 0.06em;
}
.hero p {
  font-size: 13px;
  line-height: 2;
  color: var(--muted);
  margin-top: 15px;
}
.mobile-only {
  display: none;
}
.hero-art {
  position: relative;
  width: 210px;
  height: 170px;
  transform: rotate(-5deg);
  border-radius: 48% 42% 50% 40%;
  background: #e7eddf;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art > svg {
  width: 100px;
  height: 100px;
  color: #8ea888;
  stroke-width: 1;
}
.art-card {
  position: absolute;
  left: 80px;
  top: 32px;
  background: #fff;
  box-shadow: 0 4px 12px #536b4820;
  border-radius: 9px;
  width: 65px;
  height: 86px;
  display: grid;
  place-items: center;
  transform: rotate(17deg);
}
.art-card svg {
  width: 35px;
  height: 35px;
  color: #9caf96;
}
.art-check {
  position: absolute;
  bottom: 18px;
  right: 19px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  border: 5px solid var(--paper);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 16px;
}
.section-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.count {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  background: #e9eee5;
  border-radius: 8px;
  font-size: 12px;
  vertical-align: middle;
  margin-left: 8px;
  color: var(--green);
}
.button {
  min-height: 43px;
  border: 1px solid transparent;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
  background: none;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
.button.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 3px 5px #245d4a0c;
}
.button.primary:hover {
  background: #1c4d3c;
}
.button.secondary {
  background: #fff;
  border-color: var(--line);
}
.button.secondary:hover {
  background: #f0f3ec;
}
.button.subtle:hover {
  background: #e9eee5;
}
.button.danger {
  background: var(--red);
  color: #fff;
}
.button svg {
  width: 17px;
  height: 17px;
}
.icon-button {
  border: 0;
  background: transparent;
  border-radius: 8px;
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: var(--muted);
  cursor: pointer;
}
.icon-button:hover {
  background: #e8eee3;
}
.icon-button.disabled {
  opacity: 0.3;
  pointer-events: none;
}
.share-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.share-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.share-card:hover {
  transform: translateY(-2px);
  border-color: #b5c8b7;
}
.card-link {
  display: block;
  padding: 25px 25px 18px;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}
.folder-tile {
  background: #eef2e8;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #728e67;
}
.folder-tile svg {
  width: 25px;
  height: 25px;
}
.pill {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 550;
  color: var(--muted);
  background: #f1f3ee;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.pill.amber {
  background: #f9f0d8;
  color: #9d7c2f;
}
.pill.green {
  background: #e9f0e5;
  color: var(--green);
}
.share-card h3 {
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.card-description {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 9px;
  min-height: 43px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex;
  gap: 13px;
  font-size: 10px;
  color: var(--muted);
  align-items: center;
  margin-top: 22px;
}
.card-meta span:last-child {
  margin-left: auto;
}
.card-meta svg {
  width: 15px;
  height: 15px;
}
.card-actions {
  display: flex;
  justify-content: space-between;
  padding: 13px 23px;
  border-top: 1px solid #edf0e9;
  background: #fcfdf9;
  gap: 8px;
}
.card-actions a,
.card-actions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  background: none;
  border: 0;
  padding: 2px 0;
  color: var(--green);
}
.card-actions svg {
  width: 14px;
  height: 14px;
}
.tip {
  display: flex;
  gap: 15px;
  background: #edf1e8;
  border: 1px solid #e2e8da;
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 34px;
  font-size: 11px;
  color: #667861;
}
.tip > svg {
  color: #72896b;
  margin-top: 2px;
}
.tip strong {
  font-size: 12px;
  font-weight: 600;
}
.tip p {
  margin-top: 4px;
  line-height: 1.85;
}
.tip details {
  margin-top: 8px;
  font-size: 10px;
}
.tip summary {
  cursor: pointer;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 11px;
}
.full {
  width: 100%;
}
.loading {
  padding: 90px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.loading:before {
  content: "";
  display: block;
  border: 2px solid #dce5d7;
  border-top-color: var(--green);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.empty {
  padding: 60px 24px;
  text-align: center;
  width: 100%;
  grid-column: 1/-1;
  background: #ffffff70;
  border: 1px dashed #d9e1d3;
  border-radius: 14px;
}
.empty-icon {
  display: grid;
  place-items: center;
  background: #ebf0e5;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 20px;
  color: #8aa180;
}
.empty-icon svg {
  width: 30px;
  height: 30px;
}
.empty p {
  font-size: 12px;
  color: var(--muted);
  margin: 9px auto 24px;
  max-width: 450px;
}
.empty h3 {
  font-size: 17px;
}
.page-title {
  padding: 12px 0 32px;
}
.page-title p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}
.request-list {
  max-width: 800px;
  display: grid;
  gap: 18px;
}
.request-card {
  display: flex;
  gap: 18px;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.avatar {
  width: 44px;
  height: 44px;
  background: #eff2e7;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: #748a64;
  flex-shrink: 0;
}
.request-body {
  flex: 1;
  min-width: 0;
}
.request-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.request-title h3 {
  overflow-wrap: anywhere;
}
.request-share {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.request-share svg {
  width: 14px;
  height: 14px;
}
.request-message {
  white-space: pre-wrap;
  font-size: 13px;
  margin: 14px 0;
  background: #f7f8f3;
  border-radius: 8px;
  padding: 10px 14px;
}
.request-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
}
.request-body > .small {
  margin-top: 12px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 24px;
}
.back-link svg {
  width: 15px;
  height: 15px;
}
.share-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 34px;
  padding-top: 9px;
}
.share-heading h1 {
  font-size: 30px;
  overflow-wrap: anywhere;
}
.share-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  white-space: pre-wrap;
}
.share-facts {
  display: flex;
  gap: 15px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.grant {
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.grant svg {
  width: 14px;
  height: 14px;
}
.heading-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  padding-top: 25px;
}
.file-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 20px;
  gap: 16px;
  flex-wrap: wrap;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
}
.breadcrumbs a {
  color: var(--muted);
}
.breadcrumbs svg {
  width: 14px;
  height: 14px;
}
.breadcrumbs a:first-child {
  display: flex;
  gap: 6px;
  align-items: center;
}
.upload-actions {
  display: flex;
  gap: 8px;
}
.upload-actions .button {
  font-size: 11px;
  padding: 8px 12px;
  min-height: 38px;
}
.search {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  max-width: 240px;
}
.search svg {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.search input {
  border: 0;
  background: transparent;
  outline: none;
  font-size: 12px;
  width: 160px;
  padding: 3px;
}
.file-list {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.list-head {
  display: flex;
  justify-content: space-between;
  padding: 13px 32px 13px 24px;
  background: #fbfcf8;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.list-head span:last-child {
  width: 105px;
  text-align: center;
}
.file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 22px;
  border-bottom: 1px solid #edf0e9;
  min-height: 86px;
}
.file-row:last-child {
  border-bottom: 0;
}
.file-row:hover {
  background: #fcfdf9;
}
.row-open {
  display: flex;
  gap: 16px;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.file-icon {
  width: 43px;
  height: 49px;
  border-radius: 9px;
  background: #edf1e9;
  color: #879a79;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.file-icon.pdf {
  background: #f9edeb;
  color: #b86c63;
  flex-direction: column;
  gap: 0;
}
.file-icon.pdf > svg {
  width: 19px;
  height: 19px;
}
.file-icon b {
  font-size: 7px;
  letter-spacing: 0.07em;
  line-height: 1.2;
}
.file-icon.image {
  background: #eaf0f5;
  color: #7b97ac;
}
.file-icon.html {
  background: #f5efe2;
  color: #b29a68;
}
.file-icon.audio,
.file-icon.video {
  background: #f0eaf6;
  color: #a288ad;
}
.file-icon.folder {
  background: #f4f0df;
  color: #b6a16d;
  height: 43px;
}
.file-name {
  min-width: 0;
  display: block;
}
.file-name strong {
  font-size: 13px;
  font-weight: 550;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-name small {
  display: flex;
  gap: 8px;
  color: #8b968b;
  font-size: 10px;
  margin-top: 4px;
  align-items: center;
  flex-wrap: wrap;
}
.file-name em {
  font-size: 9px;
  font-style: normal;
  color: #759369;
  background: #eff4e9;
  padding: 0 5px;
  border-radius: 4px;
}
.row-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.row-actions > svg {
  width: 15px;
  height: 15px;
  color: #8e9b8c;
}
.row-spacer {
  width: 16px;
}
.row-actions .icon-button {
  min-height: 32px;
  min-width: 24px;
  width: 24px;
  padding: 2px;
}
.switch {
  display: inline-flex;
  align-items: center;
  position: relative;
  width: 36px;
  height: 24px;
  cursor: pointer;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}
.switch > span {
  width: 36px;
  height: 21px;
  background: #e1e6de;
  border-radius: 14px;
  transition: background 0.15s;
  position: relative;
  display: block;
}
.switch > span:after {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  position: absolute;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px #0001;
  transition: transform 0.15s;
}
.switch input:checked + span {
  background: #47745a;
}
.switch input:checked + span:after {
  transform: translateX(15px);
}
.switch.partial > span {
  background: #b5c6a4;
}
.switch input:focus-visible + span {
  outline: 3px solid #9ab7a2;
  outline-offset: 3px;
}
.switch input:disabled + span {
  opacity: 0.4;
}
.list-footnote {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  margin: 17px 3px;
}
.list-footnote svg {
  width: 15px;
  height: 15px;
}
.offline-summary {
  background: #edf2e8;
  border: 1px solid #dde6d5;
  padding: 21px 25px;
  border-radius: 12px;
  margin-bottom: 25px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 20px;
  align-items: center;
}
.offline-summary strong {
  font-size: 13px;
  font-weight: 550;
}
.offline-summary p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.offline-summary .sizes {
  font-size: 16px;
  font-weight: 650;
  color: var(--green);
  white-space: nowrap;
}
.offline-summary .sizes small {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.progress-track {
  height: 4px;
  border-radius: 3px;
  background: #dce5d5;
  grid-column: 1/-1;
  overflow: hidden;
  margin-top: 7px;
}
.progress-track > span {
  display: block;
  height: 100%;
  background: #6b9162;
  border-radius: 3px;
  transition: width 0.3s;
}
.offline-tools {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
}
.offline-tools > span {
  margin-left: auto;
}
.persist-panel {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin: 28px 0;
}
.persist-panel strong {
  font-size: 13px;
  margin-left: 8px;
}
.persist-panel svg {
  width: 17px;
  height: 17px;
  color: var(--green);
}
.persist-panel p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 9px;
  max-width: 600px;
}
.persist-panel > .button {
  align-self: center;
}
.notice {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #edf1e8;
  border-radius: 9px;
  padding: 14px 17px;
  font-size: 12px;
  margin: 15px 0;
  color: #5f765a;
}
.notice[hidden] {
  display: none;
}
.notice.amber {
  background: #faf1dc;
  color: #9a7d36;
}
.install-note {
  display: flex;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 30px auto 0;
  max-width: 800px;
  background: #f1f4eb;
}
.install-note > svg {
  color: #859974;
  margin-top: 3px;
}
.install-note strong {
  font-size: 12px;
  font-weight: 550;
}
.install-note p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.9;
}
.guide {
  max-width: 760px;
}
.guide h2 {
  font-size: 20px;
  margin-bottom: 28px;
}
.steps {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 26px;
}
.steps li {
  display: flex;
  gap: 20px;
}
.steps b {
  display: grid;
  place-items: center;
  border-radius: 12px;
  width: 40px;
  height: 40px;
  background: #e5ecdd;
  color: var(--green);
  font-size: 17px;
  flex-shrink: 0;
  font-weight: 500;
}
.steps h3 {
  font-size: 15px;
  margin: 4px 0 8px;
}
.steps p {
  font-size: 12px;
  color: var(--muted);
  line-height: 2;
}
.welcome {
  text-align: center;
  max-width: 650px;
  padding: 55px 0 20px;
  margin: auto;
}
.welcome-art {
  width: 115px;
  height: 115px;
  border-radius: 38px;
  background: #e6eddf;
  margin: 30px auto 35px;
  display: grid;
  place-items: center;
  position: relative;
  transform: rotate(-5deg);
}
.welcome-art > svg {
  width: 57px;
  height: 57px;
  stroke-width: 1.2;
  color: #819976;
}
.welcome-art > span {
  position: absolute;
  bottom: -5px;
  right: -8px;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  background: var(--green);
  color: #fff;
  border: 4px solid var(--paper);
  display: grid;
  place-items: center;
}
.welcome h1 {
  font-size: 36px;
}
.welcome > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 2.1;
  margin-top: 20px;
}
.welcome .notice {
  max-width: 460px;
  margin: 30px auto;
  font-size: 12px;
  text-align: left;
}
.feature-pills {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 11px;
  color: #819078;
}
.feature-pills span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.feature-pills svg {
  width: 15px;
  height: 15px;
}
.access-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  max-width: 1000px;
  margin: 50px auto 70px;
  align-items: center;
}
.access-symbol {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: #e5ecdf;
  display: grid;
  place-items: center;
  color: #79936e;
  margin: 25px 0;
}
.access-symbol svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.4;
}
.access-copy h1 {
  font-size: 33px;
  line-height: 1.65;
}
.access-copy > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 2.1;
  margin: 20px 0 25px;
}
.access-share {
  display: inline-flex;
  gap: 7px;
  font-size: 12px;
  color: #70856a;
  align-items: center;
  background: #edf2e7;
  border-radius: 8px;
  padding: 8px 13px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.access-share svg {
  width: 16px;
  height: 16px;
}
.access-panel {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.access-panel h2 {
  font-size: 19px;
  margin-bottom: 25px;
}
.access-panel .small {
  margin-top: 16px;
  font-size: 10px;
  line-height: 1.9;
}
.field {
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin: 20px 0;
}
.field input,
.field textarea,
.field select {
  display: block;
  width: 100%;
  border: 1px solid #dce3d6;
  background: #fcfdf9;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
}
.field textarea {
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #a1ab9c;
}
.access-panel .button.full {
  margin-top: 8px;
}
.waiting-dot {
  width: 20px;
  height: 20px;
  background: #dce8d1;
  box-shadow: 0 0 0 10px #edf3e6;
  border-radius: 50%;
  margin: 20px auto 30px;
  animation: pulse 2s ease-in-out infinite;
}
.access-panel:has(.waiting-dot) {
  text-align: center;
}
.access-panel > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 2;
  margin: 16px 0;
}
.access-panel:has(.waiting-dot) h2 {
  margin-bottom: 16px;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 17px #f4f7ee;
  }
}
dialog {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  width: min(480px, calc(100% - 36px));
  padding: 28px;
  box-shadow: 0 24px 100px #182b3030;
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #14291f66;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.dialog-head h2 {
  font-size: 19px;
  overflow-wrap: anywhere;
}
.dialog-head .icon-button {
  min-width: 32px;
  min-height: 32px;
}
dialog p {
  font-size: 12px;
  line-height: 2;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.danger-text {
  color: var(--red) !important;
}
.menu-list {
  display: grid;
  gap: 5px;
}
.menu-list button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
}
.menu-list button:hover {
  background: #f1f4eb;
}
#toast {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(25px);
  opacity: 0;
  pointer-events: none;
  background: #284d3f;
  color: #fff;
  font-size: 12px;
  padding: 13px 22px;
  border-radius: 10px;
  z-index: 20;
  box-shadow: 0 5px 25px #15312022;
  max-width: calc(100% - 36px);
  transition:
    transform 0.15s,
    opacity 0.15s;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
#toast.error {
  background: #8b443a;
}
.preview-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 24px;
}
.preview-heading h1 {
  font-size: 18px;
  overflow-wrap: anywhere;
  font-weight: 550;
  line-height: 1.5;
}
.preview-heading p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.preview-heading > div {
  flex: 1;
  min-width: 0;
}
.preview-heading > .icon-button {
  color: var(--ink);
}
.viewer-toolbar {
  display: flex;
  justify-content: space-between;
  padding: 10px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 14px;
  gap: 10px;
}
.viewer-toolbar > div {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
}
.viewer-toolbar .icon-button {
  min-width: 32px;
  min-height: 32px;
}
.viewer-toolbar svg {
  width: 17px;
  height: 17px;
}
.pdf-page-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.pdf-page-label input {
  width: 44px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 4px;
  background: #f8faf4;
  font-size: 12px;
  appearance: textfield;
}
.preview-stage {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #eef0e8;
  min-height: 480px;
  overflow: auto;
  position: relative;
}
.pdf-stage {
  padding: 16px;
  min-height: 60dvh;
  max-height: 80dvh;
  text-align: center;
}
.pdf-stage canvas {
  background: #fff;
  box-shadow: 0 2px 16px #102b2515;
  vertical-align: top;
}
.preview-stage .empty {
  border: 0;
  background: transparent;
  padding-top: 90px;
}
.html-preview {
  display: block;
  border: 0;
  background: #fff;
  width: 100%;
  height: 70dvh;
  min-height: 500px;
}
.preview-note {
  display: flex;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 15px;
  align-items: center;
}
.preview-note svg {
  width: 16px;
  height: 16px;
}
.related-links {
  padding: 20px 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.related-links h3 {
  width: 100%;
  font-size: 13px;
  margin-bottom: 5px;
}
.related-links .button {
  font-size: 11px;
}
.text-preview {
  background: #fff;
  margin: 0;
  padding: 30px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    13px/1.9 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  min-height: 480px;
}
.image-stage {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 20px;
}
.image-stage img {
  display: block;
  width: 100%;
  max-height: 70dvh;
  object-fit: contain;
  flex-shrink: 0;
}
.image-stage img[style] {
  max-height: none;
  object-fit: initial;
}
.image-hint {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  margin-top: 20px;
  flex: 1;
  min-width: 100%;
}
.preview-stage video {
  width: 100%;
  max-height: 75dvh;
  background: #1c2c25;
  display: block;
}
.preview-stage:has(audio) {
  display: grid;
  place-items: center;
  min-height: 300px;
}
.preview-stage audio {
  width: 85%;
  max-width: 600px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.storage-status {
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
}
@media (min-width: 1500px) {
  #app {
    padding-top: 36px;
  }
  .hero {
    padding-top: 35px;
    padding-bottom: 45px;
  }
  .hero-art {
    width: 240px;
    height: 190px;
  }
}
@media (max-width: 1200px) {
  .site-header {
    margin: 0 30px;
    padding: 0 3px;
  }
  #app,
  .site-footer {
    margin-left: 33px;
    margin-right: 33px;
  }
  .share-grid {
    gap: 16px;
  }
  .card-link {
    padding: 22px 20px 16px;
  }
  .card-actions {
    padding: 12px 17px;
  }
  .card-actions a,
  .card-actions button {
    font-size: 9px;
  }
}
@media (max-width: 900px) {
  .share-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    padding-right: 25px;
  }
  .access-layout {
    gap: 35px;
  }
  .access-copy h1 {
    font-size: 28px;
  }
  .access-panel {
    padding: 25px;
  }
  .persist-panel {
    flex-wrap: wrap;
  }
  .persist-panel .button {
    margin-left: 25px;
  }
  .folder-upload {
    display: none;
  }
  .heading-actions > .button {
    padding: 8px 12px;
  }
  .share-heading h1 {
    font-size: 27px;
  }
  .share-heading {
    gap: 14px;
  }
}
@media (max-width: 600px) {
  :root {
    font-size: 14px;
  }
  .site-header {
    height: 83px;
    margin: 0 21px;
    padding: 0;
  }
  .brand {
    gap: 9px;
  }
  .brand img {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }
  .brand > span {
    font-size: 20px;
  }
  .brand small {
    font-size: 8px;
    margin-top: 6px;
  }
  .connection {
    font-size: 9px;
    gap: 5px;
  }
  #app {
    margin: 0;
    padding: 20px 20px 40px;
    min-height: calc(100dvh - 180px);
  }
  .site-footer {
    margin: 0 21px;
    padding: 20px 0 28px;
    font-size: 9px;
  }
  .tabs {
    gap: 25px;
    margin-bottom: 28px;
    overflow: auto;
  }
  .tabs a,
  .tabs button {
    font-size: 11px;
    gap: 6px;
    padding-bottom: 13px;
  }
  .tabs svg {
    width: 16px;
    height: 16px;
  }
  .hero {
    padding: 12px 0 24px;
    margin-bottom: 18px;
    gap: 0;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 0.15em;
    margin-bottom: 13px;
  }
  .hero h1 {
    font-size: 28px;
    line-height: 1.65;
    letter-spacing: 0.03em;
  }
  .hero p {
    font-size: 11px;
    margin-top: 13px;
    line-height: 2;
  }
  .mobile-only {
    display: block;
  }
  .hero-art {
    width: 110px;
    height: 120px;
    flex-shrink: 0;
    margin-right: 0;
    margin-left: 6px;
  }
  .hero-art > svg {
    width: 70px;
    height: 70px;
  }
  .art-card {
    left: 41px;
    top: 25px;
    width: 44px;
    height: 62px;
    border-radius: 6px;
  }
  .art-card svg {
    width: 25px;
    height: 25px;
  }
  .art-check {
    width: 29px;
    height: 29px;
    right: 0;
    bottom: 9px;
    border-width: 4px;
  }
  .art-check svg {
    width: 15px;
    height: 15px;
  }
  .section-heading {
    margin-bottom: 18px;
    gap: 12px;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .section-heading p {
    font-size: 10px;
  }
  .count {
    width: 21px;
    height: 21px;
    font-size: 10px;
    margin-left: 4px;
    border-radius: 6px;
  }
  .section-heading > .button {
    padding: 9px 12px;
    font-size: 11px;
    min-height: 39px;
    gap: 5px;
  }
  .share-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .card-link {
    padding: 22px 23px 17px;
  }
  .card-top {
    margin-bottom: 20px;
  }
  .folder-tile {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }
  .folder-tile svg {
    width: 23px;
    height: 23px;
  }
  .share-card h3 {
    font-size: 17px;
  }
  .card-description {
    min-height: 0;
    font-size: 11px;
    margin-top: 7px;
  }
  .card-meta {
    margin-top: 19px;
    font-size: 10px;
  }
  .card-actions {
    padding: 13px 22px;
  }
  .card-actions a,
  .card-actions button {
    font-size: 10px;
    min-height: 26px;
  }
  .tip {
    padding: 18px 17px;
    gap: 10px;
    margin-top: 26px;
    font-size: 10px;
  }
  .tip strong {
    font-size: 11px;
  }
  .tip p {
    font-size: 10px;
  }
  .tip details {
    font-size: 9px;
  }
  .page-title {
    padding: 7px 0 27px;
  }
  .page-title h1 {
    font-size: 27px;
  }
  .page-title p {
    font-size: 11px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 10px;
  }
  .request-card {
    padding: 20px 16px;
    gap: 12px;
  }
  .avatar {
    width: 35px;
    height: 35px;
    font-size: 15px;
  }
  .request-title h3 {
    font-size: 15px;
  }
  .request-title {
    gap: 7px;
  }
  .request-share {
    font-size: 10px;
  }
  .request-message {
    font-size: 12px;
    padding: 10px;
  }
  .request-actions .button {
    font-size: 11px;
    min-height: 39px;
    padding: 9px 12px;
  }
  .back-link {
    margin-bottom: 17px;
    font-size: 10px;
  }
  .share-heading {
    padding-top: 3px;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .share-heading h1 {
    font-size: 25px;
    line-height: 1.55;
    letter-spacing: 0.02em;
  }
  .share-heading > div:first-child {
    min-width: 0;
    width: 100%;
  }
  .share-heading p {
    font-size: 11px;
    margin-top: 10px;
  }
  .share-facts {
    font-size: 10px;
    gap: 11px;
    margin-top: 13px;
  }
  .heading-actions {
    padding-top: 0;
    width: 100%;
    justify-content: flex-end;
  }
  .heading-actions .button {
    font-size: 10px;
    min-height: 35px;
  }
  .heading-actions .icon-button {
    min-width: 35px;
    min-height: 35px;
  }
  .share-heading + .tabs {
    gap: 22px;
  }
  .file-toolbar {
    margin-bottom: 16px;
    gap: 12px;
  }
  .breadcrumbs {
    font-size: 10px;
    gap: 5px;
    width: 100%;
  }
  .breadcrumbs svg {
    width: 12px;
    height: 12px;
  }
  .upload-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .upload-actions .button {
    font-size: 10px;
    padding: 7px 11px;
    min-height: 36px;
  }
  .folder-upload {
    display: inline-flex !important;
  }
  .search {
    max-width: 100%;
    width: 100%;
  }
  .search input {
    width: 100%;
    font-size: 12px;
  }
  .list-head {
    font-size: 9px;
    padding: 11px 15px;
  }
  .list-head span:last-child {
    width: 88px;
  }
  .file-row {
    padding: 14px 13px;
    min-height: 79px;
    gap: 5px;
  }
  .row-open {
    gap: 11px;
  }
  .file-icon {
    width: 35px;
    height: 42px;
    border-radius: 7px;
  }
  .file-icon > svg {
    width: 20px;
    height: 20px;
  }
  .file-icon.folder {
    height: 36px;
  }
  .file-name strong {
    font-size: 11px;
  }
  .file-name small {
    font-size: 9px;
    gap: 5px;
    line-height: 1.5;
    margin-top: 5px;
  }
  .file-name em {
    font-size: 8px;
  }
  .row-actions {
    gap: 9px;
  }
  .row-actions .icon-button {
    width: 20px;
    min-width: 20px;
  }
  .row-actions .icon-button svg {
    width: 17px;
    height: 17px;
  }
  .switch {
    width: 32px;
    height: 27px;
  }
  .switch > span {
    width: 32px;
    height: 19px;
  }
  .switch > span:after {
    width: 13px;
    height: 13px;
  }
  .switch input:checked + span:after {
    transform: translateX(13px);
  }
  .row-spacer {
    width: 10px;
  }
  .row-actions > svg {
    width: 12px;
    height: 12px;
  }
  .list-footnote {
    font-size: 9px;
    gap: 5px;
    margin: 16px 0;
  }
  .list-footnote svg {
    width: 13px;
    height: 13px;
  }
  .offline-summary {
    padding: 17px 16px;
    gap: 7px 10px;
    margin-bottom: 20px;
  }
  .offline-summary strong {
    font-size: 11px;
  }
  .offline-summary p {
    font-size: 9px;
  }
  .offline-summary .sizes {
    font-size: 13px;
  }
  .offline-summary .sizes small {
    font-size: 9px;
  }
  .offline-tools {
    gap: 8px;
    margin-top: 17px;
  }
  .offline-tools .button {
    font-size: 10px;
    padding: 8px 12px;
    min-height: 36px;
  }
  .offline-tools > span {
    width: 100%;
    margin-top: 5px;
    font-size: 9px;
  }
  .persist-panel {
    padding: 19px 17px;
    gap: 15px;
    margin: 22px 0;
  }
  .persist-panel strong {
    font-size: 12px;
  }
  .persist-panel p {
    font-size: 10px;
  }
  .persist-panel .button {
    font-size: 10px;
    min-height: 37px;
    margin-left: 0;
  }
  .install-note {
    padding: 19px 16px;
    gap: 10px;
    margin-top: 24px;
  }
  .install-note strong {
    font-size: 11px;
  }
  .install-note p {
    font-size: 10px;
    line-height: 1.9;
  }
  .install-note > svg {
    width: 18px;
    height: 18px;
  }
  .notice {
    font-size: 10px;
    padding: 12px;
    gap: 8px;
  }
  .notice svg {
    width: 16px;
    height: 16px;
  }
  .guide h2 {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
  }
  .steps {
    gap: 24px;
  }
  .steps li {
    gap: 14px;
  }
  .steps b {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 9px;
  }
  .steps h3 {
    font-size: 13px;
    margin-top: 2px;
  }
  .steps p {
    font-size: 11px;
    line-height: 2;
  }
  .welcome {
    padding: 35px 0 20px;
  }
  .welcome h1 {
    font-size: 29px;
    line-height: 1.8;
  }
  .welcome > p {
    font-size: 12px;
  }
  .welcome .notice {
    padding: 16px 14px;
    font-size: 10px;
  }
  .welcome-art {
    width: 95px;
    height: 95px;
    border-radius: 30px;
    margin: 25px auto 30px;
  }
  .welcome-art > svg {
    width: 47px;
    height: 47px;
  }
  .feature-pills {
    font-size: 10px;
    gap: 18px;
  }
  .access-layout {
    display: block;
    margin: 15px auto 32px;
  }
  .access-copy > .eyebrow {
    font-size: 8px;
  }
  .access-symbol {
    width: 45px;
    height: 45px;
    border-radius: 14px;
    margin: 20px 0 16px;
  }
  .access-symbol svg {
    width: 23px;
    height: 23px;
  }
  .access-copy h1 {
    font-size: 27px;
    line-height: 1.65;
  }
  .access-copy > p {
    font-size: 11px;
    margin: 16px 0 18px;
  }
  .access-share {
    font-size: 10px;
    padding: 7px 10px;
  }
  .access-panel {
    margin-top: 27px;
    padding: 24px 22px;
    border-radius: 14px;
  }
  .access-panel h2 {
    font-size: 17px;
    margin-bottom: 20px;
  }
  .field {
    font-size: 11px;
    margin: 18px 0;
  }
  .field input,
  .field textarea,
  .field select {
    font-size: 16px;
    padding: 10px 12px;
    margin-top: 7px;
  }
  .access-panel .button.full {
    font-size: 12px;
    margin-top: 4px;
    min-height: 44px;
  }
  .access-panel .small {
    font-size: 9px;
    margin-top: 13px;
  }
  .access-panel > p {
    font-size: 11px;
  }
  .button {
    font-size: 11px;
  }
  .empty {
    padding: 40px 17px;
  }
  .empty h3 {
    font-size: 15px;
  }
  .empty p {
    font-size: 11px;
  }
  .empty-icon {
    width: 54px;
    height: 54px;
    border-radius: 17px;
    margin-bottom: 18px;
  }
  .empty-icon svg {
    width: 25px;
    height: 25px;
  }
  .preview-heading {
    gap: 7px;
    margin-top: 0;
  }
  .preview-heading > .icon-button {
    min-width: 31px;
    min-height: 38px;
    padding: 4px;
  }
  .preview-heading h1 {
    font-size: 13px;
  }
  .preview-heading p {
    font-size: 9px;
  }
  .download-button {
    padding: 8px;
    min-width: 35px;
    min-height: 35px;
  }
  .download-button span {
    display: none;
  }
  .viewer-toolbar {
    padding: 7px 8px;
    gap: 4px;
  }
  .viewer-toolbar > div {
    font-size: 10px;
    gap: 2px;
  }
  .viewer-toolbar .icon-button {
    min-width: 30px;
    min-height: 32px;
  }
  .pdf-page-label {
    font-size: 10px;
    gap: 5px;
  }
  .pdf-page-label input {
    width: 32px;
    font-size: 12px;
    padding: 4px 2px;
  }
  .preview-stage {
    min-height: 55dvh;
    border-radius: 9px;
  }
  .pdf-stage {
    padding: 10px;
    max-height: 78dvh;
  }
  .html-preview {
    height: 70dvh;
    min-height: 480px;
  }
  .text-preview {
    padding: 18px;
    font-size: 12px;
  }
  .preview-note {
    font-size: 9px;
    align-items: flex-start;
    line-height: 1.8;
  }
  .preview-note svg {
    margin-top: 3px;
  }
  .image-stage {
    padding: 12px;
    min-height: 45dvh;
  }
  .image-hint {
    font-size: 9px;
  }
  .preview-stage:has(audio) {
    min-height: 240px;
  }
  dialog {
    padding: 22px;
    border-radius: 15px;
  }
  .dialog-head h2 {
    font-size: 17px;
  }
  .dialog-actions {
    gap: 8px;
    margin-top: 23px;
    padding-top: 18px;
  }
  .dialog-actions .button {
    min-height: 41px;
    padding: 10px 14px;
  }
  .dialog-head {
    margin-bottom: 12px;
  }
  #toast {
    font-size: 11px;
    padding: 12px 16px;
    width: max-content;
    max-width: calc(100% - 32px);
  }
  .related-links .button {
    font-size: 10px;
  }
  .related-links h3 {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
.offline-summary {
  grid-template-columns: 32px 1fr auto;
  gap: 14px;
  margin-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
}
.offline-summary-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #729066;
}
.offline-summary-icon svg {
  width: 25px;
  height: 25px;
}
.offline-size {
  text-align: right;
}
.offline-size > strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--green);
}
.offline-size > strong span {
  font-size: 12px;
  color: #95a18e;
  font-weight: 400;
}
.offline-size > span {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.progress-track {
  margin: 0 0 27px;
  border-radius: 0 0 12px 12px;
  background: #e0e8d8;
  height: 4px;
}
.progress-track > div {
  height: 100%;
  background: #6b9162;
  transition: width 0.3s;
}
.offline-intro h2 {
  font-size: 22px;
}
.offline-intro > p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 24px;
}
@media (max-width: 600px) {
  .offline-summary {
    grid-template-columns: 1fr auto;
    gap: 6px 10px;
    padding: 16px 15px;
  }
  .offline-summary-icon {
    display: none;
  }
  .offline-summary strong {
    font-size: 11px;
  }
  .offline-size > strong {
    font-size: 12px;
  }
  .offline-size > strong span {
    font-size: 10px;
  }
  .offline-size > span {
    font-size: 8px;
  }
  .offline-summary p {
    font-size: 9px;
  }
  .progress-track {
    margin-bottom: 21px;
  }
  .offline-intro h2 {
    font-size: 18px;
  }
  .offline-intro > p {
    font-size: 10px;
    margin-bottom: 22px;
  }
}
