/*
Theme Name: Gabrendo UI
Theme URI: https://gabrendo.it/
Author: MetriXrevolution
Description: Tema grafico modulare Gabrendo. Nessuna logica CRM o procedura applicativa.
Version: 6.0.0
Text Domain: gabrendo-trading
Requires at least: 6.4
Requires PHP: 8.0
*/
:root{--gt-black:#222225;--gt-dark:#30332f;--gt-sage:#818977;--gt-sage-2:#a4ab9b;--gt-light:#f5f6f3;--gt-white:#fff;--gt-border:#e1e3dc;--gt-radius:22px;--gt-shadow:0 18px 45px rgba(34,34,37,.11)}*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--gt-black);background:var(--gt-white);line-height:1.6}a{color:inherit}.gt-container{width:min(1180px,92vw);margin:0 auto}.gt-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--gt-border)}.gt-header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 0}.gt-logo img{width:210px;max-width:45vw;height:auto;display:block}.gt-nav{display:flex;align-items:center;gap:18px;font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.04em}.gt-nav a{text-decoration:none}.gt-btn,.gt-nav .gt-quote{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:12px 18px;background:var(--gt-black);color:#fff;text-decoration:none;font-weight:800;border:1px solid var(--gt-black);transition:.2s}.gt-btn:hover,.gt-nav .gt-quote:hover{background:var(--gt-sage);border-color:var(--gt-sage)}.gt-btn-secondary{background:transparent;color:var(--gt-black);border-color:var(--gt-sage)}.gt-hero{background:linear-gradient(135deg,#f5f6f3 0%,#fff 48%,#e7eadf 100%);padding:88px 0 70px;position:relative;overflow:hidden}.gt-hero:after{content:"";position:absolute;right:-80px;top:20px;width:420px;height:420px;border-radius:50%;background:rgba(129,137,119,.12)}.gt-hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:44px;align-items:center;position:relative;z-index:1}.gt-eyebrow{color:var(--gt-sage);font-weight:900;text-transform:uppercase;letter-spacing:.16em;font-size:13px}.gt-hero h1{font-size:clamp(40px,6vw,68px);line-height:1.02;margin:14px 0 20px;letter-spacing:-.04em}.gt-hero p{font-size:20px;max-width:680px;color:#4e514b}.gt-hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}.gt-trust-panel{background:#fff;border:1px solid var(--gt-border);box-shadow:var(--gt-shadow);border-radius:var(--gt-radius);padding:30px}.gt-trust-panel h2{margin-top:0}.gt-trust-list{list-style:none;margin:0;padding:0;display:grid;gap:14px}.gt-trust-list li{padding-left:28px;position:relative}.gt-trust-list li:before{content:"✓";position:absolute;left:0;color:var(--gt-sage);font-weight:900}.gt-section{padding:76px 0}.gt-section.alt{background:var(--gt-light)}.gt-section-head{max-width:800px;margin-bottom:30px}.gt-section-head h2{font-size:clamp(30px,4vw,46px);line-height:1.1;margin:0 0 12px}.gt-section-head p{font-size:18px;color:#555a52}.gt-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.gt-card{background:#fff;border:1px solid var(--gt-border);border-radius:var(--gt-radius);padding:28px;text-decoration:none;box-shadow:0 10px 25px rgba(34,34,37,.06);min-height:230px;display:flex;flex-direction:column;justify-content:space-between;transition:.2s}.gt-card:hover{transform:translateY(-4px);box-shadow:var(--gt-shadow);border-color:var(--gt-sage)}.gt-card-icon{font-size:34px}.gt-card h3{font-size:24px;line-height:1.15;margin:18px 0 10px}.gt-card p{color:#565b53;margin:0}.gt-card span{margin-top:20px;font-weight:900;color:var(--gt-sage)}.gt-split{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}.gt-box{background:var(--gt-dark);color:#fff;border-radius:var(--gt-radius);padding:36px;box-shadow:var(--gt-shadow)}.gt-box p{color:#dfe4d8}.gt-list{display:grid;gap:16px}.gt-list div{border-left:4px solid var(--gt-sage);padding:8px 0 8px 16px;background:#fff;border-radius:0 14px 14px 0}.gt-cta{background:linear-gradient(135deg,var(--gt-black),#454a3f);color:#fff;text-align:center;padding:70px 20px;border-radius:32px}.gt-cta h2{font-size:clamp(30px,4vw,48px);margin:0 0 12px}.gt-footer{background:#1f201f;color:#d8dbd2;padding:44px 0;margin-top:0}.gt-footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:26px}.gt-footer img{width:190px;background:#fff;border-radius:12px;padding:8px}.gt-page-hero{background:var(--gt-light);padding:70px 0}.gt-page-hero h1{font-size:clamp(38px,5vw,60px);line-height:1.05;margin:10px 0}.gt-content{padding:64px 0}.gt-form{display:grid;gap:14px;background:#fff;border:1px solid var(--gt-border);border-radius:var(--gt-radius);padding:28px;box-shadow:var(--gt-shadow)}.gt-form input,.gt-form textarea,.gt-form select{width:100%;padding:14px 16px;border:1px solid var(--gt-border);border-radius:14px;font-size:16px}.gt-form textarea{min-height:140px}.gt-form button{cursor:pointer}.gt-note{font-size:13px;color:#666}@media(max-width:900px){.gt-nav{display:none}.gt-hero-grid,.gt-split,.gt-footer-grid{grid-template-columns:1fr}.gt-cards{grid-template-columns:1fr 1fr}.gt-hero{padding-top:55px}}@media(max-width:620px){.gt-cards{grid-template-columns:1fr}.gt-logo img{width:170px}.gt-hero-actions .gt-btn{width:100%}.gt-section{padding:52px 0}}

.gt-skip-link{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}.gt-skip-link:focus{left:16px;top:16px;width:auto;height:auto;background:#fff;color:#000;z-index:9999;padding:10px;border-radius:8px}.gt-menu{display:flex;align-items:center;gap:18px;list-style:none;margin:0;padding:0}.gt-menu a{text-decoration:none}.gt-mobile-cta{display:none}.gt-hp{position:absolute;left:-9999px;height:1px;width:1px;overflow:hidden}.gt-success{background:#eef7ec;border:1px solid #b9d7b2;padding:12px 14px;border-radius:14px}.gt-error{background:#fff2f1;border:1px solid #e1aca7;padding:12px 14px;border-radius:14px}.gt-checkbox{font-size:14px;display:flex;gap:10px;align-items:flex-start}.gt-checkbox input{width:auto;margin-top:4px}.gt-editor-content{margin-top:28px}.gt-post-card{border-bottom:1px solid var(--gt-border);padding:20px 0}.gt-form input:focus,.gt-form textarea:focus,.gt-form select:focus,.gt-btn:focus,.gt-nav a:focus{outline:3px solid rgba(129,137,119,.32);outline-offset:2px}@media(max-width:900px){.gt-mobile-cta{display:inline-flex;border-radius:999px;padding:10px 14px;background:var(--gt-black);color:#fff;text-decoration:none;font-weight:800}.gt-menu{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}.gt-card:hover{transform:none}}

.gt-formlayer-box{display:block}.gt-product-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0}.gt-product-meta div{background:var(--gt-light);border:1px solid var(--gt-border);border-radius:16px;padding:16px}.gt-product-meta strong{display:block;color:var(--gt-sage);text-transform:uppercase;font-size:12px;letter-spacing:.08em}@media(max-width:760px){.gt-product-meta{grid-template-columns:1fr}}

/* Markus Enterprise v5.0 - footer/orari */
.gt-footer-grid-v137{grid-template-columns:1.2fr 1fr 1.15fr .9fr;gap:28px;align-items:flex-start}.gt-footer-hours{list-style:none;margin:10px 0 8px;padding:0;display:grid;gap:4px}.gt-footer-hours li{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(255,255,255,.12);padding:3px 0}.gt-footer-hours span{opacity:.78}.gt-footer-hours strong{font-weight:700;text-align:right}.gt-next-holiday,.gt-footer-closure{margin-top:10px;padding:10px 12px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(255,255,255,.06)}.gt-office-table{display:grid;gap:10px;margin:18px 0}.gt-office-row{display:grid;grid-template-columns:160px 1fr;gap:12px;padding:14px 16px;border:1px solid #e6e8df;border-radius:14px;background:#fff}.gt-office-row em{grid-column:2;font-size:.92rem;color:#6f7764}.gt-closures-list{padding-left:20px}.gt-menu-fallback{display:flex;gap:18px;flex-wrap:wrap;align-items:center}
@media(max-width:900px){.gt-footer-grid-v137{grid-template-columns:1fr}.gt-office-row{grid-template-columns:1fr}.gt-office-row em{grid-column:auto}.gt-footer-hours li{max-width:360px}}


/* Markus Enterprise - stato operativo footer */
.gt-footer-status{display:flex;align-items:flex-start;gap:10px;margin:0 0 14px;padding:12px 13px;border-radius:14px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.07)}
.gt-footer-status strong{display:block;color:#fff;line-height:1.15}.gt-footer-status small{display:block;margin-top:4px;color:#d8dbd2;line-height:1.35}.gt-status-dot{font-size:18px;line-height:1}.gt-status-green{box-shadow:inset 4px 0 0 #74c476}.gt-status-red{box-shadow:inset 4px 0 0 #ff6b5f}.gt-footer-hours-compact li{display:block}.gt-footer-hours-compact span{display:block;font-weight:700;color:#fff;opacity:1}.gt-footer-hours-compact strong{display:block;text-align:left;color:#d8dbd2;font-weight:600}.gt-next-holiday span{opacity:.82}.gt-next-holiday small{opacity:.88}


/* v1.3.9 Markus footer status line-break fix */
.gt-footer-status .gt-status-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;min-width:0}
.gt-footer-status .gt-status-title{display:block!important;color:#fff;font-weight:800;line-height:1.18;margin:0 0 3px}
.gt-footer-status .gt-status-message{display:block!important;color:#d8dbd2;font-size:13px;line-height:1.35;white-space:normal}
.gt-footer-status strong,.gt-footer-status small{display:block!important}


/* v1.4.0 Markus Visual Trust Kit */
.gt-visual-section{padding-top:56px;background:#fff}.gt-visual-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.gt-visual-grid-landing{grid-template-columns:minmax(0,760px);max-width:860px}.gt-visual-card{margin:0;border:1px solid var(--gt-border);border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 10px 28px rgba(34,34,37,.07)}.gt-visual-card img{display:block;width:100%;height:230px;object-fit:cover;background:var(--gt-light)}.gt-visual-grid-landing .gt-visual-card img{height:min(420px,52vw)}.gt-visual-card figcaption{display:grid;gap:4px;padding:16px 18px}.gt-visual-card figcaption strong{font-size:18px;color:var(--gt-black)}.gt-visual-card figcaption span{font-size:14px;color:#596057;line-height:1.45}@media(max-width:980px){.gt-visual-grid{grid-template-columns:1fr 1fr}.gt-visual-grid-landing{grid-template-columns:1fr}}@media(max-width:620px){.gt-visual-grid{grid-template-columns:1fr}.gt-visual-card img{height:220px}}


/* v1.4.1 Markus footer forced two-line status fix */
.gt-footer-status{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;align-items:start!important;column-gap:10px!important;row-gap:0!important}
.gt-footer-status .gt-status-dot{grid-column:1!important;grid-row:1 / span 2!important;display:block!important}
.gt-footer-status .gt-status-copy{grid-column:2!important;display:block!important;white-space:normal!important}
.gt-footer-status .gt-status-title{display:block!important;width:100%!important;margin:0 0 4px!important;white-space:normal!important}
.gt-footer-status .gt-status-message{display:block!important;width:100%!important;margin:0!important;white-space:normal!important;clear:both!important}


/* v1.4.2 appointment/conference fields */
.gt-meeting-fields{border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:16px;margin:8px 0 14px;background:rgba(255,255,255,.04)}
.gt-tool-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin-top:8px}
.gt-tool-choice{display:flex;gap:8px;align-items:center;border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:10px;background:rgba(255,255,255,.05);cursor:pointer}
.gt-tool-choice input{width:auto}
.gt-tool-choice span{font-size:1.2rem}


/* v1.5.0 Markus Media Manager UI */
.gt-media-preview{margin:10px 0 8px;max-width:360px;border:1px solid #dcdcde;border-radius:12px;background:#f6f7f7;overflow:hidden}
.gt-media-preview img{display:block;width:100%;height:auto;max-height:220px;object-fit:cover}
.gt-media-actions{display:flex;gap:8px;align-items:center;margin:8px 0 12px}

/* Markus v1.6.0 - SEO + Media Enterprise */
.gt-featured-image{margin:0 0 26px;border-radius:22px;overflow:hidden;background:#f4f4f1;box-shadow:0 16px 40px rgba(0,0,0,.08)}
.gt-featured-image img{display:block;width:100%;height:auto}
.gt-content-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:34px 0 0}
.gt-content-gallery figure{margin:0;border-radius:18px;overflow:hidden;background:#f4f4f1;box-shadow:0 10px 26px rgba(0,0,0,.07)}
.gt-content-gallery img{display:block;width:100%;height:220px;object-fit:cover}
@media(max-width:760px){.gt-content-gallery{grid-template-columns:1fr}.gt-content-gallery img{height:auto}}


/* v1.7.0 Markus Platinum Operations */
.gt-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.gt-kpi-card{background:#fff;border:1px solid #dfe3d8;border-radius:18px;padding:20px;box-shadow:0 8px 22px rgba(0,0,0,.05)}.gt-kpi-card span{display:block;color:#6b7166;font-weight:700;text-transform:uppercase;font-size:12px;letter-spacing:.08em}.gt-kpi-card strong{display:block;font-size:38px;line-height:1.05;margin-top:8px}.gt-choice-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:12px 0 20px}.gt-choice-grid label{background:#f7f8f4;border:1px solid #dfe3d8;border-radius:14px;padding:14px;font-weight:700}.gt-wizard-form h2{margin-top:26px;border-top:1px solid #e2e4dd;padding-top:18px}.gt-notes-list{display:grid;gap:10px;margin-left:0;padding-left:0;list-style:none}.gt-notes-list li{background:#f7f8f4;border:1px solid #e2e4dd;border-radius:12px;padding:12px}.gt-request-body{background:#fff;border:1px solid #e2e4dd;border-radius:14px;padding:14px;margin:12px 0 18px;max-width:900px}@media(max-width:900px){.gt-kpi-grid,.gt-choice-grid{grid-template-columns:1fr}}


/* Markus Enterprise - CRM Light Operations */
.gt-crm-kanban{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:16px 0}.gt-crm-stage{border:1px solid #dfe4d8;background:#fff;border-radius:16px;padding:14px;box-shadow:0 8px 20px rgba(34,34,37,.05)}.gt-crm-stage strong{display:block;font-size:13px;line-height:1.25}.gt-crm-stage span{display:inline-flex;margin-top:10px;border-radius:999px;background:#30332f;color:#fff;min-width:30px;height:30px;align-items:center;justify-content:center;font-weight:800}.gt-crm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.gt-crm-form label{display:block;font-weight:700;margin:0 0 12px}.gt-crm-form input,.gt-crm-form select,.gt-crm-search input{width:100%;max-width:100%;padding:8px 10px}.gt-crm-search{display:flex;gap:10px;max-width:720px;margin:0 0 16px}.gt-crm-due td{box-shadow:inset 4px 0 0 #d63638;background:#fff8f8}.gt-crm-wrap .button{margin:2px}@media(max-width:900px){.gt-crm-grid{grid-template-columns:1fr}.gt-crm-search{display:block}.gt-crm-search .button{margin-top:8px}}

/* Markus Enterprise - Login / Area riservata */
.gt-login-area{max-width:980px;margin:48px auto;padding:24px}.gt-login-card{background:#fff;border:1px solid rgba(15,23,42,.10);border-radius:24px;box-shadow:0 20px 50px rgba(15,23,42,.10);padding:34px}.gt-login-card h1{margin-top:0}.gt-login-form{display:grid;gap:16px;max-width:480px}.gt-login-form input[type=text],.gt-login-form input[type=password]{width:100%;padding:13px 14px;border:1px solid #cbd5e1;border-radius:12px}.gt-login-remember{display:flex;gap:8px;align-items:center}.gt-login-alert{background:#fff1f2;border:1px solid #fecdd3;color:#9f1239;border-radius:14px;padding:12px 14px;margin:12px 0}.gt-login-success{background:#ecfdf5;border:1px solid #bbf7d0;color:#065f46;border-radius:14px;padding:14px;margin:12px 0}.gt-login-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.gt-login-small{font-size:.92rem}.gt-btn{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;border-radius:999px;text-decoration:none;border:1px solid #cbd5e1;background:#fff;color:#0f172a;font-weight:700}.gt-btn-primary{background:#0f172a;color:#fff;border-color:#0f172a}.gt-btn:hover{text-decoration:none;filter:brightness(.96)}

/* Markus Enterprise - CRM Commerciale Front-end */
.gt-front-crm{max-width:1360px;margin:0 auto;padding:34px 18px;font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#152033}.gt-front-crm-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.gt-front-crm h1{margin:0;font-size:34px}.gt-front-crm h2{margin-top:0}.gt-front-kpi{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.gt-front-kpi span,.gt-front-panel{background:#fff;border:1px solid #e4e8f0;border-radius:18px;box-shadow:0 10px 30px rgba(16,27,54,.07)}.gt-front-kpi span{padding:18px}.gt-front-kpi strong{display:block;font-size:30px;color:#101b36}.gt-front-layout{display:grid;grid-template-columns:320px 1fr;gap:18px}.gt-front-panel{padding:20px;margin-bottom:18px}.gt-session-list{display:grid;gap:10px}.gt-session-card{display:block;padding:13px;border:1px solid #e8edf5;border-radius:14px;text-decoration:none;color:#152033;background:#f8fafc}.gt-session-card.is-active{border-color:#101b36;background:#eef4ff}.gt-session-card strong,.gt-session-card small,.gt-session-card em{display:block}.gt-session-card small{color:#667085;margin-top:4px}.gt-session-card em{color:#98a2b3;font-size:12px;margin-top:4px}.gt-front-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.gt-front-grid label{font-weight:700}.gt-front-grid input,.gt-front-grid select,.gt-front-grid textarea{width:100%;margin-top:6px;border:1px solid #d0d5dd;border-radius:12px;padding:10px;background:#fff}.gt-full{grid-column:1/-1}.gt-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:12px;border:1px solid #cbd5e1;background:#fff;color:#101b36;text-decoration:none;font-weight:700;cursor:pointer}.gt-btn-primary{background:#101b36;color:#fff;border-color:#101b36}.gt-front-alert{padding:12px 16px;border-radius:14px;margin-bottom:16px}.gt-front-alert-success{background:#ecfdf3;color:#027a48}.gt-front-alert-error{background:#fef3f2;color:#b42318}.gt-file-list,.gt-history{padding-left:18px}.gt-file-list li,.gt-history li{margin:8px 0}.gt-history em{color:#667085;margin-left:6px}@media(max-width:900px){.gt-front-layout{grid-template-columns:1fr}.gt-front-kpi{grid-template-columns:repeat(2,1fr)}.gt-front-grid{grid-template-columns:1fr}.gt-front-crm-head{display:block}}

/* Markus Enterprise - CRM sortable columns */
.gt-crm-sort{font-weight:700;text-decoration:none;white-space:nowrap;}
.gt-crm-sort:hover{text-decoration:underline;}
.gt-crm-sortable th{vertical-align:top;}
.gt-front-table-wrap{overflow-x:auto;}
.gt-front-session-table{width:100%;border-collapse:collapse;font-size:14px;}
.gt-front-session-table th,.gt-front-session-table td{padding:10px;border-bottom:1px solid rgba(0,0,0,.08);text-align:left;vertical-align:top;}
.gt-front-session-table th a{font-weight:700;text-decoration:none;}
.gt-front-session-table tr.is-active td{background:rgba(0,82,204,.08);}


/* Markus CRM 2.2.8 - fix leggibilita tabella e filtri */
.gt-crm-search{display:grid!important;grid-template-columns:minmax(260px,2fr) repeat(5,minmax(155px,1fr)) auto auto;gap:10px;max-width:none!important;align-items:center;margin:0 0 18px!important}
.gt-crm-search input,.gt-crm-search select{min-height:40px;width:100%;box-sizing:border-box}
.gt-crm-table-scroll{width:100%;overflow-x:auto;border:1px solid #dcdcde;border-radius:10px;background:#fff}
.gt-crm-clean-table{min-width:1280px;border:0!important}
.gt-crm-clean-table th{white-space:nowrap;vertical-align:middle!important;font-weight:700;padding:12px 10px!important;line-height:1.2}
.gt-crm-clean-table td{vertical-align:middle;padding:12px 10px!important;line-height:1.35}
.gt-crm-clean-table th a{text-decoration:none;display:inline-flex;gap:4px;align-items:center}
.gt-crm-clean-table .gt-crm-actions{white-space:nowrap;min-width:210px}
.gt-crm-clean-table .button{margin:2px!important}
@media(max-width:1200px){.gt-crm-search{grid-template-columns:1fr 1fr}.gt-crm-search .button{width:100%;text-align:center}}
@media(max-width:700px){.gt-crm-search{grid-template-columns:1fr}}

/* Markus Enterprise - filtri operativi */
.gt-crm-filter-card{padding:22px!important;border-radius:18px!important;background:#fff!important}
.gt-crm-filter-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px;border-bottom:1px solid #e7e9ef;padding-bottom:14px}
.gt-crm-filter-head h2{margin:0 0 4px!important;font-size:22px!important;line-height:1.2!important}
.gt-crm-filter-head p{margin:0!important;color:#5f6673;font-size:14px}
.gt-crm-reset-top{white-space:nowrap}
.gt-crm-filter-panel{display:block!important;max-width:none!important;margin:0!important}
.gt-crm-filter-search{margin-bottom:16px;max-width:760px}
.gt-crm-filter-search label,.gt-crm-filter-grid span{display:block;font-weight:700;margin-bottom:6px;color:#1d2327}
.gt-crm-filter-search input{width:100%!important;min-height:46px!important;font-size:15px!important;border-radius:8px!important;border:1px solid #c8ced8!important;padding:0 14px!important;box-sizing:border-box!important}
.gt-crm-filter-grid{display:grid;grid-template-columns:repeat(5,minmax(170px,1fr));gap:14px;margin:0 0 18px!important}
.gt-crm-filter-grid label{display:block;margin:0!important}
.gt-crm-filter-grid select{width:100%!important;min-height:44px!important;border-radius:8px!important;border:1px solid #c8ced8!important;background-color:#fff!important;padding:0 10px!important;box-sizing:border-box!important;max-width:none!important}
.gt-crm-filter-actions{display:flex;gap:12px;align-items:center;justify-content:flex-start;padding-top:4px}
.gt-crm-filter-actions .button{min-width:130px;text-align:center;border-radius:8px!important}
@media(max-width:1200px){.gt-crm-filter-grid{grid-template-columns:repeat(3,minmax(180px,1fr))}}
@media(max-width:782px){.gt-crm-filter-head{display:block}.gt-crm-reset-top{margin-top:12px}.gt-crm-filter-grid{grid-template-columns:1fr}.gt-crm-filter-actions{display:grid;grid-template-columns:1fr}.gt-crm-filter-actions .button{width:100%;min-width:0}}

/* Markus Enterprise - Access & Identity Layer */
.gt-header-access{display:flex;align-items:center;gap:8px;margin-left:auto;white-space:nowrap}
.gt-header-user{font-size:13px;font-weight:700;color:#0f172a;max-width:180px;overflow:hidden;text-overflow:ellipsis}
.gt-header-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 13px;border:1px solid rgba(15,23,42,.18);border-radius:999px;background:#fff;color:#0f172a;text-decoration:none;font-weight:800;font-size:13px;line-height:1}
.gt-header-link-primary{background:#101b36;color:#fff;border-color:#101b36}
.gt-header-link:hover{text-decoration:none;filter:brightness(.96)}
.gt-home-access-section{padding-top:30px;padding-bottom:30px}
.gt-home-access-card{display:grid;grid-template-columns:minmax(0,1.5fr) auto;gap:24px;align-items:center;background:linear-gradient(135deg,#101b36,#1d355f);color:#fff;border-radius:28px;padding:28px;box-shadow:0 22px 55px rgba(16,27,54,.18)}
.gt-home-access-card h2{margin:6px 0 10px;color:#fff;font-size:clamp(24px,3vw,36px)}
.gt-home-access-card p{margin:0;color:#dbe7ff;max-width:780px}
.gt-home-access-card .gt-eyebrow{color:#a9c4ff}
.gt-home-access-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.gt-home-access-card .gt-btn{background:#fff;color:#101b36;border-color:#fff}
.gt-home-access-card .gt-btn-primary{background:#f2b705;color:#101b36;border-color:#f2b705}
.gt-register-form input[type=email],.gt-login-form input[type=email]{width:100%;padding:13px 14px;border:1px solid #cbd5e1;border-radius:12px;box-sizing:border-box}
.gt-register-area .gt-login-card{max-width:720px;margin:0 auto}
@media(max-width:1100px){.gt-header-inner{gap:10px}.gt-header-access{order:5;width:100%;justify-content:flex-start;margin-left:0}.gt-header-user{max-width:100%}}
@media(max-width:800px){.gt-home-access-card{grid-template-columns:1fr}.gt-home-access-actions{justify-content:flex-start}.gt-header-link{padding:8px 11px}.gt-header-access{gap:6px;overflow-x:auto;padding-bottom:4px}}

/* Markus Enterprise - Commercial Hub UX */
.gt-commercial-hub{max-width:1320px;margin:0 auto;padding:34px 18px 60px;font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#142033;background:#f7f9fc;min-height:70vh}
.gt-hub-access-card,.gt-hub-hero,.gt-hub-work-panel,.gt-hub-kpi,.gt-hub-card{background:#fff;border:1px solid #e4e8f0;border-radius:24px;box-shadow:0 14px 36px rgba(16,27,54,.07)}
.gt-hub-access-card{padding:34px;max-width:760px;margin:50px auto}.gt-hub-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:30px;margin-bottom:20px;background:linear-gradient(135deg,#101b36,#1d355f);color:#fff}.gt-hub-eyebrow{display:inline-flex;font-size:13px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:#a9c4ff}.gt-hub-hero h1{margin:8px 0 10px;color:#fff;font-size:clamp(30px,4vw,48px);line-height:1.05}.gt-hub-hero p{margin:0;color:#dbe7ff;max-width:760px;font-size:16px;line-height:1.5}.gt-hub-hero-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;min-width:260px}.gt-hub-hero .gt-btn{background:#fff;color:#101b36;border-color:#fff}.gt-hub-hero .gt-btn-primary{background:#f2b705;border-color:#f2b705;color:#101b36}.gt-hub-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.gt-hub-kpi{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;align-items:center;padding:20px;text-decoration:none;color:#101b36}.gt-hub-kpi span{font-size:28px;grid-row:1/3}.gt-hub-kpi strong{font-size:34px;line-height:1}.gt-hub-kpi em{font-style:normal;color:#667085;font-size:13px;font-weight:800}.gt-hub-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.gt-hub-card{display:block;padding:22px;text-decoration:none;color:#101b36;min-height:142px;transition:transform .15s ease,box-shadow .15s ease}.gt-hub-card:hover,.gt-hub-kpi:hover{text-decoration:none;transform:translateY(-2px);box-shadow:0 20px 45px rgba(16,27,54,.12)}.gt-hub-card span{font-size:34px;display:block;margin-bottom:12px}.gt-hub-card strong{display:block;font-size:19px;margin-bottom:7px}.gt-hub-card small{display:block;color:#667085;line-height:1.45}.gt-hub-card-disabled{background:#fbfcff}.gt-hub-work-panel{padding:24px}.gt-hub-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;border-bottom:1px solid #edf0f5;padding-bottom:16px}.gt-hub-panel-head h2{margin:0 0 4px;font-size:24px}.gt-hub-panel-head p{margin:0;color:#667085}.gt-hub-empty{padding:18px;border-radius:16px;background:#f8fafc;color:#667085}.gt-hub-work-list{display:grid;gap:10px}.gt-hub-work-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px;border:1px solid #edf0f5;border-radius:16px;background:#fbfcff}.gt-hub-work-item strong{display:block}.gt-hub-work-item small{display:block;color:#667085;margin-top:4px}.gt-hub-work-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.gt-hub-work-meta a{font-weight:800;text-decoration:none}.gt-btn-mini{padding:7px 10px!important;border-radius:10px!important;font-size:13px!important}@media(max-width:1050px){.gt-hub-kpi-grid,.gt-hub-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gt-hub-hero{display:block}.gt-hub-hero-actions{justify-content:flex-start;margin-top:18px}}@media(max-width:700px){.gt-commercial-hub{padding:18px 12px 40px}.gt-hub-kpi-grid,.gt-hub-action-grid{grid-template-columns:1fr}.gt-hub-work-item{grid-template-columns:1fr}.gt-hub-work-meta{justify-content:flex-start}.gt-hub-panel-head{display:block}.gt-hub-panel-head .gt-btn{margin-top:12px}.gt-hub-hero{padding:22px}}


/* Markus Enterprise - Session CRM */
.gt-session-timeline{margin:18px 0 22px;padding:18px;border:1px solid rgba(15,23,42,.10);border-radius:18px;background:#f8fafc}
.gt-session-title-row{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:12px}
.gt-session-title-row h3{margin:0;font-size:18px;color:#0f172a}.gt-session-title-row span{font-size:13px;color:#64748b}
.gt-session-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.gt-session-card{padding:14px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;box-shadow:0 10px 22px rgba(15,23,42,.04)}
.gt-session-card.is-active{border-color:#2563eb;box-shadow:0 12px 28px rgba(37,99,235,.12)}.gt-session-card strong{display:block;color:#111827}.gt-session-card small{display:block;color:#2563eb;margin-top:4px}.gt-session-card p{margin:8px 0 0;font-size:13px;color:#475569;line-height:1.45}

/* Markus Enterprise - Calendario CRM interno */
.gt-appointment-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}.gt-appointment-tabs a{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;border-radius:999px;background:#fff;border:1px solid #dbe2ee;color:#101b36;text-decoration:none;font-weight:900}.gt-appointment-tabs a.is-active{background:#101b36;color:#fff;border-color:#101b36}.gt-appointment-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr);gap:18px}.gt-appointment-list{display:grid;gap:12px}.gt-appointment-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.05)}.gt-appointment-card strong{display:block;font-size:17px;color:#0f172a}.gt-appointment-card small{display:block;color:#2563eb;font-weight:800;margin-top:4px}.gt-appointment-card p{margin:8px 0 0;color:#64748b}.gt-appointment-actions{display:grid;gap:8px;justify-items:end}.gt-appointment-actions span{font-size:12px;text-transform:uppercase;letter-spacing:.06em;font-weight:900;color:#475569;background:#f1f5f9;border-radius:999px;padding:6px 10px}.gt-appointment-actions form{display:flex;gap:6px;align-items:center}.gt-appointment-actions select{min-height:34px;border:1px solid #cbd5e1;border-radius:10px}.gt-appointment-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gt-appointment-form label{display:block;font-weight:900;color:#101b36}.gt-appointment-form input,.gt-appointment-form select,.gt-appointment-form textarea{display:block;width:100%;margin-top:6px;border:1px solid #cbd5e1;border-radius:12px;padding:11px 12px;box-sizing:border-box;background:#fff}.gt-appointment-form .gt-full{grid-column:1/-1}.gt-success{border-color:#bbf7d0!important;background:#f0fdf4!important;color:#166534!important}.gt-error{border-color:#fecaca!important;background:#fef2f2!important;color:#991b1b!important}@media(max-width:1000px){.gt-appointment-layout{grid-template-columns:1fr}.gt-appointment-card{grid-template-columns:1fr}.gt-appointment-actions{justify-items:start}.gt-appointment-form{grid-template-columns:1fr}}


/* Markus Enterprise - Google Calendar Sync Layer */
.gt-google-panel{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin:0 0 18px;padding:18px;border:1px solid #dbe2ee;border-radius:20px;background:#fff;box-shadow:0 12px 28px rgba(16,27,54,.06)}
.gt-google-panel-main{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.gt-google-panel-main strong{font-size:18px;color:#101b36}.gt-google-panel-main p{margin:4px 0 0;color:#667085}.gt-google-admin{border-top:1px solid #edf0f5;padding-top:12px}.gt-google-admin summary{cursor:pointer;font-weight:900;color:#101b36}.gt-google-settings-form{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;margin-top:12px}.gt-google-settings-form label{font-weight:900}.gt-google-settings-form input{display:block;width:100%;margin-top:6px;border:1px solid #cbd5e1;border-radius:12px;padding:10px 12px}.gt-google-alert{padding:10px 12px;border-radius:12px;margin:10px 0}.gt-google-ok{background:#f0fdf4;color:#166534;border:1px solid #bbf7d0}.gt-google-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}@media(max-width:900px){.gt-google-settings-form{grid-template-columns:1fr}.gt-google-panel-main{display:block}.gt-google-panel-main .gt-btn{margin-top:10px}}


/* Markus Enterprise - Preventivi Integrati */
.gt-quotes-hub .gt-quote-form label{display:flex;flex-direction:column;gap:8px;font-weight:800;color:#182230}.gt-quotes-hub .gt-quote-form input,.gt-quotes-hub .gt-quote-form select,.gt-quotes-hub .gt-quote-form textarea{width:100%;border:1px solid #d0d5dd;border-radius:14px;padding:12px 14px;background:#fff;font:inherit}.gt-quotes-hub .gt-full{grid-column:1/-1}.gt-front-table-wrap{overflow-x:auto}.gt-front-table{width:100%;border-collapse:separate;border-spacing:0 8px}.gt-front-table th{text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#667085;padding:8px 10px}.gt-front-table td{background:#fff;border-top:1px solid #eaecf0;border-bottom:1px solid #eaecf0;padding:12px 10px;vertical-align:middle}.gt-front-table td:first-child{border-left:1px solid #eaecf0;border-radius:14px 0 0 14px}.gt-front-table td:last-child{border-right:1px solid #eaecf0;border-radius:0 14px 14px 0}.gt-front-table small{display:block;color:#667085;margin-top:4px}.gt-mini-filter{display:flex;gap:8px;align-items:center}.gt-mini-filter select{border:1px solid #d0d5dd;border-radius:12px;padding:9px 12px;background:#fff}@media(max-width:760px){.gt-mini-filter{width:100%;align-items:stretch;flex-direction:column}.gt-quotes-hub .gt-hub-panel-head{align-items:flex-start}}

/* Markus Enterprise - Area Cliente + Direzione Commerciale */
.gt-customer-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:18px;margin-bottom:20px}.gt-customer-layout-bottom{grid-template-columns:1fr 1fr}.gt-customer-request-form{display:grid;gap:12px;margin-bottom:18px}.gt-customer-request-form label{display:grid;gap:8px;font-weight:900;color:#101b36}.gt-customer-request-form textarea{width:100%;border:1px solid #d0d5dd;border-radius:14px;padding:12px 14px;background:#fff;font:inherit;box-sizing:border-box}.gt-document-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.gt-document-card{display:block;text-decoration:none;color:#101b36;background:#fff;border:1px solid #eaecf0;border-radius:16px;padding:15px}.gt-document-card:hover{text-decoration:none;box-shadow:0 14px 32px rgba(16,27,54,.10)}.gt-document-card strong{display:block}.gt-document-card small{display:block;color:#667085;margin-top:5px}.gt-history-list{margin:0;padding-left:18px;color:#475467;line-height:1.65}.gt-pipeline-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.gt-pipeline-steps div{background:#f8fafc;border:1px solid #e4e8f0;border-radius:16px;padding:16px;text-align:center}.gt-pipeline-steps strong{display:block;font-size:28px;color:#101b36}.gt-pipeline-steps span{display:block;color:#667085;font-weight:900;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.gt-alert-list{margin:0;padding:0;list-style:none;display:grid;gap:10px}.gt-alert-list li{padding:12px 14px;border-radius:14px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-weight:800}.gt-direction-area .gt-hub-kpi strong{font-size:30px}.gt-v250-admin-extra{margin-top:20px}@media(max-width:980px){.gt-customer-layout,.gt-customer-layout-bottom{grid-template-columns:1fr}.gt-pipeline-steps{grid-template-columns:1fr 1fr}}@media(max-width:640px){.gt-pipeline-steps{grid-template-columns:1fr}}


/* Markus Enterprise - Client Timeline & Order Workflow */
.gt-client-timeline{list-style:none;margin:0;padding:0;display:grid;gap:14px;position:relative}
.gt-client-timeline li{display:grid;grid-template-columns:22px 1fr;gap:12px;align-items:start}
.gt-timeline-dot{width:14px;height:14px;border-radius:50%;background:#0f766e;margin-top:8px;box-shadow:0 0 0 4px rgba(15,118,110,.12)}
.gt-timeline-card{background:#fff;border:1px solid rgba(15,23,42,.10);border-radius:16px;padding:14px 16px;box-shadow:0 10px 22px rgba(15,23,42,.06)}
.gt-timeline-card strong{display:block;font-size:1rem;color:#0f172a;margin-bottom:3px}
.gt-timeline-card time{display:block;font-size:.82rem;color:#64748b;margin-bottom:8px}
.gt-timeline-card p{margin:.35rem 0;color:#334155;line-height:1.45}
.gt-timeline-card small,.gt-timeline-card em{display:inline-block;margin-top:7px;margin-right:8px;padding:4px 8px;border-radius:999px;background:#f1f5f9;color:#334155;font-style:normal;font-size:.78rem}
.gt-workflow-area .gt-workflow-form select,.gt-workflow-area .gt-workflow-form input,.gt-workflow-area .gt-workflow-form textarea,.gt-workflow-select select{width:100%;max-width:100%}
.gt-v251-customer-workflow{border-left:4px solid #0f766e}
.gt-v251-customer-orders{border-left:4px solid #2563eb}
.gt-v251-customer-actions{border-left:4px solid #f59e0b}

/* Markus Enterprise - Header access/account UX */
.gt-header-access-v255{position:relative;display:flex;align-items:center;gap:10px;flex:0 0 auto}.gt-header-icon-link{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(16,27,54,.16);border-radius:999px;background:#fff;color:#101b36;text-decoration:none;box-shadow:0 10px 22px rgba(16,27,54,.08);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.gt-header-icon-link svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.gt-header-icon-link:hover,.gt-header-icon-link:focus{transform:translateY(-1px);border-color:#0b5cab;box-shadow:0 16px 30px rgba(11,92,171,.16);outline:none}.gt-header-account-menu{position:absolute;right:0;top:calc(100% + 10px);min-width:220px;background:#fff;border:1px solid rgba(16,27,54,.12);border-radius:18px;box-shadow:0 22px 50px rgba(16,27,54,.18);padding:12px;z-index:999;display:none}.gt-header-access-v255:hover .gt-header-account-menu,.gt-header-access-v255:focus-within .gt-header-account-menu{display:grid;gap:4px}.gt-header-account-menu strong{display:block;padding:7px 10px 9px;color:#101b36;border-bottom:1px solid #edf0f5;margin-bottom:4px}.gt-header-account-menu a{display:flex;align-items:center;gap:8px;text-decoration:none;color:#101b36;padding:10px;border-radius:12px;font-weight:800}.gt-header-account-menu a:hover{background:#f4f7fb}.gt-header-account-menu svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.gt-login-register-actions{margin:14px 0;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.gt-login-register-actions span{font-weight:800;color:#475467}@media(max-width:768px){html,body{overflow-x:hidden}.gt-header-inner{gap:8px}.gt-header-access-v255{margin-left:auto}.gt-header-icon-link{width:40px;height:40px}.gt-header-icon-link svg{width:20px;height:20px}.gt-mobile-cta{padding:10px 14px!important;font-size:14px!important;min-height:40px!important;white-space:nowrap}.gt-header-account-menu{right:0;min-width:210px}.gt-header-access .gt-header-link,.gt-header-user{display:none!important}}

/* Markus Enterprise - Order Lifecycle Engine */
.gt-v260-progress{border:1px solid rgba(15,23,42,.12);border-radius:16px;padding:12px;background:#fff;min-width:170px}
.gt-v260-progress.is-compact{padding:8px;border-radius:12px;min-width:150px;font-size:12px}
.gt-v260-progress-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:8px;color:#0f172a}
.gt-v260-progress-head strong{font-size:13px;line-height:1.2}.gt-v260-progress-head span{font-weight:800}
.gt-v260-bar{height:8px;background:#e5e7eb;border-radius:999px;overflow:hidden}.gt-v260-bar span{display:block;height:100%;background:#d97706;border-radius:999px}
.gt-v260-green .gt-v260-bar span{background:#16a34a}.gt-v260-red .gt-v260-bar span{background:#dc2626}.gt-v260-yellow .gt-v260-bar span{background:#d97706}
.gt-v260-progress small{display:block;margin-top:7px;color:#475569;font-weight:700}.gt-v260-order-snapshot a{text-decoration:none}.gt-v260-order-snapshot strong{display:block;margin-bottom:6px}.gt-v260-order-group{margin:0 0 22px}.gt-v260-order-group h3{margin:0 0 10px}.gt-v260-customer-active{border-left:4px solid #d97706}
@media (max-width:780px){.gt-v260-progress{min-width:0}.gt-v260-order-snapshot .gt-v260-progress.is-compact{min-width:0}}

/* Markus Enterprise - Reference-only CRM layer */
.gt-v261-ref-list{display:flex;flex-wrap:wrap;gap:6px;margin:.45rem 0 .25rem}
.gt-v261-ref-list span{display:inline-flex;align-items:center;gap:4px;border:1px solid rgba(15,40,60,.14);background:#f8fafc;border-radius:999px;padding:4px 8px;font-size:12px;color:#334155}
.gt-v261-ref-list b{color:#0f3447;font-weight:700}
.gt-timeline-card .gt-v261-ref-list{margin-top:.55rem}


/* Markus Enterprise - Phase 2/3/4 Order Lifecycle finalization */
.gt-v262-phase-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0 22px}
.gt-v262-phase-card{background:#fff;border:1px solid rgba(15,23,42,.12);border-radius:18px;padding:16px;box-shadow:0 12px 30px rgba(15,23,42,.06)}
.gt-v262-phase-card span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:800;margin-bottom:5px}
.gt-v262-phase-card strong{display:block;font-size:17px;color:#0f172a;margin-bottom:5px}
.gt-v262-phase-card em{display:block;font-style:normal;color:#475569;font-size:13px;margin-bottom:10px;min-height:18px}
.gt-v262-phase-card.is-done{border-color:rgba(22,163,74,.35);background:linear-gradient(180deg,#f0fdf4,#fff)}
.gt-v262-phase-card.is-active{border-color:rgba(202,138,4,.38);background:linear-gradient(180deg,#fffbeb,#fff)}
.gt-v262-phase-card.is-locked{opacity:.72;background:#f8fafc}
.gt-v262-phase-card .gt-v260-bar{height:8px;background:#e5e7eb;border-radius:999px;overflow:hidden}
.gt-v262-phase-card .gt-v260-bar span{height:100%;display:block;background:#ca8a04;border-radius:999px}
.gt-v262-phase-card.is-done .gt-v260-bar span{background:#16a34a}
.gt-v262-phase-card.is-locked .gt-v260-bar span{background:#94a3b8}
@media(max-width:900px){.gt-v262-phase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.gt-v262-phase-grid{grid-template-columns:1fr}}

/* Markus Enterprise - Commercial Operating System UX */
.gt-v310-os{max-width:1280px;margin:0 auto;padding:24px 18px}.gt-v310-hero{margin-bottom:18px}.gt-v310-consolebar{background:#fff;border:1px solid rgba(15,23,42,.1);border-radius:24px;padding:16px;box-shadow:0 14px 40px rgba(15,23,42,.08);display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:20px}.gt-v310-search{display:flex;gap:8px;align-items:center;flex:1;min-width:280px}.gt-v310-search input{flex:1;border:1px solid rgba(15,23,42,.16);border-radius:18px;padding:13px 15px;font-size:15px}.gt-v310-iconbtn{width:46px;height:46px;border:1px solid rgba(15,23,42,.16);border-radius:16px;background:#f8fafc;color:#0f172a;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}.gt-v310-iconbtn svg{width:21px;height:21px}.gt-v310-main-actions{display:flex;gap:10px;flex-wrap:wrap}.gt-v310-list-head{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:18px 0}.gt-v310-list-head h2{margin:0 0 6px}.gt-v310-list-head p{margin:0;color:#64748b}.gt-v310-count{background:#f8fafc;border:1px solid rgba(15,23,42,.08);border-radius:18px;padding:12px 18px;text-align:center}.gt-v310-count strong{display:block;font-size:24px}.gt-v310-count span{font-size:12px;color:#64748b}.gt-v310-perpage{display:flex;align-items:center;gap:8px;margin-bottom:12px}.gt-v310-perpage a{border:1px solid rgba(15,23,42,.12);border-radius:12px;padding:6px 10px;text-decoration:none}.gt-v310-perpage a.active{background:#0f172a;color:#fff}.gt-v310-table-wrap{overflow:auto;background:#fff;border:1px solid rgba(15,23,42,.1);border-radius:22px;box-shadow:0 12px 35px rgba(15,23,42,.06)}.gt-v310-client-table{width:100%;border-collapse:collapse;min-width:980px}.gt-v310-client-table th,.gt-v310-client-table td{padding:14px 13px;border-bottom:1px solid rgba(15,23,42,.08);vertical-align:middle;text-align:left}.gt-v310-client-table th{font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:#64748b;background:#f8fafc}.gt-v310-client-table td small{display:block;color:#64748b;margin-top:4px}.gt-v310-badge{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-weight:700;font-size:12px;white-space:nowrap}.gt-v310-yellow{background:#fef3c7;color:#92400e}.gt-v310-blue{background:#dbeafe;color:#1e40af}.gt-v310-orange{background:#ffedd5;color:#9a3412}.gt-v310-green{background:#dcfce7;color:#166534}.gt-v310-red{background:#fee2e2;color:#991b1b}.gt-v310-purple{background:#ede9fe;color:#5b21b6}.gt-v310-progress{height:7px;background:#e5e7eb;border-radius:999px;overflow:hidden;margin-top:8px;min-width:120px}.gt-v310-progress span{display:block;height:100%;background:linear-gradient(90deg,#f59e0b,#22c55e);border-radius:999px}.gt-v310-progress-label{display:block;color:#64748b;font-size:11px;margin-top:4px}.gt-v310-inline-form{display:inline}.gt-v310-split-actions{display:flex;gap:8px;align-items:flex-start;flex-wrap:wrap}.gt-v310-reject summary{cursor:pointer;font-size:12px;color:#991b1b}.gt-v310-reject textarea{display:block;width:220px;margin:8px 0;border:1px solid rgba(15,23,42,.14);border-radius:12px;padding:8px}.gt-v310-muted{color:#64748b;font-size:13px}.gt-v310-pagination{display:flex;justify-content:center;gap:10px;margin:18px 0}.gt-v310-detail{background:#fff;border:1px solid rgba(15,23,42,.1);border-radius:24px;padding:22px;box-shadow:0 14px 40px rgba(15,23,42,.08)}.gt-v310-detail-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-bottom:1px solid rgba(15,23,42,.08);padding-bottom:16px;margin-bottom:18px}.gt-v310-detail-head h2{margin:0 0 8px}.gt-v310-detail-head p{margin:0;color:#64748b}.gt-v310-status-panel{background:#f8fafc;border-radius:20px;padding:18px;margin-bottom:18px}.gt-v310-nextbox{margin-top:14px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.gt-v310-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.gt-v310-info-grid div{background:#f8fafc;border-radius:16px;padding:12px}.gt-v310-info-grid strong{display:block;font-size:12px;color:#64748b}.gt-v310-info-grid span{font-weight:700}.gt-v310-notes,.gt-v310-history{border-top:1px solid rgba(15,23,42,.08);padding-top:18px;margin-top:18px}.gt-v310-notes textarea{width:100%;border:1px solid rgba(15,23,42,.14);border-radius:16px;padding:12px}.gt-v310-history ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}.gt-v310-history li{border-left:4px solid #0f766e;background:#f8fafc;border-radius:14px;padding:10px 12px}.gt-v310-history li strong{display:block;font-size:12px;color:#64748b}.gt-v310-history li span{display:block;font-weight:700}.gt-v310-history li em{display:block;margin-top:6px;color:#475569}.gt-v310-simple-page{background:#fff;border:1px solid rgba(15,23,42,.1);border-radius:24px;padding:24px;box-shadow:0 14px 40px rgba(15,23,42,.08)}@media(max-width:760px){.gt-v310-consolebar{display:block}.gt-v310-search{margin-bottom:12px}.gt-v310-main-actions{display:grid;grid-template-columns:1fr;gap:8px}.gt-v310-info-grid{grid-template-columns:1fr}.gt-v310-detail-head{display:block}.gt-v310-client-table{min-width:900px}.gt-v310-os{padding:16px 10px}}


/* Markus v3.2.0 - dashboard multi-commerciale e KPI */
.gt-v320-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:18px 0}.gt-v320-kpi{display:flex;flex-direction:column;gap:4px;padding:16px;border:1px solid rgba(15,32,64,.12);border-radius:18px;background:#fff;text-decoration:none;box-shadow:0 6px 22px rgba(15,32,64,.05)}.gt-v320-kpi strong{font-size:28px;color:#07152d}.gt-v320-kpi span{font-size:13px;color:#52627a}.gt-v320-reminders{background:#fff;border:1px solid rgba(15,32,64,.1);border-radius:18px;padding:16px;margin:14px 0}.gt-v320-reminders h3{margin:0 0 10px}.gt-v320-reminders ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}.gt-v320-reminders li{display:grid;grid-template-columns:90px 1fr auto;gap:10px;align-items:center;padding:10px;border-radius:12px;background:#f7f9fc}.gt-v320-reminders a{font-weight:700}.gt-v320-filter-links{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.gt-v320-consolebar svg,.gt-v310-iconbtn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.gt-v320-register-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.gt-v320-register-form .gt-login-remember,.gt-v320-register-form button,.gt-v320-register-form .gt-login-small{grid-column:1/-1}@media(max-width:700px){.gt-v320-reminders li{grid-template-columns:1fr}.gt-v320-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Markus v3.2.1 Enterprise responsive cleanup */
html, body { max-width: 100%; overflow-x: hidden; }
.gt-v310-consolebar, .gt-v310-main-actions, .gt-header-inner, .gt-front-grid, .gt-admin-grid { box-sizing: border-box; }
.gt-v310-consolebar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gt-v310-search { display: flex; align-items: center; gap: 8px; flex: 1 1 360px; min-width: 240px; }
.gt-v310-search input { min-width: 0; width: 100%; }
.gt-v310-iconbtn svg, .gt-header-icon-link svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.gt-v310-main-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.gt-v310-table-wrap, .gt-crm-table-scroll, .gt-front-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gt-v310-client-table { min-width: 920px; }
.gt-v310-client-table th, .gt-v310-client-table td { vertical-align: middle; }
.gt-v310-status-panel { display: grid; gap: 12px; }
.gt-v310-progress { width: 100%; max-width: 520px; }
.gt-header-access-v255 { position: relative; }
.gt-header-account-menu { min-width: 220px; right: 0; }
@media (max-width: 900px) {
  .gt-v310-consolebar { align-items: stretch; }
  .gt-v310-search { flex-basis: 100%; }
  .gt-v310-main-actions { width: 100%; }
  .gt-v310-main-actions .gt-btn { flex: 1 1 auto; text-align: center; }
}
@media (max-width: 640px) {
  .gt-header-inner { gap: 10px; }
  .gt-header-logo img { max-width: 132px; height: auto; }
  .gt-header-actions .gt-btn, .gt-btn { min-height: 40px; padding: 9px 12px; font-size: 14px; }
  .gt-header-icon-link, .gt-v310-iconbtn { width: 42px; height: 42px; min-width: 42px; display: inline-flex; align-items: center; justify-content: center; }
  .gt-v310-main-actions { display: grid; grid-template-columns: 1fr; }
  .gt-v310-client-table { min-width: 760px; }
  .gt-v310-list-head { display: grid; gap: 12px; }
  .gt-v310-count { justify-self: start; }
  .gt-front-grid, .gt-admin-grid { grid-template-columns: 1fr !important; }
}


/* Markus v3.2.2 - Enterprise consolidation hotfix */
.gt-v322-os .gt-hub-hero .gt-btn[href*="richiedi-quotazione"],
.gt-v322-os .gt-hub-card[href*="richiedi-quotazione"]{display:none!important}
.gt-v322-kpis{grid-template-columns:repeat(4,minmax(0,1fr));}
.gt-v322-assigned{display:block;margin-top:.35rem;font-size:.78rem;color:#64748b;font-weight:600;}
.gt-v322-free{color:#b45309;}
.gt-v322-take-form{margin:0;}
.gt-v322-take-panel,.gt-v322-assignment-panel{margin-bottom:1rem;}
.gt-v322-client-table td{vertical-align:middle;}
.gt-v322-alert svg{stroke:#9a3412;}
.gt-v322-reminders li{display:flex;gap:.65rem;align-items:center;justify-content:space-between;}
@media (max-width: 900px){
  .gt-v322-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}
  .gt-v322-client-table{min-width:980px;}
}
@media (max-width: 560px){
  .gt-v322-kpis{grid-template-columns:1fr;}
  .gt-v322-consolebar .gt-v310-search{grid-template-columns:1fr auto auto auto;}
  .gt-v322-consolebar .gt-v310-main-actions{display:grid;grid-template-columns:1fr;gap:.5rem;width:100%;}
  .gt-v322-reminders li{align-items:flex-start;flex-direction:column;}
}


/* Markus v3.2.3 - ATECO + commercial full width UX */
.gt-full-content{display:block!important;max-width:100%;}
.gt-full-content>article{width:100%;max-width:none;}
.gt-v323-advanced-filters{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:12px;align-items:end;background:#fff;border:1px solid #dbe4ef;border-radius:18px;padding:14px;margin:12px 0 20px;box-shadow:0 10px 24px rgba(15,23,42,.04)}
.gt-v323-advanced-filters label{font-size:12px;font-weight:700;color:#53657f;text-transform:uppercase;letter-spacing:.04em}
.gt-v323-advanced-filters input,.gt-v323-advanced-filters select{width:100%;min-height:42px;border:1px solid #d7e0ec;border-radius:12px;padding:8px 10px;background:#fff;color:#0b1734;text-transform:none;letter-spacing:0;font-size:14px;font-weight:600}
.gt-ateco-badge{display:inline-flex;align-items:center;justify-content:center;min-width:54px;padding:5px 9px;border-radius:999px;background:#eef6ff;color:#173b64;font-weight:800;font-size:12px;white-space:nowrap}
.gt-v322-client-table th a{color:inherit;text-decoration:none}
@media (max-width:900px){.gt-v323-advanced-filters{grid-template-columns:1fr 1fr}.gt-v322-client-table{min-width:1080px}}
@media (max-width:560px){.gt-v323-advanced-filters{grid-template-columns:1fr}}

/* Markus v4.0.1 - Client table header filters + provincia */
.gt-v401-sort-link{color:inherit;text-decoration:none;font-weight:800;display:inline-flex;align-items:center;gap:4px}
.gt-v401-sort-link:hover{text-decoration:underline}
.gt-v401-filter-row th{background:#fff!important;padding:8px 10px!important;vertical-align:top}
.gt-v401-filter-row input,.gt-v401-filter-row select{width:100%;max-width:150px;min-height:34px;border:1px solid #d5ddeb;border-radius:10px;padding:6px 8px;font-size:12px;background:#fff;color:#07142d;box-sizing:border-box}
.gt-v401-filter-row .gt-btn-mini{min-height:34px;padding:6px 10px;white-space:nowrap}
.gt-v401-table-filter-form{margin:0}
.gt-v401-filterable-table th:nth-child(6),.gt-v401-filterable-table td:nth-child(6){min-width:82px}
@media (max-width:900px){.gt-v401-filter-row input,.gt-v401-filter-row select{min-width:110px}.gt-v401-filterable-table{min-width:1100px}}

/* Markus v4.0.2 - Settore merceologico + tabella responsive finale */
.gt-front-crm,.gt-v400-shell,.gt-v400-page,.gt-v310-table-wrap{max-width:100%!important;box-sizing:border-box}
.gt-v310-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:22px}
.gt-v400-client-table,.gt-v401-filterable-table{width:100%;min-width:1540px;table-layout:auto;border-collapse:separate;border-spacing:0}
.gt-v400-client-table th,.gt-v400-client-table td{white-space:normal;vertical-align:middle}
.gt-v400-client-table th:nth-child(1),.gt-v400-client-table td:nth-child(1){min-width:260px}
.gt-v400-client-table th:nth-child(2),.gt-v400-client-table td:nth-child(2){min-width:150px}
.gt-v400-client-table th:nth-child(3),.gt-v400-client-table td:nth-child(3){min-width:135px}
.gt-v400-client-table th:nth-child(4),.gt-v400-client-table td:nth-child(4){min-width:180px}
.gt-v400-client-table th:nth-child(5),.gt-v400-client-table td:nth-child(5){min-width:110px}
.gt-v400-client-table th:nth-child(6),.gt-v400-client-table td:nth-child(6){min-width:150px}
.gt-v400-client-table th:nth-child(7),.gt-v400-client-table td:nth-child(7){min-width:110px}
.gt-v400-client-table th:nth-child(8),.gt-v400-client-table td:nth-child(8){min-width:170px}
.gt-v400-client-table th:nth-child(9),.gt-v400-client-table td:nth-child(9){min-width:170px}
.gt-v400-client-table th:nth-child(10),.gt-v400-client-table td:nth-child(10){min-width:145px}
.gt-v400-client-table th:nth-child(11),.gt-v400-client-table td:nth-child(11){min-width:110px}
.gt-v401-filter-row input,.gt-v401-filter-row select{width:100%!important;max-width:none!important;min-height:36px;border:1px solid #cfd8e6;border-radius:10px;padding:7px 9px;font-size:12px;background:#fff;color:#07142d;box-sizing:border-box}
.gt-v401-filter-row th{padding:8px 10px!important;background:#f8fafc!important}
.gt-sector-badge{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:4px 10px;border-radius:999px;background:#eef6ff;color:#12385f;font-size:12px;font-weight:800;line-height:1.2}
.gt-sector-badge:empty::after{content:'Da classificare'}
.gt-v402-assign-form{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:14px;align-items:end}
.gt-v402-checkbox{display:flex!important;align-items:center;gap:8px;margin:0!important}
.gt-v402-sector-assign{margin-top:22px}
.gt-v401-filter-muted{display:block;text-align:center;color:#94a3b8;padding:8px 0}
@media (max-width:1600px){.gt-v400-client-table,.gt-v401-filterable-table{min-width:1450px}.gt-v400-shell{padding-left:18px!important;padding-right:18px!important}}
@media (max-width:1200px){.gt-v400-client-table,.gt-v401-filterable-table{min-width:1380px}.gt-v402-assign-form{grid-template-columns:1fr 1fr}}
@media (max-width:760px){.gt-v310-table-wrap{margin-left:-8px;margin-right:-8px;border-radius:14px}.gt-v400-client-table,.gt-v401-filterable-table{min-width:1240px}.gt-v402-assign-form{grid-template-columns:1fr}.gt-v401-filter-row input,.gt-v401-filter-row select{font-size:11px;padding:6px}}

/* Markus v4.0.6 - Mobile/Tablet responsive final fix (desktop unchanged)
   Desktop remains table-based. Under 900px the client table becomes compact cards
   to avoid horizontal overflow and unreadable columns. */
@media (max-width: 900px){
  html, body{overflow-x:hidden!important;}
  .gt-v400-shell,
  .gt-v310-os,
  .gt-front-crm,
  .gt-commercial-hub{
    max-width:100%!important;
    width:100%!important;
    padding-left:12px!important;
    padding-right:12px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  .gt-v310-consolebar{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    padding:12px!important;
    border-radius:18px!important;
  }
  .gt-v310-search{
    display:grid!important;
    grid-template-columns:1fr 42px 42px!important;
    gap:8px!important;
    min-width:0!important;
    width:100%!important;
    margin:0!important;
  }
  .gt-v310-search input{
    min-width:0!important;
    width:100%!important;
    padding:11px 12px!important;
    font-size:14px!important;
  }
  .gt-v310-iconbtn{
    width:42px!important;
    height:42px!important;
    border-radius:13px!important;
  }
  .gt-v310-main-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    width:100%!important;
  }
  .gt-v310-main-actions .gt-btn,
  .gt-v310-main-actions .button{
    width:100%!important;
    justify-content:center!important;
    text-align:center!important;
    padding:10px 9px!important;
    font-size:13px!important;
    min-height:40px!important;
  }
  .gt-hub-kpi-grid,
  .gt-v320-kpi-grid,
  .gt-v322-kpi-grid{
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
  }
  .gt-hub-kpi,
  .gt-v320-kpi,
  .gt-v322-kpi{
    padding:12px!important;
    border-radius:16px!important;
  }
  .gt-hub-kpi strong,
  .gt-v320-kpi strong,
  .gt-v322-kpi strong{font-size:22px!important;}

  /* Convert client table to cards */
  .gt-v310-table-wrap,
  .gt-crm-table-scroll,
  .gt-front-table-wrap{
    overflow:visible!important;
    border:0!important;
    box-shadow:none!important;
    background:transparent!important;
  }
  .gt-v310-client-table,
  .gt-v400-client-table,
  .gt-v401-filterable-table,
  .gt-v322-client-table{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    border-collapse:separate!important;
    border-spacing:0!important;
  }
  .gt-v310-client-table thead,
  .gt-v400-client-table thead,
  .gt-v401-filterable-table thead,
  .gt-v322-client-table thead{
    display:none!important;
  }
  .gt-v310-client-table tbody,
  .gt-v400-client-table tbody,
  .gt-v401-filterable-table tbody,
  .gt-v322-client-table tbody{
    display:grid!important;
    gap:12px!important;
    width:100%!important;
  }
  .gt-v310-client-table tr,
  .gt-v400-client-table tr,
  .gt-v401-filterable-table tr,
  .gt-v322-client-table tr{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:0!important;
    background:#fff!important;
    border:1px solid rgba(15,23,42,.10)!important;
    border-radius:18px!important;
    padding:12px!important;
    box-shadow:0 10px 28px rgba(15,23,42,.06)!important;
    width:100%!important;
    box-sizing:border-box!important;
  }
  .gt-v310-client-table td,
  .gt-v400-client-table td,
  .gt-v401-filterable-table td,
  .gt-v322-client-table td{
    display:grid!important;
    grid-template-columns:118px minmax(0,1fr)!important;
    gap:10px!important;
    align-items:start!important;
    width:100%!important;
    box-sizing:border-box!important;
    padding:7px 0!important;
    border:0!important;
    border-bottom:1px solid rgba(15,23,42,.07)!important;
    background:transparent!important;
    border-radius:0!important;
    font-size:13px!important;
    line-height:1.35!important;
    white-space:normal!important;
    word-break:break-word!important;
  }
  .gt-v310-client-table td:last-child,
  .gt-v400-client-table td:last-child,
  .gt-v401-filterable-table td:last-child,
  .gt-v322-client-table td:last-child{
    border-bottom:0!important;
  }
  .gt-v310-client-table td:before,
  .gt-v400-client-table td:before,
  .gt-v401-filterable-table td:before,
  .gt-v322-client-table td:before{
    content:attr(data-label);
    font-weight:900;
    color:#64748b;
    text-transform:uppercase;
    letter-spacing:.03em;
    font-size:11px;
  }
  .gt-v310-client-table td:nth-child(1):before,.gt-v400-client-table td:nth-child(1):before,.gt-v401-filterable-table td:nth-child(1):before,.gt-v322-client-table td:nth-child(1):before{content:'Azienda';}
  .gt-v310-client-table td:nth-child(2):before,.gt-v400-client-table td:nth-child(2):before,.gt-v401-filterable-table td:nth-child(2):before,.gt-v322-client-table td:nth-child(2):before{content:'Referente';}
  .gt-v310-client-table td:nth-child(3):before,.gt-v400-client-table td:nth-child(3):before,.gt-v401-filterable-table td:nth-child(3):before,.gt-v322-client-table td:nth-child(3):before{content:'Telefono';}
  .gt-v310-client-table td:nth-child(4):before,.gt-v400-client-table td:nth-child(4):before,.gt-v401-filterable-table td:nth-child(4):before,.gt-v322-client-table td:nth-child(4):before{content:'Email';}
  .gt-v310-client-table td:nth-child(5):before,.gt-v400-client-table td:nth-child(5):before,.gt-v401-filterable-table td:nth-child(5):before,.gt-v322-client-table td:nth-child(5):before{content:'ATECO';}
  .gt-v310-client-table td:nth-child(6):before,.gt-v400-client-table td:nth-child(6):before,.gt-v401-filterable-table td:nth-child(6):before,.gt-v322-client-table td:nth-child(6):before{content:'Settore';}
  .gt-v310-client-table td:nth-child(7):before,.gt-v400-client-table td:nth-child(7):before,.gt-v401-filterable-table td:nth-child(7):before,.gt-v322-client-table td:nth-child(7):before{content:'Provincia';}
  .gt-v310-client-table td:nth-child(8):before,.gt-v400-client-table td:nth-child(8):before,.gt-v401-filterable-table td:nth-child(8):before,.gt-v322-client-table td:nth-child(8):before{content:'Stato';}
  .gt-v310-client-table td:nth-child(9):before,.gt-v400-client-table td:nth-child(9):before,.gt-v401-filterable-table td:nth-child(9):before,.gt-v322-client-table td:nth-child(9):before{content:'Prossima azione';}
  .gt-v310-client-table td:nth-child(10):before,.gt-v400-client-table td:nth-child(10):before,.gt-v401-filterable-table td:nth-child(10):before,.gt-v322-client-table td:nth-child(10):before{content:'Commerciale';}
  .gt-v310-client-table td:nth-child(11):before,.gt-v400-client-table td:nth-child(11):before,.gt-v401-filterable-table td:nth-child(11):before,.gt-v322-client-table td:nth-child(11):before{content:'Gestisci';}
  .gt-v310-split-actions,
  .gt-v310-client-table td:last-child,
  .gt-v400-client-table td:last-child,
  .gt-v401-filterable-table td:last-child{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .gt-v310-split-actions .button,
  .gt-v310-split-actions .gt-btn,
  .gt-v310-client-table td:last-child .button,
  .gt-v400-client-table td:last-child .button,
  .gt-v401-filterable-table td:last-child .button{
    width:100%!important;
    text-align:center!important;
    justify-content:center!important;
    margin:0!important;
    min-height:38px!important;
    font-size:13px!important;
    padding:9px 10px!important;
  }
}

@media (max-width: 520px){
  .gt-v310-os,.gt-v400-shell,.gt-front-crm,.gt-commercial-hub{padding-left:8px!important;padding-right:8px!important;}
  .gt-v310-main-actions{grid-template-columns:1fr!important;}
  .gt-hub-kpi-grid,.gt-v320-kpi-grid,.gt-v322-kpi-grid{grid-template-columns:1fr!important;}
  .gt-v310-client-table td,
  .gt-v400-client-table td,
  .gt-v401-filterable-table td,
  .gt-v322-client-table td{
    grid-template-columns:102px minmax(0,1fr)!important;
    gap:8px!important;
    font-size:12.5px!important;
  }
}

/* v5.0 Enterprise Footer final overrides */
.gt-status-orange{box-shadow:inset 4px 0 0 #f59e0b!important}.gt-footer-status.gt-status-orange{border-color:rgba(245,158,11,.45)!important}.gt-footer-status.gt-status-orange .gt-status-title{color:#fff!important}

/* v5.0.1 Markus footer compact final column */
.gt-v500-footer .gt-footer-status.gt-footer-status-compact{display:flex!important;align-items:center!important;gap:7px!important;margin:0 0 8px!important;padding:7px 9px!important;border-radius:10px!important;line-height:1.2!important}.gt-v500-footer .gt-footer-status-compact .gt-status-dot{font-size:13px!important;line-height:1!important}.gt-v500-footer .gt-footer-status-compact .gt-status-inline{font-size:12px!important;line-height:1.3!important}.gt-v500-footer .gt-footer-status-compact strong,.gt-v500-footer .gt-footer-status-compact em{display:inline!important}.gt-v500-footer .gt-footer-status-compact em{font-style:normal!important}.gt-v500-footer .gt-footer-hours li,.gt-v500-footer .gt-footer-hours-compact li{display:flex!important;justify-content:space-between!important;align-items:baseline!important;gap:10px!important;padding:4px 0!important}.gt-v500-footer .gt-footer-hours span,.gt-v500-footer .gt-footer-hours-compact span,.gt-v500-footer .gt-footer-hours strong,.gt-v500-footer .gt-footer-hours-compact strong{display:inline!important;font-size:12px!important;line-height:1.25!important;white-space:nowrap!important}.gt-v500-footer .gt-next-holiday.gt-next-holiday-compact{display:flex!important;gap:6px!important;margin:8px 0 0!important;padding:0!important;border:0!important;background:transparent!important;font-size:12px!important}.gt-v500-footer .gt-next-holiday-compact span,.gt-v500-footer .gt-next-holiday-compact strong{display:inline!important;white-space:normal!important}


/* ==========================================================
   GABRENDO UI 6.0 — RESPONSIVE REBUILD
   ========================================================== */
html{overflow-x:hidden}body{overflow-wrap:anywhere}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.gt-menu{display:flex;align-items:center;gap:18px;list-style:none;margin:0;padding:0}.gt-menu-toggle{display:none;background:#fff;border:1px solid var(--gt-border);border-radius:12px;width:46px;height:46px;padding:11px;cursor:pointer}.gt-menu-toggle span:not(.screen-reader-text){display:block;height:2px;background:var(--gt-black);margin:5px 0;border-radius:2px}.gt-header-cta{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:11px 16px;background:var(--gt-black);color:#fff;text-decoration:none;font-weight:800}.gt-app-shell{width:min(1500px,96vw)!important}.gt-page-hero-compact{padding:28px 0!important}.gt-page-hero-compact h1{font-size:clamp(28px,4vw,42px);margin-bottom:0}.gt-responsive-table{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:16px}.gt-responsive-table table{width:100%}.gt-ui-placeholder{padding:16px;border:1px dashed var(--gt-sage);border-radius:14px;background:var(--gt-light);font-weight:700}.gt-footer-bottom{border-top:1px solid rgba(255,255,255,.15);padding-top:18px;margin-top:22px;font-size:13px}

/* Neutralizza le vecchie larghezze forzate: il plugin può mantenere i nomi classe storici. */
.gt-app-shell table,.gt-full-content table,.gt-v322-client-table,.gt-v400-client-table,.gt-v401-filterable-table,.gt-v433-client-table{max-width:100%!important}

@media (max-width: 1024px){
  .gt-container{width:min(94vw,960px)}
  .gt-header-inner{gap:12px}.gt-logo img{width:180px}.gt-nav{font-size:12px}.gt-menu{gap:12px}
  .gt-hero{padding:64px 0 52px}.gt-hero-grid,.gt-split{grid-template-columns:1fr!important;gap:28px}.gt-trust-panel{max-width:none}
  .gt-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.gt-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media (max-width: 782px){
  body.admin-bar .gt-header{top:46px}.gt-header{position:sticky}.gt-header-inner{min-height:70px;flex-wrap:wrap}.gt-logo{margin-right:auto}.gt-logo img{width:160px;max-width:55vw}.gt-menu-toggle{display:block;order:2}.gt-header-cta{order:3;padding:9px 12px;font-size:12px}.gt-nav{display:none;order:4;width:100%;background:#fff;border-top:1px solid var(--gt-border);padding:10px 0 16px}.gt-nav.is-open{display:block}.gt-menu{display:grid;gap:0}.gt-menu li{border-bottom:1px solid var(--gt-border)}.gt-menu a{display:block;padding:13px 4px}.gt-menu-open{overflow:hidden}
  .gt-hero{padding:44px 0 38px}.gt-hero h1{font-size:clamp(34px,10vw,48px)}.gt-hero p{font-size:17px}.gt-page-hero{padding:42px 0 32px!important}.gt-page-hero h1{font-size:clamp(30px,9vw,44px)}
  .gt-content,.gt-section{padding:42px 0!important}.gt-cards,.gt-footer-grid{grid-template-columns:1fr!important}.gt-card,.gt-box,.gt-trust-panel{border-radius:17px;padding:22px}.gt-btn{width:100%;min-height:46px}.gt-hero-actions{display:grid;grid-template-columns:1fr}
  .gt-app-shell{width:min(96vw,720px)!important}.gt-app-shell>article{min-width:0}
  .gt-app-shell form,.gt-app-shell .gt-admin-card,.gt-app-shell .gt-crm-card,.gt-app-shell .gt-console-card{max-width:100%;min-width:0;padding:16px!important;border-radius:16px!important}
  .gt-app-shell input:not([type=checkbox]):not([type=radio]),.gt-app-shell select,.gt-app-shell textarea,.gt-app-shell button{max-width:100%;font-size:16px!important}
  .gt-app-shell [class*="grid"],.gt-app-shell [class*="-row"],.gt-app-shell [class*="filters"],.gt-app-shell [class*="actions"]{grid-template-columns:1fr!important}
  .gt-app-shell .gt-crm-kpi,.gt-app-shell .gt-crm-kanban{grid-template-columns:repeat(2,minmax(0,1fr))!important}

  /* Tabelle operative: conversione a card mobile reale. */
  .gt-responsive-table{overflow:visible}.gt-app-shell table,.gt-full-content table,.gt-v322-client-table,.gt-v400-client-table,.gt-v401-filterable-table,.gt-v433-client-table{display:block!important;width:100%!important;min-width:0!important;border:0!important;background:transparent!important}.gt-app-shell table thead,.gt-full-content table thead,.gt-v322-client-table thead,.gt-v400-client-table thead,.gt-v401-filterable-table thead,.gt-v433-client-table thead{display:none!important}.gt-app-shell table tbody,.gt-full-content table tbody,.gt-app-shell table tr,.gt-full-content table tr,.gt-app-shell table td,.gt-full-content table td,.gt-v322-client-table tbody,.gt-v322-client-table tr,.gt-v322-client-table td,.gt-v400-client-table tbody,.gt-v400-client-table tr,.gt-v400-client-table td,.gt-v401-filterable-table tbody,.gt-v401-filterable-table tr,.gt-v401-filterable-table td,.gt-v433-client-table tbody,.gt-v433-client-table tr,.gt-v433-client-table td{display:block!important;width:100%!important;min-width:0!important;max-width:none!important}.gt-app-shell table tr,.gt-full-content table tr,.gt-v322-client-table tr,.gt-v400-client-table tr,.gt-v401-filterable-table tr,.gt-v433-client-table tr{background:#fff!important;border:1px solid #dbe4f0!important;border-radius:16px!important;padding:12px!important;margin:0 0 14px!important;box-shadow:0 8px 22px rgba(16,27,54,.06)!important}.gt-app-shell table td,.gt-full-content table td,.gt-v322-client-table td,.gt-v400-client-table td,.gt-v401-filterable-table td,.gt-v433-client-table td{border:0!important;border-bottom:1px solid #edf0f4!important;padding:9px 0!important;text-align:left!important;font-size:14px!important;white-space:normal!important;overflow:visible!important}.gt-app-shell table td:last-child,.gt-full-content table td:last-child{border-bottom:0!important}.gt-app-shell table td:before,.gt-full-content table td:before,.gt-v322-client-table td:before,.gt-v400-client-table td:before,.gt-v401-filterable-table td:before,.gt-v433-client-table td:before{content:attr(data-label);display:block;font-size:10px;line-height:1.2;text-transform:uppercase;letter-spacing:.06em;color:#64748b;font-weight:900;margin-bottom:3px}.gt-app-shell table td:empty{display:none!important}
  .gt-app-shell table a,.gt-app-shell table button,.gt-app-shell table .button{max-width:100%;white-space:normal!important}
}

@media (max-width: 480px){
  .gt-container{width:calc(100% - 24px)}.gt-header-inner{gap:8px}.gt-logo img{width:138px}.gt-header-cta{font-size:11px;padding:8px 10px}.gt-menu-toggle{width:42px;height:42px}.gt-eyebrow{font-size:11px}.gt-hero h1{font-size:34px}.gt-page-hero h1{font-size:32px}.gt-card,.gt-box,.gt-trust-panel{padding:18px}.gt-app-shell .gt-crm-kpi,.gt-app-shell .gt-crm-kanban{grid-template-columns:1fr!important}.gt-footer{padding-left:0!important;padding-right:0!important}
}
