:root {
    --shell-dark: #222;
    --shell-mid: #444;
    --shell-accent: #356A35;
    --page-bg: #f4f4f4;
    --panel-bg: #fff;
    --soft-bg: #f2f7f2;
    --border: #ddd;
    --text: #222;
    --muted: #666;
}
body { font-family: Arial, sans-serif; background: var(--page-bg); color: var(--text); }
.app-shell { min-height: 100vh; }
.shell-header { background: var(--shell-dark); color: #fff; padding: 12px 16px; }
.shell-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.shell-brand { font-size: 20px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.shell-nav, .shell-tools, .score-strip, .job-subnav, .section-grid { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.shell-nav a, .button-link { display: inline-block; border-radius: 4px; padding: 9px 12px; background: var(--shell-mid); color: #fff; text-decoration: none; }
.shell-nav a:hover, .shell-nav a.is-active, .button-link:hover { background: var(--shell-accent); }
.shell-search input { min-width: 180px; padding: 8px 10px; border: 1px solid #bbb; border-radius: 4px; }
.logout-link { color: #fff; text-decoration: none; }
.logout-link:hover { text-decoration: underline; }
.score-strip { padding: 8px 16px; background: var(--panel-bg); border-bottom: 1px solid var(--border); font-size: 14px; gap: 12px; }
.score-strip strong { color: var(--shell-accent); }
.stage-wrap { padding: 18px; }
#stage { min-height: 560px; padding: 20px; background: var(--panel-bg); border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.stage-title { margin: 0 0 6px; font-size: 28px; line-height: 1.2; }
.stage-job { margin: 0 0 20px; padding: 10px 12px; background: var(--soft-bg); border-left: 4px solid var(--shell-accent); }
.panel-card, .login-card, .job-shell { padding: 20px; border: 1px solid var(--border); border-radius: 6px; background: #fafafa; }
.panel-card h2, .login-card h2, .job-shell h2 { margin-top: 0; }
.panel-card h3 { margin: 16px 0 8px; }
.muted { color: var(--muted); }
.note-box { padding: 12px; border-left: 4px solid #999; background: #fff; margin: 12px 0; }
.login-card { max-width: 420px; margin: 30px auto; }
.login-card label { display: block; margin-bottom: 12px; }
.login-card label span { display: block; margin-bottom: 5px; font-weight: 700; }
.login-card input[type="email"], .login-card input[type="password"] { width: 100%; padding: 11px; border: 1px solid #bbb; border-radius: 4px; }
.login-card .checkbox-row { display: flex; align-items: center; gap: 8px; }
.login-card .checkbox-row span { margin: 0; font-weight: 400; }
.login-card button { width: 100%; padding: 11px; border: 0; border-radius: 4px; background: var(--shell-accent); color: #fff; font-weight: 700; }
.job-shell { background: #fff; }
.job-shell-header { margin-bottom: 16px; }
.job-subnav { align-items: stretch; margin: 14px 0; }
.job-subnav a { padding: 8px 10px; border: 1px solid var(--border); border-radius: 4px; background: #fff; color: var(--text); text-decoration: none; }
.job-subnav a:hover, .job-subnav a.is-active { border-color: var(--shell-accent); color: var(--shell-accent); background: var(--soft-bg); }
.inner-stage { min-height: 260px; padding: 16px; border: 1px dashed #bbb; border-radius: 6px; background: #fff; }
.inner-stage .inner-stage { margin-top: 14px; background: #fcfcfc; }
.section-grid { align-items: stretch; }
.section-card { flex: 1 1 220px; padding: 14px; border: 1px solid var(--border); border-radius: 6px; background: #fff; }
.section-card h3 { margin-top: 0; }
ul.clean-list { margin: 10px 0 0 18px; padding: 0; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 999px; background: var(--soft-bg); color: var(--shell-accent); font-size: 12px; font-weight: 700; }
.fake-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 12px; }
.fake-field { padding: 10px; border: 1px solid var(--border); border-radius: 4px; background: #fff; }
.fake-field span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
@media (max-width: 700px) {
    .shell-header-inner { align-items: stretch; flex-direction: column; }
    .shell-nav, .shell-tools { align-items: stretch; flex-direction: column; }
    .shell-nav a, .shell-search input, .logout-link { width: 100%; text-align: left; }
    #stage { padding: 14px; }
}
