body {
    margin: 0;
    font-family: Arial;
    background: #f5f6f8;
}

/* HEADER */
.tv-header {
    background: #0b3d91;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 15px 25px;
    align-items: center;
}

.tv-left-head {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tv-logo {
    background: white;
    color: #0b3d91;
    padding: 8px 12px;
    font-weight: bold;
}

.tv-title {
    font-weight: 600;
}

.tv-sub {
    font-size: 12px;
    opacity: 0.8;
}

.tv-right-head {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tv-end {
    background: red;
}

/* STRIP */
.tv-strip {
    display: flex;
    gap: 40px;
    padding: 10px 20px;
    background: #eef2f7;
    border-bottom: 1px solid #ddd;
}

/* LAYOUT */
.tv-container {
    display: flex;
}

/* LEFT */
.tv-main {
    width: 70%;
    padding: 20px;
}

.tv-question-box {
    background: white;
    padding: 25px;
    border-radius: 6px;
}

.tv-q {
    font-size: 17px;
    margin-bottom: 20px;
}

/* OPTIONS */
.tv-opt {
    display: block;
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 5px;
}

.tv-opt.active {
    border: 2px solid #2563eb;
    background: #e0edff;
}

/* BUTTONS */
.tv-controls {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

button {
    padding: 10px 14px;
    border: none;
    background: #1e3a8a;
    color: white;
    border-radius: 4px;
}

.tv-next {
    background: #2563eb;
}

.tv-submit {
    background: green;
}

/* RIGHT PANEL */
.tv-sidebar {
    width: 30%;
    background: white;
    padding: 15px;
    border-left: 1px solid #ddd;
}

.tv-palette-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.tv-legend div {
    margin-bottom: 8px;
}

.box {
    width: 12px;
    height: 12px;
    display: inline-block;
}

/* NAV */
#tv-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

#tv-nav button {
    height: 34px;
    font-size: 13px;
}

/* COLORS */
.tv-gray { background: #e5e7eb; }
.tv-green { background: #22c55e; color: white; }
.tv-yellow { background: #f59e0b; color: white; }
.tv-blue { background: #2563eb; color: white; }
