/* Friday Studio 0.6 additions */
.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:900px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Layers drag and drop */
.outline-item[draggable=true]{cursor:grab}
.outline-item.dragging{opacity:.45}
.outline-item.drop-before{box-shadow:inset 0 2px 0 rgba(0,0,0,0.60)}
.outline-item.drop-after{box-shadow:inset 0 -2px 0 rgba(0,0,0,0.60)}

/* Shop settings in inspector */
.shop-settings{margin-top:16px;padding:13px;border:1px solid #1e1e1e;background:#292929;border-radius:11px}
.switch-row{display:flex;gap:10px;align-items:flex-start;cursor:pointer}
.switch-row input{margin-top:2px;accent-color:#a0a0a0;width:15px;height:15px;flex:none}
.switch-row b{display:flex;align-items:center;gap:6px;font-size:13px;color:#c2c2c2;font-weight:600}
.switch-row b svg{width:14px;height:14px;color:#a0a0a0}
.switch-row small{display:block;font-size:11px;line-height:1.7;color:#9f9f9f;margin-top:4px}
.shop-settings .field{margin-top:12px;margin-bottom:0}
.seo-settings textarea.design-select{resize:vertical;line-height:1.6;font-family:inherit}
.seo-settings input.design-select{box-sizing:border-box}
.seo-settings .field-hint{display:block;text-align:right;margin:5px 0 0}

/* CRM */
.crm-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:-8px 0 16px}
.crm-project{display:flex;align-items:center;gap:7px;border:1px solid #3d3d3d;border-radius:10px;padding:0 0 0 10px;background:#2b2b2b;color:#949494}
.crm-project svg{width:13px;height:13px}
.crm-project select{border:0;background:transparent;padding:9px 10px 9px 2px;font-size:13px;color:#c2c2c2;max-width:240px;outline:none}
.crm-tabs{display:flex;background:#232323;border-radius:11px;padding:3px;gap:3px}
.crm-tabs[hidden]{display:none}
.crm-tabs button{border:0;background:transparent;padding:8px 13px;font-size:13px;color:#b0b0b0}
.crm-tabs button span{background:#3c3c3c;border-radius:999px;padding:1px 7px;font-size:11px;color:#b0b0b0}
.crm-tabs button.selected{background:#2b2b2b;color:#acacac;box-shadow:0 1px 3px rgba(0,0,0,0.60)}
.crm-tabs button.selected span{background:#222222;color:#acacac}
.crm-search{margin-left:auto}
.crm-controls>button{font-size:13px}
.crm-summary{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.crm-summary>div{flex:1 1 140px;border:1px solid #1c1c1c;border-radius:13px;padding:12px 15px;background:#292929}
.crm-summary small{display:block;font-size:12px;color:#a0a0a0}
.crm-summary b{display:block;font-size:20px;color:#c9c9c9;margin-top:5px;font-weight:600;font-variant-numeric:tabular-nums}
.kanban-orders{grid-template-columns:repeat(5,minmax(210px,1fr));overflow-x:auto;padding-bottom:6px}
.kanban-orders .column:nth-child(5) h3:before{background:#4a4a4a}
.column h3 em{margin-left:auto;font-style:normal;font-size:12px;color:#acacac;font-weight:600}
.crm-card-top{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.crm-card-top small{font-size:11px;color:#989898}
.order-number{font-size:12px;font-weight:700;color:#acacac;background:#232323;border-radius:7px;padding:2px 7px}
.crm-delete{margin-left:auto;border:0;background:transparent;padding:3px;color:#4e4e4e}
.crm-delete:hover{color:#d87989;background:#3f1216}
.crm-delete svg{width:13px;height:13px}
.crm-phone{color:#a6a6a6;text-decoration:none}
.crm-phone:hover{text-decoration:underline}
.order-items{list-style:none;margin:10px 0 6px;padding:8px 0;border-top:1px dashed #3c3c3c;border-bottom:1px dashed #3c3c3c}
.order-items li{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#b2b2b2;line-height:1.9}
.order-items li span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}
.order-total{display:flex;justify-content:space-between;align-items:baseline;font-size:12px;color:#a0a0a0;margin-bottom:6px}
.order-total b{font-size:14px;color:#c9c9c9}
.crm-message{background:#272727;border-radius:8px;padding:7px 9px;white-space:pre-wrap}
.crm-note{width:100%;box-sizing:border-box;border:1px dashed #3e3e3e;border-radius:8px;padding:7px 9px;font-size:12px;color:#bbbbbb;background:#272727;resize:vertical;margin:4px 0 8px;line-height:1.6}
.crm-note:focus{outline:none;border-style:solid;border-color:#4a4a4a}
.clients-table td{vertical-align:middle}
.clients-table td:first-child{display:flex;align-items:center;gap:10px;color:#c9c9c9;font-weight:550}
.client-avatar{width:30px;height:30px;border-radius:50%;background:#232323;color:#a6a6a6;display:inline-grid;place-items:center;font-size:12px;font-weight:700;flex:none}
.client-tag{font-size:11px;font-weight:600;color:#97d8b7;background:#163b27;border-radius:999px;padding:2px 8px}
@media(max-width:700px){.crm-search{margin-left:0;width:100%}.crm-project{width:100%}.crm-project select{max-width:none;flex:1}}