/* Love Studios NYC - add extra time (inc/ls-extra-time.php) */
.lsx { --lsx-line: var(--lsh-line, #e8e8e6); color: var(--lsh-ink, #111); }
.lsx * { box-sizing: border-box; }
.lsx-hero { padding: 64px 0 28px; }
.lsx .lsx-h1 { margin: 0 0 16px; max-width: 860px; font-size: clamp(38px, 5vw, 64px); text-align: left; }
.lsx-lead { max-width: 700px; margin: 0; font-size: 19px; color: var(--lsh-muted); }
.lsx-main { padding: 12px 0 96px; }
.lsx-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.lsx-h2 { margin: 0 0 14px; font-family: var(--lsh-display); font-size: 22px; font-weight: 700; }
.lsx-card { padding: 24px; border: 1px solid var(--lsx-line); border-radius: 22px; background: #fff; }
.lsx-card + .lsx-card { margin-top: 14px; }
.lsx-card h2 { margin: 0 0 10px; font-family: var(--lsh-display); font-size: 22px; font-weight: 700; }
.lsx-card p { margin: 0 0 14px; font-size: 16px; line-height: 1.55; color: #3d3d3a; }
.lsx-card a:not(.lsx-btn) { color: var(--lsh-accent); text-decoration: underline; }
.lsx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--lsh-ink); border-radius: 999px; background: var(--lsh-ink); color: #fff !important; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none !important; cursor: pointer; white-space: nowrap; }
.lsx-btn:hover { background: #333; }
.lsx-btn:disabled { border-color: #cfcfcc; background: #e6e6e3; color: #8a8a86 !important; cursor: not-allowed; }
.lsx-btn.is-ghost { border-color: #cfcfcc; background: #fff; color: var(--lsh-ink) !important; }

.lsx-booking { padding: 18px; transition: border-color .15s, box-shadow .15s; }
.lsx-booking.is-open { border-color: var(--lsh-ink); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.lsx-b-top { display: flex; align-items: center; gap: 16px; }
.lsx-b-img { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 14px; object-fit: cover; }
.lsx-b-info { flex: 1 1 auto; min-width: 0; }
.lsx-b-code { margin: 0 0 2px !important; font-size: 12.5px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lsh-accent) !important; }
.lsx-b-info h3 { margin: 0 0 4px; overflow: hidden; font-family: var(--lsh-display); font-size: 19px; font-weight: 700; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.lsx-b-when { margin: 0 !important; font-size: 15px !important; font-weight: 600; color: var(--lsh-ink) !important; }
.lsx-added, .lsx-live { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: #e7f1ea; color: #1e5e37; font-size: 12px; font-weight: 700; vertical-align: 1px; letter-spacing: 0; text-transform: none; }
.lsx-live { background: #fbefe3; color: #8a4a16; }
.lsx-panel { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--lsx-line); }

.lsx-seg { display: inline-flex; padding: 4px; margin-bottom: 14px; border-radius: 999px; background: #ededea; }
.lsx-seg button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: #5a5a56; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.lsx-seg button[aria-selected="true"] { background: #fff; color: var(--lsh-ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.lsx-seg button:disabled { opacity: .4; cursor: not-allowed; }
.lsx-per { margin: 0 0 10px !important; font-size: 14px !important; color: #6b6b67 !important; }
.lsx-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.lsx-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border: 1px solid #d6d6d2; border-radius: 14px; background: #fff; color: var(--lsh-ink); font-family: inherit; text-align: left; cursor: pointer; transition: border-color .12s, background .12s; }
.lsx-opt:hover { border-color: var(--lsh-ink); }
.lsx-opt b { font-family: var(--lsh-display); font-size: 18px; font-weight: 700; }
.lsx-opt span { font-size: 13px; color: #5a5a56; }
.lsx-opt em { font-size: 14px; font-style: normal; font-weight: 600; }
.lsx-opt.is-on { border-color: var(--lsh-ink); background: var(--lsh-ink); color: #fff; }
.lsx-opt.is-on span { color: #d6d6d2; }
.lsx-sum { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: #f6f6f4; }
.lsx-sum p { margin: 0 !important; font-size: 16px !important; color: var(--lsh-ink) !important; }
.lsx-sum small { font-size: 13px; color: #8a8a86; }
.lsx-muted { color: #8a8a86 !important; }
.lsx-small { margin: 10px 0 0 !important; font-size: 13.5px !important; color: #6b6b67 !important; }
.lsx-wait { margin: 0 !important; color: #8a8a86 !important; }
.lsx-err { margin: 10px 0 0 !important; padding: 10px 14px; border-radius: 12px; background: #fbe9e7; color: #8a2a16 !important; font-size: 14.5px !important; }
.lsx-msg:empty { display: none; }
.lsx-done p { margin: 0 0 10px !important; }

.lsx-how ol { margin: 0 0 12px; padding-left: 20px; }
.lsx-how li { margin: 0 0 10px; font-size: 15.5px; line-height: 1.5; color: #3d3d3a; }
.lsx-empty .lsx-btn { margin-top: 4px; }

/* My Bookings: link to this page */
.lsx-mb-link { display: block; margin: 0 0 18px; padding: 14px 18px; border: 1px solid var(--lsh-line, #e8e8e6); border-radius: 16px; background: #fbf6f1; color: var(--lsh-ink, #111) !important; font-size: 15px; text-decoration: none !important; }
.lsx-mb-link b { color: var(--lsh-accent, #a4572a); }

/* Inside the dashboard booking details */
.lsx-team { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--lsx-line, #e8e8e6); }
.lsx-team .lsx-opts { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.lsx-team .lsx-sum { flex-direction: column; align-items: stretch; }
.lsx-team .lsx-btn { min-height: 42px; font-size: 14px; }

@media (max-width: 900px) {
    .lsx-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    .lsx-hero { padding: 36px 0 18px; }
    .lsx-lead { font-size: 17px; }
    .lsx-card { padding: 18px; }
    .lsx-b-top { flex-wrap: wrap; }
    .lsx-b-img { width: 64px; height: 64px; }
    .lsx-b-info h3 { white-space: normal; font-size: 17px; }
    .lsx-open { width: 100%; }
    .lsx-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lsx-seg { display: flex; }
    .lsx-seg button { flex: 1; }
    .lsx-sum .lsx-btn { width: 100%; }
}
.lsx-preview { margin: 0; padding: 10px 16px; background: #fbefe3; color: #8a4a16; font-size: 14px; font-weight: 600; text-align: center; }

/* Team: charge the card on file */
.lsx-charge { margin-top: 14px; padding: 16px; border: 1px solid var(--lsh-line, #e8e8e6); border-radius: 16px; background: #fff; }
.lsx-charge-h { margin: 0 0 10px !important; font-size: 13px !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a8a86 !important; }
.lsx-cards { display: grid; gap: 6px; margin-bottom: 12px; }
.lsx-card-opt, .lsx-consent { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid #e3e3e0; border-radius: 12px; font-size: 14.5px; cursor: pointer; }
.lsx-card-opt input, .lsx-consent input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: #111; }
.lsx-card-opt em { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #ededea; font-size: 11.5px; font-style: normal; font-weight: 700; }
.lsx-consent { margin-bottom: 12px; border-color: #ead9cc; background: #fbf6f1; }
.lsx-charge .lsx-btn { width: 100%; margin-bottom: 8px; }
.lsx-done.is-paid { padding: 14px 16px; border-radius: 14px; background: #e7f1ea; }

/* Team: review the full charge */
.lsx-review { margin: 0 0 14px; padding: 14px 16px; border-radius: 14px; background: #f6f6f4; }
.lsx-review-h { margin: 0 0 8px !important; font-size: 12.5px !important; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #8a8a86 !important; }
.lsx-review table { width: 100%; margin: 0 !important; border: 0 !important; border-collapse: collapse; }
.lsx-review td { padding: 7px 0 !important; border: 0 !important; border-bottom: 1px solid #e6e6e2 !important; background: none !important; font-size: 14.5px; vertical-align: top; }
.lsx-review td:last-child { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 12px !important; }
.lsx-review td small { display: block; font-size: 12.5px; color: #8a8a86; }
.lsx-review tr.is-total td { border-bottom: 0 !important; padding-top: 10px !important; font-size: 17px; font-weight: 700; }

/* Overtime: rate choice (team) */
.lsx-rates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 10px; }
.lsx-rate { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border: 1px solid #d6d6d2; border-radius: 12px; background: #fff; font: inherit; text-align: left; color: var(--lsh-ink); cursor: pointer; }
.lsx-rate b { font-size: 15px; }
.lsx-rate span { font-size: 12px; color: var(--lsh-muted); }
.lsx-rate[aria-pressed="true"] { border-color: var(--lsh-ink); box-shadow: 0 0 0 1px var(--lsh-ink); background: #fafaf8; }
.lsx-rate[disabled] { opacity: .6; cursor: default; }
.lsx-regular { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; font-size: 13px; line-height: 1.4; color: #3f3f3c; cursor: pointer; }
.lsx-regular input { margin-top: 2px; width: 16px; height: 16px; flex: none; }
.lsx.is-ot .lsx-per { font-weight: 600; }
@media (max-width: 480px) { .lsx-rates { grid-template-columns: 1fr; } }
/* The booking photo stays small (the page-wide ".lsh img" rule made it fill the card) */
.lsx .lsx-b-img { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 14px; object-fit: cover; }
@media (max-width: 600px) { .lsx .lsx-b-img { width: 64px; height: 64px; } }

/* The side cards start level with the first booking card (not with the heading above it). */
.lsx-h2 { line-height: 28px; }
@media (min-width: 901px) {
    .lsx-grid:has(> .lsx-list > .lsx-h2) > .lsx-side { margin-top: 42px; }
}

/* Equipment with extra time */
.lsx-eq { margin: 18px 0 4px; border: 1px solid var(--lsh-line, #e8e8e6); border-radius: 16px; background: #fff; }
.lsx-eq > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; cursor: pointer; list-style: none; font-weight: 600; font-size: 15px; }
.lsx-eq > summary::-webkit-details-marker { display: none; }
.lsx-eq > summary::after { content: '+'; font-size: 20px; line-height: 1; color: #6b6b67; }
.lsx-eq[open] > summary::after { content: '–'; }
.lsx-eq > summary small { font-weight: 400; color: #8a8a86; }
.lsx-eq > summary em { margin-left: auto; font-style: normal; font-size: 13px; color: #1a7f37; }
.lsx-eq > .lsx-small, .lsx-eq-g, .lsx-eq-row { margin-left: 16px; margin-right: 16px; }
.lsx-eq { max-height: none; }
.lsx-eq[open] { padding-bottom: 10px; }
.lsx-eq-g { margin-top: 12px; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a8a86; }
.lsx-eq-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid #f0f0ee; }
.lsx-eq-row img, .lsx-eq-ph { flex: none; width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: #f3f3f1; }
.lsx-eq-n { flex: 1; min-width: 0; font-size: 14px; line-height: 1.35; }
.lsx-eq-n small { display: block; color: #6b6b67; font-size: 13px; }
.lsx-eq-q { display: inline-flex; align-items: center; gap: 8px; }
.lsx-eq-q button { width: 32px; height: 32px; border: 1px solid #e0e0dd; border-radius: 50%; background: #fff; font-size: 17px; line-height: 1; cursor: pointer; color: #111; }
.lsx-eq-q button:disabled { opacity: .35; cursor: default; }
.lsx-eq-q b { min-width: 16px; text-align: center; }
.lsx-eq-row.is-on .lsx-eq-n { font-weight: 600; }
.lsx-eq-find { display: block; width: calc(100% - 32px); margin: 6px 16px 4px; padding: 11px 14px; border: 1px solid #d6d6d2; border-radius: 12px; font-size: 16px; box-sizing: border-box; }
.lsx-eq-row[hidden], .lsx-eq-g[hidden] { display: none !important; }

/* Collapsible equipment groups */
button.lsx-eq-g { display: flex; align-items: center; gap: 10px; width: calc(100% - 32px); margin: 0 16px; padding: 13px 2px; border: 0; border-top: 1px solid #ececea; background: none; text-align: left; cursor: pointer; color: #111; font: 600 14px/1.3 'Inter', system-ui, sans-serif; letter-spacing: 0; text-transform: none; }
button.lsx-eq-g > span { flex: 1; }
button.lsx-eq-g small { margin-left: 4px; padding: 1px 8px; border-radius: 99px; background: #f1f1ee; color: #6b6b67; font-size: 12px; font-weight: 600; }
button.lsx-eq-g em { font-style: normal; font-size: 12.5px; font-weight: 600; color: #1a7f37; }
button.lsx-eq-g i { width: 9px; height: 9px; border-right: 2px solid #6b6b67; border-bottom: 2px solid #6b6b67; transform: rotate(45deg); transition: transform .15s; margin: -4px 6px 0 0; }
button.lsx-eq-g[aria-expanded="true"] i { transform: rotate(-135deg); margin-top: 4px; }
.lsx-eq-row { margin-left: 28px !important; }
