:root {
  --forest: #29533d;
  --lime: #c7e786;
  --ink: #17382b;
}

#appScreen.shell {
  grid-template-columns: 218px minmax(0, 1fr);
  padding-bottom: 0;
  background: #f6f9f0;
}

.v65sidebar .v65brand {
  flex-direction: row;
  justify-content: flex-start;
  text-align: left;
  padding: 4px 6px 16px;
  font-size: 16px;
}

.v65brand img { width: 44px; height: 44px; border-radius: 10px; }
.luxeLabel { display: block; color: #4b662d; font-size: 10px; font-weight: 850; letter-spacing: .13em; }
.v65links button { display: flex; align-items: center; gap: 9px; min-height: 46px; }
.v65links button:first-child { background: transparent; }
.v65links button.active, .v65links button.active:first-child { background: #e4f2c7; color: #24442c; }
[data-view] i { font-style: normal; }
.v65content > .page { width: min(100%, 1090px); margin: auto; padding: 30px 26px 60px; }
#home > .brand { padding: 0 0 16px; border-bottom: 1px solid #dfe9d8; }
#home .brandLeft img { display: none; }
.luxeIntro { padding: 28px 0 2px; }
.luxeIntro h1, #team h1 { font-size: clamp(32px, 5vw, 48px); margin: 0 0 8px; line-height: 1.06; }
.luxeIntro p { margin: 0 0 9px; color: #52665a; }
#name { font-size: 14px; font-weight: 750; color: #416445; }
.luxeHome .weekPanel { margin-top: 18px; }
.luxeHome .weekHead { align-items: center; gap: 10px; flex-wrap: wrap; }
.luxeHome .weekHead h2 { margin: 0; font-size: 16px; }
.luxeHome .weekNav button { min-height: 44px; min-width: 44px; }
.luxeHome .week { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; overflow: visible; }
.luxeHome .day { min-width: 0; min-height: 102px; padding: 10px 4px; overflow-wrap: anywhere; }
.luxeHome .day b { font-size: 13px; }
.luxeHome .day small { font-size: 11px; color: #3f5549; }
.luxeHome .day[aria-pressed="true"] { border-color: #567b37; box-shadow: inset 0 0 0 1px #567b37; background: #ecf6d5; }
.luxeHome .day:disabled { opacity: .65; cursor: default; }
.dayDate { color: #536957; font-size: 11px; }
.shortDay { display: none; }
.luxeMessage { margin: 13px 0; color: #41594b; font-size: 13px; }
#editArea.card { max-width: 760px; padding: clamp(15px, 3vw, 25px); }
#dayForm h2, #office h2 { margin: 0 0 13px; font-size: 20px; }
#dayForm .actions { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 15px; gap: 8px; }
#actions button { border: 1px solid #dfe8da; background: #f8fbf5; color: #254936; min-height: 44px; border-radius: 12px; padding: 6px 4px; font-weight: 750; font-size: 13px; }
#actions button[aria-pressed="true"] { background: #e4f2c7; border-color: #799649; }
#dayForm label { display: block; margin: 12px 0 5px; font-size: 13px; font-weight: 800; }
#dayForm label small { font-weight: 500; }
#dayStatus, #locationNote { width: 100%; border: 1px solid #cbd8ca; border-radius: 12px; padding: 10px; color: var(--ink); background: #fff; }
#dayStatus { min-height: 44px; }
#locationNote { resize: vertical; min-height: 60px; }
.luxeHint, .luxeLocation { margin: 6px 0; color: #52665a; font-size: 12px; }
.luxeLocation summary { cursor: pointer; padding: 6px 0; }
.luxeSave .saveDayBtn { background: #c7e786; margin-bottom: 3px; }
.luxeSave p { color: #365543; min-height: 18px; margin: 4px 0 0; font-size: 13px; }
.v8tools button { min-height: 44px; }
.luxePerson summary { list-style: none; }
.luxePerson summary::-webkit-details-marker { display: none; }
.luxePerson .v8note { margin: 0; padding: 10px 12px; }
#peoplelist { margin-top: 12px; }
#office .card { max-width: 640px; }
#office .syncAdmin:disabled { opacity: .55; cursor: wait; }
#team .dashBottom { margin-bottom: 12px; }
.nav { display: none; }

@media (max-width: 750px) {
  #appScreen.shell { display: block; }
  .v65content > .page { padding: 16px 12px calc(93px + env(safe-area-inset-bottom)); }
  #home .brandLeft img { display: block; }
  #home .brandLeft .heroAvatar, #home .brand.has-photo .brandLeft > img:first-child { display: none; }
  #home .brand.has-photo .brandLeft .heroAvatar { display: block; }
  .luxeIntro { padding-top: 19px; }
  .luxeHome .week { gap: 4px; }
  .luxeHome .day { min-height: 82px; }
  .shortDay { display: inline; }
  .longDay { display: none; }
  .nav { display: flex; width: 100%; height: calc(66px + env(safe-area-inset-bottom)); }
  .nav button { flex: 1; min-width: 0; color: #53665b; padding: 4px 1px; }
  .nav button.active { color: #24442c; background: #eaf4d9; }
}
