.fdock-link { margin-bottom: 16px; padding: 14px; border: 1px solid #cbd5e1; border-radius: 8px; background: #f8fafc; }
.fdock-link[hidden], .fdock-link [hidden] { display: none; }
.fdock-link p { margin: 8px 0; font-size: 13px; color: #475569; }
.fdock-search, .fdock-result, .fdock-linked { display: flex; gap: 8px; align-items: center; }
.fdock-search input { min-width: 0; flex: 1; min-height: 44px; }
.fdock-link button { min-height: 44px; padding: 8px 12px; border: 1px solid #cbd5e1; border-radius: 6px; background: white; color: #123e7c; cursor: pointer; flex-shrink: 0; }
.fdock-results { max-height: 280px; overflow: auto; }
.fdock-result { justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #e2e8f0; font-size: 13px; }
.fdock-linked { flex-wrap: wrap; margin-top: 8px; }
.fdock-linked a { overflow-wrap: anywhere; }

/* F-DOCKに案件を作成 */
.fdock-create-btn { background: #123e7c !important; color: #fff !important; border-color: #123e7c !important; font-weight: 700; }
.fdock-create-btn[hidden] { display: none !important; }
.fdock-create-grid { display: flex; flex-direction: column; gap: 12px; }
.fdock-create-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .fdock-create-row { grid-template-columns: 1fr; } }
.fdock-create-block { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fdock-create-label { font-size: 12.5px; font-weight: 700; color: #334155; }
.fdock-create-label small { display: block; font-weight: 400; color: #64748b; font-size: 11px; }
.fdock-create-value { font-size: 14px; font-weight: 700; color: #0f172a; overflow-wrap: anywhere; }
.fdock-create-sub { font-size: 12px; color: #64748b; overflow-wrap: anywhere; }
.fdock-create-modal input[type=text], .fdock-create-modal input[type=number], .fdock-create-modal select, .fdock-create-modal textarea { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; font-size: 13.5px; box-sizing: border-box; }
.fdock-create-modal textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.fdock-create-worktypes { display: flex; flex-wrap: wrap; gap: 8px; }
.fdock-create-worktypes label { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.fdock-create-worktypes label:has(input:checked) { border-color: #123e7c; background: #eef4ff; color: #123e7c; }
.fdock-create-worktypes small { font-weight: 400; color: #64748b; font-size: 11px; }
.fdock-candidates { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; max-height: 180px; overflow: auto; }
.fdock-candidate { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 8px; background: #f8fafc; font-size: 13px; cursor: pointer; }
.fdock-candidate:has(input:checked) { border-color: #123e7c; background: #eef4ff; }
.fdock-candidate input { margin-top: 3px; }
.fdock-candidate small { display: block; font-size: 11.5px; color: #64748b; overflow-wrap: anywhere; }
/* F-DOCK から届いた商談情報の反映（fdock-hearing.js） */
.fdock-hearing { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #cbd5e1; }
.fdock-hearing-info { font-size: 12px; color: #1d4ed8; }
.fdock-hearing-info:empty { display: none; }
#fdock-hearing-status:empty { display: none; }
