:root { --background: #fbf7ef; --foreground: #1c1917; --card: rgba(255, 255, 255, 0.9); --card-foreground: #1c1917; --popover: #ffffff; --popover-foreground: #1c1917; --primary: #5f6f45; --primary-foreground: #ffffff; --secondary: #f5f5f4; --secondary-foreground: #1c1917; --muted: #f5f5f4; --muted-foreground: #57534e; --accent: #b56e45; --accent-foreground: #ffffff; --destructive: #b91c1c; --destructive-foreground: #ffffff; --border: #d6d3d1; --input: #d6d3d1; --ring: #7a8a67; --radius: 0.75rem; --shadow: 0 18px 40px rgba(28, 25, 23, 0.08); } * { box-sizing: border-box; } body.shad-app { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; color: var(--foreground); background: radial-gradient(circle at top left, rgba(181, 110, 69, 0.1), transparent 20rem), radial-gradient(circle at top right, rgba(122, 138, 103, 0.1), transparent 20rem), var(--background); } .site-header { border-bottom: 1px solid rgba(214, 211, 209, 0.8); padding: 34px 0 30px; } .header-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; } .header-inner h1 { margin: 10px 0 0; max-width: 760px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: 0; } .header-inner p { margin: 14px 0 0; max-width: 760px; color: var(--muted-foreground); line-height: 1.8; } .header-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; } .eyebrow { color: var(--primary); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; } .summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; } .summary-card { border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255, 255, 255, 0.72); padding: 16px; } .summary-card span { color: var(--muted-foreground); font-size: 0.86rem; } .summary-card strong { display: block; margin-top: 6px; font-size: 1.25rem; } .summary-card p { margin: 8px 0 0; color: var(--muted-foreground); line-height: 1.6; } .section-title { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; } .section-title h2 { margin: 6px 0 0; } .section-title p { margin: 0; color: var(--muted-foreground); } a { color: inherit; text-decoration: none; } button { font: inherit; } code { border: 1px solid var(--border); border-radius: 0.375rem; padding: 0.125rem 0.35rem; background: var(--muted); font-family: "Cascadia Code", "JetBrains Mono", monospace; } .shad-container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; } .shad-hero { border-bottom: 1px solid rgba(214, 211, 209, 0.8); } .shad-hero__inner { min-height: 280px; display: flex; align-items: center; padding: 48px 0 40px; } .shad-hero__copy { max-width: 780px; } .shad-hero__title { margin: 16px 0 0; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; letter-spacing: 0; } .shad-hero__text { margin: 16px 0 0; color: var(--muted-foreground); line-height: 1.8; } .shad-main { padding: 28px 0 56px; } .shad-section__head { margin-bottom: 18px; } .shad-section__head h2 { margin: 0; font-size: 1.35rem; } .shad-section__head p { margin: 6px 0 0; color: var(--muted-foreground); } .shad-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; } .shad-card, .shad-dialog__content { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); color: var(--card-foreground); box-shadow: var(--shadow); backdrop-filter: blur(12px); } .shad-card { padding: 20px; } .shad-card--state { padding: 24px; } .shad-card--danger { border-color: rgba(185, 28, 28, 0.24); } .shad-card--state h3, .shad-product__title h3 { margin: 0; } .shad-card--state p, .shad-product__title p, .shad-history__item p { margin: 8px 0 0; color: var(--muted-foreground); line-height: 1.7; } .shad-product { display: flex; flex-direction: column; gap: 16px; } .shad-product__head { display: flex; gap: 14px; align-items: flex-start; } .shad-product__icon { width: 52px; height: 52px; flex: 0 0 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 0.875rem; background: rgba(22, 101, 52, 0.08); color: var(--primary); } .shad-product__icon svg { width: 24px; height: 24px; } .shad-stack { display: flex; gap: 8px; } .shad-stack--row { flex-direction: row; } .shad-stack--wrap { flex-wrap: wrap; } .shad-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid transparent; background: rgba(22, 101, 52, 0.1); color: var(--primary); font-size: 0.82rem; white-space: nowrap; } .shad-badge--outline { background: transparent; border-color: var(--border); color: var(--muted-foreground); } .shad-badge--muted { background: var(--muted); color: var(--muted-foreground); } .shad-badge--subtle { background: rgba(217, 119, 6, 0.12); color: #92400e; } .shad-panel { border: 1px solid rgba(214, 211, 209, 0.8); border-radius: calc(var(--radius) - 0.15rem); padding: 16px; background: linear-gradient(180deg, rgba(28, 25, 23, 0.02), rgba(28, 25, 23, 0.04)); } .shad-panel__main { display: flex; align-items: end; justify-content: space-between; gap: 12px; } .shad-panel__main strong { display: block; margin-top: 4px; font-size: 1.4rem; color: var(--primary); } .shad-meta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; } .shad-meta { display: flex; flex-direction: column; gap: 4px; } .shad-muted { color: var(--muted-foreground); font-size: 0.86rem; } .shad-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .shad-actions { display: flex; gap: 10px; flex-wrap: wrap; } .shad-button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: calc(var(--radius) - 0.2rem); border: 1px solid transparent; cursor: pointer; transition: background 140ms ease, border-color 140ms ease, transform 140ms ease; } .shad-button:hover { transform: translateY(-1px); } .shad-button--primary { background: var(--primary); color: var(--primary-foreground); } .shad-button--primary:hover { background: #14532d; } .shad-button--secondary { background: var(--secondary); color: var(--secondary-foreground); border-color: var(--border); } .shad-button--secondary:hover { background: #ede9e7; } .shad-dialog { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; padding: 16px; } .shad-dialog.is-open { display: flex; } .shad-dialog__overlay { position: absolute; inset: 0; background: rgba(28, 25, 23, 0.45); } .shad-dialog__content { position: relative; width: min(680px, 100%); max-height: min(80vh, 720px); overflow: hidden; } .shad-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--border); } .shad-dialog__header h3 { margin: 0; } .shad-dialog__body { padding: 8px 20px 20px; overflow: auto; } .shad-icon-button { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--border); background: var(--popover); color: var(--popover-foreground); cursor: pointer; } .shad-history { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; } .shad-history__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(214, 211, 209, 0.8); } .shad-history__item:last-child { border-bottom: 0; } .shad-footer { border-top: 1px solid rgba(214, 211, 209, 0.8); background: rgba(255, 255, 255, 0.7); } .shad-footer__inner { display: flex; justify-content: space-between; gap: 12px; padding: 18px 0 24px; color: var(--muted-foreground); font-size: 0.9rem; } @media (max-width: 760px) { .header-inner, .section-title { align-items: flex-start; flex-direction: column; } .header-actions, .summary-grid { width: 100%; } .summary-grid { grid-template-columns: 1fr; } .shad-hero__inner { min-height: auto; padding: 40px 0 32px; } .shad-meta-grid { grid-template-columns: 1fr; } .shad-actions, .shad-footer__inner, .shad-panel__main, .shad-history__item, .shad-product__head { flex-direction: column; align-items: stretch; } .shad-button { width: 100%; } }