/* Sales & Marketing is a separate workspace and does not style the job boards. */
.sm-intro{margin-bottom:1rem}
.sm-connection{display:inline-flex;align-items:center;gap:.45rem;margin:-.3rem 0 .9rem;
  font-size:.78rem;color:var(--ink-soft);flex-wrap:wrap}
.sm-connection strong{font-weight:650}
.sm-connection span:last-child:not(.sm-connection-dot){margin-left:.4rem;color:var(--ink-faint)}
.sm-connection-dot{width:.55rem;height:.55rem;border-radius:50%;background:var(--ink-faint)}
.sm-connection-ok .sm-connection-dot{background:#238253}
.sm-connection-ok strong{color:#17613b}
.sm-connection-error .sm-connection-dot{background:#c63b3b}
.sm-connection-error strong{color:#a92f2f}
.sm-owner-filter{min-width:180px;max-width:250px;font:inherit;color:var(--ink);
  background:var(--card);border:1px solid var(--rule);border-radius:8px;padding:.5rem .65rem}
.sm-view-tabs{display:inline-flex;gap:.25rem;padding:.25rem;margin:0 0 1rem;
  border:1px solid var(--rule);border-radius:10px;background:var(--wash)}
.sm-view-tabs button{font:inherit;font-size:.84rem;font-weight:650;color:var(--ink-soft);
  background:transparent;border:0;border-radius:7px;padding:.55rem .85rem;cursor:pointer}
.sm-view-tabs button:hover{color:var(--azure-ink);background:var(--card)}
.sm-view-tabs button.active{color:var(--azure-ink);background:var(--card);box-shadow:var(--shadow)}
.sm-schedule{display:flex;flex-direction:column;gap:.75rem}
.sm-schedule-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.sm-staff-tabs{display:flex;gap:.35rem;overflow-x:auto;padding:.1rem;scrollbar-width:thin}
.sm-staff-tabs button{flex:0 0 auto;font:inherit;font-size:.8rem;font-weight:650;color:var(--ink-soft);
  background:var(--card);border:1px solid var(--rule);border-radius:999px;padding:.45rem .75rem;
  cursor:pointer}
.sm-staff-tabs button:hover{border-color:var(--azure);color:var(--azure-ink)}
.sm-staff-tabs button.active{border-color:var(--azure);color:var(--azure-ink);
  background:var(--azure-wash)}
.sm-schedule-source{margin:0}.sm-schedule-source span{margin-left:.4rem;color:var(--ink-faint)}
.sm-schedule-grid{display:grid;grid-template-columns:minmax(230px,1fr) minmax(260px,1.15fr)
  minmax(360px,1.55fr);gap:.85rem;align-items:start;overflow-x:auto;padding:0 0 1rem}
.sm-schedule-column{min-width:0;border:1px solid var(--rule);border-radius:var(--radius);
  background:var(--wash);overflow:hidden}
.sm-schedule-column>header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;
  padding:.85rem;border-bottom:1px solid var(--rule);background:var(--card)}
.sm-schedule-column>header h2{font-family:var(--sans);font-size:.9rem;font-weight:700}
.sm-schedule-column>header p{font-size:.7rem;color:var(--ink-faint);margin:.12rem 0 0}
.sm-schedule-column>header>span{min-width:1.65rem;text-align:center;font-size:.76rem;font-weight:700;
  color:var(--azure-ink);background:var(--azure-wash);border-radius:999px;padding:.12rem .4rem}
.sm-schedule-list{display:flex;flex-direction:column;gap:.6rem;padding:.65rem;min-height:270px}
.sm-schedule-empty{text-align:center;color:var(--ink-faint);font-size:.8rem;padding:1.35rem .5rem}
.sm-schedule-card{display:flex;flex-direction:column;gap:.48rem;padding:.75rem;background:var(--card);
  border:1px solid var(--rule);border-radius:8px;box-shadow:var(--shadow);overflow-wrap:anywhere}
.sm-schedule-when{display:flex;align-items:flex-start;justify-content:space-between;gap:.55rem;
  padding-bottom:.45rem;border-bottom:1px solid var(--rule-soft)}
.sm-schedule-when strong{font-size:.78rem;color:var(--azure-ink)}
.sm-schedule-when span{font-size:.72rem;color:var(--ink-soft);text-align:right}
.sm-schedule-card h3{font-family:var(--sans);font-size:.9rem;font-weight:700}
.sm-schedule-contact{font-size:.76rem;color:var(--ink-soft);margin:-.3rem 0 0}
.sm-schedule-service{display:flex;flex-direction:column;gap:.12rem;padding:.5rem .6rem;
  border-radius:6px;background:var(--wash)}
.sm-schedule-service span{font-size:.66rem;font-weight:700;letter-spacing:.05em;
  text-transform:uppercase;color:var(--ink-faint)}
.sm-schedule-service strong{font-size:.76rem;font-weight:600;line-height:1.35}
.sm-calendar-link{align-self:flex-start;font-size:.73rem;font-weight:650;color:var(--azure-ink)}
.sm-board-scroll-pair{min-width:0}
.sm-board-scroll-top{position:sticky;top:0;z-index:8;height:17px;margin:0 0 .35rem;
  overflow-x:auto;overflow-y:hidden;background:var(--paper)}
.sm-board-scroll-top.is-hidden{display:none}
.sm-board-scroll-spacer{height:1px}
.sm-board{display:grid;gap:.85rem;align-items:start;overflow-x:auto;padding:0 0 1rem}
.sm-sales-board{grid-template-columns:repeat(5,minmax(0,1fr));width:100%}
.sm-meetings-board{grid-template-columns:repeat(11,minmax(245px,1fr))}
.sm-inprocess-board{grid-template-columns:repeat(7,minmax(245px,1fr))}
.sm-duplicate-note{padding:.55rem;background:#e7f5ff;border-radius:.4rem;font-size:.78rem;line-height:1.45;overflow-wrap:anywhere}
.sm-unbiased-outcomes-board{grid-template-columns:repeat(3,minmax(300px,1fr))}
.sm-lane{min-width:0;min-height:350px;background:var(--wash);border:1px solid var(--rule);
  border-radius:var(--radius);display:flex;flex-direction:column}
.sm-lane-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;
  padding:.8rem .85rem;border-bottom:1px solid var(--rule)}
.sm-lane-head h3{font-family:var(--sans);font-size:.82rem;font-weight:650}
.sm-lane-head span{font-size:.75rem;font-weight:600;min-width:1.5rem;text-align:center;
  background:var(--card);border:1px solid var(--rule);border-radius:999px;padding:.05rem .35rem}
.sm-lane-body{padding:.65rem;display:flex;flex-direction:column;gap:.6rem;min-height:280px}
.sm-empty{color:var(--ink-faint);font-size:.8rem;padding:.5rem;text-align:center}
.sm-card{background:var(--card);border:1px solid var(--rule);border-radius:8px;
  box-shadow:var(--shadow);padding:.7rem;display:flex;flex-direction:column;align-items:flex-start;
  gap:.4rem;overflow-wrap:anywhere}
.sm-card{cursor:default}
.sm-card-open{border:0;background:none;padding:0;text-align:left;color:var(--ink);font:inherit;
  cursor:pointer;width:100%}
.sm-card-open:hover strong{text-decoration:underline;text-decoration-color:var(--azure)}
.sm-card-open strong{display:block;font-size:.88rem;line-height:1.3}
.sm-card-open span{display:block;font-size:.77rem;color:var(--ink-soft)}
.sm-card-title{text-align:left;color:var(--ink);cursor:default}
.sm-card-title strong{display:block;font-size:.88rem;line-height:1.3}
.sm-card-title span{display:block;font-size:.77rem;color:var(--ink-soft)}
.sm-service,.sm-date,.sm-owner{font-size:.76rem;line-height:1.35;color:var(--ink-soft)}
.sm-date{color:var(--azure-ink);font-weight:600}
.sm-credits{font-size:.76rem;line-height:1.35;color:var(--azure-ink);font-weight:650}
.sm-owner{border-top:1px solid var(--rule-soft);padding-top:.4rem;width:100%}
.sm-handed{font-size:.72rem;color:var(--ok);font-weight:600}
.sm-card-actions{display:flex;flex-wrap:wrap;gap:.35rem}
.sm-archive-countdown{font-size:.72rem;font-weight:700;color:var(--azure-ink);
  margin:.05rem 0;padding:.28rem .45rem;background:var(--azure-wash);border-radius:999px}
.sm-archive{display:flex;flex-direction:column;gap:.7rem}
.sm-archive-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.sm-archive-head h2{font-family:var(--sans);font-size:1rem}
.sm-archive-head p{font-size:.78rem;color:var(--ink-soft);margin:.12rem 0 0}
.sm-archive-head>span{min-width:1.8rem;text-align:center;font-size:.78rem;font-weight:700;
  color:var(--azure-ink);background:var(--azure-wash);border-radius:999px;padding:.18rem .45rem}
.sm-archive-table{min-width:1050px}
.sm-archive-table th{white-space:nowrap}
.sm-archive-table td{vertical-align:top;line-height:1.35}
.sm-form-grid,.sm-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}
.sm-detail-grid>div{display:flex;flex-direction:column;gap:.15rem;overflow-wrap:anywhere}
.sm-detail-grid span,.sm-read-note span{font-size:.75rem;color:var(--ink-faint);font-weight:600}
.sm-detail-grid strong{font-size:.86rem;font-weight:500}
.sm-read-note{border-top:1px solid var(--rule-soft);padding-top:.7rem}
.sm-read-note p{white-space:pre-wrap;font-size:.86rem}
.sm-import-details{border:1px solid var(--rule);border-radius:8px;padding:.8rem;
  margin:.8rem 0;background:var(--wash)}
.sm-import-details>strong{display:block;font-size:.85rem;margin-bottom:.6rem}
.sm-import-details .sm-read-note{margin-top:.7rem}
.sm-date-input{font-family:inherit;font-size:.875rem;color:var(--ink);
  background:var(--card);border:1px solid var(--rule);border-radius:8px;
  padding:.5rem .65rem;width:100%}
.sm-calendar-state{font-size:.78rem;margin:-.15rem 0 .65rem;color:var(--ink-soft)}
.sm-calendar-connected{color:#17613b;font-weight:650}
.sm-calendar-error{color:#a92f2f;font-weight:650}
.sm-availability{border-top:1px solid var(--rule-soft);margin-top:.2rem;padding-top:.75rem}
.sm-availability>strong{display:block;font-size:.82rem;margin-bottom:.35rem}
.sm-availability-message{font-size:.76rem;color:var(--ink-soft);margin:0 0 .55rem}
.sm-availability-error{color:#a92f2f;font-weight:650}
.sm-slot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem}
.sm-slot{font:inherit;font-size:.78rem;font-weight:600;color:var(--azure-ink);
  background:var(--card);border:1px solid var(--rule);border-radius:7px;padding:.48rem .35rem;
  cursor:pointer}
.sm-slot:hover{border-color:var(--azure);background:var(--azure-wash)}
.sm-slot-selected{color:#fff;background:var(--azure);border-color:var(--azure)}
.sm-slot-selected:hover{background:var(--azure);border-color:var(--azure)}
.sm-fee-list{display:flex;flex-direction:column;gap:.2rem}
.sm-fee-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:.65rem 0;border-bottom:1px solid var(--rule-soft)}
.sm-fee-row:last-child{border-bottom:0}
.sm-fee-row>div:first-child{min-width:0;display:flex;flex-direction:column}
.sm-fee-row strong{font-size:.86rem}.sm-fee-row span{font-size:.76rem;color:var(--ink-soft)}
.sm-proposal-picker{border:1px solid var(--rule);border-radius:8px;overflow:hidden}
.sm-proposal-picker h3{font-family:var(--sans);padding:.65rem .8rem;background:var(--wash);
  border-bottom:1px solid var(--rule);font-size:.85rem}
.sm-proposal-option{display:grid;grid-template-columns:minmax(250px,1fr) minmax(220px,auto) auto;
  align-items:center;gap:.7rem;padding:.55rem .7rem;
  border-bottom:1px solid var(--rule-soft)}
.sm-proposal-option:last-child{border-bottom:0}
.sm-proposal-service-name{min-width:0}.sm-proposal-service-name .name{min-width:0}
.sm-proposal-service-name small{display:block;color:var(--ink-faint);font-weight:500;margin-top:.12rem}
.sm-proposal-fee{display:flex;align-items:center;gap:.35rem;font-size:.78rem;color:var(--ink-soft)}
.sm-proposal-fee input{width:100px;padding:.42rem .5rem}
.sm-proposal-fee input:disabled{background:var(--wash);color:var(--ink-soft);opacity:1}
.sm-proposal-fee strong{white-space:nowrap;font-size:.75rem;color:var(--ink-soft)}
.sm-proposal-quantity{display:flex;align-items:center;gap:.35rem;font-size:.75rem;color:var(--ink-soft)}
.sm-proposal-quantity input{width:72px;padding:.42rem .5rem}
.sm-proposal-totals{border:1px solid var(--rule);border-radius:8px;background:var(--wash);padding:.7rem .85rem}
.sm-proposal-totals>div{display:flex;justify-content:space-between;gap:1rem;padding:.25rem 0}
.sm-proposal-totals span{font-size:.82rem}.sm-proposal-totals strong{font-size:.82rem;white-space:nowrap}
.sm-proposal-type{display:flex;flex-direction:column;gap:.7rem;padding:.85rem;
  border:1px solid var(--rule);border-radius:8px;background:var(--wash)}
.sm-proposal-type h3,.sm-proposal-content-editor h3{font-family:var(--sans);font-size:.9rem}
.sm-proposal-type .required{margin-left:.35rem;color:var(--danger);font-size:.68rem;
  font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.sm-proposal-type-options{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}
.sm-proposal-type-options label{display:flex;align-items:flex-start;gap:.55rem;padding:.7rem;
  border:1px solid var(--rule);border-radius:8px;background:var(--card);cursor:pointer}
.sm-proposal-type-options label.selected{border-color:var(--azure);box-shadow:0 0 0 1px var(--azure)}
.sm-proposal-type-options input{margin-top:.14rem}.sm-proposal-type-options span{display:flex;flex-direction:column}
.sm-proposal-type-options small{color:var(--ink-soft);font-size:.72rem;margin-top:.08rem}
.sm-proposal-type.has-error{border-color:var(--danger);box-shadow:0 0 0 1px var(--danger)}
.sm-proposal-type-error{margin:0;color:var(--danger);font-size:.78rem;font-weight:650}
.sm-proposal-content-editor{display:flex;flex-direction:column;gap:.75rem;padding:.85rem;
  border:1px solid var(--rule);border-radius:8px}
.sm-proposal-content-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.sm-proposal-content-block{display:grid;grid-template-columns:28px minmax(0,1fr);gap:.7rem;
  padding:.8rem;border:1px solid var(--rule-soft);border-radius:8px;background:var(--paper)}
.sm-proposal-content-number{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;
  background:var(--azure-wash);color:var(--azure-ink);font-size:.78rem;font-weight:700}
.sm-proposal-content-block .stack{gap:.65rem}.sm-proposal-content-block textarea{min-height:100px;resize:vertical}
.sm-proposal-content-block.is-hidden{opacity:.72;background:#f5f7f8}
.sm-loe-visibility{display:inline-flex;align-items:center;gap:7px;margin-left:auto;font-size:13px;font-weight:700;color:var(--slate)}
.sm-loe-visibility input{width:17px;height:17px;accent-color:var(--azure-ink)}
.sm-proposal-remove{justify-self:start;color:var(--danger);padding:0}
.sm-default-proposal{max-width:1000px}
.sm-default-proposal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1.25rem;
  padding:1.1rem 1.2rem;border:1px solid var(--rule);border-radius:10px;background:var(--card)}
.sm-default-proposal-head h2{margin:0 0 .3rem}.sm-default-proposal-head p{margin:0;max-width:650px}
.sm-proposal-order-actions{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}
.sm-default-proposal-actions{display:flex;justify-content:flex-end}
.backdrop:has(.sm-proposal-dialog) .modal{max-height:calc(100vh - 2rem);display:flex;flex-direction:column}
.backdrop:has(.sm-proposal-dialog) .modal-body{overflow-y:auto;min-height:0}
.backdrop:has(.sm-proposal-dialog) .modal-foot{flex:0 0 auto;background:var(--card)}
.sm-proposal-footer{width:100%;display:flex;flex-direction:column;gap:.65rem}
.sm-proposal-footer-error{margin:0;text-align:left}
.sm-proposal-footer-actions{display:flex;justify-content:flex-end;gap:.6rem;flex-wrap:wrap}
.sm-proposal{display:flex;flex-direction:column;gap:1rem}
.sm-proposal-contact{display:block;margin-top:.15rem}
.sm-proposal>h2{font-size:1.3rem}.sm-proposal section{display:flex;flex-direction:column;gap:.45rem}
.sm-proposal-lines{border:1px solid var(--rule);border-radius:8px;overflow:hidden}
.sm-proposal-lines>div{display:flex;justify-content:space-between;gap:1rem;padding:.55rem .7rem;
  border-bottom:1px solid var(--rule-soft);font-size:.84rem}
.sm-proposal-lines>div:last-child{border-bottom:0}
.sm-proposal-lines strong{white-space:nowrap}.sm-proposal-total{background:var(--wash)}
.sm-proposal-draft{background:var(--wash);color:var(--ink-soft)}
.sm-proposal-sent{background:var(--info-wash);color:var(--info)}
.sm-proposal-accepted{background:var(--ok-wash);color:var(--ok)}
.sm-proposal-rejected{background:var(--danger-wash);color:var(--danger)}
.proposal-public-page{min-height:100vh;background:var(--paper)}
.proposal-public-shell{width:min(820px,calc(100% - 2rem));margin:2rem auto 5rem;display:flex;
  flex-direction:column;gap:1rem}
.proposal-public-head{display:flex;align-items:center;gap:1rem;padding:.5rem 0 1rem}
.proposal-public-head img{max-width:190px;max-height:65px;object-fit:contain}
.proposal-public-head p,.proposal-public-foot{font-size:.85rem;color:var(--ink-soft)}
.proposal-public-company{margin-left:auto;text-align:right}.proposal-public-company h1{font-size:1.15rem}
.proposal-public-company p{margin:.1rem 0;overflow-wrap:anywhere}
.proposal-google-review{color:var(--primary);font-weight:700}
.proposal-google-rating{display:inline-flex;align-items:center;gap:7px;flex-wrap:wrap;text-decoration:none}
.proposal-google-rating:hover{text-decoration:underline}
.proposal-google-stars{display:inline-block;letter-spacing:1px;color:transparent;background:linear-gradient(90deg,#fbbc04 var(--fill),#cbd3d8 var(--fill));background-clip:text;-webkit-background-clip:text;font-size:1.12em;line-height:1}
.proposal-google-attribution{font-weight:700;color:#5e5e5e;border-left:1px solid #cbd3d8;padding-left:8px;white-space:nowrap}
.sm-proposal-terms p{text-align:justify;text-justify:inter-word}
.proposal-public-card{box-shadow:var(--shadow)}
.proposal-public-foot{text-align:center;padding:1rem;display:flex;flex-direction:column;gap:.25rem}
.sm-proposal-client{display:flex;flex-direction:column;gap:.18rem;border-left:3px solid var(--azure);
  padding:.65rem .85rem;background:var(--wash)}
.sm-proposal-client>span,.sm-proposal-signatures span{font-size:.7rem;font-weight:700;
  letter-spacing:.06em;text-transform:uppercase;color:var(--ink-faint)}
.sm-proposal-client small,.sm-proposal-signatures small{display:block;color:var(--ink-soft)}
.sm-proposal h3>span{color:var(--azure)}
.sm-proposal-terms{gap:.35rem!important}.sm-proposal-terms p{margin:0 0 .55rem}
.sm-proposal-signatures{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;
  border-top:1px solid var(--rule);padding-top:1rem}
.sm-proposal-signatures>div{display:flex;flex-direction:column;gap:.22rem;min-width:0}
.sm-response-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.sm-accept-confirm{align-items:flex-start;padding:.75rem;background:var(--wash);border-radius:8px}
.sm-not-interested{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;
  margin:.55rem 0;padding:.55rem .65rem;border:1px solid var(--rule);border-radius:7px;
  background:var(--wash);font-size:.73rem;color:var(--ink-soft);overflow-wrap:anywhere}
.sm-not-interested strong{color:var(--ink);font-size:.76rem}
.sm-not-interested .btn{margin-top:.25rem}
.sm-not-interested-confirmed{border-color:#a8d8c5;background:var(--ok-wash)}
.sm-not-interested-confirmed strong{color:var(--ok)}
.sm-not-interested-error{border-color:#efb5ad;background:var(--danger-wash)}
.sm-not-interested-error strong{color:var(--danger)}
.sm-confirmation-evidence{width:100%;margin-top:.2rem}
.sm-confirmation-evidence summary{cursor:pointer;color:var(--azure);font-weight:700}
.sm-confirmation-evidence span{display:block;margin-top:.25rem;overflow-wrap:anywhere}
.sm-signature-record{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.sm-signature-record>div{display:flex;flex-direction:column;gap:.18rem;padding:.7rem;
  border:1px solid var(--rule);border-radius:7px;background:var(--wash);min-width:0}
.sm-signature-record span{font-size:.7rem;font-weight:700;letter-spacing:.06em;
  text-transform:uppercase;color:var(--ink-faint)}
.sm-signature-record strong{overflow-wrap:anywhere}
@media(max-width:760px){
  .sm-view-tabs{display:flex}.sm-view-tabs button{flex:1;padding:.5rem}
  .sm-schedule-toolbar{align-items:stretch;flex-direction:column}
  .sm-schedule-toolbar>.btn{align-self:flex-start}
  .sm-schedule-grid{grid-auto-flow:column;grid-auto-columns:minmax(265px,84vw);
    grid-template-columns:none;scroll-snap-type:x proximity}
  .sm-schedule-column{scroll-snap-align:start}
  .sm-board{grid-auto-flow:column;grid-auto-columns:minmax(245px,78vw);
    grid-template-columns:none;scroll-snap-type:x proximity}
  .sm-lane{scroll-snap-align:start}
  .sm-form-grid,.sm-detail-grid{grid-template-columns:1fr}
  .sm-slot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sm-proposal-option{grid-template-columns:1fr}.sm-proposal-fee{padding-left:1.9rem}
  .sm-proposal-quantity{padding-left:1.9rem}
  .sm-proposal-type-options{grid-template-columns:1fr}
  .sm-proposal-content-head{align-items:stretch;flex-direction:column}
  .sm-proposal-content-head .btn{align-self:flex-start}
  .sm-default-proposal-head{flex-direction:column}.sm-default-proposal-head>.btn{align-self:flex-start}
  .proposal-public-head{align-items:flex-start;flex-direction:column}
  .proposal-public-company{margin-left:0;text-align:left}.sm-response-grid,.sm-proposal-signatures{grid-template-columns:1fr}
  .sm-signature-record{grid-template-columns:1fr}
}
.sm-enquiry-spend { margin: .55rem 0; font-size: .85rem; color: #526773; }
.sm-enquiry-spend p { margin: .2rem 0; }
.sm-outcome-totals { padding: .8rem 1rem; border-bottom: 1px solid #dce6ec; font-size: .9rem; }
.sm-outcome-totals p { margin: .3rem 0; }
.sm-profit-summary { padding: 1.2rem; background: #fff; border: 1px solid #dce6ec; border-radius: 12px; }
.sm-profit-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 1rem; margin: 1.2rem 0; }
.sm-profit-grid > div { background: #eef6fa; padding: 1rem; border-radius: 10px; }
.sm-profit-grid span,.sm-profit-grid strong { display: block; }
.sm-profit-grid strong { font-size: 1.5rem; margin-top: .5rem; }
.sm-profit-summary table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.sm-profit-summary th,.sm-profit-summary td { padding: .7rem; text-align: left; border-bottom: 1px solid #dce6ec; white-space: nowrap; }
/* Proposal editor: twice the previous 640px width, constrained on small screens. */
.backdrop:has(.sm-proposal-dialog) .modal{max-width:min(1280px,calc(100vw - 2rem))}
.sm-custom-services>p,.sm-custom-services>button{margin:.8rem}
.sm-custom-line{display:grid;grid-template-columns:minmax(200px,1.4fr) 170px 150px auto;gap:.7rem;padding:.8rem;align-items:end;border-top:1px solid var(--rule-soft)}
.sm-client-preview iframe{display:block;width:100%;height:70vh;min-height:420px;border:0;background:#eef2f5}
.sm-custom-line label{display:flex;flex-direction:column;gap:.35rem;font-size:.8rem}
.sm-custom-line input,.sm-custom-line select{width:100%;min-width:0}
@media(max-width:1000px){.sm-custom-line{grid-template-columns:1fr 1fr}.sm-custom-line>button{justify-self:start}}
@media(max-width:600px){.sm-custom-line{grid-template-columns:1fr}}
.backdrop:has(.sm-proposal-dialog){padding-top:2.5rem;padding-bottom:1rem}
.backdrop:has(.sm-proposal-dialog) .modal{max-height:calc(100vh - 4rem)}

.sm-reminder-details { margin: 8px 0; }
.sm-reminder-details-body { margin-top: 8px; }

.sm-heading-mailbox { font: 500 15px var(--font-sans, sans-serif); color: var(--muted, #718496); margin-left: 12px; }
.sm-inprocess-reminder-actions { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
.sm-inprocess-reminder-actions .sm-reminder-details { margin: 0; }
.sm-inprocess-reminder-actions .sm-reminder-details { flex: 1; min-width: 0; }

.sm-card-flags { display:flex; gap:5px; margin-bottom:8px; }
.sm-card-flag { display:flex; align-items:center; justify-content:center; width:29px; height:29px; border:1px solid #dce4ea; border-radius:6px; background:white; cursor:pointer; opacity:.5; }
.sm-card-flag-red { color:#ce2939; }
.sm-card-flag-orange { color:#df7b0a; }
.sm-card-flag-green { color:#208451; }
.sm-card-flag[aria-pressed="true"] { opacity:1; border:2px solid currentColor; background:#edf3f7; box-shadow:0 0 0 1px currentColor; }
.sm-card-flag:hover, .sm-card-flag:focus-visible { opacity:1; }
.sm-card-flag:disabled { cursor:default; }
