:root {
    --navy: #081c35;
    --blue: #1266d6;
    --cyan: #42dbed;
    --ink: #132c47;
    --muted: #60738a;
    --line: #dce6f0;
    --surface: #f3f7fb;
    --red: #bc3549;
    --amber: #a6630a;
    --green: #107b65
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
    font-size: 14px
}

a {
    color: var(--blue);
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

button,
input,
select,
textarea {
    font: inherit
}

button,
a,
input,
select,
textarea {
    outline-offset: 4px
}

button {
    cursor: pointer
}

button:disabled {
    cursor: wait;
    opacity: .6
}

.topbar {
    background: linear-gradient(110deg, #091c33, #123652);
    color: white;
    min-height: 86px;
    padding: 18px 4vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #2e536c
}

.brand {
    display: flex;
    align-items: center;
    color: white;
    gap: 13px;
    font-size: 20px;
    font-weight: 650;
    letter-spacing: 1px
}

.brand:hover {
    text-decoration: none
}

.brand small {
    display: block;
    font-size: 9px;
    letter-spacing: 2.1px;
    font-weight: 400;
    color: #93b8d0
}

.brand-mark {
    display: grid;
    place-items: center;
    color: var(--cyan);
    width: 44px;
    height: 44px;
    border: 1px solid #2d6e8c;
    box-shadow: inset 0 0 18px #19e3e716;
    border-radius: 12px;
    font-size: 27px
}

.identity {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px
}

.identity form {
    margin: 0
}

.live-dot {
    width: 6px;
    height: 6px;
    display: inline-block;
    background: #4ddfc0;
    border-radius: 50%;
    box-shadow: 0 0 9px #4ddfc0
}

.account-name {
    color: #92aec4
}

.logout {
    border: 1px solid #47657c;
    border-radius: 5px;
    background: none;
    color: #dae8f2;
    padding: 4px 12px
}

.nav {
    background: white;
    border-bottom: 1px solid var(--line);
    display: flex;
    padding: 0 4vw;
    gap: 28px;
    overflow-x: auto;
    white-space: nowrap
}

.nav a {
    padding: 15px 3px;
    color: #5a6e83;
    font-weight: 550;
    border-bottom: 3px solid transparent
}

.nav a.active {
    color: var(--blue);
    border-color: var(--blue)
}

main {
    max-width: 1500px;
    padding: 30px 4vw 44px;
    margin: auto;
    min-height: calc(100vh - 240px)
}

footer {
    text-align: center;
    font-size: 12px;
    color: #64798e;
    padding: 23px 15px;
    border-top: 1px solid var(--line);
    background: #f9fbfd
}

footer span {
    padding: 0 8px
}

.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    margin-bottom: 24px
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 1.7px;
    font-weight: 650;
    color: #65819a
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1 {
    font-size: 28px;
    letter-spacing: .4px;
    margin: 6px 0
}

h2 {
    font-size: 18px;
    margin-bottom: 14px
}

h3 {
    font-size: 15px;
    margin: 8px 0 5px
}

h3 small {
    font-weight: 400;
    color: var(--muted)
}

p {
    margin-bottom: 12px
}

.page-heading p,
.muted {
    color: var(--muted)
}

.page-heading p {
    margin: 4px 0
}

.date-chip {
    font-size: 12px;
    color: #668199;
    background: #e8f0f7;
    border: 1px solid #dae6f0;
    border-radius: 20px;
    padding: 8px 14px;
    white-space: nowrap
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px
}

.stat {
    padding: 20px 23px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 12px #0d345303
}

.stat:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    right: -20px;
    top: -20px;
    border: 14px solid #2c8ce70a;
    border-radius: 50%
}

.stat>span {
    display: block;
    color: #637a90;
    font-size: 12px
}

.stat strong {
    display: block;
    font-size: 38px;
    font-weight: 600;
    color: #154575;
    line-height: 1.5
}

.stat small {
    font-size: 13px;
    margin-left: 9px;
    font-weight: 400;
    color: #7c8ea2
}

.stat i {
    font-style: normal;
    font-size: 11px;
    color: #7c8ea2
}

.stat.warn strong {
    color: var(--amber)
}

.stat.danger strong {
    color: var(--red)
}

.panel {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 23px;
    margin-bottom: 22px;
    box-shadow: 0 3px 12px #0d345303
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px
}

.section-heading h2,
.section-heading h3 {
    margin-bottom: 0
}

.section-heading>span {
    font-size: 12px;
    color: var(--muted)
}

.two-columns {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 22px
}

.quick {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center
}

.quick p {
    font-size: 13px;
    color: var(--muted);
    margin: 0
}

.primary,
.secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    padding: 9px 16px;
    min-height: 41px;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.5;
    text-decoration: none;
    border: 1px solid transparent;
    white-space: nowrap;
    gap: 8px
}

