:root {
  color-scheme: light;
  --sonigo-green: #95ffd2;
  --sonigo-green-hover: #7aefbb;
  --accent: #24694f;
  --accent-soft: #e2fbef;
  --accent-border: #9ecab6;
  --ink: #191c22;
  --muted: #515965;
  --line: #dce6e2;
  --paper: #fff;
  --background: #f7faf8;
  --pale: var(--accent-soft);
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--background); font: 16px/1.5 system-ui, sans-serif; }
a { color: inherit; }
.frame { width: min(100% - 2rem, 1180px); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--line); background: #fbfcf9; }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-size: 21px; font-weight: 750; letter-spacing: -.035em; text-decoration: none; }
.brand span { font-weight: 450; color: var(--muted); }
.secondary-link { font-weight: 600; text-underline-offset: 4px; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; }
main.frame { padding-block: clamp(2rem, 6vw, 4.5rem); }
.page-title { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
h1 { margin: 0; font: 400 clamp(2.6rem, 6vw, 4.75rem)/1.04 Georgia, serif; letter-spacing: -.055em; }
p { color: var(--muted); }
.page-title p { margin: .7rem 0 0; }
.connection { min-height: 1.5rem; margin: .8rem 0 1rem; font-size: .9rem; }
button, input { font: inherit; }
button { cursor: pointer; min-height: 42px; border: 1px solid var(--sonigo-green); border-radius: 9px; padding: .55rem .9rem; color: var(--ink); background: var(--sonigo-green); font-weight: 650; }
button:where(:hover:not(:disabled)) { border-color: var(--sonigo-green-hover); background: var(--sonigo-green-hover); }
button.secondary { border-color: var(--line); color: var(--ink); background: var(--paper); }
button:disabled { cursor: progress; opacity: .6; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-bottom: 1.25rem; }
.stat { padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.stat dt { color: var(--muted); }
.stat dd { margin: .08rem 0 0; font-size: 2rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.panel-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 1rem 1.2rem; }
h2 { font-size: 1.15rem; margin: 0; letter-spacing: -.025em; }
input { border: 1px solid #b0bfb5; border-radius: 8px; padding: .5rem .7rem; width: 100%; color: var(--ink); background: white; }
.table-scroll { overflow-x: auto; }
table { width: 100%; text-align: left; border-collapse: collapse; }
th, td { padding: .75rem 1rem; white-space: nowrap; border-top: 1px solid var(--line); }
th { color: var(--muted); font-weight: 650; background: #fafbf8; font-size: .9rem; }
td { font-size: .92rem; }
.reference { font: 600 .86rem/1.4 ui-monospace, monospace; }
.badge { padding: .2rem .5rem; border-radius: 100px; background: #eef0ea; font-size: .85rem; }
.badge.held { color: #6b4916; background: #f9edce; }
.badge.confirmed, .badge.started { color: #215c46; background: var(--pale); }
.badge.canceled { color: #8a332b; background: #f8e9e6; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.entries { list-style: none; padding: 0; margin: 0; }
.entries li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: .65rem 1.2rem; border-top: 1px solid var(--line); }
.meta { color: var(--muted); font-size: .9rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.login-page { min-height: 100vh; background: radial-gradient(ellipse at 50% 0%, var(--accent-soft) 0%, var(--background) 65%); }
.login-main { display: grid; place-items: center; min-height: calc(100vh - 73px); padding: 2rem 1rem 4rem; }
.login-card { width: min(100%, 460px); padding: clamp(1.5rem, 6vw, 2.75rem); box-shadow: 0 18px 56px #19342d12; }
.login-card h1 { font-size: clamp(2.7rem, 8vw, 3.85rem); }
.login-intro { margin: .75rem 0 1.65rem; }
.login-form { display: grid; gap: 1.15rem; }
.login-field { display: grid; gap: .4rem; }
.login-field label { font-weight: 650; }
.login-field input { min-height: 46px; }
.login-form button[type="submit"] { min-height: 46px; margin-top: .15rem; }
.password-field { position: relative; }
.password-field input { padding-right: 4.9rem; }
.password-toggle { position: absolute; top: 3px; right: 4px; min-height: 40px; border: 0; padding: 0 .75rem; background: transparent; color: var(--accent); }
.login-error { padding: .65rem .8rem; margin: 0 0 1rem; color: #8a332b; background: #f8e9e6; border-radius: 8px; }
.login-success { padding: .65rem .8rem; margin: 0 0 1rem; color: var(--accent); background: var(--pale); border-radius: 8px; }
.settings-card { width: min(100%, 540px); }
.settings-card h1 { font-size: clamp(2.3rem, 7vw, 3.15rem); }
.login-field small { font-size: .86rem; color: var(--muted); }
.checkout { width: min(100% - 2rem, 590px); margin: clamp(2rem, 8vw, 5rem) auto; padding: clamp(1.25rem, 5vw, 2.5rem); }
.checkout h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); }
.checkout form { display: grid; gap: .6rem; margin-block: 1.3rem; }
.checkout dl { padding: .65rem 1rem; background: var(--background); border-radius: 9px; }
.checkout dl div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .3rem; }
.checkout dt { font-weight: 650; }
.checkout dd { margin: 0; text-align: right; }
[hidden] { display: none !important; }
@media(max-width: 700px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .page-title { align-items: start; }
  .secondary-link { font-size: .9rem; }
  .header-actions { flex-wrap: wrap; gap: .35rem .7rem; padding-block: .5rem; }
}

.login-logo{width:105px;height:auto;vertical-align:middle}.masthead:has(.login-logo){background:white;color:#233c34}.masthead .brand{display:flex;gap:15px;align-items:center}
