*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#1a1a1a;background:#f7f7f8}.app-loading,.app-error{padding:2rem}header{background:#1e3a5f;color:#fff;padding:.75rem 1.25rem}header h1{margin:0;font-size:1.15rem}.app-body{display:flex;height:calc(100vh - 48px)}.sidebar{width:260px;flex-shrink:0;background:#fff;border-right:1px solid #ddd;padding:1rem;overflow-y:auto}.sidebar h2,.sidebar h3{font-size:.95rem;margin:1rem 0 .5rem}.scenario-list{list-style:none;padding:0;margin:0}.scenario-list li{display:flex;align-items:center;gap:.25rem}.scenario-list li button:first-child{flex:1;text-align:left;background:none;border:none;padding:.4rem;cursor:pointer;border-radius:4px}.scenario-list li.active button:first-child{background:#e3edf7;font-weight:600}.delete-btn{border:none;background:none;color:#999;cursor:pointer;font-size:1rem}.new-scenario-form{display:flex;flex-direction:column;gap:.4rem}.new-scenario-form input,.new-scenario-form select,.new-scenario-form button{padding:.4rem;font-size:.85rem}.main-content{flex:1;padding:1rem 1.25rem;overflow-y:auto}.scenario-header{display:flex;justify-content:space-between;align-items:center}.optimizer-actions button{margin-left:.5rem;padding:.4rem .8rem;cursor:pointer}.proposal-banner{background:#fff8e1;border:1px solid #f0d878;border-radius:6px;padding:.5rem .75rem;margin:.75rem 0;display:flex;align-items:center;gap:.75rem}.proposal-banner button{padding:.3rem .8rem;cursor:pointer}.content-columns{display:flex;gap:1rem;margin-top:.75rem;align-items:flex-start}.grid-column{flex:1;min-width:0}.side-column{width:340px;flex-shrink:0;display:flex;flex-direction:column;gap:1rem}.roster-grid-scroll{overflow-x:auto;background:#fff;border:1px solid #ddd;border-radius:6px}.roster-grid{border-collapse:collapse;font-size:.75rem;white-space:nowrap}.roster-grid th,.roster-grid td{border:1px solid #eee;padding:2px 4px;text-align:center}.roster-grid .staff-col{position:sticky;left:0;background:#fff;text-align:left;min-width:140px;z-index:1}.roster-grid .staff-role{color:#888;font-size:.7rem}.roster-grid th.day-noncompliant{background:#fde3e3}.roster-grid .cell button{width:22px;height:22px;border:1px solid #ccc;background:#fff;cursor:pointer;padding:0}.roster-grid .cell.assigned button{background:#cfe8cf;border-color:#7cb87c}.roster-grid .cell.unavailable button{background:#f0f0f0;cursor:not-allowed}.roster-grid .cell.added button{background:#b6e6b6;border-color:#3a9c3a}.roster-grid .cell.removed button{background:#f5c6c6;border-color:#c93a3a}.dashboard-panel,.agent-chat,.risk-panel{background:#fff;border:1px solid #ddd;border-radius:6px;padding:.75rem 1rem}.dashboard-panel h2,.agent-chat h2,.risk-panel h2{font-size:1rem;margin-top:0}.dashboard-panel h3{font-size:.85rem;margin-bottom:.3rem}.dashboard-panel table{width:100%;font-size:.85rem;border-collapse:collapse}.dashboard-panel td{padding:2px 0}.ok{color:#2e7d32}.warn{color:#b06f00}.bad{color:#c62828}.muted{color:#888;font-size:.85rem}.risk-panel-header{display:flex;justify-content:space-between;align-items:center}.risk-panel-header button{padding:.3rem .7rem;cursor:pointer}.risk-findings{padding-left:1.1rem;font-size:.85rem}.risk-findings li{margin-bottom:.6rem}.agent-chat{display:flex;flex-direction:column;max-height:420px}.chat-log{flex:1;overflow-y:auto;font-size:.85rem;margin-bottom:.5rem}.chat-entry{margin-bottom:.5rem;padding:.4rem .5rem;border-radius:6px}.chat-entry.chat-user{background:#e3edf7}.chat-entry.chat-assistant{background:#f2f2f2}.chat-entry p{margin:.25rem 0}.chat-input{display:flex;gap:.4rem}.chat-input input{flex:1;padding:.4rem}.chat-input button{padding:.4rem .8rem;cursor:pointer}
