.jwsh-wrap,
.jwsh-wrap * {
    box-sizing: border-box;
}

.jwsh-wrap {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 24px 16px;
    overflow-x: hidden;
    background: #f8fafc;
    border: 1px solid #dbe3ea;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
    color: #1f2933;
    font-family: inherit;
    line-height: 1.5;
}

.jwsh-wrap img,
.jwsh-wrap iframe,
.jwsh-wrap video {
    max-width: 100%;
    height: auto;
}

.jwsh-wrap a {
    word-break: normal;
    overflow-wrap: break-word;
}

.jwsh-inline-link,
.jwsh-wrap .jwsh-inline-link:visited {
    color: #174ea6 !important;
    font-weight: 800;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.jwsh-inline-link:hover,
.jwsh-inline-link:focus {
    color: #123f86 !important;
}

.jwsh-wrap h1,
.jwsh-wrap h2,
.jwsh-wrap h3,
.jwsh-wrap h4,
.jwsh-wrap h5,
.jwsh-wrap h6,
.jwsh-wrap p,
.jwsh-wrap li,
.jwsh-wrap label,
.jwsh-wrap div {
    text-shadow: none;
}

.jwsh-hero,
.jwsh-login-card,
.jwsh-empty-card,
.jwsh-card,
.jwsh-workshop-card,
.jwsh-update-item,
.jwsh-form {
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    border: 1px solid #dbe3ea;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.jwsh-hero {
    padding: 28px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef5ff 100%);
}

