/* Fleet 1087 — TMS/Talk/notifications/login polish */
.auth-left h1,.auth-left .auth-mark{color:#fff!important;text-shadow:0 2px 18px rgba(0,0,0,.22)}
.auth-left p{color:#a9d6ff!important}

/* Friendly top-bar notification bell */
.head-tool.bell{position:relative;display:grid;place-items:center;min-width:38px;min-height:38px}
.head-tool.bell svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.head-tool.bell .fleet-notification-count{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#f51f37;color:#fff;font:800 10px/18px Inter,system-ui;text-align:center;box-shadow:0 0 0 2px #09131d}
.head-tool.bell[data-empty="1"] .fleet-notification-count{display:none}

/* Embedded suite modules */
.fleet-suite-module{height:calc(100vh - 132px);min-height:560px;display:flex;flex-direction:column;gap:10px}
.fleet-suite-module .fleet-embedded-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 12px;border:1px solid #d9e2e8;border-radius:12px;background:#fff}
.fleet-suite-module .fleet-embedded-frame{display:block;width:100%;flex:1;min-height:0;border:1px solid #d9e2e8;border-radius:14px;background:#fff}
html[data-theme="dark"] .fleet-suite-module .fleet-embedded-toolbar{background:#14222e;border-color:#314452;color:#f5f8fa}
html[data-theme="dark"] .fleet-suite-module .fleet-embedded-frame{border-color:#314452;background:#0b141d}

/* Talk workspace */
.talk-shell{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,.6fr);gap:14px}
.talk-card{border:1px solid #d9e2e8;border-radius:14px;background:#fff;overflow:hidden}
.talk-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid #e3eaee}
.talk-card-head h3{margin:0;font-size:15px}.talk-card-head p{margin:3px 0 0;font-size:11px;color:#6e7f8d}
.talk-body{padding:14px 16px}.talk-status{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:10px;background:#eef8f1;color:#176b37;font-weight:700;font-size:12px;margin-bottom:12px}.talk-status i{width:9px;height:9px;border-radius:50%;background:#20b15a}
.talk-channel{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid #edf1f4}.talk-channel:last-child{border-bottom:0}.talk-channel b{display:block;font-size:12px}.talk-channel small{display:block;margin-top:2px;color:#7b8c98}.talk-channel button{white-space:nowrap}
.talk-admin-table{width:100%;border-collapse:collapse}.talk-admin-table th,.talk-admin-table td{padding:10px 8px;border-bottom:1px solid #e7edf1;text-align:left;font-size:11px}.talk-admin-table th{font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:#6f808d}.talk-admin-table tr:last-child td{border-bottom:0}.talk-access-toggle{display:flex;align-items:center;gap:8px;font-weight:700}.talk-access-toggle input{width:18px;height:18px}
.talk-note{padding:11px 12px;border-radius:10px;background:#fff8e8;border:1px solid #f0dfb6;color:#74591c;font-size:11px;line-height:1.45}
html[data-theme="dark"] .talk-card{background:#14222e;border-color:#314452}.talk-card-head{border-color:#e3eaee}html[data-theme="dark"] .talk-card-head{border-color:#314452}.talk-card-head p{color:#6e7f8d}html[data-theme="dark"] .talk-card-head p{color:#9eb0bd}.talk-channel{border-color:#edf1f4}html[data-theme="dark"] .talk-channel{border-color:#2c3d49}.talk-channel small{color:#7b8c98}html[data-theme="dark"] .talk-channel small{color:#9aabb7}html[data-theme="dark"] .talk-admin-table th,html[data-theme="dark"] .talk-admin-table td{border-color:#2d3e4a}html[data-theme="dark"] .talk-admin-table th{color:#9aabb7}

/* Put active notifications first so a badge click immediately shows the actual alerts. */
.preferences-grid .pref-card.fleet-active-notifications-first{grid-column:1/-1;order:-10}

@media(max-width:980px){.talk-shell{grid-template-columns:1fr}.fleet-suite-module{height:calc(100vh - 118px)}}


/* TMS workspace sizing */
body[data-nav-virtual="tms"] .content,body[data-nav-virtual="tms-dashboard"] .content{padding:6px 10px 8px!important}
body[data-nav-virtual="tms"] .headline,body[data-nav-virtual="tms-dashboard"] .headline{display:none!important}
body[data-nav-virtual="tms"] .fleet-suite-module,body[data-nav-virtual="tms-dashboard"] .fleet-suite-module{height:calc(100vh - 80px)!important;min-height:640px!important;gap:6px!important}
body[data-nav-virtual="tms"] .fleet-embedded-toolbar,body[data-nav-virtual="tms-dashboard"] .fleet-embedded-toolbar{min-height:40px!important;padding:6px 9px!important;border-radius:9px!important;flex:0 0 auto!important}
body[data-nav-virtual="tms"] .fleet-embedded-frame,body[data-nav-virtual="tms-dashboard"] .fleet-embedded-frame{min-height:0!important;border-radius:9px!important}
@media(max-height:760px){body[data-nav-virtual="tms"] .fleet-suite-module,body[data-nav-virtual="tms-dashboard"] .fleet-suite-module{height:calc(100vh - 74px)!important;min-height:0!important}}
