.astrofield-quote {
	--af-accent: #d64b18;
	--af-accent-dark: #b63d11;
	--af-dark: #1f1f1f;
	--af-soft: #f7f7f7;
	--af-border: #dedede;
	max-width: 520px;
	margin: 2rem auto;
	color: var(--af-dark);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.astrofield-quote__shell {
	border: 1px solid var(--af-border);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
	overflow: hidden;
}

.astrofield-quote__bar {
	height: 10px;
	background: #ececec;
}

.astrofield-quote__bar span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--af-accent);
	transition: width .2s ease;
}

.astrofield-quote__ticker {
	padding: .7rem 1rem;
	text-align: center;
	font-weight: 800;
	background: #fafafa;
	border-bottom: 1px solid var(--af-border);
}

.astrofield-quote__gallery {
	display: flex;
	gap: .5rem;
	justify-content: center;
	flex-wrap: wrap;
	padding: .85rem;
	border-bottom: 1px solid var(--af-border);
}

.astrofield-quote__gallery img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid var(--af-border);
}

.astrofield-quote__honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.astrofield-quote__step {
	padding: 1.25rem;
}

.astrofield-quote h3 {
	margin: 0 0 1rem;
	text-align: center;
	font-size: 1.18rem;
}

.astrofield-quote label {
	display: block;
	margin-bottom: .75rem;
	font-weight: 700;
}

.astrofield-quote label span {
	display: block;
	margin-bottom: .35rem;
}

.astrofield-quote input,
.astrofield-quote select,
.astrofield-quote textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--af-border);
	border-radius: 8px;
	padding: .72rem;
	font: inherit;
}

.astrofield-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .65rem;
	margin-bottom: 1rem;
}

