/* Forms, notices, dashboard and the public profile page. Loaded on form pages and single profiles. */
.solo-form { display: grid; gap: 16px; }
.solo-form--narrow { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.solo-field { display: grid; gap: 6px; min-width: 0; }
.solo-field label { font-weight: 600; font-size: .92rem; }
.solo-field input[type="text"], .solo-field input[type="email"], .solo-field input[type="password"], .solo-field input[type="tel"], .solo-field input[type="url"], .solo-field input[type="number"], .solo-field input[type="search"], .solo-field textarea, .solo-field select, .solo-form select {
	width: 100%; min-height: 46px; padding: 10px 14px; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #cbd2e1; border-radius: 12px; transition: border-color .15s ease, box-shadow .15s ease;
}
.solo-field textarea { min-height: 120px; resize: vertical; }
.solo-field input:focus, .solo-field textarea:focus, .solo-field select:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79, 70, 229, .18); }
.solo-field input[type="file"] { font: inherit; padding: 8px 0; }
.solo-req { color: var(--danger); }
.solo-help { margin: 0; font-size: .85rem; color: var(--muted); }
.solo-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; cursor: pointer; }
.solo-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); flex: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-weight: 700; margin-bottom: 8px; }
.solo-fieldset { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 16px; }
.solo-fieldset > legend { float: left; width: 100%; font: 800 1.1rem var(--font-head); margin-bottom: 4px; }
.solo-fieldset > legend + * { clear: both; }
.solo-checks, .solo-radios { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.solo-checks > legend, .solo-radios > legend { width: 100%; }
.solo-grid-2, .solo-grid-3 { display: grid; gap: 16px; }
@media (min-width: 640px) { .solo-grid-2 { grid-template-columns: 1fr 1fr; } .solo-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.solo-form__alt { margin: 0; text-align: center; font-size: .95rem; }
.solo-form--profile { max-width: 820px; }
.solo-form--inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.solo-form--inline select { width: auto; min-height: 40px; }
.solo-actions { position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(to top, var(--canvas) 70%, rgba(246, 247, 251, 0)); }

/* Role chooser */
.solo-roles { display: grid; gap: 10px; }
.solo-role { display: block; cursor: pointer; }
.solo-role input { position: absolute; opacity: 0; }
.solo-role__body { display: grid; gap: 2px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s ease, background-color .15s ease; }
.solo-role__body small { color: var(--muted); }
.solo-role input:checked + .solo-role__body { border-color: var(--primary); background: var(--primary-50); }
.solo-role input:focus-visible + .solo-role__body { outline: 3px solid var(--primary); outline-offset: 2px; }

/* Notices */
.solo-notices:empty { display: none; }
.solo-notice { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; border: 1px solid; }
.solo-notice p { margin: 0 0 4px; }
.solo-notice p:last-child { margin: 0; }
.solo-notice--success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.solo-notice--error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.solo-notice--info { background: var(--primary-50); border-color: #c7d2fe; color: #312e81; margin-bottom: 16px; }

/* Portfolio editor */
.solo-portfolio { display: grid; gap: 12px; }
.solo-portfolio__row { display: grid; gap: 10px; padding: 14px; border: 1px dashed #cbd2e1; border-radius: 12px; }
.solo-portfolio__thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.solo-avatar-current .solo-avatar { width: 80px; height: 80px; }

/* Dashboard */
.solo-dash__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.solo-dash__head h2 { margin: 0; }
.solo-tabs { display: flex; gap: 6px; margin: 16px 0 20px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.solo-tabs a { padding: 10px 14px; text-decoration: none; color: var(--muted); font-weight: 700; border-bottom: 3px solid transparent; white-space: nowrap; }
.solo-tabs a[aria-current="page"] { color: var(--primary); border-color: var(--primary); }
.solo-dash__grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .solo-dash__grid { grid-template-columns: repeat(3, 1fr); } }
.solo-stat { font: 800 2.4rem/1 var(--font-head); margin: 0 0 8px; }
.solo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.solo-request__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.solo-request__msg { background: var(--canvas); padding: 12px; border-radius: 10px; }
.solo-request__contact { font-weight: 600; }

/* Public profile */
.solo-profile { display: grid; gap: 20px; padding-block: 24px 96px; }
.solo-profile__main { display: grid; gap: 20px; min-width: 0; align-content: start; }
.solo-profile__head { display: flex; gap: 16px; align-items: flex-start; }
.solo-profile__head h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin-bottom: 4px; }
.solo-profile__headline { font-size: 1.05rem; color: var(--muted); margin-bottom: 10px; }
.solo-profile__cat { margin: 8px 0 0; }
.solo-portfolio-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.solo-portfolio-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.solo-portfolio-grid p { margin: 6px 0 0; font-size: .9rem; }
.solo-contact__rate { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.solo-contact__list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.solo-contact__title { font-size: 1.1rem; margin: 8px 0 12px; }
.solo-sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15, 23, 42, .08); }
@media (min-width: 900px) {
	.solo-profile { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; padding-bottom: 64px; }
	.solo-profile__side { position: sticky; top: calc(var(--header-h) + 16px); }
	.solo-sticky-bar { display: none; }
	.solo-portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Reviews and reports */
.solo-reviews__list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 16px; }
.solo-review { border-top: 1px solid var(--line); padding-top: 14px; }
.solo-review__head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.solo-star-on { color: var(--amber); }
.solo-star-off { color: var(--line); }
.solo-rate { border: 0; padding: 0; margin: 0 0 14px; }
.solo-rate legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.solo-rate__row { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.solo-rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.solo-rate label { font-size: 2rem; line-height: 1; color: var(--line); cursor: pointer; padding: 0 2px; }
.solo-rate input:checked ~ label, .solo-rate label:hover, .solo-rate label:hover ~ label { color: var(--amber); }
.solo-rate input:focus-visible + label { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
.solo-report { margin-top: 12px; font-size: .9rem; }
.solo-report summary { cursor: pointer; color: var(--muted); }
.solo-report .solo-form { margin-top: 10px; }
.solo-report-wrap { margin-top: 12px; }
.solo-profile__fav { margin-top: 10px; }
