:root {
    --bg: #f6f1ea;
    --card: #ffffff;
    --text: #243128;
    --muted: #6a6d67;
    --border: #e7ddd2;
    --primary: #425c4c;
    --secondary: #9b8a73;
    --danger: #b42318;
  }
  
  * {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(180deg, #f8f5ef 0%, #f2ebe1 100%);
    color: var(--text);
  }
  
  .container {
    max-width: 980px;
    margin: 0 auto;
    padding: 16px;
  }
  
  .card {
    background: var(--card);
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 20px;
    box-shadow: 0 10px 24px rgba(0,0,0,.05);
    margin-bottom: 16px;
  }
  
  h1, h2 {
    margin: 0 0 12px;
  }
  
  .notice,
  .muted {
    color: var(--muted);
    font-size: 14px;
  }
  
  .grid-2 {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
  }
  
  @media (min-width: 800px) {
    .grid-2 {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
  }
  
  input,
  textarea,
  button {
    width: 100%;
    font-size: 18px;
    border-radius: 16px;
  }
  
  input,
  textarea {
    padding: 16px;
    border: 1px solid var(--border);
    background: #fff;
  }
  
  textarea {
    min-height: 110px;
    resize: vertical;
  }
  
  button,
  .button {
    display: inline-block;
    text-decoration: none;
    border: none;
    background: var(--primary);
    color: #fff;
    padding: 16px 18px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 16px;
  }
  
  .button-secondary {
    background: var(--secondary);
  }
  
  .inline {
    display: flex;
    gap: 10px;
    align-items: end;
    flex-wrap: wrap;
  }
  
  .inline > div {
    flex: 1;
    min-width: 260px;
  }
  
  .check-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .check-item {
    background: #faf8f5;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #ece3d8;
  }
  
  canvas {
    width: 100%;
    height: 180px;
    border: 1px dashed #b7aa98;
    border-radius: 14px;
    background: #fff;
    touch-action: none;
  }
  
  .table-wrap {
    overflow-x: auto;
  }
  
  table {
    width: 100%;
    border-collapse: collapse;
  }
  
  th, td {
    padding: 14px 10px;
    border-bottom: 1px solid #eee2d5;
    text-align: left;
  }