:root {
  --bg: #f4f0e6;
  --ink: #1d2420;
  --muted: #667069;
  --line: #ddd6c4;
  --gold: #c69a23;
  --gold-text: #8a6410;
  --soft: #efe7d0;
  --green: #0f2a24;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  height: 100vh;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.5;
}
button,
input {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
}
.shell {
  display: grid;
  grid-template-columns: 268px 1fr;
  height: 100vh;
}
aside {
  background: var(--green);
  color: #b9c2b5;
  display: flex;
  flex-direction: column;
  padding: 26px 14px;
  overflow-y: auto;
}
main {
  min-width: 0;
  overflow-y: auto;
  padding: 44px 40px 56px;
}
.side-logo {
  display: block;
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(239, 232, 212, 0.12);
  text-align: left;
  cursor: pointer;
  padding: 0 10px 22px;
  margin-bottom: 10px;
}
.side-logo img {
  display: block;
  width: 100%;
  max-width: 190px;
  height: auto;
}
.nav-title {
  font-size: 12.5px;
  color: #7f8d84;
  padding: 18px 12px 6px;
}
.nav-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 0 4px 4px 0;
  padding: 9px 12px;
  font-size: 14px;
  color: inherit;
  cursor: pointer;
}
.nav-btn:hover {
  background: rgba(239, 232, 212, 0.07);
  color: #fff;
}
.nav-btn.active {
  border-left-color: var(--gold);
  background: rgba(198, 154, 35, 0.14);
  color: #fff;
  font-weight: 600;
}
.view {
  display: none;
  max-width: 1040px;
}
.view.active {
  display: block;
}
.page-head {
  margin-bottom: 34px;
}
.page-head h2 {
  font-size: 30px;
  line-height: 1.15;
}
.page-head p {
  max-width: 60ch;
  margin-top: 8px;
  color: var(--muted);
}
.notices {
  margin-top: 40px;
}
.notices h3 {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  font-size: 24px;
}
.notice {
  margin-bottom: 14px;
  padding: 14px 0 14px 16px;
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, var(--soft), transparent 70%);
}
.notice h4 {
  margin-bottom: 2px;
  font-size: 15px;
}
.notice p {
  color: var(--muted);
  font-size: 14px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(340px, 100%);
  margin-bottom: 20px;
  padding: 6px 2px;
  border-bottom: 1px solid var(--line);
}
.search[hidden] {
  display: none;
}
.search:focus-within {
  border-color: var(--gold);
}
.search input {
  width: 100%;
  border: 0;
  outline: none;
  background: none;
  font-size: 14px;
}
.rows {
  border-top: 2px solid var(--ink);
}
.rows.has-subtabs {
  border-top: 0;
}
.subtab-header {
  margin: 28px 0 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  font-size: 21px;
  font-weight: 700;
}
.subtab-header:first-child {
  margin-top: 0;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 6px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.row:hover {
  background: var(--soft);
}
.row h4 {
  font-size: 17px;
  font-weight: 600;
}
.row span {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-text);
}
.muted {
  padding: 18px 0;
  color: var(--muted);
}
.folder-container {
  margin-bottom: 10px;
}
.acc-line-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 16px 6px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}
.acc-line-btn:hover {
  background: var(--soft);
}
.acc-line-btn::after {
  content: "+";
  font-size: 20px;
  font-weight: 600;
  color: var(--gold-text);
  transition: transform 0.3s ease;
}
.acc-line-btn.active {
  background: var(--soft);
  border-bottom-color: var(--gold);
}
.acc-line-btn.active::after {
  content: "−";
  transform: rotate(180deg);
}
.acc-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 14px;
  border-bottom: 0 solid var(--line);
  background: var(--bg);
  transition:
    max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.28s ease,
    padding 0.32s ease,
    border-bottom-width 0.2s ease;
}
.acc-panel.open {
  opacity: 1;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.acc-panel .row {
  border-bottom: 1px solid rgba(221, 214, 196, 0.5);
}
.acc-panel .row:last-child {
  border-bottom: 0;
}