.astrofield-field {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.astrofield-field__label {
	margin-bottom: .55rem;
	font-weight: 700;
}

.astrofield-option {
	border: 1px solid var(--af-border);
	border-radius: 8px;
	background: #fff;
	padding: .8rem .6rem;
	cursor: pointer;
	font-weight: 800;
}

.astrofield-option.is-selected {
	border-color: var(--af-accent);
	box-shadow: 0 0 0 2px rgba(214, 75, 24, .24);
}

.astrofield-option.is-disabled {
	cursor: not-allowed;
	opacity: .5;
}

.astrofield-option:focus-visible,
.astrofield-button:focus-visible,
.astrofield-quote input:focus-visible,
.astrofield-quote select:focus-visible,
.astrofield-quote textarea:focus-visible,
.astrofield-panel summary:focus-visible {
	outline: 3px solid #1769aa;
	outline-offset: 2px;
}

.astrofield-quote__actions {
	display: flex;
	justify-content: space-between;
	gap: .75rem;
	margin-top: 1rem;
}

.astrofield-button {
	border: 0;
	border-radius: 8px;
	background: var(--af-accent);
	color: #fff;
	padding: .75rem 1rem;
	font-weight: 900;
	cursor: pointer;
	text-align: center;
}

.astrofield-button:hover {
	background: var(--af-accent-dark);
}

.astrofield-button:disabled {
	cursor: wait;
	opacity: .6;
}

.astrofield-button--secondary {
	background: #343434;
}

.astrofield-button--secondary:hover {
	background: #202020;
}

.astrofield-quote__message {
	min-height: 1.25rem;
	margin-top: .65rem;
	text-align: center;
	font-weight: 800;
	color: #9b1c1c;
}

.astrofield-quote__message[data-type="success"] {
	color: #126c2f;
}

.astrofield-result {
	text-align: center;
}

.astrofield-result__prepared {
	margin: 0;
	font-size: .82rem;
	font-weight: 900;
	letter-spacing: .04em;
}

.astrofield-result__quote {
	margin: .75rem 0 .15rem;
	font-size: 2rem;
	font-weight: 950;
}

.astrofield-result__note,
.astrofield-result__travel,
.astrofield-quote__hint {
	color: #5f5f5f;
	font-size: .92rem;
}

.astrofield-panel {
	margin: .75rem 0;
	border: 1px solid var(--af-border);
	border-radius: 8px;
	background: var(--af-soft);
	text-align: left;
}

.astrofield-panel summary {
	padding: .75rem;
	cursor: pointer;
	font-weight: 900;
}

.astrofield-panel div {
	padding: 0 .9rem .85rem;
}

.astrofield-panel ul {
	margin: 0;
	padding-left: 1.2rem;
	line-height: 1.5;
}

.astrofield-check {
	color: #138a37;
}

.astrofield-portal {
	max-width: 860px;
	margin: 24px auto;
	padding: 0 16px;
}

.astrofield-portal__card {
	padding: 28px;
	border: 1px solid #d6dbe3;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

.astrofield-portal__logo {
	max-width: 260px;
	height: auto;
	margin-bottom: 20px;
}

.astrofield-portal__notice {
	margin: 0 0 18px;
	padding: 12px 14px;
	border-radius: 10px;
	font-weight: 600;
}

.astrofield-portal__notice--success {
	border: 1px solid #86efac;
	background: #f0fdf4;
	color: #166534;
}

.astrofield-portal__notice--error {
	border: 1px solid #fecaca;
	background: #fef2f2;
	color: #991b1b;
}

.astrofield-portal__summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 18px 0;
}

.astrofield-portal__summary p {
	margin: 0;
	padding: 12px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #f9fafb;
}

.astrofield-portal__items {
	margin-top: 22px;
	overflow-x: auto;
}

.astrofield-portal__items table {
	width: 100%;
	border-collapse: collapse;
	min-width: 560px;
}

.astrofield-portal__items th,
.astrofield-portal__items td {
	padding: 12px;
	border-bottom: 1px solid #e5e7eb;
	text-align: left;
	vertical-align: top;
}

.astrofield-portal__items th:last-child,
.astrofield-portal__items td:last-child {
	text-align: right;
}

.astrofield-portal__items small {
	color: #6b7280;
}

.astrofield-portal__item-identity {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.astrofield-portal__item-identity img {
	width: 46px;
	height: 46px;
	border-radius: 8px;
	object-fit: cover;
}

.astrofield-portal__response {
	margin-top: 24px;
	padding: 18px;
	border: 1px solid #dbeafe;
	border-radius: 14px;
	background: #eff6ff;
}

.astrofield-portal__response label,
.astrofield-portal__response span {
	display: block;
}

.astrofield-portal__response span {
	margin-bottom: 6px;
	font-weight: 700;
}

.astrofield-portal__response textarea {
	width: 100%;
	box-sizing: border-box;
}

.astrofield-portal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.astrofield-button--secondary {
	background: #1f2937;
}

.astrofield-button--ghost {
	background: #fff;
	color: #1d4ed8;
	border: 1px solid #93c5fd;
}

.astrofield-portal__closed {
	margin-top: 22px;
	padding: 14px;
	border-radius: 10px;
	background: #f3f4f6;
	color: #374151;
}

.astrofield-portal__finance {
	margin-top: 24px;
	padding: 20px;
	border: 1px solid #bfdbfe;
	border-radius: 14px;
	background: #f8fbff;
}

.astrofield-portal__finance-heading,
.astrofield-portal__finance-record > div:first-child {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.astrofield-portal__finance-heading span,
.astrofield-portal__finance-record small {
	display: block;
	color: #64748b;
	font-size: .82rem;
}

.astrofield-portal__finance-heading h3,
.astrofield-portal__finance-block h4 {
	margin: 3px 0 0;
}

.astrofield-portal__finance-block {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid #dbeafe;
}

.astrofield-portal__finance-record {
	margin-top: 10px;
	padding: 14px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #fff;
}

.astrofield-portal__finance-record dl {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 12px 0 0;
}

.astrofield-portal__finance-record dl div {
	padding: 8px;
	border-radius: 8px;
	background: #f8fafc;
}

.astrofield-portal__finance-record dt {
	color: #64748b;
	font-size: .78rem;
}

.astrofield-portal__finance-record dd {
	margin: 2px 0 0;
	font-weight: 700;
}

.astrofield-portal__finance-status {
	display: inline-block;
	margin-top: 10px;
	padding: 4px 8px;
	border-radius: 999px;
	background: #e0f2fe;
	color: #075985;
	font-size: .78rem;
	font-weight: 700;
}

.astrofield-portal__schedule {
	margin-top: 12px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
}

.astrofield-portal__schedule-row {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 8px;
	padding: 8px 10px;
	border-top: 1px solid #e2e8f0;
}

.astrofield-portal__schedule-row:first-child {
	border-top: 0;
}

.astrofield-portal__schedule-row.is-heading {
	background: #eff6ff;
	font-size: .78rem;
	font-weight: 700;
}

.astrofield-portal__finance-note {
	margin: 10px 0 0;
	color: #475569;
	font-size: .88rem;
}

.astrofield-portal__footer {
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid #e5e7eb;
	color: #4b5563;
	font-size: .95rem;
}

@media (max-width: 560px) {
	.astrofield-quote {
		max-width: 100%;
		margin: 1rem auto;
	}

	.astrofield-options {
		grid-template-columns: 1fr;
	}

	.astrofield-quote__actions {
		flex-direction: column;
	}

	.astrofield-button {
		width: 100%;
	}

	.astrofield-portal__card {
		padding: 20px;
	}

	.astrofield-portal__summary {
		grid-template-columns: 1fr;
	}

	.astrofield-portal__finance-record dl {
		grid-template-columns: 1fr;
	}
}
