.jr-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.jr-toolbar input,.jr-toolbar select{width:auto;max-width:230px}.jr-toolbar input[type=date]{width:150px}.jr-toolbar #jrSearch{flex:1;min-width:160px}.jr-state{color:var(--t3);font-size:12px;margin:10px 0}.jr-scroll{overflow:auto;max-height:75vh;border:1px solid var(--bd);border-radius:12px;background:var(--card)}.jr-calendar{display:grid;grid-template-columns:62px repeat(var(--jr-columns),minmax(210px,1fr));min-width:max-content;position:relative}.jr-heading,.jr-corner{position:sticky;top:0;z-index:3;background:var(--card);border-bottom:1px solid var(--bd);padding:14px 12px;min-height:64px}.jr-heading{border-left:1px solid var(--bd);font-weight:600;max-width:320px}.jr-heading small{display:block;color:var(--t3);font-size:11px;margin-top:4px;font-weight:400}.jr-corner{left:0;z-index:4;font-size:11px;color:var(--t3);padding:16px 6px}.jr-hours{height:var(--jr-height);position:sticky;left:0;z-index:2;background:var(--card)}.jr-hours span{position:absolute;left:7px;font-size:11px;color:var(--t3)}.jr-column{position:relative;height:var(--jr-height);border-left:1px solid var(--bd);background:repeating-linear-gradient(to bottom,transparent 0,transparent 44px,rgba(120,120,120,.10) 44px,rgba(120,120,120,.10) 45px)}.jr-visit{position:absolute;display:flex;flex-direction:column;gap:3px;overflow:hidden;text-align:left;padding:5px 7px;border:1px solid #b6c5df;border-left:3px solid #6b83a8;border-radius:6px;background:#eaf0f9;color:#25354d;cursor:pointer;font:inherit;min-width:0;font-size:12px}.jr-visit b,.jr-visit span,.jr-visit small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.jr-visit small{font-size:10px;opacity:.8}.jr-status-2{background:#f6efd9;border-color:#d6c189;color:#5a4a1f}.jr-status-1{background:#dceee5;border-color:#93b6a4;color:#244c36}.jr-status--1{background:#f3e9e5;border-color:#d8bfb5;color:#765247}.jr-visit:hover,.jr-visit:focus-visible{outline:2px solid var(--a, #85704a);z-index:2}.jr-empty{padding:14px;color:var(--t3);font-size:13px}.jr-dialog{margin:auto;border:1px solid var(--bd);border-radius:16px;padding:24px;background:var(--card);color:var(--t1, #222);width:min(560px,calc(100vw - 24px));max-height:90vh;overflow:auto}.jr-dialog::backdrop{background:rgba(20,25,30,.45)}.jr-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.jr-dialog-head h2{font-size:20px;margin:0}.jr-fields{display:grid;gap:14px}.jr-fields label{display:grid;gap:6px;font-size:13px}.jr-fields input,.jr-fields select,.jr-fields textarea{width:100%;box-sizing:border-box}.jr-fields select[multiple]{min-height:140px}.jr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.jr-client{font-size:20px;font-weight:600}.jr-comment{white-space:pre-wrap;overflow-wrap:anywhere}.jr-hint{font-size:12px;color:var(--t3);line-height:1.5}.jr-error{color:var(--danger, #a64635);white-space:pre-wrap;font-size:13px;margin-top:12px;line-height:1.5}.jr-dialog button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:700px){.jr-toolbar #jrNew{width:100%}.jr-scroll{max-height:65vh}.jr-dialog{padding:18px}.jr-calendar{grid-template-columns:48px repeat(var(--jr-columns),minmax(210px,1fr))}}

.jr-dialog p{margin:10px 0;line-height:1.5}.jr-review-row{padding:12px 0;border-top:1px solid var(--bd)}.jr-review-row input[type=checkbox]{width:auto}.jr-review-row button{margin-top:12px}

