/* A knowledge and trial components. Status is always supplied by the current group. */
.kb-list { gap:14px; }.kb-card { padding:12px 16px 14px; border:1px solid var(--line); border-radius:14px; box-shadow:var(--visual-shadow-soft); background:#fff; }
.kb-card .kb-top { display:flex; gap:14px; min-height:55px; margin-bottom:10px; padding:7px 10px; border-radius:12px; background:linear-gradient(110deg,#edf8f3,#f4faf6); }
.kb-card[data-tone=coral] .kb-top { background:#fff1f2; }.kb-card[data-tone=sky] .kb-top { background:#edf7ff; }.kb-card[data-tone=green] .kb-top { background:#ecf7f0; }
.kb-visual { display:grid; place-items:center; width:42px; height:42px; flex:0 0 42px; border-radius:50%; background:#c7e9dc; color:#08755b; }.kb-visual .mini-icon { width:25px; height:25px; }
.kb-card[data-tone=coral] .kb-visual { background:#ffd8df; color:#cf5061; }.kb-card[data-tone=sky] .kb-visual { background:#c6e7ff; color:#127cac; }.kb-card[data-tone=green] .kb-visual { background:#cae9d3; color:#16815a; }
.kb-card .kb-heading { flex:1; display:flex; gap:12px; align-items:center; min-width:0; }.kb-card .kb-id { color:#167258; font-size:14px; white-space:nowrap; }.kb-card .kb-top h3 { color:#113f3f; font-size:20px; line-height:1.35; font-weight:700; margin:0; }
.kb-card .kb-top .pill { font-size:12px; border-radius:999px; padding:6px 10px; white-space:nowrap; }.kb-card .kb-scene { font-size:13px; color:#70838a; line-height:1.65; margin:10px 0; }.kb-card .kb-content { font-size:15px; color:#243842; line-height:1.75; margin:8px 0; min-height:0; }
.kb-card .kb-source { margin-top:8px; background:#f0f7f3; border:0; border-radius:12px; padding:10px 14px; color:#6b7f80; font-size:13px; line-height:1.7; overflow-wrap:anywhere; }.kb-source .mini-icon { vertical-align:middle; width:18px; height:18px; color:#598a7b; }
.kb-card .kb-actions { gap:8px; margin-top:10px; }.kb-card .kb-actions .btn { min-height:35px; padding:6px 10px; font-size:12px; }.kb-card .kb-actions .mini-icon { width:15px; height:15px; }.kb-card [data-action=review] .mini-icon { color:#09876a; }.kb-card [data-action=delete-kb] { border-color:transparent; background:transparent; color:#637479; }
.toolbar:has(#kb-search) { justify-content:space-between; gap:8px; margin:10px 0 14px; }.toolbar:has(#kb-search) .tabs { flex:1 1 480px; gap:8px; }.toolbar:has(#kb-search) .tab { border:1px solid #e2eee9; border-radius:999px; font-size:13px; padding:7px 12px; color:#5f7c78; background:#f3faf7; }.toolbar:has(#kb-search) .tab.active { border-color:#c8e8dc; color:#08604d; background:#dff4eb; }.toolbar:has(#kb-search) #kb-search { flex:0 1 280px; height:41px; border-radius:9px; background:#fff; margin-left:auto; }
.page-knowledge .head-row { margin-bottom:8px; }.page-knowledge .head-row .content-title { font-size:26px; }
.tests-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }.test-card { position:relative; display:grid; grid-template-columns:36% minmax(0,1fr); grid-template-rows:auto 1fr auto auto; column-gap:17px; padding:16px; min-height:213px; overflow:hidden; border:1px solid var(--line); border-radius:17px; box-shadow:var(--visual-shadow-soft); background:linear-gradient(125deg,#fff,#f2fbf7); }
.test-card:nth-child(2),.test-card:nth-child(5) { background:linear-gradient(125deg,#fff,#fffcf3); }.test-card:nth-child(4) { background:linear-gradient(125deg,#fff,#f1f7ff); }.test-card:nth-child(6) { background:linear-gradient(125deg,#fff,#fff1f2); }
.test-card::before { content:''; grid-row:1 / -1; grid-column:1; border-radius:14px; align-self:stretch; min-height:175px; background:#e7f4ec url('/assets/trial-study.webp') center / cover no-repeat; }.test-card:nth-child(2)::before { background-image:url('/assets/trial-friends.webp'); }.test-card:nth-child(3)::before { background-image:url('/assets/trial-direction.svg'); }.test-card:nth-child(4)::before { background-image:url('/assets/trial-thought.svg'); }.test-card:nth-child(5)::before { background-image:url('/assets/trial-check.svg'); }.test-card:nth-child(6)::before { background-image:url('/assets/trial-safety.svg'); }
.test-card .test-top,.test-card .test-input,.test-card .test-actions,.test-card .status-line { grid-column:2; min-width:0; }.test-card .test-top { display:block; }.test-card .kb-id { display:inline-block; color:#1b745d; background:#e0f1e7; font-size:12px; font-weight:650; border-radius:10px; padding:4px 8px; }.test-card .test-top h3 { font-size:20px; line-height:1.3; margin:8px 0 0; color:#144c42; }.test-card .test-top > .mini-icon { position:absolute; right:16px; top:20px; }.test-card .test-input { margin:9px 0; min-height:0; font-size:14px; line-height:1.55; color:#71817f; }.test-card .test-actions { gap:7px; align-self:end; }.test-card .test-actions .btn { min-height:38px; padding:7px 12px; font-size:13px; }.test-card .status-line { font-size:12px; line-height:1.6; margin-top:6px; color:#6f837c; }.test-card:nth-child(6) [data-action=run-test]:disabled { background:#dddcdc; color:#6d777b; border-color:#ddd; }.test-card:nth-child(6) h3 { color:#6a4141; }
.notice.green:has(+.tests-grid) { background:#eaf5ee; border-color:#cfe4d9; border-radius:13px; padding:13px 17px; color:#527970; font-size:14px; }.notice .mini-icon { vertical-align:middle; margin-right:8px; }
.trial-history { border:1px solid var(--line); border-radius:16px; box-shadow:var(--visual-shadow-soft); }.trial-history > summary { padding:18px 22px; min-height:58px; color:var(--deep); font-size:18px; }.trial-history > summary:hover { background:#eff7f2; }.trial-history[open] > summary { border-bottom:1px solid var(--line); }.trial-history .record-filters { background:#f8fcf9; }.trial-history .data-table th { background:#edf6f1; }.trial-history+.status-line { font-size:12px; line-height:1.8; color:#6e837e; }
.knowledge-reference { border-color:var(--line); border-radius:14px; background:#f1f8f2; }.knowledge-reference > summary,.knowledge-writing h3 { color:var(--deep); }.knowledge-field-number { padding:3px 7px; border-radius:7px; background:#e3f2e9; color:var(--green); }.knowledge-more { border-color:var(--line); }.knowledge-draft-notice { background:#eef8ef; border:1px solid var(--line); border-radius:12px; }.knowledge-current-copy { background:#fff9ed; border-radius:12px; }#review-form .check-label { line-height:1.8; }
@media(min-width:761px) and (max-width:1200px) { .tests-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.kb-card .kb-top { flex-wrap:wrap; }.kb-card .kb-top .pill { margin-left:auto; } }
@media(max-width:760px) { .kb-list,.tests-grid { grid-template-columns:1fr; }.kb-card { padding:12px; }.kb-card .kb-top { display:grid; grid-template-columns:42px minmax(0,1fr); gap:9px; }.kb-card .kb-heading { gap:8px; }.kb-card .kb-top h3 { font-size:19px; }.kb-card .kb-top .pill { grid-column:2; justify-self:start; margin:0; }.toolbar:has(#kb-search) #kb-search { flex-basis:100%; max-width:none; }.toolbar:has(#kb-search) .tabs { flex-wrap:wrap; }.test-card { min-height:220px; padding:16px; grid-template-columns:36% 1fr; }.test-card .test-top h3 { font-size:20px; }.trial-history > summary { font-size:16px; } }
