/* ============================================================
   Concordia — DocuSign-style shared theme (concordia.css)
   Rebuild: concordia-rebrand-20261110
   Used by: index.html (home/creator), dashboard.html (templates),
            sign.html (customer signing flow)
   Design language: clean white SaaS; Concordia blue gradient
   (#2563eb-family) + dark navy wordmark, light gray page
   background, cards with subtle borders. Orange retained for
   action CTAs. (Renamed to concordia.css 2026-11-12.)
   ============================================================ */

:root {
  /* Concordia palette (matches brand logo) */
  --orange:        #ff6622;   /* signature orange (retained for CTAs) */
  --orange-dark:   #e8550c;
  --orange-soft:   #fff1e8;
  --orange-ring:   rgba(255, 102, 34, .28);
  --concordia-blue:  #2563eb; /* primary brand blue (from logo gradient) */
  --concordia-deep:  #1e40af;
  --concordia-navy:  #0f2450; /* dark navy wordmark */
  --concordia-soft:  #e7efff; /* light blue field tint */
  --concordia-gradient: linear-gradient(150deg, #1e3a8a 0%, #2563eb 55%, #3b82f6 100%);
  --blue:          #2563eb;   /* link / action blue */
  --blue-dark:     #1e40af;
  --blue-soft:     #e7efff;
  --green:         #157a3a;
  --green-soft:    #e5f4ea;
  --red:           #d93025;
  --red-soft:      #fdecea;
  --amber:         #d97706;
  --amber-soft:    #fdf3e3;
  --ink:           #1f2532;   /* primary text */
  --ink-soft:      #454b57;
  --muted:         #6b7280;   /* secondary text */
  --line:          #e1e4e9;   /* hairline border */
  --line-strong:   #d0d5dd;
  --page:          #f5f6f8;   /* page background */
  --card:          #ffffff;
  --thumb:         #eef1f5;   /* template thumbnail area */

  --radius:        8px;
  --radius-lg:     10px;
  --shadow-card:   0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow-pop:    0 12px 32px rgba(16, 24, 40, .16), 0 2px 6px rgba(16, 24, 40, .08);
  --shadow-lift:   0 8px 20px rgba(16, 24, 40, .10), 0 2px 4px rgba(16, 24, 40, .06);

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font: 15px/1.5 var(--font);
  background: var(--page);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }

/* ------------------------------------------------------------ top nav */
.ss-nav {
  position: sticky; top: 0; z-index: 900;
  display: flex; align-items: center; gap: 28px;
  height: 60px; padding: 0 24px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.ss-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.ss-brand:hover { text-decoration: none; }
.ss-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--concordia-gradient);
  color: #fff; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: -1px;
}
.ss-word { font-size: 17px; font-weight: 700; letter-spacing: .1px; }
.ss-logo { height: 34px; width: auto; border-radius: 4px; display: block; }

.ss-word small { color: var(--muted); font-weight: 500; font-size: 11px; display: block; line-height: 1; margin-top: 1px; }

.ss-tabs { display: flex; align-self: stretch; gap: 2px; flex: 1; }
.ss-tab {
  display: inline-flex; align-items: center; padding: 0 16px;
  font-size: 15px; color: var(--ink-soft); font-weight: 500;
  border-bottom: 3px solid transparent; cursor: pointer;
}
.ss-tab:hover { color: var(--ink); text-decoration: none; }
.ss-tab.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--orange); }

.ss-nav-right { display: flex; align-items: center; gap: 10px; }
.ss-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--orange-soft); color: var(--orange-dark);
  font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}

