/* Relacionamento OS — estilos base da SPA (Fase 1: mínimo). */
#ros-app {
	max-width: 960px;
	margin: 0 auto;
	padding: 24px;
	font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
#ros-app[data-state="guest"] {
	text-align: center;
	color: #555;
}
.ros-onboarding label {
	display: block;
	margin: 12px 0 4px;
	font-weight: 600;
}
.ros-onboarding input,
.ros-onboarding select,
.ros-onboarding textarea {
	width: 100%;
	padding: 8px;
	box-sizing: border-box;
}
.ros-onboarding .ros-note,
.ros-member .ros-note {
	color: #666;
	font-size: 13px;
	font-weight: 400;
}
.ros-onboarding .ros-error {
	color: #b00020;
	margin-top: 10px;
}
.ros-onboarding button {
	margin-top: 16px;
	padding: 10px 20px;
	cursor: pointer;
}
.ros-nav {
	display: flex;
	gap: 8px;
	border-bottom: 1px solid #eee;
	margin-bottom: 16px;
	padding-bottom: 8px;
}
.ros-nav button {
	padding: 8px 16px;
	cursor: pointer;
}
.ros-nav button:disabled {
	font-weight: 700;
	opacity: 1;
}
.ros-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-bottom: 16px;
}
.ros-card {
	border: 1px solid #eee;
	border-radius: 10px;
	padding: 16px;
	margin-bottom: 12px;
}
.ros-card h3 {
	margin: 0 0 4px;
}
.ros-badge {
	font-size: 12px;
	color: #0a7d33;
	font-weight: 600;
}
.ros-actions {
	display: flex;
	gap: 8px;
	margin-top: 8px;
}
.ros-actions button {
	padding: 8px 18px;
	cursor: pointer;
}
.ros-actions .ros-skip {
	opacity: 0.7;
}
.ros-back {
	background: none;
	border: none;
	color: #555;
	cursor: pointer;
	padding: 0;
	margin-bottom: 8px;
}
.ros-thread {
	max-height: 50vh;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 8px 0;
}
.ros-msg {
	max-width: 75%;
	padding: 8px 12px;
	border-radius: 14px;
	word-wrap: break-word;
}
.ros-msg.mine {
	align-self: flex-end;
	background: #d9edff;
}
.ros-msg.theirs {
	align-self: flex-start;
	background: #f0f0f0;
}
.ros-send {
	display: flex;
	gap: 8px;
	margin-top: 8px;
}
.ros-send input {
	flex: 1;
	padding: 8px;
}
.ros-media-sec {
	margin-top: 24px;
	border-top: 1px solid #eee;
	padding-top: 16px;
}
.ros-upload {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-bottom: 12px;
}
.ros-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.ros-thumb {
	position: relative;
	width: 120px;
}
.ros-thumb img {
	width: 120px;
	height: 120px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}
.ros-thumb span {
	position: absolute;
	left: 4px;
	bottom: 4px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 11px;
	padding: 1px 6px;
	border-radius: 6px;
}
.ros-thumb .ros-del {
	position: absolute;
	top: 4px;
	right: 4px;
	border: none;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border-radius: 50%;
	width: 22px;
	height: 22px;
	cursor: pointer;
	line-height: 1;
}

/* ---------- Wizard de cadastro ---------- */
.ros-wiz {
	max-width: 480px;
	margin: 0 auto;
}
.ros-wiz-top {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}
.ros-wiz-bar {
	flex: 1;
	height: 5px;
	background: #ece7df;
	border-radius: 999px;
	overflow: hidden;
}
.ros-wiz-bar span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, #c9a24b, #d8b968);
	transition: width .3s ease;
}
.ros-wiz-step {
	font-size: 12px;
	color: #8a8078;
	white-space: nowrap;
	font-weight: 600;
}
.ros-wiz-body h2 {
	margin: 0 0 18px;
	font-size: 24px;
}
.ros-wiz-body label {
	display: block;
	margin: 0 0 6px;
	font-weight: 600;
}
.ros-wiz-body input[type="text"],
.ros-wiz-body input[type="email"],
.ros-wiz-body input[type="password"],
.ros-wiz-body input[type="date"],
.ros-wiz-body input[type="file"],
.ros-wiz-body select,
.ros-wiz-body textarea {
	width: 100%;
	padding: 12px 14px;
	margin-bottom: 16px;
	border: 1px solid #ddd4c7;
	border-radius: 10px;
	box-sizing: border-box;
	font-size: 16px;
}
.ros-wiz-body input:focus,
.ros-wiz-body select:focus,
.ros-wiz-body textarea:focus {
	outline: none;
	border-color: #c9a24b;
	box-shadow: 0 0 0 3px rgba(201, 162, 75, .2);
}
.ros-wiz-body .ros-check {
	font-weight: 400;
	display: flex;
	gap: 8px;
	align-items: flex-start;
}
.ros-wiz-body .ros-check input {
	width: auto;
	margin-top: 4px;
}
.ros-wiz-nav {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 8px;
}
.ros-wiz-nav button {
	flex: 1;
	padding: 13px 20px;
	border-radius: 999px;
	border: none;
	cursor: pointer;
	font-weight: 700;
	font-size: 16px;
	background: #14110f;
	color: #f5f3ef;
}
.ros-wiz-nav button.ros-skip {
	flex: 0 0 auto;
	background: transparent;
	color: #8a8078;
	border: 1px solid #ddd4c7;
}
.ros-roles {
	display: grid;
	gap: 12px;
}
.ros-role {
	text-align: left;
	padding: 18px;
	border: 1px solid #ddd4c7;
	border-radius: 14px;
	background: #fff;
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s;
}
.ros-role:hover {
	border-color: #c9a24b;
	box-shadow: 0 6px 20px rgba(201, 162, 75, .18);
}
.ros-role strong {
	display: block;
	font-size: 18px;
	margin-bottom: 4px;
}
.ros-role span {
	color: #8a8078;
	font-size: 14px;
}
.ros-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}
.ros-chip {
	padding: 9px 16px;
	border-radius: 999px;
	border: 1px solid #ddd4c7;
	background: #fff;
	cursor: pointer;
	font-size: 14px;
}
.ros-chip.on {
	background: #14110f;
	color: #f5f3ef;
	border-color: #14110f;
}
.ros-btn-inline {
	padding: 12px 22px;
	border-radius: 999px;
	border: 1.5px solid #c9a24b;
	background: transparent;
	color: #a9832f;
	font-weight: 700;
	cursor: pointer;
}
