
@font-face{font-family:NavPreview;src:url('/assets/navigator-case/assets/montserrat.ttf')}@font-face{font-family:NavPreview;src:url('/assets/navigator-case/assets/montserrat-italic.ttf');font-style:italic}
#nav-preview{padding:12px;background:transparent;container-type:inline-size}#nav-preview *{box-sizing:border-box}#nav-preview .np-frame{padding:10px 10px 7px;border:1px dashed #777;border-radius:22px}#nav-preview .np-surface{background:#f4f4f4;color:#000;border-radius:14px;padding:16px;font-family:NavPreview,Arial,sans-serif;font-weight:600;position:relative}#nav-preview .np-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}#nav-preview .np-logo{width:49%;height:auto;display:block}#nav-preview button{font:inherit;color:inherit;cursor:inherit}#nav-preview .np-switch{display:flex;align-items:center;gap:8px;background:transparent;border:0;padding:4px 0;font-size:11px;white-space:nowrap}#nav-preview .np-track{width:34px;height:20px;border-radius:12px;background:#d3d3d3;position:relative;transition:background .35s}#nav-preview .np-track:after{content:'';position:absolute;width:14px;height:14px;background:white;border-radius:50%;left:3px;top:3px;box-shadow:0 1px 3px #0003;transition:transform .35s}#nav-preview .is-admin .np-track{background:#0c6dbd}#nav-preview .is-admin .np-track:after{transform:translateX(14px)}#nav-preview .np-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}#nav-preview .np-test{height:150px;position:relative;isolation:isolate;border-radius:17px;overflow:hidden;background:#f5f5f5;border:1px solid #d9d9d9;box-shadow:0 0 12px #00000015;--dark:#20a663;--light:#8cd277}#nav-preview .np-test:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(143.84deg,var(--light),var(--dark) 74.177%);opacity:1;transition:opacity .5s}#nav-preview .is-admin .np-test:before{opacity:0}#nav-preview .np-meta{height:25px;display:flex;align-items:center;color:#f4f4f4;font-size:11px;position:relative;transition:color .4s}#nav-preview .np-count{position:absolute;inset:0 16px;display:flex;align-items:center;border-bottom:1px solid #f4f4f4;font-style:italic;transition:all .5s}#nav-preview .np-responses{height:100%;display:flex;align-items:center;justify-content:center;width:46%;background:var(--dark);opacity:0;transition:opacity .4s}#nav-preview .is-admin .np-responses{opacity:1}#nav-preview .is-admin .np-count{left:46%;right:0;padding:0 9px;justify-content:flex-end;border:0;background:var(--light)}#nav-preview .np-title{font:600 16px/20px NavPreview,Arial,sans-serif;margin:13px 16px 0;text-transform:uppercase;color:#f4f4f4;transition:color .4s,opacity .3s;letter-spacing:-.3px}#nav-preview .is-admin .np-title{color:#000}#nav-preview .np-rule{position:absolute;bottom:22px;left:16px;right:16px;border-top:1px solid #f4f4f4;transition:opacity .3s}#nav-preview .is-admin .np-rule{opacity:0}#nav-preview .np-tools{position:absolute;bottom:10px;left:12px;right:12px;display:flex;gap:5px;padding-top:10px;border-top:1px solid #d9d9d9;opacity:0;transform:translateY(7px);visibility:hidden;transition:opacity .4s,transform .4s,visibility .4s}#nav-preview .is-admin .np-tools{opacity:1;transform:translateY(0);visibility:visible}#nav-preview .np-icon{width:25px;height:25px;padding:0;border:0;background:transparent;border-radius:50%;display:grid;place-items:center}#nav-preview .np-icon img{width:25px;height:25px;display:block}#nav-preview .np-icon:hover{filter:brightness(.85);transform:scale(1.08)}#nav-preview .np-color{margin-left:auto}#nav-preview .np-palette{position:absolute;inset:0;display:flex;align-items:end;justify-content:space-between;padding:10px 0 0;background:#f5f5f5;z-index:2}#nav-preview .np-palette[hidden]{display:none}#nav-preview .np-muted .np-title{opacity:.35}#nav-preview .np-deleted{opacity:.35}#nav-preview .np-deleted .np-title{text-decoration:line-through}#nav-preview .np-status{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);background:#061624;color:#fff;padding:9px 14px;border-radius:10px;font-size:11px;z-index:4;max-width:90%;box-shadow:0 3px 10px #0002;pointer-events:none}#nav-preview .np-status:empty{display:none}
@container(max-width:580px){#nav-preview .np-header{align-items:flex-start;gap:12px;flex-direction:column}#nav-preview .np-logo{width:100%;max-width:350px}#nav-preview .np-grid{grid-template-columns:1fr}#nav-preview .np-test{height:172px}#nav-preview .np-title{font-size:22px;line-height:26px}#nav-preview .np-icon,#nav-preview .np-icon img{width:32px;height:32px}#nav-preview .np-tools{gap:10px}#nav-preview .np-switch{min-height:30px}#nav-preview .np-meta{font-size:12px;height:28px}}
@media(prefers-reduced-motion:reduce){#nav-preview *,#nav-preview *:before,#nav-preview *:after{transition:none!important}}

#nav-preview .np-footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:5px 6px 0;color:light-dark(#111,#f6f5ee);font:600 11px/1.2 NavPreview,Arial,sans-serif}#nav-preview .np-footer .np-switch{grid-column:2}#nav-preview .np-details{grid-column:3;justify-self:end;display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 14px;border-radius:15px;background:light-dark(#f6f5ee,#0e0e0e);color:inherit;box-shadow:inset 0 0 0 1px light-dark(#111,transparent);text-decoration:none;white-space:nowrap;font:700 12px/1 Inter,Arial,sans-serif}#nav-preview .np-details i,#nav-preview .np-details svg{width:14px;height:14px;display:block}#nav-preview .np-frame:hover .np-details{background:light-dark(#eeede6,#242424)}#nav-preview .np-frame:hover .np-details svg{transform:translate(1px,-1px)}#nav-preview .np-surface:not(.is-admin) .np-test.np-muted,#nav-preview .np-surface:not(.is-admin) .np-test.np-deleted{visibility:hidden;pointer-events:none}#nav-preview .np-status{bottom:8px}
@container(max-width:400px){#nav-preview .np-footer{grid-template-columns:1fr;gap:5px}#nav-preview .np-footer .np-switch{grid-column:1;justify-self:center}#nav-preview .np-details{grid-column:1;justify-self:end}}

/* Match the Cardanus portfolio card: surface inset 12px, controls over the image. */
#nav-preview .np-frame{position:relative;padding:12px;border:2px dashed light-dark(#b5b5b5,#555);border-radius:25px}
#nav-preview .np-frame:hover,#nav-preview .np-frame:focus-within{border-style:solid}
#nav-preview .np-surface{padding:16px 16px 60px;border-radius:12px}
#nav-preview .np-footer{position:absolute;left:26px;right:26px;bottom:24px;padding:0;display:grid;grid-template-columns:1fr auto 1fr;gap:12px;color:#000}
#nav-preview .np-details{color:light-dark(#0e0e0e,#f6f5ee);min-width:120px}
#nav-preview .np-footer .np-switch{min-height:30px;grid-column:2;justify-self:center}
#nav-preview .np-details{grid-column:3;justify-self:end}
#nav-preview .np-status{bottom:52px}
@container(max-width:580px){#nav-preview .np-frame{padding:10px;border-radius:22px}#nav-preview .np-footer{left:20px;right:20px;bottom:20px}}
@container(max-width:400px){#nav-preview .np-surface{padding-bottom:90px}#nav-preview .np-footer{grid-template-columns:1fr;gap:4px}#nav-preview .np-footer .np-switch{grid-column:1}#nav-preview .np-details{grid-column:1;justify-self:end}}

/* The same track, inset shadow and thumb proportions as the Clean Cup switch. */
#nav-preview .np-track{display:block;flex:0 0 42px;width:42px;height:24px;border-radius:999px;background:#f5f5f5;box-shadow:inset 0 1px 5px #0001;overflow:hidden}
#nav-preview .np-track:after{left:4.286%;top:7.5%;width:48.571%;height:85%;border-radius:50%;background:#a2ba3b;box-shadow:none;transition:transform .3s ease,background .3s ease}
#nav-preview.is-admin .np-track{background:#f5f5f5}
#nav-preview.is-admin .np-track:after{transform:translateX(88.235%);background:#edd623}
#nav-preview .np-grid{min-height:150px}
#nav-preview .np-surface:not(.is-admin) .np-test.np-muted,#nav-preview .np-surface:not(.is-admin) .np-test.np-deleted{display:none}
@container(max-width:580px){#nav-preview .np-grid{min-height:172px}#nav-preview .np-surface{padding-bottom:90px}#nav-preview .np-footer{grid-template-columns:1fr;gap:4px}#nav-preview .np-footer .np-switch{grid-column:1}#nav-preview .np-details{grid-column:1;justify-self:end}}

#nav-preview .np-meta{font-size:9.9px}
#nav-preview .np-switch .np-track{order:-1}
#nav-preview .np-track:after{background:#b8b8b8}
#nav-preview.is-admin .np-track:after{background:#0c6dbd}
@container(max-width:580px){#nav-preview .np-meta{font-size:10.8px}}

#nav-preview .np-track{box-shadow:inset 0 2px 5px #00000026,inset 0 1px 2px #00000014}

#nav-preview .np-meta{line-height:1}
#nav-preview .np-responses,#nav-preview .np-count{display:flex;align-items:center;line-height:1;padding-top:1px;padding-bottom:0}
#nav-preview .is-admin .np-count{padding-top:1px;padding-bottom:0}

#nav-preview .np-responses{width:50%;padding-top:3px}
#nav-preview .np-count{padding-top:3px}
#nav-preview .is-admin .np-count{left:50%;right:0;justify-content:flex-end;padding:3px 10px 0}
#nav-preview .is-admin .np-count{justify-content:flex-start}

#nav-preview .is-admin .np-responses,#nav-preview .is-admin .np-count{justify-content:flex-start;padding:3px 10px 0;line-height:1}

/* The portfolio owns the frame; the preview fills the existing tile. */
.navigator-tile{position:relative;isolation:isolate}
#nav-preview{position:absolute;inset:0;padding:0;container-type:inline-size}
#nav-preview .np-frame{position:absolute;inset:0;padding:0;border:0;border-radius:0}
#nav-preview .np-surface{position:absolute;inset:12px;padding:22px 22px 60px;border-radius:20px}
#nav-preview .np-grid{height:100%;min-height:0;align-content:start;grid-auto-rows:100%;gap:24px}
#nav-preview .np-test{height:100%;min-height:0;border-radius:24px}
#nav-preview .np-title{font-size:clamp(16px,2.05cqw,26px);line-height:1.23;margin:18px 20px 0;letter-spacing:-.3px}
#nav-preview .np-meta{height:clamp(25px,2.3cqw,30px);font-size:clamp(9.9px,1.11cqw,14.4px)}
#nav-preview .np-responses{width:50%;padding:3px 14px 0;justify-content:flex-start}
#nav-preview .is-admin .np-count{left:50%;justify-content:flex-start;padding:3px 14px 0}
#nav-preview .np-tools{left:18px;right:18px;bottom:16px;gap:9px;z-index:3}
#nav-preview .np-icon,#nav-preview .np-icon img{width:clamp(25px,3.1cqw,40px);height:clamp(25px,3.1cqw,40px)}
#nav-preview .np-rule{left:20px;right:20px;bottom:35px}
#nav-preview .np-footer{left:26px;right:26px;bottom:24px;z-index:4;pointer-events:none;font:600 12px/1.2 Inter,Arial,sans-serif}
#nav-preview .np-footer .np-switch,#nav-preview .np-footer .np-details{pointer-events:auto;cursor:pointer}
#nav-preview .np-footer .np-switch{font-size:12px;min-height:30px}
#nav-preview .np-icon{cursor:pointer}
#nav-preview .np-case-link{position:absolute;inset:0;z-index:2;border-radius:28px}
#nav-preview .np-status{z-index:5;bottom:60px}
.work-grid[data-portfolio-style="flat"] .navigator-tile:is(:hover,:has(:focus-visible)){border-style:solid!important}
@container(max-width:900px){#nav-preview .np-surface{padding:16px 16px 60px}#nav-preview .np-grid{gap:16px}#nav-preview .np-title{margin:13px 16px 0}#nav-preview .np-test{border-radius:17px}#nav-preview .np-tools{left:12px;right:12px;bottom:10px;gap:5px}#nav-preview .np-responses,#nav-preview .is-admin .np-count{padding-left:10px;padding-right:10px}}
@container(max-width:580px){#nav-preview .np-surface{inset:10px;border-radius:12px;padding:12px 12px 74px}#nav-preview .np-grid{grid-template-columns:repeat(3,minmax(190px,1fr));height:100%;gap:12px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}#nav-preview .np-test{height:100%;min-height:110px}#nav-preview .np-title{font-size:16px;line-height:20px}#nav-preview .np-meta{font-size:9.9px;height:25px}#nav-preview .np-footer{left:20px;right:20px;bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:10px}#nav-preview .np-footer .np-switch{font-size:10px;gap:6px}#nav-preview .np-details{min-width:100px;font-size:11px!important;padding:0 10px}#nav-preview .np-track{width:36px;height:21px;flex-basis:36px}#nav-preview .np-icon,#nav-preview .np-icon img{width:25px;height:25px}#nav-preview .np-rule{bottom:20px}#nav-preview .np-tools{bottom:8px;padding-top:6px}}
@media(max-width:700px){.work-grid .navigator-tile{min-height:290px}}
@media(pointer:coarse){#nav-preview .np-icon{position:relative}#nav-preview .np-icon:after{content:'';position:absolute;inset:-6px -2px}#nav-preview .np-switch{min-height:44px!important}}
#nav-preview .np-surface{z-index:3;pointer-events:none}
#nav-preview .np-tools{pointer-events:auto}
@container(max-width:580px){#nav-preview .np-grid{pointer-events:auto}}
#nav-preview .np-footer{border:0;margin:0;background:transparent}
/* Give Navigator its own taller row while preserving the other portfolio rows. */
.work-grid{grid-template-rows:repeat(5,clamp(190px,23.3vw,335px)) auto}
.work-grid .navigator-tile{aspect-ratio:1296/400;min-height:250px}
@media(max-width:700px){.work-grid{grid-template-rows:repeat(7,clamp(150px,43vw,270px)) auto}.work-grid .navigator-tile{aspect-ratio:342/300;min-height:300px}}

/* Original Navigator spacing: user card 10/30/40px; admin card 20px. */
#nav-preview .np-track{width:var(--np-switch-w,70px);height:var(--np-switch-h,40px);flex-basis:var(--np-switch-w,70px)}
#nav-preview .np-surface:not(.is-admin) .np-meta{height:40px}
#nav-preview .np-surface:not(.is-admin) .np-count{inset:10px 30px auto;height:30px;padding:0;align-items:flex-start;line-height:20px}
#nav-preview .np-surface:not(.is-admin) .np-title{margin:20px 30px 0}
#nav-preview .np-rule{left:30px;right:30px;bottom:40px}
#nav-preview .is-admin .np-meta{height:29px}
#nav-preview .is-admin .np-title{margin:20px 20px 0}
#nav-preview .np-tools{left:19px;right:19px;padding-top:20px;bottom:20px}
@container(max-width:900px){#nav-preview .np-surface:not(.is-admin) .np-meta{height:28px}#nav-preview .np-surface:not(.is-admin) .np-count{inset:7px 20px auto;height:21px;line-height:14px}#nav-preview .np-surface:not(.is-admin) .np-title{margin:14px 20px 0}#nav-preview .np-rule{left:20px;right:20px;bottom:27px}#nav-preview .is-admin .np-title{margin:14px 14px 0}#nav-preview .np-tools{left:13px;right:13px;padding-top:13px;bottom:13px}}
@container(max-width:580px){#nav-preview .np-surface:not(.is-admin) .np-meta{height:25px}#nav-preview .np-surface:not(.is-admin) .np-count{inset:6px 17px auto;height:19px;line-height:13px}#nav-preview .np-surface:not(.is-admin) .np-title{margin:12px 17px 0}#nav-preview .np-rule{left:17px;right:17px;bottom:23px}#nav-preview .is-admin .np-title{margin:12px 12px 0}#nav-preview .np-tools{left:11px;right:11px;padding-top:11px;bottom:11px}}
/* Move the tests upward without changing their proportions; open space above the mode switch. */
#nav-preview .np-surface{padding:12px 22px 70px}
#nav-preview .np-footer .np-switch{font-size:16px}
@container(max-width:900px){#nav-preview .np-surface{padding:10px 16px 66px}#nav-preview .np-footer .np-switch{font-size:14px}}
@container(max-width:580px){#nav-preview .np-surface{padding:7px 12px 79px}#nav-preview .np-footer .np-switch{font-size:11px}}
/* One geometry for both modes. Admin tools occupy space reserved in the user view. */
#nav-preview .np-surface:is(.is-admin,:not(.is-admin)) .np-meta{height:40px}
#nav-preview .np-surface:is(.is-admin,:not(.is-admin)) .np-title{margin:20px 30px 0}
#nav-preview .is-admin .np-responses,#nav-preview .is-admin .np-count{height:29px}
#nav-preview .np-tools{left:30px;right:30px;bottom:20px;height:61px;padding-top:20px}
#nav-preview .np-rule{left:30px;right:30px;bottom:40px}
@container(max-width:900px){#nav-preview .np-surface:is(.is-admin,:not(.is-admin)) .np-meta{height:28px}#nav-preview .np-surface:is(.is-admin,:not(.is-admin)) .np-title{margin:14px 20px 0}#nav-preview .is-admin .np-responses,#nav-preview .is-admin .np-count{height:25px}#nav-preview .np-tools{left:20px;right:20px;bottom:13px;height:43px;padding-top:13px}#nav-preview .np-rule{left:20px;right:20px;bottom:27px}}
@container(max-width:580px){#nav-preview .np-surface:is(.is-admin,:not(.is-admin)) .np-meta{height:25px}#nav-preview .np-surface:is(.is-admin,:not(.is-admin)) .np-title{margin:12px 17px 0}#nav-preview .np-tools{left:17px;right:17px;bottom:11px;height:37px;padding-top:11px}#nav-preview .np-rule{left:17px;right:17px;bottom:23px}}
#nav-preview .is-admin .np-meta{align-items:flex-start}
/* Equal top/side padding, with the extra room added to the portfolio tile. */
.work-grid .navigator-tile{aspect-ratio:1296/410}
#nav-preview .np-surface{padding:22px 22px 70px}
@container(max-width:900px){#nav-preview .np-surface{padding:16px 16px 66px}}
@container(max-width:580px){#nav-preview .np-surface{padding:12px 12px 79px}}
@media(max-width:700px){.work-grid .navigator-tile{aspect-ratio:342/305;min-height:305px}}
/* The admin ribbon fills the same header height reserved above the user divider. */
#nav-preview .is-admin .np-responses,#nav-preview .is-admin .np-count{height:40px}
@container(max-width:900px){#nav-preview .is-admin .np-responses,#nav-preview .is-admin .np-count{height:28px}}
@container(max-width:580px){#nav-preview .is-admin .np-responses,#nav-preview .is-admin .np-count{height:25px}}
/* Ribbon captions follow the same left inset as the card title. */
#nav-preview .is-admin .np-responses,#nav-preview .is-admin .np-count{padding-left:30px;padding-right:4px}
@container(max-width:900px){#nav-preview .is-admin .np-responses,#nav-preview .is-admin .np-count{padding-left:20px}}
@container(max-width:580px){#nav-preview .is-admin .np-responses,#nav-preview .is-admin .np-count{padding-left:17px}}
/* White thumb, neutral off track and blue on track, matching the supplied reference. */
#nav-preview .np-track{background:linear-gradient(135deg,#ededed,#dedede);box-shadow:inset 0 2px 5px #00000026,inset 0 1px 2px #00000014;transition:background .3s ease}
#nav-preview .np-track:after,#nav-preview.is-admin .np-track:after{background:#f4f4f4;box-shadow:none}
#nav-preview.is-admin .np-track{background:linear-gradient(135deg,#4574bb,#72a4ed)}
