/* VC0660: owner-only ledger calendar. No availability or clinical data. */
.wrap:has(.owner-calendar){max-width:1280px}
.owner-calendar{margin:.65rem 0 1.2rem;color:#263b35;animation:vc-owner-calendar-enter .3s ease both}
.owner-agenda:has(.owner-calendar)>.owner-agenda-intro{margin:0;padding:0}
.owner-agenda:has(.owner-calendar)>.owner-agenda-intro h3{margin:0 0 .35rem;font-family:Georgia,serif;font-size:clamp(1.5rem,2.2vw,2.1rem);font-weight:400;color:#b94413}
.owner-agenda:has(.owner-calendar)>.owner-agenda-filter{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin:.8rem 0}
.owner-agenda:has(.owner-calendar)>.owner-agenda-filter label{flex:0 0 auto;margin:0}
.owner-agenda:has(.owner-calendar)>.owner-agenda-filter select{flex:1 1 12rem;width:auto;min-width:0;max-width:28rem;margin:0}
.owner-agenda:has(.owner-calendar)>.owner-agenda-note[role=status]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
.owner-calendar .owner-calendar-note{margin:.5rem 0;color:#627068;font-size:.85rem;line-height:1.5}
.owner-calendar-toolbar{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin:.55rem 0 .65rem}
.owner-calendar .owner-calendar-audit-button{font-size:.8rem;background:#fff0db;border-color:#dba570}
.owner-calendar-occupation{margin:.5rem 0;font-size:.8rem;color:#657065}
.owner-calendar-occupation h5{font-size:.85rem;font-weight:600;margin:.4rem 0}
.owner-calendar-occupation ul{display:flex;flex-wrap:wrap;gap:.4rem 1.3rem;list-style:none;padding:0;margin:.4rem 0}
.owner-calendar-occupation li{padding:.3rem .5rem;border-radius:7px;background:#eee8da;color:#596454}
.owner-calendar-occupation p{margin:.35rem 0}
.owner-calendar button{min-height:44px;border:1px solid #ddb897;background:#fff8ec;color:#8f3b18;border-radius:10px;padding:.55rem .85rem;cursor:pointer;font:inherit;transition:background-color .16s ease,border-color .16s ease}
.owner-calendar button:hover{background:#f9e7d3;border-color:#b94413}
.owner-calendar button[aria-pressed=true]{background:#b94413;color:#fff;border-color:#b94413}
.owner-calendar button:focus-visible,.owner-calendar input:focus-visible,.owner-calendar summary:focus-visible{outline:3px solid #ae481c;outline-offset:3px}
.owner-calendar button:disabled{opacity:.5;cursor:default}
.owner-calendar .owner-calendar-nav{width:44px;font-size:1.4rem;padding:0}
.owner-calendar-range{flex:1;min-width:14rem;margin:0 .5rem;font-size:.96rem;font-weight:500}
.owner-calendar-filters{display:flex;align-items:center;gap:.8rem;margin:0 0 .5rem;flex-wrap:wrap}
.owner-calendar-filters label{font-size:.9rem;font-weight:500}
.owner-calendar-filters input{flex:1;max-width:28rem;min-width:12rem;min-height:44px;border:1px solid #d7c4ac;border-radius:10px;padding:.65rem .85rem;background:#fffdf8;color:#263b35;font:inherit}
.owner-calendar .owner-calendar-scope{margin:.2rem 0 .4rem;padding:0;border:0;border-radius:0;background:transparent;color:#69746a;font-size:.8rem;line-height:1.5}
.owner-calendar .owner-calendar-scope>summary{display:block;cursor:pointer;min-height:28px;padding:0;color:#875433;font-weight:400}
.owner-calendar-scope p{margin:.5rem 0}
.owner-calendar-board{overflow:auto;max-width:100%;max-height:65vh;border:1px solid #decab2;border-radius:14px;background:#fffdf8}
.owner-calendar-board table{width:100%;min-width:990px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:.85rem}
.owner-calendar-board[data-view=day] table{min-width:0}
.owner-calendar-board:focus-visible{outline:3px solid #ae481c;outline-offset:3px}
.owner-calendar-board caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
.owner-calendar-board th,.owner-calendar-board td{border-bottom:1px solid #eadfce;border-right:1px solid #eadfce;vertical-align:top;text-align:left}
.owner-calendar-board th:first-child{width:68px}
.owner-calendar-board th{padding:.45rem;background:#fbefdf}
.owner-calendar-board thead th{position:sticky;top:0;z-index:2;background:#fbefdf}
.owner-calendar-board thead th:first-child{left:0;z-index:3}
.owner-calendar-board .owner-calendar-hour{font-size:.78rem;font-weight:500;color:#68756a;position:sticky;left:0;z-index:1;background:#fbefdf;padding:.85rem .55rem}
.owner-calendar-day button{width:100%;border-color:transparent;background:transparent;font-size:.78rem;padding:.3rem}
.owner-calendar-cell{height:54px;padding:.35rem;background:#fffdf8}
.owner-calendar-empty{display:block;color:#c1b49f;font-size:.85rem;line-height:1.35;padding:.4rem .3rem}
.owner-calendar-event{margin:.1rem 0 .45rem;border:1px solid #e6bd96;border-left:3px solid #c45c24;border-radius:9px;background:#fff2e1;overflow:hidden}
.owner-calendar-event>summary{position:relative;padding:.6rem 1.35rem .6rem .6rem;cursor:pointer;list-style:none;font-size:.78rem}
.owner-calendar-event>summary::-webkit-details-marker{display:none}
.owner-calendar-event>summary::marker{content:''}
.owner-calendar-chevron{position:absolute;right:.45rem;top:.5rem;color:#a5491e;font-size:1rem;transition:transform .16s ease}
.owner-calendar-event[open]>summary .owner-calendar-chevron{transform:rotate(90deg)}
.owner-calendar-event-top{display:flex;flex-direction:column;gap:.3rem;overflow-wrap:anywhere}
.owner-calendar-event-top strong{font-weight:600;line-height:1.4}
.owner-calendar-event-top>span{font-size:.71rem;color:#6a7468}
.owner-calendar-status{display:flex;flex-direction:column;gap:.25rem;margin-top:.55rem;font-size:.67rem;line-height:1.35}
.owner-calendar-status>span{border-radius:5px;padding:.2rem .3rem;background:#eee5d7;color:#605d51}
.owner-calendar-status>[data-state=confirmed]{background:#e4eee0;color:#375343}
.owner-calendar-status>[data-state=review]{background:#f4dfc1;color:#754717}
.owner-calendar-status>[data-state=cancelled]{background:#eee4de;color:#765548}
.owner-calendar-event-detail{padding:.65rem;border-top:1px solid #e6c5a7;font-size:.76rem;line-height:1.5;overflow-wrap:anywhere}
.owner-calendar-event-detail p{margin:0 0 .55rem}
.owner-calendar-event-detail button{width:100%;font-size:.73rem;padding:.45rem}
.owner-calendar-unscheduled{margin-top:1.1rem}
.owner-calendar-unscheduled>section{padding:.8rem;border:1px solid #decab2;border-radius:12px;margin-top:.8rem}
.owner-calendar-unscheduled h4{font-size:.95rem;font-weight:500;margin:.2rem 0 .8rem}
.owner-calendar-unscheduled .owner-calendar-event{max-width:28rem}
.owner-calendar-history{padding:.8rem;border:1px solid #decab2;border-radius:12px;margin-top:.8rem}
.owner-calendar-history>summary{min-height:44px;cursor:pointer;font-size:.9rem;color:#7a573b}
.owner-agenda:has(.owner-calendar)>.owner-agenda-contact-records{margin:1.2rem 0;padding:.8rem;border:1px solid #decab2;border-radius:12px;background:#fffaf1}
.owner-agenda:has(.owner-calendar)>.owner-agenda-contact-records>summary{min-height:44px;cursor:pointer;color:#93501f;font-size:.95rem}
.motion-paused .owner-calendar,.motion-background .owner-calendar,.motion-reduced .owner-calendar{animation:none!important}
.motion-paused .owner-calendar *,.motion-background .owner-calendar *,.motion-reduced .owner-calendar *{transition:none!important}
@keyframes vc-owner-calendar-enter{from{opacity:.65;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:600px){.owner-calendar-range{order:2;flex-basis:100%;margin:.5rem 0}.owner-calendar-toolbar{gap:.4rem}.owner-calendar-filters{align-items:stretch;flex-direction:column}.owner-calendar-filters input{max-width:none;width:100%;min-width:0}.owner-calendar-board table{min-width:920px}}
@media(prefers-reduced-motion:reduce){.owner-calendar{animation:none!important}.owner-calendar *{transition:none!important}}
