/* RCO · Tema "Adriatico" (2026-11-25)
   Si attiva solo con html.rco-restyle (interruttore "Nuovo aspetto" nelle impostazioni).
   Spento non cambia nulla. Colori, ombre e raggi sono token: cambiarli qui cambia tutto.
   Livelli: sfondo -> pannelli (e1) -> carte (e2) -> carte in evidenza (e3) -> finestre e avvisi (e4). */

html.rco-restyle body{
  --bg:#edf2f3;--paper:#ffffff;--ink:#0f1c21;--muted:#5a6d75;--line:#dde6e9;--soft:#f0f5f6;
  --brand:#0a5560;--brand2:#0f7482;--blue:#2860a8;--green:#1b7a4c;--amber:#a86500;--red:#c0392f;--gold:#c49a3c;
  --glass:rgba(255,255,255,.74);--scrim:rgba(8,22,27,.42);
  --e1:0 1px 2px rgba(9,30,36,.06),0 1px 1px rgba(9,30,36,.04);
  --e2:0 2px 4px rgba(9,30,36,.05),0 10px 24px rgba(9,30,36,.08);
  --e3:0 6px 12px rgba(9,30,36,.07),0 22px 48px rgba(9,30,36,.14);
  --e4:0 14px 28px rgba(9,30,36,.14),0 40px 90px rgba(9,30,36,.30);
  --shadow:var(--e2);--ring:0 0 0 3px rgba(15,116,130,.28);--radius:14px;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Inter","Segoe UI",Roboto,system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;color:var(--ink);
  background:radial-gradient(1100px 520px at 12% -8%,rgba(15,116,130,.11),transparent 60%),radial-gradient(900px 480px at 100% 0,rgba(196,154,60,.08),transparent 55%),var(--bg);
  background-attachment:fixed;
}
html.rco-restyle body.rco-manager-theme-night{
  --bg:#0a1114;--paper:#121c20;--ink:#e7eff1;--muted:#93a6ae;--line:rgba(255,255,255,.10);--soft:#172429;
  --brand:#6fcdd6;--brand2:#2aa6b3;--blue:#6fa8ff;--green:#4cc38a;--amber:#e3a63b;--red:#f0746b;--gold:#d9b25a;
  --glass:rgba(14,22,26,.72);--scrim:rgba(0,0,0,.6);
  --e1:inset 0 1px 0 rgba(255,255,255,.04),0 1px 2px rgba(0,0,0,.45);
  --e2:inset 0 1px 0 rgba(255,255,255,.05),0 8px 22px rgba(0,0,0,.45);
  --e3:inset 0 1px 0 rgba(255,255,255,.06),0 18px 44px rgba(0,0,0,.52);
  --e4:inset 0 1px 0 rgba(255,255,255,.07),0 34px 90px rgba(0,0,0,.7);
  --ring:0 0 0 3px rgba(111,205,214,.35);color-scheme:dark;
  background:radial-gradient(1000px 520px at 10% -10%,rgba(42,166,179,.15),transparent 60%),radial-gradient(800px 420px at 100% 0,rgba(217,178,90,.06),transparent 55%),var(--bg);
}