.jwsh-kicker,
.jwsh-pill {
    display: inline-block;
    max-width: 100%;
    margin: 0 0 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e8f1ff;
    color: #174ea6;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.jwsh-hero h2,
.jwsh-section-heading h2,
.jwsh-section-heading h3,
.jwsh-card h4,
.jwsh-workshop-card h4,
.jwsh-update-item h4,
.jwsh-form h4,
.jwsh-login-card h2 {
    margin: 0 0 10px;
    color: #111827;
    line-height: 1.2;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.jwsh-hero h2 {
    font-size: clamp(28px, 4vw, 44px);
}

.jwsh-hero p,
.jwsh-section-heading p,
.jwsh-card p,
.jwsh-workshop-card p,
.jwsh-update-item p,
.jwsh-login-card p {
    margin: 0 0 14px;
}

.jwsh-section {
    clear: both;
    margin-top: 28px;
}

.jwsh-section-heading {
    margin-bottom: 14px;
}

.jwsh-section-heading h3 {
    font-size: clamp(23px, 3vw, 32px);
}

.jwsh-section-first {
    margin-top: 0;
}

.jwsh-main-heading h2 {
    margin: 0 0 10px;
    color: #111827;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
}

.jwsh-main-heading p {
    max-width: 980px;
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.55;
    color: #374151;
}

.jwsh-card-grid {
    display: grid;
    width: 100%;
    max-width: 100%;
    gap: 18px;
}

.jwsh-card-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jwsh-preview-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.jwsh-card-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jwsh-card,
.jwsh-empty-card,
.jwsh-login-card,
.jwsh-update-item,
.jwsh-form {
    padding: 22px;
}

.jwsh-card-copy {
    max-width: 100%;
    overflow-x: hidden;
}

.jwsh-card-copy p:last-child {
    margin-bottom: 0;
}

.jwsh-button,
.jwsh-wrap .jwsh-button:visited {
    display: inline-block;
    max-width: 100%;
    padding: 11px 16px;
    border: 0;
    border-radius: 10px;
    background: #174ea6;
    color: #ffffff !important;
    text-decoration: none !important;
    line-height: 1.2;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.jwsh-button:hover,
.jwsh-button:focus {
    background: #123f86;
    color: #ffffff !important;
}

.jwsh-button-small {
    padding: 8px 12px;
    font-size: 14px;
}

.jwsh-button-full {
    width: 100%;
}

.jwsh-workshop-card {
    display: table;
    table-layout: fixed;
    border-spacing: 18px;
    padding: 0;
    background: #f8fafc;
}

.jwsh-workshop-main,
.jwsh-workshop-form {
    display: table-cell;
    width: 50%;
    vertical-align: top;
    background: #ffffff;
    border-radius: 14px;
    padding: 22px;
}

.jwsh-meta {
    color: #4b5563;
}

.jwsh-soft-box {
    width: 100%;
    margin: 14px 0;
    padding: 14px;
    border-radius: 12px;
    background: #f3f6fa;
    color: #1f2933;
}

.jwsh-workshop-resource-module {
    width: 100%;
    margin: 14px 0;
    padding: 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #dbe3ea;
}

.jwsh-workshop-resource-heading {
    margin-bottom: 12px;
}

.jwsh-workshop-resource-heading p {
    margin: 6px 0 0;
    color: #4b5563;
}

.jwsh-workshop-resource-module .jwsh-card-grid,
.jwsh-workshop-resource-module .jwsh-card-grid-three,
.jwsh-workshop-resource-module .jwsh-card-grid-two {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.jwsh-workshop-resource-module .jwsh-card {
    padding: 16px;
    box-shadow: none;
}

.jwsh-rsvp-counts {
    width: 100%;
    margin-top: 14px;
}

.jwsh-rsvp-counts span {
    display: inline-block;
    margin: 4px 8px 4px 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: #edf2f7;
    font-size: 13px;
    font-weight: 700;
}

.jwsh-form label {
    display: block;
    width: 100%;
    margin: 0 0 13px;
    color: #111827;
    font-weight: 700;
}

.jwsh-form input,
.jwsh-form select,
.jwsh-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 42px;
    margin-top: 6px;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #111827;
    font: inherit;
}

.jwsh-form textarea {
    min-height: 90px;
    resize: vertical;
}

.jwsh-update-list {
    width: 100%;
}

.jwsh-update-item {
    margin-bottom: 16px;
}

.jwsh-update-date {
    margin-bottom: 6px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.jwsh-preview-image {
    width: 100%;
    margin: 0 0 14px;
    overflow: hidden;
    border-radius: 12px;
    background: #e5e7eb;
}

.jwsh-preview-image img {
    display: block;
    width: 100%;
    height: auto;
}

.jwsh-notice {
    width: 100%;
    margin: 0 0 16px;
    padding: 13px 16px;
    border-left: 4px solid #174ea6;
    border-radius: 10px;
    background: #eef5ff;
    color: #123f86;
    font-weight: 700;
}

@media screen and (max-width: 1500px) {
    .jwsh-preview-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media screen and (max-width: 1220px) {
    .jwsh-preview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 900px) {
    .jwsh-card-grid-three,
    .jwsh-card-grid-two,
    .jwsh-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jwsh-workshop-card,
    .jwsh-workshop-main,
    .jwsh-workshop-form {
        display: block;
        width: 100%;
    }

    .jwsh-workshop-card {
        border-spacing: 0;
        padding: 18px;
    }

    .jwsh-workshop-main {
        margin-bottom: 18px;
    }
}

@media screen and (max-width: 640px) {
    .jwsh-wrap {
        padding: 18px 12px;
    }

    .jwsh-hero,
    .jwsh-card,
    .jwsh-empty-card,
    .jwsh-login-card,
    .jwsh-update-item,
    .jwsh-form,
    .jwsh-workshop-main,
    .jwsh-workshop-form {
        padding: 18px;
        border-radius: 14px;
    }

    .jwsh-card-grid-three,
    .jwsh-card-grid-two,
    .jwsh-preview-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .jwsh-button {
        width: 100%;
        white-space: normal;
    }
}

.jwsh-form-note {
    margin: -2px 0 14px;
    color: #4b5563;
}

.jwsh-rsvp-options {
    width: 100%;
    margin: 0 0 16px;
}

.jwsh-form .jwsh-rsvp-choice {
    display: block;
    width: 100%;
    margin: 0 0 10px;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: #111827;
    cursor: pointer;
    font-weight: 700;
}

.jwsh-form .jwsh-rsvp-choice:hover,
.jwsh-form .jwsh-rsvp-choice-selected {
    border-color: #174ea6;
    background: #eef5ff;
}

.jwsh-form .jwsh-rsvp-choice input {
    display: inline-block;
    width: auto;
    max-width: none;
    min-height: 0;
    margin: 0 8px 0 0;
    padding: 0;
    vertical-align: middle;
}

.jwsh-form .jwsh-rsvp-choice span {
    vertical-align: middle;
}

.jwsh-optional {
    color: #64748b;
    font-size: 13px;
    font-weight: 400;
}

.jwsh-video-card .jwsh-button {
    margin-top: 4px;
}

.jwsh-faq-list {
    width: 100%;
}

.jwsh-faq-item {
    width: 100%;
    max-width: 100%;
    margin-bottom: 16px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #dbe3ea;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.jwsh-faq-item h4 {
    margin: 0 0 10px;
    color: #111827;
    line-height: 1.2;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.jwsh-faq-item-numbered {
    display: table;
    table-layout: fixed;
    width: 100%;
    border-left: 6px solid #f59e0b;
}

.jwsh-faq-number-cell,
.jwsh-faq-content-cell {
    display: table-cell;
    vertical-align: top;
}

.jwsh-faq-number-cell {
    width: 64px;
    padding-right: 16px;
}

.jwsh-faq-number {
    display: inline-block;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #174ea6;
    color: #ffffff;
    font-size: 20px;
    line-height: 44px;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 8px 18px rgba(23, 78, 166, 0.24);
}

.jwsh-faq-content-cell h4 {
    margin-bottom: 12px;
    font-size: clamp(18px, 1.55vw, 22px);
    line-height: 1.32;
}

.jwsh-faq-content-cell .jwsh-card-copy {
    color: #1f2933;
    font-size: clamp(16px, 1.25vw, 18px);
    line-height: 1.6;
}

.jwsh-faq-content-cell .jwsh-card-copy p,
.jwsh-faq-content-cell .jwsh-card-copy li {
    font-size: inherit;
    line-height: inherit;
}

.jwsh-agenda-box {
    width: 100%;
    margin: 18px 0;
    padding: 18px;
    border: 2px solid #174ea6;
    border-left: 7px solid #f59e0b;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef5ff 0%, #ffffff 100%);
    color: #1f2933;
    box-shadow: 0 10px 24px rgba(23, 78, 166, 0.10);
}

.jwsh-agenda-heading {
    display: inline-block;
    margin: 0 0 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #174ea6;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.jwsh-agenda-list {
    margin: 10px 0 0 22px;
    padding: 0;
}

.jwsh-agenda-list li {
    margin: 0 0 8px;
}

@media screen and (max-width: 640px) {
    .jwsh-faq-item {
        padding: 18px;
        border-radius: 14px;
    }

    .jwsh-faq-item-numbered,
    .jwsh-faq-number-cell,
    .jwsh-faq-content-cell {
        display: block;
        width: 100%;
    }

    .jwsh-faq-number-cell {
        padding-right: 0;
        margin-bottom: 12px;
    }

    .jwsh-faq-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
        line-height: 40px;
    }
}

.jwsh-hero-callout {
    margin: 14px 0 0 !important;
    padding: 16px 18px;
    border: 2px solid #f59e0b;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 50%, #e0f2fe 100%);
    color: #0f172a;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.45;
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.18);
}

.jwsh-workshop-resource-module {
    border: 3px solid #f59e0b;
    background: linear-gradient(135deg, #fff7ed 0%, #eff6ff 100%);
    box-shadow: 0 12px 30px rgba(23, 78, 166, 0.12);
}

.jwsh-workshop-resource-heading strong {
    display: inline-block;
    color: #111827;
    font-size: 18px;
}

.jwsh-workshop-resource-heading p {
    font-weight: 700;
    color: #174ea6;
}

.jwsh-resource-highlight-grid .jwsh-card {
    border: 2px solid #174ea6;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(23, 78, 166, 0.16);
}

.jwsh-resource-highlight-grid .jwsh-card h4 {
    color: #0f172a;
    font-size: 18px;
}

.jwsh-resource-highlight-grid .jwsh-card-copy {
    font-weight: 700;
    color: #1f2933;
}

.jwsh-resource-highlight-grid .jwsh-card-copy + p,
.jwsh-card-copy + p {
    margin-top: 16px;
}

.jwsh-hero-description {
    max-width: 900px;
    margin: 6px 0 0 !important;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 400;
}

.jwsh-workshop-feature-panel {
    width: 100%;
    margin: 0 0 18px;
    padding: 22px;
    border: 3px solid #174ea6;
    border-left: 8px solid #f59e0b;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #eef5ff 58%, #fff7ed 100%);
    box-shadow: 0 12px 30px rgba(23, 78, 166, 0.16);
}

.jwsh-workshop-feature-panel h4 {
    font-size: clamp(24px, 3vw, 34px);
    margin-bottom: 14px;
}

.jwsh-workshop-feature-panel .jwsh-meta {
    font-size: 18px;
    margin-bottom: 12px;
}

@media screen and (max-width: 640px) {
    .jwsh-workshop-feature-panel {
        padding: 18px;
        border-radius: 14px;
    }

    .jwsh-workshop-feature-panel .jwsh-meta {
        font-size: 16px;
    }
}

/* v2.0.5 structured agenda rows and student download button */
.jwsh-agenda-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.jwsh-agenda-topline .jwsh-agenda-heading {
    margin-bottom: 0;
}

.jwsh-agenda-download-button {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 999px;
    background: #f59e0b;
    color: #111827 !important;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 7px 16px rgba(245, 158, 11, 0.20);
}

.jwsh-agenda-download-button:hover,
.jwsh-agenda-download-button:focus {
    background: #d97706;
    color: #ffffff !important;
    text-decoration: none !important;
}

.jwsh-agenda-content {
    margin-top: 8px;
}

.jwsh-agenda-row {
    margin: 0 0 10px;
    color: #1f2933;
}

.jwsh-agenda-row-header {
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
    color: #174ea6;
}

.jwsh-agenda-row-header:first-child {
    margin-top: 0;
}

.jwsh-agenda-row-paragraph {
    font-size: 15px;
    line-height: 1.6;
}

.jwsh-agenda-row-item {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-spacing: 0;
}

.jwsh-agenda-item-number,
.jwsh-agenda-item-text {
    display: table-cell;
    vertical-align: top;
}

.jwsh-agenda-item-number {
    width: 34px;
    height: 26px;
    padding-top: 1px;
    color: #174ea6;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
}

.jwsh-agenda-item-text {
    font-size: 15px;
    line-height: 1.5;
}

@media screen and (max-width: 640px) {
    .jwsh-agenda-topline {
        align-items: flex-start;
    }

    .jwsh-agenda-download-button {
        width: 100%;
        text-align: center;
    }
}

.jwsh-current-custom-code {
    width: 100%;
    max-width: 100%;
    margin: 18px 0 0;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #dbe3ea;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.jwsh-current-custom-code h4 {
    margin: 0 0 10px;
    color: #111827;
    line-height: 1.2;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}


.jwsh-current-custom-code-field {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 12px;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #0f172a;
    color: #f8fafc;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 13px;
    line-height: 1.45;
    resize: vertical;
    overflow: auto;
    white-space: pre;
}

.jwsh-current-custom-code-copy {
    margin-top: 0;
}

.jwsh-current-custom-code-copy-status {
    min-height: 18px;
    margin: 8px 0 0;
    color: #166534;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
}

.jwsh-current-custom-code-copy-error {
    color: #b91c1c;
}

.jwsh-current-custom-code-timestamp {
    margin: 8px 0 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
}

.jwsh-current-custom-code-note {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
}

@media screen and (max-width: 640px) {
    .jwsh-current-custom-code {
        padding: 18px;
        border-radius: 14px;
    }

    .jwsh-current-custom-code-field {
        font-size: 12px;
    }
}

.jwsh-current-custom-code-copy-status:empty {
    display: none;
}
