/* Desktop composition. The established mobile experience stays below 900px. */
.desktop-header,.desktop-form-aside,.desktop-landing-art,.desktop-catalogue-intro,.desktop-crop-zoom,.photo-tap>.desktop-gallery-arrow,.desktop-profile-toolbar,.desktop-gallery-navigation,.desktop-publication-status,.desktop-upload-files{display:none}
.manager-gallery-panel{display:contents}
.manager-profile-lead{display:contents}
.manager-profile-lead>.video-stories-section{margin:0 0 5px}
@media(min-width:900px){
 :root{--desktop-width:1240px;--desktop-gutter:40px}
 html,body{background:var(--bg)}
 body{min-width:0;padding:0;background:var(--bg)}
 .app{max-width:none;width:100%;margin:0;box-shadow:none;border:0;border-radius:0;min-height:100dvh}
 .app-frame{height:100dvh;min-height:0;width:100%;position:relative}
 .desktop-header{display:block;flex:none;width:100%;height:88px;background:#fff;border-bottom:1px solid var(--line);z-index:8}
 .desktop-header-inner{width:calc(100% - 2*var(--desktop-gutter));max-width:var(--desktop-width);height:100%;margin:auto;display:flex;align-items:center;gap:30px}
 .desktop-wordmark{display:flex;align-items:center;gap:11px;padding:0;background:none;border:0;color:var(--ink);font-size:24px;font-weight:700;text-decoration:none;letter-spacing:-.6px;white-space:nowrap}
 .desktop-wordmark>span{display:grid;place-items:center;width:42px;height:42px;background:var(--soft);color:var(--accent);border:1px solid #efd7c8;border-radius:14px}
 .desktop-wordmark .icon{width:25px;height:25px}
 .desktop-nav{display:flex;align-items:center;gap:6px;margin:auto}
 .desktop-nav>button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:12px 17px;border:0;border-radius:12px;background:none;color:var(--muted);font-size:15px;font-weight:600;white-space:nowrap}
 .desktop-nav>button>.icon{width:19px;height:19px}
 .desktop-nav>button[aria-current=page]{background:var(--soft);color:var(--accent)}
 .desktop-user{display:flex;align-items:center;gap:9px;color:var(--ink);font-size:15px;font-weight:600;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .desktop-user>.icon{width:20px;height:20px;color:var(--muted)}
 .desktop-header-caption,.desktop-login-link{margin-left:auto;font-size:15px;text-decoration:none;color:var(--muted)}
 .desktop-login-link{padding:11px 18px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font-weight:600}
 .app-frame>.nav:not(.manager-preview-footer){display:none}
 .app-frame>.topbar,.catalogue-heading{width:calc(100% - 2*var(--desktop-gutter));max-width:var(--desktop-width);margin:0 auto;flex:none;min-height:92px;height:auto;padding:28px 0 20px;gap:16px;background:transparent}
 .topbar h1,.back-title h1,.catalogue-heading h1{font-size:32px;line-height:1.15;letter-spacing:-.7px;font-weight:700}
 .topbar .icon-button{width:42px;height:42px}
 .app-frame>.topbar>.icon-button[data-action="back"]{display:none}
 .mvp-content{padding:28px 0 48px;width:calc(100% - 2*var(--desktop-gutter));max-width:var(--desktop-width);margin:0 auto;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#d6c9bd transparent;overscroll-behavior:contain}
 .mvp-content::-webkit-scrollbar{display:block;width:6px}.mvp-content::-webkit-scrollbar-thumb{border-radius:8px;background:#d6c9bd}
 .mvp-content h1{font-size:36px;letter-spacing:-.7px;line-height:1.15}
 .mvp-content h2{font-size:24px;line-height:1.2}.mvp-content h3{font-size:20px}
 .primary,.secondary,.outline-button{transition:background .16s,box-shadow .16s,transform .16s}
 .primary:hover{background:#9e361a}.secondary:hover,.outline-button:hover{background:#fdf8f3;border-color:#caa78e}
 .icon-button:hover{box-shadow:0 2px 10px #38231916}.text-button:hover,.preview-link:hover{text-decoration:underline}
 .mvp-empty{max-width:540px;margin:64px auto;padding:40px 32px;background:#fff;border:1px solid var(--line);border-radius:24px;min-height:0}
 .mvp-empty>.primary{width:auto;min-width:220px;margin:8px auto 0}.mvp-empty h2{font-size:28px}.mvp-empty p{font-size:17px;line-height:1.5}
 /* A genuine wide landing, with the same entry actions. */
 .app[data-screen=start] .mvp-content{display:grid;position:relative;grid-template-columns:1fr 1fr;grid-template-rows:repeat(4,max-content);gap:14px 76px;align-content:center;align-items:start;padding:52px 0;max-width:var(--desktop-width);min-height:0}
 .app[data-screen=start] .welcome-copy{grid-column:1;margin:0 0 22px;padding:0;align-self:end}
 .app[data-screen=start] .welcome-copy .eyebrow{font-size:12px;letter-spacing:2px;margin-bottom:24px}
 .app[data-screen=start] .welcome-copy h1{font-size:clamp(48px,4.6vw,68px);line-height:1.04;letter-spacing:-2.2px;margin-bottom:24px}
 .app[data-screen=start] .welcome-copy>p:last-child{font-size:19px;line-height:1.5;max-width:440px;color:var(--muted)}
 .app[data-screen=start] .mvp-content>.primary,.app[data-screen=start] .mvp-content>.secondary,.app[data-screen=start] .mvp-content>.text-button{grid-column:1;max-width:360px;margin:0;align-self:start}
 .app[data-screen=start] .mvp-content>.text-button{text-align:center;width:360px;padding-top:13px}
 .landing-phone-note{display:none}
 .desktop-landing-art{display:block;position:absolute;grid-column:auto;grid-row:auto;right:0;top:50%;transform:translateY(-50%);width:calc((100% - 76px)/2);align-self:center;height:min(640px,calc(100dvh - 170px));min-height:470px;isolation:isolate}
 .desktop-landing-scene{position:absolute;inset:0 0 36px 32px;border-radius:32px;background:linear-gradient(0deg,#173b2e55,transparent 65%),url('/assets/scenes/islands.webp') center/cover;box-shadow:0 20px 70px #74503215}
 .desktop-art-note{position:absolute;left:0;bottom:0;width:300px;padding:26px 28px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:0 16px 50px #38231912}
 .desktop-art-note>span{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#e9f0e8;color:var(--teal);margin-bottom:20px}.desktop-art-note>strong{display:block;font-size:28px;line-height:1.12;letter-spacing:-.5px}.desktop-art-note>p{margin-top:13px;font-size:15px;line-height:1.5;color:var(--muted)}
 .desktop-art-tag{position:absolute;top:24px;right:20px;display:flex;align-items:center;gap:8px;padding:11px 14px;border:1px solid #ffffff77;border-radius:12px;background:#fffef5ed;font-size:14px;font-weight:600;color:var(--teal)}.desktop-art-tag>.icon{width:18px;height:18px}
 /* Shared discovery / favorites / colleague cards. */
 .desktop-catalogue-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;width:calc(100% - 2*var(--desktop-gutter));max-width:var(--desktop-width);margin:-6px auto 24px;flex:none}
 .desktop-catalogue-intro>p{font-size:17px;color:var(--muted);line-height:1.4}.desktop-catalogue-intro>span{font-size:14px;color:var(--muted);white-space:nowrap}
 .quick-filters{width:calc(100% - 2*var(--desktop-gutter));max-width:var(--desktop-width);height:auto;padding:0 0 24px;margin:0 auto;gap:12px;flex:none;overflow:visible}
 .app-frame>.quick-filters{height:auto;min-height:74px;padding:0 0 24px}
 /* Catalogue headings scroll away; only navigation and filters stay above results. */
 .manager-grid-frame{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
 .manager-grid-frame>.desktop-header{position:sticky;top:0}
 .manager-grid-frame>.quick-filters{position:sticky;top:88px;z-index:7;width:100%;max-width:none;margin:0;padding:12px max(var(--desktop-gutter),calc((100% - var(--desktop-width))/2)) 16px;background:var(--bg)}
 .manager-grid-frame>.manager-grid-content{flex:none;overflow:visible}
 .quick-filter-scroll{gap:10px;overflow-x:auto;scrollbar-width:thin;padding:0 0 2px}
 .catalogue-filter-button{width:48px;height:48px;border-radius:14px}.quick-filter-pill{height:48px}.quick-filter-open{min-height:46px;padding:12px 17px;font-size:15px}
 .manager-grid-content,.app[data-screen=likes]>.app-frame>.mvp-content{padding-top:0}
 .manager-results-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:start;padding:0 0 20px}
 .manager-result-card{width:100%;min-width:0;border-radius:22px;background:#fff;border:1px solid var(--line);overflow:hidden;box-shadow:0 3px 12px #9c3d1a05;transition:box-shadow .2s,transform .2s}
 .manager-result-card:hover{transform:translateY(-3px);box-shadow:0 10px 26px #38231913}
 .manager-result-open{height:100%;display:flex;flex-direction:column;width:100%}
 .manager-result-photo{display:block;position:relative;width:100%;height:auto;aspect-ratio:4/5;border-radius:0;overflow:hidden}
 .manager-result-photo>img{width:100%;height:100%;object-fit:cover}
 .manager-result-copy{padding:16px;height:140px;min-height:140px;max-height:140px;flex:0 0 140px;width:100%;gap:6px;display:flex;flex-direction:column;align-items:flex-start}
 .manager-result-copy>strong{font-size:20px;line-height:1.16;letter-spacing:-.25px;min-height:0;flex:none;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.manager-result-copy>small{font-size:14px;line-height:1.45;flex:none;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.manager-result-copy>.manager-result-reviews{font-size:13px;margin-top:auto;margin-bottom:0;flex:none}
 .grid-favorite{top:13px;right:13px;width:42px;height:42px}.manager-result-score{left:13px;top:13px;font-size:14px;padding:8px 10px}
 /* A readable two-column manager profile, one document and one scroll. */
 .manager-profile-scroll{display:grid;grid-template-columns:minmax(320px,43%) minmax(0,1fr);gap:40px;align-items:start;position:relative;padding:32px 0 40px;overflow:auto;scrollbar-width:thin}
 .manager-profile-page .manager-profile-scroll{padding:32px 0 40px!important}
 .manager-profile-gallery{position:sticky;top:0;min-height:0;height:min(680px,calc(100dvh - 220px));max-height:none;aspect-ratio:auto;width:100%;border-radius:24px;overflow:hidden;background:#222a25;isolation:isolate}
 .manager-profile-gallery>.hero-photo,.manager-profile-gallery>.hero-video{width:100%;height:100%;object-fit:cover}
 .manager-profile-topbar{padding:0;inset:16px 16px auto;height:42px;z-index:5}.manager-profile-gallery .photo-progress{top:34px;left:76px;right:120px;max-width:none;padding:0}
 .manager-profile-gallery .photo-progress>button{height:4px;min-height:4px}
 .manager-profile-gallery:has(.photo-progress>button:only-child) .photo-tap{display:none}
 .manager-profile-gallery .story-video-controls{top:auto;bottom:20px;right:18px;z-index:6}
 .manager-profile-information{margin:0;padding:30px 32px 24px;border:1px solid var(--line);border-radius:24px;background:#fff;min-width:0}
 .manager-profile-information>h1{font-size:34px;line-height:1.1;margin:12px 0 16px;letter-spacing:-.7px}.profile-detail-facts{flex-wrap:wrap;gap:14px;margin-bottom:22px;font-size:15px}
 .manager-profile-information .profile-section{padding:24px 0;border-top:1px solid var(--line);margin:0}.manager-profile-information .profile-section h2{font-size:21px;margin-bottom:12px}.manager-profile-information .profile-section p{font-size:17px;line-height:1.6}
 .manager-profile-information .chip{font-size:14px;padding:8px 12px}.manager-profile-information .ht-review-summary{margin:22px 0;border-radius:16px;background:var(--bg)}
 .manager-profile-footer{position:static;flex:none;display:flex;justify-content:flex-end;gap:12px;width:calc(100% - 2*var(--desktop-gutter));max-width:var(--desktop-width);margin:0 auto;padding:16px 0 22px;background:var(--bg);border:0;box-shadow:0 -15px 20px var(--bg)}
 .manager-profile-page>.manager-profile-footer{width:100%;max-width:none;margin:0;padding:16px max(var(--desktop-gutter),calc((100% - var(--desktop-width))/2)) 22px;background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 24px #26332d08}
 .manager-profile-footer:empty{display:none}.manager-profile-footer>.primary,.manager-profile-footer>a{width:calc(57% - 40px);max-width:none;min-height:54px;margin:0}
 .photo-tap>.desktop-gallery-arrow{display:grid;place-items:center;position:absolute;top:50%;width:40px;height:40px;border-radius:50%;background:#fffef3e8;color:var(--ink);border:1px solid #ffffff70;box-shadow:0 3px 12px #0002;transform:translateY(-50%);opacity:.85}.photo-tap.prev>.desktop-gallery-arrow{left:14px}.photo-tap.next>.desktop-gallery-arrow{right:14px}.desktop-gallery-arrow>.icon{width:21px;height:21px}.photo-tap:hover>.desktop-gallery-arrow{opacity:1;background:#fff}
 .photo-tap{cursor:pointer}.video-stories-strip{gap:14px;padding:0 0 18px}.video-story-thumb{width:78px;min-width:78px}.video-story-thumb>span{width:76px;height:76px}
 /* Creation and authentication: wide card plus a calm explanatory sidebar. */
 .desktop-form-frame>.topbar{max-width:var(--desktop-width);min-height:96px}
 .desktop-form-aside{display:block;position:absolute;left:max(var(--desktop-gutter),calc((100% - var(--desktop-width))/2));top:204px;width:260px;padding-right:16px;color:var(--ink)}
 .desktop-aside-icon{display:grid;place-items:center;width:54px;height:54px;margin-bottom:22px;background:var(--soft);color:var(--accent);border:1px solid #efd7c8;border-radius:17px}.desktop-aside-icon>.icon{width:28px;height:28px}
 .desktop-form-aside h2{font-size:27px;line-height:1.14;letter-spacing:-.4px}.desktop-form-aside>p{font-size:16px;line-height:1.55;color:var(--muted);margin:16px 0 28px}
 .desktop-auth-benefits{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:18px}.desktop-auth-benefits>li{display:flex;align-items:flex-start;gap:10px;font-size:15px;line-height:1.4;color:var(--muted)}.desktop-auth-benefits .icon{width:18px;height:18px;color:var(--teal);margin-top:1px}
 .desktop-creation-steps{list-style:none;margin:28px 0 0;padding:0;display:flex;flex-direction:column;gap:18px}.desktop-creation-steps>li{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:15px;line-height:1.35}.desktop-creation-steps>li>span{display:grid;place-items:center;flex:none;width:34px;height:34px;background:#fff;border:1px solid var(--line);border-radius:11px;font-weight:600}.desktop-creation-steps strong{font-weight:500}.desktop-creation-steps [aria-current=step]{color:var(--accent)}.desktop-creation-steps [aria-current=step]>span{background:var(--accent);color:#fff;border-color:var(--accent)}.desktop-creation-steps [aria-current=step]>strong{font-weight:700}.desktop-creation-steps>.is-complete>span{color:var(--teal);background:#e9f0e8;border-color:#d6e2d5}.desktop-creation-steps .icon{width:18px;height:18px}
 .desktop-form-frame>.mvp-form,.desktop-form-frame>.onboarding-content,.desktop-form-frame>.mvp-form-bottom{width:calc(100% - 2*var(--desktop-gutter) - 310px);max-width:calc(var(--desktop-width) - 310px);margin-left:max(calc(var(--desktop-gutter) + 310px),calc((100% - var(--desktop-width))/2 + 310px));margin-right:var(--desktop-gutter)}
 .desktop-form-frame .mvp-form{min-height:0;margin-bottom:32px;border:1px solid var(--line);border-radius:24px;background:#fff;overflow:hidden}
 .desktop-form-frame .mvp-form>.mvp-content{width:100%;max-width:none;margin:0;padding:30px 32px;min-height:0;background:#fff;scroll-padding-top:24px}
 .desktop-auth-frame>.mvp-form{flex:0 1 auto;max-height:calc(100dvh - 216px)}.desktop-auth-frame .mvp-content{flex:0 1 auto}
 .desktop-auth-frame #managerLoginForm .fields{gap:16px 20px;padding-top:26px;padding-bottom:24px}.desktop-auth-frame #managerLoginForm .onboard-heading{margin:0}.desktop-auth-frame #managerLoginForm [data-action=manager-recover],.desktop-auth-frame #managerLoginForm [data-action=manager-register]{grid-column:1/-1}.desktop-auth-frame #managerLoginForm .mvp-form-bottom{padding-top:16px;padding-bottom:16px}
 .desktop-form-frame>.onboarding-content{padding:30px 32px 36px;border:1px solid var(--line);border-radius:24px 24px 0 0;background:#fff;min-height:0}
 .desktop-form-frame>.mvp-form-bottom{border-radius:0 0 24px 24px;margin-bottom:32px;border:1px solid var(--line);border-top:0}
 .mvp-form-bottom{padding:20px 32px;background:#fff;flex:none;border-top:1px solid var(--line)}.mvp-form-bottom>.primary{max-width:360px;margin-left:auto}
 #managerLoginForm .mvp-form-bottom>.primary{width:100%;max-width:none;margin-left:0}
 .onboarding-content .fields,.desktop-editor-frame .fields,.desktop-auth-frame .fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 24px;align-content:start;align-items:start}
 .onboarding-content .fields>.field,.desktop-editor-frame .fields>.field,.desktop-auth-frame .fields>*{grid-column:1/-1;min-width:0;margin:0}
 .onboarding-content .fields>.field:has([name=city]),.onboarding-content .fields>.field:has([name=years]),.desktop-editor-frame .fields>.field:has([name=firstName]),.desktop-editor-frame .fields>.field:has([name=lastName]),.desktop-editor-frame .fields>.field:has([name=city]),.desktop-editor-frame .fields>.field:has([name=years]),.desktop-auth-frame .fields>.field:has([name=firstName]),.desktop-auth-frame .fields>.field:has([name=lastName]),.desktop-auth-frame #registerManagerForm .field:has([name=password]),.desktop-auth-frame #registerManagerForm .field:has([name=passwordConfirm]){grid-column:auto}
 .desktop-form-frame .onboard-heading h1{font-size:32px}.desktop-form-frame .onboard-heading p{font-size:16px;line-height:1.5;max-width:590px;margin-top:12px}
 .onboarding-content .field>span:first-child,#profileForm .field>span:first-child{font-size:21px}.field input,.field select,.site-select-trigger{min-height:52px}.field textarea{min-height:135px;font-size:16px;line-height:1.5}
 .chip-set{gap:9px}.chip-set>.chip{padding:10px 15px;border-radius:12px;font-size:15px;line-height:1.3}.field-hint{font-size:16px;line-height:1.5}
 .desktop-editor-frame>.mvp-form{max-width:var(--desktop-width);width:calc(100% - 2*var(--desktop-gutter));margin:0 auto 24px;border:1px solid var(--line);border-radius:24px;background:#fff;overflow:hidden;min-height:0}.desktop-editor-frame .mvp-content{width:100%;max-width:none;padding:30px 36px;margin:0}.desktop-editor-frame .mvp-form-bottom{padding:20px 36px}
 .desktop-editor-frame .fields>.field:has([name=years]){grid-column:2;grid-row:2}
 /* Media and personal account. */
 .manager-photo-grid,.manager-video-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.media-section-heading>h2{font-size:23px}.media-section-heading{margin-bottom:13px}.manager-photo-section>.field-hint,.manager-video-section>p,.certificate-editor>p{max-width:690px;font-size:16px;line-height:1.5}.manager-video-section,.certificate-editor{margin-top:30px}.media-tips-link{font-size:15px;margin-top:14px}
 .media-tile .remove{width:29px;height:29px}.media-main-button{font-size:11px}.certificate-strip{gap:16px;padding-bottom:14px;scrollbar-width:thin}.certificate-item{width:172px}.certificate-thumb>img{height:105px}.certificate-upload{max-width:380px}
 .account-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 32px;align-content:start;align-items:start;padding-top:32px}
 .app-frame>.account-content{padding-top:32px}
 .account-header{grid-column:1/-1;display:flex;align-items:center;gap:25px;padding:28px 30px;border:1px solid var(--line);border-radius:24px;background:#fff;margin:0}
 .account-picture{width:122px;height:140px;min-width:122px;border-radius:19px}.account-picture>img,.account-picture .initial-avatar{width:100%;height:100%;border-radius:16px}.account-identity h1{font-size:34px;max-width:650px}.account-header-actions{margin-left:auto;align-self:center}.account-header-actions>.icon-button{width:44px;height:44px}.preview-link{font-size:16px;margin-top:12px}
 .account-content>.ht-review-summary,.account-content>.certificate-editor,.account-content>.account-section{grid-column:1/-1;margin:0}.account-content>.completion-card{margin:0}.account-content>.row{margin:0;padding:20px 24px;border:1px solid var(--line);border-radius:20px;background:#fff;min-height:105px;gap:16px}
 .account-content>.manager-photo-section,.account-content>.manager-video-section{margin:0;padding:26px;border:1px solid var(--line);border-radius:24px;background:#fff;min-width:0}.account-content .manager-photo-grid,.account-content .manager-video-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
 .account-content>.certificate-editor{padding:26px;border:1px solid var(--line);border-radius:24px;background:#fff}.account-edit-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.account-section:first-of-type .account-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-section-title{margin:6px 0 18px}.edit-tile{min-height:170px;padding:24px}.edit-tile strong{font-size:19px}.edit-tile .tile-copy{font-size:15px;line-height:1.5}.account-more{margin:0;min-height:56px;padding:16px 20px}.account-content>.account-more{grid-column:auto}
 .app[data-screen=dashboard] .mvp-content{max-width:1100px;padding-top:14px;gap:26px}.app[data-screen=dashboard] .mvp-content>.row{padding:0 0 2px}.app[data-screen=dashboard] .chat-avatar{width:80px;height:88px;border-radius:20px}.analytics-card{padding:30px;border-radius:24px}.analytics-heading{margin-bottom:24px}.analytics-heading h2{font-size:24px}.analytics-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.analytics-metrics>div{padding:22px;border-radius:18px}.analytics-metrics strong{font-size:36px}.analytics-metrics span{font-size:15px}.analytics-week{padding-top:26px}.analytics-bars{height:185px;gap:20px}.analytics-note{max-width:760px;font-size:14px;line-height:1.5}.dashboard-profile-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.dashboard-profile-actions .secondary{min-height:56px}
 .app[data-screen=dashboard] .mvp-content{max-width:var(--desktop-width)}.app[data-screen=dashboard] .mvp-content>.row{order:0}.dashboard-profile-actions{order:1}.analytics-card{order:2}.analytics-week{margin-top:0;padding-top:24px}.analytics-bars{height:140px;align-items:end}.analytics-bars>div{height:100%;justify-content:flex-end}.analytics-bar-track{height:100px;flex:0 0 100px}
 .app[data-screen=recover] .mvp-content.stack,.app[data-screen=recovery] .mvp-content.stack{margin-top:0;max-width:calc(var(--desktop-width) - 310px);padding:36px;border:1px solid var(--line);border-radius:24px;background:#fff;margin-left:max(calc(var(--desktop-gutter) + 310px),calc((100% - var(--desktop-width))/2 + 310px));width:calc(100% - 2*var(--desktop-gutter) - 310px);flex:0 1 auto;gap:22px}
 .profile-finished{max-width:620px;margin:auto;padding:48px;border:1px solid var(--line);border-radius:28px;background:#fff;text-align:center}.profile-finished h1{font-size:38px}.profile-finished p{font-size:18px;line-height:1.5}.profile-finished>.primary,.profile-finished>.secondary{max-width:380px;margin-left:auto;margin-right:auto}
 /* Desktop dialogs replace edge-attached mobile sheets. */
 .sheet{position:fixed;inset:0;margin:auto;width:min(640px,calc(100% - 80px));max-width:none;height:fit-content;min-height:0;max-height:calc(100dvh - 80px);padding:0 28px 28px;border-radius:24px;border:1px solid var(--line);overflow:auto;box-shadow:0 24px 90px #172b2230;scrollbar-width:thin}
 .sheet::backdrop{background:#1b2a236b;backdrop-filter:blur(5px)}.sheet-handle{display:none}.sheet-head{position:sticky;top:0;padding:24px 0 22px;min-height:82px;z-index:10;background:var(--bg);border-radius:24px 24px 0 0}.sheet-head h2{font-size:26px;line-height:1.15}.sheet-head .icon-button{width:38px;height:38px;min-width:38px}
 .sheet-footer{position:sticky;bottom:-28px;margin:20px -28px -28px;padding:20px 28px 26px;border-top:1px solid var(--line);background:#fff;z-index:6}.sheet-footer .primary{min-height:52px}.sheet:has(#filterForm){width:min(780px,calc(100% - 80px))}.sheet #filterForm .fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.sheet .quick-filter-options{gap:8px;padding-bottom:0}.quick-filter-option{min-height:54px;border-radius:13px;font-size:16px}
 .sheet.country-picker-sheet{width:720px;max-width:calc(100% - 80px);height:min(760px,calc(100dvh - 80px));max-height:calc(100dvh - 80px);padding:0 28px;border-radius:24px;display:flex;flex-direction:column;overflow:hidden}.country-search-area{padding:0 0 16px}.country-search-area input{min-height:50px}.country-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:0 0 20px;align-content:start;scrollbar-width:thin}.country-result{margin:0;min-height:50px;font-size:16px}.country-picker-sheet .sheet-footer{margin:0 -28px;padding:20px 28px 24px;flex:none}.country-empty{grid-column:1/-1}
 .sheet.country-picker-sheet{margin:auto}.country-picker-sheet .sheet-head h2{font-size:26px}
 .sheet.photo-crop-dialog{inset:0;width:720px;max-width:calc(100% - 80px);height:min(880px,calc(100dvh - 64px));max-height:calc(100dvh - 64px);padding:0 28px 24px;border-radius:24px}.photo-crop-dialog .sheet-head{padding:22px 0 18px}.photo-crop-dialog .sheet-head h2{font-size:26px}.photo-crop-dialog .crop-canvas{border-radius:16px;cursor:grab}.photo-crop-dialog .crop-canvas:active{cursor:grabbing}.desktop-crop-zoom{display:flex;align-items:center;gap:16px;flex:none;padding:2px 6px 6px;font-size:14px;color:var(--muted)}.desktop-crop-zoom input{flex:1;min-width:0;accent-color:var(--accent);cursor:ew-resize}.desktop-crop-zoom output{min-width:42px;text-align:right;font-variant-numeric:tabular-nums}.crop-buttons{display:flex}.crop-buttons>button{flex:1}.crop-gesture-hint{width:140px;height:140px}
 .sheet.photo-crop-dialog{margin:auto}
 .sheet.video-upload-dialog{width:760px;max-width:calc(100% - 80px);max-height:calc(100dvh - 64px);padding:0 28px 28px;border-radius:24px}.video-upload-dialog .sheet-head{padding:22px 0}.video-upload-preview{gap:18px}.video-upload-preview .video-preview-canvas{height:min(48dvh,440px);background:#1c211e;border-radius:18px}.video-preview-canvas video{width:100%;height:100%;object-fit:contain}.video-upload-preview .sheet-footer{padding:0;margin:0;position:static}.video-preview-paging{gap:30px}.video-preview-paging>.icon-button{background:#fff;border:1px solid var(--line);width:40px;height:40px}
 .sheet.video-story-dialog{position:fixed;inset:0;width:min(440px,calc(100% - 80px));height:min(850px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);margin:auto;padding:0;border-radius:24px;overflow:hidden;background:#18221e}.video-story-stage{height:100%;max-height:none;border-radius:0}.video-story-stage>video{height:100%;width:100%;object-fit:contain}.video-story-dialog>.sheet-head{position:absolute;left:0;right:0;top:0;padding:20px;z-index:10;background:transparent}.video-story-dialog>.sheet-head h2{font-size:18px}.video-story-progress{top:76px}.video-story-person{top:92px}
 .sheet.video-story-dialog{inset:0!important;top:0!important;bottom:0!important;margin:auto!important;width:440px!important;max-width:calc(100% - 80px)!important;height:min(850px,calc(100dvh - 48px))!important;max-height:calc(100dvh - 48px)!important;border:1px solid #ffffff30!important;border-radius:24px!important;padding:0!important;background:#18221e!important}.video-story-person{bottom:auto}
 .sheet.certificate-fullscreen{inset:0;margin:auto;width:min(1080px,calc(100% - 100px));height:min(840px,calc(100dvh - 80px));max-height:calc(100dvh - 80px);padding:0 28px 24px;border-radius:24px}.certificate-viewer{min-height:0;max-height:calc(100dvh - 265px);background:#eee9e3}.certificate-viewer img{max-height:calc(100dvh - 280px);object-fit:contain}.certificate-navigation{margin-top:18px}
 .sheet.certificate-fullscreen{max-width:none}.sheet.certificate-fullscreen>.sheet-head{padding:22px 0;border:0}.certificate-fullscreen>.sheet-head h2{font-size:24px}
 .sheet.welcome-onboarding,.sheet.manager-step-intro{width:540px;height:fit-content;min-height:0;max-height:calc(100dvh - 80px);border-radius:24px;padding:0 28px 26px}.welcome-onboarding-body{flex:0 1 auto}.welcome-onboarding-art{height:210px;margin:0 0 24px}.welcome-onboarding-body h3{font-size:30px}.welcome-onboarding-body>p{font-size:17px;line-height:1.5}.welcome-onboarding>.sheet-footer{margin:12px 0 0;padding:18px 0 0;border:0;background:transparent}.welcome-onboarding .sheet-head{min-height:64px;padding:16px 0 10px}
 .site-select-popover{max-width:520px;box-shadow:0 12px 44px #38231920}.site-select-option:hover{background:var(--soft)}
 .upload-notice{top:106px;left:auto;right:28px;transform:none;width:360px;box-shadow:0 12px 40px #38231920}.toast{bottom:28px;max-width:520px;width:max-content;padding:16px 24px;left:50%;transform:translateX(-50%);border-radius:14px;font-size:15px}
 .mvp-admin>.stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.mvp-admin .notice{font-size:16px;line-height:1.5}
}
@media(min-width:900px) and (max-width:1149px){
 #managerLoginForm .mvp-form-bottom{padding-left:26px;padding-right:26px}
 :root{--desktop-gutter:28px}.desktop-header-inner{gap:18px}.desktop-nav{gap:0}.desktop-nav>button{padding:12px 10px;font-size:14px}.desktop-user{max-width:115px}.manager-results-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.desktop-form-aside{width:220px}.desktop-form-frame>.mvp-form,.desktop-form-frame>.onboarding-content,.desktop-form-frame>.mvp-form-bottom{width:calc(100% - 2*var(--desktop-gutter) - 250px);margin-left:calc(var(--desktop-gutter) + 250px);max-width:none}.desktop-form-aside h2{font-size:25px}.desktop-form-frame .mvp-form>.mvp-content{padding:26px}.manager-photo-grid,.manager-video-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.manager-profile-scroll{gap:24px;grid-template-columns:42% minmax(0,1fr)}.manager-profile-information{padding:25px}.manager-profile-information>h1{font-size:30px}.manager-profile-footer>.primary,.manager-profile-footer>a{width:calc(58% - 24px)}.account-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-metrics>div{padding:18px}.analytics-metrics span{font-size:14px}.app[data-screen=start] .mvp-content{gap:14px 42px}.desktop-landing-art{width:calc((100% - 42px)/2)}.desktop-art-note{width:260px;padding:24px}.desktop-art-tag{font-size:12px;right:12px}
}
@media(min-width:900px) and (prefers-reduced-motion:reduce){.manager-result-card,.primary,.secondary,.outline-button{transition:none}.manager-result-card:hover{transform:none}}

/* Desktop refinements: scrolling stays available with wheel, trackpad and keys. */
@media(min-width:900px){
 html,body,#app,#app *,#overlay,#overlay *,dialog,dialog *{scrollbar-width:none!important;-ms-overflow-style:none}
 html::-webkit-scrollbar,body::-webkit-scrollbar,#app::-webkit-scrollbar,#app ::-webkit-scrollbar,#overlay ::-webkit-scrollbar,dialog::-webkit-scrollbar,dialog ::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
 dialog.sheet{inset:0!important;margin:auto!important}
 .sheet:not(.video-story-dialog)>.sheet-head{position:sticky;top:0;flex:none;align-items:center;min-height:86px;width:calc(100% + 56px);margin:0 -28px;padding:22px 28px;background:var(--bg)!important;border-bottom:1px solid var(--line);border-radius:24px 24px 0 0;z-index:20;isolation:isolate}
 .sheet:not(.video-story-dialog)>.sheet-head h2{margin:0;line-height:1.2;min-width:0;max-width:calc(100% - 48px)}
 .sheet:not(.video-story-dialog)>.sheet-head>.icon-button{flex:none;align-self:center;width:38px;height:38px;min-width:38px;margin:0;padding:0}
 .sheet.manager-step-onboarding>.sheet-head{grid-template-columns:minmax(0,1fr) 38px;gap:12px}.sheet.manager-step-onboarding>.sheet-head h2{max-width:none}
 .sheet.manager-review-dialog{display:flex;flex-direction:column;height:min(860px,calc(100dvh - 80px));overflow:hidden;padding-bottom:0}
 .sheet.manager-review-dialog>.sheet-head{position:relative}
 #htReviewReader{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 0 28px}
 .sheet.video-story-dialog .video-story-stage{position:relative;width:100%;height:100%;overflow:hidden}
 .sheet.video-story-dialog .video-story-stage>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
 /* Page actions and media navigation have separate, visible places. */
 .manager-profile-lead{display:flex;align-items:flex-start;justify-content:flex-end;gap:16px;min-width:0}
 .manager-profile-lead>.video-stories-section{flex:1;min-width:0}
 .desktop-profile-toolbar{display:flex;align-items:center;gap:18px;flex:none;width:auto;max-width:100%;min-height:42px;margin:0;padding:0}
 .desktop-profile-toolbar>.desktop-profile-back{width:auto;min-height:42px;padding:10px 15px;gap:8px;border-radius:12px;font-size:15px}.desktop-profile-back>.icon{width:19px;height:19px}
 .desktop-profile-toolbar>.desktop-profile-back,.desktop-profile-toolbar>span{display:none}
 .desktop-profile-toolbar:has(>div:empty){display:none}
 .desktop-profile-toolbar>span{font-size:16px;color:var(--muted)}.desktop-profile-toolbar>div{display:flex;align-items:center;gap:10px;margin-left:auto}.desktop-profile-toolbar>div>.secondary{min-height:42px;width:auto;padding:10px 16px;border-radius:12px;font-size:15px}
 .desktop-profile-toolbar .favorite-button.desktop-profile-favorite{display:flex;align-items:center;justify-content:center;width:42px;min-width:42px;height:42px;min-height:42px;padding:0!important;gap:0!important;border-radius:50%;background:#fff;border:1px solid var(--line);color:var(--accent)}
 .desktop-profile-favorite>.icon{width:21px;height:21px}.desktop-profile-toolbar .icon-button{background:#fff;border:1px solid var(--line);width:42px;height:42px}
 .manager-profile-page .manager-profile-scroll{grid-template-columns:minmax(300px,420px) minmax(0,1fr);padding:20px 0 24px!important;gap:40px}
 .manager-gallery-panel{display:flex;position:sticky;top:0;flex-direction:column;gap:12px;min-width:0;align-self:start}
 .manager-gallery-panel .manager-profile-gallery{position:relative;top:auto;height:clamp(320px,calc(100dvh - 230px),820px);width:100%;border-radius:22px;flex:none}
 .manager-profile-gallery .manager-profile-topbar,.manager-profile-gallery .photo-progress,.manager-profile-gallery>.photo-tap{display:none}
 .desktop-gallery-navigation{display:flex;flex-direction:column;gap:12px;min-width:0}
 .desktop-gallery-controls{display:flex;justify-content:space-between;align-items:center;gap:9px}
 .desktop-gallery-controls>.secondary{display:flex;width:auto;min-height:42px;padding:10px 12px;gap:7px;font-size:14px;border-radius:12px}.desktop-gallery-controls .icon{width:18px;height:18px}.desktop-gallery-controls>span{font-size:14px;font-weight:600;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
 .desktop-gallery-controls{display:none}
 .manager-profile-gallery>.photo-tap{display:block;top:calc(50% - 22px);bottom:auto;width:44px;height:44px;z-index:4;background:none}
 .manager-profile-gallery>.photo-tap.prev{left:14px;right:auto}.manager-profile-gallery>.photo-tap.next{right:14px;left:auto}
 .manager-profile-gallery>.photo-tap>.desktop-gallery-arrow{position:static;transform:none;width:44px;height:44px}
 .desktop-gallery-thumbs{display:flex;gap:8px;overflow:auto;min-width:0;padding:2px 0;overscroll-behavior-x:contain}
 .desktop-gallery-thumbs>button{position:relative;flex:none;width:60px;height:66px;padding:3px;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
 .desktop-gallery-thumbs>button[aria-pressed=true]{border:2px solid var(--accent);padding:2px}.desktop-gallery-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:8px}.desktop-gallery-thumbs .icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:25px;height:25px;padding:6px;border-radius:50%;color:#fff;background:#1d2925b3}
 .manager-profile-information .profile-section>p{max-width:66ch}
 .manager-profile-footer>.primary,.manager-profile-footer>a{width:calc(100% - 460px)}
 .manager-profile-information>.manager-profile-footer{position:static;display:flex;width:100%;max-width:none;margin:24px 0 0;padding:24px 0 0;background:transparent;border:0;border-top:1px solid var(--line);box-shadow:none}
 .manager-profile-information>.manager-profile-footer:empty{display:none}
 .manager-profile-information>.manager-profile-footer>.primary,.manager-profile-information>.manager-profile-footer>a{width:100%;max-width:none;margin:0}
 .desktop-gallery-thumbs{cursor:grab;user-select:none;scroll-behavior:auto}
 .desktop-gallery-thumbs.is-dragging{cursor:grabbing}
 .desktop-gallery-thumbs>button{cursor:inherit}.desktop-gallery-thumbs img{pointer-events:none;-webkit-user-drag:none}
 .desktop-publication-status{display:block;margin-top:12px}.account-content>.account-publication-row{display:none}
 .account-content>.completion-card{grid-column:1/-1;width:100%}.account-content>.completion-card .completion-next{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:30px;row-gap:7px}.account-content>.completion-card .completion-next>h3,.account-content>.completion-card .completion-next>p{grid-column:1;margin:0}.account-content>.completion-card .completion-next>.completion-cta{grid-column:2;grid-row:1/span 2;align-self:center;min-width:190px;margin:0}
 .app-frame>.profile-finished{flex:0 0 auto;align-self:center;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-items:center;gap:20px;width:min(680px,calc(100% - 80px));max-width:680px;max-height:calc(100dvh - 144px);margin:auto;padding:48px 44px;overflow:auto;border-radius:28px}
 .profile-finished>.profile-finished-mark,.profile-finished>h1,.profile-finished>p{grid-column:1/-1;margin:0}.profile-finished>.profile-finished-mark{width:80px;height:80px}.profile-finished>h1{font-size:36px;line-height:1.15}.profile-finished>p{max-width:500px;font-size:18px;line-height:1.55}.profile-finished>.primary,.profile-finished>.secondary{grid-column:auto;width:100%;max-width:none;margin:8px 0 0;min-height:52px}
 .upload-notice{width:400px;max-height:calc(100dvh - 140px);overflow:auto;scrollbar-width:none}.upload-notice::-webkit-scrollbar{display:none}
 .desktop-upload-files{display:flex;flex-direction:column;gap:7px;max-height:240px;overflow:auto;list-style:none;padding:0;margin:13px 0 0;scrollbar-width:none}.desktop-upload-files::-webkit-scrollbar{display:none}
 .desktop-upload-files>li{padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:var(--bg);font-size:13px;line-height:1.4}.desktop-upload-files strong{display:block;font-size:13px;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.desktop-upload-files span{display:block;color:var(--muted);margin-top:3px;overflow-wrap:anywhere}.desktop-upload-files>.has-error{background:var(--error-bg,#fff4ee);border-color:var(--error-border,#efd7c8)}.desktop-upload-files>.has-error span{color:var(--error-text,#955c35)}
}
@media(min-width:900px) and (max-width:1149px){
 .manager-profile-page .manager-profile-scroll{grid-template-columns:minmax(290px,38%) minmax(0,1fr);gap:24px}.manager-profile-footer>.primary,.manager-profile-footer>a{width:calc(62% - 24px)}.desktop-gallery-controls>.secondary{padding:10px 8px;font-size:13px;gap:4px}.desktop-gallery-controls>span{font-size:13px}.desktop-profile-toolbar>span{font-size:15px}
}

/* On short desktop windows the taller gallery scrolls naturally, keeping thumbnails reachable. */
@media(min-width:900px) and (max-height:560px){.manager-gallery-panel{position:relative;top:auto}}

@media(min-width:900px){
 .manager-gallery-panel .manager-profile-gallery:has(>.hero-photo){height:auto;aspect-ratio:var(--profile-photo-aspect);width:min(100%,calc(max(320px,min(820px,100dvh - 230px)) * .8));margin-inline:auto}
 .manager-gallery-panel .manager-profile-gallery:has(>.hero-video){height:auto;aspect-ratio:9/16;width:min(100%,calc(max(320px,min(820px,100dvh - 230px)) * .5625));margin-inline:auto}
 .manager-result-photo{aspect-ratio:var(--profile-photo-aspect)}
 .desktop-gallery-thumbs>button{width:60px;height:75px;padding:0;border:0;box-shadow:inset 0 0 0 1px var(--line)}
 .desktop-gallery-thumbs>button[aria-pressed=true]{padding:0;border:0;outline:2px solid var(--accent);outline-offset:-2px}
 .sheet.video-upload-dialog{height:min(880px,calc(100dvh - 64px));max-height:calc(100dvh - 64px)}
 .video-upload-preview .video-preview-canvas{height:auto;width:auto}
}

@media(min-width:900px){.app[data-screen=start] .landing-first-visit{grid-column:1;max-width:440px}.app[data-screen=start] .manager-landing{row-gap:14px}}
