/* Exhibition planner — lapis section, chips and toggles, floor plan on a paper sheet, steps. */
.ei.plan { position: relative; overflow: hidden; padding: var(--ei-sec) 0; background: var(--ei-lapis); color: var(--ei-light); }
.ei .plan__pattern { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ei-gold); opacity: .07; pointer-events: none; }
.ei.plan .wrap { position: relative; }
.ei .plan__head { max-width: 760px; margin-bottom: 48px; }
.ei.plan .lead { color: #cfd4e6; }
.ei .plan__grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }

.ei .planner fieldset { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.ei .planner legend { font-weight: 600; font-size: 16px; padding: 0; margin-bottom: 12px; color: var(--ei-gold-2); }
.ei .chips, .ei .toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.ei .chips label, .ei .toggles label { position: relative; cursor: pointer; margin: 0; }
.ei .chips input, .ei .toggles input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ei .chips span, .ei .toggles span {
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; line-height: 1.25;
	background: rgba(246, 241, 230, .06); box-shadow: inset 0 0 0 1px rgba(246, 241, 230, .22); transition: background-color .15s, box-shadow .15s, color .15s;
}
.ei .chips input:checked + span { background: var(--ei-amber); color: var(--ei-ink); box-shadow: none; }
.ei .toggles span::before { content: ""; width: 16px; height: 16px; border-radius: 4px; flex: none; box-shadow: inset 0 0 0 1.5px rgba(246, 241, 230, .6); background: transparent center / 12px no-repeat; }
.ei .toggles input:checked + span { box-shadow: inset 0 0 0 1.5px var(--ei-gold-2); }
.ei .toggles input:checked + span::before {
	box-shadow: none; background-color: var(--ei-gold-2);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.6-5' fill='none' stroke='%23101a3f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ei .toggles input:disabled + span { opacity: .8; cursor: default; }
.ei .chips input:focus-visible + span, .ei .toggles input:focus-visible + span { outline: 3px solid var(--ei-amber); outline-offset: 2px; }
.ei .range { display: flex; align-items: center; gap: 16px; }
.ei .range input { flex: 1; min-width: 0; accent-color: var(--ei-amber); height: 28px; padding: 0; border: 0; background: none; }
.ei .range output { font: 400 30px/1 var(--ei-display); min-width: 4.4ch; text-align: right; white-space: nowrap; }
.ei .range output b { font-weight: 400; }
.ei.plan .planner .hint { color: var(--ei-light-2); margin-top: 6px; }

.ei .sheet { background: var(--ei-paper); color: var(--ei-ink); border-radius: 6px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.ei .sheet__plan {
	position: relative; padding: 18px 18px 8px;
	background: linear-gradient(rgba(16, 26, 63, .05) 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(90deg, rgba(16, 26, 63, .05) 1px, transparent 1px) 0 0 / 20px 20px, #fbfaf6;
}
.ei .sheet__plan svg { width: 100%; height: auto; display: block; }
.ei .sheet__scale { position: absolute; right: 22px; bottom: 12px; font-size: 13px; color: var(--ei-muted); background: #fbfaf6; padding: 2px 6px; }
.ei .sheet__out { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 24px; padding: 20px 22px 22px; border-top: 1px solid var(--ei-line); align-items: end; }
.ei .tally { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; }
.ei .tally li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.ei .tally i { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.ei .tally b { font-weight: 700; }
.ei .sheet__cta .hint { margin-top: 10px; color: var(--ei-muted); }

.ei .pl-room { fill: #fff; stroke: var(--ei-ink); stroke-width: 3; }
.ei .pl-door { stroke: #fbfaf6; stroke-width: 5; }
.ei .pl-door-arc { fill: none; stroke: var(--ei-muted); stroke-width: 1; stroke-dasharray: 3 3; }
.ei .pl-txt { font: 600 11px var(--ei-sans); fill: var(--ei-muted); }
.ei .pl-panels rect { fill: #1f3270; }
.ei .pl-cases rect { fill: #f6dfb4; stroke: #a86f12; stroke-width: 1.5; }
.ei .pl-model rect { fill: #e5d4b6; stroke: #7a6340; stroke-width: 1.5; }
.ei .pl-vr circle { fill: #fff; stroke: #6a3fa0; stroke-width: 2; }
.ei .pl-vr .pl-zone { fill: rgba(106, 63, 160, .08); stroke: none; }
.ei .pl-talk rect { fill: #c9d3e6; }
.ei .pl-books rect.t { fill: #f4a21e; }
.ei .pl-new { animation: ei-pl-in .5s ease both; }
@keyframes ei-pl-in { from { opacity: 0; } to { opacity: 1; } }

.ei .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px; counter-reset: s; }
.ei .steps li { counter-increment: s; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding-top: 18px; border-top: 1px solid rgba(240, 196, 106, .45); }
.ei .steps li::before { content: counter(s); grid-row: span 2; font: 400 34px/1 var(--ei-display); color: var(--ei-gold-2); }
.ei .steps b { font-size: 16.5px; }
.ei .steps span { font-size: 14.5px; color: var(--ei-light-2); }

@media (max-width: 1020px) {
	.ei .plan__grid { grid-template-columns: minmax(0, 1fr); }
	.ei .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.ei .sheet__out { grid-template-columns: minmax(0, 1fr); }
	.ei .tally { grid-template-columns: minmax(0, 1fr); }
	.ei .steps { grid-template-columns: minmax(0, 1fr); }
}
