/* Production equivalents of sorgenti/css/componenti.css, shell.css and pagine.css.
   Loaded only in NowCRM. All selectors are scoped; legacy themes keep their CSS. */
body[data-theme="nowcrm"] { --bs-body-font-family:var(--font); --bs-body-font-size:14px; --bs-body-line-height:1.45; }
body[data-theme="nowcrm"] :is(input,select,textarea,button) { font-family:var(--font); }
body[data-theme="nowcrm"] a { text-decoration:none; }
body[data-theme="nowcrm"] :is(.btn-sm,.btn-group-sm > .btn) { min-height:30px; font-size:12.5px; border-radius:8px; padding:5px 10px; }
body[data-theme="nowcrm"] :is(.btn-outline-secondary,.btn-secondary,.btn-outline-info,.btn-outline-dark) { background:var(--surface); color:var(--ink); border-color:var(--line-2); }
body[data-theme="nowcrm"] :is(.btn-outline-secondary,.btn-secondary,.btn-outline-info,.btn-outline-dark):hover { background:var(--hover); border-color:#d5d8dd; }
body[data-theme="nowcrm"] .btn svg { width:16px; height:16px; flex:none; }
body[data-theme="nowcrm"] :is(.card,.modal-content) { color:var(--ink); }
body[data-theme="nowcrm"] :is(.card-header,.card-footer) :is(.text-white,.text-light) { color:var(--ink)!important; }
body[data-theme="nowcrm"] :is(.card.bg-primary,.card.bg-info,.card.bg-warning,.card.bg-success,.card.bg-dark) { background:var(--surface)!important; color:var(--ink)!important; }
body[data-theme="nowcrm"] .card.h-100:hover { transform:none; box-shadow:var(--sh-2)!important; }
body[data-theme="nowcrm"] .table { --bs-table-striped-bg:transparent; --bs-table-striped-color:var(--ink); --bs-table-color:var(--ink); }
body[data-theme="nowcrm"] .table > :not(caption) > * > * { box-shadow:none; }
body[data-theme="nowcrm"] .table tbody tr:hover > td { background:var(--surface-2); }
body[data-theme="nowcrm"] .table-bordered > :not(caption) > * > * { border-left:0; border-right:0; }
body[data-theme="nowcrm"] .badge:is(.bg-success,.text-bg-success) { background:var(--green-50)!important; color:#15803d!important; }
body[data-theme="nowcrm"] .badge:is(.bg-primary,.bg-secondary,.text-bg-secondary) { background:var(--slate-50)!important; color:var(--steel)!important; }
body[data-theme="nowcrm"] .badge:is(.bg-info,.text-bg-info) { background:var(--blue-50)!important; color:#1d4ed8!important; }
body[data-theme="nowcrm"] .badge:is(.bg-warning,.text-bg-warning) { background:#fffbeb!important; color:#92400e!important; }
body[data-theme="nowcrm"] .badge:is(.bg-danger,.text-bg-danger) { background:var(--red-50)!important; color:var(--red-700)!important; }
body[data-theme="nowcrm"] .form-check-input:checked { background-color:var(--ink); border-color:var(--ink); }
body[data-theme="nowcrm"] .form-check-input:focus { box-shadow:0 0 0 3px rgb(14 17 22 / 7%); }
body[data-theme="nowcrm"] .form-check-label { font-size:13.5px; }
body[data-theme="nowcrm"] .form-text { font-size:12.5px; line-height:1.5; }
body[data-theme="nowcrm"] :is(.small,small) { font-size:12.5px; }
body[data-theme="nowcrm"] .form-control:focus,body[data-theme="nowcrm"] .form-select:focus { border-color:var(--ink); box-shadow:0 0 0 3px rgb(14 17 22 / 7%); }
body[data-theme="nowcrm"] .nc-page-root { width:100%; max-width:none; padding:0; }
body[data-theme="nowcrm"] .nc-page-column { width:100%; max-width:none; flex:1 1 100%; }
body[data-theme="nowcrm"] .nc-page-surface { border:0!important; background:transparent; box-shadow:none!important; }
body[data-theme="nowcrm"] .nc-page-surface > .card-body { padding:0; }
body[data-theme="nowcrm"] .nc-page-heading { align-items:flex-start; flex-wrap:wrap; }
body[data-theme="nowcrm"] .nc-page-heading :is(h1,h2,h3,h4,h5) { margin:0; font-size:24px; line-height:1.25; font-weight:650; letter-spacing:-.6px; }
body[data-theme="nowcrm"] .nc-page-heading .nc-heading-actions { display:flex; flex:0 1 auto; gap:8px; align-items:center; margin-left:auto; }
body[data-theme="nowcrm"] .nc-page-heading .nc-heading-actions > form { margin:0; }
body[data-theme="nowcrm"] .nc-page-heading .btn { white-space:normal; }
body[data-theme="nowcrm"] .nc-title-copy { flex:1; min-width:190px; }
body[data-theme="nowcrm"] .nc-title-copy > p { margin:6px 0 0; color:var(--muted); font-size:13.5px; }
body[data-theme="nowcrm"] .nc-record-actions { margin-bottom:18px; padding:12px 0; border-bottom:1px solid var(--line); }
body[data-theme="nowcrm"] .nc-record-tabs { display:flex; align-items:center; gap:24px; margin-bottom:20px; border-bottom:1px solid var(--line); overflow-x:auto; }
body[data-theme="nowcrm"] .nc-record-tabs button { padding:12px 0; border:0; border-bottom:2px solid transparent; background:transparent; color:var(--muted); font-size:13.5px; font-weight:550; white-space:nowrap; }
body[data-theme="nowcrm"] .nc-record-tabs button[aria-selected="true"] { color:var(--ink); border-bottom-color:var(--ink); }
body[data-theme="nowcrm"] .nc-record-tabs button:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }
body[data-theme="nowcrm"] .nc-record-stack { display:flex; flex-direction:column; gap:18px; }
body[data-theme="nowcrm"] .nc-record-stack > :is(.card,.row) { margin:0!important; }
body[data-theme="nowcrm"] .nc-record-stack > .row > :is(.col-md-6,.col-lg-6) { padding:0; width:100%; }
body[data-theme="nowcrm"] .nc-record-stack .table tbody th { width:34%; color:var(--muted); font-weight:500; }
body[data-theme="nowcrm"] .nc-record-stack .table th,body[data-theme="nowcrm"] .nc-record-stack .table td { font-size:13.5px; padding:11px 14px; }
body[data-theme="nowcrm"] .nc-lead-section { border:0!important; border-radius:0; box-shadow:none!important; background:transparent; }
body[data-theme="nowcrm"] .nc-lead-section > .card-header { padding:20px 0 10px; border:0!important; background:transparent!important; }
body[data-theme="nowcrm"] .nc-lead-section > .card-header :is(h3,h4,h5) { font-size:12px; font-weight:600; color:var(--muted); letter-spacing:.5px; text-transform:uppercase; margin:0; }
body[data-theme="nowcrm"] .nc-lead-section > .card-body { padding:0; }
body[data-theme="nowcrm"] .nc-lead-information > .card-header { display:none; }
body[data-theme="nowcrm"] .nc-lead-information .table th,body[data-theme="nowcrm"] .nc-lead-information .table td { padding:7px 0; border:0; }
body[data-theme="nowcrm"] .nc-record-title { display:flex; align-items:center; gap:12px; }
body[data-theme="nowcrm"] .nc-record-title .nc-avatar { width:44px; height:44px; font-size:15px; }
body[data-theme="nowcrm"] .nc-lead-identity { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:14px; }
body[data-theme="nowcrm"] .nc-lead-assignment { display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
body[data-theme="nowcrm"] .nc-lead-assignment > .btn { margin:0!important; }
body[data-theme="nowcrm"] .nc-lead-quick { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
body[data-theme="nowcrm"] .nc-action-options :is(a,button) { width:100%; text-align:left; justify-content:flex-start; margin:0!important; }
body[data-theme="nowcrm"] .nc-property-figures { display:grid; grid-template-columns:repeat(auto-fit,minmax(100px,1fr)); padding:18px; gap:18px; text-align:center; }
body[data-theme="nowcrm"] .nc-property-figures > div { display:flex; flex-direction:column; align-items:center; gap:6px; }
body[data-theme="nowcrm"] .nc-property-figures svg { width:18px; height:18px; color:var(--muted); }
body[data-theme="nowcrm"] .nc-property-figures b { font-size:16px; font-weight:650; }
body[data-theme="nowcrm"] .nc-property-figures small { color:var(--muted); }
body[data-theme="nowcrm"] .nc-ticket-kpis { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; margin:0 0 18px!important; }
body[data-theme="nowcrm"] .nc-ticket-kpis > div { width:auto; padding:0; }
body[data-theme="nowcrm"] .nc-ticket-kpis .card-body { text-align:left!important; padding:16px!important; }
body[data-theme="nowcrm"] .nc-ticket-kpis .fs-2 { color:var(--ink)!important; font-size:24px!important; font-weight:650!important; }
body[data-theme="nowcrm"] .nc-news-split { display:grid; grid-template-columns:200px minmax(0,1fr); gap:20px; margin:0; }
body[data-theme="nowcrm"] .nc-news-split > div { width:auto; padding:0; margin:0; min-width:0; }
body[data-theme="nowcrm"] .nc-news-folders .list-group-item { padding:10px 12px!important; border:0; font-size:13px; }
body[data-theme="nowcrm"] .nc-news-folders .list-group-item.active { background:var(--hover); color:var(--ink); font-weight:600; }
body[data-theme="nowcrm"] .nc-video-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin:0; }
body[data-theme="nowcrm"] .nc-video-grid > div { width:auto; padding:0; margin:0; }
body[data-theme="nowcrm"] .nc-list-filters { display:flex; flex-wrap:wrap; align-items:end; gap:10px; margin:0; }
body[data-theme="nowcrm"] .nc-list-filters > div { width:auto; min-width:150px; flex:1; margin:0; padding:0; }
body[data-theme="nowcrm"] .nc-list-filters > div:last-child { flex:0 0 auto; min-width:0; }
body[data-theme="nowcrm"] .nc-matching-advanced { margin-top:14px; }
body[data-theme="nowcrm"] .nc-matching-advanced > summary { font-size:13px; color:var(--muted); cursor:pointer; margin-bottom:12px; }
@media(max-width:1200px) { body[data-theme="nowcrm"] .nc-ticket-kpis { grid-template-columns:repeat(3,minmax(0,1fr)); } body[data-theme="nowcrm"] .nc-video-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) { body[data-theme="nowcrm"] .nc-news-split { grid-template-columns:1fr; } body[data-theme="nowcrm"] .nc-video-grid { grid-template-columns:1fr; } body[data-theme="nowcrm"] .nc-ticket-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); } }
body[data-theme="nowcrm"] .nc-form { padding:24px; background:var(--surface); border:1px solid var(--line); border-radius:14px; max-width:100%; }
body[data-theme="nowcrm"] .nc-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 20px; align-items:start; }
body[data-theme="nowcrm"] .nc-form-grid > * { grid-column:1/-1; }
body[data-theme="nowcrm"] .nc-form-grid > .nc-field { grid-column:auto; margin:0!important; display:block; }
body[data-theme="nowcrm"] .nc-form-grid > .nc-field-wide { grid-column:1/-1; }
body[data-theme="nowcrm"] .nc-form-grid > .row > [class*="offset-"] { width:100%; margin-left:0; }
body[data-theme="nowcrm"] .nc-field > label { display:block; width:100%; max-width:none; text-align:left!important; padding:0 0 6px; font-size:13px; font-weight:550; color:var(--ink-2); }
body[data-theme="nowcrm"] .nc-field > [class*="col-"] { width:100%; max-width:none; margin:0; padding:0; }
body[data-theme="nowcrm"] .nc-form :is(textarea.form-control,select[multiple]) { min-height:100px; }
body[data-theme="nowcrm"] .nc-form-actions { display:flex; justify-content:flex-end; align-items:center; gap:10px; padding:18px 0 0; margin-top:6px; border-top:1px solid var(--line); }
body[data-theme="nowcrm"] .nc-form-actions > [class*="col-"] { width:auto; margin:0; padding:0; }
body[data-theme="nowcrm"] .nc-settings { display:grid; grid-template-columns:218px minmax(0,1fr); gap:28px; align-items:start; }
body[data-theme="nowcrm"] .nc-settings-nav { position:sticky; top:80px; max-height:calc(100dvh - 100px); overflow:auto; padding:0 12px 20px 0; border-right:1px solid var(--line); scrollbar-width:thin; }
body[data-theme="nowcrm"] .nc-settings-label { padding:18px 10px 7px; font-size:11px; font-weight:600; letter-spacing:.6px; text-transform:uppercase; color:var(--muted); }
body[data-theme="nowcrm"] .nc-settings-link { display:flex; align-items:center; gap:8px; color:var(--ink-2); padding:9px 10px; border-radius:8px; font-size:13px; }
body[data-theme="nowcrm"] .nc-settings-link i,body[data-theme="nowcrm"] .nc-settings-link svg { width:16px; color:var(--muted); }
body[data-theme="nowcrm"] .nc-settings-link:hover { background:var(--hover); }
body[data-theme="nowcrm"] .nc-settings-link.active { background:#f0f1f3; color:var(--ink); font-weight:600; }
body[data-theme="nowcrm"] .nc-settings-body { min-width:0; }
body[data-theme="nowcrm"] .nc-settings-body > .container { padding:0; max-width:none; }
body[data-theme="nowcrm"] .nc-settings-body .nowcrm-section-toggle > div { padding:18px; }
body[data-theme="nowcrm"] .nc-settings-body .nowcrm-section-toggle { margin-bottom:14px; }
body[data-theme="nowcrm"] .nc-agent-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
body[data-theme="nowcrm"] .nc-agent-card { padding:20px; min-width:0; display:flex; flex-direction:column; }
body[data-theme="nowcrm"] .nc-agent-head { display:flex; align-items:center; gap:14px; margin-bottom:16px; }
body[data-theme="nowcrm"] .nc-agent-head img { width:64px; height:64px; border-radius:50%; object-fit:cover; border:0; }
body[data-theme="nowcrm"] .nc-agent-head .nc-avatar { width:64px; height:64px; font-size:21px; }
body[data-theme="nowcrm"] .nc-agent-head h2 { font-size:15px; margin:0 0 5px; font-weight:600; }
body[data-theme="nowcrm"] .nc-agent-meta { font-size:12.5px; color:var(--muted); }
body[data-theme="nowcrm"] .nc-agent-line { display:flex; align-items:center; gap:10px; padding:7px 0; font-size:13px; overflow-wrap:anywhere; }
body[data-theme="nowcrm"] .nc-agent-line svg { color:var(--muted); width:16px; height:16px; flex:none; }
body[data-theme="nowcrm"] .nc-agent-extra { margin:12px 0; }
body[data-theme="nowcrm"] .nc-agent-extra > summary { cursor:pointer; font-size:12.5px; color:var(--muted); }
body[data-theme="nowcrm"] .nc-agent-footer { display:flex; flex-wrap:wrap; gap:8px; padding-top:14px; margin-top:auto; border-top:1px solid var(--line); }
body[data-theme="nowcrm"] .nc-agent-footer .btn-group { flex-wrap:wrap; gap:5px; }
body[data-theme="nowcrm"] .nc-property-detail { display:grid; grid-template-columns:minmax(0,2fr) minmax(280px,1fr); gap:20px; align-items:start; }
body[data-theme="nowcrm"] .nc-property-detail.nc-property-single { grid-template-columns:1fr; }
body[data-theme="nowcrm"] :is(.nc-property-main,.nc-property-side) { display:flex; flex-direction:column; gap:18px; min-width:0; }
body[data-theme="nowcrm"] .nc-property-detail .card { margin:0!important; }
body[data-theme="nowcrm"] .nc-property-detail .table th { color:var(--muted); font-weight:500; }
body[data-theme="nowcrm"] .nc-agent-extra .notification-toggle-btn { font-size:12.5px!important; }
body[data-theme="nowcrm"] .nc-agent-extra .status-badge { font-size:11px!important; }
body[data-theme="nowcrm"] .nc-panel-detail { width:min(780px,100vw); height:100dvh; max-height:none; margin:0 0 0 auto; border-radius:14px 0 0 14px; }
body[data-theme="nowcrm"] .nowcrm-panel main.content-fluid { padding:22px!important; }
body[data-theme="nowcrm"].nowcrm-panel .nc-page-heading { margin-bottom:18px; }
body[data-theme="nowcrm"].nowcrm-panel .nc-page-heading :is(h1,h2,h3,h4,h5) { font-size:20px; }
body[data-theme="nowcrm"].nowcrm-panel .nc-form { padding:0; border:0; }
body[data-theme="nowcrm"] .calendar-option > summary { border-color:var(--line-2); border-radius:10px; font-size:13px; padding:8px 12px; }
body[data-theme="nowcrm"] .calendar-option[open] > summary { background:var(--hover); color:var(--ink); }
body[data-theme="nowcrm"] .calendar-option-panel { border-color:var(--line); border-radius:14px; box-shadow:var(--sh-3); }
body[data-theme="nowcrm"] .fc .fc-button { font-family:var(--font); font-size:13.5px; padding:7px 12px; }
body[data-theme="nowcrm"] .fc .fc-event { font-family:var(--font); }
body[data-theme="nowcrm"] :is(.nowcrm-tabs,.nav-tabs) { gap:24px; }
body[data-theme="nowcrm"] .nowcrm-tabs { padding:0; }
body[data-theme="nowcrm"] .nowcrm-tabs :is(a,button) { border-radius:0; background:none; padding:12px 0; font-size:13.5px; border-bottom:2px solid transparent; }
body[data-theme="nowcrm"] .nowcrm-tabs .active { color:var(--ink); background:none; border-bottom-color:var(--ink); }
body[data-theme="nowcrm"] .nc-action-options .btn { text-align:left; justify-content:flex-start; }
body[data-theme="nowcrm"] .nc-sequence { margin-bottom:16px; overflow:hidden; }
body[data-theme="nowcrm"] .nc-sequence > .card-header { display:flex; align-items:center; gap:10px; }
body[data-theme="nowcrm"] .nc-sequence > .card-header svg { width:18px; height:18px; color:var(--muted); }
body[data-theme="nowcrm"] .nc-sequence > .card-header h2 { font-size:14.5px; font-weight:600; margin:0; }
body[data-theme="nowcrm"] .nc-sequence-body { display:flex; align-items:center; padding:20px; overflow-x:auto; }
body[data-theme="nowcrm"] .nc-sequence-connection { width:100px; flex:none; display:flex; flex-direction:column; align-items:center; gap:6px; color:var(--muted); font-size:11.5px; }
body[data-theme="nowcrm"] .nc-sequence-connection svg { width:15px; height:15px; }
body[data-theme="nowcrm"] .nc-sequence-step { width:260px; flex:none; border:1px solid var(--line-2); border-radius:12px; padding:16px; background:var(--surface); }
body[data-theme="nowcrm"] .nc-step-header { display:flex; gap:8px; align-items:center; justify-content:space-between; margin-bottom:12px; }
body[data-theme="nowcrm"] .nc-sequence-step h3 { font-size:13.5px; font-weight:600; margin:0 0 8px; }
body[data-theme="nowcrm"] .nc-step-message { font-size:13px; line-height:1.5; color:var(--ink-2); overflow-wrap:anywhere; }
body[data-theme="nowcrm"] .nc-step-actions { display:flex; gap:8px; margin-top:14px; padding-top:12px; border-top:1px solid var(--line); }
body[data-theme="nowcrm"] .nc-step-actions form { margin:0; }
body[data-theme="nowcrm"] main.content-fluid:has(#calendar) { max-width:none; }
@media(max-width:1250px) {
  body[data-theme="nowcrm"] .nc-agent-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body[data-theme="nowcrm"] .nc-settings { grid-template-columns:190px minmax(0,1fr); gap:18px; }
}
@media(max-width:760px) {
  body[data-theme="nowcrm"] .nc-property-detail { grid-template-columns:1fr; }
  body[data-theme="nowcrm"] .nc-settings { display:block; }
  body[data-theme="nowcrm"] .nc-settings-nav { position:static; display:flex; flex-direction:row; gap:4px; max-height:none; overflow-x:auto; border:0; border-radius:0; margin-bottom:20px; padding:0 0 6px; scrollbar-width:none; }
  body[data-theme="nowcrm"] .nc-settings-nav::-webkit-scrollbar { display:none; }
  body[data-theme="nowcrm"] .nc-settings-nav .nc-settings-label { display:none; }
  body[data-theme="nowcrm"] .nc-settings-link { flex:none; white-space:nowrap; }
  body[data-theme="nowcrm"] .nc-form-grid { grid-template-columns:1fr; }
  body[data-theme="nowcrm"] .nc-form { padding:18px; }
  body[data-theme="nowcrm"] .nc-page-heading .nc-heading-actions { margin-left:0; }
  body[data-theme="nowcrm"] .nc-agent-grid { grid-template-columns:1fr; }
  body[data-theme="nowcrm"] .nc-record-tabs { gap:20px; }
  body[data-theme="nowcrm"] .nc-panel-detail { width:100vw; border-radius:0; }
}

body[data-theme="nowcrm"] [hidden] { display:none!important; }
body[data-theme="nowcrm"] .nc-card-list { display:block; border:0; background:transparent; margin:0; }
body[data-theme="nowcrm"] .nc-card-list tbody { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
body[data-theme="nowcrm"] .nc-card-list tr { display:flex; flex-direction:column; padding:20px; border:1px solid var(--line); border-radius:14px; background:var(--surface); box-shadow:var(--sh-1); min-width:0; }
body[data-theme="nowcrm"] .nc-card-list td { display:block; border:0!important; padding:5px 0!important; background:transparent!important; white-space:normal; }
body[data-theme="nowcrm"] .nc-card-list td:first-child { font-size:15px; font-weight:600; padding-bottom:12px!important; }
body[data-theme="nowcrm"] .nc-card-list td:last-child { display:flex; gap:6px; flex-wrap:wrap; margin-top:auto; padding-top:14px!important; }
body[data-theme="nowcrm"] .nc-card-list td:last-child .btn { white-space:normal; }
body[data-theme="nowcrm"] .nc-card-list-templates td:first-child::before { content:'DOCX'; display:inline-grid; place-items:center; width:42px; height:50px; margin-right:12px; color:var(--blue); background:var(--blue-50); border-radius:8px; font-size:11px; float:left; }
body[data-theme="nowcrm"] .nc-card-list-templates td:nth-child(2)::before { content:'Modello per '; color:var(--muted); }
body[data-theme="nowcrm"] .nc-card-list-templates td:nth-child(5)::before { content:'Creato '; color:var(--muted); }
body[data-theme="nowcrm"] .nc-card-list-zones td:nth-child(2)::before { content:'Edifici: '; color:var(--muted); }
body[data-theme="nowcrm"] .nc-card-list-zones td:nth-child(3)::before { content:'Assegnata a: '; color:var(--muted); }
body[data-theme="nowcrm"] .card:has(> .card-body > .nc-card-list) { border:0; box-shadow:none; background:transparent; }
body[data-theme="nowcrm"] .card > .card-body:has(> .nc-card-list) { padding:0; }
@media(max-width:1200px) { body[data-theme="nowcrm"] .nc-card-list tbody { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) { body[data-theme="nowcrm"] .nc-card-list tbody { grid-template-columns:1fr; } }
body[data-theme="nowcrm"] .nowcrm-wordmark { display:inline-flex; align-items:center; }
body[data-theme="nowcrm"] .nowcrm-wordmark::before { content:'N'; display:inline-grid; place-items:center; width:24px; height:24px; margin-right:8px; font-size:17px; font-weight:700; color:white; background:var(--ink); border-radius:7px; letter-spacing:-1px; }
body[data-theme="nowcrm"] .nc-multi-picker { border:1px solid var(--line-2); border-radius:10px; padding:12px; background:var(--surface); }
body[data-theme="nowcrm"] .nc-multi-summary { font-size:12.5px; color:var(--muted); margin-bottom:8px; }
body[data-theme="nowcrm"] .nc-multi-options { max-height:220px; overflow-y:auto; margin-top:8px; }
body[data-theme="nowcrm"] .nc-multi-option { display:flex; gap:10px; align-items:center; padding:8px; border-radius:6px; font-size:13.5px; cursor:pointer; }
body[data-theme="nowcrm"] .nc-multi-option:hover { background:var(--hover); }
body[data-theme="nowcrm"] .nc-multi-option input { accent-color:var(--ink); width:16px; height:16px; flex:none; }
body[data-theme="nowcrm"] .nc-multi-picker .nc-empty { margin:0; padding:12px; }
body[data-theme="nowcrm"] .nc-list-toolbar { display:flex; flex-wrap:wrap; gap:10px; align-items:center; padding:16px; }
body[data-theme="nowcrm"] .nc-list-toolbar > div { flex:1 1 130px; min-width:0; }
body[data-theme="nowcrm"] .nc-list-toolbar > div:first-child { flex:2 1 230px; }
body[data-theme="nowcrm"] .nc-range-tabs { display:flex; gap:6px; padding:16px 16px 0; }
body[data-theme="nowcrm"] .nc-range-tabs button { border:1px solid var(--line); background:var(--surface); border-radius:8px; font-size:12.5px; padding:6px 12px; color:var(--muted); }
body[data-theme="nowcrm"] .nc-range-tabs button[aria-pressed="true"] { background:var(--ink); color:white; border-color:var(--ink); }
body[data-theme="nowcrm"] .nc-appointment-filters { border-radius:14px 14px 0 0; border-bottom:0; box-shadow:none; }
body[data-theme="nowcrm"] .nc-appointment-results { border-radius:0 0 14px 14px; border-top:0; }
body[data-theme="nowcrm"] .nc-appointment-results > .card-body { padding:0; }
body[data-theme="nowcrm"] .nc-appointment-when { white-space:nowrap; }
body[data-theme="nowcrm"] .nc-appointment-results td:last-child { min-width:230px; }
body[data-theme="nowcrm"][data-nowcrm-route="leads.show"] main.content-fluid { max-width:980px; background:var(--surface); }
body[data-theme="nowcrm"] .nc-lead-information .table :is(td,th) { background:transparent!important; }
body[data-theme="nowcrm"] .nc-lead-budget tbody { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
body[data-theme="nowcrm"] .nc-lead-budget tr { display:flex; flex-direction:column; padding:12px; border:1px solid var(--line); border-radius:10px; }
body[data-theme="nowcrm"] .nc-lead-budget .table :is(th,td) { width:auto; border:0; background:transparent; padding:0; }
body[data-theme="nowcrm"] .nc-lead-budget .table td { font-size:16px; font-weight:600; padding-top:5px; }
body[data-theme="nowcrm"] .nc-property-gallery { overflow:hidden; }
body[data-theme="nowcrm"] .nc-property-gallery > .card-header { display:none; }
body[data-theme="nowcrm"] .nc-property-gallery > .card-body { padding:0; }
body[data-theme="nowcrm"] .nc-property-gallery :is(.carousel-item > img,.card-body > .text-center) { aspect-ratio:2/1; height:auto!important; width:100%; object-fit:cover; }
body[data-theme="nowcrm"] .nc-property-gallery .card-body > .text-center { display:flex; align-items:center; justify-content:center; flex-direction:column; }
body[data-theme="nowcrm"] #userNotesTextarea { font-family:var(--font)!important; font-size:13.5px!important; }
body[data-theme="nowcrm"] .nc-content-dialog { width:min(820px,calc(100vw - 32px)); max-height:calc(100dvh - 48px); padding:0; border:1px solid var(--line); border-radius:16px; box-shadow:var(--sh-3); color:var(--ink); background:var(--surface); }
body[data-theme="nowcrm"] .nc-content-dialog::backdrop { background:rgb(14 17 22 / 35%); backdrop-filter:blur(3px); }
body[data-theme="nowcrm"] .nc-content-dialog > :is(header,footer) { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 22px; }
body[data-theme="nowcrm"] .nc-content-dialog > header { border-bottom:1px solid var(--line); }
body[data-theme="nowcrm"] .nc-content-dialog h2 { margin:0; font-size:18px; font-weight:650; }
body[data-theme="nowcrm"] .nc-content-dialog footer { justify-content:flex-end; border-top:1px solid var(--line); }
body[data-theme="nowcrm"] .nc-dialog-body { padding:24px; }
body[data-theme="nowcrm"] .nc-goal-filters { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:18px; }
body[data-theme="nowcrm"] .nc-goal-filters select { width:auto; }
body[data-theme="nowcrm"] .nc-segments button { border:0; border-radius:6px; background:transparent; padding:7px 10px; color:var(--muted); font-size:13px; }
body[data-theme="nowcrm"] .nc-segments button[aria-pressed="true"] { background:var(--surface); color:var(--ink); box-shadow:var(--sh-1); }
body[data-theme="nowcrm"] .nc-goal-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
body[data-theme="nowcrm"] .nc-goal-card { display:grid; grid-template-columns:64px 1fr; gap:16px; padding:18px; }
body[data-theme="nowcrm"] .nc-goal-target-icon { display:grid; place-items:center; width:64px; height:64px; border-radius:50%; background:var(--surface-2); color:var(--muted); }
body[data-theme="nowcrm"] .nc-goal-target-icon svg { width:28px; height:28px; }
body[data-theme="nowcrm"] .nc-goal-copy { display:flex; flex-direction:column; }
body[data-theme="nowcrm"] .nc-goal-copy strong { font-size:28px; font-weight:650; }
body[data-theme="nowcrm"] .nc-goal-copy :is(span,small) { color:var(--muted); }
body[data-theme="nowcrm"] .nc-goal-card footer { grid-column:1/-1; display:flex; align-items:center; gap:8px; justify-content:space-between; border-top:1px solid var(--line); padding-top:14px; font-size:12px; color:var(--muted); }
body[data-theme="nowcrm"] .nc-goal-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
body[data-theme="nowcrm"] .nc-goal-form > div { width:auto; }
body[data-theme="nowcrm"] .nc-goal-form > div:last-child { grid-column:1/-1; justify-self:end; }
body[data-theme="nowcrm"] .nc-video-search { max-width:380px; margin-bottom:18px; }
body[data-theme="nowcrm"] .nc-tutorial-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
body[data-theme="nowcrm"] .nc-tutorial { overflow:hidden; }
body[data-theme="nowcrm"] .nc-video-thumb { position:relative; border:0; display:flex; align-items:center; min-height:190px; padding:42px 64px 42px 22px; width:100%; text-align:left; color:white; background:linear-gradient(135deg,#0e1116,#2a2f37); }
body[data-theme="nowcrm"] .nc-tutorial:nth-child(2n) .nc-video-thumb { background:linear-gradient(135deg,#334155,#64748b); }
body[data-theme="nowcrm"] .nc-video-thumb strong { font-size:18px; font-weight:600; }
body[data-theme="nowcrm"] .nc-video-number { position:absolute; top:12px; left:14px; font-size:11px; opacity:.7; }
body[data-theme="nowcrm"] .nc-video-duration { position:absolute; right:12px; bottom:12px; background:#0005; border-radius:5px; padding:2px 6px; font-size:11px; }
body[data-theme="nowcrm"] .nc-video-play { position:absolute; right:20px; width:40px; height:40px; border-radius:50%; display:grid; place-items:center; background:white; color:var(--ink); }
body[data-theme="nowcrm"] .nc-video-play svg { width:18px; height:18px; fill:currentColor; }
body[data-theme="nowcrm"] .nc-tutorial h2 { font-size:14px; font-weight:600; margin:0 0 10px; }
body[data-theme="nowcrm"] .nc-video-links { display:flex; flex-wrap:wrap; gap:12px; font-size:12px; color:var(--muted); }
body[data-theme="nowcrm"] .nc-video-links summary { cursor:pointer; }
body[data-theme="nowcrm"] .nc-video-links p { margin:10px 0 0; white-space:pre-line; }
body[data-theme="nowcrm"] .nc-video-links svg { width:14px; height:14px; }
body[data-theme="nowcrm"] .nc-help-callout { margin-top:22px; padding:20px; display:flex; flex-direction:row; align-items:center; gap:16px; }
body[data-theme="nowcrm"] .nc-help-callout > div { flex:1; }
body[data-theme="nowcrm"] .nc-help-callout h2 { font-size:14px; margin:0 0 4px; }
body[data-theme="nowcrm"] .nc-help-callout p { margin:0; color:var(--muted); }
@media(max-width:1200px) { body[data-theme="nowcrm"] :is(.nc-goal-grid,.nc-tutorial-grid) { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) { body[data-theme="nowcrm"] :is(.nc-goal-grid,.nc-tutorial-grid,.nc-goal-form) { grid-template-columns:1fr; } body[data-theme="nowcrm"] .nc-goal-filters .nc-segments { flex-wrap:wrap; } body[data-theme="nowcrm"] .nc-help-callout { flex-wrap:wrap; } }
body[data-theme="nowcrm"] main.nc-calendar-page { max-width:none; }
body[data-theme="nowcrm"] .nc-calendar-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:16px; border:1px solid var(--line); border-radius:12px; padding:12px 16px; background:var(--surface); }
body[data-theme="nowcrm"] .nc-calendar-toolbar > div { margin:0!important; }
body[data-theme="nowcrm"] .nc-calendar-toolbar .form-check { display:flex; align-items:center; gap:8px; padding:0; }
body[data-theme="nowcrm"] .nc-calendar-toolbar .form-check-input { margin:0; }
body[data-theme="nowcrm"] .nc-calendar-toolbar .calendar-agent-filter[data-agent-filter=""] { border:1px solid var(--line-2); color:var(--ink); }
body[data-theme="nowcrm"] .nc-calendar-toolbar .calendar-agent-filter[aria-pressed="true"] { box-shadow:0 0 0 2px var(--ink); }
body[data-theme="nowcrm"] #calendar .fc-toolbar-title { font-size:18px; font-weight:600; }
body[data-theme="nowcrm"] #calendar .fc-button-primary { border-color:var(--line-2); color:var(--ink); background:var(--surface); }
body[data-theme="nowcrm"] #calendar .fc-button-primary:is(:hover,:focus,.fc-button-active) { color:var(--ink); background:var(--hover); box-shadow:none; }
body[data-theme="nowcrm"] #calendar .fc-col-header-cell-cushion { font-size:12px; font-weight:550; color:var(--muted); text-transform:uppercase; }
body[data-theme="nowcrm"] #calendar :is(.fc-daygrid-day-number,.fc-timegrid-axis-cushion,.fc-timegrid-slot-label-cushion) { color:var(--muted); font-size:12px; }
body[data-theme="nowcrm"] #calendar .fc-scrollgrid { border-color:var(--line); border-radius:12px; background:var(--surface); }
body[data-theme="nowcrm"] #calendar .fc-day-today { background:#f5f7fb; }
body[data-theme="nowcrm"] #calendar .fc-daygrid-day.fc-day-today .fc-daygrid-day-number { background:var(--ink); color:#fff; border-radius:50%; width:26px; height:26px; text-align:center; margin:4px; }
body[data-theme="nowcrm"] .nc-form input[type="file"] { min-height:100px; border:1px dashed var(--line-2); background:var(--surface-2); padding:22px; }
body[data-theme="nowcrm"] .nc-form input[type="file"]::file-selector-button { border:1px solid var(--line-2); border-radius:8px; margin:0 12px 0 0; padding:8px 12px; background:var(--surface); color:var(--ink); font:inherit; }
body[data-theme="nowcrm"] .nc-consultant-identity { display:flex; align-items:center; gap:10px; }
body[data-theme="nowcrm"] .nc-consultant-identity small { display:block; color:var(--muted); margin-top:2px; }
body[data-theme="nowcrm"] .nc-building-detail { display:grid; grid-template-columns:minmax(0,2fr) minmax(280px,1fr); gap:18px; }
body[data-theme="nowcrm"] :is(.nc-building-main,.nc-building-side) { display:flex; flex-direction:column; gap:18px; min-width:0; }
body[data-theme="nowcrm"] .nc-building-detail .card { margin:0!important; }
body[data-theme="nowcrm"] .nc-unit-cards { display:block; }
body[data-theme="nowcrm"] .nc-unit-cards thead { display:block; margin:0 0 10px; }
body[data-theme="nowcrm"] .nc-unit-cards thead tr { display:flex; align-items:center; gap:8px; }
body[data-theme="nowcrm"] .nc-unit-cards thead th:not(:first-child) { display:none; }
body[data-theme="nowcrm"] .nc-unit-cards thead tr::after { content:'Seleziona tutti gli interni'; font-size:12px; color:var(--muted); }
body[data-theme="nowcrm"] .nc-unit-cards tbody { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px; }
body[data-theme="nowcrm"] .nc-unit-cards tbody tr { position:relative; display:flex; flex-direction:column; border:1px solid var(--line); border-radius:10px; padding:12px; background:var(--surface); min-width:0; }
body[data-theme="nowcrm"] .nc-unit-cards tbody td { display:block; border:0; padding:2px 0; font-size:12.5px; overflow-wrap:anywhere; }
body[data-theme="nowcrm"] .nc-unit-cards tbody td:first-child:not([colspan]) { position:absolute; right:12px; top:12px; }
body[data-theme="nowcrm"] .nc-unit-cards tbody td:nth-child(2)::before { content:'Int. '; font-weight:600; }
body[data-theme="nowcrm"] .nc-unit-cards tbody td:last-child:not([colspan]) { display:flex; flex-wrap:wrap; gap:5px; margin-top:10px; padding-top:10px; border-top:1px solid var(--line); }
body[data-theme="nowcrm"] .nc-unit-cards .table-warning { border-color:#f2d693; background:#fffbeb; }
body[data-theme="nowcrm"] .nc-dash-panel .nc-segments { display:inline-flex; flex-shrink:0; padding:3px; border:1px solid var(--line); background:var(--surface-2); border-radius:8px; }
@media(max-width:1100px) { body[data-theme="nowcrm"] .nc-building-detail { grid-template-columns:1fr; } }
@media(max-width:540px) { body[data-theme="nowcrm"] .nc-dash-panel .nc-panel-heading { flex-wrap:wrap; } }
body[data-theme="nowcrm"] .nc-floor-column { width:100%; flex:1 1 100%; }
body[data-theme="nowcrm"] .nc-building-form { display:flex!important; flex-direction:column; align-items:stretch!important; gap:16px!important; margin:0!important; }
body[data-theme="nowcrm"] .nc-building-form > div { width:100%; }
body[data-theme="nowcrm"] .nc-building-form > button { align-self:flex-end; }
body[data-theme="nowcrm"][data-nowcrm-route="admin.news-leads.show"] main.content-fluid { max-width:980px; background:var(--surface); }
body[data-theme="nowcrm"] .nc-news-detail { flex-direction:column; gap:18px; }
body[data-theme="nowcrm"] .nc-news-detail > [class*="col-"] { width:100%; padding:0; margin:0; }
body[data-theme="nowcrm"] .nc-news-detail > [class*="col-"] > .card { border:0!important; box-shadow:none!important; background:transparent!important; }
body[data-theme="nowcrm"] .nc-news-detail > [class*="col-"] > .card > .card-body { padding:0; }
body[data-theme="nowcrm"] .nc-news-record-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:10px; border-top:1px solid var(--line); padding:18px 0 0; margin-top:20px; }
body[data-theme="nowcrm"] .nc-news-record-actions form { margin:0!important; }
body[data-theme="nowcrm"] .nc-news-matching { border-top:1px solid var(--line); padding-top:14px; }
body[data-theme="nowcrm"] .nc-news-matching summary { cursor:pointer; font-weight:550; padding:8px 0 16px; }
body[data-theme="nowcrm"] .nc-news-detail :is(.status-selector-container,.agency-selector-container) { border:0!important; background:transparent!important; padding:0!important; }
body[data-theme="nowcrm"] .nc-news-detail .active-status-nuova { color:var(--ink)!important; background:var(--surface-2)!important; border-color:var(--ink)!important; }
body[data-theme="nowcrm"] .nc-building-form-actions { display:flex; justify-content:flex-end; border-top:1px solid var(--line); padding-top:18px; }
body[data-theme="nowcrm"] .nc-building-form-actions button { width:auto!important; }
body[data-theme="nowcrm"] .nc-table-scroll { max-width:100%; min-width:0; }
body[data-theme="nowcrm"] .nc-table-scroll > .table { margin-bottom:0; }
body[data-theme="nowcrm"] .nc-feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin:0; }
body[data-theme="nowcrm"] .nc-feature-grid > div { padding:0; margin:0!important; width:auto; min-width:0; }
body[data-theme="nowcrm"] .nc-feature-card { overflow:hidden; height:100%; }
body[data-theme="nowcrm"] .nc-feature-art { position:relative; min-height:150px; padding:20px; background:linear-gradient(135deg,#0e1116,#2a2f37); overflow:hidden; }
body[data-theme="nowcrm"] .nc-feature-card[data-feature-type="marketing"] .nc-feature-art { background:linear-gradient(135deg,#334155,#64748b); }
body[data-theme="nowcrm"] .nc-feature-art > svg { position:absolute; right:15px; top:10px; width:125px; height:125px; color:#fff; opacity:.14; }
body[data-theme="nowcrm"] .nc-feature-art .badge { color:white!important; background:#ffffff26!important; }
body[data-theme="nowcrm"] .nc-feature-card h5 { font-size:16px; font-weight:650; margin:8px 0!important; }
body[data-theme="nowcrm"] .nc-feature-actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin-top:18px; }
body[data-theme="nowcrm"] .nc-feature-actions .activate-feature-btn { font:inherit; background:var(--ink)!important; color:white!important; padding:6px 12px; border-radius:8px; box-shadow:none; transform:none; }
@media(max-width:1150px) { body[data-theme="nowcrm"] .nc-feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:650px) { body[data-theme="nowcrm"] .nc-feature-grid { grid-template-columns:1fr; } }
body[data-theme="nowcrm"] .nc-agent-sharing { margin-top:20px; border:1px solid var(--line); border-radius:12px; }
body[data-theme="nowcrm"] .nc-agent-sharing h5 { font-size:14.5px; font-weight:600; }
body[data-theme="nowcrm"] .nc-agent-profile { flex-direction:column; gap:20px; }
body[data-theme="nowcrm"] .nc-agent-profile > [class*="col-"] { width:100%; }
body[data-theme="nowcrm"] .nc-agent-profile-identity { display:flex; align-items:flex-start; gap:18px; text-align:left!important; }
body[data-theme="nowcrm"] .nc-agent-profile-identity > img { width:64px; height:64px; object-fit:cover; flex:none; border:0; padding:0; }
body[data-theme="nowcrm"] .nc-agent-profile-identity > .mt-3 { margin-top:0!important; flex:1; }
body[data-theme="nowcrm"] .nc-agent-profile-identity .d-grid { display:flex!important; flex-wrap:wrap; }
body[data-theme="nowcrm"][data-nowcrm-route="agents.show"] main.content-fluid { max-width:980px; }
body[data-theme="nowcrm"] main.nc-availability-page { max-width:980px; }
body[data-theme="nowcrm"] .nc-availability-create form > .row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:0; }
body[data-theme="nowcrm"] .nc-availability-create form > .row > div { width:auto; padding:0; }
body[data-theme="nowcrm"] .nc-availability-page .lead { font-size:13px; color:var(--muted); margin:6px 0 0; }
body[data-theme="nowcrm"] .nc-days { gap:6px; margin-top:8px; }
body[data-theme="nowcrm"] .nc-days .form-check { position:relative; padding:0; margin:0; }
body[data-theme="nowcrm"] .nc-days input { position:absolute; width:1px; height:1px; opacity:0; }
body[data-theme="nowcrm"] .nc-days label { display:flex; align-items:center; justify-content:center; height:36px; min-width:42px; padding:0 10px; border:1px solid var(--line); border-radius:8px; cursor:pointer; font-size:13px; }
body[data-theme="nowcrm"] .nc-days input:checked + label { color:white; background:var(--ink); border-color:var(--ink); }
body[data-theme="nowcrm"] .nc-days input:focus-visible + label { outline:2px solid var(--ink); outline-offset:3px; }
body[data-theme="nowcrm"] .nc-availability-rules, body[data-theme="nowcrm"] .nc-availability-rules tbody { display:block; width:100%; }
body[data-theme="nowcrm"] .nc-availability-rules tr { display:grid; grid-template-columns:minmax(0,1fr) auto; padding:14px 0; border-bottom:1px solid var(--line); }
body[data-theme="nowcrm"] .nc-availability-rules tr:last-child { border-bottom:0; }
body[data-theme="nowcrm"] .nc-availability-rules td { padding:0; border:0; box-shadow:none!important; background:transparent!important; }
body[data-theme="nowcrm"] .nc-availability-rules td:nth-child(1) { grid-column:1; font-weight:550; }
body[data-theme="nowcrm"] .nc-availability-rules td:nth-child(1) .badge { background:transparent!important; color:var(--ink)!important; padding:0; font-size:13px; }
body[data-theme="nowcrm"] .nc-availability-rules td:nth-child(2) { grid-column:1; font-weight:550; margin:4px 0; }
body[data-theme="nowcrm"] .nc-availability-rules td:nth-child(3) { grid-column:1; color:var(--muted); font-size:12px; }
body[data-theme="nowcrm"] .nc-availability-rules td:nth-child(4) { grid-column:2; grid-row:1 / 4; align-self:center; padding-left:12px; }
body[data-theme="nowcrm"] .nc-billing-plan { border:1px solid var(--line)!important; background:var(--surface-2)!important; }
body[data-theme="nowcrm"] .nc-billing-plan > .card-body > .row > .col-lg-8 { width:100%; }
body[data-theme="nowcrm"] .nc-billing-plan > .card-body > .row > .col-lg-4 { display:none; }
body[data-theme="nowcrm"] .nc-billing-plan h4 { font-size:20px; font-weight:650; letter-spacing:-.4px; }
body[data-theme="nowcrm"] .nc-credit-conditions { font-size:13px; margin-top:14px; }
body[data-theme="nowcrm"] .nc-credit-conditions summary { cursor:pointer; color:var(--muted); }
body[data-theme="nowcrm"] .nc-fiscal-card { padding:20px; margin:20px 0; }
body[data-theme="nowcrm"] .nc-fiscal-card > h6 { font-size:14.5px; font-weight:600; color:var(--ink)!important; }
body[data-theme="nowcrm"] .nc-billing-credits { margin:20px 0; }
body[data-theme="nowcrm"] .nc-billing-credits > .card-header { display:flex; justify-content:space-between; align-items:center; gap:12px; }
body[data-theme="nowcrm"] .nc-billing-credits .card { background:transparent!important; color:var(--ink)!important; border:0!important; box-shadow:none!important; }
body[data-theme="nowcrm"] .nc-billing-credits .card .card-body { padding:0; }
body[data-theme="nowcrm"] .nc-billing-credits .card h5 { font-size:12px; color:var(--muted); font-weight:500; }
body[data-theme="nowcrm"] .nc-billing-credits .text-white-50 { color:var(--muted)!important; }
body[data-theme="nowcrm"] .nc-billing-credits .badge { display:none; }
body[data-theme="nowcrm"] .nc-billing-credits #total-credits { font-size:30px!important; font-weight:650!important; }
body[data-theme="nowcrm"] .nc-billing-credits #monthly-credits, body[data-theme="nowcrm"] .nc-billing-credits #purchased-credits { font-size:20px!important; font-weight:600!important; }
body[data-theme="nowcrm"] .nc-credit-parts { display:grid; grid-template-columns:1fr 1fr; gap:20px; padding-top:18px; margin-top:18px; border-top:1px solid var(--line); }
body[data-theme="nowcrm"] .nc-availability-list { margin-bottom:16px; }
body[data-theme="nowcrm"] .nc-agent-avatar { width:64px; height:64px; border-radius:50%; display:grid; place-items:center; background:var(--steel-50); color:var(--steel); font-size:22px; font-weight:600; flex:none; }
body[data-theme="nowcrm"] .nc-agent-information .table, body[data-theme="nowcrm"] .nc-agent-information .table-responsive { border:0!important; box-shadow:none!important; }
body[data-theme="nowcrm"] .nc-agent-information .table :is(th,td) { border:0; background:transparent!important; box-shadow:none!important; padding:7px 0; }
body[data-theme="nowcrm"] .nc-agent-information .table th { color:var(--muted); font-weight:500; width:34%; }
body[data-theme="nowcrm"] .nc-page-heading :is(h1,h2,h3,h4,h5) > i { display:none; }
body[data-theme="nowcrm"] .nc-taxonomy-search { position:relative; max-width:360px; margin:0 0 16px; }
body[data-theme="nowcrm"] .nc-taxonomy-search svg { position:absolute; left:12px; top:11px; width:16px; height:16px; color:var(--muted); }
body[data-theme="nowcrm"] .nc-taxonomy-search input { padding-left:36px; }
body[data-theme="nowcrm"] .nc-type-chips, body[data-theme="nowcrm"] .nc-type-chips tbody { display:block; border:0; }
body[data-theme="nowcrm"] .nc-type-chips thead { display:none; }
body[data-theme="nowcrm"] .nc-type-chips tbody { display:flex; flex-wrap:wrap; gap:12px; }
body[data-theme="nowcrm"] .nc-type-chips tr { display:flex; flex-wrap:wrap; align-items:center; gap:10px; padding:10px 12px; border:1px solid var(--line); border-radius:10px; }
body[data-theme="nowcrm"] .nc-type-chips td { border:0; padding:0; background:transparent!important; box-shadow:none!important; }
body[data-theme="nowcrm"] .nc-type-chips td:nth-child(2) { display:none; }
body[data-theme="nowcrm"] .nc-type-chips td .badge { font-size:11px; }
body[data-theme="nowcrm"] .nc-flow-identity { display:flex; gap:10px; align-items:flex-start; min-width:180px; }
body[data-theme="nowcrm"] .nc-flow-identity > svg { width:30px; height:30px; padding:6px; border-radius:9px; background:var(--slate-50); flex:none; }
body[data-theme="nowcrm"] .nc-flow-identity strong { font-weight:600; }
body[data-theme="nowcrm"] .nc-flow-identity small { display:block; max-width:350px; margin-top:4px; color:var(--muted); font-size:12px; }
body[data-theme="nowcrm"] .nc-flow-default { display:flex; align-items:center; gap:8px; margin:4px 0; }
body[data-theme="nowcrm"] .nc-flow-default > small { min-width:90px; color:var(--muted); }
body[data-theme="nowcrm"] .nc-flow-table .btn-group { gap:6px; flex-wrap:wrap; }
body[data-theme="nowcrm"] #nc-flow-search .card { border:0!important; box-shadow:none!important; }
body[data-theme="nowcrm"] #nc-flow-search .card-header { display:none; }
body[data-theme="nowcrm"] #nc-flow-search .card-body { padding:0; }
body[data-theme="nowcrm"] .table-responsive { background:var(--surface); }
body[data-theme="nowcrm"] .table-striped { --bs-table-striped-bg:transparent; }
body[data-theme="nowcrm"] .nc-agent-stats > .card-header { display:none; }
body[data-theme="nowcrm"] .nc-agent-stats .row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:0; }
body[data-theme="nowcrm"] .nc-agent-stats .row > div { width:auto; padding:12px; margin:0!important; border:1px solid var(--line); border-radius:10px; text-align:left!important; display:flex; flex-direction:column-reverse; gap:5px; color:var(--muted); font-size:12px; }
body[data-theme="nowcrm"] .nc-agent-stats .h1 { font-size:20px; font-weight:650; color:var(--ink); margin:0; }
body[data-theme="nowcrm"] .nc-agent-notifications { margin:18px 0; border-top:1px solid var(--line); padding-top:14px; }
body[data-theme="nowcrm"] .nc-agent-notifications summary { cursor:pointer; font-weight:550; }
@media(min-width:761px) and (max-width:980px) {
  body[data-theme="nowcrm"] .nc-settings { display:block; }
  body[data-theme="nowcrm"] .nc-settings-nav { position:static; display:flex; flex-direction:row; gap:4px; max-height:none; overflow-x:auto; border:0; margin-bottom:20px; padding:0 0 6px; scrollbar-width:none; }
  body[data-theme="nowcrm"] .nc-settings-nav::-webkit-scrollbar { display:none; }
  body[data-theme="nowcrm"] .nc-settings-nav .nc-settings-label { display:none; }
  body[data-theme="nowcrm"] .nc-settings-link { flex:none; white-space:nowrap; }
}
@media(max-width:640px) {
  body[data-theme="nowcrm"] .nc-availability-create form > .row { grid-template-columns:1fr; }
}
body[data-theme="nowcrm"] .nc-panel-flow { width:min(900px,100vw); }
body[data-theme="nowcrm"].nowcrm-panel .nc-settings-nav { display:none; }
body[data-theme="nowcrm"].nowcrm-panel .nc-settings { display:block; }
body[data-theme="nowcrm"].nowcrm-panel { background:var(--surface); }
body[data-theme="nowcrm"] .nc-telegram-stack { display:flex; flex-direction:column; gap:18px; }
body[data-theme="nowcrm"] .nc-telegram-stack > .card { margin:0!important; }
body[data-theme="nowcrm"] .nc-telegram-stack form[action$="/save"] > .mb-3 { display:grid; grid-template-columns:minmax(180px,.7fr) minmax(0,1fr); column-gap:28px; padding:14px 0; margin:0!important; border-bottom:1px solid var(--line); }
body[data-theme="nowcrm"] .nc-telegram-stack form[action$="/save"] > .mb-3 > label { grid-column:1; grid-row:1/3; padding-top:9px; }
body[data-theme="nowcrm"] .nc-telegram-stack form[action$="/save"] > .mb-3 > :not(label) { grid-column:2; }
body[data-theme="nowcrm"] .nc-telegram-stack .nowcrm-section-toggle .card { border:0; margin:0!important; }
body[data-theme="nowcrm"] .nc-mailbox .card-body > .row[style] { min-height:0!important; }
body[data-theme="nowcrm"] .nc-mailbox .nc-page-surface > .card-body { background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:18px; }
body[data-theme="nowcrm"] #default_prompt { font-family:inherit!important; }
body[data-theme="nowcrm"] .nc-mailbox .card-body > .row[style] > :first-child { width:45%; }
body[data-theme="nowcrm"] .nc-mailbox .card-body > .row[style] > :last-child { width:55%; }
body[data-theme="nowcrm"] .nc-system-templates > .card-body { background:var(--surface)!important; }
body[data-theme="nowcrm"] .nc-system-templates h5 { font-size:14.5px!important; font-weight:600!important; }
body[data-theme="nowcrm"] .nc-system-template-list { display:flex; flex-direction:column; gap:8px; margin:0; }
body[data-theme="nowcrm"] .nc-system-template-row { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px; border:1px solid var(--line); border-radius:10px; width:100%; margin:0; }
body[data-theme="nowcrm"] .nc-system-template-info { min-width:0; flex:1; }
body[data-theme="nowcrm"] .nc-system-template-info > .border-bottom { padding:0!important; border:0!important; gap:12px; }
body[data-theme="nowcrm"] .nc-system-template-info p { margin:4px 0!important; font-size:12.5px!important; }
body[data-theme="nowcrm"] .nc-system-template-info > .p-2 { padding:0!important; margin:4px 0 0!important; background:none!important; border:0!important; }
body[data-theme="nowcrm"] .nc-system-template-controls { width:260px; max-width:100%; flex-shrink:0; }
body[data-theme="nowcrm"] .nc-wa-toolbar { flex-wrap:wrap; gap:8px; }
body[data-theme="nowcrm"] .nc-wa-toolbar > input { max-width:220px; }
body[data-theme="nowcrm"] .nc-wa-meta { color:var(--muted); font-size:12px; margin-top:4px; }
body[data-theme="nowcrm"] .nc-wa-table td { white-space:normal; overflow-wrap:anywhere; }
body[data-theme="nowcrm"] .nc-wa-table td:nth-child(1) { width:23%; }
body[data-theme="nowcrm"] .nc-wa-table td:nth-child(2) { width:40%; }
body[data-theme="nowcrm"] .nc-wa-table td:last-child { min-width:230px; }
body[data-theme="nowcrm"] .nc-wa-table td:last-child .btn { white-space:nowrap; flex-shrink:0; }
body[data-theme="nowcrm"] .nc-wa-editor-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 20px; }
body[data-theme="nowcrm"] .nc-wa-editor-grid > * { grid-column:1/-1; }
body[data-theme="nowcrm"] .nc-wa-editor-grid > .nc-wa-editor-field { grid-column:auto; margin:0!important; }
body[data-theme="nowcrm"] .nc-wa-editor-grid .component-row { display:grid; grid-template-columns:140px minmax(0,1fr) 36px; gap:10px; margin:0 0 12px; }
body[data-theme="nowcrm"] .nc-wa-editor-grid .component-row > div { width:auto; padding:0; }
body[data-theme="nowcrm"] .nc-wa-editor-grid .nc-component-text { min-height:100px; }
body[data-theme="nowcrm"] .nc-wa-editor-actions { display:flex; justify-content:flex-end; gap:8px; padding-top:18px; border-top:1px solid var(--line); }
body[data-theme="nowcrm"] .nc-wa-templates .nc-page-heading .btn-success { background:var(--ink); border-color:var(--ink); color:white; }
body[data-theme="nowcrm"] .nc-wa-table tr.template-row-draft,body[data-theme="nowcrm"] .nc-wa-table tr.template-row-with-variables { background:var(--surface)!important; }
@media(max-width:640px) {
  body[data-theme="nowcrm"] .nc-wa-editor-grid { grid-template-columns:1fr; }
  body[data-theme="nowcrm"] .nc-wa-editor-grid .component-row { grid-template-columns:minmax(0,1fr) 36px; }
  body[data-theme="nowcrm"] .nc-wa-editor-grid .component-row > div:nth-child(2) { grid-row:2; grid-column:1/-1; }
  body[data-theme="nowcrm"] .nc-telegram-stack form[action$="/save"] > .mb-3 { display:block; }
  body[data-theme="nowcrm"] .nc-system-template-row { flex-direction:column; align-items:stretch; }
  body[data-theme="nowcrm"] .nc-system-template-controls { width:100%; }
  body[data-theme="nowcrm"] .nc-mailbox .card-body > .row[style] > :first-child,body[data-theme="nowcrm"] .nc-mailbox .card-body > .row[style] > :last-child { width:100%; }
}
body[data-theme="nowcrm"] .nc-prompt-variables .accordion-item { border:0; margin-bottom:12px; }
body[data-theme="nowcrm"] .nc-prompt-variables .accordion-header { font-size:12px; font-weight:500; color:var(--muted); margin:0 0 6px; }
body[data-theme="nowcrm"] .nc-prompt-variables .accordion-body { padding:0; }
body[data-theme="nowcrm"] .nc-prompt-variables .d-grid { display:flex!important; flex-wrap:wrap; gap:6px!important; }
body[data-theme="nowcrm"] .nc-prompt-variables .js-copy-placeholder { min-height:26px; font:11.5px ui-monospace,SFMono-Regular,Consolas,monospace; border:1px solid var(--line); background:var(--surface-2); padding:5px 8px; }
body[data-theme="nowcrm"] .nc-flow-editor .nc-field:has(.nc-prompt-variables) .card { border:0!important; box-shadow:none!important; }
body[data-theme="nowcrm"] .nc-flow-editor .nc-field:has(.nc-prompt-variables) .card-body { padding:0; }
body[data-theme="nowcrm"] .nc-flow-rows { display:block; }
body[data-theme="nowcrm"] .nc-flow-rows thead { display:none; }
body[data-theme="nowcrm"] .nc-flow-rows tbody { display:flex; flex-direction:column; gap:10px; padding:12px; }
body[data-theme="nowcrm"] .nc-flow-rows tr { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto; gap:10px; align-items:start; }
body[data-theme="nowcrm"] #question-table.nc-flow-rows tr { grid-template-columns:minmax(0,1fr) minmax(0,.65fr) auto auto; }
body[data-theme="nowcrm"] .nc-flow-rows td { padding:0; border:0; min-width:0; }
body[data-theme="nowcrm"] .nc-flow-rows textarea { min-height:76px; }
body[data-theme="nowcrm"] .nc-flow-rows .btn-danger { min-width:30px; }
@media(max-width:640px) {
  body[data-theme="nowcrm"] .nc-flow-rows tr,body[data-theme="nowcrm"] #question-table.nc-flow-rows tr { grid-template-columns:minmax(0,1fr) auto; }
  body[data-theme="nowcrm"] .nc-flow-rows td:nth-child(1),body[data-theme="nowcrm"] .nc-flow-rows td:nth-child(2) { grid-column:1; }
  body[data-theme="nowcrm"] .nc-flow-rows td:last-child { grid-column:2; grid-row:1; }
}
