:root { color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f8f7f4; color: var(--ink); font: 15px/1.55 var(--font-body); }
button, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid var(--fuchsia-text); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; top: -80px; left: 12px; z-index: 20; padding: 10px 16px; background: var(--yellow); color: var(--ink); }
.skip-link:focus { top: 12px; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 244px minmax(0, 1fr); }
.sidebar { background: #eee8f2; padding: 30px 22px 28px; display: flex; flex-direction: column; border-right: 1px solid #e2d9e8; }
.brand { display: flex; align-items: center; gap: 11px; min-height: 48px; }
.brand-mark { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--yellow); color: #533964; font: 700 31px/1 var(--font-display); transform: rotate(-7deg); }
.brand-name { color: #554562; font-size: 13px; line-height: 1.18; letter-spacing: .02em; }
.brand-name strong { font: 700 22px/1 var(--font-display); letter-spacing: .01em; }
.sidebar-divider { border-top: 1px solid #dcd0e4; margin: 35px 0 25px; }
.nav-caption, .section-kicker, .topbar-title, .detail-eyebrow, .later-heading, .eyebrow, .footer { font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.nav-caption { color: #8b7798; padding-left: 15px; margin-bottom: 12px; }
.side-nav { display: grid; gap: 6px; }
.nav-item { border: 0; background: transparent; color: #4f4459; padding: 11px 14px; border-radius: 10px; width: 100%; display: flex; gap: 13px; align-items: center; text-align: left; font-weight: 700; }
.nav-item:hover { background: #e7dfee; }
.nav-item.is-active { background: var(--white); color: #473252; box-shadow: 0 5px 16px #4939590d; }
.nav-icon { font-size: 19px; width: 23px; text-align: center; color: var(--fuchsia-text); }
.sidebar-bottom { margin-top: auto; padding: 18px 5px 0; }
.demo-stamp { color: #4e3d58; font-size: 11px; font-weight: 800; display: flex; align-items: center; gap: 7px; }
.stamp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fuchsia); }
.sidebar-bottom p { color: #74697b; font-size: 11px; margin: 8px 0 0; line-height: 1.5; }
.main { width: 100%; min-width: 0; max-width: 1480px; margin: 0 auto; padding: 0 clamp(24px, 4.4vw, 72px); }
.topbar { height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 14px; border-bottom: 1px solid #eae7e6; }
.topbar-title { color: #77667f; }
.topbar-title span { color: #493c51; }
.topbar-right { display: flex; align-items: center; gap: 17px; color: #75697b; font-size: 11px; font-weight: 700; }
.logout-button { border: 1px solid #d9cbdc; border-radius: 8px; background: #fff; color: #60446e; padding: 6px 10px; font-size: 11px; font-weight: 800; }
.logout-button:hover { background: var(--yellow); }
.avatar { background: var(--yellow); color: #4d385a; border-radius: 50%; width: 32px; height: 32px; display: grid; place-items: center; font: 700 20px var(--font-display); }
.hero { overflow: hidden; margin-top: 32px; min-height: 274px; border-radius: 19px; background: var(--purple); color: var(--white); display: grid; grid-template-columns: 1fr 42%; position: relative; }
.hero-content { position: relative; z-index: 1; padding: 32px clamp(25px, 4vw, 56px); }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #fff9e7; }
.eyebrow-line { width: 22px; height: 1px; background: var(--yellow); }
.hero h1 { margin: 17px 0 8px; font: 700 clamp(44px, 5vw, 72px)/.9 var(--font-display); letter-spacing: -.022em; }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero p { margin: 14px 0 18px; max-width: 460px; color: #faf7fb; font-size: 13px; }
.hero-note { display: inline-block; padding: 6px 11px; border: 1px solid #ffffff88; border-radius: 99px; color: #fff; font-size: 10px; font-weight: 700; }
.hero-art { position: relative; overflow: hidden; }
.art-ring { width: 298px; height: 298px; border: 29px solid #f3e7a3b8; border-radius: 50%; position: absolute; top: -68px; right: -14px; transform: rotate(-25deg); }
.art-disc { width: 185px; height: 185px; background: #c6b2d4; border-radius: 50%; position: absolute; right: 105px; bottom: -72px; }
.art-star { color: var(--yellow); font-size: 120px; line-height: 1; position: absolute; right: 105px; top: 50px; transform: rotate(18deg); }
.art-label { position: absolute; right: 29px; bottom: 19px; font: 700 11px var(--font-display); letter-spacing: .13em; }
.content-section { margin-top: 50px; scroll-margin-top: 20px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid #dedbd9; padding-bottom: 13px; }
.section-kicker { color: var(--fuchsia-text); }
.section-heading h2 { font: 700 clamp(31px, 3.3vw, 44px)/1 var(--font-display); margin: 8px 0 0; letter-spacing: -.015em; }
.section-number { font: 700 24px var(--font-display); color: #bbaac5; }
.notice-card { min-height: 116px; margin-top: 22px; padding: 22px 28px; display: flex; align-items: center; gap: 20px; background: var(--white); border: 1px solid #ece7ed; border-radius: 15px; box-shadow: 0 8px 25px #34244307; }
.notice-symbol { width: 57px; height: 57px; display: grid; place-items: center; border-radius: 16px; flex: none; background: #f4edf6; color: #876b99; font: 700 30px/1 var(--font-display); }
.notice-card h3 { margin: 0 0 4px; font: 700 22px var(--font-display); }
.notice-card p { margin: 0; color: #706a72; font-size: 13px; }
.purchase-list { display: grid; gap: 10px; margin-top: 22px; }
.purchase-item { display: flex; justify-content: space-between; gap: 15px; padding: 15px 19px; background: var(--white); border: 1px solid #ece7ed; border-radius: 12px; }
.purchase-item strong { display: block; }
.purchase-item span { color: #736875; font-size: 12px; }
.section-lead { color: #706a72; font-size: 13px; margin: 15px 0 21px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.product-card { min-height: 232px; padding: 23px 26px 21px; border-radius: 16px; border: 1px solid #e7e0e6; background: var(--white); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.product-card:nth-child(1) { background: #f0eaf4; }
.product-card:nth-child(2) { background: #f7f0d5; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; position: relative; z-index: 1; }
.card-label { color: #664f72; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.card-number { color: #9b88a1; font: 700 17px var(--font-display); }
.product-card h3 { margin: 25px 0 6px; font: 700 clamp(30px, 3vw, 42px)/.98 var(--font-display); position: relative; z-index: 1; }
.product-card p { margin: 0; color: #5e5863; font-size: 12px; max-width: 360px; position: relative; z-index: 1; }
.card-button { width: fit-content; margin-top: auto; padding: 12px 0 0; border: 0; border-bottom: 1px solid var(--fuchsia-text); background: transparent; color: var(--fuchsia-text); font-size: 12px; font-weight: 800; position: relative; z-index: 1; }
.card-button:hover { color: #8d0d4e; border-color: #8d0d4e; }
.card-squiggle { position: absolute; right: -16px; bottom: -22px; color: #dfcde6; font: 700 160px/1 var(--font-display); transform: rotate(-17deg); }
.product-card:nth-child(2) .card-squiggle { color: #efe3a8; }
.later-heading { margin: 32px 0 16px; display: flex; align-items: center; gap: 15px; color: #8c798d; }
.thin-rule { flex: 1; height: 1px; background: #e1dbdf; }
.later-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.later-card { background: #fff; border: 1px solid #e9e6e7; border-radius: 12px; padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.later-card h3 { margin: 0 0 3px; font: 700 22px/1.1 var(--font-display); }
.later-card p { color: #746b74; margin: 0; font-size: 11px; }
.later-card button { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid #d9cbdc; background: #f6f1f7; color: #62476e; font-size: 19px; }
.later-card button:hover { background: var(--yellow); }
.footer { margin: 56px 0 24px; padding-top: 18px; border-top: 1px solid #e6e1e4; color: #9b8d9c; display: flex; justify-content: space-between; }
.detail-view { padding-top: 27px; }
.back-button { border: 0; background: transparent; padding: 4px 0; color: #695375; font-size: 12px; font-weight: 800; }
.back-button span { padding-right: 8px; font-size: 18px; vertical-align: -1px; }
.back-button:hover { color: var(--fuchsia-text); }
.detail-hero { margin-top: 24px; background: #eee8f2; border-radius: 16px; min-height: 192px; padding: 31px 36px; display: flex; justify-content: space-between; overflow: hidden; }
.detail-eyebrow { color: var(--fuchsia-text); }
.detail-hero h1 { font: 700 clamp(44px, 5vw, 64px)/.95 var(--font-display); margin: 18px 0 10px; }
.detail-hero p { margin: 0; color: #615968; max-width: 580px; font-size: 13px; }
.detail-orbit { width: 150px; height: 150px; flex: none; border: 17px solid #d8c4e1; border-radius: 50%; display: grid; place-items: center; margin: -55px 0 0 25px; color: #d9c0e5; font-size: 90px; transform: rotate(-10deg); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: 23px; margin-top: 29px; }
.detail-main { min-width: 0; }
.tabs-wrap { overflow-x: auto; border-bottom: 1px solid #ddd7dd; }
.tablist { display: flex; min-width: max-content; gap: 21px; }
.tablist button { border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: transparent; color: #726978; padding: 0 0 13px; font-size: 12px; font-weight: 800; }
.tablist button[aria-selected="true"] { border-bottom-color: var(--fuchsia-text); color: #3f3246; }
.tablist button:hover { color: var(--fuchsia-text); }
.section-panel { min-height: 260px; padding: 30px; margin-top: 20px; background: #fff; border: 1px solid #e9e4e9; border-radius: 15px; }
.panel-kicker { color: var(--fuchsia-text); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.section-panel h2 { font: 700 31px/1 var(--font-display); margin: 12px 0; }
.section-panel p { color: #6b626c; font-size: 13px; max-width: 570px; }
.panel-symbol { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; color: #80678f; background: #f2edf5; font-size: 25px; margin: 20px 0; }
.panel-card { border: 1px solid #e8e0e8; padding: 13px 15px; border-radius: 10px; margin-top: 10px; }
.panel-card strong { display: block; }
.panel-card small { color: #6b626c; }
.retry-button { margin-top: 16px; background: var(--fuchsia-text); color: #fff; border: 0; border-radius: 8px; padding: 9px 16px; font-size: 12px; font-weight: 800; }
.aside-card, .scenario-card { border-radius: 13px; padding: 21px; }
.aside-card { background: var(--yellow); }
.aside-icon { color: #aa8193; font-size: 25px; display: block; line-height: 1; margin-bottom: 15px; }
.aside-card h2 { font: 700 26px/1 var(--font-display); margin: 8px 0 10px; }
.aside-card p, .scenario-card p { font-size: 11px; color: #685f66; margin: 0; }
.scenario-card { background: #f2edf4; margin-top: 13px; }
.scenario-card label { display: block; font-size: 12px; font-weight: 800; margin-bottom: 9px; }
.scenario-card select { width: 100%; border: 1px solid #d7cadb; background: white; color: #493d50; border-radius: 8px; padding: 8px; font-size: 12px; }
.scenario-card p { margin-top: 10px; }
.skeleton { height: 12px; background: #eee8ef; border-radius: 9px; margin: 12px 0; animation: pulse 1.2s ease-in-out infinite alternate; }
.skeleton.wide { width: 70%; height: 27px; }
.skeleton.short { width: 45%; }
@keyframes pulse { to { opacity: .35; } }
@media (max-width: 980px) { .app-shell { grid-template-columns: 190px minmax(0,1fr); } .sidebar { padding: 25px 14px; } .main { padding: 0 26px; } .hero { grid-template-columns: 1fr 30%; } .art-ring { right: -125px; } .art-star { right: 2px; } .detail-layout { grid-template-columns: 1fr; } .detail-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; } .scenario-card { margin-top: 0; } }
@media (max-width: 700px) { .app-shell { display: block; } .sidebar { position: relative; padding: 12px 18px; border-right: 0; border-bottom: 1px solid #e2d9e8; flex-direction: row; align-items: center; gap: 18px; } .brand-mark { width: 35px; height: 35px; font-size: 25px; border-radius: 10px; } .brand-name { font-size: 10px; } .brand-name strong { font-size: 17px; } .sidebar-divider, .nav-caption, .sidebar-bottom { display: none; } .side-nav { display: flex; margin-left: auto; gap: 3px; } .nav-item { width: auto; padding: 7px 9px; gap: 5px; font-size: 11px; } .nav-icon { font-size: 15px; width: auto; } .main { padding: 0 18px; } .topbar { height: 57px; } .topbar-right { gap: 8px; } .avatar { width: 27px; height: 27px; font-size: 17px; } .hero { margin-top: 18px; min-height: 238px; grid-template-columns: 1fr; } .hero-content { padding: 26px 24px; } .hero h1 { font-size: 55px; } .hero p { font-size: 12px; max-width: 275px; } .hero-art { position: absolute; inset: 0; opacity: .55; pointer-events: none; } .art-ring { width: 190px; height: 190px; top: -65px; right: -85px; border-width: 19px; } .art-disc { width: 110px; height: 110px; right: -25px; bottom: -45px; } .art-star { right: -10px; top: 76px; font-size: 72px; } .art-label { display: none; } .content-section { margin-top: 35px; } .product-grid, .later-grid { grid-template-columns: 1fr; gap: 12px; } .product-card { min-height: 210px; } .detail-hero { padding: 27px 24px; min-height: 160px; } .detail-orbit { width: 90px; height: 90px; margin-right: -50px; border-width: 12px; } .detail-layout { margin-top: 22px; } .section-panel { padding: 23px; } .detail-aside { grid-template-columns: 1fr; } }
@media (max-width: 410px) { .sidebar { padding: 10px 12px; gap: 8px; } .brand-name { display: none; } .nav-item { padding: 7px 8px; } .topbar-title { font-size: 9px; } .topbar-right { font-size: 10px; } .hero h1 { font-size: 48px; } .hero-note { font-size: 9px; } .notice-card { padding: 18px; gap: 14px; } .notice-symbol { width: 48px; height: 48px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .skeleton { animation: none; } }
/* The standalone login control remains explicitly unavailable until setup. */
.logout-button:disabled { opacity: .55; cursor: not-allowed; }