.primary {
    color: white;
    background: linear-gradient(110deg, #1264d5, #0c83c9);
    box-shadow: 0 3px 7px #1266d617
}

.primary:hover {
    background: #145eae;
    text-decoration: none
}

.secondary {
    color: #294f70;
    border-color: #cfdde9;
    background: white
}

.secondary:hover {
    background: #f1f6fa;
    text-decoration: none
}

.actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap
}

.actions:not(:first-child) {
    margin-top: 12px
}

.toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px
}

.toolbar>span {
    font-size: 12px;
    color: var(--muted);
    margin-left: auto
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    font-size: 11px;
    line-height: 1.5;
    border-radius: 4px;
    white-space: nowrap;
    color: #476483;
    background: #eef3f8
}

.badge.amber {
    color: #935508;
    background: #fff4dc
}

.badge.red {
    color: #a5273e;
    background: #ffebef
}

.badge.green {
    color: #086e57;
    background: #e3f5ee
}

.todo-item {
    padding: 16px 0;
    border-bottom: 1px solid #edf1f5
}

.todo-item:last-child {
    border: 0
}

.todo-item p {
    font-size: 12px;
    color: var(--muted);
    margin: 0
}

.empty {
    min-height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    color: #71869a;
    font-size: 13px;
    text-align: center
}

.empty small {
    color: #95a6b7
}

.quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.quick-links a {
    border: 1px solid #e0eaf4;
    background: #f7fafc;
    padding: 18px 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px
}

.quick-links a:hover {
    border-color: #74a8d5;
    text-decoration: none
}

.quick-links b {
    font-size: 14px;
    color: #264f74
}

.quick-links span {
    font-size: 11px;
    color: #758da2
}

.unit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px
}

.unit-card {
    border: 1px solid #e0e8f0;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    color: var(--ink);
    display: block
}

.unit-card:hover {
    border-color: #75a9d9;
    text-decoration: none;
    background: #fbfdff
}

.unit-card>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px
}

.unit-number {
    font-size: 11px;
    letter-spacing: 1px;
    color: #8599ac
}

.unit-card h3 {
    font-size: 13px;
    min-height: 43px;
    line-height: 1.6;
    margin: 13px 0 8px
}

.unit-card p {
    font-size: 12px;
    margin: 0 0 8px
}

.unit-card small {
    font-size: 10px;
    color: #8597a8
}

.text-danger {
    color: var(--red)
}

.filter {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #eaf1f8;
    border: 1px solid #dce7f1;
    padding: 13px 17px;
    border-radius: 9px;
    margin-bottom: 22px
}

.filter input,
.filter select {
    width: auto;
    min-width: 180px;
    margin: 0
}

.medicine-card {
    border: 1px solid var(--line);
    border-radius: 11px;
    background: white;
    margin-bottom: 18px;
    overflow: hidden;
    border-left: 4px solid #9eb8d2
}

.medicine-card.state-short,
.medicine-card.state-over {
    border-left-color: var(--red)
}

.medicine-card.state-attention {
    border-left-color: #e4a13e
}

.medicine-card.state-normal {
    border-left-color: #3aaa91
}

.medicine-head {
    padding: 20px 23px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px
}

.category {
    font-size: 10px;
    letter-spacing: .8px;
    color: #748da4
}

.medicine-head h2 {
    font-size: 17px;
    margin: 4px 0
}

.medicine-head h2 a {
    color: #213f5b
}

.medicine-head p {
    font-size: 12px;
    color: var(--muted);
    margin: 3px 0
}

.quantity-summary {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    flex-direction: column
}

.quantity-summary strong {
    font-size: 26px;
    color: #345f87;
    line-height: 1.4
}

.quantity-summary strong small {
    font-size: 11px;
    font-weight: 400;
    margin-left: 5px
}

.quantity-summary span {
    font-size: 11px;
    color: #8699aa
}

.quantity-summary b {
    font-size: 12px;
    font-weight: 550
}

.status-short,
.status-over {
    color: var(--red)
}

.status-attention {
    color: var(--amber)
}

.status-normal {
    color: var(--green)
}

.medicine-actions {
    display: flex;
    gap: 17px;
    flex-wrap: wrap;
    padding: 13px 23px;
    border-top: 1px solid #e8eef5;
    background: #fbfcfe;
    font-size: 12px
}

