:root {
    --bg: #050b08;
    --panel: rgba(5, 18, 13, .9);
    --panel-light: rgba(7, 27, 18, .88);
    --line: rgba(67, 255, 139, .35);
    --green: #39ff88;
    --light-green: #adffc8;
    --white: #d6ded9;
    --muted: #789187;
    --danger: #ff716d;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
    margin: 0;
    color: var(--white);
    background: var(--bg) url("image/bg.jpg") center / cover fixed;
    font-family: "Fira Code", monospace;
    font-size: 13px;
}
body::before {
    content: ""; position: fixed; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(2, 10, 6, .91), rgba(2, 10, 6, .66)), repeating-linear-gradient(0deg, transparent 0 3px, rgba(88, 255, 137, .025) 4px);
}
.wm-workspace {
    position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .85fr);
    grid-template-rows: auto minmax(360px, 1fr) auto auto; gap: 10px; min-height: 100vh; padding: 20px;
}
.tile { background: var(--panel); border: 1px solid var(--line); box-shadow: 0 0 22px rgba(0, 255, 100, .06), inset 0 0 25px rgba(0, 255, 100, .025); }
.topbar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 11px 15px; border-left: 3px solid var(--green); }
.brand { color: var(--light-green); font-size: 12px; }.prompt, h1, .eyebrow, .window-title, .path, .green { color: var(--green); }.muted, .window-controls, .footer { color: var(--muted); }.cursor { animation: blink 1.05s steps(2, start) infinite; color: var(--green); }.system-state { color: var(--light-green); font-size: 11px; }.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 10px var(--green); }
.window { min-width: 0; animation: window-in .7s ease both, window-flicker 8s ease-in-out 1.5s infinite; }.converter-window { grid-row: 3 / 5; }.activity-window { grid-column: 2; grid-row: 3; }.info-window { grid-column: 2; grid-row: 4; }
.auth-window { grid-column: 1 / -1; }.auth-body { display: flex; flex-wrap: wrap; gap: 24px; padding: 16px 18px; }.auth-form { display: flex; flex: 1 1 280px; align-items: center; gap: 8px; }.auth-form strong { color: var(--muted); font-size: 10px; }.auth-form input { min-width: 0; width: 100%; padding: 10px; border: 1px solid var(--line); color: var(--light-green); background: #07150e; font: inherit; }.auth-form .run-button { min-height: 38px; white-space: nowrap; }.auth-message { flex-basis: 100%; margin: 0; color: var(--muted); }
.window-bar { display: flex; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid var(--line); background: rgba(41, 255, 124, .04); font-size: 11px; }.window-icon { margin-right: 8px; color: var(--light-green); }.window-controls { letter-spacing: 2px; }.window-body { padding: clamp(22px, 4vw, 45px); }.activity-window .window-body, .info-window .window-body { padding: 18px; }
.eyebrow { margin: 0 0 17px; font-size: 11px; letter-spacing: .08em; }h1 { margin: 0; font-size: clamp(33px, 5vw, 62px); line-height: 1.1; font-weight: 500; letter-spacing: -.08em; text-shadow: 0 0 14px rgba(57, 255, 136, .45); }h1 span { color: var(--light-green); }.intro { margin: 18px 0 35px; color: var(--muted); line-height: 1.8; }
.drop-zone { display: flex; min-height: 155px; flex-direction: column; align-items: center; justify-content: center; gap: 11px; border: 1px dashed rgba(57, 255, 136, .65); background: rgba(22, 255, 100, .045); color: var(--light-green); cursor: pointer; transition: .2s ease; }.drop-zone:hover, .drop-zone.is-dragging { background: rgba(22, 255, 100, .12); border-color: var(--green); box-shadow: inset 0 0 22px rgba(57, 255, 136, .09); }.drop-symbol { color: var(--green); font-size: 25px; }.drop-zone strong { font-size: 14px; letter-spacing: .15em; }.drop-zone span:last-child { color: var(--muted); font-size: 11px; }
.file-meta { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 12px; border-left: 2px solid var(--green); background: var(--panel-light); }.file-name { overflow: hidden; color: var(--light-green); text-overflow: ellipsis; white-space: nowrap; }.file-size { margin-left: auto; color: var(--muted); white-space: nowrap; }.clear-file { border: 0; color: var(--danger); background: transparent; cursor: pointer; font: inherit; }.controls { display: flex; align-items: end; gap: 15px; margin-top: 20px; }.select-label { display: flex; flex: 1; flex-direction: column; gap: 8px; color: var(--muted); font-size: 10px; letter-spacing: .08em; }select, .run-button { min-height: 44px; border: 1px solid var(--line); color: var(--light-green); background: #07150e; font: inherit; }select { padding: 0 12px; }.run-button { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 0 14px; color: var(--green); cursor: pointer; }.run-button:hover, .run-button:focus-visible { border-color: var(--green); background: rgba(57, 255, 136, .15); box-shadow: 0 0 15px rgba(57, 255, 136, .16); }.run-button:disabled { cursor: wait; opacity: .55; }
.progress-wrap { margin-top: 24px; }.progress-label { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--muted); font-size: 10px; }.progress-label span:last-child { color: var(--green); }.progress-track { height: 5px; overflow: hidden; background: rgba(57, 255, 136, .12); }.progress-track span { display: block; width: 20%; height: 100%; background: var(--green); box-shadow: 0 0 10px var(--green); transition: width .5s ease; }
.log-body { min-height: 235px; }.log-line { display: grid; grid-template-columns: 67px 38px 1fr; gap: 7px; margin-bottom: 14px; color: var(--white); font-size: 11px; line-height: 1.45; }.log-time { color: var(--muted); }.log-ok { color: var(--green); }.log-info { color: #e6c85f; }.log-caret { margin-top: 25px; color: var(--green); animation: blink 1s steps(2, start) infinite; }.info-grid { display: grid; gap: 13px; }.info-grid > div { display: grid; grid-template-columns: 145px 1fr; gap: 10px; color: var(--white); font-size: 10px; line-height: 1.7; }.info-key { color: var(--muted); }.footer { grid-column: 1 / -1; display: flex; justify-content: space-between; padding: 3px 2px 0; font-size: 10px; }.footer b { color: var(--light-green); }
@keyframes blink { 50% { opacity: .25; } }@keyframes window-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }@keyframes window-flicker { 0%, 94%, 100% { opacity: 1; } 96% { opacity: .72; } 98% { opacity: .92; } }
@media (max-width: 760px) { .wm-workspace { grid-template-columns: 1fr; padding: 10px; }.converter-window, .activity-window, .info-window, .auth-window { grid-column: 1; grid-row: auto; }.topbar, .footer { grid-column: 1; }.topbar, .footer { align-items: flex-start; flex-direction: column; gap: 8px; }.controls { align-items: stretch; flex-direction: column; }.run-button { justify-content: center; }.window-body { padding: 24px 18px; }.info-grid > div { grid-template-columns: 1fr; gap: 2px; }.auth-form { align-items: stretch; flex-direction: column; } }
