:root { font-family: system-ui, sans-serif; color: #202928; background: #f5f6f3; }
* { box-sizing: border-box; }
body { margin: 0; }
header { display: flex; justify-content: space-between; align-items: center; padding: 20px 5vw; border-bottom: 1px solid #d9dfd9; background: white; gap: 16px; }
header > a { font-size: 20px; font-weight: 700; text-decoration: none; color: inherit; }
main { max-width: 1100px; margin: auto; padding: 24px; }
h1 { font-size: 32px; margin-bottom: 8px; }
p { line-height: 1.5; }
label { display: grid; gap: 8px; margin-bottom: 16px; }
input, button { font: inherit; padding: 11px 14px; border: 1px solid #bdc9c2; border-radius: 6px; }
input { background: white; width: 100%; }
button { background: #245e4b; color: white; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #c88f20; outline-offset: 3px; }
#login-panel { max-width: 420px; margin: 50px auto; }
#status { min-height: 24px; overflow-wrap: anywhere; }
.row { display: flex; gap: 12px; align-items: end; margin-top: 28px; }
.row label { flex: 1; margin: 0; }
.workspace { display: grid; grid-template-columns: 240px 1fr; margin-top: 32px; border: 1px solid #d9dfd9; border-radius: 8px; background: white; min-height: 300px; }
nav { border-right: 1px solid #d9dfd9; padding: 16px; }
ul { list-style: none; padding: 0; }
nav li { margin-bottom: 8px; }
nav button { width: 100%; text-align: left; background: #eef2ee; color: inherit; overflow-wrap: anywhere; }
nav button[aria-pressed=true] { background: #245e4b; color: white; }
#project-detail { padding: 24px; min-width: 0; overflow-wrap: anywhere; }
.files li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #eee; }
a { color: #245e4b; }
small { color: #58665e; white-space: nowrap; }
[hidden] { display: none !important; }
@media (max-width: 650px) { .workspace { grid-template-columns: 1fr; } nav { border-right: 0; border-bottom: 1px solid #d9dfd9; } .row { align-items: stretch; flex-direction: column; } header { flex-wrap: wrap; } }
