
            /* Design System variables & tokens inspired by Stretch Figma theme */
            .stretch-wrapper {
                --stretch-bg: #111317;
                --stretch-card-bg: #1c1f26;
                --stretch-text-primary: #ffffff;
                --stretch-text-secondary: #9ea3ae;
                --stretch-accent: #2bbfb3;
                --stretch-accent-hover: #229990;
                --stretch-border: #2c303b;
                --stretch-morning-color: #ffd043;
                --stretch-evening-color: #8c52ff;
                
                background-color: var(--stretch-bg);
                color: var(--stretch-text-primary);
                font-family: 'Rubik', sans-serif;
                padding: 20px;
                border-radius: 12px;
                max-width: 1400px;
                margin: 0 auto;
                box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            }

            .stretch-hero {
                position: relative;
                width: 100%;
                border-radius: 10px;
                overflow: hidden;
                margin-bottom: 30px;
                border: 1px solid var(--stretch-border);
            }

            .stretch-hero img {
                width: 100%;
                height: auto;
                max-height: 280px;
                object-fit: cover;
                display: block;
            }

            .stretch-dashboard-toggle {
                position: absolute;
                bottom: 15px;
                left: 15px;
                background-color: rgba(28, 31, 38, 0.85);
                color: var(--stretch-text-primary);
                border: 1px solid var(--stretch-accent);
                padding: 8px 16px;
                border-radius: 6px;
                cursor: pointer;
                font-weight: 500;
                display: flex;
                align-items: center;
                gap: 8px;
                transition: all 0.3s ease;
            }

            .stretch-dashboard-toggle:hover {
                background-color: var(--stretch-accent);
                color: #000;
            }

            .stretch-header-row {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 15px;
                border-bottom: 2px solid var(--stretch-border);
                padding-bottom: 10px;
            }

            .stretch-table-title {
                font-size: 1.5rem;
                font-weight: 700;
                margin: 0;
                color: var(--stretch-accent);
            }

            .stretch-print-btn {
                background-color: transparent;
                border: 1px solid var(--stretch-text-secondary);
                color: var(--stretch-text-secondary);
                padding: 6px 12px;
                border-radius: 4px;
                cursor: pointer;
                transition: all 0.2s ease;
                display: flex;
                align-items: center;
                gap: 5px;
            }

            .stretch-print-btn:hover {
                color: var(--stretch-text-primary);
                border-color: var(--stretch-text-primary);
            }

            /* Responsive Grid system */
            .stretch-grid-container {
                display: grid;
                grid-template-columns: repeat(7, 1fr);
                gap: 12px;
                margin-bottom: 40px;
            }

            .stretch-day-column {
                background-color: var(--stretch-card-bg);
                border-radius: 8px;
                padding: 10px;
                display: flex;
                flex-direction: column;
                border: 1px solid var(--stretch-border);
            }

            .stretch-day-header {
                text-align: center;
                font-weight: 700;
                font-size: 1.1rem;
                padding-bottom: 8px;
                border-bottom: 1px solid var(--stretch-border);
                margin-bottom: 12px;
                color: var(--stretch-text-primary);
            }

            /* Morning and Evening separation layout */
            .stretch-zone-title {
                font-size: 0.75rem;
                text-transform: uppercase;
                letter-spacing: 1px;
                font-weight: 700;
                padding: 4px 8px;
                border-radius: 4px;
                text-align: center;
                margin: 10px 0 6px 0;
            }

            .stretch-zone-title.morning {
                background-color: rgba(255, 208, 67, 0.15);
                color: var(--stretch-morning-color);
                border: 1px solid rgba(255, 208, 67, 0.3);
            }

            .stretch-zone-title.evening {
                background-color: rgba(140, 82, 255, 0.15);
                color: var(--stretch-evening-color);
                border: 1px solid rgba(140, 82, 255, 0.3);
            }

            .stretch-zone-list {
                display: flex;
                flex-direction: column;
                gap: 8px;
                min-height: 50px;
            }

            /* Workout card within grid */
            .stretch-workout-card {
                border-radius: 6px;
                padding: 10px;
                text-align: center;
                border-right: 5px solid transparent;
                box-shadow: 0 4px 6px rgba(0,0,0,0.15);
                transition: transform 0.2s ease;
            }

            .stretch-workout-card:hover {
                transform: translateY(-2px);
            }

            .stretch-card-title {
                font-size: 0.95rem; /* 10% larger than other details */
                font-weight: 700;
                margin-bottom: 4px;
                color: var(--stretch-text-primary);
                line-height: 1.2;
            }

            .stretch-card-time {
                font-size: 0.8rem;
                font-weight: 500;
                margin-bottom: 4px;
                opacity: 0.9;
            }

            .stretch-card-teacher {
                font-size: 0.8rem;
                font-weight: 400;
                opacity: 0.8;
                margin-bottom: 2px;
            }

            .stretch-card-note {
                font-size: 0.7rem;
                font-style: italic;
                opacity: 0.6;
            }

            /* Three Bottom Banners */
            .stretch-banners-grid {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 20px;
                margin: 40px 0 20px 0;
            }

            .stretch-banner-item {
                border-radius: 8px;
                overflow: hidden;
                border: 1px solid var(--stretch-border);
                transition: border-color 0.3s ease;
            }

            .stretch-banner-item:hover {
                border-color: var(--stretch-accent);
            }

            .stretch-banner-item img {
                width: 100%;
                height: 120px;
                object-fit: cover;
                display: block;
            }

            /* Dashboard Styling */
            .stretch-modal {
                position: fixed;
                z-index: 100000;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                overflow: auto;
                background-color: rgba(0,0,0,0.8);
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .stretch-modal-content {
                background-color: var(--stretch-card-bg);
                margin: auto;
                padding: 25px;
                border: 1px solid var(--stretch-border);
                width: 90%;
                max-width: 900px;
                border-radius: 12px;
                box-shadow: 0 5px 25px rgba(0,0,0,0.5);
                max-height: 90vh;
                overflow-y: auto;
            }

            .stretch-modal-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                border-bottom: 1px solid var(--stretch-border);
                padding-bottom: 10px;
                margin-bottom: 20px;
            }

            .stretch-modal-header h2 {
                margin: 0;
                font-size: 1.4rem;
                color: var(--stretch-accent);
            }

            .stretch-close {
                color: var(--stretch-text-secondary);
                font-size: 28px;
                font-weight: bold;
                cursor: pointer;
            }

            .stretch-close:hover {
                color: var(--stretch-text-primary);
            }

            .stretch-login-zone {
                text-align: center;
                padding: 40px 20px;
            }

            .stretch-login-row {
                display: flex;
                justify-content: center;
                gap: 10px;
                margin-top: 15px;
            }

            .stretch-login-row input {
                background-color: var(--stretch-bg);
                border: 1px solid var(--stretch-border);
                color: #fff;
                padding: 10px;
                border-radius: 6px;
                width: 250px;
            }

            .stretch-tabs {
                display: flex;
                border-bottom: 1px solid var(--stretch-border);
                margin-bottom: 20px;
                gap: 10px;
            }

            .stretch-tab-btn {
                background: none;
                border: none;
                color: var(--stretch-text-secondary);
                padding: 10px 15px;
                cursor: pointer;
                font-size: 1rem;
                font-weight: 500;
                border-bottom: 2px solid transparent;
            }

            .stretch-tab-btn.active {
                color: var(--stretch-accent);
                border-bottom-color: var(--stretch-accent);
            }

            .stretch-form-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
                gap: 15px;
                margin-bottom: 20px;
            }

            .stretch-form-grid label {
                display: block;
                font-size: 0.85rem;
                color: var(--stretch-text-secondary);
                margin-bottom: 5px;
            }

            .stretch-form-grid input, .stretch-form-grid select {
                width: 100%;
                background-color: var(--stretch-bg);
                border: 1px solid var(--stretch-border);
                color: #fff;
                padding: 8px 12px;
                border-radius: 6px;
                box-sizing: border-box;
            }

            .stretch-btn {
                background-color: var(--stretch-accent);
                color: #000;
                border: none;
                padding: 10px 20px;
                border-radius: 6px;
                cursor: pointer;
                font-weight: 600;
                transition: background-color 0.2s;
            }

            .stretch-btn:hover {
                background-color: var(--stretch-accent-hover);
            }

            .stretch-btn-primary {
                background-color: #3498db;
                color: #fff;
            }
            .stretch-btn-primary:hover {
                background-color: #2980b9;
            }

            .stretch-btn-success {
                background-color: #2ecc71;
                color: #fff;
            }
            .stretch-btn-success:hover {
                background-color: #27ae60;
            }

            .stretch-btn-danger {
                background-color: #e74c3c;
                color: #fff;
                padding: 4px 8px;
                font-size: 0.85rem;
            }
            .stretch-btn-danger:hover {
                background-color: #c0392b;
            }

            .stretch-admin-table {
                width: 100%;
                border-collapse: collapse;
                margin-top: 15px;
            }

            .stretch-admin-table th, .stretch-admin-table td {
                border-bottom: 1px solid var(--stretch-border);
                padding: 10px;
                text-align: right;
            }

            .stretch-admin-table th {
                color: var(--stretch-text-secondary);
                font-weight: 600;
            }

            .stretch-workouts-list-scroll {
                max-height: 250px;
                overflow-y: auto;
                border: 1px solid var(--stretch-border);
                border-radius: 6px;
                padding: 5px;
            }

            .stretch-field-group {
                margin-bottom: 15px;
            }

            .stretch-field-group label {
                display: block;
                font-size: 0.9rem;
                margin-bottom: 5px;
                color: var(--stretch-text-secondary);
            }

            .stretch-field-group input {
                width: 100%;
                background-color: var(--stretch-bg);
                border: 1px solid var(--stretch-border);
                color: #fff;
                padding: 8px 12px;
                border-radius: 6px;
                box-sizing: border-box;
                margin-bottom: 10px;
            }

            .stretch-modal-footer {
                display: flex;
                align-items: center;
                gap: 15px;
                margin-top: 25px;
                border-top: 1px solid var(--stretch-border);
                padding-top: 15px;
            }

            .stretch-error-msg {
                color: #e74c3c;
                font-size: 0.9rem;
                margin-top: 10px;
            }

            /* Professional Footer */
            .stretch-footer {
                margin-top: 40px;
                padding-top: 20px;
                border-top: 1px solid var(--stretch-border);
                text-align: center;
                color: var(--stretch-text-secondary);
                font-size: 0.85rem;
            }

            .stretch-footer a {
                color: var(--stretch-accent);
                text-decoration: none;
                font-weight: bold;
            }

            .stretch-footer a:hover {
                text-decoration: underline;
            }

            /* Mobile Responsiveness & No Scroll View */
            @media (max-width: 1024px) {
                .stretch-grid-container {
                    grid-template-columns: repeat(7, 1fr);
                    gap: 6px;
                }
                .stretch-day-column {
                    padding: 4px;
                }
                .stretch-day-header {
                    font-size: 0.85rem;
                }
                .stretch-workout-card {
                    padding: 6px 4px;
                }
                .stretch-card-title {
                    font-size: 0.8rem;
                }
                .stretch-card-time {
                    font-size: 0.7rem;
                }
                .stretch-card-teacher {
                    font-size: 0.65rem;
                }
                .stretch-card-note {
                    font-size: 0.55rem;
                }
                .stretch-zone-title {
                    font-size: 0.65rem;
                    padding: 2px 4px;
                }
            }

            @media (max-width: 768px) {
                .stretch-wrapper {
                    padding: 10px;
                }
                .stretch-grid-container {
                    gap: 4px;
                }
                .stretch-day-header {
                    font-size: 0.75rem;
                    padding-bottom: 4px;
                    margin-bottom: 6px;
                }
                .stretch-workout-card {
                    padding: 4px 2px;
                    border-radius: 4px;
                }
                .stretch-card-title {
                    font-size: 0.7rem;
                }
                .stretch-card-time {
                    font-size: 0.6rem;
                }
                .stretch-card-teacher, .stretch-card-note {
                    display: none; /* Hide supplementary metadata on small mobile screens to keep without scrolling */
                }
                .stretch-zone-title {
                    font-size: 0.55rem;
                    letter-spacing: 0px;
                }
                .stretch-banners-grid {
                    grid-template-columns: 1fr;
                }
            }


