* { box-sizing: border-box; margin: 0; padding: 0; }

body {
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	background: #f6f2fa;
	color: #2b2233;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.app-header {
	background: linear-gradient(135deg, #4b2a6b, #7c4dab);
	color: #fff;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.app-header h1 { font-size: 17px; font-weight: 700; }

.header-link {
	margin-left: auto;
	background: rgba(255,255,255,0.18);
	border: none;
	color: #fff;
	font-size: 13px;
	padding: 6px 12px;
	border-radius: 999px;
	cursor: pointer;
}

.mock-badge {
	background: #ffb400;
	color: #3a2a00;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
}

#app { max-width: 480px; margin: 0 auto; padding: 16px 16px 48px; }

.screen h2 { font-size: 18px; margin: 8px 0 12px; }
.screen .sub { font-size: 13px; color: #7a6c8a; font-weight: 400; }

.hidden { display: none !important; }
.loading { text-align: center; padding: 40px 0; color: #7a6c8a; }
.hint { font-size: 13px; color: #7a6c8a; }

.error-box {
	background: #fdecea;
	color: #a4262c;
	border: 1px solid #f3c1c4;
	border-radius: 8px;
	padding: 10px 12px;
	margin: 12px 0;
	font-size: 14px;
}

.btn {
	display: block;
	width: 100%;
	border: none;
	border-radius: 10px;
	padding: 14px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	margin-top: 16px;
}
.btn-primary { background: #06c755; color: #fff; }
.btn-primary:disabled { background: #a8dfc0; cursor: not-allowed; }
.btn-secondary { background: #e8e0f0; color: #4b2a6b; }

.btn-back {
	background: none;
	border: none;
	color: #7c4dab;
	font-size: 14px;
	padding: 4px 0;
	margin-bottom: 8px;
	cursor: pointer;
}

.card-list { display: flex; flex-direction: column; gap: 10px; }

.card {
	background: #fff;
	border: 1px solid #e2d9ec;
	border-radius: 12px;
	padding: 14px;
	cursor: pointer;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	text-align: left;
	width: 100%;
	font: inherit;
	color: inherit;
}
.card:active { background: #f3ecfa; }
.card .card-title { font-size: 16px; font-weight: 700; }
.card .card-meta { font-size: 13px; color: #7a6c8a; white-space: pre-line; }
.card .card-desc { font-size: 13px; margin-top: 4px; }

.teller-photo {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	background: #e8e0f0;
	flex-shrink: 0;
}
.teller-photo-placeholder {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #e8e0f0;
	color: #7c4dab;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	flex-shrink: 0;
}

.field-label { display: block; font-size: 13px; font-weight: 700; margin: 16px 0 6px; }

select, input[type="text"], textarea {
	width: 100%;
	border: 1px solid #cbbede;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 16px;
	background: #fff;
	font-family: inherit;
}

.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
	border: 1px solid #cbbede;
	background: #fff;
	color: #4b2a6b;
	border-radius: 999px;
	padding: 8px 14px;
	font-size: 14px;
	cursor: pointer;
}
.chip.selected { background: #7c4dab; border-color: #7c4dab; color: #fff; }
.chip:disabled { opacity: 0.35; cursor: not-allowed; }

.summary {
	background: #fff;
	border: 1px solid #e2d9ec;
	border-radius: 12px;
	padding: 4px 14px;
	margin-bottom: 8px;
}
.summary div { display: flex; padding: 8px 0; border-bottom: 1px dashed #eee5f5; }
.summary div:last-child { border-bottom: none; }
.summary dt { width: 84px; flex-shrink: 0; font-size: 13px; color: #7a6c8a; }
.summary dd { font-size: 14px; font-weight: 600; }

.done-icon {
	width: 64px;
	height: 64px;
	margin: 16px auto;
	border-radius: 50%;
	background: #06c755;
	color: #fff;
	font-size: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
}
/* honeypot: 視覚・タブ移動から隠す(display:noneにしない=botに埋めさせる) */
.hp-field {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

#screen-done { text-align: center; }
#screen-done .summary { text-align: left; margin-top: 12px; }
