
:root{--wh-blue:#1463ff;--wh-blue-dark:#0e3f9e;--wh-ink:#10213a;--wh-muted:#6f7785;--wh-bg:#f5f7fb;--wh-border:#dfe6ef;--wh-green:#0f8a56}
.wh-app,.wh-public{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--wh-ink)}
.wh-app{display:grid;grid-template-columns:240px 1fr;max-width:1200px;margin:30px auto;background:#fff;border:1px solid var(--wh-border);border-radius:22px;overflow:hidden;box-shadow:0 18px 50px rgba(16,40,80,.08);min-height:640px}
.wh-sidebar{background:linear-gradient(180deg,#102d63,#091d42);padding:28px 20px;color:#fff}.wh-brand{font-weight:900;font-size:22px;letter-spacing:-.7px;display:flex;align-items:center;gap:9px}.wh-brand-dark{color:var(--wh-ink);margin-bottom:25px}.wh-mark{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--wh-blue);color:#fff}.wh-side-label{font-size:11px;opacity:.6;margin:32px 0 10px;letter-spacing:.08em}.wh-sidebar nav{display:grid;gap:7px}.wh-sidebar nav a{color:#dce8ff;text-decoration:none;padding:11px 12px;border-radius:10px}.wh-sidebar nav a:hover{background:#164dba;color:#fff}
.wh-main{padding:34px;background:linear-gradient(180deg,#fff 0%,#f9fbfe 100%)}.wh-top h1{font-size:30px;margin:0 0 6px;letter-spacing:-1px}.wh-top p{margin:0 0 25px;color:var(--wh-muted)}
.wh-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.wh-stat{background:#fff;border:1px solid var(--wh-border);border-radius:16px;padding:18px;box-shadow:0 6px 20px rgba(20,40,70,.04)}.wh-stat strong{display:block;font-size:30px;color:#1470d9;margin-bottom:5px}.wh-stat span{color:var(--wh-muted);font-size:14px}.wh-stat-blue{background:linear-gradient(145deg,var(--wh-blue),#0d4ed8);color:#fff}.wh-stat-blue strong,.wh-stat-blue span{color:#fff}
.wh-panel{background:#fff;border:1px solid var(--wh-border);border-radius:18px;padding:20px;box-shadow:0 6px 20px rgba(20,40,70,.04)}.wh-panel-head,.wh-ticket-top,.wh-ticket-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px}.wh-panel-head{margin-bottom:8px}.wh-panel-head h2,.wh-panel h2{margin:0 0 12px}.wh-panel-head a{color:var(--wh-blue);text-decoration:none;font-weight:700}
.wh-ticket{border-top:1px solid #edf1f6;padding:18px 0}.wh-ticket:first-of-type{border-top:none}.wh-ticket p{margin:4px 0;color:var(--wh-muted)}
.wh-badge{display:inline-block;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:800;background:#edf2f7}.wh-badge-nuovo,.wh-badge-preso_in_carico,.wh-badge-rifiutato{background:#fff2d9;color:#986100}.wh-badge-tecnico_assegnato,.wh-badge-accettato{background:#eaf1ff;color:#1650c5}.wh-badge-in_corso{background:#eee9ff;color:#6d46b5}.wh-badge-completato,.wh-badge-chiuso{background:#e8f7ef;color:#0d7b4d}
.wh-progress{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:18px 0 10px}.wh-step{position:relative;text-align:center;color:#a0a8b4;font-size:11px}.wh-step:before{content:"";position:absolute;left:-50%;right:50%;height:2px;top:7px;background:#dce3ec}.wh-step:first-child:before{display:none}.wh-step span{position:relative;z-index:2;display:block;margin:0 auto 7px;width:15px;height:15px;border-radius:50%;background:#dce3ec;border:3px solid #fff;box-shadow:0 0 0 1px #dce3ec}.wh-step.is-active{color:var(--wh-ink);font-weight:700}.wh-step.is-active span{background:var(--wh-blue);box-shadow:0 0 0 1px var(--wh-blue)}.wh-step.is-active:before{background:var(--wh-blue)}
.wh-ticket-bottom{color:var(--wh-muted);font-size:13px;margin-top:10px;flex-wrap:wrap}
.wh-public{min-height:560px;display:grid;place-items:center;padding:35px 16px;background:linear-gradient(145deg,#f8fbff,#eef4fa)}.wh-public-card{width:min(620px,100%);background:#fff;border:1px solid var(--wh-border);border-radius:22px;padding:34px;box-shadow:0 20px 55px rgba(16,40,80,.09)}.wh-public-card h1{font-size:34px;letter-spacing:-1.3px;margin:0 0 12px}.wh-public-card p{color:var(--wh-muted)}
.wh-form{display:grid;gap:15px}.wh-form label{font-weight:700;font-size:14px}.wh-form input,.wh-form select,.wh-form textarea{display:block;width:100%;margin-top:7px;padding:12px 13px;border:1px solid #cfd8e5;border-radius:10px;background:#fff;font:inherit}.wh-form input:focus,.wh-form select:focus,.wh-form textarea:focus{outline:2px solid rgba(20,99,255,.15);border-color:var(--wh-blue)}.wh-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.wh-btn{display:inline-block;border:0;border-radius:11px;padding:12px 18px;background:linear-gradient(135deg,var(--wh-blue),#0d52dd);color:#fff!important;font-weight:800;text-decoration:none;cursor:pointer;box-shadow:0 8px 18px rgba(20,99,255,.18)}.wh-btn-light{background:#fff;color:var(--wh-blue)!important;border:1px solid #bcd0ff;box-shadow:none}.wh-btn-small{padding:9px 13px;font-size:13px}.wh-actions{display:flex;gap:10px;flex-wrap:wrap}.wh-alert{padding:13px 15px;border-radius:12px;background:#e9f8f0;color:#087a4c;margin:0 0 16px}.wh-alert-error{background:#fff0f0;color:#9f2f2f}.wh-muted{color:var(--wh-muted)}.wh-empty{padding:30px;text-align:center;color:var(--wh-muted)}.wh-inline-form{margin:0}
@media(max-width:860px){.wh-app{grid-template-columns:1fr;margin:12px;border-radius:16px}.wh-sidebar{padding:16px}.wh-sidebar nav{display:flex;overflow:auto}.wh-side-label{display:none}.wh-main{padding:20px}.wh-stats{grid-template-columns:repeat(2,1fr)}.wh-progress small{font-size:9px}}
@media(max-width:560px){.wh-stats,.wh-grid-2{grid-template-columns:1fr}.wh-public-card{padding:24px}.wh-public-card h1{font-size:28px}.wh-ticket-top{align-items:flex-start}.wh-progress{gap:2px}}

/* v0.4 customer registration */
.wh-lead{font-size:15px;line-height:1.6;margin-bottom:24px}
.wh-form small{display:block;margin-top:6px;color:var(--wh-muted);font-weight:500}
.wh-check{display:flex!important;align-items:flex-start;gap:10px;font-weight:500!important;line-height:1.45}
.wh-check input{width:18px!important;height:18px!important;margin:2px 0 0!important;flex:0 0 auto}
.wh-check span{display:block}
.wh-check a{color:var(--wh-blue);font-weight:700;text-decoration:none}
.wh-check em{color:var(--wh-muted);font-style:normal}
.wh-btn-full{width:100%;text-align:center;font-size:16px}
.wh-login-link{text-align:center;margin-top:20px;color:var(--wh-muted)}
.wh-login-link a{color:var(--wh-blue);font-weight:800;text-decoration:none}
.wh-alert ul{margin:8px 0 0 20px}

/* v0.4.1 — spacing & professional address form */
.wh-form-spaced{gap:24px}
.wh-form-section{
  display:grid;
  gap:18px;
  padding:22px;
  border:1px solid var(--wh-border);
  border-radius:16px;
  background:#fbfcfe;
}
.wh-form-section h3{
  margin:0 0 2px;
  font-size:18px;
  letter-spacing:-.3px;
}
.wh-form label{
  display:block;
  margin:0;
}
.wh-form input,.wh-form select,.wh-form textarea{
  margin-top:9px;
}
.wh-grid-2{
  gap:20px;
}
.wh-grid-3{
  display:grid;
  grid-template-columns:160px 1fr 160px;
  gap:20px;
}
.wh-grid-address{
  display:grid;
  grid-template-columns:1fr 180px;
  gap:20px;
}
.wh-check{
  margin-top:2px!important;
}
.wh-public-card{
  width:min(760px,100%);
}
@media(max-width:700px){
  .wh-grid-2,.wh-grid-3,.wh-grid-address{grid-template-columns:1fr}
  .wh-form-section{padding:18px}
}

/* v0.4.2 — definitive form spacing fix */
.wh-form,
.wh-form *,
.wh-public-card,
.wh-public-card *{
  box-sizing:border-box !important;
}

.wh-form{
  gap:24px !important;
}

.wh-form > label{
  margin:0 0 4px 0 !important;
}

.wh-form label{
  line-height:1.35 !important;
}

.wh-form input,
.wh-form select,
.wh-form textarea{
  width:100% !important;
  max-width:100% !important;
  display:block !important;
  margin-top:10px !important;
  margin-bottom:0 !important;
  padding:14px 15px !important;
  min-height:50px !important;
}

.wh-form textarea{
  min-height:130px !important;
}

.wh-grid-2,
.wh-grid-3,
.wh-grid-address{
  column-gap:28px !important;
  row-gap:22px !important;
  align-items:start !important;
}

.wh-grid-2 > label,
.wh-grid-3 > label,
.wh-grid-address > label{
  min-width:0 !important;
  width:100% !important;
  margin:0 !important;
}

.wh-form-section{
  gap:24px !important;
  padding:26px !important;
  margin:0 !important;
}

.wh-form-section > label{
  margin:0 !important;
}

.wh-form-section h3{
  margin:0 0 4px 0 !important;
}

.wh-check{
  gap:12px !important;
  margin:0 !important;
  padding:3px 0 !important;
}

.wh-check input{
  min-height:auto !important;
  margin:1px 0 0 0 !important;
  padding:0 !important;
}

.wh-btn-full{
  margin-top:2px !important;
  min-height:52px !important;
}

.wh-login-link{
  margin-top:24px !important;
}

@media(max-width:700px){
  .wh-grid-2,
  .wh-grid-3,
  .wh-grid-address{
    grid-template-columns:1fr !important;
    row-gap:22px !important;
  }
  .wh-form-section{
    padding:20px !important;
  }
}

/* v0.5 */
.wh-admin-wrap{max-width:1180px}
.wh-admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:22px 0}
.wh-admin-stats>div{background:#fff;border:1px solid #dfe6ef;border-radius:14px;padding:18px}
.wh-admin-stats strong{display:block;font-size:28px;color:#1463ff}
.wh-admin-stats span{color:#6f7785}
.wh-admin-ticket,.wh-admin-pro{background:#fff;border:1px solid #dfe6ef;border-radius:16px;padding:20px;margin:16px 0}
.wh-admin-ticket-head,.wh-admin-pro,.wh-match{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.wh-admin-ticket h2,.wh-admin-pro h3{margin:0 0 8px}
.wh-admin-ticket p,.wh-admin-pro p{margin:5px 0;color:#5f6875}
.wh-admin-status{display:inline-block;background:#eef3f8;border-radius:999px;padding:6px 10px;font-weight:700}
.wh-admin-status.is-ok{background:#e8f7ef;color:#0d7b4d}
.wh-assigned{padding:12px;background:#eef5ff;border-radius:10px;margin:15px 0}
.wh-match-list{display:grid;gap:10px;margin:12px 0}
.wh-match{border:1px solid #e5eaf1;border-radius:12px;padding:13px;align-items:center}
.wh-match span{color:#687383}
.wh-match-score{font-weight:800;color:#1463ff;white-space:nowrap}
.wh-admin-pro-list{margin-top:18px}
@media(max-width:800px){
  .wh-admin-stats{grid-template-columns:repeat(2,1fr)}
  .wh-admin-ticket-head,.wh-admin-pro,.wh-match{flex-direction:column}
}

/* v0.5.1 confirmation */
.wh-success-box{
  text-align:center;
  padding:10px 0 4px;
}
.wh-success-icon{
  width:64px;
  height:64px;
  border-radius:50%;
  background:#e8f7ef;
  color:#0d7b4d;
  display:grid;
  place-items:center;
  margin:0 auto 18px;
  font-size:32px;
  font-weight:900;
}
.wh-success-box h2{
  margin:0 0 12px;
  font-size:24px;
}
.wh-success-box p{
  max-width:520px;
  margin:10px auto;
  line-height:1.6;
}
.wh-success-box .wh-btn{
  margin-top:16px;
}

/* v0.5.2 professional application workflow */
.wh-pro-actions{min-width:220px;text-align:right}
.wh-pro-action-row{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:12px}
.wh-pro-status-pending{background:#fff2d9!important;color:#986100!important}
.wh-pro-status-approved{background:#e8f7ef!important;color:#0d7b4d!important}
.wh-pro-status-rejected{background:#fff0f0!important;color:#a33030!important}
.wh-pro-status-suspended{background:#edf1f5!important;color:#555f6d!important}
.wh-reject-btn{border-color:#c83e3e!important;color:#b32f2f!important}
@media(max-width:800px){
  .wh-pro-actions{text-align:left;min-width:0;width:100%}
  .wh-pro-action-row{justify-content:flex-start}
}

/* v0.5.3 HOME */
.wh-home{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#10213a;background:#fff}
.wh-home-nav{max-width:1180px;margin:auto;padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.wh-home-nav nav{display:flex;gap:25px}.wh-home-nav nav a{color:#10213a;text-decoration:none;font-weight:650;font-size:14px}.wh-home-actions{display:flex;gap:10px}
.wh-hero{max-width:1180px;margin:auto;padding:70px 22px 55px;display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center}
.wh-kicker{display:inline-block;font-size:11px;letter-spacing:.08em;font-weight:900;color:#1463ff;background:#eef5ff;padding:7px 10px;border-radius:999px}
.wh-hero h1{font-size:clamp(42px,5vw,64px);line-height:1.02;letter-spacing:-2.7px;margin:18px 0}.wh-hero h1 span{color:#1463ff}.wh-hero-copy>p{font-size:18px;line-height:1.6;color:#687383}
.wh-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:28px}.wh-choice-card{border:1px solid #dfe6ef;border-radius:18px;padding:22px;background:#fff;box-shadow:0 10px 28px rgba(16,40,80,.06)}
.wh-choice-icon{width:42px;height:42px;border-radius:12px;background:#1463ff;color:#fff;display:grid;place-items:center;font-size:21px}.wh-choice-card p{color:#687383;min-height:48px}
.wh-hero-visual{min-height:500px;background:linear-gradient(145deg,#eef5ff,#f7f9fc);border-radius:30px;display:grid;place-items:center;padding:30px}.wh-phone{width:290px;background:#fff;border:7px solid #101820;border-radius:40px;padding:26px 20px;box-shadow:0 24px 50px rgba(13,43,90,.18)}.wh-phone-top{font-weight:900;color:#1463ff}.wh-phone-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:25px}.wh-phone-cards span{padding:18px 10px;border:1px solid #dfe6ef;border-radius:14px;text-align:center;font-size:12px;font-weight:750}
.wh-home-section{max-width:1180px;margin:auto;padding:60px 22px}.wh-home-section h2{font-size:34px}.wh-how-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:28px}.wh-how-grid>div{border:1px solid #dfe6ef;border-radius:16px;padding:22px}.wh-how-grid b{width:35px;height:35px;background:#1463ff;color:#fff;border-radius:50%;display:grid;place-items:center}.wh-how-grid p{color:#687383}
.wh-soft{background:#f5f8fc;border-radius:24px}.wh-services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:25px}.wh-services-grid div{background:#fff;border:1px solid #dfe6ef;border-radius:14px;padding:18px;font-weight:750}
.wh-pricing{max-width:1136px;margin:30px auto 70px;background:linear-gradient(135deg,#1463ff,#0d47c7);color:#fff;border-radius:24px;padding:40px;display:flex;justify-content:space-between;align-items:center;gap:30px}.wh-pricing p{color:#dce8ff}.wh-kicker-light{background:rgba(255,255,255,.16);color:#fff}.wh-price-box{text-align:center}.wh-price-box strong{font-size:46px;display:block}.wh-price-box small,.wh-price-box span{display:block}.wh-btn-white{background:#fff!important;color:#1463ff!important;margin-top:14px}
@media(max-width:900px){.wh-home-nav nav{display:none}.wh-hero{grid-template-columns:1fr}.wh-choice-grid{grid-template-columns:1fr}.wh-how-grid,.wh-services-grid{grid-template-columns:repeat(2,1fr)}.wh-pricing{margin:14px;flex-direction:column;align-items:flex-start}.wh-hero-visual{min-height:400px}}
@media(max-width:560px){.wh-home-actions .wh-btn-light{display:none}.wh-how-grid,.wh-services-grid{grid-template-columns:1fr}.wh-hero{padding-top:40px}.wh-phone{width:260px}}

/* v0.5.4 — standalone WHYHAB */
html,body.whyhab-app-shell{margin:0!important;padding:0!important;background:#fff!important}
body.whyhab-app-shell{min-height:100vh;color:#10213a}
body.whyhab-app-shell .wh-template-main{width:100%;max-width:none!important;margin:0!important;padding:0!important}
body.whyhab-app-shell .wh-template-main>article,
body.whyhab-app-shell .wh-template-main .entry-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.wh-home{min-height:100vh;overflow:hidden}
.wh-home-nav{position:sticky;top:0;z-index:30;max-width:none!important;padding:17px max(28px,calc((100vw - 1240px)/2));background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid #e7edf5;box-sizing:border-box}
.wh-home-logo{display:flex;align-items:center;gap:9px;color:#10213a!important;text-decoration:none!important;font-size:23px;letter-spacing:-.8px;white-space:nowrap}
.wh-home-nav nav{display:flex;gap:28px;align-items:center}
.wh-home-nav nav a{color:#10213a;text-decoration:none;font-weight:700;font-size:14px;white-space:nowrap}
.wh-home-nav nav a:hover{color:#1463ff}
.wh-home-actions{display:flex;gap:10px;align-items:center;white-space:nowrap}
.wh-hero{max-width:1240px!important;margin:auto!important;padding:80px 28px 72px!important;display:grid!important;grid-template-columns:1.08fr .92fr!important;gap:64px!important;align-items:center!important}
.wh-hero h1{font-size:clamp(48px,5.2vw,72px)!important;line-height:1.02!important;letter-spacing:-2.7px!important;margin:18px 0!important;max-width:760px}
.wh-hero h1 span{color:#1463ff}.wh-hero-copy>p{max-width:720px!important;font-size:18px!important;line-height:1.6!important;color:#687383}
.wh-choice-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important;margin-top:30px!important}
.wh-choice-card{padding:24px!important;border:1px solid #dfe6ef!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 28px rgba(16,40,80,.06)!important}
.wh-choice-primary{border-color:#cbdcff!important;box-shadow:0 18px 45px rgba(20,99,255,.1)!important}
.wh-choice-icon-soft{background:#edf4ff!important;color:#1463ff!important}
.wh-hero-visual{min-height:540px!important;background:radial-gradient(circle at 80% 20%,#fff 0,#eef5ff 38%,#f7f9fc 75%)!important;border:1px solid #e2eaf5!important;border-radius:30px!important;display:grid!important;place-items:center!important;padding:30px!important}
.wh-preview{width:min(480px,92%);background:#fff;border:1px solid #dce5f0;border-radius:24px;padding:24px;box-shadow:0 32px 75px rgba(15,44,92,.16)}
.wh-preview-head,.wh-preview-network,.wh-preview-ticket{display:flex;align-items:center;justify-content:space-between;gap:14px}
.wh-preview-head>div{display:flex;align-items:center;gap:8px}.wh-preview-dot{width:24px;height:24px;border-radius:7px;background:#1463ff;display:inline-block}
.wh-mini-pill{display:inline-flex;padding:6px 9px;border-radius:999px;background:#f0f3f7;color:#5f6b7a;font-size:10px;font-weight:850}.wh-mini-blue{background:#eaf1ff;color:#1650c5}
.wh-preview-welcome{padding:30px 0 20px}.wh-preview-welcome small{font-weight:850;color:#1463ff}.wh-preview-welcome h3{font-size:31px;margin:7px 0 0;letter-spacing:-1px}
.wh-preview-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.wh-preview-stats div{border:1px solid #e0e7f0;border-radius:13px;padding:14px}.wh-preview-stats strong{display:block;font-size:25px;color:#1463ff}.wh-preview-stats span{font-size:11px;color:#6d7785}
.wh-preview-ticket{margin-top:18px;border-top:1px solid #edf1f6;border-bottom:1px solid #edf1f6;padding:17px 0}.wh-preview-ticket div{display:grid;gap:4px}.wh-preview-ticket span{font-size:11px;color:#737d8b}
.wh-preview-progress{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;padding:18px 0}.wh-preview-progress i{height:5px;background:#1463ff;border-radius:999px}.wh-preview-progress i:nth-child(4),.wh-preview-progress i:nth-child(5){background:#dfe6ef}
.wh-preview-network{justify-content:flex-start}.wh-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#eaf1ff;color:#1463ff;font-weight:900}.wh-preview-network>div:last-child{display:grid;gap:3px}.wh-preview-network span{font-size:11px;color:#737d8b}
.wh-home-section{max-width:1240px!important;margin:auto!important;padding:76px 28px!important}.wh-section-intro{text-align:center;max-width:720px;margin:0 auto 34px}.wh-section-intro h2{margin:14px 0 7px;font-size:40px}.wh-section-intro p{color:#6f7785}
.wh-how-grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:20px!important}.wh-how-grid>div{padding:27px!important;background:#fff!important;border:1px solid #dfe6ef!important;border-radius:16px!important;box-shadow:0 8px 25px rgba(16,40,80,.035)!important}
.wh-soft{max-width:1184px!important;margin:24px auto!important;padding:62px 36px!important;background:#f5f8fc!important;border-radius:24px!important}
.wh-services-grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:12px!important}.wh-services-grid div{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dfe6ef;border-radius:14px;padding:20px!important;font-weight:750}.wh-services-grid div span{width:31px;height:31px;border-radius:9px;background:#eef5ff;color:#1463ff;display:grid;place-items:center}
.wh-pricing{max-width:1184px!important;margin:68px auto!important;padding:48px!important;background:linear-gradient(135deg,#1463ff,#0d47c7)!important;color:#fff!important;border-radius:24px!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:30px!important}.wh-pricing h2{font-size:40px;margin:13px 0 8px}.wh-pricing p{color:#dce8ff}.wh-pricing>div:first-child>small{display:block;max-width:690px;color:#cbdcff;margin-top:14px;line-height:1.55}.wh-price-box{min-width:235px;text-align:center}.wh-price-box strong{font-size:52px!important;margin:5px 0;display:block}.wh-price-box small,.wh-price-box span{display:block}.wh-price-box .wh-btn{display:block}.wh-btn-white{background:#fff!important;color:#1463ff!important;margin-top:14px}
.wh-home-footer{max-width:1240px;margin:auto;padding:30px 28px 45px;border-top:1px solid #e7edf5;display:flex;align-items:center;justify-content:space-between;gap:20px}.wh-home-footer p{color:#77808c;margin:0}
.wh-public{min-height:100vh!important;padding:54px 20px!important;background:linear-gradient(145deg,#f8fbff,#eef4fa)!important}.wh-public-card{width:min(780px,100%)!important;padding:38px!important}
.wh-form-section{background:#f9fbfe!important;border-color:#e0e7f0!important}.wh-section-heading{display:flex;align-items:flex-start;gap:13px}.wh-section-heading>span{width:34px;height:34px;border-radius:10px;background:#1463ff;color:#fff;display:grid;place-items:center;font-size:12px;font-weight:900;flex:0 0 auto}.wh-section-heading h3{margin:0!important}.wh-section-heading p{margin:4px 0 0!important;font-size:13px;color:#788391}.wh-form-note{text-align:center;color:#7a8491;font-size:12px;margin:0}
.wh-app{max-width:1240px!important;min-height:calc(100vh - 36px)!important;margin:18px auto!important}
@media(max-width:980px){.wh-home-nav{padding:14px 18px}.wh-home-nav nav{display:none}.wh-hero{grid-template-columns:1fr!important;padding:56px 22px!important}.wh-hero-visual{min-height:430px!important}.wh-home-section{padding:58px 22px!important}.wh-soft,.wh-pricing{margin:24px 16px!important}}
@media(max-width:600px){.wh-home-actions .wh-btn-light{display:none}.wh-home-logo{font-size:20px}.wh-hero h1{font-size:43px!important}.wh-choice-grid{grid-template-columns:1fr!important}.wh-preview{padding:18px}.wh-section-intro h2{font-size:32px}.wh-how-grid,.wh-services-grid{grid-template-columns:1fr!important}.wh-pricing{padding:30px!important}.wh-home-footer{flex-direction:column;align-items:flex-start}.wh-public-card{padding:25px!important}}

/* v0.5.5 AJAX candidature */
#wh-network-form.is-loading{opacity:.72;pointer-events:none}
#wh-network-submit.is-loading{position:relative}
#wh-network-submit.is-loading:after{
  content:"";
  display:inline-block;
  width:13px;height:13px;
  margin-left:10px;
  border:2px solid rgba(255,255,255,.55);
  border-top-color:#fff;
  border-radius:50%;
  vertical-align:-2px;
  animation:whSpin .7s linear infinite
}
@keyframes whSpin{to{transform:rotate(360deg)}}
#wh-network-feedback:not(:empty){margin-bottom:18px}
.wh-success-box{animation:whFadeIn .25s ease}
@keyframes whFadeIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}

/* v0.5.6 email status */
.wh-mail-status{margin-top:10px!important;padding:8px 10px;background:#f5f8fc;border-radius:9px;font-size:12px!important;color:#6a7584!important}

/* =========================================================
   v0.5.8 — WHYHAB CONTROL ROOM
   ========================================================= */
.wh-cr{max-width:1440px!important;margin:20px 24px 60px 4px!important;color:#10213a}
.wh-cr *{box-sizing:border-box}
.wh-cr a{text-decoration:none}
.wh-cr-header{
  display:flex;align-items:center;gap:28px;
  padding:22px 26px;background:#fff;border:1px solid #dfe6ef;border-radius:18px;
  box-shadow:0 8px 30px rgba(20,45,85,.05)
}
.wh-cr-brand{display:flex;align-items:center;gap:10px;padding-right:25px;border-right:1px solid #e4eaf1}
.wh-cr-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;background:#1463ff;color:#fff;font-size:20px}
.wh-cr-brand>div{display:grid}.wh-cr-brand strong{font-size:18px;line-height:1}.wh-cr-brand small{font-size:9px;letter-spacing:.12em;color:#7c8796;margin-top:5px;font-weight:800}
.wh-cr-heading h1{margin:0!important;font-size:25px!important;letter-spacing:-.6px}.wh-cr-heading p{margin:5px 0 0;color:#748090}
.wh-cr-tabs{display:flex;gap:7px;margin:18px 0 22px;padding:6px;background:#eef3f8;border-radius:13px;width:max-content}
.wh-cr-tabs a{display:flex;align-items:center;gap:7px;padding:10px 15px;border-radius:9px;color:#556273;font-weight:700}
.wh-cr-tabs a.is-active{background:#fff;color:#1463ff;box-shadow:0 3px 12px rgba(26,55,95,.08)}
.wh-cr-stats{display:grid;grid-template-columns:repeat(6,minmax(145px,1fr));gap:13px;margin-bottom:20px}
.wh-cr-stat{position:relative;display:grid;min-height:120px;padding:18px;background:#fff;border:1px solid #dfe6ef;border-radius:16px;color:#10213a!important;transition:.15s ease}
.wh-cr-stat:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(22,48,90,.08)}
.wh-cr-stat-icon{position:absolute;right:15px;top:15px;width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#eef4ff;color:#1463ff;font-weight:900}
.wh-cr-stat strong{font-size:31px;line-height:1;margin-top:28px}.wh-cr-stat small{margin-top:8px;color:#6d7886;font-weight:650}
.wh-stat-warning{border-top:3px solid #e4a11b}.wh-stat-success{border-top:3px solid #1a9b67}.wh-stat-blue{border-top:3px solid #1463ff}.wh-stat-violet{border-top:3px solid #7657d5}.wh-stat-orange{border-top:3px solid #ef7e32}.wh-stat-slate{border-top:3px solid #627286}
.wh-cr-dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.wh-cr-panel{background:#fff;border:1px solid #dfe6ef;border-radius:17px;padding:21px}
.wh-cr-panel-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #edf1f5}
.wh-cr-panel-head h2,.wh-cr-section-head h2{margin:0;font-size:20px;letter-spacing:-.35px}.wh-cr-panel-head p,.wh-cr-section-head p{margin:5px 0 0;color:#7a8491}
.wh-cr-panel-head>a{color:#1463ff;font-weight:700}
.wh-cr-mini-list{display:grid}
.wh-cr-mini-item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:14px 2px;border-bottom:1px solid #edf1f5}
.wh-cr-mini-item:last-child{border-bottom:0}.wh-cr-mini-item>div:nth-child(2){display:grid;gap:4px}.wh-cr-mini-item strong{font-size:14px}.wh-cr-mini-item span:not(.wh-cr-pill){font-size:12px;color:#7c8795}
.wh-cr-avatar{width:36px;height:36px;border-radius:11px;background:#eaf1ff;color:#1463ff;display:grid;place-items:center;font-weight:900;flex:0 0 auto}
.wh-cr-avatar-lg{width:48px;height:48px;border-radius:14px;font-size:18px}.wh-cr-avatar-ticket{background:#eef2f6;color:#607083}
.wh-cr-pill{display:inline-flex;align-items:center;justify-content:center;width:max-content;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:800;white-space:nowrap}
.wh-pill-pending{background:#fff3d8;color:#9a6500}.wh-pill-approved{background:#e9f8f0;color:#087a4b}.wh-pill-rejected{background:#fff0f0;color:#ac3030}.wh-pill-suspended{background:#edf1f5;color:#5c6877}
.wh-ticket-nuovo,.wh-ticket-preso_in_carico{background:#eaf2ff;color:#1458c8}.wh-ticket-tecnico_assegnato,.wh-ticket-accettato{background:#efeaff;color:#6946bd}.wh-ticket-in_corso{background:#fff0df;color:#b05e10}.wh-ticket-completato,.wh-ticket-chiuso{background:#e9f8f0;color:#087a4b}.wh-ticket-rifiutato{background:#fff0f0;color:#ac3030}
.wh-cr-empty{text-align:center;padding:45px!important}.wh-cr-empty>span{display:grid;place-items:center;margin:0 auto 12px;width:44px;height:44px;border-radius:13px;background:#eef5ff;color:#1463ff;font-size:20px}.wh-cr-empty strong{display:block;font-size:16px}.wh-cr-empty p{color:#7b8592}
.wh-cr-section-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:13px}
.wh-cr-filters{display:grid;grid-template-columns:minmax(260px,1fr) repeat(3,minmax(150px,auto)) auto auto;gap:9px;align-items:center;margin-bottom:17px;padding:13px;background:#fff;border:1px solid #dfe6ef;border-radius:14px}
.wh-cr-filters select,.wh-cr-filters input{height:39px!important;border:1px solid #d8e0ea!important;border-radius:9px!important;box-shadow:none!important}
.wh-cr-search{position:relative}.wh-cr-search span{position:absolute;left:12px;top:9px;color:#8b96a4;font-size:17px}.wh-cr-search input{width:100%;padding-left:36px!important}
.wh-cr-filters .button{height:39px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px!important}
.wh-cr-ticket-grid,.wh-cr-network-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.wh-cr-ticket-card,.wh-cr-network-card{background:#fff;border:1px solid #dfe6ef;border-radius:17px;padding:20px;box-shadow:0 5px 20px rgba(22,48,90,.035)}
.wh-cr-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.wh-cr-card-top h3{margin:4px 0 0;font-size:19px;letter-spacing:-.35px}.wh-cr-eyebrow{font-size:11px;font-weight:850;color:#1463ff;letter-spacing:.05em}
.wh-cr-ticket-meta{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0;padding-bottom:14px;border-bottom:1px solid #edf1f5}.wh-cr-ticket-meta>span{background:#f7f9fc;border-radius:8px;padding:6px 8px;color:#637080;font-size:11px}
.wh-cr-urgency.is-alta,.wh-customer-urgency.is-alta{background:#fff0f0!important;color:#b62929!important}.wh-cr-urgency.is-media,.wh-customer-urgency.is-media{background:#fff3dd!important;color:#a85d04!important}.wh-cr-urgency.is-bassa,.wh-customer-urgency.is-bassa{background:#edf8f3!important;color:#087a4b!important}
.wh-cr-client-row{display:flex;gap:11px;align-items:center}.wh-cr-client-row>div:last-child{display:grid;gap:2px}.wh-cr-client-row small{color:#8a94a2}.wh-cr-client-row strong{font-size:14px}.wh-cr-client-row span{font-size:12px;color:#697585}
.wh-cr-assigned{display:flex;align-items:center;gap:10px;margin-top:15px;padding:12px;background:#edf8f3;border:1px solid #d4efe1;border-radius:11px}.wh-cr-assigned>span{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#1a9b67;color:#fff}.wh-cr-assigned>div{display:grid}.wh-cr-assigned small{color:#658071}.wh-cr-assigned strong{font-size:13px}
.wh-cr-matches{margin-top:16px;padding-top:14px;border-top:1px solid #edf1f5}.wh-cr-subhead{display:flex;justify-content:space-between;margin-bottom:9px}.wh-cr-subhead>span{font-size:11px;color:#83909e}.wh-cr-muted{color:#7d8895;font-size:12px}
.wh-cr-match-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid #f0f3f6}.wh-cr-match-row:last-child{border-bottom:0}.wh-cr-match-info{display:grid;min-width:0}.wh-cr-match-info strong{font-size:12px}.wh-cr-match-info span{font-size:10px;color:#7c8795;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wh-cr-match-level{font-size:10px;font-weight:800;border-radius:999px;padding:5px 7px;white-space:nowrap}.wh-match-high{background:#e8f7ef;color:#087a4b}.wh-match-good{background:#eaf2ff;color:#1458c8}.wh-match-ok{background:#f0f2f5;color:#5b6675}
.wh-cr-card-actions{display:flex;gap:8px;align-items:center;margin-top:16px;padding-top:14px;border-top:1px solid #edf1f5}.wh-cr-card-actions .button{border-radius:8px}
.wh-cr-profile{display:flex;gap:12px;align-items:center}.wh-cr-profile>div:last-child{display:grid;gap:4px}.wh-cr-profile h3{margin:0!important}.wh-cr-profile span{font-size:12px;color:#788391}
.wh-cr-service-box{margin:15px 0;padding:12px 13px;background:#f5f8fc;border-radius:11px;display:grid;gap:3px}.wh-cr-service-box small{color:#7b8795}.wh-cr-service-box strong{font-size:13px}
.wh-cr-details{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0;border:1px solid #e7ecf2;border-radius:11px;overflow:hidden}.wh-cr-details>div{padding:10px 12px;border-bottom:1px solid #edf1f5}.wh-cr-details>div:nth-child(odd){border-right:1px solid #edf1f5}.wh-cr-details>div:nth-last-child(-n+2){border-bottom:0}.wh-cr-details dt{font-size:10px;color:#8993a0}.wh-cr-details dd{margin:3px 0 0;font-size:12px;font-weight:750}
.wh-cr-address{margin:11px 0;color:#637080;font-size:11px}
.wh-cr-contact-row{display:grid;grid-template-columns:1fr 1fr;gap:7px}.wh-cr-contact-row a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:8px 9px;border-radius:8px;background:#f7f9fc;color:#4d5b6c;font-size:11px}
.wh-cr-mail{display:flex;align-items:center;gap:9px;margin-top:10px;padding:9px 10px;border-radius:9px}.wh-cr-mail>span{width:25px;height:25px;border-radius:7px;display:grid;place-items:center;font-weight:900}.wh-cr-mail>div{display:grid;gap:1px}.wh-cr-mail small{font-size:9px}.wh-cr-mail strong{font-size:11px}.wh-cr-mail em{font-size:9px;font-style:normal;opacity:.75}.wh-cr-mail.is-sent{background:#edf8f3;color:#267256}.wh-cr-mail.is-sent>span{background:#1a9b67;color:#fff}.wh-cr-mail.is-error{background:#fff1f1;color:#a54444}.wh-cr-mail.is-error>span{background:#c84a4a;color:#fff}
.wh-cr-network-actions{justify-content:flex-end}.wh-cr-network-actions form{margin:0}.wh-btn-danger{border-color:#d75555!important;color:#b53838!important;background:#fff!important}.wh-btn-danger:hover{border-color:#b53838!important;color:#962929!important}
@media(max-width:1300px){.wh-cr-stats{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1050px){.wh-cr-ticket-grid,.wh-cr-network-grid,.wh-cr-dashboard-grid{grid-template-columns:1fr}.wh-cr-filters{grid-template-columns:1fr 1fr 1fr}.wh-cr-search{grid-column:1/-1}}
@media(max-width:782px){.wh-cr{margin:12px 10px 45px 0!important}.wh-cr-header{align-items:flex-start;flex-direction:column}.wh-cr-brand{border-right:0;border-bottom:1px solid #e4eaf1;padding:0 0 13px;width:100%}.wh-cr-tabs{width:100%;overflow:auto}.wh-cr-stats{grid-template-columns:repeat(2,1fr)}.wh-cr-filters{grid-template-columns:1fr}.wh-cr-search{grid-column:auto}.wh-cr-match-row{grid-template-columns:auto 1fr}.wh-cr-match-level,.wh-cr-match-row form{grid-column:2}.wh-cr-contact-row{grid-template-columns:1fr}}

/* v0.5.9 — storico assegnazioni e fairness */
.wh-cr-assignment-count{
  font-size:10px;font-weight:800;color:#5e6b7b;background:#f1f4f8;border-radius:999px;
  padding:5px 7px;white-space:nowrap
}
.wh-cr-history-filters{grid-template-columns:minmax(280px,1fr) minmax(220px,320px) auto auto}
.wh-cr-fairness{margin-bottom:17px}
.wh-cr-ranking{display:grid}
.wh-cr-rank-row{
  display:grid;grid-template-columns:32px auto minmax(0,1fr) auto auto;
  gap:11px;align-items:center;padding:12px 2px;border-bottom:1px solid #edf1f5
}
.wh-cr-rank-row:last-child{border-bottom:0}
.wh-cr-rank-num{
  width:27px;height:27px;border-radius:8px;background:#eef4ff;color:#1463ff;
  display:grid;place-items:center;font-size:11px;font-weight:900
}
.wh-cr-rank-info{display:grid;gap:3px}
.wh-cr-rank-info strong{font-size:13px}.wh-cr-rank-info span{font-size:10px;color:#7e8996}
.wh-cr-rank-count{font-size:12px;font-weight:850;color:#10213a;white-space:nowrap}
.wh-cr-history-list{display:grid;gap:10px}
.wh-cr-history-row{
  display:grid;grid-template-columns:80px minmax(180px,1fr) 30px minmax(180px,1fr) auto auto;
  align-items:center;gap:13px;background:#fff;border:1px solid #dfe6ef;border-radius:14px;padding:14px 16px
}
.wh-cr-history-date{display:grid;gap:2px}.wh-cr-history-date strong{font-size:12px}.wh-cr-history-date span{font-size:10px;color:#84909d}
.wh-cr-history-ticket{display:grid;gap:3px}.wh-cr-history-ticket>strong{font-size:13px}.wh-cr-history-ticket small{font-size:10px;color:#7f8996}
.wh-cr-history-arrow{color:#1463ff;font-size:19px;font-weight:900;text-align:center}
.wh-cr-history-tech{display:flex;align-items:center;gap:9px}.wh-cr-history-tech>div:last-child{display:grid}.wh-cr-history-tech small{font-size:9px;color:#87919e}.wh-cr-history-tech strong{font-size:12px}
.wh-cr-history-source{font-size:10px;color:#697585;background:#f5f7fa;padding:6px 8px;border-radius:999px;white-space:nowrap}
@media(max-width:1100px){
  .wh-cr-match-row{grid-template-columns:auto minmax(0,1fr) auto}
  .wh-cr-match-level,.wh-cr-assignment-count,.wh-cr-match-row form{grid-column:2}
  .wh-cr-history-row{grid-template-columns:70px 1fr auto}
  .wh-cr-history-arrow{display:none}
  .wh-cr-history-tech{grid-column:2}
  .wh-cr-history-source{grid-column:2}
}
@media(max-width:782px){
  .wh-cr-history-filters{grid-template-columns:1fr}
  .wh-cr-rank-row{grid-template-columns:30px auto 1fr}
  .wh-cr-rank-count,.wh-cr-rank-row>.wh-cr-pill{grid-column:3}
  .wh-cr-history-row{grid-template-columns:1fr}
  .wh-cr-history-date,.wh-cr-history-ticket,.wh-cr-history-tech,.wh-cr-history-source{grid-column:auto}
}

/* =========================================================
   v0.6.0 — RATING CLIENTI + AFFIDABILITÀ WHYHAB
   ========================================================= */
.wh-stats-5{grid-template-columns:repeat(5,1fr)}
.wh-stat-reliability{background:linear-gradient(145deg,#f8fbff,#eef5ff)}
.wh-review-box{
  width:100%;margin-top:16px;padding:20px;border:1px solid #dbe5f0;border-radius:16px;
  background:linear-gradient(145deg,#fbfdff,#f3f7fc)
}
.wh-review-head h3{margin:4px 0 6px;font-size:20px}.wh-review-head p{margin:0;color:var(--wh-muted);line-height:1.55}
.wh-review-kicker{font-size:10px;font-weight:900;letter-spacing:.08em;color:var(--wh-blue)}
.wh-review-form{margin-top:17px}.wh-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.wh-review-form label{display:block;font-size:12px;font-weight:800;color:#34445a}
.wh-review-form select,.wh-review-form textarea{
  width:100%;box-sizing:border-box;margin-top:7px;padding:11px 12px;border:1px solid #cfdae7;
  border-radius:10px;background:#fff;font:inherit;color:#10213a
}
.wh-review-form select:focus,.wh-review-form textarea:focus{outline:2px solid rgba(20,99,255,.13);border-color:#1463ff}
.wh-review-comment{display:block;margin-top:13px}.wh-review-comment span{font-weight:500;color:#83909f}
.wh-review-submit{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px}
.wh-review-submit small{max-width:55%;color:#7a8694;line-height:1.45}
.wh-review-saved{display:flex;align-items:center;gap:8px;padding:8px 11px;border-radius:10px;background:#edf8f3;color:#166d4d}
.wh-review-saved>span{font-size:19px}.wh-review-saved>div{display:grid}.wh-review-saved small{font-size:9px}.wh-review-saved strong{font-size:12px}
.wh-reliability{
  display:flex;align-items:center;gap:11px;border-radius:12px;padding:11px 13px;border:1px solid transparent
}
.wh-rel-score{display:flex;align-items:baseline;gap:2px}.wh-rel-score strong{font-size:25px;line-height:1}.wh-rel-score span{font-size:10px;font-weight:800;opacity:.7}
.wh-rel-copy{display:grid;gap:2px}.wh-rel-copy small{font-size:9px;text-transform:uppercase;letter-spacing:.06em}.wh-rel-copy strong{font-size:12px}.wh-rel-copy span{font-size:10px;opacity:.8}
.wh-rel-new{background:#f2f5f8;color:#5c6876;border-color:#e2e8ee}.wh-rel-excellent{background:#e9f8f0;color:#087a4b;border-color:#d4efe1}
.wh-rel-verygood{background:#eaf2ff;color:#1458c8;border-color:#d7e5ff}.wh-rel-good{background:#eef7ff;color:#326482;border-color:#dcecf7}
.wh-rel-watch{background:#fff4df;color:#a76105;border-color:#f6e6c5}.wh-rel-critical{background:#fff0f0;color:#ab3030;border-color:#f3d6d6}
.wh-reliability-compact{display:grid;gap:1px;padding:5px 8px;border-radius:999px;white-space:nowrap;line-height:1}
.wh-reliability-compact strong{font-size:10px}.wh-reliability-compact small{font-size:8px}
.wh-cr-network-reliability{margin:0 0 12px}
.wh-cr-review-filters{grid-template-columns:minmax(280px,1fr) minmax(190px,260px) minmax(150px,200px) auto auto}
.wh-cr-rating-overview{margin-bottom:17px}.wh-cr-rating-ranking{display:grid}
.wh-cr-rating-rank-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center;padding:11px 2px;border-bottom:1px solid #edf1f5}
.wh-cr-rating-rank-row:last-child{border-bottom:0}
.wh-cr-review-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.wh-cr-review-card{background:#fff;border:1px solid #dfe6ef;border-radius:16px;padding:18px}
.wh-cr-review-top{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding-bottom:13px;border-bottom:1px solid #edf1f5}
.wh-cr-review-top h3{margin:3px 0;font-size:17px}.wh-cr-review-top small{color:#7d8895;font-size:10px}
.wh-cr-review-score{display:flex;align-items:baseline;gap:2px;padding:8px 10px;border-radius:10px;background:#fff5d9;color:#9c6700}
.wh-cr-review-score strong{font-size:17px}.wh-cr-review-score span{font-size:9px;font-weight:800}
.wh-cr-review-people{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
.wh-cr-review-people>div{display:grid;padding:9px 10px;border-radius:9px;background:#f7f9fc}
.wh-cr-review-people small{font-size:9px;color:#87919e}.wh-cr-review-people strong{font-size:11px;margin-top:2px}
.wh-cr-review-criteria{display:grid;gap:7px}
.wh-cr-review-criteria>div{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:10px}
.wh-cr-review-criteria span{color:#657180}.wh-cr-review-criteria strong{color:#e0a400;letter-spacing:.04em;white-space:nowrap}
.wh-cr-review-comment{margin:13px 0 0;padding:11px 12px;border-left:3px solid #1463ff;background:#f6f9fd;color:#4d5b6c;font-size:11px;line-height:1.5;font-style:normal}
.wh-cr-match-row{grid-template-columns:auto minmax(0,1fr) auto auto auto auto}
@media(max-width:1100px){
  .wh-stats-5{grid-template-columns:repeat(3,1fr)}
  .wh-cr-review-list{grid-template-columns:1fr}
  .wh-cr-review-filters{grid-template-columns:1fr 1fr 1fr}
  .wh-cr-review-filters .wh-cr-search{grid-column:1/-1}
}
@media(max-width:782px){
  .wh-stats-5{grid-template-columns:repeat(2,1fr)}
  .wh-review-grid{grid-template-columns:1fr}
  .wh-review-submit{align-items:stretch;flex-direction:column}.wh-review-submit small{max-width:none}
  .wh-cr-review-filters{grid-template-columns:1fr}.wh-cr-review-filters .wh-cr-search{grid-column:auto}
}
@media(max-width:560px){.wh-stats-5{grid-template-columns:1fr}}

@media(max-width:1100px){
  .wh-cr-match-row .wh-reliability-compact{grid-column:2}
}


/* =========================================================
   v0.6.1 — REGISTRAZIONE CLIENTE: FIX DEFINITIVO LAYOUT
   ========================================================= */
.wh-customer-register-form{
  gap:20px!important;
}
.wh-customer-register-form .wh-grid-2{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:18px!important;
}
.wh-customer-register-form .wh-consents{
  display:grid!important;
  gap:12px!important;
  padding:16px 18px!important;
  border:1px solid #e1e7ef!important;
  border-radius:13px!important;
  background:#f8faff!important;
}
.wh-customer-register-form .wh-check{
  display:grid!important;
  grid-template-columns:20px minmax(0,1fr)!important;
  align-items:start!important;
  gap:11px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.5!important;
  cursor:pointer!important;
}
.wh-customer-register-form .wh-check input[type="checkbox"]{
  appearance:auto!important;
  -webkit-appearance:checkbox!important;
  display:block!important;
  width:18px!important;
  min-width:18px!important;
  max-width:18px!important;
  height:18px!important;
  min-height:18px!important;
  max-height:18px!important;
  margin:1px 0 0 0!important;
  padding:0!important;
  border-radius:3px!important;
  box-shadow:none!important;
}
.wh-customer-register-form .wh-check span{
  display:block!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.wh-customer-register-form .wh-check a,
.wh-customer-register-form .wh-check em{
  display:inline!important;
}
.wh-customer-register-form .wh-btn-full{
  margin-top:2px!important;
}

@media(max-width:700px){
  .wh-customer-register-form .wh-grid-2{
    grid-template-columns:1fr!important;
    gap:18px!important;
  }
  .wh-customer-register-form .wh-consents{
    padding:14px!important;
  }
}


/* =========================================================
   v0.6.2 — HOME LINK + ACCESSI
   ========================================================= */
.wh-brand-link{
  text-decoration:none!important;
  color:inherit!important;
  width:max-content;
}
.wh-brand-link:hover{
  opacity:.88;
}
.wh-sidebar .wh-brand-link{
  color:#fff!important;
}
.wh-login-help{
  margin:10px 0 18px;
  text-align:right;
}
.wh-login-help a{
  color:var(--wh-blue);
  font-size:13px;
  font-weight:750;
  text-decoration:none;
}
.wh-login-help a:hover{text-decoration:underline}
.wh-cr-brand-link{
  text-decoration:none!important;
  color:inherit!important;
}
.wh-cr-access{
  display:flex;align-items:center;gap:9px;margin-top:10px;padding:9px 10px;border-radius:9px
}
.wh-cr-access>span{
  width:25px;height:25px;border-radius:7px;display:grid;place-items:center;font-weight:900
}
.wh-cr-access>div{display:grid;gap:1px}
.wh-cr-access small{font-size:9px}
.wh-cr-access strong{font-size:11px}
.wh-cr-access.is-ready{background:#edf8f3;color:#267256}
.wh-cr-access.is-ready>span{background:#1a9b67;color:#fff}
.wh-cr-access.is-pending{background:#fff4de;color:#946000}
.wh-cr-access.is-pending>span{background:#e0a22c;color:#fff}


/* =========================================================
   v0.6.3 — STRUMENTI RESET DATI TEST
   ========================================================= */
.wh-cr-notice{margin:0 0 18px!important}
.wh-test-summary{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px
}
.wh-test-summary>div{
  display:grid;gap:5px;padding:16px 18px;background:#fff;border:1px solid #dfe6ef;border-radius:14px
}
.wh-test-summary strong{font-size:26px;color:#10213a}
.wh-test-summary span{font-size:12px;color:#738090;font-weight:700}
.wh-test-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.wh-reset-card{position:relative}
.wh-reset-card h3{margin:0 0 9px;font-size:18px;color:#10213a}
.wh-reset-card>p{margin:0 0 15px;color:#647181;line-height:1.6}
.wh-reset-icon{
  width:42px;height:42px;display:grid;place-items:center;margin-bottom:14px;
  border-radius:12px;background:#eaf2ff;color:#1463ff;font-size:20px;font-weight:900
}
.wh-reset-note,.wh-reset-warning{
  margin:14px 0;padding:12px 13px;border-radius:10px;font-size:12px;line-height:1.55
}
.wh-reset-note{background:#f5f8fc;color:#5f6d7e;border:1px solid #e3e9f0}
.wh-reset-warning{background:#fff1f1;color:#923b3b;border:1px solid #f0d2d2}
.wh-reset-list{display:grid;gap:7px;margin:14px 0;color:#526173;font-size:12px}
.wh-reset-list span{display:block}
.wh-reset-confirm{display:grid;gap:7px;margin-top:17px;font-size:12px;color:#5f6d7e}
.wh-reset-confirm input{
  width:100%!important;max-width:220px;height:39px!important;border-radius:9px!important;
  border:1px solid #d7dfe8!important;box-shadow:none!important;text-transform:uppercase;font-weight:800
}
.wh-reset-button{margin-top:11px!important;height:39px!important;border-radius:9px!important}
.wh-reset-card-danger{border-color:#ead4d4}
.wh-reset-card-danger .wh-reset-icon{background:#fff0f0;color:#b53838}
@media(max-width:900px){
  .wh-test-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
  .wh-test-summary{grid-template-columns:1fr}
}


/* =========================================================
   v0.6.4 — PASSWORD / ACCESSO COMPLETAMENTE WHYHAB
   ========================================================= */
.wh-password-intro{
  display:flex;align-items:center;gap:12px;margin:0 0 20px;padding:14px 15px;
  border:1px solid #dce7f6;background:#f5f9ff;border-radius:12px
}
.wh-password-shield{
  width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;
  border-radius:11px;background:#1463ff;color:#fff;font-size:18px;font-weight:900
}
.wh-password-intro>div{display:grid;gap:3px}
.wh-password-intro strong{font-size:13px;color:#10213a}
.wh-password-intro p{margin:0;font-size:11px;line-height:1.45;color:#6f7b8b}
.wh-password-form small{
  display:block;margin:-10px 0 2px;color:#7b8795;font-size:10px;line-height:1.45
}
.wh-password-form input[type="password"],
.wh-password-form input[type="email"]{
  width:100%!important
}


/* =========================================================
   v0.6.5 — NUOVI TICKET + SLA URGENZA
   ========================================================= */
.wh-cr-new-alert{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;
  margin-bottom:16px;padding:16px 18px;background:#eef5ff;border:1px solid #cfe0ff;
  border-radius:15px;box-shadow:0 6px 20px rgba(20,70,160,.04)
}
.wh-cr-new-alert-icon{
  width:38px;height:38px;border-radius:11px;background:#1463ff;color:#fff;
  display:grid;place-items:center;font-weight:900;font-size:18px
}
.wh-cr-new-alert>div:nth-child(2){display:grid;gap:3px}
.wh-cr-new-alert strong{font-size:14px;color:#10213a}
.wh-cr-new-alert span{font-size:12px;color:#627084}
.wh-cr-new-alert .button{height:38px;display:inline-flex;align-items:center;border-radius:9px!important}
.wh-cr-new-tickets-panel{margin-bottom:18px}
.wh-cr-new-ticket-list{display:grid}
.wh-cr-new-ticket-row{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:11px;align-items:center;
  padding:13px 2px;border-bottom:1px solid #edf1f5;color:#10213a!important
}
.wh-cr-new-ticket-row:last-child{border-bottom:0}
.wh-cr-new-ticket-row:hover .wh-cr-new-ticket-main strong{color:#1463ff}
.wh-cr-new-dot{width:9px;height:9px;border-radius:50%;background:#1463ff;box-shadow:0 0 0 5px #eaf2ff}
.wh-cr-new-ticket-main{display:grid;gap:4px;min-width:0}
.wh-cr-new-ticket-main strong{font-size:13px}
.wh-cr-new-ticket-main span{font-size:10px;color:#7a8694;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wh-cr-new-ticket-time{font-size:10px;color:#8a95a2;white-space:nowrap}
.wh-cr-urgency,
.wh-customer-urgency{
  display:inline-flex;align-items:center;width:max-content;border-radius:999px;
  padding:6px 8px;font-size:10px;font-weight:850;white-space:nowrap
}
.wh-customer-urgency{margin-top:7px}
@media(max-width:900px){
  .wh-cr-new-alert{grid-template-columns:auto 1fr}
  .wh-cr-new-alert .button{grid-column:2;width:max-content}
  .wh-cr-new-ticket-row{grid-template-columns:auto 1fr}
  .wh-cr-new-ticket-row .wh-cr-urgency,
  .wh-cr-new-ticket-time{grid-column:2}
}


/* =========================================================
   v0.6.6 — FIX KPI "NUOVI TICKET"
   ========================================================= */
.wh-cr-stat.wh-stat-blue,
.wh-cr-stat.wh-stat-blue strong,
.wh-cr-stat.wh-stat-blue small{
  color:#10213a!important;
}
.wh-cr-stat.wh-stat-blue .wh-cr-stat-icon{
  color:#1463ff!important;
  background:#eef4ff!important;
}
.wh-cr-stat.wh-stat-blue{
  background:#fff!important;
}


/* =========================================================
   v0.7.0 — TICKET ADVANCED WORKFLOW
   ========================================================= */

/* Nuovi stati */
.wh-badge-preventivo_ricevuto{background:#f0ebff;color:#7044b6}
.wh-badge-offerta_cliente{background:#eaf2ff;color:#1458c8}
.wh-badge-da_riassegnare{background:#fff3dd;color:#a85d04}
.wh-badge-accettato{background:#e9f8f0;color:#087a4b}
.wh-badge-rifiutato{background:#fff0f0;color:#ac3030}
.wh-ticket-preventivo_ricevuto{background:#f0ebff;color:#7044b6}
.wh-ticket-offerta_cliente{background:#eaf2ff;color:#1458c8}
.wh-ticket-da_riassegnare,.wh-ticket-rifiutato{background:#fff3dd;color:#a85d04}
.wh-ticket-accettato{background:#e9f8f0;color:#087a4b}

/* Progress 8 step */
.wh-progress-ticket{
  grid-template-columns:repeat(8,minmax(58px,1fr))!important;
  overflow-x:auto;
  padding:4px 0 8px;
}
.wh-progress-ticket .wh-step{min-width:58px}
.wh-progress-ticket .wh-step.is-current small{color:var(--wh-blue)}
.wh-progress-ticket .wh-step.is-current span{box-shadow:0 0 0 4px rgba(20,99,255,.12)}

/* Upload */
.wh-upload-box{
  display:grid;gap:11px;padding:16px;border:1px dashed #cbd7e6;border-radius:13px;
  background:#f8faff
}
.wh-upload-box>div{display:grid;gap:3px}
.wh-upload-box>div strong{font-size:14px;color:#10213a}
.wh-upload-box>div span,.wh-upload-box small{font-size:11px;color:#788596}
.wh-upload-box input[type=file]{
  width:100%!important;min-height:auto!important;padding:10px!important;
  border:1px solid #dce4ee!important;border-radius:9px!important;background:#fff!important
}
.wh-alert-sub{display:block;margin-top:5px;font-size:12px}

/* Foto ticket */
.wh-photo-block{margin:15px 0}
.wh-photo-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.wh-photo-head strong{font-size:13px;color:#10213a}
.wh-photo-head span{font-size:10px;color:#83909e}
.wh-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.wh-photo-grid a{
  display:block;overflow:hidden;border:1px solid #e0e6ee;border-radius:11px;background:#f2f5f8;
  aspect-ratio:4/3
}
.wh-photo-grid img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .18s ease}
.wh-photo-grid a:hover img{transform:scale(1.03)}

/* Cliente / partner ticket expanded */
.wh-ticket-expanded{padding:20px!important}
.wh-ticket-summary,.wh-ticket-detail-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:14px 0
}
.wh-ticket-detail-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.wh-ticket-summary>div,.wh-ticket-detail-grid>div{
  display:grid;gap:4px;padding:11px 12px;background:#f7f9fc;border-radius:10px
}
.wh-ticket-summary small,.wh-ticket-detail-grid small{font-size:10px;color:#8792a0}
.wh-ticket-summary strong,.wh-ticket-detail-grid strong{font-size:12px;color:#10213a;overflow-wrap:anywhere}
.wh-ticket-description{
  margin:14px 0;padding:13px 14px;background:#fbfcfe;border:1px solid #e8edf3;border-radius:11px
}
.wh-ticket-description>strong{font-size:12px;color:#10213a}
.wh-ticket-description p{margin:7px 0 0;color:#657283;font-size:12px;line-height:1.55}
.wh-status-note{
  display:grid;gap:5px;margin:14px 0;padding:13px 14px;border-radius:11px;
  background:#eef5ff;border:1px solid #d8e6ff;color:#355477
}
.wh-status-note strong{font-size:13px;color:#183d70}
.wh-status-note span{font-size:18px;font-weight:850;color:#10213a}
.wh-status-note p{margin:0;font-size:11px;line-height:1.5}
.wh-status-note.wh-status-success{background:#edf8f3;border-color:#d4efe1;color:#39705b}
.wh-status-note.wh-status-success strong{color:#087a4b}
.wh-status-note.wh-status-warning{background:#fff7e8;border-color:#f2dfba;color:#855e17}
.wh-status-note.wh-status-warning strong{color:#a85d04}

.wh-quote-box{
  margin:15px 0;padding:17px;border:1px solid #dfe6ef;border-radius:13px;background:#fff
}
.wh-quote-box h3{margin:0 0 6px;font-size:16px}
.wh-quote-box>p{margin:0 0 14px;color:#6f7c8d;font-size:12px;line-height:1.5}
.wh-quote-form{margin-bottom:10px}
.wh-reject-assignment-form{margin-top:8px}

.wh-customer-offer{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center;
  margin:15px 0;padding:18px;border-radius:14px;background:#eef5ff;border:1px solid #cfe0ff
}
.wh-customer-offer span{font-size:10px;font-weight:850;letter-spacing:.05em;color:#1458c8}
.wh-customer-offer h3{margin:6px 0 7px;font-size:25px;color:#10213a}
.wh-customer-offer p{margin:0;max-width:590px;font-size:11px;line-height:1.55;color:#617286}
.wh-offer-actions{display:flex;gap:8px;flex-wrap:wrap}
.wh-offer-actions form{margin:0}

.wh-final-price{
  display:grid;gap:4px;margin:15px 0;padding:15px 16px;border-radius:12px;
  background:#edf8f3;border:1px solid #d4efe1
}
.wh-final-price small{font-size:10px;color:#608071}
.wh-final-price strong{font-size:23px;color:#087a4b}
.wh-final-price span{font-size:10px;color:#66776f}
.wh-stat-attention{border-color:#cfe0ff!important;background:#f5f8ff!important}

/* Storico offerte */
.wh-offer-history{
  display:grid;gap:7px;margin:14px 0;padding:13px;border:1px solid #e3e9f0;border-radius:11px;background:#fafbfd
}
.wh-subtitle{font-size:11px;font-weight:850;color:#596879;text-transform:uppercase;letter-spacing:.04em}
.wh-offer-row{
  display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 0;
  border-bottom:1px solid #edf1f5
}
.wh-offer-row:last-child{border-bottom:0}
.wh-offer-row>div{display:grid;gap:3px}
.wh-offer-row>div strong{font-size:12px;color:#10213a}
.wh-offer-row>div span{font-size:10px;color:#7e8996}
.wh-offer-row>strong{font-size:12px;white-space:nowrap}

/* Control Room pipeline */
.wh-cr-pipeline{
  margin-bottom:18px;padding:17px;background:#fff;border:1px solid #dfe6ef;border-radius:16px
}
.wh-cr-pipeline-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:12px}
.wh-cr-pipeline-head strong{font-size:16px;color:#10213a}
.wh-cr-pipeline-head span{font-size:11px;color:#84909d}
.wh-cr-pipeline-steps{
  display:grid;grid-template-columns:repeat(9,minmax(90px,1fr));gap:7px;overflow-x:auto;padding-bottom:3px
}
.wh-cr-pipeline-steps a{
  min-width:90px;display:grid;gap:4px;padding:11px;border-radius:10px;background:#f6f8fb;
  color:#536173!important;border:1px solid #edf1f5
}
.wh-cr-pipeline-steps a:hover{border-color:#cbd9ec;background:#f1f6ff}
.wh-cr-pipeline-steps a strong{font-size:20px;color:#10213a}
.wh-cr-pipeline-steps a span{font-size:9px;font-weight:750}
.wh-cr-pipeline-steps a.has-alert{background:#fff6e6;border-color:#f0d8a5}
.wh-cr-pipeline-steps a.has-alert strong{color:#a85d04}

/* Control Room ticket advanced */
.wh-cr-ticket-list{display:grid;gap:17px}
.wh-cr-ticket-card-wide{padding:21px!important}
.wh-cr-ticket-status-stack{display:grid;justify-items:end;gap:7px}
.wh-cr-ticket-core{
  display:grid;grid-template-columns:1.2fr 2fr .8fr;gap:10px;margin:14px 0
}
.wh-cr-ticket-info{
  display:grid;align-content:center;gap:3px;padding:11px 12px;border-radius:10px;background:#f7f9fc
}
.wh-cr-ticket-info small{font-size:9px;color:#8a95a2}
.wh-cr-ticket-info strong{font-size:11px;color:#10213a}
.wh-cr-ticket-info span{font-size:9px;color:#7b8795}
.wh-cr-ticket-description{
  margin:13px 0;padding:12px 13px;background:#fbfcfe;border:1px solid #e8edf3;border-radius:10px
}
.wh-cr-ticket-description strong{font-size:11px}
.wh-cr-ticket-description p{margin:6px 0 0;color:#667383;font-size:11px;line-height:1.5}

.wh-ticket-timeline{
  display:grid;grid-template-columns:repeat(8,minmax(75px,1fr));gap:4px;
  margin:15px 0;padding:12px 8px;background:#f7f9fc;border-radius:11px;overflow-x:auto
}
.wh-ticket-stage{position:relative;display:grid;justify-items:center;gap:6px;min-width:75px;color:#9aa4b0}
.wh-ticket-stage:before{
  content:"";position:absolute;left:-50%;right:50%;height:2px;top:12px;background:#dce3eb
}
.wh-ticket-stage:first-child:before{display:none}
.wh-ticket-stage>span{
  position:relative;z-index:2;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;
  background:#e2e7ed;color:#788493;font-size:9px;font-weight:900;border:3px solid #f7f9fc
}
.wh-ticket-stage small{font-size:8px;text-align:center;font-weight:750}
.wh-ticket-stage.is-done:before,.wh-ticket-stage.is-current:before{background:#1463ff}
.wh-ticket-stage.is-done>span{background:#1463ff;color:#fff}
.wh-ticket-stage.is-current>span{background:#fff;color:#1463ff;box-shadow:0 0 0 2px #1463ff}
.wh-ticket-stage.is-current small{color:#1463ff}

.wh-cr-offer-action{
  display:flex;align-items:center;justify-content:space-between;gap:15px;
  margin:13px 0;padding:13px 14px;border-radius:11px;background:#f0ebff;border:1px solid #dfd5fb
}
.wh-cr-offer-action>div{display:grid;gap:3px}
.wh-cr-offer-action small{font-size:9px;color:#786695}
.wh-cr-offer-action strong{font-size:19px;color:#4f318b}
.wh-cr-offer-action span{font-size:9px;color:#746b80}
.wh-cr-offer-action.is-waiting{background:#eef5ff;border-color:#d5e4ff}
.wh-cr-offer-action.is-waiting strong{color:#1458c8}
.wh-cr-offer-action.is-approved{background:#edf8f3;border-color:#d4efe1}
.wh-cr-offer-action.is-approved strong{color:#087a4b}
.wh-cr-final-price{
  display:flex;align-items:center;gap:12px;margin:13px 0;padding:12px 14px;
  background:#edf8f3;border:1px solid #d4efe1;border-radius:11px
}
.wh-cr-final-price small{font-size:10px;color:#648274}
.wh-cr-final-price strong{font-size:19px;color:#087a4b}
.wh-cr-final-price span{font-size:10px;color:#708077;margin-left:auto}
.wh-cr-ticket-admin-actions{justify-content:space-between!important}

.wh-ticket-history{
  margin-top:13px;border-top:1px solid #edf1f5;padding-top:11px
}
.wh-ticket-history summary{cursor:pointer;font-size:11px;font-weight:800;color:#536173}
.wh-ticket-history-list{display:grid;margin-top:10px}
.wh-ticket-history-list>div{
  display:grid;grid-template-columns:auto 1fr;gap:9px;padding:7px 0
}
.wh-ticket-history-list>div>span{width:8px;height:8px;border-radius:50%;background:#1463ff;margin-top:4px}
.wh-ticket-history-list>div>div{display:grid;gap:2px}
.wh-ticket-history-list strong{font-size:10px}
.wh-ticket-history-list small{font-size:9px;color:#84909e}

/* admin photo gallery smaller */
.wh-cr .wh-photo-grid{max-width:520px}
.wh-cr .wh-photo-grid a{aspect-ratio:16/10}

@media(max-width:1150px){
  .wh-ticket-detail-grid{grid-template-columns:repeat(2,1fr)}
  .wh-cr-ticket-core{grid-template-columns:1fr 1fr}
  .wh-cr-ticket-core>div:last-child{grid-column:1/-1}
}
@media(max-width:860px){
  .wh-ticket-summary{grid-template-columns:1fr 1fr}
  .wh-customer-offer{grid-template-columns:1fr}
  .wh-cr-ticket-core{grid-template-columns:1fr}
  .wh-cr-ticket-core>div:last-child{grid-column:auto}
  .wh-cr-offer-action{align-items:flex-start;flex-direction:column}
  .wh-cr-final-price{align-items:flex-start;flex-direction:column}
  .wh-cr-final-price span{margin-left:0}
}
@media(max-width:560px){
  .wh-photo-grid{grid-template-columns:repeat(2,1fr)}
  .wh-ticket-summary,.wh-ticket-detail-grid{grid-template-columns:1fr}
  .wh-offer-row{align-items:flex-start;flex-direction:column}
  .wh-progress-ticket{grid-template-columns:repeat(8,68px)!important}
}

.wh-stats-6{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:1150px){.wh-stats-6{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.wh-stats-6{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.wh-stats-6{grid-template-columns:1fr}}


/* =========================================================
   v0.8.0 — PRICE GUARD / TARIFFARIO / NUOVO WORKFLOW
   ========================================================= */
.wh-price-guard{
  margin:16px 0;padding:15px 16px;border-radius:13px;
  background:#eef5ff;border:1px solid #cfe0ff;display:grid;gap:5px
}
.wh-price-guard small{font-size:10px;font-weight:850;color:#5273a6;text-transform:uppercase;letter-spacing:.04em}
.wh-price-guard strong{font-size:24px;color:#12335f}
.wh-price-guard span{font-size:11px;line-height:1.5;color:#61738c}

.wh-assignment-decision{
  margin-top:16px;padding:17px;border-radius:14px;background:#f7f9fc;border:1px solid #e0e7ef
}
.wh-assignment-decision h3{margin:0 0 7px}.wh-assignment-decision p{margin:0 0 14px;color:#687687;line-height:1.55}

.wh-work-actions-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:15px}
.wh-variation-box{background:#fffaf2!important;border-color:#f0dfbd!important}
.wh-customer-variation{
  margin:16px 0;padding:18px;border-radius:14px;background:#fff8e9;border:1px solid #edd9aa
}
.wh-customer-variation>span{font-size:10px;font-weight:900;letter-spacing:.05em;color:#9b660d}
.wh-customer-variation h3{font-size:25px;margin:7px 0 12px;color:#55380a}
.wh-customer-variation p{color:#695d4a}

.wh-cr-pricing-box{
  margin:16px 0;padding:17px;border-radius:14px;background:#f7faff;border:1px solid #d8e5f8
}
.wh-cr-pricing-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:13px}
.wh-cr-pricing-head small{font-size:9px;font-weight:900;letter-spacing:.06em;color:#5576a6}
.wh-cr-pricing-head h4{margin:4px 0 0;font-size:16px;color:#10213a}
.wh-cr-tariff-found,.wh-cr-tariff-missing{
  padding:6px 9px;border-radius:999px;font-size:10px;font-weight:850;white-space:nowrap
}
.wh-cr-tariff-found{background:#e8f7ef;color:#087a4b}
.wh-cr-tariff-missing{background:#fff3dd;color:#9d6200}
.wh-cr-price-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.wh-cr-price-grid label{display:grid;gap:5px;font-size:11px;font-weight:750;color:#5f6c7c}
.wh-cr-price-grid input{height:39px!important;border-radius:9px!important;border:1px solid #d7e0eb!important;box-shadow:none!important}
.wh-cr-price-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.wh-cr-pricing-disclaimer{margin:12px 0 0;font-size:10px;line-height:1.55;color:#7a8797}
.wh-cr-price-summary{
  display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:15px 0
}
.wh-cr-price-summary>div{padding:12px;border-radius:10px;background:#f5f8fc;border:1px solid #e5ebf2;display:grid;gap:3px}
.wh-cr-price-summary small{font-size:9px;color:#85909e}.wh-cr-price-summary strong{font-size:12px}

.wh-invite-history,.wh-variation-history{margin-top:15px;padding-top:13px;border-top:1px solid #edf1f5}
.wh-invite-row,.wh-variation-row{
  display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:8px 0;border-bottom:1px solid #f0f3f6
}
.wh-invite-row:last-child,.wh-variation-row:last-child{border-bottom:0}
.wh-invite-row>div,.wh-variation-row>div{display:grid;gap:3px}
.wh-invite-row strong,.wh-variation-row strong{font-size:11px}
.wh-invite-row span,.wh-invite-row small,.wh-variation-row span{font-size:9px;color:#7e8996}

.wh-pricebook-intro{margin-bottom:15px}.wh-pricebook-intro p{margin:7px 0 0;color:#687687;line-height:1.6}
.wh-pricebook-form{background:#fff;border:1px solid #dfe6ef;border-radius:16px;overflow:hidden}
.wh-pricebook-table{display:grid}
.wh-pricebook-row{
  display:grid;grid-template-columns:160px 120px 120px minmax(220px,1fr) minmax(180px,1fr);
  gap:9px;align-items:center;padding:10px 14px;border-bottom:1px solid #edf1f5
}
.wh-pricebook-row:last-child{border-bottom:0}
.wh-pricebook-row input{width:100%;height:37px;border-radius:8px;border:1px solid #d8e0ea;box-shadow:none}
.wh-pricebook-head{background:#f6f8fb;color:#6a7788;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.03em}
.wh-pricebook-save{padding:14px;border-top:1px solid #e7edf3;background:#fafbfd;text-align:right}

.wh-ticket-prezzo_definito{background:#eaf2ff;color:#1458c8}
.wh-ticket-nessun_partner{background:#fff0f0;color:#ac3030}
.wh-ticket-variazione_richiesta{background:#fff3dd;color:#9d6200}

@media(max-width:1100px){
  .wh-work-actions-grid{grid-template-columns:1fr}
  .wh-pricebook-row{grid-template-columns:130px 100px 100px 1fr}
  .wh-pricebook-row>input:last-child{grid-column:2/-1}
}
@media(max-width:782px){
  .wh-cr-price-grid,.wh-cr-price-summary{grid-template-columns:1fr}
  .wh-pricebook-row,.wh-pricebook-head{grid-template-columns:1fr}
  .wh-pricebook-head{display:none}
}


/* =========================================================
   v0.8.1 — TICKET COMPACT UX
   ========================================================= */
.wh-panel-compact{padding-bottom:12px!important}
.wh-ticket.wh-ticket-compact{
  padding:16px!important;margin:10px 0!important;border-radius:14px!important;
}
.wh-ticket-compact .wh-ticket-top{margin-bottom:10px!important}
.wh-ticket-compact .wh-ticket-top strong{font-size:15px!important}
.wh-ticket-compact .wh-ticket-top p{margin:3px 0 0!important;font-size:12px!important}

.wh-ticket-quick{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:8px 0 10px
}
.wh-quick-chip{
  display:grid;gap:3px;padding:9px 10px;border-radius:9px;background:#f6f8fb;border:1px solid #e8edf3;min-width:0
}
.wh-quick-chip small{font-size:9px;color:#8993a0;text-transform:uppercase;letter-spacing:.03em}
.wh-quick-chip strong{font-size:11px;color:#24344b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wh-quick-price{background:#eef5ff;border-color:#d8e6fa}.wh-quick-price strong{color:#1458c8;font-size:13px}
.wh-quick-final{background:#eaf8f1;border-color:#d5eedf}.wh-quick-final strong{color:#087a4b;font-size:13px}

.wh-next-step{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:10px 12px;margin:8px 0;border-radius:9px;background:#f7f9fc;border:1px solid #e7ecf2
}
.wh-next-step span{font-size:9px;color:#85909d;text-transform:uppercase;font-weight:850}
.wh-next-step strong{font-size:11px;color:#405066;text-align:right}
.wh-next-success{background:#edf8f3;border-color:#d5eee1}.wh-next-success strong{color:#17734f}
.wh-next-warning{background:#fff7e8;border-color:#f0dfbb}.wh-next-warning strong{color:#95620b}

.wh-compact-action{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:12px 13px;margin:9px 0;border-radius:11px;background:#eef5ff;border:1px solid #d5e4fb
}
.wh-compact-action>div:first-child{display:grid;gap:3px;min-width:0}
.wh-compact-action>div:first-child>span{font-size:9px;font-weight:900;color:#5577aa;letter-spacing:.05em}
.wh-compact-action>div:first-child>strong{font-size:13px;color:#17375f}
.wh-compact-action p{margin:2px 0 0!important;font-size:10px;color:#6d7c8f;line-height:1.45}
.wh-compact-action-success{background:#edf8f3;border-color:#d2ebdf}.wh-compact-action-success>div:first-child>span{color:#25805d}
.wh-compact-action-warning{background:#fff7e8;border-color:#eeddb8}.wh-compact-action-warning>div:first-child>span{color:#a2690a}
.wh-compact-actions-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:9px 0}

.wh-ticket-details,.wh-action-drawer,.wh-cr-ticket-details{
  margin-top:9px;border:1px solid #e5ebf2;border-radius:10px;background:#fff;overflow:hidden
}
.wh-ticket-details>summary,.wh-action-drawer>summary,.wh-cr-ticket-details>summary{
  list-style:none;cursor:pointer;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;
  font-size:11px;font-weight:800;color:#536175;background:#fafbfd
}
.wh-ticket-details>summary::-webkit-details-marker,.wh-action-drawer>summary::-webkit-details-marker,.wh-cr-ticket-details>summary::-webkit-details-marker{display:none}
.wh-ticket-details[open]>summary,.wh-action-drawer[open]>summary,.wh-cr-ticket-details[open]>summary{border-bottom:1px solid #e8edf3;color:#1458c8}
.wh-ticket-details>summary span,.wh-cr-ticket-details>summary span{font-size:17px;transition:.15s}
.wh-ticket-details[open]>summary span,.wh-cr-ticket-details[open]>summary span{transform:rotate(90deg)}
.wh-ticket-details-body,.wh-action-drawer-body,.wh-cr-ticket-details-body{padding:12px}
.wh-action-drawer>summary{display:grid;grid-template-columns:1fr auto}.wh-action-drawer>summary strong{font-size:11px}.wh-action-drawer>summary span{font-size:9px;color:#84909e}
.wh-action-drawer-warning>summary{background:#fffaf2;color:#91600c}
.wh-action-required{border-color:#d5e4fb;background:#f8fbff}
.wh-action-required>summary{grid-template-columns:auto 1fr auto;background:#eef5ff}
.wh-action-required>summary>span{font-size:9px;color:#1458c8;font-weight:900}
.wh-action-required>summary>em{font-size:10px;color:#5e6f85;font-style:normal}

.wh-ticket-details .wh-progress-ticket{margin:0 0 14px!important}
.wh-ticket-details .wh-review-box{margin:0!important;border:0!important;box-shadow:none!important;padding:4px!important}
.wh-ticket-details .wh-photo-gallery,.wh-action-drawer .wh-photo-gallery{margin-top:10px}
.wh-ticket-compact .wh-price-guard{margin:10px 0!important;padding:12px!important}
.wh-ticket-compact .wh-ticket-description{margin:10px 0!important}

.wh-cr-ticket-card-wide{padding:16px!important}
.wh-cr-ticket-card-wide .wh-ticket-timeline{margin:11px 0!important}
.wh-cr-ticket-details{margin:12px 0}
.wh-cr-ticket-details-body .wh-photo-gallery{margin-top:10px}
.wh-cr-history-details{background:#fafbfd}
.wh-mail-status{display:block;margin-top:5px;font-size:10px;font-style:normal;font-weight:800}
.wh-mail-status.is-ok{color:#087a4b}.wh-mail-status.is-error{color:#b23838}

@media(max-width:980px){
  .wh-ticket-quick{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wh-compact-actions-row{grid-template-columns:1fr}
}
@media(max-width:620px){
  .wh-ticket-quick{grid-template-columns:1fr 1fr}
  .wh-compact-action{align-items:flex-start;flex-direction:column}
  .wh-next-step{align-items:flex-start;flex-direction:column}
  .wh-next-step strong{text-align:left}
}


/* v0.8.2 — data ticket accanto al numero pratica */
.wh-ticket-top strong,
.wh-cr-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:6px;
}


/* =========================================================
   v0.9.0 — OPERATIONS
   ========================================================= */

/* SLA */
.wh-sla{
  display:inline-flex;align-items:center;width:max-content;
  padding:5px 8px;border-radius:999px;font-size:10px;font-weight:850;
  margin:7px 0 0
}
.wh-sla-ok{background:#edf8f3;color:#087a4b}
.wh-sla-soon{background:#fff3dd;color:#9d6200}
.wh-sla-late{background:#fff0f0;color:#b62929}
.wh-sla-done{background:#f1f3f6;color:#697482}
.wh-cr-ticket-status-stack .wh-sla{margin:0}

/* Subscription */
.wh-subscription-strip{
  display:flex;justify-content:space-between;gap:16px;align-items:center;
  margin:0 0 14px;padding:12px 14px;border:1px solid #e0e7ef;border-radius:13px;background:#fafbfd
}
.wh-subscription-strip>div{display:grid;gap:4px}
.wh-subscription-strip small{font-size:9px;color:#7d8998;text-transform:uppercase;font-weight:850}
.wh-subscription-strip>span{font-size:10px;color:#758191;max-width:520px;line-height:1.45;text-align:right}
.wh-subscription-badge{display:inline-flex;width:max-content;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:850}
.wh-subscription-badge.is-active{background:#e8f7ef;color:#087a4b}
.wh-subscription-badge.is-expired{background:#fff0f0;color:#b62929}

/* Partner availability */
.wh-availability-panel{
  margin:0 0 14px;border:1px solid #dfe6ef;border-radius:14px;background:#fff;overflow:hidden
}
.wh-availability-panel>summary{
  list-style:none;cursor:pointer;padding:13px 15px;display:flex;align-items:center;justify-content:space-between;gap:15px
}
.wh-availability-panel>summary::-webkit-details-marker{display:none}
.wh-availability-panel>summary>div{display:flex;align-items:center;gap:9px;min-width:0}
.wh-availability-panel summary strong{font-size:12px}
.wh-availability-panel summary small{font-size:10px;color:#758191}
.wh-availability-panel summary em{font-style:normal;font-size:10px;font-weight:800;color:#3568b5}
.wh-availability-dot{width:10px;height:10px;border-radius:50%;flex:0 0 auto}
.wh-availability-dot.is-available{background:#1a9b62;box-shadow:0 0 0 5px #e8f7ef}
.wh-availability-dot.is-unavailable{background:#b6bec8;box-shadow:0 0 0 5px #f1f3f6}
.wh-availability-form{padding:14px 15px;border-top:1px solid #edf1f5}
.wh-availability-days{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}
.wh-availability-days label{display:block}
.wh-availability-days input{position:absolute;opacity:0;pointer-events:none}
.wh-availability-days span{display:inline-flex;padding:7px 9px;border:1px solid #dbe2eb;border-radius:8px;font-size:10px;font-weight:800;cursor:pointer}
.wh-availability-days input:checked+span{background:#edf4ff;border-color:#b9d0f8;color:#1458c8}
.wh-toggle-row{display:flex!important;align-items:center;gap:9px!important}
.wh-toggle-row input{width:18px!important;height:18px!important;margin:0!important}
.wh-toggle-row span{font-size:12px;font-weight:750}

/* Ticket messages */
.wh-ticket-messages{margin-top:14px;border-top:1px solid #edf1f5;padding-top:10px}
.wh-ticket-messages>summary{cursor:pointer;font-size:11px;font-weight:850;color:#315f9f;display:flex;gap:7px;align-items:center}
.wh-ticket-messages>summary span{display:grid;place-items:center;min-width:20px;height:20px;border-radius:999px;background:#eef4ff;color:#1458c8;font-size:9px}
.wh-ticket-messages-body{padding-top:10px}
.wh-message{padding:10px 11px;border-radius:10px;margin:7px 0}
.wh-message-cliente{background:#f3f7ff}
.wh-message-partner{background:#edf8f3}
.wh-message-whyhab{background:#f7f3ff}
.wh-message>div{display:flex;justify-content:space-between;gap:10px}
.wh-message strong{font-size:10px}.wh-message small{font-size:8px;color:#8b96a3}
.wh-message p{margin:5px 0 0;font-size:11px;line-height:1.5;color:#4e5c6d}
.wh-message-form{display:grid;gap:7px;margin-top:10px}
.wh-message-form textarea{width:100%;border:1px solid #dce4ed;border-radius:9px;padding:9px}
.wh-inline-check{display:flex!important;align-items:center;gap:7px!important;font-size:10px!important}
.wh-inline-check input{width:16px!important;height:16px!important;margin:0!important}

/* Cancel drawer */
.wh-cancel-drawer{margin-top:9px}
.wh-cancel-drawer>summary{cursor:pointer;font-size:10px;color:#8a5660;width:max-content}
.wh-cancel-drawer form{margin-top:8px;padding:10px;background:#fff8f8;border:1px solid #f0dddd;border-radius:10px}
.wh-next-muted{background:#f3f4f6!important;border-color:#e1e4e8!important;color:#66717d!important}

/* Matching geography */
.wh-cr-distance{
  padding:5px 7px;border-radius:999px;background:#f3f6fa;color:#526579;font-size:9px;font-weight:800;white-space:nowrap
}
.wh-cr-network-statuses{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.wh-cr-availability{padding:5px 7px;border-radius:999px;font-size:9px;font-weight:850}
.wh-cr-availability.is-available{background:#e8f7ef;color:#087a4b}
.wh-cr-availability.is-unavailable{background:#f1f3f6;color:#697482}

/* Control Room operations */
.wh-cr-ops-actions{display:flex!important;flex-wrap:wrap;gap:7px;align-items:center}
.wh-cr-urgency-form{display:flex;gap:5px;align-items:center}
.wh-cr-urgency-form select{height:31px;min-width:100px}
.wh-cr-cancel-op{position:relative}
.wh-cr-cancel-op>summary{cursor:pointer;padding:6px 10px;border:1px solid #dcdcde;border-radius:4px;font-size:12px;color:#9b3131;background:#fff}
.wh-cr-cancel-op form{
  position:absolute;right:0;z-index:10;width:280px;display:grid;gap:7px;
  padding:10px;background:#fff;border:1px solid #dfdfe2;border-radius:10px;box-shadow:0 12px 32px rgba(0,0,0,.12)
}
.wh-cr-cancel-op input{width:100%}

/* KPI */
.wh-cr-kpi-row{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 16px
}
.wh-cr-kpi-row>div{padding:12px 13px;border-radius:12px;background:#fff;border:1px solid #e2e8ef;display:grid;gap:4px}
.wh-cr-kpi-row small{font-size:9px;color:#7c8998}.wh-cr-kpi-row strong{font-size:18px;color:#10213a}
.wh-cr-kpi-row .is-danger{background:#fff4f4;border-color:#f2cece}.wh-cr-kpi-row .is-danger strong{color:#ae2e2e}

/* Detailed pricebook */
.wh-cr-subsection-head{margin-top:22px!important}
.wh-pricebook-service{border:1px solid #e0e6ee;border-radius:12px;background:#fff;margin:9px 0;overflow:hidden}
.wh-pricebook-service>summary{cursor:pointer;padding:12px 14px;display:flex;justify-content:space-between;gap:15px;background:#fafbfd}
.wh-pricebook-service>summary span{font-size:10px;color:#7b8795}
.wh-pricebook-service .wh-pricebook-table{border-top:1px solid #edf1f5}

/* Customers */
.wh-cr-customer-list{display:grid;gap:9px}
.wh-cr-customer-card{
  display:grid;grid-template-columns:minmax(260px,1.3fr) 80px 100px minmax(420px,1.5fr);
  gap:12px;align-items:center;padding:12px 14px;background:#fff;border:1px solid #e0e6ee;border-radius:13px
}
.wh-cr-customer-main{display:flex;align-items:center;gap:10px;min-width:0}
.wh-cr-customer-main>div:last-child{display:grid;gap:3px;min-width:0}
.wh-cr-customer-main strong{font-size:12px}.wh-cr-customer-main span{font-size:9px;color:#7a8795;overflow:hidden;text-overflow:ellipsis}
.wh-cr-customer-kpi{display:grid;gap:2px}.wh-cr-customer-kpi small{font-size:8px;color:#8994a0}.wh-cr-customer-kpi strong{font-size:11px}
.wh-cr-sub-form{display:grid;grid-template-columns:110px 135px 85px auto;gap:6px}
.wh-cr-sub-form select,.wh-cr-sub-form input{width:100%;height:32px}

/* Audit */
.wh-audit-table{display:grid;overflow:auto}
.wh-audit-row{display:grid;grid-template-columns:140px 180px 120px 160px minmax(300px,1fr);gap:10px;padding:8px 0;border-bottom:1px solid #edf1f5;align-items:start}
.wh-audit-head{font-size:9px;font-weight:900;text-transform:uppercase;color:#7a8795}
.wh-audit-row span,.wh-audit-row strong,.wh-audit-row code{font-size:9px}
.wh-audit-row code{white-space:pre-wrap;word-break:break-word;color:#536172;background:#f7f9fb;padding:4px;border-radius:6px}

/* Settings/legal */
.wh-settings-form{display:grid;gap:12px;max-width:760px}
.wh-settings-form h3{margin:5px 0 0}
.wh-legal-status{margin-top:14px;max-width:760px}

/* State colors */
.wh-ticket-sospeso{background:#f1f3f6!important;color:#697482!important}
.wh-ticket-annullato{background:#fff0f0!important;color:#a63d3d!important}

@media(max-width:1200px){
  .wh-cr-kpi-row{grid-template-columns:repeat(3,1fr)}
  .wh-cr-customer-card{grid-template-columns:1fr 80px 100px}
  .wh-cr-sub-form{grid-column:1/-1}
}
@media(max-width:782px){
  .wh-subscription-strip{display:grid}
  .wh-subscription-strip>span{text-align:left}
  .wh-cr-kpi-row{grid-template-columns:1fr 1fr}
  .wh-cr-customer-card{grid-template-columns:1fr 1fr}
  .wh-cr-customer-main,.wh-cr-sub-form{grid-column:1/-1}
  .wh-cr-sub-form{grid-template-columns:1fr 1fr}
}

.wh-sla-paused{background:#f1f3f6;color:#697482}


/* =========================================================
   v0.9.1 — DIAGNOSTICA MATCHING
   ========================================================= */
.wh-no-match-box{
  margin:12px 0;padding:13px 14px;border:1px solid #f0d7a4;background:#fff9ec;border-radius:12px
}
.wh-no-match-box strong{display:block;font-size:12px;color:#7d5310}
.wh-no-match-box p{margin:4px 0 0;font-size:10px;color:#82735c;line-height:1.5}

.wh-match-diagnostics{
  margin-top:12px;border:1px solid #dfe6ef;border-radius:13px;background:#fff;overflow:hidden
}
.wh-match-diagnostics>summary{
  list-style:none;cursor:pointer;padding:12px 14px;background:#f7f9fc;
  display:flex;justify-content:space-between;align-items:center;gap:10px
}
.wh-match-diagnostics>summary::-webkit-details-marker{display:none}
.wh-match-diagnostics>summary strong{font-size:12px;color:#10213a}
.wh-match-diagnostics>summary span{font-size:9px;color:#7a8795}
.wh-match-diagnostic-list{display:grid}
.wh-match-diagnostic-row{
  display:grid;grid-template-columns:minmax(170px,1.2fr) minmax(210px,1fr) minmax(240px,1.5fr);
  gap:12px;align-items:center;padding:11px 14px;border-top:1px solid #eef2f6
}
.wh-match-diagnostic-row.is-ok{background:#f8fcfa}
.wh-match-diagnostic-row.is-no{background:#fff}
.wh-match-diagnostic-name{display:grid;gap:3px}
.wh-match-diagnostic-name strong{font-size:11px;color:#10213a}
.wh-match-diagnostic-name span{font-size:9px;color:#7c8895}
.wh-match-diagnostic-flags{display:flex;flex-wrap:wrap;gap:5px}
.wh-match-diagnostic-flags span{
  font-size:9px;padding:4px 6px;border-radius:999px;background:#f2f5f8;color:#677587
}
.wh-match-diagnostic-row.is-ok .wh-match-diagnostic-flags span{background:#eaf7f0;color:#18704b}
.wh-match-diagnostic-reason{font-size:10px;font-weight:700;color:#687587;line-height:1.4}
.wh-match-diagnostic-row.is-no .wh-match-diagnostic-reason{color:#a45d20}
.wh-match-diagnostic-help{
  border-top:1px solid #e8edf3;padding:11px 14px;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fbfcfe
}
.wh-match-diagnostic-help>span{font-size:10px;color:#6e7b8b}
@media(max-width:900px){
  .wh-match-diagnostic-row{grid-template-columns:1fr}
  .wh-match-diagnostic-help{align-items:flex-start;flex-direction:column}
}


/* =========================================================
   v0.9.2 — ASSEGNAZIONE MANUALE FORZATA
   ========================================================= */
.wh-force-assignment{
  margin:14px 0;border:1px solid #efcf91;border-radius:13px;background:#fffaf0;overflow:hidden
}
.wh-force-assignment>summary{
  cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;padding:12px 14px
}
.wh-force-assignment>summary::-webkit-details-marker{display:none}
.wh-force-assignment>summary>span{
  width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#fff0cf;color:#9a5b00;font-size:15px
}
.wh-force-assignment>summary>div{display:grid;gap:2px}
.wh-force-assignment>summary strong{font-size:12px;color:#5d410e}
.wh-force-assignment>summary small{font-size:9px;color:#927a53}
.wh-force-assignment-body{padding:0 14px 14px}
.wh-force-warning{
  padding:10px 12px;border-radius:10px;background:#fff3d8;border:1px solid #f0d6a1;margin-bottom:11px
}
.wh-force-warning strong{font-size:10px;color:#8b5700}
.wh-force-warning p{font-size:9px;line-height:1.5;color:#806e50;margin:3px 0 0}
.wh-force-assignment form{display:grid;grid-template-columns:minmax(220px,1fr) minmax(240px,1.2fr) auto;gap:9px;align-items:end}
.wh-force-assignment label{display:grid;gap:5px;font-size:10px;font-weight:750;color:#675b47}
.wh-force-assignment select,.wh-force-assignment input{
  width:100%;min-height:38px;border:1px solid #ddcba9!important;border-radius:8px!important;background:#fff!important
}
.wh-force-button{
  min-height:38px!important;background:#9b6208!important;border-color:#9b6208!important;color:#fff!important;font-weight:750!important
}
.wh-cr-assigned.is-forced{border-color:#e8ca8c;background:#fff9ed}
.wh-cr-assigned.is-forced>span{background:#fff0cf;color:#9a5b00}
.wh-cr-assigned.is-forced em{display:block;margin-top:3px;font-size:9px;color:#8b7550;font-style:normal}
@media(max-width:1050px){
  .wh-force-assignment form{grid-template-columns:1fr}
  .wh-force-button{width:max-content}
}


/* =========================================================
   v0.9.3 — CONSENSI / CHECKBOX: FIX LAYOUT
   Il CSS generale dei campi form assegnava width:100% anche ai checkbox.
   ========================================================= */
.wh-form .wh-consents{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  width:100%!important;
  padding:15px 17px!important;
  margin:0!important;
  border:1px solid #e1e7ef!important;
  border-radius:13px!important;
  background:#f8faff!important;
  overflow:visible!important;
}

.wh-form .wh-consents .wh-check{
  display:grid!important;
  grid-template-columns:20px minmax(0,1fr)!important;
  align-items:start!important;
  gap:11px!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.5!important;
  cursor:pointer!important;
}

.wh-form .wh-consents .wh-check input[type="checkbox"],
.wh-request-form .wh-check input[type="checkbox"]{
  appearance:auto!important;
  -webkit-appearance:checkbox!important;
  display:block!important;
  width:18px!important;
  min-width:18px!important;
  max-width:18px!important;
  height:18px!important;
  min-height:18px!important;
  max-height:18px!important;
  margin:2px 0 0 0!important;
  padding:0!important;
  border-radius:3px!important;
  box-shadow:none!important;
  flex:none!important;
}

.wh-form .wh-consents .wh-check span{
  display:block!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  color:#4f5f73!important;
  overflow-wrap:anywhere!important;
}

.wh-form .wh-consents .wh-check span a{
  display:inline!important;
}

@media(max-width:700px){
  .wh-form .wh-consents{
    padding:14px!important;
  }
  .wh-form .wh-consents .wh-check{
    font-size:12px!important;
    gap:10px!important;
  }
}


/* =========================================================
   v0.9.4 — CLIENTI / ABBONAMENTI / MESI GRATUITI
   ========================================================= */
.wh-subscription-badge.is-free{
  background:#eaf2ff!important;
  color:#1458c8!important;
}

.wh-customer-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:0 0 16px;
}
.wh-customer-summary>div{
  padding:14px 15px;
  border:1px solid #e0e6ee;
  border-radius:13px;
  background:#fff;
  display:grid;
  gap:3px;
}
.wh-customer-summary small{font-size:9px;color:#7d8996}
.wh-customer-summary strong{font-size:24px;line-height:1.1;color:#10213a}
.wh-customer-summary span{font-size:9px;color:#8a95a1}
.wh-customer-summary .is-active{background:#f2fbf6;border-color:#cfe8da}
.wh-customer-summary .is-active strong{color:#087a4b}
.wh-customer-summary .is-free{background:#f1f6ff;border-color:#d1e0fa}
.wh-customer-summary .is-free strong{color:#1458c8}
.wh-customer-summary .is-inactive{background:#fff5f5;border-color:#efd1d1}
.wh-customer-summary .is-inactive strong{color:#b13d3d}

.wh-cr-customer-help{
  margin-bottom:12px;
  padding:11px 13px;
  border:1px solid #dfe6ef;
  border-radius:11px;
  background:#f8fafc;
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.wh-cr-customer-help strong{font-size:10px;white-space:nowrap;color:#10213a}
.wh-cr-customer-help span{font-size:9px;line-height:1.5;color:#6e7b8b}

.wh-cr-customer-card-v094{
  display:block!important;
  padding:14px!important;
}
.wh-cr-customer-top{
  display:grid;
  grid-template-columns:minmax(260px,1.4fr) 80px 110px minmax(230px,1fr);
  gap:12px;
  align-items:center;
}
.wh-cr-customer-main small{font-size:8px;color:#9aa4af}
.wh-cr-customer-kpi strong.is-ok{color:#087a4b}
.wh-cr-customer-kpi strong.is-no{color:#b13d3d}
.wh-cr-customer-sub-current{
  display:grid;
  gap:4px;
  justify-items:start;
}
.wh-cr-customer-sub-current>small{font-size:8px;color:#8994a0}
.wh-cr-customer-sub-current>span:last-child{font-size:8px;color:#8994a0}

.wh-cr-customer-quick-actions{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid #edf1f5;
}
.wh-cr-customer-quick-actions form{margin:0}
.wh-free-btn{
  border-color:#bfd3f4!important;
  background:#f2f7ff!important;
  color:#1458c8!important;
}
.wh-deactivate-btn{
  border-color:#ebc7c7!important;
  background:#fff6f6!important;
  color:#a63d3d!important;
}

.wh-cr-customer-advanced{
  margin-top:10px;
  border-top:1px solid #edf1f5;
  padding-top:9px;
}
.wh-cr-customer-advanced>summary{
  cursor:pointer;
  width:max-content;
  font-size:9px;
  font-weight:750;
  color:#687687;
}
.wh-cr-customer-advanced .wh-cr-sub-form{
  margin-top:10px;
  display:grid;
  grid-template-columns:repeat(4,minmax(120px,1fr)) auto;
  gap:8px;
  align-items:end;
}
.wh-cr-customer-advanced .wh-cr-sub-form label{
  display:grid;
  gap:4px;
  font-size:8px;
  color:#7c8895;
}
.wh-cr-customer-advanced .wh-cr-sub-form select,
.wh-cr-customer-advanced .wh-cr-sub-form input{
  height:34px;
}

@media(max-width:1150px){
  .wh-customer-summary{grid-template-columns:repeat(2,1fr)}
  .wh-cr-customer-top{grid-template-columns:1fr 80px 110px}
  .wh-cr-customer-sub-current{grid-column:1/-1}
  .wh-cr-customer-advanced .wh-cr-sub-form{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:782px){
  .wh-customer-summary{grid-template-columns:1fr 1fr}
  .wh-cr-customer-top{grid-template-columns:1fr 1fr}
  .wh-cr-customer-main,.wh-cr-customer-sub-current{grid-column:1/-1}
  .wh-cr-customer-quick-actions{display:grid;grid-template-columns:1fr 1fr}
  .wh-cr-customer-quick-actions form,
  .wh-cr-customer-quick-actions button{width:100%}
  .wh-cr-customer-advanced .wh-cr-sub-form{grid-template-columns:1fr}
}


/* =========================================================
   v1.0.0 NATIONAL PILOT — MODULI NAZIONALI
   ========================================================= */
.wh-national-profile-mini,.wh-subscription-mini{margin-top:14px}
.wh-national-price-form,
.wh-payment-settings,
.wh-national-settings-form,
.wh-contract-version-form{
  display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:10px;align-items:end
}
.wh-national-price-form label,
.wh-payment-settings label,
.wh-national-settings-form label,
.wh-contract-version-form label{
  display:grid;gap:5px;font-size:9px;color:#687687;font-weight:750
}
.wh-national-price-form input,.wh-national-price-form select,
.wh-payment-settings input,.wh-payment-settings select,
.wh-national-settings-form input,.wh-national-settings-form select,
.wh-contract-version-form input{
  width:100%;min-height:38px;border-radius:8px;border:1px solid #d8e0ea
}
.wh-national-price-table>div,
.wh-national-coverage-table>div{
  display:grid;grid-template-columns:1.2fr 1.4fr 1fr .8fr .8fr 1.6fr;
  gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid #edf1f5;font-size:10px
}
.wh-national-price-table .is-head,
.wh-national-coverage-table .is-head{
  background:#f7f9fc;font-size:9px;font-weight:850;color:#6d7988;text-transform:uppercase
}
.wh-national-coverage-table>div{grid-template-columns:1.5fr .7fr .7fr .8fr .7fr 1fr}
.wh-national-coverage-table .is-covered{color:#087a4b}
.wh-national-coverage-table .is-uncovered{color:#b13d3d}
.wh-partner-check-row{
  display:grid;grid-template-columns:1.2fr 130px 1fr 145px 1.2fr auto;
  gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid #edf1f5
}
.wh-partner-check-row input,.wh-partner-check-row select{width:100%;min-height:35px}
.wh-subscription-checkout-card{
  display:grid;gap:10px;padding:18px;border-radius:16px;background:#f7faff;border:1px solid #d9e5f7
}
.wh-subscription-checkout-card>span{font-size:10px;font-weight:900;letter-spacing:.05em;color:#5a76a0}
.wh-subscription-checkout-card>strong{font-size:34px;color:#10213a}
.wh-bank-box{padding:12px;border-radius:11px;background:#fff;border:1px solid #e2e8ef}
.wh-bank-box p{margin:5px 0;color:#69778a;font-size:11px}
.wh-payment-table>div{display:grid;grid-template-columns:1.5fr .8fr .8fr .7fr 1fr;gap:10px;padding:9px 0;border-bottom:1px solid #edf1f5;font-size:10px}
.wh-architecture-panel code{display:inline-block;padding:6px 9px;border-radius:8px;background:#f3f5f7}
@media(max-width:1100px){
  .wh-national-price-form,.wh-payment-settings,.wh-national-settings-form,.wh-contract-version-form{grid-template-columns:repeat(2,1fr)}
  .wh-partner-check-row{grid-template-columns:1fr 1fr}
}
@media(max-width:782px){
  .wh-national-price-form,.wh-payment-settings,.wh-national-settings-form,.wh-contract-version-form{grid-template-columns:1fr}
  .wh-national-price-table .is-head,.wh-national-coverage-table .is-head{display:none}
  .wh-national-price-table>div,.wh-national-coverage-table>div,.wh-payment-table>div{grid-template-columns:1fr}
  .wh-partner-check-row{grid-template-columns:1fr}
}


/* v1.0.1 — COMMISSIONI PARTNER */
.wh-commission-partners{display:grid}
.wh-commission-partner-row{
  display:grid;grid-template-columns:1.3fr 1fr 130px auto;gap:10px;align-items:center;
  padding:9px 0;border-bottom:1px solid #edf1f5
}
.wh-commission-partner-row input{width:100%;min-height:35px}
.wh-commission-table>div{
  display:grid;grid-template-columns:1fr 1.2fr .8fr .5fr .8fr 2fr;
  gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #edf1f5;font-size:10px
}
.wh-commission-table .is-head{
  background:#f7f9fc;font-size:9px;font-weight:850;color:#6d7988;text-transform:uppercase
}
.wh-commission-table form{display:grid;grid-template-columns:110px 1fr auto;gap:6px}
@media(max-width:950px){
  .wh-commission-partner-row,.wh-commission-table>div{grid-template-columns:1fr}
  .wh-commission-table .is-head{display:none}
}


/* =========================================================
   v1.0.2 — CONTROL ROOM UX / NO HORIZONTAL PAGE SCROLL
   ========================================================= */

/* Usa tutta l'area disponibile di wp-admin anche con zoom browser ridotto. */
.wh-cr{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin:20px 18px 60px 4px!important;
}
.wh-cr>*{min-width:0}

/* Nuova navigazione organizzata per aree. */
.wh-cr-nav-groups{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  width:100%;
  margin:16px 0 20px;
}
.wh-cr-nav-group{
  min-width:0;
  padding:9px;
  border:1px solid #dfe6ef;
  border-radius:14px;
  background:#f7f9fc;
}
.wh-cr-nav-group.is-active-group{
  border-color:#cbdcf7;
  background:#f4f8ff;
}
.wh-cr-nav-group-title{
  display:flex;
  align-items:center;
  gap:7px;
  padding:2px 5px 7px;
  color:#7a8695;
}
.wh-cr-nav-group-title>span{
  display:grid;
  place-items:center;
  width:21px;
  height:21px;
  border-radius:7px;
  background:#eaf1fb;
  color:#456382;
  font-size:10px;
}
.wh-cr-nav-group-title strong{
  font-size:9px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.wh-cr-nav-group-links{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
}
.wh-cr-nav-group-links a{
  display:flex;
  align-items:center;
  gap:5px;
  min-width:0;
  padding:7px 9px;
  border-radius:8px;
  color:#566476;
  font-size:10px;
  font-weight:750;
  line-height:1.2;
  background:transparent;
}
.wh-cr-nav-group-links a:hover{
  background:#fff;
  color:#174f9f;
}
.wh-cr-nav-group-links a.is-active{
  background:#fff;
  color:#1463ff;
  box-shadow:0 3px 10px rgba(26,55,95,.08);
}
.wh-cr-nav-icon{font-size:9px;flex:0 0 auto}
.wh-cr-nav-label{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Anche il vecchio renderer, se mai usato, non deve allargare la pagina. */
.wh-cr-tabs{
  width:100%!important;
  max-width:100%!important;
  display:flex!important;
  flex-wrap:wrap!important;
}
.wh-cr-tabs a{padding:8px 10px!important}

/* KPI e dashboard si adattano allo spazio reale. */
.wh-cr-stats{
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;
}
.wh-cr-dashboard-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.wh-cr-panel,.wh-cr-pipeline,.wh-cr-ticket-card-wide,.wh-cr-customer-card{
  min-width:0!important;
  max-width:100%!important;
}

/* Gli elementi larghi scorrono dentro il proprio box, non l'intera pagina admin. */
.wh-cr-pipeline-steps,
.wh-audit-table,
.wh-national-price-table,
.wh-national-coverage-table,
.wh-commission-table,
.wh-payment-table{
  max-width:100%;
  overflow-x:auto;
  overscroll-behavior-x:contain;
}

/* Form amministrativi: mai imporre una larghezza superiore al pannello. */
.wh-cr form,
.wh-cr input,
.wh-cr select,
.wh-cr textarea{
  max-width:100%;
}
.wh-cr-filters{
  grid-template-columns:minmax(200px,1fr) repeat(3,minmax(120px,auto)) auto auto;
}

/* WordPress desktop medio / browser con zoom. */
@media(max-width:1350px){
  .wh-cr-nav-groups{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wh-cr-stats{grid-template-columns:repeat(3,minmax(140px,1fr))!important}
  .wh-cr-filters{grid-template-columns:1fr 1fr 1fr}
  .wh-cr-search{grid-column:1/-1}
}
@media(max-width:1050px){
  .wh-cr-dashboard-grid{grid-template-columns:1fr!important}
  .wh-cr-stats{grid-template-columns:repeat(2,minmax(135px,1fr))!important}
  .wh-cr-header{gap:15px;padding:17px 18px}
}
@media(max-width:782px){
  .wh-cr{margin:12px 10px 40px 0!important}
  .wh-cr-header{display:grid}
  .wh-cr-brand{border-right:0;padding-right:0}
  .wh-cr-nav-groups{grid-template-columns:1fr}
  .wh-cr-nav-group-links a{font-size:11px;padding:8px 10px}
  .wh-cr-stats{grid-template-columns:1fr 1fr!important}
  .wh-cr-filters{grid-template-columns:1fr}
  .wh-cr-search{grid-column:auto}
}
@media(max-width:480px){
  .wh-cr-stats{grid-template-columns:1fr!important}
}


/* =========================================================
   v1.0.3 — ONBOARDING NAZIONALE CLIENTI / PARTNER
   ========================================================= */
.wh-national-onboarding .wh-form-section{
  margin-bottom:14px;
}
.wh-national-onboarding .wh-geo-row select{
  width:100%;
}
.wh-national-onboarding label small{
  display:block;
  margin-top:4px;
  color:#8793a1;
  font-size:9px;
  font-weight:500;
  line-height:1.4;
}
.wh-national-onboarding input[name="tax_code"],
.wh-national-onboarding input[name="sdi_code"]{
  text-transform:uppercase;
}
.wh-profile-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  align-items:center;
}
.wh-national-onboarding .wh-business-field{
  transition:opacity .15s ease;
}
@media(max-width:700px){
  .wh-profile-actions .wh-btn{width:100%;text-align:center}
}


/* =========================================================
   v1.0.4 — GEO UX + INTEGRITÀ
   ========================================================= */
.wh-geo-assisted select{width:100%}
.wh-geo-status{
  margin-top:8px;padding:8px 10px;border-radius:9px;background:#f6f8fb;
  border:1px solid #e2e7ee;color:#6b7786;font-size:9px
}
.wh-geo-status.is-loading{background:#f4f8ff;border-color:#d7e5fb;color:#416b9f}
.wh-geo-status.is-ok{background:#f1faf5;border-color:#d5eadf;color:#28704f}
.wh-geo-status.is-warning{background:#fff8e8;border-color:#eddcaf;color:#8b6828}

.wh-integrity-timer{
  display:grid;grid-template-columns:1fr auto;gap:2px 10px;align-items:center;
  margin:0 0 9px;padding:10px 12px;border-radius:11px;background:#fff8e8;border:1px solid #eddcaf
}
.wh-integrity-timer span{font-size:9px;font-weight:800;color:#8b6828;text-transform:uppercase}
.wh-integrity-timer strong{grid-row:1/3;grid-column:2;font-size:18px;color:#8b5700}
.wh-integrity-timer small{font-size:9px;color:#8b7550}
.wh-integrity-timer.is-expired{background:#fff1f1;border-color:#efcece}
.wh-integrity-timer.is-expired strong{color:#ac3838}
.wh-integrity-rule{
  margin:7px 0 0;font-size:9px;line-height:1.5;color:#748092
}
.wh-integrity-withdraw{margin-top:9px}
.wh-integrity-warning,.wh-cancel-fee-warning{
  margin-bottom:10px;padding:11px 12px;border-radius:10px;background:#fff8e8;border:1px solid #eddcaf
}
.wh-integrity-warning strong,.wh-cancel-fee-warning strong{color:#805b17}
.wh-integrity-warning p,.wh-cancel-fee-warning p{margin:4px 0 0;font-size:10px;line-height:1.5;color:#75684d}
.wh-cancel-after-accept{border-color:#e6c98b!important;background:#fffdf7!important}
.wh-integrity-report{margin-top:12px;padding-top:10px;border-top:1px solid #edf1f5}
.wh-integrity-report>summary{cursor:pointer;font-size:9px;font-weight:750;color:#7a6670}
.wh-integrity-report form{margin-top:10px}
.wh-integrity-contact-note{
  display:grid;gap:3px;margin-top:12px;padding:10px 12px;border-radius:10px;background:#f4f7fb;border:1px solid #dfe6ef
}
.wh-integrity-contact-note strong{font-size:9px;color:#44566c}
.wh-integrity-contact-note span{font-size:9px;line-height:1.5;color:#758091}
.wh-integrity-score{display:grid;justify-items:end}
.wh-integrity-score strong{font-size:20px;color:#173b6d}
.wh-integrity-score span{font-size:9px;color:#778497}
.wh-integrity-settings-form{
  display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:9px;align-items:end
}
.wh-integrity-settings-form label,.wh-integrity-event-form label{
  display:grid;gap:4px;font-size:9px;font-weight:750;color:#697788
}
.wh-integrity-settings-form input,.wh-integrity-settings-form select,
.wh-integrity-event-form input,.wh-integrity-event-form select,.wh-integrity-event-form textarea{
  width:100%;min-height:36px
}
.wh-integrity-partners>div{
  display:grid;grid-template-columns:1.4fr .8fr 1fr;gap:10px;padding:9px 0;border-bottom:1px solid #edf1f5;font-size:10px
}
.wh-integrity-event-form{
  display:grid;grid-template-columns:1.2fr .7fr 1.1fr 1.5fr auto;gap:9px;align-items:end
}
.wh-integrity-review-row,.wh-cancel-charge-row{
  display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid #edf1f5
}
.wh-integrity-review-row div:first-child,.wh-cancel-charge-row div:first-child{display:grid;gap:3px}
.wh-integrity-review-row span,.wh-cancel-charge-row span,.wh-cancel-charge-row small{font-size:9px;color:#7d8997}
.wh-integrity-review-row p{font-size:9px;color:#657383;margin:2px 0}
.wh-integrity-review-actions{display:flex;gap:6px}
.wh-cancel-charge-row form{display:grid;grid-template-columns:150px auto;gap:6px}
@media(max-width:1150px){
  .wh-integrity-settings-form{grid-template-columns:repeat(2,1fr)}
  .wh-integrity-event-form{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:782px){
  .wh-integrity-settings-form,.wh-integrity-event-form{grid-template-columns:1fr}
  .wh-integrity-partners>div,.wh-integrity-review-row,.wh-cancel-charge-row{grid-template-columns:1fr}
  .wh-integrity-review-actions{flex-wrap:wrap}
}


/* =========================================================
   v1.0.5 — ANNULLAMENTO SOLO CONTROL ROOM DOPO ACCETTAZIONE
   ========================================================= */
.wh-cancel-request-drawer{
  margin-top:10px;border:1px solid #d9e1eb;border-radius:11px;background:#fafcff
}
.wh-cancel-request-drawer>summary{
  cursor:pointer;padding:10px 12px;font-size:10px;font-weight:800;color:#56677b
}
.wh-cancel-request-drawer form{padding:0 12px 12px}
.wh-cancel-request-pending{
  display:grid;gap:4px;margin-top:10px;padding:11px 12px;border-radius:11px;
  background:#f4f8ff;border:1px solid #d7e5fb
}
.wh-cancel-request-pending strong{font-size:10px;color:#315f96}
.wh-cancel-request-pending span{font-size:9px;line-height:1.5;color:#68798d}
.wh-stay-whyhab{
  display:grid;gap:4px;margin-top:12px;padding:11px 12px;border-radius:10px;
  background:#eef6ff;border:1px solid #d3e4f8
}
.wh-stay-whyhab strong{font-size:10px;color:#235a93}
.wh-stay-whyhab span{font-size:9px;line-height:1.5;color:#60748b}
.wh-cr-cancel-op form{
  display:grid;grid-template-columns:minmax(150px,auto) minmax(180px,1fr) auto;
  gap:7px;align-items:center;margin-top:8px
}
.wh-cr-cancel-op select,.wh-cr-cancel-op input{min-height:34px}
@media(max-width:900px){
  .wh-cr-cancel-op form{grid-template-columns:1fr}
}


/* =========================================================
   v1.0.6 — CONTACT SHIELD / ARRIVAL CODE
   ========================================================= */
.wh-contact-protected{
  display:block;margin-top:3px;font-size:8px!important;font-weight:550!important;color:#7f8da0!important
}
.wh-protected-step{
  border-color:#cfe0f5!important;background:#f5f9ff!important
}
.wh-protected-step small{
  display:block;margin-top:3px;font-size:9px;color:#718299;font-weight:500
}
.wh-arrival-code-form{
  display:flex!important;gap:7px!important;align-items:center!important;flex-wrap:wrap
}
.wh-arrival-code-form input{
  width:130px!important;min-height:36px!important;text-align:center;font-size:15px;font-weight:850;letter-spacing:3px
}
.wh-arrival-code-customer{
  display:grid;justify-items:center;gap:5px;margin:0 0 12px;padding:15px;
  border-radius:13px;background:#eef6ff;border:1px solid #d3e4f8;text-align:center
}
.wh-arrival-code-customer>span{
  font-size:9px;font-weight:850;letter-spacing:.08em;color:#456b96
}
.wh-arrival-code-customer>strong{
  font-size:28px;letter-spacing:6px;color:#163c69
}
.wh-arrival-code-customer p{
  max-width:520px;margin:0;font-size:10px;line-height:1.5;color:#60748b
}
.wh-arrival-code-customer small{
  font-size:8px;color:#8794a4
}
@media(max-width:700px){
  .wh-arrival-code-form{display:grid!important}
  .wh-arrival-code-form input{width:100%!important}
}


/* =========================================================
   v1.0.7 — GPS PHONE UNLOCK
   ========================================================= */
.wh-phone-protected,.wh-phone-unlocked{display:grid;gap:3px}
.wh-phone-protected .wh-btn-xs{
  width:max-content;margin-top:5px;padding:5px 8px!important;font-size:8px!important;min-height:0!important
}
.wh-phone-unlocked a{color:#1668d4;text-decoration:none}
.wh-gps-phone-status{
  display:block;margin-top:4px;font-size:8px;line-height:1.4;color:#718197
}
.wh-gps-phone-status.is-loading{color:#416b9f}
.wh-gps-phone-status.is-ok{color:#168052;font-weight:750}
.wh-gps-phone-status.is-error{color:#ad4747}
.wh-gps-admin-row{
  display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;
  padding:9px 0;border-bottom:1px solid #edf1f5
}
.wh-gps-admin-row>div{display:grid;gap:2px}
.wh-gps-admin-row span{font-size:9px;color:#7a8797}
@media(max-width:700px){
  .wh-gps-admin-row{grid-template-columns:1fr}
}


/* =========================================================
   v1.0.8 — TRACKING VIAGGIO
   ========================================================= */
.wh-tracking-start-card,.wh-tracking-partner-card,.wh-tracking-customer-card{
  margin:10px 0;padding:13px;border:1px solid #d6e3f2;border-radius:13px;background:#f7fbff
}
.wh-tracking-start-card{
  display:flex;justify-content:space-between;gap:14px;align-items:center
}
.wh-tracking-start-card>div{display:grid;gap:3px}
.wh-tracking-start-card span,.wh-tracking-live-head span{
  font-size:8px;font-weight:900;letter-spacing:.08em;color:#55779c
}
.wh-tracking-start-card strong,.wh-tracking-live-head strong{font-size:12px;color:#173b63}
.wh-tracking-start-card small,.wh-tracking-live-head small{font-size:9px;color:#75869a}
.wh-tracking-live-head{
  display:flex;justify-content:space-between;gap:14px;align-items:center
}
.wh-tracking-live-head>div:first-child{display:grid;gap:3px}
.wh-tracking-distance{display:grid;justify-items:end;min-width:84px}
.wh-tracking-distance small{font-size:8px;color:#7d8998}
.wh-tracking-distance strong{font-size:20px;color:#0f5fbc}
.wh-tracking-nav{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}
.wh-tracking-web-note,.wh-tracking-privacy-note{
  margin:9px 0 0;font-size:8px;line-height:1.5;color:#7c8998
}
.wh-tracking-arrival-row{
  display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-top:11px
}
.wh-live-map{
  width:100%;height:280px;margin-top:11px;border-radius:12px;overflow:hidden;border:1px solid #dce5ef;background:#eef3f8
}
.wh-tracking-settings-form{
  display:grid;grid-template-columns:repeat(3,minmax(170px,1fr));gap:9px;align-items:end
}
.wh-tracking-settings-form label{
  display:grid;gap:4px;font-size:9px;font-weight:750;color:#697788
}
.wh-tracking-settings-form input{width:100%;min-height:36px}
.wh-tracking-admin-session{
  padding:12px 0;border-bottom:1px solid #edf1f5
}
.wh-tracking-admin-head{
  display:flex;justify-content:space-between;gap:12px;align-items:center
}
.wh-tracking-admin-head>div:first-child{display:grid;gap:3px}
.wh-tracking-admin-head span{font-size:9px;color:#7c8998}
.wh-tracking-admin-head>div:last-child{display:grid;justify-items:end}
.wh-tracking-admin-head small{font-size:8px;color:#7c8998}
.wh-tracking-admin-head b{font-size:15px;color:#1b5f9e}
@media(max-width:900px){
  .wh-tracking-settings-form{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
  .wh-tracking-settings-form{grid-template-columns:1fr}
  .wh-tracking-start-card,.wh-tracking-live-head,.wh-tracking-admin-head{display:grid}
  .wh-tracking-distance{justify-items:start}
  .wh-live-map{height:230px}
}


/* =========================================================
   v1.0.9 — SICUREZZA & CONTATTI
   ========================================================= */
.wh-security-contacts-head{
  margin-bottom:10px!important;
}
.wh-security-contacts-intro{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:0 0 18px;
}
.wh-security-contacts-intro>div{
  display:grid;
  gap:4px;
  padding:12px 13px;
  border:1px solid #dfe6ef;
  border-radius:12px;
  background:#f7f9fc;
}
.wh-security-contacts-intro strong{
  font-size:10px;
  color:#244a78;
}
.wh-security-contacts-intro span{
  font-size:9px;
  line-height:1.45;
  color:#758294;
}
.wh-security-block{
  margin-top:14px;
}
.wh-security-block .wh-cr-section-head{
  margin:16px 0 10px;
  padding-top:14px;
  border-top:1px solid #e9eef4;
}
.wh-security-block .wh-cr-section-head h2{
  font-size:14px;
}
@media(max-width:900px){
  .wh-security-contacts-intro{grid-template-columns:1fr}
}


/* =========================================================
   v1.1.0 — FOTO & SPAZIO
   ========================================================= */
.wh-security-contacts-intro{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.wh-media-settings-form{
  display:grid;
  grid-template-columns:repeat(3,minmax(170px,1fr));
  gap:10px;
  align-items:end;
}
.wh-media-settings-form>label{
  display:grid;gap:4px;font-size:9px;font-weight:750;color:#697788
}
.wh-media-settings-form input[type="number"]{width:100%;min-height:36px}
.wh-media-settings-form .wh-check{align-self:center}
.wh-media-retention-box{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:10px;
  padding:12px;
  border:1px solid #e2e7ee;
  border-radius:11px;
  background:#fafbfd;
}
.wh-media-retention-box>label{
  display:grid;gap:4px;font-size:9px;font-weight:750;color:#697788
}
.wh-media-cleanup-summary{
  display:flex;justify-content:space-between;gap:12px;align-items:center;
  padding:10px 12px;margin-bottom:6px;border-radius:10px;background:#f5f8fc;border:1px solid #e2e8f0
}
.wh-media-cleanup-summary strong{font-size:13px;color:#234d7c}
.wh-media-cleanup-summary span{font-size:9px;color:#748195}
.wh-media-candidate-row{
  display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;
  padding:9px 0;border-bottom:1px solid #edf1f5
}
.wh-media-candidate-row>div{display:grid;gap:2px}
.wh-media-candidate-row span,.wh-media-candidate-row small{font-size:8px;color:#7d8998}
.wh-media-candidate-row b{font-size:10px;color:#465a70}
@media(max-width:1100px){
  .wh-security-contacts-intro{grid-template-columns:repeat(2,1fr)}
  .wh-media-settings-form{grid-template-columns:repeat(2,1fr)}
  .wh-media-retention-box{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
  .wh-security-contacts-intro,.wh-media-settings-form,.wh-media-retention-box{grid-template-columns:1fr}
  .wh-media-candidate-row,.wh-media-cleanup-summary{grid-template-columns:1fr;display:grid}
}


/* =========================================================
   v1.1.2 — MAIL ROUTER
   ========================================================= */
.wh-security-contacts-intro{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
.wh-mail-router-flow{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px
}
.wh-mail-router-flow>div{
  display:grid;gap:3px;padding:12px;border:1px solid #dfe6ef;border-radius:11px;background:#f8fafc
}
.wh-mail-router-flow span{font-size:8px;font-weight:900;letter-spacing:.08em;color:#5d7390}
.wh-mail-router-flow strong{font-size:11px;color:#244f7f}
.wh-mail-router-flow small{font-size:8px;line-height:1.45;color:#7b8797}
.wh-mail-router-form{
  display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:9px;align-items:end
}
.wh-mail-router-form label,.wh-mail-test-form label{
  display:grid;gap:4px;font-size:9px;font-weight:750;color:#697788
}
.wh-mail-router-form input,.wh-mail-test-form input{width:100%;min-height:36px}
.wh-mail-test-form{
  display:grid;grid-template-columns:minmax(240px,1fr) auto auto;gap:8px;align-items:end
}
.wh-mail-log-row{
  display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid #edf1f5
}
.wh-mail-log-row>div{display:grid;gap:2px}
.wh-mail-log-row span{font-size:8px;color:#7c8998}
.wh-mail-log-row b{font-size:8px;padding:4px 7px;border-radius:999px}
.wh-mail-log-row b.is-ok{background:#eaf7ef;color:#17744c}
.wh-mail-log-row b.is-ko{background:#fff0f0;color:#aa4545}
@media(max-width:1200px){
  .wh-security-contacts-intro{grid-template-columns:repeat(3,1fr)}
  .wh-mail-router-form{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:800px){
  .wh-security-contacts-intro,.wh-mail-router-flow,.wh-mail-router-form,.wh-mail-test-form{grid-template-columns:1fr}
}


/* =========================================================
   v1.1.6 — LIVE SYNC
   ========================================================= */
.wh-live-sync-badge{
  position:fixed;right:18px;bottom:18px;z-index:99999;
  display:inline-flex;align-items:center;gap:6px;
  min-height:29px;padding:6px 10px;border:1px solid #cfe0f3;
  border-radius:999px;background:#fff;color:#34618f;
  box-shadow:0 6px 20px rgba(25,63,100,.12);
  font:700 9px/1 Arial,sans-serif;letter-spacing:.04em;cursor:default
}
.wh-live-sync-badge span{width:7px;height:7px;border-radius:50%;background:#2aa66a}
.wh-live-sync-badge.is-checking span{background:#e4a72f}
.wh-live-sync-badge.is-pending{cursor:pointer;background:#eef6ff;border-color:#9fc5ef;color:#145aa4}
.wh-live-sync-badge.is-pending span{background:#1463ff;box-shadow:0 0 0 4px rgba(20,99,255,.12)}
.wh-live-sync-badge.is-offline span{background:#9aa6b2}
.wh-live-settings-form{
  display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:9px;align-items:end
}
.wh-live-settings-form label{display:grid;gap:4px;font-size:9px;font-weight:750;color:#697788}
.wh-live-settings-form input[type="number"]{width:100%;min-height:36px}
@media(max-width:800px){
  .wh-live-settings-form{grid-template-columns:1fr}
  .wh-live-sync-badge{right:12px;bottom:12px}
}


/* =========================================================
   v1.1.7 — SEMAFORO TICKET CONTROL ROOM
   ========================================================= */
.wh-cr-nav-group-links a{
  min-width:0;
}
.wh-ticket-counter-dots{
  display:inline-flex;
  align-items:center;
  gap:5px;
  flex-wrap:nowrap;
}
.wh-cr-nav-group-links a .wh-ticket-counter-dots{
  margin-left:auto;
}
.wh-ticket-counter-item{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-width:0;
  text-decoration:none;
}
.wh-ticket-counter-dot{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:23px;
  height:23px;
  border-radius:999px;
  border:2px solid rgba(255,255,255,.9);
  box-shadow:0 1px 4px rgba(18,47,78,.15);
  font-size:9px;
  line-height:1;
  font-weight:900;
  color:#fff;
}
.wh-ticket-counter-dot.is-attention{
  background:#22a864;
}
.wh-ticket-counter-dot.is-active{
  background:#e89524;
}
.wh-ticket-counter-dot.is-closed{
  background:#d95353;
}
.wh-ticket-counter-dots.is-compact .wh-ticket-counter-dot{
  width:20px;
  height:20px;
  font-size:8px;
}
.wh-ticket-traffic-summary{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin:0 0 12px;
  padding:12px 14px;
  border:1px solid #e1e8f0;
  border-radius:12px;
  background:#f9fbfd;
}
.wh-ticket-traffic-summary>div:first-child{
  display:grid;
  gap:2px;
}
.wh-ticket-traffic-summary>div:first-child strong{
  font-size:11px;
  color:#274d75;
}
.wh-ticket-traffic-summary>div:first-child span{
  font-size:9px;
  color:#7c8998;
}
.wh-ticket-counter-dots.is-large{
  gap:14px;
}
.wh-ticket-counter-dots.is-large .wh-ticket-counter-item{
  padding:5px 7px;
  border-radius:10px;
}
.wh-ticket-counter-dots.is-large a.wh-ticket-counter-item:hover{
  background:#eef3f8;
}
.wh-ticket-counter-dots.is-large .wh-ticket-counter-dot{
  width:34px;
  height:34px;
  font-size:12px;
  border-width:3px;
}
.wh-ticket-counter-label{
  font-size:9px;
  font-weight:800;
  color:#576a7e;
  white-space:nowrap;
}
@media(max-width:1150px){
  .wh-cr-nav-group-links a .wh-ticket-counter-dots{
    gap:3px;
  }
  .wh-ticket-counter-dots.is-compact .wh-ticket-counter-dot{
    width:18px;
    height:18px;
    font-size:7px;
  }
}
@media(max-width:800px){
  .wh-ticket-traffic-summary{
    align-items:flex-start;
    display:grid;
  }
  .wh-ticket-counter-dots.is-large{
    width:100%;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:6px;
  }
  .wh-ticket-counter-dots.is-large .wh-ticket-counter-item{
    justify-content:flex-start;
  }
}


/* =========================================================
   v1.1.8 — IL MIO PROFILO
   ========================================================= */
.wh-sidebar nav a.wh-nav-profile{
  position:relative;
}
.wh-sidebar nav a.wh-nav-profile:before{
  content:"◉";
  display:inline-block;
  margin-right:7px;
  font-size:9px;
  opacity:.8;
}
.wh-profile-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}


/* =========================================================
   v1.2.0 — CATALOGO SERVIZI
   ========================================================= */
.wh-grid-4{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.wh-catalog-legend{
  display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px
}
.wh-catalog-legend span{
  padding:6px 9px;border:1px solid #dde6ef;border-radius:999px;background:#f8fafc;
  font-size:8px;color:#6f7f91
}
.wh-catalog-legend b{color:#315a85}
.wh-catalog-macro-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px
}
.wh-catalog-macro-card{
  display:grid;gap:9px;padding:12px;border:1px solid #dfe6ef;border-radius:12px;background:#fafcfe
}
.wh-catalog-macro-card.is-disabled,.wh-catalog-service-row.is-disabled,.wh-catalog-intervention.is-disabled{
  opacity:.58
}
.wh-catalog-macro-card>div:first-child{display:grid;gap:3px}
.wh-catalog-macro-card small{font-size:8px;font-weight:900;letter-spacing:.08em;color:#66809b}
.wh-catalog-macro-card strong{font-size:12px;color:#244e7a}
.wh-catalog-macro-card span{font-size:8px;line-height:1.45;color:#7a8796}
.wh-catalog-count{font-weight:800!important;color:#496b8d!important}
.wh-catalog-flags{display:flex;gap:5px;flex-wrap:wrap;align-items:center}
.wh-catalog-flags em,.wh-catalog-toggle{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:24px;padding:4px 7px;border:1px solid #e0e6ed;border-radius:999px;
  background:#f3f5f7;color:#8a95a2;font-size:7px;font-weight:850;font-style:normal;
  text-transform:uppercase;letter-spacing:.03em
}
.wh-catalog-flags em.is-on,.wh-catalog-toggle.is-on{
  background:#eaf7ef;color:#18724c;border-color:#bde4cd
}
button.wh-catalog-toggle{cursor:pointer}
.wh-catalog-editor{
  margin-top:11px;padding:9px 11px;border:1px dashed #cdd9e6;border-radius:10px;background:#fbfcfe
}
.wh-catalog-editor summary{cursor:pointer;font-size:9px;font-weight:850;color:#2d5f90}
.wh-catalog-form{
  display:grid;grid-template-columns:2fr 3fr 90px repeat(4,auto) auto;
  gap:8px;align-items:end;margin-top:10px
}
.wh-catalog-form label{
  display:grid;gap:4px;font-size:8px;font-weight:750;color:#6d7c8c
}
.wh-catalog-form input,.wh-catalog-form select{min-height:34px;width:100%}
.wh-catalog-area-panel{margin-top:14px}
.wh-catalog-service-list{display:grid;gap:9px}
.wh-catalog-service-row{
  border:1px solid #e1e7ee;border-radius:11px;background:#fff;padding:11px
}
.wh-catalog-service-main{
  display:flex;justify-content:space-between;gap:12px;align-items:center
}
.wh-catalog-service-main>div:first-child{display:grid;gap:2px;min-width:0}
.wh-catalog-service-main small{font-size:7px;font-weight:850;text-transform:uppercase;color:#718397}
.wh-catalog-service-main strong{font-size:11px;color:#284f78}
.wh-catalog-service-main span{font-size:8px;color:#8994a0}
.wh-catalog-service-main .wh-catalog-flags form{margin:0}
.wh-catalog-service-details{
  margin-top:9px;padding-top:8px;border-top:1px solid #eef2f6
}
.wh-catalog-service-details summary{cursor:pointer;font-size:8px;font-weight:800;color:#55708b}
.wh-catalog-interventions{display:grid;gap:5px;margin-top:8px}
.wh-catalog-intervention{
  display:flex;justify-content:space-between;gap:10px;align-items:center;
  padding:7px 8px;border-radius:8px;background:#f8fafc
}
.wh-catalog-intervention>span{display:grid;gap:2px}
.wh-catalog-intervention strong{font-size:9px;color:#425a72}
.wh-catalog-intervention small{font-size:7px;color:#8995a2}
.wh-catalog-add-int{
  display:grid;grid-template-columns:minmax(220px,1fr) 70px auto auto auto auto;
  gap:7px;align-items:end;margin-top:7px;padding-top:7px;border-top:1px dashed #dfe6ed
}
.wh-catalog-add-int input{min-height:32px}
.wh-catalog-service-actions{
  display:flex;justify-content:flex-end;margin-top:8px
}
.wh-catalog-safety{border-left:3px solid #2f7fc4!important}
.wh-service-choice-groups{display:grid;gap:10px;margin-top:6px}
.wh-service-choice-group{
  padding:10px;border:1px solid #e0e6ed;border-radius:10px;background:#fafcfe
}
.wh-service-choice-group>div:first-child{display:grid;gap:2px;margin-bottom:7px}
.wh-service-choice-group>div:first-child strong{font-size:10px;color:#2b557e}
.wh-service-choice-group>div:first-child small{font-size:8px;color:#84909d}
.wh-service-choice-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px
}
.wh-service-choice{
  display:flex!important;align-items:flex-start;gap:7px;padding:8px!important;
  border:1px solid #e5eaf0;border-radius:8px;background:#fff
}
.wh-service-choice input{width:auto!important;margin-top:2px}
.wh-service-choice span{display:grid;gap:2px}
.wh-service-choice strong{font-size:9px;color:#435a71}
.wh-service-choice small{font-size:7px;color:#8a96a2}
.wh-field-label{display:block;font-size:9px;font-weight:750;color:#596b7f;margin-bottom:5px}
@media(max-width:1200px){
  .wh-grid-4{grid-template-columns:repeat(2,1fr)}
  .wh-catalog-macro-grid{grid-template-columns:repeat(2,1fr)}
  .wh-catalog-form{grid-template-columns:repeat(3,1fr)}
  .wh-service-choice-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:750px){
  .wh-grid-4,.wh-catalog-macro-grid,.wh-catalog-form,.wh-service-choice-grid,.wh-catalog-add-int{grid-template-columns:1fr}
  .wh-catalog-service-main,.wh-catalog-intervention{display:grid}
}


/* =========================================================
   v1.2.1 — CATALOGO A FISARMONICA
   ========================================================= */
.wh-catalog-meaning-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
  margin:0 0 12px;
}
.wh-catalog-meaning-grid>div{
  padding:11px 12px;
  border:1px solid #dfe6ee;
  border-radius:11px;
  background:#fff;
}
.wh-catalog-meaning-grid strong{
  display:block;
  margin-bottom:5px;
  font-size:9px;
  color:#29547e;
}
.wh-catalog-meaning-grid p{
  margin:0;
  font-size:8px;
  line-height:1.55;
  color:#738293;
}
.wh-catalog-toolbar{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin:0 0 13px;
  padding:9px 11px;
  border:1px dashed #d9e2eb;
  border-radius:10px;
  background:#fbfcfe;
  font-size:8px;
  color:#738191;
}
.wh-catalog-status-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:5px;
}
.wh-catalog-status{
  display:inline-flex;
  align-items:center;
  gap:4px;
  min-height:22px;
  padding:3px 7px;
  border:1px solid #e1e7ed;
  border-radius:999px;
  background:#f5f7f9;
  color:#8b96a1;
  font-size:7px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.03em;
}
.wh-catalog-status i{
  width:6px;height:6px;border-radius:50%;background:#aab3bd;
}
.wh-catalog-status.is-on{
  border-color:#bfe5cf;
  background:#ecf8f1;
  color:#1b744e;
}
.wh-catalog-status.is-on i{background:#22a766}
.wh-catalog-area-panel{
  padding:0!important;
  overflow:hidden;
  margin-top:11px!important;
}
.wh-catalog-area-summary,
.wh-catalog-service-summary{
  list-style:none;
  cursor:pointer;
}
.wh-catalog-area-summary::-webkit-details-marker,
.wh-catalog-service-summary::-webkit-details-marker{
  display:none;
}
.wh-catalog-area-summary{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  padding:15px 17px;
}
.wh-catalog-area-summary:hover,
.wh-catalog-service-summary:hover{
  background:rgba(41,84,126,.025);
}
.wh-catalog-area-summary>div:first-child,
.wh-catalog-service-summary>div:first-child{
  display:grid;
  gap:2px;
}
.wh-catalog-area-summary small,
.wh-catalog-service-summary small{
  font-size:7px;
  font-weight:900;
  color:#72879c;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.wh-catalog-area-summary h2{margin:0;font-size:14px;color:#1e3550}
.wh-catalog-area-summary p{margin:0;font-size:8px;color:#81909e}
.wh-catalog-summary-right{
  display:flex;
  align-items:center;
  gap:9px;
}
.wh-catalog-caret{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:27px;
  height:27px;
  flex:0 0 auto;
  border:1px solid #dfe6ed;
  border-radius:999px;
  background:#f8fafc;
  color:#60768c;
  font-size:12px;
  transition:transform .18s ease;
}
details[open] > summary .wh-catalog-caret{transform:rotate(180deg)}
.wh-catalog-area-panel > .wh-catalog-service-list,
.wh-catalog-area-panel > .wh-cr-empty,
.wh-catalog-area-panel > .wh-catalog-editor{
  margin:0 16px 14px;
}
.wh-catalog-service-row{
  padding:0!important;
  overflow:hidden;
}
.wh-catalog-service-summary{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:11px 12px;
}
.wh-catalog-service-summary strong{
  font-size:10px;
  color:#2a5279;
}
.wh-catalog-service-summary span{
  font-size:8px;
  color:#87929e;
}
.wh-catalog-service-body{
  padding:0 12px 12px;
  border-top:1px solid #eef2f5;
}
.wh-catalog-switches{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  padding:10px 0;
}
.wh-catalog-switches>div:first-child{
  display:grid;
  gap:2px;
}
.wh-catalog-switches>div:first-child strong{font-size:9px;color:#3f5870}
.wh-catalog-switches>div:first-child span{font-size:8px;color:#85919d}
.wh-catalog-switch-grid{
  display:grid;
  grid-template-columns:repeat(4,auto);
  gap:6px;
}
.wh-catalog-toggle-form{margin:0}
.wh-catalog-switch{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:30px;
  padding:5px 9px;
  border:1px solid #dfe5eb;
  border-radius:999px;
  background:#f5f7f9;
  color:#7f8b97;
  font-size:8px;
  font-weight:800;
  cursor:pointer;
}
.wh-catalog-switch-dot{
  width:8px;height:8px;border-radius:50%;background:#aeb7c0
}
.wh-catalog-switch.is-on{
  background:#eaf8f0;
  border-color:#b9e4ca;
  color:#176f49;
}
.wh-catalog-switch.is-on .wh-catalog-switch-dot{background:#22a766}
.wh-catalog-service-details{
  margin-top:3px;
  padding:8px 0 0!important;
  border-top:1px dashed #dfe6ed;
}
.wh-catalog-service-details>summary{
  display:flex;
  justify-content:space-between;
  cursor:pointer;
  font-size:8px;
  font-weight:850;
  color:#4f6b85;
}
.wh-catalog-service-details>summary span{
  display:inline-flex;
  min-width:20px;
  justify-content:center;
  padding:2px 5px;
  border-radius:999px;
  background:#eef3f7;
}
@media(max-width:1200px){
  .wh-catalog-meaning-grid{grid-template-columns:repeat(2,1fr)}
  .wh-catalog-switches{display:grid}
  .wh-catalog-switch-grid{grid-template-columns:repeat(2,auto);justify-content:start}
}
@media(max-width:760px){
  .wh-catalog-meaning-grid{grid-template-columns:1fr}
  .wh-catalog-toolbar,.wh-catalog-area-summary,.wh-catalog-service-summary{display:grid}
  .wh-catalog-summary-right{justify-content:space-between}
  .wh-catalog-switch-grid{grid-template-columns:1fr 1fr}
}


/* =========================================================
   v1.3.0 — AZIENDA PARTNER / SEDI / TECNICI
   ========================================================= */
.wh-company-dashboard{display:grid;gap:12px;margin-bottom:12px}
.wh-company-head{border-left:3px solid #2d78be!important}
.wh-company-badge{display:inline-flex;padding:5px 8px;border-radius:999px;background:#eaf2fb;color:#2a6398;font-size:8px;font-weight:850}
.wh-company-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}
.wh-company-stats>div{display:grid;gap:2px;padding:10px;border:1px solid #e1e7ed;border-radius:10px;background:#fafcfe}
.wh-company-stats strong{font-size:17px;color:#24547f}.wh-company-stats span{font-size:8px;color:#7c8996}
.wh-company-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.wh-company-list{display:grid;gap:7px}
.wh-company-item{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;border:1px solid #e4e9ef;border-radius:10px;background:#fafcfe}
.wh-company-item>div{display:grid;gap:2px}.wh-company-item small{font-size:7px;font-weight:850;color:#74879a}.wh-company-item strong{font-size:10px;color:#355a7d}.wh-company-item span{font-size:8px;color:#87939f}.wh-company-item em{font-size:8px;font-style:normal;color:#26734d}
.wh-company-drawer{margin-top:9px;padding:9px 10px;border:1px dashed #d5e0eb;border-radius:10px;background:#fbfcfe}
.wh-company-drawer>summary{cursor:pointer;display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#315f8a}.wh-company-drawer>summary span{font-size:8px;color:#8894a0}
.wh-company-assignment-card,.wh-company-monitor-card{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:11px;border:1px solid #cfe3f3;border-radius:11px;background:#f2f8fd}
.wh-company-assignment-card>div,.wh-company-monitor-card{display:grid;gap:3px}.wh-company-assignment-card span,.wh-company-monitor-card span{font-size:7px;font-weight:900;color:#3b77a8;letter-spacing:.05em}.wh-company-assignment-card strong,.wh-company-monitor-card strong{font-size:10px;color:#244f75}.wh-company-assignment-card small,.wh-company-monitor-card p{font-size:8px;color:#768696;margin:0}
.wh-company-assignment-card form{display:flex;gap:7px;align-items:center}.wh-company-assignment-card select{min-width:190px;min-height:34px}
.wh-company-maps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wh-company-live-session{padding:10px;border:1px solid #e0e7ee;border-radius:11px;background:#fff}.wh-company-live-session .wh-live-map{height:230px;margin-top:8px}
.wh-company-context{border-left:3px solid #2d78be!important}
@media(max-width:1000px){.wh-company-grid,.wh-company-maps{grid-template-columns:1fr}.wh-company-assignment-card{display:grid}.wh-company-assignment-card form{display:grid}.wh-company-stats{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.wh-company-stats{grid-template-columns:1fr}.wh-company-item{display:grid}.wh-company-assignment-card select{min-width:0;width:100%}}


/* =========================================================
   v1.3.1 — FIX PROFILO / GESTIONE AZIENDA
   ========================================================= */
.wh-nav-company:before{
  content:"▦";
  display:inline-block;
  margin-right:7px;
  font-size:10px;
  opacity:.8;
}
#azienda-partner{
  scroll-margin-top:24px;
}
.wh-company-setup[open]{
  border-color:#b8d2ec;
  background:#f8fbff;
}
.wh-company-setup[open] > summary{
  color:#1e5b95;
}

/* =========================================================
   v1.3.2 — FIX ALLINEAMENTO SEZIONE AZIENDA PARTNER
   Corregge checkbox e contenuti che ereditavano width:100% dai campi form.
   ========================================================= */
.wh-form .wh-check{
  display:grid!important;
  grid-template-columns:20px minmax(0,1fr)!important;
  align-items:start!important;
  gap:11px!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
}
.wh-form .wh-check input[type="checkbox"]{
  appearance:auto!important;
  -webkit-appearance:checkbox!important;
  display:block!important;
  width:18px!important;
  min-width:18px!important;
  max-width:18px!important;
  height:18px!important;
  min-height:18px!important;
  max-height:18px!important;
  margin:2px 0 0 0!important;
  padding:0!important;
  border-radius:3px!important;
  box-shadow:none!important;
  flex:none!important;
}
.wh-form .wh-check span{
  display:block!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
}
.wh-company-setup form{
  align-items:start!important;
}
.wh-company-setup .wh-btn,
.wh-company-drawer .wh-btn{
  justify-self:start;
}
@media(max-width:700px){
  .wh-company-head .wh-panel-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .wh-company-badge{
    align-self:flex-start;
  }
}


/* =========================================================
   v1.3.5 — GESTIONE AZIENDA PARTNER: LAYOUT RIALlineato
   ========================================================= */

/* Sedi operative e Collaboratori a tutta larghezza:
   evita campi stretti e testi sovrapposti. */
.wh-company-grid{
  grid-template-columns:1fr!important;
  gap:16px!important;
}

.wh-company-section{
  width:100%!important;
  min-width:0!important;
}

.wh-company-section .wh-panel-head{
  align-items:flex-start!important;
  margin-bottom:16px!important;
}

.wh-company-section .wh-panel-head h2{
  margin:0 0 6px!important;
}

.wh-company-section .wh-panel-head p{
  margin:0!important;
  line-height:1.45!important;
}

/* Box di inserimento più puliti. */
.wh-company-section .wh-company-drawer{
  margin-top:14px!important;
  padding:14px!important;
  border-radius:12px!important;
}

.wh-company-section .wh-company-drawer>summary{
  min-height:28px!important;
  align-items:center!important;
  font-size:10px!important;
  font-weight:800!important;
}

/* Nei form aziendali le griglie devono avere colonne regolari. */
.wh-company-branches .wh-grid-3{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  column-gap:18px!important;
  row-gap:18px!important;
}

.wh-company-staff .wh-grid-2{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  column-gap:18px!important;
  row-gap:18px!important;
}

.wh-company-dashboard .wh-grid-2,
.wh-company-dashboard .wh-grid-3,
.wh-company-dashboard .wh-grid-2>*,
.wh-company-dashboard .wh-grid-3>*{
  min-width:0!important;
}

/* Campi più uniformi. */
.wh-company-dashboard .wh-form label{
  font-size:13px!important;
  line-height:1.35!important;
}

.wh-company-dashboard .wh-form input,
.wh-company-dashboard .wh-form select,
.wh-company-dashboard .wh-form textarea{
  min-height:46px!important;
  padding:12px 13px!important;
  margin-top:7px!important;
}

/* Raggio operativo: non deve allargarsi inutilmente. */
.wh-company-branches .wh-company-drawer form>label:last-of-type{
  max-width:320px!important;
}

/* Competenze del collaboratore ordinate e più larghe. */
.wh-company-staff .wh-service-choice-groups{
  margin-top:8px!important;
}

.wh-company-staff .wh-service-choice-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:9px!important;
}

.wh-company-staff .wh-service-choice{
  min-height:66px!important;
}

/* Pulsanti coerenti. */
.wh-company-section .wh-btn{
  justify-self:start!important;
  width:auto!important;
  min-width:150px!important;
  text-align:center!important;
}

/* Responsive */
@media(max-width:900px){
  .wh-company-branches .wh-grid-3,
  .wh-company-staff .wh-grid-2{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .wh-company-staff .wh-service-choice-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:650px){
  .wh-company-branches .wh-grid-3,
  .wh-company-staff .wh-grid-2,
  .wh-company-staff .wh-service-choice-grid{
    grid-template-columns:1fr!important;
  }

  .wh-company-branches .wh-company-drawer form>label:last-of-type{
    max-width:none!important;
  }

  .wh-company-section .wh-btn{
    width:100%!important;
  }
}


/* =========================================================
   v1.3.6 — SEDE OPERATIVA: GEOGRAFIA ASSISTITA
   ========================================================= */
.wh-company-branch-form .wh-company-geo-heading{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:12px;
  padding-top:2px;
  border-top:1px solid #eef2f6;
}
.wh-company-branch-form .wh-company-geo-heading strong{
  font-size:13px;
  color:#314f6c;
}
.wh-company-branch-form .wh-company-geo-heading span{
  font-size:11px;
  color:#7d8b99;
}
.wh-company-branch-form .wh-geo-assisted{
  display:grid;
  gap:18px;
}
.wh-company-branch-form .wh-geo-status{
  margin-top:-3px;
}
.wh-company-branch-form .wh-company-radius-field{
  max-width:320px!important;
}
@media(max-width:700px){
  .wh-company-branch-form .wh-company-geo-heading{
    display:grid;
  }
  .wh-company-branch-form .wh-company-radius-field{
    max-width:none!important;
  }
}


/* =========================================================
   v1.3.7 — SCENARIO DEMO / TEST AUTOMATICI
   ========================================================= */
.wh-demo-test-panel{
  margin:14px 0 18px!important;
  border-left:4px solid #1768d5!important;
}
.wh-demo-test-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
}
.wh-demo-test-head h2{margin:2px 0 6px!important}
.wh-demo-test-head p{margin:0;max-width:780px;color:#6f7f90}
.wh-demo-state{
  display:inline-flex;
  white-space:nowrap;
  padding:6px 9px;
  border-radius:999px;
  background:#f0f2f5;
  color:#778391;
  font-size:9px;
  font-weight:850;
}
.wh-demo-state.is-ready{background:#e9f8ef;color:#14734b}
.wh-demo-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:16px 0;
}
.wh-demo-actions form{margin:0}
.wh-demo-actions .button-hero{
  min-height:38px!important;
  padding:7px 13px!important;
  font-size:11px!important;
}
.wh-demo-includes{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
  margin:12px 0;
}
.wh-demo-includes>div{
  display:grid;
  gap:2px;
  padding:10px;
  border:1px solid #e0e7ee;
  border-radius:10px;
  background:#fafcfe;
}
.wh-demo-includes strong{font-size:17px;color:#225d97}
.wh-demo-includes span{font-size:8px;color:#7d8996}
.wh-demo-credentials{
  margin-top:14px;
  padding:13px;
  border:1px solid #dce6f0;
  border-radius:12px;
  background:#f8fbff;
}
.wh-demo-password{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-bottom:10px;
}
.wh-demo-password span{font-size:9px;font-weight:800;color:#4d6174}
.wh-demo-password code{font-size:11px;font-weight:800}
.wh-demo-credential-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
}
.wh-demo-credential{
  display:grid;
  gap:3px;
  min-width:0;
  padding:8px;
  border:1px solid #e2e8ef;
  border-radius:9px;
  background:#fff;
}
.wh-demo-credential small{font-size:7px;color:#71849a;font-weight:850;text-transform:uppercase}
.wh-demo-credential strong{font-size:9px;color:#334e69}
.wh-demo-credential code{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:8px;
}
.wh-demo-flow{margin-top:14px}
.wh-demo-flow h3{margin:0 0 8px;font-size:12px}
.wh-demo-flow-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:7px;
}
.wh-demo-flow-grid>div{
  display:grid;
  gap:3px;
  padding:9px;
  border:1px solid #e3e8ee;
  border-radius:9px;
  background:#fff;
}
.wh-demo-flow-grid strong{font-size:9px;color:#2c5d8b}
.wh-demo-flow-grid span{font-size:8px;line-height:1.4;color:#788592}
.wh-demo-results{
  margin-top:14px;
  padding:12px;
  border:1px solid #edd7a8;
  border-radius:11px;
  background:#fffbf1;
}
.wh-demo-results.is-ok{
  border-color:#bfe3cd;
  background:#f2fbf5;
}
.wh-demo-results-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}
.wh-demo-results-head strong{font-size:11px}
.wh-demo-results-head span{font-size:8px;color:#7c8996}
.wh-demo-check-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px;
}
.wh-demo-check-list>div{
  display:grid;
  grid-template-columns:20px minmax(0,1fr) auto;
  gap:6px;
  align-items:center;
  padding:6px 8px;
  border-radius:7px;
  background:rgba(255,255,255,.7);
}
.wh-demo-check-list>div>span{
  display:grid;
  place-items:center;
  width:18px;height:18px;
  border-radius:50%;
  font-size:9px;
  font-weight:900;
}
.wh-demo-check-list .is-pass>span{background:#dff5e8;color:#137246}
.wh-demo-check-list .is-fail>span{background:#ffe6e3;color:#a13c32}
.wh-demo-check-list strong{font-size:8px;color:#44596c}
.wh-demo-check-list small{font-size:7px;color:#81909d}
.wh-demo-limit{
  margin-top:12px;
  padding:9px 11px;
  border-radius:9px;
  background:#f5f7fa;
  color:#657483;
  font-size:8px;
  line-height:1.5;
}
@media(max-width:1100px){
  .wh-demo-includes{grid-template-columns:repeat(3,1fr)}
  .wh-demo-credential-grid{grid-template-columns:repeat(2,1fr)}
  .wh-demo-flow-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
  .wh-demo-test-head,.wh-demo-password{display:grid}
  .wh-demo-includes,.wh-demo-credential-grid,.wh-demo-flow-grid,.wh-demo-check-list{grid-template-columns:1fr}
  .wh-demo-check-list>div{grid-template-columns:20px 1fr}
  .wh-demo-check-list small{grid-column:2}
}


/* =========================================================
   v1.4.1 — UX CLIENTE / PARTNER SEMPLIFICATA
   ========================================================= */
.wh-next-action{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 22px;margin-bottom:13px;border:1px solid #d4e1ed;border-left:5px solid #3b7eb9;border-radius:15px;background:linear-gradient(135deg,#f7fbff,#fff)}
.wh-next-action>div{display:grid;gap:3px}.wh-next-action small{font-size:8px;font-weight:900;letter-spacing:.09em;color:#5480a6}.wh-next-action span{font-size:9px;color:#7b8996}.wh-next-action h2{margin:2px 0!important;font-size:20px!important;color:#244867}.wh-next-action p{margin:0!important;font-size:12px;line-height:1.5;color:#667687}.wh-next-action.is-action{border-left-color:#e29724;background:linear-gradient(135deg,#fff9ef,#fff)}.wh-next-action.is-live{border-left-color:#2a9b68;background:linear-gradient(135deg,#f3fbf6,#fff)}.wh-next-action.is-warning{border-left-color:#d69227}.wh-next-action.is-closed{border-left-color:#b6bec6}
.wh-simple-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:12px}.wh-simple-kpis-4{grid-template-columns:repeat(4,1fr)}.wh-simple-kpis>div{display:grid;gap:2px;padding:12px 14px;border:1px solid #e0e7ee;border-radius:11px;background:#fff}.wh-simple-kpis strong{font-size:22px;color:#2a5f8e}.wh-simple-kpis span{font-size:9px;font-weight:850;color:#556b7e}.wh-simple-kpis .is-todo{border-left:4px solid #32a16b}.wh-simple-kpis .is-ready{border-left:4px solid #4a83b7}.wh-simple-kpis .is-managed{border-left:4px solid #dd9222}.wh-simple-kpis .is-closed{border-left:4px solid #c75c5c}.wh-subscription-compact{padding:9px 12px!important;margin-bottom:12px!important}.wh-guided-reliability{display:flex;gap:7px;align-items:center;margin:0 0 12px;padding:7px 10px;background:#f5f8fb;border-radius:9px}.wh-guided-reliability span,.wh-guided-reliability small{font-size:8px;color:#7d8996}.wh-guided-reliability strong{font-size:9px;color:#335f85}
.wh-services-availability{margin-bottom:10px}.wh-services-availability>summary{display:flex;justify-content:space-between;gap:10px;align-items:center;cursor:pointer}.wh-services-availability>summary>div{display:grid;gap:2px}.wh-services-availability>summary strong{font-size:11px;color:#355d80}.wh-services-availability>summary span,.wh-services-availability>summary em{font-size:8px;color:#7d8997;font-style:normal}.wh-service-summary{display:grid;gap:3px;padding:9px;border-radius:9px;background:#f6f9fc}.wh-service-summary small{font-size:7px;color:#81909d}.wh-service-summary strong{font-size:9px;color:#3b5e7c}
.wh-property-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wh-property-card{display:flex;justify-content:space-between;gap:14px;padding:14px;border:1px solid #e1e8ef;border-radius:12px;background:#fafcfe}.wh-property-card>div:first-child{display:grid;gap:3px}.wh-property-card small{font-size:7px;font-weight:900;color:#74889b}.wh-property-card h3{margin:0!important;font-size:14px}.wh-property-card p,.wh-property-card span{margin:0;font-size:9px;color:#71808e}.wh-property-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.wh-property-actions form{margin:0}.wh-link-danger{border:0;background:none;color:#a84b4b;font-size:9px;cursor:pointer}.wh-property-add{margin-top:12px}.wh-property-add>summary{cursor:pointer;font-weight:850;color:#315f8a}.wh-property-picker{display:grid;gap:8px;margin-bottom:18px}.wh-property-picker>strong{font-size:12px;color:#405e79}.wh-property-picker>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.wh-property-picker a{display:grid;gap:2px;padding:10px;border:1px solid #dfe7ef;border-radius:10px;background:#fff;text-decoration:none;color:#395b79;font-size:10px;font-weight:800}.wh-property-picker a small{font-size:7px;color:#81909e;font-weight:500}.wh-property-picker a.is-selected{border-color:#2e79bd;background:#f0f7fd;box-shadow:0 0 0 1px #2e79bd inset}
.wh-ticket-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}.wh-ticket-tabs a{padding:7px 10px;border:1px solid #dce4ec;border-radius:999px;text-decoration:none;font-size:9px;color:#526c82;background:#fff}.wh-ticket-tabs a.is-active{background:#245f96;color:#fff;border-color:#245f96}.wh-ticket-index-row{display:grid;grid-template-columns:1fr 1.1fr auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid #edf1f5}.wh-ticket-index-row:first-of-type{border-top:0}.wh-ticket-index-row>div{display:grid;gap:2px}.wh-ticket-index-row small{font-size:7px;color:#82909c}.wh-ticket-index-row strong{font-size:10px;color:#365a7b}.wh-ticket-index-row span{font-size:8px;color:#7b8996}.wh-ticket-index-state em{font-size:7px;font-style:normal;color:#708398}.wh-ticket-index-state strong{font-size:9px}
.wh-structure-panel{margin-top:12px}.wh-structure-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.wh-structure-choice{display:grid!important;grid-template-columns:18px 1fr;gap:9px;align-items:start;padding:11px!important;border:1px solid #dfe6ed;border-radius:11px;background:#fff;cursor:pointer}.wh-structure-choice input{width:16px!important;height:16px!important;min-height:16px!important;margin:2px 0 0!important;padding:0!important}.wh-structure-choice span{display:grid;gap:3px}.wh-structure-choice strong{font-size:10px;color:#345b7f}.wh-structure-choice small{font-size:8px;line-height:1.4;color:#788795}.wh-structure-choice.is-current{border-color:#7ea9cf;background:#f5faff}.wh-structure-pending{display:grid;gap:3px;padding:10px 12px;margin-bottom:12px;border-radius:10px;background:#fff6e6;color:#8a5d14}.wh-structure-pending strong{font-size:10px}.wh-structure-pending span{font-size:8px}.wh-company-structure-info{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px;padding:9px 11px;border:1px solid #e1e7ee;border-radius:9px;background:#fafcfe}.wh-company-structure-info small{font-size:7px;color:#84919d}.wh-company-structure-info strong{font-size:9px;color:#365f82}.wh-company-structure-info a{margin-left:auto;font-size:8px;text-decoration:none}
.wh-cr-structure-requests{margin:10px 0 14px!important;border-left:4px solid #e29a2b!important}.wh-cr-structure-requests article{display:grid;grid-template-columns:minmax(210px,.8fr) 1.5fr;gap:12px;align-items:end;padding:10px 0;border-top:1px solid #e8edf2}.wh-cr-structure-requests article:first-of-type{border-top:0}.wh-cr-structure-requests article>div{display:grid;gap:2px}.wh-cr-structure-requests small{font-size:7px;color:#84929f}.wh-cr-structure-requests strong{font-size:10px}.wh-cr-structure-requests span{font-size:8px;color:#6f7f8d}.wh-cr-structure-requests form{display:grid;grid-template-columns:1fr auto auto auto;gap:6px;align-items:center}.wh-cr-structure-line{display:flex;justify-content:space-between;gap:10px;padding:7px 9px;margin-bottom:8px;border-radius:8px;background:#f5f8fb}.wh-cr-structure-line small{font-size:7px;color:#82909c}.wh-cr-structure-line strong{font-size:8px;color:#3c5f7d}.wh-cr-partner-branches{margin:9px 0;border:1px solid #e0e7ee;border-radius:9px;background:#fafcfe;overflow:hidden}.wh-cr-partner-branches>summary{display:flex;justify-content:space-between;gap:8px;padding:8px 9px;cursor:pointer}.wh-cr-partner-branches>summary strong{font-size:8px;color:#345e83}.wh-cr-partner-branches>summary span{font-size:7px;color:#87939e}.wh-cr-partner-branches>div{display:grid;gap:5px;padding:0 8px 8px}.wh-cr-branch-row{display:flex;justify-content:space-between;gap:9px;align-items:center;padding:7px;border:1px solid #e6ebf0;border-radius:7px;background:#fff}.wh-cr-branch-row>div{display:grid;gap:2px}.wh-cr-branch-row strong{font-size:8px}.wh-cr-branch-row span,.wh-cr-branch-row em{font-size:7px;color:#84919d;font-style:normal}
@media(max-width:900px){.wh-structure-grid,.wh-property-picker>div{grid-template-columns:1fr}.wh-property-grid{grid-template-columns:1fr}.wh-simple-kpis-4{grid-template-columns:repeat(2,1fr)}.wh-cr-structure-requests article{grid-template-columns:1fr}.wh-cr-structure-requests form{grid-template-columns:1fr 1fr}.wh-cr-structure-requests form input{grid-column:1/-1}}
@media(max-width:650px){.wh-next-action{display:grid}.wh-next-action .wh-btn{width:100%;text-align:center}.wh-simple-kpis,.wh-simple-kpis-4{grid-template-columns:1fr}.wh-ticket-index-row{grid-template-columns:1fr}.wh-property-card{display:grid}.wh-cr-structure-requests form{grid-template-columns:1fr}}


/* =========================================================
   v1.4.2 — DASHBOARD CLIENTE ESSENZIALE
   ========================================================= */
.wh-customer-focus-ticket{
  display:block;
  padding:22px;
  border:1px solid #dbe5ef;
  border-left:4px solid #2f79bd;
  border-radius:16px;
  background:#fff;
  box-shadow:0 6px 20px rgba(20,40,70,.04);
}
.wh-customer-focus-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}
.wh-customer-focus-head>div{
  display:grid;
  gap:5px;
  min-width:0;
}
.wh-customer-focus-eyebrow{
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
  color:#5380a7;
}
.wh-customer-focus-ticket small{
  font-size:10px;
  color:#7a8895;
}
.wh-customer-focus-ticket h2{
  margin:2px 0!important;
  font-size:24px!important;
  color:#173c5d;
}
.wh-customer-focus-ticket p{
  margin:0!important;
  color:#667686;
  font-size:13px;
}
.wh-customer-focus-empty{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}
@media(max-width:700px){
  .wh-customer-focus-head,
  .wh-customer-focus-empty{
    display:grid;
  }
  .wh-customer-focus-ticket .wh-btn{
    width:100%;
    text-align:center;
  }
}


/* =========================================================
   v1.4.3 — PROFILO CLIENTE / ABBONAMENTO
   ========================================================= */
.wh-profile-subscription-status{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:14px;
  border:1px solid #dce6ef;
  border-radius:12px;
  background:#f8fbff;
}
.wh-profile-subscription-status>div{
  display:grid;
  gap:5px;
}
.wh-profile-subscription-status small,
.wh-profile-subscription-grid small{
  font-size:9px;
  font-weight:850;
  letter-spacing:.04em;
  color:#76889a;
}
.wh-profile-subscription-status strong{
  display:block;
}
.wh-profile-subscription-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.wh-profile-subscription-grid>div{
  display:grid;
  gap:4px;
  padding:12px;
  border:1px solid #e2e8ee;
  border-radius:10px;
  background:#fff;
}
.wh-profile-subscription-grid strong{
  font-size:12px;
  color:#294e70;
}
@media(max-width:850px){
  .wh-profile-subscription-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .wh-profile-subscription-status{display:grid}
  .wh-profile-subscription-grid{grid-template-columns:1fr}
  .wh-profile-subscription-status .wh-btn{width:100%;text-align:center}
}


/* =========================================================
   v1.4.4 — TICKET CLIENTE APERTO
   ========================================================= */
.wh-focused-ticket-panel{
  border-left:4px solid #2f79bd!important;
}
.wh-focused-ticket-panel .wh-ticket{
  padding-top:14px;
}
.wh-focused-ticket-panel .wh-ticket-details[open]{
  margin-top:12px;
}
.wh-focused-ticket-panel .wh-ticket-details[open] > summary{
  background:#f5f9fd;
}


/* =========================================================
   v1.4.5 — DASHBOARD CLIENTE: TUTTI I TICKET ATTIVI
   ========================================================= */
.wh-customer-active-board{
  padding:18px;
  border:1px solid #dbe5ef;
  border-left:4px solid #2f79bd;
  border-radius:16px;
  background:#fff;
  box-shadow:0 6px 20px rgba(20,40,70,.04);
}
.wh-customer-active-board-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:12px;
}
.wh-customer-active-board-head h2{
  margin:2px 0!important;
  font-size:21px!important;
  color:#173c5d;
}
.wh-customer-active-board-head p{
  margin:0!important;
  font-size:12px;
  color:#71808d;
}
.wh-customer-active-list{
  display:grid;
  gap:9px;
}
.wh-customer-active-ticket{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:13px 14px;
  border:1px solid #e2e8ee;
  border-radius:12px;
  background:#fafcfe;
}
.wh-customer-active-copy{
  display:grid;
  gap:3px;
  min-width:0;
}
.wh-customer-active-copy small{
  font-size:9px;
  color:#778898;
}
.wh-customer-active-copy strong{
  font-size:14px;
  color:#193d5c;
}
.wh-customer-active-copy span{
  font-size:10px;
  color:#738290;
}
.wh-ticket-tabs a strong{
  display:inline-grid;
  place-items:center;
  min-width:20px;
  height:20px;
  margin-left:5px;
  padding:0 5px;
  border-radius:999px;
  background:#eef2f6;
  font-size:9px;
}
.wh-ticket-tabs a.is-active strong{
  background:#dbe9ff;
  color:#1559b7;
}
@media(max-width:700px){
  .wh-customer-active-board-head,
  .wh-customer-active-ticket{
    display:grid;
  }
  .wh-customer-active-ticket .wh-btn{
    width:100%;
    text-align:center;
  }
}


/* v1.4.7 — Dashboard Partner / Tecnico semplificate */
.wh-partner-availability-summary{
  display:flex;justify-content:space-between;align-items:center;gap:14px;
  padding:11px 13px;margin-bottom:12px;border:1px solid #dfe7ee;border-radius:11px;background:#fff;
}
.wh-partner-availability-main{display:flex;align-items:center;gap:9px;min-width:0}
.wh-partner-availability-main>div{display:grid;gap:2px;min-width:0}
.wh-partner-availability-main strong{font-size:11px;color:#2c4c67}
.wh-partner-availability-main small{font-size:8px;color:#7d8a96;line-height:1.35}
.wh-partner-availability-summary>a{font-size:9px;font-weight:800;text-decoration:none;white-space:nowrap}
.wh-partner-preview{margin-top:12px!important}
.wh-partner-preview-list{display:grid;gap:7px}
.wh-partner-preview-row{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:10px 11px;border:1px solid #e3e9ef;border-radius:10px;background:#fafcfe;
}
.wh-partner-preview-row>div{display:grid;gap:2px;min-width:0}
.wh-partner-preview-row small{font-size:8px;color:#7c8b99}
.wh-partner-preview-row strong{font-size:10px;color:#294c6a}
.wh-partner-preview-row span{font-size:8px;color:#84919d}
.wh-next-action{margin-bottom:12px!important}
.wh-simple-kpis{margin-bottom:12px!important}
@media(max-width:700px){
  .wh-partner-availability-summary,.wh-partner-preview-row{display:grid}
  .wh-partner-availability-summary>a,.wh-partner-preview-row .wh-btn{width:100%;text-align:center}
}


/* =========================================================
   v1.4.8 — INDIRIZZO VISIBILE PRIMA DELL'ACCETTAZIONE
   ========================================================= */
.wh-ticket-quick .wh-quick-address{
  min-width:0;
}
.wh-ticket-quick .wh-quick-address strong{
  white-space:normal;
  line-height:1.3;
}


/* =========================================================
   v1.4.9 — SIMULATORE 360°
   ========================================================= */
.wh-demo-includes-360>div small{
  display:block;
  margin-top:2px;
  font-size:9px;
  color:#788796;
}
.wh-demo-credential-360 span{
  display:block;
  margin-top:8px;
  font-size:10px;
  line-height:1.45;
  color:#66788a;
}
.wh-demo-check-list-360 .wh-demo-check-group{
  grid-column:1/-1;
  padding:9px 10px 5px;
  margin-top:4px;
  border-bottom:1px solid #dfe7ef;
  font-size:11px;
  font-weight:900;
  color:#244d72;
  background:transparent;
}
.wh-demo-flow-360 .wh-demo-flow-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
@media(max-width:1050px){
  .wh-demo-flow-360 .wh-demo-flow-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:650px){
  .wh-demo-flow-360 .wh-demo-flow-grid{grid-template-columns:1fr}
}


/* =========================================================
   v1.5.0 — CONTROL ROOM NAZIONALE
   ========================================================= */
.wh-cr-v150-network-kpis{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:9px;
  margin:0 0 13px;
}
.wh-cr-v150-network-kpis-small{
  grid-template-columns:repeat(6,minmax(0,1fr));
}
.wh-cr-v150-kpi{
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-rows:auto auto;
  column-gap:8px;
  align-items:center;
  min-width:0;
  padding:12px;
  border:1px solid #dfe6ed;
  border-radius:12px;
  background:#fff;
  text-decoration:none;
}
.wh-cr-v150-kpi>span{
  grid-row:1/3;
  width:27px;height:27px;
  display:grid;place-items:center;
  border-radius:8px;
  background:#f0f4f8;
  color:#496985;
  font-size:11px;
  font-weight:900;
}
.wh-cr-v150-kpi>strong{font-size:19px;line-height:1;color:#173d60}
.wh-cr-v150-kpi>small{font-size:8px;color:#758697;line-height:1.25}
.wh-cr-v150-kpi:hover{border-color:#aac4dc;background:#fbfdff}

.wh-cr-v150-operational{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:9px;
  margin-bottom:13px;
}
.wh-cr-v150-operational>a{
  display:grid;
  gap:3px;
  padding:12px;
  border:1px solid #dfe6ed;
  border-radius:12px;
  background:#fff;
  text-decoration:none;
  min-width:0;
}
.wh-cr-v150-operational>a.needs-action{
  border-left:4px solid #e19b31;
  background:#fffaf2;
}
.wh-cr-v150-operational small{font-size:8px;font-weight:850;color:#6f8293}
.wh-cr-v150-operational strong{font-size:21px;color:#173d60}
.wh-cr-v150-operational span{font-size:8px;color:#8794a0}

.wh-cr-v150-todo-list{display:grid;gap:7px}
.wh-cr-v150-todo-list>a{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:10px 12px;border:1px solid #e3e9ef;border-radius:10px;background:#fbfcfd;text-decoration:none
}
.wh-cr-v150-todo-list>a>div{display:flex;align-items:center;gap:10px}
.wh-cr-v150-todo-list strong{font-size:16px;color:#173d60}
.wh-cr-v150-todo-list span{font-size:10px;color:#334e65;font-weight:750}
.wh-cr-v150-todo-list em{font-style:normal;font-size:9px;font-weight:800}
.wh-cr-v150-all-clear{
  display:flex;align-items:center;gap:10px;
  padding:12px 14px;margin-bottom:13px;border:1px solid #cfe7d6;border-radius:12px;background:#f5fbf7
}
.wh-cr-v150-all-clear>span{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#e4f4e9;font-weight:900}
.wh-cr-v150-all-clear>div{display:grid;gap:2px}
.wh-cr-v150-all-clear strong{font-size:11px;color:#315f43}
.wh-cr-v150-all-clear small{font-size:8px;color:#72877a}
.wh-cr-v150-network-now{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.wh-cr-v150-network-now>div{display:grid;gap:2px;padding:11px;border:1px solid #e5eaf0;border-radius:10px}
.wh-cr-v150-network-now strong{font-size:18px;color:#183f61}
.wh-cr-v150-network-now span{font-size:9px;color:#748492}

.wh-cr-v150-network-filters{
  grid-template-columns:minmax(220px,1.6fr) repeat(4,minmax(120px,.8fr)) auto auto!important;
}
.wh-cr-v150-partner-list{display:grid;gap:9px}
.wh-cr-v150-partner-card{
  display:grid;
  grid-template-columns:minmax(220px,1.5fr) minmax(190px,1.2fr) minmax(135px,.8fr) minmax(100px,.55fr) auto;
  gap:12px;align-items:center;
  padding:13px 14px;border:1px solid #dfe6ed;border-radius:13px;background:#fff
}
.wh-cr-v150-partner-main{display:flex;gap:10px;align-items:center;min-width:0}
.wh-cr-v150-partner-main>div:last-child{display:grid;gap:2px;min-width:0}
.wh-cr-v150-partner-main small{font-size:8px;font-weight:900;color:#7d8d9a}
.wh-cr-v150-partner-main strong{font-size:12px;color:#173d60}
.wh-cr-v150-partner-main span{font-size:9px;color:#748492;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wh-cr-v150-partner-summary{display:grid;gap:3px;min-width:0}
.wh-cr-v150-partner-summary strong{font-size:10px;color:#3c566d}
.wh-cr-v150-partner-summary span{font-size:9px;color:#7d8994;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wh-cr-v150-partner-state{display:flex;flex-wrap:wrap;gap:5px}
.wh-cr-v150-partner-tickets{display:grid;gap:2px;text-align:center}
.wh-cr-v150-partner-tickets small{font-size:8px;color:#7b8996}
.wh-cr-v150-partner-tickets strong{font-size:17px;color:#173d60}
.wh-cr-v150-partner-tickets span{font-size:8px;color:#8995a0}

.wh-cr-v150-partner-header{
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  padding:12px 0 14px;
}
.wh-cr-v150-partner-title{display:flex;align-items:center;gap:10px;flex:1;min-width:250px}
.wh-cr-v150-partner-title>div:last-child{display:grid;gap:2px}
.wh-cr-v150-partner-title small{font-size:8px;font-weight:900;color:#788a99}
.wh-cr-v150-partner-title h2{margin:0!important;font-size:20px!important;color:#173d60}
.wh-cr-v150-partner-title span{font-size:9px;color:#758493}
.wh-cr-v150-partner-badges{display:flex;gap:6px;flex-wrap:wrap}
.wh-cr-v150-actions{margin:0 0 12px!important}
.wh-cr-v150-partner-kpis{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:12px
}
.wh-cr-v150-partner-kpis>div,.wh-cr-v150-info-grid>div{
  display:grid;gap:3px;padding:11px;border:1px solid #e1e7ed;border-radius:10px;background:#fff
}
.wh-cr-v150-partner-kpis small,.wh-cr-v150-info-grid small{font-size:8px;color:#768797}
.wh-cr-v150-partner-kpis strong{font-size:13px;color:#204765}
.wh-cr-v150-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.wh-cr-v150-info-grid strong{font-size:10px;color:#304d64;word-break:break-word}
.wh-cr-v150-reliability{margin-top:10px}
.wh-cr-v150-detail{padding:0!important;overflow:visible}
.wh-cr-v150-detail>summary{
  display:flex;justify-content:space-between;align-items:center;gap:10px;
  padding:13px 14px;cursor:pointer;list-style:none
}
.wh-cr-v150-detail>summary::-webkit-details-marker{display:none}
.wh-cr-v150-detail>summary strong{font-size:11px;color:#284b67}
.wh-cr-v150-detail>summary span{
  display:grid;place-items:center;min-width:24px;height:22px;padding:0 6px;border-radius:999px;background:#edf3f8;font-size:9px;font-weight:900
}
.wh-cr-v150-detail-body{padding:0 14px 13px;display:grid;gap:7px}
.wh-cr-v150-branch,.wh-cr-v150-person,.wh-cr-v150-ticket-row{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:10px;border:1px solid #e4e9ee;border-radius:10px;background:#fbfcfd
}
.wh-cr-v150-branch>div,.wh-cr-v150-person>div,.wh-cr-v150-ticket-row>div{display:grid;gap:2px;min-width:0}
.wh-cr-v150-branch small,.wh-cr-v150-person small,.wh-cr-v150-ticket-row small{font-size:8px;color:#7a8a98}
.wh-cr-v150-branch strong,.wh-cr-v150-person strong,.wh-cr-v150-ticket-row strong{font-size:10px;color:#294c68}
.wh-cr-v150-branch span,.wh-cr-v150-person span,.wh-cr-v150-ticket-row span{font-size:9px;color:#7b8792}
.wh-cr-v150-branch em,.wh-cr-v150-person em{font-style:normal;font-size:9px;font-weight:800;color:#60778a;white-space:nowrap}
.wh-cr-v150-structure-request{
  display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap
}
.wh-cr-v150-structure-request>div{display:grid;gap:3px}
.wh-cr-v150-structure-request small{font-size:8px;font-weight:900;color:#9b681f}
.wh-cr-v150-structure-request strong{font-size:11px;color:#664619}
.wh-cr-v150-structure-request form{display:flex;gap:6px;flex-wrap:wrap;align-items:center}

/* NUVOLETTE / TOOLTIP DI AIUTO */
.wh-cr .wh-has-tooltip{
  position:relative!important;
}
.wh-cr .wh-has-tooltip::after{
  content:attr(data-wh-tooltip);
  position:absolute;
  left:50%;
  bottom:calc(100% + 9px);
  transform:translateX(-50%) translateY(3px);
  width:max-content;
  max-width:260px;
  padding:8px 10px;
  border:1px solid #cad6e1;
  border-radius:9px;
  background:#173d60;
  color:#fff;
  font-size:10px;
  line-height:1.35;
  font-weight:500;
  white-space:normal;
  text-align:left;
  box-shadow:0 8px 24px rgba(20,45,70,.17);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  z-index:99999;
  transition:opacity .12s ease,transform .12s ease;
}
.wh-cr .wh-has-tooltip::before{
  content:"";
  position:absolute;
  left:50%;
  bottom:calc(100% + 3px);
  transform:translateX(-50%);
  border:6px solid transparent;
  border-top-color:#173d60;
  opacity:0;
  visibility:hidden;
  z-index:100000;
}
.wh-cr .wh-has-tooltip[data-wh-tooltip-position="bottom"]::after{
  bottom:auto;top:calc(100% + 9px);
}
.wh-cr .wh-has-tooltip[data-wh-tooltip-position="bottom"]::before{
  bottom:auto;top:calc(100% + 3px);
  border-top-color:transparent;border-bottom-color:#173d60;
  transform:translate(-50%,-100%);
}
@media (hover:hover) and (pointer:fine){
  .wh-cr .wh-has-tooltip:hover::after,
  .wh-cr .wh-has-tooltip:hover::before{
    opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);
  }
  .wh-cr .wh-has-tooltip[data-wh-tooltip-position="bottom"]:hover::before{
    transform:translate(-50%,-100%);
  }
}
.wh-cr .wh-has-tooltip:focus-visible::after,
.wh-cr .wh-has-tooltip:focus-visible::before{
  opacity:1;visibility:visible;
}
.wh-cr .wh-cr-nav-groups,.wh-cr .wh-cr-nav-group,.wh-cr .wh-cr-nav-group-links{overflow:visible!important}

@media(max-width:1250px){
  .wh-cr-v150-network-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
  .wh-cr-v150-network-kpis-small{grid-template-columns:repeat(3,minmax(0,1fr))}
  .wh-cr-v150-operational{grid-template-columns:repeat(3,minmax(0,1fr))}
  .wh-cr-v150-partner-card{grid-template-columns:minmax(220px,1.4fr) minmax(180px,1fr) minmax(130px,.8fr) auto}
  .wh-cr-v150-partner-tickets{display:none}
}
@media(max-width:900px){
  .wh-cr-v150-network-kpis,.wh-cr-v150-network-kpis-small{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wh-cr-v150-operational{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wh-cr-v150-network-filters{grid-template-columns:1fr 1fr!important}
  .wh-cr-v150-partner-card{grid-template-columns:1fr auto}
  .wh-cr-v150-partner-summary,.wh-cr-v150-partner-state{grid-column:1/2}
  .wh-cr-v150-partner-card>.button{grid-column:2/3;grid-row:1/4}
  .wh-cr-v150-partner-kpis{grid-template-columns:1fr 1fr}
  .wh-cr-v150-info-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .wh-cr-v150-network-kpis,.wh-cr-v150-network-kpis-small,.wh-cr-v150-operational{grid-template-columns:1fr 1fr}
  .wh-cr-v150-network-filters{grid-template-columns:1fr!important}
  .wh-cr-v150-partner-card{grid-template-columns:1fr}
  .wh-cr-v150-partner-card>.button{grid-column:auto;grid-row:auto;width:100%;text-align:center}
  .wh-cr-v150-partner-kpis,.wh-cr-v150-info-grid{grid-template-columns:1fr}
  .wh-cr-v150-branch,.wh-cr-v150-person,.wh-cr-v150-ticket-row{display:grid}
  .wh-cr-v150-structure-request form{display:grid;width:100%}
  .wh-cr-v150-structure-request form input,.wh-cr-v150-structure-request form .button{width:100%}
}


/* =========================================================
   v1.5.1 — ECONOMIA IMMOBILI + ABBONAMENTI
   ========================================================= */
.wh-property-plan-summary{display:grid;grid-template-columns:2fr 1fr 1fr;gap:9px;margin-bottom:12px}
.wh-property-plan-summary>div{display:grid;gap:3px;padding:12px;border:1px solid #dfe6ed;border-radius:11px;background:#fff}
.wh-property-plan-summary small{font-size:8px;color:#718292;font-weight:850}
.wh-property-plan-summary strong{font-size:12px;color:#204866}
.wh-property-plan-summary span{font-size:9px;color:#7e8b96}
.wh-property-card{display:grid!important;gap:10px}
.wh-property-card.is-property-inactive{background:#fbfcfd}
.wh-property-billing{display:grid;gap:2px;padding:9px 10px;border-radius:9px;border:1px solid #e1e7ed;background:#f7f9fb}
.wh-property-billing strong{font-size:10px!important}
.wh-property-billing span{font-size:8px!important}
.wh-property-billing.is-included,.wh-property-billing.is-active{background:#f4faf6;border-color:#d4e9da}
.wh-property-billing.is-pending{background:#fffaf1;border-color:#f0dfbd}
.wh-property-billing.is-cancel{background:#fff8f3;border-color:#ecd6c8}
.wh-property-billing.is-inactive{background:#f7f9fb;border-color:#e1e7ed}
.wh-property-picker-billing .is-disabled{opacity:.62;border-style:dashed!important}
.wh-property-picker-billing .is-disabled small{color:#9a6d2c!important}
.wh-property-manage-link{background:#f8fbfd!important}
.wh-request-property-confirmed{display:grid;gap:4px;padding:12px;border:1px solid #d5e4ef;border-radius:10px;background:#f8fbfe}
.wh-request-property-confirmed small{font-size:8px;color:#738697;font-weight:900}
.wh-request-property-confirmed strong{font-size:12px;color:#204866}
.wh-request-property-confirmed span{font-size:9px;color:#6f7f8d}
.wh-property-required{text-align:center}
.wh-econ-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.wh-econ-settings .wh-cr-panel-head{margin-bottom:10px}
.wh-econ-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:11px}
.wh-econ-grid label{display:grid;gap:5px;font-size:9px;font-weight:750;color:#4f687d}
.wh-econ-grid input{width:100%}
.wh-econ-rule{padding:10px 12px;margin-bottom:16px;border-left:4px solid #4f81aa;background:#f6f9fc;font-size:10px;color:#536b7f}
.wh-econ-condo-head{margin-top:4px!important;padding-top:12px;border-top:1px solid #e5e9ed}
.wh-econ-tier-table{display:grid;gap:5px;margin-bottom:13px}
.wh-econ-tier-row{display:grid;grid-template-columns:1.1fr .8fr 1fr 1fr;gap:8px;align-items:center;padding:9px 10px;border:1px solid #e3e8ed;border-radius:9px;background:#fbfcfd}
.wh-econ-tier-row.is-head{background:#f0f4f7;font-size:8px;font-weight:900;color:#64788a}
.wh-econ-tier-row strong{font-size:10px;color:#284c69}
.wh-econ-tier-row>span{font-size:9px;color:#70818f}
.wh-econ-tier-row label{display:flex;align-items:center;gap:5px;font-size:8px;color:#71818e}
.wh-econ-tier-row input{min-width:0;width:95px}
.wh-econ-promo-controls{grid-template-columns:1fr 1fr 1fr}
.wh-econ-plan-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.wh-econ-plan-preview>div{display:grid;gap:3px;padding:11px;border:1px solid #e3e8ed;border-radius:10px}
.wh-econ-plan-preview small{font-size:8px;font-weight:900;color:#758696}
.wh-econ-plan-preview strong{font-size:13px;color:#234b69}
.wh-econ-plan-preview span{font-size:8px;color:#7b8996}
.wh-econ-pending-row{display:grid;grid-template-columns:1.5fr .7fr auto;gap:10px;align-items:center;padding:10px;border:1px solid #e3e8ed;border-radius:10px;margin-top:7px}
.wh-econ-pending-row>div{display:grid;gap:2px}
.wh-econ-pending-row small{font-size:8px;color:#7c8a96}
.wh-econ-pending-row strong{font-size:10px;color:#294d69}
.wh-econ-pending-row span{font-size:9px;color:#778692}
.wh-econ-gateway-note p{margin-bottom:0}
@media(max-width:950px){
  .wh-property-plan-summary{grid-template-columns:1fr 1fr}
  .wh-property-plan-summary>div:first-child{grid-column:1/-1}
  .wh-econ-grid{grid-template-columns:1fr 1fr}
  .wh-econ-plan-preview{grid-template-columns:1fr 1fr}
}
@media(max-width:650px){
  .wh-property-plan-summary,.wh-econ-grid,.wh-econ-plan-preview{grid-template-columns:1fr}
  .wh-property-plan-summary>div:first-child{grid-column:auto}
  .wh-econ-tier-row{grid-template-columns:1fr 1fr}
  .wh-econ-tier-row.is-head{display:none}
  .wh-econ-pending-row{grid-template-columns:1fr}
}


/* =========================================================
   v1.6.0 — AMMINISTRATORI & CONDOMINI
   ========================================================= */
.wh-condo-register-intro{margin-bottom:14px;padding:14px;border-radius:12px;background:linear-gradient(135deg,#f5f9fd,#eef4f9)}
.wh-condo-register-intro>span{font-size:9px;font-weight:900;color:#5d7890}
.wh-condo-register-intro h2{margin:5px 0 6px;font-size:18px;color:#173d60}
.wh-condo-register-intro p{margin:0;font-size:10px;color:#6c7d8b}
.wh-condo-plan-strip{
  display:grid;grid-template-columns:1.2fr .9fr 1fr auto;gap:9px;align-items:center;
  padding:12px;margin-bottom:12px;border:1px solid #dbe5ed;border-radius:12px;background:linear-gradient(135deg,#f8fbfe,#f1f6fa)
}
.wh-condo-plan-strip>div{display:grid;gap:2px}
.wh-condo-plan-strip small{font-size:8px;font-weight:900;color:#758999}
.wh-condo-plan-strip strong{font-size:13px;color:#204866}
.wh-condo-plan-strip span{font-size:8px;color:#7b8994}
.wh-condo-plan-strip-compact{grid-template-columns:1fr 1fr 1fr}
.wh-condo-kpis{margin-bottom:12px}
.wh-condo-ticket-list{display:grid;gap:7px}
.wh-condo-ticket-list article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid #e3e9ee;border-radius:10px;background:#fbfcfd}
.wh-condo-ticket-list article>div{display:grid;gap:2px}
.wh-condo-ticket-list small{font-size:8px;color:#738696}
.wh-condo-ticket-list strong{font-size:10px;color:#294d69}
.wh-condo-ticket-list span{font-size:9px;color:#7c8995}
.wh-condo-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.wh-condo-mini-grid>a{display:grid;gap:3px;padding:10px;border:1px solid #e3e8ed;border-radius:10px;background:#fbfcfd;text-decoration:none}
.wh-condo-mini-grid strong{font-size:10px;color:#294d69}
.wh-condo-mini-grid span,.wh-condo-mini-grid small{font-size:8px;color:#7a8995}
.wh-condo-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.wh-condo-card{display:grid;gap:9px;padding:12px;border:1px solid #e0e7ed;border-radius:12px;background:#fff}
.wh-condo-card.is-inactive{background:#fbfcfd}
.wh-condo-card-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.wh-condo-card-head>div{display:grid;gap:2px}
.wh-condo-card-head small{font-size:8px;color:#7a8997;font-weight:900}
.wh-condo-card-head h3{margin:0;font-size:13px;color:#204866}
.wh-condo-card-head p{margin:0;font-size:9px;color:#74838f}
.wh-condo-card-meta{display:flex;flex-wrap:wrap;gap:6px}
.wh-condo-card-meta span{padding:4px 7px;border-radius:999px;background:#f0f4f7;font-size:8px;color:#657887}
.wh-company-badge.is-muted{opacity:.65}
.wh-condo-picker{margin-bottom:9px}
.wh-condo-current-plan{
  display:grid;grid-template-columns:1fr auto;gap:7px;align-items:center;
  padding:18px;margin-bottom:12px;border-radius:14px;background:linear-gradient(135deg,#173d60,#295d86);color:#fff
}
.wh-condo-current-plan>span{font-size:9px;font-weight:900;opacity:.75}
.wh-condo-current-plan h2{grid-column:1/2;margin:0;font-size:22px;color:#fff}
.wh-condo-current-plan>strong{grid-column:2/3;grid-row:1/4;font-size:28px}
.wh-condo-current-plan>strong small{font-size:10px}
.wh-condo-current-plan p{margin:0;font-size:10px;opacity:.85}
.wh-condo-current-plan>div{display:grid;gap:2px;padding-top:7px;border-top:1px solid rgba(255,255,255,.18)}
.wh-condo-current-plan>div small{font-size:8px;opacity:.7}
.wh-condo-current-plan>div b{font-size:10px}
.wh-condo-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.wh-condo-plan-grid>div{position:relative;display:grid;gap:3px;padding:11px;border:1px solid #e3e8ed;border-radius:10px;background:#fbfcfd}
.wh-condo-plan-grid>div.is-current{border-color:#84aeca;background:#f3f8fc}
.wh-condo-plan-grid small{font-size:8px;font-weight:900;color:#738695}
.wh-condo-plan-grid strong{font-size:13px;color:#234b69}
.wh-condo-plan-grid span{font-size:8px;color:#7d8994}
.wh-condo-plan-grid em{font-style:normal;font-size:7px;font-weight:900;color:#286890}
.wh-condo-cr-kpis{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.wh-condo-cr-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.wh-condo-cr-summary>div{display:grid;gap:3px;padding:9px;border:1px solid #e4e9ee;border-radius:9px}
.wh-condo-cr-summary small{font-size:8px;color:#778896}
.wh-condo-cr-summary strong{font-size:12px;color:#294d69}
.wh-condo-cr-list{display:grid;gap:7px}
.wh-condo-cr-list>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid #e4e9ee;border-radius:10px}
.wh-condo-cr-list>div>div{display:grid;gap:2px}
.wh-condo-cr-list small{font-size:8px;color:#778896}
.wh-condo-cr-list strong{font-size:10px;color:#294d69}
.wh-condo-cr-list span{font-size:8px;color:#788895}
.wh-condo-cr-list em{font-style:normal;font-size:9px;color:#667b8c}
.wh-condo-cr-admin-list{display:grid;gap:9px}
@media(max-width:950px){
  .wh-condo-plan-strip{grid-template-columns:1fr 1fr}
  .wh-condo-plan-strip>.wh-btn{grid-column:1/-1}
  .wh-condo-mini-grid,.wh-condo-plan-grid{grid-template-columns:1fr 1fr}
  .wh-condo-card-grid{grid-template-columns:1fr}
  .wh-condo-cr-summary{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .wh-condo-plan-strip,.wh-condo-plan-strip-compact,.wh-condo-mini-grid,.wh-condo-plan-grid,.wh-condo-cr-summary{grid-template-columns:1fr}
  .wh-condo-current-plan{grid-template-columns:1fr}
  .wh-condo-current-plan>strong{grid-column:auto;grid-row:auto}
  .wh-condo-ticket-list article,.wh-condo-cr-list>div{display:grid}
}


/* =========================================================
   v1.6.1 — CONDOMINI INVITATI / PARTI COMUNI
   ========================================================= */
.wh-condo-invite-card{
  display:grid;gap:4px;padding:14px;margin-bottom:10px;
  border:1px solid #dce6ee;border-radius:12px;
  background:linear-gradient(135deg,#f7fbfe,#eef5fa)
}
.wh-condo-invite-card>span,.wh-condo-origin-box small{
  font-size:8px;font-weight:900;color:#607d94
}
.wh-condo-invite-card h2{margin:0;font-size:17px;color:#173d60}
.wh-condo-invite-card p{margin:0;font-size:9px;color:#6f8291}
.wh-condo-invite-card>div{display:grid;gap:2px;margin-top:7px}
.wh-condo-invite-card small{font-size:8px;color:#718696}
.wh-condo-invite-card strong{font-size:10px;color:#2b4e69}

.wh-condo-common-rule{
  padding:12px;margin-bottom:11px;border-left:4px solid #4c83ad;
  border-radius:8px;background:#f4f8fc
}
.wh-condo-common-rule strong{font-size:11px;color:#234b69}
.wh-condo-common-rule p{margin:4px 0 0;font-size:9px;line-height:1.5;color:#687c8d}

.wh-condo-invite-form{
  display:grid!important;grid-template-columns:1fr 1fr 1.25fr auto;
  gap:8px;align-items:end
}
.wh-condo-member-list{display:grid;gap:6px;margin-top:11px}
.wh-condo-member-list>div{
  display:grid;grid-template-columns:1fr auto auto;gap:9px;align-items:center;
  padding:9px;border:1px solid #e4e9ee;border-radius:9px;background:#fff
}
.wh-condo-member-list>div>div{display:grid;gap:2px}
.wh-condo-member-list small{font-size:8px;color:#768997}
.wh-condo-member-list strong{font-size:10px;color:#294d69}
.wh-condo-member-list span{font-size:8px;color:#7e8a94}

.wh-condo-pending-list{display:grid;gap:8px}
.wh-condo-pending-list article{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;
  padding:11px;border:1px solid #edd8a8;border-radius:10px;background:#fffbf2
}
.wh-condo-pending-list article>div:first-child{display:grid;gap:3px}
.wh-condo-pending-list small{font-size:8px;color:#9b762d}
.wh-condo-pending-list strong{font-size:10px;color:#5f4b22}
.wh-condo-pending-list span,.wh-condo-pending-list p,.wh-condo-pending-list em{
  margin:0;font-size:8px;color:#7e6c47;font-style:normal
}
.wh-condo-decision-actions{display:grid;gap:6px;align-content:center}
.wh-condo-decision-actions details{min-width:180px}
.wh-condo-decision-actions summary{font-size:8px;font-weight:800;cursor:pointer}
.wh-condo-decision-actions form{margin-top:5px}

.wh-resident-ticket-list{display:grid;gap:7px}
.wh-resident-ticket-list article{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:10px;border:1px solid #e3e8ed;border-radius:10px;background:#fbfcfd
}
.wh-resident-ticket-list article>div{display:grid;gap:2px}
.wh-resident-ticket-list small{font-size:8px;color:#758896}
.wh-resident-ticket-list strong{font-size:10px;color:#294d69}
.wh-resident-ticket-list span{font-size:9px;color:#7b8994}

.wh-condo-info-request{
  display:grid;gap:7px;padding:11px;margin-top:9px;
  border:1px solid #efd9a8;border-radius:10px;background:#fffbf2
}
.wh-condo-info-request small{font-size:8px;font-weight:900;color:#9c752c}
.wh-condo-info-request strong{font-size:10px;color:#5f4a1f}
.wh-condo-info-request span{font-size:9px;color:#7b6945}

.wh-condo-waiting-note,.wh-cr-condo-waiting-box,.wh-condo-origin-box{
  display:grid;gap:4px;padding:11px;margin-top:10px;
  border:1px solid #d7e2eb;border-radius:10px;background:#f6f9fc
}
.wh-condo-waiting-note strong,.wh-condo-origin-box strong{font-size:10px;color:#294d69}
.wh-condo-waiting-note span,.wh-condo-origin-box span{font-size:9px;color:#748492}
.wh-cr-condo-waiting-box{grid-template-columns:auto 1fr}
.wh-cr-condo-waiting-box>span{font-size:18px}
.wh-cr-condo-waiting-box>div{display:grid;gap:3px}
.wh-cr-condo-waiting-box small{font-size:8px;font-weight:900;color:#788b99}
.wh-cr-condo-waiting-box strong{font-size:11px;color:#294d69}
.wh-cr-condo-waiting-box p,.wh-cr-condo-waiting-box em{
  margin:0;font-size:9px;color:#738391;font-style:normal
}

.wh-condo-cr-waiting-row{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:9px 10px;border-top:1px solid #e6ebef
}
.wh-condo-cr-waiting-row>div{display:grid;gap:2px}
.wh-condo-cr-waiting-row small{font-size:8px;color:#768997}
.wh-condo-cr-waiting-row strong{font-size:10px;color:#294d69}
.wh-condo-cr-waiting-row span{font-size:8px;color:#7d8993}

.wh-cr-condo-reporter{
  border-left:3px solid #8fb5d0!important;
  background:#f7fbfe!important
}

.wh-ticket-approvazione_amministratore,
.wh-badge-approvazione_amministratore{
  background:#fff4d8!important;color:#8b6518!important;border-color:#ead49d!important
}

.wh-resident-arrival-panel{border-color:#cbddea!important}
.wh-resident-arrival-code{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;
  padding:11px;margin-top:7px;border:1px solid #d5e4ef;border-radius:10px;
  background:linear-gradient(135deg,#f7fbfe,#eef6fc)
}
.wh-resident-arrival-code>div{display:grid;gap:2px}
.wh-resident-arrival-code small{font-size:8px;font-weight:850;color:#718696}
.wh-resident-arrival-code strong{font-size:11px;color:#234b69}
.wh-resident-arrival-code>div:last-child{text-align:center}
.wh-resident-arrival-code>div:last-child strong{
  font-size:24px;letter-spacing:4px;color:#163c69
}
.wh-resident-arrival-code span{font-size:8px;color:#778895}

/* La Control Room v1.6.1 ha un indicatore aggiuntivo "Attesa Amministratore". */
.wh-cr-v150-operational{grid-template-columns:repeat(7,minmax(0,1fr))}

@media(max-width:1250px){
  .wh-cr-v150-operational{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:900px){
  .wh-condo-invite-form{grid-template-columns:1fr 1fr}
  .wh-cr-v150-operational{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .wh-condo-invite-form{grid-template-columns:1fr}
  .wh-condo-member-list>div,.wh-condo-pending-list article{grid-template-columns:1fr}
  .wh-resident-ticket-list article,.wh-condo-cr-waiting-row{display:grid}
  .wh-resident-arrival-code{grid-template-columns:1fr}
  .wh-resident-arrival-code>div:last-child{text-align:left}
}


/* =========================================================
   v1.6.2 — KPI AMMINISTRATORI / CONDOMINI IN CONTROL ROOM
   ========================================================= */
.wh-cr-v162-network-kpis{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
.wh-condo-cr-kpis{
  grid-template-columns:repeat(6,minmax(0,1fr));
}
.wh-condo-cr-summary{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
@media(max-width:1200px){
  .wh-cr-v162-network-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
  .wh-condo-cr-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:800px){
  .wh-cr-v162-network-kpis,
  .wh-condo-cr-kpis,
  .wh-condo-cr-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  .wh-cr-v162-network-kpis,
  .wh-condo-cr-kpis,
  .wh-condo-cr-summary{grid-template-columns:1fr}
}


/* =========================================================
   v1.7.0 — WHYHAB PWA / MOBILE APP EXPERIENCE
   ========================================================= */
.whyhab-platform{-webkit-tap-highlight-color:transparent}
.whyhab-platform .wh-btn,.whyhab-platform button,.whyhab-platform a{touch-action:manipulation}
.wh-touching{transform:scale(.985);opacity:.9}
.wh-mobile-nav,.wh-pwa-install,.wh-pwa-ios-help{display:none}

@media(max-width:1180px){
  .whyhab-platform .wh-main{min-width:0}
  .whyhab-platform .wh-panel,
  .whyhab-platform .wh-next-action,
  .whyhab-platform .wh-property-card,
  .whyhab-platform .wh-condo-card{max-width:100%}
  .whyhab-platform .wh-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:860px){
  html{-webkit-text-size-adjust:100%}
  body.whyhab-platform{
    background:#f4f8fc!important;
    padding-bottom:calc(78px + env(safe-area-inset-bottom))
  }
  .whyhab-platform .wh-app{
    display:block!important;min-height:100dvh;background:#f4f8fc
  }
  .whyhab-platform .wh-sidebar{display:none!important}
  .whyhab-platform .wh-main{
    width:100%!important;max-width:none!important;margin:0!important;
    padding:calc(12px + env(safe-area-inset-top)) 12px calc(92px + env(safe-area-inset-bottom))!important
  }
  .whyhab-platform .wh-top{margin:0 0 11px!important;padding:2px 2px 8px!important}
  .whyhab-platform .wh-top h1{font-size:21px!important;line-height:1.12!important;letter-spacing:-.02em}
  .whyhab-platform .wh-top p{max-width:95%;font-size:10px!important;line-height:1.45}

  .whyhab-platform .wh-panel,
  .whyhab-platform .wh-next-action,
  .whyhab-platform .wh-property-card,
  .whyhab-platform .wh-condo-card,
  .whyhab-platform .wh-subscription-checkout-card{
    border-radius:14px!important;
    box-shadow:0 5px 18px rgba(31,76,112,.045)
  }
  .whyhab-platform .wh-panel{padding:12px!important}

  .whyhab-platform .wh-grid-2,
  .whyhab-platform .wh-grid-3,
  .whyhab-platform .wh-grid-4,
  .whyhab-platform .wh-property-grid,
  .whyhab-platform .wh-condo-card-grid,
  .whyhab-platform .wh-condo-mini-grid,
  .whyhab-platform .wh-property-plan-summary,
  .whyhab-platform .wh-simple-kpis,
  .whyhab-platform .wh-condo-plan-grid{
    grid-template-columns:1fr!important
  }

  .whyhab-platform .wh-form input,
  .whyhab-platform .wh-form select,
  .whyhab-platform .wh-form textarea{
    min-height:46px;font-size:16px!important;border-radius:10px!important
  }
  .whyhab-platform .wh-form textarea{min-height:118px}
  .whyhab-platform .wh-btn,
  .whyhab-platform button.button,
  .whyhab-platform input[type="submit"]{
    min-height:46px;border-radius:10px!important
  }
  .whyhab-platform .wh-btn-small{
    min-height:42px;display:inline-flex;align-items:center;justify-content:center
  }
  .whyhab-platform .wh-ticket-index-row,
  .whyhab-platform .wh-condo-ticket-list article,
  .whyhab-platform .wh-resident-ticket-list article{
    display:grid!important;grid-template-columns:1fr!important;gap:8px!important
  }
  .whyhab-platform .wh-ticket-index-row .wh-btn,
  .whyhab-platform .wh-condo-ticket-list article .wh-btn,
  .whyhab-platform .wh-resident-ticket-list article .wh-btn{width:100%}
  .whyhab-platform .wh-property-actions{display:grid!important;grid-template-columns:1fr!important}
  .whyhab-platform .wh-property-actions form,
  .whyhab-platform .wh-property-actions .wh-btn{width:100%}

  .whyhab-platform .wh-mobile-nav{
    position:fixed;left:8px;right:8px;
    bottom:calc(8px + env(safe-area-inset-bottom));z-index:99970;
    display:grid;grid-auto-flow:column;grid-auto-columns:1fr;
    min-height:62px;padding:5px;border:1px solid rgba(214,226,235,.95);
    border-radius:18px;background:rgba(255,255,255,.94);
    backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
    box-shadow:0 10px 34px rgba(25,62,91,.15)
  }
  .whyhab-platform .wh-mobile-nav a{
    display:flex;min-width:0;min-height:52px;flex-direction:column;
    align-items:center;justify-content:center;gap:2px;border-radius:13px;
    color:#6f8291;text-decoration:none!important;transition:.16s ease
  }
  .whyhab-platform .wh-mobile-nav a>span{
    display:grid;place-items:center;min-height:23px;font-size:20px;line-height:1;font-weight:600
  }
  .whyhab-platform .wh-mobile-nav a>small{
    max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
    font-size:8px;line-height:1;font-weight:800
  }
  .whyhab-platform .wh-mobile-nav a.is-active{background:#eef5fa;color:#1f4c70}
  .whyhab-platform .wh-mobile-nav a[data-wh-nav="new"]>span{
    width:30px;height:30px;min-height:30px;border-radius:10px;
    background:#1f4c70;color:#fff;font-size:23px;line-height:30px
  }

  .whyhab-platform .wh-pwa-install{
    position:fixed;left:12px;right:12px;
    bottom:calc(80px + env(safe-area-inset-bottom));z-index:99960;
    display:grid;grid-template-columns:42px 1fr auto;gap:9px;align-items:center;
    min-height:60px;padding:8px 11px;border:1px solid #d8e5ee;
    border-radius:15px!important;background:#fff;
    box-shadow:0 10px 28px rgba(26,64,93,.15);color:#294d69;text-align:left
  }
  .whyhab-platform .wh-pwa-install[hidden]{display:none!important}
  .whyhab-platform .wh-pwa-install img{width:42px;height:42px;border-radius:10px}
  .whyhab-platform .wh-pwa-install>span{display:grid;gap:2px}
  .whyhab-platform .wh-pwa-install strong{font-size:10px}
  .whyhab-platform .wh-pwa-install small{font-size:8px;color:#7a8996}
  .whyhab-platform .wh-pwa-install>b{font-size:19px;color:#1f4c70}

  .whyhab-platform .wh-pwa-ios-help{
    position:fixed;inset:0;z-index:99990;display:grid;align-items:end;
    background:rgba(18,42,61,.28);opacity:0;transition:opacity .18s ease
  }
  .whyhab-platform .wh-pwa-ios-help[hidden]{display:none!important}
  .whyhab-platform .wh-pwa-ios-help.is-open{opacity:1}
  .whyhab-platform .wh-pwa-ios-sheet{
    position:relative;display:grid;gap:9px;
    padding:20px 16px calc(18px + env(safe-area-inset-bottom));
    border-radius:20px 20px 0 0;background:#fff;
    box-shadow:0 -14px 45px rgba(18,42,61,.14)
  }
  .whyhab-platform .wh-pwa-ios-sheet img{width:58px;height:58px;border-radius:14px}
  .whyhab-platform .wh-pwa-ios-sheet h3{margin:0;color:#1f4c70;font-size:17px}
  .whyhab-platform .wh-pwa-ios-sheet p{margin:0 0 5px;color:#667b8b;font-size:11px;line-height:1.5}
  .whyhab-platform .wh-pwa-close:not(.wh-btn){
    position:absolute;right:12px;top:10px;width:36px;min-height:36px!important;
    border:0;background:#f1f5f8;color:#567085;font-size:22px
  }
}

@media(display-mode:standalone){
  body.whyhab-platform{overscroll-behavior-y:none}
  .whyhab-platform .wh-main{padding-top:calc(10px + env(safe-area-inset-top))!important}
}


/* v1.7.1 — feedback invio ticket da PWA/smartphone */
.wh-pwa-submit-status{
  display:none;margin:10px 0 0;padding:10px 12px;border-radius:10px;
  font-size:10px;line-height:1.45
}
.wh-pwa-submit-status.is-loading{
  display:block;background:#eef5fa;border:1px solid #d7e5ef;color:#315d7d
}
.wh-pwa-submit-status.is-success{
  display:block;background:#eef8f1;border:1px solid #d4eadb;color:#2f6a45
}
.wh-pwa-submit-status.is-error{
  display:block;background:#fff3f1;border:1px solid #efd8d3;color:#8b4037
}
@media(max-width:860px){
  .whyhab-platform .wh-request-form button[type="submit"]{
    position:relative;z-index:2;width:100%
  }
}


/* =========================================================
   v1.7.5 — ESITO CERTO INVIO TICKET
   ========================================================= */
.wh-ticket-submit-result{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  margin:0 0 12px;padding:14px 15px;border-radius:13px;border:1px solid;
  box-shadow:0 5px 18px rgba(29,65,93,.05)
}
.wh-ticket-submit-result>div{display:grid;gap:3px}
.wh-ticket-submit-result small{font-size:8px;font-weight:900;letter-spacing:.06em}
.wh-ticket-submit-result strong{font-size:14px;line-height:1.2}
.wh-ticket-submit-result span{font-size:9px;line-height:1.45}
.wh-ticket-submit-result.is-success{
  background:#edf8f1;border-color:#cce5d4;color:#28633e
}
.wh-ticket-submit-result.is-error{
  background:#fff2f0;border-color:#efd2cd;color:#8c3d34
}
.wh-ticket-submit-result.is-warning{
  background:#fff8e9;border-color:#ecdcae;color:#7c5d20
}
@media(max-width:650px){
  .wh-ticket-submit-result{display:grid}
  .wh-ticket-submit-result .wh-btn{width:100%}
}


/* v1.7.7 — consenso GPS Partner prima del viaggio */
.wh-gps-start-status{
  margin-top:8px;padding:9px 10px;border-radius:9px;
  background:#f3f7fa;border:1px solid #dde8ef;color:#5d7180;
  font-size:9px;line-height:1.45
}
.wh-gps-start-status.is-waiting{background:#eef5fa;border-color:#d5e4ef;color:#315d7d}
.wh-gps-start-status.is-ok{background:#edf8f1;border-color:#cce5d4;color:#28633e}
.wh-gps-start-status.is-error{background:#fff2f0;border-color:#efd2cd;color:#8c3d34;font-weight:700}
.wh-gps-retry-btn{margin-top:8px}
@media(max-width:860px){
  .wh-tracking-start-card form,.wh-tracking-start-card .wh-gps-start-btn,.wh-gps-retry-btn{width:100%}
}


/* =========================================================
   v1.8.0 — CONTROL ROOM MOBILE + SALUTE + PAYMENT HUB
   ========================================================= */
.wh-cr-mobile-nav,.wh-cr-mobile-sheet{display:none}

.wh-health-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 12px
}
.wh-health-card{
  display:grid;grid-template-columns:30px 1fr auto;gap:9px;align-items:start;
  padding:12px;border:1px solid #dfe6ed;border-radius:12px;background:#fff
}
.wh-health-card>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;font-weight:900}
.wh-health-card>div{display:grid;gap:2px;min-width:0}
.wh-health-card small{font-size:8px;font-weight:900;letter-spacing:.05em;color:#6e7f8e}
.wh-health-card strong{font-size:11px}
.wh-health-card p{margin:0;font-size:9px;line-height:1.4;color:#71808e}
.wh-health-card.is-ok>span{background:#edf8f1;color:#277044}.wh-health-card.is-ok strong{color:#277044}
.wh-health-card.is-warn>span{background:#fff7e7;color:#8a6418}.wh-health-card.is-warn strong{color:#8a6418}
.wh-health-card.is-error>span{background:#fff0ee;color:#a13f34}.wh-health-card.is-error strong{color:#a13f34}
.wh-health-event-list,.wh-health-cron-list{display:grid}
.wh-health-event-list>div,.wh-health-cron-list>div{padding:9px 0;border-bottom:1px solid #edf1f5;display:grid;gap:2px}
.wh-health-event-list small,.wh-health-cron-list small{font-size:8px;color:#7b8996}
.wh-health-event-list strong,.wh-health-cron-list strong{font-size:10px}
.wh-health-cron-list>div{grid-template-columns:24px 1fr auto;align-items:center}
.wh-health-cron-list>div>span{font-weight:900;color:#287149}

.wh-payment-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:12px}
.wh-payment-status-grid>div{display:grid;gap:3px;padding:12px;border:1px solid #dfe6ed;border-radius:11px;background:#fff}
.wh-payment-status-grid small{font-size:8px;font-weight:900;color:#738291}
.wh-payment-status-grid strong{font-size:14px;color:#204866}
.wh-payment-status-grid span{font-size:9px;color:#7a8995}
.wh-payment-status-grid .is-ok{background:#f3fbf6;border-color:#d3e8da}.wh-payment-status-grid .is-ok strong{color:#297147}
.wh-payment-status-grid .is-warn{background:#fffaf0;border-color:#eadfbd}.wh-payment-status-grid .is-warn strong{color:#89641c}
.wh-payment-settings-v180{display:block!important}
.wh-payment-config-section{margin:0 0 12px;padding:14px;border:1px solid #e0e7ee;border-radius:13px;background:#fbfcfd}
.wh-payment-live-section{border-color:#ead8d4;background:#fffafa}
.wh-payment-config-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.wh-payment-config-head>div{display:grid;gap:2px}.wh-payment-config-head>div>small{font-size:8px;font-weight:900;color:#6c83a0}
.wh-payment-config-head h3{margin:0;font-size:13px}.wh-payment-config-head p{margin:0;font-size:9px;color:#788693}
.wh-payment-secret-state{font-size:8px;padding:5px 7px;border-radius:8px;background:#eef3f7;color:#60788c;white-space:nowrap}
.wh-payment-config-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:9px}
.wh-payment-config-grid label{display:grid;gap:4px;font-size:9px;font-weight:750;color:#66798b}
.wh-payment-config-grid input,.wh-payment-config-grid select{width:100%;min-height:39px;border:1px solid #d8e1e9;border-radius:8px}
.wh-payment-config-grid label small{font-size:8px;font-weight:500;color:#84919d}
.wh-payment-enable,.wh-payment-live-confirm{margin-top:10px;padding:9px 10px;border:1px solid #dde5ec;border-radius:9px;background:#fff}
.wh-payment-enable span,.wh-payment-live-confirm span{display:grid}.wh-payment-enable small,.wh-payment-live-confirm small{font-size:8px;color:#82909d}
.wh-payment-live-confirm{background:#fff5f3;border-color:#ecd6d1}
.wh-payment-clear-row{display:flex;gap:16px;flex-wrap:wrap;margin-top:8px;font-size:8px;color:#778795}
.wh-payment-savebar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px;border-radius:12px;background:#eef5fb;border:1px solid #d7e4ee}
.wh-payment-savebar>div{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}.wh-payment-savebar code{font-size:8px;max-width:100%;overflow-wrap:anywhere}
.wh-payment-test-actions{display:flex;gap:8px;flex-wrap:wrap}

@media(max-width:1180px){
  .wh-health-grid,.wh-payment-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wh-payment-config-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:782px){
  body.toplevel_page_whyhab-control-room #wpcontent{padding-bottom:82px!important}
  body.toplevel_page_whyhab-control-room .wh-cr{margin:8px 8px 92px 0!important}
  .wh-cr .wh-cr-nav-groups{display:none!important}
  .wh-cr-header{padding:12px 13px!important;border-radius:13px!important}
  .wh-cr-heading h1{font-size:18px!important}.wh-cr-heading p{display:none}
  .wh-cr-brand{min-width:0}.wh-cr-brand small{font-size:7px}
  .wh-cr-section-head{display:grid!important;gap:8px}.wh-cr-section-head h2{font-size:16px!important}.wh-cr-section-head p{font-size:10px!important}
  .wh-cr .button,.wh-cr button,.wh-cr input,.wh-cr select,.wh-cr textarea{min-height:44px}

  .wh-cr-mobile-nav{
    display:grid;grid-template-columns:repeat(5,1fr);position:fixed;z-index:100100;
    left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));
    min-height:62px;padding:5px;border:1px solid rgba(190,205,217,.9);border-radius:18px;
    background:rgba(255,255,255,.96);box-shadow:0 12px 32px rgba(27,55,80,.18);backdrop-filter:blur(16px)
  }
  .wh-cr-mobile-nav a,.wh-cr-mobile-nav button{
    border:0!important;background:transparent!important;display:grid;place-items:center;align-content:center;gap:2px;
    min-width:0;min-height:52px;padding:3px!important;border-radius:13px;color:#607282;text-decoration:none;box-shadow:none!important
  }
  .wh-cr-mobile-nav span{font-size:16px;line-height:1}.wh-cr-mobile-nav small{font-size:8px;font-weight:800;white-space:nowrap}
  .wh-cr-mobile-nav a.is-active{background:#eaf3fb!important;color:#1f5d8b!important}

  .wh-cr-mobile-sheet{display:block;position:fixed;inset:0;z-index:100110;opacity:0;visibility:hidden;transition:.16s ease}
  .wh-cr-mobile-sheet.is-open{opacity:1;visibility:visible}
  .wh-cr-mobile-sheet-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(15,31,45,.36)!important}
  .wh-cr-mobile-sheet>section{
    position:absolute;left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));max-height:78dvh;overflow:auto;
    padding:12px;border-radius:20px;background:#fff;box-shadow:0 16px 50px rgba(20,40,60,.25);
    transform:translateY(15px);transition:.16s ease
  }
  .wh-cr-mobile-sheet.is-open>section{transform:translateY(0)}
  .wh-cr-mobile-sheet-head{display:flex;align-items:center;justify-content:space-between;padding:3px 3px 10px;border-bottom:1px solid #edf1f4}
  .wh-cr-mobile-sheet-head>div{display:grid}.wh-cr-mobile-sheet-head strong{font-size:13px}.wh-cr-mobile-sheet-head span{font-size:9px;color:#7b8995}
  .wh-cr-mobile-sheet-head button{width:40px;height:40px;border:0;border-radius:12px;background:#f0f4f7;font-size:20px}
  .wh-cr-mobile-sheet-group{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:11px 0 0}
  .wh-cr-mobile-sheet-group>small{grid-column:1/-1;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;color:#86929c}
  .wh-cr-mobile-sheet-group a{display:flex;align-items:center;gap:8px;padding:10px;border-radius:10px;background:#f6f8fa;text-decoration:none;color:#526779}
  .wh-cr-mobile-sheet-group a.is-active{background:#eaf3fb;color:#1f5d8b}.wh-cr-mobile-sheet-group a strong{font-size:10px}
  body.wh-cr-mobile-menu-open{overflow:hidden}

  .wh-health-grid,.wh-payment-status-grid{grid-template-columns:1fr 1fr}
  .wh-health-card{grid-template-columns:28px 1fr}.wh-health-card>a{grid-column:1/-1;width:100%;text-align:center}
  .wh-payment-config-grid{grid-template-columns:1fr}
  .wh-payment-config-head{display:grid}.wh-payment-secret-state{width:max-content;max-width:100%}
  .wh-payment-savebar{display:grid}.wh-payment-savebar>button{width:100%}
  .wh-payment-test-actions{display:grid}.wh-payment-test-actions form,.wh-payment-test-actions button{width:100%}
  .wh-payment-table>div{padding:10px;border:1px solid #e4eaef;border-radius:10px;margin-bottom:7px;background:#fff}
}
@media(max-width:480px){
  .wh-health-grid,.wh-payment-status-grid{grid-template-columns:1fr}
}


/* =========================================================
   v1.8.1 — UI CONSISTENCY / AREA CONDOMINI
   Obiettivo: stesso ritmo visivo di Cliente/Partner su web e mobile.
   ========================================================= */

/* --- Struttura pagina Amministratore / Condomino --- */
.wh-role-app .wh-main{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.wh-role-app .wh-main>.wh-top,
.wh-role-app .wh-main>.wh-panel,
.wh-role-app .wh-main>.wh-next-action,
.wh-role-app .wh-main>.wh-simple-kpis,
.wh-role-app .wh-main>.wh-condo-plan-strip,
.wh-role-app .wh-main>.wh-condo-current-plan,
.wh-role-app .wh-main>.wh-ticket-submit-result{
  margin-top:0!important;
  margin-bottom:0!important;
}
.wh-role-app .wh-top{
  min-height:58px;
  display:flex;
  align-items:flex-end;
  border-bottom:1px solid #edf2f6;
}
.wh-role-app .wh-top h1{margin:0 0 4px!important}
.wh-role-app .wh-top p{margin:0!important}

/* --- Pannelli: stessa geometria del resto WHYHAB --- */
.wh-role-app .wh-panel{
  width:100%;
  box-sizing:border-box;
}
.wh-role-app .wh-panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}
.wh-role-app .wh-panel-head>div{min-width:0}
.wh-role-app .wh-panel-head h2{margin:0 0 3px!important}
.wh-role-app .wh-panel-head p{margin:0!important}
.wh-role-app .wh-panel-head>a{flex:0 0 auto}

/* --- Fascia piano Amministratore --- */
.wh-condo-app .wh-condo-plan-strip{
  grid-template-columns:repeat(3,minmax(0,1fr)) auto;
  gap:10px;
  padding:10px;
  background:#f5f8fb;
  border-color:#dfe8ef;
  border-radius:14px;
}
.wh-condo-app .wh-condo-plan-strip-compact{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.wh-condo-app .wh-condo-plan-strip>div{
  min-width:0;
  min-height:72px;
  padding:11px 12px;
  align-content:center;
  border:1px solid #e1e9ef;
  border-radius:11px;
  background:#fff;
}
.wh-condo-app .wh-condo-plan-strip small{
  font-size:8px;
  letter-spacing:.04em;
}
.wh-condo-app .wh-condo-plan-strip strong{
  font-size:15px;
  line-height:1.15;
}
.wh-condo-app .wh-condo-plan-strip span{
  line-height:1.35;
}
.wh-condo-app .wh-condo-plan-strip>.wh-btn{
  align-self:stretch;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:130px;
}

/* --- KPI allineati --- */
.wh-condo-app .wh-condo-kpis,
.wh-resident-app .wh-simple-kpis{
  gap:10px;
}
.wh-condo-app .wh-condo-kpis>div,
.wh-resident-app .wh-simple-kpis>div{
  min-width:0;
  min-height:82px;
  align-content:center;
  padding:12px 14px;
  border-radius:12px;
  background:#fff;
}
.wh-condo-app .wh-condo-kpis strong,
.wh-resident-app .wh-simple-kpis strong{
  font-size:20px;
  line-height:1;
}
.wh-condo-app .wh-condo-kpis span,
.wh-resident-app .wh-simple-kpis span{
  margin-top:4px;
  line-height:1.3;
}

/* --- Dashboard: ticket e condomini attivi --- */
.wh-condo-ticket-list,
.wh-resident-ticket-list{
  gap:8px;
}
.wh-condo-ticket-list article,
.wh-resident-ticket-list article{
  min-height:64px;
  padding:11px 12px;
  border-radius:11px;
  background:#fbfdff;
}
.wh-condo-ticket-list article>div,
.wh-resident-ticket-list article>div{
  min-width:0;
}
.wh-condo-ticket-list strong,
.wh-resident-ticket-list strong{
  overflow-wrap:anywhere;
}
.wh-condo-ticket-list .wh-btn,
.wh-resident-ticket-list .wh-btn{
  flex:0 0 auto;
  min-width:78px;
}

/* --- Griglia condomini --- */
.wh-condo-card-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  align-items:stretch;
}
.wh-condo-card{
  min-width:0;
  min-height:100%;
  grid-template-rows:auto auto 1fr auto;
  gap:11px;
  padding:14px;
  border-radius:14px;
  background:#fff;
  box-shadow:0 4px 14px rgba(31,76,112,.035);
}
.wh-condo-card.is-active{
  border-color:#d7e4ed;
}
.wh-condo-card.is-inactive{
  background:#fafcfd;
}
.wh-condo-card-head{
  min-width:0;
  align-items:flex-start;
}
.wh-condo-card-head>div{
  min-width:0;
}
.wh-condo-card-head h3{
  font-size:15px;
  line-height:1.2;
  overflow-wrap:anywhere;
}
.wh-condo-card-head p{
  margin-top:3px;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.wh-condo-card .wh-company-badge{
  flex:0 0 auto;
}
.wh-condo-card-meta{
  min-height:26px;
  align-items:center;
}
.wh-condo-card-meta span{
  white-space:normal;
}
.wh-condo-card .wh-property-billing{
  align-self:stretch;
  margin:0;
}
.wh-condo-card .wh-property-actions{
  align-self:end;
  margin-top:auto;
  padding-top:2px;
}
.wh-condo-card .wh-property-actions form{
  display:flex;
}
.wh-condo-card .wh-property-actions .wh-btn,
.wh-condo-card .wh-property-actions button{
  min-height:38px;
}

/* --- Mini-card condomini --- */
.wh-condo-mini-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.wh-condo-mini-grid>a{
  min-width:0;
  min-height:82px;
  align-content:center;
  padding:12px;
  border-radius:12px;
  background:#fbfdff;
}
.wh-condo-mini-grid>a:hover{
  border-color:#bfd4e3;
  background:#f4f9fd;
}
.wh-condo-mini-grid strong{
  font-size:11px;
  overflow-wrap:anywhere;
}
.wh-condo-mini-grid span{
  line-height:1.35;
}

/* --- Abbonamento Amministratore --- */
.wh-condo-current-plan{
  grid-template-columns:minmax(0,1fr) auto;
  gap:9px 18px;
  padding:20px;
  border-radius:16px;
}
.wh-condo-current-plan>strong{
  align-self:center;
  white-space:nowrap;
}
.wh-condo-current-plan>div{
  min-width:0;
}
.wh-condo-plan-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.wh-condo-plan-grid>div{
  min-height:94px;
  align-content:center;
  padding:12px;
  border-radius:12px;
}

/* --- Form Condomini / Profilo --- */
.wh-condo-app .wh-form-section,
.wh-resident-app .wh-form-section{
  width:100%;
  box-sizing:border-box;
}
.wh-condo-app .wh-property-add,
.wh-condo-app .wh-condo-invite-panel{
  width:100%;
}
.wh-condo-app .wh-condo-invite-form{
  align-items:end;
}
.wh-condo-member-list{
  margin-top:12px;
}
.wh-condo-member-list>div{
  min-width:0;
  gap:10px;
}
.wh-condo-member-list>div>div{
  min-width:0;
}
.wh-condo-member-list strong,
.wh-condo-member-list span{
  overflow-wrap:anywhere;
}

/* --- Area Condomino --- */
.wh-resident-app .wh-resident-arrival-panel,
.wh-resident-app .wh-panel{
  width:100%;
}
.wh-resident-app .wh-resident-arrival-code{
  min-width:0;
  border-radius:12px;
  padding:12px;
}
.wh-resident-app .wh-resident-arrival-code>div{
  min-width:0;
}
.wh-resident-app .wh-condo-waiting-note,
.wh-resident-app .wh-condo-info-request,
.wh-resident-app .wh-request-property-confirmed{
  border-radius:11px;
}
.wh-resident-app .wh-badge{
  max-width:100%;
  white-space:normal;
  text-align:center;
}

/* --- Ticket index --- */
.wh-condo-app .wh-ticket-index-row{
  grid-template-columns:minmax(0,1fr) minmax(130px,.55fr) auto;
  gap:12px;
}
.wh-condo-app .wh-ticket-index-row>div{
  min-width:0;
}
.wh-condo-app .wh-ticket-index-row strong{
  overflow-wrap:anywhere;
}

/* --- Control Room > Condomini --- */
.wh-cr .wh-condo-cr-kpis{
  gap:9px;
}
.wh-cr .wh-condo-cr-kpis .wh-cr-v150-kpi{
  min-width:0;
  min-height:104px;
}
.wh-cr .wh-condo-cr-summary{
  gap:9px;
  align-items:stretch;
}
.wh-cr .wh-condo-cr-summary>div{
  min-height:76px;
  align-content:center;
  padding:11px;
  border-radius:11px;
  background:#fff;
}
.wh-cr .wh-condo-cr-list>div{
  min-width:0;
  min-height:62px;
  padding:11px 12px;
  border-radius:11px;
  background:#fff;
}
.wh-cr .wh-condo-cr-list>div>div{
  min-width:0;
}
.wh-cr .wh-condo-cr-list strong,
.wh-cr .wh-condo-cr-list span{
  overflow-wrap:anywhere;
}

/* =========================================================
   TABLET / MOBILE
   ========================================================= */
@media(max-width:950px){
  .wh-condo-app .wh-condo-plan-strip,
  .wh-condo-app .wh-condo-plan-strip-compact{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .wh-condo-app .wh-condo-plan-strip>.wh-btn{
    grid-column:1/-1;
    width:100%;
  }
  .wh-condo-card-grid{grid-template-columns:1fr}
  .wh-condo-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wh-condo-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:860px){
  .whyhab-platform .wh-role-app .wh-main{
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
  }
  .whyhab-platform .wh-role-app .wh-top{
    min-height:auto;
    padding:2px 2px 9px!important;
    border-bottom:1px solid #e8eef3;
  }
  .whyhab-platform .wh-role-app .wh-panel{
    padding:13px!important;
  }
  .whyhab-platform .wh-role-app .wh-panel-head{
    gap:8px;
    margin-bottom:10px;
  }

  /* KPI: due colonne anche su telefono, più leggibili come app */
  .whyhab-platform .wh-condo-app .wh-condo-kpis,
  .whyhab-platform .wh-resident-app .wh-simple-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .whyhab-platform .wh-condo-app .wh-condo-kpis>div,
  .whyhab-platform .wh-resident-app .wh-simple-kpis>div{
    min-height:76px;
    padding:11px;
  }

  .whyhab-platform .wh-condo-app .wh-condo-plan-strip,
  .whyhab-platform .wh-condo-app .wh-condo-plan-strip-compact{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    padding:8px!important;
  }
  .whyhab-platform .wh-condo-app .wh-condo-plan-strip>div{
    min-height:76px;
    padding:10px!important;
  }
  .whyhab-platform .wh-condo-app .wh-condo-plan-strip>.wh-btn{
    grid-column:1/-1!important;
    width:100%;
  }

  .whyhab-platform .wh-condo-card-grid,
  .whyhab-platform .wh-condo-mini-grid,
  .whyhab-platform .wh-condo-plan-grid{
    grid-template-columns:1fr!important;
  }
  .whyhab-platform .wh-condo-card{
    padding:12px!important;
    gap:9px!important;
  }
  .whyhab-platform .wh-condo-card-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
  }
  .whyhab-platform .wh-condo-card .wh-property-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
  }
  .whyhab-platform .wh-condo-card .wh-property-actions form,
  .whyhab-platform .wh-condo-card .wh-property-actions .wh-btn,
  .whyhab-platform .wh-condo-card .wh-property-actions button{
    width:100%!important;
  }

  .whyhab-platform .wh-condo-ticket-list article,
  .whyhab-platform .wh-resident-ticket-list article{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }

  .whyhab-platform .wh-condo-current-plan{
    grid-template-columns:1fr!important;
    gap:7px!important;
    padding:16px!important;
  }
  .whyhab-platform .wh-condo-current-plan>strong{
    grid-column:auto!important;
    grid-row:auto!important;
    font-size:25px;
  }

  .whyhab-platform .wh-condo-app .wh-ticket-index-row{
    grid-template-columns:1fr!important;
    gap:7px!important;
    padding:11px!important;
    margin-bottom:7px;
    border:1px solid #e3e9ee;
    border-radius:11px;
    background:#fff;
  }
  .whyhab-platform .wh-condo-app .wh-ticket-index-row .wh-btn{
    width:100%!important;
  }

  .whyhab-platform .wh-role-app .wh-panel-head{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  .whyhab-platform .wh-role-app .wh-panel-head>a{
    width:max-content;
    max-width:100%;
  }

  .whyhab-platform .wh-condo-member-list>div,
  .whyhab-platform .wh-condo-pending-list article,
  .whyhab-platform .wh-resident-arrival-code{
    grid-template-columns:1fr!important;
  }
  .whyhab-platform .wh-condo-member-list form,
  .whyhab-platform .wh-condo-member-list button{
    width:100%;
  }

  /* Control Room > Condomini */
  .wh-cr .wh-condo-cr-kpis,
  .wh-cr .wh-condo-cr-summary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .wh-cr .wh-condo-cr-list>div{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
  }
}

@media(max-width:430px){
  .whyhab-platform .wh-condo-app .wh-condo-plan-strip,
  .whyhab-platform .wh-condo-app .wh-condo-plan-strip-compact{
    grid-template-columns:1fr!important;
  }
  .whyhab-platform .wh-condo-app .wh-condo-kpis,
  .whyhab-platform .wh-resident-app .wh-simple-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .wh-cr .wh-condo-cr-kpis,
  .wh-cr .wh-condo-cr-summary{
    grid-template-columns:1fr!important;
  }
}


/* =========================================================
   v1.8.2 — CONDOMINO -> CLIENTE WHYHAB HOME
   ========================================================= */
.wh-condo-home-offer{
  scroll-margin-top:14px;
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(145px,.65fr) auto;
  gap:12px;
  align-items:center;
  padding:12px 14px;
  border:1px solid #d8e5ee;
  border-radius:14px;
  background:linear-gradient(135deg,#f8fbfe,#f1f7fb);
  box-shadow:0 4px 14px rgba(31,76,112,.035);
}
.wh-condo-home-offer#whyhab-home{scroll-margin-top:14px}
.wh-condo-home-copy{
  display:grid;gap:3px;min-width:0
}
.wh-condo-home-copy small{
  font-size:8px;font-weight:900;letter-spacing:.055em;color:#567995
}
.wh-condo-home-copy strong{
  font-size:12px;line-height:1.3;color:#204866
}
.wh-condo-home-copy span{
  font-size:9px;line-height:1.45;color:#748592
}
.wh-condo-home-plan{
  display:grid;gap:2px;min-width:0;padding-left:12px;border-left:1px solid #dbe6ee
}
.wh-condo-home-plan b{
  font-size:15px;color:#1d557d
}
.wh-condo-home-plan span{
  font-size:8px;line-height:1.45;color:#738492
}
.wh-condo-home-actions{
  display:flex;gap:6px;align-items:center;justify-content:flex-end;flex-wrap:wrap
}
.wh-condo-home-start{
  max-width:275px;display:grid;justify-items:stretch
}
.wh-condo-home-terms{
  align-items:flex-start!important;padding:0!important;margin:0!important;
  background:transparent!important;border:0!important
}
.wh-condo-home-terms input{
  min-height:16px!important;width:16px!important;height:16px!important;margin-top:1px!important
}
.wh-condo-home-terms span{
  font-size:7.5px!important;line-height:1.4!important;color:#718391!important
}
.wh-condo-home-offer.is-active{
  border-color:#cde5d5;background:linear-gradient(135deg,#f6fcf8,#edf8f1)
}
.wh-condo-home-offer.is-active .wh-condo-home-copy small,
.wh-condo-home-offer.is-active .wh-condo-home-plan b{color:#2a7047}
.wh-condo-home-offer.is-pending{
  border-color:#eadfbd;background:linear-gradient(135deg,#fffdf7,#fff9eb)
}
.wh-condo-home-checkout-note{
  display:grid;gap:3px;margin:0 0 12px;padding:11px 13px;
  border:1px solid #d7e4ee;border-radius:11px;background:#f5f9fc
}
.wh-condo-home-checkout-note strong{font-size:10px;color:#275878}
.wh-condo-home-checkout-note span{font-size:8px;line-height:1.45;color:#738492}
.wh-nav-context{
  border-top:1px solid rgba(255,255,255,.08)!important;
  margin-top:5px!important;padding-top:12px!important
}

@media(max-width:860px){
  .whyhab-platform .wh-condo-home-offer{
    grid-template-columns:1fr!important;
    gap:9px!important;
    padding:12px!important
  }
  .whyhab-platform .wh-condo-home-plan{
    padding:8px 0 0!important;border-left:0!important;border-top:1px solid #dbe6ee
  }
  .whyhab-platform .wh-condo-home-actions,
  .whyhab-platform .wh-condo-home-start{
    width:100%!important;max-width:none!important;display:grid!important;grid-template-columns:1fr!important
  }
  .whyhab-platform .wh-condo-home-actions .wh-btn,
  .whyhab-platform .wh-condo-home-actions button{
    width:100%!important
  }
}


/* ========================================================================
   WHYHAB v1.9.0 — PROFESSIONAL APP UI
   SOLO PRESENTAZIONE: nessuna modifica al motore / workflow
   ======================================================================== */
:root{
  --wh-ui-navy:#0a2f63;
  --wh-ui-navy-2:#08264f;
  --wh-ui-blue:#1769ff;
  --wh-ui-blue-2:#0f5bea;
  --wh-ui-bg:#f5f8fc;
  --wh-ui-card:#ffffff;
  --wh-ui-border:#e1e8f0;
  --wh-ui-text:#10233f;
  --wh-ui-muted:#718096;
  --wh-ui-soft:#eef4fb;
  --wh-ui-green:#15945f;
  --wh-ui-orange:#e98a19;
  --wh-ui-red:#cf4b4b;
  --wh-ui-purple:#7454d6;
  --wh-ui-shadow:0 10px 30px rgba(16,35,63,.07);
  --wh-ui-shadow-soft:0 5px 18px rgba(16,35,63,.045);
}

/* PAGE FRAME */
body.whyhab-platform{
  background:linear-gradient(180deg,#edf3f9 0,#f8fafc 45%,#eef3f8 100%)!important;
}
body.whyhab-platform #page,
body.whyhab-platform .wp-site-blocks,
body.whyhab-platform main.wp-block-group{
  max-width:none!important;
  width:100%!important;
}
body.whyhab-platform .wh-app-v190{
  width:min(1510px,calc(100vw - 34px))!important;
  min-height:calc(100vh - 34px)!important;
  margin:17px auto!important;
  display:grid!important;
  grid-template-columns:248px minmax(0,1fr)!important;
  border:1px solid rgba(210,221,232,.8)!important;
  border-radius:24px!important;
  overflow:hidden!important;
  background:var(--wh-ui-bg)!important;
  box-shadow:0 24px 70px rgba(22,49,79,.12)!important;
}

/* SIDEBAR */
.whyhab-platform .wh-app-v190 .wh-sidebar{
  position:relative!important;
  width:auto!important;
  min-width:0!important;
  min-height:100%!important;
  padding:25px 16px 22px!important;
  display:flex!important;
  flex-direction:column!important;
  background:
    radial-gradient(circle at 30% 8%,rgba(50,119,255,.22),transparent 25%),
    linear-gradient(180deg,var(--wh-ui-navy) 0,var(--wh-ui-navy-2) 100%)!important;
  border:0!important;
}
.whyhab-platform .wh-app-v190 .wh-brand{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  margin:0 4px 26px!important;
  color:#fff!important;
  text-decoration:none!important;
}
.whyhab-platform .wh-app-v190 .wh-mark{
  width:38px!important;height:38px!important;
  display:grid!important;place-items:center!important;
  flex:0 0 38px!important;
  border-radius:11px!important;
  background:linear-gradient(135deg,#2b7cff,#0c5ce6)!important;
  color:#fff!important;
  font-size:22px!important;
  box-shadow:0 8px 20px rgba(4,24,52,.22)!important;
}
.whyhab-platform .wh-app-v190 .wh-brand-copy{display:grid!important;gap:0!important}
.whyhab-platform .wh-app-v190 .wh-brand-copy strong{
  font-size:19px!important;letter-spacing:.01em!important;color:#fff!important
}
.whyhab-platform .wh-app-v190 .wh-brand-copy small{
  margin-top:-1px!important;font-size:7px!important;letter-spacing:.12em!important;color:#a9c5ef!important
}
.whyhab-platform .wh-app-v190 .wh-side-label{
  margin:0 10px 9px!important;
  color:#86a7d2!important;
  font-size:9px!important;
  font-weight:850!important;
  letter-spacing:.10em!important;
}
.whyhab-platform .wh-app-v190 .wh-sidebar nav{
  display:flex!important;
  flex-direction:column!important;
  gap:4px!important;
  height:100%!important;
}
.whyhab-platform .wh-app-v190 .wh-sidebar nav a{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  min-height:44px!important;
  margin:0!important;
  padding:0 13px!important;
  border-radius:11px!important;
  color:#e9f1fd!important;
  font-size:13px!important;
  font-weight:650!important;
  line-height:1.2!important;
  text-decoration:none!important;
  transition:.18s ease!important;
  border:1px solid transparent!important;
}
.whyhab-platform .wh-app-v190 .wh-sidebar nav a:hover{
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
}
.whyhab-platform .wh-app-v190 .wh-sidebar nav a.is-active{
  background:linear-gradient(135deg,#2d78f5,#1767f4)!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.12)!important;
  box-shadow:0 8px 18px rgba(2,23,55,.18)!important;
}
.whyhab-platform .wh-app-v190 .wh-sidebar nav a.is-active:before{
  content:""!important;
  width:3px!important;height:18px!important;border-radius:5px!important;
  background:#fff!important;margin-right:9px!important;
}
.whyhab-platform .wh-app-v190 .wh-sidebar nav a[href*="logout"]{
  margin-top:auto!important;
  color:#c4d6ee!important;
}

/* MAIN */
.whyhab-platform .wh-app-v190 .wh-main{
  min-width:0!important;
  padding:0 30px 36px!important;
  background:
    radial-gradient(circle at 84% 3%,rgba(29,104,255,.055),transparent 22%),
    var(--wh-ui-bg)!important;
  gap:14px!important;
}
.whyhab-platform .wh-app-v190 .wh-top{
  min-height:102px!important;
  margin:0!important;
  padding:25px 0 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:20px!important;
  border-bottom:1px solid var(--wh-ui-border)!important;
}
.whyhab-platform .wh-app-v190 .wh-top-copy{min-width:0!important}
.whyhab-platform .wh-app-v190 .wh-top h1{
  margin:0!important;
  color:var(--wh-ui-text)!important;
  font-size:27px!important;
  line-height:1.1!important;
  letter-spacing:-.025em!important;
}
.whyhab-platform .wh-app-v190 .wh-top p{
  margin:6px 0 0!important;
  color:var(--wh-ui-muted)!important;
  font-size:12px!important;
}
.wh-ui-user-chip{
  display:flex;align-items:center;gap:9px;
  flex:0 0 auto;padding:7px 10px 7px 7px;
  border:1px solid #e0e8f0;border-radius:999px;background:#fff;
  box-shadow:0 4px 14px rgba(16,35,63,.04)
}
.wh-ui-avatar{
  width:34px;height:34px;display:grid;place-items:center;border-radius:50%;
  background:linear-gradient(135deg,#edf4ff,#dceaff);color:#1458c8;
  border:1px solid #cfe0f6;font-size:10px;font-weight:900
}
.wh-ui-user-chip>div{display:grid;gap:1px}
.wh-ui-user-chip strong{font-size:10px!important;color:#17324f!important;white-space:nowrap}
.wh-ui-user-chip small{font-size:7.5px!important;color:#8492a3!important}

/* PANELS / CARDS */
.whyhab-platform .wh-app-v190 .wh-panel,
.whyhab-platform .wh-app-v190 .wh-next-action,
.whyhab-platform .wh-app-v190 .wh-partner-availability-summary,
.whyhab-platform .wh-app-v190 .wh-condo-plan-strip,
.whyhab-platform .wh-app-v190 .wh-condo-current-plan,
.whyhab-platform .wh-app-v190 .wh-ticket-expanded,
.whyhab-platform .wh-app-v190 .wh-property-card,
.whyhab-platform .wh-app-v190 .wh-subscription-strip{
  border:1px solid var(--wh-ui-border)!important;
  border-radius:16px!important;
  background:var(--wh-ui-card)!important;
  box-shadow:var(--wh-ui-shadow-soft)!important;
}
.whyhab-platform .wh-app-v190 .wh-panel{
  padding:18px!important;
}
.whyhab-platform .wh-app-v190 .wh-panel-head{
  align-items:center!important;
  margin-bottom:13px!important;
}
.whyhab-platform .wh-app-v190 .wh-panel-head h2{
  color:var(--wh-ui-text)!important;
  font-size:19px!important;
  letter-spacing:-.02em!important;
}
.whyhab-platform .wh-app-v190 .wh-panel-head p{
  color:var(--wh-ui-muted)!important;font-size:10px!important
}
.whyhab-platform .wh-app-v190 .wh-panel-head>a{
  color:var(--wh-ui-blue)!important;font-size:10px!important;font-weight:800!important
}

/* KPI */
.whyhab-platform .wh-app-v190 .wh-simple-kpis{
  gap:10px!important;
}
.whyhab-platform .wh-app-v190 .wh-simple-kpis>div{
  min-height:86px!important;
  padding:14px 15px!important;
  display:grid!important;
  align-content:center!important;
  gap:5px!important;
  border:1px solid var(--wh-ui-border)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 4px 14px rgba(16,35,63,.035)!important;
  position:relative!important;
  overflow:hidden!important;
}
.whyhab-platform .wh-app-v190 .wh-simple-kpis>div:before{
  content:""!important;position:absolute!important;left:0!important;top:0!important;bottom:0!important;width:4px!important;
  background:#6f91b9!important
}
.whyhab-platform .wh-app-v190 .wh-simple-kpis .is-todo:before{background:var(--wh-ui-blue)!important}
.whyhab-platform .wh-app-v190 .wh-simple-kpis .is-ready:before{background:var(--wh-ui-green)!important}
.whyhab-platform .wh-app-v190 .wh-simple-kpis .is-managed:before{background:var(--wh-ui-orange)!important}
.whyhab-platform .wh-app-v190 .wh-simple-kpis .is-closed:before{background:#5e7590!important}
.whyhab-platform .wh-app-v190 .wh-simple-kpis strong{
  font-size:24px!important;line-height:1!important;color:#173451!important
}
.whyhab-platform .wh-app-v190 .wh-simple-kpis span{
  font-size:8px!important;font-weight:800!important;color:#697b8e!important;text-transform:uppercase!important;letter-spacing:.035em!important
}

/* NEXT ACTION */
.whyhab-platform .wh-app-v190 .wh-next-action{
  padding:16px 18px!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  border-left:4px solid var(--wh-ui-blue)!important;
  background:linear-gradient(100deg,#fff 0,#fff 72%,#f4f8ff 100%)!important;
}
.whyhab-platform .wh-app-v190 .wh-next-action.is-action{border-left-color:var(--wh-ui-orange)!important}
.whyhab-platform .wh-app-v190 .wh-next-action small{
  color:#5780aa!important;font-size:7px!important;letter-spacing:.08em!important
}
.whyhab-platform .wh-app-v190 .wh-next-action h2{
  margin:4px 0!important;font-size:17px!important;color:#17324f!important
}
.whyhab-platform .wh-app-v190 .wh-next-action p{
  margin:0!important;color:#77879a!important;font-size:10px!important
}

/* AVAILABILITY */
.whyhab-platform .wh-app-v190 .wh-partner-availability-summary{
  min-height:54px!important;padding:10px 12px!important
}
.whyhab-platform .wh-app-v190 .wh-partner-availability-summary strong{font-size:10px!important}
.whyhab-platform .wh-app-v190 .wh-partner-availability-summary small{font-size:7.5px!important;color:#8593a2!important}

/* LIST ROWS */
.whyhab-platform .wh-app-v190 .wh-partner-preview-row,
.whyhab-platform .wh-app-v190 .wh-resident-ticket-list article,
.whyhab-platform .wh-app-v190 .wh-condo-ticket-list article,
.whyhab-platform .wh-app-v190 .wh-ticket-index-row{
  border:1px solid #e6ecf2!important;
  border-radius:11px!important;
  background:#fbfdff!important;
  box-shadow:none!important;
}
.whyhab-platform .wh-app-v190 .wh-partner-preview-row{
  min-height:62px!important;padding:10px 11px!important
}
.whyhab-platform .wh-app-v190 .wh-partner-preview-row:hover,
.whyhab-platform .wh-app-v190 .wh-ticket-index-row:hover{
  background:#f4f8ff!important;border-color:#cfe0f6!important
}

/* BUTTONS */
.whyhab-platform .wh-app-v190 .wh-btn{
  min-height:40px!important;
  padding:0 17px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border-radius:10px!important;
  font-size:10px!important;font-weight:850!important;
  box-shadow:0 5px 13px rgba(23,105,255,.12)!important;
  transition:.17s ease!important;
}
.whyhab-platform .wh-app-v190 .wh-btn:not(.wh-btn-light):not(.wh-btn-danger){
  background:linear-gradient(135deg,var(--wh-ui-blue),var(--wh-ui-blue-2))!important;
  border-color:var(--wh-ui-blue)!important;color:#fff!important
}
.whyhab-platform .wh-app-v190 .wh-btn:hover{
  transform:translateY(-1px)!important
}
.whyhab-platform .wh-app-v190 .wh-btn-light{
  background:#fff!important;color:var(--wh-ui-blue)!important;border:1px solid #cbdcff!important;box-shadow:none!important
}

/* FORMS */
.whyhab-platform .wh-app-v190 .wh-form,
.whyhab-platform .wh-app-v190 form.wh-form{
  gap:13px!important;
}
.whyhab-platform .wh-app-v190 label{
  color:#42566e!important;font-size:9px!important;font-weight:760!important
}
.whyhab-platform .wh-app-v190 input:not([type=checkbox]):not([type=radio]):not([type=file]),
.whyhab-platform .wh-app-v190 select,
.whyhab-platform .wh-app-v190 textarea{
  min-height:43px!important;
  border:1px solid #d8e2ec!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#17324f!important;
  box-shadow:0 1px 2px rgba(16,35,63,.015)!important;
}
.whyhab-platform .wh-app-v190 input:focus,
.whyhab-platform .wh-app-v190 select:focus,
.whyhab-platform .wh-app-v190 textarea:focus{
  outline:none!important;border-color:#8bb5ff!important;box-shadow:0 0 0 3px rgba(23,105,255,.09)!important
}

/* TICKET / PROPERTY */
.whyhab-platform .wh-app-v190 .wh-ticket-summary>div,
.whyhab-platform .wh-app-v190 .wh-ticket-detail-grid>div{
  border:1px solid #e5ebf1!important;background:#f8fafc!important
}
.whyhab-platform .wh-app-v190 .wh-property-grid{
  gap:12px!important
}
.whyhab-platform .wh-app-v190 .wh-property-card{
  padding:15px!important
}
.whyhab-platform .wh-app-v190 .wh-badge{
  border-radius:999px!important;
  padding:5px 8px!important;
  font-size:8px!important;
  font-weight:850!important
}

/* APP MOBILE BOTTOM NAV */
.whyhab-platform .wh-mobile-nav{
  left:50%!important;
  transform:translateX(-50%)!important;
  width:min(560px,calc(100% - 18px))!important;
  bottom:9px!important;
  padding:7px 7px calc(7px + env(safe-area-inset-bottom))!important;
  display:none;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:3px!important;
  border:1px solid #dfe6ee!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.96)!important;
  backdrop-filter:blur(16px)!important;
  box-shadow:0 14px 38px rgba(16,35,63,.17)!important;
}
.whyhab-platform .wh-mobile-nav a{
  min-width:0!important;
  min-height:48px!important;
  display:grid!important;place-items:center!important;align-content:center!important;
  gap:2px!important;border-radius:11px!important;color:#718096!important
}
.whyhab-platform .wh-mobile-nav a.is-active{
  background:#edf4ff!important;color:var(--wh-ui-blue)!important
}
.whyhab-platform .wh-mobile-nav a span{font-size:17px!important;line-height:1!important}
.whyhab-platform .wh-mobile-nav a small{
  max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;
  font-size:6.5px!important;font-weight:800!important;white-space:nowrap!important
}

/* PRIORITY COLORS */
.wh-customer-urgency.is-alta,.wh-cr-urgency.is-alta{background:#fff0f0!important;color:#b63d3d!important}
.wh-customer-urgency.is-media,.wh-cr-urgency.is-media{background:#fff6e8!important;color:#ad690c!important}
.wh-customer-urgency.is-bassa,.wh-cr-urgency.is-bassa{background:#edf5ff!important;color:#285fa8!important}

/* =========================================================
   CONTROL ROOM POLISH
   ========================================================= */
.wp-admin .wh-cr{
  --wh-cr-bg:#f4f7fb;
}
.wp-admin .wh-cr .wh-cr-header{
  padding:17px 18px!important;
  border-radius:16px!important;
  background:linear-gradient(120deg,#082e61,#0e4486)!important;
  color:#fff!important;
  box-shadow:0 12px 30px rgba(15,52,91,.12)!important;
}
.wp-admin .wh-cr .wh-cr-heading h1,
.wp-admin .wh-cr .wh-cr-heading p{color:#fff!important}
.wp-admin .wh-cr .wh-cr-heading p{opacity:.72!important}
.wp-admin .wh-cr .wh-cr-nav-group{
  border-radius:13px!important
}
.wp-admin .wh-cr .wh-cr-panel,
.wp-admin .wh-cr .wh-cr-stat,
.wp-admin .wh-cr .wh-cr-pipeline,
.wp-admin .wh-cr .wh-cr-kpi-row>div{
  border-radius:14px!important;
  border-color:#e0e7ee!important;
  box-shadow:0 5px 18px rgba(18,44,72,.035)!important
}

/* PRIORITY & SLA */
.wh-priority-settings-form{display:grid;gap:14px}
.wh-priority-policy-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px
}
.wh-priority-policy-card{
  display:grid;gap:15px;padding:17px;border:1px solid #e0e7ee;border-radius:15px;background:#fff;
  box-shadow:0 6px 20px rgba(16,35,63,.04)
}
.wh-priority-policy-head{display:flex;align-items:flex-start;gap:10px}
.wh-priority-dot{width:10px;height:10px;margin-top:4px;border-radius:50%;background:#7b8ea5;box-shadow:0 0 0 5px #eef2f6}
.wh-priority-high .wh-priority-dot{background:#cf4b4b;box-shadow:0 0 0 5px #fff0f0}
.wh-priority-medium .wh-priority-dot{background:#e98a19;box-shadow:0 0 0 5px #fff4e6}
.wh-priority-low .wh-priority-dot{background:#2b6db2;box-shadow:0 0 0 5px #edf5ff}
.wh-priority-policy-head>div{display:grid;gap:2px}
.wh-priority-policy-head small{font-size:9px;color:#8b98a7;font-weight:800;letter-spacing:.05em}
.wh-priority-policy-head strong{font-size:19px;color:#17324f}
.wh-priority-policy-head p{margin:1px 0 0;font-size:11px;line-height:1.45;color:#748496}
.wh-priority-policy-inputs{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.wh-priority-policy-inputs label{display:grid;gap:5px;font-size:10px;font-weight:750;color:#53667b}
.wh-priority-policy-inputs input,.wh-priority-policy-inputs select{
  min-height:42px;border:1px solid #d8e2ec;border-radius:9px;background:#fff;padding:0 10px
}
.wh-priority-preview{
  display:grid;gap:2px;padding:10px 11px;border-radius:10px;background:#f6f9fc;border:1px solid #e8edf2
}
.wh-priority-preview small{font-size:8px;color:#8a97a6;font-weight:800}
.wh-priority-preview strong{font-size:11px;color:#294760}
.wh-priority-save-panel{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:16px!important;align-items:center!important
}
.wh-priority-save-panel>div strong{font-size:13px;color:#17324f}
.wh-priority-save-panel>div p{margin:3px 0 0;font-size:10px;color:#7b8998}
.wh-priority-explain>div{display:flex;align-items:flex-start;gap:11px}
.wh-priority-icon{
  width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:10px;
  background:#edf4ff;color:#1769ff;font-weight:900
}
.wh-priority-explain strong{font-size:12px;color:#17324f}
.wh-priority-explain p{margin:4px 0 0;font-size:10px;line-height:1.5;color:#748496}

/* =========================================================
   MOBILE / TABLET
   ========================================================= */
@media(max-width:860px){
  body.whyhab-platform{
    background:#f5f8fc!important
  }
  body.whyhab-platform .wh-app-v190{
    width:100%!important;
    min-height:100dvh!important;
    margin:0!important;
    display:block!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  .whyhab-platform .wh-app-v190 .wh-sidebar{
    display:none!important
  }
  .whyhab-platform .wh-app-v190 .wh-main{
    min-height:100dvh!important;
    padding:0 12px 94px!important;
    background:#f6f8fb!important
  }
  .whyhab-platform .wh-app-v190 .wh-top{
    position:sticky!important;
    top:0!important;
    z-index:20!important;
    min-height:72px!important;
    margin:0 -12px 8px!important;
    padding:12px 13px!important;
    align-items:center!important;
    background:rgba(255,255,255,.96)!important;
    backdrop-filter:blur(15px)!important;
    border-bottom:1px solid #e2e8ee!important;
  }
  .whyhab-platform .wh-app-v190 .wh-top h1{
    font-size:19px!important
  }
  .whyhab-platform .wh-app-v190 .wh-top p{
    max-width:68vw!important;
    margin-top:3px!important;
    font-size:8px!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important
  }
  .whyhab-platform .wh-ui-user-chip{
    padding:4px!important;border:0!important;background:transparent!important;box-shadow:none!important
  }
  .whyhab-platform .wh-ui-user-chip>div{display:none!important}
  .whyhab-platform .wh-ui-avatar{
    width:34px;height:34px
  }

  .whyhab-platform .wh-app-v190 .wh-panel{
    padding:13px!important;
    border-radius:14px!important
  }
  .whyhab-platform .wh-app-v190 .wh-panel-head h2{font-size:16px!important}
  .whyhab-platform .wh-app-v190 .wh-panel-head p{font-size:8px!important}
  .whyhab-platform .wh-app-v190 .wh-simple-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important
  }
  .whyhab-platform .wh-app-v190 .wh-simple-kpis>div{
    min-height:74px!important;padding:10px 11px!important
  }
  .whyhab-platform .wh-app-v190 .wh-simple-kpis strong{font-size:20px!important}
  .whyhab-platform .wh-app-v190 .wh-simple-kpis span{font-size:7px!important}
  .whyhab-platform .wh-app-v190 .wh-next-action{
    grid-template-columns:1fr!important;
    gap:10px!important;
    padding:13px!important
  }
  .whyhab-platform .wh-app-v190 .wh-next-action .wh-btn{width:100%!important}
  .whyhab-platform .wh-app-v190 .wh-mobile-nav{display:grid!important}
  .whyhab-platform .wh-pwa-install{
    bottom:82px!important
  }

  .whyhab-platform .wh-app-v190 .wh-ticket-summary,
  .whyhab-platform .wh-app-v190 .wh-ticket-detail-grid{
    grid-template-columns:1fr!important
  }
  .whyhab-platform .wh-app-v190 .wh-grid-2,
  .whyhab-platform .wh-app-v190 .wh-grid-3{
    grid-template-columns:1fr!important
  }
  .whyhab-platform .wh-app-v190 .wh-btn{
    min-height:43px!important
  }

  .wh-priority-policy-grid{grid-template-columns:1fr}
  .wh-priority-save-panel{
    grid-template-columns:1fr!important
  }
  .wh-priority-save-panel .button{width:100%}
}

@media(max-width:430px){
  .whyhab-platform .wh-app-v190 .wh-simple-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important
  }
  .whyhab-platform .wh-mobile-nav{
    width:calc(100% - 12px)!important;bottom:6px!important
  }
  .whyhab-platform .wh-mobile-nav a small{
    font-size:6px!important
  }
}


/* ========================================================================
   WHYHAB v1.9.1 — STRONG VISUAL REFRESH
   Più vicino ai mockup: desktop app piena, bento layout, mobile app-like.
   ======================================================================== */

/* FULL APP DESKTOP: elimina effetto "pagina dentro la pagina" */
@media(min-width:861px){
  body.whyhab-platform{
    margin:0!important;
    min-height:100vh!important;
    overflow-x:hidden!important;
    background:#eef3f8!important;
  }
  body.whyhab-platform .wh-template-main{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }
  body.whyhab-platform .wh-app-v190{
    width:100vw!important;
    max-width:none!important;
    min-height:100vh!important;
    margin:0!important;
    grid-template-columns:270px minmax(0,1fr)!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  .whyhab-platform .wh-app-v190 .wh-sidebar{
    position:sticky!important;
    top:0!important;
    height:100vh!important;
    padding:28px 20px 24px!important;
  }
  .whyhab-platform .wh-app-v190 .wh-main{
    padding:0 38px 44px!important;
  }
  .whyhab-platform .wh-app-v190 .wh-top{
    min-height:116px!important;
    padding:28px 0 20px!important;
  }
  .whyhab-platform .wh-app-v190 .wh-top h1{
    font-size:31px!important;
  }
  .whyhab-platform .wh-app-v190 .wh-top p{
    font-size:13px!important;
  }
}

/* DASHBOARD HERO */
.wh-dashboard-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:12px;
  margin:2px 0 0;
}
.wh-dashboard-hero-main .wh-partner-availability-summary{
  min-height:62px!important;
  padding:13px 15px!important;
  border-radius:14px!important;
  background:linear-gradient(110deg,#ffffff 0%,#f8fbff 100%)!important;
}
.wh-dashboard-hero-main .wh-partner-availability-main strong{
  font-size:12px!important;color:#17324f!important
}
.wh-dashboard-hero-main .wh-partner-availability-main small{
  font-size:8.5px!important
}
.wh-dashboard-hero-kpis .wh-simple-kpis{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.wh-dashboard-hero-kpis .wh-simple-kpis>div{
  min-height:104px!important;
  border-radius:16px!important;
  padding:17px 18px!important;
  background:
    radial-gradient(circle at 90% 10%,rgba(23,105,255,.08),transparent 25%),
    #fff!important;
}
.wh-dashboard-hero-kpis .wh-simple-kpis strong{
  font-size:30px!important;
}
.wh-dashboard-hero-kpis .wh-simple-kpis span{
  font-size:8.5px!important;
}
.wh-dashboard-hero-kpis .wh-simple-kpis>div:after{
  content:""!important;
  position:absolute!important;
  right:16px!important;top:16px!important;
  width:28px!important;height:28px!important;border-radius:9px!important;
  background:#f0f5fb!important;
}
.wh-dashboard-hero-kpis .wh-simple-kpis .is-todo:after{background:#eef4ff!important}
.wh-dashboard-hero-kpis .wh-simple-kpis .is-ready:after{background:#edf8f2!important}
.wh-dashboard-hero-kpis .wh-simple-kpis .is-managed:after{background:#fff5e8!important}
.wh-dashboard-hero-kpis .wh-simple-kpis .is-closed:after{background:#f1f4f7!important}

/* BENTO */
.wh-dashboard-bento{
  display:grid;
  grid-template-columns:minmax(0,1.42fr) minmax(330px,.78fr);
  gap:14px;
  align-items:start;
}
.wh-dashboard-bento-primary,
.wh-dashboard-bento-secondary{
  min-width:0;
}
.wh-dashboard-bento-primary .wh-next-action{
  min-height:245px!important;
  padding:24px 26px!important;
  align-items:center!important;
  background:
    radial-gradient(circle at 90% 20%,rgba(23,105,255,.14),transparent 26%),
    linear-gradient(125deg,#fff 0%,#f8fbff 100%)!important;
  border-left:0!important;
  position:relative!important;
  overflow:hidden!important;
}
.wh-dashboard-bento-primary .wh-next-action:before{
  content:"PROSSIMA AZIONE"!important;
  position:absolute!important;
  top:18px!important;right:20px!important;
  padding:6px 9px!important;
  border-radius:999px!important;
  background:#edf4ff!important;
  color:#1769ff!important;
  font-size:7px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
}
.wh-dashboard-bento-primary .wh-next-action>div{
  max-width:690px!important;
}
.wh-dashboard-bento-primary .wh-next-action small{
  font-size:8px!important;
}
.wh-dashboard-bento-primary .wh-next-action>div>span{
  display:block!important;
  margin:10px 0 2px!important;
  color:#7690aa!important;
  font-size:9px!important;
  font-weight:750!important;
}
.wh-dashboard-bento-primary .wh-next-action h2{
  margin:6px 0 8px!important;
  font-size:27px!important;
  line-height:1.13!important;
  letter-spacing:-.025em!important;
}
.wh-dashboard-bento-primary .wh-next-action p{
  max-width:620px!important;
  font-size:11px!important;
  line-height:1.55!important;
}
.wh-dashboard-bento-primary .wh-next-action .wh-btn{
  min-width:145px!important;
  min-height:48px!important;
  font-size:11px!important;
}
.wh-dashboard-bento-secondary .wh-panel{
  min-height:245px!important;
  padding:18px!important;
}
.wh-dashboard-bento-secondary .wh-panel-head h2{
  font-size:18px!important;
}

/* PRIORITY LIST */
.wh-priority-row{
  grid-template-columns:auto minmax(0,1fr) auto auto!important;
  gap:10px!important;
  align-items:center!important;
  padding:11px!important;
  border-left:3px solid #9eb0c1!important;
}
.wh-priority-row.is-alta{border-left-color:#cf4b4b!important}
.wh-priority-row.is-media{border-left-color:#e98a19!important}
.wh-priority-row.is-bassa{border-left-color:#2b6db2!important}
.wh-priority-row-icon{
  width:31px;height:31px;display:grid;place-items:center;border-radius:9px;
  background:#f1f5f8;color:#60758a;font-size:13px;font-weight:900
}
.wh-priority-row.is-alta .wh-priority-row-icon{background:#fff0f0;color:#c14545}
.wh-priority-row.is-media .wh-priority-row-icon{background:#fff4e6;color:#d47c12}
.wh-priority-row.is-bassa .wh-priority-row-icon{background:#edf5ff;color:#2c67a8}
.wh-priority-row-main{display:grid;gap:2px;min-width:0}
.wh-priority-row-main small{font-size:7.5px!important;color:#8492a0!important}
.wh-priority-row-main strong{font-size:10px!important;color:#17324f!important}
.wh-priority-row-main span{font-size:8px!important;color:#8693a1!important}
.wh-priority-row-meta{display:grid;gap:2px;text-align:right}
.wh-priority-row-meta b{
  font-size:8px;text-transform:uppercase;letter-spacing:.04em;color:#4d647b
}
.wh-priority-row-meta span{font-size:7px;color:#8a97a4}

/* SIDEBAR more polished */
@media(min-width:861px){
  .whyhab-platform .wh-app-v190 .wh-sidebar nav a{
    min-height:48px!important;
    padding:0 15px!important;
    font-size:13.5px!important;
  }
  .whyhab-platform .wh-app-v190 .wh-brand{
    margin-bottom:34px!important;
  }
  .whyhab-platform .wh-app-v190 .wh-mark{
    width:42px!important;height:42px!important;flex-basis:42px!important
  }
  .whyhab-platform .wh-app-v190 .wh-brand-copy strong{
    font-size:21px!important;
  }
}

/* PANELS */
.whyhab-platform .wh-app-v190 .wh-panel,
.whyhab-platform .wh-app-v190 .wh-next-action,
.whyhab-platform .wh-app-v190 .wh-property-card,
.whyhab-platform .wh-app-v190 .wh-ticket-expanded{
  box-shadow:0 8px 26px rgba(16,35,63,.055)!important;
}
.whyhab-platform .wh-app-v190 .wh-panel:hover{
  border-color:#d7e2ed!important;
}

/* PRIORITY FORM: "Entro 4 ore" */
.wh-priority-deadline-builder{
  display:grid!important;
  grid-template-columns:auto minmax(78px,.55fr) minmax(100px,.85fr)!important;
  gap:8px!important;
  align-items:center!important;
  padding:10px!important;
  border:1px solid #e5ebf1!important;
  border-radius:12px!important;
  background:#f8fafc!important;
}
.wh-priority-entro{
  font-size:11px!important;
  font-weight:850!important;
  color:#344f69!important;
  padding:0 2px!important;
}
.wh-priority-deadline-builder label{
  margin:0!important;
}
.wh-priority-deadline-builder input,
.wh-priority-deadline-builder select{
  width:100%!important;
  min-height:42px!important;
  font-size:13px!important;
  font-weight:750!important;
}

/* MOBILE: stronger app feeling */
@media(max-width:860px){
  .whyhab-platform .wh-app-v190 .wh-main{
    padding:0 10px 94px!important;
  }
  .whyhab-platform .wh-app-v190 .wh-top{
    margin:0 -10px 10px!important;
    min-height:76px!important;
    padding:12px 12px!important;
    box-shadow:0 4px 14px rgba(16,35,63,.04)!important;
  }
  .whyhab-platform .wh-app-v190 .wh-top:before{
    content:"WHYHAB"!important;
    position:absolute!important;
    left:50%!important;top:11px!important;
    transform:translateX(-50%)!important;
    color:#0a2f63!important;
    font-size:9px!important;
    font-weight:950!important;
    letter-spacing:.08em!important;
  }
  .whyhab-platform .wh-app-v190 .wh-top-copy{
    padding-top:14px!important;
  }
  .whyhab-platform .wh-app-v190 .wh-top h1{
    font-size:17px!important;
  }
  .whyhab-platform .wh-app-v190 .wh-top p{
    font-size:7.5px!important;
  }
  .wh-dashboard-hero-kpis .wh-simple-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  .wh-dashboard-hero-kpis .wh-simple-kpis>div{
    min-height:82px!important;
    padding:11px 12px!important;
  }
  .wh-dashboard-hero-kpis .wh-simple-kpis strong{font-size:22px!important}
  .wh-dashboard-bento{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .wh-dashboard-bento-primary .wh-next-action{
    min-height:0!important;
    padding:16px!important;
  }
  .wh-dashboard-bento-primary .wh-next-action:before{
    top:11px!important;right:12px!important;
    font-size:6px!important;
  }
  .wh-dashboard-bento-primary .wh-next-action h2{
    font-size:20px!important;
    padding-right:76px!important;
  }
  .wh-dashboard-bento-primary .wh-next-action .wh-btn{
    width:100%!important;
  }
  .wh-priority-row{
    grid-template-columns:auto minmax(0,1fr) auto!important;
  }
  .wh-priority-row-meta{display:none!important}
  .wh-priority-row .wh-btn{
    grid-column:2/4!important;
    width:100%!important;
  }
  .wh-dashboard-bento-secondary .wh-panel{
    min-height:0!important;
  }

  .whyhab-platform .wh-mobile-nav{
    height:auto!important;
    border-radius:20px!important;
    bottom:7px!important;
    background:rgba(255,255,255,.98)!important;
  }
  .whyhab-platform .wh-mobile-nav a{
    min-height:52px!important;
  }
  .whyhab-platform .wh-mobile-nav a span{
    width:28px!important;height:24px!important;
    display:grid!important;place-items:center!important;
    border-radius:8px!important;
  }
  .whyhab-platform .wh-mobile-nav a.is-active span{
    background:#e9f2ff!important;
  }
}

/* Control Room desktop feels like SaaS rather than wp-admin */
.wp-admin .wh-cr{
  max-width:none!important;
  margin-right:18px!important;
}
.wp-admin .wh-cr .wh-cr-stats{
  gap:10px!important;
}
.wp-admin .wh-cr .wh-cr-stat{
  min-height:118px!important;
  padding:16px!important;
}
.wp-admin .wh-cr .wh-cr-stat strong{
  font-size:28px!important;
}


/* ========================================================================
   WHYHAB v1.9.2 — CONTROL ROOM FRONT-END
   ======================================================================== */
body.whyhab-platform:has(.wh-cr-front-shell){
  background:#edf2f7!important;
  overflow-x:hidden!important;
}
body.whyhab-platform:has(.wh-cr-front-shell) .wh-template-main{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
}

/* LOGIN */
.wh-cr-login-shell{
  min-height:100dvh;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(390px,.65fr);
  background:#f5f8fc;
}
.wh-cr-login-visual{
  min-height:100dvh;
  padding:52px clamp(36px,7vw,100px);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:
    radial-gradient(circle at 72% 20%,rgba(47,126,255,.28),transparent 28%),
    radial-gradient(circle at 15% 82%,rgba(42,108,211,.17),transparent 25%),
    linear-gradient(145deg,#082c5c 0%,#0b3b78 56%,#092b57 100%);
  color:#fff;
}
.wh-cr-login-brand{
  display:flex;align-items:center;gap:11px
}
.wh-cr-login-brand>span{
  width:42px;height:42px;display:grid;place-items:center;border-radius:12px;
  background:#1769ff;color:#fff;font-size:22px;box-shadow:0 9px 25px rgba(0,0,0,.18)
}
.wh-cr-login-brand>div{display:grid}
.wh-cr-login-brand strong{font-size:21px;letter-spacing:.01em}
.wh-cr-login-brand small{font-size:8px;letter-spacing:.12em;color:#a9c7ef}
.wh-cr-login-copy{max-width:660px;padding-bottom:6vh}
.wh-cr-login-copy>small{
  display:inline-block;margin-bottom:12px;padding:6px 9px;border-radius:999px;
  background:rgba(255,255,255,.10);font-size:8px;font-weight:900;letter-spacing:.1em;color:#cfe0f8
}
.wh-cr-login-copy h1{
  margin:0;font-size:clamp(38px,5vw,67px);line-height:1.02;letter-spacing:-.045em;color:#fff
}
.wh-cr-login-copy p{
  max-width:570px;margin:20px 0 0;font-size:15px;line-height:1.65;color:#c5d8f0
}
.wh-cr-login-card{
  width:min(430px,calc(100% - 42px));
  align-self:center;justify-self:center;
  padding:30px;
  border:1px solid #e0e7ef;border-radius:20px;background:#fff;
  box-shadow:0 20px 55px rgba(19,44,73,.12)
}
.wh-cr-login-card h1,.wh-cr-login-card h2{
  margin:0;color:#15314d;font-size:27px;letter-spacing:-.025em
}
.wh-cr-login-card>p{
  margin:7px 0 20px;color:#78899a;font-size:11px;line-height:1.5
}
.wh-cr-login-mobile-brand{display:none}
.wh-cr-login-form{display:grid;gap:14px}
.wh-cr-login-form>label:not(.wh-check){
  display:grid;gap:6px;font-size:10px;font-weight:800;color:#465d73
}
.wh-cr-login-form input[type=text],
.wh-cr-login-form input[type=password]{
  min-height:46px;padding:0 12px;border:1px solid #d6e0ea;border-radius:10px;background:#fff;
  color:#17324f;font-size:13px
}
.wh-cr-login-form input:focus{
  outline:0;border-color:#84afff;box-shadow:0 0 0 3px rgba(23,105,255,.09)
}
.wh-cr-forgot{
  display:block;margin-top:15px;text-align:center;color:#1769ff;font-size:9px;font-weight:750;text-decoration:none
}

/* CONTROL ROOM APP SHELL */
.wh-cr-front-shell{
  min-height:100dvh;
  display:grid;
  grid-template-columns:268px minmax(0,1fr);
  background:#f4f7fb;
  color:#17324f;
}
.wh-cr-front-sidebar{
  position:sticky;top:0;height:100dvh;overflow-y:auto;
  display:flex;flex-direction:column;
  padding:22px 14px 15px;
  background:
    radial-gradient(circle at 35% 5%,rgba(43,119,255,.22),transparent 24%),
    linear-gradient(180deg,#082e61 0%,#06254e 100%);
  color:#fff
}
.wh-cr-front-brand{
  display:flex;align-items:center;gap:10px;margin:2px 6px 22px;color:#fff!important;text-decoration:none!important
}
.wh-cr-front-brand>span{
  width:39px;height:39px;display:grid;place-items:center;border-radius:11px;
  background:#1769ff;font-size:20px;box-shadow:0 7px 20px rgba(0,0,0,.17)
}
.wh-cr-front-brand>div{display:grid}
.wh-cr-front-brand strong{font-size:19px}
.wh-cr-front-brand small{font-size:7px;letter-spacing:.11em;color:#9ebbe2}
.wh-cr-front-nav{min-height:0;flex:1}
.wh-cr-front-nav .wh-cr-nav-groups{
  display:grid!important;gap:12px!important;margin:0!important
}
.wh-cr-front-nav .wh-cr-nav-group{
  padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important
}
.wh-cr-front-nav .wh-cr-nav-group-title{
  display:flex!important;align-items:center!important;gap:6px!important;
  margin:0 9px 6px!important;color:#789bc8!important
}
.wh-cr-front-nav .wh-cr-nav-group-title span{font-size:10px!important}
.wh-cr-front-nav .wh-cr-nav-group-title strong{
  font-size:8px!important;letter-spacing:.08em!important;text-transform:uppercase!important
}
.wh-cr-front-nav .wh-cr-nav-group-links{
  display:grid!important;gap:3px!important
}
.wh-cr-front-nav .wh-cr-nav-group-links>a{
  min-height:39px!important;
  display:flex!important;align-items:center!important;gap:9px!important;
  padding:0 11px!important;border-radius:9px!important;
  color:#d9e7f8!important;text-decoration:none!important;
  border:1px solid transparent!important;background:transparent!important;
  font-size:10px!important;font-weight:700!important
}
.wh-cr-front-nav .wh-cr-nav-group-links>a:hover{
  color:#fff!important;background:rgba(255,255,255,.07)!important
}
.wh-cr-front-nav .wh-cr-nav-group-links>a.is-active{
  color:#fff!important;background:linear-gradient(135deg,#2475fa,#1762e8)!important;
  border-color:rgba(255,255,255,.12)!important;box-shadow:0 6px 15px rgba(0,15,42,.2)!important
}
.wh-cr-front-nav .wh-cr-nav-icon{
  width:20px!important;text-align:center!important;font-size:12px!important
}
.wh-cr-front-nav .wh-cr-nav-label{font-size:10px!important}
.wh-cr-front-nav .wh-cr-ticket-counter-dots{margin-left:auto!important}
.wh-cr-front-sidebar-foot{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;
  margin-top:16px;padding:12px 8px 4px;border-top:1px solid rgba(255,255,255,.09)
}
.wh-cr-front-avatar{
  width:34px;height:34px;display:grid;place-items:center;border-radius:50%;
  background:#eaf2ff;color:#145fcf;border:1px solid #cfe0f8;font-size:10px;font-weight:900
}
.wh-cr-front-sidebar-foot>div{display:grid;min-width:0}
.wh-cr-front-sidebar-foot strong{
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:9px
}
.wh-cr-front-sidebar-foot small{color:#84a6d2;font-size:7px}
.wh-cr-front-sidebar-foot>a{color:#b9cce7;text-decoration:none;font-size:16px}

.wh-cr-front-main{min-width:0;padding:0 30px 38px}
.wh-cr-front-topbar{
  min-height:88px;
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  border-bottom:1px solid #dfe7ef
}
.wh-cr-front-topbar>div:first-child{display:grid;gap:2px}
.wh-cr-front-topbar small{font-size:7px;font-weight:850;letter-spacing:.08em;color:#7890a7}
.wh-cr-front-topbar h1{margin:0;font-size:25px;letter-spacing:-.025em;color:#15314d}
.wh-cr-front-top-actions{display:flex;align-items:center;gap:10px}
.wh-cr-front-site-link{
  padding:8px 10px;border:1px solid #d8e2ec;border-radius:9px;background:#fff;
  color:#315b7e!important;text-decoration:none!important;font-size:8px;font-weight:800
}
.wh-cr-front-content{padding-top:18px}
.wh-cr-front-content>.wh-cr-section-head:first-child{margin-top:0!important}

/* Normalizza componenti wp-admin nella versione front-end */
.wh-cr-front-shell .notice{
  margin:0 0 12px!important;padding:10px 12px!important;border:1px solid #d9e4ed!important;
  border-left:4px solid #1769ff!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important
}
.wh-cr-front-shell .notice-success{border-left-color:#15945f!important}
.wh-cr-front-shell .notice-error{border-left-color:#cf4b4b!important}
.wh-cr-front-shell .notice p{margin:0!important;font-size:10px!important}
.wh-cr-front-shell .button{
  min-height:36px!important;padding:0 12px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border:1px solid #ccd9e5!important;border-radius:8px!important;background:#fff!important;
  color:#31536f!important;font-size:9px!important;font-weight:800!important;text-decoration:none!important;cursor:pointer!important
}
.wh-cr-front-shell .button-primary{
  background:#1769ff!important;border-color:#1769ff!important;color:#fff!important
}
.wh-cr-front-shell input:not([type=checkbox]):not([type=radio]),
.wh-cr-front-shell select,
.wh-cr-front-shell textarea{
  min-height:40px;border:1px solid #d8e2ec;border-radius:9px;padding:6px 9px;background:#fff;color:#17324f
}
.wh-cr-front-shell label{font-size:9px;color:#4e6579;font-weight:700}

/* OPERATORI */
.wh-cr-operators-layout{
  display:grid;grid-template-columns:minmax(300px,.7fr) minmax(0,1.3fr);gap:13px;align-items:start
}
.wh-cr-operator-form{display:grid;gap:11px}
.wh-cr-operator-form label{display:grid;gap:5px}
.wh-cr-operator-form label small{font-size:7px;font-weight:500;color:#8794a2}
.wh-cr-operator-list{display:grid;gap:7px}
.wh-cr-operator-list article{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:10px;align-items:center;
  padding:10px;border:1px solid #e3eaf0;border-radius:10px;background:#fbfdff
}
.wh-cr-operator-avatar{
  width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#e9f2ff;color:#145fcf;font-weight:900
}
.wh-cr-operator-list article>div:nth-child(2){display:grid;gap:1px;min-width:0}
.wh-cr-operator-list article strong{font-size:9px;color:#193650}
.wh-cr-operator-list article span{font-size:8px;color:#6f8293;overflow:hidden;text-overflow:ellipsis}
.wh-cr-operator-list article small{font-size:7px;color:#95a0aa}
.wh-cr-operator-status{
  padding:4px 7px;border-radius:999px;font-size:7px!important;font-weight:850!important
}
.wh-cr-operator-status.is-active{background:#eaf8f0;color:#26744a}
.wh-cr-operator-status.is-off{background:#f1f3f5;color:#788590}

/* CR mobile navigation from existing engine */
.wh-cr-front-shell .wh-cr-mobile-nav,
.wh-cr-front-shell .wh-cr-mobile-sheet{display:none}

@media(max-width:900px){
  .wh-cr-login-shell{grid-template-columns:1fr}
  .wh-cr-login-visual{display:none}
  .wh-cr-login-card{
    align-self:center;width:min(430px,calc(100% - 26px));padding:23px
  }
  .wh-cr-login-mobile-brand{
    display:grid;gap:0;margin-bottom:23px;text-align:center;color:#0b3a73
  }
  .wh-cr-login-mobile-brand strong{font-size:18px}
  .wh-cr-login-mobile-brand small{font-size:7px;letter-spacing:.1em;color:#7e91a4}

  .wh-cr-front-shell{
    display:block;min-height:100dvh;padding-bottom:80px
  }
  .wh-cr-front-sidebar{
    position:static;height:auto;min-height:0;padding:0;background:transparent;overflow:visible
  }
  .wh-cr-front-brand,
  .wh-cr-front-nav>.wh-cr-nav-groups,
  .wh-cr-front-sidebar-foot{display:none!important}
  .wh-cr-front-main{padding:0 10px 20px}
  .wh-cr-front-topbar{
    position:sticky;top:0;z-index:80;
    min-height:72px;margin:0 -10px;padding:10px 12px;
    background:rgba(255,255,255,.97);backdrop-filter:blur(15px);
    box-shadow:0 4px 14px rgba(16,35,63,.04)
  }
  .wh-cr-front-topbar small{font-size:6px}
  .wh-cr-front-topbar h1{font-size:18px}
  .wh-cr-front-site-link{display:none}
  .wh-cr-front-content{padding-top:10px}

  .wh-cr-front-shell .wh-cr-mobile-nav{
    position:fixed!important;z-index:1000!important;
    left:50%!important;bottom:7px!important;transform:translateX(-50%)!important;
    width:min(570px,calc(100% - 12px))!important;
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:3px!important;padding:7px!important;
    border:1px solid #dce5ed!important;border-radius:18px!important;
    background:rgba(255,255,255,.98)!important;backdrop-filter:blur(16px)!important;
    box-shadow:0 12px 35px rgba(16,35,63,.16)!important
  }
  .wh-cr-front-shell .wh-cr-mobile-nav>a,
  .wh-cr-front-shell .wh-cr-mobile-nav>button{
    min-height:50px!important;display:grid!important;place-items:center!important;align-content:center!important;
    gap:1px!important;border:0!important;border-radius:10px!important;background:transparent!important;
    color:#718397!important;text-decoration:none!important
  }
  .wh-cr-front-shell .wh-cr-mobile-nav .is-active{background:#edf4ff!important;color:#1769ff!important}
  .wh-cr-front-shell .wh-cr-mobile-nav span{font-size:16px!important}
  .wh-cr-front-shell .wh-cr-mobile-nav small{font-size:6px!important;font-weight:800!important}

  .wh-cr-front-shell .wh-cr-mobile-sheet:not([hidden]){display:block!important}
  .wh-cr-front-shell .wh-cr-mobile-sheet{
    position:fixed!important;inset:0!important;z-index:1100!important
  }
  .wh-cr-front-shell .wh-cr-mobile-sheet-backdrop{
    position:absolute!important;inset:0!important;border:0!important;background:rgba(8,24,43,.45)!important
  }
  .wh-cr-front-shell .wh-cr-mobile-sheet>section{
    position:absolute!important;left:8px!important;right:8px!important;bottom:8px!important;
    max-height:78dvh!important;overflow:auto!important;padding:14px!important;
    border-radius:18px!important;background:#fff!important;box-shadow:0 18px 50px rgba(0,0,0,.2)!important
  }
  .wh-cr-front-shell .wh-cr-mobile-sheet-head{
    display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:11px!important
  }
  .wh-cr-front-shell .wh-cr-mobile-sheet-head>div{display:grid!important}
  .wh-cr-front-shell .wh-cr-mobile-sheet-head strong{font-size:13px!important;color:#17324f!important}
  .wh-cr-front-shell .wh-cr-mobile-sheet-head span{font-size:8px!important;color:#8795a3!important}
  .wh-cr-front-shell .wh-cr-mobile-sheet-head button{
    width:34px!important;height:34px!important;border:0!important;border-radius:9px!important;background:#f0f4f7!important
  }
  .wh-cr-front-shell .wh-cr-mobile-sheet-group{display:grid!important;gap:4px!important;margin-top:10px!important}
  .wh-cr-front-shell .wh-cr-mobile-sheet-group>small{
    margin:3px 7px!important;font-size:7px!important;font-weight:850!important;letter-spacing:.07em!important;color:#8b98a7!important
  }
  .wh-cr-front-shell .wh-cr-mobile-sheet-group>a{
    min-height:42px!important;display:flex!important;align-items:center!important;gap:9px!important;
    padding:0 10px!important;border-radius:9px!important;background:#f8fafc!important;color:#294961!important;text-decoration:none!important
  }
  .wh-cr-front-shell .wh-cr-mobile-sheet-group>a.is-active{background:#eaf2ff!important;color:#1769ff!important}

  .wh-cr-operators-layout{grid-template-columns:1fr}
  .wh-cr-operator-list article{grid-template-columns:auto minmax(0,1fr) auto}
  .wh-cr-operator-list article form{grid-column:2/4}
  .wh-cr-operator-list article form .button{width:100%!important}
}

@media(max-width:520px){
  .wh-cr-front-content .wh-cr-stats,
  .wh-cr-front-content .wh-cr-kpi-row,
  .wh-cr-front-content .wh-cr-v150-network-kpis,
  .wh-cr-front-content .wh-condo-cr-kpis,
  .wh-cr-front-content .wh-condo-cr-summary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important
  }
  .wh-cr-front-content .wh-cr-dashboard-grid{
    grid-template-columns:1fr!important
  }
}


/* ========================================================================
   WHYHAB v1.9.3 — LOGOUT UNIVERSALE + CONTROL ROOM OPERATOR POLISH
   ======================================================================== */
.wh-top-actions{
  display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto
}
.wh-ui-logout{
  min-height:38px;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  padding:0 11px;border:1px solid #dce4ec;border-radius:10px;
  background:#fff;color:#5d7186!important;text-decoration:none!important;
  font-size:9px;font-weight:850;box-shadow:0 3px 10px rgba(16,35,63,.03)
}
.wh-ui-logout:hover{border-color:#f0c9c9;background:#fff7f7;color:#a94646!important}
.wh-ui-logout span{font-size:13px}

/* Front-end Control Room: più compatta e coerente con la schermata reale */
.wh-cr-front-shell .wh-cr-front-main{
  background:
    radial-gradient(circle at 91% 1%,rgba(23,105,255,.055),transparent 20%),
    #f5f8fc
}
.wh-cr-front-shell .wh-cr-front-content{
  max-width:1500px;
  margin:0 auto;
  width:100%;
}
.wh-cr-front-shell .wh-cr-section-head{
  min-height:58px;
  display:flex;align-items:flex-end;justify-content:space-between;
  margin:0 0 12px!important
}
.wh-cr-front-shell .wh-cr-section-head h2{
  margin:0!important;font-size:20px!important;letter-spacing:-.02em!important;color:#15314d!important
}
.wh-cr-front-shell .wh-cr-section-head p{
  margin:4px 0 0!important;color:#7d8d9d!important;font-size:9px!important
}
.wh-cr-front-shell .wh-cr-panel{
  padding:15px!important;
  border:1px solid #e0e7ee!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 7px 22px rgba(16,35,63,.045)!important
}
.wh-cr-front-shell .wh-cr-panel-head{
  display:flex!important;align-items:flex-start!important;justify-content:space-between!important;
  gap:12px!important;margin-bottom:11px!important
}
.wh-cr-front-shell .wh-cr-panel-head h2{margin:0!important;font-size:14px!important;color:#17324f!important}
.wh-cr-front-shell .wh-cr-panel-head p{margin:3px 0 0!important;font-size:8px!important;color:#83909e!important}

/* Dashboard KPI */
.wh-cr-front-shell .wh-cr-stats,
.wh-cr-front-shell .wh-cr-kpi-row,
.wh-cr-front-shell .wh-cr-v150-network-kpis,
.wh-cr-front-shell .wh-condo-cr-kpis{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:9px!important
}
.wh-cr-front-shell .wh-cr-stat,
.wh-cr-front-shell .wh-cr-kpi-row>div,
.wh-cr-front-shell .wh-cr-v150-network-kpis>div{
  min-width:0!important;
  min-height:102px!important;
  padding:14px!important;
  align-content:center!important;
  border:1px solid #e1e8ef!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:0 5px 16px rgba(16,35,63,.035)!important
}
.wh-cr-front-shell .wh-cr-stat strong,
.wh-cr-front-shell .wh-cr-kpi-row strong,
.wh-cr-front-shell .wh-cr-v150-network-kpis strong{
  font-size:26px!important;color:#153653!important
}
.wh-cr-front-shell .wh-cr-stat span,
.wh-cr-front-shell .wh-cr-kpi-row span,
.wh-cr-front-shell .wh-cr-v150-network-kpis span{
  font-size:8px!important;line-height:1.35!important;color:#718397!important
}
.wh-cr-front-shell .wh-cr-dashboard-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important
}

/* Filtri e liste */
.wh-cr-front-shell .wh-cr-filters{
  display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;
  margin:0 0 11px!important;padding:9px!important;
  border:1px solid #e1e8ef!important;border-radius:12px!important;background:#fff!important
}
.wh-cr-front-shell .wh-cr-search{min-width:220px!important;flex:1!important}
.wh-cr-front-shell .wh-cr-filters select{min-width:135px!important}
.wh-cr-front-shell .wh-cr-ticket-list,
.wh-cr-front-shell .wh-cr-network-grid{gap:9px!important}
.wh-cr-front-shell .wh-cr-ticket-card,
.wh-cr-front-shell .wh-cr-network-card{
  border:1px solid #e1e8ef!important;border-radius:13px!important;background:#fff!important;
  box-shadow:0 5px 17px rgba(16,35,63,.035)!important
}

/* Header operatore */
.wh-cr-front-role-badge{
  min-height:31px;padding:0 9px;display:inline-flex;align-items:center;
  border-radius:999px;background:#edf4ff;color:#1769ff;font-size:7px;font-weight:900;letter-spacing:.035em
}
.wh-cr-front-logout{
  min-height:34px;padding:0 10px;display:inline-flex;align-items:center;gap:5px;
  border:1px solid #e3dede;border-radius:9px;background:#fff;color:#8a5555!important;
  font-size:8px;font-weight:850;text-decoration:none!important
}
.wh-cr-front-logout:hover{background:#fff5f5;border-color:#efcaca;color:#a73f3f!important}

/* Operatori: form più leggibile */
.wh-cr-operators-layout .wh-cr-panel:first-child{
  position:sticky;top:104px
}
.wh-cr-operator-form .wh-grid-2{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important
}
.wh-cr-operator-form input{
  width:100%!important;box-sizing:border-box!important
}
.wh-cr-operator-list article{
  transition:.15s ease
}
.wh-cr-operator-list article:hover{
  border-color:#cfddea;background:#f7fbff
}

/* Mobile */
@media(max-width:860px){
  .whyhab-platform .wh-top-actions{gap:3px}
  .whyhab-platform .wh-ui-user-chip{display:none!important}
  .whyhab-platform .wh-ui-logout{
    width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;
    border-radius:10px!important
  }
  .whyhab-platform .wh-ui-logout b{display:none!important}

  .wh-cr-front-role-badge,.wh-cr-front-site-link{display:none!important}
  .wh-cr-front-logout{
    width:36px;height:36px;min-height:36px;padding:0;justify-content:center
  }
  .wh-cr-front-logout b{display:none}
  .wh-cr-front-shell .wh-cr-stats,
  .wh-cr-front-shell .wh-cr-kpi-row,
  .wh-cr-front-shell .wh-cr-v150-network-kpis,
  .wh-cr-front-shell .wh-condo-cr-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important
  }
  .wh-cr-front-shell .wh-cr-dashboard-grid{grid-template-columns:1fr!important}
  .wh-cr-front-shell .wh-cr-filters{
    display:grid!important;grid-template-columns:1fr 1fr!important
  }
  .wh-cr-front-shell .wh-cr-search{
    min-width:0!important;grid-column:1/-1!important;width:100%!important
  }
  .wh-cr-front-shell .wh-cr-filters select,
  .wh-cr-front-shell .wh-cr-filters .button{
    width:100%!important;min-width:0!important
  }
  .wh-cr-operators-layout .wh-cr-panel:first-child{position:static}
  .wh-cr-operator-form .wh-grid-2{grid-template-columns:1fr!important}
}

@media(max-width:430px){
  .wh-cr-front-shell .wh-cr-filters{grid-template-columns:1fr!important}
  .wh-cr-front-shell .wh-cr-search{grid-column:auto!important}
}


/* ========================================================================
   WHYHAB v1.9.4 — CONTROL ROOM VISUAL REBUILD
   Non cambia la logica: migliora solo vestito, gerarchia e percezione app.
   ======================================================================== */
.wh-cr-front-shell{
  --cr-bg:#f4f7fb;
  --cr-surface:#ffffff;
  --cr-border:#dde5ef;
  --cr-ink:#13283f;
  --cr-muted:#698097;
  --cr-primary:#1769ff;
  --cr-primary-soft:#edf4ff;
  --cr-shadow:0 14px 36px rgba(19,40,63,.08);
}
.wh-cr-front-shell .wh-cr-front-sidebar{
  width:300px!important;min-width:300px!important;
  padding:18px 16px 16px!important;
  background:linear-gradient(180deg,#10346a 0%,#0c2650 100%)!important;
  border-right:none!important;
  box-shadow:8px 0 24px rgba(8,23,46,.18)!important;
}
.wh-cr-front-shell .wh-cr-front-brand{
  display:flex!important;gap:12px!important;align-items:center!important;
  padding:12px 12px 14px!important;margin:0 0 14px!important;
  border-radius:18px!important;background:rgba(255,255,255,.08)!important;color:#fff!important
}
.wh-cr-front-shell .wh-cr-front-brand span{
  width:44px!important;height:44px!important;border-radius:14px!important;
  background:rgba(255,255,255,.14)!important;display:flex!important;align-items:center!important;justify-content:center!important;
  font-size:18px!important
}
.wh-cr-front-shell .wh-cr-front-brand strong{font-size:18px!important;letter-spacing:-.02em!important}
.wh-cr-front-shell .wh-cr-front-brand small{font-size:10px!important;opacity:.75!important;letter-spacing:.12em!important}
.wh-cr-front-shell .wh-cr-front-nav{display:flex!important;flex-direction:column!important;gap:12px!important}
.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group{padding:0!important;border:none!important;background:transparent!important}
.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-title{margin:0 0 8px!important;padding:0 10px!important;color:rgba(255,255,255,.62)!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.09em!important}
.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-title span{display:none!important}
.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-links{display:flex!important;flex-direction:column!important;gap:7px!important}
.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-links a{
  min-height:52px!important;display:flex!important;align-items:center!important;gap:12px!important;
  padding:10px 12px!important;border-radius:16px!important;text-decoration:none!important;
  color:rgba(255,255,255,.92)!important;background:rgba(255,255,255,.03)!important;border:1px solid rgba(255,255,255,.07)!important;
  transition:.18s ease
}
.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-links a:hover{background:rgba(255,255,255,.08)!important;transform:translateX(2px)}
.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-links a.is-active{
  background:linear-gradient(180deg,rgba(23,105,255,.28),rgba(23,105,255,.13))!important;
  border-color:rgba(113,171,255,.5)!important;box-shadow:0 8px 20px rgba(0,0,0,.18)!important
}
.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-icon{
  width:34px!important;height:34px!important;border-radius:12px!important;flex:0 0 34px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:rgba(255,255,255,.12)!important;color:#fff!important;font-size:15px!important
}
.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-copy{display:flex!important;flex-direction:column!important;min-width:0!important}
.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-copy b{font-size:15px!important;line-height:1.05!important;color:#fff!important}
.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-copy small{margin-top:3px!important;font-size:11px!important;line-height:1.25!important;color:rgba(255,255,255,.68)!important}
.wh-cr-front-shell .wh-cr-front-sidebar-foot{
  margin-top:auto!important;padding:12px!important;border-radius:18px!important;
  background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.08)!important;color:#fff!important
}
.wh-cr-front-shell .wh-cr-front-sidebar-foot a{color:#fff!important}
.wh-cr-front-shell .wh-cr-front-main{padding:24px 24px 28px!important;background:radial-gradient(circle at top right,rgba(23,105,255,.08),transparent 22%),#f4f7fb!important}
.wh-cr-front-shell .wh-cr-front-topbar{
  background:#fff!important;border:1px solid var(--cr-border)!important;border-radius:22px!important;
  padding:16px 18px!important;box-shadow:var(--cr-shadow)!important;margin-bottom:18px!important
}
.wh-cr-front-shell .wh-cr-front-topbar small{font-size:11px!important;letter-spacing:.14em!important;color:#8a9aad!important}
.wh-cr-front-shell .wh-cr-front-topbar h1{font-size:34px!important;letter-spacing:-.04em!important;color:var(--cr-ink)!important;margin-top:4px!important}
.wh-cr-front-shell .wh-cr-front-top-actions{gap:8px!important}
.wh-cr-front-shell .wh-cr-front-avatar{width:40px!important;height:40px!important;border-radius:14px!important;background:#edf4ff!important;color:#1769ff!important;font-weight:900!important}
.wh-cr-front-shell .wh-cr-front-content{max-width:none!important}
.wh-cr-front-shell .wh-cr-panel{border-radius:22px!important;padding:18px!important;background:#fff!important;border:1px solid var(--cr-border)!important;box-shadow:var(--cr-shadow)!important}
.wh-cr-front-shell .wh-cr-panel-head{margin-bottom:14px!important}
.wh-cr-front-shell .wh-cr-panel-head h2{font-size:28px!important;letter-spacing:-.03em!important}
.wh-cr-front-shell .wh-cr-panel-head p{font-size:13px!important;color:#6f8192!important}
.wh-cr-front-shell .wh-cr-v194-head{margin-bottom:14px!important}
.wh-cr-front-shell .wh-cr-v194-head h2{font-size:40px!important;letter-spacing:-.05em!important}
.wh-cr-front-shell .wh-cr-v194-head p{font-size:16px!important;color:#71869b!important}
.wh-cr-front-shell .wh-cr-v194-main-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin-bottom:14px!important}
.wh-cr-front-shell .wh-cr-v194-kpi{
  display:flex!important;flex-direction:column!important;justify-content:space-between!important;gap:10px!important;min-height:142px!important;
  padding:20px!important;border-radius:22px!important;text-decoration:none!important;background:#fff!important;border:1px solid var(--cr-border)!important;box-shadow:var(--cr-shadow)!important
}
.wh-cr-front-shell .wh-cr-v194-kpi small{font-size:13px!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.05em!important;color:#5d7388!important}
.wh-cr-front-shell .wh-cr-v194-kpi strong{font-size:44px!important;line-height:1!important;color:#14304a!important;letter-spacing:-.05em!important}
.wh-cr-front-shell .wh-cr-v194-kpi span{font-size:14px!important;line-height:1.35!important;color:#6d8196!important}
.wh-cr-front-shell .wh-cr-v194-kpi.wh-tone-warm{background:linear-gradient(180deg,#fff7ea 0%,#fff 100%)!important;border-color:#f2d39f!important}
.wh-cr-front-shell .wh-cr-v194-kpi.wh-tone-blue{background:linear-gradient(180deg,#eef5ff 0%,#fff 100%)!important;border-color:#cfe0fb!important}
.wh-cr-front-shell .wh-cr-v194-kpi.wh-tone-green{background:linear-gradient(180deg,#edf9f2 0%,#fff 100%)!important;border-color:#cdebd6!important}
.wh-cr-front-shell .wh-cr-v194-kpi.wh-tone-violet{background:linear-gradient(180deg,#f3efff 0%,#fff 100%)!important;border-color:#ddd1ff!important}
.wh-cr-front-shell .wh-cr-v194-focus{margin-bottom:14px!important}
.wh-cr-front-shell .wh-cr-v194-focus-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.wh-cr-front-shell .wh-cr-v194-focus-list a{
  min-height:84px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
  padding:16px 18px!important;border-radius:18px!important;background:#f8fbff!important;border:1px solid #dce8f4!important;text-decoration:none!important;color:#16324d!important
}
.wh-cr-front-shell .wh-cr-v194-focus-list a strong{display:block!important;font-size:32px!important;letter-spacing:-.04em!important}
.wh-cr-front-shell .wh-cr-v194-focus-list a span{display:block!important;margin-top:4px!important;font-size:14px!important;color:#6c8094!important}
.wh-cr-front-shell .wh-cr-v194-focus-list a em{font-style:normal!important;font-weight:800!important;color:#1769ff!important;white-space:nowrap!important}
.wh-cr-front-shell .wh-cr-v194-network-shell{margin-bottom:14px!important}
.wh-cr-front-shell .wh-cr-v194-network-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important}
.wh-cr-front-shell .wh-cr-v194-network-item{
  min-height:112px!important;padding:16px!important;border-radius:18px!important;text-decoration:none!important;
  border:1px solid #e3eaf2!important;background:#f9fbfd!important;color:#152f49!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important
}
.wh-cr-front-shell .wh-cr-v194-network-item span{width:28px!important;height:28px!important;border-radius:10px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#eaf2ff!important;color:#1769ff!important;font-size:14px!important;font-weight:900!important}
.wh-cr-front-shell .wh-cr-v194-network-item strong{font-size:34px!important;line-height:1!important;letter-spacing:-.05em!important;color:#102b45!important}
.wh-cr-front-shell .wh-cr-v194-network-item small{font-size:13px!important;line-height:1.3!important;color:#6a7d90!important}
.wh-cr-front-shell .wh-cr-v194-bottom{display:grid!important;grid-template-columns:1.25fr .85fr!important;gap:14px!important}
.wh-cr-front-shell .wh-cr-mini-list{display:flex!important;flex-direction:column!important;gap:10px!important}
.wh-cr-front-shell .wh-cr-mini-item{padding:14px!important;border:1px solid #e2e8f0!important;border-radius:18px!important;background:#f9fbfd!important}
.wh-cr-front-shell .wh-cr-mini-item strong{font-size:18px!important;color:#17314d!important}
.wh-cr-front-shell .wh-cr-mini-item span{font-size:13px!important;color:#6e8297!important}
.wh-cr-front-shell .wh-cr-v194-network-now{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.wh-cr-front-shell .wh-cr-v194-network-now>div{min-height:120px!important;padding:18px!important;border:1px solid #e1e8f0!important;border-radius:18px!important;background:#f9fbfd!important}
.wh-cr-front-shell .wh-cr-v194-network-now strong{font-size:36px!important;letter-spacing:-.05em!important;color:#13304a!important}
.wh-cr-front-shell .wh-cr-v194-network-now span{font-size:14px!important;color:#6f8294!important}
.wh-cr-front-shell .wh-cr-empty{min-height:150px!important;border-radius:18px!important;background:#f9fbfd!important;border:1px dashed #cfd9e5!important}
.wh-cr-front-shell .wh-cr-empty strong{font-size:20px!important;color:#15324d!important}

/* mobile / tablet */
@media(max-width:1180px){
  .wh-cr-front-shell .wh-cr-v194-main-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .wh-cr-front-shell .wh-cr-v194-network-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .wh-cr-front-shell .wh-cr-v194-bottom{grid-template-columns:1fr!important}
}
@media(max-width:940px){
  .wh-cr-front-shell .wh-cr-front-sidebar{width:100%!important;min-width:0!important;padding:14px!important}
  .wh-cr-front-shell .wh-cr-front-main{padding:16px!important}
  .wh-cr-front-shell .wh-cr-front-topbar{border-radius:18px!important;padding:14px!important}
  .wh-cr-front-shell .wh-cr-front-topbar h1{font-size:28px!important}
}
@media(max-width:760px){
  .wh-cr-front-shell .wh-cr-v194-head h2{font-size:32px!important}
  .wh-cr-front-shell .wh-cr-v194-head p{font-size:14px!important}
  .wh-cr-front-shell .wh-cr-v194-main-kpis{grid-template-columns:1fr!important}
  .wh-cr-front-shell .wh-cr-v194-kpi{min-height:120px!important}
  .wh-cr-front-shell .wh-cr-v194-kpi strong{font-size:38px!important}
  .wh-cr-front-shell .wh-cr-v194-focus-list{grid-template-columns:1fr!important}
  .wh-cr-front-shell .wh-cr-v194-network-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .wh-cr-front-shell .wh-cr-v194-network-item{min-height:96px!important}
  .wh-cr-front-shell .wh-cr-v194-network-now{grid-template-columns:1fr!important}
  .wh-cr-front-shell .wh-cr-panel-head h2{font-size:24px!important}
}
@media(max-width:520px){
  .wh-cr-front-shell .wh-cr-v194-network-grid{grid-template-columns:1fr!important}
  .wh-cr-front-shell .wh-cr-front-topbar h1{font-size:24px!important}
  .wh-cr-front-shell .wh-cr-panel{padding:14px!important;border-radius:18px!important}
  .wh-cr-front-shell .wh-cr-mini-item strong{font-size:16px!important}
  .wh-cr-front-shell .wh-cr-mobile-sheet-group a{align-items:flex-start!important}
  .wh-cr-front-shell .wh-cr-mobile-sheet-group a div{display:flex!important;flex-direction:column!important}
  .wh-cr-front-shell .wh-cr-mobile-sheet-group a small{color:#7e8fa0!important;font-size:11px!important}
}


/* ========================================================================
   WHYHAB v1.9.5 — CONTROL ROOM UNIFICATA ADMIN + OPERATORE
   Correzione strutturale: stessa shell grafica per wp-admin e accesso Control Room.
   ======================================================================== */
.wh-admin-wrap.wh-cr.wh-cr-front-shell{
  max-width:none!important;
  margin:18px 20px 34px 0!important;
  min-height:calc(100vh - 64px)!important;
  border-radius:28px!important;
  overflow:hidden!important;
  box-shadow:0 18px 48px rgba(19,40,63,.10)!important;
  background:#f4f7fb!important;
}
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-sidebar{
  position:relative!important;
  top:auto!important;
  height:auto!important;
  min-height:100%!important;
}
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-main{
  padding:0 24px 28px!important;
  min-width:0!important;
}
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content{
  padding-top:18px!important;
}
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-topbar{
  min-height:94px!important;
}
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-topbar h1{
  margin:0!important;
}
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-sidebar .wh-cr-mobile-nav,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-sidebar .wh-cr-mobile-sheet{display:none!important}

.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194{
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  width:100%!important;
  margin:0!important;
}
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group{
  padding:0!important;
  border:none!important;
  background:transparent!important;
}
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-links{
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
}
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-links a{
  min-height:54px!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:10px 12px!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.04)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  text-decoration:none!important;
  color:rgba(255,255,255,.93)!important;
}
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-links a:hover{
  background:rgba(255,255,255,.08)!important;
}
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-links a.is-active{
  background:linear-gradient(180deg,rgba(23,105,255,.28),rgba(23,105,255,.14))!important;
  border-color:rgba(125,177,255,.45)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.18)!important;
}
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-title{
  margin:0 0 8px!important;
  padding:0 10px!important;
  color:rgba(255,255,255,.62)!important;
}
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-title strong{
  font-size:11px!important;
  letter-spacing:.08em!important;
}
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-icon{
  width:34px!important;height:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;
  border-radius:12px!important;background:rgba(255,255,255,.12)!important;color:#fff!important;font-size:15px!important;flex:0 0 34px!important
}
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-copy{display:flex!important;flex-direction:column!important;min-width:0!important}
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-copy b{font-size:15px!important;line-height:1.08!important;color:#fff!important}
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-copy small{font-size:11px!important;line-height:1.25!important;color:rgba(255,255,255,.68)!important;margin-top:3px!important}
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-ticket-counter-dots.is-compact{margin-left:auto!important}

.wh-admin-wrap.wh-cr.wh-cr-front-shell .notice,
.wh-admin-wrap.wh-cr.wh-cr-front-shell div.notice,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .updated,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .error{margin:0 0 14px!important}

@media(max-width:1180px){
  .wh-admin-wrap.wh-cr.wh-cr-front-shell{grid-template-columns:280px minmax(0,1fr)!important}
}
@media(max-width:940px){
  .wh-admin-wrap.wh-cr.wh-cr-front-shell{
    margin:14px 14px 28px 0!important;
    grid-template-columns:1fr!important;
    border-radius:22px!important;
  }
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-sidebar{
    padding:14px!important;
  }
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-sidebar-foot{display:none!important}
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-sidebar .wh-cr-mobile-nav{display:grid!important}
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-main{padding:0 16px 22px!important}
}


/* ========================================================================
   WHYHAB v2.0.0 — DEFINITIVE PRODUCT UI
   Un unico linguaggio grafico per Cliente, Partner, Azienda, Tecnico,
   Amministratore, Condomino e Control Room.
   Motore / dati / workflow invariati.
   ======================================================================== */

:root{
  --wh2-navy:#0b2f5f;
  --wh2-navy-deep:#08264d;
  --wh2-blue:#1769ff;
  --wh2-blue-dark:#0f58d7;
  --wh2-cyan:#39a7ff;
  --wh2-bg:#f3f6fa;
  --wh2-surface:#ffffff;
  --wh2-surface-soft:#f8fafc;
  --wh2-border:#dfe7ef;
  --wh2-ink:#132a43;
  --wh2-muted:#718296;
  --wh2-green:#16955f;
  --wh2-orange:#e89117;
  --wh2-red:#cf4b4b;
  --wh2-purple:#7657d8;
  --wh2-radius:22px;
  --wh2-radius-sm:15px;
  --wh2-shadow:0 14px 38px rgba(20,43,70,.075);
  --wh2-shadow-soft:0 6px 20px rgba(20,43,70,.045);
}

/* ===== GLOBAL APP SHELL ===== */
body.whyhab-platform{
  background:var(--wh2-bg)!important;
}
body.whyhab-platform .wh-template-main{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
body.whyhab-platform .wh-app-v200{
  width:100%!important;
  max-width:none!important;
  min-height:100dvh!important;
  margin:0!important;
  display:grid!important;
  grid-template-columns:286px minmax(0,1fr)!important;
  background:var(--wh2-bg)!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.wh-app-v200 .wh-main{
  min-width:0!important;
  padding:0 32px 42px!important;
  background:
    radial-gradient(circle at 93% 2%,rgba(23,105,255,.06),transparent 22%),
    var(--wh2-bg)!important;
}
.wh-app-v200 .wh-app-content{
  width:min(1480px,100%)!important;
  margin:0 auto!important;
  display:grid!important;
  gap:14px!important;
}

/* ===== SIDEBAR ===== */
.wh-app-v200 .wh-sidebar{
  position:sticky!important;
  top:0!important;
  height:100dvh!important;
  overflow-y:auto!important;
  display:flex!important;
  flex-direction:column!important;
  padding:22px 17px 18px!important;
  background:
    radial-gradient(circle at 28% 4%,rgba(63,137,255,.22),transparent 23%),
    linear-gradient(180deg,var(--wh2-navy) 0%,var(--wh2-navy-deep) 100%)!important;
  border:0!important;
  box-shadow:10px 0 30px rgba(8,28,56,.12)!important;
}
.wh-app-v200 .wh-brand{
  margin:0 5px 20px!important;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  color:#fff!important;
  text-decoration:none!important;
}
.wh-app-v200 .wh-mark{
  width:42px!important;
  height:42px!important;
  flex:0 0 42px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:13px!important;
  background:linear-gradient(135deg,#2f7dff,#1462ed)!important;
  color:#fff!important;
  font-size:21px!important;
  box-shadow:0 9px 24px rgba(0,22,52,.22)!important;
}
.wh-app-v200 .wh-brand-copy{
  display:flex!important;
  flex-direction:column!important;
  gap:0!important;
}
.wh-app-v200 .wh-brand-copy strong{
  color:#fff!important;
  font-size:20px!important;
  letter-spacing:-.02em!important;
}
.wh-app-v200 .wh-brand-copy small{
  margin-top:1px!important;
  color:#9ebce6!important;
  font-size:7px!important;
  letter-spacing:.14em!important;
}
.wh-sidebar-context{
  margin:0 4px 17px!important;
  padding:12px 13px!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.055)!important;
  display:grid!important;
  gap:2px!important;
}
.wh-sidebar-context small{
  color:#89a9d3!important;
  font-size:7px!important;
  font-weight:850!important;
  letter-spacing:.11em!important;
}
.wh-sidebar-context strong{
  color:#fff!important;
  font-size:12px!important;
  letter-spacing:.01em!important;
}
.wh-app-v200 .wh-sidebar nav{
  flex:1!important;
  display:flex!important;
  flex-direction:column!important;
  gap:5px!important;
}
.wh-app-v200 .wh-nav-item{
  min-height:48px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  padding:0 12px!important;
  border:1px solid transparent!important;
  border-radius:13px!important;
  color:#dbe8f8!important;
  font-size:12px!important;
  font-weight:720!important;
  text-decoration:none!important;
  transition:.16s ease!important;
}
.wh-app-v200 .wh-nav-item:hover{
  background:rgba(255,255,255,.07)!important;
  color:#fff!important;
  transform:translateX(2px)!important;
}
.wh-app-v200 .wh-nav-item.is-active{
  background:linear-gradient(135deg,#2b79fb,#1764ea)!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.13)!important;
  box-shadow:0 9px 22px rgba(0,24,59,.20)!important;
}
.wh-app-v200 .wh-nav-symbol{
  width:27px!important;
  height:27px!important;
  flex:0 0 27px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:9px!important;
  background:rgba(255,255,255,.10)!important;
  color:#fff!important;
  font-size:12px!important;
}
.wh-app-v200 .wh-nav-primary .wh-nav-symbol{
  background:rgba(255,255,255,.16)!important;
}
.wh-app-v200 .wh-nav-profile{
  margin-top:7px!important;
  border-top:1px solid rgba(255,255,255,.06)!important;
}
.wh-app-v200 .wh-nav-logout{
  margin-top:auto!important;
  color:#abc1df!important;
}
.wh-app-v200 .wh-nav-logout:hover{
  color:#fff!important;
  background:rgba(207,75,75,.16)!important;
}

/* ===== HEADER ===== */
.wh-app-v200 .wh-top{
  width:min(1480px,100%)!important;
  min-height:110px!important;
  margin:0 auto 14px!important;
  padding:24px 0 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:20px!important;
  border-bottom:1px solid var(--wh2-border)!important;
}
.wh-app-v200 .wh-top-copy{
  min-width:0!important;
}
.wh-app-v200 .wh-page-eyebrow{
  display:block!important;
  margin-bottom:5px!important;
  color:#6f88a3!important;
  font-size:7px!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
}
.wh-app-v200 .wh-top h1{
  margin:0!important;
  color:var(--wh2-ink)!important;
  font-size:31px!important;
  line-height:1.06!important;
  letter-spacing:-.035em!important;
}
.wh-app-v200 .wh-top p{
  margin:6px 0 0!important;
  color:var(--wh2-muted)!important;
  font-size:12px!important;
}
.wh-app-v200 .wh-top-actions{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
.wh-app-v200 .wh-ui-user-chip{
  min-height:42px!important;
  padding:5px 10px 5px 5px!important;
  background:#fff!important;
  border:1px solid var(--wh2-border)!important;
  border-radius:13px!important;
  box-shadow:var(--wh2-shadow-soft)!important;
}
.wh-app-v200 .wh-ui-avatar{
  width:32px!important;
  height:32px!important;
  border-radius:10px!important;
}
.wh-app-v200 .wh-ui-user-chip strong{font-size:9px!important}
.wh-app-v200 .wh-ui-user-chip small{font-size:7px!important}
.wh-app-v200 .wh-ui-logout{
  min-height:42px!important;
  padding:0 12px!important;
  border:1px solid var(--wh2-border)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#6f7e8e!important;
  box-shadow:var(--wh2-shadow-soft)!important;
}
.wh-mobile-brand{display:none!important}

/* ===== COMMON SURFACES ===== */
.wh-app-v200 .wh-panel,
.wh-app-v200 .wh-customer-active-board,
.wh-app-v200 .wh-customer-focus-ticket,
.wh-app-v200 .wh-next-action,
.wh-app-v200 .wh-partner-availability-summary,
.wh-app-v200 .wh-condo-plan-strip,
.wh-app-v200 .wh-condo-current-plan,
.wh-app-v200 .wh-subscription-strip,
.wh-app-v200 .wh-property-card,
.wh-app-v200 .wh-ticket,
.wh-app-v200 .wh-ticket-index,
.wh-app-v200 .wh-condo-card,
.wh-app-v200 .wh-condo-home-offer{
  border:1px solid var(--wh2-border)!important;
  border-radius:var(--wh2-radius)!important;
  background:var(--wh2-surface)!important;
  box-shadow:var(--wh2-shadow-soft)!important;
}
.wh-app-v200 .wh-panel{
  padding:19px!important;
}
.wh-app-v200 .wh-panel-head{
  margin-bottom:14px!important;
  align-items:center!important;
}
.wh-app-v200 .wh-panel-head h2{
  margin:0!important;
  color:var(--wh2-ink)!important;
  font-size:20px!important;
  letter-spacing:-.025em!important;
}
.wh-app-v200 .wh-panel-head p{
  margin:4px 0 0!important;
  color:var(--wh2-muted)!important;
  font-size:10px!important;
}
.wh-app-v200 .wh-panel-head>a{
  color:var(--wh2-blue)!important;
  font-size:9px!important;
  font-weight:850!important;
}

/* ===== DASHBOARD INTRO ===== */
.wh-v200-dashboard-intro{
  min-height:178px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
  padding:25px 27px;
  border:1px solid #d6e4f2;
  border-radius:26px;
  background:
    radial-gradient(circle at 86% 12%,rgba(23,105,255,.13),transparent 23%),
    linear-gradient(125deg,#ffffff 0%,#f7fbff 100%);
  box-shadow:var(--wh2-shadow);
}
.wh-v200-dashboard-intro>div:first-child{max-width:780px}
.wh-v200-dashboard-intro small{
  color:#5e82aa;
  font-size:8px;
  font-weight:900;
  letter-spacing:.11em;
}
.wh-v200-dashboard-intro h2{
  margin:7px 0 8px;
  color:#122c46;
  font-size:31px;
  line-height:1.1;
  letter-spacing:-.035em;
}
.wh-v200-dashboard-intro p{
  margin:0;
  max-width:700px;
  color:#6e8195;
  font-size:12px;
  line-height:1.55;
}
.wh-v200-intro-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}

/* ===== KPI ===== */
.wh-v200-kpi-grid{
  display:grid;
  gap:10px;
}
.wh-v200-kpi-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.wh-v200-kpi-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.wh-v200-kpi-grid>div,
.wh-app-v200 .wh-simple-kpis>div{
  position:relative!important;
  min-height:96px!important;
  padding:15px 16px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:5px!important;
  border:1px solid var(--wh2-border)!important;
  border-radius:17px!important;
  background:#fff!important;
  box-shadow:var(--wh2-shadow-soft)!important;
  overflow:hidden!important;
}
.wh-v200-kpi-grid>div:before,
.wh-app-v200 .wh-simple-kpis>div:before{
  content:""!important;
  position:absolute!important;
  left:0!important;top:0!important;bottom:0!important;
  width:4px!important;
  background:#7790a8!important;
}
.wh-v200-kpi-grid>div.is-primary:before,
.wh-app-v200 .wh-simple-kpis .is-todo:before{background:var(--wh2-blue)!important}
.wh-app-v200 .wh-simple-kpis .is-managed:before{background:var(--wh2-green)!important}
.wh-app-v200 .wh-simple-kpis .is-closed:before{background:#6a7f93!important}
.wh-v200-kpi-grid small,
.wh-app-v200 .wh-simple-kpis span{
  color:#77889a!important;
  font-size:7px!important;
  font-weight:850!important;
  letter-spacing:.055em!important;
}
.wh-v200-kpi-grid strong,
.wh-app-v200 .wh-simple-kpis strong{
  color:#153451!important;
  font-size:28px!important;
  line-height:1!important;
  letter-spacing:-.035em!important;
}
.wh-v200-kpi-grid span{
  color:#8291a0;
  font-size:8px;
}

/* ===== BUTTONS ===== */
.wh-app-v200 .wh-btn{
  min-height:43px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 17px!important;
  border-radius:12px!important;
  border:1px solid var(--wh2-blue)!important;
  background:linear-gradient(135deg,var(--wh2-blue),var(--wh2-blue-dark))!important;
  color:#fff!important;
  font-size:10px!important;
  font-weight:850!important;
  text-decoration:none!important;
  box-shadow:0 8px 18px rgba(23,105,255,.16)!important;
  transition:.16s ease!important;
}
.wh-app-v200 .wh-btn:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 11px 23px rgba(23,105,255,.22)!important;
}
.wh-app-v200 .wh-btn-light{
  border-color:#d4e0ec!important;
  background:#fff!important;
  color:#315878!important;
  box-shadow:none!important;
}
.wh-app-v200 .wh-btn-danger{
  background:#fff5f5!important;
  border-color:#efcaca!important;
  color:#b14848!important;
}

/* ===== FORMS ===== */
.wh-app-v200 .wh-form,
.wh-app-v200 form.wh-form{
  gap:14px!important;
}
.wh-app-v200 .wh-form-section{
  padding:17px!important;
  border:1px solid #e3e9ef!important;
  border-radius:17px!important;
  background:#fbfdff!important;
}
.wh-app-v200 .wh-section-heading{
  margin-bottom:14px!important;
}
.wh-app-v200 .wh-section-heading>span{
  width:29px!important;height:29px!important;
  border-radius:10px!important;
  background:#eaf2ff!important;
  color:var(--wh2-blue)!important;
}
.wh-app-v200 label{
  color:#465d72!important;
  font-size:9px!important;
  font-weight:760!important;
}
.wh-app-v200 input:not([type=checkbox]):not([type=radio]):not([type=file]),
.wh-app-v200 select,
.wh-app-v200 textarea{
  min-height:44px!important;
  border:1px solid #d7e1eb!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#17324f!important;
}
.wh-app-v200 input:focus,
.wh-app-v200 select:focus,
.wh-app-v200 textarea:focus{
  border-color:#8fb7ff!important;
  box-shadow:0 0 0 3px rgba(23,105,255,.08)!important;
  outline:none!important;
}

/* ===== CUSTOMER ===== */
.wh-role-customer .wh-v200-customer-intro{
  background:
    radial-gradient(circle at 84% 18%,rgba(41,128,255,.14),transparent 25%),
    linear-gradient(125deg,#fff 0%,#f6faff 100%);
}
.wh-role-customer .wh-customer-active-board{
  padding:19px!important;
}
.wh-role-customer .wh-customer-active-board-head{
  margin-bottom:13px!important;
}
.wh-role-customer .wh-customer-active-board-head h2{
  font-size:24px!important;
  color:var(--wh2-ink)!important;
}
.wh-role-customer .wh-customer-active-list{
  display:grid!important;
  gap:9px!important;
}
.wh-role-customer .wh-customer-active-ticket{
  min-height:76px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  padding:13px 14px!important;
  border:1px solid #e3e9ef!important;
  border-radius:14px!important;
  background:#fafcff!important;
}
.wh-role-customer .wh-customer-active-copy{
  display:grid!important;
  gap:2px!important;
}
.wh-role-customer .wh-customer-active-copy small{font-size:7px!important;color:#8492a2!important}
.wh-role-customer .wh-customer-active-copy strong{font-size:13px!important;color:#183550!important}
.wh-role-customer .wh-customer-active-copy span{font-size:8px!important;color:#77899a!important}

/* ===== PARTNER / COMPANY / TECHNICIAN ===== */
.wh-role-partner .wh-v200-dashboard-intro,
.wh-role-partner-company .wh-v200-dashboard-intro,
.wh-role-technician .wh-v200-dashboard-intro{
  background:
    radial-gradient(circle at 88% 15%,rgba(22,149,95,.10),transparent 22%),
    linear-gradient(125deg,#fff 0%,#f8fcfa 100%);
}
.wh-app-v200 .wh-dashboard-hero{
  gap:10px!important;
}
.wh-app-v200 .wh-partner-availability-summary{
  min-height:62px!important;
  padding:12px 14px!important;
}
.wh-app-v200 .wh-dashboard-hero-kpis .wh-simple-kpis{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
}
.wh-app-v200 .wh-dashboard-bento{
  display:grid!important;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.75fr)!important;
  gap:12px!important;
}
.wh-app-v200 .wh-dashboard-bento-primary .wh-next-action{
  min-height:244px!important;
  padding:24px!important;
  border-left:0!important;
  background:
    radial-gradient(circle at 92% 18%,rgba(23,105,255,.12),transparent 24%),
    #fff!important;
}
.wh-app-v200 .wh-dashboard-bento-primary .wh-next-action h2{
  font-size:26px!important;
  letter-spacing:-.03em!important;
}
.wh-app-v200 .wh-dashboard-bento-secondary .wh-panel{
  min-height:244px!important;
}
.wh-role-technician .wh-dashboard-bento{
  grid-template-columns:1fr!important;
}
.wh-role-partner-company .wh-sidebar-context{
  background:rgba(22,149,95,.10)!important;
}

/* ===== CONDO ADMIN ===== */
.wh-role-condo-admin .wh-v200-condo-intro{
  background:
    radial-gradient(circle at 86% 14%,rgba(118,87,216,.12),transparent 23%),
    linear-gradient(125deg,#fff 0%,#faf8ff 100%);
}
.wh-role-condo-admin .wh-condo-plan-strip{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr)) auto!important;
  align-items:center!important;
  gap:10px!important;
  padding:16px!important;
}
.wh-role-condo-admin .wh-condo-plan-strip>div{
  min-height:72px!important;
  padding:10px 12px!important;
  border-radius:13px!important;
  background:#f9fbfd!important;
  border:1px solid #e6ebf0!important;
}
.wh-role-condo-admin .wh-condo-card-grid,
.wh-role-condo-admin .wh-condo-mini-grid{
  gap:11px!important;
}
.wh-role-condo-admin .wh-condo-card{
  padding:16px!important;
}
.wh-role-condo-admin .wh-condo-ticket-list article{
  min-height:70px!important;
  border:1px solid #e3e9ef!important;
  border-radius:14px!important;
  background:#fafcff!important;
}

/* ===== RESIDENT ===== */
.wh-role-resident .wh-v200-resident-intro{
  background:
    radial-gradient(circle at 87% 15%,rgba(233,145,23,.11),transparent 23%),
    linear-gradient(125deg,#fff 0%,#fffaf4 100%);
}
.wh-role-resident .wh-condo-home-offer{
  padding:18px!important;
}
.wh-role-resident .wh-condo-mini-grid{
  gap:10px!important;
}
.wh-role-resident .wh-condo-mini-grid>a{
  min-height:90px!important;
  padding:14px!important;
  border:1px solid #e3e9ef!important;
  border-radius:15px!important;
  background:#fafcff!important;
}
.wh-role-resident .wh-resident-ticket-list{
  gap:8px!important;
}
.wh-role-resident .wh-resident-ticket-list article{
  min-height:70px!important;
  border:1px solid #e3e9ef!important;
  border-radius:14px!important;
  background:#fafcff!important;
}

/* ===== TICKET CARDS ===== */
.wh-app-v200 .wh-ticket{
  padding:16px!important;
}
.wh-app-v200 .wh-ticket-top{
  margin-bottom:10px!important;
}
.wh-app-v200 .wh-ticket-top strong{
  font-size:14px!important;
  color:#173451!important;
}
.wh-app-v200 .wh-badge,
.wh-app-v200 .wh-company-badge,
.wh-app-v200 .wh-cr-pill{
  border-radius:999px!important;
}
.wh-app-v200 .wh-ticket-quick{
  gap:7px!important;
}
.wh-app-v200 .wh-quick-chip{
  border-radius:12px!important;
  background:#f7f9fc!important;
  border:1px solid #e5eaf0!important;
}
.wh-app-v200 .wh-next-step{
  border-radius:13px!important;
}

/* ===== PWA / MOBILE ===== */
@media(max-width:860px){
  body.whyhab-platform .wh-app-v200{
    display:block!important;
    min-height:100dvh!important;
  }
  .wh-app-v200 .wh-sidebar{
    display:none!important;
  }
  .wh-app-v200 .wh-main{
    min-height:100dvh!important;
    padding:0 10px 92px!important;
    background:#f5f7fa!important;
  }
  .wh-app-v200 .wh-top{
    position:sticky!important;
    top:0!important;
    z-index:50!important;
    width:auto!important;
    min-height:72px!important;
    margin:0 -10px 10px!important;
    padding:9px 11px!important;
    background:rgba(255,255,255,.97)!important;
    backdrop-filter:blur(16px)!important;
    border-bottom:1px solid #e2e7ed!important;
    box-shadow:0 4px 15px rgba(18,40,65,.045)!important;
  }
  .wh-mobile-brand{
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    flex:0 0 auto!important;
  }
  .wh-mobile-brand .wh-mark{
    width:34px!important;height:34px!important;flex-basis:34px!important;border-radius:10px!important;font-size:16px!important;
  }
  .wh-mobile-brand>div{
    display:flex!important;
    flex-direction:column!important;
  }
  .wh-mobile-brand strong{
    color:#153657!important;
    font-size:12px!important;
  }
  .wh-mobile-brand small{
    color:#7a8da1!important;
    font-size:6px!important;
    letter-spacing:.06em!important;
  }
  .wh-app-v200 .wh-top-copy{
    display:none!important;
  }
  .wh-app-v200 .wh-ui-user-chip{
    display:none!important;
  }
  .wh-app-v200 .wh-ui-logout{
    width:36px!important;
    height:36px!important;
    min-height:36px!important;
    padding:0!important;
    border-radius:10px!important;
  }
  .wh-app-v200 .wh-ui-logout b{display:none!important}
  .wh-app-v200 .wh-app-content{
    width:100%!important;
    gap:10px!important;
  }

  .wh-v200-dashboard-intro{
    min-height:0!important;
    grid-template-columns:1fr!important;
    gap:15px!important;
    padding:18px!important;
    border-radius:19px!important;
  }
  .wh-v200-dashboard-intro h2{
    font-size:24px!important;
  }
  .wh-v200-dashboard-intro p{
    font-size:11px!important;
  }
  .wh-v200-intro-actions{
    justify-content:stretch!important;
  }
  .wh-v200-intro-actions .wh-btn{
    flex:1 1 100%!important;
  }
  .wh-v200-kpi-grid-4,
  .wh-v200-kpi-grid-3,
  .wh-app-v200 .wh-simple-kpis,
  .wh-app-v200 .wh-dashboard-hero-kpis .wh-simple-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  .wh-v200-kpi-grid>div,
  .wh-app-v200 .wh-simple-kpis>div{
    min-height:82px!important;
    padding:11px 12px!important;
  }
  .wh-v200-kpi-grid strong,
  .wh-app-v200 .wh-simple-kpis strong{
    font-size:22px!important;
  }

  .wh-app-v200 .wh-panel{
    padding:14px!important;
    border-radius:17px!important;
  }
  .wh-app-v200 .wh-panel-head h2{font-size:17px!important}
  .wh-app-v200 .wh-dashboard-bento{
    grid-template-columns:1fr!important;
  }
  .wh-app-v200 .wh-dashboard-bento-primary .wh-next-action,
  .wh-app-v200 .wh-dashboard-bento-secondary .wh-panel{
    min-height:0!important;
  }
  .wh-app-v200 .wh-dashboard-bento-primary .wh-next-action{
    padding:16px!important;
  }
  .wh-app-v200 .wh-dashboard-bento-primary .wh-next-action h2{
    font-size:20px!important;
  }
  .wh-role-condo-admin .wh-condo-plan-strip{
    grid-template-columns:1fr!important;
  }
  .wh-role-customer .wh-customer-active-ticket{
    grid-template-columns:1fr!important;
  }
  .wh-role-customer .wh-customer-active-ticket .wh-btn{
    width:100%!important;
  }

  .whyhab-platform .wh-mobile-nav{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    width:min(560px,calc(100% - 12px))!important;
    left:50%!important;
    bottom:6px!important;
    transform:translateX(-50%)!important;
    padding:6px!important;
    border:1px solid #dce4ec!important;
    border-radius:19px!important;
    background:rgba(255,255,255,.98)!important;
    backdrop-filter:blur(18px)!important;
    box-shadow:0 14px 38px rgba(17,39,63,.17)!important;
  }
  .whyhab-platform .wh-mobile-nav a{
    min-height:52px!important;
    display:grid!important;
    place-items:center!important;
    align-content:center!important;
    gap:2px!important;
    border-radius:12px!important;
    color:#718397!important;
  }
  .whyhab-platform .wh-mobile-nav a.is-active{
    background:#edf4ff!important;
    color:var(--wh2-blue)!important;
  }
  .whyhab-platform .wh-mobile-nav a span{
    font-size:17px!important;
  }
  .whyhab-platform .wh-mobile-nav a small{
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:6px!important;
    font-weight:850!important;
  }
}

@media(max-width:430px){
  .wh-v200-kpi-grid-4,
  .wh-v200-kpi-grid-3,
  .wh-app-v200 .wh-simple-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .wh-app-v200 .wh-btn{
    min-height:45px!important;
  }
}

/* ===== CONTROL ROOM: allineamento token v2 ===== */
.wh-cr-front-shell{
  --cr-bg:var(--wh2-bg)!important;
  --cr-surface:var(--wh2-surface)!important;
  --cr-border:var(--wh2-border)!important;
  --cr-ink:var(--wh2-ink)!important;
  --cr-primary:var(--wh2-blue)!important;
}
.wh-cr-front-shell .wh-cr-front-sidebar{
  background:
    radial-gradient(circle at 28% 4%,rgba(63,137,255,.22),transparent 23%),
    linear-gradient(180deg,var(--wh2-navy) 0%,var(--wh2-navy-deep) 100%)!important;
}
.wh-cr-front-shell .wh-cr-front-topbar,
.wh-cr-front-shell .wh-cr-panel,
.wh-cr-front-shell .wh-cr-v194-kpi{
  border-radius:22px!important;
}



/* ========================================================================
   WHYHAB v2.0.2 — CONTROL ROOM SPACING / VISUAL POLISH
   Obiettivo: stessa logica, solo grafica più pulita e leggibile.
   ======================================================================== */
:root{
  --wh-cr-sidebar-w: 332px;
  --wh-cr-shell-gap: 0px;
  --wh-cr-shell-bg: #f4f7fb;
  --wh-cr-surface: #ffffff;
  --wh-cr-border-soft: #dbe5ef;
  --wh-cr-shadow-soft: 0 16px 42px rgba(19,40,63,.08);
  --wh-cr-shadow-card: 0 8px 22px rgba(19,40,63,.05);
  --wh-cr-radius-xl: 24px;
  --wh-cr-radius-lg: 18px;
  --wh-cr-radius-md: 14px;
}

.wh-cr-front-shell,
.wh-admin-wrap.wh-cr.wh-cr-front-shell{
  grid-template-columns: var(--wh-cr-sidebar-w) minmax(0,1fr)!important;
  gap: var(--wh-cr-shell-gap)!important;
  background: var(--wh-cr-shell-bg)!important;
}

/* SIDEBAR */
.wh-cr-front-shell .wh-cr-front-sidebar,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-sidebar{
  padding: 18px 16px 16px!important;
  box-sizing: border-box!important;
}

.wh-cr-front-shell .wh-cr-front-brand,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-brand{
  min-height: 70px!important;
  margin-bottom: 16px!important;
  padding: 14px 16px!important;
  border-radius: 20px!important;
  gap: 12px!important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08)!important;
}

.wh-cr-front-shell .wh-cr-front-brand > span,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-brand > span{
  width: 38px!important;
  height: 38px!important;
  border-radius: 13px!important;
  font-size: 16px!important;
  flex: 0 0 38px!important;
}
.wh-cr-front-shell .wh-cr-front-brand strong,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-brand strong{
  font-size: 16px!important;
  line-height: 1.05!important;
}
.wh-cr-front-shell .wh-cr-front-brand small,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-brand small{
  font-size: 10px!important;
  line-height: 1.2!important;
  letter-spacing: .13em!important;
}

.wh-cr-front-shell .wh-cr-front-nav,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-nav{
  display: grid!important;
  gap: 14px!important;
  margin-bottom: 16px!important;
}

.wh-cr-front-shell .wh-cr-nav-groups,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-groups{
  display: grid!important;
  gap: 14px!important;
}

.wh-cr-front-shell .wh-cr-nav-group,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-group{
  padding: 0!important;
  background: transparent!important;
  border: 0!important;
  box-shadow: none!important;
}

.wh-cr-front-shell .wh-cr-nav-group-title,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-group-title{
  margin: 0 10px 8px!important;
  min-height: 22px!important;
  align-items: center!important;
}
.wh-cr-front-shell .wh-cr-nav-group-title strong,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-group-title strong{
  font-size: 10px!important;
  letter-spacing: .09em!important;
  color: #8fb1dc!important;
}

.wh-cr-front-shell .wh-cr-nav-group-links,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-group-links{
  display: grid!important;
  gap: 7px!important;
}

.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-links a,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-links a{
  min-height: 64px!important;
  padding: 11px 13px!important;
  border-radius: 16px!important;
  align-items: center!important;
  gap: 12px!important;
  box-sizing: border-box!important;
  overflow: hidden!important;
}

.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-icon,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-icon{
  width: 38px!important;
  height: 38px!important;
  flex: 0 0 38px!important;
  border-radius: 12px!important;
  font-size: 15px!important;
}

.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-copy,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-copy{
  display: flex!important;
  flex-direction: column!important;
  justify-content: center!important;
  min-width: 0!important;
  line-height: 1.1!important;
}

.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-copy b,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-copy b{
  display: block!important;
  font-size: 13px!important;
  line-height: 1.18!important;
  color: #fff!important;
  margin: 0!important;
  white-space: normal!important;
}

.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-copy small,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-copy small{
  display: block!important;
  margin-top: 3px!important;
  font-size: 10px!important;
  line-height: 1.28!important;
  color: rgba(255,255,255,.72)!important;
  white-space: normal!important;
  overflow-wrap: anywhere!important;
}

.wh-cr-front-shell .wh-cr-front-sidebar-foot,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-sidebar-foot{
  margin-top: auto!important;
  padding: 13px 12px!important;
  border-radius: 18px!important;
  gap: 10px!important;
}

.wh-cr-front-shell .wh-cr-front-sidebar-foot strong,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-sidebar-foot strong{
  font-size: 11px!important;
}
.wh-cr-front-shell .wh-cr-front-sidebar-foot small,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-sidebar-foot small{
  font-size: 9px!important;
  line-height: 1.25!important;
}
.wh-cr-front-shell .wh-cr-front-sidebar-foot > a,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-sidebar-foot > a{
  width: 34px!important;
  height: 34px!important;
  display: grid!important;
  place-items: center!important;
  border-radius: 10px!important;
  background: rgba(255,255,255,.06)!important;
}

/* MAIN AREA */
.wh-cr-front-shell .wh-cr-front-main,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-main{
  min-width: 0!important;
  padding: 0 30px 34px!important;
}

.wh-cr-front-shell .wh-cr-front-topbar,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-topbar{
  min-height: 100px!important;
  padding: 18px 22px!important;
  margin: 0 0 18px!important;
  border-radius: 22px!important;
  background: var(--wh-cr-surface)!important;
  border: 1px solid var(--wh-cr-border-soft)!important;
  box-shadow: var(--wh-cr-shadow-soft)!important;
}

.wh-cr-front-shell .wh-cr-front-topbar > div:first-child,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-topbar > div:first-child{
  display: grid!important;
  gap: 6px!important;
}

.wh-cr-front-shell .wh-cr-front-topbar small,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-topbar small{
  font-size: 10px!important;
  line-height: 1.25!important;
  letter-spacing: .08em!important;
}
.wh-cr-front-shell .wh-cr-front-topbar h1,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-topbar h1{
  font-size: 40px!important;
  line-height: 1.02!important;
  letter-spacing: -.035em!important;
}
.wh-cr-front-shell .wh-cr-front-top-actions,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-top-actions{
  gap: 10px!important;
  flex-wrap: wrap!important;
}

.wh-cr-front-shell .wh-cr-front-content,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content{
  padding-top: 0!important;
  display: grid!important;
  gap: 18px!important;
}

/* GENERIC CONTENT SPACING */
.wh-cr-front-shell .wh-cr-front-content > section,
.wh-cr-front-shell .wh-cr-front-content > .wh-cr-card,
.wh-cr-front-shell .wh-cr-front-content > .wh-cr-block,
.wh-cr-front-shell .wh-cr-front-content > .wh-cr-section,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content > section,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content > .wh-cr-card,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content > .wh-cr-block,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content > .wh-cr-section{
  margin: 0!important;
}

.wh-cr-front-shell .wh-cr-front-content .wh-cr-stats,
.wh-cr-front-shell .wh-cr-front-content .wh-cr-kpi-row,
.wh-cr-front-shell .wh-cr-front-content .wh-cr-dashboard-grid,
.wh-cr-front-shell .wh-cr-front-content .wh-cr-v150-network-kpis,
.wh-cr-front-shell .wh-cr-front-content .wh-condo-cr-kpis,
.wh-cr-front-shell .wh-cr-front-content .wh-condo-cr-summary,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content .wh-cr-stats,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content .wh-cr-kpi-row,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content .wh-cr-dashboard-grid,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content .wh-cr-v150-network-kpis,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content .wh-condo-cr-kpis,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content .wh-condo-cr-summary{
  gap: 16px!important;
}

.wh-cr-front-shell .wh-cr-front-content .wh-cr-stat,
.wh-cr-front-shell .wh-cr-front-content .wh-cr-card,
.wh-cr-front-shell .wh-cr-front-content .wh-panel,
.wh-cr-front-shell .wh-cr-front-content .wh-tile,
.wh-cr-front-shell .wh-cr-front-content .wh-box,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content .wh-cr-stat,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content .wh-cr-card,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content .wh-panel,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content .wh-tile,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content .wh-box{
  border-radius: 18px!important;
  box-shadow: var(--wh-cr-shadow-card)!important;
}

.wh-cr-front-shell .wh-cr-front-content h2,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content h2{
  margin: 0 0 6px!important;
  line-height: 1.08!important;
}

/* DENSITÀ DASHBOARD CONTROL ROOM */
.wh-cr-front-shell .wh-cr-front-content .wh-cr-card-list,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content .wh-cr-card-list{
  display: grid!important;
  gap: 12px!important;
}
.wh-cr-front-shell .wh-cr-front-content .wh-cr-card-list > *,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content .wh-cr-card-list > *{
  margin: 0!important;
}

.wh-cr-front-shell .wh-cr-front-content .button,
.wh-cr-front-shell .wh-cr-front-content .wh-btn,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content .button,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content .wh-btn{
  min-height: 42px!important;
  border-radius: 12px!important;
}

/* मध/Tablet adjustments */
@media(max-width:1440px){
  .wh-cr-front-shell,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell{
    grid-template-columns: 312px minmax(0,1fr)!important;
  }
  .wh-cr-front-shell .wh-cr-front-main,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-main{
    padding: 0 24px 28px!important;
  }
}

@media(max-width:1260px){
  .wh-cr-front-shell,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell{
    grid-template-columns: 296px minmax(0,1fr)!important;
  }
  .wh-cr-front-shell .wh-cr-front-topbar h1,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-topbar h1{
    font-size: 34px!important;
  }
  .wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-copy small,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-copy small{
    font-size: 9px!important;
  }
}

@media(max-width:980px){
  .wh-cr-front-shell,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell{
    grid-template-columns: 1fr!important;
    border-radius: 22px!important;
  }
  .wh-cr-front-shell .wh-cr-front-sidebar,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-sidebar{
    position: relative!important;
    top: auto!important;
    height: auto!important;
    padding: 14px!important;
  }
  .wh-cr-front-shell .wh-cr-front-sidebar-foot,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-sidebar-foot{
    display:none!important;
  }
  .wh-cr-front-shell .wh-cr-front-main,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-main{
    padding: 0 14px 22px!important;
  }
  .wh-cr-front-shell .wh-cr-front-topbar,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-topbar{
    min-height: auto!important;
    padding: 14px 16px!important;
    gap: 12px!important;
  }
  .wh-cr-front-shell .wh-cr-front-topbar h1,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-topbar h1{
    font-size: 28px!important;
  }
  .wh-cr-front-shell .wh-cr-front-content,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content{
    gap: 14px!important;
  }
}

@media(max-width:720px){
  .wh-cr-front-shell .wh-cr-front-topbar h1,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-topbar h1{
    font-size: 24px!important;
  }
  .wh-cr-front-shell .wh-cr-front-content .wh-cr-stats,
  .wh-cr-front-shell .wh-cr-front-content .wh-cr-kpi-row,
  .wh-cr-front-shell .wh-cr-front-content .wh-cr-v150-network-kpis,
  .wh-cr-front-shell .wh-cr-front-content .wh-condo-cr-kpis,
  .wh-cr-front-shell .wh-cr-front-content .wh-condo-cr-summary,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content .wh-cr-stats,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content .wh-cr-kpi-row,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content .wh-cr-v150-network-kpis,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content .wh-condo-cr-kpis,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content .wh-condo-cr-summary{
    grid-template-columns: 1fr!important;
  }
}




/* ========================================================================
   WHYHAB v2.0.3 — CONTROL ROOM GRAPHIC FIX
   Correzione reale della sidebar e del layout: menu in una sola colonna,
   badge allineati, spaziature coerenti, niente elementi ammassati.
   ======================================================================== */
.wh-cr-front-shell,
.wh-admin-wrap.wh-cr.wh-cr-front-shell{
  grid-template-columns: 340px minmax(0,1fr) !important;
  align-items: stretch !important;
}

.wh-cr-front-shell .wh-cr-front-sidebar,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-sidebar{
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  height:auto !important;
  overflow-y:auto !important;
  overscroll-behavior:contain !important;
  padding:20px 18px 18px !important;
}

.wh-cr-front-shell .wh-cr-front-nav,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-nav{
  display:flex !important;
  flex-direction:column !important;
  gap:18px !important;
}

.wh-cr-front-shell .wh-cr-nav-groups,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-groups,
.wh-cr-front-shell .wh-cr-front-nav .wh-cr-nav-groups,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-nav .wh-cr-nav-groups,
.wh-cr-front-shell .wh-cr-nav-v194,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194{
  display:grid !important;
  grid-template-columns: 1fr !important;
  gap:18px !important;
  width:100% !important;
  margin:0 !important;
}

.wh-cr-front-shell .wh-cr-nav-group,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-group,
.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group{
  width:100% !important;
  min-width:0 !important;
  padding:0 !important;
  border:none !important;
  background:transparent !important;
  box-shadow:none !important;
}

.wh-cr-front-shell .wh-cr-nav-group-title,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-group-title,
.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-title,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-title{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  margin:0 0 8px !important;
  padding:0 8px !important;
  min-height:auto !important;
}

.wh-cr-front-shell .wh-cr-nav-group-title span,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-group-title span,
.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-title span,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-title span{
  display:none !important;
}

.wh-cr-front-shell .wh-cr-nav-group-title strong,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-group-title strong,
.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-title strong,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-title strong{
  font-size:10px !important;
  line-height:1.2 !important;
  letter-spacing:.10em !important;
  text-transform:uppercase !important;
  color:#8fb1dc !important;
}

.wh-cr-front-shell .wh-cr-nav-group-links,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-group-links,
.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-links,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-links{
  display:flex !important;
  flex-direction:column !important;
  flex-wrap:nowrap !important;
  gap:8px !important;
  width:100% !important;
}

.wh-cr-front-shell .wh-cr-nav-group-links a,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-group-links a,
.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-links a,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-group-links a{
  display:grid !important;
  grid-template-columns: 40px minmax(0,1fr) auto !important;
  align-items:center !important;
  width:100% !important;
  min-height:60px !important;
  padding:12px 14px !important;
  gap:12px !important;
  box-sizing:border-box !important;
  overflow:hidden !important;
  text-decoration:none !important;
}

.wh-cr-front-shell .wh-cr-nav-icon,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-icon,
.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-icon,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-icon{
  width:40px !important;
  height:40px !important;
  min-width:40px !important;
  flex:none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:12px !important;
  font-size:16px !important;
}

.wh-cr-front-shell .wh-cr-nav-copy,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-copy,
.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-copy,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-copy{
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  overflow:hidden !important;
}

.wh-cr-front-shell .wh-cr-nav-copy b,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-copy b,
.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-copy b,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-copy b{
  display:block !important;
  margin:0 !important;
  font-size:14px !important;
  line-height:1.18 !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
}

.wh-cr-front-shell .wh-cr-nav-copy small,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-copy small,
.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-copy small,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-nav-v194 .wh-cr-nav-copy small{
  display:block !important;
  margin-top:4px !important;
  font-size:10px !important;
  line-height:1.30 !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  opacity:.82 !important;
}

.wh-cr-front-shell .wh-ticket-counter-dots,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-ticket-counter-dots{
  margin-left:0 !important;
  justify-self:end !important;
  align-self:center !important;
}

.wh-cr-front-shell .wh-cr-front-sidebar-foot,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-sidebar-foot{
  margin-top:18px !important;
}

.wh-cr-front-shell .wh-cr-front-main,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-main{
  min-width:0 !important;
  padding:0 28px 32px !important;
}

.wh-cr-front-shell .wh-cr-front-topbar,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-topbar{
  margin:18px 0 18px !important;
  padding:18px 22px !important;
}

.wh-cr-front-shell .wh-cr-front-content,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-content{
  display:grid !important;
  gap:18px !important;
  padding-top:0 !important;
}

.wh-cr-front-shell .wh-cr-v194-main-kpis,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-v194-main-kpis{
  gap:16px !important;
}

.wh-cr-front-shell .wh-cr-v194-focus-list,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-v194-focus-list,
.wh-cr-front-shell .wh-cr-v194-network-grid,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-v194-network-grid,
.wh-cr-front-shell .wh-cr-v194-bottom,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-v194-bottom,
.wh-cr-front-shell .wh-cr-v194-network-now,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-v194-network-now,
.wh-cr-front-shell .wh-cr-dashboard-grid,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-dashboard-grid,
.wh-cr-front-shell .wh-cr-stats,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-stats{
  gap:16px !important;
}

.wh-cr-front-shell .wh-cr-v194-main-kpis > *,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-v194-main-kpis > *,
.wh-cr-front-shell .wh-cr-v194-focus-list > *,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-v194-focus-list > *,
.wh-cr-front-shell .wh-cr-v194-network-grid > *,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-v194-network-grid > *,
.wh-cr-front-shell .wh-cr-dashboard-grid > *,
.wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-dashboard-grid > *{
  min-width:0 !important;
}

@media (max-width: 1420px){
  .wh-cr-front-shell,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell{
    grid-template-columns: 312px minmax(0,1fr) !important;
  }
}

@media (max-width: 1180px){
  .wh-cr-front-shell,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell{
    grid-template-columns: 296px minmax(0,1fr) !important;
  }
}

@media (max-width: 940px){
  .wh-cr-front-shell,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell{
    grid-template-columns:1fr !important;
  }
  .wh-cr-front-shell .wh-cr-front-sidebar,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-sidebar{
    padding:14px !important;
    overflow:visible !important;
  }
  .wh-cr-front-shell .wh-cr-front-main,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-main{
    padding:0 14px 22px !important;
  }
  .wh-cr-front-shell .wh-cr-front-topbar,
  .wh-admin-wrap.wh-cr.wh-cr-front-shell .wh-cr-front-topbar{
    margin:0 0 14px !important;
    padding:14px 16px !important;
  }
}




/* ========================================================================
   WHYHAB v2.0.4 — ROLE UI POLISH
   Pulizia grafica uniforme:
   Cliente · Partner/Azienda · Tecnico · Amministratore · Condomino
   Nessun cambio al motore o ai workflow.
   ======================================================================== */

/* ROLE ACCENTS */
.wh-app-v200{
  --wh-role-accent:#1769ff;
  --wh-role-accent-soft:#edf4ff;
  --wh-role-accent-border:#cfe0ff;
}
.wh-app-v200.wh-role-customer{
  --wh-role-accent:#1769ff;
  --wh-role-accent-soft:#edf4ff;
  --wh-role-accent-border:#cfe0ff;
}
.wh-app-v200.wh-role-partner,
.wh-app-v200.wh-role-partner-company{
  --wh-role-accent:#14955f;
  --wh-role-accent-soft:#edf8f2;
  --wh-role-accent-border:#cae8d7;
}
.wh-app-v200.wh-role-technician{
  --wh-role-accent:#168bbd;
  --wh-role-accent-soft:#edf8fc;
  --wh-role-accent-border:#c9e8f3;
}
.wh-app-v200.wh-role-condo-admin{
  --wh-role-accent:#7258d4;
  --wh-role-accent-soft:#f3efff;
  --wh-role-accent-border:#ddd3ff;
}
.wh-app-v200.wh-role-resident{
  --wh-role-accent:#d88113;
  --wh-role-accent-soft:#fff5e8;
  --wh-role-accent-border:#f2d7ad;
}

/* ===== DESKTOP SHELL / SPACING ===== */
@media(min-width:861px){
  body.whyhab-platform .wh-app-v200{
    grid-template-columns:300px minmax(0,1fr)!important;
  }

  .wh-app-v200 .wh-sidebar{
    padding:24px 18px 20px!important;
  }

  .wh-app-v200 .wh-main{
    padding:0 30px 42px!important;
  }

  .wh-app-v200 .wh-top{
    width:min(1440px,100%)!important;
    min-height:98px!important;
    margin:18px auto 18px!important;
    padding:17px 20px!important;
    border:1px solid var(--wh2-border)!important;
    border-radius:22px!important;
    background:#fff!important;
    box-shadow:var(--wh2-shadow)!important;
  }

  .wh-app-v200 .wh-app-content{
    width:min(1440px,100%)!important;
    gap:18px!important;
  }
}

/* ===== SIDEBAR UNIFORME ===== */
.wh-app-v200 .wh-brand{
  min-height:58px!important;
  margin:0 4px 16px!important;
  padding:8px 10px!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.055)!important;
}
.wh-app-v200 .wh-brand .wh-mark{
  width:38px!important;
  height:38px!important;
  flex-basis:38px!important;
  border-radius:12px!important;
  font-size:18px!important;
}
.wh-app-v200 .wh-brand-copy strong{
  font-size:18px!important;
}
.wh-app-v200 .wh-brand-copy small{
  font-size:7px!important;
  letter-spacing:.12em!important;
}

.wh-app-v200 .wh-sidebar-context{
  margin:0 4px 16px!important;
  padding:12px 13px!important;
  border-radius:15px!important;
  border:1px solid rgba(255,255,255,.10)!important;
  background:rgba(255,255,255,.05)!important;
}
.wh-app-v200 .wh-sidebar-context:before{
  content:"";
  width:3px;
  height:28px;
  border-radius:999px;
  background:var(--wh-role-accent);
  float:left;
  margin-right:9px;
}
.wh-app-v200 .wh-sidebar-context small{
  font-size:7px!important;
  letter-spacing:.10em!important;
}
.wh-app-v200 .wh-sidebar-context strong{
  font-size:12px!important;
  line-height:1.25!important;
}

.wh-app-v200 .wh-sidebar nav{
  gap:6px!important;
}
.wh-app-v200 .wh-nav-item{
  min-height:52px!important;
  padding:0 12px!important;
  gap:11px!important;
  border-radius:14px!important;
  font-size:12px!important;
}
.wh-app-v200 .wh-nav-symbol{
  width:30px!important;
  height:30px!important;
  flex-basis:30px!important;
  border-radius:10px!important;
}
.wh-app-v200 .wh-nav-item.is-active{
  background:linear-gradient(135deg,var(--wh-role-accent),color-mix(in srgb,var(--wh-role-accent) 78%,#08325f))!important;
}
.wh-app-v200 .wh-nav-primary{
  border-color:rgba(255,255,255,.07)!important;
  background:rgba(255,255,255,.045)!important;
}
.wh-app-v200 .wh-nav-profile{
  margin-top:10px!important;
  padding-top:2px!important;
}
.wh-app-v200 .wh-nav-logout{
  margin-top:auto!important;
}

/* ===== HEADER ===== */
.wh-app-v200 .wh-page-eyebrow{
  margin-bottom:4px!important;
  font-size:7px!important;
  color:var(--wh-role-accent)!important;
}
.wh-app-v200 .wh-top h1{
  font-size:30px!important;
  line-height:1.05!important;
}
.wh-app-v200 .wh-top p{
  margin-top:5px!important;
  font-size:11px!important;
  line-height:1.4!important;
}
.wh-app-v200 .wh-top-actions{
  gap:9px!important;
}
.wh-app-v200 .wh-ui-user-chip{
  min-height:44px!important;
  border-radius:13px!important;
}
.wh-app-v200 .wh-ui-avatar{
  background:var(--wh-role-accent-soft)!important;
  color:var(--wh-role-accent)!important;
  border-color:var(--wh-role-accent-border)!important;
}
.wh-app-v200 .wh-ui-logout{
  min-height:44px!important;
}

/* ===== HERO / DASHBOARD INTRO ===== */
.wh-app-v200 .wh-v200-dashboard-intro{
  min-height:160px!important;
  padding:23px 25px!important;
  gap:22px!important;
  border-radius:22px!important;
  border-color:var(--wh-role-accent-border)!important;
  background:
    radial-gradient(circle at 88% 14%,color-mix(in srgb,var(--wh-role-accent) 12%,transparent),transparent 25%),
    linear-gradient(125deg,#fff 0%,color-mix(in srgb,var(--wh-role-accent-soft) 55%,#fff) 100%)!important;
}
.wh-app-v200 .wh-v200-dashboard-intro:before{
  content:"";
  position:absolute;
  left:0;
  top:22px;
  bottom:22px;
  width:4px;
  border-radius:0 6px 6px 0;
  background:var(--wh-role-accent);
}
.wh-app-v200 .wh-v200-dashboard-intro{
  position:relative;
  overflow:hidden;
}
.wh-app-v200 .wh-v200-dashboard-intro small{
  color:var(--wh-role-accent)!important;
}
.wh-app-v200 .wh-v200-dashboard-intro h2{
  margin:6px 0 7px!important;
  font-size:28px!important;
}
.wh-app-v200 .wh-v200-dashboard-intro p{
  font-size:11px!important;
}
.wh-app-v200 .wh-v200-intro-actions{
  min-width:210px;
  gap:8px!important;
}

/* ===== KPI UNIFORMI ===== */
.wh-app-v200 .wh-v200-kpi-grid,
.wh-app-v200 .wh-simple-kpis{
  gap:11px!important;
}
.wh-app-v200 .wh-v200-kpi-grid>div,
.wh-app-v200 .wh-simple-kpis>div{
  min-height:92px!important;
  padding:14px 15px!important;
  border-radius:16px!important;
}
.wh-app-v200 .wh-v200-kpi-grid>div:before,
.wh-app-v200 .wh-simple-kpis>div:before{
  width:4px!important;
}
.wh-app-v200 .wh-v200-kpi-grid>div.is-primary:before{
  background:var(--wh-role-accent)!important;
}
.wh-app-v200 .wh-v200-kpi-grid strong,
.wh-app-v200 .wh-simple-kpis strong{
  font-size:25px!important;
}
.wh-app-v200 .wh-v200-kpi-grid small,
.wh-app-v200 .wh-simple-kpis span{
  font-size:7px!important;
}

/* ===== PANELS / CARD SYSTEM ===== */
.wh-app-v200 .wh-panel,
.wh-app-v200 .wh-customer-active-board,
.wh-app-v200 .wh-customer-focus-ticket,
.wh-app-v200 .wh-next-action,
.wh-app-v200 .wh-partner-availability-summary,
.wh-app-v200 .wh-condo-plan-strip,
.wh-app-v200 .wh-condo-current-plan,
.wh-app-v200 .wh-subscription-strip,
.wh-app-v200 .wh-property-card,
.wh-app-v200 .wh-ticket,
.wh-app-v200 .wh-ticket-index,
.wh-app-v200 .wh-condo-card,
.wh-app-v200 .wh-condo-home-offer{
  border-radius:18px!important;
  box-shadow:0 8px 24px rgba(20,43,70,.05)!important;
}
.wh-app-v200 .wh-panel{
  padding:17px!important;
}
.wh-app-v200 .wh-panel-head{
  margin-bottom:12px!important;
}
.wh-app-v200 .wh-panel-head h2{
  font-size:19px!important;
}
.wh-app-v200 .wh-panel-head p{
  font-size:9px!important;
}
.wh-app-v200 .wh-panel-head>a{
  color:var(--wh-role-accent)!important;
}

/* ===== BUTTONS ===== */
.wh-app-v200 .wh-btn{
  min-height:42px!important;
  padding:0 16px!important;
  border-radius:11px!important;
  background:linear-gradient(135deg,var(--wh-role-accent),color-mix(in srgb,var(--wh-role-accent) 80%,#08325f))!important;
  border-color:var(--wh-role-accent)!important;
  box-shadow:0 7px 17px color-mix(in srgb,var(--wh-role-accent) 20%,transparent)!important;
}
.wh-app-v200 .wh-btn-light{
  background:#fff!important;
  color:var(--wh-role-accent)!important;
  border-color:var(--wh-role-accent-border)!important;
  box-shadow:none!important;
}

/* ===== CUSTOMER ===== */
.wh-role-customer .wh-customer-active-board{
  padding:17px!important;
}
.wh-role-customer .wh-customer-active-board-head{
  margin-bottom:12px!important;
}
.wh-role-customer .wh-customer-active-board-head h2{
  font-size:21px!important;
}
.wh-role-customer .wh-customer-active-list{
  gap:8px!important;
}
.wh-role-customer .wh-customer-active-ticket{
  min-height:72px!important;
  padding:12px 13px!important;
  border-radius:13px!important;
}

/* ===== PARTNER / AZIENDA / TECNICO ===== */
.wh-role-partner .wh-dashboard-hero,
.wh-role-partner-company .wh-dashboard-hero,
.wh-role-technician .wh-dashboard-hero{
  gap:11px!important;
}
.wh-role-partner .wh-partner-availability-summary,
.wh-role-partner-company .wh-partner-availability-summary,
.wh-role-technician .wh-partner-availability-summary{
  min-height:58px!important;
  padding:11px 13px!important;
  border-left:4px solid var(--wh-role-accent)!important;
}
.wh-role-partner .wh-dashboard-bento,
.wh-role-partner-company .wh-dashboard-bento,
.wh-role-technician .wh-dashboard-bento{
  gap:12px!important;
}
.wh-role-partner .wh-dashboard-bento-primary .wh-next-action,
.wh-role-partner-company .wh-dashboard-bento-primary .wh-next-action,
.wh-role-technician .wh-dashboard-bento-primary .wh-next-action{
  min-height:224px!important;
  padding:21px!important;
}
.wh-role-partner .wh-dashboard-bento-primary .wh-next-action:before,
.wh-role-partner-company .wh-dashboard-bento-primary .wh-next-action:before,
.wh-role-technician .wh-dashboard-bento-primary .wh-next-action:before{
  color:var(--wh-role-accent)!important;
  background:var(--wh-role-accent-soft)!important;
}
.wh-role-partner .wh-dashboard-bento-primary .wh-next-action h2,
.wh-role-partner-company .wh-dashboard-bento-primary .wh-next-action h2,
.wh-role-technician .wh-dashboard-bento-primary .wh-next-action h2{
  font-size:24px!important;
}
.wh-role-partner .wh-priority-row,
.wh-role-partner-company .wh-priority-row,
.wh-role-technician .wh-priority-row{
  min-height:64px!important;
  padding:10px 11px!important;
  border-radius:12px!important;
}

/* ===== AMMINISTRATORE ===== */
.wh-role-condo-admin .wh-condo-plan-strip{
  gap:10px!important;
  padding:14px!important;
}
.wh-role-condo-admin .wh-condo-plan-strip>div{
  min-height:68px!important;
}
.wh-role-condo-admin .wh-condo-card-grid,
.wh-role-condo-admin .wh-condo-mini-grid{
  gap:10px!important;
}
.wh-role-condo-admin .wh-condo-card{
  padding:15px!important;
}
.wh-role-condo-admin .wh-condo-ticket-list{
  gap:8px!important;
}
.wh-role-condo-admin .wh-condo-ticket-list article{
  min-height:68px!important;
  padding:11px 12px!important;
}

/* ===== CONDOMINO ===== */
.wh-role-resident .wh-condo-home-offer{
  padding:16px!important;
  border-left:4px solid var(--wh-role-accent)!important;
}
.wh-role-resident .wh-resident-ticket-list{
  gap:8px!important;
}
.wh-role-resident .wh-resident-ticket-list article{
  min-height:68px!important;
  padding:11px 12px!important;
}
.wh-role-resident .wh-condo-mini-grid{
  gap:9px!important;
}

/* ===== FORMS / DETAIL PAGES ===== */
.wh-app-v200 .wh-form{
  gap:13px!important;
}
.wh-app-v200 .wh-form-section{
  padding:15px!important;
  border-radius:15px!important;
}
.wh-app-v200 .wh-section-heading{
  margin-bottom:12px!important;
}
.wh-app-v200 input:not([type=checkbox]):not([type=radio]):not([type=file]),
.wh-app-v200 select{
  min-height:42px!important;
}
.wh-app-v200 textarea{
  min-height:96px!important;
}
.wh-app-v200 input:focus,
.wh-app-v200 select:focus,
.wh-app-v200 textarea:focus{
  border-color:var(--wh-role-accent)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--wh-role-accent) 10%,transparent)!important;
}

/* ===== TABLET ===== */
@media(min-width:861px) and (max-width:1180px){
  body.whyhab-platform .wh-app-v200{
    grid-template-columns:270px minmax(0,1fr)!important;
  }
  .wh-app-v200 .wh-main{
    padding:0 20px 34px!important;
  }
  .wh-app-v200 .wh-top{
    padding:15px 17px!important;
  }
  .wh-app-v200 .wh-top h1{
    font-size:27px!important;
  }
  .wh-app-v200 .wh-dashboard-bento{
    grid-template-columns:1fr!important;
  }
  .wh-app-v200 .wh-v200-kpi-grid-4,
  .wh-app-v200 .wh-dashboard-hero-kpis .wh-simple-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* ===== MOBILE APP ===== */
@media(max-width:860px){
  .wh-app-v200 .wh-main{
    padding:0 10px 94px!important;
  }
  .wh-app-v200 .wh-top{
    min-height:68px!important;
    margin:0 -10px 10px!important;
    padding:9px 11px!important;
  }
  .wh-mobile-brand .wh-mark{
    background:var(--wh-role-accent)!important;
  }

  .wh-app-v200 .wh-app-content{
    gap:10px!important;
  }

  .wh-app-v200 .wh-v200-dashboard-intro{
    padding:16px!important;
    gap:13px!important;
    border-radius:18px!important;
  }
  .wh-app-v200 .wh-v200-dashboard-intro:before{
    top:16px;
    bottom:16px;
  }
  .wh-app-v200 .wh-v200-dashboard-intro h2{
    font-size:22px!important;
  }
  .wh-app-v200 .wh-v200-dashboard-intro p{
    font-size:10px!important;
  }
  .wh-app-v200 .wh-v200-intro-actions{
    min-width:0;
  }

  .wh-app-v200 .wh-v200-kpi-grid,
  .wh-app-v200 .wh-simple-kpis,
  .wh-app-v200 .wh-dashboard-hero-kpis .wh-simple-kpis{
    gap:7px!important;
  }
  .wh-app-v200 .wh-v200-kpi-grid>div,
  .wh-app-v200 .wh-simple-kpis>div{
    min-height:78px!important;
    padding:10px 11px!important;
  }

  .wh-app-v200 .wh-panel{
    padding:13px!important;
    border-radius:15px!important;
  }
  .wh-app-v200 .wh-panel-head{
    margin-bottom:10px!important;
  }
  .wh-app-v200 .wh-panel-head h2{
    font-size:16px!important;
  }

  .wh-app-v200 .wh-dashboard-bento{
    gap:9px!important;
  }
  .wh-app-v200 .wh-dashboard-bento-primary .wh-next-action{
    padding:15px!important;
    border-radius:16px!important;
  }
  .wh-app-v200 .wh-dashboard-bento-primary .wh-next-action h2{
    font-size:19px!important;
  }

  .wh-role-condo-admin .wh-condo-plan-strip{
    padding:12px!important;
  }
  .wh-role-resident .wh-condo-home-offer{
    padding:13px!important;
  }

  .whyhab-platform .wh-mobile-nav a.is-active{
    color:var(--wh-role-accent)!important;
    background:var(--wh-role-accent-soft)!important;
  }
}

@media(max-width:430px){
  .wh-app-v200 .wh-v200-dashboard-intro h2{
    font-size:20px!important;
  }
  .wh-app-v200 .wh-v200-intro-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  .wh-app-v200 .wh-v200-intro-actions .wh-btn{
    width:100%!important;
  }
}



/* ========================================================================
   WHYHAB v2.0.7 — OPERATORI / PERMESSI
   ======================================================================== */
.wh-cr-operator-list{display:grid!important;gap:10px!important}
.wh-cr-operator-list .wh-cr-operator-card{
  display:grid!important;
  grid-template-columns:auto minmax(180px,1fr) minmax(260px,.8fr) auto!important;
  grid-template-areas:"avatar identity profile status" "avatar identity actions actions"!important;
  gap:10px 14px!important;align-items:center!important;padding:14px!important;
  border:1px solid #e1e8ef!important;border-radius:15px!important;background:#fbfdff!important
}
.wh-cr-operator-card .wh-cr-operator-avatar{grid-area:avatar!important}
.wh-cr-operator-card .wh-cr-operator-identity{grid-area:identity!important;display:grid!important;gap:2px!important;min-width:0!important}
.wh-cr-operator-card .wh-cr-operator-identity strong{font-size:11px!important;color:#17324f!important}
.wh-cr-operator-card .wh-cr-operator-identity span{font-size:9px!important;color:#60758b!important;overflow:hidden!important;text-overflow:ellipsis!important}
.wh-cr-operator-card .wh-cr-operator-identity small{font-size:7.5px!important;color:#8b98a5!important}
.wh-cr-operator-card .wh-cr-operator-profile{grid-area:profile!important;display:grid!important;gap:6px!important}
.wh-cr-operator-profile-badge{
  width:max-content!important;max-width:100%!important;padding:5px 8px!important;border-radius:999px!important;
  background:#edf4ff!important;color:#1769ff!important;font-size:7.5px!important;font-weight:850!important
}
.wh-cr-operator-card .wh-cr-operator-profile form{display:grid!important;grid-template-columns:minmax(145px,1fr) auto!important;gap:6px!important}
.wh-cr-operator-card .wh-cr-operator-profile select{min-height:36px!important}
.wh-cr-operator-card .wh-cr-operator-status{grid-area:status!important}
.wh-cr-operator-card .wh-cr-operator-actions{grid-area:actions!important;display:flex!important;justify-content:flex-end!important;gap:7px!important;flex-wrap:wrap!important}
.wh-cr-operator-card .wh-cr-operator-actions form{margin:0!important}
.wh-cr-danger-button{border-color:#efc8c8!important;background:#fff6f6!important;color:#ad4242!important}
.wh-cr-danger-button:hover{border-color:#d99595!important;background:#ffeded!important;color:#8e2929!important}
.wh-cr-operator-form select[name="profile"]{min-height:44px!important;width:100%!important}
@media(max-width:1050px){
  .wh-cr-operator-list .wh-cr-operator-card{
    grid-template-columns:auto minmax(0,1fr) auto!important;
    grid-template-areas:"avatar identity status" "avatar profile profile" "avatar actions actions"!important
  }
}
@media(max-width:720px){
  .wh-cr-operator-list .wh-cr-operator-card{
    grid-template-columns:1fr!important;
    grid-template-areas:"avatar" "identity" "status" "profile" "actions"!important;
    align-items:start!important
  }
  .wh-cr-operator-card .wh-cr-operator-profile form{grid-template-columns:1fr!important}
  .wh-cr-operator-card .wh-cr-operator-actions{justify-content:stretch!important;display:grid!important;grid-template-columns:1fr!important}
  .wh-cr-operator-card .wh-cr-operator-actions .button{width:100%!important}
}


/* WHYHAB v2.0.8 — recupero account Operatore esistente */
.wh-cr-existing-lookup{margin-top:14px!important}
.wh-cr-existing-search{display:grid!important;grid-template-columns:minmax(220px,1fr) auto!important;gap:8px!important;max-width:680px!important}
.wh-cr-existing-result{margin-top:12px!important;padding:14px!important;border:1px solid #dde6ef!important;border-radius:14px!important;background:#fbfdff!important;display:grid!important;gap:10px!important}
.wh-cr-existing-result>div:first-child{display:grid!important;gap:2px!important}
.wh-cr-existing-result strong{font-size:11px!important;color:#17324f!important}
.wh-cr-existing-result span{font-size:9px!important;color:#5f758a!important}
.wh-cr-existing-result small{font-size:8px!important;color:#8897a5!important}
.wh-cr-existing-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
.wh-cr-existing-actions form{margin:0!important}
.wh-alert-warn{padding:10px 12px!important;border:1px solid #efd79f!important;border-radius:11px!important;background:#fff9eb!important;color:#785b19!important;font-size:9px!important}
@media(max-width:720px){.wh-cr-existing-search{grid-template-columns:1fr!important}.wh-cr-existing-search .button,.wh-cr-existing-actions .button{width:100%!important}.wh-cr-existing-actions{display:grid!important;grid-template-columns:1fr!important}}


/* ========================================================================
   WHYHAB v2.0.10 — ACCOUNT ESISTENTE -> OPERATORE CONTROL ROOM
   ======================================================================== */
.wh-cr-existing-attach{
  margin-top:10px!important;
  padding-top:10px!important;
  border-top:1px solid #e5ebf1!important;
}
.wh-cr-existing-attach form{
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(240px,1fr) auto!important;
  gap:9px!important;
  align-items:end!important;
}
.wh-cr-existing-attach label{
  display:grid!important;
  gap:5px!important;
  font-size:8px!important;
  font-weight:800!important;
  color:#4f6579!important;
}
.wh-cr-existing-attach select{
  min-height:42px!important;
  width:100%!important;
}
.wh-cr-existing-note{
  margin-top:9px!important;
  padding:8px 10px!important;
  border-radius:10px!important;
  background:#f5f8fb!important;
  color:#65788b!important;
  font-size:8px!important;
}
@media(max-width:720px){
  .wh-cr-existing-attach form{
    grid-template-columns:1fr!important;
  }
  .wh-cr-existing-attach .button{
    width:100%!important;
  }
}


/* ========================================================================
   WHYHAB v2.0.11 — OPERATOR PASSWORD TOOLS
   ======================================================================== */
.wh-cr-password-tools{
  grid-column:1/-1!important;
  margin-top:2px!important;
  border-top:1px solid #e7edf3!important;
  padding-top:9px!important;
}
.wh-cr-password-tools summary{
  width:max-content!important;
  cursor:pointer!important;
  list-style:none!important;
  padding:7px 10px!important;
  border:1px solid #dce5ee!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#35556f!important;
  font-size:8px!important;
  font-weight:850!important;
}
.wh-cr-password-tools summary::-webkit-details-marker{display:none!important}
.wh-cr-password-tools summary:before{
  content:"↻"!important;
  margin-right:5px!important;
}
.wh-cr-password-tools[open] summary{
  border-color:#b9d0f6!important;
  background:#f3f8ff!important;
  color:#1769ff!important;
}
.wh-cr-password-tools-body{
  margin-top:9px!important;
  display:grid!important;
  grid-template-columns:minmax(180px,.8fr) auto minmax(340px,1.2fr)!important;
  gap:10px!important;
  align-items:end!important;
  padding:11px!important;
  border:1px solid #e4ebf2!important;
  border-radius:12px!important;
  background:#f9fbfd!important;
}
.wh-cr-password-help{
  display:grid!important;
  gap:3px!important;
}
.wh-cr-password-help strong{
  color:#17324f!important;
  font-size:9px!important;
}
.wh-cr-password-help span{
  color:#758697!important;
  font-size:7.5px!important;
  line-height:1.35!important;
}
.wh-cr-password-reset-mail{
  margin:0!important;
}
.wh-cr-password-temp-form{
  margin:0!important;
  display:grid!important;
  grid-template-columns:minmax(190px,1fr) auto!important;
  gap:7px!important;
  align-items:end!important;
}
.wh-cr-password-temp-form label{
  display:grid!important;
  gap:4px!important;
  color:#53697d!important;
  font-size:7.5px!important;
  font-weight:800!important;
}
.wh-cr-password-temp-form input{
  min-height:38px!important;
  width:100%!important;
}
@media(max-width:1050px){
  .wh-cr-password-tools-body{
    grid-template-columns:1fr 1fr!important;
  }
  .wh-cr-password-help{grid-column:1/-1!important}
  .wh-cr-password-temp-form{grid-template-columns:1fr!important}
}
@media(max-width:720px){
  .wh-cr-password-tools-body{
    grid-template-columns:1fr!important;
  }
  .wh-cr-password-reset-mail .button,
  .wh-cr-password-temp-form .button{
    width:100%!important;
  }
}

/* ========================================================================
   WHYHAB v2.0.14 — LISTINO PARTNER / CHIUSURA ECONOMICA
   ======================================================================== */
.wh-partner-pricebook,.wh-partner-billing{margin-top:18px!important}
.wh-pricebook-regions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 14px}
.wh-pricebook-regions a{padding:8px 12px;border:1px solid #dce5ee;border-radius:999px;text-decoration:none;font-weight:800;background:#fff}
.wh-pricebook-regions a.is-active{border-color:#9ec0ff;background:#f1f6ff;color:#1463ff}
.wh-pricebook-table{display:grid;gap:0;border:1px solid #e5ebf1;border-radius:14px;overflow:hidden;margin:12px 0}
.wh-pricebook-table>div{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(130px,.8fr) minmax(190px,1fr) minmax(160px,.9fr) minmax(180px,1fr);gap:10px;align-items:center;padding:11px 12px;border-top:1px solid #edf1f5;background:#fff}
.wh-pricebook-table>div:first-child{border-top:0}
.wh-pricebook-table>.is-head{background:#f7f9fc;font-size:11px;font-weight:900;color:#617387;text-transform:uppercase}
.wh-pricebook-table span{display:grid;gap:3px;min-width:0}
.wh-pricebook-table small{color:#7b8b9c;font-size:11px}
.wh-pricebook-inputs{grid-template-columns:1fr 1fr!important;display:grid!important;gap:6px!important}
.wh-pricebook-inputs input{width:100%;min-width:0}
.wh-pricebook-actions{display:flex!important;gap:6px;flex-wrap:wrap}
.wh-pricebook-proposal{margin-top:14px;border:1px solid #e5ebf1;border-radius:12px;padding:10px 12px;background:#fbfcfe}
.wh-pricebook-proposal summary{cursor:pointer;font-weight:850;color:#284661}
.wh-pricebook-proposal form{margin-top:12px;display:grid;gap:10px}
.wh-ticket-settlement{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.wh-ticket-settlement span{display:inline-flex;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:900}
.wh-ticket-settlement .is-ok{background:#eaf8f0;color:#0b7748}
.wh-ticket-settlement .is-pending{background:#fff4df;color:#9a6109}
.wh-billing-box,.wh-settlement-summary{display:grid;gap:4px;padding:11px 12px;margin:10px 0;border:1px solid #e3eaf1;border-radius:12px;background:#f9fbfd}
.wh-billing-box span,.wh-settlement-summary span{color:#687b8e;font-size:12px}
.wh-settlement-update{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}
@media(max-width:900px){.wh-pricebook-table>div{grid-template-columns:1fr 1fr}.wh-pricebook-table>.is-head{display:none}.wh-pricebook-actions{grid-column:1/-1}}
@media(max-width:620px){.wh-pricebook-table>div{grid-template-columns:1fr}.wh-pricebook-inputs{grid-template-columns:1fr 1fr!important}.wh-settlement-update{align-items:stretch}.wh-settlement-update .button{width:100%}}


/* =========================================================
   v2.0.14.5 — WHYHAB PUBLIC BRAND / UX
   Marketing pubblico: Aubergine + Apricot + Warm Ivory.
   I colori semantici di stato (verde/arancio/rosso) restano invariati.
   ========================================================= */
:root{
  --wh-brand:#452457;
  --wh-brand-deep:#32183f;
  --wh-brand-accent:#f39a72;
  --wh-brand-accent-deep:#d97852;
  --wh-brand-ivory:#fff9f4;
  --wh-brand-lavender:#f0e9f3;
  --wh-brand-ink:#211d24;
  --wh-brand-muted:#706774;
  --wh-brand-border:#e6dce6;
}

/* HOME */
.wh-home{background:var(--wh-brand-ivory)!important;color:var(--wh-brand-ink)!important;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.wh-home-nav{background:rgba(255,249,244,.96)!important;border-bottom-color:var(--wh-brand-border)!important}
.wh-home-logo{color:var(--wh-brand-ink)!important}
.wh-home-wordmark{display:grid;line-height:1;gap:3px}
.wh-home-wordmark strong{font-size:21px;letter-spacing:-.8px}
.wh-home-wordmark small{font-size:8px;letter-spacing:.14em;color:#887b8b;font-weight:850}
.wh-home .wh-mark,.wh-public .wh-mark{background:linear-gradient(145deg,var(--wh-brand),var(--wh-brand-deep))!important;color:#fff!important;box-shadow:0 8px 18px rgba(69,36,87,.18)}
.wh-home-nav nav a{color:var(--wh-brand-ink)!important}
.wh-home-nav nav a:hover{color:var(--wh-brand)!important}
.wh-home .wh-btn,.wh-public .wh-btn{background:linear-gradient(135deg,var(--wh-brand),var(--wh-brand-deep))!important;box-shadow:0 9px 22px rgba(69,36,87,.18)!important;border:1px solid transparent!important;color:#fff!important}
.wh-home .wh-btn:hover,.wh-public .wh-btn:hover{transform:translateY(-1px);filter:brightness(1.03)}
.wh-home .wh-btn-network,.wh-public .wh-btn-network{background:#fff3ed!important;color:#8e452c!important;border-color:#efb79f!important;box-shadow:none!important}
.wh-home .wh-btn-network:hover,.wh-public .wh-btn-network:hover{background:#ffe8de!important;color:#71351f!important}
.wh-home .wh-btn-light,.wh-public .wh-btn-light{background:#fff!important;color:var(--wh-brand)!important;border-color:#cdbbd1!important;box-shadow:none!important}
.wh-home .wh-btn-white{background:#fff!important;color:var(--wh-brand)!important;border-color:#fff!important;box-shadow:none!important}
.wh-btn-large{padding:15px 22px!important;border-radius:13px!important;font-size:15px!important}
.wh-home .wh-kicker,.wh-public .wh-kicker{color:var(--wh-brand)!important;background:var(--wh-brand-lavender)!important}
.wh-home .wh-kicker-light{background:rgba(255,255,255,.16)!important;color:#fff!important}
.wh-hero h1{color:var(--wh-brand-ink)!important}
.wh-hero h1 span{color:var(--wh-brand)!important}
.wh-hero-copy>p{color:var(--wh-brand-muted)!important}
.wh-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.wh-benefits-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:24px}
.wh-benefits-strip>div{padding:14px 15px;border:1px solid var(--wh-brand-border);border-radius:14px;background:rgba(255,255,255,.72);display:grid;gap:3px}
.wh-benefits-strip strong{font-size:13px;color:var(--wh-brand-ink)}
.wh-benefits-strip span{font-size:11px;line-height:1.35;color:#807582}
.wh-hero-visual{background:radial-gradient(circle at 78% 18%,#fff 0,#f7edf2 38%,#f2e8ee 74%)!important;border-color:#e6d8e2!important}
.wh-preview{border-color:#e5dbe4!important;box-shadow:0 32px 75px rgba(69,36,87,.15)!important}
.wh-preview-dot{width:28px!important;height:28px!important;border-radius:8px!important;background:var(--wh-brand)!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:11px;font-weight:900}
.wh-mini-blue{background:var(--wh-brand-lavender)!important;color:var(--wh-brand)!important}
.wh-preview-welcome small,.wh-preview-stats strong{color:var(--wh-brand)!important}
.wh-preview-progress i{background:var(--wh-brand)!important}
.wh-avatar{background:var(--wh-brand-lavender)!important;color:var(--wh-brand)!important}
.wh-section-intro h2{color:var(--wh-brand-ink)}
.wh-section-intro p{color:var(--wh-brand-muted)!important}
.wh-value-section{padding-top:58px!important}
.wh-value-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.wh-value-grid article{background:#fff;border:1px solid var(--wh-brand-border);border-radius:20px;padding:26px;box-shadow:0 12px 34px rgba(69,36,87,.055)}
.wh-value-grid article>span{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--wh-brand-lavender);color:var(--wh-brand);font-weight:900;font-size:12px}
.wh-value-grid h3{font-size:18px;line-height:1.2;margin:18px 0 9px;color:var(--wh-brand-ink)}
.wh-value-grid p{margin:0;color:var(--wh-brand-muted);line-height:1.55;font-size:14px}
.wh-home .wh-soft{background:#f5edf3!important;border:1px solid #eadfe8!important}
.wh-how-grid>div{border-color:var(--wh-brand-border)!important;box-shadow:0 8px 25px rgba(69,36,87,.04)!important}
.wh-how-grid b{background:var(--wh-brand)!important}
.wh-how-grid p{color:var(--wh-brand-muted)!important}
.wh-services-grid div{border-color:var(--wh-brand-border)!important}
.wh-services-grid div span{background:var(--wh-brand-lavender)!important;color:var(--wh-brand)!important}
.wh-pricing{background:linear-gradient(135deg,var(--wh-brand),var(--wh-brand-deep))!important;box-shadow:0 26px 55px rgba(69,36,87,.17)}
.wh-pricing p{color:#f0e4f1!important}
.wh-pricing>div:first-child>small{color:#dbc9df!important}
.wh-network-cta{max-width:1184px;margin:42px auto 72px;padding:44px 48px;border:1px solid #efc3b1;border-radius:24px;background:linear-gradient(135deg,#fff5ef,#fffaf7);display:flex;align-items:center;justify-content:space-between;gap:34px}
.wh-network-cta>div:first-child{max-width:760px}
.wh-network-cta h2{font-size:36px;line-height:1.08;letter-spacing:-1.2px;margin:15px 0 10px;color:var(--wh-brand-ink)}
.wh-network-cta p{margin:0;color:var(--wh-brand-muted);line-height:1.6}
.wh-network-cta-actions{min-width:230px;display:grid;gap:9px;text-align:center}
.wh-network-cta-actions small{font-size:11px;color:#8d7064}
.wh-home-footer{border-top-color:var(--wh-brand-border)!important}
.wh-home-footer p{color:#887d89!important}
.wh-mobile-dual-cta{display:none}

/* PUBLIC FORM PAGES */
.wh-public{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;min-height:100vh!important;padding:0!important;background:linear-gradient(145deg,var(--wh-brand-ivory),#f5edf3)!important;color:var(--wh-brand-ink)!important}
.wh-public-topbar{position:sticky;top:0;z-index:50;width:100%;box-sizing:border-box;padding:14px max(20px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px;background:rgba(255,249,244,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--wh-brand-border)}
.wh-public-logo{display:flex;align-items:center;gap:9px;text-decoration:none!important;color:var(--wh-brand-ink)!important;white-space:nowrap}
.wh-public-logo>span:last-child{display:grid;gap:2px;line-height:1}
.wh-public-logo strong{font-size:20px;letter-spacing:-.7px}
.wh-public-logo small{font-size:7px;font-weight:850;letter-spacing:.15em;color:#887b8b}
.wh-public-nav{display:flex;align-items:center;gap:24px}
.wh-public-nav a{font-size:13px;font-weight:750;text-decoration:none!important;color:var(--wh-brand-ink)!important}
.wh-public-nav a:hover{color:var(--wh-brand)!important}
.wh-public-top-actions{display:flex;gap:9px;align-items:center}
.wh-public-top-actions .wh-btn{padding:10px 13px!important;font-size:12px!important}
.wh-public-card{margin:50px auto 82px!important;width:min(820px,calc(100% - 40px))!important;background:#fff!important;border-color:var(--wh-brand-border)!important;box-shadow:0 24px 64px rgba(69,36,87,.11)!important;border-radius:26px!important;padding:42px!important}
.wh-public-card-brand{color:var(--wh-brand-ink)!important;margin-bottom:22px!important}
.wh-public-card h1{color:var(--wh-brand-ink)!important;font-size:38px!important;line-height:1.08!important}
.wh-public-card p{color:var(--wh-brand-muted)!important}
.wh-public-intro{margin:4px 0 26px}
.wh-public-intro .wh-lead{font-size:16px!important;line-height:1.6!important;margin:14px 0 16px!important}
.wh-public-benefit-row{display:flex;flex-wrap:wrap;gap:8px}
.wh-public-benefit-row span{display:inline-flex;padding:8px 10px;border-radius:999px;background:var(--wh-brand-lavender);color:#5f4169;font-size:11px;font-weight:800}
.wh-public .wh-form-section{background:#fffaf7!important;border-color:var(--wh-brand-border)!important}
.wh-public .wh-section-heading>span{background:var(--wh-brand)!important}
.wh-public .wh-form input:focus,.wh-public .wh-form select:focus,.wh-public .wh-form textarea:focus{outline:2px solid rgba(69,36,87,.12)!important;border-color:var(--wh-brand)!important}
.wh-public .wh-check a,.wh-public .wh-login-link a,.wh-public .wh-login-help a,.wh-public .wh-login-choices a{color:var(--wh-brand)!important}
.wh-login-choices{margin-top:20px;padding:16px 18px;border:1px solid var(--wh-brand-border);border-radius:14px;background:#fffaf7}
.wh-login-choices p{margin:4px 0!important;font-size:13px!important}

@media(max-width:980px){
  .wh-value-grid{grid-template-columns:repeat(2,1fr)}
  .wh-network-cta{margin:28px 18px 58px;flex-direction:column;align-items:flex-start;padding:34px}
  .wh-network-cta-actions{width:100%;min-width:0;text-align:left}
  .wh-public-nav{display:none}
}
@media(max-width:700px){
  .wh-home-nav{align-items:flex-start!important;flex-wrap:wrap!important}
  .wh-home-actions{width:100%;display:grid!important;grid-template-columns:1fr 1fr!important}
  .wh-home-actions .wh-btn-light{display:inline-block!important}
  .wh-home-actions .wh-btn{padding:10px 8px!important;font-size:12px!important;text-align:center}
  .wh-benefits-strip{grid-template-columns:1fr}
  .wh-value-grid{grid-template-columns:1fr}
  .wh-hero-actions{display:grid;grid-template-columns:1fr}
  .wh-hero-actions .wh-btn{text-align:center}
  .wh-network-cta h2{font-size:30px}
  .wh-mobile-dual-cta{position:fixed;left:0;right:0;bottom:0;z-index:80;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:9px 10px calc(9px + env(safe-area-inset-bottom));background:rgba(255,249,244,.97);backdrop-filter:blur(12px);border-top:1px solid var(--wh-brand-border);box-shadow:0 -12px 30px rgba(69,36,87,.08)}
  .wh-mobile-dual-cta .wh-btn{text-align:center;padding:11px 7px!important;font-size:12px!important}
  .wh-home{padding-bottom:70px!important}
  .wh-public-topbar{flex-wrap:wrap;padding:10px 12px}
  .wh-public-logo{flex:1}
  .wh-public-top-actions{order:3;width:100%;display:grid;grid-template-columns:1fr 1fr}
  .wh-public-top-actions .wh-btn{text-align:center}
  .wh-public-card{margin:28px auto 60px!important;width:calc(100% - 24px)!important;padding:26px!important;border-radius:20px!important}
  .wh-public-card h1{font-size:31px!important}
}

/* WHYHAB v2.0.14.6 — WH MONOGRAM BRAND SWITCH
   Solo identità visiva: nessuna modifica al workflow applicativo. */
.wh-mark{
  font-size:0!important;
  line-height:0!important;
  color:transparent!important;
  background-color:transparent!important;
  background-image:url("brand/whyhab-mark-web-512.png")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:hidden!important;
  flex:0 0 auto!important;
}
.wh-home .wh-mark,.wh-public .wh-mark,.wh-app-v200 .wh-mark,.wh-mobile-brand .wh-mark{
  background-color:transparent!important;
  background-image:url("brand/whyhab-mark-web-512.png")!important;
  box-shadow:none!important;
}
.wh-home-logo .wh-mark,.wh-public-logo .wh-mark{width:38px!important;height:38px!important}
.wh-sidebar .wh-mark,.wh-mobile-brand .wh-mark{width:34px!important;height:34px!important}
.wh-preview-dot{
  font-size:0!important;
  color:transparent!important;
  background-color:transparent!important;
  background-image:url("brand/whyhab-mark-web-512.png")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
  box-shadow:none!important;
}
.wh-home-wordmark strong,.wh-public-logo strong,.wh-brand-copy strong{color:#452457!important}
.wh-home-wordmark small,.wh-public-logo small,.wh-brand-copy small{color:#706774!important}
.wh-sidebar .wh-brand-copy strong,.wh-sidebar .wh-brand-copy small{color:#fff!important}
.wh-home-logo,.wh-public-logo,.wh-brand-link{gap:10px!important}


/* WHYHAB v2.0.14.7 — EMBEDDED WH LOGO
   Render the WH symbol as a real image across public UI, app shells and Control Room. */
img.wh-mark,img.wh-preview-dot,img.wh-cr-brand-mark{display:block!important;object-fit:contain!important;object-position:center!important;background:none!important;background-image:none!important;box-shadow:none!important;border:0!important;padding:0!important;flex:0 0 auto!important}
img.wh-mark{width:38px!important;height:38px!important;border-radius:0!important}
.wh-sidebar img.wh-mark,.wh-mobile-brand img.wh-mark{width:34px!important;height:34px!important}
img.wh-preview-dot{width:28px!important;height:28px!important;border-radius:0!important}
img.wh-cr-brand-mark{width:34px!important;height:34px!important;border-radius:0!important}
.wh-cr-login-brand-large img.wh-cr-brand-mark{width:46px!important;height:46px!important}
.wh-cr-front-brand img.wh-cr-brand-mark{width:32px!important;height:32px!important}
