
#psy-calendar-prototype{--pf-bg:#f7f8f7;--pf-paper:#fff;--pf-ink:#253735;--pf-soft:#5c6c66;--pf-line:#dce4df;--pf-green:#244b50;--pf-on-green:#fff;--pf-meeting:#e1eee7;--pf-slot:#f2f8f4;--pf-off:#eef0ed;--pf-danger:#a13737;--pf-wash:#e8eeeb;--pf-shade:#1e38354a;--pf-sidebar:#e8eeeb;--pf-active:#d6e3dc;--pf-online-ink:#315e4b;--pf-office-ink:#375b8a;--pf-hour:48px;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.45;font-weight:400;color:var(--pf-ink);background:var(--pf-bg);border-radius:18px;position:relative;isolation:isolate;color-scheme:light}
#psy-calendar-prototype *{box-sizing:border-box}
#psy-calendar-prototype [hidden]{display:none!important}
#psy-calendar-prototype button,#psy-calendar-prototype input,#psy-calendar-prototype select{font:inherit;color:inherit}
#psy-calendar-prototype button{touch-action:manipulation}
#psy-calendar-prototype button:disabled{opacity:.5}
#psy-calendar-prototype .pf-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px;border-bottom:1px solid var(--pf-line);flex-wrap:wrap}
#psy-calendar-prototype .pf-brand{font-size:20px;letter-spacing:-.7px;font-weight:500;white-space:nowrap}
#psy-calendar-prototype .pf-brand span{font-weight:400}
#psy-calendar-prototype .pf-sample{font-size:12px;color:var(--pf-soft);padding-right:76px}
#psy-calendar-prototype .pf-content{padding:22px 24px 16px}
#psy-calendar-prototype .pf-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}
#psy-calendar-prototype h1{font-size:26px;font-weight:500;letter-spacing:-.8px;margin:0 0 4px;line-height:1.2}
#psy-calendar-prototype .pf-zone{font-size:12px;color:var(--pf-soft)}
#psy-calendar-prototype .pf-actions{display:flex;gap:7px;flex-wrap:wrap}
#psy-calendar-prototype .pf-button{border:1px solid var(--pf-line);border-radius:9px;background:var(--pf-paper);padding:9px 12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;min-height:38px}
#psy-calendar-prototype .pf-button:hover{background:var(--pf-wash)}
#psy-calendar-prototype .pf-button.pf-primary{background:var(--pf-green);border-color:var(--pf-green);color:var(--pf-on-green)}
#psy-calendar-prototype .pf-icon{width:35px;padding:8px}
#psy-calendar-prototype .pf-button svg{width:16px;height:16px}
#psy-calendar-prototype .pf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:15px}
#psy-calendar-prototype .pf-navigation{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
#psy-calendar-prototype .pf-range{font-weight:500;margin:0 10px;white-space:nowrap}
#psy-calendar-prototype .pf-today{font-size:12px;padding:7px 10px}
#psy-calendar-prototype .pf-view-switch{display:flex;background:var(--pf-paper);padding:3px;border:1px solid var(--pf-line);border-radius:9px}
#psy-calendar-prototype .pf-view-switch button{background:transparent;border:0;border-radius:6px;padding:6px 13px}
#psy-calendar-prototype .pf-view-switch button[aria-pressed=true]{background:var(--pf-wash);font-weight:500}
#psy-calendar-prototype .pf-calendar{background:var(--pf-paper);border:1px solid var(--pf-line);border-radius:13px;overflow:clip}
#psy-calendar-prototype .pf-days{display:grid;grid-template-columns:44px repeat(7,minmax(0,1fr));border-bottom:1px solid var(--pf-line)}
#psy-calendar-prototype .pf-corner{display:flex;align-items:center;justify-content:center;color:var(--pf-soft);font-size:11px}
#psy-calendar-prototype .pf-day-heading{border:0;border-left:1px solid var(--pf-line);border-radius:0;background:transparent;text-align:center;padding:10px 3px;min-width:0;min-height:56px;color:var(--pf-soft);font-size:12px}
#psy-calendar-prototype .pf-day-heading strong{display:inline-grid;place-items:center;margin-left:4px;font-size:14px;font-weight:500;width:26px;height:26px;color:var(--pf-ink);border-radius:50%}
#psy-calendar-prototype .pf-day-heading.is-active strong{background:var(--pf-green);color:var(--pf-on-green)}
#psy-calendar-prototype .pf-day-heading small{display:block;font-size:11px;color:var(--pf-soft);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#psy-calendar-prototype .pf-week{display:grid;grid-template-columns:44px repeat(7,minmax(0,1fr))}
#psy-calendar-prototype .pf-hours{position:relative;color:var(--pf-soft);font-size:11px;font-variant-numeric:tabular-nums}
#psy-calendar-prototype .pf-hours span{position:absolute;right:7px;transform:translateY(-50%)}
#psy-calendar-prototype .pf-hours span:first-child{transform:translateY(4px)}
#psy-calendar-prototype .pf-column{position:relative;border-left:1px solid var(--pf-line);background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--pf-hour) - 1px),var(--pf-line) calc(var(--pf-hour) - 1px),var(--pf-line) var(--pf-hour))}
#psy-calendar-prototype .pf-hit{position:absolute;inset:0;border:0;border-radius:0;background:transparent;padding:0;width:100%;height:100%}
#psy-calendar-prototype .pf-hit:hover{background:color-mix(in srgb,var(--pf-wash) 35%,transparent)}
#psy-calendar-prototype .pf-column.is-off{background:repeating-linear-gradient(135deg,var(--pf-off) 0,var(--pf-off) 7px,color-mix(in srgb,var(--pf-soft) 9%,var(--pf-off)) 7px,color-mix(in srgb,var(--pf-soft) 9%,var(--pf-off)) 8px)}
#psy-calendar-prototype .pf-off-label{position:absolute;top:18px;left:4px;right:4px;border:0;background:var(--pf-off);padding:9px 3px;font-size:11px;color:var(--pf-soft);overflow-wrap:anywhere;text-align:center;border-radius:6px}
#psy-calendar-prototype .pf-event{position:absolute;left:3px;right:3px;border:0;border-left:3px solid var(--pf-green);border-radius:7px;background:var(--pf-meeting);padding:4px 6px;text-align:left;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:1px;overflow:hidden;color:var(--pf-ink)}
#psy-calendar-prototype .pf-event:hover{filter:brightness(.97)}
#psy-calendar-prototype .pf-event.is-slot{background:var(--pf-slot);border:1px dashed var(--pf-soft)}
#psy-calendar-prototype .pf-event-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500;max-width:100%}
#psy-calendar-prototype .pf-event-time{font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--pf-soft);display:block}
#psy-calendar-prototype .pf-calendar[data-view=day] .pf-week{grid-template-columns:44px minmax(0,1fr)}
#psy-calendar-prototype .pf-calendar[data-view=day] .pf-column:not(.is-active){display:none}
#psy-calendar-prototype .pf-calendar[data-view=day] .pf-event{left:9px;right:9px}
#psy-calendar-prototype .pf-calendar[data-view=day] .pf-event-title{font-size:14px}
#psy-calendar-prototype .pf-legend{display:flex;gap:16px;flex-wrap:wrap;align-items:center;margin:0 0 13px;color:var(--pf-soft);font-size:11px}
#psy-calendar-prototype .pf-legend span{display:flex;align-items:center;gap:6px}
#psy-calendar-prototype .pf-swatch{display:inline-block;width:12px;height:12px;border-radius:3px;background:var(--pf-meeting)}
#psy-calendar-prototype .pf-swatch.pf-slot{background:var(--pf-slot);border:1px dashed var(--pf-soft)}
#psy-calendar-prototype .pf-swatch.pf-off{background:var(--pf-off)}
#psy-calendar-prototype .pf-status{display:block;min-height:20px;margin-top:10px;color:var(--pf-soft);font-size:12px}
#psy-calendar-prototype .pf-layer{position:absolute;inset:0;z-index:10;background:var(--pf-shade);border-radius:18px;display:flex;align-items:flex-start;justify-content:center;padding:38px 16px;min-height:100%}
#psy-calendar-prototype .pf-dialog{width:430px;max-width:100%;background:var(--pf-paper);border:1px solid var(--pf-line);border-radius:17px;padding:23px;box-shadow:0 18px 60px var(--pf-shade);color:var(--pf-ink)}
#psy-calendar-prototype .pf-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
#psy-calendar-prototype .pf-dialog h2{font-size:20px;font-weight:500;margin:0;letter-spacing:-.5px}
#psy-calendar-prototype .pf-close{border:0;background:var(--pf-wash);border-radius:8px;width:32px;height:32px;display:grid;place-items:center;font-size:22px}
#psy-calendar-prototype .pf-dialog label{display:flex;flex-direction:column;gap:7px;font-size:12px;margin-bottom:14px;min-width:0}
#psy-calendar-prototype .pf-dialog input,#psy-calendar-prototype .pf-dialog select{width:100%;min-width:0;min-height:42px;background:var(--pf-bg);border:1px solid var(--pf-line);border-radius:8px;padding:9px 10px;font-size:14px}
#psy-calendar-prototype .pf-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#psy-calendar-prototype .pf-note{font-size:12px;color:var(--pf-soft);margin:0 0 15px}
#psy-calendar-prototype .pf-error{color:var(--pf-danger);font-size:12px;margin:0 0 14px}
#psy-calendar-prototype .pf-error:empty{display:none}
#psy-calendar-prototype .pf-dialog-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin-top:18px}
#psy-calendar-prototype .pf-delete{border:0;background:transparent;color:var(--pf-danger);padding:9px 0;margin-right:auto;font-size:12px}
#psy-calendar-prototype .pf-book{margin-bottom:14px;width:100%}
@media(max-width:700px){#psy-calendar-prototype .pf-content{padding:16px 12px 12px}#psy-calendar-prototype .pf-top{padding:16px 12px}#psy-calendar-prototype .pf-sample{padding-right:0}#psy-calendar-prototype .pf-calendar[data-view=day] .pf-week{grid-template-columns:40px minmax(0,1fr)}#psy-calendar-prototype .pf-calendar[data-view=day] .pf-column:not(.is-active){display:none}#psy-calendar-prototype .pf-days{grid-template-columns:40px repeat(7,minmax(0,1fr))}#psy-calendar-prototype .pf-day-heading{font-size:11px;padding:8px 0}#psy-calendar-prototype .pf-day-heading strong{display:grid;margin:3px auto 0}#psy-calendar-prototype .pf-day-heading small{display:none}#psy-calendar-prototype .pf-event{left:8px;right:8px}#psy-calendar-prototype .pf-event-title{font-size:14px}#psy-calendar-prototype .pf-range{margin:0 4px}#psy-calendar-prototype .pf-heading{gap:12px}#psy-calendar-prototype .pf-actions{gap:5px}#psy-calendar-prototype .pf-actions .pf-button{padding:9px 10px;font-size:12px}#psy-calendar-prototype .pf-view-switch{display:none}#psy-calendar-prototype .pf-layer{padding:15px 8px}#psy-calendar-prototype .pf-dialog{padding:18px}#psy-calendar-prototype .pf-calendar{border-radius:10px}}
@media(max-width:390px){#psy-calendar-prototype .pf-today{display:none}#psy-calendar-prototype .pf-top{align-items:flex-start;flex-direction:column;gap:3px}#psy-calendar-prototype .pf-fields{grid-template-columns:1fr;gap:0}#psy-calendar-prototype .pf-dialog input,#psy-calendar-prototype .pf-dialog select{font-size:16px}#psy-calendar-prototype .pf-legend{gap:10px}#psy-calendar-prototype .pf-dialog-actions .pf-button{padding:9px 10px}}
@media(pointer:coarse){#psy-calendar-prototype .pf-button,#psy-calendar-prototype .pf-view-switch button{min-height:44px}#psy-calendar-prototype .pf-icon{min-width:44px}#psy-calendar-prototype .pf-close{width:44px;height:44px}}

#psy-calendar-prototype .pf-scope-option{display:block;width:100%;text-align:left;border:1px solid var(--pf-line);border-radius:11px;background:var(--pf-bg);padding:14px;margin:10px 0;font-weight:500}
#psy-calendar-prototype .pf-scope-option:hover{background:var(--pf-wash)}
#psy-calendar-prototype .pf-scope-option span{display:block;margin-top:5px;color:var(--pf-soft);font-size:12px;font-weight:400}
#psy-calendar-prototype .pf-month-weekdays,#psy-calendar-prototype .pf-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
#psy-calendar-prototype .pf-month-weekdays{border-bottom:1px solid var(--pf-line)}
#psy-calendar-prototype .pf-month-weekdays span{padding:9px 4px;text-align:center;color:var(--pf-soft);font-size:12px}
#psy-calendar-prototype .pf-month-cell{min-width:0;min-height:118px;border-right:1px solid var(--pf-line);border-bottom:1px solid var(--pf-line);padding:5px 4px;background:var(--pf-paper)}
#psy-calendar-prototype .pf-month-cell:nth-child(7n){border-right:0}
#psy-calendar-prototype .pf-month-cell.is-outside{background:var(--pf-bg);color:var(--pf-soft)}
#psy-calendar-prototype .pf-month-cell.is-off{background:var(--pf-off)}
#psy-calendar-prototype .pf-month-date{display:grid;place-items:center;border:0;background:transparent;border-radius:50%;width:28px;height:28px;margin-bottom:4px;padding:0;font-size:12px}
#psy-calendar-prototype .is-selected .pf-month-date{background:var(--pf-green);color:var(--pf-on-green)}
#psy-calendar-prototype .pf-month-event{display:block;width:100%;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0;border-left:2px solid var(--pf-green);border-radius:4px;background:var(--pf-meeting);text-align:left;font-size:11px;padding:4px;margin-top:3px;color:var(--pf-ink)}
#psy-calendar-prototype .pf-month-event.is-slot{background:var(--pf-slot);border:1px dashed var(--pf-soft);padding:3px}
#psy-calendar-prototype .pf-month-more,#psy-calendar-prototype .pf-month-off{display:block;width:100%;border:0;border-radius:4px;background:transparent;text-align:left;padding:4px 2px;color:var(--pf-soft);font-size:11px;overflow-wrap:anywhere}
#psy-calendar-prototype .pf-month-count,#psy-calendar-prototype .pf-month-mobile-hint{display:none}
@media(max-width:700px){#psy-calendar-prototype .pf-view-switch{display:flex}#psy-calendar-prototype .pf-month-cell{min-height:74px;padding:5px 2px}#psy-calendar-prototype .pf-month-date{margin:0 auto 5px}#psy-calendar-prototype .pf-month-event,#psy-calendar-prototype .pf-month-more,#psy-calendar-prototype .pf-month-off{display:none}#psy-calendar-prototype .pf-month-count{display:block;text-align:center;border:0;background:transparent;padding:5px 0;width:100%;font-size:11px;font-variant-numeric:tabular-nums;color:var(--pf-soft)}#psy-calendar-prototype .pf-month-mobile-hint{display:block;font-size:11px;color:var(--pf-soft);margin:10px;padding:0}#psy-calendar-prototype .pf-month-weekdays span{font-size:11px}#psy-calendar-prototype .pf-month-grid{min-height:370px}}
@media(pointer:coarse){#psy-calendar-prototype .pf-month-cell{padding:3px 1px;min-height:94px}#psy-calendar-prototype .pf-month-date{min-height:44px;width:100%;border-radius:7px}#psy-calendar-prototype .pf-month-count{min-height:44px;padding:6px 0}#psy-calendar-prototype .pf-month-event,#psy-calendar-prototype .pf-month-more,#psy-calendar-prototype .pf-month-off{min-height:44px}}


#psy-calendar-prototype .pf-time-field{border:0;padding:0;margin:0 0 14px;min-width:0}
#psy-calendar-prototype .pf-time-field legend{padding:0;margin-bottom:7px;font-size:12px}
#psy-calendar-prototype .pf-time-parts{display:grid;grid-template-columns:minmax(0,1fr) 8px minmax(0,1fr);gap:3px;align-items:center}
#psy-calendar-prototype .pf-time-parts>span{text-align:center}
#psy-calendar-prototype .pf-time-parts select{padding:9px 6px;font-variant-numeric:tabular-nums}


body{margin:0;background:#f7f8f7;color-scheme:light;font-family:Inter,"Segoe UI",Arial,sans-serif}#psy-calendar-prototype{max-width:1400px;margin:0 auto;min-height:100dvh;border-radius:0}#psy-calendar-prototype button{cursor:pointer}#psy-calendar-prototype button:disabled{cursor:wait}#psy-calendar-prototype .pf-top{gap:16px}#psy-calendar-prototype .pf-nav{display:flex;align-items:center;gap:12px;font-size:12px;margin-left:auto}#psy-calendar-prototype .pf-nav a{color:var(--pf-green)}#psy-calendar-prototype .pf-tabs{display:flex;gap:6px;padding:14px 24px 0}#psy-calendar-prototype .pf-tabs button[aria-pressed=true]{background:var(--pf-green);color:var(--pf-on-green);border-color:var(--pf-green)}#psy-calendar-prototype .pf-clients-content{padding:24px}#psy-calendar-prototype .pf-client-table{width:100%;border-collapse:collapse;font-size:13px}#psy-calendar-prototype .pf-client-table td,#psy-calendar-prototype .pf-client-table th{text-align:left;padding:12px 8px;border-bottom:1px solid var(--pf-line);overflow-wrap:anywhere}#psy-calendar-prototype .pf-client-table th{font-weight:500;color:var(--pf-soft)}#psy-calendar-prototype .pf-participants{margin-bottom:14px}#psy-calendar-prototype .pf-participants .pf-button{font-size:12px;margin-top:-5px}#psy-calendar-prototype .pf-group-people{display:grid;gap:6px;max-height:180px;overflow:auto;margin-bottom:12px;padding:4px}#psy-calendar-prototype .pf-group-people label{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0}#psy-calendar-prototype .pf-group-people input{width:auto;min-height:0}#psy-calendar-prototype .pf-login{max-width:430px;margin:40px auto;padding:32px 24px;background:var(--pf-paper);border:1px solid var(--pf-line);border-radius:17px}#psy-calendar-prototype .pf-login h1{margin:24px 0}#psy-calendar-prototype .pf-login input{display:block;width:100%;font:inherit;padding:13px;border:1px solid var(--pf-line);border-radius:8px;background:var(--pf-bg);color:var(--pf-ink);margin:8px 0 16px}#psy-calendar-prototype .pf-login a{color:var(--pf-green);display:block;margin-top:20px;font-size:12px}#psy-calendar-prototype .pf-login-error{font-size:13px;color:var(--pf-danger)}#psy-calendar-prototype .pf-clients-empty{color:var(--pf-soft);padding:20px 0}#psy-calendar-prototype .pf-global-error{margin:10px 24px;color:var(--pf-danger);font-size:13px}#psy-calendar-prototype .pf-global-error:empty{display:none}#psy-calendar-prototype .pf-link-button{border:0;background:transparent;color:var(--pf-green);padding:5px;font:inherit}#psy-calendar-prototype .pf-layer{min-height:100dvh}
@media(max-width:700px){#psy-calendar-prototype .pf-tabs{padding:12px 12px 0}#psy-calendar-prototype .pf-clients-content{padding:16px 12px}#psy-calendar-prototype .pf-client-table{display:block;overflow:auto}#psy-calendar-prototype .pf-nav{margin:0;flex-wrap:wrap}#psy-calendar-prototype .pf-login{margin:20px 12px}#psy-calendar-prototype .pf-dialog{width:450px}}
#psy-calendar-prototype .pf-remember{display:flex;align-items:flex-start;gap:10px;margin:0 0 18px;font-size:13px;cursor:pointer;line-height:1.4}#psy-calendar-prototype .pf-login .pf-remember input{width:18px;height:18px;flex:0 0 18px;padding:0;margin:0;accent-color:var(--pf-green)}#psy-calendar-prototype .pf-remember small{display:block;margin-top:3px;color:var(--pf-soft);font-size:11px}

/* Shared cabinet navigation and persistent video panel. */
#psy-calendar-prototype .pf-login-description{color:var(--pf-soft);font-size:14px;line-height:1.6;margin:-8px 0 24px}
#psy-calendar-prototype .pf-top{position:sticky;top:0;z-index:4;background:var(--pf-paper);min-height:66px}
#psy-calendar-prototype .pf-user{color:var(--pf-soft);max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#psy-calendar-prototype .pf-tabs{position:sticky;top:66px;z-index:4;background:var(--pf-paper);padding-bottom:14px;border-bottom:1px solid var(--pf-line)}
#psy-calendar-prototype .pf-call-active:after{content:'●';font-size:9px;color:#73a96b;margin-left:8px}
#psy-calendar-prototype .pf-video-content{padding:18px 24px 24px}
#psy-calendar-prototype .pf-video-heading{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:12px}
#psy-calendar-prototype .pf-video-heading h1{font-size:22px;margin:0;font-weight:500}
#psy-calendar-prototype .pf-video-heading p{font-size:12px;color:var(--pf-soft);margin:0}
#psy-calendar-prototype .pf-video-mount{height:calc(100dvh - 190px);min-height:420px;border-radius:15px;overflow:hidden;background:var(--pf-bg);border:1px solid var(--pf-line)}
#psy-calendar-prototype .pf-video-mount iframe{display:block;width:100%;height:100%;border:0}
#psy-calendar-prototype .pf-video-floating{position:fixed;right:24px;bottom:24px;z-index:5;width:360px;height:274px;padding:0;border:1px solid var(--pf-line);border-radius:15px;background:var(--pf-paper);box-shadow:0 12px 40px #0003;overflow:hidden}
#psy-calendar-prototype .pf-video-floating .pf-video-mount{height:calc(100% - 38px);min-height:0;border:0;border-radius:0}
#psy-calendar-prototype .pf-video-expand{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:38px;padding:0 12px;background:var(--pf-paper);border:0;font-size:11px;color:var(--pf-green)}
#psy-calendar-prototype.pf-has-floating-video .pf-content,#psy-calendar-prototype.pf-has-floating-video .pf-clients-content{padding-bottom:300px}
#psy-calendar-prototype .pf-layer{position:fixed;border-radius:0;overflow:auto;max-height:100dvh}
@media(max-width:700px){#psy-calendar-prototype .pf-app{padding-bottom:74px}#psy-calendar-prototype .pf-top{min-height:62px;flex-wrap:nowrap}#psy-calendar-prototype .pf-nav{margin-left:auto;font-size:11px;gap:10px}#psy-calendar-prototype .pf-user{max-width:110px}#psy-calendar-prototype .pf-tabs{position:fixed;top:auto;bottom:0;left:0;right:0;padding:10px 10px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--pf-line);border-bottom:0;display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:5px;z-index:6}#psy-calendar-prototype .pf-tabs .pf-button{padding:12px 7px;font-size:12px}#psy-calendar-prototype .pf-video-content{padding:12px}#psy-calendar-prototype .pf-video-heading{align-items:flex-start;flex-direction:column;gap:6px}#psy-calendar-prototype .pf-video-heading h1{font-size:19px}#psy-calendar-prototype .pf-video-mount{height:calc(100dvh - 220px);min-height:360px}#psy-calendar-prototype .pf-video-floating{right:12px;bottom:calc(80px + env(safe-area-inset-bottom));width:min(340px,calc(100vw - 24px));height:248px;padding:0}#psy-calendar-prototype.pf-has-floating-video .pf-content,#psy-calendar-prototype.pf-has-floating-video .pf-clients-content{padding-bottom:275px}}

#psy-calendar-prototype #accountHint{font-size:11px;margin:-8px 0 17px}#psy-calendar-prototype .pf-nav .pf-public-page{font-size:11px}@media(max-width:700px){#psy-calendar-prototype .pf-top{flex-wrap:wrap}#psy-calendar-prototype .pf-nav{gap:8px}#psy-calendar-prototype .pf-user{max-width:105px}}

#psy-calendar-prototype .pf-requests-content{padding:24px 28px}#psy-calendar-prototype .pf-booking-link{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:16px 0}#psy-calendar-prototype .pf-booking-link a{color:#27644d}#psy-calendar-prototype .pf-request-list{display:grid;gap:12px}#psy-calendar-prototype .pf-request-card{background:#fff;border:1px solid #dce4df;border-radius:12px;padding:18px;display:grid;grid-template-columns:1fr auto;gap:8px}#psy-calendar-prototype .pf-request-card h2{font-size:18px;margin:0}#psy-calendar-prototype .pf-request-card .pf-note{margin:0}#psy-calendar-prototype .pf-request-status{font-size:12px;color:#6d7470}#psy-calendar-prototype .pf-request-status.pending{color:#8c5a10}#psy-calendar-prototype .pf-event.is-reservation,#psy-calendar-prototype .pf-month-event.is-reservation,#psy-calendar-prototype .pf-reservation{background:#fff0ce;border-color:#c88a24;color:#754b0b}#psy-calendar-prototype .pf-event.is-reservation{cursor:pointer}@media(max-width:600px){#psy-calendar-prototype .pf-requests-content{padding:16px}#psy-calendar-prototype .pf-request-card{grid-template-columns:1fr}#psy-calendar-prototype .pf-tabs{flex-wrap:wrap}}

/* Planning keeps the mounted call visible beside the modal. */
#psy-calendar-prototype .pf-session-layer{position:fixed;inset:0;z-index:12;display:flex;justify-content:flex-end;align-items:center;padding:16px;background:#0d211b22;overflow:auto}#psy-calendar-prototype .sp-dialog{width:470px;max-width:100%;max-height:calc(100dvh - 32px);overflow:auto;background:var(--pf-paper);color:var(--pf-ink);border:1px solid var(--pf-line);border-radius:16px;padding:22px;box-shadow:0 18px 70px #0003}#psy-calendar-prototype .sp-head{display:flex;align-items:flex-start;gap:12px;justify-content:space-between}#psy-calendar-prototype .sp-head h2{font-size:20px;line-height:1.35;font-weight:500;margin:0}#psy-calendar-prototype .sp-close{border:0;background:transparent;font-size:25px;line-height:1;width:30px;height:30px;color:var(--pf-soft)}#psy-calendar-prototype .sp-content h3{font-size:16px;font-weight:500;margin:18px 0 12px}#psy-calendar-prototype .sp-note{font-size:12px;line-height:1.65;color:var(--pf-soft);margin:12px 0}#psy-calendar-prototype .sp-appointment{font-size:18px;line-height:1.6;margin:12px 0}#psy-calendar-prototype .sp-success{padding:12px;background:var(--pf-meeting);border-radius:8px;font-size:13px}#psy-calendar-prototype .sp-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px;padding-top:16px;border-top:1px solid var(--pf-line)}#psy-calendar-prototype .sp-actions .pf-primary:last-child{margin-left:auto}#psy-calendar-prototype .sp-inline-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}#psy-calendar-prototype .sp-form label{display:grid;gap:6px;font-size:12px;margin:12px 0}#psy-calendar-prototype .sp-form input,#psy-calendar-prototype .sp-form select{width:100%;border:1px solid var(--pf-line);background:var(--pf-bg);color:var(--pf-ink);border-radius:8px;padding:11px;font:inherit;min-width:0}#psy-calendar-prototype .sp-time{border:0;padding:0;margin:12px 0;min-width:0}#psy-calendar-prototype .sp-time legend{font-size:12px;margin-bottom:6px}#psy-calendar-prototype .sp-time-parts{display:grid;grid-template-columns:1fr 1fr;gap:8px}#psy-calendar-prototype .sp-error{color:var(--pf-danger);font-size:13px;line-height:1.5}#psy-calendar-prototype .sp-error:empty{display:none}#psy-calendar-prototype.pf-planning-open .pf-video-content{padding-right:500px}#psy-calendar-prototype.pf-planning-open .pf-video-mount{min-height:260px}#psy-calendar-prototype.pf-planning-open .pf-video-heading{display:none}#psy-calendar-prototype.pf-planning-open .pf-video-floating{left:16px;right:auto;width:min(360px,calc(100vw - 530px));padding:0}@media(max-width:850px){#psy-calendar-prototype .pf-session-layer{align-items:flex-end;padding:8px;background:#0d211b11}#psy-calendar-prototype .sp-dialog{width:100%;max-height:65dvh;padding:18px}#psy-calendar-prototype.pf-planning-open .pf-video-content{padding-right:12px}#psy-calendar-prototype.pf-planning-open .pf-video-mount{height:28dvh;min-height:170px}#psy-calendar-prototype.pf-planning-open .pf-video-floating{left:8px;right:8px;bottom:auto;top:64px;width:auto;height:28dvh}#psy-calendar-prototype .sp-form input,#psy-calendar-prototype .sp-form select{font-size:16px}}

#psy-calendar-prototype .sp-actions .sp-finish{margin-left:auto;color:var(--pf-danger);border-color:var(--pf-danger)}

#psy-calendar-prototype .pf-export-settings{display:flex;flex-wrap:wrap;gap:10px}#psy-calendar-prototype .pf-export-settings>.pf-note,#psy-calendar-prototype .pf-export-settings>details,#psy-calendar-prototype .pf-export-settings>.pf-export-message{flex-basis:100%;margin:0}#psy-calendar-prototype .pf-export-label{width:100%;min-width:0}#psy-calendar-prototype .pf-export-label input{font-size:12px;width:100%;min-width:0}#psy-calendar-prototype .pf-export-settings details{border-top:1px solid #dce4da;padding-top:12px}#psy-calendar-prototype .pf-export-settings summary{cursor:pointer;color:#315e47;font-weight:600}#psy-calendar-prototype .pf-export-settings details p{margin:10px 0 0}

#psy-calendar-prototype .pf-export-message{font-size:12px;color:var(--pf-danger)}#psy-calendar-prototype .pf-export-message:empty{display:none}

#psy-calendar-prototype .pf-apple-calendar{text-decoration:none;white-space:normal;text-align:center;max-width:100%}#psy-calendar-prototype .pf-apple-calendar[aria-disabled=true]{opacity:.5;pointer-events:none}

#psy-calendar-prototype .pf-provider-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}#psy-calendar-prototype .pf-provider-card{display:flex;align-items:center;gap:12px;min-height:98px;padding:15px 12px;text-align:left;text-decoration:none;background:#fff;border:1px solid var(--pf-line);border-radius:12px;color:var(--pf-ink);font:inherit;cursor:pointer;min-width:0}#psy-calendar-prototype .pf-provider-card:hover{background:#f2f6f2;border-color:#8aab98}#psy-calendar-prototype .pf-provider-card:disabled{opacity:.5;cursor:wait}#psy-calendar-prototype .pf-provider-logo{width:32px;height:32px;flex:none}#psy-calendar-prototype .pf-provider-text{display:grid;gap:6px;min-width:0}#psy-calendar-prototype .pf-provider-text strong{font-size:13px;line-height:1.4;font-weight:600}#psy-calendar-prototype .pf-provider-text small{font-size:10px;line-height:1.5;color:var(--pf-soft)}#psy-calendar-prototype .pf-provider-heading{width:100%;display:flex;align-items:center;gap:12px;flex-direction:row-reverse;justify-content:flex-end;font-size:18px;margin:8px 0;font-weight:500}#psy-calendar-prototype .pf-export-common{width:100%}#psy-calendar-prototype .pf-export-common .pf-button{margin:10px 8px 0 0}#psy-calendar-prototype .pf-export-common .pf-export-label{display:block;margin:12px 0 0}#psy-calendar-prototype .pf-export-message.is-success{color:var(--pf-green)}#psy-calendar-prototype .pf-export-settings a.pf-button{text-decoration:none;white-space:normal;text-align:center}@media(max-width:430px){#psy-calendar-prototype .pf-provider-card{flex-direction:column;align-items:flex-start;gap:10px;padding:14px}#psy-calendar-prototype .pf-provider-text strong{font-size:12px}}
/* Desktop cabinet shell; display:contents keeps the existing small-screen flow. */
#psy-calendar-prototype .pf-sidebar,#psy-calendar-prototype .pf-workspace{display:contents}
#psy-calendar-prototype .pf-brand-desktop,#psy-calendar-prototype .pf-sidebar-caption,#psy-calendar-prototype .pf-tab-icon{display:none}
#psy-calendar-prototype .pf-brand .pf-brand-mobile{font-weight:500}
@media(min-width:1024px){
 #psy-calendar-prototype.pf-cabinet-sidebar{max-width:none}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-app{display:grid;grid-template-columns:204px minmax(0,1fr);min-height:100dvh}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-sidebar{display:flex;flex-direction:column;position:sticky;top:0;height:100dvh;min-height:560px;padding:25px 14px 20px;background:var(--pf-paper);border-right:1px solid var(--pf-line);z-index:4;min-width:0}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-workspace{display:block;min-width:0}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-top{display:contents}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-sidebar .pf-brand{order:0;padding:0 10px;font-size:22px;letter-spacing:2.3px}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-brand-mobile{display:none}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-brand-desktop{display:block;font-weight:500}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-sidebar-caption{display:block;order:1;margin:7px 10px 28px;font-size:12px;color:var(--pf-soft)}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-tabs{order:2;position:static;display:flex;flex-direction:column;gap:7px;padding:0;border:0;background:transparent}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-tabs .pf-button{width:100%;min-height:46px;padding:12px;justify-content:flex-start;gap:11px;white-space:normal;text-align:left;border:0;background:transparent}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-tabs .pf-button:hover{background:var(--pf-bg)}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-tabs .pf-button[aria-pressed=true]{background:var(--pf-meeting);color:var(--pf-green);font-weight:500}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-tab-icon{display:block;width:19px;height:19px;flex:0 0 19px}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-sidebar .pf-nav{order:3;display:flex;flex-direction:column;align-items:stretch;gap:11px;margin:32px 0 0;margin-top:auto;padding:20px 10px 0;border-top:1px solid var(--pf-line);font-size:12px}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-sidebar .pf-user{max-width:none;white-space:normal;overflow-wrap:anywhere;color:var(--pf-ink);font-weight:500}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-sidebar .pf-link-button{text-align:left;padding:0;min-height:28px}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-sidebar .pf-public-page{text-decoration:none}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-video-content:not(.pf-video-floating){padding:25px 26px 22px}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-video-content:not(.pf-video-floating) .pf-video-heading{align-items:center;flex-direction:row;gap:20px;margin-bottom:18px}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-video-content:not(.pf-video-floating) .pf-video-heading h1{font-size:25px}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-video-content:not(.pf-video-floating) .pf-video-mount{height:calc(100dvh - 122px);min-height:480px}
}
/* Public page editor is an ordinary section in the desktop cabinet. */
#psy-calendar-prototype .pf-profile-content{padding:24px}
#psy-calendar-prototype .pf-tabs .pf-profile-menu{display:none}
#psy-calendar-prototype .pp-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px;align-items:start}
#psy-calendar-prototype .pp-editor-form{min-width:0}
#psy-calendar-prototype .pp-editor-form label{display:grid;gap:7px;margin-bottom:18px;font-size:13px}
#psy-calendar-prototype .pp-editor-form input,#psy-calendar-prototype .pp-editor-form textarea{display:block;width:100%;max-width:100%;border:1px solid var(--pf-line);border-radius:8px;padding:11px;background:var(--pf-paper);color:var(--pf-ink);font:inherit;resize:vertical}
#psy-calendar-prototype .pp-editor-form small{color:var(--pf-soft);font-size:12px}
#psy-calendar-prototype .pp-editor-message{font-size:13px;white-space:pre-line;color:var(--pf-green)}
#psy-calendar-prototype .pp-editor-preview{border:1px solid var(--pf-line);border-radius:12px;padding:24px;background:var(--pf-paper);min-width:0}
#psy-calendar-prototype .pp-editor-preview h2{font-size:22px;font-weight:500;margin:0 0 20px;overflow-wrap:anywhere}
#psy-calendar-prototype .pp-editor-preview h3{font-size:16px;font-weight:500;margin:24px 0 8px}
#psy-calendar-prototype .public-profile-text{white-space:pre-line;overflow-wrap:anywhere}
#psy-calendar-prototype .public-profile-text a{color:var(--pf-green)}
#psy-calendar-prototype .public-profile-note{font-size:12px;color:var(--pf-soft);margin-top:24px}
@media(min-width:1024px){
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-tabs .pf-profile-menu{display:flex}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-sidebar .pf-public-page,#psy-calendar-prototype.pf-cabinet-sidebar .pf-sidebar [data-refresh]{display:none}
}
@media(max-width:1100px){#psy-calendar-prototype .pp-editor-grid{grid-template-columns:minmax(0,1fr)}}

/* Calendar formats and searchable client fields, 20261024-calendar2. */
#psy-calendar-prototype{--pf-office:#e6edf8;--pf-office-line:#375b8a}
#psy-calendar-prototype .pf-event.is-office,#psy-calendar-prototype .pf-month-event.is-office,#psy-calendar-prototype .pf-swatch.pf-office{background:var(--pf-office);border-color:var(--pf-office-line)}
#psy-calendar-prototype .pf-view-switch kbd{font:inherit;font-size:10px;color:var(--pf-soft);margin-left:7px}
#psy-calendar-prototype .pf-client-picker{position:relative;margin-bottom:14px;min-width:0}
#psy-calendar-prototype .pf-client-picker>label{display:block;font-size:12px;margin:0 0 7px}
#psy-calendar-prototype .pf-client-control{display:flex;gap:0;min-width:0}
#psy-calendar-prototype .pf-client-control>input[type=text]{flex:1;min-width:0;border-radius:8px 0 0 8px}
#psy-calendar-prototype .pf-client-toggle{flex:0 0 38px;border:1px solid var(--pf-line);border-left:0;border-radius:0 8px 8px 0;background:var(--pf-bg);color:var(--pf-ink);font-size:18px;cursor:pointer}
#psy-calendar-prototype .pf-client-options{position:absolute;top:100%;left:0;right:0;z-index:3;max-height:240px;overflow:auto;overscroll-behavior:contain;background:var(--pf-paper);border:1px solid var(--pf-line);border-radius:8px;box-shadow:0 7px 22px #0002;margin-top:3px;padding:4px}
#psy-calendar-prototype .pf-client-options [role=option]{padding:10px 9px;cursor:pointer;border-radius:5px;font-size:14px;overflow-wrap:anywhere}
#psy-calendar-prototype .pf-client-options [role=option]:hover,#psy-calendar-prototype .pf-client-options [aria-selected=true]{background:var(--pf-wash)}
#psy-calendar-prototype .pf-client-hint{font-size:11px;color:var(--pf-soft);padding:9px;line-height:1.5}
@media(max-width:700px){#psy-calendar-prototype .pf-view-switch kbd{display:none}}
@media(max-width:390px){#psy-calendar-prototype .pf-today{display:inline-flex}}
#psy-calendar-prototype .pf-corner{white-space:pre;line-height:1.2;font-size:10px;text-align:center}
#psy-calendar-prototype .pf-view-controls{display:flex;align-items:center;gap:10px;margin-left:auto}
/* Use spare viewport height for the calendar without shrinking quarter-hour hit areas. */
#psy-calendar-prototype .pf-month-grid{min-height:var(--pf-month-grid-fill,590px);grid-auto-rows:minmax(118px,1fr)}
@media(max-width:700px){#psy-calendar-prototype .pf-month-grid{grid-auto-rows:minmax(74px,1fr)}}
#psy-calendar-prototype .pf-video-bar{display:flex;align-items:center;height:38px;background:var(--pf-paper)}
#psy-calendar-prototype .pf-video-bar .pf-video-expand{width:auto;flex:0 0 auto;padding:0 10px;font-size:11px}
#psy-calendar-prototype .pf-video-move{flex:1;min-width:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;background:transparent;border:0;color:var(--pf-green);text-align:left;font-size:11px;padding:10px;cursor:grab;touch-action:none}
#psy-calendar-prototype .pf-video-resize{position:absolute;left:0;top:0;z-index:8;width:24px;height:24px;border:0;background:#142f2bcc;color:#fff;cursor:nwse-resize;touch-action:none;border-radius:0 0 5px 0}
#psy-calendar-prototype.pf-window-adjusting .pf-video-mount iframe{pointer-events:none}
@media(min-width:1024px){#psy-calendar-prototype:not(.pf-planning-open) .pf-video-floating.pf-user-position{left:var(--pf-float-x);top:var(--pf-float-y);right:auto;bottom:auto;width:var(--pf-float-width);height:var(--pf-float-height)}}
@media(max-width:1023px){#psy-calendar-prototype .pf-video-move{cursor:default}#psy-calendar-prototype .pf-video-resize{display:none}}

/* Public links are shared by the video heading and the profile editor. */
#psy-calendar-prototype .pf-share-link{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-width:0;border:1px solid var(--pf-line);border-radius:10px;padding:9px 12px;background:var(--pf-wash);font-size:12px}
#psy-calendar-prototype .pf-share-link .pf-share-caption{color:var(--pf-soft)}
#psy-calendar-prototype .pf-share-link a{color:var(--pf-green);overflow-wrap:anywhere;min-width:0;max-width:100%}
#psy-calendar-prototype .pf-share-link .pf-copy-link{font-size:12px;padding:6px 10px;min-height:32px}
#psy-calendar-prototype .pf-copy-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#psy-calendar-prototype .pp-editor-aside{min-width:0}
#psy-calendar-prototype .pp-editor-links{display:grid;gap:10px;margin-bottom:18px}
#psy-calendar-prototype .pp-editor-links .pf-share-caption{flex-basis:100%}
@media(min-width:1024px){#psy-calendar-prototype .pf-video-floating .pf-video-move{padding-left:32px}}
#psy-calendar-prototype .pf-video-client-link{margin-left:auto}
#psy-calendar-prototype .pf-button.pf-copy-icon{width:34px;min-width:34px;height:34px;min-height:34px;padding:7px;flex:0 0 34px}
#psy-calendar-prototype .pf-copy-icon svg{display:block;flex:none;width:18px;height:18px}


#psy-calendar-prototype .pf-account-dialog{max-height:90dvh;overflow:auto}#psy-calendar-prototype .pf-account-dialog::backdrop{background:#132b2455}#psy-calendar-prototype .pf-account-dialog [data-channels] label{flex-direction:row;align-items:center;gap:10px}#psy-calendar-prototype .pf-account-dialog [data-channels] input[type=checkbox]{width:18px;height:18px;min-height:0;margin:0;padding:0;accent-color:var(--pf-accent,#285f53)}

#psy-calendar-prototype .pf-email-badge{background:#fff2d5;color:#805c13;border-radius:6px;padding:5px 8px;font-size:11px;text-align:left}#psy-calendar-prototype .pf-email-state.is-unverified{color:#805c13;background:#fff2d5;border-radius:6px;padding:7px 9px}#psy-calendar-prototype .pf-account-dialog details{margin:16px 0}#psy-calendar-prototype .pf-account-dialog summary{cursor:pointer;color:var(--pf-accent,#285f53)}

#psy-calendar-prototype .pf-sidebar-share{margin:12px;font-size:12px;min-width:0}#psy-calendar-prototype .pf-sidebar-share summary{cursor:pointer;color:var(--pf-green)}#psy-calendar-prototype .pf-sidebar-links{display:grid;gap:9px;margin-top:10px}#psy-calendar-prototype .pf-sidebar-links .pf-share-link{display:grid;grid-template-columns:minmax(0,1fr) 28px;padding:8px;gap:4px;background:transparent;font-size:11px}#psy-calendar-prototype .pf-sidebar-links .pf-share-caption{grid-column:1/-1;font-size:10px}#psy-calendar-prototype .pf-sidebar-links a{font-size:11px;line-height:1.45;word-break:break-word}#psy-calendar-prototype .pf-sidebar-links .pf-copy-link{padding:4px;min-height:28px;width:28px}#psy-calendar-prototype .pf-sidebar-links .pf-copy-status{display:none}@media(min-width:1024px){#psy-calendar-prototype.pf-cabinet-sidebar .pf-sidebar{overflow-y:auto}#psy-calendar-prototype.pf-cabinet-sidebar .pf-sidebar-share{order:3;margin:24px 0 0;margin-top:auto;padding:18px 4px 0}#psy-calendar-prototype.pf-cabinet-sidebar .pf-sidebar-share summary{display:none}#psy-calendar-prototype.pf-cabinet-sidebar .pf-sidebar-links{margin:0}#psy-calendar-prototype.pf-cabinet-sidebar .pf-sidebar .pf-nav{order:4;margin-top:16px;flex-shrink:0}}

/* Compact client links in the cabinet sidebar. */
#psy-calendar-prototype .pf-sidebar-share summary{font-size:12px}#psy-calendar-prototype .pf-sidebar-links .pf-share-link[data-compact="true"]{align-items:center;gap:7px;min-height:44px}#psy-calendar-prototype .pf-sidebar-links .pf-share-link[data-compact="true"] a{font-size:12px;line-height:1.45;word-break:normal;overflow-wrap:normal;text-decoration:none}#psy-calendar-prototype .pf-sidebar-links .pf-share-link[data-compact="true"] a:hover{text-decoration:underline}@media(min-width:1024px){#psy-calendar-prototype.pf-cabinet-sidebar .pf-sidebar-share summary{display:block;cursor:default;list-style:none;margin-bottom:10px}#psy-calendar-prototype.pf-cabinet-sidebar .pf-sidebar-share summary::-webkit-details-marker{display:none}}

/* Plain client links; the copy icon remains a separate control. */
#psy-calendar-prototype .pf-sidebar-links .pf-share-link[data-compact="true"]{border:0;border-radius:0;background:transparent;padding:4px 0;box-shadow:none}

.pf-entry-switch{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.pf-entry-switch button{flex:1}.pf-slot-collection{min-width:0;margin:0;padding:12px;border:1px solid var(--pf-line);border-radius:10px}.pf-slot-collection>legend{font-size:12px;font-weight:600;padding:0 4px}.pf-slot-list{display:grid;gap:9px;margin-bottom:10px}.pf-slot-row{display:flex;gap:6px;align-items:flex-end;min-width:0}.pf-slot-row>label,.pf-slot-row>.pf-time-field{min-width:0;flex:1;margin:0}.pf-slot-row .pf-slot-remove{padding:5px;min-width:30px;min-height:34px;flex-shrink:0}.pf-slot-collection>.pf-button{font-size:12px;padding:7px 9px}.pf-slot-row input{min-width:0}.pf-slot-row .pf-time-parts{min-width:0}

/* One frame around the complete client links block. */
#psy-calendar-prototype .pf-sidebar-share{border:1px solid var(--pf-line);border-radius:10px;padding:12px 10px}
@media(min-width:1024px){#psy-calendar-prototype.pf-cabinet-sidebar .pf-sidebar-share{padding:12px 8px;flex-shrink:0}}

/* Open periods split into hour-long booking choices. */
#psy-calendar-prototype .pf-dialog.pf-slot-dialog{width:800px}
#psy-calendar-prototype .pf-slot-entries{display:grid;gap:12px}
#psy-calendar-prototype .pf-slot-entry{display:grid;grid-template-columns:minmax(145px,1.2fr) minmax(135px,1fr) minmax(135px,1fr) minmax(108px,.9fr) 34px;gap:10px;align-items:end}
#psy-calendar-prototype .pf-slot-entry>label,#psy-calendar-prototype .pf-slot-entry>.pf-time-field{margin:0;min-width:0}
#psy-calendar-prototype .pf-slot-entry .pf-slot-remove{min-width:34px;width:34px;height:42px;padding:4px;font-size:21px}
#psy-calendar-prototype .pf-slot-add{width:40px;min-height:40px;margin-top:12px;padding:4px;font-size:23px;line-height:1}
@media(max-width:740px){#psy-calendar-prototype .pf-slot-entry{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 34px;gap:9px}#psy-calendar-prototype .pf-slot-entry>.pf-slot-date-field{grid-column:1/-1}#psy-calendar-prototype .pf-slot-entry>[data-slot-start]{grid-column:1}#psy-calendar-prototype .pf-slot-entry>[data-slot-end]{grid-column:2/4}#psy-calendar-prototype .pf-slot-entry>.pf-slot-mode-field{grid-column:1/3}#psy-calendar-prototype .pf-slot-entry>.pf-slot-remove{grid-column:3}#psy-calendar-prototype .pf-slot-entry+.pf-slot-entry{border-top:1px solid var(--pf-line);padding-top:12px}}

/* Year-filtered unavailability editor; edits are saved together. */
#psy-calendar-prototype .pf-dialog.pf-off-dialog{width:800px;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
#psy-calendar-prototype .pf-off-year{max-width:140px}
#psy-calendar-prototype .pf-off-entries{display:grid;gap:12px}
#psy-calendar-prototype .pf-off-entry{display:grid;grid-template-columns:minmax(145px,1fr) minmax(145px,1fr) minmax(140px,1.2fr) 34px;gap:10px;align-items:end}
#psy-calendar-prototype .pf-off-entry>label{margin:0;min-width:0}
#psy-calendar-prototype .pf-off-remove{min-width:34px;width:34px;height:42px;padding:4px;font-size:21px}
#psy-calendar-prototype .pf-off-add{width:40px;min-height:40px;margin-top:12px;padding:4px;font-size:23px;line-height:1}
@media(max-width:650px){#psy-calendar-prototype .pf-off-entry{grid-template-columns:minmax(0,1fr) 34px;gap:9px}#psy-calendar-prototype .pf-off-entry>label{grid-column:1/-1}#psy-calendar-prototype .pf-off-entry>label:nth-child(3){grid-column:1}#psy-calendar-prototype .pf-off-remove{grid-column:2}#psy-calendar-prototype .pf-off-entry+.pf-off-entry{border-top:1px solid var(--pf-line);padding-top:12px}}

#psy-calendar-prototype .pp-editor-form .pp-publish-toggle{display:flex;align-items:center;gap:9px}#psy-calendar-prototype .pp-publish-toggle input{width:18px;min-height:18px;height:18px;flex:none;margin:0;padding:0;accent-color:var(--pf-green)}

/* Tariff information belongs to the signed-in cabinet, above its workspace. */
#psy-calendar-prototype .pf-tariff-banner{display:flex;gap:20px;align-items:center;justify-content:space-between;border:1px solid #d7e0ea;background:#f6f8fb;border-radius:12px;padding:14px 18px;margin-bottom:18px;flex-wrap:wrap}
#psy-calendar-prototype .pf-tariff-banner[hidden],#psy-calendar-prototype .pf-tariff-locked[hidden]{display:none}
#psy-calendar-prototype .pf-tariff-banner strong{font-size:15px}#psy-calendar-prototype .pf-tariff-banner p{margin:5px 0 0;color:#536075;font-size:14px;line-height:1.5}
#psy-calendar-prototype .pf-tariff-banner[data-tone=warning]{background:#fff8e8;border-color:#e9cf86}#psy-calendar-prototype .pf-tariff-banner[data-tone=expired]{background:#fff1ee;border-color:#e9b4a9}
#psy-calendar-prototype .pf-tariff-locked{padding:32px;border:1px solid #e1e6ed;border-radius:16px;background:white;line-height:1.6;max-width:860px}
#psy-calendar-prototype .pf-tariff-dialog{max-width:580px;line-height:1.6}#psy-calendar-prototype .pf-tariff-dialog>button{display:block;margin-top:24px}#psy-calendar-prototype [data-account-tariff]{padding:16px;background:#f6f8fb;border-radius:10px;margin-bottom:20px}
#psy-calendar-prototype .pf-tariff-banner{margin:16px 16px 0}
#psy-calendar-prototype .pf-tariff-locked{margin:24px}
@media(min-width:1024px){#psy-calendar-prototype .pf-tariff-banner{margin:22px 26px 0}#psy-calendar-prototype.pf-cabinet-sidebar .pf-video-content:not(.pf-video-floating) .pf-video-mount{height:calc(100dvh - 122px - var(--pf-tariff-height,0px))}}

/* sessia-russian-wordmark */
.sessia-brand,#psy-calendar-prototype .pf-brand.sessia-brand,#psy-calendar-prototype.pf-cabinet-sidebar .pf-sidebar .pf-brand.sessia-brand{display:inline-flex;align-items:baseline;gap:0;color:#203e35;font:700 32px/1 Arial,Helvetica,sans-serif;letter-spacing:-2px;text-decoration:none;white-space:nowrap}
.sessia-brand .sessia-brand-dot,#psy-calendar-prototype .pf-brand.sessia-brand .sessia-brand-dot{color:#8ea57c;font:inherit;letter-spacing:inherit}

#psy-calendar-prototype .pf-draft-confirm{width:490px;margin:auto;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto}#psy-calendar-prototype .pf-draft-confirm::backdrop{background:var(--pf-shade)}#psy-calendar-prototype .pf-draft-confirm h2{margin-bottom:16px}#psy-calendar-prototype .pf-draft-confirm .pf-dialog-actions{justify-content:flex-start}
#psy-calendar-prototype .pf-unavailable-confirm{width:560px;margin:auto;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}#psy-calendar-prototype .pf-unavailable-confirm::backdrop{background:var(--pf-shade)}#psy-calendar-prototype .pf-unavailable-confirm h2{margin:0 0 16px}#psy-calendar-prototype .pf-unavailable-list{padding-left:24px;max-height:40dvh;overflow:auto;line-height:1.65}#psy-calendar-prototype .pf-unavailable-confirm .pf-dialog-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}

#psy-calendar-prototype .pf-request-section{display:grid;gap:12px;min-width:0}#psy-calendar-prototype .pf-request-section>h2{font-size:21px;margin:12px 0 0}#psy-calendar-prototype .pf-request-card h3{font-size:18px;font-weight:500;margin:0;overflow-wrap:anywhere}#psy-calendar-prototype .pf-booking-link.pf-share-link{background:none;border:0;border-radius:0;padding:0;box-shadow:none}

#psy-calendar-prototype .pf-client-tools{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,240px);gap:16px;margin:20px 0 12px}#psy-calendar-prototype .pf-client-tools label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--pf-soft)}#psy-calendar-prototype .pf-client-tools input,#psy-calendar-prototype .pf-client-tools select{width:100%;min-width:0;min-height:42px;border:1px solid var(--pf-line);border-radius:8px;background:var(--pf-paper);color:var(--pf-ink);padding:10px 12px;font:inherit;font-size:14px}#psy-calendar-prototype .pf-client-search-summary{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:12px}#psy-calendar-prototype .pf-client-search-summary p{margin:0;font-size:12px;color:var(--pf-soft)}#psy-calendar-prototype .pf-client-search-summary button{font-size:12px;padding:6px 10px}@media(max-width:600px){#psy-calendar-prototype .pf-client-tools{grid-template-columns:1fr;gap:12px}}

/* Keep client link titles outside the single shared frame. */
#psy-calendar-prototype .pf-sidebar-share{border:0;border-radius:0;background:transparent;padding:0}
#psy-calendar-prototype .pf-sidebar-share>summary{padding:0 8px;margin-bottom:10px}
#psy-calendar-prototype .pf-sidebar-links{border:1px solid var(--pf-line);border-radius:10px;padding:8px}
#psy-calendar-prototype .pf-video-heading{align-items:flex-start;flex-direction:column;gap:8px}
#psy-calendar-prototype .pf-video-client-link.pf-share-link{margin-left:0;border:0;border-radius:0;background:transparent;padding:0;box-shadow:none}
@media(min-width:1024px){#psy-calendar-prototype.pf-cabinet-sidebar .pf-sidebar-share{padding:0}#psy-calendar-prototype.pf-cabinet-sidebar .pf-video-content:not(.pf-video-floating) .pf-video-heading{align-items:flex-start;flex-direction:column;gap:8px}}

/* Approved light theme: Мягкий шалфей, 2026-11-01. */
#psy-calendar-prototype .pf-button{border-radius:12px}
#psy-calendar-prototype .pf-button.pf-primary:hover{background:#1b3d42;border-color:#1b3d42}
#psy-calendar-prototype .pf-view-switch{border-radius:12px}
#psy-calendar-prototype .pf-view-switch button{border-radius:8px}
#psy-calendar-prototype .pf-view-switch button[aria-pressed=true]{background:var(--pf-active);color:var(--pf-ink)}
#psy-calendar-prototype .pf-day-heading.is-active strong{background:var(--pf-active);color:var(--pf-green)}
#psy-calendar-prototype .pf-dialog,#psy-calendar-prototype .sp-dialog{box-shadow:0 18px 60px #2537351f}
#psy-calendar-prototype .pf-dialog input:focus-visible,#psy-calendar-prototype .pf-dialog select:focus-visible,#psy-calendar-prototype .pf-client-tools input:focus-visible,#psy-calendar-prototype .pf-client-tools select:focus-visible{outline:2px solid var(--pf-green);outline-offset:2px}
#psy-calendar-prototype .pf-request-card{background:var(--pf-paper);border-color:var(--pf-line)}
#psy-calendar-prototype .pf-provider-card{background:var(--pf-paper)}
#psy-calendar-prototype .pf-provider-card:hover{background:var(--pf-wash);border-color:#77998f}
#psy-calendar-prototype .pf-booking-link a,#psy-calendar-prototype .pf-export-settings summary{color:var(--pf-green)}
#psy-calendar-prototype [data-account-tariff]{background:var(--pf-bg)}
#psy-calendar-prototype .pf-sidebar-links{background:var(--pf-paper);border-radius:12px}
#psy-calendar-prototype .pf-topbar-circle{background:var(--pf-paper);color:var(--pf-green)}
#psy-calendar-prototype .pf-topbar-item[open] .pf-topbar-circle{background:var(--pf-active)}
#psy-calendar-prototype .pf-brand.sessia-brand{color:var(--pf-green)}
#psy-calendar-prototype .pf-brand.sessia-brand .sessia-brand-dot{color:#77998f}
/* Mode and status are independent; the same classes serve day/week/month. */
#psy-calendar-prototype .pf-event,#psy-calendar-prototype .pf-month-event{background:var(--pf-meeting);border-color:var(--pf-online-ink);color:var(--pf-online-ink)}
#psy-calendar-prototype .pf-event.is-office,#psy-calendar-prototype .pf-month-event.is-office{background:var(--pf-office);border-color:var(--pf-office-ink);color:var(--pf-office-ink)}
#psy-calendar-prototype .pf-event.is-slot,#psy-calendar-prototype .pf-month-event.is-slot{background:var(--pf-slot);border:1px dashed var(--pf-online-ink)}
#psy-calendar-prototype .pf-event.is-slot.is-office,#psy-calendar-prototype .pf-month-event.is-slot.is-office{background:#f4f7fc;border-color:var(--pf-office-ink)}
#psy-calendar-prototype .pf-event.is-slot.is-both,#psy-calendar-prototype .pf-month-event.is-slot.is-both{background:#f4f5f4;border-color:var(--pf-soft);color:var(--pf-ink)}
#psy-calendar-prototype .pf-event.is-reservation,#psy-calendar-prototype .pf-month-event.is-reservation{background:var(--pf-paper);border:1px solid var(--pf-online-ink);border-left-width:3px;color:var(--pf-online-ink)}
#psy-calendar-prototype .pf-event.is-reservation.is-office,#psy-calendar-prototype .pf-month-event.is-reservation.is-office{border-color:var(--pf-office-ink);color:var(--pf-office-ink)}
#psy-calendar-prototype .pf-event .pf-event-time{color:inherit}
#psy-calendar-prototype .pf-swatch{background:var(--pf-meeting);border:1px solid var(--pf-online-ink)}
#psy-calendar-prototype .pf-swatch.pf-office{background:var(--pf-office);border-color:var(--pf-office-ink)}
#psy-calendar-prototype .pf-swatch.pf-slot{background:var(--pf-paper);border:1px dashed var(--pf-soft)}
#psy-calendar-prototype .pf-swatch.pf-reservation{background:var(--pf-paper);border:1px solid var(--pf-soft);border-left-width:3px;color:var(--pf-ink)}
#psy-calendar-prototype .pf-swatch.pf-off{background:var(--pf-off);border-color:var(--pf-line)}
@media(min-width:1024px){
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-sidebar{background:var(--pf-sidebar)}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-sidebar .pf-brand.sessia-brand{color:var(--pf-green)}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-tabs .pf-button{border-radius:12px;color:var(--pf-soft)}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-tabs .pf-button:hover{background:#dfe8e2;color:var(--pf-ink)}
 #psy-calendar-prototype.pf-cabinet-sidebar .pf-tabs .pf-button[aria-pressed=true]{background:var(--pf-active);color:var(--pf-ink)}
}
/* Compact navigation: reuse the same sections, links and live video iframe. */
#psy-calendar-prototype .pf-mobile-only{display:none}
body.sessia-mobile-menu-lock{overflow:hidden;overscroll-behavior:none}
#psy-calendar-prototype.pf-mobile-layout{--pf-mobile-header-height:72px}
#psy-calendar-prototype.pf-mobile-layout .pf-app{display:block;padding-top:var(--pf-mobile-header-height);padding-bottom:0}
#psy-calendar-prototype.pf-mobile-layout .pf-cabinet-topbar{position:fixed;inset:0 0 auto;z-index:41;height:var(--pf-mobile-header-height);min-height:0;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:0;padding:12px 18px;background:var(--pf-paper)}
#psy-calendar-prototype.pf-mobile-layout .pf-mobile-menu-toggle{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;padding:0;background:var(--pf-sidebar-bg,#e8eeeb);color:var(--pf-green);grid-column:1;grid-row:1}
#psy-calendar-prototype .pf-mobile-menu-toggle svg{width:24px;height:24px}
#psy-calendar-prototype .pf-mobile-cross{display:none}
#psy-calendar-prototype.pf-mobile-menu-open .pf-mobile-cross{display:block}
#psy-calendar-prototype.pf-mobile-menu-open .pf-mobile-hamburger{display:none}
#psy-calendar-prototype.pf-mobile-layout .pf-mobile-brand{display:inline-flex;justify-self:center;grid-column:2;grid-row:1;font-size:30px}
#psy-calendar-prototype.pf-mobile-layout .pf-topbar-inbox{grid-column:3;grid-row:1;justify-self:end}
#psy-calendar-prototype.pf-mobile-layout .pf-topbar-circle{width:44px;height:44px}
#psy-calendar-prototype.pf-mobile-layout .pf-topbar-assistance,#psy-calendar-prototype.pf-mobile-layout .pf-topbar-account{display:none}
#psy-calendar-prototype.pf-mobile-layout .pf-topbar-assistance[open],#psy-calendar-prototype.pf-mobile-layout .pf-topbar-account[open]{display:contents}
#psy-calendar-prototype.pf-mobile-layout .pf-topbar-assistance>summary,#psy-calendar-prototype.pf-mobile-layout .pf-topbar-account>summary{display:none}
#psy-calendar-prototype.pf-mobile-layout .pf-cabinet-topbar .pf-topbar-popover{position:fixed;left:12px;right:12px;width:auto;max-width:none;box-sizing:border-box;overflow:auto;overflow-wrap:anywhere;overscroll-behavior:contain;z-index:1}
#psy-calendar-prototype.pf-mobile-layout .pf-topbar-popover .pf-notice-list{max-height:none;overflow:visible}
#psy-calendar-prototype.pf-mobile-layout .pf-topbar-popover .pf-popover-close{position:sticky;top:0;float:right;display:grid;place-items:center;width:36px;height:36px;margin:-6px -6px 0 8px;padding:0;border:1px solid var(--pf-line);border-radius:50%;background:var(--pf-paper);color:var(--pf-ink);font-family:inherit;font-size:24px;line-height:1;cursor:pointer;z-index:1}
#psy-calendar-prototype.pf-mobile-layout .pf-sidebar{position:fixed;inset:var(--pf-mobile-header-height) 0 0;z-index:40;display:none;flex-direction:column;width:auto;height:auto;min-height:0;padding:18px 16px calc(24px + env(safe-area-inset-bottom));margin:0;border:0;background:var(--pf-paper);overflow:auto;overscroll-behavior:contain}
#psy-calendar-prototype.pf-mobile-layout.pf-mobile-menu-open .pf-sidebar{display:flex}
#psy-calendar-prototype.pf-mobile-layout .pf-sidebar>.pf-top{display:none}
#psy-calendar-prototype.pf-mobile-layout .pf-tabs{position:static;display:flex;flex-direction:column;gap:5px;padding:0;margin:0;border:0;background:transparent;flex:none}
#psy-calendar-prototype.pf-mobile-layout .pf-tabs .pf-button{display:flex;align-items:center;justify-content:flex-start;gap:16px;width:100%;min-height:58px;padding:12px 16px;border:0;border-radius:12px;background:transparent;color:var(--pf-ink);text-align:left;font-size:16px;font-weight:400}
#psy-calendar-prototype.pf-mobile-layout .pf-tabs .pf-button[aria-pressed=true]{background:var(--pf-nav-active,#d6e3dc);color:var(--pf-green);font-weight:500}
#psy-calendar-prototype.pf-mobile-layout .pf-tab-icon{display:block;width:22px;height:22px;flex:none}
#psy-calendar-prototype.pf-mobile-layout .pf-sidebar-share{flex:none;margin:20px 0 0;padding:20px 0 0;border:0;border-top:1px solid var(--pf-line);border-radius:0}
#psy-calendar-prototype.pf-mobile-layout .pf-sidebar-share>summary{display:block;list-style:none;cursor:default;padding:0 16px;margin:0 0 9px;font-size:11px;line-height:1.5;text-transform:uppercase;letter-spacing:.8px;color:var(--pf-soft)}
#psy-calendar-prototype.pf-mobile-layout .pf-sidebar-share>summary::-webkit-details-marker{display:none}
#psy-calendar-prototype.pf-mobile-layout .pf-sidebar-links{display:grid;border:0;border-radius:0;padding:0;gap:4px;background:transparent}
#psy-calendar-prototype.pf-mobile-layout .pf-sidebar-links .pf-share-link[data-compact=true]{min-height:45px;padding:4px 16px;margin:0;gap:8px}
#psy-calendar-prototype.pf-mobile-layout .pf-sidebar-links .pf-share-link a{font-size:14px;text-decoration:none}
#psy-calendar-prototype.pf-mobile-layout .pf-sidebar-links .pf-copy-icon{border:1px solid var(--pf-line);border-radius:10px;width:36px;height:36px;min-height:36px}
#psy-calendar-prototype.pf-mobile-layout .pf-mobile-extra{display:block;flex:none;margin-top:20px}
#psy-calendar-prototype.pf-mobile-layout .pf-mobile-secondary,#psy-calendar-prototype.pf-mobile-layout .pf-mobile-account{padding-top:12px;border-top:1px solid var(--pf-line)}
#psy-calendar-prototype.pf-mobile-layout .pf-mobile-account{margin-top:14px;padding-top:18px}
#psy-calendar-prototype.pf-mobile-layout .pf-mobile-extra button{display:flex;align-items:center;gap:16px;width:100%;min-height:50px;border:0;border-radius:10px;padding:10px 16px;background:transparent;font-size:14px;text-align:left}
#psy-calendar-prototype.pf-mobile-layout .pf-mobile-extra button:hover{background:var(--pf-bg)}
#psy-calendar-prototype.pf-mobile-layout .pf-mobile-extra svg{width:22px;height:22px;flex:none}
#psy-calendar-prototype.pf-mobile-layout .pf-mobile-person{display:flex;align-items:center;gap:16px;margin:0 16px 8px;font-size:14px;overflow-wrap:anywhere}
#psy-calendar-prototype.pf-mobile-layout .pf-mobile-person strong{font-weight:500}
#psy-calendar-prototype.pf-mobile-layout .pf-mobile-extra [data-mobile-action=logout]{color:var(--pf-soft)}
#psy-calendar-prototype.pf-mobile-layout .pf-video-floating{bottom:calc(12px + env(safe-area-inset-bottom));z-index:5}
#psy-calendar-prototype.pf-phone-calendar button[data-view=month]{display:none!important}
#psy-calendar-prototype:not(.pf-mobile-layout) .pf-mobile-only{display:none}

/* Pending requests are distinct from unread notifications. */
#psy-calendar-prototype .pf-tabs .pf-request-dot{display:inline-block;flex:none;width:8px;height:8px;margin-left:8px;border-radius:50%;background:#c63d45;vertical-align:middle}
#psy-calendar-prototype .pf-tabs .pf-request-dot[hidden]{display:none}
#psy-calendar-prototype.pf-mobile-layout .pf-tabs .pf-request-dot{margin-left:auto}
#psy-calendar-prototype.pf-mobile-layout .pf-mobile-extra .pf-mobile-person{margin:0;font-size:14px;color:var(--pf-ink)}

/* Compact calendar: keep the schedule above secondary tools. */
#psy-calendar-prototype .pf-mobile-create,#psy-calendar-prototype .pf-calendar-footer{display:none}
#psy-calendar-prototype.pf-mobile-layout .pf-content{padding:14px 12px 90px}
#psy-calendar-prototype.pf-mobile-layout .pf-content>.pf-heading{margin-bottom:8px;gap:0}
#psy-calendar-prototype.pf-mobile-layout .pf-content>.pf-heading h1{font-size:23px;margin-bottom:3px}
#psy-calendar-prototype.pf-mobile-layout .pf-content>.pf-heading .pf-zone{font-size:11px;line-height:1.4}
#psy-calendar-prototype.pf-mobile-layout .pf-content>.pf-heading>.pf-actions{display:none}
#psy-calendar-prototype.pf-mobile-layout .pf-content>.pf-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin-bottom:10px}
#psy-calendar-prototype.pf-mobile-layout .pf-navigation{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:6px;width:100%}
#psy-calendar-prototype.pf-mobile-layout .pf-navigation [data-nav="-1"]{grid-column:1;grid-row:1}
#psy-calendar-prototype.pf-mobile-layout .pf-navigation [data-nav="1"]{grid-column:3;grid-row:1}
#psy-calendar-prototype.pf-mobile-layout .pf-navigation .pf-range{grid-column:2;grid-row:1;margin:0;white-space:normal;text-align:center;font-size:14px;line-height:1.25}
#psy-calendar-prototype.pf-mobile-layout .pf-navigation .pf-icon{width:44px;min-height:44px;padding:6px}
#psy-calendar-prototype.pf-mobile-layout .pf-view-controls{justify-content:space-between;margin:0;width:100%;gap:12px}
#psy-calendar-prototype.pf-mobile-layout .pf-view-controls .pf-today{display:inline-flex;min-height:44px;padding:7px 14px;font-size:13px}
#psy-calendar-prototype.pf-mobile-layout .pf-view-controls .pf-view-switch{display:flex;gap:2px;padding:3px}
#psy-calendar-prototype.pf-mobile-layout .pf-view-controls .pf-view-switch button{min-height:38px;min-width:64px;padding:5px 12px;font-size:13px}
#psy-calendar-prototype.pf-mobile-layout .pf-view-switch kbd{display:none}
#psy-calendar-prototype.pf-mobile-layout .pf-calendar-footer{display:grid;gap:12px;margin-top:16px}
#psy-calendar-prototype.pf-mobile-layout .pf-calendar-footer .pf-legend{margin:0;gap:10px 14px}
#psy-calendar-prototype.pf-mobile-layout .pf-calendar-footer [data-calendar-export]{justify-self:start;font-size:13px}
#psy-calendar-prototype.pf-mobile-layout .pf-mobile-create{display:flex;position:fixed;right:20px;bottom:calc(20px + env(safe-area-inset-bottom));align-items:flex-end;flex-direction:column;gap:12px;z-index:8}
#psy-calendar-prototype.pf-mobile-layout .pf-create-toggle{display:grid;place-items:center;width:56px;height:56px;border:1px solid var(--pf-green);border-radius:50%;background:var(--pf-green);color:var(--pf-on-green);box-shadow:0 5px 18px #244b5033}
#psy-calendar-prototype .pf-create-toggle svg{width:26px;height:26px;transition:transform .15s}
#psy-calendar-prototype .pf-create-toggle[aria-expanded=true] svg{transform:rotate(45deg)}
#psy-calendar-prototype.pf-mobile-layout .pf-create-options{display:grid;gap:4px;width:230px;max-width:calc(100vw - 40px);padding:8px;border:1px solid var(--pf-line);border-radius:15px;background:var(--pf-paper);box-shadow:0 8px 30px #244b5026}
#psy-calendar-prototype .pf-create-options button{display:flex;align-items:center;gap:12px;min-height:48px;border:0;border-radius:9px;padding:10px 12px;background:transparent;text-align:left;font-size:14px}
#psy-calendar-prototype .pf-create-options button:hover{background:var(--pf-wash)}
#psy-calendar-prototype .pf-create-options svg{width:22px;height:22px;flex:none}
#psy-calendar-prototype.pf-mobile-menu-open .pf-mobile-create,#psy-calendar-prototype .pf-app[inert] .pf-mobile-create{visibility:hidden}
#psy-calendar-prototype.pf-mobile-layout.pf-has-floating-video .pf-mobile-create{bottom:calc(280px + env(safe-area-inset-bottom))}
#psy-calendar-prototype.pf-mobile-layout.pf-has-floating-video .pf-content{padding-bottom:300px}
@media(prefers-reduced-motion:reduce){#psy-calendar-prototype .pf-create-toggle svg{transition:none}}

/* A phone week is seven readable columns; only Day hides the other dates. */
#psy-calendar-prototype .pf-week-scroll-hint{display:none}
#psy-calendar-prototype.pf-mobile-layout .pf-calendar[data-view=week]{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--pf-soft) var(--pf-wash)}
#psy-calendar-prototype.pf-mobile-layout .pf-calendar[data-view=week] .pf-days,#psy-calendar-prototype.pf-mobile-layout .pf-calendar[data-view=week] .pf-week{min-width:740px;grid-template-columns:40px repeat(7,minmax(0,1fr))}
#psy-calendar-prototype.pf-mobile-layout .pf-calendar[data-view=week] .pf-column{display:block}
#psy-calendar-prototype.pf-mobile-layout .pf-calendar[data-view=week] .pf-event{left:3px;right:3px;padding:4px}
#psy-calendar-prototype.pf-mobile-layout .pf-calendar[data-view=week] .pf-event-title{font-size:12px}
#psy-calendar-prototype.pf-mobile-layout .pf-calendar[data-view=week] .pf-hours{position:sticky;left:0;z-index:2;background:var(--pf-paper)}
#psy-calendar-prototype.pf-mobile-layout .pf-calendar[data-view=week] .pf-corner{position:sticky;left:0;z-index:2;background:var(--pf-paper)}
#psy-calendar-prototype.pf-mobile-layout .pf-week-scroll-hint:not([hidden]){display:block;margin:-3px 0 7px;font-size:11px;color:var(--pf-soft)}
#psy-calendar-prototype.pf-mobile-layout .pf-calendar:focus-visible{outline:2px solid var(--pf-green);outline-offset:2px}

/* Today is marked only in its day/date header; the time grid stays neutral. */
#psy-calendar-prototype{--pf-today-bg:#d6e3dc;--pf-today-line:#789887}
#psy-calendar-prototype .pf-day-heading.is-today{background:var(--pf-today-bg);color:var(--pf-green);box-shadow:inset 0 -2px 0 var(--pf-today-line);font-weight:600}
#psy-calendar-prototype .pf-day-heading.is-today strong{background:transparent;color:var(--pf-green);box-shadow:none;font-weight:700}
#psy-calendar-prototype .pf-month-cell.is-today .pf-month-date{box-shadow:0 0 0 1px var(--pf-today-line)}
/* A single phone toolbar row: navigation/date, then Day/Week. */
#psy-calendar-prototype.pf-mobile-layout .pf-content>.pf-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center}
#psy-calendar-prototype.pf-mobile-layout .pf-navigation{grid-template-columns:40px minmax(0,1fr) 40px;gap:2px}
#psy-calendar-prototype.pf-mobile-layout .pf-navigation .pf-icon{width:40px;min-width:40px;min-height:44px}
#psy-calendar-prototype.pf-mobile-layout .pf-navigation .pf-range{font-size:12px;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums}
#psy-calendar-prototype.pf-mobile-layout .pf-navigation .pf-range span,#psy-calendar-prototype.pf-mobile-layout .pf-navigation .pf-range small{display:block}
#psy-calendar-prototype.pf-mobile-layout .pf-navigation .pf-range small{margin-top:2px;font-size:10px;font-weight:400;color:var(--pf-soft)}
#psy-calendar-prototype.pf-mobile-layout .pf-view-controls{width:auto;gap:0}
#psy-calendar-prototype.pf-mobile-layout .pf-view-controls .pf-today{display:none}
#psy-calendar-prototype.pf-mobile-layout .pf-view-controls .pf-view-switch button{min-width:0;padding:5px 8px;font-size:12px}
@media(max-width:359px){#psy-calendar-prototype.pf-mobile-layout .pf-navigation .pf-range{font-size:11px}#psy-calendar-prototype.pf-mobile-layout .pf-view-controls .pf-view-switch button{padding:5px 6px}}

/* Client sorting belongs to the table headers; mobile rows remain single-line. */
#psy-calendar-prototype .pf-client-tools{grid-template-columns:minmax(0,1fr)}
#psy-calendar-prototype .pf-client-list{max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--pf-soft) var(--pf-wash)}
#psy-calendar-prototype .pf-client-list:focus-visible{outline:2px solid var(--pf-green);outline-offset:3px;border-radius:5px}
#psy-calendar-prototype .pf-client-table th{white-space:nowrap}
#psy-calendar-prototype .pf-client-table{width:max-content;min-width:100%;table-layout:auto}
#psy-calendar-prototype .pf-client-table td{white-space:nowrap;overflow-wrap:normal;word-break:normal}
#psy-calendar-prototype .pf-account-dialog [data-topics] label{flex-direction:row;align-items:center;gap:10px}
#psy-calendar-prototype .pf-account-dialog [data-topics] input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;min-height:0;margin:0;padding:0;accent-color:var(--pf-accent,#285f53)}
#psy-calendar-prototype .pf-client-table th:has(.pf-client-sort){padding-top:0;padding-bottom:0}
#psy-calendar-prototype .pf-client-sort{display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;min-height:44px;padding:8px 0;border:0;background:transparent;color:var(--pf-soft);font:inherit;text-align:left;white-space:nowrap}
#psy-calendar-prototype .pf-client-sort:hover{color:var(--pf-green)}
#psy-calendar-prototype .pf-client-sort:focus-visible{outline:2px solid var(--pf-green);outline-offset:3px;border-radius:3px}
#psy-calendar-prototype .pf-client-sort svg{width:18px;height:18px;flex:none}
#psy-calendar-prototype .pf-client-sort path{opacity:.5}
#psy-calendar-prototype .pf-client-sort[data-direction=asc] .pf-sort-asc,#psy-calendar-prototype .pf-client-sort[data-direction=desc] .pf-sort-desc{opacity:1}
#psy-calendar-prototype .pf-client-sort[data-direction=asc] .pf-sort-desc,#psy-calendar-prototype .pf-client-sort[data-direction=desc] .pf-sort-asc{opacity:.2}
#psy-calendar-prototype .pf-client-sort:not([data-direction=none]){color:var(--pf-green);font-weight:600}
#psy-calendar-prototype .pf-client-scroll-hint{display:none}
#psy-calendar-prototype.pf-mobile-layout .pf-client-table{display:table;width:max-content;min-width:100%;overflow:visible;table-layout:auto}
#psy-calendar-prototype.pf-mobile-layout .pf-client-table th,#psy-calendar-prototype.pf-mobile-layout .pf-client-table td{white-space:nowrap;overflow-wrap:normal;word-break:normal;padding-left:12px;padding-right:12px}
#psy-calendar-prototype.pf-mobile-layout .pf-client-scroll-hint:not([hidden]){display:block;color:var(--pf-soft);font-size:11px;margin:0 0 8px}

/* Align request links with the existing video title/link rhythm. */
#psy-calendar-prototype .pf-requests-content .pf-request-heading{position:relative;display:flex;align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:8px;min-width:0}
#psy-calendar-prototype .pf-request-heading h1{margin:0;padding-right:190px;max-width:100%}
#psy-calendar-prototype .pf-request-heading .pf-booking-link{margin:0;gap:10px}
#psy-calendar-prototype .pf-request-note{margin:0 0 12px;line-height:1.5}
#psy-calendar-prototype .pf-booking-settings{position:absolute;right:0;top:0}
#psy-calendar-prototype .pf-booking-settings svg{display:none}
#psy-calendar-prototype .pf-client-table .pf-client-edit{width:44px;min-width:44px;height:44px;min-height:44px;padding:10px}
#psy-calendar-prototype .pf-client-edit svg{width:20px;height:20px}
#psy-calendar-prototype.pf-mobile-layout .pf-request-heading h1{font-size:23px;line-height:1.2;padding-right:56px}
#psy-calendar-prototype.pf-mobile-layout .pf-booking-settings{width:44px;height:44px;min-height:44px;padding:10px}
#psy-calendar-prototype.pf-mobile-layout .pf-booking-settings span{display:none}
#psy-calendar-prototype.pf-mobile-layout .pf-booking-settings svg{display:block;width:22px;height:22px}

/* Dialogs must cover the fixed mobile header and menu. */
#psy-calendar-prototype .pf-layer{z-index:60;min-height:0;height:100dvh;max-height:100dvh;overscroll-behavior:contain;align-items:flex-start}
#psy-calendar-prototype .pf-layer>.pf-dialog{flex-shrink:0;max-height:calc(100dvh - 76px);overflow-y:auto;overscroll-behavior:contain}
#psy-calendar-prototype .pf-client-table .pf-client-remove{width:44px;min-width:44px;height:44px;min-height:44px;padding:10px;margin-left:6px;color:var(--pf-danger)}
#psy-calendar-prototype .pf-client-remove svg{width:20px;height:20px}
#psy-calendar-prototype .pf-client-row-actions{white-space:nowrap}
#psy-calendar-prototype .pf-danger-button{border-color:#b85757;background:#a13737;color:#fff}
#psy-calendar-prototype .pf-danger-button:hover{background:#872d2d}
#psy-calendar-prototype.pf-mobile-layout .pf-layer{padding:calc(12px + env(safe-area-inset-top)) 8px calc(12px + env(safe-area-inset-bottom))}
#psy-calendar-prototype.pf-mobile-layout .pf-layer>.pf-dialog{max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}

/* Session planning: creation stays next to the client picker in both layouts. */
#psy-calendar-prototype .sp-client-add{flex:0 0 44px;min-width:44px;min-height:44px;padding:0;border:1px solid var(--pf-line);border-left:0;border-radius:0 8px 8px 0;background:var(--pf-bg);color:var(--pf-green);font-size:24px;line-height:1}
#psy-calendar-prototype .sp-client-selection .pf-client-toggle{flex-basis:44px;border-radius:0}
#psy-calendar-prototype .sp-client-add:hover{background:var(--pf-wash)}
#psy-calendar-prototype .pf-session-layer{z-index:60}
#psy-calendar-prototype.pf-mobile-layout .sp-dialog{position:relative;padding:18px 16px;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
#psy-calendar-prototype.pf-mobile-layout .sp-dialog:not([data-step=ended]) .sp-head h2,
#psy-calendar-prototype.pf-mobile-layout .sp-client-selection .pf-client-picker>label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#psy-calendar-prototype.pf-mobile-layout .sp-dialog:not([data-step=ended]) .sp-head{position:absolute;right:10px;top:10px}
#psy-calendar-prototype.pf-mobile-layout .sp-close{width:36px;height:36px}
#psy-calendar-prototype.pf-mobile-layout .sp-dialog:not([data-step=ended]) .sp-content>h3:first-of-type{margin:0 40px 14px 0;font-size:17px;line-height:1.4}
#psy-calendar-prototype.pf-mobile-layout .sp-intro,
#psy-calendar-prototype.pf-mobile-layout .sp-client-hint,
#psy-calendar-prototype.pf-mobile-layout .sp-guest-context{display:none}
#psy-calendar-prototype.pf-mobile-layout .sp-client-selection .pf-client-picker{margin:0}
#psy-calendar-prototype.pf-mobile-layout .sp-client-selection .sp-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:16px;padding-top:0;border-top:0}
#psy-calendar-prototype.pf-mobile-layout .sp-client-selection .sp-actions .pf-button{min-width:0;min-height:44px;margin:0;padding:9px 8px;white-space:normal;font-size:12px;line-height:1.35}
#psy-calendar-prototype.pf-mobile-layout .sp-client-selection .sp-choose-time{grid-column:1/-1}

#psy-calendar-prototype.pf-mobile-layout .sp-client-selection .pf-client-options:not([hidden]){position:static;max-height:min(30dvh,220px);margin-top:6px}

/* Phone booking actions: primary save, then back and finish. */
#psy-calendar-prototype.pf-mobile-layout .sp-dialog[data-step=book] .sp-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:16px;padding-top:16px}
#psy-calendar-prototype.pf-mobile-layout .sp-dialog[data-step=book] .sp-actions .pf-button{min-width:0;min-height:44px;margin:0;padding:9px 8px;white-space:normal;font-size:12px;line-height:1.35}
#psy-calendar-prototype.pf-mobile-layout .sp-dialog[data-step=book] .sp-book-save{grid-column:1/-1}
#psy-calendar-prototype.pf-mobile-layout .sp-dialog[data-step=book] .sp-finish{border-color:var(--pf-line);background:transparent;color:var(--pf-danger)}

/* Desktop planning: stable one-row actions and a separate end action. */
@media(min-width:1024px){
#psy-calendar-prototype:not(.pf-mobile-layout) .sp-dialog:is(.sp-client-selection,[data-step=book]){width:540px}
#psy-calendar-prototype:not(.pf-mobile-layout) .sp-dialog:is(.sp-client-selection,[data-step=book]) .sp-actions{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:8px}
#psy-calendar-prototype:not(.pf-mobile-layout) .sp-dialog:is(.sp-client-selection,[data-step=book]) .sp-actions .pf-button{min-height:44px;margin:0;padding:10px 12px;white-space:nowrap}
#psy-calendar-prototype:not(.pf-mobile-layout) .sp-dialog:is(.sp-client-selection,[data-step=book]) .sp-actions .pf-primary{min-width:130px}
#psy-calendar-prototype:not(.pf-mobile-layout) .sp-dialog:is(.sp-client-selection,[data-step=book]) .sp-finish{justify-self:end;border-color:var(--pf-line);background:transparent;color:var(--pf-danger)}
}

/* Account settings: grouped desktop navigation and a phone list/detail view. */
#psy-calendar-prototype .pf-account-dialog.pf-account-settings{width:900px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);padding:0;overflow-y:auto;overscroll-behavior:contain}
#psy-calendar-prototype .pf-account-settings .pf-account-head{position:sticky;top:0;z-index:2;background:var(--pf-paper);padding:22px 26px;margin:0;border-bottom:1px solid var(--pf-line)}
#psy-calendar-prototype .pf-account-head small{display:block;color:var(--pf-soft);font-size:11px;margin-bottom:4px}
#psy-calendar-prototype .pf-account-head .pf-account-close{border-radius:50%;padding:0;width:38px;height:38px;font-size:24px;line-height:1;flex-shrink:0}
#psy-calendar-prototype .pf-account-body{display:grid;grid-template-columns:200px minmax(0,1fr);min-height:500px}
#psy-calendar-prototype .pf-account-sections{display:flex;flex-direction:column;gap:5px;padding:18px 10px;background:var(--pf-sidebar);border-right:1px solid var(--pf-line)}
#psy-calendar-prototype .pf-account-section-button{display:flex;align-items:center;gap:10px;min-height:64px;padding:11px 10px;width:100%;border:0;background:transparent;text-align:left;border-radius:10px;cursor:pointer}
#psy-calendar-prototype .pf-account-section-button[aria-current=page]{background:var(--pf-active);color:var(--pf-green)}
#psy-calendar-prototype .pf-account-section-button svg{width:18px;height:18px;flex:0 0 18px}
#psy-calendar-prototype .pf-account-section-button>span:not(.pf-account-chevron){display:grid;gap:2px}
#psy-calendar-prototype .pf-account-section-button strong{font-weight:500;font-size:14px}
#psy-calendar-prototype .pf-account-section-button small{color:var(--pf-soft);font-size:11px}
#psy-calendar-prototype .pf-account-chevron{display:none}
#psy-calendar-prototype .pf-account-content{padding:28px;min-width:0}
#psy-calendar-prototype .pf-account-content>section{min-width:0}
#psy-calendar-prototype .pf-account-content h3{font-size:19px;font-weight:500;margin:0 0 7px}
#psy-calendar-prototype .pf-account-content .pf-note{margin:6px 0 22px;line-height:1.5}
#psy-calendar-prototype .pf-account-content h3.pf-account-subheading{font-size:14px;margin:0 0 12px}
#psy-calendar-prototype .pf-account-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
#psy-calendar-prototype .pf-account-settings input:not([type=checkbox]),#psy-calendar-prototype .pf-account-settings select{background:var(--pf-paper)}
#psy-calendar-prototype .pf-account-divider{border-top:1px solid var(--pf-line);margin:24px 0 20px}
#psy-calendar-prototype .pf-account-contact{display:grid;justify-items:start;gap:4px;padding:10px 0;min-width:0}
#psy-calendar-prototype .pf-account-contact>small{font-size:12px;color:var(--pf-soft)}
#psy-calendar-prototype .pf-account-contact>strong{font-weight:500;overflow-wrap:anywhere;max-width:100%}
#psy-calendar-prototype .pf-account-contact .pf-email-state,#psy-calendar-prototype .pf-account-phone-state{font-size:11px;color:var(--pf-green)}
#psy-calendar-prototype .pf-account-contact .pf-email-state.is-unverified{padding:2px 6px;font-size:11px}
#psy-calendar-prototype .pf-account-contact .pf-link-button{padding:0;text-align:left;margin-top:5px}
#psy-calendar-prototype .pf-account-settings [role=status]:empty,#psy-calendar-prototype .pf-account-settings [data-error]:empty{display:none}
#psy-calendar-prototype .pf-account-contact details{margin:4px 0 0;width:100%}
#psy-calendar-prototype .pf-account-contact [data-contact-phone-controls]{width:100%}
#psy-calendar-prototype .pf-account-contact summary,#psy-calendar-prototype .pf-account-password summary{font-size:12px;min-height:28px;display:list-item}
#psy-calendar-prototype .pf-account-contact details form,#psy-calendar-prototype .pf-account-password form{margin:14px 0 6px;padding:16px;border:1px solid var(--pf-line);border-radius:10px;background:var(--pf-bg)}
#psy-calendar-prototype .pf-account-back{display:none}
#psy-calendar-prototype .pf-account-messenger{margin-bottom:6px}
#psy-calendar-prototype .pf-account-messenger-row{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--pf-line)}
#psy-calendar-prototype .pf-account-messenger-row h3{font-size:14px;margin:0}
#psy-calendar-prototype .pf-account-messenger-row span{font-size:11px;color:var(--pf-soft)}
#psy-calendar-prototype .pf-account-messenger [data-max-link-controls],#psy-calendar-prototype .pf-account-messenger [data-telegram-link-controls]{padding:4px 0 12px;font-size:12px}
#psy-calendar-prototype .pf-account-settings [data-channels]{margin-top:24px}
#psy-calendar-prototype .pf-account-channels{display:flex;gap:18px;flex-wrap:wrap}
#psy-calendar-prototype .pf-account-settings [data-topics]{margin-top:20px}
#psy-calendar-prototype .pf-account-settings [data-topics] label{min-height:36px;margin-bottom:6px}
#psy-calendar-prototype .pf-account-settings [data-topics] .pf-note{margin:10px 0 20px}
#psy-calendar-prototype .pf-account-settings [data-account-tariff]{padding:20px;background:var(--pf-wash);border-radius:12px;margin-bottom:24px}
#psy-calendar-prototype .pf-account-settings [data-account-tariff] p{font-size:13px;line-height:1.5;margin:12px 0}
#psy-calendar-prototype .pf-account-settings [aria-label="Порекомендовать нас"] p{font-size:12px;line-height:1.5}
#psy-calendar-prototype .pf-account-settings [data-account-deletion]{margin-top:30px;padding-top:22px;border-top:1px solid var(--pf-line)}
#psy-calendar-prototype .pf-account-settings [data-account-deletion]>hr{display:none}
#psy-calendar-prototype .pf-account-settings [data-account-deletion]>h3{font-size:14px}
#psy-calendar-prototype .pf-account-settings [data-account-deletion]>p{font-size:12px;color:var(--pf-soft)}
#psy-calendar-prototype .pf-account-error{margin-top:18px;color:var(--pf-danger);font-size:12px;overflow-wrap:anywhere}
#psy-calendar-prototype .pf-account-settings[open]{display:flex;flex-direction:column}
#psy-calendar-prototype .pf-account-settings .pf-account-head{flex:0 0 auto}
#psy-calendar-prototype .pf-account-settings .pf-account-body{flex:1 0 auto}
#psy-calendar-prototype .pf-account-savebar{position:sticky;bottom:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 24px;background:var(--pf-paper);border-top:1px solid var(--pf-line);flex:0 0 auto;margin-top:auto}
#psy-calendar-prototype .pf-account-savebar>div{min-width:0;flex:1;max-height:180px;overflow:auto;overscroll-behavior:contain}
#psy-calendar-prototype .pf-account-savebar p{margin:0;font-size:12px;overflow-wrap:anywhere}
#psy-calendar-prototype .pf-account-savebar>.pf-button{flex-shrink:0;min-width:112px}
@media(max-width:600px){
#psy-calendar-prototype .pf-account-dialog.pf-account-settings{position:fixed;inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;padding:0}
#psy-calendar-prototype .pf-account-settings .pf-account-head{padding:calc(20px + env(safe-area-inset-top)) 20px 20px}
#psy-calendar-prototype .pf-account-head .pf-account-close{width:44px;height:44px}
#psy-calendar-prototype .pf-account-body{display:block;min-height:0}
#psy-calendar-prototype .pf-account-sections{background:var(--pf-paper);border:0;padding:16px;gap:8px}
#psy-calendar-prototype .pf-account-section-button{padding:16px 12px;border:1px solid var(--pf-line);border-radius:12px;min-height:74px;gap:14px}
#psy-calendar-prototype .pf-account-section-button[aria-current=page]{background:var(--pf-paper);color:var(--pf-ink)}
#psy-calendar-prototype .pf-account-section-button>span:not(.pf-account-chevron){flex:1}
#psy-calendar-prototype .pf-account-chevron{display:block;font-size:22px;color:var(--pf-soft)}
#psy-calendar-prototype .pf-account-content{display:none;padding:22px 20px calc(26px + env(safe-area-inset-bottom))}
#psy-calendar-prototype .pf-account-settings[data-account-detail=true] .pf-account-sections{display:none}
#psy-calendar-prototype .pf-account-settings[data-account-detail=true] .pf-account-content{display:block}
#psy-calendar-prototype .pf-account-back{display:block;margin-bottom:22px;min-height:44px;text-align:left;padding:0}
#psy-calendar-prototype .pf-account-fields{grid-template-columns:minmax(0,1fr);gap:0}
#psy-calendar-prototype .pf-account-settings input:not([type=checkbox]),#psy-calendar-prototype .pf-account-settings select{font-size:16px;min-height:44px}
#psy-calendar-prototype .pf-account-settings .pf-button,#psy-calendar-prototype .pf-account-settings .pf-link-button,#psy-calendar-prototype .pf-account-settings summary{min-height:44px}
#psy-calendar-prototype .pf-account-settings [data-topics] label,#psy-calendar-prototype .pf-account-settings [data-channels] label{min-height:44px;margin:0;align-items:center}
#psy-calendar-prototype .pf-account-savebar{gap:12px;padding:12px 20px calc(12px + env(safe-area-inset-bottom))}
}

/* Period editor: compact phone cards with independent scrolling and fixed actions. */
#psy-calendar-prototype .pf-slot-number{display:none}
#psy-calendar-prototype .pf-slot-entry>.pf-slot-date-field{grid-column:1;grid-row:1}
#psy-calendar-prototype .pf-slot-entry>[data-slot-start]{grid-column:2;grid-row:1}
#psy-calendar-prototype .pf-slot-entry>[data-slot-end]{grid-column:3;grid-row:1}
#psy-calendar-prototype .pf-slot-entry>.pf-slot-mode-field{grid-column:4;grid-row:1}
#psy-calendar-prototype .pf-slot-entry>.pf-slot-remove{grid-column:5;grid-row:1}
#psy-calendar-prototype .pf-slot-add{width:auto;padding:9px 12px;font-size:14px;line-height:1.3}
#psy-calendar-prototype .pf-slot-count{font-weight:600;color:var(--pf-ink);margin:12px 0}
#psy-calendar-prototype .pf-slot-zone{margin:0 0 14px}
#psy-calendar-prototype .pf-slot-help{font-size:12px;color:var(--pf-soft)}
#psy-calendar-prototype .pf-slot-help summary{cursor:pointer;padding:8px 0}
@media(max-width:740px){
#psy-calendar-prototype:not(.pf-mobile-layout) .pf-slot-entry{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 34px}
#psy-calendar-prototype:not(.pf-mobile-layout) .pf-slot-entry>.pf-slot-date-field{grid-column:1/-1;grid-row:1}
#psy-calendar-prototype:not(.pf-mobile-layout) .pf-slot-entry>[data-slot-start]{grid-column:1;grid-row:2}
#psy-calendar-prototype:not(.pf-mobile-layout) .pf-slot-entry>[data-slot-end]{grid-column:2/4;grid-row:2}
#psy-calendar-prototype:not(.pf-mobile-layout) .pf-slot-entry>.pf-slot-mode-field{grid-column:1/3;grid-row:3}
#psy-calendar-prototype:not(.pf-mobile-layout) .pf-slot-entry>.pf-slot-remove{grid-column:3;grid-row:3}
}
#psy-calendar-prototype.pf-mobile-layout .pf-layer>.pf-slot-dialog{display:flex;flex-direction:column;height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:0;overflow:hidden}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-dialog .pf-dialog-head{flex:0 0 auto;margin:0;padding:14px 16px;border-bottom:1px solid var(--pf-line)}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-dialog .pf-form{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-dialog .pf-form-fields{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-dialog .pf-dialog-actions{flex:0 0 auto;flex-wrap:nowrap;gap:10px;margin:0;padding:12px 16px;border-top:1px solid var(--pf-line);background:var(--pf-paper)}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-dialog .pf-dialog-actions>.pf-button{min-height:44px}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-dialog .pf-dialog-actions>.pf-primary{flex:1}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-dialog .pf-error:empty{display:none}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-dialog .pf-error:not(:empty){flex:0 0 auto;max-height:80px;overflow:auto;margin:0;padding:10px 16px}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-entry,#psy-calendar-prototype.pf-mobile-layout .pf-slot-entry+.pf-slot-entry{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:12px;border:1px solid var(--pf-line);border-radius:12px;align-items:end}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-entry>.pf-slot-number{display:block;grid-column:1;grid-row:1;align-self:center;font-size:13px}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-entry>.pf-slot-remove{grid-column:2;grid-row:1;justify-self:end;width:44px;min-height:44px;height:44px}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-entry>.pf-slot-date-field{grid-column:1;grid-row:2}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-entry>.pf-slot-mode-field{grid-column:2;grid-row:2}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-entry>[data-slot-start]{grid-column:1;grid-row:3}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-entry>[data-slot-end]{grid-column:2;grid-row:3}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-entry input,#psy-calendar-prototype.pf-mobile-layout .pf-slot-entry select{font-size:16px;min-height:44px;padding:8px 5px;max-width:100%}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-entry .pf-time-parts{gap:3px}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-add{min-height:44px;width:100%}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-help summary{min-height:44px;align-content:center}
@media(max-width:360px){
#psy-calendar-prototype.pf-mobile-layout .pf-slot-entry>.pf-slot-date-field{grid-column:1/-1;grid-row:2}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-entry>.pf-slot-mode-field{grid-column:1/-1;grid-row:3}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-entry>[data-slot-start]{grid-column:1/-1;grid-row:4}
#psy-calendar-prototype.pf-mobile-layout .pf-slot-entry>[data-slot-end]{grid-column:1/-1;grid-row:5}
}
#psy-calendar-prototype.pf-mobile-layout .pf-layer>.pf-mobile-editor{display:flex;flex-direction:column;min-height:0;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:0;overflow:hidden}
#psy-calendar-prototype.pf-mobile-layout .pf-mobile-editor .pf-dialog-head{flex:0 0 auto;margin:0;padding:14px 16px;border-bottom:1px solid var(--pf-line)}
#psy-calendar-prototype.pf-mobile-layout .pf-mobile-editor .pf-form{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
#psy-calendar-prototype.pf-mobile-layout .pf-mobile-editor .pf-form-fields{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px}
#psy-calendar-prototype.pf-mobile-layout .pf-mobile-editor .pf-dialog-actions{flex:0 0 auto;gap:10px;margin:0;padding:12px 16px;border-top:1px solid var(--pf-line);background:var(--pf-paper)}
#psy-calendar-prototype.pf-mobile-layout .pf-mobile-editor .pf-dialog-actions>.pf-button{min-height:44px}
#psy-calendar-prototype.pf-mobile-layout .pf-mobile-editor .pf-dialog-actions>.pf-primary{flex:1}
#psy-calendar-prototype.pf-mobile-layout .pf-mobile-editor .pf-error:empty{display:none}
#psy-calendar-prototype.pf-mobile-layout .pf-mobile-editor .pf-error:not(:empty){flex:0 0 auto;max-height:80px;overflow:auto;margin:0;padding:10px 16px}

/* Shared referral and permission-checked statistics navigation. */
#psy-calendar-prototype .pf-tabs .pf-admin-navigation{text-decoration:none}

