:root{--dark: #0e2318;--green: #0b6b37;--lime: #7ac143;--bg: #f4f7f5;--line: #dde7e1;--text: #14241b;--muted: #4a5a52;--white: #ffffff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.45 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}h1{margin:0;font-size:26px}h2{margin:0 0 12px;font-size:18px}p{margin:0}.muted{color:var(--muted)}.small{font-size:13px}.center{text-align:center;padding:64px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.error{color:#a1241c;font-weight:600}.success{color:var(--green);font-weight:600}.topbar{background:var(--dark);color:var(--white);display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:12px 24px}.logo{height:44px;width:138px;object-fit:contain;background:var(--white);border-radius:4px}.topbar-title{flex:1 1 240px;display:flex;flex-direction:column}.topbar-title strong{font-size:18px}.topbar-title span{font-size:13px;color:#b9cdc1}.topbar-user{color:var(--white);font-size:14px}.body{display:flex;flex-wrap:wrap;align-items:flex-start}.sidebar{flex:0 0 230px;background:var(--white);border-right:1px solid var(--line);padding:16px 12px;min-height:calc(100vh - 68px);display:flex;flex-direction:column;gap:12px}.sidebar a{display:block;padding:9px 12px;border-radius:8px;color:var(--text);text-decoration:none;font-size:14px}.sidebar a:hover{background:var(--bg)}.sidebar a.active{background:var(--dark);color:var(--white);font-weight:600}.nav-main{font-weight:600}.nav-heading{padding:4px 12px;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}.content{flex:999 1 560px;min-width:0;padding:24px;display:flex;flex-direction:column;gap:20px;max-width:1400px}.card{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:20px}.page-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px}.actions{display:flex;flex-wrap:wrap;gap:8px}.toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px}.tabs{display:flex;flex-wrap:wrap;gap:8px}.tab{min-height:44px;padding:0 16px;border-radius:8px;border:1px solid #b9cdc1;background:var(--white);color:var(--text);font:inherit;font-weight:600;cursor:pointer}.tab.on{background:var(--dark);border-color:var(--dark);color:var(--white)}.grid{display:grid;gap:16px}.grid-4{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.kpi{display:flex;flex-direction:column;gap:6px;align-items:flex-start}.kpi-compact{gap:2px}.kpi-label{font-size:14px;color:var(--muted);font-weight:500}.kpi-value{font-size:32px;font-weight:700;line-height:1.1}.kpi-compact .kpi-value{font-size:24px}.kpi-source{align-self:stretch;font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:8px;margin-top:4px}.direction-card{display:flex;flex-direction:column;gap:12px;align-items:flex-start}.direction-card h2{margin:0}.direction-card .btn{margin-top:auto;align-self:stretch}.pill{display:inline-block;padding:4px 10px;border-radius:999px;font-size:13px;font-weight:600;white-space:nowrap}.pill-ok{background:#e3f4e9;color:#0b6b37}.pill-warn{background:#fff1d6;color:#8a4b00}.pill-late{background:#fde7e5;color:#a1241c}.alert-row,.project-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line)}.alert-row span:last-child{flex:1 1 320px}.project-name{flex:0 0 170px}.project-pct{flex:0 0 150px;font-size:14px}.project-note{flex:1 1 200px;font-size:14px;color:var(--muted)}.bar{flex:1 1 200px;height:10px;background:var(--line);border-radius:999px;overflow:hidden}.bar div{height:10px;background:var(--green)}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:640px}th,td{text-align:left;padding:11px 14px;border-bottom:1px solid var(--line);font-size:14px;vertical-align:top}th{font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}td.row-actions{white-space:nowrap;text-align:right;padding-top:3px;padding-bottom:3px}.btn{min-height:44px;padding:0 18px;border-radius:8px;border:1px solid transparent;font:inherit;font-weight:600;cursor:pointer}.btn-primary{background:var(--green);color:var(--white)}.btn-outline{background:var(--white);color:var(--green);border-color:var(--green)}.btn-light{background:transparent;color:var(--white);border-color:#b9cdc1}.btn:disabled{opacity:.6;cursor:default}.link{background:none;border:none;padding:8px;font:inherit;font-weight:600;color:var(--green);cursor:pointer}.link.danger{color:#a1241c}:focus-visible{outline:3px solid var(--lime);outline-offset:2px}label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}label.check{flex-direction:row;align-items:center;gap:8px}label.month{font-size:13px}input,select{min-height:44px;padding:8px 12px;border:1px solid #9fb3a8;border-radius:8px;font:inherit;font-weight:400;background:var(--white);color:var(--text)}input[type=checkbox]{min-height:0;width:18px;height:18px}input:disabled,select:disabled{background:var(--bg);color:var(--muted)}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.form-narrow{max-width:460px;display:flex;flex-direction:column;gap:16px}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0e23188c;display:flex;align-items:flex-start;justify-content:center;padding:40px 16px;overflow-y:auto}.dialog{width:100%;max-width:760px;display:flex;flex-direction:column;gap:16px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px}.login{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:16px;background:var(--dark)}.login-card{width:100%;max-width:400px;display:flex;flex-direction:column;gap:16px}.login-logo{width:200px;height:64px;object-fit:contain}.login-card h1{font-size:22px}@media (max-width: 760px){.sidebar{flex:1 1 100%;min-height:0;border-right:none;border-bottom:1px solid var(--line)}.content{padding:16px}}.content>section>h2{margin-bottom:12px}.tiles{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.tile{display:flex;gap:14px;align-items:flex-start;padding:18px;background:var(--white);border:1px solid var(--line);border-radius:12px;color:var(--text);text-decoration:none;min-height:96px}.tile:hover{border-color:var(--green)}.tile-icon{flex:0 0 48px;height:48px;border-radius:10px;background:var(--dark);color:var(--white);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:17px}.tile-text{display:flex;flex-direction:column;gap:4px;min-width:0}.tile-badge{align-self:flex-start;font-size:12px;font-weight:600;color:var(--green);background:#e3f4e9;padding:2px 8px;border-radius:999px}.token-box{border:1px solid var(--green);background:#f1faf4;border-radius:8px;padding:14px;margin:12px 0;display:flex;flex-direction:column;gap:8px;align-items:flex-start}.token-box code{word-break:break-all;font-size:13px}.home-btn{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;color:var(--white)}.home-btn:hover{background:#ffffff1a}.launcher{position:relative;min-height:calc(100vh - 68px);overflow:hidden;color:var(--white);background:linear-gradient(115deg,transparent 0 56%,rgba(122,193,67,.1) 56% 66%,transparent 66% 72%,rgba(255,255,255,.05) 72% 78%,transparent 78% 86%,rgba(122,193,67,.07) 86%),linear-gradient(150deg,#0b5e35,#0a4a2b 55%,#083b23)}.launcher-in{max-width:1120px;margin:0 auto;padding:36px 20px 64px;display:flex;flex-direction:column;align-items:center}.launcher h1{font-size:28px;letter-spacing:-.02em}.launcher-sub{color:#bfd9c8;margin-top:4px}.launcher-search{margin-top:22px;width:min(520px,100%);height:48px;border-radius:12px;background:#fffffff5;display:flex;align-items:center;gap:10px;padding:0 16px;color:#5b6b62}.launcher-search input{flex:1;border:0;background:transparent;font:inherit;font-size:15px;color:var(--text);min-width:0;height:100%}.launcher-search input:focus{outline:none}.launcher-search:focus-within{outline:3px solid var(--lime);outline-offset:2px}.launcher-grid{margin-top:38px;width:100%;display:grid;grid-template-columns:repeat(auto-fit,150px);gap:30px 26px;justify-content:center}.lt{display:flex;flex-direction:column;align-items:center;gap:11px;text-align:center;color:var(--white);text-decoration:none;padding:6px 0;border-radius:14px}.lt-ic{width:96px;height:96px;border-radius:22px;display:grid;place-items:center;color:var(--white);box-shadow:0 10px 22px #00000047,inset 0 -4px #0000002e;border:1px solid rgba(255,255,255,.18);transition:transform .15s ease}.lt:hover .lt-ic{transform:translateY(-3px)}.lt-name{font-size:14.5px;font-weight:600;line-height:1.3;max-width:150px;text-shadow:0 1px 2px rgba(0,0,0,.35)}.launcher-msg{margin-top:28px;color:#d5e6db}@media (prefers-reduced-motion: reduce){.lt-ic{transition:none}}@media (max-width: 560px){.launcher-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 10px}.lt-ic{width:72px;height:72px;border-radius:18px}.lt-ic svg{width:34px;height:34px}.lt-name{font-size:13px}}.admin-links{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.admin-link{display:flex;flex-direction:column;gap:4px;text-decoration:none;color:var(--text)}.admin-link:hover{border-color:var(--green)}.search-field{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;max-width:420px}.search-field input{min-height:44px;padding:0 12px;border:1px solid #b9cdc1;border-radius:8px;font:inherit}
