/* ============================================================
   Test Desk (TD) — Test Page Styles (v14 — bridge-aware)
   File Path : assets/css/test.css
   ============================================================ */

/* ------------------------------------------------------------
   Base
------------------------------------------------------------ */
body.td-test-page {
    background: #f5faff;
    padding-bottom: 160px;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Noto Sans Devanagari", "Hind", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.td-test-page.test-palette-open {
    overflow: hidden;
}

/* ------------------------------------------------------------
   Sticky Header
------------------------------------------------------------ */
.test-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: linear-gradient(135deg, #4aa3e0 0%, #7cc6f0 100%);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(20, 80, 140, 0.18);
    padding: 8px 12px 10px;
}

.test-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.test-exit-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 18px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s ease;
}
.test-exit-btn:hover { background: rgba(255, 255, 255, 0.32); }
.test-exit-btn:active { transform: scale(0.94); }

.test-header-title {
    flex: 1;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.test-header-timer {
    flex-shrink: 0;
    text-align: right;
}

.test-timer-label {
    font-size: 9.5px;
    letter-spacing: 0.4px;
    opacity: 0.9;
    text-transform: uppercase;
    line-height: 1;
}

.test-timer-value {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.test-timer-value.warn   { color: #fff6b8; }
.test-timer-value.danger { color: #ffd3d3; animation: blinkFast 1s infinite; }

@keyframes blinkFast {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.5; }
}

.test-progress-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    margin: 8px 0 6px;
    overflow: hidden;
}
.test-progress-fill {
    height: 100%;
    background: #ffffff;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.test-header-sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
}

.test-q-counter strong { font-weight: 700; color: #ffffff; }

/* ============================================================
   PER-QUESTION TIMER
============================================================ */
.test-q-timer {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    background: rgba(255, 255, 255, 0.20);
    padding: 5px 14px;
    border-radius: 22px;
    font-variant-numeric: tabular-nums;
    transition: background 0.25s ease, box-shadow 0.25s ease,
                border-color 0.25s ease;
    border: 1.5px solid transparent;
}

.test-q-timer-inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.test-q-timer-hint {
    display: none;
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.2px;
    line-height: 1.2;
    opacity: 0.95;
    white-space: nowrap;
    text-align: right;
    color: #d6f5c8;
}
.test-q-timer-hint.show { display: block; }
.test-q-timer-hint.hint-carry { color: #d6f5c8; }

.test-q-timer-label {
    font-size: 11px;
    opacity: 0.95;
    font-weight: 500;
}

.test-q-timer-value {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.4px;
    min-width: 44px;
    text-align: center;
    transition: color 0.2s ease;
}

.test-q-timer.state-green {
    background: rgba(34, 160, 107, 0.28);
    border-color: rgba(34, 160, 107, 0.55);
}
.test-q-timer.state-green .test-q-timer-value { color: #b8f0d4; }

.test-q-timer.state-yellow {
    background: rgba(160, 130, 20, 0.55);
    border-color: #d4b13a;
    animation: pulseYellow 1.2s infinite;
}
.test-q-timer.state-yellow .test-q-timer-value { color: #fff2a8; }
.test-q-timer.state-yellow .test-q-timer-hint  { color: #fff2a8; }

@keyframes pulseYellow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 177, 58, 0.6); }
    50%      { box-shadow: 0 0 0 6px rgba(212, 177, 58, 0); }
}

.test-q-timer.state-orange {
    background: rgba(217, 120, 20, 0.65);
    border-color: #f0a04b;
    animation: pulseOrange 0.9s infinite;
}
.test-q-timer.state-orange .test-q-timer-value { color: #ffe0b8; }
.test-q-timer.state-orange .test-q-timer-hint  { color: #ffe0b8; }

@keyframes pulseOrange {
    0%, 100% { box-shadow: 0 0 0 0 rgba(240, 160, 75, 0.7); }
    50%      { box-shadow: 0 0 0 7px rgba(240, 160, 75, 0); }
}

.test-q-timer.state-red {
    background: rgba(217, 50, 50, 0.75);
    border-color: #ff6b6b;
    animation: pulseRed 0.7s infinite;
}
.test-q-timer.state-red .test-q-timer-value { color: #ffffff; }
.test-q-timer.state-red .test-q-timer-hint  { color: #ffdede; }

@keyframes pulseRed {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.9); }
    50%      { box-shadow: 0 0 0 8px rgba(255, 107, 107, 0); }
}

/* ------------------------------------------------------------
   Loading
------------------------------------------------------------ */
.test-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    min-height: 50vh;
}

.test-loading-spinner {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid #dbe9f4;
    border-top-color: #4aa3e0;
    animation: spin 0.9s linear infinite;
    margin-bottom: 14px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.test-loading-text {
    color: #4a6483;
    font-size: 14px;
}

.test-loading-error {
    text-align: center;
    padding: 20px;
    color: #b83b3b;
    font-size: 14px;
    line-height: 1.6;
}
.test-loading-error a {
    display: inline-block;
    margin-top: 14px;
    color: #0b5cab;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 18px;
    border: 1.5px solid #cbe3f6;
    border-radius: 10px;
    background: #eef6fd;
}
.test-loading-error a:hover { background: #d7ebfa; }

/* ------------------------------------------------------------
   Test Body
------------------------------------------------------------ */
.test-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 16px 14px;
}

.test-section-label {
    display: none;
    background: linear-gradient(135deg, #e7f4ff 0%, #d5ebfb 100%);
    border: 1px solid #cbe3f6;
    color: #0b4a85;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.test-section-label[style*="display: inline-block"],
.test-section-label:not([style*="display: none"]) {
    display: inline-block;
}

.test-question-card {
    background: #ffffff;
    border: 1px solid #dbe9f4;
    border-radius: 14px;
    padding: 18px 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(20, 80, 140, 0.06);
}

.test-q-text {
    font-size: 16.5px;
    font-weight: 500;
    line-height: 1.6;
    color: #1a2b45;
}

/* ------------------------------------------------------------
   Options
------------------------------------------------------------ */
.test-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.test-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #dbe9f4;
    border-radius: 12px;
    padding: 14px 16px;
    text-align: left;
    font-family: inherit;
    font-size: 15.5px;
    color: #1a2b45;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease,
                transform 0.1s ease, box-shadow 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.test-option:hover { border-color: #b6d8f0; background: #fafdff; }
.test-option:active { transform: scale(0.995); }

.test-option.selected {
    border-color: #22a06b;
    background: linear-gradient(135deg, #e7f8f0 0%, #d6f2e5 100%);
    box-shadow: 0 3px 12px rgba(34, 160, 107, 0.20);
}

.test-option-letter {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f6fb;
    color: #33475f;
    font-weight: 700;
    font-size: 14.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
}

.test-option.selected .test-option-letter {
    background: #22a06b;
    color: #ffffff;
}

.test-option-text {
    flex: 1;
    padding-top: 4px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ============================================================
   FINAL SUBMIT
============================================================ */
.test-submit-wrap {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(64px + env(safe-area-inset-bottom));
    z-index: 81;
    padding: 10px 14px;
    background: linear-gradient(to top, #f5faff 70%, rgba(245,250,255,0));
    box-sizing: border-box;
}

.test-submit-wrap.show {
    display: block;
    animation: submitSlideUp 0.25s ease;
}

@keyframes submitSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.test-submit-big {
    display: block;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    color: #ffffff;
    background: linear-gradient(135deg, #d94a4a 0%, #b83b3b 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(217, 74, 74, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    letter-spacing: 0.3px;
    -webkit-tap-highlight-color: transparent;
}

.test-submit-big:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 74, 74, 0.45);
}

.test-submit-big:active { transform: translateY(0); }

/* ------------------------------------------------------------
   Bottom Navigation
------------------------------------------------------------ */
.test-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #dbe9f4;
    box-shadow: 0 -4px 16px rgba(20, 80, 140, 0.10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    z-index: 80;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    min-height: 64px;
    box-sizing: border-box;
}

.test-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 14px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease, color 0.15s ease;
    border: none;
    white-space: nowrap;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}
.test-nav-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.test-nav-prev {
    background: #eef6fd;
    color: #0b5cab;
    border: 1.5px solid #cbe3f6;
}
.test-nav-prev:hover:not(:disabled) { background: #d7ebfa; }

.test-nav-next {
    background: #22a06b;
    color: #ffffff;
    padding: 11px 20px;
    border: 1.5px solid #1a8a5c;
}
.test-nav-next:hover:not(:disabled) { background: #18875a; }

.test-nav-palette {
    flex: 1;
    background: #f8fbfe;
    color: #33475f;
    border: 1.5px solid #dbe9f4;
    min-width: 0;
}
.test-nav-palette:hover { background: #eef6fd; }

.test-palette-ico { font-size: 16px; font-weight: 700; }
.test-palette-txt {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ------------------------------------------------------------
   Palette Sheet
------------------------------------------------------------ */
.test-palette-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 40, 70, 0.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    z-index: 95;
}
.test-palette-overlay.show { opacity: 1; visibility: visible; }

.test-palette-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -8px 30px rgba(20, 80, 140, 0.22);
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.22, 0.9, 0.28, 1);
    z-index: 96;
    max-height: 78vh;
    display: flex;
    flex-direction: column;
}
.test-palette-sheet.open { transform: translateY(0); }

.test-palette-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 8px;
    font-size: 16px;
    font-weight: 700;
    color: #1a2b45;
    border-bottom: 1px solid #eef2f7;
}

.test-palette-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eef6fd;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #33475f;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}
.test-palette-close:hover { background: #d7ebfa; }

.test-palette-legend {
    display: flex;
    gap: 14px;
    padding: 10px 18px;
    font-size: 12px;
    color: #4a6483;
    border-bottom: 1px solid #f3f7fb;
    flex-wrap: wrap;
}

.test-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.test-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    display: inline-block;
    border: 1.5px solid #cbe3f6;
    background: #ffffff;
}
.test-legend-answered     { background: #22a06b; border-color: #16784f; }
.test-legend-not-answered { background: #ffffff; }
.test-legend-current      {
    background: #eaf4fd;
    border-color: #4aa3e0;
    box-shadow: 0 0 0 2px rgba(74, 163, 224, .3);
}

.test-palette-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    padding: 14px 18px;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

.palette-dot {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    background: #ffffff;
    border: 1.5px solid #dbe9f4;
    color: #33475f;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    padding: 0;
    min-height: 36px;
}
.palette-dot:hover { border-color: #b6d8f0; }
.palette-dot.answered {
    background: #22a06b;
    border-color: #16784f;
    color: #ffffff;
}
.palette-dot.current {
    border-color: #4aa3e0;
    box-shadow: 0 0 0 3px rgba(74, 163, 224, 0.28);
    background: #eaf4fd;
    color: #0b5cab;
    font-weight: 700;
}
.palette-dot.answered.current {
    background: #22a06b;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(34, 160, 107, 0.28);
}

.test-palette-actions {
    display: flex;
    gap: 10px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid #eef2f7;
}
.test-palette-actions .test-nav-btn { flex: 1; padding: 12px 16px; }

.test-submit-btn {
    background: #d94a4a;
    color: #ffffff;
    font-weight: 700;
    border: 1.5px solid #b83b3b;
}
.test-submit-btn:hover { background: #b83b3b; }

/* ============================================================
   ⭐ Title + Passage + "प्रश्न X" + Question text
============================================================ */

.test-passage-title {
    font-size: 15px;
    font-weight: 700;
    color: #0b5cab;
    padding-bottom: 8px;
    margin-bottom: 10px;
    border-bottom: 1px solid #dbe9f4;
    line-height: 1.4;
}

.test-passage {
    font-size: 14.5px;
    line-height: 1.7;
    color: #1a2b45;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: 4px;
}

.test-q-text-inner {
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.55;
    color: #1a2b45;
    padding-top: 12px;
    border-top: 1px dashed #dbe9f4;
    margin-top: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.test-q-num-inline {
    display: inline-block;
    font-size: 14.5px;
    font-weight: 700;
    color: #4aa3e0;
    letter-spacing: 0.3px;
    margin-right: 4px;
}

.test-q-image {
    margin: 10px 0 14px;
    text-align: center;
}

.test-q-image img {
    max-width: 100%;
    max-height: 320px;
    border-radius: 10px;
    border: 1px solid #dbe9f4;
    background: #f8fbfe;
    box-shadow: 0 2px 8px rgba(20, 80, 140, 0.06);
    display: inline-block;
    height: auto;
}

.test-passage-translation {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed #dbe9f4;
    color: #7085a0;
    font-style: normal;
    font-weight: 400;
    font-size: 13.5px;
    line-height: 1.6;
}

/* ------------------------------------------------------------
   Toast
------------------------------------------------------------ */
.td-toast-wrap {
    position: fixed;
    left: 50%;
    bottom: 90px;
    transform: translateX(-50%);
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    max-width: 90vw;
}
.td-toast {
    background: rgba(20, 40, 70, 0.95);
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    animation: toastIn 0.25s ease;
    pointer-events: auto;
}
.td-toast.td-toast-warning { background: rgba(200, 120, 20, 0.95); }
.td-toast.td-toast-error   { background: rgba(200, 60, 60, 0.95); }
.td-toast.td-toast-success { background: rgba(30, 140, 90, 0.95); }

@keyframes toastIn {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* ============================================================
   ⭐ प्रश्न Primary — Darker / Bolder (सिर्फ प्रश्न)
============================================================ */
.test-q-primary {
    color: #0a1628;
    font-weight: 700;
    font-size: 16.5px;
    line-height: 1.5;
    letter-spacing: 0.1px;
}

/* ⭐ विकल्प Primary — Normal (dark नहीं) */
.test-option-primary {
    color: #1a2b45;
    font-weight: 500;
    font-size: 15.5px;
    line-height: 1.45;
    letter-spacing: 0.1px;
}

/* ⭐ प्रश्न Translation — Block (4+ शब्द, नई line में) */
.test-q-translation {
    display: block;
    margin-top: 4px;
    color: #7085a0;
    font-weight: 400;
    font-size: 13.5px;
    line-height: 1.5;
    font-style: normal;
    letter-spacing: 0.1px;
}

/* ⭐ प्रश्न Translation — Inline (1-3 शब्द, same line में) */
.test-q-translation-inline {
    display: inline;
    margin-left: 4px;
    color: #7085a0;
    font-weight: 400;
    font-size: 13.5px;
    font-style: normal;
    letter-spacing: 0.1px;
}

/* ⭐ विकल्प Translation — Block (4+ शब्द, नई line में) */
.test-option-translation {
    display: block;
    margin-top: 3px;
    color: #7085a0;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.45;
    font-style: normal;
    letter-spacing: 0.1px;
}

/* ⭐ विकल्प Translation — Inline (1-3 शब्द, same line में) */
.test-option-translation-inline {
    display: inline;
    margin-left: 4px;
    color: #7085a0;
    font-weight: 400;
    font-size: 13px;
    font-style: normal;
    letter-spacing: 0.1px;
}

/* ============================================================
   Universal Bridge — custom format diagrams (chart, blood relation, आगे जो भी)
============================================================ */
.test-chart-diagram {
    background: #f8fbfe;
    border: 1px solid #dbe9f4;
    border-radius: 10px;
    padding: 12px;
    margin: 10px 0;
    text-align: center;
}
.test-chart-diagram svg {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

/* ============================================================
   Responsive
============================================================ */
@media (min-width: 600px) {
    .test-header { padding: 10px 20px 12px; }
    .test-header-title { font-size: 14.5px; }
    .test-timer-value { font-size: 20px; }
    .test-q-timer-value { font-size: 17px; }
    .test-body { padding: 20px 18px; }
    .test-q-text { font-size: 17.5px; }
    .test-passage { font-size: 15px; }
    .test-q-text-inner { font-size: 16.5px; }
    .test-q-primary { font-size: 17.5px; }
    .test-option-primary { font-size: 16.5px; }
    .test-q-translation,
    .test-q-translation-inline { font-size: 14.5px; }
    .test-option-translation,
    .test-option-translation-inline { font-size: 13.5px; }
    .test-q-image img { max-height: 400px; }
    .test-palette-grid { grid-template-columns: repeat(8, 1fr); }
    .test-submit-big { font-size: 17px; padding: 16px 24px; }
    .test-option { font-size: 16px; padding: 15px 18px; }
}

@media (min-width: 900px) {
    .test-palette-grid { grid-template-columns: repeat(10, 1fr); }
    .test-palette-sheet {
        max-width: 600px;
        margin: 0 auto;
        left: 0;
        right: 0;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }
    .test-bottom-nav {
        max-width: 760px;
        margin: 0 auto;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        border-radius: 16px 16px 0 0;
    }
    .test-submit-wrap {
        max-width: 760px;
        margin: 0 auto;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

/* ------------------------------------------------------------
   Small screens
------------------------------------------------------------ */
@media (max-width: 380px) {
    .test-header-title { font-size: 12px; }
    .test-timer-value  { font-size: 16px; }
    .test-q-timer      { padding: 4px 10px; }
    .test-q-timer-label { display: none; }
    .test-nav-btn      { font-size: 13px; padding: 10px 10px; }
    .test-nav-next     { padding: 10px 14px; }
    .test-palette-txt  { display: none; }
    .test-option       { font-size: 14.5px; padding: 12px 14px; }
    .test-option-letter { width: 28px; height: 28px; font-size: 13px; }
    .test-q-primary { font-size: 15.5px; }
    .test-option-primary { font-size: 14.5px; }
}

/* ------------------------------------------------------------
   Print
------------------------------------------------------------ */
@media print {
    .test-header,
    .test-bottom-nav,
    .test-submit-wrap,
    .test-palette-overlay,
    .test-palette-sheet { display: none !important; }
    body.td-test-page { background: #fff; padding: 0; }
}
