/* MADAR V12.6 — permanent dark surfaces and crisp, static vector space. */
:root{color-scheme:dark;--ink:#edf4ff;--muted:#b1c2d9;--blue:#326bd1;--light:#080f20;--green:#187344;--red:#b02e3a;--surface:#111f35;--raised:#192b45;--line:#435b7c}
html body{color:#edf4ff;background-color:#080f20!important;background-image:url('assets/stars-hd.svg'),radial-gradient(ellipse at 75% 0,#192e50 0,transparent 65%)!important;background-size:1000px 750px,100% 1100px!important;background-position:center top!important;background-repeat:repeat, no-repeat!important;background-attachment:scroll!important}
html body #booking .booking-main-card,html body #hospitality,html body #hospitality .card,html body #admin,html body #admin .card,html body .card,html body .admin-panel,html body .softpanel,html body .v11-management-block{background:#111f35!important;border-color:#435b7c!important;color:#edf4ff;box-shadow:0 12px 32px #0003!important}
html body :is(.login-card,.login-sidecard,.ops-box,.ops-panel,.item,.summary-card,.rules-card .rule-list div,.admin-mini>div,.soft-empty,.instant-preview){background:#192b45!important;border-color:#435b7c!important;color:#edf4ff}
html body :is(h2,h3,h4,label,.rp-flow-title,.pod-live-title,.pod-live-minutes,.ops-panel strong,.ops-box h4,.admin-mini strong,.admin-panel h3,.admin-panel h4,.rp-hospitality-intro h3,.summary-row strong){color:#edf4ff!important}
html body :is(.hint,.muted,.rp-mode-hint,.rp-hospitality-intro p,.rp-task-top,.rp-task-note,.rp-task-time,.rp-checkin-note,.mini-bullets,.summary-row span,.ops-line span,.ops-panel span,.admin-chart-label,.stat span,.rules-card span,.rp-app-form small,.rp-app-version,.rp-reminder-dialog>small){color:#b8cae0!important}
html body :is(.section-kicker,.section-caption,.rp-service-summary strong,.rp-service-history summary,.rp-reminder-options summary){color:#9dc9ff!important}
html body #stickyNavigation{background:#0d192deF!important;border-color:#435b7c!important;box-shadow:0 5px 20px #0004!important}
html body .tabs{background:#0b1527!important;border-color:#435b7c!important;box-shadow:none!important}
html body .tabs button{background:transparent!important;color:#c7d6e9!important;border:1px solid transparent!important}
html body .tabs button.on,html body .tabs button.active{background:#326bd1!important;color:#fff!important;border-color:#91b8fb!important;box-shadow:inset 0 -3px #acd3ff!important}
html body button{background:#326bd1;color:#fff;border:1px solid #81aaf0;min-height:46px;font-weight:700;box-shadow:0 3px 10px #0002}
html body button.secondary,html body button.rp-app-launch,html body button.rp-close{background:#223c5c!important;color:#edf4ff!important;border:1px solid #728eaf!important}
html body button:disabled,html body .rp-task-action:disabled{background:#243247!important;color:#a9b8cd!important;border:1px dashed #61718a!important;opacity:1!important;box-shadow:none;cursor:not-allowed}
html body button:not(:disabled):hover{filter:brightness(1.15)}
html body :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #fbd17c!important;outline-offset:3px!important}
html body :is(input,select,textarea){background:#0a1629!important;border:1px solid #718baa!important;color:#f2f7ff!important;caret-color:#a5d4ff}
html body input::placeholder,html body textarea::placeholder{color:#9eb2cd!important;opacity:1}
html body :is(input[type=checkbox],input[type=radio]){accent-color:#86b8ff}
html body :is(.rp-modes button,#navContext button,.rp-feedback-options button){background:#1b304e!important;color:#d5e5fa!important;border:1px solid #6583a7!important}
html body :is(.rp-modes button.is-active,#navContext button.is-active,.rp-feedback-options button[aria-pressed=true]){background:#326bd1!important;border:1px solid #a2c6ff!important;color:#fff!important;box-shadow:inset 0 -3px #acd3ff}
html body .rp-pod-picker .pod-live-card{background:#192b45!important;border:1px solid #4c6789!important}
html body .rp-pod-picker .pod-live-card.is-selected{background:#173c4a!important;border:2px solid #76d7d0!important}
html body .pod-live-badge,html body .pill,html body .chip{background:#223c5c!important;color:#d9e9ff!important;border-color:#496888!important}
html body .duration-choices span{background:#192d49!important;color:#eef5ff!important;border-color:#6a85a7!important}
html body .duration-choices small{color:#b8cae0!important}
html body .duration-choices input:checked+span{background:#234f85!important;border-color:#9bcfff!important;box-shadow:inset 0 0 0 1px #9bcfff}
html body :is(.rp-app-panel,.rp-reschedule){background:#111f35!important;color:#edf4ff!important;border:1px solid #617b9d!important}
html body :is(.rp-app-state,.rp-scan-booking,.mini-note,.rp-checkin-hint){background:#1c3553!important;color:#d9eaff!important;border-color:#567a9e!important}
html body :is(.rp-scan-status,.rp-manual-status){color:#c0d9f3!important}
html body .rp-task-card{background:#182942!important;border-color:#4e6689!important}
html body .rp-task-card.is-due{background:#173343!important;border-color:#81c6d4!important}
html body .rp-task-phases span{background:#25364d!important;color:#b8c9df!important}
html body .rp-task-phases .is-current{background:#275477!important;color:#edf8ff!important}
html body .rp-task-phases .is-done{background:#164c3b!important;color:#b5efd5!important}
html body .rp-service-summary>div{background:#192e47!important;border-color:#4b6887!important;color:#c4d5e9}
html body .rp-service-summary>div:nth-child(2){background:#282b4e!important}
html body .rp-service-summary>div:nth-child(3){background:#3a3040!important}
html body .rp-service-history{background:transparent!important;border-color:#435b7c!important}
html body :is(.admin-table,.hosp-table) th{background:#0c192d!important;color:#dceaff!important}
html body :is(.admin-table,.hosp-table) td{color:#e2edfb!important;border-color:#364d6c!important}
html body .admin-table tbody tr:nth-child(even){background:#192c47!important}
html body .admin-table tbody tr:nth-child(odd){background:#122039!important}
html body :is(.admin-table-scroll,.hosp-scroll){border-color:#435b7c!important}
html body .stat{background:#1b304e!important;border-color:#435b7c!important}
html body .stat:nth-child(4n+2){background:#153b36!important}html body .stat:nth-child(4n+3){background:#2e2949!important}html body .stat:nth-child(4n){background:#3b3040!important}
html body .stat b{color:#f1f6ff!important}html body .admin-track{background:#2c405b!important}html body .admin-fill{background:#8dbbff!important}
html body :is(.banner,.rp-service-empty,.pill.green,.slotgrid .free,.rp-available-window){background:#103c32!important;color:#c6f4dc!important;border-color:#4d9b7e!important}
html body .rp-available-window p{color:#b2d6c5!important}
html body .rp-window-controls button{background:#216348!important;color:#fff!important;border-color:#7cbfa0!important}
html body .rp-window-controls button.chosen{background:#326bd1!important;color:#fff!important;border-color:#a2c6ff!important}
html body #slots.rp-timeline .rp-booked-range,html body :is(.banner.error,.pill.red,.rp-app-state.error){background:#48232e!important;color:#ffd9df!important;border-color:#ab6075!important}
html body #slots.rp-timeline .rp-booked-range small,html body :is(.rp-scan-status.error,.rp-manual-status.error){color:#ffbeca!important}
html body .banner.warn{background:#44351c!important;color:#ffe4ad!important;border-color:#a8894e!important}
html body button.success,html body button.rp-action-checkin{background:#187344!important;color:#fff!important;border:1px solid #81d4a5!important}
html body button.danger,html body button.rp-action-checkout{background:#b02e3a!important;color:#fff!important;border:1px solid #f0a0aa!important}
html body button.rp-scan-launch{background:#285e9d!important;color:#fff!important;border:1px solid #9bc9fa!important}
html body.rp-concise .v11-welcome{display:flex!important;align-items:center;min-height:350px!important;padding:42px 32px 42px 320px!important;background:radial-gradient(ellipse at 20% 40%,#1b3d60 0,#10213b 55%,#0c172c 100%)!important;border:1px solid #637f9e!important;box-shadow:0 12px 40px #0004!important}
html body.rp-concise .v11-welcome::before{width:310px!important;height:310px!important;left:4px!important;bottom:50%!important;transform:translateY(50%);top:auto!important;background:url('assets/planet-hd.svg') center/contain no-repeat!important;box-shadow:none!important;border:0!important;opacity:1!important;z-index:-1}
html body.rp-concise .v11-welcome::after{background:url('assets/stars-hd.svg') center/750px auto!important;opacity:.85!important;z-index:-2}
html body.rp-concise .v11-welcome h1{color:#fff!important;font-size:clamp(25px,3vw,36px)!important;text-shadow:0 2px 12px #071425}
html body.rp-concise .v11-welcome p{color:#cfdef2!important;line-height:1.9;max-width:560px}
html body.rp-concise .v11-welcome-brand{color:#a4d6f5!important;font-weight:650}
html body .space-ticket{background-image:url('assets/stars-hd.svg'),linear-gradient(135deg,#122842,#13213b)!important}
html body .space-ticket::after{background:url('assets/planet-hd.svg') center/contain no-repeat!important;width:130px;height:130px;opacity:.7}
html body .divider,html body :is(.rp-service-history,.rp-reminder-options,.rp-app-panel section,.summary-row,.ops-line){border-color:#435b7c!important}
@media(max-width:700px){html body #adminContent tbody tr,html body #hospitalityContent tbody tr{background:#192b45!important;border-color:#4e6689!important}html body #adminContent tbody td:before,html body #hospitalityContent tbody td:before{color:#b8cae0!important}html body.rp-concise .v11-welcome{min-height:380px!important;padding:190px 18px 24px!important}html body.rp-concise .v11-welcome::before{width:218px!important;height:218px!important;left:50%!important;top:-10px!important;bottom:auto!important;transform:translateX(-50%)}html body.rp-concise .v11-welcome h1{font-size:25px!important;margin-top:10px}html body.rp-concise .v11-welcome p{font-size:14px!important;margin-top:6px}html body.rp-concise .v11-welcome::after{background-size:590px auto!important}}
@media print{html body{background:#fff!important;color:#111!important}html body :is(.card,.admin-panel,.stat,table,tr,td,th,h2,h3,h4){background:#fff!important;color:#111!important;border-color:#bbb!important}.v11-welcome::before,.v11-welcome::after{display:none!important}}

html body.rp-concise .rp-pod-picker .pod-live-card.is-none .pod-live-minutes{color:#b8cae0!important}

/* V12.7: explicit readable pod headings; inherited legacy navy text fixed. */
html body .rp-pod-picker .pod-live-card .pod-live-head,
html body .rp-pod-picker .pod-live-card .pod-live-head strong{color:#f4f8ff!important}
html body .rp-pod-picker .pod-live-card.is-selected .pod-live-head strong{color:#d4fff8!important}
html body .pod-live-duration{color:#f4f8ff!important}
html body .pod-live-detail{color:#c4d6ed!important}
html body .rp-cancellation-reason{display:block;margin-top:12px;padding:10px 12px;background:#422739;color:#ffe3eb!important;border:1px solid #b97891;border-inline-start:3px solid #f5a3ba;border-radius:9px;font-size:13px;line-height:1.8;white-space:normal;overflow-wrap:anywhere;text-align:start;direction:inherit;unicode-bidi:plaintext}
html body .rp-cancellation-reason strong{color:#fff2f6!important;display:inline}
html body .admin-table tbody tr:hover{background:#223b5c!important}
@media print{html body .rp-cancellation-reason,html body .rp-cancellation-reason strong{background:#fff!important;color:#111!important;border-color:#777!important}}

/* V12.24: do not show empty status boxes after sign-in retries. */
html body .banner:empty{display:none!important}
.rp-rating-distribution{display:grid;gap:12px;margin:20px 0}
.rp-rating-row{display:grid;grid-template-columns:45px minmax(60px,1fr) 110px;align-items:center;gap:12px}
.rp-rating-row meter{width:100%;height:22px;accent-color:#58c8ad}
.rp-rating-row strong{font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:480px){.rp-rating-row{grid-template-columns:38px minmax(45px,1fr) 98px;gap:7px}}

/* V12.25: readable scheduled time squares, one hour at a time. */
html body #slots.rp-timeline .rp-time-squares{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:14px}
html body #slots.rp-timeline button.rp-time-square{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:86px!important;width:100%;margin:0!important;padding:14px 10px!important;border-radius:12px!important;border:2px solid #5db895!important;background:#103c32!important;color:#e0ffed!important;cursor:pointer}
html body #slots.rp-timeline button.rp-time-square .rp-square-range{font-size:18px!important;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1.5}
html body #slots.rp-timeline button.rp-time-square .rp-square-state{font-size:12px!important;color:inherit!important;line-height:1.4}
html body #slots.rp-timeline button.rp-time-square.chosen{background:#1764b0!important;color:#fff!important;border-color:#b4ddff!important;box-shadow:0 0 0 2px #112b48!important}
html body #slots.rp-timeline button.rp-time-square:focus-visible{outline:3px solid #ffe29b!important;outline-offset:3px}
html body #slots.rp-timeline button.rp-time-square:disabled{opacity:.5;cursor:not-allowed}
html body #slots.rp-timeline .rp-hour-filter label{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:14px;margin:12px 0 0;color:#dcf3e9!important}
html body #slots.rp-timeline .rp-hour-filter select{width:auto;min-width:160px;margin:0;min-height:44px;font-size:16px!important;background:#112b43!important;color:#fff!important;border-color:#81b4d8!important}
html body #slots.rp-timeline .rp-window-head{flex-wrap:wrap;gap:8px}
html body #slots.rp-timeline .rp-window-head span{font-size:13px;color:#b2d6c5}
@media(max-width:400px){html body #slots.rp-timeline .rp-time-squares{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}html body #slots.rp-timeline button.rp-time-square .rp-square-range{font-size:15px!important}}

/* V12.25 brand hierarchy. */
html body.rp-concise .v11-welcome-brand{font-size:clamp(50px,8vw,82px)!important;font-weight:850!important;line-height:1.25!important;margin:0 0 12px!important;color:#ecf7ff!important;letter-spacing:0!important}
html body.rp-concise .v11-welcome h1{font-size:clamp(17px,2.2vw,23px)!important;line-height:1.7!important;margin:6px 0!important;font-weight:500!important}
html body.rp-concise .v11-welcome p{font-size:13px!important;line-height:1.8!important;margin:7px auto 15px!important}
html body .hero h1{font-size:clamp(42px,6vw,64px)!important;line-height:1.2!important}
html body .hero p{font-size:14px!important;margin-top:8px!important}