/* ------------------------------------------------------------- layout */
.ss-wrap { max-width: 1120px; margin: 0 auto; padding: 26px 24px 64px; }
.ss-wrap-narrow { max-width: 860px; margin: 0 auto; padding: 26px 24px 64px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 20px 22px;
  margin: 14px 0;
}

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font: 600 15px/1 var(--font);
  padding: 11px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  background: var(--orange); color: #fff;
  transition: background .12s ease, border-color .12s ease, box-shadow .12s ease;
  text-decoration: none;
}
.btn:hover { background: var(--orange-dark); color: #fff; text-decoration: none; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--orange-ring); }
.btn:disabled { background: #c7ccd4; cursor: not-allowed; box-shadow: none; }

.btn-outline { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { background: #fafbfc; color: var(--ink); border-color: var(--ink-soft); }

.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { background: #f0f2f5; color: var(--ink); }

.btn-danger { background: var(--red); }
.btn-danger:hover { background: #bb1f15; }

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

.btn-sm { padding: 7px 13px; font-size: 13.5px; border-radius: 7px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }

.icon-btn {
  border: 1px solid var(--line); background: var(--card); color: var(--ink-soft);
  width: 30px; height: 30px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px; line-height: 1;
}
.icon-btn:hover { background: #f4f6f9; color: var(--ink); }

/* -------------------------------------------------------------- forms */
label.fld { display: block; margin: 14px 0 5px; font-weight: 600; font-size: 14px; }
.fld-hint { color: var(--muted); font-size: 12.5px; font-weight: 400; }

input[type=text], input[type=email], input[type=password], textarea, select {
  width: 100%; box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  font: inherit; color: var(--ink); background: var(--card);
  transition: border-color .12s ease, box-shadow .12s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-ring);
}
textarea { min-height: 84px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #9aa1ab; }

.dropzone {
  border: 2px dashed var(--blue); border-radius: var(--radius-lg);
  padding: 34px 20px; text-align: center; color: var(--muted);
  cursor: pointer; margin-top: 6px; background: #fbfcfe;
  transition: background .12s ease, border-color .12s ease;
}
.dropzone:hover { background: var(--blue-soft); }
.dropzone.drag { background: var(--blue-soft); border-color: var(--blue-dark); }
.dropzone .dz-title { font-weight: 600; color: var(--ink); font-size: 15px; }
.dropzone .dz-sub { font-size: 13px; margin-top: 2px; }

/* ---------------------------------------------------------------- misc */
.muted { color: var(--muted); font-size: 13px; }
.err {
  color: var(--red); background: var(--red-soft);
  border: 1px solid #f5c6c2; border-radius: var(--radius);
  padding: 10px 12px; margin: 10px 0; font-size: 14px;
}
.ok { color: var(--green); background: var(--green-soft); border: 1px solid #bfe3c9; border-radius: var(--radius); padding: 10px 12px; margin: 10px 0; font-size: 14px; }
.hidden { display: none !important; }
h1.page-title { font-size: 26px; margin: 0 0 4px; font-weight: 700; letter-spacing: -.2px; }
p.page-sub { color: var(--muted); margin: 0 0 18px; font-size: 14.5px; }

/* --------------------------------------------------------- step stepper */
.steps { display: flex; gap: 0; margin: 4px 0 18px; counter-reset: step; }
.step-item { flex: 1; display: flex; align-items: center; gap: 10px; position: relative; }
.step-item:not(:last-child)::after {
  content: ""; position: absolute; left: 32px; right: 8px; top: 15px;
  height: 2px; background: var(--line); border-radius: 2px;
}
.step-num {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line-strong);
  color: var(--muted); font-weight: 700; font-size: 13.5px;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.step-label { font-size: 13.5px; font-weight: 600; color: var(--muted); line-height: 1.2; }
.step-item.on .step-num { background: var(--orange); border-color: var(--orange); color: #fff; }
.step-item.on .step-label { color: var(--ink); }
.step-item.done .step-num { background: var(--green); border-color: var(--green); color: #fff; }
.step-item.done .step-label { color: var(--green); }
.step-item.done:not(:last-child)::after { background: var(--green); }

/* ------------------------------------------------------------ hero band */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, #fff7f2 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 30px 26px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
}
.hero h1 { margin: 0 0 6px; font-size: 27px; font-weight: 700; letter-spacing: -.3px; }
.hero p { margin: 0 0 18px; color: var(--ink-soft); font-size: 15px; max-width: 640px; }
.hero .btn { margin-right: 10px; }

/* ------------------------------------------------------- filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip {
  border: 1px solid var(--line-strong); background: var(--card); color: var(--ink-soft);
  border-radius: 999px; padding: 7px 16px; font-size: 13.5px; font-weight: 600;
  cursor: pointer; transition: all .12s ease;
}
.chip:hover { border-color: var(--ink-soft); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ------------------------------------------------------------ search */
.search { position: relative; }
.search svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--muted); pointer-events: none;
}
.search input { padding-left: 38px; }

/* ------------------------------------------------------- template grid */
.tpl-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
}
.tpl-card {
  position: relative;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow .14s ease, border-color .14s ease, transform .14s ease;
}
.tpl-card:hover { box-shadow: var(--shadow-lift); border-color: var(--line-strong); transform: translateY(-1px); }
.tpl-thumb {
  height: 148px; background: var(--thumb);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden; position: relative;
}
.tpl-thumb canvas, .tpl-thumb img { max-width: 100%; max-height: 100%; display: block; box-shadow: 0 1px 4px rgba(16,24,40,.18); }
.tpl-thumb .tpl-ico {
  width: 46px; height: 58px; border-radius: 6px; background: #fff;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 22px;
  box-shadow: 0 1px 3px rgba(16,24,40,.12);
}
.tpl-body { padding: 13px 15px 15px; }
.tpl-name { font-weight: 600; font-size: 15px; margin: 0 0 3px; padding-right: 28px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpl-note { color: var(--muted); font-size: 12.5px; margin: 0 0 7px; line-height: 1.4; min-height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tpl-meta { color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.tpl-meta b { color: var(--ink-soft); font-weight: 600; }

/* 3-dot dropdown */
.tpl-menu {
  position: absolute; top: 10px; right: 10px; z-index: 5;
  opacity: 0; transition: opacity .12s ease;
}
.tpl-card:hover .tpl-menu, .tpl-card:focus-within .tpl-menu,
.tpl-menu.open { opacity: 1; }
@media (hover: none) { .tpl-menu { opacity: 1; } }
.tpl-menu .icon-btn { background: rgba(255,255,255,.92); }
.dd { position: relative; }
.dd-menu {
  position: absolute; right: 0; top: 38px; z-index: 50;
  min-width: 190px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop); padding: 6px; display: none;
}
.dd-menu.open { display: block; }
.dd-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left;
  padding: 9px 12px; border: 0; background: transparent;
  font: 600 14px/1.2 var(--font); color: var(--ink);
  border-radius: 7px; cursor: pointer;
}
.dd-item:hover { background: #f2f4f7; }
.dd-item .ico { width: 18px; text-align: center; color: var(--muted); font-size: 14px; }
.dd-item.danger { color: var(--red); }
.dd-item.danger .ico { color: var(--red); }
.dd-item.danger:hover { background: var(--red-soft); }
.dd-sep { height: 1px; background: var(--line); margin: 5px 6px; }

/* ---------------------------------------------------------- envelopes */
.stat-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 18px; }
.stat {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 12px 20px;
  box-shadow: var(--shadow-card);
}
.stat b { display: block; font-size: 22px; line-height: 1.1; }
.stat span { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }

.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th {
  text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line);
  color: var(--muted); font-weight: 600; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
}
.tbl td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tbody tr:hover { background: #fafbfc; }
.tbl tbody tr:last-child td { border-bottom: 0; }

.badge {
  display: inline-block; padding: 3px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.b-pending  { background: var(--blue-soft);  color: var(--blue-dark); }
.b-signed   { background: var(--green-soft); color: var(--green); }
.b-expired  { background: var(--red-soft);   color: var(--red); }
.b-revoked  { background: #eceef2;           color: var(--ink-soft); }
.cell-recip { font-size: 12.5px; color: var(--muted); }

/* --------------------------------------------------------------- modal */
dialog {
  border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px;
  box-shadow: var(--shadow-pop); max-width: 92vw;
  font-family: var(--font);
}
dialog::backdrop { background: rgba(15, 23, 42, .55); }

/* ------------------------------------------------------ signing flow */
.pageHost { position: relative; display: inline-block; margin: 10px auto; }
canvas.page {
  display: block; background: #fff; max-width: 100%;
  box-shadow: 0 1px 8px rgba(16, 24, 40, .22);
  border-radius: 4px;
}
.sigbox {
  position: absolute; border: 2px dashed var(--blue);
  background: rgba(0, 87, 217, .08);
  touch-action: none; cursor: move; box-sizing: border-box;
}
.sigbox img { width: 100%; height: 100%; display: block; pointer-events: none; }
.fieldbox {
  position: absolute; border: 2px dashed var(--amber);
  background: rgba(217, 119, 6, .10);
  box-sizing: border-box; cursor: pointer; touch-action: none;
}
.fieldbox.filled { border: 2px solid var(--green); background: rgba(21, 128, 61, .12); cursor: pointer; }
/* CONTRACTQTY-20261112 (Cash): pre-filled text (e.g. measured material
   quantities) renders as a clean read-only fill — subtle border, light
   background, default cursor. No amber "locked-signature" framing, no 📝 chip. */
.fieldbox.textfill {
  border: 1px solid rgba(15, 118, 110, .5);
  background: rgba(255, 255, 255, .85);
  cursor: default;
}
.fieldbox .fchip {
  position: absolute; top: -21px; left: -2px; font-size: 11px; font-weight: 700;
  color: #fff; border-radius: 4px; padding: 1px 6px; pointer-events: none; white-space: nowrap;
}
.fieldbox img { width: 100%; height: 100%; display: block; pointer-events: none; }
.fieldbox .ftext {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #1f2937; font-size: 12px; font-weight: 600; line-height: 1.1;
  text-align: center; padding: 2px 4px; pointer-events: none; overflow: hidden;
}
.fieldbox .fx {
  position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; line-height: 16px;
  text-align: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--red);
  border-radius: 50%; cursor: pointer;
}
.pageNav { text-align: center; margin: 6px 0; }

.tabs { display: flex; gap: 8px; margin: 10px 0; }
.tab {
  padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  cursor: pointer; background: var(--card); color: var(--ink-soft);
  font-weight: 600; font-size: 14px;
}
.tab.on { background: var(--blue); color: #fff; border-color: var(--blue); }

#drawArea { position: relative; display: inline-block; }
#sigCanvas { position: absolute; inset: 0; cursor: crosshair; touch-action: none; }
#typeDialog input { font-size: 30px; padding: 10px; width: 320px; max-width: 90%; }

.step { display: none; }
.step.on { display: block; }

/* sticky finish bar (field mode) */
#stickyBar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 9999; background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(16, 24, 40, .18);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  text-align: center;
}
#stickyBar.show { display: block; }
#stickyBar button { width: 100%; max-width: 480px; padding: 14px 16px; font-size: 16px; font-weight: 600; }
body.fieldmode .ss-wrap, body.fieldmode .ss-wrap-narrow { padding-bottom: 110px; }

/* --------------------------------------------------------------- footer */
.ss-footer {
  max-width: 1120px; margin: 0 auto; padding: 18px 24px 40px;
  color: var(--muted); font-size: 12.5px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ------------------------------------------------------------- login */
.lock-card { max-width: 460px; margin: 30px auto; }
.lock-logo {
  width: 44px; height: 44px; border-radius: 12px; background: var(--concordia-gradient);
  color: #fff; font-weight: 800; font-size: 22px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
  letter-spacing: -1px;
}
.lock-card h2 { text-align: center; margin: 0 0 4px; font-size: 19px; }
.lock-card .lock-sub { text-align: center; margin: 0 0 14px; }
.lock-card .btn { width: 100%; }

/* ------------------------------------------------------------- banner */
.banner {
  border: 1px solid var(--blue-soft); background: var(--blue-soft);
  color: var(--blue-dark); border-radius: var(--radius);
  padding: 11px 14px; font-size: 13.5px; margin: 10px 0;
}
.banner.orange { border-color: #ffd9c2; background: var(--orange-soft); color: var(--orange-dark); }

/* ============================================================
   PROFILE-20261108 — profile panel + persisted dark mode
   Additive; default light theme above is untouched.
   ============================================================ */
html[data-theme="dark"] {
  --ink:        #e7eaf1;
  --ink-soft:   #c2c8d4;
  --muted:      #98a1b2;
  --line:       #2a3142;
  --line-strong:#3a4356;
  --page:       #0d1420;
  --card:       #151d2b;
  --thumb:      #1d2637;
  --orange-soft:rgba(255, 102, 34, .16);
  --blue-soft:  rgba(0, 87, 217, .22);
  --green-soft: rgba(21, 122, 58, .22);
  --red-soft:   rgba(217, 48, 37, .20);
  --amber-soft: rgba(217, 119, 6, .20);
}
html[data-theme="dark"] body { background: var(--page); color: var(--ink); }
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder { color: #7c8698; }
html[data-theme="dark"] .btn-outline:hover { background: #1d2637; color: var(--ink); }
html[data-theme="dark"] .btn-ghost:hover { background: #1d2637; }
html[data-theme="dark"] .icon-btn:hover { background: #1d2637; }
html[data-theme="dark"] .dropzone { background: #131b28; }
html[data-theme="dark"] .step-num { background: var(--card); }
html[data-theme="dark"] .ss-avatar { background: rgba(255,102,34,.18); color: #ffb08a; }

/* avatar with optional photo thumbnail (falls back to the initial) */
.ss-avatar { overflow: hidden; position: relative; }
.ss-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ss-avatar .ss-avatar-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

/* profile panel */
.profile-grid { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.profile-face { flex: 0 0 auto; text-align: center; }
.profile-face .ss-avatar-lg {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--orange-soft); color: var(--orange-dark);
  font-weight: 800; font-size: 40px; overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-card);
}
html[data-theme="dark"] .profile-face .ss-avatar-lg { background: rgba(255,102,34,.18); color: #ffb08a; }
.profile-face .ss-avatar-lg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-face-sm { width: 18px; height: 18px; font-size: 10px; margin-left: 6px; vertical-align: middle; }
.profile-body { flex: 1; min-width: 260px; }
.profile-name { font-size: 20px; font-weight: 700; margin: 0 0 2px; color: var(--ink); }
.profile-mail { color: var(--muted); font-size: 14px; margin: 0 0 4px; }
.profile-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.profile-row:first-of-type { border-top: 0; }
.profile-row .pr-label { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.profile-row .pr-sub { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
/* toggle switch */
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: 0 0 auto; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
  position: absolute; inset: 0; cursor: pointer;
  background: var(--line-strong); border-radius: 26px; transition: background .15s ease;
}
.switch .slider::before {
  content: ""; position: absolute; height: 20px; width: 20px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%; transition: transform .15s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.switch input:checked + .slider { background: var(--orange); }
.switch input:checked + .slider::before { transform: translateX(20px); }
.switch input:focus-visible + .slider { box-shadow: 0 0 0 3px var(--orange-ring); }
.profile-actions { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
