.athio {
	--athio-c1: var(--ctl-c1, #0f6c7f);
	--athio-c2: var(--ctl-c2, #1e8f87);
	--athio-c3: var(--ctl-c3, #c39a5a);
	--athio-c4: var(--ctl-c4, #2f2415);
	--athio-c6: var(--ctl-c6, #f6f1e7);
	--athio-c1-ink: color-mix(in srgb, #050b12 88%, var(--athio-c1));
	--athio-c2-ink: color-mix(in srgb, #050b12 88%, var(--athio-c2));
	--athio-c3-ink: color-mix(in srgb, #0b0906 88%, var(--athio-c3));
	--athio-text: color-mix(in srgb, #05070c 94%, var(--athio-c4));
	--athio-muted: color-mix(in srgb, #151d2b 90%, var(--athio-c1));
	--athio-subtle: color-mix(in srgb, #202838 88%, var(--athio-c3));
	--athio-surface-0: color-mix(in srgb, #f7fafb 94%, var(--athio-c1));
	--athio-surface: color-mix(in srgb, #ffffff 96%, var(--athio-c6));
	--athio-surface-2: color-mix(in srgb, #f1f6f6 92%, var(--athio-c2));
	--athio-surface-3: color-mix(in srgb, #e8f0f1 88%, var(--athio-c1));
	--athio-border: color-mix(in srgb, #cbd5dc 80%, var(--athio-c1));
	--athio-focus: color-mix(in srgb, var(--athio-c1) 28%, transparent);
	--athio-radius: var(--radius, 12px);
	--athio-radius-lg: var(--radius-lg, 20px);
	--athio-shadow: 0 14px 34px color-mix(in srgb, var(--athio-c4) 10%, transparent);
	--athio-shadow-soft: 0 8px 20px color-mix(in srgb, var(--athio-c4) 7%, transparent);
	position: relative;
	left: 50%;
	isolation: isolate;
	width: min(90vw, 1256px);
	max-width: min(1256px, calc(100vw - 24px));
	margin: 24px 0;
	padding: 12px;
	transform: translateX(-50%);
	border: 1px solid var(--athio-border);
	border-radius: var(--athio-radius-lg);
	background:
		radial-gradient(circle at 0 0, color-mix(in srgb, var(--athio-c1) 9%, transparent), transparent 35%),
		linear-gradient(180deg, var(--athio-surface-0) 0%, var(--athio-surface) 100%);
	box-shadow: var(--athio-shadow);
	color: var(--athio-text);
	font: inherit;
}

.athio,
.athio * {
	box-sizing: border-box;
}

.athio [hidden] {
	display: none !important;
}

.athio__scopeNotice {
	display: grid;
	gap: 2px;
	margin: 0 0 8px;
	padding: 8px 10px;
	border: 1px solid color-mix(in srgb, var(--athio-c3) 48%, var(--athio-border));
	border-radius: 9px;
	background: color-mix(in srgb, var(--athio-c3) 9%, var(--athio-surface));
	font-size: .8rem;
}

.athio__scopeNotice span { color: var(--athio-muted); font-weight: 500; }

.athio__header {
	position: relative;
	display: none;
	margin: 0 0 8px;
	padding: 10px 12px;
	border: 1px solid var(--athio-border);
	border-left: 4px solid var(--athio-c1);
	border-radius: calc(var(--athio-radius) + 2px);
	background: color-mix(in srgb, var(--athio-surface-2) 78%, var(--athio-surface));
}

.athio__header::before,
.athio__header::after {
	display: none;
}

.athio__eyebrow {
	margin: 0 0 4px;
	color: var(--athio-c3-ink);
	font-size: 0.68rem;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: uppercase;
}

.athio__eyebrow::before {
	display: none;
}

.athio__header h2 {
	max-width: none;
	margin: 0 0 4px;
	color: var(--athio-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.65rem, 2.2vw, 2rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.athio__header p:not(.athio__eyebrow) {
	max-width: 900px;
	margin: 0;
	color: var(--athio-muted);
	font-size: 1.1rem;
	font-weight: 500;
	line-height: 1.35;
}

.athio__schoolScope {
	display: grid;
	gap: 2px;
	margin-top: 10px;
	padding: 10px 12px;
	border: 1px solid color-mix(in srgb, var(--athio-c3) 34%, var(--athio-border));
	border-radius: calc(var(--athio-radius) - 2px);
	background: color-mix(in srgb, var(--athio-surface) 86%, var(--athio-c3));
}

.athio__schoolScope span {
	color: var(--athio-c3-ink);
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.athio__schoolScope strong {
	color: var(--athio-text);
	font-size: 0.98rem;
	font-weight: 850;
}

.athio__schoolScope p {
	margin: 0;
	color: var(--athio-muted);
	font-size: 0.92rem;
	line-height: 1.35;
}

.athio__form {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--athio-border);
	border-radius: calc(var(--athio-radius) + 2px);
	background: var(--athio-surface);
	box-shadow: var(--athio-shadow-soft);
}

.athio__resumeAssist {
	display: grid;
	gap: 4px;
	align-content: start;
	min-width: 0;
	padding: 10px 12px;
	border: 1px solid color-mix(in srgb, var(--athio-c2) 30%, var(--athio-border));
	border-radius: calc(var(--athio-radius) - 2px);
	background: color-mix(in srgb, var(--athio-c2) 7%, var(--athio-surface));
}

.athio__resumeAssist.is-processing {
	border-color: color-mix(in srgb, var(--athio-c2) 42%, var(--athio-border));
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--athio-c2) 10%, transparent);
}

.athio__resumeSpinner {
	display: none;
	width: 1rem;
	height: 1rem;
	border: 2px solid color-mix(in srgb, var(--athio-c2) 22%, transparent);
	border-top-color: var(--athio-c2);
	border-radius: 50%;
}

.athio__resumeAssist.is-processing .athio__resumeSpinner {
	display: inline-block;
	animation: athioResumeSpin .75s linear infinite;
}

@keyframes athioResumeSpin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
	.athio__resumeAssist.is-processing .athio__resumeSpinner { animation: none; }
}

.athio__resumeAssist strong {
	color: var(--athio-c2-ink);
	font-size: .78rem;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.athio__resumeAssist span,
.athio__resumeAssist li {
	color: var(--athio-muted);
	font-size: .86rem;
	line-height: 1.35;
}

.athio__resumeAssist ul {
	margin: 3px 0 0 17px;
	padding: 0;
}

.athio__resumeToggle {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 2px;
	padding: 8px 9px;
	border: 1px solid color-mix(in srgb, var(--athio-c2) 22%, var(--athio-border));
	border-radius: 8px;
	background: color-mix(in srgb, var(--athio-surface) 80%, var(--athio-c2));
	cursor: pointer;
}

.athio__resumeToggle input {
	width: 1.8rem;
	height: 1.8rem;
	margin: 2px 0 0;
	accent-color: var(--athio-c2);
}

.athio__resumeToggle > span {
	display: grid;
	gap: 2px;
}

.athio__resumeToggle b {
	color: var(--athio-text);
	font-size: 1.1rem;
}

.athio__resumeToggle small {
	color: var(--athio-muted);
	font-size: 1rem;
	line-height: 1.3;
}

.athio__historyRepeater {
	display: grid;
	gap: 8px;
	margin-top: 12px;
	padding: 10px;
	border: 1px solid var(--athio-border);
	border-radius: var(--athio-radius);
	background: color-mix(in srgb, var(--athio-surface-2) 62%, var(--athio-surface));
}

.athio__historyRepeater > header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.athio__historyRepeater > header strong {
	color: var(--athio-text);
	font-size: .9rem;
}

.athio__historyRepeater .athio__button {
	min-height: 30px;
	padding: 6px 9px;
	font-size: .76rem;
}

.athio__historyRows {
	display: grid;
	gap: 8px;
}

.athio__historyRow {
	border: 1px solid var(--athio-border);
	border-radius: 8px;
	background: var(--athio-surface);
}

.athio__historyRow > summary {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	color: var(--athio-muted);
	cursor: pointer;
	list-style: none;
}

.athio__historyRow > summary::-webkit-details-marker { display: none; }
.athio__historyRow > summary::before { content: '+'; color: var(--athio-c2); font-size: 1rem; font-weight: 900; }
.athio__historyRow[open] > summary::before { content: '−'; }
.athio__historyRow > summary strong { color: var(--athio-text); font-size: .78rem; }
.athio__historyRow > summary span { font-size: .74rem; }

.athio__historyRemove {
	appearance: none;
	padding: 2px 5px;
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: var(--athio-c1);
	cursor: pointer;
	font: inherit;
	font-size: .72rem;
}

.athio__historyRemove:hover,
.athio__historyRemove:focus-visible { background: color-mix(in srgb, var(--athio-c1) 9%, transparent); }

.athio__historyFields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	padding: 0 10px 10px;
}

.athio__historyFieldWide { grid-column: 1 / -1; }

.athio__resumeHistory {
	display: grid;
	gap: 6px;
	margin-top: 4px;
	padding-top: 8px;
	border-top: 1px solid color-mix(in srgb, var(--athio-c2) 22%, var(--athio-border));
}

.athio__resumeHistory > strong {
	color: var(--athio-c2-ink);
	font-size: .8rem;
}

.athio__resumeHistory > span {
	font-size: .78rem;
}

.athio__resumeHistoryGrid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.athio__resumeHistoryGrid section {
	min-width: 0;
	padding: 8px;
	border: 1px solid color-mix(in srgb, var(--athio-c2) 18%, var(--athio-border));
	border-radius: 8px;
	background: color-mix(in srgb, var(--athio-surface) 78%, var(--athio-c2));
}

.athio__resumeHistoryGrid h4 {
	margin: 0 0 5px;
	color: var(--athio-text);
	font-size: .78rem;
}

.athio__resumeHistoryGrid ol {
	display: grid;
	gap: 6px;
	margin: 0;
	padding-left: 18px;
}

.athio__resumeHistoryGrid li {
	padding-left: 2px;
}

.athio__resumeHistoryGrid li strong,
.athio__resumeHistoryGrid li span,
.athio__resumeHistoryGrid li p {
	display: block;
}

.athio__resumeHistoryGrid li strong {
	color: var(--athio-text);
	font-size: .78rem;
}

.athio__resumeHistoryGrid li span {
	font-size: .74rem;
}

.athio__resumeHistoryGrid li p {
	margin: 2px 0 0;
	color: var(--athio-muted);
	font-size: .74rem;
	line-height: 1.32;
}

.athio__progress {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 5px;
	padding: 7px;
	border-bottom: 1px solid var(--athio-border);
	background: color-mix(in srgb, var(--athio-surface-2) 86%, var(--athio-surface));
}

.athio__progress > span {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	align-items: center;
	gap: 7px;
	min-width: 0;
	padding: 6px 8px;
	border: 1px solid transparent;
	border-radius: calc(var(--athio-radius) - 3px);
	color: var(--athio-muted);
	transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.athio__progress b {
	display: grid;
	width: 28px;
	height: 28px;
	place-items: center;
	border: 1px solid color-mix(in srgb, var(--athio-border) 88%, transparent);
	border-radius: 50%;
	background: var(--athio-surface);
	color: var(--athio-muted);
	font-size: 0.68rem;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
}

.athio__progress strong,
.athio__progress small {
	display: block;
	min-width: 0;
}

.athio__progress strong {
	color: inherit;
	font-size: 1.4rem;
	font-weight: 850;
	line-height: 1.12;
}

.athio__progress small {
	margin-top: 2px;
	color: var(--athio-subtle);
	font-size: 1.2rem;
	font-weight: 650;
	line-height: 1.15;
}

.athio__progress > .is-active {
	border-color: color-mix(in srgb, var(--athio-c1) 34%, var(--athio-border));
	background: color-mix(in srgb, var(--athio-c1) 8%, var(--athio-surface));
	color: var(--athio-text);
	box-shadow: 3px 0 0 color-mix(in srgb, var(--athio-c1) 58%, transparent) inset;
}

.athio__progress > .is-active b {
	border-color: color-mix(in srgb, var(--athio-c1) 48%, var(--athio-border));
	background: linear-gradient(135deg, var(--athio-c1), var(--athio-c2));
	color: #fff;
	box-shadow: 0 5px 12px color-mix(in srgb, var(--athio-c1) 18%, transparent);
}

.athio__progress > .is-complete {
	color: var(--athio-muted);
}

.athio__progress > .is-complete b {
	border-color: color-mix(in srgb, var(--athio-c2) 30%, var(--athio-border));
	background: color-mix(in srgb, var(--athio-c2) 12%, var(--athio-surface));
	color: var(--athio-c2-ink);
}

.athio__step {
	min-width: 0;
	margin: 0;
	padding: 14px 16px;
	border: 0;
}

.athio__step:not([hidden]) {
	animation: athio-step-in 0.2s ease both;
}

.athio__step legend {
	padding: 0 0 3px;
	color: var(--athio-text);
	font-size: 2rem;
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.athio__help {
	max-width: 860px;
	margin: 5px 0 12px;
	color: var(--athio-muted);
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.2;
}

.athio__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 12px;
}

.athio__grid > label,
.athio__fieldWide {
	display: grid;
	gap: 5px;
	min-width: 0;
	color: var(--athio-muted);
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0;
}

.athio__fieldWide {
	margin-top: 10px;
}

.athio input:not([type="checkbox"]),
.athio select,
.athio textarea {
	width: 100%;
	min-width: 0;
	border: 1px solid var(--athio-border);
	border-radius: calc(var(--athio-radius) - 3px);
	background: color-mix(in srgb, var(--athio-surface-0) 78%, #fff);
	color: var(--athio-text);
	box-shadow: 0 1px 0 color-mix(in srgb, #fff 82%, transparent) inset;
	font: inherit;
	font-size: 1.2rem;
	font-weight: 550;
	line-height: 1.3;
	padding: 8px 10px;
	transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.athio input:not([type="checkbox"]),
.athio select {
	min-height: 38px;
}

.athio input::placeholder,
.athio textarea::placeholder {
	color: color-mix(in srgb, var(--athio-muted) 70%, transparent);
	opacity: 1;
}

.athio input:hover,
.athio select:hover,
.athio textarea:hover {
	border-color: color-mix(in srgb, var(--athio-c1) 28%, var(--athio-border));
	background: color-mix(in srgb, var(--athio-surface-2) 62%, #fff);
}

.athio input:focus,
.athio select:focus,
.athio textarea:focus {
	border-color: color-mix(in srgb, var(--athio-c1) 58%, var(--athio-border));
	outline: 0;
	background: #fff;
	box-shadow: 0 0 0 3px var(--athio-focus);
}

.athio textarea {
	min-height: 96px;
	resize: vertical;
}

.athio input[type="file"] {
	padding: 7px;
}

.athio__fieldWide small {
	color: var(--athio-muted);
	font-size: 0.72rem;
	font-weight: 650;
	line-height: 1.25;
}

.athio__grid--pickers {
	align-items: start;
}

.athio__interestFlow {
	display: grid;
	grid-template-columns: minmax(220px, .9fr) minmax(0, 1.35fr);
	gap: 12px;
	align-items: start;
}

.athio__categoryTree,
.athio__areaPicker {
	min-width: 0;
	padding: 9px;
	border: 1px solid var(--athio-border);
	border-radius: calc(var(--athio-radius) - 2px);
	background: color-mix(in srgb, var(--athio-surface-2) 72%, var(--athio-surface));
}

.athio__pickerHelp {
	margin: -2px 0 7px;
	color: var(--athio-muted);
	font-size: 1rem;
	line-height: 1.3;
}

.athio__categoryTreeList {
	max-height: 360px;
	overflow: auto;
	border: 1px solid var(--athio-border);
	border-radius: calc(var(--athio-radius) - 4px);
	background: var(--athio-surface);
	scrollbar-color: color-mix(in srgb, var(--athio-c1) 34%, var(--athio-border)) var(--athio-surface-2);
}

.athio__categoryBranch {
	border-bottom: 1px solid color-mix(in srgb, var(--athio-border) 70%, transparent);
}

.athio__categoryBranch:last-child { border-bottom: 0; }

.athio__categoryBranch summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 7px;
	padding: 8px;
	cursor: pointer;
	list-style: none;
	color: var(--athio-text);
	font-size: 1.2rem;
	font-weight: 850;
}

.athio__categoryBranch summary::-webkit-details-marker { display: none; }

.athio__categoryBranch summary:hover,
.athio__categoryBranch[open] summary { background: color-mix(in srgb, var(--athio-c1) 7%, var(--athio-surface)); }

.athio__categoryBranchTitle,
.athio__categoryOption,
.athio__areaOptionText {
	display: flex;
	align-items: flex-start;
	min-width: 0;
}

.athio__categoryBranchTitle {
	align-items: center;
	gap: 7px;
}

.athio__categoryBranchToggle {
	color: var(--athio-subtle);
	font-size: .85rem;
	transition: transform .16s ease;
}

.athio__categoryBranch:not([open]) .athio__categoryBranchToggle { transform: rotate(-90deg); }

.athio__categoryIcon {
	width: 17px;
	height: 17px;
	object-fit: contain;
	opacity: .78;
}

.athio__categoryChildren {
	display: grid;
	gap: 1px;
	padding: 0 6px 6px 26px;
}

.athio__categoryOption {
	align-items: center;
	gap: 7px;
	padding: 5px 6px;
	border-radius: 6px;
	margin: 0px;
	color: var(--athio-muted);
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.25;
}

.athio__categoryOption:hover,
.athio__categoryOption:focus-within {
	background: color-mix(in srgb, var(--athio-c1) 7%, var(--athio-surface));
	color: var(--athio-text);
}

.athio__categoryOption--parent {
	color: var(--athio-text);
	font-weight: 850;
}

.athio__categoryOption input,
.athio__areaOptions input {
	width: 15px;
	height: 15px;
	margin: 1px 0 0;
	flex: 0 0 15px;
	accent-color: var(--athio-c1);
}

.athio__picker {
	min-width: 0;
	padding: 9px;
	border: 1px solid var(--athio-border);
	border-radius: calc(var(--athio-radius) - 2px);
	background: color-mix(in srgb, var(--athio-surface-2) 72%, var(--athio-surface));
}

.athio__label {
	display: block;
	margin-bottom: 7px;
	color: var(--athio-text);
	font-size: 1.4rem;
	font-weight: 850;
}

.athio__picker input[type="search"] {
	margin-bottom: 7px;
}

.athio__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	min-height: 0;
	margin-bottom: 7px;
}

.athio__chips:empty {
	display: none;
}

.athio__chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	max-width: 100%;
	padding: 4px 6px 4px 8px;
	border: 1px solid color-mix(in srgb, var(--athio-c1) 28%, var(--athio-border));
	border-radius: 999px;
	background: color-mix(in srgb, var(--athio-c1) 8%, var(--athio-surface));
	color: var(--athio-c1-ink);
	font-size: 0.67rem;
	font-weight: 800;
	line-height: 1.15;
}

.athio__chip button {
	display: grid;
	width: 17px;
	height: 17px;
	place-items: center;
	flex: 0 0 17px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: color-mix(in srgb, var(--athio-c1) 10%, transparent);
	color: inherit;
	cursor: pointer;
	font: inherit;
	font-size: 0.78rem;
	line-height: 1;
}

.athio__chip button:hover,
.athio__chip button:focus-visible {
	background: color-mix(in srgb, var(--athio-c1) 18%, transparent);
	outline: 2px solid var(--athio-focus);
	outline-offset: 1px;
}

.athio__options {
	max-height: 210px;
	overflow: auto;
	border: 1px solid var(--athio-border);
	border-radius: calc(var(--athio-radius) - 4px);
	background: var(--athio-surface);
	scrollbar-color: color-mix(in srgb, var(--athio-c1) 34%, var(--athio-border)) var(--athio-surface-2);
}

.athio__areaOptions {
	max-height: 300px;
}

.athio__areaOptions label {
	align-items: center;
}

.athio__areaOptionText {
	flex-wrap: wrap;
	gap: 2px 7px;
	line-height: 1.25;
}

.athio__areaOptionText b {
	padding: 2px 5px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--athio-c1) 10%, var(--athio-surface));
	color: var(--athio-c1-ink);
	font-size: .9rem;
	font-weight: 900;
	letter-spacing: .02em;
	text-transform: uppercase;
	white-space: nowrap;
}

.athio__areaOther .athio__areaOptionText b {
	background: color-mix(in srgb, var(--athio-c3) 18%, var(--athio-surface));
	color: var(--athio-c3-ink);
}

.athio__pickerFootnote {
	display: block;
	margin-top: 7px;
	color: var(--athio-subtle);
	font-size: .63rem;
	line-height: 1.3;
}

.athio__otherDetails {
	margin-top: 10px;
	padding: 9px;
	border: 1px solid color-mix(in srgb, var(--athio-c3) 40%, var(--athio-border));
	border-radius: calc(var(--athio-radius) - 2px);
	background: color-mix(in srgb, var(--athio-c3) 7%, var(--athio-surface));
}

.athio__otherDetails small {
	color: var(--athio-muted);
	font-size: .65rem;
	line-height: 1.3;
}

.athio__options label {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	padding: 7px 8px;
	border-bottom: 1px solid color-mix(in srgb, var(--athio-border) 70%, transparent);
	color: var(--athio-muted);
	cursor: pointer;
	font-size: 1.2rem;
	font-weight: 650;
	line-height: 1.28;
	transition: color 0.14s ease, background 0.14s ease;
}

.athio__options label:last-child {
	border-bottom: 0;
}

.athio__options label:hover,
.athio__options label:focus-within {
	background: color-mix(in srgb, var(--athio-c1) 7%, var(--athio-surface));
	color: var(--athio-text);
}

.athio__options label[hidden] {
	display: none;
}

.athio__options input[type="checkbox"] {
	width: 15px;
	height: 15px;
	margin: 1px 0 0;
	accent-color: var(--athio-c1);
}

.athio__options p {
	margin: 0;
	padding: 9px;
	color: var(--athio-muted);
	font-size: 0.72rem;
}

.athio__agreement {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 11px;
	padding: 9px 10px;
	border: 1px solid color-mix(in srgb, var(--athio-c1) 20%, var(--athio-border));
	border-radius: calc(var(--athio-radius) - 3px);
	background: color-mix(in srgb, var(--athio-c1) 6%, var(--athio-surface));
	color: var(--athio-muted);
	font-size: 0.73rem;
	line-height: 1.38;
}

.athio__agreement input {
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
	accent-color: var(--athio-c1);
}

.athio__optionalPanel {
	margin-top: 11px;
	padding: 0;
	border: 1px solid color-mix(in srgb, var(--athio-c3) 28%, var(--athio-border));
	border-radius: calc(var(--athio-radius) - 3px);
	background: color-mix(in srgb, var(--athio-surface-2) 58%, var(--athio-surface));
	overflow: hidden;
}

.athio__optionalPanel > summary {
	cursor: pointer;
	padding: 9px 10px;
	color: var(--athio-text);
	font-size: 0.78rem;
	font-weight: 900;
	line-height: 1.2;
}

.athio__optionalPanel > summary:hover,
.athio__optionalPanel > summary:focus-visible {
	background: color-mix(in srgb, var(--athio-c1) 7%, var(--athio-surface));
	outline: 0;
}

.athio__optionalPanel > .athio__agreement,
.athio__optionalPanel > .athio__grid {
	margin: 0 10px 10px;
}

.athio__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.athio__notice {
	min-height: 0;
	margin: 0 16px 10px;
	padding: 8px 10px;
	border: 1px solid color-mix(in srgb, #d97706 34%, var(--athio-border));
	border-radius: calc(var(--athio-radius) - 3px);
	background: color-mix(in srgb, #f59e0b 8%, var(--athio-surface));
	color: color-mix(in srgb, #7c2d12 86%, var(--athio-text));
	font-size: 0.73rem;
	font-weight: 700;
	line-height: 1.35;
}

.athio__notice:empty {
	display: none;
}

.athio__notice.is-success {
	border-color: color-mix(in srgb, #15803d 30%, var(--athio-border));
	background: color-mix(in srgb, #22c55e 8%, var(--athio-surface));
	color: color-mix(in srgb, #14532d 88%, var(--athio-text));
}

.athio__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
	padding: 10px 16px;
	border-top: 1px solid var(--athio-border);
	background: color-mix(in srgb, var(--athio-surface-2) 76%, var(--athio-surface));
}

.athio__button {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 8px 14px;
	border: 1px solid color-mix(in srgb, var(--athio-c1) 48%, var(--athio-border));
	border-radius: calc(var(--athio-radius) - 3px);
	background: linear-gradient(135deg, var(--athio-c1), var(--athio-c2));
	color: #fff;
	box-shadow: var(--athio-shadow-soft), inset 0 1px 0 color-mix(in srgb, #fff 24%, transparent);
	cursor: pointer;
	font: inherit;
	font-size: 1.4rem;
	font-weight: 900;
	line-height: 1;
	text-decoration: none;
	transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.athio__button:hover,
.athio__button:focus-visible {
	transform: translateY(-1px);
	filter: brightness(1.04);
	box-shadow: var(--athio-shadow), inset 0 1px 0 color-mix(in srgb, #fff 28%, transparent);
}

.athio__button:focus-visible {
	outline: 3px solid var(--athio-focus);
	outline-offset: 2px;
}

.athio__button--quiet {
	margin-right: auto;
	border-color: var(--athio-border);
	background: var(--athio-surface);
	color: var(--athio-text);
	box-shadow: 0 1px 0 color-mix(in srgb, #fff 80%, transparent) inset;
}

.athio__button--quiet:hover,
.athio__button--quiet:focus-visible {
	background: color-mix(in srgb, var(--athio-c1) 7%, var(--athio-surface));
}

.athio__button:disabled {
	cursor: wait;
	filter: grayscale(0.35);
	opacity: 0.62;
	transform: none;
}

@keyframes athio-step-in {
	from { opacity: 0; transform: translateY(5px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
	.athio {
		width: min(calc(100vw - 20px), 100%);
		max-width: 100%;
		margin-block: 12px 24px;
		padding: 7px;
		border-radius: calc(var(--athio-radius-lg) - 4px);
	}

	.athio__header {
		margin-bottom: 6px;
		padding: 8px 10px;
	}

	.athio__header h2 {
		font-size: clamp(1.45rem, 7vw, 1.75rem);
	}

	.athio__header p:not(.athio__eyebrow) {
		font-size: 0.7rem;
	}

	.athio__progress {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 3px;
		padding: 5px;
	}

	.athio__progress > span {
		grid-template-columns: 24px minmax(0, 1fr);
		gap: 5px;
		padding: 5px;
	}

	.athio__progress b {
		width: 24px;
		height: 24px;
		font-size: 0.62rem;
	}

	.athio__progress strong {
		font-size: 0.62rem;
		line-height: 1.05;
	}

	.athio__progress small {
		display: none;
	}

	.athio__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 9px;
	}

	.athio__historyFields {
		grid-template-columns: minmax(0, 1fr);
	}

	.athio__historyFieldWide { grid-column: auto; }

	.athio__interestFlow {
		grid-template-columns: minmax(0, 1fr);
		gap: 9px;
	}

	.athio__categoryTreeList {
		max-height: 260px;
	}

	.athio__step {
		padding: 11px 10px;
	}

	.athio__step legend {
		font-size: 0.98rem;
	}

	.athio textarea {
		min-height: 82px;
	}

	.athio__notice {
		margin-inline: 10px;
	}

	.athio__actions {
		padding: 8px 10px;
	}

	.athio__button {
		flex: 1 1 auto;
	}

	.athio__button--quiet {
		margin-right: 0;
	}
}

@media (max-width: 420px) {
	.athio__form,
	.athio__header {
		border-radius: calc(var(--athio-radius) - 1px);
	}

	.athio__progress > span {
		grid-template-columns: 22px minmax(0, 1fr);
		gap: 4px;
		padding: 4px;
	}

	.athio__progress b {
		width: 22px;
		height: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.athio *,
	.athio *::before,
	.athio *::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
