@media(max-width:600px){.tlgh-portal{padding:18px;margin:0;border-radius:0}.tlgh-grid{grid-template-columns:1fr}}

/* TechLink frontend authentication */
.tlgh-auth-page{min-height:70vh;display:grid;place-items:center;padding:48px 20px;background:#0f1117;color:#fff}.tlgh-auth-card{width:min(100%,480px);background:#171a22;border:1px solid #2d3442;border-radius:18px;padding:34px;box-shadow:0 20px 60px rgba(0,0,0,.28)}.tlgh-auth-brand{font-size:12px;font-weight:800;letter-spacing:.16em;color:#ff7a1a;margin-bottom:18px}.tlgh-auth-card h1{color:#fff;margin:0 0 10px;font-size:32px}.tlgh-auth-card p{color:#c8ced8;line-height:1.6}.tlgh-auth-form{display:grid;gap:16px;margin-top:24px}.tlgh-auth-form label{display:grid;gap:7px;color:#f4f6f8;font-weight:600}.tlgh-auth-form input{width:100%;box-sizing:border-box;padding:13px 14px;border-radius:10px;border:1px solid #3a4252;background:#0f1117;color:#fff}.tlgh-auth-form input:focus{outline:2px solid #ff7a1a;border-color:#ff7a1a}.tlgh-auth-form button{border:0;border-radius:10px;padding:14px 18px;background:#ff7a1a;color:#16110c;font-weight:800;cursor:pointer}.tlgh-auth-form .tlgh-remember{display:flex;align-items:center;gap:8px;font-size:14px}.tlgh-auth-form .tlgh-remember input{width:auto}.tlgh-auth-links{margin-top:20px}.tlgh-auth-links a{color:#ff9a52;text-decoration:none}.tlgh-auth-message{background:#1f2937;border:1px solid #3a4657;color:#fff;padding:12px 14px;border-radius:10px;margin:15px 0}
/* 2.3 contrast safety */
.tlgh-modern-portal,.tlgh-modern-portal *{box-sizing:border-box}.tlgh-modern-portal h1,.tlgh-modern-portal h2,.tlgh-modern-portal h3{color:#132033}.tlgh-modern-portal p{color:#5e6e82}.tlgh-modern-portal a:focus-visible,.tlgh-modern-portal button:focus-visible{outline:3px solid rgba(11,99,206,.35);outline-offset:3px}

.tlgh-client-assistance{margin-top:26px}.tlgh-assistance-card{display:grid;grid-template-columns:.8fr 1.2fr;gap:28px;padding:28px;border:1px solid #dbe3ec;border-radius:20px;background:#fff;box-shadow:0 14px 35px rgba(15,23,42,.07)}.tlgh-assistance-card strong{display:block;color:#0f172a;font-size:20px}.tlgh-assistance-card p{color:#64748b;line-height:1.6}.tlgh-assistance-card textarea{width:100%;box-sizing:border-box;padding:14px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#0f172a;font:inherit}.tlgh-assistance-card textarea:focus{outline:3px solid rgba(232,93,42,.15);border-color:#e85d2a}.tlgh-assistance-email{display:block;margin:10px 0;color:#475569;font-size:13px}.tlgh-assistance-card button{border:0;border-radius:11px;padding:13px 17px;background:#e85d2a;color:#fff;font-weight:800;cursor:pointer}.tlgh-assistance-card button:hover{background:#0f172a}@media(max-width:760px){.tlgh-assistance-card{grid-template-columns:1fr;padding:22px}}
.tlgh-lead-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tlgh-lead-grid label{display:flex;flex-direction:column;gap:7px;font-weight:700;color:#1b2430}.tlgh-lead-grid input,.tlgh-lead-grid select,.tlgh-lead-grid textarea{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid #cfd7e3;border-radius:10px;background:#fff;color:#172033;font:inherit}.tlgh-lead-grid .tlgh-wide{grid-column:1/-1}.tlgh-lead-form{max-width:900px}.tlgh-lead-activity{max-width:280px;white-space:normal}@media(max-width:640px){.tlgh-lead-grid{grid-template-columns:1fr}.tlgh-lead-grid .tlgh-wide{grid-column:auto}}

/* Sales workspace persistent navigation */
.tlgh-sales-nav{position:sticky;top:12px;z-index:40;display:flex;gap:8px;align-items:center;padding:10px 12px;margin:0 0 22px;background:#ffffff;border:1px solid #dbe3ec;border-radius:16px;box-shadow:0 12px 30px rgba(15,23,42,.08)}
.tlgh-sales-nav a{display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:10px;text-decoration:none;color:#334155;font-size:13px;font-weight:800;white-space:nowrap;transition:background .2s,color .2s,transform .2s}
.tlgh-sales-nav a:hover,.tlgh-sales-nav a:focus{background:#eef6ff;color:#0b63ce;outline:none}
.tlgh-sales-nav a.is-active{background:#0b63ce;color:#fff;box-shadow:0 8px 18px rgba(11,99,206,.22)}
.tlgh-nav-icon{font-size:18px;line-height:1;font-weight:700}
#tlgh-sales-top,#tlgh-sales-add-lead,#tlgh-sales-leads,#tlgh-sales-email,#tlgh-sales-messages{scroll-margin-top:100px}
@media(max-width:760px){
 .tlgh-modern-portal{padding-bottom:92px!important}
 .tlgh-sales-nav{position:fixed;left:0;right:0;bottom:0;top:auto;margin:0;z-index:99999;border-radius:18px 18px 0 0;border-left:0;border-right:0;border-bottom:0;padding:7px max(5px,env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom));justify-content:space-around;background:rgba(255,255,255,.98);box-shadow:0 -12px 35px rgba(15,23,42,.14)}
 .tlgh-sales-nav a{flex:1;min-width:0;min-height:58px;padding:6px 3px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:10px;text-align:center;color:#475569}
 .tlgh-sales-nav a.is-active{background:#eef6ff;color:#0b63ce;box-shadow:none}
 .tlgh-nav-icon{font-size:19px}
}

/* Client reviews and mobile-safe portal components */
.tlgh-client-review,.tlgh-public-reviews{margin-top:26px;padding:28px;border:1px solid #dbe3ec;border-radius:20px;background:#fff;box-shadow:0 14px 35px rgba(15,23,42,.06);color:#172033}
.tlgh-review-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}
.tlgh-review-form label{display:flex;flex-direction:column;gap:7px;font-weight:700;color:#172033}
.tlgh-review-form .tlgh-full{grid-column:1/-1}
.tlgh-review-form input,.tlgh-review-form select,.tlgh-review-form textarea{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#172033;font:inherit}
.tlgh-review-form input:focus,.tlgh-review-form select:focus,.tlgh-review-form textarea:focus{outline:3px solid rgba(11,99,206,.16);border-color:#0b63ce}
.tlgh-review-history{margin-top:28px;display:grid;gap:12px}
.tlgh-review-history article{padding:18px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}
.tlgh-review-history article div{display:flex;justify-content:space-between;gap:12px}.tlgh-review-history article strong,.tlgh-review-stars{color:#d97706;letter-spacing:.08em}.tlgh-review-history h4{margin:8px 0 4px;color:#172033}.tlgh-review-history p{margin:0;color:#526173;line-height:1.6}
.tlgh-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tlgh-review-card{padding:24px;border:1px solid #dbe3ec;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.06)}
.tlgh-review-card h3{margin:10px 0 8px;color:#172033}.tlgh-review-card p{color:#526173;line-height:1.7}.tlgh-review-card strong{display:block;color:#172033}.tlgh-review-card small{display:block;margin-top:3px;color:#64748b}
@media(max-width:900px){.tlgh-review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.tlgh-review-form{grid-template-columns:1fr}.tlgh-review-form .tlgh-full{grid-column:auto}.tlgh-review-grid{grid-template-columns:1fr}.tlgh-client-review,.tlgh-public-reviews{padding:20px;border-radius:16px}.tlgh-client-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.tlgh-client-table{min-width:720px}.tlgh-hosting-grid{grid-template-columns:1fr!important}.tlgh-stat-grid{grid-template-columns:1fr!important}.tlgh-project-grid{grid-template-columns:1fr!important}}
