.remote-backup-page {
  --backup-canvas:var(--bv-dashboard-canvas,#1a1c1d);
  --backup-surface:var(--bv-dashboard-surface,#252728);
  --backup-bar:var(--bv-dashboard-tab-bar,#242526);
  --backup-line:var(--bv-dashboard-divider,#383d44);
  --backup-ink:#f5f6f8;
  --backup-muted:#b4bac3;
  --backup-accent:#84c5ff;
  position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;
  margin:0;padding:0;border:0;overflow:auto;overscroll-behavior:contain;
  background:var(--backup-canvas);color:var(--backup-ink);color-scheme:dark;
  font:15px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
.remote-backup-page[open] {display:block}
.remote-backup-page * {box-sizing:border-box}
.remote-backup-page [hidden] {display:none!important}
.remote-shell {min-height:100%;padding-bottom:env(safe-area-inset-bottom)}
.remote-header {
  position:sticky;top:0;z-index:2;padding-top:env(safe-area-inset-top);
  background:var(--backup-bar);border-bottom:1px solid var(--backup-line);
}
.remote-header-inner {
  display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;
  width:min(100%,900px);min-height:62px;margin:auto;padding:0 22px;gap:12px;
}
.remote-backup-page :is(h1,h2,h3,p) {margin:0}
.remote-header h1 {font-size:18px;font-weight:660;line-height:1.2;text-align:center;letter-spacing:-.015em}
.remote-backup-page p {color:var(--backup-muted)}
.remote-main {width:min(100%,900px);margin:auto;padding:28px 24px 40px}
.remote-backup-page button {
  min-height:44px;padding:8px 12px;border:0;border-radius:6px;
  background:transparent;color:inherit;font:inherit;cursor:pointer;
}
.remote-backup-page button:hover {background:#ffffff0c}
.remote-backup-page button:disabled {opacity:.45;cursor:default}
.remote-backup-page :is(button,input,summary):focus-visible {
  outline:2px solid var(--backup-accent);outline-offset:2px;
  scroll-margin:76px 0 112px;
}
.remote-backup-page .remote-icon-button {display:grid;place-items:center;width:44px;padding:0}
.remote-summary {
  display:grid;grid-template-columns:48px minmax(0,1fr);gap:16px;
  padding:23px;background:var(--backup-surface);border-radius:12px;
}
.remote-summary-icon {
  display:grid;place-items:center;width:48px;height:48px;border-radius:8px;
  background:#ffffff0b;color:var(--backup-accent);
}
.remote-summary-icon svg {width:25px;height:25px}
.remote-summary-copy {min-width:0}
.remote-route {
  display:flex;align-items:center;gap:7px;margin:0 0 5px;
  color:var(--backup-muted);font-size:12px;font-weight:550;
}
.remote-route.is-active::before {content:'';width:6px;height:6px;border-radius:50%;background:var(--backup-accent)}
.remote-status-line {display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.remote-status-line h2 {font-size:clamp(19px,3.5vw,26px);line-height:1.18;font-weight:660;letter-spacing:-.025em}
.remote-status-line strong {color:var(--backup-accent);font-variant-numeric:tabular-nums}
.remote-backup-page progress {
  display:block;width:100%;height:5px;margin:13px 0 8px;border:0;
  border-radius:4px;overflow:hidden;accent-color:var(--backup-accent);background:var(--backup-line)
}
.remote-backup-page progress::-webkit-progress-bar {background:var(--backup-line)}
.remote-backup-page progress::-webkit-progress-value {background:var(--backup-accent);border-radius:4px}
.remote-summary p {margin-top:6px;font-size:13px;line-height:1.5}
.remote-summary p:empty {display:none}
.remote-summary .remote-status-detail {color:var(--backup-ink)}
.remote-tabs {
  display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:4px;
  margin:23px 0 25px;padding:4px;background:var(--backup-bar);
  border:1px solid var(--backup-line);border-radius:9px;
}
.remote-backup-page .remote-tabs button {padding:6px 4px;color:var(--backup-muted);font-size:13px;font-weight:600}
.remote-backup-page .remote-tabs button[aria-selected=true] {background:#f5f6f8;color:#17191a}
.remote-tabs [data-rb=queue-count] {
  display:inline-block;margin-left:1px;padding:0 5px;
  background:#80808030;border-radius:4px;font-size:11px;font-variant-numeric:tabular-nums;
}
.remote-backup-page[data-source=usb] .remote-summary {margin-bottom:26px}
.remote-section-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.remote-section-heading h2 {font-size:19px;font-weight:660;letter-spacing:-.018em}
.remote-section-heading p {margin-top:4px;font-size:13px}
.remote-backup-page .remote-text-button {color:var(--backup-accent);font-weight:600;font-size:13px}
.remote-drive-list {display:grid;gap:8px}
.remote-backup-page details {border-radius:8px;background:var(--backup-surface)}
.remote-backup-page summary {
  display:flex;align-items:center;gap:12px;min-height:72px;padding:12px 15px;
  border-radius:inherit;list-style:none;cursor:pointer;
}
.remote-backup-page summary:hover {background:#ffffff05}
.remote-backup-page summary::-webkit-details-marker {display:none}
.remote-drive-copy,.remote-clip-copy,.remote-history-item>div,.remote-selection-copy {
  display:grid;gap:3px;flex:1;min-width:0;
}
.remote-drive-copy strong,.remote-history-item strong {font-weight:650}
.remote-drive-copy>span,.remote-clip-copy>span,.remote-history-item div>span,.remote-selection-copy>span {
  color:var(--backup-muted);font-size:12px
}
.remote-chevron {display:grid;place-items:center;flex:none;color:var(--backup-muted)}
.remote-chevron svg {width:16px;height:16px;transition:transform .15s}
.remote-backup-page details[open] .remote-chevron svg {transform:rotate(180deg)}
.remote-backup-page .remote-remove {font-size:12px;color:var(--backup-muted);padding:6px;flex:none}
.remote-backup-page .remote-remove:hover {color:#ffb6ba;background:#e7404915}
.remote-checkbox {display:grid;place-items:center;width:36px;min-height:44px;flex:none;cursor:pointer}
.remote-checkbox>span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.remote-backup-page input[type=checkbox] {width:20px;height:20px;margin:0;accent-color:var(--backup-accent);cursor:pointer}
.remote-clip {
  display:flex;align-items:center;gap:10px;min-height:64px;padding:8px 15px;
  border-top:1px solid var(--backup-line);
}
.remote-clip-copy>strong {font-size:14px;font-weight:600}
.remote-clip-state {font-size:11px;color:var(--backup-muted);max-width:110px;text-align:right}
.remote-backup-page p.remote-footnote {font-size:12px;margin-top:14px}
.remote-backup-page p.remote-footnote:empty,.remote-drive-list:has(.remote-empty) + .remote-footnote {display:none}
.remote-empty {
  display:grid;grid-template-columns:38px minmax(0,1fr);align-items:start;column-gap:12px;row-gap:3px;
  padding:19px;border:1px solid var(--backup-line);border-radius:8px;
}
.remote-empty-mark {grid-row:1 / span 3;display:grid;place-items:center;width:38px;height:38px;color:var(--backup-muted)}
.remote-empty-mark svg {width:22px;height:22px}
.remote-empty h3 {font-size:15px;font-weight:650}
.remote-empty p {font-size:13px;line-height:1.5}
.remote-backup-page .remote-primary {background:#f5f6f8;color:#17191a;font-weight:650}
.remote-backup-page .remote-primary:hover {background:#dfe7ef}
.remote-backup-page .remote-empty .remote-primary {
  justify-self:start;margin-top:4px;padding:6px 0;background:transparent;color:var(--backup-accent);font-size:13px
}
.remote-history-item {
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:16px 4px;border-bottom:1px solid var(--backup-line)
}
.remote-complete-badge {color:var(--backup-accent);font-size:12px;flex:none}
.remote-selection-bar {
  position:fixed;bottom:0;left:0;right:0;z-index:3;
  background:var(--backup-bar);border-top:1px solid var(--backup-line);
  padding:12px 24px calc(12px + env(safe-area-inset-bottom));
}
.remote-selection-inner {max-width:852px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:16px}
.remote-selection-copy strong {font-size:14px;font-weight:650}
.remote-selection-actions button {font-size:14px}
.remote-backup-page.has-selection .remote-main {padding-bottom:126px}
.remote-error {
  display:flex;justify-content:space-between;align-items:flex-start;gap:10px;
  margin:14px 0;padding:12px 14px;border:1px solid #825057;border-radius:8px;background:#3a272a;
}
.remote-error strong,.remote-error p {color:#ffc4c8;font-size:13px}
.remote-error button {display:grid;place-items:center;flex:none;width:36px;padding:0}
@media(max-width:580px) {
  .remote-header-inner {min-height:55px;padding:0 10px}
  .remote-main {padding:17px 15px 26px}
  .remote-summary {grid-template-columns:38px minmax(0,1fr);gap:11px;padding:16px}
  .remote-summary-icon {width:38px;height:38px}
  .remote-summary-icon svg {width:22px;height:22px}
  .remote-tabs {margin:18px 0 20px}
  .remote-backup-page summary,.remote-clip {gap:8px;padding-right:10px;padding-left:10px}
  .remote-clip-state {max-width:68px}
  .remote-selection-bar {padding-inline:15px}
  .remote-selection-inner {align-items:stretch;flex-direction:column;gap:8px}
  .remote-selection-copy {display:flex;justify-content:space-between;align-items:baseline}
  .remote-selection-actions button {width:100%}
  .remote-backup-page.has-selection .remote-main {padding-bottom:calc(130px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce) {.remote-chevron svg {transition:none}}
