/* Scoped additive interface. No baseline selectors or external assets. */
.share-experience{--share-bg:#0b1226;--share-panel:#121e38;--share-line:#344765;--share-text:#f2f5ff;--share-muted:#bdc9df;box-sizing:border-box;width:100%;max-width:760px;margin:24px auto;padding:clamp(16px,4vw,30px);border:1px solid var(--share-line);border-radius:24px;background:linear-gradient(145deg,#142644,var(--share-bg) 62%);color:var(--share-text);font-family:inherit;line-height:1.6;text-align:start}
.share-experience *{box-sizing:border-box;min-width:0}.share-experience h2{font-size:clamp(24px,5vw,34px);line-height:1.25;margin:12px 0}.share-experience h3{font-size:21px;margin:12px 0 8px;overflow-wrap:anywhere}.share-experience p{margin:8px 0;overflow-wrap:anywhere}.share-intro,.share-attribution{color:var(--share-muted)}.share-mode{display:inline-block;border:1px solid #7867bc;padding:4px 10px;border-radius:99px;background:#30234e;color:#e5d9ff;font-size:12px;font-weight:700;letter-spacing:.025em}.share-edit-card,.share-preview-card{margin:20px 0;padding:clamp(12px,3vw,22px);border:1px solid var(--share-line);border-radius:18px;background:var(--share-panel)}.share-edit-card legend{padding:0 8px;color:var(--share-muted)}.share-field{display:flex;flex-direction:column;gap:7px;margin:0 0 16px;font-size:14px;font-weight:600}.share-field input,.share-field textarea,.share-field select{width:100%;font:inherit;font-weight:400;font-size:16px;color:var(--share-text);background:#091428;border:1px solid #50617f;border-radius:11px;padding:11px 12px;line-height:1.5}.share-field textarea{resize:vertical;min-height:96px}.share-field input[type=file]{font-size:13px}.share-field input::file-selector-button{max-width:100%;white-space:normal;color:#fff;background:#41316b;border:0;border-radius:7px;padding:8px;margin-inline-end:8px}.share-experience details{border-top:1px solid var(--share-line);padding-top:12px;margin-top:14px}.share-experience summary{cursor:pointer;min-height:44px;padding:8px 0;font-weight:600;color:#d7ccff}.share-experience summary:focus-visible,.share-experience button:focus-visible,.share-field input:focus-visible,.share-field textarea:focus-visible,.share-field select:focus-visible{outline:3px solid #91dcff;outline-offset:3px}.share-button{font:inherit;font-weight:650;min-height:46px;padding:10px 18px;border:1px solid #8a75ce;border-radius:12px;color:white;background:linear-gradient(135deg,#55439a,#433373);cursor:pointer;white-space:normal;overflow-wrap:anywhere}.share-button:hover:not(:disabled){background:#6553a7}.share-button:disabled{opacity:.52;cursor:not-allowed}.share-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.share-import{margin-top:28px!important}.share-import>.share-button{margin:6px 8px 6px 0}.share-import pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-height:320px;overflow:auto;padding:12px;border-radius:10px;background:#070e1e;font-size:12px}.share-neutral-cover{height:108px;display:grid;place-items:center;border:1px solid #4b4f83;border-radius:12px;background:linear-gradient(125deg,#17355a,#32204b);color:#b9cef6;font-size:24px;font-weight:800;letter-spacing:.06em}.share-source{font-size:13px;color:#b9d8f7;overflow-wrap:anywhere}.share-warning{color:#ffcf87}.share-counts{color:#cebefc;font-weight:700}.share-policy{padding:12px;border:1px solid #67538f;border-radius:10px;color:#ddcef9;background:#251e3b}.share-status:not(:empty){padding:12px;border-left:3px solid #98d9ff;background:#102a40}.share-status{font-size:14px}@media(max-width:420px){.share-experience{margin:14px auto;border-radius:18px;padding:14px}.share-actions>.share-button{width:100%}.share-edit-card,.share-preview-card{padding:12px}.share-mode{font-size:11px}}

.share-metadata{padding:12px;border:1px dashed #7b8db1;border-radius:10px;margin:12px 0;color:#d3dded;overflow-wrap:anywhere}
.formal-admin{max-width:900px;margin:24px auto;padding:20px;border:1px solid #607088;border-radius:18px;overflow-wrap:anywhere}.formal-admin input{width:min(100%,420px);padding:12px}.formal-admin button{min-height:44px;margin:6px;padding:10px 14px}.formal-admin article{padding:16px;border-bottom:1px solid #607088}.formal-admin [role=alertdialog]{padding:20px;border:2px solid #efb56a;background:#272333}.formal-admin button:focus-visible,.formal-admin input:focus-visible{outline:3px solid #8addff;outline-offset:3px}@media(max-width:480px){.formal-admin{padding:12px}.formal-admin button{width:100%;margin:5px 0}.formal-admin input{width:100%}}
/* Isolated candidate discovery. Load after the existing site stylesheet. */
.discovery-root { --discovery-line:rgba(127,127,127,.24); margin-block:2rem; }
.discovery-section { margin-block:2.25rem; }
.discovery-heading { font:inherit; font-size:1.45rem; font-weight:800; margin:0 0 .4rem; }
.discovery-subtitle,.discovery-provenance { margin:.25rem 0; font-size:.86rem; line-height:1.55; }
.discovery-provenance { opacity:.75; }
.discovery-grid { list-style:none; padding:0; margin:1rem 0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.discovery-card { min-width:0; border:1px solid var(--discovery-line); border-radius:16px; overflow:hidden; background:rgba(127,127,127,.035); }
.discovery-open { display:flex; flex-direction:column; width:100%; height:100%; padding:0; border:0; background:transparent; color:inherit; text-align:start; text-decoration:none; font:inherit; cursor:pointer; }
.discovery-open:focus-visible,.discovery-more:focus-visible { outline:3px solid #8674ee; outline-offset:3px; }
.discovery-cover { position:relative; display:grid; place-items:center; aspect-ratio:16/9; width:100%; background:rgba(127,127,127,.12); overflow:hidden; }
.discovery-cover img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.discovery-cover-fallback { font-size:.85rem; opacity:.7; }
.discovery-card-title { font-weight:750; padding:.8rem .9rem .25rem; overflow-wrap:anywhere; }
.discovery-author { font-size:.8rem; opacity:.75; padding:0 .9rem .25rem; overflow-wrap:anywhere; }
.discovery-count { margin-top:auto; padding:.4rem .9rem .9rem; font-size:.78rem; line-height:1.5; }
.discovery-state { padding:1rem; border:1px dashed var(--discovery-line); border-radius:12px; font-size:.9rem; line-height:1.6; }
.discovery-more { font:inherit; padding:.6rem 1rem; border:1px solid var(--discovery-line); color:inherit; background:transparent; border-radius:999px; cursor:pointer; }
.discovery-grid[data-expanded='false'] .discovery-card:nth-child(n+7) { display:none; }
.discovery-more-mobile { display:none; }
@media(min-width:1200px) { .discovery-grid { grid-template-columns:repeat(6,minmax(0,1fr)); } }
@media(max-width:640px) {
  .discovery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; }
  .discovery-grid[data-expanded='false'] .discovery-card:nth-child(n+5) { display:none; }
  .discovery-more-mobile { display:inline-block; }
  .discovery-card-title { padding:.65rem .65rem .2rem; font-size:.95rem; }
  .discovery-author { padding-inline:.65rem; }
  .discovery-count { padding:.35rem .65rem .7rem; }
}

.discovery-open:not(a):not(button) { cursor:default; }

/* Match the existing catalogue badges and introduction density in every section. */
.discovery-tags { margin:.35rem .9rem .3rem; align-items:flex-start; max-width:calc(100% - 1.8rem); }
.discovery-tags .discovery-tag { max-width:100%; white-space:normal; line-height:1.5; }
.discovery-description { margin:.2rem .9rem .55rem; color:#b4c3d9; font-size:14px; line-height:1.8; overflow-wrap:anywhere; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
@media(max-width:640px) {
  .discovery-tags { margin:.3rem .65rem; max-width:calc(100% - 1.3rem); gap:4px; }
  .discovery-tags .discovery-tag { font-size:11px; padding:2px 6px; }
  .discovery-description { margin:.15rem .65rem .45rem; font-size:12px; line-height:1.7; }
}
.formal-interactions{max-width:900px;margin:20px auto;padding:20px;border:1px solid #607088;border-radius:18px;overflow-wrap:anywhere}.formal-interactions button{min-height:44px;min-width:44px;margin:6px;padding:10px 14px}.formal-interactions textarea{display:block;box-sizing:border-box;min-height:100px;width:100%;padding:12px;font:inherit}.formal-interactions label{display:block}.formal-comment{padding:14px 0;border-bottom:1px solid #607088}.formal-comment p{white-space:pre-wrap;overflow-wrap:anywhere}.formal-comment time{display:block;font-size:12px}.formal-interactions [role=status]:not(:empty){padding:12px;border-left:3px solid #8addff}.formal-interactions button:focus-visible,.formal-interactions textarea:focus-visible{outline:3px solid #8addff;outline-offset:3px}.formal-interactions button:disabled{opacity:.55}@media(max-width:480px){.formal-interactions{padding:12px}.formal-interactions button{width:100%;margin:5px 0}}

/* v44: override generic form flex layout on the interaction form only. */
form.formal-interactions{display:flex;flex-direction:column;align-items:stretch;gap:16px;box-sizing:border-box;width:100%}
.formal-interactions>h2,.formal-interactions>h3,.formal-interactions>p{margin:0}
.formal-interactions>[role="status"]:empty{display:none}
.formal-interactions .formal-interaction-actions{display:flex;flex-wrap:wrap;gap:10px}
.formal-interactions button{margin:0;align-self:flex-start}
.formal-interactions>h3{padding-top:16px;border-top:1px solid #3b4f68}
.formal-interactions>label{display:flex;flex-direction:column;gap:8px;width:100%}
.formal-interactions textarea{min-height:120px;resize:vertical}
.formal-interactions .formal-comment{margin:0;min-width:0}
@media(max-width:480px){.formal-interactions .formal-interaction-actions>button{width:auto;flex:1}.formal-interactions>button{width:100%}}

/* Verified author badge: only populated by the exact editorial proof gate. */
.detail-copy .author-account-badge{display:inline-flex;align-items:center;gap:.3rem;margin-inline-start:.55rem;padding:.2rem .55rem;border:1px solid #72c7cc;border-radius:.75rem;color:#d9fbfb;background:#143438;font-size:clamp(.72rem,2vw,.84rem);font-weight:700;line-height:1.25;vertical-align:middle;white-space:nowrap}
.detail-copy .author-account-badge::before{content:"✓";font-size:.86em}
@media(max-width:420px){.detail-copy .author-account-badge{margin-inline-start:.4rem;max-inline-size:100%;white-space:normal}}
