/* ============================================================
   智枢数字员工服务门户 · Editorial / Warm Ivory / Vermilion
   ============================================================ */
:root {
  --p-ink: #12151f;
  --p-ink-2: #1c2030;
  --p-ivory: #f7f4ed;
  --p-ivory-2: #f1ede3;
  --p-card: #fffdf9;
  --p-line: #e2dccf;
  --p-text: #1b1d26;
  --p-muted: #757264;
  --p-muted-2: #9c978a;
  --p-accent: #d95d39;
  --p-accent-2: #e98a63;
  --p-indigo: #4f46b8;
  --p-sage: #6c8a76;
  --p-serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --p-sans: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --p-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --p-radius: 18px;
  --p-shadow: 0 18px 50px rgba(27, 24, 15, .08);
  --p-shadow-lg: 0 30px 80px rgba(27, 24, 15, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--p-sans); color: var(--p-text); background: var(--p-ivory);
  background-image: radial-gradient(900px 420px at 90% 0%, rgba(217, 93, 57, .07), transparent 60%), radial-gradient(700px 400px at 0% 30%, rgba(79, 70, 184, .05), transparent 60%);
  font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
::selection { background: rgba(217, 93, 57, .18); }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: #ccc5b6; border-radius: 8px; }
.ic { width: 18px; height: 18px; flex: 0 0 auto; }
.ic-sm { width: 15px; height: 15px; }
.ic-lg { width: 26px; height: 26px; }

.p-container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- Nav ---------- */
.p-nav { position: sticky; top: 0; z-index: 50; background: rgba(247, 244, 237, .84); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(27, 24, 15, .08); }
.p-nav-inner { height: 72px; display: flex; align-items: center; gap: 40px; }
.p-logo { display: flex; align-items: center; gap: 11px; }
.p-logo-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--p-ink); display: grid; place-items: center; box-shadow: 0 8px 18px rgba(18, 21, 31, .18); }
.p-logo-mark svg { width: 23px; height: 23px; }
.p-logo b { font-size: 17px; letter-spacing: .2em; font-weight: 700; }
.p-logo small { display: block; font-family: var(--p-mono); font-size: 8px; letter-spacing: .12em; color: var(--p-muted-2); margin-top: 1px; }
.p-nav-links { display: flex; align-items: center; gap: 26px; font-size: 12.5px; color: #4c4c45; }
.p-nav-links a { position: relative; padding: 5px 0; }
.p-nav-links a:hover, .p-nav-links a.active { color: var(--p-ink); }
.p-nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--p-accent); border-radius: 2px; }
.p-nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.p-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font-size: 12.5px; font-weight: 600; transition: .2s; cursor: pointer; background: none; white-space: nowrap; }
.p-btn .ic { width: 16px; height: 16px; }
.p-btn-primary { background: var(--p-ink); color: #fff8ee; box-shadow: 0 10px 24px rgba(18, 21, 31, .18); }
.p-btn-primary:hover { transform: translateY(-1px); background: #202533; box-shadow: 0 14px 30px rgba(18, 21, 31, .24); }
.p-btn-accent { background: var(--p-accent); color: #fff; box-shadow: 0 10px 24px rgba(217, 93, 57, .24); }
.p-btn-accent:hover { transform: translateY(-1px); background: #c9502e; }
.p-btn-line { border-color: rgba(27, 24, 15, .18); color: var(--p-ink); }
.p-btn-line:hover { border-color: var(--p-ink); background: rgba(18, 21, 31, .04); }
.p-btn-ghost { color: var(--p-muted); }
.p-btn-ghost:hover { color: var(--p-ink); background: rgba(18, 21, 31, .04); }
.p-btn-sm { height: 34px; padding: 0 13px; font-size: 11.5px; }
.p-btn-block { width: 100%; }
.p-userchip { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 13px 0 5px; border: 1px solid var(--p-line); border-radius: 999px; background: rgba(255, 253, 249, .7); font-size: 11.5px; }
.p-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; display: inline-grid; place-items: center; background: #e9e2d4; color: var(--p-ink); font-size: 11px; font-weight: 600; }
.p-mobile-toggle { display: none; background: none; border: 0; }

/* ---------- Hero ---------- */
.p-hero { position: relative; overflow: hidden; padding: 72px 0 60px; }
.p-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(27, 24, 15, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(27, 24, 15, .035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(circle at 60% 40%, #000, transparent 75%); pointer-events: none; }
.p-hero-inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.p-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--p-mono); font-size: 10px; letter-spacing: .18em; color: var(--p-accent); }
.p-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--p-accent); }
.p-display { font-family: var(--p-serif); font-size: 58px; line-height: 1.16; letter-spacing: -.035em; font-weight: 700; margin: 20px 0 20px; }
.p-display em { font-style: normal; position: relative; color: var(--p-accent); }
.p-display em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 9px; background: rgba(217, 93, 57, .13); z-index: -1; }
.p-lead { font-size: 14px; line-height: 1.9; color: var(--p-muted); max-width: 480px; }
.p-hero-cta { display: flex; gap: 11px; margin-top: 28px; flex-wrap: wrap; }
.p-hero-meta { display: flex; gap: 30px; margin-top: 38px; flex-wrap: wrap; }
.p-metric b { font-family: var(--p-serif); font-size: 27px; font-weight: 700; display: block; line-height: 1.1; }
.p-metric b small { font-family: var(--p-sans); font-size: 11px; font-weight: 500; color: var(--p-muted); margin-left: 2px; }
.p-metric span { font-size: 10px; color: var(--p-muted-2); letter-spacing: .04em; }

.p-hero-art { position: relative; height: 470px; }
.orbit-stage { position: absolute; inset: 0; display: grid; place-items: center; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(27, 24, 15, .10); }
.orbit-ring.r1 { width: 300px; height: 300px; }
.orbit-ring.r2 { width: 400px; height: 400px; border-style: dashed; opacity: .7; }
.orbit-ring.r3 { width: 470px; height: 470px; opacity: .45; }
.orbit-core { width: 138px; height: 138px; border-radius: 50%; background: var(--p-ink); display: grid; place-items: center; color: #fff; box-shadow: 0 30px 60px rgba(18, 21, 31, .28), 0 0 0 12px rgba(18, 21, 31, .04); animation: pFloat 6s ease-in-out infinite; }
.orbit-core span { font-family: var(--p-serif); font-size: 21px; letter-spacing: .1em; }
.orbit-core small { display: block; text-align: center; font-family: var(--p-mono); font-size: 7.5px; letter-spacing: .16em; color: rgba(255, 248, 238, .5); margin-top: 4px; }
.orbit-agent { position: absolute; width: 62px; height: 62px; border-radius: 50%; border: 2px solid var(--p-ivory); box-shadow: 0 8px 22px rgba(27, 24, 15, .16); object-fit: cover; }
.orbit-agent.a1 { top: 18px; left: 50%; transform: translateX(-50%); }
.orbit-agent.a2 { right: 18px; top: 38%; }
.orbit-agent.a3 { bottom: 38px; right: 21%; }
.orbit-agent.a4 { bottom: 20px; left: 38%; }
.orbit-agent.a5 { left: 10px; top: 40%; }
.orbit-agent.a6 { left: 24%; top: 18%; }
.orbit-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--p-accent); box-shadow: 0 0 0 5px rgba(217, 93, 57, .12); }
.orbit-dot.d1 { top: 50%; right: 6%; }
.orbit-dot.d2 { bottom: 12%; left: 20%; background: var(--p-sage); box-shadow: 0 0 0 5px rgba(108, 138, 118, .12); }
.float-card { position: absolute; background: rgba(255, 253, 249, .94); border: 1px solid rgba(27, 24, 15, .09); border-radius: 13px; padding: 10px 13px; box-shadow: var(--p-shadow); backdrop-filter: blur(8px); font-size: 10px; color: var(--p-muted); animation: pFloat 7s ease-in-out infinite; }
.float-card b { display: block; font-family: var(--p-serif); font-size: 17px; color: var(--p-ink); margin-top: 2px; }
.float-card.f1 { left: -6px; top: 56px; animation-delay: -1s; }
.float-card.f2 { right: -10px; bottom: 92px; animation-delay: -3s; }
.float-card .fc-top { display: flex; align-items: center; gap: 6px; font-family: var(--p-mono); font-size: 8px; letter-spacing: .08em; color: var(--p-muted-2); }
.float-card .fc-top i { width: 5px; height: 5px; border-radius: 50%; background: var(--p-sage); }

/* ---------- Sections ---------- */
.p-section { padding: 84px 0; }
.p-section.tinted { background: var(--p-ivory-2); border-top: 1px solid rgba(27, 24, 15, .06); border-bottom: 1px solid rgba(27, 24, 15, .06); }
.p-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.p-sec-head .p-index { font-family: var(--p-mono); font-size: 10px; letter-spacing: .16em; color: var(--p-accent); display: block; margin-bottom: 10px; }
.p-sec-head h2 { font-family: var(--p-serif); font-size: 37px; letter-spacing: -.02em; line-height: 1.3; }
.p-sec-head p { font-size: 12.5px; color: var(--p-muted); max-width: 390px; line-height: 1.85; }
.p-link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; border-bottom: 1px solid var(--p-ink); padding-bottom: 3px; white-space: nowrap; }

