/* Agent Home and My jobs: reference-led surfaces; shared business modules stay intact. */
body.agent-overview-view{background:#edf7fc;color:#08264a;--overview-blue:#0079db;--overview-ink:#071d3d;--overview-muted:#647f9e;--overview-line:#dceffa}
.agent-overview-view .agent-app-shell{background:linear-gradient(145deg,#fff 10%,#f2fbff 54%,#f6fcff)}
.agent-overview-view .app-header{background:#fff;padding:18px 20px 14px;gap:12px}
.agent-overview-view .app-header>a{flex-shrink:0;gap:3px}
.agent-overview-view .app-header img{width:130px;height:29px}
.agent-overview-view .app-header>a>small{font-size:10px;letter-spacing:.2em;color:#7189a2}
.agent-overview-view .app-header>div{align-items:center;gap:8px}
.agent-overview-view .app-header .icon-button,.agent-overview-view .app-header .avatar-button{width:38px;height:38px;padding:9px;border:1px solid #cbe8fc;background:linear-gradient(130deg,#f5fcff,#eaf7ff);color:#0068bc}
.agent-overview-view .app-header .avatar-button{background:linear-gradient(130deg,#f2fcff,#ddf6f6);color:#00889f}
.agent-overview-view .app-header .agent-wallet-credit{background:linear-gradient(125deg,#f5fcff,#e5f5ff);border-color:#c5e6ff;padding:6px 10px;gap:7px;min-height:39px}
.agent-overview-view .agent-wallet-credit>.icon{display:block;width:19px;height:19px}
.agent-overview-view .agent-wallet-credit small{font-size:9px;color:#647f9e;letter-spacing:0}
.agent-overview-view .agent-wallet-credit strong{font-size:13px;color:#051c39}
.agent-overview-view #agentMatchingStatus{display:flex;align-items:center;gap:12px;margin:0 20px 12px;border:0;border-radius:13px;padding:11px 13px;background:linear-gradient(105deg,#e8f6ff,#eaf7fe);color:#123c65;font-size:12px;line-height:1.45}
.agent-overview-view #agentMatchingStatus::before{content:'';width:20px;height:25px;flex-shrink:0;background:#007ce0;clip-path:path('M10 0C4.5 0 0 4.5 0 10c0 6 10 15 10 15s10-9 10-15C20 4.5 15.5 0 10 0Zm0 5a4 4 0 1 1 0 8 4 4 0 0 1 0-8Z')}
.agent-overview-view #agentMatchingStatus>span{flex:1;min-width:0}
.agent-overview-view #agentMatchingStatus>.text-button{flex-shrink:0;border-left:1px solid #c4e0f2;border-radius:0;padding:5px 0 5px 12px;font-size:11px;color:#0064da;white-space:nowrap}
#agentContent.agent-overview{padding-top:0;padding-bottom:calc(100px + env(safe-area-inset-bottom));color:var(--overview-ink)}
.agent-overview button{font-family:inherit}
.agent-overview .overview-hero{position:relative;isolation:isolate;overflow:hidden;margin-top:0;padding:22px 23px;border:1px solid #007daf;background:linear-gradient(125deg,#0066a6,#00538d 55%,#008bc6);border-radius:22px;box-shadow:none;gap:18px}
.overview-hero::before,.overview-hero::after{content:'';position:absolute;z-index:-1;border-radius:50%;background:#ffffff08;pointer-events:none;width:230px;height:230px}
.overview-hero::before{top:-150px;right:80px}.overview-hero::after{bottom:-150px;right:0;background:#48bfff13}
.agent-overview .overview-hero>div:first-child{min-width:0;flex:1}
.agent-overview .overview-hero h1{font-size:23px;font-weight:750;line-height:1.28;letter-spacing:-.025em;margin:12px 0 10px;text-transform:uppercase}
.agent-overview .overview-hero .online-label{font-size:12px;line-height:1.45;gap:10px}
.agent-overview .online-label>i{background:#70efc7;width:8px;height:8px;flex-shrink:0}
.agent-overview .online-label.off>i{background:#b0c8d9}
.agent-overview .overview-hero p{font-size:13px;color:#f2fbff;margin:6px 0 0}
.agent-overview .availability{border-left:1px solid #ffffff60;padding:12px 0 12px 21px;display:grid;justify-items:center;gap:7px}
.agent-overview .availability small{font-size:11px;margin:0;color:#fff}
.agent-overview .availability>span{font-size:11px;color:#fff}
.agent-overview .switch{width:58px;height:33px;background:#8eaabd;padding:3px}
.agent-overview .switch i{width:27px;height:27px}.agent-overview .switch.on{background:#00cfb5}.agent-overview .switch.on i{transform:translateX(25px)}
.agent-overview .overview-metrics{padding:14px 7px;margin:12px 0 18px;border:1px solid #e5f1f8;border-radius:18px;box-shadow:0 8px 24px #5a9bb006;background:#fff}
.overview-metrics>button{min-width:0;border:0;border-right:1px solid #dae9f5;background:none;padding:0 5px;display:flex;flex-direction:column;align-items:center;justify-content:start;color:inherit}
.overview-metrics>button:last-child{border-right:0}
.overview-icon{display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:linear-gradient(130deg,#ecf9ff,#e3f3ff);color:#006dca;width:43px;height:43px}
.overview-icon>.icon{width:25px;height:25px}
.agent-overview .overview-metrics small{font-size:12px;line-height:1.25;min-height:32px;max-width:100px;margin:5px 0 3px;color:var(--overview-muted)}
.agent-overview .overview-metrics strong{font-size:27px;line-height:1.2;margin:0;color:#082749}
.overview-section{margin:17px 0 11px}
.overview-section h2{font-size:20px;line-height:1.2;letter-spacing:-.035em;color:#071b3b;font-weight:750}
.overview-section p{font-size:12px;line-height:1.4;margin:3px 0 0;color:var(--overview-muted)}
.overview-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.overview-shortcuts>button{position:relative;text-align:left;min-width:0;border:1px solid #d6eaff;background:linear-gradient(145deg,#fff,#f8fcff);border-radius:13px;padding:10px 11px 12px;display:flex;flex-direction:column;align-items:start;gap:8px;color:#082749}
.overview-shortcuts .overview-icon{width:39px;height:39px}.overview-shortcuts .overview-icon>.icon{width:23px;height:23px}
.overview-shortcuts>button>.icon{position:absolute;width:12px;height:12px;top:22px;right:8px;color:#006ac7}
.overview-shortcuts strong{font-size:13px;line-height:1.2;letter-spacing:-.02em;min-height:31px;font-weight:750}
.overview-shortcuts small{font-size:11px;line-height:1.35;color:var(--overview-muted)}
.overview-workflows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
.workflow-panel{min-width:0;padding:12px 11px;background:#fff;border:1px solid #e0eff9;border-radius:16px}
.workflow-panel>header{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:0 0 12px}
.workflow-panel h3{font-size:14px;line-height:1.2;color:#082749}
.workflow-panel>header .text-button{display:flex;gap:3px;align-items:center;padding:0;font-size:10px;white-space:nowrap;color:#006add}
.workflow-panel>header .text-button>.icon{width:11px;height:11px}
.agent-overview .workflow-panel .empty{background:linear-gradient(#fff,#fcfeff);padding:17px 8px;border-radius:10px;margin:0;min-height:122px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.workflow-panel .empty>.icon{width:27px;height:27px;margin-bottom:9px;color:#7d9fae}
.workflow-panel .empty h3{font-size:11px;line-height:1.4;font-weight:750}
.workflow-panel .empty p{font-size:11px;line-height:1.4;color:var(--overview-muted);margin:5px 0 0}
.workflow-job{display:flex;align-items:center;gap:7px;width:100%;border:1px solid #e3eff7;background:#f9fdff;text-align:left;padding:10px 7px;border-radius:11px;margin-top:8px;color:#103551}
.workflow-job>.overview-icon{width:25px;height:31px;border-radius:8px}.workflow-job .overview-icon>.icon{width:19px;height:19px}
.workflow-job>span:nth-child(2){display:grid;gap:4px;min-width:0;flex:1;overflow-wrap:anywhere}
.workflow-job strong{font-size:11px;line-height:1.25}.workflow-job small{font-size:9px;line-height:1.4;color:var(--overview-muted)}.workflow-job>.icon{width:11px;height:11px;color:#0079c8}
.workflow-offer{display:grid;gap:6px;padding:10px 8px;border:1px solid #dbeef9;border-radius:11px;background:#f7fcff;margin-top:8px;min-width:0}
.workflow-offer>strong{font-size:12px}.workflow-offer>small{font-size:10px;line-height:1.4;color:var(--overview-muted)}
.workflow-offer .offer-actions{flex-wrap:wrap;margin:3px 0 0;gap:5px}.workflow-offer .offer-actions>.button{font-size:10px;padding:6px;min-height:34px;white-space:nowrap}
.agent-overview .overview-handover{display:flex;width:100%;align-items:center;gap:12px;text-align:left;border:1px solid #cceaff;background:linear-gradient(105deg,#e8f6ff,#e9f7ff);border-radius:13px;padding:12px;margin-top:12px;color:#082749}
.overview-handover>span:nth-child(2){flex:1;min-width:0}.overview-handover strong{display:block;font-size:12px;line-height:1.35}.overview-handover small{display:block;color:var(--overview-muted);font-size:11px;line-height:1.35;margin-top:3px}.overview-handover>.icon{width:13px;height:13px;color:#0081cb}
.agent-overview .page-head{margin:14px 5px 14px}.agent-overview .page-head h1{font-size:27px;color:#061b3d;line-height:1.15}.agent-overview .page-head p{font-size:13px;color:var(--overview-muted);margin:5px 0 0}
.agent-overview .overview-mall{display:flex;align-items:center;gap:14px;width:100%;border:1px solid #a8e1f3;background:linear-gradient(105deg,#ebf9ff,#e6faf7);border-radius:14px;padding:10px 13px;margin:0 0 12px;text-align:left;color:#092949}
.overview-mall>.overview-icon{border-radius:11px;background:#fff;width:43px;height:43px}.overview-mall>span:nth-child(2){flex:1;min-width:0}.overview-mall strong{display:block;font-size:15px;letter-spacing:-.03em}.overview-mall small{display:block;font-size:12px;color:var(--overview-muted);margin-top:3px;line-height:1.4}.overview-mall>.icon{width:15px;height:15px;color:#007bd0}
.agent-overview .filters{padding:4px 7px;border-radius:14px;margin:0 0 10px;border-color:#deeffa;gap:0;min-height:42px;box-shadow:0 4px 15px #458dc605}
.agent-overview .filters button{position:relative;font-size:11px;padding:9px 3px;border-radius:10px;color:#526f93}
.agent-overview .filters button:not(:last-child)::after{content:'';position:absolute;right:0;top:7px;bottom:7px;width:1px;background:#dceaf5}
.agent-overview .filters button.active{background:linear-gradient(105deg,#098ce1,#0074cf);color:#fff;font-weight:700}.agent-overview .filters button.active::after{display:none}
.agent-overview .job-card{border:1px solid #deeffa;border-radius:16px;box-shadow:0 4px 15px #4e97b807;margin-bottom:9px}
.agent-overview .job-open{padding:12px 13px 11px;gap:12px;align-items:center;color:#092c4e}
.agent-overview .job-symbol{width:48px;height:48px;border-radius:12px;background:linear-gradient(125deg,#effaff,#e6f4ff);color:#0072d2}
.agent-overview .job-symbol>.icon{width:29px;height:29px}
.agent-overview .job-copy{display:grid;grid-template-columns:minmax(0,1fr);gap:3px}
.agent-overview .job-copy small{font-size:10px;color:#647fa1}
.agent-overview .job-copy strong{font-size:15px;font-weight:750;line-height:1.25;overflow-wrap:anywhere;letter-spacing:-.025em}
.agent-overview .job-copy>span{font-size:12px;line-height:1.3;color:#647fa1}
.agent-overview .job-open>.pill{flex-shrink:0;max-width:105px;padding:5px 9px;border-radius:20px;color:#27668e;background:#edf5fc;font-size:10px;font-weight:650;text-align:center;line-height:1.3}
.agent-overview .job-open>.pill.green{color:#096343;background:#ddf7eb}
.agent-overview .job-open>.icon{margin-left:auto;width:13px;height:13px;color:#439bd2}
.agent-overview .timeline{padding:0 12px 12px}
.agent-overview .timeline li{font-size:9px;color:#607fa1;min-width:0;line-height:1.4}
.agent-overview .timeline li::before{background:#d8e9f7;top:9px}
.agent-overview .timeline li.done::before{background:#7ebcfc}
.agent-overview .timeline li>span{width:19px;height:19px;margin-bottom:5px;font-size:10px;border-width:1.5px}
.agent-overview .timeline .done>span,.agent-overview .timeline .current>span{background:linear-gradient(125deg,#098fe1,#006acc)}
.agent-overview .timeline .current{font-weight:700;color:#0069b8}
.agent-overview .jobs-history-note{font-size:10px;color:#6e87a1;margin:14px 5px 0}
.agent-overview-view .app-nav{border-color:#e4f0f9;padding:5px 14px max(8px,env(safe-area-inset-bottom));gap:7px;box-shadow:none}
.agent-overview-view .app-nav button{border-radius:16px;min-height:52px;font-weight:500;font-size:11px;color:#6e879c;gap:5px}
.agent-overview-view .app-nav button>.icon{width:23px;height:23px}
.agent-overview-view .app-nav button.active{background:linear-gradient(125deg,#f0faff,#e5f5ff);color:#0062ec;font-weight:700}
.agent-overview-view .app-nav button.active::before{display:none}
@media(max-width:410px){.agent-overview-view .app-header{padding-left:18px;padding-right:18px;gap:8px}.agent-overview-view .app-header img{width:113px;height:26px}.agent-overview-view .app-header>div{gap:6px}.agent-overview-view .app-header .icon-button,.agent-overview-view .app-header .avatar-button{width:33px;height:33px;padding:7px}.agent-overview-view .app-header .agent-wallet-credit{min-height:36px;padding:5px 8px;gap:5px}.agent-overview-view .agent-wallet-credit small{font-size:8px}.agent-overview-view .agent-wallet-credit strong{font-size:12px}.agent-overview-view .agent-wallet-credit>.icon{width:16px;height:16px}.agent-overview .overview-hero{padding:19px 18px;gap:13px}.agent-overview .overview-hero h1{font-size:21px}.agent-overview .availability{padding-left:14px}.overview-shortcuts>button{padding:9px 9px 11px}.overview-shortcuts .overview-icon{width:34px;height:34px}.overview-shortcuts .overview-icon>.icon{width:21px;height:21px}.overview-shortcuts>button>.icon{right:6px;top:20px;width:10px;height:10px}.overview-shortcuts strong{font-size:12px}.overview-shortcuts small{font-size:10px}.agent-overview .job-open{gap:9px;padding:11px}.agent-overview .job-symbol{width:42px;height:45px}.agent-overview .job-open>.pill{max-width:86px;font-size:9px;padding:5px 7px}.agent-overview .job-copy strong{font-size:14px}.agent-overview .job-copy>span{font-size:11px}}
@media(max-width:350px){.agent-overview-view .app-header{padding-left:16px;padding-right:16px;gap:6px}.agent-overview-view .app-header img{width:88px;height:23px}.agent-overview-view .app-header>div{gap:4px}.agent-overview-view .app-header .icon-button,.agent-overview-view .app-header .avatar-button{width:29px;height:29px;padding:6px}.agent-overview-view .app-header .agent-wallet-credit{padding:5px 6px}.agent-overview-view .agent-wallet-credit>.icon{display:none}.agent-overview-view .agent-wallet-credit strong{font-size:11px}.agent-overview-view #agentMatchingStatus{margin-left:16px;margin-right:16px;gap:8px;padding:10px;font-size:11px}.agent-overview-view #agentMatchingStatus>.text-button{padding-left:8px;font-size:10px}.agent-overview .overview-hero h1{font-size:18px}.agent-overview .overview-hero .online-label{font-size:10px}.agent-overview .overview-hero{padding:17px 13px;gap:10px}.agent-overview .overview-hero p{font-size:12px}.agent-overview .availability{padding-left:10px}.agent-overview .availability small,.agent-overview .availability>span{font-size:10px}.overview-shortcuts{gap:6px}.overview-shortcuts>button{padding:8px 7px}.overview-shortcuts>button>.icon{display:none}.overview-shortcuts strong{font-size:11px;min-height:28px}.overview-shortcuts small{font-size:10px}.overview-workflows{gap:8px}.workflow-panel{padding:10px 8px}.workflow-panel>header{flex-wrap:wrap;gap:7px}.workflow-panel h3{font-size:13px}.agent-overview .job-open{gap:7px;flex-wrap:wrap}.agent-overview .job-copy{flex-basis:calc(100% - 90px)}.agent-overview .job-open>.pill{margin-left:49px;max-width:160px}.agent-overview .job-open>.icon{position:absolute;right:11px;top:26px}.agent-overview .job-open{position:relative}.agent-overview .timeline{padding-left:6px;padding-right:6px}.agent-overview .timeline li{font-size:8px}.agent-overview .overview-mall{gap:10px;padding:10px}.overview-mall strong{font-size:14px}.overview-mall small{font-size:11px}}
/* Match the supplied compact phone proportions while allowing long real names to wrap. */
.agent-overview-view .app-header{padding-top:14px;padding-bottom:12px}
.agent-overview-view .app-header img{width:115px;height:26px}
.agent-overview-view #agentMatchingStatus{padding:8px 12px;margin-bottom:10px;font-size:11px;line-height:1.35}
.agent-overview .overview-hero{padding:18px 21px;gap:14px}
.agent-overview .overview-hero h1{font-size:20px;line-height:1.25;margin:10px 0 8px}
.agent-overview .overview-hero .online-label{font-size:11px}
.agent-overview .overview-hero p{font-size:12px;line-height:1.5}
.agent-overview .availability{padding-top:8px;padding-bottom:8px;padding-left:18px}
.agent-overview .overview-metrics{padding-top:12px;padding-bottom:12px}
.overview-metrics .overview-icon{width:36px;height:36px}.overview-metrics .overview-icon>.icon{width:23px;height:23px}
.agent-overview .overview-metrics small{font-size:11px;min-height:28px;margin-top:4px;margin-bottom:2px}
.agent-overview .overview-metrics strong{font-size:26px}
.overview-shortcuts>button{padding:9px 11px 11px;gap:7px}
.overview-shortcuts .overview-icon{width:36px;height:36px}.overview-shortcuts .overview-icon>.icon{width:22px;height:22px}
.overview-shortcuts strong{font-size:12px;min-height:28px}.overview-shortcuts small{font-size:10px}
@media(max-width:410px){.agent-overview-view .app-header img{width:105px;height:25px}.agent-overview .overview-hero{padding:18px 16px;gap:12px}.agent-overview .overview-hero h1{font-size:19px}.agent-overview .availability{padding-left:13px}.overview-shortcuts>button{padding-left:9px;padding-right:9px}.overview-shortcuts .overview-icon{width:34px;height:34px}}
@media(max-width:350px){.agent-overview-view .app-header img{width:88px;height:23px}.agent-overview .overview-hero{padding:16px 13px;gap:10px}.agent-overview .overview-hero h1{font-size:18px}.agent-overview .overview-hero .online-label{font-size:10px}.agent-overview .availability{padding-left:10px}.overview-shortcuts>button{padding:8px 7px}.overview-shortcuts strong{font-size:11px}}
.agent-overview .overview-metrics small{max-width:85px}
