:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #f9fbff;
  --text: #172033;
  --muted: #637083;
  --line: #dfe5ee;
  --blue: #2563eb;
  --blue-dark: #1747b0;
  --blue-soft: #eef4ff;
  --green: #157347;
  --green-soft: #edf9f2;
  --orange: #e87918;
  --danger: #b42318;
  --shadow: 0 18px 55px rgba(25, 42, 70, 0.09);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.07), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.site-header {
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner,
.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, #2563eb, #12a4dc);
  box-shadow: 0 8px 20px rgba(37, 99, 235, .24);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-link,
.header-button {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.header-link {
  color: var(--muted);
}

.header-button {
  color: white;
  background: var(--blue);
  border-radius: 10px;
  padding: 10px 14px;
}

.page-shell {
  padding: 56px 0 72px;
}

.hero {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid #ccebd9;
  border-radius: 999px;
  padding: 7px 11px;
  font-weight: 750;
  font-size: 13px;
}

h1 {
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin: 18px 0 14px;
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  margin: 0 auto;
  max-width: 700px;
}

.trust-row {
  margin: 20px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #425066;
  font-size: 14px;
  font-weight: 650;
}

.trust-item::before {
  content: "✓";
  color: var(--green);
  margin-right: 6px;
  font-weight: 900;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tool-card {
  padding: clamp(20px, 4vw, 32px);
}

.step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.step-number {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 800;
  flex: 0 0 auto;
}

.step-title {
  margin: 0;
  font-size: 18px;
}

.drop-zone {
  border: 2px dashed #abc1e5;
  background: var(--surface-soft);
  border-radius: 15px;
  padding: 32px 18px;
  text-align: center;
  transition: .18s ease;
  cursor: pointer;
}

.drop-zone:hover,
.drop-zone.is-dragging {
  border-color: var(--blue);
  background: var(--blue-soft);
  transform: translateY(-1px);
}

.drop-icon {
  font-size: 34px;
  margin-bottom: 8px;
}

.drop-title {
  font-weight: 800;
  margin-bottom: 4px;
}

.drop-sub {
  color: var(--muted);
  font-size: 14px;
}

.primary-button,
.secondary-button,
.text-button {
  border: 0;
  cursor: pointer;
}

.primary-button {
  margin-top: 15px;
  border-radius: 11px;
  background: var(--blue);
  color: white;
  font-weight: 800;
  padding: 12px 17px;
}

.primary-button:hover {
  background: var(--blue-dark);
}

.primary-button[disabled] {
  opacity: .48;
  cursor: not-allowed;
}

.file-section {
  margin-top: 28px;
}

.file-list {
  display: grid;
  gap: 9px;
}

.file-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  background: white;
}

.file-row[draggable="true"] {
  cursor: grab;
}

.file-row.dragging {
  opacity: .45;
}

.drag-handle {
  color: #8c98aa;
  user-select: none;
  font-weight: 900;
}

.file-info {
  min-width: 0;
}

.file-name {
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-meta {
  color: var(--muted);
  font-size: 12px;
}

.remove-button {
  border: 0;
  background: #fff2f0;
  color: var(--danger);
  border-radius: 9px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-weight: 900;
}

.empty-files {
  color: var(--muted);
  border: 1px solid var(--line);
  background: #fbfcfe;
  border-radius: 12px;
  padding: 15px;
  font-size: 14px;
}

.action-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

.merge-button {
  margin: 0;
  background: var(--orange);
}

.merge-button:hover {
  background: #c7600b;
}

.secondary-button {
  border: 1px solid var(--line);
  color: #425066;
  background: white;
  border-radius: 11px;
  padding: 11px 15px;
  font-weight: 750;
}

.status {
  min-height: 24px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 14px;
}

.status.success {
  color: var(--green);
  font-weight: 700;
}

.status.error {
  color: var(--danger);
  font-weight: 700;
}

.download-card {
  display: none;
  margin-top: 18px;
  padding: 16px;
  border-radius: 13px;
  background: var(--green-soft);
  border: 1px solid #ccebd9;
}

.download-card.visible {
  display: block;
}

.download-card strong {
  display: block;
  margin-bottom: 4px;
}

.download-link {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: white;
  background: var(--green);
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 800;
}

.side-stack {
  display: grid;
  gap: 16px;
}

.side-card {
  padding: 20px;
}

.side-card h2,
.side-card h3 {
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.side-card p {
  color: var(--muted);
  margin: 0 0 13px;
  font-size: 14px;
}

.premium-card {
  background:
    linear-gradient(145deg, rgba(37,99,235,.96), rgba(24,76,176,.96)),
    white;
  color: white;
  border: none;
}

.premium-card p {
  color: rgba(255,255,255,.84);
}

.premium-link {
  display: inline-block;
  text-decoration: none;
  background: white;
  color: var(--blue-dark);
  font-weight: 850;
  border-radius: 10px;
  padding: 10px 13px;
}

.mini-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.mini-list li + li {
  margin-top: 7px;
}

.info-tabs {
  margin-top: 28px;
  overflow: hidden;
}

.tab-buttons {
  padding: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}

.tab-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 9px;
  padding: 9px 12px;
  font-weight: 750;
  cursor: pointer;
}

.tab-button.active {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.tab-panel {
  display: none;
  padding: 20px 22px 24px;
  color: #48566b;
  font-size: 14px;
}

.tab-panel.active {
  display: block;
}

.tab-panel h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 19px;
}

.tab-panel p:last-child {
  margin-bottom: 0;
}

.privacy-callout {
  padding: 12px 14px;
  border-left: 4px solid var(--green);
  background: var(--green-soft);
  border-radius: 0 10px 10px 0;
}

.footer-note {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 28px;
}

@media (max-width: 860px) {
  .workspace-grid {
    grid-template-columns: 1fr;
  }

  .side-stack {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .header-inner {
    min-height: 62px;
  }

  .header-link {
    display: none;
  }

  .page-shell {
    padding-top: 34px;
  }

  .side-stack {
    grid-template-columns: 1fr;
  }

  .tool-card {
    padding: 18px;
  }

  .trust-row {
    display: grid;
    justify-content: start;
    width: fit-content;
    text-align: left;
  }
}


/* ==========================================================
   FILESSTAYLOCAL — COMPACT BROWSER TOOL UX V2
   Desktop goal: primary action visible without scrolling.
   ========================================================== */

@media (min-width: 861px) {

  .header-inner,
  .page-shell {
    width: min(1380px, calc(100% - 40px));
  }

  .header-inner {
    min-height: 60px;
  }

  .page-shell {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .hero {
    max-width: 1100px;
    margin-bottom: 18px;
  }

  .eyebrow {
    padding: 5px 10px;
    font-size: 12px;
  }

  h1 {
    font-size: 44px;
    margin: 10px 0 7px;
  }

  .hero-copy {
    max-width: none;
    font-size: 17px;
    white-space: nowrap;
  }

  .trust-row {
    margin-top: 10px;
    gap: 24px;
    font-size: 13px;
  }

  .workspace-grid {
    grid-template-columns: minmax(0, 1fr) 275px;
    gap: 18px;
  }

  .tool-card {
    padding: 20px 24px;
  }

  .step-head {
    margin-bottom: 8px;
    gap: 9px;
  }

  .step-number {
    width: 27px;
    height: 27px;
    font-size: 13px;
  }

  .step-title {
    font-size: 17px;
  }

  .drop-zone {
    padding: 17px 16px;
    min-height: 132px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .drop-icon {
    font-size: 25px;
    margin-bottom: 3px;
  }

  .drop-title {
    line-height: 1.2;
  }

  .drop-sub {
    margin-top: 2px;
    line-height: 1.2;
  }

  .drop-zone .primary-button {
    margin-top: 9px;
    padding: 9px 15px;
  }

  .file-section {
    margin-top: 17px;
  }

  .empty-files {
    padding: 10px 12px;
  }

  .file-list {
    gap: 6px;
  }

  .file-row {
    padding: 7px 10px;
  }

  .action-row {
    margin-top: 14px;
  }

  .action-row .primary-button,
  .action-row .secondary-button {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .status {
    margin-top: 8px;
    min-height: 18px;
  }

  .side-stack {
    gap: 12px;
  }

  .side-card {
    padding: 17px;
  }

  .side-card h2 {
    font-size: 20px;
  }

  .side-card h3 {
    font-size: 16px;
  }

  .premium-card p {
    margin-bottom: 10px;
    line-height: 1.4;
  }

  .premium-link {
    padding: 8px 11px;
  }

  .privacy-inline {
    margin: 0 !important;
    line-height: 1.5;
  }

  .info-tabs {
    margin-top: 18px;
  }

  .tab-panel {
    padding: 15px 20px 18px;
  }

  .footer-note {
    margin-top: 18px;
  }
}


/* Medium laptop optimisation */
@media (min-width: 861px) and (max-height: 850px) {

  .page-shell {
    padding-top: 15px;
  }

  .hero {
    margin-bottom: 12px;
  }

  h1 {
    font-size: 39px;
    margin: 7px 0 5px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .trust-row {
    margin-top: 7px;
  }

  .tool-card {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .drop-zone {
    min-height: 112px;
    padding: 12px 14px;
  }

  .file-section {
    margin-top: 13px;
  }

  .action-row {
    margin-top: 10px;
  }
}

/* ==========================================================
   FILESSTAYLOCAL SIDE CARD REFINEMENT V2
   ========================================================== */

.desktop-preference {
  margin: 0 0 5px !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 750;
  line-height: 1.3;
}

.desktop-benefits {
  margin: 0 0 11px !important;
  color: rgba(255,255,255,.86) !important;
  font-size: 13px !important;
  line-height: 1.35;
}

.privacy-card h3 {
  margin-bottom: 7px;
}

.privacy-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.privacy-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}

.privacy-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}

@media (min-width: 861px) {

  .privacy-list li {
    white-space: nowrap;
  }

  .premium-card,
  .privacy-card {
    min-height: 0;
  }
}


/* ==========================================================
   FILESSTAYLOCAL APPROVED MERGE PDF UX V3
   Approved visual structure.
   Existing site header/navigation remains untouched.
   ========================================================== */

.approved-tool-layout {
  width: min(1420px, calc(100% - 48px));
  padding-top: 24px;
  padding-bottom: 48px;
}


/* ---------- INTRO ---------- */

.tool-intro {
  margin-bottom: 18px;
}

.tool-intro h1 {
  margin: 0 0 4px;
  font-size: clamp(42px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.approved-hero-copy {
  max-width: none;
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.approved-hero-copy strong {
  color: #0757c9;
}

.approved-trust-row {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-top: 14px;
  font-size: 14px;
  color: #43516a;
  font-weight: 650;
}

.approved-trust-item {
  position: relative;
  padding-left: 25px;
}

.approved-trust-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef4ff;
  color: #0860d8;
  font-weight: 900;
  font-size: 12px;
}


/* ---------- WORKSPACE ---------- */

.approved-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 355px;
  gap: 28px;
  align-items: start;
}

.approved-tool-card {
  padding: 18px 24px 20px;
}

.approved-step-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.approved-step-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.approved-step-left h2 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.approved-step-note {
  color: #69768b;
  font-size: 13px;
  white-space: nowrap;
}


/* ---------- ADD FILES ---------- */

.approved-drop-zone {
  min-height: 96px;
  padding: 14px 24px;
  border: 2px dashed #b7c9e8;
  background: #fbfdff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  transition: .18s ease;
}

.approved-drop-zone:hover,
.approved-drop-zone.is-dragging {
  border-color: #2563eb;
  background: #f2f7ff;
}

.approved-drop-copy {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.approved-pdf-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #fff2f2;
  color: #ef4444;
  font-size: 12px;
  font-weight: 900;
}

.approved-drop-title {
  color: #172033;
  font-size: 17px;
  font-weight: 800;
}

.approved-drop-sub {
  margin-top: 2px;
  color: #66748a;
  font-size: 14px;
}

.approved-drop-sub span {
  color: #0757c9;
  font-weight: 750;
}

.approved-choose-button {
  border: 0;
  border-radius: 10px;
  padding: 13px 20px;
  background: #1768ed;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 7px 18px rgba(23,104,237,.18);
}

.approved-choose-button:hover {
  background: #0958da;
}

.approved-plus {
  margin-right: 7px;
  font-size: 18px;
}


/* ---------- ARRANGE ---------- */

.approved-arrange-section {
  margin-top: 16px;
}

.approved-arrange-heading {
  margin-bottom: 8px;
}

.approved-file-list {
  gap: 0;
  border: 1px solid #dfe5ee;
  border-radius: 12px;
  overflow: hidden;
}

.approved-file-list .empty-files {
  border: 0;
  border-radius: 0;
  margin: 0;
  padding: 11px 13px;
}

.approved-file-list .file-row {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #e2e7ef;
  padding: 8px 11px;
}

.approved-file-list .file-row:last-child {
  border-bottom: 0;
}


/* ---------- MERGE ACTION ---------- */

.approved-merge-section {
  margin-top: 16px;
}

.approved-merge-heading {
  margin-bottom: 8px;
}

.approved-merge-button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  background: #08aa69;
  color: white;
  font-size: 17px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(8,170,105,.16);
}

.approved-merge-button:hover:not(:disabled) {
  background: #078c58;
}

.approved-merge-button:disabled {
  opacity: .46;
  cursor: not-allowed;
}

.approved-clear-button {
  display: none;
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: #657187;
  font-size: 13px;
  cursor: pointer;
}

.approved-clear-button:not(:disabled) {
  display: inline-block;
}

.approved-download-card {
  margin-top: 12px;
}


/* ---------- RIGHT SIDE ---------- */

.approved-side-stack {
  display: grid;
  gap: 18px;
}

.approved-premium-card {
  min-height: 278px;
  padding: 28px 28px 26px;
  border-radius: 18px;
  color: white;
  background:
    radial-gradient(circle at top left, rgba(36,140,255,.75), transparent 55%),
    linear-gradient(145deg, #0969dd, #062f89);
  box-shadow: 0 18px 45px rgba(11,61,142,.18);
}

.approved-desktop-icon {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 18px;
  color: white;
}

.approved-premium-card h2 {
  margin: 0 0 14px;
  font-size: 27px;
  letter-spacing: -0.03em;
}

.approved-premium-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: white;
}

.approved-premium-card p {
  margin: 0 0 18px;
  color: rgba(255,255,255,.88);
  font-size: 15px;
  line-height: 1.45;
}

.approved-desktop-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  background: white;
  color: #132d61;
  text-decoration: none;
  font-weight: 850;
}

.approved-desktop-button:hover {
  background: #f1f6ff;
}


/* ---------- PRIVACY CARD ---------- */

.approved-privacy-card {
  padding: 24px 28px;
}

.approved-privacy-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 15px;
}

.approved-privacy-heading h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.approved-shield {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px 11px 14px 14px;
  background: #e9faf2;
  color: #08a563;
  font-weight: 950;
  font-size: 20px;
}

.approved-privacy-list {
  gap: 10px;
}

.approved-privacy-list li {
  font-size: 15px;
  color: #29364b;
}


/* ---------- DETAILS BELOW TOOL ---------- */

.approved-info-tabs {
  margin-top: 24px;
}

.approved-info-tabs .tab-buttons {
  padding-left: 16px;
  padding-right: 16px;
}

.approved-info-tabs .tab-panel {
  padding: 17px 24px 20px;
}


/* ---------- STANDARD LAPTOP ---------- */

@media (min-width: 861px) and (max-height: 900px) {

  .approved-tool-layout {
    padding-top: 18px;
  }

  .tool-intro {
    margin-bottom: 13px;
  }

  .tool-intro h1 {
    font-size: 48px;
  }

  .approved-hero-copy {
    font-size: 17px;
  }

  .approved-trust-row {
    margin-top: 9px;
  }

  .approved-tool-card {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .approved-drop-zone {
    min-height: 82px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .approved-arrange-section,
  .approved-merge-section {
    margin-top: 12px;
  }

  .approved-premium-card {
    min-height: 250px;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .approved-desktop-icon {
    margin-bottom: 12px;
  }
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 1050px) {

  .approved-workspace {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
  }

  .approved-tool-layout {
    width: min(1180px, calc(100% - 32px));
  }

  .approved-step-note {
    display: none;
  }
}


@media (max-width: 860px) {

  .approved-tool-layout {
    width: min(100% - 28px, 720px);
  }

  .approved-workspace {
    grid-template-columns: 1fr;
  }

  .approved-trust-row {
    gap: 14px;
    flex-wrap: wrap;
  }

  .approved-drop-zone {
    flex-direction: column;
    align-items: stretch;
  }

  .approved-choose-button {
    width: 100%;
  }

  .approved-side-stack {
    grid-template-columns: 1fr;
  }

  .approved-premium-card {
    min-height: 0;
  }
}


@media (max-width: 560px) {

  .tool-intro h1 {
    font-size: 40px;
  }

  .approved-hero-copy {
    font-size: 16px;
  }

  .approved-trust-row {
    display: grid;
  }

  .approved-tool-card {
    padding: 16px;
  }

  .approved-drop-copy {
    align-items: flex-start;
  }

  .approved-step-left h2 {
    font-size: 18px;
  }
}


/* ==========================================================
   FILESSTAYLOCAL APPROVED SVG ICONS V1
   Fully local / inline — no external icon service.
   ========================================================== */

.approved-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 0 !important;
}

.approved-trust-item::before {
  display: none !important;
}

.approved-trust-item svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #0757c9;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.approved-pdf-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff1f1;
}

.approved-pdf-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: #ef3f46;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.approved-desktop-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.approved-desktop-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.approved-shield {
  display: grid;
  place-items: center;
}

.approved-shield svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #08a563;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.approved-plus {
  display: inline-grid;
  place-items: center;
  vertical-align: middle;
  margin-right: 7px;
}

.approved-plus svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.approved-merge-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.approved-merge-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ==========================================================
   FILESSTAYLOCAL SMOOTH REORDER V1
   Clear animated insertion feedback while dragging files.
   ========================================================== */

.approved-file-list .file-row {
  position: relative;
  transition:
    margin 160ms ease,
    transform 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}

.approved-file-list .file-row[draggable="true"] {
  cursor: grab;
}

.approved-file-list .file-row.dragging {
  cursor: grabbing;
  opacity: .48;
  background: #f4f7fc;
}

.approved-file-list .file-row.drag-over-before {
  margin-top: 14px;
  background: #f7faff;
}

.approved-file-list .file-row.drag-over-after {
  margin-bottom: 14px;
  background: #f7faff;
}

.approved-file-list .file-row.drag-over-before::before,
.approved-file-list .file-row.drag-over-after::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  height: 3px;
  border-radius: 999px;
  background: #2563eb;
  box-shadow:
    0 0 0 4px rgba(37, 99, 235, .10);
  pointer-events: none;
}

.approved-file-list .file-row.drag-over-before::before {
  top: -9px;
}

.approved-file-list .file-row.drag-over-after::after {
  bottom: -9px;
}

.approved-file-list .file-row.drag-over-before,
.approved-file-list .file-row.drag-over-after {
  transform: scale(.995);
}

.drag-handle {
  transition:
    color 150ms ease,
    transform 150ms ease;
}

.file-row:hover .drag-handle {
  color: #2563eb;
}

.file-row.dragging .drag-handle {
  transform: scale(1.12);
  color: #2563eb;
}



/* ==========================================================
   FILESSTAYLOCAL OPAQUE DRAG ROW V2
   Removes translucent browser ghost and supplies our own row.
   ========================================================== */

.approved-file-list .file-row.dragging {
  visibility: hidden;
  opacity: 1 !important;
}

.floating-drag-row {
  position: fixed !important;
  z-index: 99999;
  margin: 0 !important;

  background: #ffffff !important;
  border: 1px solid #cbd8ea !important;
  border-radius: 11px !important;

  opacity: 1 !important;
  visibility: visible !important;

  pointer-events: none !important;
  cursor: grabbing;

  box-shadow:
    0 16px 34px rgba(24, 42, 72, .18),
    0 4px 10px rgba(24, 42, 72, .10);

  transform: scale(1.01);
}

.floating-drag-row::before,
.floating-drag-row::after {
  display: none !important;
}

.floating-drag-row .remove-button {
  opacity: .45;
}

.approved-file-list .file-row.drag-over-before,
.approved-file-list .file-row.drag-over-after {
  transition:
    margin 135ms ease,
    background-color 135ms ease,
    transform 135ms ease;
}


/* ==========================================================
   FILESSTAYLOCAL NEW MERGE WORKFLOW V1
   ========================================================== */

.approved-result-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.approved-result-actions .download-link {
  margin-top: 0;
}

.approved-new-merge-button {
  border: 1px solid #b9d9c8;
  background: #ffffff;
  color: #157347;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
}

.approved-new-merge-button:hover {
  background: #f4fbf7;
}


/* ==========================================================
   FILESSTAYLOCAL BROWSER TOOL FORMS V2
   ========================================================== */

.browser-text-input,
.browser-select {
  width: 100%;
  border: 1px solid #d7e0eb;
  border-radius: 11px;
  background: #fbfcfe;
  padding: 13px 14px;
  color: #172033;
  font-size: 15px;
}

.browser-text-input:focus,
.browser-select:focus {
  outline: 2px solid rgba(37,99,235,.15);
  border-color: #2563eb;
}

.browser-selected-file {
  margin-top: 10px;
  border: 1px solid #dfe5ee;
  border-radius: 11px;
  background: #fbfcfe;
  padding: 9px 12px;
}

.browser-selected-file strong {
  display: block;
  font-size: 14px;
}

.browser-selected-file span {
  color: var(--muted);
  font-size: 12px;
}


/* ==========================================================
   FILESSTAYLOCAL BROWSER TOOL PARITY V1
   ========================================================== */

.approved-image-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #eef5ff;
}

.approved-image-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: #2563eb;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Maintain compact approved tool footprint */
.browser-selected-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.browser-selected-file[hidden] {
  display: none;
}

.browser-selected-file strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-selected-file span {
  white-space: nowrap;
}

/* Match Merge PDF action emphasis */
.approved-tool-card .approved-merge-button {
  min-height: 52px;
}

/* Avoid excessive vertical growth */
@media (min-width: 861px) {
  .approved-tool-card {
    min-height: 0;
  }

  .browser-selected-file {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

