.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat-grid>.panel{margin:0}.stat-value{font-size:28px;color:var(--brand)}.window-notice{margin-bottom:16px}.window-notice p{margin:6px 0}.window-notice small{font-weight:600}.detail-aside>.button{margin:8px 0}.detail-aside>.panel+.panel{margin-top:20px}.form-grid>label:has(>input[type=checkbox]){flex-direction:row;align-items:center}.preference-motivation{margin-top:12px}.preference-motivation textarea{margin-top:8px}.settings-form>.panel{margin-bottom:22px}@media(max-width:800px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:450px){.stat-grid{grid-template-columns:1fr}}

.motivation-dialog{width:min(640px,calc(100% - 32px));max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:10px;padding:30px;color:var(--text);background:var(--paper);box-shadow:0 16px 60px #18383b30}.motivation-dialog::backdrop{background:#173b4666}.motivation-dialog h2{margin:0}.motivation-dialog .subtitle{font-size:15px}.motivation-dialog .form-footer{margin-top:8px}.detail-aside>[data-open-dialog]{margin:16px 0}@media(max-width:680px){.motivation-dialog{padding:20px}}
.required-mark,.submission-notes,.field-error,.form-errors{color:#ad2727}.optional-label{font-weight:400;color:var(--muted)}.submission-notes{font-size:12px}.submission-notes p{margin:3px 0}.field-error{display:block;font-size:13px;font-weight:500}.field-error:empty{display:none}.proposal-form [aria-invalid=true]{border-color:#ad2727}.form-errors[hidden]{display:none}.form-errors{border:1px solid #ad2727;background:#fff5f5}.component-control{padding:16px 20px 20px;background:#f5f9fa;border:1px solid var(--line);border-radius:10px}.component-ends,.component-values{display:flex;justify-content:space-between;gap:16px}.component-ends{margin-top:20px;font-size:13px;font-weight:600}.component-control input[type=range]{appearance:none;-webkit-appearance:none;display:block;width:100%;height:10px;margin:20px 0 0;padding:0;border:0;border-radius:8px;background:linear-gradient(90deg,#b6c9cc,#236b78);cursor:pointer;accent-color:var(--brand)}.component-control input[type=range]::-webkit-slider-thumb{appearance:none;width:22px;height:28px;border:3px solid white;border-radius:8px;background:#174a58;box-shadow:0 1px 5px #174a5880}.component-control input[type=range]::-moz-range-thumb{width:18px;height:24px;border:3px solid white;border-radius:8px;background:#174a58}.component-control input[type=range]:focus-visible{outline:3px solid #779ba8;outline-offset:7px}.component-ticks{display:flex;justify-content:space-between;font-size:12px;color:#516b74;margin:0 10px}.component-ticks span{position:relative;text-align:center;padding-top:15px;width:0;display:flex;justify-content:center}.component-ticks span:before{content:'';position:absolute;top:5px;width:1px;height:6px;background:#708b92}.component-values{margin-top:18px;font-size:13px}.component-values output{display:block;font-size:24px;font-weight:700;color:var(--brand)}.component-values>span:last-child{text-align:right}.delete-proposal{margin-top:24px}.delete-proposal .danger{color:#ad2727;border-color:#ad2727}.delete-proposal .danger:hover{background:#fff0f0}
.pagination{display:flex;align-items:center;gap:12px;justify-content:flex-end;margin:18px 0 28px}.pagination span{margin-right:auto;color:var(--muted)}.candidate{margin:16px 0}.candidate>summary{cursor:pointer;line-height:1.6}.candidate[open]>summary{margin-bottom:16px}.badge.rejected,.badge.suspended{background:#f9e4e4;color:#a32626}.availability{margin-bottom:32px}.panel h2:first-child{margin-top:0}

.proposal-field{position:relative;min-width:0}.proposal-field>label>span:first-child{padding-right:38px}.field-help{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;min-width:24px;min-height:24px;padding:0;border:1px solid var(--brand);border-radius:50%;background:transparent;color:var(--brand);font-family:Georgia,serif;font-size:16px;font-weight:700;font-style:normal;line-height:1;vertical-align:middle;cursor:pointer}.field-help:hover{background:#e8f3f4}.field-help:focus-visible{outline:3px solid #7bafb7;outline-offset:3px}.proposal-field>.field-help{position:absolute;right:0;top:0}.field-heading{display:flex;align-items:center;gap:10px}.field-heading label{display:block;margin:0}.proposal-help-dialog{width:min(760px,calc(100% - 32px));padding:28px}.help-dialog-heading{display:flex;align-items:flex-start;gap:20px;justify-content:space-between}.help-dialog-heading h2{font-size:24px;line-height:1.3}.help-dialog-heading button{flex-shrink:0}.proposal-help-dialog h3{font-size:16px;margin:24px 0 8px}.proposal-help-dialog p,.proposal-help-dialog li,.help-example{font-size:15px;line-height:1.65}.proposal-help-dialog li+li{margin-top:8px}.help-example{padding:16px 18px;background:#f5f9fa;border:1px solid var(--line);border-radius:8px}.help-reference{margin-top:20px}.help-reference summary{cursor:pointer}.help-reference blockquote{margin:16px 0;padding-left:16px;border-left:3px solid var(--brand);line-height:1.6}@media(max-width:600px){.proposal-help-dialog{padding:20px}.help-dialog-heading{gap:12px}.help-dialog-heading h2{font-size:20px}.field-heading{align-items:flex-start}}

.password-field{position:relative;min-width:0}.password-field input{padding-right:52px}.password-toggle{position:absolute;right:6px;bottom:6px;width:34px;height:32px;min-height:32px;padding:6px;border:0;background:transparent;color:var(--brand)}.password-toggle svg{width:20px;height:20px;pointer-events:none}.password-eye-slash{display:none}.password-toggle[aria-pressed="true"] .password-eye-slash{display:block}

.login-panel{align-self:start}.login-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin:-4px 0 24px}.login-tabs a{flex:1;text-align:center;padding:12px 16px;text-decoration:none;border-bottom:3px solid transparent;font-weight:600;color:var(--muted)}.login-tabs a[aria-current="page"]{border-color:var(--brand);color:var(--brand);background:#f0f7f8}.login-tabs a:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.personal-login{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.personal-login summary{cursor:pointer;color:var(--brand);font-size:14px}.personal-login[open] summary{margin-bottom:18px}.forgot-password{font-size:14px;justify-self:end}.register-link{border-top:1px solid var(--line);padding-top:20px;margin-bottom:0}

.user-actions .danger,.user-delete .danger{color:#ad2727;border-color:#ad2727}.user-actions .danger:hover,.user-delete .danger:hover{background:#fff0f0}.user-actions .button{margin:3px 0}
