@import url("data:text/css,");

:root {
  --ink: #242530;
  --muted: #747680;
  --line: #e9e7e1;
  --paper: #fff;
  --canvas: #f7f6f2;
  --violet: #6f63b6;
  --violet-2: #8d80d2;
  --violet-pale: #eeebfb;
  --green: #3a9274;
  --amber: #e6a44d;
  --shadow: 0 18px 48px rgba(49, 46, 69, .12);
  --soft-shadow: 0 7px 24px rgba(49, 46, 69, .08);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

* { box-sizing: border-box; }
html, body { min-width: 960px; min-height: 100%; margin: 0; }
body { background: var(--canvas); overflow-x: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
.hidden { display: none !important; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 224px 1fr; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 224px; padding: 30px 18px 24px; background: #fcfcfa; border-right: 1px solid var(--line); z-index: 10; }
.brand { display: flex; gap: 12px; align-items: center; padding: 0 11px 32px; color: inherit; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; position: relative; display: grid; place-items: center; transform: rotate(-7deg); }
.brand-mark span { position: absolute; width: 19px; height: 25px; border-radius: 60% 40% 56% 44%; background: var(--violet); }
.brand-mark span:nth-child(1) { transform: translate(-7px, 3px) rotate(-25deg); }
.brand-mark span:nth-child(2) { transform: translate(7px, 3px) rotate(25deg); background: #8e82d4; }
.brand-mark span:nth-child(3) { width: 9px; height: 17px; background: #fff; border-radius: 50%; transform: translate(0, 4px); }
.brand b { display: block; font-size: 19px; letter-spacing: .12em; }
.brand small { display: block; color: #97989e; font-size: 10px; letter-spacing: .18em; margin-top: 2px; }
.main-nav { display: grid; gap: 5px; }
.main-nav p { color: #aaa9ae; font-size: 11px; letter-spacing: .14em; margin: 22px 13px 7px; }
.main-nav a { position: relative; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 13px; border-radius: 10px; text-decoration: none; color: #666872; font-size: 14px; transition: .2s ease; }
.main-nav a:hover { background: #f2f0ec; color: var(--ink); }
.main-nav a.active { color: var(--violet); background: var(--violet-pale); font-weight: 650; }
.main-nav a.active::before { content: ""; position: absolute; left: -18px; width: 3px; height: 24px; border-radius: 0 3px 3px 0; background: var(--violet); }
.main-nav svg { width: 19px; height: 19px; fill: currentColor; }
.main-nav em { margin-left: auto; font-size: 9px; font-style: normal; color: #fff; background: linear-gradient(135deg, var(--violet), #aa78bb); border-radius: 5px; padding: 2px 5px; }
.sidebar-note { position: absolute; left: 18px; right: 18px; bottom: 25px; padding: 17px 15px 15px; border: 1px solid #e6e1f2; border-radius: 15px; background: linear-gradient(145deg, #f7f4ff, #fff); }
.sidebar-note .note-icon { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 9px; border-radius: 50%; color: #fff; background: var(--violet); }
.sidebar-note b { font-size: 12px; }
.sidebar-note p { margin: 5px 0 0; color: #8a8793; line-height: 1.55; font-size: 10px; }

.workspace { grid-column: 2; min-width: 0; }
.topbar { height: 78px; position: sticky; top: 0; z-index: 8; display: flex; justify-content: space-between; align-items: center; padding: 0 40px; background: rgba(247, 246, 242, .88); border-bottom: 1px solid rgba(226, 224, 218, .8); backdrop-filter: blur(18px); }
.global-search { width: min(480px, 48vw); height: 42px; display: flex; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid #dfddd6; border-radius: 11px; background: rgba(255,255,255,.9); transition: .2s; }
.global-search:focus-within { border-color: #9d93d2; box-shadow: 0 0 0 3px rgba(111,99,182,.1); }
.global-search svg { width: 19px; height: 19px; color: #96949b; }
.global-search input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.global-search kbd { border: 1px solid #dedce4; border-radius: 5px; padding: 2px 6px; color: #aaa7b0; background: #faf9fc; font-size: 10px; }
.top-actions { display: flex; align-items: center; gap: 14px; }
.icon-button { position: relative; width: 38px; height: 38px; border: 1px solid #e1dfd9; border-radius: 50%; background: #fff; cursor: pointer; font-size: 21px; color: #74717b; }
.icon-button span { position: absolute; right: 5px; top: 4px; width: 7px; height: 7px; border: 2px solid #fff; border-radius: 50%; background: #e06d6d; }
.account-switcher { position: relative; }
.account-button { display: flex; align-items: center; gap: 9px; padding: 5px 7px 5px 5px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; text-align: left; }
.account-button:hover { background: #eceae5; }
.avatar { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; background: #8e80d8; color: #fff; font-size: 13px; font-weight: 700; }
.account-button b { display: block; font-size: 12px; }
.account-button small { display: block; width: 112px; overflow: hidden; color: #99979e; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; margin-top: 3px; }
.account-button .down { color: #99969d; }
.account-menu { position: absolute; right: 0; top: calc(100% + 10px); width: 244px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); z-index: 30; }
.account-menu:empty { display: none; }
.account-option { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; text-align: left; }
.account-option:hover, .account-option.selected { background: #f2f0f8; }
.account-option b { display: block; font-size: 12px; }
.account-option small { display: block; color: #99969d; font-size: 10px; margin-top: 3px; }
.account-option > span:last-child { margin-left: auto; color: var(--violet); }

#main-content { max-width: 1320px; min-height: calc(100vh - 78px); margin: 0 auto; padding: 46px 54px 110px; outline: 0; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.page-head .eyebrow, .eyebrow { font-size: 10px; letter-spacing: .17em; color: var(--violet); font-weight: 700; }
.page-head h1 { margin: 7px 0 6px; font-family: Georgia, "Songti SC", serif; font-size: 30px; font-weight: 600; letter-spacing: .03em; }
.page-head p { margin: 0; color: var(--muted); font-size: 13px; }
.date-card { padding: 11px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.75); color: #77747c; font-size: 11px; }
.date-card b { display: block; color: var(--ink); font-family: Georgia, serif; font-size: 17px; margin-top: 2px; }

.hero { position: relative; min-height: 220px; padding: 37px 40px; overflow: hidden; border-radius: 24px; color: #fff; background: linear-gradient(112deg, #504878, #7568a9 53%, #b29bca); box-shadow: 0 18px 50px rgba(74,64,112,.17); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.17); }
.hero::before { width: 360px; height: 360px; right: -50px; top: -200px; box-shadow: 0 0 0 42px rgba(255,255,255,.025), 0 0 0 84px rgba(255,255,255,.02); }
.hero::after { width: 170px; height: 170px; right: 120px; bottom: -120px; }
.hero-copy { position: relative; z-index: 1; max-width: 580px; }
.hero small { letter-spacing: .18em; opacity: .65; }
.hero h2 { margin: 15px 0 12px; font-family: Georgia, "Songti SC", serif; font-size: 29px; font-weight: 500; }
.hero p { max-width: 500px; margin: 0; line-height: 1.8; opacity: .78; font-size: 12px; }
.hero-tags { display: flex; gap: 9px; margin-top: 24px; }
.hero-tags span { padding: 7px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; background: rgba(255,255,255,.09); font-size: 10px; backdrop-filter: blur(8px); }
.hero-graphic { position: absolute; right: 55px; top: 42px; width: 150px; height: 130px; }
.hero-graphic span { position: absolute; display: block; width: 74px; height: 94px; padding: 13px; border-radius: 10px; background: rgba(255,255,255,.87); transform: rotate(8deg); box-shadow: 0 12px 28px rgba(35,28,63,.18); }
.hero-graphic span::before { content: ""; display: block; width: 28px; height: 4px; background: #8d82b7; border-radius: 4px; box-shadow: 0 13px 0 #d8d4e4, 0 24px 0 #d8d4e4, 0 35px 0 #d8d4e4; }
.hero-graphic span:nth-child(2) { right: 0; bottom: 0; transform: rotate(-7deg) scale(.88); background: #eee9ca; }

.section-title { display: flex; justify-content: space-between; align-items: center; margin: 32px 0 16px; }
.section-title h2 { margin: 0; font-size: 16px; }
.section-title span, .section-title a { color: #8f8c96; font-size: 11px; text-decoration: none; }
.knowledge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.knowledge-card { position: relative; min-height: 150px; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; color: inherit; background: #fff; text-decoration: none; transition: .22s ease; }
.knowledge-card:hover { transform: translateY(-3px); box-shadow: var(--soft-shadow); border-color: #d9d5e6; }
.knowledge-card .card-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--card-pale); color: var(--card-color); }
.knowledge-card .card-icon svg { width: 21px; height: 21px; fill: currentColor; }
.knowledge-card h3 { margin: 17px 0 6px; font-size: 14px; }
.knowledge-card p { margin: 0; color: #939098; font-size: 10px; }
.knowledge-card > svg { position: absolute; right: 18px; top: 23px; width: 15px; height: 15px; color: #b7b4bd; }
.knowledge-card .count { position: absolute; right: 18px; bottom: 18px; color: var(--card-color); font-family: Georgia, serif; font-size: 23px; opacity: .62; }
.activity-layout { display: grid; grid-template-columns: 1.5fr .8fr; gap: 16px; }
.panel-card { padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.doc-row { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #efede8; text-decoration: none; color: inherit; }
.doc-row:last-child { border-bottom: 0; }
.file-badge { display: grid; place-items: center; width: 36px; height: 40px; border-radius: 7px; color: #fff; background: #8a7dc1; font-size: 8px; font-weight: 700; }
.file-badge.pdf { background: #d67469; }.file-badge.doc { background: #6796c2; }.file-badge.xls { background: #62a286; }
.doc-row b { display: block; font-size: 12px; }
.doc-row small { display: block; margin-top: 4px; color: #9b989f; font-size: 9px; }
.doc-row time { color: #aaa7ae; font-size: 9px; }
.metric { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid #efede8; }
.metric:last-child { border-bottom: 0; }
.metric span { color: #85828b; font-size: 11px; }.metric b { font-family: Georgia, serif; font-size: 20px; }.metric i { color: var(--green); font-size: 9px; font-style: normal; }

.folder-toolbar { display: flex; gap: 10px; margin-bottom: 20px; }
.chip { border: 1px solid var(--line); border-radius: 20px; padding: 8px 13px; background: #fff; color: #77747c; font-size: 11px; cursor: pointer; }
.chip.active { border-color: #beb5e1; background: var(--violet-pale); color: var(--violet); }
.folder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.folder-card { padding: 21px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.folder-card .folder-top { display: flex; justify-content: space-between; align-items: center; }
.folder-card .folder-icon { display: grid; place-items: center; width: 38px; height: 34px; border-radius: 8px; color: #6e63ad; background: #eeebfa; }
.folder-card .folder-icon svg { width: 20px; height: 20px; fill: currentColor; }
.folder-card h3 { margin: 18px 0 6px; font-size: 13px; }.folder-card p { margin: 0; color: #99969e; font-size: 10px; }.folder-card .folder-meta { display: flex; justify-content: space-between; margin-top: 18px; color: #aaa7ae; font-size: 9px; }
.results-list { display: grid; gap: 12px; }
.result-card { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 15px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; color: inherit; }
.result-card:hover { border-color: #cfc9e6; box-shadow: var(--soft-shadow); }
.result-card h3 { margin: 0 0 7px; font-size: 13px; }.result-card p { margin: 0; color: #89868e; font-size: 10px; line-height: 1.5; }.result-card mark { color: var(--violet); background: #f0ecff; }.result-card > span { color: #aaa7ae; font-size: 10px; }
.reader { max-width: 830px; margin: auto; padding: 46px 56px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 12px 40px rgba(60,55,79,.05); }
.reader h1 { font-family: Georgia, "Songti SC", serif; font-size: 27px; }.reader .reader-meta { padding-bottom: 20px; border-bottom: 1px solid var(--line); color: #96939b; font-size: 10px; }.reader h2 { margin-top: 32px; font-size: 17px; }.reader p, .reader li { color: #5f5d65; font-size: 13px; line-height: 2; }.reader blockquote { margin: 24px 0; padding: 14px 18px; border-left: 3px solid var(--violet); background: #f6f3fc; color: #696474; font-size: 12px; }
.qa-shell { display: grid; grid-template-columns: 1fr 270px; gap: 18px; }
.qa-main { min-height: 560px; display: flex; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.ai-welcome { width: 80%; margin: 44px auto 0; text-align: center; }.ai-orb { display: grid; place-items: center; width: 62px; height: 62px; margin: auto; border-radius: 19px; color: #fff; background: linear-gradient(135deg, #7567bb, #b189bc); box-shadow: 0 14px 32px rgba(111,99,182,.25); font-size: 25px; }.ai-welcome h2 { margin: 22px 0 8px; font-family: Georgia, "Songti SC", serif; }.ai-welcome p { color: #8b8891; font-size: 11px; }.suggestion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 26px 0; }.suggestion-grid button { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #faf9f7; color: #68656e; text-align: left; font-size: 10px; cursor: pointer; }.qa-input { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 8px 9px 8px 15px; border: 1px solid #dcd8ea; border-radius: 13px; box-shadow: 0 3px 12px rgba(70,61,106,.05); }.qa-input input { flex: 1; border: 0; outline: 0; font-size: 12px; }.qa-input button { border: 0; border-radius: 9px; padding: 9px 15px; background: var(--violet); color: #fff; cursor: pointer; }.qa-side { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }.qa-side h3 { margin-top: 0; font-size: 13px; }.qa-side p { margin: 15px 0; padding-bottom: 15px; border-bottom: 1px solid var(--line); color: #7f7c85; font-size: 10px; line-height: 1.55; }

.pet-choice-entry { position: fixed; left: 248px; bottom: 25px; z-index: 20; padding: 12px 14px; border: 1px solid #ded9ed; border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: var(--soft-shadow); backdrop-filter: blur(12px); }
.pet-choice-entry button { border: 0; background: transparent; color: var(--violet); font-weight: 700; font-size: 12px; cursor: pointer; }.pet-choice-entry button span { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 5px; border-radius: 50%; color: #fff; background: var(--violet); }.pet-choice-entry p { margin: 4px 0 0 31px; color: #99959f; font-size: 9px; }
.choice-backdrop { position: fixed; inset: 0; z-index: 59; background: rgba(39, 36, 52, .3); backdrop-filter: blur(5px); }
.choice-popover { position: fixed; left: 50%; top: 50%; z-index: 60; width: 520px; padding: 27px; border: 1px solid rgba(255,255,255,.82); border-radius: 22px; background: #fff; box-shadow: 0 28px 80px rgba(38, 33, 58, .25); transform: translate(-50%, -50%); }
.choice-popover h2 { margin: 7px 0; font-family: Georgia, "Songti SC", serif; font-size: 23px; }.choice-popover header p { margin: 0; color: #85828b; font-size: 11px; }.species-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 18px; }.species-card { padding: 13px 10px; border: 1px solid var(--line); border-radius: 13px; background: #fbfaf8; cursor: pointer; text-align: center; transition: .2s; }.species-card:hover { border-color: #c8c0e4; }.species-card.selected { border-color: var(--violet); background: #f3f0fd; box-shadow: 0 0 0 2px rgba(111,99,182,.08); }.species-card .species-face { display: block; font-size: 37px; filter: saturate(.85); }.species-card b { display: block; margin: 5px 0 2px; font-size: 12px; }.species-card small { color: #9b98a0; font-size: 9px; }.nickname-label { display: block; color: #55525b; font-size: 11px; font-weight: 650; }.nickname-label span { float: right; color: #aaa7af; font-weight: 400; font-size: 9px; }.nickname-label input { width: 100%; height: 39px; margin-top: 8px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; outline: 0; font-size: 11px; }.nickname-label input:focus { border-color: #9c92d2; }.form-error { min-height: 15px; margin: 6px 0; color: #c45d5d; font-size: 9px; }.choice-popover footer { display: flex; justify-content: flex-end; gap: 8px; }.button { min-width: 82px; height: 36px; padding: 0 14px; border-radius: 9px; cursor: pointer; font-size: 11px; }.button.ghost { border: 1px solid var(--line); background: #fff; }.button.primary { border: 0; background: var(--violet); color: #fff; box-shadow: 0 5px 13px rgba(111,99,182,.18); }.button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

.action-dock { position: fixed; left: 244px; bottom: 22px; z-index: 25; width: 268px; padding: 14px; border: 1px solid rgba(222,218,230,.9); border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: var(--soft-shadow); backdrop-filter: blur(16px); }
.action-dock header { display: flex; justify-content: space-between; align-items: center; padding: 1px 3px 10px; }.action-dock header span { font-size: 11px; font-weight: 700; }.action-dock header i { display: inline-block; width: 6px; height: 6px; margin: 0 6px 1px 0; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px #e1f1eb; }.action-dock header small { color: #8d8994; font-size: 9px; }.action-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }.action-button { position: relative; height: 40px; padding: 0 8px 0 10px; border: 1px solid #ebe8e2; border-radius: 9px; background: #faf9f7; cursor: pointer; text-align: left; transition: .18s; }.action-button:hover { border-color: #cfc8e6; color: var(--violet); background: #f6f3fd; }.action-button:disabled { opacity: .55; cursor: wait; }.action-button b { display: block; font-size: 10px; }.action-button small { position: absolute; right: 8px; top: 13px; color: #99959f; font-size: 8px; }.action-button .gain { position: absolute; right: 6px; top: -12px; color: var(--green); font-size: 10px; font-weight: 750; animation: gainUp 1.35s ease forwards; pointer-events: none; }
@keyframes gainUp { 0% { opacity: 0; transform: translateY(7px); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateY(-14px); } }

.pet-widget { --pet-main: #fffaf2; --pet-accent: #e9dfd2; position: fixed; z-index: 22; width: 232px; height: 262px; padding-top: 26px; border: 0; background: transparent; box-shadow: none; user-select: none; touch-action: none; }
.pet-widget.dragging { cursor: grabbing; filter: drop-shadow(0 18px 16px rgba(64,55,82,.2)); }
.minimize-pet { position: absolute; right: 14px; top: 12px; z-index: 3; width: 25px; height: 25px; border: 1px solid #e6e2df; border-radius: 50%; background: rgba(255,255,255,.8); color: #95919a; cursor: pointer; line-height: 18px; }.minimize-pet:hover { color: var(--ink); background: #fff; }
.pet-meta { position: absolute; top: 13px; left: 17px; display: flex; align-items: center; gap: 5px; z-index: 2; padding: 5px 8px; border: 1px solid rgba(227,223,216,.85); border-radius: 10px; background: rgba(255,255,255,.82); box-shadow: 0 5px 15px rgba(58,53,72,.08); backdrop-filter: blur(8px); }.pet-meta b { max-width: 115px; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.pet-meta span { padding: 2px 5px; border-radius: 5px; color: var(--violet); background: var(--violet-pale); font-size: 8px; font-weight: 700; }
.pet-feedback { position: absolute; left: 50%; top: -43px; z-index: 5; transform: translateX(-50%) translateY(8px); opacity: 0; max-width: 180px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 13px 13px 13px 3px; color: #57535e; background: #fff; box-shadow: var(--soft-shadow); white-space: nowrap; font-size: 10px; pointer-events: none; transition: .2s; }.pet-feedback.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.pet-balance { position: absolute; left: 22px; right: 22px; bottom: 7px; display: flex; justify-content: space-between; align-items: center; padding: 8px 11px; border: 1px solid rgba(227,223,216,.82); border-radius: 12px; background: rgba(255,255,255,.82); box-shadow: 0 5px 15px rgba(58,53,72,.08); backdrop-filter: blur(8px); color: #85818a; font-size: 9px; }.pet-balance span { display: flex; align-items: center; gap: 5px; }.pet-balance svg { width: 15px; height: 15px; fill: #df9f47; }.pet-balance b { color: #4f4c54; font-size: 11px; }.pet-red-dot { position: absolute; right: 8px; top: 5px; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: #e16767; }
.pet-edge { position: fixed; z-index: 28; right: 0; top: 52%; width: 64px; height: 76px; padding: 8px 6px; border: 1px solid #ddd8e9; border-right: 0; border-radius: 18px 0 0 18px; background: rgba(255,255,255,.95); box-shadow: var(--soft-shadow); cursor: pointer; }.pet-edge span { display: block; font-size: 29px; }.pet-edge b { display: inline-block; margin-top: 2px; padding: 2px 6px; border-radius: 8px; color: #7f6a42; background: #f5e5c8; font-size: 9px; }.pet-edge i { position: absolute; right: 6px; top: 7px; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: #e16767; }

.pet-menu { position: fixed; z-index: 55; width: 158px; padding: 7px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow); }.pet-menu button { width: 100%; display: flex; align-items: center; gap: 9px; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; text-align: left; font-size: 10px; }.pet-menu button:hover { color: var(--violet); background: #f3f0fb; }.pet-menu span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: #f2effa; font-size: 11px; }
.pet-panel { position: fixed; z-index: 54; width: 370px; max-height: min(590px, calc(100vh - 30px)); overflow: auto; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }.panel-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid var(--line); }.panel-head h2 { margin: 4px 0 0; font-family: Georgia, "Songti SC", serif; font-size: 19px; }.panel-head button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #f3f1ed; color: #8f8b94; cursor: pointer; }.panel-copy { margin: 16px 0; color: #7c7982; font-size: 10px; line-height: 1.65; }.balance-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 15px 0; }.balance-tile { padding: 13px; border-radius: 11px; background: #f7f5f1; }.balance-tile span { display: block; color: #918e96; font-size: 9px; }.balance-tile b { display: block; margin-top: 5px; font-size: 17px; }.progress-wrap { margin: 16px 0; }.progress-label { display: flex; justify-content: space-between; color: #7e7a84; font-size: 9px; }.progress-bar { height: 8px; margin-top: 7px; border-radius: 8px; overflow: hidden; background: #ebe8e2; }.progress-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), #a998d8); transition: width .35s; }.panel-actions { display: flex; gap: 8px; margin-top: 17px; }.panel-actions .button { flex: 1; }.unlock-result { padding: 15px; border: 1px solid #e3dcf2; border-radius: 12px; background: #f7f3fe; text-align: center; }.unlock-result .level-up { color: var(--violet); font-family: Georgia, serif; font-size: 25px; }.unlock-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 9px; }.unlock-chips span { padding: 5px 8px; border-radius: 12px; background: #fff; color: #70658d; font-size: 9px; }.wardrobe-group h3 { display: flex; justify-content: space-between; margin: 18px 0 10px; font-size: 11px; }.wardrobe-group h3 span { color: #99969e; font-size: 9px; font-weight: 400; }.wardrobe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }.wardrobe-item { position: relative; min-height: 75px; padding: 10px 5px 7px; border: 1px solid var(--line); border-radius: 10px; background: #faf9f7; cursor: pointer; text-align: center; }.wardrobe-item.selected { border-color: var(--violet); background: #f2effc; }.wardrobe-item.locked { cursor: not-allowed; filter: grayscale(.65); opacity: .58; }.color-swatch { display: block; width: 28px; height: 28px; margin: auto auto 7px; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #ddd8d0; }.wardrobe-item b { display: block; font-size: 9px; }.wardrobe-item small { display: block; margin-top: 3px; color: #96929b; font-size: 8px; }.wardrobe-item .lock { position: absolute; right: 5px; top: 5px; font-size: 9px; }.outfit-preview { display: block; font-size: 26px; margin-bottom: 5px; }.level-card { padding: 18px; border-radius: 14px; color: #fff; background: linear-gradient(130deg, #5d538b, #8b7dc4); }.level-card b { font-family: Georgia, serif; font-size: 28px; }.level-card span { display: block; margin-top: 3px; opacity: .7; font-size: 9px; }.next-unlock { display: flex; align-items: center; gap: 12px; margin-top: 13px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; }.next-unlock .next-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #f0edf8; }.next-unlock b { display: block; font-size: 10px; }.next-unlock small { color: #96929b; font-size: 9px; }.input-row input { width: 100%; height: 41px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; outline: 0; }.input-row input:focus { border-color: #9d92d1; }.empty-state { padding: 30px 15px; text-align: center; color: #96939b; }.empty-state span { display: block; font-size: 35px; margin-bottom: 10px; }.empty-state b { display: block; color: #5b5861; font-size: 12px; }.empty-state p { font-size: 9px; line-height: 1.6; }.postcard { padding: 13px; border: 1px solid var(--line); border-radius: 10px; margin: 9px 0; }.postcard b { font-size: 10px; }.postcard p { color: #85818a; font-size: 9px; }.postcard.unread { border-color: #cfc5e9; background: #f8f5ff; }

.toast-stack { position: fixed; right: 25px; top: 90px; z-index: 100; display: grid; gap: 8px; }.toast { min-width: 230px; max-width: 340px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: var(--soft-shadow); color: #5f5b64; font-size: 10px; animation: toastIn .25s ease; }.toast.error { border-color: #edcaca; color: #a45151; }.toast.success { border-color: #cde3d9; color: #39765f; }@keyframes toastIn { from { opacity: 0; transform: translateY(-7px); } }
.loading { display: grid; place-items: center; min-height: 430px; color: #8d8993; font-size: 12px; }.loading::before { content: ""; width: 27px; height: 27px; margin-right: 10px; border: 3px solid #ded9ea; border-top-color: var(--violet); border-radius: 50%; animation: rotate .7s linear infinite; }@keyframes rotate { to { transform: rotate(360deg); } }

.preview-note { display: flex; align-items: center; gap: 7px; margin: 14px 0 -3px; padding: 9px 11px; border-radius: 9px; color: #675d89; background: #f2effb; font-size: 9px; }.preview-note::before { content: "◉"; color: var(--violet); }

@media (max-width: 1120px) {
  .app-shell { grid-template-columns: 190px 1fr; }.sidebar { width: 190px; }.workspace { grid-column: 2; }.sidebar-note { display: none; }.pet-choice-entry, .action-dock { left: 208px; } #main-content { padding-left: 35px; padding-right: 35px; }.hero-graphic { opacity: .35; }.knowledge-grid, .folder-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; } }
