﻿html, body { width: 100%; max-width: 100%; height: 100%; margin: 0; overflow: hidden; }
.page { width: 100vw; max-width: 100vw; height: 100vh; overflow: hidden; display: flex; flex-direction: column; }
.top { width: 100%; box-sizing: border-box; flex-shrink: 0; }
.ws { width: 100%; box-sizing: border-box; flex: 1; min-height: 0; display: flex; overflow: hidden; }
.files { flex-shrink: 0; height: 100%; box-sizing: border-box; overflow: hidden; }
#flist { overflow-y: auto; min-height: 0; }
.editor-wrap { flex: 1 1 0; min-width: 0; height: 100%; box-sizing: border-box; overflow: hidden; }
.toolbar { width: 100%; box-sizing: border-box; flex-shrink: 0; }
#editor { flex: 1; min-height: 0; width: 100%; box-sizing: border-box; }
.cai { flex: 0 0 300px; width: 300px; height: 100%; box-sizing: border-box; overflow: hidden; }
.cai-log { min-height: 0; overflow-y: auto; }
.preview { flex: 0 0 340px; width: 340px; height: 100%; box-sizing: border-box; overflow: hidden; }
.preview iframe { height: calc(100% - 56px); }
@media (max-width: 1400px) { .preview { display: none; } }
@media (max-width: 1000px) { .cai { display: none !important; } .files { width: 170px; } }
