
.reflect {
    transform: scaleX(-1);
    display: inline-block;
}

#thm-split-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    background: white;
    border-left: 2px solid #aaa;
    z-index: 9999;
    display: none;
    flex-direction: column;
    box-shadow: -4px 0 12px rgba(0,0,0,0.15);
}

body.admin-bar #thm-split-panel {
    top: 32px;
    height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar #thm-split-panel {
        top: 46px;
        height: calc(100vh - 46px);
    }
}

#thm-split-panel.thm-split-open {
    display: flex;
}

#thm-split-header {
    padding: 6px 10px;
    background: #f0f0f0;
    border-bottom: 1px solid #ccc;
    text-align: right;
    flex-shrink: 0;
}

#thm-split-status {
    float: left;
    color: #666;
    padding: 4px 0;
}

#thm-split-close {
    cursor: pointer;
    background: #fff;
    border: 1px solid #999;
    padding: 4px 14px;
    border-radius: 3px;
    font-size: 1em;
    font-weight: bold;
}

#thm-split-close:hover {
    background: #ddd;
}

#thm-split-iframe {
    flex: 1;
    width: 100%;
    border: none;
}


a.note0 { color: blue; }
a.noteD { color: inherit; }
