:root { color-scheme: light; }
.demo-page { margin: 0; min-height: 100vh; background: #edf3f7; color: #1b3048; font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif; }
.demo-page * { box-sizing: border-box; }
.demo-page button, .demo-page input, .demo-page select { font: inherit; }
.demo-page button { cursor: pointer; }
.demo-page :focus-visible { outline: 2px solid #2e83bc; outline-offset: 2px; }
.demo-page [hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.demo-sitebar { height: 66px; padding: 0 clamp(16px, 3vw, 48px); display: flex; align-items: center; gap: 28px; background: #101e32; color: #d4e7f5; }
.demo-sitebar a { color: inherit; text-decoration: none; }
.demo-brand { display: flex; align-items: center; gap: 10px; color: white !important; letter-spacing: .12em; font-size: 12px; font-weight: 800; white-space: nowrap; }
.demo-brand img { object-fit: contain; }
.demo-sitebar-label { border-left: 1px solid #50627a; padding-left: 26px; font-size: 10px; font-weight: 800; letter-spacing: .17em; color: #a8c8dc; }
.demo-sitebar-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.demo-sitebar-actions > a { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 650; }
.demo-sitebar .lang-switch { margin: 0; border-color: #55708a; }
.demo-sitebar .lang-switch button { color: #cde4f3; }
.demo-sitebar .lang-switch button[aria-pressed="true"] { color: #101e32; background: #cde4f3; }
.demo-note { min-height: 40px; padding: 10px 20px; display: flex; justify-content: center; align-items: center; gap: 10px; background: #dceaf3; color: #36566d; font-size: 12px; text-align: center; }
.demo-note-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #57a895; box-shadow: 0 0 0 4px #b8ded6; }
.demo-app { width: min(100% - 72px, 1500px); height: min(790px, calc(100vh - 175px)); min-height: 580px; margin: 26px auto 18px; display: flex; overflow: hidden; border: 1px solid #cbdce8; border-radius: 16px; background: white; box-shadow: 0 26px 80px #19314b20, 0 4px 16px #19314b0b; }
.demo-sidebar { width: 220px; flex: none; display: flex; flex-direction: column; padding: 18px 11px 14px; background: #f1f6fa; border-right: 1px solid #dce7ef; }
.sidebar-heading { display: flex; align-items: center; gap: 10px; padding: 6px 11px 30px; }
.sidebar-heading img { width: 32px; height: 32px; object-fit: contain; }
.sidebar-heading strong { display: block; font-size: 13px; }
.sidebar-heading small { display: block; margin-top: 3px; color: #8399ab; font-size: 10px; }
.sidebar-group-label { margin: 0 15px 9px; color: #92a6b7; font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.sidebar-nav { display: grid; gap: 3px; margin-bottom: 24px; }
.sidebar-nav button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 0; border-radius: 7px; background: transparent; color: #476078; text-align: left; font-size: 12px; font-weight: 600; }
.sidebar-nav button:hover, .sidebar-nav button.is-active { background: #dcebf5; color: #173753; }
.sidebar-nav button.is-active { box-shadow: inset 3px 0 #5ba7d4; }
.nav-symbol { width: 17px; color: #678ca7; text-align: center; font-size: 17px; line-height: 1; }
.sidebar-bottom { margin-top: auto; padding: 16px 12px 4px; border-top: 1px solid #dce7ef; }
.storage-label { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; color: #536f87; }
.storage-label b { color: #2b5778; }
.storage-track { height: 5px; margin: 12px 0 9px; border-radius: 10px; background: #dae6ee; }
.storage-track i { display: block; width: 28%; height: 100%; border-radius: inherit; background: #78b6d8; }
.sidebar-bottom small { color: #8da2b2; font-size: 9px; }
.sidebar-scrim { display: none; }
.demo-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.demo-tabs { height: 44px; flex: none; display: flex; align-items: stretch; background: #eaf1f6; border-bottom: 1px solid #dce7ef; }
.active-tab { min-width: 170px; max-width: 210px; display: flex; align-items: center; gap: 9px; padding: 0 15px; border-right: 1px solid #dce7ef; background: white; color: #34526b; font-size: 11px; font-weight: 700; }
.active-tab #active-tab-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tab-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #69bda9; }
.tab-close { margin-left: auto; color: #a8b8c5; font-size: 16px; }
.new-tab, .mobile-menu { width: 43px; flex: none; border: 0; background: transparent; color: #7792a7; }
.new-tab:hover, .mobile-menu:hover { background: #dce9f2; }
.mobile-menu { display: none; }
.window-controls { margin-left: auto; display: flex; color: #8da3b5; }
.window-controls span { width: 43px; display: grid; place-items: center; font-size: 15px; }
.demo-toolbar { min-height: 60px; flex: none; display: flex; align-items: center; gap: 16px; padding: 9px 18px; border-bottom: 1px solid #e6edf2; }
.toolbar-navigation, .toolbar-actions { display: flex; align-items: center; gap: 10px; min-width: 0; }
.toolbar-navigation { flex: 1; }
.toolbar-actions { margin-left: auto; }
.toolbar-navigation > button, .toolbar-actions > button { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: #65849b; font-size: 18px; }
.toolbar-navigation > button:hover, .toolbar-actions > button:hover, .toolbar-actions > button.is-active { background: #e8f2f8; color: #1e5d86; }
.breadcrumb { display: flex; align-items: center; gap: 7px; min-width: 0; color: #9db0bf; font-size: 11px; }
.breadcrumb button { border: 0; background: transparent; color: #456781; font-size: 11px; font-weight: 650; white-space: nowrap; }
.breadcrumb > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-search { width: clamp(150px, 21vw, 290px); height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid #dbe7ee; border-radius: 7px; background: #f5f8fa; color: #7c9cb0; }
.demo-search:focus-within { border-color: #8ebdda; background: #fff; }
.demo-search input { width: 100%; min-width: 0; border: 0; outline: none; background: transparent; color: #1b3048; font-size: 11px; }
.demo-search input::placeholder { color: #9aafbd; }
.demo-search kbd { flex: none; color: #a8bac6; font-size: 9px; white-space: nowrap; }
.demo-workspace { min-height: 0; flex: 1; display: flex; }
.demo-page .demo-browser { min-width: 0; max-width: none; flex: 1; overflow: auto; margin: 0; padding: clamp(20px, 3vw, 42px); }
.browser-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.browser-eyebrow { color: #7cacc9; font-size: 9px; font-weight: 850; letter-spacing: .2em; }
.browser-head h1 { margin: 7px 0 6px; color: #1b3048; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; letter-spacing: -.04em; }
.browser-head p { margin: 0; color: #8ba0ae; font-size: 12px; }
.sort-label { display: flex; align-items: center; gap: 8px; color: #8da1af; font-size: 10px; }
.sort-label select { max-width: 100px; padding: 7px 8px; border: 1px solid #dfe8ee; border-radius: 6px; background: white; color: #526f84; font-size: 10px; }
.content-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 35px 0 14px; padding-bottom: 12px; border-bottom: 1px solid #e7eef3; font-size: 11px; }
.content-heading strong { color: #456781; }
.content-heading span { color: #a1b2bf; }
.tag-filters { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 20px; }
.tag-filters button { padding: 7px 11px; border: 1px solid #d7e5ee; border-radius: 999px; background: white; color: #617f94; font-size: 10px; }
.tag-filters button.is-active { background: #dceef7; border-color: #a4cde4; color: #275d80; }
.file-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 13px; }
.file-item { min-width: 0; padding: 12px; border: 1px solid #e4edf2; border-radius: 10px; background: white; text-align: left; color: #29435b; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.file-item:hover { transform: translateY(-2px); border-color: #b5d4e7; box-shadow: 0 10px 22px #21445c12; }
.file-item.is-selected { border-color: #5ba4d1; background: #f1f9fd; box-shadow: 0 0 0 2px #cce9f8; }
.file-visual { height: 91px; display: grid; place-items: center; overflow: hidden; border-radius: 6px; background: #edf5f9; color: #6192b2; }
.file-visual > span { font-size: 38px; line-height: 1; transform: rotate(-6deg); }
.visual-mint { background: linear-gradient(140deg, #d6f1ec, #b8dfd6); color: #5ca690; }
.visual-blue { background: linear-gradient(140deg, #d4e8f9, #b6d7ef); color: #659ac3; }
.visual-sand { background: linear-gradient(140deg, #f4ebdb, #e7d6b8); color: #b99a67; }
.visual-violet { background: linear-gradient(140deg, #ebe4f7, #d3c5e9); color: #a28bc8; }
.visual-ocean { background: linear-gradient(155deg, #94c9d9 0%, #478eaf 55%, #1c577f 56%, #417e97); color: #d6f6ff; }
.visual-forest { background: linear-gradient(145deg, #b7d3b8, #5b9d85 55%, #275e57 56%, #5b8c66); color: #e8fff0; }
.visual-city { background: linear-gradient(155deg, #183e66, #5279aa 52%, #ddabb6 53%, #76597b); color: #f5ebeb; }
.visual-sunrise { background: linear-gradient(160deg, #fac7aa, #f9ddba 52%, #7bbcc4 53%, #3e879a); color: #fff6e8; }
.visual-video { background: linear-gradient(145deg, #bed9ed, #6f9abc); color: #fff; }
.visual-sunset { background: linear-gradient(145deg, #f1c3ae, #9f8caf 60%, #506986); color: white; }
.visual-document { background: #edf1f5; color: #8ba7bd; }
.visual-audio { background: #e9e3f5; color: #9e86c4; }
.visual-archive { background: #e2ebed; color: #7699a2; }
.file-info { display: block; min-width: 0; margin-top: 12px; }
.file-info strong, .file-info small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-info strong { font-size: 11px; font-weight: 700; }
.file-info small { margin-top: 4px; color: #9aabb8; font-size: 10px; }
.file-favorite { display: block; height: 12px; margin-top: 6px; color: #e7ad56; font-size: 11px; }
.file-grid.is-list { display: flex; flex-direction: column; gap: 3px; }
.is-list .file-item { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-color: transparent; border-bottom-color: #edf2f5; border-radius: 4px; }
.is-list .file-item:hover { transform: none; box-shadow: none; background: #f5f9fb; }
.is-list .file-visual { width: 36px; height: 36px; flex: none; }
.is-list .file-visual > span { font-size: 20px; }
.is-list .file-info { margin: 0; flex: 1; }
.is-list .file-favorite { margin: 0 7px; }
.empty-state { padding: 55px 20px; text-align: center; color: #91a6b6; }
.empty-state > span { font-size: 45px; }
.empty-state h3 { margin: 10px 0 4px; color: #4c697f; font-size: 17px; }
.empty-state p { margin: 0; font-size: 12px; }
.preview-panel { width: clamp(210px, 23vw, 290px); flex: none; display: flex; flex-direction: column; border-left: 1px solid #e6edf2; background: #fcfdfe; }
.preview-head { height: 52px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid #e6edf2; font-size: 11px; }
.preview-head button, .ai-head button { border: 0; background: transparent; color: #8ca5b7; font-size: 20px; }
.preview-content { overflow: auto; padding: 20px; }
.preview-placeholder { min-height: 270px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #9dafbc; text-align: center; font-size: 11px; }
.preview-placeholder span { color: #c3d5df; font-size: 52px; }
.visual-large { height: 160px; border-radius: 8px; }
.visual-large > span { font-size: 70px; }
.preview-meta { padding-top: 20px; }
.preview-type { color: #6fa2bf; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.preview-meta h2 { margin: 7px 0 20px; padding: 0; overflow-wrap: anywhere; font-size: 16px; }
.preview-meta dl { margin: 0; }
.preview-meta dl > div { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-top: 1px solid #e9eff3; font-size: 10px; }
.preview-meta dt { color: #98aab7; }
.preview-meta dd { margin: 0; color: #4d697e; text-align: right; }
.preview-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 18px; }
.preview-tags button { padding: 6px 8px; border: 0; border-radius: 5px; background: #e7f2f8; color: #3c7393; font-size: 10px; }
.favorite-action { width: 100%; margin-top: 20px; padding: 10px; border: 1px solid #b9d8e9; border-radius: 6px; background: white; color: #396c8a; font-size: 10px; font-weight: 700; }
.ai-panel { width: clamp(245px, 26vw, 320px); flex: none; display: flex; flex-direction: column; border-left: 1px solid #dce7ef; background: #f9fcfd; }
.ai-head { height: 52px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid #e2eaf0; }
.ai-head > div { display: flex; align-items: center; gap: 7px; font-size: 11px; }
.ai-head-icon, .ai-avatar { color: #55a8a1; font-size: 18px; }
.ai-head small { padding: 3px 5px; border-radius: 3px; background: #e0f2ed; color: #5d9f90; font-size: 8px; font-weight: 800; }
.ai-body { flex: 1; min-height: 0; overflow: auto; padding: 18px 15px; }
.ai-message { display: flex; gap: 9px; align-items: start; }
.ai-message p { margin: 0; padding: 11px; border-radius: 1px 9px 9px; background: #e9f4f2; color: #4b6f70; font-size: 11px; line-height: 1.6; }
.prompt-list { display: grid; gap: 7px; margin: 18px 0; }
.prompt-list button { padding: 9px 11px; border: 1px solid #d5e7e5; border-radius: 6px; background: white; color: #497c7c; text-align: left; font-size: 10px; }
.prompt-list button:hover { background: #eaf7f4; }
.ai-conversation { display: grid; gap: 12px; }
.user-message { justify-self: end; max-width: 90%; padding: 9px 12px; border-radius: 9px 2px 9px 9px; background: #dfeef8; color: #37617b; font-size: 11px; }
.ai-response { padding: 11px; border-radius: 2px 9px 9px; background: #edf6f4; color: #4d6d6b; font-size: 10px; line-height: 1.5; }
.ai-response small { color: #72a89d; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.ai-response p { margin: 6px 0 8px; }
.ai-response button { width: 100%; display: flex; justify-content: space-between; gap: 5px; padding: 7px 4px; border: 0; border-top: 1px solid #d7eae5; background: transparent; color: #376e78; text-align: left; font-size: 10px; }
.ai-form { display: flex; gap: 7px; margin: 0 14px 8px; padding: 5px; border: 1px solid #cfe1e9; border-radius: 7px; background: white; }
.ai-form input { width: 100%; min-width: 0; padding: 5px; border: 0; outline: 0; color: #30506a; font-size: 10px; }
.ai-form button { width: 27px; height: 27px; flex: none; border: 0; border-radius: 5px; background: #4e93b8; color: white; }
.ai-disclaimer { padding: 0 17px 12px; color: #9aadb8; font-size: 9px; text-align: center; }
.demo-status { height: 28px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-top: 1px solid #e6edf2; background: #f7fafc; color: #99afbd; font-size: 9px; }
.demo-bottom-cta { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 0 20px 26px; color: #678399; font-size: 12px; }
.demo-bottom-cta a { color: #2c779f; font-weight: 750; text-decoration: none; }
.demo-embed-page .demo-sitebar, .demo-embed-page .demo-note, .demo-embed-page .demo-bottom-cta { display: none; }
.demo-embed-page .demo-app { width: 100%; height: 100dvh; min-height: 0; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
@media (max-width: 1200px) { .preview-panel { width: 220px; } .ai-panel { width: 255px; } .demo-sidebar { width: 190px; } .demo-app { width: min(100% - 32px, 1500px); } }
@media (max-width: 950px) { .preview-panel { display: none; } .preview-panel.has-selection { display: flex; position: absolute; inset: 0 0 0 auto; width: 270px; z-index: 4; box-shadow: -15px 0 35px #19314b18; } .demo-workspace { position: relative; } }
@media (max-width: 680px) { .demo-sitebar { height: 58px; padding: 0 15px; } .demo-sitebar-label { display: none; } .demo-sitebar-actions { gap: 10px; } .demo-sitebar-actions > a { font-size: 0; } .demo-sitebar-actions > a span:last-child { font-size: 15px; } .demo-note { font-size: 10px; } .demo-app { width: 100%; height: calc(100dvh - 160px); min-height: 500px; margin: 0; border: 0; border-radius: 0; box-shadow: none; } .demo-sidebar { position: absolute; z-index: 10; top: 0; bottom: 0; left: 0; width: min(260px, 80vw); transform: translateX(-100%); transition: transform .22s ease; box-shadow: 12px 0 30px #19314b20; } .demo-sidebar.is-open { transform: translateX(0); } .demo-app { position: relative; } .sidebar-scrim.is-open { position: absolute; z-index: 9; inset: 0; display: block; border: 0; background: #12233d7d; } .mobile-menu { display: block; } .window-controls { display: none; } .demo-toolbar { flex-wrap: wrap; padding: 7px 12px; gap: 4px; } .toolbar-actions { width: 100%; } .demo-search { width: auto; flex: 1; } .demo-page .demo-browser { padding: 22px 16px; } .file-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; } .sort-label { display: none; } .preview-panel.has-selection, .ai-panel { width: min(100%, 320px); } .demo-bottom-cta { min-height: 45px; padding: 8px; font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { .demo-page *, .demo-page *::before, .demo-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
