/* UXEN resource library: scoped extension of the existing Noto Sans SC system. */
.rm-center{padding-top:0}.rm-notice{padding:16px 20px;background:#f5f4f3;font-size:13px;line-height:1.7;color:#383838;margin-bottom:32px;max-width:100%}.rm-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 24px;border-bottom:1px solid #ccc;padding-bottom:32px}.rm-filters>div{min-width:0}.rm-search{grid-column:span 2}.rm-search>div{display:flex;gap:8px}.rm-search input{flex:1;min-width:0}.rm-filters label{display:block;font-size:13px;margin-bottom:8px;color:#383838}.rm-filters input,.rm-filters select{border:1px solid #bbb;background:#fff;color:#111;border-radius:0;min-height:48px;width:100%;font:inherit;font-size:14px;padding:10px 12px;caret-color:#111}.rm-filters input::placeholder{color:#626262}.rm-filters select{padding-right:24px}.rm-filters .button{min-height:48px}.rm-reset{justify-self:start;align-self:end;min-height:48px;text-decoration:underline;text-underline-offset:4px}.rm-results-head{display:flex;justify-content:space-between;gap:16px;padding:24px 0;font-size:13px;color:#454545;font-variant-numeric:tabular-nums}.rm-list{border-top:1px solid #777}.rm-row{display:grid;grid-template-columns:120px minmax(0,1fr) auto;gap:24px;padding:28px 0;border-bottom:1px solid #ddd;align-items:start}.rm-file-type{font-size:13px;color:#454545;padding-top:4px}.rm-description{min-width:0}.rm-description h2,.rm-description h3{font-size:18px;line-height:1.5;font-weight:500;margin:0 0 8px;text-wrap:balance;overflow-wrap:anywhere}.rm-description p{font-size:13px;line-height:1.7;margin:2px 0;color:#454545}.rm-metadata{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:14px;font-size:12px;color:#555;font-variant-numeric:tabular-nums}.rm-status{color:#222}.rm-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;max-width:280px}.rm-actions .button{font-size:13px;white-space:nowrap;padding:10px 16px}.rm-unavailable{font-size:13px;color:#555;max-width:180px;padding-top:4px}.rm-contact{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:40px;font-size:13px}.rm-contact p{max-width:580px;color:#454545}.rm-empty{padding:40px 0 56px;border-top:1px solid #ccc}.rm-empty h2{font-size:20px;margin:0 0 12px}.rm-empty p{margin-bottom:24px;color:#454545}.rm-empty .text-link{display:inline-flex;margin-left:16px}.rm-center-link{width:100%;margin:24px 0}.rm-product-context h3{font-size:18px;margin:0 0 24px}.rm-product-context dl{margin:0 0 24px;font-size:14px}.rm-product-context dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:8px;padding:10px 0;border-bottom:1px solid #ddd}.rm-product-context dt{color:#454545}.rm-product-context dd{margin:0;overflow-wrap:anywhere}#drawer .rm-row{grid-template-columns:1fr;gap:8px}#drawer .rm-actions{grid-column:auto;justify-content:flex-start;max-width:none}#drawer .rm-notice{margin-bottom:0}#drawer .rm-description h3{font-size:16px}
#resource-viewer{width:min(1040px,calc(100vw - 48px));max-width:none;margin:auto;padding:24px;max-height:calc(100dvh - 48px);overscroll-behavior:contain}#resource-viewer::backdrop{background:#0005;backdrop-filter:blur(8px)}.rm-viewer-head{position:sticky;top:0;z-index:1;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 0 20px}.rm-viewer-head h2{font-size:20px;line-height:1.5;overflow-wrap:anywhere}.rm-viewer-head button{flex-shrink:0}.rm-viewer-meta{font-size:13px;color:#454545;margin-bottom:16px}.rm-feedback{font-size:14px;color:#383838;line-height:1.7;margin:16px 0}.rm-pdf{display:block;width:100%;height:60dvh;min-height:280px;border:1px solid #ccc;background:#f5f4f3}#resource-viewer video{display:block;width:100%;max-height:64dvh;background:#171717;aspect-ratio:16/9}.rm-viewer-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.rm-format-fallback{padding:40px 24px;background:#f5f4f3}.rm-format-fallback h3{font-size:18px;margin-bottom:12px}.rm-format-fallback p{max-width:600px;font-size:14px}.rm-transcript{margin-top:20px;font-size:14px}.rm-transcript p{white-space:pre-line}.rm-center button,.rm-center select,#resource-viewer button{touch-action:manipulation}.rm-center :focus-visible,#resource-viewer :focus-visible{outline:2px solid #111;outline-offset:4px}.rm-center [hidden],#resource-viewer [hidden]{display:none!important}
@media(max-width:1100px){.rm-row{grid-template-columns:100px minmax(0,1fr);gap:16px}.rm-actions{grid-column:2;justify-content:flex-start;max-width:none}.rm-unavailable{max-width:none}}
@media(max-width:800px){.rm-center{padding-top:0}.rm-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}.rm-search{grid-column:1/-1}.rm-notice{padding:16px;margin-bottom:24px}.rm-results-head{flex-direction:column;gap:6px}.rm-row{grid-template-columns:1fr;gap:8px;padding:24px 0}.rm-actions{grid-column:auto;margin-top:8px}.rm-description h2,.rm-description h3{font-size:17px}.rm-metadata{gap:6px 12px}.rm-contact{align-items:flex-start;flex-direction:column;gap:12px}#resource-viewer{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:20px}.rm-viewer-head{align-items:flex-start;gap:16px}.rm-viewer-head h2{font-size:18px}.rm-viewer-head .button{font-size:13px;padding:8px 12px;min-height:44px}.rm-viewer-actions .button{flex:1}.rm-pdf{height:58dvh;min-height:240px}}

/* Shared PDF rows: reuse installation file geometry outside installation page. */
body:not([data-page=installation]) .installation-file{display:grid;grid-template-columns:14px minmax(0,1fr) auto 24px;align-items:center;gap:6px;padding:5px 0;min-height:44px;border-bottom:1px solid #e3e3e3;font-size:12px;line-height:1.4} .installation-file svg{width:14px;height:14px}.installation-file>a:last-child{display:flex;align-items:center;justify-content:center;min-height:44px}.installation-file>a:first-of-type{min-width:0;overflow-wrap:anywhere}

/* Existing video rows become interactive without changing their geometry. */
button.installation-video-link{width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid #d4d4d4;padding:0;font:inherit;color:inherit;cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:44px;gap:6px}.product-install-videos{margin-top:24px}.product-install-videos h3{font:inherit}.reading-video-placeholder button[data-video-id]{cursor:pointer}

#resource-viewer video{aspect-ratio:auto;object-fit:contain;height:auto}

/* Seven product installation drawers: match the installation page interaction. */
.interface-install-videos{--installation-fill-height:28px;margin-left:12px;margin-right:12px}
@media(max-width:700px){.interface-install-videos{--installation-fill-height:29px}}
.interface-install-videos button.installation-video-link:is(:hover,:active,:focus-visible){background:linear-gradient(#000,#000) 0 center/100% var(--installation-fill-height) no-repeat;color:#fff}
.interface-install-videos button.installation-video-link:is(:hover,:active,:focus-visible) span{color:#fff}
.interface-install-videos button.installation-video-link:focus{outline:none;box-shadow:none}

/* Resource drawers use the same 12px inset as the installation video block. */
#drawer .interface-product-resources>section{padding-left:12px;padding-right:12px}
#drawer .interface-product-resources>.interface-install-videos{margin-left:0;margin-right:0;gap:0}
