/* 📅 Booking (Colin, 2026-10-29 / 2026-10-31): styles from the approved design, docs/booking-hours-design/concept.fragment.html
   on codex/booking-hours, unchanged. Used by booking-team.js (Calendar → Booking hours) and booking-client.js (portal). */
/* Booking components only. Existing cp-/p2- classes are deliberately reused. */
.bk-scope{--bk-bg:var(--surface,#fff);--bk-soft:var(--surface-2,#f8f7fc);--bk-line:var(--border,#e6e4f0);--bk-ink:var(--text,#171528);--bk-muted:var(--text-muted,#6b6785);--bk-purple:var(--accent-deep,#6d28d9);--bk-tint:var(--soft,#f4ecfe);color:var(--bk-ink);font:14px/1.6 Inter,system-ui,sans-serif;min-width:0;max-width:100%}
.bk-scope,.bk-scope *{box-sizing:border-box}.bk-scope [hidden]{display:none!important}.bk-scope :is(h1,h2,h3,h4,p){margin:0}.bk-scope h1{font-size:28px;font-weight:700;letter-spacing:-.8px;line-height:1.25}.bk-scope h2{font-size:18px;letter-spacing:-.3px;line-height:1.4}.bk-scope h3{font-size:15px;line-height:1.5}.bk-scope h4{font-size:13px}.bk-scope p{color:var(--bk-muted)}.bk-scope :is(button,input,select){font-family:inherit;max-width:100%}.bk-scope :is(button,a,input,select,summary):focus-visible{outline:3px solid #a855f7;outline-offset:3px}.bk-scope button{cursor:pointer}.bk-scope button:disabled{cursor:default}.bk-scope :is(button,a){touch-action:manipulation}.bk-scope input,.bk-scope select{background:var(--bk-bg);border:1px solid var(--bk-line);border-radius:9px;color:var(--bk-ink);padding:9px 11px;font-size:14px;min-height:44px;min-width:0;width:100%}.bk-scope label{font-size:12px;font-weight:600;display:grid;gap:6px;min-width:0}.bk-scope input:disabled{color:var(--bk-muted)}
.bk-scope .cp-button{margin:0;min-height:44px;font-size:12px;padding:10px 14px;line-height:1.45}.bk-scope .p2-btn{min-height:44px;white-space:normal}.bk-scope .cp-badge{margin:0;white-space:normal}.bk-scope .bk-button{border:1px solid var(--bk-line);border-radius:9px;background:var(--bk-bg);color:var(--bk-purple);padding:9px 13px;min-height:44px;font:600 12px/1.45 Inter,system-ui,sans-serif}.bk-scope .bk-quiet{background:transparent;border-color:transparent}.bk-scope .bk-danger{color:var(--red,#b42318)}.bk-scope .bk-primary{background:#6d28d9;color:#fff;border-color:#6d28d9}.bk-scope .bk-muted{color:var(--bk-muted);font-size:12px}.bk-scope .bk-small{font-size:12px}.bk-scope .bk-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;margin-bottom:6px;color:var(--bk-muted)}.bk-scope .bk-stack{display:grid;gap:18px}.bk-scope .bk-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.bk-scope .bk-between{justify-content:space-between}.bk-scope .bk-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:0 0 22px}.bk-scope .bk-heading p{margin-top:7px}.bk-scope .bk-person{min-width:180px}.bk-scope .bk-card{border:1px solid var(--bk-line);border-radius:16px;background:var(--bk-bg);padding:20px;min-width:0;box-shadow:0 2px 5px #32205b06}.bk-scope .bk-card-head{display:flex;gap:14px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:16px}.bk-scope .bk-card-head p{font-size:12px;margin-top:3px}.bk-scope .bk-connect{display:flex;align-items:flex-start;gap:14px}.bk-scope .bk-connect-copy{flex:1;min-width:0}.bk-scope .bk-connect-copy p{margin-top:4px;font-size:12px;overflow-wrap:anywhere}.bk-scope .bk-icon{width:38px;height:38px;flex:none;border:1px solid var(--bk-line);border-radius:11px;display:grid;place-items:center;background:var(--bk-tint);color:var(--bk-purple)}.bk-scope .bk-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.bk-scope .bk-connection-action{margin-left:auto}.bk-scope .bk-status{display:inline-flex;gap:5px;align-items:center;font-size:11px;font-weight:600;padding:3px 8px;border-radius:6px;background:var(--bk-tint);color:var(--bk-purple)}.bk-scope .bk-ok{color:var(--green,#15803d);background:var(--green-bg,#dcfce7)}.bk-scope .bk-warning{background:var(--amber-bg,#fef3c7);color:var(--amber,#a16207)}.bk-scope .bk-notice{padding:12px 14px;border:1px solid var(--bk-line);border-radius:10px;background:var(--bk-soft);font-size:12px}.bk-scope .bk-notice p{color:inherit}.bk-scope .bk-alert{border-color:var(--red,#b42318);color:var(--red,#b42318);background:var(--red-bg,#fee2e2)}.bk-scope .bk-notice .bk-row{margin-top:8px}.bk-scope .bk-types{display:grid;gap:18px}.bk-scope .bk-type-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(250px,1fr);gap:24px}.bk-scope .bk-preview-times{border-left:1px solid var(--bk-line);padding-left:24px}.bk-scope .bk-blocks{list-style:none;padding:0;margin:10px 0 12px}.bk-scope .bk-block{padding:10px 0;border-bottom:1px solid var(--bk-line);display:flex;align-items:center;gap:10px}.bk-scope .bk-block-copy{flex:1;min-width:0}.bk-scope .bk-block-copy b{display:block;font-size:13px}.bk-scope .bk-block-copy span{font-size:12px;color:var(--bk-muted)}.bk-scope .bk-block-actions{display:flex;gap:0;flex:none}.bk-scope .bk-block-actions button{padding:8px}.bk-scope .bk-settings{margin-top:18px;padding-top:16px;border-top:1px solid var(--bk-line)}.bk-scope .bk-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.bk-scope .bk-settings-foot{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.bk-scope .bk-settings-foot output{font-size:12px;color:var(--bk-muted)}.bk-scope .bk-toggle{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}.bk-scope .bk-toggle input{appearance:none;position:relative;width:36px;min-height:22px;height:22px;flex:none;border:1px solid var(--bk-line);border-radius:20px;padding:0;background:var(--bk-muted);cursor:pointer}.bk-scope .bk-toggle input:before{content:'';position:absolute;width:16px;height:16px;left:2px;top:2px;border-radius:50%;background:#fff}.bk-scope .bk-toggle input:checked{background:#7c3aed;border-color:#7c3aed}.bk-scope .bk-toggle input:checked:before{transform:translateX(14px)}
.bk-scope .bk-day{margin-top:16px}.bk-scope .bk-day h4{margin-bottom:8px}.bk-scope .bk-slots{display:flex;flex-wrap:wrap;gap:8px}.bk-scope .bk-time{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--bk-line);background:var(--bk-tint);color:var(--bk-purple);font-size:12px;font-weight:600;min-height:44px;padding:9px 12px;border-radius:9px;font-variant-numeric:tabular-nums}.bk-scope .bk-busy{flex-direction:column;align-items:flex-start;background:var(--bk-soft);color:var(--bk-muted);border-style:dashed}.bk-scope .bk-busy span{font-size:10px;font-weight:400}.bk-scope .bk-bookings{list-style:none;margin:0;padding:0}.bk-scope .bk-booking-row{display:flex;align-items:center;gap:14px;border-top:1px solid var(--bk-line);padding:15px 0}.bk-scope .bk-booking-row:first-child{border-top:0;padding-top:0}.bk-scope .bk-booking-row:last-child{padding-bottom:0}.bk-scope .bk-booking-copy{flex:1;min-width:0}.bk-scope .bk-booking-copy b{font-size:13px;display:block}.bk-scope .bk-booking-copy small{font-size:12px;color:var(--bk-muted);display:block}.bk-scope .bk-date{display:flex;flex-direction:column;justify-content:center;align-items:center;width:44px;height:48px;border-radius:10px;background:var(--bk-tint);color:var(--bk-purple);flex:none}.bk-scope .bk-date small{font-size:10px;text-transform:uppercase;line-height:1.3}.bk-scope .bk-date b{font-size:18px;line-height:1.3}.bk-scope .bk-booking-actions{display:flex;gap:6px;flex-wrap:wrap}.bk-scope .bk-empty{padding:20px 0;font-size:13px;color:var(--bk-muted)}.bk-scope .bk-loader{display:grid;gap:12px;margin:20px 0}.bk-scope .bk-skeleton{height:44px;border-radius:8px;background:var(--bk-soft);border:1px solid var(--bk-line)}
.bk-scope .bk-client-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:20px;align-items:start}.bk-scope .bk-context{display:grid;gap:18px}.bk-scope .bk-context p{font-size:12px;margin-top:8px}.bk-scope .bk-client-card{padding:22px}.bk-scope .bk-client-card h2{font-size:18px}.bk-scope .bk-client-card>p{font-size:13px;margin-top:6px}.bk-scope .bk-client-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0 20px;font-size:12px;color:var(--bk-muted)}.bk-scope .bk-timezone{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:14px 0;border-top:1px solid var(--bk-line);border-bottom:1px solid var(--bk-line);margin:16px 0}.bk-scope .bk-timezone label{display:block;flex:none}.bk-scope .bk-timezone select{width:auto;flex:1;min-width:150px;font-size:12px}.bk-scope .bk-week{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:18px 0 6px}.bk-scope .bk-week b{font-size:13px}.bk-scope .bk-week-controls{display:flex;gap:4px}.bk-scope .bk-week-controls button{width:44px;padding:8px;font-size:18px}.bk-scope .bk-week-controls button:disabled{opacity:.4}.bk-scope .bk-client-card .bk-day{padding-bottom:14px;border-bottom:1px solid var(--bk-line)}.bk-scope .bk-client-card .bk-day:last-child{border:0;padding-bottom:0}.bk-scope .bk-client-card .bk-time{min-width:94px;flex:0 1 auto}.bk-scope .bk-booked{display:flex;align-items:flex-start;gap:14px;margin:18px 0}.bk-scope .bk-booked p{font-size:13px;margin-top:4px}.bk-scope .bk-booked-actions{display:flex;gap:8px;flex-wrap:wrap}.bk-scope .bk-cancel-link{margin-top:12px}.bk-scope .bk-onboarding{margin-bottom:18px}.bk-scope .bk-onboarding h2{font-size:15px;margin-bottom:8px}.bk-scope .bk-onboarding .p2-act{grid-template-columns:36px minmax(0,1fr) auto;gap:8px 12px}.bk-scope .bk-onboarding .p2-act-st{grid-column:2;grid-row:2}.bk-scope .bk-onboarding .p2-act-do{grid-column:3;grid-row:1 / 3}.bk-scope .bk-onboarding .p2-pill{white-space:normal}.bk-scope .bk-onboarding .p2-act-st:empty{display:none}.bk-scope .bk-title-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
.bk-scope.bk-dialog{border:1px solid var(--bk-line);border-radius:16px;background:var(--bk-bg);color:var(--bk-ink);padding:24px;width:460px;max-width:calc(100% - 24px);max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 18px 70px #10091b40}.bk-dialog::backdrop{background:#10091b80}.bk-scope .bk-dialog-head{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;margin-bottom:14px}.bk-scope .bk-dialog-head h2{font-size:20px}.bk-scope .bk-close{flex:none;width:44px;padding:8px;font-size:20px}.bk-scope .bk-dialog-body{display:grid;gap:14px}.bk-scope .bk-dialog-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:20px}.bk-scope .bk-dialog-detail{padding:14px;border:1px solid var(--bk-line);border-radius:10px;background:var(--bk-soft)}.bk-scope .bk-dialog-detail b,.bk-scope .bk-dialog-detail span{display:block}.bk-scope .bk-dialog-detail span{font-size:12px;color:var(--bk-muted)}.bk-scope .bk-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bk-scope .bk-form-wide{grid-column:1/-1}.bk-scope .bk-form-error{font-size:12px;color:var(--red,#b42318)}.bk-scope .bk-live{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:90;background:var(--bk-ink);color:var(--bk-bg);padding:12px 18px;border-radius:12px;max-width:calc(100% - 24px);font-size:12px;box-shadow:var(--shadow);pointer-events:none}
[data-theme="dark"] .bk-scope .bk-card{box-shadow:none}[data-theme="dark"] .bk-scope .bk-primary{background:#7c3aed;border-color:#7c3aed}
@media(max-width:1100px){.bk-scope .bk-client-layout{grid-template-columns:minmax(0,1fr)}.bk-scope .bk-context{grid-template-columns:repeat(2,minmax(0,1fr))}.bk-scope .bk-type-layout{grid-template-columns:minmax(0,1fr)}.bk-scope .bk-preview-times{border-left:0;padding-left:0;border-top:1px solid var(--bk-line);padding-top:18px}}
@media(max-width:600px){.bk-scope h1{font-size:24px}.bk-scope .bk-heading{gap:14px}.bk-scope .bk-person{width:100%}.bk-scope .bk-card,.bk-scope .bk-client-card{padding:16px}.bk-scope .bk-connect{flex-wrap:wrap;gap:10px}.bk-scope .bk-connection-action{margin-left:48px}.bk-scope .bk-block{flex-wrap:wrap;gap:4px}.bk-scope .bk-block-copy{flex-basis:130px}.bk-scope .bk-block-actions button{font-size:11px}.bk-scope .bk-context{grid-template-columns:minmax(0,1fr)}.bk-scope .bk-booking-row{flex-wrap:wrap}.bk-scope .bk-booking-actions{margin-left:58px}.bk-scope input,.bk-scope select,.bk-scope .bk-timezone select{font-size:16px}.bk-scope .bk-onboarding .p2-act{grid-template-columns:36px minmax(0,1fr)}.bk-scope .bk-onboarding .p2-act-do{grid-column:2;grid-row:3;justify-content:flex-start}.bk-scope .bk-live{bottom:calc(84px + env(safe-area-inset-bottom))}.bk-scope .bk-booked-actions .cp-button{flex:1 1 115px}.bk-scope .bk-dialog-actions button{flex:1}.bk-scope .bk-form-grid{grid-template-columns:minmax(0,1fr)}.bk-scope .bk-form-wide{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.bk-scope *{scroll-behavior:auto;transition:none;animation:none}}

.bk-scope .bk-svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.bk-scope .bk-context h2{font-size:15px}
/* Placement in the portal (Claude, 2026-10-31): the cards on Calls & learning, the onboarding card under its row. */
.bk-calls{display:grid;gap:18px;margin:0 0 18px}.bk-onb-slot{margin:14px 0 0}
#view:has(#bk-team) .u2i-page-head{display:none}
/* Intro calls (Colin, 2026-10-31): the shareable link on the Intro calls card, request rows, the public page form */
.bk-scope .bk-intro-link{display:flex;gap:8px 12px;align-items:center;flex-wrap:wrap;margin:0 0 16px;padding:12px 14px;border:1px dashed var(--bk-line);border-radius:10px;background:var(--bk-soft);font-size:12px}.bk-scope .bk-intro-link b{font-size:13px;overflow-wrap:anywhere}.bk-scope .bk-guest{display:block;margin-top:2px;color:var(--bk-muted);font-size:12px;overflow-wrap:anywhere}.bk-scope .bk-req{display:inline-block;margin-left:8px;padding:1px 8px;border-radius:7px;background:#fef3c7;color:#92400e;font-size:11px;font-weight:700;vertical-align:1px}.bk-scope textarea{background:var(--bk-bg);border:1px solid var(--bk-line);border-radius:9px;color:var(--bk-ink);padding:9px 11px;font:14px/1.5 Inter,system-ui,sans-serif;min-height:84px;width:100%;resize:vertical}
.bk-scope .bk-host{display:flex;gap:14px;align-items:center;margin-bottom:12px}.bk-scope .bk-host img{width:64px;height:64px;border-radius:50%;object-fit:cover;flex:none;border:2px solid var(--bk-line)}.bk-scope .bk-host h2{margin:0}.bk-scope .bk-other{margin-top:18px;padding-top:16px;border-top:1px solid var(--bk-line)}
.bk-scope label.bk-consent{display:flex;gap:10px;align-items:flex-start;font-weight:500;font-size:12px;line-height:1.5;color:var(--bk-muted);cursor:pointer}.bk-scope .bk-consent input{width:18px;height:18px;min-height:18px;flex:none;margin:1px 0 0;padding:0;accent-color:#6d28d9}
.bk-scope .bk-q-head{font-size:14px;margin:6px 0 -2px}
.bk-scope .bk-q{display:grid;gap:8px;font-size:12px;font-weight:600;min-width:0}.bk-scope .bk-choices{display:flex;flex-wrap:wrap;gap:8px}.bk-scope .bk-choices .cp-button{flex:0 1 auto;min-height:40px;padding:8px 14px;font-weight:600}
