:root { color-scheme: light; font-family: Inter, "Microsoft YaHei", sans-serif; color: #142238; background: #e7ebee; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; background: #e7ebee; }
button, input { font: inherit; }
button { cursor: pointer; }
.shell { min-height: 100vh; }
.login-view { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 460px); align-items: center; gap: 8vw; padding: 7vw 10vw; background: linear-gradient(135deg, #f5f7f8 0%, #e4e9ed 100%); }
.brand-block { display: flex; align-items: center; gap: 12px; color: #0f1e30; }
.brand-block > div { display: grid; gap: 4px; }
.brand-block strong { font-size: 22px; letter-spacing: 0; }
.brand-block span:not(.brand-mark) { color: #718096; font-size: 13px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: #0f1e30; border-radius: 8px; font-weight: 700; }
.login-view > .brand-block { align-self: start; }
.login-panel, .panel { background: #fff; border: 1px solid #d7dee5; border-radius: 8px; box-shadow: 0 12px 30px rgba(15, 30, 48, .08); }
.login-panel { padding: 36px; }
.eyebrow { margin: 0 0 10px; color: #486381; font-size: 12px; font-weight: 700; letter-spacing: 1px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 10px; font-size: 32px; letter-spacing: 0; }
h2 { margin-bottom: 6px; font-size: 18px; }
.muted { color: #6b7888; line-height: 1.6; }
form { display: grid; gap: 9px; margin-top: 28px; }
label { color: #31445d; font-size: 13px; font-weight: 600; }
input { width: 100%; min-height: 44px; padding: 0 12px; color: #142238; border: 1px solid #bec9d4; border-radius: 6px; outline: none; background: #fff; }
input:focus { border-color: #486381; box-shadow: 0 0 0 3px rgba(72, 99, 129, .18); }
button { min-height: 40px; padding: 0 16px; border: 1px solid transparent; border-radius: 6px; font-weight: 600; }
.primary { margin-top: 10px; color: #fff; background: #1e2a48; }
.primary:hover { background: #0f1e30; }
.secondary, .quiet { color: #1e2a48; border-color: #bcc9d6; background: #fff; }
.quiet { min-height: 34px; padding: 0 12px; }
.message { min-height: 20px; margin: 4px 0 0; color: #b42318; font-size: 13px; }
.message[data-type="ok"] { color: #27733b; }
.footer-note { position: absolute; bottom: 22px; color: #8995a3; font-size: 12px; }
.app-view { min-height: 100vh; }
.topbar { height: 72px; display: flex; justify-content: space-between; align-items: center; padding: 0 5vw; background: #fff; border-bottom: 1px solid #d7dee5; }
.compact .brand-mark { width: 34px; height: 34px; font-size: 14px; }
.compact strong { font-size: 17px; }
.compact span:not(.brand-mark) { font-size: 11px; }
.user-actions { display: flex; align-items: center; gap: 16px; }
.user-label { color: #486381; font-size: 13px; }
.content { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0; }
.page-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 28px; }
.status { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: #e6f4ea; color: #27733b; font-size: 12px; }
.status.neutral { background: #edf1f5; color: #6b7888; }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.summary-card { min-height: 112px; padding: 18px; background: #fff; border: 1px solid #d7dee5; border-radius: 8px; }
.summary-card span { display: block; color: #6b7888; font-size: 13px; }
.summary-card strong { display: block; margin-top: 18px; color: #0f1e30; font-size: 28px; }
.panel { padding: 24px; box-shadow: none; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; }
.catalog-panel { margin-top: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.compact-form { display: grid; gap: 8px; margin-top: 0; padding: 18px; background: #f8fafb; border: 1px solid #d7dee5; border-radius: 8px; }
.compact-form h3, .catalog-lists h3 { margin: 0 0 4px; font-size: 15px; }
.compact-form .primary { margin-top: 6px; }
.catalog-lists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.data-list { display: grid; gap: 8px; max-height: 260px; overflow: auto; }
.data-row { padding: 10px 12px; background: #fff; border: 1px solid #d7dee5; border-radius: 6px; font-size: 13px; }
.data-row strong, .data-row span { display: block; }
.data-row span { margin-top: 3px; color: #6b7888; }
.import-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid #d7dee5; }
.import-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.import-form { display: grid; gap: 8px; margin-top: 0; padding: 16px; background: #f8fafb; border: 1px solid #d7dee5; border-radius: 8px; }
.import-form strong { color: #0f1e30; }
.import-fields { min-height: 38px; margin: 0; color: #6b7888; font-size: 12px; line-height: 1.6; }
.import-form input[type="file"] { min-height: 40px; padding: 8px; font-size: 12px; }
.import-form button { min-height: 36px; padding: 0 10px; font-size: 13px; }
select { width: 100%; min-height: 44px; padding: 0 12px; color: #142238; border: 1px solid #bec9d4; border-radius: 6px; outline: none; background: #fff; }
select:focus { border-color: #486381; box-shadow: 0 0 0 3px rgba(72, 99, 129, .18); }
@media (max-width: 760px) { .login-view { display: block; padding: 32px 20px; } .login-view > .brand-block { margin-bottom: 18vh; } .login-panel { padding: 26px 22px; } .footer-note { position: static; margin-top: 28px; } .topbar { height: auto; min-height: 68px; padding: 14px 20px; gap: 12px; } .user-actions { gap: 8px; } .user-label { display: none; } .content { width: calc(100% - 28px); padding: 30px 0; } .page-heading { display: block; } .page-heading .status { margin-top: 10px; } .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .form-grid, .catalog-lists, .import-grid { grid-template-columns: 1fr; } }
