:root {
  --bg: #f4f1e9;
  --surface: #ffffff;
  --surface-soft: #faf8f3;
  --ink: #171717;
  --muted: #67645e;
  --line: #d9d4ca;
  --line-dark: #c5c0b7;
  --blue: #096bd8;
  --blue-dark: #075dbb;
  --green: #dff4dc;
  --green-ink: #17652d;
  --sand: #f3e4bf;
  --red: #b42318;
  --shadow: 0 1px 2px rgba(0,0,0,.04);
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-width: 1180px;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.28;
}
button, input, textarea, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: block; width: 17px; height: 17px; flex: 0 0 auto; }
h1, h2, h3, p { margin-top: 0; }

.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 172px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  background: #fbfaf6;
  border-right: 1px solid var(--line);
}
.brand {
  height: 51px;
  padding: 0 19px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--line);
}
.brand-mark {
  width: 24px;
  height: 24px;
  border: 1.5px solid #171717;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
}
.brand-word { font-size: 15px; font-weight: 800; letter-spacing: -.04em; }
.sidebar-nav { display: grid; gap: 2px; padding: 10px 9px; }
.nav-link {
  height: 34px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 7px;
  color: #222;
  font-size: 13px;
}
.nav-link:hover { background: #f1efe9; }
.nav-link.active { background: #eceae4; color: #075fab; font-weight: 700; }
.nav-link svg { width: 17px; height: 17px; }
.sidebar-bottom { margin-top: auto; padding: 8px 9px 12px; }
.sidebar-utility-actions { display: grid; gap: 2px; margin-bottom: 6px; }
.sidebar-utility-button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
}
.sidebar-rule { height: 1px; background: var(--line); margin: 8px 6px 10px; }
.account-button {
  width: 100%; border: 0; background: transparent; border-radius: 7px;
  padding: 5px 6px; display: grid; grid-template-columns: 33px 1fr 12px;
  gap: 8px; align-items: center; text-align: left;
}
.account-button:hover { background: #f0eee8; }
.account-copy { min-width: 0; display: flex; flex-direction: column; }
.account-copy strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
.account-copy small { color: var(--muted); font-size: 9px; }
.availability {
  display: flex; align-items: center; gap: 6px; margin: 3px 6px 0;
  padding: 5px 7px; background: #eef7ea; color: #31543a;
  border-radius: 999px; font-size: 9px;
}
.availability::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2ca44f; }

.workspace { min-height: 100vh; margin-left: 172px; }
.topbar {
  position: fixed; top: 0; left: 172px; right: 0; height: 51px; z-index: 35;
  display: flex; align-items: center; gap: 15px; padding: 0 16px;
  background: rgba(251,250,246,.98); border-bottom: 1px solid var(--line);
}
.searchbox {
  width: min(490px, 46vw); height: 32px; display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 0 10px;
}
.searchbox svg { width: 15px; color: #555; }
.searchbox input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 11px; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.top-button, .icon-button, .profile-button { border: 0; background: transparent; display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 4px; }
.top-button { font-weight: 700; }
.profile-button strong { font-size: 11px; }
.create-wrap { position: relative; }
.create-button { height: 32px; border: 0; background: var(--blue); color: #fff; border-radius: 7px; padding: 0 12px; font-weight: 700; display: flex; align-items: center; gap: 5px; }
.create-button:hover { background: var(--blue-dark); }
.create-menu {
  position: absolute; right: 0; top: 38px; width: 172px; z-index: 80;
  display: none; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 5px; box-shadow: 0 10px 30px rgba(0,0,0,.13);

}

.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
