*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#f5f6f8;color:#1a1a1a}.centered{display:flex;align-items:center;justify-content:center;height:100vh}.login-page{display:flex;align-items:center;justify-content:center;height:100vh;background:#0f1729}.login-form{background:#fff;padding:2.5rem;border-radius:12px;width:320px;display:flex;flex-direction:column;gap:.9rem;box-shadow:0 10px 40px #0000004d}.login-form h1{font-size:1.25rem;margin:0}.login-subtitle{margin:0 0 .5rem;color:#666;font-size:.9rem}.login-form label{display:flex;flex-direction:column;gap:.3rem;font-size:.85rem;font-weight:600}.login-form input{padding:.5rem .6rem;border:1px solid #ccc;border-radius:6px;font-size:1rem}.login-form button{margin-top:.5rem;padding:.6rem;border:none;border-radius:6px;background:#1a2b4c;color:#fff;font-weight:600;cursor:pointer}.login-form button:disabled{opacity:.6;cursor:default}.form-error{color:#b91c1c;font-size:.85rem;margin:0}.app-header{display:flex;align-items:center;justify-content:space-between;padding:.9rem 1.5rem;background:#1a2b4c;color:#fff}.app-title{color:#fff;text-decoration:none;font-weight:700}.app-nav{display:flex;gap:1.25rem}.app-nav a{color:#ffffffbf;text-decoration:none;font-weight:600;font-size:.9rem}.app-nav a.active{color:#fff}.app-header-right{display:flex;align-items:center;gap:1rem;font-size:.9rem}.app-header-right button{padding:.35rem .8rem;border:1px solid rgba(255,255,255,.4);background:transparent;color:#fff;border-radius:6px;cursor:pointer}.app-main{padding:1.5rem;max-width:1100px;margin:0 auto}.toolbar{display:flex;gap:.75rem;margin-bottom:1.25rem;flex-wrap:wrap}.toolbar button{padding:.5rem 1rem;border-radius:6px;border:1px solid #1a2b4c;background:#fff;color:#1a2b4c;cursor:pointer;font-weight:600}.legend{display:flex;gap:1rem;margin-bottom:1rem;flex-wrap:wrap;font-size:.85rem}.legend-item{display:flex;align-items:center;gap:.4rem}.legend-swatch{width:14px;height:14px;border-radius:3px;display:inline-block}.site-map-grid{display:grid;grid-template-columns:repeat(10,72px);gap:8px}.unit-tile{width:72px;height:72px;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;font-size:.75rem;font-weight:700;cursor:pointer;border:none;padding:4px;text-align:center}.unit-tile span.size{font-weight:400;font-size:.65rem;opacity:.85}.status-AVAILABLE{background:#16a34a}.status-RESERVED{background:#0891b2}.status-OCCUPIED{background:#2563eb}.status-OVERDUE_LOCKED{background:#dc2626}.status-MAINTENANCE{background:#6b7280}.status-UNAVAILABLE{background:#1f2937}.panel{background:#fff;border-radius:10px;padding:1.25rem;margin-bottom:1.25rem;box-shadow:0 1px 3px #00000014}.panel h2{margin-top:0;font-size:1rem}.field-row{display:flex;gap:.75rem;flex-wrap:wrap;margin-bottom:.75rem}.field-row label{display:flex;flex-direction:column;gap:.25rem;font-size:.8rem;font-weight:600}.field-row input,.field-row select{padding:.4rem .5rem;border:1px solid #ccc;border-radius:6px;font-size:.9rem}.back-link{display:inline-block;margin-bottom:1rem;color:#1a2b4c;text-decoration:none;font-weight:600}table{width:100%;border-collapse:collapse;font-size:.9rem}th,td{text-align:left;padding:.5rem;border-bottom:1px solid #eee}.stat-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:1.25rem}.stat-card{background:#fff;border-radius:10px;padding:1.25rem;box-shadow:0 1px 3px #00000014;display:flex;flex-direction:column;gap:.35rem}.stat-card-warn{border-left:4px solid #dc2626}.stat-value{font-size:1.75rem;font-weight:700}.stat-label{font-size:.8rem;color:#6b7280}.dashboard-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1.25rem;margin-bottom:1.25rem}.trend-chart{display:flex;align-items:flex-end;gap:.5rem;height:160px;padding-top:1rem}.trend-column{flex:1;display:flex;flex-direction:column;align-items:center;height:100%}.trend-bars{flex:1;display:flex;align-items:flex-end;gap:2px;width:100%}.trend-bar{flex:1;min-height:2px;border-radius:2px 2px 0 0}.trend-label{font-size:.7rem;color:#6b7280;margin-top:.35rem}.dashboard-columns .panel{margin-bottom:0}
