/* CRM shares the administration typography and white palette. */
.admin-crm{min-width:0}.admin-crm .portal-heading .portal-muted{max-width:660px}.crm-tabs{margin-top:0}.crm-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:0 0 30px;margin-bottom:30px;border-bottom:1px solid var(--line)}.crm-summary>div{min-width:0}.crm-summary span{display:block;font-size:.8125rem;color:var(--muted);margin-bottom:8px}.crm-summary strong{display:block;font-weight:300;font-size:clamp(1.5rem,2.5vw,2.2rem);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.crm-search label{min-width:0}.crm-search label:first-child{flex:2}.crm-search select{min-width:0}.crm-result-count{font-size:.8125rem;margin:0 0 22px}.crm-board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;align-items:start}.crm-column{min-width:0}.crm-column-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-bottom:1px solid var(--ink);padding:0 0 15px;margin-bottom:18px;min-height:62px}.portal-shell .crm-column-heading h2{font-size:.875rem;font-weight:400;margin:0;line-height:1.55}.crm-column-heading>span{font-size:.8125rem;color:var(--muted)}.crm-card{border:1px solid var(--line);padding:20px 16px;margin-bottom:16px;background:#fff;overflow-wrap:anywhere}.portal-shell .crm-card h3{font-size:1.05rem;line-height:1.45;margin:0 0 9px;font-weight:400}.crm-card p{font-size:.8125rem;line-height:1.65;margin:0 0 12px}.crm-card .crm-service{margin-bottom:12px}.crm-contact{color:var(--muted);overflow-wrap:anywhere}.crm-card .crm-value{font-size:1.05rem;font-variant-numeric:tabular-nums;margin:15px 0}.crm-return{color:var(--muted);border-top:1px solid var(--line);padding-top:12px}.crm-return time{display:block;color:var(--ink)}.crm-return-due{color:var(--ink);border-top-color:var(--ink)}.crm-return-due:before{content:'•';margin-right:6px}.crm-card .crm-notes{color:var(--muted);white-space:pre-line}.crm-client-link{display:block;font-size:.75rem;text-decoration:underline;text-underline-offset:4px;margin-bottom:12px;line-height:1.7}.crm-edit{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;min-height:44px}.crm-column-empty{font-size:.8125rem;color:var(--muted);line-height:1.6;padding:16px 0}.crm-form .crm-form-note{font-size:.8125rem;line-height:1.7}.crm-form .portal-form-row>*{min-width:0}.crm-customers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;align-items:start}.crm-customer{min-width:0;border:1px solid var(--line);padding:30px;overflow-wrap:anywhere}.crm-customer>header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:20px}.crm-customer>header>div{min-width:0}.portal-shell .crm-customer h2{font-size:1.5rem;margin:0 0 12px;line-height:1.4}.crm-customer h2 a{display:block}.crm-customer h2 a:hover{text-decoration:underline;text-underline-offset:5px}.crm-customer h2 span{font-size:1rem}.crm-customer .crm-contact{font-size:.875rem;line-height:1.75;margin:0}.crm-account-state{font-size:.75rem;color:var(--muted);flex-shrink:0;padding-top:7px}.crm-shoots{list-style:none;padding:0;margin:0 0 20px}.crm-shoots li{border-top:1px solid var(--line)}.crm-shoots a{display:block;padding:18px 0}.crm-shoots a:hover .crm-shoot-title{text-decoration:underline;text-underline-offset:4px}.crm-shoot-title{display:flex;justify-content:space-between;gap:12px;font-size:1rem;margin-bottom:5px}.crm-shoot-stage,.crm-shoot-meta{display:block;font-size:.8125rem;line-height:1.65}.crm-shoot-meta{color:var(--muted);margin-top:4px}.crm-customer-actions{justify-content:space-between;border-top:1px solid var(--line);padding-top:16px;gap:12px 20px}.crm-customer-actions .text-link,.crm-customer-actions button{font-size:.8125rem;min-height:44px;display:inline-flex;align-items:center}.crm-no-shoots{font-size:.875rem;padding:15px 0}.admin-crm :is(a,button,input,select):focus-visible,.crm-form :is(button,input,select,textarea):focus-visible{outline:2px solid var(--ink);outline-offset:4px}
@media(max-width:1200px){.crm-board{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 22px}.crm-column-heading{min-height:0}.crm-customer>header{flex-direction:column;gap:8px}.crm-account-state{padding:0}}
@media(max-width:800px){.crm-board{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-customers{grid-template-columns:1fr}.crm-customer>header{flex-direction:row}.crm-summary{gap:18px}.crm-summary strong{font-size:1.6rem}}
@media(max-width:640px){.crm-board{grid-template-columns:1fr;gap:25px}.crm-card{padding:22px}.crm-column-heading{padding-bottom:12px}.crm-column-empty{margin:0;padding:0 0 12px}.crm-summary{grid-template-columns:1fr 1fr;gap:24px 18px}.crm-summary>div:last-child{grid-column:1/-1}.crm-tabs{gap:12px 22px}.crm-tabs a{max-width:100%;line-height:1.5}.crm-customer{padding:24px 20px}.crm-customer>header{flex-direction:column}.crm-customer-actions{align-items:flex-start}.crm-form input,.crm-form select,.crm-form textarea{max-width:100%}}

.crm-board{grid-template-columns:repeat(10,minmax(245px,1fr));overflow-x:auto;padding-bottom:18px}.crm-stage-control{display:block;font-size:.75rem;margin:12px 0}.crm-stage-control select{display:block;max-width:100%;width:100%;min-height:44px;margin-top:6px;background:white;border:1px solid var(--line);padding:8px;color:var(--ink);font:inherit}.crm-card[draggable=true]{cursor:grab}.crm-card:active{cursor:grabbing}.crm-column{min-height:160px}.crm-column:focus-within{outline-offset:3px}
@media(max-width:640px){.crm-board{grid-template-columns:1fr;overflow:visible}.crm-card[draggable=true]{cursor:auto}}
