
/* TIM-IT V3.3 — role-aware navigation and customer portal */
.v8-brand{display:flex;align-items:center;justify-content:center;width:116px;min-height:48px;padding:8px 12px;background:#fff;border:1px solid rgba(197,166,110,.5);box-shadow:0 10px 28px rgba(0,0,0,.18)}
.v8-brand img{width:91px!important;filter:none!important}
.v8-footer-brand img{width:95px!important;filter:none!important;background:#fff;padding:9px 12px;border:1px solid rgba(197,166,110,.35)}
.role-nav{gap:22px}.v8-public-switch{font-size:9px;color:#9aa7b3;font-weight:700;white-space:nowrap}.v8-user-menu{position:relative}.v8-user-menu>button{display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 10px 6px 7px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.045);color:#fff;cursor:pointer}.v8-user-menu>button>span:nth-child(2){text-align:left}.v8-user-menu button small,.v8-user-menu button strong{display:block}.v8-user-menu button small{font-size:7px;color:#7e8b98;text-transform:uppercase;letter-spacing:.1em}.v8-user-menu button strong{font-size:9px;margin-top:2px;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v8-user-menu button i{font-style:normal;color:var(--v8-gold);font-size:12px}.v8-user-avatar{width:33px;height:33px;border-radius:50%;display:grid!important;place-items:center;background:linear-gradient(135deg,var(--v8-red),#8d1724);font-family:"Space Grotesk",sans-serif;font-size:12px!important}.v8-user-avatar.employee{background:linear-gradient(135deg,var(--v8-gold),#805e2d);color:#111}.v8-user-dropdown{display:none;position:absolute;right:0;top:58px;width:220px;padding:8px;background:#0b121c;border:1px solid rgba(255,255,255,.1);box-shadow:0 24px 60px rgba(0,0,0,.38)}.v8-user-menu.is-open .v8-user-dropdown{display:grid}.v8-user-dropdown a{padding:11px 12px;font-size:9px;color:#aeb9c4}.v8-user-dropdown a:hover{background:rgba(255,255,255,.05);color:#fff}.v8-user-dropdown>span{height:1px;background:rgba(255,255,255,.08);margin:5px 0}
.v8-live-stats{position:relative;background:#f4efe6;color:#111722;padding:34px 0;border-bottom:1px solid #d8d0c5}.v8-live-stats>.v8-container{display:grid;grid-template-columns:.85fr 1.65fr;gap:45px;align-items:center}.v8-live-stats-heading span,.v8-live-stats-heading strong{display:block}.v8-live-stats-heading span{font-size:8px;text-transform:uppercase;letter-spacing:.14em;color:#a12030;font-weight:800}.v8-live-stats-heading strong{font-family:"Space Grotesk",sans-serif;font-size:16px;line-height:1.45;margin-top:7px}.v8-live-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#d6cec2}.v8-live-stats-grid article{background:#fff;padding:18px}.v8-live-stats-grid strong,.v8-live-stats-grid span,.v8-live-stats-grid small{display:block}.v8-live-stats-grid strong{font-family:"Space Grotesk",sans-serif;font-size:27px;letter-spacing:-.04em}.v8-live-stats-grid span{font-size:8px;font-weight:800;margin-top:5px}.v8-live-stats-grid small{font-size:7px;color:#8b8379;margin-top:4px}.v8-live-stats-grid article.is-pending strong{color:#b8b0a5}
.customer-portal-app{margin:0;background:#edf0f3;color:#131a23;font-family:"Manrope",sans-serif}.customer-shell{min-height:100vh;display:grid;grid-template-columns:270px 1fr}.customer-sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,#08101a,#0b121c);color:#fff;padding:18px;display:flex;flex-direction:column;z-index:100}.customer-sidebar-head{display:flex;align-items:center;justify-content:space-between}.customer-sidebar-head>button{display:none;border:0;background:transparent;color:#fff;font-size:25px}.customer-brand{display:flex;align-items:center;gap:12px}.customer-brand>span{display:grid;place-items:center;width:92px;height:44px;background:#fff;border:1px solid rgba(197,166,110,.48);padding:7px}.customer-brand img{max-width:76px}.customer-brand strong,.customer-brand small{display:block}.customer-brand strong{font-family:"Space Grotesk",sans-serif;font-size:13px}.customer-brand small{font-size:7px;color:#788795;margin-top:3px;text-transform:uppercase;letter-spacing:.12em}.customer-identity{display:flex;align-items:center;gap:12px;margin:27px 0 20px;padding:16px 12px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.07)}.customer-identity>div{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#e52d35,#951724);font-family:"Space Grotesk",sans-serif}.customer-identity strong,.customer-identity small{display:block}.customer-identity strong{font-size:9px}.customer-identity small{font-size:7px;color:#84919d;margin-top:3px}.customer-nav{display:grid;gap:4px;overflow:auto}.customer-nav>span{font-size:7px;text-transform:uppercase;letter-spacing:.15em;color:#5f6d7a;margin:15px 10px 5px}.customer-nav a{display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:center;padding:11px 10px;color:#92a0ad;font-size:9px;border:1px solid transparent}.customer-nav a:hover,.customer-nav a.is-active{color:#fff;background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.07)}.customer-nav a.is-active:before{content:"";position:absolute;width:2px;height:22px;background:#e52d35;margin-left:-11px}.customer-nav i{font-style:normal;font-family:"Space Grotesk",sans-serif;color:#5d6a76}.customer-nav b{font-weight:700}.customer-nav em{font-style:normal;min-width:20px;height:20px;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.08);font-size:7px}.customer-sidebar-footer{display:grid;gap:9px;margin-top:auto;padding-top:18px;border-top:1px solid rgba(255,255,255,.08)}.customer-sidebar-footer a{display:flex;justify-content:space-between;font-size:8px;color:#7f8c99}.customer-workspace{min-width:0;display:flex;flex-direction:column;min-height:100vh}.customer-topbar{height:74px;display:flex;align-items:center;gap:15px;padding:0 28px;background:#fff;border-bottom:1px solid #dce1e6;position:sticky;top:0;z-index:50}.customer-topbar>button{display:none;border:0;background:transparent}.customer-topbar>button span{display:block;width:20px;height:1px;background:#111;margin:4px}.customer-topbar>div:nth-child(2){display:grid}.customer-topbar small{font-size:7px;text-transform:uppercase;color:#8c959e}.customer-topbar strong{font-family:"Space Grotesk",sans-serif;font-size:15px}.customer-top-actions{margin-left:auto;display:flex;align-items:center;gap:18px}.customer-top-actions>a:first-child{font-size:8px;color:#69737d}.customer-top-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#111a26;color:#fff;font-family:"Space Grotesk",sans-serif}.customer-content{padding:30px;flex:1}.customer-footer{display:flex;justify-content:space-between;padding:18px 30px;background:#fff;border-top:1px solid #dce1e6;font-size:7px;color:#8c959e}.customer-welcome{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:34px;background:linear-gradient(135deg,#0b1420,#121f2e);color:#fff;position:relative;overflow:hidden}.customer-welcome:after{content:"";position:absolute;width:330px;height:330px;border-radius:50%;right:-130px;top:-170px;background:rgba(229,45,53,.22);filter:blur(45px)}.customer-welcome>div:first-child{position:relative;z-index:2}.customer-welcome>div:first-child>span{font-size:8px;text-transform:uppercase;letter-spacing:.15em;color:#c5a66e}.customer-welcome h1{font-family:"Space Grotesk",sans-serif;font-size:37px;letter-spacing:-.04em;margin:9px 0}.customer-welcome p{font-size:10px;color:#91a0ae}.customer-connection{position:relative;z-index:2;display:flex;align-items:center;gap:10px;padding:13px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.09)}.customer-connection>i{width:8px;height:8px;border-radius:50%;background:#d89c38}.customer-connection.is-connected>i{background:#4eb778}.customer-connection small,.customer-connection strong{display:block}.customer-connection small{font-size:7px;color:#7f8d99}.customer-connection strong{font-size:8px;margin-top:3px}.customer-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0}.customer-stat-grid a{background:#fff;border:1px solid #dce1e6;padding:19px;transition:.2s}.customer-stat-grid a:hover{transform:translateY(-3px);box-shadow:0 14px 35px rgba(18,31,46,.08)}.customer-stat-grid span,.customer-stat-grid strong,.customer-stat-grid small{display:block}.customer-stat-grid span{font-size:8px;text-transform:uppercase;color:#7d8791}.customer-stat-grid strong{font-family:"Space Grotesk",sans-serif;font-size:28px;margin:8px 0}.customer-stat-grid small{font-size:7px;color:#9aa2aa}.customer-dashboard-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:16px}.customer-panel{background:#fff;border:1px solid #dce1e6;padding:24px}.customer-panel>header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.customer-panel>header span{font-size:7px;text-transform:uppercase;color:#a02030;letter-spacing:.13em}.customer-panel>header h2{font-family:"Space Grotesk",sans-serif;font-size:20px;margin:5px 0}.customer-panel>header>a{font-size:8px;color:#a02030}.customer-service-links{display:grid}.customer-service-links>a{display:grid;grid-template-columns:35px 1fr auto;gap:13px;align-items:center;padding:14px 0;border-top:1px solid #e7eaed}.customer-service-links i{font-style:normal;font-family:"Space Grotesk",sans-serif;color:#a7afb7}.customer-service-links strong,.customer-service-links span{display:block}.customer-service-links strong{font-size:9px}.customer-service-links span{font-size:7px;color:#8b949d;margin-top:3px}.customer-service-links b{color:#a02030}.customer-account-card dl{margin:0}.customer-account-card dl>div{display:grid;grid-template-columns:95px 1fr;padding:10px 0;border-top:1px solid #e7eaed}.customer-account-card dt{font-size:7px;color:#8b949d}.customer-account-card dd{font-size:8px;margin:0}.customer-status{display:inline-flex;padding:5px 8px;background:#eceff2;font-size:7px}.customer-status.active{background:#e4f4e9;color:#257447}.customer-card-action{display:block;margin-top:18px;padding:12px;background:#111a26;color:#fff;font-size:8px;text-align:center}.customer-recent{grid-column:1/-1}.customer-recent-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.customer-recent-grid article{background:#f4f6f8;padding:17px}.customer-recent-grid span,.customer-recent-grid strong,.customer-recent-grid small{display:block}.customer-recent-grid span{font-size:8px}.customer-recent-grid strong{font-family:"Space Grotesk",sans-serif;font-size:24px;margin:8px 0}.customer-recent-grid small{font-size:7px;color:#8c959e}.customer-support-card{grid-column:1/-1;background:linear-gradient(135deg,#a51c2b,#e52d35);color:#fff}.customer-support-card>span{font-size:8px;text-transform:uppercase;color:#efc3c8}.customer-support-card h2{font-family:"Space Grotesk",sans-serif;font-size:26px;margin:8px 0}.customer-support-card p{font-size:9px;color:#f2cbd0}.customer-support-card>div{display:flex;align-items:center;gap:18px}.customer-support-card>div>a:last-child{font-size:8px}.customer-primary-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;background:#111a26;color:#fff!important;font-size:8px;font-weight:800}.customer-resource-hero{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:30px;background:linear-gradient(135deg,#0b1420,#142333);color:#fff;margin-bottom:16px}.customer-resource-hero>div:first-child>span{font-size:7px;text-transform:uppercase;color:#c5a66e}.customer-resource-hero h1{font-family:"Space Grotesk",sans-serif;font-size:32px;margin:8px 0}.customer-resource-hero p{font-size:9px;color:#91a0ae}.customer-resource-hero>div:last-child{text-align:right}.customer-resource-hero>div:last-child small,.customer-resource-hero>div:last-child strong,.customer-resource-hero>div:last-child span{display:block}.customer-resource-hero>div:last-child small{font-size:7px;color:#80909e}.customer-resource-hero>div:last-child strong{font-family:"Space Grotesk",sans-serif;font-size:31px;margin:4px 0}.customer-resource-hero>div:last-child span{font-size:7px;color:#c5a66e}.customer-resource-list article{display:grid;grid-template-columns:42px 1fr auto;gap:14px;align-items:center;padding:14px 0;border-top:1px solid #e7eaed}.customer-resource-icon{width:38px;height:38px;display:grid;place-items:center;background:#eef1f4;font-family:"Space Grotesk",sans-serif;color:#8a949d}.customer-resource-list strong,.customer-resource-list span{display:block}.customer-resource-list strong{font-size:9px}.customer-resource-list>article>div:nth-child(2)>span{font-size:7px;color:#9099a2;margin-top:3px}.customer-empty-state{text-align:center;padding:55px 20px}.customer-empty-state>span{font-size:30px;color:#c5a66e}.customer-empty-state h3{font-family:"Space Grotesk",sans-serif;font-size:21px}.customer-empty-state p{font-size:9px;color:#818b95;max-width:480px;margin:0 auto 16px}.customer-empty-state a{font-size:8px;color:#a02030;font-weight:800}.customer-resource-help{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:25px;background:#fff;border:1px solid #dce1e6;margin-top:16px}.customer-resource-help span{font-size:7px;text-transform:uppercase;color:#a02030}.customer-resource-help h2{font-family:"Space Grotesk",sans-serif;font-size:20px;margin:6px 0}.customer-resource-help p{font-size:8px;color:#88919a}.customer-sidebar-backdrop{display:none}
@media(max-width:1100px){.role-nav{gap:13px}.v8-public-switch{display:none}.v8-user-menu button strong{max-width:85px}.v8-live-stats>.v8-container{grid-template-columns:1fr}.customer-shell{grid-template-columns:235px 1fr}.customer-dashboard-grid{grid-template-columns:1fr}}
@media(max-width:860px){.role-actions{display:flex!important}.role-actions .v8-public-switch{display:none}.v8-user-menu>button>span:nth-child(2),.v8-user-menu>button>i{display:none}.v8-user-menu>button{padding:6px}.v8-user-dropdown{right:0}.v8-live-stats-grid{grid-template-columns:1fr 1fr}.customer-shell{display:block}.customer-sidebar{position:fixed;left:-285px;width:270px;transition:.25s}.customer-shell.sidebar-open .customer-sidebar{left:0}.customer-sidebar-head>button,.customer-topbar>button{display:block}.customer-sidebar-backdrop{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:90}.customer-shell.sidebar-open .customer-sidebar-backdrop{display:block}.customer-topbar{padding:0 18px}.customer-content{padding:20px}.customer-stat-grid{grid-template-columns:1fr 1fr}}
@media(max-width:580px){.v8-live-stats-grid,.customer-stat-grid,.customer-recent-grid{grid-template-columns:1fr}.v8-live-stats>.v8-container{gap:20px}.customer-welcome,.customer-resource-hero,.customer-resource-help{align-items:flex-start;flex-direction:column}.customer-connection{width:100%}.customer-resource-hero>div:last-child{text-align:left}.customer-content{padding:14px}.customer-panel{padding:18px}.customer-dashboard-grid{display:block}.customer-dashboard-grid>.customer-panel{margin-bottom:14px}.customer-footer{align-items:flex-start;flex-direction:column;gap:6px}}
