/* Content of the cloud and PDF panels. */

.panel-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px 10px 14px;
  border-bottom: 1px solid var(--line);
}
.panel-head h3 { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 10px; }

.form { display: flex; flex-direction: column; gap: 10px; }
.form h3 { font-size: 15px; font-weight: 600; }
.form h4,
.panel-body h4 { margin-top: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); }
.form .row,
.panel-body .row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.form label.check { flex-direction: row; color: var(--text); font-size: 13px; }
.form p,
.panel-body p { font-size: 12.5px; line-height: 1.55; }
.legal { font-size: 11.5px; color: var(--muted); }

/* ---- cloud ---- */
.cloud-head { display: flex; align-items: center; gap: 6px; }
.cloud-head .who { flex: 1; min-width: 0; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cloud-status { min-height: 1.2em; font-size: 12px; color: var(--muted); }
.cloud-status.error { color: var(--danger); }
.usage { font-size: 12px; color: var(--muted); }

.social { display: flex; flex-direction: column; gap: 6px; }
.social:empty { display: none; }
.provider { height: 40px; border: 0; border-radius: var(--r-input); font-weight: 600; }
.provider.kakao { background: #fee500; color: #191919; }
.provider.naver { background: #03c75a; color: #fff; }
.provider.google { background: #fff; color: #1f1f1f; box-shadow: inset 0 0 0 1px #dadce0; }
.provider.apple { background: #000; color: #fff; box-shadow: inset 0 0 0 1px #444; }

.banner {
  padding: 8px 10px;
  border-radius: var(--r-input);
  background: color-mix(in srgb, var(--warn) 14%, transparent);
  font-size: 12px;
  line-height: 1.5;
}

.current {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--accent);
  border-radius: var(--r-tool);
}
.current .name { flex: 1 1 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.current .btn { height: 28px; padding: 0 10px; font-size: 12px; }

.cloud-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  min-width: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-tool);
  background: transparent;
  text-align: left;
}
.card:hover:not(:disabled) { border-color: var(--accent); }
.card.linked { border-color: var(--accent); background: var(--tint); }
.card img,
.card .nothumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--canvas);
  object-fit: contain;
  color: var(--muted);
  font-size: 12px;
}
.card .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .meta { font-size: 11px; color: var(--muted); }

dl.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0; font-size: 12.5px; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; overflow-wrap: anywhere; }
.ok { color: var(--ok); white-space: nowrap; }
.warn { color: var(--warn); white-space: nowrap; }

.trash-item,
.share-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-tool);
}
.trash-item .name { font-weight: 500; }
.trash-item .meta { font-size: 11px; color: var(--muted); }
.share-item { flex-direction: row; align-items: center; justify-content: space-between; font-size: 12px; }
.share-item.revoked { opacity: 0.55; }
.share-url { flex: 1; }
