.stat-card-link {
  position: relative;
  width: 100%;
  color: inherit;
  text-align: left;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.topbar .gcm-unified-lockup { width: auto; max-width: 170px; height: 52px; flex: 0 0 auto; overflow: hidden; }
.market-dashboard-logo { display: block !important; width: 40px !important; min-width: 40px !important; max-width: 40px !important; height: 40px !important; min-height: 40px !important; max-height: 40px !important; flex: 0 0 40px !important; object-fit: contain; object-position: center; border-radius: 9px; filter: drop-shadow(0 4px 6px rgba(65,43,7,.18)); }
@media(max-width:760px){.topbar .gcm-unified-lockup{height:44px;max-width:145px}.market-dashboard-logo{width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important;flex-basis:34px!important;border-radius:8px}}

.stat-card-link:hover {
  transform: translateY(-2px);
  border-color: #9dc8f2;
  box-shadow: 0 12px 28px #1b579118;
}

.stat-card-link i {
  position: absolute;
  right: 16px;
  bottom: 13px;
  color: #2371c9;
  font: 800 9px Manrope, Arial, sans-serif;
  font-style: normal;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s, transform .2s;
}

.stat-card-link:hover i,
.stat-card-link:focus-visible i {
  opacity: 1;
  transform: none;
}

.stat-card-link:focus-visible {
  border-color: #74afe8;
}

@media (hover: none) {
  .stat-card-link i {
    opacity: 1;
    transform: none;
  }
}

.signal-groups,
.signal-group {
  display: grid;
  gap: 18px;
}

.signal-groups { gap: 44px; }

.signal-group-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #dce7f4;
}

