
    #coffee {
      --paper: #f6f4ee;
      --white: #fffefa;
      --ink: #191d2b;
      --muted: #535b71;
      --blue: #2144cf;
      --wash: #e9edff;
      --line: #dedfe9;
      box-sizing: border-box;
      font-family: Inter, Arial, sans-serif;
      color: var(--ink);
    }
    #coffee * { box-sizing: border-box; }
    #coffee [hidden] { display: none !important; }
    #coffee .site {
      max-width: 440px; margin-inline: auto; background: var(--paper);
      border-radius: 24px; overflow: clip; border: 1px solid #e3e1da;
      container-type: inline-size;
    }
    #coffee header {
      display: flex; justify-content: space-between; align-items: center; gap: 12px;
      padding: 14px 19px; min-height: 46px; border-bottom: 1px solid #e4e1d9;
      color: var(--blue); font-size: 15px; font-weight: 800;
    }
    #coffee .tag { color: var(--muted); font-size: 12px; font-weight: 500; }
    #coffee .hero {
      display: grid; grid-template-columns: minmax(0,1fr) minmax(96px, 34%);
      grid-template-areas: "title art" "copy art"; align-items: center; gap: 9px 6px;
      padding: 19px 18px 16px;
    }
    #coffee h2, #coffee h3, #coffee p { margin: 0; }
    #coffee h2 {
      grid-area: title; font-size: 38px; font-size: clamp(30px, 10.5cqw, 43px);
      line-height: .98; letter-spacing: -.066em; font-weight: 800;
    }
    #coffee h2 span { display: block; }
    #coffee h2 span, #coffee h3 span { color: var(--blue); }
    #coffee .hero p, #coffee .intro { color: var(--muted); line-height: 1.45; font-size: 16px; }
    #coffee .hero p { grid-area: copy; }
    #coffee .intro { margin-top: 10px; }
    #coffee .art { grid-area: art; height: 115px; position: relative; isolation: isolate; }
    #coffee .art::before {
      content: ''; position: absolute; inset: 9% 2% 5%; z-index: -1;
      background: #e4eaff; border-radius: 48% 52% 45% 55%; transform: rotate(-15deg);
    }
    #coffee .cup {
      position: absolute; top: 23%; left: 17%; width: 42%; aspect-ratio: 1;
      border: 1.6px solid var(--blue); border-radius: 50%; background: var(--white);
      box-shadow: 0 3px 0 #2648ce; transform: rotate(145deg);
    }
    #coffee .cup::before {
      content: ''; position: absolute; inset: 14%; border-radius: 50%;
      background: radial-gradient(ellipse at 38% 35%, #fffefa 0 13%, transparent 15%), var(--blue);
    }
    #coffee .cup::after {
      content: ''; position: absolute; top: 39%; right: -22%; width: 23%; height: 27%;
      border: 1.6px solid var(--blue); border-left: 0; border-radius: 0 8px 8px 0;
    }
    #coffee .cup.second { left: 53%; top: 53%; width: 36%; transform: rotate(-15deg); }
    #coffee .cup.second::before { background: #8ba0f2; }
    #coffee .spark { position: absolute; left: 72%; top: 10%; color: var(--blue); font-size: 25px; }
    #coffee .spark.small { left: 21%; top: 70%; font-size: 16px; }
    #coffee .content {
      margin: 0 10px 10px; padding: 17px 14px 12px;
      border: 1px solid #e8e5db; border-radius: 18px; background: var(--white);
    }
    #coffee .site:not([data-view="interests"]) .hero { display: none; }
    #coffee .site:not([data-view="interests"]) .content { margin-top: 10px; }
    #coffee .site[data-view="pending"] .content { padding: 23px 19px 13px; }
    #coffee h3 { font-size: 28px; line-height: 1.12; letter-spacing: -.04em; }
    #coffee .step {
      display: flex; align-items: center; justify-content: space-between;
      color: var(--blue); font-weight: 750; font-size: 14px; margin-bottom: 9px;
    }
    #coffee .step-meter { display: flex; gap: 3px; }
    #coffee .step-meter i { width: 15px; height: 3px; background: var(--line); border-radius: 4px; }
    #coffee .step-meter i.done { background: var(--blue); }
    #coffee fieldset { margin: 15px 0 0; border: 0; padding: 0; min-inline-size: 0; }
    #coffee legend, #coffee .field { font-size: 18px; font-weight: 700; }
    #coffee .field { display: grid; gap: 8px; margin-top: 18px; }
    #coffee .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
    #coffee .chip { position: relative; display: inline-flex; min-height: 44px; align-items: center; }
    #coffee .legend-note { color: var(--muted); font-size: 15px; font-weight: 500; }
    #coffee .goals { margin-top: 24px; }
    #coffee .goal-note { margin: 7px 0 9px; }
    #coffee .goal-options { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; }
    #coffee .goal-options .chip span { width: 100%; min-height: 48px; padding: 9px 13px; border-radius: 11px; font-size: 17px; }
    #coffee .chip input { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
    #coffee .chip span {
      border: 1px solid var(--line); border-radius: 999px; display: inline-flex; align-items: center;
      padding: 8px 11px; min-height: 44px; font-size: 16px; line-height: 1.25;
    }
    #coffee .chip input:checked + span { color: var(--blue); background: var(--wash); border-color: var(--blue); font-weight: 700; }
    #coffee .chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
    #coffee .interest-options .chip { flex: 1 1 auto; }
    #coffee .interest-options .chip span { width: 100%; justify-content: center; text-align: center; }
    #coffee .interest-options .chip input:checked + span { font-weight: inherit; }
    #coffee .field input, #coffee select {
      border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--white);
      font: inherit; font-size: 17px; font-weight: 400; padding: 12px; min-width: 0; width: 100%;
    }
    #coffee .actions { display: grid; gap: 4px; margin-top: 16px; }
    #coffee button { font: inherit; font-size: 16px; font-weight: 700; min-height: 44px; padding: 8px 14px; border: 1px solid transparent; border-radius: 12px; }
    #coffee .primary { color: var(--white); background: var(--blue); }
    #coffee .secondary { color: var(--blue); background: var(--wash); }
    #coffee .text-button { color: var(--blue); background: transparent; }
    #coffee .legal { display: flex; gap: 8px; align-items: center; min-height: 44px; margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.35; }
    #coffee .legal input { accent-color: var(--blue); }
    #coffee .aside { margin-top: 16px; color: var(--muted); font-size: 15px; }
    #coffee .hint {
      background: var(--wash); border-radius: 13px; padding: 14px;
      margin-top: 18px; font-size: 16px; line-height: 1.5;
    }
    #coffee .hint strong { color: var(--blue); }
    #coffee .person h3 { margin-top: 3px; overflow-wrap: anywhere; }
    #coffee .common { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
    #coffee .common span { padding: 5px 9px; border-radius: 6px; background: var(--wash); color: var(--blue); font-size: 14px; }
    #coffee .counter { color: var(--blue); font-weight: 700; margin-left: 6px; white-space: nowrap; }
    #coffee .languages { padding: 10px; border-radius: 12px; background: #f4f5fd; margin-top: 8px; }
    #coffee .languages legend { position: relative; top: 7px; }
    #coffee .languages .chips { margin-top: 4px; }
    #coffee .success-hero {
      display: grid; grid-template-columns: minmax(0,1fr) 84px; gap: 13px;
      align-items: center; min-height: 108px; padding-bottom: 4px;
    }
    #coffee .success-hero h3 { font-size: 29px; max-width: 185px; }
    #coffee .success-hero p { color: var(--muted); font-size: 15px; line-height: 1.45; margin-top: 9px; }
    #coffee .mail-art { position: relative; width: 84px; height: 96px; isolation: isolate; }
    #coffee .mail-art::before {
      content: ''; position: absolute; inset: 12px 0 4px; z-index: -1;
      background: var(--wash); border-radius: 47% 53% 42% 58%; transform: rotate(-16deg);
    }
    #coffee .mail-paper {
      position: absolute; width: 39px; height: 51px; top: 16px; left: 24px;
      background: var(--white); border: 1.5px solid var(--blue); border-radius: 5px; transform: rotate(-16deg);
    }
    #coffee .mail-paper::before {
      content: ''; position: absolute; width: 7px; height: 13px; top: 7px; left: 15px;
      border: solid var(--blue); border-width: 0 2.5px 2.5px 0; transform: rotate(43deg);
    }
    #coffee .mail-paper::after {
      content: ''; position: absolute; top: 31px; left: 8px; width: 20px; height: 1.5px;
      border-radius: 2px; background: #7b91e4; box-shadow: 0 5px #7b91e4;
    }
    #coffee .mail-envelope {
      position: absolute; bottom: 16px; left: 13px; width: 61px; height: 37px;
      background: #aab9fa; border: 1.5px solid var(--blue); border-radius: 7px;
      transform: rotate(-8deg); overflow: hidden;
    }
    #coffee .mail-envelope::before, #coffee .mail-envelope::after {
      content: ''; position: absolute; top: 3px; width: 41px; height: 41px;
      background: #dce4ff; border: 1.5px solid var(--blue); transform: rotate(45deg);
    }
    #coffee .mail-envelope::before { left: -21px; }
    #coffee .mail-envelope::after { right: -21px; }
    #coffee .mail-spark { position: absolute; color: var(--blue); font-size: 15px; top: 5px; right: 1px; }
    #coffee .mail-spark.small { font-size: 10px; top: 34px; right: auto; left: 4px; }
    #coffee .guide-card {
      margin-top: 17px; padding-top: 20px; border-top: 1px solid #e8e5db;
    }
    #coffee .guide-info { display: grid; grid-template-columns: 51px minmax(0,1fr); gap: 14px; align-items: center; }
    #coffee .guide-cover {
      display: grid; align-content: space-between; width: 51px; height: 65px; padding: 6px;
      border-radius: 3px 7px 7px 3px; background: var(--blue); color: #fffefa;
      box-shadow: 3px 3px 0 #cbd4fb; font-size: 7.2px; font-weight: 800; line-height: 1.15;
    }
    #coffee .guide-cover i { display: block; width: 18px; height: 3px; background: #bdcbff; border-radius: 3px; }
    #coffee .guide-title { font-weight: 800; font-size: 18px; line-height: 1.2; letter-spacing: -.018em; }
    #coffee .guide-desc { margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.35; }
    #coffee .guide-card button { width: 100%; margin-top: 17px; }
    #coffee .save-link { margin-top: 11px; }
    #coffee .handle { margin-top: 12px; color: var(--muted); font-size: 15px; }
    #coffee .handle strong { color: var(--blue); }
    #coffee .error { margin-top: 12px; color: #a32435; font-size: 15px; }
  
html { color-scheme: light; background: #f6f4ee; }
body { margin: 0; }
#coffee { padding: 8px; }
#coffee .site { min-height: calc(100svh - 18px); }
#coffee .primary, #coffee .text-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 12px; text-decoration: none; font-size: 16px; font-weight: 700; }
#coffee .primary { min-height: 52px; }
#coffee .guide-card .primary { width: 100%; margin-top: 17px; }
#coffee button, #coffee .chip input { cursor: pointer; }
#coffee button:disabled { opacity: .55; cursor: wait; }
#coffee .notice { max-width: 440px; margin: 4px auto 12px; color: var(--muted); font-size: 14px; text-align: center; }
#coffee .person { padding: 12px 0 16px; border-bottom: 1px solid #e8e5db; }
#coffee .contact-action { width: 100%; margin-top: 10px; padding: 8px 12px; overflow-wrap: anywhere; text-align: center; }
#coffee [data-focus]:focus { outline: none; }
@media (max-width: 460px) {
  #coffee { padding: 0; }
  #coffee .site { border: 0; border-radius: 0; min-height: 100svh; }
}
