/* หน้า "ส่งลิงก์งาน" (ใช้ร่วมกับ app.css / info.css) */
form { display: grid; gap: 12px; margin-top: 8px; }
.f { display: grid; gap: 4px; min-width: 0; }
.f > label { font-weight: 600; font-size: 15px; }
.f input, .f select, .f textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: 400 16px/1.4 var(--body);
}
.f textarea { resize: vertical; min-height: 140px; }
.f input[hidden] { display: none; }
.f input[aria-invalid="true"], .f select[aria-invalid="true"], .f textarea[aria-invalid="true"] { border-color: var(--danger); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 92px; gap: 8px; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.row .btn { min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding-inline: 8px; }
.row .btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.fe { margin: 0; font-size: 14px; color: var(--danger); }
.fe[hidden], .auto[hidden], .note[hidden], .ok[hidden], .preview[hidden] { display: none; }
.auto { margin-left: 4px; padding: 0 8px; border-radius: 999px; background: var(--mint); color: var(--green-deep); font-size: 12px; font-weight: 500; }
.note { margin: 0; padding: 6px 10px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); font-size: 14px; }
.ok { margin: 0; color: var(--green-deep); font-weight: 600; }
.preview { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 8px 12px; }
.preview summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.preview pre { margin: 8px 0 0; padding: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.45 ui-monospace, monospace; }
#submit:disabled { cursor: not-allowed; }
