/* AIAS Marine — public booking form. Uses the theme's variables when present (navy + gold). */
.aib {
	--aib-gold: #d4ae5a;
	--aib-gold-l: #f1dca2;
	--aib-text: var(--am-text, #eaf0f7);
	--aib-muted: var(--am-muted, #9fb0c4);
	--aib-line: rgba(255, 255, 255, 0.12);
	--aib-glass: rgba(255, 255, 255, 0.045);
	color: var(--aib-text);
	max-width: 980px;
	margin: 0 auto;
}
.aib-loading, .aib noscript p { color: var(--aib-muted); }
.aib-test {
	border: 1px dashed rgba(240, 195, 106, 0.6);
	background: rgba(240, 195, 106, 0.08);
	color: var(--aib-gold-l);
	border-radius: 14px;
	padding: 12px 16px;
	margin-bottom: 22px;
	font-size: 0.92rem;
}
.aib-form { display: grid; gap: 22px; }
.aib-step {
	margin: 0;
	padding: clamp(18px, 3vw, 30px);
	border: 1px solid var(--aib-line);
	border-radius: 22px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	scroll-margin-top: 110px;
	transition: opacity 0.3s ease;
	min-width: 0;
}
/* Inactive steps keep the same frame and title; their content waits until the previous choice is made. */
.aib-wait { display: none; margin: 0; color: var(--aib-muted); font-size: 0.95rem !important; }
.aib-step[disabled] .aib-wait { display: block; }
.aib-step[disabled] > *:not(legend):not(.aib-wait) { display: none !important; }
.aib-step[disabled] legend span { filter: saturate(0.6); }
.aib-step legend {
	float: left;
	width: 100%;
	margin: 0 0 16px;
	padding: 0;
	font-size: 1.15rem;
	font-weight: 800;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 12px;
}
.aib-step legend ~ * { clear: both; }
.aib-step legend span {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-size: 0.95rem;
	color: #0b1a33;
	background: linear-gradient(135deg, #f6e3a8, #d4ae5a 55%, #9c7429);
}

/* Boats */
.aib-boats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.aib-boat { position: relative; cursor: pointer; display: block; }
.aib-boat input { position: absolute; opacity: 0; pointer-events: none; }
.aib-boat-in {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	box-sizing: border-box;
	padding: 16px;
	border-radius: 16px;
	border: 1px solid var(--aib-line);
	background: var(--aib-glass);
	transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.aib-boat:hover .aib-boat-in { border-color: rgba(212, 174, 90, 0.5); transform: translateY(-2px); }
.aib-boat input:checked + .aib-boat-in { border-color: var(--aib-gold); background: rgba(212, 174, 90, 0.12); box-shadow: 0 0 0 1px var(--aib-gold) inset, 0 12px 30px -16px rgba(212, 174, 90, 0.6); }
.aib-boat input:focus-visible + .aib-boat-in { outline: 2px solid #fff; outline-offset: 3px; }
.aib-boat strong { font-size: 1.2rem; color: #fff; letter-spacing: 0.03em; margin-top: 6px; }
.aib-boat small { color: var(--aib-gold-l); font-size: 0.85rem; }
.aib-boat em { font-style: normal; color: var(--aib-muted); font-size: 0.85rem; margin-top: auto; padding-top: 6px; }
.aib-lic { align-self: flex-start; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; padding: 0.3em 0.7em; border-radius: 999px; }
.aib-lic-free { color: #8ef0c4; border: 1px solid rgba(52, 211, 153, 0.45); background: rgba(52, 211, 153, 0.12); }
.aib-lic-pro { color: var(--aib-gold-l); border: 1px solid rgba(212, 174, 90, 0.5); background: rgba(212, 174, 90, 0.14); }

/* Fields */
.aib-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.aib-wide { grid-column: 1 / -1; }
.aib-field { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--aib-gold-l); }
.aib-field > span { letter-spacing: 0.02em; }
.aib input[type="text"], .aib input:not([type]), .aib input[type="tel"], .aib input[type="email"], .aib input[type="date"], .aib select, .aib textarea {
	width: 100%;
	box-sizing: border-box;
	font: inherit;
	font-weight: 400;
	color: #fff;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 12px;
	padding: 12px 14px;
	color-scheme: dark;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.aib select option { background: #0b1a33; }
.aib select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 42px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d4ae5a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	cursor: pointer;
}
.aib input:hover:not(:focus), .aib select:hover:not(:focus), .aib textarea:hover:not(:focus) { border-color: rgba(212, 174, 90, 0.45); }

/* Choice chips (licence / skipper) — same look as the time buttons */
.aib-chip { position: relative; cursor: pointer; }
.aib-chip input { position: absolute; opacity: 0; pointer-events: none; }
.aib-chip span {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 0.6em 1.1em; border-radius: 999px;
	font-size: 0.92rem; font-weight: 600; color: var(--aib-text);
	background: var(--aib-glass); border: 1px solid var(--aib-line);
	transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.aib-chip span small { font-weight: 700; color: var(--aib-gold-l); }
.aib-chip:hover span { border-color: var(--aib-gold); transform: translateY(-1px); }
.aib-chip input:checked + span { background: linear-gradient(135deg, #f6e3a8, #d4ae5a 55%, #9c7429); color: #0b1a33; border-color: transparent; }
.aib-chip input:checked + span small { color: #0b1a33; }
.aib-chip input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.aib-lic-q .aib-radios { gap: 8px; padding-top: 2px; }
.aib input:focus, .aib select:focus, .aib textarea:focus { outline: none; border-color: var(--aib-gold); box-shadow: 0 0 0 3px rgba(212, 174, 90, 0.2); }
.aib-date { max-width: 260px; }
.aib-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.aib-radios { display: flex; flex-wrap: wrap; gap: 10px 18px; font-weight: 400; color: var(--aib-text); padding-top: 6px; }
.aib-radios label { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.aib input[type="radio"], .aib input[type="checkbox"] { accent-color: var(--aib-gold); width: 18px; height: 18px; }

/* Date + times side by side (stacked on phones) */
.aib-when { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: 24px; align-items: start; }
@media (max-width: 760px) { .aib-when { grid-template-columns: 1fr; } }
.aib-when > * { min-width: 0; }
@media (max-width: 480px) {
	.aib-step { padding: 16px 12px; }
	.aib-cal { padding: 10px 6px; }
	.aib-cal-grid { gap: 2px; }
	/* finger-sized: full column width, 38px tall (not square on narrow phones) */
	.aib-cal-day { aspect-ratio: auto; height: 38px; max-height: none; font-size: 0.86rem; border-radius: 10px; }
	.aib-cal-day::after { bottom: 3px; width: 4px; height: 4px; margin-left: -2px; }
}

/* Calendar (own widget, site style) */
.aib-cal {
	padding: 16px;
	border-radius: 18px;
	border: 1px solid var(--aib-line);
	background: rgba(5, 13, 26, 0.45);
	user-select: none;
}
.aib-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.aib-cal-head strong { color: #fff; font-size: 1.05rem; letter-spacing: 0.02em; }
.aib-cal-nav {
	width: 36px; height: 36px; border-radius: 50%;
	display: grid; place-items: center;
	font: inherit; font-size: 1.4rem; line-height: 1;
	color: var(--aib-gold-l); background: var(--aib-glass); border: 1px solid var(--aib-line);
	cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.aib-cal-nav:hover:not(:disabled) { border-color: var(--aib-gold); background: rgba(212, 174, 90, 0.15); }
.aib-cal-nav:disabled { opacity: 0.25; cursor: default; }
/* minmax(0, 1fr): days may shrink below their content width, so 7 columns always fit (320px phones). */
.aib-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.aib-cal-wd { text-align: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; color: var(--aib-muted); padding-bottom: 4px; }
.aib-cal-wd.is-we { color: var(--aib-gold-l); }
.aib-cal-day {
	position: relative;
	aspect-ratio: 1;
	width: 100%;
	min-width: 0;
	min-height: 0;
	max-height: 48px;
	padding: 0;
	display: grid; place-items: center;
	font: inherit; font-size: 0.92rem; font-weight: 600;
	color: var(--aib-text);
	background: transparent;
	border: 1px solid transparent;
	border-radius: 12px;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.aib-cal-day::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: transparent; }
.aib-cal-day.is-free { background: rgba(52, 211, 153, 0.07); border-color: rgba(52, 211, 153, 0.22); }
.aib-cal-day.is-free::after { background: #34d399; }
.aib-cal-day.is-full { color: var(--aib-muted); text-decoration: line-through; }
.aib-cal-day.is-full::after { background: #f87171; }
.aib-cal-day.is-past, .aib-cal-day.is-closed { color: rgba(255, 255, 255, 0.22); }
.aib-cal-day:hover:not(:disabled) { border-color: var(--aib-gold); transform: translateY(-1px); }
.aib-cal-day:disabled { cursor: default; }
.aib-cal-day.is-today { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); }
.aib-cal-day.is-sel { background: linear-gradient(135deg, #f6e3a8, #d4ae5a 55%, #9c7429); color: #0b1a33; border-color: transparent; text-decoration: none; }
.aib-cal-day.is-sel::after { background: #0b1a33; }
.aib-cal-day:focus-visible, .aib-cal-nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.aib-cal-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 0.78rem; color: var(--aib-muted); }
.aib-cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.aib-cal-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.aib-cal-legend i.is-free { background: #34d399; }
.aib-cal-legend i.is-full { background: #f87171; }
.aib-cal-legend i.is-sel { background: #d4ae5a; }
.aib-day { margin: 0 0 4px; color: #fff; font-weight: 700; font-size: 1.05rem !important; }
.aib-day::first-letter { text-transform: uppercase; }

/* Duration cards (KPI) */
.aib-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.aib-kpi {
	display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left;
	padding: 16px 16px 14px; min-height: 132px; box-sizing: border-box;
	font: inherit; color: var(--aib-text); cursor: pointer;
	border-radius: 18px; border: 1px solid var(--aib-line);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
	transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.aib-kpi:hover:not(:disabled) { border-color: rgba(212, 174, 90, 0.55); transform: translateY(-2px); }
.aib-kpi.is-open { border-color: var(--aib-gold); }
.aib-kpi.is-sel { border-color: var(--aib-gold); background: rgba(212, 174, 90, 0.13); box-shadow: 0 0 0 1px var(--aib-gold) inset, 0 14px 32px -18px rgba(212, 174, 90, 0.7); }
.aib-kpi.is-off { opacity: 0.45; cursor: not-allowed; }
.aib-kpi:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.aib-kpi-top { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; }
.aib-kpi-top strong { font-size: 1.15rem; color: #fff; letter-spacing: 0.01em; }
.aib-kpi-top em { font-style: normal; font-size: 0.72rem; font-weight: 700; color: var(--aib-gold-l); border: 1px solid rgba(212, 174, 90, 0.45); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.aib-sun { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle, #f6e3a8 0 34%, transparent 36%), conic-gradient(from 0deg, #d4ae5a 0 6%, transparent 6% 12.5%, #d4ae5a 12.5% 18.5%, transparent 18.5% 25%, #d4ae5a 25% 31%, transparent 31% 37.5%, #d4ae5a 37.5% 43.5%, transparent 43.5% 50%, #d4ae5a 50% 56%, transparent 56% 62.5%, #d4ae5a 62.5% 68.5%, transparent 68.5% 75%, #d4ae5a 75% 81%, transparent 81% 87.5%, #d4ae5a 87.5% 93.5%, transparent 93.5%); }
.aib-kpi-price { font-size: 1.45rem; font-weight: 800; color: var(--aib-gold-l); line-height: 1.15; margin-top: 4px; }
.aib-kpi-sub { font-size: 0.8rem; color: var(--aib-muted); line-height: 1.35; }
.aib-kpi-av { margin-top: auto; padding-top: 6px; font-size: 0.74rem; font-weight: 700; color: #8ef0c4; }
.aib-kpi-av::before { content: "● "; }
.aib-kpi-av.is-off { color: #f87171; }
.aib-kpi.is-sel .aib-kpi-av { color: var(--aib-gold-l); }
@media (max-width: 380px) { .aib-kpi { padding: 14px 12px 12px; } .aib-kpi-price { font-size: 1.25rem; } }

/* Pickup times for the chosen card */
.aib-pick { padding: 16px; border-radius: 18px; border: 1px solid var(--aib-line); background: rgba(5, 13, 26, 0.45); display: grid; gap: 12px; }
.aib-pick-h { margin: 0; color: #fff; font-weight: 700; font-size: 1rem !important; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.aib-pick-h small { color: var(--aib-muted); font-weight: 400; font-size: 0.8rem; }
.aib-pick .aib-times { gap: 6px; }
.aib-pick .aib-time { min-width: 66px; padding: 0.5em 0.8em; }
.aib-pickres { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--aib-muted); font-size: 0.95rem !important; }
.aib-pickres strong { color: var(--aib-gold-l); font-size: 1.2rem; margin-left: 4px; }
.aib-pickres small { color: var(--aib-muted); }
.aib-arrow { color: var(--aib-gold); font-size: 1.3rem; }

/* Slots */
.aib-slots { margin-top: 0; display: grid; gap: 16px; align-content: start; }
.aib-hint { color: var(--aib-muted); margin: 0; font-size: 0.95rem !important; }
.aib-warn { font-size: 0.95rem !important; }
.aib-warn { margin: 0; color: #f0c36a; background: rgba(240, 195, 106, 0.08); border: 1px solid rgba(240, 195, 106, 0.35); border-radius: 12px; padding: 10px 14px; }
.aib-rate-h { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 8px; }
.aib-rate-h strong { color: #fff; }
.aib-rate-h span { color: var(--aib-gold-l); font-weight: 700; white-space: nowrap; }
.aib-times { display: flex; flex-wrap: wrap; gap: 8px; }
.aib-time {
	font: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--aib-text);
	background: var(--aib-glass);
	border: 1px solid var(--aib-line);
	border-radius: 999px;
	padding: 0.55em 1.05em;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.aib-time:hover:not(:disabled) { border-color: var(--aib-gold); transform: translateY(-1px); }
.aib-time.is-sel { background: linear-gradient(135deg, #f6e3a8, #d4ae5a 55%, #9c7429); color: #0b1a33; border-color: transparent; }
.aib-time { display: inline-flex; flex-direction: column; align-items: center; line-height: 1.2; }
.aib-time small { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.02em; margin-top: 2px; }
.aib-time:disabled { cursor: not-allowed; }
.aib-time.is-busy { opacity: 0.45; text-decoration: line-through; }
.aib-time.is-busy small { text-decoration: none; }
.aib-time.is-soon { opacity: 0.6; border-style: dashed; }
.aib-time.is-soon small { color: var(--aib-gold-l); }
.aib-note { margin: 0; font-size: 0.88rem !important; color: var(--aib-muted); }
.aib-note a { color: #fff; }
.aib-legend { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.85rem !important; color: var(--aib-muted); }
.aib-time.is-demo { cursor: default; font-size: 0.75rem; padding: 0.3em 0.8em; transform: none !important; }

/* Summary + payment */
.aib-sum dl, .aib-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0 0 18px; }
.aib dt { color: var(--aib-muted); font-size: 0.9rem; }
.aib dd { margin: 0; color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.aib dd small { color: var(--aib-muted); font-weight: 400; }
.aib .aib-dep { color: var(--aib-gold-l); font-size: 1.05rem; font-weight: 800; }
/* Summary in a dark inner panel (same as the calendar) */
.aib-sum:not(:empty) { padding: 18px 20px; margin-bottom: 18px; border-radius: 18px; border: 1px solid var(--aib-line); background: rgba(5, 13, 26, 0.45); }
.aib-sum dl { margin: 0 !important; }

/* Payment methods: cards like the boat cards */
.aib-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 18px; }
.aib-method { position: relative; display: block; cursor: pointer; }
.aib-method input { position: absolute; opacity: 0; pointer-events: none; }
.aib-method > span {
	display: flex; flex-direction: column; gap: 4px; height: 100%; box-sizing: border-box;
	padding: 16px; border-radius: 16px; border: 1px solid var(--aib-line); background: var(--aib-glass);
	transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.aib-method:hover:not(.is-soon) > span { border-color: rgba(212, 174, 90, 0.5); transform: translateY(-2px); }
.aib-method input:checked + span { border-color: var(--aib-gold); background: rgba(212, 174, 90, 0.12); box-shadow: 0 0 0 1px var(--aib-gold) inset, 0 12px 30px -16px rgba(212, 174, 90, 0.6); }
.aib-method input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }
.aib-method strong { color: #fff; font-size: 1.05rem; margin-top: 6px; }
.aib-method small { color: var(--aib-muted); font-size: 0.85rem; }
.aib-method.is-soon { cursor: not-allowed; }
.aib-method.is-soon > span { opacity: 0.55; }

/* Terms + consent */
.aib-terms { margin: 0 0 14px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--aib-line); background: rgba(5, 13, 26, 0.35); color: var(--aib-muted); font-size: 0.9rem; }
.aib-terms summary { cursor: pointer; color: var(--aib-gold-l); font-weight: 600; }
.aib-terms p { margin: 10px 0 0; }
.aib-consent { position: relative; display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--aib-muted); margin-bottom: 16px; cursor: pointer; }
.aib-consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.aib-consent .aib-box {
	flex: 0 0 22px; width: 22px; height: 22px; box-sizing: border-box; margin-top: 1px;
	border-radius: 7px; border: 1.5px solid rgba(212, 174, 90, 0.7); background: rgba(255, 255, 255, 0.04);
	display: grid; place-items: center; transition: background 0.2s, border-color 0.2s;
}
.aib-consent input:checked + .aib-box {
	border-color: transparent;
	background: linear-gradient(135deg, #f6e3a8, #d4ae5a 55%, #9c7429) center / 100% no-repeat;
}
.aib-consent input:checked + .aib-box::after {
	content: ""; width: 11px; height: 6px; margin-top: -3px;
	border-left: 2.5px solid #0b1a33; border-bottom: 2.5px solid #0b1a33; transform: rotate(-45deg);
}
.aib-consent input:focus-visible + .aib-box { outline: 2px solid #fff; outline-offset: 2px; }
.aib-consent a { color: #fff; }
.aib-error { color: #ffb4a8; background: rgba(229, 53, 43, 0.1); border: 1px solid rgba(229, 53, 43, 0.45); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.aib-submit, .aib-print {
	font: inherit;
	font-weight: 800;
	font-size: 1.02rem;
	color: #0b1a33;
	border: 0;
	border-radius: 999px;
	padding: 15px 30px;
	cursor: pointer;
	background: linear-gradient(135deg, #f6e3a8 0%, #d4ae5a 45%, #9c7429 100%);
	box-shadow: 0 10px 30px -12px rgba(212, 174, 90, 0.6);
	transition: transform 0.2s, box-shadow 0.2s;
}
.aib-submit:hover:not(:disabled), .aib-print:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(212, 174, 90, 0.75); }
.aib-submit:disabled { opacity: 0.6; cursor: wait; }
.aib-small { color: var(--aib-muted); font-size: 0.85rem; margin: 12px 0 0; }
.aib-small a { color: #fff; }

/* Result */
.aib-done-head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.aib-done-head h2 { margin: 0; color: #fff; }
.aib-done-head p { margin: 4px 0 0; color: var(--aib-muted); }
.aib-check { flex: 0 0 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; color: #0b1a33; background: linear-gradient(135deg, #f6e3a8, #d4ae5a 55%, #9c7429); }
.aib-done-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.aib-card { padding: 22px; border-radius: 20px; border: 1px solid var(--aib-line); background: var(--aib-glass); min-width: 0; }
.aib-card h3 { margin: 0 0 14px; color: #fff; font-size: 1.1rem; }
.aib-pay { border-color: rgba(212, 174, 90, 0.5); }
.aib code { font-family: ui-monospace, Consolas, monospace; font-size: 0.95em; color: var(--aib-gold-l); background: rgba(212, 174, 90, 0.1); padding: 2px 6px; border-radius: 6px; }
.aib-copy { font: inherit; font-size: 0.75rem; color: var(--aib-text); background: transparent; border: 1px solid var(--aib-line); border-radius: 999px; padding: 2px 10px; cursor: pointer; margin-left: 4px; }
.aib-copy:hover { border-color: var(--aib-gold); }
.aib-important { background: rgba(212, 174, 90, 0.1); border-radius: 12px; padding: 10px 12px; color: #fff; }
.aib-actions { margin-top: 22px; color: var(--aib-muted); }
.aib-actions a { color: #fff; }

@media (max-width: 700px) {
	.aib-grid, .aib-done-grid { grid-template-columns: 1fr; }
	.aib-date { max-width: none; }
	.aib-sum dl, .aib-card dl { grid-template-columns: 1fr; gap: 2px; }
	.aib dd { margin-bottom: 8px; }
	.aib-submit { width: 100%; }
}
@media print {
	header, footer, .am-fab, .aib-actions, .aib-copy, .am-banner, .am-topbar { display: none !important; }
	.aib, .aib * { color: #000 !important; background: #fff !important; box-shadow: none !important; }
	.aib-card { border: 1px solid #999 !important; }
}
