/* Four Color Comic v40.31.42 — My Value-only Collection layout */

/* Retired valuation UI must not surface anywhere in the active collection/editor. */
.collection-market-pricing,
.v41-ai-field{display:none!important}

/* Card View: title occupies row 1; the cover and financial boxes start together on row 2. */
#collectionCards .v403142-card{
  grid-template-columns:22px 124px minmax(0,1fr)!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  column-gap:10px!important;
  row-gap:8px!important;
  align-items:start!important;
}
#collectionCards .v403142-card .v403131-select-rail{
  grid-column:1!important;
  grid-row:1 / span 2!important;
}
#collectionCards .v403142-card .v403142-card-header{
  grid-column:3!important;
  grid-row:1!important;
  min-width:0!important;
}
#collectionCards .v403142-card .v403142-card-header>.split{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:8px!important;
  align-items:start!important;
}
#collectionCards .v403142-card .v403142-card-header h3{
  margin:0 0 4px!important;
  font-size:15px!important;
  line-height:1.18!important;
  overflow-wrap:anywhere!important;
}
#collectionCards .v403142-card .v403142-card-header .bookmeta{
  font-size:10px!important;
  line-height:1.35!important;
  color:#8da0b9!important;
}
#collectionCards .v403142-card .v403120-card-left{
  grid-column:2!important;
  grid-row:2!important;
  padding-top:0!important;
  align-self:start!important;
}
#collectionCards .v403142-card .v42-card-main.v403142-card-financials{
  grid-column:3!important;
  grid-row:2!important;
  display:flex!important;
  flex-direction:column!important;
  align-self:stretch!important;
  min-width:0!important;
  height:100%!important;
}
#collectionCards .v403142-card .v403120-card-values{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:8px!important;
  margin:0 0 8px!important;
}
#collectionCards .v403142-card .v403120-value-box{
  min-width:0!important;
  min-height:82px!important;
  box-sizing:border-box!important;
  padding:9px!important;
  border:1px solid rgba(113,137,174,.28)!important;
  border-radius:9px!important;
  background:rgba(8,18,33,.48)!important;
}
#collectionCards .v403142-card .v403120-value-box>span{
  display:block!important;
  min-height:19px!important;
  color:#91a4bd!important;
  font-size:7.5px!important;
  line-height:1.25!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
}

/* Accounting presentation: currency symbol anchored left, amount aligned right. */
.v403142-money-shell{
  display:grid!important;
  grid-template-columns:14px minmax(0,1fr)!important;
  align-items:center!important;
  min-width:0!important;
  height:36px!important;
  margin-top:5px!important;
  padding:0 8px!important;
  box-sizing:border-box!important;
  border:1px solid rgba(119,137,255,.48)!important;
  border-radius:8px!important;
  background:rgba(12,20,40,.72)!important;
  font-variant-numeric:tabular-nums!important;
}
.v403142-money-shell:focus-within{
  border-color:rgba(134,116,255,.95)!important;
  box-shadow:0 0 0 2px rgba(111,86,255,.12)!important;
}
.v403142-money-shell>i{
  display:block!important;
  color:#d6e1f1!important;
  font-style:normal!important;
  font-size:13px!important;
  font-weight:800!important;
  text-align:left!important;
}
.v403142-money-shell>input{
  width:100%!important;
  min-width:0!important;
  height:32px!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#edf4ff!important;
  font-weight:800!important;
  font-size:13px!important;
  line-height:1.1!important;
  font-family:inherit!important;
  text-align:right!important;
  font-variant-numeric:tabular-nums!important;
  appearance:textfield!important;
  -moz-appearance:textfield!important;
}
.v403142-money-shell>input::-webkit-outer-spin-button,
.v403142-money-shell>input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}

/* Keep routine save chatter visually quiet; show only actionable states. */
#collectionCards .v403142-card .v43-market-state{display:none!important}
#collectionCards .v403142-card .v43-market-state.dirty,
#collectionCards .v403142-card .v43-market-state.saving,
#collectionCards .v403142-card .v43-market-state.error{
  display:block!important;
  margin-top:4px!important;
  font-size:7px!important;
  line-height:1.2!important;
}
#collectionCards .v403142-card .v412-actions{margin-top:auto!important}

/* Table View accounting fields stay compact and aligned. */
#collectionTable .v403142-money-shell{
  width:118px!important;
  max-width:100%!important;
  margin:0 0 0 auto!important;
}
#collectionTable .v423-market-cell .v403142-money-shell{margin-left:0!important}
#collectionTable .v423-market-cell .v43-market-state{
  display:block!important;
  margin-top:4px!important;
  font-size:8px!important;
  white-space:nowrap!important;
}
#collectionTable .v403142-collection-table th.v423-price-head{white-space:nowrap!important}

/* Accessible hover/focus tooltip beside My Value. */
.v403142-help{
  position:relative!important;
  display:inline-grid!important;
  place-items:center!important;
  width:15px!important;
  height:15px!important;
  margin-left:3px!important;
  border:1px solid rgba(155,175,205,.48)!important;
  border-radius:50%!important;
  color:#a9bad0!important;
  font-size:9px!important;
  font-weight:900!important;
  line-height:1!important;
  text-transform:none!important;
  cursor:help!important;
  vertical-align:middle!important;
}
.v403142-help:hover::after,
.v403142-help:focus::after{
  content:attr(data-tooltip)!important;
  position:absolute!important;
  z-index:1000!important;
  left:50%!important;
  bottom:calc(100% + 9px)!important;
  transform:translateX(-50%)!important;
  width:min(290px,72vw)!important;
  padding:9px 10px!important;
  border:1px solid rgba(133,151,183,.42)!important;
  border-radius:8px!important;
  background:#0b1320!important;
  box-shadow:0 10px 30px rgba(0,0,0,.42)!important;
  color:#e7eef8!important;
  font-size:10px!important;
  font-weight:600!important;
  line-height:1.4!important;
  letter-spacing:0!important;
  text-align:left!important;
  text-transform:none!important;
  white-space:normal!important;
  pointer-events:none!important;
}

@media(max-width:520px){
  #collectionCards .v403142-card{
    grid-template-columns:20px 104px minmax(0,1fr)!important;
    column-gap:7px!important;
  }
  #collectionCards .v403142-card .v403120-card-values{gap:6px!important}
  #collectionCards .v403142-card .v403120-value-box{padding:7px!important}
  .v403142-money-shell{padding:0 6px!important}
}