.inline-empty {
    font-size: 12px;
    padding: 12px 23px;
    background: #f7fafc;
    color: #8a9aad
}

.table-wrap {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch
}

table {
    width: 100%;
    border-collapse: collapse;
    white-space: normal;
    font-size: 12px;
    text-align: left
}

th {
    background: #eff4f9;
    color: #5c7590;
    font-weight: 550;
    padding: 11px 15px;
    white-space: nowrap
}

td {
    padding: 12px 15px;
    border-bottom: 1px solid #eaf0f6;
    vertical-align: top
}

td small {
    display: block;
    font-size: 10px;
    color: var(--muted)
}

tr:last-child td {
    border-bottom: 0
}

.medicine-card table {
    min-width: 530px
}

.form-container {
    max-width: 760px;
    margin: auto
}

.form-panel {
    padding: 28px 32px
}

.info-note {
    font-size: 13px;
    line-height: 1.8;
    color: #496b8b;
    background: #eef6fd;
    padding: 14px 17px;
    border-left: 3px solid #4f9ee0;
    border-radius: 4px;
    margin-bottom: 25px
}

.field {
    margin: 0 0 19px
}

.field>label {
    display: block;
    font-size: 13px;
    font-weight: 550;
    margin-bottom: 7px
}

.field em {
    font-style: normal;
    color: #b73a50
}

.field small {
    display: block;
    color: #7d91a5;
    font-size: 11px;
    margin-top: 6px
}

.field.signature {
    padding: 17px;
    background: #f3f8fc;
    border: 1px solid #dce8f2;
    border-radius: 7px
}

input:not([type=checkbox]):not([type=hidden]),
select,
textarea {
    display: block;
    width: 100%;
    border: 1px solid #cbd9e6;
    border-radius: 6px;
    padding: 10px 12px;
    background: white;
    color: #1e3d59;
    min-height: 43px
}

select[multiple] {
    min-height: 150px
}

textarea {
    resize: vertical
}

input:focus,
select:focus,
textarea:focus {
    border-color: #5d9ed6;
    box-shadow: 0 0 0 3px #6aabe917;
    outline: 0
}

.checkbox {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    cursor: pointer
}

.checkbox input {
    width: 16px;
    height: 16px;
    margin: 0
}

.form-footer {
    display: flex;
    gap: 12px;
    margin-top: 25px
}

.errorlist {
    list-style: none;
    padding: 8px 12px;
    border-radius: 4px;
    margin: 5px 0 10px;
    background: #fff0f3;
    color: #ae2942;
    font-size: 12px
}

.flash {
    border: 1px solid #a3dccc;
    background: #e4f5ef;
    padding: 13px 20px;
    color: #116c55;
    border-radius: 6px
}

.messages {
    margin: 20px auto 0;
    max-width: 1380px;
    padding: 0 4vw
}

.alert-card {
    border: 1px solid #dfe8f1;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 14px
}

.alert-facts {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #71889e
}

.alert-facts b {
    color: #284e70
}

.distribution {
    font-size: 12px;
    margin-top: 12px;
    color: #516d88
}

.alert-card .muted {
    font-size: 12px
}

.count {
    font-size: 12px;
    margin-left: 6px;
    color: #6284a6
}

.preserve {
    white-space: pre-wrap;
    overflow-wrap: anywhere
}

.record {
    border-bottom: 1px solid #e4ecf3;
    padding: 17px 0
}

.record:first-child {
    padding-top: 0
}

.record summary {
    font-size: 12px;
    cursor: pointer
}

.record summary b {
    font-size: 13px
}

.record-input {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 11px;
    padding-top: 12px;
    color: #617a90
}

.record-input span {
    background: #f2f6fa;
    padding: 4px 9px;
    overflow-wrap: anywhere
}

.record .table-wrap {
    margin-top: 15px
}

details summary {
    cursor: pointer;
    color: #486c8c
}

details>p {
    margin-top: 12px
}

pre {
    font-size: 11px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    background: #f3f7fb;
    padding: 15px
}

body:has(.login-stage) {
    background: #081a31;
    color: white
}

body:has(.login-stage) main {
    max-width: none;
    padding: 0;
    min-height: calc(100vh - 65px)
}

body:has(.login-stage) footer {
    background: #081a31;
    border-color: #193149;
    color: #6d8ba5
}

