/* XRVE desktop-style Maintenance Intelligence Studio; free + authenticated paid. */
:root{--xs-bg:#ecf2f6;--xs-ink:#132e42;--xs-rail:#0e263a;--xs-blue:#257da6;--xs-orange:#de783d;--xs-line:#d5e2ea}
html{scroll-behavior:smooth}
body.xrve-studio-body{margin:0;background:var(--xs-bg);color:var(--xs-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.xrve-studio-body *{box-sizing:border-box}
.xrve-studio-body button,.xrve-studio-body input,.xrve-studio-body select,.xrve-studio-body textarea{font:inherit}
.xrve-studio-skip{position:absolute;left:-10000px;top:auto}
.xrve-studio-skip:focus{left:15px;top:10px;z-index:2000;background:#fff;padding:10px}
.xrve-studio-top{height:72px;background:#0c1c2c;display:flex;align-items:center;gap:22px;padding:0 clamp(16px,2.5vw,38px);color:#fff;position:sticky;top:0;z-index:50;border-bottom:1px solid rgba(255,255,255,.15)}
/* The approved dark master wordmark needs a light surface against this Studio's navy header.
   Free and paid share this one header; Leadership already uses the site's light .site-nav. */
.xrve-studio-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:126px;
  height:60px;
  padding:5px 7px;
  background:#fff;
  border:1px solid #dbe5eb;
  border-radius:9px;
  box-shadow:0 2px 8px rgba(8,23,37,.12);
}
.xrve-studio-logo img{
  display:block;
  width:110px;
  max-width:100%;
  height:auto;
  max-height:50px;
  object-fit:contain;
}
.xrve-studio-logo:focus-visible{outline:2px solid #eaa24e;outline-offset:3px}
.xrve-studio-product{font-size:15px;font-weight:850;letter-spacing:-.02em;white-space:nowrap}
.xrve-studio-product span{font-size:10px;border:1px solid #6b8da5;color:#d9eaf5;padding:3px 6px;margin-left:5px;border-radius:4px;letter-spacing:.13em}
.xrve-studio-toplinks{display:flex;align-items:center;gap:20px;margin-left:auto}
.xrve-studio-toplinks a{color:#c9dbe7;text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap}
.xrve-studio-toplinks a:hover{color:#fff;text-decoration:underline}
.xrve-studio-tier{color:#ffb088;background:#4a312b;padding:7px 10px;border-radius:50px;font-size:10px;letter-spacing:.08em;font-weight:850;white-space:nowrap}
.xrve-studio-layout{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:calc(100vh - 72px);max-width:1920px;margin:auto}
.xrve-studio-rail{background:var(--xs-rail);color:#fff;padding:24px 12px;display:flex;flex-direction:column;gap:26px;min-width:0}
.xrve-studio-facility{padding:10px 10px 17px;border-bottom:1px solid rgba(255,255,255,.15);display:flex;flex-direction:column;gap:9px}
.xrve-studio-facility>span{font-size:10px;color:#8db5cd;letter-spacing:.14em;font-weight:800}
.xrve-studio-facility strong{font-size:14px;line-height:1.4}
.xrve-studio-facility small{font-size:11px;color:#a1c1d2}
.xrve-studio-facility select{width:100%;background:#203d50;color:#fff;border:1px solid #4f738a;border-radius:8px;font-size:12px;padding:10px;min-width:0}
.xrve-studio-smalllink{background:none;border:0;text-align:left;color:#f3a877;padding:3px 0;font-size:12px;cursor:pointer}
.xrve-studio-nav{display:grid;gap:5px}
.xrve-studio-nav button{display:flex;align-items:center;gap:12px;width:100%;border:0;background:none;color:#b9d0dd;text-align:left;padding:13px 12px;border-radius:9px;cursor:pointer;font-size:13px;font-weight:750;line-height:1.25}
.xrve-studio-nav button span{font-size:10px;font-weight:800;color:#7196ac}
.xrve-studio-nav button:hover,.xrve-studio-nav button:focus-visible{background:#22445b;color:#fff;outline:none}
.xrve-studio-nav button[aria-selected=true]{background:#1d4c68;color:#fff;border-left:3px solid var(--xs-orange)}
.xrve-studio-rail-bottom{margin-top:auto;padding:16px 10px;border-top:1px solid rgba(255,255,255,.15)}
.xrve-studio-rail-bottom p{font-size:11px;line-height:1.65;color:#aec4d2}
.xrve-studio-rail-bottom a{color:#f7bb8c;font-size:12px}
.xrve-studio-main{padding:30px clamp(18px,3.2vw,55px) 75px;min-width:0}
.xrve-studio-main-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:22px;border-bottom:1px solid var(--xs-line)}
.xrve-studio-eyebrow{color:#4a7c99;letter-spacing:.15em;font-size:10px;font-weight:850}
.xrve-studio-main-head h1{font-size:clamp(28px,3vw,40px);line-height:1.1;margin:9px 0;color:#102d40;letter-spacing:-.04em}
.xrve-studio-main-head p{font-size:13px;color:#617c90;margin:0;line-height:1.6}
.xrve-studio-head-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.xrve-studio-state{font-size:11px;background:#e0f0f4;color:#0c627d;border:1px solid #c2dfe9;padding:8px 12px;border-radius:50px;white-space:nowrap}
.xrve-studio-primary,.xrve-studio-secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 15px;border-radius:8px;font-size:12px;font-weight:800;line-height:1.3;cursor:pointer;text-decoration:none}
.xrve-studio-primary{border:1px solid #ce6c39;background:var(--xs-orange);color:#132432!important}
.xrve-studio-primary:hover{background:#f18b4a}
.xrve-studio-primary:disabled{opacity:.45;cursor:not-allowed}
.xrve-studio-secondary{background:#fff;border:1px solid #aec6d3;color:#235575}
.xrve-studio-secondary:hover{background:#e5f1f7}
.xrve-studio-notice{background:#e6f4f9;border:1px solid #9ac9da;color:#12435b;border-radius:9px;margin-top:17px;padding:12px 16px;font-size:12px}
.xrve-studio-notice[data-level=error]{border-color:#d9aaa0;background:#fff0ee;color:#9b432f}
.xrve-studio-panel{padding-top:26px;min-height:65vh}
.xrve-studio-panel[hidden],.xrve-studio-first[hidden],[data-studio-panels][hidden]{display:none!important}
.xrve-studio-lead{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}
.xrve-studio-lead h2{font-size:clamp(19px,2.3vw,26px);margin:0 0 7px;font-weight:850;letter-spacing:-.035em;color:#153c52}
.xrve-studio-lead p{color:#5b7788;line-height:1.65;font-size:12px;max-width:750px;margin:0}
.xrve-studio-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:22px}
.xrve-studio-kpi{background:#fff;border:1px solid var(--xs-line);border-radius:12px;padding:21px 19px;display:flex;flex-direction:column;gap:7px;box-shadow:0 4px 12px rgba(20,58,78,.025)}
.xrve-studio-kpi span{color:#61798b;text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:800}
.xrve-studio-kpi strong{font-size:clamp(24px,2.6vw,36px);line-height:1.2;color:#12354b;letter-spacing:-.03em;overflow-wrap:anywhere}
.xrve-studio-kpi small{color:#7890a0;font-size:10px}
.xrve-studio-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.xrve-studio-card{background:#fff;border:1px solid var(--xs-line);border-radius:13px;padding:22px;min-width:0;margin-bottom:18px}
.xrve-studio-card-head{display:flex;justify-content:space-between;gap:9px;align-items:center;border-bottom:1px solid #e2e9ee;padding-bottom:14px;margin-bottom:7px}
.xrve-studio-card h3,.xrve-studio-card-head h3{font-size:16px;margin:0;color:#193f57}
.xrve-studio-card-head button,.xrve-studio-textbutton{background:transparent;border:0;color:#096389;font-size:11px;font-weight:800;cursor:pointer;padding:5px}
.xrve-studio-minirow{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid #e9eef1}
.xrve-studio-minirow:last-child{border-bottom:0}
.xrve-studio-minirow>div{display:grid;gap:4px;min-width:0}
.xrve-studio-minirow strong{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.xrve-studio-minirow small{font-size:10px;color:#7b909e}
.xrve-studio-minirow b{color:#236c91;white-space:nowrap;font-size:12px}
.xrve-studio-muted{color:#7b909e;font-size:12px;line-height:1.6}
.xrve-studio-progress{margin-top:24px;background:#17354b;border-radius:13px;padding:25px;color:#fff}
.xrve-studio-progress h3{color:#fff;font-size:16px;margin:0 0 20px}
.xrve-studio-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.xrve-studio-steps>div{border-top:2px solid #e18047;padding-top:11px;display:grid;gap:5px}
.xrve-studio-steps strong{font-size:12px}
.xrve-studio-steps span{font-size:10px;color:#bed6e3}
.xrve-studio-first{margin:28px auto;padding:30px;max-width:880px;border-radius:14px;background:linear-gradient(135deg,#fff 40%,#e9f4f8);border:1px solid var(--xs-line)}
.xrve-studio-first h2{font-size:26px;margin:0 0 10px}
.xrve-studio-first p{font-size:13px;line-height:1.65;color:#567688}
.xrve-studio-inline{display:flex;align-items:end;gap:10px;margin:24px 0}
.xrve-studio-inline label{flex:1}
.xrve-studio-fine{font-size:11px!important;line-height:1.55!important;color:#6b8190!important}
.xrve-studio-body label{font-size:12px;font-weight:650;color:#315771;display:grid;gap:6px}
.xrve-studio-body input:not([type=checkbox]):not([type=file]),.xrve-studio-body select,.xrve-studio-body textarea{width:100%;min-width:0;padding:10px 11px;border:1px solid #bfced7;background:#fff;border-radius:7px;color:#16364d;font-size:12px}
.xrve-studio-body input:focus-visible,.xrve-studio-body button:focus-visible,.xrve-studio-body select:focus-visible,.xrve-studio-body textarea:focus-visible{outline:2px solid #1c78a9;outline-offset:2px}
.xrve-studio-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:18px;background:#fff;border-radius:12px;border:1px solid var(--xs-line);margin-bottom:22px;align-items:end}
.xrve-studio-wide{grid-column:1/-1}
.xrve-studio-form-grid button{justify-self:start}
.xrve-studio-toolbar{display:flex;gap:11px;flex-wrap:wrap;align-items:end;margin:16px 0}
.xrve-studio-toolbar label{min-width:140px;flex:1;max-width:330px}
.xrve-studio-table-wrap{max-width:100%;overflow-x:auto;background:#fff;border-radius:11px;border:1px solid var(--xs-line);margin:16px 0}
.xrve-studio-table-wrap table{width:100%;border-collapse:collapse;min-width:650px}
.xrve-studio-table-wrap th{background:#1b3f56;color:#fff;text-align:left;font-size:11px;padding:13px 12px;white-space:nowrap}
.xrve-studio-table-wrap td{font-size:12px;line-height:1.5;padding:12px;border-bottom:1px solid #e7eff3;vertical-align:top;overflow-wrap:anywhere;max-width:400px}
.xrve-studio-table-wrap tbody tr:nth-child(2n){background:#f7fafc}
.xrve-studio-table-wrap td small{display:block;color:#6c8b9e;font-size:10px;margin-top:4px}
.xrve-studio-empty{color:#728a9b;text-align:center;padding:25px!important}
.xrve-studio-table-wrap select{font-size:11px;min-width:125px}
.xrve-studio-import>p{font-size:12px;color:#5d788a;line-height:1.7}
.xrve-studio-import-files{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.xrve-studio-import-files label{padding:14px;border:1px dashed #9cb7c7;border-radius:8px;background:#f4fafc;min-width:0}
.xrve-studio-import-files input{width:100%;font-size:10px}
.xrve-studio-map-card{padding:15px;border:1px solid #d1e1e9;border-radius:10px;margin:14px 0;background:#f8fbfd}
.xrve-studio-map-card h4{margin:0 0 12px;font-size:14px}
.xrve-studio-mapping-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.xrve-studio-mapping-grid label span{text-transform:capitalize;font-size:11px}
.xrve-studio-import-bottom{display:flex;align-items:flex-end;flex-wrap:wrap;gap:18px;padding-top:14px}
.xrve-studio-import-bottom>label{flex:1}
.xrve-studio-import-bottom .xrve-studio-check{display:flex;align-items:flex-start;flex:2;min-width:260px;line-height:1.5}
.xrve-studio-import-bottom .xrve-studio-check input{width:auto;margin-top:2px}
.xrve-studio-evidence{background:#f9fcfe}
.xrve-studio-evidence>p{font-size:12px;color:#587c8e}
.xrve-studio-related p{color:#61798b;font-size:12px;line-height:1.7}
.xrve-studio-linkrow{display:flex;flex-wrap:wrap;gap:12px;margin-top:15px}
.xrve-studio-linkrow a{font-size:12px;color:#11688c;font-weight:750}
.xrve-studio-paid-prompt{background:#e8f3f9}
.xrve-studio-link{margin-top:12px}
.xrve-studio-report{padding:28px}
.xrve-studio-report h2{color:#1c4462;font-size:22px}
.xrve-studio-report h3{color:#206788;margin-top:24px;font-size:15px}
.xrve-studio-report p{font-size:12px;line-height:1.6}
.xrve-studio-report-metrics{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;border-block:1px solid #dce8ef;padding:14px 0}
.xrve-studio-report-metrics dt,.xrve-studio-report-metrics dd{font-size:12px;margin:0;padding:9px 0;border-bottom:1px dotted #dce7ee}
.xrve-studio-report-metrics dt{color:#567589}
.xrve-studio-report-metrics dd{font-weight:800}
.xrve-studio-report-form{padding:20px;background:#fff;border:1px solid var(--xs-line);border-radius:12px;display:grid;gap:16px}
.xrve-studio-report-form fieldset{display:flex;flex-wrap:wrap;gap:12px;border:1px solid var(--xs-line);border-radius:8px}
.xrve-studio-report-form fieldset label{display:flex;gap:6px;align-items:center}
.xrve-studio-report-form button{justify-self:start}
.xrve-studio-danger{background:none;border:0;color:#f3aa95;text-decoration:underline;font-size:11px;margin-top:18px;cursor:pointer;text-align:left;padding:0}
@media(max-width:1150px){.xrve-studio-layout{grid-template-columns:215px minmax(0,1fr)}.xrve-studio-nav button{font-size:12px}.xrve-studio-import-files{grid-template-columns:1fr}.xrve-studio-mapping-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.xrve-studio-top{height:auto;min-height:65px;flex-wrap:wrap;gap:12px;padding:8px 15px}.xrve-studio-toplinks{gap:13px;order:3;width:100%;margin:0;justify-content:center;padding-bottom:7px}.xrve-studio-tier{margin-left:auto}.xrve-studio-layout{display:block}.xrve-studio-rail{padding:12px;gap:12px}.xrve-studio-facility{padding:3px 8px}.xrve-studio-nav{display:flex;overflow-x:auto;scrollbar-width:thin;padding-bottom:4px}.xrve-studio-nav button{min-width:155px;white-space:nowrap;padding:10px}.xrve-studio-rail-bottom{display:none}.xrve-studio-main{padding:20px 15px 50px}.xrve-studio-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.xrve-studio-main-head{display:block}.xrve-studio-head-actions{margin-top:13px}.xrve-studio-columns{grid-template-columns:1fr}.xrve-studio-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.xrve-studio-product{font-size:12px}.xrve-studio-logo{width:90px;height:48px;padding:4px 6px}.xrve-studio-logo img{width:78px;max-height:40px}.xrve-studio-tier{font-size:9px}.xrve-studio-kpi{padding:14px 12px}.xrve-studio-kpi strong{font-size:24px}.xrve-studio-steps{grid-template-columns:1fr}.xrve-studio-form-grid,.xrve-studio-mapping-grid{grid-template-columns:1fr}.xrve-studio-inline{display:grid}.xrve-studio-inline>*{width:100%}.xrve-studio-report-metrics{grid-template-columns:1fr 1fr;gap:0 10px}}
@media print{
  .xrve-studio-body{background:#fff}
  .xrve-studio-top,.xrve-studio-rail,.xrve-studio-main-head,.xrve-studio-notice,
  .xrve-studio-lead,.xrve-studio-report-form,.xrve-studio-linkrow{display:none!important}
  .xrve-studio-layout{display:block}.xrve-studio-main{padding:0}
  .xrve-studio-panel:not([data-studio-panel=reports]){display:none!important}
  [data-studio-panel=reports]{display:block!important;min-height:unset;padding:0}
  .xrve-studio-report{border:none;padding:0;box-shadow:none}
  .xrve-studio-report *{break-inside:avoid}
}
/* Portable device-local workspace: present deliberate merge/replace alongside export. */
.xrve-studio-head-actions .xrve-studio-import-file,
.xrve-studio-head-actions .xrve-studio-import-mode{font-size:10px;font-weight:750;color:#486e82;max-width:200px;line-height:1.2}
.xrve-studio-head-actions .xrve-studio-import-file input{font-size:10px!important;max-width:170px}
.xrve-studio-head-actions .xrve-studio-import-mode select{font-size:10px!important;padding:7px!important}
@media(max-width:820px){.xrve-studio-head-actions .xrve-studio-import-mode{max-width:100%}}
@media print{.xrve-studio-import-file,.xrve-studio-import-mode{display:none!important}}

/* A real planner-readiness assessment belongs to an asset-linked action. */
.xrve-studio-readiness{margin-top:24px;background:#fbfdfe}
.xrve-studio-readiness>p{color:#567688;font-size:12px;line-height:1.65}
.xrve-studio-readiness form{display:grid;gap:15px;margin:18px 0}
.xrve-studio-readiness form>label{max-width:650px}
.xrve-studio-readiness-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.xrve-studio-readiness-item{display:flex!important;justify-content:space-between;align-items:center;gap:12px;
  background:#edf5f9;border:1px solid #d9e5ec;padding:11px 12px;border-radius:8px;line-height:1.5}
.xrve-studio-readiness-item span{font-size:11px;max-width:65%}
.xrve-studio-readiness-item select{max-width:148px;flex:1;font-size:11px!important}
.xrve-studio-readiness form button{justify-self:start}
.xrve-studio-readiness-result{border:1px solid #c9dde8;border-radius:9px;background:#eef7fa;
  padding:16px;margin:16px 0;font-size:12px;line-height:1.6;color:#254b63}
.xrve-studio-readiness-result strong{font-size:16px;color:#173c53}
.xrve-studio-readiness-warning{color:#9c462b;font-weight:700}
@media(max-width:1060px){.xrve-studio-readiness-grid{grid-template-columns:1fr}}
@media(max-width:540px){.xrve-studio-readiness-item{display:grid!important}.xrve-studio-readiness-item span{max-width:100%}
.xrve-studio-readiness-item select{max-width:100%}}

/* Connected decision queue on the existing Studio command center. */
.xrve-studio-decision-tower{margin-top:0;padding:24px}
.xrve-decision-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}
.xrve-decision-head h3{margin:0;font-size:19px;color:#153c52}
.xrve-decision-head p{color:#667d90;font-size:12px;max-width:650px;line-height:1.6;margin:7px 0 0}
.xrve-decision-tools{display:flex;gap:9px;flex-wrap:wrap;align-items:center;justify-content:flex-end}
.xrve-decision-tools select{background:#f5f9fb;color:#16384c;border:1px solid #b4cad7;border-radius:8px;padding:10px;font-size:12px;max-width:210px}
.xrve-decision-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:20px}
.xrve-decision-metric{border:1px solid #dbe6ed;border-radius:9px;padding:12px 14px;display:flex;flex-direction:column;gap:5px;background:#f8fbfd}
.xrve-decision-metric strong{font-size:23px;color:#143b52}
.xrve-decision-metric span{color:#647f91;font-size:11px;line-height:1.3}
.xrve-decision-list{display:grid;gap:10px}
.xrve-decision-item{border:1px solid #dfebef;border-left:4px solid #6185a0;border-radius:9px;padding:14px 17px;display:flex;gap:16px;align-items:center;justify-content:space-between;background:#fff}
.xrve-decision-item[data-severity="1"]{border-left-color:#c35f39;background:#fffbf8}
.xrve-decision-item[data-severity="2"]{border-left-color:#c58a48}
.xrve-decision-item .xrve-studio-secondary{flex-shrink:0;font-size:11px}
.xrve-decision-copy{min-width:0}
.xrve-decision-copy strong{display:block;font-size:13px;color:#193e54;line-height:1.5}
.xrve-decision-copy p{font-size:11px;line-height:1.5;margin:4px 0 0;color:#5b7383}
.xrve-decision-copy .xrve-decision-next{color:#255776}
.xrve-decision-meta{display:flex;gap:5px;flex-wrap:wrap;font-size:10px;color:#6e8597;font-weight:700;margin-bottom:5px}
@media(max-width:900px){.xrve-decision-head{flex-direction:column}.xrve-decision-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.xrve-decision-item{flex-direction:column;align-items:stretch}.xrve-decision-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.xrve-decision-tools{justify-content:flex-start}}


/* Progressive evidence-to-decision report. No new Studio navigation. */
.xrve-studio-auditable-report{padding:0;overflow:hidden}
.xrve-intel-brief{background:linear-gradient(135deg,#edf5fa 0%,#fff 85%);padding:24px;border-left:4px solid #187ea5}
.xrve-intel-brief h3{font-size:22px;line-height:1.25;color:#163c53;margin:0 0 12px}
.xrve-intel-eyebrow{font-size:10px!important;letter-spacing:.12em;font-weight:850;color:#26799a;margin:0 0 9px}
.xrve-intel-statement{font-size:14px;line-height:1.55;color:#244b60;font-weight:600}
.xrve-intel-answer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.xrve-intel-answer{background:#fff;border:1px solid #dce8f0;border-radius:9px;padding:13px;overflow-wrap:anywhere}
.xrve-intel-answer strong{font-size:12px;color:#125a78}
.xrve-intel-answer p{font-size:12px;line-height:1.55;color:#34556b;margin:6px 0 0}
.xrve-intel-analysis,.xrve-intel-technical{padding:20px 24px;border-top:1px solid #e2eaf0}
.xrve-intel-analysis h3,.xrve-intel-technical h3{font-size:16px;color:#153f58;margin:0 0 9px}
.xrve-intel-finding{border-left:3px solid #b5d1e2;margin:10px 0;padding:10px 14px;background:#f7fafc;overflow-wrap:anywhere}
.xrve-intel-finding strong{color:#174b66;font-size:12px}
.xrve-intel-finding p{font-size:12px;line-height:1.55;margin:7px 0;color:#325267}
.xrve-audit-detail{border:1px solid #dce8ef;border-radius:8px;margin-top:9px;background:#fff}
.xrve-audit-detail summary{cursor:pointer;font-weight:800;color:#185676;font-size:12px;padding:12px 14px}
.xrve-audit-detail-body{padding:2px 14px 14px;min-width:0;overflow-wrap:anywhere}
.xrve-audit-row{display:grid;grid-template-columns:minmax(130px,1fr) minmax(0,2fr);gap:12px;border-top:1px solid #ebf1f4;padding:9px 0;font-size:12px}
.xrve-audit-row strong{color:#35596e}
.xrve-audit-row span{color:#4a6373;white-space:pre-wrap}
.xrve-audit-evidence-item{border-bottom:1px solid #e2ebf0;padding:10px 0;overflow-wrap:anywhere}
.xrve-audit-evidence-item strong{font-size:11px;color:#175674}
.xrve-audit-evidence-item p{font-size:11px;margin:5px 0}
.xrve-audit-list{padding-left:20px;margin:8px 0}
.xrve-audit-list li{font-size:12px;line-height:1.5;margin-bottom:6px;color:#365d72}
@media(max-width:760px){
  .xrve-intel-brief,.xrve-intel-analysis,.xrve-intel-technical{padding:16px}
  .xrve-intel-answer-grid{grid-template-columns:1fr}
  .xrve-audit-row{grid-template-columns:1fr;gap:4px}
}


/* Paid Studio uses the existing protected CMMS preview/confirmation form,
   never an additional import backend or competing CMMS data-entry surface. */
.xrve-studio-evidence-import{margin:16px 0;border:1px solid #d8e7f0;border-radius:10px;background:#f7fafc}
.xrve-studio-evidence-import>summary{cursor:pointer;padding:14px 17px;font-size:13px;font-weight:800;color:#1a5a79}
.xrve-studio-evidence-import-form{padding:0 16px 16px;max-width:100%;overflow-wrap:anywhere}
.xrve-studio-evidence-import-form form{display:grid;gap:12px}
.xrve-studio-evidence-import-form form>label{display:grid;gap:7px;font-size:12px;color:#365770;font-weight:650}
.xrve-studio-evidence-import-form input[type=file],
.xrve-studio-evidence-import-form select{width:100%;max-width:100%;min-width:0;box-sizing:border-box;border:1px solid #cadbe5;border-radius:7px;padding:9px;background:#fff;color:#16394d}
.xrve-studio-evidence-import-form input[type=checkbox]{width:auto;margin-right:7px}
.xrve-studio-evidence-import-form .xrve-cmms-review{background:#fff;border:1px solid #d9e6ee;border-radius:9px;padding:16px;min-width:0}
.xrve-studio-evidence-import-form .xrve-cmms-review-actions,
.xrve-studio-evidence-import-form .xrve-cmms-profile-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:10px 0}
.xrve-studio-evidence-import-form .xrve-cmms-profile-row>label{min-width:200px;flex:1;font-size:12px}
.xrve-studio-evidence-import-form button{width:max-content;max-width:100%;white-space:normal;background:#edf5fa;border:1px solid #b3ccdc;border-radius:7px;padding:9px 13px;color:#1a5576;font-weight:750;font-size:12px;cursor:pointer}
.xrve-studio-evidence-import-form button:disabled{opacity:.5;cursor:not-allowed}
.xrve-studio-evidence-import-form button[data-cmms-investigate]{background:#146c91;color:#fff;border-color:#146c91}
.xrve-studio-evidence-import-form .xrve-cmms-map-wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:10px}
.xrve-studio-evidence-import-form .xrve-cmms-field{display:grid;gap:5px;font-size:11px;min-width:0}
.xrve-studio-evidence-import-form .xrve-cmms-optional{border:1px solid #d9e6ee;padding:10px;margin:10px 0;border-radius:7px}
.xrve-studio-evidence-import-form .xrve-cmms-review-results,
.xrve-studio-evidence-import-form .xrve-cmms-preview-results{max-width:100%;overflow:auto}
.xrve-studio-evidence-import-form .xrve-cmms-alert{color:#aa4d22}
.xrve-studio-evidence-import-form .xrve-cmms-quality,
.xrve-studio-evidence-import-form .xrve-cmms-boundary{font-size:11px;color:#4e6b7b;line-height:1.5}
.xrve-studio-evidence-import-form .xrve-cmms-preview-status{font-size:12px;font-weight:700}
.xrve-studio-evidence-import-form .xrve-cmms-preview-status[data-state=error],
[data-studio-paid-evidence-status][data-level=error]{color:#a84328}


/* Fictional interconnected facility: clearly labeled on every Studio tab. */
.xrve-studio-demo-banner{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;
  padding:17px 20px;margin:16px 0 20px;background:#edf5f9;border:1px solid #bdd8e6;border-left:4px solid #e18636;
  border-radius:10px;color:#183f55}
.xrve-studio-demo-banner[hidden]{display:none}
.xrve-studio-demo-banner>div:first-child{flex:1;min-width:250px}
.xrve-studio-demo-banner strong{font-size:11px;letter-spacing:.11em;color:#995c23;font-weight:850}
.xrve-studio-demo-banner p{font-size:12px;line-height:1.6;margin:7px 0 0;color:#315369;max-width:890px}
.xrve-studio-demo-banner .xrve-studio-linkrow{gap:8px;margin:0}
.xrve-studio-demo-cta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:14px 0 20px}
.xrve-studio-demo-cta span{flex:1;min-width:180px;font-size:12px;line-height:1.5;color:#476579}
.xrve-studio-facility [data-studio-demo-open]{text-align:left;white-space:normal;line-height:1.45}
@media(max-width:700px){
  .xrve-studio-demo-banner{padding:14px}
  .xrve-studio-demo-banner>div:first-child{min-width:0}
  .xrve-studio-demo-banner .xrve-studio-linkrow{width:100%}
}

.xrve-studio-demo-journey{flex:1 1 100%;display:grid;gap:9px;padding-top:10px;border-top:1px solid #d1e2eb}
.xrve-studio-demo-journey>strong{font-size:10px;letter-spacing:.1em;color:#366781}
.xrve-studio-demo-links{display:flex;gap:7px;flex-wrap:wrap}
.xrve-studio-demo-links button{font:inherit;font-size:11px;font-weight:750;line-height:1.3;color:#235b78;background:#fff;
  border:1px solid #b9d5e3;border-radius:7px;padding:9px 11px;cursor:pointer;text-align:left}
.xrve-studio-demo-links button:hover{border-color:#187ea5;color:#17465f;background:#f6fbff}

/* Keep the Studio module rail available while the workspace scrolls. */
@media (min-width:821px){
  .xrve-studio-rail{
    position:sticky;
    top:72px;
    align-self:start;
    height:calc(100vh - 72px);
    height:calc(100dvh - 72px);
    overflow-y:auto;
    scrollbar-width:thin;
  }
  .xrve-studio-main{scroll-margin-top:92px}
}
@media (max-width:820px){
  .xrve-studio-rail{
    position:sticky;
    top:var(--xs-top-height,112px);
    height:auto;
    max-height:calc(100vh - var(--xs-top-height,112px));
    max-height:calc(100dvh - var(--xs-top-height,112px));
    overflow-y:auto;
    z-index:40;
    box-shadow:0 6px 14px rgba(12,28,44,.15);
  }
  .xrve-studio-facility{
    flex-direction:row;
    flex-wrap:wrap;
    align-items:center;
    gap:6px;
    padding:4px 8px 9px;
  }
  .xrve-studio-facility>span{display:none}
  .xrve-studio-facility select{width:auto;flex:1 1 155px}
  .xrve-studio-facility strong,.xrve-studio-facility small{flex:1 0 100%}
  .xrve-studio-main{
    scroll-margin-top:calc(var(--xs-top-height,112px) + var(--xs-rail-height,130px) + 12px);
  }
}


/* Studio mobile acceptance: explicit module navigation, measured sticky offsets,
   and focus/anchor positions that do not disappear behind wrapped headers. */
.xrve-studio-mobile-nav-hint{display:none}
.xrve-studio-panel,.xrve-studio-visual-intro,.xrve-studio-full-visual,
.xrve-demo-visual-guide,.xrve-studio-decision-story{
  scroll-margin-top:94px;
}
@media (max-width:820px){
  .xrve-studio-mobile-nav-hint{
    display:block;
    margin:0;
    padding:2px 8px 0;
    color:#d2e6f2;
    font-size:12px;
    line-height:1.45;
    font-weight:700;
  }
  .xrve-studio-nav{
    scroll-snap-type:x proximity;
    overscroll-behavior-inline:contain;
    scroll-padding-inline:12px;
  }
  .xrve-studio-nav button{scroll-snap-align:start;min-height:44px}
  .xrve-studio-nav button:focus-visible{
    outline:2px solid #f7c18b;
    outline-offset:-3px;
  }
  .xrve-studio-panel,.xrve-studio-visual-intro,.xrve-studio-full-visual,
  .xrve-demo-visual-guide,.xrve-studio-decision-story{
    scroll-margin-top:calc(var(--xs-top-height,112px) + var(--xs-rail-height,130px) + 16px);
  }
}
@media print{.xrve-studio-mobile-nav-hint{display:none!important}}
