:root {
    --bg: #101010;
    --tab: #181818;
    --field: #151515;
    --window: #101010;
    --line: #2b2b2b;
    --text: #c4c4c4;
    --dim: #858585;
    --accent: #ff3e3e;
    --r: 4px;
    --file-scale: 1;
    --file-card-side: 86px;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100dvh;
    font-family: "Segoe UI", -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#scaled-app {
    flex: 1 1 auto;
    width: 100%;
    height: calc(100dvh - 38px);
    min-height: 0;
    display: flex;
    flex-direction: column;
}

input {
    outline: none;
    color: #c4c4c4;
}

input:not([type="checkbox"]),
select,
textarea {
    background: rgba(196, 196, 196, 0.08);
    border: 1px solid rgba(196, 196, 196, 0.28);
    border-radius: 7px;
    color: #c4c4c4;
}

input:not([type="checkbox"]):focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(255, 62, 62, 0.12);
}

button {
    cursor: pointer;
    border: none;
    color: var(--text);
    font-size: 12px;
}
