.crm-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.crm-summary .panel{display:grid;gap:10px;margin:0}.crm-summary small{color:var(--adm-muted)}.crm-summary strong{font-size:28px;line-height:1.2;overflow-wrap:anywhere}.crm-filters{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:24px}.crm-filters .search{flex:1;min-width:220px}.crm-filters :is(input[type=month],select){height:48px;padding:10px 14px;border-radius:24px;border:1px solid var(--adm-line);background:var(--adm-subtle);color:var(--adm-ink);font-size:14px;min-width:0}.crm-filters .check{display:flex;align-items:center;gap:8px;font-size:14px}.crm-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:20px;align-items:start;margin-bottom:24px}.crm-calendar{position:sticky;top:20px;padding:20px!important}.crm-calendar .section-title{margin-bottom:16px}.crm-calendar h3{font-size:16px}.crm-calendar .btn{height:36px;min-height:36px;padding:0 10px;font-size:12px}.crm-week,.crm-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.crm-week span{text-align:center;font-size:11px;color:var(--adm-muted);padding:5px 0}.crm-days button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:40px;min-width:0;background:transparent;border:1px solid transparent;border-radius:12px;color:var(--adm-ink);font-size:13px}.crm-days button.today{border-color:#60aaff}.crm-days button.active{background:#268ff5;color:#fff}.crm-days small{display:block;width:15px;height:15px;line-height:15px;border-radius:50%;background:#60aaff;color:white;font-size:9px}.crm-list{display:grid;gap:16px}.crm-record .section-title{margin-bottom:16px}.crm-record .section-title p{margin-top:5px}.crm-due{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;background:var(--adm-subtle);padding:12px 16px;border-radius:16px;font-size:13px;margin-bottom:16px}.crm-due strong{font-weight:500}.crm-due>b{font-size:12px;color:#ad453a}.crm-record.crm-overdue{border-color:#d88b7d}.crm-total{font-size:32px;font-weight:600;display:block;margin:16px 0}.crm-breakdown{border:1px solid var(--adm-line);border-radius:18px;margin:16px 0;overflow:hidden}.crm-breakdown summary{padding:13px 16px;cursor:pointer;font-size:14px;color:var(--adm-muted)}.crm-breakdown dl{margin:0;padding:0 16px 12px}.crm-breakdown dl>div{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--adm-line);padding:10px 0;font-size:13px}.crm-breakdown dl>div:last-child{border:0}.crm-breakdown dt{color:var(--adm-muted)}.crm-breakdown dd{margin:0;white-space:nowrap}.crm-record>.actions{margin-top:20px}.crm-priority{display:inline-flex;border-radius:20px;padding:5px 10px;font-size:12px;color:var(--adm-muted);background:var(--adm-subtle);margin-bottom:12px}.crm-priority.priority-high{background:#fff4d9;color:#8e6919}.crm-priority.priority-urgent{background:#ffede9;color:#ad453a}.crm-description,.crm-notes p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px!important;line-height:1.6!important;margin:12px 0}.crm-order{display:grid;gap:5px;border:1px solid var(--adm-line);padding:14px 16px;border-radius:18px;margin:16px 0}.crm-order small,.crm-order span{font-size:12px;color:var(--adm-muted)}.crm-order strong{font-size:15px;font-weight:500}.crm-notes{padding:12px 16px;background:var(--adm-subtle);border-radius:16px;margin-top:16px}.crm-notes>small{color:var(--adm-muted);font-size:12px}.crm-notes p{margin:6px 0 0}.desktop-client[data-desktop-theme=dark] .crm-days button.active{background:#286fa8}.desktop-client[data-desktop-theme=dark] .crm-overdue{border-color:#a46458}.desktop-client[data-desktop-theme=dark] .crm-due>b{color:#ffb3a6}.desktop-client[data-desktop-theme=dark] .priority-high{background:#42371c;color:#f3d77e}.desktop-client[data-desktop-theme=dark] .priority-urgent{background:#43272b;color:#ffb4ab}@media(max-width:1150px){.crm-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-layout{grid-template-columns:1fr}.crm-calendar{position:static}.crm-days button{min-height:44px}.crm-calendar .section-title{align-items:center}}@media(max-width:560px){.crm-summary{gap:12px;margin-bottom:20px}.crm-summary .panel{padding:16px}.crm-summary strong{font-size:24px}.crm-filters{gap:8px;margin-bottom:20px}.crm-filters .search{flex-basis:100%;min-width:0;width:100%}.crm-filters :is(input[type=month],select){flex:1;max-width:100%}.crm-layout{gap:16px}.crm-record .section-title{gap:10px}.crm-record .section-title>div{flex:1;min-width:0}.crm-record .status{font-size:11px}.crm-due{padding:12px;font-size:12px}.crm-total{font-size:28px}.crm-breakdown dl>div{font-size:12px}.crm-record>.actions .btn{flex:1}.crm-notes{padding:12px}}
