:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #173238; background: #f4f7f6; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #3d9485; outline-offset: 3px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px clamp(24px, 5vw, 72px); border-bottom: 1px solid #dbe5e2; background: #fff; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-weight: 700; font-size: 18px; }
.mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #176b60; color: white; flex-shrink: 0; }
.divider { height: 22px; width: 1px; background: #d2ddda; margin: 0 8px; }
.label { color: #607773; font-weight: 400; font-size: 15px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .13em; color: #176b60; }
h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.15; letter-spacing: -.035em; margin: 20px 0; }
.intro { color: #607773; font-size: 19px; line-height: 1.6; max-width: 390px; }
.login-view { width: min(1120px, 100%); margin: auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; padding: 80px 28px; align-items: center; }
.login-card { border: 1px solid #dbe5e2; background: white; padding: 36px; border-radius: 18px; box-shadow: 0 8px 28px #17323805; }
h2 { font-size: 23px; letter-spacing: -.02em; margin: 15px 0 28px; }
label { display: block; font-size: 14px; font-weight: 600; margin: 20px 0 8px; }
input { border: 1px solid #c3d2cd; border-radius: 8px; padding: 12px; width: 100%; color: #173238; background: white; }
.primary { display: flex; justify-content: space-between; width: 100%; border: 0; border-radius: 8px; padding: 13px 16px; font-weight: 600; color: white; background: #176b60; }
.primary:hover { background: #10544b; }
.secondary { border: 1px solid #c3d2cd; color: #315d50; background: white; border-radius: 8px; padding: 9px 14px; font-size: 14px; white-space: nowrap; }
.error { color: #9a3535; font-size: 14px; min-height: 20px; line-height: 1.5; }
.loading, .page-error { text-align: center; margin: 60px 24px; }
.page-error { color: #9a3535; }
.workspace { width: min(1300px, 100%); margin: 0 auto; padding: 42px 28px 70px; flex: 1; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.page-heading h1 { font-size: 36px; margin: 10px 0; }
.muted { color: #607773; font-size: 14px; }
.page-heading p { margin: 0; font-size: 16px; }
.status { color: #775b21; background: #f7eed9; border: 1px solid #e8dcb9; padding: 8px 13px; font-size: 12px; font-weight: 600; border-radius: 20px; white-space: nowrap; }
.setup-notice { display: flex; gap: 14px; background: #eaf2ef; border: 1px solid #d2e3dd; border-radius: 12px; padding: 20px; color: #315d50; }
.setup-notice strong { font-size: 14px; }
.setup-notice p { font-size: 14px; line-height: 1.6; margin: 5px 0 0; }
.notice-icon { border: 1px solid #718f85; border-radius: 50%; flex-shrink: 0; width: 20px; height: 20px; text-align: center; font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 26px 0; }
.stats article { background: white; border: 1px solid #dbe5e2; border-radius: 12px; padding: 23px; display: flex; flex-direction: column; gap: 12px; }
.stats article > span { font-size: 14px; font-weight: 600; }
.stats strong { font-size: 32px; color: #93a7a0; line-height: 1; }
.stats small { color: #607773; font-size: 12px; }
.history { border: 1px solid #dbe5e2; border-radius: 14px; background: white; overflow: hidden; }
.section-heading { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; gap: 15px; }
.section-heading h2 { margin: 0; font-size: 20px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; padding: 14px 24px; white-space: nowrap; color: #607773; background: #f8faf9; border-block: 1px solid #e6eeea; }
.empty { text-align: center; padding: 50px 20px; }
.empty-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; color: #52776b; background: #edf4f1; border-radius: 12px; font-size: 23px; }
h3 { font-size: 17px; font-weight: 600; margin: 18px 0 9px; }
.empty p { color: #607773; font-size: 14px; line-height: 1.7; margin: 0; }
footer { padding: 24px; text-align: center; color: #607773; font-size: 12px; }
@media (max-width: 850px) { .login-view { gap: 32px; } .login-card { padding: 28px; } .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .divider, .label { display: none; } .topbar { padding: 18px 20px; } .brand { font-size: 16px; gap: 8px; } .login-view { grid-template-columns: 1fr; padding: 40px 24px; } .welcome h1 { font-size: 34px; } .intro { font-size: 16px; } .workspace { padding: 30px 18px; } .page-heading { align-items: flex-start; flex-direction: column; } .page-heading h1 { font-size: 30px; } .stats { gap: 12px; } .stats article { padding: 18px; } .section-heading { padding: 18px; } }
