/* Notice bar above the panel */
.demo-notice {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.25rem 1.5rem;
    padding: 0.4rem 1rem;
    font-size: 0.8125rem;
    color: white;
    background: rgb(17 24 39);
}

.demo-notice a {
    color: rgb(253 186 116);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.demo-notice-links {
    display: inline-flex;
    gap: 1rem;
}

.demo-notice a.demo-notice-buy {
    color: white;
    font-weight: 600;
}

/* お知らせのバーの言語のメニュー */
.demo-notice-lang select {
    padding: 0.1rem 1.6rem 0.1rem 0.5rem;
    font-size: 0.8125rem;
    color: white;
    background-color: rgb(31 41 55);
    border: 1px solid rgb(75 85 99);
    border-radius: 0.375rem;
}

.demo-notice-lang .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

/* ページの見出しの下：誰のための画面か */
.demo-intro {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding: 0.875rem 1.125rem;
    border-radius: 0.75rem;
    background: white;
    outline: 1px solid rgb(3 7 18 / 0.06);
    font-size: 0.875rem;
    line-height: 1.5rem;
}

.dark .demo-intro {
    background: rgb(255 255 255 / 0.04);
    outline-color: rgb(255 255 255 / 0.1);
}

.demo-intro-who {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    font-size: 0.9375rem;
}

.demo-intro-badge {
    display: inline-block;
    padding: 0.0625rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgb(220 252 231);
    color: rgb(21 128 61);
}

.demo-intro-run .demo-intro-who .demo-intro-badge,
.demo-intro-badge-run {
    background: rgb(254 243 199);
    color: rgb(180 83 9);
}

.demo-intro-front .demo-intro-who .demo-intro-badge,
.demo-intro-badge-front {
    background: rgb(224 242 254);
    color: rgb(3 105 161);
}

.dark .demo-intro-badge {
    background: rgb(22 101 52 / 0.4);
    color: rgb(134 239 172);
}

.dark .demo-intro-front .demo-intro-who .demo-intro-badge,
.dark .demo-intro-badge-front {
    background: rgb(7 89 133 / 0.4);
    color: rgb(186 230 253);
}

.dark .demo-intro-run .demo-intro-who .demo-intro-badge,
.dark .demo-intro-badge-run {
    background: rgb(146 64 14 / 0.4);
    color: rgb(253 230 138);
}

.demo-intro-toggle {
    margin-inline-start: auto;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgb(107 114 128);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.demo-intro-try {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.75rem;
}

.demo-intro-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgb(107 114 128);
}

.demo-intro-try ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    padding-inline-start: 1.1rem;
    list-style: decimal;
}

.demo-intro-admin {
    color: rgb(107 114 128);
}

.demo-intro-admin .demo-intro-badge {
    margin-inline-end: 0.375rem;
}

/* Tour page */
.demo-tour-section + .demo-tour-section {
    margin-top: 0.5rem;
}

.demo-tour-note {
    margin: -0.25rem 0 0.75rem;
    font-size: 0.875rem;
    color: rgb(107 114 128);
}

.demo-tour-heading {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgb(107 114 128);
}

.demo-tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    gap: 1rem;
}

.demo-tour-card {
    display: flex;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    background: white;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
    outline: 1px solid rgb(3 7 18 / 0.05);
    transition: outline-color 0.15s;
}

.demo-tour-card:hover {
    outline: 2px solid var(--primary-500);
}

.dark .demo-tour-card {
    background: rgb(255 255 255 / 0.05);
    outline-color: rgb(255 255 255 / 0.1);
}

.demo-tour-paths {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1rem;
}

.demo-tour-path {
    padding: 1.25rem 1.5rem;
}

.demo-tour-path .demo-tour-title {
    font-size: 1.125rem;
}

.demo-tour-steps {
    margin-top: 0.75rem;
    padding-inline-start: 1.25rem;
    list-style: decimal;
    font-size: 0.875rem;
    line-height: 1.5rem;
}

.demo-tour-button {
    display: inline-block;
    margin-top: 0.875rem;
    padding: 0.375rem 0.875rem;
    border-radius: 0.5rem;
    background: var(--primary-600);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
}

.demo-tour-widget-note {
    margin-top: 1rem;
}

.demo-tour-tip {
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    outline: 1px dashed rgb(3 7 18 / 0.12);
}

.dark .demo-tour-tip {
    outline-color: rgb(255 255 255 / 0.15);
}

.demo-tour-icon {
    flex: none;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary-500);
}

.demo-tour-title {
    font-weight: 600;
}

.demo-tour-card .demo-intro-badge {
    margin-bottom: 0.25rem;
}

.demo-tour-text {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: rgb(107 114 128);
}
