.demo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto 24px;
    padding: 16px 20px;
    border: 1px solid #cbdff6;
    border-radius: 14px;
    background: #edf5ff;
    color: #244567;
    line-height: 1.6;
    font-size: 13px;
}
.demo-banner-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.demo-banner-heading strong { color: #075da8; font-size: 15px; }
.demo-banner-heading span { color: #56718e; font-size: 12px; }
.demo-banner-heading .demo-ai-status { padding: 1px 8px; border-radius: 6px; background: #daf1e6; color: #257153; }
.demo-banner p { margin: 3px 0 0; }
.demo-banner-actions { display: flex; align-items: center; flex-shrink: 0; gap: 14px; }
.demo-banner-actions button, .demo-toast button {
    font: inherit;
    padding: 7px 12px;
    border: 1px solid #c3d8ef;
    border-radius: 8px;
    background: #fff;
    color: #075da8;
    cursor: pointer;
}
.demo-banner-actions button:hover { background: #f6faff; }
.demo-banner-actions button:disabled { opacity: .6; cursor: wait; }
.demo-banner-actions a { color: #316c9f; text-decoration: none; white-space: nowrap; }
.demo-banner-actions a:hover { text-decoration: underline; }
.demo-page-note {
    max-width: 1200px;
    margin: -8px auto 24px;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #e8d99b;
    background: #fffbed;
    color: #786327;
    font-size: 13px;
    line-height: 1.7;
}
.demo-guide { margin: 0 0 24px; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; }
.demo-guide summary { padding: 16px 20px; color: #31506f; font-size: 14px; font-weight: 600; cursor: pointer; }
.demo-guide summary span { float: right; color: #8b96a5; font-size: 12px; font-weight: 400; }
.demo-guide-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 2px 20px 16px; }
.demo-guide-steps a { display: flex; align-items: flex-start; gap: 10px; color: inherit; text-decoration: none; }
.demo-guide-steps a:hover strong { color: #0071e3; }
.demo-guide-steps b { display: grid; place-items: center; flex: 0 0 26px; height: 26px; border-radius: 8px; background: #edf4ff; color: #0071e3; font-size: 13px; }
.demo-guide-steps strong { font-size: 13px; line-height: 26px; }
.demo-guide-steps p { margin: 3px 0 0; color: #7b8592; font-size: 12px; line-height: 1.7; }
.demo-guide-foot { margin: 0; padding: 0 20px 16px; color: #8b96a5; font-size: 12px; line-height: 1.6; }
.demo-footer { margin: 32px auto 0; padding: 16px; text-align: center; color: #7b8592; font-size: 12px; line-height: 1.9; }
.demo-footer a { color: inherit; }
.demo-toast { position: fixed; right: 24px; bottom: 24px; z-index: 11000; max-width: 440px; padding: 16px 20px; border: 1px solid #dae4ef; border-radius: 14px; background: #fff; box-shadow: 0 8px 32px #24456722; color: #244567; font: 14px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.demo-toast[hidden] { display: none; }
.demo-toast button { display: block; margin-top: 10px; }
.demo-board-note { margin: 16px 0; color: #7b8592; font-size: 13px; line-height: 1.7; }
.demo-board-open { margin-top: 14px; }
.demo-unfinished { padding: 64px 20px; text-align: center; color: #7b8592; }
.demo-unfinished h2 { color: #31506f; font-size: 20px; margin: 0 0 12px; }
.demo-unfinished p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.demo-mission-notes { margin-top: 26px; padding: 24px; border: 1px solid #cbdff6; border-radius: 14px; background: #f7fbff; }
.demo-mission-notes h2 { font-size: 19px; color: #244567; margin-bottom: 10px; }
.demo-mission-notes p, .demo-mission-notes dd { color: #6b7b8c; font-size: 14px; line-height: 1.8; }
.demo-mission-notes dt { color: #075da8; font-weight: 600; margin-top: 18px; font-size: 14px; }
.demo-concept-question { padding: 18px 0; border-bottom: 1px solid #dbe6f2; }
.demo-concept-question strong { display: block; color: #244567; font-size: 14px; margin-bottom: 12px; }
.demo-concept-feedback { margin-top: 12px; }
.demo-mission-notes button:disabled { opacity: .55; cursor: default; }
.demo-guide-buttons { display: flex; gap: 10px; padding: 0 20px 18px; flex-wrap: wrap; }
.demo-guide-buttons button { padding: 9px 15px; border: 1px solid #cbdff6; border-radius: 9px; background: #edf5ff; color: #075da8; cursor: pointer; font-size: 13px; }
.demo-presets { margin: 0 0 20px; padding: 18px; border: 1px solid #dbe6f2; border-radius: 14px; background: #fff; }
.demo-presets h2 { margin: 0 0 6px; color: #244567; font-size: 16px; }
.demo-presets > p { color: #7b8592; font-size: 12px; line-height: 1.7; margin-bottom: 13px; }
.demo-preset-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.demo-preset-card { padding: 13px; text-align: left; font: inherit; border: 1px solid #dbe6f2; border-radius: 10px; color: #31506f; background: #f8fafc; cursor: pointer; }
.demo-preset-card strong { display: block; font-size: 12px; line-height: 1.5; }
.demo-preset-card span { display: block; margin-top: 5px; font-size: 11px; color: #8b96a5; }
.demo-preset-card:hover, .demo-preset-card.selected { border-color: #7ab7ef; background: #edf5ff; }
.demo-preset-source { margin-top: 12px; font-size: 12px; }
.demo-preset-source a { color: #316c9f; }
.demo-tour-highlight { outline: 3px solid #0071e3 !important; outline-offset: 5px; border-radius: 8px; scroll-margin: 90px; }
.demo-tour-panel { position: fixed; z-index: 12000; padding: 20px; border: 1px solid #9fc8ef; border-radius: 16px; background: #fff; box-shadow: 0 10px 42px #24456726; max-height: calc(100vh - 28px); overflow-y: auto; font: 13px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #536a82; }
.demo-tour-panel[hidden] { display: none; }
.demo-tour-panel small { font-size: 11px; color: #8b96a5; }
.demo-tour-panel h2 { margin: 6px 0 10px; color: #244567; font-size: 17px; line-height: 1.5; }
.demo-tour-panel p { margin: 0 0 14px; }
.demo-tour-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.demo-tour-actions button, .demo-tour-go { padding: 7px 11px; border-radius: 8px; border: 1px solid #0071e3; background: #0071e3; color: #fff; font: inherit; text-decoration: none; cursor: pointer; }
.demo-tour-actions .secondary { border-color: #dbe6f2; color: #71869a; background: #f8fafc; font-size: 11px; }
.demo-tour-go[aria-disabled="true"] { color: #71869a; background: #f0f4f8; border-color: #dbe6f2; cursor: default; }
.demo-tour-wait { color: #996821; font-size: 12px; }
.demo-home-container { max-width: 1080px; margin: 0 auto; padding: 20px 32px 56px; }
.demo-home-hero { padding: 36px 0 32px; max-width: 760px; }
.demo-home-eyebrow { color: #0071e3; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.demo-home-hero h1 { color: #18324c; font-size: clamp(30px, 4vw, 49px); line-height: 1.25; letter-spacing: -.025em; margin: 18px 0; }
.demo-home-hero > p { color: #60758a; font-size: 16px; line-height: 1.9; max-width: 670px; margin: 0 0 22px; }
.demo-home-primary { display: inline-flex; align-items: center; gap: 22px; border-radius: 10px; padding: 14px 23px; background: #0071e3; color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; }
.demo-home-hero .demo-home-hint { font-size: 12px; margin-top: 14px; color: #8291a1; }
.demo-home-route { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 25px 0; border-top: 1px solid #e1e9f1; border-bottom: 1px solid #e1e9f1; }
.demo-home-route span { display: block; color: #97aec5; font-size: 13px; margin-bottom: 9px; }
.demo-home-route strong, .demo-home-grid strong { color: #31506f; font-size: 15px; }
.demo-home-route p, .demo-home-grid p { color: #7b8c9e; font-size: 13px; line-height: 1.8; margin: 7px 0 0; }
.demo-home-features { margin-top: 32px; }
.demo-home-features h2, .demo-home-complete h2 { font-size: 20px; color: #244567; margin-bottom: 18px; }
.demo-home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.demo-home-grid a { border: 1px solid #e1e9f1; padding: 19px; border-radius: 12px; text-decoration: none; background: #fff; }
.demo-home-grid a:hover { border-color: #9fc8ef; background: #f7fbff; }
.demo-home-status { color: #8291a1; font-size: 12px; line-height: 1.9; margin: 18px 0; }
.demo-home-complete { padding: 24px; border: 1px solid #cbdff6; border-radius: 14px; margin-top: 28px; background: #edf5ff; }
.demo-home-complete[hidden] { display: none; }
.demo-home-complete p { margin-bottom: 16px; color: #60758a; font-size: 14px; }
.demo-home-complete button { margin-left: 12px; padding: 10px 14px; border: 1px solid #cbdff6; border-radius: 8px; background: #fff; color: #316c9f; cursor: pointer; }
.demo-auto-save { color: #60758a; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }
.mm-demo-source { color: #60758a; font-size: 12px; line-height: 1.7; margin: 7px 0; }
.mm-demo-source a { color: #0071e3; margin-left: 8px; }
.mm-demo-preset-label { display: block; color: #31506f; font-size: 12px; margin-bottom: 5px; }
@media (max-width: 700px) {
    .demo-banner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; }
    .demo-banner-actions { width: 100%; justify-content: space-between; }
    .demo-banner-actions { flex-wrap: wrap; gap: 10px; }
    .demo-preset-grid { grid-template-columns: 1fr; }
    .demo-guide-steps { grid-template-columns: 1fr; gap: 15px; }
    .demo-guide summary { padding: 15px 16px; }
    .demo-guide-steps { padding-left: 16px; padding-right: 16px; }
    .demo-guide-foot { padding-left: 16px; padding-right: 16px; }
    .demo-toast { right: 14px; left: 14px; bottom: max(14px, env(safe-area-inset-bottom)); max-width: none; }
    .demo-home-container { padding: 10px 18px 36px; }
    .demo-home-route, .demo-home-grid { grid-template-columns: 1fr; }
    .demo-home-hero { padding-top: 20px; }
}
