/* V3E SETTINGS + OPERATOR DISCOVERY */
.signal-settings-hub[hidden],.operator-public-profile[hidden]{display:none!important}
.signal-settings-hub{position:fixed;inset:0;z-index:20500;display:grid;place-items:center;padding:14px;background:rgba(0,0,4,.78);backdrop-filter:blur(18px);color:#fff}
.settings-hub-window{width:min(1120px,97vw);max-height:94dvh;overflow:hidden;border:1px solid rgba(64,226,255,.18);border-radius:18px;background:rgba(7,5,12,.99);box-shadow:0 30px 100px rgba(0,0,0,.75)}
.settings-hub-window>header{display:flex;align-items:center;justify-content:space-between;padding:14px 17px;border-bottom:1px solid rgba(255,255,255,.08)}
.settings-hub-window header small,.settings-hub-window header strong{display:block}.settings-hub-window header small,.settings-pane>small{color:rgba(71,228,255,.58);font:800 8px/1 Consolas,monospace;letter-spacing:.16em;margin-bottom:6px}
.settings-hub-window button,.settings-hub-window select,.settings-hub-window input,.settings-hub-window textarea{font:inherit}
.settings-hub-window button{cursor:pointer}
.settings-hub-body{display:grid;grid-template-columns:220px 1fr;min-height:600px;max-height:calc(94dvh - 58px)}
[data-settings-nav]{display:flex;flex-direction:column;gap:5px;padding:12px;border-right:1px solid rgba(255,255,255,.07)}
[data-settings-nav] button{min-height:40px;padding:0 11px;text-align:left;border:1px solid rgba(255,255,255,.07);border-radius:9px;background:transparent;color:#fff;font:800 8px/1 Consolas,monospace}
[data-settings-nav] button.active{border-color:rgba(65,226,255,.4);background:rgba(65,226,255,.07)}
[data-settings-nav] button.admin{margin-top:12px;border-color:rgba(255,49,221,.25);color:#ffd8f9}
[data-settings-main]{overflow:auto;padding:25px}.settings-pane h2{margin:4px 0 9px;font-size:30px}.settings-pane>p{max-width:760px;color:rgba(255,255,255,.55);line-height:1.55}
.settings-profile-preview{position:relative;display:grid;grid-template-columns:92px 1fr auto;align-items:end;gap:16px;margin:24px 0 18px;padding:120px 18px 18px;border:1px solid rgba(255,255,255,.08);border-radius:16px;overflow:hidden;background:#09070e}
.settings-banner{position:absolute;inset:0 0 auto;height:135px;background:linear-gradient(115deg,rgba(51,224,255,.13),rgba(255,40,217,.16));background-position:center;background-size:cover}
.settings-avatar{position:relative;width:92px;height:92px;border:4px solid #09070e;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#16121c;font-size:30px}.settings-avatar img,.settings-artist-choice img,.operator-profile-avatar img,.op-discovery-card img{width:100%;height:100%;object-fit:cover}
.settings-profile-preview strong,.settings-profile-preview span{display:block}.settings-profile-preview strong{font-size:20px}.settings-profile-preview span{color:rgba(255,255,255,.45);font-size:11px;margin-top:5px}
.settings-profile-preview button,.settings-save-row button,.settings-boot-actions button{min-height:39px;padding:0 13px;border:1px solid rgba(65,226,255,.25);border-radius:9px;background:rgba(65,226,255,.05);color:#fff}
.settings-profile-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.settings-profile-form label{display:grid;gap:6px}.settings-profile-form label span,.settings-profile-form legend{font:800 7px/1 Consolas,monospace;letter-spacing:.12em;color:rgba(255,255,255,.42)}
.settings-profile-form input,.settings-profile-form textarea,.settings-profile-form select{width:100%;box-sizing:border-box;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#0b0810;color:#fff;padding:10px}.settings-profile-form .wide{grid-column:1/-1}
.settings-profile-form fieldset{border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:14px}.settings-profile-form fieldset p,.settings-muted{color:rgba(255,255,255,.42);font-size:11px}
.settings-artist-choice{grid-template-columns:34px 40px 1fr auto!important;align-items:center;margin:6px 0;padding:7px;border:1px solid rgba(255,255,255,.06);border-radius:9px}.settings-artist-choice>span{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#16121c}.settings-artist-choice small{color:rgba(70,228,255,.5)}
.settings-foundation-card{margin-top:25px;padding:18px;border:1px dashed rgba(65,226,255,.2);border-radius:12px;color:rgba(65,226,255,.5);font:800 9px/1 Consolas,monospace}
.settings-control-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:22px}.settings-control-grid button{min-height:92px;padding:13px;text-align:left;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:rgba(255,255,255,.025);color:#fff}.settings-control-grid b,.settings-control-grid span{display:block}.settings-control-grid span{margin-top:8px;color:rgba(66,226,255,.46);font-size:8px}.settings-boot-actions{display:flex;gap:8px;margin-top:14px}

.operator-public-profile{position:fixed;inset:0;z-index:19000;background:#050408;color:#fff;overflow:auto}
.operator-profile-scroll{min-height:100%}.operator-profile-banner{height:min(34vw,330px);min-height:180px;background:linear-gradient(125deg,#071018,#1a071a 55%,#050408);background-size:cover;background-position:center;position:relative}
.operator-profile-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,#050408)}
.operator-profile-banner button{position:absolute;z-index:3;left:20px;top:18px;border:1px solid rgba(255,255,255,.15);border-radius:9px;background:rgba(0,0,0,.48);color:#fff;padding:9px 12px}
.operator-profile-identity{position:relative;z-index:2;display:grid;grid-template-columns:150px 1fr auto;gap:22px;align-items:end;max-width:1180px;margin:-74px auto 0;padding:0 24px 34px}
.operator-profile-avatar{width:145px;height:145px;border:5px solid #050408;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#15101a;font-size:48px}
.operator-profile-identity small{color:rgba(67,227,255,.6);font:800 8px/1 Consolas,monospace;letter-spacing:.15em}.operator-profile-identity h1{margin:6px 0 3px;font-size:clamp(30px,5vw,58px);line-height:.95}.operator-profile-identity strong{color:rgba(255,255,255,.5)}.operator-profile-identity p{max-width:700px;color:rgba(255,255,255,.63);line-height:1.55}
.operator-profile-meta{display:flex;gap:7px;flex-wrap:wrap}.operator-profile-meta span{padding:5px 8px;border:1px solid rgba(255,255,255,.08);border-radius:999px;font-size:9px}
.operator-profile-actions{display:flex;gap:7px}.operator-profile-actions button,.operator-profile-actions a{padding:10px 12px;border:1px solid rgba(65,226,255,.2);border-radius:9px;background:rgba(65,226,255,.05);color:#fff;text-decoration:none;font-size:9px}
.operator-discovery-section{max-width:1180px;margin:0 auto;padding:24px;border-top:1px solid rgba(255,255,255,.07)}.operator-discovery-section header{display:grid;grid-template-columns:1fr auto;align-items:end;margin-bottom:13px}.operator-discovery-section header small{grid-column:1/-1;color:rgba(255,46,219,.52);font:800 7px/1 Consolas,monospace}.operator-discovery-section h2{margin:5px 0 0}.operator-discovery-section header span{color:rgba(255,255,255,.35)}
.operator-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.op-discovery-card{min-width:0;padding:0 0 12px;text-align:left;border:1px solid rgba(255,255,255,.07);border-radius:12px;overflow:hidden;background:#0a080d;color:#fff}.op-discovery-card>span{aspect-ratio:1;display:grid;place-items:center;background:#141018;font-size:35px}.op-discovery-card b,.op-discovery-card small{display:block;padding:0 10px}.op-discovery-card b{margin-top:10px}.op-discovery-card small{margin-top:4px;color:rgba(255,255,255,.4);font-size:8px}
.operator-track-list{display:grid;gap:5px}.op-track-row{display:grid;grid-template-columns:1fr auto;gap:12px;text-align:left;padding:11px 13px;border:1px solid rgba(255,255,255,.06);border-radius:9px;background:#09070c;color:#fff}.op-track-row span{color:rgba(255,255,255,.4);font-size:9px}

@media(max-width:760px){
 .settings-hub-body{grid-template-columns:1fr;max-height:calc(94dvh - 58px)}[data-settings-nav]{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid rgba(255,255,255,.07)}[data-settings-nav] button{white-space:nowrap}.settings-profile-form{grid-template-columns:1fr}.settings-profile-form .wide{grid-column:auto}.settings-profile-preview{grid-template-columns:70px 1fr;padding:110px 12px 12px}.settings-avatar{width:70px;height:70px}.settings-profile-preview button{grid-column:1/-1}.settings-control-grid{grid-template-columns:1fr 1fr}
 .operator-profile-identity{grid-template-columns:92px 1fr;margin-top:-48px;padding:0 15px 24px}.operator-profile-avatar{width:88px;height:88px}.operator-profile-actions{grid-column:1/-1}.operator-discovery-section{padding:18px 15px}.op-track-row{grid-template-columns:1fr}.operator-profile-banner{height:220px}
}

/* =========================================================
   V3E_SETTINGS_SCROLL_FIX
   Constrain Settings shell to viewport and let content scroll.
   ========================================================= */

.settings-hub-window{
  height:min(880px,94dvh)!important;
  max-height:94dvh!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr)!important;
}

.settings-hub-body{
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  overflow:hidden!important;
}

[data-settings-nav]{
  min-height:0!important;
  overflow-y:auto!important;
}

[data-settings-main]{
  min-width:0!important;
  min-height:0!important;
  height:100%!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}

/* Give the final form controls breathing room above the bottom edge. */
.settings-pane{
  padding-bottom:28px;
}

@media(max-width:760px){

  .settings-hub-window{
    height:calc(100dvh - 14px)!important;
    max-height:calc(100dvh - 14px)!important;
  }

  .settings-hub-body{
    grid-template-rows:auto minmax(0,1fr)!important;
  }

  [data-settings-nav]{
    overflow-x:auto!important;
    overflow-y:hidden!important;
  }

  [data-settings-main]{
    -webkit-overflow-scrolling:touch;
    padding-bottom:40px!important;
  }
}
/* PHASE 5A.2 // OPERATOR PUBLICATION BOUNDARY */
.settings-publication-card{margin:18px 0 22px;padding:16px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(255,255,255,.025)}
.settings-publication-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:8px}
.settings-publication-head small{display:block;color:rgba(255,255,255,.45);font:800 8px/1 Consolas,monospace;letter-spacing:.15em;margin-bottom:7px}
.settings-publication-head strong{display:block;font:900 16px/1 Consolas,monospace;letter-spacing:.08em}
.settings-publication-head>span{padding:6px 9px;border:1px solid rgba(255,255,255,.12);border-radius:999px;font:800 8px/1 Consolas,monospace;letter-spacing:.12em}
.settings-publication-card.pub-published{border-color:rgba(72,255,180,.32)}
.settings-publication-card.pub-unpublished-changes{border-color:rgba(255,208,64,.34)}
.settings-publication-card.pub-unpublished,.settings-publication-card.pub-private-draft{border-color:rgba(255,255,255,.12)}
.settings-publication-card>p{margin:8px 0 13px;color:rgba(255,255,255,.58);font-size:12px;line-height:1.55}
.settings-publication-error{margin:10px 0;padding:9px 10px;border:1px solid rgba(255,75,105,.35);border-radius:8px;color:#ffd5dd;background:rgba(255,50,80,.07);font-size:11px}
.settings-publication-validation{display:grid;gap:5px;margin:9px 0}
.settings-publication-validation span{color:rgba(255,220,135,.82);font:700 9px/1.35 Consolas,monospace}
.settings-publication-url{display:grid;gap:5px;margin:10px 0}
.settings-publication-url span{color:rgba(71,228,255,.58);font:800 8px/1 Consolas,monospace;letter-spacing:.13em}
.settings-publication-url code{overflow:hidden;text-overflow:ellipsis;color:rgba(255,255,255,.72);font-size:10px}
.settings-publication-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}
.settings-publication-actions button{min-height:34px;padding:0 11px;border:1px solid rgba(70,226,255,.24);border-radius:8px;background:rgba(70,226,255,.06);color:#fff;font:800 8px/1 Consolas,monospace;letter-spacing:.08em}
.settings-publication-actions button.danger{border-color:rgba(255,78,110,.3);background:rgba(255,78,110,.06);color:#ffd5dc}
.settings-publication-actions button:disabled{opacity:.45;cursor:wait}
.settings-field-visibility-grid>p{color:rgba(255,255,255,.5);font-size:11px;line-height:1.5}
.settings-field-visibility-grid>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin-top:10px}
.settings-field-visibility{display:grid;grid-template-columns:1fr 110px;align-items:center;gap:10px;padding:8px 10px;border:1px solid rgba(255,255,255,.07);border-radius:8px}
.settings-field-visibility>span{font:800 8px/1 Consolas,monospace;letter-spacing:.08em;color:rgba(255,255,255,.68)}
.settings-field-visibility select{min-height:30px}
@media(max-width:760px){.settings-field-visibility-grid>div{grid-template-columns:1fr}.settings-publication-actions{display:grid}.settings-publication-actions button{width:100%}}

/* 0.6.36.4 // Operator profile production hierarchy */
.settings-publication-actions button.primary,.settings-save-row button.primary{border-color:rgba(57,255,121,.42);background:rgba(57,255,121,.08);box-shadow:0 0 18px rgba(57,255,121,.07)}
.settings-publication-actions button.secondary{color:rgba(255,255,255,.68);border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.02)}
.settings-field-visibility-grid{border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:14px}.settings-field-visibility-grid summary{cursor:pointer;list-style:none;font:800 8px/1 Consolas,monospace;letter-spacing:.13em;color:rgba(71,228,255,.7)}.settings-field-visibility-grid summary::-webkit-details-marker{display:none}.settings-field-visibility-grid summary:after{content:" +";float:right}.settings-field-visibility-grid[open] summary:after{content:" −"}
.settings-about-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:22px}.settings-about-grid article{padding:15px;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:rgba(255,255,255,.025)}.settings-about-grid b,.settings-about-grid span{display:block}.settings-about-grid b{font:900 9px/1 Consolas,monospace;letter-spacing:.11em;color:rgba(71,228,255,.78)}.settings-about-grid span{margin-top:9px;color:rgba(255,255,255,.58);font-size:12px;line-height:1.5}@media(max-width:760px){.settings-about-grid{grid-template-columns:1fr}}
