.matching-bookmark-tabs{display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--line);border-radius:10px;background:#f5f6f8;margin-bottom:18px}
.matching-bookmark-tab{min-height:40px;border:0;border-radius:7px;background:transparent;color:var(--muted);padding:0 16px;font:750 13px/1 var(--font-text);cursor:pointer;display:inline-flex;align-items:center;gap:7px}
.matching-bookmark-tab.active{background:#fff;color:var(--ink);box-shadow:0 1px 4px rgba(20,24,31,.08)}
.matching-bookmark-tab .num{font-size:11px;min-width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#eceef1}
.matching-bookmark-panel[hidden]{display:none!important}.matching-bookmark-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.matching-bookmark-card{position:relative;border:1px solid var(--line);border-radius:10px;background:#fff;padding:16px;min-width:0}.matching-bookmark-card h2{font-size:16px;margin:4px 46px 8px 0;line-height:1.45}.matching-bookmark-card h2 a{color:inherit;text-decoration:none}.matching-bookmark-card p{margin:5px 0;color:var(--muted);font-size:12px;line-height:1.7}.matching-bookmark-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.matching-bookmark-meta span{font-size:11px;border:1px solid var(--line);border-radius:999px;padding:5px 8px;background:#fff}.matching-bookmark-empty{padding:38px 18px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:10px}
.matching-bookmark-icon-button,.matching-bookmark-detail-button{border:1px solid var(--line);background:#fff;color:var(--ink);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;transition:.15s ease}.matching-bookmark-icon-button{position:absolute;z-index:3;right:10px;top:10px;width:38px;height:38px;padding:0;border-radius:999px;box-shadow:0 1px 5px rgba(20,24,31,.08)}.matching-bookmark-detail-button{min-height:38px;border-radius:8px;padding:0 12px;font-size:12px;font-weight:750}.matching-bookmark-icon-button:hover,.matching-bookmark-detail-button:hover{background:#f5f6f8}.matching-bookmark-icon-button.is-bookmarked,.matching-bookmark-detail-button.is-bookmarked{color:var(--link)}.matching-bookmark-icon-button.is-bookmarked .material-symbols-rounded,.matching-bookmark-detail-button.is-bookmarked .material-symbols-rounded{font-variation-settings:'FILL' 1,'wght' 600}.matching-bookmark-icon-button:disabled,.matching-bookmark-detail-button:disabled{opacity:.55;cursor:wait}.matching-bookmark-detail-actions{display:flex;justify-content:flex-end;margin:0 0 12px}
@media(max-width:820px){.matching-bookmark-grid{grid-template-columns:1fr}.matching-bookmark-tabs{display:flex;width:100%;box-sizing:border-box}.matching-bookmark-tab{flex:1;padding:0 9px}.matching-bookmark-detail-actions{justify-content:flex-start}}

/* v3.8 bookmark page follows the established job-management card language. */
.matching-bookmarks-page .matching-application-section{margin-top:0}.matching-bookmark-management-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.matching-bookmark-management-media{width:116px;height:84px;display:block;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#eef0f2}.matching-bookmark-management-media.is-profile{height:96px}.matching-bookmark-management-media img{width:100%;height:100%;display:block;object-fit:cover}.matching-bookmark-management-media.is-placeholder{display:none}.matching-bookmark-management-card .soft-btn{min-height:44px;white-space:nowrap}.matching-bookmark-management-card .soft-btn .material-symbols-rounded{font-size:18px}
@media(max-width:820px){.matching-bookmark-management-card{display:grid;grid-template-columns:82px minmax(0,1fr);align-items:start}.matching-bookmark-management-media{grid-column:1;grid-row:1;width:82px;height:68px;display:grid;place-items:center;color:#9ba2ac;text-decoration:none}.matching-bookmark-management-media.is-placeholder{display:grid}.matching-bookmark-management-media.is-profile{height:82px}.matching-bookmark-management-media>.material-symbols-rounded{font-size:30px}.matching-bookmark-management-card .matching-application-card-main{grid-column:2;grid-row:1;width:100%;min-width:0}.matching-bookmark-management-card .matching-application-card-head{justify-content:space-between}.matching-bookmark-management-card h3 a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.matching-bookmark-management-card .matching-interaction-row-actions{grid-column:1/-1;grid-row:2;width:100%;flex-wrap:nowrap}.matching-bookmark-management-card .matching-interaction-row-actions .member-link-button{flex:1;min-width:0}.matching-bookmark-management-card .matching-interaction-row-actions .soft-btn{flex:0 0 auto}}
/* v4.0.4: desktop bookmark card internal layout only. Keep the existing two-card list and SP layout unchanged. */
@media(min-width:821px){.matching-bookmark-management-card{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"media main" "media actions";align-items:start;column-gap:18px;row-gap:12px}.matching-bookmark-management-media{grid-area:media;align-self:start}.matching-bookmark-management-card .matching-application-card-main{grid-area:main;width:100%;min-width:0}.matching-bookmark-management-card .matching-interaction-row-actions{grid-area:actions;width:100%;justify-content:flex-end;margin-top:0}}



/* Detail bookmark state v3.9.1: saved is visibly muted while remaining reversible. */
.matching-bookmark-detail-button.is-bookmarked{background:#e6e8eb!important;border-color:#d2d5d9!important;color:#666d76!important;box-shadow:none!important}
.matching-bookmark-detail-button.is-bookmarked .material-symbols-rounded,.matching-bookmark-detail-button.is-bookmarked [data-bookmark-label]{color:#666d76!important}
.matching-bookmark-detail-button.is-bookmarked:hover{background:#dde0e4!important;border-color:#c8ccd1!important;color:#565d66!important}
.matching-bookmark-detail-button.is-bookmarked:hover .material-symbols-rounded,.matching-bookmark-detail-button.is-bookmarked:hover [data-bookmark-label]{color:#565d66!important}


/* v4.0 Bookmark page: match the established job-management page structure without changing card actions. */
.matching-bookmarks-page .matching-bookmark-sections{display:grid;gap:24px}
.matching-bookmarks-page .matching-application-section{margin-top:0}
.matching-bookmarks-page .matching-application-section+.matching-application-section{padding-top:24px;border-top:1px solid var(--line)}
@media(max-width:820px){
  .matching-bookmarks-page .matching-bookmark-sections{gap:18px}
  .matching-bookmarks-page .matching-application-section+.matching-application-section{padding-top:18px}
}

/* v4.0.1: bookmark jobs/professionals are tab panels again; card UI/actions remain unchanged. */
.matching-bookmarks-page .matching-bookmark-panel[hidden]{display:none!important}
.matching-bookmarks-page .matching-bookmark-panel{padding-top:0!important;border-top:0!important}
.matching-bookmarks-page .matching-bookmark-sections{gap:0}
