.lpca-cal-wrap { --lpca-border: #e5e7eb; --lpca-muted: #6b7280; --lpca-bg: #fff; --lpca-soft: #f9fafb; --lpca-accent: #2563eb; margin: 0 0 24px; container-type: inline-size; }
.lpca-cal { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 20px; }
.lpca-cal-main { background: var(--lpca-bg); border: 1px solid var(--lpca-border); border-radius: 12px; padding: 14px; }
.lpca-cal-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.lpca-cal-bar h3 { margin: 0; flex: 1; text-align: center; font-size: 1.15em; }
.lpca-nav, .lpca-today-btn { border: 1px solid var(--lpca-border); background: var(--lpca-bg); border-radius: 8px; padding: 4px 12px; cursor: pointer; font-size: 1em; line-height: 1.6; color: inherit; }
.lpca-nav { font-size: 1.3em; padding: 0 12px; }
.lpca-nav:hover, .lpca-today-btn:hover { background: var(--lpca-soft); }
.lpca-grid7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.lpca-dow { text-align: center; font-size: .75em; text-transform: uppercase; letter-spacing: .04em; color: var(--lpca-muted); padding: 4px 0; }
.lpca-day { position: relative; min-height: 78px; display: flex; flex-direction: column; align-items: stretch; text-align: left; gap: 2px; padding: 4px 5px; border: 1px solid var(--lpca-border); border-radius: 8px; background: var(--lpca-bg); cursor: pointer; font: inherit; color: inherit; overflow: hidden; }
.lpca-day:hover { border-color: var(--lpca-accent); }
.lpca-day.is-out { opacity: .4; }
.lpca-day.is-today .lpca-num { background: var(--lpca-accent); color: #fff; }
.lpca-day.is-sel { outline: 2px solid var(--lpca-accent); outline-offset: -1px; }
.lpca-num { font-size: .85em; font-weight: 600; width: 24px; height: 24px; line-height: 24px; text-align: center; border-radius: 50%; }
.lpca-dots { display: none; gap: 3px; }
.lpca-dot { width: 7px; height: 7px; border-radius: 50%; }
.lpca-dot.is-absent { box-shadow: 0 0 0 2px #fee2e2; }
.lpca-chips { display: flex; flex-direction: column; gap: 2px; }
.lpca-chip { font-size: .68em; line-height: 1.35; padding: 1px 4px; border-radius: 4px; border-left: 3px solid var(--lpca-c); background: color-mix(in srgb, var(--lpca-c) 12%, transparent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lpca-more { font-size: .68em; color: var(--lpca-muted); }
.lpca-cal-side { background: var(--lpca-soft); border: 1px solid var(--lpca-border); border-radius: 12px; padding: 16px; }
.lpca-cal-side h4 { margin: 0 0 10px; font-size: 1em; }
.lpca-up-h { margin-top: 22px !important; padding-top: 14px; border-top: 1px solid var(--lpca-border); }
.lpca-evs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lpca-ev { display: flex; flex-direction: column; gap: 4px; background: var(--lpca-bg); border: 1px solid var(--lpca-border); border-left: 4px solid var(--lpca-c); border-radius: 8px; padding: 10px 12px; }
.lpca-ev.is-past { opacity: .75; }
.lpca-ev-time { font-weight: 600; font-size: .9em; }
.lpca-ev-date { display: block; font-weight: 400; color: var(--lpca-muted); font-size: .9em; }
.lpca-ev-course { font-weight: 600; text-decoration: none; margin-right: 6px; }
.lpca-ev-title, .lpca-ev-loc, .lpca-ev-notes { font-size: .9em; color: #374151; }
.lpca-ev-notes { color: var(--lpca-muted); white-space: pre-line; }
.lpca-ev-join { font-size: .9em; font-weight: 600; }
.lpca-evs--compact .lpca-ev-notes { display: none; }
.lpca-badge { display: inline-block; font-size: .72em; font-weight: 600; padding: 1px 8px; border-radius: 99px; vertical-align: middle; }
.lpca-b-present { background: #d1fae5; color: #065f46; }
.lpca-b-late { background: #fef3c7; color: #92400e; }
.lpca-b-absent { background: #fee2e2; color: #991b1b; }
.lpca-b-excused { background: #e0e7ff; color: #3730a3; }
.lpca-b-teacher { background: #f3f4f6; color: #374151; }
.lpca-none { color: var(--lpca-muted); font-size: .92em; margin: 0; }
.lpca-ics { margin-top: 18px; width: 100%; border: 1px dashed var(--lpca-accent); color: var(--lpca-accent); background: transparent; border-radius: 8px; padding: 8px 10px; cursor: pointer; font: inherit; font-size: .9em; }
.lpca-ics-msg { font-size: .82em; margin: 8px 0 0; word-break: break-all; }
.lpca-phone-form { margin: 0 0 24px; padding: 14px 16px; border: 1px solid var(--lpca-border, #e5e7eb); border-radius: 12px; }
.lpca-phone-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.lpca-phone-row { display: flex; gap: 8px; flex-wrap: wrap; }
.lpca-phone-row input { flex: 1; min-width: 180px; }
.lpca-phone-ok { color: #065f46; margin: 8px 0 0; }
@container (max-width: 760px) {
	.lpca-cal { grid-template-columns: 1fr; }
}
@container (max-width: 520px) {
	.lpca-day { min-height: 46px; align-items: center; }
	.lpca-chips { display: none; }
	.lpca-dots { display: flex; }
}
.lpca-ev-qr { font-size: .88em; font-weight: 600; text-decoration: none; display: inline-block; margin-top: 2px; }

/* Capitalise only the first letter (Croatian month/day names are lower-case mid-sentence). */
.lpca-cal-bar h3::first-letter, .lpca-cal-side h4::first-letter, .lpca-ev-date::first-letter { text-transform: uppercase; }

/* View switcher ------------------------------------------------------------- */
.lpca-cal-sub { display: flex; justify-content: center; margin: -2px 0 12px; }
.lpca-views { display: inline-flex; padding: 3px; background: var(--lpca-soft); border: 1px solid var(--lpca-border); border-radius: 10px; gap: 2px; }
.lpca-views button { border: 0; background: transparent; padding: 6px 16px; border-radius: 8px; cursor: pointer; font: inherit; font-size: .9em; color: var(--lpca-muted); }
.lpca-views button:hover { color: inherit; }
.lpca-views button.is-on { background: var(--lpca-bg); color: var(--lpca-accent); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.lpca-none--center { text-align: center; margin-top: 12px; }

/* Week view: full width, side panel below ------------------------------------- */
.lpca-cal--week { grid-template-columns: 1fr; }
.lpca-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.lpca-wcol { display: flex; flex-direction: column; min-height: 220px; border: 1px solid var(--lpca-border); border-radius: 10px; background: var(--lpca-bg); overflow: hidden; }
.lpca-wcol.is-today { border-color: var(--lpca-accent); }
.lpca-whead { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border: 0; border-bottom: 1px solid var(--lpca-border); background: var(--lpca-soft); cursor: pointer; font: inherit; color: inherit; }
.lpca-wdow { font-size: .72em; text-transform: uppercase; letter-spacing: .04em; color: var(--lpca-muted); }
.lpca-wnum { font-weight: 700; font-size: 1.1em; width: 30px; height: 30px; line-height: 30px; border-radius: 50%; text-align: center; }
.lpca-wcol.is-today .lpca-wnum { background: var(--lpca-accent); color: #fff; }
.lpca-wbody { display: flex; flex-direction: column; gap: 6px; padding: 6px; flex: 1; }
.lpca-wev { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; width: 100%; padding: 6px 7px; border: 0; border-left: 3px solid var(--lpca-c); border-radius: 6px; background: color-mix(in srgb, var(--lpca-c) 10%, var(--lpca-bg)); cursor: pointer; font: inherit; color: inherit; }
.lpca-wev:hover { background: color-mix(in srgb, var(--lpca-c) 18%, var(--lpca-bg)); }
.lpca-wev.is-past { opacity: .7; }
.lpca-wev-time { font-size: .74em; font-weight: 700; }
.lpca-wev-course { font-size: .8em; font-weight: 600; line-height: 1.25; }
.lpca-wev-title, .lpca-wev-loc { font-size: .72em; color: var(--lpca-muted); line-height: 1.25; }
.lpca-wev .lpca-badge { font-size: .64em; padding: 0 6px; margin-top: 2px; }
.lpca-wempty { color: #d1d5db; text-align: center; padding-top: 10px; }

/* Day view: hourly timeline ------------------------------------------------------- */
.lpca-dayview { position: relative; margin-left: 52px; }
.lpca-hour { position: absolute; left: -52px; right: 0; height: 0; border-top: 1px solid var(--lpca-border); }
.lpca-hour span { position: absolute; left: 0; top: -9px; width: 44px; font-size: .74em; color: var(--lpca-muted); text-align: right; background: var(--lpca-bg); padding-right: 6px; }
.lpca-dlane { position: absolute; inset: 0; }
.lpca-dev { position: absolute; display: flex; flex-direction: column; gap: 2px; overflow: hidden; padding: 6px 9px; border-left: 4px solid var(--lpca-c); border-radius: 8px; background: color-mix(in srgb, var(--lpca-c) 12%, var(--lpca-bg)); font-size: .82em; line-height: 1.3; }
.lpca-dev strong { font-weight: 700; }
.lpca-dev span { color: #374151; }
.lpca-dev.is-past { opacity: .7; }
.lpca-now { position: absolute; left: -6px; right: 0; border-top: 2px solid #dc2626; }
.lpca-now::before { content: ''; position: absolute; left: -4px; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: #dc2626; }

@container (max-width: 720px) {
	.lpca-week { grid-template-columns: 1fr; }
	.lpca-wcol { min-height: 0; flex-direction: row; }
	.lpca-whead { flex: 0 0 64px; border-bottom: 0; border-right: 1px solid var(--lpca-border); }
}

/* Contact details + parents form (Schedule tab) */
.lpca-contact-title { margin: 0 0 12px; font-size: 1.05em; }
.lpca-contact-hint { margin: 14px 0 6px; color: var(--lpca-muted, #6b7280); font-size: .92em; }
.lpca-contact-form .lpca-parents__minor { display: flex; align-items: center; gap: 8px; margin: 8px 0 12px; font-weight: 600; }
.lpca-contact-form .lpca-parent { border: 1px solid var(--lpca-border, #e5e7eb); border-radius: 10px; padding: 10px 14px 14px; margin: 0 0 12px; }
.lpca-contact-form .lpca-parent legend { padding: 0 6px; font-weight: 600; }
.lpca-contact-form .lpca-parent__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.lpca-contact-form .lpca-parent__grid label { display: flex; flex-direction: column; gap: 4px; font-weight: 400; font-size: .9em; margin: 0; }
.lpca-contact-form .lpca-parent__grid input { width: 100%; }
.lpca-contact-actions { margin-top: 12px; }
@media (max-width: 600px) { .lpca-contact-form .lpca-parent__grid { grid-template-columns: 1fr; } }

/* Contact form – LearnPress look, theme-proof */
body .lpca-contact-form { max-width: 820px; padding: 20px 22px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
body .lpca-contact-form .lpca-contact-title { font-size: 18px !important; font-weight: 700 !important; color: #1e1e1e !important; margin: 0 0 14px !important; }
body .lpca-contact-form > label, body .lpca-contact-form .lpca-parent__grid label > span { font-size: 14px !important; font-weight: 600 !important; color: #23282d !important; font-style: normal !important; }
body .lpca-contact-form input[type=text], body .lpca-contact-form input[type=email], body .lpca-contact-form input[type=tel] {
	box-sizing: border-box !important; width: 100% !important; height: 40px !important; margin: 0 !important; padding: 8px 12px !important;
	border: 1px solid #d1d5db !important; border-radius: 6px !important; background: #fff !important; color: #1a1a1a !important;
	font-family: inherit !important; font-size: 14px !important; box-shadow: none !important;
}
body .lpca-contact-form input:focus { outline: none !important; border-color: #7067ed !important; box-shadow: 0 0 0 3px rgba(112, 103, 237, .12) !important; }
body .lpca-contact-form .lpca-phone-row { max-width: 380px; margin-top: 6px; }
body .lpca-contact-form .lpca-parent { border: 1px solid #e5e7eb !important; border-radius: 10px !important; padding: 12px 16px 16px !important; margin: 0 0 14px !important; background: #f9fafb; }
body .lpca-contact-form .lpca-parent legend { font-size: 15px !important; font-weight: 700 !important; color: #1e1e1e !important; padding: 0 6px !important; }
body .lpca-contact-form .lpca-parents__minor { display: inline-flex !important; align-items: center; gap: 10px; cursor: pointer; font-size: 14px !important; font-weight: 600 !important; }
body .lpca-contact-form .lpca-parents__minor input { appearance: none; -webkit-appearance: none; position: relative; width: 44px !important; height: 24px !important; margin: 0 !important; border-radius: 12px; background: #e5e7eb; cursor: pointer; transition: background .25s; flex: 0 0 44px; border: 0 !important; }
body .lpca-contact-form .lpca-parents__minor input::before { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.12); transition: left .25s; }
body .lpca-contact-form .lpca-parents__minor input:checked { background: #28a746; }
body .lpca-contact-form .lpca-parents__minor input:checked::before { left: 22px; }
body .lpca-contact-form .lpca-contact-actions button {
	min-height: 40px !important; padding: 9px 24px !important; border: 0 !important; border-radius: 8px !important;
	background: #7067ed !important; color: #fff !important; font-family: inherit !important; font-size: 14px !important; font-weight: 500 !important;
	text-transform: none !important; letter-spacing: normal !important; cursor: pointer; box-shadow: none !important;
}
body .lpca-contact-form .lpca-contact-actions button:hover { background: #5b52d1 !important; }
body .lpca-contact-form .lpca-phone-ok { display: inline-block; margin: 12px 0 0; padding: 8px 14px; border-radius: 8px; background: #e7f6e9; color: #166534; font-weight: 600; }
body .lpca-contact-form .lpca-contact-hint { font-size: 14px !important; margin: 16px 0 10px !important; color: #6b7280 !important; }
body .lpca-contact-form .lpca-phone-ok { font-size: 14px !important; }
.lpca-cal-note { font-size: 14px; color: #6b7280; margin: 0 0 20px; }

/* Read-only parents in "Contact details for course notices" */
body .lpca-contact-form .lpca-ro-parents { margin-top: 20px; padding-top: 16px; border-top: 1px solid #e5e7eb; }
body .lpca-contact-form .lpca-ro-parents h4 { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: #1e1e1e; }
.lpca-ro-parent { margin: 0 0 12px; padding: 12px 16px; border: 1px solid #e5e7eb; border-radius: 10px; background: #f9fafb; }
.lpca-ro-parent__title { font-weight: 700; margin-bottom: 8px; color: #23282d; }
.lpca-ro-parent dl { display: grid; grid-template-columns: 150px 1fr; gap: 6px 12px; margin: 0; font-size: 14px; }
.lpca-ro-parent dt { color: #6b7280; margin: 0; }
.lpca-ro-parent dd { margin: 0; color: #1e1e1e; word-break: break-word; }
.lpca-ro-edit { margin: 6px 0 0; font-size: 14px; }
.lpca-ro-edit a { color: #7067ed; font-weight: 600; }
@media (max-width: 600px) { .lpca-ro-parent dl { grid-template-columns: 1fr; } .lpca-ro-parent dt { margin-top: 6px; } }
body .lpca-contact-form .lpca-tg { margin-top: 16px; }
.lpca-ro-parent__title { font-size: 16px !important; }

/* =========================================================================
 * Theme-proofing for the calendar: themes style every <button> (colours,
 * upper-case, letter-spacing, padding). Keep the calendar's own look.
 * ========================================================================= */
body .lpca-cal-wrap button {
	font-family: inherit !important; text-transform: none !important; letter-spacing: normal !important;
	text-shadow: none !important; box-shadow: none !important; min-height: 0 !important; height: auto; margin: 0;
	line-height: 1.3 !important; font-weight: inherit;
}
body .lpca-cal-wrap .lpca-nav,
body .lpca-cal-wrap .lpca-today-btn { background: #fff !important; color: #1e1e1e !important; border: 1px solid #e5e7eb !important; border-radius: 8px !important; padding: 6px 14px !important; font-size: 15px !important; }
body .lpca-cal-wrap .lpca-nav { font-size: 20px !important; padding: 2px 12px !important; }
body .lpca-cal-wrap .lpca-nav:hover, body .lpca-cal-wrap .lpca-today-btn:hover { background: #f9fafb !important; }
body .lpca-cal-wrap .lpca-views button { background: transparent !important; color: #6b7280 !important; border: 0 !important; border-radius: 8px !important; padding: 6px 16px !important; font-size: 14px !important; }
body .lpca-cal-wrap .lpca-views button.is-on { background: #fff !important; color: #2563eb !important; font-weight: 600 !important; box-shadow: 0 1px 3px rgba(0,0,0,.08) !important; }
body .lpca-cal-wrap .lpca-day { background: #fff !important; color: #1e1e1e !important; border: 1px solid #e5e7eb !important; border-radius: 8px !important; padding: 4px 5px !important; font-size: 14px !important; }
body .lpca-cal-wrap .lpca-day.is-sel { outline: 2px solid #2563eb !important; }
body .lpca-cal-wrap .lpca-whead { background: #f9fafb !important; color: #1e1e1e !important; border: 0 !important; border-bottom: 1px solid #e5e7eb !important; border-radius: 0 !important; padding: 8px 4px !important; }
body .lpca-cal-wrap .lpca-wdow { font-size: 12px !important; text-transform: uppercase !important; letter-spacing: .04em !important; color: #6b7280 !important; }
body .lpca-cal-wrap .lpca-wnum { font-size: 17px !important; font-weight: 700 !important; }
body .lpca-cal-wrap .lpca-wev { background: color-mix(in srgb, var(--lpca-c) 10%, #fff) !important; color: #1e1e1e !important; border: 0 !important; border-left: 3px solid var(--lpca-c) !important; border-radius: 6px !important; padding: 6px 7px !important; font-size: 13px !important; }
body .lpca-cal-wrap .lpca-wev-time { font-size: 12px !important; font-weight: 700 !important; }
body .lpca-cal-wrap .lpca-wev-course { font-size: 13px !important; font-weight: 600 !important; }
body .lpca-cal-wrap .lpca-wev-title, body .lpca-cal-wrap .lpca-wev-loc { font-size: 12px !important; color: #6b7280 !important; }
body .lpca-cal-wrap .lpca-ics { background: transparent !important; color: #2563eb !important; border: 1px dashed #2563eb !important; border-radius: 8px !important; padding: 8px 10px !important; font-size: 14px !important; }

/* =========================================================================
 * "My attendance" tab – read-only table per course
 * ========================================================================= */
.lpca-myatt { max-width: 1000px; container-type: inline-size; }
.lpca-myatt-empty { padding: 24px; text-align: center; color: #6b7280; border: 1px dashed #e5e7eb; border-radius: 12px; }
.lpca-myatt__filter { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 22px; }
.lpca-myatt__filter label { font-weight: 600; margin: 0; }
body .lpca-myatt__filter select { min-width: 240px; max-width: 100%; height: 44px; padding: 8px 12px; border: 1px solid #d1d5db; border-radius: 6px; background-color: #fff; font: inherit; }
.lpca-myatt__course { margin: 0 0 28px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; overflow: hidden; }
.lpca-myatt__course[hidden] { display: none; }
.lpca-myatt__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 18px; border-bottom: 1px solid #e5e7eb; }
body .lpca-myatt__head h3 { margin: 0 !important; font-size: 17px !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: normal !important; }
.lpca-myatt__head h3 a { color: inherit; text-decoration: none; }
.lpca-myatt__head h3 a:hover { text-decoration: underline; }
.lpca-myatt__sum { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lpca-myatt__pct { font-weight: 700; margin-right: 6px; font-size: 15px !important; }
.lpca-myatt__scroll { overflow-x: auto; }
body table.lpca-myatt__table { width: 100% !important; margin: 0 !important; border-collapse: collapse !important; border: 0 !important; font-size: 14px; background: #fff; }
body table.lpca-myatt__table th, body table.lpca-myatt__table td { padding: 12px 18px !important; border: 0 !important; border-bottom: 1px solid #f0f0f0 !important; text-align: left !important; vertical-align: middle; background: transparent !important; }
body table.lpca-myatt__table th { font-size: 13px; font-weight: 600; color: #6b7280; background: #f9fafb !important; text-transform: none !important; letter-spacing: normal !important; }
body table.lpca-myatt__table tbody tr:last-child td { border-bottom: 0 !important; }
.lpca-myatt__table tr.is-future td { color: #9ca3af; }
.lpca-myatt__time { display: block; font-size: 12px; color: #9ca3af; }
.lpca-mst { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: #f3f4f6; color: #374151; }
.lpca-mst--present { background: #e7f6e9; color: #166534; }
.lpca-mst--late { background: #fff7e6; color: #b45309; }
.lpca-mst--absent { background: #fee2e2; color: #991b1b; }
.lpca-mst--excused { background: #eef1ff; color: #4338ca; }
.lpca-mst--none { background: #f3f4f6; color: #6b7280; }
.lpca-mst--upcoming { background: transparent; color: #9ca3af; border: 1px dashed #d1d5db; }
@container (max-width: 560px) {
	.lpca-myatt__table thead { display: none; }
	.lpca-myatt__table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 16px; border-bottom: 1px solid #f0f0f0; }
	body table.lpca-myatt__table td { padding: 0 !important; border: 0 !important; }
	.lpca-myatt__table td:nth-child(3) { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
	.lpca-myatt__table td:first-child { font-weight: 600; }
}

/* =========================================================================
 * "My QR codes" tab – active check-in codes
 * ========================================================================= */
.lpca-myqr { max-width: 1000px; container-type: inline-size; }
.lpca-myqr__intro { margin: 0 0 20px; color: #4b5563; }
body .lpca-myqr h3.lpca-myqr__h { margin: 26px 0 12px !important; font-size: 17px !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: normal !important; }
body .lpca-myqr h3.lpca-myqr__h:first-of-type { margin-top: 0 !important; }
.lpca-myqr__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.lpca-myqr__grid--now { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.lpca-myqr__card { display: flex; flex-direction: column; align-items: stretch; gap: 14px; min-width: 0; padding: 18px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
.lpca-myqr__card.is-now { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "info code" "info open"; gap: 10px 22px; align-items: center; border-color: #86efac; box-shadow: 0 0 0 3px #dcfce7; }
.lpca-myqr__card.is-now .lpca-myqr__info { grid-area: info; }
.lpca-myqr__card.is-now .lpca-myqr__code { grid-area: code; }
.lpca-myqr__card.is-now .lpca-myqr__open { grid-area: open; justify-self: center; }
.lpca-myqr__card.is-done { background: #f9fafb; }
.lpca-myqr__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lpca-myqr__course { font-size: 16px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.lpca-myqr__title { font-weight: 500; }
.lpca-myqr__meta { font-size: 13px; color: #6b7280; }
.lpca-myqr__badge { align-self: flex-start; margin-top: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #f3f4f6; color: #4b5563; }
.lpca-myqr__badge.is-now { background: #dcfce7; color: #166534; }
.lpca-myqr__badge.is-ok { background: #e7f6e9; color: #166534; }
.lpca-myqr__code { display: flex; justify-content: center; }
.lpca-myqr__code svg { display: block; max-width: 100%; height: auto; border-radius: 8px; border: 1px solid #f0f0f0; }
.lpca-myqr__card:not(.is-now) .lpca-myqr__code svg { width: 160px; }
body a.lpca-myqr__open { align-self: center; font-size: 14px; font-weight: 600; color: #2563eb !important; text-decoration: none !important; }
body a.lpca-myqr__open:hover { text-decoration: underline !important; }
.lpca-myqr__empty { display: flex; flex-direction: column; gap: 6px; padding: 28px 20px; text-align: center; color: #6b7280; border: 1px dashed #e5e7eb; border-radius: 12px; }
.lpca-myqr__empty strong { color: #1f2937; }
@container (max-width: 560px) {
	.lpca-myqr__card.is-now { grid-template-columns: minmax(0, 1fr); grid-template-areas: "info" "code" "open"; }
}
