/* Typography & base resets — shell chrome lives in css/icaap/dispatch-ui.css */

html {
    position: relative;
    min-height: 100%;
    scrollbar-gutter: stable;
}

body {
    margin-bottom: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

/* Type scale */
.text-xs   { font-size: 11px !important; line-height: 16px !important; }
.text-sm   { font-size: 13px !important; line-height: 20px !important; }
.text-base { font-size: 14px !important; line-height: 20px !important; }
.text-md   { font-size: 15px !important; line-height: 24px !important; }
.text-lg   { font-size: 18px !important; line-height: 28px !important; }
.text-xl   { font-size: 22px !important; line-height: 32px !important; }
.text-2xl  { font-size: 28px !important; line-height: 36px !important; }

h1, h2, h3, h4, h5 {
    font-weight: 600;
    letter-spacing: 0;
}

/* Focus ring */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

/* Floating label fix */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}
