:root{--navy:#071f58;--blue:#0877ff;--cyan:#00b8ef;--green:#22d861;--soft:#f4f7fb;--ink:#1d2b3f}*{box-sizing:border-box}body{font-family:Georgia,'Times New Roman',serif;color:var(--ink);background:#f8fafc}a{text-decoration:none!important;font-weight:400}.topbar{background:#061b45;color:#fff}.topbar a{color:#fff}.brand-name{display:block;color:var(--navy);font-size:1.15rem;font-weight:700;line-height:1;margin-bottom:.2rem}.brand-logo{display:block;height:82px;max-width:min(100%,680px);object-fit:contain;object-position:left center}.header-kicker{font-size:1.1rem;color:var(--navy)}.main-nav{background:linear-gradient(90deg,var(--navy),#075dc7)}.navbar .nav-link{color:#fff!important;font-weight:400}.footer{background:#061b45;color:#fff}.footer a{color:#fff}.hero{background:linear-gradient(135deg,#f5fbff,#eefbf4);border:1px solid #dce9f6;border-radius:20px;padding:clamp(1.5rem,4vw,4rem)}.feature-card,.dashboard-card{border:0;border-radius:18px;box-shadow:0 10px 30px rgba(7,31,88,.08)}.icon-tile{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#eaf3ff;color:#0877ff;font-size:1.25rem}.section-title{color:var(--navy)}.stepper{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.step-card{border-radius:16px;border:1px solid #dbe5ef;padding:1.25rem;background:#fff}.step-card.locked{background:#edf0f4;color:#8590a0}.question-card{border:1px solid #dfe7ef;border-radius:16px;background:#fff;padding:1.25rem;margin-bottom:1rem}.required-mark{color:#b42318}.btn-primary{background:#0877ff;border-color:#0877ff}.btn-success{background:#159947;border-color:#159947}.form-control,.form-select{border-radius:10px}.password-wrap{position:relative}.password-wrap .password-eye{position:absolute;right:12px;top:50%;transform:translateY(-50%);cursor:pointer;color:#52667d}.drop-zone{border:2px dashed #9db2c8;border-radius:16px;background:#fbfdff;padding:2rem;text-align:center;transition:.2s}.drop-zone.dragover{background:#edf7ff;border-color:#0877ff}.action-icon{border:0;background:transparent;padding:.45rem;color:#28527c}.action-icon:hover{color:#0877ff}.analysis-layout{display:grid;grid-template-columns:minmax(240px,30%) 1fr;gap:1.25rem}.user-list{max-height:70vh;overflow:auto}.user-list a{display:block;padding:.8rem;border-bottom:1px solid #edf0f4;color:#1d2b3f}.user-list a.active{background:#e9f3ff}.metric{font-size:2rem;color:#071f58}.score-badge{width:70px;height:70px;border-radius:50%;display:grid;place-items:center;background:#071f58;color:#fff;font-size:1.7rem}.signature-pad{border:1px solid #bccbd9;border-radius:10px;width:100%;height:180px;background:white;touch-action:none}.table th{color:#071f58}.sticky-actions{position:sticky;bottom:0;background:rgba(255,255,255,.95);padding:.75rem;border-top:1px solid #e1e7ef;backdrop-filter:blur(5px)}@media(max-width:768px){.brand-logo{height:58px}.analysis-layout{grid-template-columns:1fr}.stepper{grid-template-columns:1fr}}@media print{.topbar,.site-header,.main-nav,.footer,.no-print{display:none!important}body{background:#fff}.container-fluid{width:100%;padding:0}.card{box-shadow:none!important}}

/* Portal-wide flyer */
.portal-flyer{border-left:4px solid var(--blue)}
.portal-flyer-thumb{width:150px;height:96px;object-fit:cover;border-radius:12px;border:1px solid #dbe5ef;background:#fff}
.flyer-file-icon{width:74px;height:74px;border-radius:16px;display:grid;place-items:center;background:#fff1f1;color:#b42318;font-size:2.25rem}
.modal-header.survey-modal-header{background:linear-gradient(90deg,#eaf3ff,#ecfff2);color:var(--navy);border-bottom:1px solid #cfdeee}
.question-tools{display:flex;gap:.4rem;align-items:center}
.import-help code{color:#071f58;background:#eef4fb;padding:.1rem .35rem;border-radius:4px}
.recipient-format{white-space:pre-wrap;background:#f7f9fc;border:1px solid #e2e8f0;border-radius:10px;padding:.8rem}


/* Survey response visibility controls */
.survey-response-form .form-control,
.survey-response-form .form-select{border-width:2px;border-color:var(--survey-input-border,#52769e);box-shadow:0 0 0 .08rem rgba(8,119,255,.08)}
.survey-response-form textarea.form-control{background:var(--survey-textarea-bg,#fffbe8);border-color:var(--survey-textarea-border,#d49a00)}
.survey-response-form .form-check{padding:.5rem .75rem .5rem 2.25rem;border-radius:10px;margin:.25rem 0;background:#f8fbff;border:1px solid #d9e6f3}
.survey-response-form .form-check-input{width:1.35rem;height:1.35rem;margin-left:-1.65rem;border:2px solid var(--survey-choice-border,#28527c);box-shadow:0 0 0 .08rem rgba(8,119,255,.1)}
.survey-response-form .form-check-input:checked{background-color:var(--survey-choice-active,#0877ff);border-color:var(--survey-choice-active,#0877ff)}
.survey-response-form .form-check-input:focus,.survey-response-form .form-control:focus,.survey-response-form .form-select:focus{border-color:var(--survey-focus,#0877ff);box-shadow:0 0 0 .22rem rgba(8,119,255,.18)}
.survey-modal-header{background:linear-gradient(90deg,#dcecff,#e7f8ff)!important}
.invitation-template-panel{background:#f7faff;border:1px solid #dce8f5;border-radius:12px;padding:1rem}


/* Upcoming events public flyer gallery */
.event-flyer-card{overflow:hidden}
.event-flyer-cover-wrap{background:#eef3f8;border-bottom:1px solid #dfe7ef;aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;overflow:hidden}
.event-flyer-cover-wrap>a{display:block;width:100%;height:100%}
.event-flyer-cover{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s ease}
.event-flyer-cover-wrap>a:hover .event-flyer-cover{transform:scale(1.02)}
.event-flyer-placeholder{width:100%;height:100%;display:grid;place-items:center;color:#b42318;font-size:4rem;background:#fff5f5}
.event-flyer-actions .btn{white-space:nowrap}
.admin-flyer-cover{width:62px;height:78px;object-fit:cover;border-radius:8px;border:1px solid #dbe5ef;background:#fff}
