:root {
  color-scheme: light;
  --paper: #f4f7f8;
  --surface: #fff;
  --ink: #13242c;
  --muted: #4c606b;
  --line: #dce5e8;
  --accent: #08664f;
  --accent-hover: #064f3e;
  --focus: #1374b3;
  --radius: 16px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
h1, h2 { margin: 0; line-height: 1.13; letter-spacing: -.035em; }
h1 { font-size: clamp(30px, 4vw, 44px); }
h2 { font-size: 22px; }
p { margin: 8px 0 12px; color: var(--muted); }
a { color: var(--accent); font-weight: 650; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header-inner {
  width: min(1200px, calc(100% - 48px));
  min-height: 68px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand { display: flex; gap: 11px; align-items: center; font-size: 16px; font-weight: 750; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: white;
  border-radius: 9px;
}
.brand-mark svg { width: 21px; height: 21px; }
.header-context { color: var(--muted); font-size: 13px; text-align: right; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .14em;
}
.sign-in-layout { width: min(1060px, calc(100% - 48px)); margin: clamp(38px, 11vh, 112px) auto 24px; }
.sign-in-frame {
  display: grid;
  grid-template-columns: 1.07fr 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 23px;
  box-shadow: 0 22px 54px rgba(19, 44, 52, .11);
  overflow: hidden;
}
.intro-panel {
  min-width: 0;
  padding: clamp(30px, 4.6vw, 62px);
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 95% 100%, #12534d, transparent 66%), #102f37;
  color: white;
}
.intro-panel .eyebrow { color: #8be8ce; }
.intro-panel h2 { font-size: clamp(33px, 4.3vw, 59px); font-weight: 700; letter-spacing: -.06em; }
.intro-panel > p:not(.eyebrow) { max-width: 31ch; margin-top: 18px; color: #cfdfdf; }
.intro-art { margin-top: auto; padding-top: 24px; }
.intro-art svg { width: 100%; height: auto; display: block; }
.sign-in-form { min-width: 0; padding: clamp(30px, 5vw, 68px); align-self: center; }
.sign-in-form h1 { font-size: clamp(29px, 3.1vw, 40px); }
.sign-in-form form { display: grid; gap: 15px; margin: 24px 0 0; }
.sign-in-form .sign-in-help { font-size: 13px; margin: 17px 0 0; }
.sign-in-submit { display: flex; width: 100%; align-items: center; justify-content: space-between; }
.sign-in-submit span { font-size: 19px; line-height: 1; }
.workspace { width: min(1200px, calc(100% - 48px)); margin: 32px auto 24px; }
.hero { padding: 8px 0 18px; }
.hero img { float: right; max-width: 108px; max-height: 48px; object-fit: contain; margin-left: 12px; }
.workspace-meta { margin: 9px 0 0; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 2.6vw, 28px);
  margin-bottom: 16px;
}
.card h2 { margin-bottom: 13px; }
.pill {
  display: inline-block;
  vertical-align: middle;
  background: #e7f4ef;
  color: var(--accent);
  border-radius: 50px;
  padding: 3px 9px;
  font-size: 12px;
  letter-spacing: 0;
}
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; }
nav a:hover { background: #e9eff1; }
nav a[aria-current="page"] { background: #e1f0ea; color: var(--accent); }
nav form { margin: 0 0 0 auto; }
nav button { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
nav button:hover { background: #e9eff1; }
form { margin: 12px 0 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 14px; align-items: end; }
.grid input[type="hidden"] { display: none; }
label { display: block; font-size: 13px; font-weight: 650; }
input, select {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 5px;
  padding: 9px 11px;
  border: 1px solid #82969f;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
}
input[readonly] { background: var(--paper); }
button {
  justify-self: start;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
button:hover { background: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.scroll { overflow: auto; margin-top: 10px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { background: var(--paper); color: var(--muted); font-size: 13px; white-space: nowrap; }
tbody tr:hover { background: #f8fbfb; }
.alert, .notice { padding: 10px 13px; border: 1px solid #f5c8c8; border-radius: 8px; background: #fff2f2; color: #8c2828; }
.notice { border-color: #c3e2d5; background: #eaf6f0; color: #155141; }
.site-footer { display: flex; justify-content: space-between; gap: 12px; padding: 18px 2px 0; color: var(--muted); font-size: 12px; }
@media (max-width: 740px) {
  .sign-in-frame { grid-template-columns: 1fr; }
  .intro-panel { padding: 28px; }
  .intro-panel h2 br { display: none; }
  .intro-panel > p:not(.eyebrow) { max-width: none; margin-bottom: 0; }
  .intro-art { display: none; }
  .sign-in-form { padding: 28px; }
  .sign-in-layout, .workspace { width: calc(100% - 28px); margin-top: 24px; }
  .site-header-inner { width: calc(100% - 28px); min-height: 60px; }
}
