/* Paperbay: the ioskit's look in a deep teal on the system grouped grey, plus the camera, the page grid, the page
   screen, the corner editor, the signature pad and the starter. */
:root { --tint: #0b7a74; --forest: #0b7a74; --coral: #0b7a74; --canvas: #f2f2f7; --ink: #0b7a74; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --tint: #3fd0c2; --forest: #3fd0c2; --coral: #14968c; --canvas: #000; } }
:root[data-theme="dark"] { --tint: #3fd0c2; --forest: #3fd0c2; --coral: #14968c; --canvas: #000; }
.wide-col { max-width: 900px; margin: 0 auto; }
.home-form { padding-bottom: 110px; }
.grow { flex: 1 1 auto; }
.hstack { display: flex; align-items: center; } .vstack { display: flex; flex-direction: column; } .gap6 { gap: 6px; } .gap8 { gap: 8px; } .gap3 { gap: 3px; }
.c-2 { color: var(--text2); }
.t-subheadline { font-size: 15px; }
.seg-wrap { padding: 6px 0 2px; }
.seg-row { padding: 8px 12px; }
.seg-row .segmented { width: 100%; }
:root:root button, :root:root .chip, :root:root .tool { min-height: 44px; }

/* the starter */
.starter { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 4px 4px; }
.hero-art svg { display: block; width: 200px; height: auto; }
.starter h2 { font: 700 30px/1.1 var(--sys); letter-spacing: -0.02em; margin: 6px 0 0; }
.starter p { color: var(--text2); font-size: 16px; line-height: 22px; margin: 0 0 8px; max-width: 460px; }
.starter-btns { display: grid; gap: 10px; width: 100%; max-width: 420px; }
.how { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; text-align: left; max-width: 440px; width: 100%; }
.how li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 20px; color: var(--text2); }
.how li b { color: var(--text); font-weight: 600; }
.how .sf { flex: none; font-size: 22px; color: var(--tint); margin-top: 1px; }

/* search and folders */
.search { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; padding: 0 12px; min-height: 44px; border-radius: 14px; background: var(--fill2); color: var(--text2); }
.search .sf { font-size: 17px; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 17px; color: var(--text); padding: 10px 0; -webkit-appearance: none; appearance: none; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search:focus-within { box-shadow: 0 0 0 2px color-mix(in srgb, var(--tint) 50%, transparent); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 5px; flex: none; padding: 0 14px; border-radius: 999px; background: var(--row); color: var(--text); font-size: 15px; font-weight: 500; box-shadow: inset 0 0 0 0.5px var(--sep); }
.chip.on { background: var(--tint); color: #fff; box-shadow: none; }
.chip.add { color: var(--tint); background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tint) 40%, transparent); }
.chip .sf { font-size: 15px; }
.chip-mini { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--fill2); font-size: 13px; }

