:root {
  --forest: #263c30;
  --forest-l: #3a5a48;
  --forest-d: #16251d;
  --cream: #f5f1e8;
  --cream-d: #e8e2d3;
  --gold: #bda763;
  --sage: #7a9e8a;
  --mint: #a8c4b3;
  --coral: #d4836a;
  --bg: #faf7ee;
  --text: #2c2c2c;
  --text2: #6b6b6b;
  --muted: #9a9a9a;
  --border: #e8e2d3;
  --browser-w: 1200px;
  --browser-h: 760px;
  --safari-h: 40px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 0;
  height: var(--browser-h);
  padding: 0;
  overflow: hidden;
}

.browser {
  width: var(--browser-w);
  height: var(--browser-h);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.safari-bar {
  height: var(--safari-h);
  background: #f5f1e8;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot:nth-child(1) {
  background: #ff5f57;
}

.dot:nth-child(2) {
  background: #ffbd2e;
}

.dot:nth-child(3) {
  background: #28c840;
}

.urlbar {
  background: #fff;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--text2);
  margin: 0 auto;
  width: 400px;
  text-align: center;
}

.app-shell {
  display: flex;
  flex: 1;
  min-height: 0;
}

.sidebar {
  width: 200px;
  background: var(--forest);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  flex-shrink: 0;
  min-height: 0;
  overflow: hidden;
}

.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--gold);
  padding: 4px 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
  flex-shrink: 0;
}

.nav-section {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  padding: 8px 8px 2px;
}

.nav-item {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 1px 0;
  color: rgba(255, 255, 255, 0.67);
  cursor: pointer;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-item.active {
  background: rgba(189, 167, 99, 0.15);
  color: var(--gold);
}

.nav-badge {
  margin-left: auto;
  background: var(--coral);
  color: #fff;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 700;
}

.sidebar-nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  margin: 0 -4px;
  padding: 0 4px;
}

.sidebar-nav::-webkit-scrollbar {
  width: 0;
}

.sidebar-bottom {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
}

.avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--forest-d);
  flex-shrink: 0;
}

.user-name {
  font-size: 12px;
  font-weight: 500;
}

.user-email {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.main {
  flex: 1;
  background: var(--bg);
  display: flex;
  min-width: 0;
}

.content {
  flex: 1;
  padding: 28px 32px;
  overflow-y: auto;
  min-width: 0;
}

.ui-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  vertical-align: -0.14em;
  color: currentColor;
  flex-shrink: 0;
}

.ui-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.nav-item .ui-icon,
.s-item .ui-icon {
  margin-right: 8px;
  opacity: 0.85;
}

.ico .ui-icon,
.m-ico .ui-icon,
.med-ico .ui-icon,
.act-ico .ui-icon,
.nav-icon > .ui-icon,
.nav-i > .ui-icon,
.n-i > .ui-icon,
.row-icon .ui-icon,
.script-icon .ui-icon,
.rx-icon .ui-icon,
.rx-ico .ui-icon,
.ci-ico .ui-icon,
.f-ico .ui-icon,
.attach .ui-icon,
.notif > .ui-icon {
  width: 1.08em;
  height: 1.08em;
  margin: 0;
}
