
:root {
  color-scheme: light;
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  color: #223039;
  background: #132332;
  font-size: 16px;
  line-height: 1.58;
  --ink: #223039;
  --muted: #54676e;
  --accent: #246466;
  --accent-darker: #194e54;
  --border: #d7e1e0;
  --surface: #fbfcfa;
  --cool: #edf3f2;
  --focus: #ad7248;
  --task-height: 52px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, input, select, textarea { min-width: 0; }
a { color: var(--accent-darker); text-underline-offset: .22em; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
[tabindex="-1"]:focus { outline: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.36; }
p + p { margin-top: .62em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.jump-link { position: fixed; z-index: 20; left: 10px; top: -150px; background: white; color: var(--ink); padding: .42rem .7rem; }
.jump-link:focus { top: 8px; }

.desk { height: 100dvh; min-height: 300px; position: relative; display: flex; flex-direction: column; overflow: hidden; }
.desk-layout { display: flex; flex: 1; min-height: 0; min-width: 0; }
.desktop {
  position: relative; flex: 1; min-width: 0; overflow: hidden; isolation: isolate;
  container: workspace / inline-size;
  background: #203748 url("./assets/xipu-tide-desk.png") center center / cover no-repeat;
}
.desktop-caption {
  position: absolute; top: 25px; left: 25px; display: grid; gap: .03rem; color: #e5eef0;
  text-shadow: 0 1px 3px #102536; user-select: none;
}
.desktop-caption strong { font-size: .94rem; letter-spacing: .085em; font-weight: 610; }
.desktop-caption span { font-size: .83rem; color: #e1e9ea; }
.shortcuts { position: absolute; top: 100px; left: 17px; display: grid; gap: 6px; }
.shortcut {
  display: flex; min-width: 77px; flex-direction: column; align-items: center; padding: 7px 5px 5px;
  gap: 4px; background: transparent; color: #f0f6f7; text-shadow: 0 1px 3px #0f1e2a;
  font-size: .86rem; line-height: 1.25; border: 1px solid transparent; border-radius: 3px;
}
.shortcut:hover, .shortcut:focus-visible { background: #d7f0f621; border-color: #d7f0f63a; }
.shortcut-art { display: grid; place-items: center; position: relative; width: 36px; height: 36px; }
.shortcut-art .glyph { --icon-size: 30px; filter: drop-shadow(0 2px 2px #132938); }
.shortcut-dot, .task-dot { background: #dfab71; width: 7px; height: 7px; border-radius: 50%; }
.shortcut-dot { position: absolute; top: 2px; right: 1px; box-shadow: 0 0 0 2px #284357; }

.glyph { --icon-size: 18px; display: inline-block; width: var(--icon-size); height: var(--icon-size); position: relative; flex: 0 0 auto; vertical-align: middle; }
.glyph::before, .glyph::after { content: ""; position: absolute; }
.icon-start::before { inset: 2% 2%; background: #9fc8c8; clip-path: polygon(0 23%, 100% 0, 100% 22%, 0 42%, 0 50%, 100% 30%, 100% 50%, 0 71%, 0 79%, 100% 59%, 100% 79%, 0 100%); }
.icon-web::before { inset: 2%; border-radius: 50%; background: #569097; border: 1px solid #c3dedb; }
.icon-web::after { inset: 9% 26%; border: 1px solid #dcf2eb; border-radius: 50%; box-shadow: 0 0 0 0 #dff4eb; background: linear-gradient(transparent 46%, #e5f3eb 48%, #e5f3eb 54%, transparent 56%); }
.icon-mail::before { inset: 16% 1% 13%; border-radius: 13%; background: #c1dadd; border: 1px solid #799da3; }
.icon-mail::after { left: 6%; right: 6%; top: 18%; height: 45%; background: #548a91; clip-path: polygon(0 0, 50% 72%, 100% 0, 100% 18%, 50% 93%, 0 18%); }
.icon-chat::before { inset: 7% 3%; border-radius: 21% 21% 19% 19%; background: #9cbfbb; clip-path: polygon(0 0, 100% 0, 100% 82%, 34% 82%, 14% 100%, 14% 82%, 0 82%); }
.icon-chat::after { inset: 34% 21%; height: 7%; border-radius: 12px; background: #234d55; box-shadow: 0 calc(var(--icon-size) * .16) #234d55; }
.icon-folder::before { inset: 16% 6% 16%; border-radius: 13%; background: #d7ab72; clip-path: polygon(0 0, 41% 0, 55% 15%, 100% 15%, 100% 100%, 0 100%); }
.icon-folder::after { inset: 38% 3% 12%; border-radius: 11%; background: #edce99; border: 1px solid #b68a57; }
.icon-bin::before { inset: 25% 24% 9%; background: #cadae2; box-shadow: inset 0 0 0 1px #6e909f; clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%); }
.icon-bin::after { inset: 12% 18% auto; height: 16%; border-radius: 2px; background: #a8c4ce; }
.icon-notice::before { inset: 14% 22% 30%; border: 1.5px solid #b6cdd5; border-radius: 45% 45% 15% 15%; }
.icon-notice::after { bottom: 14%; left: 43%; width: 16%; aspect-ratio: 1; border-radius: 50%; background: #b6cdd5; }
.icon-audio::before { inset: 20% 34% 20% 6%; background: #b6cdd5; clip-path: polygon(0 30%, 41% 30%, 100% 0, 100% 100%, 41% 70%, 0 70%); }
.icon-audio::after { inset: 17% 3% 17% 61%; border-right: 1.5px solid #b6cdd5; border-radius: 0 60% 60% 0; }
.icon-search::before { inset: 7% 28% 28% 7%; border: max(1.5px, calc(var(--icon-size) * .09)) solid currentColor; border-radius: 50%; }
.icon-search::after { width: 37%; height: 10%; right: 6%; bottom: 16%; border-radius: 7px; background: currentColor; transform: rotate(48deg); }
.icon-paper::before, .icon-file::before { inset: 4% 15%; background: #dce9e6; border: 1px solid #88a6a7; border-radius: 2px; }
.icon-paper::after, .icon-file::after { inset: 29% 30% auto; height: 1px; background: #60898c; box-shadow: 0 calc(var(--icon-size) * .18) #60898c, 0 calc(var(--icon-size) * .34) #60898c; }
.icon-profile::before { inset: 5%; border-radius: 50%; background: #dce5e3; }
.icon-profile::after { inset: 25% 26%; background: #7a989e; clip-path: polygon(35% 0, 65% 0, 80% 16%, 80% 36%, 68% 55%, 90% 65%, 100% 83%, 100% 100%, 0 100%, 0 83%, 10% 65%, 32% 55%, 20% 36%, 20% 16%); }

.window-layer { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.workspace-window {
  --inset-window: clamp(103px, 11.4%, 168px);
  --top-window: clamp(35px, 11%, 101px);
  position: absolute; display: flex; flex-direction: column; overflow: hidden; pointer-events: auto;
  top: var(--top-window); left: var(--inset-window);
  width: min(765px, calc(100% - var(--inset-window) - 22px));
  height: min(572px, calc(100% - var(--top-window) - 29px));
  background: var(--surface); border: 1px solid #536e77; border-radius: 5px;
  box-shadow: 0 9px 24px #08121c52;
}
.workspace-window.active { border-color: #759495; box-shadow: 0 14px 34px #07142060; }
.workspace-window.maximized { inset: 0 !important; width: 100%; height: 100%; border: 0; border-radius: 0; }
.window-enter { animation: window-show 180ms ease-out both; }
@keyframes window-show { from { opacity: .95; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
.window-titlebar {
  height: 39px; flex: 0 0 39px; display: flex; align-items: center; justify-content: space-between;
  background: #e8f0f1; border-bottom: 1px solid #d0dedf; user-select: none; touch-action: none;
}
.window-titlebar h2 { display: flex; align-items: center; gap: 8px; font-size: .91rem; font-weight: 640; padding-inline: 12px; }
.window-controls { display: flex; height: 100%; }
.window-button {
  display: grid; place-items: center; width: 38px; height: 100%; min-height: 35px; border: 0; padding: 0;
  color: #354b53; background: transparent; font-size: 1.14rem; line-height: 1; transition: background-color 160ms ease-out;
}
.window-button:hover, .window-button:focus-visible { background: #dce8e8; }
.close-window:hover, .close-window:focus-visible { color: white; background: #955952; }
.window-body { flex: 1; min-height: 0; min-width: 0; overflow: auto; }
.browser-window { --inset-window: clamp(84px, 8%, 132px); --top-window: clamp(17px, 5.7%, 49px); width: min(1130px, calc(100% - var(--inset-window) - 25px)); height: calc(100% - var(--top-window) - 33px); }
.browser-window .window-body { overflow: hidden; }
.chat-window { --inset-window: clamp(105px, 15%, 226px); --top-window: clamp(25px, 13%, 112px); width: min(650px, calc(100% - var(--inset-window) - 23px)); height: min(560px, calc(100% - var(--top-window) - 27px)); }
.drive-window, .recycle-window { --inset-window: clamp(100px, 18%, 240px); width: min(580px, calc(100% - var(--inset-window) - 23px)); height: min(411px, calc(100% - var(--top-window) - 32px)); }

.letter-avatar {
  display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 5px;
  background: #d8e7e2; border: 1px solid #bed0cb; color: #356167; font-size: .95rem; font-weight: 630;
}
.self-avatar { color: #f0f8f6; border-color: #5b8489; background: #42676e; }
.mail-layout { height: 100%; display: grid; grid-template-columns: 187px minmax(0, 1fr); }
.mail-sidebar { background: #edf3f3; min-width: 0; border-right: 1px solid #dce5e5; }
.mail-account { display: flex; align-items: center; gap: .6rem; padding: 18px 13px 16px; }
.mail-account strong, .mail-account small { display: block; }
.mail-account strong { line-height: 1.25; font-size: .98rem; }
.mail-account small { font-size: .82rem; color: var(--muted); margin-top: .19rem; }
.mail-folder-label { display: flex; justify-content: space-between; align-items: center; padding: 8px 13px 10px; font-size: .9rem; color: #416069; border-top: 1px solid #dce5e5; }
.mail-count { font-size: .82rem; font-variant-numeric: tabular-nums; }
.inbox-row { display: grid; width: 100%; text-align: left; background: #dfecec; border: 0; border-left: 2px solid #639397; padding: 10px 10px 10px 11px; color: #294952; }
.inbox-row:hover { background: #d7e8e8; }
.inbox-row > span { display: flex; align-items: center; gap: .32rem; font-size: .83rem; }
.inbox-row time { margin-left: auto; font-size: .8rem; color: var(--muted); }
.inbox-row strong { overflow-wrap: anywhere; font-size: .9rem; margin-top: .21rem; }
.inbox-row small { margin-top: .25rem; font-size: .8rem; color: #526b72; }
.new-dot { width: 6px; height: 6px; border-radius: 50%; background: #688f94; }
.mail-article { padding: 24px 30px 22px; overflow: auto; }
.mail-article h1 { font-size: clamp(1.5rem, 2.3vw, 1.88rem); letter-spacing: -.035em; font-weight: 660; }
.mail-sender { display: flex; align-items: center; gap: .65rem; margin: 13px 0 16px; padding-bottom: 14px; border-bottom: 1px solid #dfE6e3; }
.mail-sender strong { font-size: .93rem; }
.mail-sender p { color: var(--muted); font-size: .8rem; }
.mail-body { color: #28383d; line-height: 1.69; }
.term { color: #286467; font-weight: 650; }
.mail-sign { color: var(--muted); }
.plain-actions { display: flex; align-items: center; gap: .5rem .85rem; flex-wrap: wrap; }
.mail-article .plain-actions { margin-top: .78rem; }
.solid-button, .outline-button, .text-button, .tool-button {
  min-height: 34px; border: 1px solid transparent; padding: .32rem .65rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .38rem; border-radius: 4px; line-height: 1.4; font-size: .89rem;
}
.solid-button { background: #2c6268; color: #f9fbfa; border-color: #2c6268; }
.solid-button:hover { background: #214f55; }
.outline-button { border-color: #b7cbcd; color: #315a62; background: #f8fbfa; }
.outline-button:hover { background: #e9f2f1; }
.text-button { background: transparent; padding-inline: 0; color: var(--accent-darker); text-align: left; text-decoration: underline; text-underline-offset: .24em; }
.text-button:hover { color: #257881; }
.text-button:disabled { color: var(--muted); text-decoration: none; }
input:not([type=checkbox]), select, textarea { width: 100%; padding: .42rem .57rem; border: 1px solid #afc2c4; border-radius: 4px; background: #fff; }
textarea { resize: vertical; }

.browser-app { display: flex; flex-direction: column; height: 100%; background: #f5f9f8; }
.browser-tabs { display: flex; gap: 3px; overflow-x: auto; min-height: 34px; background: #e5eded; padding: 4px 8px 0; border-bottom: 1px solid #dbe6e4; }
.browser-tab { display: flex; height: 30px; align-items: stretch; background: #e1eae9; max-width: 170px; flex: 0 0 auto; border-radius: 4px 4px 0 0; }
.browser-tab.selected { background: #f7faf9; }
.browser-tab button { border: 0; display: flex; align-items: center; gap: .35rem; background: transparent; color: #365460; font-size: .83rem; min-width: 0; padding: 0 7px; }
.browser-tab button span:last-child { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.browser-tab button:hover { background: #d8e7e6; }
.browser-tab .tab-close { width: 25px; justify-content: center; padding: 0 .3rem; font-size: 1rem; }
.browser-tabs .glyph { --icon-size: 13px; }
.browser-toolbar { display: flex; height: 46px; padding: 6px 9px; align-items: center; gap: 5px; background: #f7faf9; border-bottom: 1px solid #d8e4e2; }
.browser-toolbar form { flex: 1; min-width: 0; }
#browser-address { padding: .25rem .56rem; min-height: 32px; border-color: #c3d3d3; font-family: Consolas, "Microsoft YaHei UI", monospace; font-size: .87rem; color: #3c575f; }
.tool-button { width: 29px; padding: 0; background: transparent; color: #2a555e; }
.tool-button:hover { background: #e3efee; }
.tool-button:disabled { color: #9aaeb2; background: transparent; opacity: .7; }
.chevron { display: inline-block; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.chevron.left { transform: rotate(-135deg); }
.browser-content { flex: 1; min-height: 0; position: relative; overflow: hidden; background: #fdfefa; }
.browser-content iframe { display: block; width: 100%; height: 100%; border: 0; background: #f7f6f2; }
.web-static { position: absolute; inset: 0; overflow: auto; }
.web-enter { animation: show-page 160ms ease-out both; }
@keyframes show-page { from { opacity: .94; } to { opacity: 1; } }
.search-page { max-width: 756px; margin: 0 auto; padding: clamp(40px, 12vh, 104px) 33px 30px; }
.search-page.with-results { padding-top: 27px; }
.search-identity { display: flex; align-items: center; gap: .56rem; color: #235859; margin-bottom: 1rem; }
.search-identity .glyph { --icon-size: 24px; }
.search-identity h1 { font-size: clamp(1.7rem, 3vw, 2.28rem); font-weight: 670; letter-spacing: -.05em; }
.search-form { display: flex; gap: .48rem; }
.search-form input { min-height: 43px; padding-left: .72rem; }
.search-form button { min-width: 62px; }
.search-suggestions { margin-top: 19px; color: var(--muted); font-size: .875rem; }
.search-suggestions > div { display: flex; flex-wrap: wrap; gap: .48rem; margin-top: .48rem; }
.search-suggestions button { padding: .22rem .47rem; background: #edf4f1; border: 1px solid #dde9e6; border-radius: 4px; color: #3b6266; font-size: .875rem; }
.search-suggestions button:hover { border-color: #a3bfbe; }
.search-caption { margin: 14px 0 9px; font-size: .875rem; color: #536e72; }
.search-hit { padding: 13px 0; border-bottom: 1px solid #e0e8e6; }
.search-hit > div { display: flex; flex-wrap: wrap; align-items: center; gap: .32rem; color: #506b73; font-size: .83rem; overflow-wrap: anywhere; }
.search-hit .glyph { --icon-size: 14px; }
.search-hit h2 { font-size: 1.05rem; font-weight: 620; margin: .25rem 0; }
.search-hit h2 a { text-decoration: none; color: #24577a; }
.search-hit h2 a:hover, .search-hit h2 a:focus-visible { text-decoration: underline; }
.search-hit p { color: #435961; font-size: .93rem; }
.search-hit time { color: #5a7178; }

.web-article { max-width: 750px; padding: 27px 34px 35px; margin: 0 auto; }
.web-article h1, .files-app h1 { font-size: 1.64rem; font-weight: 670; letter-spacing: -.026em; }
.publication-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; color: #245b60; border-bottom: 1px solid #bfcfce; margin-bottom: 1.15rem; padding-bottom: .55rem; }
.publication-head span, .web-byline { font-size: .88rem; color: var(--muted); }
.press-page .publication-head strong, .press-page h1 { font-family: "Songti SC", "SimSun", serif; }
.press-page .publication-head strong { font-size: 1.28rem; letter-spacing: .07em; }
.web-byline { margin: .34rem 0 1rem; }
.web-article > .text-button { margin-top: .62rem; }
.file-entry { width: 100%; display: flex; align-items: center; gap: .69rem; padding: .68rem .78rem; margin-top: .54rem; text-align: left; border: 1px solid #d9e5e3; border-radius: 4px; background: #f2f7f5; }
button.file-entry:hover { background: #e6f1ef; }
.file-entry .glyph { --icon-size: 24px; }
.file-entry span:has(> strong) { flex: 1; overflow-wrap: anywhere; }
.file-entry strong, .file-entry small { display: block; }
.file-entry small { color: var(--muted); font-size: .85rem; margin-top: .17rem; }
.file-entry > span:last-child:not(:has(> strong)) { color: #3e666c; font-size: .83rem; }
.file-preview { margin-top: .65rem; padding: .75rem .84rem; border-left: 2px solid #83a7a9; background: #edf4f2; }
.file-preview h2 { font-size: 1.06rem; margin-bottom: .4rem; }
.file-preview .text-button { margin-top: .3rem; }
.profile-header { display: flex; align-items: center; gap: .85rem; margin-bottom: .64rem; }
.profile-photo { width: 56px; height: 56px; flex: 0 0 auto; border: 1px solid #aabcc0; border-radius: 5px; background: #496976 url("./assets/xipu-tide-desk.png") 81% 39% / 160px auto no-repeat; }
.profile-header p, .profile-intro { color: var(--muted); font-size: .93rem; }
.profile-post { padding: .82rem 0; border-top: 1px solid #dce6e4; }
.profile-post .web-byline { margin: 0 0 .42rem; }
.profile-post:first-of-type { margin-top: .86rem; }
.files-app { padding: 20px 25px; }
.file-location { font-size: .85rem; color: var(--muted); margin-bottom: .42rem; }
.files-app h1 { margin-bottom: .55rem; }
.empty-folder { padding-top: 19px; color: var(--muted); }

.chat-app { display: flex; flex-direction: column; min-height: 0; height: 100%; }
.chat-header { display: flex; align-items: center; gap: .65rem; padding: .62rem .94rem; border-bottom: 1px solid #dae5e2; }
.chat-header h1 { font-size: 1.17rem; }
.chat-header p, .chat-meta { font-size: .8rem; color: var(--muted); }
.chat-header .text-button { margin-left: auto; }
.chat-list { list-style: none; padding: .67rem .94rem; margin: 0; flex: 1; min-height: 0; overflow: auto; background: #f5f8f6; display: flex; flex-direction: column; gap: .66rem; }
.chat-message { width: min(85%, 430px); }
.chat-message.own { align-self: end; display: grid; justify-items: end; }
.chat-meta { display: flex; gap: .42rem; padding: 0 .18rem .24rem; }
.chat-system, .chat-receipt { color: #52676b; font-size: .81rem; }
.chat-system { align-self: center; text-align: center; }
.chat-system.typing { align-self: start; }
.chat-message p, .sticker-bubble { width: fit-content; background: #fff; border: 1px solid #dce7e3; border-radius: 4px 7px 7px 7px; padding: .48rem .63rem; overflow-wrap: anywhere; }
.chat-message.own p, .chat-message.own .sticker-bubble { background: #e2efeb; border-color: #d1e4de; }
.sticker-bubble { display: inline-flex; align-items: center; gap: .36rem; font-size: .87rem; color: #365b5e; }
.sticker-bubble img, .sticker-tray img, .desk-pet img, .assistant-pane img, .assistant-button img, .start-assistant img { image-rendering: pixelated; }
.chat-form { display: flex; gap: .4rem; padding: .67rem .82rem; border-top: 1px solid #d9e6e2; }
.chat-form button { flex: 0 0 auto; }
.sticker-tray { padding: .45rem .79rem; display: flex; flex-wrap: wrap; gap: .38rem; }
.sticker-tray button { background: #f1f6f4; border: 1px solid #d9e6e3; border-radius: 5px; padding: 3px 7px; color: #3b6166; display: flex; align-items: center; font-size: .83rem; }
.sticker-tray button:hover { background: #e1efea; }

.desk-pet { position: absolute; z-index: 2; right: 5.5%; bottom: 5%; color: #e8f2f2; }
.pet-controls { display: flex; align-items: start; padding: 2px; }
.pet-open { background: #10283471; border: 1px solid #a9c8cd58; border-radius: 6px; color: inherit; width: 61px; min-height: 63px; padding: 0 2px 4px; display: grid; place-items: center; touch-action: none; cursor: grab; }
.pet-open:hover, .pet-open:focus-visible { background: #14313d; }
.desk-pet[data-state=dragging] .pet-open { cursor: grabbing; }
.pet-open img { margin-bottom: -8px; filter: drop-shadow(0 2px 1px #0b1824); }
.pet-open span { font-size: .83rem; letter-spacing: .06em; }
.pet-tuck { border: 0; background: #18323db3; border-radius: 3px; display: grid; place-items: center; color: #e1eeee; width: 23px; height: 24px; margin: 0 0 0 3px; }
.pet-tuck:hover { background: #315464; }
.pet-bubble { position: absolute; right: 0; bottom: calc(100% + 8px); width: max-content; max-width: 205px; padding: .39rem .63rem; background: #edf5f3; color: #244f55; border: 1px solid #769ca3; border-radius: 5px; font-size: .86rem; box-shadow: 0 4px 12px #13242e70; }
.desk-pet[data-bubble-side="left"] .pet-bubble { left: 0; right: auto; }
.desk-pet[data-bubble-edge="down"] .pet-bubble { top: calc(100% + 8px); bottom: auto; }
.pet-bubble-open { border: 0; background: transparent; color: #285958; padding: .18rem 0 .05rem; text-decoration: underline; text-underline-offset: .18em; }
.pet-menu { right: 1rem; width: min(217px, calc(100% - 2rem)); }
.pet-menu h2 { font-size: 1rem; margin: 0 .35rem .22rem; }
.pet-menu-actions { display: grid; }
.pet-menu-actions button { color: #e9f2f2; text-decoration: none; justify-content: start; padding-inline: .36rem; }
.pet-menu-actions button:hover { color: #fff; background: #254654; }
.assistant-pane { --soft: #455b59; --quiet: #506361; --accent-dark: #295a53; width: clamp(338px, 31vw, 418px); min-width: 0; display: flex; flex-direction: column; background: #f6f9f7; border-left: 1px solid #9eb8bd; color: var(--ink); }
.assistant-pane[data-dock="left"] { order: -1; border-left: 0; border-right: 1px solid #9eb8bd; }
.assist-header { display: flex; align-items: center; gap: .45rem; padding: .62rem .86rem; border-bottom: 1px solid #d4e2e2; background: #e7f0ef; cursor: grab; touch-action: none; user-select: none; }
.assistant-pane[data-dock-preview] .assist-header { background: #d6e8e4; cursor: grabbing; }
.assist-header h2 { font-size: 1.07rem; }
.assist-header p { font-size: .8rem; color: var(--muted); }
.assist-header .window-button { margin-left: auto; align-self: stretch; }
.assist-tabs { display: flex; flex-wrap: wrap; padding: .19rem .81rem .23rem; column-gap: .77rem; border-bottom: 1px solid #dce7e4; }
.assist-tabs .text-button { text-decoration: none; border-bottom: 2px solid transparent; border-radius: 0; min-height: 34px; white-space: nowrap; }
.assist-tabs .text-button[aria-current=page] { border-color: #6c9c9e; font-weight: 650; }
.assist-content { flex: 1; overflow: auto; padding: .94rem .88rem 1.4rem; }
.assist-content h3 { font-size: 1.02rem; margin: 0 0 .38rem; }
.assist-content > h3 ~ h3 { margin-top: .98rem; }
.assist-content p { overflow-wrap: anywhere; }
.assist-result { border-left: 2px solid #679183; background: #e9f2ed; padding: .46rem .57rem; margin: .4rem 0 .7rem; font-size: .92rem; }
.assist-result.mismatch { border-color: #a87c66; background: #f5eee6; }
.assistant-pane .proof-list { max-height: 34vh; }
.assistant-pane .statement-list { display: flex; gap: .18rem .62rem; flex-wrap: wrap; margin: .44rem 0 .66rem; }
.assistant-pane .statement-list [aria-pressed="true"] { color: #244f49; font-weight: 650; }
.assist-filter input[type="search"], .assist-content #sound-level { margin-bottom: .4rem; }
.assist-tabs .text-button[aria-current="page"] { font-weight: 650; }
.assist-content input[type="range"] { accent-color: #446f65; }
.assist-update { background: #e7f0ec; border-left: 2px solid #83a7a1; padding: .6rem .65rem; }
.assist-update strong { display: block; font-size: .9rem; margin-bottom: .2rem; }
.assist-content .plain-actions { margin: .35rem 0; }
.assist-muted, .assist-filter, .assist-label { color: var(--muted); font-size: .88rem; }
.assist-label { display: block; margin: 0 0 .34rem; }
.assist-help, .manual-clue { padding: .52rem 0; border-top: 1px solid #d7e6e2; border-bottom: 1px solid #d7e6e2; margin: .65rem 0; }
.assist-help summary, .manual-clue summary { cursor: pointer; color: #335e64; font-size: .91rem; }
.assist-help p { margin-top: .45rem; }
.assist-filter label:not(.inline-check) { display: block; margin-bottom: .28rem; }
.inline-check { display: flex; align-items: center; gap: .4rem; }
.inline-check input { accent-color: #407378; }
.manual-clue form { display: grid; gap: .33rem; margin-top: .55rem; }
.manual-clue form label { font-size: .86rem; color: var(--muted); }
.manual-clue form .solid-button { justify-self: start; }
.assist-records { margin-top: .55rem; }
.assist-record { padding: .61rem 0; border-bottom: 1px solid #d9e5e1; }
.assist-record h3 { margin-bottom: .25rem; }
.assist-record .assist-muted { margin-bottom: .34rem; }
.address-text, .timeline-time { font-family: Consolas, "Microsoft YaHei UI", monospace; font-variant-numeric: tabular-nums; }
.longread-deck { margin-top: .37rem; color: #435b60; }
.longread-photo { margin: .6rem 0 .75rem; }
.longread-photo img { width: 100%; height: clamp(130px, 25vh, 228px); object-fit: cover; object-position: 56% 52%; display: block; }
.longread-photo figcaption { color: var(--muted); font-size: .86rem; padding-top: .32rem; }
.longread-columns { columns: 2 16rem; column-gap: 1.35rem; column-rule: 1px solid var(--border); }
.longread-columns p { margin: 0 0 .44rem; }
.timeline-list { display: grid; gap: .7rem; list-style: none; padding: 0; margin: .54rem 0; }
.timeline-list li { border-left: 2px solid #9dbbb8; padding: .18rem 0 .24rem .63rem; }
.timeline-time { color: #426d71; font-size: .85rem; margin-bottom: .18rem; }
.timeline-list h4 { font-size: .96rem; margin-bottom: .15rem; }
.timeline-list input { min-height: 35px; font-size: .89rem; }
.reset-confirm { padding: .58rem; background: #f0e8e1; border-radius: 4px; margin-top: .55rem; }

.taskbar { position: relative; z-index: 6; display: flex; height: var(--task-height); min-height: var(--task-height); align-items: stretch; justify-content: space-between; background: #11232e; border-top: 1px solid #5c7d88; color: #e1edef; }
.task-apps { display: flex; align-items: stretch; gap: 1px; flex: 1; min-width: 0; }
.task-button, .tray-button {
  position: relative; border: 0; display: flex; align-items: center; justify-content: center; gap: .35rem;
  color: inherit; background: transparent; padding: 0 .69rem; font-size: .87rem; white-space: nowrap;
  transition: background-color 160ms ease-out;
}
.task-button:hover, .tray-button:hover, .task-button[aria-current=true], .tray-button[aria-expanded=true] { background: #243e4a; }
.task-button .glyph { --icon-size: 19px; }
.task-button[data-running=true]::after { position: absolute; content: ""; bottom: 1px; left: 10%; right: 10%; height: 2px; background: #83a7ae; }
.start-button { padding: 0 .77rem; border-right: 1px solid #29444f; }
.start-button .glyph { --icon-size: 19px; }
.task-dot { position: absolute; top: 10px; left: 24px; width: 5px; height: 5px; }
.tray { display: flex; align-items: stretch; min-width: 0; }
.tray-button { padding: 0 .56rem; }
.tray-button .glyph { --icon-size: 18px; }
.assistant-button[data-mood="focused"]::after, .assistant-button[data-mood="settled"]::after {
  position: absolute; content: ""; width: 5px; height: 5px; top: 9px; left: 22px;
  border: 1px solid #11232e; border-radius: 50%; pointer-events: none;
}
.assistant-button[data-mood="focused"]::after { background: #ceb47f; }
.assistant-button[data-mood="settled"]::after { background: #a9c4b7; }
.badge { position: absolute; top: 7px; right: 5px; background: #dbad78; color: #18303d; border-radius: 7px; line-height: 1.2; font-size: .75rem; padding: 0 3px; }
.tray-clock { display: grid; align-content: center; justify-items: end; min-width: 74px; padding: 0 .68rem .05rem .3rem; line-height: 1.27; font-size: .84rem; color: #edf4f4; font-variant-numeric: tabular-nums; }
.tray-clock small { font-size: .75rem; color: #c7d9de; }
.desk-popover { position: absolute; z-index: 7; bottom: calc(var(--task-height) + 3px); width: min(292px, calc(100% - 18px)); padding: .69rem; color: #eaf3f3; background: #162e3a; border: 1px solid #53737d; border-radius: 4px 4px 0 0; box-shadow: 0 10px 22px #0c1823a0; }
.start-menu { left: 5px; }
.start-menu header { display: flex; align-items: center; gap: .57rem; border-bottom: 1px solid #3b5863; padding: 0 .32rem .62rem; }
.start-menu header strong, .start-menu header small { display: block; }
.start-menu header small, .notification-menu p, .notification-menu button span { color: #c0d4d8; font-size: .85rem; }
.start-app-list { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: .5rem 0; }
.start-menu button, .notification-menu button { display: flex; gap: .42rem; align-items: center; background: transparent; color: inherit; border: 0; border-radius: 3px; text-align: left; min-height: 38px; padding: .28rem .42rem; font-size: .9rem; }
.start-menu button:hover, .notification-menu button:hover { background: #294652; }
.start-assistant { width: 100%; }
.notification-menu { right: 8px; }
.notification-menu h2 { font-size: 1rem; margin-bottom: .42rem; }
.notification-menu button { display: grid; width: 100%; justify-items: start; gap: .14rem; background: #25424e; }
.desk-noscript { margin: 10rem auto 0; width: 260px; padding: 12px; border-radius: 4px; background: #edf3f2; }

.desk-click-ring {
  position: absolute; z-index: 1; width: 23px; height: 23px; pointer-events: none;
  border: 1px solid #b4d8d0; border-radius: 50%;
  animation: desk-ring 190ms cubic-bezier(.22, .61, .36, 1) both;
}
[data-desk-press="icon"] { animation: desk-icon-press 130ms ease-out both; }
[data-desk-press="task"] { animation: desk-task-press 145ms ease-out both; }
[data-desk-press="window"] { animation: desk-window-press 150ms ease-out both; }
[data-desk-press="pet"] { animation: desk-pet-press 160ms ease-out both; }
@keyframes desk-ring {
  from { opacity: .28; transform: translate(-50%, -50%) scale(.45); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(1.35); }
}
@keyframes desk-icon-press {
  from { transform: translateY(1px); filter: brightness(.92); }
  to { transform: translateY(0); filter: brightness(1); }
}
@keyframes desk-task-press {
  from { filter: brightness(.88); }
  to { filter: brightness(1); }
}
@keyframes desk-window-press {
  from { box-shadow: inset 0 0 0 1px #27445026; }
  to { box-shadow: inset 0 0 0 1px #27445000; }
}
@keyframes desk-pet-press {
  from { transform: translateY(1px); filter: brightness(.90); }
  to { transform: translateY(0); filter: brightness(1); }
}
html[data-motion="reduced"] *, html[data-motion="reduced"] *::before, html[data-motion="reduced"] *::after { animation: none !important; transition: none !important; }
html[data-motion="reduced"] .desk-click-ring { display: none; }
.shortcut:active, .tray-button:active, .task-button:active, .pet-open:active { background-color: #294b59; }

@container workspace (max-width: 670px) {
  .workspace-window { --inset-window: 8px; --top-window: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
  .mail-layout { display: flex; flex-direction: column; }
  .mail-sidebar { display: grid; grid-template-columns: auto 1fr; flex: 0 0 auto; border: 0; border-bottom: 1px solid #dce5e5; }
  .mail-account { padding: 8px 10px; }
  .mail-folder-label { display: none; }
  .inbox-row { min-width: 0; padding: 7px 9px; align-content: center; }
  .inbox-row small { display: none; }
  .mail-article { flex: 1; min-height: 0; padding: 17px 18px 18px; }
  .search-page, .web-article { padding-inline: 20px; }
}
@media (max-width: 820px) {
  .task-word { display: none; }
  .task-button { min-width: 38px; }
}
@media (max-width: 680px) {
  :root { --task-height: 49px; }
  .desktop { background-position: 69% center; }
  .desktop-caption { top: 18px; left: 17px; }
  .shortcuts { top: 84px; left: 11px; grid-template-columns: repeat(2, minmax(74px, 1fr)); }
  .workspace-window:not(.active) { display: none; }
  .workspace-window { left: 7px !important; top: 7px !important; width: calc(100% - 14px); height: calc(100% - 14px); }
  .maximize-button { display: none; }
  .desk-layout:has(.assistant-pane:not([hidden])) .desktop { display: none; }
  .assistant-pane, .assistant-pane[data-dock="left"] { width: 100%; border: 0; }
  .assist-header { cursor: default; touch-action: auto; }
  .desk-pet { bottom: 24px; right: 20px; }
  .tray-word { display: none; }
  .tray-button { padding: 0 .37rem; }
  .task-button { min-width: 32px; padding-inline: .37rem; }
  .tray-clock { min-width: 61px; padding-right: .43rem; }
  .chat-form { padding-inline: .55rem; }
}
@media (min-width: 384px) and (max-width: 680px) {
  .assistant-button .tray-word { display: inline; }
}
@media (max-width: 375px) {
  .task-button { min-width: 29px; padding-inline: .34rem; }
  .tray-clock { min-width: 50px; }
  .tray-clock small { font-size: .68rem; }
  .mail-account .letter-avatar { display: none; }
  .mail-account { gap: 0; }
}
@media (max-height: 540px) and (min-width: 681px) {
  .shortcuts { grid-template-columns: repeat(2, minmax(62px, 1fr)); gap: 1px; top: 77px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .desk-click-ring { display: none; }
}
