:root {
  --ink: #1e2733;
  --surface: #fff;
  --canvas: #ececec;
  --muted: #616b7f;
  --border: #cfcfcf;
  --action: #006b9d;
  --radius: 5px;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 14px/1.5 Ubuntu, system-ui, sans-serif; }
.top { min-height: 60px; padding: 0 5vw; display: flex; align-items: center; justify-content: space-between; background: var(--ink); color: white; }
.top a { color: white; font-size: 18px; font-weight: 700; text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { max-height: 38px; object-fit: contain; }
main { max-width: 1050px; margin: 28px auto; padding: 0 18px; }
h1 { font-size: 26px; }
h2 { font-size: 18px; }
nav { color: var(--muted); }
a { color: var(--action); }
.heading, .actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.button { display: inline-block; padding: 8px 14px; border: 1px solid var(--action); border-radius: var(--radius); background: white; color: var(--action); text-decoration: none; cursor: pointer; font: inherit; font-weight: 700; }
.primary { background: var(--action); color: white; }
.button:disabled { opacity: .5; cursor: not-allowed; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; margin-bottom: 14px; }
.fields label { display: grid; gap: 4px; }
.fields .field { display: grid; gap: 4px; }
.field-heading { display: flex; align-items: center; gap: 7px; }
.sap-validation-action { display: flex; justify-content: flex-end; gap: 12px; }
.help-tooltip { position: relative; }
.help-tooltip button { display: grid; place-items: center; width: 18px; height: 18px; padding: 0; background: transparent; border: 1px solid var(--muted); border-radius: 50%; color: var(--muted); cursor: help; font: inherit; font-size: 12px; font-weight: 700; }
.help-tooltip [role=tooltip] { display: none; position: absolute; z-index: 10; top: calc(100% + 8px); left: -100px; width: 210px; padding: 9px 12px; border-radius: var(--radius); background: var(--ink); color: white; font-size: 12px; font-weight: 400; box-shadow: 0 3px 12px #0002; }
.help-tooltip:hover [role=tooltip], .help-tooltip:focus-within [role=tooltip] { display: block; }
input:not([type=checkbox]), select { font: inherit; padding: 7px; border: 1px solid var(--muted); border-radius: var(--radius); }
input.button { padding: 8px 14px; }
fieldset { border: 1px solid var(--border); border-radius: var(--radius); margin: 0 0 14px; }
.query-controls { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice { display: inline-block; margin-right: 14px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; border-bottom: 1px solid var(--border); padding: 8px; }
.message { padding: 10px; background: #e5f4ea; }
.error { background: #fce6e6; color: #842027; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }
.logout-button { color: white; background: transparent; border: 1px solid #616b7f; border-radius: var(--radius); padding: 7px 12px; cursor: pointer; font: inherit; }
.login-page { min-height: 100dvh; background: var(--ink); display: grid; place-items: center; }
.login-shell { width: min(100%, 430px); margin: 36px auto; padding: 0 22px; }
.login-brand { text-align: center; margin-bottom: 28px; }
.login-brand img { height: 54px; object-fit: contain; }
.login-card { padding: 32px; background: var(--surface); border-radius: 10px; }
.login-eyebrow { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.login-card h1 { margin: 8px 0; font-size: 27px; letter-spacing: -.5px; }
.login-description { color: var(--muted); margin: 0 0 24px; }
.login-form { display: grid; gap: 7px; }
.login-form label { font-weight: 500; }
.login-form input { min-width: 0; min-height: 42px; }
.login-form input[type=password] { margin-bottom: 14px; }
.login-form input[type=text] { margin-bottom: 10px; }
.login-footer { text-align: center; color: #b5bfcc; font-size: 12px; margin-top: 22px; }
@media (max-width: 400px) { .login-card { padding: 24px; } }
