body { background-color: #f4f7f6; font-family: "Microsoft JhengHei", sans-serif; touch-action: manipulation; }
    .form-card { max-width: 600px; margin: 30px auto; border-radius: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.06); border: none; }
    .logo-container { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 8px; }
    .school-logo { width: 46px; height: 46px; object-fit: contain; flex: 0 0 auto; }
    .school-name { color: #1f3f77; font-weight: 700; font-size: 1.15rem; margin: 0; letter-spacing: 1px; text-align: center; line-height: 1.35; }
    .system-title { color: #0d6efd; font-weight: 800; font-size: 1.55rem; margin: 0; letter-spacing: 1px; text-align: center; line-height: 1.35; }
    .privacy-note { background-color: #eef6ff; border-left: 5px solid #0d6efd; border-radius: 8px; padding: 12px; line-height: 1.65; }
    .summer-note { background-color: #fff3cd; border: 1px solid #ffecb5; border-radius: 8px; padding: 10px; color: #664d03; line-height: 1.6; }
    .tip-box { background-color: #fff9db; border-left: 5px solid #fab005; border-radius: 8px; padding: 14px; }
    .tip-title { font-weight: 800; color: #3b3b3b; margin-bottom: 10px; }
    .tip-section { background: rgba(255,255,255,0.65); border-radius: 8px; padding: 10px 12px; margin-top: 8px; }
    .tip-section-title { font-weight: 700; margin-bottom: 6px; color: #333; }
    .tip-list { margin: 0; padding-left: 1.1rem; color: #555; line-height: 1.75; font-size: 0.92rem; }
    .step-title { font-weight: 800; color: #1f3f77; border-bottom: 2px solid #dbeafe; padding-bottom: 8px; margin-bottom: 15px; }
    #mainCanvas { cursor: crosshair; max-width: 100%; height: auto; display: none; margin: 0 auto; border: 2px dashed #0d6efd; border-radius: 8px; background: #fff; }
    .canvas-reminder { display: none; margin-top: 10px; background: #fff3cd; color: #664d03; border: 1px solid #ffecb5; border-radius: 8px; padding: 10px; font-size: 0.9rem; line-height: 1.55; }
    .photo-consent { background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 8px; padding: 12px; line-height: 1.65; }
  
  .confirm-card {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 12px;
    padding: 12px;
    line-height: 1.75;
  }


  .success-data-card {
    background: #f8fbff;
    border: 1px solid #d7e8ff;
    border-radius: 12px;
    padding: 12px;
    line-height: 1.85;
    font-size: 0.92rem;
  }

  .happy-quote-card {
    background: #fff9db;
    border: 1px solid #ffec99;
    border-radius: 12px;
    padding: 12px;
    line-height: 1.6;
  }

  .happy-quote-text {
    white-space: nowrap;
    overflow-x: auto;
    font-weight: 700;
    color: #6b4f00;
    font-size: 0.92rem;
  }

  .modal-content { border-radius: 15px; border: none; box-shadow: 0 5px 20px rgba(0,0,0,0.12); }
    @media (max-width: 420px) {
      .school-logo { width: 38px; height: 38px; }
      .school-name { font-size: 1rem; }
      .system-title { font-size: 1.35rem; }
      .form-card { margin: 16px auto; }
    }
.admin-link {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 0.92rem;
  color: #495057;
  text-decoration: none;
  z-index: 10;
  text-align: center;
  line-height: 1.3;
}

.admin-main {
  display: block;
}

.admin-sub {
  display: block;
  font-size: 0.72rem;
  color: #888;
  margin-top: 2px;
}

.admin-link:hover {
  color: #0d6efd;
  text-decoration: none;
}

/* ===== 任務寫作提示 ===== */

.task-guide{
    background:#fff8e8;
    border-left:5px solid #f4b400;
    border-radius:10px;
    padding:12px 15px;
}

.task-guide-title{
    font-weight:700;
    color:#8a5b00;
    margin-bottom:8px;
}

.task-guide-list{
    padding-left:20px;
    margin-bottom:0;
}

.task-guide-list li{
    margin-bottom:4px;
    color:#555;
}


/* ===== 參考範例 ===== */

.task-example{
    background:#eef7ff;
    border-left:5px solid #4285f4;
    border-radius:10px;
    padding:12px 15px;
}

.task-example-title{
    font-weight:700;
    color:#0b57d0;
    margin-bottom:8px;
}

.task-example-text{
    line-height:1.8;
    color:#444;
}