.crm-rec-dialog.crm-record-drawer{background:var(--card);border:0;border-radius:0;flex-direction:column;gap:0;width:min(100%,390px);max-width:390px;padding:0;display:flex}.crm-record-drawer>button{display:none}.crm-record-drawer header{border-bottom:1px solid var(--r-border);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:20px 16px;display:grid}.crm-record-drawer header h2{font-size:17px;font-weight:700}.crm-record-drawer header>button:last-child{background:var(--r-soft);border-radius:50%;width:30px;height:30px}.crm-record-drawer-body{flex:1;padding:16px;overflow-y:auto}.crm-record-inline-note{border-bottom:1px solid var(--r-border);flex-direction:column;align-items:flex-end;gap:8px;padding-bottom:16px;display:flex}.crm-record-inline-note textarea{border:1px solid var(--r-border);resize:vertical;border-radius:10px;width:100%;padding:10px;font-size:12px}.crm-record-inline-note button{border-radius:999px;height:30px;font-size:11px}.crm-record-note-list li{border-bottom:1px solid var(--r-border);padding:16px 0}.crm-record-note-list li>div{flex-wrap:wrap;align-items:center;gap:6px;font-size:10px;display:flex}.crm-record-note-list time{color:var(--r-muted)}.crm-record-note-list em{background:var(--r-tint);color:var(--r-primary);border-radius:5px;margin-left:auto;padding:2px 5px;font-size:9px;font-style:normal}.crm-record-note-list p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px;font-size:12px;line-height:1.55}.crm-record-author{background:var(--r-hero);width:24px;height:24px;color:var(--primary-foreground);border-radius:50%;flex:none;place-items:center;font-size:9px;display:inline-grid}.crm-record-task-group{margin-bottom:24px}.crm-record-task-group h3{text-transform:uppercase;color:var(--r-muted);border-bottom:1px solid var(--r-border);align-items:center;gap:6px;padding-bottom:8px;font-size:10px;display:flex}.crm-record-task-group h3 b{margin-left:auto}.crm-record-task-group h3 span{background:var(--r-primary);border-radius:50%;width:6px;height:6px}.crm-record-task-group[data-status=Overdue] h3 span{background:var(--r-danger)}.crm-record-task-group[data-status=Done] h3 span{background:var(--r-green)}.crm-record-task{grid-template-columns:44px minmax(0,1fr) 28px;align-items:center;gap:10px;padding:10px 0;display:grid}.crm-record-task>div{min-width:0}.crm-record-task>div>b{overflow-wrap:anywhere;font-size:13px;display:block}.crm-record-task>div>small{color:var(--r-muted);margin-top:3px;font-size:11px;display:block}.crm-record-task[data-status=Done]>div>b{text-decoration:line-through}.crm-record-date{background:var(--r-hero);width:44px;height:50px;color:var(--primary-foreground);border-radius:9px;flex-direction:column;justify-content:center;align-items:center;display:flex}.crm-record-date small{text-transform:uppercase;font-size:9px;font-weight:700}.crm-record-date b{font-size:20px;line-height:1.15}.crm-record-complete{border:2px solid var(--r-border);border-radius:50%;width:26px;height:26px;padding:0}.crm-record-complete[aria-pressed=true]{background:var(--r-green);color:var(--primary-foreground);border-color:var(--r-green)}.crm-record-empty{color:var(--r-muted);padding:10px 0;font-size:12px}.crm-record-tile{padding:20px}.crm-record-tile>header{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin-bottom:14px;display:grid}.crm-record-pinned{border:1px solid var(--r-border);background:var(--r-soft);border-radius:14px;padding:14px}.crm-record-pinned>span{color:var(--r-primary);align-items:center;gap:6px;font-size:12px;font-weight:600;display:flex}.crm-record-pinned>p{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0;font-size:14px;line-height:1.5}.crm-record-pinned>small{color:var(--r-muted);flex-wrap:wrap;align-items:center;gap:6px;font-size:11px;display:flex}.crm-record-tile-tabs{background:var(--r-soft);border-radius:999px;grid-template-columns:1fr 1fr;margin-bottom:8px;padding:4px;display:grid}.crm-record-tile-tabs button{height:34px;color:var(--r-muted);border-radius:999px;font-size:12px}.crm-record-tile-tabs button[aria-pressed=true]{background:var(--card);color:var(--r-primary);box-shadow:var(--shadow-soft)}.crm-activity-types,.crm-activity-times{flex-wrap:wrap;gap:6px;display:flex}.crm-activity-types button,.crm-activity-times button{border:1px solid var(--r-border);background:var(--card);height:32px;color:var(--r-ink);border-radius:999px;padding:0 12px;font-size:12px}.crm-activity-types button[aria-pressed=true],.crm-activity-times button[aria-pressed=true]{background:var(--r-primary);color:var(--primary-foreground);border-color:var(--r-primary)}.crm-activity-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:14px 0;display:grid}.crm-activity-days button{border:1px solid var(--r-border);background:var(--card);height:60px;color:var(--r-ink);border-radius:9px;flex-direction:column;gap:3px;padding:0;display:flex}.crm-activity-days button small{text-transform:uppercase;font-size:10px}.crm-activity-days button b{font-size:20px}.crm-activity-days button[aria-pressed=true]{background:var(--r-hero);color:var(--primary-foreground)}.crm-activity-title{border:1px solid var(--r-border);border-radius:10px;width:100%;height:42px;margin-top:14px;padding:0 12px;font-size:14px}@media(max-width:600px){.crm-activity-days{gap:4px}.crm-activity-days button{height:52px}.crm-activity-days button small{font-size:8px}.crm-activity-days button b{font-size:17px}}@media(prefers-reduced-motion:reduce){.crm-record-drawer{transition:none;animation:none}}.crm-rec-dialog.crm-lost-dialog{border:1px solid var(--r-border);background:var(--card);width:calc(100% - 32px);max-width:480px;max-height:calc(100dvh - 32px);color:var(--r-ink);box-shadow:var(--shadow-elevated);border-radius:20px;flex-direction:column;gap:0;padding:0;font-family:DM Sans,sans-serif;display:flex;overflow:hidden}body:has(.crm-lost-dialog[data-state=open])>[data-state=open]:not([role=dialog]){background:color-mix(in srgb,var(--r-hero,var(--foreground)) 56%,transparent);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.crm-lost-header{flex:none;justify-content:space-between;align-items:start;gap:12px;padding:20px 20px 16px;display:flex}.crm-lost-title{letter-spacing:0;font-size:22px;font-weight:700;line-height:1.25}.crm-lost-subtitle{color:var(--r-muted);margin-top:6px;font-size:12px;line-height:1.45}.crm-lost-close{background:var(--r-soft);width:32px;height:32px;color:var(--r-ink);border-radius:50%;flex:none;padding:0}.crm-lost-close:hover{background:var(--r-tint)}.crm-lost-body{min-height:0;padding:0 20px 16px;overflow-y:auto}.crm-lost-reasons{flex-direction:column;gap:6px;display:flex}.crm-lost-reason{border:1px solid var(--r-border);cursor:pointer;border-radius:10px;align-items:center;gap:10px;min-height:40px;padding:9px 12px;font-size:13px;font-weight:600;line-height:1.4;display:flex}.crm-lost-reason:hover{background:var(--r-soft)}.crm-lost-reason:has(input:checked){border-color:var(--r-primary);background:var(--r-tint)}.crm-lost-reason:has(input:focus-visible){outline:2px solid var(--r-primary);outline-offset:2px}.crm-lost-reason input{appearance:none;border:1.5px solid var(--r-border);border-radius:50%;flex:none;place-content:center;width:16px;height:16px;margin:0;display:grid}.crm-lost-reason input:checked{border-color:var(--r-primary)}.crm-lost-reason input:checked:after{content:"";background:var(--r-primary);border-radius:50%;width:8px;height:8px}.crm-lost-notes{border:1px solid var(--r-border);resize:vertical;border-radius:11px;outline:none;width:100%;height:70px;min-height:70px;margin-top:14px;padding:10px 12px;font-size:12px;line-height:1.5;display:block}.crm-lost-notes:focus{border-color:var(--r-primary)}.crm-lost-footer{border-top:1px solid var(--r-border);background:var(--r-soft);flex:none;align-items:center;gap:8px;padding:12px 20px;display:flex}.crm-lost-footer>span{min-width:0;color:var(--r-muted);flex:1;font-size:10px;line-height:1.4}.crm-lost-cancel{height:36px;color:var(--r-muted);padding:0 8px;font-size:12px;font-weight:700}.crm-lost-submit{background:var(--r-danger);height:36px;color:var(--destructive-foreground);border-radius:10px;flex:none;gap:6px;padding:0 16px;font-size:12px;font-weight:700}.crm-lost-submit:hover:not(:disabled){background:var(--r-danger);filter:brightness(.94)}.crm-lost-submit:disabled{opacity:.5}.crm-lost-unavailable{color:var(--r-danger);background:var(--r-danger-soft);border:1px solid var(--r-danger);border-radius:8px;margin-bottom:10px;padding:10px;font-size:12px}@media(max-width:480px){.crm-lost-header{padding:18px 16px 14px}.crm-lost-body{padding:0 16px 14px}.crm-lost-footer{flex-wrap:wrap;padding:12px 16px}.crm-lost-footer>span{flex-basis:100%}.crm-lost-cancel{margin-left:auto}}
