:root {
  --navy:#10283d;
  --navy-deep:#0a1d2d;
  --gold:#d9b058;
  --gold-dark:#85631f;
  --paper:#f5f7f8;
  --ink:#142a3c;
  --muted:#697786;
  --line:#e0e6ea;
  --white:#fff
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  color:var(--ink);
  background:var(--paper);
  font:15px/1.6 "Segoe UI",Arial,sans-serif
}
button,input,select,textarea {
  font:inherit
}
a {
  color:inherit;
  text-decoration:none
}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:3px solid #d9b058;
  outline-offset:3px
}
.hidden {
  display:none!important
}
.visually-hidden {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.eyebrow {
  font-size:11px;
  letter-spacing:1.7px;
  font-weight:700;
  color:#927029
}
.logo {
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:white;
  font-size:16px;
  font-weight:750;
  line-height:1.25;
  letter-spacing:1.1px
}
.logo img {
  width:44px;
  height:44px;
  object-fit:cover;
  border-radius:50%;
  border:1px solid #d9b05877
}
.logo small {
  display:block;
  color:#c2ccd4;
  font-size:11px;
  font-weight:500;
  letter-spacing:1.6px;
  margin-top:4px
}
.sign-in-wrap {
  min-height:100svh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:32px 20px;
  background:radial-gradient(ellipse at 78% 17%,#1c4056 0,transparent 39%),var(--navy-deep)
}
.sign-in-wrap>.logo {
  margin-bottom:34px
}
.sign-in-card {
  width:min(100%,450px);
  padding:40px;
  background:white;
  border-radius:20px;
  box-shadow:0 24px 80px #0003
}
.sign-in-card h1 {
  margin:10px 0 8px;
  font-size:34px;
  letter-spacing:-1px
}
.sign-in-card>p {
  margin:0 0 28px;
  color:var(--muted)
}
.sign-in-card form,.form-grid {
  display:grid;
  gap:18px
}
.sign-in-card label,.form-grid>label,.time-grid label {
  display:grid;
  gap:8px;
  font-size:14px;
  font-weight:600
}
.input,.form-grid input,.form-grid select,.form-grid textarea,.sign-in-card input {
  width:100%;
  min-height:48px;
  padding:11px 13px;
  border:1px solid var(--line);
  border-radius:9px;
  background:white;
  color:var(--ink)
}
.form-grid textarea {
  resize:vertical
}
.primary {
  min-height:46px;
  padding:12px 18px;
  border:0;
  border-radius:9px;
  background:var(--navy);
  color:white;
  font-weight:650;
  cursor:pointer;
  transition:background .16s,transform .16s
}
.primary:hover {
  background:#214663;
  transform:translateY(-1px)
}
.primary:disabled {
  opacity:.55;
  cursor:wait;
  transform:none
}
.sign-in-card .primary {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:4px
}
.status {
  min-height:22px;
  font-size:14px;
  color:#566675
}
.status:empty {
  display:none
}
.status.error {
  color:#ac3030
}
.status.success {
  color:#28704e
}
.sign-in-foot {
  margin:22px 0;
  color:#ccd8e1;
  font-size:14px
}
.sign-in-foot a:hover {
  color:var(--gold)
}
.topbar {
  height:76px;
  padding:0 34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:var(--navy-deep);
  color:white;
  border-bottom:1px solid #ffffff17
}
.top-actions {
  display:flex;
  align-items:center;
  gap:20px
}
.view-site,.quiet,.text-button {
  font-size:14px
}
.view-site:hover,.text-button:hover {
  color:var(--gold-dark)
}
.quiet {
  border:1px solid #ffffff40;
  border-radius:8px;
  padding:9px 14px;
  color:white;
  background:transparent;
  cursor:pointer
}
.quiet:hover {
  background:#ffffff12
}
.layout {
  display:grid;
  grid-template-columns:245px minmax(0,1fr);
  min-height:calc(100svh - 76px)
}
.sidebar {
  display:flex;
  flex-direction:column;
  padding:34px 20px 24px 26px;
  background:#edf1f3;
  border-right:1px solid var(--line)
}
.sidebar nav {
  display:grid;
  gap:8px;
  margin-top:14px
}
.sidebar nav a {
  display:flex;
  align-items:center;
  gap:14px;
  padding:13px 12px;
  border-radius:10px;
  color:#60707d;
  font-size:11px;
  font-variant-numeric:tabular-nums
}
.sidebar nav a span {
  font-size:14px;
  font-variant-numeric:normal
}
.sidebar nav a:hover,.sidebar nav a[aria-current="page"] {
  color:var(--navy);
  background:white
}
.sidebar nav a[aria-current="page"] {
  box-shadow:inset 3px 0 var(--gold);
  font-weight:700
}
.sidebar-note {
  margin-top:auto;
  padding:16px 13px;
  border-top:1px solid #d8e0e4;
  color:var(--muted);
  font-size:13px
}
.workspace {
  min-width:0;
  padding:42px clamp(22px,4vw,62px)
}
.welcome {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  margin-bottom:30px
}
.welcome h1 {
  font-size:clamp(30px,3vw,42px);
  letter-spacing:-1.3px;
  line-height:1.2;
  margin:10px 0 7px
}
.welcome p {
  margin:0;
  color:var(--muted)
}
.save-indicator {
  display:flex;
  align-items:center;
  gap:9px;
  white-space:nowrap;
  font-size:13px;
  color:var(--muted)
}
.save-indicator span {
  width:8px;
  height:8px;
  border-radius:50%;
  background:#49a175
}
.panel-grid {
  display:grid;
  grid-template-columns:minmax(300px,.92fr) minmax(320px,1.08fr);
  gap:20px;
  align-items:start
}
.card {
  min-width:0;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:15px;
  padding:24px;
  box-shadow:0 8px 30px #102a4007
}
.card-head {
  display:flex;
  justify-content:space-between;
  align-items:start;
  gap:15px;
  margin-bottom:23px
}
.card-head h2,.security-card h2 {
  font-size:20px;
  letter-spacing:-.35px;
  margin:5px 0 0
}
.optional {
  font-size:12px;
  color:var(--muted);
  font-weight:400
}
.text-button {
  border:0;
  padding:3px;
  color:var(--navy);
  background:transparent;
  cursor:pointer
}
.photo-field {
  border:0;
  padding:0;
  margin:0
}
.photo-field legend {
  padding:0 0 12px;
  font-size:14px;
  font-weight:600
}
.photo-field legend .optional {
  display:block;
  margin-top:3px
}
.photo-row {
  display:flex;
  align-items:center;
  gap:15px
}
.avatar-placeholder {
  display:grid;
  place-items:center;
  width:68px;
  height:68px;
  border-radius:50%;
  background:#f4eedc;
  color:var(--gold-dark);
  font-size:21px;
  font-weight:600
}
.upload-button {
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:8px 12px;
  border:1px solid #ced7dd;
  border-radius:8px;
  background:#fff;
  color:var(--navy);
  cursor:pointer;
  font-size:13px;
  font-weight:600
}
.upload-button:hover {
  background:#f2f5f6
}
.upload-status {
  margin:7px 0 0;
  color:var(--muted);
  font-size:12px
}
.count {
  display:grid;
  place-items:center;
  min-width:31px;
  height:31px;
  border-radius:50%;
  background:#f5f0e2;
  color:var(--gold-dark);
  font-weight:650
}
.record-list {
  display:grid;
  gap:10px
}
.empty-copy {
  margin:0;
  color:var(--muted);
  font-size:14px
}
.record {
  display:flex;
  align-items:center;
  gap:13px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:11px;
  min-width:0
}
.record-photo,.record-initial {
  width:48px;
  height:48px;
  flex:0 0 48px;
  border-radius:50%;
  object-fit:cover;
  background:#edf1f4
}
.record-initial {
  display:grid;
  place-items:center;
  background:#f5f0e2;
  color:var(--gold-dark);
  font-weight:700
}
.record-info {
  min-width:0;
  flex:1
}
.record-info strong {
  display:block;
  overflow-wrap:anywhere;
  font-size:14px
}
.record-info span {
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-top:2px
}
.record-actions {
  display:flex;
  gap:6px
}
.record-actions button {
  width:36px;
  height:36px;
  border:1px solid var(--line);
  border-radius:8px;
  background:white;
  color:var(--navy);
  cursor:pointer
}
.record-actions button:hover {
  background:#f2f4f6
}
.record-actions .delete:hover {
  color:#ae3535;
  background:#fff4f4
}
.time-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px
}
.section-help,.security-card p {
  color:var(--muted);
  font-size:14px
}
.security-card p {
  margin-top:20px
}
.global-status {
  margin:0 0 12px
}
@media(max-width:940px) {
  .layout {
    grid-template-columns:205px minmax(0,1fr)
  }
  .sidebar {
    padding-left:16px;
    padding-right:13px
  }
  .workspace {
    padding-left:24px;
    padding-right:24px
  }
  .panel-grid {
    grid-template-columns:1fr
  }
  .list-card {
    grid-row:1
  }
}
@media(max-width:620px) {
  .topbar {
    height:auto;
    min-height:70px;
    padding:13px 17px
  }
  .logo {
    font-size:14px;
    gap:9px
  }
  .logo img {
    width:38px;
    height:38px
  }
  .logo small {
    font-size:9px
  }
  .top-actions {
    gap:9px
  }
  .view-site {
    font-size:12px
  }
  .quiet {
    font-size:12px;
    padding:8px 10px
  }
  .layout {
    display:flex;
    flex-direction:column;
    min-height:calc(100svh - 70px)
  }
  .sidebar {
    padding:10px 15px 8px;
    border-right:0;
    border-bottom:1px solid var(--line)
  }
  .sidebar>.eyebrow,.sidebar-note {
    display:none
  }
  .sidebar nav {
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:5px;
    margin:0
  }
  .sidebar nav a {
    justify-content:center;
    padding:9px 4px;
    font-size:10px
  }
  .sidebar nav a span {
    font-size:11px;
    text-align:center;
    line-height:1.2
  }
  .sidebar nav a[aria-current="page"] {
    box-shadow:inset 0 -2px var(--gold)
  }
  .workspace {
    padding:26px 15px 40px
  }
  .welcome {
    align-items:start;
    margin-bottom:22px
  }
  .welcome h1 {
    font-size:29px
  }
  .welcome p {
    font-size:14px;
    max-width:280px
  }
  .save-indicator {
    font-size:11px;
    padding-top:9px
  }
  .card {
    padding:19px 16px;
    border-radius:13px
  }
  .card-head h2 {
    font-size:18px
  }
  .record {
    gap:9px;
    padding:10px
  }
  .record-photo,.record-initial {
    width:42px;
    height:42px;
    flex-basis:42px
  }
  .record-actions {
    gap:4px
  }
  .record-actions button {
    width:32px;
    height:32px
  }
  .sign-in-card {
    padding:29px 23px
  }
  .sign-in-card h1 {
    font-size:30px
  }
}
@media(max-width:360px) {
  .sidebar nav a {
    gap:2px
  }
  .sidebar nav a span {
    font-size:10px
  }
  .save-indicator {
    display:none
  }
  .workspace {
    padding-left:12px;
    padding-right:12px
  }
}
