/* JLJAM 7.14.1 · Deal Board Calm. Entirely scoped to the signed-in Deals workspace.
   Larger cards, readable action, supporting labels as interface chrome.
   The entire underlying record remains accessible through the existing deal button. */
body.clarity7140 #app .cin-work-page[data-scene="deals"] .data-grid-cards{
  display:grid!important; grid-template-columns:repeat(auto-fit,minmax(min(480px,100%),1fr))!important;
  gap:clamp(14px,1.6vw,22px)!important; align-items:start!important;
}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .deal-swipe-row{min-width:0!important;border-radius:25px!important;box-shadow:0 14px 35px #05020f6a,inset 0 1px #e2bcff1c!important}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .deal-swipe-main{width:100%!important;min-width:0!important;text-align:left!important}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-front{padding:clamp(15px,2vw,21px)!important;min-width:0!important}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-top{gap:12px!important;min-height:52px!important}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-portrait{width:54px!important;height:54px!important;flex:0 0 54px!important;border-radius:16px!important}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-person{display:block!important;min-width:0!important}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-person>span{display:none!important}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-person>strong{
  display:block!important;font-size:clamp(19px,1.65vw,24px)!important;line-height:1.2!important;
  white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;
}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-stage{
  font:760 14px/1.15 system-ui!important;letter-spacing:0!important;max-width:35%!important;
  border-radius:14px!important;padding:8px 12px!important;white-space:normal!important;
  overflow-wrap:break-word!important;word-break:normal!important;
}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-title{
  margin:12px 0 6px!important;font-size:clamp(22px,2.1vw,28px)!important;
  line-height:1.23!important;letter-spacing:-.025em!important;max-width:100%!important;
  overflow-wrap:break-word!important;word-break:normal!important;
  display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;
}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-company{
  margin:0 0 10px!important;font-size:clamp(16px,1.3vw,19px)!important;line-height:1.35!important;
  overflow-wrap:break-word!important;word-break:normal!important;
}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-next{
  padding:12px 14px!important;margin:10px 0!important;border-radius:15px!important;
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:5px!important;
}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-next-label{
  margin:0!important;font:850 12px/1.15 system-ui!important;letter-spacing:.14em!important;
}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-next strong{
  font-size:clamp(18px,1.55vw,23px)!important;line-height:1.32!important;
  display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;
  overflow:hidden!important;overflow-wrap:break-word!important;word-break:normal!important;
}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-facts{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:7px!important;margin:10px 0 8px!important;
}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-facts>span,
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-facts>span:first-child{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:flex-start!important;grid-column:auto!important;
  gap:5px!important;padding:10px 11px!important;min-height:58px!important;
  border:1px solid #cba4ff2b!important;border-radius:12px!important;background:#140e2750!important;
}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-facts small{
  font:650 13px/1.2 system-ui!important;letter-spacing:0!important;color:#c7b1dc!important;
  white-space:nowrap!important;overflow-wrap:normal!important;flex-shrink:0!important;
}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-facts b,
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-facts .gdeal-follow{
  font-size:clamp(17px,1.35vw,21px)!important;line-height:1.25!important;
  padding:0!important;margin:0!important;white-space:normal!important;
  overflow-wrap:break-word!important;word-break:normal!important;text-align:left!important;min-width:0!important;
}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-facts .gdeal-due-label.overdue,
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-facts .gdeal-follow.overdue{color:#ffb7b9!important}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-facts .gdeal-follow.unset{color:#dfc5fb!important}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-foot{margin:8px 0 0!important;display:flex!important;gap:8px!important;align-items:center!important;justify-content:space-between!important;min-height:30px!important}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-priority,
body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-owner{
  font:750 14px/1.25 system-ui!important;min-width:0!important;white-space:normal!important;overflow-wrap:break-word!important;
}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .deal-research-coverage{
  font:650 13px/1.3 system-ui!important;border-radius:12px!important;padding:7px 10px!important;
  margin:9px 0 0!important;overflow-wrap:break-word!important;
}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .deal-quick-bar.gdeal-actions{
  display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 56px!important;
  align-items:stretch!important;gap:8px!important;padding:10px 13px 13px!important;
}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .deal-quick-bar.gdeal-actions>button{
  min-width:0!important;min-height:52px!important;max-height:none!important;
  white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;
  text-align:center!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:7px!important;padding:9px 6px!important;border-radius:14px!important;
  font:800 clamp(14px,1.15vw,18px)/1.15 system-ui!important;
}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .deal-quick-bar.gdeal-actions>button.gdeal-more{font-size:24px!important;letter-spacing:.04em!important}
body.clarity7140 #app .cin-work-page[data-scene="deals"] .deal-quick-bar.gdeal-actions button:focus-visible,
body.clarity7140 #app .cin-work-page[data-scene="deals"] .deal-swipe-main:focus-visible{outline:3px solid #f5d6ff!important;outline-offset:-3px!important}
/* One calm vertical layout on iPhone; keep important facts visible, no giant blocks. */
@media(max-width:600px){
 body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-front{padding:14px!important}
 body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-title{font-size:23px!important}
 body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-company{font-size:16px!important}
 body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-facts>span:first-child{grid-column:1/-1!important;min-height:49px!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
 body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-facts>span{min-height:55px!important}
 body.clarity7140 #app .cin-work-page[data-scene="deals"] .gdeal-facts b{font-size:17px!important}
 body.clarity7140 #app .cin-work-page[data-scene="deals"] .deal-quick-bar.gdeal-actions{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 48px!important;gap:6px!important;padding:8px 9px 10px!important}
 body.clarity7140 #app .cin-work-page[data-scene="deals"] .deal-quick-bar.gdeal-actions>button{font-size:14px!important;min-height:51px!important;gap:4px!important;padding-inline:2px!important}
}
@media(max-width:345px){
 body.clarity7140 #app .cin-work-page[data-scene="deals"] .deal-quick-bar.gdeal-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 45px!important}
 body.clarity7140 #app .cin-work-page[data-scene="deals"] .deal-quick-bar.gdeal-actions>button{font-size:13px!important}
}
@media(prefers-reduced-motion:reduce){body.clarity7140 #app .cin-work-page[data-scene="deals"] .deal-swipe-front{transition:none!important}}
