:root{color:#111c2d;background:#f9f9ff;font-family:Inter,Noto Sans SC,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #162839;--ink-strong: #111c2d;--ink-soft: #64748b;--ink-faint: #94a3b8;--paper: #ffffff;--canvas: #f9f9ff;--surface: #f8fafc;--surface-strong: #f1f5f9;--line: #e2e8f0;--line-strong: #cbd5e1;--navy: #162839;--navy-hover: #243a4d;--danger: #ba1a1a;--danger-soft: #fff1f2;--shadow-sm: 0 2px 7px rgba(15, 23, 42, .06);--shadow-md: 0 8px 24px rgba(15, 23, 42, .1)}*{box-sizing:border-box}html{min-width:320px;min-height:100%;background:var(--canvas)}body{min-width:320px;min-height:100vh;margin:0;background:var(--canvas)}body,button,textarea{letter-spacing:0}button,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:3px solid rgba(37,99,235,.34);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.directory-shell{min-height:100vh;background:linear-gradient(180deg,#1628390e 0,#f9f9ff00 360px),var(--canvas)}.site-bar{position:sticky;z-index:10;top:0;padding-top:env(safe-area-inset-top);border-bottom:1px solid rgba(255,255,255,.12);background:var(--navy);color:#fff}.site-bar-inner{display:grid;width:min(calc(100% - 32px),1080px);min-height:58px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:16px;align-items:center;margin:0 auto}.site-brand{display:inline-flex;min-width:0;align-items:center;gap:9px;justify-self:start;font-size:13px;font-weight:750}.site-brand-mark{display:grid;width:28px;height:28px;flex:0 0 auto;place-items:center;border:1px solid rgba(255,255,255,.36);border-radius:5px;font-family:Georgia,serif;font-size:9px}.site-brand-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.site-bar-title{justify-self:center;font-size:14px;font-weight:700;line-height:1.3}.site-bar-spacer{width:1px;justify-self:end}.page-frame{width:min(calc(100% - 32px),780px);margin:0 auto}.page-kicker{margin:0;color:#505f76;font-size:11px;font-weight:800;line-height:1.3}.home-page{min-height:calc(100vh - 59px - env(safe-area-inset-top));padding-top:42px;padding-bottom:calc(56px + env(safe-area-inset-bottom))}.home-header{margin-bottom:24px}.home-header h1,.state-page h1{margin:8px 0 0;color:var(--ink);font-size:32px;font-weight:750;line-height:1.23;overflow-wrap:anywhere}.home-summary{margin:8px 0 0;color:var(--ink-soft);font-size:14px;line-height:1.5}.exhibition-list,.skeleton-list{display:flex;flex-direction:column;gap:12px;padding:0;margin:0;list-style:none}.exhibition-card,.skeleton-card{display:grid;min-height:128px;grid-template-columns:104px minmax(0,1fr) 22px;gap:17px;align-items:center;padding:11px 15px 11px 11px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}.exhibition-card{box-shadow:var(--shadow-sm);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.exhibition-card:hover{border-color:var(--line-strong);box-shadow:var(--shadow-md);transform:translateY(-1px)}.exhibition-card:active{box-shadow:var(--shadow-sm);transform:translateY(0)}.exhibition-poster,.skeleton-poster{width:104px;height:104px;overflow:hidden;border-radius:6px;background:var(--surface-strong)}.exhibition-poster-image{display:block;width:100%;height:100%;object-fit:cover}.exhibition-poster-placeholder{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:11px;overflow:hidden;background:linear-gradient(135deg,#162839,#2c3e50 62%,#64748b);color:#fff;text-align:center}.poster-placeholder-title{display:-webkit-box;max-width:100%;overflow:hidden;font-size:14px;font-weight:750;line-height:1.35;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:3}.poster-placeholder-caption{color:#ffffffb8;font-size:10px;line-height:1.2}.exhibition-card-copy{min-width:0}.card-heading-row{display:flex;min-height:20px;flex-wrap:wrap;align-items:center;margin-bottom:6px}.theme-label{display:inline-block;max-width:100%;padding:3px 7px;overflow:hidden;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font-size:10px;font-weight:650;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.exhibition-card h2{margin:0;color:var(--ink);font-size:19px;font-weight:750;line-height:1.35;overflow-wrap:anywhere}.exhibition-meta{display:flex;flex-direction:column;gap:2px;margin-top:7px}.exhibition-meta p{margin:0;overflow:hidden;color:var(--ink-soft);font-size:11px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.card-arrow{color:var(--ink-faint);transition:color .16s ease,transform .16s ease}.exhibition-card:hover .card-arrow{color:var(--ink);transform:translate(2px)}.empty-state{display:flex;min-height:320px;flex-direction:column;align-items:center;justify-content:center;padding:38px 24px;border:1px dashed var(--line-strong);border-radius:8px;background:#ffffffc2;text-align:center}.empty-index{display:grid;width:48px;height:48px;place-items:center;border-radius:50%;background:var(--surface-strong);color:var(--ink-soft);font-family:Georgia,serif;font-size:17px;font-weight:700}.empty-state h2,.chat-state h2{margin:13px 0 0;color:var(--ink);font-size:22px;font-weight:700;line-height:1.35}.empty-state p,.chat-state p,.state-description{margin:8px 0 0;color:var(--ink-soft);font-size:14px;line-height:1.55}.primary-button,.secondary-button{display:inline-flex;min-height:42px;align-items:center;justify-content:center;gap:8px;padding:0 16px;border-radius:7px;cursor:pointer;font-size:14px;font-weight:700}.primary-button{background:var(--navy);color:#fff}.primary-button:hover{background:var(--navy-hover)}.secondary-button{border:1px solid var(--line-strong);background:var(--paper);color:var(--ink)}.empty-state .secondary-button,.state-page .primary-button{margin-top:24px}.state-page{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding-top:42px;padding-bottom:56px}.state-symbol{display:grid;width:42px;height:42px;place-items:center;margin-bottom:18px;border-radius:50%;background:var(--navy);color:#fff;font-family:Georgia,serif;font-size:20px;font-weight:700}.skeleton-card{grid-template-columns:104px minmax(0,1fr);animation:skeleton-pulse 1.4s ease-in-out infinite alternate}.skeleton-copy{display:flex;flex-direction:column;gap:10px}.skeleton-copy span{display:block;width:84%;height:12px;border-radius:3px;background:var(--line)}.skeleton-copy span:first-child{width:42%;height:9px}.skeleton-copy span:last-child{width:61%}@keyframes skeleton-pulse{0%{opacity:.56}to{opacity:1}}.chat-page{display:flex;min-height:100vh;height:100dvh;flex-direction:column;overflow:hidden;background:linear-gradient(180deg,#1628390d 0,#f9f9ff00 320px),var(--canvas)}.chat-header{z-index:3;flex:0 0 auto;padding-top:env(safe-area-inset-top);border-bottom:1px solid rgba(255,255,255,.12);background:var(--navy);color:#fff}.chat-header-inner{display:grid;width:min(100%,860px);min-height:56px;grid-template-columns:40px minmax(0,1fr) 48px;gap:10px;align-items:center;margin:0 auto;padding:7px 14px}.icon-button{display:grid;width:36px;height:36px;place-items:center;border:1px solid rgba(255,255,255,.3);border-radius:50%;background:#ffffff0a;color:#fff}.icon-button:hover{background:#ffffff1f}.chat-heading{min-width:0;text-align:center}.chat-heading h1{margin:0;color:#fff;font-size:15px;font-weight:700;line-height:1.3}.guide-status{display:inline-flex;width:45px;height:28px;align-items:center;justify-content:center;gap:3px;justify-self:end;border:1px solid rgba(255,255,255,.38);border-radius:999px;color:#fff;font-family:Georgia,serif;font-size:10px;font-weight:700}.chat-context{z-index:2;flex:0 0 auto;border-bottom:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow-sm)}.chat-context-inner{width:min(100%,860px);margin:0 auto;padding:11px 16px 12px}.chat-context-inner span{display:block;color:var(--ink-soft);font-size:10px;font-weight:700;line-height:1.3}.chat-context-inner strong{display:block;margin-top:4px;overflow:hidden;color:var(--ink);font-size:16px;font-weight:700;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.message-scroll{min-height:0;flex:1 1 auto;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.message-list{width:min(calc(100% - 28px),760px);min-height:100%;margin:0 auto;padding:28px 0 34px}.chat-state,.welcome-panel{width:min(100%,590px);margin:40px auto 0}.chat-state{display:flex;min-height:250px;flex-direction:column;align-items:center;justify-content:center;padding:26px;text-align:center}.chat-error-state .state-symbol{margin-bottom:2px}.state-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:24px}.welcome-panel{padding:22px 20px;border:1px solid var(--line);border-radius:8px;background:var(--paper);box-shadow:var(--shadow-sm)}.welcome-panel h2{margin:0;color:var(--ink);font-size:22px;font-weight:750;line-height:1.4}.welcome-description{margin:7px 0 0;color:var(--ink-soft);font-size:13px;line-height:1.6}.suggestion-list{display:flex;flex-direction:column;gap:8px;margin-top:16px}.suggestion-list button{display:flex;min-height:44px;align-items:center;padding:9px 12px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);cursor:pointer;text-align:left;transition:border-color .15s ease,background .15s ease}.suggestion-list button:hover{border-color:var(--line-strong);background:var(--surface-strong)}.suggestion-list button span{min-width:0;font-size:14px;font-weight:650;line-height:1.45;overflow-wrap:anywhere}.message-row{display:flex;width:100%;margin-bottom:16px}.message-row-user{justify-content:flex-end}.message-row-assistant{justify-content:flex-start}.message-bubble{max-width:min(82%,620px);padding:12px 15px;border-radius:8px;font-size:15px;line-height:1.7;overflow-wrap:anywhere}.message-bubble p{margin:0}.message-bubble-user{border-bottom-right-radius:3px;background:var(--navy);color:#fff;box-shadow:0 7px 20px #1628392e;white-space:pre-wrap}.message-bubble-assistant{border:1px solid var(--line);border-bottom-left-radius:3px;background:var(--paper);color:var(--ink);box-shadow:var(--shadow-sm)}.thinking-message{display:flex;min-width:54px;min-height:24px;align-items:center;gap:5px}.thinking-message>span:not(.sr-only){width:6px;height:6px;border-radius:50%;background:var(--navy);animation:thinking 1s ease-in-out infinite}.thinking-message>span:nth-child(2){animation-delay:.13s}.thinking-message>span:nth-child(3){animation-delay:.26s}@keyframes thinking{0%,to{opacity:.28;transform:translateY(0)}50%{opacity:1;transform:translateY(-2px)}}.message-error{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;color:var(--danger)}.message-error button{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:5px;background:var(--danger-soft);color:var(--danger);cursor:pointer;font-size:12px;font-weight:700}.markdown-message>:first-child,.markdown-message>:first-child>:first-child{margin-top:0}.markdown-message>:last-child,.markdown-message>:last-child>:last-child{margin-bottom:0}.markdown-message p,.markdown-message ul,.markdown-message ol,.markdown-message blockquote,.markdown-message pre,.markdown-message table{margin:.55em 0}.markdown-message h1,.markdown-message h2,.markdown-message h3,.markdown-message h4,.markdown-message h5,.markdown-message h6{margin:.85em 0 .35em;color:var(--ink);font-size:1.08em;font-weight:700;line-height:1.45}.markdown-message ul,.markdown-message ol{padding-left:1.4em}.markdown-message li+li{margin-top:.2em}.markdown-message blockquote{padding-left:12px;border-left:3px solid var(--line-strong);color:var(--ink-soft)}.markdown-message code{padding:2px 5px;border-radius:3px;background:var(--surface-strong);font-family:Consolas,monospace;font-size:.9em}.markdown-message pre{padding:11px 12px;overflow-x:auto;border:1px solid var(--line);border-radius:5px;background:var(--surface-strong)}.markdown-message pre code{padding:0}.markdown-message table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.markdown-message th,.markdown-message td{padding:5px 8px;border:1px solid var(--line);text-align:left}.markdown-link-label{color:#1d4ed8;font-weight:700;text-decoration:underline;text-decoration-color:#93c5fd;text-underline-offset:2px}.markdown-image-label{display:inline-block;padding:1px 6px;border:1px solid var(--line);border-radius:3px;color:var(--ink-soft);font-size:.88em}.message-bottom-anchor{width:1px;height:1px}.composer{z-index:3;flex:0 0 auto;padding:9px 14px calc(9px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffffffa}.composer-inner{display:grid;width:min(100%,760px);grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:end;margin:0 auto}.composer textarea{width:100%;min-height:44px;max-height:112px;padding:10px 12px;resize:none;overflow-y:auto;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);font-size:15px;line-height:1.5}.composer textarea:hover,.composer textarea:focus{border-color:var(--line-strong)}.composer textarea::placeholder{color:var(--ink-faint)}.composer textarea:disabled{background:var(--surface-strong);color:var(--ink-faint)}.send-button{display:grid;width:44px;height:44px;place-items:center;border-radius:7px;background:var(--navy);color:#fff;cursor:pointer}.send-button:hover:not(:disabled){background:var(--navy-hover)}.send-button:disabled{background:var(--line);color:var(--ink-faint);cursor:default}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:600px){.site-bar-inner{width:100%;min-height:56px;padding:0 14px}.site-brand-name{display:none}.site-brand-mark{width:27px;height:27px}.page-frame{width:min(calc(100% - 28px),780px)}.home-page{min-height:calc(100vh - 57px - env(safe-area-inset-top));padding-top:28px;padding-bottom:calc(44px + env(safe-area-inset-bottom))}.home-header{margin-bottom:20px}.home-header h1,.state-page h1{font-size:28px}.home-summary{font-size:13px}.exhibition-card,.skeleton-card{min-height:108px;grid-template-columns:88px minmax(0,1fr) 18px;gap:12px;padding:9px 10px 9px 9px}.skeleton-card{grid-template-columns:88px minmax(0,1fr)}.exhibition-poster,.skeleton-poster{width:88px;height:88px}.poster-placeholder-title{font-size:13px;-webkit-line-clamp:2}.exhibition-card h2{font-size:17px}.exhibition-meta{margin-top:5px}.exhibition-meta p{font-size:10px}.theme-label{font-size:9px}.chat-header-inner{min-height:54px;padding-right:10px;padding-left:10px}.chat-context-inner{padding:10px 14px 11px}.chat-context-inner strong{font-size:15px}.message-list{width:min(calc(100% - 24px),760px);padding-top:22px}.welcome-panel{margin-top:18px;padding:19px 16px}.welcome-panel h2{font-size:19px}.welcome-description{font-size:12px}.suggestion-list button{min-height:42px}.suggestion-list button span{font-size:13px}.message-bubble{max-width:88%;font-size:14px}.composer{padding-right:10px;padding-left:10px}}@media(max-width:360px){.page-frame{width:min(calc(100% - 20px),780px)}.exhibition-card,.skeleton-card{grid-template-columns:78px minmax(0,1fr) 16px;gap:9px}.skeleton-card{grid-template-columns:78px minmax(0,1fr)}.exhibition-poster,.skeleton-poster{width:78px;height:82px}.exhibition-card h2{font-size:16px}.composer textarea{font-size:14px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
