/* Stunavi Zeitportal — scoped styles; no changes to the existing coach layout. */
#zeitportal.zp{--zp-ink:#153e42;--zp-petrol:#087b7e;--zp-line:#dce8e7;--zp-muted:#607579;--zp-soft:#eff7f5;padding:28px;overflow:hidden;border:1px solid var(--zp-line);box-shadow:0 8px 30px #183f4206;color:var(--zp-ink);scroll-margin-top:90px}
.zp *{box-sizing:border-box}.zp [hidden]{display:none!important}.zp h2,.zp h3,.zp p{margin:0}.zp h2{font-size:30px;letter-spacing:-.8px;line-height:1.2}.zp h3{font-size:18px;line-height:1.4;letter-spacing:-.25px}.zp p{font-size:13px;line-height:1.6;color:var(--zp-muted)}.zp button,.zp input{font:inherit}.zp button,.zp a,.zp input,.zp summary{touch-action:manipulation}.zp button:focus-visible,.zp a:focus-visible,.zp input:focus-visible,.zp summary:focus-visible,.zp-timetable-scroll:focus-visible{outline:3px solid #dcb66c;outline-offset:3px}.zp svg{width:19px;height:19px;flex:none}.zp-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.zp-eyebrow{display:block;text-transform:uppercase;font-size:10px;letter-spacing:1.6px;font-weight:800;color:var(--zp-petrol);margin-bottom:7px}.zp-header>div>p{margin-top:8px}.zp-header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.zp-badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;border:1px solid var(--zp-line);background:#f8fbfa;padding:6px 9px;border-radius:20px;white-space:nowrap}.zp-badge:before{content:'';width:6px;height:6px;border-radius:50%;background:#9fb4b1}.zp-success-badge:before{background:#149365}.zp-warning-badge{color:#8c5911;background:#fff7e8;border-color:#f0d5a5}.zp-warning-badge:before{background:#c8923c}.zp-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 14px;border:1px solid var(--zp-line);border-radius:9px;background:#fff;color:var(--zp-ink);font-size:12px;font-weight:700;line-height:1.3;cursor:pointer;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s}.zp-button:hover{background:#f1f7f5;border-color:#9dc6c0}.zp-button:disabled{cursor:not-allowed;opacity:.5}.zp-primary,.zp-optimize{color:#fff;background:var(--zp-petrol);border-color:var(--zp-petrol)}.zp-primary:hover,.zp-optimize:hover{background:#05686b;border-color:#05686b}.zp-optimize{box-shadow:0 3px 8px #087b7e16}.zp-text-button{border:0;min-height:30px;padding:4px 5px;background:transparent;font-size:11px;text-decoration:underline;text-underline-offset:3px}.zp-quiet{border:0;min-height:34px;background:transparent;padding:5px 8px}.zp-icon-button{width:34px;height:34px;min-height:34px;padding:0;font-size:24px;line-height:1}.zp-week-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.zp-week-heading h3{font-size:16px}.zp-week-heading p{font-size:11px;margin-top:3px}.zp-week-heading p span{color:#7b8c8f}.zp-week-nav{display:flex;gap:4px;align-items:center}.zp-timetable-scroll{overflow-x:auto;padding-bottom:10px;scrollbar-width:thin}.zp-timetable{display:grid;grid-template-columns:48px repeat(7,minmax(79px,1fr));min-width:610px;gap:0}.zp-day-label{height:48px;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--zp-muted);font-size:11px;border-bottom:1px solid var(--zp-line);margin-bottom:12px}.zp-day-label b{font-size:14px;color:var(--zp-ink);display:grid;place-items:center;width:27px;height:27px;border-radius:50%;font-weight:650}.zp-today .zp-day-label b{background:var(--zp-petrol);color:#fff}.zp-day-track,.zp-hours{position:relative;height:clamp(230px,26vw,380px)}.zp-day-track{border-left:1px solid #e8efed;background:repeating-linear-gradient(to bottom,#e7efec 0,#e7efec 1px,transparent 1px,transparent calc(100% / var(--zp-hours)));border-bottom:1px solid #e7efec}.zp-day:last-child .zp-day-track{border-right:1px solid #e8efed}.zp-today .zp-day-track{background-color:#f5faf9}.zp-hours{border-top:1px solid transparent}.zp-hours>span{position:absolute;left:0;transform:translateY(-50%);font-size:10px;color:#758b8a}.zp-study-block{display:flex;flex-direction:column;gap:1px;position:absolute;left:3px;right:3px;min-height:21px;border-left:3px solid var(--zp-petrol);border-radius:4px;background:#dcefea;color:#14564f;padding:3px 5px;overflow:hidden;text-decoration:none;z-index:2;font-size:10px;line-height:1.25}.zp-study-block strong{font-size:10px;letter-spacing:-.1px}.zp-study-block span{font-size:9px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zp-study-block:hover{filter:brightness(.97);box-shadow:0 2px 8px #17474318;z-index:3}.zp-study-block:focus-visible{z-index:4}.zp-color-1{background:#e6ebfa;color:#3d4d7d;border-left-color:#778dbe}.zp-color-2{background:#faedda;color:#856536;border-left-color:#c89e61}.zp-busy-block{position:absolute;left:4px;right:4px;background:repeating-linear-gradient(135deg,#f0f2f1,#f0f2f1 4px,#e6ebe9 4px,#e6ebe9 5px);border-radius:4px;z-index:1;overflow:hidden;color:#84938e;font-size:9px;padding:3px}.zp-day-empty{position:absolute;top:44%;left:0;right:0;text-align:center;color:#c8d7d2;font-size:16px}.zp-table-foot{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-top:5px;margin-bottom:24px;font-size:10px;color:#6b807c}.zp-legend{display:flex;gap:14px}.zp-legend>span{display:flex;align-items:center;gap:5px;white-space:nowrap}.zp-legend i{display:block;width:8px;height:8px;border-radius:2px}.zp-legend-learn{background:#5ba293}.zp-legend-busy{background:#c8d2ce}.zp-legend-free{background:#fff;border:1px solid #c8d7d2}.zp-settings{border:1px solid var(--zp-line);border-radius:13px;overflow:hidden}.zp-setting-section{padding:22px}.zp-setting-section+.zp-setting-section{border-top:1px solid var(--zp-line)}.zp-setting-title{display:flex;gap:11px;align-items:center}.zp-step{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:#eaf4f1;color:var(--zp-petrol);font-size:12px;font-weight:800;flex:none}.zp-setting-title h3{font-size:16px}.zp-setting-title p{font-size:12px;margin-top:3px}.zp-exams{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.zp-exam-field{display:flex;flex-direction:column;gap:6px;min-width:0}.zp-exam-field>span{font-weight:650;font-size:12px}.zp input[type=date],.zp input[type=time],.zp input[type=number]{height:40px;border:1px solid #cbdcda;background:#fff;border-radius:7px;color:var(--zp-ink);padding:7px 10px;font-size:13px;max-width:100%;min-width:0}.zp input[type=date]{width:100%}.zp-exam-field>small{font-size:10px;color:#7a8b8a}.zp-budget-grid{display:grid;grid-template-columns:125px minmax(220px,1fr) 220px;gap:20px;margin-top:20px;align-items:start}.zp-hours-input>span,.zp-window>span,.zp-weekdays legend{display:block;font-size:11px;font-weight:700;margin-bottom:8px;color:#5d7370}.zp-hours-input>div{display:flex;align-items:center;gap:8px}.zp-hours-input input{width:66px;font-weight:750;font-size:19px!important;height:42px!important}.zp-hours-input b{font-size:11px;color:#627673;font-weight:500}.zp-weekdays{border:0;padding:0;margin:0;min-width:0}.zp-weekdays>div{display:flex;gap:5px}.zp-weekdays label{display:block;position:relative;cursor:pointer}.zp-weekdays input{position:absolute;opacity:0;width:1px;height:1px}.zp-weekdays span{display:grid;place-items:center;width:34px;height:42px;border:1px solid var(--zp-line);border-radius:7px;font-size:11px;font-weight:650;color:#718480;background:#fff}.zp-weekdays input:checked+span{background:#e4f1ec;border-color:#6daa9b;color:#185f54}.zp-weekdays input:focus-visible+span{outline:3px solid #dcb66c;outline-offset:3px}.zp-window>div{display:flex;gap:6px;align-items:center}.zp-window>div>span{font-size:11px;color:#83928e}.zp-window input{width:99px;height:42px!important;padding:7px!important}.zp-setting-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px}.zp-setting-foot p{display:flex;align-items:center;gap:7px;font-size:11px}.zp-setting-foot p svg{width:15px;height:15px;color:#69998d}.zp-calendar{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(300px,1.1fr);gap:25px;padding:23px 0;margin-top:3px;border-bottom:1px solid var(--zp-line)}.zp-calendar-icon{display:grid;place-items:center;width:31px;height:34px;color:var(--zp-petrol);flex:none}.zp-calendar-icon svg{width:25px;height:25px}.zp-calendar h3{font-size:15px}.zp-benefit{display:flex;align-items:center;gap:9px;margin-top:16px;font-size:11px;color:#53716a}.zp-benefit>span{display:flex;gap:5px;align-items:center}.zp-benefit>b{font-size:14px;color:#a0b6ae}.zp-benefit i{display:block;width:12px;height:15px;border-radius:2px}.zp-benefit-busy{background:repeating-linear-gradient(135deg,#dde7e2,#dde7e2 3px,#bacdc3 3px,#bacdc3 4px)}.zp-benefit-free{border:1px dashed #a9c5b9;background:#fff}.zp-benefit-learn{background:#268e77}.zp-calendar-buttons{display:flex;flex-wrap:wrap;gap:7px}.zp-calendar-buttons .zp-button{min-height:35px;padding:7px 10px;font-size:11px}.zp-file-label{position:relative}.zp-file-label:focus-within{outline:3px solid #dcb66c;outline-offset:3px}.zp .zp-small{font-size:10px;line-height:1.5;margin-top:8px}.zp-calendar-help{font-size:10px;margin-top:9px;color:#627d74}.zp-calendar-help summary{cursor:pointer;width:max-content;text-decoration:underline;text-underline-offset:3px}.zp-calendar-help p{font-size:11px;margin-top:8px}.zp-connected{display:flex;gap:5px;align-items:center;font-size:11px;flex-wrap:wrap;margin-bottom:7px}.zp-connected>span:not(.zp-connected-dot){font-size:10px;color:#738780}.zp-connected-dot{height:6px;width:6px;display:block;border-radius:50%;background:#2b9874}.zp-connected .zp-text-button{margin-left:auto}.zp-rhythm{display:flex;align-items:center;gap:13px;background:#f4f8f6;border-radius:10px;padding:14px 17px;margin:18px 0}.zp-rhythm-icon{color:#698f7e;display:flex;align-items:center}.zp-rhythm b{font-size:12px}.zp-rhythm p{font-size:11px;line-height:1.5;margin-top:3px}.zp-rhythm p span{color:#81948b}.zp-rhythm progress{width:60px;height:5px;flex:none;accent-color:#538e7a;margin-left:auto}.zp-upcoming{margin-top:25px}.zp-upcoming-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.zp-upcoming-head h3{font-size:16px}.zp-upcoming-head p{font-size:11px;margin-top:2px}.zp-upcoming-head button{font-size:10px;min-height:34px;padding:7px 10px}.zp-session-list{list-style:none;padding:0;margin:0;display:grid;gap:0}.zp-session-list li{display:flex;align-items:center;gap:15px;padding:13px 0;border-top:1px solid #e7eeea}.zp-session-date{width:52px;flex:none;border-radius:8px;background:#f1f6f3;padding:8px 5px;text-align:center;display:flex;flex-direction:column;gap:1px}.zp-session-date b{font-size:19px;line-height:1.1}.zp-session-date span{font-size:9px;color:#6c8077;white-space:nowrap}.zp-session-content{display:flex;flex-direction:column;gap:4px;min-width:0}.zp-session-content small{font-size:10px;color:#5b8a78}.zp-session-content>b{font-size:12px;line-height:1.4}.zp-session-content>span{font-size:10px;color:#7d8e86}.zp-session-link{margin-left:auto;display:flex;gap:5px;align-items:center;color:var(--zp-petrol);text-decoration:none;font-weight:750;font-size:11px;flex:none;min-height:40px}.zp-session-link svg{width:16px;height:16px}.zp-more{display:flex;margin:12px auto 0;min-height:35px;font-size:11px}.zp-empty{display:flex;gap:14px;align-items:center;padding:19px;background:#f7faf8;border:1px dashed #d4e2da;border-radius:9px}.zp-empty>span{color:#91aea0}.zp-empty svg{width:27px;height:27px}.zp-empty b{font-size:13px}.zp-empty p{font-size:11px;margin-top:3px}.zp-message{background:#eaf5ef;border:1px solid #c3e2d1;color:#246547;padding:12px 14px;border-radius:8px;font-size:12px;margin:0 0 17px;line-height:1.5}.zp-error{background:#fff3ed;border-color:#f2cbbb;color:#8a462f}.zp-plan-warnings{padding:10px 13px;margin-bottom:15px;background:#fff8eb;border:1px solid #eddec0;border-radius:8px}.zp-plan-warnings p{font-size:11px;color:#866333}.zp-plan-warnings p+p{margin-top:5px}.zp .zp-warn-text{color:#986620}.zp-proposal{padding:21px;border:1px solid #9cc9b8;border-radius:12px;background:#f0f8f3;margin-bottom:20px}.zp-proposal h3{font-size:18px}.zp-proposal p{font-size:12px;margin-top:6px}.zp-compare{display:grid;grid-template-columns:1fr 25px 1fr;gap:12px;align-items:center;margin:17px 0}.zp-compare>div{display:flex;flex-direction:column;gap:5px;padding:13px 15px;background:#fff;border:1px solid #d9e8de;border-radius:8px}.zp-compare small{color:#7b9282;font-size:10px;text-transform:uppercase;letter-spacing:1px}.zp-compare b{font-size:14px}.zp-compare span{font-size:11px;color:#687e70}.zp-compare>span{text-align:center;font-size:21px}.zp-proposal ul{font-size:12px;line-height:1.6;padding-left:18px;color:#52705d}.zp-proposal-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}.zp-storage-status{font-size:9px;color:#889b90;text-align:right;padding-top:20px}.zp-loading{padding:28px;color:#54756e;font-size:14px}.zp-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.zp-callback{max-width:560px;margin:10vh auto;padding:32px;border:1px solid #dce8e7;background:#fff;border-radius:18px;box-shadow:0 10px 45px #163f4208;color:#173f42;font-family:system-ui,sans-serif}.zp-callback img{width:150px;max-width:70%;margin-bottom:28px}.zp-callback h1{font-size:24px;margin:0 0 13px;letter-spacing:-.5px}.zp-callback p{font-size:14px;line-height:1.7;color:#637b78;margin-bottom:23px}.zp-callback a{display:inline-block;background:#087b7e;color:#fff;padding:11px 16px;border-radius:8px;text-decoration:none;font-size:13px;font-weight:650}
@media(max-width:1050px){.zp-budget-grid{grid-template-columns:110px 1fr;gap:17px}.zp-window{grid-column:2}.zp-window>div{max-width:235px}.zp-header{align-items:flex-start}.zp-header-actions{max-width:240px}.zp-calendar{grid-template-columns:1fr;gap:18px}.zp-calendar-main{display:flex;align-items:center;gap:20px;justify-content:space-between}.zp-benefit{margin-top:0}.zp-calendar-buttons .zp-button{min-height:38px}}
@media(max-width:660px){#zeitportal.zp{padding:18px 14px}.zp h2{font-size:25px}.zp-header{display:block;margin-bottom:22px}.zp-header>div>p{font-size:12px}.zp-header-actions{max-width:none;justify-content:space-between;margin-top:16px}.zp-optimize{font-size:11px;min-height:37px;padding:8px 11px}.zp-badge{font-size:9px;padding:6px 7px}.zp-week-heading{align-items:flex-start}.zp-week-heading h3{font-size:13px}.zp-week-heading p{font-size:10px;max-width:195px}.zp-week-heading p span{display:none}.zp-timetable{grid-template-columns:38px repeat(7,minmax(72px,1fr));min-width:570px}.zp-hour-column{position:sticky;left:0;z-index:5;background:white}.zp-day-track,.zp-hours{height:265px}.zp-table-foot{align-items:flex-start;gap:8px;font-size:9px;flex-wrap:wrap;margin-bottom:18px}.zp-legend{gap:11px}.zp-setting-section{padding:17px 14px}.zp-setting-title{align-items:flex-start}.zp-setting-title h3{font-size:14px}.zp-setting-title p{font-size:11px}.zp-step{width:26px;height:26px;border-radius:7px}.zp-exams{grid-template-columns:1fr;gap:11px;margin-top:16px}.zp-exam-field{display:grid;grid-template-columns:1fr 145px;column-gap:8px;align-items:center}.zp-exam-field>span{font-size:11px}.zp-exam-field>small{grid-column:2;font-size:9px}.zp input[type=date]{font-size:11px;min-height:39px}.zp-budget-grid{grid-template-columns:1fr;gap:17px}.zp-hours-input>div{justify-content:flex-start}.zp-weekdays>div{gap:7px}.zp-weekdays span{width:34px;height:39px}.zp-window{grid-column:auto}.zp-window>div{max-width:none}.zp-setting-foot{align-items:flex-start;flex-direction:column;gap:13px}.zp-setting-foot .zp-button{width:100%}.zp-calendar-main{display:block}.zp-benefit{margin-top:14px}.zp-calendar{padding:20px 1px}.zp-calendar h3{font-size:14px}.zp-calendar-buttons .zp-button{flex:1;min-width:120px}.zp-calendar-buttons .zp-text-button{flex:none}.zp-rhythm{padding:12px;gap:10px}.zp-rhythm progress{display:none}.zp-rhythm p{font-size:10px}.zp-upcoming-head{align-items:flex-start}.zp-upcoming-head h3{font-size:14px}.zp-upcoming-head p{font-size:10px}.zp-upcoming-head button{font-size:9px;padding:7px;max-width:100px;white-space:normal}.zp-session-list li{gap:10px}.zp-session-date{width:43px}.zp-session-content>b{font-size:11px}.zp-session-content small,.zp-session-content>span{font-size:9px}.zp-session-link{font-size:10px}.zp-session-link svg{width:13px}.zp-proposal{padding:16px 13px}.zp-proposal h3{font-size:16px}.zp-compare{grid-template-columns:1fr 12px 1fr;gap:5px}.zp-compare>div{padding:10px 8px}.zp-compare b{font-size:12px}.zp-compare span{font-size:10px}.zp-proposal-actions .zp-button{width:100%}.zp-callback{margin:6vh 16px;padding:25px}}
@media(prefers-reduced-motion:reduce){.zp *{scroll-behavior:auto!important;transition:none!important}}

.zp .zp-estimate-note{font-size:10px;line-height:1.5;color:#819286;margin-top:17px}.zp-file-label:has(input:disabled){opacity:.5;cursor:not-allowed}

/* Keep broad time windows legible instead of squeezing a full day into a few pixels. */
.zp-timetable-scroll{max-height:490px;overflow:auto}.zp-day-track,.zp-hours{height:max(240px,calc(var(--zp-hours) * 108px))}.zp-day-label{position:sticky;top:0;z-index:6;background:#fff}.zp-today .zp-day-label{background:#f5faf9}.zp-hour-column{position:sticky;left:0;z-index:7;background:#fff}
@media(max-width:660px){.zp-timetable-scroll{max-height:400px}.zp-day-track,.zp-hours{height:max(265px,calc(var(--zp-hours) * 108px))}}

/* Clear navigation and the existing AI Coach colour family. */
.zp .zp-more{background:#254d7a;border-color:#254d7a;color:#fff;min-height:42px;padding:10px 18px;box-shadow:0 3px 9px #254d7a18}
.zp .zp-more:hover{background:#193b62;border-color:#193b62;color:#fff}
.zp .zp-optimize{background:linear-gradient(110deg,#5d479e,#087f83);border-color:transparent;color:#fff;box-shadow:0 8px 22px rgba(93,71,158,.22)}
.zp .zp-optimize:hover{background:linear-gradient(110deg,#4f3b88,#076d72);border-color:transparent}
.zp-week-heading{margin-bottom:11px}
.zp-week-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:12px;margin-bottom:16px;border:1px solid #d7e6e2;border-radius:11px;background:#f3f8f6}
.zp-week-nav .zp-button{min-height:44px;font-size:12px;padding:10px 14px;background:#fff;border-color:#c4d9d2}
.zp-week-nav .zp-button:hover{background:#e9f3ef;border-color:#83b6a6}
.zp-week-back{justify-self:start}.zp-week-next{justify-self:end}
.zp-week-nav .zp-week-today{background:#e2efe9;border-color:#adcebf;color:#245f4c}
.zp-week-nav .zp-button>span{font-size:19px;line-height:1}
.zp-proposal-observing{display:flex;align-items:flex-start;gap:14px;background:#f6f4fa;border-color:#dfd7ed}
.zp-proposal-observing>.zp-rhythm-icon{color:#6b569b;margin-top:3px}
.zp-proposal-observing p{max-width:650px}
@media(max-width:660px){.zp-week-heading h3{font-size:15px}.zp-week-heading p{max-width:none}.zp-week-nav{gap:6px;padding:8px;margin-bottom:13px}.zp-week-nav .zp-button{min-height:44px;padding:8px 7px;font-size:10px;gap:4px;white-space:normal}.zp-week-nav .zp-button>span{font-size:17px}.zp-proposal-observing{gap:10px}.zp-proposal-observing .zp-proposal-actions .zp-button{width:auto}}

.zp-demo-entry{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 15px;margin-bottom:20px;border:1px solid #edc796;border-radius:10px;background:#fff7e9}.zp-demo-entry>span{font-size:11px;line-height:1.5;color:#713807}.zp .zp-demo-button{font-size:11px;background:#b45309;border-color:#b45309;color:#fff;min-height:39px}.zp .zp-demo-button:hover{background:#92400e;border-color:#92400e;color:#fff}.zp .zp-demo-note{font-size:11px;color:#713807;background:#fff0d0;border-radius:8px;padding:9px 12px;margin-bottom:17px}
@media(max-width:660px){.zp-demo-entry{align-items:flex-start;flex-direction:column;gap:9px}.zp-demo-entry .zp-button{width:100%;white-space:normal}}

/* Availability status reflects a completed, current calendar sync. */
.zp .zp-error-badge{color:#9b2828;background:#fff0ef;border-color:#e8b9b5}.zp .zp-error-badge:before{background:#bb3732}
.zp .zp-success-badge{color:#17643c;background:#eaf7ee;border-color:#a4cfb2}.zp .zp-success-badge:before{background:#23814c}

/* iCloud setup stays compact and only opens on request. */
.zp-apple-form{padding:15px;margin-top:12px;border:1px solid #c7d9e4;border-radius:10px;background:#f5f9fc}
.zp-apple-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.zp-apple-fields label{display:flex;flex-direction:column;gap:6px;min-width:0}
.zp-apple-fields label>span,.zp-apple-form legend{font-size:11px;font-weight:700;color:#36566b}
.zp-apple-fields input{width:100%;min-width:0;height:40px;border:1px solid #bed0dd;border-radius:7px;background:#fff;padding:8px 10px;font-size:13px;color:#193f54}
.zp-apple-form a{color:#245a82;text-underline-offset:2px}
.zp-apple-form fieldset{padding:0;margin:0;border:0;min-width:0}
.zp-apple-form legend{line-height:1.5}
.zp-apple-calendars{display:grid;gap:8px;max-height:200px;overflow:auto;margin-top:12px}
.zp-apple-calendars label{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.zp-apple-calendars input{flex:none;width:17px;height:17px;accent-color:#087b7e}
.zp-apple-actions{display:flex;align-items:center;gap:10px;margin-top:13px}
.zp-apple-actions .zp-button{font-size:11px;min-height:40px}
@media(max-width:660px){.zp-apple-fields{grid-template-columns:1fr}.zp-apple-fields input{font-size:16px}.zp-apple-form{padding:13px}.zp-apple-actions{flex-wrap:wrap}}

/* Calendar connection feedback and provider identity. */
.zp-provider-icon{display:inline-grid;place-items:center;width:19px;height:19px;flex:none;font-size:18px;font-weight:800;line-height:1}
.zp-google{background:conic-gradient(from -20deg,#4285f4 0 25%,#34a853 25% 48%,#fbbc05 48% 67%,#ea4335 67% 84%,#4285f4 84%);background-clip:text;-webkit-background-clip:text;color:transparent}
.zp-microsoft{display:grid;grid-template-columns:repeat(2,7px);grid-template-rows:repeat(2,7px);gap:2px;align-content:center;justify-content:center}
.zp-microsoft i:nth-child(1){background:#f25022}.zp-microsoft i:nth-child(2){background:#7fba00}.zp-microsoft i:nth-child(3){background:#00a4ef}.zp-microsoft i:nth-child(4){background:#ffb900}
.zp-apple{color:#354544}.zp-apple svg{width:19px;height:19px}
.zp-connected{padding:9px 10px;border:1px solid #b9dec9;border-radius:9px;background:#f2faf5;gap:8px}
.zp-connected-status{display:inline-flex;align-items:center;gap:3px;border-radius:30px;padding:3px 7px;background:#d7f2df;color:#176a3f!important;font-size:11px!important;font-weight:750}
.zp-connected-status svg{width:13px;height:13px}.zp-connected-scope{font-size:10px;color:#64766d}
.zp-disconnect{margin-left:auto!important;border:1px solid #eab9b9;background:#fff4f4;color:#a32323;min-height:32px;padding:5px 9px;font-size:11px}
.zp-disconnect:hover{background:#ffe6e6;border-color:#d98181;color:#8c1717}
.zp-calendar-invite{margin-top:12px!important;padding:9px 11px;border-left:3px solid var(--zp-petrol);background:#f2f8f7;color:#275c58!important;font-size:11px!important}
.zp-spinner{display:inline-block;width:15px;height:15px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:zp-spin .7s linear infinite;vertical-align:-3px;margin-right:8px}
.zp-working{opacity:.75;cursor:progress!important}.zp-loading{display:flex;align-items:center}
@keyframes zp-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.zp-spinner{animation:none;border-right-color:currentColor}}
.zp-auto-calendar{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;padding:14px;margin:14px 0;border:1px solid #b3dcd5;border-radius:12px;background:#f1faf7}
.zp-auto-calendar>div{flex:1 1 240px;min-width:0}
.zp-auto-calendar .zp-small{margin:4px 0 0}
.zp-auto-calendar [aria-pressed="true"]{border-color:#218b68;color:#17694f;background:#e3f5ec}
.zp-auto-calendar .zp-auto-status{flex-basis:100%;margin:0}
.zp-auto-calendar>.zp-background{flex-basis:100%;display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;padding-top:14px;border-top:1px solid #b3dcd5}
.zp-background>div{flex:1 1 240px;min-width:0}
.zp-auto-working:before{content:"";display:inline-block;width:10px;height:10px;margin-right:7px;border:2px solid #b3dcd5;border-top-color:#087d85;border-radius:50%;animation:zp-auto-spin .8s linear infinite}
@keyframes zp-auto-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.zp-auto-working:before{animation:none}}

.zp-delivery-consent{flex:1 1 100%;min-width:0}.zp-delivery-consent>summary{cursor:pointer;color:var(--zp-petrol);font-size:12px;font-weight:700;padding:5px 0}.zp-delivery-consent[open]>summary{margin-bottom:8px}.zp-delivery-consent .zp-calendar-buttons{margin-top:12px}.zp-delivery-consent .zp-button{max-width:100%;white-space:normal}.zp-delivery>.zp-small{flex-basis:100%}
#zpLearningPreferences{scroll-margin-top:150px}
.zp-apple-guide{font-size:14px;line-height:1.65;padding:16px;border-radius:12px;background:#f1f8f8;color:#234753}
.zp-apple-guide ol{padding-left:22px;margin:10px 0}
.zp-apple-guide li+li{margin-top:7px}
.zp-apple-guide a{color:#087d82;text-decoration:underline}

/* Keep the two portal actions aligned with a clear gap on every screen. */
.zp[data-planner-view="portal"] .zp-upcoming{margin-bottom:18px}
.zp[data-planner-view="portal"] .zp-more{margin:16px 0 0}
.zp[data-planner-view="portal"]>.zp-primary{max-width:100%;white-space:normal;min-height:44px;text-align:center}
@media(max-width:600px){.zp[data-planner-view="portal"] .zp-more,.zp[data-planner-view="portal"]>.zp-primary{width:100%;white-space:normal;min-height:44px}.zp[data-planner-view="portal"] .zp-upcoming{margin-bottom:14px}.zp-header>.zp-button{margin-top:14px;white-space:normal;max-width:100%}}


/* Clear calendar connection destination, shared by in-page and portal links. */
.zp .zp-calendar{background:#e8f4f2;border:1px solid #b7d9d3;border-radius:14px;padding:24px;margin:24px 0;scroll-margin-top:130px}
.zp .zp-calendar .zp-calendar-invite{background:#fff;border-left-color:#087b7e}
.zp-connection-status{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.zp .zp-connect-link{color:#087b7e;font-size:12px;font-weight:750;text-decoration:underline;text-underline-offset:3px;line-height:1.5;white-space:nowrap}
.zp .zp-connect-link:hover{color:#075e62}
.zp .zp-connect-link:focus-visible{outline:3px solid #087b7e;outline-offset:4px}
@media(max-width:660px){.zp .zp-calendar{padding:18px 14px;margin:20px 0}.zp-connection-status{width:100%}.zp .zp-connect-link{min-height:36px;display:inline-flex;align-items:center}}
