
*, *::before, *::after {
    margin: 0; padding: 0;
    box-sizing: border-box;
  }
  
 
  body {
    font-family: Arial, sans-serif;
    background: #f4f9f4;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
  }
  
  
  header {
    background-color: #2e7d32;
    color: white;
    padding: 20px 30px;
    text-align: center;
  }
  
  header h1 {
    font-size: 22px;
    font-weight: bold;
  }
  
  header p {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 4px;
  }
  
  
  nav {
    background-color: #1b5e20;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
  }
  
  nav ul li { margin: 0 4px; }
  
  .nav-btn {
    background: none;
    border: none;
    color: #fff;
    padding: 14px 22px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
  }
  
  .nav-btn:hover {
    background-color: rgba(255,255,255,0.1);
  }
  
  .active-nav {
    border-bottom: 3px solid white;
  }
  
  
  .container {
    display: flex;
    min-height: 80vh;
    max-width: 1100px;
    margin: 24px auto;
    gap: 20px;
    padding: 0 16px;
  }
  

  aside {
    width: 200px;
    flex-shrink: 0;
  }
  
  .aside-section {
    background: #fff;
    border: 1px solid #c8e6c9;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 14px;
  }
  
  .aside-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e0e0e0;
  }
  
  aside ul { list-style: none; }
  aside ul li { margin-bottom: 6px; }
  
  .side-btn {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #c8e6c9;
    background: #fff;
    color: #333;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    text-align: left;
    transition: background 0.15s;
  }
  
  .side-btn:hover {
    background: #e8f5e9;
    color: #2e7d32;
    border-color: #2e7d32;
  }
  
  .accent-btn {
    background: #2e7d32;
    color: white;
    border-color: #2e7d32;
  }
  
  .accent-btn:hover {
    background: #1b5e20;
    color: white;
  }
  
 
  main { flex: 1; min-width: 0; }
  
  
  .page { display: none; }
  .page.hidden { display: none; }
  .page:not(.hidden) { display: block; }
  
  .page-hero {
    background: #2e7d32;
    color: white;
    padding: 24px 26px;
    border-radius: 6px;
    margin-bottom: 20px;
  }
  
  .page-hero h2 { font-size: 22px; margin-bottom: 4px; }
  .page-hero p  { font-size: 14px; opacity: 0.85; }
  

  .card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .card {
    background: #fff;
    border: 1px solid #c8e6c9;
    border-radius: 6px;
    padding: 20px;
    flex: 1;
    min-width: 180px;
  }
  
  .card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #222;
  }
  
  .card p { color: #555; font-size: 14px; }
  
  .card-list {
    padding-left: 16px;
    color: #555;
    font-size: 14px;
    line-height: 2;
  }
  
  .card-blue   { border-top: 3px solid #2e7d32; }
  .card-green  { border-top: 3px solid #388e3c; }
  .card-orange { border-top: 3px solid #66bb6a; }
  .card-purple { border-top: 3px solid #81c784; }
  

  .stats-row {
    display: flex;
    gap: 14px;
    margin-top: 18px;
    flex-wrap: wrap;
  }
  
  .stat {
    background: #fff;
    border: 1px solid #c8e6c9;
    border-radius: 6px;
    padding: 16px;
    flex: 1;
    min-width: 90px;
    text-align: center;
  }
  
  .stat-num {
    display: block;
    font-size: 26px;
    font-weight: bold;
    color: #2e7d32;
  }
  
  .stat-label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .table-wrap {
    overflow-x: auto;
    border-radius: 6px;
    border: 1px solid #c8e6c9;
  }
  
  .sched-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 13px;
  }
  
  .sched-table th {
    background: #2e7d32;
    color: white;
    padding: 11px 13px;
    text-align: left;
    font-weight: 600;
  }
  
  .sched-table td {
    padding: 9px 13px;
    border-bottom: 1px solid #e8f5e9;
    min-width: 110px;
  }
  
  .sched-table tr:hover td { background: #e8f5e9; }
  
  .time-cell {
    font-weight: 600;
    color: #888;
    white-space: nowrap;
    background: #fafafa;
  }
  
  .subject {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
  }
  
  .subject.blue   { background: #c8e6c9; color: #1b5e20; }
  .subject.green  { background: #dcedc8; color: #33691e; }
  .subject.orange { background: #f0f4c3; color: #827717; }
  .subject.purple { background: #e8f5e9; color: #2e7d32; }
  
 
  .events-list { display: flex; flex-direction: column; gap: 12px; }
  
  .event-item {
    background: #fff;
    border: 1px solid #c8e6c9;
    border-radius: 6px;
    padding: 16px 20px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
  }
  
  .event-blue   { border-left: 4px solid #2e7d32; }
  .event-green  { border-left: 4px solid #388e3c; }
  .event-orange { border-left: 4px solid #66bb6a; }
  .event-purple { border-left: 4px solid #81c784; }
  
  .event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 46px;
    background: #e8f5e9;
    border-radius: 6px;
    padding: 8px;
    text-align: center;
  }
  
  .event-day {
    font-size: 22px;
    font-weight: bold;
    color: #2e7d32;
    line-height: 1;
  }
  
  .event-month {
    font-size: 11px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
    margin-top: 2px;
  }
  
  .event-details h3 { font-size: 16px; margin-bottom: 4px; }
  .event-details p  { color: #555; font-size: 14px; }
  
  .event-tag {
    display: inline-block;
    margin-top: 8px;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 12px;
  }
  
  
  .news-list { display: flex; flex-direction: column; gap: 12px; }
  
  .news-item {
    background: #fff;
    border: 1px solid #c8e6c9;
    border-radius: 6px;
    padding: 18px 20px;
  }
  
  .news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
  }
  
  .news-date { font-size: 13px; color: #888; }
  
  .news-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .blue-tag   { background: #c8e6c9; color: #1b5e20; }
  .green-tag  { background: #dcedc8; color: #33691e; }
  .orange-tag { background: #f0f4c3; color: #827717; }
  .purple-tag { background: #e8f5e9; color: #2e7d32; }
  
  .news-item h3 { font-size: 17px; margin-bottom: 6px; }
  .news-item p  { color: #555; font-size: 14px; line-height: 1.7; }
  

  .exercise-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .entry.activity {
    background: #fff;
    border: 1px solid #c8e6c9;
    border-radius: 6px;
    padding: 16px;
    width: 220px;
  }
  
  .entry.activity h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
  }
  
  .entry.activity button {
    margin-top: 6px;
    padding: 7px 14px;
    background: #2e7d32;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.15s;
  }
  
  .entry.activity button:hover { background: #1b5e20; }
  
  .entry.activity input {
    margin-top: 6px;
    padding: 7px 10px;
    border: 1px solid #c8e6c9;
    border-radius: 5px;
    font-size: 13px;
    width: 100%;
  }
  
  footer {
    background: #1b5e20;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
  }
  
  .footer-inner p { font-size: 14px; opacity: 0.9; margin-bottom: 3px; }
  
  
  .dark-mode { background: #111; color: #eee; }
  .dark-mode header, .dark-mode nav { background: #1a2e1a; }
  .dark-mode .aside-section,
  .dark-mode .card,
  .dark-mode .entry.activity,
  .dark-mode .event-item,
  .dark-mode .news-item,
  .dark-mode .stat { background: #1e1e1e; border-color: #2e4a2e; color: #eee; }
  .dark-mode .side-btn { background: #1e1e1e; border-color: #2e4a2e; color: #ccc; }
  .dark-mode .side-btn:hover { background: #2a2a2a; color: #66bb6a; }
  .dark-mode .page-hero { background: #1b5e20; }
  .dark-mode .time-cell { background: #111; }
  .dark-mode .sched-table { background: #1e1e1e; }
  .dark-mode .sched-table td { border-color: #2e4a2e; }
  .dark-mode .sched-table tr:hover td { background: #2a2a2a; }
  .dark-mode footer { background: #0a1a0a; }