/* =====================================================================
   SharedSnapz — brand design system
   Premium, modern, energetic. Midnight navy + warm ivory base, electric
   coral for action, gold used sparingly for premium accents.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Fraunces:ital,wght@0,500;0,600;1,500&display=swap');

:root {
  --navy: #101827;
  --ivory: #FAF8F3;
  --coral: #FF5D73;
  --coral-dark: #E14760;
  --gold: #C9A45C;
  --white: #FFFFFF;
  --slate: #475467;
  --border: #E4E1D8;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 10px 40px rgba(16,24,39,0.10);
  --shadow-card: 0 4px 20px rgba(16,24,39,0.08);
  --font-sans: 'Manrope', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--navy);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--slate); }
a { color: inherit; }
.serif { font-family: var(--font-serif); font-weight: 500; font-style: italic; }

img, video { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

section { padding: 88px 0; }
@media (max-width: 720px) { section { padding: 56px 0; } }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 8px 24px rgba(255,93,115,0.35); }
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn-secondary { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: transparent; padding: 10px 16px; }
.btn-ghost:hover { background: rgba(16,24,39,0.06); }
.btn-white { background: #fff; color: var(--navy); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-danger { background: #C22; color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(250,248,243,0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1200px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; color: var(--navy); }
.logo .dot { color: var(--coral); }
.nav-links { display: flex; gap: 4px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--navy); }
.nav-links a:hover { background: rgba(16,24,39,0.06); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; flex-shrink: 0; }
.nav-links-cta-item { display: none; }
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 16px 24px; border-bottom: 1px solid var(--border); gap: 4px; }
}
/* Below ~640px the "Sign In" + "Create Your Event" buttons in the header no
   longer fit next to the logo and hamburger, and were forcing the whole page
   to scroll horizontally. Hide them there and surface the same links inside
   the mobile menu instead. */
@media (max-width: 640px) {
  .nav-cta .btn { display: none; }
  .nav-links.open .nav-links-cta-item { display: block; margin-top: 6px; }
}

/* ---- Cards ---- */
.card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 32px; }
.card-flat { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border); padding: 24px; }

/* ---- Hero ---- */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.trust-strip { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--slate); font-weight: 600; margin-top: 28px; }
.trust-strip span::before { content: "✓ "; color: var(--coral); }

