/* OROX Smart Service Center V1 — isolated premium compact workspace */
.service-v1{--sv-line:color-mix(in srgb,var(--blue) 18%,var(--line));--sv-surface:color-mix(in srgb,var(--surface-1) 75%,var(--card));width:100%;max-width:100%;min-width:0;color:var(--text);font-size:12px}
.service-v1 :is(button,input,select){font:inherit}
.service-v1 :is(button,input,select):focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.service-v1-hero{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;min-height:126px;padding:23px 28px;margin:0 0 13px;border:1px solid var(--sv-line);border-radius:16px;overflow:hidden;background:radial-gradient(ellipse at 7% 130%,rgba(38,185,223,.2),transparent 34%),radial-gradient(ellipse at 76% -30%,rgba(41,121,255,.3),transparent 50%),linear-gradient(115deg,#0b213a,#081525 72%)}
.service-v1-hero:before{content:"";position:absolute;inset:0;z-index:-1;opacity:.34;background:repeating-linear-gradient(135deg,transparent 0 28px,rgba(71,156,241,.075) 29px 30px);mask-image:linear-gradient(90deg,transparent,#000)}
.service-v1-hero-copy{max-width:min(78%,640px);min-width:0}
.service-v1-eyebrow{display:block;color:#57c5f1;font-size:10px;font-weight:800;letter-spacing:.11em;margin-bottom:8px}
.service-v1-hero h2{margin:0;font-size:clamp(18px,2vw,25px);line-height:1.25;color:#f5f9ff;font-weight:900}
.service-v1-hero p{margin:8px 0 0;color:#b3cbe2;font-size:12px;line-height:1.6}
.service-v1-hero-art{height:94px;width:102px;flex:none;display:grid;place-items:center;color:#79caff;font-size:68px;font-weight:700;text-shadow:0 0 34px rgba(47,159,255,.55);opacity:.8}
.service-v1-kpis{margin:0 0 13px}
.service-v1-kpis .health-tile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.service-v1-kpis .health-tile{margin:0;min-width:0;min-height:101px;padding:13px 15px;border:1px solid var(--sv-line);border-radius:12px;background:linear-gradient(155deg,color-mix(in srgb,var(--blue) 7%,var(--card)),var(--sv-surface));box-shadow:0 5px 18px rgba(0,0,0,.06)}
.service-v1-kpis .health-tile b{font-size:clamp(20px,2.1vw,27px);font-weight:900;font-variant-numeric:tabular-nums}
.service-v1-kpis .health-tile small{font-size:10px}
.service-v1-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:12px}
.service-v1-filter-group{display:flex;align-items:center;flex:1 1 560px;gap:7px;min-width:0}
.service-v1-filter-group input,.service-v1-filter-group select{color:var(--text);background:var(--card);border:1px solid var(--sv-line);border-radius:9px;padding:8px 11px;height:38px;min-width:0;max-width:100%;outline:none}
.service-v1-filter-group input{flex:2 1 220px;max-width:none}
.service-v1-filter-group select{flex:1 1 128px}
.service-v1-primary-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.service-v1-primary-actions .btn{min-height:38px;padding:7px 12px;white-space:nowrap}
.service-v1-primary-actions .btn.primary{background:linear-gradient(125deg,#2979ff,#1766de);color:#fff;border-color:#277af1}
.service-v1-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(340px,1fr);gap:12px;align-items:start}
.service-v1-list-card,.service-v1-detail-card{min-width:0;border:1px solid var(--sv-line);border-radius:13px;background:var(--sv-surface);overflow:hidden;box-shadow:0 7px 24px rgba(0,0,0,.06)}
.service-v1-list-card [data-service-table]{min-height:180px;min-width:0}
.service-v1-list-card .table-wrap{max-width:100%;min-height:0;overflow-x:auto}
.service-v1-list-card table{width:100%;min-width:780px;border-collapse:separate;border-spacing:0}
.service-v1-list-card th{padding:12px 9px;color:var(--muted);font-size:10px;font-weight:800;background:color-mix(in srgb,var(--blue) 5%,var(--card));white-space:nowrap}
.service-v1-list-card td{padding:12px 9px;font-size:11px;line-height:1.5;vertical-align:middle;border-bottom:1px solid color-mix(in srgb,var(--line) 75%,transparent)}
.service-v1-list-card tr:last-child td{border-bottom:0}
.service-v1-list-card tr.service-v1-selected td{background:color-mix(in srgb,var(--blue) 12%,var(--card))}
.service-v1-list-card tr:hover td{background:color-mix(in srgb,var(--blue) 7%,var(--card))}
.service-v1-list-card .cell-sub{display:block;margin-top:3px;font-size:10px;color:var(--muted);max-width:170px}
.service-v1-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.service-v1-record-link{display:inline-block;padding:0;max-width:100%;border:0;background:transparent;color:var(--blue);font-weight:900;line-height:1.5;overflow-wrap:anywhere;text-align:start}
.service-v1-record-link:hover{text-decoration:underline}
.service-v1-serial{direction:ltr;unicode-bidi:plaintext;font-variant-numeric:tabular-nums}
.service-v1-chip{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:4px 8px;min-height:24px;white-space:nowrap;font-size:10px;font-weight:800;background:color-mix(in srgb,var(--blue) 12%,var(--card));color:var(--blue)}
.service-v1-state-active,.service-v1-state-in_progress,.service-v1-state-closed,.service-v1-priority-low{color:var(--green);background:color-mix(in srgb,var(--green) 12%,var(--card))}
.service-v1-state-resolved,.service-v1-state-scheduled,.service-v1-state-upcoming,.service-v1-priority-normal{color:var(--cyan);background:color-mix(in srgb,var(--cyan) 11%,var(--card))}
.service-v1-state-expired,.service-v1-state-cancelled,.service-v1-state-retired,.service-v1-priority-urgent{color:var(--red);background:color-mix(in srgb,var(--red) 13%,var(--card))}
.service-v1-state-none,.service-v1-state-draft{color:var(--muted)}
.service-v1-state-new,.service-v1-state-out_of_service,.service-v1-priority-high{color:#efb85c;background:color-mix(in srgb,#efb85c 11%,var(--card))}
.service-v1-pagination{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 12px;color:var(--muted);font-size:11px;border-top:1px solid var(--sv-line)}
.service-v1-page-buttons{display:flex;align-items:center;gap:9px;direction:ltr}
.service-v1-page-buttons b{font-size:11px;color:var(--text);font-variant-numeric:tabular-nums}
.service-v1-page-buttons .btn{min-height:30px;min-width:34px}
.service-v1-empty{padding:42px 16px;text-align:center;color:var(--muted);line-height:1.8}
.service-v1-detail-card{position:sticky;top:90px}
.service-v1-detail-content{min-width:0}
.service-v1-detail-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;background:linear-gradient(110deg,color-mix(in srgb,var(--blue) 14%,var(--card)),var(--sv-surface));border-bottom:1px solid var(--sv-line)}
.service-v1-detail-head h3{margin:0;font-size:14px;font-weight:900;overflow-wrap:anywhere}
.service-v1-detail-head .btn{font-size:20px;padding:0 6px;min-height:27px}
.service-v1-detail-body{max-height:calc(100dvh - 175px);overflow:auto;min-width:0;padding:12px;scrollbar-width:thin}
.service-v1-detail-body .project-center-hero{margin:0 0 10px;padding:11px;border-radius:11px;display:flex;gap:10px}
.service-v1-detail-body .project-center-hero h2{font-size:14px;line-height:1.55}
.service-v1-detail-body .project-center-hero p{font-size:11px;line-height:1.6}
.service-v1-detail-body .action-row{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.service-v1-detail-body .btn{min-height:33px;padding:6px 9px;font-size:11px}
.service-v1-detail-body .health-tile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.service-v1-detail-body .health-tile{min-width:0;padding:11px}
.service-v1-detail-body .health-tile b{font-size:16px;overflow-wrap:anywhere;white-space:normal}
.service-v1-detail-body .health-tile small{font-size:9px}
.service-v1-placeholder{padding:80px 18px;text-align:center;display:grid;justify-items:center;gap:10px;color:var(--muted)}
.service-v1-placeholder span{font-size:45px;color:var(--blue);opacity:.55}
.service-v1-placeholder b{font-size:12px;color:var(--text)}.service-v1-placeholder small{font-size:10px;line-height:1.6}
.service-v1-tabs{display:flex;gap:4px;overflow:auto;border-bottom:1px solid var(--sv-line);padding:7px 2px;margin-top:11px;scrollbar-width:thin}
.service-v1-tabs button{border:0;border-radius:7px;padding:8px 9px;min-height:32px;background:transparent;color:var(--muted);font-size:10px;font-weight:800;white-space:nowrap}
.service-v1-tabs button[aria-selected="true"]{color:var(--blue);background:color-mix(in srgb,var(--blue) 13%,var(--card));box-shadow:inset 0 -2px 0 var(--blue)}
.service-v1-tab-panel{padding:12px 2px;min-width:0}
.service-v1-tab-panel[hidden]{display:none!important}
.service-v1-tab-panel .table-wrap{min-height:0;width:100%;overflow:auto}
.service-v1-tab-panel table{min-width:520px}
.service-v1-tab-panel :is(th,td){font-size:10px;padding:9px 8px}
.service-v1-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.service-v1-fact{display:grid;gap:5px;min-width:0;padding:10px;border:1px solid var(--sv-line);border-radius:9px;background:color-mix(in srgb,var(--blue) 4%,var(--card))}
.service-v1-fact small{font-size:10px;color:var(--muted)}
.service-v1-fact strong{font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.service-v1-section-copy{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;color:var(--text);padding:9px}
.service-v1-asset-picker{grid-column:1/-1;display:grid;gap:8px;padding:10px;border:1px solid var(--line);border-radius:11px}
.service-v1-asset-picker>label{font-size:12px;font-weight:800}
.service-v1-asset-picker input{width:100%;min-width:0}
.service-v1-asset-picker-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:170px;overflow:auto}
.service-v1-asset-picker-results label{display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.5;border:1px solid var(--line);border-radius:8px;padding:8px;min-width:0}
.service-v1-asset-picker-results label input{width:auto;flex:none}
.service-v1-asset-picker small{font-size:10px;color:var(--muted)}
.service-v1-serial-warning{font-size:10px;color:var(--amber);grid-column:1/-1;line-height:1.5}
@media(max-width:1250px){.service-v1-layout{grid-template-columns:minmax(0,1fr)}.service-v1-detail-card{position:static}.service-v1-detail-body{max-height:none;overflow:visible}.service-v1-kpis .health-tile-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:920px){.service-v1-layout{display:flex;flex-direction:column;gap:10px}.service-v1-list-card,.service-v1-detail-card{width:100%}.service-v1-detail-card:not(.service-v1-detail-open){display:none}.service-v1-detail-card.service-v1-detail-open{order:-1}}
@media(max-width:680px){
 .service-v1-hero{min-height:108px;padding:15px 13px;border-radius:12px}
 .service-v1-hero h2{font-size:18px}.service-v1-hero p{font-size:10px}
 .service-v1-hero-art{width:48px;height:65px;font-size:43px}
 .service-v1-hero-copy{max-width:calc(100% - 55px)}
 .service-v1-kpis .health-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .service-v1-kpis .health-tile{min-height:84px;padding:10px}
 .service-v1-kpis .health-tile b{font-size:20px}
 .service-v1-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:7px}
 .service-v1-filter-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;flex:auto}
 .service-v1-filter-group input{grid-column:1/-1;min-height:42px}
 .service-v1-filter-group select{min-width:0;min-height:40px}
 .service-v1-primary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .service-v1-primary-actions .btn:first-child{grid-column:1/-1}
 .service-v1-list-card .table-wrap{overflow:visible}
 .service-v1-list-card table,.service-v1-tab-panel table{display:block;width:100%;min-width:0!important;max-width:100%;border-collapse:separate}
 .service-v1-list-card thead,.service-v1-tab-panel thead{display:none}
 .service-v1-list-card tbody,.service-v1-tab-panel tbody{display:grid;gap:8px;padding:8px}
 .service-v1-list-card tr,.service-v1-tab-panel tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px;width:100%;min-width:0;border:1px solid var(--sv-line);border-radius:10px;padding:7px 10px;background:var(--card)}
 .service-v1-list-card td,.service-v1-tab-panel td{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding:7px 0;white-space:normal;min-width:0;overflow-wrap:anywhere;font-size:11px;border:0!important;background:transparent!important}
 .service-v1-list-card td:before,.service-v1-tab-panel td:before{content:attr(data-label);font-size:9px;font-weight:750;color:var(--muted)}
 .service-v1-list-card td:nth-child(1),.service-v1-list-card td:nth-child(2){grid-column:1/-1}
 .service-v1-list-card td:nth-child(2){border-bottom:1px solid var(--line)!important;padding-bottom:10px}
 .service-v1-list-card .cell-sub{max-width:none}
 .service-v1-truncate{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .service-v1-list-card .service-v1-chip{justify-self:start}
 .service-v1-detail-head{padding:10px}.service-v1-detail-body{padding:9px}
 .service-v1-detail-body .project-center-hero{flex-direction:column}
 .service-v1-detail-body .action-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .service-v1-detail-body .action-row .btn{min-height:40px;width:100%}
 .service-v1-tabs{flex-wrap:wrap;overflow:visible}
 .service-v1-tabs button{flex:1 1 calc(33% - 5px);white-space:normal;min-height:38px}
 .service-v1-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .service-v1-asset-picker-results{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.service-v1 *{scroll-behavior:auto!important;transition:none!important}}

/* Compact service/asset/contract rows without clamping identifiers or labels. */
@media screen and (max-width:680px){
  .service-v1-list-card tr,.service-v1-tab-panel tr{row-gap:0;padding:7px 9px}
  .service-v1-list-card td,.service-v1-tab-panel td{
    gap:2px;padding:5px 0;font-size:12px;line-height:1.45;
  }
  .service-v1-list-card td:before,.service-v1-tab-panel td:before{font-size:10px}
  .service-v1-truncate{
    display:block;-webkit-line-clamp:unset;overflow:visible;
    white-space:normal;overflow-wrap:anywhere;
  }
  .service-v1-primary-actions .btn,.service-v1-tabs button{min-height:40px;font-size:12px}
}

@media print{
 body.service-v1-printing *{visibility:hidden!important}
 body.service-v1-printing .service-v1-detail-card,body.service-v1-printing .service-v1-detail-card *{visibility:visible!important}
 body.service-v1-printing .service-v1-detail-card{position:absolute!important;inset:0!important;width:100%!important;max-width:none!important;
   border:0!important;box-shadow:none!important;background:#fff!important;color:#121c2e!important}
 body.service-v1-printing .service-v1-detail-body{max-height:none!important;overflow:visible!important;background:#fff!important;color:#121c2e!important}
 body.service-v1-printing .service-v1-detail-card :is(.service-v1-detail-head button,.service-v1-detail-body .action-row,.service-v1-tabs){display:none!important}
 body.service-v1-printing .service-v1-detail-card :is(.service-v1-tab-panel,.service-v1-tab-panel[hidden]){display:block!important}
 body.service-v1-printing .service-v1-detail-card :is(table,th,td){color:#121c2e!important}
}
