.plan-work,.plan-page section,.plan-card-form{background:#fffdf8;border:1px solid var(--line,#deddd4);border-radius:12px;padding:16px;margin-bottom:16px}
.plan-work-head,.plan-wallet-link,.plan-balances,.plan-line,.plan-card-top,.plan-card-owner,.plan-card-values,.plan-profile,.plan-kinds{display:flex;align-items:center;gap:12px}
.plan-work-head,.plan-card-top,.plan-card-values,.plan-line{justify-content:space-between}
.plan-work-head h2,.plan-page h2{font-size:17px;margin:0}
.plan-work-head small,.plan-eyebrow,.plan-page small{color:#625f58}
.plan-link{min-height:44px;padding:4px 0;text-decoration:underline;text-underline-offset:3px;color:#933722;font-weight:650}
.plan-wallet-link{width:100%;justify-content:space-between;text-align:left;border-block:1px solid var(--line);margin:4px 0 10px;padding:8px 2px}
.plan-wallet-link>span{font-size:24px}.plan-balances{gap:clamp(22px,6vw,85px);flex-wrap:wrap}.plan-balances>div,.plan-card-values>div{display:grid;gap:1px}.plan-balances span,.plan-card-values span{font-size:12px}.plan-balances strong{font-size:22px}.plan-balances small{font-size:12px}
.plan-work .secondary,.plan-kinds button{width:auto;min-height:44px;margin:4px 0 0;padding:6px 16px}.plan-profile{flex-wrap:wrap}
.plan-page{width:100%}.plan-page>*,.plan-page form{max-width:680px;margin-inline:auto}.plan-page h1{font-size:clamp(24px,4vw,34px);margin-block:4px 12px}.plan-page>p,.plan-page section p{line-height:1.55}.plan-page>section,.plan-page>form{margin-top:16px}.plan-page>.primary{display:block;width:min(100%,680px);margin-block:12px}.plan-page .plan-price{font-size:32px;font-weight:800;margin-block:0}.plan-page ul{padding-inline-start:20px;line-height:1.8}.plan-active{color:#286045}.plan-record{min-height:44px;display:block;text-decoration:underline}.plan-check{min-height:44px;display:flex;align-items:center;gap:8px}.plan-line{padding:10px 0;border-bottom:1px solid var(--line)}
.plan-member-card{box-sizing:border-box;background:#243e38;color:#fffaf2;border-radius:14px;max-width:410px;min-height:174px;padding:17px 18px;display:flex;flex-direction:column;justify-content:space-between;gap:18px;text-align:left;margin:12px 0}.plan-card-top>b{font-size:18px;letter-spacing:-.06em}.plan-card-owner{min-width:0;font-size:13px;font-weight:650;overflow-wrap:anywhere}.plan-card-owner img,.plan-card-owner .org-monogram{width:32px;height:32px;flex:none;object-fit:cover;border-radius:50%;display:grid;place-items:center;background:#e9e6d8;color:#263c33}.plan-member-card h3{font-size:22px;line-height:1.25;margin:0;overflow-wrap:anywhere}.plan-card-values{gap:10px;align-items:flex-end;flex-wrap:wrap}.plan-card-values span{color:#d2dfd6}.plan-card-values strong{font-size:13px}.plan-card-form{min-width:0}.plan-card-form[hidden]{display:none}.plan-card-form legend{font-weight:700}
.plan-card-type+.plan-card-type{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}.plan-card-type small{display:block}.plan-card-type button{margin:4px 0}.plan-card-symbol{font-size:.85em}

.work-heading,.work-account,.work-create,.work-premium,.work-long,.work-long>div:last-child{display:flex;align-items:center;gap:12px}
.work-heading{justify-content:space-between;flex-wrap:wrap;margin-bottom:18px}.work-heading h1{margin:0}.work-account{margin-left:auto;justify-content:flex-end;flex-wrap:wrap}
.work-current{text-align:right;display:grid;gap:3px;min-height:44px}.work-current small,.work-event time,.work-long small{color:#5e5951}.work-current strong{text-decoration:underline;text-underline-offset:3px}
.work-account .plan-wallet-link{margin:0;width:auto}.work-account .plan-balances{margin:0;gap:14px}.work-org-list{display:grid;gap:4px}
.work-org-list button{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;text-align:left;padding:6px 9px;color:#26221e}
.work-org-list [aria-pressed=true]{background:#eeeae3;border-radius:6px;font-weight:750}.work-org-list :is(img,.org-monogram){width:30px;height:30px;flex:none;border-radius:50%;object-fit:cover;display:grid;place-items:center;font-size:13px}
.work-mobile-org{display:none}.work-premium{width:100%;justify-content:space-between;text-align:left;background:#ae400b;color:white;border-radius:8px;padding:12px 16px;min-height:50px}
.work-create{margin:12px 0;align-items:stretch}.work-create>button{flex:1;margin:0;min-width:0}.work-create small{font-size:11px}
.work-status{display:flex;align-items:center;gap:8px;margin:12px 0}.work-status select{min-height:44px}
.work-event,.work-long{padding:10px;border:1px solid var(--line);border-radius:8px;background:white}.work-event{display:grid;grid-template-columns:minmax(72px,26%) minmax(0,1fr);gap:12px;align-items:start}.work-event .card-cover{width:100%;aspect-ratio:16/9;height:auto;margin:0}.work-event .card-cover>*{width:100%;height:100%;object-fit:cover}.work-event h3,.work-event p,.work-long h3{margin:4px 0}.work-event .entry-manage{display:flex;flex-wrap:wrap;gap:4px}.work-event button{min-height:44px}.work-long{justify-content:space-between;flex-wrap:wrap;margin:10px 0}.work-long>div:last-child{flex-wrap:wrap}.workspace-content{min-width:0}.entry-workspace .schedule-day{grid-template-columns:minmax(94px,23%) minmax(0,1fr)}.entry-workspace .schedule-day>.work-event{grid-column:2}
@media(max-width:767px){.entry-workspace .workspace-organization{display:none}.work-mobile-org{display:block;margin-bottom:12px}.work-mobile-org summary{min-height:44px;align-content:center;cursor:pointer;font-weight:650}.work-account{gap:8px}.work-heading{gap:4px}.work-heading h1{font-size:24px}.work-current{font-size:13px}.work-account .plan-balances{padding:4px;gap:8px}.work-account .plan-balances strong{font-size:16px}.work-premium{gap:6px}.work-create{gap:6px}.entry-workspace .schedule-day{display:block}.work-event{margin:6px 0}.work-account{max-width:100%}}

.work-event .card-cover{container-type:size;position:relative;overflow:hidden}
.work-event .card-cover .photo{position:absolute;top:50%;left:50%;width:max(100cqw,calc(100cqh * 493 / 257));height:auto;aspect-ratio:493/257;transform:translate(-50%,-50%)}
.work-create button small{display:inline-block;white-space:nowrap}.work-create .secondary{flex:1.25}

@media(max-width:767px){.work-create>button.secondary{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:7px 6px}.work-create>button.secondary small{line-height:1.1}}

.kind-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0 28px}
.kind-tile{background:#fffcf8;color:#27231f;border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column;padding:0;text-align:left}
.kind-tile:hover,.kind-tile:focus-visible{border-color:#ae400b}.kind-tile img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.kind-tile>span{padding:14px;display:flex;flex-wrap:wrap;align-items:center;gap:6px}.kind-tile strong{font-size:19px}.kind-tile small{font-size:11px;font-weight:650;color:#843308}.kind-tile span span{width:100%;font-size:14px;line-height:1.5}
.plan-member-card{width:min(100%,425px);max-width:425px;height:auto;min-height:0;aspect-ratio:85/53;margin:16px auto;box-sizing:border-box;gap:2px;overflow:hidden;container-type:inline-size;background:#c64a12 url('assets/programmes/pass.webp') center/cover;color:#20160e;border:1px solid #a74216;border-radius:14px;box-shadow:none}
.plan-member-card .plan-card-values span,.plan-member-card .plan-card-values strong,.plan-member-card .plan-card-top,.plan-member-card h3{color:#22130a}
.plan-card-top>b{font-family:Arial,Helvetica,sans-serif;font-size:clamp(19px,7cqw,30px);font-weight:900;letter-spacing:-.055em}
.plan-card-owner span:last-child,.plan-member-card h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.plan-card-owner{min-width:0;flex:1}.plan-card-top>b{flex:none}.plan-member-card h3{font-size:clamp(16px,6cqw,25px);margin:2px 0;line-height:1.15}
.plan-card-values{flex-wrap:nowrap;line-height:1.2}.plan-card-values div:last-child{flex-shrink:0}.plan-card-values strong{font-size:clamp(10px,3.5cqw,14px)}
.plan-page fieldset,.group-slot-list{min-width:0;border:1px solid var(--line);border-radius:8px;padding:13px;margin:14px 0}.plan-page legend{font-weight:700}.plan-page [data-category-row]{display:flex;align-items:end;gap:6px;margin-bottom:6px}.plan-page [data-category-row] input{width:100%}
.group-image img:not([hidden]),.group-cover{display:block;width:min(100%,420px);aspect-ratio:16/9;object-fit:cover;border-radius:6px;margin:6px 0}.group-image img[hidden],[data-card-categories][hidden]{display:none}
.group-session-time{white-space:nowrap}.group-overview{margin:12px 0}.group-overview summary{cursor:pointer;text-decoration:underline;min-height:44px;align-content:center}.group-overview article,.group-slot-list label{display:block;padding:8px 0;border-top:1px solid var(--line)}
.group-slot-list label{display:flex;align-items:start;gap:8px}.group-slot-list input{margin-top:4px;flex-shrink:0}.group-slot-copy small,.group-slot-list small,.group-overview small{display:block;margin:3px 0;color:#51483e}.group-slot-list .group-cover{max-width:150px}
@media(max-width:700px){.kind-gallery{grid-template-columns:1fr;gap:10px}.kind-tile{display:grid;grid-template-columns:34% 1fr;align-items:center}.kind-tile img{height:100%;min-height:92px;object-fit:cover}.kind-tile>span{padding:10px}.kind-tile strong{font-size:17px}.plan-member-card{padding:10px 12px}.plan-card-owner img,.plan-card-owner .org-monogram{width:25px;height:25px}.plan-page [data-category-row] input{min-width:50px}}

.group-work-intro{display:flex;gap:12px;align-items:center;min-width:0}.group-work-intro>img{width:88px;aspect-ratio:16/9;object-fit:cover;border-radius:6px}.group-work-intro p{margin:2px 0;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.group-work-intro small{display:block}

.plan-page>.kind-gallery{margin-inline:auto}.summary-card .info-row strong{min-width:0;overflow-wrap:anywhere}
@media(min-width:850px){.plan-page:has(>.kind-gallery)>:is(h1,p,.kind-gallery){width:min(100%,960px);max-width:960px}}

.group-directory{margin:20px 0}.group-directory .list-row{display:flex;gap:12px;align-items:center}.group-directory .group-cover{width:112px}.group-directory small{display:block}

#plan-editor [hidden]{display:none!important}
.group-progress{list-style:none;display:flex;align-items:center;gap:8px;margin:12px 0 20px;padding:0;flex-wrap:wrap}
.group-progress li{font-size:13px;color:#59544f}.group-progress li[aria-current]{color:#942e1b;font-weight:800}.group-progress li span{font-variant-numeric:tabular-nums}
.flow-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.flow-actions button{width:auto;min-height:44px;flex:1 1 100px}
.group-status{font-weight:650}.group-detail-main>.group-cover{width:min(100%,420px);aspect-ratio:16/9;object-fit:cover}.group-manage-slot{padding:12px 0;border-top:1px solid var(--line);margin-top:12px}
.work-long .group-open-detail{width:100%;background:transparent;border:0;padding:8px;text-align:start;color:inherit;cursor:pointer}.group-open-detail strong,.group-open-detail small{display:block}
@media(max-width:600px){.group-progress{gap:5px}.group-progress li{font-size:12px}.group-progress li:not([aria-current]){font-size:0}.group-progress li span{display:inline-grid;place-items:center;font-size:12px;width:22px;height:22px;border-radius:50%;background:#eeeae4}}

#plan-editor [data-slot]{scroll-margin-top:10px}.group-manage-slot button{margin-right:6px}

.review-cover{display:block;width:min(100%,260px);aspect-ratio:16/9;object-fit:cover;border-radius:6px;margin-bottom:8px}


/* Host workspace, creation and session review share the artwork guide's layout scale. */
.entry-workspace, .host-flow {
  --paper: #f8f6f0;
  --surface: #fff;
  --ink: #22241f;
  --muted: #6c7068;
  --line: #e5e4dd;
  --control-edge: #cecfc7;
  background: var(--paper);
  color: var(--ink);
}
.host-flow { line-height: 1.55; }
.host-flow > h1, .entry-workspace .work-heading h1 {
  font-size: 28px; line-height: 1.3; font-weight: 800; overflow-wrap: anywhere;
}
.host-flow h2 { font-size: 18px; line-height: 1.45; font-weight: 750; margin-block: 0 8px; }
.host-flow p { margin-block: 4px 12px; }
.host-flow :is(.secondary, input:not([type=checkbox],[type=radio]), select, textarea),
.entry-workspace :is(.secondary, .work-status select) { border-color: var(--control-edge); }
.entry-workspace .work-status select {
  background: var(--surface); color: var(--ink); border: 1px solid var(--control-edge);
  border-radius: 8px; font: inherit; padding: 6px 8px; min-height: 44px;
}
.host-flow :is(input,select,textarea) { font-family: inherit; }
.host-flow .host-field { gap: 6px; font-weight: 650; margin-block: 0 16px; }
.host-flow .host-field :is(input,select,textarea), .host-flow [data-category-row] input {
  font-size: 16px; line-height: 1.45; font-weight: 400; color: var(--ink);
  background: var(--surface); max-width: 100%;
}
.host-flow [data-category-row] { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; align-items: end; }
.host-flow [data-category-row] label { min-width: 0; font-size: 14px; font-weight: 650; }
.host-flow [data-category-row] input { display: block; margin-top: 6px; border: 1px solid var(--control-edge); border-radius: 8px; padding: 8px; min-height: 44px; }
.host-flow [data-category-row] button { width: auto; padding-inline: 12px; }
.host-flow fieldset { border-color: var(--line); margin: 16px 0; padding: 16px; }
.host-flow .group-image small { display: block; font-size: 13px; color: var(--muted); margin-block: -8px 12px; }
.host-flow .group-image img:not([hidden]) + small { margin-block: 8px 12px; }
.host-flow .kind-tile, .entry-workspace :is(.work-event,.work-long) { background: var(--surface); border-color: var(--line); }
.host-flow .kind-tile:hover { border-color: var(--control-edge); }
.host-flow .primary, .entry-workspace .work-create > .primary { background: #b83220; color: white; }
.host-flow .primary:hover, .entry-workspace .work-create > .primary:hover { background: #992c1d; }
.host-flow :is(button,input,select,textarea,summary):focus-visible,
.entry-workspace :is(button,summary,select):focus-visible { outline: 2px solid #397baf; outline-offset: 2px; }
.host-flow .group-progress { padding-block: 0 12px; margin: 12px 0 20px; border-bottom: 1px solid var(--line); }
.host-flow .group-progress li[aria-current] { color: #942e1b; }
.host-flow [data-stage] > h2:focus-visible, .host-flow [data-queue-heading]:focus-visible { outline: 2px solid #397baf; outline-offset: 2px; }
.host-flow .flow-actions {
  align-items: center; justify-content: flex-end; flex-wrap: nowrap;
  gap: 8px; margin-block: 20px 4px; padding-top: 16px; border-top: 1px solid var(--line);
}
.host-flow .flow-actions button { flex: 0 1 auto; margin: 0; width: auto; min-width: 0; min-height: 48px; box-sizing: border-box; line-height: 1.4; padding: 10px 16px; }
.host-flow .flow-actions [data-plan=prev] { margin-right: auto; }
.host-flow .flow-actions .primary { min-width: 100px; }
.host-flow .flow-actions [data-plan=draft] { border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.host-flow [aria-invalid=true] { border-color: #b83220 !important; }
.host-flow [data-flow-error]:not([hidden]) { margin-block: 8px 12px; font-size: 14px; }
.host-flow .group-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: stretch; margin-top: 12px; }
.host-flow .group-actions button { margin: 0; width: auto; min-height: 44px; }
.host-flow .group-detail-main > .group-cover { margin-block: 8px 14px; border-radius: 8px; }
.host-flow > section, .host-flow [data-review] > section { border-color: var(--line); background: var(--surface); }
.host-flow .group-manage-slot { border-color: var(--line); padding-block: 12px; }
.host-flow .group-manage-slot .group-actions { margin-top: 8px; }
.host-flow .group-slot-copy small { font-size: 13px; }
.host-flow .group-status { color: #50544d; font-weight: 650; }
.host-flow.host-detail > .plan-link { display: block; width: min(100%,680px); text-align: left; }
.host-flow.host-detail > h2 { margin-inline: auto; margin-top: 24px; }
.host-flow.host-detail > .secondary { display: block; width: min(100%,680px); }
@media (max-width: 700px) {
  .host-flow > h1, .entry-workspace .work-heading h1 { font-size: 24px; }
  .host-flow .group-progress li[aria-current] span { background: #b83220; color: white; }
  .host-flow .group-progress { margin-bottom: 12px; }
  .host-flow .host-field { margin-bottom: 12px; }
  .host-flow .flow-actions { margin-top: 12px; padding-top: 8px; }
  .host-flow .flow-actions button { padding-inline: 9px; }
  .host-flow .flow-actions .primary { min-width: 88px; }
  .host-flow .group-actions button { flex: 1 1 128px; }
}

/* Keep hover and press distinct from both the action's purpose and its availability. */
@media (hover: hover) {
  .host-flow :is(.secondary,.plan-link):enabled:hover,
  .entry-workspace :is(.secondary,.work-status select):enabled:hover {
    background: #f0eee7; border-color: #acafa5; color: #22241f;
  }
  .host-flow [data-ac=reject]:enabled:hover,
  .host-flow :is([data-group=remove-slot],[data-group=remove-category],[data-plan=remove-card]):enabled:hover {
    background: #f8ebe7; border-color: #c99586; color: #7f3020;
  }
  .entry-workspace .work-premium:enabled:hover { background: #953608; }
}
.host-flow .primary:enabled:active,
.entry-workspace .work-create > .primary:enabled:active { background: #812517; color: white; }
.host-flow :is(.secondary,.plan-link):enabled:active,
.entry-workspace .secondary:enabled:active { background: #e5e3da; color: #22241f; border-color: #96998e; }
.host-flow [data-ac=reject]:enabled:active,
.host-flow :is([data-group=remove-slot],[data-group=remove-category],[data-plan=remove-card]):enabled:active {
  background: #f0d9d2; border-color: #ab7162; color: #6e281b;
}
.entry-workspace .work-premium:enabled:active { background: #7e2e08; }
.host-flow button:disabled, .entry-workspace button:disabled {
  background: #e9e7e0 !important; color: #575a52 !important;
  border-color: #cecfc7; opacity: 1; cursor: not-allowed;
}
