/* Shared GW presentation: visual reference FC-01; all rules scoped to .gw-shell. */
.gw-shell{--gw-border:#c6d5df;--gw-ink:#203447;--gw-blue:#125c89;color:var(--gw-ink);font:var(--font-lista)/1.4 var(--font-famiglia);max-width:100%;min-width:0}
.gw-shell *{box-sizing:border-box}
.gw-shell .gw-module{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:#d5ebf7;border:1px solid var(--gw-border);border-radius:7px;padding:9px 12px}
.gw-shell .gw-module strong{display:block;color:#175c83;font-size:var(--font-medio)}.gw-shell .gw-module small{display:block;color:#527084}
.gw-shell .gw-module nav{display:flex;flex-wrap:wrap;gap:4px}.gw-shell .gw-module nav a{padding:6px 9px;border-radius:5px;text-decoration:none;font-weight:600;color:var(--gw-blue)}
.gw-shell .gw-module a.is-active,.gw-shell .gw-module nav a:hover{background:var(--gw-blue);color:white}
.gw-shell .section-title,.gw-shell .gw-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:12px 0 8px}
.gw-shell h2{margin:0;font-size:var(--font-titolo);color:#174e71}.gw-shell h3{font-size:var(--font-base);color:#15547a;margin:0 0 8px}.gw-shell p{margin:7px 0 10px}
.gw-shell a{color:#12618a}.gw-shell .btn-link,.gw-shell button{font:inherit;border:1px solid #93b4c7;border-radius:4px;padding:5px 9px;background:#e7f1f6;color:#15547b;font-weight:600;text-decoration:none;cursor:pointer;display:inline-block}
.gw-shell .primary,.gw-shell .gw-primary{background:#13618e;color:white;border-color:#13618e;padding:8px 12px}
.gw-shell input,.gw-shell select,.gw-shell textarea{font:inherit;color:#1d3142;border:1px solid #b9cbd6;border-radius:4px;padding:5px 6px;min-width:0;max-width:100%;background:white}
.gw-shell .gw-filters{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:8px 0}.gw-shell .gw-filters input[type=search]{width:270px}.gw-shell .gw-record-limit{display:inline-flex;flex-direction:row;align-items:center;white-space:nowrap;gap:7px;margin:0;font-weight:400}.gw-shell .gw-record-limit input{width:105px;min-width:80px}
.gw-shell .panel{padding:10px;margin:9px 0;border:1px solid var(--gw-border);border-radius:6px;background:#fff;box-shadow:none;min-width:0}
.gw-shell .two-col{gap:9px}.gw-shell .two-col>*{min-width:0}.gw-shell .form-stack{gap:8px}.gw-shell .form-stack label{gap:3px;font-size:var(--font-piccolo)}.gw-shell .pro-grid,.gw-shell .ana-form-grid{gap:7px 10px;margin-bottom:10px}.gw-shell .pro-grid label{gap:3px;font-size:var(--font-piccolo)}.gw-shell .pro-form h3{margin:16px 0 8px}
.gw-shell .ana-table-wrap,.gw-shell .gw-table-wrap{width:100%;overflow:auto;border:1px solid var(--gw-border);border-radius:5px;margin:9px 0;max-height:560px}
.gw-shell .ana-table,.gw-shell .gw-table{border-collapse:collapse;width:max-content;min-width:100%;font-size:var(--font-piccolo);line-height:1.18}
.gw-shell table th{position:sticky;top:0;z-index:2;background:#d4ebf6;color:#20435b;text-align:left;padding:7px;white-space:nowrap;border-bottom:1px solid #9bbccc}
.gw-shell table td{padding:4px 7px;border-bottom:1px solid #e9eded;white-space:nowrap;max-width:400px;overflow:hidden;text-overflow:ellipsis}
.gw-shell table tbody tr:nth-child(odd){background:#f4f3ef}.gw-shell table tbody tr:hover{background:#e8f8fc}.gw-shell table td a{font-weight:650;text-decoration:none}
.gw-shell .gw-sort{display:inline-flex;align-items:center;gap:5px;padding:5px 3px;border:1px solid transparent;border-radius:4px;color:inherit;text-decoration:none;white-space:nowrap}.gw-shell .gw-sort:hover,.gw-shell .gw-sort:focus-visible{border-color:#51769a;background:#e7eef6}.gw-shell th[aria-sort=ascending] .gw-sort,.gw-shell th[aria-sort=descending] .gw-sort{color:#174f81;background:#e7eef6}
.gw-shell .gw-pages{display:flex;justify-content:flex-end;gap:14px;padding:8px}.gw-shell .gw-help{color:#425c76;line-height:1.5}
.gw-shell .gw-badge{display:inline-block;min-width:25px;text-align:center;padding:2px 5px;border-radius:2px;background:#dde4e8;font-size:var(--font-piccolo);font-weight:700}.gw-shell .gw-badge.yes{background:#498b35;color:white}.gw-shell .gw-badge.no{background:#d63d43;color:white}.gw-shell td.num{text-align:right;font-variant-numeric:tabular-nums}.gw-shell .gw-group td{background:#c1e4d3;color:#225438;font-weight:700}.gw-shell .pro-thumb{height:26px;width:32px}.gw-shell .pro-no-photo{font-size:var(--font-medio);padding:0 6px}
@media(max-width:650px){.gw-shell .two-col,.gw-shell .pro-grid{grid-template-columns:1fr}.gw-shell .gw-filters input[type=search]{width:100%}.gw-shell .gw-module nav{width:100%}}

.gw-shell .gw-list-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0}.gw-shell .gw-list-content{width:100%}.gw-shell .gw-list-content .gw-table-wrap{max-height:65vh}.gw-shell .gw-editor{margin-top:16px}.gw-shell .gw-editor summary{list-style:none;width:max-content;max-width:100%;cursor:pointer}.gw-shell .gw-editor[open] summary{margin-bottom:10px}

/* Scorrimento continuo (ordine 005): contatore sempre visibile, collegamenti di riserva nascosti se c'è JavaScript */
.gw-shell .gw-pages{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--gw-border);z-index:3;align-items:center}.gw-shell .gw-pages-js .gw-nojs{display:none}
