@font-face {
  font-family: "Source Han Sans CN";
  src: url("/assets/commerce/fonts/SourceHanSansCN-VF.woff2") format("woff2");
  font-weight: 250 900;
  font-style: normal;
  font-display: swap;
}

body.home-skill-open {
  overflow: hidden;
}

.home-skill-dialog {
  width: min(1440px, calc(100vw - 48px));
  height: min(920px, calc(100vh - 48px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #cfddf0;
  border-radius: 20px;
  background: #f4f7ff;
  color: #0f1b3d;
  box-shadow: 0 30px 110px rgba(5, 25, 67, .32);
}

.home-skill-dialog::backdrop {
  background: rgba(8, 24, 58, .56);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.home-skill-window {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
}

.home-skill-head {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px 10px 22px;
  border-bottom: 1px solid #dce5f6;
  background: rgba(255, 255, 255, .96);
}

.home-skill-head strong {
  font-size: 16px;
}

.home-skill-close {
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 9px;
  background: #eef4ff;
  color: #174fc6;
  font-size: 13px;
  font-weight: 700;
}

.home-skill-close:hover,
.home-skill-close:focus-visible {
  background: #e1ebff;
}

.home-skill-frame-wrap {
  position: relative;
  min-height: 0;
  flex: 1;
}

.home-skill-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f4f7ff;
}

.home-skill-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #f4f7ff;
  color: #60779c;
  font-size: 14px;
}

.home-skill-loading[hidden] {
  display: none;
}

body.skill-embed-page {
  background: #f4f7ff;
}

body.skill-embed-page .sidebar,
body.skill-embed-page .topbar,
body.skill-embed-page .site-compliance {
  display: none !important;
}

body.skill-embed-page .app {
  display: block;
  min-height: 100vh;
}

body.skill-embed-page .main,
body.skill-embed-page .content {
  min-height: 100vh;
}

body.skill-embed-page .content {
  max-width: 1680px;
  margin: auto;
  padding: 28px 32px 40px;
  background: #f4f7ff;
}

@font-face {
  font-family: "Home Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0030-0039;
}

body.home-route-page {
  --brand:#013EDD;
  --brand-light:#00A4FF;
  --indigo:#4A4AE0;
  --navy:#04123A;
  --bg:#F4F7FF;
  --text:#0B1B3F;
  --text-2:#5B6785;
  --border:#E3E9F5;
  background:var(--bg);
  color:var(--text);
  font-family:"Home Inter","Source Han Sans CN","Noto Sans SC",sans-serif;
}
body.home-route-page :is(button,textarea) { font-family:inherit; }
body.home-route-page :focus-visible { outline:2px solid var(--brand-light); outline-offset:3px; }
body.home-route-page .app { display:grid; grid-template-columns:260px minmax(0,1fr); min-height:100dvh; }
body.home-route-page .main,body.home-route-page .content { width:100%; min-width:0; padding:0; max-width:none; background:var(--bg); }
body.home-route-page :is(.topbar,.nav-caption,.side-bottom,.company-logo) { display:none; }
.home-icon { display:block; flex:none; width:19px; height:19px; }
body.home-route-page .sidebar {
  position:sticky; top:0; display:flex; flex-direction:column; gap:0;
  width:260px; height:100dvh; min-height:0; padding:32px 20px 16px; overflow-y:auto;
  background:linear-gradient(180deg,#013EDD 0%,#0A2A9E 60%,#04123A 100%); color:white; border:0;
}
body.home-route-page .brand { display:flex; width:100%; height:60px; align-items:center; gap:10px; margin:0 0 16px; padding:0 10px; overflow:hidden; border:0; background:transparent; color:white; cursor:pointer; text-align:left; text-decoration:none; }
body.home-route-page .brand-mark { display:block; width:auto; height:24px; max-width:54px; flex:0 0 auto; object-fit:contain; filter:brightness(0) invert(1); }
body.home-route-page .brand-wordmark-lockup { display:flex; min-width:0; align-items:center; gap:4px; overflow:hidden; }
body.home-route-page .brand-wordmark { display:block; width:auto; height:20px; flex:0 0 auto; object-fit:contain; filter:brightness(0) invert(1); }
body.home-route-page .brand-ai { display:block; width:auto; height:20px; flex:0 0 auto; object-fit:contain; filter:brightness(0) invert(1); }
body.home-route-page .home-nav { display:flex; min-height:auto; flex:1 0 auto; flex-direction:column; gap:4px; overflow:visible; }
.home-nav button, .home-mobile-bar button { display:flex; align-items:center; gap:10px; background:transparent; color:inherit; border:0; font-size:14px; text-align:left; }
body.home-route-page button.home-new-task { display:flex; justify-content:center; min-height:44px; margin-bottom:24px; border-radius:999px; background:white; color:var(--brand); font-weight:600; }
.home-recent-label { margin:0 10px 7px; font-size:12px; color:rgba(255,255,255,.72); }
body.home-route-page button.home-recent-skill {
  display:grid; grid-template-columns:16px minmax(0,1fr); align-items:center; gap:4px 10px;
  height:58px; min-height:58px; padding:8px 10px; border-radius:11px; color:rgba(255,255,255,.82);
}
.home-recent-skill .home-icon { width:15px; height:15px; margin-top:2px; align-self:start; }
.home-recent-content { display:grid; min-width:0; gap:3px; }
.home-recent-title-row { display:flex; min-width:0; align-items:center; gap:6px; }
.home-recent-title-row strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:14px; font-weight:500; }
.home-recent-title-row time { flex:none; margin-left:auto; font-family:"Home Inter","Source Han Sans CN",sans-serif; font-size:12px; line-height:1; color:rgba(255,255,255,.55); }
.home-recent-state { flex:none; width:8px; height:8px; border-radius:50%; background:#FFB020; box-shadow:0 0 0 2px rgba(255,176,32,.14); }
.home-recent-preview { display:block; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; line-height:1.45; color:rgba(255,255,255,.7); }
.home-recent-empty {padding:8px 10px;font-size:13px;color:rgba(255,255,255,.7);}
.home-nav button:is(.home-recent-skill,.home-history-link,.home-bottom-link):hover { background:rgba(255,255,255,.10); }
.home-nav button[aria-current=true] { background:rgba(255,255,255,.16); }
.home-history-link,.home-bottom-link,.home-orders { min-height:40px; padding:10px; border-radius:10px; line-height:20px; }
.home-nav .home-history-link,.home-nav .home-bottom-link,.home-nav .home-orders { color:rgba(255,255,255,.82); }
.home-bottom-link .home-icon,.home-admin-menu summary .home-icon { width:18px; height:18px; }
.home-nav-bottom { margin-top:auto; padding-top:22px; display:grid; gap:7px; }
.home-admin-menu > summary { display:flex; min-height:40px; align-items:center; gap:10px; padding:10px; border-radius:10px; cursor:pointer; color:white; font-size:14px; line-height:20px; }
.home-admin-menu > summary::-webkit-details-marker { display:none; }
.home-admin-menu > summary::after { content:''; width:7px; height:7px; margin-left:auto; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg); }
.home-admin-menu[open] > summary::after { transform:rotate(225deg); }
.home-admin-menu > summary:hover { background:rgba(255,255,255,.14); }
.home-nav .home-admin-menu button { width:100%; padding-left:38px; }
.home-wallet { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:12px; padding:13px 12px; border:1px solid #ffffff32; border-radius:15px; background:#ffffff15; }
.home-wallet > button { margin:0; }
.home-nav .home-points-link { min-width:0; flex-direction:column; align-items:flex-start; justify-content:center; gap:1px; padding:0; font-size:12px; color:#dce8ff; }
.home-points-link strong {color:white;font-size:23px;line-height:1.3;font-weight:600;}
.home-nav .home-upgrade { display:grid; place-items:center; width:auto; min-width:88px; min-height:44px; padding:0 14px; border-radius:999px; background:linear-gradient(135deg,#00A4FF,#4A8DFF); color:white; font-size:13px; line-height:20px; text-align:center; white-space:nowrap; box-shadow:0 6px 16px rgba(0,164,255,.35); }
.home-account-row { display:grid;grid-template-columns:30px minmax(0,1fr) 32px;gap:8px;align-items:center;border-top:1px solid #ffffff26;padding:14px 3px 0;font-size:13px; }
.home-account-row>span:nth-child(2) {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.home-avatar {display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#ffffff20;}
.home-account-row button {padding:7px;border-radius:8px;}
.home-account-row button:hover {background:#ffffff20;}
.home-mobile-bar,body.home-route-page .home-nav .home-drawer-close {display:none;}
.home-view { position:relative;isolation:isolate;overflow:clip;min-height:100dvh;padding:0 clamp(24px,4vw,64px) 64px; }
.home-aurora,.home-waves {position:absolute;inset:0 0 auto;width:100%;height:480px;pointer-events:none;z-index:-1;}
.home-aurora {overflow:hidden;mask-image:linear-gradient(#000 65%,transparent);}
.home-aurora::before {content:"";position:absolute;inset:-30px -5% 12px;background:
 radial-gradient(ellipse 37% 48% at 27% 46%,rgba(0,164,255,.35),transparent 100%),
 radial-gradient(ellipse 42% 52% at 80% 43%,rgba(74,74,224,.25),transparent 100%),
 radial-gradient(ellipse 48% 35% at 52% 71%,rgba(1,62,221,.22),transparent 100%);
 filter:blur(60px);animation:home-aurora-drift 20s ease-in-out infinite alternate;}
@keyframes home-aurora-drift { to {transform:translate(3%,3%) scale(1.04);} }
.home-waves {color:#5280cf;opacity:.18;height:360px;}
.home-shell {max-width:1160px;margin:0 auto;}
.home-hero {text-align:center;padding:clamp(52px,7vh,88px) 0 27px;}
.home-hero h1 {margin:0;color:var(--text);font-size:44px;line-height:1.3;font-weight:500;letter-spacing:-.045em;}
.home-hero p {margin:12px 0 0;font-size:16px;color:var(--text-2);line-height:1.7;}
.home-search-wrap {position:relative;max-width:760px;margin:auto;}
.home-search {display:flex;flex-direction:column;gap:9px;min-height:132px;padding:18px 18px 13px 22px;
 border:1px solid white;border-radius:28px;background:rgba(255,255,255,.72);
 -webkit-backdrop-filter:blur(24px) saturate(140%);backdrop-filter:blur(24px) saturate(140%);
 box-shadow:0 0 0 1px rgba(1,62,221,.25),0 20px 60px rgba(1,62,221,.18);}
.home-search:focus-within {border-color:var(--brand);box-shadow:0 0 0 4px rgba(1,62,221,.12),0 20px 60px rgba(1,62,221,.18);}
.home-search textarea {display:block;flex:1;width:100%;min-height:50px;max-height:180px;resize:vertical;padding:0 4px;
 border:0;border-radius:0;background:none;box-shadow:none;color:var(--text);font:inherit;font-size:16px;line-height:1.55;}
body.home-route-page .home-search textarea:focus {outline:0;box-shadow:none;}
.home-search textarea::placeholder {color:#687995;}
.home-composer-tools,.home-scopes,.home-examples {display:flex;align-items:center;gap:8px;}
.home-composer-tools {justify-content:space-between;}
.home-scopes {flex-wrap:wrap;min-width:0;}
.home-scopes button,.home-example,#homeLinkChip {border:1px solid #d8e3f3;border-radius:999px;padding:4px 10px;background:#ffffff99;color:var(--text-2);font-size:12px;}
.home-scopes button[aria-pressed=true],#homeLinkChip {border-color:#adc4ff;background:#edf3ff;color:var(--brand);}
.home-start {display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:none;padding:10px 19px;border:0;border-radius:999px;background:linear-gradient(105deg,#013EDD,#0A5BFF);color:white;font-size:15px;font-weight:600;}
.home-start:disabled {opacity:.65;}
.home-start .home-icon {width:16px;height:16px;}
.home-examples {flex-wrap:wrap;justify-content:center;margin-top:18px;gap:7px;color:var(--text-2);font-size:12px;}
.home-example {padding:6px 11px;color:#344361;}
.home-example:hover,.home-scopes button:hover {border-color:var(--brand);}
.home-recognition {position:relative;z-index:1;margin:7px 0;padding:12px 16px;background:#fffffff5;border:1px solid var(--border);border-radius:17px;box-shadow:0 8px 24px #112c6c10;font-size:13px;color:var(--text-2);}
.home-recognition button {display:flex;align-items:center;gap:10px;width:100%;padding:9px 4px 2px;border:0;background:none;color:var(--brand);text-align:left;}
.home-recognition small {margin-left:auto;color:var(--text-2);}
.home-cards-wrap {margin:54px auto 0;}
.home-cards-title {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px;}
.home-cards-title>span {font-size:19px;color:var(--text);font-weight:600;}
.home-filters {display:flex;align-items:center;gap:2px;flex-wrap:wrap;padding:3px;border:1px solid var(--border);border-radius:20px;background:#ffffffb8;}
.home-filters button {border:0;padding:6px 10px;border-radius:999px;background:none;color:var(--text-2);font-size:12px;}
.home-filters button[aria-pressed=true] {background:var(--brand);color:white;}
.home-cards {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.home-card {position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;min-height:140px;padding:15px;border:1px solid var(--border);border-radius:20px;background:white;text-align:left;color:var(--text);box-shadow:0 1px 2px rgba(11,27,63,.04);transition:transform 200ms ease-out,border-color 200ms,box-shadow 200ms;}
.home-card-icon {display:grid;place-items:center;width:40px;height:40px;margin-bottom:4px;border-radius:12px;background:linear-gradient(135deg,#E8F0FF,#D6E6FF);color:var(--brand);}
.home-card-icon svg {width:22px;height:22px;}
.home-card strong {font-size:16px;font-weight:600;line-height:1.5;}
.home-card p {margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--text-2);font-size:14px;font-weight:400;line-height:22px;}
.home-card-arrow {position:absolute;top:18px;right:16px;opacity:0;color:var(--brand);transition:opacity 200ms ease;}
.home-card:focus-visible .home-card-arrow {opacity:1;}
@media (hover:hover) {
  .home-card:hover {transform:translateY(-4px);border-color:rgba(1,62,221,.35);box-shadow:0 16px 40px rgba(1,62,221,.12);}
  .home-card:hover .home-card-arrow {opacity:1;}
}
.home-card-future,.home-loading {display:grid;place-items:center;padding:20px;border:1px dashed #c8d5ee;border-radius:20px;color:var(--text-2);font-size:14px;}
.home-card-future:nth-child(3n+1) {display:none;}
.home-card-future:nth-child(3n+2) {grid-column:span 2;}
.home-loading {grid-column:1/-1;}
@media (min-width:768px) and (max-width:1099.98px) {
  .home-cards {grid-template-columns:repeat(2,minmax(0,1fr));}
  .home-card-future:nth-child(n) {grid-column:auto;display:grid;}
  .home-card-future:nth-child(odd) {display:none;}
}
@media (max-width:767.98px) {
  body.home-route-page .app {display:block;}
  body.home-route-page .app > .sidebar {display:none;}
  .home-mobile-bar {display:flex;align-items:center;gap:10px;height:52px;color:var(--navy);}
  .home-mobile-bar button {min-height:40px;padding:8px;}
  .home-mobile-bar strong {font-size:17px;}
  #homeDrawer {margin:0;padding:0;border:0;width:min(286px,87vw);max-width:none;height:100dvh;max-height:none;background:none;}
  #homeDrawer::backdrop {background:#04123a66;}
  #homeDrawer .sidebar {width:100%;position:relative;}
  body.home-route-page .home-nav .home-drawer-close {display:grid;place-items:center;position:absolute;top:25px;right:16px;padding:8px;color:white;}
  .home-view {padding:0 16px 36px;}
  .home-hero {padding:32px 0 24px;}
  .home-hero h1 {font-size:34px;}
  .home-hero p {font-size:14px;}
  .home-search {padding:14px;min-height:134px;border-radius:22px;}
  .home-scopes {gap:4px;}
  .home-examples {justify-content:flex-start;}
  .home-cards-wrap {margin-top:36px;}
  .home-cards {grid-template-columns:minmax(0,1fr);}
  .home-card {min-height:120px;display:grid;grid-template-columns:40px minmax(0,1fr);align-content:start;align-items:start;padding-block:24px;gap:4px 14px;}
  .home-card-icon {grid-row:span 2;margin:2px 0 0;}
  .home-card p {grid-column:2;}
  .home-card-future:nth-child(n) {display:none;}
}
@media (prefers-reduced-motion:reduce) {
  .home-aurora::before {animation:none;}
  .home-card {transition:none;}
  .home-card:hover {transform:none;}
}
@media(max-width:720px) {
  .home-skill-dialog {width:100vw;height:100dvh;border:0;border-radius:0;}
  .home-skill-head {min-height:54px;padding:9px 12px 9px 16px;}
  body.skill-embed-page .content {padding:18px 12px 28px;}
}
body.home-route-page .home-search textarea{resize:none;}
.home-search-form .home-scopes button,.home-search .home-scopes button{min-height:30px;padding:5px 12px;border:1px solid transparent;border-radius:999px;background:rgba(255,255,255,.6);color:#3D4A6B;font-size:12px;line-height:18px;transition:background-color 160ms ease,border-color 160ms ease,color 160ms ease;}
.home-search-form .home-scopes button:hover,.home-search .home-scopes button:hover{border-color:rgba(1,62,221,.25);background:rgba(255,255,255,.85);color:#013EDD;}
.home-search-form .home-scopes button[aria-pressed="true"],.home-search .home-scopes button[aria-pressed="true"]{border-color:rgba(1,62,221,.4);background:#E8F0FF;color:#013EDD;}
.home-filters button{color:#3D4A6B;font-size:14px;}
.home-filters button[aria-pressed="true"]{background:#013EDD;color:white;}
html{scrollbar-width:thin;scrollbar-color:rgba(1,62,221,.25) transparent;}
body.home-route-page,body.home-route-page *{scrollbar-width:thin;scrollbar-color:rgba(1,62,221,.25) transparent;}
body.home-route-page::-webkit-scrollbar,body.home-route-page *::-webkit-scrollbar{width:6px;height:6px;}
body.home-route-page::-webkit-scrollbar-track,body.home-route-page *::-webkit-scrollbar-track{background:transparent;}
body.home-route-page::-webkit-scrollbar-thumb,body.home-route-page *::-webkit-scrollbar-thumb{border-radius:999px;background:rgba(1,62,221,.25);}
@media (min-width:768px){.home-hero h1{color:#0B1B3F;font-size:44px;font-weight:500;}}
body.home-route-page :is(.home-history-link,.home-bottom-link,.home-orders,.home-admin-menu>summary,.home-admin-menu button){height:40px;min-height:40px;line-height:20px;}
.sidebar .brand{display:flex;width:100%;height:60px;align-items:center;gap:10px;margin:0 0 16px;padding:0 10px;overflow:hidden;border:0;background:transparent;color:white;cursor:pointer;text-align:left;text-decoration:none}
.sidebar .brand-mark{display:block;width:auto;height:24px;max-width:54px;flex:0 0 auto;object-fit:contain;filter:brightness(0) invert(1)}
.sidebar .brand-wordmark-lockup{display:flex;min-width:0;align-items:center;gap:4px;overflow:hidden}
.sidebar .brand-wordmark,.sidebar .brand-ai{display:block;width:auto;height:20px;flex:0 0 auto;object-fit:contain;filter:brightness(0) invert(1)}