/* Quarter-hour grid: a real button per free interval, usable by mouse or keyboard. */
.jr-working-filter{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px;color:var(--t2)}
.jr-working-filter input[type=checkbox]{width:auto;accent-color:var(--a)}
.jr-heading{max-width:none}
.jr-column{background:none}
.jr-hours .jr-quarter{font-size:10px;left:auto;right:10px;opacity:.7}
.jr-hours .jr-hour{font-weight:600;color:var(--t2)}
.jr-cell{position:absolute;left:0;width:100%;margin:0;padding:0 6px;border:0;border-top:1px solid var(--bd);border-radius:0;background:transparent;text-align:left;color:var(--t2);font:inherit;font-size:11px;line-height:22px}
.jr-cell-hour{border-top-color:var(--t3)}
.jr-cell-off{background:repeating-linear-gradient(135deg,var(--bg) 0,var(--bg) 4px,var(--card) 4px,var(--card) 8px)}
.jr-cell-past,.jr-cell-busy{background:var(--bg)}
.jr-cell-free{cursor:pointer}
.jr-cell-free span{opacity:0;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.jr-cell-free:hover,.jr-cell-free:focus-visible{background:var(--as);color:var(--a);outline:1px solid var(--a);outline-offset:-1px}
.jr-cell-free:hover span,.jr-cell-free:focus-visible span{opacity:1}
.jr-visit{z-index:1;gap:2px;padding:2px 6px}
.jr-visit-short{padding-top:0;padding-bottom:0;justify-content:center}
.jr-visit-short>span,.jr-visit-short>small{display:none}

/* Appointment workspace: schedule at left, visit in the centre, client at right. */
.jr-dialog-wide{width:min(1240px,calc(100vw - 32px));max-width:none;max-height:94vh;max-height:94dvh;padding:16px 18px 0;background:var(--bg);border-radius:20px}
.jr-dialog-wide[open]{display:flex;flex-direction:column}
.jr-dialog-wide .jr-dialog-head{margin:0 0 12px;flex-shrink:0}
.jr-dialog-wide .jr-dialog-head h2{font-size:17px;font-weight:600}
.jr-dialog-wide #jrModalBody{min-height:0;overflow:auto;overscroll-behavior:contain}
.jr-dialog-wide #jrModalError{flex-shrink:0;margin:0;padding:0 0 12px}
.jr-dialog-wide #jrModalError:empty{padding:0}
.jr-booking-layout{display:grid;grid-template-columns:232px minmax(300px,1fr) 286px;gap:12px;align-items:stretch;min-height:560px}
.jr-booking-side{min-width:0;padding:0 0 12px}
.jr-booking-panel{min-width:0;background:var(--card);border:1px solid var(--bd);border-radius:16px;padding:18px}
.jr-booking-main{display:flex;flex-direction:column;gap:22px}
.jr-visit-summary{border-radius:13px;background:var(--bd);background:color-mix(in srgb,var(--bd) 45%,var(--card));padding:14px;margin-bottom:20px}
.jr-staff-identity,.jr-visit-date{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.jr-staff-identity strong,.jr-visit-date strong{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere}
.jr-staff-identity small,.jr-visit-date small{display:block;margin-top:4px;color:var(--t2);font-size:12px}
.jr-staff-avatar{display:grid;place-items:center;flex:0 0 34px;height:34px;background:var(--as);color:var(--a);border-radius:10px;font-size:12px;font-weight:600}
.jr-visit-date>svg{flex:0 0 20px;margin:0 7px}
.jr-move-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px}
.jr-side-label{display:grid;gap:8px;margin:0 0 18px;padding:0 4px;font-size:12px;color:var(--t2)}
.jr-side-label textarea{resize:vertical;min-height:76px;max-height:200px;background:var(--card)}
.jr-side-label small{font-size:10px;color:var(--t3)}
.jr-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 4px}
.jr-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;border:1px solid var(--bd);border-radius:10px;padding:12px 8px;background:var(--card);color:var(--t2);font:inherit;font-size:12px;line-height:1.3;text-align:center}
.jr-dialog .jr-placeholder:disabled{cursor:not-allowed;opacity:.72}
.jr-placeholder>span{overflow-wrap:anywhere}
.jr-placeholder>small{font-size:9px;font-weight:500;color:var(--t3);letter-spacing:.02em}
.jr-placeholder>svg{flex-shrink:0}
.jr-tools .jr-placeholder{min-height:88px}
.jr-stub-inline{display:inline-flex;flex-direction:row;gap:6px;padding:8px 10px;font-size:11px}
.jr-stub-inline svg{width:15px;height:15px}
.jr-state-pill{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:0;border-radius:8px;padding:8px;background:var(--bg);color:var(--t2);font:inherit;font-size:11px;min-height:34px}
.jr-state-pill svg{width:14px;height:14px}
.jr-status-bar{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.jr-state-pill.is-current{background:var(--t1);color:var(--card)}
button.jr-state-pill:not(:disabled){cursor:pointer;border:1px solid var(--bd)}
button.jr-state-pill:not(:disabled):hover{background:var(--as);color:var(--a)}
.jr-status-bar .jr-placeholder{flex-direction:row;gap:4px;padding:8px}
.jr-status-bar .jr-placeholder small{font-size:8px}
.jr-service-panel{background:var(--bg);border-radius:14px;padding:14px}
.jr-service-tabs,.jr-client-tabs{display:flex;align-items:stretch;gap:4px;margin-bottom:18px}
.jr-service-tabs{padding:3px;border:1px solid var(--bd);border-radius:10px}
.jr-service-tabs>*,.jr-client-tabs>*{flex:1;min-width:0}
.jr-service-tabs>.is-active,.jr-client-tabs>.is-active{display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px}
.jr-service-tabs>.is-active{background:var(--card);border:1px solid var(--bd);border-radius:7px;padding:8px}
.jr-tab-stub{border:0;background:transparent;flex-direction:row;padding:8px;font-size:12px}
.jr-tab-stub svg{width:16px;height:16px}
.jr-service-lines{display:grid;gap:8px;margin-bottom:14px}
.jr-service-line{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--bd);border-radius:10px;padding:16px 12px;background:var(--card);font-size:13px}
.jr-service-line>span{min-width:0;overflow-wrap:anywhere;line-height:1.5}
.jr-service-line>strong{flex-shrink:0;white-space:nowrap;font-weight:600}
.jr-service-search,.jr-service-picker{display:grid;gap:8px;font-size:12px;color:var(--t2);margin-bottom:14px}
.jr-service-picker select{width:100%;min-height:220px;background:var(--card);padding:5px}
.jr-service-picker option{padding:10px;border-radius:6px;margin-bottom:3px;white-space:normal;overflow-wrap:anywhere}
.jr-service-selection{padding-top:12px;border-top:1px solid var(--bd);font-size:12px;color:var(--t2)}
.jr-payment-panel{margin-top:auto;min-height:180px;border:1px solid var(--bd);border-radius:14px;padding:22px 16px;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center}
.jr-payment-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--as);color:var(--a);margin-bottom:12px}
.jr-payment-panel h3{font-size:16px;font-weight:600}
.jr-payment-panel p{color:var(--t3);font-size:11px;max-width:280px}
.jr-client-tabs{border-bottom:1px solid var(--bd)}
.jr-client-tabs>.is-active{border-bottom:3px solid var(--a);padding:12px 4px}
.jr-client-tabs svg{width:16px;height:16px}
.jr-client-identity{display:flex;gap:10px;align-items:flex-start;margin-bottom:14px}
.jr-client-identity>svg{flex-shrink:0;margin-top:3px;color:var(--t2)}
.jr-client-identity h3{font-size:17px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
.jr-client-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:20px 0}
.jr-client-tools .jr-placeholder{min-height:86px;padding:8px 4px;font-size:10px;gap:5px}
.jr-other-visitor{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:11px;color:var(--t2);margin:18px 0}
.jr-other-visitor input{width:auto;flex:0 0 auto}
.jr-other-visitor small{font-size:9px;color:var(--t3)}
.jr-client-info{margin-top:20px}
.jr-client-info h4{font-size:14px;margin-bottom:14px}
.jr-client-info p{font-size:11px;color:var(--t3)}
.jr-client-info p span{display:block;color:var(--t2);font-size:13px;margin-top:5px}
.jr-client-info>small{color:var(--t3);font-size:10px;line-height:1.5;display:block}
.jr-client-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.jr-booking-footer{position:sticky;bottom:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;background:var(--bg);border-top:1px solid var(--bd);margin-top:14px}
.jr-booking-footer>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.jr-booking-footer>.jr-hint{max-width:330px}
.jr-booking-footer .btn{font-size:12px;white-space:nowrap}
.jr-booking-client>.jr-fields{margin-bottom:12px}
.jr-visit-summary label>svg{display:none}
@media(max-width:1050px){.jr-booking-layout{grid-template-columns:190px minmax(250px,1fr) 245px;gap:8px}.jr-booking-panel{padding:12px}.jr-dialog-wide{padding:12px 12px 0}.jr-status-bar{gap:4px}.jr-booking-footer>.jr-hint{max-width:240px}}
@media(max-width:850px){.jr-booking-layout{grid-template-columns:200px minmax(0,1fr)}.jr-booking-client{grid-column:1/-1}.jr-client-tools{grid-template-columns:repeat(5,minmax(0,1fr))}.jr-booking-footer{align-items:flex-end}.jr-booking-footer>.jr-hint{max-width:200px}}
@media(max-width:600px){.jr-dialog-wide{width:calc(100vw - 12px);max-height:96vh;max-height:96dvh;padding:12px 10px 0;border-radius:14px}.jr-booking-layout{display:flex;flex-direction:column;min-height:0}.jr-booking-main{order:2}.jr-booking-client{order:1}.jr-booking-side{order:0}.jr-tools{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.jr-tools .jr-placeholder{min-height:76px;font-size:9px;padding:8px 3px}.jr-client-tools{grid-template-columns:repeat(3,minmax(0,1fr))}.jr-booking-footer{flex-direction:column;align-items:stretch;gap:8px}.jr-booking-footer>.jr-hint{max-width:none;font-size:10px}.jr-booking-footer>div{justify-content:flex-end}.jr-payment-panel{min-height:150px}.jr-status-bar .jr-state-pill{font-size:10px}.jr-booking-panel{border-radius:12px}}

/* Create appointment: service cards and existing client selection. */
.jr-create-client .jr-fields {gap:14px}
.jr-create-client .jr-fields label {font-size:12px;color:#777}
.jr-create-client .jr-fields input {min-width:0;width:100%;box-sizing:border-box}
.jr-create-client input[readonly] {background:#f6f6f6;color:#666}
.jr-create-client h4 {margin:24px 0 12px;font-size:16px}
.jr-client-result {display:flex;flex-direction:column;gap:4px;width:100%;text-align:left;border:0;border-radius:8px;background:transparent;padding:9px 7px;color:inherit;cursor:pointer;font:inherit}
.jr-client-result:hover,.jr-client-result:focus-visible {background:#f0f0f0}
.jr-client-result small {color:#777;font-size:12px}
.jr-service-choices {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.jr-service-choice {display:flex;flex-direction:column;gap:7px;text-align:left;min-height:116px;padding:12px;border:1px solid #d5d5d5;border-radius:12px;background:white;color:#333;font:inherit;cursor:pointer;overflow-wrap:anywhere}
.jr-service-choice span {font-size:14px;line-height:1.4}
.jr-service-choice small {color:#777;font-size:12px;line-height:1.4}
.jr-service-choice b {font-size:11px;font-weight:500;color:#6850c8;margin-top:auto}
.jr-service-choice:hover {border-color:#aaa;background:#fafafa}
.jr-service-choice.is-selected {border-color:#9381d6;background:#f5f1ff}
.jr-service-choice:focus-visible,.jr-client-result:focus-visible {outline:2px solid #816ac9;outline-offset:2px}
.jr-selected-services {display:grid;gap:8px;margin-bottom:12px}
.jr-selected-services:empty {display:none}
.jr-selected-services .jr-service-choice {min-height:0}
.jr-all-services {margin-top:18px}
.jr-all-services summary {cursor:pointer;padding:8px 0;font-size:13px}
.jr-all-services[open] .jr-service-choices {margin-top:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
.jr-visit-summary input[readonly] {color:#666;background:#fff}
@media(max-width:600px) {.jr-service-choices {grid-template-columns:1fr}.jr-service-choice {min-height:80px}.jr-all-services[open] .jr-service-choices {grid-template-columns:1fr}}

#jrServices[hidden] {display:none}

.jr-service-tree {margin-top:10px}
.jr-service-category {border-top:1px solid var(--bd,#ddd)}
.jr-all-services .jr-service-category>summary {padding:12px 4px;font-weight:500;overflow-wrap:anywhere}
.jr-service-category>summary:focus-visible {outline:2px solid #816ac9;outline-offset:2px;border-radius:4px}
.jr-category-content {padding:0 0 12px 12px;border-left:2px solid var(--bd,#ddd);margin-left:4px}
.jr-category-content>.jr-service-choices {margin-bottom:12px}
.jr-uncategorized h4 {font-size:13px;margin:14px 0 8px}

.jr-line-editor{padding:14px;border:1px solid var(--bd,#ddd);border-radius:10px;background:var(--card,#fff)}.jr-line-heading{display:flex;align-items:start;justify-content:space-between;gap:10px;font-size:13px;line-height:1.5}.jr-line-heading button{border:0;background:transparent;color:var(--t2);cursor:pointer;font-size:22px}.jr-line-fields{display:grid;grid-template-columns:.7fr 1fr .8fr 1fr;gap:8px;margin-top:12px}.jr-line-fields label{font-size:11px;color:var(--t3);display:grid;gap:5px}.jr-line-fields input{width:100%;min-width:0;box-sizing:border-box}.jr-create-payment{border:1px solid var(--bd);border-radius:12px;padding:16px;margin-top:auto}.jr-bill-total{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:12px 0}.jr-bill-total strong{font-size:21px}.jr-pay-shortcuts{display:flex;gap:8px;flex-wrap:wrap}.jr-payment-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:16px;min-height:560px}.jr-payment-bill,.jr-payment-content{border:1px solid var(--bd);border-radius:14px;background:var(--card);padding:20px}.jr-payment-bill p{display:grid;gap:6px;border-bottom:1px solid var(--bd);padding:14px 0;font-size:13px}.jr-payment-bill small{color:var(--t3)}.jr-payment-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.jr-pay-method{display:grid;gap:8px;text-align:left;min-height:115px;padding:16px;border:1px solid var(--bd);border-radius:12px;background:var(--card);color:var(--t2);cursor:pointer}.jr-pay-method:disabled{opacity:.5;cursor:default}.jr-pay-method.is-selected{border-color:var(--a);background:var(--as)}.jr-pay-method small{color:var(--t3)}.jr-pay-form{display:flex;align-items:end;gap:12px}.jr-pay-form label{display:grid;gap:6px;font-size:13px}.jr-pay-review{padding:12px;border:1px solid var(--bd);margin-bottom:12px;display:grid;gap:10px}.jr-pay-review input{width:auto}@media(max-width:650px){.jr-payment-layout{grid-template-columns:1fr}.jr-line-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.jr-payment-methods{grid-template-columns:1fr}.jr-pay-form{flex-wrap:wrap}}

.jr-paid-row{display:flex;align-items:center;gap:8px;margin:16px 0;font-size:14px}.jr-paid-row span{flex:1}.jr-paid-row strong{white-space:nowrap}.jr-paid-row button{border:0;background:transparent;cursor:pointer;padding:6px}.jr-paid-row svg{width:18px;height:18px}.jr-paid-complete{text-align:center;color:#248b45;padding:70px 15px;font-size:32px}.jr-paid-complete h3{color:#333;font-size:20px}

.jr-dialog-payment{height:min(850px,90vh);box-sizing:border-box;overflow-y:auto;scrollbar-gutter:stable}.jr-dialog.jr-payment-busy button:disabled{cursor:wait}.jr-dialog .jr-pay-method:disabled{cursor:not-allowed}.jr-dialog.jr-payment-busy .jr-pay-method:disabled{cursor:wait}#jrModalError{position:sticky;bottom:0;background:var(--card);padding:10px 0;z-index:2}#jrPaymentRecovery{padding:12px 0;display:flex;gap:10px;flex-wrap:wrap}

.jr-payment-success{color:#21843b;background:#e9f7ec;border:1px solid #b6dfc0;border-radius:10px;padding:15px;margin-top:20px;font-size:17px;font-weight:600}

/* Background sync to YClients: packages on their way and failed packages. */
.jr-visit.jr-visit-syncing{border-style:dashed;opacity:.78}
.jr-visit.jr-visit-failed{border-left:3px solid var(--danger,#a64635)}
.jr-visit .jr-sync-failed-note{color:var(--danger,#a64635);opacity:1;font-weight:600}
.jr-sync-alert{margin:0 0 12px;padding:12px 14px;border:1px solid var(--danger,#a64635);border-left-width:4px;border-radius:12px;background:var(--card);color:var(--danger,#a64635);font-size:13px}
.jr-sync-alert strong{display:block;overflow-wrap:anywhere}
.jr-sync-alert p{color:var(--t2);margin:8px 0 0}
.jr-sync-alert .jr-actions{margin-top:10px}
.jr-sync-alert .jr-actions:empty{display:none}
.jr-paid-row.jr-pay-queued{padding:6px 8px;margin:10px 0;border:1px dashed var(--bd);border-radius:8px;background:var(--as)}
.jr-paid-row.jr-pay-queued small{display:block;font-size:11px;color:var(--t3);margin-top:2px}
.jr-paid-row.jr-pay-removed span,.jr-paid-row.jr-pay-removed strong{text-decoration:line-through;color:var(--t3)}
.jr-pay-method.is-preferred{outline:2px solid var(--a)}
/* Manual dispatch to YClients (10.11.2026) */
.jr-visit.jr-visit-unsent{box-shadow:inset 3px 0 0 var(--warning,#b7791f)}
.jr-visit .jr-sync-unsent-note{color:var(--warning,#b7791f);opacity:1;font-weight:600}
.jr-unsent-hint{color:var(--warning,#b7791f)}
.jr-dispatch-form{display:grid;gap:12px;max-width:520px}
.jr-dispatch-period{display:flex;gap:12px;flex-wrap:wrap}
.jr-dispatch-period label{display:grid;gap:4px}
.jr-dispatch-preview{font-weight:600}
.jr-dispatch-progress{display:grid;gap:8px;max-width:560px}
.jr-dispatch-failures{display:grid;gap:6px;padding-left:0;list-style:none}
.jr-dispatch-failures li{display:flex;gap:8px;align-items:center;flex-wrap:wrap}

/* Card colour = visit status (same palette as the block in the grid); follows a status click at once. */
.jr-dialog[data-status]{--jr-st:#6b83a8;--jr-st-bg:#eaf0f9;border-top:6px solid var(--jr-st)}
.jr-dialog[data-status="1"]{--jr-st:#4f8a6c;--jr-st-bg:#dceee5}
.jr-dialog[data-status="2"]{--jr-st:#b39545;--jr-st-bg:#f6efd9}
.jr-dialog[data-status="-1"]{--jr-st:#b0705c;--jr-st-bg:#f3e9e5}
.jr-dialog[data-status] .jr-booking-main{border-color:var(--jr-st);box-shadow:inset 0 4px 0 var(--jr-st)}
.jr-dialog[data-status] .jr-state-pill.is-current{background:var(--jr-st);color:#fff}
.jr-dialog[data-status] .jr-visit-summary{box-shadow:inset 3px 0 0 var(--jr-st)}
button.jr-service-line{width:100%;text-align:left;font:inherit;color:inherit;cursor:pointer}
button.jr-service-line:hover,button.jr-service-line:focus-visible{border-color:var(--a,#85704a);outline:none;background:var(--as,var(--card))}

/* Палитра статусов YClients (11.11.2026): цвета сняты с картинок справки
   support.yclients.ru «Статусы визита». Ожидание — мятный, подтвердил —
   сиреневый, не пришёл — красный, пришёл: оплачен полностью — оранжевый,
   не полностью — жёлтый. Шапка записи — зелёная #1ab394. Текст тёмный в обеих темах. */
.jr-visit,.jr-visit.jr-status-0{--jr-yc:#9ee5d7;--jr-yc-bd:#7fd3c3}
.jr-visit.jr-status-2{--jr-yc:#b3bdfd;--jr-yc-bd:#95a1ef}
.jr-visit.jr-status--1{--jr-yc:#ff8989;--jr-yc-bd:#ec6f6f}
.jr-visit.jr-status-1{--jr-yc:#f7c76d;--jr-yc-bd:#e3b154}
.jr-visit.jr-status-1.jr-paid-full{--jr-yc:#ffad79;--jr-yc-bd:#ef9761}
.jr-visit{background:var(--jr-yc);border:1px solid var(--jr-yc-bd);border-top:3px solid #1ab394;border-left-width:1px;color:#333}
.jr-visit small{opacity:.85}
.jr-dialog[data-status]{--jr-st:#7fd3c3;--jr-st-bg:#9ee5d7}
.jr-dialog[data-status="2"]{--jr-st:#95a1ef;--jr-st-bg:#b3bdfd}
.jr-dialog[data-status="-1"]{--jr-st:#ec6f6f;--jr-st-bg:#ff8989}
.jr-dialog[data-status="1"]{--jr-st:#e3b154;--jr-st-bg:#f7c76d}
.jr-dialog[data-status="1"][data-paid-full]{--jr-st:#ef9761;--jr-st-bg:#ffad79}
.jr-dialog[data-status]{border-top:6px solid var(--jr-st-bg)}
.jr-dialog[data-status] .jr-booking-main{border-color:var(--jr-st);box-shadow:inset 0 6px 0 var(--jr-st-bg)}
.jr-dialog[data-status] .jr-state-pill.is-current{background:var(--jr-st-bg);color:#333}
.jr-dialog[data-status] .jr-visit-summary{box-shadow:inset 4px 0 0 var(--jr-st-bg)}
/* Вопрос при закрытии с несохранёнными изменениями (11.11.2026) */
.jr-close-ask{position:sticky;bottom:0;z-index:5;margin-top:12px;padding:14px 16px;border:1px solid var(--a,#85704a);border-radius:12px;background:var(--card);box-shadow:0 -6px 18px rgba(0,0,0,.12)}
.jr-close-ask p{margin:0 0 10px;font-size:14px}
.jr-close-ask .jr-actions{margin-top:0}
.jr-bill-summary{display:grid;gap:6px;padding:12px 0;border-bottom:1px solid var(--bd);font-size:13px}.jr-bill-sum{display:flex;justify-content:space-between;gap:10px;color:var(--t2)}.jr-bill-sum-total{color:inherit;font-weight:600}
.jr-pay-badge{display:inline-block;margin-top:4px;padding:2px 8px;border-radius:999px;font-style:normal;font-size:11px;line-height:1.5;background:var(--as);color:var(--t2)}.jr-pay-badge-confirmed{color:#1b7f3b}.jr-pay-badge-queued{color:#9a6a00}.jr-pay-badge-sending{color:#1f5fbf}.jr-pay-badge-failed{color:#b3261e}.jr-paid-row.jr-pay-server span{display:grid}

/* Parity with YClients (12.11.2026): breaks, colour, labels, marks, technical break, print. */
.jr-cell-break{background:repeating-linear-gradient(45deg,var(--bg) 0,var(--bg) 3px,transparent 3px,transparent 9px);color:var(--t3)}
.jr-cell-break span{display:block;font-size:10px;padding:2px 0 0 4px;white-space:nowrap}
.jr-marks{display:inline-flex;gap:3px;align-items:center;margin-left:5px;vertical-align:middle}
.jr-mark{font-size:11px;line-height:1;font-weight:400}
.jr-label-dot{display:inline-block;width:8px;height:8px;border-radius:50%;border:1px solid rgba(0,0,0,.25);flex:0 0 8px}
.jr-break-band{position:absolute;z-index:1;border:1px dashed var(--t3);border-radius:4px;background:repeating-linear-gradient(135deg,var(--bg) 0,var(--bg) 4px,var(--card) 4px,var(--card) 8px);font-size:10px;line-height:1;color:var(--t2);text-align:center;overflow:hidden;pointer-events:none}
@media print{
  body[data-page="journal"] .topbar,body[data-page="journal"] .mnav-drawer,.jr-toolbar,#jrReview,#jrState,#jrStaffChips,#jrMonth{display:none!important}
  .jr-scroll{max-height:none;overflow:visible;border:0}
  .jr-calendar{min-width:0;grid-template-columns:44px repeat(var(--jr-columns),minmax(0,1fr))}
  .jr-heading,.jr-corner{position:static}
  .jr-hours{position:relative}
  body[data-page="journal"] #app{display:block!important;height:auto!important;overflow:visible!important}
  body[data-page="journal"] #app::before,body[data-page="journal"] #app::after{display:none}
  body[data-page="journal"] .content{overflow:visible;padding:0}
  .jr-visit,.jr-break-band,.jr-cell-break,.jr-label-dot{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}

/* Week view, month calendar, phone day (13.11.2026). 700px = JR_MOBILE_MAX in journal.js. */
.jr-view-switch{display:inline-flex}
.jr-view-switch .btn{border-radius:0}
.jr-view-switch .btn:first-child{border-radius:8px 0 0 8px}
.jr-view-switch .btn:last-child{border-radius:0 8px 8px 0}
.jr-view-switch .btn.is-active{background:var(--as);color:var(--a);border-color:var(--a)}
.jr-week .jr-heading.is-selected{color:var(--a)}
.jr-month{position:absolute;top:calc(100% + 6px);left:0;z-index:30;width:340px;max-width:calc(100vw - 24px);box-sizing:border-box;margin:0;padding:12px;border:1px solid var(--bd);border-radius:12px;background:var(--card);box-shadow:0 8px 24px rgba(0,0,0,.12)}
.jr-month[hidden]{display:none}
.jr-month-head{display:flex;align-items:center;gap:6px;margin-bottom:8px}
.jr-month-head strong{flex:1;text-align:center;text-transform:capitalize}
.jr-month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.jr-month-wd{font-size:11px;color:var(--t3);text-align:center}
.jr-month-day{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 0;border:1px solid var(--bd);border-radius:8px;background:var(--card);color:inherit;font:inherit;font-size:13px;cursor:pointer}
.jr-month-day.is-current{border-color:var(--a);color:var(--a);font-weight:600}
.jr-density{font-style:normal;font-size:10px;line-height:1;min-height:10px;color:var(--a)}
.jr-density-3{color:var(--danger,#a64635)}
.jr-staff-chips[hidden]{display:none}
@media (max-width:700px){
  #jrViewWeek{display:none}
  .jr-staff-chips{display:flex;gap:6px;overflow-x:auto;padding:0 0 10px}
  .jr-chip{flex:0 0 auto;padding:6px 12px;border:1px solid var(--bd);border-radius:16px;background:var(--card);color:inherit;font:inherit;font-size:13px}
  .jr-chip.is-active{border-color:var(--a);background:var(--as);color:var(--a)}
  .jr-calendar{grid-template-columns:46px minmax(0,1fr);min-width:0}
  .jr-toolbar input,.jr-toolbar select{max-width:none}
}
/* Drag-and-drop (12.11.2026). The handle is an <i>: .jr-visit-short>span is hidden. */
.jr-resize{position:absolute;left:0;right:0;bottom:0;height:7px;cursor:ns-resize}
.jr-visit.jr-draggable{user-select:none;-webkit-user-select:none}
@media (pointer:fine){.jr-visit.jr-draggable{touch-action:none;cursor:grab}}
.jr-visit.jr-visit-dragging{opacity:.75;z-index:5;box-shadow:0 6px 18px rgba(0,0,0,.2);cursor:grabbing}
[data-theme="dark"] .jr-visit.jr-visit-dragging{box-shadow:0 6px 18px rgba(0,0,0,.55)}

/* Card parity fields (12.11.2026). */
.jr-extra{display:grid;gap:4px;margin:0 0 12px}
.jr-colors{display:flex;flex-wrap:wrap;gap:6px}
.jr-color{width:24px;height:24px;padding:0;border:2px solid transparent;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15);cursor:pointer}
.jr-color.is-current{border-color:var(--a)}
.jr-color:disabled{opacity:.5;cursor:default}
.jr-color-none{background:var(--card);color:var(--t3);font-size:12px;line-height:20px}
.jr-labels{display:grid;gap:4px}
.jr-label-choice,.jr-notify{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--t1,#222)}
.jr-label-choice input,.jr-notify input{width:auto}
.jr-label-dot{width:10px;height:10px;border-radius:50%;display:inline-block}
.jr-client-phone{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:6px 0 10px}
.jr-client-phone a{font-weight:600;color:var(--a)}
.btn.jr-danger{color:var(--danger,#a64635);border-color:var(--danger,#a64635)}
[data-theme="dark"] .jr-color{box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}

/* History and client panel (13.11.2026). */
.jr-placeholder.jr-tool-live{cursor:pointer}
.jr-history-box{margin:0 0 16px;max-height:320px;overflow:auto;font-size:12px}
.jr-history-box[hidden]{display:none}
.jr-history{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.jr-history>li{padding:8px;border:1px solid var(--bd);border-radius:8px}
.jr-history-head{display:flex;flex-wrap:wrap;gap:6px;align-items:baseline}
.jr-history-head time{color:var(--t3)}
.jr-history ul,.jr-last-visits,.jr-abonements{margin:4px 0 0;padding-left:16px;font-size:12px}
.jr-history .jr-sync-failed-note{color:var(--danger,#a64635)}
/* «История посещений» (13.11.2026) */
.jr-dialog-visits #jrModalBody{display:grid;gap:12px}
.jr-vh-toolbar{display:flex;gap:8px;align-items:center;justify-content:space-between}
.jr-vh-toolbar select{min-width:240px;padding:10px 12px;border:1px solid var(--bd);border-radius:10px;background:var(--card);color:inherit;font:inherit}
.jr-vh-table{display:grid;gap:0}
.jr-vh-head,.jr-vh-entry{display:grid;grid-template-columns:minmax(150px,1.3fr) 56px minmax(0,3fr) 44px;gap:10px;align-items:start}
.jr-vh-head{padding:12px 10px;border-radius:10px;background:var(--bg2,rgba(0,0,0,.04));color:var(--t3);font-size:12px;font-weight:600}
.jr-vh-head .jr-vh-line{min-height:0}.jr-vh-head .jr-vh-money{font-size:12px}
.jr-vh-day{border-bottom:1px solid var(--bd);padding:4px 10px 10px}
.jr-vh-day>h4{display:flex;justify-content:space-between;margin:14px 0 8px;color:var(--t3);font-size:13px;font-weight:600}
.jr-vh-day>h4 small{font-weight:500}
.jr-vh-entry{padding:8px 0}
.jr-vh-staff{display:flex;gap:8px;align-items:flex-start;min-width:0}
.jr-vh-staff strong{display:block;font-size:13px;overflow-wrap:anywhere}
.jr-vh-staff small{color:var(--t3);font-size:12px}
.jr-vh-details,.jr-vh-more{border:0;background:none;padding:0;color:var(--accent,#2f5fd0);font:inherit;font-size:12px;cursor:pointer}
.jr-vh-more{margin:2px 0 6px 26px;color:var(--t3)}
.jr-vh-status{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:6px;font-size:14px;font-weight:700}
.jr-vh-status svg{width:14px;height:14px}
.jr-vh-wait{background:#fdf0c4;color:#9a6b00}.jr-vh-came{background:#e2f5df;color:#2f7d32}
.jr-vh-noshow{background:#fbe1dc;color:#a64635}.jr-vh-confirmed{background:#f1e7cf;color:#8a6a2a}
.jr-vh-sale{background:var(--bg2,rgba(0,0,0,.05));color:var(--t2);font-size:12px}
.jr-vh-lines{display:grid;gap:2px;min-width:0}
.jr-vh-line{display:grid;grid-template-columns:minmax(0,1fr) 90px 90px;gap:8px;align-items:center;min-height:30px}
.jr-vh-link{display:flex;gap:8px;align-items:center;min-width:0;border:0;background:none;padding:4px 0;color:inherit;font:inherit;font-size:13px;text-align:left;cursor:pointer}
.jr-vh-link:hover span{text-decoration:underline}
.jr-vh-link svg{width:16px;height:16px;flex-shrink:0;color:var(--t3)}
.jr-vh-link>span{overflow-wrap:anywhere}
.jr-vh-static{cursor:default}.jr-vh-static:hover span{text-decoration:none}
.jr-vh-tag{display:inline-block;margin-right:6px;padding:1px 6px;border-radius:6px;background:var(--bg2,rgba(0,0,0,.05));color:var(--t2);font-size:11px}
.jr-vh-note{display:block;color:var(--t3);font-size:11px}
.jr-vh-money{text-align:right;font-size:13px;white-space:nowrap}
.jr-vh-cons{margin-left:26px;color:var(--t3);font-size:12px;line-height:1.4}
.jr-vh-repeat{width:36px;height:36px;padding:0;display:inline-flex;align-items:center;justify-content:center}
.jr-vh-repeat svg{width:18px;height:18px}
@media (max-width:700px){
  .jr-vh-head{display:none}
  .jr-vh-entry{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"staff status" "lines lines" "repeat repeat"}
  .jr-vh-staff{grid-area:staff}.jr-vh-status{grid-area:status}.jr-vh-lines{grid-area:lines}.jr-vh-repeat{grid-area:repeat;justify-self:end}
  .jr-vh-line{grid-template-columns:minmax(0,1fr) 72px 72px}
  .jr-vh-toolbar select{min-width:0;flex:1}
}
/* Ссылка на карточку клиента LoyalPro (имя в панели клиента) */
.jr-client-link{border:0;background:none;padding:0;margin:0;color:inherit;font:inherit;font-size:17px;font-weight:500;line-height:1.4;text-align:left;cursor:pointer;overflow-wrap:anywhere}
.jr-client-link:hover,.jr-client-link:focus-visible{color:var(--accent,#2f5fd0);text-decoration:underline}
/* «Лояльность»: карты, абонементы, сертификаты клиента */
.jr-dialog-loyalty #jrModalBody{display:grid;gap:16px}
.jr-ly-toolbar{display:flex;gap:8px;align-items:center;justify-content:space-between}
.jr-ly-toolbar select{width:auto;flex:0 1 380px;min-width:300px;padding:10px 12px;border:1px solid var(--bd);border-radius:10px;background:var(--card);color:inherit;font:inherit}
.jr-ly-section{display:grid;gap:10px}
.jr-ly-section>h3{font-size:15px;font-weight:600}
.jr-ly-item{display:grid;gap:12px;padding:16px;border:1px solid var(--bd);border-radius:12px;background:var(--card)}
.jr-ly-head{display:flex;gap:12px;justify-content:space-between;align-items:flex-start}
.jr-ly-head h4{font-size:15px;font-weight:600;overflow-wrap:anywhere}
.jr-ly-number{color:var(--t2);font-size:14px;margin-top:2px}
.jr-ly-head small{color:var(--t3);font-size:12px}
.jr-ly-toggle{flex-shrink:0;border:0;background:none;padding:4px 0;color:var(--t2);font:inherit;font-size:13px;cursor:pointer}
.jr-ly-tiles{display:flex;flex-wrap:wrap;gap:8px}
.jr-ly-tile{min-width:120px;padding:10px 14px;border:1px solid var(--bd);border-radius:10px;background:var(--bg2,rgba(0,0,0,.03))}
.jr-ly-tile small{display:block;color:var(--t3);font-size:12px}
.jr-ly-tile strong{display:block;margin-top:2px;font-size:14px;font-weight:500}
.jr-ly-tabs{display:flex;gap:18px;border-bottom:1px solid var(--bd)}
.jr-ly-tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:8px 2px;color:var(--t2);font:inherit;font-size:13px;cursor:pointer}
.jr-ly-tabs button.is-active{border-bottom-color:var(--accent,#c9a227);color:inherit;font-weight:500}
.jr-ly-sub{font-size:13px;color:var(--t2)}
.jr-ly-table{width:100%;border-collapse:collapse;font-size:13px}
.jr-ly-table th{text-align:left;color:var(--t3);font-weight:600;font-size:12px;padding:8px 6px;border-bottom:1px solid var(--bd)}
.jr-ly-table td{padding:8px 6px;border-bottom:1px solid var(--bd);vertical-align:top}
.jr-ly-plus{color:#2f7d32;white-space:nowrap}.jr-ly-minus{color:#a64635;white-space:nowrap}
@media (max-width:700px){.jr-ly-toolbar select{min-width:0;flex:1}.jr-ly-tile{flex:1 1 40%;min-width:0}}
.jr-ly-toolbar .btn{white-space:nowrap}

/* Record window like YClients (13.11.2026): layout and proportions follow the
   YClients record window, colours stay LoyalPro's (variables only). */
.jr-dialog-card .jr-dialog-head{position:absolute;top:24px;right:30px;margin:0;z-index:6}
.jr-dialog-card .jr-dialog-head h2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.jr-dialog-card .jr-dialog-head .btn{width:30px;height:30px;padding:0;border-radius:8px;display:grid;place-items:center;font-size:13px}
.jr-dialog-card{padding-top:12px}
.jr-dialog-card .jr-booking-layout{grid-template-columns:244px minmax(360px,1fr) 324px;gap:10px;min-height:600px}
.jr-dialog-card .jr-booking-panel{border-radius:14px;padding:16px}
.jr-dialog-card .jr-booking-side{padding:0 0 12px}
.jr-dialog-card .jr-placeholder>small{display:none}
.jr-dialog-card .jr-visit-summary{padding:12px;margin-bottom:22px;border-radius:12px}
.jr-dialog-card .jr-staff-identity,.jr-dialog-card .jr-visit-date{margin-bottom:14px}
.jr-dialog-card .jr-staff-identity strong,.jr-dialog-card .jr-visit-date strong{font-size:14px;font-weight:500}
.jr-dialog-card .jr-staff-identity small,.jr-dialog-card .jr-visit-date small{font-size:12px;color:var(--t3)}
.jr-dialog-card .jr-staff-avatar{flex:0 0 32px;width:32px;height:32px;border-radius:8px;object-fit:cover}
.jr-date-icon{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:50%;background:var(--card);color:var(--t2)}
.jr-date-icon svg{width:16px;height:16px}
.jr-move-row{display:flex;gap:6px;margin-top:20px}
.jr-move-row .jr-move-btn{flex:1;width:auto;min-height:34px;font-weight:500;background:var(--card)}
.jr-dialog-card .jr-move-row .btn svg{width:16px;height:16px;flex:none}
.jr-pencil{flex:0 0 34px;width:34px;height:34px;padding:0;display:grid;place-items:center;background:var(--card)}
.jr-pencil.is-current{background:var(--as);color:var(--a);border-color:var(--a)}
.jr-extra-box{border:1px solid var(--bd);border-radius:12px;background:var(--card);padding:12px 8px 2px;margin:-12px 0 20px}
.jr-extra-box[hidden]{display:none}
.jr-pinned{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:500;margin:0 0 8px;color:var(--t1)}
.jr-pinned svg{width:15px;height:15px}
.jr-dialog-card .jr-side-label{padding:0;gap:6px;margin-bottom:24px;color:var(--t3)}
.jr-dialog-card .jr-side-label textarea{min-height:74px;border-radius:8px}
.jr-dialog-card .jr-extra-box .jr-side-label{margin-bottom:14px;padding:0 4px}
.jr-dialog-card .jr-tools{padding:0;gap:6px}
.jr-dialog-card .jr-tools .jr-placeholder{min-height:74px;border-radius:8px;gap:6px;font-size:12px;color:var(--t1)}
.jr-dialog-card .jr-placeholder:disabled{opacity:.55}
.jr-dialog-card .jr-tool-live{cursor:pointer}
.jr-dialog-card .jr-tool-live:hover{border-color:var(--a);color:var(--a)}
/* Middle column */
.jr-dialog-card .jr-booking-main{gap:22px;padding:18px 16px}
.jr-dialog-card .jr-status-bar{gap:6px}
.jr-dialog-card .jr-state-pill{min-height:32px;padding:6px 10px;border:0;border-radius:8px;font-size:12px;font-weight:500;color:var(--t2);background:var(--bg)}
.jr-dialog-card button.jr-state-pill:not(:disabled){border:0}
.jr-dialog-card .jr-state-pill.is-current{background:var(--t1);color:var(--card)}
.jr-dialog-card .jr-service-lines{margin:0;gap:8px}
.jr-dialog-card .jr-service-line{display:grid;grid-template-columns:minmax(0,1fr) auto 18px;grid-template-rows:auto auto;column-gap:14px;row-gap:4px;align-items:center;padding:12px 14px 14px 16px;border-radius:10px;text-align:left;font:inherit;color:inherit;width:100%}
.jr-dialog-card .jr-service-line>small{grid-column:1/-1;font-size:12px;color:var(--t3)}
.jr-dialog-card .jr-service-line>span{font-size:15px}
.jr-dialog-card .jr-service-line>strong{font-size:15px;font-weight:500}
.jr-dialog-card .jr-service-line>svg{width:16px;height:16px;color:var(--t3)}
.jr-dialog-card div.jr-service-line{grid-template-columns:minmax(0,1fr) auto}
.jr-dialog-card button.jr-service-line{cursor:pointer;background:var(--card)}
.jr-dialog-card button.jr-service-line:hover{border-color:var(--a)}
#jrEditServices[hidden]{display:none}
.jr-dialog-card .jr-service-panel{padding:12px 12px 6px;border-radius:12px}
.jr-dialog-card .jr-service-tabs{background:var(--bd);background:color-mix(in srgb,var(--bd) 55%,var(--bg));border:0;border-radius:9px;padding:3px;margin-bottom:12px}
.jr-dialog-card .jr-service-tabs>.is-active{border:0;border-radius:7px;padding:6px;font-size:13px;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.jr-dialog-card .jr-service-tabs svg{width:16px;height:16px}
.jr-search{position:relative;display:block;margin-bottom:18px}
.jr-search>svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--t3);pointer-events:none}
.jr-search input{width:100%;box-sizing:border-box;padding-left:32px;background:var(--card);border-radius:8px;min-height:34px}
.jr-popular-title{font-size:13px;font-weight:500;margin:0 0 10px 4px;color:var(--t1)}
.jr-popular-title[hidden]{display:none}
.jr-dialog-card .jr-service-choices{gap:8px}
.jr-dialog-card .jr-service-choice{min-height:104px;border:1px solid var(--bd);background:var(--card);color:var(--t1);border-radius:12px;padding:12px}
.jr-dialog-card .jr-service-choice:hover{border-color:var(--a);background:var(--card)}
.jr-dialog-card .jr-service-choice span{font-size:15px;line-height:1.35}
.jr-dialog-card .jr-service-choice small{color:var(--t3)}
.jr-last-tag{align-self:flex-start;margin-top:auto;font-style:normal;font-size:11px;padding:2px 6px;border-radius:4px;background:var(--as);color:var(--a)}
.jr-dialog-card .jr-all-services{margin-top:14px}
.jr-dialog-card .jr-all-services>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;padding:8px 6px;font-size:13px;font-weight:500}
.jr-dialog-card .jr-all-services>summary::-webkit-details-marker{display:none}
.jr-dialog-card .jr-all-services>summary svg{width:16px;height:16px;transition:transform .15s}
.jr-dialog-card .jr-all-services[open]>summary svg{transform:rotate(180deg)}
.jr-dialog-card .jr-payment-panel{margin-top:0;min-height:0;display:block;text-align:left;padding:16px 14px;border-radius:12px;background:var(--card)}
.jr-pay-due{display:flex;align-items:baseline;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--bd);margin-bottom:14px}
.jr-pay-due span{font-size:15px;color:var(--t2)}
.jr-pay-due strong{font-size:20px;font-weight:600}
.jr-pay-quick-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:13px}
.jr-link-btn{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;padding:4px;font:inherit;font-size:13px;font-weight:500;color:var(--t1)}
.jr-link-btn svg{width:16px;height:16px}
.jr-dialog-card .jr-link-btn.jr-placeholder{flex-direction:row;border:0;min-height:0}
.jr-pay-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.jr-quick-pay{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr;column-gap:8px;row-gap:12px;align-items:center;justify-items:start;text-align:left;min-height:90px;padding:12px;border:1px solid var(--bd);border-radius:10px;background:var(--card);color:var(--t1);font:inherit;cursor:pointer}
.jr-quick-pay.is-quick{border-color:var(--a)}
.jr-quick-pay svg{width:16px;height:16px}
.jr-quick-pay>strong,.jr-quick-pay>span{font-size:15px;font-weight:400}
.jr-quick-pay>small{grid-column:1/-1;align-self:start;font-size:12px;color:var(--t3)}
.jr-quick-pay:not(:disabled):hover{background:var(--as)}
.jr-dialog-card .jr-quick-pay.jr-placeholder{display:grid;align-items:center;justify-content:stretch}
.jr-dialog-card .jr-quick-pay.jr-placeholder>small{display:block}
/* Right column */
.jr-back-link{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;padding:4px 0;margin:2px 0 10px;font:inherit;font-size:13px;font-weight:500;color:var(--t1);cursor:pointer}
.jr-back-link svg{width:14px;height:14px}
.jr-dialog-card .jr-back-link.jr-placeholder{flex-direction:row;border:0;min-height:0;padding:4px 0}
.jr-change-client{margin-bottom:12px}
.jr-change-client[hidden]{display:none}
.jr-dialog-card .jr-client-tabs{margin-bottom:16px}
.jr-dialog-card .jr-client-tabs>.is-active{padding:12px 4px;font-size:14px;font-weight:500}
.jr-dialog-card .jr-client-tabs .jr-tab-stub{font-size:14px;color:var(--t2)}
.jr-dialog-card .jr-client-tabs .jr-tab-stub svg{display:none}
.jr-client-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.jr-dialog-card .jr-client-identity{margin-bottom:4px}
.jr-dialog-card .jr-client-identity h3,.jr-client-link{font-size:17px;font-weight:500;line-height:1.35}
.jr-client-link{border:0;background:transparent;padding:0;text-align:left;color:var(--t1);cursor:pointer;font-family:inherit}
.jr-client-link:hover{color:var(--a);text-decoration:underline}
.jr-client-acts{display:flex;gap:2px;flex-shrink:0}
.jr-icon-btn{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--t2);cursor:pointer}
.jr-icon-btn:not(:disabled):hover{background:var(--bg);color:var(--a)}
.jr-icon-btn svg{width:18px;height:18px}
.jr-dialog-card .jr-icon-btn.jr-placeholder{border:0;min-height:0;padding:0}
.jr-dialog-card .jr-client-phone{display:flex;align-items:center;gap:4px;margin:0;font-size:13px}
.jr-client-phone a{color:var(--t2);text-decoration:none}
.jr-client-phone .jr-icon-btn{width:22px;height:22px}
.jr-client-phone .jr-icon-btn svg{width:14px;height:14px}
.jr-dialog-card .jr-client-tools{gap:6px;margin:18px 0 22px}
.jr-dialog-card .jr-client-tools .jr-placeholder{min-height:70px;font-size:12px;border-radius:8px;color:var(--t1);gap:4px;padding:8px 4px}
.jr-dialog-card .jr-other-visitor{font-size:13px;color:var(--t1);margin:0 0 22px;gap:10px}
.jr-dialog-card .jr-client-info{margin-top:0;margin-bottom:26px}
.jr-dialog-card .jr-client-info h4{font-size:16px;font-weight:600;margin-bottom:14px}
.jr-dialog-card .jr-client-info h5{font-size:13px;font-weight:500;margin:16px 0 6px}
.jr-info-row{display:grid;gap:4px;margin-bottom:16px}
.jr-info-row>small{font-size:12px;color:var(--t3)}
.jr-info-row>span{font-size:14px;color:var(--t1);overflow-wrap:anywhere}
.jr-note{white-space:pre-wrap}
.jr-add-stub{display:inline-flex!important;flex-direction:row!important;justify-content:flex-start!important;gap:6px!important;border:0!important;background:transparent!important;padding:2px 0!important;min-height:0;font-size:13px!important;color:var(--t1)!important}
.jr-add-stub svg{width:14px;height:14px}
.jr-dialog-card .jr-client-stats{gap:14px 12px}
.jr-dialog-card .jr-client-stats p{font-size:12px;color:var(--t3);margin:0}
.jr-dialog-card .jr-client-stats p span{display:block;font-size:14px;color:var(--t1);margin-top:4px}
.jr-dialog-card .jr-client-info ul{margin:0;padding-left:16px;font-size:12px;color:var(--t2);line-height:1.5}
/* Footer: buttons at the right, on the window background */
.jr-dialog-card .jr-booking-footer{justify-content:flex-end;gap:8px;border-top:0;padding:10px 0 12px;margin-top:6px}
.jr-dialog-card .jr-booking-footer .btn{font-size:13px;min-height:34px;padding:7px 12px}
@media(max-width:1050px){.jr-dialog-card .jr-booking-layout{grid-template-columns:210px minmax(300px,1fr) 270px}.jr-pay-quick{grid-template-columns:1fr 1fr}}
@media(max-width:850px){.jr-dialog-card .jr-booking-layout{grid-template-columns:220px minmax(0,1fr)}.jr-dialog-card .jr-booking-client{grid-column:1/-1}}
@media(max-width:600px){.jr-dialog-card .jr-tools{grid-template-columns:1fr 1fr}.jr-dialog-card .jr-tools .jr-placeholder{font-size:12px;min-height:66px}.jr-dialog-card .jr-placeholder>span{overflow-wrap:normal}.jr-dialog-card .jr-booking-layout{display:flex;flex-direction:column}.jr-dialog-card .jr-dialog-head{top:14px;right:16px}.jr-pay-quick{grid-template-columns:1fr}.jr-dialog-card .jr-booking-footer{flex-direction:row;flex-wrap:wrap}}
/* Record window: «Клиент / Чат» tabs and the chat pane (13.11.2026). */
.jr-dialog-card .jr-client-tabs .jr-tab{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;border:0;border-bottom:3px solid transparent;background:transparent;padding:12px 4px;font:inherit;font-size:14px;font-weight:500;color:var(--t2);cursor:pointer}
.jr-dialog-card .jr-client-tabs .jr-tab.is-active{border-bottom-color:var(--a);color:var(--t1)}
.jr-dialog-card .jr-client-tabs .jr-tab:not(.is-active):hover{color:var(--a)}
#jrClientPane[hidden],.jr-chat-pane[hidden]{display:none}
.jr-chat-pane{display:flex;flex-direction:column;gap:10px}
.jr-chat-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.jr-chat-status{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:12px;color:var(--t3);min-height:18px}
.jr-chat-status .jr-link-btn,.jr-chat-head>.jr-link-btn{font-size:12px;padding:0;color:var(--a);white-space:nowrap}
.jr-chat-messages{display:flex;flex-direction:column;gap:8px;height:calc(94vh - 400px);height:calc(94dvh - 400px);min-height:240px;overflow-y:auto;overscroll-behavior:contain;padding:10px 8px;border:1px solid var(--bd);border-radius:10px;background:var(--card);--chat-fs:13px}
.jr-chat-messages .chat-msg{max-width:88%}
.jr-chat-messages .chat-bubble{padding:7px 10px}
.jr-chat-messages .jr-chat-empty{margin:auto;text-align:center;max-width:220px}
.jr-chat-chan{font-size:9px;padding:0 5px;border-radius:7px;background:var(--bg);color:var(--t2);border:1px solid var(--bd)}
.jr-chat-local .chat-bubble{opacity:.75}
.jr-chat-err{color:var(--danger,#c0392b)}
.jr-chat-composer{display:grid;grid-template-columns:1fr auto;gap:6px}
.jr-chat-composer select{grid-column:1/-1;min-height:30px;font-size:12px}
.jr-chat-composer textarea{resize:none;min-height:56px;max-height:140px;font-size:13px;border-radius:8px}
.jr-chat-composer .btn{align-self:end;min-height:34px;font-size:13px}
@media(max-width:600px){.jr-chat-messages{height:55vh}}
/* Journal page: compact header (13.11.2026). The page title and breadcrumbs
   are hidden, the top bar is lower and the toolbar fits one row: the schedule
   gets the height. */
html[data-skin="ivory"] body[data-page="journal"] .pg-hero,
body[data-page="journal"] .pg-hero{display:none!important}
html[data-skin="ivory"] body[data-page="journal"] .tb-crumb{display:none}
@media (min-width:1024px){
  html[data-skin="ivory"] body[data-page="journal"] #app{grid-template-rows:52px auto minmax(0,1fr)}
  html[data-skin="ivory"] body[data-page="journal"] .tb-logo{align-self:center;padding-bottom:0}
  html[data-skin="ivory"] body[data-page="journal"] .tb-right .btn{padding:4px 10px}
  html[data-skin="ivory"] body[data-page="journal"] .content{padding:12px 20px 16px}
}
@media (max-width:1023px){
  html[data-skin="ivory"] body[data-page="journal"] .topbar{height:48px}
  html[data-skin="ivory"] body[data-page="journal"] .content{padding:10px 12px}
}
body[data-page="journal"] .jr-toolbar{gap:6px;margin-bottom:6px}
body[data-page="journal"] .jr-toolbar .btn,body[data-page="journal"] .jr-toolbar input,body[data-page="journal"] .jr-toolbar select{min-height:32px;height:32px;padding-top:4px;padding-bottom:4px;font-size:12.5px}
body[data-page="journal"] .jr-toolbar .btn{padding-left:10px;padding-right:10px}
body[data-page="journal"] .jr-toolbar input[type=date]{width:132px}
body[data-page="journal"] .jr-toolbar #jrSearch{min-width:140px;max-width:220px}
body[data-page="journal"] .jr-toolbar select{max-width:180px}
body[data-page="journal"] .jr-working-filter{font-size:12px}
body[data-page="journal"] .jr-state{margin:2px 0 6px;font-size:11px}
body[data-page="journal"] .jr-scroll{max-height:calc(100vh - 150px);max-height:calc(100dvh - 150px)}
.jr-stock-editor{max-height:300px;overflow:auto;display:grid;gap:8px}.jr-stock-editor label{display:flex;gap:10px;align-items:center;justify-content:space-between}.jr-stock-editor input{width:100px}.jr-service-tabs button{background:none;border:0;color:inherit;font:inherit;cursor:pointer;padding:6px}.jr-service-tabs button.is-active{border-bottom:2px solid var(--a)}

/* Employee/day schedule menu (14.11.2026). */
.jr-staff-heading.is-menu-open{z-index:8}
.jr-staff-menu{position:relative;display:inline-block;max-width:100%}
.jr-staff-menu-toggle{display:inline-flex;align-items:center;gap:5px;max-width:100%;min-height:32px;margin:-6px 0 0 -6px;padding:5px 6px;border:0;border-radius:7px;background:transparent;color:inherit;font:inherit;font-weight:600;text-align:left;cursor:pointer}
.jr-staff-menu-toggle>span:first-child{overflow:hidden;text-overflow:ellipsis}
.jr-staff-menu-toggle:hover,.jr-staff-menu-toggle:focus-visible,.jr-staff-menu-toggle[aria-expanded="true"]{background:var(--as);color:var(--a);outline:none}
.jr-staff-menu-list{position:absolute;top:calc(100% + 3px);left:0;z-index:9;display:grid;min-width:210px;padding:5px;border:1px solid var(--bd);border-radius:10px;background:var(--card);box-shadow:0 8px 24px rgba(0,0,0,.16);font-size:13px;font-weight:400}
.jr-staff-menu-list[hidden]{display:none}
.jr-staff-menu-list button{min-height:38px;padding:8px 10px;border:0;border-radius:7px;background:transparent;color:var(--t1);font:inherit;text-align:left;white-space:nowrap;cursor:pointer}
.jr-staff-menu-list button:hover,.jr-staff-menu-list button:focus-visible{background:var(--as);color:var(--a);outline:none}
.jr-schedule-form{display:grid;gap:14px}
.jr-schedule-form>label,.jr-schedule-times>label{display:grid;gap:6px;font-size:13px}
.jr-schedule-form input{width:100%;box-sizing:border-box}
.jr-schedule-form input[readonly]{background:var(--bg);color:var(--t2)}
.jr-schedule-times{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.jr-schedule-form .jr-actions{margin-top:4px}
.jr-schedule-warning{margin:0;padding:10px 12px;border-left:3px solid var(--danger,#a64635);background:var(--bg);color:var(--t2);font-size:13px}
@media(max-width:700px){.jr-staff-menu-toggle{min-height:40px}.jr-staff-menu-list button{min-height:44px}}
@media print{.jr-staff-menu-list{display:none!important}.jr-staff-menu-toggle>span:last-child{display:none}}

.jr-schedule-status { display:block; border:0; background:transparent; color:var(--gold,#9b762e); font:inherit; font-size:11px; cursor:pointer; padding:2px 0; }
.jr-schedule-status.is-error { color:var(--danger,#b42318); }

/* Journal toolbar parity with the schedule header. */
body[data-page="journal"] .jr-toolbar{position:relative;display:flex;align-items:center;gap:6px;flex-wrap:nowrap;min-height:42px;margin-bottom:4px}
body[data-page="journal"] .jr-toolbar .btn,body[data-page="journal"] .jr-toolbar select{min-height:34px;height:34px}
.jr-date-nav{display:inline-flex;align-items:center;gap:2px;white-space:nowrap}
.jr-date-label{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:190px;padding:6px 8px;border:0;background:transparent;color:var(--t1);font:inherit;font-size:14px;font-weight:600;text-align:center;cursor:pointer}
.jr-date-label:hover,.jr-date-label:focus-visible{color:var(--a);outline:0}
#jrDate{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden}
.jr-icon-btn{width:35px;padding:6px!important;display:inline-flex;align-items:center;justify-content:center}
.jr-toolbar svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.jr-more-btn{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}
.jr-more-btn svg{width:14px;height:14px}
.jr-toolbar-popup{position:absolute;top:calc(100% + 6px);z-index:20;min-width:190px;padding:12px;border:1px solid var(--bd);border-radius:12px;background:var(--card);box-shadow:0 10px 28px rgba(0,0,0,.16);color:var(--t1);font-size:13px}
.jr-toolbar-popup[hidden]{display:none}
.jr-toolbar-popup strong{display:block;margin:0 0 8px;color:var(--t3);font-size:12px;font-weight:500}
.jr-toolbar-popup label{display:flex;align-items:center;gap:9px;min-height:32px;white-space:nowrap;cursor:pointer}
.jr-toolbar-popup input{width:auto!important;height:auto!important;min-height:0!important}
.jr-more-popup{display:grid;gap:8px}
.jr-toolbar-popup[hidden]{display:none!important}
.jr-more-search{display:block}.jr-more-search input{width:100%!important;box-sizing:border-box}
.jr-toolbar-secondary{display:flex;justify-content:flex-end;gap:6px;min-height:0;margin:-1px 0 6px}
.jr-toolbar-secondary .btn{min-height:28px;height:28px;padding:3px 9px;font-size:11px}
.jr-summary-wrap{display:inline-flex;align-items:stretch;margin-left:auto}
.jr-summary-trigger{display:inline-flex;align-items:center;gap:4px;border-radius:0 8px 8px 0;white-space:nowrap}
.jr-summary-trigger svg{width:14px;height:14px}
.jr-summary-plus{min-width:34px;padding:4px 8px!important;border-right:0!important;border-radius:8px 0 0 8px}
.jr-summary-popup{right:0;left:auto;min-width:340px;padding:14px 0;font-size:14px}
.jr-summary-popup>strong,.jr-summary-popup>.jr-summary-clients{display:inline-block;padding:0 14px;margin-bottom:8px}
.jr-summary-popup>.jr-summary-clients{float:right;color:var(--t3);font-size:12px}
.jr-summary-popup>div{display:flex;justify-content:space-between;gap:20px;padding:9px 14px}.jr-summary-popup>div>b{font-weight:400;white-space:nowrap}
.jr-summary-popup .jr-summary-total{margin-top:5px;padding-top:12px;border-top:1px solid var(--bd);font-weight:600}
.jr-summary-popup p{margin:0;padding:2px 4px;color:var(--t3)}
.jr-summary-popup .jr-summary-error{color:var(--danger,#a64635)}
.jr-summary-popup .jr-summary-retry{margin:8px 14px 0;min-height:30px}
.jr-summary-popup .jr-summary-info{display:inline-flex;align-items:center;justify-content:center;width:13px;height:13px;margin-left:2px;border:1px solid currentColor;border-radius:50%;font-size:9px;font-style:normal;line-height:1;color:var(--t3);cursor:help}
.jr-summary-popup .jr-summary-pending{display:block;padding:8px 14px 0;color:var(--t3);font-size:11px}
.jr-toolbar-popup input[type="checkbox"],.jr-toolbar-popup input[type="radio"]{accent-color:#ffc400}
body[data-page="journal"] .jr-toolbar .btn,body[data-page="journal"] .jr-toolbar select{font-weight:400}
body[data-page="journal"] .jr-toolbar .jr-date-label{font-weight:600}
/* Add-staff schedule form (shared with journal-staff-menu.js). */
.jr-schedule-add-form{max-width:460px}
.jr-dialog.jr-dialog-schedule-add{width:min(460px,calc(100vw - 24px));padding:22px}
.jr-dialog.jr-dialog-schedule-add .jr-dialog-head h2{font-size:20px;font-weight:400}
.jr-dialog.jr-dialog-schedule-add .jr-schedule-form{gap:10px}
.jr-dialog.jr-dialog-schedule-add .jr-schedule-times{gap:8px}
.jr-dialog.jr-dialog-schedule-add #jrScheduleSave{background:#ffc400;border-color:#ffc400;color:#2b2600}
.jr-dialog.jr-dialog-schedule-add #jrScheduleDate{font-size:12px;color:var(--t3);height:26px;border:0;background:transparent;padding:0}.jr-schedule-add-form>label:has(#jrScheduleDate){display:flex;align-items:center;gap:12px}.jr-schedule-add-form{gap:10px}.jr-schedule-add-form>.jr-hint{margin:0 0 4px}
.jr-schedule-add-form .jr-schedule-presets{display:flex;flex-wrap:wrap;gap:8px}
.jr-schedule-preset{min-height:32px;padding:6px 10px;border:0;border-radius:8px;background:color-mix(in srgb,var(--t1) 8%,var(--card));color:var(--t1);font:inherit;font-size:12px;cursor:pointer}
.jr-schedule-preset:hover,.jr-schedule-preset.is-selected{background:#ffc400;color:#2b2600}
.jr-schedule-breaks{display:grid;gap:8px}
.jr-schedule-break-head{display:flex;justify-content:space-between;align-items:center;color:var(--t3);font-size:12px}
.jr-schedule-break-list{display:grid;gap:6px}
.jr-schedule-break-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto;gap:6px;align-items:center}
.jr-schedule-break-row input{min-width:0}
.jr-schedule-break-add{justify-self:start;border:0;background:transparent;color:var(--a);font:inherit;font-size:12px;cursor:pointer;padding:3px 0}
.jr-schedule-add-form .jr-actions{justify-content:flex-end}
body[data-page="journal"] .jr-toolbar-secondary .btn{height:auto;min-height:28px;white-space:normal;line-height:1.2}
@media(max-width:900px){body[data-page="journal"] .jr-toolbar{flex-wrap:wrap}.jr-summary-wrap{margin-left:0}.jr-toolbar-secondary{justify-content:flex-start;overflow:auto}.jr-date-label{min-width:150px}}
@media(max-width:390px){body[data-page="journal"] .jr-toolbar{gap:4px}.jr-date-label{min-width:0;font-size:13px}.jr-today{padding-left:7px!important;padding-right:7px!important}.jr-icon-btn{width:32px}.jr-more-btn{font-size:12px;padding-left:7px!important;padding-right:7px!important}.jr-summary-trigger{max-width:115px;overflow:hidden}.jr-summary-popup{right:0;min-width:min(315px,calc(100vw - 24px))}.jr-toolbar-secondary{flex-wrap:wrap;overflow:visible}.jr-toolbar-secondary .btn{flex:1 1 auto}}
@media print{.jr-toolbar-secondary{display:none!important}.jr-toolbar-popup{display:none!important}}

/* Confirmed payment: compact receipt card and a dedicated success screen. */
.jr-payment-panel.jr-payment-complete-card{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:16px;min-height:186px;padding:28px 20px}
.jr-payment-check{display:flex;align-items:center;justify-content:center;width:48px;height:48px;flex-shrink:0;border-radius:50%;background:#ddf5df;color:#18a846}
.jr-payment-check svg{width:24px;height:24px}
.jr-payment-complete-card h3,.jr-payment-complete-message h3{margin:0;font-size:18px;font-weight:600;color:var(--t1)}
.jr-payment-complete-layout .jr-payment-content{display:flex;flex-direction:column;min-width:0}
.jr-payment-complete-content>header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.jr-payment-complete-content>header h3{margin:0}
.jr-payment-complete-message{flex:1;min-height:340px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:20px;padding:24px 12px}
.jr-payment-complete-layout .jr-payment-bill>h4{margin:28px 0 12px;font-size:15px;font-weight:600}
.jr-payment-complete-layout .jr-paid-row{align-items:center}
.jr-payment-complete-layout .jr-paid-row>span{min-width:0;overflow-wrap:anywhere}
.jr-payment-complete-layout .jr-paid-row>strong{white-space:nowrap}
@media(max-width:650px){.jr-payment-complete-layout{min-height:0}.jr-payment-complete-message{min-height:200px}.jr-payment-complete-content>header{align-items:flex-start}.jr-payment-panel.jr-payment-complete-card{min-height:170px}}
