body.protocol-design { background:#dfe6e2; color:#16211c; font-family:Manrope,system-ui,-apple-system,"Segoe UI",sans-serif; line-height:1.5; }
.protocol-design .main-content { background:none; }
.protocol-design .page-wrapper { max-width:1632px; margin:0 auto; padding:56px 56px 96px; }
.protocol-panel { container-type:inline-size; padding:24px; border-radius:28px; background:#eef3f1; box-shadow:0 30px 70px -34px rgba(20,40,30,.32); }
.protocol-panel button,.protocol-panel input { font-family:inherit; }
.protocol-panel button { cursor:pointer; }
.pl-header { display:flex; align-items:center; flex-wrap:wrap; gap:14px 18px; padding:18px 22px; border:1px solid #e2e9e5; border-radius:20px; background:#fff; }
.pl-heading { display:flex; align-items:center; gap:10px; flex:1 1 auto; min-width:0; }
.pl-heading h1 { color:#16211c; font-size:24px; font-weight:800; line-height:1.25; letter-spacing:0; margin:0; }
.pl-count { padding:3px 8px; border-radius:6px; background:#f1f3f2; color:#68776f; font-size:11px; font-weight:750; line-height:1.3; }
.pl-search { position:relative; flex:1 1 300px; max-width:400px; min-width:0; }
.pl-search input { width:100%; height:46px; padding:0 14px 0 40px; border:1px solid #e6ede9; border-radius:13px; background:#f8faf9; color:#16211c; font-size:14px; font-weight:600; outline:none; }
.pl-search input:focus { border-color:#0e5140; background:#fff; }
.pl-card { margin-top:16px; overflow:hidden; border:1px solid #e2e9e5; border-radius:20px; background:#fff; }
.pl-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:0 18px; padding:4px 24px 0; border-bottom:1px solid #eef2f0; }
.pl-tabs { display:flex; align-items:center; gap:26px; }
.pl-tabs .filter-pill { display:inline-flex; align-items:center; gap:8px; min-height:50px; padding:0 2px; border:0; border-bottom:2px solid transparent; border-radius:0; background:transparent; color:#7b8a82; font-size:13px; font-weight:700; box-shadow:none; white-space:nowrap; }
.pl-tabs .filter-pill.active { color:#16211c; border-bottom-color:#0e5140; }
.pl-tabs b { padding:3px 7px; border-radius:6px; background:#f1f3f2; font-size:10.5px; font-weight:750; line-height:1.3; }
.pl-tabs .active b { background:#dcefe6; }
.pl-ranges { display:flex; align-items:center; gap:2px; margin:8px 0; padding:3px; border-radius:10px; background:#f4f7f6; overflow-x:auto; max-width:100%; }
.pl-ranges .filter-pill { flex:none; min-height:32px; padding:0 12px; border:0; border-radius:8px; background:transparent; color:#5f6f68; box-shadow:none; font-size:12.5px; font-weight:700; white-space:nowrap; }
.pl-ranges .filter-pill.active { background:#fff; color:#16211c; box-shadow:0 1px 3px rgba(18,33,43,.12); }
.pl-columns { display:none; }
.pl-row { --main:#16211c; --sub:#5f6f68; --body:#3d4c45; --muted:#91a099; --link:#0e5140; padding:14px 24px; border-top:1px solid #f2f6f4; background:#fff; cursor:pointer; }
.pl-row.is-pending { --main:#c0453a; --sub:#c0453a; --body:#c0453a; --muted:#c0453a; --link:#c0453a; }
.pl-row:hover { background:#f8faf9; }
.pl-row a { text-decoration:none; }
.pl-row a:hover { text-decoration:underline; }
.pl-number { color:var(--muted); font-size:12px; font-weight:700; padding-top:1px; font-variant-numeric:tabular-nums; }
.pl-date { line-height:1.25; font-variant-numeric:tabular-nums; }
.pl-date strong { color:var(--main); font-size:13px; font-weight:750; }
.pl-date small { display:block; margin-top:3px; color:var(--muted); font-size:11.5px; font-weight:700; white-space:nowrap; }
.pl-company { min-width:0; line-height:1.35; }
.pl-company a,.pl-company-name { display:block; color:var(--link); font-size:13.5px; font-weight:750; overflow-wrap:anywhere; }
.pl-person { margin-top:2px; color:var(--sub); font-size:12.5px; font-weight:650; }
.pl-company.no-company .pl-person { margin-top:0; color:var(--main); font-size:13.5px; font-weight:750; }
.pl-person-tip { display:inline-block; position:relative; border-bottom:1px dashed #c3cec8; cursor:default; }
.pl-person-tip-box { display:none; position:absolute; bottom:calc(100% + 8px); left:0; z-index:30; padding:9px 12px; border:1px solid #e2e9e5; border-radius:11px; background:#fff; box-shadow:0 14px 32px rgba(18,33,43,.16); color:#3d4c45; font-size:12px; font-weight:650; line-height:1.45; white-space:nowrap; }
.pl-person-tip:hover .pl-person-tip-box,.pl-person-tip:focus .pl-person-tip-box { display:block; }
.pl-person-tip-box strong { color:#16211c; font-weight:750; }
.pl-copy { min-width:0; }
.pl-title { display:block; color:var(--main); font-size:14px; font-weight:750; line-height:1.35; overflow-wrap:anywhere; }
.pl-summary { margin-top:3px; color:var(--sub); font-size:12.5px; font-weight:600; line-height:1.5; display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow-wrap:anywhere; }
.pl-id { margin-top:4px; color:var(--muted); font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:11px; font-weight:500; overflow-wrap:anywhere; }
.pl-sentiment { display:inline-flex; align-items:center; gap:7px; padding-top:4px; color:var(--body); font-size:12.5px; font-weight:650; line-height:1.3; }
.pl-sentiment i { flex:none; width:8px; height:8px; border-radius:50%; background:#9fb0a8; }
.pl-company-status { justify-self:start; display:inline-flex; align-items:center; padding:4px 9px; border-radius:8px; background:#f1f3f2; color:#5f6f68; font-size:11.5px; font-weight:750; line-height:1.35; white-space:nowrap; }
.pl-company-status.success { background:#dcefe6; color:#0e5140; }
.pl-company-status.info { background:#e6f0f4; color:#2f6d8c; }
.pl-company-status.missing { background:transparent; color:#91a099; }
.is-pending .pl-company-status { background:#fdf0ee; color:#c0453a; }
.is-pending .pl-company-status.missing { background:transparent; }
.pl-chevron { width:14px; height:14px; margin-top:5px; stroke:#c3cec8; fill:none; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.pl-wide { display:none; }
.pl-compact-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.pl-compact-head > div { min-width:0; }
.pl-compact-head .pl-title { font-size:14.5px; }
.pl-compact-meta { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 8px; margin-top:3px; color:var(--sub); font-size:12.5px; font-weight:650; line-height:1.4; }
.pl-compact-meta a { color:var(--link); font-weight:750; }
.pl-compact-date { color:var(--muted); font-variant-numeric:tabular-nums; }
.pl-compact .pl-summary { margin-top:7px; color:var(--body); font-size:13px; }
.pl-compact-footer { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; margin-top:9px; }
.pl-compact-footer .pl-id { margin-left:auto; margin-top:0; }
.pl-compact-footer .pl-sentiment { padding-top:0; font-size:12px; gap:6px; line-height:1.5; }
.pagination-bar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 12px; padding:12px 24px; border-top:1px solid #eef2f0; background:#f8faf9; }
.pagination-info { color:#5f6f68; font-size:12.5px; font-weight:700; font-variant-numeric:tabular-nums; }
.pagination-controls { display:flex; align-items:center; gap:10px; }
.pagination-controls .btn { display:inline-flex; align-items:center; gap:4px; min-height:36px; padding:0 12px; border:1px solid #e2e9e5; border-radius:10px; background:#fff; color:#3d4c45; font-size:12.5px; font-weight:700; box-shadow:none; }
.pagination-controls .btn:disabled { opacity:.45; cursor:default; }
.pagination-page-label { min-width:84px; text-align:center; color:#16211c; font-size:12.5px; font-weight:750; font-variant-numeric:tabular-nums; }
.pl-empty { display:flex; flex-direction:column; align-items:center; gap:6px; padding:56px 24px 60px; text-align:center; }
.pl-empty h3 { color:#16211c; font-size:15px; font-weight:800; margin:0; }
.pl-empty p { max-width:360px; color:#7b8a82; font-size:13px; font-weight:600; line-height:1.5; margin:0; }
.pl-empty button { margin-top:10px; min-height:38px; padding:0 15px; border:1px solid #e6ede9; border-radius:11px; background:#f8faf9; color:#3d4c45; font-size:13px; font-weight:700; }
.protocol-panel :focus-visible { outline:2px solid #0e5140; outline-offset:3px; }
@container (min-width:980px) {
 .pl-columns,.pl-wide { display:grid; grid-template-columns:28px 100px minmax(150px,1fr) minmax(0,2fr) 84px 128px 14px; gap:14px; align-items:start; }
 .pl-columns { align-items:center; padding:10px 24px; background:#fbfcfb; border-bottom:1px solid #eef2f0; color:#91a099; font-size:10.5px; font-weight:800; line-height:1.3; letter-spacing:.07em; text-transform:uppercase; }
 .pl-compact { display:none; }
}
@media(max-width:1280px) { .protocol-design .page-wrapper { padding-left:32px; padding-right:32px; } }
@media(max-width:768px) {
 .protocol-design .page-wrapper { padding:12px 12px 80px; }
 .protocol-panel { padding:10px; border-radius:20px; }
 .pl-toolbar { padding-left:16px; padding-right:16px; }
 .pl-row { padding-left:16px; padding-right:16px; }
 .pagination-bar { padding-left:16px; padding-right:16px; }
 .pl-compact-head .pl-company-status { flex:none; white-space:nowrap; }
}
@media(prefers-reduced-motion:reduce) { .protocol-panel { scroll-behavior:auto; } }
@media(max-width:768px) {
 .protocol-design .mobile-header { height:56px; padding:0 16px; gap:12px; background:#10232e; }
 .protocol-design .main-content { padding-top:56px; }
 .protocol-design .mobile-header .hamburger-btn { width:22px; height:36px; flex:none; }
 .protocol-design .mobile-header .logo-text { margin-left:0; font-size:16px; letter-spacing:-.02em; }
 .pl-mobile-avatar { margin-left:auto; display:grid; place-items:center; width:34px; height:34px; border-radius:50%; color:#fff; font-size:12px; font-weight:600; }
}

.protocol-design .mobile-header .logo-text { color:#fff !important; -webkit-text-fill-color:#fff; background:none; opacity:1; visibility:visible; }

/* Keep the empty state hidden while protocol rows are available. */
.pl-empty.hidden { display: none; }
