.delivery-panel{margin:28px 0;padding:24px;border:1px solid #e4e4e7;border-radius:22px;background:#f5f5f7;color:#1d1d1f;overflow-wrap:anywhere}
.delivery-panel [hidden]{display:none!important}
.delivery-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.delivery-heading h2,.delivery-heading h3{margin:0;font-size:23px;letter-spacing:-.025em}
.delivery-status{font-weight:650;color:#1d1d1f}
.delivery-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.delivery-meta div{min-width:0}
.delivery-meta dt{font-size:12px;color:#6e6e73;margin-bottom:5px}
.delivery-meta dd{margin:0;font-size:14px}
.delivery-warning{font-size:13px;line-height:1.65;color:#6e6e73}
.delivery-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.delivery-panel .button{min-height:42px;font-size:13px;padding:10px 17px;white-space:normal}
.delivery-access,.delivery-secrets,.delivery-confirm{margin:18px 0;padding:18px;border:1px solid #d9d9dd;border-radius:14px;background:#fff}
.delivery-panel label{display:block;font-weight:600;font-size:13px;margin-bottom:8px}
.delivery-panel input:not([type=checkbox]),.delivery-panel textarea{display:block;width:100%;max-width:100%;box-sizing:border-box;border:1px solid #b7b7bd;border-radius:10px;background:#fff;padding:12px;font:inherit;margin:8px 0 14px}
.delivery-panel textarea{resize:vertical;min-height:110px;line-height:1.5}
.delivery-secrets textarea{font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
.delivery-access .button,.delivery-secrets .button,.delivery-confirm .button{margin:0 8px 8px 0}
.delivery-panel .field-note,.delivery-feedback,.delivery-guide{font-size:13px;line-height:1.65}
.delivery-feedback{padding:10px 12px;background:#e8f1fc;border-radius:10px;color:#145894}
.delivery-feedback.form-error{background:#fff0ed;color:#a62b20}
.delivery-guide{padding-left:20px;margin:20px 0 0;color:#6e6e73}
.delivery-guide li+li{margin-top:9px}
.delivery-confirm p{font-size:13px;line-height:1.65}
.delivery-panel .checkbox-row{font-size:13px;line-height:1.65;align-items:flex-start}
.delivery-panel .checkbox-row input[type=checkbox]{width:18px;min-width:18px;max-width:18px;height:18px;min-height:18px;padding:0;flex:0 0 18px;margin:3px 0 0}
.delivery-panel .checkbox-row span{flex:1;min-width:0;font-size:13px;line-height:1.65}
@media(max-width:600px){.delivery-panel{padding:18px;border-radius:18px}.delivery-heading{align-items:flex-start}.delivery-heading h2,.delivery-heading h3{font-size:21px}.delivery-meta{grid-template-columns:1fr}.delivery-actions .button{flex:1 1 140px}}

/* Session submission is a separate step after a payment reminder */
#payment-dialog #payment-delivery,.payment-main #payment-delivery{display:flex;width:100%;justify-content:center;border-radius:999px;min-height:50px;margin:22px 0 10px;font-size:15px;background:#0071e3;color:#fff;box-shadow:none}
#payment-dialog #payment-delivery[hidden],.payment-main #payment-delivery[hidden]{display:none}
#delivery-dialog{width:min(640px,calc(100% - 28px));max-height:calc(100dvh - 28px);border:0;border-radius:30px;background:#fff}
#delivery-dialog>.dialog-wrap{padding:32px}
#delivery-dialog .delivery-panel{border:0;background:#fff;margin:0;padding:0}
#delivery-dialog .eyebrow{font-size:10px;color:#86868b;letter-spacing:.16em}
#delivery-dialog .delivery-heading h2{font-size:28px;letter-spacing:-.035em}
#delivery-dialog .delivery-heading .button{font-size:12px;border:0;background:#f5f5f7;min-height:34px}
#delivery-dialog #delivery-json{font:12px/1.6 ui-monospace,SFMono-Regular,monospace;border-color:#d2d2d7;border-radius:14px;min-height:145px}
#delivery-dialog .delivery-confirm{background:#f5f5f7;border:0;border-radius:16px}
#delivery-dialog .delivery-confirm p,#delivery-dialog .delivery-warning{font-size:12px;line-height:1.8}
#delivery-dialog #delivery-submit>.button{width:100%;justify-content:center;border-radius:999px;min-height:48px;font-size:15px}
.delivery-review-summary{padding:16px 18px;margin:20px 0;border-radius:14px;background:#f5f5f7;font-size:13px}
.delivery-review-summary p{margin:0 0 12px;line-height:1.7}
.delivery-review-summary .button{font-size:12px;min-height:36px;padding:8px 14px}
@media(max-width:540px){#delivery-dialog{width:calc(100% - 16px);border-radius:25px}#delivery-dialog>.dialog-wrap{padding:25px 21px}#delivery-dialog .delivery-heading h2{font-size:25px}}

.session-guide{margin:24px 0;border:1px solid #e8e8ed;border-radius:18px;background:#fafafa;padding:0 20px 18px}
.session-guide>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;list-style:none;padding:18px 0;font-size:15px;font-weight:600;cursor:pointer;color:#1d1d1f}
.session-guide>summary::-webkit-details-marker{display:none}
.session-guide-toggle::after{content:'+';font-size:21px;font-weight:400;color:#86868b}
.session-guide[open] .session-guide-toggle::after{content:'−'}
.session-guide:not([open]){padding-bottom:0}
.delivery-panel .session-guide p{font-size:12px;line-height:1.85;color:#6e6e73;margin:7px 0}
.session-guide .session-guide-intro{margin:0 0 18px;color:#86868b}
.session-guide-steps{counter-reset:session-steps;list-style:none;margin:0;padding:0}
.session-guide-steps>li{counter-increment:session-steps;display:grid;grid-template-columns:25px minmax(0,1fr);gap:12px;padding:16px 0;border-top:1px solid #e8e8ed}
.session-guide-steps>li::before{content:counter(session-steps);display:grid;place-items:center;width:25px;height:25px;background:#eaf3ff;color:#0071e3;border-radius:50%;font-size:12px;font-weight:600}
.session-guide-steps strong{display:block;font-size:14px;font-weight:600;line-height:1.7}
.session-guide-steps a{display:inline-block;color:#0071e3;font-size:12px;line-height:1.8;margin:3px 0;text-decoration:none}
.session-guide .session-url{overflow-wrap:anywhere;word-break:break-word}
.session-shortcuts{padding:8px 12px;background:#fff;border-radius:10px;margin:12px 0}
.session-shortcuts p{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px}
.session-shortcuts b{font-size:11px;font-weight:600;min-width:55px;color:#1d1d1f}
.session-guide kbd{display:inline-block;min-width:20px;padding:0 4px;border:1px solid #dedee2;border-bottom-width:2px;border-radius:4px;background:#fff;font:11px/1.8 -apple-system,BlinkMacSystemFont,sans-serif;text-align:center;color:#1d1d1f}
.session-guide .session-guide-note{padding-top:12px;border-top:1px solid #e8e8ed;font-size:11px;color:#86868b}
.session-guide .session-mobile-tip{font-size:11px;color:#86868b}
@media(max-width:540px){.session-guide{padding-inline:15px}.session-guide-steps>li{gap:9px;grid-template-columns:22px minmax(0,1fr)}.session-guide-steps>li::before{width:22px;height:22px}.session-shortcuts p{align-items:flex-start;gap:6px 10px}.session-shortcuts b{width:100%}}
