.prototype-ui .customer-detail-layout{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:16px;display:grid}.prototype-ui .customer-detail-main{gap:16px;min-width:0;display:grid}.prototype-ui .customer-detail-context{gap:16px;display:grid;position:sticky;top:24px}.prototype-ui .customer-detail-state{align-content:center;justify-items:start;gap:16px;min-height:190px;padding:24px;display:grid}.prototype-ui .customer-detail-state h2,.prototype-ui .customer-detail-state p{margin:0}.prototype-ui .customer-detail-tags{flex-wrap:wrap;gap:8px;display:flex}.prototype-ui .customer-detail-tags span{background:var(--rail);min-height:24px;color:var(--muted);border-radius:999px;align-items:center;padding:4px 8px;font-size:11px;display:inline-flex}.prototype-ui .customer-detail-row-link{min-height:44px;color:var(--ink);text-decoration:none}.prototype-ui .customer-detail-contacts-table{min-width:720px}.prototype-ui .customer-detail-contacts-table td:first-child{min-width:170px}.prototype-ui .customer-detail-contacts-table td:nth-child(2){min-width:180px}.prototype-ui .customer-detail-contacts-table td:nth-child(3){min-width:145px}.prototype-ui .customer-detail-sites-table{min-width:660px}.prototype-ui .customer-detail-sites-table td:first-child{min-width:160px}.prototype-ui .customer-detail-sites-table td:nth-child(2){overflow-wrap:anywhere;min-width:260px}.prototype-ui .customer-detail-row-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.prototype-ui .customer-detail-inline-form{border-bottom:1px solid var(--line);background:var(--rail);grid-template-columns:minmax(180px,1.1fr) minmax(180px,1fr) minmax(150px,.8fr) auto;align-items:end;gap:12px;padding:16px 18px;display:grid}.prototype-ui .customer-detail-inline-form .button,.prototype-ui .customer-detail-site-form .button{min-height:44px}.prototype-ui .customer-detail-site-form{border-bottom:1px solid var(--line);background:var(--rail);grid-template-columns:minmax(140px,.75fr) minmax(220px,1.4fr) minmax(90px,.5fr) minmax(140px,.8fr) 78px auto;align-items:end;gap:12px;padding:16px 18px;display:grid}.prototype-ui .customer-detail-notes{color:var(--muted);white-space:pre-wrap;margin:0;font-size:11px;line-height:1.7}.prototype-ui .customer-detail-inline{color:inherit;font:700 12px/1 var(--font-sans);cursor:pointer;background:0 0;border:0;margin-left:8px;padding:0;text-decoration:underline}.prototype-ui .customer-detail-portal-link{border:1px solid var(--line);background:var(--rail);overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;border-radius:8px;padding:12px;color:var(--ink)!important}.prototype-ui .customer-site-path{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;margin:0;font-size:12px;display:flex}.prototype-ui .customer-site-path .icon{width:16px;height:16px}.prototype-ui .customer-site-path .text-button{min-height:32px;font-size:12px;font-weight:600}.prototype-ui .customer-detail-panel{gap:16px;display:grid}.prototype-ui .customer-info-row{border-top:1px solid var(--line);grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:16px;min-height:64px;padding:8px 20px;display:grid}.prototype-ui .customer-info-row:first-child{border-top:0}.prototype-ui .customer-info-icon{background:var(--rail);width:40px;height:40px;color:var(--muted);border-radius:999px;place-items:center;display:grid}.prototype-ui .customer-info-icon .icon{width:18px;height:18px}.prototype-ui .customer-info-text{gap:2px;min-width:0;display:grid}.prototype-ui .customer-info-text small{color:var(--muted);font-size:11px}.prototype-ui .customer-info-text>span{color:var(--ink);overflow-wrap:anywhere;font-size:13px}.prototype-ui .customer-info-text>.is-missing{color:var(--muted)}.prototype-ui .customer-info-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.prototype-ui .customer-info-actions .text-button{min-height:44px;font-size:12px;font-weight:600}.prototype-ui .customer-round-action{width:44px;height:44px;color:var(--ink);border-radius:999px;text-decoration:none}.prototype-ui .customer-round-action .icon{width:18px;height:18px}.prototype-ui .customer-summary-list{margin:0;padding:0 20px}.prototype-ui .customer-summary-list div{border-bottom:1px solid var(--line);justify-content:space-between;gap:16px;padding:12px 0;font-size:12px;display:flex}.prototype-ui .customer-summary-list div:last-child{border-bottom:0}.prototype-ui .customer-summary-list dt{color:var(--muted)}.prototype-ui .customer-summary-list dd{color:var(--ink);text-align:right;overflow-wrap:anywhere;margin:0;font-weight:600}.prototype-ui .customer-collaboration .link-list{padding:0 20px 8px}.prototype-ui .customer-collaboration .link-row{min-height:48px;color:var(--ink);cursor:pointer;font:inherit;background:0 0;border-bottom:0;border-left:0;border-right:0;font-size:12px}.prototype-ui .customer-collaboration .link-row>span:first-child{flex:auto;min-width:0}.prototype-ui .customer-collaboration .link-row>.customer-link-chevron{color:var(--muted);flex:none;margin-left:auto;display:flex}.prototype-ui .customer-link-chevron .icon{width:16px;height:16px}.prototype-ui .customer-history{color:var(--muted);gap:4px;margin:0;padding:8px 20px 16px;font-size:12px;list-style:none;display:grid}.prototype-ui .customer-history ol{margin:0;padding:0;list-style:none;display:grid}.prototype-ui .customer-history-date{color:var(--muted);font-variant-numeric:tabular-nums;padding:8px 0 4px;font-size:11px;font-weight:600;display:block}.prototype-ui .customer-history-entry{grid-template-columns:32px minmax(0,1fr);align-items:center;gap:12px;min-height:44px;display:grid}.prototype-ui .customer-history-icon{background:var(--bg);width:32px;height:32px;color:var(--muted);border-radius:8px;place-items:center;display:grid}.prototype-ui .customer-history-icon .icon{width:16px;height:16px}.prototype-ui .customer-history-text{min-width:0;color:var(--ink);text-align:left;overflow-wrap:anywhere;font-size:12px}.prototype-ui button.customer-history-text{min-height:44px;color:var(--link);cursor:pointer;padding:0;font-weight:600}@media (hover:hover) and (pointer:fine){.prototype-ui button.customer-history-text:hover{text-underline-offset:3px;text-decoration:underline}}.prototype-ui .customer-upcoming h2{padding:16px 20px 0}.prototype-ui .customer-upcoming-list{margin:0;padding:8px 20px 12px;list-style:none;display:grid}.prototype-ui .customer-upcoming-list li+li{border-top:1px solid var(--line)}.prototype-ui .customer-upcoming-row{text-align:left;width:100%;min-height:56px;color:var(--ink);grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px;padding:8px 0;display:grid}.prototype-ui button.customer-upcoming-row{cursor:pointer;transition:background-color .15s ease-out}@media (hover:hover) and (pointer:fine){.prototype-ui button.customer-upcoming-row:hover strong{color:var(--link)}}@media (prefers-reduced-motion:reduce){.prototype-ui button.customer-upcoming-row{transition:none}}.prototype-ui .customer-date-tile{background:var(--bg);border-radius:10px;align-content:center;place-items:center;width:44px;height:44px;line-height:1.1;display:grid}.prototype-ui .customer-date-tile small{text-transform:none;color:var(--muted);font-size:10px}.prototype-ui .customer-date-tile strong{font-variant-numeric:tabular-nums;font-size:16px;font-weight:700}.prototype-ui .customer-upcoming-text{gap:2px;min-width:0;display:grid}.prototype-ui .customer-upcoming-text strong{overflow-wrap:anywhere;font-size:13px;font-weight:600}.prototype-ui .customer-upcoming-text small{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.prototype-ui .customer-panel-empty{color:var(--muted);margin:0;padding:16px 20px;font-size:12px}.prototype-ui .customer-state-card{justify-items:start;gap:8px;padding:24px 20px;font-size:12px;display:grid}.prototype-ui .customer-state-card p{color:var(--muted);margin:0}.prototype-ui .customer-state-card .button{min-height:44px}.prototype-ui .customer-portal-card .button{justify-content:center}.prototype-ui .customer-records-table td{vertical-align:middle}.prototype-ui .customer-records-table .is-amount{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.prototype-ui .customer-record-link{min-height:44px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:0;display:flex}.prototype-ui .customer-record-link span{color:var(--muted)}.prototype-ui .customer-records-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:16px;padding:8px 20px;font-size:12px;display:flex}.prototype-ui .customer-records-footer .text-button{min-height:44px;font-size:12px;font-weight:600}@media (width<=1100px){.prototype-ui .customer-detail-layout{grid-template-columns:1fr}.prototype-ui .customer-detail-context{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));position:static}.prototype-ui .customer-detail-inline-form{grid-template-columns:repeat(2,minmax(0,1fr))}.prototype-ui .customer-detail-site-form{grid-template-columns:repeat(3,minmax(0,1fr))}.prototype-ui .customer-detail-inline-form .button,.prototype-ui .customer-detail-site-form .button{justify-self:start}}@media (width<=700px){.prototype-ui .customer-detail-inline-form,.prototype-ui .customer-detail-site-form{grid-template-columns:1fr}.prototype-ui .customer-info-row{gap:12px;padding:8px 16px}.prototype-ui .customer-info-row:has(.customer-detail-row-link){grid-template-columns:40px minmax(0,1fr)}.prototype-ui .customer-info-row:has(.customer-detail-row-link) .customer-info-actions{grid-column:2;justify-content:flex-start}.prototype-ui .customer-summary-list,.prototype-ui .customer-collaboration .link-list{padding-left:16px;padding-right:16px}.prototype-ui .customer-summary-list div{flex-direction:column;gap:4px}.prototype-ui .customer-summary-list dd{text-align:left}.prototype-ui .customer-detail-panel .workspace-panel-header{flex-wrap:wrap;gap:12px}.prototype-ui .customer-detail-panel .workspace-panel-header>.button{white-space:normal;max-width:100%}}