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

    body {
      font-family: system-ui, -apple-system, sans-serif;
      background: #f5f5f5;
      padding: 0;
      margin: 0;
    }

    .page {
      position: fixed;
      inset: 0;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      padding: 0.75rem 1rem 0;
      box-sizing: border-box;
    }

    .pageHeader {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      margin-bottom: 0.5rem;
      flex-shrink: 0;
      gap: 6px;
    }

    .headerTop {
      display: flex;
      width: 100%;
      align-items: center;
      justify-content: space-between;
    }

    .pageHeader h1 {
      margin: 0;
      color: #333;
      font-size: 1.5rem;
      font-weight: bold;
      align-self: center;
    }

    .shareButton {
      padding: 0.5rem;
      background: #1976d2;
      color: #fff;
      border: none;
      border-radius: 0.375rem;
      cursor: pointer;
      white-space: nowrap;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
    }

    .shareButton:hover {
      background: #1565c0;
    }

    .shareButton:active {
      background: #0d47a1;
    }

    .publicCallout {
      margin: 0;
      padding: 0.4rem 0.75rem;
      background: #fff8e1;
      color: #6d4c00;
      border-left: 3px solid #f59e0b;
      border-radius: 0.375rem;
      font-size: 0.8rem;
      line-height: 1.4;
      flex-shrink: 0;
      width: 100%;
    }

    .gridWrapper {
      flex: 1;
      overflow: auto;
      border: 1px solid #ddd;
      border-radius: 0.5rem;
      margin-bottom: 0.25rem;
    }

    .grid {
      border-collapse: collapse;
      table-layout: fixed;
      white-space: nowrap;
    }

    .grid thead {
      position: sticky;
      top: 0;
      z-index: 10;
    }

    .cornerCell {
      position: sticky;
      top: 0;
      left: 0;
      z-index: 11;
      background: #f5f5f5;
      border: 1px solid #ddd;
      padding: 0.4rem 0.6rem;
      font-size: 0.8rem;
      color: #666;
      min-width: 52px;
      text-align: center;
    }

    .dateCell {
      position: sticky;
      top: 0;
      z-index: 1;
      background: #f5f5f5;
      border: 1px solid #ddd;
      padding: 0.3rem 0.4rem;
      font-size: 0.78rem;
      text-align: center;
      min-width: 80px;
      color: #333;
    }

    .dateCell.current-day {
      background: #e3f2fd;
      color: #1565c0;
      font-weight: bold;
    }

    .weekday {
      font-size: 0.72rem;
      color: #666;
    }

    .grid tbody td {
      border: 1px solid #eee;
      padding: 0.2rem 0.3rem;
      vertical-align: top;
      min-width: 80px;
      min-height: 36px;
      background: #fff;
    }

    .grid tbody td.timeCell {
      position: sticky;
      left: 0;
      z-index: 2;
      background: #f5f5f5 !important;
      border: 1px solid #ddd;
      padding: 0.3rem 0.5rem;
      font-size: 0.82rem;
      text-align: center;
      color: #555;
      white-space: nowrap;
      min-width: auto;
      min-height: auto;
    }

    .grid tbody td.timeCell.current-hour {
      background: #e3f2fd !important;
      color: #1565c0;
      font-weight: bold;
    }

    .cell {
      position: relative;
    }

    .scheduleLinkWrapper {
      position: relative;
      margin: 1px 0;
    }

    .scheduleLink {
      display: block;
      font-size: 0.75rem;
      padding: 1px 4px;
      border-radius: 3px;
      text-align: left;
      width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      background: var(--schedule-bg, #1a237e);
      color: var(--schedule-color, #fff);
      border: none;
    }

    .bottomPanel {
      flex: 1;
      min-height: 60px;
      overflow-y: auto;
      background: #daeedc;
      border-radius: 0.5rem;
      padding: 0rem 1rem;
      box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.08);
    }

    .commentList {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }

    .commentItem {
      display: flex;
      flex-direction: column;
      line-height: 1.4;
    }

    .commentItemMeta {
      font-size: 0.78rem;
      color: #555;
    }

    .commentItemBody {
      font-size: 0.88rem;
      color: #1b5e20;
      word-break: break-all;
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    .commentItemBadge {
      display: inline-block;
      font-size: 0.75rem;
      padding: 1px 5px;
      border-radius: 3px;
      background: var(--schedule-bg, #1a237e);
      color: var(--schedule-color, #fff);
      white-space: nowrap;
      flex-shrink: 0;
    }

    footer {
      padding: 0.5rem 0;
      text-align: center;
      color: #999;
      font-size: 0.75rem;
      flex-shrink: 0;
    }

    .lastUpdated {
      margin: 0;
    }

    /* モーダル */
    .modalOverlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 100;
    }

    .modal {
      background: #fff;
      border-radius: 0.75rem;
      padding: 1.5rem;
      min-width: 260px;
      max-width: 360px;
      width: 90%;
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    }

    .modal h2 {
      margin: 0 0 1rem;
      font-size: 1.1rem;
      color: #333;
    }

    .modalRow {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 0.75rem;
    }

    .modalLabel {
      font-size: 0.9rem;
      color: #666;
      min-width: 42px;
      flex-shrink: 0;
    }

    .modalValue {
      font-size: 0.95rem;
      color: #333;
      font-weight: 500;
    }

    .modalButtons {
      display: flex;
      gap: 0.5rem;
      margin-top: 1rem;
      justify-content: flex-end;
    }

    .cancelButton {
      padding: 0.45rem 1rem;
      font-size: 0.9rem;
      background: #f5f5f5;
      color: #333;
      border: 1px solid #ddd;
      border-radius: 0.375rem;
      cursor: pointer;
    }

    .cancelButton:hover {
      background: #e0e0e0;
    }

    @media (max-width: 600px) {
      .page {
        padding: 0.5rem 0.5rem 0;
      }

      .pageHeader h1 {
        font-size: 1.2rem;
      }

      .dateCell,
      .cell {
        min-width: 64px;
      }
    }