.access-invitation{display:block;margin:16px 0 22px;padding:18px 22px;border:1px solid #96bea9;border-left:5px solid #27714e;border-radius:16px;background:#edf6ef;color:#183e2c;font:16px/1.55 system-ui,sans-serif}.access-invitation strong{font-size:18px}.access-invitation p{margin:6px 0 0}.access-invitation a{color:#125e36;text-decoration:underline;font-weight:750;text-underline-offset:3px}.question-social{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:18px 0 8px;padding-top:14px;border-top:1px solid #a7bcb3}.question-share-button,.question-share-dialog button,.shared-question button{border:1px solid #8eaf9d;border-radius:11px;min-height:44px;padding:9px 15px;color:#163e2b;background:#f1f7f3;font:650 15px/1.4 system-ui;cursor:pointer}.question-answer-frequency{flex-basis:100%;font:14px/1.5 system-ui;color:#416457;margin:2px 0}.question-share-dialog{background:#fff;color:#183e2c;border:1px solid #91b5a1;border-radius:22px;max-width:500px;width:calc(100% - 28px);padding:24px}.question-share-dialog::backdrop{background:#0c261bb3}.question-share-dialog p{line-height:1.6}.question-share-links{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.question-share-links a{padding:12px;background:#e8f3ec;border-radius:10px;color:#185234}.shared-question{max-width:840px;margin:40px auto;padding:28px;font:18px/1.65 system-ui;color:#183e2c;background:#fff;border:1px solid #bdd2c5;border-radius:24px}.shared-question h1{font-size:clamp(24px,4vw,34px);line-height:1.4}.shared-question a{color:#216543}.shared-question-form{display:grid;gap:12px}.shared-question-form label{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #b3cabb;border-radius:12px;cursor:pointer}.shared-question-form label:nth-child(even){background:#edf5f0}.shared-question input{font:inherit;max-width:100%;padding:10px}.shared-question input[type=radio],.shared-question input[type=checkbox]{width:22px;height:22px;flex-shrink:0}.shared-feedback{padding:16px;margin-top:18px;border-radius:14px;white-space:pre-line}.shared-feedback.correct{background:#dcf2e1}.shared-feedback.wrong{background:#fce1df}.question-kicker{font-size:13px;letter-spacing:.1em;color:#536f62}body:not(.light) .question-social .question-share-button{background:#204235;color:#effaf3;border-color:#669980}body:not(.light) .question-answer-frequency{color:#bddecd}.shared-question .question-answer-frequency{color:#416457}body:not(.light) .access-invitation{background:#173c2c;color:#e1f3e8;border-color:#6d9f83}body:not(.light) .access-invitation a{color:#9bf0ba}@media(max-width:600px){.shared-question{margin:12px;padding:20px}.question-social{gap:8px}.question-share-button{flex:1}.access-invitation{font-size:15px;padding:15px}}

.demo-notice {
    box-sizing: border-box;
    width: min(1280px, calc(100% - 32px));
    margin: 16px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    text-align: left;
}
.demo-notice > div:first-child { flex: 1 1 340px; }
.demo-notice p { margin: .3rem 0 0; }
.demo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 15px; }
.access-invitation .demo-register {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 0 15px;
    border-radius: 9px;
    font-weight: 700;
    background: #136248;
    color: #fff;
    text-decoration: none;
}
body:not(.light) .access-invitation .demo-register { background: #a7edc4; color: #12412f; }
.demo-actions a:focus-visible, .demo-lab :focus-visible, .demo-molecule :focus-visible,
.demo-course :focus-visible { outline: 3px solid #2a8974; outline-offset: 3px; }
.demo-lab { width: min(100% - 32px, 1100px); margin: 24px auto; text-align: left; }
.demo-lab h1 { margin: 0 0 18px; }
.demo-lab .demo-notice { width: 100%; }
.demo-map-nav, .demo-course .course-extra { display: flex; flex-wrap: wrap; gap: 8px 15px; align-items: center; }
.demo-map-nav { margin-bottom: 22px; }
.demo-map-nav a { color: #155c45; padding: 8px 0; }
body:not(.light) .demo-map-nav a { color: #aaf3c9; }
.demo-exercises, .demo-map-stops { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); }
.demo-exercise, .demo-stop, .demo-molecule {
    min-inline-size: 0;
    margin: 0;
    padding: 16px;
    color: #183a2d;
    background: #f1f8f4;
    border: 1px solid #b8d6c6;
    border-radius: 14px;
}
.demo-exercise legend { width: 100%; padding: 0 4px; font-weight: 700; }
.demo-exercise label { display: flex; align-items: center; gap: 8px; min-height: 42px; margin-bottom: 4px; cursor: pointer; }
.demo-exercise input { width: 18px; height: 18px; flex: 0 0 18px; accent-color: #156349; }
.demo-exercise button, .demo-course button, .demo-molecule select {
    min-height: 44px;
    padding: 8px 12px;
    color: #183a2d;
    background: #fff;
    border: 1px solid #70a68f;
    border-radius: 9px;
    font: inherit;
}
.demo-exercise button, .demo-course button { cursor: pointer; }
.demo-feedback { margin: 12px 0 0; }
.demo-feedback:empty { margin: 0; }
.demo-feedback[data-result="correct"] { color: #17573c; }
.demo-feedback[data-result="wrong"] { color: #8b2e21; }
.demo-stop summary { cursor: pointer; }
.demo-stop summary span, .demo-stop summary strong { display: block; }
.demo-stop summary span { font-size: .9em; }
.demo-stop h2 { font-size: 1.1em; }
.demo-molecule { max-width: 700px; }
.demo-molecule h2 { margin-top: 0; }
.demo-molecule select { display: block; margin-top: 8px; max-width: 100%; }
.demo-molecule-result { display: grid; gap: 5px; }
.demo-molecule-result strong { font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: .04em; }
.demo-course .course-extra a[aria-current="page"] { font-weight: 750; text-decoration: underline; }
body:not(.light) :is(.demo-exercise, .demo-stop, .demo-molecule) { color: #e5f8ed; background: #1c3b2f; border-color: #5a8673; }
body:not(.light) .demo-feedback[data-result="correct"] { color: #a7edc4; }
body:not(.light) .demo-feedback[data-result="wrong"] { color: #ffd0c7; }
@media (max-width: 560px) {
    .demo-notice { width: calc(100% - 24px); margin: 12px auto; gap: 10px; }
    .demo-lab { width: calc(100% - 24px); }
}
