/* Shared AINERGY brand rules. Values are copied from the established home stylesheet. */
:root{--ink:#142743;--body:#4d6582;--blue:#214dff;--paper:#f7faff;--ice:#edf4fb;--line:#d4e0ed;--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif}
.ainergy-chrome{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 var(--sans);-webkit-font-smoothing:antialiased}
.ainergy-chrome *{box-sizing:border-box}
.ainergy-chrome a{color:inherit;text-decoration:none}
.ainergy-chrome button,.ainergy-chrome input,.ainergy-chrome textarea,.ainergy-chrome select{font:inherit}
.ainergy-chrome a:focus-visible,.ainergy-chrome button:focus-visible,.ainergy-chrome input:focus-visible,.ainergy-chrome select:focus-visible,.ainergy-chrome textarea:focus-visible{outline:3px solid var(--blue);outline-offset:5px}
.ainergy-shell{width:calc(100% - 96px);max-width:1280px;margin-inline:auto}
.ainergy-site-header{position:sticky;top:0;z-index:40;background:rgba(247,250,255,.98);border-bottom:1px solid #dbe5ee}
.ainergy-site-header .ainergy-shell{min-height:82px;display:flex;align-items:center;gap:28px}
.ainergy-mark{flex:none;display:inline-flex;align-items:center}
.ainergy-mark img{display:block;width:177px;height:auto;max-width:100%}
.ainergy-nav{margin-left:auto;display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.ainergy-nav a{font-size:12px;white-space:nowrap;color:var(--ink)}
.ainergy-nav a:hover,.ainergy-nav a[aria-current="page"]{color:var(--blue)}
.ainergy-pill{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:14px 23px;border:0;border-radius:28px;background:var(--ink);color:white!important;font:600 12px/1.45 var(--sans);text-align:center}
.ainergy-pill:hover{background:#244f9a}
.ainergy-pill.secondary{background:transparent;color:var(--ink)!important;border:1px solid var(--line)}
.ainergy-site-footer{border-top:1px solid var(--line);padding:30px 0;color:#7188a4;font:12px/1.7 var(--sans)}
.ainergy-site-footer .ainergy-shell{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}
.ainergy-site-footer a:hover{color:var(--blue)}
.ainergy-chrome .skip{position:fixed;left:16px;top:-80px;background:#fff;padding:10px;z-index:100}
.ainergy-chrome .skip:focus{top:12px}
.ainergy-eyebrow{font:700 10px/1.65 var(--sans);letter-spacing:1.8px;text-transform:uppercase;color:#456aa0}
.ainergy-page-title{font:400 clamp(40px,5vw,70px)/1.09 var(--serif);letter-spacing:-1.6px;color:var(--ink)}
.ainergy-lead{color:var(--body);font:16px/1.75 var(--sans)}
.ainergy-card{border-top:1px solid var(--line);padding-top:22px}
.ainergy-card h2{font:400 29px/1.18 var(--serif);color:var(--ink)}
.ainergy-card p{font:14px/1.75 var(--sans);color:var(--body)}
@media(max-width:820px){.ainergy-site-header .ainergy-shell{min-height:73px;flex-wrap:wrap;padding-block:14px;gap:8px 20px}.ainergy-nav{width:100%;order:2;margin-left:0;gap:18px}.ainergy-shell{width:calc(100% - 64px)}}
@media(max-width:540px){.ainergy-shell{width:calc(100% - 38px)}.ainergy-mark img{width:160px}.ainergy-nav{gap:10px 16px}.ainergy-nav a{font-size:11px}}

/* R17 request UI: one scene/card visual contract for public entry and staff review.
   Scoped classes keep campaign landing pages and all answer/approval policies unchanged. */
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog){--request-surface:#fffdfa;--request-source:#f4f3f0;--request-head:#f5f2ee;--request-line:#d9d2c8;--request-ink:#27313b;--request-muted:#536170;--request-blue:#2151d8;--request-depth:0 5px 16px #37485d12,0 1px 3px #37485d0d}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-scene,.guided-scene,.guided-preview-scene)[class]{display:grid;grid-template-columns:minmax(0,40%) minmax(0,1fr);align-items:start;gap:0;padding:0;border:1px solid var(--request-line);border-radius:9px;background:var(--request-surface);box-shadow:var(--request-depth);overflow:visible}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-scene-source,.guided-scene-source,.guided-preview-source)[class]{position:sticky;top:12px;min-width:0;align-self:start;background:var(--request-source);border-right:1px solid var(--request-line);border-radius:9px 0 0 9px}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-scene-heading,.guided-scene-head)[class]{display:block;padding:11px 14px;background:var(--request-head);border-bottom:1px solid var(--request-line);border-radius:9px 0 0 0}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-scene-heading h3,.guided-scene-head h3,.guided-preview-source h3){font:600 15px/1.4 Arial,sans-serif;letter-spacing:normal;color:var(--request-ink);margin:8px 0 0}
html body .public-sample-timeline .pst-scene-heading h3{font:600 15px/1.4 Arial,sans-serif;letter-spacing:normal;color:var(--request-ink);margin:8px 0 0}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-time,.guided-time)[class]{display:inline-flex;align-items:center;min-height:31px;margin:0;padding:7px 9px;border:1px solid transparent;border-radius:9px;background:var(--request-blue);color:#fff;font:700 12px/1.3 Arial,sans-serif;box-shadow:0 3px 9px #27313b14}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-scene-cards,.guided-preview-inputs)[class]{display:grid;align-content:start;gap:9px;min-width:0;padding:12px}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-card,.guided-slot,.guided-preview-field)[class]{min-width:0;margin:0 0 9px;padding:10px;border:1px solid var(--request-line);border-radius:9px;background:var(--request-surface);color:var(--request-ink);box-shadow:var(--request-depth)}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-card.is-selected,.guided-slot.is-marked,.guided-preview-field.is-marked,.guided-shared-reference.is-marked)[class]{outline:2px solid var(--request-blue);outline-offset:2px;background:#f1f5ff}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-card-head,.guided-spec-heading)[class]{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:0 0 7px;color:var(--request-ink);line-height:1.25}
html body .public-sample-timeline .pst-card-head strong,html body :is(.guided-workbench,.guided-dialog) .guided-spec-heading .guided-spec-label{font:700 16px/1.25 Arial,sans-serif;color:#203750}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-number,.guided-spec-number)[class]{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:auto;padding:2px 5px;border-radius:5px;background:#203750;color:#fff;font:800 11px/1.25 Arial,sans-serif}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-tag,.guided-category-pill)[class]{display:inline-flex;align-items:center;padding:2px 7px;border:1px solid currentColor;border-radius:999px;background:#e7eff8;color:#214a76;font:800 11px/1.25 Arial,sans-serif}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-tag-headline,.guided-category-headline)[class]{background:#eee5fb;color:#643692}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-tag-offer,.guided-category-offer)[class]{background:#fff0d6;color:#875100}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-tag-image,.pst-tag-source-image,.guided-category-image)[class]{background:#e2efff;color:#175897}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-tag-audio,.guided-category-audio)[class]{background:#fbe5ef;color:#96325d}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-tag-vehicle,.guided-category-vehicle)[class]{background:#dcf2ed;color:#0c6657}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-tag-legal,.guided-category-legal)[class]{background:#fff6d5;color:#735800}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-tag-dealer,.guided-category-dealer)[class]{background:#e8edf5;color:#3a506d}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-tag-cta,.guided-category-cta)[class]{background:#e6f4dc;color:#35671d}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.sample-source-example,.guided-example-box)[class]{position:relative;display:grid;gap:4px;min-width:0;margin:8px 0;padding:0;border:0;border-radius:0;background:transparent}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.sample-source-example>span,.guided-example-box>label){padding-right:34px;color:#344659;font:700 12px/1.4 Arial,sans-serif}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.sample-source-example,.guided-example-box)[class] :is(input,textarea)[readonly]{box-sizing:border-box;width:100%;min-width:0;min-height:36px;margin:0;padding:8px 9px;border:1px dashed #bdc8d3;border-radius:6px;background:#edf0f2;color:#354558;font:14px/1.45 Arial,sans-serif;cursor:text}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.sample-source-example,.guided-example-box)[class] textarea[readonly]{min-height:54px;resize:vertical}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-limit,.guided-compact-limit)[class]{margin:5px 0;color:#40566d;font:650 12px/1.4 Arial,sans-serif}
html body .public-sample-timeline .pst-card .sample-field{display:grid;gap:5px;margin:0;padding:0;border:0;background:transparent;box-shadow:none}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-input-help,.guided-input-guidance)[class]>summary{display:grid;place-items:center;width:25px;height:25px;min-height:25px;padding:0;border:1px solid #b4c8dd;border-radius:999px;background:#edf4ff;color:#244c82;font:700 15px/1 Arial,sans-serif;list-style:none;cursor:pointer}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-input-help,.guided-input-guidance)[class]>summary::-webkit-details-marker{display:none}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.sample-source-example,.guided-example-box)[class]>:is(.pst-input-help,.guided-input-guidance){position:absolute;right:0;top:-3px;margin:0}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-input-help,.guided-input-guidance)[class][open]{position:relative!important;right:auto;top:auto;display:block;box-sizing:border-box;width:100%;margin:3px 0 7px;padding:6px 9px;border:1px solid #d4deeb;border-radius:7px;background:#f5f8fe;font-size:12px}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-input-help,.guided-input-guidance)[class][open]>summary{margin-left:auto}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-pin,.guided-frame-pin)[class]{position:absolute;z-index:3;display:grid;place-items:center;transform:translate(-15%,-15%);width:auto;min-width:25px;height:25px;min-height:25px;margin:0;padding:0 3px;border:2px solid #fff;border-radius:999px;background:#264c83;color:#fff;font:800 11px/1 Arial,sans-serif;opacity:.3;box-shadow:0 1px 5px #10243e99}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-pin,.guided-frame-pin)[class]:is(:hover,:focus-visible,.is-selected){opacity:1;background:#f0a62b;color:#182940;z-index:5}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-area,.guided-frame-area)[class]{border-radius:4px;background:transparent;pointer-events:none}
html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-area.is-selected,.pst-area.is-hovered,.guided-frame-area.is-selected)[class]{border:2px solid #e89119;background:transparent;box-shadow:0 0 0 1px #fff8}
html body dialog:is(.pst-viewer,.guided-frame-viewer)[class]{width:min(1120px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);margin:auto;padding:16px;overflow:auto;border:1px solid #d9d2c8;border-radius:10px;background:#fffdfa;color:#27313b;box-shadow:0 22px 60px #172d4340}
html body dialog:is(.pst-viewer,.guided-frame-viewer)[class]::backdrop{background:#101822bd}
html body dialog:is(.pst-viewer,.guided-frame-viewer)[class]>img{display:block;width:100%;height:auto;max-height:calc(100dvh - 150px);margin:auto;object-fit:contain;background:#111b2b;border-radius:7px}
html body dialog:is(.pst-viewer,.guided-frame-viewer)[class] :is(.pst-viewer-head,.guided-modal-head){display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;font:600 16px/1.4 Arial,sans-serif}
@container (max-width:700px){html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-scene,.guided-scene,.guided-preview-scene)[class]{display:block}html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-scene-source,.guided-scene-source,.guided-preview-source)[class]{top:0;z-index:5;border-right:0;border-radius:9px 9px 0 0}html body :is(.public-sample-timeline,.guided-workbench,.guided-dialog) :is(.pst-scene-source:has(.pst-frame-details[open]),.guided-scene-source:has(.guided-source-frame[open]),.guided-preview-source:has(.guided-preview-frame[open]))[class]{position:static}html body .public-sample-timeline .pst-frame-details>summary{display:block;padding:8px 12px;font-size:12px;font-weight:700;color:#3158a4;cursor:pointer}}

html body .guided-dialog:has(.guided-preview-scene){container-type:inline-size}

/* R27 · one shared BOLD clay language for the private request and admin workspaces. */
body.r27-clay{
  --r27-ink:#142c4d;--r27-muted:#405676;--r27-navy:#173e70;
  --r27-ground:#e5edfb;--r27-panel:#f2f0ff;--r27-blue:#e2f1ff;
  --r27-line:#bac9ea;--r27-raised:0 18px 30px #173e7033,0 5px 9px #173e701c,inset 0 3px 0 #fff;
  --r27-button:0 7px 13px #24467537,inset 0 2px 0 #fff;
  --r27-pressed:inset 0 5px 10px #071c3d9e,inset 0 1px 2px #8faac855;
  --r27-compact-offset:112px;
}
body.r27-clay .ainergy-site-header{background:#f1f2ff;box-shadow:0 9px 18px #173e7026,inset 0 3px 0 #fff}
body.r27-clay :is(#view-request,#view-delivery){color:var(--r27-ink)}
body.r27-clay :is(#view-request,#view-delivery) :is(.request-layout,.access-panel,#delivery-content,#order-summary,#order-details,.request-reference-card,.reference-choice,.notice,.sample-reference-dialog){
  min-width:0;border:1px solid var(--r27-line);border-radius:32px;background:var(--r27-panel);box-shadow:var(--r27-raised);
}
body.r27-clay #view-request .request-layout{gap:28px;padding:26px}
body.r27-clay #view-request .request-aside{min-width:0}
body.r27-clay :is(#view-request,#view-delivery) :is(.request-aside,.form-step,#delivery-content,.access-panel){overflow-wrap:anywhere}
body.r27-clay :is(#view-request,#view-delivery) :is(.button,.asset-action-button,.asset-secondary-button,.sample-photo-guide-link,.sample-reference-head button,.photo-picker-list button,.pst-viewer-head button){
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;max-width:100%;padding:11px 19px;border:1px solid #9cb7dc;border-radius:999px;background:var(--r27-blue);color:var(--r27-navy);font-weight:700;line-height:1.35;text-align:center;text-decoration:none;white-space:normal;box-shadow:var(--r27-button);
}
body.r27-clay :is(#view-request,#view-delivery) .button:not(.secondary):not(.light){
  border-color:#123765;background:var(--r27-navy);color:#fff;box-shadow:0 8px 15px #173e7040,inset 0 2px 0 #7796b8;
}
body.r27-clay :is(#view-request,#view-delivery) :is(.button.secondary,.asset-secondary-button,.asset-action-button):hover{background:#d5eaff}
body.r27-clay :is(#view-request,#view-delivery) .button:not(.secondary):not(.light):hover{background:#102f5a;color:#fff}
body.r27-clay :is(#view-request,#view-delivery) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select){
  min-width:0;border:1px solid #9fb7d6;border-radius:17px;background:#fafdff;color:var(--r27-ink);box-shadow:inset 0 3px 7px #173e7015,inset 0 1px 0 #fff;
}
body.r27-clay :is(#view-request,#view-delivery) :is(input,textarea,select):focus-visible{outline:3px solid #173e70;outline-offset:3px}
body.r27-clay :is(#view-request,#view-delivery) :is(.badge,.asset-requirement-badge,.public-sample-timeline .pst-tag){border-radius:999px}
body.r27-clay :is(#view-request,#view-delivery) .asset-requirement-badge.is-required{border-color:#dcb0ba;background:#ffedf0;color:#8f1d2d;box-shadow:inset 0 1px 0 #fff}
body.r27-clay :is(#view-request,#view-delivery) :is(.asset-slot-upload[data-input-status=required-empty],.sample-field[data-input-status=required-empty],.asset-common-groups fieldset[data-input-status=required-empty],.asset-slot-upload[data-input-status=error],.sample-field[data-input-status=error]){border-color:#df9ca8;background:#fff0f2;color:#8f1d2d;box-shadow:inset 0 2px 0 #fff}
body.r27-clay :is(#view-request,#view-delivery) :is(.asset-slot-upload[data-input-status=ok],.sample-field[data-input-status=ok],.asset-common-groups fieldset[data-input-status=ok]){border-color:#a5d3b6;background:#e9f8ef;color:#17663a;box-shadow:inset 0 2px 0 #fff}
body.r27-clay :is(#view-request,#view-delivery) :is(.asset-input-status,[data-input-status=ok]>.asset-input-status){font-weight:700}
body.r27-clay :is(#view-request,#view-delivery) :is(.asset-slot-row,.asset-common-groups fieldset,.sample-field,.photo-picker,.public-sample-timeline .pst-card){min-width:0;border-radius:28px;background:var(--r27-panel);box-shadow:var(--r27-raised)}
body.r27-clay :is(#view-request,#view-delivery) .asset-slot-upload{border-radius:25px}
body.r27-clay :is(#view-request,#view-delivery) .asset-drop-target{border:2px dashed #b0c4dd;border-radius:23px;background:#fafdff;box-shadow:inset 0 3px 7px #173e701a,inset 0 1px 0 #fff}
body.r27-clay :is(#view-request,#view-delivery) :is(.asset-slot-reference img,.asset-upload-preview img){border-radius:22px}
body.r27-clay :is(#view-request,#view-delivery) :is(.key-values>div,.file-row){border-color:#c7d8ed}
body.r27-clay #view-delivery #order-summary{padding:18px 20px;background:#e8f3ff}
body.r27-clay #view-delivery #order-details{padding:18px 20px;background:#fafdff}
body.r27-clay #view-delivery #order-details summary{color:var(--r27-navy)}
body.r27-clay #view-delivery #order-status[data-order-status=cancelled]{background:#ffedf0;color:#8f1d2d}
body.r27-clay #view-delivery #order-status:is([data-order-status=delivered],[data-order-status=accepted]){background:#e9f8ef;color:#17663a}
body.r27-clay :is(#view-request,#view-delivery) .sample-reference-dialog{background:#fafdff}
body.r27-clay .public-sample-timeline .pst-viewer-head button,
body.r27-clay .sample-reference-head button{min-height:44px;border:1px solid #9cb7dc;border-radius:999px;background:var(--r27-blue);color:var(--r27-navy);box-shadow:var(--r27-button)}
html body.r27-clay dialog.pst-viewer .pst-viewer-head .r27-secondary-button{display:inline-flex;flex:none;align-items:center;justify-content:center;min-width:78px;min-height:44px;padding:9px 18px;border:1px solid #9cb7dc;border-radius:999px;background:var(--r27-blue);color:var(--r27-navy);font:700 14px/1.35 Arial,sans-serif;white-space:nowrap;box-shadow:var(--r27-button)}
html body.r27-clay dialog.pst-viewer .pst-viewer-head>h2{min-width:0;overflow-wrap:anywhere}

/* Connected option A timeline. The same three real buttons remain keyboard reachable. */
body.r27-clay #view-request .steps{position:relative;top:auto;z-index:1;display:flex;flex-wrap:wrap;align-content:flex-start;gap:0;height:auto;min-height:0;margin:0 0 26px;padding:16px;border:1px solid #c4d0ed;border-radius:30px;background:#f1f2ff;box-shadow:var(--r27-raised);isolation:isolate}
body.r27-clay #view-request .steps::before,body.r27-clay #view-request .steps::after{content:"";position:absolute;top:41px;left:16.66%;height:6px;border-radius:999px;z-index:-1}
body.r27-clay #view-request .steps::before{right:16.66%;background:#bfd0e9}
body.r27-clay #view-request .steps::after{width:0;background:var(--r27-navy)}
body.r27-clay #view-request .steps[data-active-step="2"]::after{width:33.34%}
body.r27-clay #view-request .steps[data-active-step="3"]::after{width:66.68%}
body.r27-clay #view-request .steps>button{display:flex;flex:0 0 33.333333%;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;min-width:0;min-height:99px;padding:0 6px;border:0;border-radius:0;background:transparent;color:#334e71;font-size:13px;font-weight:800;line-height:1.25;box-shadow:none;overflow-wrap:anywhere}
body.r27-clay #view-request .steps>button::before{content:attr(data-step);display:grid;place-items:center;flex:none;width:52px;height:52px;border:2px solid #a7b9d5;border-radius:50%;background:#e7efff;color:#334e71;font-size:19px;box-shadow:0 6px 11px #1d42732d,inset 0 2px 0 #fff}
body.r27-clay #view-request .steps>button[data-step-state=complete]::before{content:"✓";border-color:var(--r27-navy);background:var(--r27-navy);color:#fff}
body.r27-clay #view-request .steps>button[data-step-state=current]{color:var(--r27-navy)}
body.r27-clay #view-request .steps>button[data-step-state=current]::before{width:58px;height:58px;margin-top:-3px;border:4px solid #f1f2ff;background:var(--r27-navy);color:#fff;box-shadow:0 0 0 3px var(--r27-navy),0 8px 13px #173e7045,inset 0 3px 7px #061b3b8a}
body.r27-clay #view-request .steps .asset-substeps{flex:0 0 100%;width:100%;position:relative;top:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:14px 0 0;padding:14px;border:1px solid #aebfe3;border-radius:25px;background:#e6efff;box-shadow:0 8px 15px #173e702a,inset 0 2px 0 #fff;filter:none}
body.r27-clay #view-request .steps .asset-substeps::before{content:"";position:absolute;bottom:100%;left:50%;width:5px;height:22px;transform:translateX(-50%);border-radius:4px;background:var(--r27-navy)}
body.r27-clay #view-request .steps .asset-branch-heading{grid-column:1/-1;display:flex;align-items:center;gap:8px;margin:0 0 10px;color:var(--r27-navy);font-size:12px;font-weight:800}
body.r27-clay #view-request .steps .asset-branch-tag{padding:4px 8px;border-radius:999px;background:var(--r27-navy);color:#fff;font-size:10px;letter-spacing:.04em}
body.r27-clay #view-request .steps .asset-substeps button{min-width:0;min-height:52px;margin-right:-4px;padding:7px 18px;border:0;border-radius:0;background:#e8f1ff;color:var(--r27-navy);font-size:12px;font-weight:800;line-height:1.3;box-shadow:inset 0 2px 4px #173e7026;clip-path:polygon(0 0,calc(100% - 9px) 0,100% 50%,calc(100% - 9px) 100%,0 100%,9px 50%);overflow-wrap:anywhere}
body.r27-clay #view-request .steps .asset-substeps button:first-of-type{padding-left:7px;clip-path:polygon(0 0,calc(100% - 9px) 0,100% 50%,calc(100% - 9px) 100%,0 100%)}
body.r27-clay #view-request .steps .asset-substeps button:last-of-type{margin-right:0;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,9px 50%)}
body.r27-clay #view-request .steps .asset-substeps button[aria-current=step]{background:var(--r27-navy);color:#fff;box-shadow:inset 0 3px 6px #061b3b72}
body.r27-clay .r27-mobile-progress{display:none}
body.r27-clay #view-request .r27-compact-bar{position:fixed;inset:0 0 auto;z-index:60;visibility:hidden;pointer-events:none;padding:10px 18px;border-bottom:1px solid #aebfe3;background:#f1f2ff;color:var(--r27-navy);box-shadow:0 8px 18px #173e7033}
body.r27-clay #view-request .r27-compact-bar.is-visible{visibility:visible;pointer-events:auto}
body.r27-clay #view-request .r27-compact-inner{display:grid;grid-template-columns:minmax(0,1fr) 96px minmax(350px,1.25fr);align-items:center;gap:14px;max-width:1200px;margin:auto}
body.r27-clay #view-request .r27-compact-inner>strong{min-width:0;font-size:15px;line-height:1.25;white-space:nowrap}
body.r27-clay #view-request .r27-compact-track{height:7px;overflow:hidden;border-radius:999px;background:#bfd0e9;box-shadow:inset 0 2px 3px #526c9e3e}
body.r27-clay #view-request .r27-compact-track>span{display:block;width:0;height:100%;border-radius:inherit;background:var(--r27-navy)}
body.r27-clay #view-request .r27-compact-substeps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-width:0}
body.r27-clay #view-request .r27-compact-substeps button{min-width:0;min-height:38px;margin-right:-3px;padding:5px 5px 5px 17px;border:0;background:#e6efff;color:var(--r27-navy);font-size:11px;font-weight:800;line-height:1.15;clip-path:polygon(0 0,calc(100% - 9px) 0,100% 50%,calc(100% - 9px) 100%,0 100%,9px 50%)}
body.r27-clay #view-request .r27-compact-substeps button:first-child{padding-left:7px;clip-path:polygon(0 0,calc(100% - 9px) 0,100% 50%,calc(100% - 9px) 100%,0 100%)}
body.r27-clay #view-request .r27-compact-substeps button:last-child{margin-right:0;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,9px 50%)}
body.r27-clay #view-request .r27-compact-substeps button[aria-current=step]{background:var(--r27-navy);color:#fff}
body.r27-clay #view-request .r27-compact-substeps button:disabled{opacity:.6}
body.r27-clay #view-request :is(.form-step h2,.asset-panel,.asset-slot-row,.asset-common-groups .sample-field,.asset-common-groups fieldset,.asset-common-groups legend,.asset-step-notice,.asset-workflow-host [data-sample-key],.asset-workflow-host [data-workflow-dealer],.asset-workflow-host .pst-card){scroll-margin-top:var(--r27-compact-offset)}

/* Admin keeps the same controls and data while using the shared tokens. */
body.r27-clay:not(.ainergy-event){background:var(--r27-ground);color:var(--r27-ink)}
body.r27-clay:not(.ainergy-event)>aside{background:#17345b;color:#edf4ff;box-shadow:9px 0 20px #173e7026}
body.r27-clay:not(.ainergy-event)>aside nav button[aria-current=page]{background:#e2f1ff;color:var(--r27-navy);box-shadow:var(--r27-pressed)}
body.r27-clay:not(.ainergy-event) .workspace>header{background:#f1f2ff;border-color:#c5d0ed;box-shadow:0 9px 18px #173e7026,inset 0 3px 0 #fff}
body.r27-clay:not(.ainergy-event) :is(.panel,.metric,.template-row,.login-panel,.sample-pane,.guided-library,.guided-scene,.guided-slot,dialog#editor){min-width:0;border:1px solid var(--r27-line);border-radius:30px;background:var(--r27-panel);box-shadow:var(--r27-raised)}
body.r27-clay:not(.ainergy-event) :is(.panel,.metric,.template-row,.login-panel,.sample-pane,dialog#editor){padding:25px}
body.r27-clay:not(.ainergy-event) :is(.panel p,.metric span,.metric small,.template-row p,.login-panel p,dt){color:var(--r27-muted)}
body.r27-clay:not(.ainergy-event) :is(.primary,.secondary,.danger,.link-button,.dialog-head button,#check-session){display:inline-flex;align-items:center;justify-content:center;min-height:48px;max-width:100%;padding:11px 19px;border:1px solid #9cb7dc;border-radius:999px;background:var(--r27-blue);color:var(--r27-navy);font-weight:700;box-shadow:var(--r27-button);text-align:center}
body.r27-clay:not(.ainergy-event) .primary{border-color:#123765;background:var(--r27-navy);color:#fff;box-shadow:0 8px 15px #173e7040,inset 0 2px 0 #7796b8}
body.r27-clay:not(.ainergy-event) :is(#content,#editor) button.primary{border-color:#123765;background:#173e70;color:#fff;box-shadow:0 8px 15px #173e7040,inset 0 2px 0 #7796b8}
body.r27-clay:not(.ainergy-event) #local-key-wrap{position:relative;display:grid;gap:8px;color:var(--r27-ink);font-weight:700}
body.r27-clay:not(.ainergy-event) #local-key-wrap .r27-local-file-button{display:inline-flex;align-items:center;justify-content:center;width:fit-content;min-height:48px;padding:11px 19px;border:1px solid #9cb7dc;border-radius:999px;background:var(--r27-blue);color:var(--r27-navy);box-shadow:var(--r27-button);cursor:pointer}
body.r27-clay:not(.ainergy-event) #local-key-file{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;margin:-1px!important;padding:0!important;border:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
body.r27-clay:not(.ainergy-event) #local-key-wrap:focus-within .r27-local-file-button{outline:3px solid #173e70;outline-offset:3px}
body.r27-clay:not(.ainergy-event) .danger{border-color:#dcb0ba;background:#ffedf0;color:#8f1d2d}
body.r27-clay:not(.ainergy-event) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){min-width:0;border:1px solid #9fb7d6;border-radius:17px;background:#fafdff;color:var(--r27-ink);box-shadow:inset 0 3px 7px #173e7015,inset 0 1px 0 #fff}
body.r27-clay:not(.ainergy-event) .badge{border:1px solid #0f315f;border-radius:999px;background:var(--r27-navy);color:#fff;box-shadow:var(--r27-pressed)}
body.r27-clay:not(.ainergy-event) :is(.badge.ready,.guided-import-status.success){background:#e9f8ef;color:#17663a;border-color:#a5d3b6;box-shadow:inset 0 1px 0 #fff}
body.r27-clay:not(.ainergy-event) :is(.badge.planned,.guided-import-status.error){background:#ffedf0;color:#8f1d2d;border-color:#dcb0ba;box-shadow:inset 0 1px 0 #fff}
body.r27-clay:not(.ainergy-event) .table-wrap{max-width:100%;border:1px solid var(--r27-line);border-radius:20px;background:#fafdff}
body.r27-clay:not(.ainergy-event) table{background:#fafdff;color:var(--r27-ink)}
body.r27-clay:not(.ainergy-event) th{background:#e8f3ff;color:var(--r27-muted)}
body.r27-clay:not(.ainergy-event) td{border-color:#c7d8ed}
body.r27-clay:not(.ainergy-event) dl div{padding:11px 13px;border:1px solid #c7d8ed;border-radius:20px;background:#e8f3ff;box-shadow:0 7px 13px #24467527,inset 0 2px 0 #fff}
body.r27-clay:not(.ainergy-event) :is(.feedback,.note){background:#e8f3ff;color:var(--r27-navy)}
body.r27-clay:not(.ainergy-event) .feedback.error{background:#ffedf0;color:#8f1d2d}

@media(max-width:700px){
  body.r27-clay #view-request .steps{padding:11px;border-radius:20px}
  body.r27-clay #view-request .steps::before,body.r27-clay #view-request .steps::after{display:none}
  body.r27-clay #view-request .steps>button{display:none}
  body.r27-clay .r27-mobile-progress{display:block;flex:0 0 100%;min-width:0}
  body.r27-clay .r27-mobile-progress strong{display:block;color:var(--r27-navy);font-size:14px;line-height:1.35}
  body.r27-clay .r27-mobile-progress>span{display:block;margin:5px 0 8px;color:#334e71;font-size:11px;font-weight:700}
  body.r27-clay .r27-progress-track{height:9px;overflow:hidden;border-radius:999px;background:#c3d4ed;box-shadow:inset 0 2px 4px #526c9e3e}
  body.r27-clay .r27-progress-track>span{display:block;width:0;height:100%;border-radius:inherit;background:var(--r27-navy)}
  body.r27-clay #view-request .steps .asset-substeps{margin-top:17px;padding:8px;gap:0;border-radius:18px}
  body.r27-clay #view-request .steps .asset-substeps::before{height:17px}
  body.r27-clay #view-request .steps .asset-branch-heading{display:none}
  body.r27-clay #view-request .steps .asset-substeps button{min-height:48px;padding:6px 4px 6px 17px;font-size:10px;line-height:1.15;white-space:nowrap}
  body.r27-clay #view-request .steps .asset-substeps button:first-of-type{padding-left:8px}
  body.r27-clay #view-request .r27-compact-bar{padding:8px 12px}
  body.r27-clay #view-request .r27-compact-inner{grid-template-columns:minmax(0,1fr);gap:6px}
  body.r27-clay #view-request .r27-compact-inner>strong{font-size:13px}
  body.r27-clay #view-request .r27-compact-substeps button{min-height:36px;padding:5px 2px 5px 15px;font-size:9px;white-space:nowrap}
  body.r27-clay #view-request .request-layout{padding:18px}
  body.r27-clay :is(#view-request,#view-delivery) :is(.request-layout,.access-panel,#delivery-content,#order-summary,#order-details,.request-reference-card){border-radius:23px}
  body.r27-clay:not(.ainergy-event) :is(.panel,.metric,.template-row,.login-panel,dialog#editor){border-radius:23px;padding:18px}
}
@media(max-width:390px){body.r27-clay #view-request .steps .asset-substeps{grid-template-columns:.95fr .95fr 1.1fr}body.r27-clay #view-request .steps .asset-substeps button{font-size:9px;padding:6px 2px 6px 15px}body.r27-clay #view-request .steps .asset-substeps button:first-of-type{padding-left:7px}}
@media(prefers-reduced-motion:no-preference){
  body.r27-clay :is(.button,.primary,.secondary,.asset-secondary-button,.asset-action-button,.panel,.metric,.asset-slot-row){transition:background-color .18s ease,box-shadow .18s ease}
}
@media(prefers-reduced-motion:reduce){body.r27-clay *,body.r27-clay *::before,body.r27-clay *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* R33 customer request: status reads as text in both asset timelines, never as filled buttons. */
body.r27-clay #view-request .steps .asset-substeps{border-radius:0;border:0;border-top:1px solid #c8d5e3;background:transparent;box-shadow:none}
body.r27-clay #view-request .steps .asset-substeps button{margin:0;padding:8px 6px;min-height:54px;border:0;border-radius:0;background:transparent;box-shadow:none;clip-path:none!important;color:var(--asset-step-color,#334e71);white-space:normal;overflow-wrap:anywhere;line-height:1.25;cursor:pointer}
body.r27-clay #view-request .steps .asset-substeps button[data-progress-state=complete]{--asset-step-color:#17663a}
body.r27-clay #view-request .steps .asset-substeps button[data-progress-state=needs-action]{--asset-step-color:#925000}
body.r27-clay #view-request .steps .asset-substeps button[data-progress-state=skipped]{--asset-step-color:#64748b}
body.r27-clay #view-request .steps .asset-substeps button[aria-current=step]{background:transparent;color:var(--asset-step-color,#334e71);box-shadow:none;text-decoration:underline;text-underline-offset:4px}
body.r27-clay #view-request .steps .asset-substeps button[aria-current=step]::before{content:'› ';font-size:1.3em;font-weight:900}
body.r27-clay #view-request .steps .asset-substeps button:disabled{opacity:1;cursor:default}

body.r27-clay #view-request .r27-compact-substeps button{margin:0;padding:6px 4px;min-height:44px;border:0;border-radius:0;background:transparent;box-shadow:none;clip-path:none!important;color:var(--asset-step-color,#334e71);white-space:normal;overflow-wrap:anywhere;line-height:1.25;cursor:pointer}
body.r27-clay #view-request .r27-compact-substeps button[data-progress-state=complete]{--asset-step-color:#17663a}
body.r27-clay #view-request .r27-compact-substeps button[data-progress-state=needs-action]{--asset-step-color:#925000}
body.r27-clay #view-request .r27-compact-substeps button[data-progress-state=skipped]{--asset-step-color:#64748b}
body.r27-clay #view-request .r27-compact-substeps button[aria-current=step]{background:transparent;color:var(--asset-step-color,#334e71);text-decoration:underline;text-underline-offset:4px}
body.r27-clay #view-request .r27-compact-substeps button[aria-current=step]::before{content:'› ';font-size:1.3em;font-weight:900}
body.r27-clay #view-request .r27-compact-substeps button:disabled{opacity:1;cursor:default}
