.ubes-rp { max-width: 1100px; margin: 24px auto; color: #24342f; font: 16px/1.5 system-ui,sans-serif; }
.ubes-rp *, .ubes-rp *::before, .ubes-rp *::after { box-sizing: border-box; }
.ubes-rp [hidden] { display: none !important; }
.ubes-rp h1, .ubes-rp h2, .ubes-rp h3 { color: #123a30; line-height: 1.25; }
.ubes-rp label { display: block; font-weight: 600; }
.ubes-rp input:not([type=checkbox]):not([type=hidden]), .ubes-rp select { display: block; width: 100%; min-height: 44px; padding: 9px 12px; margin: 5px 0 12px; border: 1px solid #aebbb5; border-radius: 6px; background: #fff; color: #24342f; font: inherit; }
.ubes-rp input[readonly] { background: #f1f5f2; }
.ubes-rp input[type=hidden] { display: none; }
.ubes-rp fieldset, .ubes-rp .rp-session { margin: 20px 0; padding: 18px; border: 1px solid #cbd6cf; border-radius: 10px; background: #fff; }
.ubes-rp fieldset:disabled { background: #f3f5f3; }
.ubes-rp legend { padding: 0 7px; font-weight: 700; }
.ubes-rp .rp-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.ubes-rp .rp-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 400; }
.ubes-rp input[type=checkbox] { width: 20px; height: 20px; accent-color: #195e48; flex-shrink: 0; }
.ubes-rp button, .ubes-rp .rp-button { display: inline-block; min-height: 44px; padding: 10px 16px; margin: 5px 8px 5px 0; border: 0; border-radius: 6px; background: #195e48; color: white; font: inherit; cursor: pointer; text-decoration: none; }
.ubes-rp button[type=button] { background: #e9f1ec; color: #195e48; }
.ubes-rp :focus-visible { outline: 3px solid #f1b949; outline-offset: 3px; }
.ubes-rp summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.ubes-rp .rp-slot-editor { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)) 100px auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #e6ece7; }
.ubes-rp .rp-week-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 12px 0; }
.ubes-rp .rp-applicant { border-top: 1px solid #e1e8e3; padding: 14px 0; }
.ubes-rp .rp-applicant h4 { margin: 0; }
.ubes-rp .rp-notice { background: #e3f4e8; padding: 14px; border-left: 4px solid #195e48; }
.ubes-rp .rp-error { background: #fff0e9; border-color: #b43e20; }
.ubes-rp dd { margin-bottom: 8px; overflow-wrap: anywhere; }
.ubes-rp p, .ubes-rp li { overflow-wrap: anywhere; }
@media(max-width: 700px) { .ubes-rp .rp-grid, .ubes-rp .rp-slot-editor { grid-template-columns: 1fr; } .ubes-rp fieldset, .ubes-rp .rp-session { padding: 14px; } .ubes-rp .rp-week-picker { align-items: flex-start; } }

/* Use the hiking signup's standalone cards and sequential questions. */
.ubes-rp.rp-participant { max-width: 860px; margin: 0 auto; font-size: 16px; color: #2d2d2d; }
.ubes-rp.rp-participant .ubes-public-form-hero h1 { font-size: clamp(26px,5vw,36px); margin: 0; }
.ubes-rp.rp-participant .rp-questions { display: grid; grid-template-columns: 1fr; gap: 20px; }
.ubes-rp.rp-participant .rp-questions label { font-size: 17px; line-height: 1.35; }
.ubes-rp.rp-participant .rp-questions input { margin-top: 10px; font-weight: 400; }
.ubes-rp.rp-participant fieldset { padding: 26px 30px; margin: 18px 0; }
.ubes-rp.rp-participant .rp-check { border: 1px solid #dbe3df; border-radius: 8px; padding: 12px 15px; margin: 10px 0; background: #fff; }
.ubes-rp.rp-participant .rp-week-picker { padding: 18px; border: 1px solid #dbe3df; border-radius: 12px; background: #fff; }
.ubes-rp.rp-management { max-width: none; margin: 0; width: 100%; padding: 22px; }
.ubes-rp.rp-management > details, .ubes-rp.rp-management > .rp-week-picker { background: #fff; border: 1px solid #d5dfdb; border-radius: 14px; margin: 12px 0; padding: 16px 20px; }
.ubes-rp.rp-management h1 { font-size: 24px; margin: 5px 0 0; }
.ubes-rp.rp-management > .rp-session { border-radius: 14px; }
.ubes-rp.rp-management .rp-grid { gap: 16px; }
@media(max-width:700px) { .ubes-rp.rp-management { padding: 12px; } .ubes-rp.rp-participant fieldset { padding: 20px; } }
.ubes-rp textarea { display: block; width: 100%; padding: 12px; margin: 10px 0 0; border: 1px solid #b8c9c0; border-radius: 8px; background: #fff; color: #2d2d2d; font: inherit; font-weight: 400; resize: vertical; }
.ubes-rp.rp-participant .ubes-public-question-label { margin: 0; font-weight: 700; }
.ubes-rp.rp-participant .ubes-public-help { font-size: 14px; font-weight: 400; color: #6f746f; margin: 8px 0; }
.ubes-rp.rp-participant .ubes-public-choice-list { display: grid; gap: 10px; }
.ubes-rp.rp-participant .ubes-public-choice-list .rp-check { margin: 0; font-weight: 400; font-size: 16px; }
.ubes-rp.rp-participant .ubes-public-question + .ubes-public-question { margin-top: 0; }
.ubes-rp.rp-management .rp-google-import { border-left: 4px solid #2f5d50; }

/* Match the established signup and portal typography without duplicate page headings. */
.ubes-rp.rp-participant .rp-signup-hero { display: flex; align-items: center; gap: 22px; border-top-width: 5px; }
.ubes-rp.rp-participant .rp-signup-logo { width: 46px; height: 86px; object-fit: contain; flex: 0 0 46px; }
.ubes-rp.rp-participant .rp-signup-hero h1 { font-size: clamp(26px,4vw,32px); line-height: 1.15; }
.ubes-rp.rp-participant .rp-signup-hero .ubes-public-intro { font-size: 16px; line-height: 1.5; margin: 12px 0 0; }
.ubes-rp.rp-participant .rp-signup-hero .ubes-public-kicker { font-size: 12px; margin: 0 0 7px; }
.ubes-rp.rp-participant .rp-signup-hero .rp-current-week { margin: 10px 0 0; padding: 0; font-size: 15px; font-weight: 600; color: #2f5d50; }
.ubes-rp.rp-participant .rp-details + .rp-availability { margin-top: 18px; }
.ubes-rp.rp-participant select { font-weight: 400; }
.ubes-rp.rp-participant .ubes-public-section h2 { font-size: 21px!important; margin: 0 0 22px!important; }
.ubes-rp.rp-participant .rp-availability > p { font-size: 15px; margin: 0 0 22px; }
.ubes-rp.rp-participant .rp-session { border: 0; border-top: 1px solid #dce4df; border-radius: 0; padding: 20px 0 0; margin: 22px 0; min-width: 0; }
.ubes-rp.rp-participant .rp-session legend { float: left; width: 100%; margin: 0 0 14px; padding: 0; font-size: 17px; line-height: 1.4; }
.ubes-rp.rp-participant .rp-time-choices { clear: both; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.ubes-rp.rp-participant .rp-time-choices .rp-check { margin: 0; }
.ubes-rp.rp-participant .rp-session > p { font-size: 13px; color: #68716c; margin: 12px 0 0; }
.ubes-rp.rp-workspace-panel { margin: 0; max-width: none; }
.ubes-rp.rp-workspace-panel > h3 { font-size: 20px; margin: 0 0 18px; }
.ubes-rp.rp-workspace-panel > details { border-top: 1px solid #dce4df; padding: 14px 0; }
.ubes-rp.rp-workspace-panel .rp-attendance-table td { vertical-align: middle; }
.ubes-rp.rp-workspace-panel .rp-attendance-table select { min-width: 135px; margin: 0; font-weight: 400; }
@media(max-width:620px) {
 .ubes-rp.rp-participant .rp-signup-hero { gap: 14px; }
 .ubes-rp.rp-participant .rp-signup-logo { width: 38px; height: 76px; flex-basis: 38px; }
 .ubes-rp.rp-participant .rp-time-choices { grid-template-columns: 1fr; }
 .ubes-rp.rp-participant .rp-session { padding: 20px 0 0; }
 .ubes-rp.rp-workspace-panel .rp-slot-editor { grid-template-columns: 1fr; }
}

/* Portal link styles must not hide text on the green signup button. */
#ubes-committee-portal-app .ubes-rp a.rp-button,
#ubes-committee-portal-app .ubes-rp a.rp-button:visited,
#ubes-committee-portal-app .ubes-rp a.rp-button:hover,
#ubes-committee-portal-app .ubes-rp a.rp-button:focus { color: #fff !important; background: #195e48; text-decoration: none; }
