/* Requests (inc/ls-requests.php): the client's "Request to book" on studio pages, and Studio Desk › Requests.
   Website design: ink #111, soft #f4f4f2, line #e8e8e6, accent #a4572a, Inter / Inter Tight. */

/* ---------- studio page: the two ways ---------- */
.ls-rq-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 20px; }
.ls-rq-switch button { all: unset; box-sizing: border-box; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid #dadad7; border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.ls-rq-switch button b { font: 700 16px/1.3 'Inter Tight', 'Inter', sans-serif; color: #111; }
.ls-rq-switch button span { font-size: 13.5px; line-height: 1.45; color: #5f5f5b; }
.ls-rq-switch button:hover { border-color: #111; }
.ls-rq-switch button.is-on { border-color: #111; box-shadow: inset 0 0 0 1px #111; background: #fbfbfa; }
.ls-rq-switch button:focus-visible { outline: 2px solid #a4572a; outline-offset: 2px; }
.ls-rtb[hidden], .ls-rq-quote[hidden] { display: none !important; }
.ls-rtb-login { padding: 18px 20px; border: 1px solid #e8e8e6; border-radius: 16px; background: #fbfbfa; }
.ls-rtb-login p { margin: 0 0 12px; font-size: 15px; line-height: 1.5; color: #333; }
.ls-rtb-btn, a.ls-rtb-btn, button.ls-rtb-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 28px; border: 0; border-radius: 999px; background: #111; color: #fff !important; font: 600 16px 'Inter', system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: background .15s; }
.ls-rtb-btn:hover { background: #a4572a; }
.ls-rtb-btn[disabled] { opacity: .55; cursor: wait; }
.ls-rtb-pay .ls-rtb-btn { width: 100%; margin-top: 14px; }
.ls-rtb-link { margin-left: 14px; color: #a4572a; font-weight: 600; }
.ls-rtb-addons { margin: 16px 0 0; border: 1px solid #e8e8e6; border-radius: 14px; background: #fff; }
.ls-rtb-addons > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 14px 16px; cursor: pointer; list-style: none; font-weight: 600; color: #111; }
.ls-rtb-addons > summary::-webkit-details-marker { display: none; }
.ls-rtb-addons > summary::marker { content: ""; }
/* Same chevron in every browser (Firefox showed none) */
.ls-rtb-addons > summary::after, .ls-rtb-cat > summary::after { content: ""; margin-left: auto; flex: none; width: 8px; height: 8px; border-right: 2px solid #6b6b67; border-bottom: 2px solid #6b6b67; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.ls-rtb-addons[open] > summary::after, .ls-rtb-cat[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.ls-rtb-addons > summary small { font-weight: 400; color: #6b6b67; }
.ls-rtb-addons > summary .ls-rtb-ao-total, .ls-rtb-cat-n { margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: #111; color: #fff; font-size: 12px; font-weight: 600; }
.ls-rtb-cats { padding: 0 12px 12px; display: grid; gap: 8px; }
.ls-rtb-cat { border: 1px solid #efefed; border-radius: 12px; background: #fafaf9; }
.ls-rtb-cat > summary { display: flex; align-items: center; gap: 8px; padding: 12px 14px; cursor: pointer; list-style: none; font-weight: 600; font-size: 14.5px; color: #111; }
.ls-rtb-cat > summary::-webkit-details-marker { display: none; }
.ls-rtb-cat > summary::marker { content: ""; }
.ls-rtb-cat > summary small { font-weight: 400; color: #8a8a86; font-size: 13px; }
.ls-rtb-cat[open] { background: #fff; }
.ls-rtb-cat .ls-rtb-ao { padding: 0 10px 10px; }
.ls-rtb-ao { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 8px; }
.ls-rtb-ao-i { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #efefed; border-radius: 12px; background: #fff; }
.ls-rtb-ao-i.is-on { border-color: #111; }
.ls-rtb-ao-i img, .ls-rtb-ao-ph { flex: none; width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: #f3f3f1; }
.ls-rtb-ao-ph { display: flex; align-items: center; justify-content: center; font-weight: 600; color: #8a8a86; }
.ls-rtb-ao-txt { flex: 1; display: flex; flex-direction: column; min-width: 0; font-size: 14px; font-weight: 500; line-height: 1.3; color: #111; }
.ls-rtb-ao-txt small { font-size: 12.5px; font-weight: 400; color: #6b6b67; margin-top: 2px; }
.ls-rtb-step { flex: none; display: inline-flex; align-items: center; border: 1px solid #e3e3e0; border-radius: 999px; height: 38px; overflow: hidden; background: #fff; }
.ls-rtb-step button { width: 34px; height: 36px; border: 0; background: none; font-size: 18px; line-height: 1; color: #111; cursor: pointer; padding: 0; }
.ls-rtb-step button:hover { background: #f3f3f1; }
.ls-rtb-ao-i .ls-rtb-step input { display: block; box-sizing: border-box !important; width: 38px !important; height: 36px !important; min-height: 0 !important; max-height: 36px !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: none !important; text-align: center !important; line-height: 36px !important; vertical-align: middle; font-weight: 600; font-size: 15px !important; -webkit-appearance: none; -moz-appearance: textfield; appearance: textfield; }
.ls-rtb-step button { display: flex; align-items: center; justify-content: center; }
.ls-rtb-step input::-webkit-outer-spin-button, .ls-rtb-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ls-rtb-msg { display: flex; flex-direction: column; gap: 6px; margin: 16px 0 0; font-size: 13px; font-weight: 600; color: #3d3d3a; }
.ls-rtb-msg small { font-weight: 400; color: #6b6b67; }
.ls-rtb-price { margin: 18px 0 0; padding: 18px 20px; border-radius: 16px; background: #f4f4f2; transition: opacity .15s; }
.ls-rtb-price.is-loading { opacity: .55; }
.ls-rtb-muted { margin: 0; font-size: 14px; line-height: 1.5; color: #6b6b67; }
.ls-rtb-when { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; font-size: 15.5px; color: #111; }
.ls-rtb-free, .ls-rtb-busy { padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.ls-rtb-free { background: #eaf6ee; color: #14532d; }
.ls-rtb-busy { background: #fdecea; color: #b42318; }
.ls-rtb-note { margin: 0 0 10px; font-size: 14px; line-height: 1.5; color: #b42318; }
.ls-rtb-lines { list-style: none; margin: 0; padding: 0; }
.ls-rtb-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14.5px; color: #3a3a38; }
.ls-rtb-lines b { font-weight: 600; color: #111; white-space: nowrap; }
.ls-rtb-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 10px; border-top: 1px solid #dededb; }
.ls-rtb-total span { font-weight: 600; }
.ls-rtb-total b { font: 700 28px/1.1 'Inter Tight', 'Inter', sans-serif; letter-spacing: -.02em; }
.ls-rtb-pay[hidden] { display: none !important; }
.ls-rtb-pay { margin: 18px 0 0; }
.ls-rtb-pay h3 { margin: 0 0 10px; font: 700 18px 'Inter Tight', 'Inter', sans-serif; color: #111; }
.ls-rtb-card { display: flex !important; flex-direction: row !important; align-items: center; gap: 10px; margin: 0 0 8px; padding: 12px 14px; border: 1px solid #dadad7; border-radius: 12px; font-size: 15px; font-weight: 500; color: #111; cursor: pointer; }
.ls-rtb-card input { width: 18px !important; height: 18px !important; min-height: 0 !important; margin: 0; }
.ls-rtb-new[hidden] { display: none !important; }
.ls-rtb-el { padding: 15px 14px; border: 1px solid #dadad7; border-radius: 12px; background: #fff; }
.ls-rtb-new .ls-rtb-muted { margin: 6px 0 4px; font-size: 13px; }
.ls-rtb-agree { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 10px; margin: 14px 0 0; padding: 14px 16px; border-radius: 14px; background: #fbf5f0; font-size: 14.5px !important; font-weight: 400 !important; line-height: 1.5; color: #2b1a10 !important; cursor: pointer; }
.ls-rtb-agree input { flex: none; width: 20px !important; height: 20px !important; min-height: 0 !important; margin: 2px 0 0; }
.ls-rtb-err { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: #fdecea; font-size: 14px; line-height: 1.5; color: #b42318; }
.ls-rtb-ok { margin: 8px 0 0; padding: 20px 22px; border-radius: 16px; background: #eaf6ee; color: #14532d; font-size: 15.5px; line-height: 1.55; }
.ls-rtb-ok p { margin: 0 0 6px; }
.ls-rtb-policy { margin: 14px 0 0; font-size: 14px; line-height: 1.55; color: #4a4a47; }
.ls-rtb-policy summary { cursor: pointer; font-weight: 600; color: #111; }
@media (max-width: 600px) {
    .ls-rq-switch { grid-template-columns: 1fr; }
    .ls-rtb-ao { grid-template-columns: 1fr; }
    .ls-rtb-link { display: inline-block; margin: 12px 0 0; }
}

/* ---------- Studio Desk › Requests ---------- */
.rq-head-links { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.rq-linkbtn { all: unset; cursor: pointer; font-weight: 600; color: #111; }
.rq-loading { color: #6b6b67; }
.rq-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.rq-tabs button { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 1px solid #dadad7; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: #111; cursor: pointer; }
.rq-tabs button span { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #f0f0ee; font-size: 12px; text-align: center; }
.rq-tabs button.is-on { background: #111; border-color: #111; color: #fff; }
.rq-tabs button.is-on span { background: rgba(255, 255, 255, .2); }
.rq-list { display: grid; gap: 10px; }
.rq-row { all: unset; box-sizing: border-box; background: #fff; border: 1px solid #e8e8e6; border-radius: 18px; display: flex !important; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 16px 20px !important; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.rq-row:hover, .rq-row.is-open { box-shadow: 0 0 0 1px #111; }
.rq-row:focus-visible { outline: 2px solid #a4572a; outline-offset: 2px; }
.rq-row-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rq-row-main b { font: 700 16px/1.3 'Inter Tight', 'Inter', sans-serif; color: #111; }
.rq-row-sub { font-size: 14px; line-height: 1.45; color: #5f5f5b; }
.rq-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; text-align: right; }
.rq-row-side b { font-size: 16px; color: #111; }
.rq-row-side small { font-size: 12.5px; color: #8a8a86; }
.rq-chip { align-self: flex-start; display: inline-block; padding: 3px 10px; border-radius: 999px; background: #f0f0ee; font-size: 12px; font-weight: 700; color: #3a3a38; }
.rq-chip.is-new { background: #fff1e6; color: #a4572a; }
.rq-chip.is-wait { background: #fff4d6; color: #8a5a00; }
.rq-chip.is-quote { background: #eaf1fb; color: #1f4e8c; }
.rq-chip.is-ok { background: #eaf6ee; color: #14532d; }
.rq-chip.is-off { background: #f0f0ee; color: #6b6b67; }
.rq-kind { font-size: 12.5px; font-weight: 600; color: #6b6b67; }
.rq-kind.is-book { color: #a4572a; }
.rq-empty p { margin: 0; color: #6b6b67; }
.rq-drawer { position: fixed; inset: 0; z-index: 100000; }
.rq-drawer[hidden] { display: none; }
.rq-drawer-bg { position: absolute; inset: 0; background: rgba(17, 17, 17, .4); }
.rq-drawer-in { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); overflow-y: auto; padding: 24px 26px 40px; background: #fff; box-shadow: -20px 0 60px rgba(0, 0, 0, .15); font-family: 'Inter', system-ui, sans-serif; color: #111; }
.rq-d-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin: 0 0 16px; }
.rq-d-head h2 { margin: 8px 0 4px; font: 700 24px/1.2 'Inter Tight', 'Inter', sans-serif; color: #111; }
.rq-d-head p { margin: 0; font-size: 14px; color: #6b6b67; }
.rq-x { all: unset; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; cursor: pointer; background: #f4f4f2; }
.rq-x:hover { background: #e8e8e6; }
.rq-d-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 14px; border: 1px solid #e8e8e6; border-radius: 14px; overflow: hidden; }
.rq-d-facts > div { padding: 12px 14px; border-top: 1px solid #efefed; border-left: 1px solid #efefed; min-width: 0; }
.rq-d-facts > div:nth-child(-n+2) { border-top: 0; }
.rq-d-facts > div:nth-child(odd) { border-left: 0; }
.rq-d-facts small { display: block; margin: 0 0 3px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a8a86; }
.rq-d-facts b { font-size: 14.5px; font-weight: 600; line-height: 1.4; word-break: break-word; }
.rq-d-facts a { color: #111; }
.rq-held { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #fff4d6; font-size: 14px; line-height: 1.5; color: #5c3d00; }
.rq-d-sec { margin: 0 0 16px; padding: 16px 0 0; border-top: 1px solid #efefed; }
.rq-d-sec h3 { margin: 0 0 10px; font: 700 16px 'Inter Tight', 'Inter', sans-serif; color: #111; }
.rq-lines { list-style: none; margin: 0; padding: 0; }
.rq-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; color: #3a3a38; }
.rq-lines li.is-total { margin-top: 6px; padding-top: 10px; border-top: 1px solid #e8e8e6; font-size: 16px; font-weight: 700; color: #111; }
.rq-muted { margin: 8px 0 0; font-size: 13.5px; line-height: 1.5; color: #6b6b67; }
.rq-ans { margin: 0; display: grid; gap: 8px; }
.rq-ans div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px; font-size: 14px; }
.rq-ans dt { color: #6b6b67; }
.rq-ans dd { margin: 0; color: #111; }
.rq-opt { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; padding: 12px 14px; border: 1px solid #dadad7; border-radius: 12px; cursor: pointer; }
.rq-opt > input { margin: 3px 0 0; width: 18px; height: 18px; flex: none; }
.rq-opt span { display: flex; flex-direction: column; gap: 4px; }
.rq-opt b { font-size: 15px; }
.rq-opt small { font-size: 13.5px; line-height: 1.6; color: #5f5f5b; }
.rq-in { width: 64px; height: 34px; margin: 0 4px; padding: 0 8px; border: 1px solid #cfcfcc; border-radius: 8px; font: inherit; text-align: center; }
.rq-in-w { display: block; width: 100%; margin: 0 0 10px; padding: 10px 12px; border: 1px solid #cfcfcc; border-radius: 10px; font: inherit; font-size: 14.5px; }
select.rq-in-w { height: 44px; }
.rq-go { width: 100%; height: 50px; margin-top: 6px; }
.rq-d-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.rq-d-btns .ldu-btn { flex: 1 1 140px; justify-content: center; }
.rq-danger { background: #b42318 !important; }
.rq-danger:hover { background: #8f1c13 !important; }
.rq-done { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: #eaf6ee; font-size: 14.5px; color: #14532d; }
.rq-done a { color: #14532d; font-weight: 700; }
.rq-foot { margin: 20px 0 0; font-size: 13px; }
.rq-foot a { color: #6b6b67; }
.rq-check { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 14.5px; }
.rq-line { margin: 0; font-size: 14.5px; line-height: 2.1; color: #3a3a38; }
@media (max-width: 700px) {
    .rq-row { flex-direction: column; align-items: stretch; }
    .rq-row-side { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; text-align: left; }
    .rq-drawer-in { padding: 18px 16px 32px; }
    .rq-d-facts { grid-template-columns: 1fr; }
    .rq-d-facts > div { border-left: 0 !important; border-top: 1px solid #efefed !important; }
    .rq-d-facts > div:first-child { border-top: 0 !important; }
    .rq-ans div { grid-template-columns: 1fr; gap: 2px; }
}

/* Requests settings panel */
.rq-drawer-in input[type=checkbox], .rq-drawer-in input[type=radio] { width: 18px !important; height: 18px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; flex: none; accent-color: #111; }
.ldu .rq-in { display: inline-block !important; width: 70px !important; height: 34px !important; padding: 0 8px !important; text-align: center; vertical-align: middle; }
.rq-set { display: grid; gap: 14px; padding-bottom: 90px; }
.rq-sw { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid #e8e8e6; border-radius: 16px; background: #fff; cursor: pointer; }
.rq-sw > input { position: absolute !important; opacity: 0; pointer-events: none; }
.rq-sw-ui { flex: none; position: relative; width: 44px; height: 26px; margin-top: 2px; border-radius: 999px; background: #d6d6d2; transition: background .15s; }
.rq-sw-ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.rq-sw > input:checked + .rq-sw-ui { background: #111; }
.rq-sw > input:checked + .rq-sw-ui::after { transform: translateX(18px); }
.rq-sw > input:focus-visible + .rq-sw-ui { outline: 2px solid #a4572a; outline-offset: 2px; }
.rq-sw b { display: block; font-size: 15px; }
.rq-sw small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.5; color: #6b6b67; }
.rq-set-card { padding: 16px; border: 1px solid #e8e8e6; border-radius: 16px; background: #fff; }
.rq-set-card h3 { margin: 0 0 4px; font: 700 15.5px 'Inter Tight', 'Inter', sans-serif; color: #111; }
.rq-set-card .rq-muted { margin: 8px 0 0; }
.rq-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rq-pill { position: relative; cursor: pointer; }
.rq-pill > input { position: absolute !important; opacity: 0; pointer-events: none; }
.rq-pill span { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 14px; border: 1px solid #d2d2d0; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: #111; transition: background .15s, color .15s, border-color .15s; }
.rq-pill > input:checked + span { background: #111; border-color: #111; color: #fff; }
.rq-pill > input:checked + span::before { content: '✓'; }
.rq-pill > input:focus-visible + span { outline: 2px solid #a4572a; outline-offset: 2px; }
.rq-num-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.rq-num { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; }
.rq-num-row .rq-num { margin-top: 0; }
.ldu .rq-num input { width: 90px !important; height: 44px !important; text-align: center; font-size: 16px; font-weight: 600; }
.rq-num span { font-size: 14px; font-weight: 600; color: #3a3a38; }
.rq-set-save { position: sticky; bottom: -40px; display: flex; gap: 10px; margin: 0 -26px -40px; padding: 14px 26px 18px; border-top: 1px solid #e8e8e6; background: #fff; }
.rq-set-save .ldu-btn { flex: 1; height: 48px; }
@media (max-width: 700px) { .rq-set-save { margin: 0 -16px -32px; padding: 12px 16px 16px; bottom: -32px; } }