.signal-group-head h2 { margin: 0 0 5px; font-size: 21px; letter-spacing: -1px; }
.signal-group-head p:not(.eyebrow) { margin: 0; color: #70809a; font-size: 11px; }
.signal-count { display: grid; place-items: center; min-width: 38px; height: 38px; border-radius: 10px; background: #e6f2ff; color: #176dcd; font-weight: 800; }
.signal-card-detailed { display: block; padding: 22px; }
.signal-card-head { display: flex; justify-content: space-between; align-items: start; gap: 18px; }
.signal-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.signal-expectation { margin: 16px 0; padding: 11px 13px; border-radius: 8px; background: #f2f7fc; font-size: 11px; font-weight: 700; line-height: 1.55; }
.signal-expectation.positive { background: #eaf8f3; }
.signal-expectation.negative { background: #fff0f2; }
.signal-levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.signal-level { min-width: 0; padding: 12px; border: 1px solid #e1e9f3; border-radius: 9px; background: #fbfdff; }
.signal-level span,.signal-level small { display: block; }
.signal-level span { color: #74849b; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.signal-level strong { display: block; margin: 6px 0 4px; color: #173e72; font: 700 12px 'DM Mono', monospace; }
.signal-level small { color: #8a99ad; font-size: 8px; }
.signal-level.stop { border-color: #f0d6dc; background: #fffafb; }
.signal-level.target { border-color: #d5eadf; background: #f9fdfb; }

@media (max-width: 900px) {
  .signal-levels { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .signal-card-head { display: block; }
  .signal-badges { justify-content: flex-start; margin-top: 12px; }
  .signal-levels { grid-template-columns: 1fr; }
}

/* Corporate publishing workstation */
.corporate-composer { position: relative; overflow: hidden; margin-bottom: 44px; padding: 0; border-color: #cbddef; background: linear-gradient(145deg,rgba(255,255,255,.96),rgba(243,249,255,.92)); box-shadow: 0 22px 55px rgba(16,65,120,.13); }
.corporate-composer::before { content: ""; position: absolute; width: 320px; height: 320px; right: -130px; top: -190px; border-radius: 50%; background: radial-gradient(circle,rgba(37,128,221,.18),transparent 68%); pointer-events: none; }
.composer-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 28px 30px 24px; border-bottom: 1px solid #dce7f3; }
.composer-head h2 { margin: 0 0 7px; font-size: 25px; letter-spacing: -1.2px; }
.composer-head>div>p:last-child { margin: 0; color: #71819a; font-size: 11px; }
.composer-status { display: grid; grid-template-columns: 9px auto; gap: 2px 8px; min-width: 176px; padding: 12px 14px; border: 1px solid #d7e5f3; border-radius: 10px; background: rgba(255,255,255,.76); }
.composer-status i { grid-row: span 2; align-self: center; width: 8px; height: 8px; border-radius: 50%; background: #16a878; box-shadow: 0 0 0 4px rgba(22,168,120,.12); }
.composer-status span { font-size: 10px; font-weight: 800; }
.composer-status small { color: #8392a7; font-size: 8px; }
.corporate-form { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 0; }
.composer-main { display: grid; gap: 0; min-width: 0; padding: 6px 30px 30px; }
.composer-section { min-width: 0; margin: 0; padding: 22px 0; border: 0; border-bottom: 1px solid #e2eaf4; }
.composer-section:last-child { border-bottom: 0; padding-bottom: 0; }
.composer-section legend { display: flex; align-items: center; gap: 9px; padding: 0; color: #234b7c; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; }
.composer-section legend b { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; background: #e4f1ff; color: #1870cc; font: 800 9px 'DM Mono',monospace; }
.identity-fields { display: grid; grid-template-columns: 1fr 145px 125px; gap: 10px; margin-top: 15px; }
.level-fields { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin-top: 15px; }
.corporate-form label { display: grid; gap: 7px; color: #71819a; font-size: 9px; font-weight: 800; }
.corporate-form label>span { padding-left: 2px; }
.corporate-form input,.corporate-form select,.corporate-form textarea { width: 100%; border: 1px solid #d5e1ef; border-radius: 9px; padding: 12px; background: rgba(255,255,255,.9); color: #0b2854; font: 600 11px Manrope,Arial,sans-serif; transition: border-color .18s,box-shadow .18s,background .18s; }
.corporate-form input:hover,.corporate-form select:hover,.corporate-form textarea:hover { border-color: #a9c9ea; }
.corporate-form input:focus,.corporate-form select:focus,.corporate-form textarea:focus { border-color: #438ed8; background: #fff; box-shadow: 0 0 0 4px rgba(44,127,211,.1); outline: 0; }
.corporate-form input[type=number] { font-family: 'DM Mono',monospace; }
.corporate-form select.direction-buy { color: #087957; border-color: #b9e2d2; background: #eefaf5; }
.corporate-form select.direction-sell { color: #b23c52; border-color: #edc8d0; background: #fff3f5; }
.level-fields label { position: relative; padding: 11px; border: 1px solid #e1e9f2; border-radius: 11px; background: #f8fbff; }
.level-fields .entry-field { border-top: 2px solid #4c94da; }
.level-fields .stop-field { border-top: 2px solid #d6586a; background: #fffafb; }
.level-fields .target-field { border-top: 2px solid #20a979; background: #f9fdfb; }
.analysis-field { position: relative; margin-top: 15px; }
.analysis-field textarea { min-height: 128px; resize: vertical; line-height: 1.65; }
.analysis-field>small { justify-self: end; color: #8a98aa; font-size: 8px; font-weight: 600; }
.composer-media { display: flex; flex-direction: column; padding: 24px; border-left: 1px solid #dce7f3; background: rgba(237,246,255,.62); }
.media-label { margin: 0 0 12px; color: #5e7898; font: 800 9px 'DM Mono',monospace; letter-spacing: 1px; }
.upload-zone { position: relative; place-items: center; align-content: center; min-height: 220px; padding: 20px; overflow: hidden; border: 1.5px dashed #a9c8e8; border-radius: 13px; background: rgba(255,255,255,.65); text-align: center; cursor: pointer; transition: .2s; }
.upload-zone:hover { border-color: #3988d7; background: #fff; transform: translateY(-2px); box-shadow: 0 11px 25px rgba(29,100,169,.1); }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-zone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.upload-zone img:not([hidden])~* { position: relative; z-index: 2; opacity: 0; }
.upload-zone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent,rgba(3,22,51,.56)); opacity: 0; transition: .2s; }
.upload-zone:has(img:not([hidden])):hover::after { opacity: 1; }
.upload-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 12px; background: #e1effe; color: #1b73cd; font-size: 25px; }
.upload-zone strong { color: #173e71; font-size: 12px; }
.upload-zone small { margin-top: 6px; color: #8392a7; font-size: 8px; font-weight: 500; }
.upload-zone>b { margin-top: 14px; padding: 7px 10px; border-radius: 6px; background: #e5f2ff; color: #176dcd; font-size: 9px; }
.publish-checklist { display: grid; gap: 9px; margin: 18px 0; }
.publish-checklist p { margin: 0; color: #687b94; font-size: 9px; }
.publish-checklist i { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 7px; border-radius: 50%; background: #dcf5eb; color: #09805d; font-style: normal; font-size: 8px; }
.publish-signal-button { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: auto; padding: 14px 16px; }
.publish-signal-button b { font-size: 17px; }
.composer-media .form-error { margin: 10px 0 0; text-align: center; }
@media(max-width:1050px){.corporate-form{grid-template-columns:1fr}.composer-media{border-left:0;border-top:1px solid #dce7f3}.upload-zone{min-height:250px}.level-fields{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.composer-head{align-items:flex-start;padding:23px;}.composer-status{display:none}.composer-main{padding:4px 20px 22px}.identity-fields,.level-fields{grid-template-columns:1fr 1fr}.identity-fields .title-field{grid-column:1/-1}.composer-media{padding:20px}}
@media(max-width:480px){.identity-fields,.level-fields{grid-template-columns:1fr}.identity-fields .title-field{grid-column:auto}.composer-head h2{font-size:22px}}

#corporate-list.outlook-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.corporate-signal { overflow: hidden; padding: 0; }
.corporate-signal > img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #071426; }
.corporate-signal-body { padding: 22px; }
.corporate-signal-head { display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.corporate-signal-head h2 { margin: 0; font-size: 20px; letter-spacing: -.8px; }
.corporate-commentary { margin: 15px 0; color: #647690; font-size: 11px; line-height: 1.7; white-space: pre-line; }
.corporate-levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.corporate-levels > div { min-width: 0; padding: 10px; border-radius: 8px; background: #f2f7fc; }
.corporate-levels .stop { background: #fff0f2; }
.corporate-levels .target { background: #eaf8f3; }
.corporate-levels span,.corporate-levels small { display: block; color: #7788a0; font-size: 8px; }
.corporate-levels strong { display: block; margin: 5px 0; color: #173e72; font: 700 11px 'DM Mono', monospace; }
.corporate-signal footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 15px; padding-top: 13px; border-top: 1px solid #e5edf6; font-size: 9px; font-weight: 800; }
.corporate-signal footer time { color: #8494a9; font-weight: 500; }

@media (max-width: 900px) {
  #corporate-list.outlook-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .corporate-levels { grid-template-columns: repeat(2, 1fr); }
}

/* GCM dashboard treatment: intentionally reads as a workspace, not a form card. */
.corporate-composer {
  border: 0;
  border-radius: 20px;
  background: #f4f8fd;
  box-shadow: 0 24px 70px rgba(5, 32, 74, .18);
}
.corporate-composer::before { width: 520px; height: 520px; right: -210px; top: -330px; background: radial-gradient(circle,rgba(51,145,239,.28),transparent 68%); }
.composer-head {
  min-height: 150px;
  padding: 34px 38px;
  border: 0;
  background: linear-gradient(118deg,#061a42 0%,#0a397a 62%,#1167c5 100%);
  color: #fff;
}
.composer-head::after { content: "GCM"; position: absolute; right: 235px; top: 4px; color: rgba(255,255,255,.045); font-size: 110px; font-weight: 900; letter-spacing: -10px; }
.composer-head .eyebrow { color: #8bc8ff; }
.composer-head .eyebrow span { background: #58b7ff; }
.composer-head h2 { color: #fff; font-size: 30px; }
.composer-head>div>p:last-child { color: #b8d2ee; font-size: 12px; }
.composer-status { z-index: 1; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.09); backdrop-filter: blur(12px); }
.composer-status span { color: #fff; }
.composer-status small { color: #aac7e7; }
.corporate-form { background: #f4f8fd; }
.composer-main { padding: 14px 36px 34px; background: #fff; }
.composer-section { padding: 27px 0; border-bottom-color: #e4edf7; }
.composer-section legend { font-size: 11px; color: #173f73; }
.composer-section legend b { width: 29px; height: 29px; color: #fff; background: linear-gradient(145deg,#2582df,#0d54aa); box-shadow: 0 6px 13px rgba(20,101,188,.2); }
.corporate-form label { color: #536b89; }
.corporate-form input,.corporate-form select,.corporate-form textarea { border-color: transparent; border-bottom-color: #cbd9e9; border-radius: 5px 5px 0 0; background: #f5f8fc; padding: 13px; }
.corporate-form input:hover,.corporate-form select:hover,.corporate-form textarea:hover { border-color: transparent; border-bottom-color: #76aae0; background: #f0f6fc; }
.corporate-form input:focus,.corporate-form select:focus,.corporate-form textarea:focus { border-color: transparent; border-bottom-color: #1874d1; background: #edf6ff; box-shadow: inset 0 -2px #1874d1; }
.level-fields label { padding: 14px; border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px #e1eaf4,0 5px 15px rgba(23,70,119,.05); }
.level-fields .entry-field { border-top: 0; box-shadow: inset 3px 0 #2d84d9,inset 0 0 0 1px #dce8f5; }
.level-fields .stop-field { border-top: 0; box-shadow: inset 3px 0 #d34d62,inset 0 0 0 1px #f0dce1; }
.level-fields .target-field { border-top: 0; box-shadow: inset 3px 0 #18a474,inset 0 0 0 1px #d8ebe3; }
.composer-media { padding: 30px 25px; border-color: #d8e5f2; background: linear-gradient(180deg,#eaf3fd,#f4f8fd); }
.media-label { color: #173f73; font-size: 10px; }
.upload-zone { border: 0; border-radius: 15px; background: #fff; box-shadow: inset 0 0 0 1px #cbddee,0 10px 28px rgba(20,72,126,.09); }
.upload-zone:hover { box-shadow: inset 0 0 0 2px #2782dc,0 16px 34px rgba(20,72,126,.15); }
.upload-icon { color: #fff; background: linear-gradient(145deg,#2b8be7,#0c54ad); box-shadow: 0 9px 18px rgba(18,102,190,.24); }
.publish-checklist { padding: 15px; border-radius: 12px; background: rgba(255,255,255,.65); }
.publish-signal-button { min-height: 48px; border-radius: 10px; background: linear-gradient(100deg,#0b4b9c,#1678d6); box-shadow: 0 12px 25px rgba(15,91,176,.25); }
@media(max-width:700px){.composer-head{min-height:130px;padding:27px 23px}.composer-head::after{display:none}.composer-head h2{font-size:25px}.composer-main{padding:8px 20px 24px}}

.corporate-admin-dashboard { margin: 0 0 38px; overflow: hidden; border: 1px solid #d2e1f1; border-radius: 18px; background: #fff; box-shadow: 0 18px 48px rgba(12,56,105,.11); }
.admin-desk-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 31px 34px; overflow: hidden; background: linear-gradient(118deg,#061a42,#0a397a 65%,#1167c5); color: #fff; }
.admin-desk-hero::after { content: ""; position: absolute; width: 280px; height: 280px; right: 80px; top: -180px; border: 1px solid rgba(115,190,255,.28); border-radius: 50%; box-shadow: 0 0 0 48px rgba(75,159,239,.05),0 0 0 96px rgba(75,159,239,.04); }
.admin-desk-hero>div,.admin-desk-hero>button { position: relative; z-index: 1; }
.admin-desk-hero .eyebrow { color: #85c7ff; }
.admin-desk-hero .eyebrow span { background: #5bb8ff; }
.admin-desk-hero h2 { margin: 0 0 7px; color: #fff; font-size: 28px; letter-spacing: -1.3px; }
.admin-desk-hero>div>p:last-child { margin: 0; color: #b9d2ec; font-size: 11px; }
.admin-desk-hero .button { min-width: 146px; padding: 13px 17px; background: #fff; color: #0c58ab; box-shadow: 0 10px 26px rgba(1,19,48,.25); }
.admin-desk-hero .button span { margin-right: 7px; font-size: 16px; }
.admin-desk-metrics { display: grid; grid-template-columns: repeat(4,1fr); }
.admin-desk-metrics article { min-height: 122px; padding: 22px 24px; border-right: 1px solid #e2eaf3; }
.admin-desk-metrics article:last-child { border: 0; }
.admin-desk-metrics span,.admin-desk-metrics small { display: block; }
.admin-desk-metrics span { color: #70819a; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.admin-desk-metrics strong { display: block; margin: 10px 0 7px; color: #123b70; font-size: 27px; letter-spacing: -1px; }
.admin-desk-metrics small { color: #8a99ad; font-size: 8px; }
.admin-desk-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 24px; border-top: 1px solid #e2eaf3; background: #f5f9fd; color: #637995; font-size: 9px; }
.admin-desk-bar>div { display: flex; align-items: center; gap: 8px; color: #173f72; font-weight: 800; }
.admin-desk-bar i { width: 7px; height: 7px; border-radius: 50%; background: #13a676; box-shadow: 0 0 0 4px rgba(19,166,118,.12); }
.corporate-editor-open { overflow: hidden; }
.corporate-editor-open::before { content: ""; position: fixed; z-index: 110; inset: 0; background: rgba(3,17,41,.72); backdrop-filter: blur(6px); }
.corporate-composer.editor-open { position: fixed; z-index: 120; inset: 18px; display: block; width: min(1180px,calc(100vw - 36px)); max-height: calc(100vh - 36px); margin: auto; overflow-y: auto; animation: editorReveal .25s ease; }
.composer-close { position: absolute; z-index: 5; top: 17px; right: 18px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(255,255,255,.1); color: #fff; font-size: 22px; }
.composer-close:hover { background: rgba(255,255,255,.2); }
@keyframes editorReveal { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
@media(max-width:760px){.admin-desk-hero{align-items:flex-start;display:grid;padding:25px}.admin-desk-metrics{grid-template-columns:1fr 1fr}.admin-desk-metrics article:nth-child(2){border-right:0}.admin-desk-metrics article:nth-child(-n+2){border-bottom:1px solid #e2eaf3}.admin-desk-bar{align-items:flex-start;display:grid}.corporate-composer.editor-open{inset:8px;width:calc(100vw - 16px);max-height:calc(100vh - 16px)}}
