.pi-intake{max-width:900px}.pi-intake h1{margin-bottom:1.5rem}.pi-intake-form .form-error{color:#c00;margin-bottom:1rem}.form-section{background:#fff;border-radius:8px;padding:1.5rem;margin-bottom:1.5rem;box-shadow:0 1px 3px #00000014}.form-section h2{margin:0 0 1rem;font-size:1rem;color:#555;border-bottom:1px solid #eee;padding-bottom:.5rem}.form-row{display:flex;gap:1rem;margin-bottom:1rem}.form-row:last-child{margin-bottom:0}.form-row.full{flex-direction:column}.form-row label{flex:1;display:flex;flex-direction:column;gap:.25rem;font-size:.9rem}.form-row label input,.form-row label select,.form-row label textarea{padding:.5rem .75rem;border:1px solid #ccc;border-radius:4px;font-size:.95rem}.form-row label textarea{resize:vertical;min-height:80px}.required{color:#c00}.form-actions{display:flex;gap:1rem;margin-top:1.5rem}.form-actions button{padding:.6rem 1.25rem;border-radius:4px;font-size:1rem;cursor:pointer}.form-actions button[type=submit]{background:#1a1a2e;color:#fff;border:none}.form-actions button[type=submit]:disabled{opacity:.7;cursor:not-allowed}.form-actions button.secondary{background:#fff;border:1px solid #ccc;color:#333}.form-actions button.secondary:hover{background:#f5f5f5}.override-warning{background:#fff8e6;border:1px solid #e6d68a;border-radius:8px;padding:1rem 1.5rem;margin-bottom:1.5rem}.override-warning label{display:flex;align-items:flex-start;gap:.5rem;cursor:pointer;font-size:.9rem}.override-warning input[type=checkbox]{margin-top:.2rem}.matter-list{max-width:1100px}.matter-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.matter-list-header h1{margin:0}.btn-primary{background:#1a1a2e;color:#fff;padding:.5rem 1rem;border-radius:4px;text-decoration:none;font-size:.95rem}.btn-primary:hover{background:#2a2a4e}.matter-list .success{color:#0a6;margin-bottom:1rem}.matter-list .error{color:#c00}.matter-list .empty{color:#666;padding:2rem;text-align:center;background:#fff;border-radius:8px;box-shadow:0 1px 3px #00000014}.matter-table{width:100%;border-collapse:collapse;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #00000014}.matter-table th,.matter-table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid #eee}.matter-table th{background:#f8f9fa;font-weight:600;font-size:.85rem;color:#555}.matter-table tbody tr:hover{background:#fafafa}.matter-table code{font-family:monospace;font-size:.9rem}.edit-link{color:#1a1a2e;text-decoration:none;font-weight:500}.edit-link:hover{text-decoration:underline}.layout{min-height:100vh;display:flex;flex-direction:column}.layout-header{background:#1a1a2e;color:#fff;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center}.layout-header h1{margin:0;font-size:1.25rem}.layout-header nav{display:flex;gap:1.5rem;align-items:center}.layout-header a{color:#e0e0e0;text-decoration:none}.layout-header a:hover{color:#fff}.user-info{display:flex;align-items:center;gap:1rem}.user-info button{background:transparent;border:1px solid #666;color:#e0e0e0;padding:.25rem .75rem;cursor:pointer;border-radius:4px}.user-info button:hover{background:#333}.layout-main{flex:1;padding:2rem}.login-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem}.login-page form{display:flex;flex-direction:column;gap:.75rem;width:280px}.login-page input{padding:.5rem .75rem;border:1px solid #ccc;border-radius:4px}.login-page button{padding:.5rem 1rem;background:#1a1a2e;color:#fff;border:none;border-radius:4px;cursor:pointer}.login-page button:disabled{opacity:.7;cursor:not-allowed}.login-page .error{color:#c00;margin:0;font-size:.9rem}.loading{min-height:100vh;display:flex;align-items:center;justify-content:center}:root{font-family:Segoe UI,system-ui,-apple-system,sans-serif;line-height:1.5;font-weight:400;color:#1a1a2e;background-color:#f8f9fa}*{box-sizing:border-box}body{margin:0;min-height:100vh}#root{min-height:100vh}