.stretch-wrapper,.stretch-wrapper *{box-sizing:border-box}
.stretch-wrapper .stretch-workout-card{background-color:rgba(44,48,59,.4)}
.stretch-wrapper .ss-manage{text-align:left;margin-bottom:16px}
.stretch-wrapper .ss-manage a{color:var(--stretch-accent);text-decoration:underline}
.stretch-wrapper .ss-refresh-status{font-size:12px;color:var(--stretch-text-secondary)}
.stretch-wrapper button{cursor:pointer}
.stretch-wrapper .stretch-card-time{direction:ltr}
@media print {
body.ss-printing *{visibility:hidden!important}
body.ss-printing .ss-print-target,body.ss-printing .ss-print-target *{visibility:visible!important}
body.ss-printing .ss-print-target{position:absolute!important;inset:0!important;width:100%!important;background:white!important;color:black!important;direction:rtl}
body.ss-printing .ss-print-target .no-print{display:none!important}
body.ss-printing .ss-print-target .stretch-grid-container{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:6px}
body.ss-printing .ss-print-target .stretch-workout-card,body.ss-printing .ss-print-target .stretch-day-column{background:white!important;color:black!important;break-inside:avoid}
body.ss-printing .ss-print-target .stretch-card-title,body.ss-printing .ss-print-target .stretch-table-title{color:black!important}
body.ss-printing .ss-print-target .stretch-card-teacher,body.ss-printing .ss-print-target .stretch-card-note{display:block!important}
}
.ss-print-holder{display:none!important}
@media print{body.ss-printing .ss-print-holder{display:block!important;position:absolute!important;inset:0!important;max-width:none!important;margin:0!important;padding:0!important}}
@media print {
body.ss-printing > :not(.ss-print-holder){display:none!important}
body.ss-printing .ss-print-holder,body.ss-printing .ss-print-target{position:static!important;inset:auto!important;height:auto!important}
}
/* Version 1.3: full surface colors, category cards and 4:3 banner imagery. */
.stretch-wrapper .stretch-print-section{background:var(--stretch-table-bg,#111317);padding:16px;border-radius:10px;margin-bottom:24px}
.stretch-wrapper .stretch-day-column{background:var(--stretch-card-bg,#1c1f26)}
.stretch-wrapper .stretch-zone-title.morning{background:var(--stretch-morning-bg,#3e3b2a);color:var(--stretch-morning-color,#ffd043)}
.stretch-wrapper .stretch-zone-title.evening{background:var(--stretch-evening-bg,#2d2747);color:var(--stretch-evening-color,#b195ff)}
.stretch-wrapper .stretch-workout-card{background:var(--stretch-class-color,#2bbfb3)!important;border-right-color:var(--stretch-class-color,#2bbfb3);color:#fff!important}
.stretch-wrapper .stretch-workout-card *{color:#fff!important;opacity:1}
.stretch-wrapper .stretch-banner-item{background:var(--stretch-banner-bg,#1c1f26);height:auto;align-self:stretch}
.stretch-wrapper .stretch-banner-item>a{display:block}
.stretch-wrapper .stretch-banner-item img{display:block;width:100%;height:auto!important;max-height:none;aspect-ratio:4/3;object-fit:cover}
.stretch-wrapper .ss-banner-caption{padding:18px;text-align:right;color:var(--stretch-banner-text,#fff)}
.stretch-wrapper .ss-banner-caption h3{font-size:1.15rem;line-height:1.4;margin:0 0 8px;color:inherit}
.stretch-wrapper .ss-banner-caption p{font-size:1rem;line-height:1.65;margin:0;white-space:pre-line;color:inherit;overflow-wrap:anywhere}
@media print {
body.ss-printing .ss-print-target .stretch-workout-card{background:var(--stretch-class-color,#2bbfb3)!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
body.ss-printing .ss-print-target .stretch-workout-card *{color:#fff!important}
}
