/* Match the jobs page's editorial hero, typography, and responsive spacing. */
.public-request-page .main-content { padding-top: 0; }
.public-request-hero { --font-h1-size: clamp(2rem, 3.7vw, 3.25rem); padding: 126px 0 56px; color: #f5f2ff; background: radial-gradient(ellipse at 50% 76%, #46338640, transparent 60%), radial-gradient(ellipse at 50% 0%, #27203c55, transparent 54%), #090a12; }
.public-request-hero .public-request-heading { max-width: 1124px; padding: 0 var(--space-6); text-align: left; }
.public-request-heading h1 { margin: 0 0 var(--space-4); font: 400 clamp(2rem, 3.7vw, 3.25rem)/1.08 var(--font-display); letter-spacing: 0; text-wrap: balance; }
.public-request-heading h1 > span { color: #cbbaff; background: linear-gradient(120deg, #f3edff 10%, #c6afff 55%, #9387ff); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.public-request-intro { max-width: 800px; margin: 0; font: 300 1rem/1.65 var(--font-body); color: var(--color-hero-text-secondary); }
.public-request-page .public-client-requests { padding-top: var(--space-12); }
@media (max-width: 1023px) { .public-request-hero { padding: 110px 0 40px; } }
@media (max-width: 767px) {
    .public-request-hero .public-request-heading { text-align: center; }
    .public-request-intro { margin-inline: auto; }
}
@media (max-width: 560px) {
    .public-request-hero { padding: 102px 0 40px; }
    .public-request-page .public-client-requests { padding-top: var(--space-8); }
}
/* Contained public section, using the site's typography and button system. */
/* The intake is narrower than marketing sections while retaining four usable desktop columns. */
.public-client-requests .page-section { max-width: 1040px; }
.public-client-requests { padding-block: var(--space-6) var(--space-16); }
.public-client-requests p { line-height: 1.5; }
.public-client-requests form { position: relative; }
.public-client-requests fieldset { border: 0; padding: 0; margin: 0 0 var(--space-8); min-width: 0; animation: public-request-enter .45s ease-out both; }
.public-client-requests fieldset:nth-of-type(2) { animation-delay: .08s; }
.public-client-requests fieldset:nth-of-type(3) { animation-delay: .16s; }
.public-client-requests legend { display: flex; float: none; align-items: center; flex-wrap: wrap; gap: var(--space-2); width: 100%; margin: 0; font-family: var(--font-body-strong); font-size: 1.15rem; font-weight: 400; line-height: 1.2; padding: 0 0 var(--space-5); }
.public-client-requests legend::after { content: ''; flex: 1; min-width: var(--space-4); height: 1px; margin-left: var(--space-2); background: #e5e3ed; }
.public-client-requests legend span { font-family: var(--font-body); font-size: 1rem; }
.public-client-requests legend .public-request-step { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 var(--space-8); height: var(--space-8); margin-right: var(--space-1); border-radius: var(--radius-circle); background: #f0eeff; color: #4b43db; font: 400 .8rem/1 var(--font-body-strong); }
.public-request-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: var(--space-5) var(--space-4); }
.public-request-half { grid-column: span 2; }
.public-request-wide { grid-column: 1 / -1; }
.public-client-requests label { display: flex; flex-direction: column; align-items: stretch; gap: var(--space-2); font-family: var(--font-body-strong); font-size: 1rem; line-height: 1.5; font-weight: 400; min-width: 0; }
.public-client-requests :is(input, select, textarea) { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; min-height: 48px; padding: var(--space-3) var(--space-4); border: 1px solid #c7c5cf; border-radius: var(--radius-md); background: var(--color-white); color: #111; font: 300 1rem/1.5 var(--font-body); transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }
.public-client-requests :is(input:not([type=file]), select) { height: 50px; }
/* Keep control icons inset and reuse the calendar asset used in Stranded OS. */
.public-client-requests select { -webkit-appearance: none; appearance: none; padding-right: var(--space-10); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4 3 3 3-3' fill='none' stroke='%2365656f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right var(--space-4) center; background-size: 16px; cursor: pointer; }
.public-client-requests input[type='date'] { background-image: url('/images/icons/admin/profile-calendar.svg'); background-repeat: no-repeat; background-position: right var(--space-4) center; background-size: 18px; }
.public-client-requests input[type='date']::-webkit-calendar-picker-indicator { width: 18px; height: 18px; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.public-client-requests :is(input, select, textarea):hover { border-color: #8a84b2; }
.public-client-requests textarea { resize: vertical; }
.public-client-requests :is(input, select, textarea):focus-visible { outline: 2px solid var(--color-brand); outline-offset: 3px; border-color: var(--color-brand); box-shadow: 0 0 0 4px #f0eeff; }
.public-client-requests :is(small, .public-request-help) { font: 300 .9rem/1.5 var(--font-body); color: #555; }
.public-client-requests small:empty { display: none; }
.public-client-requests .public-request-date-help { margin: calc(-1 * var(--space-2)) 0 0; }
.public-request-help a { text-decoration: underline; }
.public-request-drop { border: 1px dashed #aaa4cf; border-radius: var(--radius-md); padding: var(--space-5) var(--space-6); background: #faf9ff; transition: border-color .18s ease, background-color .18s ease; }
.public-request-drop:hover, .public-request-drop:focus-within { border-color: var(--color-brand); background: #f3f1ff; }
.public-request-drop label { flex-direction: row; align-items: center; gap: var(--space-3); }
.public-request-drop svg { flex-shrink: 0; color: var(--color-brand); }
.public-request-drop.is-dragging { outline: 2px solid #5951ff; background: #f3f1ff; }
.public-request-drop input { margin-top: var(--space-3); border: 0; padding-inline: 0; background: transparent; }
.public-request-drop input::file-selector-button { min-height: 44px; margin-right: var(--space-3); padding: var(--space-2) var(--space-4); border: 1px solid #d5d1ee; border-radius: var(--radius-pill); background: var(--color-white); color: #111; font: 400 .9rem/1.5 var(--font-body-strong); cursor: pointer; }
.public-request-drop .public-request-help { margin: var(--space-2) 0 0; }
.public-request-files { list-style: none; padding: 0; }
.public-request-files:empty, .public-request-error:empty, [data-submit-status]:empty { display: none; }
.public-request-files li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-block: var(--space-3); border-bottom: 1px solid #ddd; }
.public-request-files span { overflow-wrap: anywhere; min-width: 0; font-size: .9rem; }
.public-request-files button { flex-shrink: 0; min-height: 44px; }
.public-request-submit { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid #e5e3ed; }
.public-request-submit progress { width: 100%; }
.public-client-requests .public-request-honey { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.public-client-requests :is(.public-request-error, [data-error], .public-request-errors) { color: #a02c2c; }
.public-request-errors { border-left: 3px solid currentColor; padding-left: var(--space-4); margin-bottom: var(--space-6); }
.public-request-confirmation { text-align: center; }
.public-request-reference { overflow-wrap: anywhere; font-family: var(--font-body-strong); font-size: 1rem; margin-bottom: var(--space-8); }
.public-client-requests [hidden] { display: none !important; }
@keyframes public-request-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 959px) { .public-request-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
    .public-request-grid { grid-template-columns: minmax(0, 1fr); }
    .public-request-half { grid-column: 1 / -1; }
    .public-request-drop { padding: var(--space-4); }
    .public-request-files li { flex-wrap: wrap; }
    .public-request-submit .button-indigo { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .public-client-requests fieldset { animation: none; }
    .public-client-requests :is(input, select, textarea), .public-request-drop { transition: none; }
}
