/* P9 visual corrections */
.appBrand small,.brand small{display:block;font-size:21px;font-weight:700;letter-spacing:0;opacity:1;line-height:1.12}
.appBrand h1{font-size:21px;line-height:1.12}
.appNav{display:flex;gap:6px;margin-left:24px}
.appNav a{display:inline-block;padding:8px 11px;border:1px solid #536c86;border-radius:8px;color:#dce8f4;text-decoration:none;font-size:12px;font-weight:700}
.appNav a:hover,.appNav a.active{background:#fff;color:var(--navy)}
.passwordField{position:relative;display:block;margin-top:7px}.passwordField input{margin-top:0!important;padding-right:48px!important}.passwordToggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);width:36px;height:32px;padding:0!important;border:0!important;background:transparent!important;color:#4c647b!important;font-size:17px!important;line-height:1;box-shadow:none!important}.passwordToggle:hover{background:#eef5fb!important}.passwordToggle:focus{outline:2px solid #8ab2db;outline-offset:1px}
.quoteContent .pageHead{align-items:flex-start}.quoteContent .headActions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end;max-width:760px}.quoteContent .headActions button,.quoteContent .headActions .exportButton{padding:8px 10px;font-size:12px;line-height:1.2;white-space:nowrap}.quoteMeta{font-size:11px;color:var(--muted);font-weight:700;letter-spacing:.04em}.quoteMetaDivider{font-size:13px;color:var(--muted);margin:0 2px}.quoteBottomBar{display:flex;align-items:center;justify-content:space-between;gap:14px}.quoteBottomBar>div:first-child{display:grid;gap:4px}.quoteBottomBar small{color:var(--muted);font-size:12px}.bottomActions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}.bottomActions button{padding:8px 10px;font-size:12px;white-space:nowrap}.newQuoteAction{background:#1f8a5b!important;color:#fff!important}.saveQuoteAction{background:#2463a2!important;color:#fff!important}
.quoteContent .headActions #newRevision,.bottomActions [data-quote-action="new"]{margin-left:auto}
.listSort{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:10px 0}.listSort select{min-width:0;height:34px;padding:0 7px;border:1px solid #ccd9e4;border-radius:7px;background:#fff;font:13px inherit}.paymentReferenceGrid input[list],.formGrid input[list]{width:100%;height:44px;border:1px solid #ccd9e4;border-radius:8px;padding:0 11px;font:inherit}
.authShell.adminShell{display:block;min-height:100vh;padding:28px 24px}
.authCard.adminCard{width:min(1120px,100%);max-width:none;margin:0 auto}
.adminCard .brand{padding:20px 26px}.adminCard .authIntro{padding-bottom:16px}
.adminIntro{display:flex;align-items:center;justify-content:space-between;gap:18px}.returnSystem{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;background:var(--blue);color:#fff;border-radius:8px;text-decoration:none;font-size:13px;font-weight:700}
.adminCard h3{margin:24px 26px 0}.adminCard .newUserForm{padding:16px 26px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:end}.newUserForm select{width:100%;margin-top:7px;padding:12px;border:1px solid #ccd9e4;border-radius:8px;background:#fff;font:inherit}.newUserForm .createUserButton{grid-column:1;min-height:44px}
.adminCard .usersTable{margin:16px 26px 28px;width:calc(100% - 52px)!important;border-collapse:collapse}.adminCard th,.adminCard td{padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:middle;text-align:left;font-size:13px}.adminCard th{white-space:nowrap}.usernameCell{font-weight:700;min-width:140px}.inlineForm{margin:0!important;padding:0!important;display:flex!important;grid-template-columns:none!important;gap:7px!important;align-items:center!important}.inlineForm input,.inlineForm select{margin:0!important}.inlineForm select{height:40px;padding:0 10px;border:1px solid #ccd9e4;border-radius:8px;background:#fff;font:inherit}.inlineForm button{height:40px;padding:0 12px;white-space:nowrap}.activeCheck{display:flex!important;align-items:center;gap:6px;white-space:nowrap}.activeCheck input{width:17px;height:17px}.resetForm .passwordField{width:150px;margin-top:0}.resetForm input{width:150px;height:40px;padding:0 42px 0 10px}.roleForm{min-width:176px}
@media(max-width:980px){.quoteContent .headActions{justify-content:start}.quoteBottomBar{align-items:stretch;flex-direction:column}.bottomActions{justify-content:start}}
@media(max-width:760px){.appNav{margin-left:0;order:3;width:100%}.appNav a{padding:7px}.authShell.adminShell{padding:14px}.adminCard .newUserForm{grid-template-columns:1fr}.newUserForm .createUserButton{grid-column:auto}.adminCard .usersTable{display:block;overflow:auto}.adminCard .brand small{font-size:20px}.resetForm input{width:130px}}