/* the documents */
.doc-row { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.doc-row .row-main { gap: 12px; align-items: center; }
.doc-thumb { width: 46px; height: 60px; flex: none; border-radius: 6px; overflow: hidden; background: var(--fill2); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18), 0 0 0 0.5px var(--sep); }
.doc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doc-row-t { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.doc-row-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-row-sub { color: var(--text2); font-size: 14px; }
.doc-snip { color: var(--text2); font-size: 14px; line-height: 19px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.doc-snip mark { background: color-mix(in srgb, var(--tint) 24%, transparent); color: var(--text); border-radius: 3px; padding: 0 1px; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 40px 20px; color: var(--text2); font-size: 15px; }
.empty .sf { font-size: 34px; color: var(--text3); }
.empty b { color: var(--text); font-size: 17px; }
.note { display: flex; gap: 8px; align-items: flex-start; margin: 18px 4px 0; font-size: 14px; line-height: 19px; color: var(--text2); }
.note.warn .sf { color: var(--orange); flex: none; margin-top: 2px; }
.credits { font-size: 12px; line-height: 17px; color: var(--text2); margin: 18px 20px 0; }
.about-row { text-decoration: none; color: var(--text); }
.about-row .label { flex: 1; } .about-row .chev { color: var(--text3); }

/* the scan bar (home) */
.scanbar { position: absolute; left: 0; right: 0; bottom: calc(var(--sab) + 18px); display: flex; justify-content: center; gap: 12px; pointer-events: none; z-index: 4; }
.scanbar button { pointer-events: auto; display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 22px; border-radius: 999px; font-size: 17px; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
.scanbar .sf { font-size: 22px; }
.scan-go { background: var(--tint); color: #fff; padding: 0 28px; }
.scan-photos { background: var(--glass); color: var(--tint); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), inset 0 0 0 0.5px var(--glass-edge); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .scan-go { color: #002623; } }
:root[data-theme="dark"] .scan-go { color: #002623; }
body.dragging .screen-body { outline: 3px dashed var(--tint); outline-offset: -10px; }

/* a document */
.doc-meta { padding: 6px 4px 2px; }
.doc-name { display: inline-flex; align-items: center; gap: 8px; font: 700 26px/1.15 var(--sys); letter-spacing: -0.02em; text-align: left; max-width: 100%; }
.doc-name > span { overflow: hidden; text-overflow: ellipsis; }
.doc-name .sf { font-size: 18px; color: var(--text3); flex: none; }
.doc-sub { color: var(--text2); font-size: 15px; margin-top: 2px; display: flex; align-items: center; flex-wrap: wrap; gap: 0 2px; }
.pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; margin-top: 16px; touch-action: pan-y; }
@media (min-width: 560px) { .pages { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { .pages { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.page-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; transition: transform 0.2s var(--ease); }
.page-pic { position: relative; display: block; width: 100%; aspect-ratio: 0.72; border-radius: 10px; background: color-mix(in srgb, var(--fill2) 55%, transparent); }
.page-img { position: absolute; inset: 0; margin: auto; max-width: calc(100% - 8px); max-height: calc(100% - 8px); width: auto; height: auto; display: block; border-radius: 3px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16), 0 0 0 0.5px rgba(0, 0, 0, 0.08); }
.page-num { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text2); font-variant-numeric: tabular-nums; }
.page-read { display: inline-grid; place-items: center; color: var(--tint); font-size: 12px; }
.page-tile.busy .page-img { opacity: 0.55; }
.page-tile.dragging { z-index: 5; transition: none; }
.page-tile.dragging .page-img { box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3); }
.page-tile.drop-here .page-pic { box-shadow: 0 0 0 3px var(--tint); }
.pages.reordering .page-tile:not(.dragging) { opacity: 0.8; }
.add-tile .add-ico { display: grid; place-items: center; width: 100%; aspect-ratio: 0.72; border-radius: 8px; border: 2px dashed color-mix(in srgb, var(--tint) 45%, transparent); color: var(--tint); font-size: 30px; }
.add-tile > span:last-child { font-size: 13px; color: var(--tint); font-weight: 600; }
.hint-line { color: var(--text2); font-size: 13px; text-align: center; margin: 10px 0 0; }
.doc-actions { display: grid; gap: 10px; margin-top: 24px; }
@media (min-width: 700px) { .doc-actions { grid-template-columns: 1fr 1fr; } }
.bar { display: block; height: 5px; border-radius: 3px; background: var(--fill); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--tint); border-radius: inherit; transition: width 0.3s; }
.spin { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--tint) 25%, transparent); border-top-color: var(--tint); animation: pbspin 0.8s linear infinite; }
.hstack .spin, .row .spin { position: static; margin: 0; width: 18px; height: 18px; border-width: 2.5px; flex: none; }
@keyframes pbspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 2.4s; } }

