/* CellMotion's website shell. No effect/editor rendering rules live here. */
.header-actions{display:flex;align-items:center;gap:8px;margin-left:auto;margin-right:-20px}
.header-actions .button{margin-top:0}
.contact-dialog{width:min(440px,calc(100vw - 32px));padding:22px;border:0;border-radius:18px;background:#fff;color:#171717}
.contact-dialog::backdrop{background:rgba(16,16,17,.46)}
.contact-dialog h2{margin:0 0 6px;font-size:22px}
.contact-dialog p{margin:0 0 16px;color:#6d675f;font-size:14px;line-height:1.6}
.contact-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.contact-choices .button{width:100%;margin-top:0;min-height:44px}
.contact-dialog img{width:100%;height:auto;margin-top:14px;border-radius:12px}
.contact-dialog [data-contact-close]{position:absolute;top:12px;right:12px;width:32px;height:32px;border:0;border-radius:50%;background:#f3f1ee}
.contact-dialog{position:relative}
@media(max-width:760px){.header-actions{gap:6px;margin-right:-8px}.header-actions .button{font-size:10px;padding:10px 12px}}
.header nav a[aria-current=page]{color:var(--ink)}
.editor-heading .editor-scope-note{font-size:12px;color:#948a83;line-height:1.8}
@media(max-width:760px){.header{height:auto;min-height:90px}}
@media(min-width:761px){.header.wrap{width:100%;max-width:none;padding-inline:clamp(20px,3vw,56px);box-sizing:border-box}.header .header-actions{margin-left:auto;margin-right:0;justify-content:flex-end}}
@media(max-width:760px){.header.wrap{width:100%;height:auto;min-height:90px;flex-wrap:wrap;row-gap:8px;padding:12px 16px;box-sizing:border-box}.header nav{display:none}.header .header-actions{margin-left:auto;margin-right:0;justify-content:flex-end;flex-wrap:wrap;gap:6px;max-width:100%}.header .header-actions .button{padding:9px 11px;gap:9px}}
@media(max-width:430px){.header.wrap{row-gap:6px}.header .header-actions{flex:1 0 100%;width:100%;margin:0;justify-content:flex-end}.site-preferences{margin-left:4px}}
body:has(.hero-immersive, .hero-centered)>.header{position:relative;z-index:3;margin-bottom:-86px;background:transparent!important;border:0!important;box-shadow:none!important}
.hero.hero-centered{position:relative;margin-top:-86px;padding-top:86px;box-sizing:border-box;background:#fafafa}
.hero.hero-centered .hero-full-film{inset:0}
.hero.hero-immersive{height:100svh;margin-top:-86px;padding-top:86px;box-sizing:border-box;background:#fafafa}
.hero.hero-immersive .hero-full-film{inset:0}
.contact-wechat-action{display:inline-flex;align-items:center;justify-content:center;gap:9px}
.contact-dialog .contact-wechat-action img{width:28px;height:24px;object-fit:contain;display:block;margin:-3px -2px;border-radius:0}
.ribbon-card{background-color:#fff;background-position:center;background-size:cover;border-radius:12px;box-shadow:0 5px 18px #17151c12}
.ribbon-card:before{content:"";position:absolute;z-index:0;inset:-8%;background:inherit;background-position:center;background-size:cover;filter:blur(18px) brightness(.84);transform:scale(1.06);pointer-events:none}
.ribbon-card video{z-index:1;background:transparent}
.hero.hero-immersive{position:relative;isolation:isolate;min-height:620px;width:100%;overflow:hidden}
.hero-full-film{position:absolute;inset:0;z-index:-2}
.hero-full-film video{width:100%;height:100%;object-fit:cover;object-position:50% 42%}
.hero-immersive:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(0deg,#faf9f7 0%,#faf9f7f5 12%,#faf9f7d9 24%,#faf9f700 44%)}
.hero-safe-copy{position:absolute;bottom:62px;left:0;right:0;text-align:center}
.hero-immersive h1{font-family:var(--font);font-weight:400;font-size:clamp(27px,2.3vw,36px);letter-spacing:.015em;line-height:1.4;margin:0 0 13px}
.hero-immersive .hero-description{font-size:14px;color:#67635e;line-height:1.8}
.hero-immersive .hero-center-actions{margin-top:22px}
.hero-immersive .button.outline{background:#faf9f7d9}
.hero-immersive>.round-button{position:absolute;right:32px;bottom:27px;width:34px;height:34px}
.hero-scroll{position:absolute;left:32px;bottom:34px;color:#79736e;font-size:11px;display:flex;gap:20px;align-items:center}
.motion-showcase{position:relative;z-index:2;margin-top:-36px;padding-top:26px;overflow:hidden}
.motion-showcase .motion-ribbon{margin-top:0}
.library-intro{font-size:14px;color:var(--muted);margin:-10px 0 24px;line-height:1.8}
.category-links{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:30px}
.category-links a{font-size:12px;border:1px solid var(--line);border-radius:24px;padding:9px 15px;transition:background .2s}
.category-links a:hover{background:var(--soft);border-color:#ded3f7}
.category-links span{color:#a59baf;font-size:10px;margin-left:8px}
.library-destinations{display:grid;grid-template-columns:1fr 1fr;gap:36px;margin-top:50px;padding-top:32px;border-top:1px solid var(--line)}
.library-destinations>a{padding:8px 0 14px}
.destination-kicker{font-size:10px;color:#8b8580;letter-spacing:1px}
.library-destinations h3{font-size:23px;font-weight:450;margin:14px 0 12px}
.library-destinations h3 span{display:inline-block;margin-left:12px;color:var(--purple);transition:transform .2s}
.library-destinations a:hover h3 span{transform:translate(3px,-3px)}
.library-destinations p{font-size:13px;color:var(--muted);margin:0;line-height:1.8}
.component-layout{display:grid;grid-template-columns:232px minmax(0,1fr);max-width:1680px;margin:auto;padding:0 40px;gap:44px}
.components-page .header{width:calc(100% - 80px);max-width:1600px;border-bottom:1px solid var(--line)}
.component-sidebar{position:sticky;top:0;align-self:start;height:100svh;overflow-y:auto;padding:30px 22px 32px 0;border-right:1px solid var(--line)}
.sidebar-home{font-size:12px;color:#888078;display:block;margin-bottom:28px}
.component-sidebar .search{min-width:0;width:100%;padding:11px 10px}
.component-sidebar .search input{min-width:0;font-size:12px}
.sidebar-label{font-size:11px;color:#999088;margin:32px 0 13px}
.component-sidebar .filters{display:flex;flex-direction:column;gap:4px}
.component-sidebar .filter{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;padding:11px 12px;border-radius:7px;color:#6f6863}
.component-sidebar .filter[aria-pressed=true]{background:#ede7f8;color:#5833a6}
.filter-count{font-family:"CellMotion Sans",sans-serif;font-size:10px;opacity:.7}
.sidebar-note{margin-top:48px;padding-top:24px;border-top:1px solid var(--line)}
.sidebar-note p{font-size:12px;line-height:1.9;color:#92877f;margin:10px 0}
.sidebar-note a{font-size:11px;color:#5e554d}
.component-main{min-width:0;padding:64px 0 0}
.component-heading h1{font-size:clamp(27px,3vw,42px);font-weight:400;letter-spacing:-.035em;line-height:1.35;margin:0 0 16px}
.component-heading>p:last-child{font-size:14px;color:#8a817b;margin-bottom:38px}
.component-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center}
.usage-filters{display:flex;gap:5px;flex-wrap:wrap}
.usage-filters button{border:0;background:transparent;border-radius:22px;font-size:13px;padding:10px 17px;color:#8a8077}
.usage-filters button[aria-pressed=true]{background:#272525;color:white}
.usage-filters button span{font-size:9px;border:1px solid #ded8d0;border-radius:4px;margin-left:5px;padding:2px 4px}
.usage-note{font-size:11px;color:#8c837b;line-height:1.8;margin:22px 0 28px;padding-left:12px;border-left:2px solid #d9c8f4}
.component-main .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 18px}
.component-main .catalog-preview{aspect-ratio:16/11}
.component-main .card-caption{margin-top:14px}
.catalog-card.is-pending{cursor:default}
.catalog-card.is-pending .catalog-preview{pointer-events:none}
.catalog-card.is-pending .card-category{z-index:4}
.pending-cover{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.34);color:rgba(47,42,52,.82);font-size:14px;font-weight:500;letter-spacing:.16em;pointer-events:none;text-shadow:0 0 16px rgba(255,255,255,.95),0 0 2px #fff}
.card-capabilities{display:flex;align-items:center;gap:8px;font-size:10px;color:#8f867d;margin-top:11px}
.card-capabilities span:first-child{color:#74617e}
.card-capabilities span+span:before{content:"·";margin-right:8px;color:#b8afa5}
.web-planned{border:1px solid var(--line);border-radius:14px;min-height:440px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:42px 24px;background:#f6f3fa}
.planned-symbol{font-family:"CellMotion Sans",sans-serif;font-size:39px;color:#9479c4;letter-spacing:6px;margin-bottom:25px}
.web-planned h2{font-size:28px;letter-spacing:-.03em;font-weight:450;margin:0 0 17px}
.web-planned>p:not(.eyebrow){font-size:13px;color:#88808f;line-height:1.9;margin:0}
.planned-details{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 24px;margin:24px 0 30px;font-size:11px;color:#756680}
.component-footer{border-top:1px solid var(--line);margin-top:64px;padding:28px 0;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#918980}
@media(min-width:1700px){.component-main .catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.component-layout{grid-template-columns:195px minmax(0,1fr);padding:0 28px;gap:26px}.components-page .header{width:calc(100% - 56px)}.component-main .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.component-sidebar{padding-right:16px}}
@media(max-width:760px){
 body:has(.hero-immersive)>.header{margin-bottom:-76px}
 body:has(.hero-centered)>.header{margin-bottom:-90px}
 .hero.hero-centered{margin-top:-90px;padding-top:102px}
 .hero.hero-immersive{height:100svh;margin-top:-76px;padding-top:76px;min-height:560px}
 .hero-full-film{inset:0 0 auto;height:70%}
 .hero-full-film video{object-fit:contain;object-position:center}
 .hero-immersive:after{background:linear-gradient(0deg,#faf9f7 0%,#faf9f7 27%,#faf9f700 58%)}
 .hero-safe-copy{bottom:74px}
 .hero-immersive h1{font-size:27px;margin-bottom:13px}
 .hero-immersive .hero-description{font-size:12px;line-height:1.9}
 .hero-immersive>.round-button{right:20px;bottom:21px;width:30px;height:30px}
 .hero-scroll{left:20px;bottom:28px;font-size:10px}
 .motion-showcase{margin-top:-24px;padding-top:8px}
 .library-intro{font-size:12px;margin:0 0 20px}
 .category-links{gap:7px;margin-bottom:24px}
 .category-links a{font-size:11px;padding:8px 11px}
 .library-destinations{grid-template-columns:1fr;gap:25px;margin-top:30px;padding-top:26px}
 .library-destinations>a+ a{border-top:1px solid var(--line);padding-top:26px}
 .library-destinations h3{font-size:21px}
 .library-destinations p{font-size:12px}
 .component-layout{display:block;padding:0 18px}
 .components-page .header{width:calc(100% - 36px)}
 .component-sidebar{position:static;height:auto;overflow:visible;padding:24px 0 0;border:0}
 .sidebar-home,.sidebar-note,.sidebar-label{display:none}
 .component-sidebar .filters{flex-direction:row;flex-wrap:nowrap;overflow-x:auto;margin-top:16px;padding:3px 0 10px;gap:6px}
 .component-sidebar .filter{width:auto;white-space:nowrap;gap:10px;font-size:12px;padding:9px 11px}
 .component-main{padding-top:32px}
 .component-heading .eyebrow{font-size:9px}
 .component-heading h1{font-size:29px}
 .component-heading>p:last-child{font-size:12px;line-height:1.8;margin-bottom:24px}
 .component-toolbar{align-items:flex-start;gap:12px;flex-direction:column}
 .usage-filters button{font-size:12px;padding:9px 13px}
 .usage-note{font-size:11px;margin:17px 0 23px}
 .component-main .catalog-grid{gap:25px 12px}
 .pending-cover{font-size:12px;letter-spacing:.08em}
 .card-capabilities{font-size:9px;gap:5px;flex-wrap:wrap}
 .card-capabilities span+span:before{margin-right:5px}
 .web-planned{padding:32px 18px;min-height:400px}
 .web-planned h2{font-size:23px}
 .web-planned>p:not(.eyebrow){font-size:12px}
 .web-planned br{display:none}
 .planned-details{gap:10px 15px}
 .component-footer{margin-top:42px;font-size:10px}
}
