/* SmartCo product interface mockups (training, operations and care dashboards).
   These recreate the real SmartCo application screens, so they keep the app's own styling.
   Loaded only on pages that show a product demo. */
.product-demo{--violet:#0e8577;--green:#29b884;--muted:#6b7587;--sc-purple:#0e8577;font-family:"Plus Jakarta Sans","IBM Plex Sans Arabic",system-ui,sans-serif;text-align:start}
.product-demo *{box-sizing:border-box}
.live-pill{font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#21785d}
.live-pill::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);margin-right:5px}
.marker-layer{position:absolute;inset:8px;pointer-events:none}
.injury-marker{position:absolute;width:15px;height:15px;border:2px solid #fff;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 1px 4px rgba(23,32,51,.3);pointer-events:auto;cursor:pointer}
.injury-record{display:flex;align-items:center;gap:9px;padding:10px 0;border-top:1px solid #edf0f4}
.injury-record i{width:10px;height:10px;border-radius:50%}
.injury-record span{display:flex;flex-direction:column}
.injury-record strong{font-size:12px}
.injury-record small{font-size:10px;color:var(--muted)}
.empty-state{font-size:13px;color:var(--muted)}
.product-demo-section{background:#fff}
.product-demo{border:1px solid #d9e0e9;border-radius:8px;background:#fff;overflow:hidden;box-shadow:0 10px 28px rgba(23,32,51,.06)}
.product-demo-training{display:grid;grid-template-columns:62px 1fr;min-height:610px;background:#f4f7f9}
.demo-training-rail{background:#08283d;color:#d8e5ed;padding:12px 7px;display:flex;flex-direction:column;align-items:center;gap:15px}
.demo-rail-home{width:36px;height:36px;border-radius:6px;background:#0f3650;display:flex;align-items:center;justify-content:center;color:#6ec9ff;font-size:14px;font-weight:800;margin-bottom:4px}
.demo-rail-item{width:100%;display:flex;flex-direction:column;align-items:center;gap:4px;color:#b9c9d4;font-size:8px;font-weight:700;text-align:center}
.demo-rail-item span{width:30px;height:30px;border-radius:6px;background:#11394e;display:flex;align-items:center;justify-content:center;color:#4fe0bd;font-size:11px}
.demo-rail-item.active{color:#fff}
.demo-rail-item.active span{background:#17445c;color:#74c5ff}
.demo-training-app{min-width:0}
.demo-training-topbar{height:62px;background:#fff;border-bottom:1px solid #e1e6ec;display:flex;align-items:center;padding:0 18px;gap:14px}
.demo-training-topbar img{width:185px;height:auto}
.demo-search{margin-left:auto;width:210px;border:1px solid #d9dce1;border-radius:6px;padding:9px 12px;color:#969dad;font-size:11px;background:#fff}
.demo-avatar{width:34px;height:34px;border-radius:50%;background:#111;color:#fff;display:flex;align-items:center;justify-content:center;font-size:11px}
.demo-training-content{padding:28px 32px 30px}
.demo-app-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}
.demo-app-heading h3{font-size:24px;margin-bottom:2px;color:#081422;letter-spacing:-.02em}
.demo-app-heading p{font-size:13px;margin:0;color:#5f6e7e}
.demo-heading-actions{display:flex;gap:7px;align-items:center}
.demo-heading-actions span{padding:8px 11px;border:1px solid #dce2e8;border-radius:5px;background:#fff;color:#3d566c;font-size:10px;white-space:nowrap}
.demo-heading-actions .live{color:#00865f;background:#f0faf7;border-color:#cae8de}
.training-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:16px}
.training-kpi{min-height:105px;padding:14px 14px;background:#fff;border:1px solid #dce2e8;border-radius:6px;display:flex;align-items:center;gap:12px;box-shadow:0 2px 4px rgba(23,32,51,.03)}
.training-kpi img{width:48px;height:48px;object-fit:contain;flex:0 0 48px}
.training-kpi div{min-width:0}
.training-kpi span{display:block;color:#62738f;font-size:11px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.training-kpi strong{display:block;margin-top:3px;color:#071422;font-size:25px;line-height:1.05}
.training-kpi small{display:block;margin-top:3px;color:#8190a0;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.training-kpi.money strong{color:#087d4d}
.training-kpi.warn strong{color:#ba4b00}
.training-kpi.danger{border-color:#f0b7bb;background:#fffafa}
.training-kpi.danger strong{color:#c83a45}
.demo-attention{border:1px solid #efb9b9;border-radius:6px;overflow:hidden;background:#fff}
.demo-attention-head{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;background:#fff9f9;border-bottom:1px solid #eee}
.demo-attention-head>div{display:grid;grid-template-columns:28px auto;column-gap:9px;align-items:center}
.attention-symbol{grid-row:1/3;width:28px;height:28px;border-radius:6px;background:#fde7e7;color:#c5261c;display:flex;align-items:center;justify-content:center;font-weight:800}
.demo-attention-head strong{font-size:13px;color:#b32319}
.demo-attention-head small{font-size:9px;color:#8b6b69}
.demo-attention-head .demo-task-button{border:0;border-radius:5px;background:#c51d18;color:#fff;padding:8px 12px;font-size:9px;font-weight:750}
.demo-task{display:grid;grid-template-columns:8px 1fr auto;gap:10px;align-items:center;padding:12px 16px;border-top:1px solid #e6e9ed}
.demo-task:first-of-type{border-top:0}
.demo-task i{width:6px;height:6px;border-radius:50%;background:#c0540a}
.demo-task strong{display:block;font-size:11px;color:#071422}
.demo-task small{display:block;font-size:9px;color:#8190a0;margin-top:2px}
.demo-task>span{background:#faf0e9;color:#b84d00;border-radius:5px;padding:5px 8px;font-size:8px;font-weight:800}
.product-demo-operations{background:#fff}
.ops-topbar{height:56px;background:#0f1d26;color:#fff;display:flex;align-items:center;padding:0 24px;gap:18px}
.ops-topbar img{width:195px;height:auto}
.ops-search{margin-left:auto;width:280px;border:1px solid rgba(255,255,255,.2);border-radius:4px;padding:8px 12px;color:#c6c5d1;font-size:10px;background:rgba(255,255,255,.07)}
.ops-help{font-size:11px;border-left:1px solid rgba(255,255,255,.28);padding-left:16px}
.ops-body{display:grid;grid-template-columns:215px 1fr;min-height:590px}
.ops-sidebar{padding:17px 16px 24px;background:#fff;border-right:1px solid #e4e8ed}
.ops-title{display:flex;align-items:center;gap:10px;font-size:15px;margin-bottom:26px}
.ops-title strong{font-size:18px}
.ops-sidebar>small{display:block;color:#1b2c43;font-size:9px;margin:0 0 8px 7px}
.ops-nav{height:36px;display:flex;align-items:center;gap:9px;padding:0 9px;border-radius:0px;color:#203047;font-size:11px}
.ops-nav span{width:28px;height:28px;border-radius:5px;background:#eef2f5;display:flex;align-items:center;justify-content:center;color:#6e7b8c;font-size:9px}
.ops-nav.active{background:#edf0f3;border-left:3px solid var(--violet);padding-left:6px;font-weight:650}
.ops-content{background:#fff;padding:26px}
.ops-panel{border:1px solid #dfe4ea;border-radius:6px;padding:20px}
.ops-panel>h3{font-size:12px;color:#394b63;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #dfe4ea}
.ops-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.ops-kpi{min-height:135px;border:1px solid #dfe4ea;border-left:3px solid #e0e4e9;border-radius:4px;padding:20px 17px;display:flex;flex-direction:column}
.ops-kpi.violet{border-left-color:var(--violet)}
.ops-kpi.green{border-left-color:#29916b}
.ops-kpi span{font-size:11px;color:#23334a}
.ops-kpi strong{font-size:29px;font-weight:400;color:#333;margin:auto 0 6px}
.ops-kpi small{font-size:10px;color:#6e7c91}
.ops-kpi.compact{grid-column:1;min-height:105px}
.ops-section-label{font-size:11px;font-weight:750;color:#40526a;padding:12px 7px;border-bottom:1px solid #dfe4ea}
.ops-task-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:17px}
.ops-task-grid>div{min-height:90px;border:1px solid #dfe4ea;border-radius:4px;padding:18px}
.ops-task-grid span{display:block;font-size:10px;color:#27364a}
.ops-task-grid strong{display:block;margin-top:18px;font-size:24px;font-weight:500;color:#333}
.product-demo-healthcare{display:grid;grid-template-columns:205px 1fr;min-height:610px;background:#f5f6f8}
.care-demo-sidebar{padding:28px 18px;background:#fff;border-right:1px solid #dfe4ea}
.care-demo-sidebar>img{width:165px;margin:0 auto 32px}
.care-demo-sidebar>small{display:block;margin:21px 0 8px;color:#a3a4aa;font-size:10px}
.care-demo-group{display:grid;gap:5px}
.care-demo-group span{padding:7px 4px;color:#243348;font-size:11px}
.care-demo-main{min-width:0}
.care-demo-toolbar{height:66px;background:#fff;border-bottom:1px solid #dfe4ea;padding:11px 18px;display:flex;align-items:center}
.care-demo-toolbar span{height:38px;display:flex;align-items:center;justify-content:center;border:1px solid #d1d9e5;background:#fff;padding:0 15px;color:#513d29;font-size:12px}
.care-demo-toolbar span:first-child{background:#4e82d4;color:#fff;border-color:#4e82d4;border-radius:5px 0 0 5px;font-weight:700}
.care-demo-toolbar span:last-child{border-radius:0 5px 5px 0}
.care-demo-grid{display:grid;grid-template-columns:1.25fr .75fr;max-width:980px;margin:0 auto;background:#fff;border-left:1px solid #e1e5eb;border-right:1px solid #e1e5eb}
.care-demo-map{min-width:0}
.care-demo-types{display:flex;flex-wrap:wrap;gap:7px;padding:10px 18px 16px;border-bottom:1px solid #e1e5eb}
.care-pill{border:1px solid #d8dee6;background:#fff;border-radius:6px;padding:7px 12px;color:#233049;font-size:10px;font-weight:650}
.care-pill.active{color:#0b6e63;background:#f5fbfa;border-color:#c4e6df}
.care-demo-instruction{padding:14px 18px;border-bottom:1px solid #e1e5eb}
.care-demo-instruction strong,.care-demo-instruction span{display:block}
.care-demo-instruction strong{font-size:11px;color:#111}
.care-demo-instruction span{font-size:9px;color:#8290a1;margin-top:3px}
.care-demo-views{display:grid;grid-template-columns:repeat(4,1fr);padding:8px 16px 0;color:#59677d;font-size:9px;text-align:center;font-weight:650}
.care-demo-figure{padding:8px 10px 18px}
.care-demo-figure img{width:100%;max-height:420px;object-fit:contain}
.care-demo-notes{border-left:1px solid #e1e5eb;background:#fff}
.care-demo-note-copy{padding:22px 20px;color:#6c7480;font-size:11px;text-align:center;border-bottom:1px solid #e1e5eb}
.care-demo-note-field{padding:16px 18px;border-bottom:1px solid #e1e5eb}
.care-demo-note-field strong{display:block;color:#687185;font-size:9px;letter-spacing:.06em;margin-bottom:8px}
.care-demo-note-field div{min-height:72px;border:1px solid #d8dee6;border-radius:6px;background:#f5f6f8;padding:11px;color:#8e8790;font-size:10px}
.care-demo-note-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 18px}
.care-demo-note-actions span{display:flex;align-items:center;justify-content:center;text-align:center;border:1px solid #d6dce4;border-radius:6px;background:#fff;color:#596375;min-height:52px;font-size:10px;font-weight:700}
.care-demo-note-actions span:last-child{background:#2368b4;color:#fff;border-color:#2368b4}
@media (max-width:1080px){.product-demo-training{grid-template-columns:52px 1fr}
.training-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
.training-kpi:nth-child(n/**/+7){display:none}
.ops-body{grid-template-columns:175px 1fr}
.ops-kpis{grid-template-columns:repeat(2,1fr)}
.ops-kpi.compact{grid-column:auto}
.ops-task-grid{grid-template-columns:repeat(2,1fr)}
.product-demo-healthcare{grid-template-columns:165px 1fr}
.care-demo-grid{grid-template-columns:1fr}
.care-demo-notes{display:none}}
@media (max-width:720px){.product-demo{border-radius:6px}
.product-demo-training{display:block;min-height:auto}
.demo-training-rail{display:none}
.demo-training-topbar{height:52px;padding:0 12px}
.demo-training-topbar img{width:150px}
.demo-search{display:none}
.demo-training-content{padding:18px 14px}
.demo-app-heading{display:block}
.demo-app-heading h3{font-size:20px}
.demo-heading-actions{margin-top:10px}
.training-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.training-kpi{min-height:96px;padding:10px;gap:8px}
.training-kpi img{width:38px;height:38px;flex-basis:38px}
.training-kpi strong{font-size:20px}
.training-kpi:nth-child(n/**/+7){display:none}
.demo-task:nth-child(n/**/+3){display:none}
.ops-topbar{height:52px;padding:0 14px}
.ops-topbar img{width:160px}
.ops-search,.ops-help{display:none}
.ops-body{display:block;min-height:auto}
.ops-sidebar{display:none}
.ops-content{padding:12px}
.ops-panel{padding:12px}
.ops-kpis{grid-template-columns:repeat(2,1fr);gap:8px}
.ops-kpi{min-height:105px;padding:14px 11px}
.ops-kpi strong{font-size:25px}
.ops-task-grid{grid-template-columns:repeat(2,1fr);gap:8px}
.product-demo-healthcare{display:block;min-height:auto}
.care-demo-sidebar{display:none}
.care-demo-toolbar{height:54px}
.care-demo-grid{display:block}
.care-demo-notes{display:none}
.care-demo-types{padding:9px 10px 12px}
.care-demo-views{font-size:8px}
.care-demo-figure img{max-height:350px}}
.product-demo-training{grid-template-columns:132px 1fr;}
.demo-training-rail{display:flex;
    flex-direction:column;
    gap:5px;
    padding:14px 9px 18px;
    background:#102f46;
    border-right:1px solid rgba(255,255,255,.06);}
.demo-rail-brand{width:34px;
    height:34px;
    margin:0 0 10px 7px;
    border-radius:6px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#0b2639;
    color:#7ad7e8;
    font-size:10px;
    font-weight:800;
    letter-spacing:.04em;}
.demo-rail-item{width:100%;
    min-height:40px;
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:flex-start;
    gap:8px;
    padding:0 8px;
    border-left:3px solid transparent;
    color:#b8c7d2;
    font-size:10.5px;
    font-weight:500;
    text-align:left;
    transition:background .16s ease,color .16s ease;}
.demo-rail-item b{font-weight:550;
    line-height:1;}
.demo-rail-item .demo-rail-icon{width:27px;
    height:27px;
    flex:0 0 27px;
    margin:0;
    border-radius:6px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.045);
    color:#8ccfc7;}
.demo-rail-item .demo-rail-icon svg{width:16px;
    height:16px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.65;
    stroke-linecap:round;
    stroke-linejoin:round;}
.demo-rail-item:hover{background:rgba(255,255,255,.045);
    color:#fff;}
.demo-rail-item.active{background:rgba(18,170,169,.10);
    border-left-color:#12aaa9;
    color:#fff;}
.demo-rail-item.active .demo-rail-icon{background:rgba(18,170,169,.17);
    color:#78ddd6;}
@media (min-width:721px) and (max-width:1100px){.product-demo-training{grid-template-columns:112px 1fr;}
.demo-training-rail{padding-left:7px;
        padding-right:7px;}
.demo-rail-item{padding-left:6px;
        padding-right:6px;
        gap:6px;
        font-size:9.5px;}
.demo-rail-item .demo-rail-icon{width:25px;
        height:25px;
        flex-basis:25px;}}
@media (max-width:720px){.product-demo-training{display:block;}
.demo-training-rail{display:none !important;}}
.smartco-money{display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;}
.smartco-money div{padding:12px;
    border:1px solid #e4e8ee;
    border-radius:6px;}
.smartco-money span{display:block;
    color:#7b8797;
    font-size:10px;}
.smartco-money strong{display:block;
    margin-top:4px;
    color:#253248;
    font-size:18px;
    font-weight:500;}
.smartco-money-bar{height:8px;
    margin:20px 0 12px;
    overflow:hidden;
    border-radius:6px;
    background:#f0e5eb;}
.smartco-money-bar i{display:block;
    width:72%;
    height:100%;
    background:#0e8577;}
.smartco-money-bar{background:#edf0f4;}
.smartco-money-bar i{background:var(--sc-purple);}
.care-demo-figure{position:relative;cursor:crosshair}
.care-demo-figure img{display:block;width:100%}
.care-demo-figure .marker-layer{position:absolute;inset:0;pointer-events:none}
.care-demo-figure .injury-marker{position:absolute;width:16px;height:16px;border:2px solid #fff;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 2px 6px rgba(0,0,0,.3);pointer-events:auto;cursor:pointer;padding:0}
button.care-pill{font:inherit;cursor:pointer;background:#fff;border:1px solid #e1e5eb}
button.care-pill.active{border-color:#0e8577;color:#0e8577;background:#e7f6f3}
.care-demo-list{margin-top:10px;display:grid;gap:6px}
.care-demo-list .injury-record{display:flex;align-items:center;gap:8px;font-size:13px;border:1px solid #e1e5eb;border-radius:8px;padding:6px 8px;background:#fff}
.care-demo-list .injury-record i{width:10px;height:10px;border-radius:50%;flex:none}
.care-demo-list .injury-record small{display:block;color:#768194}
.care-demo-list .empty-state{font-size:13px;color:#768194;margin:0}
button.care-clear{font:inherit;cursor:pointer;background:#fff;border:1px solid #e1e5eb}
.demo-switch-label{display:flex;align-items:center;gap:10px;font-weight:700;font-size:14px;color:#0e8577;margin:0 0 10px}
.demo-switch-label:before{content:"";width:24px;height:2px;background:#12a594;display:inline-block;flex:none}
@media (min-width:1100px){.product-demo{zoom:1.12}}
@media (min-width:1500px){.product-demo{zoom:1.22}}
@media (min-width:1800px){.product-demo{zoom:1.3}}
.ops-kpi span{font-size:13px}
.ops-kpi small{font-size:11px}
.ops-panel>h3{font-size:14px}
.ops-nav{font-size:12px}
.ops-section-label{font-size:12px}
.ops-task-grid span{font-size:11.5px}
.ops-sidebar>small{font-size:10.5px}
.care-pill{font-size:12.5px;padding:8px 14px}
.care-demo-group span{font-size:12.5px}
.care-demo-sidebar>small{font-size:11px}
.care-demo-instruction strong{font-size:13px}
.care-demo-instruction span{font-size:11px}
.care-demo-views{font-size:11px}
.care-demo-note-copy{font-size:12.5px}
.care-demo-note-field strong{font-size:10.5px}
.demo-rail-item{font-size:9.5px}
.demo-task strong{font-size:12.5px}
.demo-task small{font-size:10.5px}
.demo-task>span{font-size:9.5px}
.demo-attention-head small{font-size:10.5px}
.demo-app-heading p{font-size:14px}
.smartco-money span{font-size:13px}
.smartco-money strong{font-size:20px}
@media (min-width:1500px){.product-demo{zoom:1.26}}
@media (min-width:1800px){.product-demo{zoom:1.34}}
@media (min-width:2200px){.product-demo{zoom:1.42}}
.demo-block{padding-top:34px;padding-bottom:34px}
.demo-block h2,.demo-block h3{margin-bottom:8px}
/* rtl */
html[dir="rtl"] .product-demo{direction:ltr;text-align:left}
.site-ar .product-demo{direction:rtl;
    text-align:right;}
.site-ar .demo-training-rail{border-right:0;
    border-left:1px solid rgba(255,255,255,.06);}
.site-ar .demo-rail-brand{margin-right:7px;
    margin-left:0;}
.site-ar .demo-rail-item{border-left:0;
    border-right:3px solid transparent;
    text-align:right;}
.site-ar .demo-rail-item.active{border-left-color:transparent;
    border-right-color:#12aaa9;}
.site-ar .demo-search,
.site-ar .ops-search{text-align:right;}
.site-ar .ops-sidebar{border-right:0;
    border-left:1px solid #e4e8ed;}
.site-ar .ops-nav.active{border-left:0;
    border-right:3px solid var(--violet);
    padding-left:9px;
    padding-right:6px;}
.site-ar .care-demo-sidebar{border-right:0;
    border-left:1px solid #dfe4ea;}
.site-ar .care-demo-toolbar{direction:rtl;}
.site-ar .care-demo-instruction,
.site-ar .care-demo-note-copy,
.site-ar .care-demo-note-field{text-align:right;}
@media (max-width:720px){.site-ar .product-demo{direction:rtl;}}
.site-ar .product-demo{direction:rtl;
    text-align:right;}
.site-ar .demo-training-rail{border-right:0;
    border-left:1px solid rgba(255,255,255,.06);}
.site-ar .demo-rail-brand{margin-right:7px;
    margin-left:0;}
.site-ar .demo-rail-item{border-left:0;
    border-right:3px solid transparent;
    text-align:right;}
.site-ar .demo-rail-item.active{border-left-color:transparent;
    border-right-color:#12aaa9;}
.site-ar .demo-search,
.site-ar .ops-search{text-align:right;}
.site-ar .ops-sidebar{border-right:0;
    border-left:1px solid #e4e8ed;}
.site-ar .ops-nav.active{border-left:0;
    border-right:3px solid var(--violet);
    padding-left:9px;
    padding-right:6px;}
.site-ar .care-demo-sidebar{border-right:0;
    border-left:1px solid #dfe4ea;}
.site-ar .care-demo-toolbar{direction:rtl;}
.site-ar .care-demo-instruction,
.site-ar .care-demo-note-copy,
.site-ar .care-demo-note-field{text-align:right;}
@media (max-width:720px){.site-ar .product-demo{direction:rtl;}}
/* Adjustments for the new site's base styles */
.product-demo button{font-size:12.5px;line-height:1.3}
.care-pill{padding:7px 12px}
.care-demo-list .empty-state{padding:0 14px;font-size:12px}

/* KPI cards: size to fit the figures instead of truncating them */
.training-kpis{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))!important;gap:12px}
.training-kpi{min-height:0;padding:14px}
.training-kpi span,.training-kpi small{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.3}
.training-kpi span{font-size:12px}
.training-kpi small{font-size:11px}
.training-kpi strong{font-size:clamp(20px,2vw,24px);white-space:nowrap;letter-spacing:-.02em}
@media (max-width:560px){
  .training-kpis{grid-template-columns:1fr 1fr!important;gap:8px}
  .training-kpi{flex-direction:column;align-items:flex-start;padding:12px}
  .training-kpi img{width:34px;height:34px;flex-basis:auto}
  .training-kpi strong{font-size:19px}
}
.ops-kpi strong,.ops-task-grid strong{white-space:nowrap}