.phone-mock {
  position: relative; width: 280px; margin: 0 auto; border-radius: 40px; background: var(--navy);
  padding: 14px; box-shadow: var(--shadow-soft);
}
.phone-screen { background: linear-gradient(160deg, #1a2436, #101827); border-radius: 28px; aspect-ratio: 9/19; overflow: hidden; position: relative; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 70px; height: 8px; background: rgba(0,0,0,.5); border-radius: 8px; z-index: 3;}
.floating-photos { position: absolute; inset: 0; pointer-events: none; }
.floating-card {
  position: absolute; width: 96px; height: 120px; border-radius: 14px; box-shadow: var(--shadow-soft);
  background-size: cover; background-position: center; animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(var(--r,0deg)); } 50% { transform: translateY(-14px) rotate(var(--r,0deg)); } }
.qr-float-card { position: absolute; background: #fff; border-radius: 16px; padding: 12px; box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: 10px; }

/* ---- Steps ---- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card { text-align: left; }
.step-number { width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.step-card:nth-child(2) .step-number { background: var(--coral); }
.step-card:nth-child(3) .step-number { background: var(--gold); }

/* ---- Pricing ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; align-items: stretch; }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { display: flex; flex-direction: column; border: 1px solid var(--border); position: relative; }
.price-card.popular { border: 2px solid var(--coral); transform: scale(1.02); }
.price-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--coral); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 16px; border-radius: 999px; letter-spacing: 0.03em; }
.price-amount { font-size: 2.6rem; font-weight: 800; margin: 8px 0; }
.price-amount span { font-size: 1rem; font-weight: 600; color: var(--slate); }
.feature-list { list-style: none; padding: 0; margin: 20px 0; flex: 1; }
.feature-list li { padding: 7px 0 7px 26px; position: relative; font-size: 14.5px; color: var(--navy); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--coral); font-weight: 800; }

/* ---- Feature grid ---- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-item { padding: 22px; border-radius: var(--radius-md); background: #fff; border: 1px solid var(--border); }
.feature-item .icon { font-size: 22px; margin-bottom: 10px; }

/* ---- Badges / labels ---- */
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(201,164,92,0.15); color: #8a6d34; }
.badge-coral { background: rgba(255,93,115,0.12); color: var(--coral-dark); }
.badge-navy { background: rgba(16,24,39,0.08); color: var(--navy); }
.badge-sample { background: #fff3cd; color: #7a5c00; }

/* ---- Sections ---- */
.section-navy { background: var(--navy); color: #fff; }
.section-navy p { color: #C9CDD8; }
.section-navy h2, .section-navy h3 { color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 12.5px; font-weight: 800; color: var(--coral); margin-bottom: 10px; display: block; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* Grid items default to a min-width based on their content, not the track
   width — a wide child (e.g. the multi-column demo masonry) can then force
   the whole grid past the viewport on mobile even though it collapses to a
   single column. Letting items shrink fixes that without changing layout
   anywhere the overflow wasn't happening. */
.hero-grid > *, .steps-grid > *, .pricing-grid > *, .feature-grid > *,
.two-col > *, .testimonial-grid > *, .footer-grid > *, .grid-2 > *,
.stat-grid > * { min-width: 0; }

.demo-toggle { display: inline-flex; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 4px; margin-bottom: 32px; }
.demo-toggle button { border: none; background: transparent; padding: 10px 22px; border-radius: 999px; font-weight: 700; cursor: pointer; font-family: var(--font-sans); }
.demo-toggle button.active { background: var(--navy); color: #fff; }

/* ---- Testimonials ---- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card blockquote { margin: 0 0 16px; font-size: 15.5px; }
.testimonial-author { font-weight: 700; font-size: 14px; }
.testimonial-role { font-size: 13px; color: var(--slate); }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--coral); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 12px; }

/* ---- Forms ---- */
.form-group { margin-bottom: 18px; }
label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=number], input[type=tel], select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-size: 15px; background: #fff; color: var(--navy);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255,93,115,0.12); }
.form-hint { font-size: 12.5px; color: var(--slate); margin-top: 4px; }
.form-error { font-size: 12.5px; color: #c22; margin-top: 4px; font-weight: 600; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { width: auto; margin-top: 3px; }
fieldset { border: none; padding: 0; margin: 0; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 14.5px; font-weight: 600; }
.alert-success { background: #e8f7ee; color: #0a7a34; }
.alert-error { background: #fde8ea; color: #b3182f; }
.alert-info { background: #eaf1ff; color: #1d4ed8; }

/* ---- Footer ---- */
footer { background: var(--navy); color: #C9CDD8; padding: 64px 0 32px; }
footer a { color: #C9CDD8; text-decoration: none; }
footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
.footer-grid h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; font-size: 14px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #8791a3; }

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-8 { gap: 8px; } .gap-16 { gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.muted { color: var(--slate); font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
a.skip-link { position: absolute; left: -9999px; top: 0; background: var(--coral); color: #fff; padding: 10px 18px; z-index: 999; border-radius: 0 0 8px 0; }
a.skip-link:focus { left: 0; }

/* ---- Gallery / masonry ---- */
/* column-width (rather than a fixed column count) lets the browser fit as
   many ~150px tiles as the screen allows at any size, instead of a few
   large ones — this is what actually controls how big each thumbnail
   looks, independent of the underlying image file size. */
.masonry { column-width: 150px; column-gap: 10px; }
@media (max-width: 480px) { .masonry { column-width: 120px; column-gap: 8px; } }
.masonry-item { break-inside: avoid; margin-bottom: 10px; border-radius: 10px; overflow: hidden; position: relative; background: #eee; cursor: pointer; min-height: 90px; }
/* min-height here matters beyond looks: if a thumbnail fails to load (e.g.
   a storage misconfiguration on the server), an <img> with no min-height
   and an unknown intrinsic size collapses to 0×0 — so the whole gallery
   would look completely empty even though the photos are really there.
   This keeps the tile visibly present (with the browser's normal broken-
   image icon) instead of silently vanishing. */
.masonry-item img, .masonry-item video { width: 100%; display: block; min-height: 90px; object-fit: cover; background: #eee; }
.masonry-item .pending-tag { position: absolute; top: 8px; left: 8px; background: rgba(16,24,39,.75); color: #fff; font-size: 11px; padding: 3px 9px; border-radius: 999px; }
.masonry-item .fav-btn { position: absolute; bottom: 8px; right: 8px; background: rgba(255,255,255,.9); border: none; border-radius: 999px; padding: 6px 10px; font-size: 13px; cursor: pointer; }
.masonry-item .media-actions { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; padding: 6px 6px; background: #fff; border-top: 1px solid var(--border); }
.masonry-item .media-actions .btn { background: #fff; padding: 4px 8px; }

.lightbox-overlay { position: fixed; inset: 0; background: rgba(16,24,39,.94); z-index: 200; display: flex; align-items: center; justify-content: center; }
.lightbox-content { max-width: 92vw; max-height: 86vh; }
.lightbox-close { position: absolute; top: 20px; right: 24px; color: #fff; font-size: 32px; background: none; border: none; cursor: pointer; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); color: #fff; border: none; font-size: 28px; padding: 12px 16px; cursor: pointer; border-radius: 8px; }

/* Report-a-photo modal (gallery.php) — a lighter overlay than the
   lightbox since this one holds form fields, not a photo. */
.report-modal-overlay { position: fixed; inset: 0; background: rgba(16,24,39,.6); z-index: 210; display: flex; align-items: center; justify-content: center; padding: 16px; }
.report-modal-overlay[hidden] { display: none; }
.report-modal-card { width: 100%; max-width: 420px; }

/* ---- Dashboard shell ---- */
.dash-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
@media (max-width: 900px) { .dash-shell { grid-template-columns: 1fr; } .dash-sidebar { display: none; } }
.dash-sidebar { background: var(--navy); color: #fff; padding: 24px 16px; }
.dash-sidebar a { display: block; padding: 10px 14px; border-radius: 10px; color: #C9CDD8; text-decoration: none; font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.dash-sidebar a:hover, .dash-sidebar a.active { background: rgba(255,255,255,0.08); color: #fff; }
.dash-main { padding: 32px; background: var(--ivory); }

.dash-welcome {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  margin: 0 0 28px;
  padding: 22px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy) 0%, #1C2740 55%, var(--coral-dark) 130%);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.dash-welcome::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% -20%, rgba(201,164,92,0.35), transparent 55%);
  pointer-events: none;
}
.dash-welcome-avatar {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 20px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #E8CD94);
  box-shadow: 0 4px 14px rgba(201,164,92,0.4);
}
.dash-welcome-greeting {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}
.dash-welcome-wave { display: inline-block; animation: dash-wave 2.2s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes dash-wave {
  0%, 60%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
}
.dash-welcome-sub { font-size: 13.5px; color: rgba(255,255,255,0.75); margin-top: 3px; }
@media (max-width: 560px) {
  .dash-welcome { flex-direction: column; gap: 10px; padding: 20px; }
  .dash-welcome-greeting { font-size: 19px; }
}
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card { background: #fff; border-radius: var(--radius-md); padding: 20px; border: 1px solid var(--border); }
.stat-card .stat-value { font-size: 1.8rem; font-weight: 800; }
.stat-card .stat-label { font-size: 12.5px; color: var(--slate); text-transform: uppercase; letter-spacing: 0.04em; }

table.data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-md); overflow: hidden; }
table.data-table th, table.data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; color: #1A1530; }
table.data-table th { background: #f5f3ec; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: #5A5570; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.tag-active { background: #e8f7ee; color: #0a7a34; } .tag-draft { background: #eee; color: #555; }
.tag-pending { background: #fff3cd; color: #7a5c00; } .tag-suspended { background: #fde8ea; color: #b3182f; }
.tag-archived { background: #ececf5; color: #4a4570; } .tag-expired { background: #f0f0f0; color: #777; } .tag-upcoming { background: #e6f0fd; color: #14539a; }

.wizard-steps { display: flex; justify-content: space-between; margin-bottom: 40px; list-style: none; padding: 0; }
.wizard-steps li { flex: 1; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--slate); position: relative; }
.wizard-steps li.active { color: var(--coral); }
.wizard-steps li.done { color: var(--navy); }

.upload-drop { border: 2px dashed var(--border); border-radius: var(--radius-lg); padding: 48px 24px; text-align: center; background: #fff; }
.upload-drop.dragover { border-color: var(--coral); background: #fff5f6; }
.progress-bar { height: 8px; border-radius: 999px; background: #eee; overflow: hidden; }
.progress-bar-fill { height: 100%; background: var(--coral); transition: width .2s ease; }

/* Row-actions dropdown (admin tables: Events, Bin, etc) — a single
   "Actions" menu per row instead of a wall of buttons. table.menu-table
   opts a table out of table.data-table's own overflow:hidden (which
   exists for rounded corners, but would otherwise clip this menu's
   dropdown panel), and needs td/th to allow it too since a cell's own
   overflow can clip an absolutely-positioned child just as easily. */
table.menu-table { overflow: visible; }
table.menu-table td, table.menu-table th { overflow: visible; }
.actions-menu { position: relative; display: inline-block; }
.actions-menu > summary { list-style: none; }
.actions-menu > summary::-webkit-details-marker { display: none; }
.actions-menu > summary::after { content: ' ▾'; }
.actions-menu[open] > summary { background: var(--navy); color: #fff; border-color: var(--navy); }
.actions-panel {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 30;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(16,24,39,0.18); padding: 8px; min-width: 250px;
  display: flex; flex-direction: column; gap: 4px;
}
.actions-panel form { width: 100%; }
.actions-panel .btn { width: 100%; text-align: left; justify-content: flex-start; }
.actions-panel .extend-row { display: flex; gap: 6px; align-items: center; width: 100%; flex-wrap: nowrap; padding: 6px 10px; }
.actions-panel .extend-row .extend-label { font-size: 12px; color: var(--slate); white-space: nowrap; }
.actions-panel .extend-row input[type="number"] { width: 48px; padding: 6px 4px; text-align: center; }
.actions-panel .extend-row .btn { width: auto; flex-shrink: 0; }
.actions-panel hr { border: none; border-top: 1px solid var(--border); margin: 2px 0; width: 100%; }