.login-stage {
    min-height: calc(100vh - 65px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10vw;
    padding: 70px 8vw;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 20% 60%, #123f5f80, transparent 57%), linear-gradient(#10324a33 1px, transparent 1px), linear-gradient(90deg, #10324a33 1px, transparent 1px);
    background-size: auto, 56px 56px, 56px 56px
}

.login-intro,
.login-card {
    position: relative;
    z-index: 1
}

.login-intro {
    width: 430px
}

.login-intro .eyebrow {
    color: #6baccb;
    font-size: 11px
}

.login-symbol {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border: 1px solid #2f7090;
    background: #123f5b50;
    border-radius: 20px;
    font-size: 46px;
    color: #64e8f3;
    margin: 36px 0 26px;
    box-shadow: 0 0 60px #19c3f120
}

.login-intro h1 {
    font-size: 48px;
    line-height: 1.35;
    letter-spacing: 4px;
    font-weight: 600
}

.login-intro h1 span {
    color: #6dd8ed
}

.login-intro p {
    font-size: 13px;
    color: #93b2c7;
    letter-spacing: 1px;
    margin-top: 22px
}

.signal-line {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-top: 38px
}

.signal-line i {
    height: 18px;
    width: 3px;
    background: #4fddc9
}

.signal-line i:nth-child(2) {
    height: 12px
}

.signal-line i:nth-child(3) {
    height: 7px
}

.signal-line span {
    margin-left: 8px;
    font-size: 11px;
    letter-spacing: .5px;
    color: #608aa6
}

.login-card {
    width: 390px;
    flex-shrink: 0;
    border: 1px solid #31506b;
    border-radius: 17px;
    padding: 35px 34px;
    background: linear-gradient(150deg, #173650e8, #0d243ee8);
    box-shadow: 0 25px 80px #0003, 0 0 40px #4fd3ee08
}

.login-card .eyebrow {
    color: #6e9bb6
}

.login-card h2 {
    font-size: 23px;
    letter-spacing: 1px;
    margin: 8px 0
}

.login-card .muted {
    color: #92acbf;
    font-size: 12px;
    margin-bottom: 26px
}

.login-card form>label:not(.checkbox) {
    display: block;
    font-size: 12px;
    color: #a8c0d2;
    margin-bottom: 8px;
    margin-top: 18px
}

.login-card input:not([type=checkbox]) {
    background: #0a2136;
    border-color: #34516c;
    color: #e4f6ff;
    font-size: 13px
}

.login-card input::placeholder {
    color: #65869d
}

.password-wrap {
    position: relative
}

.password-wrap input {
    padding-right: 57px !important
}

.password-wrap button {
    position: absolute;
    right: 8px;
    top: 8px;
    background: transparent;
    border: 0;
    color: #82b9d9;
    font-size: 11px;
    padding: 5px
}

.login-card .checkbox {
    margin: 15px 0 23px;
    color: #99b4c8
}

.full {
    width: 100%;
    justify-content: space-between;
    padding: 12px 16px
}

.login-help {
    color: #7897af;
    font-size: 10px;
    line-height: 1.8;
    border-top: 1px solid #28445c;
    margin: 22px 0 0;
    padding-top: 18px
}

.errornote {
    padding: 9px 12px;
    color: #ffb6c3;
    border: 1px solid #7d485a;
    border-radius: 5px;
    background: #52293a55;
    font-size: 12px
}

.orb {
    position: absolute;
    border: 1px solid #3296ae1f;
    border-radius: 50%;
    pointer-events: none
}

.orb-one {
    width: 600px;
    height: 600px;
    left: -260px;
    bottom: -200px;
    box-shadow: 0 0 0 55px #3296ae07, 0 0 0 110px #3296ae05
}

.orb-two {
    width: 170px;
    height: 170px;
    right: 35px;
    top: -50px;
    box-shadow: 0 0 0 40px #3296ae05
}

@media(min-width:1550px) {

    .topbar,
    .nav {
        padding-left: calc((100vw - 1380px)/2);
        padding-right: calc((100vw - 1380px)/2)
    }
}

@media(max-width:1100px) {
    .unit-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .identity {
        font-size: 11px
    }

    .two-columns {
        grid-template-columns: 1fr 1fr
    }

    .login-stage {
        gap: 6vw;
        padding: 50px 6vw
    }

    .login-intro {
        width: 340px
    }

    .login-intro h1 {
        font-size: 40px
    }

    .login-card {
        width: 350px;
        padding: 30px 26px
    }

    .stat {
        padding: 17px
    }

    .stat>span {
        font-size: 11px
    }

    .stat i {
        font-size: 10px
    }
}

@media(max-width:760px) {
    .topbar {
        padding: 15px 5vw;
        flex-wrap: wrap;
        gap: 12px
    }

    .brand {
        font-size: 17px
    }

    .brand-mark {
        width: 35px;
        height: 35px;
        font-size: 23px
    }

    .brand small {
        font-size: 7px
    }

    .identity {
        width: 100%;
        font-size: 11px
    }

    .identity form {
        margin-left: auto
    }

    .nav {
        padding: 0 5vw;
        gap: 23px
    }

    .nav a {
        font-size: 12px;
        padding: 12px 1px
    }

    main {
        padding: 22px 5vw 32px
    }

    .page-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px
    }

    h1 {
        font-size: 23px
    }

    .page-heading p {
        font-size: 12px
    }

    .date-chip {
        font-size: 10px;
        padding: 5px 10px
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
    }

    .stat {
        padding: 14px
    }

    .stat strong {
        font-size: 31px
    }

    .two-columns {
        grid-template-columns: 1fr;
        gap: 0
    }

    .panel {
        padding: 18px;
        margin-bottom: 16px
    }

    .section-heading {
        gap: 10px
    }

    .section-heading>span {
        font-size: 10px
    }

    .section-heading h2 {
        font-size: 16px
    }

    .quick {
        flex-direction: column;
        align-items: flex-start
    }

    .unit-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
    }

    .unit-card {
        padding: 12px
    }

    .unit-card h3 {
        font-size: 12px;
        min-height: 39px
    }

    .unit-card .badge {
        font-size: 9px;
        padding: 3px 5px
    }

    .unit-card small {
        font-size: 9px
    }

    .unit-card p {
        font-size: 10px
    }

    .unit-card>div {
        gap: 2px
    }

    .toolbar>span {
        width: 100%;
        margin: 2px 0 0
    }

    .primary,
    .secondary {
        font-size: 12px;
        padding: 9px 12px;
        min-height: 40px
    }

    .filter {
        flex-wrap: wrap;
        padding: 12px
    }

    .filter label {
        font-size: 12px
    }

    .filter select,
    .filter input {
        min-width: 0;
        max-width: 100%;
        flex: 1
    }

    .medicine-head {
        padding: 16px;
        align-items: flex-start
    }

    .medicine-head h2 {
        font-size: 15px
    }

    .medicine-head p {
        font-size: 10px
    }

    .quantity-summary strong {
        font-size: 24px
    }

    .quantity-summary span,
    .quantity-summary b {
        font-size: 10px
    }

    .quantity-summary strong small {
        font-size: 9px
    }

    .medicine-actions {
        padding: 12px 16px;
        gap: 10px 18px;
        font-size: 11px
    }

    .inline-empty {
        padding: 12px 16px;
        font-size: 11px
    }

    .form-panel {
        padding: 20px
    }

    .form-footer {
        flex-wrap: wrap
    }

    .alert-card {
        padding: 15px
    }

    .alert-facts {
        gap: 7px 14px;
        font-size: 11px
    }

    .table-wrap table {
        min-width: 570px
    }

    footer {
        font-size: 10px;
        padding: 19px 8px
    }

    footer span {
        padding: 0 4px
    }

    .login-stage {
        flex-direction: column;
        gap: 30px;
        padding: 38px 6vw 34px
    }

    .login-intro {
        width: 100%;
        max-width: 390px;
        text-align: center
    }

    .login-intro .eyebrow {
        font-size: 8px
    }

    .login-symbol {
        width: 50px;
        height: 50px;
        border-radius: 13px;
        font-size: 30px;
        margin: 20px auto 14px
    }

    .login-intro h1 {
        font-size: 28px;
        letter-spacing: 2px
    }

    .login-intro h1 br {
        display: none
    }

    .login-intro p {
        font-size: 10px;
        letter-spacing: 0;
        margin-top: 13px
    }

    .signal-line {
        display: none
    }

    .login-card {
        width: 100%;
        max-width: 390px;
        border-radius: 12px;
        padding: 25px
    }

    .login-card h2 {
        font-size: 21px
    }

    .login-card .muted {
        margin-bottom: 20px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important
    }
}

.simulation-banner {
    display: flex;
    gap: 8px 16px;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px 4vw;
    background: #fff1cc;
    border-bottom: 1px solid #e9cb83;
    color: #704600;
    font-size: 12px;
    line-height: 1.7;
}

.simulation-banner strong {
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width:760px) {
    .simulation-banner {
        padding: 9px 5vw;
        font-size: 10px;
        gap: 2px 8px;
    }

    .simulation-banner strong {
        font-size: 11px;
    }
}