/* Intestazione: vetro sopra il contenuto che scorre */
html.rco-restyle .topbar{background:var(--glass);-webkit-backdrop-filter:blur(18px) saturate(1.5);backdrop-filter:blur(18px) saturate(1.5);border-bottom:1px solid var(--line);box-shadow:var(--e1);color:var(--ink)}
html.rco-restyle .topbar h1{font-size:18px;font-weight:720;letter-spacing:-.012em;color:var(--ink)}
html.rco-restyle .topbar .brand-block p{color:var(--muted);font-size:12px}
html.rco-restyle .brand-mark{display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,var(--brand2),var(--brand));color:#fff;border-radius:12px;box-shadow:var(--e1),inset 0 1px 0 rgba(255,255,255,.28)}
html.rco-restyle .brand-mark.has-logo{background:var(--paper);border:1px solid var(--line)}
html.rco-restyle .brand-mark img{display:block;width:100%;height:100%;object-fit:contain;padding:4px}
html.rco-restyle body.rco-manager-theme-night .brand-mark:not(.has-logo){color:#03181c}
html.rco-restyle #envBadge,html.rco-restyle .login-version{display:none}
html.rco-restyle .realtime-badge{font-size:0;width:10px;height:10px;min-width:10px;padding:0;border:0;border-radius:50%;background:var(--amber);box-shadow:0 0 0 4px color-mix(in srgb,var(--amber) 22%,transparent)}
html.rco-restyle .realtime-badge.connected{background:var(--green);box-shadow:0 0 0 4px color-mix(in srgb,var(--green) 22%,transparent)}
html.rco-restyle .header-backup-button{font-size:0;width:40px;min-width:40px;height:40px;min-height:40px;padding:0}
html.rco-restyle .header-backup-button span{font-size:18px}
html.rco-restyle .manager-settings-button,html.rco-restyle .admin-language-button{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:11px;box-shadow:var(--e1)}
html.rco-restyle .topbar #currentUser{color:var(--ink);font-weight:650}

/* Menu laterale: pannello sollevato sopra la pagina */
html.rco-restyle .sidebar,html.rco-restyle .mobile-menu{background:var(--paper);border-right:1px solid var(--line);box-shadow:var(--e2);z-index:41}
html.rco-restyle .mobile-menu{z-index:199}html.rco-restyle .mobile-menu-backdrop{z-index:198}
html.rco-restyle .sidebar button,html.rco-restyle .mobile-menu nav button{color:var(--muted);font-weight:600;border-radius:11px}
html.rco-restyle .sidebar button:hover,html.rco-restyle .mobile-menu nav button:hover{background:var(--soft);color:var(--ink)}
html.rco-restyle .sidebar button.active,html.rco-restyle .mobile-menu nav button.active{background:color-mix(in srgb,var(--brand2) 13%,transparent);color:var(--brand);box-shadow:inset 3px 0 0 var(--gold)}
html.rco-restyle .sidebar button.has-alerts,html.rco-restyle .sidebar button.has-alerts.active{background:color-mix(in srgb,var(--red) 11%,transparent);color:var(--red);box-shadow:inset 3px 0 0 var(--red)}
html.rco-restyle .nav-section-label{color:var(--muted);font-size:11px;letter-spacing:.07em}
html.rco-restyle body .nav-icon{background:var(--soft)!important;color:var(--brand)!important;border:1px solid var(--line);border-radius:9px}
html.rco-restyle .nav-submenu a,html.rco-restyle .nav-submenu button{color:var(--muted)}
html.rco-restyle .nav-alert-count{box-shadow:0 0 0 3px var(--paper)}
/* Marchio del software, sempre visibile in fondo al menu */
html.rco-restyle .rco-powered{display:flex;align-items:center;gap:9px;margin:18px 6px 8px;padding:12px 8px 0;border-top:1px solid var(--line);color:var(--muted);font-size:12px;font-weight:600}
html.rco-restyle .rco-powered-mark{display:grid;place-items:center;height:22px;padding:0 7px;border-radius:7px;background:var(--ink);color:var(--paper);font-size:11px;font-weight:800;letter-spacing:.04em}

/* Titoli e testo */
html.rco-restyle .view-eyebrow{display:none}
html.rco-restyle .view-title{font-size:30px;font-weight:760;letter-spacing:-.028em;color:var(--ink)!important}
html.rco-restyle .view-subtitle,html.rco-restyle .muted,html.rco-restyle .field-help,html.rco-restyle .list-meta{color:var(--muted)!important}
html.rco-restyle .section-kicker{text-transform:none;letter-spacing:0;font-weight:700;color:var(--brand)!important}
html.rco-restyle main h2,html.rco-restyle main h3,html.rco-restyle main h4,html.rco-restyle .list-title{color:var(--ink)!important;letter-spacing:-.012em}

/* Carte: livelli */
html.rco-restyle .card,html.rco-restyle .list-item,html.rco-restyle .dashboard-kpi,html.rco-restyle .empty,html.rco-restyle .calendar-wrap{background:var(--paper)!important;color:var(--ink);border:1px solid var(--line)!important;border-radius:var(--radius);box-shadow:var(--e1)}
html.rco-restyle .card{box-shadow:var(--e2)}
html.rco-restyle .dashboard-kpi{box-shadow:var(--e2);transition:transform .16s ease,box-shadow .16s ease}
html.rco-restyle .dashboard-kpi:hover{transform:translateY(-2px);box-shadow:var(--e3)}
html.rco-restyle .dashboard-kpi strong{font-variant-numeric:tabular-nums;color:var(--ink)}
html.rco-restyle .dashboard-kpi span{color:var(--muted)}
html.rco-restyle .dashboard-kpi-icon{background:var(--soft)!important;border:1px solid var(--line);border-radius:12px}
html.rco-restyle .empty{border-style:dashed!important;background:var(--soft)!important}
html.rco-restyle body .today-main-card,html.rco-restyle body .upcoming-focus,html.rco-restyle body .save-status,html.rco-restyle body .admin-language-card{background:var(--paper)!important;color:var(--ink)!important;border-color:var(--line)!important}
html.rco-restyle body .today-clear{background:color-mix(in srgb,var(--green) 10%,var(--paper))!important;color:var(--ink)!important;border-color:color-mix(in srgb,var(--green) 35%,transparent)!important}
html.rco-restyle .dashboard-property-focus{background:linear-gradient(135deg,var(--hero-a,#0a3a44) 0%,var(--hero-b,#0f6c78) 100%)!important;color:#fff!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:20px;box-shadow:var(--e3),inset 0 1px 0 rgba(255,255,255,.18)}
html.rco-restyle .dashboard-property-focus h2,html.rco-restyle .dashboard-property-focus h3,html.rco-restyle .dashboard-property-focus p,html.rco-restyle .dashboard-property-focus .section-kicker{color:#fff!important}
html.rco-restyle .dashboard-property-focus .section-kicker{opacity:.8}

/* Pulsanti */
html.rco-restyle .btn{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:11px;box-shadow:var(--e1);font-weight:620;transition:transform .14s ease,box-shadow .14s ease,background .14s}
html.rco-restyle .btn:hover{box-shadow:var(--e2);transform:translateY(-1px)}
html.rco-restyle .btn:active{transform:translateY(0);box-shadow:var(--e1)}
html.rco-restyle body main .btn:not(.primary):not(.danger):not(.blue):not(.green),html.rco-restyle body main .refresh-btn,html.rco-restyle body main .dashboard-quick-actions button:not(.primary){background:var(--paper)!important;color:var(--ink)!important;border:1px solid var(--line)!important}
html.rco-restyle body main .btn.primary,html.rco-restyle .btn.primary{background:linear-gradient(180deg,var(--brand2),var(--brand))!important;color:#fff!important;border-color:transparent!important;box-shadow:var(--e2),inset 0 1px 0 rgba(255,255,255,.22)}
html.rco-restyle body.rco-manager-theme-night .btn.primary,html.rco-restyle body.rco-manager-theme-night main .btn.primary{color:#03181c!important}
html.rco-restyle body .dashboard-property-focus .btn.primary,html.rco-restyle body main .dashboard-property-focus .btn.primary{background:#fff!important;color:#0a4a55!important}
html.rco-restyle .btn.danger{background:color-mix(in srgb,var(--red) 10%,var(--paper));border-color:color-mix(in srgb,var(--red) 35%,transparent);color:var(--red)}

/* Campi */
html.rco-restyle input,html.rco-restyle select,html.rco-restyle textarea{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:11px}
html.rco-restyle input:focus-visible,html.rco-restyle select:focus-visible,html.rco-restyle textarea:focus-visible,html.rco-restyle .btn:focus-visible,html.rco-restyle .sidebar button:focus-visible{outline:none;box-shadow:var(--ring);border-color:var(--brand2)}
html.rco-restyle label{color:var(--ink)}

/* Etichette di stato e liste */
html.rco-restyle .badge{background:color-mix(in srgb,var(--green) 14%,transparent);color:var(--green)}
html.rco-restyle .badge.blue{background:color-mix(in srgb,var(--blue) 14%,transparent);color:var(--blue)}
html.rco-restyle .badge.amber{background:color-mix(in srgb,var(--amber) 16%,transparent);color:var(--amber)}
html.rco-restyle .badge.red{background:color-mix(in srgb,var(--red) 14%,transparent);color:var(--red)}
html.rco-restyle .badge.gray{background:var(--soft);color:var(--muted)}
html.rco-restyle .list-item{border-left:4px solid var(--brand2)!important}
html.rco-restyle .list-item.emergency{border-left-color:var(--red)!important;background:color-mix(in srgb,var(--red) 7%,var(--paper))!important}
html.rco-restyle .list-item.done{border-left-color:var(--green)!important}
html.rco-restyle .guest-name{color:var(--green);font-size:inherit}
html.rco-restyle .property-name{color:var(--brand);font-size:inherit}
html.rco-restyle .calendar th,html.rco-restyle .calendar td:first-child,html.rco-restyle .calendar-cell{background:var(--paper);color:var(--ink);border-color:var(--line)}

/* Finestre e fogli: salgono sopra uno sfondo sfocato */
html.rco-restyle .property-modal-backdrop,html.rco-restyle .agenda-modal-backdrop,html.rco-restyle .mobile-menu-backdrop,html.rco-restyle #managerSettingsBackdrop{background:var(--scrim)!important;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
html.rco-restyle .property-modal-panel,html.rco-restyle .agenda-modal-panel,html.rco-restyle .access-modal-panel,html.rco-restyle .agenda-task-modal-panel,html.rco-restyle .control-modal-panel,html.rco-restyle .network-operator-modal-panel,html.rco-restyle .reservation-modal-panel,html.rco-restyle .post-login-splash-card{background:var(--paper)!important;color:var(--ink)!important;border:1px solid var(--line);border-radius:20px;box-shadow:var(--e4)!important}
html.rco-restyle .property-modal-head,html.rco-restyle .agenda-modal-head{border-color:var(--line)!important}

/* Impostazioni */
html.rco-restyle body .manager-settings-panel{background:var(--paper)!important;color:var(--ink)!important;border:1px solid var(--line);border-radius:20px;box-shadow:var(--e4)!important}
html.rco-restyle body .manager-settings-head{border-color:var(--line)!important}
html.rco-restyle body .manager-settings-head h2,html.rco-restyle body .manager-settings-row strong{color:var(--ink)!important}
html.rco-restyle body .manager-settings-row{background:var(--soft)!important;border-color:var(--line)!important;border-radius:14px}
html.rco-restyle body .manager-settings-row small{color:var(--muted)!important}
html.rco-restyle body .manager-settings-icon,html.rco-restyle body .manager-setting-symbol{background:color-mix(in srgb,var(--brand2) 14%,transparent)!important;color:var(--brand)!important}
html.rco-restyle body .manager-settings-switch,html.rco-restyle body .manager-theme-buttons button,html.rco-restyle body .manager-settings-reset,html.rco-restyle body .manager-settings-panel .icon-close{background:var(--paper)!important;color:var(--ink)!important;border:1px solid var(--line)!important;border-radius:11px}
html.rco-restyle body .manager-theme-buttons button[aria-pressed="true"],html.rco-restyle body .manager-settings-switch[aria-pressed="true"]{background:color-mix(in srgb,var(--brand2) 16%,var(--paper))!important;color:var(--brand)!important;border-color:var(--brand2)!important}
html.rco-restyle body .manager-settings-preview{background:var(--soft)!important;border-color:var(--line)!important}
html.rco-restyle .rco-tech-info{display:block;margin-top:10px;color:var(--muted);font-size:11px;line-height:1.4;overflow-wrap:anywhere}

/* Avvisi e conferme */
html.rco-restyle .incoming-alert{background:var(--paper)!important;color:var(--ink);border-width:1px!important;border-radius:16px;box-shadow:var(--e4)!important}
html.rco-restyle .incoming-alert p,html.rco-restyle .incoming-alert .incoming-alert-category{color:var(--ink)!important}
html.rco-restyle .incoming-alert.emergency{border-color:var(--red)!important;background:color-mix(in srgb,var(--red) 8%,var(--paper))!important}
html.rco-restyle .alert-stack-more li{background:var(--soft)}
html.rco-restyle .alert-stack-meta{color:var(--muted)}
html.rco-restyle .toast{box-shadow:var(--e4);border-radius:14px}

/* Pulsanti a rilievo: luce in alto, bordo inferiore piu' scuro, si abbassano quando premuti. Contrasto testo/fondo >= 4.5:1 */
html.rco-restyle body main .btn:not(.primary):not(.danger),html.rco-restyle body main .refresh-btn,html.rco-restyle .manager-settings-button,html.rco-restyle .admin-language-button{background:linear-gradient(180deg,var(--paper),var(--soft))!important;box-shadow:0 1px 0 rgba(255,255,255,.7) inset,0 -2px 0 rgba(10,40,48,.10) inset,0 2px 0 rgba(10,40,48,.12),0 4px 10px rgba(10,40,48,.10)}
html.rco-restyle .btn.primary,html.rco-restyle body main .btn.primary{box-shadow:0 1px 0 rgba(255,255,255,.35) inset,0 -3px 0 rgba(0,0,0,.22) inset,0 3px 0 color-mix(in srgb,var(--brand) 70%,#000),0 8px 16px rgba(10,85,96,.28)!important;text-shadow:0 1px 0 rgba(0,0,0,.18)}
html.rco-restyle body .dashboard-property-focus .btn.primary,html.rco-restyle body main .dashboard-property-focus .btn.primary{background:linear-gradient(180deg,#fff,#e9f3f4)!important;color:#0a4a55!important;text-shadow:none;box-shadow:0 1px 0 #fff inset,0 -2px 0 rgba(10,74,85,.14) inset,0 3px 0 rgba(0,0,0,.25),0 8px 16px rgba(0,0,0,.22)!important}
html.rco-restyle .btn.danger{box-shadow:0 1px 0 rgba(255,255,255,.5) inset,0 -2px 0 rgba(0,0,0,.10) inset,0 2px 0 color-mix(in srgb,var(--red) 40%,transparent)}
html.rco-restyle .btn:hover{transform:translateY(-1px)}
html.rco-restyle .btn:active,html.rco-restyle body main .btn:active,html.rco-restyle body main .btn.primary:active{transform:translateY(2px);box-shadow:0 2px 4px rgba(0,0,0,.25) inset!important}
html.rco-restyle body.rco-manager-theme-night main .btn:not(.primary):not(.danger),html.rco-restyle body.rco-manager-theme-night .manager-settings-button,html.rco-restyle body.rco-manager-theme-night .admin-language-button{box-shadow:0 1px 0 rgba(255,255,255,.08) inset,0 -2px 0 rgba(0,0,0,.35) inset,0 2px 0 rgba(0,0,0,.55),0 6px 12px rgba(0,0,0,.35)}
html.rco-restyle body.rco-manager-theme-night main .btn.primary{box-shadow:0 1px 0 rgba(255,255,255,.4) inset,0 -3px 0 rgba(0,0,0,.25) inset,0 3px 0 rgba(0,0,0,.6),0 8px 16px rgba(0,0,0,.4)!important;text-shadow:none}
/* Etichetta modalità e palette sulla barra in alto */
html.rco-restyle .rco-look-chip{padding:7px 12px;border-radius:999px;border:1px solid var(--line);background:linear-gradient(180deg,var(--paper),var(--soft));color:var(--ink);font:inherit;font-size:12px;font-weight:650;white-space:nowrap;cursor:pointer;box-shadow:0 1px 0 rgba(255,255,255,.5) inset,0 2px 0 rgba(10,40,48,.10)}
html.rco-restyle .rco-look-chip:hover{box-shadow:var(--e2)}
@media(max-width:560px){html.rco-restyle .rco-look-chip{display:none}}
/* Palette con il nome scritto sotto ogni pallino */
html.rco-restyle .rco-palette-row{flex-wrap:wrap}
html.rco-restyle .rco-palette-current{display:block;color:var(--muted);font-size:12px;margin-top:2px}
html.rco-restyle .rco-palette-swatches{flex-basis:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 6px;justify-content:stretch}
html.rco-restyle .rco-palette-swatch{width:auto;height:auto;border:0;border-radius:10px;background:transparent!important;box-shadow:none;padding:6px 2px;display:grid;justify-items:center;gap:5px;color:var(--ink)}
html.rco-restyle .rco-palette-swatch .rco-dot{width:26px;height:26px;border-radius:50%;background:var(--sw);border:2px solid var(--paper);box-shadow:0 0 0 1px var(--line),0 2px 0 rgba(0,0,0,.18)}
html.rco-restyle body.rco-manager-theme-night .rco-palette-swatch .rco-dot{background:color-mix(in srgb,var(--sw) 55%,#fff);border-color:rgba(255,255,255,.55)}
html.rco-restyle .rco-palette-swatch .rco-dot-custom{background:conic-gradient(#d8453b,#e3a63b,#4cc38a,#2aa6b3,#6a3f8f,#d8453b)!important}
html.rco-restyle .rco-palette-swatch .rco-name{font-size:11px;font-weight:600;line-height:1.1;text-align:center}
html.rco-restyle .rco-palette-swatch[aria-pressed="true"]{background:color-mix(in srgb,var(--brand2) 14%,transparent)!important;box-shadow:inset 0 0 0 1.5px var(--brand2)}
html.rco-restyle .rco-palette-swatch[aria-pressed="true"] .rco-dot{box-shadow:0 0 0 2px var(--ink)}

/* NOTTE: correzione dei bianchi rimasti (Immobili e simili) */
html.rco-restyle body.rco-manager-theme-night .property-filter-tabs button{background:var(--soft)!important;color:var(--muted)!important;border:1px solid var(--line)!important}
html.rco-restyle body.rco-manager-theme-night .property-filter-tabs button.active{background:color-mix(in srgb,var(--brand2) 20%,var(--paper))!important;color:var(--brand)!important;border-color:var(--brand2)!important}
html.rco-restyle body.rco-manager-theme-night .property-filter-tabs .count-pill,html.rco-restyle body.rco-manager-theme-night .count-pill{background:rgba(255,255,255,.10)!important;color:var(--ink)!important}
html.rco-restyle body.rco-manager-theme-night .property-owner-group{background:var(--soft)!important;border-color:var(--line)!important}
html.rco-restyle body.rco-manager-theme-night .property-card-main{background:var(--paper)!important;color:var(--ink)!important;border:1px solid var(--line)!important}
html.rco-restyle body.rco-manager-theme-night .property-card-content,html.rco-restyle body.rco-manager-theme-night .property-card-content strong,html.rco-restyle body.rco-manager-theme-night .property-card-content h3,html.rco-restyle body.rco-manager-theme-night .property-card-content small{color:var(--ink)}
html.rco-restyle body.rco-manager-theme-night .property-card-area,html.rco-restyle body.rco-manager-theme-night .property-card-stats span,html.rco-restyle body.rco-manager-theme-night .property-card-stats{background:rgba(255,255,255,.07)!important;color:var(--muted)!important}
html.rco-restyle body.rco-manager-theme-night .property-card-owner{background:color-mix(in srgb,var(--brand2) 18%,transparent)!important;color:var(--brand)!important}
html.rco-restyle body.rco-manager-theme-night .property-card-owner span,html.rco-restyle body.rco-manager-theme-night .property-card-owner strong{color:var(--ink)!important}
html.rco-restyle body.rco-manager-theme-night .property-card-owner-missing{background:color-mix(in srgb,var(--amber) 16%,transparent)!important;color:var(--amber)!important}

/* NOTTE: altri bianchi (accessi, prenotazioni, richieste, rete) */
html.rco-restyle body.rco-manager-theme-night .access-filter-tabs,html.rco-restyle body.rco-manager-theme-night .assignment-line,html.rco-restyle body.rco-manager-theme-night .reservation-filters,html.rco-restyle body.rco-manager-theme-night .reservation-group-head,html.rco-restyle body.rco-manager-theme-night .demo-contact,html.rco-restyle body.rco-manager-theme-night .n18-request-card,html.rco-restyle body.rco-manager-theme-night .n18-live-note,html.rco-restyle body.rco-manager-theme-night .section-status,html.rco-restyle body.rco-manager-theme-night main .property-name{background:var(--soft)!important;color:var(--ink)!important;border-color:var(--line)!important}
html.rco-restyle body.rco-manager-theme-night .access-filter-tabs :is(strong,b,h3,h4,a),html.rco-restyle body.rco-manager-theme-night .assignment-line :is(strong,b,h3,h4,a),html.rco-restyle body.rco-manager-theme-night .reservation-filters :is(strong,b,h3,h4,a),html.rco-restyle body.rco-manager-theme-night .reservation-group-head :is(strong,b,h3,h4,a),html.rco-restyle body.rco-manager-theme-night .demo-contact :is(strong,b,h3,h4,a),html.rco-restyle body.rco-manager-theme-night .n18-request-card :is(strong,b,h3,h4,a),html.rco-restyle body.rco-manager-theme-night .n18-live-note :is(strong,b,h3,h4,a),html.rco-restyle body.rco-manager-theme-night .section-status :is(strong,b,h3,h4,a),html.rco-restyle body.rco-manager-theme-night main .property-name :is(strong,b,h3,h4,a){color:var(--ink)!important}
html.rco-restyle body.rco-manager-theme-night .access-filter-tabs :is(small,p),html.rco-restyle body.rco-manager-theme-night .assignment-line :is(small,p),html.rco-restyle body.rco-manager-theme-night .reservation-filters :is(small,p),html.rco-restyle body.rco-manager-theme-night .reservation-group-head :is(small,p),html.rco-restyle body.rco-manager-theme-night .demo-contact :is(small,p),html.rco-restyle body.rco-manager-theme-night .n18-request-card :is(small,p),html.rco-restyle body.rco-manager-theme-night .n18-live-note :is(small,p),html.rco-restyle body.rco-manager-theme-night .section-status :is(small,p),html.rco-restyle body.rco-manager-theme-night main .property-name :is(small,p){color:var(--muted)!important}
html.rco-restyle body.rco-manager-theme-night .access-filter-tabs button{background:transparent!important;color:var(--muted)!important;border-color:var(--line)!important}
html.rco-restyle body.rco-manager-theme-night .access-filter-tabs button.active{background:color-mix(in srgb,var(--brand2) 20%,var(--paper))!important;color:var(--brand)!important}
html.rco-restyle body.rco-manager-theme-night .access-action-group{background:var(--soft)!important;color:var(--ink)!important;border-color:var(--line)!important}
html.rco-restyle body.rco-manager-theme-night .access-action-group-blue{background:color-mix(in srgb,var(--blue) 16%,var(--paper))!important}
html.rco-restyle body.rco-manager-theme-night .access-action-group-green{background:color-mix(in srgb,var(--green) 16%,var(--paper))!important}
html.rco-restyle body.rco-manager-theme-night .access-action-group-danger{background:color-mix(in srgb,var(--red) 16%,var(--paper))!important}
html.rco-restyle body.rco-manager-theme-night .guest-arrival-panel.confirmed{background:color-mix(in srgb,var(--green) 16%,var(--paper))!important;color:var(--ink)!important}
html.rco-restyle body.rco-manager-theme-night .guest-arrival-panel.pending{background:color-mix(in srgb,var(--amber) 16%,var(--paper))!important;color:var(--ink)!important}
html.rco-restyle body.rco-manager-theme-night .guest-arrival-panel :is(strong,b,span,p,small){color:var(--ink)!important}
html.rco-restyle body.rco-manager-theme-night main a:not(.btn){color:var(--brand)}

html.rco-restyle body.rco-manager-theme-night .demo-contact a,html.rco-restyle body.rco-manager-theme-night .reservation-group-head span{background:rgba(255,255,255,.08)!important;color:var(--ink)!important;border-color:var(--line)!important}
html.rco-restyle body.rco-manager-theme-night .sidebar .nav-submenu button.active,html.rco-restyle body.rco-manager-theme-night .sidebar .nav-submenu a.active,html.rco-restyle body.rco-manager-theme-night .mobile-menu .nav-submenu button.active{background:color-mix(in srgb,var(--brand2) 20%,transparent)!important;color:var(--brand)!important}

html.rco-restyle body.rco-manager-theme-night .property-modal-head{background:var(--paper)!important;color:var(--ink)!important;border-color:var(--line)!important}
html.rco-restyle body.rco-manager-theme-night .property-modal-head :is(h2,h3,strong,span){color:var(--ink)}
html.rco-restyle body.rco-manager-theme-night .property-modal-close,html.rco-restyle body.rco-manager-theme-night .reservation-access-option{background:var(--soft)!important;color:var(--ink)!important;border:1px solid var(--line)!important}
html.rco-restyle body.rco-manager-theme-night .rco-powered-mark{background:color-mix(in srgb,var(--brand2) 22%,var(--soft))!important;color:var(--brand)!important;border:1px solid var(--line)}

html.rco-restyle body.rco-manager-theme-night .sticky-actions,html.rco-restyle body.rco-manager-theme-night .form-actions{background:linear-gradient(to bottom,transparent,var(--paper) 45%)!important}
/* Stili dei suoni */
html.rco-restyle .rco-pack-row>div:nth-of-type(1),html.rco-restyle .rco-palette-row>div:nth-of-type(1),html.rco-restyle .rco-volume-row>div:nth-of-type(1){flex:1;text-align:left}
html.rco-restyle .rco-pack-row{flex-wrap:wrap}
html.rco-restyle .rco-pack-grid{flex-basis:100%;display:flex;flex-wrap:wrap;gap:8px}
html.rco-restyle .rco-pack{padding:7px 14px;border-radius:999px;border:1px solid var(--line)!important;background:linear-gradient(180deg,var(--paper),var(--soft))!important;color:var(--ink)!important;font:inherit;font-size:12px;font-weight:650;cursor:pointer;box-shadow:0 1px 0 rgba(255,255,255,.5) inset,0 2px 0 rgba(10,40,48,.10)}
html.rco-restyle .rco-pack[aria-pressed="true"]{background:color-mix(in srgb,var(--brand2) 16%,var(--paper))!important;color:var(--brand)!important;border-color:var(--brand2)!important}
/* Calendario: legenda a chip coerente con il tema */
html.rco-restyle body .property-legend span,html.rco-restyle body .property-legend-label,html.rco-restyle body .reservation-past-legend,html.rco-restyle body .reservation-active-legend,html.rco-restyle body .calendar-legend-card .legend>span{background:var(--soft)!important;color:var(--ink)!important;border-color:var(--line)!important}
/* Prova suoni: pulsanti coerenti con giorno e notte, etichetta leggibile */
html.rco-restyle body .manager-settings-preview>div:first-child,html.rco-restyle body .manager-settings-preview>div:first-child *{color:var(--ink)!important;opacity:1!important;font-weight:650}
html.rco-restyle body .manager-settings-preview-buttons button{background:var(--soft)!important;color:var(--brand)!important;border:1px solid var(--line)!important;border-radius:10px;box-shadow:0 1px 0 rgba(255,255,255,.06) inset,0 2px 0 rgba(0,0,0,.18)}
/* Pallini colore: sulla notte li schiarisco e li cerchio di luce perche' si vedano */
/* Volume nelle impostazioni */
html.rco-restyle .rco-volume{width:130px;accent-color:var(--brand2)}
html.rco-restyle .rco-volume-value{min-width:44px;text-align:right;color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}
/* Scelta colori nelle impostazioni */
html.rco-restyle .rco-palette-swatch{position:relative;cursor:pointer;transition:transform .12s}
html.rco-restyle .rco-palette-swatch:hover{transform:translateY(-1px)}
html.rco-restyle .rco-palette-custom input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
@media (prefers-reduced-motion:reduce){html.rco-restyle .btn,html.rco-restyle .dashboard-kpi{transition:none}html.rco-restyle .btn:hover,html.rco-restyle .dashboard-kpi:hover{transform:none}}
