:root { --ink:#132238; --muted:#64748b; --line:#dbe3ec; --paper:#fff; --bg:#f3f6f9; --brand:#075985; --accent:#0e7490; --danger:#b42318; }
* { box-sizing:border-box; }
body { margin:0; font-family:Inter,Segoe UI,Arial,sans-serif; color:var(--ink); background:var(--bg); line-height:1.5; }
a { color:var(--brand); text-decoration:none; }
.topbar { min-height:68px; padding:0 5vw; display:flex; align-items:center; justify-content:space-between; background:#082f49; color:white; }
.brand { display:flex; align-items:center; padding:6px 10px; border-radius:8px; background:white; box-shadow:0 2px 8px rgba(0,0,0,.14); }
.brand img { display:block; width:150px; height:auto; }
nav { display:flex; align-items:center; gap:22px; font-size:.9rem; }
nav a, .link-button { color:#e0f2fe; }
.nav-login { border:1px solid #7dd3fc; border-radius:7px; padding:7px 14px; font-weight:700; }
.inline { display:inline; margin:0; }
.link-button { border:0; background:none; cursor:pointer; font:inherit; padding:0; }
.logout-button { border:1px solid #7dd3fc; border-radius:7px; padding:7px 12px; background:transparent; color:white; cursor:pointer; font-family:inherit; font-size:.9rem; font-weight:700; line-height:1.5; }
.container { width:min(1180px,90vw); margin:42px auto; }
.page-heading,.section-heading,.row { display:flex; align-items:center; justify-content:space-between; gap:20px; }
h1 { margin:.1em 0; font-size:clamp(2rem,4vw,3.2rem); line-height:1.08; letter-spacing:-.04em; }
h2 { margin-top:0; }
.eyebrow { color:var(--accent); font-size:.75rem; font-weight:800; letter-spacing:.16em; margin:0; }
.card { background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:24px; box-shadow:0 8px 24px rgba(15,23,42,.04); }
.button { display:inline-flex; align-items:center; justify-content:center; border:1px solid #a8bac9; background:white; color:var(--ink); padding:10px 16px; border-radius:8px; font-family:inherit; font-size:.9rem; font-weight:700; line-height:1.5; cursor:pointer; }
.button.primary { color:white; background:var(--brand); border-color:var(--brand); }
.button.danger { color:var(--danger); border-color:#f3b5ae; }
.stats { display:grid; grid-template-columns:repeat(6,1fr); gap:16px; margin:30px 0 40px; }
.stat { border-top:3px solid var(--accent); background:white; padding:22px; }
.stat strong { display:block; font-size:2rem; }.stat span,.muted,small { color:var(--muted); }
.grid { display:grid; gap:28px; }.grid.two { grid-template-columns:1fr 1fr; }.detail-layout { grid-template-columns:minmax(0,1fr) 300px; margin-top:28px; align-items:start; }
.stack { display:grid; gap:12px; }.row-card { display:flex; align-items:center; justify-content:space-between; color:var(--ink); }.row-card p { margin:3px 0 0; color:var(--muted); }
.badge { display:inline-block; font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em; background:#e2e8f0; padding:5px 9px; border-radius:999px; }
.badge.open { background:#dcfce7; color:#166534; }.badge.closed { background:#fee2e2; color:#991b1b; }.badge.draft { background:#fef3c7; color:#92400e; }
.score { font-size:1.35rem; font-weight:800; color:var(--accent); }.score-ring { width:86px; height:86px; border:7px solid #99f6e4; border-radius:50%; display:grid; place-items:center; font-size:1.2rem; font-weight:800; }
.job-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }.job-card { display:flex; flex-direction:column; }.job-card h2 { margin:26px 0 5px; }.job-card small { display:block; }.skills { font-size:.85rem; color:var(--accent); font-weight:700; }.job-actions { display:flex; gap:10px; margin-top:auto; padding-top:24px; }
.job-code { margin:20px 0 -20px; color:var(--accent); font-size:.75rem; font-weight:800; letter-spacing:.12em; }
.search { display:flex; gap:10px; margin:28px 0; }.search input { flex:1; }
.job-search { display:grid; grid-template-columns:1.2fr 1fr 180px auto; gap:12px; align-items:end; margin:28px 0; }.job-search label { display:block; margin-bottom:5px; font-size:.82rem; font-weight:700; }.job-search .button { min-height:46px; }
.filter-bar,.bulk-toolbar { display:flex; gap:12px; align-items:center; margin:24px 0; }.filter-bar input { flex:2; }.filter-bar select,.bulk-toolbar select { min-width:190px; }.bulk-toolbar { position:sticky; top:10px; z-index:2; }
input:not([type="checkbox"]):not([type="radio"]),textarea,select { width:100%; border:1px solid #b9c6d2; border-radius:7px; padding:11px; background:white; font:inherit; } textarea { min-height:120px; }
input[type="checkbox"],input[type="radio"] { width:auto; margin:0 7px 0 0; vertical-align:middle; accent-color:var(--brand); }
.form-card p:has(input[type="checkbox"]),.form-card p:has(input[type="radio"]) { display:flex; align-items:center; gap:7px; }
.form-card p:has(input[type="checkbox"]) label,.form-card p:has(input[type="radio"]) label { margin:0; order:2; }
.form-card p { margin:0 0 18px; }.form-card label { display:block; font-weight:700; margin-bottom:5px; }.helptext { display:block; color:var(--muted); font-size:.8rem; }.errorlist { color:var(--danger); }
.narrow { width:min(700px,100%); margin:auto; }.narrow>p { color:var(--muted); }.narrow>.form-card { margin-top:24px; }
.auth-card { min-height:65vh; display:grid; grid-template-columns:1.3fr .7fr; align-items:center; gap:8vw; }.auth-card>div p:last-child { max-width:550px; color:var(--muted); font-size:1.1rem; }
.auth-footer { margin:20px 0 0!important; color:var(--muted); font-size:.88rem; text-align:center; }
.login-logo { display:block; width:min(314px,75%); height:auto; margin-bottom:30px; }
.auth-divider { display:flex; align-items:center; gap:12px; margin:22px 0; color:var(--muted); font-size:.82rem; }.auth-divider::before,.auth-divider::after { content:""; flex:1; border-top:1px solid var(--line); }.microsoft-button { width:100%; gap:10px; }.microsoft-mark { display:grid; grid-template-columns:repeat(2,8px); gap:2px; }.microsoft-mark i { width:8px; height:8px; background:#f25022; }.microsoft-mark i:nth-child(2) { background:#7fba00; }.microsoft-mark i:nth-child(3) { background:#00a4ef; }.microsoft-mark i:nth-child(4) { background:#ffb900; }
.microsoft-button.disabled { opacity:.65; }.configuration-note { margin:10px 0 0!important; color:var(--muted); font-size:.78rem; text-align:center; }.configuration-note code { font-size:.76rem; }
.action-card { display:grid; gap:12px; position:sticky; top:20px; }.action-card form,.action-card form button { width:100%; }
.section-block { margin-top:40px; }.table-wrap { overflow:auto; }table { width:100%; border-collapse:collapse; }th,td { text-align:left; padding:14px; border-bottom:1px solid var(--line); }td small { display:block; }
.timeline { border-left:2px solid #99d8e5; padding-left:18px; margin:20px 0; }.timeline small { display:block; }.timeline p { margin:8px 0; }
.result { display:flex; justify-content:space-between; padding:12px 0; border-bottom:1px solid var(--line); }.results { margin-top:20px; }.error,.message.error { color:var(--danger); }
.public-panel { align-content:center; }.button-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.skill-tag { display:inline-block; margin:3px 5px 3px 0; padding:5px 9px; border-radius:999px; background:#e0f2fe; color:#075985; font-size:.82rem; font-weight:700; }.skill-tag.must { background:#ccfbf1; color:#115e59; }
.inline-create { display:grid; grid-template-columns:220px 1fr auto; gap:12px; margin:26px 0; }.master-grid { grid-template-columns:repeat(3,1fr); }
.setting-row { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:9px 0; border-bottom:1px solid var(--line); }
.position-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }.position-stats div { padding:14px; border:1px solid var(--line); border-radius:8px; text-align:center; background:#f8fafc; }.position-stats strong,.position-stats span { display:block; }.position-stats strong { font-size:1.5rem; color:var(--brand); }.position-stats span { color:var(--muted); font-size:.82rem; }
.resume-preview[hidden] { display:none; }.resume-frame { width:100%; min-height:780px; border:1px solid var(--line); border-radius:8px; background:#f8fafc; }.resume-text { max-height:780px; overflow:auto; padding:28px; border:1px solid var(--line); border-radius:8px; background:#f8fafc; white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.7; }
.manual-heading { max-width:850px; margin-bottom:30px; }.manual-heading>p:last-child { color:var(--muted); font-size:1.05rem; }.manual-layout { display:grid; grid-template-columns:230px minmax(0,1fr); gap:24px; align-items:start; }.manual-toc { position:sticky; top:18px; display:grid; gap:8px; padding:18px; }.manual-toc strong { margin-bottom:5px; }.manual-toc a { padding:6px 8px; border-radius:6px; font-size:.88rem; }.manual-toc a:hover { background:#e0f2fe; }.manual-content { display:grid; gap:20px; min-width:0; }.manual-section { scroll-margin-top:20px; }.manual-section h2 { padding-bottom:10px; border-bottom:1px solid var(--line); }.manual-section h3 { margin:24px 0 8px; }.manual-section li { margin:6px 0; }.manual-note { margin:18px 0; padding:14px 16px; border-left:4px solid var(--accent); border-radius:4px; background:#ecfeff; }.manual-definitions { display:grid; grid-template-columns:minmax(130px,190px) 1fr; gap:10px 18px; }.manual-definitions dt { font-weight:800; }.manual-definitions dd { margin:0; color:var(--muted); }
.audit-filters { display:grid; grid-template-columns:repeat(5,minmax(140px,1fr)) auto; gap:10px; margin:24px 0; }.audit-success { color:#166534; font-weight:700; }.pagination { display:flex; justify-content:center; align-items:center; gap:15px; margin-top:20px; }details pre { max-width:420px; white-space:pre-wrap; overflow-wrap:anywhere; }
.processing-overlay { position:fixed; inset:0; z-index:1000; display:grid; place-items:center; padding:24px; background:rgba(8,47,73,.72); backdrop-filter:blur(3px); }
.processing-overlay[hidden] { display:none; }
.processing-dialog { width:min(430px,100%); padding:34px; border-radius:16px; background:white; text-align:center; box-shadow:0 24px 70px rgba(0,0,0,.25); }
.processing-dialog h2 { margin:18px 0 8px; }.processing-dialog p { margin:0; color:var(--muted); }
.spinner { width:52px; height:52px; margin:auto; border:5px solid #bae6fd; border-top-color:var(--brand); border-radius:50%; animation:spin .8s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.button:disabled { cursor:wait; opacity:.7; }
.message { padding:12px 16px; border-radius:8px; margin-bottom:18px; background:#dbeafe; }.message.success { background:#dcfce7; color:#166534; }.empty { padding:30px; color:var(--muted); text-align:center; }
@media (max-width:1100px) { .stats { grid-template-columns:repeat(3,1fr); } }
@media (max-width:800px) { .topbar { align-items:flex-start; padding-block:18px; }.topbar,nav { flex-direction:column; }nav { align-items:flex-start; gap:10px; }.brand img { width:135px; }.stats { grid-template-columns:1fr 1fr; }.grid.two,.detail-layout,.job-grid,.auth-card,.master-grid,.manual-layout,.job-search { grid-template-columns:1fr; }.inline-create,.audit-filters { grid-template-columns:1fr; }.page-heading { align-items:flex-start; }.action-card,.manual-toc { position:static; }.manual-definitions { grid-template-columns:1fr; }.manual-definitions dd { margin-bottom:8px; } }