/* a page */
.page-wrap { display: flex; flex-direction: column; height: 100%; }
.page-screen .screen-body { display: flex; flex-direction: column; padding-bottom: 0; overflow: hidden; }
.pv { position: relative; flex: 1 1 auto; min-height: 220px; margin: 4px 16px 0; display: grid; place-items: center; touch-action: pan-y; }
.pv-img { max-width: 100%; max-height: 100%; position: absolute; inset: 0; margin: auto; object-fit: contain; width: 100%; height: 100%; filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.18)); -webkit-user-select: none; user-select: none; }
.pv.busy .pv-img { opacity: 0.6; transition: opacity 0.2s; }
.pv-nav { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); color: var(--text); box-shadow: var(--shadow), inset 0 0 0 0.5px var(--glass-edge); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); font-size: 18px; z-index: 2; }
.pv-nav.prev { left: -6px; } .pv-nav.next { right: -6px; }
.pv-nav:disabled { opacity: 0; pointer-events: none; }
.page-ctl { flex: none; padding: 12px 16px calc(var(--sab) + 12px); max-width: 720px; width: 100%; margin: 0 auto; overflow-y: auto; max-height: 52%; }
.page-ctl .segmented { width: 100%; height: 48px; border-radius: 24px; }
.page-ctl .segmented .seg, .page-ctl .segmented .seg-thumb { border-radius: 22px; }
.page-ctl .segmented .seg { font-size: 15px; }
.strength { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 0 4px; font-size: 15px; color: var(--text2); }
.strength input { flex: 1; accent-color: var(--tint); height: 44px; }
.tools { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin-top: 10px; }
.tool { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 2px; border-radius: 14px; color: var(--tint); font-size: 12px; font-weight: 500; }
.tool:active { background: var(--fill2); }
.tool-ico { width: 44px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--tint) 12%, transparent); font-size: 21px; }
.tool-t { display: flex; align-items: center; gap: 3px; white-space: nowrap; }
.pro-dot, .pro-tag { display: inline-block; padding: 0 4px; border-radius: 4px; font-size: 9px; font-weight: 800; letter-spacing: 0.04em; color: var(--tint); background: color-mix(in srgb, var(--tint) 16%, transparent); line-height: 14px; }
.pro-tag { font-size: 11px; padding: 1px 6px; line-height: 16px; }
.page-ctl .group { margin-top: 12px; }
@media (min-width: 900px) and (min-height: 560px) {
  .page-wrap { flex-direction: row; }
  .pv { margin: 8px 8px 24px 24px; }
  .page-ctl { max-height: none; width: 380px; flex: none; padding: 12px 24px 24px 12px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .page-wrap { flex-direction: row; }
  .pv { margin: 0 4px 12px max(16px, env(safe-area-inset-left)); min-height: 0; }
  .page-ctl { max-height: none; width: 330px; flex: none; padding: 0 max(12px, env(safe-area-inset-right)) calc(var(--sab) + 12px) 8px; }
  .tool-t { font-size: 11px; }
}

/* text, export */
.text-box { min-height: 160px; font-size: 15px; line-height: 1.45; width: 100%; resize: vertical; }
.export-actions { display: grid; gap: 10px; margin-top: 22px; }
.custom-row { gap: 8px; }
.custom-row .num-in { width: 70px; text-align: center; background: var(--fill2); border-radius: 8px; padding: 6px; }
.custom-row .segmented { width: 110px; flex: none; margin-left: auto; }

/* the camera */
.cam-cover .screen.cam-screen, .cam-screen { background: #000; padding-top: 0; }
.cam-screen .navbar { display: none; }
.cam-screen .screen-body { padding: 0; overflow: hidden; }
.cam { position: absolute; inset: 0; background: #000; color: #fff; overflow: hidden; }
.cam-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam-quad { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cam-quad polygon { fill: rgba(63, 208, 194, 0.18); stroke: #3fd0c2; stroke-width: 3; stroke-linejoin: round; transition: fill 0.2s, stroke 0.2s; }
.cam-quad[data-state="hold"] polygon { fill: rgba(63, 208, 194, 0.3); stroke: #7fffe9; }
.cam-quad[data-state="seek"] polygon { opacity: 0.4; }
.cam-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.cam-top { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 10px; padding: calc(var(--sat) + 10px) max(14px, env(safe-area-inset-right)) 10px max(14px, env(safe-area-inset-left)); background: linear-gradient(rgba(0, 0, 0, 0.45), transparent); }
.cam-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(40, 40, 40, 0.55); color: #fff; font-size: 20px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.cam-btn[aria-pressed="true"] { background: #ffd60a; color: #000; }
.cam-pill { height: 36px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(40, 40, 40, 0.55); color: #fff; font-size: 15px; font-weight: 600; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.cam-pill[aria-pressed="true"] { background: rgba(63, 208, 194, 0.9); color: #002623; }
.cam-hint { position: absolute; left: 50%; bottom: calc(var(--sab) + 140px); transform: translateX(-50%); padding: 8px 16px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); font-size: 15px; font-weight: 600; white-space: nowrap; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.cam-bottom { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px max(20px, env(safe-area-inset-right)) calc(var(--sab) + 22px) max(20px, env(safe-area-inset-left)); background: linear-gradient(transparent, rgba(0, 0, 0, 0.55)); }
.cam-side { display: flex; } .cam-side.end { justify-content: flex-end; }
.cam-shutter { position: relative; width: 78px; height: 78px; border-radius: 50%; border: 4px solid #fff; background: transparent; display: grid; place-items: center; }
.cam-shutter::before { content: ""; width: 62px; height: 62px; border-radius: 50%; background: #fff; transition: transform 0.12s; }
.cam-shutter:active::before { transform: scale(0.88); }
.cam-shutter:disabled { opacity: 0.35; }
.cam-ring { position: absolute; inset: -9px; border-radius: 50%; --p: 0; background: conic-gradient(#3fd0c2 calc(var(--p) * 360deg), transparent 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); }
.cam-thumb { position: relative; width: 54px; height: 70px; border-radius: 8px; overflow: visible; background: rgba(255, 255, 255, 0.15); box-shadow: 0 0 0 2px #fff; }
.cam-thumb[hidden] { display: none; }
.cam-thumb-img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.cam-thumb.waiting .cam-thumb-img { opacity: 0.4; }
.cam-count { position: absolute; top: -9px; right: -9px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #3fd0c2; color: #002623; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.cam-count:empty { display: none; }
.cam-save { height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; color: #000; font-size: 16px; font-weight: 700; }
.cam-save:disabled { opacity: 0.35; }
.cam-error { position: absolute; left: 24px; right: 24px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 15px; line-height: 21px; color: rgba(255, 255, 255, 0.82); }
.cam-error b { color: #fff; font-size: 19px; }
.cam-err-btn { margin-top: 8px; height: 48px; padding: 0 22px; border-radius: 999px; background: #3fd0c2; color: #002623; font-weight: 700; font-size: 17px; }
@media (orientation: landscape) and (max-height: 520px) {
  .cam-bottom { left: auto; top: 0; width: 120px; grid-template-columns: none; grid-template-rows: 1fr auto 1fr; justify-items: center; padding: calc(var(--sat) + 70px) max(16px, env(safe-area-inset-right)) 16px 8px; background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.5)); }
  .cam-side, .cam-side.end { justify-content: center; align-items: center; }
  .cam-hint { bottom: 18px; }
}

/* the corner editor and the signature screens */
.crop-cover .screen, .sign-cover .screen { background: var(--grouped); }
.crop-screen .screen-body, .sign-screen .screen-body { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 0; }
.crop { display: flex; flex-direction: column; height: 100%; padding: 0 0 calc(var(--sab) + 10px); }
.crop-stage, .place-stage { position: relative; flex: 1 1 auto; min-height: 200px; margin: 4px 16px 0; touch-action: none; -webkit-user-select: none; user-select: none; }
.crop-stage > .spin { display: none; } .crop-stage.loading > .spin { display: block; }
.crop-img:not([src]) { visibility: hidden; }
.crop-img, .place-img { position: absolute; display: block; border-radius: 4px; -webkit-user-drag: none; pointer-events: none; }
.crop-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.crop-shade { fill: rgba(0, 0, 0, 0.42); }
.crop-svg polygon { fill: none; stroke: #3fd0c2; stroke-width: 2.5; stroke-linejoin: round; }
.crop-svg.bad polygon { stroke: var(--red); }
.crop-handle { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; touch-action: none; cursor: grab; }
.crop-dot { width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); border: 3px solid #3fd0c2; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4); transition: transform 0.15s; }
.crop-handle.active .crop-dot, .crop-handle:focus-visible .crop-dot { transform: scale(1.25); background: rgba(63, 208, 194, 0.4); }
.crop-handle:focus-visible { outline: none; }
.crop-loupe { position: absolute; width: 120px; height: 120px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 6px 22px rgba(0, 0, 0, 0.45); pointer-events: none; z-index: 5; }
.crop-tip { color: var(--text2); font-size: 14px; text-align: center; margin: 10px 16px 0; }
.crop-tools { display: flex; justify-content: center; gap: 10px; margin-top: 8px; padding: 0 16px; flex-wrap: wrap; }
.crop-tool { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; background: color-mix(in srgb, var(--tint) 12%, transparent); color: var(--tint); font-weight: 600; font-size: 15px; }
.crop-tool:disabled { opacity: 0.5; }
.sign-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 12px 16px calc(var(--sab) + 16px); }
.sign-box { position: relative; width: min(100%, 720px); aspect-ratio: 2.6; background: #fff; border-radius: 18px; box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12); }
.sign-pad { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; color: #16161a; cursor: crosshair; border-radius: inherit; }
.sign-line { position: absolute; left: 8%; right: 8%; bottom: 26%; border-top: 1.5px solid #b9b9c3; pointer-events: none; }
.sign-x { position: absolute; left: 5%; bottom: 27%; color: #9a9aa6; font-size: 26px; pointer-events: none; }
.place-sig { position: absolute; border: 2px dashed #3fd0c2; border-radius: 6px; background: rgba(63, 208, 194, 0.08); touch-action: none; cursor: move; }
.place-sig img { width: 100%; height: 100%; display: block; pointer-events: none; }
.place-sig:focus-visible { outline: 3px solid var(--tint); outline-offset: 2px; }
.place-grip { position: absolute; right: -22px; bottom: -22px; width: 44px; height: 44px; border-radius: 50%; touch-action: none; cursor: nwse-resize; }
.place-grip::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #3fd0c2; border: 3px solid #fff; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35); }

/* Send to another app: each app's own icon, what it does, which app */
.app-link { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; padding: 2px 0; }
.app-ico { width: 32px; height: 32px; flex: none; border-radius: 8px; box-shadow: 0 0 0 0.5px var(--sep); background: var(--fill2); }
.app-ico.none { display: grid; place-items: center; color: var(--tint); font-size: 18px; }
.app-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; text-align: left; }
.app-title { font-size: 17px; color: var(--text); }
.app-sub { font-size: 13px; color: var(--text2); line-height: 1.3; }
.row.is-busy { opacity: 0.7; pointer-events: none; }
.send-wait { position: relative; height: 120px; }
.doc-thumb.sm { width: 34px; height: 44px; border-radius: 5px; }
.returned-file { display: flex; align-items: center; gap: 14px; margin: 4px 16px 18px; padding: 14px 16px; border-radius: 14px; background: var(--row); box-shadow: 0 0 0 0.5px var(--sep); }
.rf-ico { display: grid; place-items: center; width: 44px; height: 52px; flex: none; border-radius: 8px; background: color-mix(in srgb, var(--tint) 14%, transparent); color: var(--tint); font-size: 26px; }
.rf-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rf-t b { font-size: 16px; overflow-wrap: anywhere; }
.rf-t span { font-size: 13px; }
