/* CraftyWand shared workspace and card system */
.global-header .global-header__actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.global-header .global-header__account.pac-button{height:40px;min-height:40px;padding:0 18px;background:#1a1b20;color:#fff;border:1px solid #1a1b20;border-radius:9px;gap:8px;white-space:nowrap}.global-header .global-header__account.pac-button:hover{background:#33343c;color:#fff}.global-header .global-header__workspace-label{display:inline;font-weight:650;font-size:14px;line-height:20px}.global-header .global-header__history.pac-button{width:40px;min-width:40px;height:40px;padding:0;background:#fff;color:#222430;border:1px solid #e1e2ea;border-radius:9px}.global-header .global-header__history.pac-button:hover{background:#f4f2ff;border-color:#b6aff7}.global-header__history svg{display:block}.global-header__history .pac-button__visual:empty{display:none}.global-account-menu__identity{padding-bottom:14px;margin-bottom:8px;border-bottom:1px solid #e9e9ef}.global-account-menu__link.pac-button{justify-content:flex-start;width:100%;min-height:40px}.global-header button:focus-visible{outline:2px solid #5b4ff2;outline-offset:3px}
.user .cw-account{max-width:1512px;padding:38px 40px 72px;gap:40px}.cw-account .cw-account__nav{flex:0 0 236px;top:104px;background:#fafafd;border:1px solid #e9e9f1;border-radius:18px;padding:18px 12px;box-shadow:0 4px 18px #1b193304}.cw-account .cw-account__identity{padding:0 6px 20px;margin:0 4px 16px;gap:10px}.cw-account .cw-account__avatar{width:38px;height:38px;line-height:38px;font-size:16px;background:#edeaff;color:#5145d9;flex-shrink:0}.cw-account .cw-account__nav-item{padding:12px 10px;gap:12px;min-height:62px;border-radius:10px;margin:3px 0;color:#454754}.cw-account .cw-account__nav-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.cw-account__nav-copy strong{font-size:14px;font-weight:600;line-height:18px}.cw-account__nav-copy small{font-size:11px;font-weight:400;line-height:15px;color:#797b88}.cw-account .cw-account__nav-icon{width:18px;height:18px;flex-shrink:0}.cw-account .cw-account__nav-list>li:nth-child(4){margin-top:18px;padding-top:16px;border-top:1px solid #e4e4ee}.cw-account .cw-account__nav-item.is-active{background:#eeeaff;color:#5145db;border-color:#d9d2ff;box-shadow:inset 3px 0 #6455ef}.cw-account .cw-account__nav-item.is-active small{color:#7366bc}.user .cw-account__panel{padding:0;min-width:0}.cw-workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:2px 0 26px}.cw-workspace-eyebrow{font-size:10px;line-height:16px;font-weight:700;letter-spacing:.13em;color:#78758e;margin:0 0 6px}.cw-workspace-heading h1,.cw-profile .cw-profile__title,.setting__header .setting__page-title{font-size:30px;font-weight:650;line-height:1.25;letter-spacing:-.7px;color:#191923;margin:0 0 8px}.cw-workspace-description{margin:0;color:#737380;font-size:14px;line-height:22px}.cw-workspace-create{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:42px;padding:0 18px;border-radius:9px;background:#5b4ff2;color:#fff;font-size:14px;font-weight:600;text-decoration:none;box-shadow:0 4px 9px #5b4ff21c}.cw-workspace-create:hover{background:#4d41df;color:#fff}.cw-workspace-create:focus-visible{outline:2px solid #5b4ff2;outline-offset:3px}.cw-account .mydesign__tabs{gap:24px;border-bottom:1px solid #e7e7ef;margin-bottom:22px}.cw-account .mydesign__tab{border:0;border-bottom:2px solid transparent;background:none;padding:0 2px 13px;font-size:14px;font-weight:600;color:#737380;line-height:22px}.cw-account .mydesign__tab.active{color:#3e344e;border-color:#5b4ff2}.cw-account .mydesign__filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;padding:16px;background:#f8f8fc;border:1px solid #ebebf3;border-radius:12px;margin:0 0 24px}.cw-account .mydesign__filters label{font-size:11px;font-weight:600;color:#777785;display:flex;flex-direction:column;gap:7px;margin:0}.cw-account .mydesign__filters label:first-child{flex:1;min-width:170px}.cw-account .mydesign__filters select{height:38px;min-width:108px;border:1px solid #dddde9;background:#fff;border-radius:8px;padding:0 10px;font-size:13px;color:#383844}.cw-account .mydesign__filters input{font-size:13px}.cw-account .mydesign__filters [role=status]{font-size:12px;color:#787888;margin:0 0 10px auto;white-space:nowrap}.cw-account .mydesign__list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 20px}.cw-account .mydesign__list>div{margin:0!important;min-width:0;width:auto!important}.cw-account .mydesign__list__chunkv2{border:1px solid #e5e5ed;border-radius:14px;background:#fff;overflow:hidden;cursor:pointer;box-shadow:0 2px 6px #1a163008}.cw-account .mydesign__list__imgv2{border-radius:0;background:#f5f5f8;overflow:hidden}.cw-account .mydesign-imgv2,.cw-account .maskv2{aspect-ratio:1/1;height:auto!important;min-height:0!important}.cw-account .mydesign-imgv2{display:flex;align-items:center;justify-content:center}.cw-account .mydesign-imgv2>img{width:100%;height:100%;object-fit:contain}.cw-account .mydesign__list__explainv2{padding:12px 14px 14px}.cw-account .mydesign__list__title1v2{margin:0;font-size:13px;line-height:20px;font-weight:600;color:#242330;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cw-account .mydesign__list__title2v2{font-size:11px;line-height:18px;color:#898794}.cw-account .mydesign__list__chunkv2:focus-visible{outline:2px solid #5b4ff2;outline-offset:3px}.cw-account .mydesign__list__chunkv2:focus-within .design-maskv2{opacity:1!important}.cw-account .tk-top .tk-btn{width:32px;height:32px;padding:6px;border-radius:8px}.cw-account .prev-button{border-radius:8px;box-shadow:0 3px 12px #1a162033}.cw-account .mydesign__empty{padding:64px 24px;text-align:center;border:1px dashed #dedbe9;border-radius:16px;background:#faf9fe}.cw-account .mydesign__empty h2{font-size:22px;font-weight:600}.cw-account .pagenate{float:none;display:flex;justify-content:center;margin:34px 0 0}.cw-profile .cw-profile__header,.setting__header{margin-bottom:26px}.cw-profile .cw-profile__subtitle,.setting__page-subtitle{font-size:14px;line-height:23px;color:#777482;max-width:650px}.cw-profile .cw-profile__card{border:1px solid #e6e4ef;border-radius:16px;padding:28px;box-shadow:0 5px 22px #271b4505;max-width:820px}.cw-profile .cw-profile__identity{padding-bottom:22px;margin-bottom:24px;border-bottom:1px solid #eeeaf5}.cw-profile .cw-profile__avatar{background:#efebff;color:#5b4ff2}.cw-profile .cw-profile__field{margin-bottom:22px}.cw-profile .cw-profile__hint{font-size:12px;line-height:19px;color:#888394}.cw-profile .cw-profile__readonly{background:#f7f7fb;border-radius:8px;border:1px solid #e9e8f0;padding:11px 14px}.cw-profile .cw-profile__label{font-size:12px;font-weight:650;color:#514d60}.setting__section{max-width:850px}.setting__section .account-container{border-radius:14px}.cw-account .mycollect__title{font-size:26px}
.cw-history-open{overflow:hidden}.cw-history-backdrop{position:fixed;inset:0;z-index:20000;background:#19162535;display:flex;align-items:flex-start;justify-content:flex-end;padding:88px 24px 24px;backdrop-filter:blur(3px)}.cw-history{background:#fff;color:#252330;width:min(490px,100%);max-height:calc(100dvh - 112px);overflow:auto;border:1px solid #e4e1ee;border-radius:18px;padding:24px;box-shadow:0 18px 70px #1b133b33;font-family:inherit}.cw-history__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.cw-history h2{font-size:24px;line-height:30px;font-weight:650;margin:0}.cw-history__intro{font-size:12px;line-height:20px;color:#86808f;margin:16px 0 20px}.cw-history__list{list-style:none;padding:0;margin:0}.cw-history__list li{display:flex;align-items:center;gap:12px;padding:18px 0;border-top:1px solid #eeeaf3}.cw-history__format{width:42px;height:42px;background:#f0ecff;color:#5b4ff2;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;flex-shrink:0}.cw-history__details{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.cw-history__details strong{font-size:12px;font-weight:600;overflow-wrap:anywhere}.cw-history__details time,.cw-history__details>span{font-size:10px;line-height:16px;color:#8d8798}.cw-history__empty{padding:36px 18px 32px;text-align:center;background:#faf9fe;border-radius:12px}.cw-history__empty>span{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;background:#eeeaff;border-radius:14px;color:#5b4ff2;font-size:26px;margin-bottom:16px}.cw-history__empty h3{font-size:17px;font-weight:600;margin:0 0 10px}.cw-history__empty p{font-size:13px;color:#86808f;line-height:21px;margin:0 0 20px}
@media(hover:hover) and (pointer:fine){:is(.landing-category-card,.landing-model-card,.bl-model-card,.dl-model-card,.cw-ai-card,.ai-template-card,.designer-card,.portfolio-card,.feature-card,.cw-public-card,.cw-home-tool-card,.cw-hero-tool-card,.mydesign__list__chunkv2,.dlmenu-card,.cw-library-card,.model-library-card,.dieline-card,.cw-home-hero__tool,.landing-ai-strip__item,article[class*="card"],a[class$="-card"],a.card){transition:translate 180ms ease,box-shadow 180ms ease,border-color 180ms ease}:is(.landing-category-card,.landing-model-card,.bl-model-card,.dl-model-card,.cw-ai-card,.ai-template-card,.designer-card,.portfolio-card,.feature-card,.cw-public-card,.cw-home-tool-card,.cw-hero-tool-card,.mydesign__list__chunkv2,.dlmenu-card,.cw-library-card,.model-library-card,.dieline-card,.cw-home-hero__tool,.landing-ai-strip__item,article[class*="card"],a[class$="-card"],a.card):hover{translate:0 -4px;box-shadow:0 12px 28px #3024471c;border-color:#c4bcec}}
:is(.landing-category-card,.landing-model-card,.bl-model-card,.dl-model-card,.designer-card,.portfolio-card,.mydesign__list__chunkv2,a[class$="-card"],a.card):focus-visible{outline:2px solid #5b4ff2;outline-offset:3px;box-shadow:0 10px 22px #30244715}
@media(max-width:1200px){.cw-account .mydesign__list{grid-template-columns:repeat(3,minmax(0,1fr))}.user .cw-account{padding:30px 24px;gap:24px}.cw-account .cw-account__nav{flex-basis:210px}}
@media(max-width:900px){.user .cw-account{display:block;padding:24px 20px}.cw-account .cw-account__nav{position:static;padding:12px;border-radius:14px;margin-bottom:28px}.cw-account .cw-account__identity{padding:0 4px 12px;margin-bottom:10px}.cw-account .cw-account__nav-list{display:flex;gap:6px;overflow-x:auto}.cw-account .cw-account__nav-list>li{flex-shrink:0;margin:0!important;padding:0!important;border:0!important}.cw-account .cw-account__nav-item{min-height:42px;padding:8px 12px;margin:0}.cw-account__nav-copy small{display:none}.cw-account .cw-account__nav-icon{width:16px;height:16px}.cw-account .cw-account__nav-copy strong{font-size:12px}.cw-account .mydesign__list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.global-header{gap:10px}.global-header .global-header__brand{flex-shrink:1;min-width:0}.global-header .global-header__actions{gap:6px}.global-header .global-header__account.pac-button{height:36px;min-height:36px;padding:0 11px;gap:4px}.global-header .global-header__workspace-label{display:inline!important;font-size:12px}.global-header .global-header__history.pac-button{width:34px;min-width:34px;height:36px}.global-header .global-header__menu-toggle{margin:0}.global-header .global-header__logo{max-width:145px}.cw-workspace-heading{align-items:flex-start;gap:12px}.cw-workspace-heading h1{font-size:26px}.cw-workspace-description{font-size:12px;line-height:20px}.cw-workspace-create{min-height:38px;padding:0 12px;font-size:12px}.cw-account .mydesign__list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.cw-account .mydesign__filters{padding:12px;gap:12px}.cw-account .mydesign__filters label:first-child{flex-basis:100%}.cw-account .mydesign__filters label{flex:1;min-width:90px}.cw-account .mydesign__filters select{min-width:0;width:100%}.cw-account .mydesign__filters [role=status]{margin:0}.cw-account .mydesign__list__explainv2{padding:10px}.cw-profile .cw-profile__card{padding:20px}.cw-history-backdrop{padding:74px 12px 12px}.cw-history{padding:20px;max-height:calc(100dvh - 88px)}.cw-history__list li{gap:8px}.cw-history__format{width:34px;height:36px}.cw-history__list .pac-button{padding:0 9px;font-size:11px}}
@media(max-width:375px){.global-header .global-header__logo{max-width:120px}.global-header .global-header__actions{gap:4px}.cw-workspace-heading{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){:is(.landing-category-card,.landing-model-card,.bl-model-card,.dl-model-card,.mydesign__list__chunkv2,article[class*="card"],a[class$="-card"],a.card){transition:none!important;translate:none!important}}

.cw-account .mydesign__filters .pac-input__inner{border:0;background:transparent;padding:0;box-shadow:none;min-height:0;line-height:20px;width:100%}
@media(prefers-reduced-motion:reduce){:is(.landing-category-card,.landing-model-card,.bl-model-card,.dl-model-card,.cw-ai-card,.ai-template-card,.designer-card,.portfolio-card,.feature-card,.cw-public-card,.cw-home-tool-card,.cw-hero-tool-card,.mydesign__list__chunkv2,.dlmenu-card,.cw-library-card,.model-library-card,.dieline-card,.cw-home-hero__tool,.landing-ai-strip__item,article[class*="card"],a[class$="-card"],a.card){transition:none!important;translate:none!important}}

@media(max-width:760px){.global-header .global-header__brand>img.global-header__logo.global-header__logo--landing{max-width:100%!important;width:145px!important;object-fit:contain}}@media(max-width:375px){.global-header .global-header__brand>img.global-header__logo.global-header__logo--landing{width:120px!important}}

/* Account boot is pending until the existing profile request commits its result. */
.global-header__session-pending{display:inline-flex;align-items:center;justify-content:flex-end;width:145px;height:40px;flex-shrink:0}.global-header__session-placeholder{display:block;width:100%;height:40px;border-radius:9px;background:#f0f0f5}
.global-account-menu__signout.pac-button{justify-content:flex-start;text-align:left}.global-account-menu__signout-content{display:inline-flex;align-items:center;justify-content:flex-start;gap:9px;line-height:20px}.global-account-menu__signout-content>img{display:block;flex:0 0 18px;width:18px;height:18px;object-fit:contain}.global-account-menu__signout-content>span{display:block}
@media(max-width:760px){.global-header__session-pending{width:106px;height:36px}.global-header__session-placeholder{height:36px}}
