| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929 |
- :root {
- color-scheme: light;
- font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
- --paper: #f4f0e7;
- --paper-deep: #e9e2d5;
- --paper-soft: rgba(255, 252, 244, 0.72);
- --ink: #20231f;
- --muted: #686d61;
- --line: rgba(82, 83, 72, 0.2);
- --line-strong: rgba(70, 77, 63, 0.34);
- --moss: #6c7666;
- --moss-deep: #3f4d3f;
- --clay: #8b7762;
- --ash: #d8d2c5;
- --charcoal: #2f302c;
- --danger: #8c3b32;
- --warning: #a27b3f;
- --shadow: 0 8px 18px rgba(38, 35, 28, 0.06);
- }
- * {
- box-sizing: border-box;
- }
- html {
- min-height: 100%;
- }
- body {
- margin: 0;
- min-height: 100vh;
- color: var(--ink);
- background:
- linear-gradient(90deg, rgba(76, 87, 69, 0.04) 1px, transparent 1px),
- linear-gradient(rgba(76, 87, 69, 0.035) 1px, transparent 1px),
- linear-gradient(135deg, #f7f3eb 0%, #ece6d9 52%, #f3eee4 100%);
- background-size: 44px 44px, 44px 44px, 100% 100%;
- overflow-x: hidden;
- }
- body::before {
- content: "";
- position: fixed;
- inset: 0;
- pointer-events: none;
- z-index: 0;
- background:
- repeating-linear-gradient(11deg, rgba(72, 68, 58, 0.025) 0 1px, transparent 1px 7px),
- repeating-linear-gradient(96deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 9px);
- opacity: 0.7;
- }
- button,
- textarea {
- font: inherit;
- }
- button {
- transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, opacity 220ms ease;
- }
- button:hover,
- button:focus-visible {
- border-color: var(--moss-deep);
- outline: none;
- }
- .paper-grain {
- position: fixed;
- inset: 0;
- z-index: 0;
- pointer-events: none;
- background-image:
- radial-gradient(circle at 12% 18%, rgba(61, 64, 55, 0.035) 0 1px, transparent 1px),
- radial-gradient(circle at 74% 28%, rgba(61, 64, 55, 0.028) 0 1px, transparent 1px),
- radial-gradient(circle at 42% 80%, rgba(61, 64, 55, 0.026) 0 1px, transparent 1px);
- background-size: 28px 31px, 39px 43px, 47px 53px;
- mix-blend-mode: multiply;
- }
- .top-nav {
- position: sticky;
- top: 0;
- z-index: 20;
- min-height: 74px;
- padding: 14px 28px;
- display: grid;
- grid-template-columns: minmax(230px, auto) 1fr minmax(210px, auto);
- align-items: center;
- gap: 22px;
- border-bottom: 1px solid var(--line);
- background: rgba(246, 241, 231, 0.9);
- backdrop-filter: blur(10px);
- }
- .brand {
- display: flex;
- gap: 13px;
- align-items: center;
- min-width: 0;
- }
- .brand img {
- width: 42px;
- height: 42px;
- border-radius: 6px;
- object-fit: cover;
- border: 1px solid rgba(58, 63, 53, 0.18);
- filter: saturate(0.72) contrast(0.96);
- }
- .brand strong {
- display: block;
- font-size: 18px;
- line-height: 1.2;
- font-weight: 700;
- letter-spacing: 0;
- }
- .brand span,
- .session-card span {
- display: block;
- margin-top: 4px;
- color: var(--muted);
- font-size: 12px;
- font-weight: 500;
- letter-spacing: 0;
- }
- .nav {
- display: flex;
- justify-content: center;
- gap: 10px;
- }
- .nav-item {
- min-width: 68px;
- border: 1px solid transparent;
- border-radius: 999px;
- padding: 8px 17px;
- color: var(--charcoal);
- background: transparent;
- text-align: center;
- cursor: pointer;
- font-weight: 600;
- }
- .nav-item.active {
- border-color: var(--line-strong);
- background: rgba(255, 252, 244, 0.58);
- }
- .nav-item:hover {
- background: rgba(255, 252, 244, 0.72);
- }
- .session-card {
- justify-self: end;
- min-width: 210px;
- padding: 10px 12px;
- border: 1px solid var(--line);
- border-radius: 8px;
- display: flex;
- align-items: center;
- gap: 10px;
- background: rgba(255, 252, 244, 0.58);
- }
- .session-card strong {
- font-size: 15px;
- font-weight: 700;
- }
- .status-dot {
- width: 10px;
- height: 10px;
- border-radius: 999px;
- background: var(--warning);
- flex: 0 0 auto;
- box-shadow: 0 0 0 4px rgba(162, 123, 63, 0.1);
- }
- .status-dot.ok {
- background: var(--moss);
- box-shadow: 0 0 0 4px rgba(108, 118, 102, 0.12);
- }
- .status-dot.error {
- background: var(--danger);
- box-shadow: 0 0 0 4px rgba(140, 59, 50, 0.12);
- }
- .shell {
- position: relative;
- z-index: 1;
- width: min(1460px, calc(100% - 48px));
- margin: 0 auto;
- padding: 24px 0 32px;
- }
- .hero {
- min-height: 176px;
- display: grid;
- grid-template-columns: minmax(0, 1fr) 280px;
- gap: 16px;
- align-items: stretch;
- margin-bottom: 16px;
- }
- .hero-copy,
- .hero-panel,
- .feature-card,
- .chat-card,
- .panel {
- border: 1px solid var(--line);
- background: var(--paper-soft);
- box-shadow: var(--shadow);
- }
- .hero-copy {
- position: relative;
- overflow: hidden;
- border-radius: 8px;
- padding: 28px 32px;
- }
- .hero-copy::after {
- content: "";
- position: absolute;
- right: 28px;
- bottom: 24px;
- width: 190px;
- height: 1px;
- background: linear-gradient(90deg, transparent, rgba(63, 77, 63, 0.42), transparent);
- }
- .eyebrow {
- display: inline-flex;
- align-items: center;
- min-height: 28px;
- padding: 3px 10px;
- border: 1px solid rgba(139, 119, 98, 0.45);
- border-radius: 3px;
- background: rgba(244, 240, 231, 0.72);
- color: var(--clay);
- font-size: 13px;
- font-weight: 600;
- }
- .hero h1 {
- margin: 18px 0 10px;
- max-width: 860px;
- font-size: 36px;
- line-height: 1.18;
- font-weight: 700;
- letter-spacing: 0;
- color: var(--charcoal);
- }
- .hero p {
- margin: 0;
- max-width: 760px;
- color: #44483f;
- font-size: 15px;
- line-height: 1.85;
- }
- .hero-actions {
- display: flex;
- flex-wrap: wrap;
- align-items: center;
- gap: 12px;
- margin-top: 22px;
- }
- .chrome-button,
- .system-pill {
- border-radius: 3px;
- font-weight: 600;
- }
- .chrome-button {
- min-height: 38px;
- padding: 0 18px;
- color: #f7f3eb;
- border: 1px solid var(--moss-deep);
- background: var(--moss-deep);
- cursor: pointer;
- }
- .chrome-button:hover,
- .chrome-button:focus-visible {
- background: #354236;
- }
- .system-pill {
- display: inline-flex;
- align-items: center;
- min-height: 38px;
- padding: 0 14px;
- border: 1px solid var(--line);
- color: var(--muted);
- background: rgba(255, 252, 244, 0.52);
- font-size: 13px;
- }
- .hero-panel {
- position: relative;
- overflow: hidden;
- border-radius: 8px;
- padding: 24px;
- display: grid;
- grid-template-rows: 1fr auto auto;
- align-items: center;
- justify-items: center;
- background:
- linear-gradient(150deg, rgba(255, 252, 244, 0.78), rgba(224, 219, 205, 0.58)),
- var(--paper-deep);
- }
- .seal-mark {
- width: 104px;
- height: 104px;
- border-radius: 7px;
- display: grid;
- place-items: center;
- border: 1px solid rgba(83, 69, 55, 0.24);
- background: rgba(255, 252, 244, 0.56);
- transform: rotate(-1.5deg);
- }
- .seal-mark img {
- width: 76px;
- height: 76px;
- border-radius: 50%;
- object-fit: cover;
- filter: saturate(0.68) contrast(0.94);
- }
- .brush-line {
- width: 84%;
- height: 2px;
- margin-top: 14px;
- background: linear-gradient(90deg, transparent, rgba(63, 77, 63, 0.46), rgba(139, 119, 98, 0.34), transparent);
- opacity: 0.8;
- }
- .mini-display {
- margin-top: 14px;
- width: 100%;
- padding: 12px 14px;
- border-top: 1px solid rgba(82, 83, 72, 0.16);
- color: var(--charcoal);
- }
- .mini-display span,
- .mini-display strong {
- display: block;
- text-align: center;
- }
- .mini-display span {
- color: var(--muted);
- font-size: 13px;
- }
- .mini-display strong {
- margin-top: 4px;
- font-size: 22px;
- font-weight: 700;
- }
- .feature-strip {
- display: grid;
- grid-template-columns: repeat(4, minmax(0, 1fr));
- gap: 12px;
- margin-bottom: 16px;
- }
- .feature-card {
- position: relative;
- border-radius: 8px;
- padding: 18px 18px 16px;
- min-height: 104px;
- }
- .feature-card::before {
- content: "";
- position: absolute;
- left: 18px;
- top: 0;
- width: 42px;
- height: 2px;
- background: rgba(108, 118, 102, 0.5);
- }
- .feature-card strong {
- display: block;
- margin-top: 4px;
- font-size: 18px;
- font-weight: 700;
- }
- .feature-card p {
- margin: 8px 0 0;
- color: var(--muted);
- font-size: 13px;
- line-height: 1.65;
- }
- .workspace {
- display: grid;
- grid-template-columns: minmax(620px, 1fr) 360px;
- gap: 16px;
- align-items: stretch;
- }
- .chat-card,
- .panel {
- border-radius: 8px;
- }
- .chat-card {
- min-height: calc(100vh - 366px);
- display: grid;
- grid-template-rows: auto minmax(360px, 1fr) auto;
- overflow: hidden;
- }
- .window-bar {
- min-height: 46px;
- padding: 0 18px;
- display: flex;
- align-items: center;
- gap: 10px;
- border-bottom: 1px solid var(--line);
- background: rgba(236, 230, 217, 0.64);
- }
- .window-bar span {
- width: 12px;
- height: 12px;
- border-radius: 2px;
- border: 1px solid rgba(139, 119, 98, 0.55);
- background: rgba(139, 119, 98, 0.16);
- transform: rotate(4deg);
- }
- .window-bar strong {
- color: var(--muted);
- font-size: 13px;
- font-weight: 600;
- letter-spacing: 0.02em;
- }
- .messages {
- padding: 22px;
- overflow: auto;
- scroll-behavior: smooth;
- }
- .message-row {
- display: grid;
- grid-template-columns: 38px minmax(0, 1fr);
- gap: 12px;
- margin-bottom: 18px;
- }
- .message-row.user {
- grid-template-columns: minmax(0, 1fr) 38px;
- }
- .avatar {
- width: 38px;
- height: 38px;
- border-radius: 7px;
- background: rgba(255, 252, 244, 0.62);
- color: var(--moss-deep);
- display: grid;
- place-items: center;
- font-size: 14px;
- font-weight: 700;
- overflow: hidden;
- border: 1px solid var(--line);
- }
- .avatar img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- filter: saturate(0.7) contrast(0.95);
- }
- .bubble {
- width: min(100%, 820px);
- border-radius: 8px;
- padding: 15px 17px;
- background: rgba(255, 252, 244, 0.62);
- border: 1px solid rgba(82, 83, 72, 0.14);
- line-height: 1.78;
- white-space: pre-wrap;
- color: var(--ink);
- }
- .message-row.user .bubble {
- justify-self: end;
- background: rgba(232, 237, 225, 0.72);
- border-color: rgba(108, 118, 102, 0.24);
- }
- .message-row.user .avatar {
- grid-column: 2;
- grid-row: 1;
- }
- .message-row.user .bubble {
- grid-column: 1;
- grid-row: 1;
- }
- .progress-bubble {
- display: grid;
- gap: 6px;
- width: min(100%, 560px);
- background: rgba(245, 243, 236, 0.78);
- }
- .progress-title {
- display: block;
- color: var(--moss-deep);
- font-size: 15px;
- font-weight: 700;
- }
- .progress-detail {
- display: block;
- color: var(--muted);
- font-size: 13px;
- line-height: 1.55;
- }
- .typing {
- display: inline-flex;
- align-items: center;
- gap: 6px;
- white-space: nowrap;
- font-weight: 600;
- color: var(--moss-deep);
- }
- .typing i {
- width: 5px;
- height: 5px;
- border-radius: 50%;
- background: var(--moss);
- animation: pulse 1.3s infinite ease-in-out;
- }
- .typing i:nth-child(2) {
- animation-delay: 0.16s;
- }
- .typing i:nth-child(3) {
- animation-delay: 0.32s;
- }
- @keyframes pulse {
- 0%,
- 80%,
- 100% {
- opacity: 0.25;
- }
- 40% {
- opacity: 1;
- }
- }
- .table-card {
- margin-top: 14px;
- border: 1px solid var(--line);
- border-radius: 8px;
- background: rgba(255, 252, 244, 0.76);
- overflow: hidden;
- }
- .table-head {
- display: flex;
- justify-content: space-between;
- align-items: center;
- gap: 10px;
- padding: 11px 13px;
- background: rgba(232, 226, 213, 0.58);
- border-bottom: 1px solid var(--line);
- }
- .table-head strong {
- font-size: 14px;
- font-weight: 700;
- }
- .table-head button {
- border: 1px solid var(--line-strong);
- background: rgba(255, 252, 244, 0.58);
- color: var(--moss-deep);
- border-radius: 3px;
- padding: 6px 11px;
- cursor: pointer;
- white-space: nowrap;
- font-weight: 600;
- }
- .table-wrap {
- overflow: auto;
- max-height: 430px;
- }
- table {
- width: 100%;
- min-width: 700px;
- border-collapse: collapse;
- font-size: 13px;
- }
- th,
- td {
- border-bottom: 1px solid rgba(82, 83, 72, 0.14);
- padding: 10px 12px;
- text-align: left;
- vertical-align: top;
- word-break: break-word;
- }
- th {
- position: sticky;
- top: 0;
- z-index: 1;
- background: #eee8dc;
- color: var(--charcoal);
- font-weight: 700;
- }
- tbody tr:nth-child(even) {
- background: rgba(237, 232, 221, 0.42);
- }
- .composer {
- margin: 0 22px 22px;
- border: 1px solid var(--line);
- border-radius: 8px;
- padding: 11px;
- background: rgba(255, 252, 244, 0.68);
- }
- .composer:focus-within {
- border-color: var(--moss);
- }
- .composer textarea {
- width: 100%;
- min-height: 76px;
- max-height: 190px;
- border: 0;
- outline: 0;
- resize: vertical;
- color: var(--ink);
- background: transparent;
- }
- .composer textarea::placeholder {
- color: #75786e;
- }
- .composer-footer {
- display: flex;
- justify-content: space-between;
- align-items: center;
- color: var(--muted);
- font-size: 12px;
- }
- .send-button {
- border: 1px solid var(--moss-deep);
- border-radius: 4px;
- min-width: 96px;
- height: 40px;
- padding: 0 16px;
- background: var(--moss-deep);
- color: #f7f3eb;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- gap: 8px;
- cursor: pointer;
- font-weight: 600;
- }
- .send-button:hover,
- .send-button:focus-visible {
- background: #354236;
- }
- .send-button:disabled {
- cursor: not-allowed;
- opacity: 0.64;
- }
- .send-icon,
- .send-text {
- white-space: nowrap;
- }
- .inspector {
- display: grid;
- align-content: start;
- gap: 14px;
- max-height: calc(100vh - 210px);
- overflow: auto;
- }
- .panel {
- padding: 16px;
- }
- .panel-title {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 12px;
- margin-bottom: 12px;
- }
- .panel h2 {
- margin: 0;
- font-size: 18px;
- font-weight: 700;
- }
- .player-screen {
- margin-bottom: 14px;
- border-radius: 7px;
- padding: 14px;
- background: rgba(47, 48, 44, 0.94);
- color: #f4f0e7;
- border: 1px solid rgba(47, 48, 44, 0.14);
- }
- .player-screen span,
- .player-screen strong {
- display: block;
- }
- .player-screen span {
- color: #c8c0b0;
- font-size: 12px;
- font-weight: 500;
- }
- .player-screen strong {
- margin-top: 5px;
- font-size: 18px;
- font-weight: 700;
- }
- .kv {
- display: grid;
- gap: 12px;
- margin: 0;
- }
- .kv div {
- display: grid;
- grid-template-columns: 86px minmax(0, 1fr);
- gap: 8px;
- }
- .kv dt {
- color: var(--muted);
- font-weight: 500;
- }
- .kv dd {
- margin: 0;
- font-weight: 700;
- word-break: break-all;
- }
- .tool-list,
- .trace-list {
- display: grid;
- gap: 9px;
- }
- .tool-item,
- .trace-item {
- border: 1px solid rgba(82, 83, 72, 0.14);
- border-radius: 7px;
- padding: 11px;
- background: rgba(255, 252, 244, 0.52);
- }
- .tool-item strong,
- .trace-item strong {
- display: block;
- font-size: 14px;
- font-weight: 700;
- }
- .tool-item span,
- .trace-item span {
- display: block;
- color: var(--muted);
- font-size: 12px;
- margin-top: 4px;
- word-break: break-word;
- line-height: 1.5;
- }
- .phase-error strong {
- color: var(--danger);
- }
- @media (max-width: 1180px) {
- .top-nav {
- grid-template-columns: 1fr;
- }
- .session-card {
- justify-self: stretch;
- }
- .nav {
- justify-content: flex-start;
- overflow-x: auto;
- }
- .hero,
- .workspace {
- grid-template-columns: 1fr;
- }
- .hero-panel {
- min-height: 180px;
- }
- .feature-strip {
- grid-template-columns: repeat(2, minmax(0, 1fr));
- }
- .inspector {
- max-height: none;
- }
- }
- @media (max-width: 720px) {
- .top-nav {
- padding: 12px;
- gap: 12px;
- }
- .shell {
- width: min(100% - 20px, 1460px);
- padding-top: 12px;
- }
- .hero-copy {
- padding: 18px;
- }
- .hero h1 {
- font-size: 30px;
- }
- .hero p {
- font-size: 14px;
- line-height: 1.7;
- }
- .hero-actions {
- margin-top: 14px;
- }
- .hero-panel {
- display: none;
- }
- .feature-strip {
- grid-template-columns: repeat(2, minmax(0, 1fr));
- gap: 10px;
- }
- .feature-card {
- min-height: auto;
- padding: 14px;
- }
- .feature-card strong {
- font-size: 16px;
- }
- .feature-card p {
- font-size: 12px;
- }
- .chat-card {
- min-height: 620px;
- }
- .message-row,
- .message-row.user {
- grid-template-columns: 1fr;
- }
- .message-row .avatar,
- .message-row.user .avatar {
- display: none;
- }
- .message-row.user .bubble,
- .message-row.user .avatar {
- grid-column: auto;
- grid-row: auto;
- }
- }
- @media (max-width: 480px) {
- .feature-strip {
- grid-template-columns: 1fr;
- }
- }
|