/* Product page redesign: Smart Folder, in-stage tools and compact header. Loaded after odd-pages.css; hard-coded values only. */
.product-page .odd-announcement {display:none;}
.product-page header.siteHeader .odd-masthead {padding:8px 24px;}
.product-page .site-logo img {height:34px;}

.odd-product {padding:16px 24px 48px;}
.odd-product__head {display:flex;align-items:center;gap:14px;margin:0 0 14px;}
.odd-product__back {display:inline-flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border-radius:50%;color:#176bea;text-decoration:none;}
.odd-product__back:hover {background:#e9f1ff;}
.odd-product .odd-product__masthead {display:block;margin:0;min-width:0;}
.odd-product__masthead h1 {font-size:24px;line-height:1.2;margin:0;}
.odd-product__masthead h1:focus {outline:0;}
.odd-product__masthead h1:focus-visible {outline:2px solid #176bea;outline-offset:3px;}
.odd-product__subtitle {font-size:14px;line-height:1.4;margin:4px 0 0;}
.odd-product[aria-busy="true"] .stage-body {opacity:.7;}

/* Tabs row with the single product CTA at its right. */
.odd-product .stage-bar {display:flex;align-items:flex-end;justify-content:space-between;gap:16px;}
.odd-product .stage-bar .stage-tabs {min-width:0;margin-bottom:-1px;}
.odd-product .stage-tab {min-height:40px;padding:8px 18px;font-size:14px;}
.odd-product__commerce {display:flex;align-items:center;gap:14px;flex:none;padding-bottom:6px;}
.odd-product__commerce .odd-download-counter {display:inline-flex;align-items:center;gap:6px;color:#62687a;font-size:14px;}
.odd-product__commerce .oddButton {display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:6px 16px;white-space:nowrap;}

/* Workspace: tree, 20px handle and stage share one frame. */
.odd-product .stage-body {display:flex;align-items:stretch;border:1px solid #dfe1e8;border-radius:0 6px 6px 6px;background:#fff;overflow:hidden;}
.odd-product .stage-main {flex:1;min-width:0;display:flex;flex-direction:column;}
.odd-product .stage-main #panel-preview:not([hidden]) {flex:1;display:flex;flex-direction:column;}
.odd-product .stage-body .stage-tab-panel {border:0;}
.odd-product .odd-tree {display:flex;flex-direction:column;flex:none;width:238px;padding:12px 8px;background:#fff;color:#202330;font-size:12px;max-height:760px;overflow-y:auto;}
.odd-product .stage-body:not(.is-tree-open) .odd-tree {display:none;}
.odd-tree__title {display:flex;align-items:center;gap:8px;margin:0 0 10px;padding:0 6px;font-size:14px;font-weight:600;color:#176bea;}
.odd-tree__title svg {flex:none;}
.odd-tree__close {display:none;margin-left:auto;width:36px;height:36px;border:0;background:transparent;color:#202330;font-size:24px;line-height:1;cursor:pointer;}
.odd-tree__search {display:flex;align-items:center;gap:7px;margin:0;padding:8px;border:1px solid #e4e7ed;border-radius:6px;background:#fff;color:#737987;}
.odd-tree__search:focus-within {border-color:#176bea;}
.odd-tree__search input {min-width:0;width:100%;border:0;outline:0;background:transparent;color:#202330;font:inherit;font-size:12px;}
.odd-tree__sort {margin:0 0 5px;padding:10px 7px;border-bottom:1px solid #e4e7ed;font-size:10px;color:#737987;}
.odd-tree__list {list-style:none;margin:0;padding:0;}
.odd-tree__file {display:grid;grid-template-columns:16px minmax(0,1fr);column-gap:8px;align-items:start;padding:9px 8px;border-radius:7px;color:#202330;font-size:12px;line-height:1.35;text-decoration:none;}
.odd-tree__file svg {margin-top:1px;color:#737987;}
.odd-tree__file:hover {background:#e9f1ff;}
.odd-tree__file[aria-current="page"] {background:#e9f1ff;color:#176bea;font-weight:600;}
.odd-tree__file[aria-current="page"] svg {color:#176bea;}
.odd-tree__name {overflow-wrap:anywhere;}
.odd-tree__meta {grid-column:2;font-size:10px;font-weight:400;color:#737987;}
.odd-tree__status {margin:0;padding:7px;font-size:11px;color:#737987;}
.odd-tree__status:empty {display:none;}
.odd-tree__action {align-self:flex-start;margin:4px 6px;padding:6px 12px;border:1px solid #dfe1e8;border-radius:6px;background:#fff;color:#176bea;font:inherit;font-size:12px;cursor:pointer;}
.odd-tree__action:hover {background:#e9f1ff;}
.odd-tree__action[hidden] {display:none;}
.odd-tree__handle {position:relative;display:flex;align-items:center;justify-content:center;flex:none;width:20px;padding:0;border:0;border-left:1px solid #e4e7ed;border-right:1px solid #e4e7ed;background:#fff;color:#176bea;cursor:pointer;}
.odd-tree__handle::before {content:"";position:absolute;top:0;bottom:0;left:-12px;right:-12px;}
.odd-tree__handle:hover {background:#f7f8fa;}
.odd-tree__handle:focus-visible,.odd-tree__file:focus-visible,.odd-tree__action:focus-visible {outline:2px solid #176bea;outline-offset:-2px;}
.odd-product .stage-body:not(.is-tree-open) .odd-tree__handle svg {transform:rotate(180deg);}
.odd-tree__browse,.odd-tree__scrim {display:none;}

/* In-stage tools: guides left, device pill centered, icon-only actions right. */
.odd-finder-stage .stage-cap {gap:12px;padding:8px 14px;background:#f7f8fa;border:0;}
.odd-finder-stage .stage-control {min-width:34px;min-height:34px;padding:0 6px;border:0;border-radius:6px;background:transparent;color:#62687a;}
.odd-finder-stage .stage-control:hover {background:#f1f3f7;border:0;}
.odd-finder-stage .stage-control[aria-pressed="true"] {background:#e9f1ff;color:#176bea;}
.odd-finder-stage .stage-cap__devices {gap:2px;padding:3px;border:0;border-radius:999px;background:#f1f3f7;overflow:visible;}
.odd-finder-stage .stage-device {min-height:30px;padding:0 12px;border:0;border-radius:999px;font-size:13px;}
.odd-finder-stage .stage-device + .stage-device {border:0;}
.odd-finder-stage .stage-device:hover {background:transparent;}
.odd-finder-stage .stage-device[aria-pressed="true"] {background:#fff;color:#202330;box-shadow:0 1px 3px #20233026;}
.odd-finder-stage .stage-control:focus-visible {outline:2px solid #176bea;outline-offset:1px;}
.odd-finder-stage .stage-workspace {flex:1;height:auto;min-height:clamp(320px,calc(100vh - 330px),640px);max-height:none;padding:16px;background:#f7f8fa;}
.odd-finder-stage .stage-document-panel {min-height:420px;}

/* The tree and its handle are not part of fullscreen. */
.odd-finder-stage:fullscreen .odd-tree,.odd-finder-stage:fullscreen .odd-tree__handle,.odd-finder-stage:fullscreen .odd-tree__browse,
.odd-finder-stage.is-expanded .odd-tree,.odd-finder-stage.is-expanded .odd-tree__handle,.odd-finder-stage.is-expanded .odd-tree__browse {display:none;}
.odd-finder-stage:fullscreen .stage-workspace,.odd-finder-stage.is-expanded .stage-workspace {height:calc(100vh - 150px);max-height:none;}

@media (max-width:1000px) {
  .odd-finder-stage .stage-cap {display:grid;grid-template-columns:auto 1fr auto;}
  .odd-finder-stage .stage-cap__center {order:0;flex-basis:auto;}
}
@media (max-width:760px) {
  .odd-product {padding:12px 12px 40px;}
  .odd-product .stage-bar {flex-wrap:wrap;gap:8px;}
  .odd-product__commerce {flex:1 1 100%;justify-content:flex-end;padding-bottom:8px;}
  .odd-product .stage-bar .stage-tabs {flex:1 1 100%;overflow-x:auto;}
  .odd-product .stage-tab {padding:8px 12px;font-size:13px;}
  .odd-product .stage-tab svg {display:none;}
  .odd-product .stage-body {display:block;border-radius:0 0 6px 6px;}
  .odd-tree__handle {display:none;}
  .odd-tree__browse {display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;padding:0 14px;border:0;border-bottom:1px solid #e4e7ed;background:#fff;color:#176bea;font:inherit;font-size:14px;font-weight:600;cursor:pointer;}
  .odd-product .odd-tree {position:fixed;z-index:1101;top:0;bottom:0;left:0;width:min(86vw,320px);max-height:none;padding:12px;box-shadow:0 0 24px #20233040;}
  .odd-tree__close {display:block;}
  .odd-product .stage-body.is-tree-open .odd-tree__scrim {display:block;position:fixed;z-index:1100;inset:0;background:#20233066;}
  .odd-finder-stage .stage-workspace {padding:8px;height:clamp(300px,calc(100vh - 360px),520px);}
  .odd-finder-stage .stage-device .stage-control-text {display:none;}
  .odd-finder-stage .stage-device {padding:0 10px;}
  .odd-finder-stage .stage-cap {padding:8px;gap:6px;}
  .odd-finder-stage .stage-document-panel {padding:20px 16px;min-height:300px;}
}

/* Product copy uses a consistent body style and heading color. */
.odd-product .odd-product__details {font-size:16px;line-height:1.65;color:#596273;}
.odd-product .odd-product__description,.odd-product .product-features {font-size:inherit;line-height:inherit;color:inherit;}
.odd-product .odd-product__details h2,.odd-product .oddProductBuyPanel h2 {color:#202330;}
.odd-product .odd-product__details h2 {font-size:24px;line-height:1.25;margin:0 0 12px;}
.odd-product .odd-product__details h3 {font-size:20px;line-height:1.3;color:#202330;margin:22px 0 12px;}
.odd-product .product-features {padding-left:22px;margin:0;}
.odd-product .product-features li {margin:4px 0;}
.odd-product .oddProductBuyMeta {color:#596273;}
@media(max-width:760px) {
  .odd-product .odd-product__commerce {justify-content:center;}
}

.odd-product .odd-product__commerce .oddDownload,.odd-product .oddProductBuyActions .oddDownload {font-size:16px;line-height:1.25;min-height:44px;padding:10px 18px;gap:8px;box-sizing:border-box;}

/* Product previews fit their content; only fixed/fullscreen viewports scroll vertically. */
.odd-finder-stage { --stage-min-preview-height:576px; }
.odd-finder-stage .stage-workspace { height:auto;max-height:none;overflow:auto; }
.odd-finder-stage .stage-canvas { height:auto; }
.odd-finder-stage .stage-surface { height:var(--stage-min-preview-height); }
@media(max-width:600px){.odd-finder-stage { --stage-min-preview-height:480px; }}
.odd-finder-stage:fullscreen .stage-workspace,
.odd-finder-stage.is-expanded .stage-workspace { flex:1 1 0;min-height:0;height:auto;max-height:none; }
.odd-finder-stage:fullscreen,.odd-finder-stage.is-expanded { display:flex;flex-direction:column;overflow:hidden; }
.odd-finder-stage:fullscreen .stage-body,.odd-finder-stage.is-expanded .stage-body { display:flex;flex:1;min-height:0; }
.odd-finder-stage:fullscreen .stage-main,.odd-finder-stage.is-expanded .stage-main,
.odd-finder-stage:fullscreen #panel-preview,.odd-finder-stage.is-expanded #panel-preview { min-height:0; }
.odd-finder-stage:fullscreen .stage-document-panel,.odd-finder-stage.is-expanded .stage-document-panel { min-height:0;overflow:auto; }
