/* Full-width workorder data, with vertical cards on narrow screens. No hidden columns. */
.wrap,.shell{width:100%;max-width:none;margin-left:0;margin-right:0;min-width:0}.wrap{padding:0 clamp(12px,1.5vw,30px);margin-top:24px}.shell{padding-left:clamp(12px,1.5vw,30px);padding-right:clamp(12px,1.5vw,30px)}
.table-wrap,.lead-table-wrap{width:100%;max-width:100%;overflow:visible;min-width:0}.table-wrap table,.lead-table{width:100%;min-width:0;table-layout:fixed;font-size:13px}.table-wrap th,.table-wrap td,.lead-table th,.lead-table td{padding:11px 6px;white-space:normal;overflow-wrap:anywhere;word-break:break-word;vertical-align:middle}.lead-table{border-collapse:collapse}.lead-table th,.lead-table td{text-align:center;border:1px solid #edf0f3}.lead-table th{background:#f6f7f9;color:#556175;font-weight:500}.lead-table img{width:34px;height:34px;object-fit:cover;border-radius:50%}.lead-table .lead-type{display:inline-block;color:#2879ff;background:#e8f2ff;padding:3px 8px;border-radius:4px}.lead-table .lead-type.imported{color:#667085;background:#f0f2f5}
#account-status-panel th:nth-child(1){width:4%}#account-status-panel th:nth-child(2){width:7%}#account-status-panel th:nth-child(3){width:13%}#account-status-panel th:nth-child(4){width:11%}#account-status-panel th:nth-child(5){width:6%}#account-status-panel th:nth-child(6){width:10%}#account-status-panel th:nth-child(7){width:17%}#account-status-panel th:nth-child(8){width:7%}#account-status-panel th:nth-child(9),#account-status-panel th:nth-child(10){width:12.5%}#account-rows a{max-width:100%;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;white-space:normal}.copy-account-link{display:block;margin:5px auto 0}
#activity-panel th:nth-child(1),.lead-table th:nth-child(1){width:4%}#activity-panel th:nth-child(2),.lead-table th:nth-child(2){width:7%}#activity-panel th:nth-child(3),.lead-table th:nth-child(3){width:22%}#activity-panel th:nth-child(4),.lead-table th:nth-child(4){width:11%}#activity-panel th:nth-child(5),.lead-table th:nth-child(5){width:6%}#activity-panel th:nth-child(6),.lead-table th:nth-child(6){width:11%}#activity-panel th:nth-child(7),.lead-table th:nth-child(7){width:12%}#activity-panel th:nth-child(8),.lead-table th:nth-child(8){width:15%}#activity-panel th:nth-child(9),.lead-table th:nth-child(9){width:6%}#activity-panel th:nth-child(10),.lead-table th:nth-child(10){width:6%}
.lead-avatar-wrap{position:relative;display:inline-flex;width:36px;height:36px;align-items:center;justify-content:center;vertical-align:middle}.lead-avatar-wrap [hidden]{display:none!important}.repeat-mark{position:absolute!important;right:-5px;top:-5px;width:17px!important;height:17px!important;min-width:0!important;padding:0!important;display:grid;place-items:center;border:2px solid white!important;border-radius:50%!important;background:#ef334f!important;color:white!important;font:bold 11px/1 Arial!important;cursor:pointer;z-index:2;box-shadow:0 1px 3px #0002}.repeat-tip{position:absolute;right:-17px;bottom:calc(100% + 8px);background:#b42338;color:white;white-space:nowrap;padding:4px 9px;font-size:12px;border-radius:5px;z-index:30;box-shadow:0 3px 12px #0002}.repeat-tip:after{content:'';position:absolute;bottom:-4px;right:18px;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #b42338}
@media(max-width:900px){.table-wrap table,.lead-table{display:block}.table-wrap thead,.lead-table thead{display:none}.table-wrap tbody,.lead-table tbody{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:12px}.table-wrap tr,.lead-table tr{display:grid;grid-template-columns:minmax(0,1fr);border:1px solid #e5e9ef;border-radius:10px;padding:8px;min-width:0}.table-wrap td,.lead-table td{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px;align-items:center;text-align:left;width:100%;min-width:0;border:0;border-bottom:1px solid #edf0f3;padding:8px}.table-wrap td:before,.lead-table td:before{content:attr(data-label);color:#75808c;font-size:12px}.table-wrap td:last-child,.lead-table td:last-child{border-bottom:0}.table-wrap td>*,.lead-table td>*{min-width:0}.table-wrap td img.lead-avatar{grid-column:2}.table-wrap td .lead-fallback{grid-column:2}.table-wrap td a{grid-column:2}.copy-account-link{grid-column:2;margin:3px 0;justify-self:start}.panel{padding:16px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.row{flex-wrap:wrap}}

.table-wrap [hidden],.lead-table [hidden]{display:none!important}.lead-fallback{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#edf1f5;color:#64748b}.lead-repeat{color:#3b82f6;font-weight:600}.lead-repeat.duplicate{color:#f43f5e}

.lead-app{padding:4px 6px;white-space:nowrap;font-size:12px}.lead-user{white-space:pre-line!important}#account-status-panel th:nth-child(2){width:9%}#account-status-panel th:nth-child(3){width:12%}#account-status-panel th:nth-child(7){width:16%}#activity-panel th:nth-child(2),.lead-table th:nth-child(2){width:9%}#activity-panel th:nth-child(3),.lead-table th:nth-child(3){width:21%}#activity-panel th:nth-child(4),.lead-table th:nth-child(4){width:10%}

/* Tables stay horizontal; the page itself can shrink at every viewport. */
.client-workorder-dashboard,.dashboard-upgraded main,.dashboard-upgraded .shell{min-width:0}.dashboard-upgraded .section-heading{gap:16px;align-items:center}.dashboard-upgraded .section-heading h1{font-size:23px}.dashboard-upgraded .section-heading .muted{font-size:12px}.dashboard-upgraded .panel{padding:20px;border-radius:14px}.dashboard-upgraded .quota-card{border-radius:12px;padding:18px}.dashboard-upgraded .login-card{max-width:420px}.dashboard-upgraded .login-card input{width:100%}
@media(max-width:700px){.dashboard-upgraded .panel{padding:15px}.dashboard-upgraded .section-heading{align-items:flex-start;flex-wrap:wrap}.dashboard-upgraded .section-heading h1{font-size:20px}}

/* LANTU account log v1 */
.dashboard-dialog:has(.lantu-account-log){width:480px;max-width:calc(100vw - 32px);padding:18px 20px;border-radius:16px;background:#fff;color:#252525}.lantu-account-log h3{font-size:15px;margin:0 0 16px}.lantu-log-scroll{max-height:480px;overflow:auto}.lantu-log-row{border-top:1px solid #f0f0f0;padding:15px 0 12px}.lantu-log-row>div{display:flex;align-items:center;gap:8px}.lantu-log-row b{font-size:14px;font-weight:400}.lantu-log-row time{margin-left:auto;color:#999;font-size:12px}.lantu-log-row p{margin:5px 0 0 16px;color:#999;font-size:12px;line-height:1.6}.lantu-log-dot{width:8px;height:8px;border-radius:50%;display:inline-block;flex:0 0 8px}.lantu-log-dot.is-online{background:#20c568}.lantu-log-dot.is-offline{background:#fa454c}.lantu-log-dot.is-info{background:#999}
