/* البطاقة المعتمدة؛ نطاق محلي يحافظ على بقية لوحة المضيف. */
#page-detail .stay-summary{--ss-accent:#55d89a;padding:22px;border-radius:26px;border:1px solid #2f9c6866;background:radial-gradient(ellipse at 100% 0,rgba(47,156,104,.13),transparent 55%),linear-gradient(145deg,#111b21,#090e13 70%);box-shadow:0 14px 44px #0003;color:#f3f7f6}
#page-detail .stay-summary::before{background:linear-gradient(90deg,transparent,#55d89a88,transparent)}
.stay-summary .gc-row{align-items:flex-start;gap:12px}.stay-summary .gc-name-lbl{font-size:22px;font-weight:800;color:#f3f7f6}.stay-summary .gc-name{font-size:24px;color:#f3f7f6;margin-top:12px;overflow-wrap:anywhere}.stay-summary #d-booking{font-size:12px!important;color:#a8b5bf!important}
.ss-status{flex-shrink:0;font-size:12px;font-weight:700;border:1px solid #2f9c6870;background:#2f9c681a;color:#8ee7b8;border-radius:12px;padding:8px 10px}
.ss-presence{display:flex;justify-content:space-between;gap:10px;background:#ffffff04;border:1px solid #ffffff12;border-radius:13px;padding:12px 14px;margin-top:18px;font-size:13px}.ss-presence strong{font-weight:500;color:#b5c0ca}
#page-detail .ss-timer{text-align:center;margin:22px auto 10px;width:100%;color:var(--ss-accent)}.ss-timer .lb{font-size:14px;color:#a8b5bf}.ss-gauge{position:relative;max-width:420px;margin:10px auto 0;aspect-ratio:2/1}.ss-gauge svg{width:100%;height:100%;fill:none;stroke-width:2;overflow:visible}.ss-track{stroke:#26363e}.ss-ticks{stroke:#82929b66;stroke-width:3;stroke-dasharray:.15 2.8}.ss-progress{stroke:var(--ss-accent);stroke-linecap:round;transition:stroke-dasharray 1s linear,stroke .3s}
.ss-digits{position:absolute;inset:45% 0 0;display:flex;justify-content:center;align-items:flex-start;gap:5px;font-variant-numeric:tabular-nums;font-family:'IBM Plex Mono',monospace}.ss-digits span{display:flex;flex-direction:column;align-items:center}.ss-digits b{font-size:clamp(30px,8vw,64px);font-weight:500;line-height:1.15;letter-spacing:-2px}.ss-digits i{font-size:clamp(23px,6vw,44px);font-style:normal}.ss-digits .ss-seconds b{font-size:clamp(22px,6vw,44px);margin-top:9px;font-weight:400;color:#becdd2}.ss-digits small{font:12px 'Tajawal',sans-serif;color:#a8b5bf;margin-top:4px}
.ss-checkout{font-size:13px;color:#b1bdc5;margin-top:8px}.ss-warning{font-size:13px;min-height:0}.ss-warning:empty{display:none}#page-detail .ss-timer .vl{font-size:17px;color:#b1bdc5;margin:16px 0;line-height:1.6}
#page-detail .stay-summary .access-console{border:1px solid #2f9c6870;background:linear-gradient(140deg,#143a2d77,#0c171c);border-radius:20px;padding:17px;margin-top:18px}.stay-summary .access-kicker{font-size:17px;color:#eff9f3}.stay-summary #d-code-state{font-size:11px;color:#b1bdc5;font-weight:400;margin-top:5px}.stay-summary .access-state{background:#2f9c6822;color:#8ee7b8;font-size:11px}.stay-summary .access-code-row{justify-content:center}
#page-detail .stay-summary .code-host:not(.is-blank){font:500 clamp(28px,7vw,46px)/1.5 'IBM Plex Mono',monospace;letter-spacing:.14em;text-align:center;color:#effaf5;background:transparent;border:0;direction:ltr;padding:16px 0;overflow-wrap:anywhere;width:100%}#page-detail .stay-summary .code-host.is-masked{font-size:clamp(36px,9vw,54px);letter-spacing:.18em}.stay-summary .access-console-foot{display:flex;flex-direction:column-reverse;align-items:stretch;gap:10px}.stay-summary .access-console-actions{display:flex;width:100%;gap:8px}.stay-summary #reveal-code-btn{flex:1;justify-content:center;min-height:46px;font-size:16px;color:#e4ffef;border:1px solid #2f9c6880;background:#2f9c6826;border-radius:12px}.stay-summary #rotate-code-btn{min-height:44px;padding:8px;color:#b1bdc5}.stay-summary #d-code-note{font-size:11px;text-align:center;color:#a8b5bf}.stay-summary button:focus-visible{outline:2px solid #8ee7b8;outline-offset:3px}
.ss-next{display:grid;gap:6px;border:1px solid #ffffff14;background:#ffffff03;border-radius:14px;margin-top:14px;padding:13px 15px}.ss-next strong{font-size:14px;font-weight:600}.ss-next span{font-size:12px;color:#a8b5bf}.ss-next span:empty{display:none}.ss-next.has-conflict span{color:#ff8796}
#page-detail .stay-summary[data-tone=warning]{--ss-accent:#eac172}#page-detail .stay-summary[data-tone=danger]{--ss-accent:#ff8796}.stay-summary[data-tone=neutral] .ss-status{color:#bcc6ce;border-color:#ffffff20;background:#ffffff06}
.stay-summary [hidden]{display:none!important}.stay-summary[data-kind=empty] .ss-presence{display:none}
@media(min-width:700px){#page-detail .stay-summary{max-width:720px;margin-inline:auto}.ss-gauge{max-width:380px}}
@media(max-width:380px){#page-detail .stay-summary{padding:14px}.stay-summary .gc-name-lbl{font-size:19px}.ss-status{font-size:10px;padding:6px}.ss-presence{font-size:11px}.ss-digits b{font-size:38px}.ss-digits .ss-seconds b{font-size:27px}.ss-digits small{font-size:10px}}
@media(prefers-reduced-motion:reduce){.ss-progress{transition:none}}
html[data-qlvin-theme=light] #page-detail .stay-summary{background:linear-gradient(145deg,#f6fbf8,#e9f1ed);color:#152f26;--ss-accent:#237648}html[data-qlvin-theme=light] .stay-summary .gc-name-lbl,html[data-qlvin-theme=light] .stay-summary .gc-name{color:#152f26}html[data-qlvin-theme=light] .ss-presence strong,html[data-qlvin-theme=light] .ss-checkout,html[data-qlvin-theme=light] .ss-next span,html[data-qlvin-theme=light] .ss-timer .lb,html[data-qlvin-theme=light] .ss-digits small,html[data-qlvin-theme=light] .ss-digits .ss-seconds b{color:#53675e}html[data-qlvin-theme=light] #page-detail .stay-summary .access-console{background:#10271e}html[data-qlvin-theme=light] .ss-status{color:#236340}
