.portfolio-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.portfolio-heading h2{margin:6px 0 16px}.portfolio-videos{display:grid;grid-template-columns:1fr 1fr;gap:14px}.portfolio-video{display:flex;align-items:center;gap:22px;background:#f2f0fc;border:1px solid #e4dff5;border-radius:18px;padding:24px}.portfolio-video.featured{grid-column:1/-1;background:linear-gradient(115deg,#151b42,#5130a3);color:#fff;padding:36px}.portfolio-video-symbol{width:76px;height:76px;display:flex;align-items:center;justify-content:center;border:1px solid #ffffff66;background:#ffffff12;border-radius:50%;font-size:45px;flex:none}.portfolio-video:not(.featured) .portfolio-video-symbol{color:#7044cd;border-color:#d5c9ed}.portfolio-video h3{margin:8px 0;font-size:22px}.portfolio-video p{font-size:12px;opacity:.75;margin:6px 0 20px}.portfolio-pin{font-size:10px;font-weight:750;letter-spacing:.09em;text-transform:uppercase}.portfolio-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.portfolio-photos figure{margin:0}.portfolio-photos img{display:block;width:100%;height:250px;object-fit:cover;border-radius:14px}.portfolio-photos figcaption{font-size:12px;color:#5e6f89;margin-top:8px}.portfolio-links{display:flex;flex-wrap:wrap;gap:10px}.portfolio-edit-row{padding:14px;margin-bottom:14px;border:1px solid #e1e5ee;border-radius:12px}.portfolio-radio{display:flex;align-items:center;gap:8px;font-size:13px}.portfolio-radio input{width:18px!important;height:18px}.portfolio-photo-editor{display:grid;grid-template-columns:1fr 1fr;gap:12px}.portfolio-photo-editor img{width:100%;height:120px;object-fit:cover;border-radius:10px}.portfolio-photo-editor button{margin:8px 0 12px}.portfolio-editor>h4{margin:28px 0 12px}.portfolio-demo-note{padding:12px 18px;background:#fff4d6;border-bottom:1px solid #ecd38e;font-size:12px;text-align:center;color:#493808}.portfolio-demo-nav{display:flex;justify-content:center;gap:12px;margin:18px}.portfolio-editor input[type=file]{margin:10px 0 20px}.portfolio-profile-summary{display:flex;gap:20px;align-items:center}.portfolio-profile-summary img{width:82px;height:82px;border-radius:50%;object-fit:cover}.portfolio-profile-summary h1{margin:6px 0;font-size:28px}.portfolio-profile-summary p{margin:4px 0;font-size:14px;color:#68758a}@media(max-width:699px){.portfolio-heading{display:block}.portfolio-heading .btn{margin-bottom:20px}.portfolio-videos{grid-template-columns:1fr}.portfolio-video,.portfolio-video.featured{padding:22px 18px;gap:16px}.portfolio-video-symbol{width:48px;height:48px;font-size:30px}.portfolio-video h3{font-size:19px}.portfolio-photos img{height:155px}.portfolio-profile-summary{gap:12px}.portfolio-profile-summary h1{font-size:23px}.portfolio-photo-editor{grid-template-columns:1fr}.portfolio-video .btn{font-size:13px;padding:12px 18px}}

.portfolio-photo-editor input:not([type=file]){display:block;width:100%;box-sizing:border-box;min-height:44px;border:1px solid #dfe5ef;border-radius:10px;padding:10px;font:inherit}.portfolio-radio input{flex:none}.portfolio-review{margin-bottom:28px}

/* Selected gold parity for staged portfolio surfaces. */
.portfolio-video{background:#fcf7e9;border-color:#e7d8ac}.portfolio-video.featured{background:var(--head-grad)}.portfolio-video:not(.featured) .portfolio-video-symbol{color:#79500d;border-color:#e7d8ac}.portfolio-hosted{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px}.portfolio-upload{padding:16px;background:#fcf7e9;border:1px solid #e7d8ac;border-radius:12px}.portfolio-upload video,.portfolio-upload img{display:block;width:100%;max-height:420px;object-fit:contain}

.portfolio-upload-panel{margin:24px 0;padding:20px;border:1px solid #e7d8ac;border-radius:14px;background:#fcf7e9}.portfolio-upload-panel>label{display:block;margin:16px 0;line-height:1.5}.portfolio-upload-panel input[type=checkbox]{width:18px;height:18px;vertical-align:middle}.portfolio-upload-panel button{margin:6px 8px 6px 0}.portfolio-upload-panel article{padding:12px 0;border-top:1px solid #e7d8ac}.portfolio-edit-row>input:not([type=checkbox]){display:block;box-sizing:border-box;min-height:44px;width:100%;margin-top:12px;padding:10px;border:1px solid #e7d8ac;border-radius:10px;font:inherit}.portfolio-upload-panel input[type=file]{max-width:100%}
.portfolio-editor,.portfolio-upload-panel,.portfolio-edit-row{min-width:0;max-width:100%;box-sizing:border-box}.portfolio-upload-panel input[type=file],.portfolio-editor input[type=file]{display:block;width:100%;min-width:0;box-sizing:border-box}.portfolio-radio{min-width:0;overflow-wrap:anywhere}.portfolio-upload-panel button{max-width:100%;white-space:normal}

/* Scoped portfolio report controls. */
.safety-report { min-height:32px;padding:6px 0;margin:0;font-size:12px; }
.safety-dialog { border:1px solid #dbe5f8;border-radius:18px;padding:24px;width:min(94vw,500px);max-height:90dvh;overflow:auto;color:var(--ink);box-shadow:0 20px 80px #0a1f4440; }
.safety-dialog::backdrop { background:rgba(10,31,68,.48); }
.safety-dialog-head { display:flex;justify-content:space-between;align-items:flex-start;gap:16px; }
.safety-dialog h2 { margin:0 0 12px;font-size:22px; }
.safety-close { background:none;border:0;font-size:26px;line-height:1;padding:0 4px;color:var(--ink); }
.safety-check { display:flex;gap:10px;align-items:flex-start;font-size:14px;margin:12px 0; }
.safety-check input { width:auto;flex:none;margin:4px 0 0; }
.report-card { border:1px solid #dbe5f8;border-radius:12px;padding:14px;margin:12px 0; }
.report-card summary { cursor:pointer; }
.report-card p { overflow-wrap:anywhere;white-space:pre-wrap; }
.report-snapshot { border-left:3px solid #9fbafa;padding:0 12px;margin:12px 0; }
.report-image { max-width:100%;max-height:340px;border-radius:8px;object-fit:contain; }
.archive-row { display:flex;flex-direction:column;gap:4px;padding:16px 0;border-bottom:1px solid #e8edf8;text-decoration:none; }
.archive-message { margin:12px 0;padding:12px 16px;background:#f3f6ff;border-radius:12px;overflow-wrap:anywhere;white-space:pre-wrap; }
.archive-message time { display:block;font-size:12px;color:#717171;margin-top:8px; }
@media(max-width:600px){.safety-dialog{padding:20px}.safety-owner-actions{align-items:stretch;flex-direction:column}}

.safety-owner-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
#reports-more[hidden]{display:none!important}
.report-snapshot{border-left-color:#b38736}
@media(max-width:600px){.safety-owner-actions{flex-direction:column;align-items:stretch}}

.portfolio-media-menu{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.portfolio-media-menu[hidden],.portfolio-upload-panel[hidden]{display:none}.portfolio-media-menu .btn{white-space:normal;max-width:100%}.portfolio-editor input[type=url],.portfolio-editor input[type=text]{max-width:100%;box-sizing:border-box}

.portfolio-upload-panel button[hidden]{display:none!important}
