.cocoro905test,.r905-dialog{box-sizing:border-box;--r905-ink:#243b43;--r905-main:#236d67;--r905-soft:#eef7f4;--r905-border:#d8e4e0;--r905-muted:#5f7278;color:var(--r905-ink);font-size:15px;line-height:1.65}
.cocoro905test *,.r905-dialog *{box-sizing:border-box}
.cocoro905test{max-width:1200px;margin:24px auto;padding:28px;background:#fff;border:1px solid var(--r905-border);border-radius:20px}
.cocoro905test h2,.cocoro905test h3,.r905-dialog h3{margin:0 0 12px;padding:0;border:0;background:none;color:var(--r905-ink);line-height:1.4}
.cocoro905test h2:before,.cocoro905test h2:after,.cocoro905test h3:before,.cocoro905test h3:after{display:none}
.cocoro905test h2{font-size:clamp(23px,3vw,32px)}
.cocoro905test h3{font-size:21px}
.cocoro905test p,.r905-dialog p{margin:8px 0 16px}
.r905-eyebrow{display:block;color:var(--r905-main);letter-spacing:.14em;font-size:11px;font-weight:700;margin-bottom:8px}
.r905-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}
.cocoro905test button,.r905-dialog button{appearance:none;cursor:pointer;border:1px solid transparent;border-radius:8px;background:var(--r905-main);color:#fff;padding:10px 16px;font:inherit;font-weight:600;line-height:1.5;box-shadow:none}
.cocoro905test button:hover,.r905-dialog button:hover{filter:brightness(.94)}
.cocoro905test button:disabled,.r905-dialog button:disabled{opacity:.5;cursor:wait}
.cocoro905test button.r905-secondary{background:#fff;border-color:var(--r905-border);color:var(--r905-ink)}
.cocoro905test :focus-visible,.r905-dialog :focus-visible{outline:3px solid #bf7f16;outline-offset:3px}
.r905-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;background:#ececec;padding:16px;border-radius:12px}
.r905-toolbar label{display:grid;gap:4px;font-size:12px;font-weight:700}
.cocoro905test input,.cocoro905test select,.r905-dialog input,.r905-dialog select,.r905-dialog textarea{width:100%;min-width:0;border:1px solid #bdceca;background:#fff;color:var(--r905-ink);border-radius:7px;padding:10px 12px;font:inherit;line-height:1.5;box-shadow:none}
.r905-toolbar input{width:180px;font-size:16px}
.r905-message{min-height:24px;font-weight:600}
.r905-error{color:#a52c34!important}
.r905-legend{display:flex;gap:18px;flex-wrap:wrap;align-items:center;color:var(--r905-muted);font-size:13px;margin-bottom:16px}
.r905-dot{display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:5px}
.r905-dot.available{background:#e1f2e8;border:1px solid #8cbaa5}
.r905-dot.booked{background:#dae3ea}
.r905-scroll{overflow:auto;margin:0 0 40px;border:1px solid var(--r905-border);border-radius:10px;overscroll-behavior:contain}
.cocoro905test[data-mode="admin"] .r905-scroll{max-height:70vh;max-height:70dvh}
.cocoro905test table{margin:0!important;border-collapse:separate!important;border-spacing:0!important;width:100%;font-size:13px;line-height:1.5;background:#fff}
.cocoro905test caption{text-align:left;padding:10px 14px;font-weight:700;color:var(--r905-ink);background:#ececec}
.cocoro905test th,.cocoro905test td{border:0!important;border-right:1px solid var(--r905-border)!important;border-bottom:1px solid var(--r905-border)!important;padding:8px;text-align:center;vertical-align:middle;word-break:normal}
.cocoro905test thead th{background:#898989;color:#fff;font-weight:700;position:sticky;top:0;z-index:2}
.r905-calendar th:first-child{position:sticky;left:0;z-index:1;background:#ececec;min-width:74px;white-space:nowrap}
.r905-calendar thead th:first-child{z-index:3;background:#898989}
.cocoro905test .cm-calendar-range{border:1px solid var(--r905-border);border-radius:10px 10px 0 0;background:#ececec;color:var(--r905-ink);padding:10px 14px;text-align:left;font-size:13px;line-height:1.5;font-weight:700}
.cocoro905test .cm-calendar-range + .r905-scroll{border-top:0;border-radius:0 0 10px 10px}
.r905-calendar th small,.r905-slot small{display:block;font-weight:400;font-size:11px;margin-top:3px}
.r905-calendar td{min-width:86px;padding:5px}
.cocoro905test[data-mode=admin] .r905-calendar td{min-width:145px}
.cocoro905test button.r905-slot{display:block;width:100%;padding:9px 6px;border-radius:6px;min-height:48px;font-size:13px}
.cocoro905test button.r905-available{color:#fff;background:#3e8f78;border-color:#1c6550}
.cocoro905test button.r905-booked{color:#364e62;background:#e7edf3;border-color:#ccd8e4}
.cocoro905test button.r905-new{background:#fff1d8;border-color:#e7cc91;color:#795211}
.r905-closed{display:block;color:#adbab6;padding:9px}
.cocoro905test th.r905-sunday{color:#fff;background:#bc3548}
.cocoro905test th.r905-saturday{color:#fff;background:#246eae}
.r905-summary,.r905-mails,.r905-audit{border-top:1px solid var(--r905-border);padding-top:26px;margin-top:28px}
.r905-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}
.r905-stats>div{background:var(--r905-soft);border-radius:10px;padding:16px}
.r905-stats span{display:block;color:var(--r905-muted);font-size:13px}
.r905-stats strong{font-size:28px;font-weight:700}
.r905-stats small{font-size:12px;margin-left:5px}
.cocoro905test .r905-summary-table{min-width:480px}
.cocoro905test .r905-summary-table tfoot{font-weight:700;background:#ececec}
.cocoro905test details{padding:14px;background:#ececec;border-radius:10px}
.cocoro905test summary{cursor:pointer;font-weight:700}
.r905-baseline{overflow-x:auto}
.r905-login{max-width:440px;margin:20px auto}
.r905-login label{display:grid;gap:7px;margin-bottom:20px;font-weight:700}
.r905-dialog{width:min(560px,calc(100% - 24px));max-height:90dvh;margin:auto;padding:24px;border:0;border-radius:16px;background:#fff;box-shadow:0 20px 70px #16302b40;overflow:auto}
.r905-dialog::backdrop{background:#10272599}
.r905-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.r905-dialog-head h3{font-size:21px;margin:0}
.r905-dialog button.r905-close{background:#f2f6f4;color:var(--r905-ink);padding:3px 10px;font-size:27px}
.r905-datetime{background:var(--r905-soft);border-radius:8px;padding:10px 12px;font-weight:700}
.r905-dialog dl{display:grid;grid-template-columns:130px 1fr;gap:8px}
.r905-dialog dd{margin:0;font-weight:700}
.r905-form label{display:grid;gap:5px;margin-bottom:15px;font-size:14px;font-weight:600}
.r905-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.r905-form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.r905-dialog button.r905-danger{background:#fff;color:#a52c34;border-color:#dda8ad}
.r905-form p{font-size:13px;color:var(--r905-muted)}
.r905-form .r905-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
@media(max-width:600px){.cocoro905test{padding:16px 12px;margin:16px 0;border-radius:12px}.r905-head{display:block}.r905-head>button{margin-top:6px}.r905-toolbar{gap:8px;padding:12px}.cocoro905test .r905-toolbar button{padding:8px 10px;font-size:13px}.r905-toolbar input{width:156px}.r905-stats{grid-template-columns:repeat(2,1fr)}.r905-stats>div{padding:12px}.r905-dialog{padding:18px}.r905-dialog input,.r905-dialog select,.r905-dialog textarea{font-size:16px}.r905-form-actions button{flex:1}.r905-legend{gap:12px}}

.r905-period-form{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;width:100%}
@media(max-width:600px){.r905-period-form{gap:8px}.r905-period-form label{flex:1 1 130px}.r905-period-form input{width:100%}}

.r905-test-reset{border-top:1px solid var(--r905-border);padding-top:26px;margin-top:28px}
.cocoro905test button.r905-danger{background:#fff;color:#a52c34;border-color:#dda8ad}

.r905-calendar thead th small{font-weight:700;font-size:13px}
.cocoro905test .r905-calendar td.r905-sunday{background:#fdf0f2}
.cocoro905test .r905-calendar td.r905-saturday{background:#f0f5fd}
.cocoro905test[data-mode="admin"] .r905-calendar th small,.cocoro905test[data-mode="admin"] .r905-slot small{font-size:13px}

.r905-available .r905-time{display:block;white-space:nowrap}

.cocoro905test .r905-calendar thead th small{color:#fff!important}

.cm-page-links{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:28px auto;max-width:1200px}.cm-page-links .cm-page-link{display:inline-block;padding:12px 20px;border:1px solid #236d67;border-radius:8px;background:#236d67;color:#fff;text-decoration:none;font-size:15px;line-height:1.5}.cm-page-links .cm-page-link:hover{filter:brightness(.94)}
/* The manager embeds both room calendars. Use the same geometry for each. */
.cm-app .cocoro905test .r905-calendar th,.cm-app .cocoro905test .r905-calendar td{text-align:center;vertical-align:middle}
.cm-app .cocoro905test .r905-calendar th{background:#898989}
.cm-app .cocoro905test .r905-calendar tbody th{background:#ececec}
.cm-app .cocoro905test .r905-calendar th.r905-sunday{background:#bc3548}
.cm-app .cocoro905test .r905-calendar th.r905-saturday{background:#246eae}
.cocoro905test a.r905-slot{display:block;width:100%;padding:9px 6px;border:1px solid #ccd8e4;border-radius:6px;min-height:48px;font:inherit;font-size:13px;line-height:1.5;text-decoration:none;color:#364e62;background:#e7edf3}
.cocoro905test a.r905-new{background:#fff1d8;border-color:#e7cc91;color:#795211}
.cm-app .cocoro905test .r905-slot small{font-size:11px;font-weight:400;margin-top:3px}

.cocoro905test[data-mode="admin"] .r905-content>.r905-scroll,.cm-admin-510>.r905-scroll{height:70vh;height:70dvh;max-height:70vh;max-height:70dvh}.cocoro905test[data-mode="admin"] .r905-calendar th:first-child{width:74px;min-width:74px}.cocoro905test[data-mode="admin"] .r905-calendar td,.cocoro905test[data-mode="admin"] .r905-calendar thead th:not(:first-child){width:145px;min-width:145px;max-width:145px;overflow-wrap:anywhere}

.cocoro905test .r905-available small{color:#fff!important}.cm-new-booking .cm-page-link{display:inline-block;padding:12px 20px;background:#236d67;border-radius:8px;color:#fff;text-decoration:none}

.r905-dialog .r905-room-transfer-section{margin-top:32px;padding-top:24px;border-top:1px solid #c6d1cc}.r905-dialog .r905-room-transfer-section .r905-room-transfer{margin:0}

.r905-day-changes td {vertical-align:top;}
.r905-day-changes td p {white-space:pre-line;overflow-wrap:anywhere;margin:.35em 0;padding:.3em;text-align:left;}

.cocoro905test .r905-note {padding:6px 0;text-align:left}
.cocoro905test .r905-note + .r905-note {border-top:1px solid var(--r905-border)}
.cocoro905test .r905-note label {display:inline-flex;align-items:center;gap:3px;margin-right:5px;font-size:12px}
.cocoro905test .r905-note input[type=checkbox] {width:16px;height:16px;padding:0;margin:0;appearance:auto}
.cocoro905test .r905-note button {padding:4px 6px;font-size:12px}
.cocoro905test .r905-note-actions {display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:-22px 0 24px}