/* Capabilities */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cap-card { position: relative; overflow: hidden; padding: 24px 22px; background: var(--p-card); border: 1px solid rgba(27, 24, 15, .09); border-radius: var(--p-radius); transition: .25s; }
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--p-shadow); border-color: rgba(217, 93, 57, .25); }
.cap-card::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 110px; height: 110px; border-radius: 50%; background: rgba(217, 93, 57, .05); }
.cap-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--p-ink); color: #fff8ee; margin-bottom: 16px; }
.cap-card h3 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.cap-card p { font-size: 11px; color: var(--p-muted); line-height: 1.75; margin-top: 7px; min-height: 58px; }
.cap-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.cap-tag { font-size: 9.5px; padding: 3px 8px; border-radius: 999px; background: var(--p-ivory); color: #706b5e; border: 1px solid var(--p-line); }

/* Agent cards */
.p-agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.p-agent-card { position: relative; overflow: hidden; background: var(--p-card); border: 1px solid rgba(27, 24, 15, .09); border-radius: var(--p-radius); padding: 20px; transition: .25s; }
.p-agent-card:hover { transform: translateY(-3px); box-shadow: var(--p-shadow); }
.pa-top { display: flex; align-items: flex-start; gap: 13px; }
.pa-photo { width: 62px; height: 62px; border-radius: 16px; object-fit: cover; border: 1px solid rgba(27, 24, 15, .08); }
.pa-info { flex: 1; min-width: 0; }
.pa-info h3 { font-size: 16px; font-family: var(--p-serif); letter-spacing: .01em; }
.pa-info p { font-size: 10.5px; color: var(--p-muted); margin-top: 2px; }
.pa-status { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; color: var(--p-sage); background: rgba(108, 138, 118, .1); border-radius: 999px; padding: 2px 7px; margin-top: 6px; }
.pa-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--p-sage); }
.pa-status.busy { color: #b07a1f; background: rgba(226, 166, 59, .12); }
.pa-status.busy i { background: #d1952c; }
.pa-status.off { color: #a05a63; background: rgba(217, 93, 57, .1); }
.pa-status.off i { background: var(--p-accent); }
.pa-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 14px 0; min-height: 44px; }
.pa-tag { font-size: 9.5px; padding: 3px 8px; border-radius: 5px; background: var(--p-ivory); color: #6b675b; }
.pa-foot { display: flex; align-items: center; gap: 14px; padding-top: 12px; border-top: 1px dashed var(--p-line); }
.pa-metric b { font-family: var(--p-serif); font-size: 15px; display: block; }
.pa-metric span { font-size: 8.5px; color: var(--p-muted-2); }
.pa-arrow { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--p-line); display: grid; place-items: center; color: var(--p-muted); transition: .2s; }
.p-agent-card:hover .pa-arrow { background: var(--p-ink); color: #fff; border-color: var(--p-ink); }

/* Process */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step-item { position: relative; padding: 0 26px; border-left: 1px solid rgba(27, 24, 15, .1); }
.step-item:first-child { border-left: 0; padding-left: 0; }
.step-num { font-family: var(--p-serif); font-size: 34px; color: rgba(27, 24, 15, .14); line-height: 1; }
.step-item h4 { font-size: 14px; margin-top: 10px; font-weight: 700; }
.step-item p { font-size: 10.5px; color: var(--p-muted); margin-top: 5px; line-height: 1.75; }

/* Dark band */
.p-band { background: var(--p-ink); color: #f6f1e6; padding: 54px 0; position: relative; overflow: hidden; }
.p-band::before { content: ""; position: absolute; right: -100px; top: -160px; width: 460px; height: 460px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .07); box-shadow: 0 0 0 60px rgba(255,255,255,.018), 0 0 0 140px rgba(255,255,255,.014); }
.p-band-inner { position: relative; display: flex; align-items: center; gap: 60px; }
.p-band-copy { flex: 1; }
.p-band-copy .p-index { color: var(--p-accent-2); }
.p-band-copy h2 { font-family: var(--p-serif); font-size: 34px; line-height: 1.35; letter-spacing: -.02em; }
.p-band-copy p { font-size: 11.5px; color: rgba(246, 241, 230, .5); margin-top: 8px; }
.p-band-metrics { display: flex; gap: 46px; }
.p-band-metric b { font-family: var(--p-serif); font-size: 34px; display: block; }
.p-band-metric b small { font-family: var(--p-sans); font-size: 11px; color: rgba(246,241,230,.45); margin-left: 2px; }
.p-band-metric span { font-size: 9.5px; color: rgba(246, 241, 230, .42); letter-spacing: .05em; }

/* CTA */
.p-cta { padding: 80px 0; }
.p-cta-inner { position: relative; overflow: hidden; border-radius: 26px; padding: 48px 52px; background: linear-gradient(120deg, #f3e7d8, #fbf8f1 55%, #ece8f6); border: 1px solid rgba(27, 24, 15, .08); display: flex; align-items: center; gap: 40px; }
.p-cta-inner::after { content: ""; position: absolute; right: -60px; top: -80px; width: 300px; height: 300px; border-radius: 50%; border: 1px dashed rgba(27, 24, 15, .12); }
.p-cta-inner h2 { font-family: var(--p-serif); font-size: 36px; line-height: 1.35; letter-spacing: -.02em; }
.p-cta-inner p { font-size: 11.5px; color: var(--p-muted); margin-top: 8px; }
.p-cta-actions { margin-left: auto; display: flex; gap: 10px; position: relative; z-index: 1; flex-wrap: wrap; }

/* Footer */
.p-footer { background: var(--p-ink); color: rgba(246, 241, 230, .62); padding: 54px 0 28px; }
.p-footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.p-footer .p-logo b { color: #f6f1e6; }
.p-footer .p-logo small { color: rgba(246, 241, 230, .3); }
.p-footer-desc { font-size: 10.5px; line-height: 1.9; margin-top: 14px; max-width: 300px; }
.p-footer h4 { font-size: 10.5px; letter-spacing: .12em; color: rgba(246, 241, 230, .9); margin-bottom: 13px; }
.p-footer li { font-size: 10.5px; padding: 4px 0; }
.p-footer li a:hover { color: #fff; }
.p-footer-bottom { display: flex; align-items: center; gap: 20px; padding-top: 20px; font-size: 9.5px; color: rgba(246, 241, 230, .32); flex-wrap: wrap; }
.p-footer-bottom .spacer { flex: 1; }

/* ---------- Auth ---------- */
.p-auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.p-auth-art { position: relative; overflow: hidden; background: var(--p-ivory-2); padding: 44px 52px; display: flex; flex-direction: column; border-right: 1px solid rgba(27, 24, 15, .08); }
.p-auth-art .p-logo { position: relative; z-index: 2; }
.p-auth-artcopy { position: relative; z-index: 2; margin-top: auto; }
.p-auth-artcopy .p-display { font-size: 46px; margin: 16px 0; }
.p-auth-artcopy p { font-size: 12.5px; color: var(--p-muted); max-width: 420px; line-height: 1.9; }
.p-auth-artwork { position: relative; flex: 1; margin: 26px 0; min-height: 260px; }
.p-auth-orbit { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgba(27, 24, 15, .18); }
.p-auth-orbit::after { content: ""; position: absolute; left: 50%; top: 50%; width: 180px; height: 180px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(27, 24, 15, .1); }
.p-auth-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 108px; height: 108px; border-radius: 50%; background: var(--p-ink); color: #fff8ee; display: grid; place-items: center; font-family: var(--p-serif); font-size: 18px; letter-spacing: .08em; box-shadow: 0 20px 40px rgba(18,21,31,.24); }
.p-auth-form-side { display: grid; place-items: center; padding: 44px; background: var(--p-card); }
.p-auth-card { width: min(390px, 100%); }
.p-auth-card h2 { font-family: var(--p-serif); font-size: 30px; letter-spacing: -.02em; margin: 6px 0; }
.p-auth-card > p { font-size: 11.5px; color: var(--p-muted); margin-bottom: 24px; }
.p-form { display: flex; flex-direction: column; gap: 13px; }
.p-field { display: flex; flex-direction: column; gap: 6px; }
.p-field label { font-size: 10.5px; font-weight: 600; color: #62605a; }
.p-field input, .p-field select, .p-field textarea { height: 45px; border: 1px solid var(--p-line); background: #fff; border-radius: 10px; padding: 0 12px; font-size: 12.5px; outline: 0; width: 100%; transition: .16s; }
.p-field textarea { height: auto; min-height: 104px; padding: 10px 12px; line-height: 1.7; resize: vertical; }
.p-field input:focus, .p-field select:focus, .p-field textarea:focus { border-color: var(--p-accent); box-shadow: 0 0 0 3px rgba(217, 93, 57, .09); }
.p-field .hint { font-size: 9.5px; color: var(--p-muted-2); }
.p-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.p-auth-note { padding: 10px 12px; border-radius: 8px; background: var(--p-ivory); font-size: 10px; color: var(--p-muted); line-height: 1.7; margin-top: 15px; }
.p-auth-error { padding: 9px 12px; border-radius: 8px; background: #fdeee9; color: #b34021; font-size: 11px; margin-bottom: 12px; }
.p-auth-alt { text-align: center; font-size: 11px; color: var(--p-muted); margin-top: 18px; }
.p-auth-alt a { color: var(--p-accent); font-weight: 600; }
.p-auth-foot { font-size: 9.5px; color: var(--p-muted-2); margin-top: 26px; text-align: center; }
.p-back { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--p-muted); margin-bottom: 20px; }

/* ---------- Console ---------- */
.p-console { padding: 36px 0 70px; }
.p-console-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.p-console-head h1 { font-family: var(--p-serif); font-size: 32px; letter-spacing: -.02em; }
.p-console-head p { font-size: 11.5px; color: var(--p-muted); margin-top: 5px; }
.p-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 18px; }
.p-stat { padding: 18px; background: var(--p-card); border: 1px solid rgba(27, 24, 15, .09); border-radius: 14px; }
.p-stat span { font-size: 10px; color: var(--p-muted); }
.p-stat b { display: block; font-family: var(--p-serif); font-size: 27px; margin-top: 5px; }
.p-stat b small { font-family: var(--p-sans); font-size: 10px; color: var(--p-muted); margin-left: 2px; }
.p-stat i { display: block; font-style: normal; font-size: 9px; color: var(--p-sage); margin-top: 3px; }
.p-console-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; align-items: start; }
.p-panel { background: var(--p-card); border: 1px solid rgba(27, 24, 15, .09); border-radius: 16px; }
.p-panel-head { display: flex; align-items: center; gap: 10px; padding: 17px 19px 0; }
.p-panel-head h3 { font-size: 14px; font-weight: 700; }
.p-panel-head p { font-size: 10px; color: var(--p-muted); margin-top: 1px; }
.p-panel-head .spacer { flex: 1; }
.p-panel-body { padding: 15px 19px 18px; }
.p-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.p-table th { text-align: left; font-size: 9.5px; color: var(--p-muted-2); font-weight: 500; padding: 8px 8px; border-bottom: 1px solid var(--p-line); white-space: nowrap; }
.p-table td { padding: 11px 8px; border-bottom: 1px solid #f0ece3; vertical-align: middle; }
.p-table tr:last-child td { border-bottom: 0; }
.p-table tbody tr:hover { background: rgba(247, 244, 237, .5); }
.p-table .p-task-title { font-weight: 600; font-size: 11.5px; }
.p-table .p-code { font-family: var(--p-mono); font-size: 9px; color: var(--p-muted-2); }
.p-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.pb-green { color: #3f7657; background: rgba(108, 138, 118, .12); }
.pb-amber { color: #9b6a18; background: rgba(226, 166, 59, .14); }
.pb-red { color: #a8402a; background: rgba(217, 93, 57, .12); }
.pb-grey { color: #74705f; background: rgba(27, 24, 15, .06); }
.pb-blue { color: #4a4694; background: rgba(79, 70, 184, .1); }
.p-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.p-quick a { display: flex; flex-direction: column; gap: 7px; padding: 13px; border: 1px solid var(--p-line); border-radius: 11px; font-size: 10.5px; color: #4e4b42; background: #fffdf9; transition: .18s; }
.p-quick a:hover { border-color: rgba(217, 93, 57, .3); color: var(--p-accent); background: #fdf7f2; }
.p-quick a .ic { color: var(--p-accent); }
.p-mini-agent { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px dashed #efe9de; }
.p-mini-agent:last-child { border-bottom: 0; }
.p-mini-agent b { font-size: 11px; display: block; }
.p-mini-agent small { font-size: 9px; color: var(--p-muted); display: block; }
.p-mini-agent .p-load { margin-left: auto; font-family: var(--p-mono); font-size: 9px; color: var(--p-muted); }
.p-filter { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 15px; }
.p-search { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 11px; border: 1px solid var(--p-line); border-radius: 9px; background: var(--p-card); min-width: 220px; }
.p-search input { border: 0; outline: 0; background: none; width: 100%; font-size: 11.5px; }
.p-empty { padding: 44px; text-align: center; font-size: 11.5px; color: var(--p-muted); }
.p-timeline { position: relative; padding-left: 20px; }
.p-timeline::before { content: ""; position: absolute; left: 5px; top: 5px; bottom: 5px; width: 1px; background: var(--p-line); }
.p-tl { position: relative; padding-bottom: 15px; }
.p-tl::before { content: ""; position: absolute; left: -18px; top: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--p-accent); }
.p-tl b { font-size: 11.5px; }
.p-tl time { font-family: var(--p-mono); font-size: 8.5px; color: var(--p-muted-2); margin-left: 7px; }
.p-tl p { font-size: 10px; color: var(--p-muted); margin-top: 2px; }
.p-detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.p-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #f0ece3; border: 1px solid #f0ece3; border-radius: 12px; overflow: hidden; }
.p-info { background: var(--p-card); padding: 11px 13px; }
.p-info span { display: block; font-size: 9px; color: var(--p-muted-2); }
.p-info b { display: block; font-size: 11.5px; margin-top: 2px; font-weight: 600; }
.p-info.full { grid-column: span 2; }
.p-toast-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.p-toast { padding: 11px 15px; background: var(--p-ink); color: #f6f1e6; border-radius: 10px; box-shadow: var(--p-shadow-lg); font-size: 11.5px; animation: pToast .22s ease; }
.p-alert { display: flex; gap: 9px; padding: 10px 13px; border-radius: 10px; background: #fdf3ec; border: 1px solid rgba(217, 93, 57, .18); color: #8f432e; font-size: 10.5px; margin-bottom: 14px; }
.p-section-sm { padding: 34px 0 60px; }
.p-agent-hero { display: flex; gap: 22px; align-items: center; padding: 28px; background: var(--p-card); border: 1px solid rgba(27, 24, 15, .09); border-radius: 20px; }
.p-agent-hero img { width: 108px; height: 108px; border-radius: 24px; object-fit: cover; }
.p-agent-hero h1 { font-family: var(--p-serif); font-size: 30px; letter-spacing: -.02em; }
.p-agent-hero p { font-size: 11.5px; color: var(--p-muted); margin-top: 4px; }
.p-agent-hero .p-hero-cta { margin-top: 14px; }
.p-skill-list { display: flex; flex-wrap: wrap; gap: 6px; }
.p-skill { font-size: 10px; padding: 5px 10px; border-radius: 6px; background: var(--p-ivory); border: 1px solid var(--p-line); color: #5c584d; }
.p-skill b { color: var(--p-accent); font-weight: 600; margin-left: 3px; font-family: var(--p-mono); font-size: 8.5px; }

@keyframes pFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pToast { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes pPulse { 0% { box-shadow: 0 0 0 0 rgba(108,138,118,.4); } 70% { box-shadow: 0 0 0 8px rgba(108,138,118,0); } 100% { box-shadow: 0 0 0 0 rgba(108,138,118,0); } }

@media (max-width: 1100px) {
  .p-hero-inner { grid-template-columns: 1fr; }
  .p-hero-art { height: 420px; max-width: 560px; margin: 0 auto; width: 100%; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .p-agent-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .step-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .p-band-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .p-band-metrics { gap: 36px; }
  .p-cta-inner { flex-direction: column; align-items: flex-start; }
  .p-cta-actions { margin-left: 0; }
  .p-console-grid, .p-detail-grid { grid-template-columns: 1fr; }
  .p-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .p-nav-inner { gap: 16px; }
  .p-nav-links { display: none; }
  .p-mobile-toggle { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--p-line); }
  .p-nav-actions .p-btn-line { display: none; }
  .p-display { font-size: 40px; }
  .p-section { padding: 58px 0; }
  .p-sec-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .p-sec-head h2 { font-size: 29px; }
  .p-auth { grid-template-columns: 1fr; }
  .p-auth-art { display: none; }
  .p-auth-form-side { padding: 30px 22px; min-height: 100vh; }
  .p-footer-top { grid-template-columns: 1fr 1fr; }
  .p-hero-meta { gap: 22px; }
  .p-agent-hero { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .p-container { width: calc(100% - 32px); }
  .cap-grid, .p-agent-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-item { border-left: 0; padding: 0; }
  .p-stats { grid-template-columns: 1fr 1fr; }
  .p-band-metrics { gap: 22px; flex-wrap: wrap; }
  .p-display { font-size: 34px; }
  .p-hero-art { height: 360px; transform: scale(.9); }
  .p-table th:nth-child(3), .p-table td:nth-child(3) { display: none; }
  .p-table th:nth-child(5), .p-table td:nth-child(5) { display: none; }
}
